/* Martell Health Group Website */
:root {
  --navy-deep: #071A30;
  --navy: #0D2B4E;
  --navy-mid: #1A3F6B;
  --gold: #C9A84C;
  --gold-light: #E8C97A;
  --white: #FFFFFF;
  --off-white: #FAF9F6;
  --soft-panel: #F5F7FA;
  --soft-blue: #EEF3F7;
  --border: #D9DFE6;
  --text: #0D2B4E;
  --muted: #5D6878;
  --muted-2: #7B8494;
  --shadow: 0 16px 45px rgba(7, 26, 48, 0.12);
  --shadow-soft: 0 10px 28px rgba(7, 26, 48, 0.08);
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --rounded: "Quicksand", "Inter", system-ui, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--text);
  background: var(--off-white);
  line-height: 1.5;
}

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

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

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

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  background: var(--navy);
  color: var(--white);
  padding: 10px 14px;
  border-radius: 10px;
  z-index: 100;
}

.skip-link:focus { top: 16px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 249, 246, 0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(217, 223, 230, 0.9);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
}

.brand-mark {
  width: 54px;
  height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
  font-size: 31px;
  font-weight: 700;
  color: var(--gold-light);
  background: linear-gradient(135deg, var(--navy-deep), var(--navy-mid));
  border: 1px solid rgba(201, 168, 76, 0.55);
  border-radius: 50%;
  box-shadow: 0 8px 24px rgba(7, 26, 48, 0.16);
}

.footer-brand .brand-mark {
  background: rgba(255,255,255,0.06);
  border-color: rgba(232,201,122,0.72);
  box-shadow: none;
}

.brand-text {
  display: grid;
  gap: 2px;
  letter-spacing: 0.16em;
  color: var(--navy);
  line-height: 1;
}

.brand-text strong {
  font-family: var(--serif);
  font-size: 24px;
  letter-spacing: 0.15em;
}

.brand-text span {
  font-family: var(--serif);
  font-size: 16px;
  letter-spacing: 0.18em;
}

.footer-brand .brand-text { color: var(--white); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  font-size: 13px;
  text-transform: uppercase;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--navy);
}

.nav-links a { position: relative; }

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

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 10px;
  padding: 13px 22px;
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: var(--navy);
  color: var(--white);
  box-shadow: var(--shadow-soft);
}

.btn-primary:hover {
  background: var(--navy-deep);
  box-shadow: var(--shadow);
}

.btn-secondary {
  background: rgba(255,255,255,0.82);
  color: var(--navy);
  border-color: rgba(201, 168, 76, 0.72);
}

.btn-accent {
  background: var(--gold);
  color: var(--navy-deep);
  box-shadow: 0 12px 30px rgba(201, 168, 76, 0.24);
}

.btn-accent:hover { background: #B9973F; }

.btn-large {
  min-height: 56px;
  padding: 17px 24px;
}

.mobile-menu-button {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  background: var(--white);
  border-radius: 10px;
  padding: 10px;
}

.mobile-menu-button span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--navy);
  border-radius: 10px;
}

.hero {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(250,249,246,1) 0%, rgba(250,249,246,0.93) 50%, rgba(250,249,246,0.72) 100%),
    radial-gradient(circle at 76% 18%, rgba(201,168,76,0.18), transparent 30%),
    radial-gradient(circle at 24% 30%, rgba(13,43,78,0.10), transparent 32%);
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  background: var(--border);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(390px, 0.94fr);
  align-items: center;
  gap: 54px;
  padding: 78px 0 50px;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--gold);
  text-transform: uppercase;
  font-weight: 800;
  letter-spacing: 0.08em;
  font-size: 13px;
}

.hero h1,
.section-heading h2,
.difference-copy h2,
.cta-band h2,
.legal-page h1 {
  font-family: var(--rounded);
  font-weight: 700;
  line-height: 1.04;
  color: var(--navy);
  margin: 0;
  letter-spacing: -0.045em;
}

.hero h1 {
  font-size: clamp(46px, 6vw, 80px);
  max-width: 740px;
}

.hero-subtitle {
  font-size: clamp(18px, 2vw, 21px);
  max-width: 650px;
  color: #27334C;
  margin: 26px 0 0;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 30px;
}

.hero-mini-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.hero-mini-proof span {
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(201,168,76,0.48);
  background: rgba(255,255,255,0.64);
  color: var(--navy);
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 13px;
  font-weight: 700;
}

.hero-visual {
  justify-self: end;
  width: min(100%, 480px);
}

.advisor-card {
  position: relative;
  border-radius: 28px;
  padding: 16px;
  background:
    linear-gradient(145deg, rgba(255,255,255,0.95), rgba(238,243,247,0.72)),
    var(--soft-blue);
  border: 1px solid rgba(217, 223, 230, 0.95);
  box-shadow: 0 28px 70px rgba(7, 26, 48, 0.18);
  overflow: hidden;
}

