/* ==========================================================================
   Mudanzas Baratas en Madrid — hoja de estilos principal
   Diseño responsive, componentes y utilidades. Sin dependencias externas.
   ========================================================================== */

@font-face {
  font-family: "Bricolage Grotesque";
  src: url("../fonts/bricolage-grotesque-latin.woff2") format("woff2");
  font-weight: 400 800;
  font-style: normal;
  font-stretch: 100%;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-latin.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #0b1f4b;
  --ink-2: #071533;
  --ink-3: #16306b;
  --ink-4: #23407f;
  --body: #34425c;
  --muted: #5c6a80;
  --blue: #2233cc;
  --blue-ink: #1d2fbf;
  --blue-soft: #eef0ff;
  --link: #1d2fbf;
  --brand: #f05a00;
  --brand-strong: #c94700;
  --brand-dark: #b84100;
  --brand-ink: #b34300;
  --brand-soft: #fff0e6;
  --brand-soft-2: #ffe0cc;
  --amber: #ffb257;
  --amber-soft: #fff4dc;
  --green: #1f8a5b;
  --green-dark: #146c46;
  --green-soft: #eaf7f0;
  --cream: #fbf7f0;
  --cream-2: #f4ecdf;
  --cream-3: #efe4d3;
  --paper: #fffdfa;
  --line: #e8ddcd;
  --line-strong: #d8c9b4;
  --font-display: "Bricolage Grotesque", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
  --container: 1200px;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 22px;
  --radius-xl: 30px;
  --shadow-sm: 0 2px 10px rgba(11, 31, 75, 0.05);
  --shadow-md: 0 18px 44px rgba(11, 31, 75, 0.1);
  --shadow-lg: 0 30px 70px rgba(11, 31, 75, 0.14);
  --header-height: 82px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 24px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--body);
  background: var(--cream);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.nav-open {
  overflow: hidden;
}

h1,
h2,
h3,
h4,
h5 {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
}

h2 {
  font-size: clamp(1.9rem, 3.4vw, 2.9rem);
}

h3 {
  font-size: clamp(1.15rem, 1.7vw, 1.4rem);
}

p {
  margin: 0 0 1em;
}

p:last-child {
  margin-bottom: 0;
}

a {
  color: var(--link);
  text-underline-offset: 3px;
}

a:hover {
  color: var(--blue);
}

img,
svg {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

ul,
ol {
  margin: 0;
  padding: 0;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
}

::selection {
  background: var(--amber);
  color: var(--ink);
}

:focus-visible {
  outline: 3px solid var(--amber);
  outline-offset: 3px;
}

[hidden] {
  display: none !important;
}

/* --------------------------------------------------------------------------
   Layout y utilidades
   -------------------------------------------------------------------------- */

.container {
  width: min(100% - 40px, var(--container));
  margin-inline: auto;
}

.container--narrow {
  width: min(100% - 40px, 820px);
  margin-inline: auto;
}

.container--wide {
  width: min(100% - 40px, 1340px);
  margin-inline: auto;
}

.section {
  padding: clamp(62px, 8vw, 104px) 0;
}

.section--tight {
  padding: clamp(44px, 6vw, 72px) 0;
}

.section--paper {
  background: var(--paper);
}

.section--cream-2 {
  background: var(--cream-2);
}

.section--dark {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  color: #c5d2de;
}

.section--dark::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 88% 12%, rgba(240, 90, 40, 0.22), transparent 42%),
    radial-gradient(circle at 4% 86%, rgba(255, 181, 71, 0.1), transparent 40%);
  pointer-events: none;
}

.section--dark > .container {
  position: relative;
  z-index: 1;
}

.section-head {
  max-width: 740px;
  margin-bottom: clamp(30px, 4.5vw, 48px);
}

.section-head--center {
  margin-inline: auto;
  text-align: center;
}

.section-head--center .eyebrow {
  justify-content: center;
}

.section-head--row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  max-width: none;
}

.section-head--row > div {
  max-width: 720px;
}

.section-title {
  margin-top: 12px;
}

.section-sub {
  max-width: 62ch;
  margin-top: 16px;
  color: var(--muted);
  font-size: 1.02rem;
}

.section--dark .section-sub {
  color: #aebfcd;
}

.section--dark .section-title {
  color: #fff;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--brand-ink);
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 24px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
}

.section--dark .eyebrow,
.cta-band .eyebrow {
  color: var(--amber);
}

.lead {
  font-size: clamp(1.04rem, 1.4vw, 1.2rem);
  line-height: 1.6;
  color: var(--muted);
}

.text-brand {
  color: var(--brand-ink);
}

.text-center {
  text-align: center;
}

.grid {
  display: grid;
  gap: 22px;
}

.grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.grid--gap-sm {
  gap: 14px;
}

.grid--gap-lg {
  gap: 28px;
}

.split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(32px, 5vw, 68px);
  align-items: center;
}

.split--start {
  align-items: start;
}

.stack {
  display: grid;
  gap: 18px;
}

.stack--sm {
  gap: 10px;
}

.stack--lg {
  gap: 28px;
}

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 32px; }
.mt-5 { margin-top: 44px; }
.mb-0 { margin-bottom: 0; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 300;
  padding: 12px 18px;
  border-radius: 10px;
  background: var(--paper);
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
  transform: translateY(-160%);
  transition: transform 0.2s var(--ease);
}

.skip-link:focus {
  transform: translateY(0);
}

.icon {
  width: 24px;
  height: 24px;
  flex: none;
}

.icon--sm {
  width: 18px;
  height: 18px;
}

.icon--lg {
  width: 30px;
  height: 30px;
}

/* --------------------------------------------------------------------------
   Botones y enlaces
   -------------------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 50px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
  text-align: center;
  text-decoration: none;
  transition:
    background 0.2s var(--ease),
    color 0.2s var(--ease),
    border-color 0.2s var(--ease),
    transform 0.2s var(--ease),
    box-shadow 0.2s var(--ease);
}

.btn .icon {
  width: 19px;
  height: 19px;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:active {
  transform: translateY(0);
}

.btn-primary {
  background: var(--brand-strong);
  color: #fff;
  box-shadow: 0 10px 24px rgba(217, 78, 0, 0.26);
}

.btn-primary:hover {
  background: var(--brand-dark);
  color: #fff;
  box-shadow: 0 14px 28px rgba(184, 65, 0, 0.32);
}

.btn-dark {
  background: var(--ink);
  color: #fff;
}

.btn-dark:hover {
  background: var(--ink-3);
  color: #fff;
}

.btn-light {
  background: var(--paper);
  color: var(--ink);
}

.btn-light:hover {
  background: #fff;
  color: var(--brand-ink);
}

.btn-ghost {
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
}

.btn-ghost:hover {
  border-color: rgba(255, 255, 255, 0.6);
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.btn-outline {
  border-color: var(--line-strong);
  background: transparent;
  color: var(--ink);
}

.btn-outline:hover {
  border-color: var(--brand);
  background: var(--brand-soft);
  color: var(--brand-ink);
}

.btn-wa {
  background: var(--green);
  color: #fff;
  box-shadow: 0 10px 24px rgba(31, 138, 91, 0.24);
}

.btn-wa:hover {
  background: var(--green-dark);
  color: #fff;
}

.btn-lg {
  min-height: 56px;
  padding: 0 28px;
  font-size: 16px;
}

.btn-sm {
  min-height: 42px;
  padding: 0 17px;
  font-size: 13.5px;
}

.btn-block {
  width: 100%;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--brand-ink);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.link-arrow .icon {
  width: 18px;
  height: 18px;
  transition: transform 0.2s var(--ease);
}

.link-arrow:hover {
  color: var(--brand-dark);
}

.link-arrow:hover .icon {
  transform: translateX(4px);
}

.link-plain {
  color: inherit;
  text-decoration: none;
}

.link-plain:hover {
  color: var(--brand-ink);
}

/* --------------------------------------------------------------------------
   Cabecera y navegación
   -------------------------------------------------------------------------- */

.site-header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 140;
  color: #fff;
  transition:
    background 0.28s var(--ease),
    color 0.28s var(--ease),
    box-shadow 0.28s var(--ease);
}

