/* ==========================================================================
   EYJ · demo privada 2026
   Dirección editorial luminosa: papel, tinta petrolera, celeste y verde.
   Sin dependencias, sin fuentes externas, sin trackers.
   ========================================================================== */

:root {
  --paper: #f3f8f6;
  --paper-2: #e8f2ed;
  --paper-3: #dceae0;
  --white: #ffffff;

  --ink: #12242d;
  --ink-2: #43565e;
  --ink-3: #50686d;

  --deep: #0a1c24;
  --petrol: #0f2a34;
  --petrol-2: #163945;

  --line: #d8d1c2;
  --line-2: #c9c0ae;
  --line-dark: rgba(246, 243, 236, 0.18);

  --celeste: #176c80;
  --celeste-soft: #7fc3d3;
  --sky: #a9d6e2;
  --verde: #267146;
  --verde-soft: #a7c4a8;
  --error: #a23a2b;

  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --sans: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --mono: "Cascadia Mono", "Cascadia Code", Consolas, "SFMono-Regular", ui-monospace, monospace;

  --pad: clamp(20px, 5vw, 68px);
  --wrap: 1280px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);

  --focus: var(--celeste);
  --header-h: 84px;
}

/* ---------- Base ---------- */

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

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img {
  max-width: 100%;
  height: auto;
}

figure {
  margin: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
}

h1,
h2,
h3,
h4 {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.018em;
  line-height: 1.06;
  margin: 0;
  text-wrap: balance;
}

p {
  margin: 0;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

dl {
  margin: 0;
}

fieldset {
  margin: 0;
  padding: 0;
  border: 0;
  min-width: 0;
}

address {
  font-style: normal;
}

#contenido:focus {
  outline: 0;
}

em {
  font-style: italic;
}

::selection {
  background: var(--ink);
  color: var(--paper);
}

:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 4px;
}

.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: var(--pad);
  z-index: 100;
  transform: translateY(-180%);
  background: var(--paper);
  color: var(--ink);
  border: 1px solid var(--ink);
  padding: 12px 18px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: transform 0.2s var(--ease);
}

.skip-link:focus {
  transform: translateY(0);
}

.wrap {
  width: min(var(--wrap), calc(100% - 2 * var(--pad)));
  margin-inline: auto;
}

.section {
  padding-block: clamp(72px, 9vw, 132px);
}

/* ---------- Type utilities ---------- */

.eyebrow,
.section-label {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  line-height: 1.5;
  text-transform: uppercase;
  color: var(--ink-3);
  display: flex;
  align-items: center;
  gap: 14px;
}

.section-label::before {
  content: "";
  width: 34px;
  height: 1px;
  background: var(--celeste);
  flex: none;
}

.eyebrow span {
  width: 7px;
  height: 7px;
  background: var(--celeste);
  flex: none;
}

.eyebrow-light {
  color: var(--sky);
}

.eyebrow-light span {
  background: var(--celeste-soft);
}

.lead {
  font-size: clamp(1.06rem, 1.3vw, 1.22rem);
  line-height: 1.6;
  color: var(--ink-2);
  max-width: 64ch;
}

.small-note {
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--ink-3);
  max-width: 70ch;
}

.fig-credit {
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.65em;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--celeste);
  padding-bottom: 6px;
  border-bottom: 1px solid currentColor;
  width: max-content;
  transition: color 0.25s var(--ease), gap 0.25s var(--ease);
}

.link-arrow:hover {
  color: var(--ink);
  gap: 0.95em;
}

.link-arrow span {
  transition: transform 0.25s var(--ease);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.9em;
  min-height: 50px;
  padding: 0.95rem 1.45rem;
  border: 1px solid transparent;
  border-radius: 2px;
  font-family: var(--mono);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  text-align: center;
  transition: background-color 0.25s var(--ease), color 0.25s var(--ease),
    border-color 0.25s var(--ease);
}

.btn-light {
  background: var(--paper);
  color: var(--ink);
}

.btn-light:hover {
  background: var(--white);
  color: var(--petrol);
}

.btn-dark {
  background: var(--ink);
  color: var(--paper);
}

.btn-dark:hover {
  background: var(--petrol);
}

.btn-outline {
  border-color: currentColor;
  color: inherit;
}

.btn-outline:hover {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
}

.btn-ghost {
  border-color: var(--line-2);
  color: var(--ink);
  background: transparent;
}

.btn-ghost:hover {
  background: var(--paper-2);
}

/* ---------- Header ---------- */

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 60;
  color: var(--paper);
  border-bottom: 1px solid transparent;
  transition: background-color 0.35s var(--ease), color 0.35s var(--ease),
    border-color 0.35s var(--ease);
  --focus: var(--sky);
}

.site-header.is-solid {
  --focus: var(--celeste);
}

.site-header::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(8, 24, 31, 0.55), rgba(8, 24, 31, 0));
  opacity: 1;
  transition: opacity 0.35s var(--ease);
  pointer-events: none;
}

.site-header.is-solid {
  background: rgba(246, 243, 236, 0.92);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  color: var(--ink);
  border-bottom-color: var(--line);
}

.site-header.is-solid::after {
  opacity: 0;
}

.header-inner {
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex: none;
  color: inherit;
  position: relative;
  z-index: 70;
}

.brand-name {
  font-family: var(--serif);
  font-size: 1.75rem;
  line-height: 0.9;
  letter-spacing: -0.05em;
  position: relative;
  padding-right: 6px;
}

.brand-name::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 5px;
  height: 5px;
  background: var(--celeste-soft);
}

.site-header.is-solid .brand-name::after {
  background: var(--celeste);
}

.brand-sub {
  font-family: var(--mono);
  font-size: 9px;
  line-height: 1.45;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: currentColor;
  opacity: 0.78;
}

.demo-flag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-left: 10px;
  padding: 7px 10px;
  border: 1px solid currentColor;
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.75;
  white-space: nowrap;
}

.demo-flag span {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--celeste-soft);
}

.site-header.is-solid .demo-flag span {
  background: var(--verde);
}

.site-nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: clamp(22px, 2.4vw, 38px);
}

.nav-list {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2vw, 32px);
}

.nav-list a {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  padding-block: 10px;
  font-size: 14.5px;
  letter-spacing: 0.01em;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s var(--ease), opacity 0.2s var(--ease);
}

.nav-list a span {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.08em;
  color: var(--sky);
  opacity: 0.85;
}

.site-header.is-solid .nav-list a span {
  color: var(--celeste);
}

.nav-list a:hover,
.nav-list a[aria-current] {
  border-bottom-color: currentColor;
}

