:root {
  --black: #0b0b0d;
  --ink: #202024;
  --muted: #69696f;
  --line: #e8e3d7;
  --soft: #faf8f3;
  --gold: #d99a00;
  --gold-dark: #a87400;
  --gold-soft: #fff4d8;
  --white: #ffffff;
  --shadow: 0 22px 55px rgba(15, 15, 18, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

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

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid rgba(12, 12, 14, 0.08);
  backdrop-filter: blur(16px);
}

.nav-wrap {
  min-height: 92px;
  display: flex;
  align-items: center;
  gap: 26px;
}

.brand {
  width: 235px;
  flex: 0 0 auto;
}

.main-nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.main-nav a {
  position: relative;
  padding: 34px 0;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 28px;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width 0.2s ease;
}

.main-nav a:hover::after {
  width: 100%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.language-toggle {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.lang-btn {
  border: 0;
  padding: 4px 2px;
  color: var(--muted);
  background: transparent;
  cursor: pointer;
  font-weight: 900;
}

.lang-btn.active {
  color: var(--black);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 28px;
  border: 0;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0;
}

.btn-gold {
  color: var(--white);
  background: linear-gradient(135deg, #e8ad12, #c98b00);
  box-shadow: 0 12px 22px rgba(201, 139, 0, 0.24);
}

.btn-gold:hover {
  background: linear-gradient(135deg, #f0b722, #ae7900);
}

.btn-small {
  min-height: 44px;
  padding: 0 18px;
  font-size: 13px;
}

.btn-wide {
  width: 100%;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  margin-left: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--black);
}

.section-pad {
  padding: 86px 0;
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: calc(100vh - 92px);
  display: flex;
  align-items: center;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.96) 0%, rgba(255, 255, 255, 0.9) 45%, rgba(255, 255, 255, 0.7) 100%),
    radial-gradient(circle at 12% 18%, rgba(217, 154, 0, 0.14), transparent 34%),
    linear-gradient(135deg, #ffffff 0%, #f5f0e5 100%);
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto -12% -28% auto;
  width: 58vw;
  height: 58vw;
  max-width: 760px;
  max-height: 760px;
  background: url("assets/medicare-stop-logo.png") center / contain no-repeat;
  opacity: 0.055;
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(360px, 0.9fr);
  gap: 54px;
  align-items: start;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--gold-dark);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  max-width: 720px;
  margin: 0;
  color: var(--black);
  font-size: clamp(46px, 7vw, 82px);
  line-height: 0.98;
  letter-spacing: 0;
  text-transform: uppercase;
}

h2 {
  margin: 0;
  color: var(--black);
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.08;
  letter-spacing: 0;
}

h3 {
  margin: 0;
  color: var(--black);
  font-size: 18px;
  line-height: 1.25;
}

.hero-text {
  max-width: 610px;
  margin: 28px 0 36px;
  color: var(--ink);
  font-size: 20px;
}

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

.pillar {
  display: flex;
  gap: 13px;
  align-items: center;
}

.pillar strong {
  display: block;
  color: var(--black);
  font-size: 14px;
  font-weight: 900;
  text-transform: uppercase;
}

.pillar p {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.icon-circle,
.service-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 54px;
  height: 54px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  color: var(--black);
  background: var(--white);
}

.icon-circle svg {
  width: 27px;
  height: 27px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.form-card {
  border: 1px solid rgba(12, 12, 14, 0.1);
  border-radius: 8px;
  padding: 34px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow);
}

.form-head {
  margin-bottom: 24px;
  text-align: center;
}

.form-head h2 {
  font-size: 32px;
  text-transform: uppercase;
}

.form-head p:last-child {
  margin: 8px 0 0;
  color: var(--muted);
}

.agent-form {
  display: grid;
  gap: 14px;
}

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

label,
fieldset {
  margin: 0;
}

label span,
legend {
  display: block;
  margin-bottom: 7px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid #d8d5cd;
  border-radius: 6px;
  padding: 12px 13px;
  color: var(--ink);
  background: var(--white);
  outline: none;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(217, 154, 0, 0.14);
}

textarea {
  resize: vertical;
}

fieldset {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
}

legend {
  padding: 0 7px;
}

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

.check-grid label {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  font-size: 14px;
  font-weight: 700;
}

.check-grid input {
  width: auto;
}

.check-grid span {
  margin: 0;
}

.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
}

.form-alert {
  margin-bottom: 16px;
  border-radius: 6px;
  padding: 12px 14px;
  font-size: 14px;
  font-weight: 800;
}

.form-alert.success {
  color: #1f6a36;
  background: #e9f7ed;
}

.form-alert.error {
  color: #9b2b23;
  background: #fff0ee;
}

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

.section-heading {
  max-width: 780px;
  text-align: center;
}

.section-heading p:last-child {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 18px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 46px;
}

.service-card {
  min-height: 246px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 30px 24px;
  background: var(--white);
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 34px rgba(18, 18, 20, 0.09);
}

.service-icon {
  margin: 0 auto 20px;
  color: var(--gold-dark);
  font-weight: 900;
}

.service-card p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 15px;
}