.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11, 27, 43, 0.5), transparent);
  opacity: 1;
  transition: opacity 0.28s var(--ease);
  pointer-events: none;
}

.site-header.is-scrolled,
body.nav-open .site-header {
  background: rgba(251, 247, 240, 0.96);
  color: var(--ink);
  box-shadow: 0 8px 30px rgba(11, 31, 75, 0.1);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

.site-header.is-scrolled::before,
body.nav-open .site-header::before {
  opacity: 0;
}

.header-inner {
  position: relative;
  z-index: 130;
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.4vw, 34px);
  min-height: var(--header-height);
}

.brand {
  position: relative;
  z-index: 140;
  display: inline-flex;
  flex: none;
  align-items: center;
  gap: 12px;
  color: inherit;
  text-decoration: none;
}

.brand:hover {
  color: inherit;
}

.brand-mark {
  display: grid;
  width: 46px;
  height: 46px;
  flex: none;
  padding: 3px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 13px;
  background: var(--paper);
  box-shadow: 0 5px 16px rgba(0, 0, 0, 0.2);
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.site-header.is-scrolled .brand-mark,
body.nav-open .brand-mark {
  border-color: var(--line);
  box-shadow: var(--shadow-sm);
}

.brand-text {
  display: grid;
  gap: 1px;
}

.brand-name {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.brand-sub {
  color: var(--amber);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.19em;
  line-height: 1.2;
  text-transform: uppercase;
  transition: color 0.28s var(--ease);
}

.site-header.is-scrolled .brand-sub,
body.nav-open .brand-sub {
  color: var(--brand-ink);
}

.nav {
  margin-left: auto;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: clamp(14px, 1.7vw, 26px);
  list-style: none;
}

.nav-link {
  position: relative;
  display: inline-block;
  padding: 9px 1px;
  color: inherit;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}

.nav-link::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 2px;
  left: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--brand);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.22s var(--ease);
}

.nav-link:hover::after,
.nav-link[aria-current="page"]::after {
  transform: scaleX(1);
}

.nav-link[aria-current="page"] {
  color: var(--amber);
}

.site-header.is-scrolled .nav-link[aria-current="page"],
body.nav-open .nav-link[aria-current="page"] {
  color: var(--brand-ink);
}

.header-actions {
  position: relative;
  z-index: 140;
  display: flex;
  flex: none;
  align-items: center;
  gap: 15px;
}

.header-phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: inherit;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.header-phone .icon {
  width: 18px;
  height: 18px;
  color: var(--amber);
}

.site-header.is-scrolled .header-phone .icon {
  color: var(--brand);
}

.header-phone:hover {
  color: inherit;
}

.header-cta {
  min-height: 44px;
  padding: 0 19px;
  font-size: 13.5px;
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  border: 1px solid currentColor;
  border-radius: 50%;
  background: transparent;
  color: inherit;
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
}

.nav-toggle .icon {
  width: 22px;
  height: 22px;
}

.nav-toggle .icon-close {
  display: none;
}

.nav-toggle[aria-expanded="true"] .icon-menu {
  display: none;
}

.nav-toggle[aria-expanded="true"] .icon-close {
  display: block;
}

.nav-toggle:hover {
  background: rgba(255, 255, 255, 0.12);
}

body.nav-open .nav-toggle {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}

.nav-scrim {
  position: fixed;
  inset: var(--header-height) 0 0;
  z-index: 110;
  background: rgba(11, 27, 43, 0.5);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.28s var(--ease), visibility 0.28s var(--ease);
}

body.nav-open .nav-scrim {
  opacity: 1;
  visibility: visible;
}

.nav-mobile-extra {
  display: none;
}

/* --------------------------------------------------------------------------
   Hero de portada
   -------------------------------------------------------------------------- */

.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(108px, 9vw, 128px) 0 clamp(92px, 11vw, 116px);
  background: var(--ink);
  color: #fff;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 85% 18%, rgba(240, 90, 40, 0.28), transparent 38%),
    radial-gradient(circle at 12% 92%, rgba(255, 181, 71, 0.14), transparent 40%),
    linear-gradient(135deg, #071533 0%, #0b1f4b 52%, #15306b 100%);
}

.hero::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.16) 1px, transparent 1px);
  background-size: 34px 34px;
  opacity: 0.35;
  -webkit-mask-image: linear-gradient(100deg, transparent 38%, #000 100%);
  mask-image: linear-gradient(100deg, transparent 38%, #000 100%);
  pointer-events: none;
}

.hero > .container {
  position: relative;
  z-index: 1;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(30px, 4.5vw, 64px);
  align-items: center;
}

.hero--photo {
  background:
    linear-gradient(180deg, rgba(7, 21, 51, 0.88) 0%, rgba(7, 21, 51, 0.35) 16%, rgba(7, 21, 51, 0) 32%),
    radial-gradient(circle at 88% 22%, rgba(240, 90, 0, 0.22), transparent 40%),
    linear-gradient(90deg, rgba(7, 21, 51, 0.98) 0%, rgba(11, 31, 75, 0.95) 36%, rgba(11, 31, 75, 0.72) 58%, rgba(11, 31, 75, 0.22) 78%, rgba(7, 21, 51, 0.06) 100%),
    url(../img/photos/hero-camion-madrid.webp) center right / cover no-repeat,
    var(--ink);
}

.hero--photo::before {
  background:
    linear-gradient(180deg, rgba(7, 21, 51, 0.75) 0%, rgba(7, 21, 51, 0.2) 18%, transparent 34%);
}

.hero--photo::after {
  opacity: 0.22;
}

.hero--photo .hero-visual {
  min-height: 430px;
}

.hero--photo .hero-visual > img {
  display: none;
}

.hero--photo .float-card--years {
  top: 3%;
  right: 2%;
}

.hero--photo .float-card--quote {
  bottom: 3%;
  left: 2%;
}

.hero-copy .eyebrow {
  color: var(--amber);
}

.hero h1 {
  max-width: 14ch;
  margin-top: 22px;
  color: #fff;
  font-size: clamp(2.65rem, 5.2vw, 4.55rem);
  line-height: 1.01;
  letter-spacing: -0.035em;
}

.hero h1 em {
  position: relative;
  color: var(--amber);
  font-style: normal;
  white-space: nowrap;
}

.hero-lead {
  max-width: 56ch;
  margin-top: 22px;
  color: #c7d4df;
  font-size: clamp(1.02rem, 1.35vw, 1.16rem);
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 24px;
  margin-top: 32px;
  padding: 0;
  color: #c7d4df;
  font-size: 13px;
  list-style: none;
}

.hero-trust li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.hero-trust .icon {
  width: 17px;
  height: 17px;
  color: var(--amber);
}

.hero-visual {
  position: relative;
  padding: 8px 0 18px;
}

.hero-visual > img {
  width: 100%;
  filter: drop-shadow(0 30px 50px rgba(0, 0, 0, 0.26));
}

.float-card {
  position: absolute;
  z-index: 2;
  display: grid;
  gap: 3px;
  padding: 13px 17px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 15px;
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.22);
}

.float-card--years {
  top: 2%;
  right: -1%;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 10px;
}

.float-card--years .icon-tile {
  width: 40px;
  height: 40px;
  border-radius: 11px;
}

.float-card--years .icon-tile .icon {
  width: 21px;
  height: 21px;
}

.float-label {
  color: var(--muted);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  line-height: 1.2;
  text-transform: uppercase;
}

.float-value {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.float-card--quote {
  bottom: 1%;
  left: -2%;
  max-width: 250px;
  color: var(--ink);
  text-decoration: none;
}

.float-card--quote:hover {
  color: var(--ink);
}

.float-card--years > span:last-child {
  display: grid;
  gap: 3px;
}

.float-card--years .float-value {
  white-space: nowrap;
}

.float-card--quote .float-value {
  color: var(--brand-ink);
}

.float-card--quote .float-note {
  color: var(--muted);
  font-size: 11.5px;
  line-height: 1.35;
}

.stats-wrap {
  position: relative;
  z-index: 3;
  margin-top: -48px;
}

.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  padding: 22px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--paper);
  box-shadow: var(--shadow-md);
}

