:root {
  --aa-ink: #1a1f2c;
  --aa-ink-2: #111827;
  --aa-navy: #0d1726;
  --aa-text: #303746;
  --aa-muted: #6f7785;
  --aa-bg: #f5f7fa;
  --aa-bg-2: #eef2f6;
  --aa-surface: #ffffff;
  --aa-line: #e2e7ed;
  --aa-line-strong: #d4dae2;
  --aa-amber: #c7892d;
  --aa-amber-2: #e3a744;
  --aa-amber-dark: #98611d;
  --aa-amber-soft: #f8eddc;
  --aa-success: #1e7a58;
  --aa-shadow-sm: 0 10px 30px rgba(22, 30, 45, .07);
  --aa-shadow-md: 0 20px 50px rgba(22, 30, 45, .11);
  --aa-shadow-lg: 0 34px 80px rgba(8, 15, 28, .22);
  --aa-radius-sm: 12px;
  --aa-radius: 18px;
  --aa-radius-lg: 28px;
  --aa-max: 1240px;
  --aa-font-body: "Inter", "Segoe UI", Arial, sans-serif;
  --aa-font-display: "Manrope", "Inter", "Segoe UI", Arial, sans-serif;
  --aa-font-ar: "Cairo", Tahoma, Arial, sans-serif;
}

* { box-sizing: border-box; min-width: 0; }
html { scroll-behavior: smooth; overflow-x: clip; }
body {
  margin: 0;
  min-height: 100vh;
  color: var(--aa-text);
  font-family: var(--aa-font-body);
  background: var(--aa-bg);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
body.lang-ar,
html[dir="rtl"] body { font-family: var(--aa-font-ar); }
body::selection { background: rgba(199, 137, 45, .22); }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
button, input, textarea, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid rgba(227, 167, 68, .55); outline-offset: 3px; }

.container {
  width: min(var(--aa-max), calc(100% - 40px));
  margin-inline: auto;
  position: relative;
  z-index: 2;
}

