/* Juan Miguel Del Moral Bedmar — fontanero en Úbeda
   Mobile first, sin fuentes externas.
   Identidad: azul real de su tarjeta de visita + tonos piedra dorada de Úbeda, titulares con serifa.
   Ajustar --blue al azul exacto del logotipo cuando se reciba. */

:root {
  --blue: #2c37b3;
  --blue-700: #232c96;
  --blue-900: #161c5e;
  --blue-soft: #e6e8f8;
  --ink: #1b1f3b;
  --text: #33374a;
  --muted: #585c6e;
  --cream: #f8f4ec;
  --stone: #efe6d6;
  --sand: #ddcfb6;
  --gold: #e9b45c;
  --terracotta: #b9532c;
  --wa: #1e7b49;
  --wa-hover: #186a3e;
  --white: #ffffff;

  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", "URW Palladio L", Georgia, "Noto Serif", serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --radius: 14px;
  --header-h: 68px;
  --shadow-sm: 0 1px 2px rgba(22, 28, 94, .06), 0 4px 14px rgba(22, 28, 94, .07);
  --shadow-lg: 0 2px 6px rgba(22, 28, 94, .10), 0 24px 48px -12px rgba(22, 28, 94, .35);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
  overflow-wrap: break-word;
}

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 700;
  line-height: 1.15;
  color: var(--ink);
  margin: 0 0 .5em;
  letter-spacing: -.01em;
}
h2 { font-size: clamp(1.75rem, 1.3rem + 2vw, 2.6rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }
a { color: var(--blue); text-underline-offset: .18em; }
a:hover { color: var(--blue-900); }

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
  border-radius: 6px;
}

.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 16px;
}
@media (min-width: 600px) { .container { padding: 0 28px; } }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute;
  left: 16px; top: -100px;
  z-index: 100;
  padding: 12px 16px;
  background: var(--blue-900);
  color: #fff;
  border-radius: 0 0 8px 8px;
}
.skip-link:focus { top: 0; color: #fff; }

.icon {
  width: 20px; height: 20px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 12px;
  font-size: .8125rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--blue);
}
.eyebrow::before {
  content: "";
  width: 28px; height: 2px;
  background: currentColor;
  border-radius: 2px;
}
.eyebrow-light { color: var(--gold); }

