﻿/*
  ============================================================
  Premium Advisory Funnel Design System
  ============================================================
*/
:root {
  color-scheme: light;
  --font-display: "Fraunces", "Times New Roman", serif;
  --font-body: "Manrope", "Helvetica Neue", Arial, sans-serif;

  --color-bg: #eef3fa;
  --color-surface: #f7f9fc;
  --color-surface-strong: #e5ebf5;
  --color-ink: #111a2a;
  --color-ink-muted: #465267;

  --color-dark: #0b1b33;
  --color-dark-alt: #122847;
  --color-dark-ink: #e8eef8;
  --color-dark-muted: #d1ddf0;

  --color-accent: #5f7fa6;
  --color-accent-strong: #3f648f;
  --color-border: #ccd7e7;

  --radius-s: 10px;
  --radius-m: 16px;
  --radius-l: 24px;

  --space-1: 6px;
  --space-2: 12px;
  --space-3: 18px;
  --space-4: 24px;
  --space-5: 32px;
  --space-6: 44px;
  --space-7: 64px;
  --space-8: 88px;

  --shadow-soft: 0 12px 30px rgba(17, 26, 42, 0.08);
  --shadow-lift: 0 20px 40px rgba(17, 26, 42, 0.14);
  --shadow-dark: 0 18px 36px rgba(5, 11, 22, 0.4);
}

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

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.68;
  color: var(--color-ink);
  background: var(--color-bg);
  overflow-x: hidden;
}

body.is-transitioning {
  opacity: 0;
  transition: opacity 0.18s ease;
}

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

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

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

.container {
  width: min(1180px, 92vw);
  margin: 0 auto;
}

.page {
  padding-bottom: 0;
}

/*
  ============================================================
  Header + Navigation
  ============================================================
*/
.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(11, 27, 51, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(204, 215, 231, 0.2);
  transition: transform 0.25s ease, opacity 0.2s ease;
}

.nav {
  color: var(--color-dark-ink);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-3);
  padding: var(--space-3) 0;
}

.nav__logo {
  font-family: var(--font-display);
  font-size: 1.22rem;
  font-weight: 600;
  color: var(--color-dark-ink);
}

.nav__actions {
  display: flex;
  flex-direction: column;
  width: 100%;
  gap: var(--space-2);
}

.nav__toggle {
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
  width: 44px;
  height: 44px;
  margin-left: auto;
  border-radius: 12px;
  border: 1px solid rgba(173, 192, 219, 0.45);
  background: rgba(10, 27, 50, 0.5);
  color: var(--color-dark-ink);
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.nav__toggle:hover,
.nav__toggle:focus-visible {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(173, 192, 219, 0.7);
}

.nav__toggle-bar {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 99px;
  background: currentColor;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav.is-open .nav__toggle-bar:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.nav.is-open .nav__toggle-bar:nth-child(2) {
  opacity: 0;
}

.nav.is-open .nav__toggle-bar:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/*
  ============================================================
  Buttons
  ============================================================
*/
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 48px;
  padding: 12px 18px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  letter-spacing: 0.2px;
  text-align: center;
  line-height: 1.2;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease,
    color 0.2s ease, border-color 0.2s ease;
}

.btn--primary {
  background: linear-gradient(135deg, #6283ac, #46668c);
  color: #f8fbff;
  border-color: #3f5f86;
  box-shadow: 0 12px 24px rgba(43, 71, 104, 0.28);
}

.btn--primary:hover,
.btn--primary:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 16px 28px rgba(43, 71, 104, 0.34);
  background: linear-gradient(135deg, #56769e, #3f5f86);
}

.btn--ghost {
  background: transparent;
  color: currentColor;
  border-color: var(--color-border);
}

.btn--ghost:hover,
.btn--ghost:focus-visible {
  transform: translateY(-1px);
  border-color: var(--color-accent);
  color: var(--color-accent-strong);
}

.site-header .btn--ghost,
.section--dark .btn--ghost,
.section--deep .btn--ghost {
  color: var(--color-dark-ink);
  border-color: rgba(173, 192, 219, 0.48);
}

.site-header .btn--ghost:hover,
.site-header .btn--ghost:focus-visible,
.section--dark .btn--ghost:hover,
.section--dark .btn--ghost:focus-visible,
.section--deep .btn--ghost:hover,
.section--deep .btn--ghost:focus-visible {
  color: #f2f7ff;
  border-color: #a9c1e0;
  background: rgba(255, 255, 255, 0.08);
}

.btn--block {
  width: 100%;
}

/*
  ============================================================
  Section Scaffolding
  ============================================================
*/
.section {
  padding-block: clamp(3.6rem, 7vw, 6.1rem);
  position: relative;
}

.section--light {
  background: var(--color-surface);
  color: var(--color-ink);
  border-top: 1px solid rgba(17, 26, 42, 0.05);
}

.section--dark {
  background: linear-gradient(180deg, #142b4b 0%, #0f2542 100%);
  color: var(--color-dark-ink);
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(188, 207, 232, 0.16);
  border-bottom: 1px solid rgba(7, 16, 31, 0.56);
}

.section--deep {
  background:
    radial-gradient(circle at top right, rgba(95, 127, 166, 0.28), transparent 48%),
    radial-gradient(circle at top left, rgba(66, 96, 132, 0.26), transparent 44%),
    linear-gradient(180deg, #0b1b33 0%, #091629 100%);
  color: var(--color-dark-ink);
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(188, 207, 232, 0.16);
  border-bottom: 1px solid rgba(7, 16, 31, 0.62);
}

.section--dark::before,
.section--deep::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.035) 0%,
    transparent 32%,
    transparent 72%,
    rgba(4, 10, 20, 0.24) 100%
  );
}

.section--dark > .container,
.section--deep > .container {
  position: relative;
  z-index: 1;
}

.section__header {
  margin: 0 0 clamp(2rem, 4vw, 3.4rem);
  max-width: 720px;
}

.section__header--center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.eyebrow {
  margin: 0 0 var(--space-2);
  text-transform: uppercase;
  font-size: 0.74rem;
  letter-spacing: 1.9px;
  color: var(--color-accent);
  font-weight: 700;
}

.section--dark .eyebrow,
.section--deep .eyebrow,
.site-header .eyebrow {
  color: #8faacc;
}

.hero__title,
.section__title,
.card__title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.2px;
  line-height: 1.14;
  text-wrap: balance;
}

