/* ==========================================================================
   Unity en Dominicana — Design System
   Palette: deep navy + gold (elegant / premium)
   ========================================================================== */

:root {
  /* Deep navy scale */
  --navy-950: #050b1a;
  --navy-900: #081229;
  --navy-800: #0d1e3f;
  --navy-700: #12294f;
  --navy-600: #1c3d7a;
  --navy-500: #2a5398;

  /* Gold scale */
  --gold-600: #a8811f;
  --gold-500: #c8a02e;
  --gold-400: #d9b64a;
  --gold-300: #e9cf83;
  --gold-100: #f6ecd0;

  /* Neutrals */
  --paper: #fffdf8;
  --cream: #f7f3ea;
  --cream-200: #efe9dc;
  --ink: #111a2e;
  --ink-soft: #2a3350;
  --muted: #5c6579;
  --line: rgba(17, 26, 46, 0.12);
  --line-strong: rgba(17, 26, 46, 0.2);

  --grad-gold: linear-gradient(135deg, #e9cf83 0%, #c8a02e 55%, #a8811f 100%);
  --grad-navy: linear-gradient(160deg, #12294f 0%, #081229 60%, #050b1a 100%);

  --shadow-xs: 0 1px 2px rgba(8, 18, 41, 0.06);
  --shadow-sm: 0 6px 18px -8px rgba(8, 18, 41, 0.18);
  --shadow-md: 0 24px 60px -28px rgba(8, 18, 41, 0.42);
  --shadow-gold: 0 18px 40px -18px rgba(200, 160, 46, 0.55);

  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 26px;
  --radius-pill: 999px;

  --maxw: 1180px;
  --gap: clamp(1.25rem, 3vw, 2.25rem);
  --section-y: clamp(4.5rem, 9vw, 8rem);

  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --header-h: 78px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

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

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

body {
  margin: 0;
  font-family: var(--sans);
  font-size: clamp(1rem, 0.96rem + 0.2vw, 1.075rem);
  line-height: 1.7;
  color: var(--ink-soft);
  background-color: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

body.nav-open {
  overflow: hidden;
}

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

a {
  color: var(--navy-600);
  text-decoration: none;
  transition: color 0.25s var(--ease);
}

a:hover {
  color: var(--gold-600);
}

h1,
h2,
h3,
h4 {
  font-family: var(--serif);
  color: var(--ink);
  font-weight: 600;
  line-height: 1.15;
  margin: 0 0 0.6em;
  letter-spacing: -0.01em;
}

h1 {
  font-size: clamp(2.4rem, 1.6rem + 3.6vw, 4.5rem);
}
h2 {
  font-size: clamp(1.9rem, 1.3rem + 2.2vw, 3rem);
}
h3 {
  font-size: clamp(1.3rem, 1.1rem + 0.9vw, 1.7rem);
}

p {
  margin: 0 0 1.1em;
}

ul {
  margin: 0 0 1.1em;
  padding-left: 1.15rem;
}

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

::selection {
  background: var(--gold-300);
  color: var(--navy-900);
}

/* --------------------------------------------------------------------------
   Layout helpers
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: clamp(1.1rem, 4vw, 2rem);
}

.section {
  padding-block: var(--section-y);
  position: relative;
}

.section--tight {
  padding-block: clamp(3rem, 6vw, 5rem);
}

.section--cream {
  background: var(--cream);
}

.section--navy {
  background: var(--grad-navy);
  color: rgba(255, 255, 255, 0.82);
}

.section--navy h1,
.section--navy h2,
.section--navy h3 {
  color: #fff;
}

.grid {
  display: grid;
  gap: var(--gap);
}

.grid--2 {
  grid-template-columns: repeat(2, 1fr);
}
.grid--3 {
  grid-template-columns: repeat(3, 1fr);
}
.grid--4 {
  grid-template-columns: repeat(4, 1fr);
}

.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}

.stack > * + * {
  margin-top: 1rem;
}

.center {
  text-align: center;
}

.mx-auto {
  margin-inline: auto;
}

.lead {
  font-size: clamp(1.05rem, 1rem + 0.4vw, 1.3rem);
  color: var(--muted);
  max-width: 62ch;
}

.section--navy .lead {
  color: rgba(255, 255, 255, 0.7);
}

/* --------------------------------------------------------------------------
   Typographic accents
   -------------------------------------------------------------------------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--sans);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold-600);
  margin-bottom: 1rem;
}

.eyebrow::before {
  content: "";
  width: 34px;
  height: 1px;
  background: currentColor;
  opacity: 0.7;
}

.section--navy .eyebrow {
  color: var(--gold-300);
}

.rule {
  width: 64px;
  height: 3px;
  border-radius: 3px;
  background: var(--grad-gold);
  margin: 0 0 1.4rem;
}

.center .rule {
  margin-inline: auto;
}

.text-gold {
  color: var(--gold-600);
}

.section--navy .text-gold {
  color: var(--gold-300);
}

.gold-underline {
  background: var(--grad-gold);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.btn {
  --btn-bg: var(--grad-gold);
  --btn-fg: var(--navy-900);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.95rem 1.8rem;
  border: 0;
  border-radius: var(--radius-pill);
  font-family: var(--sans);
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: 0.02em;
  cursor: pointer;
  background: var(--btn-bg);
  color: var(--btn-fg);
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease),
    background 0.25s var(--ease), color 0.25s var(--ease);
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-gold);
  color: var(--navy-900);
}

.btn svg {
  width: 18px;
  height: 18px;
}

.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: #fff;
  border: 1.5px solid rgba(255, 255, 255, 0.45);
  box-shadow: none;
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  box-shadow: none;
}

.btn--outline {
  --btn-bg: transparent;
  --btn-fg: var(--navy-800);
  border: 1.5px solid var(--line-strong);
  box-shadow: none;
}

.btn--outline:hover {
  border-color: var(--gold-500);
  color: var(--gold-600);
  box-shadow: none;
}

.btn--sm {
  padding: 0.65rem 1.2rem;
  font-size: 0.82rem;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  align-items: center;
}

/* --------------------------------------------------------------------------
   Header / navigation
   -------------------------------------------------------------------------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: border-color 0.35s var(--ease), box-shadow 0.35s var(--ease),
    height 0.35s var(--ease);
}

/* The frosted backdrop lives on a pseudo-element so the header does not
   become the containing block for the position:fixed mobile navigation. */
.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(255, 253, 248, 0.72);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  transition: background 0.35s var(--ease);
}

.site-header.is-scrolled {
  height: 68px;
  border-bottom-color: var(--line);
  box-shadow: var(--shadow-sm);
}

.site-header.is-scrolled::before {
  background: rgba(255, 253, 248, 0.92);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  width: 100%;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  position: relative;
  z-index: 91;
}

.brand img {
  height: 46px;
  width: auto;
  transition: height 0.35s var(--ease);
}

.site-header.is-scrolled .brand img {
  height: 40px;
}

.brand__text {
  display: none;
}

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

.nav a {
  position: relative;
  padding: 0.5rem 0.9rem;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--navy-800);
  border-radius: var(--radius-pill);
}

.nav a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0.15rem;
  width: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--grad-gold);
  transform: translateX(-50%);
  transition: width 0.3s var(--ease);
}

