:root {
  /* Fuentes */
  --default-font:
    "Roboto", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue",
    Arial, "Noto Sans", "Liberation Sans", sans-serif;
  --heading-font: "Raleway", sans-serif;
  --nav-font: "Nunito", sans-serif;

  /* Colores base */
  --color-background: #f8f1e7;
  --color-primary: #123c4a; /* Azul profundo mediterráneo */
  --color-secondary: #b85c38; /* Terracota */
  --color-accent: #d5a343; /* Dorado suave */
  --color-light: #fffdf8;
  --color-dark: #2e2924;

  /* Colores Corporativos */
  --color-coorporativo01: #c0984e;
  --color-coorporativo02: #ffffff;
  --color-coorporativo03: #545454;

  /* Colores derivados */
  --text-primary: #111111;
  --text-secondary: #444444;
  --text-muted: #6b7280;
  --text-light: #ffffff;
  --bg-light: #f8f9fa;
  --bg-dark: #1a1a1a;
  --border-light: #e0e0e0;
}

body {
  background: var(--color-background);
  color: var(--color-dark);
  font-family: "Inter", sans-serif;
  line-height: 1.6;
  margin: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Playfair Display", serif;
  color: var(--color-primary);
  margin-top: 0;
}

/* Navbar */
nav {
  background: transparent;
  padding: 0.75rem 1rem;
}
nav a {
  color: var(--color-primary);
  text-decoration: none;
  font-weight: 600;
  margin-right: 1rem;
}
nav a:last-child {
  margin-right: 0;
}
nav a.button {
  background: var(--color-secondary);
  color: var(--color-light);
  padding: 0.5rem 1rem;
  border-radius: 999px;
  font-weight: 600;
  border: none;
}
nav a.button:hover {
  background: #8f3f26;
  color: var(--color-light);
}

/* Hero */
.hero {
  position: relative;
  background-size: cover;
  background-position: center;
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: clamp(2.5rem, 5vw, 4rem) 1.5rem;
  overflow: hidden;
  isolation: isolate;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(192, 152, 78, 0.48);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 0;
}
.hero .hero-content {
  position: relative;
  z-index: 1;
  width: min(100%, 780px);
  color: var(--color-light);
}
.hero .hero-content h1 {
  font-size: clamp(2.35rem, 5vw, 4.1rem);
  color: var(--color-light);
  margin-bottom: 1rem;
  line-height: 1.08;
  text-wrap: balance;
  text-shadow: 0 4px 18px rgba(0, 0, 0, 0.32);
}
.hero .hero-content p {
  width: min(100%, 36rem);
  margin: 0 auto 2rem;
  font-size: clamp(1rem, 2vw, 1.2rem);
  line-height: 1.55;
}
.hero .hero-content .btn-group {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.9rem;
}
.hero .hero-content .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 210px;
  margin-right: 0;
  padding: 0.95rem 1.5rem;
}
.hero .hero-content .btn:last-child {
  margin-right: 0;
}

/* Sección de bienvenida */
.welcome {
  background: var(--color-light);
  padding: 4rem 1rem;
  text-align: center;
}
.welcome h2 {
  color: var(--color-secondary);
  margin-bottom: 1rem;
}
.welcome p {
  max-width: 700px;
  margin: 0 auto 2rem;
}
.welcome .signature {
  max-width: 200px;
  margin: 0 auto;
}

/* Propuesta gastronómica */
.propuesta {
  padding: 4rem 1rem;
  background: var(--color-background);
}
.propuesta .container {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  align-items: flex-start;
}
.propuesta .col {
  flex: 1 1 50%;
  min-width: 280px;
}
.propuesta .collage {
  position: relative;
  min-height: 400px;
}
.propuesta .collage .img-wrapper {
  position: absolute;
  overflow: hidden;
  border-radius: 16px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
}
.propuesta .collage .img1 {
  top: 0;
  left: 0;
  width: 60%;
  height: 50%;
}
.propuesta .collage .img2 {
  top: 20%;
  right: 0;
  width: 40%;
  height: 60%;
}
.propuesta .collage .img3 {
  bottom: 0;
  left: 20%;
  width: 50%;
  height: 40%;
}
.propuesta .text-block h3 {
  color: var(--color-primary);
  margin-top: 0;
  font-size: 1.5rem;
}
.propuesta .text-block p {
  margin-bottom: 1.5rem;
}

