/* ============================================================
   Marincea Construcción — hoja de estilos principal
   Identidad: negro profundo + dorado
   ============================================================ */

/* ---------- Tipografías (self-hosted, variables) ---------- */
@font-face {
  font-family: "Sora";
  src: url("../fonts/sora-var.woff2") format("woff2");
  font-weight: 100 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-var.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

/* ---------- Variables ---------- */
:root {
  --bg: #0b0b0c;
  --surface: #121316;
  --surface-2: #17181d;
  --line: #26272e;
  --line-soft: #1d1e24;
  --gold: #d4af37;
  --gold-bright: #e9c96a;
  --gold-deep: #a98a2b;
  --gold-soft: rgba(212, 175, 55, 0.14);
  --ink: #f4f1ea;
  --muted: #b7b2a6;
  --muted-2: #8d887d;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 24px 48px -24px rgba(0, 0, 0, 0.65);
  --font-head: "Sora", "Inter", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16.5px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  line-height: 1.18;
  margin: 0 0 0.6em;
  letter-spacing: -0.015em;
  color: var(--ink);
}

p { margin: 0 0 1em; }

a { color: var(--gold-bright); text-decoration: none; }
a:hover { color: var(--gold); }

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

::selection { background: rgba(212, 175, 55, 0.35); color: #fff; }

section { scroll-margin-top: 84px; }

.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: absolute;
  top: -60px; left: 16px;
  z-index: 200;
  background: var(--gold);
  color: #14120b;
  font-weight: 600;
  padding: 10px 18px;
  border-radius: 0 0 10px 10px;
  transition: top 0.2s ease;
}
.skip-link:focus { top: 0; }

.wrap {
  width: 100%;
  max-width: 1180px;
  margin-inline: auto;
  padding-inline: 20px;
}

.section { padding: clamp(64px, 9vw, 112px) 0; }
.section--alt { background: var(--surface); }
.section--tight { padding-top: clamp(40px, 5vw, 64px); }

.section-head { max-width: 720px; margin: 0 auto clamp(36px, 5vw, 56px); text-align: center; }
.section-head p { color: var(--muted); font-size: 1.06rem; margin-bottom: 0; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold));
}

.h2 {
  font-size: clamp(1.65rem, 3.2vw, 2.5rem);
  font-weight: 700;
}
.gold { color: var(--gold); }

.lead { color: var(--muted); font-size: 1.05rem; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.98rem;
  padding: 14px 26px;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.25s ease, background 0.25s ease,
    border-color 0.25s ease, color 0.25s ease;
  text-align: center;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--gold {
  background: linear-gradient(135deg, var(--gold-bright), var(--gold));
  color: #14120b;
  box-shadow: 0 14px 30px -14px rgba(212, 175, 55, 0.55);
}
.btn--gold:hover {
  box-shadow: 0 18px 36px -14px rgba(212, 175, 55, 0.7);
  color: #14120b;
}

.btn--ghost {
  border-color: rgba(212, 175, 55, 0.45);
  color: var(--gold-bright);
  background: rgba(212, 175, 55, 0.05);
}
.btn--ghost:hover {
  background: rgba(212, 175, 55, 0.12);
  border-color: var(--gold);
}

.btn--wa {
  background: #1faa53;
  color: #fff;
  box-shadow: 0 14px 30px -16px rgba(31, 170, 83, 0.6);
}
.btn--wa:hover { background: #23bd5d; color: #fff; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(11, 11, 12, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line-soft);
  transition: box-shadow 0.3s ease;
}
.site-header.scrolled { box-shadow: 0 12px 30px -18px rgba(0, 0, 0, 0.9); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 74px;
}

.brand { display: inline-flex; align-items: center; }
.brand img { height: 44px; width: auto; }

.nav { display: flex; align-items: center; gap: 26px; }

.nav-link {
  position: relative;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 500;
  padding: 6px 0;
  transition: color 0.2s ease;
}
.nav-link:hover { color: var(--gold-bright); }
.nav-link::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 2px;
  background: var(--gold);
  transition: width 0.25s ease;
}
.nav-link:hover::after { width: 100%; }

.header-actions { display: flex; align-items: center; gap: 14px; }

.lang {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.84rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--muted-2);
}
.lang a { color: var(--muted); padding: 4px 6px; border-radius: 6px; }
.lang a:hover { color: var(--gold-bright); }
.lang .is-active { color: var(--gold); }
.lang span { color: var(--line); }

