/* ===============================
   Tema Najenson-Trajtenberg (claro)
   =============================== */
:root{
  /* Paleta desde el logo */
  --primary: #1b2c3a;       /* brand / tinta */
  --primary-600: #172531;   /* hover/active */
  --bg: #dcd4c9;            /* papel de fondo */
  --bg-2: #dcd4c9;          /* fondo alterno */
  --card: #ffffff;          /* tarjetas/bloques */
  --text: #1b2c3a;          /* texto principal */
  --muted: #5c6267;         /* texto secundario */
  --shadow: 0 10px 30px rgba(27,44,58,.15);
}

/* Reset básico */
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family:Inter,system-ui,Segoe UI,Roboto,Arial,sans-serif;
  color:var(--text);
  background:var(--bg);
  line-height:1.5;
}
img{max-width:100%;display:block;border-radius:16px}
a{color:var(--primary);text-decoration:none}
a:hover{text-decoration:underline}
.container{width:min(1120px,92vw);margin-inline:auto}

/* Header */
.site-header{
  position:sticky; top:0; z-index:50;
  backdrop-filter:saturate(140%) blur(8px);
  background:#dcd4c9;
  border-bottom:1px solid rgba(27,44,58,.08);
}
.site-header .brand-logo{
  width: 100px;   /* antes 42px */
  height: 100px;  /* antes 42px */
}
.nav-container{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:14px 0}
.brand{display:flex;align-items:center;gap:12px;font-weight:700;letter-spacing:.2px}
.brand-logo{width:42px;height:42px;border-radius:50%}
.brand-text{display:flex;flex-direction:column;line-height:1.05}
.brand-title{font-size:14px;color:var(--primary);text-transform:uppercase;letter-spacing:.6px}
.brand-sub{font-size:12px;color:var(--muted)}
.menu-toggle{display:none;background:none;border:0;color:var(--primary);font-size:22px}
.nav{display:flex;gap:18px;align-items:center;flex-wrap:wrap}

