/**
 * Responsive overrides — mobile, tablet, laptop, desktop
 * Breakpoints: 479 | 767 | 1023 | 1199 | 1200+
 */

/* ─── Laptop (1024–1199px) ─── */
@media (max-width: 1199px) {
  :root {
    --gutter: clamp(20px, 5vw, 48px);
    --header-clearance: 120px;
  }

  .site-header {
    left: 16px;
    right: 16px;
    width: auto;
    max-width: 1191px;
    margin: 0 auto;
    top: 12px;
    transform: none;
  }

  .header-card {
    min-height: 0;
    padding: 0 14px 0;
  }

  /* Hide sub-bar in header flow; show in open menu on small screens only */
  @media (max-width: 767px) {
    .nav-sub {
      display: none !important;
    }
  }

  .nav-drawer .nav-main,
  .nav-drawer .nav-phone {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-top {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    padding: 16px 6px 12px;
    min-height: 64px;
    gap: 12px;
  }

  .logo {
    width: auto;
    height: auto;
    min-width: 0;
    flex: 1;
  }

  .logo-icon-part {
    width: auto;
    max-width: min(160px, 52vw);
    height: auto;
    margin-left: 0;
    margin-top: 0;
  }

  .nav-toggle {
    flex-shrink: 0;
    margin-left: 0;
  }

  /* Mobile menu overlay — does not stretch page content */
  html.nav-open,
  html.nav-open body {
    overflow: hidden;
    overscroll-behavior: none;
    touch-action: none;
  }

  html.nav-open body {
    position: fixed;
    width: 100%;
    left: 0;
    right: 0;
    top: var(--scroll-lock-top, 0);
  }

  body.nav-open::before {
    content: '';
    position: fixed;
    inset: 0;
    background: rgba(5, 28, 44, 0.72);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 998;
  }

  body.nav-open > *:not(.site-header):not(.back-to-top) {
    pointer-events: none;
  }

  .site-header.nav-open {
    z-index: 1001;
  }

  .site-header.nav-open .header-card {
    overflow: visible;
  }

  .site-header.nav-open .nav-sub {
    display: none !important;
  }

  .nav-drawer {
    display: contents;
  }

  .site-header.nav-open .nav-drawer {
    display: flex !important;
    flex-direction: column;
    position: fixed;
    left: 12px;
    right: 12px;
    top: var(--nav-menu-top, 80px);
    max-height: calc(100dvh - var(--nav-menu-top, 80px) - 16px);
    margin: 0;
    padding: 16px;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    z-index: 1001;
    background: var(--navy);
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.4);
  }

  .site-header.nav-open .nav-main,
  .site-header.nav-open .nav-phone {
    display: flex !important;
    position: static;
    width: 100%;
    margin: 0;
    box-shadow: none;
    border: none;
    border-radius: 0;
    background: transparent;
  }

  .site-header.nav-open .nav-phone {
    margin-top: auto;
    padding: 16px 4px 4px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    font-size: 18px;
  }

  .site-header.nav-open .nav-links {
    flex: 1;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    width: 100%;
    padding: 0;
  }

  .site-header.nav-open .nav-links a {
    display: block;
    padding: 12px 10px;
    font-size: 17px;
    border-radius: 8px;
  }

  .site-header.nav-open .nav-links a:hover,
  .site-header.nav-open .nav-links a.active {
    background: rgba(255, 255, 255, 0.08);
    opacity: 1;
  }

  .nav-sub {
    flex-wrap: wrap;
    align-items: center;
    height: auto;
    min-height: 48px;
    padding: 12px 14px;
    gap: 10px 14px;
    border-radius: 14px;
  }

  .nav-sub-address {
    display: none;
  }

  .nav-social {
    margin-left: auto;
    margin-right: 0;
    gap: 16px;
  }

  .btn-consultation {
    width: 100%;
    margin-left: 0;
    font-size: 16px;
    padding: 8px 14px;
  }

  .hero {
    min-height: auto;
    top: 0;
    margin-top: -30px;
  }

  .hero::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: linear-gradient(
      105deg,
      rgba(241, 242, 244, 0.88) 0%,
      rgba(241, 242, 244, 0.65) 42%,
      rgba(241, 242, 244, 0.2) 70%,
      transparent 100%
    );
  }

  .hero-bg {
    z-index: 0;
  }

  .hero-stage {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: auto;
    min-height: 0;
    padding: var(--header-clearance, 188px) max(20px, var(--gutter)) 56px;
    gap: 32px;
    box-sizing: border-box;
  }

  .hero-content {
    position: relative;
    left: auto;
    top: 12px;
    width: 100%;
    max-width: 560px;
    margin: 0;
    text-align: center;
    z-index: 2;
  }

  .hero-content h1 {
    max-width: none;
    font-size: clamp(28px, 6vw, 36px);
    line-height: 1.15;
  }

  .hero-desc {
    max-width: none;
    margin-left: auto;
    margin-right: auto;
  }

  .hero-desc br {
    display: none;
  }

  .hero-btns {
    justify-content: center;
  }

  .quote-form {
    position: relative;
    right: auto;
    top: auto;
    width: 100%;
    max-width: 400px;
    align-self: center;
    margin: 0;
  }

  .services-track {
    display: flex;
    width: max-content;
    margin: 0;
    justify-content: flex-start;
    transform: translateX(0);
  }

  .service-card {
    flex: 0 0 min(389px, calc(100vw - var(--gutter) * 2 - 48px));
    width: min(389px, calc(100vw - var(--gutter) * 2 - 48px));
  }

  .services-carousel {
    overflow: hidden;
  }

  .services-nav {
    display: flex;
  }

  .freedom {
    min-height: 720px;
    align-items: flex-end;
  }

  .freedom::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    background: linear-gradient(
      180deg,
      rgba(5, 28, 44, 0.82) 0%,
      rgba(5, 28, 44, 0.45) 45%,
      rgba(5, 28, 44, 0.75) 100%
    );
  }

  .freedom-visual {
    z-index: 1;
  }

  .freedom-inner {
    position: relative;
    z-index: 3;
    justify-content: center;
    padding: 64px var(--gutter);
  }

  .freedom-content {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    padding: 28px 24px;
    max-width: 560px;
    background: rgba(5, 28, 44, 0.55);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border-radius: 16px;
  }

  .why-header,
  .gadgets-header {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .why-intro,
  .gadgets-intro {
    margin-left: 0;
    max-width: none;
    padding-top: 0;
  }

  .testimonials-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .testimonials-right {
    min-height: 320px;
  }

  .uk-map {
    right: 0;
    width: min(90%, 480px);
  }

  .cta-inner {
    padding-right: min(46%, 380px);
  }

  .cta-person {
    height: 280px;
    right: 16px;
    transform: translateY(-8%);
    max-width: 45%;
  }

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

  .steps-grid,
  .gadgets-grid {
    grid-template-columns: 1fr;
  }

  .footer-main {
    grid-template-columns: 1fr;
    text-align: center;
    margin-bottom: 40px;
  }

  .footer-logo-link {
    margin: 0 auto;
  }

  .footer-links {
    justify-content: center;
    flex-wrap: wrap;
    gap: 40px 64px;
  }

  .contact-bar-inner {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .footer-contact-bar {
    padding: 24px 28px;
    max-width: 100%;
  }
}

/* ─── Desktop services grid (1200px+) ─── */
@media (min-width: 1200px) {
  .nav-toggle {
    display: none !important;
  }

  .nav-main,
  .nav-phone {
    display: flex !important;
  }

  .nav-main {
    flex: 1;
    min-width: 0;
  }

  .nav-top {
    gap: clamp(12px, 1.5vw, 24px);
  }

  .nav-links a {
    font-size: 18px;
  }

  .header-card {
    min-height: 136px;
    padding: 0 10px 10px;
  }

  .services-carousel {
    overflow: visible;
  }

  .services-track {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 389px));
    gap: 24px;
    width: 100%;
    max-width: 1221px;
    justify-content: center;
    transform: none !important;
  }

  .service-card {
    flex: none;
    width: 100%;
    max-width: 389px;
  }

  .services-nav {
    display: none;
  }
}

