/* Kasbman public site. Tokens mirror the Base44 build this site was ported from
   (kasb-growth-path.base44.app): navy primary, gold accent, Vazirmatn, 0.75rem radius. */

@font-face {
  font-family: "Vazirmatn";
  src: url("fonts/Vazirmatn-Variable.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --background: hsl(216 33% 97%);
  --foreground: hsl(210 61% 16%);
  --card: #fff;
  --primary: hsl(216.5 85% 34%);
  --primary-10: hsl(216.5 85% 34% / .1);
  --primary-5: hsl(216.5 85% 34% / .05);
  --primary-40: hsl(216.5 85% 34% / .4);
  --secondary: hsl(210 79% 46%);
  --muted: hsl(212 45% 95%);
  --muted-foreground: hsl(210 22% 40%);
  --accent: hsl(212 45% 94%);
  --border: hsl(212 33% 89%);
  --gold: hsl(45 96% 48%);
  --gold-90: hsl(45 96% 48% / .9);
  --gold-30: hsl(45 96% 48% / .3);
  --gold-15: hsl(45 96% 48% / .15);
  --radius: .75rem;
  --font: "Vazirmatn", ui-sans-serif, system-ui, Tahoma, sans-serif;
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / .05);
  --shadow: 0 1px 3px 0 rgb(0 0 0 / .1), 0 1px 2px -1px rgb(0 0 0 / .1);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / .1), 0 2px 4px -2px rgb(0 0 0 / .1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / .1), 0 8px 10px -6px rgb(0 0 0 / .1);
}

*, *::before, *::after { box-sizing: border-box; border: 0 solid var(--border); }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 6rem; }
body {
  margin: 0; font-family: var(--font); font-size: 1rem; line-height: 1.5;
  color: var(--foreground); background: var(--background);
  -webkit-font-smoothing: antialiased; font-feature-settings: "ss01";
}
[hidden] { display: none !important; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; }
:focus-visible { outline: 2px solid var(--secondary); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; } }