/* CTA panorámica */
.cta-panorama {
  position: relative;
  background-size: cover;
  background-position: center;
  padding: 6rem 1rem;
  text-align: center;
  color: var(--color-light);
}
.cta-panorama::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(18, 60, 74, 0.5);
}
.cta-panorama .cta-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
}
.cta-panorama h2 {
  color: var(--color-light);
  font-size: clamp(2rem, 5vw, 3rem);
  margin-bottom: 1rem;
}
.cta-panorama p {
  margin-bottom: 2rem;
  color: var(--color-light);
}

/* Testimonios */
.testimonios {
  background: var(--color-accent);
  padding: 4rem 1rem;
  color: var(--color-primary);
}
.testimonios h2 {
  text-align: center;
  margin-bottom: 3rem;
}
.testimonios .cards {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}
.testimonios .card {
  background: var(--color-light);
  padding: 2rem;
  border-radius: 16px;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.1);
  position: relative;
}
.testimonios .card::before {
  content: "\201C";
  font-family: "Playfair Display", serif;
  font-size: 4rem;
  color: var(--color-secondary);
  position: absolute;
  top: -1rem;
  left: 1rem;
}
.testimonios .card p {
  margin-bottom: 1.5rem;
  font-style: italic;
  color: #111111;
}
.testimonios .card .author {
  font-weight: 600;
  color: var(--color-primary);
  text-align: right;
}

/* Carta destacada */
.carta-destacada {
  background: var(--bg-dark);
  color: var(--color-light);
  text-align: center;
  padding: 4rem 1rem;
}
.carta-destacada h2 {
  margin-bottom: 1rem;
  color: var(--color-light);
}
.carta-destacada p {
  margin-bottom: 2rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}
.carta-destacada .btn {
  margin-right: 1rem;
}
.carta-destacada .btn:last-child {
  margin-right: 0;
}

/* Contacto */
.contacto {
  background: var(--color-light);
  padding: 4rem 1rem;
  color: var(--color-primary);
}
.contacto h2 {
  text-align: center;
  margin-bottom: 2rem;
}
.contacto .info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto;
}
.contacto .info-item h3 {
  margin-bottom: 0.5rem;
  color: var(--color-secondary);
}

/* Footer */
.footer-legacy {
  background: var(--color-primary);
  color: var(--color-light);
  padding: 3rem 1rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
}
.footer-legacy h4 {
  margin-bottom: 1rem;
  color: var(--color-accent);
}
.footer-legacy a {
  color: var(--color-light);
  text-decoration: none;
  display: block;
  margin-bottom: 0.5rem;
}
.footer-legacy a:hover {
  text-decoration: underline;
}

@media (max-width: 767px) {
  nav {
    flex-direction: column;
    align-items: flex-start;
  }
  nav .nav-links {
    margin-top: 0.5rem;
    flex-wrap: wrap;
  }
  .hero {
    min-height: 60vh;
    padding: 3rem 1rem;
  }
  .propuesta .container {
    flex-direction: column;
  }
  .cta-panorama {
    padding: 4rem 1rem;
  }
}

/*--------------------------------------------------------------
# Topbar
--------------------------------------------------------------*/
.topbar {
  background-color: var(--bg-dark);
  color: var(--text-light);
  font-size: 0.85rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  position: relative;
  z-index: 1040;
}

.topbar__contact-link {
  color: var(--text-light);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: 0.3s ease;
}

.topbar__contact-link:hover {
  color: var(--color-coorporativo01);
}

.topbar__contact-link i {
  font-size: 0.9rem;
}

.topbar__contact-text {
  white-space: nowrap;
}

.topbar__separator {
  color: rgba(255, 255, 255, 0.3);
  margin: 0 0.5rem;
}

.topbar__lang-label {
  font-weight: 500;
}

.js-gt-lang {
  padding: 0.25rem 0.5rem;
  font-size: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.3);
  transition: 0.3s ease;
  background: transparent;
  color: var(--text-light);
}

.js-gt-lang:hover {
  background-color: var(--color-coorporativo01);
  border-color: var(--color-coorporativo01);
  color: var(--text-light);
}

/*--------------------------------------------------------------
# Header & Navigation
--------------------------------------------------------------*/
header.navbar {
  background-color: var(--bg-dark) !important;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1) !important;
  padding: 1rem 0 !important;
  transition: 0.3s ease !important;
}