.advisor-card::before {
  content: "";
  position: absolute;
  inset: -84px -110px auto auto;
  width: 250px;
  height: 250px;
  border-radius: 999px;
  background: rgba(201, 168, 76, 0.24);
  filter: blur(8px);
  z-index: 0;
}

.advisor-topline {
  position: relative;
  z-index: 2;
  display: inline-flex;
  margin: 0 0 12px;
  padding: 9px 13px;
  border-radius: 999px;
  background: rgba(13,43,78,0.08);
  color: var(--navy);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.advisor-photo {
  position: relative;
  z-index: 1;
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: center top;
  border-radius: 22px;
  border: 1px solid rgba(217, 223, 230, 0.95);
  box-shadow: 0 18px 40px rgba(7, 26, 48, 0.14);
  background: #D9DFE6;
}

.advisor-caption {
  position: relative;
  z-index: 2;
  margin-top: 14px;
  padding: 14px 16px;
  border-radius: 18px;
  background: var(--navy);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.advisor-caption strong {
  font-family: var(--serif);
  font-size: 26px;
  line-height: 1;
}

.advisor-caption span {
  color: rgba(255,255,255,0.78);
  font-size: 13px;
}

.trust-bar {
  background: linear-gradient(135deg, var(--navy-deep), var(--navy), var(--navy-mid));
  color: var(--white);
}

.trust-grid {
  min-height: 96px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
  align-items: center;
}

.trust-item {
  display: flex;
  gap: 14px;
  align-items: center;
}

.trust-icon {
  width: 44px;
  height: 44px;
  border: 1px solid rgba(232,201,122,0.72);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 44px;
  color: var(--gold-light);
}

.trust-item strong,
.trust-item span:not(.trust-icon) {
  display: block;
}

.trust-item strong {
  font-size: 14px;
  margin-bottom: 2px;
}

.trust-item span {
  color: rgba(255,255,255,0.80);
  font-size: 13px;
}

.section {
  padding: 66px 0;
}

.section-heading {
  text-align: center;
  margin-bottom: 34px;
}

.section-heading h2 {
  font-size: clamp(34px, 4vw, 48px);
}

.section-heading p {
  margin: 12px auto 0;
  color: var(--muted);
  max-width: 640px;
}

.heading-line {
  width: 50px;
  height: 2px;
  background: var(--gold);
  margin: 14px auto 0;
}

.cards {
  display: grid;
  gap: 24px;
}

.cards.five {
  grid-template-columns: repeat(5, 1fr);
}

.cards.three {
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.service-card,
.testimonial-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 30px 20px;
  text-align: center;
  box-shadow: var(--shadow-soft);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.service-card:hover,
.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.card-icon {
  width: 68px;
  height: 68px;
  background: var(--soft-blue);
  border: 1px solid rgba(201,168,76,0.24);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
  font-size: 28px;
  color: var(--navy);
}

.service-card h3 {
  font-family: var(--serif);
  color: var(--navy);
  font-size: 25px;
  margin: 0 0 10px;
}

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

.split-section {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background:
    linear-gradient(90deg, rgba(238,243,247,0.45), rgba(255,255,255,0.78)),
    var(--white);
}

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

.difference-copy {
  border-right: 1px solid var(--border);
  padding-right: 54px;
}

.difference-copy h2 {
  font-size: clamp(36px, 4vw, 56px);
  margin-bottom: 18px;
}

.difference-copy p {
  color: var(--muted);
  margin: 0 0 14px;
}

.signature {
  font-family: "Brush Script MT", "Segoe Script", cursive;
  color: var(--gold);
  font-size: 38px;
  margin-top: 22px;
}

.advisor-title {
  font-size: 13px;
  color: var(--navy) !important;
  font-weight: 700;
}

.difference-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px 32px;
}

.benefit {
  display: flex;
  gap: 14px;
}

.benefit span {
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  color: var(--navy);
  font-weight: 800;
  background: rgba(255,255,255,0.75);
}

.benefit h3 {
  margin: 0 0 5px;
  font-size: 17px;
  color: var(--navy);
}

.benefit p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  text-align: center;
  position: relative;
}

.step {
  position: relative;
}

.step:not(:last-child)::after {
  content: "→";
  position: absolute;
  right: -23px;
  top: 32px;
  color: var(--gold);
  font-size: 24px;
}

.step-icon {
  width: 76px;
  height: 76px;
  background: #DDE6EE;
  border: 1px solid rgba(201,168,76,0.24);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--navy);
  font-size: 31px;
  margin-bottom: 8px;
}

.step-number {
  display: block;
  width: 26px;
  height: 26px;
  background: var(--navy);
  color: var(--white);
  border-radius: 50%;
  line-height: 26px;
  font-size: 13px;
  font-weight: 800;
  margin: -6px auto 9px;
}