.nav a:hover::after,
.nav a[aria-current="page"]::after {
  width: 22px;
}

.nav a:hover {
  color: var(--gold-600);
}

.nav a.is-cta {
  margin-left: 0.6rem;
  padding: 0.6rem 1.35rem;
  background: var(--grad-gold);
  color: var(--navy-900);
  box-shadow: var(--shadow-sm);
}

.nav a.is-cta::after {
  display: none;
}

.nav a.is-cta:hover {
  color: var(--navy-900);
  box-shadow: var(--shadow-gold);
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  position: relative;
  z-index: 91;
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: transparent;
  color: var(--navy-800);
  cursor: pointer;
}

.nav-toggle svg {
  width: 22px;
  height: 22px;
}

.nav-toggle .icon-close {
  display: none;
}

body.nav-open .nav-toggle .icon-close {
  display: block;
}
body.nav-open .nav-toggle .icon-menu {
  display: none;
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: min(92vh, 820px);
  display: flex;
  align-items: center;
  padding-top: var(--header-h);
  color: #fff;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.06);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
      110deg,
      rgba(5, 11, 26, 0.94) 0%,
      rgba(8, 18, 41, 0.82) 42%,
      rgba(8, 18, 41, 0.5) 100%
    ),
    radial-gradient(
      70% 90% at 85% 15%,
      rgba(200, 160, 46, 0.22),
      transparent 60%
    );
}

