/*
 * biow-landing.css
 * -----------------------------------------------------------------------------
 * Estilos de la landing BIOW (Beauty By Issie) para un tema hijo de GeneratePress.
 *
 * IMPORTANTE: este archivo se encola SOLO en la plantilla "BIOW Landing"
 * (ver snippet wp_enqueue_scripts en functions.php) y DESPUES del CSS de
 * GeneratePress, de modo que sus reglas sobrescriben las del tema padre.
 *
 * NO pegues este contenido en el style.css global del tema hijo: el reset
 * `* { margin:0; padding:0 }` de abajo rompe el resto del sitio si se carga
 * en todas las páginas. Debe quedar aislado a la landing.
 * -----------------------------------------------------------------------------
 */

/* === Neutralizar GeneratePress en la página de la landing ================== *
 * La plantilla es de lienzo completo (sin .site / #page), así que casi nada
 * del tema padre aplica. Estas reglas son por seguridad: si GeneratePress
 * inyecta contenedor, ancho o espaciados, los anulamos para que la landing
 * controle el layout por completo.                                            */
body.biow-landing {
  margin: 0;
  padding: 0;
}
body.biow-landing .site,
body.biow-landing #page,
body.biow-landing .site-content,
body.biow-landing #content,
body.biow-landing .container.grid-container {
  max-width: none;
  width: auto;
  margin: 0;
  padding: 0;
}
/* GeneratePress aplica estilos base a enlaces/botones; los dejamos sin tocar
 * fuera de la landing, pero dentro la landing ya define los suyos con mayor
 * especificidad (.nav-links a, .btn-primary, etc.). */


