@charset "utf-8";
/* CSS Document */
:root{
  --bg:#0b0f17;
  --card:#0f1624;
  --text:#0b1220;
  --muted:#5b6475;
  --line:#e7eaf0;
  --white:#ffffff;
  --accent:#ef4444;
  --accent2:#111827;
  --shadow: 0 14px 40px rgba(10,20,40,.12);
  --radius: 18px;
  --max: 1120px;
}

*{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, "Apple Color Emoji","Segoe UI Emoji";
  color: var(--text);
  background: #ffffff;
  line-height:1.55;
}

.container{
  width:min(var(--max), calc(100% - 40px));
  margin:0 auto;
}

.skip-link{
  position:absolute; left:-9999px; top:auto;
  width:1px; height:1px; overflow:hidden;
}
.skip-link:focus{
  left:20px; top:20px; width:auto; height:auto;
  background:#fff; padding:10px 12px; border:1px solid var(--line);
  border-radius:10px; z-index:9999;
}

.site-header{
  position:sticky; top:0; z-index:50;
  background: rgba(255,255,255,.8);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner{
  display:flex; align-items:center; justify-content:space-between;
  padding:14px 0;
}
.brand{
  display:flex; align-items:center; gap:10px;
  text-decoration:none; color:var(--text); font-weight:700;
}
.brand-dot{
  width:10px; height:10px; border-radius:50%;
  background: var(--accent);
  box-shadow: 0 0 0 6px rgba(239,68,68,.12);
}
.brand-text{ letter-spacing:.2px; }

.nav{
  display:flex; align-items:center; gap:18px;
}
.nav a{
  color:var(--text);
  text-decoration:none;
  font-weight:600;
  font-size:14px;
}
.nav a:hover{ color: #111; text-decoration:underline; text-underline-offset:4px; }

.nav-toggle{
  display:none;
  background:transparent; border:0; cursor:pointer;
}
.nav-toggle span{
  display:block; width:22px; height:2px; background:#111;
  margin:5px 0; border-radius:2px;
}

.btn{
  display:inline-flex; align-items:center; justify-content:center;
  padding:12px 16px;
  border-radius: 999px;
  background: var(--accent2);
  color: var(--white);
  text-decoration:none;
  font-weight:700;
  border:1px solid var(--accent2);
  box-shadow: var(--shadow);
}
.btn:hover{ filter: brightness(1.05); }
.btn-ghost{
  background:transparent;
  color: var(--accent2);
  border:1px solid var(--line);
  box-shadow:none;
}
.btn-small{ padding:10px 14px; font-size:14px; }

.hero{
  padding:56px 0 30px;

  /* Imagen + overlay + tus gradientes */
  background:
    /* overlay claro para legibilidad */
    linear-gradient(rgba(255,255,255,.82), rgba(255,255,255,.82)),
    /* imagen hero */
    url("../img/hero.webp"),
    /* tus gradientes actuales */
    radial-gradient(900px 420px at 15% 5%, rgba(239,68,68,.10), transparent 55%),
    radial-gradient(700px 420px at 95% 15%, rgba(17,24,39,.07), transparent 60%);

  background-size:
    auto,
    cover,
    auto,
    auto;

  background-position:
    center,
    center,
    center,
    center;

  background-repeat:
    repeat,
    no-repeat,
    no-repeat,
    no-repeat;

  border-bottom: 1px solid var(--line);
}

.hero-grid{
  display:grid;
  grid-template-columns: 1.3fr .7fr;
  gap:24px;
  align-items:start;
}
.pill{
  display:inline-flex;
  padding:6px 10px;
  border:1px solid var(--line);
  border-radius:999px;
  font-weight:700;
  color:#111827;
  background:#fff;
  font-size:12px;
}
.hero h1{
  margin:14px 0 12px;
  font-size: clamp(32px, 3.5vw, 52px);
  line-height:1.05;
  letter-spacing:-.02em;
}
.underline{
  text-decoration: underline;
  text-decoration-thickness: 8px;
  text-decoration-color: rgba(239,68,68,.18);
  text-underline-offset: 5px;
}
      
        .underline  .highlight {
            color: #dc2626;
        }
        


.accent{ color: var(--accent2); }
.lead{
  margin:0 0 18px;
  font-size: clamp(16px, 1.35vw, 19px);
  color:#111827;
}
.hero-cta{ display:flex; gap:12px; flex-wrap:wrap; margin: 12px 0 6px; }
.fineprint{ font-size:12px; color: var(--muted); margin-top:14px; }

.hero-card{
  border:1px solid var(--line);
  border-radius: var(--radius);
  padding:16px;
  background:#fff;
  box-shadow: var(--shadow);
}
.stat{
  padding:12px 12px;
  border-radius: 14px;
  border:1px solid var(--line);
  background: linear-gradient(180deg, #fff, #fafafa);
  margin-bottom:12px;
}
.stat-num{
  font-weight:900;
  font-size:28px;
  letter-spacing:-.02em;
}
.stat-label{ color: var(--muted); font-size:13px; margin-top:2px; }
.note{
  border-top:1px solid var(--line);
  padding-top:12px;
  font-size:13px;
  color:#111827;
}
code{
  background:#f3f4f6;
  padding:2px 6px;
  border-radius:8px;
  border:1px solid #e5e7eb;
}

.section{ padding:56px 0; }
.section-alt{ background:#fafafa; border-top:1px solid var(--line); border-bottom:1px solid var(--line); }
.section-head h2{
  margin:0 0 8px;
  font-size: clamp(22px, 2.2vw, 34px);
  letter-spacing:-.02em;
}
.section-head p{ margin:0 0 24px; color: var(--muted); }
.highlight {
            color: #dc2626;
        }
        


.grid{ display:grid; gap:16px; }
.cards{ grid-template-columns: repeat(3, 1fr); }
.two{ grid-template-columns: 1fr 1fr; }

.card{
  border:1px solid var(--line);
  border-radius: var(--radius);
  padding:16px;
  background:#fff;
  box-shadow: 0 10px 26px rgba(10,20,40,.08);
}
.card-img{
  width: 100%;           /* nunca más grande que el card */
  height: auto;          /* mantiene proporción */
  display: block;        /* elimina espacios raros */
  border-radius: 14px;   /* encaja con el diseño */
  margin-bottom: 12px;   /* separa del texto */
  object-fit: cover;     /* por si algún día limitas altura */
}

.card h3{
  margin:0 0 8px;
  font-size:16px;
  letter-spacing:-.01em;
}
.card p{ margin:0; color: var(--muted); }

.callout{
  margin-top:18px;
  padding:14px 16px;
  border-radius: 16px;
  border:1px solid rgba(239,68,68,.25);
  background: rgba(239,68,68,.05);
  color:#111827;
}

.timeline{
  list-style:none;
  padding:0; margin:0;
  border:1px solid var(--line);
  border-radius: var(--radius);
  background:#fff;
  overflow:hidden;
}
.timeline li{
  display:grid;
  grid-template-columns: 140px 1fr;
  gap:12px;
  padding:16px;
  border-top:1px solid var(--line);
}
.timeline li:first-child{ border-top:0; }
.t-date{ font-weight:900; color:#111827; }
.t-body{ color: var(--muted); }
.t-body strong{ color:#111827; }

.panel{
  border:1px solid var(--line);
  border-radius: var(--radius);
  padding:16px;
  background:#fff;
  box-shadow: 0 10px 26px rgba(10,20,40,.06);
}
.list{ margin:10px 0 0; padding-left:18px; color: var(--muted); }
.list li{ margin:8px 0; }

.faq details{
  border:1px solid var(--line);
  border-radius: 16px;
  background:#fff;
  margin-bottom:12px;
  padding:12px 14px;
}
.faq summary{
  cursor:pointer;
  font-weight:800;
  color:#111827;
}
.faq-body{ margin-top:10px; color: var(--muted); }

.footer{
  padding:26px 0;
  border-top:1px solid var(--line);
  background:#fff;
}
.footer-inner{
  display:flex; gap:14px; justify-content:space-between; align-items:center;
  color: var(--muted);
  font-size:14px;
}
.footer-links{ display:flex; gap:12px; }
.footer a{ color: var(--muted); text-decoration:none; }
.footer a:hover{ text-decoration:underline; text-underline-offset:4px; }

@media (max-width: 980px){
  .hero-grid{ grid-template-columns: 1fr; }
  .cards{ grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px){
  .cards{ grid-template-columns: 1fr; }
  .two{ grid-template-columns: 1fr; }
  .nav{ display:none; }
  .nav-toggle{ display:block; }
  .nav.nav-open{
    display:flex;
    position:absolute;
    right:20px; top:62px;
    flex-direction:column;
    background:#fff;
    border:1px solid var(--line);
    border-radius:16px;
    padding:12px;
    box-shadow: var(--shadow);
    min-width: 220px;
  }
}

@media (max-width: 640px){
  .hero{
    background:
      linear-gradient(rgba(255,255,255,.88), rgba(255,255,255,.88)),
      url("../img/hero.webp"),
      radial-gradient(900px 420px at 15% 5%, rgba(239,68,68,.08), transparent 55%),
      radial-gradient(700px 420px at 95% 15%, rgba(17,24,39,.06), transparent 60%);
  }
}

/* --- Lightbox --- */
.zoomable{
  cursor: zoom-in;
}

.lightbox{
  position: fixed;
  inset: 0;
  display: none;
  z-index: 9999;
}

.lightbox.is-open{
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-backdrop{
  position: absolute;
  inset: 0;
  background: rgba(17,24,39,.65);
  backdrop-filter: blur(6px);
  z-index:0;
}

.lightbox-dialog{
  max-width: min(1100px, calc(100% - 32px));
  margin: 0;
  background: #fff;
  border-radius: 18px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  padding: 14px;
  max-height: calc(100vh - 48px);
  display: flex;
  flex-direction: column;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  position: relative;
  z-index: 1;
  max-height: calc(100vh - 48px);
  overflow: auto;
}



.lightbox-body{
  overflow: auto;
  max-height: calc(100vh - 48px - 70px); /* resta caption/botón */
  border-radius: 14px;
}

.lightbox-img{
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}


.lightbox-caption{
  margin: 10px 2px 0;
  color: var(--muted);
  font-size: 14px;
}

.lightbox-close{
  position: absolute;
  top: 10px;
  right: 10px;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  cursor: pointer;
  font-size: 22px;
  line-height: 1;
}

.lightbox-close:hover{
  filter: brightness(0.98);
}

/* En móvil, que ocupe mejor el alto */
@media (max-width: 640px){
  .lightbox-dialog{
    margin: 12px auto;
    padding: 12px;
  }
}
/* --- Grid de pruebas/documentación (SIN RECORTE) --- */
.proof-grid{
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* 2 por fila en desktop */
  gap: 16px;
  margin-top: 16px;
}

.proof-img{
  width: 100%;
  height: auto;            /* 👈 clave: no forzar altura */
  object-fit: contain;     /* 👈 clave: no recortar */
  border-radius: 14px;
  border: 1px solid var(--line);
  box-shadow: 0 8px 20px rgba(10,20,40,.08);
  cursor: zoom-in;
  background: #fff;
  padding: 6px;            /* marco tipo documento */
}

/* Móvil: 1 por fila */
@media (max-width: 640px){
  .proof-grid{
    grid-template-columns: 1fr;
  }
}
   /* --- Imagen destacada de declaración Daikin --- */
.statement-proof{
  max-width: 900px;          /* controla el tamaño visual */
  margin: 20px auto 0;       /* centrada */
}

.statement-img{
  width: 100%;
  height: auto;
  display: block;
  border-radius: 14px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  background: #fff;
  cursor: zoom-in;
}