header.navbar--fixed {
  position: fixed !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  z-index: 1030 !important;
}

.navbar-brand {
  font-weight: 700 !important;
  font-size: 1.5rem !important;
  color: var(--text-light) !important;
  transition: 0.3s ease !important;
}

.navbar-brand:hover {
  color: var(--color-coorporativo01) !important;
}

.navbar-logo {
  max-height: 120px !important;
  width: auto !important;
}

/* Navigation Links */
.navbar-nav .nav-link {
  color: var(--bg-light) !important;
  font-weight: 500 !important;
  text-transform: uppercase !important;
  font-size: 0.9rem !important;
  letter-spacing: 0.5px !important;
  transition: 0.3s ease !important;
  position: relative !important;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: var(--color-coorporativo01) !important;
}

.navbar-nav .nav-link::after {
  content: "" !important;
  position: absolute !important;
  width: 0 !important;
  height: 2px !important;
  bottom: -5px !important;
  left: 0 !important;
  background-color: var(--fondo-coorporativo01) !important;
  transition: width 0.3s ease !important;
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
  width: 100% !important;
}

/* Primary Button in Navbar */
.navbar-nav .btn-primary {
  background-color: var(--fondo-coorporativo01) !important;
  border-color: var(--color-coorporativo03) !important;
  color: var(--text-light) !important;
  padding: 0.5rem 1.5rem !important;
  font-weight: 600 !important;
  transition: 0.3s ease !important;
}

.navbar-nav .btn-primary:hover {
  background-color: var(--text-light) !important;
  border-color: var(--text-light) !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2) !important;
  transform: translateY(-2px) !important;
  color: var(--color-coorporativo01) !important;
}

/* Navbar Toggler */
.navbar-toggler {
  border: none !important;
  padding: 0.25rem 0.75rem !important;
}

.navbar-toggler:focus {
  box-shadow: 0 0 0 0.25rem rgba(166, 124, 46, 0.25) !important;
}

/*--------------------------------------------------------------
# Sections
--------------------------------------------------------------*/
section {
  padding: 0rem 0;
}

section.dark-background {
  background: var(--bg-dark);
  color: var(--text-light);
}

section.light-background {
  background: var(--bg-light);
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title h2 {
  margin-bottom: 1rem;
}

.section-title p {
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
}

/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/
.hero {
  position: relative;
  min-height: 650px;
  display: flex;
  align-items: right;
  justify-content: center;
  padding: 0 0rem;
  overflow: hidden;
  background-color: var(--bg-dark);
  color: var(--text-light);
}

#heroCarousel {
  width: 100%;
  height: 100%;
  position: relative;
}

#heroCarousel .carousel-item {
  height: 100%;
  min-height: 500px;
  position: relative;
}

.hero__bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-size: cover;
  background-position: center !important;
  background-repeat: no-repeat;
  filter: brightness(0.5);
  z-index: 0;
}

.hero__bg-img00 {
  background-image: url("../img/local/hero.webp") !important;
  background-position: center top !important;
}

.hero__bg-img01 {
  background-image: url("../img/slide/tapas01.webp") !important;
  background-position: center !important;
}

.hero__caption,
.hero__caption02,
.hero__caption03 {
  position: relative;
  z-index: 1;
  animation: slideInUp 0.8s ease-out;
}

