/* ==========================================================================
   Mudanzas y Reformas LYM — hoja de estilos única
   Sin fuentes remotas ni frameworks. Si la modificas, cambia el ?v= con el
   que la enlazan las páginas (buscar y reemplazar) para invalidar la caché.
   ========================================================================== */

/* --- Tokens ------------------------------------------------------------- */
:root {
  color-scheme: light;

  --c-ink: #0b1b2b;
  --c-ink-soft: #3a4d61;
  --c-muted: #5b6f84;
  --c-line: #dde5ee;
  --c-line-soft: #edf2f7;
  --c-bg: #ffffff;
  --c-bg-soft: #f4f7fb;

  --c-brand: #0e3a5c;
  --c-brand-700: #082a44;
  --c-brand-500: #1d6494;
  --c-brand-300: #6f9cc0;
  --c-brand-50: #eaf2f9;
  --c-accent: #b4530b;
  --c-accent-700: #8f4108;
  --c-accent-soft: #fdf1e4;
  --c-accent-bright: #f5921e;
  --c-wa: #0b6e62;
  --c-wa-700: #085349;
  --c-ok: #0b6e62;

  --radius-sm: 10px;
  --radius: 14px;
  --radius-lg: 22px;
  --radius-xl: 30px;
  --radius-pill: 999px;

  --shadow-sm: 0 1px 2px rgba(11, 27, 43, .06), 0 1px 3px rgba(11, 27, 43, .04);
  --shadow-md: 0 6px 16px rgba(11, 27, 43, .07), 0 14px 32px rgba(11, 27, 43, .06);
  --shadow-lg: 0 24px 60px rgba(11, 27, 43, .14);

  --wrap: 1180px;
  --gutter: clamp(1rem, 4vw, 2.5rem);
  --section-y: clamp(3.5rem, 8vw, 6rem);
  --header-h: 72px;

  --font: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto,
    "Helvetica Neue", "Noto Sans", Arial, sans-serif;
  --ease: cubic-bezier(.2, .7, .3, 1);
}

/* --- Base --------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 1rem);
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--c-ink-soft);
  background: var(--c-bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg, video { max-width: 100%; height: auto; display: block; }

h1, h2, h3, h4 {
  color: var(--c-ink);
  line-height: 1.14;
  letter-spacing: -.022em;
  margin: 0 0 .6em;
  text-wrap: balance;
  font-weight: 780;
}
h1 { font-size: clamp(2.1rem, 1.3rem + 3.2vw, 3.4rem); letter-spacing: -.03em; }
h2 { font-size: clamp(1.65rem, 1.15rem + 2vw, 2.35rem); }
h3 { font-size: clamp(1.15rem, 1.05rem + .5vw, 1.3rem); }

p { margin: 0 0 1.1em; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }

a { color: var(--c-brand); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { color: var(--c-accent); }

ul, ol { margin: 0 0 1.1em; padding-left: 1.25em; }
li + li { margin-top: .4em; }
strong { color: var(--c-ink); font-weight: 680; }
address { font-style: normal; }

:focus-visible {
  outline: 3px solid var(--c-accent-bright);
  outline-offset: 3px;
  border-radius: 4px;
}

/* Datos del negocio aún sin rellenar (TODO_…): se ocultan en la web y se
   resaltan en los textos legales. Aparecen solos al sustituirlos. */
[href*="TODO_"], [data-v*="TODO_"] { display: none !important; }
.prose [data-v*="TODO_"] {
  display: inline !important;
  background: #fff1c2;
  color: #6b4200;
  padding: .05em .35em;
  border-radius: 4px;
  font-family: ui-monospace, monospace;
  font-size: .85em;
}

/* --- Utilidades --------------------------------------------------------- */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.wrap--narrow { max-width: 820px; }

.section { padding-block: var(--section-y); }
.section--soft { background: var(--c-bg-soft); }
.section--dark {
  color: rgba(255, 255, 255, .82);
  background:
    radial-gradient(50rem 26rem at 110% 0%, rgba(245, 146, 30, .16), transparent 60%),
    linear-gradient(180deg, var(--c-brand-700), var(--c-brand));
}
.section--dark h2, .section--dark h3 { color: #fff; }
.section--dark .eyebrow { color: var(--c-accent-bright); }

/* El navegador se salta el renderizado de lo que no está a la vista. */
main > .section:not(:first-of-type), .footer {
  content-visibility: auto;
  contain-intrinsic-size: auto 700px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-size: .8125rem;
  font-weight: 720;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--c-accent);
  margin-bottom: .9rem;
}
.eyebrow::before {
  content: "";
  width: 1.4rem;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
}