.nav-aside {
  display: none;
}

.nav-cta {
  padding: 0.82rem 1.1rem;
  min-height: 44px;
  font-size: 10.5px;
}

.site-header.is-solid .nav-cta:hover {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
}

.site-header:not(.is-solid) .nav-cta:hover {
  background: var(--paper);
  border-color: var(--paper);
  color: var(--ink);
}

.menu-toggle {
  display: none;
  align-items: center;
  gap: 12px;
  margin-left: auto;
  padding: 12px 4px;
  min-height: 44px;
  background: none;
  border: 0;
  color: inherit;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  position: relative;
  z-index: 70;
}

.menu-toggle-icon {
  position: relative;
  width: 22px;
  height: 16px;
  display: block;
}

.menu-toggle-icon i {
  position: absolute;
  left: 0;
  width: 100%;
  height: 1px;
  background: currentColor;
  transition: transform 0.28s var(--ease), top 0.28s var(--ease),
    opacity 0.2s var(--ease);
}

.menu-toggle-icon i:first-child {
  top: 4px;
}

.menu-toggle-icon i:last-child {
  top: 11px;
}

.nav-open .menu-toggle-icon i:first-child {
  top: 8px;
  transform: rotate(45deg);
}

.nav-open .menu-toggle-icon i:last-child {
  top: 8px;
  transform: rotate(-45deg);
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  min-height: clamp(600px, 92vh, 860px);
  min-height: clamp(600px, 92svh, 860px);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: var(--paper);
  padding-top: calc(var(--header-h) + 40px);
  overflow: hidden;
  background: var(--deep);
  --focus: var(--sky);
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% 45%;
}

.hero-veil {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
      180deg,
      rgba(8, 24, 31, 0.62) 0%,
      rgba(8, 24, 31, 0.12) 26%,
      rgba(8, 24, 31, 0.32) 58%,
      rgba(8, 24, 31, 0.88) 100%
    ),
    linear-gradient(90deg, rgba(8, 24, 31, 0.88) 0%, rgba(8, 24, 31, 0.55) 38%, rgba(8, 24, 31, 0.04) 74%);
}

.hero-content {
  position: relative;
  z-index: 2;
  margin-top: auto;
  padding-block: clamp(48px, 10vh, 96px) clamp(40px, 6vh, 64px);
}

.hero h1 {
  font-size: clamp(2.6rem, 10.5vw, 5.6rem);
  line-height: 0.98;
  letter-spacing: -0.03em;
  margin: 26px 0 24px;
  max-width: 20ch;
}

.hero-lead {
  max-width: 46ch;
  font-size: clamp(1rem, 1.5vw, 1.22rem);
  line-height: 1.55;
  color: rgba(246, 243, 236, 0.84);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px 30px;
  margin-top: clamp(28px, 4vh, 40px);
}

.hero .link-arrow {
  color: var(--paper);
  border-bottom-color: rgba(246, 243, 236, 0.45);
}

.hero .link-arrow:hover {
  color: var(--paper);
  border-bottom-color: var(--paper);
  gap: 0.95em;
}

.hero-foot {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  padding-block: 18px 26px;
  border-top: 1px solid rgba(246, 243, 236, 0.24);
}

.hero-credit {
  font-family: var(--mono);
  font-size: 9.5px;
  line-height: 1.6;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(246, 243, 236, 0.62);
  max-width: 62ch;
}

.scroll-cue {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(246, 243, 236, 0.74);
  flex: none;
}

.scroll-cue i {
  position: relative;
  display: block;
  width: 1px;
  height: 40px;
  background: rgba(246, 243, 236, 0.3);
  overflow: hidden;
}

.scroll-cue i::after {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 40%;
  background: var(--paper);
  animation: cue 2.6s var(--ease) 2;
}

@keyframes cue {
  0% {
    transform: translateY(-110%);
  }
  60%,
  100% {
    transform: translateY(260%);
  }
}

/* ---------- Intro ---------- */

.intro {
  padding-top: clamp(64px, 8vw, 118px);
}

.intro-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 24px 32px;
  align-items: start;
}

.intro-grid .section-label {
  grid-column: span 3;
  padding-top: 14px;
}

.intro-main {
  grid-column: span 9;
}

.intro h2 {
  font-size: clamp(2rem, 4.1vw, 3.6rem);
  line-height: 1.03;
  letter-spacing: -0.022em;
  max-width: 19ch;
}

.intro h2 em {
  color: var(--celeste);
}

.intro-main .lead {
  margin-top: 26px;
  max-width: 60ch;
}

.intro-main .small-note {
  margin-top: 22px;
  max-width: 58ch;
}

.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: clamp(48px, 6vw, 84px);
  border-top: 1px solid var(--line);
}

.pillar {
  padding: clamp(24px, 2.6vw, 34px) clamp(20px, 2.4vw, 34px) 0;
  border-left: 1px solid var(--line);
}

.pillar:first-child {
  border-left: 0;
  padding-left: 0;
}

.pillar-num {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  color: var(--celeste);
  margin-bottom: 34px;
}

.pillar h3 {
  font-size: clamp(1.35rem, 1.8vw, 1.65rem);
  margin-bottom: 10px;
}

.pillar p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink-2);
  max-width: 34ch;
}

.facts {
  margin-top: clamp(44px, 5vw, 68px);
}

.facts dl {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  border-top: 1px solid var(--line);
  padding-top: 22px;
}

.facts div {
  display: grid;
  gap: 6px;
}

.facts dt {
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.facts dd {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(1.02rem, 1.3vw, 1.18rem);
  line-height: 1.3;
}

/* ---------- Services ---------- */

.services {
  padding-top: clamp(56px, 7vw, 96px);
}

.section-head {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 24px 32px;
  margin-bottom: clamp(48px, 6vw, 76px);
}

.section-head > .section-label {
  grid-column: span 3;
  padding-top: 12px;
}

.section-head > div {
  grid-column: span 9;
}

.section-head h2 {
  font-size: clamp(2rem, 4vw, 3.4rem);
  max-width: 17ch;
}

.section-head-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-top: 24px;
}

.section-head .lead {
  max-width: 56ch;
}

.section-head .small-note {
  margin-top: 18px;
  max-width: 62ch;
}

.spec-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: clamp(52px, 6vw, 78px) clamp(24px, 2.8vw, 40px);
  align-items: start;
}