/* ─── Tablet portrait (768–1023px) ─── */
@media (max-width: 1023px) {
  .nav-links {
    gap: 10px;
  }

  .nav-links a {
    font-size: 15px;
  }

  .why-grid {
    min-height: auto;
  }

  .why-panel {
    min-height: auto;
  }

  .gadgets-grid {
    gap: 20px;
  }

  .testimonial-card {
    min-height: auto;
  }

  .hear-content h2 {
    font-size: 34px;
    line-height: 1.15;
  }
}

/* ─── Mobile (≤767px) ─── */
@media (max-width: 767px) {
  :root {
    --gutter: 20px;
    --header-clearance: 78px;
  }

  /* ── Header mobile ── */
  .site-header {
    left: 12px;
    right: 12px;
    width: auto;
    top: 10px;
    transform: none;
  }

  .header-card {
    border-radius: 16px;
    min-height: 0;
    padding: 0 12px 0;
  }

  /* Compact header — red sub-bar moves into open menu only */
  .nav-sub {
    display: none !important;
  }

  .site-header.nav-open .nav-sub {
    display: none !important;
  }

  .site-header.nav-open .btn-consultation {
    width: 100%;
    margin: 4px 0 0;
    text-align: center;
  }

  .nav-top {
    padding: 14px 4px 10px;
    min-height: 56px;
  }

  .logo-icon-part {
    max-width: min(148px, 58vw);
  }

  .nav-toggle {
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.06);
  }

  .site-header.nav-open .nav-toggle {
    background: rgba(255, 255, 255, 0.12);
  }

  .site-header.nav-open .nav-toggle span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .site-header.nav-open .nav-toggle span:nth-child(2) {
    opacity: 0;
  }

  .site-header.nav-open .nav-toggle span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .nav-toggle span {
    transition: transform 0.25s ease, opacity 0.2s ease;
  }

  /* ── Hero mobile ── */
  .hero {
    top: 0;
    min-height: auto;
    overflow: hidden;
    background: #f1f2f4;
  }

  .hero::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: linear-gradient(
      180deg,
      rgba(241, 242, 244, 0.94) 0%,
      rgba(241, 242, 244, 0.9) 38%,
      rgba(241, 242, 244, 0.72) 62%,
      rgba(241, 242, 244, 0.35) 85%,
      rgba(241, 242, 244, 0.15) 100%
    );
  }

  .hero-bg {
    object-position: 62% 20%;
    z-index: 1;
    opacity: 1;
  }

  .hero-stage {
    position: relative;
    z-index: 2;
    align-items: stretch;
    padding: var(--header-clearance) 20px 48px;
    gap: 28px;
  }

  .hero-content {
    text-align: center;
    max-width: none;
    padding: 20px 18px 22px;
    background: rgba(255, 255, 255, 0.82);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 16px;
    box-shadow: 0 4px 24px rgba(5, 28, 44, 0.08);
  }

  .hero-sub {
    color: var(--red);
    font-size: 16px;
    margin-bottom: 8px;
  }

  .hero-content h1 {
    color: var(--navy);
    font-size: clamp(26px, 7.5vw, 32px);
    line-height: 1.12;
    margin-bottom: 14px;
    letter-spacing: -0.03em;
  }

  .hero-desc {
    color: var(--navy);
    font-size: 16px;
    line-height: 1.4;
    max-width: none;
    margin-bottom: 22px;
    padding: 0;
  }

  .hero-btns {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
  }

  .hero-btns .btn {
    width: 100%;
    justify-content: center;
    padding: 12px 20px;
    font-size: 17px;
    border-radius: 10px;
  }

  .quote-form {
    width: 100%;
    max-width: none;
    align-self: stretch;
    margin: 0;
    padding: 22px 20px 24px;
    border-radius: 16px;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: 0 8px 32px rgba(5, 28, 44, 0.2);
  }

  .quote-form h2 {
    font-size: 22px;
    margin-bottom: 20px;
  }

  .quote-form .field {
    margin-bottom: 18px;
  }

  .quote-form .field-message {
    margin-bottom: 22px;
  }

  .quote-form .field-label {
    font-size: 12px;
    margin-bottom: 8px;
  }

  .quote-form .field input {
    height: 44px;
    font-size: 14px;
    border-radius: 10px;
  }

  .quote-form .field textarea {
    height: 96px;
    font-size: 14px;
    border-radius: 10px;
    padding: 12px 16px;
  }

  .btn-quote-submit {
    width: 100%;
    max-width: none;
    padding: 12px 20px;
    font-size: 17px;
    border-radius: 10px;
  }

  .stats {
    padding: 40px 0;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .stat-card {
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 8px;
    min-height: 100px;
    padding: 14px 12px;
  }

  .stat-num {
    font-size: 28px;
  }

  .stat-card p {
    font-size: 14px;
    line-height: 1.25;
  }

  .stat-years {
    align-items: center;
    text-align: center;
  }

  .stat-years .stat-num,
  .stat-years .stat-small {
    font-size: 22px;
  }

  .freedom {
    min-height: min(85vh, 640px);
    align-items: center;
  }

  .freedom::after {
    background: linear-gradient(
      180deg,
      rgba(5, 28, 44, 0.88) 0%,
      rgba(5, 28, 44, 0.5) 42%,
      rgba(5, 28, 44, 0.82) 100%
    );
  }

  .freedom-visual {
    object-position: center 20%;
    opacity: 0.9;
  }

  .freedom-inner {
    padding: 48px 20px 56px;
    width: 100%;
  }

  .freedom-content {
    width: 100%;
    max-width: none;
    padding: 24px 18px 26px;
    background: rgba(5, 28, 44, 0.78);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 14px;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.35);
  }

  .freedom-content h2 {
    font-size: clamp(22px, 6.2vw, 28px);
    line-height: 1.2;
    margin-bottom: 16px;
    color: var(--white);
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
  }

  .freedom-content p {
    font-size: 15px;
    line-height: 1.45;
    margin-bottom: 22px;
    color: rgba(255, 255, 255, 0.95);
  }

  .freedom-content .btn-red {
    display: inline-flex;
    width: 100%;
    max-width: 280px;
    justify-content: center;
    padding: 12px 20px;
  }

  .services,
  .why-us,
  .how-it-works,
  .gadgets,
  .testimonials {
    padding: 56px 0 64px;
  }

  .services-header h2,
  .why-header-left h2,
  .gadgets-header-left h2,
  .hear-content h2 {
    font-size: 28px;
    line-height: 1.2;
  }

  .service-card {
    flex: 0 0 min(340px, calc(100vw - var(--gutter) * 2 - 32px));
    width: min(340px, calc(100vw - var(--gutter) * 2 - 32px));
    height: 400px;
  }

  .why-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    min-height: auto;
  }

  .why-grid::before {
    display: none;
  }

  .why-item,
  .why-item:nth-child(1),
  .why-item:nth-child(2),
  .why-item:nth-child(3),
  .why-item:nth-child(4) {
    align-self: stretch;
    padding: 36px 28px;
    max-width: none;
  }

  .why-item h3,
  .why-item p {
    max-width: none;
  }

  .trusted-banner h3 {
    font-size: 28px;
    line-height: 1.2;
  }

  .testimonial-slide footer {
    padding-right: 100px;
  }

  .testimonial-nav {
    right: 28px;
    bottom: 28px;
  }

  .testimonials-right {
    min-height: 280px;
  }

  .hear-content {
    max-width: none;
    padding-right: 0;
    text-align: center;
    margin: 0 auto;
  }

  .hear-eyebrow {
    text-align: center;
  }

  .hear-content .btn {
    margin: 0 auto;
    display: inline-flex;
  }

  .cta-banner {
    padding: 40px 0 48px;
  }

  .cta-inner {
    padding: 32px 24px 0;
    padding-right: 24px;
    text-align: center;
    min-height: auto;
  }

  .cta-content {
    max-width: none;
  }

  .cta-content h2 {
    font-size: 26px;
    line-height: 1.2;
  }

  .cta-person {
    position: relative;
    right: auto;
    bottom: auto;
    transform: none;
    height: 240px;
    max-width: 260px;
    margin: 20px auto 0;
    display: block;
  }

  .cta-panel {
    overflow: hidden;
  }

  .about-cta .cta-btns {
    justify-content: center;
    flex-direction: column;
    align-items: center;
  }

  .about-cta .cta-btns .btn {
    width: 100%;
    max-width: 280px;
    justify-content: center;
  }

  .about-cta .cta-content > p {
    font-size: 16px;
    margin-bottom: 22px;
  }

  .site-footer {
    padding-top: 56px;
    margin-top: -80px;
  }

  .footer-main {
    gap: 32px;
  }

  .footer-col a {
    font-size: 18px;
  }

  .toast {
    left: 16px;
    right: 16px;
    bottom: 16px;
    text-align: center;
  }
}

