:root {
  --ink: #1c1b19;
  --muted: #6d6a63;
  --paper: #fdfcf8;
  --soft: #f4f1e8;
  --line: #e7e1d1;
  --gold: #c99a06;
  --gold-dark: #8f6d00;
  --gold-soft: #f6ecc9;
  --panel: #222220;
  --panel-2: #2c2c29;
  --panel-text: #f2efe6;
  --panel-muted: #a9a59a;
  --sidebar: clamp(16.5rem, 19vw, 20rem);
  --radius: 18px;
  --shadow: 0 24px 60px rgba(28, 27, 25, 0.10);
  --font: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--paper); line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold-dark); }
h1, h2, h3 { line-height: 1.15; margin: 0; letter-spacing: -0.02em; }
p { margin: 0; }

.skip { position: absolute; left: -999px; top: 8px; background: var(--gold); color: #000; padding: 8px 14px; border-radius: 8px; z-index: 50; }
.skip:focus { left: 8px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Barra lateral */
.sidebar { position: fixed; inset: 0 auto 0 0; width: var(--sidebar); background: var(--panel); color: var(--panel-text); display: flex; flex-direction: column; padding: 28px 22px; overflow-y: auto; z-index: 20; }
.sidebar__top { display: flex; align-items: center; justify-content: space-between; }
.sidebar__brand img { width: 190px; }
.sidebar__toggle { display: none; background: none; border: 1px solid #44443f; color: var(--panel-text); border-radius: 10px; font-size: 20px; width: 44px; height: 44px; cursor: pointer; }
.sidebar__body { display: flex; flex-direction: column; gap: 28px; margin-top: 36px; flex: 1; }
.sidebar nav { display: flex; flex-direction: column; gap: 4px; }
.sidebar__link { display: flex; gap: 12px; align-items: center; color: var(--panel-text); text-decoration: none; padding: 10px 12px; border-radius: 10px; font-weight: 500; transition: background .2s; }
.sidebar__link span { width: 20px; text-align: center; color: var(--gold); }
.sidebar__link:hover { background: var(--panel-2); }
.sidebar__link--active { background: var(--panel-2); box-shadow: inset 3px 0 0 var(--gold); }
.sidebar__panel { background: var(--panel-2); border-radius: 14px; padding: 18px; }
.sidebar__eyebrow { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--gold); font-weight: 700; margin-bottom: 12px; }
.sidebar__me { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.sidebar__me img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; object-position: 50% 20%; border: 2px solid var(--gold); flex-shrink: 0; }
.sidebar__me .sidebar__eyebrow { margin-bottom: 2px; }
.sidebar__name { font-weight: 700; font-size: 15px; }
.contact-card { font-style: normal; display: flex; flex-direction: column; gap: 12px; }
.contact-card__item { color: var(--panel-text); text-decoration: none; font-size: 14px; }
.contact-card__label { display: block; font-size: 11px; color: var(--panel-muted); text-transform: uppercase; letter-spacing: .06em; }
a.contact-card__item:hover { color: var(--gold); }
.sidebar__cta { display: block; text-align: center; margin-top: 16px; background: var(--gold); color: #1a1600; font-weight: 700; text-decoration: none; padding: 11px; border-radius: 10px; }
.sidebar__cta:hover { background: #ddb01a; }
.sidebar__foot { font-size: 13px; color: var(--panel-muted); margin-top: auto; }
.sidebar__foot a { color: var(--gold); }

/* Contenido */
.main { margin-left: var(--sidebar); }
.section, .hero, .band, .footer { padding: clamp(48px, 7vw, 96px) clamp(20px, 5vw, 72px); }
.kicker { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--gold-dark); margin-bottom: 14px; }
.kicker--light { color: var(--gold); }
.section__header { max-width: 720px; margin-bottom: 40px; }
.section__title { font-size: clamp(28px, 3.4vw, 44px); font-weight: 800; }
.section__lead { color: var(--muted); font-size: 18px; margin-top: 14px; }

.hero { position: relative; overflow: hidden; background: linear-gradient(160deg, var(--paper) 55%, var(--gold-soft)); min-height: min(86vh, 860px); display: flex; flex-direction: column; justify-content: center; }
.hero { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); align-items: center; gap: clamp(24px, 4vw, 56px); }
.hero__text { order: 1; }
.hero__art { order: 2; margin: 0; position: relative; }
.hero__art img { width: 100%; border-radius: 28px; box-shadow: var(--shadow); }
.hero__dots { position: absolute; right: -14px; top: -22px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.hero__dots i { width: clamp(12px, 1.3vw, 18px); aspect-ratio: 1; border-radius: 50%; background: var(--gold); }
.hero__dots i:nth-child(3n) { background: #8a877e; transform: scale(.45); }
.hero__dots i:nth-child(5n) { background: transparent; }
.hero__title { font-size: clamp(34px, 4vw, 60px); font-weight: 800; max-width: 16ch; position: relative; }
.hero__title span { color: var(--gold-dark); background: linear-gradient(transparent 62%, var(--gold-soft) 62%); }
.hero__lead { font-size: clamp(17px, 1.5vw, 20px); color: var(--muted); max-width: 56ch; margin-top: 24px; position: relative; }
.hero__lead strong { color: var(--ink); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; position: relative; }
.hero__promise { list-style: none; padding: 0; margin: 40px 0 0; display: flex; flex-wrap: wrap; gap: 10px 24px; position: relative; }
.hero__promise li { font-weight: 600; font-size: 15px; }
.hero__promise li::before { content: "●"; color: var(--gold); margin-right: 8px; font-size: 10px; vertical-align: 2px; }

.button { display: inline-flex; align-items: center; justify-content: center; padding: 14px 26px; border-radius: 999px; font-weight: 700; font-size: 16px; text-decoration: none; border: 2px solid transparent; cursor: pointer; font-family: inherit; transition: transform .15s, background .2s; }
.button:hover { transform: translateY(-1px); }
.button--primary { background: var(--ink); color: #fff; }
.button--primary:hover { background: #000; }
.button--ghost { border-color: var(--ink); color: var(--ink); background: transparent; }

/* Servicios */
.services { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.service { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 26px; display: flex; flex-direction: column; gap: 14px; transition: box-shadow .2s, transform .2s; }
.service:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.service--featured { background: var(--ink); color: var(--panel-text); border-color: var(--ink); }
.service--featured p { color: var(--panel-muted); }
.service--featured .service__link { color: var(--gold); }
.service__num { font-size: 14px; font-weight: 800; color: var(--gold); }
.service__title { font-size: 21px; font-weight: 700; }
.service p { color: var(--muted); flex: 1; }
.service__link { font-weight: 700; text-decoration: none; }
.service__link::after { content: " →"; }

/* Quién está detrás */
.about { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 72px); align-items: center; background: var(--soft); }
.about__photo { margin: 0; position: relative; }
.about__photo img { border-radius: 24px; width: 100%; aspect-ratio: 5 / 4; object-fit: cover; box-shadow: var(--shadow); }
.about__photo::after { content: ""; position: absolute; width: 72px; aspect-ratio: 1; border-radius: 50%; background: var(--gold); right: -18px; bottom: -18px; }
.about__text { display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.about__text > p:not(.kicker):not(.about__sign) { color: var(--muted); font-size: 17px; }
.about__text strong { color: var(--ink); }
.about__sign { font-weight: 700; font-style: italic; color: var(--gold-dark); }

/* Banda oscura */
.band { background: var(--panel); color: var(--panel-text); display: grid; gap: 48px; }
.band__intro { max-width: 640px; }
.band__intro p:last-child { color: var(--panel-muted); font-size: 18px; margin-top: 14px; }
.band__title { font-size: clamp(28px, 3.4vw, 44px); font-weight: 800; }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 16px; }
.stat { border-top: 2px solid var(--gold); padding-top: 16px; }
.stat strong { display: block; font-size: clamp(36px, 4vw, 54px); font-weight: 800; color: var(--gold); line-height: 1; }
.stat span { color: var(--panel-muted); font-size: 15px; }
.reasons { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.reason { background: var(--panel-2); border-radius: 14px; padding: 22px; }
.reason h3 { font-size: 18px; margin-bottom: 8px; }
.reason p { color: var(--panel-muted); font-size: 15px; }

/* Presupuesto */
.quote { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 48px; background: var(--soft); border-radius: 24px; padding: clamp(28px, 4vw, 56px); }
.quote__intro p:last-child { color: var(--muted); margin-top: 14px; font-size: 17px; }
.quote__form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field--full { grid-column: 1 / -1; }
.field--bot { position: absolute; left: -9999px; }
.field label { font-size: 14px; font-weight: 600; }
.field input, .field select, .field textarea { font: inherit; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; background: #fff; color: var(--ink); }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--gold); outline-offset: 1px; border-color: var(--gold); }
.quote__send { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.quote__status { font-size: 14px; color: var(--muted); }
.quote__legal { font-size: 13px; color: var(--muted); }

/* FAQ */
.faq { max-width: 820px; display: flex; flex-direction: column; gap: 10px; }
.faq details { border: 1px solid var(--line); border-radius: 14px; background: #fff; padding: 4px 22px; }
.faq summary { cursor: pointer; font-weight: 700; padding: 16px 0; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--gold-dark); font-size: 22px; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--muted); padding-bottom: 18px; }

.footer { border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 14px; color: var(--muted); padding-top: 28px; padding-bottom: 28px; }
.footer a { color: var(--muted); }

/* Páginas de servicio */
.page-hero { padding: clamp(40px, 6vw, 88px) clamp(20px, 5vw, 72px); background: linear-gradient(160deg, var(--paper) 55%, var(--gold-soft)); }
.crumbs { font-size: 14px; color: var(--muted); margin-bottom: 28px; }
.crumbs a { color: var(--muted); }
.page-hero__title { font-size: clamp(32px, 4.4vw, 60px); font-weight: 800; max-width: 18ch; }
.page-hero__lead { font-size: clamp(17px, 1.5vw, 20px); color: var(--muted); max-width: 60ch; margin-top: 22px; }
.page-hero--art { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); align-items: center; gap: clamp(24px, 4vw, 56px); }
.page-hero--art .page-hero__title { font-size: clamp(30px, 3.4vw, 52px); }
.includes { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 16px; }
.include { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; padding: 24px; border-top: 3px solid var(--gold); }
.include h3 { font-size: 18px; margin-bottom: 8px; }
.include p { color: var(--muted); font-size: 15px; }
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; }
.step { background: var(--panel-2); border-radius: 14px; padding: 22px; }
.step__num { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--gold); color: #1a1600; font-weight: 800; margin-bottom: 14px; }
.step h3 { font-size: 18px; margin-bottom: 6px; }
.step p { color: var(--panel-muted); font-size: 15px; }
.about-mini { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: center; background: var(--soft); }
.checks { list-style: none; padding: 0; margin: 24px 0 0; display: flex; flex-direction: column; gap: 14px; }
.checks li { padding-left: 34px; position: relative; font-size: 17px; }
.checks li::before { content: "✓"; position: absolute; left: 0; top: 0; width: 24px; height: 24px; border-radius: 50%; background: var(--gold); color: #1a1600; font-weight: 800; font-size: 13px; display: grid; place-items: center; }
.me-card { background: #fff; border-radius: 22px; padding: 18px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 12px; }
.me-card img { border-radius: 14px; aspect-ratio: 5 / 4; object-fit: cover; width: 100%; }
.me-card p { color: var(--muted); font-size: 15px; }
.me-card strong { color: var(--ink); }
.cta { text-align: center; background: var(--ink); color: var(--panel-text); display: flex; flex-direction: column; align-items: center; gap: 16px; }
.cta p { color: var(--panel-muted); font-size: 18px; max-width: 52ch; }
.button--gold { background: var(--gold); color: #1a1600; }
.button--gold:hover { background: #ddb01a; }
.services--3 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.service--link { text-decoration: none; color: inherit; }

.options { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.option { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; padding: 28px; }
.option:first-child { background: var(--ink); color: var(--panel-text); border-color: var(--ink); }
.option h3 { font-size: 22px; }
.option__sub { color: var(--gold-dark); font-weight: 700; margin: 6px 0 16px; }
.option:first-child .option__sub { color: var(--gold); }
.option ul { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 8px; color: var(--muted); }
.option:first-child ul { color: var(--panel-muted); }

.legal { max-width: 860px; }
.legal__index { font-weight: 600; margin-bottom: 8px; }
.legal h2 { font-size: clamp(24px, 2.6vw, 32px); margin: 44px 0 14px; scroll-margin-top: 90px; }
.legal p, .legal li { color: var(--muted); font-size: 16.5px; }
.legal p + p, .legal ul + p { margin-top: 14px; }
.legal ul { padding-left: 22px; display: flex; flex-direction: column; gap: 10px; margin: 14px 0; }
.legal strong { color: var(--ink); }
.legal mark { background: var(--gold-soft); color: var(--gold-dark); padding: 0 4px; border-radius: 4px; font-weight: 700; }
.legal__date { margin-top: 40px; font-size: 14px; }

.options .option--dark { background: var(--ink); color: var(--panel-text); border-color: var(--ink); }
.options .option--dark .option__sub { color: var(--gold); }
.options .option--dark ul { color: var(--panel-muted); }
.options .option--muted { background: #fff; color: var(--ink); border-color: var(--line); }
.options .option--muted .option__sub { color: var(--muted); }
.options .option--muted ul { color: var(--muted); }
.crosses { list-style: "✕  "; }
.gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 22px; }
.shot { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.shot img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.shot__body { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 8px; }
.shot h3 { font-size: 20px; }
.shot p { color: var(--muted); font-size: 15px; }
.chips { list-style: none; padding: 0; margin: 22px 0 0; display: flex; flex-wrap: wrap; gap: 10px; }
.chips li { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 8px 16px; font-weight: 600; font-size: 15px; }

.shot--link { text-decoration: none; color: inherit; transition: box-shadow .2s, transform .2s; }
.shot--link:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.section__more { margin-top: 28px; }

/* Móvil */
@media (max-width: 900px) {
  .sidebar { position: sticky; top: 0; inset: auto; width: 100%; height: auto; padding: 14px 16px; overflow: visible; }
  .sidebar__brand img { width: 150px; }
  .sidebar__toggle { display: block; }
  .sidebar__body { display: none; margin-top: 18px; }
  .sidebar--open .sidebar__body { display: flex; max-height: calc(100dvh - 80px); overflow-y: auto; padding-bottom: 12px; }
  .main { margin-left: 0; }
  .section, .hero, .band, .footer { padding-left: 16px; padding-right: 16px; }
  .hero { min-height: auto; }
  .hero { grid-template-columns: 1fr; }
  .hero__art { order: 0; }
  .hero__dots { right: -6px; top: -14px; gap: 6px; }
  .quote { grid-template-columns: 1fr; gap: 28px; }
  .about { grid-template-columns: 1fr; }
  .about__photo::after { width: 48px; right: -8px; bottom: -12px; }
  .quote__form { grid-template-columns: 1fr; }
  .about-mini { grid-template-columns: 1fr; }
  .page-hero { padding-left: 16px; padding-right: 16px; }
  .page-hero--art { grid-template-columns: 1fr; }
}
