/* ---------- Variables & reset mínimo ---------- */
:root{
  --ink: #0a0a0a;
  --ink-80: rgba(10,10,10,.8);
  --bg: #ffffff;
  --g-50:#fafafa;
  --g-100:#f4f4f5;   /* zinc-100 aprox */
  --g-200:#e4e4e7;   /* zinc-200 aprox */
  --g-300:#d4d4d8;   /* zinc-300 aprox */
  --border:#e9e9ec;
  --container-pad: 16px;
  --container-pad-md: 24px;
  --container-pad-lg: 40px;
  --maxw: 1200px;
--font-bodoni: 'Bodoni Moda', serif; 
--font-montserrat: 'Montserrat', sans-serif; 
--font-bodoni-bold: 'Bodoni Moda', bold;
}
*{ box-sizing: border-box; }
html{ scroll-behavior:smooth; }
body{
  margin:0;
  background: var(--bg);
  color: var(--ink);
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Inter, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.container{
  max-width: var(--maxw);
  padding-inline: var(--container-pad);
  margin-inline: auto;
}
.white{
  color: var(--bg);
}
.white h1{ color: var(--bg);}
.white p{ color: var(--bg);}
.desktopvideo{
  display: none;
   max-width: var(--maxw);
  padding-inline: var(--container-pad);
  margin-inline: auto;
  align-items: center; justify-content: center;
}
.mobilevideo{
  display: flex;
   max-width: var(--maxw);
  padding-inline: var(--container-pad);
  margin-inline: auto;
   display: flex; align-items: center; justify-content: center;
   max-height: 90vh;
}


@media (min-width:768px){
  .container{ padding-inline: var(--container-pad-md); }
  .desktopvideo{
    display: flex;
  }
  .mobilevideo{
    display: none;
  }
}
@media (min-width:1024px){
  .container{ padding-inline: var(--container-pad-lg);}
  .desktopvideo{
    display: flex;
  }
  .mobilevideo{
    display: none;
  }
}

/* ---------- Header sticky con blur (LIMPIO) ---------- */
.site-header{
  position: sticky; top: 0; z-index: 1000;
  background: rgba(255, 255, 255, 0);
  backdrop-filter: blur(0px);
   padding-top: 0;
  padding: 0;
  border-radius: none;
  box-shadow: 5px 5px 50px rgba(0, 0, 0, 0.0);
  pointer-events: auto;
  z-index: 1000;
}
.site-header-alfa{
  position: sticky; top: 0; z-index: 1000;
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(15px);
  border-bottom: 1px solid var(--border);
  padding-top: 0;
  padding: auto;
  border-radius: none;
  box-shadow: 5px 5px 50px rgba(0, 0, 0, 0.6);
  pointer-events: auto;
}
.logoblanco img {
  height: 4vh; /* Ajusta según diseño */
  width: auto;
  display: none;
  padding-left: 10px;
}
.logonegro img {
  height: 4vh; /* Ajusta según diseño */
  width: auto;
  display: block;
  padding-left: 10px;

}

.nav{
  height:56px;
  display:flex; align-items:center; justify-content:space-between;
  text-decoration: none;
}
.nav-alfa{
    height:56px;
  display:flex; align-items:center; justify-content:space-between;
  text-decoration: none;
}
h1{
  font-family: var(--font-bodoni);
  font-weight: 400;
  font-size: 28px;
  margin: 0;
  padding-left: 10px;
}
@media (min-width:768px){ .nav{ height:64px; 
}
.site-header{ border-radius: 9999px; } }

.nav-links{
  /* base: desktop lo redefine abajo; mobile se redefine en media query */
  gap:24px; align-items:center;
  
}

.nav-links a{
  color: var(--g-100);
  text-decoration:none;
  font-weight:500;
  font-size:18px;
  display:inline-flex; align-items:center; gap:8px;
  padding:6px 8px; border-radius:8px;
  opacity:.9; transition:opacity .2s ease, background .2s ease, color .25s ease;
}
.nav-links-alfa a{
  color: var(--ink);
  text-decoration:none;
  font-weight:500;
  font-size:18px;
  display:inline-flex; align-items:center; gap:8px;
  padding:6px 8px; border-radius:8px;
  opacity:.9; transition:opacity .2s ease, background .2s ease, color .25s ease;
}
.nav-links a:hover{ opacity:1; background: var(--g-50); }

.icon{ width:16px; height:16px; stroke:currentColor; stroke-width:2; fill:none; }
.icon--sm{ width:12px; height:12px; }

/* ---------- Placeholders grises (wireframe) ---------- */
.ph{
  width: var(--w, 100px);
  height: var(--h, 16px);
  background: var(--g-200);
  border-radius: 6px;
  font-family: var(--font-montserrat);}
.ph-surface{
  width: var(--w, 100%);
  height: var(--h, auto);
  background: var(--g-100);
  border:1px solid var(--g-200);
  border-radius: 16px;}
 .ph-3 { 
  display: flex;
  max-width: 100%;
  padding: 5px;
  border-radius: 6px; 
  font-family: var(--font-montserrat);
  

}


/* ---------- Hero ---------- */
.section-hero{
  min-height: 90vh;
  display:flex; align-items:center;
}
.hero-grid{
  padding: 0%;
  display:grid; gap:40px; padding-block: 64px;
  grid-template-columns: 1fr;
}
@media (min-width:768px){
  .hero-grid{ grid-template-columns: repeat(12, 1fr); }
}
.hero-copy{ grid-column: 1 / -1; align-self:center; }
.hero-media{ grid-column: 1 / -1; }
@media (min-width:768px){
  .hero-copy{ grid-column: span 6; }
  .hero-media{ grid-column: span 6; }
}
.hero-title{ margin:0; }
.hero-sub{ margin-top:24px; max-width: 640px; }
.cta-row{ margin-top:32px; display:flex; flex-wrap:wrap; gap:12px; }
.btn-ghost{
  display:inline-flex; align-items:center; justify-content:center;
  padding:12px 24px; border:1px solid var(--g-300);
  background:#fff; border-radius:12px; transition: background .25s ease;
}
.btn-ghost:hover{ background:#f8f8f8; }
.media{
  width:100%;
  aspect-ratio: 4/5;
  border-radius: 20px;
  border:1px solid var(--g-200);
  background: var(--g-100);
}

/* ---------- Secciones genéricas ---------- */
.section{ padding-block: 64px; border-top:1px solid var(--border); }
.section-products{ padding-block: 64px; border-top:1px solid var(--border); }
@media (min-width:768px){
  .section, .section-products{ padding-block: 96px; }
}

/* ---------- Head de sección ---------- */
.section-head{ margin-bottom: 40px; }
@media (min-width:768px){ .section-head{ margin-bottom: 56px; } }

/* ---------- Grid de cards ---------- */
.cards{
  display:grid; gap: 32px;
  grid-template-columns: 1fr;
}
@media (min-width:640px){
  .cards{ grid-template-columns: repeat(2, 1fr); }
}
@media (min-width:1024px){
  .cards{ grid-template-columns: repeat(3, 1fr); gap: 40px; }
}
.card{
  display:flex; flex-direction:column;
}
.card-media{
  width:100%;
  aspect-ratio: 4/5;
  border-radius: 16px;
  border:1px solid var(--g-200);
  background: var(--g-100);
  margin-bottom: 16px;
}
.card-media img{
  width:100%;
  aspect-ratio: 4/5;
  border-radius: 16px;
  border:1px solid var(--g-200);
  background: var(--g-100);
  margin-bottom: 16px;
  
}
.card-media img:hover{
  transform: scale(1.05);
  transition: transform .3s ease;
  cursor: pointer;
}
.card-foot{
  display:flex; align-items:center; justify-content:space-between;
}

/* ---------- Editorial split ---------- */
.editorial{
  display:grid; gap:40px; align-items:center;
  grid-template-columns: 1fr;
}
@media (min-width:768px){
  .editorial{ grid-template-columns: 7fr 5fr; }
}
.editorial-media .ph-surface{
  width:100%;
  aspect-ratio: 16 / 10;
  border-radius: 20px;
  border:1px solid var(--g-200);
  background: var(--g-100);
}
@media (min-width:768px){
  .editorial-media .ph-surface{ aspect-ratio: 5 / 3; }
}

/* ---------- Footer ---------- */
.site-footer{
  padding-block: 48px;
  border-top:1px solid var(--border);
  
}
.footer-grid{
  display:grid; gap:32px;
  grid-template-columns: repeat(2, 1fr);
}
@media (min-width:768px){
  .footer-grid{ grid-template-columns: repeat(4, 1fr);
 }
}
.stack{ display:flex; flex-direction:column; gap:12px; }
.stack-3{
  gap:8px;
  width: 32%;
  padding: 0%;
 }

/* ======== ADD-ONS ======== */
.h-serif{ font-family:"Cormorant Garamond", serif; }
.x-hero-full{ .x-hero-bg{ position:absolute; inset:0; overflow:hidden; } }
.x-hero-bg{ position:absolute; inset:0; overflow:hidden; }
.x-hero-img{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; transform:translateZ(0); will-change:transform; }
.x-hero-overlay{ position:absolute; inset:0; background:linear-gradient(to bottom, rgba(0,0,0,.22), rgba(0,0,0,.36)); }
.x-hero-frame{ position:absolute; inset:16px; border-radius:16px; border:1px solid rgba(255,255,255,.35); box-shadow: inset 0 0 120px rgba(0,0,0,.35); pointer-events:none; }
.x-hero-inner{ position:relative; z-index:2; color:#fff; text-align:center; padding:88px 16px 56px; width:100%; }
@media (min-width:768px){ .x-hero-frame{ inset:24px } .x-hero-inner{ padding:120px 0 } }

.x-eyebrow{ font-size:12px; letter-spacing:.22em; opacity:.9; margin-bottom:16px; }
.x-title{ font-size:34px; line-height:1.05; margin:0 0 10px; }
@media (min-width:768px){ .x-title{ font-size:72px } }
.x-sub{ font-size:12px; letter-spacing:.16em; opacity:.95; margin:0 auto 22px; max-width:720px; }
.x-stamp{ margin-top:8px; font-size:26px; opacity:.9; }
@media (min-width:768px){ .x-stamp{ font-size:56px } }

.btn-glass{
  border-color: rgba(255,255,255,.55);
  background: rgba(255,255,255,.24);
  color:#fff;
  backdrop-filter: blur(8px);
  cursor: pointer;
  font-family: var(--font-montserrat);
  font-size: 1rem;
  
}
.information{
  font-size: 0.9rem;
  color: var(--ink-80);
  margin-top: 8px;
  font-family: var(--font-montserrat);
}
.btn-glass:hover{ background: rgba(255,255,255,.34); }

/* Reveal */
.reveal{ opacity:0; transform:translateY(18px); transition:opacity .8s ease, transform .8s ease; }
.reveal.in{ opacity:1; transform:translateY(0); }

/* ===== Hamburguesa (icono) ===== */
.burger{
  --size: 28px;
  display:grid; place-items:center; gap:5px;
  width:var(--size); height:var(--size);
  border:none; background:transparent; cursor:pointer; padding:0;
}
.burger:hover{ background: rgba(0,0,0,.04); border-radius: 8px; }
.burger span{
  display:block; width:18px; height:2px; background:var(--ink);
  border-radius:2px;
  transition: transform .35s cubic-bezier(.22,1,.36,1), opacity .25s ease, width .25s ease;
  transform-origin:center;
}
/* Cambiar a “X” cuando el header está abierto */
.site-header[data-menu="open"] .burger span:nth-child(1){ transform: translateY(6px) rotate(45deg); width:18px; }
.site-header[data-menu="open"] .burger span:nth-child(2){ opacity:0; }
.site-header[data-menu="open"] .burger span:nth-child(3){ transform: translateY(-6px) rotate(-45deg); width:18px; }

/* ===== Overlay del menú (mobile) ===== */
@media (max-width: 767.98px){
  /* Nav horizontal oculto de base; el overlay lo re‑declara abajo */
  .nav-links{ display: grid; } /* será controlado por estilos de overlay */

  .nav-links{
    position: fixed;
    inset: 0;
    padding: 88px 20px 32px;
    grid-auto-rows: min-content;
    gap: 14px;
   backdrop-filter: blur(10px) saturate(120%);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity .28s ease, transform .28s ease;
    
  }
  .nav-links a{
    font-size: clamp(18px, 4.2vw, 28px);
    letter-spacing: .06em;
    padding: 10px 12px;
    border-radius: 10px;
    color: var(--ink);
    background: var(--bg);
  }
  .nav-links a:hover{ background: rgba(0,0,0,.04); }

  .site-header[data-menu="open"] .nav-links{
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
    
  }

  body.menu-open{ overflow: hidden; }
  .site-header{ z-index: 1000; }
  
}

/* ===== Escritorio ===== */
@media (min-width: 768px){
  .burger{ display:none; }
  .nav-links{
    position: static; inset: auto; opacity:1; transform:none; pointer-events:auto;
    display:flex; gap:24px; padding:0; background:transparent; backdrop-filter:none;
  }
  .nav-links a{ font-size:18px; }
}

/* Preferencias de movimiento reducido */
@media (prefers-reduced-motion: reduce){
  .burger span, .nav-links{ transition:none !important; }
}

.brand {
    display: inline-flex; align-items: center; gap: 8px;
    font-size: 20px; font-weight: 600; color: var(--ink);
}

.btn {
    display: inline-flex; align-items: center; justify-content: center;
    padding: 12px 24px; border-radius: 8px; font-weight: 500;
    text-decoration: none; color: var(--ink);
    background: var(--g-100); border: 1px solid var(--g-200);
    transition: background .25s ease, color .25s ease;
    cursor: pointer;
}

.center {
    display: flex; align-items: center; justify-content: center;
}

.img-lg {
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 16px;
    border: 1px solid var(--g-200);
    background: var(--g-100);
}

.img-tall {
    width: 100%;
    aspect-ratio: 9 / 16;
    border-radius: 16px;
    border: 1px solid var(--g-200);
    background: var(--g-100);
}

.muted {
    color: var(--ink-80);
}

.row {
    display: flex; flex-wrap: wrap; gap: 16px;
    align-items: center; justify-content: center;}

.row-2 {
    flex-direction: row; gap: 24px;
}

.row-3{
    flex-direction: row; gap: 32px;
}

.sub {
    font-size: 16px; color: var(--ink-80);
    font-family: var(--font-montserrat);
}

.title {
    font-size: 24px; font-weight: 600; margin: 0;
    font-family: var(--font-montserrat);
}
.footer {
  background: #f8f8f8;
  padding: 60px 20px 30px;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  color: #333;
  text-decoration: none;
}

.footer-container {
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 40px;
}

.footer-column h4 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 15px;
  color: #111;
}

.footer-column ul {
  list-style: none;
  padding: 0;
}

.footer-column ul li {
  margin-bottom: 10px;
}

.footer-column ul li a {
  text-decoration: none;
  color: #666;
  font-size: 14px;
  transition: color 0.3s;
}

.footer-column ul li a:hover {
  color: #000;
}

.footer-bottom {
  margin-top: 40px;
  text-align: center;
  font-size: 13px;
  color: #777;
}

.footer-bottom a {
  color: #555;
  text-decoration: none;
  margin: 0 5px;
}

.footer-bottom a:hover {
  color: #000;
}
/* ===== Grid base reutilizable ===== */
.grid{ display:grid; gap: var(--gap, 24px); }

/* Columnas por defecto para mobile*/
.cols-1{ grid-template-columns: 1fr; }
.cols-2{ grid-template-columns: repeat(2, 1fr); }
.cols-3{ grid-template-columns: repeat(3, 1fr); }

/* Breakpoints (ajusta si usas otros) */
@media (min-width:640px){  /* sm  small para tablets*/
  .sm-cols-1{ grid-template-columns: 1fr; }
  .sm-cols-2{ grid-template-columns: repeat(2, 1fr); }
  .sm-cols-3{ grid-template-columns: repeat(3, 1fr); }
}
@media (min-width:1024px){ /* lg large para desktop */
  .lg-cols-1{ grid-template-columns: 1fr; }
  .lg-cols-2{ grid-template-columns: repeat(2, 1fr); }
  .lg-cols-3{ grid-template-columns: repeat(3, 1fr); }
}

/* Extras útiles */
.cols-auto{ grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); } /*Crea tantas columnas como quepan automáticamente.*/
.full-bleed{ grid-column: 1 / -1; } /*El ítem ocupa todas las columnas del grid (de borde a borde).*/
.col-span-2{ grid-column: span 2; } /*El ítem ocupa 2 columnas (del número de columnas actuales).*/
    

/* ===== Botón flotante de WhatsApp ===== */
      .whatsapp-button {
        position: fixed;
        bottom: 200px;
        left: 30px;
        z-index: 999;
        width: 60px;
       height: 60px;
        text-align: center;
       font-size: 30px;
       opacity: 1;
    transition: opacity 0.1s ease-in-out;
      }
      .whatsapp-button:hover {
        text-decoration: none;
        opacity: 0.5;
        transition: opacity .1s ease-in;
        
        
      }
      
      .whatsapp-button img {
        width: 45px;
        height: 45px;
        margin-top: 125px;
        background-image: url('https://www.clinicadianadussan.com/wp-content/uploads/2023/02/whatsapp.png');
        background-repeat: no-repeat;
        background-size: 100%;
        transition: cubic-bezier(0.075, 0.82, 0.165, 1);

      }
     /* === FAB WhatsApp === */
.wa-fab{
  --fab-size: 58px;
  position: fixed; right: 24px; bottom: 24px; z-index: 1100;
  width: var(--fab-size); height: var(--fab-size);
  display: grid; place-items: center;
  background: #25D366; border-radius: 9999px;
  border: 1px solid rgba(0,0,0,.05);
  box-shadow: 0 10px 30px rgba(0,0,0,.18);
  text-decoration: none;
  opacity: 0; transform: translateY(8px) scale(.98);
  pointer-events: none;
  transition: opacity .4s ease, transform .4s cubic-bezier(.22,1,.36,1), box-shadow .25s ease;
}
.wa-fab.is-visible{ opacity:1; transform: translateY(0) scale(1); pointer-events:auto; }
.wa-fab:hover{ box-shadow: 0 14px 36px rgba(0,0,0,.22); transform: translateY(-1px) scale(1.02); }
.wa-fab:active{ transform: translateY(0) scale(.99); }
.wa-fab__icon{ width: 58%; height: 58%; display:block; }

@media (max-width:640px){ .wa-fab{ right: 16px; bottom: 16px; } }
@media (prefers-reduced-motion: reduce){ .wa-fab{ transition:none; transform:none; } .wa-fab.is-visible{ opacity:1; } }

/* === Modal WhatsApp === */
.wa-modal{ position:fixed; inset:0; z-index:1200; display:none; }
.wa-modal[aria-hidden="false"]{ display:block; }
.wa-modal__backdrop{
  position:absolute; inset:0; background: rgba(0,0,0,.36);
  backdrop-filter: blur(4px); opacity:0; transition: opacity .25s ease;
}
.wa-modal[aria-hidden="false"] .wa-modal__backdrop{ opacity:1; }
.wa-modal__panel{
  position: relative; margin: 8vh auto 0; max-width: 520px;
  background: var(--bg); border:1px solid var(--g-200); border-radius: 16px;
  box-shadow: 0 30px 80px rgba(0,0,0,.25);
  padding: 24px; transform: translateY(12px); opacity:0;
  transition: transform .28s cubic-bezier(.22,1,.36,1), opacity .28s ease;
}
.wa-modal[aria-hidden="false"] .wa-modal__panel{ transform: translateY(0); opacity:1; }

.wa-modal__close{
  position:absolute; top:12px; right:12px; border:1px solid var(--g-200);
  width:36px; height:36px; border-radius:10px; background:#fff; cursor:pointer;
}

.wa-modal__title{ margin: 0 0 6px; font-family: var(--font-montserrat); }
.wa-modal__sub{ margin: 0 0 16px; color: var(--ink-80); }

.wa-form{ display:grid; gap: 14px; }
.wa-field{ display:grid; gap:6px; }
.wa-field span{ font-size: 14px; color: var(--ink-80); }
.wa-field input{
  width:100%; padding:12px 14px; border-radius:12px;
  border:1px solid var(--g-300); background:#fff; font: inherit;
}
.wa-field input:focus{ outline:none; border-color:#25D366; box-shadow:0 0 0 3px rgba(37,211,102,.18); }

.wa-submit{
  width:100%; border-color: rgba(37,211,102,.45);
  background: #25D366; color:#fff;
}
.wa-submit:hover{ filter: brightness(1.03); }