/* ─── Small mobile (≤479px) ─── */
@media (max-width: 479px) {
  :root {
    --header-clearance: 88px;
    --gutter: 16px;
  }

  .site-header {
    width: calc(100% - 20px);
    top: 8px;
  }

  .header-card {
    padding: 0 10px 10px;
  }

  .nav-top {
    padding: 12px 2px 8px;
  }

  .logo-icon-part {
    max-width: 132px;
  }

  .hero-stage {
    padding-left: 16px;
    padding-right: 16px;
    gap: 24px;
  }

  .hero-content h1 {
    font-size: 24px;
  }

  .hero-desc {
    font-size: 15px;
  }

  .quote-form {
    padding: 20px 16px 22px;
  }

  .service-card {
    flex: 0 0 calc(100vw - var(--gutter) * 2 - 16px);
    width: calc(100vw - var(--gutter) * 2 - 16px);
    height: 380px;
  }

  .adviser-avatars .avatar {
    width: 72px;
    height: 72px;
    margin-right: -18px;
  }

  .trusted-banner-inner {
    padding: 24px 20px 28px;
  }

  .gadget-card {
    height: auto;
    min-height: 300px;
  }

  .gadget-content {
    max-width: 100%;
    padding: 32px 24px 0;
  }

  .gadget-content h3 {
    font-size: 32px;
    line-height: 1.1;
  }

  .gadget-visual {
    min-height: 160px;
  }

  .gadget-photo--mortgage,
  .gadget-photo--insurance {
    max-height: 160px;
  }

  .testimonial-slide footer {
    padding-right: 0;
    flex-wrap: wrap;
    gap: 12px;
  }

  .testimonial-nav {
    position: static;
    justify-content: center;
    margin-top: 20px;
    display: flex;
  }

  .testimonial-card {
    padding-bottom: 28px;
  }

  .contact-item {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .contact-link--phone {
    font-size: 16px;
  }
}

/* ─── About page ─── */
@media (max-width: 1199px) {
  .about-hero {
    padding-bottom: 56px;
  }

  .about-hero-bg {
    object-position: 75% center;
  }

  .about-hero-content {
    max-width: min(520px, 100%);
  }

  .about-who {
    min-height: auto;
    background-image: none;
  }

  .about-who::before {
    display: none;
  }

  .about-who-grid {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 48px 0 56px;
    gap: 28px;
  }

  .about-who-col--visual {
    display: block;
  }

  .about-who-img {
    display: block;
    width: min(300px, 78vw);
    aspect-ratio: 1;
    margin: 0 auto;
    object-fit: cover;
    object-position: center 15%;
  }

  .about-who-content {
    max-width: 100%;
    padding: 0;
  }

  .about-values,
  .about-mission,
  .about-team {
    padding: 64px 0 72px;
  }

  .about-mission-intro {
    grid-template-columns: 1fr;
    gap: 24px;
    max-width: none;
  }

  .about-mission-intro-text {
    padding-top: 0;
  }

  .about-values-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: none;
    gap: 20px;
  }

  .about-values .service-card {
    max-width: none;
  }

  .about-mission-grid {
    grid-template-columns: 1fr;
    max-width: 100%;
    gap: 36px;
  }

  .about-mission-panel {
    padding: 44px clamp(20px, 4vw, 40px) 48px;
  }

  .about-mission-card {
    align-items: center;
    text-align: center;
    padding: 0 12px 8px;
  }

  .about-mission-card:not(:last-child)::after {
    display: none;
  }

  .about-mission-card p {
    max-width: 420px;
    margin-left: auto;
    margin-right: auto;
  }

  .about-team-card {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 32px 24px 36px;
    gap: 24px;
  }

  .about-team-photo-wrap,
  .about-team-photo-wrap--round {
    margin: 0 auto;
  }

  .about-team-bio p:last-child {
    max-width: none;
  }

}

