/* ===================================================
   Amanah Sanctions Group — Shared Stylesheet
   =================================================== */

/* --- Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400;1,500&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;1,9..40,300;1,9..40,400&display=swap');

/* --- CSS Custom Properties --- */
:root {
  --navy:       #0B1F3A;
  --navy-mid:   #122848;
  --navy-light: #1C3A5E;
  --gold:       #C9A84C;
  --gold-light: #DFC07A;
  --gold-dark:  #A8872E;
  --cream:      #FAF8F3;
  --cream-dark: #F0EDE4;
  --white:      #FFFFFF;
  --text-dark:  #1A1A1A;
  --text-mid:   #3D3D3D;
  --text-muted: #6B6B6B;
  --border:     #DDD8CC;

  --font-heading: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'DM Sans', system-ui, -apple-system, sans-serif;

  --max-width: 1200px;
  --section-pad: 96px;
  --section-pad-sm: 64px;

  --radius-sm: 4px;
  --radius:    8px;
  --radius-lg: 16px;

  --shadow-sm: 0 1px 3px rgba(11,31,58,0.08), 0 1px 2px rgba(11,31,58,0.06);
  --shadow:    0 4px 16px rgba(11,31,58,0.10), 0 2px 6px rgba(11,31,58,0.07);
  --shadow-lg: 0 12px 40px rgba(11,31,58,0.14), 0 4px 12px rgba(11,31,58,0.08);

  --transition: 0.22s ease;
}

/* --- Reset & Base --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text-dark);
  background-color: var(--cream);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

ul, ol {
  list-style: none;
}

/* --- Typography Scale --- */
h1, h2, h3, h4, h5 {
  font-family: var(--font-heading);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--navy);
}

h1 { font-size: clamp(2.6rem, 5vw, 4rem); font-weight: 400; }
h2 { font-size: clamp(2rem, 3.5vw, 2.9rem); }
h3 { font-size: clamp(1.4rem, 2.5vw, 1.9rem); }
h4 { font-size: 1.3rem; }
h5 { font-size: 1.1rem; }

p { max-width: 68ch; }
p + p { margin-top: 1rem; }

.lead {
  font-size: 1.15rem;
  line-height: 1.7;
  color: var(--text-mid);
  max-width: 60ch;
}

.eyebrow {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 0.9rem;
}

/* --- Layout Utilities --- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

.container--narrow {
  max-width: 800px;
}

.section {
  padding: var(--section-pad) 0;
}

.section--sm {
  padding: var(--section-pad-sm) 0;
}

.section--navy {
  background-color: var(--navy);
  color: var(--cream);
}

.section--navy h1,
.section--navy h2,
.section--navy h3,
.section--navy h4 {
  color: var(--cream);
}

.section--navy p,
.section--navy .lead {
  color: rgba(250, 248, 243, 0.80);
}

.section--cream-dark {
  background-color: var(--cream-dark);
}

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

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

.text-center { text-align: center; }
.text-center p { margin-left: auto; margin-right: auto; }

/* --- Gold Rule Divider --- */
.gold-rule {
  width: 56px;
  height: 2px;
  background: var(--gold);
  margin: 1.25rem 0 1.75rem;
}

.gold-rule--center {
  margin-left: auto;
  margin-right: auto;
}

/* --- Language Switcher --- */
.lang-switcher {
  display: flex;
  align-items: center;
  gap: 0.2rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  flex-shrink: 0;
}

.lang-switcher a {
  color: rgba(250,248,243,0.45);
  padding: 0.3rem 0.45rem;
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: color var(--transition);
}

.lang-switcher a:hover { color: var(--white); }

.lang-switcher a.active-lang {
  color: var(--gold);
  pointer-events: none;
}

.lang-switcher__sep {
  color: rgba(250,248,243,0.2);
  font-weight: 300;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  cursor: pointer;
  transition: background var(--transition), color var(--transition),
              border-color var(--transition), box-shadow var(--transition),
              transform var(--transition);
  white-space: nowrap;
  text-decoration: none;
  line-height: 1;
}

.btn:active { transform: translateY(1px); }

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

.btn--primary:hover {
  background: var(--gold-dark);
  border-color: var(--gold-dark);
  box-shadow: 0 4px 14px rgba(201,168,76,0.35);
}

.btn--outline-white {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.65);
}

.btn--outline-white:hover {
  background: rgba(255,255,255,0.10);
  border-color: var(--white);
}

.btn--outline-navy {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}

.btn--outline-navy:hover {
  background: var(--navy);
  color: var(--white);
}

