/* ====================================================================
   GB Advisory — Invest in Mauritius page styles
   Desktop and tablet (above 480px). Mobile overrides in mobile.css.
   Uses the same CSS custom properties from style.css :root
   ==================================================================== */

/* ---------- INVEST HERO ---------- */

.invest-hero {
  min-height: 680px;
  padding-top: 90px;
  background:
    linear-gradient(90deg, rgba(3,17,29,0.94) 0%, rgba(3,17,29,0.82) 45%, rgba(3,17,29,0.30) 100%),
    url("invest-hero.webp?v=20261118i18n5");
  background-size: cover;
  background-position: center;
  color: var(--white);
  display: flex;
  align-items: center;
}

.invest-hero-content {
  max-width: 680px;
  padding: 100px 0;
}

.invest-hero-content .eyebrow {
  color: var(--gold);
  font-size: 12px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 20px;
}

.invest-hero h1 {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(42px, 6vw, 64px);
  line-height: 1.0;
  font-weight: 700;
  margin-bottom: 24px;
}

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

.invest-hero .gold-line {
  width: 52px;
  height: 2px;
  background: var(--gold);
  margin: 22px 0;
}

.invest-hero p {
  font-size: 16px;
  max-width: 580px;
  color: rgba(255,255,255,0.92);
  margin-bottom: 32px;
  line-height: 1.65;
}

.invest-trust-line {
  margin-top: 28px;
  font-size: 13px;
  color: rgba(255,255,255,0.80);
  letter-spacing: 0.5px;
}

/* ---------- WHY MAURITIUS ---------- */

.invest-why {
  background: var(--white);
}

.invest-why-intro {
  max-width: 780px;
  margin: 0 auto 20px;
  text-align: center;
  font-size: 16px;
  color: var(--charcoal);
  line-height: 1.65;
}

.invest-why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  margin: 50px 0 40px;
}

.invest-why-card {
  border: 1px solid var(--border);
  background: var(--white);
  padding: 36px 24px;
  text-align: center;
  transition: 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.invest-why-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 35px rgba(0,0,0,0.08);
  border-color: var(--gold);
}

.invest-why-card i {
  font-size: 36px;
  color: var(--gold);
  margin-bottom: 18px;
}

.invest-why-card h3 {
  font-size: 14px;
  text-transform: uppercase;
  color: var(--navy);
  line-height: 1.3;
  margin-bottom: 12px;
}

.invest-why-card p {
  font-size: 13px;
  color: var(--charcoal);
  line-height: 1.55;
}

.invest-why-cta {
  text-align: center;
  margin-top: 10px;
}

/* ---------- PROVEN CLIENT OUTCOMES (STATS) ---------- */

.invest-stats {
  background:
    linear-gradient(90deg, 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=1800&q=80");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: var(--white);
  padding: 48px 0;
}

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

.invest-stats .section-heading {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 0;
}

.invest-stats .section-heading .small-title {
  color: var(--gold);
}

.invest-stats .section-heading h2 {
  color: var(--white);
}

.invest-stats-row {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 0;
  max-width: 1000px;
  margin: 28px auto 16px;
}

.invest-stat-item {
  text-align: center;
  flex: 1;
  max-width: 300px;
  padding: 8px 45px;
}

.invest-stat-item + .invest-stat-item {
  border-left: 1px solid rgba(255,255,255,0.22);
}

.invest-stat-number {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(48px, 4vw, 64px);
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 10px;
}

.invest-stat-label {
  font-size: 14px;
  color: rgba(255,255,255,0.88);
  line-height: 1.5;
  max-width: 220px;
  margin: 0 auto;
}

.invest-stats-note {
  text-align: center;
  font-size: 12px;
  color: rgba(255,255,255,0.60);
  line-height: 1.6;
  max-width: 600px;
  margin: 0 auto;
}

/* Remove all stat divider lines on phone/tablet widths */
@media (max-width: 768px) {
  .invest-stat-item,
  .invest-stat-item + .invest-stat-item {
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
  }

  .invest-stat-item::before,
  .invest-stat-item::after {
    display: none !important;
    content: none !important;
  }
}

/* ---------- CHOOSE YOUR PATHWAY ---------- */

.invest-pathways {
  background:
    linear-gradient(90deg, rgba(3,17,29,0.94) 0%, rgba(3,17,29,0.90) 50%, rgba(3,17,29,0.82) 100%),
    url("https://images.unsplash.com/photo-1513415563383-4e580ed27a46?auto=format&fit=crop&w=1800&q=80");
  background-size: cover;
  background-position: center;
  color: var(--white);
}

.invest-pathways .section-heading .small-title {
  color: var(--gold);
}

.invest-pathways .section-heading h2 {
  color: var(--white);
}

.invest-pathway-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 40px;
}