.spec {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.spec-span-5 {
  grid-column: span 5;
}

.spec-span-7 {
  grid-column: span 7;
}

.spec-span-4 {
  grid-column: span 4;
}

.spec-media {
  position: relative;
  overflow: hidden;
  background: var(--paper-2);
}

.spec-media img {
  display: block;
  width: 100%;
  height: auto;
  transition: transform 0.9s var(--ease);
}

@media (hover: hover) {
  .spec-media:hover img {
    transform: scale(1.018);
  }
}

.spec-body {
  padding-top: 22px;
}

/* Las tarjetas que comparten fila usan el mismo ancho y marco fotográfico.
   contain mantiene la foto completa sin deformarla ni esconder sus marcas. */
@media (min-width: 768px) {
  #servicios .spec-grid > .spec-span-5,
  #servicios .spec-grid > .spec-span-7 {
    grid-column: span 6;
  }

  #servicios .spec-grid > .spec-span-5 .spec-media,
  #servicios .spec-grid > .spec-span-7 .spec-media {
    aspect-ratio: 16 / 9;
  }

  #servicios .spec-grid > .spec-span-5 .spec-media img,
  #servicios .spec-grid > .spec-span-7 .spec-media img {
    height: 100%;
    object-fit: contain;
  }

  #servicios .spec-grid > .spec-span-5 .spec-body h3,
  #servicios .spec-grid > .spec-span-7 .spec-body h3 {
    min-height: 2.4em;
  }

  #servicios .spec-grid > .spec-span-5 .spec-teaser,
  #servicios .spec-grid > .spec-span-7 .spec-teaser {
    min-height: 4.8em;
  }
}

.spec-num {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--celeste);
  display: flex;
  gap: 8px;
  align-items: baseline;
}

.spec-body h3 {
  font-size: clamp(1.4rem, 2.1vw, 1.9rem);
  margin: 10px 0 9px;
  max-width: 24ch;
}

.spec-teaser {
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--ink-2);
  max-width: 46ch;
}

.spec-details {
  margin-top: 14px;
  border-top: 1px solid var(--line);
}

.spec-details summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 13px 0;
  list-style: none;
  cursor: pointer;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink);
  transition: color 0.2s var(--ease);
}

.spec-details summary::-webkit-details-marker {
  display: none;
}

.spec-details summary:hover {
  color: var(--celeste);
}

.spec-plus {
  position: relative;
  width: 13px;
  height: 13px;
  flex: none;
}

.spec-plus::before,
.spec-plus::after {
  content: "";
  position: absolute;
  inset: 6px 0 auto;
  height: 1px;
  background: currentColor;
  transition: transform 0.25s var(--ease);
}

.spec-plus::after {
  transform: rotate(90deg);
}

.spec-details[open] .spec-plus::after {
  transform: rotate(0deg);
}

.spec-details-body {
  padding: 4px 0 6px;
}

.spec-details-body ul {
  display: grid;
  gap: 8px;
  margin-bottom: 18px;
}

.spec-details-body li {
  position: relative;
  padding-left: 18px;
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--ink-2);
}

.spec-details-body li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 5px;
  height: 5px;
  background: var(--celeste);
  opacity: 0.75;
}

.spec-extra {
  grid-column: span 8;
  background: var(--paper-2);
  padding: clamp(26px, 3.2vw, 44px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 26px;
  align-self: stretch;
  min-height: 100%;
}

.spec-extra h3 {
  font-size: clamp(1.6rem, 2.6vw, 2.3rem);
  margin: 12px 0 14px;
  max-width: 20ch;
}

.spec-extra p {
  color: var(--ink-2);
  font-size: 15.5px;
  line-height: 1.62;
  max-width: 52ch;
}

.chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip-list li {
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-2);
  border: 1px solid var(--line-2);
  padding: 8px 10px;
  border-radius: 999px;
}

/* ---------- Geology ---------- */

.geology {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: clamp(28px, 3.6vw, 48px);
  align-items: center;
  margin-top: clamp(64px, 8vw, 110px);
  padding-top: clamp(40px, 5vw, 64px);
  border-top: 1px solid var(--line);
}

.geology-copy {
  grid-column: span 4;
}

.geology-copy h3 {
  font-size: clamp(1.7rem, 2.6vw, 2.35rem);
  margin: 14px 0 16px;
  max-width: 16ch;
}

.geology-copy > p {
  font-size: 15.5px;
  line-height: 1.62;
  color: var(--ink-2);
}

.geology-copy .dot-list {
  margin: 20px 0 22px;
  border-top: 1px solid var(--line);
}

.dot-list li {
  font-size: 14.5px;
  color: var(--ink-2);
  padding: 9px 0 9px 18px;
  border-bottom: 1px solid var(--line);
  position: relative;
}

.dot-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.05em;
  width: 5px;
  height: 5px;
  background: var(--verde);
}

.geology-media {
  grid-column: span 8;
  min-width: 0;
}

.geology-media img {
  display: block;
  width: 100%;
  height: auto;
}

.geology-media figcaption {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  margin-top: 14px;
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-3);
}

/* ---------- QA / QC ---------- */

.qa {
  background: var(--petrol);
  color: var(--paper);
  --focus: var(--sky);
  overflow: hidden;
}

.qa-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: clamp(40px, 5vw, 72px);
  align-items: start;
}

.qa-media {
  grid-column: span 7;
  position: relative;
  min-width: 0;
}

.qa-main img {
  display: block;
  width: 100%;
  height: auto;
}

.qa-main figcaption {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: rgba(246, 243, 236, 0.6);
  padding-top: 10px;
  border-top: 1px solid var(--line-dark);
  margin-top: 12px;
}

.qa-copy {
  grid-column: span 5;
  min-width: 0;
}

.qa-copy h2 {
  font-size: clamp(2rem, 3.7vw, 3.3rem);
  margin: 22px 0 20px;
  max-width: 15ch;
}

.qa-lead {
  color: rgba(246, 243, 236, 0.78);
  font-size: clamp(1rem, 1.25vw, 1.13rem);
  line-height: 1.62;
  max-width: 42ch;
}

.qa-list {
  margin: 30px 0 32px;
  border-top: 1px solid var(--line-dark);
}

.qa-list li {
  display: flex;
  align-items: baseline;
  gap: 18px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line-dark);
  font-size: 15.5px;
  color: rgba(246, 243, 236, 0.9);
}

.qa-list li span {
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.1em;
  color: var(--sky);
  flex: none;
}

.qa .btn-light {
  background: var(--paper);
  color: var(--ink);
}

/* ---------- Registro / galería ---------- */

.registro {
  background: var(--paper-2);
  overflow: hidden;
}

.registro-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: clamp(28px, 3.5vw, 44px);
}