.btn--lg {
  padding: 1.05rem 2.4rem;
  font-size: 0.95rem;
}

.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}

/* ===================================================
   NAVIGATION
   =================================================== */

.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--navy);
  border-bottom: 1px solid rgba(201,168,76,0.15);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 2rem;
}

/* Logo */
.nav-logo {
  display: flex;
  flex-direction: column;
  gap: 1px;
  text-decoration: none;
  flex-shrink: 0;
}

.nav-logo__name {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 500;
  color: var(--white);
  letter-spacing: 0.01em;
  line-height: 1.1;
}

.nav-logo__sub {
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-weight: 400;
  color: var(--gold);
  letter-spacing: 0.12em;
  line-height: 1;
  direction: ltr;
}

/* Nav links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  font-size: 0.875rem;
  font-weight: 400;
  color: rgba(250,248,243,0.75);
  padding: 0.5rem 0.85rem;
  border-radius: var(--radius-sm);
  transition: color var(--transition), background var(--transition);
  position: relative;
  text-decoration: none;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 0.85rem;
  right: 0.85rem;
  height: 1.5px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform var(--transition);
  transform-origin: left;
}

.nav-links a:hover {
  color: var(--white);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  transform: scaleX(1);
}

.nav-links a.active {
  color: var(--white);
}

/* Nav CTA */
.nav-cta {
  flex-shrink: 0;
}

/* Hamburger (mobile) */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: transform var(--transition), opacity var(--transition);
}

/* Mobile nav overlay */
.nav-mobile {
  display: none;
  position: fixed;
  inset: 72px 0 0;
  background: var(--navy);
  z-index: 99;
  padding: 2rem 24px;
  flex-direction: column;
  gap: 0.5rem;
  border-top: 1px solid rgba(201,168,76,0.2);
}

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

.nav-mobile a {
  font-size: 1.1rem;
  color: rgba(250,248,243,0.8);
  padding: 0.85rem 1rem;
  border-radius: var(--radius-sm);
  transition: color var(--transition), background var(--transition);
  text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}

.nav-mobile a:hover,
.nav-mobile a.active {
  color: var(--white);
  background: rgba(201,168,76,0.10);
}

.nav-mobile .btn {
  margin-top: 1rem;
  text-align: center;
  justify-content: center;
}

/* ===================================================
   HERO
   =================================================== */

.hero {
  background: var(--navy);
  padding: 100px 0 110px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -120px;
  right: -80px;
  width: 540px;
  height: 540px;
  border: 1px solid rgba(201,168,76,0.08);
  border-radius: 50%;
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  top: -60px;
  right: -40px;
  width: 360px;
  height: 360px;
  border: 1px solid rgba(201,168,76,0.06);
  border-radius: 50%;
  pointer-events: none;
}

.hero__inner {
  position: relative;
  z-index: 1;
  max-width: 760px;
}

.hero h1 {
  color: var(--white);
  font-weight: 400;
  margin-bottom: 1.5rem;
  font-size: clamp(2.8rem, 5.5vw, 4.2rem);
}

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

.hero .lead {
  color: rgba(250,248,243,0.78);
  margin-bottom: 2.25rem;
  font-size: 1.1rem;
}

/* ===================================================
   TRUST BAR
   =================================================== */

.trust-bar {
  background: var(--cream-dark);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 18px 0;
}

.trust-bar__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0 0;
}

.trust-bar__item {
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--navy);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 4px 18px;
  position: relative;
  white-space: nowrap;
}

.trust-bar__item + .trust-bar__item::before {
  content: '·';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  color: var(--gold);
  font-size: 1.1rem;
}

/* ===================================================
   SECTION HEADER
   =================================================== */

.section-header {
  margin-bottom: 3.5rem;
}

.section-header.text-center .gold-rule {
  margin-left: auto;
  margin-right: auto;
}

/* ===================================================
   WHO WE HELP — Community Grid
   =================================================== */

.community-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.25rem;
}

.community-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem 1.25rem;
  text-align: center;
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}

.community-card:hover {
  border-color: var(--gold);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.community-card__flag {
  font-size: 2.2rem;
  margin-bottom: 0.75rem;
  display: block;
  line-height: 1;
}

.community-card__country {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--navy);
  margin-bottom: 0.35rem;
}

.community-card__tag {
  font-size: 0.72rem;
  color: var(--text-muted);
  letter-spacing: 0.03em;
}

/* ===================================================
   PROCESS STEPS
   =================================================== */