.invest-pathway-card {
  background: rgba(6,27,45,0.85);
  border: 1px solid rgba(201,149,69,0.25);
  padding: 40px 28px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: 0.3s ease;
  position: relative;
}

.invest-pathway-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 35px rgba(0,0,0,0.20);
  border-color: var(--gold);
}

.invest-pathway-featured {
  border-color: var(--gold);
  border-width: 2px;
}

.invest-pathway-badge {
  position: absolute;
  top: -12px;
  left: 24px;
  background: var(--gold);
  color: var(--navy-dark);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 5px 14px;
  border-radius: 3px;
}

.invest-pathway-icon {
  font-size: 36px;
  color: var(--gold);
  margin-bottom: 18px;
}

.invest-pathway-card h3 {
  font-family: "Cormorant Garamond", serif;
  font-size: 24px;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 14px;
}

.invest-pathway-card p {
  font-size: 14px;
  color: rgba(255,255,255,0.82);
  line-height: 1.6;
  margin-bottom: 24px;
  flex-grow: 1;
}

.invest-pathway-btn {
  align-self: flex-start;
  font-size: 12px;
  padding: 12px 22px;
}

.invest-pathway-help {
  text-align: center;
  font-size: 15px;
  color: rgba(255,255,255,0.85);
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.6;
  padding: 24px;
  background: rgba(201,149,69,0.10);
  border: 1px solid rgba(201,149,69,0.25);
  border-radius: 4px;
}

/* ---------- GOLDEN VISA FEATURE ---------- */

.invest-golden-visa {
  background: var(--white);
}

.invest-gv-intro {
  max-width: 800px;
  margin: 0 auto 36px;
  text-align: center;
  font-size: 16px;
  color: var(--charcoal);
  line-height: 1.65;
}

.invest-gv-panel {
  background: rgba(201,149,69,0.06);
  border: 1px solid var(--gold);
  border-radius: 6px;
  padding: 36px 40px;
  margin: 0 auto 40px;
  max-width: 720px;
}

.invest-gv-panel-heading {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--navy);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.invest-gv-panel-heading i {
  color: var(--gold);
  font-size: 20px;
}

.invest-gv-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.invest-gv-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14px;
  color: var(--charcoal);
  line-height: 1.5;
}

.invest-gv-list li i {
  color: var(--gold);
  font-size: 14px;
  margin-top: 4px;
  flex-shrink: 0;
}

.invest-gv-body {
  max-width: 800px;
  margin: 0 auto 36px;
}

.invest-gv-body h3 {
  font-family: "Cormorant Garamond", serif;
  font-size: 24px;
  color: var(--navy);
  margin-bottom: 12px;
  margin-top: 28px;
}

.invest-gv-body h3:first-child {
  margin-top: 0;
}

.invest-gv-body p {
  font-size: 15px;
  color: var(--charcoal);
  line-height: 1.65;
  margin-bottom: 8px;
}

.invest-gv-status {
  background: rgba(201,149,69,0.06);
  border-left: 3px solid var(--gold);
  padding: 18px 22px;
  border-radius: 0 4px 4px 0;
  font-size: 14px;
  line-height: 1.6;
}

.invest-gv-action {
  text-align: center;
  margin-bottom: 50px;
}