@media (max-width: 1023px) {
  .about-hero-bg {
    object-position: 82% center;
  }

  .about-who-grid {
    padding: 40px 0 48px;
  }

  .about-who-content h2,
  .about-mission-intro-left h2,
  .about-section-head h2,
  .about-values .services-header h2 {
    font-size: 36px;
  }

  .about-mission-intro-left h2,
  .about-section-head h2 {
    line-height: 1.15;
  }

  .about-team-card {
    padding: 28px 20px 32px;
  }
}

@media (max-width: 767px) {
  .about-hero {
    margin-top: -35;
    min-height: clamp(440px, 72vh, 560px);
    padding-top: calc(var(--header-clearance, 78px) + 24px);
    padding-bottom: 48px;
  }

  .about-hero::after {
    background: linear-gradient(
      180deg,
      rgba(5, 28, 44, 0.82) 0%,
      rgba(5, 28, 44, 0.6) 50%,
      rgba(5, 28, 44, 0.35) 100%
    );
  }

  .about-hero-bg {
    object-position: center 30%;
  }

  .about-hero-inner {
    display: flex;
    justify-content: center;
  }

  .about-hero-content {
    max-width: 100%;
    text-align: center;
  }

  .about-hero-eyebrow {
    font-size: 16px;
  }

  .about-hero-content h1 {
    font-size: clamp(28px, 7vw, 36px);
  }

  .about-hero-lead {
    font-size: 16px;
    max-width: none;
    margin-left: auto;
    margin-right: auto;
  }

  .about-hero-btns {
    flex-direction: column;
    align-items: center;
    width: 100%;
  }

  .about-hero-btns .btn {
    justify-content: center;
    width: 100%;
    max-width: none;
  }

  .about-page .stats {
    padding: 40px 0;
  }

  .about-who-grid {
    padding: 40px 0 36px;
    gap: 24px;
  }

  .about-who-img {
    width: min(260px, 72vw);
    aspect-ratio: 1;
    object-fit: cover;
    object-position: center 15%;
  }

  .about-who-content {
    text-align: center;
  }

  .about-who-sub,
  .about-who-content p:last-child {
    font-size: 16px;
    text-align: center;
  }

  .about-mission-intro {
    text-align: center;
  }

  .about-mission-intro-left {
    text-align: center;
  }

  .about-mission-intro-text {
    font-size: 16px;
    text-align: center;
  }

  .about-mission-eyebrow {
    font-size: 12px;
    letter-spacing: 0.16em;
  }

  .about-who-content h2,
  .about-mission-intro-left h2,
  .about-section-head h2,
  .about-values .services-header h2 {
    font-size: 32px;
  }

  .about-values .services-sub {
    font-size: 16px;
  }

  .about-values,
  .about-mission,
  .about-team {
    padding: 56px 0 64px;
  }

  .about-values-grid {
    grid-template-columns: 1fr;
    max-width: 389px;
    margin-left: auto;
    margin-right: auto;
  }

  .about-values .service-card {
    flex: none;
    width: 100%;
    height: 400px;
  }

  .about-mission-panel {
    padding: 36px 20px 40px;
    border-radius: 18px;
  }

  .about-mission-icon {
    width: 108px;
    height: 108px;
    margin-bottom: 18px;
  }

  .about-mission-card h3 {
    font-size: 22px;
  }

  .about-mission-card p {
    font-size: 15px;
  }

  .about-team-bio h3 {
    font-size: 26px;
  }

  .about-team-nav {
    margin-top: 8px;
  }

}

