/* =============================================
   BLP Chile – Energía Solar Sin Límites
   styles.css
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Barlow:wght@300;400;600;700;900&family=Barlow+Condensed:wght@400;600;700;800&display=swap');

/* ─── RESET & VARIABLES ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --bg:        #ffffff;
  --bg-soft:   #f6f9f6;
  --bg-mid:    #edf5ed;
  --blue:      #002d92;
  --blue-dark: #001f66;
  --accent:    #4faf4f;
  --accent-lt: #e8f5e9;
  --text:      #1a202c;
  --muted:     #4a5568;
  --border:    #e2e8f0;
  --radius:    8px;
  --trans:     all .3s cubic-bezier(.4,0,.2,1);
}
html { scroll-behavior: smooth; }
body { background: var(--bg); color: var(--text); font-family: 'Barlow', sans-serif; font-size: 16px; line-height: 1.6; overflow-x: hidden; }
a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }
ul { list-style: none; }

/* ─── UTILITIES ─── */
.container { max-width: 1220px; margin: 0 auto; padding: 0 24px; }
.section-tag { display: inline-block; font-family: 'Barlow Condensed', sans-serif; font-size: .72rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--accent); margin-bottom: .5rem; }
.section-title { font-family: 'Barlow Condensed', sans-serif; font-size: clamp(1.9rem, 4vw, 3rem); font-weight: 800; line-height: 1.1; color: var(--blue-dark); }
.section-title.light { color: #fff; }

/* ─── BUTTONS ─── */
.btn { display: inline-flex; align-items: center; padding: .75rem 1.75rem; border-radius: 50px; font-family: 'Barlow Condensed', sans-serif; font-size: .95rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; cursor: pointer; transition: var(--trans); border: 2px solid transparent; }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: #007aaa; transform: translateY(-2px); }
.btn-blue { background: var(--blue); color: #fff; }
.btn-blue:hover { background: var(--blue-dark); transform: translateY(-2px); }
.btn-outline { background: transparent; border-color: var(--blue); color: var(--blue); }
.btn-outline:hover { background: var(--blue); color: #fff; transform: translateY(-2px); }
.btn-outline-white { background: transparent; border-color: rgba(255,255,255,.7); color: #fff; }
.btn-outline-white:hover { background: rgba(255,255,255,.15); transform: translateY(-2px); }

/* ─── SITE HEADER WRAPPER ─── */
#site-header { position: fixed; top: 0; left: 0; width: 100%; z-index: 1000; transition: all 0.3s ease; }

/* ─── TOP BAR ─── */
.topbar { background: var(--blue-dark); padding: .45rem 0; font-size: .78rem; color: rgba(255,255,255,.65); }
.topbar .container { display: flex; justify-content: space-between; align-items: center; }
.topbar a { color: rgba(255,255,255,.65); transition: color .2s; }
.topbar a:hover { color: #fff; }
.topbar-socials { display: flex; gap: 1.5rem; }
.topbar-contact { display: flex; gap: 2rem; }

/* ─── HEADER / NAV ─── */
header { 
  position: absolute; 
  top: 48px; 
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000; 
  background: rgba(255, 255, 255, 0.96); 
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(220, 225, 230, 0.8); 
  border-radius: 100px; 
  box-shadow: 0 12px 40px rgba(0, 20, 50, 0.08); 
  width: 94%; 
  max-width: 1200px; 
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1); 
}

/* Scrolled State */
#site-header.scrolled header {
  background: rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-color: rgba(255, 255, 255, 0.3);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}
#site-header.scrolled .topbar {
  opacity: 1; /* Mantener la barra de contacto superior 100% sólida */
}
.nav { 
  display: flex; 
  align-items: center; 
  justify-content: space-between; 
  padding: 0.6rem 2rem; 
}
.nav-logo { display: flex; align-items: center; gap: .75rem; transition: transform 0.2s ease; }
.nav-logo:hover { transform: scale(1.02); }
.nav-logo-img { height: 45px; width: auto; object-fit: contain; }

.nav-menu { display: flex; align-items: center; gap: 2rem; }
.nav-item { position: relative; }
.nav-link { font-family: 'Barlow Condensed', sans-serif; font-size: 1rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--text); padding: .4rem 0; display: flex; align-items: center; gap: .25rem; opacity: .8; transition: var(--trans); border-bottom: 2px solid transparent; }
.nav-link:hover, .nav-item:hover > .nav-link { color: var(--blue); opacity: 1; border-color: var(--accent); }
.nav-dropdown { position: absolute; top: calc(100% + .8rem); left: 50%; transform: translateX(-50%) translateY(8px); background: #fff; border: 1px solid var(--border); border-radius: var(--radius); min-width: 220px; padding: .4rem 0; opacity: 0; pointer-events: none; transition: var(--trans); box-shadow: 0 12px 36px rgba(0,0,0,.1); }
.nav-item:hover .nav-dropdown { opacity: 1; pointer-events: all; transform: translateX(-50%) translateY(0); }
.nav-dropdown a { display: block; padding: .6rem 1.25rem; font-size: .88rem; color: var(--muted); transition: var(--trans); }
.nav-dropdown a:hover { background: var(--accent-lt); color: var(--accent); padding-left: 1.6rem; }
.nav-cta { margin-left: 1rem; }
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 4px; }
.hamburger span { width: 26px; height: 2px; background: var(--text); border-radius: 2px; transition: var(--trans); }

/* ─── HERO ─── */
.hero { position: relative; height: 100vh; min-height: 720px; overflow: hidden; }

/* Grid overlay */
.hero-grid-overlay { position: absolute; inset: 0; z-index: 1; background-image: linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px); background-size: 64px 64px; pointer-events: none; }

