/* ============================================================
   GIRBAU MÉXICO — Landing Page Styles
   Color principal: #007481
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,700;0,900;1,700&family=Barlow:wght@300;400;500;600;700&family=Barlow+Condensed:wght@600;700;800&display=swap');

:root {
  --teal:        #007481;
  --teal-dark:   #005a64;
  --teal-light:  #009aaa;
  --teal-faint:  #e6f4f6;
  --charcoal:    #1a1a2e;
  --mid:         #3d3d55;
  --muted:       #6b7280;
  --white:       #ffffff;
  --offwhite:    #f8fafb;
  --border:      #d1e9ec;
  --gold:        #c9a84c;
  --shadow-sm:   0 2px 12px rgba(0,116,129,.10);
  --shadow-md:   0 8px 32px rgba(0,116,129,.15);
  --shadow-lg:   0 20px 60px rgba(0,116,129,.18);
  --radius:      14px;
  --radius-sm:   8px;
  --transition:  .35s cubic-bezier(.4,0,.2,1);
}

/* ── RESET & BASE ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Barlow', sans-serif;
  color: var(--charcoal);
  background: var(--white);
  overflow-x: hidden;
  line-height: 1.65;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }

/* ── TYPOGRAPHY ── */
.display-font { font-family: 'Barlow Condensed', sans-serif; }
.serif-font   { font-family: 'Playfair Display', serif; }

/* ── UTILITY ── */
.section-padding { padding: 90px 0; }
.bg-offwhite     { background: var(--offwhite); }
.bg-teal         { background: var(--teal); }
.text-teal       { color: var(--teal); }
.text-white      { color: var(--white); }
.text-muted-custom { color: var(--muted); }

/* ── BUTTONS ── */
.btn-girbau {
  display: inline-block;
  padding: 14px 34px;
  background: var(--teal);
  color: var(--white);
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  border: 2px solid var(--teal);
  border-radius: var(--radius-sm);
  transition: var(--transition);
  cursor: pointer;
}
.btn-girbau:hover {
  background: transparent;
  color: var(--teal);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  text-decoration: none;
}
.btn-girbau-outline {
  display: inline-block;
  padding: 14px 34px;
  background: transparent;
  color: var(--white);
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  border: 2px solid var(--white);
  border-radius: var(--radius-sm);
  transition: var(--transition);
  cursor: pointer;
}
.btn-girbau-outline:hover {
  background: var(--white);
  color: var(--teal);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  text-decoration: none;
}
.btn-girbau-gold {
  display: inline-block;
  padding: 14px 34px;
  background: var(--gold);
  color: var(--white);
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  border: 2px solid var(--gold);
  border-radius: var(--radius-sm);
  transition: var(--transition);
  cursor: pointer;
}
.btn-girbau-gold:hover {
  background: transparent;
  color: var(--gold);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(201,168,76,.25);
  text-decoration: none;
}

/* ── NAVBAR ── */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 0;
  transition: background var(--transition), box-shadow var(--transition);
}
#navbar.scrolled {
  background: var(--white) !important;
  box-shadow: 0 2px 20px rgba(0,116,129,.12);
}
#navbar.scrolled .navbar-brand img { filter: none; }
#navbar.scrolled .nav-link { color: var(--charcoal) !important; }
#navbar.scrolled .nav-link:hover { color: var(--teal) !important; }
.navbar-brand img { height: 84px; transition: var(--transition); filter: brightness(0) invert(1); /* evita que el logo se invierta */}
.nav-link {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 600;
  font-size: .95rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--white) !important;
  padding: 8px 16px !important;
  transition: color var(--transition);
}
.nav-link:hover { color: var(--teal-light) !important; }
.navbar-toggler { border-color: rgba(255,255,255,.5); }
.navbar-toggler-icon { filter: invert(1); }
#navbar.scrolled .navbar-toggler-icon { filter: none; }