@media (max-width: 479px) {
  .about-hero {
    min-height: clamp(400px, 78vh, 520px);
    padding-top: calc(var(--header-clearance, 88px) + 16px);
  }

  .about-hero-content h1 {
    font-size: 26px;
  }

  .about-who-grid {
    padding: 32px 0 28px;
  }

  .about-who-img {
    width: 100%;
  }

  .about-who-content h2,
  .about-mission-intro-left h2,
  .about-section-head h2,
  .about-values .services-header h2 {
    font-size: 28px;
  }

  .about-values .service-card {
    height: 380px;
  }

  .about-mission-panel {
    padding: 32px 16px 36px;
  }

  .about-mission-icon {
    width: 96px;
    height: 96px;
  }

  .about-team-card {
    padding: 24px 16px 28px;
  }

  .about-team-photo-wrap,
  .about-team-photo-wrap--round {
    width: 160px;
    height: 160px;
  }

}

/* ─── Contact page ─── */
@media (max-width: 1199px) {
  .contact-hero {
    padding-bottom: 56px;
  }

  .contact-hero-bg {
    object-position: center 36%;
  }

  .contact-services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 820px;
  }
}

@media (max-width: 1023px) {
  .contact-hero-bg {
    object-position: center 34%;
  }
}

@media (max-width: 767px) {
  .contact-hero {
    margin-top: -35px;
    min-height: clamp(440px, 72vh, 560px);
    padding-top: calc(var(--header-clearance, 78px) + 24px);
    padding-bottom: 48px;
  }

  .contact-hero::after {
    background: linear-gradient(
      180deg,
      rgba(5, 28, 44, 0.35) 0%,
      transparent 32%,
      transparent 100%
    );
  }

  .contact-hero-bg {
    object-position: center 32%;
  }

  .contact-hero-content {
    max-width: 100%;
    text-shadow: 0 1px 8px rgba(5, 28, 44, 0.45);
  }

  .contact-hero-content h1 {
    font-size: clamp(28px, 7vw, 36px);
  }

  .contact-hero-eyebrow,
  .contact-hero-lead {
    font-size: 16px;
  }

  .contact-needs {
    padding: 56px 0 64px;
  }

  .contact-needs-head h2 {
    font-size: 32px;
  }

  .contact-needs-head p {
    font-size: 16px;
  }

  .contact-filters {
    gap: 10px;
    margin-bottom: 28px;
  }

  .contact-filter {
    font-size: 15px;
    padding: 11px 20px;
  }

  .contact-services-grid {
    grid-template-columns: 1fr;
    max-width: 389px;
  }

  .contact-service-card .service-card {
    height: 400px;
  }

  .contact-form-section {
    padding-bottom: 56px;
  }

  .contact-form-panel {
    padding: 32px 20px 36px;
    border-radius: 18px;
  }

  .contact-form-panel h2 {
    font-size: 26px;
    margin-bottom: 24px;
  }

  .contact-form-row--2 {
    grid-template-columns: 1fr;
  }

  .contact-time-options {
    flex-direction: column;
    align-items: stretch;
  }

  .contact-time-btn {
    width: 100%;
    text-align: center;
  }

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

  .contact-form-actions .btn {
    width: 100%;
    max-width: none;
  }

  .contact-process {
    padding: 56px 0 64px;
  }

  .contact-cta .cta-btns {
    justify-content: center;
    flex-direction: column;
    align-items: center;
  }

  .contact-cta .cta-btns .btn {
    width: 100%;
    max-width: 280px;
    justify-content: center;
  }
}

