/* ====================================================================
   GB Advisory — Mobile-Only Stylesheet
   All styles contained inside @media (max-width: 480px)
   Desktop and tablet layouts (above 480px) are completely unchanged.
   ==================================================================== */

@media (max-width: 480px) {

  /* ---------- CSS RESET FOR PHONE ---------- */
  * {
    -webkit-tap-highlight-color: transparent;
  }

  html {
    scroll-behavior: smooth;
  }

  body {
    -webkit-text-size-adjust: 100%;
    overflow-x: hidden;
  }

  /* ---------- CONTAINER ---------- */
  .container {
    width: calc(100% - 40px);
    max-width: 100%;
    padding-left: 0;
    padding-right: 0;
  }

  /* ---------- HEADER ---------- */
  header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    border-bottom: 1px solid rgba(201, 149, 69, 0.2);
    padding-top: env(safe-area-inset-top);
  }

  .navbar {
    height: 80px;
    padding: 0;
  }

  .brand {
    gap: 6px;
    min-width: 0;
  }

  .brand-mark {
    width: 56px;
    height: 56px;
    flex-shrink: 0;
  }

  .brand-divider {
    height: 38px;
  }

  .brand-name {
    font-size: 14px;
    letter-spacing: 0.6px;
    white-space: normal;
    line-height: 1.15;
  }

  .brand-text .tagline {
    display: none;
  }

  .brand-text {
    padding-top: 4px;
    min-width: 0;
    overflow: hidden;
  }

  .mobile-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    padding: 10px 0 10px 12px;
    flex-shrink: 0;
  }

  .header-btn {
    padding: 6px 8px;
    font-size: 8px;
    letter-spacing: 0.2px;
  }

  .lang-current {
    padding: 6px 8px;
    font-size: 0;
    gap: 0;
  }
  .lang-current .fa-globe {
    font-size: 14px;
  }
  .lang-current .lang-current-label {
    display: none;
  }
  .lang-current .lang-chevron {
    font-size: 8px;
    margin-left: 4px;
  }

  /* Mobile menu — full width beneath header */
  nav {
    position: fixed;
    top: 80px;
    left: 0;
    width: 100%;
    background: #021022;
    display: none;
    padding: 0;
    border-top: 1px solid rgba(201, 149, 69, 0.25);
    border-bottom: 1px solid rgba(201, 149, 69, 0.25);
    z-index: 999;
    max-height: calc(100vh - 80px);
    overflow-y: auto;
  }

  nav.active {
    display: block;
  }

  nav ul {
    flex-direction: column;
    gap: 0;
    margin: 0;
    padding: 0;
    list-style: none;
  }

  nav li {
    border-bottom: 1px solid rgba(201, 149, 69, 0.12);
  }

  nav li:last-child {
    border-bottom: none;
  }

  nav a {
    display: flex;
    align-items: center;
    min-height: 48px;
    padding: 14px 20px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    color: var(--white);
    width: 100%;
    box-sizing: border-box;
  }

  nav a::after {
    display: none;
  }

  nav a:active {
    background: rgba(201, 149, 69, 0.08);
  }

  /* ---------- HERO ---------- */
  .hero {
    min-height: auto;
    padding-top: 80px;
    background:
      linear-gradient(135deg, rgba(3, 17, 29, 0.95) 0%, rgba(3, 17, 29, 0.88) 50%, rgba(3, 17, 29, 0.72) 100%),
      url("https://images.unsplash.com/photo-1513415563383-4e580ed27a46?auto=format&fit=crop&w=900&q=80");
    background-size: cover;
    background-position: 70% center;
    padding-bottom: env(safe-area-inset-bottom);
  }

  .hero-content {
    padding: 48px 0 44px;
    max-width: 100%;
  }

  .eyebrow {
    font-size: 11px;
    letter-spacing: 2px;
    margin-bottom: 16px;
  }

  .hero h1 {
    font-family: "Cormorant Garamond", serif;
    font-size: 39px;
    line-height: 1.05;
    font-weight: 700;
    margin-bottom: 18px;
  }

  .hero h1 span {
    color: var(--gold);
    font-style: italic;
    font-weight: 500;
  }

  .gold-line {
    width: 42px;
    margin: 16px 0;
  }

  .hero p {
    font-size: 15px;
    line-height: 1.55;
    margin-bottom: 26px;
    max-width: 100%;
  }

  .hero-buttons {
    flex-direction: column;
    gap: 12px;
    align-items: stretch;
  }

  .btn {
    width: 100%;
    justify-content: center;
    padding: 15px 24px;
    font-size: 12px;
    min-height: 48px;
  }

  /* ---------- TRUST BAR ---------- */
  .trust-bar {
    padding: 28px 0;
  }

  .trust-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
  }

  .trust-item {
    flex-direction: row;
    gap: 14px;
    padding-right: 0;
    padding-bottom: 16px;
    border-right: none;
    border-bottom: 1px solid var(--border);
    align-items: center;
  }

  .trust-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
  }

  .trust-icon {
    font-size: 26px;
    min-width: 34px;
  }

  .trust-item h3 {
    font-size: 12px;
    margin-bottom: 3px;
  }

  .trust-item p {
    font-size: 12px;
    line-height: 1.45;
  }

  /* ---------- SECTION SPACING ---------- */
  .section-padding {
    padding: 50px 0;
  }

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

  .section-heading .small-title {
    font-size: 11px;
    letter-spacing: 1.8px;
  }

  .section-heading h2 {
    font-size: 30px;
    line-height: 1.15;
  }

  .heading-line {
    margin-top: 12px;
  }

  /* ---------- SERVICES ---------- */
  .services-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
  }

  .service-card {
    padding: 22px 18px;
    min-height: auto;
    text-align: left;
    flex-direction: row;
    align-items: flex-start;
    gap: 14px;
    overflow: hidden;
    min-width: 0;
    max-width: 100%;
  }

  .service-card i {
    font-size: 30px;
    margin-bottom: 0;
    min-width: 36px;
    flex-shrink: 0;
    text-align: center;
  }

  .service-card h3 {
    font-size: 14px;
    margin-bottom: 8px;
    overflow-wrap: break-word;
    word-wrap: break-word;
  }

  .service-card p {
    font-size: 13px;
    line-height: 1.5;
    overflow-wrap: break-word;
    word-wrap: break-word;
  }

  .service-card:hover {
    transform: none;
  }

  /* ---------- WHY GB ---------- */
  .why {
    padding: 50px 0;
    background:
      linear-gradient(135deg, rgba(3, 17, 29, 0.96) 0%, rgba(3, 17, 29, 0.90) 50%, rgba(3, 17, 29, 0.55) 100%),
      url("https://images.unsplash.com/photo-1686739996006-7c2cdff5d34c?auto=format&fit=crop&w=900&q=80");
    background-size: cover;
    background-position: 70% center;
  }

  .why h2 {
    font-size: 30px;
  }

  .why-intro {
    font-size: 14px;
    margin-bottom: 32px;
    line-height: 1.55;
  }

  .why-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 22px;
    max-width: 100%;
  }

  .why-card {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    padding-right: 0;
    padding-bottom: 18px;
  }

  .why-card:last-child {
    border-bottom: none;
    padding-bottom: 0;
  }

  .why-card i {
    font-size: 28px;
    margin-bottom: 12px;
  }

  .why-card h3 {
    font-size: 12px;
    margin-bottom: 8px;
  }

  .why-card p {
    font-size: 12px;
    line-height: 1.5;
  }

  /* ---------- PROCESS — VERTICAL TIMELINE ---------- */
  .process {
    padding: 50px 0;
  }

  .process-line {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-top: 36px;
    position: relative;
  }

  .process-line::before {
    display: none;
  }

  /* Gold vertical connecting line */
  .process-line::after {
    content: "";
    position: absolute;
    top: 28px;
    bottom: 28px;
    left: 27px;
    width: 2px;
    background: linear-gradient(to bottom, var(--gold) 0%, var(--gold) 90%, transparent 100%);
    z-index: 0;
  }

  .process-step {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 0 0 24px 0;
    position: relative;
    text-align: left;
  }

  .process-step:last-child {
    padding-bottom: 0;
  }

  .step-number {
    width: 56px;
    height: 56px;
    flex-shrink: 0;
    margin: 0;
    font-size: 18px;
    z-index: 1;
    position: relative;
  }

  .process-step > i {
    display: none;
  }

  .process-step > h3,
  .process-step > p {
    margin-left: 0;
    text-align: left;
  }

  .process-step h3 {
    font-size: 13px;
    margin-bottom: 4px;
    padding-top: 8px;
  }

  .process-step p {
    font-size: 12px;
    max-width: 100%;
    margin: 0;
    line-height: 1.45;
  }

  /* ---------- CLIENT PORTAL ---------- */
  .portal-section {
    padding: 50px 0;
  }

  .portal-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
    margin-bottom: 28px;
  }

  .portal-card {
    padding: 22px 18px;
    min-height: auto;
    text-align: left;
    flex-direction: row;
    align-items: flex-start;
    gap: 14px;
    border-bottom: 1px solid var(--border);
  }

  .portal-card:last-child {
    border-bottom: none;
  }

  .portal-card i {
    font-size: 28px;
    margin-bottom: 0;
    min-width: 36px;
    flex-shrink: 0;
  }

  .portal-card h3 {
    font-size: 14px;
    margin-bottom: 6px;
  }

  .portal-card p {
    font-size: 13px;
    line-height: 1.5;
  }

  .portal-cta .btn {
    width: 100%;
    justify-content: center;
  }

  .portal-note {
    font-size: 11px;
    line-height: 1.5;
    padding: 0 8px;
  }

  /* ---------- FOUNDER + CONTACT ---------- */
  .founder-contact {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .founder-image {
    min-width: 0;
    min-height: auto;
    padding: 36px 20px 20px;
    align-items: center;
    justify-content: center;
    order: 1;
  }

  .founder-image-frame {
    border-width: 3px;
    padding: 6px;
  }

  .founder-image-frame img {
    max-height: 360px;
    max-width: 100%;
    width: auto;
    height: auto;
    border-radius: 2px;
  }

  /* Hide QR on phones, show WhatsApp button */
  .whatsapp-qr-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 20px;
    align-self: center;
    margin-right: 0;
  }

  .qr-link,
  .whatsapp-qr-img,
  .qr-caption {
    display: none;
  }

  .whatsapp-chat-btn {
    display: flex;
    width: 100%;
    max-width: 280px;
    justify-content: center;
    min-height: 48px;
    padding: 14px 24px;
    font-size: 12px;
    margin-top: 0;
  }

  .founder-copy {
    order: 2;
    padding: 36px 20px;
    border-right: none;
    border-bottom: 1px solid var(--border);
  }

  .founder-copy h2 {
    font-size: 30px;
    white-space: normal;
  }

  .founder-copy h3 {
    font-size: 12px;
    margin-bottom: 18px;
  }

  .founder-copy p {
    font-size: 13px;
    line-height: 1.55;
    margin-bottom: 14px;
  }

  .contact-box {
    order: 3;
    padding: 36px 20px;
    border-right: none;
  }

  .contact-box h2 {
    font-size: 30px;
    white-space: normal;
  }

  .contact-details {
    margin: 10px 0;
  }

  .contact-row {
    font-size: 14px;
    gap: 10px;
    margin-bottom: 2px;
    min-height: 44px;
    align-items: center;
  }

  .contact-row i {
    font-size: 18px;
    width: 24px;
  }

  /* Contact links — make functional */
  .contact-row a {
    color: inherit;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    min-height: 44px;
  }

  .contact-row i {
    flex-shrink: 0;
  }

  /* ---------- FORM ---------- */
  form {
    gap: 12px;
  }

  input,
  select,
  textarea {
    font-size: 16px;
    padding: 14px 16px;
    min-height: 48px;
    border-radius: 2px;
  }

  textarea {
    min-height: 120px;
  }

  .form-btn {
    width: 100%;
    padding: 16px;
    font-size: 13px;
    min-height: 48px;
  }

  /* ---------- FOOTER ---------- */
  footer {
    padding: 40px 0 20px;
    padding-bottom: calc(20px + env(safe-area-inset-bottom));
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
    padding-bottom: 24px;
  }

  .footer-brand {
    text-align: center;
  }

  .footer-mark {
    margin: 0 auto 12px;
    width: 64px;
    height: 64px;
  }

  .footer-brand h3 {
    font-size: 12px;
  }

  .footer-brand p {
    font-size: 10px;
  }

  .footer-socials {
    display: none;
  }

  .footer-line {
    text-align: center;
  }

  .footer-line h4 {
    font-size: 20px;
  }

  .legal-text {
    font-size: 12px;
    line-height: 1.6;
  }

  .legal-text p {
    margin-bottom: 10px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
    padding-top: 18px;
  }

  .footer-links {
    display: none;
  }

  /* ---------- BACK TO TOP ---------- */
  .back-to-top {
    width: 42px;
    height: 42px;
    bottom: 16px;
    right: 16px;
    bottom: calc(16px + env(safe-area-inset-bottom));
  }

  /* ---------- FOCUS STATES ---------- */
  a:focus-visible,
  button:focus-visible,
  input:focus-visible,
  select:focus-visible,
  textarea:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 2px;
  }

  .btn:focus-visible {
    outline: 2px solid var(--gold-light);
    outline-offset: 3px;
  }

  .form-btn:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 2px;
  }

  /* ---------- MISC ---------- */
  section {
    scroll-margin-top: 80px;
  }

  /* ---------- INVEST PROMO CARD (homepage) ---------- */
  .invest-promo {
    padding: 30px 0;
  }

  .invest-promo-card {
    border-radius: 4px;
    background:
      linear-gradient(135deg, rgba(3,17,29,0.95) 0%, rgba(3,17,29,0.88) 50%, rgba(3,17,29,0.70) 100%),
      url("https://images.unsplash.com/photo-1520429261889-8705ed400629?auto=format&fit=crop&w=900&q=80");
    background-size: cover;
    background-position: 70% center;
  }

  .invest-promo-content {
    padding: 28px 20px;
  }

  .invest-promo-eyebrow {
    font-size: 10px;
    letter-spacing: 1.5px;
    margin-bottom: 12px;
  }

  .invest-promo-content h3 {
    font-size: 22px;
    line-height: 1.2;
    margin-bottom: 12px;
  }

  .invest-promo-content p {
    font-size: 13px;
    line-height: 1.55;
    margin-bottom: 20px;
  }

  .invest-promo-content .btn {
    width: 100%;
    justify-content: center;
    padding: 14px 20px;
    font-size: 12px;
    min-height: 48px;
  }

  /* ---------- YOUR MAURITIUS MOVE — Teaser Strip ---------- */

  .ymm-teaser {
    padding: 12px 0;
  }

  .ymm-teaser-inner {
    gap: 10px;
  }

  .ymm-teaser-icon {
    width: 32px;
    height: 32px;
    font-size: 14px;
  }

  .ymm-teaser-text {
    font-size: 13px;
    line-height: 1.4;
  }

  .ymm-teaser-cta {
    display: none;
  }

  /* ---------- YOUR MAURITIUS MOVE — Homepage Section ---------- */

  .ymm-home-section {
    padding: 36px 0;
  }

  .ymm-home-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .ymm-home-content h2 {
    font-size: 24px;
  }

  .ymm-home-content p {
    font-size: 14px;
  }

  .ymm-home-content .btn {
    width: 100%;
    justify-content: center;
    min-height: 48px;
    font-size: 12px;
  }

  .ymm-example-card {
    padding: 18px;
  }

  .ymm-example-flow {
    flex-direction: column;
    gap: 12px;
  }

  .ymm-example-arrow {
    transform: rotate(90deg);
  }

  .ymm-example-node {
    font-size: 13px;
  }

  /* ---------- INVEST IN MAURITIUS PAGE ---------- */

  .invest-hero {
    min-height: auto;
    padding-top: 80px;
    background:
      linear-gradient(135deg, rgba(3,17,29,0.95) 0%, rgba(3,17,29,0.88) 50%, rgba(3,17,29,0.72) 100%),
      url("https://images.unsplash.com/photo-1520429261889-8705ed400629?auto=format&fit=crop&w=900&q=80");
    background-size: cover;
    background-position: 70% center;
  }

  .invest-hero-content {
    padding: 48px 0 44px;
    max-width: 100%;
  }

  .invest-hero-content .eyebrow {
    font-size: 10px;
    letter-spacing: 1.5px;
    margin-bottom: 14px;
  }

  .invest-hero h1 {
    font-size: 30px;
    line-height: 1.1;
    margin-bottom: 16px;
  }

  .invest-hero .gold-line {
    width: 42px;
    margin: 14px 0;
  }

  .invest-hero p {
    font-size: 14px;
    line-height: 1.55;
    margin-bottom: 24px;
    max-width: 100%;
  }

  .invest-hero .hero-buttons {
    flex-direction: column;
    gap: 12px;
    align-items: stretch;
  }

  .invest-hero .btn {
    width: 100%;
    justify-content: center;
    padding: 15px 24px;
    font-size: 12px;
    min-height: 48px;
  }

  .invest-trust-line {
    font-size: 11px;
    line-height: 1.5;
    margin-top: 22px;
  }

  /* Why Mauritius */
  .invest-why-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
  }

  .invest-why-card {
    padding: 22px 18px;
    display: grid;
    grid-template-columns: 36px minmax(120px, 0.8fr) minmax(0, 1.6fr);
    align-items: start;
    gap: 14px;
    text-align: left;
    border-bottom: 1px solid var(--border);
  }

  .invest-why-card:last-child {
    border-bottom: none;
  }

  .invest-why-card i {
    font-size: 28px;
    margin-bottom: 0;
    min-width: 36px;
    flex-shrink: 0;
    align-self: start;
  }

  .invest-why-card h3 {
    font-size: 13px;
    margin-bottom: 0;
    line-height: 1.3;
  }

  .invest-why-card p {
    font-size: 12px;
    line-height: 1.5;
    margin-top: 2px;
  }

  /* Below 375px: switch why cards to two-row layout so headings don't wrap excessively */
  @media (max-width: 374px) {
    .invest-why-card {
      grid-template-columns: 32px 1fr;
      grid-template-rows: auto auto;
      gap: 8px 12px;
    }

    .invest-why-card i {
      grid-row: 1;
      grid-column: 1;
      font-size: 24px;
      min-width: 32px;
    }

    .invest-why-card h3 {
      grid-row: 1;
      grid-column: 2;
      font-size: 12px;
      line-height: 1.3;
    }

    .invest-why-card p {
      grid-row: 2;
      grid-column: 1 / -1;
      font-size: 12px;
      line-height: 1.55;
      margin-top: 2px;
    }
  }

  .invest-why-intro {
    font-size: 14px;
    line-height: 1.55;
  }

  .invest-why-cta .btn {
    width: 100%;
    justify-content: center;
  }

  /* Stats */
  .invest-stats {
    padding: 36px 0;
    background:
      linear-gradient(135deg, rgba(3,17,29,0.96) 0%, rgba(3,17,29,0.92) 50%, rgba(3,17,29,0.85) 100%),
      url("https://images.unsplash.com/photo-1513415563383-4e580ed27a46?auto=format&fit=crop&w=900&q=80");
    background-size: cover;
    background-position: 70% center;
  }

  .invest-stats .container {
    width: min(100% - 40px, 760px);
  }

  .invest-stats-row {
    flex-direction: column;
    gap: 0;
    max-width: 760px;
  }

  .invest-stat-item {
    border-left: none;
    border-bottom: none;
    padding: 18px 10px;
    max-width: 100%;
  }

  .invest-stat-item:last-child {
    padding-bottom: 0;
  }

  .invest-stat-number {
    font-size: 46px;
  }

  .invest-stat-label {
    font-size: 13px;
    max-width: 100%;
  }

  .invest-stats-note {
    font-size: 11px;
    line-height: 1.5;
  }

  /* Pathways */
  .invest-pathway-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }

  .invest-pathway-card {
    padding: 26px 20px;
  }

  .invest-pathway-card h3 {
    font-size: 20px;
  }

  .invest-pathway-card p {
    font-size: 13px;
    line-height: 1.55;
  }

  .invest-pathway-btn {
    width: 100%;
    justify-content: center;
  }

  .invest-pathway-help {
    font-size: 13px;
    line-height: 1.55;
    padding: 18px;
  }

  /* Golden Visa */
  .invest-gv-intro {
    font-size: 14px;
    line-height: 1.55;
  }

  .invest-gv-panel {
    padding: 22px 18px;
  }

  .invest-gv-list {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .invest-gv-list li {
    font-size: 13px;
  }

  .invest-gv-body h3 {
    font-size: 20px;
  }

  .invest-gv-body p {
    font-size: 13px;
    line-height: 1.55;
  }

  .invest-gv-status {
    font-size: 12px;
    padding: 14px 16px;
  }

  .invest-gv-conversion {
    padding: 32px 20px;
  }

  .invest-gv-conversion h3 {
    font-size: 20px;
  }

  .invest-gv-conversion p {
    font-size: 13px;
  }

  .invest-gv-conversion .btn {
    width: 100%;
    justify-content: center;
  }

  .invest-gv-source {
    font-size: 11px;
    line-height: 1.5;
  }

  .invest-gv-source a {
    word-break: break-all;
  }

  /* FAQ */
  .invest-faq-question {
    padding: 18px 0;
    gap: 12px;
  }

  .invest-faq-num {
    font-size: 16px;
    min-width: 26px;
  }

  .invest-faq-text {
    font-size: 13px;
    line-height: 1.4;
  }

  .invest-faq-icon {
    width: 26px;
    height: 26px;
    font-size: 14px;
  }

  .invest-faq-answer {
    padding-left: 38px;
  }

  .invest-faq-answer.open {
    padding-bottom: 18px;
  }

  .invest-faq-answer p {
    font-size: 12px;
    line-height: 1.55;
  }

  .invest-faq-help {
    font-size: 12px !important;
  }

  /* Enquiry form */
  .invest-form-section {
    padding: 50px 0;
  }

  .invest-form {
    gap: 16px;
  }

  .invest-form-row {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .invest-form-field label {
    font-size: 11px;
    letter-spacing: 0.4px;
  }

  .invest-form-field input,
  .invest-form-field select {
    font-size: 16px;
    padding: 14px 16px;
    min-height: 48px;
    border-radius: 2px;
  }

  .invest-radio-group {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .invest-radio {
    padding: 11px 14px;
    font-size: 12px;
    min-height: 48px;
  }

  .invest-consent {
    font-size: 12px !important;
    line-height: 1.5;
  }

  .invest-form-btn {
    width: 100%;
    padding: 16px;
    font-size: 13px;
    min-height: 48px;
  }

  .invest-form-success {
    padding: 30px 20px;
  }

  .invest-form-success h3 {
    font-size: 20px;
  }

  .invest-form-success p {
    font-size: 13px;
  }

  /* Final CTA */
  .invest-cta {
    padding: 50px 0;
    background:
      linear-gradient(135deg, rgba(3,17,29,0.95) 0%, rgba(3,17,29,0.90) 50%, rgba(3,17,29,0.65) 100%),
      url("https://images.unsplash.com/photo-1513415563383-4e580ed27a46?auto=format&fit=crop&w=900&q=80");
    background-size: cover;
    background-position: 70% center;
  }

  .invest-cta h2 {
    font-size: 26px;
  }

  .invest-cta p {
    font-size: 14px;
    line-height: 1.55;
  }

  .invest-cta-buttons {
    flex-direction: column;
    gap: 12px;
  }

  .invest-cta-buttons .btn {
    width: 100%;
    justify-content: center;
    padding: 15px 24px;
    font-size: 12px;
    min-height: 48px;
  }

  /* Disclaimer */
  .invest-disclaimer {
    padding: 30px 0;
  }

  .invest-disclaimer p {
    font-size: 11px;
    line-height: 1.6;
  }

  /* Prevent overflow on invest page elements */
  .invest-hero-content,
  .invest-why-grid,
  .invest-why-card,
  .invest-stats-row,
  .invest-stat-item,
  .invest-pathway-grid,
  .invest-pathway-card,
  .invest-gv-panel,
  .invest-gv-body,
  .invest-gv-conversion,
  .invest-faq-list,
  .invest-faq-item,
  .invest-faq-answer,
  .invest-form,
  .invest-promo-card,
  .invest-promo-content {
    max-width: 100%;
    overflow-wrap: break-word;
    word-wrap: break-word;
  }

  /* Phone row — side-by-side 35%/65% on phones, stack only below 340px */
  .form-phone-row {
    flex-direction: row;
    gap: 8px;
  }

  .form-phone-code {
    flex: 0 0 35%;
    width: 35% !important;
    max-width: 35%;
    font-size: 13px !important;
    padding: 14px 8px !important;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .form-phone-row input[type="tel"] {
    flex: 1;
    min-width: 0;
  }

  .form-country-select {
    width: 100%;
  }

  /* ---------- BOOKING MODAL ---------- */
  #bookingOverlay {
    padding: 16px !important;
  }

  #bookingModal {
    max-width: 100% !important;
    max-height: 92vh !important;
    border-radius: 10px !important;
  }

  #bookingModal > button[aria-label="Close"] {
    top: 10px !important;
    right: 10px !important;
    width: 32px !important;
    height: 32px !important;
    font-size: 16px !important;
  }

  /* Modal header padding */
  #bookingModal > div:first-of-type {
    padding: 24px 20px 14px !important;
  }

  #bookingModal > div:first-of-type h2 {
    font-size: 22px !important;
  }

  #bookingModal > div:first-of-type p {
    font-size: 12px !important;
  }

  /* Modal form padding */
  #bookingForm {
    padding: 20px 20px 24px !important;
    gap: 12px !important;
  }

  /* All form fields in modal — 16px font to prevent iOS zoom */
  #bookingForm input,
  #bookingForm select,
  #bookingForm textarea {
    font-size: 16px !important;
    padding: 12px 14px !important;
    min-height: 48px !important;
  }

  #bookingForm label {
    font-size: 11px !important;
  }

  /* Modal submit button */
  #bookingForm button[type="submit"] {
    font-size: 14px !important;
    padding: 14px !important;
    min-height: 48px !important;
  }

  /* Modal success message */
  #bookingSuccess {
    padding: 30px 20px !important;
  }

  #bookingSuccess h3 {
    font-size: 20px !important;
  }

  #bookingSuccess p {
    font-size: 13px !important;
  }

  #bookingSuccess a,
  #bookingSuccess button {
    font-size: 13px !important;
    padding: 10px 16px !important;
  }

  /* ---------- 380px EXTRAS FOR VERY NARROW PHONES ---------- */
  .hero h1 {
    font-size: 34px;
  }

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

  .section-heading h2 {
    font-size: 26px;
  }

  .invest-cta h2 {
    font-size: 22px;
  }

  /* ---------- 340px: stack phone row only on extremely narrow screens ---------- */
  @media (max-width: 340px) {
    .form-phone-row {
      flex-direction: column;
      gap: 8px;
    }

    .form-phone-code {
      flex: 1 1 auto;
      width: 100% !important;
      max-width: 100%;
    }

    .form-phone-row input[type="tel"] {
      flex: 1;
      min-width: 0;
      width: 100%;
    }
  }

  /* ---------- Floating WhatsApp button ---------- */
  .float-wa {
    width: 48px;
    height: 48px;
    bottom: 16px;
    right: 16px;
  }
  .float-wa i {
    font-size: 24px;
  }
  .rtl .float-wa {
    right: auto;
    left: 16px;
  }

  /* ---------- Testimonials ---------- */
  .testimonials {
    padding: 50px 0;
  }
  .testimonials-grid {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 28px;
  }
  .testimonial-card {
    padding: 24px 18px;
  }

  /* ---------- Email Capture ---------- */
  .email-capture {
    padding: 40px 0;
  }
  .email-capture h2 {
    font-size: 28px;
  }
  .email-capture p {
    font-size: 14px;
  }
  .email-capture-form {
    flex-direction: column;
  }
  .email-capture-form input,
  .email-capture-form select,
  .email-capture-form button {
    width: 100%;
    min-width: 0;
  }

  /* ---------- Blog ---------- */
  .blog-hero {
    min-height: auto;
    padding-top: 80px;
  }
  .blog-hero-content {
    padding: 40px 0;
  }
  .blog-hero h1 {
    font-size: 32px;
  }
  .blog-grid {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 40px 0;
  }
  .blog-card-img {
    height: 160px;
  }
  .blog-card-content {
    padding: 20px 18px;
  }
  .blog-card-content h3 {
    font-size: 20px;
  }

  .blog-article-header {
    padding: 40px 0 28px;
  }
  .blog-article-header h1 {
    font-size: 28px;
  }
  .blog-article-body {
    padding: 30px 0;
  }
  .blog-article-body h2 {
    font-size: 24px;
  }
  .blog-article-body p,
  .blog-article-body li {
    font-size: 15px;
  }
  .blog-related {
    padding: 40px 0;
  }
  .blog-related-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  /* ---------- Blog: Downloadable Guide Cards ---------- */
  .blog-guides {
    padding: 48px 0;
  }
  .blog-guides-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .blog-guide-card {
    padding: 28px 20px;
  }

  /* ---------- Guide pages ---------- */
  .guide-header {
    padding: 40px 0 28px;
  }
  .guide-content {
    padding: 30px 0;
  }
  .guide-content h2 {
    font-size: 24px;
  }
  .guide-cta {
    padding: 24px 16px;
  }

}