/* =========================================================
   MIGRAGEST · Sistema de diseño
   Idea: los arcos de la "m" del logo dan forma a los marcos de
   las fotos; el arco rojo de la "G" es el elemento firma.
   ========================================================= */

/* Tipografías alojadas en el propio servidor (RGPD: sin llamadas a Google) */
@font-face { font-family: "Hanken Grotesk"; font-style: normal; font-weight: 400 700; font-display: swap; src: url(../fonts/hanken-grotesk-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Hanken Grotesk"; font-style: normal; font-weight: 400 700; font-display: swap; src: url(../fonts/hanken-grotesk-latin-ext.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Newsreader"; font-style: normal; font-weight: 400 500; font-display: swap; src: url(../fonts/newsreader-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Newsreader"; font-style: normal; font-weight: 400 500; font-display: swap; src: url(../fonts/newsreader-latin-ext.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Newsreader"; font-style: italic; font-weight: 400; font-display: swap; src: url(../fonts/newsreader-italic-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Newsreader"; font-style: italic; font-weight: 400; font-display: swap; src: url(../fonts/newsreader-italic-latin-ext.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --ink: #1a1a18;
  --ink-soft: #3a3a36;
  --night: #121211;
  --red: #de0211;
  --red-deep: #b3000d;
  --paper: #ffffff;
  --mist: #f3f3f1;
  --line: #deded9;
  --muted: #5c5c57;
  --star: #e8a800;

  --font-display: "Newsreader", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --font-body: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --wrap: 1200px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --header-h: 72px;
  --r-lg: 28px;
  --r-md: 18px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 20px); }
body { margin: 0; font-family: var(--font-body); font-size: 1.0625rem; line-height: 1.65; color: var(--ink); background: var(--paper); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
body.nav-open { overflow: hidden; }
img, svg, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 400; line-height: 1.1; letter-spacing: -.018em; margin: 0 0 .6em; text-wrap: balance; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; border-radius: 4px; }
.on-dark :focus-visible { outline-color: #fff; }
.band-red :focus-visible { outline-color: var(--ink); }

.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 1rem; top: -4rem; z-index: 100; background: var(--ink); color: #fff; padding: .75rem 1.25rem; border-radius: 999px; text-decoration: none; font-weight: 600; transition: top .2s; }
.skip-link:focus { top: 1rem; }

.wrap { width: min(var(--wrap), 100% - 2 * var(--gutter)); margin-inline: auto; }
.icon { width: 1.25em; height: 1.25em; flex: none; stroke: currentColor; fill: none; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }

/* Botones */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .6rem; padding: .95rem 1.6rem; border-radius: 999px; border: 1.5px solid transparent; font-weight: 600; font-size: .98rem; line-height: 1.2; text-decoration: none; text-align: center; transition: background-color .2s, color .2s, border-color .2s, transform .2s var(--ease); }
.btn .icon { width: 1.15em; height: 1.15em; }
.btn:hover { transform: translateY(-1px); }
.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { background: var(--red-deep); }
.btn-ink { background: var(--ink); color: #fff; }
.btn-ink:hover { background: #000; }
.btn-line { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-line:hover { background: var(--ink); color: #fff; }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--mist); }
.btn-line-light { border-color: rgba(255,255,255,.55); color: #fff; background: transparent; }
.btn-line-light:hover { background: #fff; color: var(--ink); border-color: #fff; }
.btn-sm { padding: .7rem 1.2rem; font-size: .92rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; }

/* Barra superior */
.topbar { background: var(--ink); color: rgba(255,255,255,.88); font-size: .85rem; }
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; gap: 1rem; min-height: 38px; }
.topbar a { display: inline-flex; align-items: center; gap: .45rem; text-decoration: none; font-weight: 600; color: #fff; }
.topbar a:hover { text-decoration: underline; }
.topbar p { margin: 0; }

/* Cabecera */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.94); -webkit-backdrop-filter: saturate(1.4) blur(10px); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.site-header.is-stuck { border-bottom-color: var(--line); }
.header-inner { display: flex; align-items: center; gap: 1.5rem; min-height: var(--header-h); }
.brand { display: inline-flex; flex: none; }
.brand img { height: 46px; width: auto; }
.nav-panel { margin-left: auto; display: flex; align-items: center; gap: 1.25rem; }
.nav { display: flex; align-items: center; gap: .15rem; }
.nav > li { position: relative; }
.nav-link { display: inline-flex; align-items: center; gap: .35rem; padding: .6rem .9rem; border: 0; background: none; border-radius: 999px; font-size: .97rem; font-weight: 500; text-decoration: none; color: var(--ink); position: relative; }
.nav-link:hover { background: var(--mist); }
.nav-link[aria-current="page"]::after, .has-sub.is-current > .nav-link::after { content: ""; position: absolute; left: .9rem; right: .9rem; bottom: .2rem; height: 2px; background: var(--red); border-radius: 2px; }
.nav-link .icon { width: .95em; height: .95em; transition: transform .2s; }
.has-sub.is-open > .nav-link .icon { transform: rotate(180deg); }
.subnav { display: none; position: absolute; top: calc(100% + 8px); left: 50%; transform: translateX(-35%); width: min(560px, 92vw); padding: .75rem; background: #fff; border: 1px solid var(--line); border-radius: 22px; box-shadow: 0 24px 48px -16px rgba(18,18,17,.22); grid-template-columns: 1fr 1fr; gap: .15rem; }
.has-sub::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 12px; }
.has-sub:hover > .subnav, .has-sub.is-open > .subnav, .has-sub:focus-within > .subnav { display: grid; }
.subnav a { display: block; padding: .8rem .95rem; border-radius: 14px; text-decoration: none; }
.subnav a:hover { background: var(--mist); }
.subnav strong { display: block; font-weight: 600; font-size: .96rem; line-height: 1.3; }
.subnav span { display: block; font-size: .83rem; line-height: 1.4; color: var(--muted); margin-top: .15rem; }
.subnav a[aria-current="page"] strong { color: var(--red); }
.nav-toggle { display: none; margin-left: auto; width: 46px; height: 46px; border: 1.5px solid var(--ink); border-radius: 50%; background: transparent; align-items: center; justify-content: center; }
.nav-toggle .icon { width: 22px; height: 22px; }
.nav-toggle .i-close { display: none; }
.nav-toggle[aria-expanded="true"] .i-close { display: block; }
.nav-toggle[aria-expanded="true"] .i-menu { display: none; }

@media (max-width: 1020px) {
  .topbar { display: none; }
  .nav-toggle { display: inline-flex; }
  .nav-panel { position: absolute; top: 100%; left: 0; right: 0; margin: 0; height: calc(100vh - var(--header-h)); height: calc(100dvh - var(--header-h)); flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 1.5rem; padding: 1rem var(--gutter) 2.5rem; background: #fff; overflow-y: auto; visibility: hidden; opacity: 0; transform: translateY(-8px); transition: opacity .25s var(--ease), transform .25s var(--ease), visibility 0s .25s; }
  .nav-panel.is-open { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
  .nav { flex-direction: column; align-items: stretch; gap: 0; }
  .nav > li { border-bottom: 1px solid var(--line); }
  .nav-link { width: 100%; justify-content: space-between; padding: 1.1rem .25rem; border-radius: 0; font-family: var(--font-display); font-size: 1.7rem; font-weight: 400; letter-spacing: -.01em; }
  .nav-link:hover { background: none; }
  .nav-link[aria-current="page"]::after, .has-sub.is-current > .nav-link::after { display: none; }
  .nav-link[aria-current="page"] { color: var(--red); }
  .subnav { position: static; transform: none; width: 100%; border: 0; box-shadow: none; padding: 0 0 1rem; border-radius: 0; grid-template-columns: 1fr; }
  .has-sub:hover > .subnav, .has-sub:focus-within > .subnav { display: none; }
  .has-sub.is-open > .subnav { display: grid; }
  .has-sub::after { display: none; }
  .subnav a { padding: .7rem .25rem; }
  .subnav span { display: none; }
  .subnav strong { font-size: 1.02rem; font-weight: 500; }
  .nav-panel > .btn { width: 100%; }
}

/* Secciones */
.section { padding-block: clamp(3.5rem, 8vw, 6.5rem); }
.section.mist { background: var(--mist); }
.section-head { max-width: 46rem; margin-bottom: clamp(2rem, 4vw, 3.25rem); }
.section-head h2 { font-size: clamp(2rem, 4vw, 3.1rem); margin-bottom: .45em; }
.section-head p { color: var(--muted); font-size: 1.14rem; margin: 0; }
.on-dark { background: var(--night); color: #fff; }
.on-dark p { color: rgba(255,255,255,.84); }

/* Hero */
.hero { padding-block: clamp(2.25rem, 6vw, 5rem) clamp(2.5rem, 6vw, 4.5rem); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.hero h1 { font-size: clamp(2.5rem, 5.4vw, 4.7rem); line-height: 1.03; letter-spacing: -.028em; margin-bottom: .45em; }
.hero-lead { font-family: var(--font-display); font-size: clamp(1.3rem, 2.2vw, 1.7rem); line-height: 1.3; font-style: italic; color: var(--ink-soft); margin-bottom: 1.25rem; }
.hero-quote { margin: 0 0 2rem; padding-left: 1.1rem; border-left: 3px solid var(--red); max-width: 34rem; color: var(--ink-soft); }
.hero-quote strong { color: var(--ink); font-weight: 600; }
.trust { display: flex; flex-wrap: wrap; gap: .75rem 1.75rem; margin-top: 2.25rem; padding-top: 1.5rem; border-top: 1px solid var(--line); font-size: .93rem; color: var(--ink-soft); }
.trust li { display: inline-flex; align-items: center; gap: .5rem; }
.trust .icon { color: var(--red); width: 1.2em; height: 1.2em; }
.trust .icon.star { color: var(--star); }

.hero-art { position: relative; width: min(100%, 440px); margin-inline: auto; }
.arch { position: relative; overflow: hidden; background: var(--mist); border-radius: 999px 999px var(--r-lg) var(--r-lg); }
.arch picture { display: block; width: 100%; height: 100%; }
.arch img { width: 100%; height: 100%; object-fit: cover; }
.hero-art .arch { aspect-ratio: 3 / 4; }
/* Arco rojo concéntrico con el marco de la foto, como la G del logo */
.hero-arc { max-width: none; position: absolute; width: 134%; left: -17%; top: -12.75%; z-index: 2; pointer-events: none; overflow: visible; }
.hero-arc path { fill: none; stroke: var(--red); stroke-width: 3.4; stroke-dasharray: 222; stroke-dashoffset: 0; animation: draw 1.6s var(--ease) .25s both; }
@keyframes draw { from { stroke-dashoffset: 222; } to { stroke-dashoffset: 0; } }
.hero-badge { position: absolute; left: -6%; bottom: 9%; z-index: 3; display: flex; align-items: center; gap: .7rem; padding: .75rem 1.1rem .75rem .85rem; background: #fff; border-radius: 999px; box-shadow: 0 14px 34px -12px rgba(18,18,17,.35); font-size: .86rem; line-height: 1.3; }
.hero-badge .icon { color: var(--red); width: 1.7em; height: 1.7em; }
.hero-badge strong { display: block; font-weight: 600; }
@media (max-width: 880px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-art { order: -1; width: min(78%, 340px); margin-bottom: .5rem; }
  .hero-badge { left: -10%; }
}
@media (max-width: 520px) {
  .hero-art { width: min(72%, 290px); }
  .hero-badge { left: -14%; bottom: 6%; font-size: .78rem; padding: .6rem .9rem .6rem .7rem; }
}

/* Por qué */
.why { border-top: 1px solid var(--line); }
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.why-item { padding: .25rem clamp(1.25rem, 3vw, 2.5rem); }
.why-item:first-child { padding-left: 0; }
.why-item + .why-item { border-left: 1px solid var(--line); }
.why-item .ring { display: grid; place-items: center; width: 54px; height: 54px; border: 1.5px solid var(--ink); border-radius: 50%; margin-bottom: 1.25rem; }
.why-item .ring .icon { width: 24px; height: 24px; }
.why-item h3 { font-size: 1.55rem; margin-bottom: .35em; }
.why-item p { margin: 0; color: var(--muted); }
@media (max-width: 820px) {
  .why-grid { grid-template-columns: 1fr; }
  .why-item, .why-item:first-child { padding: 1.5rem 0; }
  .why-item + .why-item { border-left: 0; border-top: 1px solid var(--line); }
}

/* Despacho */
.office { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.office h2 { font-size: clamp(2rem, 4vw, 3.1rem); }
.office address { font-style: normal; font-size: 1.2rem; margin-bottom: .5rem; }
.office .note { color: var(--muted); font-style: italic; margin-bottom: 1.75rem; }
.map-box { position: relative; aspect-ratio: 4 / 3; border-radius: var(--r-lg); overflow: hidden; background: var(--ink); display: grid; place-items: center; color: #fff; text-align: center; }
.map-box::before { content: ""; position: absolute; inset: 0; opacity: .22; background: linear-gradient(115deg, transparent 47%, rgba(255,255,255,.7) 47.4%, rgba(255,255,255,.7) 48.2%, transparent 48.6%), linear-gradient(28deg, transparent 58%, rgba(255,255,255,.5) 58.4%, rgba(255,255,255,.5) 59%, transparent 59.4%), linear-gradient(74deg, transparent 30%, rgba(255,255,255,.5) 30.3%, rgba(255,255,255,.5) 30.9%, transparent 31.2%), linear-gradient(160deg, transparent 70%, rgba(255,255,255,.4) 70.3%, rgba(255,255,255,.4) 70.8%, transparent 71.1%); }
.map-box > div { position: relative; padding: 1.5rem; }
.map-box .pin { width: 44px; height: 44px; margin: 0 auto .75rem; color: var(--red); stroke-width: 1.6; }
.map-box p { margin: 0 0 1.1rem; color: rgba(255,255,255,.85); font-size: .95rem; }
.map-box iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map-box.is-loaded::before { display: none; }
@media (max-width: 820px) { .office { grid-template-columns: 1fr; } }

/* Servicios */
.svc-list { border-top: 1px solid var(--ink); }
.svc-row { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 5fr) 56px; gap: 1.5rem 2.5rem; align-items: center; padding: clamp(1.4rem, 2.6vw, 2.1rem) clamp(.25rem, 1.5vw, 1rem); border-bottom: 1px solid var(--line); text-decoration: none; transition: background-color .25s, padding .25s var(--ease); }
.svc-row:hover { background: var(--mist); padding-left: clamp(.75rem, 2.2vw, 1.6rem); }
.svc-row h3 { margin: 0; font-size: clamp(1.6rem, 2.7vw, 2.25rem); }
.svc-row p { margin: 0; color: var(--muted); }
.svc-go { display: grid; place-items: center; width: 52px; height: 52px; border: 1.5px solid var(--ink); border-radius: 50%; justify-self: end; transition: background-color .25s, color .25s, border-color .25s; }
.svc-row:hover .svc-go { background: var(--red); border-color: var(--red); color: #fff; }
@media (max-width: 820px) {
  .svc-row { grid-template-columns: 1fr 52px; gap: .5rem 1rem; }
  .svc-row p { grid-column: 1; grid-row: 2; }
  .svc-go { grid-column: 2; grid-row: 1 / span 2; }
}
.legal-banner { margin-top: 2.5rem; display: grid; grid-template-columns: 1fr auto; gap: 1.5rem 2rem; align-items: center; padding: clamp(1.5rem, 3vw, 2.25rem) clamp(1.5rem, 3vw, 2.5rem); background: var(--ink); color: #fff; border-radius: var(--r-lg); }
.legal-banner h3 { margin: 0 0 .3em; font-size: clamp(1.5rem, 2.6vw, 2rem); }
.legal-banner p { margin: 0; color: rgba(255,255,255,.8); max-width: 40rem; }
@media (max-width: 720px) { .legal-banner { grid-template-columns: 1fr; } }

/* Sobre Yanet */
.about { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(2rem, 6vw, 5.5rem); align-items: center; }
.about .arch { aspect-ratio: 4 / 5; width: min(100%, 420px); margin-inline: auto; background: #cfcfcb; }
.about h2 { font-size: clamp(2rem, 4vw, 3.1rem); margin-bottom: 1rem; }
.about .name { font-family: var(--font-display); font-size: clamp(1.6rem, 2.6vw, 2.1rem); margin-bottom: .1em; }
.about .tagline { font-family: var(--font-display); font-style: italic; font-size: 1.3rem; color: rgba(255,255,255,.85); margin-bottom: 1.5rem; }
.about .lede, .lede { font-size: 1.12rem; }
.checks { display: grid; gap: .85rem; margin: 1.75rem 0 2.25rem; }
.checks li { display: flex; gap: .85rem; align-items: flex-start; font-weight: 500; }
.checks .icon { color: #ff4a57; margin-top: .22em; width: 1.3em; height: 1.3em; flex: none; stroke-width: 2.2; }
@media (max-width: 860px) { .about { grid-template-columns: 1fr; } .about .arch { width: min(78%, 340px); } }

/* Reseñas */
.reviews-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 1.5rem; margin-bottom: 2.5rem; }
.reviews-head h2 { font-size: clamp(2rem, 4vw, 3.1rem); margin: 0; }
.rating { display: flex; align-items: center; gap: .85rem; }
.stars { display: inline-flex; gap: .15rem; color: var(--star); }
.stars .icon { width: 1.15rem; height: 1.15rem; }
.rating strong { display: block; line-height: 1.2; }
.rating a { font-size: .9rem; color: var(--muted); }
.reviews { columns: 3 300px; column-gap: 1.25rem; }
.review { break-inside: avoid; margin: 0 0 1.25rem; padding: 1.6rem 1.6rem 1.4rem; background: #fff; border: 1px solid var(--line); border-radius: 22px; }
.review .stars { margin-bottom: .9rem; }
.review blockquote { margin: 0 0 1.25rem; font-size: 1rem; line-height: 1.62; }
.review figcaption { display: flex; align-items: center; gap: .75rem; font-size: .93rem; }
.review .avatar { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--ink); color: #fff; font-weight: 600; font-size: .95rem; flex: none; }
.review figcaption strong { display: block; line-height: 1.25; }
.review figcaption span { color: var(--muted); font-size: .82rem; }
@media (max-width: 700px) {
  .reviews { display: flex; columns: auto; gap: 1rem; overflow-x: auto; scroll-snap-type: x mandatory; padding: 0 var(--gutter) 1rem; margin-inline: calc(-1 * var(--gutter)); scrollbar-width: thin; }
  .review { flex: 0 0 86%; margin: 0; scroll-snap-align: center; }
}

/* Banda roja */
.band-red { position: relative; overflow: hidden; background: var(--red); color: #fff; }
.band-red .wrap { position: relative; z-index: 1; }
.band-red h2 { font-size: clamp(2.1rem, 4.6vw, 3.6rem); max-width: 18ch; letter-spacing: -.025em; }
.band-red p { color: rgba(255,255,255,.94); font-family: var(--font-display); font-style: italic; font-size: clamp(1.2rem, 2vw, 1.5rem); line-height: 1.35; max-width: 36rem; margin-bottom: 2rem; }
.band-arc { max-width: none; position: absolute; right: -8%; top: 50%; width: min(52vw, 560px); transform: translateY(-50%); opacity: .22; pointer-events: none; }
.band-arc circle { fill: none; stroke: #fff; stroke-width: 6; }

/* Instagram */
.social-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 1.5rem; margin-bottom: 2.25rem; }
.social-head h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); max-width: 26ch; margin: 0; }
.posts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
.post { display: flex; flex-direction: column; gap: 1.25rem; justify-content: space-between; min-height: 230px; padding: 1.5rem; border: 1px solid var(--line); border-radius: 22px; text-decoration: none; transition: border-color .2s, background-color .2s; }
.post:hover { border-color: var(--ink); background: var(--mist); }
.post .icon { width: 26px; height: 26px; }
.post h3 { font-family: var(--font-body); font-weight: 600; font-size: 1.04rem; line-height: 1.4; letter-spacing: 0; margin: 0; }
.post span { display: inline-flex; align-items: center; gap: .4rem; font-size: .9rem; font-weight: 600; color: var(--red); }
@media (max-width: 1020px) { .posts { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .posts { grid-template-columns: 1fr; } .post { min-height: 0; } }

/* Pie */
.site-footer { background: var(--night); color: rgba(255,255,255,.82); padding-top: clamp(3rem, 6vw, 5rem); font-size: .97rem; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.2fr; gap: 2.5rem; padding-bottom: 3rem; }
.footer-brand img { height: 52px; width: auto; margin-bottom: 1.25rem; }
.footer-brand p { max-width: 22rem; margin: 0 0 1.25rem; }
.site-footer h3 { font-family: var(--font-body); font-weight: 600; font-size: .95rem; letter-spacing: 0; color: #fff; margin: 0 0 1rem; }
.site-footer ul { display: grid; gap: .55rem; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.contact-list li { display: flex; gap: .7rem; align-items: flex-start; }
.contact-list .icon { margin-top: .22em; color: #ff4a57; }
.social { display: flex; gap: .6rem; }
.social a { display: grid; place-items: center; width: 44px; height: 44px; border: 1.5px solid rgba(255,255,255,.35); border-radius: 50%; color: #fff; transition: background-color .2s, border-color .2s; }
.social a:hover { background: var(--red); border-color: var(--red); text-decoration: none; }
.social .icon { width: 20px; height: 20px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.14); padding-block: 1.4rem; font-size: .87rem; color: rgba(255,255,255,.65); }
.footer-bottom .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 2rem; }
.footer-bottom p { margin: 0; color: inherit; }
.legal-links { display: flex !important; flex-wrap: wrap; gap: .35rem 1.25rem; }
.linklike { padding: 0; border: 0; background: none; color: inherit; font: inherit; text-decoration: none; cursor: pointer; }
.linklike:hover { color: #fff; text-decoration: underline; }
@media (max-width: 960px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; gap: 2rem; } }

/* Barra móvil */
.mbar { display: none; }
@media (max-width: 760px) {
  .mbar { display: flex; gap: .6rem; position: fixed; z-index: 40; left: 0; right: 0; bottom: 0; padding: .65rem var(--gutter) calc(.65rem + env(safe-area-inset-bottom, 0px)); background: rgba(255,255,255,.96); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-top: 1px solid var(--line); }
  .mbar .btn { flex: 1; padding-block: .85rem; }
  .mbar .btn-wa { flex: 0 0 auto; padding-inline: 1.1rem; }
  body { padding-bottom: 76px; }
  body.nav-open .mbar { display: none; }
}

/* Páginas interiores */
.page-hero { position: relative; overflow: hidden; padding-block: clamp(2.75rem, 7vw, 5.5rem) clamp(3rem, 7vw, 5.5rem); }
.page-hero .wrap { position: relative; z-index: 1; }
.page-hero .arcs { max-width: none; position: absolute; right: -10%; top: 50%; width: min(60vw, 640px); transform: translateY(-50%); pointer-events: none; }
.page-hero .arcs circle { fill: none; stroke: rgba(255,255,255,.16); stroke-width: 1.5; }
.page-hero .arcs path { fill: none; stroke: var(--red); stroke-width: 7; }
.crumbs { display: flex; flex-wrap: wrap; gap: .4rem .6rem; align-items: center; margin: 0 0 1.75rem; font-size: .88rem; color: rgba(255,255,255,.7); }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: #fff; text-decoration: underline; }
.crumbs li + li::before { content: "/"; margin-right: .6rem; opacity: .5; }
.crumbs [aria-current] { color: #fff; }
.page-hero h1 { font-size: clamp(2.4rem, 5.6vw, 4.5rem); line-height: 1.04; letter-spacing: -.028em; max-width: 17ch; margin-bottom: .5em; }
.page-hero .lead { font-family: var(--font-display); font-style: italic; font-size: clamp(1.3rem, 2.3vw, 1.75rem); line-height: 1.3; max-width: 38rem; color: rgba(255,255,255,.95); margin-bottom: 1rem; }
.page-hero .sub { max-width: 36rem; margin-bottom: 2rem; }

.layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(2.5rem, 6vw, 5rem); align-items: start; }
.aside { position: sticky; top: calc(var(--header-h) + 24px); }
.aside-card { padding: 1.75rem; border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff; box-shadow: 0 18px 40px -26px rgba(18,18,17,.35); }
.aside-who { display: flex; align-items: center; gap: .9rem; margin-bottom: 1.25rem; }
.aside-who img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; }
.aside-who strong { display: block; line-height: 1.25; }
.aside-who span { font-size: .85rem; color: var(--muted); }
.aside-card h2 { font-size: 1.55rem; margin-bottom: .5rem; }
.aside-card p { color: var(--muted); font-size: .96rem; }
.aside-list { display: grid; gap: .6rem; margin: 0 0 1.5rem; font-size: .94rem; }
.aside-list li { display: flex; gap: .65rem; align-items: center; }
.aside-list .icon { color: var(--red); }
.aside-card .btn { width: 100%; }
.aside-card .btn + .btn { margin-top: .6rem; }
@media (max-width: 960px) { .layout { grid-template-columns: 1fr; } .aside { display: none; } }

.prose > * + h2 { margin-top: clamp(2.75rem, 5vw, 4rem); }
.prose h2 { font-size: clamp(1.8rem, 3.2vw, 2.5rem); margin-bottom: .6em; }
.prose > p { max-width: 42rem; }

.fichas { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; margin-top: 1.5rem; }
.fichas.one { grid-template-columns: 1fr; }
.ficha { padding: clamp(1.4rem, 2.4vw, 2rem); background: var(--mist); border-radius: var(--r-lg); }
.ficha h3 { font-size: 1.5rem; margin-bottom: .5rem; }
.ficha .intro { color: var(--muted); font-size: .98rem; margin-bottom: 1.1rem; }
.badge { display: inline-flex; align-items: center; gap: .4rem; margin-bottom: 1rem; padding: .3rem .85rem; border-radius: 999px; background: var(--ink); color: #fff; font-size: .82rem; font-weight: 600; line-height: 1.4; }
.badge.red { background: var(--red); }
.bullets { display: grid; gap: .8rem; }
.bullets li { position: relative; padding-left: 1.5rem; font-size: .99rem; line-height: 1.55; }
.bullets li::before { content: ""; position: absolute; left: 0; top: .62em; width: .6rem; height: .6rem; border: 2px solid var(--red); border-radius: 50%; }
.bullets strong { font-weight: 600; }
@media (max-width: 820px) { .fichas { grid-template-columns: 1fr; } }

.plazos { display: grid; gap: .9rem; margin: 1.5rem 0 0; }
.plazo { display: grid; grid-template-columns: 88px minmax(0, 1fr); gap: .35rem 1rem; align-items: center; }
.plazo-n { font-family: var(--font-display); font-size: 1.6rem; line-height: 1; }
.plazo-bar { position: relative; height: 12px; background: #e4e4e0; border-radius: 99px; }
.plazo-bar i { position: absolute; left: 0; top: 0; bottom: 0; background: var(--ink); border-radius: 99px; }
.plazo.hl .plazo-bar i { background: var(--red); }
.plazo p { grid-column: 2; margin: 0; font-size: .96rem; color: var(--muted); }
@media (max-width: 520px) { .plazo { grid-template-columns: 70px minmax(0, 1fr); } }

.steps { counter-reset: step; display: grid; margin-top: 1.75rem; }
.steps li { counter-increment: step; position: relative; padding: 0 0 1.75rem 4rem; }
.steps li:last-child { padding-bottom: 0; }
.steps li::before { content: counter(step); position: absolute; left: 0; top: 0; display: grid; place-items: center; width: 2.75rem; height: 2.75rem; border-radius: 50%; background: var(--ink); color: #fff; font-family: var(--font-display); font-size: 1.3rem; }
.steps li:not(:last-child)::after { content: ""; position: absolute; left: 1.375rem; top: 3.1rem; bottom: .35rem; width: 1.5px; background: var(--line); }
.steps h3 { font-family: var(--font-body); font-weight: 600; font-size: 1.08rem; letter-spacing: 0; margin: .35rem 0 .25rem; }
.steps p { margin: 0; color: var(--muted); max-width: 38rem; }

.faq { margin-top: 1.25rem; border-top: 1px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding: 1.25rem 0; cursor: pointer; list-style: none; font-family: var(--font-display); font-size: 1.3rem; line-height: 1.3; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { width: 1.3rem; height: 1.3rem; transition: transform .25s var(--ease); }
.faq details[open] summary .icon { transform: rotate(45deg); color: var(--red); }
.faq details > div { padding: 0 0 1.4rem; max-width: 40rem; color: var(--muted); }
.faq details > div p:last-child { margin: 0; }

.notice { display: grid; grid-template-columns: auto 1fr; gap: 1rem 1.1rem; margin: 2rem 0; padding: 1.5rem 1.6rem; background: #fdecee; border-left: 4px solid var(--red); border-radius: 6px var(--r-md) var(--r-md) 6px; }
.notice > .icon { width: 1.6rem; height: 1.6rem; color: var(--red); margin-top: .15rem; }
.notice h3 { font-family: var(--font-body); font-weight: 600; font-size: 1.02rem; letter-spacing: 0; margin: 0 0 .5rem; }
.notice p { font-size: .97rem; margin: 0 0 .75rem; }
.notice p:last-child { margin: 0; }
.notice.neutral { background: var(--mist); border-left-color: var(--ink); }
.notice.neutral > .icon { color: var(--ink); }

.window { margin: 1.25rem 0 1.5rem; padding: 1.25rem 0 0; }
.window-bar { display: grid; grid-template-columns: 40fr 60fr; height: 12px; border-radius: 99px; overflow: hidden; position: relative; }
.window-bar i:first-child { background: var(--ink); }
.window-bar i:last-child { background: var(--red); }
.window-wrap { position: relative; }
.window-mark { position: absolute; left: 40%; top: -6px; width: 4px; height: 24px; background: #fff; border: 2px solid var(--ink); border-radius: 3px; transform: translateX(-50%); }
.window-labels { display: grid; grid-template-columns: 40fr 60fr; margin-top: .75rem; font-size: .86rem; line-height: 1.35; }
.window-labels span:last-child { text-align: right; }
.window-labels b { display: block; font-weight: 600; }

.deadlines { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; margin-top: 1.75rem; }
.deadline { position: relative; padding: 2rem 0 0; border-top: 2px solid var(--ink); }
.deadline::before { content: ""; position: absolute; left: 0; top: -8px; width: 14px; height: 14px; border-radius: 50%; background: var(--red); }
.deadline .when { font-family: var(--font-display); font-size: 2.3rem; line-height: 1; margin-bottom: .15em; }
.deadline .when small { font-size: 1rem; font-family: var(--font-body); color: var(--muted); }
.deadline h3 { font-family: var(--font-body); font-weight: 600; font-size: 1.05rem; letter-spacing: 0; margin-bottom: .6rem; }
.deadline p, .deadline li { font-size: .96rem; color: var(--muted); }
.deadline ul { display: grid; gap: .5rem; margin-top: .75rem; }
.deadline li strong { color: var(--ink); font-weight: 600; }
@media (max-width: 860px) { .deadlines { grid-template-columns: 1fr; gap: 2rem; } }

.phases { display: grid; grid-template-columns: 1fr auto 1fr; gap: 1rem; align-items: stretch; margin-top: 1.5rem; }
.phase { padding: 1.6rem; background: var(--mist); border-radius: var(--r-lg); }
.phase p { margin: 0; color: var(--ink-soft); }
.phase-link { display: grid; place-items: center; color: var(--red); }
.phase-link .icon { width: 2rem; height: 2rem; }
@media (max-width: 720px) { .phases { grid-template-columns: 1fr; } .phase-link .icon { transform: rotate(90deg); } }

.reasons { display: grid; gap: 1.25rem; margin-top: 1.5rem; }
.reasons li { display: grid; grid-template-columns: 2.75rem 1fr; gap: 1rem; align-items: start; }
.reasons .ring { display: grid; place-items: center; width: 2.75rem; height: 2.75rem; border: 1.5px solid var(--ink); border-radius: 50%; }
.reasons h3 { font-family: var(--font-body); font-weight: 600; font-size: 1.05rem; letter-spacing: 0; margin: .15rem 0 .2rem; }
.reasons p { margin: 0; color: var(--muted); }

/* Cita */
.cita-hero { padding-block: clamp(2.5rem, 6vw, 4.5rem) clamp(1.5rem, 3vw, 2.5rem); }
.cita-hero h1 { font-size: clamp(2.3rem, 5vw, 4.1rem); max-width: 20ch; letter-spacing: -.026em; }
.cita-hero .lead { font-size: 1.2rem; color: var(--ink-soft); max-width: 40rem; }
.cita-quote { margin: 1.75rem 0 0; font-family: var(--font-display); font-style: italic; font-size: clamp(1.3rem, 2.4vw, 1.8rem); line-height: 1.3; max-width: 34rem; padding-left: 1.1rem; border-left: 3px solid var(--red); }
.cita-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(2rem, 5vw, 4rem); align-items: start; padding-bottom: clamp(3.5rem, 7vw, 6rem); }
.cita-side .arch { aspect-ratio: 4 / 5; margin-bottom: 2rem; }
.cita-side h2 { font-size: 1.55rem; margin-bottom: .6rem; }
.cita-side section + section { margin-top: 1.75rem; }
.cita-side .aside-list { margin: 0; }
.cita-cal h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 1rem; }
.cal-embed { min-height: 720px; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; background: #fff; position: relative; }
.cal-embed iframe { width: 100%; height: 100%; min-height: 720px; border: 0; }
.cal-fallback { position: absolute; inset: 0; display: grid; place-items: center; padding: 2rem; text-align: center; color: var(--muted); }
.doubt { margin-top: 1.5rem; padding: 1.25rem 1.5rem; background: var(--mist); border-radius: var(--r-md); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; }
.doubt strong { font-family: var(--font-display); font-weight: 400; font-size: 1.25rem; }
@media (max-width: 900px) {
  .cita-grid { grid-template-columns: 1fr; }
  .cita-cal { order: -1; }
  .cita-side .arch { width: min(78%, 340px); margin-inline: auto; }
}

.notfound { min-height: 60vh; display: grid; place-items: center; text-align: center; padding-block: 5rem; }
.notfound h1 { font-size: clamp(3rem, 8vw, 6rem); margin-bottom: .2em; }
.notfound .lede { max-width: 36rem; margin-inline: auto; }
.thanks-icon { width: 64px; height: 64px; margin: 0 auto 1.25rem; padding: 14px; border-radius: 50%; background: var(--red); color: #fff; stroke-width: 2.4; }
.notfound .thanks-icon + h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }

/* Menú: "Inicio" solo en el panel móvil (en escritorio lo hace el logo) */
@media (min-width: 1021px) { .nav-home { display: none; } }

/* El despacho */
.about-light .tagline { color: var(--muted); font-size: 1.15rem; }
.layout-plain { align-items: center; }
.why-stack { display: grid; gap: 0; }
.why-stack .why-item { padding: 1.5rem 0; border-top: 1px solid var(--line); }
.why-stack .why-item:first-child { border-top: 0; padding-top: 0; }
@media (max-width: 960px) { .layout-plain .why-stack { margin-top: 1rem; } }

/* Mapa */
.map-box small { display: block; margin-top: .85rem; font-size: .8rem; color: rgba(255,255,255,.6); }

/* Páginas legales */
.page-hero-sm { padding-block: clamp(2.25rem, 5vw, 3.75rem); }
.page-hero-sm h1 { max-width: none; font-size: clamp(2.2rem, 5vw, 3.6rem); }
.page-hero-sm .sub { margin: 0; color: rgba(255,255,255,.7); }
.doc { max-width: 50rem; }
.doc h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin: 2.5rem 0 .75rem; }
.doc h2:first-child { margin-top: 0; }
.doc ul { display: grid; gap: .55rem; margin: 0 0 1.25rem; }
.doc ul li { position: relative; padding-left: 1.4rem; }
.doc ul li::before { content: ""; position: absolute; left: 0; top: .62em; width: .5rem; height: .5rem; border: 2px solid var(--red); border-radius: 50%; }
.doc a { color: var(--ink); text-decoration-color: var(--red); text-underline-offset: 3px; }
.doc code { font-size: .9em; background: var(--mist); padding: .1em .4em; border-radius: 6px; }
.doc-table-wrap, .doc-table { width: 100%; }
.doc-table { border-collapse: collapse; margin: .5rem 0 1.5rem; font-size: .94rem; line-height: 1.5; }
.doc-table th, .doc-table td { text-align: left; vertical-align: top; padding: .8rem .9rem; border-bottom: 1px solid var(--line); }
.doc-table th { font-weight: 600; border-bottom: 1.5px solid var(--ink); }
@media (max-width: 700px) {
  .doc-table thead { display: none; }
  .doc-table, .doc-table tbody, .doc-table tr, .doc-table td { display: block; }
  .doc-table tr { padding: .75rem 0; border-bottom: 1px solid var(--line); }
  .doc-table td { padding: .2rem 0; border: 0; }
  .doc-table td:first-child { font-weight: 600; }
}
mark.pendiente { background: #fff3a8; color: var(--ink); padding: 0 .2em; border-radius: 4px; }

/* Formulario de contacto */
.form { margin-top: 1.5rem; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.1rem 1.25rem; }
.field { display: grid; gap: .4rem; }
.field-full { grid-column: 1 / -1; }
.field label { font-weight: 600; font-size: .95rem; }
.field label span { color: var(--red); }
.field input, .field select, .field textarea { width: 100%; padding: .85rem 1rem; font: inherit; font-size: 1rem; color: var(--ink); background: #fff; border: 1.5px solid var(--line); border-radius: 14px; transition: border-color .2s; }
.field textarea { resize: vertical; min-height: 9rem; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: #b9b9b3; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(222,2,17,.18); }
.field [aria-invalid="true"] { border-color: var(--red); }
.field-help { margin: 0; font-size: .85rem; color: var(--muted); }
.field-error { margin: 0; font-size: .85rem; color: var(--red-deep); font-weight: 600; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.check { display: flex; gap: .7rem; align-items: flex-start; margin: 1.4rem 0 1rem; font-size: .96rem; cursor: pointer; }
.check input { width: 1.2rem; height: 1.2rem; margin: .2rem 0 0; flex: none; accent-color: var(--red); }
.check a { color: var(--ink); }
.check > span > span { color: var(--red); }
.rgpd-box { padding: 1rem 1.15rem; background: var(--mist); border-radius: var(--r-md); font-size: .82rem; line-height: 1.55; color: var(--muted); }
.rgpd-box p { margin: 0; max-width: none; }
.rgpd-box a { color: var(--ink); }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.25rem; margin-top: 1.5rem; }
.form-actions .btn[disabled] { opacity: .6; cursor: wait; transform: none; }
.form-status { margin: 0; font-weight: 600; }
.form-status.is-ok { color: #1d7a3a; }
.form-status.is-error { color: var(--red-deep); }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } .form-actions .btn { width: 100%; } }

/* Banner de cookies */
.cookies { position: fixed; z-index: 60; left: var(--gutter); bottom: var(--gutter); width: min(420px, calc(100% - 2 * var(--gutter))); padding: 1.25rem 1.35rem 1.35rem; background: #fff; color: var(--ink); border: 1px solid var(--line); border-radius: 22px; box-shadow: 0 24px 60px -18px rgba(18,18,17,.45); font-size: .9rem; line-height: 1.55; }
.cookies[hidden] { display: none; }
.cookies-t { font-family: var(--font-display); font-size: 1.35rem; line-height: 1.2; margin: 0 0 .4rem; }
.cookies p { margin: 0 0 1rem; }
.cookies a { color: var(--ink); }
.cookies-actions { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; }
@media (max-width: 760px) { .cookies { left: 12px; right: 12px; width: auto; bottom: calc(76px + env(safe-area-inset-bottom, 0px)); } }

/* Consentimiento pendiente en el calendario de /cita/ */
.cal-consent { display: grid; gap: 1rem; justify-items: center; max-width: 26rem; }
.cal-consent p { margin: 0; }

/* Feed de Instagram con imagen */
.post.has-img { padding: 0; overflow: hidden; gap: 0; justify-content: flex-start; }
.post-img { position: relative; aspect-ratio: 1; background: var(--mist); overflow: hidden; }
.post-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s var(--ease); }
.post.has-img:hover .post-img img { transform: scale(1.03); }
.post-img .icon { position: absolute; right: .75rem; top: .75rem; width: 26px; height: 26px; color: #fff; filter: drop-shadow(0 1px 3px rgba(0,0,0,.5)); }
.post-body { display: flex; flex-direction: column; gap: .9rem; justify-content: space-between; flex: 1; padding: 1.15rem 1.25rem 1.3rem; }
.post-body h3 { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; font-weight: 500; font-size: .98rem; }
.post-body time { font-size: .82rem; color: var(--muted); }

/* Reseñas en vivo */
.review time { display: block; }
.reviews-source { margin: 1rem 0 0; font-size: .82rem; color: var(--muted); }

/* =========================================================`n   PALETA B · Beige y vino (aprobada por la clienta, oct. 2026)`n   Sin bloques negros; vino #580c0c para acentos, banda final y barra superior.`n   ========================================================= */
:root {
  --red: #580c0c; --red-deep: #3e0707;
  --ink: #2f2725; --ink-soft: #4d4340; --muted: #6e625d;
  --night: #efe7dd; --mist: #f5f5f5; --line: #e6ded4; --paper: #fffdfb;
  --star: #c9962b;
}
.btn-ink { background: #3a302d; }
.btn-ink:hover { background: var(--red); }
.topbar { background: var(--red); }
.site-header { background: rgba(255,253,251,.94); }

/* Secciones que eran negras -> beige con texto oscuro */
.section.on-dark:not(.band-red), .page-hero.on-dark { background: var(--night); color: var(--ink); }
.section.on-dark:not(.band-red) p, .page-hero.on-dark p { color: var(--ink-soft); }
.page-hero .lead, .about .tagline { color: var(--red); }
.page-hero-sm .sub { color: var(--muted); }
.crumbs, .crumbs [aria-current], .crumbs a:hover { color: var(--muted); }
.crumbs [aria-current] { color: var(--ink); }
.page-hero .arcs circle { stroke: rgba(88,12,12,.13); }
.section.on-dark:not(.band-red) .btn-line-light, .page-hero .btn-line-light { border-color: var(--ink); color: var(--ink); }
.section.on-dark:not(.band-red) .btn-line-light:hover, .page-hero .btn-line-light:hover { background: var(--ink); color: #fff; }
.checks .icon, .contact-list .icon { color: var(--red); }
.section.on-dark:not(.band-red) :focus-visible, .page-hero :focus-visible { outline-color: var(--red); }
.about .arch { background: #e2d7c9; }

/* Bloques oscuros pequeños -> vino */
.legal-banner, .map-box, .review .avatar, .steps li::before { background: var(--red); }
.map-box .pin { color: #f1d9cf; }

/* Banda de cierre vino */
.band-red .btn-ink { background: #fff; color: var(--red); }
.band-red .btn-ink:hover { background: var(--night); }

/* Pie claro */
.site-footer { background: var(--mist); color: var(--ink-soft); border-top: 1px solid var(--line); }
.site-footer p { color: var(--ink-soft); }
.site-footer h3, .site-footer a:hover, .linklike:hover { color: var(--red); }
.social a { border-color: var(--line); color: var(--ink); }
.social a:hover { color: #fff; }
.footer-bottom { border-top-color: var(--line); color: var(--muted); }
.site-footer :focus-visible { outline-color: var(--red); }

/* Rejillas de fichas: la última impar ocupa todo el ancho */
.fichas > .ficha:last-child:nth-child(odd) { grid-column: 1 / -1; }

/* Animaciones al hacer scroll (solo si JS las activa con .anim en <html>) */
.anim .reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: calc(var(--i, 0) * 90ms); }
.anim .reveal.reveal-img { transform: translateY(18px) scale(.97); }
.anim .reveal.is-in { opacity: 1; transform: none; }
.anim .page-hero .arcs, .anim .band-arc { transition: transform 1.2s var(--ease); }
@media (prefers-reduced-motion: reduce) { .anim .reveal { opacity: 1; transform: none; transition: none; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
/* Selector de idioma (ES / EN) */
.lang-switch { flex: none; display: inline-flex; align-items: center; justify-content: center; min-width: 46px; height: 46px; padding: 0 .75rem; border: 1.5px solid var(--line); border-radius: 999px; font-size: .85rem; font-weight: 700; letter-spacing: .04em; text-decoration: none; color: var(--ink); transition: border-color .2s, color .2s; }
.lang-switch:hover { border-color: var(--red); color: var(--red); }
@media (max-width: 1020px) {
  .lang-switch { order: 2; margin-left: auto; }
  .nav-toggle { order: 3; margin-left: 0; }
}

@media print { .topbar, .site-header, .mbar, .aside, .band-red, .site-footer, .cookies, .lang-switch { display: none; } }