.stat {
  padding: 4px 16px;
  text-align: center;
}

.stat + .stat {
  border-left: 1px solid var(--line);
}

.stat strong {
  display: block;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.2vw, 1.62rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.stat span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

/* --------------------------------------------------------------------------
   Cabecera de páginas interiores
   -------------------------------------------------------------------------- */

.page-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(104px, 9vw, 124px) 0 clamp(56px, 7vw, 82px);
  background: var(--ink);
  color: #c7d4df;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 90% 8%, rgba(240, 90, 40, 0.24), transparent 38%),
    radial-gradient(circle at 0% 100%, rgba(255, 181, 71, 0.1), transparent 36%),
    linear-gradient(135deg, #071533, #0b1f4b 55%, #16306b);
}

.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.14) 1px, transparent 1px);
  background-size: 32px 32px;
  opacity: 0.28;
  -webkit-mask-image: linear-gradient(100deg, transparent 48%, #000);
  mask-image: linear-gradient(100deg, transparent 48%, #000);
  pointer-events: none;
}

.page-hero > .container {
  position: relative;
  z-index: 1;
}

.page-hero--grid .container {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.8fr);
  gap: clamp(32px, 5vw, 70px);
  align-items: end;
}

.page-hero h1 {
  max-width: 17ch;
  margin-top: 18px;
  color: #fff;
  font-size: clamp(2.35rem, 4.4vw, 3.75rem);
  letter-spacing: -0.03em;
}

.page-hero .lead {
  max-width: 62ch;
  margin-top: 18px;
  color: #c7d4df;
}

.page-hero .lead strong {
  color: #fff;
}

.page-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.page-hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 26px;
  padding: 0;
  list-style: none;
}

.page-hero-facts li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 12px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  color: #d7e1ea;
  font-size: 12px;
  font-weight: 600;
}

.page-hero-facts .icon {
  width: 15px;
  height: 15px;
  color: var(--amber);
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
  color: #93a8ba;
  font-size: 12.5px;
  font-weight: 500;
}

.breadcrumb a {
  color: #c7d4df;
  text-decoration: none;
}

.breadcrumb a:hover {
  color: var(--amber);
}

.breadcrumb .sep {
  color: #678096;
}

.breadcrumb [aria-current="page"] {
  color: #93a8ba;
}

.hero-aside-card.service-offer-card {
  position: relative;
  overflow: hidden;
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(7, 21, 51, 0.92);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.24);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

.hero-aside-card.service-offer-card::after {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    90deg,
    rgba(7, 21, 51, 0.97) 0%,
    rgba(7, 21, 51, 0.9) 46%,
    rgba(7, 21, 51, 0.42) 78%,
    rgba(7, 21, 51, 0.16) 100%
  );
  content: "";
  pointer-events: none;
}

.hero-aside-card.service-offer-card > :not(.service-offer-photo) {
  position: relative;
  z-index: 2;
}

.service-offer-photo {
  position: absolute;
  top: 140px;
  right: 0;
  z-index: 0;
  width: 230px;
  opacity: 0.85;
  pointer-events: none;
  filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.35));
  -webkit-mask-image: linear-gradient(180deg, #000 78%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 78%, transparent 100%);
}

.service-offer-photo img {
  width: 100%;
  height: auto;
}

.hero-aside-card {
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.06);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.hero-aside-card h2 {
  color: #fff;
  font-size: 1.25rem;
}

.hero-aside-card p {
  color: #c7d4df;
  font-size: 13.5px;
}

.hero-aside-list {
  display: grid;
  gap: 11px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
  color: #d7e1ea;
  font-size: 13px;
}

.hero-aside-list li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
}

.hero-aside-list .icon {
  width: 17px;
  height: 17px;
  margin-top: 2px;
  color: var(--amber);
}

/* --------------------------------------------------------------------------
   Tarjetas e iconos
   -------------------------------------------------------------------------- */

.icon-tile {
  display: grid;
  width: 52px;
  height: 52px;
  flex: none;
  place-items: center;
  border-radius: 14px;
  background: var(--brand-soft);
  color: var(--brand-ink);
}

.icon-tile .icon {
  width: 27px;
  height: 27px;
}

.icon-tile--navy {
  background: var(--ink);
  color: var(--amber);
}

.icon-tile--amber {
  background: var(--amber-soft);
  color: var(--brand-ink);
}

.icon-tile--green {
  background: var(--green-soft);
  color: var(--green-dark);
}

.icon-tile--blue {
  background: var(--blue-soft);
  color: var(--blue-ink);
}

.badge--blue {
  background: var(--blue-soft);
  color: var(--blue-ink);
}

.service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 13px;
  padding: 26px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--paper);
  color: inherit;
  text-decoration: none;
  transition:
    transform 0.24s var(--ease),
    border-color 0.24s var(--ease),
    box-shadow 0.24s var(--ease);
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--brand), var(--amber));
  opacity: 0;
  transition: opacity 0.24s var(--ease);
}

.service-card:hover {
  border-color: #f0c3ae;
  box-shadow: var(--shadow-md);
  transform: translateY(-5px);
  color: inherit;
}

.service-card:hover::before {
  opacity: 1;
}

.service-card h3 {
  margin-top: 4px;
  font-size: 1.2rem;
  line-height: 1.2;
}

.service-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14.5px;
}

.service-card .link-arrow {
  margin-top: auto;
  padding-top: 8px;
}

.service-card--featured {
  background: linear-gradient(150deg, var(--ink), var(--ink-3));
  border-color: var(--ink);
  color: #c7d4df;
}

.service-card--featured h3 {
  color: #fff;
}

.service-card--featured p {
  color: #b8c8d5;
}

.service-card--featured .icon-tile {
  background: rgba(255, 255, 255, 0.1);
  color: var(--amber);
}

.service-card--featured .link-arrow {
  color: var(--amber);
}

.feature-card {
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.045);
}

.feature-card .icon {
  width: 28px;
  height: 28px;
  margin-bottom: 16px;
  color: var(--amber);
}

.feature-card h3 {
  color: #fff;
  font-size: 1.08rem;
}

.feature-card p {
  margin: 8px 0 0;
  color: #aebfcd;
  font-size: 14px;
}

.mini-card {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--paper);
}

.mini-card h3 {
  margin-top: 12px;
  font-size: 1.05rem;
}

.mini-card p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.service-block {
  padding: clamp(46px, 6.5vw, 76px) 0;
  border-top: 1px solid var(--line);
}

.service-block:first-of-type {
  padding-top: 0;
  border-top: 0;
}

.service-block:last-of-type {
  padding-bottom: 0;
}

.service-panel {
  display: grid;
  gap: 16px;
  align-content: start;
  padding: clamp(22px, 3vw, 32px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--paper);
  box-shadow: var(--shadow-sm);
}

.service-panel h3 {
  font-size: 1.2rem;
}

.service-panel p {
  color: var(--muted);
  font-size: 13.5px;
}

.service-panel .check-list {
  gap: 9px;
}

.service-panel .check-list li {
  font-size: 13.5px;
}

.service-panel .btn {
  margin-top: 4px;
}

.quick-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.quick-fact {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--paper);
}

.quick-fact strong {
  display: block;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 800;
  line-height: 1.15;
}

.quick-fact strong .icon {
  display: inline-block;
  width: 18px;
  height: 18px;
  margin-right: 4px;
  vertical-align: -3px;
  color: var(--brand-ink);
}

.quick-fact span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 11.5px;
  line-height: 1.4;
}

.info-card {
  padding: clamp(22px, 3vw, 30px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--paper);
}

.info-card--dark {
  border-color: var(--ink);
  background: var(--ink);
  color: #c7d4df;
}

.info-card--dark h3 {
  color: #fff;
}

.info-card--dark p {
  color: #aebfcd;
}

.info-card--brand {
  border-color: #f6cdb9;
  background: var(--brand-soft);
}

.info-card--brand h3 {
  color: var(--brand-ink);
}

.form-aside {
  display: grid;
  gap: 16px;
  align-content: start;
}

.timeline {
  display: grid;
  gap: 0;
}