.nav .btn-sm{padding:.55rem .9rem;border-radius:999px;background:var(--primary);color:#fff;text-decoration:none}
.nav .btn-sm:hover{background:var(--primary-600)}

/* Hero (sin degradés) */
.hero{
  min-height: 80vh;
  position:relative;
  padding: clamp(70px, 12vh, 140px) 0 60px;
  background: url("../img/hero.estudiojj-grad-2560-1.webp") no-repeat;
  background-position: 0% 0%;
  background-size: 100% auto;
  color: var(--text);
  overflow:hidden;
}
/* Marca de agua sutil con el logo (opcional) */
.hero::after{
  content:""; position:absolute; inset:0;
  background: url("../img/logo-estudio.jpg") no-repeat 5% 65% / 160px auto;
  opacity:.06; pointer-events:none;
}
.hero-grid{
  display:grid; align-items:center; gap:40px;
  grid-template-columns: 1.15fr .85fr;
}
.hero h1{
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.1;
  margin: 0 0 10px;
  color: #ffffff;
}
.hero p{
  color:white;
  margin:0 0 22px;
  margin-top: 60px;
  font-size: 25px;
}
.cta-row{display:flex;gap:12px;flex-wrap:wrap}
.btn{
  background:var(--primary); border:0; color:#fff;
  padding:.9rem 1.2rem; border-radius:12px; font-weight:700;
  box-shadow: var(--shadow); display:inline-block; text-decoration:none;
}
.btn:hover{background:var(--primary-600)}
.btn-outline{background:#fff; color:var(--primary); outline:1px solid rgba(27,44,58,.25)}
.btn-outline:hover{outline-color:rgba(27,44,58,.45)}

/* Línea dorada al FINAL del HERO (segunda opción) */
.section-sep{ height:0; margin:0; background:transparent; } /* neutral por default */
.hero{ position: relative; }
.hero .section-sep{
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 4px;
  background: #dfc5a1;   /* dorado */
  margin: 0 !important;
  border-radius: 0;
  pointer-events: none;
  
}

/* Secciones */
.section{padding:72px 0}
.section-alt{background: color-mix(in srgb, var(--bg) 92%, white 8%);}
.two-col{display:grid;grid-template-columns:1fr 1fr;gap:36px;align-items:center}
h2{font-size: clamp(24px, 3vw, 34px); margin:0 0 12px}
.checklist{list-style:none;padding:0;margin:14px 0 24px}
.checklist li{padding-left:26px;position:relative;margin:8px 0;color:var(--muted)}
.checklist li::before{content:"✓";position:absolute;left:0;top:0;color:#2ecc71;font-weight:900}

.media-stack{position:relative}
.media-stack .floating{position:absolute; right:-14px; bottom:-14px; width:58%; box-shadow:var(--shadow)}

/* Opiniones */
.cards-3{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;margin-top:18px}
.card-review{
  background:var(--card);
  border:1px solid rgba(27,44,58,.12);
  border-radius:16px; padding:20px; min-height:170px;
  box-shadow: var(--shadow);
}
.card-review p{color:var(--text);margin:8px 0 10px}
.card-review .author{color:var(--muted);font-size:14px}
.stars{color:#d4b200;letter-spacing:2px}

/* Pasos */
.steps{display:grid;grid-template-columns:repeat(4,1fr);gap:20px;margin-top:18px}
.step{
  background:var(--card);
  border:1px solid rgba(27,44,58,.12);
  border-radius:16px;padding:16px;box-shadow: var(--shadow)
}
.step h3{margin:10px 0 6px;font-size:18px}

/* Premios */
.badges{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;margin-top:18px}
.badge{
  background:var(--card);
  border:1px solid rgba(27,44,58,.12);
  border-radius:16px;padding:16px;text-align:center;box-shadow: var(--shadow)
}
.badge figcaption{color:var(--muted);font-size:14px;margin-top:8px}

/* FAQ */
details{
  background:var(--card);
  border:1px solid rgba(27,44,58,.12);
  border-radius:14px; padding:14px 16px; margin:12px 0; box-shadow: var(--shadow)
}
summary{cursor:pointer;font-weight:600}
details p{color:var(--muted);margin:10px 0 0}

/* Contacto */
.contact-grid{display:grid;grid-template-columns:1.2fr .8fr;gap:24px}
.hp{position:absolute;left:-9999px;opacity:0}
.form-row{display:flex;flex-direction:column;gap:6px;margin-bottom:12px}
input,textarea{
  background:#fff; color:var(--text); border:1px solid rgba(27,44,58,.18);
  border-radius:10px; padding:12px; font:inherit
}
input:focus,textarea:focus{outline:2px solid color-mix(in srgb, var(--primary) 45%, white 55%)}
.form-note{color:var(--muted);font-size:12px}
.form-success{margin-top:8px;color:#1b7d3a}
.contact-aside .contact-card{
  background:var(--card); border:1px solid rgba(27,44,58,.12);
  border-radius:16px; padding:16px; box-shadow: var(--shadow)
}
.contact-list{list-style:none;margin:12px 0 0;padding:0}
.contact-list li{margin:6px 0;color:var(--muted)}

/* Footer */
.site-footer{border-top:1px solid rgba(27,44,58,.10);padding:28px 0;background:#ffffff}
.footer-grid{display:grid;grid-template-columns:1fr auto auto;gap:18px;align-items:center}
.footer-nav{display:flex;gap:14px;flex-wrap:wrap}
.social{display:flex;gap:12px}
.footer-brand p{color:var(--muted);margin:.5rem 0 0}

/* ===== FAB WhatsApp con ícono ===== */
.fab-whatsapp{
  position:fixed; right:18px; bottom:18px; width:56px; height:56px;
  border-radius:50%; display:grid; place-items:center;
  background: linear-gradient(180deg,#25D366,#128C7E);
  box-shadow: 0 10px 30px rgba(27,44,58,.15);
  z-index:60;
  text-decoration:none;
}
.fab-whatsapp .icon-wa{
  width:28px; height:28px; display:block; /* ajustá a 24–32px si querés */
}
.fab-whatsapp:hover{ transform: translateY(-1px); }

/* ===== Stats minimal: SIN degradé, fondo liso oscuro ===== */
.stats-section{
  position: relative;
  padding: 28px 0 100px;
  background: #0d2133;  /* liso */
  color: #fff;
}

/* Grid en 3 columnas sin gap (los separadores viven dentro de .stat) */
.stats.stats-minimal{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  column-gap: 0;
  align-items: end;
  margin-top: 70px;
  margin-bottom: 60px;
}

/* Limpio estilos y preparo separador vertical */
.stats.stats-minimal .stat{
  position: relative;
  border: 0;
  box-shadow: none;
  padding: 0 18px;
  min-width: auto;
  text-align: center;
}

/* Línea VERTICAL clara entre columnas (no en la primera) */
.stats.stats-minimal .stat + .stat::before{
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  bottom: 6px;
  width: 1px;
  background: rgba(255,255,255,.22);
}

/* Tipografías sobre fondo oscuro */
.stats.stats-minimal .num{
  font-size: clamp(50px, 3vw, 36px);
  font-weight: 800;
  color: #dfc5a1;  /* dorado */
  line-height: 1;
}
.stats.stats-minimal .label{
  display:block;
  margin-top: 10px;
  font-size: 30px;
  color: #dfc5a1;
}

/* === Ajustes para prefijos/sufijos y estrellas en stats === */
.stats.stats-minimal .metric{
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
}
.stats.stats-minimal .metric .prefix{
  font-weight: 800;
  font-size: inherit;
  line-height: 1;
  color: #dfc5a1;
}
.stats.stats-minimal .metric .unit{
  font-weight: 700;
  font-size: clamp(14px, 1.4vw, 18px);
  line-height: 1.1;
  color: #dfc5a1;
  opacity: .95;
}
.stats-section .stats.stats-minimal .metric .unit{
  font-size: 50px;   /* ajustá a gusto */
  line-height: 1.05;
}
/* ===== Stats: tamaño del "+" de la PRIMERA métrica ===== */
.stats-section .stats.stats-minimal .stat:first-child .metric .prefix{
  font-size: clamp(28px, 3.2vw, 44px);
  line-height: .9;
  color: #dfc5a1;
}

/* ===== Stats: tamaño del "+" en la 3ª métrica ===== */
.stats-section .stats.stats-minimal .stat:nth-child(3) .metric .prefix{
  font-size: 50px;   /* o 0.9em / clamp(...) */
  line-height: .9;
  margin-right: 2px;
}

/* Estrellas en stats */
.stats.stats-minimal .stars{
  display: block;
  margin-bottom: 15px;
  font-size: 30px;
  line-height: 1;
  color: #dfc5a1;
  letter-spacing: 2px;
  text-align: center;
}

/* Responsive: en móvil apilo y uso separador HORIZONTAL claro */
@media (max-width: 720px){
  .stats.stats-minimal{
    grid-template-columns: 1fr;
    row-gap: 0;
  }
  .stats.stats-minimal .stat{
    text-align: left;
    padding: 12px 0;
  }
  .stats.stats-minimal .stat::before{ display: none; }
  .stats.stats-minimal .stat + .stat{
    border-top: 1px solid rgba(255,255,255,.22);
  }
}

/* Responsive */
@media (max-width: 980px){
  .hero-grid{grid-template-columns:1fr}
  .two-col{grid-template-columns:1fr}
  .contact-grid{grid-template-columns:1fr}
  .steps{grid-template-columns:repeat(2,1fr)}
  .badges,.cards-3{grid-template-columns:1fr 1fr}
}

/* ======= MOBILE DRAWER NAV (reemplaza bloque mobile anterior) ======= */
@media (max-width: 720px){
  .menu-toggle{display:block}

  /* Panel del menú (drawer) */
  .nav{
    position: fixed;
    top: 0; left: 0; bottom: 0;
    width: min(84vw, 360px);
    background: #ffffff;
    border-right: 1px solid rgba(27,44,58,.08);
    box-shadow: 0 10px 30px rgba(27,44,58,.15);
    padding: 72px 18px 20px;           /* espacio bajo el header */
    display: flex; flex-direction: column; gap: 12px;

    transform: translateX(-100%);      /* oculto a la izquierda */
    transition: transform .28s ease;   /* animación */
    z-index: 80;
  }
  .nav.open{ transform: translateX(0); }

  /* Fondo para click “fuera” */
  .nav-backdrop{
    position: fixed; inset: 0;
    background: rgba(0,0,0,.35);
    opacity: 0; pointer-events: none;
    transition: opacity .2s ease;
    z-index: 70;
  }
  .nav-backdrop.show{
    opacity: 1; pointer-events: auto;
  }

  /* Grids mobile existentes */
  .cards-3,.steps,.badges{grid-template-columns:1fr}
  .site-header .brand-logo{ width: 44px; height: 44px; }
}

/* Utilidades */
.center{text-align:center}
.sr-only{position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0}

/* ===== Overrides específicos para la sección BENEFICIO ===== */
#beneficio .two-col{
  align-items: center;
  gap: 36px;
}
#beneficio h2{
  margin-top: -50px;
  margin-bottom: 10px;
}
#beneficio p{
  color: var(--muted);
  margin-top: 30px;
  margin-bottom: 30px;
  max-width: 100ch;
  font-size: 20px;
}
#beneficio ul.checklist li{
  margin: 0 0 20px;
  font-size: 20px;
}
#beneficio ul.checklist li:last-child{
  margin-bottom: 50px;
}
/* Imagen principal */
#beneficio .media-stack img{
  width: 100%;
  height: 450px;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: var(--shadow);
}
/* Imagen flotante (si la usás) */
#beneficio .media-stack .floating{
  right: -14px; bottom: -14px; width: 58%;
}
/* Variante: fondo alterno */
#beneficio.section{
  background: color-mix(in srgb, var(--bg) 90%, white 10%);
}
/* Botón de #beneficio más grande */
#beneficio .btn{
  font-size: 18px;
  padding: 1rem 1.4rem;
  border-radius: 14px;
  min-width: 220px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 25px;
}
/* Ajuste móvil */
@media (max-width: 720px){
  #beneficio .btn{
    font-size: 16px;
    min-width: 100%;
  }
}
/* Responsive */
@media (max-width: 980px){
  #beneficio .media-stack img{ height: 300px; }
}
@media (max-width: 720px){
  #beneficio .two-col{ grid-template-columns: 1fr; }
  #beneficio .media-stack .floating{ position: static; width: 100%; margin-top: 10px; }
}