/* ── HERO ── */
#hero {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: linear-gradient(135deg, #003d43 0%, #007481 45%, #009aaa 100%);
}
.hero-bg-pattern {
  background-size: cover;       /* ajusta la imagen para cubrir todo */
  background-position: center;  /* centra la imagen */
  position: absolute;
  inset: 0;
  background-image: url(images/hero.jpeg);
}
.hero-image-wrap {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.hero-image-wrap::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0,116,129,.2) 0%, transparent 60%);
  z-index: 1;
  pointer-events: none;
}
.hero-image-wrap img { border-radius: 20px; height: 520px; width: 100%; object-fit: cover; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.25);
  backdrop-filter: blur(12px);
  padding: 8px 18px;
  border-radius: 100px;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.9);
  margin-bottom: 24px;
}
.hero-badge span { width: 8px; height: 8px; background: #4fffb0; border-radius: 50%; animation: pulse 2s infinite; }
@keyframes pulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:.6;transform:scale(1.4)} }
.hero-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(2.8rem, 6vw, 4.8rem);
  font-weight: 800;
  line-height: 1.05;
  color: var(--white);
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: -.01em;
}
.hero-title .accent { color: #7fffd4; }
.hero-subtitle {
  font-size: clamp(1.1rem, 2.5vw, 1.4rem);
  color: rgba(255,255,255,.82);
  font-weight: 300;
  margin-bottom: 36px;
  line-height: 1.5;
}
.hero-stats {
  display: flex;
  gap: 36px;
  margin-top: 48px;
  padding-top: 36px;
  border-top: 1px solid rgba(255,255,255,.15);
}
.hero-stat-num {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  color: #7fffd4;
  line-height: 1;
}
.hero-stat-label {
  font-size: .78rem;
  color: rgba(255,255,255,.65);
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-top: 4px;
}
.hero-scroll {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,.6);
  font-size: .75rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  animation: bob 2.5s ease-in-out infinite;
}
@keyframes bob { 0%,100%{transform:translateX(-50%) translateY(0)} 50%{transform:translateX(-50%) translateY(8px)} }
.hero-scroll i { font-size: 1.2rem; }

/* ── BANNER ECO ── */
#banner-eco {
  background: linear-gradient(135deg, #1a1a2e 0%, #003d43 100%);
  padding: 70px 0;
  position: relative;
  overflow: hidden;
}
#banner-eco::before {
  content:'';
  position: absolute;
  top: -80px; right: -80px;
  width: 320px; height: 320px;
  background: radial-gradient(circle, rgba(201,168,76,.12) 0%, transparent 70%);
}
.eco-medal-icon {
  width: 190px; height: 190px;
  background: linear-gradient(135deg, var(--gold), #e8c96a);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  color: var(--white);
  box-shadow: 0 8px 32px rgba(201,168,76,.4);
  flex-shrink: 0;
  position: relative;
}
.eco-medal-icon::after {
  content:'';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px dashed rgba(201,168,76,.4);
  animation: spin 12s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.eco-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 800;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: .02em;
  line-height: 1.1;
}
.eco-title .gold { color: var(--gold); }
.eco-subtitle {
  color: rgba(255,255,255,.72);
  font-size: 1rem;
  line-height: 1.7;
  margin-top: 10px;
}

/* ── QUOTE BANNER ── */
#banner-quote {
  padding: 90px 0;
  background: var(--offwhite);
  position: relative;
  overflow: hidden;
}
#banner-quote::before {
  content: '\201C';
  font-family: 'Playfair Display', serif;
  font-size: 28rem;
  color: rgba(0,116,129,.05);
  position: absolute;
  top: -80px;
  left: -20px;
  line-height: 1;
  pointer-events: none;
}
.quote-image-wrap {
  position: relative;
}
.quote-image-wrap img {
  width: 250px;
  height: 250px;
  object-fit: cover;
  margin: 0 auto;
}
.quote-label {
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--teal);
  color: var(--white);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: 100px;
  white-space: nowrap;
}
.quote-text {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: clamp(1.1rem, 2.2vw, 1.45rem);
  color: var(--mid);
  line-height: 1.75;
  position: relative;
  z-index: 1;
}
.quote-author {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: .88rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--teal);
  margin-top: 20px;
  font-style: normal;
}
.quote-role {
  font-size: .82rem;
  color: var(--muted);
  margin-top: 2px;
}

/* ── WHY GIRBAU ── */
#why-girbau {
  padding: 90px 0;
  background: var(--white);
}
.section-label {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 12px;
  display: block;
}
.section-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 800;
  text-transform: uppercase;
  color: var(--charcoal);
  line-height: 1.1;
}
.why-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 30px;
  height: 100%;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.why-card::before {
  content:'';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--teal), var(--teal-light));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}
.why-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-6px); border-color: var(--teal-light); }
.why-card:hover::before { transform: scaleX(1); }
.why-card-icon {
  width: 58px; height: 58px;
  background: var(--teal-faint);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: var(--teal);
  margin-bottom: 20px;
  transition: var(--transition);
}
.why-card:hover .why-card-icon { background: var(--teal); color: var(--white); }
.why-card-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--charcoal);
  margin-bottom: 12px;
}
.why-card-text {
  font-size: .92rem;
  color: var(--muted);
  line-height: 1.75;
}

