:root {
  --ink: #1a2228;
  --ink-soft: #2a333a;
  --sand: #f2f4f3;
  --sand-dim: rgba(242, 244, 243, 0.88);
  /* Azul mar from logo in assets/hero.png — deep navy, not purple/cyan */
  --navy: #041547;
  --navy-deep: #011144;
  --navy-mid: #0a1c52;
  --wine: #7a2b36;
  --wine-deep: #5c1f28;
  --olive: #3a4530;
  --tile: #041547;
  --glow: rgba(255, 255, 255, 0.1);
  --font-brand: "Bricolage Grotesque", Georgia, serif;
  --font-body: "Figtree", Georgia, sans-serif;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-body);
  color: var(--ink);
  background:
    radial-gradient(100% 60% at 0% 0%, rgba(4, 21, 71, 0.07), transparent 52%),
    radial-gradient(80% 50% at 100% 0%, rgba(4, 21, 71, 0.05), transparent 48%),
    linear-gradient(180deg, #f5f6f5 0%, #e9ecea 55%, #dde3df 100%);
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
}

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

.skip {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--ink);
  color: var(--sand);
  padding: 0.75rem 1rem;
  z-index: 100;
}

.skip:focus {
  left: 0.75rem;
  top: 0.75rem;
}

/* —— Hero: full-bleed photo carries the brand —— */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: end;
  overflow: hidden;
  isolation: isolate;
}

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

.hero-media picture {
  display: block;
  width: 100%;
  height: 100%;
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Keep baked-in logo near center (desktop landscape) */
  object-position: center 38%;
  transform: scale(1.04);
  will-change: transform;
  animation: hero-drift 22s var(--ease-out) infinite alternate;
}

@media (max-width: 720px) {
  .hero-img {
    /* Portrait patio/barrel — brand on wall */
    object-position: center 42%;
  }
}

/* Soft bottom shade only — logo stays clear in mid/upper frame */
.hero-veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      180deg,
      rgba(18, 22, 28, 0) 0%,
      rgba(18, 22, 28, 0) 48%,
      rgba(18, 22, 28, 0.28) 68%,
      rgba(18, 22, 28, 0.72) 100%
    );
  pointer-events: none;
}

.hero-copy {
  position: relative;
  z-index: 1;
  width: min(36rem, calc(100% - 2.5rem));
  margin: 0 auto 0 0;
  padding: clamp(1.25rem, 3vw, 2rem) clamp(1.25rem, 5vw, 4rem) clamp(2.25rem, 7vh, 4rem);
  opacity: 0;
  transform: translateY(1rem);
  animation: rise-in 1.05s var(--ease-out) 0.12s forwards;
}

.headline {
  margin: 0 0 0.5rem;
  font-family: var(--font-brand);
  font-size: clamp(1.25rem, 3.2vw, 1.65rem);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: #f4f6f5;
  max-width: 34ch;
  text-shadow: 0 1px 18px rgba(0, 0, 0, 0.35);
}

.lede {
  margin: 0 0 1.35rem;
  font-size: clamp(0.98rem, 2.1vw, 1.1rem);
  line-height: 1.45;
  color: var(--sand-dim);
  max-width: 42ch;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.28);
}

.cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  align-items: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.85rem;
  padding: 0.7rem 1.35rem;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 2px;
  border: 1px solid transparent;
  transition: transform 0.35s var(--ease-out), background 0.35s var(--ease-out), border-color 0.35s var(--ease-out), color 0.35s var(--ease-out);
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:active {
  transform: translateY(0);
}

.btn-primary {
  background: var(--navy);
  color: #f4f6f8;
  border-color: color-mix(in srgb, var(--navy) 75%, #000);
  box-shadow: 0 10px 28px rgba(4, 21, 71, 0.35);
}

.btn-primary:hover {
  background: var(--navy-mid);
}

.btn-primary:active {
  background: var(--navy-deep);
}

.btn-secondary {
  background: rgba(247, 248, 247, 0.94);
  color: var(--navy);
  border-color: var(--navy);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.18);
}

.btn-secondary:hover {
  background: #fff;
  color: var(--navy-deep);
  border-color: var(--navy-deep);
}

.btn-ghost {
  background: transparent;
  color: var(--sand);
  border-color: rgba(232, 236, 240, 0.45);
}

.btn-ghost:hover {
  border-color: rgba(232, 236, 240, 0.8);
  background: var(--glow);
  color: #fff;
}

/* Light sections: secondary stays navy outline */
.section-place .btn-secondary {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
  box-shadow: none;
}

