/* ==========================================================
   UJC – United Jet Care   (mobile-first, royal-blue theme from logo)
   ========================================================== */

:root {
  --royal-950: #021a55;
  --royal-900: #01257a;
  --royal-800: #012d84;   /* logo background */
  --royal-700: #0a40a6;
  --royal-600: #1a58c8;
  --sky: #a7c6ff;
  --sky-100: #e3edff;
  --ice: #f3f7fd;
  --ink: #0a2260;
  --muted: #506792;
  --line: #d6e2f5;
  --white: #fff;
  --danger: #b3261e;
  --ok: #14804f;

  --serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --wrap: 1180px;
  --header-h: 68px;
  --pill: 999px;
}
@media (min-width: 900px) { :root { --header-h: 92px; } }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
  padding-bottom: calc(72px + env(safe-area-inset-bottom, 0px)); /* room for mobile action bar */
}
@media (min-width: 900px) { body { padding-bottom: 0; } }

img, svg, picture { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
a, button, label, input, select, textarea { touch-action: manipulation; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, p, figure, blockquote { margin: 0; }

.wrap { width: min(100% - 40px, var(--wrap)); margin-inline: auto; }

.skip { position: absolute; left: 12px; top: -60px; z-index: 300; background: #fff; color: var(--royal-800); padding: 10px 16px; border-radius: 8px; font-weight: 700; }
.skip:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--sky); outline-offset: 3px; }

/* ---------- Icons ---------- */
.ico { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.ico--sm { width: 16px; height: 16px; }
.ico--lg { width: 38px; height: 38px; stroke-width: 1.3; }
.ico--xl { width: 56px; height: 56px; stroke-width: 1.3; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 14px 26px;
  border: 1.5px solid transparent; border-radius: var(--pill);
  font: 700 0.8rem/1 var(--sans); letter-spacing: 0.12em; text-transform: uppercase;
  cursor: pointer; white-space: nowrap;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn--lg { min-height: 54px; padding: 17px 32px; }
.btn--block { width: 100%; }
.btn--white { background: var(--white); color: var(--royal-800); }
.btn--white:hover { background: var(--sky-100); }
.btn--outline-light { background: transparent; color: var(--white); border-color: rgba(255,255,255,.85); }
.btn--outline-light:hover { background: rgba(255,255,255,.14); }
.btn--navy { background: var(--royal-800); color: var(--white); }
.btn--navy:hover { background: var(--royal-700); }
.btn[disabled] { opacity: .65; cursor: progress; transform: none; }

/* ---------- Type ---------- */
.eyebrow { font-size: 0.74rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--royal-700); margin-bottom: 14px; }
.eyebrow--light { color: rgba(255,255,255,.88); }
.eyebrow--center { text-align: center; margin-bottom: 8px; }

h2 { font-family: var(--serif); font-weight: 500; font-size: clamp(1.75rem, 6vw, 2.5rem); line-height: 1.18; letter-spacing: -0.01em; color: var(--royal-800); }

/* ==========================================================
   HEADER  (transparent over hero, solid after scroll / when menu open)
   ========================================================== */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--header-h);
  padding-top: env(safe-area-inset-top, 0px);
  height: calc(var(--header-h) + env(safe-area-inset-top, 0px));
  color: var(--white);
  background: linear-gradient(180deg, rgba(1,26,85,.82), rgba(1,26,85,0));
  transition: background-color .25s, box-shadow .25s;
}
.site-header.is-solid, .site-header.menu-open { background: var(--royal-900); box-shadow: 0 6px 24px -12px rgba(0,0,0,.5); }
.header-inner { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: block; flex: none; }
.brand img { height: calc(var(--header-h) - 14px); width: auto; }

