/* ============================================================
   SONRISA VIVA — Shared Stylesheet
   Clínica Dental Barcelona | sonrisaviva.es
   ============================================================ */

/* RESET & BASE */
*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}
:root{
  --black:#0A0A0A;
  --off-white:#F9F7F4;
  --cream:#F2EDE6;
  --warm-gray:#E8E3DB;
  --text:#1A1A1A;
  --text-muted:#6B6560;
  --text-light:#9E9890;
  --accent:#1B4B3A;
  --accent-light:#2A6B52;
  --accent-pale:#EBF2EE;
  --gold:#C4933A;
  --border:#DDD8D0;
  --serif:'Fraunces',Georgia,serif;
  --sans:'Geist','DM Sans',system-ui,sans-serif;
}
html{scroll-behavior:smooth;font-size:16px}
body{font-family:var(--sans);color:var(--text);background:var(--off-white);line-height:1.6;overflow-x:hidden}
h1,h2,h3,h4{font-family:var(--serif);font-weight:400;line-height:1.15}
p{font-weight:300;line-height:1.75}
a{color:inherit}
img{display:block;max-width:100%}
picture{display:block}

/* ============================================================
   NAV
   ============================================================ */
nav{position:fixed;top:0;left:0;right:0;z-index:500;height:68px;display:flex;align-items:center;background:rgba(249,247,244,0.95);backdrop-filter:blur(14px) saturate(1.2);border-bottom:1px solid var(--border)}
.nav-inner{max-width:1280px;margin:0 auto;padding:0 2.5rem;width:100%;display:flex;align-items:center;justify-content:space-between}
.nav-logo{text-decoration:none;display:flex;flex-direction:column;gap:0}
.nav-logo-name{font-family:var(--serif);font-size:1.25rem;font-weight:400;color:var(--text);letter-spacing:0.01em;line-height:1}
.nav-logo-tagline{font-size:0.65rem;letter-spacing:0.14em;text-transform:uppercase;color:var(--text-muted);font-weight:400;margin-top:2px}
.nav-links{display:flex;gap:2.5rem;list-style:none}
.nav-links a{font-size:0.83rem;font-weight:400;letter-spacing:0.04em;color:var(--text-muted);text-decoration:none;transition:color .2s}
.nav-links a:hover,.nav-links a.active{color:var(--text)}
.nav-links li.active > a{color:var(--text)}
.nav-right{display:flex;align-items:center;gap:1.5rem}
.nav-tel{font-size:0.83rem;font-weight:500;color:var(--text);text-decoration:none}
.nav-tel:hover{color:var(--accent)}
.nav-cta{font-size:0.8rem;font-weight:500;letter-spacing:0.06em;text-transform:uppercase;color:var(--off-white);background:var(--accent);padding:10px 22px;border-radius:3px;text-decoration:none;transition:background .2s;white-space:nowrap}
.nav-cta:hover{background:var(--accent-light)}

/* NAV DROPDOWN */
.nav-has-dropdown{position:relative}
.nav-has-dropdown > a::after{content:'';display:inline-block;width:5px;height:5px;border-right:1px solid currentColor;border-bottom:1px solid currentColor;transform:rotate(45deg) translateY(-2px);margin-left:5px;vertical-align:middle;transition:transform .2s}
.nav-has-dropdown:hover > a::after{transform:rotate(-135deg) translateY(-1px)}
/* top:100% + padding-top en el dropdown crea puente de hover continuo — sin gap que corte */
.nav-dropdown{position:absolute;top:100%;left:50%;transform:translateX(-50%) translateY(-4px);background:var(--off-white);border:1px solid var(--border);border-radius:6px;box-shadow:0 12px 40px rgba(10,10,10,.1);padding:0.6rem;padding-top:14px;min-width:220px;opacity:0;pointer-events:none;transition:opacity .18s,transform .18s}
/* pseudo-elemento que cubre los primeros 14px de padding para mantener hover activo */
.nav-dropdown::before{content:'';position:absolute;top:-8px;left:0;right:0;height:8px}
.nav-has-dropdown:hover .nav-dropdown,.nav-has-dropdown.open .nav-dropdown{opacity:1;pointer-events:all;transform:translateX(-50%) translateY(0)}
.nav-dropdown a{display:block;padding:0.6rem 1rem;font-size:0.82rem;color:var(--text-muted);text-decoration:none;border-radius:4px;transition:background .15s,color .15s;white-space:nowrap;letter-spacing:0.02em}
.nav-dropdown a:hover{background:var(--accent-pale);color:var(--accent)}
.nav-dropdown-divider{height:1px;background:var(--border);margin:0.4rem 0}

/* NAV HAMBURGER */
.nav-hamburger{display:none;flex-direction:column;gap:5px;background:none;border:none;cursor:pointer;padding:4px;margin-left:0.5rem}
.nav-hamburger span{display:block;width:22px;height:1.5px;background:var(--text);border-radius:1px;transition:transform .25s,opacity .25s}
.nav-hamburger.open span:nth-child(1){transform:rotate(45deg) translate(4px,4.5px)}
.nav-hamburger.open span:nth-child(2){opacity:0}
.nav-hamburger.open span:nth-child(3){transform:rotate(-45deg) translate(4px,-4.5px)}

/* NAV MOBILE MENU */
.nav-mobile-menu{display:none;position:fixed;top:68px;left:0;right:0;background:var(--off-white);border-bottom:1px solid var(--border);z-index:490;padding:1.5rem 2rem;flex-direction:column;gap:0;max-height:calc(100vh - 68px);overflow-y:auto}
.nav-mobile-menu.open{display:flex}
.nav-mobile-menu a{display:block;padding:0.85rem 0;font-size:0.9rem;color:var(--text-muted);text-decoration:none;border-bottom:1px solid var(--border);transition:color .15s}
.nav-mobile-menu a:hover,.nav-mobile-menu a.active{color:var(--accent)}
.nav-mobile-menu a:last-child{border-bottom:none}
.nav-mobile-section{font-size:0.65rem;letter-spacing:0.16em;text-transform:uppercase;color:var(--text-light);margin-top:1.2rem;margin-bottom:0.3rem;padding-bottom:0;border-bottom:none!important}
.nav-mobile-sub{padding-left:1rem!important;font-size:0.85rem!important}
.nav-mobile-cta{margin-top:1rem;background:var(--accent)!important;color:white!important;text-align:center;border-radius:4px;padding:12px!important;letter-spacing:0.06em;font-weight:500;border-bottom:none!important}

/* ============================================================
   BREADCRUMBS
   ============================================================ */
.breadcrumb{padding:1rem 2.5rem;max-width:1280px;margin:0 auto;display:flex;align-items:center;gap:8px;font-size:0.75rem;color:var(--text-light);flex-wrap:wrap}
.breadcrumb a{color:var(--text-light);text-decoration:none;transition:color .15s}
.breadcrumb a:hover{color:var(--accent)}
.breadcrumb-sep{opacity:.4}
.breadcrumb-wrap{padding-top:68px}

/* ============================================================
   PAGE HERO (for interior pages)
   ============================================================ */
.page-hero{padding:5rem 2.5rem 4rem;background:var(--off-white);border-bottom:1px solid var(--border)}
.page-hero-inner{max-width:1280px;margin:0 auto}
.page-hero .overline{margin-bottom:1.2rem}
.page-hero h1{font-size:clamp(2.2rem,4vw,3.4rem);color:var(--text);font-weight:300;letter-spacing:-0.02em;margin-bottom:1.2rem;max-width:700px}
.page-hero h1 em{font-style:italic;color:var(--accent)}
.page-hero-desc{font-size:1rem;color:var(--text-muted);max-width:560px;line-height:1.8;font-weight:300}
.page-hero-meta{display:flex;align-items:center;gap:2rem;margin-top:2rem;padding-top:2rem;border-top:1px solid var(--border);flex-wrap:wrap}
.page-hero-stat{display:flex;flex-direction:column;gap:2px}
.page-hero-stat-n{font-family:var(--serif);font-size:1.5rem;color:var(--text);font-weight:300;line-height:1}
.page-hero-stat-l{font-size:0.68rem;color:var(--text-muted);letter-spacing:0.04em}
.page-hero-divider{width:1px;height:32px;background:var(--border)}

/* ============================================================
   HERO (landing home)
   ============================================================ */