.timeline-item {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 22px;
  padding: 22px 0;
  border-top: 1px solid var(--line);
}

.timeline-item:last-child {
  border-bottom: 1px solid var(--line);
}

.timeline-year {
  color: var(--brand-ink);
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 800;
  line-height: 1.1;
}

.timeline-item h3 {
  font-size: 1.08rem;
}

.timeline-item p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.location-panel {
  position: relative;
  overflow: hidden;
  min-height: 240px;
  padding: 26px;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 80% 20%, rgba(34, 51, 204, 0.14), transparent 34%),
    radial-gradient(circle at 15% 85%, rgba(240, 90, 0, 0.12), transparent 38%),
    var(--cream-2);
  border: 1px solid var(--line);
}

.location-panel::before {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(11, 31, 75, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(11, 31, 75, 0.055) 1px, transparent 1px);
  background-size: 34px 34px;
  content: "";
  pointer-events: none;
}

.location-panel > * {
  position: relative;
  z-index: 1;
}

.location-pin {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 50%;
  background: var(--brand-strong);
  color: #fff;
  box-shadow: 0 10px 22px rgba(217, 78, 0, 0.3);
}

.location-pin .icon {
  width: 24px;
  height: 24px;
}

.price-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 13px 0;
  border-bottom: 1px dashed var(--line);
}

.price-row:last-child {
  border-bottom: 0;
}

.price-row span {
  color: var(--body);
  font-size: 13.5px;
}

.price-row strong {
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 800;
  white-space: nowrap;
}

.price-row strong small {
  color: var(--muted);
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 500;
}

.check-list {
  display: grid;
  gap: 10px;
  padding: 0;
  list-style: none;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14.5px;
}

.check-list .icon {
  width: 19px;
  height: 19px;
  margin-top: 2px;
  color: var(--green);
}

.section--dark .check-list li {
  color: #c7d4df;
}

.section--dark .check-list .icon {
  color: var(--amber);
}

.media-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-xl);
  background: var(--ink);
  box-shadow: var(--shadow-lg);
}

.media-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.media-card--4x3 {
  aspect-ratio: 4 / 3;
}

.media-card--square {
  aspect-ratio: 1;
}

.media-badge {
  position: absolute;
  right: 18px;
  bottom: 18px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 999px;
  background: var(--paper);
  color: var(--ink);
  font-size: 12px;
  font-weight: 700;
  box-shadow: var(--shadow-sm);
}

.media-badge .icon {
  width: 17px;
  height: 17px;
  color: var(--brand);
}

.media-stack {
  position: relative;
  min-height: 420px;
}

.media-stack .media-card {
  position: absolute;
  width: 72%;
}

.media-stack .media-card:first-child {
  top: 0;
  left: 0;
}

.media-stack .media-card:last-child {
  right: 0;
  bottom: 0;
  width: 60%;
  border: 8px solid var(--cream);
}

/* --------------------------------------------------------------------------
   Pasos y proceso
   -------------------------------------------------------------------------- */

.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  counter-reset: step;
}

.step {
  position: relative;
  padding-top: 66px;
}

.step::before {
  position: absolute;
  top: 0;
  left: 0;
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  content: counter(step, decimal-leading-zero);
  counter-increment: step;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 800;
}

.step::after {
  position: absolute;
  top: 22px;
  left: 56px;
  width: calc(100% - 40px);
  border-top: 2px dashed var(--line-strong);
  content: "";
}

.step:last-child::after {
  display: none;
}

.step h3 {
  font-size: 1.12rem;
}

.step p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.section--dark .step::before {
  background: var(--amber);
  color: var(--ink);
}

.section--dark .step::after {
  border-color: rgba(255, 255, 255, 0.18);
}

.section--dark .step h3 {
  color: #fff;
}

.section--dark .step p {
  color: #aebfcd;
}

/* --------------------------------------------------------------------------
   Precios y calculadora
   -------------------------------------------------------------------------- */

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--paper);
  box-shadow: var(--shadow-sm);
}

.price-table {
  width: 100%;
  min-width: 620px;
  border-collapse: collapse;
  font-size: 14.5px;
}

.price-table caption {
  padding: 18px 20px 0;
  color: var(--muted);
  font-size: 12.5px;
  text-align: left;
}

.price-table th {
  padding: 15px 20px;
  background: var(--cream-2);
  color: var(--ink);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-align: left;
  text-transform: uppercase;
}

.price-table td {
  padding: 17px 20px;
  border-top: 1px solid var(--line);
  vertical-align: middle;
}

.price-table tbody tr:hover {
  background: #fffaf5;
}

.price-table .price {
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 800;
  white-space: nowrap;
}

.price-table td > small {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0;
}

.price-table .price small {
  display: block;
  color: var(--muted);
  font-family: var(--font-body);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0;
}

.price-table .popular {
  background: var(--brand-soft);
}

.price-table .popular td:first-child {
  position: relative;
}

.price-table .popular td:first-child::before {
  position: absolute;
  top: 50%;
  left: 0;
  width: 3px;
  height: 26px;
  border-radius: 0 3px 3px 0;
  background: var(--brand);
  content: "";
  transform: translateY(-50%);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--brand-soft);
  color: var(--brand-ink);
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.badge--green {
  background: var(--green-soft);
  color: var(--green-dark);
}

.badge--amber {
  background: var(--amber-soft);
  color: #8a5200;
}

.badge--navy {
  background: var(--ink);
  color: #fff;
}

.calculator {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: var(--paper);
  box-shadow: var(--shadow-lg);
}

.calc-form {
  display: grid;
  gap: 22px;
  padding: clamp(24px, 3.4vw, 40px);
}

.calc-form fieldset {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.calc-form legend {
  margin-bottom: 11px;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 0.98rem;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.option-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
}

.option {
  position: relative;
}

.option input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.option span {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 48px;
  padding: 10px 13px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: #fff;
  color: var(--body);
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.25;
  transition:
    border-color 0.18s var(--ease),
    background 0.18s var(--ease),
    box-shadow 0.18s var(--ease);
}

.option span::after {
  content: "";
  width: 8px;
  height: 8px;
  flex: none;
  border: 2px solid var(--line-strong);
  border-radius: 50%;
}

.option input:checked + span {
  border-color: var(--brand);
  background: var(--brand-soft);
  box-shadow: inset 0 0 0 1px var(--brand);
  color: var(--ink);
}

.option input:checked + span::after {
  border-color: var(--brand-strong);
  background: var(--brand-strong);
}

.option input:focus-visible + span {
  outline: 3px solid var(--amber);
  outline-offset: 2px;
}

.option span small {
  display: block;
  color: var(--muted);
  font-size: 10.5px;
  font-weight: 500;
}

.option.is-disabled span {
  opacity: 0.45;
  cursor: not-allowed;
  text-decoration: line-through;
}

.option.is-disabled input {
  pointer-events: none;
}

.calc-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.calc-switch {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 600;
}

.calc-switch input {
  width: 20px;
  height: 20px;
  accent-color: var(--brand-strong);
}

.calc-result {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 15px;
  overflow: hidden;
  padding: clamp(26px, 3.4vw, 40px);
  background: var(--ink);
  color: #c7d4df;
}

.calc-result::before {
  position: absolute;
  top: -80px;
  right: -80px;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: rgba(240, 90, 40, 0.25);
  content: "";
  filter: blur(10px);
}

.calc-result > * {
  position: relative;
  z-index: 1;
}

.calc-result .eyebrow {
  color: var(--amber);
}

.calc-price {
  color: #fff;
  font-family: var(--font-display);
  font-size: clamp(2.3rem, 4.2vw, 3.4rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.035em;
}

.calc-price small {
  display: block;
  margin-top: 7px;
  color: #9fb3c4;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0;
}

.calc-breakdown {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 12.5px;
}

.calc-breakdown li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 8px;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.14);
}

.calc-breakdown span:last-child {
  color: #fff;
  font-weight: 600;
  white-space: nowrap;
}

.calc-note {
  margin-top: auto;
  padding-top: 4px;
  color: #8fa5b7;
  font-size: 11.5px;
  line-height: 1.5;
}