.step h3 {
  margin: 0 0 6px;
  color: var(--navy);
  font-size: 17px;
}

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

.testimonials {
  background: var(--white);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.testimonial-card {
  text-align: left;
  padding: 28px 30px;
}

.quote {
  color: var(--gold);
  font-family: var(--serif);
  font-size: 62px;
  line-height: 0.7;
  display: block;
}

.testimonial-card p {
  color: var(--muted);
  margin: 0 0 18px;
  font-size: 14px;
}

.testimonial-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
}

.testimonial-footer strong {
  color: var(--navy);
  font-size: 13px;
}

.testimonial-footer span {
  color: var(--gold);
  letter-spacing: 2px;
}

.cta-band {
  padding: 35px 0;
  background: var(--off-white);
}

.cta-grid {
  min-height: 104px;
  background: linear-gradient(135deg, var(--navy-deep), var(--navy), var(--navy-mid));
  color: var(--white);
  border-radius: 14px;
  padding: 27px 44px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 26px;
  box-shadow: var(--shadow);
}

.cta-icon {
  width: 62px;
  height: 62px;
  border: 2px solid rgba(232,201,122,0.88);
  color: var(--gold-light);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
}

.cta-band h2 {
  color: var(--white);
  font-size: clamp(30px, 3.5vw, 43px);
}

.cta-band p {
  margin: 7px 0 0;
  color: rgba(255,255,255,0.84);
}

.faq-section {
  padding-top: 28px;
}

.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 34px;
}

.faq-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-bottom: none;
  padding: 0;
}

.faq-item:last-child {
  border-bottom: 1px solid var(--border);
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 15px 20px;
  font-weight: 700;
  color: var(--navy);
  position: relative;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 20px;
  color: var(--navy);
  font-size: 20px;
  top: 11px;
}

.faq-item[open] summary::after { content: "−"; }

.faq-item p {
  margin: 0;
  padding: 0 20px 18px;
  color: var(--muted);
  font-size: 14px;
}

.site-footer {
  background: linear-gradient(135deg, var(--navy-deep), var(--navy), var(--navy-mid));
  color: var(--white);
  padding: 48px 0 20px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.8fr 1.3fr 1fr;
  gap: 42px;
}

.site-footer h3 {
  font-size: 16px;
  margin: 0 0 14px;
  color: var(--gold-light);
}

.site-footer p,
.site-footer a,
.site-footer span {
  color: rgba(255,255,255,0.78);
  font-size: 14px;
}

.site-footer a,
.site-footer span {
  display: block;
  margin: 7px 0;
}

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

.social-row {
  display: flex;
  gap: 12px;
  margin-bottom: 18px;
}

.social-row a {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  border: 1px solid rgba(232,201,122,0.48);
  border-radius: 50%;
  font-weight: 800;
  color: var(--gold-light);
}

.footer-cta {
  display: inline-flex !important;
  color: var(--navy-deep) !important;
  margin-top: 12px !important;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  margin-top: 34px;
  padding-top: 18px;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
}

.footer-bottom p {
  margin: 0;
}

.footer-bottom div {
  display: flex;
  gap: 26px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  width: fit-content;
}

.footer-brand .brand-mark {
  flex: 0 0 54px;
  width: 54px;
  height: 54px;
  line-height: 1;
}

.footer-brand .brand-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  line-height: 1;
}

.footer-brand .brand-text strong,
.footer-brand .brand-text span {
  display: block;
  line-height: 1;
}

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.legal-page {
  padding: 70px 0;
}

.legal-page h1 {
  font-size: 54px;
  color: var(--navy);
  margin: 0 0 22px;
}

.legal-page h2 {
  color: var(--navy);
  margin-top: 32px;
}

.legal-page p,
.legal-page li {
  color: var(--muted);
}