.hero__title {
  font-size: clamp(2rem, 6vw, 3.7rem);
  line-height: 1.1;
}

.section__title {
  font-size: clamp(1.66rem, 5vw, 2.55rem);
  line-height: 1.2;
}

.hero__subtitle,
.section__subtitle,
.card__subtitle,
.card__text {
  margin: var(--space-3) 0 0;
  color: var(--color-ink-muted);
  max-width: 64ch;
  line-height: 1.72;
}

.section--dark .hero__subtitle,
.section--dark .section__subtitle,
.section--deep .hero__subtitle,
.section--deep .section__subtitle {
  color: var(--color-dark-muted);
}

.section--dark .card--dark .card__subtitle,
.section--dark .card--dark .card__text,
.section--deep .card--dark .card__subtitle,
.section--deep .card--dark .card__text {
  color: var(--color-dark-muted);
}

/*
  ============================================================
  Hero + Positioning
  ============================================================
*/
.hero {
  padding-top: var(--space-8);
  padding-bottom: clamp(2.4rem, 5vw, 3.8rem);
}

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

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

.positioning-statement {
  margin: 0;
  color: #d4e0f3;
  font-size: 1.02rem;
  max-width: 60ch;
  line-height: 1.74;
}

.proof-inline {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-top: var(--space-1);
}

.proof-chip {
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(168, 187, 215, 0.4);
  background: rgba(13, 34, 63, 0.5);
  color: #dce6f4;
  font-size: 0.82rem;
  font-weight: 600;
  max-width: 100%;
  white-space: normal;
}

.section--light .proof-chip {
  background: #eff4fb;
  color: #31435d;
  border-color: #d5dfed;
}

.hero__actions {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  margin-top: var(--space-1);
}

.scarcity-note {
  margin: 0;
  color: #d2ddf0;
  font-weight: 500;
}

.hero-media {
  margin: var(--space-3) 0 var(--space-2);
}

/*
  ============================================================
  Cards and Grid
  ============================================================
*/
.card {
  border-radius: 22px;
  border: 1px solid rgba(188, 206, 229, 0.72);
  background: #ffffff;
  color: var(--color-ink);
  padding: clamp(1.3rem, 2vw, 1.9rem);
  box-shadow: 0 16px 34px rgba(17, 26, 42, 0.09);
}

.card--surface {
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  border-color: #d4deeb;
  color: var(--color-ink);
}