/* Botones */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 22px;
  border-radius: 999px;
  border: 0;
  font: inherit;
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.2;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  touch-action: manipulation;
  transition: background-color .2s var(--ease), box-shadow .2s var(--ease), transform .2s var(--ease);
}
.btn:active { transform: scale(.98); }
.btn-lg { min-height: 56px; padding: 15px 28px; font-size: 1.0625rem; }
.btn-call {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 6px 16px -6px rgba(44, 55, 179, .6);
}
.btn-call:hover { background: var(--blue-700); color: #fff; }
.btn-whatsapp {
  background: var(--wa);
  color: #fff;
  box-shadow: 0 6px 16px -6px rgba(30, 123, 73, .55);
}
.btn-whatsapp:hover { background: var(--wa-hover); color: #fff; }
.btn-light { background: #fff; color: var(--blue-900); }
.btn-light:hover { background: var(--cream); color: var(--blue-900); }
@media (hover: hover) {
  .btn:hover { transform: translateY(-1px); }
}

.cta-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 28px 0 16px;
}
@media (min-width: 520px) {
  .cta-group { flex-direction: row; flex-wrap: wrap; }
}

/* Cabecera */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .96);
  border-bottom: 1px solid rgba(221, 207, 182, .7);
}
@supports (backdrop-filter: blur(8px)) {
  .site-header { background: rgba(255, 255, 255, .85); backdrop-filter: saturate(1.4) blur(10px); }
}
.header-inner {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  min-height: var(--header-h);
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
  min-width: 0;
  padding: 8px 0;
  text-decoration: none;
  color: var(--ink);
}
/* Logotipo: emblema sobre su fondo azul marino original (recortado del folleto de Juan Miguel) */
.brand-logo {
  flex: none;
  display: block;
  height: 44px;
  width: auto;
  border-radius: 10px;
  background: #053365;
}
.brand-text { display: flex; flex-direction: column; min-width: 0; }
.brand-name { font-family: var(--serif); font-weight: 700; font-size: 1.0625rem; line-height: 1.2; }
.brand-tagline { display: none; font-size: .8125rem; color: var(--muted); }
@media (min-width: 560px) { .brand-tagline { display: block; } }

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 48px; height: 48px;
  padding: 0;
  border: 1px solid var(--sand);
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  cursor: pointer;
  order: 2;
}
.js .nav-toggle { display: inline-flex; }
.nav-toggle .icon { width: 22px; height: 22px; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-open { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

.header-call { order: 1; width: 48px; padding: 0; box-shadow: none; }
.header-call-label { display: none; }
@media (min-width: 420px) {
  .header-call { width: auto; padding: 12px 18px; }
  .header-call-label { display: inline; }
}

.site-nav ul { list-style: none; margin: 0; padding: 0; }
.site-nav a {
  display: flex;
  align-items: center;
  min-height: 48px;
  padding: 0 16px;
  color: var(--ink);
  font-weight: 600;
  text-decoration: none;
}
.site-nav a:hover { color: var(--blue); }

/* Menú móvil. Sin JavaScript el menú queda visible debajo del nombre (la clase .js la añade main.js). */
.site-nav { width: 100%; order: 3; }
.js .header-inner { flex-wrap: nowrap; }
.js .site-nav {
  display: none;
  position: absolute;
  top: 100%;
  left: 0; right: 0;
  background: #fff;
  border-bottom: 1px solid var(--sand);
  box-shadow: var(--shadow-lg);
}
.js .site-nav.is-open { display: block; }
.js .site-nav a { border-top: 1px solid var(--stone); padding: 0 24px; font-size: 1.0625rem; }

@media (min-width: 960px) {
  .nav-toggle, .js .nav-toggle { display: none; }
  .header-inner, .js .header-inner { flex-wrap: nowrap; }
  .site-nav, .js .site-nav {
    display: block;
    position: static;
    width: auto;
    order: 1;
    border: 0;
    box-shadow: none;
    background: none;
  }
  .site-nav ul { display: flex; gap: 2px; }
  .site-nav a, .js .site-nav a { border: 0; padding: 0 14px; font-size: 1rem; }
  .header-call { order: 2; margin-left: 10px; }
}

/* Inicio */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(1200px 500px at 85% -10%, rgba(233, 180, 92, .18), transparent 60%),
    linear-gradient(180deg, var(--cream) 0%, #fbf8f2 100%);
  padding: 36px 0 56px;
  scroll-margin-top: var(--header-h);
}
.hero-inner { display: grid; gap: 40px; align-items: center; }
@media (min-width: 960px) {
  .hero { padding: 80px 0 96px; }
  .hero-inner { grid-template-columns: 1.15fr 1fr; gap: 56px; }
}
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 18px;
  padding: 6px 14px 6px 10px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--sand);
  font-size: .875rem;
  font-weight: 600;
  color: var(--ink);
}
.kicker .icon { width: 18px; height: 18px; color: var(--terracotta); }
.hero h1 {
  font-size: clamp(2.25rem, 1.5rem + 3.6vw, 3.9rem);
  line-height: 1.05;
  letter-spacing: -.02em;
  margin-bottom: 20px;
}
.hero h1 em {
  font-style: italic;
  color: var(--blue);
  background: linear-gradient(transparent 62%, rgba(233, 180, 92, .45) 62%, rgba(233, 180, 92, .45) 92%, transparent 92%);
  padding: 0 .06em;
}
.lead { font-size: 1.1875rem; line-height: 1.6; color: var(--text); max-width: 34em; }
.reassure {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  font-weight: 600;
  color: var(--muted);
}
.reassure .icon { color: var(--wa); width: 20px; height: 20px; }