.process-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  position: relative;
}

.process-steps::before {
  content: '';
  position: absolute;
  top: 28px;
  left: calc(16.66% + 28px);
  right: calc(16.66% + 28px);
  height: 1px;
  background: linear-gradient(90deg, var(--gold) 0%, var(--gold-light) 50%, var(--gold) 100%);
  opacity: 0.35;
}

.process-step {
  position: relative;
}

.process-step__number {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--gold);
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 1;
}

.process-step__title {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 500;
  color: var(--navy);
  margin-bottom: 0.75rem;
}

.process-step__desc {
  font-size: 0.95rem;
  color: var(--text-mid);
  line-height: 1.6;
  max-width: none;
}

/* Process steps — navy variant (how-it-works page) */
.section--navy .process-step__number {
  background: rgba(201,168,76,0.15);
  color: var(--gold);
  border: 1px solid rgba(201,168,76,0.3);
}

.section--navy .process-step__title {
  color: var(--white);
}

.section--navy .process-steps::before {
  opacity: 0.2;
}

/* ===================================================
   CARDS
   =================================================== */

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  transition: box-shadow var(--transition), transform var(--transition);
}

.card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.card--navy {
  background: var(--navy-mid);
  border-color: rgba(201,168,76,0.15);
}

.card--navy h3,
.card--navy h4 {
  color: var(--white);
}

.card--navy p {
  color: rgba(250,248,243,0.75);
}

.card__icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: rgba(201,168,76,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.card__icon svg {
  width: 22px;
  height: 22px;
  stroke: var(--gold);
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ===================================================
   PRICING TIERS
   =================================================== */

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  align-items: start;
}

.pricing-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow var(--transition), transform var(--transition);
}

.pricing-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}

.pricing-card--featured {
  border-color: var(--gold);
  border-width: 2px;
  position: relative;
}

.pricing-card__badge {
  position: absolute;
  top: -1px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gold);
  color: var(--white);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
}

.pricing-card__header {
  background: var(--navy);
  padding: 1.75rem 1.75rem 1.5rem;
}

.pricing-card__tier {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.5rem;
}

.pricing-card__name {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--white);
  margin-bottom: 1rem;
}

.pricing-card__price {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 400;
  color: var(--gold);
  line-height: 1;
}

.pricing-card__price span {
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: rgba(250,248,243,0.6);
  font-weight: 400;
  display: block;
  margin-top: 0.3rem;
}

.pricing-card__body {
  padding: 1.75rem;
}

.pricing-card__desc {
  font-size: 0.9rem;
  color: var(--text-mid);
  margin-bottom: 1.5rem;
  max-width: none;
}

.pricing-card__features {
  list-style: none;
  padding: 0;
  margin: 0 0 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.pricing-card__features li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.88rem;
  color: var(--text-mid);
  line-height: 1.4;
}

.pricing-card__features li::before {
  content: '';
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  margin-top: 1px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23C9A84C' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2.5 8.5l3.5 3.5 7.5-7.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: contain;
}

/* ===================================================
   CREDENTIALS / ABOUT
   =================================================== */

.cred-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.cred-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.cred-item:hover {
  border-color: var(--gold);
  box-shadow: var(--shadow-sm);
}

.cred-item__dot {
  flex-shrink: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
  margin-top: 6px;
}

.cred-item__text {
  font-size: 0.9rem;
  color: var(--text-mid);
  line-height: 1.5;
}

.cred-item__text strong {
  display: block;
  font-weight: 600;
  color: var(--navy);
  font-size: 0.95rem;
  margin-bottom: 0.2rem;
}

/* ===================================================
   FOUNDER STORY
   =================================================== */

.founder-block {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 4rem;
  align-items: start;
}

.founder-block__aside {
  position: sticky;
  top: 96px;
}

.founder-block__quote {
  font-family: var(--font-heading);
  font-size: 1.7rem;
  font-style: italic;
  font-weight: 400;
  color: var(--navy);
  line-height: 1.4;
  margin-bottom: 1.5rem;
  padding-left: 1.25rem;
  border-left: 3px solid var(--gold);
}

.founder-block__attribution {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding-left: 1.25rem;
}

.founder-block__content p {
  font-size: 1rem;
  color: var(--text-mid);
  line-height: 1.75;
  margin-bottom: 1.25rem;
  max-width: none;
}

.founder-block__content p:last-child { margin-bottom: 0; }

/* ===================================================
   CONTACT / FORM
   =================================================== */

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.form-grid--full {
  grid-column: 1 / -1;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.form-group label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--navy);
  letter-spacing: 0.03em;
}