/* ===== PASOS: más altas + color por tarjeta ===== */

/* Layout y altura mínima */
#pasos .steps{
  grid-template-columns: repeat(4, minmax(240px, 1fr));
  gap: 24px;
}
#pasos .step{
  position: relative;
  min-height: 320px;                 /* ← altura de la tarjeta */
  padding: 22px 20px 24px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  background: linear-gradient(
    180deg,
    color-mix(in srgb, var(--accent, var(--primary)) 8%, #ffffff) 0%,
    #ffffff 60%
  );
  border: 1px solid rgba(27,44,58,.10);
  border-radius: 18px;
  box-shadow: var(--shadow);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
@supports not (color: color-mix(in srgb, white, black)) {
  #pasos .step{ background: #ffffff; }  /* fallback sin color-mix */
}

/* Franja superior con el color de cada tarjeta */
#pasos .step::before{
  content:"";
  position:absolute; left:0; top:0;
  width:100%; height:4px;
  background: var(--accent, #dfc5a1);
  opacity:.95;
}

/* Ícono toma el color de la tarjeta */
#pasos .step-icon{
  width: 64px; height: 64px; border-radius: 999px;
  display: grid; place-items: center;
  margin-bottom: 12px;
  color: var(--accent, var(--primary));
  background: color-mix(in srgb, var(--accent, var(--primary)) 15%, #ffffff);
  border: 2px solid var(--accent, #dfc5a1);
}
@supports not (color: color-mix(in srgb, white, black)) {
  #pasos .step-icon{ background: #fff; }
}

/* Tipografías */
#pasos h2{ text-align:center; margin: 0 0 24px; margin-bottom: 50px; }
#pasos .step h3{ margin: 8px 0 6px; font-size: 18px; color: var(--primary); }
#pasos .step p{ margin: 0; color: var(--muted); }

/* Colores por tarjeta */
#pasos .step--1{ --accent: #35506b; } /* azul petróleo */
#pasos .step--2{ --accent: #b58c55; } /* dorado/ámbar */
#pasos .step--3{ --accent: #3f6d5d; } /* verde petróleo */
#pasos .step--4{ --accent: #6a547a; } /* ciruela/morado sobrio */

/* Hover */
#pasos .step:hover{
  transform: translateY(-3px);
  box-shadow: 0 14px 28px rgba(27,44,58,.18);
  border-color: rgba(27,44,58,.18);
}

/* ===== Botón de la sección PASOS (más grande) ===== */
#pasos .center{ margin-top: 28px; } /* podés borrar el style inline */
#pasos .btn{
  font-size: clamp(18px, 1.6vw, 20px);
  padding: clamp(14px, 1.2vw, 18px) clamp(22px, 2vw, 30px);
  border-radius: 14px;
  min-width: 240px;
  letter-spacing: .2px;
  margin-top: 30px;
}