.hero__inner {
  max-width: 46rem;
  padding-block: clamp(3rem, 8vw, 6rem);
}

.hero h1 {
  color: #fff;
  margin-bottom: 1.1rem;
  text-shadow: 0 2px 30px rgba(0, 0, 0, 0.35);
}

.hero p.lead {
  color: rgba(255, 255, 255, 0.82);
  margin-bottom: 2rem;
}

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem 2.5rem;
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.hero__meta div strong {
  display: block;
  font-family: var(--serif);
  font-size: 1.6rem;
  color: var(--gold-300);
}

.hero__meta div span {
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
}

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 1.8rem;
  transform: translateX(-50%);
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.scroll-cue svg {
  width: 20px;
  height: 20px;
  animation: bob 2s var(--ease) infinite;
}

@keyframes bob {
  0%,
  100% {
    transform: translateY(0);
    opacity: 0.6;
  }
  50% {
    transform: translateY(6px);
    opacity: 1;
  }
}

/* --------------------------------------------------------------------------
   Page hero (inner pages)
   -------------------------------------------------------------------------- */
.page-hero {
  position: relative;
  padding-top: calc(var(--header-h) + clamp(3.5rem, 8vw, 6rem));
  padding-bottom: clamp(3rem, 7vw, 5.5rem);
  background: var(--grad-navy);
  color: #fff;
  overflow: hidden;
}

.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    60% 120% at 90% 0%,
    rgba(200, 160, 46, 0.2),
    transparent 60%
  );
  pointer-events: none;
}

.page-hero .container {
  position: relative;
  z-index: 1;
}

.page-hero h1 {
  color: #fff;
  margin-bottom: 0.5rem;
}

.page-hero p {
  color: rgba(255, 255, 255, 0.75);
  max-width: 60ch;
  margin: 0;
}

.breadcrumb {
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 1.2rem;
}

.breadcrumb a {
  color: var(--gold-300);
}

/* --------------------------------------------------------------------------
   Cards
   -------------------------------------------------------------------------- */
.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-xs);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease),
    border-color 0.35s var(--ease);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: rgba(200, 160, 46, 0.5);
}

.card__media {
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}

.card:hover .card__media img {
  transform: scale(1.06);
}

.card__body {
  padding: clamp(1.3rem, 2.5vw, 1.9rem);
  display: flex;
  flex-direction: column;
  flex: 1;
}

.card__body h3 {
  margin-bottom: 0.5rem;
}

.card__body p:last-child {
  margin-bottom: 0;
}

.card__icon {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: var(--navy-800);
  color: var(--gold-300);
  margin-bottom: 1.2rem;
}

.card__icon svg {
  width: 26px;
  height: 26px;
}

/* Feature card on navy */
.section--navy .card {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(6px);
}

.section--navy .card__icon {
  background: var(--grad-gold);
  color: var(--navy-900);
}

/* --------------------------------------------------------------------------
   Video / live stream
   -------------------------------------------------------------------------- */
.video-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
  background: #000;
}

.video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.live-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.9rem;
  border-radius: var(--radius-pill);
  background: rgba(220, 38, 38, 0.12);
  color: #dc2626;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.live-badge .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #dc2626;
  box-shadow: 0 0 0 0 rgba(220, 38, 38, 0.6);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  70% {
    box-shadow: 0 0 0 9px rgba(220, 38, 38, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(220, 38, 38, 0);
  }
}