/* ── SECTORES CAROUSEL ── */
#sectores {
  padding: 90px 0;
  background: var(--charcoal);
  overflow: hidden;
}
.carousel-item img {
  height: 520px;
  object-fit: cover;
  border-radius: var(--radius);
  width: 100%;
}
.carousel-caption-custom {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(0deg, rgba(0,0,0,.75) 0%, transparent 100%);
  padding: 40px 30px 24px;
  border-radius: 0 0 var(--radius) var(--radius);
  text-align: left;
}
.carousel-caption-custom h5 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.6rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--white);
  letter-spacing: .04em;
}
.carousel-control-prev, .carousel-control-next {
  width: 52px; height: 52px;
  background: var(--teal);
  border-radius: 50%;
  top: 50%;
  transform: translateY(-50%);
  opacity: 1;
  transition: var(--transition);
}
.carousel-control-prev { left: -26px; }
.carousel-control-next { right: -26px; }
.carousel-control-prev:hover, .carousel-control-next:hover { background: var(--teal-dark); }
.carousel-indicators [data-bs-target] {
  width: 8px; height: 8px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,.4);
  transition: var(--transition);
}
.carousel-indicators .active { background: var(--teal-light); width: 24px; border-radius: 4px; }

/* ── PRODUCTS ── */
#products {
  padding: 90px 0;
  background: var(--offwhite);
}
.product-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
  border: 1px solid var(--border);
}
.product-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-8px); }
.product-card-img {
  height:auto;
  overflow: hidden;
  position: relative;
}
.product-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.product-card:hover .product-card-img img { transform: scale(1.06); }
.product-card-tag {
  position: absolute;
  top: 14px; left: 14px;
  background: var(--teal);
  color: var(--white);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 100px;
}
.product-card-body {
  padding: 26px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.product-card-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.2rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--charcoal);
  margin-bottom: 8px;
  line-height: 1.2;
}
.product-card-text {
  font-size: .88rem;
  color: var(--muted);
  line-height: 1.7;
  flex: 1;
  margin-bottom: 20px;
}

/* ── BANNER DISTRIBUIDORES ── */
#banner-dist {
  padding: 80px 0;
  background-image: url(images/banner-3.jpeg);
  position: relative;
  overflow: hidden;
}
#banner-dist::after {
  content: '';
  position: absolute;
  bottom: -60px; right: -60px;
  width: 280px; height: 280px;
  border-radius: 50%;
  background: rgba(255,255,255,.05);
}
.dist-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 800;
  text-transform: uppercase;
  color: var(--white);
  line-height: 1.1;
}
.mexico-flag-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.3);
  backdrop-filter: blur(8px);
  padding: 10px 20px;
  border-radius: 100px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: .9rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--white);
  margin-top: 16px;
  width: fit-content;
}
.mexico-map-img {
  max-height: 280px;
  object-fit: contain;
  filter: brightness(0) invert(1) opacity(.25);
  position: absolute;
  right: 0; top: 50%;
  transform: translateY(-50%);
}

/* ── SECTORS CARDS ── */
#sectors-cards {
  padding: 90px 0;
  background: var(--white);
}
.sector-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 20px;
  text-align: center;
  transition: var(--transition);
  height: 100%;
  cursor: default;
}
.sector-card:hover {
  background: var(--teal-faint);
  border-color: var(--teal);
  transform: translateY(-4px);
  box-shadow: var(--shadow-sm);
}
.sector-card-icon {
  width: 64px; height: 64px;
  background: var(--teal-faint);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: var(--teal);
  margin: 0 auto 14px;
  transition: var(--transition);
  overflow: hidden;
}
.sector-card-icon img {
  width: 100%; height: 100%;
  object-fit: cover;
  border-radius: 50%;
}
.sector-card:hover .sector-card-icon { background: var(--teal); color: var(--white); }
.sector-card-name {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: .95rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--charcoal);
  margin: 0;
}

/* ── BANNER LOGO WATER ── */
#banner-logo {
  position: relative;
  height: 340px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.water-bg {
  position: absolute;
  inset: 0;
  background-image: url(images/banner-1.jpg);
  
   background-size: cover;
   background-repeat: no-repeat;
}
.water-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(ellipse at 30% 60%, rgba(0,154,170,.35) 0%, transparent 55%),
    radial-gradient(ellipse at 70% 30%, rgba(0,116,129,.25) 0%, transparent 50%);
}
.water-ripple {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.08);
  animation: ripple 6s ease-in-out infinite;
}
.water-ripple:nth-child(1) { width: 200px; height: 200px; top: 20%; left: 10%; animation-delay: 0s; }
.water-ripple:nth-child(2) { width: 350px; height: 350px; top: -10%; right: 5%; animation-delay: -2s; }
.water-ripple:nth-child(3) { width: 150px; height: 150px; bottom: 10%; right: 20%; animation-delay: -4s; }
@keyframes ripple { 0%,100%{transform:scale(1);opacity:.5} 50%{transform:scale(1.15);opacity:.15} }
.banner-logo-img {
  position: relative;
  z-index: 2;
  filter: brightness(0) invert(1);
  max-width: 440px;
  width: auto;
}