.hero{min-height:60vh;padding-top:68px;display:grid;grid-template-columns:55% 45%;position:relative}
.hero-left{display:flex;flex-direction:column;justify-content:center;padding:5rem 5rem 5rem 6rem;background:transparent}
.hero-label{font-size:0.7rem;letter-spacing:0.18em;text-transform:uppercase;color:var(--accent);font-weight:500;margin-bottom:2.5rem;display:flex;align-items:center;gap:10px}
.hero-label::before{content:'';width:24px;height:1px;background:var(--accent)}
.hero h1{font-size:clamp(2.6rem,4.5vw,4rem);color:var(--text);margin-bottom:1.8rem;font-weight:300;letter-spacing:-0.02em}
.hero h1 em{font-weight:400;font-style:italic;color:var(--accent)}
.hero-desc{font-size:1rem;color:var(--text-muted);max-width:420px;margin-bottom:1.5rem;line-height:1.8;font-weight:300}
.hero-note{font-size:0.82rem;color:var(--text-light);margin-bottom:2.5rem;font-weight:300}
.hero-note strong{color:var(--accent);font-weight:500}
.hero-actions{display:flex;align-items:center;gap:1.5rem;flex-wrap:wrap;margin-bottom:3rem}
.btn-fill{font-size:0.82rem;font-weight:500;letter-spacing:0.08em;text-transform:uppercase;color:var(--off-white);background:var(--accent);padding:14px 32px;border-radius:3px;text-decoration:none;transition:background .2s;display:inline-block}
.btn-fill:hover{background:var(--accent-light)}
.btn-fill-lg{font-size:0.88rem;padding:16px 36px}
.btn-line{font-size:0.82rem;font-weight:400;letter-spacing:0.04em;color:var(--text-muted);text-decoration:none;display:flex;align-items:center;gap:8px;transition:color .2s;border:none;background:none;cursor:pointer}
.btn-line span{display:inline-block;width:24px;height:1px;background:currentColor;position:relative;transition:width .25s}
.btn-line span::after{content:'';position:absolute;right:0;top:-3px;width:6px;height:6px;border-right:1px solid;border-top:1px solid;transform:rotate(45deg)}
.btn-line:hover{color:var(--text)}
.btn-line:hover span{width:38px}
.btn-outline{font-size:0.82rem;font-weight:500;letter-spacing:0.06em;text-transform:uppercase;color:var(--accent);background:transparent;border:1px solid var(--accent);padding:13px 30px;border-radius:3px;text-decoration:none;transition:all .2s;display:inline-block}
.btn-outline:hover{background:var(--accent);color:white}
.hero-trust{display:flex;align-items:center;gap:2rem;padding-top:1.6rem;border-top:1px solid var(--border)}
.hero-stars{display:flex;gap:3px}
.hero-star{width:11px;height:11px;background:var(--gold);clip-path:polygon(50% 0%,61% 35%,98% 35%,68% 57%,79% 91%,50% 70%,21% 91%,32% 57%,2% 35%,39% 35%)}
.trust-text{font-size:0.78rem;color:var(--text-muted);font-weight:300}
.trust-text strong{color:var(--text);font-weight:500}
.hero-divider{width:1px;height:32px;background:var(--border)}
.hero-stat-n{font-family:var(--serif);font-size:1.4rem;color:var(--text);font-weight:300;line-height:1;display:block}
.hero-stat-l{font-size:0.7rem;color:var(--text-muted);letter-spacing:0.04em;display:block;margin-top:2px}
.hero-right{position:relative;overflow:hidden;background:var(--black)}
.hero-img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:left top;opacity:0.82}
.hero-img-overlay{position:absolute;inset:0;background:linear-gradient(to bottom,rgba(10,10,10,.05) 0%,rgba(10,10,10,.52) 100%)}
.hero-bottom-card{position:absolute;bottom:2.5rem;left:2.5rem;right:2.5rem;background:rgba(249,247,244,0.08);backdrop-filter:blur(16px);border:1px solid rgba(255,255,255,0.12);border-radius:6px;padding:1.4rem 1.8rem;display:flex;align-items:center;justify-content:space-between;gap:1rem}
.hbc-item{text-align:center}
.hbc-n{font-family:var(--serif);font-size:1.7rem;font-weight:300;color:rgba(255,255,255,.95);line-height:1}
.hbc-l{font-size:0.65rem;letter-spacing:0.1em;text-transform:uppercase;color:rgba(255,255,255,.45);margin-top:4px;display:block}
.hbc-div{width:1px;height:36px;background:rgba(255,255,255,.12)}


/* ============================================================
   INFOBAR
   ============================================================ */
.infobar{background:var(--accent);padding:1rem 2.5rem}
.infobar-inner{max-width:1280px;margin:0 auto;display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:1rem}
.infobar-item{display:flex;align-items:center;gap:8px;font-size:0.79rem;color:rgba(255,255,255,.7);font-weight:300}
.infobar-item strong{color:rgba(255,255,255,.9);font-weight:500}

/* ============================================================
   SECTIONS
   ============================================================ */
.section{padding:6rem 2.5rem}
.section-inner{max-width:1280px;margin:0 auto}
.overline{font-size:0.68rem;letter-spacing:0.18em;text-transform:uppercase;color:var(--accent);font-weight:500;display:flex;align-items:center;gap:10px;margin-bottom:1.2rem}
.overline::before{content:'';width:20px;height:1.5px;background:var(--accent)}
.section-title{font-family:var(--serif);font-size:clamp(1.9rem,3vw,2.8rem);color:var(--text);font-weight:300;letter-spacing:-0.01em;line-height:1.18}
.section-title em{font-style:italic;color:var(--accent)}
.section-body{font-size:0.95rem;color:var(--text-muted);font-weight:300;line-height:1.8;max-width:520px}

/* ============================================================
   TRUST BAR
   ============================================================ */
.trust-bar{background:var(--cream);padding:2rem 2.5rem;border-top:1px solid var(--border);border-bottom:1px solid var(--border)}
.trust-bar-inner{max-width:1280px;margin:0 auto;display:flex;align-items:center;justify-content:space-between;gap:2rem;flex-wrap:wrap}
.trust-bar-label{font-size:0.68rem;letter-spacing:0.14em;text-transform:uppercase;color:var(--text-light);font-weight:500;white-space:nowrap}
.trust-badges{display:flex;align-items:center;gap:2.5rem;flex-wrap:wrap}
.trust-badge{display:flex;flex-direction:column;align-items:center;gap:4px}
.trust-badge-icon{width:44px;height:44px;border:1px solid var(--border);border-radius:8px;display:flex;align-items:center;justify-content:center;background:var(--off-white)}
.trust-badge-icon svg{width:22px;height:22px;fill:var(--accent);opacity:.7}
.trust-badge-text{font-size:0.68rem;color:var(--text-light);letter-spacing:0.04em;text-align:center;font-weight:300}

/* ============================================================
   ABOUT
   ============================================================ */
.about-layout{display:grid;grid-template-columns:1fr 1fr;min-height:560px}
.about-img-side{position:relative;overflow:hidden;min-height:520px}
.about-img-side img{width:100%;height:100%;object-fit:cover;object-position:center 30%;display:block}
.about-img-badge{position:absolute;bottom:2.5rem;right:-1px;background:var(--accent);color:white;padding:1.4rem 2rem;border-radius:4px 0 0 4px}
.about-img-badge .badge-n{font-size:2rem;font-weight:300;line-height:1;display:block;font-family:var(--serif)}
.about-img-badge .badge-l{font-size:0.65rem;letter-spacing:0.1em;text-transform:uppercase;opacity:.75;margin-top:4px;display:block;font-family:var(--sans)}
.about-text-side{background:var(--cream);padding:5rem 5rem 5rem 4.5rem;display:flex;flex-direction:column;justify-content:center}
.about-text-side p{font-size:0.95rem;color:var(--text-muted);line-height:1.85;margin:1.2rem 0}
.about-list{list-style:none;display:flex;flex-direction:column;gap:0.85rem;margin-top:1.5rem}
.about-list li{display:flex;align-items:flex-start;gap:12px;font-size:0.87rem;color:var(--text-muted);font-weight:300;line-height:1.6}
.about-list li::before{content:'';width:18px;height:18px;min-width:18px;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='8' viewBox='0 0 10 8'%3E%3Cpath d='M1 4l2.5 2.5L9 1' stroke='%231B4B3A' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/10px no-repeat,var(--accent-pale);border-radius:50%;margin-top:1px}

/* ============================================================
   SERVICES
   ============================================================ */