.hero__title {
  font-size: 3rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero__subtitle {
  font-size: 1.5rem;
  line-height: 1.6;
  margin-bottom: 2rem;
  color: var(--text-light) !important;
}

/* Carousel Controls */
.carousel-control-prev,
.carousel-control-next {
  width: 50px;
  height: 50px;
  top: 50%;
  transform: translateY(-50%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  transition: 0.3s ease;
  opacity: 0.7;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
  background: var(--fondo-coorporativo01);
  opacity: 1;
}

.carousel-control-prev {
  left: 20px;
}

.carousel-control-next {
  right: 20px;
}

@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive Hero */
@media (max-width: 991.98px) {
  .hero {
    min-height: 500px;
  }

  #heroCarousel .carousel-item {
    min-height: 450px;
  }

  /* Hero actual de la home: ajustes responsive específicos */
  @media (max-width: 991.98px) {
    .hero:not(.hero--carousel) {
      min-height: 72vh;
      padding: clamp(2.25rem, 8vw, 4.5rem) 1.25rem 2.5rem;
    }

    .hero:not(.hero--carousel) .hero-content {
      width: min(100%, 680px);
    }

    .hero:not(.hero--carousel) .hero-content h1 {
      font-size: clamp(2rem, 6.4vw, 3.2rem);
    }

    .hero:not(.hero--carousel) .hero-content p {
      width: min(100%, 31rem);
      font-size: clamp(0.98rem, 2.3vw, 1.12rem);
      margin-bottom: 1.6rem;
    }
  }

  @media (max-width: 767.98px) {
    .hero:not(.hero--carousel) {
      min-height: 68vh;
      align-items: center;
      padding: clamp(1.75rem, 8vw, 3rem) 1rem 2.25rem;
    }

    .hero:not(.hero--carousel)::before {
      background: rgba(192, 152, 78, 0.54);
      backdrop-filter: blur(8px);
      -webkit-backdrop-filter: blur(8px);
    }

    .hero:not(.hero--carousel) .hero-content {
      width: min(100%, 34rem);
    }

    .hero:not(.hero--carousel) .hero-content h1 {
      font-size: clamp(2rem, 8vw, 2.7rem);
      margin-bottom: 0.85rem;
    }

    .hero:not(.hero--carousel) .hero-content p {
      width: min(100%, 26rem);
      font-size: clamp(0.98rem, 3.5vw, 1.08rem);
      margin-bottom: 1.35rem;
    }

    .hero:not(.hero--carousel) .hero-content .btn-group {
      flex-direction: column;
      align-items: stretch;
      width: min(100%, 20rem);
      margin: 0 auto;
      gap: 0.75rem;
    }

    .hero:not(.hero--carousel) .hero-content .btn {
      width: 100%;
      min-width: 0;
      padding: 0.95rem 1.15rem;
    }
  }

  @media (max-width: 575.98px) {
    .hero:not(.hero--carousel) {
      align-items: flex-start;
      padding: clamp(9rem, 7vw, 2.25rem) 0.9rem 2rem;
    }

    .hero:not(.hero--carousel) .hero-content {
      width: min(100%, 22rem);
      margin-top: clamp(1.25rem, 8vw, 2.5rem);
    }

    .hero:not(.hero--carousel) .hero-content h1 {
      font-size: clamp(2rem, 10vw, 2.5rem);
      margin-bottom: 0.9rem;
    }

    .hero:not(.hero--carousel) .hero-content p {
      width: min(100%, 18.5rem);
      font-size: clamp(0.96rem, 4vw, 1.02rem);
      line-height: 1.45;
      margin-bottom: 1.25rem;
    }

    .hero:not(.hero--carousel) .hero-content .btn-group {
      width: min(100%, 18.5rem);
      gap: 0.6rem;
    }

    .hero:not(.hero--carousel) .hero-content .btn {
      padding: 0.9rem 1rem;
      font-size: 0.98rem;
    }

    .hero:not(.hero--carousel) .hero-content .btn.btn-call {
      background: rgba(255, 255, 255, 0.08);
      border-color: rgba(255, 255, 255, 0.55);
    }
  }
  .hero__title {
    font-size: 2.25rem;
  }

  .hero__subtitle {
    font-size: 1.25rem;
  }
}

@media (max-width: 767.98px) {
  .hero {
    min-height: 450px;
  }

  #heroCarousel .carousel-item {
    min-height: 400px;
  }

  .hero__bg {
    background-position: center !important;
  }

  .hero__title {
    font-size: 1.75rem;
  }

  .hero__subtitle {
    font-size: 1.1rem;
    line-height: 1.5;
  }

  .carousel-control-prev,
  .carousel-control-next {
    width: 40px;
    height: 40px;
  }

  .carousel-control-prev {
    left: 10px;
  }

  .carousel-control-next {
    right: 10px;
  }
}

@media (max-width: 575.98px) {
  .hero {
    min-height: 400px;
  }

  #heroCarousel .carousel-item {
    min-height: 350px;
  }

  .hero__title {
    font-size: 1.5rem;
  }

  .hero__subtitle {
    font-size: 1rem;
    margin-bottom: 1.5rem;
  }
}