/* --------------------------------------------------------------------------
   Gallery
   -------------------------------------------------------------------------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(0.75rem, 2vw, 1.25rem);
}

.gallery-item {
  position: relative;
  display: block;
  border: 0;
  padding: 0;
  cursor: pointer;
  border-radius: var(--radius-sm);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--navy-800);
  box-shadow: var(--shadow-xs);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease), opacity 0.4s var(--ease);
}

.gallery-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(8, 18, 41, 0.65), transparent 55%);
  opacity: 0;
  transition: opacity 0.35s var(--ease);
}

.gallery-item:hover img {
  transform: scale(1.07);
}

.gallery-item:hover::after {
  opacity: 1;
}

.gallery-item__zoom {
  position: absolute;
  right: 0.9rem;
  bottom: 0.9rem;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--grad-gold);
  color: var(--navy-900);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease);
  z-index: 1;
}

.gallery-item:hover .gallery-item__zoom {
  opacity: 1;
  transform: translateY(0);
}

.gallery-item__zoom svg {
  width: 18px;
  height: 18px;
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: clamp(1rem, 4vw, 3rem);
  background: rgba(5, 11, 26, 0.94);
  backdrop-filter: blur(6px);
}

.lightbox.is-open {
  display: flex;
  animation: fade 0.3s var(--ease);
}

@keyframes fade {
  from {
    opacity: 0;
  }
}

.lightbox img {
  max-width: min(1100px, 92vw);
  max-height: 82vh;
  border-radius: var(--radius);
  box-shadow: 0 40px 90px -30px rgba(0, 0, 0, 0.8);
}

.lightbox__close,
.lightbox__nav {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background 0.25s var(--ease), transform 0.25s var(--ease);
}

.lightbox__close:hover,
.lightbox__nav:hover {
  background: var(--gold-500);
  color: var(--navy-900);
  transform: scale(1.06);
}

.lightbox__close {
  top: clamp(1rem, 3vw, 2rem);
  right: clamp(1rem, 3vw, 2rem);
}

.lightbox__nav svg,
.lightbox__close svg {
  width: 22px;
  height: 22px;
}

.lightbox__nav--prev {
  left: clamp(0.5rem, 3vw, 2rem);
  top: 50%;
  transform: translateY(-50%);
}

.lightbox__nav--next {
  right: clamp(0.5rem, 3vw, 2rem);
  top: 50%;
  transform: translateY(-50%);
}

.lightbox__counter {
  position: absolute;
  bottom: clamp(1rem, 3vw, 2rem);
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.85rem;
  letter-spacing: 0.14em;
}

/* --------------------------------------------------------------------------
   Steps / list
   -------------------------------------------------------------------------- */
.steps {
  counter-reset: step;
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 1.2rem;
}

.steps li {
  position: relative;
  padding-left: 4rem;
  min-height: 2.6rem;
}

.steps li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  width: 2.6rem;
  height: 2.6rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--grad-gold);
  color: var(--navy-900);
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1.1rem;
}

.steps li strong {
  display: block;
  font-family: var(--serif);
  color: var(--ink);
  font-size: 1.15rem;
}

.section--navy .steps li strong {
  color: #fff;
}

.check-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.9rem;
}

.check-list li {
  position: relative;
  padding-left: 2.1rem;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.35rem;
  width: 1.25rem;
  height: 0.7rem;
  border-left: 2.5px solid var(--gold-500);
  border-bottom: 2.5px solid var(--gold-500);
  transform: rotate(-45deg);
}

/* Principle / quote blocks */
.principle {
  padding: 1.5rem 1.7rem;
  border-left: 3px solid var(--gold-500);
  background: var(--cream);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin-bottom: 1rem;
}

.principle p:last-child {
  margin-bottom: 0;
}

