:root {
  --aqua: #008e97;
  --aqua-dark: #006778;
  --orange: #fc4c02;
  --navy: #062f3a;
  --deep: #031e26;
  --ink: #17343b;
  --muted: #5f747a;
  --line: #d9edf0;
  --soft: #f7fbfc;
  --white: #ffffff;
  --shadow: 0 20px 60px rgba(3, 30, 38, 0.12);
  --radius: 8px;
  --container: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
}

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

a {
  color: inherit;
}

.container {
  width: min(var(--container), calc(100% - 40px));
  margin: 0 auto;
}

.narrow {
  max-width: 820px;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  transform: translateY(-160%);
  padding: 10px 14px;
  color: var(--white);
  background: var(--navy);
}

.skip-link:focus {
  transform: translateY(0);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(217, 237, 240, 0.85);
  backdrop-filter: blur(16px);
}

.header-inner {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--navy);
  text-decoration: none;
}

.brand-mark {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  color: var(--white);
  background: var(--navy);
  border: 3px solid var(--aqua);
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-weight: 800;
  box-shadow: inset -6px -6px 0 rgba(252, 76, 2, 0.9);
}

.brand strong,
.brand small {
  display: block;
}

.brand small {
  color: var(--muted);
  font-size: 0.75rem;
  letter-spacing: 0;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.site-nav a {
  padding: 10px 12px;
  color: var(--ink);
  border-radius: var(--radius);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.94rem;
}

.site-nav a:hover,
.site-nav a:focus,
.site-nav a.is-active {
  color: var(--navy);
  background: var(--soft);
  outline: none;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.nav-toggle span:not(.sr-only) {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  background: var(--navy);
}

.hero {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(3, 30, 38, 0.96), rgba(3, 30, 38, 0.76)),
    url("../img/space-coast-home.svg") center right / cover no-repeat;
}

.hero-grid {
  min-height: 690px;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(290px, 0.62fr);
  align-items: end;
  gap: 56px;
  padding: 88px 0 72px;
}

.hero-copy {
  max-width: 760px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--orange);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--navy);
  line-height: 1.05;
  letter-spacing: 0;
}

.hero h1 {
  color: var(--white);
  font-size: 6.4rem;
  max-width: 740px;
}

.hero-lede {
  max-width: 650px;
  margin: 24px 0 0;
  color: #e6f5f7;
  font-size: 1.25rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 18px;
  color: var(--white);
  background: var(--orange);
  border: 2px solid var(--orange);
  border-radius: var(--radius);
  text-decoration: none;
  font-weight: 800;
  line-height: 1.2;
  cursor: pointer;
}

.button:hover,
.button:focus {
  background: #d64000;
  border-color: #d64000;
  outline: none;
}

.button-secondary {
  color: var(--white);
  background: transparent;
  border-color: rgba(255, 255, 255, 0.62);
}

.button-secondary:hover,
.button-secondary:focus {
  color: var(--navy);
  background: var(--white);
  border-color: var(--white);
}

.button-light {
  color: var(--navy);
  background: var(--white);
  border-color: var(--white);
}

.button-light:hover,
.button-light:focus {
  color: var(--white);
  background: var(--navy);
  border-color: var(--navy);
}

.button-full {
  width: 100%;
}

.hero-media {
  align-self: center;
  padding: 14px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero-media img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--radius);
}

.broker-disclosure {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.45;
}

.hero-disclosure,
.contact-band .broker-disclosure {
  color: #d7eef2;
}

.intro-section,
.service-section,
.guide-section,
.content-section {
  padding: 84px 0;
}

.split-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 56px;
  align-items: start;
}

.split-layout h2,
.section-heading h2,
.contact-band h2,
.page-hero h1 {
  font-size: 3.55rem;
}

.lead-panel {
  padding: 28px;
  background: var(--soft);
  border-left: 8px solid var(--aqua);
  border-radius: var(--radius);
}

.lead-panel p,
.visual-copy p,
.page-hero p {
  margin: 0;
  font-size: 1.08rem;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 36px;
}

.card-grid {
  display: grid;
  gap: 18px;
}

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

.card-grid.four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.info-card,
.guide-card,
.side-panel {
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 10px 30px rgba(3, 30, 38, 0.06);
}

.info-card h3,
.guide-card h3,
.side-panel h2 {
  margin-top: 12px;
  font-size: 1.35rem;
}

.info-card p,
.guide-card p,
.side-panel p {
  color: var(--muted);
}

.info-card a,
.guide-card a,
.side-panel a,
.text-link {
  color: var(--aqua-dark);
  font-weight: 800;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.prose a {
  color: var(--aqua-dark);
  font-weight: 800;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.card-number {
  color: var(--orange);
  font-weight: 900;
}

.visual-band {
  padding: 84px 0;
  background: var(--navy);
}

.visual-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(280px, 1fr);
  gap: 48px;
  align-items: center;
}

.visual-copy h2,
.visual-copy p,
.visual-copy .text-link {
  color: var(--white);
}

.visual-copy p {
  margin-top: 20px;
  color: #d7eef2;
}

.visual-copy .text-link {
  display: inline-block;
  margin-top: 22px;
}

.visual-grid img {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: var(--radius);
}

.contact-band {
  padding: 68px 0;
  color: var(--white);
  background: var(--aqua-dark);
}

.contact-band-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.contact-band h2 {
  color: var(--white);
  max-width: 760px;
}

.contact-band p {
  max-width: 760px;
}

.page-hero {
  padding: 86px 0;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(6, 47, 58, 0.96), rgba(6, 47, 58, 0.82)),
    url("../img/space-coast-home.svg") center / cover no-repeat;
}