.card--dark {
  background: rgba(14, 35, 63, 0.72);
  border-color: rgba(173, 192, 219, 0.58);
  box-shadow: 0 20px 40px rgba(2, 8, 18, 0.46);
  color: var(--color-dark-ink);
}

.card--surface .card__title {
  color: var(--color-ink);
}

.card--surface .card__subtitle,
.card--surface .card__text {
  color: var(--color-ink-muted);
}

.card--surface .card__kicker {
  color: #3c5f86;
}

.card__kicker {
  margin: 0 0 var(--space-2);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 1.6px;
  color: var(--color-accent);
  font-weight: 700;
}

.section--dark .card--dark .card__kicker,
.section--deep .card--dark .card__kicker {
  color: #9db6d6;
}

.card__title {
  font-size: clamp(1.2rem, 3vw, 1.6rem);
  line-height: 1.2;
}

.value-anchor {
  margin: var(--space-3) 0 0;
  color: #2f4f74;
  font-weight: 800;
  font-size: 0.92rem;
}

.grid {
  display: grid;
  gap: clamp(1rem, 2.2vw, 1.5rem);
}

.hero__shell > *,
.split-panel > *,
.booking-layout > *,
.grid > *,
.timeline-grid > * {
  min-width: 0;
}

.section__header + .grid {
  margin-top: var(--space-5);
}

.grid--cards {
  grid-template-columns: 1fr;
}

.grid--cards > .card {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.grid--cards > .card .value-anchor {
  margin-top: auto;
  padding-top: var(--space-2);
}

.grid--metrics {
  grid-template-columns: 1fr;
  margin-bottom: var(--space-4);
  align-items: stretch;
}

.grid--testimonials {
  grid-template-columns: 1fr;
  align-items: stretch;
}

.metric-card {
  border-radius: 18px;
  border: 1px solid #cad9ec;
  background: #ffffff;
  padding: clamp(1rem, 2vw, 1.35rem);
  box-shadow: 0 12px 28px rgba(17, 26, 42, 0.08);
  height: 100%;
}

.metric-card__value {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2rem, 6vw, 2.8rem);
  color: #26456b;
}

.metric-card__label {
  margin: var(--space-1) 0 0;
  color: var(--color-ink-muted);
  font-weight: 600;
}

.testimonial {
  border-radius: 18px;
  border: 1px solid #cad9ec;
  background: #fdfefe;
  padding: clamp(1rem, 2vw, 1.35rem);
  box-shadow: 0 12px 28px rgba(17, 26, 42, 0.08);
  height: 100%;
}

.testimonial__quote {
  margin: 0;
  font-size: 1.02rem;
  color: #1b2a41;
}

.testimonial__meta {
  margin: var(--space-3) 0 0;
  font-size: 0.92rem;
  font-weight: 600;
  color: #5a6a80;
}

.image-frame {
  margin: 0;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(177, 196, 220, 0.58);
  background: #f2f6fd;
  box-shadow: 0 18px 34px rgba(17, 26, 42, 0.1);
  transition: transform 0.24s ease, box-shadow 0.24s ease;
}

.image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.image-frame:hover,
.image-frame:focus-within {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lift);
}

.image-frame--hero {
  aspect-ratio: 16 / 10;
}

.image-strip {
  display: grid;
  gap: var(--space-3);
  align-items: stretch;
}

.image-frame--tile {
  aspect-ratio: 4 / 3;
  min-height: 160px;
}

.image-strip .image-frame {
  height: 100%;
}

.image-banner {
  aspect-ratio: 16 / 5.8;
}

.section--strip {
  padding-top: clamp(2rem, 4vw, 3.2rem);
  padding-bottom: clamp(2rem, 4vw, 3.2rem);
}

/*
  ============================================================
  Split Layouts
  ============================================================
*/
.split-panel {
  display: grid;
  gap: clamp(1.25rem, 3vw, 2.2rem);
  align-items: start;
}

.stacked-media {
  display: grid;
  gap: var(--space-4);
}

.booking-hero {
  display: grid;
  gap: var(--space-4);
  max-width: 880px;
}

.booking-layout {
  display: grid;
  gap: clamp(1.4rem, 3vw, 2.6rem);
}

.booking-frame {
  border-radius: var(--radius-l);
  border: 1px solid rgba(166, 186, 214, 0.3);
  overflow: hidden;
  background: rgba(10, 24, 44, 0.56);
  box-shadow: var(--shadow-dark);
}