/* Móvil: botón full width */
@media (max-width: 720px){
  #pasos .btn{
    width: 100%;
    min-width: 0;
    font-size: 18px;
  }
}

/* Responsive PASOS */
@media (max-width: 980px){
  #pasos .steps{ grid-template-columns: repeat(2, 1fr); }
  #pasos .step{ min-height: 300px; }
}
@media (max-width: 640px){
  #pasos .steps{ grid-template-columns: 1fr; }
  #pasos .step{ min-height: 280px; }
}

/* Solo imagen en el aside de contacto */
.contact-aside .contact-image{
  width: 100%;
  height: 600px;     /* cambiá por auto si querés altura natural */
  object-fit: cover; /* recorte elegante */
  display: block;
  border-radius: 16px;
  box-shadow: var(--shadow);
}

/* ===== Hero: imagen distinta en móvil ===== */
@media (max-width: 720px){
  .hero{
    background-image: url("../img/estudio.herores-q82.webp"); /* archivo mobile */
    background-size: cover;
    background-position: center 20%;
    min-height: 70vh;
  }
}

/* ===== Hero mobile: tipografías + posición más baja ===== */
@media (max-width: 720px){
  .hero{
    padding-top: clamp(250px, 24vh, 180px);
    padding-bottom: 44px;
    background-position: center 32%;
  }
  .hero h1{
    font-size: clamp(22px, 6vw, 28px);
    line-height: 1.15;
    margin-bottom: 8px;
  }
  .hero p{
    font-size: clamp(14px, 4.2vw, 18px);
    line-height: 1.4;
    margin-top: 8px;
    margin-bottom: 18px;
  }
  .hero .btn{
    padding: 12px 16px;
    font-size: 16px;
    border-radius: 12px;
  }
  .hero-grid{ gap: 18px; }
}

