:root {
  --ink: #14212a;
  --ink-soft: #53626c;
  --night: #0d1d27;
  --night-soft: #17303e;
  --paper: #f5f3ed;
  --surface: #ffffff;
  --line: rgba(20, 33, 42, 0.14);
  --brand: #ef8b16;
  --brand-dark: #c96800;
  --green: #637c62;
  --success: #226b45;
  --danger: #9e342b;
  --shadow: 0 22px 60px rgba(13, 29, 39, 0.12);
  --radius-lg: 28px;
  --radius-md: 18px;
  --content: min(1160px, calc(100% - 40px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

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

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

button,
input,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid rgba(239, 139, 22, 0.58);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  color: var(--night);
  background: #fff;
  border-radius: 999px;
  transform: translateY(-180%);
  transition: transform 160ms ease;
}

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

.shell {
  width: var(--content);
  margin-inline: auto;
}

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  color: #fff;
  background: rgba(13, 29, 39, 0.94);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(18px);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  color: #fff;
  text-decoration: none;
  min-width: 0;
}

.brand img {
  width: 68px;
  height: 52px;
  object-fit: contain;
  padding: 4px;
  background: #fff;
  border-radius: 11px;
}

.brand-copy {
  display: grid;
  line-height: 1.1;
}

.brand-copy strong {
  font-size: 1rem;
  letter-spacing: 0.05em;
}

.brand-copy span {
  margin-top: 5px;
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
}

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

.site-nav a {
  padding: 10px 13px;
  color: rgba(255, 255, 255, 0.76);
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 650;
  text-decoration: none;
  transition: color 160ms ease, background 160ms ease;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
}

.site-nav .nav-cta {
  margin-left: 6px;
  color: var(--night);
  background: var(--brand);
}

.site-nav .nav-cta:hover,
.site-nav .nav-cta[aria-current="page"] {
  color: var(--night);
  background: #ffa83d;
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 50%;
  cursor: pointer;
}

.menu-toggle span,
.menu-toggle::before,
.menu-toggle::after {
  width: 20px;
  height: 2px;
  display: block;
  background: currentColor;
  content: "";
  transition: transform 180ms ease, opacity 180ms ease;
}

.menu-toggle span {
  margin: 4px 0;
}

.menu-toggle[aria-expanded="true"] span {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"]::before {
  transform: translateY(6px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"]::after {
  transform: translateY(-6px) rotate(-45deg);
}

.hero {
  position: relative;
  min-height: min(790px, calc(100svh - 78px));
  display: grid;
  align-items: end;
  overflow: hidden;
  isolation: isolate;
  color: #fff;
  background: var(--night);
}

.hero::before {
  position: absolute;
  z-index: -2;
  inset: 0;
  background: url('../images/1.jpg') center 45% / cover no-repeat;
  content: "";
  transform: scale(1.015);
}

.hero::after {
  position: absolute;
  z-index: -1;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7, 19, 26, 0.9) 0%, rgba(7, 19, 26, 0.62) 48%, rgba(7, 19, 26, 0.14) 78%),
    linear-gradient(0deg, rgba(7, 19, 26, 0.82), transparent 42%);
  content: "";
}

.hero-content {
  padding: clamp(90px, 14vh, 150px) 0 clamp(70px, 10vh, 108px);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 20px;
  color: var(--brand);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 34px;
  height: 2px;
  background: currentColor;
  content: "";
}

.hero h1,
.page-hero h1,
.section-heading h2,
.feature-copy h2,
.contact-intro h1 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  line-height: 0.98;
  letter-spacing: -0.045em;
}

.hero h1 {
  max-width: 820px;
  font-size: clamp(3.4rem, 8vw, 7.5rem);
}

.hero h1 span {
  color: var(--brand);
}

.hero-lead {
  max-width: 650px;
  margin: 28px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1.05rem, 2vw, 1.32rem);
}

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

.button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 12px 21px;
  color: var(--night);
  background: var(--brand);
  border: 1px solid var(--brand);
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 750;
  text-decoration: none;
  cursor: pointer;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.button:hover {
  background: #ffa83d;
  border-color: #ffa83d;
  transform: translateY(-2px);
}

.button-secondary {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.35);
}

.button-secondary:hover {
  color: var(--night);
  background: #fff;
  border-color: #fff;
}

.button-dark {
  color: #fff;
  background: var(--night);
  border-color: var(--night);
}

.button-dark:hover {
  color: #fff;
  background: var(--night-soft);
  border-color: var(--night-soft);
}

.section {
  padding: clamp(74px, 10vw, 126px) 0;
}

.section-white {
  background: var(--surface);
}

.section-dark {
  color: #fff;
  background: var(--night);
}

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

.section-heading h2,
.feature-copy h2 {
  font-size: clamp(2.5rem, 5.4vw, 5rem);
}