.lede { font-size: clamp(1.0625rem, 1rem + .4vw, 1.22rem); max-width: 62ch; }

.section__head { max-width: 68ch; margin-bottom: clamp(2rem, 4vw, 3rem); }
.section__head--center { margin-inline: auto; text-align: center; }
.section__head--center .lede { margin-inline: auto; }

.skip-link {
  position: absolute;
  left: 50%; top: 0;
  transform: translate(-50%, -120%);
  z-index: 200;
  background: var(--c-ink);
  color: #fff;
  padding: .75rem 1.25rem;
  border-radius: 0 0 var(--radius) var(--radius);
  font-weight: 640;
  text-decoration: none;
  transition: transform .2s var(--ease);
}
.skip-link:focus { transform: translate(-50%, 0); color: #fff; }

.more-link { margin-top: 2rem; color: var(--c-muted); }
.note { font-size: .875rem; color: var(--c-muted); }

/* --- Botones ------------------------------------------------------------ */
.btn {
  --btn-bg: var(--c-brand);
  --btn-fg: #fff;
  --btn-bd: var(--c-brand);
  --btn-bg-h: var(--c-brand-700);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  padding: .8rem 1.4rem;
  min-height: 48px;
  border: 1.5px solid var(--btn-bd);
  border-radius: var(--radius-pill);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font: inherit;
  font-weight: 660;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: transform .18s var(--ease), box-shadow .18s var(--ease), background-color .18s var(--ease), border-color .18s var(--ease);
}
.btn:hover { color: var(--btn-fg); background: var(--btn-bg-h); border-color: var(--btn-bg-h); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn:active { transform: translateY(0); }
.btn svg { width: 1.15em; height: 1.15em; flex: none; fill: currentColor; }
.btn svg:last-child:not(:first-child) { transition: transform .18s var(--ease); }
.btn:hover svg:last-child:not(:first-child) { transform: translateX(3px); }

.btn--accent { --btn-bg: var(--c-accent); --btn-bd: var(--c-accent); --btn-bg-h: var(--c-accent-700); box-shadow: 0 6px 18px rgba(180, 83, 11, .25); }
.btn--brand { --btn-bg: var(--c-brand); --btn-bd: var(--c-brand); }
.btn--wa { --btn-bg: var(--c-wa); --btn-bd: var(--c-wa); --btn-bg-h: var(--c-wa-700); }
.btn--ghost { --btn-bg: #fff; --btn-fg: var(--c-ink); --btn-bd: var(--c-line); --btn-bg-h: #fff; }
.btn--ghost:hover { border-color: var(--c-brand-300); color: var(--c-brand); }
.btn--on-dark { --btn-bg: rgba(255, 255, 255, .08); --btn-fg: #fff; --btn-bd: rgba(255, 255, 255, .35); --btn-bg-h: rgba(255, 255, 255, .16); }
.btn--sm { min-height: 42px; padding: .55rem 1.1rem; font-size: .9375rem; }
.btn--lg { padding: .95rem 1.75rem; font-size: 1.0625rem; min-height: 56px; }
.btn--block { width: 100%; }

.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.75rem; }

/* --- Cabecera ----------------------------------------------------------- */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, .9);
  backdrop-filter: saturate(1.6) blur(14px);
  -webkit-backdrop-filter: saturate(1.6) blur(14px);
  border-bottom: 1px solid var(--c-line-soft);
  transition: box-shadow .25s var(--ease);
}
.header[data-stuck="true"] { box-shadow: 0 8px 28px rgba(11, 27, 43, .08); }

.header__bar { display: flex; align-items: center; gap: 1rem; min-height: var(--header-h); }

.brand {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  text-decoration: none;
  color: var(--c-ink);
  font-weight: 800;
  letter-spacing: -.02em;
  font-size: 1.05rem;
  margin-right: auto;
  white-space: nowrap;
}
.brand:hover { color: var(--c-ink); }
.brand__mark { width: 40px; height: 40px; flex: none; }
.brand__name { display: flex; flex-direction: column; line-height: 1.15; }
.brand__name small { font-size: .6875rem; font-weight: 600; letter-spacing: .05em; color: var(--c-muted); text-transform: uppercase; }

.nav { display: none; }
.nav ul { display: flex; align-items: center; gap: .15rem; list-style: none; margin: 0; padding: 0; }
.nav li { margin: 0; }
.nav a {
  position: relative;
  display: block;
  padding: .5rem .75rem;
  border-radius: var(--radius-pill);
  color: var(--c-ink-soft);
  font-weight: 620;
  font-size: .95rem;
  text-decoration: none;
  transition: background-color .18s var(--ease), color .18s var(--ease);
}
.nav a:hover { background: var(--c-bg-soft); color: var(--c-ink); }
.nav a[aria-current] { color: var(--c-brand); background: var(--c-brand-50); }

.header__cta { display: none; }
.header__cta .btn { white-space: nowrap; }

.burger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px; height: 46px;
  border: 1.5px solid var(--c-line);
  border-radius: 12px;
  background: #fff;
  cursor: pointer;
  color: var(--c-ink);
}
.burger svg { width: 22px; height: 22px; fill: currentColor; }
.burger .burger__close, .burger[aria-expanded="true"] .burger__open { display: none; }
.burger[aria-expanded="true"] .burger__close { display: block; }