.section-place .btn-secondary:hover {
  background: rgba(4, 21, 71, 0.06);
  color: var(--navy-deep);
}

/* —— Concepto: full-bleed band — portrait media left, copy right —— */
.section.section-concepto {
  position: relative;
  padding: 0;
  width: 100%;
  max-width: none;
  margin: 0;
  color: var(--ink-soft);
  background:
    linear-gradient(180deg, #ffffff 0%, #f7f8f7 100%),
    repeating-linear-gradient(
      -12deg,
      transparent,
      transparent 11px,
      rgba(4, 21, 71, 0.03) 11px,
      rgba(4, 21, 71, 0.03) 12px
    );
  border-top: 1px solid rgba(26, 34, 40, 0.06);
}

.section-concepto::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  z-index: 1;
  background:
    repeating-linear-gradient(
      90deg,
      var(--navy) 0 10px,
      transparent 10px 14px,
      rgba(48, 90, 158, 0.55) 14px 24px,
      transparent 24px 28px
    );
  opacity: 0.55;
  pointer-events: none;
}

/* Higher specificity: beats later .section-inner { max-width: 36rem; margin: 0 auto } */
.section-inner.section-inner-concepto {
  max-width: none !important;
  width: 100%;
  margin: 0 !important;
  padding: 0;
  text-align: left;
}

.concepto-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  align-items: stretch;
  width: 100%;
  margin: 0;
}

/* Portrait column — Daniel vertical asset 1024×1536 */
.concepto-media {
  margin: 0;
  width: 100%;
  aspect-ratio: 2 / 3;
  overflow: hidden;
  background: #e8ece9;
}

.concepto-media picture,
.concepto-media img {
  display: block;
  width: 100%;
  height: 100%;
}

.concepto-media img {
  object-fit: cover;
  object-position: center;
}