/* ===== Stats mobile centrado ===== */
@media (max-width: 720px){
  .stats-section .stats.stats-minimal{
    grid-template-columns: 1fr;
    row-gap: 0;
    justify-items: center;
  }
  .stats-section .stats.stats-minimal .stat{
    text-align: center;
    padding: 16px 0;
  }
  .stats-section .stats.stats-minimal .metric{
    justify-content: center;
  }
  .stats-section .stats.stats-minimal .stars{
    text-align: center;
    margin: 0 0 6px;
  }
  .stats-section .stats.stats-minimal .label{
    text-align: center;
  }
}

/* ===== Drawer móvil: altura completa + scroll + layout en columna ===== */
@media (max-width: 720px){
  .nav{
    position: fixed;
    top: 0; left: 0; right: auto; bottom: 0;
    width: min(84vw, 360px);
    height: 100dvh;                 /* alto real, evita barra del navegador */
    max-height: 100dvh;
    background: #fff;
    border-right: 1px solid rgba(27,44,58,.08);
    box-shadow: 0 10px 30px rgba(27,44,58,.15);
    z-index: 110;                   /* por encima del header */

    /* contenido visible y scrolleable dentro del panel */
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;

    /* empuja el contenido por debajo del header + safe area */
    padding-top: calc(env(safe-area-inset-top, 0px) + 72px);
    padding-right: 18px;
    padding-bottom: 20px;
    padding-left: 18px;

    /* layout vertical para los ítems */
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;

    /* animación desde la izquierda (tu transform existente) */
    transform: translateX(-100%);
    transition: transform .28s ease;
  }
  .nav.open{ transform: translateX(0); }

  /* enlaces como ítems de lista: uno debajo del otro */
  .nav a{
    display: block;
    width: 100%;
    padding: 12px 10px;
    color: var(--primary);
    font-weight: 600;
    border-radius: 8px;
  }
  .nav a:hover{ background: rgba(27,44,58,.06); }

  /* si usás <ul> dentro del nav, asegurá columna */
  .nav ul{
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 0; padding: 0; list-style: none;
  }

  /* botón chico a ancho completo */
  .nav .btn-sm{ width: 100%; text-align: center; }

  /* backdrop que cubre toda la pantalla */
  .nav-backdrop{
    position: fixed; inset: 0;
    height: 100dvh;
    background: rgba(0,0,0,.35);
    opacity: 0; pointer-events: none;
    transition: opacity .1s ease;
    z-index: 100;
  }
  .nav-backdrop.show{ opacity: 1; pointer-events: auto; }
}