.mobile-nav {
  border-top: 1px solid var(--c-line);
  background: #fff;
  padding: .5rem var(--gutter) 1.5rem;
  max-height: calc(100dvh - var(--header-h));
  overflow-y: auto;
}
.mobile-nav[hidden] { display: none; }
.mobile-nav ul { list-style: none; margin: 0 0 1rem; padding: 0; }
.mobile-nav li { margin: 0; border-bottom: 1px solid var(--c-line-soft); }
.mobile-nav a:not(.btn) { display: block; padding: .9rem .25rem; color: var(--c-ink); font-weight: 640; text-decoration: none; }
.mobile-nav a[aria-current] { color: var(--c-accent); }
.mobile-nav .btn { width: 100%; }
.mobile-nav .btn + .btn { margin-top: .6rem; }

@media (min-width: 1000px) {
  .header__cta { display: inline-flex; gap: .5rem; }
  .header__cta .btn--ghost { display: none; }
}
@media (min-width: 1180px) {
  .nav { display: block; }
  .burger, .mobile-nav { display: none !important; }
}

/* --- Hero --------------------------------------------------------------- */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(60rem 36rem at 90% -10%, rgba(245, 146, 30, .16), transparent 60%),
    radial-gradient(50rem 34rem at -5% 10%, rgba(29, 100, 148, .12), transparent 60%),
    linear-gradient(180deg, #fbfcfe 0%, #f1f5fa 100%);
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(14, 58, 92, .09) 1px, transparent 1px);
  background-size: 22px 22px;
  mask-image: linear-gradient(180deg, transparent, #000 30%, transparent 90%);
  pointer-events: none;
}
.hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: clamp(2.5rem, 5vw, 4rem);
  align-items: center;
  padding-block: clamp(2.75rem, 7vw, 5.5rem) clamp(3rem, 7vw, 6rem);
}
.hero__kicker {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  margin-bottom: 1.4rem;
  padding: .4rem .9rem;
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--radius-pill);
  font-size: .8438rem;
  font-weight: 640;
  color: var(--c-ink);
  box-shadow: var(--shadow-sm);
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: #16a34a; box-shadow: 0 0 0 4px rgba(22, 163, 74, .18); }
.hero h1 { margin-bottom: .45em; max-width: 20ch; font-size: clamp(2.1rem, 1.3rem + 2.6vw, 3.15rem); }
.hero h1 em {
  font-style: normal;
  color: var(--c-accent);
  background: linear-gradient(transparent 68%, rgba(245, 146, 30, .22) 68%);
}
.hero__lede { font-size: clamp(1.075rem, 1rem + .55vw, 1.28rem); max-width: 54ch; }
.hero__checks {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem 1.4rem;
  list-style: none;
  padding: 0;
  margin: 1.75rem 0 0;
  font-size: .9375rem;
  font-weight: 600;
  color: var(--c-ink);
}
.hero__checks li { margin: 0; display: inline-flex; align-items: center; gap: .4rem; }
.hero__checks svg { width: 18px; height: 18px; fill: var(--c-ok); }

.hero__art { position: relative; max-width: 560px; justify-self: center; width: 100%; }
.hero__svg { width: 100%; filter: drop-shadow(0 30px 50px rgba(11, 27, 43, .14)); }
.hero__chip {
  position: absolute;
  display: flex;
  align-items: center;
  gap: .7rem;
  padding: .75rem 1rem;
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
  line-height: 1.25;
}
.hero__chip svg { width: 36px; height: 36px; padding: 8px; border-radius: 10px; flex: none; fill: var(--c-accent); background: var(--c-accent-soft); }
.hero__chip strong { display: block; font-size: .9375rem; }
.hero__chip small { font-size: .8rem; color: var(--c-muted); }
.hero__chip--a { left: -4%; bottom: 10%; }
.hero__chip--b { right: -3%; top: 8%; }
.hero__chip--b svg { fill: var(--c-brand); background: var(--c-brand-50); }
@media (prefers-reduced-motion: no-preference) {
  .hero__chip { animation: float 6s ease-in-out infinite; }
  .hero__chip--b { animation-delay: -3s; }
  @keyframes float { 50% { transform: translateY(-8px); } }
}
@media (max-width: 520px) {
  .hero__chip { position: static; margin-top: .75rem; }
  .hero__art { display: grid; }
}
@media (min-width: 960px) {
  .hero__grid { grid-template-columns: 1.1fr .9fr; }
}