.concepto-copy {
  padding: clamp(2.75rem, 6vw, 4.5rem) clamp(1.25rem, 5vw, 3.5rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-sizing: border-box;
  width: 100%;
}

.concepto-copy h2 {
  margin: 0 0 1.1rem;
  font-family: var(--font-brand);
  font-size: clamp(1.65rem, 3.6vw, 2.25rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--ink);
  max-width: 18ch;
}

.concepto-p {
  margin: 0 0 0.9rem;
  font-size: clamp(1rem, 1.7vw, 1.06rem);
  line-height: 1.55;
  color: rgba(26, 34, 40, 0.78);
  max-width: 48ch;
}

.concepto-close {
  margin: 1.15rem 0 1.5rem;
  font-family: var(--font-brand);
  font-size: clamp(1.08rem, 2.2vw, 1.25rem);
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -0.015em;
  color: var(--navy);
  max-width: 28ch;
}

.concepto-cta {
  margin: 0;
}

@media (min-width: 900px) {
  .concepto-grid {
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    min-height: min(78vh, 44rem);
  }

  .concepto-media {
    aspect-ratio: auto;
    height: 100%;
    min-height: 100%;
  }

  .concepto-copy {
    padding: clamp(3.5rem, 7vw, 5.5rem) clamp(2rem, 5vw, 4.5rem);
  }
}

/* —— White breath + ceramic azulejo between hero and concepto —— */
.band-white {
  height: clamp(1.75rem, 4vw, 2.75rem);
  background: #ffffff;
  width: 100%;
}

.ceramic-divider {
  margin: 0;
  padding: 0;
  width: 100%;
  max-width: none;
  line-height: 0;
  background: #ffffff;
  border: 0;
}

.ceramic-divider picture,
.ceramic-divider img {
  display: block;
  width: 100%;
  height: clamp(2.75rem, 7vw, 5.5rem);
  object-fit: cover;
  object-position: center;
}

/* —— Galería: swipe carousel (mobile) / mosaic grid (desktop) —— */
.galeria {
  margin: 0;
  padding: 0;
  width: 100%;
  max-width: none;
  background: #f7f8f7;
  border-top: 1px solid rgba(4, 21, 71, 0.08);
  border-bottom: 3px solid rgba(4, 21, 71, 0.12);
}

.galeria-track {
  display: flex;
  gap: 2px;
  width: 100%;
  margin: 0;
  padding: 0 0 0.35rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: rgba(4, 21, 71, 0.35) transparent;
  background: rgba(4, 21, 71, 0.12);
}

.galeria-tile {
  margin: 0;
  flex: 0 0 min(78vw, 18rem);
  aspect-ratio: 1;
  overflow: hidden;
  background: #e8ece9;
  scroll-snap-align: start;
}

.galeria-tile picture,
.galeria-tile img {
  display: block;
  width: 100%;
  height: 100%;
}

.galeria-tile img {
  object-fit: cover;
  object-position: center;
}

@media (min-width: 700px) {
  .galeria-track {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 2px;
    overflow: visible;
    padding: 0;
    scroll-snap-type: none;
  }

  .galeria-tile {
    flex: none;
    width: auto;
    min-width: 0;
  }
}

/* —— Place section: one job —— */
.section {
  padding: clamp(3.5rem, 8vw, 5.5rem) clamp(1.25rem, 5vw, 4rem);
}

.section-place {
  position: relative;
  color: var(--ink-soft);
  background:
    linear-gradient(180deg, #eef1ef 0%, #e4e9e6 100%),
    repeating-linear-gradient(
      -12deg,
      transparent,
      transparent 11px,
      rgba(4, 21, 71, 0.035) 11px,
      rgba(4, 21, 71, 0.035) 12px
    );
  border-top: 1px solid rgba(26, 34, 40, 0.08);
}

.section-inner {
  max-width: 36rem;
  margin: 0 auto;
  text-align: center;
  opacity: 0;
  transform: translateY(1rem);
}

.section-inner.is-in {
  animation: rise-in 0.9s var(--ease-out) forwards;
}

.section-place h2 {
  margin: 0 0 0.5rem;
  font-family: var(--font-brand);
  font-size: clamp(1.75rem, 4vw, 2.35rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.section-lede {
  margin: 0 0 1.5rem;
  color: rgba(26, 20, 16, 0.68);
  font-size: 1.05rem;
}

.address {
  margin: 0 0 1.75rem;
  font-size: 1.125rem;
  line-height: 1.55;
}

.address a {
  text-decoration: none;
  color: var(--ink);
  border-bottom: 1px solid rgba(4, 21, 71, 0.35);
  transition: border-color 0.3s var(--ease-out), color 0.3s var(--ease-out);
}

.address a:hover {
  border-bottom-color: var(--navy);
  color: var(--navy);
}

.section-cta {
  margin: 0;
}

.footer {
  padding: 1.5rem 1.25rem 2rem;
  text-align: center;
  color: rgba(26, 34, 40, 0.45);
  font-size: 0.9rem;
  border-top: 1px solid rgba(26, 34, 40, 0.06);
  background: #e4e9e6;
}

.footer-brand {
  font-family: var(--font-brand);
  font-weight: 700;
  color: rgba(26, 34, 40, 0.72);
}

@keyframes hero-drift {
  from {
    transform: scale(1.04) translate3d(0, 0, 0);
  }
  to {
    transform: scale(1.08) translate3d(-0.6%, -0.4%, 0);
  }
}

@keyframes rise-in {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

  .hero-img,
  .hero-copy,
  .section-inner.is-in {
    animation: none !important;
  }

  .hero-img {
    transform: none;
  }

  .hero-copy,
  .section-inner {
    opacity: 1;
    transform: none;
  }

  .btn:hover {
    transform: none;
  }
}

@media (max-width: 640px) {
  .hero-img {
    object-position: center 42%;
  }

  .hero-copy {
    width: calc(100% - 1.5rem);
  }
}

@media (min-width: 900px) {
  .hero-copy {
    margin-left: clamp(2rem, 8vw, 7rem);
    padding-bottom: clamp(2.75rem, 7vh, 4.5rem);
  }
}

/* —— Site nav (home + inversores): “luto” bar for readable links over hero —— */
.site-nav {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  padding: 0.85rem clamp(1rem, 4vw, 2.5rem);
  /* Ceramic azulejo blue from hero tiles (~#305a9e), not logo navy #041547 */
  background: rgba(48, 90, 158, 0.80);
  -webkit-backdrop-filter: blur(10px) saturate(1.08);
  backdrop-filter: blur(10px) saturate(1.08);
  border-bottom: 1px solid rgba(244, 246, 245, 0.08);
}

.page-legal .site-nav,
.page-inversores .site-nav {
  position: absolute;
}

/* Legal: light surface, not the hero luto */
.page-legal .site-nav {
  background: rgba(247, 248, 247, 0.94);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(4, 21, 71, 0.1);
}

.site-nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  max-width: 72rem;
  margin: 0 auto;
}

.site-nav-brand {
  font-family: var(--font-brand);
  font-weight: 700;
  font-size: 1.05rem;
  color: #f4f6f5;
  text-decoration: none;
  letter-spacing: -0.02em;
}

.page-legal .site-nav-brand {
  color: var(--navy);
}

.site-nav-toggle {
  display: none;
  width: 2.6rem;
  height: 2.6rem;
  padding: 0;
  border: 1px solid rgba(244, 246, 245, 0.35);
  background: rgba(4, 21, 71, 0.35);
  border-radius: 2px;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.site-nav-toggle span {
  display: block;
  width: 1.15rem;
  height: 2px;
  background: #f4f6f5;
}

.page-legal .site-nav-toggle {
  border-color: rgba(4, 21, 71, 0.25);
  background: rgba(4, 21, 71, 0.06);
}

.page-legal .site-nav-toggle span {
  background: var(--navy);
}

.site-nav-menu {
  display: flex;
  align-items: center;
  gap: 0.35rem 1.1rem;
}

.site-nav-menu a {
  color: rgba(244, 246, 245, 0.92);
  text-decoration: none;
  font-weight: 550;
  font-size: 0.95rem;
  padding: 0.35rem 0.15rem;
}

.page-legal .site-nav-menu a {
  color: var(--ink-soft);
}

.site-nav-menu a:hover {
  color: #fff;
}

.page-legal .site-nav-menu a:hover {
  color: var(--navy);
}

.site-nav-cta {
  display: inline-flex !important;
  align-items: center;
  min-height: 2.4rem;
  padding: 0.4rem 1rem !important;
  background: var(--navy);
  border: 1px solid color-mix(in srgb, var(--navy) 75%, #000);
  color: #f4f6f8 !important;
  border-radius: 2px;
  box-shadow: 0 8px 22px rgba(4, 21, 71, 0.28);
}

.site-nav-cta:hover,
.site-nav-cta.is-active {
  background: var(--navy-mid);
  color: #fff !important;
}

@media (max-width: 720px) {
  .site-nav-toggle {
    display: inline-flex;
  }

  .site-nav-menu {
    display: none;
    position: absolute;
    top: calc(100% + 0.35rem);
    right: clamp(1rem, 4vw, 2.5rem);
    left: clamp(1rem, 4vw, 2.5rem);
    flex-direction: column;
    align-items: stretch;
    gap: 0.15rem;
    padding: 0.75rem;
    background: rgba(4, 21, 71, 0.94);
    border: 1px solid rgba(244, 246, 245, 0.12);
    border-radius: 4px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
  }

  .page-legal .site-nav-menu {
    background: #f7f8f7;
    border-color: rgba(4, 21, 71, 0.12);
    box-shadow: 0 16px 40px rgba(4, 21, 71, 0.12);
  }

  .site-nav-menu.is-open {
    display: flex;
  }

  .site-nav-menu a {
    padding: 0.75rem 0.85rem;
  }

  .site-nav-cta {
    justify-content: center;
    margin-top: 0.25rem;
  }
}

/* —— Inversores page —— */
/* Interior hero: keep wall brand clear; shade only lower third for copy */
.hero-inv .hero-img {
  object-position: center 45%;
}

.hero-inv .hero-veil {
  background:
    linear-gradient(
      180deg,
      rgba(18, 22, 28, 0) 0%,
      rgba(18, 22, 28, 0) 50%,
      rgba(18, 22, 28, 0.34) 72%,
      rgba(18, 22, 28, 0.8) 100%
    );
}

.hero-inv .hero-copy {
  width: min(40rem, calc(100% - 2.5rem));
  padding-top: clamp(5rem, 12vh, 7rem);
}

.hero-brand-line {
  margin: 0 0 0.65rem;
  font-family: var(--font-brand);
  font-weight: 700;
  font-size: clamp(1.05rem, 2.4vw, 1.25rem);
  color: #f4f6f5;
  letter-spacing: -0.02em;
  text-shadow: 0 1px 14px rgba(0, 0, 0, 0.35);
}

.headline-inv {
  font-size: clamp(1.55rem, 4.2vw, 2.35rem);
  font-weight: 700;
  max-width: 22ch;
  margin-bottom: 0.75rem;
}

.section-project {
  background:
    linear-gradient(180deg, #eef1ef 0%, #e4e9e6 100%),
    repeating-linear-gradient(
      -12deg,
      transparent,
      transparent 11px,
      rgba(4, 21, 71, 0.035) 11px,
      rgba(4, 21, 71, 0.035) 12px
    );
  border-top: 1px solid rgba(26, 34, 40, 0.08);
}

.section-part {
  background:
    linear-gradient(165deg, var(--navy-deep) 0%, var(--navy) 55%, var(--navy-mid) 100%);
  color: rgba(244, 246, 245, 0.9);
}

.section-part h2 {
  margin: 0 0 0.75rem;
  font-family: var(--font-brand);
  font-size: clamp(1.55rem, 3.6vw, 2.1rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #f4f6f5;
}

.section-part .section-lede {
  color: rgba(244, 246, 245, 0.78);
  margin: 0;
}

.section-form {
  background:
    radial-gradient(90% 50% at 100% 0%, rgba(4, 21, 71, 0.06), transparent 50%),
    linear-gradient(180deg, #f5f6f5 0%, #e8ece9 100%);
}

.section-inner-wide {
  max-width: 52rem;
  text-align: left;
}

.section-inner-wide h2,
.section-project h2 {
  margin: 0 0 0.75rem;
  font-family: var(--font-brand);
  font-size: clamp(1.55rem, 3.6vw, 2.15rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.section-lede-left {
  text-align: left;
  max-width: 52ch;
}

.inv-blocks {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
  margin-top: 2rem;
}

.inv-block {
  padding: 0;
  border: 0;
  background: transparent;
}

.inv-block h3 {
  margin: 0 0 0.4rem;
  font-family: var(--font-brand);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.015em;
}

.inv-block p {
  margin: 0;
  color: rgba(26, 34, 40, 0.72);
  line-height: 1.5;
  font-size: 0.98rem;
}

.section-inner-form {
  max-width: 34rem;
  text-align: left;
}

.section-form h2 {
  margin: 0 0 0.5rem;
  font-family: var(--font-brand);
  font-size: clamp(1.55rem, 3.6vw, 2.1rem);
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.02em;
}

.inv-form {
  margin-top: 1.5rem;
  display: grid;
  gap: 1rem;
}

.inv-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.inv-field {
  display: grid;
  gap: 0.35rem;
}

.inv-field label {
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--ink-soft);
}

.inv-field input,
.inv-field textarea {
  width: 100%;
  min-height: 2.75rem;
  padding: 0.65rem 0.8rem;
  border: 1px solid rgba(4, 21, 71, 0.22);
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.85);
  font: inherit;
  color: var(--ink);
  transition: border-color 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out);
}

.inv-field textarea {
  min-height: 7rem;
  resize: vertical;
}

.inv-field input:focus,
.inv-field textarea:focus {
  outline: none;
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(4, 21, 71, 0.12);
}

.inv-consent {
  margin-top: 0.25rem;
}

.inv-check {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  font-weight: 500 !important;
  line-height: 1.4;
  cursor: pointer;
}

.inv-check input {
  width: 1.1rem;
  height: 1.1rem;
  margin-top: 0.15rem;
  flex-shrink: 0;
  accent-color: var(--navy);
}

.inv-check a {
  color: var(--navy);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.inv-actions {
  margin-top: 0.25rem;
}

.inv-actions .btn[disabled] {
  opacity: 0.65;
  cursor: wait;
  transform: none;
}

.inv-disclaimer {
  margin: 0.35rem 0 0;
  font-size: 0.88rem;
  line-height: 1.45;
  color: rgba(26, 34, 40, 0.55);
}

.inv-form-msg {
  min-height: 1.25rem;
  font-weight: 600;
  font-size: 0.98rem;
}

.inv-form-msg.is-ok {
  color: var(--olive);
}

.inv-form-msg.is-err {
  color: var(--wine);
}

.inv-hp {
  position: absolute;
  left: -9999px;
  top: -9999px;
  height: 0;
  width: 0;
  overflow: hidden;
}

.footer-links {
  margin: 0.5rem 0 0;
}

.footer-links a {
  color: var(--navy);
  text-decoration: none;
  border-bottom: 1px solid rgba(4, 21, 71, 0.25);
}

.legal-main {
  padding: clamp(6rem, 12vh, 8rem) clamp(1.25rem, 5vw, 4rem) clamp(3rem, 6vw, 4rem);
}

.legal-inner {
  max-width: 40rem;
  margin: 0 auto;
  text-align: left;
}

.legal-inner h1 {
  font-family: var(--font-brand);
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  margin: 0 0 0.5rem;
  color: var(--ink);
}

.legal-inner h2 {
  font-family: var(--font-brand);
  font-size: 1.2rem;
  margin: 1.75rem 0 0.5rem;
  color: var(--navy);
}

.legal-inner p,
.legal-inner li {
  line-height: 1.55;
  color: rgba(26, 34, 40, 0.78);
}

.legal-inner a {
  color: var(--navy);
}

.legal-back {
  margin-top: 2rem;
}

@media (max-width: 800px) {
  .inv-blocks {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .inv-form-row {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .site-nav-cta:hover {
    transform: none;
  }
}