/* bloquea el scroll del body cuando el drawer está abierto */
body.nav-open{ overflow: hidden; }

/* ===== Fondo del panel del menú móvil ===== */
:root{
  /* Cambiá este valor por el color que quieras */
  --nav-bg-mobile: #192936;      /* azul oscuro */
  --nav-border-mobile: rgba(255,255,255,.12);
  --nav-text-mobile: #fff2e0;    /* opcional: color de enlaces */
  --nav-hover-mobile: rgba(255, 255, 255, 0.993);
}

@media (max-width: 720px){
  .nav{
    background: var(--nav-bg-mobile) !important; /* panel */
    border-right: 1px solid var(--nav-border-mobile);
  }
  /* Opcional: asegurar contraste de enlaces dentro del panel */
  .nav a{ color: var(--nav-text-mobile); }
  .nav a:hover{ background: var(--nav-hover-mobile); }
}

/* ===== Menú móvil: sin opacidad lavada ===== */
@media (max-width: 720px){
  /* fondo del panel sin efectos ni velos */
  .nav{
    background: var(--nav-bg-mobile, #0d2133) !important;
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
  }

  /* textos 100% opacos y con buen contraste */
  .nav a,
  .nav .btn-sm{
    opacity: 1 !important;                 /* pisa la regla de desktop */
    color: var(--nav-text-mobile, #ffffff);
  }

  /* hover visible (si querés, podés subir/sacar el alpha) */
  .nav a:hover{
    background: var(--nav-hover-mobile, rgb(255, 255, 255));
  }
}

/* === Menú móvil debajo del header === */
:root{
  --header-h: 72px; /* ajustá a la altura real de tu header (64–80px) */
}

@media (max-width: 720px){
  /* el header queda por encima visualmente */
  .site-header{ z-index: 60; }

  /* panel del menú: arranca debajo del header */
  .nav{
    top: var(--header-h) !important;
    height: calc(100dvh - var(--header-h)) !important;
    max-height: calc(100dvh - var(--header-h)) !important;
    padding-top: 18px !important;            /* ya no hace falta espacio del header */
    z-index: 40 !important;                  /* por debajo del header */
  }

  /* backdrop solo en el área bajo el header */
  .nav-backdrop{
    top: var(--header-h) !important;
    height: calc(100dvh - var(--header-h)) !important;
  }
}

@media (max-width: 720px){
  .nav a[href*="wa.me"],
  .nav a[href*="api.whatsapp.com"]{
    background: linear-gradient(180deg,#25D366,#128C7E) !important;
    color: #fff !important;
    border: 0;
    border-radius: 10px;
    padding: 12px 14px;
    text-align: center;
    opacity: 1;
  }
  .nav a[href*="wa.me"]:hover,
  .nav a[href*="api.whatsapp.com"]:hover{
    filter: brightness(1.06);
  }
}

@media (max-width: 720px){
  .nav a[href*="wa.me"],
  .nav a[href*="api.whatsapp.com"]{
    /* hace que NO sea full-width */
    width: auto !important;
    display: inline-flex !important;
    align-self: center;          /* centrado en el panel; usá flex-start si lo querés a la izquierda */
    padding: 10px 14px;          /* un poco más compacto */
    border-radius: 10px;
    /* el resto de estilos que ya tenías */
    background: linear-gradient(180deg,#25D366,#128C7E) !important;
    color: #fff !important;
    border: 0;
    text-align: center;
    opacity: 1;
  }

  .nav a[href*="wa.me"]:hover,
  .nav a[href*="api.whatsapp.com"]:hover{
    filter: brightness(1.06);
  }
}

/* Corrige el scroll para todas las secciones */
section[id] {
  scroll-margin-top: 90px; /* ajustá según la altura real del header */
}

/* ===== FIX: capas correctas en móvil (header > nav > backdrop) ===== */
@media (max-width: 720px){
  .site-header{ z-index: 1000 !important; }

  /* El panel debe estar por encima del backdrop */
  .nav{
    z-index: 900 !important;
    top: var(--header-h) !important;
    height: calc(100dvh - var(--header-h)) !important;
    max-height: calc(100dvh - var(--header-h)) !important;
    padding-top: 18px !important;
    transform: translateX(-100%);           /* se mantiene tu animación */
    transition: transform .28s ease;
  }
  .nav.open{ transform: translateX(0); }

  /* El backdrop queda por debajo del panel */
  .nav-backdrop{
    z-index: 800 !important;
    top: var(--header-h) !important;
    height: calc(100dvh - var(--header-h)) !important;
    opacity: 0; 
    pointer-events: none;
    transition: opacity .2s ease;
  }
  .nav-backdrop.show{
    opacity: 1; 
    pointer-events: auto;
  }
}

/* ===== Panel menú móvil: sin recuadro, solo agrandar texto ===== */
@media (max-width: 720px){
  /* aplica a todos los enlaces del drawer EXCEPTO el botón de WhatsApp */
  .nav a:not([href*="wa.me"]):not([href*="api.whatsapp.com"]){
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    -webkit-tap-highlight-color: transparent;
    transition: font-size .14s ease;
  }
  .nav a:not([href*="wa.me"]):not([href*="api.whatsapp.com"]):hover,
  .nav a:not([href*="wa.me"]):not([href*="api.whatsapp.com"]):active{
    background: transparent !important; /* sin recuadro */
    box-shadow: none !important;
    font-size: 1.06em; /* ↑ ajustá: 1.04–1.10 */
  }
  .nav a:not([href*="wa.me"]):not([href*="api.whatsapp.com"]):focus,
  .nav a:not([href*="wa.me"]):not([href*="api.whatsapp.com"]):focus-visible{
    outline: none; /* sin contorno de foco tipo “caja” */
  }
}
/* ===== Panel menú móvil: sin recuadro y sin subrayado ===== */
@media (max-width: 720px){
  /* Ítems del drawer (excepto WhatsApp) */
  .nav a:not([href*="wa.me"]):not([href*="api.whatsapp.com"]){
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    -webkit-tap-highlight-color: transparent;
    transition: font-size .14s ease;
    text-decoration: none !important;   /* ← sin subrayado siempre */
  }
  .nav a:not([href*="wa.me"]):not([href*="api.whatsapp.com"]):hover,
  .nav a:not([href*="wa.me"]):not([href*="api.whatsapp.com"]):active,
  .nav a:not([href*="wa.me"]):not([href*="api.whatsapp.com"]):focus,
  .nav a:not([href*="wa.me"]):not([href*="api.whatsapp.com"]):focus-visible{
    background: transparent !important;
    box-shadow: none !important;
    font-size: 1.06em;                  /* solo agranda un poco */
    outline: none;
    text-decoration: none !important;   /* ← sin subrayado en hover/focus */
  }

  /* También sin subrayado para el botón de WhatsApp */
  .nav a[href*="wa.me"],
  .nav a[href*="api.whatsapp.com"]{
    text-decoration: none !important;
  }
  .nav a[href*="wa.me"]:hover,
  .nav a[href*="api.whatsapp.com"]:hover{
    text-decoration: none !important;
  }
}

/* ===== Header desktop: sin subrayado y agrandar texto al hover ===== */
@media (min-width: 721px){
  .site-header .nav a{
    text-decoration: none !important;   /* pisa el a:hover global */
    display: inline-block;               /* permite animar sin saltos raros */
    transition: transform .14s ease;     /* animación suave */
  }
  .site-header .nav a:hover,
  .site-header .nav a:focus{
    text-decoration: none !important;    /* sin subrayado en hover/focus */
    transform: scale(1.06);              /* “agranda” la letra */
  }

  
}

/* ===== Hero: botones sin subrayado ni cambio de color, solo agrandar ===== */
.hero .btn,
.hero .btn-outline{
  text-decoration: none !important;
  display: inline-block;
  transition: transform .15s ease;
}

/* Botón lleno */
.hero .btn:hover,
.hero .btn:focus,
.hero .btn:active{
  text-decoration: none !important;
  transform: scale(1.05);
  background: var(--primary) !important;  /* mantiene color original */
  color: #fff !important;
}

/* Botón contorneado */
.hero .btn-outline:hover,
.hero .btn-outline:focus,
.hero .btn-outline:active{
  text-decoration: none !important;
  transform: scale(1.05);
  background: #fff !important;            /* mantiene color original */
  color: var(--primary) !important;
  outline-color: rgba(27,44,58,.25) !important; /* evita cambiar el borde */
}
/* ===== Header: sin subrayado en el brand (desktop + mobile) ===== */
.site-header .brand,
.site-header .brand:hover,
.site-header .brand:focus,
.site-header .brand:active{
  text-decoration: none !important;
}

/* ===== Footer mobile: apilado y centrado ===== */
@media (max-width: 720px){
  .site-footer .footer-grid{
    display: grid;
    grid-template-columns: 1fr;   /* una columna */
    row-gap: 14px;
    justify-items: center;        /* centra el contenido */
    text-align: center;
  }

  .site-footer .footer-brand{
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    order: 1;                     /* primero el brand */
  }

  .site-footer .brand{
    align-items: center;
    gap: 10px;
  }
  .site-footer .brand-logo{
    width: 56px;
    height: 56px;
  }

  .site-footer .footer-nav{
    display: flex;
    flex-direction: column;       /* links uno debajo del otro */
    gap: 8px;
    align-items: center;
    order: 2;                     /* luego la navegación */
  }

  /* (opcional) si tenés .social, va al final */
  .site-footer .social{
    order: 3;
    justify-content: center;
  }
}
/* Footer: sin subrayado en los links (hover/focus) */
.site-footer .footer-nav a:hover,
.site-footer .footer-nav a:focus{
  text-decoration: none;
  transform: scale(1.02);
}
/* Footer móvil: brand-sub alineado a la izquierda bajo brand-title */
@media (max-width: 720px){
  .site-footer .footer-brand .brand-text{
    display: inline-flex;
    flex-direction: column;
    align-items: flex-start;  /* alinea a la izquierda */
    text-align: left;         /* quita centrado heredado */
    width: max-content;  
     /* bloque se ajusta al contenido */
  }
}

@media (max-width: 720px){
  .site-footer .brand-sub{
    font-size: 16px;   /* ajustá a gusto */
    line-height: 1.15;
    font-weight: 600;  /* opcional */
  }
}

/* Créditos al final del footer (desktop y móvil) */
.site-footer .credits{
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(27,44,58,.12);
  display: flex;
  align-items: center;
  justify-content: center;   /* centrado en todas las vistas */
  gap: 8px;
  font-size: 14px;
  color: var(--muted);
}

.site-footer .credits a{ text-decoration: none; }

.site-footer .credits-logo img{
  height: 65px;              /* ajustá el tamaño del logo */
  display: block;
  transition: transform .15s ease;
}
.site-footer .credits-logo:hover img{ transform: scale(1.06); }

@media (max-width: 720px){
  .site-footer .credits{
    font-size: 13px;
    gap: 10px;
  }
  .site-footer .credits-logo img{ height: 50px; }
}

/* Mapa responsive con bordes y sombra */

/* Base: móvil apilado */
#sucursal .map-wrap{
  width: 100%;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow);
  margin: 16px 0;
}
#sucursal .map-wrap iframe{
  width: 100%;
  height: 300px;   /* móvil */
  border: 0;
}

/* Grid sucursal */
#sucursal .sucursal-grid{
  display: grid;
  gap: 24px;
}