/* --- Tira de confianza -------------------------------------------------- */
.strip { background: var(--c-brand); color: #fff; }
.strip ul {
  display: grid;
  gap: .9rem 2rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr));
  list-style: none;
  margin: 0;
  padding: 1.3rem 0;
}
.strip li { margin: 0; display: flex; align-items: center; gap: .65rem; font-size: .9375rem; font-weight: 620; }
.strip svg { width: 22px; height: 22px; flex: none; fill: var(--c-accent-bright); }

/* --- Pilares (mudanzas / reformas) ------------------------------------- */
.pillars { display: grid; gap: clamp(1rem, 2.5vw, 1.75rem); }
@media (min-width: 900px) { .pillars { grid-template-columns: 1fr 1fr; } }
.pillar {
  display: flex;
  flex-direction: column;
  padding: clamp(1.5rem, 3vw, 2.25rem);
  border: 1px solid var(--c-line);
  border-radius: var(--radius-xl);
  background: #fff;
  box-shadow: var(--shadow-sm);
}
.pillar--a { background: linear-gradient(180deg, var(--c-brand-50), #fff 40%); }
.pillar--b { background: linear-gradient(180deg, var(--c-accent-soft), #fff 40%); }
.pillar__top h3 { font-size: clamp(1.5rem, 1.2rem + 1vw, 1.85rem); margin-bottom: .35rem; }
.pillar__top h3 a { color: inherit; text-decoration: none; }
.pillar__top h3 a:hover { color: var(--c-accent); }
.pillar__icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 56px; height: 56px; margin-bottom: 1rem;
  border-radius: 16px; background: var(--c-brand); color: #fff;
}
.pillar--b .pillar__icon { background: var(--c-accent); }
.pillar__icon svg { width: 28px; height: 28px; fill: currentColor; }
.pillar__list { list-style: none; margin: 1.5rem 0; padding: 0; display: grid; gap: .5rem; }
.pillar__list li { margin: 0; }
.pillar__list a {
  display: flex;
  gap: .85rem;
  align-items: flex-start;
  padding: .85rem 1rem;
  border: 1px solid var(--c-line-soft);
  border-radius: var(--radius);
  background: #fff;
  text-decoration: none;
  color: var(--c-ink-soft);
  transition: border-color .18s var(--ease), transform .18s var(--ease), box-shadow .18s var(--ease);
}
.pillar__list a:hover { border-color: var(--c-brand-300); transform: translateX(3px); box-shadow: var(--shadow-sm); }
.pillar__list svg { width: 22px; height: 22px; flex: none; margin-top: .15rem; fill: var(--c-brand-500); }
.pillar--b .pillar__list svg { fill: var(--c-accent); }
.pillar__list strong { display: block; font-size: 1rem; }
.pillar__list small { display: block; font-size: .875rem; line-height: 1.45; color: var(--c-muted); }
.pillar__btn { margin-top: auto; align-self: flex-start; }

/* --- Tarjetas ----------------------------------------------------------- */
.grid {
  display: grid;
  gap: clamp(1rem, 2.2vw, 1.5rem);
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr));
}
.card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: clamp(1.4rem, 2.5vw, 1.9rem);
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), border-color .2s var(--ease);
}
.card h3 { margin-bottom: .45rem; }
.card p { font-size: .98rem; }
.card--link:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--c-brand-300); }
.card__link { text-decoration: none; color: inherit; }
.card__link::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.card--link:has(.card__link:focus-visible) { outline: 3px solid var(--c-accent-bright); outline-offset: 3px; }
.card__link:focus-visible { outline: none; }
.card__icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; margin-bottom: 1rem;
  border-radius: 14px; background: var(--c-accent-soft); color: var(--c-accent);
  transition: background-color .2s var(--ease), color .2s var(--ease);
}
.card--link:hover .card__icon { background: var(--c-accent); color: #fff; }
.card__icon svg { width: 24px; height: 24px; fill: currentColor; }
.card__more {
  margin-top: auto;
  padding-top: 1rem;
  font-weight: 680;
  font-size: .9375rem;
  color: var(--c-brand);
  display: inline-flex;
  align-items: center;
  gap: .35rem;
}
.card__more svg { width: 1.1em; height: 1.1em; fill: currentColor; transition: transform .2s var(--ease); }
.card--link:hover .card__more { color: var(--c-accent); }
.card--link:hover .card__more svg { transform: translateX(4px); }

/* --- Ventajas ----------------------------------------------------------- */
.features {
  display: grid;
  gap: clamp(1rem, 2.2vw, 1.5rem);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
}
.feature {
  padding: 1.6rem;
  border-radius: var(--radius-lg);
  background: #fff;
  border: 1px solid var(--c-line);
}
.section--soft .feature { border-color: transparent; box-shadow: var(--shadow-sm); }
.feature__icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 46px; height: 46px; margin-bottom: 1rem;
  border-radius: 50%; background: var(--c-brand-50); color: var(--c-brand);
}
.feature__icon svg { width: 22px; height: 22px; fill: currentColor; }
.feature h3 { font-size: 1.1rem; margin-bottom: .4rem; }
.feature p { font-size: .95rem; }