.form-group label .required {
  color: var(--gold);
  margin-left: 2px;
}

.form-group input,
.form-group select,
.form-group textarea {
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text-dark);
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.75rem 1rem;
  width: 100%;
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
  appearance: none;
  -webkit-appearance: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #B0ADA6;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201,168,76,0.12);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236B6B6B' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 2.5rem;
  cursor: pointer;
}

.form-submit {
  margin-top: 0.5rem;
}

.form-note {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 1rem;
}

/* Contact layout */
.contact-layout {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 4rem;
  align-items: start;
}

.contact-sidebar {
  position: sticky;
  top: 96px;
}

.contact-sidebar__block {
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border);
}

.contact-sidebar__block:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.contact-sidebar__label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.65rem;
}

.contact-sidebar__text {
  font-size: 0.92rem;
  color: var(--text-mid);
  line-height: 1.6;
  max-width: none;
}

.lang-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin: 0;
  padding: 0;
}

.lang-list li {
  font-size: 0.9rem;
  color: var(--text-mid);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.lang-list li::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
}

/* ===================================================
   FAQ / ACCORDION
   =================================================== */

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

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

.faq-item:last-child { border-bottom: none; }

.faq-item__question {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  padding: 1.25rem 1.5rem;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--navy);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  transition: background var(--transition);
}

.faq-item__question:hover { background: var(--cream-dark); }

.faq-item__icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  position: relative;
  transition: transform var(--transition);
}

.faq-item__icon::before,
.faq-item__icon::after {
  content: '';
  position: absolute;
  background: var(--gold);
  border-radius: 2px;
}

.faq-item__icon::before {
  top: 50%; left: 0; right: 0; height: 1.5px;
  transform: translateY(-50%);
}

.faq-item__icon::after {
  left: 50%; top: 0; bottom: 0; width: 1.5px;
  transform: translateX(-50%);
  transition: opacity var(--transition), transform var(--transition);
}

.faq-item.open .faq-item__icon::after {
  opacity: 0;
  transform: translateX(-50%) rotate(90deg);
}

.faq-item__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding var(--transition);
}

.faq-item.open .faq-item__answer {
  max-height: 600px;
}

.faq-item__answer__inner {
  padding: 0 1.5rem 1.25rem;
  font-size: 0.93rem;
  color: var(--text-mid);
  line-height: 1.7;
}

/* ===================================================
   CALLOUT BANNER
   =================================================== */