.split-section {
  background: var(--soft);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.split-grid {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 62px;
  align-items: center;
}

.check-list {
  display: grid;
  gap: 14px;
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 34px;
  color: var(--ink);
  font-size: 18px;
  font-weight: 700;
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: -1px;
  color: var(--gold);
  font-weight: 900;
}

.brand-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 34px;
  background: var(--white);
  box-shadow: 0 16px 34px rgba(18, 18, 20, 0.07);
}

.brand-panel img {
  width: min(440px, 100%);
  margin: 0 auto;
}

.brand-panel p {
  margin: 22px 0 0;
  color: var(--muted);
  text-align: center;
}

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

.advisor-step {
  border-left: 3px solid var(--gold);
  padding: 26px 26px 28px;
  background: #fbfbfa;
}

.advisor-step span {
  display: block;
  margin-bottom: 16px;
  color: var(--gold-dark);
  font-size: 14px;
  font-weight: 900;
}

.advisor-step p {
  margin: 12px 0 0;
  color: var(--muted);
}

.final-cta {
  padding: 38px 0;
  background: linear-gradient(90deg, #141414, #24211a);
  color: var(--white);
}

.cta-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.final-cta h2 {
  color: var(--white);
  font-size: clamp(28px, 4vw, 40px);
}

.site-footer {
  padding: 54px 0 28px;
  background: var(--white);
  border-top: 1px solid var(--line);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 0.7fr;
  gap: 44px;
}

.footer-logo {
  width: 280px;
}

.footer-domain {
  margin: 14px 0 0;
  color: var(--muted);
  font-weight: 800;
}

.site-footer h3 {
  margin-bottom: 16px;
  font-size: 15px;
  text-transform: uppercase;
}

.site-footer p,
.site-footer a {
  display: block;
  margin: 0 0 9px;
  color: var(--muted);
}

.site-footer a:hover {
  color: var(--gold-dark);
}

.footer-bottom {
  margin-top: 34px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.footer-bottom p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}

@media (max-width: 1040px) {
  .menu-toggle {
    display: block;
  }

  .nav-wrap {
    flex-wrap: wrap;
    min-height: 82px;
    gap: 14px;
    padding: 12px 0;
  }

  .brand {
    width: 205px;
  }

  .main-nav,
  .header-actions {
    display: none;
    width: 100%;
  }

  .main-nav.open,
  .header-actions.open {
    display: flex;
  }

  .main-nav {
    order: 4;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    margin: 0;
    padding: 10px 0;
  }

  .main-nav a {
    width: 100%;
    padding: 12px 0;
  }

  .main-nav a::after {
    bottom: 8px;
  }

  .header-actions {
    order: 5;
    justify-content: space-between;
    padding-bottom: 10px;
  }

  .hero-grid,
  .split-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 0;
  }

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

@media (max-width: 700px) {
  .container {
    width: min(100% - 28px, 1160px);
  }

  .section-pad {
    padding: 58px 0;
  }

  .brand {
    width: 180px;
  }

  h1 {
    font-size: 42px;
  }

  .hero-text {
    font-size: 17px;
  }

  .hero-icons,
  .service-grid,
  .advisor-grid,
  .form-row,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .form-card {
    padding: 24px 18px;
  }

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

  .cta-wrap {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-logo {
    width: 230px;
  }
}