/* Tarjeta de visita (textos confirmados de su tarjeta; no es el logotipo) */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  padding: 18px 8px 34px;
}
.hero-visual::before {
  content: "";
  position: absolute;
  inset: 0 0 0 10%;
  border-radius: 28px;
  background-color: #e3e7f6;
  background-image:
    linear-gradient(rgba(255, 255, 255, .9) 2px, transparent 2px),
    linear-gradient(90deg, rgba(255, 255, 255, .9) 2px, transparent 2px);
  background-size: 34px 34px;
  transform: rotate(3deg);
}
.bizcard {
  position: relative;
  width: min(100%, 420px);
  aspect-ratio: 85 / 55;
  display: flex;
  flex-direction: column;
  padding: clamp(18px, 5vw, 30px);
  border-radius: 16px;
  color: #fff;
  background:
    radial-gradient(120% 90% at 100% 0%, rgba(255, 255, 255, .16), transparent 55%),
    linear-gradient(140deg, var(--blue) 0%, var(--blue-900) 100%);
  box-shadow: var(--shadow-lg);
  transform: rotate(-2.5deg);
}
.bizcard p { margin: 0; }
.bizcard-trade {
  font-size: clamp(.625rem, .55rem + .4vw, .75rem);
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #cfd4f6;
}
.bizcard-name {
  margin-top: auto !important;
  font-family: var(--serif);
  font-size: clamp(1.35rem, 1rem + 1.8vw, 1.9rem);
  font-weight: 700;
  line-height: 1.1;
}
.bizcard-motto {
  margin-top: 8px !important;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(.8rem, .7rem + .4vw, .95rem);
  color: #e3e6fb;
}
.bizcard-foot {
  display: flex;
  flex-wrap: wrap;
  column-gap: 20px;
  margin-top: auto !important;
  padding-right: 64px;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, .25);
  font-size: clamp(.75rem, .65rem + .4vw, .9rem);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.stamp {
  position: absolute;
  right: max(4px, calc(50% - 230px));
  bottom: 0;
  width: 104px; height: 104px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--gold);
  color: var(--blue-900);
  box-shadow: 0 0 0 5px #fff, var(--shadow-sm);
  transform: rotate(10deg);
  text-align: center;
  line-height: 1.1;
}
.stamp span { font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.stamp strong { font-family: var(--serif); font-size: 1.6rem; }
@media (max-width: 380px) { .stamp { width: 88px; height: 88px; } .stamp strong { font-size: 1.35rem; } }

/* Pruebas de confianza */
.proof { background: var(--blue-900); color: #fff; }
.proof-list {
  list-style: none;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
}
.proof-list li {
  display: flex;
  flex-direction: column;
  padding: 22px 8px;
  border-bottom: 1px solid rgba(255, 255, 255, .12);
}
.proof-list li:nth-child(odd) { border-right: 1px solid rgba(255, 255, 255, .12); padding-left: 0; }
.proof-list li:nth-child(even) { padding-left: 18px; }
.proof-list li:nth-last-child(-n+2) { border-bottom: 0; }
.proof-list strong {
  font-family: var(--serif);
  font-size: clamp(2.1rem, 1.6rem + 2vw, 2.9rem);
  line-height: 1;
  color: var(--gold);
  font-variant-numeric: tabular-nums;
}
.proof-list span { margin-top: 6px; font-size: .9375rem; color: #d9dcf3; line-height: 1.35; }
@media (min-width: 760px) {
  .proof-list { grid-template-columns: repeat(4, 1fr); }
  .proof-list li, .proof-list li:nth-child(odd), .proof-list li:nth-child(even) {
    padding: 30px 24px;
    border-bottom: 0;
    border-right: 1px solid rgba(255, 255, 255, .12);
  }
  .proof-list li:first-child { padding-left: 0; }
  .proof-list li:last-child { border-right: 0; }
}

/* Secciones */
.section { padding: 64px 0; scroll-margin-top: var(--header-h); }
@media (min-width: 960px) { .section { padding: 96px 0; } }
.section-stone { background: var(--cream); }
.section-intro { color: var(--muted); max-width: 40em; font-size: 1.125rem; }

/* Servicios */
.cards { display: grid; gap: 22px; margin-top: 36px; }
@media (min-width: 700px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .cards { grid-template-columns: repeat(4, 1fr); gap: 18px; } }
.card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid #ece4d4;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
@media (hover: hover) {
  .card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
}
.card-art {
  position: relative;
  height: 128px;
}
.art-water {
  background:
    repeating-radial-gradient(circle at 82% 125%, rgba(255, 255, 255, .16) 0 2px, transparent 3px 20px),
    linear-gradient(150deg, #3c4cd0 0%, var(--blue-900) 100%);
}
.art-heat {
  background:
    repeating-linear-gradient(90deg, rgba(255, 255, 255, .16) 0 12px, transparent 12px 26px),
    linear-gradient(150deg, #e3a04a 0%, var(--terracotta) 100%);
}
.art-drain {
  background:
    repeating-linear-gradient(0deg, rgba(255, 255, 255, .14) 0 10px, transparent 10px 24px),
    linear-gradient(150deg, #2f8f9d 0%, #14505e 100%);
}
.art-drain .card-badge { color: #1f6f7d; }
.art-tiles {
  background-color: #d7def3;
  background-image:
    linear-gradient(#fff 3px, transparent 3px),
    linear-gradient(90deg, #fff 3px, transparent 3px),
    linear-gradient(150deg, rgba(255, 255, 255, .5), rgba(44, 55, 179, .15));
  background-size: 32px 32px, 32px 32px, 100% 100%;
}
/* Cabecera con foto real (en lugar de la ilustración) */
.card-art.has-photo { background: var(--stone); }
.card-art.has-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 45%;
}
.card-art.has-photo img.photo-bajo { object-position: 50% 62%; }
.card-badge {
  position: absolute;
  left: 22px;
  bottom: -28px;
  width: 60px; height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #fff;
  box-shadow: var(--shadow-sm);
  color: var(--blue);
}
.art-heat .card-badge { color: var(--terracotta); }
.card-badge svg {
  width: 28px; height: 28px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.card-body { display: flex; flex-direction: column; flex: 1; padding: 44px 24px 22px; }
.card-body p { color: var(--muted); margin-bottom: .6em; }
.service-list { list-style: none; margin: 0 0 18px; padding: 0; flex: 1; }
.service-list li {
  position: relative;
  padding: 7px 0 7px 22px;
  border-bottom: 1px solid #f0ebe0;
  line-height: 1.4;
}
.service-list li:last-child { border-bottom: 0; }
.service-list li::before {
  content: "";
  position: absolute;
  left: 2px; top: 14px;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--blue);
}
.service-list .is-key { font-weight: 700; color: var(--ink); }
.service-list .is-key::before { background: var(--gold); box-shadow: 0 0 0 3px rgba(233, 180, 92, .3); }

/* Galería de baños: fotos de baja resolución, mostradas en miniatura para que se vean nítidas */
.gallery { margin-top: 44px; max-width: 760px; }
.gallery h3 { font-size: 1.25rem; margin-bottom: 14px; }
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
@media (min-width: 600px) { .gallery-grid { gap: 14px; } }
.gallery-grid img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  border-radius: 12px;
  background: var(--stone);
  box-shadow: var(--shadow-sm);
}

/* Destacados (los tres trabajos que Juan Miguel quiere mostrar) */
.highlights {
  list-style: none;
  margin: 32px 0 0;
  padding: 0;
  display: grid;
  gap: 12px;
}
@media (min-width: 800px) { .highlights { grid-template-columns: repeat(3, 1fr); gap: 22px; } }
.highlights li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 18px 20px;
  border-radius: 16px;
  background: var(--blue-soft);
  border: 1px solid #d5d9f3;
}
.highlights strong { display: block; color: var(--ink); font-size: 1.0625rem; line-height: 1.3; margin-bottom: 2px; }
.highlights li > span:last-child { color: var(--muted); font-size: .9375rem; line-height: 1.45; }
.highlight-icon {
  flex: none;
  width: 44px; height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #fff;
  color: var(--blue);
  box-shadow: var(--shadow-sm);
}
.highlight-icon svg {
  width: 24px; height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  font-weight: 700;
  text-decoration: none;
}
.card-link span { transition: transform .2s var(--ease); }
.card-link:hover span { transform: translateX(4px); }

/* Cómo trabajo */
.steps {
  list-style: none;
  counter-reset: paso;
  margin: 36px 0 0;
  padding: 0;
  display: grid;
  gap: 28px;
}
.steps li {
  counter-increment: paso;
  position: relative;
  padding-left: 72px;
}
.steps li::before {
  content: counter(paso);
  position: absolute;
  left: 0; top: -4px;
  width: 52px; height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--blue);
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--blue);
}
.steps li:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 25px; top: 56px; bottom: -26px;
  border-left: 2px dashed var(--sand);
}
.steps p { color: var(--muted); margin: 0; }
@media (min-width: 860px) {
  .steps { grid-template-columns: repeat(3, 1fr); gap: 36px; }
  .steps li { padding: 76px 0 0; }
  .steps li::before { top: 0; }
  .steps li:not(:last-child)::after {
    left: 64px; right: -28px; top: 26px; bottom: auto;
    border-left: 0;
    border-top: 2px dashed var(--sand);
  }
}

/* Quién soy */
.about { display: grid; gap: 36px; align-items: center; }
@media (min-width: 900px) { .about { grid-template-columns: 1fr 1.15fr; gap: 64px; } }
.about-quote {
  position: relative;
  margin: 0;
  padding: 76px 28px 30px;
  border-radius: 24px;
  background:
    radial-gradient(100% 80% at 0% 0%, rgba(233, 180, 92, .25), transparent 60%),
    var(--stone);
}
.about-quote::before {
  content: "«";
  position: absolute;
  top: 4px; left: 24px;
  font-family: var(--serif);
  font-size: 5.5rem;
  line-height: 1;
  color: var(--blue);
}
.about-quote blockquote { margin: 0; }
.about-quote blockquote p {
  margin: 0;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.75rem, 1.3rem + 2vw, 2.6rem);
  line-height: 1.15;
  color: var(--ink);
}
.about-quote figcaption {
  margin-top: 18px;
  font-weight: 700;
  color: var(--muted);
}
.about-quote figcaption::before { content: "— "; }
.about-text p:not(.eyebrow) { font-size: 1.125rem; }

/* Zona */
.zone { background: var(--cream); border-top: 1px solid var(--stone); padding: 40px 0; scroll-margin-top: var(--header-h); }
.zone-inner { display: flex; gap: 20px; align-items: center; }
.zone h2 { font-size: clamp(1.4rem, 1.2rem + 1vw, 1.75rem); margin-bottom: .3em; }
.zone p { margin: 0; color: var(--muted); }
.zone-icon {
  flex: none;
  width: 60px; height: 60px;
  padding: 14px;
  border-radius: 50%;
  background: #fff;
  color: var(--terracotta);
  box-shadow: var(--shadow-sm);
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
@media (max-width: 479px) { .zone-icon { display: none; } }

/* Contacto */
.contact {
  position: relative;
  overflow: hidden;
  padding: 64px 0;
  color: #fff;
  background:
    repeating-radial-gradient(circle at 100% 100%, rgba(255, 255, 255, .05) 0 2px, transparent 3px 26px),
    linear-gradient(150deg, var(--blue) 0%, var(--blue-900) 100%);
  scroll-margin-top: var(--header-h);
}
@media (min-width: 960px) { .contact { padding: 96px 0; } }
.contact h2 { color: #fff; font-size: clamp(2rem, 1.4rem + 2.6vw, 3.2rem); }
.contact-inner { display: grid; gap: 40px; }
@media (min-width: 960px) { .contact-inner { grid-template-columns: 1.2fr 1fr; align-items: center; gap: 64px; } }
.contact-lead { font-size: 1.1875rem; color: #dfe2f8; }
.big-phone {
  display: inline-block;
  margin: 4px 0 4px;
  font-family: var(--serif);
  font-size: clamp(2.4rem, 1.6rem + 4vw, 3.8rem);
  font-weight: 700;
  line-height: 1.1;
  color: #fff;
  text-decoration: none;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
  border-bottom: 3px solid var(--gold);
}
.big-phone:hover { color: var(--gold); }
.contact .btn-whatsapp { box-shadow: none; }
.contact-list {
  list-style: none;
  margin: 0;
  padding: 8px 24px;
  border-radius: 20px;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .14);
}
.contact-list li {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .14);
}
.contact-list li:last-child { border-bottom: 0; }
.contact-list .icon { width: 24px; height: 24px; color: var(--gold); }
.contact-list li > span { min-width: 0; }
.contact-label { display: block; font-size: .875rem; color: #c9cef2; }
.hours { display: block; padding-top: 4px; font-weight: 700; line-height: 1.5; font-variant-numeric: tabular-nums; }
.hours-note { display: block; margin-top: 6px; font-size: .9375rem; line-height: 1.4; color: #dfe2f8; }
.contact-list a {
  color: #fff;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  overflow-wrap: anywhere;
}

/* Pie */
.site-footer {
  background: #0f1442;
  color: #cdd1ee;
  padding: 44px 0;
  font-size: .9375rem;
}
.site-footer p { margin: 0 0 4px; }
.site-footer a { color: #fff; display: inline-flex; align-items: center; min-height: 44px; overflow-wrap: anywhere; }
.footer-logo {
  display: block;
  width: 100%;
  max-width: 240px;
  height: auto;
  margin-bottom: 12px;
  border-radius: 12px;
  background: #053365;
}
.footer-name { font-family: var(--serif); font-size: 1.125rem; font-weight: 700; color: #fff; }
.footer-inner { display: grid; gap: 24px; }
@media (min-width: 760px) { .footer-inner { grid-template-columns: 2fr 1.5fr 1fr; } }
.footer-legal { display: flex; flex-direction: column; align-items: flex-start; }

/* Barra fija móvil (solo con JavaScript; aparece tras pasar la sección de inicio) */
.mobile-bar { display: none; }
@media (max-width: 959px) {
  .js .mobile-bar {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 40;
    padding: 8px 12px calc(8px + env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, .97);
    border-top: 1px solid var(--sand);
    box-shadow: 0 -6px 20px rgba(22, 28, 94, .10);
    transform: translateY(110%);
    visibility: hidden;
    transition: transform .25s var(--ease), visibility .25s;
  }
  .js .mobile-bar .btn { box-shadow: none; }
  .js .mobile-bar.is-visible { transform: none; visibility: visible; }
  .js .has-mobile-bar { padding-bottom: 72px; }
}

/* Páginas legales y 404 */
.legal { padding: 40px 0 64px; background: var(--cream); }
.legal .container { max-width: 780px; }
.legal h1 { font-size: clamp(2rem, 1.5rem + 2vw, 2.8rem); }
.legal h2 { font-size: 1.4rem; margin-top: 1.8em; }
.legal ul { padding-left: 1.2em; }
.draft-banner {
  background: #fff4d6;
  border: 2px dashed #b7791f;
  color: #5c3d00;
  border-radius: var(--radius);
  padding: 16px 20px;
  margin-bottom: 32px;
  font-weight: 600;
}
.pending {
  background: #fff4d6;
  color: #5c3d00;
  font-weight: 700;
  padding: 0 4px;
  border-radius: 4px;
}
.back-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-weight: 700;
}