.registro-head > div:first-child {
  max-width: 60ch;
}

.registro-head h2 {
  font-size: clamp(1.9rem, 3.4vw, 2.9rem);
  margin: 18px 0 18px;
  max-width: 18ch;
}

.gal-controls {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: none;
  padding-bottom: 6px;
}

.gal-controls[hidden] {
  display: none;
}

.gal-count {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  color: var(--ink-2);
  margin-right: 8px;
  font-variant-numeric: tabular-nums;
}

.gal-btn {
  width: 46px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid var(--line-2);
  border-radius: 50%;
  color: var(--ink);
  font-size: 15px;
  transition: background-color 0.25s var(--ease), color 0.25s var(--ease),
    border-color 0.25s var(--ease), opacity 0.25s var(--ease);
}

.gal-btn:hover:not(:disabled) {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
}

.gal-btn:disabled {
  opacity: 0.32;
  cursor: default;
}

.gal-track {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: clamp(14px, 1.6vw, 22px);
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x proximity;
  scrollbar-width: thin;
  scrollbar-color: var(--line-2) transparent;
  padding-block: 6px 22px;
}

.gal-track:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 6px;
}

.gal-card {
  flex: 0 0 auto;
  scroll-snap-align: start;
}

.gal-card figure {
  width: clamp(230px, 21vw, 300px);
}

.gal-card--landscape figure {
  width: clamp(380px, 42vw, 560px);
}

.gal-card img {
  display: block;
  width: 100%;
  height: clamp(300px, 28vw, 410px);
  object-fit: contain;
  object-position: center;
  background: var(--paper-3);
}

.gal-card figcaption {
  padding-top: 12px;
  display: grid;
  gap: 3px;
}

.gal-title {
  font-family: var(--serif);
  font-size: 1.08rem;
  line-height: 1.25;
}

.gal-meta {
  font-family: var(--mono);
  font-size: 9px;
  line-height: 1.5;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.registro-note {
  margin-top: clamp(28px, 3.5vw, 44px);
  padding-top: 20px;
  border-top: 1px solid var(--line-2);
}

.registro-note p {
  font-size: 12.5px;
  line-height: 1.65;
  color: var(--ink-3);
  max-width: 82ch;
}

/* ---------- Recorrido ---------- */

.recorrido {
  background: var(--paper);
}

.recorrido-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 32px;
}

.recorrido-head {
  grid-column: span 5;
  align-self: start;
}

@media (min-width: 981px) {
  .recorrido-head {
    position: sticky;
    top: calc(var(--header-h) + 32px);
  }
}

.recorrido-head h2 {
  font-size: clamp(2rem, 3.4vw, 3rem);
  margin: 20px 0 20px;
  max-width: 15ch;
}

.recorrido-head .lead {
  max-width: 36ch;
}

.note-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 26px;
  padding: 10px 14px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-2);
  max-width: 100%;
}

.note-pill span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--verde);
  flex: none;
}

.steps {
  grid-column: span 7;
  border-top: 1px solid var(--line);
}

.steps li {
  display: grid;
  grid-template-columns: 68px 1fr;
  gap: 20px;
  padding: clamp(20px, 2.4vw, 30px) 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
}

.step-num {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 2.2vw, 2rem);
  line-height: 1;
  color: var(--celeste);
}

.steps h3 {
  font-size: clamp(1.3rem, 1.8vw, 1.55rem);
  margin-bottom: 7px;
}

.steps p {
  font-size: 15px;
  line-height: 1.62;
  color: var(--ink-2);
  max-width: 48ch;
}

.recorrido-foot {
  margin-top: clamp(28px, 3vw, 40px);
}

/* ---------- Contacto ---------- */

.contact {
  background: var(--deep);
  color: var(--paper);
  --focus: var(--sky);
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: clamp(40px, 5vw, 68px);
}

.contact-copy {
  grid-column: span 5;
  min-width: 0;
}

.contact-copy h2 {
  font-size: clamp(2rem, 3.6vw, 3.2rem);
  margin: 22px 0 20px;
  max-width: 16ch;
}

.contact-lead {
  font-size: clamp(1rem, 1.25vw, 1.13rem);
  line-height: 1.62;
  color: rgba(246, 243, 236, 0.78);
  max-width: 40ch;
}

.contact-wa {
  margin-top: 26px;
  display: grid;
  gap: 10px;
  justify-items: start;
}

.contact-wa-note {
  font-size: 11.5px;
  line-height: 1.55;
  color: rgba(246, 243, 236, 0.6);
  max-width: 48ch;
}

.btn-wa {
  background: var(--verde);
  border-color: var(--verde);
  color: var(--paper);
}

.btn-wa:hover {
  background: #35573e;
  border-color: #35573e;
  color: var(--paper);
}

.contact-data {
  margin: clamp(30px, 3.6vw, 44px) 0 0;
  border-top: 1px solid var(--line-dark);
}

.contact-data > div {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 16px;
  align-items: baseline;
  padding: 15px 0;
  border-bottom: 1px solid var(--line-dark);
}

.contact-label {
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sky);
}

.contact-data a {
  font-family: var(--serif);
  font-size: clamp(1.1rem, 1.5vw, 1.35rem);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s var(--ease);
  justify-self: start;
}

.contact-data a:hover {
  border-bottom-color: currentColor;
}

.contact-address {
  font-family: var(--serif);
  font-size: clamp(1.05rem, 1.4vw, 1.25rem);
  line-height: 1.4;
}

.contact-note {
  margin-top: 22px;
  font-size: 11.5px;
  line-height: 1.6;
  color: rgba(246, 243, 236, 0.52);
  max-width: 46ch;
}

.form-card {
  grid-column: span 7;
  background: var(--paper);
  color: var(--ink);
  padding: clamp(24px, 3.4vw, 44px);
  box-shadow: 0 40px 80px -50px rgba(0, 0, 0, 0.75);
  min-width: 0;
}

.form-card h3 {
  font-size: clamp(1.5rem, 2.2vw, 1.9rem);
  margin-bottom: 8px;
}

.form-intro {
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink-2);
  margin-bottom: 24px;
  max-width: 48ch;
}

.noscript {
  font-size: 13.5px;
  line-height: 1.6;
  border-left: 2px solid var(--error);
  padding: 10px 0 10px 14px;
  margin-bottom: 20px;
  color: var(--ink-2);
}

.noscript a {
  color: var(--celeste);
  border-bottom: 1px solid currentColor;
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 22px;
}

.field {
  margin-bottom: 16px;
}

.field label {
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-2);
  margin-bottom: 4px;
}