/* --- Listas con marca --------------------------------------------------- */
.ticks { list-style: none; margin: 0 0 1.1em; padding: 0; display: grid; gap: .75rem; }
.ticks:last-child { margin-bottom: 0; }
.ticks li { margin: 0; position: relative; padding-left: 2rem; }
.ticks li::before {
  content: "";
  position: absolute;
  left: 0; top: .22em;
  width: 1.3rem; height: 1.3rem;
  border-radius: 50%;
  background: var(--c-accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23b4530b'%3E%3Cpath d='M9.6 16.2 5.4 12l-1.4 1.4 5.6 5.6 12-12-1.4-1.4z'/%3E%3C/svg%3E") center / .85rem no-repeat;
}
.ticks--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: .75rem 1.75rem; }

/* --- Proceso ------------------------------------------------------------ */
.steps {
  display: grid;
  gap: clamp(1rem, 2.2vw, 1.5rem);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr));
  list-style: none;
  margin: 0;
  padding: 0;
  position: relative;
}
.steps li {
  margin: 0;
  padding: 1.6rem 1.4rem 1.5rem;
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--radius-lg);
  position: relative;
}
.steps__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  margin-bottom: 1rem;
  border-radius: 50%;
  background: var(--c-brand);
  color: #fff;
  font-weight: 800;
  font-size: .95rem;
  box-shadow: 0 0 0 6px var(--c-brand-50);
}
.steps li:last-child .steps__num { background: var(--c-accent); box-shadow: 0 0 0 6px var(--c-accent-soft); }
.steps h3 { font-size: 1.075rem; margin-bottom: .35rem; }
.steps p { font-size: .9375rem; margin: 0; }
@media (min-width: 1000px) {
  .steps::before {
    content: "";
    position: absolute;
    top: calc(1.6rem + 22px);
    left: 3rem; right: 3rem;
    border-top: 2px dashed var(--c-line);
  }
}

/* --- Bloque partido ----------------------------------------------------- */
.split { display: grid; gap: clamp(2rem, 4.5vw, 4rem); align-items: center; }
.split--top { align-items: start; }
@media (min-width: 900px) {
  .split { grid-template-columns: 1fr 1fr; }
  .split--aside { grid-template-columns: minmax(0, 1.6fr) minmax(300px, 1fr); }
  .split--top > .section__head { position: sticky; top: calc(var(--header-h) + 1.5rem); }
}

.prose-lg h2 { font-size: clamp(1.4rem, 1.15rem + 1vw, 1.8rem); }
.prose-lg h2:not(:first-child) { margin-top: 2.25rem; }
.prose-lg p { font-size: 1.075rem; }

.aside-card {
  padding: clamp(1.5rem, 3vw, 2rem);
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}
.aside-card h2 { font-size: 1.35rem; }
.aside-card h3 { font-size: 1.15rem; }
.aside-card .btn + .btn { margin-top: .6rem; }
.aside-card--soft { background: var(--c-bg-soft); box-shadow: none; margin-top: 1.5rem; }
.aside-card__list { list-style: none; padding: 0; margin: 1.25rem 0 1.5rem; display: grid; gap: .6rem; }
.aside-card__list li { margin: 0; display: flex; align-items: center; gap: .6rem; font-weight: 600; color: var(--c-ink); font-size: .95rem; }
.aside-card__list svg { width: 20px; height: 20px; fill: var(--c-accent); flex: none; }
@media (min-width: 900px) {
  .split--aside > .aside-card { position: sticky; top: calc(var(--header-h) + 1.5rem); }
}