.calc-actions {
  display: grid;
  gap: 9px;
}

/* --------------------------------------------------------------------------
   Formularios
   -------------------------------------------------------------------------- */

.form-card {
  padding: clamp(24px, 3.4vw, 38px);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: var(--paper);
  box-shadow: var(--shadow-md);
}

.form-head {
  margin-bottom: 24px;
}

.form-head h2 {
  font-size: clamp(1.5rem, 2.4vw, 2rem);
}

.form-head p {
  margin-top: 8px;
  color: var(--muted);
  font-size: 14px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 17px;
}

.field {
  display: grid;
  gap: 6px;
  min-width: 0;
}

.field--full {
  grid-column: 1 / -1;
}

.field label {
  color: var(--ink);
  font-size: 12.5px;
  font-weight: 700;
}

.field .req {
  color: var(--brand-ink);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 48px;
  padding: 11px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 11px;
  background: #fff;
  color: var(--ink);
  font-size: 16px;
  transition:
    border-color 0.18s var(--ease),
    box-shadow 0.18s var(--ease);
}

.field textarea {
  min-height: 132px;
  resize: vertical;
}

.field select {
  appearance: none;
  padding-right: 42px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%230b1f4b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  cursor: pointer;
}

.field input::placeholder,
.field textarea::placeholder {
  color: #93a3b1;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 4px rgba(240, 90, 40, 0.12);
  outline: none;
}

.field input:user-invalid,
.field select:user-invalid,
.field textarea:user-invalid {
  border-color: #c9372c;
}

.field-hint {
  color: var(--muted);
  font-size: 11.5px;
}

.checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--muted);
  cursor: pointer;
  font-size: 12.5px;
  line-height: 1.5;
}

.checkbox input {
  width: 19px;
  height: 19px;
  flex: none;
  margin-top: 2px;
  accent-color: var(--brand-strong);
}

.checkbox a {
  color: var(--brand-ink);
}

.form-footer {
  display: grid;
  gap: 14px;
  margin-top: 6px;
}

.form-note {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  color: var(--muted);
  font-size: 11.5px;
  line-height: 1.55;
}

.form-note .icon {
  width: 16px;
  height: 16px;
  margin-top: 2px;
  color: var(--green);
}

.form-status-summary {
  max-height: 190px;
  margin: 10px 0 0;
  padding: 12px 14px;
  overflow: auto;
  border-radius: 10px;
  background: rgba(20, 92, 61, 0.07);
  color: #145c3d;
  font-size: 12.5px;
  line-height: 1.6;
  white-space: pre-line;
}

.form-status {
  margin-top: 16px;
  padding: 18px 20px;
  border: 1px solid #bfe5d3;
  border-radius: 14px;
  background: var(--green-soft);
  color: #145c3d;
  font-size: 14px;
}

.form-status h3 {
  margin-bottom: 6px;
  color: #145c3d;
  font-size: 1.1rem;
}

.form-status .form-status-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 12px;
}

.contact-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--paper);
}

.contact-card .icon-tile {
  width: 46px;
  height: 46px;
  border-radius: 12px;
}

.contact-card .icon-tile .icon {
  width: 23px;
  height: 23px;
}

.contact-card h3 {
  font-size: 0.98rem;
  letter-spacing: -0.01em;
}

.contact-card a,
.contact-card p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
  text-decoration: none;
}

.contact-card a {
  color: var(--ink);
  font-weight: 600;
}

.contact-card a:hover {
  color: var(--brand-ink);
}

.consent-box {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--cream);
}

/* --------------------------------------------------------------------------
   Zonas, chips y tarjetas de localidad
   -------------------------------------------------------------------------- */

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 26px;
}

.filter-btn {
  min-height: 40px;
  padding: 0 15px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
  font-size: 12.5px;
  font-weight: 700;
  transition:
    background 0.18s var(--ease),
    color 0.18s var(--ease),
    border-color 0.18s var(--ease);
}

.filter-btn:hover,
.filter-btn.is-active {
  border-color: var(--ink);
  background: var(--ink);
  color: #fff;
}

.area-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.area-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--paper);
  color: inherit;
  text-decoration: none;
  transition:
    transform 0.2s var(--ease),
    border-color 0.2s var(--ease),
    box-shadow 0.2s var(--ease);
}

.area-card:hover {
  border-color: var(--brand);
  box-shadow: var(--shadow-sm);
  color: inherit;
  transform: translateY(-3px);
}

.area-card strong {
  display: block;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.2;
}

.area-card span {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 11.5px;
}

.area-card .icon {
  width: 18px;
  height: 18px;
  color: var(--brand);
  transition: transform 0.2s var(--ease);
}

.area-card:hover .icon {
  transform: translateX(3px);
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0;
  list-style: none;
}

.chip {
  padding: 7px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--cream-2);
  color: var(--ink-3);
  font-size: 12.5px;
  font-weight: 500;
}

.chip--brand {
  border-color: #f6cdb9;
  background: var(--brand-soft);
  color: var(--brand-ink);
}

/* --------------------------------------------------------------------------
   Galería y trabajos
   -------------------------------------------------------------------------- */

.gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.gallery-item {
  position: relative;
  min-height: 250px;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--ink);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}

.gallery-item:hover img {
  transform: scale(1.04);
}

.gallery-caption {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 40px 18px 16px;
  background: linear-gradient(transparent, rgba(11, 27, 43, 0.85));
  color: #fff;
  font-size: 12.5px;
  font-weight: 600;
}

.gallery-caption span {
  display: block;
  color: var(--amber);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.gallery--wide .gallery-item:first-child {
  grid-column: 1 / -1;
  min-height: 360px;
}

/* --------------------------------------------------------------------------
   Preguntas frecuentes
   -------------------------------------------------------------------------- */

.faq {
  display: grid;
  gap: 10px;
  max-width: 880px;
}

.faq--wide {
  max-width: none;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--paper);
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.faq-item[open] {
  border-color: var(--line-strong);
  box-shadow: var(--shadow-sm);
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 20px;
  color: var(--ink);
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 1.02rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary .icon {
  width: 21px;
  height: 21px;
  flex: none;
  color: var(--brand);
  transition: transform 0.22s var(--ease);
}

.faq-item[open] summary .icon {
  transform: rotate(180deg);
}

.faq-answer {
  padding: 0 20px 20px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.faq-answer p:last-child {
  margin-bottom: 0;
}

/* --------------------------------------------------------------------------
   CTA
   -------------------------------------------------------------------------- */

.cta-section {
  padding: clamp(20px, 4vw, 44px) 0 clamp(62px, 8vw, 96px);
}

.cta-band {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.65fr);
  gap: clamp(26px, 4vw, 48px);
  align-items: center;
  overflow: hidden;
  padding: clamp(30px, 4.6vw, 54px);
  border-radius: var(--radius-xl);
  background: linear-gradient(130deg, var(--brand-strong), #c13c0b 55%, #a93308);
  color: #fff;
  box-shadow: 0 28px 60px rgba(184, 65, 0, 0.24);
}

.cta-band::before {
  position: absolute;
  top: -60px;
  right: 8%;
  width: 280px;
  height: 280px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  content: "";
}

.cta-band::after {
  position: absolute;
  right: -80px;
  bottom: -120px;
  width: 320px;
  height: 320px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 50%;
  content: "";
}

.cta-band > * {
  position: relative;
  z-index: 1;
}

.cta-band h2 {
  color: #fff;
  font-size: clamp(1.8rem, 3.2vw, 2.6rem);
}

.cta-band p {
  max-width: 58ch;
  margin-top: 12px;
  color: #ffe2d4;
  font-size: 14.5px;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.cta-band .btn-light {
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.18);
}

.cta-band .btn-ghost {
  border-color: rgba(255, 255, 255, 0.45);
}

/* --------------------------------------------------------------------------
   Blog y artículos
   -------------------------------------------------------------------------- */

.post-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.post-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--paper);
  color: inherit;
  text-decoration: none;
  transition:
    transform 0.24s var(--ease),
    box-shadow 0.24s var(--ease),
    border-color 0.24s var(--ease);
}

.post-card:hover {
  border-color: #f0c3ae;
  box-shadow: var(--shadow-md);
  color: inherit;
  transform: translateY(-4px);
}

.post-card-media {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--cream-2);
}