/* Navigation */
.nav-wrap {
  position: sticky;
  top: 0;
  z-index: 100;
  color: #fff;
  background: rgba(13, 23, 38, .88);
  border-bottom: 1px solid rgba(255,255,255,.08);
  backdrop-filter: blur(18px) saturate(135%);
  -webkit-backdrop-filter: blur(18px) saturate(135%);
  box-shadow: 0 8px 28px rgba(4, 10, 20, .12);
}
.nav {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-block: 12px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  flex: 0 0 auto;
}
.brand img {
  width: 54px;
  height: 54px;
  object-fit: cover;
  border-radius: 15px;
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 12px 26px rgba(0,0,0,.24);
}
.brand-title,
.brand span:not(.brand-title) {
  color: #fff;
  font-family: var(--aa-font-display);
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  white-space: nowrap;
}
.nav-right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
  flex-wrap: wrap;
}
.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  color: rgba(255,255,255,.72);
  font-size: .91rem;
  font-weight: 550;
}
.nav-links > a,
.nav-links summary {
  position: relative;
  transition: color .22s ease, transform .22s ease;
}
.nav-links > a::after,
.nav-links summary::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -8px;
  height: 2px;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--aa-amber), var(--aa-amber-2));
  transition: right .22s ease;
}
.nav-links > a:hover,
.nav-links summary:hover,
.nav-dropdown[open] summary,
.city-dd[open] summary {
  color: #fff;
}
.nav-links > a:hover::after,
.nav-links summary:hover::after,
.nav-dropdown[open] summary::after,
.city-dd[open] summary::after { right: 0; }
.nav-links .calculator-link { color: #f2bd68; font-weight: 750; }
.lang-switcher { display: flex; gap: 7px; flex-wrap: wrap; justify-content: center; }
.lang-btn {
  min-height: 36px;
  min-width: 42px;
  padding: 0 11px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 10px;
  color: rgba(255,255,255,.72);
  background: rgba(255,255,255,.035);
  font-size: .78rem;
  font-weight: 800;
  transition: .22s ease;
}
.lang-btn:hover,
.lang-btn.active {
  color: var(--aa-ink);
  background: linear-gradient(135deg, #f8e8c9, #d49a3e);
  border-color: transparent;
  transform: translateY(-1px);
}

/* Dropdown menus */
.nav-dropdown,
.city-dd { position: relative; }
.nav-dropdown summary,
.city-dd summary {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  cursor: pointer;
  list-style: none;
  user-select: none;
}
.nav-dropdown summary::-webkit-details-marker,
.city-dd summary::-webkit-details-marker { display: none; }
.nav-dropdown-arrow,
.arrow { display: inline-block; font-size: .72rem; transition: transform .22s ease; }
.nav-dropdown[open] .nav-dropdown-arrow,
.city-dd[open] .arrow { transform: rotate(180deg); }
.city-menu {
  position: absolute;
  top: calc(100% + 18px);
  left: 50%;
  transform: translateX(-50%);
  width: min(350px, 92vw);
  padding: 12px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
  background: rgba(255,255,255,.98);
  border: 1px solid var(--aa-line);
  border-radius: 16px;
  box-shadow: var(--aa-shadow-lg);
  z-index: 120;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}
.city-menu a {
  padding: 10px 12px;
  border-radius: 10px;
  color: var(--aa-text);
  font-size: .84rem;
  line-height: 1.25;
  transition: background .2s ease, color .2s ease, transform .2s ease;
}
.city-menu a:hover {
  color: var(--aa-ink);
  background: var(--aa-amber-soft);
  transform: translateX(2px);
}
html[dir="rtl"] .city-menu a:hover { transform: translateX(-2px); }

/* Typography */
h1, h2, h3, h4 {
  font-family: var(--aa-font-display);
  color: var(--aa-ink);
  letter-spacing: -.03em;
}
h1 {
  margin: 0;
  font-size: clamp(2.55rem, 5.7vw, 5.5rem);
  line-height: 1.05;
  font-weight: 780;
}
h2 {
  margin: 0;
  font-size: clamp(2rem, 3.6vw, 3.65rem);
  line-height: 1.16;
  font-weight: 750;
}
h3 { font-size: 1.12rem; line-height: 1.35; font-weight: 750; }
.section-kicker,
.kicker,
.eyebrow,
.step-label {
  display: inline-block;
  margin-bottom: 14px;
  color: var(--aa-amber-dark);
  font-family: var(--aa-font-display);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.section-sub,
.lead { color: var(--aa-muted); line-height: 1.78; }

/* Main website hero */
.site-page main { background: var(--aa-bg); }
.site-page .hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(84px, 10vw, 150px) 0 clamp(86px, 9vw, 130px);
  color: #fff;
  background:
    radial-gradient(circle at 77% 18%, rgba(214, 157, 66, .24), transparent 28%),
    radial-gradient(circle at 15% 70%, rgba(65, 103, 154, .20), transparent 34%),
    linear-gradient(135deg, #0d1726 0%, #151d2b 52%, #20293a 100%);
}
.site-page .hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: .34;
  background-image:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(to bottom, #000, transparent 88%);
}
.site-page .hero::after {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  top: -180px;
  right: -100px;
  border-radius: 50%;
  border: 1px solid rgba(227, 167, 68, .22);
  box-shadow: 0 0 0 70px rgba(227, 167, 68, .035), 0 0 0 140px rgba(227, 167, 68, .025);
  z-index: -1;
}
.site-page .hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(330px, .82fr);
  gap: clamp(38px, 6vw, 82px);
  align-items: center;
}
.site-page .hero-copy { max-width: 790px; }
.site-page .hero h1 { color: #fff; }
.site-page .hero h1 .line { display: block; }
.site-page .hero h1 .line:last-child { color: #e5b15c; }
.site-page .lead {
  max-width: 760px;
  margin: 28px 0 0;
  color: rgba(255,255,255,.73);
  font-size: clamp(1rem, 1.3vw, 1.15rem);
}
.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}
.btn {
  min-height: 54px;
  padding: 0 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 1px solid transparent;
  border-radius: 13px;
  font-weight: 760;
  text-align: center;
  cursor: pointer;
  transition: transform .22s ease, box-shadow .22s ease, background .22s ease, border-color .22s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary,
.btn-calculator {
  color: #1c2431;
  background: linear-gradient(135deg, #f3d59d 0%, #d59a3a 55%, #ba7723 100%);
  box-shadow: 0 12px 28px rgba(185, 119, 35, .26);
}
.btn-primary:hover,
.btn-calculator:hover { box-shadow: 0 18px 34px rgba(185, 119, 35, .34); }
.btn-secondary {
  color: #fff;
  background: rgba(255,255,255,.07);
  border-color: rgba(255,255,255,.18);
  backdrop-filter: blur(8px);
}
.btn-secondary:hover { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.30); }
.stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 34px;
}
.stat {
  min-height: 128px;
  padding: 19px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border: 1px solid rgba(255,255,255,.11);
  border-radius: 16px;
  background: rgba(255,255,255,.055);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.05);
  backdrop-filter: blur(10px);
}
.stat strong {
  display: block;
  margin-bottom: 7px;
  color: #efc77f;
  font-family: var(--aa-font-display);
  font-size: clamp(1.25rem, 2vw, 1.75rem);
  line-height: 1.12;
}
.stat span { color: rgba(255,255,255,.67); font-size: .9rem; line-height: 1.5; }
.hero-card {
  position: relative;
  min-height: 510px;
  padding: 38px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 30px;
  background:
    radial-gradient(circle at 50% 24%, rgba(229,177,92,.18), transparent 27%),
    linear-gradient(145deg, rgba(255,255,255,.09), rgba(255,255,255,.025));
  box-shadow: 0 38px 80px rgba(2,8,18,.34), inset 0 1px 0 rgba(255,255,255,.08);
  backdrop-filter: blur(14px);
}
.hero-card::before,
.hero-card::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(227,167,68,.18);
}
.hero-card::before { width: 360px; height: 360px; }
.hero-card::after { width: 470px; height: 470px; opacity: .55; }
.hero-logo {
  width: min(100%, 460px);
  position: relative;
  z-index: 2;
  border-radius: 25px;
  filter: drop-shadow(0 22px 46px rgba(0,0,0,.36));
}

/* Main website sections */
.site-page section:not(.hero) { padding: clamp(78px, 8vw, 124px) 0; }
.site-page #oferta,
.site-page #branze,
.site-page #kontakt { background: var(--aa-surface); }
.site-page #realizacje,
.site-page .calculator-section,
.site-page .bottom-service-text-wrap { background: var(--aa-bg); }
.section-head { margin-bottom: 42px; max-width: 920px; }
.single-line-title { font-size: clamp(1.8rem, 3vw, 3.15rem); }
.grid-4,
.showcase {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}
.card,
.contact-card {
  position: relative;
  overflow: hidden;
  padding: 28px;
  border: 1px solid var(--aa-line);
  border-radius: var(--aa-radius);
  background: var(--aa-surface);
  box-shadow: var(--aa-shadow-sm);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.card::before,
.contact-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: linear-gradient(90deg, transparent, rgba(199,137,45,.65), transparent);
  opacity: 0;
  transition: opacity .25s ease;
}
.card:hover {
  transform: translateY(-7px);
  border-color: rgba(199,137,45,.28);
  box-shadow: var(--aa-shadow-md);
}
.card:hover::before { opacity: 1; }
.icon {
  width: 52px;
  height: 52px;
  margin-bottom: 22px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  color: var(--aa-amber-dark);
  background: var(--aa-amber-soft);
  border: 1px solid rgba(199,137,45,.18);
  font-size: 1.3rem;
}
.card h3,
.project-body h3 { margin: 0 0 11px; color: var(--aa-ink); }
.card p,
.project-body p { margin: 0; color: var(--aa-muted); line-height: 1.72; }
.split {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
  gap: 22px;
  align-items: stretch;
}
.feature-list { display: grid; gap: 16px; }
.feature {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  color: var(--aa-text);
  line-height: 1.68;
}
.check {
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  margin-top: 1px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  color: #fff;
  background: linear-gradient(135deg, #c88c32, #9e6721);
  box-shadow: 0 6px 14px rgba(158,103,33,.22);
  font-size: .85rem;
  font-weight: 900;
}
.showcase-card { padding: 0; }
.project-image-wrap {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--aa-bg-2);
}
.project-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .55s cubic-bezier(.2,.8,.2,1), filter .55s ease;
}
.showcase-card:hover .project-image { transform: scale(1.055); filter: saturate(1.05) contrast(1.02); }
.project-body { padding: 26px; }