.page-hero.compact {
  padding: 64px 0;
}

.page-hero h1,
.page-hero p {
  color: var(--white);
}

.page-hero p {
  margin-top: 18px;
}

.page-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 44px;
  align-items: center;
}

.profile-large {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border: 12px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
}

.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 40px;
  align-items: start;
}

.prose {
  max-width: 820px;
}

.prose h2 {
  margin-top: 42px;
  font-size: 1.85rem;
}

.prose h2:first-child {
  margin-top: 0;
}

.prose p,
.prose li {
  color: var(--muted);
  font-size: 1.02rem;
}

.check-list {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  margin: 0 0 12px;
  padding-left: 28px;
}

.check-list li::before {
  content: "";
  position: absolute;
  top: 0.55em;
  left: 0;
  width: 10px;
  height: 10px;
  background: var(--orange);
  border-radius: 50%;
  box-shadow: 10px 0 0 var(--aqua);
}

.detail-list {
  margin: 18px 0;
}

.detail-list div {
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.detail-list dt {
  color: var(--navy);
  font-weight: 800;
}

.detail-list dd {
  margin: 4px 0 0;
  color: var(--muted);
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 40px;
  align-items: start;
}

.contact-form {
  padding: 32px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.form-intro h2 {
  font-size: 2rem;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 24px;
}

.field {
  margin-top: 18px;
}

label {
  display: block;
  margin-bottom: 8px;
  color: var(--navy);
  font-weight: 800;
}

label span {
  color: var(--muted);
  font-weight: 400;
}

input,
select,
textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 13px;
  color: var(--ink);
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font: inherit;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--aqua);
  outline: 3px solid rgba(0, 142, 151, 0.18);
  background: var(--white);
}

.field-error {
  margin: 8px 0 0;
  color: #a83200;
  font-size: 0.9rem;
}

.notice {
  margin: 0 0 22px;
  padding: 14px 16px;
  border-radius: var(--radius);
  font-weight: 700;
}

.notice-success {
  color: #0d4739;
  background: #ddf7ef;
  border: 1px solid #9fdcca;
}

.notice-error {
  color: #812800;
  background: #ffe7dc;
  border: 1px solid #ffc2a3;
}

.honeypot {
  position: absolute;
  left: -5000px;
}

.site-footer {
  padding: 56px 0 24px;
  color: #d7eef2;
  background: var(--deep);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.85fr 0.85fr 0.85fr;
  gap: 34px;
}

.footer-brand strong,
.site-footer h2 {
  color: var(--white);
}

.footer-brand small,
.site-footer p,
.site-footer a {
  color: #d7eef2;
}

.site-footer h2 {
  margin: 0 0 12px;
  font-size: 1rem;
  text-transform: uppercase;
}

.footer-copy {
  max-width: 360px;
}

.social-links,
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.social-links a,
.footer-nav a {
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.social-links a[aria-disabled="true"] {
  opacity: 0.65;
}

.micro-copy {
  font-size: 0.82rem;
}

.footer-disclosure,
.site-footer .broker-disclosure,
.site-footer .micro-copy {
  color: #a9c6cc;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  margin-top: 42px;
  padding-top: 20px;
  border-top: 1px solid rgba(217, 237, 240, 0.18);
}

.footer-bottom p {
  margin: 0;
  max-width: 720px;
}

@media (max-width: 1120px) {
  .card-grid.four {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 920px) {
  .header-inner {
    min-height: 70px;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: 70px;
    left: 20px;
    right: 20px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
  }

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

  .hero-grid,
  .split-layout,
  .visual-grid,
  .content-grid,
  .contact-layout,
  .page-hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    min-height: auto;
    padding: 72px 0 56px;
  }

  .hero h1 {
    font-size: 4.6rem;
  }

  .split-layout h2,
  .section-heading h2,
  .contact-band h2,
  .page-hero h1 {
    font-size: 2.75rem;
  }

  .hero-media,
  .profile-large {
    max-width: 340px;
  }

  .card-grid.three,
  .card-grid.four,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .contact-band-inner,
  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 620px) {
  .container {
    width: min(var(--container), calc(100% - 28px));
  }

  .brand strong {
    font-size: 0.95rem;
  }

  .brand small {
    font-size: 0.68rem;
  }

  .hero h1 {
    font-size: 3.25rem;
  }

  .split-layout h2,
  .section-heading h2,
  .contact-band h2,
  .page-hero h1 {
    font-size: 2.18rem;
  }

  .hero-actions,
  .form-grid {
    display: grid;
    grid-template-columns: 1fr;
  }

  .button {
    width: 100%;
  }

  .intro-section,
  .service-section,
  .guide-section,
  .content-section,
  .visual-band {
    padding: 58px 0;
  }

  .contact-form,
  .info-card,
  .guide-card,
  .side-panel,
  .lead-panel {
    padding: 22px;
  }
}