.pullquote {
  font-family: var(--serif);
  font-size: clamp(1.4rem, 1.1rem + 1.4vw, 2.1rem);
  line-height: 1.35;
  color: var(--ink);
  border: 0;
  margin: 0;
  padding: 0 0 0 1.5rem;
  border-left: 3px solid var(--gold-500);
}

.section--navy .pullquote {
  color: #fff;
}

/* --------------------------------------------------------------------------
   Forms
   -------------------------------------------------------------------------- */
.form-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.6rem, 4vw, 3rem);
  box-shadow: var(--shadow-md);
}

.field {
  margin-bottom: 1.25rem;
}

.field label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--ink);
  margin-bottom: 0.45rem;
}

.field .req {
  color: var(--gold-600);
}

.field input,
.field textarea,
.field select {
  width: 100%;
  padding: 0.85rem 1rem;
  font: inherit;
  color: var(--ink);
  background: var(--paper);
  border: 1.5px solid var(--line-strong);
  border-radius: var(--radius-sm);
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.field textarea {
  min-height: 150px;
  resize: vertical;
}

.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: none;
  border-color: var(--gold-500);
  box-shadow: 0 0 0 4px rgba(200, 160, 46, 0.16);
}

.field .hint {
  font-size: 0.82rem;
  color: var(--muted);
  margin-top: 0.35rem;
}

.field.is-invalid input,
.field.is-invalid textarea {
  border-color: #dc2626;
  box-shadow: 0 0 0 4px rgba(220, 38, 38, 0.12);
}

.field .error {
  display: none;
  font-size: 0.82rem;
  color: #dc2626;
  margin-top: 0.35rem;
}

.field.is-invalid .error {
  display: block;
}

.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-status {
  display: none;
  padding: 1rem 1.2rem;
  border-radius: var(--radius-sm);
  margin-bottom: 1.25rem;
  font-size: 0.92rem;
}

.form-status.is-visible {
  display: block;
}

.form-status.is-success {
  background: rgba(22, 163, 74, 0.1);
  border: 1px solid rgba(22, 163, 74, 0.35);
  color: #15803d;
}

.form-status.is-error {
  background: rgba(220, 38, 38, 0.08);
  border: 1px solid rgba(220, 38, 38, 0.3);
  color: #b91c1c;
}

.form-note {
  font-size: 0.85rem;
  color: var(--muted);
  margin-top: 1rem;
}

/* --------------------------------------------------------------------------
   Info list (contact)
   -------------------------------------------------------------------------- */
.info-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 1.4rem;
}

.info-list li {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.info-list .ico {
  flex: 0 0 auto;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: var(--navy-800);
  color: var(--gold-300);
}

.info-list .ico svg {
  width: 20px;
  height: 20px;
}

.info-list strong {
  display: block;
  font-family: var(--serif);
  font-size: 1.05rem;
  color: var(--ink);
}

.info-list a {
  color: var(--navy-600);
}

.map-embed {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}

.map-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* --------------------------------------------------------------------------
   CTA band
   -------------------------------------------------------------------------- */
.cta-band {
  position: relative;
  background: var(--grad-navy);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: clamp(2.5rem, 6vw, 4.5rem);
  overflow: hidden;
  text-align: center;
  box-shadow: var(--shadow-md);
}

.cta-band::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    70% 140% at 50% -10%,
    rgba(200, 160, 46, 0.28),
    transparent 60%
  );
  pointer-events: none;
}

.cta-band > * {
  position: relative;
  z-index: 1;
}

.cta-band h2 {
  color: #fff;
}

.cta-band p {
  color: rgba(255, 255, 255, 0.78);
  max-width: 52ch;
  margin-inline: auto;
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.site-footer {
  background: var(--navy-950);
  color: rgba(255, 255, 255, 0.62);
  padding-top: clamp(3.5rem, 7vw, 5.5rem);
  font-size: 0.94rem;
}

.site-footer h4 {
  color: #fff;
  font-size: 1.05rem;
  margin-bottom: 1.1rem;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.68);
}

.site-footer a:hover {
  color: var(--gold-300);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
}