.services-bg{background:var(--off-white)}
.services-header{display:flex;justify-content:space-between;align-items:flex-end;margin-bottom:3.5rem;gap:2rem;flex-wrap:wrap}
.services-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1px;background:var(--border);border:1px solid var(--border);border-radius:8px;overflow:hidden}
.svc{background:var(--off-white);padding:2.5rem 2.2rem;position:relative;overflow:hidden;transition:background .3s;cursor:default}
.svc::after{content:'';position:absolute;bottom:0;left:0;right:0;height:3px;background:var(--accent);transform:scaleX(0);transform-origin:left;transition:transform .3s cubic-bezier(.4,0,.2,1)}
.svc:hover{background:var(--cream)}
.svc:hover::after{transform:scaleX(1)}
.svc-n{font-size:0.65rem;letter-spacing:0.14em;text-transform:uppercase;color:var(--text-light);font-weight:500;margin-bottom:2rem;display:block}
.svc-name{font-family:var(--serif);font-size:1.25rem;color:var(--text);font-weight:400;margin-bottom:0.8rem;line-height:1.3}
.svc-hr{width:24px;height:1px;background:var(--border);margin-bottom:1rem}
.svc-desc{font-size:0.84rem;color:var(--text-muted);line-height:1.7;font-weight:300;margin-bottom:1.5rem}
.svc-price{font-size:0.75rem;letter-spacing:0.08em;font-weight:500;color:var(--accent);text-transform:uppercase}
.svc-link{display:inline-flex;align-items:center;gap:6px;font-size:0.75rem;font-weight:500;letter-spacing:0.06em;text-transform:uppercase;color:var(--accent);text-decoration:none;margin-top:1rem;transition:gap .2s}
.svc-link:hover{gap:10px}
.svc-link::after{content:'→';font-size:0.8rem}
.svc a{text-decoration:none;display:block}

/* TREATMENT DETAIL PAGE */
.treatment-hero{padding-top:68px;display:grid;grid-template-columns:55% 45%;min-height:80vh}
.treatment-hero-content{display:flex;flex-direction:column;justify-content:center;padding:5rem 5rem 5rem 6rem;background:var(--off-white)}
.treatment-hero-img{position:relative;overflow:hidden}
.treatment-hero-img img{width:100%;height:100%;object-fit:cover;object-position:center top;display:block}
.treatment-price-card{background:var(--accent-pale);border:1px solid rgba(27,75,58,.15);border-radius:8px;padding:2rem;margin-top:2rem}
.treatment-price-card h3{font-family:var(--serif);font-size:1.1rem;font-weight:400;color:var(--text);margin-bottom:1rem}
.treatment-price-row{display:flex;justify-content:space-between;align-items:center;padding:0.6rem 0;border-bottom:1px solid rgba(27,75,58,.1);font-size:0.88rem}
.treatment-price-row:last-child{border-bottom:none}
.treatment-price-row .price{font-weight:500;color:var(--accent)}
.treatment-steps{counter-reset:step;display:flex;flex-direction:column;gap:2rem;margin-top:2rem}
.treatment-step{display:flex;gap:1.5rem;align-items:flex-start}
.treatment-step-num{width:40px;height:40px;min-width:40px;background:var(--accent);color:white;border-radius:50%;display:flex;align-items:center;justify-content:center;font-family:var(--serif);font-size:1rem;font-weight:400;margin-top:2px}
.treatment-step-title{font-family:var(--serif);font-size:1rem;font-weight:400;color:var(--text);margin-bottom:5px}
.treatment-step-text{font-size:0.85rem;color:var(--text-muted);line-height:1.7;font-weight:300}
.treatment-faq .faq-bg{background:var(--off-white)}
.treatment-sidebar{position:sticky;top:88px;display:flex;flex-direction:column;gap:1rem}
.treatment-cta-card{background:var(--accent);color:white;border-radius:8px;padding:2rem}
.treatment-cta-card h3{font-family:var(--serif);font-size:1.2rem;font-weight:300;color:white;margin-bottom:0.6rem}
.treatment-cta-card p{font-size:0.85rem;color:rgba(255,255,255,.65);line-height:1.7;margin-bottom:1.5rem;font-weight:300}
.treatment-cta-card .btn-fill{background:white;color:var(--accent);width:100%;text-align:center}
.treatment-cta-card .btn-fill:hover{background:var(--cream)}
.treatment-info-card{background:var(--cream);border:1px solid var(--border);border-radius:8px;padding:1.5rem}
.treatment-info-card h4{font-family:var(--serif);font-size:0.95rem;font-weight:400;color:var(--text);margin-bottom:0.8rem}
.treatment-info-row{display:flex;gap:10px;font-size:0.82rem;color:var(--text-muted);padding:0.5rem 0;border-bottom:1px solid var(--border);font-weight:300}
.treatment-info-row:last-child{border-bottom:none}
.treatment-info-row strong{color:var(--text);font-weight:500;min-width:80px}
.two-col-layout{display:grid;grid-template-columns:1fr 340px;gap:4rem;align-items:start}

/* ============================================================
   GALLERY
   ============================================================ */
.gallery{display:grid;grid-template-columns:2fr 1fr 1fr;grid-template-rows:360px;gap:3px;background:var(--black)}
.gal-item{position:relative;overflow:hidden}
.gal-item img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .6s cubic-bezier(.4,0,.2,1)}
.gal-item:hover img{transform:scale(1.04)}
.gal-caption{position:absolute;bottom:0;left:0;right:0;padding:1.2rem 1.5rem;background:linear-gradient(to top,rgba(0,0,0,.65) 0%,transparent 100%);font-size:0.7rem;letter-spacing:0.12em;text-transform:uppercase;color:rgba(255,255,255,.65);font-weight:400}

/* ============================================================
   TEAM — Home editorial section
   ============================================================ */
.team-section{background:var(--cream)}
.team-intro{max-width:600px;margin-bottom:3.5rem}
.team-intro-desc{font-size:0.93rem;color:var(--text-muted);line-height:1.85;margin-top:1rem;font-weight:300}
.team-list{display:flex;flex-direction:column;border-top:1px solid var(--border)}
.team-member{display:grid;grid-template-columns:172px 1fr;gap:2.8rem;align-items:start;padding:2.8rem 0;border-bottom:1px solid var(--border)}
.team-member-portrait{overflow:hidden;aspect-ratio:3/4;border-radius:3px;filter:grayscale(15%);transition:filter .5s ease}
.team-member:hover .team-member-portrait{filter:grayscale(0)}
.team-member-portrait picture{display:block;width:100%;height:100%}
.team-member-portrait img{width:100%;height:100%;object-fit:cover;object-position:top;display:block}
.team-member-content{padding-top:0.25rem}
.team-member-name{font-family:var(--serif);font-size:1.4rem;font-weight:400;color:var(--text);letter-spacing:-0.01em;line-height:1.1;margin-bottom:0.45rem}
.team-member-role{font-size:0.66rem;letter-spacing:0.14em;text-transform:uppercase;color:var(--accent);font-weight:500;display:block;margin-bottom:1.1rem}
.team-member-bio{font-size:0.87rem;color:var(--text-muted);line-height:1.85;font-weight:300;max-width:500px}
.team-section-footer{margin-top:2.5rem;display:flex;justify-content:flex-end}
.team-section-link{font-size:0.8rem;font-weight:500;letter-spacing:0.05em;color:var(--accent);text-decoration:none;display:inline-flex;align-items:center;gap:7px;transition:gap .2s ease}
.team-section-link:hover{gap:13px}
.team-section-link svg{transition:transform .2s ease}
.team-section-link:hover svg{transform:translateX(4px)}

/* TEAM FULL PAGE (equipo.html) */
.team-full-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:0;margin-top:3.5rem;border-top:1px solid var(--border)}
.team-full-card{display:grid;grid-template-columns:160px 1fr;gap:0;align-items:start;padding:2.5rem 2rem;border-bottom:1px solid var(--border);border-right:1px solid var(--border);background:transparent;transition:background .2s}
.team-full-card:hover{background:white}
.team-full-card:nth-child(even){border-right:none}
.team-full-card > picture{display:block;width:160px;aspect-ratio:3/4;overflow:hidden;border-radius:3px;filter:grayscale(12%);transition:filter .4s ease;flex-shrink:0}
.team-full-card:hover > picture{filter:grayscale(0)}
.team-full-card-img{width:100%;height:100%;object-fit:cover;object-position:top;display:block}
.team-full-card-info{padding:0 0 0 1.8rem}
.team-full-card-name{font-family:var(--serif);font-size:1.2rem;font-weight:400;color:var(--text);margin-bottom:4px;line-height:1.15;letter-spacing:-0.01em}
.team-full-card-role{font-size:0.65rem;letter-spacing:0.13em;text-transform:uppercase;color:var(--accent);margin-bottom:0.9rem;font-weight:500;display:block}
.team-full-card-bio{font-size:0.83rem;color:var(--text-muted);line-height:1.8;font-weight:300;margin-bottom:1rem}
.team-full-card-tags{display:flex;flex-wrap:wrap;gap:6px}
.team-tag{font-size:0.67rem;letter-spacing:0.05em;background:var(--accent-pale);color:var(--accent);border:1px solid rgba(27,75,58,.1);padding:4px 10px;border-radius:100px;font-weight:400}

