@font-face { font-family: 'Digi Hamishe'; src: url('assets/fonts/digi-hamishe.ttf') format('truetype'); font-style: normal; font-weight: 400 700; font-display: swap; }
:root { color-scheme: light; --ink: #f8fafc; --panel: #ffffff; --blue: #0284c7; --amber: #b45309; --text: #0f172a; --muted: #475569; --line: #e2e8f0; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--ink); color: var(--text); font-family: 'Digi Hamishe', 'Baloo Bhaijaan 2', Tahoma, sans-serif; line-height: 1.85; }
a { color: inherit; text-decoration: none; }
.container { width: min(1120px, calc(100% - 2.5rem)); margin: auto; }
.site-header { position: sticky; top: 0; z-index: 30; background: rgba(255,255,255,.94); border-bottom: 1px solid var(--line); box-shadow: 0 2px 16px rgba(15,23,42,.04); backdrop-filter: blur(14px); }
.nav { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand { color: var(--text); font-size: 1.25rem; font-weight: 800; letter-spacing: .04em; }
.nav-links { display: flex; align-items: center; flex-wrap: wrap; justify-content: end; gap: .5rem 1.25rem; font-size: .94rem; color: var(--muted); }
.nav-links a:hover, .nav-links a:focus-visible { color: var(--blue); }
.nav-links > a.active { color: var(--blue); font-weight: 800; text-decoration: underline; text-underline-offset: 8px; }
.nav-toggle { display: none; width: 2.65rem; height: 2.65rem; border: 1px solid #cbd5e1; border-radius: .65rem; background: #fff; color: var(--text); cursor: pointer; font: 1.25rem/1 sans-serif; }
.services-menu { position: relative; margin: 0; padding: 0; border: 0; background: transparent; }
.hero { padding: 4.5rem 0 2.5rem; }
.eyebrow { margin: 0 0 .75rem; color: var(--blue); font-size: .92rem; font-weight: 700; letter-spacing: .06em; }
h1 { max-width: 900px; margin: 0; color: var(--text); font-size: clamp(2rem, 6vw, 4rem); line-height: 1.35; }
h2 { color: var(--text); font-size: clamp(1.45rem, 3vw, 2rem); line-height: 1.45; }
h3 { color: var(--text); font-size: 1.18rem; }
.lead { max-width: 780px; color: var(--muted); font-size: 1.12rem; }
.crumbs { padding-top: 1.25rem; color: var(--muted); font-size: .9rem; }
.crumbs a { color: var(--blue); }
.grid { display: grid; gap: 1.25rem; }
.cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card, details { border: 1px solid var(--line); border-radius: 16px; background: var(--panel); padding: 1.5rem; box-shadow: 0 4px 20px rgba(15,23,42,.04); }
.card p, details p, li { color: var(--muted); }
.section { padding: 2rem 0; }
.section + .section { padding-top: 1rem; }
.cta { display: inline-block; margin-top: 1.25rem; border-radius: 10px; background: var(--blue); color: #fff; padding: .8rem 1.25rem; font-weight: 800; }
.cta:hover, .cta:focus-visible { background: #0369a1; }
.amber { color: var(--amber); }
.service-layout { display: grid; grid-template-columns: minmax(0,1.1fr) minmax(280px,.9fr); gap: 2rem; align-items: center; padding: 1.75rem; border: 1px solid var(--line); border-radius: 18px; background: var(--panel); box-shadow: 0 4px 20px rgba(15,23,42,.04); }
.service-layout p { color: var(--muted); }
.service-image { margin: 0; overflow: hidden; border-radius: 14px; background: #e2e8f0; }
.service-image img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.checklist { margin: 0; padding-right: 1.2rem; }
.checklist li + li { margin-top: .45rem; }
.inline-actions { display: flex; flex-wrap: wrap; gap: .8rem; align-items: center; }
.inline-link { display: inline-block; margin-top: 1.25rem; color: var(--blue); font-weight: 800; }
.inline-link:hover, .inline-link:focus-visible { color: #0369a1; }
.service-note { border-right: 3px solid var(--blue); padding: 1rem 1.2rem; background: #f0f9ff; color: var(--muted); }
.gallery { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.gallery figure { position: relative; aspect-ratio: 1 / 1; margin: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 16px; background: #f8fafc; transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease; }
.gallery img { display: block; width: 100%; height: 100%; object-fit: contain; cursor: zoom-in; transition: transform .2s ease, filter .2s ease; }
.gallery figure:hover, .gallery figure:focus-within { transform: translateY(-4px); border-color: rgba(2,132,199,.75); box-shadow: 0 10px 22px rgba(15,23,42,.14); }
.gallery figure:hover img, .gallery img:focus-visible { transform: scale(1.04); filter: brightness(1.04); }
.gallery img:focus-visible, a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid rgba(2,132,199,.5); outline-offset: 3px; }
.lightbox-open { overflow: hidden; }
.image-lightbox { width: min(82vw, 820px); max-width: 92vw; max-height: 80vh; margin: auto; padding: 2.75rem 1rem 1rem; overflow: visible; border: 1px solid var(--line); border-radius: 18px; background: var(--panel); color: var(--text); }
.image-lightbox::backdrop { background: rgba(2,8,23,.82); backdrop-filter: blur(4px); }
.image-lightbox img { display: block; width: 100%; max-height: calc(80vh - 6rem); object-fit: contain; }
.image-lightbox p { margin: .75rem 0 0; color: var(--text); text-align: center; }
.lightbox-close { position: absolute; top: .55rem; left: .65rem; width: 2.15rem; height: 2.15rem; border: 0; border-radius: 50%; background: rgba(15,23,42,.1); color: var(--text); cursor: pointer; font: 700 1.7rem/1 sans-serif; }
.lightbox-close:hover, .lightbox-close:focus-visible { background: var(--blue); color: #fff; }
.gallery figcaption { position: absolute; inset: auto 0 0; min-height: 46%; display: flex; flex-direction: column; justify-content: end; gap: .25rem; padding: 2.5rem .9rem .85rem; color: #fff; font-size: .86rem; line-height: 1.65; background: linear-gradient(to top, rgba(2,8,23,.96), rgba(2,8,23,.72), transparent); opacity: 0; transform: translateY(12px); pointer-events: none; transition: opacity .22s ease, transform .22s ease; }
.gallery figcaption strong { color: #fff; font-size: 1rem; }
.gallery figure:hover figcaption, .gallery figure:focus-within figcaption { opacity: 1; transform: translateY(0); }
.footer { margin-top: 4rem; border-top: 1px solid var(--line); padding: 2rem 0; color: var(--muted); font-size: .9rem; background: #fff; }
.contact-footer-inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr) auto; gap: 1.25rem 2rem; align-items: center; }
.contact-footer-brand strong { color: var(--text); font-size: 1.2rem; }
.contact-footer-brand p, .contact-footer-copyright { margin: .35rem 0 0; }
.contact-footer-details { display: flex; flex-wrap: wrap; gap: .6rem 1.25rem; font-style: normal; }
.contact-footer-details span { color: var(--muted); }
@media (max-width: 760px) { .container { width: min(100% - 2rem, 1120px); } .hero { padding-top: 3.5rem; } .service-layout { grid-template-columns: 1fr; padding: 1.15rem; } .cards, .gallery { grid-template-columns: 1fr; } .card, details { padding: 1.15rem; } .contact-footer-inner { grid-template-columns: 1fr; gap: 1rem; } .contact-footer-details { flex-direction: column; gap: .45rem; } }

/* هدر یکپارچه صفحه‌های داخلی */
body { padding-top: 64px; }
.site-header { position: fixed; inset: 0 0 auto; z-index: 50; background: rgba(11,17,24,.96); border-bottom-color: rgba(255,255,255,.15); box-shadow: 0 2px 16px rgba(0,0,0,.16); backdrop-filter: blur(14px); line-height: 1.25; font-family: 'Digi Hamishe', Tahoma, sans-serif; }
.site-header .container { width: min(100%, 1280px); padding-inline: 20px; }
.nav { min-height: 64px; gap: 16px; }
.brand { display: inline-flex; flex-shrink: 0; align-items: center; gap: 12px; color: #fff; font-size: 23px; font-weight: 700; letter-spacing: .025em; }
.brand:hover, .brand:focus-visible { color: #fff; }
.brand-logo { width: 40px; height: 40px; border-radius: 8px; object-fit: contain; }
.nav-links { flex-wrap: nowrap; gap: 32px; color: #cbd5e1; font-size: 19px; line-height: 20px; }
.nav-links > a { padding: 0; }
.nav-links a:hover, .nav-links a:focus-visible { color: #35a7ff; }
.nav-links > a.active { color: #35a7ff; }
.header-cta { display: inline-flex; flex-shrink: 0; align-items: center; gap: .45rem; border-radius: 8px; background: #22c55e; color: #fff; padding: 8px 16px; font-size: 19px; line-height: 20px; font-weight: 700; }
.header-cta-mobile { display: none; }
.header-cta:hover, .header-cta:focus-visible { color: #fff; background: #4ade80; }
.nav-toggle { border-color: rgba(255,255,255,.35); background: transparent; color: #fff; }
.services-menu { position: relative; margin: 0; padding: 0; border: 0; background: transparent; }
.services-trigger { display: inline-flex; align-items: center; gap: .45rem; padding: 0; border: 0; background: transparent; color: #fff; cursor: pointer; font: inherit; }
.services-trigger:hover, .services-menu:focus-within .services-trigger { color: #35a7ff; }
.services-trigger.active { color: #35a7ff; font-weight: 800; }
.services-trigger svg { width: .85rem; height: .85rem; transition: transform .2s ease; }
.services-menu.is-open .services-trigger svg { transform: rotate(180deg); }
.services-panel { position: absolute; top: 100%; right: 0; z-index: 60; display: none; width: min(24rem, calc(100vw - 2rem)); grid-template-columns: 1fr; gap: .9rem; padding: .75rem; border: 1px solid #334155; border-radius: 1rem; background: #111b26; box-shadow: 0 16px 36px rgba(0,0,0,.32); }
.services-menu.is-open .services-panel { display: grid; }
.services-group { display: flex; flex-direction: column; gap: .2rem; margin: 0; }
.services-group-title { margin: 0; padding: .2rem .35rem; color: #7dd3fc; font-size: .78rem; font-weight: 700; letter-spacing: .04em; }
.services-group + .services-group { border-top: 1px solid rgba(148,163,184,.25); padding-top: .75rem; }
.services-panel a { display: flex; min-height: 0; flex-direction: column; justify-content: center; padding: .72rem .95rem; border: 1px solid transparent; border-radius: .75rem; color: #fff; transition: background-color .2s ease, border-color .2s ease; }
.services-panel a strong { font-size: .95rem; line-height: 1.55; }
.services-panel a span { color: #cbd5e1; font-size: .74rem; line-height: 1.65; }
.services-panel a:hover, .services-panel a:focus-visible, .services-panel a.active { border-color: rgba(53,167,255,.55); background: #1e293b; color: #35a7ff; }
.services-panel a.active span { color: #dbeafe; }
.process-steps { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (min-width: 1024px) {
  .site-header .container { padding-inline: 32px; }
}
@media (max-width: 1023px) {
  .nav { flex-wrap: wrap; }
  .nav-toggle { display: inline-grid; place-items: center; width: 44px; height: 44px; }
  .nav-links { display: none; order: 3; width: 100%; flex-direction: column; align-items: stretch; gap: 0; padding: .35rem 0 .1rem; background: #0b1118; font-size: 15px; line-height: 20px; }
  .nav-links.is-open { display: flex; }
  .nav-links > a { padding: 8px 12px; border-radius: 8px; color: #fff; }
  .nav-links > a:hover, .nav-links > a:focus-visible { background: #1e293b; color: #35a7ff; }
  .nav-links > a.header-cta-mobile { padding: 12px 16px; color: #fff; }
  .nav-links > a.header-cta-mobile:hover, .nav-links > a.header-cta-mobile:focus-visible { background: #4ade80; color: #fff; }
  .services-menu { width: 100%; }
  .services-trigger { width: 100%; justify-content: space-between; padding: 8px 12px; color: #fff; }
  .services-panel { position: static; width: 100%; margin: .1rem 0; grid-template-columns: 1fr; gap: .35rem; padding: .35rem .5rem; box-shadow: none; }
  .services-group { gap: 0; }
  .services-group-title { padding: .3rem .65rem .15rem; font-size: .72rem; }
  .services-panel a { min-height: 0; padding: .32rem .65rem; }
  .services-panel a strong { font-size: .83rem; line-height: 1.35; }
  .services-group + .services-group { padding-top: .35rem; }
  .services-panel a span { display: none; }
  .services-menu:hover .services-panel { display: none; }
  .services-menu:focus-within .services-panel { display: none; }
  .services-menu.is-open .services-panel { display: grid; }
  .header-cta-desktop { display: none; }
  .header-cta-mobile { display: flex; justify-content: center; margin-top: .55rem; font-size: 16px; line-height: 24px; }
  .process-steps { grid-template-columns: 1fr; }
}