.header-phone { padding: 10px 18px; font-size: 0.9rem; }

.menu-btn {
  display: none;
  background: none;
  border: 1px solid var(--line);
  color: var(--ink);
  border-radius: 10px;
  padding: 9px 11px;
  cursor: pointer;
}
.menu-btn svg { display: block; }

.mobile-menu {
  display: none;
  border-top: 1px solid var(--line-soft);
  padding: 14px 20px 22px;
  background: rgba(11, 11, 12, 0.98);
}
.mobile-menu.open { display: block; }
.mobile-menu a {
  display: block;
  padding: 12px 4px;
  color: var(--muted);
  border-bottom: 1px solid var(--line-soft);
  font-weight: 500;
}
.mobile-menu a:hover { color: var(--gold-bright); }
.mobile-menu .btn { margin-top: 16px; width: 100%; }

@media (max-width: 1020px) {
  .nav { display: none; }
  .menu-btn { display: inline-flex; }
  .header-phone { display: none; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: clamp(580px, 90vh, 840px);
  padding: clamp(72px, 8vw, 120px) 0;
  background:
    linear-gradient(100deg, rgba(11, 11, 12, 0.96) 18%, rgba(11, 11, 12, 0.72) 55%, rgba(11, 11, 12, 0.88) 100%),
    url("../img/hero.webp") center 38% / cover no-repeat;
}
.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 120px;
  background: linear-gradient(180deg, transparent, var(--bg));
  pointer-events: none;
}
.hero-inner { position: relative; z-index: 1; max-width: 720px; }

.hero h1 {
  font-size: clamp(2.15rem, 4.8vw, 3.6rem);
  font-weight: 700;
  margin-bottom: 22px;
}
.hero h1 .gold { display: block; }

.hero-text {
  color: var(--muted);
  font-size: clamp(1.02rem, 1.6vw, 1.18rem);
  max-width: 600px;
  margin-bottom: 30px;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 40px; }

.trust {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  padding: 0;
  margin: 0;
  list-style: none;
}
.trust li {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--muted);
  font-size: 0.93rem;
}
.trust svg { flex: none; color: var(--gold); }

/* ---------- Tarjetas de servicios ---------- */
.cards-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.card {
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 28px;
  transition: transform 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease;
}
.card:hover {
  transform: translateY(-5px);
  border-color: rgba(212, 175, 55, 0.5);
  box-shadow: 0 26px 50px -30px rgba(212, 175, 55, 0.4);
}

.card-icon {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: var(--gold-soft);
  border: 1px solid rgba(212, 175, 55, 0.28);
  color: var(--gold);
  margin-bottom: 20px;
}
.card-icon svg { width: 26px; height: 26px; }

.card h3 { font-size: 1.14rem; margin-bottom: 10px; }
.card p { color: var(--muted); font-size: 0.95rem; margin: 0; }

@media (max-width: 1020px) { .cards-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 660px) { .cards-3 { grid-template-columns: 1fr; } }

/* ---------- Proyectos ---------- */
.proj-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.proj {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  aspect-ratio: 4 / 3.1;
}
.proj img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.proj:hover img { transform: scale(1.06); }

.proj-cap {
  position: absolute;
  inset: auto 0 0 0;
  padding: 52px 22px 20px;
  background: linear-gradient(180deg, transparent, rgba(9, 9, 10, 0.92) 72%);
}
.proj-cap h3 { font-size: 1.08rem; margin: 0 0 2px; }
.proj-cap p { margin: 0; color: var(--gold); font-size: 0.88rem; }

@media (max-width: 1020px) { .proj-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 660px) { .proj-grid { grid-template-columns: 1fr; } }

