* { box-sizing: border-box; }
html, body { max-width: 100%; overflow-x: clip; }
body { margin: 0; background: #030712; color: #f8fafc; font-family: 'Vazirmatn', sans-serif; }
.page-container { width: 100%; max-width: 76rem; margin-inline: auto; }
main > section:not(:first-child) { padding-block: clamp(2rem, 3.5vw, 2.75rem); }
main > section:first-child { padding-bottom: clamp(2rem, 3.5vw, 2.75rem); }
.glass { border: 1px solid rgba(255,255,255,.1); background: linear-gradient(145deg, rgba(15,23,42,.9), rgba(15,23,42,.64)); box-shadow: 0 20px 60px rgba(0,0,0,.2); }
header > nav.glass { background: rgba(15,23,42,.96); backdrop-filter: blur(24px) saturate(115%); }
.hero-shell { width: 100%; padding: 7rem 0 0; }
.hero-visual { position: relative; display: flex; min-height: 0; flex-direction: column; align-items: center; overflow: hidden; background: #030712; isolation: isolate; }
.hero-visual::before { position: absolute; z-index: -1; inset: 0 0 auto; height: clamp(20rem, 58vw, 42rem); background: linear-gradient(180deg, rgba(3,7,18,.06), rgba(3,7,18,.1) 54%, #030712), linear-gradient(90deg, rgba(3,7,18,.22), transparent 50%, rgba(3,7,18,.22)); content: ""; pointer-events: none; }
.hero-visual::after { content: none; }
.hero-visual > img { position: absolute; z-index: -2; inset: 0 0 auto; width: 100%; height: clamp(20rem, 58vw, 42rem); object-fit: cover; object-position: center 48%; }
.hero-topline { position: absolute; z-index: 1; top: 1.25rem; right: max(1rem, calc((100% - 76rem) / 2)); left: max(1rem, calc((100% - 76rem) / 2)); display: flex; align-items: center; justify-content: space-between; gap: .75rem; }
.hero-location { display: inline-flex; min-height: 2.4rem; align-items: center; gap: .5rem; border: 1px solid rgba(255,255,255,.2); border-radius: 999px; background: rgba(3,7,18,.38); padding: .5rem .85rem; color: #fff; font-size: .72rem; backdrop-filter: blur(16px); }
.hero-copy { position: relative; z-index: 1; display: flex; width: min(100% - 2rem, 66rem); flex-direction: column; align-items: center; justify-content: flex-end; margin-top: clamp(15rem, 43vw, 31rem); padding: 0 0 2.75rem; text-align: center; }
.hero-copy h1 { max-width: 60rem; color: #f8fafc; font-size: clamp(2rem, 5.2vw, 4.8rem); line-height: 1.35; letter-spacing: -.035em; }
.hero-copy > p { max-width: 48rem; color: #cbd5e1; font-size: clamp(.85rem, 1.2vw, 1.05rem); line-height: 2.15; }
.hero-proof { display: grid; width: min(100%, 44rem); grid-template-columns: repeat(3, minmax(0,1fr)); gap: .55rem; margin-top: 1.2rem; }
.hero-proof span { display: inline-flex; min-height: 2.45rem; align-items: center; justify-content: center; gap: .4rem; border: 1px solid rgba(255,255,255,.09); border-radius: 999px; background: rgba(255,255,255,.035); padding: .45rem .7rem; color: #cbd5e1; font-size: .75rem; font-weight: 700; white-space: nowrap; }
.hero-proof i { flex: 0 0 auto; font-size: 1rem; font-weight: 900; }
.section-heading { max-width: 42rem; margin-bottom: clamp(1.5rem, 3vw, 2rem); }
.section-heading.centered { margin-inline: auto; text-align: center; }
.section-eyebrow { display: inline-flex; align-items: center; gap: .45rem; color: #fbbf24; font-size: .72rem; font-weight: 800; }
.section-heading h2 { margin-top: .55rem; color: #f8fafc; font-size: clamp(1.45rem, 2.6vw, 2.1rem); font-weight: 900; line-height: 1.65; }
.section-heading p { margin-top: .35rem; color: #94a3b8; font-size: .82rem; line-height: 1.9; }
.project-card { display: flex; min-width: 0; flex-direction: column; overflow: hidden; border: 1px solid rgba(255,255,255,.1); border-radius: 1.35rem; background: linear-gradient(155deg, #111827, #0b1220); box-shadow: 0 16px 38px rgba(0,0,0,.2); transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease; }
.project-card:hover { transform: translateY(-4px); border-color: rgba(251,191,36,.36); box-shadow: 0 22px 44px rgba(0,0,0,.3); }
.project-card-media { position: relative; overflow: hidden; aspect-ratio: 1 / 1.08; background: #111827; }
.project-grid .project-card:last-child:nth-child(odd) { grid-column: span 2; }
.project-grid .project-card:last-child:nth-child(odd) .project-card-media { aspect-ratio: 1.9 / 1; }
.project-card-media::after { position: absolute; inset: 35% 0 0; background: linear-gradient(180deg, transparent, rgba(3,7,18,.88)); content: ""; pointer-events: none; }
.project-card img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.project-card:hover img { transform: scale(1.04); }
.project-tag { position: absolute; z-index: 1; top: .75rem; right: .75rem; border: 1px solid rgba(255,255,255,.2); border-radius: 999px; background: rgba(3,7,18,.62); padding: .35rem .65rem; color: #fde68a; font-size: .62rem; backdrop-filter: blur(8px); }
.project-card-title { position: absolute; z-index: 1; right: 1rem; bottom: .9rem; left: 1rem; color: #fff; font-size: .95rem; font-weight: 900; line-height: 1.75; text-shadow: 0 2px 12px rgba(0,0,0,.65); }
.project-card-body { display: flex; flex: 1; flex-direction: column; padding: 1rem; }
.project-card-meta { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-content: start; gap: .5rem; min-height: 2.4rem; margin-bottom: .75rem; color: #aab6c7; font-size: .68rem; }
.project-card-meta span { display: inline-flex; min-width: 0; align-items: flex-start; gap: .35rem; line-height: 1.6; overflow-wrap: anywhere; }
.project-card-meta i { flex: 0 0 auto; color: #fbbf24; font-size: .68rem; }
.project-card-cta { display: inline-flex; min-height: 2.5rem; align-self: stretch; align-items: center; justify-content: center; gap: .5rem; margin-top: auto; border: 1px solid rgba(251,191,36,.3); border-radius: 999px; background: #fbbf24; padding: .55rem .85rem; color: #111827; font-size: .68rem; font-weight: 900; text-align: center; transition: background .2s ease, transform .2s ease; }
.project-card-cta:hover { transform: translateY(-1px); background: #fcd34d; }
.projects-heading-row { justify-content: center; }
.projects-heading-row .section-heading { max-width: 46rem; }
.projects-heading-row .section-heading p { max-width: 38rem; margin-inline: auto; }
.business-guide-card { height: 100%; border: 1px solid rgba(255,255,255,.09); border-radius: 1.25rem; background: linear-gradient(145deg, rgba(15,23,42,.9), rgba(15,23,42,.56)); padding: 1.25rem; }
.business-guide-card h3 { color: #f8fafc; font-size: .98rem; font-weight: 900; line-height: 1.8; }
.business-guide-card p { margin-top: .55rem; color: #b6c2d3; font-size: .76rem; line-height: 2; }
.business-guide-card ul { display: grid; gap: .55rem; margin-top: .8rem; }
.business-guide-card li { display: flex; align-items: flex-start; gap: .5rem; color: #d1d9e5; font-size: .7rem; line-height: 1.85; }
.business-guide-card li i { margin-top: .35rem; color: #fbbf24; font-size: .62rem; }
.project-prep { border: 1px solid rgba(251,191,36,.16); border-radius: 1.2rem; background: rgba(245,158,11,.055); padding: 1rem 1.2rem; }
.process-grid { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: .85rem; }
.step-card { position: relative; min-height: 10rem; border: 1px solid rgba(255,255,255,.085); border-radius: 1.2rem; background: linear-gradient(145deg, rgba(15,23,42,.86), rgba(15,23,42,.48)); padding: 1.1rem; }
.step-number { display: inline-flex; min-width: 2.5rem; height: 2.5rem; align-items: center; justify-content: center; border: 1px solid rgba(251,191,36,.27); border-radius: .85rem; background: rgba(245,158,11,.1); color: #fbbf24; font-size: .75rem; font-weight: 900; }
.benefit-panel { position: relative; overflow: hidden; border: 1px solid rgba(251,191,36,.14); border-radius: 1.8rem; background: radial-gradient(ellipse at 100% 0%, rgba(245,158,11,.1), transparent 40%), linear-gradient(145deg, rgba(15,23,42,.95), rgba(8,13,24,.94)); }
.benefit-point { display: flex; align-items: flex-start; gap: .75rem; border-bottom: 1px solid rgba(255,255,255,.07); padding: .8rem 0; color: #d1d9e5; font-size: .82rem; line-height: 1.8; }
.benefit-point:last-child { border-bottom: 0; }
.benefit-icon { display: grid; width: 1.7rem; height: 1.7rem; flex: 0 0 1.7rem; place-items: center; border: 1px solid rgba(251,191,36,.2); border-radius: .6rem; background: rgba(245,158,11,.1); color: #fbbf24; font-size: .68rem; }
.faq-item { margin-bottom: .65rem; overflow: hidden; border: 1px solid rgba(255,255,255,.085); border-radius: 1rem; background: rgba(15,23,42,.58); padding: 0 1rem; }
.faq-item summary { display: flex; min-height: 3.5rem; align-items: center; justify-content: space-between; gap: .8rem; cursor: pointer; color: #f1f5f9; font-size: .84rem; font-weight: 800; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { display: grid; width: 1.7rem; height: 1.7rem; flex: 0 0 1.7rem; place-items: center; border: 1px solid rgba(251,191,36,.25); border-radius: 50%; color: #fbbf24; content: "+"; font-size: 1rem; transition: transform .2s ease; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { padding: 0 0 1rem; color: #aab6c7; font-size: .76rem; line-height: 2; }
.contact-panel { position: relative; overflow: hidden; border: 1px solid rgba(251,191,36,.24); border-radius: 1.6rem; background: radial-gradient(ellipse at 0% 50%, rgba(245,158,11,.12), transparent 44%), linear-gradient(115deg, #111b2b, #0b1220); }
.contact-panel::after { position: absolute; top: -5rem; left: 28%; width: 10rem; height: 10rem; border: 1px solid rgba(251,191,36,.11); border-radius: 50%; box-shadow: 0 0 0 1.5rem rgba(251,191,36,.025), 0 0 0 3rem rgba(251,191,36,.018); content: ""; pointer-events: none; }
a:focus-visible { outline: 3px solid #fcd34d; outline-offset: 3px; }
@media (max-width: 639px) {
    main > section:not(:first-child) { padding-block: 2rem; }
    main > section:first-child { padding-bottom: 2rem; }
    .hero-shell { padding-top: 6rem; }
    .hero-visual::before, .hero-visual > img { height: 25rem; }
    .hero-visual > img { object-position: 54% center; }
    .hero-topline { top: .8rem; right: 1rem; left: 1rem; }
    .hero-copy { width: calc(100% - 2rem); margin-top: 18rem; padding-bottom: 2rem; }
    .hero-copy h1 { margin-top: .75rem; font-size: 1.85rem; line-height: 1.55; }
    .hero-copy > p { margin-top: .55rem; font-size: .78rem; line-height: 2; }
    .hero-copy .mt-5 { margin-top: 1rem; }
    .hero-copy .mt-5 a { min-height: 2.8rem; padding: .65rem .85rem; font-size: .68rem; }
    .hero-proof { width: min(100%, 22rem); grid-template-columns: repeat(2, minmax(0,1fr)); margin-top: .85rem; gap: .4rem; }
    .hero-proof span { min-height: 2.5rem; padding: .4rem .45rem; font-size: .68rem; font-weight: 700; }
    .hero-proof span:last-child { grid-column: 1 / -1; justify-self: center; width: min(100%, 14rem); }
    .hero-location { min-height: 2.15rem; font-size: .61rem; }
    .process-grid { grid-template-columns: repeat(2, minmax(0,1fr)); gap: .65rem; }
    .step-card { min-height: 9.5rem; padding: .85rem; }
    .step-card h3 { font-size: .78rem; }
    .step-card p { font-size: .67rem; line-height: 1.8; }
    .project-card { border-radius: 1.1rem; }
    .project-card-media { aspect-ratio: 1 / 1.12; }
    .project-card-title { right: .7rem; bottom: .65rem; left: .7rem; font-size: .76rem; line-height: 1.7; }
    .project-card-body { padding: .7rem; }
    .project-card-meta { gap: .35rem; min-height: 2.4rem; margin-bottom: .75rem; font-size: .58rem; }
    .project-card-cta { min-height: 2.25rem; margin-top: 0; padding: .45rem .55rem; font-size: .59rem; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
