@import url('/site-layout.css');
html:lang(fa) body {font-family:"Estedad",Tahoma,sans-serif}
html:lang(en) body {font-family:system-ui,sans-serif}

html[data-theme] body .site-glass-header {
  display:flex;
  align-items:center;
  justify-content:space-between;
}
.site-glass-header .header-actions,
.site-glass-header .desktop-nav nav {
  display:flex;
  align-items:center;
  flex-wrap:nowrap;
}
.site-glass-header .desktop-nav nav {gap:2px;padding:4px;border:0}
.site-glass-header .desktop-nav a,
.site-glass-header .header-actions .ghost,
.site-glass-header .mobile-nav summary {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:44px;
  padding-inline:clamp(7px,.85vw,13px);
  color:var(--ui-text);
  font:inherit;
  font-size:.9rem;
  text-decoration:none;
  white-space:nowrap;
}
.site-glass-header .mobile-nav,
.site-glass-header .theme-moon,
[data-theme="dark"] .site-glass-header .theme-sun {display:none}
[data-theme="dark"] .site-glass-header .theme-moon {display:inline}
.site-glass-header .mobile-nav summary {list-style:none;cursor:pointer;gap:5px}
.site-glass-header .mobile-nav summary::-webkit-details-marker {display:none}

footer.nowruz-footer {
  display:block;
  width:100%;
  max-width:none;
  margin:0;
  padding:0;
  border:0;
  border-top:1px solid var(--glass-edge, var(--ui-line));
  background:#f8f9f8;
  color:var(--ui-text);
}
[data-theme="dark"] footer.nowruz-footer {background:#141c1a}
.nowruz-footer-inner {
  max-width:1500px;
  margin-inline:auto;
  padding:clamp(32px,6vw,84px) max(var(--page-gutter,20px),env(safe-area-inset-left,0px),env(safe-area-inset-right,0px)) 0;
}
.nowruz-footer-grid {
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(265px,.48fr);
  gap:clamp(22px,5vw,72px);
  align-items:start;
}
.nowruz-footer-map {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px 20px}
.nowruz-footer-map ul {list-style:none;padding:0;margin:5px 0 0}
html[data-theme] body .nowruz-footer h2 {font-size:1rem;font-weight:650;margin:0}
html[data-theme] body .nowruz-footer-map h2 {color:var(--ui-muted);font-size:.875rem}
.nowruz-footer-map a,.nowruz-footer-contact a {
  display:inline-flex;
  align-items:center;
  min-height:44px;
  line-height:1.45;
  text-decoration:none;
}
.nowruz-footer-map a:hover,.nowruz-footer-contact a:hover {text-decoration:underline;text-underline-offset:4px}
.nowruz-footer-connect {display:grid;gap:10px;min-width:0}
.nowruz-footer-card {
  overflow:hidden;
  border:1px solid var(--glass-edge,var(--ui-line));
  border-radius:20px;
  padding:6px;
  background:var(--ui-control);
}
.nowruz-footer-card img {
  display:block;
  width:100%;
  height:auto;
  aspect-ratio:2.4;
  object-fit:cover;
  border-radius:14px;
}
.nowruz-footer-card-copy {padding:12px}
html[data-theme] body .nowruz-footer-card p {margin:5px 0 12px;color:var(--ui-muted);line-height:1.65;font-size:.925rem}
html[data-theme] body .nowruz-footer-cta {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:44px;
  padding:6px 16px;
  border-radius:999px;
  background:var(--ui-cta);
  color:var(--ui-cta-text);
  font-weight:600;
  text-decoration:none;
}
.nowruz-footer-cta:hover {opacity:.9}
.nowruz-footer-contact {
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  justify-content:space-between;
  column-gap:12px;
  padding:0 15px;
  border-radius:16px;
  background:var(--ui-cta);
  color:var(--ui-cta-text);
  font-size:.875rem;
}
.nowruz-footer-contact a {color:inherit}
.nowruz-footer-address {
  margin:0;
  color:var(--ui-muted);
  font-size:.875rem;
  line-height:1.7;
}
.nowruz-footer-address a,
.company-address a {
  color:var(--ui-accent);
  text-decoration:underline;
  text-underline-offset:.18em;
}
footer.nowruz-footer .nowruz-footer-wordmark {
  display:block;
  width:fit-content;
  max-width:100%;
  margin:clamp(42px,7vw,90px) auto clamp(20px,3vw,42px);
  color:var(--brand-teal-light);
  font-family:"Estedad",sans-serif;
  font-size:clamp(5.3rem,36vw,36rem);
  font-weight:900;
  line-height:.93;
  text-decoration:none;
}
[data-theme="light"] footer.nowruz-footer .nowruz-footer-wordmark {
  color:var(--brand-teal);
}
html:lang(en) footer.nowruz-footer .nowruz-footer-wordmark {
  font-size:clamp(3.5rem,18vw,17rem);
  letter-spacing:-.08em;
  padding-inline-end:.08em;
}
.nowruz-footer-bottom {
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  justify-content:space-between;
  gap:5px 16px;
  min-height:58px;
  padding-block:7px max(7px,env(safe-area-inset-bottom,0px));
  border-top:1px solid var(--glass-edge,var(--ui-line));
  color:var(--ui-muted);
}
.nowruz-footer-bottom button {
  min-height:44px;
  margin:0;
  padding:0 4px;
  border:0;
  background:none;
  color:inherit;
  font:inherit;
  font-size:.85rem;
  cursor:pointer;
}
.nowruz-footer :is(a,button):focus-visible,.not-found a:focus-visible {
  outline:2px solid var(--ui-accent);
  outline-offset:4px;
}
body.not-found-page > main {
  display:grid;
  place-items:center;
  width:min(750px,100%);
  min-height:48vh;
  padding:28px 18px;
  text-align:center;
}
.not-found {margin:0;padding:12px}
.not-found .not-found-code {
  margin:0;
  color:var(--ui-accent);
  font-family:"Estedad",sans-serif;
  font-size:clamp(3.5rem,14vw,8rem);
  font-weight:800;
  line-height:1;
}
.not-found h1 {font-size:clamp(1.8rem,5.4vw,3.4rem)}
.not-found .nowruz-footer-cta {margin-top:8px}

@media (max-width:1050px) {
  html[data-theme] body .site-glass-header {display:grid;grid-template-columns:minmax(0,1fr) auto auto}
  .site-glass-header .desktop-nav,.site-glass-header .header-actions .header-brief {display:none}
  .site-glass-header .mobile-nav {display:block;grid-column:3;grid-row:1}
  html[data-theme] body .site-glass-header .mobile-nav nav {
    position:absolute;
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:4px;
    inset-inline:0;
    top:100%;
    padding:8px;
    max-height:55dvh;
    overflow:auto;
    overscroll-behavior:contain;
  }
  html[data-theme] body .site-glass-header .mobile-nav:not([open]) nav {display:none}
  .site-glass-header .mobile-nav nav a {
    display:flex;align-items:center;min-height:44px;padding:4px 8px;
    white-space:normal;overflow-wrap:anywhere;
  }
}
@media (max-width:760px) {
  .nowruz-footer-grid {grid-template-columns:1fr}
  .nowruz-footer-map {grid-template-columns:repeat(2,minmax(0,1fr));row-gap:22px}
}