/* ---------- Nosotros ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 6vw, 68px);
  align-items: center;
}

.split-media { position: relative; }
.split-media img {
  border-radius: var(--radius);
  width: 100%;
  aspect-ratio: 4 / 3.4;
  object-fit: cover;
}
.split-media::after {
  content: "";
  position: absolute;
  inset: 16px -16px -16px 16px;
  border: 1px solid rgba(212, 175, 55, 0.4);
  border-radius: var(--radius);
  z-index: -1;
}

.split-copy p { color: var(--muted); }
.split-copy strong { color: var(--ink); }

.checks { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 16px; }
.check { display: flex; gap: 14px; align-items: flex-start; }
.check-icon {
  flex: none;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: var(--gold-soft);
  color: var(--gold);
}
.check-icon svg { width: 17px; height: 17px; }
.check h4 { font-size: 1rem; margin: 0 0 3px; }
.check p { margin: 0; color: var(--muted); font-size: 0.93rem; }

@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; }
  .split-media::after { inset: 12px -12px -12px 12px; }
}

/* ---------- Zonas ---------- */
.zones {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.zone {
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.zone-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 22px;
  background: linear-gradient(135deg, var(--gold-bright), var(--gold));
  color: #14120b;
}
.zone-head svg { width: 20px; height: 20px; }
.zone-head h3 { margin: 0; font-size: 1.05rem; color: #14120b; }
.zone ul {
  list-style: none;
  margin: 0;
  padding: 18px 22px 22px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 18px;
}
.zone li {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 0.92rem;
}
.zone li::before {
  content: "";
  flex: none;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold);
  opacity: 0.85;
}
.zone-note {
  margin-top: 26px;
  text-align: center;
  color: var(--muted);
}
.zone-note a { font-weight: 600; }

@media (max-width: 1020px) { .zones { grid-template-columns: 1fr 1fr; } .zones .zone:last-child { grid-column: span 2; } }
@media (max-width: 660px) { .zones { grid-template-columns: 1fr; } .zones .zone:last-child { grid-column: auto; } }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 12px; }
.faq details {
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0 22px;
  transition: border-color 0.25s ease;
}
.faq details[open] { border-color: rgba(212, 175, 55, 0.5); }
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  cursor: pointer;
  list-style: none;
  padding: 19px 0;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.02rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  flex: none;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(212, 175, 55, 0.45);
  color: var(--gold);
  font-size: 1.15rem;
  font-weight: 400;
  transition: transform 0.25s ease, background 0.25s ease;
}
.faq details[open] summary::after {
  content: "–";
  transform: rotate(180deg);
  background: var(--gold-soft);
}
.faq .faq-body { color: var(--muted); padding: 0 0 20px; margin: 0; font-size: 0.96rem; }

/* ---------- Testimonios ---------- */
.tst-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.tst {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.stars { display: flex; gap: 3px; color: var(--gold); }
.stars svg { width: 17px; height: 17px; }
.tst blockquote {
  margin: 0;
  color: var(--muted);
  font-size: 0.96rem;
  font-style: italic;
  flex: 1;
}
.tst-author { display: flex; align-items: center; gap: 13px; }
.avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--gold-bright), var(--gold-deep));
  color: #14120b;
  font-weight: 700;
  font-family: var(--font-head);
}
.tst-author h4 { margin: 0; font-size: 0.96rem; }
.tst-author p { margin: 0; color: var(--muted-2); font-size: 0.85rem; }

@media (max-width: 1020px) { .tst-grid { grid-template-columns: 1fr; } }

/* ---------- Contacto ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(28px, 5vw, 52px);
  align-items: start;
}

.form { display: grid; gap: 18px; }

.field { display: grid; gap: 7px; }
.field label { font-size: 0.92rem; font-weight: 500; color: var(--muted); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }

.field input,
.field select,
.field textarea {
  width: 100%;
  background: #0f1013;
  border: 1px solid #2b2c34;
  border-radius: var(--radius-sm);
  color: var(--ink);
  font-family: inherit;
  font-size: 0.97rem;
  padding: 13px 16px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.field textarea { resize: vertical; min-height: 130px; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23b7b2a6' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 42px; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.2);
}
.field input::placeholder,
.field textarea::placeholder { color: #6f6b62; }

.consent {
  display: flex;
  gap: 11px;
  align-items: flex-start;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.55;
}
.consent input { width: 17px; height: 17px; margin-top: 3px; accent-color: var(--gold); flex: none; }

.form-status {
  display: none;
  border-radius: var(--radius-sm);
  padding: 13px 16px;
  font-size: 0.93rem;
}
.form-status.ok { display: block; background: rgba(52, 168, 83, 0.14); border: 1px solid rgba(52, 168, 83, 0.5); color: #9fe0b5; }
.form-status.err { display: block; background: rgba(220, 62, 62, 0.12); border: 1px solid rgba(220, 62, 62, 0.5); color: #f0a3a3; }

.info-card {
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(26px, 4vw, 36px);
}
.info-card h3 { font-size: 1.25rem; margin-bottom: 24px; }

.info-row { display: flex; gap: 15px; align-items: flex-start; }
.info-row + .info-row { margin-top: 20px; }
.info-icon {
  flex: none;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--gold-soft);
  border: 1px solid rgba(212, 175, 55, 0.28);
  color: var(--gold);
}
.info-icon svg { width: 19px; height: 19px; }
.info-row h4 { margin: 1px 0 2px; font-size: 0.98rem; }
.info-row p { margin: 0; color: var(--muted); font-size: 0.93rem; }

.hours {
  margin-top: 26px;
  border-top: 1px solid var(--line);
  padding-top: 20px;
}
.hours h4 { font-size: 0.95rem; margin-bottom: 10px; }
.hours div {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 8px 0;
  color: var(--muted);
  font-size: 0.93rem;
  border-bottom: 1px dashed var(--line-soft);
}
.hours div:last-child { border-bottom: 0; }
.hours span:last-child { color: var(--ink); }

@media (max-width: 1020px) { .contact-grid { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .field-row { grid-template-columns: 1fr; } }

/* ---------- Mapa (carga bajo demanda) ---------- */
.map-box {
  margin-top: clamp(40px, 6vw, 64px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface-2);
}
.map-facade {
  min-height: 300px;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 40px 24px;
  gap: 14px;
  background:
    radial-gradient(circle at 50% 0%, rgba(212, 175, 55, 0.1), transparent 60%),
    var(--surface-2);
}
.map-facade p { margin: 0; color: var(--muted); max-width: 420px; }
.map-box iframe { display: block; width: 100%; height: 380px; border: 0; }