.footer-brand img {
  height: 52px;
  width: auto;
  margin-bottom: 1.2rem;
  background: var(--paper);
  padding: 0.6rem 0.9rem;
  border-radius: 12px;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.6rem;
}

.social {
  display: flex;
  gap: 0.7rem;
  margin-top: 0.4rem;
}

.social a {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.8);
  transition: all 0.3s var(--ease);
}

.social a:hover {
  background: var(--grad-gold);
  color: var(--navy-900);
  border-color: transparent;
  transform: translateY(-3px);
}

.social svg {
  width: 20px;
  height: 20px;
}

.footer-bottom {
  margin-top: clamp(2.5rem, 5vw, 4rem);
  padding-block: 1.6rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
}

.footer-bottom nav {
  display: flex;
  gap: 1.4rem;
  flex-wrap: wrap;
}

/* --------------------------------------------------------------------------
   Reveal on scroll
   -------------------------------------------------------------------------- */
.js .reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  will-change: opacity, transform;
}

.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

.js .reveal[data-delay="1"] {
  transition-delay: 0.1s;
}
.js .reveal[data-delay="2"] {
  transition-delay: 0.2s;
}
.js .reveal[data-delay="3"] {
  transition-delay: 0.3s;
}

/* Skip link */
.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  z-index: 300;
  background: var(--navy-900);
  color: #fff;
  padding: 0.7rem 1.1rem;
  border-radius: var(--radius-sm);
  transition: top 0.25s var(--ease);
}

.skip-link:focus {
  top: 1rem;
  color: #fff;
}

/* --------------------------------------------------------------------------
   404
   -------------------------------------------------------------------------- */
.error-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  text-align: center;
  background: var(--grad-navy);
  color: #fff;
  padding: var(--header-h) 1.5rem 4rem;
}

.error-page .code {
  font-family: var(--serif);
  font-size: clamp(5rem, 18vw, 12rem);
  line-height: 0.9;
  margin: 0;
  background: var(--grad-gold);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.error-page h1 {
  color: #fff;
}

.error-page p {
  color: rgba(255, 255, 255, 0.72);
  max-width: 46ch;
  margin-inline: auto;
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 960px) {
  .grid--4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .grid--3 {
    grid-template-columns: repeat(2, 1fr);
  }
  .split {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .footer-brand {
    grid-column: 1 / -1;
  }
}

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

  .nav {
    position: fixed;
    inset: 0;
    z-index: 90;
    flex-direction: column;
    justify-content: flex-start;
    gap: 0.4rem;
    padding: calc(var(--header-h) + 2rem) clamp(1.5rem, 8vw, 3rem) 3rem;
    background: linear-gradient(180deg, #0a1428 0%, #050b1a 100%);
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.45s var(--ease), opacity 0.4s var(--ease),
      visibility 0.4s;
  }

  body.nav-open .site-header::before {
    background: rgba(5, 11, 26, 0.96);
  }

  body.nav-open .brand img {
    filter: brightness(0) invert(1);
  }

  body.nav-open .nav-toggle {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.35);
  }

  body.nav-open .nav {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav a {
    width: 100%;
    padding: 1rem 0.5rem;
    font-size: 1.15rem;
    font-family: var(--serif);
    color: #fff;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0;
  }

  .nav a::after {
    display: none;
  }

  .nav a.is-cta {
    margin: 1.2rem 0 0;
    text-align: center;
    font-family: var(--sans);
    border-bottom: 0;
    border-radius: var(--radius-pill);
  }

  .nav a:hover {
    color: var(--gold-300);
  }
}

@media (max-width: 640px) {
  .grid--3,
  .grid--2,
  .grid--4 {
    grid-template-columns: 1fr;
  }
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .hero__meta {
    gap: 1.2rem 1.8rem;
  }
  .brand img {
    height: 38px;
  }
  .scroll-cue {
    display: none;
  }
}

/* --------------------------------------------------------------------------
   Motion preferences / print
   -------------------------------------------------------------------------- */
@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;
  }
  .js .reveal {
    opacity: 1;
    transform: none;
  }
}
