/* Direction B. The variable Vazirmatn face is already loaded by app.css. */
:root {
  --v2-navy: #0B1A3A;
  --v2-navy-2: #13285A;
  --v2-blue: #2459E8;
  --v2-blue-ink: #1B46C2;
  --v2-blue-50: #EEF3FF;
  --v2-mint: #3DDBB0;
  --v2-mint-ink: #0A7558;
  --v2-mint-50: #E4F8F1;
  --v2-ink: #0F1B33;
  --v2-muted: #4A5672;
  --v2-line: #E2E7F1;
  --v2-bg: #F5F7FB;
  --v2-surface: #FFFFFF;
  --v2-amber-50: #FFF5E0;
  --v2-amber-ink: #875300;
  --v2-on-navy: #C3CDE6;
  --v2-radius: 20px;
  --v2-radius-input: 14px;
  --v2-radius-band: 30px;
  --v2-shadow: 0 8px 24px -16px rgb(15 27 51 / 18%);
}

html.dark {
  --v2-blue-ink: #A9C0FF;
  --v2-blue-50: #182D56;
  --v2-mint-ink: #73E7C4;
  --v2-mint-50: #123B36;
  --v2-ink: #ECF1FC;
  --v2-muted: #B9C5DC;
  --v2-line: #2C3B58;
  --v2-bg: #0C1529;
  --v2-surface: #14213A;
  --v2-amber-50: #3C301A;
  --v2-amber-ink: #FFD08A;
  color-scheme: dark;
}

