/* Royal Services, LLC — estilos compartidos */
:root{
  --bg:#F2F2EE;
  --surface:#FFFFFF;
  --surface-2:#F7F6F3;
  --ink:#0F2A3D;
  --ink-2:#17384F;
  --ink-line:rgba(255,255,255,.12);
  --text:#161E25;
  --muted:#5B646C;
  --muted-dark:#A9BDCB;
  --line:#E2E1DB;
  --gold:#C9A04E;
  --gold-hi:#DDB968;
  --gold-deep:#83621D;
  --gold-soft:#F4ECDA;
  --cream:#FAF4E6;
  --cream-line:#EEE2C6;
  --r-xl:28px;
  --r-lg:20px;
  --r-md:14px;
  --shadow:0 1px 2px rgba(15,42,61,.05), 0 18px 40px -18px rgba(15,42,61,.24);
  --ease:cubic-bezier(.2,.7,.2,1);
}
*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth; scroll-padding-top:88px}
body{margin:0; background:var(--bg); color:var(--text); font-family:'Onest',system-ui,-apple-system,'Segoe UI',sans-serif; font-size:16px; line-height:1.6; -webkit-font-smoothing:antialiased}
img{max-width:100%; display:block}
a{color:inherit; text-decoration:none}
h1,h2,h3{margin:0; font-weight:600; letter-spacing:-.025em; line-height:1.08; color:inherit}
h1{font-size:clamp(2.5rem,5vw,4.1rem); line-height:1.02; letter-spacing:-.035em}
h2{font-size:clamp(2rem,3.4vw,2.9rem)}
h3{font-size:1.125rem; letter-spacing:-.01em; line-height:1.25}
p{margin:0}
button{font:inherit; color:inherit}
:focus-visible{outline:3px solid var(--gold); outline-offset:3px; border-radius:8px}

.wrap{max-width:1200px; margin:0 auto; padding:0 24px}
.ico{width:20px; height:20px; stroke:currentColor; fill:none; stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round; flex-shrink:0}
.sr-only{position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap}