.nav-toggle {
  display: inline-flex; flex-direction: column; justify-content: center; align-items: center; gap: 5px;
  width: 48px; height: 48px; padding: 0;
  background: rgba(255,255,255,.08); border: 1.5px solid rgba(255,255,255,.55); border-radius: 12px; cursor: pointer;
}
.nav-toggle span { display: block; width: 20px; height: 2px; background: var(--white); border-radius: 2px; transition: transform .2s, opacity .2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav {
  position: absolute; left: 0; right: 0; top: 100%;
  display: none; flex-direction: column; gap: 0;
  background: var(--royal-900); padding: 4px 20px 24px;
  border-top: 1px solid rgba(255,255,255,.12);
  max-height: calc(100vh - var(--header-h)); overflow-y: auto;
}
.nav.is-open { display: flex; }
.nav ul a { display: flex; align-items: center; min-height: 54px; font-size: 0.8rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; border-bottom: 1px solid rgba(255,255,255,.1); }
.nav ul a.is-active { color: var(--sky); }
.nav__cta { margin-top: 20px; }

@media (min-width: 900px) {
  .nav-toggle { display: none; }
  .nav { position: static; display: flex; flex-direction: row; align-items: center; flex: 1; gap: 28px; background: transparent; padding: 0; border: 0; max-height: none; overflow: visible; }
  .nav ul { display: flex; gap: 34px; margin-inline: auto 0; }
  .nav ul a { position: relative; min-height: 0; padding: 8px 0; border: 0; font-size: 0.72rem; color: rgba(255,255,255,.95); }
  .nav ul a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; background: var(--white); transform: scaleX(0); transform-origin: left; transition: transform .25s; }
  .nav ul a:hover::after, .nav ul a.is-active::after { transform: scaleX(1); }
  .nav ul a.is-active { color: var(--white); }
  .nav__cta { margin: 0 0 0 auto; min-height: 46px; padding: 12px 24px; font-size: 0.72rem; }
}

/* ==========================================================
   HERO
   ========================================================== */
.hero {
  position: relative; isolation: isolate; overflow: hidden; color: var(--white);
  background: linear-gradient(165deg, var(--royal-950) 0%, var(--royal-800) 55%, var(--royal-700) 100%);
}
.hero__inner { position: relative; z-index: 2; padding-top: calc(var(--header-h) + env(safe-area-inset-top, 0px) + 28px); }
.hero__copy { max-width: 600px; }
.hero h1 { font-family: var(--serif); font-weight: 500; font-size: clamp(2.05rem, 8.4vw, 3.5rem); line-height: 1.1; letter-spacing: -0.012em; margin-bottom: 14px; }
.hero__lede { font-size: 1.05rem; color: rgba(255,255,255,.95); margin-bottom: 26px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__actions .btn { flex: 1 1 150px; }

/* mobile: photo sits under the copy and fades up into the blue */
.hero__media { display: block; position: relative; z-index: 1; margin-top: 8px; }
.hero__media img {
  width: 100%; height: auto; aspect-ratio: 584 / 274; object-fit: cover;
  -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 34%);
          mask-image: linear-gradient(180deg, transparent 0, #000 34%);
}

@media (min-width: 900px) {
  .hero { min-height: 660px; display: flex; align-items: center; }
  .hero__inner { padding-block: calc(var(--header-h) + 36px) 64px; }
  .hero__actions .btn { flex: 0 0 auto; }
  .hero__call { display: none; }
  .hero__media { position: absolute; inset: 0 0 0 auto; width: 74%; margin: 0; z-index: 0; }
  .hero__media img {
    width: 100%; height: 100%; aspect-ratio: auto; object-position: 40% 55%;
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 42%);
            mask-image: linear-gradient(90deg, transparent 0, #000 42%);
  }
  .hero::after { /* soft bottom edge so jet's reflection melts into the page */
    content: ""; position: absolute; inset: auto 0 0 0; height: 90px; z-index: 1; pointer-events: none;
    background: linear-gradient(180deg, transparent, rgba(1,26,85,.35));
  }
}

/* ==========================================================
   TRUST STRIP
   ========================================================== */
.trust { background: var(--ice); padding-block: 32px; }
.trust__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px 0; }
.trust__item { text-align: center; padding: 4px 14px; color: var(--royal-800); }
.trust__item:nth-child(even) { border-left: 1px solid var(--line); }
.trust__item .ico { margin: 0 auto 12px; }
.trust__item h3 { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 6px; }
.trust__item p { font-size: 0.88rem; color: var(--muted); line-height: 1.45; }
@media (min-width: 900px) {
  .trust { padding-block: 44px; }
  .trust__grid { grid-template-columns: repeat(4, 1fr); }
  .trust__item { padding-inline: 28px; border-left: 1px solid var(--line); }
  .trust__item:first-child { border-left: 0; }
}