/* Typography is scoped so pages still using app.css retain their layout. */
:where(.v2-page, .v2-sec, .v2-card, .v2-band, .v2-header, .v2-footer) {
  font-family: 'Vazirmatn', Tahoma, sans-serif;
  font-size: 16px;
  line-height: 1.85;
  color: var(--v2-ink);
}
.v2-page { background: var(--v2-bg); }
:where(.v2-page, .v2-sec, .v2-card, .v2-band) :is(h1, h2, h3, h4) {
  font-weight: 800;
  text-wrap: balance;
  overflow-wrap: anywhere;
}
:where(.v2-page, .v2-sec, .v2-card, .v2-band) h1 { font-size: 44px; line-height: 1.45; }
:where(.v2-page, .v2-sec, .v2-card, .v2-band) h2 { font-size: 32px; line-height: 1.5; }
:where(.v2-page, .v2-sec, .v2-card, .v2-band) h3 { font-size: 19px; font-weight: 700; line-height: 1.6; }
:where(.v2-page, .v2-sec, .v2-card, .v2-band, .v2-footer) p { text-wrap: pretty; overflow-wrap: anywhere; }
.v2-lead { font-size: 18px; line-height: 1.95; color: var(--v2-muted); }
.v2-muted, .v2-hint { color: var(--v2-muted); }
.v2-hint { font-size: 13px; }
.v2-price { white-space: nowrap; font-weight: 800; font-variant-numeric: tabular-nums; }
.v2-wrap { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: 24px; }
.v2-sec { padding-block: 72px; }
.v2-sec-h { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 28px; text-wrap: balance; }
.v2-sec-h p { max-width: 52ch; color: var(--v2-muted); }
.v2-grid-2, .v2-grid-3, .v2-grid-4, .v2-bento { display: grid; gap: 18px; }
.v2-grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.v2-grid-3, .v2-bento { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.v2-grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
:is(.v2-grid-2, .v2-grid-3, .v2-grid-4, .v2-bento) > * { min-width: 0; }
.v2-bento--wide { grid-column: span 2; }
.v2-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.v2-stack { display: grid; gap: 16px; }
.v2-sr { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.v2-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; max-width: 100%; padding: 8px 22px;
  border: 1px solid transparent; border-radius: var(--v2-radius-input);
  font: 700 15px/1.5 'Vazirmatn', Tahoma, sans-serif;
  text-decoration: none; white-space: nowrap; cursor: pointer;
}
.v2-btn--primary { background: var(--v2-blue); color: #FFF; }
.v2-btn--primary:hover { background: #1B46C2; }
.v2-btn--mint { background: var(--v2-mint); color: var(--v2-navy); }
.v2-btn--mint:hover { background: #6DE5C2; }
.v2-btn--outline { background: var(--v2-surface); color: var(--v2-ink); border-color: var(--v2-line); }
.v2-btn--ghost { background: transparent; color: var(--v2-blue-ink); }
.v2-btn--block { width: 100%; }
.v2-btn--sm { padding-inline: 14px; font-size: 14px; }
.v2-btn--icon { width: 48px; padding: 0; flex: none; }
.v2-btn:disabled, .v2-btn[aria-disabled='true'] { opacity: .5; cursor: not-allowed; }
:is(.v2-btn, .v2-input, .v2-radio-card, .v2-otp input):focus-visible,
:is(.v2-header, .v2-footer, .v2-faq, .v2-table) :is(a, button, summary):focus-visible {
  outline: 3px solid #7FA4FF; outline-offset: 3px;
}
.v2-icon, .v2-btn svg, .v2-btn i { width: 20px; height: 20px; flex: none; }
.v2-pill { display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px; border-radius: 999px; font-size: 13px; font-weight: 700; line-height: 1.6; white-space: nowrap; background: var(--v2-bg); color: var(--v2-muted); }
.v2-pill--blue { background: var(--v2-blue-50); color: var(--v2-blue-ink); }
.v2-pill--mint { background: var(--v2-mint-50); color: var(--v2-mint-ink); }
.v2-pill--amber { background: var(--v2-amber-50); color: var(--v2-amber-ink); }
.v2-pill--navy { background: var(--v2-navy-2); color: var(--v2-on-navy); }
.v2-card { padding: 24px; background: var(--v2-surface); border: 1px solid var(--v2-line); border-radius: var(--v2-radius); box-shadow: var(--v2-shadow); }
.v2-band { padding: 40px; background: var(--v2-navy); color: #FFF; border-radius: var(--v2-radius-band); }
.v2-band :is(.v2-lead, .v2-muted, .v2-hint) { color: var(--v2-on-navy); }
.v2-band .v2-btn--ghost { color: #FFF; border-color: #51617E; }
.v2-cta { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.v2-cta > div { min-width: 0; }
.v2-cta p { margin-top: 8px; color: var(--v2-on-navy); }
.v2-cta > .v2-btn { flex: none; }
.v2-frame { min-width: 0; padding: 8px; border: 1px solid var(--v2-line); border-radius: 22px; background: var(--v2-surface); }
.v2-frame img { display: block; width: 100%; height: auto; object-fit: contain; border-radius: 14px; }
.v2-phone { display: block; align-self: start; width: min(100%, 260px); height: fit-content; padding: 7px; border-radius: 32px; background: var(--v2-navy); }
.v2-phone img { display: block; width: 100%; height: auto; object-fit: contain; border-radius: 25px; }
.v2-tile { display: inline-grid; place-items: center; width: 44px; height: 44px; flex: none; border-radius: 12px; background: var(--v2-blue-50); color: var(--v2-blue-ink); }
.v2-tile--mint { background: var(--v2-mint-50); color: var(--v2-mint-ink); }
.v2-tile--navy { background: var(--v2-navy); color: var(--v2-mint); }
.v2-tile--amber { background: var(--v2-amber-50); color: var(--v2-amber-ink); }

.v2-faq details { border-bottom: 1px solid var(--v2-line); }
.v2-faq details:first-child { border-top: 1px solid var(--v2-line); }
.v2-faq summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-block: 18px; list-style: none; cursor: pointer; font-weight: 700; text-wrap: balance; }
.v2-faq summary::-webkit-details-marker { display: none; }
.v2-faq summary::after { content: '+'; display: grid; place-items: center; flex: none; width: 32px; height: 32px; border-radius: 10px; background: var(--v2-blue-50); color: var(--v2-blue-ink); }
.v2-faq details[open] > summary::after { content: '−'; }
.v2-faq-answer { padding-bottom: 18px; max-width: 70ch; color: var(--v2-muted); overflow-wrap: anywhere; }
.v2-faq-answer > p { max-height: 65svh; overflow-y: auto; }
.v2-field { display: grid; min-width: 0; gap: 6px; }
.v2-field > label, .v2-field > legend { font-size: 14px; font-weight: 700; }
.v2-input { width: 100%; min-width: 0; height: 52px; padding: 10px 16px; border: 1px solid var(--v2-line); border-radius: var(--v2-radius-input); background: var(--v2-surface); color: var(--v2-ink); font: inherit; font-size: 16px; }
.v2-input::placeholder { color: var(--v2-muted); }
.v2-input:focus { border-color: var(--v2-blue); }
.v2-input[aria-invalid='true'] { border-color: var(--v2-amber-ink); }
textarea.v2-input { height: auto; min-height: 96px; max-height: 65svh; resize: vertical; }
.v2-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.v2-chips label { position: relative; }
.v2-chips input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.v2-chips span { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 8px 16px; background: var(--v2-surface); color: var(--v2-ink); border: 1px solid var(--v2-line); border-radius: var(--v2-radius-input); font-size: 14px; font-weight: 600; white-space: nowrap; cursor: pointer; }
.v2-chips input:checked + span { background: var(--v2-blue-50); border-color: var(--v2-blue); color: var(--v2-blue-ink); }
.v2-chips input:focus-visible + span { outline: 3px solid #7FA4FF; outline-offset: 2px; }
.v2-radio-card { display: flex; align-items: start; gap: 12px; padding: 20px; background: var(--v2-surface); border: 1px solid var(--v2-line); border-radius: var(--v2-radius); cursor: pointer; }
.v2-radio-card input { flex: none; width: 20px; height: 20px; margin-top: 5px; accent-color: var(--v2-blue); }
.v2-radio-card:has(input:checked) { border-color: var(--v2-blue); background: var(--v2-blue-50); }
.v2-radio-card:has(input:focus-visible) { outline: 3px solid #7FA4FF; outline-offset: 2px; }
.v2-radio-card > span { min-width: 0; }
.v2-radio-card small { display: block; color: var(--v2-muted); text-wrap: pretty; }
.v2-stepper { display: flex; align-items: center; gap: 12px; list-style: none; padding: 0; margin: 0; }
.v2-stepper li { display: flex; align-items: center; gap: 8px; color: var(--v2-muted); font-size: 14px; white-space: nowrap; }
.v2-stepper li + li::before { content: ''; width: 24px; height: 2px; margin-inline-end: 4px; background: var(--v2-line); }
.v2-stepper b { display: grid; place-items: center; flex: none; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--v2-line); background: var(--v2-surface); }
.v2-stepper [aria-current='step'] { color: var(--v2-ink); font-weight: 700; }
.v2-stepper [aria-current='step'] b { background: var(--v2-blue); color: #FFF; border-color: var(--v2-blue); }
.v2-stepper .v2-stepper--done b { background: var(--v2-mint-50); color: var(--v2-mint-ink); border-color: var(--v2-mint-ink); }
.v2-otp { display: flex; justify-content: center; gap: 8px; direction: ltr; }
.v2-otp input, input.v2-otp { width: 52px; min-width: 0; height: 60px; padding: 0; text-align: center; font-size: 26px; font-weight: 800; border: 1px solid var(--v2-line); border-radius: var(--v2-radius-input); background: var(--v2-surface); color: var(--v2-ink); }
input.v2-otp { display: block; width: 100%; letter-spacing: .4em; }
.v2-dock { display: none; }
.v2-table { width: 100%; max-width: 100%; min-width: 0; overflow-x: auto; border: 1px solid var(--v2-line); border-radius: var(--v2-radius); background: var(--v2-surface); overscroll-behavior-inline: contain; }
.v2-table table { width: 100%; border-collapse: collapse; text-align: start; font-size: 14px; }
.v2-table :is(th, td) { padding: 14px 18px; border-bottom: 1px solid var(--v2-line); text-align: start; white-space: nowrap; }
.v2-table th { font-weight: 700; background: var(--v2-bg); }
.v2-table tr:last-child td { border-bottom: 0; }

/* Shared navigation retains the original fixed placement and Alpine hooks. */
.v2-header { position: fixed; inset: 0 0 auto; z-index: 40; background: var(--v2-surface); border-bottom: 1px solid var(--v2-line); }
.v2-header--scrolled { box-shadow: var(--v2-shadow); }
.v2-nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 76px; }
.v2-brand { display: inline-flex; align-items: center; gap: 8px; color: var(--v2-ink); font-size: 18px; font-weight: 800; white-space: nowrap; text-decoration: none; flex: none; }
.v2-brand img { width: 38px; height: 38px; object-fit: contain; border-radius: 10px; }
.v2-nav-links, .v2-nav-actions { display: flex; align-items: center; gap: 4px; }
.v2-nav-links a, .v2-nav-more > button { display: inline-flex; align-items: center; gap: 4px; min-height: 44px; padding: 8px 10px; color: var(--v2-muted); font-size: 14px; font-weight: 600; white-space: nowrap; }
.v2-nav-links a:hover, .v2-nav-links a[aria-current='page'] { color: var(--v2-blue-ink); background: var(--v2-blue-50); border-radius: 10px; }
.v2-nav-more { position: relative; }
.v2-nav-dropdown { position: absolute; inset-block-start: 100%; inset-inline-start: 0; width: 180px; padding: 6px; background: var(--v2-surface); border: 1px solid var(--v2-line); border-radius: 14px; box-shadow: var(--v2-shadow); }
.v2-nav-dropdown a { display: flex; }
.v2-theme-sun { display: none; }
html.dark .v2-theme-sun { display: block; }
html.dark .v2-theme-moon { display: none; }
.v2-nav-mobile, .v2-mobile-menu { display: none; }
.v2-footer { margin-top: 72px; padding-block: 56px 24px; background: var(--v2-navy); color: var(--v2-on-navy); }
.v2-footer .v2-brand { color: #FFF; }
.v2-foot-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.2fr; gap: 32px; }
.v2-foot-grid:not(:has(.v2-foot-contact-column)) { grid-template-columns: 1.3fr 1fr 1.3fr; }
.v2-foot-grid > * { min-width: 0; }
.v2-footer h3 { margin-bottom: 12px; font-size: 15px; font-weight: 700; color: #FFF; text-wrap: balance; }
.v2-footer ul { display: grid; gap: 2px; font-size: 14px; }
.v2-footer a { color: #E6ECFA; }
.v2-footer a:hover { text-decoration: underline; }
.v2-footer li > a { display: inline-flex; align-items: center; min-height: 32px; }
.v2-foot-about { margin-top: 12px; font-size: 14px; }
.v2-footer .v2-foot-company { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2px 12px; }
.v2-foot-legal { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 24px; font-size: 13px; }
.v2-foot-legal a { min-height: 28px; display: inline-flex; align-items: center; white-space: nowrap; }
.v2-foot-contact li { display: flex; align-items: start; gap: 8px; overflow-wrap: anywhere; }
.v2-foot-contact .v2-icon { margin-top: 5px; color: var(--v2-mint); }
.v2-foot-contact span { min-width: 0; overflow-wrap: anywhere; }
.v2-foot-social { display: flex; gap: 8px; margin-top: 12px; }
.v2-footer .v2-foot-whatsapp { display: inline-flex; margin-top: 12px; padding: 8px 12px; min-height: 44px; border-radius: 14px; background: var(--v2-mint); color: var(--v2-navy); font-size: 13px; font-weight: 700; text-wrap: balance; }
.v2-foot-bottom { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; margin-top: 32px; padding-top: 20px; border-top: 1px solid #30405F; font-size: 13px; }
.v2-foot-seal { flex: none; padding: 4px; border-radius: 10px; background: #FFF; }
.v2-consult-button { background: var(--v2-blue); }

@media (max-width: 1100px) {
  .v2-nav-links, .v2-nav-actions { display: none; }
  .v2-nav-mobile { display: flex; align-items: center; gap: 4px; }
  .v2-mobile-menu { display: block; max-height: 75svh; overflow-y: auto; border-top: 1px solid var(--v2-line); background: var(--v2-surface); padding: 12px 16px; }
  .v2-mobile-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px 12px; }
  .v2-mobile-links a { display: flex; align-items: center; min-height: 44px; padding: 6px 8px; color: var(--v2-ink); font-size: 14px; }
  .v2-mobile-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--v2-line); }
  .v2-mobile-actions > .v2-btn--block { grid-column: 1 / -1; }
}
@media (min-width: 641px) and (max-width: 900px) {
  .v2-grid-3, .v2-grid-4, .v2-bento, .v2-foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .v2-wrap { padding-inline: 16px; }
  .v2-sec { padding-block: 36px; }
  :where(.v2-page, .v2-sec, .v2-card, .v2-band) h1 { font-size: 27px; }
  :where(.v2-page, .v2-sec, .v2-card, .v2-band) h2 { font-size: 23px; }
  :where(.v2-page, .v2-sec, .v2-card, .v2-band) h3 { font-size: 17px; }
  .v2-lead { font-size: 16px; }
  .v2-sec-h { display: grid; gap: 10px; margin-bottom: 18px; }
  .v2-grid-2, .v2-grid-3, .v2-bento { grid-template-columns: minmax(0, 1fr); }
  .v2-grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .v2-grid-2, .v2-grid-3, .v2-grid-4, .v2-bento, .v2-row, .v2-stack { gap: 12px; }
  .v2-bento--wide { grid-column: auto; }
  .v2-card { padding: 16px; }
  .v2-radio-card { align-items: center; gap: 10px; min-height: 60px; padding: 12px; font-size: 14px; line-height: 18px; }
  .v2-radio-card input { margin-top: 0; }
  .v2-radio-card small { font-size: 12px; line-height: 16px; }
  .v2-band { padding: 20px 16px; border-radius: 24px; }
  .v2-cta { display: grid; gap: 16px; }
  .v2-cta > .v2-btn { width: 100%; }
  .v2-btn { min-height: 44px; padding-inline: 16px; font-size: 14px; }
  .v2-btn--sm { padding-inline: 12px; font-size: 13px; }
  .v2-btn--icon { width: 44px; padding: 0; }
  .v2-pill { font-size: 12px; padding-inline: 10px; }
  .v2-frame { padding: 5px; border-radius: 18px; }
  .v2-frame img { max-height: 75svh; }
  .v2-phone { width: min(100%, 220px, 35svh); }
  .v2-faq summary { padding-block: 12px; font-size: 15px; }
  .v2-input { height: 48px; padding-inline: 12px; }
  .v2-chips { gap: 8px; }
  .v2-chips span { min-height: 44px; padding-inline: 12px; font-size: 13px; }
  .v2-stepper { justify-content: space-between; height: 44px; gap: 4px; }
  .v2-stepper li { gap: 5px; font-size: 12px; }
  .v2-stepper b { width: 26px; height: 26px; }
  .v2-stepper li + li::before { width: 8px; margin-inline-end: 0; }
  .v2-otp { gap: 6px; }
  .v2-otp input { width: min(40px, 12%); height: 48px; font-size: 22px; border-radius: 10px; }
  input.v2-otp { height: 48px; }
  .v2-dock { position: sticky; bottom: 0; z-index: 20; display: flex; align-items: center; gap: 10px; height: 64px; max-height: 64px; padding: 10px 12px; background: var(--v2-navy); color: #FFF; border-radius: 16px 16px 0 0; }
  .v2-dock > div { flex: 1; min-width: 0; font-size: 13px; line-height: 1.5; }
  .v2-dock small { display: block; font-size: 12px; color: var(--v2-on-navy); }
  .v2-dock .v2-btn { flex: none; }
  .v2-table :is(th, td) { padding: 10px 12px; }
  .v2-nav { height: 56px; gap: 8px; }
  .v2-brand { gap: 6px; font-size: 15px; }
  .v2-brand img { width: 30px; height: 30px; }
  .v2-nav-mobile > .v2-btn { padding-inline: 10px; font-size: 12px; }
  .v2-nav-mobile > .v2-btn--icon { padding: 0; }
  .v2-footer { margin-top: 36px; padding-block: 20px 16px; }
  .v2-foot-grid, .v2-foot-grid:not(:has(.v2-foot-contact-column)) { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 16px 12px; }
  .v2-foot-brand, .v2-foot-contact-column { grid-column: 1 / -1; }
  .v2-foot-about { margin-top: 6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .v2-foot-about, .v2-footer ul { font-size: 12px; }
  .v2-footer h3 { margin-bottom: 6px; font-size: 13px; }
  .v2-footer li > a { min-height: 24px; line-height: 1.6; }
  .v2-footer .v2-foot-company { gap: 2px 8px; }
  .v2-foot-contact-column { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
  .v2-foot-contact-column h3 { margin-bottom: 0; }
  .v2-footer .v2-foot-contact { display: flex; flex-wrap: wrap; gap: 4px 12px; }
  .v2-foot-social, .v2-footer .v2-foot-whatsapp { margin-top: 0; }
  .v2-foot-legal { margin-top: 14px; gap: 4px 12px; font-size: 12px; }
  .v2-foot-bottom { gap: 8px 12px; margin-top: 12px; padding-top: 12px; }
  .v2-foot-copyright { flex-basis: 100%; white-space: nowrap; font-size: 11px; }
  .v2-foot-made { font-size: 11px; }
  .v2-foot-seal img { max-width: 60px; max-height: 60px !important; }
  #cc-fab { bottom: 12px; left: 12px; }
  #cc-fab .v2-consult-button { justify-content: center; width: 44px; height: 44px; min-height: 44px; padding: 0; }
}