/* ---------- Footer ---------- */
.site-footer {
  background: #0e0e10;
  border-top: 1px solid var(--line-soft);
  padding: clamp(52px, 7vw, 76px) 0 30px;
}
.foot-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 36px;
}
.foot-brand img { height: 40px; width: auto; margin-bottom: 16px; }
.foot-brand p { color: var(--muted-2); font-size: 0.93rem; max-width: 300px; }

.foot-col h4 {
  font-size: 0.86rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}
.foot-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.foot-col a { color: var(--muted); font-size: 0.93rem; }
.foot-col a:hover { color: var(--gold-bright); }

.foot-bottom {
  margin-top: clamp(40px, 5vw, 56px);
  padding-top: 24px;
  border-top: 1px solid var(--line-soft);
  display: flex;
  flex-wrap: wrap;
  gap: 14px 26px;
  align-items: center;
  justify-content: space-between;
  color: var(--muted-2);
  font-size: 0.88rem;
}
.legal-links { display: flex; flex-wrap: wrap; gap: 18px; }
.legal-links a { color: var(--muted); }
.legal-links a:hover { color: var(--gold-bright); }

@media (max-width: 1020px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .foot-grid { grid-template-columns: 1fr; } .foot-bottom { justify-content: flex-start; } }

/* ---------- Botones flotantes ---------- */
.fab-stack {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 90;
  display: grid;
  gap: 12px;
  justify-items: end;
}
.fab {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  border: 1px solid transparent;
  cursor: pointer;
  box-shadow: 0 16px 34px -16px rgba(0, 0, 0, 0.8);
  transition: transform 0.2s ease, background 0.2s ease;
}
.fab:hover { transform: translateY(-3px); }
.fab--wa { background: #1faa53; color: #fff; }
.fab--wa:hover { background: #23bd5d; color: #fff; }
.fab--top {
  background: var(--surface-2);
  border-color: var(--line);
  color: var(--gold);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.2s ease;
}
.fab--top.show { opacity: 1; visibility: visible; }
.fab svg { width: 23px; height: 23px; }

/* ---------- Animaciones de aparición ---------- */
.reveal { opacity: 0; transform: translateY(20px); }
.reveal.in {
  opacity: 1;
  transform: none;
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal, .reveal.in { opacity: 1; transform: none; transition: none; }
  .card, .btn, .proj img, .fab { transition: none; }
}

/* ---------- Páginas legales ---------- */
.legal-page { padding: clamp(48px, 7vw, 84px) 0; }
.legal-page .wrap { max-width: 860px; }
.legal-page h1 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); padding-bottom: 18px; border-bottom: 2px solid rgba(212, 175, 55, 0.5); }
.legal-page h2 { font-size: 1.22rem; margin-top: 2.2em; color: var(--gold-bright); }
.legal-page p, .legal-page li { color: var(--muted); font-size: 0.97rem; }
.legal-page ul { padding-left: 22px; }
.legal-page li { margin-bottom: 8px; }
.legal-page .updated { color: var(--muted-2); font-size: 0.88rem; }