.callout {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  border-radius: var(--radius-lg);
  padding: 3.5rem 3rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.callout::before {
  content: '';
  position: absolute;
  top: -60px;
  right: -60px;
  width: 240px;
  height: 240px;
  border: 1px solid rgba(201,168,76,0.1);
  border-radius: 50%;
}

.callout__title {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 400;
  color: var(--white);
  margin-bottom: 1rem;
}

.callout__text {
  color: rgba(250,248,243,0.78);
  font-size: 1rem;
  margin: 0 auto 2rem;
  max-width: 52ch;
}

/* ===================================================
   FOOTER
   =================================================== */

.site-footer {
  background: var(--navy);
  color: rgba(250,248,243,0.65);
  padding: 56px 0 32px;
  border-top: 1px solid rgba(201,168,76,0.2);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand__name {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--white);
  margin-bottom: 0.3rem;
}

.footer-brand__sub {
  font-size: 0.68rem;
  color: var(--gold);
  letter-spacing: 0.12em;
  margin-bottom: 1rem;
}

.footer-brand__tagline {
  font-size: 0.88rem;
  color: rgba(250,248,243,0.55);
  line-height: 1.6;
  max-width: 30ch;
  font-style: italic;
  font-family: var(--font-heading);
}

.footer-col__heading {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}

.footer-col__links {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-col__links a {
  font-size: 0.88rem;
  color: rgba(250,248,243,0.65);
  transition: color var(--transition);
  text-decoration: none;
}

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

.footer-col__text {
  font-size: 0.88rem;
  line-height: 1.6;
  color: rgba(250,248,243,0.55);
  max-width: none;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
}

.footer-disclaimer {
  font-size: 0.78rem;
  color: rgba(250,248,243,0.42);
  line-height: 1.6;
  max-width: 65ch;
}

.footer-copy {
  font-size: 0.78rem;
  color: rgba(250,248,243,0.35);
  flex-shrink: 0;
}

/* ===================================================
   PAGE HERO (inner pages)
   =================================================== */

.page-hero {
  background: var(--navy);
  padding: 72px 0 80px;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  bottom: -80px;
  right: -60px;
  width: 380px;
  height: 380px;
  border: 1px solid rgba(201,168,76,0.07);
  border-radius: 50%;
}

.page-hero h1 {
  color: var(--white);
  font-weight: 400;
  margin-bottom: 1rem;
}

.page-hero .lead {
  color: rgba(250,248,243,0.75);
  max-width: 58ch;
}

/* ===================================================
   UTILITY
   =================================================== */

.mt-1  { margin-top: 0.5rem; }
.mt-2  { margin-top: 1rem; }
.mt-3  { margin-top: 1.5rem; }
.mt-4  { margin-top: 2rem; }
.mt-6  { margin-top: 3rem; }
.mb-2  { margin-bottom: 1rem; }
.mb-4  { margin-bottom: 2rem; }

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}

/* ===================================================
   RTL SUPPORT (Arabic / Farsi)
   =================================================== */

/* Arabic / Farsi font override */
[dir="rtl"] {
  --font-heading: 'Cairo', 'Noto Naskh Arabic', sans-serif;
  --font-body:    'Cairo', 'Noto Naskh Arabic', sans-serif;
}

/* Gold rule: flip for non-centered use */
[dir="rtl"] .gold-rule:not(.gold-rule--center) {
  margin-right: 0;
  margin-left: auto;
}

/* Nav underline animation: flip origin */
[dir="rtl"] .nav-links a::after {
  transform-origin: right;
}

/* Nav logo subtext always displays LTR (it's mixed script) */
[dir="rtl"] .nav-logo__sub {
  direction: ltr;
  text-align: right;
}

/* Founder block quote: flip border to right side */
[dir="rtl"] .founder-block__quote {
  padding-left: 0;
  padding-right: 1.25rem;
  border-left: none;
  border-right: 3px solid var(--gold);
}

[dir="rtl"] .founder-block__attribution {
  padding-left: 0;
  padding-right: 1.25rem;
}

/* Select dropdown: move arrow to left side */
[dir="rtl"] .form-group select {
  background-position: left 12px center;
  padding-right: 1rem;
  padding-left: 2.5rem;
}

/* Credential dot: slight spacing tweak */
[dir="rtl"] .cred-item__dot {
  margin-left: 0;
  margin-right: 0;
}

/* Pricing badge: re-center */
[dir="rtl"] .pricing-card__badge {
  left: 50%;
  right: auto;
}

/* FAQ icon: keep cross centered */
[dir="rtl"] .faq-item__icon::after {
  left: 50%;
  right: auto;
}

/* Trust bar separators */
[dir="rtl"] .trust-bar__item + .trust-bar__item::before {
  left: auto;
  right: 0;
}

/* Process steps: flip connector line gradient */
[dir="rtl"] .process-steps::before {
  background: linear-gradient(270deg, var(--gold) 0%, var(--gold-light) 50%, var(--gold) 100%);
}

/* Pricing features checkmark alignment */
[dir="rtl"] .pricing-card__features li {
  flex-direction: row-reverse;
  text-align: right;
}

/* ===================================================
   RESPONSIVE
   =================================================== */

@media (max-width: 1024px) {
  .community-grid { grid-template-columns: repeat(3, 1fr); }
  .pricing-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
  .founder-block { grid-template-columns: 1fr; gap: 2.5rem; }
  .founder-block__aside { position: static; }
  .contact-layout { grid-template-columns: 1fr; gap: 2.5rem; }
  .contact-sidebar { position: static; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  :root {
    --section-pad: 64px;
    --section-pad-sm: 48px;
  }

  .nav-links,
  .nav-cta {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .hero { padding: 72px 0 80px; }
  .page-hero { padding: 56px 0 64px; }

  .grid-2,
  .grid-3,
  .grid-4,
  .process-steps {
    grid-template-columns: 1fr;
  }

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

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

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

  .footer-inner { grid-template-columns: 1fr; gap: 2rem; }

  .footer-bottom {
    flex-direction: column;
    gap: 0.75rem;
  }

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

  .callout { padding: 2.5rem 1.5rem; }

  .trust-bar__inner {
    gap: 2px 0;
    justify-content: flex-start;
  }

  .trust-bar__item {
    font-size: 0.7rem;
    padding: 3px 12px;
  }
}

@media (max-width: 480px) {
  .community-grid { grid-template-columns: 1fr 1fr; }
  .btn-group { flex-direction: column; align-items: flex-start; }
}