.post-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}

.post-card:hover .post-card-media img {
  transform: scale(1.04);
}

.post-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 9px;
  padding: 22px;
}

.post-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--muted);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.post-meta span + span::before {
  margin-right: 8px;
  content: "·";
}

.post-card h3 {
  font-size: 1.15rem;
  line-height: 1.2;
}

.post-card p {
  color: var(--muted);
  font-size: 13.5px;
}

.post-card .link-arrow {
  margin-top: auto;
  padding-top: 6px;
}

.post-card--featured {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}

.post-card--featured .post-card-media {
  aspect-ratio: auto;
  height: 100%;
}

.post-card--featured .post-card-body {
  padding: clamp(26px, 4vw, 42px);
  justify-content: center;
}

.post-card--featured h3 {
  font-size: clamp(1.5rem, 2.6vw, 2rem);
}

.article-hero {
  padding-bottom: clamp(60px, 8vw, 86px);
}

.article-hero h1 {
  max-width: 22ch;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-top: 20px;
  color: #aebfcd;
  font-size: 12.5px;
}

.article-meta span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.article-meta .icon {
  width: 15px;
  height: 15px;
  color: var(--amber);
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
  padding: clamp(48px, 7vw, 80px) 0;
}

.article-body {
  min-width: 0;
}

.prose {
  color: var(--body);
  font-size: 16.5px;
  line-height: 1.75;
}

.prose > *:first-child {
  margin-top: 0;
}

.prose h2 {
  margin: 2.1em 0 0.6em;
  font-size: clamp(1.5rem, 2.4vw, 1.95rem);
}

.prose h3 {
  margin: 1.7em 0 0.5em;
  font-size: 1.22rem;
}

.prose p {
  margin: 0 0 1.1em;
}

.prose ul,
.prose ol {
  margin: 0 0 1.2em;
  padding-left: 1.2em;
}

.prose li {
  margin-bottom: 0.45em;
  padding-left: 0.2em;
}

.prose li::marker {
  color: var(--brand);
  font-weight: 700;
}

.prose strong {
  color: var(--ink);
}

.prose a {
  font-weight: 600;
}

.prose blockquote {
  margin: 1.6em 0;
  padding: 18px 22px;
  border-left: 4px solid var(--brand);
  border-radius: 0 12px 12px 0;
  background: var(--brand-soft);
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  line-height: 1.4;
}

.prose table {
  width: 100%;
  margin: 1.4em 0;
  border-collapse: collapse;
  font-size: 14px;
}

.prose th,
.prose td {
  padding: 11px 13px;
  border: 1px solid var(--line);
  text-align: left;
}

.prose th {
  background: var(--cream-2);
  color: var(--ink);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.callout {
  display: flex;
  gap: 13px;
  margin: 1.6em 0;
  padding: 18px 20px;
  border: 1px solid #f6cdb9;
  border-radius: 14px;
  background: var(--brand-soft);
  color: var(--ink);
  font-size: 14px;
  line-height: 1.6;
}

.callout .icon {
  width: 21px;
  height: 21px;
  flex: none;
  margin-top: 2px;
  color: var(--brand-ink);
}

.callout--green {
  border-color: #bfe5d3;
  background: var(--green-soft);
}

.callout--green .icon {
  color: var(--green-dark);
}

.article-aside {
  position: sticky;
  top: calc(var(--header-height) + 24px);
  display: grid;
  gap: 18px;
}

.toc {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--paper);
}

.toc h2 {
  margin-bottom: 12px;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.toc ol {
  display: grid;
  gap: 8px;
  padding-left: 18px;
  color: var(--muted);
  font-size: 13px;
}

.toc a {
  color: var(--body);
  text-decoration: none;
}

.toc a:hover {
  color: var(--brand-ink);
  text-decoration: underline;
}

.aside-cta {
  padding: 22px;
  border-radius: var(--radius-md);
  background: var(--ink);
  color: #c7d4df;
}

.aside-cta h2 {
  color: #fff;
  font-size: 1.15rem;
}

.aside-cta p {
  margin: 8px 0 16px;
  color: #aebfcd;
  font-size: 13px;
}

.article-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 12.5px;
}

.share-links {
  display: flex;
  gap: 8px;
}

.share-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
}

.share-link:hover {
  border-color: var(--brand);
  color: var(--brand-ink);
}

.related-posts {
  padding-top: clamp(48px, 6vw, 72px);
  border-top: 1px solid var(--line);
}

/* --------------------------------------------------------------------------
   Legal, 404 y prosa larga
   -------------------------------------------------------------------------- */

.legal-body {
  width: min(100% - 40px, 820px);
  margin-inline: auto;
  padding: clamp(52px, 7vw, 82px) 0;
}

.legal-body h2 {
  margin: 2em 0 0.6em;
  font-size: 1.5rem;
}

.legal-body h3 {
  margin: 1.6em 0 0.4em;
  font-size: 1.15rem;
}

.legal-body p,
.legal-body li {
  color: var(--body);
  font-size: 14.5px;
  line-height: 1.75;
}

.legal-body ul {
  margin: 0 0 1.2em;
  padding-left: 1.2em;
}

.legal-body li {
  margin-bottom: 0.5em;
}

.legal-body a {
  overflow-wrap: anywhere;
}

.legal-updated {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 20px;
  padding: 6px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
  color: var(--muted);
  font-size: 11.5px;
  font-weight: 600;
}

.legal-table {
  width: 100%;
  margin: 1.4em 0;
  border-collapse: collapse;
  font-size: 13px;
}

.legal-table th,
.legal-table td {
  padding: 10px 12px;
  border: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.legal-table th {
  background: var(--cream-2);
  color: var(--ink);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.error-hero {
  min-height: 72vh;
  display: flex;
  align-items: center;
  padding: clamp(130px, 15vw, 180px) 0 80px;
}

.error-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
  gap: clamp(30px, 5vw, 70px);
  align-items: center;
}

.error-code {
  color: var(--amber);
  font-family: var(--font-display);
  font-size: clamp(6rem, 16vw, 11rem);
  font-weight: 800;
  line-height: 0.9;
  letter-spacing: -0.06em;
}

.error-hero h1 {
  margin-top: 12px;
  color: #fff;
  font-size: clamp(2rem, 3.4vw, 2.9rem);
}

.error-hero p {
  max-width: 48ch;
  margin-top: 14px;
  color: #c7d4df;
}

/* --------------------------------------------------------------------------
   Pie de página
   -------------------------------------------------------------------------- */

.site-footer {
  position: relative;
  overflow: hidden;
  padding-top: clamp(52px, 6vw, 72px);
  background: var(--ink-2);
  color: #aebfcd;
}

.site-footer::before {
  position: absolute;
  top: -140px;
  right: -100px;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  background: rgba(240, 90, 40, 0.08);
  content: "";
}

.footer-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.9fr) minmax(0, 0.9fr) minmax(0, 1.2fr);
  gap: 38px;
  padding-bottom: clamp(36px, 5vw, 52px);
}

.footer-brand .brand {
  color: #fff;
}

.footer-brand .brand-sub {
  color: var(--amber);
}

.footer-brand p {
  max-width: 34ch;
  margin-top: 16px;
  font-size: 13.5px;
  line-height: 1.65;
}

.footer-social {
  display: flex;
  gap: 9px;
  margin-top: 18px;
}

.footer-brand-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin-top: 16px;
  padding: 0;
  list-style: none;
  font-size: 12.5px;
}

.footer-brand-links a {
  color: #c7d4df;
  text-decoration: none;
}

.footer-brand-links a:hover {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
  color: #c7d4df;
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
}

.social-link:hover {
  background: var(--brand);
  color: #fff;
}

.social-link .icon {
  width: 18px;
  height: 18px;
}

