/* Atlas Immigration — 2026 visual redesign */

:root {
  --ink: #0b2233;
  --ink-2: #15384d;
  --ink-3: #285468;
  --coral: #d74455;
  --coral-dark: #af293a;
  --coral-soft: #f8e6e6;
  --sand: #f4efe7;
  --sand-2: #ebe2d6;
  --paper: #fcfbf8;
  --sage: #c8d8d0;
  --sky: #e9f1f3;
  --text: #163344;
  --muted: #667985;
  --line: rgba(11, 34, 51, 0.11);
  --shadow-sm: 0 10px 35px rgba(11, 34, 51, 0.08);
  --shadow-lg: 0 30px 80px rgba(11, 34, 51, 0.16);
  --radius-sm: 14px;
  --radius-md: 24px;
  --radius-lg: 38px;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

html { scroll-padding-top: 96px; }

body {
  background: var(--paper);
  color: var(--text);
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  letter-spacing: -0.01em;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  opacity: .42;
  background-image: radial-gradient(rgba(11, 34, 51, .065) .65px, transparent .65px);
  background-size: 18px 18px;
  mask-image: linear-gradient(to bottom, black, transparent 35%);
}

.atlas-progress {
  position: fixed;
  z-index: 10001;
  inset: 0 0 auto 0;
  height: 3px;
  background: linear-gradient(90deg, var(--coral), #f3a99b);
  transform: scaleX(0);
  transform-origin: left;
  pointer-events: none;
}

::selection { background: var(--coral); color: #fff; }

h1, h2, h3, h4, .navbar-title, .footer-brand-name {
  color: var(--ink);
  font-family: "Playfair Display", Georgia, serif;
  letter-spacing: -0.035em;
}

a, button, input, select, textarea { outline-color: var(--coral); }

.container { max-width: 1280px; padding-inline: clamp(22px, 4vw, 58px); }
.container-sm { max-width: 920px; padding-inline: clamp(22px, 4vw, 48px); }

/* Navigation */
.navbar {
  height: 88px;
  background: rgba(252, 251, 248, .9);
  border-bottom: 1px solid transparent;
  box-shadow: none;
  backdrop-filter: blur(22px) saturate(150%);
  -webkit-backdrop-filter: blur(22px) saturate(150%);
  transition: height .35s var(--ease), border-color .35s ease, box-shadow .35s ease;
}

.navbar.is-scrolled {
  height: 74px;
  border-color: var(--line);
  box-shadow: 0 12px 45px rgba(11, 34, 51, .08);
}

.navbar-inner { height: 100%; max-width: 1440px; padding-inline: clamp(20px, 3vw, 46px); gap: 22px; }

.navbar-brand { min-width: max-content; gap: 12px; }

.navbar-logo {
  width: 44px;
  height: 44px;
  position: relative;
  overflow: hidden;
  border: 0;
  background: var(--coral);
  box-shadow: 0 10px 25px rgba(215, 68, 85, .25);
  color: transparent;
  font-size: 0;
}

.navbar-logo::before {
  content: "A";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #fff;
  font: 700 22px/1 "Playfair Display", Georgia, serif;
}

.navbar-logo::after {
  content: "";
  position: absolute;
  right: 8px;
  bottom: 8px;
  width: 6px;
  height: 6px;
  background: #f5c8bd;
  border-radius: 50%;
}

.navbar-title { color: var(--ink); font-size: 17px; line-height: 1.05; }
.navbar-title span { color: var(--coral); font: 700 9px/1.2 "Inter", sans-serif; letter-spacing: .2em; margin-top: 5px; }

.nav-links { gap: 3px; margin-left: auto; }
.nav-links a {
  min-height: 42px;
  padding: 0 11px;
  border-radius: 999px;
  color: #526774;
  font-size: 12.5px;
  font-weight: 650;
  letter-spacing: -.01em;
}
.nav-links a::after { display: none; }
.nav-links a:hover { color: var(--ink); background: var(--sky); }
.nav-links a.active { color: var(--ink); background: var(--sand); }

.lang-toggle {
  min-height: 40px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  font-size: 11px;
  font-weight: 750;
  padding: 0 14px;
}
.lang-toggle:hover { color: #fff; border-color: var(--ink); background: var(--ink); }

.nav-toggle { color: var(--ink); border-color: var(--line); border-radius: 12px; }
.nav-toggle:hover { background: var(--sand); }

/* Homepage hero */
.hero {
  min-height: min(860px, 92vh);
  display: flex;
  align-items: center;
  margin-top: 0;
  padding: 160px 0 150px;
  background: var(--ink);
  isolation: isolate;
}

.hero-bg {
  inset: 0;
  background-image: url("../images/atlas-hero-v2.png");
  background-position: center center;
  filter: saturate(.88) contrast(1.02);
  transform: scale(1.025);
  animation: atlasHeroDrift 18s ease-in-out infinite alternate;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(6, 28, 43, .97) 0%, rgba(6, 28, 43, .91) 34%, rgba(6, 28, 43, .54) 57%, rgba(6, 28, 43, .07) 82%),
    linear-gradient(0deg, rgba(6, 28, 43, .42), transparent 45%);
}

.hero::before {
  content: "";
  position: absolute;
  width: 520px;
  height: 520px;
  left: -260px;
  bottom: -260px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 50%;
  box-shadow: 0 0 0 80px rgba(255, 255, 255, .025), 0 0 0 160px rgba(255, 255, 255, .018);
  z-index: 1;
}

.hero-content { max-width: 1280px; width: 100%; padding-top: 10px; }
.hero-content > * { max-width: 700px; }

.hero-badge {
  width: fit-content;
  margin-bottom: 28px;
  padding: 10px 15px;
  color: rgba(255,255,255,.88);
  background: rgba(255,255,255,.09);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 750;
  letter-spacing: .12em;
  text-transform: uppercase;
  backdrop-filter: blur(12px);
  box-shadow: none;
}

.hero-content h1 {
  max-width: 760px;
  color: #fff;
  font-size: clamp(52px, 6.2vw, 88px);
  line-height: .99;
  letter-spacing: -.055em;
  text-wrap: balance;
  margin-bottom: 28px;
}

.hero-content h1 em {
  color: #f3a99b;
  font-style: italic;
  font-weight: 500;
  position: relative;
}

.hero-content p {
  max-width: 610px;
  color: rgba(255,255,255,.74);
  font-size: clamp(16px, 1.25vw, 19px);
  line-height: 1.75;
  margin-bottom: 36px;
}

.hero-cta { gap: 12px; }

.hero .btn {
  min-height: 58px;
  padding-inline: 28px;
  border-radius: 999px;
  font-size: 14px;
  letter-spacing: -.01em;
}
.hero .btn-secondary { color: #fff; background: var(--coral); box-shadow: 0 15px 38px rgba(215, 68, 85, .32); }
.hero .btn-secondary:hover { background: #eb5b6a; box-shadow: 0 18px 44px rgba(215, 68, 85, .4); }
.hero .btn-outline { border: 1px solid rgba(255,255,255,.34); background: rgba(255,255,255,.07); }

.hero-proof {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 38px;
  color: rgba(255,255,255,.62);
  font-size: 12px;
  font-weight: 600;
}
.hero-proof span { display: inline-flex; align-items: center; gap: 8px; }
.hero-proof i { width: 5px; height: 5px; border-radius: 50%; background: #f3a99b; }

/* Stats */
.stats-strip { position: relative; z-index: 4; margin-top: -72px; padding: 0; background: transparent; }
.stats-strip .container { max-width: 1210px; }
.stats-grid {
  gap: 0;
  padding: 28px 12px;
  text-align: left;
  background: rgba(255,255,255,.93);
  border: 1px solid rgba(255,255,255,.9);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(20px);
}
.stats-grid > div { padding: 8px 26px; border-right: 1px solid var(--line); }
.stats-grid > div:last-child { border-right: 0; }
.stat-num { color: var(--coral); font: 650 clamp(28px, 3vw, 42px)/1 "Playfair Display", serif; letter-spacing: -.04em; margin-bottom: 8px; }
.stat-label { color: var(--muted); font-size: 11px; font-weight: 650; line-height: 1.5; letter-spacing: .03em; text-transform: uppercase; }

/* Sections and type */
.section { padding: clamp(88px, 10vw, 138px) 0; }
.section-sm { padding: 64px 0; }
.section-alt { background: var(--sand); }

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--coral);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.section-label::before { content: ""; width: 24px; height: 1px; background: currentColor; }
.title-line { display: none; }
.section-title { color: var(--ink); font-size: clamp(37px, 4vw, 58px); line-height: 1.08; letter-spacing: -.045em; margin: 17px 0 22px; text-wrap: balance; }
.section-subtitle { max-width: 620px; color: var(--muted); font-size: 16px; line-height: 1.85; }
.section p[style] { color: var(--muted) !important; font-size: 16px !important; line-height: 1.85 !important; }

.grid-2 { gap: clamp(32px, 5vw, 72px); }
.grid-3 { gap: 20px; }
.grid-4 { gap: 18px; }

/* Cards */
.card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255,255,255,.76);
  box-shadow: none;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .35s ease;
}
.card::before { content: ""; display: block; height: 3px; background: linear-gradient(90deg, var(--coral), #e99f8d); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease); }
.card:hover { transform: translateY(-8px); border-color: rgba(215,68,85,.25); box-shadow: var(--shadow-lg); }
.card:hover::before { transform: scaleX(1); }
.card-body { padding: 32px; }
.card-icon {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  background: var(--sky);
  color: var(--ink);
  filter: grayscale(1);
  font-size: 23px;
  box-shadow: inset 0 0 0 1px rgba(11,34,51,.05);
}
.card-title { color: var(--ink); font-size: 21px; margin-top: 24px; }
.card-text { color: var(--muted); font-size: 14px; line-height: 1.75; }
.card a { color: var(--coral) !important; font-weight: 750 !important; text-decoration: none; }

/* Buttons */
.btn {
  min-height: 52px;
  padding: 0 23px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 13px;
  font-weight: 750;
  letter-spacing: -.005em;
  box-shadow: none;
  transition: transform .35s var(--ease), box-shadow .35s ease, background-color .25s ease, color .25s ease;
}
.btn-primary { background: var(--coral); color: #fff; }
.btn-primary:hover { background: var(--coral-dark); transform: translateY(-3px); box-shadow: 0 14px 32px rgba(215,68,85,.25); }
.btn-secondary { background: var(--sand-2); color: var(--ink); }
.btn-secondary:hover { background: #dfd2c3; transform: translateY(-3px); }
.btn-navy { background: var(--ink); color: #fff; }
.btn-navy:hover { background: var(--ink-2); transform: translateY(-3px); box-shadow: 0 14px 32px rgba(11,34,51,.22); }

/* Service timeline */
.service-list { gap: 0; border-top: 1px solid var(--line); }
.service-item {
  gap: 20px;
  padding: 21px 8px;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.service-item:hover { transform: translateX(8px); background: transparent; box-shadow: none; }
.service-num { width: 38px; height: 38px; flex: 0 0 38px; border: 1px solid var(--line); border-radius: 50%; background: #fff; color: var(--coral); font-size: 12px; box-shadow: none; }
.service-text { color: var(--muted); font-size: 14px; line-height: 1.7; }

.service-block { gap: clamp(28px, 5vw, 70px); padding: 65px 0; border-color: var(--line); }
.service-block-img { min-height: 360px; border-radius: var(--radius-md); box-shadow: var(--shadow-sm); }
.service-block#humanitarian .service-block-img img { object-position: 73% center; }
.service-block-content h3 { color: var(--ink); font-size: clamp(29px, 3vw, 42px); }
.service-block-content .service-category { color: var(--coral); }
.service-block-content p { color: var(--muted); font-size: 15px; line-height: 1.8; }

/* Interior hero */
.page-hero { height: 390px; min-height: 390px; background: var(--ink); }
.page-hero-bg {
  background-image: url("../images/atlas-hero-v2.png");
  background-position: center 42%;
  filter: saturate(.7);
  transform: scale(1.03);
}
.page-canada .page-hero-bg { background-image: url("../images/canada-toronto-v2.webp"); background-position: center 52%; }
.page-services .page-hero-bg { background-image: url("../images/service-business-v2.webp"); background-position: center 42%; }
.page-contact .page-hero-bg { background-image: url("../images/service-humanitarian-v2.webp"); background-position: center 46%; }
.page-hero-overlay { background: linear-gradient(90deg, rgba(6,28,43,.96), rgba(6,28,43,.72) 55%, rgba(6,28,43,.35)); }
.page-hero-content { max-width: 1280px; padding-inline: clamp(22px, 4vw, 58px); }
.page-hero-content h1 { color: #fff; font-size: clamp(48px, 6vw, 76px); letter-spacing: -.05em; }
.breadcrumb { margin-top: 20px; color: rgba(255,255,255,.58); font-size: 12px; font-weight: 650; letter-spacing: .04em; text-transform: uppercase; }

/* Forms and calculator */
.form-group { margin-bottom: 25px; }
.form-label { color: var(--ink); font-size: 12px; font-weight: 750; letter-spacing: .025em; }
.form-control {
  min-height: 54px;
  padding: 13px 16px;
  color: var(--ink);
  border: 1px solid rgba(11,34,51,.14);
  border-radius: 13px;
  background: rgba(255,255,255,.86);
  box-shadow: inset 0 1px 2px rgba(11,34,51,.02);
  transition: border-color .2s, box-shadow .2s, background-color .2s;
}
.form-control:focus { border-color: var(--coral); background: #fff; box-shadow: 0 0 0 4px rgba(215,68,85,.11); }
.form-check { border-color: var(--line); border-radius: 13px; background: rgba(255,255,255,.7); }
.form-check:hover { background: #fff; border-color: rgba(215,68,85,.25); }

.calc-card { border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); background: #fff; }
.calc-header { padding: 44px clamp(26px, 5vw, 56px); background: var(--ink); }
.calc-header h2 { font-size: clamp(32px, 4vw, 48px); }
.calc-body { padding: clamp(30px, 5vw, 60px); }
.calc-section { padding-bottom: 34px; border-bottom: 1px solid var(--line); }
.calc-section-title { color: var(--ink); font-size: 18px; }
.points-badge { color: var(--coral); background: var(--coral-soft); border-radius: 999px; }
.calc-result { border-radius: var(--radius-md); background: var(--ink); }

.contact-card { border-radius: var(--radius-md); background: var(--ink); box-shadow: var(--shadow-lg); }
.contact-card h3 { color: #f3a99b; }
.cd-icon { background: rgba(255,255,255,.1); color: #fff; border-radius: 13px; }
.map-placeholder { min-height: 270px; border-radius: var(--radius-md); background: var(--sand); border-color: var(--line); }

.info-box, .alert { border-radius: var(--radius-sm); }
.info-box { border: 1px solid var(--line); background: var(--sky); }
.info-box h4 { color: var(--ink); }

.link-card { min-height: 84px; border-color: var(--line); border-radius: var(--radius-sm); background: #fff; box-shadow: none; }
.link-card:hover { transform: translateY(-4px); border-color: rgba(215,68,85,.22); box-shadow: var(--shadow-sm); }
.link-icon { border-radius: 13px; background: var(--sky); filter: grayscale(1); }
.link-title { color: var(--ink); }

.about-photo, .canada-img-wrap { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.about-photo img, .canada-img-wrap img { transition: transform .8s var(--ease), filter .8s ease; }
.about-photo:hover img, .canada-img-wrap:hover img { transform: scale(1.035); }
.credential-badge { border: 0; border-radius: 18px; background: var(--coral); box-shadow: 0 18px 40px rgba(215,68,85,.28); }

.prose { color: var(--muted); }
.prose h2 { color: var(--ink); font-size: clamp(28px, 3vw, 40px); margin-top: 52px; }
.prose h3 { color: var(--ink); }
.prose p, .prose ul li { color: var(--muted); font-size: 15px; line-height: 1.85; }
.prose a { color: var(--coral); }

/* Large inline CTA sections used across pages */
body > section[style*="linear-gradient"] {
  position: relative;
  overflow: hidden;
  padding: clamp(82px, 9vw, 124px) 0 !important;
  background: var(--ink) !important;
}
body > section[style*="linear-gradient"]::before {
  content: "";
  position: absolute;
  inset: -40% -10%;
  background: radial-gradient(circle at 78% 40%, rgba(215,68,85,.42), transparent 30%), radial-gradient(circle at 12% 80%, rgba(89,151,170,.28), transparent 32%);
  animation: atlasGlow 12s ease-in-out infinite alternate;
}
body > section[style*="linear-gradient"] .container { position: relative; z-index: 1; }
body > section[style*="linear-gradient"] h2 { color: #fff !important; font-size: clamp(38px, 5vw, 62px) !important; letter-spacing: -.045em; }
body > section[style*="linear-gradient"] p { color: rgba(255,255,255,.68) !important; font-size: 16px !important; }
body > section[style*="linear-gradient"] .btn-secondary { color: #fff; background: var(--coral); }
body > section[style*="linear-gradient"] .btn-outline { border: 1px solid rgba(255,255,255,.35); }

/* Footer */
.footer { padding-top: 88px; background: #071923; }
.footer-grid { gap: clamp(35px, 5vw, 70px); grid-template-columns: 1.4fr .65fr .65fr 1fr; }
.footer-brand-name { color: #fff; font-size: 25px; }
.footer-brand-sub, .footer-heading { color: #f3a99b; }
.footer-heading { font-family: "Inter", sans-serif; font-size: 10px; letter-spacing: .18em; }
.footer-desc, .footer-links a, .footer-contact-row span { color: rgba(255,255,255,.52); }
.footer-links { gap: 11px; }
.footer-links a:hover { color: #fff; transform: translateX(3px); }
.footer-cicc { width: fit-content; border: 1px solid rgba(243,169,155,.25); border-radius: 999px; color: #f3a99b; background: rgba(243,169,155,.07); }
.footer-bottom { border-color: rgba(255,255,255,.08); }

.back-to-top, .whatsapp-btn { width: 50px; height: 50px; border: 1px solid rgba(255,255,255,.5); box-shadow: 0 12px 35px rgba(11,34,51,.2); }
.back-to-top { right: 24px; bottom: 86px; background: var(--ink); }
.whatsapp-btn { right: 24px; bottom: 24px; }

/* Reveal and micro-interactions */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
  transition-delay: var(--reveal-delay, 0ms);
}
.reveal-on-scroll.is-visible { opacity: 1; transform: translateY(0); }
.hero-badge { animation: atlasRise .8s .15s both var(--ease); }
.hero-content h1 { animation: atlasRise .95s .25s both var(--ease); }
.hero-content p { animation: atlasRise .95s .38s both var(--ease); }
.hero-cta { animation: atlasRise .95s .5s both var(--ease); }
.hero-proof { animation: atlasRise .95s .62s both var(--ease); }

@keyframes atlasRise { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: translateY(0); } }
@keyframes atlasHeroDrift { from { transform: scale(1.025) translate3d(0,0,0); } to { transform: scale(1.065) translate3d(-.6%, .4%, 0); } }
@keyframes atlasGlow { from { transform: translate3d(-2%, -1%, 0) scale(1); } to { transform: translate3d(2%, 1%, 0) scale(1.08); } }

/* Responsive */
@media (max-width: 1100px) {
  .navbar { height: 76px; }
  .nav-links {
    display: none;
    position: absolute;
    left: 18px;
    right: 18px;
    top: 76px;
    max-height: calc(100vh - 76px);
    padding: 18px;
    background: rgba(252,251,248,.98);
    border: 1px solid var(--line);
    border-radius: 0 0 22px 22px;
    border-top: 1px solid var(--line);
    box-shadow: var(--shadow-lg);
  }
  .nav-links.open { display: flex; flex-direction: column; align-items: stretch; }
  .nav-links a { min-height: 50px; padding: 0 16px; font-size: 14px; }
  .nav-links a.active { background: var(--sand); }
  .nav-toggle { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; margin-left: auto; }
  .lang-toggle { margin-left: 0; }
  .hero { min-height: 780px; }
  .hero-overlay { background: linear-gradient(90deg, rgba(6,28,43,.97), rgba(6,28,43,.78) 58%, rgba(6,28,43,.25)); }
}

@media (max-width: 900px) {
  .hero { min-height: 730px; padding: 130px 0 130px; }
  .hero-bg { background-position: 58% center; }
  .hero-overlay { background: linear-gradient(90deg, rgba(6,28,43,.96), rgba(6,28,43,.82) 66%, rgba(6,28,43,.46)); }
  .hero-content > * { max-width: 610px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid > div:nth-child(2) { border-right: 0; }
  .stats-grid > div:nth-child(-n+2) { border-bottom: 1px solid var(--line); padding-bottom: 22px; }
  .stats-grid > div:nth-child(n+3) { padding-top: 22px; }
  .footer-grid { grid-template-columns: 1.4fr 1fr; }
}

@media (max-width: 768px) {
  .navbar-title { font-size: 15px; }
  .lang-toggle { padding-inline: 10px; }
  .hero { min-height: 760px; padding: 120px 0 130px; }
  .hero-bg { background-position: 66% center; opacity: .72; }
  .hero-overlay { background: linear-gradient(0deg, rgba(6,28,43,.98), rgba(6,28,43,.74)); }
  .hero-content h1 { font-size: clamp(46px, 13vw, 66px); }
  .hero-content p { font-size: 15px; }
  .hero-cta { flex-direction: column; align-items: stretch; max-width: 390px; }
  .hero .btn { width: 100%; }
  .hero-proof { flex-wrap: wrap; gap: 10px 16px; }
  .stats-strip { margin-top: -56px; }
  .stats-grid { padding: 18px 8px; }
  .stats-grid > div { padding-inline: 16px; }
  .section { padding: 82px 0; }
  .section-title { font-size: 39px; }
  .grid-2, .grid-3, .grid-4 { gap: 18px; }
  .page-hero { height: 330px; min-height: 330px; }
  .page-hero-content h1 { font-size: 48px; }
  .form-row { gap: 0; }
  .service-block-img { min-height: 280px; }
  .footer { padding-top: 70px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 520px) {
  .container, .container-sm { padding-inline: 19px; }
  .navbar-inner { padding-inline: 16px; }
  .navbar-logo { width: 40px; height: 40px; }
  .navbar-title span { display: none; }
  .lang-toggle { font-size: 0; width: 44px; min-height: 44px; padding: 0; }
  .lang-toggle::after { content: "FA"; font-size: 10px; }
  .hero { min-height: 720px; }
  .hero-bg { background-position: 69% center; }
  .hero-content h1 { font-size: 48px; }
  .hero-proof { font-size: 10px; }
  .stats-grid { grid-template-columns: 1fr; text-align: center; }
  .stats-grid > div { border-right: 0; border-bottom: 1px solid var(--line) !important; padding: 18px 12px !important; }
  .stats-grid > div:last-child { border-bottom: 0 !important; }
  .stat-label { font-size: 10px; }
  .section-title { font-size: 35px; }
  .card-body { padding: 26px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { align-items: flex-start; gap: 12px; }
  body > section[style*="linear-gradient"] h2 { font-size: 38px !important; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition-duration: .01ms !important; }
  .reveal-on-scroll { opacity: 1; transform: none; }
}

/* SEO, audience and regulatory trust components */
.lang-toggle { text-decoration: none; }
.audience-grid { display: grid; grid-template-columns: minmax(0,1.35fr) minmax(300px,.65fr); gap: 52px; align-items: center; }
.audience-grid p { color: var(--text-muted); font-size: .97rem; line-height: 1.85; margin-bottom: 16px; }
.audience-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.btn-outline-dark { border: 1px solid var(--ink); color: var(--ink); background: transparent; }
.btn-outline-dark:hover { background: var(--ink); color: #fff; }
.trust-panel { padding: 34px; border: 1px solid var(--line); border-radius: 24px; background: #fff; box-shadow: var(--shadow-md); }
.trust-panel h3 { color: var(--ink); font-family: var(--font-display); font-size: 25px; line-height: 1.2; margin-bottom: 20px; }
.trust-panel ul { display: grid; gap: 14px; margin: 0 0 22px; color: var(--text-muted); font-size: 14px; line-height: 1.6; }
.trust-panel a { color: var(--crimson); font-weight: 700; font-size: 13px; }
.seo-review-note { max-width: 760px; margin: -20px 0 34px; padding: 13px 17px; border-left: 3px solid var(--gold); background: rgba(181,138,74,.08); color: var(--text-muted); font-size: .82rem; line-height: 1.65; }
.footer-cicc a { color: inherit; text-decoration: none; }
.footer-regulatory-fineprint { max-width: 440px; margin-top: 18px; color: rgba(255,255,255,.34); font-size: 10px; line-height: 1.65; }
.footer-regulatory-fineprint strong { color: rgba(255,255,255,.52); font-weight: 600; }
.footer-regulatory-fineprint a { color: rgba(243,169,155,.68); text-underline-offset: 2px; }

/* Native Persian landing page */
.page-fa { font-family: "Vazirmatn", Tahoma, Arial, sans-serif; text-align: right; }
.page-fa .navbar-inner, .page-fa .nav-links { direction: rtl; }
.page-fa .navbar-brand { direction: ltr; }
.page-fa .lang-toggle { margin-left: 0; margin-right: 10px; }
.page-fa .lang-toggle::after { content: "EN"; }
.page-fa .hero-content, .page-fa .section-title, .page-fa .section-subtitle, .page-fa .section-label, .page-fa .card-body, .page-fa .trust-panel, .page-fa .footer { direction: rtl; text-align: right; }
.page-fa .section-label { letter-spacing: 0; font-family: "Vazirmatn", Tahoma, Arial, sans-serif; }
.page-fa .section-title, .page-fa h1, .page-fa h2, .page-fa h3, .page-fa .card-title { font-family: "Vazirmatn", Tahoma, Arial, sans-serif; }
.page-fa .title-line { margin-left: auto; margin-right: 0; }
.page-fa .hero-content > * { margin-left: 0; margin-right: 0; }
.page-fa .hero-cta, .page-fa .audience-actions { justify-content: flex-start; }
.page-fa .breadcrumb { direction: rtl; justify-content: flex-start; }
.page-fa .fa-service-list { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px; margin-top: 32px; }
.page-fa .fa-service-list .card { height: 100%; }
.page-fa .fa-service-list p { color: var(--text-muted); line-height: 1.8; }
.page-fa .fa-steps { counter-reset: fa-step; display: grid; gap: 18px; margin-top: 26px; }
.page-fa .fa-step { position: relative; padding: 24px 76px 24px 24px; background: #fff; border: 1px solid var(--line); border-radius: 18px; }
.page-fa .fa-step::before { counter-increment: fa-step; content: counter(fa-step); position: absolute; right: 22px; top: 22px; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--crimson); color: #fff; font-weight: 800; }
.page-fa .fa-faq { display: grid; gap: 14px; margin-top: 28px; }
.page-fa .fa-faq details { padding: 19px 22px; background: #fff; border: 1px solid var(--line); border-radius: 16px; }
.page-fa .fa-faq summary { cursor: pointer; color: var(--ink); font-weight: 700; }
.page-fa .fa-faq p { margin: 14px 0 0; color: var(--text-muted); line-height: 1.8; }

@media (max-width: 900px) {
  .audience-grid { grid-template-columns: 1fr; gap: 30px; }
}
@media (max-width: 640px) {
  .page-fa .fa-service-list { grid-template-columns: 1fr; }
}