/* Calculator promotion */
.calculator-section { padding-top: 48px !important; padding-bottom: 48px !important; }
.calculator-panel {
  position: relative;
  overflow: hidden;
  padding: clamp(34px, 5vw, 62px);
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, .75fr);
  gap: 36px;
  align-items: center;
  color: #fff;
  border-radius: var(--aa-radius-lg);
  background:
    radial-gradient(circle at 82% 14%, rgba(227,167,68,.28), transparent 27%),
    linear-gradient(135deg, #111d2c 0%, #1a2637 58%, #253247 100%);
  box-shadow: var(--aa-shadow-lg);
}
.calculator-panel::before {
  content: "";
  position: absolute;
  width: 260px;
  height: 260px;
  right: -80px;
  bottom: -120px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.11);
  box-shadow: 0 0 0 58px rgba(255,255,255,.025);
}
.calculator-panel h2 { color: #fff; }
.calculator-panel p { color: rgba(255,255,255,.68); line-height: 1.75; }
.calculator-panel .section-kicker { color: #efc67d; }
.calculator-actions { position: relative; z-index: 2; display: grid; gap: 12px; }
.calculator-actions .btn { width: 100%; }
.calculator-note { color: rgba(255,255,255,.55); font-size: .84rem; line-height: 1.55; text-align: center; }

/* CTA */
.site-page main > section:has(.cta-box) {
  padding-top: 58px;
  padding-bottom: 58px;
  background: var(--aa-bg);
}
.cta-box {
  position: relative;
  overflow: hidden;
  padding: clamp(34px, 5vw, 58px);
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(240px, .75fr);
  gap: 32px;
  align-items: center;
  color: #fff;
  border-radius: var(--aa-radius-lg);
  background:
    radial-gradient(circle at 90% 0%, rgba(227,167,68,.24), transparent 30%),
    linear-gradient(135deg, #161f2d, #202b3d);
  box-shadow: var(--aa-shadow-lg);
}
.cta-box h3 { margin: 0 0 12px; color: #fff; font-size: clamp(1.55rem, 2.5vw, 2.45rem); }
.cta-box p { margin: 0; color: rgba(255,255,255,.68); line-height: 1.75; }

/* Forms */
.contact-card { box-shadow: var(--aa-shadow-md); }
form { display: grid; gap: 15px; position: relative; z-index: 1; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 15px; }
input, textarea, select {
  width: 100%;
  border: 1px solid var(--aa-line-strong);
  border-radius: 12px;
  background: #f9fafb;
  color: var(--aa-text);
  padding: 15px 16px;
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
input::placeholder,
textarea::placeholder { color: #9aa1ab; opacity: 1; }
input:focus,
textarea:focus,
select:focus {
  border-color: rgba(199,137,45,.58);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(199,137,45,.10);
}
textarea { min-height: 145px; resize: vertical; }
.hidden-field { position: absolute !important; left: -9999px !important; opacity: 0 !important; pointer-events: none !important; }
.captcha-wrap { overflow-x: auto; padding-top: 2px; }
.form-note { color: var(--aa-muted); font-size: .88rem; line-height: 1.55; }
.bottom-service-text-wrap { padding-top: 40px !important; padding-bottom: 56px !important; }
.bottom-service-text { max-width: 980px; margin-inline: auto; color: var(--aa-muted); line-height: 1.82; text-align: center; }

/* Footer */
footer {
  padding: 34px 0;
  color: rgba(255,255,255,.62);
  background: var(--aa-navy);
  border-top: 1px solid rgba(255,255,255,.06);
}
.footer-inner { display: flex; justify-content: space-between; gap: 18px; }

/* City landing pages */
.city-page { background: var(--aa-bg); }
.city-page .hero {
  position: relative;
  overflow: hidden;
  padding: clamp(78px, 9vw, 132px) 0 clamp(72px, 8vw, 110px);
  color: #fff;
  background:
    radial-gradient(circle at 83% 8%, rgba(227,167,68,.25), transparent 26%),
    linear-gradient(135deg, #101a29, #1c2839 62%, #26354a);
}
.city-page .hero::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .18;
  background-image: linear-gradient(120deg, transparent 0 48%, rgba(255,255,255,.09) 49% 50%, transparent 51% 100%);
  background-size: 42px 42px;
}
.city-page .breadcrumbs { position: relative; z-index: 2; margin-bottom: 24px; color: rgba(255,255,255,.58); font-size: .88rem; }
.city-page .breadcrumbs a { color: #e8bd73; }
.city-page .hero-card {
  min-height: auto;
  display: block;
  max-width: 1040px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}
.city-page .hero-card::before,
.city-page .hero-card::after { display: none; }
.city-page .hero h1 { max-width: 930px; color: #fff; font-size: clamp(2.5rem, 5.6vw, 5rem); }
.city-page .hero .lead { max-width: 860px; margin: 24px 0 0; color: rgba(255,255,255,.72); font-size: 1.08rem; }
.city-page .kicker { color: #e8bd73; }
.city-page .hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.city-page .content { padding: clamp(72px, 8vw, 116px) 0 36px; }
.city-page .intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, .85fr);
  gap: 22px;
  margin-bottom: 22px;
}
.city-page .sectors {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}
.city-page .sector h2,
.city-page .why h2,
.city-page .cta h2 { margin: 0 0 13px; font-size: clamp(1.35rem, 2vw, 1.85rem); }
.city-page .sector ul,
.city-page .why ul { margin: 16px 0 0; padding-inline-start: 22px; color: var(--aa-text); }
.city-page .sector li,
.city-page .why li { margin: 9px 0; }
.city-page .why { margin-top: 22px; }
.city-page .cta {
  margin: 24px 0 clamp(72px, 8vw, 112px);
  padding: clamp(32px, 5vw, 52px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  color: #fff;
  border-radius: var(--aa-radius-lg);
  background: linear-gradient(135deg, #131d2b, #253247);
  box-shadow: var(--aa-shadow-lg);
}
.city-page .cta h2 { color: #fff; }
.city-page .cta p { margin: 0; color: rgba(255,255,255,.66); }
.city-page .btn-secondary { color: #fff; }

/* Direction-aware refinements */
html[dir="rtl"] .feature { text-align: right; }
html[dir="rtl"] .nav-links > a::after,
html[dir="rtl"] .nav-links summary::after { left: 100%; right: 0; }
html[dir="rtl"] .nav-links > a:hover::after,
html[dir="rtl"] .nav-links summary:hover::after { left: 0; }
html[dir="rtl"] h1,
html[dir="rtl"] h2,
html[dir="rtl"] h3 { font-family: var(--aa-font-ar); letter-spacing: 0; }

@media (max-width: 1120px) {
  .nav { flex-direction: column; }
  .site-page .hero-grid { grid-template-columns: 1fr; }
  .site-page .hero-copy { max-width: 100%; text-align: center; margin-inline: auto; }
  .site-page .lead { margin-inline: auto; }
  .hero-cta { justify-content: center; }
  .hero-card { min-height: 390px; }
  .stats { max-width: 820px; margin-inline: auto; margin-top: 34px; }
  .split,
  .calculator-panel,
  .cta-box,
  .city-page .intro-grid,
  .city-page .cta { grid-template-columns: 1fr; }
  .calculator-actions { max-width: 470px; width: 100%; margin-inline: auto; }
}

@media (max-width: 900px) {
  .grid-4,
  .showcase,
  .city-page .sectors { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nav-right { justify-content: center; }
  .nav-links { gap: 15px; }
}

@media (max-width: 720px) {
  .container { width: min(var(--aa-max), calc(100% - 26px)); }
  .brand-title { font-size: .9rem; }
  .nav-links { width: 100%; }
  .nav-dropdown,
  .city-dd { width: 100%; text-align: center; }
  .nav-dropdown summary,
  .city-dd summary { justify-content: center; }
  .city-menu {
    position: static;
    transform: none;
    width: min(100%, 430px);
    margin: 12px auto 0;
    grid-template-columns: 1fr;
  }
  .site-page .hero { padding-top: 72px; }
  .stats,
  .grid-4,
  .showcase,
  .form-grid,
  .city-page .sectors { grid-template-columns: 1fr; }
  .hero-card { min-height: auto; padding: 26px; }
  .hero-cta .btn,
  .cta-box .btn,
  .city-page .cta .btn { width: 100%; }
  .site-page .section-head,
  .site-page .card,
  .site-page .contact-card,
  .site-page .project-body,
  .site-page .cta-box,
  .site-page .calculator-panel { text-align: center; }
  .feature { max-width: 560px; margin-inline: auto; text-align: left; }
  html[dir="rtl"] .feature { text-align: right; }
  .footer-inner { flex-direction: column; text-align: center; }
}

@media (max-width: 520px) {
  .nav { padding-block: 14px; }
  .brand { flex-direction: column; gap: 8px; text-align: center; }
  .brand-title { white-space: normal; }
  .site-page .hero h1,
  .city-page .hero h1 { font-size: clamp(2.15rem, 11vw, 3.25rem); }
  .card,
  .contact-card,
  .calculator-panel,
  .cta-box,
  .city-page .cta { padding: 22px; border-radius: 18px; }
  .feature { flex-direction: column; align-items: center; text-align: center; }
  html[dir="rtl"] .feature { text-align: center; }
}