.thanks-card { max-width: 640px; margin: 0 auto; text-align: center; }
.thanks-card .check-icon { width: 64px; height: 64px; border-radius: 50%; margin: 0 auto 22px; }
.thanks-card .check-icon svg { width: 30px; height: 30px; }
.thanks-title { border: 0; text-align: center; }

/* ---------- Utilidades ---------- */
.svg-sprite { display: none; }
.eyebrow--c { justify-content: center; }
.lang--menu { margin-top: 14px; }
.no-margin { margin: 0; }
.mt-36 { margin-top: 36px; }
.center { text-align: center; }
.mt-28 { margin-top: 28px; }
.ml-10 { margin-left: 10px; }
.map-pin { color: #d4af37; }
.proj { margin: 0; }
.foot-bottom--plain { margin-top: 0; border-top: 0; padding-top: 0; }
.zone li a { color: var(--muted); }
.zone li a:hover { color: var(--gold-bright); }

/* ---------- Páginas internas (servicios y zonas) ---------- */
.crumbs { padding: 16px 0 0; font-size: 0.88rem; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; }
.crumbs li { display: flex; gap: 8px; align-items: center; color: var(--muted-2); }
.crumbs li + li::before { content: "›"; color: var(--muted-2); }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--gold-bright); }
.crumbs [aria-current="page"] { color: var(--gold); }

.page-hero {
  padding: clamp(36px, 5vw, 64px) 0 clamp(30px, 4vw, 46px);
  background: linear-gradient(180deg, var(--surface), var(--bg));
  border-bottom: 1px solid var(--line-soft);
}
.page-hero h1 { font-size: clamp(1.7rem, 3.6vw, 2.6rem); margin-bottom: 14px; }
.page-hero .lead { max-width: 760px; }
.page-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }

.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: clamp(28px, 4vw, 48px);
  align-items: start;
}
.content-main h2 { font-size: clamp(1.3rem, 2.4vw, 1.7rem); margin-top: 1.8em; }
.content-main h2:first-child { margin-top: 0; }
.content-main p { color: var(--muted); }
.content-main ul { color: var(--muted); padding-left: 20px; }
.content-main li { margin-bottom: 8px; }

.side-card {
  position: sticky;
  top: 96px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
}
.side-card h3 { font-size: 1.1rem; margin-bottom: 12px; }
.side-card p { color: var(--muted); font-size: 0.93rem; }
.side-list { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 10px; }
.side-list a { color: var(--muted); font-size: 0.93rem; }
.side-list a:hover { color: var(--gold-bright); }
.side-card .btn { width: 100%; margin-top: 18px; }

.link-cloud { display: flex; flex-wrap: wrap; gap: 10px; padding: 0; margin: 18px 0 0; list-style: none; }
.link-cloud a {
  display: inline-flex;
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.88rem;
  background: var(--surface-2);
}
.link-cloud a:hover { border-color: var(--gold); color: var(--gold-bright); }

.mini-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 18px; }
.mini-card {
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 18px;
  display: block;
  transition: border-color 0.25s ease, transform 0.25s ease;
}
.mini-card:hover { border-color: rgba(212, 175, 55, 0.5); transform: translateY(-3px); }
.mini-card h3 { font-size: 0.98rem; margin-bottom: 6px; }
.mini-card p { font-size: 0.86rem; color: var(--muted); margin: 0; }

.cta-band {
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.14), rgba(212, 175, 55, 0.05)), var(--surface);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: clamp(36px, 5vw, 56px) 0;
}
.cta-band .cta-inner { display: flex; flex-wrap: wrap; gap: 20px; align-items: center; justify-content: space-between; }
.cta-band h2 { margin: 0; font-size: clamp(1.25rem, 2.4vw, 1.7rem); }
.cta-band p { margin: 6px 0 0; color: var(--muted); }
.cta-band .cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }

@media (max-width: 1020px) {
  .content-grid { grid-template-columns: 1fr; }
  .side-card { position: static; }
  .mini-cards { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 660px) { .mini-cards { grid-template-columns: 1fr; } }
.card h3 a, .mini-card h3 a { color: inherit; }
.card h3 a:hover, .mini-card h3 a:hover { color: var(--gold-bright); }