/* Slides */
.hero-static-bg {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(105deg, rgba(8,22,58,.96) 32%, rgba(8,22,58,.38) 100%), url('https://images.unsplash.com/photo-1521618755572-156ae0cdd74d?w=1800&q=80');
  background-size: cover;
  background-position: center;
  z-index: 0;
}
.hero-slides { display: flex; height: 100%; transition: transform .9s cubic-bezier(.77,0,.18,1); position: relative; z-index: 2; }
.hero-slide { flex: 0 0 100%; width: 100%; height: 100%; position: relative; display: flex; align-items: center; overflow: hidden; }

/* Content */
.hero-content { position: relative; z-index: 2; max-width: 800px; margin: 0 auto; padding: 0 2rem; text-align: center; display: flex; flex-direction: column; align-items: center; justify-content: center; animation: slideUp .9s ease both; }
@keyframes slideUp { from { opacity:0; transform:translateY(30px); } to { opacity:1; transform:translateY(0); } }

/* Tag */
.hero-tag { display: inline-flex; align-items: center; justify-content: center; gap: .6rem; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.16); border-radius: 50px; padding: .35rem 1.1rem .35rem .8rem; font-size: .7rem; font-family: 'Barlow Condensed', sans-serif; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: rgba(255,255,255,.8); margin-bottom: 1.5rem; backdrop-filter: blur(8px); }
.hero-tag-dot { width: 7px; height: 7px; border-radius: 50%; background: #5dd8f0; flex-shrink: 0; animation: tagPulse 2.2s ease infinite; }
@keyframes tagPulse { 0%,100% { box-shadow: 0 0 0 0 rgba(93,216,240,.5); } 60% { box-shadow: 0 0 0 7px rgba(93,216,240,0); } }

/* Title */
.hero-title { font-family: 'Barlow Condensed', sans-serif; font-size: clamp(2.5rem, 5vw, 4.5rem); font-weight: 800; line-height: 1.1; color: #fff; text-transform: uppercase; margin-bottom: 1.5rem; letter-spacing: 0.02em; }
.hero-title em { font-style: normal; background: linear-gradient(90deg, #5dd8f0 0%, #00c2e0 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }

/* Subtitle & actions */
.hero-sub { font-size: 1.1rem; color: rgba(255,255,255,.8); max-width: 600px; margin: 0 auto 2.5rem auto; font-weight: 400; line-height: 1.6; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; justify-content: center; width: 100%; }

/* Decorative ring - hidden for centered layout */
.hero-deco-ring { display: none; }

/* Nav arrows (columna derecha) */
.hero-nav { position: absolute; right: 2rem; top: 50%; transform: translateY(-50%); z-index: 5; display: flex; flex-direction: column; gap: .55rem; }
.hero-arrow { background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.15); color: #fff; width: 44px; height: 44px; border-radius: 50%; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: var(--trans); backdrop-filter: blur(6px); }
.hero-arrow svg { width: 16px; height: 16px; }
.hero-arrow:hover { background: var(--accent); border-color: var(--accent); transform: scale(1.2); }

/* Progress bars + counter */
.hero-controls { position: absolute; bottom: 7.5rem; left: 50%; transform: translateX(-50%); z-index: 5; display: flex; align-items: center; gap: 1.75rem; }
.hero-bars { display: flex; gap: .55rem; align-items: center; }
.hero-bar { height: 3px; border-radius: 3px; background: rgba(255,255,255,.2); cursor: pointer; border: none; padding: 0; overflow: hidden; position: relative; transition: width .35s ease; width: 52px; }
.hero-bar.active { width: 72px; }
.hero-bar-fill { position: absolute; inset: 0; background: var(--accent); transform: scaleX(0); transform-origin: left; border-radius: 3px; }
.hero-bar.active .hero-bar-fill { animation: barFill 6s linear forwards; }
.hero-bar.done .hero-bar-fill { transform: scaleX(1); animation: none; }
@keyframes barFill { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.hero-counter { font-family: 'Barlow Condensed', sans-serif; display: flex; align-items: baseline; color: rgba(255,255,255,.45); font-size: .8rem; }
.hero-counter-cur { font-size: 1.4rem; font-weight: 800; color: #fff; line-height: 1; }
.hero-counter-sep { margin: 0 .15rem; }

/* Scroll hint */
.hero-scroll-hint { position: absolute; bottom: 7.5rem; right: 2rem; z-index: 5; display: flex; flex-direction: column; align-items: center; gap: .45rem; color: rgba(255,255,255,.3); font-family: 'Barlow Condensed', sans-serif; font-size: .62rem; letter-spacing: .18em; text-transform: uppercase; }
.hero-scroll-line { width: 1px; height: 36px; background: linear-gradient(to bottom, rgba(255,255,255,.0), rgba(255,255,255,.4)); animation: scrollDrop 2s ease-in-out infinite; }
@keyframes scrollDrop { 0%,100% { opacity:.4; transform: scaleY(1); } 50% { opacity:1; transform: scaleY(1.2); } }

/* Hero Clients Carousel */
.hero-clients {
  position: absolute;
  bottom: 11rem;
  left: 0;
  width: 100%;
  z-index: 4;
  overflow: hidden;
  border-top: 1px solid rgba(255,255,255,0.05);
  border-bottom: 1px solid rgba(255,255,255,0.05);
  background: rgba(0,0,0,0.15);
  backdrop-filter: blur(4px);
  padding: 0.8rem 0;
  mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
}
.hero-clients-track {
  display: flex;
  align-items: center;
  gap: 4rem;
  width: max-content;
  animation: marquee 35s linear infinite;
}
.hero-clients-track:hover {
  animation-play-state: paused;
}
.hero-client {
  color: rgba(255,255,255,0.5);
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: color 0.3s ease;
  cursor: default;
}
.hero-client:hover {
  color: #fff;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ─── STATS BAND ─── */
.stats-band { 
  position: relative;
  background: var(--blue); 
  padding: 2.5rem 0; 
}
.stats-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 64px 64px;
  pointer-events: none;
  z-index: 1;
}
.stats-band .container { display: grid; grid-template-columns: repeat(4, 1fr); position: relative; z-index: 2; }
.stat-item { text-align: center; padding: 1rem 1.5rem; border-right: 1px solid rgba(255,255,255,.1); }
.stat-item:last-child { border: none; }
.stat-num { font-family: 'Barlow Condensed', sans-serif; font-size: 2.6rem; font-weight: 900; color: #fff; line-height: 1; }
.stat-label { font-size: .78rem; color: rgba(255,255,255,.55); text-transform: uppercase; letter-spacing: .1em; margin-top: .3rem; }

  /* ─── PRODUCTS ─── */
    .products { 
      padding: 9rem 0 8rem; 
      background-color: #ffffff; 
      background-image: radial-gradient(rgba(0,0,0,0.08) 1.5px, transparent 1.5px);
      background-size: 30px 30px;
      position: relative; 
    }
    .section-head { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 4rem; gap: 1rem; flex-wrap: wrap; }
  .section-head.center-text { 
    flex-direction: column; 
    align-items: center; 
    justify-content: center; 
    text-align: center;
    width: 100%;
  }
  .section-head.center-text .section-title { color: #111;  margin-bottom: 0; }
  
  .products-row {
    display: flex;
    overflow-x: auto;
    gap: 2rem;
    padding: 4rem 1rem 3rem 1rem;
    /* Ocultar barra de scroll visualmente en webkit */
    scrollbar-width: thin;
    scrollbar-color: var(--accent) transparent;
    scroll-snap-type: x mandatory;
  }
  .products-row::-webkit-scrollbar { height: 8px; }
  .products-row::-webkit-scrollbar-track { background: transparent; }
  .products-row::-webkit-scrollbar-thumb { background-color: var(--border); border-radius: 10px; }
  .products-row:hover::-webkit-scrollbar-thumb { background-color: var(--accent); }

  .product-item { background: #ffffff !important; border: 1px solid var(--border) !important; border-radius: 20px !important; box-shadow: 0 4px 20px rgba(0,0,0,0.03) !important; padding: 2rem 1.5rem !important; color: var(--text); display: flex; flex-direction: column; align-items: center; text-align: center; cursor: pointer; transition: var(--trans); height: auto !important; }
  .product-item:hover { transform: translateY(-8px); box-shadow: 0 15px 35px rgba(0,45,146,0.08) !important; border-color: rgba(0,45,146,0.15) !important; }

  .product-img-box { width: 100%; height: 260px; margin: 0 auto 1.5rem auto; display: flex; align-items: center; justify-content: center; background: transparent; transition: var(--trans); }

  .product-img-nobg { max-width: 85%; max-height: 85%; width: auto; height: auto; object-fit: contain; transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275); filter: drop-shadow(0 12px 18px rgba(0, 0, 0, 0.12)); image-rendering: -webkit-optimize-contrast; }
  .product-item:hover .product-img-box { background: transparent; }
  .product-item:hover .product-img-nobg { transform: scale(1.1) translateY(-8px); filter: drop-shadow(0 18px 25px rgba(0, 0, 0, 0.22)); }

  .product-name {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 1.55rem;
    font-weight: 800;
    color: var(--blue-dark);
    margin-bottom: 1.25rem;
    line-height: 1.2;
    min-height: 2.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .product-desc {
    font-size: .85rem;
    color: var(--muted); 
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex-grow: 1;
  }

  .product-btn {
    width: 100%;
    margin-top: auto;
    padding: 0.85rem 1.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 700;
    letter-spacing: 0.05em;
  }
/* ─── BENEFITS ─── */
  .benefits { 
    padding: 6rem 0 6rem; 
    background-color: #f4f6f8; 
    background-image: radial-gradient(rgba(0,45,146,0.08) 2px, transparent 2px);
    background-size: 26px 26px;
    position: relative; 
    z-index: 2; 
  }
.benefits-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-bottom: 3.5rem; }
.benefit-card { padding: 2rem 1.5rem; border-radius: 16px; transition: var(--trans); aspect-ratio: auto; min-height: 180px; display: flex; flex-direction: column; justify-content: center; position: relative; overflow: hidden; }
.benefit-card.odd { background: var(--blue-dark); color: #fff; box-shadow: 0 10px 30px rgba(0,45,146,0.15); border: 1px solid var(--blue); }
.benefit-card.even { background: #fff; border: 1px solid var(--border); color: var(--text); box-shadow: 0 10px 30px rgba(0,0,0,0.04); }

.benefit-card.odd:hover { background: var(--blue); transform: translateY(-5px); box-shadow: 0 15px 35px rgba(0,45,146,0.25); }
.benefit-card.even:hover { border-color: var(--blue); transform: translateY(-5px); box-shadow: 0 15px 35px rgba(0,0,0,0.08); }

.ben-icon { width: 40px; height: 40px; margin-bottom: 1rem; display: flex; align-items: center; justify-content: flex-start; }
.ben-icon svg { width: 32px; height: 32px; }
.benefit-card.odd .ben-icon svg { stroke: var(--accent); }
.benefit-card.even .ben-icon svg { stroke: var(--blue); }

.ben-title { font-family: 'Barlow Condensed', sans-serif; font-size: 1.35rem; font-weight: 700; line-height: 1.1; margin-bottom: .5rem; transition: var(--trans); }
.benefit-card.odd .ben-title { color: #fff; }
.benefit-card.even .ben-title { color: var(--blue-dark); }

.ben-desc { font-size: 0.85rem; line-height: 1.5; font-weight: 400; margin-bottom: 0; }
.benefit-card.odd .ben-desc { color: rgba(255,255,255,0.75); }
.benefit-card.even .ben-desc { color: var(--muted); }

/* Eco Tags */
.eco-tags { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; }
.eco-tag { background: var(--bg-soft); border: 1px solid var(--border); padding: 0.6rem 1.2rem; border-radius: 40px; display: flex; align-items: center; gap: 0.5rem; font-family: 'Barlow Condensed', sans-serif; font-weight: 700; font-size: 0.95rem; color: var(--blue-dark); text-transform: uppercase; transition: var(--trans); }
.eco-tag:hover { background: var(--accent); color: #fff; border-color: var(--accent); transform: translateY(-2px); box-shadow: 0 8px 20px rgba(79,175,79,0.3); }
.eco-tag svg { width: 18px; height: 18px; stroke: var(--accent); transition: var(--trans); }
.eco-tag:hover svg { stroke: #fff; }
  /* ─── CLIENTS ─── */
.clients { 
  padding: 4rem 0; 
  background-color: var(--bg-soft);
  background-image: radial-gradient(rgba(0,0,0,0.05) 2.5px, transparent 2.5px);
  background-size: 20px 20px;
  border-top: 1px solid var(--border); 
  border-bottom: 1px solid var(--border); 
}
.clients h3 { text-align: center; font-family: 'Barlow Condensed', sans-serif; font-size: .88rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin-bottom: 2.5rem; }
.clients-logos { display: flex; align-items: center; justify-content: center; gap: 4rem; flex-wrap: wrap; }
.logo-placeholder { font-family: 'Barlow Condensed', sans-serif; font-size: 1.15rem; font-weight: 700; letter-spacing: .06em; color: #b0bac8; transition: var(--trans); text-transform: uppercase; }
.logo-placeholder:hover { color: var(--blue); }

/* ─── COMMITMENT ─── */
.commitment { 
  padding: 6rem 0; 
  background-color: var(--blue-dark);
  position: relative; 
  z-index: 3;
}
.wave-top { position: absolute; top: -1px; left: 0; width: 100%; overflow: hidden; line-height: 0; transform: translateY(-99%); z-index: 10; pointer-events: none; }
.wave-top svg { position: relative; display: block; width: calc(100% + 1.3px); height: 100px; }
  
  .wave-bottom { position: absolute; bottom: 0; left: 0; width: 100%; overflow: hidden; line-height: 0; transform: translateY(99%) rotate(180deg) scaleX(-1); z-index: 10; pointer-events: none; }
  .wave-bottom svg { position: relative; display: block; width: calc(100% + 1.3px); height: 100px; }

  /* Wave path colors based on parent context */
  .commitment .wave-top path { fill: var(--blue-dark); }
  .commitment .wave-bottom path { fill: var(--blue-dark); }
  .stats-band .wave-top path { fill: var(--blue); }
  .stats-band .wave-bottom path { fill: var(--blue); }
    .benefits .wave-top path { fill: #f4f6f8; }

    .products .wave-top path { fill: #f8f9fa; }

.commitment .section-title { color: #ffffff; }
.commitment .section-tag { background: rgba(255,255,255,0.1); color: #fff; }

.commitment-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; }
.commitment-desc { margin: 1.5rem 0 2rem; color: rgba(255,255,255,0.85); font-size: 1rem; line-height: 1.8; }
.features-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.feature-item { background: var(--bg); border: none; border-radius: var(--radius); padding: 1.25rem 1.5rem; transition: var(--trans); box-shadow: 0 10px 25px rgba(0,0,0,0.2); }
.feature-item:hover { transform: translateY(-3px); box-shadow: 0 15px 30px rgba(0,0,0,0.3); }
.feature-line { width: 28px; height: 3px; background: var(--accent); border-radius: 2px; margin-bottom: .75rem; }
.feature-name { font-family: 'Barlow Condensed', sans-serif; font-weight: 700; font-size: 1rem; color: var(--blue-dark); margin-bottom: .35rem; }
.feature-desc { font-size: .8rem; color: var(--muted); line-height: 1.6; }
.commitment-visual { position: relative; }
.commitment-img-wrap { border-radius: 14px; overflow: hidden; aspect-ratio: 4/5; border: none; box-shadow: 0 15px 40px rgba(0,0,0,0.3); }
.commitment-img-wrap img { width: 100%; height: 100%; object-fit: cover; }
.commitment-badge { position: absolute; bottom: -1.5rem; right: -1.5rem; width: 130px; height: 130px; background: var(--accent); border-radius: 50%; display: flex; flex-direction: column; align-items: center; justify-content: center; color: #fff; font-family: 'Barlow Condensed', sans-serif; text-align: center; font-weight: 700; font-size: .82rem; text-transform: uppercase; letter-spacing: .04em; line-height: 1.35; box-shadow: 0 10px 30px rgba(79,175,79,.3); }
.commitment-badge strong { font-size: 1.8rem; font-weight: 900; display: block; }

/* ─── BLOG ─── */
.blog { 
  padding: 6rem 0; 
  background-color: var(--bg); 
  background-image: linear-gradient(rgba(0,45,146,0.06) 1px, transparent 1px), linear-gradient(90deg, rgba(0,45,146,0.06) 1px, transparent 1px);
  background-size: 40px 40px;
}
.blog-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.blog-card { background: var(--bg); border-radius: 12px; overflow: hidden; border: 1px solid var(--border); transition: var(--trans); }
.blog-card:hover { border-color: var(--accent); transform: translateY(-4px); box-shadow: 0 12px 32px rgba(0,0,0,.06); }
.blog-card-img { width: 100%; height: 260px; overflow: hidden; background: var(--bg-mid); }
.blog-card-img img { width: 100%; height: 100%; object-fit: cover; }
.blog-card-body { padding: 1.75rem; }
.blog-date { font-size: .72rem; color: var(--accent); font-weight: 700; letter-spacing: .1em; text-transform: uppercase; margin-bottom: .6rem; }
.blog-card-title { font-family: 'Barlow Condensed', sans-serif; font-size: 1.35rem; font-weight: 700; color: var(--blue-dark); line-height: 1.3; margin-bottom: .75rem; }
.blog-card-excerpt { font-size: .87rem; color: var(--muted); line-height: 1.7; margin-bottom: 1.25rem; }
.blog-side { display: flex; flex-direction: column; gap: 1rem; }
.blog-mini { background: var(--bg); border-radius: 10px; border: 1px solid var(--border); display: grid; grid-template-columns: 88px 1fr; gap: 1rem; padding: 1rem; transition: var(--trans); }
.blog-mini:hover { border-color: var(--accent); transform: translateX(3px); }
.blog-mini-img { border-radius: 8px; overflow: hidden; width: 88px; height: 76px; background: var(--bg-mid); }
.blog-mini-img img { width: 100%; height: 100%; object-fit: cover; }
.blog-mini-title { font-family: 'Barlow Condensed', sans-serif; font-size: 1rem; font-weight: 700; color: var(--blue-dark); line-height: 1.3; margin-bottom: .3rem; }
.blog-mini-date { font-size: .72rem; color: var(--muted); }

/* ─── CTA BAND ─── */
.cta-band { 
  padding: 3.5rem 0; 
  background-color: var(--blue-dark); 
  position: relative;
  text-align: center; 
  overflow: hidden;
}
.cta-band::before {
  content: '';
  position: absolute;
  inset: -15px; /* Evita bordes blancos por el desenfoque */
  background-image: url('../img/cta.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  filter: blur(8px) brightness(0.35);
  z-index: 0;
}
.cta-band > * {
  position: relative;
  z-index: 1;
}
.cta-band p { color: rgba(255,255,255,.9); font-weight: 500; max-width: 460px; margin: .75rem auto 2rem; }
.cta-band .actions { display: flex; justify-content: center; gap: 1rem; flex-wrap: wrap; }

/* ─── FOOTER ─── */
footer { background: var(--blue-dark); color: #fff; padding: 3rem 0 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 2rem; padding-bottom: 2rem; }
.footer-brand p { font-size: .88rem; color: rgba(255,255,255,.45); margin: 1rem 0 1.5rem; max-width: 280px; line-height: 1.7; }
.footer-socials { display: flex; gap: .6rem; }
.social-btn { width: 36px; height: 36px; border-radius: 6px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.1); display: flex; align-items: center; justify-content: center; font-family: 'Barlow Condensed', sans-serif; font-size: .75rem; font-weight: 700; letter-spacing: .04em; color: rgba(255,255,255,.6); transition: var(--trans); }
.social-btn:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.footer-col h4 { font-family: 'Barlow Condensed', sans-serif; font-size: 1rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #fff; margin-bottom: 1.25rem; padding-bottom: .5rem; border-bottom: 1px solid rgba(255,255,255,.08); }
.footer-links li { margin-bottom: .55rem; }
.footer-links a { font-size: .86rem; color: rgba(255,255,255,.45); transition: var(--trans); }
.footer-links a:hover { color: rgba(255,255,255,.85); padding-left: .3rem; }
.footer-contact-line { margin-bottom: .9rem; }
.footer-contact-label { font-size: .67rem; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; color: var(--accent); margin-bottom: .2rem; }
.footer-contact-line a, .footer-contact-line span { font-size: .86rem; color: rgba(255,255,255,.45); }
.footer-contact-line a:hover { color: rgba(255,255,255,.85); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.07); padding: 1.5rem 0; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem; font-size: .78rem; color: rgba(255,255,255,.3); }
.footer-bottom a { color: rgba(255,255,255,.3); transition: color .2s; }
.footer-bottom a:hover { color: rgba(255,255,255,.7); }
.footer-bottom strong { color: var(--accent); }

/* ─── RESPONSIVE ─── */
@media (max-width: 1024px) {
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .product-card.featured { grid-column: span 2; }
  .benefits-grid { grid-template-columns: repeat(2, 1fr); } .commitment-inner { grid-template-columns: 1fr; gap: 3rem; }
  .commitment-visual { display: none; }
  .blog-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  header { top: 1rem; width: 92%; border-radius: 40px; }
  .nav { padding: 0.5rem 1.25rem; }
  .nav-logo-img { height: 35px; }
  .topbar { display: none; }
  .nav-menu { display: none; flex-direction: column; position: absolute; top: calc(100% + 10px); left: 0; right: 0; background: rgba(255,255,255,0.98); backdrop-filter: blur(12px); border-radius: 20px; padding: 1.5rem; border: 1px solid var(--border); gap: .5rem; box-shadow: 0 12px 32px rgba(0,0,0,.15); }
  .nav-menu.open { display: flex; }
  .nav-dropdown { position: static; transform: none; opacity: 1; pointer-events: all; box-shadow: none; background: var(--bg-soft); border: none; border-radius: 0; padding-left: 1rem; }
  .hamburger { display: flex; }
  
  .stats-band .container { grid-template-columns: repeat(2, 1fr); } .benefits-grid { grid-template-columns: 1fr; } .eco-tags { flex-direction: column; align-items: stretch; } .eco-tag { justify-content: center; }
  .hero { height: 80vh; }
  .hero-content { padding: 0 1.5rem; }
  .footer-grid { grid-template-columns: 1fr; }
}




