/*--------------------------------------------------------------
# Cards Enhanced
--------------------------------------------------------------*/
.card {
  border: none;
  border-radius: 10px;
  overflow: hidden;
  transition: all 0.3s ease;
  background: #ffffff;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.card--hover {
  transition: all 0.3s ease;
}

.card--hover:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.card img {
  transition: transform 0.3s ease;
  object-fit: cover;
}

.card--hover:hover img {
  transform: scale(1.05);
}

.card-body {
  padding: 1.5rem;
}

.card-title {
  font-weight: 600;
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
  color: var(--text-primary);
}

.card-text {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

/*--------------------------------------------------------------
# Background Sections
--------------------------------------------------------------*/
.bg-tertiary {
  background: var(--color-coorporativo02);
  position: relative;
  overflow: hidden;
}

.bg-tertiary > * {
  position: relative;
  z-index: 1;
}

/*--------------------------------------------------------------
# Buttons
--------------------------------------------------------------*/
.btn {
  border-radius: 5px;
  font-weight: 600;
  padding: 0.75rem 1.75rem;
  transition: 0.3s ease;
  border: none;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-size: 0.9rem;
  color: var(--text-light) !important;
}

.btn:hover {
  color: var(--color-coorporativo01) !important;
}

.btn-primary {
  background-color: var(--color-coorporativo01) !important;
  border-color: var(--color-coorporativo01) !important;
  color: var(--text-light) !important;
}

.btn-primary:hover {
  background-color: var(--bg-light) !important;
  border-color: var(--bg-light) !important;
  box-shadow: 0 4px 12px rgba(166, 124, 46, 0.3);
  transform: translateY(-2px);
  color: var(--color-coorporativo01) !important;
}

.btn-secondary {
  background-color: var(--color-coorporativo02) !important;
  border-color: var(--color-coorporativo02) !important;
  color: var(--text-light) !important;
}

.btn-secondary:hover {
  background-color: var(--color-coorporativo01) !important;
  border-color: var(--color-coorporativo01) !important;
  color: var(--text-light) !important;
}

.btn-outline-light {
  border-color: rgba(255, 255, 255, 0.3);
  color: var(--text-light) !important;
}

.btn-outline-light:hover {
  background-color: var(--text-light) !important;
  border-color: var(--text-light) !important;
  color: var(--bg-dark) !important;
}

.btn-get-started {
  display: inline-block;
  padding: 0.75rem 2rem;
  background-color: var(--text-light);
  color: var(--color-coorporativo02);
  font-weight: 600;
  border-radius: 25px;
  text-decoration: none;
  transition: 0.3s ease;
}

.btn-get-started:hover {
  background-color: var(--color-coorporativo01);
  color: var(--text-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

/*--------------------------------------------------------------
# Forms & Inputs
--------------------------------------------------------------*/
.form-control,
.form-select {
  border: 1px solid var(--border-light);
  border-radius: 8px;
  padding: 0.75rem 1rem;
  font-size: 0.95rem;
  transition: 0.3s ease;
}

.form-control:focus,
.form-select:focus {
  border-color: var(--color-coorporativo01);
  box-shadow: 0 0 0 0.2rem rgba(166, 124, 46, 0.1);
}

.form-label {
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

/*--------------------------------------------------------------
# Back to Top Button
--------------------------------------------------------------*/
.to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 45px;
  height: 45px;
  background: var(--color-coorporativo01);
  color: var(--text-light);
  border: none;
  border-radius: 50%;
  display: none;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 999;
  font-size: 1.2rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(166, 124, 46, 0.3);
}

.to-top:hover {
  background: var(--color-coorporativo02);
  transform: translateY(-3px);
  box-shadow: 0 6px 18px rgba(166, 124, 46, 0.4);
}

.to-top.show,
.to-top.to-top--visible {
  display: flex;
}

/*--------------------------------------------------------------
# Icon Boxes
--------------------------------------------------------------*/
.icon-box {
  background: #ffffff;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: 0.3s ease;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.icon-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.icon-box i {
  font-size: 2rem;
  color: var(--color-coorporativo01);
  margin-bottom: 1rem;
  display: block;
}

.icon-box h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.icon-box p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/*--------------------------------------------------------------
# Utility Classes
--------------------------------------------------------------*/
.shadow-sm {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.shadow-md {
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.shadow-lg {
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.text-accent {
  color: var(--color-coorporativo01);
  text-decoration: none !important;
}

.text-accent:hover {
  text-decoration: underline !important;
}

.text-primary {
  color: var(--color-coorporativo02);
}

.bg-light-gray {
  background-color: var(--bg-light);
}

.gap-3 {
  gap: 1rem;
}
.gap-4 {
  gap: 1.5rem;
}
.gap-5 {
  gap: 3rem;
}

/*--------------------------------------------------------------
# Responsive Design
--------------------------------------------------------------*/
@media (max-width: 992px) {
  section {
    padding: 3rem 0;
  }

  h1 {
    font-size: 2rem;
  }
  h2 {
    font-size: 1.5rem;
  }

  .hero__title {
    font-size: 1.75rem;
  }

  .hero__subtitle {
    font-size: 1rem;
  }

  .navbar-nav .nav-link {
    font-size: 0.95rem;
    padding: 0.75rem 1rem;
  }

  .icon-box {
    padding: 1.5rem;
    margin-bottom: 1rem;
  }

  .carousel-control-prev,
  .carousel-control-next {
    display: flex;
  }

  .btn {
    padding: 0.65rem 1.5rem;
    font-size: 0.9rem;
  }
}

@media (max-width: 768px) {
  section {
    padding: 2.5rem 0;
  }

  h1 {
    font-size: 1.75rem;
  }
  h2 {
    font-size: 1.35rem;
  }

  .hero__title {
    font-size: clamp(1.5rem, 4vw, 1.75rem);
  }

  .hero__subtitle {
    font-size: clamp(0.9rem, 2.5vw, 1.1rem);
    line-height: 1.5;
  }

  .btn {
    padding: 0.6rem 1.25rem;
    font-size: 0.85rem;
  }

  .topbar {
    flex-wrap: wrap;
    font-size: 0.75rem;
  }

  .topbar__contact-text {
    display: none;
  }

  .to-top {
    width: 40px;
    height: 40px;
    bottom: 20px;
    right: 20px;
    font-size: 1rem;
  }

  .card {
    margin-bottom: 1.5rem;
  }

  .card-body {
    padding: 1.25rem !important;
  }
}

@media (max-width: 576px) {
  :root {
    font-size: 14px;
  }

  section {
    padding: 2rem 0;
  }

  h1 {
    font-size: 1.5rem;
  }
  h2 {
    font-size: 1.15rem;
  }

  .hero__title {
    font-size: 1.35rem;
    margin-top: 0;
  }

  .hero__subtitle {
    font-size: 1.2rem;
    margin-top: 0;
    line-height: 1.5;
  }

  .btn {
    padding: 0.55rem 1.1rem;
    font-size: 0.8rem;
  }

  .section-title {
    margin-bottom: 1.5rem;
  }

  .section-title h2 {
    font-size: 1.25rem;
  }

  .icon-box {
    padding: 1.25rem;
  }

  .icon-box i {
    font-size: 1.75rem;
  }

  .card-body {
    padding: 1rem !important;
  }

  .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }
}

/*--------------------------------------------------------------
# Animations
--------------------------------------------------------------*/
/*
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in-up {
  animation: fadeInUp 0.6s ease-out;
}

/* Ocultar Google Translate banner */
.goog-te-banner-frame.skiptranslate {
  display: none !important;
}

body {
  top: 0 !important;
}

/* ===================================
   SECCIÓN RSC
   =================================== */

.rsc {
  background-color: #f8f9fa;
  padding: 4rem 0;
}

.rsc .section-title {
  font-weight: 700;
  color: #2c3e50;
  font-size: 2.5rem;
}

.rsc .logo-card {
  perspective: 1000px;
}

.rsc .logo-wrapper {
  min-height: 120px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(0, 0, 0, 0.05);
  transform-style: preserve-3d;
}

.rsc .logo-wrapper:hover {
  transform: translateY(-8px) scale(1.05);
  box-shadow:
    0 12px 24px rgba(0, 123, 255, 0.15),
    0 0 0 1px rgba(0, 123, 255, 0.1);
  border-color: rgba(0, 123, 255, 0.2);
}

.rsc .logo-glow {
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(
    circle,
    rgba(0, 123, 255, 0.15) 0%,
    transparent 70%
  );
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.rsc .logo-wrapper:hover .logo-glow {
  opacity: 1;
}

.rsc .logo-img {
  transition: all 0.4s ease;
  filter: grayscale(20%);
  position: relative;
  z-index: 1;
}

.rsc .logo-wrapper:hover .logo-img {
  filter: grayscale(0%);
  transform: scale(1.1);
}

.rsc .list-unstyled li {
  display: flex;
  align-items: flex-start;
}

.rsc .list-unstyled li i {
  font-size: 1.2rem;
  margin-top: 2px;
}

/* Estilos del Carrusel */
#logosCarousel {
  position: relative;
  padding: 40px 0;
}

#logosCarousel .carousel-inner {
  padding: 20px 60px;
}

#logosCarousel .carousel-item {
  transition: transform 0.6s ease-in-out;
}

/* Carrusel de logos RSC con transición fade */
#galeriaCarousel {
  position: relative;
  padding: 40px 0;
}

#galeriaCarousel.carousel-fade .carousel-item {
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
}

#galeriaCarousel.carousel-fade .carousel-item.active {
  opacity: 1;
}