.booking__placeholder {
  padding: var(--space-4);
  border-bottom: 1px solid rgba(166, 186, 214, 0.28);
  background: rgba(18, 40, 71, 0.72);
}

.booking__label {
  margin: 0 0 var(--space-1);
  text-transform: uppercase;
  letter-spacing: 1.8px;
  font-size: 0.72rem;
  color: #adc2df;
  font-weight: 700;
}

.booking__text {
  margin: 0;
  color: #cfdbed;
}

.booking__embed {
  width: 100%;
  min-height: 480px;
  border: 0;
  display: block;
  background: #ffffff;
}

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

.risk-card {
  border-left: 4px solid var(--color-accent-strong);
}

.booking__confirmation {
  display: none;
  padding: var(--space-4);
  border: 1px solid rgba(143, 170, 204, 0.38);
  border-radius: var(--radius-m);
  background: rgba(16, 39, 69, 0.7);
  box-shadow: inset 0 0 0 1px rgba(184, 202, 225, 0.12);
}

.booking__confirmation.is-visible {
  display: grid;
  gap: var(--space-2);
}

.booking__confirmation-title {
  margin: 0;
  color: #dbe6f4;
  font-weight: 700;
}

.booking__confirmation-text {
  margin: 0;
  color: #b9cbe3;
}

/*
  ============================================================
  Form Styles
  ============================================================
*/
.application-card {
  align-self: start;
  width: 100%;
  min-width: 0;
}

.form {
  display: grid;
  gap: var(--space-3);
  min-width: 0;
}

.form__field {
  display: grid;
  gap: var(--space-1);
  min-width: 0;
}

.form__label {
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.15px;
  color: #30445e;
}

.form__input,
.form__select {
  display: block;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  min-height: 44px;
  padding: 10px 12px;
  border-radius: var(--radius-s);
  border: 1px solid var(--color-border);
  background: #ffffff;
  color: var(--color-ink);
  font-size: 16px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form__select {
  overflow: hidden;
  text-overflow: ellipsis;
}

.form__input:focus,
.form__select:focus {
  outline: none;
  border-color: var(--color-accent-strong);
  box-shadow: 0 0 0 3px rgba(95, 127, 166, 0.2);
}

.form__error {
  min-height: 1rem;
  font-size: 0.78rem;
  color: #c73636;
}

.form__fineprint {
  margin: 0;
  font-size: 0.86rem;
  font-weight: 500;
  line-height: 1.55;
  color: var(--color-ink-muted);
}

.form__fineprint--muted {
  font-size: 0.82rem;
  color: #5d6d86;
}

.form__status {
  min-height: 1.2rem;
  margin: 0;
  font-size: 0.9rem;
  color: var(--color-accent-strong);
  font-weight: 600;
}

/*
  ============================================================
  Lists, FAQ, Timeline
  ============================================================
*/
.list {
  margin: 0;
  padding-left: 1.1rem;
  color: inherit;
}

.list--tight li + li {
  margin-top: 8px;
}

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

.faq__item {
  border-radius: var(--radius-m);
  border: 1px solid #d4deeb;
  background: #ffffff;
  padding: clamp(0.85rem, 1.6vw, 1.05rem) var(--space-4);
  box-shadow: var(--shadow-soft);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.faq__item:hover {
  border-color: #b6c9e3;
  box-shadow: 0 14px 28px rgba(17, 26, 42, 0.1);
  transform: translateY(-1px);
}

.faq__item summary {
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-3);
  font-weight: 700;
  list-style: none;
  color: #1a2b43;
}

.faq__item summary::after {
  content: "+";
  font-weight: 700;
  color: #47668d;
}

.faq__item[open] summary::after {
  content: "-";
}

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

.faq__item p {
  margin: var(--space-2) 0 0;
  color: var(--color-ink-muted);
  padding-right: var(--space-2);
}

.timeline-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: var(--space-3);
}

.timeline-step {
  border-radius: var(--radius-m);
  border: 1px solid #d4deeb;
  background: #ffffff;
  padding: var(--space-4);
  box-shadow: var(--shadow-soft);
}

.timeline-step__label {
  margin: 0 0 var(--space-1);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--color-accent);
  font-weight: 700;
}

.timeline-step__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.34rem;
}

.timeline-step p {
  margin: var(--space-2) 0 0;
  color: var(--color-ink-muted);
}