/* ---------- etiquetas y botones ---------- */
.label{display:inline-flex; align-items:center; gap:8px; padding:6px 14px 6px 12px; border:1px solid var(--line); border-radius:999px; background:var(--surface); font-size:13px; font-weight:500; color:var(--text); line-height:1.3}
.label::before{content:''; width:6px; height:6px; border-radius:50%; background:var(--gold)}
.label.on-dark{background:transparent; border-color:var(--ink-line); color:#fff}

.btn{display:inline-flex; align-items:center; justify-content:center; gap:14px; min-height:52px; padding:0 22px; border-radius:999px; font-size:15px; font-weight:600; border:1px solid transparent; cursor:pointer; transition:background .2s, border-color .2s, color .2s; white-space:nowrap}
.btn .btn-ico{display:grid; place-items:center; width:38px; height:38px; border-radius:50%; background:var(--gold); color:var(--ink); transition:transform .3s var(--ease)}
.btn .btn-ico .ico{width:18px; height:18px; stroke-width:2.2}
.btn:hover .btn-ico{transform:rotate(45deg)}
.btn-dark{background:var(--ink); color:#fff; padding-right:7px}
.btn-dark:hover{background:var(--ink-2)}
.btn-gold{background:var(--gold); color:var(--ink)}
.btn-gold:hover{background:var(--gold-hi)}
.btn-line{background:var(--surface); border-color:var(--line); color:var(--text)}
.btn-line:hover{border-color:var(--text)}
.btn-line.on-dark{background:transparent; border-color:var(--ink-line); color:#fff}
.btn-line.on-dark:hover{border-color:#fff}

/* ---------- navegación ---------- */
.nav{position:sticky; top:0; z-index:60; background:rgba(246,238,220,.9); backdrop-filter:blur(14px); -webkit-backdrop-filter:blur(14px); border-bottom:1px solid transparent; transition:border-color .2s}
.nav.scrolled{border-color:var(--line); background:rgba(242,242,238,.9)}
.nav .wrap{display:flex; align-items:center; gap:32px; height:76px}
.brand{display:flex; align-items:center; gap:10px; font-weight:600; font-size:17px; letter-spacing:-.01em}
.brand img{width:40px; height:40px; object-fit:contain}
.nav-links{display:flex; gap:28px; margin-left:auto; font-size:15px; color:var(--muted)}
.nav-links a{padding:6px 0; transition:color .2s}
.nav-links a:hover, .nav-links a[aria-current="page"]{color:var(--text)}
.nav-actions{display:flex; align-items:center; gap:18px}
.nav-phone{display:flex; align-items:center; gap:8px; font-size:15px; font-weight:500}
.nav-phone .ico{width:17px; height:17px; color:var(--gold-deep)}
.nav .btn{min-height:46px; font-size:14px}
.nav .btn .btn-ico{width:34px; height:34px}
.menu-btn{display:none; width:46px; height:46px; border-radius:50%; border:1px solid var(--line); background:var(--surface); place-items:center; cursor:pointer; margin-left:auto}
@media (max-width:1060px){ .nav-phone{display:none} }
@media (max-width:900px){
  .menu-btn{display:grid}
  .nav-actions .btn{display:none}
  .nav-links{position:absolute; top:76px; left:12px; right:12px; flex-direction:column; gap:0; padding:8px; background:var(--surface); border-radius:var(--r-lg); box-shadow:var(--shadow); font-size:17px; color:var(--text); display:none}
  .nav-links.open{display:flex}
  .nav-links a{padding:14px 16px; border-radius:12px}
  .nav-links a:hover{background:var(--surface-2)}
}

/* ---------- hero ---------- */
.hero{padding:40px 0 24px; background:linear-gradient(180deg, #F6EEDC 0%, #F5F0E4 40%, var(--bg) 100%)}
.hero-grid{display:grid; grid-template-columns:1fr 1.12fr; gap:64px; align-items:center}
.hero-copy .label{margin-bottom:26px}
.hero-copy h1{margin-bottom:22px; max-width:13ch}
.hero-copy .lead{font-size:18px; color:var(--muted); max-width:46ch; margin-bottom:34px}
.cta-row{display:flex; flex-wrap:wrap; gap:12px}
.hero-checks{display:flex; flex-wrap:wrap; gap:10px 22px; list-style:none; padding:0; margin:34px 0 0; font-size:14px; font-weight:500}
.hero-checks li{display:flex; align-items:center; gap:8px}
.hero-checks .ico{width:18px; height:18px; color:var(--gold-deep); stroke-width:2.4}

.hero-media{position:relative; margin-bottom:64px}
.compare{--pos:50%; position:relative; aspect-ratio:1/0.96; border-radius:var(--r-xl); overflow:hidden; background:var(--ink); cursor:ew-resize; touch-action:pan-y; user-select:none; -webkit-user-select:none}
.compare img{position:absolute; inset:0; width:100%; height:100%; object-fit:cover; pointer-events:none; transition:opacity .35s}
.compare .after{clip-path:inset(0 0 0 var(--pos))}
.compare.swapping img{opacity:0}
.compare .seam{position:absolute; top:0; bottom:0; left:var(--pos); width:2px; margin-left:-1px; background:#fff; box-shadow:0 0 12px rgba(0,0,0,.25); pointer-events:none}
.compare .handle{position:absolute; top:50%; left:var(--pos); width:54px; height:54px; transform:translate(-50%,-50%); border-radius:50%; border:0; background:#fff; color:var(--ink); display:grid; place-items:center; box-shadow:0 8px 24px rgba(0,0,0,.28); cursor:ew-resize; padding:0}
.compare .handle .ico{width:24px; height:24px; stroke-width:2.2}
.compare .handle:focus-visible{outline:3px solid var(--gold); outline-offset:3px; border-radius:50%}
.tag{position:absolute; top:16px; padding:6px 12px; border-radius:999px; background:rgba(15,42,61,.62); backdrop-filter:blur(8px); -webkit-backdrop-filter:blur(8px); color:#fff; font-size:12px; font-weight:600; letter-spacing:.06em; text-transform:uppercase; pointer-events:none}
.tag-before{left:16px}
.tag-after{right:16px}

.compare .after{object-position:50% 100%}
.switcher{position:absolute; left:-56px; bottom:-64px; width:318px; z-index:2; background:var(--surface); border-radius:var(--r-lg); padding:16px; box-shadow:var(--shadow)}
.switcher-head{display:flex; justify-content:space-between; align-items:baseline; margin-bottom:12px}
.switcher-head strong{font-size:14px; font-weight:600}
.switcher-head span{font-size:12px; color:var(--muted)}
.thumbs{display:grid; grid-template-columns:repeat(3,1fr); gap:8px}
.thumb{background:none; border:0; padding:0; cursor:pointer; text-align:left}
.thumb img{width:100%; aspect-ratio:1; object-fit:cover; border-radius:12px; transition:box-shadow .2s}
.thumb span{display:block; font-size:12px; font-weight:500; color:var(--muted); margin-top:6px}
.thumb[aria-pressed="true"] img{box-shadow:0 0 0 2px var(--surface), 0 0 0 4px var(--gold)}
.thumb[aria-pressed="true"] span{color:var(--text)}
.switcher-caption{margin-top:12px; padding-top:12px; border-top:1px solid var(--line); font-size:13px; color:var(--muted); line-height:1.45}
.switcher-caption b{color:var(--text); font-weight:600}

@media (max-width:1100px){ .switcher{left:16px} }
@media (max-width:960px){
  .hero-grid{grid-template-columns:1fr; gap:40px}
  .hero-media{margin-bottom:0}
  .switcher{position:relative; left:auto; bottom:auto; width:auto; margin:-36px 16px 0}
}

/* ---------- franja de confianza ---------- */
.trust{display:grid; grid-template-columns:repeat(4,1fr); margin-top:64px; background:var(--cream); border:1px solid var(--cream-line); border-radius:var(--r-lg)}
.trust > div{display:flex; gap:14px; padding:24px}
.trust > div + div{border-left:1px solid var(--cream-line)}
.trust .t-ico{display:grid; place-items:center; width:40px; height:40px; border-radius:50%; background:var(--gold); color:var(--ink); flex-shrink:0}
.trust h3{font-size:15px; margin:2px 0 4px}
.trust p{font-size:14px; color:var(--muted); line-height:1.45}
@media (max-width:960px){
  .trust{grid-template-columns:1fr 1fr}
  .trust > div:nth-child(3){border-left:0}
  .trust > div:nth-child(n+3){border-top:1px solid var(--cream-line)}
}
@media (max-width:560px){
  .trust{grid-template-columns:1fr}
  .trust > div + div{border-left:0; border-top:1px solid var(--cream-line)}
}

/* ---------- secciones ---------- */
.section{padding:104px 0 0}
.section-head{display:flex; justify-content:space-between; align-items:flex-end; gap:32px; margin-bottom:44px}
.section-head .label{margin-bottom:18px}
.section-head h2{max-width:18ch}
.section-head p{color:var(--muted); max-width:44ch}
@media (max-width:760px){ .section{padding-top:80px} .section-head{flex-direction:column; align-items:flex-start; gap:16px} }

/* quiénes somos */
.about{display:grid; grid-template-columns:1fr 1.08fr; gap:64px; align-items:center}
.about-media{display:grid; grid-template-columns:1fr 1fr; gap:16px}
.about-media figure{margin:0; border-radius:var(--r-lg); overflow:hidden; position:relative}
.about-media img{width:100%; height:100%; object-fit:cover}
.about-media .tall{grid-row:span 2; aspect-ratio:3/4.4}
.about-media .square{aspect-ratio:1}
.fact{background:var(--ink); color:#fff; border-radius:var(--r-lg); padding:22px; display:flex; flex-direction:column; justify-content:flex-end; aspect-ratio:1}
.fact strong{font-size:56px; font-weight:600; line-height:1; letter-spacing:-.04em; color:var(--gold-hi)}
.fact span{font-size:14px; color:var(--muted-dark); margin-top:8px; line-height:1.4}
.chip-photo{position:absolute; left:12px; bottom:12px; padding:6px 12px; border-radius:999px; background:rgba(255,255,255,.88); backdrop-filter:blur(8px); font-size:12px; font-weight:500}
.about-copy .label{margin-bottom:22px}
.about-copy .big{font-size:clamp(1.35rem,2.2vw,1.75rem); line-height:1.38; font-weight:500; letter-spacing:-.015em; margin-bottom:22px}
.about-copy .big em{font-style:normal; color:var(--gold-deep)}
.about-copy > p:not(.big){color:var(--muted); max-width:52ch}
.points{display:grid; grid-template-columns:1fr 1fr; gap:24px; margin-top:36px; padding-top:28px; border-top:1px solid var(--line)}
.points h3{font-size:16px; margin-bottom:6px}
.points p{font-size:14px; color:var(--muted)}
@media (max-width:960px){ .about{grid-template-columns:1fr; gap:44px} }
@media (max-width:480px){ .points{grid-template-columns:1fr} .fact strong{font-size:42px} }

/* servicios */
.svc-grid{display:grid; grid-template-columns:repeat(4,1fr); gap:16px}
.svc-card{background:var(--surface); border-radius:var(--r-lg); padding:10px 10px 22px; transition:transform .3s var(--ease), box-shadow .3s}
.svc-card img{width:100%; aspect-ratio:4/3; object-fit:cover; border-radius:var(--r-md)}
.svc-card .body{padding:16px 10px 0}
.svc-card h3{margin-bottom:6px}
.svc-card p, .svc-mini p{font-size:14px; color:var(--muted); line-height:1.5}
.svc-mini{background:var(--surface); border-radius:var(--r-lg); padding:22px; display:flex; flex-direction:column; transition:transform .3s var(--ease), box-shadow .3s}
.svc-mini .s-ico{margin-bottom:0 !important}
.svc-mini h3{margin-top:auto; padding-top:28px}
.svc-mini p{min-height:3em}
.svc-mini .s-ico{display:grid; place-items:center; width:46px; height:46px; border-radius:50%; background:var(--gold); color:var(--ink); margin-bottom:28px}
.svc-mini .s-ico .ico{width:22px; height:22px}
.svc-mini h3{margin-bottom:6px}
.svc-card:hover, .svc-mini:hover{transform:translateY(-3px); box-shadow:var(--shadow)}
@media (max-width:960px){ .svc-grid{grid-template-columns:1fr 1fr} }
@media (max-width:520px){ .svc-grid{grid-template-columns:1fr} }

/* banda oscura: un solo contratista */
.band{background:var(--ink); color:#fff; border-radius:var(--r-xl); padding:64px; display:grid; grid-template-columns:1fr 1fr; gap:64px; align-items:center}
.band .label{margin-bottom:20px}
.band h2{margin-bottom:18px}
.band p{color:var(--muted-dark); max-width:44ch; margin-bottom:32px}
.combos{list-style:none; margin:0; padding:0}
.combos li{padding:20px 0; border-bottom:1px solid var(--ink-line); font-size:clamp(1.05rem,1.8vw,1.3rem); font-weight:500; letter-spacing:-.01em}
.combos li:first-child{border-top:1px solid var(--ink-line)}
.combos .plus{color:var(--gold); margin:0 10px; font-weight:400}
@media (max-width:900px){ .band{grid-template-columns:1fr; padding:44px 28px; gap:36px} }

/* proyectos */
.proj-grid{display:grid; grid-template-columns:repeat(4,1fr); grid-auto-rows:270px; gap:16px}
.proj{position:relative; border-radius:var(--r-lg); overflow:hidden; background:var(--ink); color:#fff; isolation:isolate}
.proj img{position:absolute; inset:0; width:100%; height:100%; object-fit:cover; transition:transform .8s var(--ease); z-index:-2}
.proj::after{content:''; position:absolute; inset:0; background:linear-gradient(to top, rgba(9,30,45,.85) 0%, rgba(9,30,45,.28) 45%, rgba(9,30,45,0) 70%); z-index:-1}
.proj:hover img{transform:scale(1.05)}
.proj.featured{grid-column:span 2; grid-row:span 2}
.proj.featured img{object-position:50% 100%}
.proj .count{position:absolute; top:14px; right:14px; padding:5px 11px; border-radius:999px; background:rgba(255,255,255,.9); color:var(--text); font-size:12px; font-weight:600}
.proj .p-body{position:absolute; left:20px; right:20px; bottom:18px}
.proj h3{color:#fff; margin-bottom:10px}
.proj.featured h3{font-size:clamp(1.5rem,2.4vw,2rem)}
.proj .p-tags{display:flex; flex-wrap:wrap; gap:6px}
.proj .p-tags span{padding:4px 10px; border-radius:999px; background:rgba(255,255,255,.14); backdrop-filter:blur(6px); -webkit-backdrop-filter:blur(6px); border:1px solid rgba(255,255,255,.18); font-size:12px}
.proj .p-arrow{position:absolute; top:14px; left:14px; width:38px; height:38px; border-radius:50%; background:var(--gold); color:var(--ink); display:grid; place-items:center; transition:transform .3s var(--ease)}
.proj .p-arrow .ico{width:18px; height:18px; stroke-width:2.2}
.proj:hover .p-arrow{transform:rotate(45deg)}
@media (max-width:960px){ .proj-grid{grid-template-columns:1fr 1fr; grid-auto-rows:240px} .proj.featured{grid-row:span 1} }
@media (max-width:560px){ .proj-grid{grid-template-columns:1fr} .proj.featured{grid-column:auto} .proj .p-tags span:nth-child(n+3){display:none} }

/* proceso */
.process{display:grid; grid-template-columns:.9fr 1.1fr; gap:72px; align-items:center}
.process figure{margin:0; position:relative; border-radius:var(--r-xl); overflow:hidden; aspect-ratio:4/4.6}
.process figure img{width:100%; height:100%; object-fit:cover; object-position:50% 12%}
.process .label{margin-bottom:18px}
.process h2{margin-bottom:28px; max-width:16ch}
.steps{list-style:none; margin:0 0 36px; padding:0}
.steps li{display:grid; grid-template-columns:64px 1fr; gap:16px; padding:24px 0; border-top:1px solid var(--line)}
.steps li:last-child{border-bottom:1px solid var(--line)}
.steps .n{display:grid; place-items:center; width:44px; height:44px; border-radius:50%; background:var(--gold); color:var(--ink); font-size:14px; font-weight:600; font-variant-numeric:tabular-nums}
.steps h3{font-size:20px; margin-bottom:6px}
.steps p{color:var(--muted); font-size:15px}
@media (max-width:960px){ .process{grid-template-columns:1fr; gap:44px} .process figure{aspect-ratio:4/3} }

/* contacto */
.contact{background:var(--ink); color:#fff; border-radius:var(--r-xl); padding:64px; display:grid; grid-template-columns:1fr 1.05fr; gap:64px}
.contact .label{margin-bottom:20px}
.contact h2{margin-bottom:16px}
.contact-copy > p{color:var(--muted-dark); max-width:40ch; margin-bottom:36px}
.contact-list{display:grid; gap:20px; margin:0 0 40px}
.contact-list dt{font-size:12px; letter-spacing:.08em; text-transform:uppercase; color:var(--muted-dark); margin-bottom:2px}
.contact-list dd{margin:0; font-size:19px; font-weight:500; letter-spacing:-.01em}
.contact-list a:hover{color:var(--gold-hi)}
.contact > *{min-width:0}
.contact-list dd{overflow-wrap:anywhere}
.contact-copy > p.areas-title{font-size:14px; font-weight:600; color:#fff; margin:0 0 12px}
.areas{display:flex; flex-wrap:wrap; list-style:none; padding:0; margin:0 -8px -8px 0}
.areas li{margin:0 8px 8px 0; padding:7px 14px; border:1px solid var(--ink-line); border-radius:999px; font-size:14px; line-height:1.4; color:#E6EAED}

.form-card{background:var(--surface); color:var(--text); border-radius:var(--r-lg); padding:32px}
.form-card h3{font-size:22px; margin-bottom:6px}
.form-card > p{font-size:14px; color:var(--muted); margin-bottom:24px}
.fields{display:grid; grid-template-columns:1fr 1fr; gap:14px}
.field{display:flex; flex-direction:column; gap:6px}
.field.full{grid-column:1 / -1}
.field label{font-size:13px; font-weight:500}
.field input, .field select, .field textarea{width:100%; min-height:50px; padding:12px 14px; border-radius:12px; border:1px solid var(--line); background:var(--surface-2); font:inherit; font-size:15px; color:var(--text); transition:border-color .2s, background .2s}
.field textarea{min-height:110px; resize:vertical}
.field input:focus, .field select:focus, .field textarea:focus{outline:none; border-color:var(--gold); background:#fff; box-shadow:0 0 0 3px var(--gold-soft)}
.form-card .btn{width:100%; margin-top:20px; justify-content:space-between; padding-left:24px}
.form-note{font-size:13px; color:var(--muted); margin-top:14px; text-align:center}
@media (max-width:960px){ .contact{grid-template-columns:1fr; padding:44px 24px; gap:0} .contact .form-card{margin-top:48px} }
@media (max-width:520px){ .fields{grid-template-columns:1fr} .form-card{padding:24px 18px} }

/* pie */
.footer{padding:72px 0 40px}
.footer-top{display:flex; justify-content:space-between; gap:40px; flex-wrap:wrap; padding-bottom:32px; border-bottom:1px solid var(--line)}
.footer-top .brand{margin-bottom:12px}
.footer-top p{color:var(--muted); font-size:14px; max-width:34ch}
.footer-cols{display:flex; gap:64px; flex-wrap:wrap}
.footer-cols h4{font-size:13px; font-weight:600; margin:0 0 12px}
.footer-cols ul{list-style:none; margin:0; padding:0; display:grid; gap:8px; font-size:14px; color:var(--muted)}
.footer-cols a:hover{color:var(--text)}
.footer-bottom{display:flex; justify-content:space-between; gap:12px; flex-wrap:wrap; padding-top:24px; font-size:13px; color:var(--muted)}

/* barra móvil */
.mbar{display:none}
@media (max-width:760px){
  body{padding-bottom:84px}
  .mbar{display:grid; grid-template-columns:1fr 1fr; gap:6px; position:fixed; left:12px; right:12px; bottom:12px; z-index:70; padding:6px; border-radius:999px; background:rgba(15,42,61,.95); backdrop-filter:blur(10px); -webkit-backdrop-filter:blur(10px); box-shadow:0 10px 30px rgba(0,0,0,.25)}
  .mbar a{display:flex; align-items:center; justify-content:center; gap:8px; min-height:48px; border-radius:999px; font-size:15px; font-weight:600; color:#fff}
  .mbar a.wa{background:var(--gold); color:var(--ink)}
  .mbar .ico{width:18px; height:18px}
}

/* aparición al hacer scroll */
.js .reveal{opacity:0; transform:translateY(18px); transition:opacity .8s var(--ease), transform .8s var(--ease)}
.js .reveal.in{opacity:1; transform:none}
@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  *,*::before,*::after{transition:none !important; animation:none !important}
  .js .reveal{opacity:1; transform:none}
}

/* ---------- página: nuestro trabajo ---------- */
.page-hero{padding:56px 0 8px; background:linear-gradient(180deg, #F6EEDC 0%, #F5F0E4 45%, var(--bg) 100%)}
.page-hero .label{margin-bottom:22px}
.page-hero h1{max-width:16ch; margin-bottom:18px}
.page-hero p{font-size:18px; color:var(--muted); max-width:52ch}

.work-grid{display:grid; grid-template-columns:1fr 1fr; gap:20px}
.work-card{background:var(--surface); border-radius:var(--r-lg); padding:10px; border:0; text-align:left; cursor:pointer; transition:transform .3s var(--ease), box-shadow .3s; display:flex; flex-direction:column}
.work-card:hover{transform:translateY(-3px); box-shadow:var(--shadow)}
.work-card .cover{position:relative; aspect-ratio:4/3; border-radius:var(--r-md); overflow:hidden}
.work-card .cover img{width:100%; height:100%; object-fit:cover; transition:transform .8s var(--ease)}
.work-card:hover .cover img{transform:scale(1.04)}
.work-card .count{position:absolute; top:12px; right:12px; padding:5px 11px; border-radius:999px; background:rgba(255,255,255,.92); font-size:12px; font-weight:600}
.work-card .body{padding:18px 12px 14px; display:flex; flex-direction:column; gap:12px; flex:1}
.work-card h2{font-size:22px; letter-spacing:-.02em}
.work-card .w-tags{display:flex; flex-wrap:wrap; gap:6px}
.work-card .w-tags span{padding:4px 10px; border-radius:999px; background:var(--gold-soft); color:var(--gold-deep); font-size:12px; font-weight:500}
.work-card .more{margin-top:auto; display:flex; align-items:center; justify-content:space-between; font-size:14px; font-weight:600; padding-top:12px; border-top:1px solid var(--line)}
.work-card .more i{display:grid; place-items:center; width:34px; height:34px; border-radius:50%; background:var(--ink); color:#fff; transition:transform .3s var(--ease)}
.work-card .more .ico{width:16px; height:16px; stroke-width:2.2}
.work-card:hover .more i{transform:rotate(45deg)}
@media (max-width:760px){ .work-grid{grid-template-columns:1fr} }

.video-block{display:grid; grid-template-columns:1fr 1.2fr; gap:56px; align-items:center}
.video-block .label{margin-bottom:18px}
.video-block h2{margin-bottom:14px}
.video-block p{color:var(--muted); max-width:42ch}
.video-frame{position:relative; aspect-ratio:16/9; border-radius:var(--r-lg); overflow:hidden; background:var(--ink)}
.video-frame iframe{position:absolute; inset:0; width:100%; height:100%; border:0}
@media (max-width:900px){ .video-block{grid-template-columns:1fr; gap:28px} }

.cta-band{background:var(--ink); color:#fff; border-radius:var(--r-xl); padding:56px 64px; display:flex; justify-content:space-between; align-items:center; gap:32px; flex-wrap:wrap}
.cta-band h2{max-width:18ch}
.cta-band p{color:var(--muted-dark); margin-top:12px}
@media (max-width:760px){ .cta-band{padding:40px 24px} }

/* visor de fotos */
.lightbox{position:fixed; inset:0; z-index:100; background:rgba(8,27,40,.97); color:#fff; display:none; flex-direction:column}
.lightbox.open{display:flex}
.lb-top{display:flex; align-items:center; justify-content:space-between; gap:16px; padding:16px 20px}
.lb-top h2{font-size:18px; letter-spacing:-.01em}
.lb-top .lb-counter{font-size:14px; color:var(--muted-dark); font-variant-numeric:tabular-nums; margin-left:auto}
.lb-btn{width:46px; height:46px; border-radius:50%; border:1px solid var(--ink-line); background:rgba(255,255,255,.06); color:#fff; display:grid; place-items:center; cursor:pointer; flex-shrink:0; transition:background .2s, border-color .2s}
.lb-btn:hover{background:rgba(255,255,255,.14); border-color:rgba(255,255,255,.3)}
.lb-stage{flex:1; min-height:0; display:flex; align-items:center; justify-content:center; gap:16px; padding:0 20px}
.lb-stage img{max-width:min(1000px,100%); max-height:100%; object-fit:contain; border-radius:var(--r-md)}
.lb-imgwrap{flex:1; min-width:0; height:100%; display:flex; align-items:center; justify-content:center}
.lb-caption{text-align:center; padding:16px 20px 8px}
.lb-caption .lb-tag{display:inline-block; padding:4px 10px; border-radius:999px; background:var(--gold); color:var(--ink); font-size:12px; font-weight:600}
.lb-caption h3{font-size:17px; margin:10px 0 4px}
.lb-caption p{font-size:14px; color:var(--muted-dark); max-width:52ch; margin:0 auto}
.lb-thumbs{display:flex; gap:8px; overflow-x:auto; padding:12px 20px 20px; justify-content:safe center; scrollbar-width:thin}
.lb-thumbs button{flex:0 0 64px; height:48px; padding:0; border:0; border-radius:8px; overflow:hidden; cursor:pointer; opacity:.45; transition:opacity .2s; background:none}
.lb-thumbs button img{width:100%; height:100%; object-fit:cover}
.lb-thumbs button[aria-current="true"]{opacity:1; box-shadow:0 0 0 2px var(--gold)}
.lb-thumbs button:hover{opacity:.9}
@media (max-width:640px){
  .lb-stage{padding:0 8px; gap:0; position:relative}
  .lb-stage .lb-btn{position:absolute; top:50%; transform:translateY(-50%); background:rgba(8,27,40,.6); z-index:1}
  .lb-stage .lb-prev{left:12px}
  .lb-stage .lb-next{right:12px}
}

/* ---------- formulario: errores, envío y aviso ---------- */
.hp{position:absolute !important; left:-9999px; width:1px; height:1px; opacity:0}
.field-error{margin:0; font-size:13px; line-height:1.4; color:#B42318}
.field input[aria-invalid="true"], .field select[aria-invalid="true"]{border-color:#D92D20; background:#FEF3F2}
.field input[aria-invalid="true"]:focus, .field select[aria-invalid="true"]:focus{box-shadow:0 0 0 3px #FEE4E2}
.form-status{margin-top:18px; padding:12px 14px; border-radius:12px; background:#FEF3F2; border:1px solid #FECDCA; color:#912018; font-size:14px; line-height:1.45}
.btn.is-loading{cursor:progress; opacity:.92}
.btn.is-loading .btn-ico .ico{display:none}
.btn.is-loading .btn-ico::after{content:''; width:16px; height:16px; border:2px solid var(--ink); border-right-color:transparent; border-radius:50%; animation:spin .8s linear infinite}
.btn.is-loading:hover .btn-ico{transform:none}
@keyframes spin{to{transform:rotate(360deg)}}
.form-legal{font-size:13px; color:var(--muted); margin-top:14px; text-align:center}
.form-legal a, .doc a{color:var(--gold-deep); text-decoration:underline; text-underline-offset:2px}

/* ---------- páginas simples: gracias, 404, privacidad ---------- */
.state{padding:72px 0 40px}
.state-card{max-width:680px; margin:0 auto; background:var(--surface); border-radius:var(--r-xl); padding:56px 40px; text-align:center; box-shadow:var(--shadow)}
.state-ico{display:grid; place-items:center; width:72px; height:72px; margin:0 auto 24px; border-radius:50%; background:var(--gold); color:var(--ink)}
.state-ico .ico{width:32px; height:32px; stroke-width:2.2}
.state-card h1{font-size:clamp(2rem,4.4vw,3rem); margin-bottom:14px}
.state-card > p{color:var(--muted); font-size:17px; max-width:46ch; margin:0 auto}
.state-card .cta-row{justify-content:center; margin-top:32px}
.state-steps{list-style:none; padding:0; margin:32px 0 0; text-align:left; border-top:1px solid var(--line)}
.state-steps li{display:flex; gap:12px; padding:14px 0; border-bottom:1px solid var(--line); font-size:15px}
.state-steps .ico{color:var(--gold-deep); width:18px; height:18px; margin-top:3px; stroke-width:2.4}
.state-code{font-size:14px; font-weight:600; letter-spacing:.08em; color:var(--gold-deep); margin-bottom:10px}
@media (max-width:560px){ .state{padding-top:40px} .state-card{padding:40px 22px} }

.doc{max-width:760px; margin:0 auto; padding:24px 0 0}
.doc h2{font-size:1.45rem; margin:44px 0 12px}
.doc p, .doc li{color:var(--muted); font-size:16px}
.doc p + p{margin-top:12px}
.doc ul{padding-left:20px; margin:12px 0 0}
.doc li + li{margin-top:6px}
.doc .updated{font-size:14px; color:var(--muted); margin-top:18px}

/* ---------- prueba: letra más grande ---------- */
body{font-size:18px}
h1{font-size:clamp(2.75rem,5.6vw,4.6rem)}
h2{font-size:clamp(2.2rem,3.8vw,3.2rem)}
h3{font-size:1.3rem}
.label{font-size:15px}
.brand{font-size:19px; white-space:nowrap; flex-shrink:0}
.nav-links{font-size:16px; gap:26px}
.nav-links a, .nav-phone, .nav .btn{white-space:nowrap}
.nav-phone{font-size:16px}
@media (max-width:1240px){ .nav-phone{display:none} }
@media (max-width:1060px){
  .menu-btn{display:grid}
  .nav-actions .btn{display:none}
  .nav-links{position:absolute; top:76px; left:12px; right:12px; flex-direction:column; gap:0; padding:8px; background:var(--surface); border-radius:var(--r-lg); box-shadow:var(--shadow); font-size:18px; color:var(--text); display:none}
  .nav-links.open{display:flex}
  .nav-links a{padding:14px 16px; border-radius:12px}
  .nav-links a:hover{background:var(--surface-2)}
}
.btn{font-size:17px; min-height:56px}
.nav .btn{font-size:16px}
.hero-copy .lead{font-size:21px}
.hero-checks{font-size:16px}
@media (min-width:961px){ .switcher{width:340px} }
.switcher-head strong{font-size:16px}
.switcher-head span, .thumb span{font-size:14px}
.switcher-caption{font-size:15px}
.trust h3{font-size:17px}
.trust p{font-size:16px}
.chip-photo{font-size:14px}
.fact span{font-size:16px}
.about-copy .big{font-size:clamp(1.5rem,2.5vw,2rem)}
.points h3{font-size:18px}
.points p{font-size:16px}
.section-head p{font-size:18px}
.svc-card p, .svc-mini p{font-size:16px}
.combos li{font-size:clamp(1.15rem,2vw,1.45rem)}
.proj .count{font-size:14px}
.proj .p-tags span{font-size:14px}
.steps .n{font-size:16px; width:48px; height:48px}
.steps h3{font-size:22px}
.steps p{font-size:17px}
.contact-list dt{font-size:14px}
.contact-list dd{font-size:21px}
.areas-title, .contact-copy > p.areas-title{font-size:16px}
.areas li{font-size:16px}
.form-card h3{font-size:25px}
.form-card > p{font-size:16px}
.field label{font-size:15px}
.field input, .field select, .field textarea{font-size:17px; min-height:54px}
.field-error{font-size:15px}
.form-status{font-size:16px}
.form-legal{font-size:15px}
.footer-top p, .footer-cols ul{font-size:16px}
.footer-cols h4{font-size:15px}
.footer-bottom{font-size:15px}
.mbar a{font-size:17px}
.page-hero p{font-size:20px}
.work-card h2{font-size:25px}
.work-card .w-tags span{font-size:14px}
.work-card .more{font-size:16px}
.work-card .count{font-size:14px}
.lb-top h2{font-size:20px}
.lb-caption h3{font-size:19px}
.lb-caption p{font-size:16px}
.doc p, .doc li{font-size:18px}
.state-card > p{font-size:19px}
.state-steps li{font-size:17px}

/* Tarjeta de antes/después más abajo en computadora, para ver mejor la comparación */
@media (min-width:961px){
  .hero-media{margin-bottom:232px}
  .switcher{bottom:-216px}
}