.invest-gv-conversion {
  background: var(--navy);
  color: var(--white);
  padding: 50px 40px;
  text-align: center;
  border-radius: 6px;
  max-width: 800px;
  margin: 0 auto 30px;
}

.invest-gv-conversion h3 {
  font-family: "Cormorant Garamond", serif;
  font-size: 28px;
  margin-bottom: 16px;
  color: var(--gold);
}

.invest-gv-conversion p {
  font-size: 15px;
  color: rgba(255,255,255,0.88);
  line-height: 1.6;
  max-width: 600px;
  margin: 0 auto 28px;
}

.invest-gv-source {
  text-align: center;
  font-size: 13px;
  color: var(--muted);
}

.invest-gv-source a {
  color: var(--gold);
  text-decoration: underline;
  text-decoration-color: rgba(201,149,69,0.4);
  text-underline-offset: 2px;
}

.invest-gv-source a:hover {
  text-decoration-color: var(--gold);
}

.invest-gv-source i {
  margin-right: 6px;
  color: var(--gold);
}

/* ---------- FAQ ---------- */

.invest-faq {
  background: var(--ivory);
}

.invest-faq-list {
  max-width: 820px;
  margin: 0 auto;
}

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

.invest-faq-item:first-child {
  border-top: 1px solid var(--border);
}

.invest-faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 22px 0;
  display: flex;
  align-items: center;
  gap: 16px;
  cursor: pointer;
  font-family: "Inter", sans-serif;
  text-align: left;
  transition: 0.2s ease;
}

.invest-faq-question:hover {
  color: var(--gold);
}

.invest-faq-num {
  font-family: "Cormorant Garamond", serif;
  font-size: 20px;
  font-weight: 600;
  color: var(--gold);
  flex-shrink: 0;
  min-width: 32px;
}

.invest-faq-text {
  flex: 1;
  font-size: 15px;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.4;
}

.invest-faq-icon {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 16px;
  transition: transform 0.3s ease;
}

.invest-faq-question[aria-expanded="true"] .invest-faq-icon i {
  transform: rotate(45deg);
}

.invest-faq-question[aria-expanded="true"] .invest-faq-text {
  color: var(--gold);
}

.invest-faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  padding: 0 0 0 48px;
}

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

.invest-faq-answer p {
  font-size: 14px;
  color: var(--charcoal);
  line-height: 1.65;
  margin-bottom: 12px;
}

.invest-faq-answer p:last-child {
  margin-bottom: 0;
}

.invest-faq-help {
  font-style: italic;
  color: var(--gold) !important;
  font-size: 13px !important;
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid rgba(201,149,69,0.20);
}

/* ---------- ENQUIRY FORM ---------- */

.invest-form-section {
  background: var(--white);
  padding: 80px 0;
}

.invest-form {
  max-width: 680px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

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

.invest-form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.invest-form-field label {
  font-size: 12px;
  font-weight: 600;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.invest-form-field input,
.invest-form-field select {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid #d9d1c6;
  background: var(--white);
  font-family: "Inter", sans-serif;
  font-size: 13px;
  outline: none;
  transition: border-color 0.2s ease;
}

.invest-form-field input:focus,
.invest-form-field select:focus {
  border-color: var(--gold);
}

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

.invest-radio {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border: 1px solid #d9d1c6;
  cursor: pointer;
  font-size: 13px;
  color: var(--charcoal);
  transition: 0.2s ease;
}

.invest-radio:hover {
  border-color: var(--gold);
  background: rgba(201,149,69,0.04);
}

.invest-radio input[type="radio"] {
  width: auto;
  accent-color: var(--gold);
  margin: 0;
  flex-shrink: 0;
}

.invest-radio input[type="radio"]:checked + span {
  color: var(--navy);
  font-weight: 600;
}

.invest-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  text-transform: none !important;
  letter-spacing: 0 !important;
  font-size: 13px !important;
  font-weight: 400 !important;
  color: var(--charcoal) !important;
  line-height: 1.55;
  cursor: pointer;
}

.invest-consent input[type="checkbox"] {
  width: auto;
  margin-top: 3px;
  accent-color: var(--gold);
  flex-shrink: 0;
}

.invest-form-btn {
  width: 100%;
  padding: 16px;
  font-size: 14px;
  min-height: 52px;
  margin-top: 8px;
}

.invest-form-success {
  max-width: 680px;
  margin: 0 auto;
  padding: 40px 32px;
  text-align: center;
  background: rgba(201,149,69,0.06);
  border: 1px solid var(--gold);
  border-radius: 8px;
}

.invest-form-success i {
  font-size: 44px;
  color: var(--gold);
  margin-bottom: 16px;
}

.invest-form-success h3 {
  font-family: "Cormorant Garamond", serif;
  font-size: 26px;
  color: var(--navy);
  margin-bottom: 12px;
}

.invest-form-success p {
  font-size: 14px;
  color: var(--charcoal);
  line-height: 1.6;
  margin-bottom: 20px;
}

.invest-wa-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: #25D366;
  color: #fff;
  border-radius: 6px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: 0.3s ease;
}