/* --- Calendario mudanza + reforma -------------------------------------- */
.timeline { display: grid; gap: 1rem; position: relative; padding-left: 1.75rem; }
.timeline::before { content: ""; position: absolute; left: .45rem; top: .75rem; bottom: .75rem; border-left: 2px dashed var(--c-brand-300); }
.timeline__item {
  position: relative;
  padding: 1.15rem 1.35rem;
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.timeline__item::before {
  content: "";
  position: absolute;
  left: calc(-1.75rem + .05rem);
  top: 1.35rem;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--c-accent);
  box-shadow: 0 0 0 4px var(--c-accent-soft);
}
.timeline__tag { display: block; font-size: .75rem; font-weight: 760; letter-spacing: .08em; text-transform: uppercase; color: var(--c-accent); }
.timeline__item strong { display: block; font-size: 1.05rem; }
.timeline__item small { color: var(--c-muted); font-size: .9rem; }

/* --- FAQ ---------------------------------------------------------------- */
.faq { display: grid; gap: .75rem; }
.faq details {
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.faq details[open] { border-color: var(--c-brand-300); box-shadow: var(--shadow-sm); }
.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 1.1rem 3.25rem 1.1rem 1.25rem;
  font-weight: 680;
  color: var(--c-ink);
  position: relative;
  border-radius: var(--radius);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute;
  right: 1rem; top: 50%;
  width: 28px; height: 28px;
  margin-top: -14px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--c-accent-soft);
  color: var(--c-accent);
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1;
  transition: transform .2s var(--ease);
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:hover { color: var(--c-brand); }
.faq__body { padding: 0 1.25rem 1.25rem; }
.faq__body p { font-size: .98rem; margin: 0; }

/* --- Migas de pan ------------------------------------------------------- */
.crumbs { background: var(--c-bg-soft); border-bottom: 1px solid var(--c-line-soft); }
.crumbs ol { display: flex; flex-wrap: wrap; gap: .4rem; list-style: none; margin: 0; padding: .75rem 0; font-size: .875rem; color: var(--c-muted); }
.crumbs li { margin: 0; display: flex; align-items: center; gap: .4rem; }
.crumbs li + li::before { content: "›"; color: var(--c-brand-300); }
.crumbs a { color: var(--c-muted); text-decoration: none; }
.crumbs a:hover { color: var(--c-accent); text-decoration: underline; }
.crumbs [aria-current] { color: var(--c-ink); font-weight: 620; }