/* ==========================================================
   SERVICES
   ========================================================== */
.services { background: var(--ice); padding-block: 8px 56px; }
.services__inner { display: grid; gap: 28px; }
.services__copy h2 { margin-bottom: 14px; }
.services__copy p { color: var(--muted); margin-bottom: 22px; max-width: 460px; }
.svc-grid { display: grid; grid-template-columns: repeat(2, 1fr); }
.svc { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 12px; padding: 22px 10px; color: var(--royal-800); border-top: 1px solid var(--line); }
.svc:nth-child(even) { border-left: 1px solid var(--line); }
.svc__ring { display: grid; place-items: center; width: 62px; height: 62px; border: 1.5px solid var(--royal-800); border-radius: 50%; transition: background-color .2s, color .2s; }
.svc__ring .ico { width: 27px; height: 27px; }
.svc:hover .svc__ring { background: var(--royal-800); color: #fff; }
.svc h3 { font-size: 0.9rem; font-weight: 600; line-height: 1.35; max-width: 160px; }
@media (min-width: 900px) {
  .services { padding-block: 24px 88px; }
  .services__inner { grid-template-columns: minmax(0, .9fr) minmax(0, 1.25fr); gap: 56px; align-items: center; }
  .svc-grid { grid-template-columns: repeat(3, 1fr); }
  .svc { border-top: 0; border-left: 1px solid var(--line); padding-block: 26px; }
  .svc:nth-child(n+4) { border-top: 1px solid var(--line); }
}

/* ==========================================================
   ABOUT
   ========================================================== */
.about { background: var(--royal-900); color: var(--white); }
.about__media { display: block; }
.about__media img { width: 100%; height: auto; aspect-ratio: 850 / 468; object-fit: cover; }
.about__panel { padding: 40px max(20px, calc((100vw - var(--wrap)) / 2)) 48px; }
.about__copy { max-width: 540px; }
.about h2 { color: var(--white); margin-bottom: 16px; }
.about__copy p:not(.eyebrow) { color: rgba(255,255,255,.92); margin-bottom: 24px; }
@media (min-width: 900px) {
  .about { display: grid; grid-template-columns: 1.1fr 1fr; min-height: 380px; }
  .about__media { margin-right: -64px; position: relative; z-index: 1; clip-path: polygon(0 0, 100% 0, calc(100% - 64px) 100%, 0 100%); }
  .about__media img { height: 100%; aspect-ratio: auto; }
  .about__panel { display: flex; align-items: center; padding: 56px max(24px, calc((100vw - var(--wrap)) / 2)) 56px 104px; }
}

/* ==========================================================
   WHY UJC
   ========================================================== */
.why { background: var(--ice); padding-block: 48px 40px; }
.why__title { text-align: center; margin-bottom: 26px; }
.why__grid { display: grid; }
.why__item { display: flex; gap: 16px; align-items: flex-start; padding: 18px 0; border-top: 1px solid var(--line); color: var(--royal-800); }
.why__item:first-child { border-top: 0; }
.why__item .ico { margin-top: 2px; width: 34px; height: 34px; }
.why__item h3 { font-size: 1.02rem; font-weight: 600; margin-bottom: 4px; }
.why__item p { font-size: 0.92rem; color: var(--muted); line-height: 1.5; }
@media (min-width: 900px) {
  .why { padding-block: 64px 64px; }
  .why__title { margin-bottom: 40px; }
  .why__grid { grid-template-columns: repeat(5, 1fr); }
  .why__item { flex-direction: column; align-items: center; text-align: center; gap: 0; padding: 6px 22px; border-top: 0; border-left: 1px solid var(--line); }
  .why__item:first-child { border-left: 0; }
  .why__item .ico { width: 40px; height: 40px; margin: 0 auto 14px; }
}

/* ==========================================================
   TESTIMONIALS
   ========================================================== */
.testimonials { position: relative; isolation: isolate; overflow: hidden; color: var(--white); background: linear-gradient(165deg, var(--royal-950), var(--royal-800)); }
.testimonials__inner { position: relative; z-index: 2; padding-block: 36px 8px; }
.testimonials h2 { color: var(--white); font-size: 1.55rem; margin-bottom: 16px; }
.quotes { max-width: 540px; }
.quote { display: none; grid-template-columns: auto 1fr; column-gap: 16px; }
.quote.is-active { display: grid; }
.quote__mark { width: 30px; height: 25px; margin-top: 5px; color: var(--sky); }
.quote blockquote { font-size: 1rem; line-height: 1.55; }
.quote figcaption { grid-column: 2; font-size: 0.85rem; margin-top: 10px; color: rgba(255,255,255,.85); }
.quotes__dots { display: flex; gap: 4px; margin-top: 8px; padding-left: 46px; }
.quotes__dots:empty { display: none; }
.quotes__dots button { width: 24px; height: 24px; padding: 0; border: 0; background: transparent; cursor: pointer; position: relative; }
.quotes__dots button::after { content: ""; position: absolute; inset: 8px; border-radius: 50%; background: rgba(255,255,255,.45); }
.quotes__dots button[aria-selected="true"]::after { background: #fff; }
.testimonials__media { display: block; position: relative; z-index: 1; margin-top: 4px; }
.testimonials__media img { width: 100%; height: auto; aspect-ratio: 504 / 141; object-fit: cover; -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 40%); mask-image: linear-gradient(180deg, transparent 0, #000 40%); }
@media (min-width: 900px) {
  .testimonials { min-height: 210px; display: flex; align-items: center; }
  .testimonials__inner { padding-block: 40px; }
  .testimonials__media { position: absolute; inset: 0 0 0 auto; width: 62%; margin: 0; z-index: 0; }
  .testimonials__media img { height: 100%; aspect-ratio: auto; object-position: 60% center; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 45%); mask-image: linear-gradient(90deg, transparent 0, #000 45%); }
}

/* ==========================================================
   CTA BAND
   ========================================================== */
.cta { background: linear-gradient(180deg, var(--sky-100), #f6f9ff); border-bottom: 1px solid var(--line); }
.cta__inner { display: grid; gap: 22px; padding-block: 36px; }
.cta__copy h2 { font-size: clamp(1.5rem, 5.4vw, 1.9rem); }
.cta__copy p { color: var(--muted); margin-top: 6px; }
.cta__contacts { display: grid; gap: 4px; }
.cta__contacts a { display: flex; align-items: center; gap: 14px; min-height: 52px; color: var(--royal-800); font-weight: 600; }
.cta__contacts .ico { width: 24px; height: 24px; }
.cta__contacts small { display: block; font-size: 0.72rem; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); line-height: 1.2; }
.cta__contacts span { overflow-wrap: anywhere; }
.cta__btn { width: 100%; }
@media (min-width: 900px) {
  .cta__inner { grid-template-columns: minmax(300px, 1fr) auto auto; align-items: center; gap: 36px; padding-block: 32px; }
  .cta__contacts { display: flex; gap: 24px; }
  .cta__contacts a { min-height: 0; }
  .cta__btn { width: auto; }
}

/* ==========================================================
   BOOKING FORM
   ========================================================== */
.booking { background: var(--ice); padding-block: 48px; }
.booking__inner { display: grid; gap: 28px; }
.booking__intro h2 { margin-bottom: 14px; }
.booking__intro > p:not(.eyebrow) { color: var(--muted); margin-bottom: 24px; max-width: 420px; }
.booking__facts { display: grid; gap: 14px; font-size: 0.95rem; }
.booking__facts li { display: flex; gap: 12px; align-items: flex-start; }
.booking__facts .ico { color: var(--royal-800); margin-top: 2px; }
.booking__facts a { font-weight: 600; text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 3px; }

.booking__card { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 22px 18px; box-shadow: 0 18px 50px -30px rgba(1,48,138,.4); }

.form-grid { display: grid; grid-template-columns: 1fr; gap: 16px; margin-bottom: 20px; }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field--wide { grid-column: 1 / -1; }
.field label, .field legend { font-size: 0.85rem; font-weight: 600; color: var(--royal-800); padding: 0; }
.field label em, .field legend em { font-style: normal; font-weight: 500; color: var(--muted); }
.field > label > span, .field > legend > span { color: var(--danger); }

/* 16px+ text prevents iOS Safari zooming the page on focus */
.field input[type="text"], .field input[type="email"], .field input[type="tel"], .field input[type="date"], .field select, .field textarea {
  width: 100%; min-height: 50px; font: inherit; font-size: 16px; color: var(--ink);
  background: #fff; border: 1.5px solid var(--line); border-radius: 12px; padding: 12px 14px;
  -webkit-appearance: none; appearance: none; transition: border-color .15s, box-shadow .15s;
}
.field select { background-image: linear-gradient(45deg, transparent 50%, var(--royal-800) 50%), linear-gradient(135deg, var(--royal-800) 50%, transparent 50%); background-position: calc(100% - 20px) 55%, calc(100% - 14px) 55%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 38px; }
.field textarea { resize: vertical; min-height: 112px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--royal-700); box-shadow: 0 0 0 3px rgba(10,64,166,.18); }
.field input.is-invalid, .field select.is-invalid, .field textarea.is-invalid { border-color: var(--danger); }

.field--services { border: 0; padding: 0; margin: 0 0 20px; min-width: 0; }
.field--services legend { margin-bottom: 10px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.chip span { display: inline-flex; align-items: center; min-height: 44px; padding: 10px 16px; font-size: 0.88rem; font-weight: 600; color: var(--royal-800); background: #fff; border: 1.5px solid var(--line); border-radius: var(--pill); transition: background-color .15s, color .15s, border-color .15s; }
.chip:hover span { border-color: var(--royal-700); }
.chip input:checked + span { background: var(--royal-800); border-color: var(--royal-800); color: #fff; }
.chip input:focus-visible + span { outline: 3px solid var(--sky); outline-offset: 2px; }
.field--services.is-invalid .chip span { border-color: var(--danger); }

.booking form > .field { margin-bottom: 20px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { min-height: 1.4em; margin-bottom: 12px; font-size: 0.92rem; font-weight: 600; color: var(--danger); }
.form-note { margin-top: 14px; font-size: 0.78rem; color: var(--muted); text-align: center; }

.form-success { text-align: center; padding: 24px 8px; color: var(--royal-800); }
.form-success[hidden] { display: none; }
.form-success .ico { margin: 0 auto 16px; color: var(--ok); }
.form-success h3 { font-family: var(--serif); font-weight: 500; font-size: 1.7rem; margin-bottom: 10px; }
.form-success p { color: var(--muted); max-width: 440px; margin-inline: auto; }
.form-success__sub { margin-top: 14px; font-size: 0.92rem; }
.form-success a { color: var(--royal-800); font-weight: 600; text-decoration: underline; }

@media (min-width: 600px) { .form-grid { grid-template-columns: 1fr 1fr; gap: 18px 20px; } .booking__card { padding: 32px; } }
@media (min-width: 900px) {
  .booking { padding-block: 80px; }
  .booking__inner { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 56px; align-items: start; }
  .booking__card { padding: 36px; }
}


/* ==========================================================
   GALLERY + LIGHTBOX
   ========================================================== */
.gallery { background: #fff; padding-block: 48px 52px; }
.gallery__title { text-align: center; margin-bottom: 26px; }
.gallery__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; grid-auto-flow: dense; }
.g-item { margin: 0; overflow: hidden; border-radius: 10px; background: var(--royal-900); aspect-ratio: 4 / 3; }
.g-item--lead { grid-column: 1 / -1; aspect-ratio: 16 / 10; }
.g-btn { position: relative; display: block; width: 100%; height: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; color: #fff; font: inherit; }
.g-btn picture, .g-btn img { width: 100%; height: 100%; }
.g-btn img { object-fit: cover; transition: transform .6s ease; }
.g-btn:hover img { transform: scale(1.04); }
.g-cap {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 28px 14px 12px; text-align: left;
  font-size: 0.78rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  background: linear-gradient(180deg, transparent, rgba(1,26,85,.85));
}
@media (min-width: 900px) {
  .gallery { padding-block: 72px 72px; }
  .gallery__title { margin-bottom: 36px; }
  .gallery__grid { grid-template-columns: repeat(3, 1fr); gap: 14px; }
  .g-item { border-radius: 12px; }
  .g-item--lead { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }
}

.lightbox { width: 100vw; max-width: 100vw; height: 100vh; height: 100dvh; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(1,14,48,.96); color: #fff; }
.lightbox:not([open]) { display: none; }
.lightbox[open] { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 4px; padding: env(safe-area-inset-top,0px) 8px env(safe-area-inset-bottom,0px); }
.lightbox::backdrop { background: rgba(1,14,48,.96); }
.lightbox figure { margin: 0; display: grid; gap: 12px; justify-items: center; min-width: 0; }
.lightbox figure img { max-width: 100%; max-height: 78vh; max-height: 78dvh; width: auto; height: auto; border-radius: 8px; object-fit: contain; }
.lightbox figcaption { font-size: 0.85rem; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.85); }
.lightbox__close, .lightbox__nav { background: rgba(255,255,255,.1); border: 0; color: #fff; cursor: pointer; border-radius: 50%; width: 48px; height: 48px; font-size: 1.9rem; line-height: 1; display: grid; place-items: center; }
.lightbox__close { position: absolute; top: calc(10px + env(safe-area-inset-top,0px)); right: 12px; z-index: 2; }
.lightbox__close:hover, .lightbox__nav:hover { background: rgba(255,255,255,.22); }
@media (max-width: 599px) { .lightbox__nav { width: 40px; height: 40px; font-size: 1.6rem; } }

/* ==========================================================
   FOOTER
   ========================================================== */
.site-footer { background: var(--royal-900); color: var(--white); padding-block: 28px; }
.footer__inner { display: grid; gap: 22px; justify-items: center; text-align: center; }
.footer__brand { display: grid; justify-items: center; gap: 8px; }
.footer__brand img { height: 74px; width: auto; }
.footer__brand p { font-size: 0.66rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(255,255,255,.85); }
.footer__meta { display: grid; gap: 10px; justify-items: center; }
.social { display: flex; gap: 6px; }
.social a { display: grid; place-items: center; width: 44px; height: 44px; }
.social .ico { width: 20px; height: 20px; }
.footer__loc { display: inline-flex; align-items: center; gap: 8px; font-size: 0.8rem; }
.footer__copy { font-size: 0.72rem; color: rgba(255,255,255,.7); }
@media (min-width: 900px) {
  .footer__inner { grid-template-columns: auto auto; justify-content: space-between; text-align: left; justify-items: start; }
  .footer__brand { grid-auto-flow: column; align-items: center; gap: 22px; }
  .footer__brand img { height: 64px; }
  .footer__meta { justify-items: end; text-align: right; }
}

/* ==========================================================
   MOBILE ACTION BAR
   ========================================================== */
.mbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
  display: grid; grid-template-columns: 1fr 2fr; gap: 10px;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px));
  background: rgba(1,37,122,.96); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 -8px 24px -12px rgba(0,0,0,.45);
  transition: transform .25s;
}
.mbar.is-hidden { transform: translateY(110%); }
.mbar a { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; border-radius: var(--pill); font: 700 0.8rem/1 var(--sans); letter-spacing: 0.1em; text-transform: uppercase; }
.mbar__call { border: 1.5px solid rgba(255,255,255,.8); color: #fff; }
.mbar__quote { background: #fff; color: var(--royal-800); }
@media (min-width: 900px) { .mbar { display: none; } }

/* ==========================================================
   THANK-YOU PAGE
   ========================================================== */
.thanks { min-height: 100vh; display: grid; place-items: center; padding: calc(var(--header-h) + 32px) 20px 40px; background: var(--ice); }
.thanks__card { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 40px 28px; max-width: 560px; text-align: center; color: var(--royal-800); }
.thanks__card .ico { margin: 0 auto 18px; color: var(--ok); }
.thanks__card h1 { font-family: var(--serif); font-weight: 500; font-size: 2rem; margin-bottom: 12px; }
.thanks__card p { color: var(--muted); margin-bottom: 26px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