/* ── TESTIMONIALES ── */
#testimoniales {
  padding: 90px 0;
  background: var(--offwhite);
}
.stars {
  color: #f59e0b;
  font-size: 1.1rem;
  letter-spacing: 2px;
  margin-bottom: 16px;
}
.testimonial-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 36px 32px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  position: relative;
  transition: var(--transition);
}
.testimonial-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.testimonial-card::before {
  content: '\201C';
  font-family: 'Playfair Display', serif;
  font-size: 6rem;
  color: var(--teal-faint);
  position: absolute;
  top: -10px; left: 20px;
  line-height: 1;
  pointer-events: none;
}
.testimonial-text {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: .95rem;
  color: var(--mid);
  line-height: 1.8;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}
.testimonial-author {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: .9rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--charcoal);
}
.testimonial-company {
  font-size: .8rem;
  color: var(--teal);
  margin-top: 2px;
}
.testimonial-avatar {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--teal-faint);
  border: 2px solid var(--teal);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--teal);
  flex-shrink: 0;
}

/* ── CONTACT ── */
#contact {
  padding: 90px 0;
  background: var(--white);
}
.contact-card {
  background: var(--teal-faint);
  border-radius: var(--radius);
  padding: 32px;
  border: 1px solid var(--border);
}
.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 24px;
}
.contact-info-icon {
  width: 44px; height: 44px;
  background: var(--teal);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--white);
  flex-shrink: 0;
}
.contact-info-label {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--teal);
}
.contact-info-value {
  font-size: .92rem;
  color: var(--mid);
  margin-top: 2px;
}
.form-control-custom {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: 'Barlow', sans-serif;
  font-size: .92rem;
  color: var(--charcoal);
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}
.form-control-custom:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(0,116,129,.12);
}
.form-label-custom {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--mid);
  margin-bottom: 6px;
  display: block;
}

/* ── FOOTER ── */
#footer {
  background: var(--charcoal);
  padding: 56px 0 28px;
}
.footer-logo img { height: 70px; filter: brightness(0) invert(1); margin-bottom: 16px; }
.footer-tagline {
  font-size: .88rem;
  color: rgba(255,255,255,.5);
  line-height: 1.7;
  max-width: 280px;
}
.footer-heading {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--teal-light);
  margin-bottom: 16px;
}
.footer-link {
  display: block;
  font-size: .88rem;
  color: rgba(255,255,255,.55);
  margin-bottom: 8px;
  transition: color var(--transition);
}
.footer-link:hover { color: var(--white); }
.footer-divider {
  border-color: rgba(255,255,255,.08);
  margin: 36px 0 20px;
}
.footer-bottom {
  font-size: .8rem;
  color: rgba(255,255,255,.38);
}
.footer-bottom a { color: rgba(255,255,255,.55); transition: color var(--transition); }
.footer-bottom a:hover { color: var(--teal-light); }

/* ── ANIMATIONS ── */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .7s ease, transform .7s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── RESPONSIVE ── */
@media (max-width: 991px) {
  .hero-stats { gap: 20px; flex-wrap: wrap; }
  .hero-image-wrap img { height: 360px; }
  .mexico-map-img { display: none; }
}
@media (max-width: 767px) {
  .section-padding { padding: 60px 0; }
  #sectores, #products, #why-girbau, #testimoniales,
  #sectors-cards, #contact { padding: 60px 0; }
  .hero-stats { gap: 16px; }
  .carousel-item img { height: 320px; }
  .carousel-control-prev { left: 10px; }
  .carousel-control-next { right: 10px; }
  .quote-text { font-size: 1rem; }
}

@media (min-width: 768px) {
  /* Convierte el contenedor en un contenedor flexible */
  .custom-multi-carousel {
    display: flex !important;
  }
  
  /* Asegura que los elementos inactivos no se oculten por completo, sino que se alineen */
  .custom-multi-carousel .carousel-item {
    margin-right: 0;
    flex: 0 0 33.3333%; /* Ocupa exactamente un tercio de la pantalla (3 columnas) */
    display: block;
  }
  
  /* Permite la transición suave al avanzar uno a uno */
  .custom-multi-carousel .carousel-item-next,
  .custom-multi-carousel .carousel-item-prev,
  .custom-multi-carousel .carousel-item.active {
    display: block;
  }
}