.footer-title {
  margin-bottom: 15px;
  color: #fff;
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-links {
  display: grid;
  gap: 9px;
  padding: 0;
  font-size: 13.5px;
  list-style: none;
}

.footer-links a {
  color: #aebfcd;
  text-decoration: none;
}

.footer-links a:hover {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-contact {
  display: grid;
  gap: 12px;
  padding: 0;
  font-size: 13.5px;
  list-style: none;
}

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.footer-contact .icon {
  width: 17px;
  height: 17px;
  flex: none;
  margin-top: 3px;
  color: var(--amber);
}

.footer-contact a {
  color: #d7e1ea;
  text-decoration: none;
}

.footer-contact a:hover {
  color: #fff;
}

.footer-cta {
  margin-top: 18px;
}

.footer-bottom {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 20px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: #8095a8;
  font-size: 11.5px;
}

.footer-bottom-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
}

.footer-bottom a {
  color: #aebfcd;
  text-decoration: none;
}

.footer-bottom a:hover {
  color: #fff;
}

/* --------------------------------------------------------------------------
   Acciones flotantes
   -------------------------------------------------------------------------- */

.wa-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 90;
  display: grid;
  width: 56px;
  height: 56px;
  place-items: center;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.24);
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.wa-float:hover {
  color: #fff;
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.3);
  transform: scale(1.05);
}

.wa-float .icon {
  width: 29px;
  height: 29px;
}

.wa-float .wa-tooltip {
  position: absolute;
  right: 68px;
  padding: 8px 12px;
  border-radius: 8px;
  background: var(--ink);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transform: translateX(4px);
  transition: opacity 0.2s var(--ease), transform 0.2s var(--ease);
}

.wa-float:hover .wa-tooltip {
  opacity: 1;
  transform: translateX(0);
}

.mobile-bar {
  display: none;
}

/* --------------------------------------------------------------------------
   Animaciones de entrada
   -------------------------------------------------------------------------- */

.js .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 0.65s var(--ease),
    transform 0.65s var(--ease);
  transition-delay: var(--reveal-delay, 0s);
}

.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
  }

  .btn:hover,
  .service-card:hover,
  .area-card:hover,
  .post-card:hover,
  .gallery-item:hover img {
    transform: none;
  }
}


/* --------------------------------------------------------------------------
   Página interna de revisión de URLs (no indexable, no se publica)
   -------------------------------------------------------------------------- */

.review-banner {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  padding: 7px 12px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: #d7e1ea;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.review-banner::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--amber);
}

.review-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 28px;
}

.review-stats div {
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.06);
}

.review-stats strong {
  display: block;
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.35rem;
  line-height: 1.1;
}

.review-stats span {
  display: block;
  margin-top: 4px;
  color: #aebfcd;
  font-size: 11.5px;
}

.review-section {
  margin-top: clamp(36px, 5vw, 56px);
}

.review-section:first-of-type {
  margin-top: 0;
}

.review-section h2 {
  margin-bottom: 6px;
  font-size: clamp(1.35rem, 2.2vw, 1.7rem);
}

.review-section > p {
  max-width: 75ch;
  color: var(--muted);
  font-size: 14px;
}

.review-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 16px;
}

.review-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--paper);
  color: inherit;
  text-decoration: none;
  transition: border-color 0.18s var(--ease), transform 0.18s var(--ease), box-shadow 0.18s var(--ease);
}

.review-link:hover {
  border-color: var(--brand);
  box-shadow: var(--shadow-sm);
  color: inherit;
  transform: translateY(-2px);
}

.review-link strong {
  display: block;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 0.98rem;
  font-weight: 800;
  line-height: 1.25;
}

.review-link code {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 11px;
  overflow-wrap: anywhere;
}

.review-link span:last-child {
  color: var(--brand);
  font-weight: 700;
}

.review-guide {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 20px;
}

.review-guide .info-card {
  padding: 20px;
}

.review-guide h3 {
  font-size: 1rem;
}

.review-guide code {
  padding: 1px 5px;
  border-radius: 4px;
  background: var(--cream-2);
  color: var(--ink);
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 12px;
  overflow-wrap: anywhere;
}

.review-guide ul {
  margin: 10px 0 0;
  padding-left: 18px;
  color: var(--muted);
  font-size: 13px;
}

.review-guide li {
  margin-bottom: 6px;
}

.review-details {
  margin-top: 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--paper);
}

.review-details summary {
  padding: 16px 18px;
  color: var(--ink);
  cursor: pointer;
  font-weight: 700;
  list-style: none;
}

.review-details summary::-webkit-details-marker {
  display: none;
}

.review-details summary::after {
  float: right;
  color: var(--brand);
  content: "+";
  font-size: 18px;
  line-height: 1;
}

.review-details[open] summary::after {
  content: "-";
}

.review-details .table-wrap {
  margin: 0 14px 14px;
  border-radius: 10px;
}

.review-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
}

