:root {
  --navy: #0d192b;
  --navy-2: #14263e;
  --teal: #147d78;
  --blue: #176b87;
  --gold: #d7a848;
  --red: #b9322a;
  --ink: #152235;
  --muted: #637083;
  --line: #d9e1e8;
  --paper: #f3f6f8;
  --white: #fff;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); }
a { color: inherit; }
button, input, select, textarea { font: inherit; }

.deadline {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  justify-content: center;
  align-items: baseline;
  gap: .55rem;
  padding: .68rem 1rem calc(.68rem + env(safe-area-inset-top, 0px));
  color: white;
  background: var(--red);
  text-align: center;
  box-shadow: 0 3px 14px #0004;
}
.deadline-kicker { font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; }
.deadline strong { font-size: .98rem; }

.brandbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .8rem 1rem;
  color: #dbe5ee;
  background: var(--navy);
}
.brandbar img { width: 170px; height: 58px; padding: 5px; object-fit: contain; border-radius: 7px; background: white; }
.brandbar span { font-size: .67rem; text-transform: uppercase; letter-spacing: .08em; }

main { width: min(100%, 780px); margin: 0 auto; background: white; }
.hero { position: relative; min-height: min(61vh, 560px); overflow: hidden; background: var(--navy); }
.hero-grid { position: absolute; inset: 0; display: grid; grid-template-columns: repeat(2, 1fr); grid-template-rows: repeat(2, 1fr); gap: 3px; background: #182334; }
.hero-grid img { width: 100%; height: 100%; object-fit: cover; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 22%, #06101eec 92%); }
.hero-copy { position: absolute; left: 1.25rem; right: 1.25rem; bottom: 1.25rem; color: white; }
.eyebrow, .section-heading p { margin: 0 0 .35rem; color: var(--gold); font-size: .72rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.hero h1 { margin: 0; font-size: clamp(2.3rem, 10vw, 4.8rem); line-height: .95; letter-spacing: -.055em; }
.hero-copy > p:not(.eyebrow) { margin: .65rem 0; font-size: 1rem; }
.badges { display: flex; gap: .45rem; }
.badges span { padding: .42rem .7rem; border: 1px solid #ffffff70; border-radius: 99px; background: #ffffff18; font-size: .72rem; font-weight: 800; text-transform: uppercase; }

.cta-stack { display: grid; gap: .7rem; padding: 1rem; background: var(--navy); }
.button { display: flex; min-height: 54px; align-items: center; justify-content: center; padding: .85rem 1rem; border: 0; border-radius: 9px; text-decoration: none; text-transform: uppercase; letter-spacing: .045em; font-size: .86rem; font-weight: 900; cursor: pointer; }
.button-secondary { color: white; border: 1px solid #ffffff52; background: var(--navy-2); }
.button-primary { color: var(--navy); background: var(--gold); box-shadow: 0 7px 20px #0004; }
.button:focus-visible, .gallery button:focus-visible { outline: 3px solid #56c5d0; outline-offset: 3px; }

.price-panel { padding: 1.5rem 1rem; color: white; text-align: center; background: linear-gradient(130deg, #9c2823, var(--red)); }
.price-panel p { margin: 0; font-size: .72rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; opacity: .8; }
.price-panel h2 { margin: .28rem 0; font-size: 2rem; text-transform: uppercase; }
.price-panel span { font-size: .78rem; opacity: .9; }

.section { padding: 2rem 1rem; border-bottom: 1px solid var(--line); }
.section-heading { margin-bottom: 1.1rem; }
.section-heading h2 { margin: 0; color: var(--navy); font-size: 1.55rem; line-height: 1.1; letter-spacing: -.025em; }
.section-heading.light h2 { color: white; }
.metric-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .7rem; }
.metric-grid article { min-height: 96px; padding: 1rem .9rem; border: 1px solid var(--line); border-radius: 11px; border-left: 5px solid var(--teal); background: var(--paper); }
.metric-grid span { display: block; margin-bottom: .45rem; color: var(--muted); font-size: .67rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.metric-grid strong { color: var(--navy); font-size: clamp(1rem, 4vw, 1.32rem); line-height: 1.05; }

.property-section { background: #f8fafb; }
.facts { display: grid; grid-template-columns: repeat(4, 1fr); overflow: hidden; border: 1px solid var(--line); border-radius: 11px; background: white; }
.facts div { padding: 1rem .25rem; text-align: center; border-right: 1px solid var(--line); }
.facts div:last-child { border: 0; }
.facts strong, .facts span { display: block; }
.facts strong { color: var(--navy); font-size: 1.15rem; }
.facts span { margin-top: .2rem; color: var(--muted); font-size: .67rem; text-transform: uppercase; }
.feature-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .6rem; margin: 1rem 0 0; padding: 0; list-style: none; }
.feature-list li { position: relative; padding-left: 1.2rem; font-size: .83rem; }
.feature-list li::before { content: "✓"; position: absolute; left: 0; color: var(--teal); font-weight: 900; }

.arv-section { background: var(--navy); color: white; }
.arv-section .section-heading h2 { color: white; }
.arv-band { display: grid; grid-template-columns: repeat(3, 1fr); gap: .5rem; }
.arv-band div { padding: .9rem .25rem; border-radius: 8px; background: #ffffff12; text-align: center; }
.arv-band .working { color: var(--navy); background: var(--gold); }
.arv-band span, .arv-band strong { display: block; }
.arv-band span { font-size: .61rem; font-weight: 800; text-transform: uppercase; opacity: .8; }
.arv-band strong { margin-top: .25rem; font-size: 1.2rem; }
.comp-list { margin: 1rem 0; }
.comp-list article { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .82rem 0; border-bottom: 1px solid #ffffff1e; }
.comp-list strong, .comp-list span { display: block; }
.comp-list strong { font-size: .82rem; }
.comp-list span { margin-top: .18rem; color: #bdc9d5; font-size: .67rem; }
.comp-list b { color: var(--gold); font-size: .9rem; white-space: nowrap; }
.text-link { display: inline-block; color: var(--gold); font-size: .82rem; font-weight: 900; text-decoration: none; }

.gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: .55rem; }
.gallery button { min-height: 145px; padding: 0; overflow: hidden; border: 0; border-radius: 9px; background: var(--paper); cursor: zoom-in; }
.gallery img { display: block; width: 100%; height: 100%; min-height: 145px; object-fit: cover; transition: transform .25s ease; }
.gallery button:hover img { transform: scale(1.035); }
.photo-note { margin: .75rem 0 0; color: var(--muted); font-size: .72rem; }
.media-count { display: inline-grid; min-width: 28px; height: 28px; place-items: center; margin-left: .35rem; border-radius: 50%; color: white; background: var(--blue); font-size: .72rem; vertical-align: middle; }
.video-player { display: grid; min-height: 240px; place-items: center; overflow: hidden; border-radius: 11px; background: var(--navy); }
.video-player video { width: 100%; max-height: 70vh; background: #000; }
.video-placeholder { width: min(72%, 320px); padding: 12px; border-radius: 10px; background: white; }
.video-thumbnails { display: grid; grid-template-columns: repeat(3, 1fr); gap: .6rem; margin-top: .75rem; }
.video-thumbnails button { min-height: 76px; overflow: hidden; border: 2px solid transparent; border-radius: 8px; background: var(--navy); }
.video-thumbnails button[aria-current="true"] { border-color: var(--gold); }
.video-thumbnails img { width: 100%; height: 100%; object-fit: cover; }

.offer-section { padding: 2.2rem 1rem; color: white; background: linear-gradient(155deg, var(--navy), #183653); }
.offer-intro { margin: -.35rem 0 1.1rem; color: #c5d1dc; font-size: .84rem; line-height: 1.45; }
.submit { width: 100%; margin-top: .25rem; }
.contact-text { width: 100%; margin-top: .7rem; border-color: #dfad43; }
.offer-note { margin: .75rem 0 0; color: #aebdca; font-size: .72rem; text-align: center; }

.disclaimer { padding: 1.5rem 1rem; color: var(--muted); background: #edf2f5; }
.disclaimer h2 { margin: 0 0 .45rem; color: var(--navy); font-size: .82rem; text-transform: uppercase; }
.disclaimer p { margin: 0; font-size: .7rem; line-height: 1.55; }
footer { display: flex; align-items: center; justify-content: space-between; gap: 1rem; width: min(100%, 780px); margin: 0 auto; padding: 1.2rem 1rem calc(1.2rem + env(safe-area-inset-bottom, 0px)); color: #b9c5d0; background: #081321; font-size: .67rem; }
footer div { display: flex; align-items: center; gap: .45rem; }
footer img { width: 128px; height: 48px; padding: 4px; object-fit: contain; border-radius: 6px; background: white; }

.offer-overlay {
  position: fixed;
  z-index: 100;
  inset: 0;
  display: none;
  padding-top: env(safe-area-inset-top, 0px);
  background: #f7f8fa;
}
.offer-overlay[data-open="true"] { display: block; }
.offer-overlay iframe { display: block; width: 100%; height: 100%; border: 0; background: #f7f8fa; opacity: 0; transition: opacity .25s ease; }
.offer-overlay[data-loaded="true"] iframe { opacity: 1; }
.offer-overlay-close {
  position: absolute;
  z-index: 3;
  top: max(.65rem, env(safe-area-inset-top, 0px));
  right: .7rem;
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  padding: 0;
  color: white;
  border: 1px solid #ffffff3b;
  border-radius: 50%;
  background: #0d192be8;
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
}
.offer-loading {
  position: absolute;
  z-index: 2;
  inset: 0;
  display: grid;
  align-content: center;
  justify-items: center;
  padding: 2rem 1.5rem;
  color: white;
  background: radial-gradient(circle at 50% 35%, #1b304b 0, var(--navy) 48%, #091321 100%);
  text-align: center;
  transition: opacity .25s ease, visibility .25s ease;
}
.offer-overlay[data-loaded="true"] .offer-loading { opacity: 0; visibility: hidden; pointer-events: none; }
.offer-loader-mark { position: relative; display: grid; width: 152px; height: 152px; place-items: center; margin-bottom: 1.5rem; }
.offer-loader-mark::before { content: ""; position: absolute; inset: 0; border: 4px solid #ffffff24; border-top-color: var(--gold); border-right-color: #ffffffa8; border-radius: 50%; animation: offer-spin 1.15s linear infinite; }
.offer-loader-mark img { display: block; width: 104px; max-height: 104px; object-fit: contain; filter: drop-shadow(0 8px 18px #0007); }
.offer-loading h2 { margin: 0; font-size: clamp(1.9rem, 8vw, 2.8rem); line-height: 1.08; letter-spacing: -.035em; }
.offer-loading p { margin: .8rem 0 0; color: #cad5df; font-size: 1.05rem; line-height: 1.5; }
.offer-loading-dots::after { content: ""; display: inline-block; width: 1.15em; text-align: left; animation: offer-dots 1.2s steps(4, end) infinite; }
body.offer-open { overflow: hidden; }

@keyframes offer-spin { to { transform: rotate(360deg); } }
@keyframes offer-dots {
  0% { content: ""; }
  25% { content: "."; }
  50% { content: ".."; }
  75%, 100% { content: "..."; }
}

dialog { width: min(94vw, 820px); max-height: 90vh; padding: 0; border: 0; border-radius: 10px; background: #000; box-shadow: 0 20px 80px #000a; }
dialog::backdrop { background: #000d; }
dialog img { display: block; width: 100%; max-height: 88vh; object-fit: contain; }
.close { position: absolute; top: .45rem; right: .45rem; z-index: 2; width: 44px; height: 44px; color: white; border: 0; border-radius: 50%; background: #000a; font-size: 2rem; line-height: 1; }

@media (min-width: 640px) {
  body { padding: 0 0 2rem; background: #dfe6eb; }
  main, footer { box-shadow: 0 0 40px #18334a1f; }
  .cta-stack { grid-template-columns: 1fr 1fr; }
  .cta-stack .button-primary { grid-column: 1 / -1; }
  .section, .offer-section { padding: 2.7rem 2.4rem; }
  .gallery { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 380px) {
  .brandbar span { display: none; }
  .deadline { flex-direction: column; gap: .12rem; align-items: center; }
  .metric-grid { grid-template-columns: 1fr; }
  .facts strong { font-size: .98rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .gallery img { transition: none; }
  .offer-loader-mark::before { animation-duration: 2.4s; }
  .offer-overlay iframe, .offer-loading { transition: none; }
}