.icon { width: 1.25rem; height: 1.25rem; flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.icon-sm { width: 1rem; height: 1rem; }
.icon-lg { width: 1.5rem; height: 1.5rem; }
.icon-xl { width: 1.75rem; height: 1.75rem; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---- layout ---- */
.container { width: 100%; max-width: 80rem; margin-inline: auto; padding-inline: 1rem; }
.container-3xl { max-width: 48rem; }
.container-5xl { max-width: 64rem; }
@media (min-width: 1024px) { .container { padding-inline: 2rem; } }

.section { padding-block: 2.5rem; }
@media (min-width: 768px) { .section { padding-block: 6rem; } }
.bg-white { background: #fff; }
.bg-muted { background: var(--muted); }
.bg-background { background: var(--background); }
.bg-primary { background: var(--primary); color: #fff; }

.section-head { text-align: center; max-width: 42rem; margin: 0 auto 2.5rem; }
@media (min-width: 768px) { .section-head { margin-bottom: 3.5rem; } }
.section-title { font-size: 1.5rem; font-weight: 900; line-height: 1.4; text-wrap: balance; }
@media (min-width: 768px) { .section-title { font-size: 2.25rem; } }
.section-sub { margin-top: .75rem; color: var(--muted-foreground); line-height: 1.75rem; }
@media (min-width: 768px) { .section-sub { font-size: 1.125rem; margin-top: 1rem; } }
.gold-rule { width: 4rem; height: .25rem; border-radius: 999px; background: var(--gold); margin: 1.5rem auto 0; }

.grid { display: grid; gap: 1.25rem; }
@media (min-width: 640px) { .grid-sm-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 768px) { .grid-md-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) {
  .grid-lg-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .grid-lg-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* ---- buttons ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  height: 2.25rem; padding-inline: 1rem; border-radius: .375rem;
  font-size: .875rem; font-weight: 700; white-space: nowrap;
  transition: background-color .15s, color .15s, box-shadow .15s, transform .15s;
}
.btn-lg { height: 2.5rem; padding-inline: 2rem; }
.btn-xl { height: 3rem; padding-inline: 1.75rem; font-size: 1rem; }
.btn-gold { background: var(--gold); color: var(--primary); font-weight: 900; box-shadow: 0 4px 6px -1px var(--gold-30), 0 2px 4px -2px var(--gold-30); }
.btn-gold:hover { background: var(--gold-90); }
.btn-outline { border: 1px solid var(--primary-40); color: var(--primary); background: transparent; box-shadow: var(--shadow-sm); }
.btn-outline:hover { background: var(--primary-5); }
.btn-outline-light { border: 1px solid rgb(255 255 255 / .5); color: #fff; background: transparent; box-shadow: var(--shadow-sm); }
.btn-outline-light:hover { background: rgb(255 255 255 / .1); }
.btn-block { width: 100%; }

/* ---- header ---- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgb(255 255 255 / .95); backdrop-filter: blur(8px); border-bottom: 1px solid var(--border); }
.site-header .bar { display: flex; align-items: center; justify-content: space-between; height: 5rem; }
.brand img { height: 3rem; width: auto; aspect-ratio: 370 / 260; object-fit: contain; }
@media (min-width: 768px) { .brand img { height: 3.5rem; } }
.nav { display: none; align-items: center; gap: 1.5rem; }
@media (min-width: 1024px) { .nav { display: flex; } }
.nav-link { display: flex; align-items: center; gap: .25rem; padding: .5rem .25rem; border-radius: .375rem; font-size: .875rem; font-weight: 500; color: hsl(210 61% 16% / .75); transition: color .15s; }
.nav-link:hover, .nav-link[aria-expanded="true"], .nav-link[aria-current="page"] { color: var(--primary); }
.nav-link .icon { transition: transform .15s; }
.nav-link[aria-expanded="true"] .icon { transform: rotate(180deg); }
.dropdown { position: relative; }
.dropdown-panel {
  position: absolute; top: calc(100% + .5rem); right: 0; width: 20rem; padding: .5rem;
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-xl);
}
.dropdown-panel a { display: block; padding: .625rem .75rem; border-radius: .5rem; font-size: .875rem; color: hsl(210 61% 16% / .8); transition: background-color .15s, color .15s; }
.dropdown-panel a:hover { background: var(--accent); color: var(--primary); }
.header-actions { display: flex; align-items: center; gap: .75rem; }
.header-actions .btn-outline { padding-inline: .75rem; font-size: .75rem; }
@media (min-width: 640px) { .header-actions .btn-outline { padding-inline: 1rem; font-size: .875rem; } }
.header-actions .btn-gold { display: none; font-weight: 700; }
@media (min-width: 768px) { .header-actions .btn-gold { display: inline-flex; } }
.menu-toggle { padding: .5rem; border-radius: .5rem; transition: background-color .15s; }
.menu-toggle:hover { background: var(--accent); }
@media (min-width: 1024px) { .menu-toggle { display: none; } }
.mobile-menu { border-top: 1px solid var(--border); background: #fff; padding: .75rem 1rem 1.25rem; }
@media (min-width: 1024px) { .mobile-menu { display: none !important; } }
.mobile-menu a, .mobile-menu summary { display: block; padding: .75rem .5rem; border-radius: .5rem; font-size: .9375rem; font-weight: 500; }
.mobile-menu a:hover, .mobile-menu summary:hover { background: var(--accent); color: var(--primary); }
.mobile-menu summary { list-style: none; display: flex; justify-content: space-between; align-items: center; cursor: pointer; }
.mobile-menu summary::-webkit-details-marker { display: none; }
.mobile-menu details[open] summary .icon { transform: rotate(180deg); }
.mobile-menu details a { padding-inline-start: 1.25rem; font-size: .875rem; color: var(--muted-foreground); }
.mobile-menu .btn { margin-top: .75rem; }

/* ---- cards ---- */
.card { background: var(--card); border: 1px solid var(--border); border-radius: 1rem; padding: 1.5rem; box-shadow: var(--shadow-sm); }
.card-hover { transition: box-shadow .2s, transform .2s, border-color .2s; }
.card-hover:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); border-color: var(--primary-40); }
.icon-chip { display: inline-flex; align-items: center; justify-content: center; width: 3rem; height: 3rem; border-radius: .75rem; background: var(--primary-10); color: var(--primary); flex-shrink: 0; }
.icon-chip-lg { width: 3.5rem; height: 3.5rem; border-radius: 1rem; }
.card-title { font-size: 1.125rem; font-weight: 800; line-height: 1.6; }
.card-text { margin-top: .75rem; font-size: .875rem; line-height: 1.75rem; color: var(--muted-foreground); }
.card-link { display: inline-flex; align-items: center; gap: .5rem; margin-top: 1.25rem; font-size: .875rem; font-weight: 700; color: var(--primary); }
.card-link .icon { transition: transform .15s; }
.card-hover:hover .card-link .icon, .card-link:hover .icon { transform: translateX(-4px); }

/* ---- page hero (inner pages) ---- */
.page-hero { background: #fff; padding-block: 3rem 2.5rem; text-align: center; }
@media (min-width: 768px) { .page-hero { padding-block: 5rem 4rem; } }
.page-hero h1 { font-size: 1.875rem; font-weight: 900; line-height: 1.35; text-wrap: balance; }
@media (min-width: 768px) { .page-hero h1 { font-size: 3rem; } }
.page-hero .lead { margin-top: 1rem; color: var(--muted-foreground); font-size: 1rem; line-height: 1.9; }
@media (min-width: 768px) { .page-hero .lead { font-size: 1.125rem; } }
.breadcrumb { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: .5rem; font-size: .8125rem; color: var(--muted-foreground); margin-bottom: 1.25rem; }
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb .icon { width: .875rem; height: .875rem; }

/* ---- CTA band ---- */
.cta-band { position: relative; overflow: hidden; background: var(--primary); }
.cta-band svg.cta-lines { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .2; pointer-events: none; }
.cta-band .inner { position: relative; max-width: 48rem; margin-inline: auto; padding: 3rem 1rem; text-align: center; }
@media (min-width: 768px) { .cta-band .inner { padding-block: 7rem; } }
.cta-band h2 { color: #fff; font-size: 1.5rem; font-weight: 900; line-height: 1.4; }
@media (min-width: 768px) { .cta-band h2 { font-size: 2.25rem; } }
.cta-band p { margin-top: .75rem; color: rgb(255 255 255 / .8); line-height: 1.75rem; }
@media (min-width: 768px) { .cta-band p { margin-top: 1.25rem; font-size: 1.125rem; } }
.cta-band .actions { margin-top: 1.5rem; display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem; }
@media (min-width: 768px) { .cta-band .actions { margin-top: 2.25rem; } }

/* ---- footer ---- */
.site-footer { background: var(--primary); color: #fff; }
.site-footer .inner { padding-block: 3.5rem 1.5rem; }
.footer-grid { display: grid; gap: 2.5rem; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.footer-logo { display: inline-block; background: #fff; border-radius: .75rem; padding: .5rem; }
.footer-logo img { height: 2.5rem; width: auto; aspect-ratio: 370 / 260; object-fit: contain; }
.footer-tagline { margin-top: 1.25rem; max-width: 20rem; font-size: .875rem; line-height: 1.75rem; color: rgb(255 255 255 / .8); }
.socials { margin-top: 1.25rem; display: flex; gap: .75rem; }
.socials a { padding: .625rem; border-radius: .5rem; background: rgb(255 255 255 / .1); transition: background-color .15s, color .15s; }
.socials a:hover { background: var(--gold); color: var(--primary); }
.site-footer h3 { font-weight: 800; color: var(--gold); font-size: 1rem; }
.footer-links { margin-top: 1rem; display: grid; gap: .625rem; font-size: .875rem; color: rgb(255 255 255 / .8); }
.footer-links a { transition: color .15s; }
.footer-links a:hover { color: var(--gold); }
.footer-contact li, .footer-contact a { display: flex; align-items: flex-start; gap: .5rem; }
.footer-contact .icon { color: var(--gold); width: 1rem; height: 1rem; margin-top: .25rem; }
.footer-contact .site { padding-top: .25rem; font-weight: 700; color: var(--gold); }
.copyright { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid rgb(255 255 255 / .15); text-align: center; font-size: .75rem; line-height: 1.5rem; color: rgb(255 255 255 / .6); }

/* ---- forms ---- */
.field { display: grid; gap: .5rem; }
.field label { font-size: .875rem; font-weight: 700; }
.input, .select, .textarea {
  width: 100%; height: 2.75rem; padding: .5rem .875rem; border: 1px solid var(--border); border-radius: .5rem;
  background: #fff; font-size: .875rem; transition: border-color .15s, box-shadow .15s;
}
.select { background: var(--background); }
.textarea { height: auto; min-height: 7.5rem; line-height: 1.75; resize: vertical; }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--secondary); box-shadow: 0 0 0 3px hsl(210 79% 46% / .15); }
.input[aria-invalid="true"] { border-color: #dc2626; }
.form-error { font-size: .8125rem; color: #b91c1c; }
.form-status { border-radius: .75rem; padding: 1rem 1.25rem; font-size: .9375rem; line-height: 1.8; }
.form-status.ok { background: hsl(142 60% 95%); color: hsl(142 70% 22%); border: 1px solid hsl(142 45% 80%); }
.form-status.err { background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; }

/* ---- tools & services grids (shared by home, /tools, /services) ---- */
.page-hero .tools-lead { color: var(--primary); font-weight: 700; }
.hero-frame { margin: 2.5rem auto 0; max-width: 56rem; padding: .75rem; background: #fff; border: 1px solid var(--border); border-radius: 1.5rem; box-shadow: var(--shadow-xl); }
.hero-frame img { width: 100%; height: auto; border-radius: 1rem; }
.tool-card { display: flex; flex-direction: column; }
.tool-card-head { display: flex; align-items: center; gap: 1rem; }
.tool-card .card-text { flex: 1; }
.tool-card .card-title { font-size: 1.0625rem; }
.service-card { display: flex; flex-direction: column; align-items: flex-start; }
.service-card .icon-chip { margin-bottom: 1rem; position: relative; }
.service-card .icon-chip::after { content: ""; position: absolute; top: -.25rem; left: -.25rem; width: .625rem; height: .625rem; border-radius: 999px; background: var(--gold); }
.service-card .card-title { font-size: 1.125rem; }
.service-en { margin-top: .125rem; font-size: .75rem; color: var(--muted-foreground); text-align: right; }
.service-card .card-text { flex: 1; }

/* ---- lists / misc ---- */
.check-list { display: grid; gap: .875rem; }
.check-list li { display: flex; gap: .75rem; align-items: flex-start; line-height: 1.8; }
.check-list .icon { color: var(--primary); width: 1.5rem; height: 1.5rem; }
.pill { display: inline-flex; align-items: center; gap: .5rem; padding: .375rem .875rem; border-radius: 999px; border: 1px solid var(--border); background: var(--background); font-size: .8125rem; font-weight: 700; color: var(--primary); }
.pill .dot { width: .5rem; height: .5rem; border-radius: 999px; background: var(--gold); }
.step-no { display: inline-flex; align-items: center; justify-content: center; min-width: 2.5rem; height: 2.5rem; padding-inline: .5rem; border-radius: 999px; background: var(--gold); color: var(--primary); font-weight: 900; font-size: .875rem; }
.faq details { border: 1px solid var(--border); border-radius: .75rem; background: #fff; }
.faq details + details { margin-top: .75rem; }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1rem 1.25rem; font-weight: 700; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { transition: transform .2s; color: var(--muted-foreground); }
.faq details[open] summary .icon { transform: rotate(180deg); }
.faq .answer { padding: 0 1.25rem 1.125rem; color: var(--muted-foreground); line-height: 1.9; font-size: .9375rem; }