@media (max-width: 479px) {
  .contact-hero {
    min-height: clamp(400px, 78vh, 520px);
    padding-top: calc(var(--header-clearance, 88px) + 16px);
  }

  .contact-hero-bg {
    object-position: center 30%;
  }

  .contact-hero-content h1 {
    font-size: 26px;
  }

  .contact-needs-head h2 {
    font-size: 28px;
  }

  .contact-service-card .service-card {
    height: 380px;
  }

  .contact-form-panel h2 {
    font-size: 24px;
  }
}

/* ─── Career Hub ─── */
@media (max-width: 1199px) {
  .career-hero-bg {
    object-position: 75% center;
  }

  .career-network-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 820px;
  }

  .career-news-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
  .career-hero {
    margin-top: -35px;
    min-height: clamp(440px, 72vh, 560px);
    padding-top: calc(var(--header-clearance, 78px) + 24px);
    align-items: flex-start;
  }

  .career-hero::after {
    background: linear-gradient(
      180deg,
      rgba(5, 28, 44, 0.65) 0%,
      rgba(5, 28, 44, 0.35) 45%,
      rgba(5, 28, 44, 0.12) 100%
    );
  }

  .career-hero-bg {
    object-position: 55% 35%;
  }

  .career-hero-content {
    max-width: 100%;
    text-align: center;
    margin: 0 auto;
  }

  .career-hero-lead {
    margin-left: auto;
    margin-right: auto;
  }

  .career-hero-btns {
    justify-content: center;
  }

  .career-hero-btns .btn {
    width: 100%;
    max-width: 280px;
    justify-content: center;
  }

  .career-network,
  .career-why.why-us,
  .career-news {
    padding: 56px 0 64px;
  }

  .career-network-grid {
    grid-template-columns: 1fr;
    max-width: 389px;
  }

  .career-network-grid .service-card {
    height: 400px;
  }

  .career-showcase-nav {
    width: 40px;
    height: 40px;
    bottom: clamp(20px, 3.5vw, 36px);
  }

  .career-showcase-nav--prev {
    left: 10px;
  }

  .career-showcase-nav--next {
    right: 10px;
  }

  .career-news-item-link {
    grid-template-columns: 100px 1fr;
  }

  .career-cta .cta-btns {
    justify-content: center;
    flex-direction: column;
    align-items: center;
  }

  .career-cta .cta-btns .btn {
    width: 100%;
    max-width: 280px;
    justify-content: center;
  }
}