/* Escritorio: 2 columnas (izq: textos, der: mapa) */
@media (min-width: 980px){
  #sucursal .sucursal-grid{
    grid-template-columns: 1.1fr 1fr; /* ajustá proporción si querés */
    align-items: start;
  }
  #sucursal .map-wrap{
    max-width: none;   /* anula límite anterior si lo hubiera */
    width: 100%;
    margin: 0;         /* sin centrado en desktop */
  }
  #sucursal .map-wrap iframe{
    height: 420px;     /* un poco más alto en desktop */
  }
}

/* Sucursal: tamaño del párrafo (solo el primero dentro de .sucursal-copy) */
#sucursal .sucursal-copy p:first-of-type{
  font-size: 18px;      /* móvil */
  line-height: 1.55;
  margin: 8px 0 16px;
  
}

@media (min-width: 980px){ /* escritorio */
  #sucursal .sucursal-copy p:first-of-type{
    font-size: 20px; 
    margin-top: 40px;
    margin-bottom:80px ;   
  }
}

/* Contacto: reducir alto de la imagen un 35% en móvil */
@media (max-width: 720px){
  .contact-aside .contact-image{
    height: 390px; /* 600px * 0.65 */
  }
}

/* Menú toggle más grande (móvil) */
@media (max-width: 720px){
  .menu-toggle{
    font-size: 32px;      /* antes 22px */
    
     /* mejora el área táctil */
    
  }
}