/* SLOT BUTTONS — CSS-driven states (no inline JS styles) */
.bk-slot{background:white;border:1.5px solid var(--border);border-radius:6px;padding:9px 4px;font-family:var(--sans);font-size:0.82rem;font-weight:400;color:var(--text);cursor:pointer;transition:border-color .15s,background .15s,color .15s;text-align:center;width:100%;line-height:1}
.bk-slot:hover:not(.bk-slot-sel){border-color:var(--accent);background:var(--accent-pale);color:var(--accent)}
.bk-slot-sugerida:not(.bk-slot-sel){border-color:var(--gold);color:var(--gold)}
.bk-slot-sugerida:hover:not(.bk-slot-sel){background:rgba(196,147,58,.07)}
.bk-slot-sel{background:var(--accent);border-color:var(--accent);color:white;font-weight:500}
.bk-slot-ocupada{background:#FEF2F2;border-color:#FCA5A5;color:#9B1C1C;cursor:pointer}
.bk-slot-ocupada:hover{background:#FEE2E2;border-color:#EF4444;color:#7F1D1D}

/* ============================================================
   WHY
   ============================================================ */
.why-bg{background:var(--cream)}
.why-layout{display:grid;grid-template-columns:1fr 1fr;gap:5rem;align-items:center}
.why-img-col img{width:100%;height:500px;object-fit:cover;display:block;border-radius:4px}
.why-list{display:flex;flex-direction:column;gap:2.2rem}
.why-item{display:flex;gap:1.5rem;align-items:flex-start}
.why-item-num{width:36px;height:36px;min-width:36px;border:1px solid var(--border);border-radius:50%;display:flex;align-items:center;justify-content:center;font-family:var(--serif);font-size:0.9rem;font-weight:400;color:var(--accent);margin-top:2px}
.why-item-title{font-family:var(--serif);font-size:1rem;font-weight:400;color:var(--text);margin-bottom:5px}
.why-item-text{font-size:0.85rem;color:var(--text-muted);line-height:1.7;font-weight:300}

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testi-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1.5rem;margin-top:3.5rem}
.testi-card{background:var(--cream);border:1px solid var(--warm-gray);border-radius:6px;padding:2.2rem;position:relative}
.testi-qmark{font-family:var(--serif);font-size:5rem;line-height:1;color:var(--warm-gray);position:absolute;top:0.8rem;left:1.5rem;pointer-events:none;font-weight:300}
.testi-stars{display:flex;gap:3px;margin-bottom:1.2rem;position:relative;z-index:1}
.testi-star{width:10px;height:10px;background:var(--gold);clip-path:polygon(50% 0%,61% 35%,98% 35%,68% 57%,79% 91%,50% 70%,21% 91%,32% 57%,2% 35%,39% 35%)}
.testi-text{font-family:var(--serif);font-size:0.95rem;font-style:italic;color:var(--text);line-height:1.78;margin-bottom:1.8rem;position:relative;z-index:1;font-weight:300}
.testi-author{display:flex;align-items:center;gap:12px}
.testi-ini{width:38px;height:38px;border-radius:50%;background:var(--warm-gray);display:flex;align-items:center;justify-content:center;font-family:var(--serif);font-size:0.85rem;color:var(--text-muted);flex-shrink:0}
.testi-name{font-size:0.85rem;font-weight:500;color:var(--text)}
.testi-meta{font-size:0.72rem;color:var(--text-light)}

/* ============================================================
   FAQ
   ============================================================ */
.faq-bg{background:var(--off-white)}
.faq-layout{display:grid;grid-template-columns:1fr 1.6fr;gap:5rem;align-items:start}
.faq-intro p{font-size:0.92rem;color:var(--text-muted);line-height:1.8;font-weight:300;margin-top:1.5rem}
.faq-list{display:flex;flex-direction:column;gap:0}
.faq-item{border-bottom:1px solid var(--border)}
.faq-item:first-child{border-top:1px solid var(--border)}
.faq-q{width:100%;background:none;border:none;text-align:left;padding:1.4rem 0;cursor:pointer;display:flex;justify-content:space-between;align-items:center;gap:1rem}
.faq-q-text{font-family:var(--serif);font-size:1rem;font-weight:400;color:var(--text);line-height:1.4}
.faq-icon{width:20px;height:20px;min-width:20px;border:1px solid var(--border);border-radius:50%;display:flex;align-items:center;justify-content:center;transition:background .2s,border-color .2s;position:relative}
.faq-icon::before,.faq-icon::after{content:'';position:absolute;background:var(--text-muted);border-radius:1px;transition:transform .25s,opacity .25s}
.faq-icon::before{width:8px;height:1px}
.faq-icon::after{width:1px;height:8px}
.faq-item.open .faq-icon{background:var(--accent);border-color:var(--accent)}
.faq-item.open .faq-icon::before,.faq-item.open .faq-icon::after{background:white}
.faq-item.open .faq-icon::after{transform:rotate(90deg);opacity:0}
.faq-a{display:none;padding:0 0 1.4rem;font-size:0.88rem;color:var(--text-muted);line-height:1.8;font-weight:300}
.faq-item.open .faq-a{display:block}

/* ============================================================
   BOOKING FORM
   ============================================================ */
.booking-bg{background:var(--cream)}
.booking-layout{display:grid;grid-template-columns:1fr 1.15fr;gap:5rem;align-items:start}
.booking-left{padding-top:0.5rem}
.booking-left .section-body{margin:1.5rem 0 2rem}
.booking-urgency{background:var(--accent-pale);border:1px solid rgba(27,75,58,.15);border-radius:6px;padding:1.2rem 1.5rem;margin-bottom:2rem;font-size:0.85rem;color:var(--accent);font-weight:400;line-height:1.6}
.booking-urgency strong{font-weight:600;display:block;margin-bottom:4px;font-size:0.87rem}
.booking-checklist{list-style:none;display:flex;flex-direction:column;gap:0.85rem;margin-bottom:2.5rem}
.booking-checklist li{display:flex;align-items:flex-start;gap:12px;font-size:0.87rem;color:var(--text-muted);font-weight:300;line-height:1.6}
.booking-check{width:18px;height:18px;min-width:18px;background:var(--accent);border-radius:50%;display:flex;align-items:center;justify-content:center;margin-top:1px;flex-shrink:0}
.booking-check::after{content:'';border:1.5px solid white;border-top:none;border-right:none;width:7px;height:4px;transform:rotate(-45deg) translateY(-1px);display:block}
.booking-tel-label{font-size:0.68rem;letter-spacing:0.12em;text-transform:uppercase;color:var(--text-light);margin-bottom:6px;display:block}
.booking-tel{font-family:var(--serif);font-size:1.9rem;color:var(--text);font-weight:300;letter-spacing:-0.01em;text-decoration:none;display:block}
.booking-tel:hover{color:var(--accent)}

/* ============================================================
   FORMS
   ============================================================ */
.form-panel{background:var(--off-white);border:1px solid var(--border);border-radius:8px;padding:2.5rem}
.form-panel-title{font-family:var(--serif);font-size:1.4rem;font-weight:400;color:var(--text);margin-bottom:0.4rem}
.form-panel-sub{font-size:0.82rem;color:var(--text-muted);margin-bottom:1.8rem;font-weight:300}
.form-row{display:grid;grid-template-columns:1fr 1fr;gap:1rem}
.field{display:flex;flex-direction:column;gap:6px;margin-bottom:1rem}
.field label{font-size:0.7rem;font-weight:500;letter-spacing:0.1em;text-transform:uppercase;color:var(--text-muted)}
.field input,.field select,.field textarea{border:1px solid var(--border);border-radius:4px;padding:10px 13px;font-family:var(--sans);font-size:0.9rem;color:var(--text);background:var(--off-white);outline:none;transition:border-color .2s;width:100%;font-weight:300}
.field input:focus,.field select:focus,.field textarea:focus{border-color:var(--accent)}
.field textarea{resize:vertical;min-height:78px}
.field select{appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%236B6560' stroke-width='1.2' fill='none'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 12px center;padding-right:30px}
.form-submit{width:100%;background:var(--accent);color:var(--off-white);border:none;padding:14px;border-radius:4px;font-family:var(--sans);font-size:0.82rem;font-weight:500;letter-spacing:0.08em;text-transform:uppercase;cursor:pointer;transition:background .2s;margin-top:0.5rem}
.form-submit:hover{background:var(--accent-light)}
.form-legal{font-size:0.72rem;color:var(--text-light);text-align:center;margin-top:0.8rem}
.form-ok{display:none;text-align:center;padding:3rem 1rem}
.form-ok-icon{width:52px;height:52px;border:1px solid var(--accent);border-radius:50%;display:flex;align-items:center;justify-content:center;margin:0 auto 1.5rem;color:var(--accent);font-family:var(--serif);font-size:1.3rem}
.form-ok h3{font-family:var(--serif);font-size:1.4rem;font-weight:400;color:var(--text);margin-bottom:0.6rem}
.form-ok p{font-size:0.87rem;color:var(--text-muted);line-height:1.7;font-weight:300}

/* ============================================================
   CONTACT
   ============================================================ */
.contact-layout{display:grid;grid-template-columns:1fr 1fr;gap:5rem;align-items:start}
.contact-blocks{margin-top:2.5rem}
.cb{padding:1.6rem 0;border-bottom:1px solid var(--border);display:grid;grid-template-columns:90px 1fr;gap:1rem;align-items:start}
.cb:first-child{border-top:1px solid var(--border)}
.cb-label{font-size:0.68rem;letter-spacing:0.12em;text-transform:uppercase;color:var(--text-light);padding-top:2px}
.cb-val{font-family:var(--serif);font-size:1.05rem;color:var(--text);font-weight:400;line-height:1.4}
.cb-sub{font-size:0.82rem;color:var(--text-muted);font-weight:300;margin-top:3px}

/* ============================================================
   CTA BAND
   ============================================================ */
.cta-band{position:relative;overflow:hidden;min-height:420px;display:flex;align-items:center;justify-content:center;text-align:center}
.cta-band-img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center 30%}
.cta-band-overlay{position:absolute;inset:0;background:rgba(10,10,10,.76)}
.cta-band-content{position:relative;z-index:1;padding:4rem 2rem;max-width:560px}
.cta-band-content .overline{justify-content:center;color:rgba(255,255,255,.4)}
.cta-band-content .overline::before{background:rgba(255,255,255,.4)}
.cta-band-content h2{font-family:var(--serif);font-size:clamp(2rem,4vw,2.8rem);font-weight:300;color:white;margin:1rem 0 1.2rem;letter-spacing:-0.01em}
.cta-band-content h2 em{font-style:italic;color:#A8C5B8}
.cta-band-content p{font-size:0.92rem;color:rgba(255,255,255,.5);margin-bottom:2.5rem;line-height:1.8;font-weight:300}
.cta-band-actions{display:flex;align-items:center;justify-content:center;gap:1.5rem;flex-wrap:wrap}
.btn-fill-white{font-size:0.82rem;font-weight:500;letter-spacing:0.08em;text-transform:uppercase;color:var(--accent);background:white;padding:14px 32px;border-radius:3px;text-decoration:none;transition:all .2s;display:inline-block}
.btn-fill-white:hover{background:var(--cream)}
.btn-outline-white{font-size:0.82rem;font-weight:400;letter-spacing:0.06em;text-transform:uppercase;color:rgba(255,255,255,.7);border:1px solid rgba(255,255,255,.3);padding:13px 30px;border-radius:3px;text-decoration:none;transition:all .2s;display:inline-block}
.btn-outline-white:hover{border-color:white;color:white}

/* ============================================================
   TECH STRIP
   ============================================================ */
.tech-strip{display:grid;grid-template-columns:55% 45%;min-height:500px;background:var(--black)}
.tech-strip-img-col{position:relative;overflow:hidden}
.tech-strip-img-col img{width:100%;height:100%;object-fit:cover;object-position:left top;display:block;opacity:.85}
.tech-strip-img-col::after{content:'';position:absolute;inset:0;background:linear-gradient(to right,transparent 55%,var(--black) 100%)}
.tech-strip-content{display:flex;flex-direction:column;justify-content:center;padding:5rem 4rem 5rem 3rem}
.tech-strip-title{font-family:var(--serif);font-size:clamp(1.9rem,3vw,2.6rem);color:white;font-weight:300;letter-spacing:-0.02em;margin:1rem 0 1.4rem;line-height:1.15}
.tech-strip-title em{color:#A8C5B8;font-style:italic}
.tech-strip-body{font-size:0.9rem;color:rgba(255,255,255,.45);line-height:1.85;font-weight:300;max-width:360px}
.tech-strip-stats{display:flex;align-items:center;gap:2rem;margin-top:2.5rem;padding-top:2rem;border-top:1px solid rgba(255,255,255,.08)}
.tech-stat{display:flex;flex-direction:column;gap:4px}
.tech-stat-n{font-family:var(--serif);font-size:1.5rem;color:rgba(255,255,255,.9);font-weight:300;line-height:1}
.tech-stat-l{font-size:0.62rem;letter-spacing:0.1em;text-transform:uppercase;color:rgba(255,255,255,.3)}
.tech-stat-div{width:1px;height:36px;background:rgba(255,255,255,.1)}

/* ============================================================
   BLOG
   ============================================================ */
.blog-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:2rem;margin-top:3.5rem}
.blog-card{background:var(--cream);border:1px solid var(--border);border-radius:8px;overflow:hidden;transition:box-shadow .3s,transform .3s}
.blog-card:hover{box-shadow:0 12px 40px rgba(10,10,10,.08);transform:translateY(-3px)}
.blog-card-img{width:100%;height:220px;object-fit:cover;display:block;filter:grayscale(10%);transition:filter .4s}
.blog-card:hover .blog-card-img{filter:grayscale(0)}
.blog-card-body{padding:1.8rem}
.blog-card-cat{font-size:0.65rem;letter-spacing:0.16em;text-transform:uppercase;color:var(--accent);font-weight:500;margin-bottom:0.6rem}
.blog-card-title{font-family:var(--serif);font-size:1.05rem;font-weight:400;color:var(--text);line-height:1.35;margin-bottom:0.7rem}
.blog-card-excerpt{font-size:0.82rem;color:var(--text-muted);line-height:1.7;font-weight:300;margin-bottom:1.2rem}
.blog-card-footer{display:flex;align-items:center;justify-content:space-between;font-size:0.72rem;color:var(--text-light)}
.blog-card a{text-decoration:none;display:block}
.blog-empty{text-align:center;padding:5rem 2rem;background:var(--cream);border:1px solid var(--border);border-radius:8px;margin-top:3rem}
.blog-empty h3{font-family:var(--serif);font-size:1.4rem;font-weight:300;color:var(--text);margin-bottom:0.6rem}
.blog-empty p{font-size:0.9rem;color:var(--text-muted);line-height:1.7;font-weight:300;max-width:420px;margin:0 auto 1.5rem}
.blog-cats{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:2.5rem}
.blog-cat-btn{font-size:0.72rem;letter-spacing:0.08em;text-transform:uppercase;padding:7px 16px;border-radius:100px;border:1px solid var(--border);color:var(--text-muted);text-decoration:none;background:var(--off-white);transition:all .15s;cursor:pointer;font-family:var(--sans)}
.blog-cat-btn:hover,.blog-cat-btn.active{background:var(--accent);color:white;border-color:var(--accent)}

/* ============================================================
   CHATBOT / FAB
   ============================================================ */
.chat-wrap{position:fixed;bottom:2rem;right:2rem;z-index:400}
.fab-wrap{position:relative;display:flex;flex-direction:column;align-items:flex-end;gap:0}
.fab-main{width:56px;height:56px;background:var(--accent);border:none;border-radius:50%;cursor:pointer;display:flex;align-items:center;justify-content:center;box-shadow:0 6px 24px rgba(27,75,58,.35);transition:background .2s,transform .15s;flex-shrink:0}
.fab-main:hover{background:var(--accent-light);transform:scale(1.05)}
.fab-menu{display:flex;flex-direction:column;align-items:flex-end;gap:10px;margin-bottom:12px;pointer-events:none;opacity:0;transform:translateY(8px) scale(.95);transition:opacity .2s,transform .2s;transform-origin:bottom right}
.fab-menu.open{pointer-events:all;opacity:1;transform:none}
.fab-option{display:flex;align-items:center;gap:10px;background:none;border:none;cursor:pointer;padding:0;text-decoration:none}
.fab-label{background:white;color:#1a1a2e;font-size:13px;font-weight:500;padding:6px 12px;border-radius:100px;box-shadow:0 2px 8px rgba(0,0,0,.12);white-space:nowrap;font-family:inherit}
.fab-icon-wrap{width:44px;height:44px;border-radius:50%;display:flex;align-items:center;justify-content:center;box-shadow:0 4px 12px rgba(0,0,0,.15);flex-shrink:0}
.fab-icon-wa{background:#25D366}
.fab-icon-chat{background:var(--accent)}
.fab-icon-msg,.fab-icon-x{transition:opacity .15s,transform .15s}
.fab-backdrop{display:none;position:fixed;inset:0;z-index:399}
.fab-backdrop.open{display:block}
.chat-open-btn{width:56px;height:56px;background:var(--accent);border:none;border-radius:4px;cursor:pointer;display:flex;align-items:center;justify-content:center;box-shadow:0 6px 24px rgba(27,75,58,.35);transition:background .2s,transform .15s}
.chat-open-btn:hover{background:var(--accent-light);transform:translateY(-2px)}
.chat-open-btn svg{width:22px;height:22px;fill:none;stroke:white;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.chat-win{position:absolute;bottom:68px;right:0;width:360px;background:var(--off-white);border:1px solid var(--border);border-radius:8px;box-shadow:0 20px 60px rgba(10,10,10,.16);display:none;flex-direction:column;overflow:hidden}
.chat-win.open{display:flex}
.chat-head{background:var(--accent);padding:1.2rem 1.5rem;display:flex;align-items:center;gap:12px}
.chat-avatar{width:38px;height:38px;background:rgba(255,255,255,.15);border-radius:4px;display:flex;align-items:center;justify-content:center;font-family:var(--serif);font-size:0.9rem;color:white;font-weight:400;flex-shrink:0}
.chat-head-name{font-family:var(--serif);font-size:1rem;font-weight:400;color:white}
.chat-head-status{font-size:0.7rem;color:rgba(255,255,255,.5);display:flex;align-items:center;gap:5px}
.chat-head-status::before{content:'';width:5px;height:5px;background:#6EE7B7;border-radius:50%}
.chat-close{background:none;border:none;cursor:pointer;color:rgba(255,255,255,.4);font-size:1rem;margin-left:auto;transition:color .2s;padding:2px;line-height:1}
.chat-close:hover{color:white}
.chat-msgs{height:280px;overflow-y:auto;padding:1.2rem;display:flex;flex-direction:column;gap:10px;background:var(--cream)}
.msg{max-width:85%;padding:10px 14px;font-size:0.84rem;line-height:1.55;font-weight:300}
.msg.bot{background:var(--off-white);color:var(--text);border:1px solid var(--border);align-self:flex-start;border-radius:2px 10px 10px 10px}
.msg.user{background:var(--accent);color:white;align-self:flex-end;border-radius:10px 2px 10px 10px}
.msg-ts{font-size:0.65rem;opacity:.4;margin-top:4px}
.chat-quick{display:flex;flex-wrap:wrap;gap:6px;padding:.7rem 1.2rem;border-top:1px solid var(--border);background:var(--off-white)}
.q-btn{font-family:var(--sans);font-size:0.73rem;font-weight:400;color:var(--accent);background:var(--accent-pale);border:1px solid rgba(27,75,58,.15);padding:5px 12px;border-radius:100px;cursor:pointer;transition:all .15s}
.q-btn:hover{background:var(--accent);color:white;border-color:var(--accent)}
.chat-inp-row{display:flex;gap:8px;padding:.8rem 1.2rem;border-top:1px solid var(--border);align-items:center;background:var(--off-white)}
.chat-inp{flex:1;border:1px solid var(--border);border-radius:4px;padding:9px 13px;font-family:var(--sans);font-size:0.84rem;color:var(--text);outline:none;transition:border-color .2s;background:var(--cream);font-weight:300}
.chat-inp:focus{border-color:var(--accent)}
.chat-send{background:var(--accent);color:white;border:none;border-radius:4px;width:36px;height:36px;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:background .2s;flex-shrink:0}
.chat-send:hover{background:var(--accent-light)}
.chat-send svg{width:15px;height:15px;fill:none;stroke:white;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}

/* ============================================================
   FOOTER (light)
   ============================================================ */
footer{background:var(--off-white);border-top:1px solid var(--border);padding:4.5rem 2.5rem 2.5rem}
.footer-inner{max-width:1280px;margin:0 auto}
.footer-grid{display:grid;grid-template-columns:1.8fr 1fr 1fr 1fr;gap:4rem;padding-bottom:3rem;border-bottom:1px solid var(--border);margin-bottom:2rem}
.footer-logo{display:flex;align-items:center;gap:12px;margin-bottom:1.75rem}
.footer-logo-name{font-family:var(--serif);font-size:1.1rem;font-weight:400;color:var(--text);line-height:1.2;letter-spacing:0.01em}
.footer-logo-sub{font-size:0.67rem;letter-spacing:0.12em;text-transform:uppercase;color:var(--text-muted);font-weight:500;margin-top:2px}
.footer-address{margin-bottom:1.2rem}
.footer-address p,.footer-hours p{font-size:0.81rem;color:var(--text-muted);line-height:1.95;font-weight:300;margin:0}
.footer-urgencias{font-weight:600!important;font-size:0.73rem!important;letter-spacing:0.1em;color:var(--accent)!important;margin-top:0.2rem!important}
.footer-col h5{font-size:0.64rem;letter-spacing:0.15em;text-transform:uppercase;color:var(--text-light);margin-bottom:1.2rem;font-weight:600}
.footer-col ul{list-style:none;display:flex;flex-direction:column;gap:0.62rem}
.footer-col ul li a{font-size:0.84rem;color:var(--text-muted);text-decoration:none;transition:color .2s;font-weight:300}
.footer-col ul li a:hover{color:var(--accent)}
.footer-bottom{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:1rem;font-size:0.72rem;color:var(--text-light)}
.footer-bottom-legal{display:flex;gap:1.5rem}
.footer-bottom-legal a{font-size:0.72rem;color:var(--text-light);text-decoration:none;font-weight:400;transition:color .2s}
.footer-bottom-legal a:hover{color:var(--text)}

/* ============================================================
   SOBRE NOSOTROS — values/mission sections
   ============================================================ */
.values-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:2rem;margin-top:3rem}
.value-card{background:var(--cream);border:1px solid var(--border);border-radius:8px;padding:2.2rem}
.value-icon{width:44px;height:44px;background:var(--accent-pale);border-radius:8px;display:flex;align-items:center;justify-content:center;margin-bottom:1.2rem}
.value-icon svg{width:20px;height:20px;stroke:var(--accent);fill:none;stroke-width:1.6}
.value-title{font-family:var(--serif);font-size:1.05rem;font-weight:400;color:var(--text);margin-bottom:0.5rem}
.value-text{font-size:0.85rem;color:var(--text-muted);line-height:1.7;font-weight:300}
.timeline{display:flex;flex-direction:column;gap:0}
.timeline-item{display:grid;grid-template-columns:90px 1fr;gap:1.5rem;padding:2rem 0;border-bottom:1px solid var(--border);position:relative}
.timeline-item:first-child{border-top:1px solid var(--border)}
.timeline-year{font-family:var(--serif);font-size:1.2rem;color:var(--accent);font-weight:300;padding-top:2px}
.timeline-title{font-family:var(--serif);font-size:1rem;font-weight:400;color:var(--text);margin-bottom:5px}
.timeline-text{font-size:0.85rem;color:var(--text-muted);line-height:1.7;font-weight:300}
.mission-layout{display:grid;grid-template-columns:1fr 1fr;gap:5rem;align-items:center}
.mission-img{width:100%;height:500px;object-fit:cover;border-radius:4px;display:block}

/* ============================================================
   STATS ROW
   ============================================================ */
.stats-row{display:grid;grid-template-columns:repeat(4,1fr);gap:0;border:1px solid var(--border);border-radius:8px;overflow:hidden;background:var(--border)}
.stat-box{background:var(--cream);padding:2.5rem 2rem;text-align:center}
.stat-box-n{font-family:var(--serif);font-size:2.2rem;font-weight:300;color:var(--text);line-height:1;display:block}
.stat-box-l{font-size:0.72rem;letter-spacing:0.1em;text-transform:uppercase;color:var(--text-light);margin-top:6px;display:block}

/* ============================================================
   FORM FIELD ERRORS (inline validation)
   ============================================================ */
.field input.field-invalid,
.field textarea.field-invalid,
.field select.field-invalid{border-color:#C94040!important;box-shadow:0 0 0 3px rgba(201,64,64,.1)}
.field-error-msg{display:block;font-size:0.74rem;color:#C94040;margin-top:5px;font-weight:400;letter-spacing:0.01em}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media(max-width:1100px){
  .hero{min-height:auto}
  .hero-left{padding:4rem 2.5rem 3rem;max-width:100%}
  .hero-right{min-height:420px}
  .about-layout{grid-template-columns:1fr}
  .about-img-side{min-height:380px}
  .services-grid{grid-template-columns:1fr 1fr}
  .testi-grid,.values-grid{grid-template-columns:1fr 1fr}
  .team-member{grid-template-columns:144px 1fr;gap:2rem}
  .team-full-grid{grid-template-columns:1fr}
  .booking-layout,.contact-layout,.why-layout,.faq-layout,.mission-layout{grid-template-columns:1fr;gap:3rem}
  .footer-grid{grid-template-columns:1fr 1fr}
  .tech-strip{grid-template-columns:1fr;min-height:auto}
  .tech-strip-img-col{min-height:340px}
  .tech-strip-img-col::after{background:linear-gradient(to bottom,transparent 55%,var(--black) 100%)}
  .tech-strip-content{padding:3rem 2.5rem}
  .treatment-hero{grid-template-columns:1fr;min-height:auto}
  .treatment-hero-img{min-height:380px}
  .treatment-hero-content{padding:4rem 2.5rem}
  .two-col-layout{grid-template-columns:1fr;gap:3rem}
  .treatment-sidebar{position:static}
  .stats-row{grid-template-columns:1fr 1fr}
  .blog-grid{grid-template-columns:1fr 1fr}
}
@media(max-width:720px){
  nav .nav-links,.nav-tel{display:none}
  .nav-hamburger{display:flex}
  .section{padding:4rem 1.5rem}
  .services-grid,.testi-grid,.team-full-grid,.values-grid,.blog-grid{grid-template-columns:1fr}
  .team-member{grid-template-columns:1fr;gap:1.2rem}
  .team-member-portrait{aspect-ratio:4/3;max-height:220px}
  .team-full-card{grid-template-columns:1fr;padding:2rem 1.5rem}
  .team-full-card > picture{width:100%;aspect-ratio:3/2}
  .team-full-card:nth-child(even){border-right:1px solid var(--border)}
  .team-full-card-info{padding:1.2rem 0 0}
  .form-row{grid-template-columns:1fr}
  .gallery{grid-template-columns:1fr;grid-template-rows:240px 200px 200px}
  .footer-grid{grid-template-columns:1fr;gap:2rem}
  .infobar-inner{flex-direction:column;align-items:flex-start}
  .trust-bar-inner{flex-direction:column;align-items:flex-start}
  .tech-strip-content{padding:2rem 1.5rem}
  .tech-strip-stats{gap:1.2rem}
  .stats-row{grid-template-columns:1fr 1fr}
  .page-hero{padding:3rem 1.5rem 2.5rem}
  .breadcrumb{padding:0.8rem 1.5rem}
  .nav-inner{padding:0 1.5rem}
  .hero-left{padding:3rem 1.5rem 2.5rem}
}

/* ============================================================
   CRO ENHANCEMENTS — Hero micro copy
   ============================================================ */
.hero-cta-micro{font-size:0.78rem;color:var(--text-light);font-weight:300;letter-spacing:0.01em}
.hero-cta-micro::before{content:'';display:inline-block;width:6px;height:6px;border-radius:50%;background:var(--accent);margin-right:8px;vertical-align:middle;opacity:.55}

/* ============================================================
   CÓMO ES TU PRIMERA VISITA (cv-*)
   ============================================================ */
.cv-section{padding:6rem 2.5rem;background:var(--off-white);border-top:1px solid var(--border)}
.cv-header{max-width:680px;margin-bottom:3.5rem}
.cv-intro{font-size:0.95rem;color:var(--text-muted);font-weight:300;line-height:1.8;margin-top:1.2rem}
.cv-steps{display:grid;grid-template-columns:repeat(4,1fr);gap:1px;background:var(--border);border:1px solid var(--border);border-radius:10px;overflow:hidden;position:relative}
.cv-step{background:var(--off-white);padding:2.2rem 1.8rem 2.4rem;position:relative;transition:background .25s}
.cv-step:hover{background:var(--cream)}
.cv-step-head{display:flex;align-items:baseline;justify-content:space-between;margin-bottom:1.5rem;gap:0.5rem}
.cv-step-n{font-family:var(--serif);font-size:1.8rem;color:var(--accent);font-weight:300;line-height:1;letter-spacing:-0.01em}
.cv-step-time{font-size:0.66rem;letter-spacing:0.12em;text-transform:uppercase;color:var(--text-light);font-weight:500;background:var(--accent-pale);padding:4px 9px;border-radius:3px;white-space:nowrap}
.cv-step-title{font-family:var(--serif);font-size:1.1rem;color:var(--text);font-weight:400;margin-bottom:0.7rem;line-height:1.3}
.cv-step-text{font-size:0.83rem;color:var(--text-muted);line-height:1.7;font-weight:300}
.cv-footer{margin-top:2.5rem;display:flex;align-items:center;gap:1.5rem;flex-wrap:wrap}
.cv-footer-note{font-size:0.78rem;color:var(--text-light);font-weight:300}

/* ============================================================
   GARANTÍA BAND
   ============================================================ */
.guarantee-band{background:var(--accent);padding:5rem 2.5rem;position:relative;overflow:hidden}
.guarantee-band::before{content:'';position:absolute;inset:0;background:radial-gradient(ellipse at top right,rgba(255,255,255,.06) 0%,transparent 55%);pointer-events:none}
.guarantee-inner{max-width:1100px;margin:0 auto;display:grid;grid-template-columns:auto 1fr;gap:3rem;align-items:center;position:relative}
.guarantee-mark{width:96px;height:96px;border-radius:50%;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.16);display:flex;align-items:center;justify-content:center;color:rgba(255,255,255,.92);flex-shrink:0}
.guarantee-overline{color:rgba(255,255,255,.55)!important;margin-bottom:1rem}
.guarantee-overline::before{background:rgba(255,255,255,.55)!important}
.guarantee-title{font-family:var(--serif);font-size:clamp(1.8rem,3vw,2.6rem);color:white;font-weight:300;letter-spacing:-0.01em;line-height:1.18;margin-bottom:1.2rem}
.guarantee-title em{font-style:italic;color:rgba(255,255,255,.78);font-weight:400}
.guarantee-text{font-size:0.95rem;color:rgba(255,255,255,.78);line-height:1.8;font-weight:300;margin-bottom:1.8rem;max-width:620px}
.guarantee-cta{display:inline-block;background:white;color:var(--accent);padding:15px 34px;border-radius:3px;text-decoration:none;font-size:0.85rem;font-weight:500;letter-spacing:0.06em;text-transform:uppercase;transition:transform .15s,box-shadow .2s;box-shadow:0 8px 28px rgba(0,0,0,.16)}
.guarantee-cta:hover{transform:translateY(-1px);box-shadow:0 12px 32px rgba(0,0,0,.22)}

/* ============================================================
   CTA BAND MICRO
   ============================================================ */
.cta-band-micro{font-size:0.78rem;color:rgba(255,255,255,.55);font-weight:300;margin-top:1.1rem;letter-spacing:0.01em}

/* ============================================================
   HERO IMAGE BLEND — Contacto & Blog
   ============================================================ */
.hero-img-blend{position:relative;overflow:hidden}
.hero-img-blend img{filter:grayscale(7%);transition:filter .4s}
.hero-img-blend::after{content:'';position:absolute;inset:0;background:linear-gradient(to right,#F9F7F4 0%,rgba(249,247,244,0) 38%),linear-gradient(to left,#F9F7F4 0%,rgba(249,247,244,0) 22%),linear-gradient(to bottom,#F9F7F4 0%,rgba(249,247,244,0) 26%),linear-gradient(to top,#F9F7F4 0%,rgba(249,247,244,0) 26%);pointer-events:none}
@media(max-width:768px){
  .hero-img-blend::after{background:linear-gradient(to right,#F9F7F4 0%,rgba(249,247,244,0) 20%),linear-gradient(to left,#F9F7F4 0%,rgba(249,247,244,0) 20%),linear-gradient(to top,#F9F7F4 0%,rgba(249,247,244,0) 32%)}
}

/* ============================================================
   STICKY MOBILE CTA BAR
   ============================================================ */
.sm-cta-bar{display:none;position:fixed;bottom:0;left:0;right:0;z-index:480;background:rgba(249,247,244,0.98);backdrop-filter:blur(12px);border-top:1px solid var(--border);padding:10px 14px;gap:10px;box-shadow:0 -8px 24px rgba(0,0,0,.06)}
.sm-cta-call{flex:0 0 auto;display:flex;align-items:center;justify-content:center;gap:7px;padding:13px 18px;border:1.5px solid var(--accent);border-radius:4px;color:var(--accent);background:white;text-decoration:none;font-size:0.85rem;font-weight:500;letter-spacing:0.03em}
.sm-cta-call svg{flex-shrink:0}
.sm-cta-reserve{flex:1 1 auto;display:flex;align-items:center;justify-content:center;padding:13px 18px;background:var(--accent);color:white;text-decoration:none;border-radius:4px;font-size:0.88rem;font-weight:500;letter-spacing:0.05em;text-transform:uppercase}
.sm-cta-reserve:active{background:var(--accent-light)}

/* ============================================================
   RESPONSIVE — CRO additions
   ============================================================ */
@media(max-width:1100px){
  .cv-steps{grid-template-columns:repeat(2,1fr)}
  .guarantee-inner{grid-template-columns:1fr;gap:1.8rem;text-align:left}
  .guarantee-mark{width:72px;height:72px}
  .guarantee-mark svg{width:40px;height:40px}
}
@media(max-width:768px){
  .cv-section{padding:4rem 1.5rem}
  .cv-steps{grid-template-columns:1fr;border-radius:8px}
  .cv-step{padding:1.8rem 1.5rem}
  .cv-header{margin-bottom:2.5rem}
  .cv-footer{margin-top:2rem;flex-direction:column;align-items:flex-start;gap:0.9rem}
  .guarantee-band{padding:3.5rem 1.5rem}
  .guarantee-title{font-size:1.7rem}
  .guarantee-text{font-size:0.9rem}
  .guarantee-cta{width:100%;text-align:center;padding:14px 20px}
  .sm-cta-bar{display:flex}
  body{padding-bottom:72px}
  .hero-cta-micro{display:block;margin-top:0.4rem}
}

/* ============================================================
   MOBILE OVERRIDES COMPLETOS
   ============================================================ */

/* ─── 1100px — tablet landscape ─────────────────────────────── */
@media(max-width:1100px){
  .primera-visita{padding:4.5rem 2rem}
  .primera-visita-header{gap:3rem;margin-bottom:3.5rem}
}

/* ─── 768px — tablet portrait / móvil grande ────────────────── */
@media(max-width:768px){

  /* FAB: sube por encima de la barra sticky */
  .chat-wrap{bottom:5.5rem;right:1rem}

  /* Hero: columna única, sin hero-right vacío */
  .hero{grid-template-columns:1fr}
  .hero-right{display:none}

  /* Hero CTA: botones apilados y full-width */
  .hero-actions{flex-direction:column;align-items:stretch;gap:0.85rem}
  .hero-actions .btn-fill{text-align:center;display:block}
  .hero-actions .btn-line{justify-content:center}

  /* Hero trust: envuelve limpio */
  .hero-trust{flex-wrap:wrap;gap:1rem;padding-top:1.2rem}
  .hero-divider{display:none}

  /* About text: padding reducido */
  .about-text-side{padding:3rem 1.5rem}
  .about-img-badge{padding:1rem 1.4rem}
  .about-img-badge .badge-n{font-size:1.5rem}

  /* Why: oculta columna imagen en móvil (ya es 1 col desde 1100px) */
  .why-img-col{display:none}
  .why-layout{gap:0}
  .why-list{gap:1.8rem}

  /* Services: celda con menos padding */
  .svc{padding:2rem 1.8rem}

  /* Testi: elimina comilla enorme que desplaza */
  .testi-qmark{font-size:3.5rem;top:0.5rem;left:1rem}

  /* FAQ */
  .faq-layout{grid-template-columns:1fr;gap:2rem}
  .faq-q-text{font-size:0.95rem}

  /* Booking section */
  .booking-layout{gap:2rem}
  .booking-tel{font-size:1.5rem}

  /* Contact */
  .contact-layout{gap:2rem}
  .cb{grid-template-columns:76px 1fr}
  .cb-val{font-size:0.96rem}

  /* CTA band: botones apilados */
  .cta-band-actions{flex-direction:column;align-items:stretch;gap:0.75rem}
  .btn-fill-white,.btn-outline-white{text-align:center;display:block}
  .cta-band-content h2{font-size:1.75rem}
  .cta-band-content{max-width:100%;padding:3rem 1.5rem}

  /* Page hero interior pages */
  .page-hero h1{font-size:clamp(1.75rem,7vw,2.4rem)}
  .page-hero-meta{gap:1rem;padding-top:1.2rem;margin-top:1.2rem}
  .page-hero-divider{display:none}
  .page-hero-stat-n{font-size:1.2rem}

  /* Treatment hero */
  .treatment-hero-content{padding:2.5rem 1.5rem}
  .treatment-hero-img{min-height:300px}

  /* Two-col layout para páginas de tratamiento */
  .two-col-layout{gap:2.5rem}
  .treatment-sidebar{gap:0.75rem}

  /* Timeline (sobre-nosotros) */
  .timeline-item{grid-template-columns:72px 1fr;gap:1rem}
  .timeline-year{font-size:1rem}

  /* Infobar */
  .infobar{padding:0.9rem 1.5rem}
  .infobar-item{font-size:0.75rem}

  /* Guarantee mark */
  .guarantee-inner{gap:1.2rem}
  .guarantee-mark{width:60px;height:60px}

  /* Stats row (sobre-nosotros) */
  .stat-box{padding:2rem 1.2rem}
  .stat-box-n{font-size:1.8rem}

  /* Footer bottom: centrado y apilado */
  .footer-bottom{flex-direction:column;align-items:center;text-align:center;gap:0.7rem}
  .footer-bottom-legal{justify-content:center;gap:1.2rem}
  footer{padding:3.5rem 1.5rem 2rem}
  .footer-grid{gap:2rem}
  .footer-logo{margin-bottom:1.2rem}
}

/* ─── 480px — móvil pequeño ─────────────────────────────────── */
@media(max-width:480px){

  /* Base padding más ajustado */
  .section{padding:3rem 1.2rem}
  .nav-inner{padding:0 1rem}
  footer{padding:3rem 1.2rem 2rem}

  /* Hero h1 */
  .hero h1{font-size:clamp(1.75rem,8vw,2.2rem)}
  .hero-trust-row{gap:0.7rem}
  .hero-trust-item{font-size:0.72rem}

  /* Servicios */
  .svc{padding:1.8rem 1.4rem}
  .svc-name{font-size:1.15rem}

  /* FAQ */
  .faq-q{padding:1.2rem 0}
  .faq-q-text{font-size:0.9rem}

  /* Testimonios */
  .testi-card{padding:1.8rem 1.4rem}
  .testi-text{font-size:0.9rem}

  /* Team member portrait: landscape corto */
  .team-member-portrait{aspect-ratio:3/2;max-height:180px}

  /* Blog card */
  .blog-card-img{height:180px}
  .blog-card-body{padding:1.4rem}

  /* Contact cb: 1 col total */
  .cb{grid-template-columns:1fr;gap:0.25rem}
  .cb-label{font-size:0.63rem}
  .cb-val{font-size:0.92rem}

  /* Page hero interior */
  .page-hero{padding:2.5rem 1.2rem 2rem}
  .page-hero h1{font-size:clamp(1.6rem,8vw,2rem)}
  .page-hero-desc{font-size:0.9rem}
  .breadcrumb{padding:0.6rem 1.2rem}

  /* Treatment hero */
  .treatment-hero-content{padding:2rem 1.2rem}
  .treatment-hero-img{min-height:240px}
  .treatment-price-card{padding:1.5rem}

  /* Stats band */
  .stats-band{padding:1rem 1.2rem}
  .stat-item{min-width:130px}
  .stat-n{font-size:1.1rem}

  /* Infobar: texto aún más compacto */
  .infobar-item{font-size:0.72rem}

  /* About image badge */
  .about-img-badge{padding:0.9rem 1.2rem}
  .about-img-badge .badge-n{font-size:1.3rem}
  .about-img-badge .badge-l{font-size:0.6rem}

  /* Why list */
  .why-item{gap:1rem}
  .why-item-num{width:30px;height:30px;min-width:30px;font-size:0.8rem}

  /* Footer columns */
  .footer-grid{gap:1.5rem}
  .footer-col h5{margin-bottom:0.9rem}
  .footer-col ul{gap:0.5rem}
  .footer-col ul li a{font-size:0.82rem}
  .footer-address p,.footer-hours p{font-size:0.78rem}

  /* Gallery */
  .gallery{grid-template-rows:200px 180px 180px}

  /* CTA band */
  .cta-band-content h2{font-size:1.5rem}
  .cta-band{min-height:360px}

  /* Booking/contact layout */
  .booking-urgency{padding:1rem 1.2rem}
  .booking-tel{font-size:1.35rem}

  /* Team full card */
  .team-full-card{padding:1.5rem 1.2rem}
  .team-full-card-bio{font-size:0.8rem}

  /* Guarantee */
  .guarantee-cta{font-size:0.8rem}
  .guarantee-title{font-size:1.5rem}

  /* Stat boxes */
  .stat-box{padding:1.6rem 1rem}
  .stat-box-n{font-size:1.6rem}

  /* Values grid mobile */
  .values-grid{grid-template-columns:1fr;gap:1rem}
  .value-card{padding:1.8rem}

  /* Timeline */
  .timeline-item{grid-template-columns:60px 1fr;gap:0.8rem;padding:1.5rem 0}
  .timeline-year{font-size:0.95rem}

  /* Chat FAB tamaño reducido */
  .chat-wrap{right:0.8rem}
  .fab-main{width:50px;height:50px}
}