.section-heading p,
.feature-copy > p {
  margin: 20px 0 0;
  color: var(--ink-soft);
  font-size: 1.08rem;
}

.section-dark .section-heading p,
.section-dark .feature-copy > p {
  color: rgba(255, 255, 255, 0.7);
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: clamp(44px, 8vw, 110px);
  align-items: center;
}

.intro-image,
.feature-image {
  position: relative;
  overflow: hidden;
  min-height: 560px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.intro-image img,
.feature-image img {
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
  object-fit: cover;
}

.intro-image::after,
.feature-image::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(13, 29, 39, 0.24), transparent 45%);
  content: "";
}

.feature-list {
  display: grid;
  gap: 0;
  margin: 34px 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.feature-list li {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 14px;
  align-items: start;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

.feature-list .number {
  color: var(--brand-dark);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.feature-list strong {
  display: block;
  margin-bottom: 4px;
  font-size: 1.03rem;
}

.feature-list p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.94rem;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.route-card {
  min-height: 280px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 30px;
  color: #fff;
  background: var(--night-soft);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  text-decoration: none;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.route-card:hover {
  background: #1d3b4b;
  border-color: rgba(239, 139, 22, 0.7);
  transform: translateY(-6px);
}

.route-card .route-index {
  color: var(--brand);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.route-card h3 {
  margin: auto 0 12px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2rem;
  font-weight: 500;
  line-height: 1.05;
}

.route-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.66);
}

.route-card .arrow {
  margin-top: 22px;
  color: var(--brand);
  font-size: 1.35rem;
}

.cta-panel {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  align-items: center;
  padding: clamp(34px, 6vw, 64px);
  color: #fff;
  background: var(--green);
  border-radius: var(--radius-lg);
}

.cta-panel h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4vw, 3.7rem);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.035em;
}

.cta-panel p {
  max-width: 620px;
  margin: 14px 0 0;
  color: rgba(255, 255, 255, 0.78);
}

.page-hero {
  position: relative;
  min-height: 430px;
  display: grid;
  align-items: end;
  overflow: hidden;
  isolation: isolate;
  color: #fff;
  background: var(--night);
}

.page-hero::before {
  position: absolute;
  z-index: -2;
  inset: 0;
  background: var(--page-image, url('../images/2.jpg')) center / cover no-repeat;
  content: "";
}

.page-hero::after {
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(90deg, rgba(7, 19, 26, 0.91), rgba(7, 19, 26, 0.3)), linear-gradient(0deg, rgba(7, 19, 26, 0.7), transparent);
  content: "";
}

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

.page-hero h1,
.contact-intro h1 {
  max-width: 850px;
  font-size: clamp(3.2rem, 7vw, 6.6rem);
}

.page-hero p {
  max-width: 660px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.75);
  font-size: 1.08rem;
}

.commission-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.person-card {
  padding: 25px 26px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
}

.person-card .role {
  display: block;
  margin-bottom: 8px;
  color: var(--brand-dark);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.person-card strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.52rem;
  font-weight: 500;
}

.benefit-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.benefit-card {
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: 0 14px 38px rgba(13, 29, 39, 0.06);
}

.benefit-media {
  height: 220px;
  display: grid;
  place-items: center;
  padding: 28px;
  background: #f0eee8;
}

.benefit-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.benefit-media.photo {
  padding: 0;
}

.benefit-media.photo img {
  object-fit: cover;
}

.benefit-body {
  padding: 30px;
}

.benefit-body h2 {
  margin: 0 0 14px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2rem;
  font-weight: 500;
  line-height: 1.1;
}

.benefit-body p {
  margin: 0 0 14px;
  color: var(--ink-soft);
}

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

.benefit-body a {
  color: var(--brand-dark);
  font-weight: 700;
}

.insurance-card {
  grid-column: 1 / -1;
}

.insurance-card .benefit-body {
  display: grid;
  grid-template-columns: minmax(260px, 0.68fr) minmax(0, 1.32fr);
  gap: 40px;
}