.req,
.opt {
  font-size: 8.5px;
  letter-spacing: 0.08em;
  color: var(--ink-3);
  text-transform: uppercase;
}

.req::before {
  content: "· ";
}

.opt::before {
  content: "· ";
}

.field input,
.field select,
.field textarea,
.preview textarea {
  width: 100%;
  background: transparent;
  border: 1px solid transparent;
  border-bottom-color: var(--line-2);
  border-radius: 0;
  padding: 9px 0;
  font-size: 16px;
  line-height: 1.5;
  color: var(--ink);
  transition: border-color 0.2s var(--ease), background-color 0.2s var(--ease);
}

.field select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 30px;
  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='%2343565e' stroke-width='1.4'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 4px center;
}

.field textarea {
  border: 1px solid var(--line-2);
  padding: 12px;
  min-height: 118px;
  resize: vertical;
}

.field input:hover,
.field select:hover,
.field textarea:hover {
  border-bottom-color: var(--ink-3);
}

.field input:focus,
.field select:focus,
.field textarea:focus,
.preview textarea:focus {
  outline: 2px solid var(--focus);
  outline-offset: 2px;
  border-color: var(--celeste);
}

.field input[aria-invalid="true"],
.field select[aria-invalid="true"],
.field textarea[aria-invalid="true"] {
  border-color: var(--error);
  background-color: rgba(162, 58, 43, 0.04);
}

.field-help {
  font-size: 11.5px;
  line-height: 1.5;
  color: var(--ink-3);
  margin-top: 6px;
}

.field-error {
  font-size: 12px;
  line-height: 1.45;
  color: var(--error);
  margin-top: 5px;
}

.field-error:empty {
  display: none;
}

.form-submit {
  margin-top: 8px;
  width: 100%;
}

.form-status {
  font-size: 13px;
  line-height: 1.5;
  color: var(--ink-2);
  margin-top: 12px;
}

.form-status:empty {
  display: none;
}

.form-privacy {
  font-size: 11px;
  line-height: 1.55;
  color: var(--ink-3);
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.preview {
  margin-top: 26px;
  padding-top: 24px;
  border-top: 1px solid var(--line-2);
}

.preview[hidden] {
  display: none;
}

.preview-flag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--verde);
  border: 1px solid var(--verde-soft);
  padding: 5px 9px;
  border-radius: 999px;
  margin-bottom: 14px;
}

.preview-flag::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--verde);
}

.preview h4 {
  font-size: clamp(1.35rem, 1.9vw, 1.6rem);
  margin-bottom: 8px;
}

.preview h4:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 6px;
}

.preview .preview-intro {
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink-2);
  margin-bottom: 16px;
  max-width: 52ch;
}

.preview label {
  display: block;
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-2);
  margin-bottom: 6px;
}

.preview textarea {
  border: 1px solid var(--line-2);
  padding: 12px;
  min-height: 240px;
  resize: vertical;
  font-family: var(--sans);
  font-size: 14.5px;
  line-height: 1.55;
  background: var(--white);
}

.preview-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 16px;
}

.preview-note {
  font-size: 11.5px;
  line-height: 1.55;
  color: var(--ink-3);
  margin-top: 14px;
}

/* ---------- Footer ---------- */

.site-footer {
  background: #07171d;
  color: var(--paper);
  padding-block: clamp(48px, 6vw, 78px) 34px;
  --focus: var(--sky);
}

.footer-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  padding-bottom: clamp(32px, 4vw, 50px);
  border-bottom: 1px solid var(--line-dark);
}

.brand-footer .brand-name {
  font-size: 2.3rem;
}

.brand-footer .brand-name::after {
  background: var(--celeste-soft);
}

.footer-line {
  font-size: 14px;
  line-height: 1.7;
  color: rgba(246, 243, 236, 0.66);
  flex: 1 1 260px;
}

.footer-top-link {
  color: var(--paper);
  border-bottom-color: rgba(246, 243, 236, 0.4);
}

.footer-top-link:hover {
  color: var(--paper);
  border-bottom-color: var(--paper);
}

.footer-main {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 32px;
  padding-top: 30px;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  align-content: flex-start;
}

.footer-nav a {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(246, 243, 236, 0.74);
  border-bottom: 1px solid transparent;
  padding-block: 6px 3px;
}

.footer-nav a:hover {
  color: var(--paper);
  border-bottom-color: currentColor;
}

.footer-notes {
  display: grid;
  gap: 8px;
}

.footer-notes p {
  font-size: 11.5px;
  line-height: 1.65;
  color: rgba(246, 243, 236, 0.56);
  max-width: 78ch;
}

/* ---------- Reveal ---------- */

