:root {
  --dark: #1f2328;
  --dark-2: #2b3036;
  --mustard: #d6a21e;
  --mustard-light: #f2c94c;
  --cream: #f6f2e8;
  --white: #ffffff;
  --text: #202124;
  --muted: #6f747b;
  --border: #e3dccb;
  --shadow: 0 20px 45px rgba(31, 35, 40, 0.16);
}

body {
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  line-height: 1.6;
}

html {
  scroll-behavior: smooth;
}

/* Barra superior */

.top-bar {
  background: var(--dark);
  color: var(--white);
  padding: 10px 0;
  font-size: 0.92rem;
}

.top-info {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
}

.top-info i,
.top-social i {
  color: var(--mustard-light);
}

.top-info span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.top-social {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
}

.top-social a {
  color: var(--white);
  text-decoration: none;
}

.top-social a:hover {
  color: var(--mustard-light);
}

/* Navbar */

.main-navbar {
  background: var(--dark-2);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.18);
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: 1px;
}

.navbar-brand i {
  color: var(--mustard-light);
}

.navbar-nav .nav-link {
  font-weight: 600;
  padding-inline: 14px !important;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: var(--mustard-light) !important;
}

/* Hero */

.hero {
  position: relative;
  background:
    linear-gradient(rgba(31, 35, 40, 0.82), rgba(31, 35, 40, 0.9)),
    url("../img/hero-gesfor.jpg") center/cover no-repeat;
  color: var(--white);
}

.hero-label {
  display: inline-block;
  margin-bottom: 16px;
  padding: 8px 16px;
  border-radius: 999px;
  color: var(--mustard-light);
  background: rgba(214, 162, 30, 0.16);
  border: 1px solid rgba(242, 201, 76, 0.45);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 800;
  font-size: 0.85rem;
}

.hero h1 {
  max-width: 850px;
  font-size: clamp(2.4rem, 6vw, 5rem);
  line-height: 1.05;
  margin-bottom: 24px;
  font-weight: 800;
}

.hero-text {
  max-width: 720px;
  color: #f0eadc;
  font-size: 1.15rem;
  margin-bottom: 32px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* Secciones */

.section-padding {
  padding: 86px 0;
}

.bg-light-custom {
  background: var(--cream);
}

.section-title {
  margin-bottom: 46px;
}

.section-title p {
  color: var(--mustard);
  text-transform: uppercase;
  font-weight: 800;
  letter-spacing: 2px;
  margin-bottom: 8px;
}

.section-title h2 {
  color: var(--dark);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
}

/* Servicios */

.service-card {
  height: 100%;
  padding: 32px 26px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 24px;
  box-shadow: var(--shadow);
  text-align: center;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.service-card:hover {
  transform: translateY(-8px);
  border-color: var(--mustard);
}

.service-card i {
  width: 70px;
  height: 70px;
  margin-bottom: 22px;
  border-radius: 20px;
  background: #fff3cd;
  color: var(--dark);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
}

.service-card h3 {
  color: var(--dark);
  font-size: 1.25rem;
  margin-bottom: 12px;
  font-weight: 800;
}

.service-card p {
  color: var(--muted);
  margin-bottom: 0;
}

/* Noticias */

.news-card {
  border: 1px solid var(--border);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.news-card img {
  height: 190px;
  object-fit: cover;
}

.news-card .card-title {
  color: var(--dark);
  font-size: 1.15rem;
  font-weight: 800;
}

.news-card .card-text {
  color: var(--muted);
}

/* Contacto */

.contact-box {
  padding: 34px;
  border-radius: 24px;
  background: var(--white);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.contact-box h3 {
  color: var(--dark);
  font-weight: 800;
  margin-bottom: 22px;
}

.form-control {
  min-height: 48px;
  border-radius: 14px;
}

.form-control:focus {
  border-color: var(--mustard);
  box-shadow: 0 0 0 0.25rem rgba(214, 162, 30, 0.18);
}

.contact-list {
  list-style: none;
  padding: 0;
  margin-bottom: 26px;
}

.contact-list li {
  margin-bottom: 13px;
  color: var(--muted);
}

.contact-list i {
  width: 24px;
  color: var(--mustard);
}

.map-box {
  min-height: 230px;
  border-radius: 20px;
  background:
    linear-gradient(rgba(31, 35, 40, 0.78), rgba(31, 35, 40, 0.82)),
    url("../img/mapa.jpg") center/cover no-repeat;
  color: var(--white);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 24px;
}

.map-box i {
  color: var(--mustard-light);
  font-size: 3rem;
  margin-bottom: 12px;
}

/* Footer */

.footer {
  background: var(--dark);
  color: var(--white);
  padding: 46px 0;
}

.footer h3 {
  font-weight: 800;
  color: var(--mustard-light);
}

.footer p {
  color: #e7e1d4;
  margin-bottom: 0;
}

.footer-social {
  display: flex;
  justify-content: center;
  gap: 12px;
}

.footer-social a {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.footer-social a:hover {
  background: var(--mustard);
  color: var(--dark);
}

.legal-text,
.copyright {
  text-align: right;
  font-size: 0.92rem;
}

/* Bootstrap overrides */

.btn-warning {
  background: var(--mustard);
  border-color: var(--mustard);
  color: var(--dark);
  font-weight: 800;
}

.btn-warning:hover {
  background: var(--mustard-light);
  border-color: var(--mustard-light);
  color: var(--dark);
}

.btn-dark {
  background: var(--dark);
  border-color: var(--dark);
}

.btn-dark:hover {
  background: var(--mustard);
  border-color: var(--mustard);
  color: var(--dark);
}

/* Responsive */

@media (max-width: 991px) {
  .top-info {
    justify-content: center;
    text-align: center;
  }

  .top-social {
    justify-content: center;
  }

  .hero {
    text-align: center;
  }

  .hero-buttons {
    justify-content: center;
  }

  .legal-text,
  .copyright {
    text-align: center;
  }

  .footer {
    text-align: center;
  }
}

@media (max-width: 576px) {
  .section-padding {
    padding: 64px 0;
  }

  .top-info {
    flex-direction: column;
    gap: 8px;
  }

  .hero h1 {
    font-size: 2.45rem;
  }

  .hero-text {
    font-size: 1rem;
  }

  .hero-buttons .btn {
    width: 100%;
  }

  .contact-box {
    padding: 26px;
  }
}