/* --- Cabecera de página interior ---------------------------------------- */
.page-head {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(46rem 24rem at 92% -20%, rgba(245, 146, 30, .16), transparent 60%),
    radial-gradient(40rem 26rem at 0% 120%, rgba(29, 100, 148, .10), transparent 60%),
    linear-gradient(180deg, #fbfcfe, #f2f6fa);
  border-bottom: 1px solid var(--c-line-soft);
  padding-block: clamp(2.5rem, 6vw, 4.5rem);
}
.page-head__inner { max-width: 760px; }
.page-head--center .page-head__inner { margin-inline: auto; text-align: center; }
.page-head--center .btn-row { justify-content: center; }
.page-head--center .lede { margin-inline: auto; }
.page-head__icon {
  display: flex; align-items: center; justify-content: center;
  width: 60px; height: 60px; margin-bottom: 1.25rem;
  border-radius: 18px; background: var(--c-brand); color: #fff;
  box-shadow: 0 12px 28px rgba(14, 58, 92, .25);
}
.page-head--center .page-head__icon { margin-inline: auto; }
.page-head__icon--ok { background: var(--c-ok); border-radius: 50%; }
.page-head__icon svg { width: 30px; height: 30px; fill: currentColor; }

/* --- Contacto ----------------------------------------------------------- */
.contact-grid { display: grid; gap: clamp(2rem, 4vw, 3rem); }
@media (min-width: 960px) { .contact-grid { grid-template-columns: 1.25fr 1fr; align-items: start; } }

.form-card {
  padding: clamp(1.5rem, 3.5vw, 2.5rem);
  border: 1px solid var(--c-line);
  border-radius: var(--radius-xl);
  background: #fff;
  box-shadow: var(--shadow-md);
}
.form-card__sub { color: var(--c-muted); font-size: .95rem; }
.form { display: grid; gap: 1.1rem; margin-top: 1.5rem; }
.form__row { display: grid; gap: 1.1rem; }
@media (min-width: 600px) { .form__row { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: .4rem; align-content: start; }
.field label { font-weight: 660; font-size: .9375rem; color: var(--c-ink); }
.field input, .field select, .field textarea {
  width: 100%;
  min-height: 50px;
  padding: .75rem .95rem;
  font: inherit;
  font-size: 1rem;
  color: var(--c-ink);
  background: var(--c-bg-soft);
  border: 1.5px solid var(--c-line);
  border-radius: 12px;
  transition: border-color .18s var(--ease), box-shadow .18s var(--ease), background-color .18s var(--ease);
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  background: #fff;
  border-color: var(--c-brand-500);
  box-shadow: 0 0 0 4px rgba(29, 100, 148, .14);
}
.field input:user-invalid, .field select:user-invalid { border-color: #b42318; }
.field--check { grid-template-columns: auto 1fr; align-items: start; gap: .65rem; }
.field--check input { width: 1.2rem; height: 1.2rem; min-height: 0; margin-top: .2rem; accent-color: var(--c-accent); }
.field--check label { font-weight: 500; font-size: .875rem; color: var(--c-ink-soft); }
.form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__status { margin: 0; font-size: .95rem; font-weight: 600; }
.form__status:empty { display: none; }
.form__status[data-kind="ok"] { color: var(--c-ok); }
.form__status[data-kind="error"] { color: #b42318; }

.contact-card { display: grid; gap: .75rem; }
.contact-item {
  display: flex;
  gap: .9rem;
  align-items: flex-start;
  padding: 1.05rem 1.2rem;
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--c-ink-soft);
  font-size: .95rem;
  text-decoration: none;
  transition: border-color .18s var(--ease), box-shadow .18s var(--ease);
}
a.contact-item:hover { border-color: var(--c-brand-300); box-shadow: var(--shadow-sm); color: var(--c-ink-soft); }
.contact-item > svg { width: 40px; height: 40px; padding: 9px; flex: none; border-radius: 12px; fill: var(--c-accent); background: var(--c-accent-soft); }
.contact-item strong { display: block; font-size: .8125rem; text-transform: uppercase; letter-spacing: .06em; color: var(--c-muted); }
.contact-item .big { font-size: 1.25rem; font-weight: 760; color: var(--c-brand); }

/* --- CTA final ---------------------------------------------------------- */
.cta { padding-block: 0 var(--section-y); }
.section--soft + .cta { padding-top: 0; background: linear-gradient(var(--c-bg-soft) 50%, #fff 50%); }
.cta__box {
  position: relative;
  overflow: hidden;
  display: grid;
  gap: 1.5rem 2.5rem;
  align-items: center;
  padding: clamp(2rem, 5vw, 3.5rem);
  border-radius: var(--radius-xl);
  color: #fff;
  background:
    radial-gradient(40rem 22rem at 100% 120%, rgba(245, 146, 30, .38), transparent 60%),
    radial-gradient(30rem 20rem at 0% -20%, rgba(111, 156, 192, .3), transparent 60%),
    linear-gradient(135deg, var(--c-brand-700), var(--c-brand));
  box-shadow: var(--shadow-lg);
}
.cta__box h2 { color: #fff; margin-bottom: .35em; }
.cta__box p { color: rgba(255, 255, 255, .86); max-width: 52ch; }
.cta__actions { display: flex; flex-wrap: wrap; gap: .75rem; }
@media (min-width: 1000px) {
  .cta__box { grid-template-columns: 1fr auto; }
  .cta__actions { flex-direction: column; min-width: 280px; }
}

.cta__box .cta__mail { font-size: .9375rem; margin-top: .6rem; }
.cta__mail a { color: #fff; font-weight: 640; overflow-wrap: anywhere; }
.cta__mail a:hover { color: #ffd9ab; }

/* --- Galería de trabajos ------------------------------------------------ */
.gallery { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: clamp(.6rem, 2vw, 1.25rem); }
@media (min-width: 1000px) { .gallery { columns: 3; } }
.gallery__item { margin: 0 0 clamp(.6rem, 2vw, 1.25rem); break-inside: avoid; }
.gallery figure {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: clamp(var(--radius), 2vw, var(--radius-lg));
  background: var(--c-brand-500);
  box-shadow: 0 18px 40px rgba(0, 0, 0, .22);
}
.gallery img { width: 100%; transition: transform .5s var(--ease); }
.gallery figcaption {
  position: absolute;
  inset: auto 0 0;
  padding: 2rem .75rem .7rem;
  font-size: clamp(.78rem, .7rem + .35vw, .9375rem);
  font-weight: 620;
  line-height: 1.35;
  color: #fff;
  background: linear-gradient(transparent, rgba(8, 26, 40, .85));
}
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .gallery figure:hover img { transform: scale(1.04); }
}

/* --- Pie ---------------------------------------------------------------- */
.footer {
  background: #07192a;
  color: rgba(255, 255, 255, .7);
  font-size: .9375rem;
  padding-block: clamp(3rem, 6vw, 4.5rem) 1.75rem;
}
.footer__grid {
  display: grid;
  gap: 2.25rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr));
  padding-bottom: 2.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, .12);
}
@media (min-width: 1000px) { .footer__grid { grid-template-columns: 1.5fr 1fr 1fr .8fr; } }
.footer h2 { color: #fff; font-size: .8125rem; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 1rem; font-weight: 720; }
.footer h2 a { color: inherit; }
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer li { margin: 0 0 .55rem; }
.footer a { color: rgba(255, 255, 255, .72); text-decoration: none; }
.footer a:hover { color: #fff; text-decoration: underline; }
.footer__brand { display: inline-flex; align-items: center; gap: .65rem; margin-bottom: 1rem; color: #fff !important; font-weight: 760; font-size: 1.05rem; text-decoration: none !important; }
.footer__mark { width: 38px; height: 38px; }
.footer__about p { max-width: 36ch; }
.footer address { display: grid; gap: .45rem; line-height: 1.5; margin-top: 1.25rem; }
.footer address a, .footer__hours { display: inline-flex; align-items: center; gap: .5rem; }
.footer address svg { width: 16px; height: 16px; fill: var(--c-accent-bright); flex: none; }
.footer__legal {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem 1.5rem;
  justify-content: space-between;
  padding-top: 1.5rem;
  font-size: .8125rem;
  color: rgba(255, 255, 255, .55);
}
.footer__legal p { margin: 0; }
.footer__legal ul { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; }
.footer__legal li { margin: 0; }

/* --- Contacto flotante -------------------------------------------------- */
.actionbar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 90;
  display: flex;
  gap: .5rem;
  padding: .55rem .7rem calc(.55rem + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, .95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--c-line);
  box-shadow: 0 -6px 20px rgba(11, 27, 43, .06);
}
.actionbar .btn { flex: 1 1 0; min-width: 0; min-height: 46px; gap: .4rem; padding-inline: .4rem; font-size: .9rem; box-shadow: none; white-space: nowrap; }
@media (max-width: 420px) { .actionbar .btn svg { display: none; } }
.wa-float { display: none; }
@media (max-width: 999px) { body { padding-bottom: 4.5rem; } }
@media (min-width: 1000px) {
  .actionbar { display: none; }
  .wa-float {
    position: fixed;
    right: 1.5rem; bottom: 1.5rem;
    z-index: 90;
    display: grid;
    place-items: center;
    width: 60px; height: 60px;
    border-radius: 50%;
    background: #25d366;
    color: #fff;
    box-shadow: 0 10px 30px rgba(11, 110, 98, .35);
    transition: transform .2s var(--ease);
  }
  .wa-float:hover { transform: scale(1.07); color: #fff; }
  .wa-float svg { width: 32px; height: 32px; fill: currentColor; }
}

/* --- Prosa (legales) ---------------------------------------------------- */
.prose h2 { margin-top: 2.25em; font-size: clamp(1.3rem, 1.1rem + 1vw, 1.65rem); }
.prose h2:first-child { margin-top: 0; }
.prose ul { padding-left: 1.35em; }
.prose table { width: 100%; border-collapse: collapse; margin-bottom: 1.5em; font-size: .9375rem; }
.prose th, .prose td { text-align: left; padding: .7rem .85rem; border: 1px solid var(--c-line); vertical-align: top; }
.prose th { background: var(--c-bg-soft); color: var(--c-ink); }
.table-scroll { overflow-x: auto; }

/* --- Aparición al hacer scroll ------------------------------------------ */
/* Sin JS todo es visible: main.js solo marca lo que está bajo el pliegue. */
@media (prefers-reduced-motion: no-preference) {
  .reveal.will-reveal { opacity: 0; transform: translateY(16px); }
  .reveal.will-reveal.is-in { opacity: 1; transform: none; transition: opacity .6s var(--ease), transform .6s var(--ease); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* --- Impresión ---------------------------------------------------------- */
@media print {
  .header, .actionbar, .wa-float, .cta, .footer, .burger, .mobile-nav { display: none !important; }
  body { padding: 0; font-size: 11pt; color: #000; }
}