/*
  ============================================================
  CTA + Proof Strip
  ============================================================
*/
.cta-panel {
  background: #ffffff;
  border-radius: 22px;
  border: 1px solid #cedbef;
  padding: clamp(1.3rem, 2.4vw, 2rem);
  box-shadow: 0 18px 34px rgba(17, 26, 42, 0.09);
  display: grid;
  gap: var(--space-4);
}

.cta-panel--compact {
  padding: var(--space-4);
}

.cta-panel__actions {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.cta-panel__actions .btn {
  width: 100%;
}

.proof-strip {
  display: grid;
  gap: var(--space-3);
}

.proof-strip__title {
  margin: 0;
  font-weight: 700;
  color: #2a3f5d;
}

#apply-now {
  padding-top: clamp(3rem, 5vw, 4.2rem);
  padding-bottom: clamp(2.4rem, 4vw, 3.4rem);
}

/*
  ============================================================
  Footer + Legal
  ============================================================
*/
.site-footer {
  background: #081428;
  color: #e7eef9;
  padding: var(--space-6) 0;
  border-top: 1px solid rgba(173, 192, 219, 0.24);
}

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

.footer__logo {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.1rem;
}

.footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
}

.footer__links a {
  color: #d9e4f5;
}

.footer__links a:hover,
.footer__links a:focus-visible {
  color: #ffffff;
}

.footer__meta {
  margin: var(--space-4) 0 0;
  text-align: center;
  font-size: 0.84rem;
  color: #b8c7de;
}

.legal {
  background: #ffffff;
  border-radius: var(--radius-l);
  border: 1px solid #d4deeb;
  box-shadow: var(--shadow-soft);
  padding: var(--space-6);
}

.legal__content h2 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  margin-top: var(--space-4);
}

/*
  ============================================================
  Motion
  ============================================================
*/
.reveal {
  animation: reveal-up 0.6s ease both;
}

@keyframes reveal-up {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/*
  ============================================================
  Responsive Enhancements
  ============================================================
*/
@media (min-width: 700px) {
  .image-strip {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .grid--metrics {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .grid--testimonials {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .timeline-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 820px) {
  .nav {
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
  }

  .nav__toggle {
    display: none;
  }

  .nav__actions {
    width: auto;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-end;
    max-height: none;
    opacity: 1;
    overflow: visible;
    pointer-events: auto;
    padding-top: 0;
  }

  .btn {
    width: auto;
  }

  .hero__actions {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .cta-panel__actions {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: start;
    align-items: center;
  }

  .cta-panel__actions .btn {
    width: auto;
  }

  #apply-now .cta-panel__actions {
    align-items: center;
  }
}

@media (max-width: 819px) {
  .nav {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    row-gap: var(--space-2);
  }

  .nav__toggle {
    display: inline-flex;
  }

  .nav__actions {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    pointer-events: none;
    transition: max-height 0.25s ease, opacity 0.22s ease, padding-top 0.2s ease;
  }

  .nav.is-open .nav__actions {
    max-height: 280px;
    opacity: 1;
    pointer-events: auto;
    padding-top: var(--space-2);
  }

  .nav__actions .btn {
    width: 100%;
  }
}

@media (min-width: 980px) {
  .hero__shell {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    align-items: start;
    gap: var(--space-7);
  }

  .application-card {
    position: sticky;
    top: 110px;
  }

  .split-panel {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: start;
    gap: var(--space-6);
  }

  .booking-layout {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    align-items: start;
    gap: var(--space-6);
  }

  .grid--cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: stretch;
  }

  .grid--cards > .card {
    height: 100%;
  }

  .grid--metrics > .metric-card,
  .grid--testimonials > .testimonial {
    height: 100%;
  }

  .hero-media {
    max-width: 660px;
  }
}

@media (min-width: 1240px) {
  .grid--cards {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 1440px) {
  .container {
    width: min(1280px, 90vw);
  }
}

@media (max-width: 899px) {
  .nav__actions .btn {
    font-size: 0.95rem;
    padding: 11px 16px;
  }
}

@media (max-width: 599px) {
  .section {
    padding-block: clamp(2.5rem, 9vw, 3.4rem);
  }

  .card,
  .cta-panel {
    padding: var(--space-4);
  }

  .booking__embed {
    min-height: 420px;
  }

  .image-banner {
    aspect-ratio: 4 / 3;
  }

  .hero__actions {
    gap: var(--space-2);
  }

  .nav__logo {
    font-size: 1.08rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