/* === CSS original de la landing ============================================ */
  *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

  :root {
    --white: #FFFFFF;
    --stone: #F7F7F5;
    --stone-2: #EEEDE9;
    --ink: #1A1A1A;
    --ink-muted: #5A5A5A;
    --teal: #0E7C72;
    --teal-light: #E6F4F2;
    --gold: #C9A96E;
    --gold-light: #F9F3EA;
    --border: #E2E0DA;
    --serif: 'DM Serif Display', Georgia, serif;
    --sans: 'Inter', system-ui, sans-serif;
    --radius: 14px;
    --shadow: 0 4px 24px rgba(0,0,0,0.07);
    --shadow-lg: 0 12px 48px rgba(0,0,0,0.12);
  }

  html { scroll-behavior: smooth; }
  body { font-family: var(--sans); background: var(--white); color: var(--ink); overflow-x: hidden; }

  /* NAV */
  nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    background: rgba(255,255,255,0.92); backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    display: flex; align-items: center; justify-content: space-between;
    padding: 0 5%; height: 68px;
  }
  .nav-logo { font-family: var(--serif); font-size: 1.25rem; color: var(--ink); letter-spacing: -0.02em; }
  .nav-logo span { color: var(--teal); }
  .nav-links { display: flex; gap: 2rem; list-style: none; }
  .nav-links a { font-size: 0.85rem; font-weight: 500; color: var(--ink-muted); text-decoration: none; transition: color .2s; }
  .nav-links a:hover { color: var(--teal); }
  .nav-cta {
    background: var(--ink); color: var(--white); padding: 0.55rem 1.3rem;
    border-radius: 50px; font-size: 0.85rem; font-weight: 500; text-decoration: none;
    transition: background .2s;
  }
  .nav-cta:hover { background: var(--teal); }
  .nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 4px; }
  .nav-toggle span { display: block; width: 22px; height: 2px; background: var(--ink); margin: 5px 0; border-radius: 2px; transition: .3s; }

  /* HERO */
  #hero {
    min-height: 100vh; padding-top: 68px;
    display: flex; align-items: center;
    background: var(--stone);
    position: relative; overflow: hidden;
  }
  .hero-grid {
    width: 90%; max-width: 1200px; margin: 0 auto;
    display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center;
    padding: 6rem 0;
  }
  .hero-eyebrow {
    display: inline-flex; align-items: center; gap: 0.5rem;
    background: var(--teal-light); color: var(--teal);
    padding: 0.35rem 0.9rem; border-radius: 50px;
    font-size: 0.78rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase;
    margin-bottom: 1.5rem;
  }
  .hero-eyebrow::before { content: ''; width: 6px; height: 6px; background: var(--teal); border-radius: 50%; }
  h1 {
    font-family: var(--serif); font-size: clamp(2.8rem, 5vw, 4.2rem); line-height: 1.08;
    color: var(--ink); margin-bottom: 1.5rem; letter-spacing: -0.02em;
  }
  h1 em { font-style: italic; color: var(--teal); }
  .hero-sub { font-size: 1.1rem; color: var(--ink-muted); line-height: 1.7; max-width: 480px; margin-bottom: 2.5rem; }
  .hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
  .btn-primary {
    background: var(--teal); color: var(--white);
    padding: 0.85rem 2rem; border-radius: 50px;
    font-size: 0.95rem; font-weight: 600; text-decoration: none;
    transition: all .2s; display: inline-block; border: none; cursor: pointer; font-family: var(--sans);
  }
  .btn-primary:hover { background: #0a6560; transform: translateY(-1px); box-shadow: 0 6px 20px rgba(14,124,114,0.3); }
  .btn-outline {
    border: 1.5px solid var(--border); color: var(--ink);
    padding: 0.85rem 2rem; border-radius: 50px;
    font-size: 0.95rem; font-weight: 500; text-decoration: none;
    transition: all .2s; display: inline-block;
  }
  .btn-outline:hover { border-color: var(--ink); }
  .hero-trust { display: flex; align-items: center; gap: 1.5rem; margin-top: 2.5rem; flex-wrap: wrap; }
  .trust-item { display: flex; align-items: center; gap: 0.5rem; font-size: 0.8rem; color: var(--ink-muted); }
  .trust-check {
    width: 18px; height: 18px; background: var(--teal); border-radius: 50%;
    display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  }
  .trust-check svg { width: 10px; height: 10px; }
  .hero-visual { position: relative; }
  .hero-device-card {
    background: var(--white); border-radius: 20px;
    padding: 2rem; box-shadow: var(--shadow-lg);
    position: relative; overflow: hidden;
  }
  .hero-device-card::before {
    content: ''; position: absolute; inset: 0;
    background: radial-gradient(circle at 70% 30%, rgba(14,124,114,0.06) 0%, transparent 60%);
    pointer-events: none;
  }
  .device-img-wrap {
    width: 100%; aspect-ratio: 4/3;
    border-radius: 12px; overflow: hidden;
    margin-bottom: 1.5rem; background: var(--stone);
    display: flex; align-items: center; justify-content: center;
  }
  .device-img-wrap img {
    width: 100%; height: 100%; object-fit: contain;
    padding: 1rem;
  }
  .device-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
  .device-stat {
    background: var(--stone); border-radius: 10px; padding: 1rem;
    text-align: center;
  }
  .device-stat strong { display: block; font-family: var(--serif); font-size: 1.6rem; color: var(--teal); }
  .device-stat span { font-size: 0.75rem; color: var(--ink-muted); }

  /* PRESS BAR */
  .press-bar {
    background: var(--white); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
    padding: 1.2rem 5%; display: flex; align-items: center; justify-content: center; gap: 3rem;
    flex-wrap: wrap;
  }
  .press-label { font-size: 0.72rem; color: var(--ink-muted); letter-spacing: 0.1em; text-transform: uppercase; }
  .press-logo { font-family: var(--serif); font-size: 1rem; color: var(--ink-muted); opacity: 0.5; letter-spacing: -0.01em; }

  /* SECTIONS COMMON */
  section { padding: 6rem 5%; }
  .container { max-width: 1100px; margin: 0 auto; }
  .section-eyebrow {
    font-size: 0.75rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
    color: var(--teal); margin-bottom: 1rem; display: block;
  }
  .section-title {
    font-family: var(--serif); font-size: clamp(2rem, 3.5vw, 2.9rem);
    line-height: 1.15; color: var(--ink); margin-bottom: 1rem; letter-spacing: -0.02em;
  }
  .section-lead { font-size: 1.05rem; color: var(--ink-muted); line-height: 1.7; max-width: 640px; }

  /* PROBLEMA */
  #problema { background: var(--ink); color: var(--white); }
  #problema .section-eyebrow { color: var(--gold); }
  #problema .section-title { color: var(--white); }
  #problema .section-lead { color: rgba(255,255,255,0.65); max-width: 560px; }
  .problema-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 3.5rem; }
  .problema-card {
    background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius); padding: 2rem;
  }
  .problema-icon {
    width: 48px; height: 48px; margin-bottom: 1.2rem;
    background: rgba(255,255,255,0.08); border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
  }
  .problema-icon svg { width: 24px; height: 24px; }
  .problema-card h3 { font-family: var(--serif); font-size: 1.2rem; color: var(--white); margin-bottom: 0.7rem; }
  .problema-card p { font-size: 0.9rem; color: rgba(255,255,255,0.55); line-height: 1.65; }

  /* SOLUCIÓN */
  #solucion { background: var(--white); }
  .solucion-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; margin-top: 3rem; }
  .solucion-visual {
    border-radius: 20px; overflow: hidden;
    position: relative; aspect-ratio: 1;
    background: var(--stone);
  }
  .solucion-visual img {
    width: 100%; height: 100%; object-fit: contain;
    padding: 2rem;
  }
  .solucion-badge {
    position: absolute; bottom: 1.5rem; right: 1.5rem;
    background: var(--teal); color: var(--white);
    padding: 0.5rem 1rem; border-radius: 50px;
    font-size: 0.75rem; font-weight: 600;
  }
  .solucion-features { display: flex; flex-direction: column; gap: 1.5rem; margin-top: 2rem; }
  .solucion-feature { display: flex; gap: 1rem; align-items: flex-start; }
  .feature-icon {
    width: 44px; height: 44px; background: var(--teal-light);
    border-radius: 10px; display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
  }
  .feature-icon svg { width: 20px; height: 20px; }
  .feature-text h4 { font-weight: 600; margin-bottom: 0.3rem; font-size: 0.95rem; }
  .feature-text p { font-size: 0.875rem; color: var(--ink-muted); line-height: 1.6; }

  /* CIENCIA */
  #ciencia { background: var(--stone); }
  .ciencia-header { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 2rem; margin-bottom: 3.5rem; }
  .ciencia-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
  .ciencia-card {
    background: var(--white); border-radius: var(--radius); padding: 2rem;
    border: 1px solid var(--border); transition: box-shadow .2s, transform .2s;
  }
  .ciencia-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
  .ciencia-inst { font-size: 0.7rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold); margin-bottom: 1rem; }
  .ciencia-card h3 { font-family: var(--serif); font-size: 1.15rem; color: var(--ink); margin-bottom: 0.8rem; }
  .ciencia-card p { font-size: 0.875rem; color: var(--ink-muted); line-height: 1.65; }
  .ciencia-stat { margin-top: 1.5rem; padding-top: 1.5rem; border-top: 1px solid var(--border); }
  .ciencia-stat strong { font-family: var(--serif); font-size: 1.8rem; color: var(--teal); display: block; }
  .ciencia-stat span { font-size: 0.78rem; color: var(--ink-muted); }
  .pub-bar {
    margin-top: 3rem; padding: 1.5rem 2rem;
    background: var(--teal-light); border-radius: var(--radius);
    display: flex; align-items: center; gap: 2rem; flex-wrap: wrap;
  }
  .pub-bar-icon { width: 20px; height: 20px; flex-shrink: 0; }
  .pub-bar-text { font-size: 0.9rem; color: var(--teal); font-weight: 500; flex: 1; }
  .pub-journals { display: flex; gap: 1rem; flex-wrap: wrap; }
  .pub-journal {
    background: var(--white); border-radius: 6px; padding: 0.4rem 0.8rem;
    font-size: 0.75rem; font-weight: 600; color: var(--ink-muted);
  }

  /* HÁBITATS */
  #habitats { background: var(--ink); overflow: hidden; position: relative; padding: 6rem 5%; }
  .habitat-scene {
    position: absolute; inset: 0; opacity: 0;
    transition: opacity 0.8s ease; pointer-events: none;
  }
  .habitat-scene.active { opacity: 1; }
  .habitat-scene.campo { background: radial-gradient(ellipse at 50% 80%, rgba(134,179,78,0.18) 0%, transparent 65%); }
  .habitat-scene.mar { background: radial-gradient(ellipse at 50% 80%, rgba(14,124,180,0.22) 0%, transparent 65%); }
  .habitat-scene.olas { background: radial-gradient(ellipse at 50% 80%, rgba(66,153,186,0.18) 0%, transparent 65%); }
  .habitat-scene.montana { background: radial-gradient(ellipse at 50% 80%, rgba(150,160,170,0.18) 0%, transparent 65%); }
  #habitats .section-eyebrow { color: var(--gold); }
  #habitats .section-title { color: var(--white); }
  .hab-tabs { display: flex; gap: 0.5rem; margin-top: 2.5rem; flex-wrap: wrap; }
  .hab-tab {
    padding: 0.6rem 1.4rem; border-radius: 50px;
    border: 1.5px solid rgba(255,255,255,0.2); background: transparent;
    color: rgba(255,255,255,0.5); font-size: 0.85rem; font-weight: 500;
    cursor: pointer; transition: all .25s; font-family: var(--sans);
  }
  .hab-tab.active { background: var(--white); color: var(--ink); border-color: var(--white); }
  .hab-tab:hover:not(.active) { border-color: rgba(255,255,255,0.5); color: rgba(255,255,255,0.8); }
  .hab-content { margin-top: 3rem; display: none; }
  .hab-content.active {
    display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center;
    animation: fadeIn 0.5s ease;
  }
  @keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
  .hab-text h2 { font-family: var(--serif); font-size: 2.5rem; color: var(--white); margin-bottom: 1.2rem; }
  .hab-text p { color: rgba(255,255,255,0.6); line-height: 1.75; font-size: 1rem; margin-bottom: 1.5rem; }
  .hab-benefit {
    display: flex; align-items: center; gap: 0.7rem;
    font-size: 0.875rem; color: rgba(255,255,255,0.7); margin-bottom: 0.6rem;
  }
  .hab-benefit-dot {
    width: 6px; height: 6px; background: var(--gold);
    border-radius: 50%; flex-shrink: 0;
  }
  .hab-visual {
    border-radius: 20px; overflow: hidden;
    aspect-ratio: 1; position: relative;
    border: 1px solid rgba(255,255,255,0.1);
  }
  .hab-visual img {
    width: 100%; height: 100%; object-fit: cover;
    display: block;
  }
  .hab-visual-fallback {
    width: 100%; height: 100%;
    display: flex; align-items: center; justify-content: center;
    background: rgba(255,255,255,0.06);
  }
  .hab-visual-fallback svg { width: 80px; height: 80px; opacity: 0.3; }
  .hab-mood {
    position: absolute; bottom: 1.5rem; left: 1.5rem; right: 1.5rem;
    background: rgba(10,10,10,0.7); backdrop-filter: blur(8px);
    border-radius: 10px; padding: 1rem;
    display: flex; justify-content: space-between; align-items: center;
  }
  .hab-mood-label { font-size: 0.72rem; color: rgba(255,255,255,0.5); margin-bottom: 2px; }
  .hab-mood-val { font-family: var(--serif); font-size: 0.95rem; color: var(--white); }

  /* DISPOSITIVOS */
  #dispositivos { background: var(--white); }
  .disp-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; margin-top: 3rem; }
  .disp-card {
    border: 1.5px solid var(--border); border-radius: 20px; overflow: hidden;
    transition: box-shadow .2s;
  }
  .disp-card:hover { box-shadow: var(--shadow-lg); }
  .disp-card-header {
    background: var(--stone); padding: 2.5rem 2rem; text-align: center;
    position: relative; overflow: hidden;
  }
  .disp-card-header img {
    width: auto; height: 180px; object-fit: contain; display: block; margin: 0 auto;
  }
  .disp-badge {
    position: absolute; top: 1rem; right: 1rem;
    background: var(--teal); color: var(--white);
    padding: 0.3rem 0.7rem; border-radius: 4px; font-size: 0.7rem; font-weight: 600;
  }
  .disp-card-body { padding: 2rem; }
  .disp-card h3 { font-family: var(--serif); font-size: 1.5rem; margin-bottom: 0.4rem; }
  .disp-card .model { font-size: 0.75rem; color: var(--ink-muted); margin-bottom: 1.5rem; }
  .spec-row { display: flex; justify-content: space-between; padding: 0.65rem 0; border-bottom: 1px solid var(--border); font-size: 0.85rem; }
  .spec-row:last-child { border-bottom: none; }
  .spec-key { color: var(--ink-muted); }
  .spec-val { font-weight: 500; }
  .disp-card-cta { margin-top: 1.5rem; }

  /* GARANTIAS */
  #garantias { background: var(--gold-light); }
  .garantias-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; margin-top: 3rem; }
  .garantia-item { text-align: center; padding: 2rem 1rem; }
  .garantia-icon {
    width: 56px; height: 56px; margin: 0 auto 1.2rem;
    background: rgba(201,169,110,0.18); border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
  }
  .garantia-icon svg { width: 26px; height: 26px; }
  .garantia-item h4 { font-weight: 600; margin-bottom: 0.4rem; font-size: 0.95rem; }
  .garantia-item p { font-size: 0.82rem; color: var(--ink-muted); line-height: 1.5; }

  /* FAQ */
  #faq { background: var(--white); }
  .faq-cols { display: grid; grid-template-columns: 1fr 2fr; gap: 5rem; margin-top: 3rem; }
  .faq-list { display: flex; flex-direction: column; gap: 0; }
  .faq-item { border-bottom: 1px solid var(--border); }
  .faq-q {
    display: flex; justify-content: space-between; align-items: center;
    padding: 1.2rem 0; cursor: pointer; font-weight: 500; font-size: 0.95rem;
    user-select: none; gap: 1rem;
  }
  .faq-icon {
    width: 28px; height: 28px; border: 1.5px solid var(--border); border-radius: 50%;
    display: flex; align-items: center; justify-content: center; flex-shrink: 0;
    transition: all .3s; color: var(--teal);
  }
  .faq-icon svg { width: 12px; height: 12px; transition: transform .3s; }
  .faq-a { font-size: 0.875rem; color: var(--ink-muted); line-height: 1.7; padding-bottom: 1.2rem; display: none; }
  .faq-item.open .faq-icon { background: var(--teal); border-color: var(--teal); color: white; }
  .faq-item.open .faq-icon svg { transform: rotate(45deg); }
  .faq-item.open .faq-a { display: block; }

  /* CTA FINAL */
  #cta-final {
    background: var(--teal); color: var(--white);
    text-align: center; padding: 7rem 5%;
  }
  #cta-final .section-title { color: var(--white); max-width: 600px; margin: 0.5rem auto 1.5rem; }
  #cta-final .section-lead { color: rgba(255,255,255,0.75); margin: 0 auto 2.5rem; }
  .cta-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
  .btn-white {
    background: var(--white); color: var(--teal);
    padding: 0.9rem 2.2rem; border-radius: 50px;
    font-weight: 600; font-size: 0.95rem; text-decoration: none;
    transition: all .2s;
  }
  .btn-white:hover { background: var(--ink); color: var(--white); }
  .btn-outline-white {
    border: 1.5px solid rgba(255,255,255,0.5); color: var(--white);
    padding: 0.9rem 2.2rem; border-radius: 50px;
    font-weight: 500; font-size: 0.95rem; text-decoration: none;
    transition: all .2s; display: flex; align-items: center; gap: 0.5rem;
    cursor: pointer; background: transparent; font-family: var(--sans);
  }
  .btn-outline-white:hover { border-color: var(--white); }
  .btn-outline-white svg { width: 16px; height: 16px; }

  /* FOOTER */
  footer {
    background: var(--ink); color: rgba(255,255,255,0.4);
    padding: 2rem 5%; display: flex; justify-content: space-between; align-items: center;
    flex-wrap: wrap; gap: 1rem; font-size: 0.8rem;
  }
  footer strong { color: rgba(255,255,255,0.8); }
  .footer-links { display: flex; gap: 1.5rem; }
  .footer-links a { color: rgba(255,255,255,0.4); text-decoration: none; }
  .footer-links a:hover { color: var(--white); }

  /* MODAL */
  .modal-overlay {
    position: fixed; inset: 0; background: rgba(0,0,0,0.5);
    z-index: 1000; display: none; align-items: center; justify-content: center;
    backdrop-filter: blur(4px);
  }
  .modal-overlay.open { display: flex; }
  .modal-box {
    background: var(--white); border-radius: 20px; padding: 2.5rem;
    width: 90%; max-width: 480px; position: relative; box-shadow: var(--shadow-lg);
    animation: slideUp .3s ease;
  }
  @keyframes slideUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: none; } }
  .modal-close {
    position: absolute; top: 1.2rem; right: 1.2rem;
    background: var(--stone); border: none; width: 32px; height: 32px;
    border-radius: 50%; cursor: pointer; font-size: 1.1rem; display: flex;
    align-items: center; justify-content: center; transition: background .2s;
    color: var(--ink);
  }
  .modal-close:hover { background: var(--border); }
  .modal-box h3 { font-family: var(--serif); font-size: 1.5rem; margin-bottom: 0.5rem; }
  .modal-box p { font-size: 0.875rem; color: var(--ink-muted); margin-bottom: 1.8rem; }
  .form-field { margin-bottom: 1.2rem; }
  .form-field label { display: block; font-size: 0.8rem; font-weight: 600; margin-bottom: 0.4rem; }
  .form-field input, .form-field select, .form-field textarea {
    width: 100%; padding: 0.75rem 1rem; border: 1.5px solid var(--border);
    border-radius: 10px; font-family: var(--sans); font-size: 0.9rem;
    transition: border-color .2s; background: var(--stone); color: var(--ink);
  }
  .form-field input:focus, .form-field select:focus, .form-field textarea:focus {
    outline: none; border-color: var(--teal); background: var(--white);
  }
  .form-field textarea { resize: vertical; min-height: 90px; }
  .form-submit {
    width: 100%; background: var(--teal); color: var(--white);
    border: none; padding: 0.9rem; border-radius: 10px;
    font-family: var(--sans); font-size: 0.95rem; font-weight: 600;
    cursor: pointer; transition: background .2s;
  }
  .form-submit:hover { background: #0a6560; }

  /* CHAT */
  #chat-btn {
    position: fixed; bottom: 2rem; right: 2rem; z-index: 500;
    width: 60px; height: 60px; border-radius: 50%;
    background: var(--teal); color: var(--white);
    border: none; cursor: pointer;
    box-shadow: 0 4px 20px rgba(14,124,114,0.4);
    transition: transform .2s, box-shadow .2s;
    display: flex; align-items: center; justify-content: center;
  }
  #chat-btn svg { width: 26px; height: 26px; }
  #chat-btn:hover { transform: scale(1.08); box-shadow: 0 6px 28px rgba(14,124,114,0.5); }
  .chat-notification {
    position: absolute; top: -4px; right: -4px;
    width: 18px; height: 18px; background: var(--gold);
    border-radius: 50%; border: 2px solid var(--white);
    display: flex; align-items: center; justify-content: center;
    font-size: 0.6rem; font-weight: 700; color: var(--ink);
  }
  #chat-window {
    position: fixed; bottom: 6rem; right: 2rem; z-index: 500;
    width: 380px; height: 520px;
    background: var(--white); border-radius: 20px;
    box-shadow: var(--shadow-lg); border: 1px solid var(--border);
    display: none; flex-direction: column; overflow: hidden;
    animation: slideUp .3s ease;
  }
  #chat-window.open { display: flex; }
  .chat-header {
    background: var(--teal); color: var(--white);
    padding: 1rem 1.2rem; display: flex; align-items: center; gap: 0.8rem;
  }
  .chat-avatar {
    width: 36px; height: 36px; background: rgba(255,255,255,0.15);
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    overflow: hidden; flex-shrink: 0;
  }
  .chat-avatar img { width: 100%; height: 100%; object-fit: cover; }
  .chat-avatar svg { width: 20px; height: 20px; }
  .chat-header-text h4 { font-size: 0.9rem; font-weight: 600; }
  .chat-header-text p { font-size: 0.73rem; opacity: 0.8; }
  .chat-status { width: 8px; height: 8px; background: #7EE8A2; border-radius: 50%; margin-left: auto; flex-shrink: 0; }
  .chat-messages { flex: 1; overflow-y: auto; padding: 1rem; display: flex; flex-direction: column; gap: 0.8rem; }
  .chat-msg { max-width: 80%; padding: 0.75rem 1rem; border-radius: 16px; font-size: 0.85rem; line-height: 1.5; }
  .chat-msg.bot { background: var(--stone); color: var(--ink); align-self: flex-start; border-bottom-left-radius: 4px; }
  .chat-msg.user { background: var(--teal); color: var(--white); align-self: flex-end; border-bottom-right-radius: 4px; }
  .chat-msg.typing { opacity: 0.6; }
  .chat-quick-btns { padding: 0.5rem 1rem; display: flex; gap: 0.4rem; flex-wrap: wrap; }
  .chat-quick-btn {
    border: 1px solid var(--border); background: var(--white);
    padding: 0.35rem 0.8rem; border-radius: 50px; font-size: 0.75rem;
    cursor: pointer; transition: all .2s; font-family: var(--sans); color: var(--ink);
  }
  .chat-quick-btn:hover { background: var(--teal-light); border-color: var(--teal); color: var(--teal); }
  .chat-input-row {
    padding: 0.8rem; border-top: 1px solid var(--border);
    display: flex; gap: 0.5rem;
  }
  #chat-input {
    flex: 1; border: 1.5px solid var(--border); border-radius: 20px;
    padding: 0.55rem 1rem; font-family: var(--sans); font-size: 0.85rem;
    outline: none; transition: border-color .2s; color: var(--ink);
  }
  #chat-input:focus { border-color: var(--teal); }
  #chat-send {
    width: 38px; height: 38px; background: var(--teal); color: var(--white);
    border: none; border-radius: 50%; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    transition: background .2s; flex-shrink: 0;
  }
  #chat-send svg { width: 16px; height: 16px; }
  #chat-send:hover { background: #0a6560; }

  /* RESPONSIVE */
  @media (max-width: 900px) {
    .hero-grid, .solucion-grid, .hab-content.active, .faq-cols, .disp-grid { grid-template-columns: 1fr; }
    .problema-grid, .ciencia-grid { grid-template-columns: 1fr; }
    .garantias-grid { grid-template-columns: 1fr 1fr; }
    .nav-links { display: none; }
    .nav-toggle { display: block; }
    nav.open .nav-links {
      display: flex; flex-direction: column; position: absolute;
      top: 68px; left: 0; right: 0; background: var(--white);
      padding: 1.5rem 5%; border-bottom: 1px solid var(--border);
    }
    #chat-window { width: calc(100vw - 2rem); right: 1rem; bottom: 5.5rem; }
    .hero-visual { display: none; }
  }
  @media (max-width: 600px) {
    .garantias-grid { grid-template-columns: 1fr; }
    h1 { font-size: 2.4rem; }
    .press-bar { gap: 1.5rem; }
  }

  /* Scroll reveal */
  .reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
  .reveal.visible { opacity: 1; transform: none; }