@media (max-width: 479px) {
  .career-hero-content h1 {
    font-size: 26px;
  }

  .career-network-grid .service-card {
    height: 380px;
  }

  .career-news-head h2 {
    font-size: 28px;
  }
}

/* ─── Introducer page ─── */
@media (max-width: 1199px) {
  .introducer-earn-grid {
    grid-template-columns: 1fr;
    max-width: 640px;
    margin: 0 auto;
  }

  .introducer-earn-copy {
    max-width: none;
  }

  .introducer-audience {
    max-width: 440px;
    width: 100%;
    margin: 0 auto;
  }

  .introducer-hero-bg {
    object-position: 78% center;
  }

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

@media (max-width: 1023px) {
  .introducer-register-layout {
    grid-template-columns: 1fr;
    max-width: 640px;
    margin: 0 auto;
  }

  .introducer-form-visual {
    order: 2;
    margin-left: 0;
    justify-content: center;
    margin-top: 8px;
  }

  .introducer-form-person {
    max-width: min(320px, 75vw);
    max-height: none;
    margin-bottom: 0;
  }
}

@media (max-width: 767px) {
  .introducer-hero {
    min-height: clamp(440px, 72vh, 560px);
    padding-top: calc(var(--header-clearance, 78px) + 24px);
    align-items: flex-start;
  }

  .introducer-hero::after {
    background: linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.92) 0%,
      rgba(255, 255, 255, 0.5) 45%,
      rgba(255, 255, 255, 0.1) 100%
    );
  }

  .introducer-hero-bg {
    object-position: 65% 30%;
  }

  .introducer-hero-content {
    max-width: 100%;
    text-align: left;
  }

  .introducer-hero-lead {
    margin-left: auto;
    margin-right: auto;
  }

  .introducer-hero-btns {
    justify-content: center;
    flex-direction: column;
    align-items: center;
  }

  .introducer-hero-btns .btn {
    width: 100%;
    max-width: 280px;
    justify-content: center;
  }

  .introducer-strip-inner {
    flex-direction: column;
    text-align: center;
  }

  .introducer-strip .btn {
    width: 100%;
    max-width: 280px;
    justify-content: center;
  }

  .introducer-earn {
    padding: 48px 0 56px;
  }

  .introducer-earn-wrap {
    gap: 32px;
  }

  .introducer-earn-banner-overlay h2 {
    font-size: 22px;
    max-width: 100%;
  }

  .introducer-earn-copy h3 {
    font-size: 28px;
  }

  .introducer-audience {
    max-width: none;
  }

  .introducer-steps {
    padding: 56px 0 64px;
  }

  .introducer-steps-grid {
    grid-template-columns: 1fr;
    max-width: 389px;
    margin: 0 auto;
  }

  .introducer-register {
    padding: 56px 0 64px;
  }

  .introducer-cta .cta-btns {
    justify-content: center;
    flex-direction: column;
    align-items: center;
  }

  .introducer-cta .cta-btns .btn {
    width: 100%;
    max-width: 280px;
    justify-content: center;
  }
}

@media (max-width: 479px) {
  .introducer-hero-content h1 {
    font-size: 26px;
  }
}

/* ─── Large desktop (1440px+) fine-tuning ─── */
@media (min-width: 1440px) {
  .hero-stage {
    height: 806px;
  }

  .hero-content {
    top: 313px;
  }

  .quote-form {
    top: 276px;
  }
}