/* --- Variables de Diseño --- */
:root {
  --bg-dark: #121420; /* Fondo corporativo oscuro de la imagen */
  --accent-cyan: #16a34a; /* Color secundario para iconos/detalles (ajustable) */
  --btn-teal: #007a87; /* Color de las flechas de navegación */
  --font-family: 'Arial Black', 'Impact', sans-serif; /* Tipografía bold e industrial */
}

/* --- Estilos Generales de la Sección --- */
.carousel-section {
  background-color: var(--bg-dark);
  color: #ffffff;
  padding: 60px 20px;
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  overflow: hidden;
  position: relative;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
}

.subtitle {
  text-align: center;
  font-size: 0.85rem;
  letter-spacing: 3px;
  color: #a3a3a3;
  margin-bottom: 8px;
  font-weight: bold;
  text-transform: uppercase;
}

.title {
  text-align: center;
  font-family: var(--font-family);
  font-size: 2.2rem;
  letter-spacing: 1px;
  margin-top: 0;
  margin-bottom: 40px;
  text-transform: uppercase;
}

/* --- Wrapper del Carrusel y Botones --- */
.carousel-wrapper {
  display: flex;
  align-items: center;
  position: relative;
}

.nav-btn {
  background-color: var(--btn-teal);
  border: none;
  border-radius: 50%;
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  cursor: pointer;
  position: absolute;
  z-index: 10;
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.nav-btn:hover {
  transform: scale(1.1);
  background-color: #006670;
}

.nav-btn svg {
  width: 24px;
  height: 24px;
}

.prev-btn { left: -15px; }
.next-btn { right: -15px; }

/* --- Track de Tarjetas (Clipper) --- */
.carousel-track-container {
  overflow: hidden;
  width: 100%;
}

.carousel-track {
  display: flex;
  gap: 20px;
  transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: transform;
}

/* --- Diseño de Tarjetas (Estilo Imagen) --- */
.carousel-card {
  flex: 0 0 calc(33.333% - 14px); /* Por defecto 3 columnas */
  min-width: 280px;
  height: 380px;
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  background-color: #0b0c13;
}

.card-image-wrapper {
  width: 100%;
  height: 100%;
  position: relative;
}

.card-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Degradado oscuro inferior idéntico al de tu captura */
.card-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 50%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0) 100%);
}

/* Contenido de texto e icono flotando abajo */
.card-content {
  position: absolute;
  bottom: 25px;
  left: 25px;
  right: 25px;
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 2;
}

.card-icon {
  width: 28px;
  height: 28px;
  color: #5eead4; /* Tono aqua/turquesa del icono original */
  flex-shrink: 0;
}

.card-title {
  font-family: var(--font-family);
  font-size: 1.25rem;
  margin: 0;
  color: #ffffff;
  line-height: 1.2;
}

/* --- Dots / Indicadores de Posición --- */
.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 30px;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: #374151;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.dot.active {
  background-color: #00bacf; /* Color aqua activo */
  transform: scale(1.2);
}

/* --- Responsivo (Media Queries nativos) --- */
@media (max-width: 992px) {
  .carousel-card {
    flex: 0 0 calc(50% - 10px); /* 2 Columnas en Tablets */
  }
  .title { font-size: 1.8rem; }
}

@media (max-width: 600px) {
  .carousel-card {
    flex: 0 0 100%; /* 1 Columna en móviles */
  }
  .prev-btn { left: 5px; }
  .next-btn { right: 5px; }
  .title { font-size: 1.4rem; }
}

.scroll-wrapper {
  overflow: hidden;
  width: 100%;
  position: relative;
}

.scroll-content {
  display: inline-flex;
  white-space: nowrap;
  animation: scroll-left 60s linear infinite;
}

.scroll-wrapper:hover .scroll-content {
  animation-play-state: paused; /* pausa al hover */
}

.sector-card {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 0 1rem;
  min-width: 150px;
  text-align: center;
}

.sector-card-icon {
  background: #e0f4ff; /* círculo azul claro */
  border-radius: 50%;
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #008080; /* teal corporativo */
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.sector-card-name {
  font-weight: bold;
  text-transform: uppercase;
  color: #222;
  font-size: 0.9rem;
}

@keyframes scroll-left {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}