#galeriaCarousel .logo-container {
  width: 100%;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 15px;
  background: #ffffff;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

#galeriaCarousel .logo-container:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
  border-color: var(--color-coorporativo01);
}

#galeriaCarousel .logo-container img {
  max-width: 100%;
  max-height: 90px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: grayscale(20%);
  transition: all 0.3s ease;
}

#galeriaCarousel .logo-container:hover img {
  filter: grayscale(0%);
  transform: scale(1.05);
}

/* Responsive RSC */
@media (max-width: 991.98px) {
  .rsc {
    padding: 3rem 0;
  }

  .rsc .section-title {
    font-size: 2rem;
  }

  #galeriaCarousel .logo-container {
    height: 100px;
  }

  #galeriaCarousel .logo-container img {
    max-height: 70px;
  }
}

@media (max-width: 768px) {
  .rsc {
    padding: 2.5rem 0;
  }

  .rsc .section-title {
    font-size: 1.75rem;
  }

  #logosCarousel .carousel-inner {
    padding: 20px 40px;
  }

  .carousel-control-prev,
  .carousel-control-next {
    width: 40px;
    height: 40px;
  }

  .carousel-control-icon i {
    font-size: 1.2rem;
  }

  #galeriaCarousel .logo-container {
    height: 90px;
    padding: 10px;
  }

  #galeriaCarousel .logo-container img {
    max-height: 60px;
  }
}