.review-table th,
.review-table td {
  padding: 9px 11px;
  border-top: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.review-table th {
  color: var(--muted);
  font-size: 9.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.review-table code {
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 11px;
  overflow-wrap: anywhere;
}

.review-warning {
  display: flex;
  gap: 10px;
  margin-top: 18px;
  padding: 14px 16px;
  border: 1px solid #f6cdb9;
  border-radius: 12px;
  background: var(--brand-soft);
  color: var(--brand-ink);
  font-size: 13px;
}

@media (max-width: 760px) {
  .review-stats,
  .review-grid,
  .review-guide {
    grid-template-columns: 1fr;
  }

  .review-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 1180px) {
  .header-phone {
    width: 44px;
    height: 44px;
    justify-content: center;
    border: 1px solid currentColor;
    border-radius: 50%;
  }

  .header-phone span {
    display: none;
  }

  .nav-list {
    gap: 16px;
  }

  .hero h1 {
    font-size: clamp(2.5rem, 4.8vw, 4rem);
  }
}

@media (max-width: 1024px) {
  :root {
    --header-height: 74px;
  }

  .nav {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 120;
    display: flex;
    width: min(88vw, 400px);
    height: 100dvh;
    flex-direction: column;
    gap: 0;
    margin: 0;
    padding: calc(var(--header-height) + 26px) 28px 28px;
    overflow-y: auto;
    background: var(--cream);
    color: var(--ink);
    box-shadow: -24px 0 60px rgba(11, 27, 43, 0.22);
    transform: translateX(105%);
    transition: transform 0.32s var(--ease);
  }

  body.nav-open .nav {
    transform: translateX(0);
  }

  .nav-list {
    display: grid;
    gap: 0;
    width: 100%;
  }

  .nav-list li {
    border-bottom: 1px solid var(--line);
  }

  .nav-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 56px;
    padding: 12px 0;
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
  }

  .nav-link::after {
    display: none;
  }

  .nav-link[aria-current="page"] {
    color: var(--brand-ink);
  }

  .nav-link[aria-current="page"]::before {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--brand);
    content: "";
  }

  .nav-mobile-extra {
    display: grid;
    gap: 12px;
    margin-top: 24px;
  }

  .nav-mobile-extra .btn {
    width: 100%;
  }

  .nav-mobile-contact {
    display: grid;
    gap: 6px;
    margin-top: 8px;
    color: var(--muted);
    font-size: 13px;
  }

  .nav-mobile-contact a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--ink);
    font-weight: 600;
    text-decoration: none;
  }

  .nav-mobile-contact .icon {
    width: 17px;
    height: 17px;
    color: var(--brand);
  }

  .header-actions {
    margin-left: auto;
  }

  .header-cta {
    display: none;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .hero-copy {
    max-width: 720px;
  }

  .hero h1 {
    max-width: 16ch;
  }

  .hero-visual {
    width: min(100%, 620px);
    margin-inline: auto;
  }

  .hero--photo .hero-visual {
    display: none;
  }

  .stats-bar {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 0;
  }

  .stat:nth-child(3) {
    border-left: 0;
  }

  .stat:nth-child(n + 3) {
    padding-top: 12px;
    border-top: 1px solid var(--line);
  }

  .grid-3,
  .grid-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .area-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px 20px;
  }

  .step:nth-child(2)::after {
    display: none;
  }

  .page-hero--grid .container {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .page-hero--grid .hero-aside-card {
    max-width: 560px;
  }

  .service-offer-photo {
    top: auto;
    right: -24px;
    bottom: -18px;
    width: 170px;
    opacity: 0.55;
  }

  .split {
    grid-template-columns: 1fr;
  }

  .split .media-card {
    max-width: 620px;
  }

  .calculator {
    grid-template-columns: 1fr;
  }

  .calculator .calc-result {
    min-height: 0;
  }

  .article-layout {
    grid-template-columns: 1fr;
  }

  .article-aside {
    position: static;
    grid-row: 1;
  }

  .article-aside .toc {
    display: none;
  }

  .article-aside .aside-cta {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 16px;
  }

  .article-aside .aside-cta p {
    margin: 6px 0 0;
  }

  .article-aside .aside-cta .btn {
    align-self: center;
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cta-band {
    grid-template-columns: 1fr;
  }

  .cta-actions {
    justify-content: flex-start;
  }

  .post-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .post-card--featured {
    grid-template-columns: 1fr;
  }

  .post-card--featured .post-card-media {
    aspect-ratio: 16 / 9;
  }

  .error-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  body {
    font-size: 16px;
  }

  .hero--photo {
    background:
      linear-gradient(180deg, rgba(7, 21, 51, 0.86) 0%, rgba(7, 21, 51, 0.58) 100%),
      linear-gradient(90deg, rgba(7, 21, 51, 0.97) 0%, rgba(11, 31, 75, 0.92) 58%, rgba(11, 31, 75, 0.7) 100%),
      url(../img/photos/hero-camion-madrid-800.webp) 62% center / cover no-repeat,
      var(--ink);
  }

  .hero--photo::after {
    opacity: 0.16;
  }

  .nav {
    width: 100%;
  }

  .container,
  .container--narrow,
  .container--wide {
    width: min(100% - 32px, var(--container));
  }

  .section {
    padding: 58px 0;
  }

  .hero {
    padding-top: 100px;
    padding-bottom: 78px;
  }

  .hero h1 {
    font-size: clamp(2.35rem, 10vw, 3.3rem);
    max-width: none;
  }

  .hero h1 em {
    white-space: normal;
  }

  .hero-lead {
    font-size: 15.5px;
  }

  .hero-actions {
    gap: 10px;
  }

  .hero-actions .btn {
    flex: 1 1 auto;
  }

  .hero-trust {
    gap: 10px 18px;
    font-size: 12.5px;
  }

  .float-card--years {
    top: -2%;
    right: 0;
    padding: 10px 12px;
  }

  .float-card--quote {
    bottom: -4%;
    left: 0;
    max-width: 210px;
    padding: 10px 13px;
  }

  .float-value {
    font-size: 1.05rem;
  }

  .stats-wrap {
    margin-top: -34px;
  }

  .stats-bar {
    padding: 16px 8px;
  }

  .stat {
    padding: 4px 10px;
  }

  .stat strong {
    font-size: 1.25rem;
  }

  .stat span {
    font-size: 10.5px;
  }

  .grid-2,
  .grid-3,
  .grid-4,
  .area-grid,
  .gallery {
    grid-template-columns: 1fr;
  }

  .post-grid {
    grid-template-columns: 1fr;
  }

  .steps {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .step {
    padding-top: 0;
    padding-left: 62px;
    min-height: 46px;
  }

  .step::before {
    top: 0;
  }

  .step::after {
    display: none;
  }

  .section-head--row {
    display: block;
  }

  .section-head--row .link-arrow {
    margin-top: 16px;
  }

  .page-hero {
    padding-top: 96px;
    padding-bottom: 54px;
  }

  .page-hero h1 {
    font-size: clamp(2.1rem, 8.5vw, 3rem);
  }

  .page-hero .lead {
    font-size: 15px;
  }

  .form-grid,
  .calc-row,
  .option-grid {
    grid-template-columns: 1fr;
  }

  .form-card {
    border-radius: var(--radius-lg);
  }

  .calc-form,
  .calc-result {
    padding: 24px 20px;
  }

  .cta-band {
    border-radius: var(--radius-lg);
    padding: 28px 22px;
  }

  .cta-actions {
    display: grid;
  }

  .cta-actions .btn {
    width: 100%;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .footer-brand p {
    max-width: none;
  }

  .footer-bottom {
    display: grid;
    padding-bottom: 90px;
  }

  .wa-float {
    right: 14px;
    bottom: 82px;
    width: 52px;
    height: 52px;
  }

  .mobile-bar {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 80;
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 8px;
    padding: 9px 12px calc(9px + env(safe-area-inset-bottom));
    border-top: 1px solid var(--line);
    background: rgba(251, 247, 240, 0.97);
    box-shadow: 0 -8px 26px rgba(11, 31, 75, 0.12);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
  }

  .mobile-bar .btn {
    min-height: 46px;
    padding: 0 14px;
    font-size: 13px;
  }

  .article-aside .aside-cta {
    display: block;
  }

  .article-aside .aside-cta .btn {
    margin-top: 14px;
  }

  .legal-body {
    width: min(100% - 32px, 820px);
  }

  .price-table {
    min-width: 0;
  }

  .price-table,
  .price-table thead,
  .price-table tbody,
  .price-table tr,
  .price-table td {
    display: block;
  }

  .price-table caption {
    display: block;
    width: auto;
    padding: 18px 20px 8px;
    font-size: 12px;
    line-height: 1.55;
  }

  .price-table thead {
    display: none;
  }

  .price-table tbody tr {
    padding: 14px 20px;
    border-top: 1px solid var(--line);
  }

  .price-table tbody tr:first-child {
    border-top: 0;
  }

  .price-table td {
    padding: 4px 0;
    border: 0;
  }

  .price-table td::before {
    display: block;
    color: var(--muted);
    content: attr(data-label);
    font-size: 9.5px;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
  }

  .price-table .price {
    margin-top: 4px;
    font-size: 1.3rem;
  }

  .price-table .price small {
    display: inline-block;
    margin-left: 6px;
  }

  .price-table .popular td:first-child::before {
    content: none;
  }

  .gallery-item,
  .gallery--wide .gallery-item:first-child {
    min-height: 220px;
  }

  .media-stack {
    min-height: 340px;
  }
}

@media (max-width: 420px) {
  .brand-name {
    font-size: 16px;
  }

  .brand-sub {
    font-size: 8.5px;
  }

  .brand-mark {
    width: 40px;
    height: 40px;
  }

  .header-phone {
    display: none;
  }

  .float-card--years {
    display: none;
  }

  .float-card--quote {
    bottom: -6%;
  }

  .hero-trust li:nth-child(3) {
    display: none;
  }
}

/* --------------------------------------------------------------------------
   Bloque de furgonetas en ruta
   -------------------------------------------------------------------------- */

.section--furgonetas {
  scroll-margin-top: 90px;
}

.section--furgonetas .fm {
  max-width: none;
}

.section--furgonetas .fm__shell {
  border-radius: 24px;
  box-shadow: 0 34px 70px -48px rgba(7, 21, 51, 0.45);
}

.section--furgonetas .fm__map {
  height: clamp(380px, 42vw, 520px);
}

@media (max-width: 640px) {
  .section--furgonetas .fm__map {
    height: 380px;
  }
}

/* --------------------------------------------------------------------------
   Impresión
   -------------------------------------------------------------------------- */

@media print {
  .site-header,
  .site-footer,
  .wa-float,
  .mobile-bar,
  .nav-scrim,
  .cta-section,
  .article-aside,
  .furgonetas-block {
    display: none !important;
  }

  body {
    background: #fff;
    color: #000;
    font-size: 12pt;
  }

  .hero,
  .page-hero,
  .section--dark {
    background: #fff !important;
    color: #000 !important;
    padding: 0.5cm 0 !important;
  }

  .hero h1,
  .page-hero h1,
  .section--dark h2,
  .section--dark h3 {
    color: #000 !important;
  }

  .hero::before,
  .hero::after,
  .page-hero::before,
  .page-hero::after,
  .section--dark::before {
    display: none !important;
  }

  .hero-grid,
  .split,
  .calculator,
  .article-layout {
    display: block !important;
  }

  .hero-visual,
  .float-card,
  .calc-result {
    display: none !important;
  }

  a {
    color: #000;
    text-decoration: underline;
  }
}
