:root {
  --ink: #171615;
  --ink-2: #2b2926;
  --muted: #625c55;
  --paper: #ffffff;
  --cream: #f7f2ea;
  --line: #e7e0d5;
  --gold: #e3bc74;
  --gold-hover: #d4a95a;
  --gold-text: #85652a;
  --fucsia: #c3359f;
  --lime: #b5d132;
  --wa: #1fa855;
  --radius: 14px;
  --wrap: 1160px;
  --shadow: 0 10px 30px rgba(23, 22, 21, .08);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 17px/1.65 var(--font); }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-underline-offset: 3px; }
a:hover { color: var(--gold-text); }
h1, h2, h3 { line-height: 1.18; letter-spacing: -.01em; margin: 0 0 .6em; }
h1 { font-size: clamp(2rem, 1.2rem + 3.2vw, 3.3rem); }
h2 { font-size: clamp(1.55rem, 1.1rem + 1.8vw, 2.3rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.2em; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; z-index: 100; border-radius: 8px; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 780px; }
.center { text-align: center; }
.eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: .78rem; font-weight: 700; color: var(--gold-text); margin: 0 0 .8em; }
.lead { font-size: 1.15rem; color: var(--muted); }

/* ---------- botones ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; padding: .85em 1.5em; border-radius: 999px;
  font-weight: 700; font-size: .98rem; text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: background .15s, color .15s, border-color .15s; font-family: inherit; line-height: 1.2; }
.btn-primary { background: var(--gold); color: var(--ink); }
.btn-primary:hover { background: var(--gold-hover); color: var(--ink); }
.btn-ghost { border-color: currentColor; color: inherit; background: transparent; }
.btn-ghost:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.btn-wa { background: var(--wa); color: #fff; }
.btn-wa:hover { background: #178c46; color: #fff; }
.btn-sm { padding: .55em 1.1em; font-size: .9rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.4em; }
.center .btn-row { justify-content: center; }

/* ---------- cabecera ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.header-in { display: flex; align-items: center; gap: 16px; min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 500; letter-spacing: .2em; font-size: 1.15rem; margin-right: auto; }
.brand img { width: 34px; height: 34px; }
.brand:hover { color: inherit; }
.main-nav ul { list-style: none; margin: 0; padding: 0; }
.nav-wide { display: none; gap: 4px; }
.nav-wide a, .nav-toggle li a { display: block; padding: 8px 12px; text-decoration: none; border-radius: 8px; font-size: .95rem; font-weight: 600; white-space: nowrap; }
.header-cta, .lang { white-space: nowrap; }
.nav-wide a:hover, .nav-wide a[aria-current] { background: var(--cream); color: var(--ink); }
.nav-toggle { position: relative; }
.nav-toggle summary { list-style: none; cursor: pointer; padding: 10px; border-radius: 8px; }
.nav-toggle summary::-webkit-details-marker { display: none; }
.burger, .burger::before, .burger::after { display: block; width: 22px; height: 2px; background: var(--ink); border-radius: 2px; position: relative; }
.burger::before, .burger::after { content: ""; position: absolute; left: 0; }
.burger::before { top: -7px; } .burger::after { top: 7px; }
.nav-toggle[open] .burger { background: transparent; }
.nav-toggle[open] .burger::before { top: 0; transform: rotate(45deg); }
.nav-toggle[open] .burger::after { top: 0; transform: rotate(-45deg); }
.nav-toggle ul { position: absolute; right: 0; top: calc(100% + 10px); background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 8px; min-width: 240px; }
.lang { font-weight: 700; font-size: .85rem; text-decoration: none; border: 1px solid var(--line); border-radius: 999px; padding: 6px 11px; }
.lang:hover { border-color: var(--ink); color: var(--ink); }
.header-cta { display: none; }
@media (min-width: 560px) { .header-cta { display: inline-flex; } }
@media (min-width: 1180px) {
  .nav-wide { display: flex; }
  .nav-toggle { display: none; }
}
@media (max-width: 1179px) { .main-nav { order: 3; } }

/* ---------- portada ---------- */
.hero { position: relative; color: #fff; background: var(--ink); overflow: hidden; }
.hero-bg { position: absolute; inset: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; opacity: .5; }
.hero-in { position: relative; padding-top: clamp(72px, 12vw, 150px); padding-bottom: clamp(64px, 10vw, 120px); }
.hero-in > * { max-width: 760px; }
.hero h1 { color: #fff; }
.hero .lead { color: rgba(255,255,255,.88); font-size: clamp(1.05rem, 1rem + .4vw, 1.3rem); }
.hero .eyebrow { color: var(--gold); }
.hero .btn-ghost { color: #fff; }
.hero .btn-ghost:hover { background: #fff; color: var(--ink); border-color: #fff; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 1.6em 0 0; padding: 0; list-style: none; font-size: .92rem; color: rgba(255,255,255,.85); }
.hero-badges li::before { content: "✓ "; color: var(--gold); font-weight: 700; }

.page-hero { background: var(--cream); padding: clamp(48px, 8vw, 88px) 0 clamp(40px, 6vw, 64px); border-bottom: 1px solid var(--line); }
.page-hero .lead { max-width: 720px; }
.page-hero.has-img .wrap { display: grid; gap: 32px; align-items: center; }
@media (min-width: 860px) { .page-hero.has-img .wrap { grid-template-columns: 1.1fr .9fr; } }
.page-hero.has-img img { border-radius: var(--radius); box-shadow: var(--shadow); }

.section { padding: clamp(52px, 8vw, 96px) 0; }
.section.alt { background: var(--cream); }
.section.dark { background: var(--ink); color: #fff; }
.section-head { max-width: 760px; margin-bottom: 2.2em; }
.section-head.center { margin-left: auto; margin-right: auto; }

.split { display: grid; gap: clamp(28px, 5vw, 64px); align-items: center; }
@media (min-width: 800px) { .split { grid-template-columns: 1fr 1fr; } .split.rev > :first-child { order: 2; } }
.split img { border-radius: var(--radius); }

.cards { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.alt .card { border-color: transparent; box-shadow: var(--shadow); }
.card h3 { margin-bottom: .4em; }
.card p:last-child { margin-bottom: 0; }
.card .tag { display: inline-block; font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-text); margin-bottom: .6em; }

.steps { display: grid; gap: 22px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); counter-reset: s; }
.step { text-align: center; }
.step img { width: 190px; height: 190px; object-fit: cover; border-radius: 50%; margin: 0 auto 18px; background: var(--cream); }
.step h3 { text-transform: uppercase; letter-spacing: .08em; font-size: 1.05rem; }
.step h3::before { counter-increment: s; content: counter(s) ". "; color: var(--gold-text); }

.facts { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.fact { border-top: 3px solid var(--gold); padding-top: 16px; }
.fact strong { display: block; font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.2rem); line-height: 1.1; margin-bottom: 6px; }
.fact span { color: var(--muted); }
.dark .fact span { color: rgba(255,255,255,.75); }

.process { list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); counter-reset: p; }
.process li { position: relative; padding: 22px 22px 22px 70px; background: #fff; border-radius: var(--radius); border: 1px solid var(--line); }
.process li::before { counter-increment: p; content: counter(p); position: absolute; left: 20px; top: 20px; width: 36px; height: 36px; border-radius: 50%;
  background: var(--ink); color: var(--gold); font-weight: 800; display: grid; place-items: center; }
.process strong { display: block; margin-bottom: 4px; }

.models { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.model { display: block; text-decoration: none; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .15s, box-shadow .15s; }
.model:hover { transform: translateY(-3px); box-shadow: var(--shadow); color: inherit; }
.model img { aspect-ratio: 1; object-fit: cover; width: 100%; }
.model div { padding: 18px 20px 22px; }
.model h3 { margin: 0 0 .2em; display: flex; align-items: center; gap: 10px; }
.model p { margin: 0; color: var(--muted); font-size: .95rem; }
.dot { width: 14px; height: 14px; border-radius: 50%; display: inline-block; border: 1px solid rgba(0,0,0,.15); }
.dot.black { background: #1b1b1b; } .dot.fucsia { background: var(--fucsia); } .dot.fluor { background: var(--lime); }
.dot.custom { background: conic-gradient(var(--gold), var(--fucsia), var(--lime), #1b1b1b, var(--gold)); }

.gallery { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); }
.gallery img { border-radius: 12px; aspect-ratio: 1; object-fit: cover; width: 100%; background: var(--cream); }
.features { list-style: none; padding: 0; margin: 1.2em 0; }
.features li { padding: 10px 0 10px 32px; border-bottom: 1px solid var(--line); position: relative; }
.features li::before { content: ""; position: absolute; left: 4px; top: 17px; width: 14px; height: 8px; border-left: 3px solid var(--gold-text); border-bottom: 3px solid var(--gold-text); transform: rotate(-45deg); }

.quotes { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.quotes blockquote { margin: 0; background: #fff; border-radius: var(--radius); padding: 24px; border: 1px solid var(--line); }
.quotes blockquote p { font-size: 1.02rem; }
.quotes cite { font-style: normal; font-weight: 700; color: var(--gold-text); }

.note { background: var(--cream); border-left: 4px solid var(--gold); padding: 18px 22px; border-radius: 0 var(--radius) var(--radius) 0; }
.note p:last-child { margin: 0; }

/* ---------- guías / textos largos ---------- */
.prose { max-width: 74ch; }
.prose h2 { margin-top: 1.8em; font-size: clamp(1.4rem, 1.1rem + 1vw, 1.8rem); }
.prose h3 { margin-top: 1.4em; }
.prose li { margin-bottom: .35em; }
.prose img { border-radius: var(--radius); margin: 1.5em 0; }
.guide-cta { margin: 2.4em 0; padding: 26px 28px; background: var(--cream); border-radius: var(--radius); border: 1px solid var(--line); border-left: 5px solid var(--gold); }
.guide-cta-title { font-size: 1.3rem; font-weight: 800; line-height: 1.3; margin-bottom: .5em; }
.guide-cta .btn-row { margin-top: 1em; }
.toc { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 24px; margin: 1.8em 0; }
.toc p { font-weight: 700; margin-bottom: .4em; }
.toc ol { margin: 0; }

/* ---------- preguntas ---------- */
.faq { max-width: 860px; }
.faq h2 { margin-top: 1.6em; font-size: 1.4rem; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; padding: 18px 40px 18px 0; font-weight: 700; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 6px; top: 12px; font-size: 1.5rem; color: var(--gold-text); font-weight: 400; }
.faq details[open] summary::after { content: "–"; }
.faq details > div { padding: 0 0 16px; color: var(--ink-2); }

/* ---------- llamada final ---------- */
.cta-band { background: var(--ink); color: #fff; padding: clamp(52px, 8vw, 88px) 0; text-align: center; }
.cta-band h2 { color: #fff; max-width: 760px; margin: 0 auto .5em; }
.cta-band p { color: rgba(255,255,255,.82); max-width: 680px; margin: 0 auto; }
.cta-band .btn-row { justify-content: center; }

/* ---------- formulario ---------- */
.form-wrap { display: grid; gap: clamp(28px, 5vw, 56px); }
@media (min-width: 940px) { .form-wrap { grid-template-columns: .85fr 1.15fr; align-items: start; } }
.quote-form { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: clamp(20px, 4vw, 34px); box-shadow: var(--shadow); }
.quote-form label { display: block; font-weight: 600; font-size: .93rem; margin-bottom: 14px; }
.quote-form input[type=text], .quote-form input[type=email], .quote-form input[type=tel], .quote-form input[type=number], .quote-form select, .quote-form textarea {
  display: block; width: 100%; margin-top: 6px; padding: 12px 14px; font: inherit; font-weight: 400; font-size: 1rem; color: var(--ink);
  border: 1.5px solid #d8d0c3; border-radius: 10px; background: #fff; }
.quote-form textarea { resize: vertical; min-height: 110px; }
.quote-form input:focus, .quote-form select:focus, .quote-form textarea:focus { outline: none; border-color: var(--gold-hover); box-shadow: 0 0 0 3px rgba(227, 188, 116, .35); }
.quote-form .invalid { border-color: #c0392b !important; }
.grid-2 { display: grid; gap: 0 18px; }
@media (min-width: 640px) { .grid-2 { grid-template-columns: 1fr 1fr; } }
.check { display: flex !important; gap: 10px; align-items: flex-start; font-weight: 400 !important; }
.check input { margin-top: 5px; width: 18px; height: 18px; flex: none; accent-color: var(--ink); }
.quote-form .btn { width: 100%; font-size: 1.05rem; padding: 1em; }
.form-note { font-size: .88rem; color: var(--muted); margin: 14px 0 0; }
.form-error { background: #fdecea; color: #8e2318; border-radius: 10px; padding: 12px 14px; font-weight: 600; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.contact-cards { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.contact-card { display: grid; gap: 2px; text-decoration: none; padding: 20px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.contact-card:hover { border-color: var(--ink); color: inherit; }
.contact-card .ci { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--cream); margin-bottom: 8px; }
.contact-card.wa .ci { background: var(--wa); color: #fff; }
.contact-card small { color: var(--muted); }
.form-side .contact-cards { grid-template-columns: 1fr; }

/* ---------- pie ---------- */
.site-footer { background: #11100f; color: rgba(255,255,255,.78); padding: 56px 0 24px; font-size: .95rem; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--gold); }
.foot-grid { display: grid; gap: 32px; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }
.foot-brand { grid-column: 1 / -1; max-width: 420px; }
@media (min-width: 900px) { .foot-grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; } .foot-brand { grid-column: auto; } }
.brand-light { color: #fff; margin-bottom: 12px; }
.foot-h { font-size: .8rem; text-transform: uppercase; letter-spacing: .14em; color: var(--gold); margin-bottom: 1em; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: .55em; }
.social { display: flex; gap: 16px; }
.social a { text-decoration: underline; }
.foot-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 40px; padding-top: 20px; font-size: .85rem; color: rgba(255,255,255,.55); }

.wa-float { position: fixed; right: 18px; bottom: 18px; width: 56px; height: 56px; border-radius: 50%; background: var(--wa); color: #fff;
  display: grid; place-items: center; box-shadow: 0 8px 24px rgba(0,0,0,.25); z-index: 60; }
.wa-float svg { width: 30px; height: 30px; }
.wa-float:hover { color: #fff; background: #178c46; }

.breadcrumb { font-size: .88rem; color: var(--muted); margin-bottom: 1em; }
.breadcrumb a { color: var(--muted); }
.legal h2 { font-size: 1.25rem; margin-top: 1.8em; }
.thanks { text-align: center; padding: clamp(64px, 12vw, 140px) 0; }
.thanks .check-big { width: 72px; height: 72px; border-radius: 50%; background: var(--gold); display: grid; place-items: center; margin: 0 auto 24px; font-size: 2rem; }