.insurance-details {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.insurance-details section {
  padding: 20px;
  background: var(--paper);
  border-radius: 14px;
}

.insurance-details h3 {
  margin: 0 0 8px;
  color: var(--brand-dark);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.insurance-details p {
  margin: 0;
  font-size: 0.92rem;
}

.notice {
  margin: 0 0 28px;
  padding: 18px 20px;
  color: #5e4a23;
  background: #fff1cf;
  border-left: 4px solid var(--brand);
  border-radius: 0 12px 12px 0;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.7fr) minmax(0, 1.3fr);
  gap: clamp(34px, 7vw, 90px);
  align-items: start;
}

.contact-intro {
  position: sticky;
  top: 120px;
}

.contact-intro h1 {
  font-size: clamp(3rem, 6vw, 5.8rem);
}

.contact-intro > p {
  margin: 24px 0 0;
  color: var(--ink-soft);
}

.contact-data {
  display: grid;
  gap: 18px;
  margin-top: 36px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}

.contact-data div {
  display: grid;
  gap: 3px;
}

.contact-data span {
  color: var(--ink-soft);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.contact-data a,
.contact-data address {
  color: var(--ink);
  font-style: normal;
  font-weight: 650;
}

.contact-card {
  padding: clamp(28px, 5vw, 52px);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.contact-card h2 {
  margin: 0 0 8px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2.2rem;
  font-weight: 500;
}

.contact-card > p {
  margin: 0 0 30px;
  color: var(--ink-soft);
}

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

.field {
  display: grid;
  gap: 8px;
}

.field-full {
  grid-column: 1 / -1;
}

.field label {
  font-size: 0.86rem;
  font-weight: 750;
}

.field input,
.field textarea {
  width: 100%;
  padding: 13px 15px;
  color: var(--ink);
  background: #fbfaf7;
  border: 1px solid #cfd4d4;
  border-radius: 12px;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.field input:focus,
.field textarea:focus {
  border-color: var(--brand-dark);
  box-shadow: 0 0 0 4px rgba(239, 139, 22, 0.13);
  outline: none;
}

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

.form-note {
  margin: 18px 0 0;
  color: var(--ink-soft);
  font-size: 0.82rem;
}

.form-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 24px;
}

.honeypot {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  white-space: nowrap !important;
}

.alert {
  margin-bottom: 24px;
  padding: 15px 17px;
  border-radius: 12px;
  font-weight: 650;
}

.alert-success {
  color: var(--success);
  background: #e6f4ec;
  border: 1px solid #b9ddc7;
}

.alert-error {
  color: var(--danger);
  background: #fbe9e7;
  border: 1px solid #e8bdb8;
}

.site-footer {
  color: rgba(255, 255, 255, 0.72);
  background: #08151c;
}

.footer-main {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr;
  gap: 50px;
  padding: 66px 0 52px;
}

.footer-brand {
  max-width: 420px;
}

.footer-brand strong {
  display: block;
  color: #fff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.5rem;
  font-weight: 500;
  line-height: 1.2;
}

.footer-brand p {
  margin: 16px 0 0;
}

.footer-column h2 {
  margin: 0 0 16px;
  color: #fff;
  font-size: 0.76rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.footer-column ul {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-column a {
  color: rgba(255, 255, 255, 0.72);
}

.footer-column a:hover {
  color: var(--brand);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 0 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.82rem;
}

.footer-bottom p {
  margin: 0;
}

@media (max-width: 980px) {
  .menu-toggle {
    display: inline-flex;
    flex-direction: column;
  }

  .site-nav {
    position: fixed;
    inset: 78px 0 auto;
    max-height: calc(100svh - 78px);
    display: grid;
    gap: 4px;
    padding: 22px 20px 30px;
    overflow-y: auto;
    background: var(--night);
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    transform: translateY(-130%);
    visibility: hidden;
    transition: transform 220ms ease, visibility 220ms ease;
  }

  .site-nav[data-open="true"] {
    transform: translateY(0);
    visibility: visible;
  }

  .site-nav a {
    padding: 13px 16px;
    font-size: 1rem;
  }

  .site-nav .nav-cta {
    margin: 8px 0 0;
    text-align: center;
  }

  .intro-grid,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .intro-image {
    min-height: 440px;
    order: -1;
  }

  .contact-intro {
    position: static;
  }

  .insurance-card .benefit-body {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  :root {
    --content: min(100% - 28px, 1160px);
    --radius-lg: 22px;
  }

  .brand-copy span {
    display: none;
  }

  .brand img {
    width: 60px;
    height: 46px;
  }

  .hero {
    min-height: calc(100svh - 78px);
  }

  .hero::before {
    background-position: 62% center;
  }

  .hero::after {
    background: linear-gradient(0deg, rgba(7, 19, 26, 0.95), rgba(7, 19, 26, 0.28) 82%);
  }

  .hero h1 {
    font-size: clamp(3rem, 15vw, 5.2rem);
  }

  .card-grid,
  .commission-grid,
  .benefit-grid,
  .insurance-details,
  .form-grid,
  .footer-main {
    grid-template-columns: 1fr;
  }

  .route-card {
    min-height: 230px;
  }

  .cta-panel {
    grid-template-columns: 1fr;
  }

  .cta-panel .button {
    justify-self: start;
  }

  .page-hero {
    min-height: 390px;
  }

  .insurance-card {
    grid-column: auto;
  }

  .benefit-body,
  .contact-card {
    padding: 24px;
  }

  .form-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .form-actions .button {
    width: 100%;
  }

  .footer-main {
    gap: 34px;
  }

  .footer-bottom {
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