.invest-wa-btn:hover {
  background: #1da851;
}

/* ---------- FINAL CTA ---------- */

.invest-cta {
  background:
    linear-gradient(90deg, rgba(3,17,29,0.94) 0%, rgba(3,17,29,0.88) 50%, rgba(3,17,29,0.60) 100%),
    url("https://images.unsplash.com/photo-1513415563383-4e580ed27a46?auto=format&fit=crop&w=1800&q=80");
  background-size: cover;
  background-position: center;
  color: var(--white);
  padding: 80px 0;
  text-align: center;
}

.invest-cta h2 {
  font-family: "Cormorant Garamond", serif;
  font-size: 40px;
  line-height: 1.1;
  margin-bottom: 16px;
}

.invest-cta .heading-line {
  margin: 16px auto 22px;
}

.invest-cta p {
  font-size: 16px;
  color: rgba(255,255,255,0.90);
  max-width: 600px;
  margin: 0 auto 32px;
  line-height: 1.6;
}

.invest-cta-buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* ---------- DISCLAIMER ---------- */

.invest-disclaimer {
  background: var(--navy-dark);
  padding: 40px 0;
  border-bottom: 1px solid rgba(255,255,255,0.10);
}

.invest-disclaimer p {
  font-size: 12px;
  color: rgba(255,255,255,0.70);
  line-height: 1.7;
  margin-bottom: 10px;
}

.invest-disclaimer p:last-child {
  margin-bottom: 0;
}

.invest-disclaimer strong {
  color: var(--gold);
}

/* ---------- RESPONSIVE (tablet) ---------- */

@media (max-width: 1100px) {
  .invest-why-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .invest-stats-row {
    gap: 40px;
  }

  .invest-stat-item {
    padding-right: 40px;
  }

  .invest-pathway-grid {
    grid-template-columns: 1fr;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
  }

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

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

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

@media (max-width: 740px) {
  .invest-hero {
    min-height: auto;
  }

  .invest-hero-content {
    padding: 80px 0 50px;
  }

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

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

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

  .invest-why-grid {
    grid-template-columns: 1fr;
  }

  .invest-stats-row {
    flex-direction: column;
    gap: 0;
  }

  .invest-stat-item {
    border-right: none;
    border-bottom: none;
    padding-right: 0;
    padding-bottom: 24px;
    padding-left: 0;
    max-width: 100%;
  }

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

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

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

  .invest-cta-buttons {
    flex-direction: column;
    align-items: stretch;
  }

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

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

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

  .invest-gv-panel {
    padding: 24px 20px;
  }

  .invest-form-section {
    padding: 60px 0;
  }

  /* Form inputs: 16px font to prevent iOS auto-zoom */
  .invest-form-field input,
  .invest-form-field select {
    font-size: 16px;
    min-height: 48px;
  }

  /* 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%;
  }

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

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