@media (max-width: 576px) {
  .rsc {
    padding: 2rem 0;
  }

  .rsc .section-title {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
  }

  #logosCarousel .carousel-inner {
    padding: 20px 10px;
  }

  #galeriaCarousel {
    padding: 20px 0;
  }

  #galeriaCarousel .logo-container {
    height: 80px;
    padding: 8px;
  }

  #galeriaCarousel .logo-container img {
    max-height: 50px;
  }
}

/*--------------------------------------------------------------
# Mejoras Responsive para Location y Contact
--------------------------------------------------------------*/

/* Location Section */
@media (max-width: 991.98px) {
  .location-map {
    height: 350px;
  }
}

@media (max-width: 767.98px) {
  .location-map {
    height: 300px;
    margin-top: 1.5rem;
  }

  .location-info {
    text-align: center;
  }

  .location-info h3 {
    font-size: 1.35rem;
  }

  .location-info p {
    font-size: 0.9rem;
  }
}

@media (max-width: 575.98px) {
  .location-map {
    height: 250px;
  }

  .location-info h3 {
    font-size: 1.2rem;
  }
}

/* Contact Section */
@media (max-width: 767.98px) {
  .contact-info {
    margin-bottom: 1.5rem;
  }

  .contact-info h3 {
    font-size: 1.35rem;
  }

  .contact-info .d-flex {
    flex-direction: column;
    align-items: flex-start !important;
    gap: 0.5rem;
  }

  .contact-info i {
    font-size: 1.25rem;
  }
}

@media (max-width: 575.98px) {
  .contact-info h3 {
    font-size: 1.2rem;
  }

  .contact-info p {
    font-size: 0.9rem;
  }

  .contact-info i {
    font-size: 1.1rem;
  }
}

/*--------------------------------------------------------------
# Mejoras Responsive para Testimonios
--------------------------------------------------------------*/

@media (max-width: 991.98px) {
  .testimonial-card {
    margin-bottom: 1.5rem;
  }

  .testimonial-text {
    font-size: 0.95rem;
  }
}