.js [data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.js [data-reveal].is-in {
  opacity: 1;
  transform: none;
}

.js .spec-grid > [data-reveal]:nth-child(2),
.js .pillars > [data-reveal]:nth-child(2),
.js .steps > [data-reveal]:nth-child(2) {
  transition-delay: 0.08s;
}

.js .spec-grid > [data-reveal]:nth-child(3),
.js .pillars > [data-reveal]:nth-child(3),
.js .steps > [data-reveal]:nth-child(3) {
  transition-delay: 0.16s;
}

.js .spec-grid > [data-reveal]:nth-child(4),
.js .steps > [data-reveal]:nth-child(4) {
  transition-delay: 0.24s;
}

/* ---------- Tablet ---------- */

@media (max-width: 1100px) {
  :root {
    --header-h: 78px;
  }

  .demo-flag {
    display: none;
  }

  .header-inner {
    gap: 18px;
  }

  .nav-list {
    gap: 18px;
  }

  .nav-list a {
    font-size: 13.5px;
  }

  .intro-grid .section-label,
  .section-head > .section-label {
    grid-column: span 4;
  }

  .intro-main,
  .section-head > div {
    grid-column: span 8;
  }

  .intro h2 {
    max-width: 22ch;
  }

  .spec-grid {
    gap: 52px 24px;
  }

  .spec-span-5 {
    grid-column: span 6;
  }

  .spec-span-7 {
    grid-column: span 6;
  }

  .spec-span-4 {
    grid-column: span 5;
  }

  .spec-extra {
    grid-column: span 7;
  }

  .geology {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .geology-copy {
    grid-column: 1;
    max-width: 60ch;
  }

  .geology-media {
    grid-column: 1;
  }

  .qa-media {
    grid-column: span 6;
  }

  .qa-copy {
    grid-column: span 6;
  }

  .contact-copy {
    grid-column: span 6;
  }

  .form-card {
    grid-column: span 6;
  }

  .field-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .recorrido-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .recorrido-head,
  .steps {
    grid-column: 1;
  }
}

/* ---------- Menú móvil ---------- */

@media (max-width: 900px) {
  .header-inner {
    justify-content: space-between;
  }

  .js .menu-toggle {
    display: inline-flex;
  }

  .js .site-nav {
    position: fixed;
    inset: 0;
    z-index: 55;
    margin: 0;
    padding: calc(var(--header-h) + 28px) var(--pad) 34px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 30px;
    background: var(--petrol);
    color: var(--paper);
    visibility: hidden;
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 0.3s var(--ease), transform 0.3s var(--ease),
      visibility 0.3s;
    overflow-y: auto;
    overscroll-behavior: contain;
  }

  .nav-open .site-nav {
    visibility: visible;
    opacity: 1;
    transform: none;
  }

  .nav-open body {
    overflow: hidden;
  }

  .js .nav-list {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    border-top: 1px solid var(--line-dark);
  }

  .js .nav-list a {
    display: flex;
    align-items: baseline;
    gap: 14px;
    padding: 20px 0;
    border-bottom: 1px solid var(--line-dark);
    font-family: var(--serif);
    font-size: clamp(1.6rem, 7vw, 2.1rem);
    line-height: 1.1;
    letter-spacing: -0.02em;
  }

  .js .nav-list a span {
    font-family: var(--mono);
    font-size: 10px;
    color: var(--sky);
    opacity: 0.8;
  }

  .js .nav-list a:hover,
  .js .nav-list a[aria-current] {
    border-bottom-color: var(--line-dark);
    color: var(--sky);
  }

  .js .nav-aside {
    display: grid;
    gap: 4px;
    margin-top: auto;
    padding-top: 22px;
    border-top: 1px solid var(--line-dark);
  }

  .js .nav-aside-label {
    font-family: var(--mono);
    font-size: 9px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--sky);
    margin-bottom: 8px;
  }

  .js .nav-aside a {
    font-family: var(--serif);
    font-size: 1.15rem;
    line-height: 1.5;
  }

  .js .nav-aside a:hover {
    color: var(--sky);
  }

  .js .nav-aside-note {
    font-size: 11px;
    line-height: 1.55;
    color: rgba(246, 243, 236, 0.62);
    margin-top: 14px;
    max-width: 44ch;
  }

  .js .nav-cta {
    width: 100%;
    border-color: var(--paper);
    color: var(--paper);
  }

  .js .nav-cta:hover {
    background: var(--paper);
    color: var(--ink);
    border-color: var(--paper);
  }

  .nav-open .site-header {
    background: var(--petrol);
    color: var(--paper);
    border-bottom-color: var(--line-dark);
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }

  .nav-open .site-header::after {
    opacity: 0;
  }

  .nav-open .site-header .brand-name::after {
    background: var(--celeste-soft);
  }

  /* Sin JavaScript: la navegación sigue disponible, visible y en flujo */
  html:not(.js) .header-inner {
    flex-wrap: wrap;
    padding-block: 12px;
  }

  html:not(.js) .site-nav {
    width: 100%;
    margin: 0;
    display: block;
  }

  html:not(.js) .nav-list {
    flex-wrap: wrap;
    gap: 0 18px;
  }

  html:not(.js) .nav-list a {
    font-size: 13.5px;
    padding: 10px 0;
  }

  html:not(.js) .nav-list a span {
    display: none;
  }

  html:not(.js) .nav-aside,
  html:not(.js) .nav-cta {
    display: none;
  }
}

/* ---------- Móvil ---------- */

@media (max-width: 767px) {
  :root {
    --header-h: 68px;
    --pad: 20px;
  }

  body {
    font-size: 16px;
  }

  .brand-name {
    font-size: 1.5rem;
  }

  .brand-sub {
    font-size: 8px;
  }

  .hero {
    min-height: clamp(560px, 96vh, 760px);
    min-height: clamp(560px, 96svh, 760px);
    padding-top: calc(var(--header-h) + 20px);
  }

  .hero-media img {
    object-position: 58% 42%;
  }

  .hero-veil {
    background: linear-gradient(
      180deg,
      rgba(8, 24, 31, 0.7) 0%,
      rgba(8, 24, 31, 0.2) 24%,
      rgba(8, 24, 31, 0.68) 62%,
      rgba(8, 24, 31, 0.95) 100%
    );
  }

  .hero-content {
    padding-block: 40px 30px;
  }

  .hero h1 {
    margin: 20px 0 18px;
    font-size: clamp(2rem, 10vw, 3.1rem);
    max-width: 100%;
  }

  .hero-lead {
    font-size: 1rem;
    max-width: 38ch;
  }

  .hero-actions {
    display: grid;
    justify-items: start;
    gap: 18px;
    margin-top: 28px;
  }

  .hero .btn {
    width: 100%;
  }

  .hero-foot {
    padding-block: 14px 18px;
    align-items: center;
  }

  .hero-credit {
    font-size: 8.5px;
    max-width: 30ch;
  }

  .scroll-cue {
    display: none;
  }

  .section {
    padding-block: clamp(56px, 9vw, 80px);
  }

  .intro-grid,
  .section-head {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .intro-grid .section-label,
  .section-head > .section-label,
  .intro-main,
  .section-head > div {
    grid-column: 1;
  }

  .intro-grid .section-label,
  .section-head > .section-label {
    padding-top: 0;
  }

  .intro h2,
  .section-head h2 {
    font-size: clamp(1.85rem, 8.4vw, 2.5rem);
    max-width: 100%;
  }

  .lead {
    font-size: 1rem;
  }

  .intro-main .lead {
    margin-top: 20px;
  }

  .pillars {
    grid-template-columns: 1fr;
    margin-top: 40px;
    border-top: 0;
  }

  .pillar {
    padding: 20px 0;
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .pillar:first-child {
    padding-left: 0;
  }

  .pillar-num {
    margin-bottom: 12px;
  }

  .pillar p {
    max-width: 42ch;
  }

  .facts dl {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .facts div {
    grid-template-columns: 90px 1fr;
    align-items: baseline;
    gap: 14px;
  }

  .spec-grid {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .spec-span-5,
  .spec-span-7,
  .spec-span-4,
  .spec-extra {
    grid-column: 1;
  }

  .spec-body h3 {
    font-size: 1.45rem;
    margin-top: 8px;
  }

  .spec-teaser {
    font-size: 15px;
  }

  .spec-details summary {
    padding: 14px 0;
    font-size: 10px;
  }

  .spec-extra {
    padding: 24px;
    gap: 22px;
  }

  .geology {
    margin-top: 56px;
    padding-top: 34px;
    gap: 26px;
  }

  .geology-copy h3 {
    max-width: 100%;
  }

  .geology-media figcaption {
    font-size: 8.5px;
  }

  .qa-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .qa-media,
  .qa-copy {
    grid-column: 1;
  }

  .qa-copy h2,
  .contact-copy h2 {
    max-width: 100%;
    font-size: clamp(1.9rem, 8.2vw, 2.6rem);
  }

  .qa-list {
    margin: 24px 0 28px;
  }

  .qa .btn {
    width: 100%;
  }

  .registro-head {
    display: block;
  }

  .gal-controls {
    margin-top: 22px;
    padding-bottom: 0;
  }

  .gal-track {
    gap: 14px;
    padding-block: 6px 18px;
  }

  .gal-card figure {
    width: clamp(190px, 54vw, 210px);
  }

  .gal-card--landscape figure {
    width: min(86vw, 340px);
  }

  .gal-card img {
    height: 260px;
  }

  .gal-title {
    font-size: 1rem;
    min-height: 2.5em;
  }

  .recorrido-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .recorrido-head,
  .steps {
    grid-column: 1;
  }

  .steps li {
    grid-template-columns: 46px 1fr;
    gap: 14px;
    padding: 20px 0;
  }

  .step-num {
    font-size: 1.5rem;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .contact-copy,
  .form-card {
    grid-column: 1;
  }

  .contact-data > div {
    grid-template-columns: 80px 1fr;
  }

  .contact-wa {
    justify-items: stretch;
  }

  .contact-wa .btn {
    width: 100%;
  }

  .form-card {
    padding: 24px 20px;
  }

  .field-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .footer-main {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .footer-top {
    gap: 22px;
  }

  .footer-top-link {
    margin-left: 0;
  }
}

@media (max-width: 420px) {
  .hero-credit {
    max-width: 26ch;
  }

  .brand-sub {
    display: none;
  }

  .spec-num {
    font-size: 9.5px;
  }
}

/* ---------- Movimiento reducido ---------- */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }

  .js [data-reveal] {
    opacity: 1;
    transform: none;
  }

  .scroll-cue i::after {
    animation: none;
    transform: translateY(100%);
  }
}

/* ---------- Impresión ---------- */

@media print {
  body {
    background: #fff;
    color: #000;
    font-size: 11pt;
  }

  .site-header,
  .site-footer,
  .hero-actions,
  .menu-toggle,
  .gal-controls,
  .form-card,
  .scroll-cue {
    display: none !important;
  }

  .hero {
    min-height: 0;
    color: #000;
    padding: 0;
  }

  .hero-media,
  .hero-veil {
    display: none;
  }

  .hero h1 {
    color: #000;
    font-size: 32pt;
  }

  .section {
    padding-block: 16pt;
    break-inside: avoid;
  }

  .qa,
  .contact {
    background: #fff;
    color: #000;
  }

  .qa-lead,
  .contact-lead,
  .hero-lead,
  p,
  li {
    color: #111 !important;
  }

  .spec-grid {
    display: block;
  }

  .spec {
    margin-bottom: 14pt;
  }

  .js [data-reveal] {
    opacity: 1;
    transform: none;
  }
}


/* ---------- Refinamiento de marca · 11/11/2026 ---------- */
:root {
  --brand-blue: #129bb8;
  --brand-green: #19aa37;
  --brand-gold: #d8af43;
  --line: #cfdfd7;
  --line-2: #bbd0c5;
  --edge-opacity: 0;
  --edge-shift: 0px;
  --header-h: 100px;
}
[hidden] { display: none !important; }
body {
  background: linear-gradient(145deg, #eef8fb 0%, #f3f8f3 48%, #fbf8e9 100%);
  scrollbar-color: var(--celeste) var(--paper-2);
}
body::before, body::after {
  content: "";
  position: fixed;
  z-index: 45;
  top: 15vh;
  width: 1px;
  height: 70vh;
  pointer-events: none;
  opacity: var(--edge-opacity);
  transform: translateY(var(--edge-shift));
  transition: opacity .7s ease, transform 1.2s ease-out;
  background: linear-gradient(180deg, transparent, var(--brand-blue) 25%, var(--brand-green) 58%, var(--brand-gold) 82%, transparent);
  box-shadow: 0 0 14px 3px rgba(18,155,184,.24), 0 20vh 22px 3px rgba(25,170,55,.16), 0 40vh 18px 2px rgba(216,175,67,.16);
}
body::before { left: 2px; }
body::after { right: 2px; }
html.is-scrolling { --edge-opacity: .8; }
html.has-scrolled:not(.is-scrolling) { --edge-opacity: .24; }
html.nav-open { --edge-opacity: 0; }
.site-header.is-solid {
  background: rgba(246,251,248,.95);
  border-bottom-color: rgba(46,95,83,.16);
}
.brand {
  padding: 5px 10px;
  background: #fff;
  border-radius: 2px;
  box-shadow: 0 4px 18px rgba(5,32,40,.09);
}
.brand-logo {
  display: block;
  width: 176px;
  height: auto;
  max-width: none;
  object-fit: contain;
}
.brand-footer { padding: 8px 12px; }
.brand-footer .brand-logo { width: 196px; }
.section { padding-block: clamp(64px,7vw,96px); }
.hero-foot-actions { display: flex; align-items: center; gap: 28px; flex: none; }
.motion-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 8px 0;
  border: 0;
  background: transparent;
  color: #d5e5df;
  font-size: 11px;
  line-height: 1.3;
  white-space: nowrap;
}
.motion-toggle:hover { color: #fff; }
.motion-toggle:disabled { cursor: default; opacity: .8; }
@keyframes terrain-breath {
  from { transform: scale(1.055); }
  to { transform: scale(1.015); }
}
.services {
  background: linear-gradient(145deg, rgba(18,155,184,.035), rgba(25,170,55,.035) 56%, rgba(216,175,67,.06));
}
#servicios .services-head {
  grid-template-columns: minmax(0,1.05fr) minmax(0,1fr);
  gap: 30px 70px;
  align-items: end;
  margin-bottom: 42px;
}
#servicios .services-head > div { grid-column: auto; }
#servicios .services-head h2 { max-width: 21ch; font-size: clamp(2.15rem,3.4vw,3rem); }
#servicios .services-intro .lead { font-size: 17px; max-width: 45ch; }
.services-intro .link-arrow { margin-top: 20px; font-size: 11px; }
#servicios .spec-grid {
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 42px 30px;
  align-items: stretch;
}
#servicios .spec-grid > .spec { grid-column: auto; }
#servicios .spec-media {
  aspect-ratio: 16 / 10;
  padding: 7px;
  background: rgba(221,237,229,.64);
  border: 1px solid rgba(100,142,119,.12);
}
#servicios .spec-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transform: none;
  transition: transform 1.3s cubic-bezier(.16,1,.3,1);
}
#servicios .spec-body { padding-top: 17px; display: flex; flex-direction: column; flex: 1; }
#servicios .spec-body h3 {
  font-size: clamp(1.45rem,2.05vw,1.8rem);
  min-height: 2.4em;
  line-height: 1.13;
  margin-bottom: 12px;
}
#servicios .spec-teaser { min-height: 4.8em; font-size: 15px; line-height: 1.6; margin-top: 0; }
#servicios .spec-num { color: var(--verde); margin-bottom: 10px; }
#servicios .spec-details { margin-top: 18px; }
.service-visual-link {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: 8px;
  min-height: 44px;
  margin-top: 4px;
  color: var(--celeste);
  font-size: 12px;
  text-underline-offset: 4px;
}
.service-visual-link:hover { text-decoration: underline; }
.services-bridge {
  margin-top: 36px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px 50px;
  font-size: 15px;
}
.services-bridge a { color: var(--celeste); text-decoration: underline; text-underline-offset: 4px; }
.services-bridge .small-note { font-size: 12px; line-height: 1.6; }
#servicios .spec-extra {
  display: grid;
  grid-template-columns: 1.15fr 1fr auto;
  align-items: center;
  gap: 30px;
  margin-top: 36px;
  padding: 24px;
  min-height: 0;
  background: rgba(251,245,221,.72);
}
#servicios .spec-extra .spec-num { display: none; }
#servicios .spec-extra h3 { font-size: 1.35rem; margin: 0 0 8px; max-width: none; }
#servicios .spec-extra p { font-size: 12.5px; }
#servicios .spec-extra .chip-list { gap: 7px 14px; }
#servicios .spec-extra .chip-list li { border: 0; padding: 0; font-family: var(--sans); font-size: 12px; text-transform: none; letter-spacing: 0; }
#servicios .spec-extra > .link-arrow { font-size: 10px; }
.qa { background: linear-gradient(125deg, #0d3540, #123d37); }
.registro { background: linear-gradient(145deg, #f1f8f4, #fcf8e9); }
.registro-head { margin-bottom: 24px; }
.registro-head .lead { max-width: 58ch; font-size: 17px; }
.gallery-filters {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 26px;
  padding-bottom: 24px;
}
.gallery-filters button {
  min-height: 44px;
  padding: 7px 0;
  border: 0;
  border-bottom: 2px solid transparent;
  background: transparent;
  color: var(--ink-2);
  font-size: 14px;
}
.gallery-filters button[aria-pressed="true"] { color: var(--ink); border-bottom-color: var(--verde); }
.gallery-filters button:hover { color: var(--celeste); }
.gal-track { position: relative; }
.gal-card img { transition: transform 1.3s ease-out; }
.registro-note { margin-top: 28px; }
.registro-note p { max-width: 85ch; }
@media (prefers-reduced-motion: no-preference) {
  .js .hero-media img { animation: terrain-breath 32s cubic-bezier(.45,0,.55,1) infinite alternate; animation-play-state: paused; transform-origin: 62% 45%; }
  .js .hero.is-motion-visible .hero-media img { animation-play-state: running; will-change: transform; }
  .motion-paused .hero-media img, .page-hidden .hero-media img { animation-play-state: paused !important; will-change: auto; }
  @media (hover: hover) {
    html:not(.motion-paused) #servicios .spec:hover .spec-media img,
    html:not(.motion-paused) #servicios .spec:focus-within .spec-media img { transform: translateY(-2px) scale(1.012); }
  }
}
@media (max-width: 1100px) {
  :root { --header-h: 88px; }
  .brand-logo { width: 152px; }
  #servicios .spec-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  #servicios .services-head { gap: 28px 36px; }
  #servicios .spec-extra { grid-template-columns: 1fr 1fr; }
  #servicios .spec-extra > .link-arrow { grid-column: 1 / -1; }
}
@media (max-width: 900px) {
  :root { --header-h: 84px; }
  .brand-logo { width: 144px; }
  .brand { padding: 4px 8px; }
  #servicios .services-head { grid-template-columns: 1fr; gap: 18px; }
  #servicios .services-head h2 { max-width: 27ch; }
  .services-bridge { grid-template-columns: 1fr; gap: 12px; }
  .hero-foot-actions { gap: 18px; }
  .hero-credit { max-width: 42ch; }
}
@media (max-width: 650px) {
  #servicios .spec-grid { grid-template-columns: 1fr; gap: 32px; }
  #servicios .spec-media { aspect-ratio: 16 / 10; }
  #servicios .spec-body h3, #servicios .spec-teaser { min-height: 0; }
  #servicios .spec-body h3 { font-size: 1.65rem; }
  #servicios .spec-extra { grid-template-columns: 1fr; gap: 18px; padding: 22px; }
  #servicios .spec-extra > .link-arrow { grid-column: auto; }
  .hero-foot { flex-direction: column; align-items: stretch; gap: 14px; }
  .hero-credit { max-width: none; }
  .hero-foot-actions { justify-content: space-between; }
  .hero-foot .scroll-cue i { height: 24px; }
  .gallery-filters { gap: 8px 22px; }
  body::before, body::after { box-shadow: 0 0 12px 2px rgba(18,155,184,.16); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-media img { animation: none !important; transform: none !important; }
  #servicios .spec-media img, .gal-card img { transform: none !important; transition: none; }
  body::before, body::after { transition: none; transform: none; opacity: 0 !important; }
}
@media print {
  body::before, body::after, .motion-toggle, .gallery-filters { display: none !important; }
  .brand { box-shadow: none; }
  .hero-media img { animation: none !important; transform: none !important; }
}

.motion-paused body::before, .motion-paused body::after { transform: none; transition: none; }
.qa .service-visual-link { color: var(--sky); margin-top: 14px; }

.nav-open .site-header.is-solid { background: var(--petrol); color: var(--paper); border-bottom-color: var(--line-dark); }
#servicios .spec-details summary { font-size: 11px; min-height: 44px; }
#servicios .spec-extra > .link-arrow { font-size: 11px; }
.gal-meta { font-size: 11px; line-height: 1.6; letter-spacing: .03em; }