@media (max-width: 1120px) {
  .cards.five {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 1040px) {
  .nav-links { gap: 18px; }

  .hero-grid {
    grid-template-columns: 1fr;
    padding-top: 54px;
  }

  .hero-visual {
    justify-self: start;
    width: min(100%, 520px);
  }

  .trust-grid {
    grid-template-columns: repeat(2, 1fr);
    padding: 24px 0;
  }

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

  .difference-copy {
    border-right: none;
    padding-right: 0;
    border-bottom: 1px solid var(--border);
    padding-bottom: 36px;
  }

  .steps,
  .cards.three {
    grid-template-columns: repeat(2, 1fr);
  }

  .step::after { display: none; }

  .cta-grid {
    grid-template-columns: 1fr;
    text-align: center;
    justify-items: center;
  }
}

@media (max-width: 760px) {
  .container {
    width: min(100% - 32px, 1180px);
  }

  .nav-wrap { min-height: 70px; }

  .mobile-menu-button {
    display: inline-block;
    order: 3;
  }

  .nav-cta { display: none; }

  .nav-links {
    position: absolute;
    left: 16px;
    right: 16px;
    top: 76px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 10px;
    box-shadow: var(--shadow);
  }

  .nav-links.open { display: flex; }

  .nav-links a { padding: 14px; }

  .hero-grid {
    padding: 42px 0 28px;
    gap: 30px;
  }

  .hero h1 {
    font-size: clamp(42px, 13vw, 62px);
  }

  .hero-actions {
    flex-direction: column;
  }

  .btn { width: 100%; }

  .cards.five,
  .cards.three,
  .difference-list,
  .steps,
  .trust-grid {
    grid-template-columns: 1fr;
  }

  .section { padding: 50px 0; }

  .service-card,
  .testimonial-card {
    padding: 26px 20px;
  }

  .advisor-card {
    width: 100%;
    border-radius: 22px;
    padding: 12px;
  }

  .advisor-caption {
    flex-direction: column;
    align-items: flex-start;
  }

  .cta-grid { padding: 26px 20px; }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .brand-text strong { font-size: 19px; }
  .brand-text span { font-size: 15px; }
  .brand-mark { width: 46px; height: 46px; }
}


/* Call now buttons */
.btn-call {
  background: rgba(255, 255, 255, 0.88);
  color: var(--navy);
  border-color: rgba(201, 168, 76, 0.75);
  box-shadow: var(--shadow-soft);
}

.btn-call:hover {
  background: var(--white);
  border-color: var(--gold);
}

.btn-call-light {
  background: rgba(255, 255, 255, 0.10);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.44);
}

.btn-call-light:hover {
  background: rgba(255, 255, 255, 0.18);
}

.cta-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
  flex-wrap: wrap;
}

@media (max-width: 1040px) {
  .cta-actions {
    justify-content: center;
  }
}

@media (max-width: 760px) {
  .cta-actions {
    width: 100%;
  }

  .cta-actions .btn {
    width: 100%;
  }
}


/* Alex Martell real headshot fit */
.advisor-photo {
  object-position: center 34%;
}


/* Footer logo mark cleanup */
.site-footer .footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  width: fit-content;
}

.site-footer .footer-brand .brand-mark {
  flex: 0 0 54px;
  width: 54px;
  height: 54px;
  min-width: 54px;
  min-height: 54px;
  display: grid;
  place-items: center;
  padding: 0;
  margin: 0;
  line-height: 1;
  text-align: center;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 32px;
  font-weight: 700;
  letter-spacing: 0;
  color: var(--gold-light);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(232, 201, 122, 0.72);
  border-radius: 50%;
  transform: none;
}

.site-footer .footer-brand .brand-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 3px;
  line-height: 1;
}

.site-footer .footer-brand .brand-text strong,
.site-footer .footer-brand .brand-text span {
  display: block;
  line-height: 1;
}


/* Licensed states section */
.licensed-states {
  background:
    linear-gradient(135deg, rgba(238, 243, 247, 0.82), rgba(250, 249, 246, 0.94)),
    var(--soft-panel);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.state-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  max-width: 980px;
  margin: 0 auto;
}

.state-list span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 14px;
  border-radius: 999px;
  background: var(--white);
  border: 1px solid rgba(201, 168, 76, 0.42);
  color: var(--navy);
  font-size: 14px;
  font-weight: 700;
  box-shadow: var(--shadow-soft);
}


/* Team positioning section */
.team-section {
  background: var(--off-white);
  padding-top: 42px;
  padding-bottom: 42px;
}

.team-card {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 36px;
  align-items: center;
  background:
    linear-gradient(135deg, rgba(255,255,255,0.94), rgba(238,243,247,0.72)),
    var(--white);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 36px;
  box-shadow: var(--shadow-soft);
}

.team-card h2 {
  font-family: var(--rounded);
  color: var(--navy);
  font-size: clamp(30px, 3.2vw, 44px);
  line-height: 1.05;
  letter-spacing: -0.04em;
  margin: 0 0 14px;
}

.team-card p {
  color: var(--muted);
  margin: 0;
  max-width: 680px;
}

.team-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.team-points span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border-radius: 999px;
  background: var(--navy);
  color: var(--white);
  font-size: 13px;
  font-weight: 800;
  border: 1px solid rgba(201, 168, 76, 0.45);
  box-shadow: var(--shadow-soft);
}

@media (max-width: 1040px) {
  .team-card {
    grid-template-columns: 1fr;
  }

  .team-points {
    justify-content: flex-start;
  }
}

@media (max-width: 760px) {
  .team-card {
    padding: 24px 18px;
  }

  .team-points span {
    width: 100%;
  }
}