@media (max-width: 767.98px) {
  .testimonial-card {
    padding: 1.5rem !important;
  }

  .testimonial-text {
    font-size: 0.9rem;
    line-height: 1.5;
  }

  .testimonial-author {
    font-size: 0.85rem;
  }
}

@media (max-width: 575.98px) {
  .testimonial-card {
    padding: 1.25rem !important;
  }

  .testimonial-text {
    font-size: 0.85rem;
  }

  .testimonial-author {
    font-size: 0.8rem;
  }
}

/*--------------------------------------------------------------
# Mejoras de Grid System
--------------------------------------------------------------*/

@media (max-width: 767.98px) {
  .row > [class*="col-"] {
    margin-bottom: 1rem;
  }

  .row > [class*="col-"]:last-child {
    margin-bottom: 0;
  }
}

/*--------------------------------------------------------------
# Mejoras de Espaciado Vertical
--------------------------------------------------------------*/

@media (max-width: 991.98px) {
  .mb-5,
  .my-5 {
    margin-bottom: 2.5rem !important;
  }

  .mt-5,
  .my-5 {
    margin-top: 2.5rem !important;
  }

  .pb-5,
  .py-5 {
    padding-bottom: 2.5rem !important;
  }

  .pt-5,
  .py-5 {
    padding-top: 2.5rem !important;
  }
}

@media (max-width: 767.98px) {
  .mb-5,
  .my-5 {
    margin-bottom: 2rem !important;
  }

  .mt-5,
  .my-5 {
    margin-top: 2rem !important;
  }

  .pb-5,
  .py-5 {
    padding-bottom: 2rem !important;
  }

  .pt-5,
  .py-5 {
    padding-top: 2rem !important;
  }

  .mb-4,
  .my-4 {
    margin-bottom: 1.5rem !important;
  }

  .mt-4,
  .my-4 {
    margin-top: 1.5rem !important;
  }
}

@media (max-width: 575.98px) {
  .mb-5,
  .my-5 {
    margin-bottom: 1.5rem !important;
  }

  .mt-5,
  .my-5 {
    margin-top: 1.5rem !important;
  }

  .pb-5,
  .py-5 {
    padding-bottom: 1.5rem !important;
  }

  .pt-5,
  .py-5 {
    padding-top: 1.5rem !important;
  }

  .mb-4,
  .my-4 {
    margin-bottom: 1.25rem !important;
  }

  .mt-4,
  .my-4 {
    margin-top: 1.25rem !important;
  }
}

/*--------------------------------------------------------------
# Mejoras de Tipografía Responsive
--------------------------------------------------------------*/

@media (max-width: 767.98px) {
  h1,
  h2,
  h3,
  h4,
  h5,
  h6 {
    word-wrap: break-word;
    hyphens: auto;
    color: var(--text-light);
  }

  .display-1 {
    font-size: 3rem;
  }

  .display-2 {
    font-size: 2.5rem;
  }

  .display-3 {
    font-size: 2rem;
  }

  .display-4 {
    font-size: 1.75rem;
  }

  .lead {
    font-size: 1.1rem;
  }
}

@media (max-width: 575.98px) {
  .display-1 {
    font-size: 2.5rem;
  }

  .display-2 {
    font-size: 2rem;
  }

  .display-3 {
    font-size: 1.75rem;
  }

  .display-4 {
    font-size: 1.5rem;
  }

  .lead {
    font-size: 1rem;
  }
}

/*--------------------------------------------------------------
# Mejoras de Modal Responsive
--------------------------------------------------------------*/

@media (max-width: 767.98px) {
  .modal-dialog {
    margin: 0.5rem;
  }

  .modal-content {
    border-radius: 0.5rem;
  }

  .modal-header {
    padding: 1rem;
  }

  .modal-body {
    padding: 1rem;
  }

  .modal-title {
    font-size: 1.1rem;
  }
}

@media (max-width: 575.98px) {
  .modal-dialog {
    margin: 0.25rem;
  }

  .modal-header,
  .modal-body,
  .modal-footer {
    padding: 0.75rem;
  }

  .modal-title {
    font-size: 1rem;
  }
}

.btn-call {
  color: var(--color-background) !important;
}

.btn-call:hover {
  color: var(--color-coorporativo01) !important;
}
