@import url('https://fonts.googleapis.com/css2?family=Vazirmatn:wght@300;400;500;600;700;800;900&display=swap');
@font-face {
  font-family: "IRANSans";
  src: url("../fonts/iransans.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "IRANSansX";
  src: url("../fonts/iransansxfanum-regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "IRANSansX";
  src: url("../fonts/iransansxfanum-bold.ttf") format("truetype");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Lale";
  src: url("../fonts/lale.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: light;
  --primary: #0a403a;
  --primary-2: #062f2b;
  --primary-3: #176058;
  --accent: #f8d767;
  --accent-2: #e6b72e;
  --text: #142b29;
  --muted: #607370;
  --muted-2: #82918f;
  --bg: #ffffff;
  --surface: #ffffff;
  --surface-2: #f5f8f7;
  --surface-3: #edf4f2;
  --line: rgba(10, 64, 58, .12);
  --line-2: rgba(10, 64, 58, .08);
  --danger: #d95757;
  --shadow: 0 24px 70px rgba(10, 64, 58, .14);
  --shadow-sm: 0 14px 42px rgba(10, 64, 58, .08);
  --radius-xl: 42px;
  --radius-lg: 32px;
  --radius-md: 24px;
  --radius-sm: 16px;
  --container: 1180px;
}

html[data-theme="dark"] {
  color-scheme: dark;
  --primary: #6ee1d4;
  --primary-2: #eafaf7;
  --primary-3: #73d2c7;
  --accent: #f8d767;
  --accent-2: #e6b72e;
  --text: #edf8f6;
  --muted: #adbfbd;
  --muted-2: #82918f;
  --bg: #061815;
  --surface: #0d2420;
  --surface-2: #0a1f1c;
  --surface-3: #102d29;
  --line: rgba(255, 255, 255, .11);
  --line-2: rgba(255, 255, 255, .07);
  --shadow: 0 24px 70px rgba(0, 0, 0, .38);
  --shadow-sm: 0 14px 42px rgba(0, 0, 0, .24);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  direction: rtl;
  font-family: "IRANSansX", "IRANSans", Tahoma, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.85;
  overflow-x: hidden;
  transition: background .25s ease, color .25s ease;
}
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
button, input, textarea, select { font: inherit; }
button { font-family: inherit; }
.container { width: min(var(--container), calc(100% - 32px)); margin: 0 auto; }
.section { padding: 92px 0; }
.section--soft { background: linear-gradient(180deg, var(--surface-2), var(--bg)); }
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 36px;
}
.section-head > div { max-width: 800px; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--primary-2);
  background: rgba(248, 215, 103, .24);
  padding: 7px 15px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 900;
  border: 1px solid rgba(248, 215, 103, .26);
}
.eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-2);
  box-shadow: 0 0 0 5px rgba(248, 215, 103, .28);
}
h1, h2, h3, h4, p { margin-top: 0; }
h1 {
  font-size: clamp(35px, 4.8vw, 58px);
  line-height: 1.36;
  letter-spacing: -1px;
  margin-bottom: 22px;
  color: var(--primary-2);
}
h2 {
  font-size: clamp(27px, 3.2vw, 42px);
  line-height: 1.38;
  margin-bottom: 14px;
  letter-spacing: -.6px;
  color: var(--primary-2);
}
h3 { font-size: 21px; color: var(--primary-2); margin-bottom: 9px; }
h4 { color: var(--primary-2); }
p { color: var(--muted); margin-bottom: 18px; }
.lead { font-size: 18px; color: var(--muted); max-width: 760px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 22px;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 900;
  transition: .22s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { color: #102b29; background: linear-gradient(135deg, var(--accent), var(--accent-2)); box-shadow: 0 16px 36px rgba(248, 215, 103, .30); }
.btn-dark { background: #0a403a; color: #fff; box-shadow: 0 16px 34px rgba(10, 64, 58, .24); }
.btn-light { background: var(--surface); color: var(--primary-2); box-shadow: var(--shadow-sm); border: 1px solid var(--line); }
.btn-outline { background: transparent; color: var(--primary-2); border: 1px solid var(--line); }

/* Brand and Header */
.header {
  position: sticky;
  top: 0;
  z-index: 70;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
  transition: .25s ease;
}
.header.scrolled { box-shadow: 0 12px 32px rgba(10, 64, 58, .08); }
.navbar { display: flex; align-items: center; justify-content: space-between; min-height: 84px; gap: 22px; }
.brand {
  display: inline-flex;
  align-items: center;
  flex-direction: row;
  direction: rtl;
  gap: 12px;
  flex: 0 0 auto;
  min-width: 210px;
  text-align: right;
}
.brand-mark {
  width: 56px;
  height: 56px;
  border-radius: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #0a403a;
  background: linear-gradient(145deg, var(--accent), #fff3bb);
  box-shadow: 0 14px 34px rgba(248, 215, 103, .28);
  flex: 0 0 auto;
  overflow: hidden;
}
.brand-mark svg { width: 34px; height: 34px; stroke: currentColor; stroke-width: 2; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.brand-text { display: grid; gap: 0; min-width: 0; }
.brand-text strong { font-size: 19px; line-height: 1.35; color: var(--primary-2); letter-spacing: -.2px; white-space: nowrap; }
.brand-text small { color: var(--muted); font-size: 12px; line-height: 1.4; white-space: nowrap; }
.nav-menu { display: flex; align-items: center; justify-content: center; gap: 3px; list-style: none; margin: 0; padding: 0; }
.nav-menu a { display: inline-flex; padding: 10px 15px; color: var(--muted); border-radius: 999px; font-weight: 900; font-size: 14px; transition: .18s ease; }
.nav-menu a:hover, .nav-menu a.active { color: var(--primary-2); background: rgba(248, 215, 103, .22); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.theme-toggle {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: var(--surface-2);
  color: var(--primary-2);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: .2s ease;
  position: relative;
}
.theme-toggle:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.theme-toggle svg { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.mobile-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border-radius: 16px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  cursor: pointer;
  position: relative;
}
.mobile-toggle span, .mobile-toggle span::before, .mobile-toggle span::after {
  content: "";
  position: absolute;
  width: 20px;
  height: 2px;
  border-radius: 8px;
  background: var(--primary-2);
  right: 13px;
  transition: .2s ease;
}
.mobile-toggle span { top: 23px; }
.mobile-toggle span::before { top: -7px; right: 0; }
.mobile-toggle span::after { top: 7px; right: 0; }
.mobile-toggle.active span { background: transparent; }
.mobile-toggle.active span::before { transform: translateY(7px) rotate(45deg); }
.mobile-toggle.active span::after { transform: translateY(-7px) rotate(-45deg); }

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  padding: 78px 0 64px;
  background:
    radial-gradient(circle at 10% 8%, rgba(248, 215, 103, .36), transparent 30%),
    radial-gradient(circle at 96% 18%, rgba(10, 64, 58, .08), transparent 30%),
    linear-gradient(180deg, var(--surface-2), var(--bg));
}
.hero::after {
  content: "";
  position: absolute;
  inset: auto -150px -250px auto;
  width: 560px;
  height: 560px;
  border-radius: 50%;
  background: rgba(10, 64, 58, .08);
  pointer-events: none;
}
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 52px; align-items: center; }
.hero-content { position: relative; z-index: 2; max-width: 760px; }
.hero-content .lead { margin-bottom: 30px; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 13px; margin-bottom: 34px; }
.hero-trust { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; max-width: 650px; }
.trust-card { background: color-mix(in srgb, var(--surface) 88%, transparent); border: 1px solid var(--line); border-radius: 20px; padding: 14px 16px; box-shadow: 0 16px 42px rgba(10, 64, 58, .06); }
.trust-card strong { display: block; color: var(--primary-2); font-size: 21px; line-height: 1.4; }
.trust-card span { display: block; font-size: 12px; color: var(--muted); }
.hero-visual { position: relative; min-height: 525px; z-index: 1; }
.hero-panel {
  position: relative;
  min-height: 440px;
  border-radius: var(--radius-xl);
  background: linear-gradient(145deg, #0a403a, #1b6259);
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
  overflow: hidden;
  padding: 28px;
  color: #fff;
}
.hero-panel::before {
  content: "";
  position: absolute;
  width: 330px;
  height: 330px;
  border-radius: 50%;
  background: rgba(248, 215, 103, .72);
  left: -105px;
  top: -92px;
  filter: blur(.2px);
}
.hero-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../img/hero-pattern.svg") center/cover no-repeat;
  opacity: .16;
}
.hero-dashboard { position: relative; z-index: 2; display: grid; gap: 18px; }
.dashboard-top { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 28px; }
.dashboard-top strong { font-size: 18px; }
.dashboard-top span { color: rgba(255,255,255,.68); font-size: 13px; }
.dashboard-pill { padding: 8px 13px; border-radius: 999px; color: #102b29; background: linear-gradient(135deg, var(--accent), #fff0a5); font-weight: 900; font-size: 12px; }
.dashboard-card { background: rgba(255,255,255,.13); border: 1px solid rgba(255,255,255,.16); border-radius: 24px; padding: 18px; backdrop-filter: blur(12px); }
.dashboard-card h3 { color: #fff; margin-bottom: 7px; }
.dashboard-card p { color: rgba(255,255,255,.72); margin-bottom: 0; }
.dashboard-list { display: grid; gap: 10px; }
.dashboard-row { display: grid; grid-template-columns: 42px 1fr auto; gap: 12px; align-items: center; padding: 13px; border-radius: 18px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.12); }
.dashboard-row i { width: 42px; height: 42px; border-radius: 15px; display: inline-flex; align-items: center; justify-content: center; background: rgba(248, 215, 103, .18); color: var(--accent); font-style: normal; }
.dashboard-row svg { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.dashboard-row strong { display: block; color: #fff; line-height: 1.5; }
.dashboard-row small { color: rgba(255,255,255,.62); }
.dashboard-row em { font-style: normal; color: #102b29; background: #fff; border-radius: 999px; padding: 5px 9px; font-weight: 900; font-size: 11px; }
.floating-card { position: absolute; z-index: 4; background: var(--surface); border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow-sm); padding: 16px 18px; }
.floating-card--top { top: 36px; right: -22px; width: 230px; }
.floating-card--bottom { bottom: 42px; left: -18px; width: 250px; }
.floating-card strong { display: block; color: var(--primary-2); margin-bottom: 5px; }
.floating-card span { display: block; font-size: 13px; color: var(--muted); }
.progress-line { position: relative; display: block; height: 9px; overflow: hidden; border-radius: 99px; margin-top: 12px; background: var(--surface-3); }
.progress-line::before { content: ""; position: absolute; inset: 0 0 0 22%; border-radius: inherit; background: linear-gradient(90deg, var(--accent), #0a403a); }

/* Cards and icons */
.service-grid, .projects-grid, .feature-grid, .team-grid, .stats-grid, .blog-grid { display: grid; gap: 22px; }
.service-grid { grid-template-columns: repeat(3, 1fr); }
.card { position: relative; overflow: hidden; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-md); box-shadow: 0 14px 38px rgba(10, 64, 58, .07); transition: .22s ease; }
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.service-card { padding: 24px; }
.service-card::before { content: ""; position: absolute; width: 118px; height: 118px; border-radius: 50%; left: -54px; top: -58px; background: rgba(248, 215, 103, .22); }
.service-card__head {
  position: relative;
  z-index: 1;
  display: flex;
  direction: rtl;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  gap: 14px;
  margin-bottom: 16px;
}
.service-card__head h3 { margin: 0; line-height: 1.55; }
.icon-box {
  width: 58px;
  height: 58px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  border-radius: 18px;
  color: var(--primary-2);
  background: linear-gradient(145deg, rgba(248, 215, 103, .46), rgba(10, 64, 58, .08));
}
.icon-box svg { width: 27px; height: 27px; stroke: currentColor; stroke-width: 2.25; stroke-linecap: round; stroke-linejoin: round; fill: none; }
.service-card p, .service-card ul { position: relative; z-index: 1; }
.service-card ul { margin: 16px 0 0; padding: 0; list-style: none; }
.service-card li { display: flex; align-items: center; gap: 9px; color: var(--muted); font-size: 14px; margin-bottom: 7px; }
.service-card li::before { content: "✓"; color: var(--primary-2); font-weight: 900; flex: 0 0 auto; }

/* About */
.about-box { display: grid; grid-template-columns: .92fr 1.08fr; gap: 44px; align-items: center; }
.about-media { position: relative; min-height: 430px; border-radius: var(--radius-lg); background: linear-gradient(135deg, #0a403a, #1d5853); box-shadow: var(--shadow); overflow: hidden; }
.about-media::before { content: ""; position: absolute; width: 270px; height: 270px; border-radius: 50%; background: rgba(248, 215, 103, .7); left: -86px; top: -70px; }
.about-media::after { content: "خدمات\A الماس"; white-space: pre; position: absolute; inset: 0; display: grid; place-items: center; color: rgba(255, 255, 255, .12); font-size: 60px; line-height: 1.4; font-weight: 900; text-align: center; }
.about-badge { position: absolute; z-index: 2; right: 34px; top: 34px; width: 285px; padding: 22px; border-radius: 24px; background: rgba(255,255,255,.92); box-shadow: var(--shadow-sm); }
.about-badge strong { color: #0a403a; font-size: 28px; }
.about-badge p { color: #526967; margin: 6px 0 0; }
.check-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 16px; padding: 0; margin: 22px 0 26px; list-style: none; }
.check-list li { display: flex; align-items: center; gap: 10px; color: var(--text); font-weight: 800; }
.check-list li::before { content: ""; width: 22px; height: 22px; border-radius: 50%; background: var(--accent); flex: 0 0 auto; box-shadow: inset 0 0 0 6px rgba(255,255,255,.55); }
.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: step; }
.process-card { counter-increment: step; padding: 24px; border-radius: var(--radius-md); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.process-card::before { content: counter(step, decimal-leading-zero); display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 15px; background: var(--accent); color: #0a403a; font-weight: 900; margin-bottom: 20px; }
.feature-grid { grid-template-columns: repeat(4, 1fr); }
.feature-card { padding: 24px; border-radius: var(--radius-md); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.feature-card span { display: inline-flex; margin-bottom: 18px; color: var(--primary-2); background: rgba(248, 215, 103, .22); border-radius: 999px; padding: 6px 12px; font-weight: 900; }

/* Projects */
.projects-filter { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 24px; }
.filter-btn { border: 1px solid var(--line); background: var(--surface); color: var(--muted); border-radius: 999px; padding: 9px 16px; cursor: pointer; font-weight: 900; transition: .2s ease; }
.filter-btn.active, .filter-btn:hover { background: #0a403a; color: #fff; }
.projects-grid { grid-template-columns: repeat(3, 1fr); }
.project-card { min-height: 438px; display: flex; flex-direction: column; cursor: pointer; outline: none; }
.project-card:focus-visible { box-shadow: 0 0 0 4px rgba(248, 215, 103, .42), var(--shadow); }
.project-thumb { position: relative; height: 228px; overflow: hidden; background: linear-gradient(135deg, rgba(10, 64, 58, .96), rgba(248, 215, 103, .72)); }
.project-thumb img { width: 100%; height: 100%; object-fit: cover; transition: .32s ease; }
.project-card:hover .project-thumb img { transform: scale(1.05); }
.project-tag { position: absolute; top: 16px; right: 16px; z-index: 1; background: rgba(255, 255, 255, .92); color: #0a403a; padding: 6px 12px; border-radius: 999px; font-size: 12px; font-weight: 900; }
.project-body { padding: 22px; flex: 1; display: flex; flex-direction: column; }
.project-body p { flex: 1; }
.project-meta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; color: var(--muted); font-size: 13px; }
.project-meta span { background: var(--surface-2); padding: 6px 10px; border-radius: 999px; }
.project-more { margin-top: 16px; display: inline-flex; align-items: center; justify-content: center; align-self: flex-start; border: 1px solid var(--line); border-radius: 999px; padding: 8px 13px; color: var(--primary-2); background: var(--surface-2); font-weight: 900; font-size: 13px; }
.project-more::after { content: "←"; margin-right: 8px; }

/* Project modal */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .58);
  z-index: 150;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 22px;
  backdrop-filter: blur(10px);
}
.modal-backdrop.show { display: flex; }
.project-modal {
  width: min(1060px, 100%);
  max-height: calc(100vh - 44px);
  overflow: auto;
  border-radius: 34px;
  background: var(--surface);
  color: var(--text);
  box-shadow: 0 34px 90px rgba(0,0,0,.35);
  border: 1px solid var(--line);
}
.modal-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 20px; border-bottom: 1px solid var(--line); position: sticky; top: 0; background: color-mix(in srgb, var(--surface) 94%, transparent); backdrop-filter: blur(18px); z-index: 4; }
.modal-title { display: grid; gap: 2px; }
.modal-title strong { color: var(--primary-2); font-size: 20px; }
.modal-title span { color: var(--muted); font-size: 13px; }
.modal-close { width: 42px; height: 42px; border-radius: 14px; border: 1px solid var(--line); background: var(--surface-2); color: var(--primary-2); cursor: pointer; font-weight: 900; }
.modal-content { display: grid; grid-template-columns: 1.08fr .92fr; gap: 0; }
.modal-gallery { padding: 22px; border-left: 1px solid var(--line); }
.gallery-stage { position: relative; overflow: hidden; border-radius: 26px; background: var(--surface-2); aspect-ratio: 4 / 3; box-shadow: var(--shadow-sm); }
.gallery-stage img { width: 100%; height: 100%; object-fit: cover; }
.gallery-btn { position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255,255,255,.9); color: #0a403a; cursor: pointer; font-weight: 900; }
.gallery-btn.prev { right: 14px; }
.gallery-btn.next { left: 14px; }
.gallery-dots { display: flex; gap: 8px; justify-content: center; margin-top: 14px; }
.gallery-dots button { width: 9px; height: 9px; border: 0; border-radius: 999px; background: var(--line); cursor: pointer; padding: 0; }
.gallery-dots button.active { width: 30px; background: var(--accent); }
.modal-side { padding: 24px; }
.detail-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin: 18px 0; }
.detail-list div { border: 1px solid var(--line); background: var(--surface-2); border-radius: 18px; padding: 12px; }
.detail-list small { display: block; color: var(--muted); margin-bottom: 4px; }
.detail-list strong { color: var(--primary-2); }
.modal-features { display: grid; gap: 8px; padding: 0; margin: 20px 0; list-style: none; }
.modal-features li { display: flex; gap: 9px; color: var(--text); }
.modal-features li::before { content: "✓"; color: #0a403a; background: var(--accent); width: 22px; height: 22px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; font-weight: 900; }
.comments-box { margin-top: 20px; border-top: 1px solid var(--line); padding-top: 18px; }
.comments-box h4 { margin: 0 0 12px; }
.comment-card { display: grid; grid-template-columns: 46px 1fr; gap: 12px; align-items: start; border: 1px solid var(--line); background: var(--surface-2); border-radius: 18px; padding: 14px; margin-bottom: 10px; }
.comment-avatar { width: 46px; height: 46px; border-radius: 16px; background: linear-gradient(145deg, var(--accent), #fff0a5); color: #0a403a; display: flex; align-items: center; justify-content: center; font-weight: 900; }
.comment-card strong { color: var(--primary-2); }
.comment-card p { margin: 3px 0 0; font-size: 13px; }

/* Stats and testimonials */
.stats-band { padding: 42px; border-radius: 32px; color: #fff; background: linear-gradient(135deg, #062f2b, #0a403a); box-shadow: var(--shadow); }
.stats-grid { grid-template-columns: repeat(4, 1fr); }
.stat-item strong { display: block; color: var(--accent); font-size: 38px; line-height: 1.1; margin-bottom: 8px; }
.stat-item span { color: rgba(255, 255, 255, .72); font-size: 14px; }
.testimonial-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.testimonial-card { padding: 26px; border-radius: var(--radius-md); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.testimonial-head { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.avatar { width: 58px; height: 58px; border-radius: 20px; display: inline-flex; align-items: center; justify-content: center; color: #0a403a; font-weight: 900; background: linear-gradient(145deg, var(--accent), #fff0a5); }
.testimonial-head strong { color: var(--primary-2); display: block; }
.testimonial-head span { color: var(--muted); font-size: 12px; }
.stars { color: var(--accent-2); letter-spacing: 2px; }

/* FAQ + CTA */
.faq-list { display: grid; gap: 12px; }
.faq-item { border: 1px solid var(--line); border-radius: 18px; overflow: hidden; background: var(--surface); }
.faq-question { width: 100%; border: 0; background: transparent; display: flex; align-items: center; justify-content: space-between; padding: 19px 22px; cursor: pointer; color: var(--primary-2); font-weight: 900; text-align: right; }
.faq-question::after { content: "+"; width: 30px; height: 30px; border-radius: 50%; background: var(--surface-2); display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; }
.faq-item.open .faq-question::after { content: "−"; background: var(--accent); color: #0a403a; }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height .25s ease; }
.faq-answer p { padding: 0 22px 18px; margin: 0; }
.cta-box { position: relative; overflow: hidden; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 24px; padding: 42px; border-radius: var(--radius-lg); background: linear-gradient(135deg, var(--accent), #ffe38a); box-shadow: 0 24px 60px rgba(248, 215, 103, .23); }
.cta-box::before { content: ""; position: absolute; width: 260px; height: 260px; border-radius: 50%; background: rgba(255, 255, 255, .28); left: -80px; top: -110px; }
.cta-box h2, .cta-box p, .cta-box .btn { position: relative; z-index: 1; }
.cta-box h2 { color: #102b29; }
.cta-box p { color: rgba(16, 43, 41, .74); margin: 0; }

/* Page */
.page-hero { padding: 70px 0 58px; background: linear-gradient(180deg, var(--surface-2), var(--bg)); border-bottom: 1px solid var(--line); }
.breadcrumb { display: flex; align-items: center; gap: 9px; color: var(--muted); font-size: 14px; margin-bottom: 18px; }
.breadcrumb a { color: var(--primary-2); font-weight: 900; }
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 28px; align-items: start; }
.contact-info { display: grid; gap: 14px; }
.info-card { display: flex; direction: rtl; flex-direction: row; gap: 14px; align-items: flex-start; padding: 20px; border-radius: var(--radius-md); background: var(--surface); border: 1px solid var(--line); box-shadow: 0 12px 34px rgba(10, 64, 58, .06); }
.info-card .icon-box { margin: 0; width: 48px; height: 48px; flex: 0 0 auto; }
.info-card .icon-box svg { width: 24px; height: 24px; }
.form-card { padding: 30px; border-radius: 30px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 15px; }
.form-field { display: grid; gap: 7px; margin-bottom: 15px; }
.form-field.full { grid-column: 1 / -1; }
.form-field label { color: var(--primary-2); font-weight: 900; font-size: 14px; }
.form-field input, .form-field textarea, .form-field select { width: 100%; border: 1px solid var(--line); background: var(--surface-2); border-radius: 15px; padding: 12px 14px; color: var(--text); outline: none; transition: .18s ease; }
.form-field textarea { min-height: 135px; resize: vertical; }
.form-field input:focus, .form-field textarea:focus, .form-field select:focus { border-color: rgba(248, 215, 103, .95); box-shadow: 0 0 0 4px rgba(248, 215, 103, .18); background: var(--surface); }
.error-text { display: none; color: var(--danger); font-size: 12px; }
.form-field.error input, .form-field.error textarea, .form-field.error select { border-color: var(--danger); }
.form-field.error .error-text { display: block; }
.toast { position: fixed; left: 24px; bottom: 24px; z-index: 170; background: #0a403a; color: #fff; padding: 14px 18px; border-radius: 16px; box-shadow: var(--shadow); transform: translateY(18px); opacity: 0; visibility: hidden; transition: .22s ease; }
.toast.show { transform: translateY(0); opacity: 1; visibility: visible; }
.map-box { min-height: 260px; border-radius: var(--radius-md); overflow: hidden; background: radial-gradient(circle at 20% 20%, rgba(248, 215, 103, .65), transparent 26%), linear-gradient(135deg, #0a403a, #236b63); position: relative; box-shadow: var(--shadow-sm); }
.map-box::before { content: "گیلان و شهرهای اطراف"; position: absolute; inset: 24px; border: 1px solid rgba(255, 255, 255, .22); border-radius: 18px; display: grid; place-items: center; color: rgba(255,255,255,.88); font-weight: 900; }
.empty-state { padding: 28px; border-radius: var(--radius-md); background: var(--surface-2); color: var(--muted); grid-column: 1 / -1; text-align: center; }

/* Footer */
.footer { background: #062f2b; color: #fff; padding: 64px 0 22px; }
.footer .brand-text strong { color: #fff; }
.footer .brand-text small { color: rgba(255,255,255,.64); }
.footer-grid { display: grid; grid-template-columns: 1.35fr .8fr .8fr 1fr; gap: 28px; }
.footer p { color: rgba(255,255,255,.68); margin-top: 14px; }
.footer h4 { color: #fff; margin-bottom: 14px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; color: rgba(255,255,255,.68); }
.footer a:hover { color: var(--accent); }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; padding-top: 24px; margin-top: 36px; border-top: 1px solid rgba(255,255,255,.12); color: rgba(255,255,255,.55); font-size: 13px; }
.footer-bottom a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.to-top { position: fixed; left: 20px; bottom: 20px; width: 46px; height: 46px; border: 0; border-radius: 16px; background: var(--accent); color: #0a403a; box-shadow: var(--shadow-sm); cursor: pointer; opacity: 0; visibility: hidden; transform: translateY(10px); transition: .2s ease; z-index: 80; font-weight: 900; }
.to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }

@media (max-width: 1040px) {
  .nav-menu { position: fixed; top: 84px; right: 16px; left: 16px; display: grid; gap: 8px; padding: 16px; background: color-mix(in srgb, var(--surface) 96%, transparent); border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(-10px); transition: .2s ease; }
  .nav-menu.open { opacity: 1; visibility: visible; transform: translateY(0); }
  .mobile-toggle { display: inline-flex; }
  .hero-grid, .about-box, .contact-grid, .modal-content { grid-template-columns: 1fr; }
  .modal-gallery { border-left: 0; border-bottom: 1px solid var(--line); }
  .hero-visual { min-height: auto; }
  .floating-card--top { right: 18px; }
  .floating-card--bottom { left: 18px; }
  .service-grid, .projects-grid, .testimonial-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-grid, .process, .stats-grid, .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .header-actions .btn { display: none; }
}

@media (max-width: 720px) {
  .container { width: min(100% - 22px, var(--container)); }
  .section { padding: 64px 0; }
  .section-head { display: grid; align-items: start; }
  .brand { min-width: auto; }
  .brand-mark { width: 48px; height: 48px; border-radius: 16px; }
  .brand-mark svg { width: 29px; height: 29px; }
  .brand-text strong { font-size: 16px; }
  .brand-text small { font-size: 11px; }
  .hero { padding-top: 54px; }
  h1 { font-size: clamp(32px, 9.3vw, 42px); }
  .hero-trust, .service-grid, .projects-grid, .testimonial-grid, .feature-grid, .process, .stats-grid, .footer-grid, .form-grid, .check-list, .detail-list { grid-template-columns: 1fr; }
  .hero-panel { min-height: auto; padding: 20px; }
  .dashboard-row { grid-template-columns: 40px 1fr; }
  .dashboard-row em { grid-column: 1 / -1; justify-self: start; }
  .floating-card { position: static; margin: 12px 0 0; width: auto; }
  .about-media { min-height: 310px; }
  .about-media::after { font-size: 34px; }
  .about-badge { right: 24px; top: 24px; width: calc(100% - 48px); }
  .cta-box { grid-template-columns: 1fr; padding: 28px; }
  .stats-band { padding: 30px; }
  .footer-bottom { flex-direction: column; }
  .project-modal { border-radius: 24px; }
  .modal-backdrop { padding: 12px; }
}

/* Featured works slider - home page */
.works-strip-section {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 8% 8%, rgba(248, 215, 103, .18), transparent 28%),
    linear-gradient(180deg, var(--bg), var(--surface-2));
}
.works-strip-section::before {
  content: "";
  position: absolute;
  inset: 24px auto auto 5%;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: rgba(10, 64, 58, .055);
  pointer-events: none;
}
.works-strip-layout {
  display: grid;
  grid-template-columns: 330px minmax(0, 1fr);
  gap: 34px;
  align-items: center;
}
.works-strip-copy {
  position: relative;
  z-index: 2;
  padding: 30px;
  border-radius: var(--radius-lg);
  background: color-mix(in srgb, var(--surface) 88%, transparent);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}
.works-strip-copy h2 {
  font-size: clamp(29px, 3vw, 44px);
  margin-top: 18px;
}
.works-strip-copy .lead {
  font-size: 15px;
  margin-bottom: 24px;
}
.works-strip-actions {
  display: grid;
  gap: 16px;
}
.works-slider-controls {
  display: flex;
  align-items: center;
  gap: 10px;
}
.works-control {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--primary-2);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  line-height: 1;
  box-shadow: 0 12px 30px rgba(10, 64, 58, .08);
  transition: .2s ease;
}
.works-control:hover {
  transform: translateY(-2px);
  background: var(--accent);
  color: #0a403a;
}
.works-slider-shell {
  min-width: 0;
  position: relative;
  padding: 18px;
  border-radius: 36px;
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--surface) 94%, transparent), color-mix(in srgb, var(--surface-2) 80%, transparent));
  border: 1px solid var(--line);
  box-shadow: 0 22px 70px rgba(10, 64, 58, .10);
  overflow: hidden;
}
.works-slider-shell::before {
  content: "";
  position: absolute;
  width: 290px;
  height: 290px;
  border-radius: 50%;
  left: -120px;
  bottom: -150px;
  background: rgba(248, 215, 103, .22);
  pointer-events: none;
}
.works-slider-top {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 16px;
  padding: 0 4px;
}
.works-slider-top strong {
  color: var(--primary-2);
  font-size: 17px;
}
.works-slider-top span {
  min-width: 68px;
  text-align: center;
  border-radius: 999px;
  padding: 5px 11px;
  background: rgba(248, 215, 103, .24);
  color: var(--primary-2);
  font-weight: 900;
  font-size: 13px;
}
.works-slider-viewport {
  position: relative;
  z-index: 2;
  overflow: hidden;
  border-radius: 28px;
}
.works-slider-track {
  direction: ltr;
  display: flex;
  align-items: stretch;
  gap: 20px;
  transition: transform .6s cubic-bezier(.2, .7, .2, 1);
  will-change: transform;
}
.featured-work-card {
  direction: rtl;
  flex: 0 0 calc((100% - 40px) / 3);
  min-width: 0;
  border-radius: 28px;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: 0 18px 45px rgba(10, 64, 58, .10);
  cursor: pointer;
  outline: none;
  transition: transform .24s ease, box-shadow .24s ease, border-color .24s ease;
}
.featured-work-card:hover,
.featured-work-card:focus-visible {
  transform: translateY(-6px);
  border-color: rgba(248, 215, 103, .72);
  box-shadow: 0 26px 65px rgba(10, 64, 58, .16);
}
.featured-work-image {
  position: relative;
  height: 235px;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(10, 64, 58, .9), rgba(248, 215, 103, .65));
}
.featured-work-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .36s ease;
}
.featured-work-card:hover .featured-work-image img { transform: scale(1.06); }
.featured-work-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(6, 47, 43, .72));
}
.featured-work-tag,
.featured-work-status {
  position: absolute;
  z-index: 2;
  border-radius: 999px;
  font-weight: 900;
  font-size: 12px;
}
.featured-work-tag {
  top: 16px;
  right: 16px;
  background: rgba(255,255,255,.92);
  color: #0a403a;
  padding: 6px 12px;
}
.featured-work-status {
  left: 16px;
  bottom: 16px;
  background: var(--accent);
  color: #0a403a;
  padding: 7px 13px;
}
.featured-work-body {
  padding: 20px;
}
.featured-work-body h3 {
  font-size: 18px;
  margin-bottom: 8px;
  color: var(--primary-2);
}
.featured-work-body p {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 16px;
  min-height: 50px;
}
.featured-work-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.featured-work-meta span {
  border-radius: 999px;
  padding: 5px 10px;
  background: var(--surface-2);
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}
.featured-work-link {
  margin-top: 16px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--primary-2);
  font-weight: 900;
  font-size: 13px;
}
.featured-work-link::after { content: "←"; }
.works-slider-dots {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 18px;
}
.works-slider-dots button {
  width: 8px;
  height: 8px;
  border: 0;
  padding: 0;
  border-radius: 999px;
  background: color-mix(in srgb, var(--primary-2) 20%, transparent);
  cursor: pointer;
  transition: .2s ease;
}
.works-slider-dots button.active {
  width: 30px;
  background: var(--accent);
}
html[data-theme="dark"] .works-strip-section {
  background:
    radial-gradient(circle at 8% 8%, rgba(248, 215, 103, .12), transparent 28%),
    linear-gradient(180deg, var(--bg), var(--surface-2));
}
html[data-theme="dark"] .works-strip-copy,
html[data-theme="dark"] .works-slider-shell,
html[data-theme="dark"] .featured-work-card {
  box-shadow: 0 18px 60px rgba(0, 0, 0, .28);
}

@media (max-width: 1040px) {
  .works-strip-layout { grid-template-columns: 1fr; }
  .works-strip-copy { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 18px; }
  .works-strip-copy .lead { margin-bottom: 0; }
  .featured-work-card { flex-basis: calc((100% - 20px) / 2); }
}

@media (max-width: 720px) {
  .works-strip-copy { grid-template-columns: 1fr; padding: 22px; }
  .works-slider-shell { padding: 12px; border-radius: 28px; }
  .featured-work-card { flex-basis: 100%; }
  .featured-work-image { height: 220px; }
  .works-slider-top { padding-inline: 4px; }
}

/* v6: mosaic portfolio + team carousel */
.portfolio-showcase-section {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 12%, rgba(248, 215, 103, .22), transparent 28%),
    linear-gradient(180deg, var(--bg), var(--surface-2));
}
.portfolio-title-block {
  display: grid;
  grid-template-columns: 1fr minmax(260px, 680px) 1fr;
  align-items: center;
  gap: 22px;
  text-align: center;
  margin-bottom: 34px;
}
.portfolio-title-block > span {
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--primary-3), transparent);
  opacity: .75;
}
.portfolio-title-block strong {
  color: var(--accent-2);
  font-weight: 900;
  font-size: 14px;
}
.portfolio-title-block h2 {
  margin: 6px 0 8px;
  color: var(--primary-2);
}
.portfolio-title-block p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}
.portfolio-stage {
  position: relative;
}
.portfolio-mosaic {
  direction: ltr;
  display: grid;
  grid-template-columns: 1.05fr 1.35fr 1.35fr 1.05fr;
  grid-template-rows: 210px 210px;
  gap: 14px;
  min-height: 434px;
  transition: opacity .22s ease, transform .22s ease;
}
.portfolio-mosaic.is-changing {
  opacity: .25;
  transform: translateY(8px);
}
.portfolio-tile {
  direction: rtl;
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  background: var(--surface-3);
  cursor: pointer;
  isolation: isolate;
  outline: none;
  box-shadow: 0 20px 45px rgba(10, 64, 58, .10);
}
.portfolio-tile--small-top { grid-column: 1; grid-row: 1; }
.portfolio-tile--small-bottom { grid-column: 1; grid-row: 2; }
.portfolio-tile--wide-top { grid-column: 2 / span 2; grid-row: 1; }
.portfolio-tile--wide-bottom { grid-column: 2 / span 2; grid-row: 2; }
.portfolio-tile--tall { grid-column: 4; grid-row: 1 / span 2; }
.portfolio-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
  transition: transform .55s ease, filter .55s ease;
}
.portfolio-tile::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(6, 47, 43, .08), rgba(6, 47, 43, .74)),
    linear-gradient(90deg, rgba(10, 64, 58, .36), rgba(12, 20, 54, .10));
  transition: opacity .3s ease;
}
.portfolio-tile:hover img,
.portfolio-tile:focus-visible img {
  transform: scale(1.09);
  filter: saturate(1.05) contrast(1.04);
}
.portfolio-tile:hover::before,
.portfolio-tile:focus-visible::before { opacity: .92; }
.portfolio-tile__overlay {
  position: absolute;
  inset: auto 20px 20px 20px;
  z-index: 2;
  color: #fff;
  text-shadow: 0 4px 18px rgba(0,0,0,.34);
}
.portfolio-tile__overlay span {
  display: inline-flex;
  margin-bottom: 8px;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(248, 215, 103, .92);
  color: #0a403a;
  font-size: 12px;
  font-weight: 900;
  text-shadow: none;
}
.portfolio-tile__overlay h3 {
  color: #fff;
  margin: 0 0 2px;
  font-size: 18px;
}
.portfolio-tile--wide-top .portfolio-tile__overlay h3,
.portfolio-tile--wide-bottom .portfolio-tile__overlay h3,
.portfolio-tile--tall .portfolio-tile__overlay h3 { font-size: 21px; }
.portfolio-tile__overlay small {
  color: rgba(255,255,255,.82);
  font-weight: 800;
}
.portfolio-tile i {
  position: absolute;
  right: 0;
  bottom: 0;
  z-index: 3;
  width: 68px;
  height: 64px;
  display: grid;
  place-items: center;
  background: var(--primary-2);
  color: #fff;
  font-style: normal;
  font-size: 24px;
  border-top-left-radius: 18px;
  transition: .25s ease;
}
.portfolio-tile:hover i,
.portfolio-tile:focus-visible i {
  background: var(--accent);
  color: #0a403a;
}
.portfolio-arrow {
  position: absolute;
  top: 50%;
  z-index: 5;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255,255,255,.4);
  border-radius: 16px;
  background: rgba(6, 47, 43, .72);
  color: #fff;
  cursor: pointer;
  transform: translateY(-50%);
  box-shadow: 0 14px 35px rgba(10,64,58,.16);
  font-size: 28px;
  line-height: 1;
  transition: .22s ease;
}
.portfolio-arrow:hover {
  background: var(--accent);
  color: #0a403a;
  transform: translateY(-50%) scale(1.04);
}
.portfolio-prev { right: -14px; }
.portfolio-next { left: -14px; }
.portfolio-bottom {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 18px;
  margin-top: 28px;
  flex-wrap: wrap;
}
.portfolio-dots {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 13px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: 0 10px 28px rgba(10, 64, 58, .07);
}
.portfolio-dots button {
  width: 8px;
  height: 8px;
  border: 0;
  padding: 0;
  border-radius: 999px;
  background: color-mix(in srgb, var(--primary-2) 20%, transparent);
  cursor: pointer;
  transition: .2s ease;
}
.portfolio-dots button.active {
  width: 28px;
  background: var(--accent);
}

.team-section {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 92px 0;
  background: #142a63 url('../img/team/team-bg.svg') center / cover no-repeat;
  color: #fff;
}
.team-overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(8, 20, 62, .88), rgba(19, 48, 120, .72)),
    radial-gradient(circle at 82% 24%, rgba(248, 215, 103, .18), transparent 28%);
}
.team-container {
  position: relative;
}
.team-head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 42px;
}
.eyebrow--light {
  color: #fff;
  background: rgba(255,255,255,.12);
  border-color: rgba(255,255,255,.18);
}
.team-head h2 {
  color: #fff;
  margin-top: 12px;
  margin-bottom: 8px;
}
.team-head p {
  margin: 0;
  color: rgba(255,255,255,.72);
}
.team-viewport {
  direction: ltr;
  width: min(1080px, calc(100% - 140px));
  margin: 0 auto;
  overflow: hidden;
  padding: 6px 0;
}
.team-track {
  display: flex;
  gap: 26px;
  transition: transform .6s cubic-bezier(.2, .7, .2, 1);
  will-change: transform;
}
.team-card {
  direction: rtl;
  flex: 0 0 calc((100% - 78px) / 4);
  min-width: 0;
  min-height: 238px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 26px 20px;
  border-radius: 24px;
  background: rgba(255,255,255,.18);
  border: 1px solid rgba(255,255,255,.38);
  box-shadow: 0 24px 56px rgba(0,0,0,.18);
  backdrop-filter: blur(8px);
  text-align: center;
}
.team-card img {
  width: 112px;
  height: 112px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 18px;
  border: 4px solid rgba(255,255,255,.24);
  box-shadow: 0 18px 40px rgba(0,0,0,.20);
}
.team-card strong {
  color: #fff;
  font-size: 18px;
  font-weight: 900;
}
.team-card span {
  color: rgba(255,255,255,.68);
  font-size: 14px;
  margin-top: 4px;
  font-weight: 800;
}
.team-arrow {
  position: absolute;
  top: 62%;
  z-index: 4;
  width: 54px;
  height: 54px;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 14px;
  color: #fff;
  background: rgba(255,255,255,.22);
  cursor: pointer;
  font-size: 30px;
  line-height: 1;
  backdrop-filter: blur(8px);
  transition: .22s ease;
}
.team-arrow:hover {
  background: var(--accent);
  color: #0a403a;
  transform: translateY(-2px);
}
.team-prev { right: 4px; }
.team-next { left: 4px; }

html[data-theme="dark"] .portfolio-showcase-section {
  background:
    radial-gradient(circle at 12% 12%, rgba(248, 215, 103, .12), transparent 30%),
    linear-gradient(180deg, var(--bg), var(--surface-2));
}
html[data-theme="dark"] .portfolio-dots { box-shadow: 0 16px 42px rgba(0,0,0,.22); }

@media (max-width: 1180px) {
  .portfolio-mosaic {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: repeat(3, 210px);
  }
  .portfolio-tile--small-top { grid-column: 1; grid-row: 1; }
  .portfolio-tile--wide-top { grid-column: 2; grid-row: 1; }
  .portfolio-tile--tall { grid-column: 1; grid-row: 2 / span 2; }
  .portfolio-tile--small-bottom { grid-column: 2; grid-row: 2; }
  .portfolio-tile--wide-bottom { grid-column: 2; grid-row: 3; }
  .team-card { flex-basis: calc((100% - 52px) / 3); }
}
@media (max-width: 980px) {
  .portfolio-title-block { grid-template-columns: 1fr; }
  .portfolio-title-block > span { display: none; }
  .team-viewport { width: min(760px, calc(100% - 110px)); }
  .team-card { flex-basis: calc((100% - 26px) / 2); }
}
@media (max-width: 720px) {
  .portfolio-mosaic {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(5, 220px);
    min-height: auto;
  }
  .portfolio-tile,
  .portfolio-tile--small-top,
  .portfolio-tile--wide-top,
  .portfolio-tile--tall,
  .portfolio-tile--small-bottom,
  .portfolio-tile--wide-bottom {
    grid-column: 1;
    grid-row: auto;
  }
  .portfolio-arrow {
    top: auto;
    bottom: -72px;
    transform: none;
  }
  .portfolio-arrow:hover { transform: scale(1.04); }
  .portfolio-prev { right: calc(50% - 58px); }
  .portfolio-next { left: calc(50% - 58px); }
  .portfolio-bottom { margin-top: 92px; }
  .team-section { padding: 72px 0; }
  .team-viewport { width: min(420px, calc(100% - 98px)); }
  .team-card { flex-basis: 100%; }
  .team-arrow { top: 64%; width: 46px; height: 46px; }
}

/* v7: construction hero + clean portfolio + intro video */
.btn-ghost-light {
  background: rgba(255,255,255,.08);
  color: #fff;
  border: 1px solid rgba(255,255,255,.22);
  backdrop-filter: blur(10px);
}
.btn-ghost-light:hover { background: rgba(255,255,255,.16); }

.hero--construction {
  min-height: calc(100vh - 84px);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 104px 0 118px;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(4, 25, 55, .86), rgba(7, 40, 78, .78) 40%, rgba(10, 64, 58, .84)),
    radial-gradient(circle at 18% 12%, rgba(248, 215, 103, .28), transparent 34%),
    linear-gradient(135deg, #081b3d, #0a403a);
}
.hero--construction::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(115deg, transparent 0 42%, rgba(255,255,255,.06) 42% 43%, transparent 43% 100%),
    url("../img/hero-pattern.svg") center/cover no-repeat;
  opacity: .20;
  pointer-events: none;
}
.hero--construction::after {
  content: "";
  position: absolute;
  left: -220px;
  bottom: -190px;
  width: 620px;
  height: 620px;
  border-radius: 50%;
  background: rgba(248, 215, 103, .16);
  filter: blur(6px);
  pointer-events: none;
}
.hero-bg-grid {
  position: absolute;
  inset: 0;
  opacity: .13;
  background-image:
    linear-gradient(rgba(255,255,255,.22) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.22) 1px, transparent 1px);
  background-size: 86px 86px;
  transform: perspective(700px) rotateX(58deg) translateY(-38%);
  transform-origin: top;
  pointer-events: none;
}
.construction-hero-grid {
  position: relative;
  z-index: 2;
  grid-template-columns: 1.08fr .92fr;
  min-height: 520px;
}
.hero--construction .hero-content {
  max-width: 780px;
}
.hero--construction h1 {
  color: #fff;
  text-shadow: 0 14px 42px rgba(0,0,0,.22);
}
.hero--construction .lead {
  color: rgba(255,255,255,.78);
}
.hero--construction .eyebrow--light {
  color: #fff;
  background: rgba(255,255,255,.12);
  border-color: rgba(255,255,255,.18);
}
.hero--construction .hero-trust {
  max-width: 680px;
}
.hero--construction .trust-card {
  background: rgba(255,255,255,.10);
  border-color: rgba(255,255,255,.18);
  box-shadow: 0 18px 50px rgba(0,0,0,.16);
  backdrop-filter: blur(12px);
}
.hero--construction .trust-card strong,
.hero--construction .trust-card span { color: #fff; }
.hero--construction .trust-card span { opacity: .68; }
.construction-visual {
  position: relative;
  min-height: 540px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.construction-visual::before {
  content: "";
  position: absolute;
  inset: 74px 38px 18px;
  border-radius: 44px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.16);
  box-shadow: 0 34px 90px rgba(0,0,0,.22);
  backdrop-filter: blur(8px);
}
.construction-visual::after {
  content: "";
  position: absolute;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  top: 38px;
  left: 28px;
  background: linear-gradient(135deg, rgba(248,215,103,.46), rgba(255,255,255,.05));
}
.construction-worker {
  position: relative;
  z-index: 2;
  width: min(430px, 92%);
  margin-inline: auto;
  filter: drop-shadow(0 34px 44px rgba(0,0,0,.32));
}
.construction-info-card {
  position: absolute;
  z-index: 4;
  width: min(260px, 48%);
  padding: 16px 18px;
  border-radius: 22px;
  background: rgba(255,255,255,.94);
  color: #102b29;
  box-shadow: 0 24px 64px rgba(0,0,0,.24);
  border: 1px solid rgba(255,255,255,.34);
}
.construction-info-card strong {
  display: block;
  color: #0a403a;
  font-size: 16px;
  margin-bottom: 5px;
}
.construction-info-card span {
  display: block;
  color: #607370;
  font-size: 13px;
  line-height: 1.7;
}
.construction-info-card--top { top: 84px; right: 0; }
.construction-info-card--bottom { left: 10px; bottom: 44px; }
.hero-wave {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  z-index: 3;
  height: 96px;
  pointer-events: none;
}
.hero-wave svg { width: 100%; height: 100%; display: block; }
.hero-wave path { fill: var(--bg); }

.portfolio-showcase-section {
  padding-top: 86px;
}
.portfolio-title-block {
  margin-bottom: 36px;
}
.portfolio-title-block p { display: none !important; }
.portfolio-tile::before {
  background:
    linear-gradient(180deg, rgba(6, 47, 43, .05), rgba(6, 47, 43, .30)),
    linear-gradient(90deg, rgba(10, 64, 58, .18), rgba(12, 20, 54, .05));
}
.portfolio-tile:hover::before,
.portfolio-tile:focus-visible::before { opacity: .55; }
.portfolio-tile img { filter: saturate(1.06) contrast(1.03); }
.portfolio-tile__overlay { display: none !important; }

.intro-video-section {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 92px 0;
  background:
    linear-gradient(100deg, rgba(4, 24, 54, .94), rgba(9, 42, 86, .88) 52%, rgba(10, 64, 58, .92)),
    radial-gradient(circle at 16% 16%, rgba(248, 215, 103, .30), transparent 28%);
  color: #fff;
}
.intro-video-section::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: url("../img/hero-pattern.svg") center/cover no-repeat;
  opacity: .16;
}
.intro-video-section::after {
  content: "";
  position: absolute;
  left: -10%;
  bottom: -34%;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: rgba(248,215,103,.18);
  filter: blur(8px);
}
.intro-video-box {
  display: grid;
  grid-template-columns: .86fr 1.14fr;
  gap: 46px;
  align-items: center;
  position: relative;
  z-index: 2;
}
.intro-video-copy h2 {
  color: #fff;
  font-size: clamp(28px, 3.3vw, 46px);
  margin-top: 16px;
}
.intro-video-copy p {
  color: rgba(255,255,255,.74);
  font-size: 17px;
  max-width: 560px;
}
.intro-video-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}
.intro-video-player {
  position: relative;
  overflow: hidden;
  border-radius: 34px;
  padding: 10px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.20);
  box-shadow: 0 34px 90px rgba(0,0,0,.30);
  backdrop-filter: blur(10px);
}
.intro-video-player video {
  width: 100%;
  aspect-ratio: 16 / 9;
  display: block;
  object-fit: cover;
  border-radius: 26px;
  background: #071d1b;
}
.video-play-badge {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 84px;
  height: 84px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(248,215,103,.94);
  color: #0a403a;
  font-size: 32px;
  box-shadow: 0 20px 60px rgba(0,0,0,.22);
  pointer-events: none;
}

html[data-theme="dark"] .hero-wave path { fill: var(--bg); }
html[data-theme="dark"] .intro-video-section { background: linear-gradient(100deg, #051515, #072a27 58%, #081b3d); }

@media (max-width: 1040px) {
  .hero--construction { min-height: auto; padding: 76px 0 110px; }
  .construction-hero-grid,
  .intro-video-box { grid-template-columns: 1fr; }
  .construction-visual { min-height: 440px; }
  .construction-worker { width: min(350px, 84%); }
  .construction-info-card--top { right: 16px; }
  .construction-info-card--bottom { left: 16px; }
}
@media (max-width: 720px) {
  .hero--construction { padding: 56px 0 92px; }
  .hero--construction .hero-trust { grid-template-columns: 1fr; }
  .construction-visual { min-height: 380px; }
  .construction-visual::before { inset: 58px 0 18px; border-radius: 32px; }
  .construction-visual::after { width: 240px; height: 240px; }
  .construction-info-card { position: relative; width: 100%; inset: auto; margin-top: 12px; }
  .construction-info-card--top,
  .construction-info-card--bottom { right: auto; left: auto; top: auto; bottom: auto; }
  .construction-visual { display: grid; gap: 10px; align-items: center; }
  .construction-worker { width: min(280px, 92%); }
  .intro-video-section { padding: 66px 0; }
  .intro-video-player { border-radius: 24px; padding: 7px; }
  .intro-video-player video { border-radius: 18px; }
  .video-play-badge { width: 64px; height: 64px; font-size: 24px; }
}


/* v8: mobile & responsive polish */
html { -webkit-text-size-adjust: 100%; }
body { min-width: 320px; }

/* Better focus/tap states for phones */
a, button, .portfolio-tile, .project-card, .featured-work-card { -webkit-tap-highlight-color: transparent; }
button:focus-visible, a:focus-visible, .portfolio-tile:focus-visible, .project-card:focus-visible {
  outline: 3px solid rgba(248, 215, 103, .55);
  outline-offset: 3px;
}

/* Prevent long Persian titles from breaking the mobile layout */
h1, h2, h3, .brand-text strong, .portfolio-title-block h2, .intro-video-copy h2, .team-head h2 {
  overflow-wrap: anywhere;
}

@media (max-width: 1180px) {
  :root { --container: 1040px; }
  .navbar { min-height: 78px; }
  .nav-menu a { padding-inline: 11px; }
  .hero--construction { min-height: auto; }
  .construction-hero-grid { gap: 36px; }
}

@media (max-width: 1040px) {
  .header { backdrop-filter: blur(20px); }
  .navbar { min-height: 76px; }
  .nav-menu {
    top: 84px;
    max-height: calc(100vh - 108px);
    overflow: auto;
    z-index: 120;
  }
  .nav-menu a {
    justify-content: center;
    min-height: 48px;
    font-size: 15px;
  }
  .hero--construction .hero-content {
    text-align: center;
    margin-inline: auto;
  }
  .hero--construction .lead,
  .intro-video-copy p,
  .team-head p {
    margin-inline: auto;
  }
  .hero-actions,
  .intro-video-actions {
    justify-content: center;
  }
  .hero-trust {
    margin-inline: auto;
  }
  .construction-visual {
    order: 2;
    width: min(760px, 100%);
    margin-inline: auto;
  }
  .portfolio-showcase-section { padding-top: 72px; }
  .intro-video-copy { text-align: center; }
  .contact-grid { gap: 22px; }
}

@media (max-width: 860px) {
  .service-grid,
  .projects-grid,
  .testimonial-grid,
  .feature-grid,
  .process,
  .stats-grid,
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .section-head {
    gap: 16px;
  }
  .section-head .btn { justify-self: start; }
  .page-hero { padding: 52px 0 42px; }
  .page-hero .lead { max-width: 100%; }
}

@media (max-width: 720px) {
  .container { width: min(100% - 24px, var(--container)); }
  .header-actions { gap: 8px; }
  .theme-toggle,
  .mobile-toggle {
    width: 44px;
    height: 44px;
    border-radius: 14px;
  }
  .mobile-toggle span,
  .mobile-toggle span::before,
  .mobile-toggle span::after { right: 12px; }
  .brand { gap: 10px; min-width: 0; }
  .brand-mark { width: 46px; height: 46px; border-radius: 15px; }
  .brand-text strong { font-size: 15px; }
  .brand-text small { font-size: 10.5px; }
  .nav-menu {
    top: 72px;
    right: 12px;
    left: 12px;
    border-radius: 22px;
    padding: 14px;
  }
  .section { padding: 58px 0; }
  h1 { font-size: clamp(30px, 9vw, 40px); line-height: 1.5; letter-spacing: -.5px; }
  h2 { font-size: clamp(24px, 7vw, 34px); }
  .lead { font-size: 15.5px; line-height: 2; }
  .btn { width: 100%; min-height: 48px; padding-inline: 18px; }
  .section-head .btn,
  .portfolio-bottom .btn,
  .cta-box .btn { width: 100%; }
  .hero-actions { display: grid; grid-template-columns: 1fr; width: 100%; gap: 10px; }

  .hero--construction {
    padding: 48px 0 82px;
    background:
      linear-gradient(180deg, rgba(4, 25, 55, .92), rgba(10, 64, 58, .92)),
      radial-gradient(circle at 16% 12%, rgba(248, 215, 103, .24), transparent 34%);
  }
  .hero-bg-grid { opacity: .08; background-size: 58px 58px; }
  .construction-hero-grid { min-height: auto; gap: 28px; }
  .construction-visual {
    min-height: auto;
    padding: 18px 0 0;
  }
  .construction-visual::before {
    inset: 50px 0 70px;
    border-radius: 28px;
  }
  .construction-worker { width: min(250px, 84%); }
  .construction-info-card {
    width: 100%;
    max-width: 360px;
    margin-inline: auto;
    text-align: center;
  }
  .hero-wave { height: 66px; }

  .portfolio-title-block {
    margin-bottom: 24px;
    text-align: center;
  }
  .portfolio-title-block strong { font-size: 13px; }
  .portfolio-mosaic {
    display: flex;
    gap: 12px;
    grid-template-columns: none;
    grid-template-rows: none;
    overflow: hidden;
    min-height: 250px;
  }
  .portfolio-tile,
  .portfolio-tile--small-top,
  .portfolio-tile--wide-top,
  .portfolio-tile--tall,
  .portfolio-tile--small-bottom,
  .portfolio-tile--wide-bottom {
    flex: 0 0 100%;
    height: 250px;
    min-height: 250px;
    grid-column: auto;
    grid-row: auto;
    border-radius: 24px;
  }
  .portfolio-arrow {
    width: 44px;
    height: 44px;
    border-radius: 15px;
  }
  .portfolio-bottom {
    display: grid;
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 14px;
    margin-top: 80px;
  }

  .intro-video-section { padding: 58px 0; }
  .intro-video-box { gap: 28px; }
  .intro-video-copy h2 { font-size: clamp(24px, 7vw, 34px); }
  .intro-video-actions { display: grid; grid-template-columns: 1fr; }
  .intro-video-player { border-radius: 22px; }

  .service-grid,
  .projects-grid,
  .testimonial-grid,
  .feature-grid,
  .process,
  .stats-grid,
  .footer-grid,
  .form-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .service-card, .project-card, .testimonial-card, .process-card, .form-card, .info-card {
    border-radius: 22px;
  }
  .service-card__head { align-items: center; }
  .service-card h3 { font-size: 19px; }
  .card { padding: 20px; }
  .about-box { gap: 22px; }
  .check-list { grid-template-columns: 1fr; }
  .team-section { padding: 60px 0; }
  .team-head { margin-bottom: 28px; }
  .team-viewport { width: calc(100% - 78px); }
  .team-card { min-height: 214px; padding: 22px 16px; border-radius: 22px; }
  .team-card img { width: 96px; height: 96px; }
  .team-arrow { width: 42px; height: 42px; border-radius: 13px; font-size: 25px; top: 62%; }
  .team-prev { right: 0; }
  .team-next { left: 0; }
  .cta-box { padding: 26px; text-align: center; }
  .footer { padding-top: 48px; }
  .footer-grid { gap: 22px; }
  .footer-bottom { text-align: center; align-items: center; }
  .toast { right: 12px; left: 12px; bottom: 14px; text-align: center; }
  .to-top { left: 14px; bottom: 14px; width: 42px; height: 42px; border-radius: 14px; }

  .modal-backdrop { padding: 10px; align-items: flex-end; }
  .project-modal {
    width: 100%;
    max-height: 92vh;
    border-radius: 24px 24px 0 0;
  }
  .modal-content { grid-template-columns: 1fr; }
  .modal-main-img { height: 235px; }
  .modal-thumbs { padding-bottom: 4px; }
  .modal-thumbs img { width: 72px; height: 54px; }
  .modal-body { padding: 22px; }
  .modal-close { width: 42px; height: 42px; }
}

@media (max-width: 520px) {
  .container { width: min(100% - 20px, var(--container)); }
  .navbar { min-height: 68px; gap: 8px; }
  .brand-mark { width: 42px; height: 42px; border-radius: 14px; }
  .brand-mark svg { width: 25px; height: 25px; }
  .brand-text small { display: none; }
  .theme-toggle,
  .mobile-toggle { width: 40px; height: 40px; }
  .theme-toggle svg { width: 20px; height: 20px; }
  .mobile-toggle span,
  .mobile-toggle span::before,
  .mobile-toggle span::after { right: 10px; width: 18px; }
  .nav-menu { top: 66px; }
  .eyebrow { font-size: 12px; padding: 6px 12px; }
  h1 { font-size: 29px; }
  h2 { font-size: 25px; }
  .hero--construction { padding-top: 38px; }
  .construction-worker { width: min(220px, 82%); }
  .construction-info-card { padding: 14px 15px; border-radius: 18px; }
  .trust-card { padding: 16px; }
  .portfolio-mosaic { min-height: 220px; }
  .portfolio-tile { height: 220px; min-height: 220px; }
  .portfolio-dots { padding: 9px 11px; }
  .intro-video-player video { aspect-ratio: 4 / 3; }
  .video-play-badge { width: 58px; height: 58px; font-size: 22px; }
  .team-viewport { width: calc(100% - 62px); }
  .team-card { min-height: 198px; }
  .team-arrow { width: 36px; height: 36px; font-size: 22px; }
  .form-card { padding: 20px; }
  .form-field input, .form-field textarea, .form-field select { border-radius: 13px; }
  .stats-band { padding: 22px; border-radius: 24px; }
  .modal-main-img { height: 210px; }
}

@media (max-width: 390px) {
  .brand-text strong { font-size: 14px; }
  .header-actions { gap: 6px; }
  .theme-toggle,
  .mobile-toggle { width: 38px; height: 38px; border-radius: 12px; }
  h1 { font-size: 27px; }
  .portfolio-title-block h2 { font-size: 24px; }
  .portfolio-tile { height: 200px; min-height: 200px; }
  .team-card strong { font-size: 16px; }
}


/* V9 - user reviews with public submit form */
.reviews-section {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 8% 10%, rgba(248, 215, 103, .22), transparent 26%),
    radial-gradient(circle at 92% 78%, rgba(10, 64, 58, .12), transparent 30%),
    linear-gradient(180deg, var(--surface-2), var(--bg));
}
.reviews-section::before {
  content: "";
  position: absolute;
  inset: 40px auto auto -120px;
  width: 330px;
  height: 330px;
  border-radius: 50%;
  background: rgba(248, 215, 103, .16);
  pointer-events: none;
}
.reviews-shell {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: .86fr 1.14fr;
  gap: 26px;
  align-items: stretch;
}
.reviews-copy,
.reviews-slider-card,
.review-form {
  border: 1px solid var(--line);
  background: color-mix(in srgb, var(--surface) 86%, transparent);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(16px);
  border-radius: 34px;
}
.reviews-copy {
  padding: 34px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.reviews-score-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px;
  border-radius: 24px;
  background: linear-gradient(135deg, var(--primary-2), var(--primary-3));
  color: #fff;
  margin-top: 18px;
}
.reviews-score-card strong {
  width: 74px;
  height: 74px;
  border-radius: 22px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #102b29;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  line-height: 1;
  flex: 0 0 auto;
}
.reviews-score-card span { color: rgba(255,255,255,.72); font-size: 13px; }
.review-stars { color: var(--accent-2); letter-spacing: 2px; line-height: 1.4; direction: ltr; }
.review-stars--big { color: var(--accent); font-size: 20px; }
.reviews-slider-card {
  padding: 22px;
  min-width: 0;
  overflow: hidden;
}
.reviews-slider-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}
.reviews-slider-top strong { color: var(--primary-2); font-size: 20px; }
.reviews-nav { display: flex; align-items: center; gap: 8px; }
.review-nav-btn {
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 16px;
  color: var(--primary-2);
  background: var(--surface-2);
  cursor: pointer;
  font-size: 27px;
  line-height: 1;
  transition: .2s ease;
}
.review-nav-btn:hover { transform: translateY(-2px); background: var(--accent); color: #102b29; }
.reviews-viewport { overflow: hidden; padding: 2px; }
.reviews-track {
  display: flex;
  gap: 16px;
  transition: transform .45s cubic-bezier(.22, .8, .22, 1);
  will-change: transform;
  direction: ltr;
}
.user-review-card {
  flex: 0 0 calc((100% - 16px) / 2);
  direction: rtl;
  min-height: 260px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background:
    linear-gradient(145deg, color-mix(in srgb, var(--surface) 90%, transparent), color-mix(in srgb, var(--surface-2) 86%, transparent));
  box-shadow: 0 16px 42px rgba(10,64,58,.07);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.user-review-top { display: flex; align-items: center; gap: 13px; margin-bottom: 12px; }
.user-review-avatar {
  width: 58px;
  height: 58px;
  border-radius: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  color: #0a403a;
  background: linear-gradient(145deg, var(--accent), #fff0a5);
  flex: 0 0 auto;
}
.user-review-top strong { display: block; color: var(--primary-2); font-size: 16px; }
.user-review-top span { display: block; color: var(--muted); font-size: 12px; }
.user-review-card p { color: var(--text); margin: 10px 0 16px; font-size: 14px; }
.user-review-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}
.user-review-footer small { color: var(--muted); }
.review-dots { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 16px; }
.review-dots button {
  width: 9px;
  height: 9px;
  border: 0;
  border-radius: 999px;
  padding: 0;
  background: color-mix(in srgb, var(--primary-2) 18%, transparent);
  cursor: pointer;
  transition: .22s ease;
}
.review-dots button.active { width: 34px; background: var(--accent-2); }
.review-form {
  grid-column: 1 / -1;
  padding: 24px;
}
.review-form-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}
.review-form-title span { color: var(--primary-2); font-size: 22px; font-weight: 900; }
.review-form-title strong {
  background: rgba(248, 215, 103, .23);
  color: var(--primary-2);
  border: 1px solid rgba(248, 215, 103, .32);
  padding: 7px 12px;
  border-radius: 999px;
  font-size: 12px;
}
.review-form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.rating-field {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 14px 0;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface-2);
}
.rating-field > span { font-weight: 900; color: var(--primary-2); }
.rating-stars { display: flex; flex-direction: row-reverse; gap: 4px; direction: ltr; }
.rating-stars button {
  border: 0;
  background: transparent;
  color: color-mix(in srgb, var(--primary-2) 18%, transparent);
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  padding: 0 2px;
  transition: .16s ease;
}
.rating-stars button.active,
.rating-stars button:hover,
.rating-stars button:hover ~ button { color: var(--accent-2); transform: translateY(-1px); }
.review-form .btn { margin-top: 12px; }
.review-note { margin: 10px 0 0; font-size: 12px; color: var(--muted); }

/* V9 - premium slide drawer menu */
.drawer-backdrop {
  position: fixed;
  inset: 0;
  z-index: 95;
  background: rgba(2, 20, 18, .54);
  backdrop-filter: blur(8px);
  opacity: 0;
  visibility: hidden;
  transition: .25s ease;
}
.drawer-backdrop.open { opacity: 1; visibility: visible; }
.nav-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 100;
  width: min(420px, calc(100% - 24px));
  padding: 18px;
  background:
    radial-gradient(circle at 10% 8%, rgba(248, 215, 103, .24), transparent 30%),
    linear-gradient(180deg, var(--surface), var(--surface-2));
  border-left: 1px solid var(--line);
  box-shadow: -28px 0 80px rgba(0,0,0,.22);
  transform: translateX(105%);
  transition: transform .34s cubic-bezier(.22,.8,.22,1);
  overflow-y: auto;
}
.nav-drawer.open { transform: translateX(0); }
.drawer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 18px;
}
.drawer-close {
  width: 44px;
  height: 44px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: var(--surface-2);
  color: var(--primary-2);
  font-size: 28px;
  cursor: pointer;
  line-height: 1;
}
.drawer-hero {
  padding: 20px;
  border-radius: 28px;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(6,47,43,.96), rgba(10,64,58,.92)),
    radial-gradient(circle at 14% 20%, rgba(248,215,103,.44), transparent 34%);
  margin-bottom: 16px;
  position: relative;
  overflow: hidden;
}
.drawer-hero::after {
  content: "";
  position: absolute;
  left: -46px;
  top: -46px;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: rgba(248, 215, 103, .18);
}
.drawer-hero strong { position: relative; z-index: 1; display: block; font-size: 22px; margin-bottom: 8px; }
.drawer-hero p { position: relative; z-index: 1; color: rgba(255,255,255,.76); margin: 0 0 16px; font-size: 13px; }
.drawer-quick { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; position: relative; z-index: 1; }
.drawer-quick a,
.drawer-quick button {
  min-height: 42px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 15px;
  background: rgba(255,255,255,.10);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  font-weight: 900;
}
.drawer-links { display: grid; gap: 10px; margin: 16px 0; }
.drawer-link {
  display: grid;
  grid-template-columns: 48px 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border: 1px solid var(--line);
  background: color-mix(in srgb, var(--surface) 82%, transparent);
  border-radius: 20px;
  box-shadow: 0 12px 28px rgba(10, 64, 58, .05);
  transition: .2s ease;
}
.drawer-link:hover { transform: translateX(-3px); border-color: rgba(248, 215, 103, .55); }
.drawer-link i {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #0a403a;
  background: linear-gradient(135deg, var(--accent), #fff0a5);
  font-style: normal;
  font-weight: 900;
}
.drawer-link strong { color: var(--primary-2); display: block; line-height: 1.4; }
.drawer-link span { color: var(--muted); font-size: 12px; }
.drawer-link em { font-style: normal; color: var(--muted); font-size: 18px; }
.drawer-contact-card {
  padding: 16px;
  border-radius: 22px;
  border: 1px solid var(--line);
  background: var(--surface);
}
.drawer-contact-card strong { color: var(--primary-2); display: block; margin-bottom: 8px; }
.drawer-contact-card p { margin: 0; font-size: 13px; }

@media (max-width: 1040px) {
  .nav-menu { display: none; }
}
@media (max-width: 900px) {
  .reviews-shell { grid-template-columns: 1fr; }
  .reviews-copy { padding: 28px; }
  .user-review-card { flex-basis: 100%; }
}
@media (max-width: 620px) {
  .reviews-copy,
  .reviews-slider-card,
  .review-form { border-radius: 24px; padding: 20px; }
  .reviews-score-card { align-items: flex-start; flex-direction: column; }
  .review-form-grid { grid-template-columns: 1fr; }
  .rating-field { align-items: flex-start; flex-direction: column; gap: 8px; }
  .review-form-title { align-items: flex-start; flex-direction: column; }
  .user-review-card { min-height: 238px; border-radius: 22px; }
  .drawer-quick { grid-template-columns: 1fr; }
  .drawer-link { grid-template-columns: 42px 1fr auto; }
  .drawer-link i { width: 42px; height: 42px; border-radius: 14px; }
}
.review-stars span { color: color-mix(in srgb, var(--primary-2) 18%, transparent); }
.review-stars span.filled { color: var(--accent-2); }
.review-stars--big span.filled { color: var(--accent); }

/* V10 - polished user reviews and glass review panel */
.reviews-section .lead {
  max-width: 520px;
}
.reviews-shell {
  align-items: start;
}
.reviews-copy,
.reviews-slider-card {
  overflow: visible;
}
.reviews-slider-card {
  position: relative;
  padding: 26px;
  border-radius: 32px;
}
.reviews-viewport {
  padding: 8px;
  margin: -8px;
}
.user-review-card {
  position: relative;
  overflow: hidden;
  min-height: 230px;
  padding: 24px;
  border-radius: 30px;
  background:
    radial-gradient(circle at 92% 10%, rgba(248, 215, 103, .28), transparent 20%),
    linear-gradient(145deg, color-mix(in srgb, var(--surface) 94%, transparent), color-mix(in srgb, var(--surface-2) 86%, transparent));
}
.user-review-card::before {
  content: "“";
  position: absolute;
  left: 18px;
  top: -18px;
  color: color-mix(in srgb, var(--primary-2) 8%, transparent);
  font-size: 118px;
  line-height: 1;
  font-family: serif;
  pointer-events: none;
}
.user-review-top {
  position: relative;
  z-index: 1;
  align-items: center;
}
.user-review-avatar {
  width: 54px;
  height: 54px;
  border-radius: 18px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.48), 0 10px 24px rgba(248, 190, 54, .20);
}
.user-review-card p {
  position: relative;
  z-index: 1;
  line-height: 2;
  color: color-mix(in srgb, var(--text) 88%, var(--muted));
}
.user-review-footer {
  position: relative;
  z-index: 1;
}
.reviews-action-card {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 22px 24px;
  border: 1px solid var(--line);
  border-radius: 30px;
  background:
    radial-gradient(circle at 8% 20%, rgba(248, 215, 103, .25), transparent 26%),
    color-mix(in srgb, var(--surface) 88%, transparent);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(16px);
}
.reviews-action-card strong {
  display: block;
  color: var(--primary-2);
  font-size: 20px;
  margin-bottom: 5px;
}
.reviews-action-card span {
  display: block;
  color: var(--muted);
  font-size: 14px;
}
.review-fab {
  position: fixed;
  left: 78px;
  bottom: 20px;
  z-index: 82;
  min-width: 112px;
  height: 46px;
  padding: 0 14px;
  border: 0;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--primary-2), var(--primary-3));
  color: #fff;
  box-shadow: 0 18px 42px rgba(6, 47, 43, .22);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  font-weight: 900;
  transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
}
.review-fab b {
  width: 24px;
  height: 24px;
  border-radius: 9px;
  background: var(--accent);
  color: #102b29;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  line-height: 1;
}
.review-fab:hover {
  transform: translateY(-3px);
  box-shadow: 0 24px 58px rgba(6, 47, 43, .30);
  filter: saturate(1.06);
}
.review-panel-backdrop {
  position: fixed;
  inset: 0;
  z-index: 155;
  background: rgba(2, 20, 18, .50);
  backdrop-filter: blur(10px);
  opacity: 0;
  visibility: hidden;
  transition: .24s ease;
}
.review-panel-backdrop.open {
  opacity: 1;
  visibility: visible;
}
.review-panel {
  position: fixed;
  left: 50%;
  bottom: 22px;
  z-index: 160;
  width: min(760px, calc(100% - 28px));
  max-height: calc(100vh - 44px);
  overflow: auto;
  transform: translate(-50%, 115%) scale(.96);
  opacity: 0;
  visibility: hidden;
  padding: 26px;
  border-radius: 34px;
  border: 1px solid color-mix(in srgb, var(--line) 82%, rgba(255,255,255,.28));
  background:
    radial-gradient(circle at 14% 8%, rgba(248, 215, 103, .30), transparent 26%),
    radial-gradient(circle at 92% 84%, rgba(10, 64, 58, .13), transparent 32%),
    color-mix(in srgb, var(--surface) 88%, transparent);
  box-shadow: 0 38px 100px rgba(0, 0, 0, .26);
  backdrop-filter: blur(24px);
  transition: transform .34s cubic-bezier(.22,.8,.22,1), opacity .22s ease, visibility .22s ease;
}
.review-panel.open {
  transform: translate(-50%, 0) scale(1);
  opacity: 1;
  visibility: visible;
}
.review-panel-close {
  position: absolute;
  top: 18px;
  left: 18px;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: color-mix(in srgb, var(--surface) 72%, transparent);
  color: var(--primary-2);
  cursor: pointer;
  font-size: 26px;
  line-height: 1;
}
.review-panel-head {
  padding-left: 56px;
  margin-bottom: 20px;
}
.review-panel-head h3 {
  margin: 8px 0;
  color: var(--primary-2);
  font-size: clamp(24px, 3vw, 34px);
}
.review-panel-head p {
  color: var(--muted);
  margin: 0;
}
.review-form--panel {
  display: block;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}
.review-form--panel .review-form-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.review-submit-btn {
  min-width: 160px;
}
body.review-panel-open {
  overflow: hidden;
}

@media (max-width: 900px) {
  .reviews-action-card {
    align-items: flex-start;
    flex-direction: column;
  }
  .reviews-action-card .btn {
    width: 100%;
  }
}
@media (max-width: 620px) {
  .review-fab {
    left: 14px;
    bottom: 64px;
    min-width: 96px;
    height: 42px;
    border-radius: 14px;
    font-size: 13px;
  }
  .review-fab b {
    width: 22px;
    height: 22px;
    border-radius: 8px;
  }
  .review-panel {
    bottom: 10px;
    width: calc(100% - 20px);
    padding: 20px;
    border-radius: 28px;
  }
  .review-panel-head {
    padding-left: 48px;
  }
  .review-form--panel .review-form-grid {
    grid-template-columns: 1fr;
  }
  .review-panel-close {
    top: 14px;
    left: 14px;
  }
}
.form-field > span {
  color: var(--primary-2);
  font-weight: 900;
  font-size: 14px;
}


/* V11 - real review avatars, premium RTL drawer and PWA install panel */
.user-review-avatar {
  flex: 0 0 54px;
  width: 54px;
  height: 54px;
  border-radius: 18px;
  padding: 13px;
  color: var(--primary-2);
  background:
    radial-gradient(circle at 72% 24%, rgba(255, 255, 255, .74), transparent 38%),
    linear-gradient(135deg, #ffe98a, #f3bf31);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.62), 0 14px 32px rgba(248, 190, 54, .24);
}
.user-review-avatar svg {
  width: 100%;
  height: 100%;
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.1;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.user-review-top { display: flex; flex-direction: row; }
.user-review-top > div { min-width: 0; }
.user-review-card .review-stars { margin-top: 12px; }

.nav-drawer {
  width: min(460px, calc(100% - 18px));
  padding: 20px;
  border-left: 1px solid color-mix(in srgb, var(--line) 65%, rgba(255,255,255,.32));
  background:
    radial-gradient(circle at 18% 8%, rgba(248,215,103,.32), transparent 30%),
    radial-gradient(circle at 82% 34%, rgba(10,64,58,.12), transparent 38%),
    color-mix(in srgb, var(--surface) 92%, transparent);
  backdrop-filter: blur(26px);
  box-shadow: -34px 0 110px rgba(2,20,18,.28);
}
.drawer-glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(255,255,255,.22), transparent 34%);
  opacity: .42;
}
.drawer-top,
.drawer-hero,
.drawer-toolbar,
.drawer-links,
.drawer-contact-card { position: relative; z-index: 1; }
.drawer-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 26px rgba(6, 47, 43, .08);
}
.drawer-hero {
  padding: 22px;
  border-radius: 30px;
  background:
    linear-gradient(135deg, rgba(4, 48, 43, .96), rgba(11, 73, 66, .90)),
    radial-gradient(circle at 18% 22%, rgba(248,215,103,.62), transparent 34%);
  box-shadow: 0 22px 60px rgba(6,47,43,.22);
}
.drawer-mini-badge {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(248,215,103,.16);
  border: 1px solid rgba(248,215,103,.24);
  color: #ffe98a;
  font-size: 12px;
  font-weight: 900;
  margin-bottom: 12px;
}
.drawer-quick--triple { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.drawer-quick a,
.drawer-quick button {
  flex-direction: column;
  min-height: 78px;
  padding: 10px 8px;
  border-radius: 20px;
  background: rgba(255,255,255,.105);
  backdrop-filter: blur(14px);
  text-align: center;
  font-size: 12px;
}
.drawer-quick .drawer-icon {
  width: 34px;
  height: 34px;
  border-radius: 13px;
  background: rgba(248,215,103,.18);
  color: var(--accent);
}
.drawer-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin: 14px 0 16px;
  padding: 12px 14px;
  border-radius: 20px;
  border: 1px solid var(--line);
  background: color-mix(in srgb, var(--surface) 74%, transparent);
  box-shadow: 0 12px 32px rgba(6, 47, 43, .06);
}
.drawer-toolbar span { color: var(--primary-2); font-weight: 900; }
.drawer-theme-toggle { flex: 0 0 auto; }
.drawer-links { gap: 11px; }
.drawer-link {
  grid-template-columns: 54px 1fr 30px;
  padding: 11px 12px;
  border-radius: 22px;
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--surface) 86%, transparent), color-mix(in srgb, var(--surface-2) 72%, transparent));
  backdrop-filter: blur(16px);
  box-shadow: 0 14px 35px rgba(10,64,58,.055);
}
.drawer-link:hover { transform: translateX(-5px); }
.drawer-icon,
.drawer-link i {
  width: 50px;
  height: 50px;
  border-radius: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #083d37;
  background:
    radial-gradient(circle at 70% 20%, rgba(255,255,255,.72), transparent 34%),
    linear-gradient(135deg, var(--accent), #ffe992);
  box-shadow: 0 12px 26px rgba(248,190,54,.18);
}
.drawer-icon svg,
.drawer-link i svg,
.drawer-link em svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.drawer-link em {
  width: 30px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  transform: rotate(180deg);
}
.drawer-contact-card {
  display: grid;
  grid-template-columns: 48px 1fr;
  align-items: center;
  gap: 12px;
  border-radius: 24px;
  background:
    radial-gradient(circle at 10% 20%, rgba(248,215,103,.16), transparent 32%),
    color-mix(in srgb, var(--surface) 84%, transparent);
}
.drawer-contact-icon {
  width: 48px;
  height: 48px;
  border-radius: 17px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: linear-gradient(135deg, var(--primary-2), var(--primary-3));
}
.drawer-contact-icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.install-app-btn.ready { border-color: rgba(248,215,103,.46); }

.install-panel-backdrop {
  position: fixed;
  inset: 0;
  z-index: 170;
  background: rgba(2, 20, 18, .48);
  backdrop-filter: blur(10px);
  opacity: 0;
  visibility: hidden;
  transition: .24s ease;
}
.install-panel-backdrop.open { opacity: 1; visibility: visible; }
.install-panel {
  position: fixed;
  left: 50%;
  bottom: 22px;
  z-index: 175;
  width: min(520px, calc(100% - 26px));
  transform: translate(-50%, 115%) scale(.96);
  opacity: 0;
  visibility: hidden;
  padding: 26px;
  border: 1px solid color-mix(in srgb, var(--line) 72%, rgba(255,255,255,.28));
  border-radius: 32px;
  background:
    radial-gradient(circle at 12% 10%, rgba(248,215,103,.32), transparent 30%),
    color-mix(in srgb, var(--surface) 90%, transparent);
  box-shadow: 0 34px 92px rgba(0,0,0,.25);
  backdrop-filter: blur(24px);
  transition: transform .34s cubic-bezier(.22,.8,.22,1), opacity .22s ease, visibility .22s ease;
}
.install-panel.open { transform: translate(-50%, 0) scale(1); opacity: 1; visibility: visible; }
.install-panel-close {
  position: absolute;
  left: 16px;
  top: 16px;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: color-mix(in srgb, var(--surface) 76%, transparent);
  color: var(--primary-2);
  cursor: pointer;
  font-size: 26px;
  line-height: 1;
}
.install-panel-icon {
  width: 66px;
  height: 66px;
  border-radius: 24px;
  margin-bottom: 16px;
  color: #083d37;
  background: linear-gradient(135deg, var(--accent), #ffe992);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 18px 38px rgba(248,190,54,.25);
}
.install-panel-icon svg { width: 30px; height: 30px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.install-panel h3 { color: var(--primary-2); margin: 8px 0 10px; font-size: clamp(24px, 4vw, 34px); }
.install-panel-text { color: var(--muted); line-height: 2; }
.install-steps { display: grid; gap: 10px; margin: 18px 0; }
.install-steps div { display: grid; grid-template-columns: 34px 1fr; align-items: center; gap: 10px; padding: 12px; border: 1px solid var(--line); border-radius: 18px; background: color-mix(in srgb, var(--surface-2) 82%, transparent); }
.install-steps b { width: 34px; height: 34px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; color: #083d37; background: var(--accent); }

@media (max-width: 620px) {
  .drawer-quick--triple { grid-template-columns: 1fr 1fr; }
  .drawer-quick--triple .install-app-btn { grid-column: 1 / -1; }
  .drawer-link { grid-template-columns: 48px 1fr 26px; border-radius: 20px; }
  .drawer-icon, .drawer-link i { width: 46px; height: 46px; border-radius: 16px; }
  .user-review-avatar { width: 50px; height: 50px; flex-basis: 50px; border-radius: 17px; }
  .install-panel { bottom: 10px; padding: 22px; border-radius: 28px; }
}

/* V13 - restored v11 behavior + modern professional RTL slide menu */
@media (max-width: 1040px) {
  .nav-menu { display: none !important; }
}
@media (min-width: 1041px) {
  .header-actions .mobile-toggle { display: inline-flex; }
}

.floating-menu-fab {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 84;
  min-width: 94px;
  height: 46px;
  padding: 0 14px;
  border: 1px solid color-mix(in srgb, var(--line) 74%, rgba(255,255,255,.36));
  border-radius: 15px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--primary-2);
  background: color-mix(in srgb, var(--surface) 88%, transparent);
  box-shadow: 0 18px 42px rgba(6,47,43,.14);
  backdrop-filter: blur(18px);
  font-weight: 1000;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease, background .22s ease;
}
.floating-menu-fab::before {
  content: "";
  position: absolute;
  inset: 5px auto 5px 5px;
  width: 3px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--accent), var(--primary-3));
  opacity: .9;
}
.floating-menu-fab span {
  width: 25px;
  height: 25px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.floating-menu-fab svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.15;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.floating-menu-fab:hover,
.floating-menu-fab.active {
  transform: translateY(-3px);
  border-color: rgba(248,215,103,.62);
  background: color-mix(in srgb, var(--surface) 94%, transparent);
  box-shadow: 0 24px 64px rgba(6,47,43,.22);
}

.drawer-backdrop {
  background: rgba(2, 20, 18, .54);
  backdrop-filter: blur(12px);
}
.nav-drawer.premium-site-menu,
.nav-drawer {
  direction: rtl;
}
.nav-drawer.premium-site-menu {
  width: min(500px, calc(100% - 16px));
  padding: 18px;
  border-radius: 32px 0 0 32px;
  border-left: 1px solid color-mix(in srgb, var(--line) 64%, rgba(255,255,255,.36));
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--surface) 94%, transparent), color-mix(in srgb, var(--surface-2) 86%, transparent)),
    radial-gradient(circle at 16% 8%, rgba(248,215,103,.22), transparent 28%),
    radial-gradient(circle at 90% 40%, rgba(6,47,43,.12), transparent 32%);
  box-shadow: -38px 0 120px rgba(2, 20, 18, .32);
  backdrop-filter: blur(30px) saturate(1.12);
  overflow-x: hidden;
}
.nav-drawer.premium-site-menu::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .62;
  background: linear-gradient(90deg, rgba(255,255,255,.25), transparent 30%);
}
.nav-drawer.premium-site-menu::after {
  content: "";
  position: absolute;
  right: 0;
  top: 26px;
  bottom: 26px;
  width: 4px;
  border-radius: 999px 0 0 999px;
  background: linear-gradient(180deg, var(--accent), rgba(248,215,103,.18), var(--primary-3));
  opacity: .8;
}
.drawer-glow { opacity: .28; }
.drawer-top,
.drawer-hero,
.drawer-main-actions,
.drawer-section-title,
.drawer-service-pills,
.drawer-links,
.drawer-contact-card { position: relative; z-index: 2; }
.drawer-top {
  padding: 2px 2px 12px;
  margin-bottom: 10px;
}
.drawer-brand .brand-mark {
  width: 50px;
  height: 50px;
  border-radius: 18px;
}
.drawer-close {
  width: 46px;
  height: 46px;
  border-radius: 16px;
  background: color-mix(in srgb, var(--surface) 88%, transparent);
  border: 1px solid var(--line);
  color: var(--primary-2);
  font-size: 30px;
  line-height: 1;
  transition: .2s ease;
}
.drawer-close:hover { transform: translateY(-2px); border-color: rgba(248,215,103,.58); }

.drawer-hero-premium {
  padding: 24px;
  border-radius: 28px;
  margin-bottom: 14px;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(4, 45, 40, .97), rgba(8, 76, 68, .92)),
    radial-gradient(circle at 18% 20%, rgba(248,215,103,.50), transparent 36%);
  box-shadow: 0 24px 64px rgba(6, 47, 43, .24);
  overflow: hidden;
}
.drawer-hero-premium::before {
  content: "";
  position: absolute;
  left: -70px;
  top: -70px;
  width: 210px;
  height: 210px;
  border-radius: 50%;
  background: rgba(248,215,103,.18);
}
.drawer-hero-premium::after {
  left: auto;
  right: -70px;
  top: auto;
  bottom: -90px;
  width: 220px;
  height: 220px;
  background: rgba(255,255,255,.07);
}
.drawer-mini-badge {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(248,215,103,.15);
  border: 1px solid rgba(248,215,103,.24);
  color: #ffe98a;
  font-size: 12px;
  font-weight: 1000;
  margin-bottom: 12px;
}
.drawer-mini-badge::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
}
.drawer-hero-premium strong {
  position: relative;
  z-index: 1;
  display: block;
  font-size: clamp(22px, 4vw, 28px);
  line-height: 1.55;
  letter-spacing: -.3px;
  margin-bottom: 6px;
}
.drawer-hero-premium p {
  position: relative;
  z-index: 1;
  max-width: 395px;
  margin: 0 0 16px;
  line-height: 2;
  color: rgba(255,255,255,.76);
  font-size: 13px;
}
.drawer-status-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.drawer-status-grid span {
  min-height: 66px;
  border-radius: 18px;
  padding: 9px 8px;
  display: grid;
  place-items: center;
  text-align: center;
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.14);
  backdrop-filter: blur(14px);
}
.drawer-status-grid b { color: var(--accent); font-size: 18px; line-height: 1.1; }
.drawer-status-grid small { color: rgba(255,255,255,.76); font-size: 11px; font-weight: 900; }

.drawer-main-actions {
  display: grid;
  grid-template-columns: 1fr 112px 58px;
  gap: 10px;
  margin: 14px 0;
}
.drawer-primary-cta,
.drawer-mini-action {
  border: 1px solid color-mix(in srgb, var(--line) 86%, rgba(255,255,255,.20));
  background: color-mix(in srgb, var(--surface) 84%, transparent);
  backdrop-filter: blur(16px);
  box-shadow: 0 14px 34px rgba(6,47,43,.06);
  border-radius: 20px;
  color: var(--primary-2);
  cursor: pointer;
  transition: .2s ease;
}
.drawer-primary-cta {
  display: flex;
  direction: rtl;
  align-items: center;
  gap: 12px;
  padding: 12px;
}
.drawer-primary-cta > span { flex: 1; min-width: 0; }
.drawer-primary-cta strong,
.drawer-primary-cta small { display: block; line-height: 1.55; }
.drawer-primary-cta small { color: var(--muted); font-size: 12px; }
.drawer-mini-action {
  min-height: 76px;
  padding: 9px;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-weight: 1000;
  font-size: 12px;
}
.drawer-primary-cta:hover,
.drawer-mini-action:hover { transform: translateY(-2px); border-color: rgba(248,215,103,.58); }
.drawer-theme-action { width: auto; height: auto; }
.drawer-theme-action svg { width: 22px; height: 22px; }

.drawer-section-title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 17px 4px 10px;
  color: var(--primary-2);
  font-weight: 1000;
}
.drawer-section-title::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-2);
  box-shadow: 0 0 0 6px rgba(248,215,103,.20);
}
.drawer-service-pills {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 9px;
}
.drawer-service-pills a {
  min-height: 82px;
  padding: 9px 6px;
  border-radius: 20px;
  border: 1px solid color-mix(in srgb, var(--line) 86%, rgba(255,255,255,.18));
  background: color-mix(in srgb, var(--surface) 82%, transparent);
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-align: center;
  color: var(--primary-2);
  font-weight: 1000;
  font-size: 12px;
  box-shadow: 0 12px 28px rgba(6,47,43,.045);
  transition: .2s ease;
}
.drawer-service-pills a:hover { transform: translateY(-3px); border-color: rgba(248,215,103,.58); }

.drawer-icon,
.drawer-link i {
  flex: 0 0 auto;
  width: 48px;
  height: 48px;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-2);
  background:
    linear-gradient(180deg, rgba(248,215,103,.18), rgba(248,215,103,.07)),
    color-mix(in srgb, var(--surface-2) 88%, transparent);
  border: 1px solid rgba(248,215,103,.28);
  box-shadow: 0 10px 24px rgba(6,47,43,.055);
}
.drawer-mini-action .drawer-icon,
.drawer-service-pills .drawer-icon { width: 38px; height: 38px; border-radius: 14px; }
.drawer-icon svg,
.drawer-link i svg,
.drawer-link em svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.05;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.drawer-links-premium {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-bottom: 2px;
}
.drawer-links-premium .drawer-link {
  direction: rtl;
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 74px;
  border-radius: 22px;
  padding: 11px 12px;
  border: 1px solid color-mix(in srgb, var(--line) 86%, rgba(255,255,255,.18));
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--surface) 88%, transparent), color-mix(in srgb, var(--surface-2) 76%, transparent));
  box-shadow: 0 13px 32px rgba(10,64,58,.052);
  overflow: hidden;
  position: relative;
}
.drawer-links-premium .drawer-link::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(248,215,103,.70), transparent);
  opacity: 0;
  transition: .22s ease;
}
.drawer-links-premium .drawer-link:hover { transform: translateX(-4px); border-color: rgba(248,215,103,.56); }
.drawer-links-premium .drawer-link:hover::after { opacity: 1; }
.drawer-link-text {
  flex: 1 1 auto;
  min-width: 0;
  display: block;
}
.drawer-link-text strong {
  display: block;
  color: var(--primary-2);
  font-size: 15px;
  line-height: 1.5;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.drawer-link-text small {
  display: block;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.65;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.drawer-link em {
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-style: normal;
  transform: none;
}
.drawer-link em svg { width: 18px; height: 18px; }

.drawer-contact-card-premium {
  display: flex;
  direction: rtl;
  align-items: center;
  gap: 12px;
  padding: 14px;
  margin-top: 16px;
  border-radius: 24px;
  border: 1px solid color-mix(in srgb, var(--line) 86%, rgba(255,255,255,.18));
  background:
    radial-gradient(circle at 12% 18%, rgba(248,215,103,.16), transparent 28%),
    linear-gradient(135deg, color-mix(in srgb, var(--surface) 88%, transparent), color-mix(in srgb, var(--surface-2) 76%, transparent));
}
.drawer-contact-card-premium > div { flex: 1; min-width: 0; }
.drawer-contact-card-premium strong { color: var(--primary-2); display: block; margin-bottom: 5px; }
.drawer-contact-card-premium p { margin: 0; color: var(--muted); line-height: 1.8; font-size: 12.5px; }
.drawer-contact-icon {
  flex: 0 0 auto;
  width: 48px;
  height: 48px;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: linear-gradient(135deg, var(--primary-2), var(--primary-3));
}
.drawer-contact-icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.drawer-contact-card-premium a {
  flex: 0 0 auto;
  min-height: 40px;
  padding: 8px 13px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), #ffe992);
  color: #083d37;
  font-weight: 1000;
  white-space: nowrap;
}
.install-app-btn.ready { border-color: rgba(248,215,103,.50); }

html[data-theme="dark"] .floating-menu-fab,
html[data-theme="dark"] .drawer-primary-cta,
html[data-theme="dark"] .drawer-mini-action,
html[data-theme="dark"] .drawer-service-pills a,
html[data-theme="dark"] .drawer-links-premium .drawer-link,
html[data-theme="dark"] .drawer-contact-card-premium {
  background: color-mix(in srgb, var(--surface) 78%, rgba(255,255,255,.04));
}
html[data-theme="dark"] .drawer-icon,
html[data-theme="dark"] .drawer-link i {
  color: var(--accent);
  background: rgba(248,215,103,.10);
}

@media (max-width: 720px) {
  .floating-menu-fab {
    right: 14px;
    bottom: 14px;
    min-width: 78px;
    height: 42px;
    border-radius: 14px;
    font-size: 13px;
  }
  .to-top { left: 14px; bottom: 14px; }
  .review-fab { left: 66px; bottom: 14px; min-width: 92px; height: 42px; border-radius: 14px; }
  .nav-drawer.premium-site-menu {
    width: min(430px, calc(100% - 10px));
    padding: 14px;
    border-radius: 28px 0 0 28px;
  }
  .drawer-hero-premium { padding: 20px; border-radius: 26px; }
  .drawer-main-actions {
    grid-template-columns: 1fr 76px 52px;
    gap: 8px;
  }
  .drawer-primary-cta { padding: 10px; border-radius: 18px; }
  .drawer-mini-action { min-height: 68px; border-radius: 18px; }
  .drawer-service-pills { grid-template-columns: repeat(2, 1fr); }
  .drawer-service-pills a {
    min-height: 70px;
    flex-direction: row;
    justify-content: flex-start;
    padding: 10px;
    text-align: right;
  }
  .drawer-status-grid { grid-template-columns: repeat(3, 1fr); gap: 6px; }
  .drawer-status-grid span { min-height: 58px; border-radius: 16px; }
  .drawer-links-premium .drawer-link { min-height: 68px; border-radius: 19px; padding: 10px; }
  .drawer-icon,
  .drawer-link i { width: 44px; height: 44px; border-radius: 15px; }
  .drawer-contact-card-premium { align-items: stretch; flex-wrap: wrap; }
  .drawer-contact-card-premium > div { flex-basis: calc(100% - 60px); }
  .drawer-contact-card-premium a { width: 100%; }
}
@media (max-width: 420px) {
  .drawer-link-text strong,
  .drawer-link-text small { white-space: normal; }
  .drawer-links-premium .drawer-link { gap: 10px; }
  .floating-menu-fab b { display: none; }
  .floating-menu-fab { min-width: 44px; width: 44px; padding: 0; }
}

/* V14 - final professional polish: real SVG controls, compact drawer, PWA and social/developer sections */
.gallery-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.42);
  background: rgba(255,255,255,.86);
  color: #063f39;
  box-shadow: 0 18px 40px rgba(0,0,0,.16);
  backdrop-filter: blur(12px);
}
.gallery-btn svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.gallery-btn.prev { right: 16px; }
.gallery-btn.next { left: 16px; }
.gallery-btn:hover { transform: translateY(-50%) scale(1.05); background: var(--accent); }
.modal-close { display: inline-flex; align-items: center; justify-content: center; font-size: 0; }
.modal-close::before { content: "×"; font-size: 28px; line-height: 1; }

/* more refined construction hero */
.hero--construction {
  min-height: auto;
  padding: 86px 0 104px;
  background:
    linear-gradient(90deg, rgba(5, 26, 50, .92), rgba(7, 41, 77, .82) 42%, rgba(6, 63, 57, .88)),
    radial-gradient(circle at 82% 12%, rgba(248,215,103,.20), transparent 30%),
    linear-gradient(135deg, #07182f, #063f39);
}
.construction-hero-grid { min-height: 470px; gap: 42px; }
.hero--construction h1 { font-size: clamp(34px, 4.3vw, 54px); line-height: 1.42; }
.hero--construction .lead { font-size: 16.5px; max-width: 705px; }
.hero--construction .hero-trust { margin-top: 28px; }
.construction-visual { min-height: 460px; }
.construction-visual::before {
  inset: 62px 44px 24px;
  border-radius: 38px;
  background: rgba(255,255,255,.075);
  border-color: rgba(255,255,255,.18);
}
.construction-visual::after { width: 300px; height: 300px; opacity: .76; }
.construction-worker { width: min(360px, 86%); }
.construction-info-card { width: min(250px, 50%); border-radius: 20px; padding: 14px 16px; }
.construction-info-card--top { top: 70px; right: 18px; }
.construction-info-card--bottom { left: 28px; bottom: 38px; }

/* compact, modern, RTL drawer */
.nav-drawer.premium-site-menu {
  width: min(460px, calc(100% - 14px));
  padding: 14px;
  border-radius: 30px 0 0 30px;
  background:
    radial-gradient(circle at 10% 5%, rgba(248,215,103,.18), transparent 28%),
    linear-gradient(180deg, color-mix(in srgb, var(--surface) 96%, transparent), color-mix(in srgb, var(--surface-2) 90%, transparent));
}
.drawer-top-pro {
  min-height: 58px;
  padding: 4px 2px 10px;
  margin-bottom: 8px;
}
.drawer-top-pro .drawer-brand { min-width: 0; gap: 10px; }
.drawer-top-pro .brand-mark { width: 48px; height: 48px; border-radius: 17px; }
.drawer-top-pro .brand-text strong { font-size: 17px; }
.drawer-top-pro .brand-text small { font-size: 11px; }
.drawer-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0;
}
.drawer-close svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.25;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.drawer-hero-pro {
  padding: 18px;
  border-radius: 24px;
  margin-bottom: 12px;
  background:
    radial-gradient(circle at 17% 22%, rgba(248,215,103,.24), transparent 31%),
    linear-gradient(135deg, rgba(4,48,43,.98), rgba(12,91,82,.90));
}
.drawer-hero-line { display: flex; align-items: center; justify-content: space-between; gap: 10px; position: relative; z-index: 1; }
.drawer-live-dot {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border-radius: 999px;
  color: rgba(255,255,255,.86);
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.13);
  font-size: 11px;
  font-weight: 1000;
}
.drawer-live-dot::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #6ee1a7; box-shadow: 0 0 0 5px rgba(110,225,167,.12); }
.drawer-hero-pro .drawer-mini-badge { margin-bottom: 0; padding: 6px 11px; }
.drawer-hero-pro strong { font-size: clamp(19px, 3.3vw, 24px); line-height: 1.55; margin: 12px 0 4px; }
.drawer-hero-pro p { line-height: 1.8; font-size: 12.5px; margin-bottom: 12px; }
.drawer-hero-pro .drawer-status-grid span { min-height: 56px; border-radius: 15px; }
.drawer-hero-pro .drawer-status-grid b { font-size: 16px; }
.drawer-main-actions-pro { grid-template-columns: 1fr 82px 54px; gap: 8px; margin: 12px 0; }
.drawer-main-actions-pro .drawer-primary-cta { min-height: 68px; border-radius: 18px; }
.drawer-main-actions-pro .drawer-mini-action { min-height: 68px; border-radius: 18px; }
.drawer-service-pills-pro { grid-template-columns: repeat(4, 1fr); gap: 8px; }
.drawer-service-pills-pro a { min-height: 70px; border-radius: 18px; }
.drawer-service-pills-pro .drawer-icon { width: 34px; height: 34px; border-radius: 12px; }
.drawer-links-pro { gap: 8px; }
.drawer-links-pro .drawer-link {
  min-height: 64px;
  padding: 9px 11px;
  gap: 11px;
  border-radius: 18px;
  overflow: visible;
}
.drawer-links-pro .drawer-link .drawer-icon {
  order: 1;
  width: 44px;
  height: 44px;
  border-radius: 15px;
}
.drawer-links-pro .drawer-link-text { order: 2; text-align: right; }
.drawer-links-pro .drawer-link em { order: 3; margin-right: auto; color: var(--muted); }
.drawer-links-pro .drawer-link em svg { width: 17px; height: 17px; }
.drawer-links-pro .drawer-link-text strong { font-size: 14.5px; }
.drawer-links-pro .drawer-link-text small { font-size: 11.5px; line-height: 1.55; }
.drawer-social-mini {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 12px;
}
.drawer-social-mini a {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border-radius: 17px;
  border: 1px solid color-mix(in srgb, var(--line) 86%, rgba(255,255,255,.18));
  background: color-mix(in srgb, var(--surface) 84%, transparent);
  color: var(--primary-2);
  font-size: 12px;
  font-weight: 1000;
}
.drawer-social-mini .drawer-icon { width: 32px; height: 32px; border-radius: 12px; }
.drawer-contact-card-pro { margin-top: 12px; padding: 12px; border-radius: 20px; }
.drawer-contact-card-pro p { line-height: 1.55; }

/* PWA install panel polish */
.install-panel { max-width: 500px; }
.install-confirm-btn { width: 100%; }
.install-steps div { grid-template-columns: 34px 1fr; text-align: right; }

/* social and developer section */
.social-developer-section {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 12%, rgba(248,215,103,.18), transparent 28%),
    linear-gradient(180deg, var(--bg), var(--surface-2));
}
.social-developer-section::before {
  content: "";
  position: absolute;
  inset: 42px auto auto -90px;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: rgba(10,64,58,.08);
  pointer-events: none;
}
.social-dev-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 24px;
  align-items: stretch;
}
.site-social-card,
.developer-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 34px;
  background: color-mix(in srgb, var(--surface) 88%, transparent);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(18px);
}
.site-social-card { padding: 34px; }
.developer-card {
  display: grid;
  grid-template-columns: 154px 1fr;
  gap: 24px;
  align-items: center;
  padding: 28px;
  background:
    radial-gradient(circle at 85% 10%, rgba(248,215,103,.22), transparent 30%),
    linear-gradient(135deg, color-mix(in srgb, var(--surface) 88%, transparent), color-mix(in srgb, var(--surface-2) 78%, transparent));
}
.developer-avatar {
  width: 154px;
  height: 154px;
  border-radius: 34px;
  display: grid;
  place-items: center;
  color: #083d37;
  background: linear-gradient(135deg, var(--accent), #fff1a4);
  box-shadow: 0 22px 54px rgba(248,190,54,.22);
}
.developer-avatar svg { width: 92px; height: 92px; fill: none; stroke: currentColor; stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; }
.developer-info h2 { margin: 8px 0 10px; }
.developer-info p { line-height: 2; }
.developer-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 18px; }
.developer-tags span {
  padding: 7px 11px;
  border-radius: 999px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  color: var(--primary-2);
  font-size: 12px;
  font-weight: 1000;
}
.social-links { display: grid; gap: 10px; }
.social-links a {
  display: flex;
  direction: rtl;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border-radius: 20px;
  border: 1px solid var(--line);
  background: color-mix(in srgb, var(--surface) 82%, transparent);
  color: var(--primary-2);
  transition: .2s ease;
}
.social-links a:hover { transform: translateY(-2px); border-color: rgba(248,215,103,.55); box-shadow: 0 14px 32px rgba(6,47,43,.08); }
.social-links--large { grid-template-columns: repeat(3, 1fr); margin-top: 24px; }
.social-links--compact { grid-template-columns: 1fr 1fr; }
.social-links strong,
.social-links small { display: block; line-height: 1.45; }
.social-links small { color: var(--muted); font-size: 12px; direction: ltr; text-align: right; }
.social-icon {
  flex: 0 0 auto;
  width: 46px;
  height: 46px;
  border-radius: 17px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #083d37;
  background: linear-gradient(135deg, var(--accent), #fff1a4);
}
.social-icon svg { width: 23px; height: 23px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.social-icon--instagram { background: linear-gradient(135deg, #ffd36d, #fff0a3); }
.social-icon--telegram { background: linear-gradient(135deg, #d9f2ff, #b8e8ff); }
.social-icon--whatsapp { background: linear-gradient(135deg, #d7ffe7, #a7f3c7); }

html[data-theme="dark"] .social-developer-section { background: linear-gradient(180deg, var(--bg), var(--surface-2)); }
html[data-theme="dark"] .site-social-card,
html[data-theme="dark"] .developer-card,
html[data-theme="dark"] .social-links a,
html[data-theme="dark"] .drawer-social-mini a { background: color-mix(in srgb, var(--surface) 80%, rgba(255,255,255,.04)); }
html[data-theme="dark"] .developer-avatar,
html[data-theme="dark"] .social-icon { color: #092c28; }

@media (max-width: 1040px) {
  .hero--construction { padding: 68px 0 94px; }
  .construction-hero-grid { min-height: auto; }
  .social-dev-grid { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .hero--construction h1 { font-size: clamp(30px, 8vw, 42px); }
  .hero--construction .lead { font-size: 15px; }
  .construction-visual { min-height: 330px; }
  .construction-worker { width: min(230px, 78%); }
  .construction-info-card { width: 100%; }
  .nav-drawer.premium-site-menu { width: min(414px, calc(100% - 8px)); padding: 12px; }
  .drawer-main-actions-pro { grid-template-columns: 1fr 70px 50px; }
  .drawer-hero-pro { padding: 16px; border-radius: 22px; }
  .drawer-hero-pro strong { font-size: 20px; }
  .drawer-service-pills-pro { grid-template-columns: repeat(2, 1fr); }
  .drawer-links-pro .drawer-link { min-height: 62px; }
  .drawer-social-mini { grid-template-columns: 1fr; }
  .drawer-social-mini a { justify-content: flex-start; }
  .site-social-card,
  .developer-card { border-radius: 26px; padding: 22px; }
  .developer-card { grid-template-columns: 1fr; }
  .developer-avatar { width: 118px; height: 118px; border-radius: 26px; }
  .developer-avatar svg { width: 72px; height: 72px; }
  .social-links--large,
  .social-links--compact { grid-template-columns: 1fr; }
  .gallery-btn { width: 42px; height: 42px; border-radius: 15px; }
}


/* V15 - bottom social hub, compact professional drawer and footer developer profile */
.premium-site-menu {
  background:
    radial-gradient(circle at 12% 4%, rgba(248,215,103,.14), transparent 28%),
    linear-gradient(180deg, color-mix(in srgb, var(--surface) 94%, transparent), color-mix(in srgb, var(--surface-2) 96%, transparent));
  backdrop-filter: blur(24px);
}
.drawer-hero-v15 {
  padding: 20px;
  border-radius: 28px;
  overflow: hidden;
  background:
    radial-gradient(circle at 0 0, rgba(248,215,103,.34), transparent 32%),
    linear-gradient(135deg, #0a403a, #123f3a 54%, #24554e);
  color: #fff;
  box-shadow: 0 20px 52px rgba(3,28,25,.22);
  border: 1px solid rgba(255,255,255,.14);
}
.drawer-hero-v15::before,
.drawer-hero-v15::after { opacity: .45; }
.drawer-hero-v15-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}
.drawer-hero-v15 .drawer-mini-badge {
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.18);
  color: #fff;
  padding: 8px 13px;
  border-radius: 999px;
  font-size: 12px;
}
.drawer-hero-v15 .drawer-live-dot {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: rgba(255,255,255,.82);
  font-size: 12px;
  background: rgba(255,255,255,.10);
  padding: 8px 12px;
  border-radius: 999px;
}
.drawer-hero-v15 .drawer-live-dot i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #74f5ae;
  box-shadow: 0 0 0 5px rgba(116,245,174,.15);
}
.drawer-hero-v15 strong {
  display: block;
  margin: 0 0 9px;
  font-size: clamp(22px, 3vw, 28px);
  line-height: 1.45;
  color: #fff;
}
.drawer-hero-v15 p {
  margin: 0;
  color: rgba(255,255,255,.76);
  line-height: 1.9;
  font-size: 13px;
}
.drawer-plus-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 18px;
}
.drawer-plus-stats span {
  display: grid;
  place-items: center;
  min-height: 66px;
  border-radius: 18px;
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.16);
}
.drawer-plus-stats b {
  color: var(--accent);
  font-size: 20px;
  line-height: 1;
}
.drawer-plus-stats small {
  margin-top: 5px;
  color: rgba(255,255,255,.70);
  font-size: 11px;
}
.drawer-links-pro .drawer-link,
.drawer-service-pills-pro a,
.drawer-main-actions-pro .drawer-primary-cta,
.drawer-main-actions-pro .drawer-mini-action {
  border-radius: 22px;
}
.drawer-links-pro .drawer-link {
  min-height: 76px;
  background: color-mix(in srgb, var(--surface) 86%, rgba(255,255,255,.08));
  box-shadow: 0 12px 30px rgba(6,47,43,.055);
}
.drawer-links-pro .drawer-link .drawer-icon,
.drawer-service-pills-pro .drawer-icon,
.drawer-main-actions-pro .drawer-icon {
  order: -1;
  flex: 0 0 auto;
}
.drawer-links-pro .drawer-link em {
  margin-right: auto;
  margin-left: 0;
}
.drawer-social-mini a {
  border-radius: 18px;
  background: color-mix(in srgb, var(--surface) 82%, transparent);
}

.footer-hub-section {
  position: relative;
  isolation: isolate;
  padding: 78px 0 36px;
  background:
    radial-gradient(circle at 15% 20%, rgba(248,215,103,.11), transparent 28%),
    radial-gradient(circle at 88% 80%, rgba(255,255,255,.06), transparent 30%),
    linear-gradient(180deg, #10131d, #151824 54%, #10131d);
  color: #fff;
  overflow: hidden;
}
.footer-hub-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(180deg, transparent, #000 20%, #000 80%, transparent);
  opacity: .35;
  z-index: -1;
}
.footer-hub-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 24px;
  align-items: stretch;
}
.footer-social-card,
.developer-profile-card {
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.045);
  box-shadow: 0 28px 80px rgba(0,0,0,.24);
  backdrop-filter: blur(18px);
}
.footer-social-card {
  padding: 34px;
  border-radius: 30px;
}
.footer-hub-head {
  margin-bottom: 28px;
}
.footer-hub-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,.66);
  font-size: 13px;
  margin-bottom: 12px;
}
.footer-hub-kicker::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 7px rgba(248,215,103,.13);
}
.footer-hub-head h2 {
  color: #fff;
  font-size: clamp(28px, 3vw, 42px);
  margin: 0;
}
.footer-contact-row,
.footer-social-row {
  display: grid;
  grid-template-columns: 130px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  margin-top: 18px;
}
.footer-row-label {
  color: rgba(255,255,255,.70);
  font-size: 14px;
}
.footer-contact-row strong {
  display: block;
  padding: 18px 22px;
  border-radius: 18px;
  background: rgba(255,255,255,.07);
  color: rgba(255,255,255,.91);
  font-weight: 700;
}
.footer-social-icons {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.footer-social-icons a,
.developer-social-top a {
  width: 52px;
  height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.09);
  color: rgba(255,255,255,.90);
  transition: .2s ease;
}
.footer-social-icons a:hover,
.developer-social-top a:hover {
  transform: translateY(-3px);
  background: rgba(248,215,103,.18);
  color: var(--accent);
  border-color: rgba(248,215,103,.42);
}
.footer-social-icons svg,
.developer-social-top svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.developer-profile-card {
  display: grid;
  gap: 26px;
  align-content: center;
  min-height: 260px;
  padding: 32px;
  border-radius: 24px;
}
.developer-social-top {
  display: flex;
  gap: 12px;
  justify-content: flex-start;
  direction: ltr;
}
.developer-profile-text {
  text-align: right;
}
.developer-profile-text h2 {
  color: #fff;
  margin: 0 0 7px;
  font-size: 22px;
}
.developer-profile-text span {
  display: block;
  color: rgba(255,255,255,.76);
  margin-bottom: 18px;
}
.developer-profile-text p {
  margin: 0;
  color: rgba(255,255,255,.82);
  line-height: 2;
}
.footer {
  padding-top: 44px;
  background: #10131d;
}
.footer-grid,
.footer-bottom { border-color: rgba(255,255,255,.10); }
html[data-theme="dark"] .footer-hub-section { background: linear-gradient(180deg, #0f121b, #151824 58%, #10131d); }
html[data-theme="dark"] .footer { background: #10131d; }

@media (max-width: 900px) {
  .footer-hub-grid { grid-template-columns: 1fr; }
  .footer-contact-row,
  .footer-social-row { grid-template-columns: 1fr; gap: 10px; }
  .footer-social-card,
  .developer-profile-card { padding: 24px; border-radius: 24px; }
}
@media (max-width: 560px) {
  .footer-hub-section { padding: 54px 0 28px; }
  .footer-social-icons a,
  .developer-social-top a { width: 46px; height: 46px; border-radius: 14px; }
  .drawer-plus-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .drawer-plus-stats span { min-height: 58px; }
  .drawer-hero-v15 { padding: 17px; border-radius: 24px; }
}

/* V16 - responsive polish, touch sliders and performance tuning */
.portfolio-mosaic,
.team-viewport,
.works-slider-viewport,
.reviews-viewport,
.gallery-stage {
  touch-action: pan-y;
  overscroll-behavior: contain;
  -webkit-user-select: none;
  user-select: none;
}
.team-track,
.works-slider-track,
.reviews-track {
  will-change: transform;
  transform: translate3d(0,0,0);
  backface-visibility: hidden;
}
.portfolio-tile img,
.featured-work-image img,
.gallery-stage img {
  backface-visibility: hidden;
  transform: translateZ(0) scale(1.02);
}
.portfolio-mosaic,
.works-slider-shell,
.team-viewport,
.reviews-slider-card {
  contain: layout paint;
}

@media (max-width: 1180px) {
  .container { width: min(100% - 32px, var(--container)); }
  .construction-hero-grid {
    grid-template-columns: 1fr;
    gap: 34px;
    text-align: center;
  }
  .hero--construction .hero-content { margin-inline: auto; }
  .hero--construction .lead { margin-inline: auto; }
  .hero--construction .hero-actions,
  .hero--construction .hero-trust { justify-content: center; margin-inline: auto; }
  .construction-visual {
    width: min(720px, 100%);
    margin-inline: auto;
    min-height: 430px;
  }
  .works-strip-layout { gap: 22px; }
  .footer-hub-grid { grid-template-columns: 1fr; }
}

@media (max-width: 980px) {
  .section { padding-block: 64px; }
  .hero--construction {
    min-height: auto;
    padding: 58px 0 76px;
  }
  .hero--construction h1 { font-size: clamp(34px, 7.5vw, 58px); }
  .hero--construction .lead { max-width: 680px; }
  .hero--construction .hero-trust { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .portfolio-mosaic {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: repeat(3, 190px);
    min-height: 598px;
  }
  .portfolio-tile--small-top { grid-column: 1; grid-row: 1; }
  .portfolio-tile--wide-top { grid-column: 2; grid-row: 1; }
  .portfolio-tile--tall { grid-column: 1 / -1; grid-row: 2; }
  .portfolio-tile--small-bottom { grid-column: 1; grid-row: 3; }
  .portfolio-tile--wide-bottom { grid-column: 2; grid-row: 3; }
  .team-viewport { width: min(100%, calc(100% - 90px)); }
  .reviews-shell { grid-template-columns: 1fr; }
  .footer-contact-row,
  .footer-social-row { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  body { overflow-x: hidden; }
  .container { width: min(100% - 24px, var(--container)); }
  .header .container { min-height: 70px; }
  .brand-text strong { font-size: 16px; }
  .brand-text small { font-size: 11px; }
  .hero--construction {
    padding: 34px 0 58px;
    border-radius: 0 0 34px 34px;
  }
  .construction-hero-grid { gap: 22px; }
  .hero--construction h1 {
    font-size: clamp(30px, 10.5vw, 44px);
    line-height: 1.45;
  }
  .hero--construction .lead {
    font-size: 14px;
    line-height: 2;
  }
  .hero-actions { display: grid; grid-template-columns: 1fr; gap: 10px; }
  .hero-actions .btn { width: 100%; }
  .hero--construction .hero-trust { grid-template-columns: 1fr 1fr 1fr; gap: 8px; }
  .hero--construction .trust-card {
    min-height: 72px;
    padding: 12px 8px;
    border-radius: 18px;
  }
  .hero--construction .trust-card strong { font-size: 20px; }
  .hero--construction .trust-card span { font-size: 11px; }
  .construction-visual {
    min-height: 320px;
    border-radius: 28px;
    transform: scale(.98);
  }
  .construction-visual::before { inset: 38px 12px 8px; border-radius: 28px; }
  .construction-visual::after { width: 230px; height: 230px; top: 10px; left: 0; }
  .construction-worker { width: min(245px, 78%); }
  .construction-info-card {
    width: min(260px, 74vw);
    padding: 14px;
    border-radius: 18px;
    font-size: 12px;
  }
  .construction-note { max-width: min(250px, 78vw); }

  .portfolio-showcase-section { padding-top: 58px; }
  .portfolio-title-block { text-align: center; }
  .portfolio-title-block h2 { font-size: clamp(26px, 8vw, 36px); }
  .portfolio-stage { padding-inline: 0; }
  .portfolio-mosaic {
    display: flex;
    min-height: 320px;
    gap: 0;
  }
  .portfolio-tile {
    display: none;
    flex: 0 0 100%;
    min-height: 320px;
    border-radius: 26px;
  }
  .portfolio-tile:first-child { display: block; }
  .portfolio-arrow {
    width: 44px;
    height: 44px;
    border-radius: 16px;
    top: 50%;
  }
  .portfolio-prev { right: 8px; }
  .portfolio-next { left: 8px; }
  .portfolio-bottom { grid-template-columns: 1fr; gap: 14px; text-align: center; }

  .works-strip-section { padding-block: 56px; }
  .works-strip-copy { padding: 20px; border-radius: 26px; }
  .works-strip-copy h2 { font-size: clamp(25px, 8vw, 34px); }
  .works-slider-shell { padding: 12px; border-radius: 26px; }
  .works-slider-top { flex-wrap: wrap; gap: 10px; }
  .works-slider-controls { width: 100%; justify-content: space-between; }
  .works-control { width: 44px; height: 44px; border-radius: 16px; }
  .featured-work-card { flex-basis: 100%; border-radius: 24px; }
  .featured-work-image { height: 208px; }
  .featured-work-body { padding: 16px; }

  .intro-video-shell,
  .reviews-shell,
  .cta-box { border-radius: 28px; padding: 22px; }
  .intro-video-grid { grid-template-columns: 1fr; }
  .intro-video-player video { min-height: 220px; }

  .team-section { padding-block: 64px; }
  .team-head { text-align: center; }
  .team-viewport { width: min(100%, calc(100% - 72px)); }
  .team-track { gap: 14px; }
  .team-card { flex-basis: 100%; min-height: 210px; border-radius: 24px; }
  .team-arrow { width: 44px; height: 44px; border-radius: 16px; }

  .reviews-section { padding-block: 58px; }
  .reviews-copy, .reviews-action-card { text-align: center; }
  .reviews-slider-card { padding: 14px; border-radius: 26px; }
  .reviews-slider-top { flex-wrap: wrap; }
  .reviews-nav { width: 100%; justify-content: space-between; }
  .user-review-card { flex-basis: 100%; min-height: 240px; padding: 18px; border-radius: 24px; }
  .review-fab { left: 14px; bottom: 86px; }
  .to-top { right: 14px; bottom: 86px; }
  .floating-menu-fab { right: 14px; bottom: 22px; }

  .review-panel {
    width: min(100% - 18px, 520px);
    max-height: min(86vh, 720px);
    border-radius: 28px 28px 0 0;
    padding: 18px;
  }
  .review-form-grid { grid-template-columns: 1fr; }
  .rating-field { grid-template-columns: 1fr; gap: 10px; text-align: center; }
  .rating-stars { justify-content: center; }

  .footer-hub-section { padding-top: 56px; }
  .footer-social-card,
  .developer-profile-card { padding: 20px; border-radius: 24px; }
  .footer-social-icons,
  .developer-social-top { justify-content: center; }
  .developer-profile-text { text-align: center; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; gap: 10px; text-align: center; }
}

@media (max-width: 480px) {
  .container { width: min(100% - 18px, var(--container)); }
  .hero--construction h1 { font-size: clamp(28px, 11.5vw, 38px); }
  .hero--construction .hero-trust { grid-template-columns: 1fr; }
  .construction-visual { min-height: 286px; }
  .construction-worker { width: min(220px, 80%); }
  .construction-info-card { display: none; }
  .portfolio-tile { min-height: 286px; }
  .portfolio-tile-overlay h3 { font-size: 18px; }
  .portfolio-arrow { width: 40px; height: 40px; }
  .featured-work-image { height: 190px; }
  .nav-drawer.premium-site-menu {
    width: min(100vw - 8px, 420px);
    padding: 10px;
  }
  .drawer-top-pro .brand-mark { width: 44px; height: 44px; }
  .drawer-hero-v15 { padding: 14px; border-radius: 22px; }
  .drawer-hero-v15 strong { font-size: 19px; }
  .drawer-plus-stats span { min-height: 52px; }
  .drawer-main-actions-pro { grid-template-columns: 1fr 62px 48px; }
  .drawer-service-pills-pro { grid-template-columns: repeat(2, 1fr); }
  .drawer-links-pro .drawer-link { min-height: 60px; padding: 9px; border-radius: 17px; }
  .drawer-links-pro .drawer-link-text small { display: none; }
  .drawer-social-mini { grid-template-columns: 1fr; }
  .footer-social-icons a,
  .developer-social-top a { width: 44px; height: 44px; }
  .modal-content { grid-template-columns: 1fr; }
  .project-modal { width: min(100% - 14px, 760px); border-radius: 24px; }
  .modal-gallery { padding: 10px; }
  .gallery-stage { min-height: 250px; }
}

@media (prefers-reduced-motion: reduce) {
  .team-track,
  .works-slider-track,
  .reviews-track,
  .portfolio-mosaic,
  .portfolio-tile img,
  .featured-work-image img {
    transition: none !important;
    animation: none !important;
  }
}


/* v17: compact, cleaner hero section */
.hero--construction {
  min-height: auto !important;
  padding: 54px 0 70px !important;
  background:
    linear-gradient(90deg, rgba(5, 26, 50, .94), rgba(7, 41, 77, .84) 46%, rgba(6, 63, 57, .90)),
    radial-gradient(circle at 84% 4%, rgba(248,215,103,.14), transparent 24%),
    linear-gradient(135deg, #07182f, #063f39) !important;
}
.hero--construction::before { opacity: .10 !important; }
.hero--construction::after { width: 360px !important; height: 360px !important; left: -160px !important; bottom: -160px !important; opacity: .45 !important; }
.hero-bg-grid { opacity: .055 !important; background-size: 110px 110px !important; }
.construction-hero-grid {
  min-height: 340px !important;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, .72fr) !important;
  gap: 30px !important;
  align-items: center !important;
}
.hero--construction .hero-content { max-width: 700px !important; }
.hero--construction .eyebrow--light { margin-bottom: 14px !important; }
.hero--construction h1 {
  font-size: clamp(32px, 3.25vw, 46px) !important;
  line-height: 1.42 !important;
  max-width: 680px !important;
  margin-bottom: 14px !important;
}
.hero--construction .lead {
  font-size: 15.5px !important;
  line-height: 2.05 !important;
  max-width: 650px !important;
  margin-bottom: 22px !important;
}
.hero-actions { margin-bottom: 20px !important; gap: 10px !important; }
.hero-actions .btn { min-height: 48px !important; padding: 12px 22px !important; }
.hero--construction .hero-trust {
  max-width: 560px !important;
  margin-top: 0 !important;
  gap: 10px !important;
}
.hero--construction .trust-card {
  min-height: 68px !important;
  padding: 11px 14px !important;
  border-radius: 18px !important;
}
.hero--construction .trust-card strong { font-size: 22px !important; line-height: 1.1 !important; }
.hero--construction .trust-card span { font-size: 11.5px !important; }
.construction-visual {
  min-height: 330px !important;
  transform: none !important;
  opacity: .95;
}
.construction-visual::before {
  inset: 48px 26px 18px !important;
  border-radius: 30px !important;
  background: rgba(255,255,255,.06) !important;
  box-shadow: 0 24px 58px rgba(0,0,0,.18) !important;
}
.construction-visual::after {
  width: 220px !important;
  height: 220px !important;
  top: 26px !important;
  left: 14px !important;
  opacity: .55 !important;
}
.construction-worker {
  width: min(270px, 78%) !important;
  filter: drop-shadow(0 24px 32px rgba(0,0,0,.25)) !important;
}
.construction-info-card {
  width: min(215px, 52%) !important;
  padding: 12px 14px !important;
  border-radius: 17px !important;
  box-shadow: 0 18px 42px rgba(0,0,0,.20) !important;
}
.construction-info-card strong { font-size: 14px !important; }
.construction-info-card span { font-size: 11.5px !important; line-height: 1.75 !important; }
.construction-info-card--top { top: 58px !important; right: 10px !important; }
.construction-info-card--bottom { display: none !important; }
.hero-wave { height: 46px !important; opacity: .98 !important; }

@media (max-width: 1180px) {
  .construction-hero-grid {
    grid-template-columns: 1fr !important;
    text-align: center !important;
    min-height: auto !important;
    gap: 18px !important;
  }
  .hero--construction .hero-content,
  .hero--construction h1,
  .hero--construction .lead,
  .hero--construction .hero-trust { margin-inline: auto !important; }
  .construction-visual { min-height: 260px !important; width: min(520px, 100%) !important; margin-inline: auto !important; }
  .construction-worker { width: min(220px, 70%) !important; }
  .construction-info-card--top { right: 42px !important; }
}

@media (max-width: 760px) {
  .hero--construction {
    padding: 32px 0 46px !important;
    border-radius: 0 0 28px 28px !important;
  }
  .hero--construction .eyebrow--light { font-size: 11.5px !important; padding: 7px 12px !important; }
  .hero--construction h1 {
    font-size: clamp(26px, 8.8vw, 36px) !important;
    line-height: 1.55 !important;
    margin-bottom: 12px !important;
  }
  .hero--construction .lead {
    font-size: 13.5px !important;
    line-height: 1.95 !important;
    margin-bottom: 18px !important;
  }
  .hero-actions { grid-template-columns: 1fr 1fr !important; }
  .hero-actions .btn { width: 100% !important; min-height: 44px !important; padding: 10px 12px !important; font-size: 13px !important; }
  .hero--construction .hero-trust { grid-template-columns: repeat(3, 1fr) !important; gap: 7px !important; }
  .hero--construction .trust-card { min-height: 58px !important; padding: 9px 6px !important; border-radius: 15px !important; }
  .hero--construction .trust-card strong { font-size: 18px !important; }
  .hero--construction .trust-card span { font-size: 10px !important; }
  .construction-visual { display: none !important; }
  .hero-wave { height: 34px !important; }
}

@media (max-width: 430px) {
  .hero-actions { grid-template-columns: 1fr !important; }
  .hero--construction .hero-trust { grid-template-columns: 1fr 1fr 1fr !important; }
}
.uploaded-icon,.social-uploaded-icon{width:1.35em;height:1.35em;display:block;object-fit:contain}.icon-box .uploaded-icon{width:28px;height:28px}.footer-social-icons .social-uploaded-icon,.developer-social-top .social-uploaded-icon{width:22px;height:22px}.side-menu-link .uploaded-icon{width:20px;height:20px}.project-thumb img,.featured-work-image img,.portfolio-tile img{background:#edf4f1}

/* V20 - admin visual focus marker */
.admin-focus-target{position:relative;outline:3px solid rgba(248,215,103,.95);outline-offset:8px;border-radius:28px;box-shadow:0 0 0 9999px rgba(6,47,43,.10),0 26px 80px rgba(248,215,103,.28)!important;animation:adminFocusPulse 1.4s ease-in-out 4;z-index:2}.admin-focus-badge{position:absolute;inset-block-start:12px;inset-inline-start:12px;display:inline-flex;align-items:center;gap:8px;background:linear-gradient(135deg,#0a403a,#176058);color:#fff;border:1px solid rgba(255,255,255,.28);border-radius:999px;padding:10px 14px;font-weight:900;font-size:13px;box-shadow:0 14px 36px rgba(6,47,43,.25);z-index:20;pointer-events:none}.admin-focus-badge::before{content:"";width:10px;height:10px;border-radius:999px;background:var(--accent);box-shadow:0 0 0 6px rgba(248,215,103,.20)}@keyframes adminFocusPulse{0%,100%{outline-color:rgba(248,215,103,.95)}50%{outline-color:rgba(23,96,88,.95)}}@media(max-width:680px){.admin-focus-target{outline-offset:4px;border-radius:20px}.admin-focus-badge{font-size:12px;padding:8px 11px;inset-block-start:8px;inset-inline-start:8px}}


/* V21 - requested refinements: Vazirmatn font, smaller headings, no-jump portfolio slider */
body,
button,
input,
textarea,
select {
  font-family: "Vazirmatn", "IRANSansX", "IRANSans", Tahoma, Arial, sans-serif;
}

h1 { font-size: clamp(31px, 4.1vw, 48px); line-height: 1.45; letter-spacing: -.45px; }
h2 { font-size: clamp(23px, 2.7vw, 34px); line-height: 1.5; letter-spacing: -.25px; }
h3 { font-size: 19px; line-height: 1.6; }
.section-head .lead, .lead { font-size: 16px; }
.hero--construction h1 { font-size: clamp(31px, 3.7vw, 46px); }
.portfolio-title-block h2,
.intro-video-copy h2,
.team-head h2 { font-size: clamp(24px, 3vw, 36px); }

.portfolio-showcase-section {
  background:
    radial-gradient(circle at 50% 36%, rgba(255,255,255,.06), transparent 34%),
    radial-gradient(circle at 20% 12%, rgba(230,183,46,.18), transparent 28%),
    linear-gradient(180deg, #181818 0%, #101010 100%) !important;
  color: #fff;
  padding: 86px 0 92px;
  isolation: isolate;
}
.portfolio-showcase-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,.03), transparent 40%, rgba(255,255,255,.03));
  pointer-events: none;
}
.portfolio-title-block {
  grid-template-columns: 1fr minmax(260px, 720px) 1fr;
  margin-bottom: 34px;
}
.portfolio-title-block > span { background: linear-gradient(90deg, transparent, rgba(230,183,46,.65), transparent); }
.portfolio-title-block strong {
  color: rgba(255,255,255,.62);
  letter-spacing: 7px;
  font-size: 12px;
  font-weight: 500;
}
.portfolio-title-block h2 {
  margin-top: 8px;
  color: #fff;
  font-weight: 900;
}
.portfolio-title-block h2::first-letter { color: #fff; }
.portfolio-stage { position: relative; max-width: 920px; margin-inline: auto; min-height: 470px; }
.portfolio-mosaic {
  direction: rtl;
  display: block;
  min-height: 470px;
  height: 470px;
  transition: opacity .22s ease, transform .22s ease, filter .22s ease;
  overflow: visible;
  contain: layout paint;
}
.portfolio-mosaic.is-changing { opacity: .15; transform: translateY(4px) scale(.996); }
.portfolio-show-slider {
  position: relative;
  height: 100%;
  display: grid;
  place-items: center;
  overflow: visible;
}
.portfolio-main-slide,
.portfolio-side-preview {
  position: absolute;
  overflow: hidden;
  background: #232323;
  border: 1px solid rgba(255,255,255,.08);
  box-shadow: 0 34px 90px rgba(0,0,0,.42);
}
.portfolio-main-slide {
  inset: 0 72px 0 72px;
  border-radius: 36px;
  cursor: pointer;
  outline: none;
  isolation: isolate;
}
.portfolio-main-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 42%, rgba(0,0,0,.68) 100%);
  z-index: 1;
  pointer-events: none;
}
.portfolio-main-slide img,
.portfolio-side-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.01);
}
.portfolio-main-slide img { transition: transform .75s ease, filter .75s ease; }
.portfolio-main-slide:hover img,
.portfolio-main-slide:focus-visible img { transform: scale(1.055); filter: saturate(1.08) contrast(1.04); }
.portfolio-side-preview {
  width: 36%;
  height: 74%;
  top: 13%;
  border-radius: 30px;
  opacity: .46;
  filter: saturate(.8) brightness(.72);
  pointer-events: none;
}
.portfolio-side-preview--right { right: -92px; transform: rotate(-5deg) scale(.92); }
.portfolio-side-preview--left { left: -92px; transform: rotate(5deg) scale(.92); }
.portfolio-main-caption {
  position: absolute;
  right: 28px;
  left: 28px;
  bottom: 24px;
  z-index: 2;
  color: #fff;
  text-shadow: 0 8px 28px rgba(0,0,0,.45);
}
.portfolio-main-caption span {
  display: inline-flex;
  margin-bottom: 10px;
  padding: 6px 12px;
  border-radius: 999px;
  color: #171717;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  font-size: 12px;
  font-weight: 900;
  text-shadow: none;
}
.portfolio-main-caption strong {
  display: block;
  font-size: clamp(22px, 3.4vw, 36px);
  line-height: 1.5;
  font-weight: 900;
}
.portfolio-main-caption small { display: block; color: rgba(255,255,255,.78); font-weight: 700; }
.portfolio-arrow {
  width: 58px;
  height: 58px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: rgba(255,255,255,.94);
  box-shadow: none;
  font-size: 74px;
  text-shadow: 0 12px 30px rgba(0,0,0,.38);
}
.portfolio-arrow:hover { background: transparent; color: var(--accent); transform: translateY(-50%) scale(1.08); }
.portfolio-prev { right: 28px; }
.portfolio-next { left: 28px; }
.portfolio-bottom { margin-top: 26px; }
.portfolio-dots { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.12); box-shadow: none; }
.portfolio-dots button { background: rgba(255,255,255,.28); }
.portfolio-dots button.active { background: var(--accent-2); width: 30px; }

@media (max-width: 900px) {
  .portfolio-stage { min-height: 390px; }
  .portfolio-mosaic { height: 390px; min-height: 390px; }
  .portfolio-main-slide { inset: 0 28px; border-radius: 30px; }
  .portfolio-side-preview { display: none; }
  .portfolio-prev { right: 18px; }
  .portfolio-next { left: 18px; }
  .portfolio-arrow { font-size: 62px; }
}
@media (max-width: 520px) {
  h1 { font-size: 28px; }
  h2 { font-size: 23px; }
  .portfolio-showcase-section { padding: 64px 0 76px; }
  .portfolio-title-block strong { letter-spacing: 4px; }
  .portfolio-stage { min-height: 300px; }
  .portfolio-mosaic { height: 300px; min-height: 300px; }
  .portfolio-main-slide { inset: 0; border-radius: 26px; }
  .portfolio-main-caption { right: 18px; left: 18px; bottom: 18px; }
  .portfolio-main-caption strong { font-size: 21px; }
  .portfolio-arrow { width: 42px; height: 42px; font-size: 50px; top: 48%; }
  .portfolio-prev { right: 8px; }
  .portfolio-next { left: 8px; }
  .portfolio-bottom { margin-top: 20px; }
}

/* V23 - full mobile responsive repair and layout hardening */
html,
body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden !important;
}

body {
  min-width: 320px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

*,
*::before,
*::after {
  min-width: 0;
}

img,
video,
iframe,
svg {
  max-width: 100%;
}

.container {
  max-width: 100%;
}

h1,
h2,
h3,
h4,
.brand-text strong,
.section-head h2,
.portfolio-title-block h2,
.intro-video-copy h2,
.team-head h2,
.review-panel-head h3 {
  word-break: normal !important;
  overflow-wrap: break-word !important;
  hyphens: none !important;
}

.header {
  width: 100%;
  max-width: 100vw;
}

.navbar,
.header-actions,
.brand,
.brand-text {
  min-width: 0;
}

.nav-menu {
  max-width: calc(100vw - 24px);
}

/* Portfolio slider: stable desktop/tablet layout */
.portfolio-showcase-section {
  overflow: hidden !important;
  padding: clamp(56px, 7vw, 86px) 0 clamp(64px, 8vw, 92px) !important;
}

.portfolio-showcase-section .container {
  width: min(100% - 28px, 1180px) !important;
}

.portfolio-title-block {
  width: 100% !important;
  max-width: 920px !important;
  margin: 0 auto 30px !important;
  align-items: center !important;
}

.portfolio-title-block > div {
  min-width: 0 !important;
  max-width: 100% !important;
}

.portfolio-title-block strong {
  display: block !important;
  white-space: normal !important;
  word-break: normal !important;
  overflow-wrap: break-word !important;
}

.portfolio-title-block h2 {
  white-space: normal !important;
  word-break: normal !important;
  overflow-wrap: break-word !important;
  max-width: 100% !important;
}

.portfolio-stage {
  width: min(920px, 100%) !important;
  max-width: 100% !important;
  margin-inline: auto !important;
  min-height: clamp(330px, 48vw, 470px) !important;
  overflow: visible !important;
}

.portfolio-mosaic {
  width: 100% !important;
  height: clamp(330px, 48vw, 470px) !important;
  min-height: clamp(330px, 48vw, 470px) !important;
  overflow: visible !important;
}

.portfolio-show-slider {
  width: 100% !important;
  height: 100% !important;
}

.portfolio-main-slide {
  max-width: 100% !important;
}

.portfolio-main-caption {
  pointer-events: none;
}

.portfolio-main-caption strong,
.portfolio-main-caption small,
.portfolio-main-caption span {
  word-break: normal !important;
  overflow-wrap: break-word !important;
}

.portfolio-bottom {
  max-width: 920px !important;
  margin-inline: auto !important;
}

/* General responsive grids */
@media (max-width: 980px) {
  .container,
  .portfolio-showcase-section .container {
    width: min(100% - 24px, var(--container)) !important;
  }

  .portfolio-title-block {
    display: block !important;
    text-align: center !important;
    max-width: 760px !important;
    margin-bottom: 24px !important;
  }

  .portfolio-title-block > span {
    display: none !important;
  }

  .portfolio-title-block strong {
    letter-spacing: 0 !important;
    font-size: 13px !important;
    line-height: 1.9 !important;
    color: rgba(255,255,255,.68) !important;
    margin-bottom: 8px !important;
  }

  .portfolio-title-block h2 {
    font-size: clamp(25px, 5.8vw, 34px) !important;
    line-height: 1.55 !important;
    margin: 0 !important;
  }

  .portfolio-stage {
    min-height: 380px !important;
  }

  .portfolio-mosaic {
    height: 380px !important;
    min-height: 380px !important;
  }

  .portfolio-main-slide {
    inset: 0 22px !important;
    border-radius: 30px !important;
  }

  .portfolio-side-preview {
    display: none !important;
  }

  .portfolio-prev { right: 14px !important; }
  .portfolio-next { left: 14px !important; }
}

@media (max-width: 760px) {
  .container,
  .portfolio-showcase-section .container {
    width: min(100% - 20px, var(--container)) !important;
  }

  .section {
    padding: 52px 0 !important;
  }

  .navbar {
    min-height: 64px !important;
    gap: 8px !important;
    padding: 7px 0 !important;
  }

  .brand {
    max-width: calc(100vw - 132px) !important;
    gap: 8px !important;
  }

  .brand-mark {
    width: 40px !important;
    height: 40px !important;
    border-radius: 14px !important;
  }

  .brand-mark svg {
    width: 24px !important;
    height: 24px !important;
  }

  .brand-text strong {
    display: block !important;
    max-width: 170px !important;
    font-size: 14.5px !important;
    line-height: 1.35 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }

  .brand-text small {
    display: none !important;
  }

  .header-actions {
    flex: 0 0 auto !important;
    gap: 7px !important;
  }

  .theme-toggle,
  .mobile-toggle {
    width: 40px !important;
    height: 40px !important;
    border-radius: 14px !important;
    flex: 0 0 auto !important;
  }

  .header-actions .btn {
    display: none !important;
  }

  .mobile-toggle {
    display: inline-flex !important;
  }

  .nav-menu {
    display: none !important;
  }

  h1 {
    font-size: clamp(27px, 8vw, 36px) !important;
    line-height: 1.55 !important;
  }

  h2,
  .section-head h2 {
    font-size: clamp(23px, 6.2vw, 31px) !important;
    line-height: 1.6 !important;
  }

  h3 {
    font-size: 18px !important;
    line-height: 1.65 !important;
  }

  .lead,
  p {
    font-size: 14.5px;
    line-height: 2;
  }

  .btn {
    width: 100% !important;
    min-height: 46px !important;
    padding-inline: 14px !important;
    white-space: normal !important;
    text-align: center !important;
  }

  .hero--construction {
    padding: 32px 0 44px !important;
    border-radius: 0 0 26px 26px !important;
  }

  .hero--construction .hero-content {
    text-align: center !important;
  }

  .hero-actions {
    display: grid !important;
    grid-template-columns: 1fr !important;
    width: 100% !important;
    gap: 9px !important;
  }

  .hero--construction .hero-trust {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 7px !important;
    width: 100% !important;
  }

  .hero--construction .trust-card {
    padding: 10px 6px !important;
    border-radius: 15px !important;
  }

  .hero--construction .trust-card strong {
    font-size: 17px !important;
  }

  .hero--construction .trust-card span {
    font-size: 10px !important;
    line-height: 1.7 !important;
  }

  .portfolio-showcase-section {
    padding: 54px 0 62px !important;
  }

  .portfolio-title-block {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    margin-bottom: 20px !important;
    text-align: center !important;
  }

  .portfolio-title-block strong {
    letter-spacing: 0 !important;
    font-size: 12.5px !important;
    line-height: 1.8 !important;
    padding-inline: 6px !important;
  }

  .portfolio-title-block h2 {
    font-size: clamp(24px, 7vw, 30px) !important;
    line-height: 1.55 !important;
    text-align: center !important;
    margin: 0 auto !important;
    max-width: 100% !important;
  }

  .portfolio-stage {
    width: 100% !important;
    min-height: 315px !important;
    margin-top: 0 !important;
  }

  .portfolio-mosaic {
    height: 315px !important;
    min-height: 315px !important;
    contain: none !important;
  }

  .portfolio-main-slide {
    inset: 0 !important;
    border-radius: 24px !important;
  }

  .portfolio-main-caption {
    right: 16px !important;
    left: 16px !important;
    bottom: 16px !important;
    text-align: right !important;
  }

  .portfolio-main-caption span {
    font-size: 11px !important;
    padding: 5px 10px !important;
    margin-bottom: 7px !important;
  }

  .portfolio-main-caption strong {
    font-size: 20px !important;
    line-height: 1.6 !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
  }

  .portfolio-main-caption small {
    font-size: 12px !important;
  }

  .portfolio-arrow {
    top: 50% !important;
    width: 42px !important;
    height: 42px !important;
    border-radius: 50% !important;
    background: rgba(255,255,255,.92) !important;
    color: #102b29 !important;
    border: 1px solid rgba(255,255,255,.42) !important;
    box-shadow: 0 12px 26px rgba(0,0,0,.18) !important;
    font-size: 34px !important;
    line-height: 38px !important;
    text-shadow: none !important;
    transform: translateY(-50%) !important;
  }

  .portfolio-arrow:hover {
    transform: translateY(-50%) !important;
    background: var(--accent) !important;
  }

  .portfolio-prev { right: 9px !important; }
  .portfolio-next { left: 9px !important; }

  .portfolio-bottom {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 14px !important;
    margin-top: 18px !important;
    width: 100% !important;
  }

  .portfolio-dots {
    justify-self: center !important;
  }

  .portfolio-bottom .btn {
    width: 100% !important;
  }

  .section-head,
  .about-box,
  .contact-grid,
  .intro-video-box,
  .reviews-shell,
  .footer-hub-grid,
  .social-dev-grid,
  .cta-box {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 22px !important;
  }

  .service-grid,
  .projects-grid,
  .testimonial-grid,
  .feature-grid,
  .process,
  .stats-grid,
  .footer-grid,
  .form-grid,
  .check-list,
  .review-form-grid {
    grid-template-columns: 1fr !important;
  }

  .section-head {
    align-items: start !important;
    text-align: right !important;
  }

  .section-head .btn {
    justify-self: stretch !important;
  }

  .card,
  .service-card,
  .testimonial-card,
  .process-card,
  .feature-card,
  .form-card,
  .info-card,
  .reviews-copy,
  .reviews-slider-card,
  .reviews-action-card,
  .footer-social-card,
  .developer-profile-card {
    border-radius: 22px !important;
  }

  .project-card.card,
  .featured-work-card.card {
    padding: 0 !important;
  }

  .project-card {
    min-height: auto !important;
  }

  .project-thumb {
    height: 210px !important;
  }

  .intro-video-player {
    width: 100% !important;
    border-radius: 22px !important;
  }

  .intro-video-player video {
    aspect-ratio: 16 / 10 !important;
    min-height: 0 !important;
  }

  .team-viewport {
    width: calc(100% - 64px) !important;
  }

  .team-card {
    flex-basis: 100% !important;
  }

  .footer-bottom {
    flex-direction: column !important;
    text-align: center !important;
    align-items: center !important;
  }

  .floating-menu-fab,
  .review-fab,
  .to-top {
    bottom: calc(12px + env(safe-area-inset-bottom, 0px)) !important;
    height: 40px !important;
    border-radius: 14px !important;
  }

  .floating-menu-fab {
    right: 12px !important;
  }

  .review-fab {
    left: 12px !important;
    min-width: 90px !important;
  }

  .to-top {
    left: auto !important;
    right: 62px !important;
    width: 40px !important;
  }

  .nav-drawer.premium-site-menu,
  .nav-drawer {
    width: min(100vw - 8px, 420px) !important;
    max-width: calc(100vw - 8px) !important;
    border-radius: 24px 0 0 24px !important;
    padding: 10px !important;
  }

  .drawer-service-pills-pro,
  .drawer-service-pills,
  .drawer-plus-stats,
  .drawer-status-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .drawer-plus-stats span:last-child,
  .drawer-status-grid span:last-child {
    grid-column: 1 / -1;
  }

  .drawer-main-actions-pro,
  .drawer-main-actions {
    grid-template-columns: 1fr !important;
  }

  .drawer-links-pro .drawer-link,
  .drawer-links-premium .drawer-link,
  .drawer-link {
    min-height: 58px !important;
  }
}

@media (max-width: 480px) {
  .container,
  .portfolio-showcase-section .container {
    width: min(100% - 16px, var(--container)) !important;
  }

  .brand {
    max-width: calc(100vw - 118px) !important;
  }

  .brand-text strong {
    max-width: 136px !important;
    font-size: 13.5px !important;
  }

  .portfolio-stage {
    min-height: 278px !important;
  }

  .portfolio-mosaic {
    height: 278px !important;
    min-height: 278px !important;
  }

  .portfolio-title-block h2 {
    font-size: 23px !important;
  }

  .portfolio-main-caption strong {
    font-size: 18px !important;
  }

  .portfolio-main-caption small {
    display: none !important;
  }

  .portfolio-arrow {
    width: 38px !important;
    height: 38px !important;
    font-size: 30px !important;
    line-height: 34px !important;
  }

  .project-thumb {
    height: 190px !important;
  }

  .hero--construction .hero-trust {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 360px) {
  .brand-text strong {
    max-width: 112px !important;
  }

  .theme-toggle,
  .mobile-toggle {
    width: 38px !important;
    height: 38px !important;
  }

  .portfolio-stage {
    min-height: 248px !important;
  }

  .portfolio-mosaic {
    height: 248px !important;
    min-height: 248px !important;
  }
}

/* =========================================================
   V23 - Smaller and cleaner title sizes across site/admin
   هدف: تیترها در موبایل و دسکتاپ درشت و سنگین دیده نشوند.
   ========================================================= */
:root{
  --v23-h1: clamp(26px, 3.15vw, 38px);
  --v23-h2: clamp(21px, 2.25vw, 29px);
  --v23-h3: clamp(18px, 1.65vw, 23px);
}

h1,
.hero-title,
.hero--construction h1{
  font-size: var(--v23-h1) !important;
  line-height: 1.65 !important;
  letter-spacing: -0.25px !important;
  text-wrap: balance;
}

h2,
.section-head h2,
.cta-box h2,
.footer-hub-head h2,
.developer-info h2,
.developer-profile-text h2,
.portfolio-title-block h2,
.intro-video-copy h2,
.team-head h2,
.works-strip-copy h2{
  font-size: var(--v23-h2) !important;
  line-height: 1.7 !important;
  letter-spacing: -0.15px !important;
  text-wrap: balance;
}

h3,
.card h3,
.service-card h3,
.project-card h3,
.feature-card h3,
.process-card h3,
.info-card h3{
  font-size: var(--v23-h3) !important;
  line-height: 1.65 !important;
}

.section-kicker,
.portfolio-title-block strong{
  font-size: 13px !important;
  letter-spacing: 2.5px !important;
}

.hero--construction .hero-copy{
  gap: 14px !important;
}

@media (max-width: 992px){
  :root{
    --v23-h1: clamp(24px, 5.2vw, 34px);
    --v23-h2: clamp(20px, 4.6vw, 27px);
    --v23-h3: clamp(17px, 3.9vw, 21px);
  }
}

@media (max-width: 768px){
  :root{
    --v23-h1: clamp(22px, 6vw, 29px);
    --v23-h2: clamp(19px, 5.2vw, 24px);
    --v23-h3: clamp(16px, 4.6vw, 20px);
  }

  h1,
  .hero-title,
  .hero--construction h1{
    line-height: 1.85 !important;
    max-width: 100% !important;
  }

  h2,
  .section-head h2,
  .cta-box h2,
  .footer-hub-head h2,
  .developer-info h2,
  .developer-profile-text h2,
  .portfolio-title-block h2,
  .intro-video-copy h2,
  .team-head h2,
  .works-strip-copy h2{
    line-height: 1.8 !important;
  }

  .hero--construction .hero-copy,
  .section-head,
  .portfolio-title-block,
  .intro-video-copy,
  .team-head,
  .footer-hub-head{
    text-align: center !important;
  }

  .section-kicker,
  .portfolio-title-block strong{
    font-size: 12px !important;
    letter-spacing: 1.6px !important;
  }
}

@media (max-width: 480px){
  :root{
    --v23-h1: clamp(21px, 5.8vw, 27px);
    --v23-h2: clamp(18px, 5vw, 23px);
    --v23-h3: clamp(16px, 4.4vw, 19px);
  }

  .hero--construction h1,
  .hero-title{
    font-size: clamp(21px, 5.7vw, 26px) !important;
    line-height: 1.9 !important;
  }

  .portfolio-title-block h2,
  .intro-video-copy h2,
  .team-head h2,
  .section-head h2,
  .works-strip-copy h2{
    font-size: clamp(18px, 5vw, 22px) !important;
  }
}

/* v24: removed stats widgets */
.hero-trust, .stats-band { display: none !important; }


/* v25: compact horizontal mobile project cards */
@media (max-width: 768px) {
  body[data-page="home"] #projectsGrid.projects-grid {
    display: grid !important;
    grid-template-columns: none !important;
    grid-auto-flow: column !important;
    grid-auto-columns: clamp(220px, 62vw, 280px) !important;
    gap: 12px !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    scroll-snap-type: x mandatory !important;
    overscroll-behavior-inline: contain !important;
    -webkit-overflow-scrolling: touch !important;
    padding: 4px 12px 16px !important;
    margin-inline: -12px !important;
    scrollbar-width: thin;
    scrollbar-color: rgba(10, 64, 58, .45) rgba(10, 64, 58, .08);
    align-items: stretch !important;
  }

  body[data-page="home"] #projectsGrid.projects-grid::-webkit-scrollbar { height: 7px; }
  body[data-page="home"] #projectsGrid.projects-grid::-webkit-scrollbar-track {
    background: rgba(10, 64, 58, .07);
    border-radius: 999px;
  }
  body[data-page="home"] #projectsGrid.projects-grid::-webkit-scrollbar-thumb {
    background: rgba(10, 64, 58, .42);
    border-radius: 999px;
  }

  body[data-page="home"] #projectsGrid .project-card {
    scroll-snap-align: start !important;
    min-height: 0 !important;
    border-radius: 24px !important;
    box-shadow: 0 10px 26px rgba(10, 64, 58, .09) !important;
    background: color-mix(in srgb, var(--surface) 96%, transparent) !important;
    border: 1px solid rgba(10, 64, 58, .10) !important;
    transform: none !important;
  }

  body[data-page="home"] #projectsGrid .project-card:hover {
    transform: none !important;
    box-shadow: 0 10px 26px rgba(10, 64, 58, .11) !important;
  }

  body[data-page="home"] #projectsGrid .project-thumb {
    height: 128px !important;
    border-radius: 24px 24px 0 0 !important;
  }

  body[data-page="home"] #projectsGrid .project-thumb img {
    transform: none !important;
  }

  body[data-page="home"] #projectsGrid .project-tag {
    top: 10px !important;
    right: 10px !important;
    padding: 5px 10px !important;
    font-size: 10.5px !important;
    background: rgba(255,255,255,.88) !important;
    backdrop-filter: blur(8px);
  }

  body[data-page="home"] #projectsGrid .project-body {
    padding: 13px 14px 14px !important;
    gap: 8px !important;
  }

  body[data-page="home"] #projectsGrid .project-body h3 {
    font-size: 15.5px !important;
    line-height: 1.65 !important;
    margin: 0 !important;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  body[data-page="home"] #projectsGrid .project-body p {
    display: none !important;
  }

  body[data-page="home"] #projectsGrid .project-meta {
    margin-top: 2px !important;
    gap: 6px !important;
    font-size: 11px !important;
    flex-wrap: nowrap !important;
    overflow: hidden !important;
  }

  body[data-page="home"] #projectsGrid .project-meta span {
    padding: 5px 8px !important;
    white-space: nowrap !important;
    max-width: 92px !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    background: rgba(10, 64, 58, .055) !important;
  }

  body[data-page="home"] #projectsGrid .project-meta span:nth-child(2) {
    display: none !important;
  }

  body[data-page="home"] #projectsGrid .project-more {
    display: none !important;
  }
}

@media (max-width: 430px) {
  body[data-page="home"] #projectsGrid.projects-grid {
    grid-auto-columns: clamp(205px, 66vw, 250px) !important;
    gap: 10px !important;
  }

  body[data-page="home"] #projectsGrid .project-thumb {
    height: 116px !important;
  }

  body[data-page="home"] #projectsGrid .project-body {
    padding: 12px 12px 13px !important;
  }

  body[data-page="home"] #projectsGrid .project-body h3 {
    font-size: 14.5px !important;
  }
}

/* v26: compact horizontal mobile service cards on homepage */
@media (max-width: 768px) {
  body[data-page="home"] #servicesGrid.service-grid {
    display: grid !important;
    grid-template-columns: none !important;
    grid-auto-flow: column !important;
    grid-auto-columns: clamp(218px, 64vw, 270px) !important;
    gap: 12px !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    scroll-snap-type: x mandatory !important;
    overscroll-behavior-inline: contain !important;
    -webkit-overflow-scrolling: touch !important;
    padding: 4px 12px 16px !important;
    margin-inline: -12px !important;
    align-items: stretch !important;
    scrollbar-width: thin;
    scrollbar-color: rgba(10, 64, 58, .45) rgba(10, 64, 58, .08);
  }

  body[data-page="home"] #servicesGrid.service-grid::-webkit-scrollbar { height: 7px; }
  body[data-page="home"] #servicesGrid.service-grid::-webkit-scrollbar-track {
    background: rgba(10, 64, 58, .07);
    border-radius: 999px;
  }
  body[data-page="home"] #servicesGrid.service-grid::-webkit-scrollbar-thumb {
    background: rgba(10, 64, 58, .42);
    border-radius: 999px;
  }

  body[data-page="home"] #servicesGrid .service-card {
    scroll-snap-align: start !important;
    min-height: 190px !important;
    height: auto !important;
    padding: 15px 15px 14px !important;
    border-radius: 24px !important;
    box-shadow: 0 10px 26px rgba(10, 64, 58, .09) !important;
    background: color-mix(in srgb, var(--surface) 96%, transparent) !important;
    border: 1px solid rgba(10, 64, 58, .10) !important;
    transform: none !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
  }

  body[data-page="home"] #servicesGrid .service-card:hover {
    transform: none !important;
    box-shadow: 0 10px 26px rgba(10, 64, 58, .11) !important;
  }

  body[data-page="home"] #servicesGrid .service-card::before {
    width: 92px !important;
    height: 92px !important;
    left: -48px !important;
    top: -44px !important;
    background: rgba(248, 215, 103, .18) !important;
  }

  body[data-page="home"] #servicesGrid .service-card__head {
    gap: 10px !important;
    margin-bottom: 10px !important;
    align-items: center !important;
  }

  body[data-page="home"] #servicesGrid .icon-box {
    width: 46px !important;
    height: 46px !important;
    border-radius: 16px !important;
  }

  body[data-page="home"] #servicesGrid .icon-box svg {
    width: 22px !important;
    height: 22px !important;
  }

  body[data-page="home"] #servicesGrid .service-card h3 {
    font-size: 15.5px !important;
    line-height: 1.65 !important;
    margin: 0 !important;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  body[data-page="home"] #servicesGrid .service-card p {
    font-size: 12.5px !important;
    line-height: 1.9 !important;
    margin: 0 !important;
    color: var(--muted) !important;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  body[data-page="home"] #servicesGrid .service-card ul {
    margin: 10px 0 0 !important;
    display: grid !important;
    gap: 5px !important;
  }

  body[data-page="home"] #servicesGrid .service-card li {
    margin: 0 !important;
    font-size: 11.5px !important;
    line-height: 1.6 !important;
    gap: 6px !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }

  body[data-page="home"] #servicesGrid .service-card li:nth-child(n+3) {
    display: none !important;
  }
}

@media (max-width: 430px) {
  body[data-page="home"] #servicesGrid.service-grid {
    grid-auto-columns: clamp(202px, 68vw, 246px) !important;
    gap: 10px !important;
  }

  body[data-page="home"] #servicesGrid .service-card {
    min-height: 176px !important;
    padding: 13px 13px 12px !important;
    border-radius: 22px !important;
  }

  body[data-page="home"] #servicesGrid .icon-box {
    width: 42px !important;
    height: 42px !important;
    border-radius: 14px !important;
  }

  body[data-page="home"] #servicesGrid .service-card h3 {
    font-size: 14.5px !important;
  }

  body[data-page="home"] #servicesGrid .service-card p {
    font-size: 12px !important;
  }
}

/* =========================================================
   v29: compact horizontal mobile process cards on homepage
   هدف: بخش روند همکاری در موبایل مثل خدمات و نمونه‌کارها جمع‌وجور، شیک و اسکرولی شود.
   ========================================================= */
@media (max-width: 768px) {
  body[data-page="home"] .process {
    display: grid !important;
    grid-template-columns: none !important;
    grid-auto-flow: column !important;
    grid-auto-columns: clamp(205px, 62vw, 260px) !important;
    gap: 12px !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    scroll-snap-type: x mandatory !important;
    overscroll-behavior-inline: contain !important;
    -webkit-overflow-scrolling: touch !important;
    padding: 4px 12px 16px !important;
    margin-inline: -12px !important;
    align-items: stretch !important;
    scrollbar-width: thin;
    scrollbar-color: rgba(10, 64, 58, .45) rgba(10, 64, 58, .08);
  }

  body[data-page="home"] .process::-webkit-scrollbar { height: 7px; }
  body[data-page="home"] .process::-webkit-scrollbar-track {
    background: rgba(10, 64, 58, .07);
    border-radius: 999px;
  }
  body[data-page="home"] .process::-webkit-scrollbar-thumb {
    background: rgba(10, 64, 58, .42);
    border-radius: 999px;
  }

  body[data-page="home"] .process-card {
    scroll-snap-align: start !important;
    min-height: 158px !important;
    height: auto !important;
    padding: 15px 15px 14px !important;
    border-radius: 24px !important;
    box-shadow: 0 10px 26px rgba(10, 64, 58, .09) !important;
    background: color-mix(in srgb, var(--surface) 96%, transparent) !important;
    border: 1px solid rgba(10, 64, 58, .10) !important;
    transform: none !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
  }

  body[data-page="home"] .process-card:hover {
    transform: none !important;
    box-shadow: 0 10px 26px rgba(10, 64, 58, .11) !important;
  }

  body[data-page="home"] .process-card::before {
    width: 42px !important;
    height: 42px !important;
    border-radius: 15px !important;
    margin-bottom: 12px !important;
    font-size: 14px !important;
    flex: 0 0 auto !important;
  }

  body[data-page="home"] .process-card h3 {
    font-size: 15.5px !important;
    line-height: 1.65 !important;
    margin: 0 0 7px !important;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  body[data-page="home"] .process-card p {
    font-size: 12.5px !important;
    line-height: 1.9 !important;
    margin: 0 !important;
    color: var(--muted) !important;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
}

@media (max-width: 430px) {
  body[data-page="home"] .process {
    grid-auto-columns: clamp(190px, 66vw, 238px) !important;
    gap: 10px !important;
  }

  body[data-page="home"] .process-card {
    min-height: 148px !important;
    padding: 13px 13px 12px !important;
    border-radius: 22px !important;
  }

  body[data-page="home"] .process-card::before {
    width: 38px !important;
    height: 38px !important;
    border-radius: 14px !important;
    margin-bottom: 10px !important;
    font-size: 13px !important;
  }

  body[data-page="home"] .process-card h3 {
    font-size: 14.5px !important;
  }

  body[data-page="home"] .process-card p {
    font-size: 12px !important;
  }
}

/* =========================================================
   v29: remove extra vertical gap between About and Process on homepage
   هدف: فاصله خالی بین دکمه «بیشتر درباره ما» و بخش «روند همکاری» کمتر و طبیعی‌تر شود.
   ========================================================= */
body[data-page="home"] .home-about-section {
  padding-bottom: clamp(34px, 4.5vw, 54px) !important;
}

body[data-page="home"] .home-process-section {
  padding-top: clamp(34px, 4.5vw, 54px) !important;
}

@media (min-width: 769px) {
  body[data-page="home"] .home-about-section .about-media {
    min-height: 360px !important;
  }
}

@media (max-width: 768px) {
  body[data-page="home"] .home-about-section {
    padding-bottom: 30px !important;
  }

  body[data-page="home"] .home-process-section {
    padding-top: 34px !important;
  }
}

/* =========================================================
   v30: Global spacing clean-up
   هدف: حذف فاصله‌های سفید و کشیده بین بخش‌ها در کل سایت، مخصوصاً صفحه اصلی.
   ========================================================= */
.section {
  padding-block: clamp(50px, 5vw, 72px) !important;
}

.section-head {
  margin-bottom: clamp(20px, 2.4vw, 30px) !important;
}

body[data-page="home"] main > .section {
  padding-block: clamp(44px, 4.2vw, 62px) !important;
}

body[data-page="home"] main > .section + .section {
  padding-top: clamp(28px, 3vw, 42px) !important;
}

body[data-page="home"] .section--soft + .section,
body[data-page="home"] .section + .section--soft {
  padding-top: clamp(30px, 3.2vw, 46px) !important;
}

body[data-page="home"] .portfolio-showcase-section {
  padding-block: clamp(48px, 5vw, 70px) !important;
}

body[data-page="home"] .intro-video-section {
  padding-block: clamp(48px, 5vw, 68px) !important;
}

body[data-page="home"] .home-about-section {
  padding-top: clamp(38px, 3.8vw, 54px) !important;
  padding-bottom: clamp(30px, 3vw, 42px) !important;
}

body[data-page="home"] .home-process-section {
  padding-top: clamp(30px, 3vw, 42px) !important;
  padding-bottom: clamp(44px, 4.2vw, 60px) !important;
}

body[data-page="home"] .team-section,
body[data-page="home"] .reviews-section,
body[data-page="home"] .footer-hub-section {
  padding-block: clamp(48px, 4.6vw, 68px) !important;
}

body[data-page="home"] .about-box {
  gap: clamp(24px, 3vw, 38px) !important;
}

body[data-page="home"] .stats-band {
  display: none !important;
}

@media (min-width: 769px) {
  body[data-page="home"] .home-about-section .about-media {
    min-height: 320px !important;
  }

  body[data-page="home"] #projectsGrid,
  body[data-page="home"] #servicesGrid,
  body[data-page="home"] .process {
    margin-bottom: 0 !important;
  }
}

@media (max-width: 768px) {
  .section {
    padding-block: 40px !important;
  }

  .section-head {
    margin-bottom: 18px !important;
    gap: 12px !important;
  }

  body[data-page="home"] main > .section,
  body[data-page="home"] .portfolio-showcase-section,
  body[data-page="home"] .intro-video-section,
  body[data-page="home"] .team-section,
  body[data-page="home"] .reviews-section,
  body[data-page="home"] .footer-hub-section {
    padding-block: 38px !important;
  }

  body[data-page="home"] main > .section + .section,
  body[data-page="home"] .section--soft + .section,
  body[data-page="home"] .section + .section--soft,
  body[data-page="home"] .home-process-section,
  body[data-page="home"] .home-about-section {
    padding-top: 30px !important;
  }

  body[data-page="home"] .home-about-section {
    padding-bottom: 26px !important;
  }

  body[data-page="home"] .home-process-section {
    padding-bottom: 38px !important;
  }

  body[data-page="home"] .about-media {
    min-height: 260px !important;
  }
}

@media (max-width: 480px) {
  .section {
    padding-block: 34px !important;
  }

  .section-head {
    margin-bottom: 16px !important;
  }

  body[data-page="home"] main > .section,
  body[data-page="home"] .portfolio-showcase-section,
  body[data-page="home"] .intro-video-section,
  body[data-page="home"] .team-section,
  body[data-page="home"] .reviews-section,
  body[data-page="home"] .footer-hub-section {
    padding-block: 34px !important;
  }

  body[data-page="home"] main > .section + .section,
  body[data-page="home"] .home-process-section,
  body[data-page="home"] .home-about-section {
    padding-top: 24px !important;
  }

  body[data-page="home"] .home-about-section {
    padding-bottom: 22px !important;
  }
}


/* =========================================================
   v32: Dedicated editable footer contact info
   هدف: ریزتنظیم نهایی فاصله‌ها، خوانایی، موبایل، کارت‌ها و حرکت‌ها با حفظ طراحی فعلی.
   ========================================================= */
:root {
  --section-tight: clamp(34px, 4.2vw, 58px);
  --card-border: rgba(10, 64, 58, .105);
}

html { scrollbar-gutter: stable; }
body { text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; }

body:not(.menu-open) .header { will-change: box-shadow, background; }

h1, h2, h3, .section-head, .portfolio-title-block, .team-head, .intro-video-copy {
  text-wrap: balance;
}
p, .lead, .service-card p, .project-card p, .process-card p { text-wrap: pretty; }

.section-head { align-items: center !important; }
.section-head .lead { max-width: 720px; }

.card, .project-card, .service-card, .process-card, .testimonial-card, .user-review-card {
  border-color: var(--card-border) !important;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease, background .2s ease;
}
@media (hover:hover) and (pointer:fine) {
  .card:hover, .project-card:hover, .service-card:hover, .process-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 42px rgba(10, 64, 58, .11) !important;
  }
}

.project-thumb img,
.portfolio-main-slide img,
.portfolio-side-preview img,
.about-media,
.intro-video-player video {
  backface-visibility: hidden;
  transform: translateZ(0);
}

.projects-grid, .service-grid, .process {
  scroll-behavior: smooth;
}

body[data-page="home"] .portfolio-showcase-section + .intro-video-section,
body[data-page="home"] .intro-video-section + .section,
body[data-page="home"] #projectsGrid,
body[data-page="home"] #servicesGrid,
body[data-page="home"] .process {
  margin-top: 0 !important;
}

@media (min-width: 769px) {
  body[data-page="home"] main > .section,
  body[data-page="home"] .portfolio-showcase-section,
  body[data-page="home"] .intro-video-section,
  body[data-page="home"] .team-section,
  body[data-page="home"] .reviews-section,
  body[data-page="home"] .footer-hub-section {
    padding-block: var(--section-tight) !important;
  }

  body[data-page="home"] main > .section + .section {
    padding-top: clamp(24px, 2.7vw, 38px) !important;
  }

  .projects-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .service-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .process { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (max-width: 768px) {
  body { padding-bottom: calc(76px + env(safe-area-inset-bottom, 0px)); }
  .container { width: min(100% - 22px, var(--container)); }

  h1 { font-size: clamp(25px, 7.4vw, 34px) !important; line-height: 1.55 !important; }
  h2 { font-size: clamp(20px, 5.8vw, 27px) !important; line-height: 1.65 !important; }
  h3 { font-size: clamp(15px, 4.3vw, 18px) !important; line-height: 1.75 !important; }
  .lead { font-size: 14px !important; line-height: 2.05 !important; }
  .eyebrow { font-size: 11.5px !important; padding: 6px 12px !important; }

  .section-head {
    display: grid !important;
    justify-items: center !important;
    text-align: center !important;
  }
  .section-head .btn { justify-self: stretch !important; }

  body[data-page="home"] #projectsGrid,
  body[data-page="home"] #servicesGrid,
  body[data-page="home"] .process {
    position: relative;
    mask-image: linear-gradient(90deg, transparent 0, #000 18px, #000 calc(100% - 18px), transparent 100%);
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 18px, #000 calc(100% - 18px), transparent 100%);
    scroll-padding-inline: 12px;
  }

  body[data-page="home"] #projectsGrid .project-card,
  body[data-page="home"] #servicesGrid .service-card,
  body[data-page="home"] .process-card {
    background: linear-gradient(145deg, color-mix(in srgb, var(--surface) 98%, transparent), color-mix(in srgb, var(--surface-2) 92%, transparent)) !important;
  }

  body[data-page="home"] #projectsGrid .project-card:active,
  body[data-page="home"] #servicesGrid .service-card:active,
  body[data-page="home"] .process-card:active {
    transform: scale(.985) !important;
  }

  .project-thumb { border-radius: 20px 20px 14px 14px !important; overflow: hidden; }
  body[data-page="home"] #projectsGrid .project-body,
  body[data-page="home"] #servicesGrid .service-card,
  body[data-page="home"] .process-card { text-align: right !important; }

  .floating-menu-fab { box-shadow: 0 16px 38px rgba(10, 64, 58, .20) !important; }
  .review-fab, .to-top, .floating-menu-fab { z-index: 75 !important; }
}

@media (max-width: 520px) {
  .navbar { min-height: 66px !important; }
  .brand-mark { width: 42px !important; height: 42px !important; border-radius: 14px !important; }
  .brand-text strong { font-size: 14px !important; }
  .brand-text small { display: none !important; }
  .theme-toggle, .mobile-toggle { width: 42px !important; height: 42px !important; }
  .header-actions .btn-primary { display: none !important; }

  .hero--construction { padding-top: 38px !important; padding-bottom: 58px !important; }
  .portfolio-title-block h2 { font-size: clamp(20px, 6vw, 26px) !important; }
  .portfolio-bottom { gap: 12px !important; }

  body[data-page="home"] main > .section,
  body[data-page="home"] .portfolio-showcase-section,
  body[data-page="home"] .intro-video-section,
  body[data-page="home"] .team-section,
  body[data-page="home"] .reviews-section,
  body[data-page="home"] .footer-hub-section {
    padding-block: 28px !important;
  }

  body[data-page="home"] main > .section + .section,
  body[data-page="home"] .home-process-section,
  body[data-page="home"] .home-about-section {
    padding-top: 18px !important;
  }

  body[data-page="home"] #projectsGrid {
    grid-auto-columns: clamp(210px, 72vw, 268px) !important;
  }
  body[data-page="home"] #servicesGrid,
  body[data-page="home"] .process {
    grid-auto-columns: clamp(190px, 66vw, 242px) !important;
  }

  .btn { min-height: 44px !important; font-size: 13px !important; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }
}

/* v33 - mobile bottom menu, quick call, shop, checkout, invoice and tickets */
.cart-mini-count{display:inline-grid;place-items:center;min-width:22px;height:22px;border-radius:999px;background:#102b29;color:#f8d767;margin-right:6px;font-size:12px}.quick-call-fab{position:fixed;left:18px;bottom:88px;z-index:950;display:flex;align-items:center;gap:8px;padding:12px 14px;border-radius:22px;background:linear-gradient(135deg,#0a403a,#097a68);color:#fff;box-shadow:0 18px 45px rgba(6,47,43,.28);font-weight:900;text-decoration:none}.quick-call-fab b{display:grid;place-items:center;width:38px;height:38px;border-radius:16px;background:#f8d767;color:#102b29}.quick-call-fab span{font-size:13px}.mobile-bottom-nav{position:fixed;left:14px;right:14px;bottom:12px;z-index:940;display:none;grid-template-columns:repeat(5,1fr);gap:6px;padding:8px;border-radius:26px;background:rgba(8,30,28,.88);backdrop-filter:blur(18px);box-shadow:0 18px 60px rgba(0,0,0,.28);border:1px solid rgba(255,255,255,.14)}.mobile-bottom-nav a{position:relative;display:flex;flex-direction:column;align-items:center;gap:3px;padding:8px 4px;border-radius:19px;color:rgba(255,255,255,.78);text-decoration:none;font-size:11px;font-weight:800}.mobile-bottom-nav a b{font-size:18px;line-height:1}.mobile-bottom-nav a.active{background:#f8d767;color:#102b29}.mobile-bottom-nav a em{position:absolute;top:2px;left:12px;min-width:18px;height:18px;border-radius:999px;background:#e85f48;color:#fff;font-style:normal;font-size:10px;display:grid;place-items:center}.shop-page{background:linear-gradient(180deg,rgba(246,250,249,.7),rgba(255,255,255,1))}.shop-hero{position:relative;overflow:hidden;padding:78px 0 72px;background:radial-gradient(circle at 15% 20%,rgba(248,215,103,.24),transparent 34%),linear-gradient(135deg,#062f2b,#0a403a 62%,#0d6b5d);color:#fff;border-radius:0 0 42px 42px}.shop-hero:after{content:"";position:absolute;inset:auto -8% -45% auto;width:420px;height:420px;border-radius:50%;background:rgba(248,215,103,.18)}.shop-hero-grid{position:relative;z-index:1;display:grid;grid-template-columns:1.55fr .75fr;gap:26px;align-items:center}.shop-hero h1{font-size:clamp(30px,5vw,58px);line-height:1.5;margin:12px 0;color:#fff}.shop-hero p{color:rgba(255,255,255,.78);font-size:17px;line-height:2}.shop-search{display:flex;gap:10px;max-width:650px;margin-top:24px}.shop-search input{flex:1;border:1px solid rgba(255,255,255,.18);background:rgba(255,255,255,.13);color:#fff;border-radius:20px;padding:16px 18px;outline:none}.shop-search input::placeholder{color:rgba(255,255,255,.62)}.shop-hero-card{border:1px solid rgba(255,255,255,.18);background:rgba(255,255,255,.12);border-radius:34px;padding:26px;box-shadow:0 25px 75px rgba(0,0,0,.2)}.shop-hero-card strong{display:block;font-size:24px;color:#fff;margin-bottom:10px}.shop-hero-card span{display:block;margin-bottom:24px;color:#f8d767;font-weight:900}.shop-section .section-head{align-items:end}.shop-category-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}.shop-category-card{display:block;overflow:hidden;border-radius:28px;background:var(--card);border:1px solid rgba(10,64,58,.1);text-decoration:none;color:var(--text);box-shadow:0 16px 45px rgba(10,64,58,.09);transition:.25s}.shop-category-card:hover,.shop-category-card.active{transform:translateY(-6px);border-color:var(--cat-color)}.shop-category-card img{width:100%;height:150px;object-fit:cover;display:block}.shop-category-card div{padding:18px}.shop-category-card b{display:grid;place-items:center;width:44px;height:44px;border-radius:16px;background:var(--cat-color);color:#102b29;margin-top:-42px;position:relative;box-shadow:0 12px 30px rgba(0,0,0,.16)}.shop-category-card strong{display:block;margin:12px 0 6px;font-size:18px;color:var(--primary-2)}.shop-category-card span{display:block;color:var(--muted);font-size:13px;line-height:1.9}.shop-product-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}.shop-product-grid.compact{grid-template-columns:repeat(4,1fr)}.product-card{overflow:hidden;border-radius:32px;background:var(--card);border:1px solid rgba(10,64,58,.09);box-shadow:0 18px 52px rgba(10,64,58,.09);transition:.25s}.product-card:hover{transform:translateY(-5px);box-shadow:0 28px 80px rgba(10,64,58,.16)}.product-card-image{display:block;background:#f4f7f6}.product-card-image img{width:100%;height:230px;object-fit:cover;display:block}.product-card-body{padding:20px}.product-category{display:inline-flex;border-radius:999px;background:rgba(10,64,58,.08);color:var(--primary);padding:7px 12px;font-size:12px;font-weight:900}.product-card h3{font-size:20px;margin:13px 0 10px}.product-card h3 a{color:var(--primary-2);text-decoration:none}.product-card p{color:var(--muted);font-size:14px;line-height:1.85;min-height:52px}.product-meta{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:14px 0}.product-meta strong{color:var(--primary-2);font-size:20px}.product-meta small,.product-stock{color:var(--muted);font-size:12px}.product-stock{margin-bottom:14px}.product-actions{display:flex;gap:9px;align-items:center}.product-actions .btn,.product-actions form{flex:1}.product-actions button,.product-actions a{width:100%;justify-content:center}.product-detail-section{padding-top:40px}.product-detail-card{display:grid;grid-template-columns:.9fr 1.1fr;gap:26px;align-items:stretch}.product-gallery,.product-detail-info,.product-info-panel,.product-reviews-box,.ticket-chat-shell,.ticket-new-card,.auth-card,.payment-card,.checkout-form,.invoice-card,.account-hero-card{background:var(--card);border-radius:34px;border:1px solid rgba(10,64,58,.1);box-shadow:0 20px 70px rgba(10,64,58,.09)}.product-gallery{padding:18px;position:relative}.product-gallery img{width:100%;height:460px;object-fit:cover;border-radius:26px;background:#f5f7f6}.product-gallery span{position:absolute;right:32px;top:32px;background:#f8d767;color:#102b29;border-radius:999px;padding:8px 14px;font-weight:900}.product-detail-info{padding:30px}.product-detail-info h1{font-size:clamp(28px,4vw,48px);line-height:1.5;margin:8px 0;color:var(--primary-2)}.product-price-box{display:flex;align-items:center;justify-content:space-between;gap:12px;background:linear-gradient(135deg,#f8d767,#e6b72e);color:#102b29;border-radius:24px;padding:18px 20px;margin:22px 0}.product-price-box strong{font-size:26px}.product-availability{padding:14px 16px;border-radius:18px;background:rgba(10,64,58,.07);margin-bottom:16px}.product-buy-form{border:1px dashed rgba(10,64,58,.18);border-radius:24px;padding:18px;margin-bottom:14px}.qty-row{display:flex;gap:10px;margin:10px 0}.qty-row input{max-width:150px}.product-tabs-grid{display:grid;grid-template-columns:1.3fr .7fr;gap:22px;margin-top:24px}.product-info-panel{padding:26px}.product-info-panel h2,.product-reviews-box h2{color:var(--primary-2)}.product-reviews-box{margin-top:24px;padding:26px}.product-review-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.product-review{border-radius:22px;background:rgba(10,64,58,.05);padding:16px}.product-review strong{display:block;color:var(--primary-2)}.product-review span{display:block;color:#e6b72e;direction:ltr;text-align:right}.product-review p{color:var(--text);line-height:1.9}.review-inline-form{margin-top:20px;border-top:1px solid rgba(10,64,58,.1);padding-top:18px}.empty-state{border:1px dashed rgba(10,64,58,.25);background:rgba(10,64,58,.04);border-radius:26px;padding:28px;text-align:center;color:var(--muted)}.alert.success{background:#e8fff4;color:#087044;border:1px solid rgba(8,112,68,.2);padding:14px 16px;border-radius:18px;margin-bottom:16px}.alert.error{background:#fff1ee;color:#a53122;border:1px solid rgba(165,49,34,.2);padding:14px 16px;border-radius:18px;margin-bottom:16px}.cart-layout,.checkout-grid{display:grid;grid-template-columns:1fr 360px;gap:24px}.cart-items{display:grid;gap:14px}.cart-item{display:grid;grid-template-columns:90px 1fr 210px 150px 80px;gap:14px;align-items:center;background:var(--card);border:1px solid rgba(10,64,58,.1);border-radius:26px;padding:14px;box-shadow:0 14px 38px rgba(10,64,58,.07)}.cart-item img{width:90px;height:80px;border-radius:20px;object-fit:cover}.cart-item h3{margin:0 0 8px;color:var(--primary-2)}.cart-item span,.cart-item small{display:block;color:var(--muted);font-size:13px}.cart-qty-form{display:flex;gap:8px}.cart-qty-form input{max-width:90px}.cart-summary{position:sticky;top:100px;align-self:start;background:linear-gradient(180deg,#0a403a,#062f2b);color:#fff;border-radius:30px;padding:24px;box-shadow:0 20px 60px rgba(6,47,43,.22)}.cart-summary strong{display:block;font-size:20px}.cart-summary>b{display:block;font-size:28px;color:#f8d767;margin:12px 0}.cart-summary p{color:rgba(255,255,255,.72);line-height:1.9}.summary-row,.summary-total{display:flex;justify-content:space-between;gap:12px;border-bottom:1px solid rgba(255,255,255,.12);padding:10px 0;color:rgba(255,255,255,.82)}.summary-total{font-size:18px;color:#fff;border-bottom:0}.checkout-form{padding:24px}.auth-section{min-height:62vh;display:grid;align-items:center}.auth-card,.payment-card,.ticket-new-card{max-width:620px;margin:auto;padding:30px}.payment-actions,.invoice-actions{display:flex;gap:12px;align-items:center;justify-content:center;flex-wrap:wrap}.orders-list,.ticket-list{display:grid;gap:14px}.order-card,.ticket-card{display:grid;grid-template-columns:1fr 1fr auto;gap:14px;align-items:center;background:var(--card);border:1px solid rgba(10,64,58,.1);border-radius:24px;padding:18px;text-decoration:none;color:var(--text);box-shadow:0 12px 34px rgba(10,64,58,.07)}.ticket-card{grid-template-columns:1fr auto}.order-card strong,.ticket-card strong{display:block;color:var(--primary-2);font-size:18px}.order-card span,.ticket-card span,.order-card small,.ticket-card small{color:var(--muted)}.order-actions{display:flex;gap:8px}.invoice-actions{justify-content:flex-end;margin-bottom:18px}.invoice-card{padding:34px}.invoice-head{display:flex;justify-content:space-between;gap:20px;align-items:center;border-bottom:1px solid rgba(10,64,58,.12);padding-bottom:22px;margin-bottom:22px}.invoice-head>div:last-child{text-align:left}.invoice-info-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin-bottom:22px}.invoice-info-grid>div{background:rgba(10,64,58,.05);border-radius:20px;padding:14px}.invoice-info-grid b,.invoice-info-grid span,.invoice-info-grid small{display:block}.invoice-info-grid b{color:var(--primary-2)}.invoice-info-grid small{color:var(--muted);line-height:1.8}.invoice-total{display:flex;justify-content:space-between;gap:12px;background:#f8d767;color:#102b29;border-radius:22px;padding:18px 20px;margin-top:18px}.invoice-total strong{font-size:24px}.account-dashboard{display:grid;grid-template-columns:.8fr 1.2fr;gap:24px}.account-hero-card{padding:30px;background:linear-gradient(135deg,#062f2b,#0a403a);color:#fff}.account-hero-card h1{color:#fff}.account-hero-card p{color:rgba(255,255,255,.75)}.account-links{display:grid;grid-template-columns:repeat(2,1fr);gap:16px}.account-links a{display:flex;flex-direction:column;gap:8px;background:var(--card);border:1px solid rgba(10,64,58,.1);box-shadow:0 14px 38px rgba(10,64,58,.07);border-radius:26px;padding:24px;text-decoration:none;color:var(--primary-2);font-size:22px;font-weight:900}.account-links span{font-size:14px;color:var(--muted);font-weight:500}.ticket-chat-shell{overflow:hidden}.ticket-chat-head{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:22px 24px;background:linear-gradient(135deg,#062f2b,#0a403a);color:#fff}.ticket-chat-head h1{color:#fff;margin:5px 0}.ticket-chat-head span,.ticket-chat-head small{color:rgba(255,255,255,.72)}.ticket-messages{min-height:360px;background:#f4f8f7;padding:24px;display:flex;flex-direction:column;gap:12px}.ticket-message{max-width:78%;border-radius:24px;padding:14px 16px;box-shadow:0 10px 30px rgba(10,64,58,.06)}.ticket-message.from-user{align-self:flex-start;background:#fff}.ticket-message.from-admin{align-self:flex-end;background:#0a403a;color:#fff}.ticket-message p{line-height:1.9;margin:6px 0}.ticket-message small{color:var(--muted)}.ticket-message.from-admin small{color:rgba(255,255,255,.65)}.ticket-reply-form{display:flex;gap:12px;padding:18px;background:#fff}.ticket-reply-form textarea{flex:1;border:1px solid rgba(10,64,58,.14);border-radius:18px;padding:14px;resize:vertical}.shop-footer-lite{margin-bottom:0}@media (max-width:1100px){.shop-category-grid{grid-template-columns:repeat(2,1fr)}.shop-product-grid,.shop-product-grid.compact{grid-template-columns:repeat(2,1fr)}.product-detail-card,.product-tabs-grid,.cart-layout,.checkout-grid,.account-dashboard{grid-template-columns:1fr}.cart-summary{position:static}.cart-item{grid-template-columns:80px 1fr}.cart-item form,.cart-item strong{grid-column:2}.invoice-info-grid{grid-template-columns:repeat(2,1fr)}}@media (max-width:760px){body{padding-bottom:96px}.mobile-bottom-nav{display:grid}.quick-call-fab{left:14px;bottom:92px}.quick-call-fab span{display:none}.shop-hero{padding:44px 0 52px;border-radius:0 0 30px 30px}.shop-hero-grid{grid-template-columns:1fr}.shop-search{flex-direction:column}.shop-category-grid,.shop-product-grid,.shop-product-grid.compact,.product-review-grid{grid-template-columns:1fr}.product-card-image img{height:205px}.product-actions{flex-direction:column}.product-detail-info,.product-info-panel,.product-reviews-box,.checkout-form,.invoice-card,.auth-card,.payment-card,.ticket-new-card{padding:20px;border-radius:24px}.product-gallery img{height:300px}.qty-row,.ticket-reply-form{flex-direction:column}.cart-item{grid-template-columns:72px 1fr;padding:12px}.cart-item img{width:72px;height:66px}.cart-qty-form{flex-direction:column}.order-card,.ticket-card{grid-template-columns:1fr}.invoice-head{flex-direction:column;align-items:flex-start}.invoice-head>div:last-child{text-align:right}.invoice-info-grid,.account-links{grid-template-columns:1fr}.ticket-message{max-width:94%}.header .btn-primary{display:none}}@media print{.header,.footer,.mobile-bottom-nav,.quick-call-fab,.to-top,.no-print{display:none!important}body{padding:0;background:#fff}.invoice-card{box-shadow:none;border:0}.section{padding:0}}

/* =========================================================
   v34: Bottom navigation like requested sample + richer shop gallery
   ========================================================= */
@media (max-width: 760px) {
  body { padding-bottom: calc(94px + env(safe-area-inset-bottom, 0px)) !important; }
  .mobile-bottom-nav.mobile-bottom-nav--pill {
    display: grid !important;
    grid-template-columns: repeat(5, 1fr) !important;
    left: 9px !important;
    right: 9px !important;
    bottom: calc(9px + env(safe-area-inset-bottom, 0px)) !important;
    gap: 2px !important;
    padding: 9px 8px !important;
    min-height: 68px !important;
    border-radius: 26px !important;
    background: rgba(255,255,255,.96) !important;
    border: 1px solid rgba(16,43,41,.10) !important;
    box-shadow: 0 10px 34px rgba(16,43,41,.13), 0 2px 12px rgba(16,43,41,.06) !important;
    backdrop-filter: blur(18px) saturate(140%) !important;
    -webkit-backdrop-filter: blur(18px) saturate(140%) !important;
  }
  .mobile-bottom-nav.mobile-bottom-nav--pill a {
    min-width: 0 !important;
    gap: 4px !important;
    padding: 6px 2px 5px !important;
    border-radius: 18px !important;
    color: #111827 !important;
    font-size: 10.5px !important;
    font-weight: 800 !important;
    line-height: 1.2 !important;
    background: transparent !important;
  }
  .mobile-bottom-nav.mobile-bottom-nav--pill a span {
    display: block !important;
    width: 100% !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
    color: #49545a !important;
  }
  .mobile-bottom-nav.mobile-bottom-nav--pill .nav-icon {
    width: 26px !important;
    height: 26px !important;
    display: grid !important;
    place-items: center !important;
    border-radius: 13px !important;
    font-size: 0 !important;
    line-height: 0 !important;
    transition: .2s ease !important;
  }
  .mobile-bottom-nav.mobile-bottom-nav--pill svg {
    width: 23px !important;
    height: 23px !important;
    fill: none !important;
    stroke: currentColor !important;
    stroke-width: 2 !important;
    stroke-linecap: round !important;
    stroke-linejoin: round !important;
  }
  .mobile-bottom-nav.mobile-bottom-nav--pill a.active {
    background: transparent !important;
    color: #062f2b !important;
  }
  .mobile-bottom-nav.mobile-bottom-nav--pill a.active .nav-icon {
    background: linear-gradient(135deg,#f8d767,#f1c744) !important;
    color: #102b29 !important;
    box-shadow: 0 8px 20px rgba(248,215,103,.44) !important;
    transform: translateY(-2px) !important;
  }
  .mobile-bottom-nav.mobile-bottom-nav--pill a.active span {
    color: #102b29 !important;
    font-weight: 950 !important;
  }
  .mobile-bottom-nav.mobile-bottom-nav--pill a em {
    top: 3px !important;
    left: 14px !important;
    min-width: 17px !important;
    height: 17px !important;
    background: #ff5b7d !important;
    color: #fff !important;
    border: 2px solid #fff !important;
    box-shadow: 0 7px 15px rgba(255,91,125,.26) !important;
  }
  .quick-call-fab { bottom: calc(86px + env(safe-area-inset-bottom, 0px)) !important; }
}

.shop-page .shop-hero {
  background: radial-gradient(circle at 12% 18%, rgba(248,215,103,.30), transparent 34%), radial-gradient(circle at 88% 10%, rgba(57,179,154,.30), transparent 28%), linear-gradient(135deg,#031d1b,#062f2b 48%,#0a403a) !important;
}
.product-card--luxury {
  position: relative;
  border-radius: 34px !important;
  border: 1px solid rgba(10,64,58,.12) !important;
  background: linear-gradient(180deg, rgba(255,255,255,.98), rgba(248,252,251,.96)) !important;
}
.product-card-image { position: relative; overflow: hidden; border-radius: 30px 30px 18px 18px; }
.product-card-image .gallery-count {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,.92);
  color: #062f2b;
  font-size: 12px;
  font-weight: 900;
  box-shadow: 0 10px 28px rgba(10,64,58,.12);
}
.product-card--luxury .product-card-body { padding: 21px !important; }
.product-card--luxury .product-category { background: rgba(248,215,103,.28) !important; color: #0a403a !important; }
.product-detail-card--luxury { align-items: start !important; }
.product-gallery-modern { display: grid; gap: 14px; }
.product-gallery-main { position: relative; }
.product-gallery-main img {
  width: 100%;
  height: 470px;
  object-fit: cover;
  border-radius: 28px;
  display: block;
  background: #f5f7f6;
}
.product-gallery-main span {
  position: absolute;
  right: 18px;
  top: 18px;
  background: linear-gradient(135deg,#f8d767,#e6b72e);
  color: #102b29;
  border-radius: 999px;
  padding: 8px 14px;
  font-weight: 950;
  box-shadow: 0 14px 34px rgba(248,215,103,.24);
}
.product-thumbs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}
.product-thumb {
  border: 1px solid rgba(10,64,58,.14);
  background: #fff;
  padding: 0;
  border-radius: 18px;
  overflow: hidden;
  height: 92px;
  cursor: pointer;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.product-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.product-thumb.active, .product-thumb:hover {
  border-color: #f8d767;
  box-shadow: 0 12px 30px rgba(248,215,103,.24);
  transform: translateY(-2px);
}
.product-detail-info--luxury { position: sticky; top: 98px; }
.product-detail-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 12px; }
.product-detail-actions .btn { flex: 1; justify-content: center; }
@media (max-width: 1100px) { .product-detail-info--luxury { position: static; } }
@media (max-width: 760px) {
  .product-gallery-main img { height: 310px; border-radius: 24px; }
  .product-thumbs { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .product-thumb { height: 74px; border-radius: 15px; }
  .product-detail-actions { flex-direction: column; }
}


/* =========================================================
   v35: Compact shop layout + corrected mobile bottom nav
   ========================================================= */
@media (max-width: 760px) {
  body {
    padding-bottom: calc(82px + env(safe-area-inset-bottom, 0px)) !important;
  }

  .mobile-bottom-nav.mobile-bottom-nav--pill {
    display: flex !important;
    direction: rtl !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: calc(100% - 18px) !important;
    max-width: 440px !important;
    left: 50% !important;
    right: auto !important;
    transform: translateX(-50%) !important;
    bottom: calc(8px + env(safe-area-inset-bottom, 0px)) !important;
    min-height: 58px !important;
    padding: 6px 7px !important;
    gap: 0 !important;
    border-radius: 24px !important;
    background: rgba(255,255,255,.98) !important;
    border: 1px solid rgba(16,43,41,.11) !important;
    box-shadow: 0 8px 26px rgba(16,43,41,.12), 0 1px 8px rgba(16,43,41,.06) !important;
  }

  .mobile-bottom-nav.mobile-bottom-nav--pill a {
    flex: 1 1 0 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 0 !important;
    height: 48px !important;
    padding: 4px 1px !important;
    gap: 2px !important;
    border-radius: 18px !important;
    text-align: center !important;
    font-size: 10px !important;
    line-height: 1.15 !important;
  }

  .mobile-bottom-nav.mobile-bottom-nav--pill .nav-icon {
    width: 24px !important;
    height: 24px !important;
    border-radius: 12px !important;
    display: grid !important;
    place-items: center !important;
    margin: 0 auto !important;
  }

  .mobile-bottom-nav.mobile-bottom-nav--pill svg {
    width: 20px !important;
    height: 20px !important;
  }

  .mobile-bottom-nav.mobile-bottom-nav--pill a span {
    display: block !important;
    max-width: 100% !important;
    margin: 0 auto !important;
    text-align: center !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }

  .mobile-bottom-nav.mobile-bottom-nav--pill a.active .nav-icon {
    width: 27px !important;
    height: 27px !important;
    transform: none !important;
    box-shadow: 0 6px 16px rgba(248,215,103,.36) !important;
  }

  .mobile-bottom-nav.mobile-bottom-nav--pill a em {
    top: 1px !important;
    left: 50% !important;
    transform: translateX(-24px) !important;
    min-width: 16px !important;
    height: 16px !important;
    font-size: 9px !important;
    border-width: 1.5px !important;
  }

  .quick-call-fab {
    left: 12px !important;
    bottom: calc(74px + env(safe-area-inset-bottom, 0px)) !important;
    padding: 9px !important;
    border-radius: 18px !important;
  }
  .quick-call-fab b {
    width: 34px !important;
    height: 34px !important;
    border-radius: 14px !important;
  }
}

/* Compact shop on desktop and tablet */
.shop-page .section {
  padding-top: 48px !important;
  padding-bottom: 48px !important;
}
.shop-page .section-head {
  margin-bottom: 20px !important;
}
.shop-page .shop-hero {
  padding: 48px 0 44px !important;
  border-radius: 0 0 30px 30px !important;
}
.shop-page .shop-hero h1 {
  font-size: clamp(25px, 3.4vw, 42px) !important;
  line-height: 1.55 !important;
  margin: 8px 0 !important;
}
.shop-page .shop-hero p {
  font-size: 14px !important;
  line-height: 1.9 !important;
  margin-bottom: 0 !important;
}
.shop-page .shop-hero-card {
  padding: 20px !important;
  border-radius: 26px !important;
}
.shop-search {
  margin-top: 16px !important;
}
.shop-search input {
  padding: 12px 14px !important;
  border-radius: 16px !important;
}
.shop-category-grid {
  gap: 14px !important;
}
.shop-category-card {
  border-radius: 22px !important;
  box-shadow: 0 10px 28px rgba(10,64,58,.07) !important;
}
.shop-category-card img {
  height: 112px !important;
}
.shop-category-card div {
  padding: 13px 14px 15px !important;
}
.shop-category-card b {
  width: 36px !important;
  height: 36px !important;
  border-radius: 14px !important;
  margin-top: -31px !important;
  font-size: 16px !important;
}
.shop-category-card strong {
  margin: 9px 0 4px !important;
  font-size: 16px !important;
}
.shop-category-card span {
  font-size: 12px !important;
  line-height: 1.75 !important;
}
.shop-product-grid,
.shop-product-grid.compact {
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 15px !important;
}
.product-card,
.product-card--luxury {
  border-radius: 24px !important;
  box-shadow: 0 10px 30px rgba(10,64,58,.07) !important;
}
.product-card-image {
  border-radius: 22px 22px 14px 14px !important;
}
.product-card-image img {
  height: 156px !important;
}
.product-card-image .gallery-count {
  top: 9px !important;
  left: 9px !important;
  padding: 5px 9px !important;
  font-size: 10.5px !important;
}
.product-card--luxury .product-card-body,
.product-card-body {
  padding: 14px !important;
}
.product-category {
  padding: 5px 9px !important;
  font-size: 10.5px !important;
}
.product-card h3 {
  font-size: 15.5px !important;
  line-height: 1.55 !important;
  margin: 9px 0 6px !important;
}
.product-card p {
  min-height: 0 !important;
  margin-bottom: 8px !important;
  font-size: 12px !important;
  line-height: 1.65 !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
}
.product-meta {
  margin: 8px 0 !important;
  align-items: flex-start !important;
  flex-direction: column !important;
  gap: 2px !important;
}
.product-meta strong {
  font-size: 15.5px !important;
}
.product-meta small,
.product-stock {
  font-size: 11px !important;
}
.product-stock {
  margin-bottom: 10px !important;
}
.product-actions {
  gap: 7px !important;
}
.product-actions .btn,
.product-actions button,
.product-actions a {
  min-height: 38px !important;
  padding: 9px 10px !important;
  border-radius: 14px !important;
  font-size: 11.5px !important;
}

@media (max-width: 1100px) {
  .shop-product-grid,
  .shop-product-grid.compact {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 760px) {
  .shop-page .section {
    padding-top: 28px !important;
    padding-bottom: 30px !important;
  }
  .shop-page .section-head {
    align-items: flex-start !important;
    gap: 12px !important;
    margin-bottom: 14px !important;
  }
  .shop-page .section-head h2 {
    font-size: 22px !important;
    line-height: 1.55 !important;
  }
  .shop-page .section-head .lead,
  .shop-page .section-head p {
    font-size: 12.5px !important;
    line-height: 1.8 !important;
  }
  .shop-page .shop-hero {
    padding: 26px 0 28px !important;
    border-radius: 0 0 22px 22px !important;
  }
  .shop-hero-grid {
    gap: 14px !important;
  }
  .shop-page .shop-hero h1 {
    font-size: 23px !important;
    line-height: 1.55 !important;
    margin: 7px 0 !important;
  }
  .shop-page .shop-hero p {
    font-size: 12.5px !important;
    line-height: 1.8 !important;
  }
  .shop-hero-card {
    display: none !important;
  }
  .shop-search {
    display: grid !important;
    grid-template-columns: 1fr auto !important;
    gap: 8px !important;
    margin-top: 14px !important;
  }
  .shop-search input {
    min-width: 0 !important;
    padding: 11px 12px !important;
    border-radius: 14px !important;
    font-size: 12px !important;
  }
  .shop-search .btn,
  .shop-search button {
    padding: 10px 13px !important;
    min-height: 42px !important;
    border-radius: 14px !important;
    font-size: 12px !important;
  }
  .shop-category-grid {
    grid-template-columns: 1fr !important;
    gap: 10px !important;
  }
  .shop-category-card {
    display: grid !important;
    grid-template-columns: 94px 1fr !important;
    min-height: 96px !important;
    border-radius: 19px !important;
  }
  .shop-category-card img {
    width: 94px !important;
    height: 100% !important;
    min-height: 96px !important;
    border-radius: 0 !important;
  }
  .shop-category-card div {
    position: relative !important;
    padding: 12px 13px 10px 48px !important;
    min-width: 0 !important;
  }
  .shop-category-card b {
    position: absolute !important;
    left: 12px !important;
    top: 12px !important;
    width: 32px !important;
    height: 32px !important;
    margin: 0 !important;
    border-radius: 13px !important;
    font-size: 14px !important;
  }
  .shop-category-card strong {
    margin: 0 0 3px !important;
    font-size: 15px !important;
  }
  .shop-category-card span {
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    font-size: 11.5px !important;
    line-height: 1.65 !important;
  }
  .shop-product-grid,
  .shop-product-grid.compact {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px !important;
  }
  .product-card,
  .product-card--luxury {
    border-radius: 19px !important;
  }
  .product-card-image {
    border-radius: 18px 18px 12px 12px !important;
  }
  .product-card-image img {
    height: 108px !important;
  }
  .product-card-image .gallery-count {
    top: 7px !important;
    left: 7px !important;
    padding: 4px 7px !important;
    font-size: 9.5px !important;
  }
  .product-card--luxury .product-card-body,
  .product-card-body {
    padding: 10px !important;
  }
  .product-category {
    padding: 4px 7px !important;
    font-size: 9.5px !important;
  }
  .product-card h3 {
    font-size: 13px !important;
    line-height: 1.45 !important;
    margin: 7px 0 4px !important;
  }
  .product-card p {
    display: none !important;
  }
  .product-meta {
    margin: 6px 0 !important;
  }
  .product-meta strong {
    font-size: 12.5px !important;
  }
  .product-meta small,
  .product-stock {
    font-size: 10px !important;
    line-height: 1.5 !important;
  }
  .product-stock {
    margin-bottom: 7px !important;
  }
  .product-actions {
    flex-direction: column !important;
    gap: 6px !important;
  }
  .product-actions .btn,
  .product-actions button,
  .product-actions a {
    min-height: 32px !important;
    padding: 7px 6px !important;
    border-radius: 12px !important;
    font-size: 10px !important;
    line-height: 1.3 !important;
  }
}

@media (max-width: 360px) {
  .mobile-bottom-nav.mobile-bottom-nav--pill a span {
    font-size: 9px !important;
  }
  .shop-product-grid,
  .shop-product-grid.compact {
    grid-template-columns: 1fr !important;
  }
  .product-card-image img {
    height: 145px !important;
  }
}

/* v36 - order list alignment and cleaner shop imagery */
.orders-list {
  width: min(100%, 980px) !important;
  margin-inline: auto !important;
}
.order-card {
  grid-template-columns: minmax(220px, 1fr) minmax(170px, auto) auto !important;
  column-gap: 22px !important;
  padding: 18px 20px !important;
  border-radius: 22px !important;
  align-items: center !important;
}
.order-card > div:first-child { text-align: right !important; }
.order-card > div:nth-child(2) { text-align: right !important; justify-self: start !important; }
.order-actions { justify-self: end !important; min-width: max-content !important; }
.product-card-image img,
.shop-category-card img,
.product-gallery-main img,
.product-gallery img {
  background: #eef4f1 !important;
}
.product-thumbs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(72px, 1fr));
  gap: 10px;
  margin-top: 12px;
}
.product-thumb {
  border: 2px solid transparent;
  background: transparent;
  padding: 0;
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
}
.product-thumb.active { border-color: #f8d767; }
.product-thumb img {
  width: 100% !important;
  height: 70px !important;
  object-fit: cover !important;
  border-radius: 14px !important;
  display: block !important;
}
@media (max-width: 760px) {
  .orders-list { width: 100% !important; }
  .order-card {
    grid-template-columns: 1fr !important;
    gap: 10px !important;
    padding: 14px !important;
  }
  .order-card > div:nth-child(2),
  .order-actions { justify-self: stretch !important; }
  .order-actions { display: grid !important; grid-template-columns: 1fr; }
  .order-actions .btn { width: 100%; justify-content: center; }
  .product-thumbs { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 7px; }
  .product-thumb img { height: 54px !important; border-radius: 12px !important; }
}

/* v37 - Professional ecommerce shop layout, fixed dark mode, removed bulky stock box */
.shop-page-v37 {
  background: linear-gradient(180deg, var(--surface-2) 0, var(--bg) 42%, var(--bg) 100%) !important;
  color: var(--text) !important;
}
.market-hero-v37 {
  padding: 34px 0 22px !important;
  background:
    radial-gradient(circle at 14% 12%, rgba(248,215,103,.20), transparent 30%),
    linear-gradient(180deg, var(--surface-2), var(--bg)) !important;
}
.market-hero-shell {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 26px;
  align-items: center;
  overflow: hidden;
  border: 1px solid var(--line) !important;
  border-radius: 34px;
  padding: 36px;
  min-height: 360px;
  background:
    linear-gradient(90deg, rgba(255,255,255,.92), rgba(255,255,255,.72)),
    url('../img/shop/category-popular-photo.jpg') center/cover no-repeat;
  box-shadow: 0 28px 80px rgba(10,64,58,.10);
}
.market-hero-shell:before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(255,255,255,.94), rgba(255,255,255,.75) 47%, rgba(255,255,255,.22));
  pointer-events: none;
}
.market-hero-copy,
.market-hero-visual { position: relative; z-index: 1; }
.market-badge,
.market-section-title span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 999px;
  padding: 7px 13px;
  background: rgba(248,215,103,.22);
  color: var(--primary-2);
  font-weight: 900;
  font-size: 12px;
}
.market-badge:before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 5px rgba(248,215,103,.22); }
.market-hero-v37 h1 {
  margin: 14px 0 10px;
  font-size: clamp(30px, 4vw, 56px);
  line-height: 1.35;
  color: var(--primary-2);
  letter-spacing: -.7px;
}
.market-hero-v37 p {
  max-width: 680px;
  margin: 0 0 22px;
  color: var(--muted);
  font-size: 15.5px;
  line-height: 2.05;
}
.market-search {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  max-width: 610px;
  border-radius: 24px;
  padding: 8px;
  background: rgba(255,255,255,.78);
  border: 1px solid var(--line);
  box-shadow: 0 16px 50px rgba(10,64,58,.08);
}
.market-search input {
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--text);
  padding: 12px 14px;
  font-family: inherit;
  font-weight: 700;
}
.market-search input::placeholder { color: var(--muted-2); }
.market-hero-visual {
  display: grid;
  grid-template-columns: 1fr .72fr;
  gap: 14px;
  align-items: end;
}
.hero-product-card {
  overflow: hidden;
  border-radius: 28px;
  background: rgba(255,255,255,.92);
  border: 1px solid rgba(10,64,58,.10);
  box-shadow: 0 24px 70px rgba(10,64,58,.13);
}
.hero-product-card img {
  width: 100%;
  height: 176px;
  object-fit: cover;
  display: block;
  background: #f3f6f5;
}
.hero-product-card strong,
.hero-product-card span { display: block; padding-inline: 16px; }
.hero-product-card strong { padding-top: 13px; color: var(--primary-2); font-size: 15px; line-height: 1.7; }
.hero-product-card span { padding-bottom: 16px; color: var(--primary); font-size: 13px; font-weight: 900; }
.hero-product-card--mini {
  min-height: 185px;
  display: grid;
  align-content: center;
  text-align: center;
  background: linear-gradient(135deg, #ffb703, #ff6d2d);
  color: #fff;
}
.hero-product-card--mini b { font-size: 44px; line-height: 1; }
.hero-product-card--mini strong { color: #fff; font-size: 19px; padding-top: 8px; }
.hero-product-card--mini span { color: rgba(255,255,255,.86); font-weight: 700; }
.market-cats-v37,
.market-products-v37,
.market-filter-v37,
.market-promos-v37,
.market-services-v37 { padding: 24px 0 !important; }
.market-section-title {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 16px;
  margin-bottom: 16px;
}
.market-section-title h2 {
  margin: 8px 0 0;
  font-size: clamp(22px, 2.4vw, 34px);
  color: var(--primary-2);
  line-height: 1.45;
}
.market-section-title a {
  white-space: nowrap;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 10px 15px;
  color: var(--primary-2);
  font-weight: 900;
  background: var(--surface);
}
.market-category-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.market-cat-card {
  position: relative;
  display: grid;
  grid-template-columns: 92px 1fr;
  min-height: 128px;
  overflow: hidden;
  border-radius: 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: 0 16px 42px rgba(10,64,58,.07);
  transition: .22s ease;
}
.market-cat-card:hover,
.market-cat-card.active { transform: translateY(-4px); border-color: var(--cat-color); box-shadow: 0 22px 60px rgba(10,64,58,.12); }
.market-cat-card img { width: 92px; height: 100%; object-fit: cover; display: block; background: var(--surface-3); }
.market-cat-card div { padding: 16px 14px; display: grid; align-content: center; gap: 4px; min-width: 0; }
.market-cat-card b { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 14px; background: var(--cat-color); color: #102b29; font-size: 18px; }
.market-cat-card strong { color: var(--primary-2); font-size: 16px; line-height: 1.55; }
.market-cat-card small { color: var(--muted); font-size: 12px; line-height: 1.7; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.market-deal-v37 { padding: 20px 0 !important; }
.market-deal-shell {
  display: grid;
  grid-template-columns: 250px 1fr;
  gap: 14px;
  overflow: hidden;
  border-radius: 30px;
  background: linear-gradient(135deg, #ff7a30, #ff5f2e);
  padding: 18px;
  box-shadow: 0 24px 70px rgba(255,105,46,.18);
}
.market-deal-banner {
  color: #fff;
  display: grid;
  align-content: center;
  padding: 20px;
  border-radius: 24px;
  background: rgba(0,0,0,.08);
}
.market-deal-banner b { font-size: 52px; line-height: 1; }
.market-deal-banner h2 { color: #fff; margin: 12px 0 8px; line-height: 1.4; }
.market-deal-banner p { margin: 0; color: rgba(255,255,255,.88); line-height: 1.8; }
.market-deal-products {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.market-mini-product {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 12px;
  align-items: center;
  border-radius: 22px;
  background: #fff;
  padding: 10px;
  min-width: 0;
}
.market-mini-product img { width: 92px; height: 84px; object-fit: cover; border-radius: 17px; background: #f3f6f5; display: block; }
.market-mini-product div { min-width: 0; }
.mini-product-title { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; color: #102b29; font-weight: 900; font-size: 13px; line-height: 1.65; }
.market-mini-product span { display: block; color: #102b29; font-weight: 900; font-size: 12.5px; margin-top: 5px; }
.market-mini-product small { display: inline-flex; margin-top: 6px; color: #fff; background: #0a403a; border-radius: 999px; padding: 2px 8px; font-size: 10px; }
.market-filter-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  overflow-x: auto;
  scrollbar-width: none;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 12px;
  box-shadow: 0 16px 44px rgba(10,64,58,.06);
}
.market-filter-bar::-webkit-scrollbar { display: none; }
.market-filter-bar a {
  flex: 0 0 auto;
  min-width: 122px;
  text-align: center;
  border-radius: 18px;
  padding: 10px 18px;
  color: var(--text);
  font-weight: 900;
  background: var(--surface-2);
}
.market-filter-bar a.active { background: var(--primary-2); color: var(--bg); }
.market-product-grid-v37 {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.market-product-card {
  overflow: hidden;
  border-radius: 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: 0 18px 52px rgba(10,64,58,.08);
  transition: .22s ease;
}
.market-product-card:hover { transform: translateY(-4px); box-shadow: 0 24px 70px rgba(10,64,58,.14); }
.market-product-img {
  position: relative;
  display: block;
  padding: 12px 12px 0;
}
.market-product-img img {
  width: 100%;
  height: 168px;
  object-fit: cover;
  border-radius: 19px;
  background: var(--surface-3);
  display: block;
}
.market-product-img span {
  position: absolute;
  top: 22px;
  left: 22px;
  border-radius: 999px;
  background: #2f6bff;
  color: #fff;
  padding: 4px 9px;
  font-size: 10.5px;
  font-weight: 900;
}
.market-product-body { padding: 14px; }
.market-product-body small { color: var(--muted); font-size: 11.5px; font-weight: 800; }
.market-product-body h3 { margin: 7px 0 6px; font-size: 16px; line-height: 1.6; min-height: 52px; }
.market-product-body h3 a { color: var(--primary-2); }
.market-product-body p { margin: 0; color: var(--muted); font-size: 12.5px; line-height: 1.75; min-height: 43px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.market-product-price { display: flex; align-items: end; justify-content: space-between; gap: 8px; margin: 12px 0; }
.market-product-price strong { color: var(--primary-2); font-size: 15px; }
.market-product-price em { color: var(--muted); font-style: normal; font-size: 11px; }
.market-product-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.market-product-actions form { display: block; }
.market-product-actions .btn,
.market-product-actions button { width: 100%; justify-content: center; min-height: 40px; padding: 8px 10px; border-radius: 15px; font-size: 12px; }
.market-promo-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.market-promo-card {
  position: relative;
  overflow: hidden;
  min-height: 230px;
  border-radius: 30px;
  padding: 28px;
  display: grid;
  align-content: center;
  justify-items: start;
  color: #fff;
  box-shadow: 0 24px 70px rgba(10,64,58,.12);
}
.market-promo-card:before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.58), rgba(0,0,0,.20)); }
.market-promo-card span,
.market-promo-card strong,
.market-promo-card b { position: relative; z-index: 1; }
.market-promo-card span { color: rgba(255,255,255,.78); font-weight: 900; }
.market-promo-card strong { max-width: 420px; font-size: 25px; line-height: 1.55; margin: 10px 0 18px; }
.market-promo-card b { border-radius: 14px; background: #fff; color: #102b29; padding: 9px 17px; }
.promo-cement { background: url('../img/shop/category-materials-photo.jpg') center/cover no-repeat; }
.promo-tools { background: url('../img/shop/category-tools-photo.jpg') center/cover no-repeat; }
.market-service-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  border-radius: 24px;
  border: 1px solid var(--line);
  background: var(--surface);
  padding: 16px;
}
.market-service-row div { display: grid; grid-template-columns: 48px 1fr; column-gap: 12px; align-items: center; padding: 12px; border-radius: 18px; background: var(--surface-2); }
.market-service-row b { grid-row: span 2; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 16px; background: rgba(248,215,103,.20); font-size: 23px; }
.market-service-row strong { color: var(--primary-2); line-height: 1.6; }
.market-service-row span { color: var(--muted); font-size: 12px; line-height: 1.6; }
.product-page-v37 .product-availability { display: none !important; }
.product-quick-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0 18px;
}
.product-quick-specs span {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 12px;
  background: var(--surface-2);
  color: var(--primary-2);
  font-size: 12px;
  font-weight: 900;
}

html[data-theme="dark"] .shop-page-v37,
html[data-theme="dark"] .product-page-v37 {
  background: linear-gradient(180deg, #061815 0, #071b18 44%, #061815 100%) !important;
}
html[data-theme="dark"] .market-hero-shell {
  background:
    linear-gradient(90deg, rgba(9,27,24,.96), rgba(9,27,24,.82)),
    url('../img/shop/category-popular-photo.jpg') center/cover no-repeat !important;
  box-shadow: 0 28px 80px rgba(0,0,0,.36);
}
html[data-theme="dark"] .market-hero-shell:before { background: linear-gradient(90deg, rgba(6,24,21,.96), rgba(6,24,21,.76) 47%, rgba(6,24,21,.36)); }
html[data-theme="dark"] .market-search,
html[data-theme="dark"] .hero-product-card,
html[data-theme="dark"] .market-cat-card,
html[data-theme="dark"] .market-filter-bar,
html[data-theme="dark"] .market-section-title a,
html[data-theme="dark"] .market-product-card,
html[data-theme="dark"] .market-service-row {
  background: var(--surface) !important;
  border-color: var(--line) !important;
  box-shadow: 0 22px 70px rgba(0,0,0,.28) !important;
}
html[data-theme="dark"] .market-search input { color: var(--text) !important; }
html[data-theme="dark"] .market-filter-bar a { background: var(--surface-2) !important; color: var(--text) !important; }
html[data-theme="dark"] .market-filter-bar a.active { background: var(--accent) !important; color: #102b29 !important; }
html[data-theme="dark"] .market-mini-product { background: #0d2420 !important; }
html[data-theme="dark"] .mini-product-title,
html[data-theme="dark"] .market-mini-product span { color: var(--text) !important; }
html[data-theme="dark"] .market-product-img img,
html[data-theme="dark"] .market-cat-card img,
html[data-theme="dark"] .hero-product-card img { background: #0a1f1c !important; }
html[data-theme="dark"] .market-product-actions .btn-dark,
html[data-theme="dark"] .market-section-title a { color: var(--text) !important; }
html[data-theme="dark"] .shop-page .section--soft { background: var(--surface-2) !important; }
html[data-theme="dark"] .mobile-bottom-nav.mobile-bottom-nav--pill { background: rgba(14,25,29,.96) !important; border-color: rgba(255,255,255,.10) !important; }
html[data-theme="dark"] .mobile-bottom-nav.mobile-bottom-nav--pill a { color: rgba(255,255,255,.78) !important; }
html[data-theme="dark"] .mobile-bottom-nav.mobile-bottom-nav--pill a.active { background: var(--accent) !important; color: #102b29 !important; }

@media (max-width: 1180px) {
  .market-product-grid-v37 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .market-deal-products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .market-hero-shell { grid-template-columns: 1fr; padding: 26px; min-height: 0; }
  .market-hero-visual { grid-template-columns: 1fr 1fr; }
  .market-category-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .market-deal-shell { grid-template-columns: 1fr; }
  .market-product-grid-v37 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .market-service-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .market-hero-v37 { padding: 18px 0 10px !important; }
  .market-hero-shell { border-radius: 24px; padding: 18px; }
  .market-hero-v37 h1 { font-size: 24px; line-height: 1.48; }
  .market-hero-v37 p { font-size: 12.5px; line-height: 1.85; }
  .market-search { grid-template-columns: 1fr; border-radius: 18px; }
  .market-hero-visual { display: none; }
  .market-cats-v37,
  .market-products-v37,
  .market-filter-v37,
  .market-promos-v37,
  .market-services-v37 { padding: 14px 0 !important; }
  .market-section-title { align-items: flex-start; margin-bottom: 12px; }
  .market-section-title h2 { font-size: 21px; }
  .market-section-title a { padding: 8px 11px; font-size: 11px; }
  .market-category-row { grid-template-columns: 1fr; gap: 10px; }
  .market-cat-card { min-height: 96px; grid-template-columns: 86px 1fr; border-radius: 19px; }
  .market-cat-card img { width: 86px; }
  .market-cat-card div { padding: 11px 12px; }
  .market-cat-card b { width: 32px; height: 32px; font-size: 14px; border-radius: 12px; }
  .market-cat-card strong { font-size: 14px; }
  .market-cat-card small { font-size: 11px; }
  .market-deal-shell { border-radius: 22px; padding: 12px; }
  .market-deal-banner { display: none; }
  .market-deal-products { grid-template-columns: 1fr; }
  .market-mini-product { grid-template-columns: 78px 1fr; border-radius: 18px; }
  .market-mini-product img { width: 78px; height: 70px; border-radius: 14px; }
  .market-filter-bar { border-radius: 18px; padding: 9px; }
  .market-filter-bar a { min-width: 104px; padding: 8px 12px; font-size: 12px; border-radius: 14px; }
  .market-product-grid-v37 { gap: 10px; }
  .market-product-card { border-radius: 18px; }
  .market-product-img { padding: 8px 8px 0; }
  .market-product-img img { height: 116px; border-radius: 14px; }
  .market-product-img span { top: 14px; left: 14px; font-size: 9px; padding: 3px 7px; }
  .market-product-body { padding: 10px; }
  .market-product-body small { font-size: 10px; }
  .market-product-body h3 { font-size: 12.5px; min-height: 42px; margin: 4px 0; }
  .market-product-body p { display: none; }
  .market-product-price { display: block; margin: 8px 0; }
  .market-product-price strong { display: block; font-size: 12px; }
  .market-product-price em { font-size: 10px; }
  .market-product-actions { grid-template-columns: 1fr; gap: 6px; }
  .market-product-actions .btn,
  .market-product-actions button { min-height: 32px; border-radius: 12px; font-size: 10.5px; padding: 6px 8px; }
  .market-promo-grid { grid-template-columns: 1fr; gap: 10px; }
  .market-promo-card { min-height: 148px; border-radius: 22px; padding: 18px; }
  .market-promo-card strong { font-size: 18px; }
  .market-service-row { grid-template-columns: 1fr; padding: 10px; border-radius: 18px; }
  .market-service-row div { padding: 10px; }
  .product-quick-specs span { font-size: 11px; padding: 6px 10px; }
}
@media (max-width: 380px) {
  .market-product-grid-v37 { grid-template-columns: 1fr; }
  .market-product-img img { height: 155px; }
}

/* v38 - Cleaner shop cards, PNG icons, luxury quantity controls, more photo-focused store */
.shop-page-v38 .market-hero-shell {
  border-radius: 30px;
  min-height: 330px;
  background:
    linear-gradient(90deg, rgba(255,255,255,.96), rgba(255,255,255,.78) 52%, rgba(255,255,255,.28)),
    url('../img/shop/category-materials-photo.jpg') center/cover no-repeat !important;
}
.shop-page-v38 .market-hero-v37 h1 { max-width: 720px; }
.shop-page-v38 .market-cat-card { grid-template-columns: 98px 1fr; min-height: 118px; }
.shop-page-v38 .market-cat-card .cat-cover { width: 98px; height: 100%; object-fit: cover; }
.shop-page-v38 .market-cat-card .cat-icon img {
  width: 23px;
  height: 23px;
  object-fit: contain;
  display: block;
}
.shop-page-v38 .market-deal-shell {
  background: linear-gradient(135deg, #ff8a3d 0%, #ff612f 58%, #f84d25 100%);
}
.shop-page-v38 .market-product-card-v38 {
  border-radius: 28px;
  background: linear-gradient(180deg, var(--surface), var(--surface-2));
  box-shadow: 0 20px 55px rgba(10,64,58,.09);
}
.shop-page-v38 .market-product-img { padding: 14px 14px 0; }
.shop-page-v38 .market-product-img img {
  height: 178px;
  object-fit: cover;
  background: #f6f7f5;
  box-shadow: inset 0 0 0 1px rgba(10,64,58,.04);
}
.shop-page-v38 .market-product-body { padding: 15px 15px 16px; }
.shop-page-v38 .market-product-actions--single { grid-template-columns: 1fr; }
.shop-page-v38 .market-product-actions--single .btn {
  min-height: 42px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  color: #fff;
  box-shadow: 0 12px 28px rgba(10,64,58,.16);
}
.shop-page-v38 .market-product-actions--single .btn:hover { transform: translateY(-1px); }
.shop-page-v38 .market-service-row b img,
.quick-call-fab img {
  width: 28px;
  height: 28px;
  object-fit: contain;
  display: block;
}
.shop-page-v38 .market-service-row b {
  background: #fff;
  border: 1px solid rgba(10,64,58,.08);
}
.mobile-bottom-nav.mobile-bottom-nav--pill .nav-icon img {
  width: 22px !important;
  height: 22px !important;
  object-fit: contain;
  display: block;
}
.mobile-bottom-nav.mobile-bottom-nav--pill a.active .nav-icon img { filter: none; }
.quantity-control {
  display: inline-grid;
  grid-template-columns: 46px minmax(64px, 86px) 46px;
  align-items: center;
  min-height: 52px;
  padding: 5px;
  border-radius: 20px;
  border: 1px solid rgba(10,64,58,.12);
  background: linear-gradient(180deg, #fff, #f4f8f7);
  box-shadow: 0 14px 35px rgba(10,64,58,.08);
  direction: ltr;
}
.qty-btn {
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 15px;
  cursor: pointer;
  color: #102b29;
  background: var(--accent);
  font-size: 22px;
  font-weight: 900;
  line-height: 1;
  display: grid;
  place-items: center;
  box-shadow: 0 8px 18px rgba(248,215,103,.32);
}
.qty-minus {
  background: var(--primary-2);
  color: #fff;
  box-shadow: 0 8px 18px rgba(10,64,58,.18);
}
.qty-input {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--primary-2);
  text-align: center;
  font-family: inherit;
  font-size: 18px;
  font-weight: 950;
  appearance: textfield;
  -moz-appearance: textfield;
}
.qty-input::-webkit-outer-spin-button,
.qty-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.qty-row-v38 {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 12px;
}
.product-buy-form-v38 .btn-primary {
  min-height: 52px;
  border-radius: 19px;
  box-shadow: 0 14px 34px rgba(248,215,103,.26);
}
.product-buy-form-v38 small {
  display: block;
  margin-top: 10px;
  color: var(--muted);
  line-height: 1.9;
}
.cart-page-v38 .cart-item {
  grid-template-columns: 92px minmax(180px, 1fr) auto auto auto;
  gap: 14px;
}
.cart-page-v38 .cart-qty-form-v38 {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.cart-page-v38 .quantity-control--cart {
  grid-template-columns: 40px 66px 40px;
  min-height: 46px;
  border-radius: 18px;
}
.cart-page-v38 .quantity-control--cart .qty-btn { width: 36px; height: 36px; border-radius: 13px; font-size: 19px; }
.cart-page-v38 .quantity-control--cart .qty-input { font-size: 16px; }
.cart-page-v38 .cart-qty-form-v38 .btn { min-height: 42px; border-radius: 15px; }
.product-page-v38 .product-detail-card--luxury {
  background: linear-gradient(180deg, var(--surface), var(--surface-2));
  border-color: var(--line);
}
.product-page-v38 .product-gallery-main img { object-fit: cover; background: #f6f7f5; }
html[data-theme="dark"] .shop-page-v38 .market-hero-shell {
  background:
    linear-gradient(90deg, rgba(7,24,21,.97), rgba(7,24,21,.82) 52%, rgba(7,24,21,.36)),
    url('../img/shop/category-materials-photo.jpg') center/cover no-repeat !important;
}
html[data-theme="dark"] .quantity-control {
  background: linear-gradient(180deg, #0f2a25, #0b221f);
  border-color: rgba(255,255,255,.10);
  box-shadow: 0 14px 35px rgba(0,0,0,.28);
}
html[data-theme="dark"] .qty-input { color: var(--text); }
html[data-theme="dark"] .shop-page-v38 .market-product-card-v38,
html[data-theme="dark"] .product-page-v38 .product-detail-card--luxury {
  background: linear-gradient(180deg, var(--surface), var(--surface-2));
}
html[data-theme="dark"] .shop-page-v38 .market-service-row b { background: #0f2a25; border-color: rgba(255,255,255,.08); }
@media (max-width: 900px) {
  .cart-page-v38 .cart-item { grid-template-columns: 82px 1fr; }
  .cart-page-v38 .cart-qty-form-v38,
  .cart-page-v38 .cart-item strong,
  .cart-page-v38 .cart-item form:last-child { grid-column: 2; }
  .qty-row-v38 { grid-template-columns: 1fr; }
  .quantity-control { width: 100%; grid-template-columns: 46px 1fr 46px; }
}
@media (max-width: 760px) {
  .shop-page-v38 .market-hero-shell { border-radius: 22px; }
  .shop-page-v38 .market-cat-card { grid-template-columns: 84px 1fr; min-height: 94px; }
  .shop-page-v38 .market-cat-card .cat-cover { width: 84px; }
  .shop-page-v38 .market-product-img img { height: 124px; }
  .shop-page-v38 .market-product-actions--single .btn { min-height: 34px; font-size: 11px; }
  .shop-page-v38 .market-deal-products { grid-template-columns: 1fr; }
  .cart-page-v38 .cart-qty-form-v38 { align-items: stretch; }
}

/* v40 - polished mobile shop UI, compact cart, real trash icon, improved hero/category/deal sections */
.market-section-title--products { margin-bottom: 14px; }
.cart-layout-v40 { align-items: start; }
.cart-item-v40 {
  grid-template-columns: 96px minmax(0,1fr) !important;
  gap: 16px;
  padding: 16px;
  border-radius: 28px;
}
.cart-item-v40 .cart-item-media img {
  width: 96px;
  height: 96px;
  object-fit: cover;
  border-radius: 22px;
  background: #f4f7f6;
  box-shadow: inset 0 0 0 1px rgba(10,64,58,.05);
}
.cart-item-v40 .cart-item-content { min-width: 0; display: grid; gap: 12px; }
.cart-item-v40 .cart-item-head {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: flex-start;
}
.cart-item-v40 h3 { margin: 0 0 6px; font-size: 24px; line-height: 1.5; }
.cart-item-v40 h3 a { color: var(--primary-2); text-decoration: none; }
.cart-item-v40 span,
.cart-item-v40 small { display: block; color: var(--muted); line-height: 1.85; }
.cart-item-v40 .cart-item-controls {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: center;
  flex-wrap: wrap;
}
.cart-qty-form-v40 {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.cart-remove-form { margin: 0; }
.cart-remove-btn {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 16px;
  border: 1px solid rgba(10,64,58,.10);
  background: linear-gradient(180deg, #fff, #f3f6f5);
  box-shadow: 0 12px 30px rgba(10,64,58,.08);
  cursor: pointer;
  transition: .18s ease;
}
.cart-remove-btn:hover { transform: translateY(-1px); box-shadow: 0 16px 35px rgba(10,64,58,.12); }
.cart-remove-btn img { width: 22px; height: 22px; object-fit: contain; display: block; }
.cart-item-total {
  color: var(--primary-2);
  font-size: 24px;
  font-weight: 950;
  white-space: nowrap;
}
.cart-summary-v40 {
  border-radius: 32px;
  padding: 26px;
}
.cart-summary-v40 .btn {
  min-height: 54px;
  border-radius: 20px;
  width: 100%;
  justify-content: center;
}
.shop-page-v38 .market-hero-shell {
  gap: 20px;
}
.shop-page-v38 .market-hero-v37 p { max-width: 720px; }
.shop-page-v38 .market-search {
  background: rgba(255,255,255,.80);
  box-shadow: 0 22px 55px rgba(10,64,58,.08);
}
.shop-page-v38 .market-search input { font-size: 15px; }
.shop-page-v38 .market-search .btn { min-height: 54px; border-radius: 20px; }
.shop-page-v38 .market-category-row,
.shop-page-v38 .market-deal-products {
  scroll-snap-type: x proximity;
}
.shop-page-v38 .market-cat-card,
.shop-page-v38 .market-mini-product { scroll-snap-align: start; }
.shop-page-v38 .market-mini-product {
  border: 1px solid rgba(10,64,58,.06);
  box-shadow: 0 16px 44px rgba(10,64,58,.08);
}
.shop-page-v38 .market-mini-product img {
  background: linear-gradient(180deg,#f9fbfa,#eef4f2);
}
.shop-page-v38 .market-filter-bar {
  gap: 8px;
}
.shop-page-v38 .market-filter-bar a {
  min-width: max-content;
  padding-inline: 18px;
}
.shop-page-v38 .market-product-grid-v37 {
  gap: 14px;
}
.shop-page-v38 .market-product-card-v38 {
  border-radius: 24px;
}
.shop-page-v38 .market-product-body h3 {
  min-height: 0;
}
.shop-page-v38 .market-product-body p {
  min-height: 0;
}
.shop-page-v38 .market-service-row {
  box-shadow: 0 18px 50px rgba(10,64,58,.06);
}
.product-page-v38 .product-detail-card--luxury {
  gap: 20px;
}
.product-page-v38 .product-gallery-modern {
  align-content: start;
}
.product-page-v38 .product-thumbs {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  scrollbar-width: none;
  padding-bottom: 4px;
}
.product-page-v38 .product-thumbs::-webkit-scrollbar { display: none; }
.product-page-v38 .product-thumb {
  flex: 0 0 auto;
  width: 78px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface-2);
  padding: 4px;
}
.product-page-v38 .product-thumb img {
  width: 100%;
  height: 62px;
  object-fit: cover;
  border-radius: 12px;
}
.product-page-v38 .product-thumb.active { border-color: var(--accent); box-shadow: 0 12px 28px rgba(248,215,103,.22); }
.product-page-v38 .product-quick-specs {
  gap: 10px;
}
.product-page-v38 .product-quick-specs span {
  padding: 8px 14px;
  background: linear-gradient(180deg,var(--surface),var(--surface-2));
}
html[data-theme="dark"] .cart-remove-btn {
  background: linear-gradient(180deg,#112d28,#0c2420);
  border-color: rgba(255,255,255,.09);
  box-shadow: 0 14px 34px rgba(0,0,0,.26);
}
html[data-theme="dark"] .shop-page-v38 .market-search {
  background: rgba(8,27,24,.86);
}
html[data-theme="dark"] .shop-page-v38 .market-mini-product {
  border-color: rgba(255,255,255,.06);
}
html[data-theme="dark"] .product-page-v38 .product-thumb {
  background: var(--surface);
  border-color: rgba(255,255,255,.09);
}
@media (max-width: 900px) {
  .cart-item-v40 { grid-template-columns: 82px 1fr !important; }
  .cart-item-v40 .cart-item-media img { width: 82px; height: 82px; border-radius: 18px; }
  .cart-item-v40 h3 { font-size: 18px; }
  .cart-item-total { font-size: 20px; }
}
@media (max-width: 760px) {
  .shop-page-v38 .market-hero-v37 { padding-top: 12px !important; }
  .shop-page-v38 .market-hero-shell {
    padding: 16px;
    border-radius: 24px;
    min-height: 0;
    background:
      linear-gradient(135deg, rgba(255,255,255,.98), rgba(246,251,249,.95)),
      radial-gradient(circle at 100% 0, rgba(248,215,103,.18), transparent 34%) !important;
    box-shadow: 0 18px 48px rgba(10,64,58,.08);
  }
  .shop-page-v38 .market-badge { font-size: 11px; padding: 8px 12px; }
  .shop-page-v38 .market-hero-v37 h1 {
    font-size: 20px;
    line-height: 1.7;
    margin: 10px 0 8px;
  }
  .shop-page-v38 .market-hero-v37 p {
    font-size: 11.5px;
    line-height: 1.95;
    margin-bottom: 12px;
  }
  .shop-page-v38 .market-search {
    padding: 8px;
    border-radius: 20px;
    gap: 8px;
  }
  .shop-page-v38 .market-search input {
    min-height: 44px;
    font-size: 13px;
    border-radius: 16px;
    padding: 12px 14px;
  }
  .shop-page-v38 .market-search .btn {
    min-height: 44px;
    border-radius: 16px;
    font-size: 13px;
  }
  .shop-page-v38 .market-section-title {
    margin-bottom: 10px;
    align-items: center;
  }
  .shop-page-v38 .market-section-title h2 { font-size: 19px; }
  .shop-page-v38 .market-category-row {
    display: flex;
    overflow-x: auto;
    gap: 10px;
    padding-bottom: 4px;
    scrollbar-width: none;
  }
  .shop-page-v38 .market-category-row::-webkit-scrollbar { display: none; }
  .shop-page-v38 .market-cat-card {
    flex: 0 0 88%;
    min-height: 94px;
    grid-template-columns: 78px 1fr;
    border-radius: 20px;
  }
  .shop-page-v38 .market-cat-card .cat-cover { width: 78px; }
  .shop-page-v38 .market-cat-card div { padding: 12px; }
  .shop-page-v38 .market-cat-card strong { font-size: 14px; }
  .shop-page-v38 .market-cat-card small { font-size: 11px; }
  .shop-page-v38 .market-deal-shell {
    padding: 10px;
    border-radius: 22px;
  }
  .shop-page-v38 .market-deal-products {
    display: flex;
    overflow-x: auto;
    gap: 10px;
    scrollbar-width: none;
    padding-bottom: 4px;
  }
  .shop-page-v38 .market-deal-products::-webkit-scrollbar { display: none; }
  .shop-page-v38 .market-mini-product {
    flex: 0 0 82%;
    grid-template-columns: 70px 1fr;
    gap: 10px;
    padding: 10px;
    border-radius: 18px;
  }
  .shop-page-v38 .market-mini-product img {
    width: 70px;
    height: 70px;
    border-radius: 14px;
  }
  .shop-page-v38 .mini-product-title { font-size: 12px; }
  .shop-page-v38 .market-filter-bar {
    padding: 8px;
    border-radius: 18px;
    gap: 7px;
  }
  .shop-page-v38 .market-filter-bar a {
    font-size: 12px;
    padding: 8px 14px;
    border-radius: 14px;
  }
  .shop-page-v38 .market-product-grid-v37 {
    grid-template-columns: repeat(2, minmax(0,1fr));
    gap: 10px;
  }
  .shop-page-v38 .market-product-card-v38 {
    border-radius: 20px;
  }
  .shop-page-v38 .market-product-img { padding: 8px 8px 0; }
  .shop-page-v38 .market-product-img img {
    height: 102px;
    border-radius: 14px;
  }
  .shop-page-v38 .market-product-body {
    padding: 10px 10px 12px;
  }
  .shop-page-v38 .market-product-body small { font-size: 9.5px; }
  .shop-page-v38 .market-product-body h3 {
    font-size: 12.5px;
    line-height: 1.7;
    margin: 4px 0 2px;
  }
  .shop-page-v38 .market-product-price {
    margin: 7px 0 8px;
  }
  .shop-page-v38 .market-product-price strong { font-size: 12px; }
  .shop-page-v38 .market-product-actions--single .btn {
    min-height: 34px;
    border-radius: 12px;
    font-size: 10.5px;
  }
  .shop-page-v38 .market-promo-card {
    min-height: 140px;
    padding: 16px;
    border-radius: 22px;
  }
  .shop-page-v38 .market-promo-card strong { font-size: 17px; }
  .shop-page-v38 .market-service-row {
    gap: 8px;
    padding: 10px;
    border-radius: 18px;
  }
  .shop-page-v38 .market-service-row div {
    grid-template-columns: 42px 1fr;
    column-gap: 10px;
    padding: 10px;
    border-radius: 16px;
  }
  .shop-page-v38 .market-service-row b {
    width: 42px;
    height: 42px;
    border-radius: 14px;
  }
  .shop-page-v38 .market-service-row b img { width: 24px; height: 24px; }
  .product-page-v38 .product-detail-card--luxury {
    gap: 14px;
  }
  .product-page-v38 .product-gallery {
    padding: 12px;
    border-radius: 24px;
  }
  .product-page-v38 .product-gallery-main img {
    height: 210px;
    border-radius: 18px;
  }
  .product-page-v38 .product-gallery-main span {
    right: 14px;
    top: 14px;
    padding: 7px 12px;
    font-size: 11px;
  }
  .product-page-v38 .product-thumbs { gap: 8px; }
  .product-page-v38 .product-thumb { width: 66px; border-radius: 14px; }
  .product-page-v38 .product-thumb img { height: 52px; border-radius: 10px; }
  .product-page-v38 .product-detail-info {
    padding: 18px;
    border-radius: 24px;
  }
  .product-page-v38 .product-detail-info h1 {
    font-size: 18px;
    line-height: 1.7;
  }
  .product-page-v38 .lead {
    font-size: 12px;
    line-height: 1.9;
  }
  .product-page-v38 .product-price-box {
    padding: 14px;
    border-radius: 18px;
    margin: 16px 0;
    gap: 8px;
  }
  .product-page-v38 .product-price-box strong { font-size: 17px; }
  .product-page-v38 .product-price-box span { font-size: 12px; }
  .product-page-v38 .product-quick-specs { gap: 8px; margin: 12px 0 14px; }
  .product-page-v38 .product-quick-specs span {
    font-size: 10.5px;
    padding: 6px 10px;
  }
  .product-page-v38 .product-buy-form-v38 {
    padding: 14px;
    border-radius: 18px;
  }
  .product-page-v38 .product-buy-form-v38 label {
    font-size: 12px;
  }
  .product-page-v38 .quantity-control {
    grid-template-columns: 40px 1fr 40px;
    min-height: 46px;
    border-radius: 17px;
    padding: 4px;
  }
  .product-page-v38 .qty-btn {
    width: 34px;
    height: 34px;
    border-radius: 12px;
    font-size: 19px;
  }
  .product-page-v38 .qty-input { font-size: 15px; }
  .product-page-v38 .product-buy-form-v38 .btn-primary {
    min-height: 46px;
    border-radius: 16px;
    font-size: 13px;
  }
  .product-page-v38 .product-detail-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }
  .product-page-v38 .product-detail-actions .btn {
    min-height: 40px;
    padding: 8px 10px;
    border-radius: 14px;
    font-size: 12px;
  }
  .cart-page-v38 .section-head {
    gap: 10px;
  }
  .cart-page-v38 .section-head .btn-dark {
    width: auto;
    min-height: 40px;
    border-radius: 16px;
    padding-inline: 14px;
    font-size: 12px;
  }
  .cart-item-v40 {
    grid-template-columns: 72px 1fr !important;
    gap: 12px;
    padding: 12px;
    border-radius: 22px;
  }
  .cart-item-v40 .cart-item-media img {
    width: 72px;
    height: 72px;
    border-radius: 16px;
  }
  .cart-item-v40 .cart-item-content { gap: 10px; }
  .cart-item-v40 .cart-item-head { align-items: flex-start; }
  .cart-item-v40 h3 {
    font-size: 16px;
    line-height: 1.65;
    margin-bottom: 4px;
  }
  .cart-item-v40 span,
  .cart-item-v40 small {
    font-size: 11px;
    line-height: 1.8;
  }
  .cart-remove-btn {
    width: 38px;
    height: 38px;
    border-radius: 14px;
  }
  .cart-remove-btn img { width: 18px; height: 18px; }
  .cart-item-v40 .cart-item-controls {
    display: grid;
    gap: 10px;
  }
  .cart-qty-form-v40 {
    gap: 8px;
  }
  .cart-page-v38 .quantity-control--cart {
    grid-template-columns: 36px 56px 36px;
    min-height: 42px;
    border-radius: 16px;
  }
  .cart-page-v38 .quantity-control--cart .qty-btn {
    width: 30px;
    height: 30px;
    border-radius: 10px;
    font-size: 17px;
  }
  .cart-page-v38 .quantity-control--cart .qty-input { font-size: 14px; }
  .cart-page-v38 .cart-qty-form-v40 .btn {
    min-height: 40px;
    border-radius: 14px;
    font-size: 12px;
    padding-inline: 14px;
  }
  .cart-item-total {
    font-size: 18px;
    line-height: 1.3;
  }
  .cart-summary-v40 {
    padding: 18px;
    border-radius: 24px;
  }
  .cart-summary-v40 strong { font-size: 16px; }
  .cart-summary-v40 > b { font-size: 18px; margin: 10px 0; }
  .cart-summary-v40 p { font-size: 11px; line-height: 1.9; }
  .cart-summary-v40 .btn {
    min-height: 46px;
    border-radius: 16px;
    font-size: 13px;
  }
}
@media (max-width: 380px) {
  .shop-page-v38 .market-product-grid-v37 { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .shop-page-v38 .market-cat-card { flex-basis: 92%; }
  .shop-page-v38 .market-mini-product { flex-basis: 86%; }
}

/* v41 - make mobile horizontal cards much more compact */
@media (max-width: 760px) {
  .shop-page-v38 .market-category-row {
    gap: 8px;
    padding-inline: 1px;
  }
  .shop-page-v38 .market-cat-card {
    flex: 0 0 76%;
    min-height: 84px;
    grid-template-columns: 66px 1fr;
    border-radius: 18px;
  }
  .shop-page-v38 .market-cat-card .cat-cover {
    width: 66px;
  }
  .shop-page-v38 .market-cat-card div {
    padding: 10px;
    gap: 2px;
  }
  .shop-page-v38 .market-cat-card b {
    width: 28px;
    height: 28px;
    border-radius: 10px;
    font-size: 12px;
  }
  .shop-page-v38 .market-cat-card .cat-icon img {
    width: 16px;
    height: 16px;
  }
  .shop-page-v38 .market-cat-card strong {
    font-size: 13px;
    line-height: 1.45;
  }
  .shop-page-v38 .market-cat-card small {
    font-size: 10.5px;
    line-height: 1.55;
    -webkit-line-clamp: 1;
  }

  .shop-page-v38 .market-deal-products {
    gap: 8px;
  }
  .shop-page-v38 .market-mini-product {
    flex: 0 0 74%;
    grid-template-columns: 58px 1fr;
    gap: 8px;
    padding: 8px;
    border-radius: 16px;
    min-height: 72px;
  }
  .shop-page-v38 .market-mini-product img {
    width: 58px;
    height: 58px;
    border-radius: 12px;
  }
  .shop-page-v38 .market-mini-product div {
    min-width: 0;
    display: grid;
    align-content: center;
    gap: 2px;
  }
  .shop-page-v38 .mini-product-title {
    font-size: 11.5px;
    line-height: 1.5;
    -webkit-line-clamp: 1;
  }
  .shop-page-v38 .market-mini-product span {
    font-size: 11px;
    margin-top: 0;
  }
}
@media (max-width: 420px) {
  .shop-page-v38 .market-cat-card {
    flex-basis: 78%;
  }
  .shop-page-v38 .market-mini-product {
    flex-basis: 76%;
  }
}

/* v42 - mobile shop hero becomes search-only, product cards much smaller */
@media (max-width: 760px) {
  /* Hero: keep only search */
  .shop-page-v38 .market-hero-v37 { padding: 10px 0 8px !important; }
  .shop-page-v38 .market-hero-shell {
    min-height: auto;
    padding: 12px;
    display: block;
  }
  .shop-page-v38 .market-hero-copy {
    display: block;
  }
  .shop-page-v38 .market-hero-copy > .market-badge,
  .shop-page-v38 .market-hero-copy > h1,
  .shop-page-v38 .market-hero-copy > p {
    display: none !important;
  }
  .shop-page-v38 .market-search {
    margin-top: 0;
    padding: 8px;
    border-radius: 18px;
    box-shadow: none;
    background: rgba(255,255,255,.9);
  }
  .shop-page-v38 .market-search input {
    min-height: 42px;
    border-radius: 14px;
    padding: 10px 14px;
    font-size: 12.5px;
  }
  .shop-page-v38 .market-search .btn {
    min-height: 42px;
    border-radius: 14px;
    font-size: 12.5px;
  }

  /* Product cards: much smaller and cleaner */
  .shop-page-v38 .market-products-v37 { padding: 10px 0 12px !important; }
  .shop-page-v38 .market-product-grid-v37 {
    grid-template-columns: repeat(2, minmax(0,1fr));
    gap: 8px;
  }
  .shop-page-v38 .market-product-card-v38 {
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(10,64,58,.06);
  }
  .shop-page-v38 .market-product-img {
    padding: 6px 6px 0;
  }
  .shop-page-v38 .market-product-img img {
    height: 86px;
    border-radius: 12px;
  }
  .shop-page-v38 .market-product-body {
    padding: 8px 8px 10px;
  }
  .shop-page-v38 .market-product-body small {
    display: none;
  }
  .shop-page-v38 .market-product-body h3 {
    min-height: auto;
    margin: 2px 0 4px;
    font-size: 11.5px;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .shop-page-v38 .market-product-body p {
    display: none !important;
  }
  .shop-page-v38 .market-product-price {
    margin: 4px 0 6px;
    gap: 4px;
  }
  .shop-page-v38 .market-product-price strong {
    font-size: 11px;
    line-height: 1.5;
  }
  .shop-page-v38 .market-product-price em {
    font-size: 9px;
  }
  .shop-page-v38 .market-product-actions--single .btn {
    min-height: 30px;
    border-radius: 10px;
    font-size: 9.5px;
    padding: 5px 8px;
    box-shadow: none;
  }
  .shop-page-v38 .market-section-title--products h2 {
    font-size: 18px;
  }
  .shop-page-v38 .market-section-title--products span {
    font-size: 11px;
  }
}

@media (max-width: 390px) {
  .shop-page-v38 .market-product-grid-v37 {
    gap: 7px;
  }
  .shop-page-v38 .market-product-img img {
    height: 80px;
  }
  .shop-page-v38 .market-product-body {
    padding: 7px 7px 9px;
  }
  .shop-page-v38 .market-product-body h3 {
    font-size: 11px;
  }
  .shop-page-v38 .market-product-price strong {
    font-size: 10.5px;
  }
  .shop-page-v38 .market-product-actions--single .btn {
    min-height: 28px;
    font-size: 9px;
  }
}

/* v43 - fix stretched mobile category and selected-product strips */
@media (max-width: 760px) {
  .shop-page-v38 .market-category-row {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    overflow: visible;
    padding-bottom: 0;
  }
  .shop-page-v38 .market-cat-card {
    flex: initial !important;
    min-width: 0;
    min-height: 76px;
    grid-template-columns: 52px 1fr;
    border-radius: 16px;
  }
  .shop-page-v38 .market-cat-card .cat-cover {
    width: 52px;
  }
  .shop-page-v38 .market-cat-card div {
    padding: 8px;
  }
  .shop-page-v38 .market-cat-card b {
    width: 24px;
    height: 24px;
    border-radius: 8px;
    font-size: 11px;
  }
  .shop-page-v38 .market-cat-card .cat-icon img {
    width: 14px;
    height: 14px;
  }
  .shop-page-v38 .market-cat-card strong {
    font-size: 11.5px;
    line-height: 1.45;
  }
  .shop-page-v38 .market-cat-card small {
    font-size: 9.5px;
    line-height: 1.4;
    -webkit-line-clamp: 1;
  }

  .shop-page-v38 .market-deal-shell {
    padding: 8px;
    border-radius: 18px;
  }
  .shop-page-v38 .market-deal-products {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    overflow: visible;
    padding-bottom: 0;
  }
  .shop-page-v38 .market-mini-product {
    flex: initial !important;
    min-width: 0;
    min-height: 70px;
    grid-template-columns: 48px 1fr;
    gap: 7px;
    padding: 7px;
    border-radius: 14px;
  }
  .shop-page-v38 .market-mini-product img {
    width: 48px;
    height: 48px;
    border-radius: 10px;
  }
  .shop-page-v38 .market-mini-product div {
    gap: 1px;
  }
  .shop-page-v38 .mini-product-title {
    font-size: 10.5px;
    line-height: 1.4;
    -webkit-line-clamp: 2;
  }
  .shop-page-v38 .market-mini-product span {
    font-size: 10px;
    line-height: 1.3;
  }
}

@media (max-width: 390px) {
  .shop-page-v38 .market-category-row,
  .shop-page-v38 .market-deal-products {
    grid-template-columns: 1fr 1fr;
    gap: 7px;
  }
  .shop-page-v38 .market-cat-card {
    min-height: 72px;
    grid-template-columns: 46px 1fr;
  }
  .shop-page-v38 .market-cat-card .cat-cover {
    width: 46px;
  }
  .shop-page-v38 .market-mini-product {
    min-height: 66px;
    grid-template-columns: 44px 1fr;
  }
  .shop-page-v38 .market-mini-product img {
    width: 44px;
    height: 44px;
  }
}

/* v44 - compact and cleaner mobile product detail section */
@media (max-width: 760px) {
  .product-page-v38 .product-detail-card--luxury {
    gap: 12px;
    border-radius: 22px;
  }
  .product-page-v38 .product-detail-info {
    padding: 16px;
    border-radius: 22px;
  }
  .product-page-v38 .eyebrow {
    font-size: 10.5px;
    padding: 7px 11px;
  }
  .product-page-v38 .product-detail-info h1 {
    font-size: 16px;
    line-height: 1.6;
    margin: 6px 0;
  }
  .product-page-v38 .lead {
    font-size: 11.5px;
    line-height: 1.8;
    margin-bottom: 10px;
  }
  .product-page-v38 .product-price-box {
    margin: 12px 0;
    padding: 12px 14px;
    border-radius: 16px;
  }
  .product-page-v38 .product-price-box strong {
    font-size: 16px;
  }
  .product-page-v38 .product-price-box span {
    font-size: 11px;
  }
  .product-page-v38 .product-quick-specs {
    gap: 6px;
    margin: 8px 0 12px;
  }
  .product-page-v38 .product-quick-specs span {
    font-size: 10px;
    padding: 5px 9px;
    border-radius: 999px;
  }
  .product-page-v38 .product-buy-form-v38 {
    padding: 12px;
    border-radius: 16px;
    margin-bottom: 10px;
  }
  .product-page-v38 .product-buy-form-v38 label {
    display: block;
    font-size: 11px;
    margin-bottom: 8px;
  }
  .product-page-v38 .qty-row-v38 {
    gap: 8px;
    margin: 6px 0 0;
  }
  .product-page-v38 .quantity-control {
    min-height: 42px;
    grid-template-columns: 36px 1fr 36px;
    padding: 4px;
    border-radius: 15px;
  }
  .product-page-v38 .qty-btn {
    width: 28px;
    height: 28px;
    border-radius: 9px;
    font-size: 17px;
  }
  .product-page-v38 .qty-input {
    font-size: 14px;
  }
  .product-page-v38 .product-buy-form-v38 .btn-primary {
    min-height: 40px;
    border-radius: 14px;
    font-size: 12px;
    box-shadow: none;
  }
  .product-page-v38 .product-buy-form-v38 small {
    margin-top: 8px;
    font-size: 10.5px;
    line-height: 1.8;
  }
  .product-page-v38 .product-detail-actions {
    gap: 7px;
    margin-top: 2px;
  }
  .product-page-v38 .product-detail-actions .btn {
    min-height: 38px;
    border-radius: 13px;
    font-size: 11px;
    padding: 7px 10px;
  }
}

@media (max-width: 390px) {
  .product-page-v38 .product-detail-info {
    padding: 14px;
  }
  .product-page-v38 .product-detail-info h1 {
    font-size: 15px;
  }
  .product-page-v38 .lead {
    font-size: 11px;
  }
  .product-page-v38 .product-price-box strong {
    font-size: 15px;
  }
  .product-page-v38 .product-price-box span {
    font-size: 10.5px;
  }
  .product-page-v38 .product-quick-specs span {
    font-size: 9.5px;
  }
}

/* v46 - editable shop layout colors */
.shop-page-v38 .market-deal-shell {
  background: linear-gradient(135deg, var(--deal-a, #ff8a3d) 0%, var(--deal-b, #ff4e2e) 100%) !important;
}

/* V63 professional About page */
body[data-page="home"] .hero-content>h1{margin-top:0}.about-page-hero{position:relative;overflow:hidden;padding:76px 0 66px;background:radial-gradient(circle at 12% 15%,rgba(248,215,103,.22),transparent 28%),linear-gradient(180deg,var(--surface-2),var(--bg));}.about-page-hero:before{content:"";position:absolute;width:420px;height:420px;border-radius:50%;left:-180px;bottom:-250px;background:rgba(10,64,58,.06)}.about-hero-inner{position:relative;z-index:1}.about-page-hero h1{max-width:950px;margin:18px 0 14px;font-size:clamp(34px,5vw,64px);line-height:1.45;letter-spacing:-.02em}.about-page-hero .lead{max-width:900px;margin:0;color:var(--muted);font-size:clamp(17px,2vw,21px);line-height:2}.about-reading-meta{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-top:26px}.about-reading-meta span{display:inline-flex;align-items:center;gap:7px;padding:8px 13px;border:1px solid var(--line);background:var(--surface);border-radius:999px;color:var(--muted);font-size:13px;font-weight:700;box-shadow:var(--shadow-sm)}.about-reading-meta span:before{content:"";width:7px;height:7px;border-radius:50%;background:var(--accent)}.about-article-section{padding-top:64px;background:linear-gradient(180deg,var(--bg),var(--surface-2))}.about-article-layout{display:grid;grid-template-columns:minmax(0,1fr) 290px;gap:28px;align-items:start;direction:ltr}.about-article-layout.no-toc{grid-template-columns:minmax(0,920px);justify-content:center}.about-rich-article,.about-toc-card{direction:rtl}.about-toc-card{position:sticky;top:100px;border:1px solid var(--line);border-radius:26px;background:var(--surface);box-shadow:var(--shadow-sm);padding:18px;max-height:calc(100vh - 120px);overflow:auto}.about-toc-title{display:flex;align-items:center;gap:9px;padding:5px 4px 14px;border-bottom:1px solid var(--line);margin-bottom:10px}.about-toc-title span{width:10px;height:10px;border-radius:50%;background:var(--accent);box-shadow:0 0 0 7px rgba(248,215,103,.18)}.about-toc-title strong{font-size:16px}.about-toc-card nav{display:grid;gap:3px}.about-toc-card nav a{display:block;padding:9px 10px;border-radius:12px;color:var(--muted);font-size:13px;font-weight:700;line-height:1.8;transition:.2s}.about-toc-card nav a:hover,.about-toc-card nav a.active{background:var(--surface-3);color:var(--primary-2)}.about-toc-card .toc-level-3{padding-right:22px;font-size:12px}.about-toc-card .toc-level-4{padding-right:34px;font-size:11px}.about-toc-action{display:flex;justify-content:center;margin-top:14px;padding:10px 14px;border-radius:14px;background:var(--primary-2);color:var(--bg)!important;font-weight:900;font-size:13px}.about-rich-article{min-width:0;border:1px solid var(--line);border-radius:34px;background:var(--surface);box-shadow:var(--shadow-sm);padding:clamp(24px,4vw,56px);font-size:17px;line-height:2.2;color:var(--text);overflow:hidden}.about-rich-article>*:first-child{margin-top:0}.about-rich-article h2,.about-rich-article h3,.about-rich-article h4{scroll-margin-top:110px;color:var(--primary-2);line-height:1.65}.about-rich-article h2{font-size:clamp(26px,3.4vw,38px);margin:2.1em 0 .75em;padding-bottom:16px;border-bottom:1px solid var(--line);position:relative}.about-rich-article h2:after{content:"";position:absolute;right:0;bottom:-1px;width:86px;height:3px;border-radius:999px;background:linear-gradient(90deg,var(--accent),var(--primary-3))}.about-rich-article h3{font-size:clamp(21px,2.5vw,28px);margin:1.8em 0 .55em}.about-rich-article h4{font-size:clamp(18px,2vw,22px);margin:1.55em 0 .45em}.about-rich-article p{margin:0 0 1.2em;color:var(--muted)}.about-rich-article strong,.about-rich-article b{color:var(--text);font-weight:900}.about-rich-article a{color:var(--primary-3);font-weight:900;text-decoration:underline;text-decoration-color:rgba(23,96,88,.28);text-underline-offset:4px}.about-rich-article ul,.about-rich-article ol{margin:1em 0 1.5em;padding-right:28px}.about-rich-article li{margin:.45em 0;color:var(--muted)}.about-rich-article li::marker{color:var(--accent-2);font-weight:900}.about-rich-article blockquote{margin:28px 0;padding:22px 24px;border-right:5px solid var(--accent);border-radius:18px;background:linear-gradient(135deg,rgba(248,215,103,.18),var(--surface-2));color:var(--text);box-shadow:inset 0 0 0 1px var(--line)}.about-rich-article .article-note{border-right-color:var(--primary-3);background:var(--surface-3)}.about-rich-article .article-warning{border-right-color:#d58c28;background:rgba(248,215,103,.14)}.about-rich-article hr{border:0;height:1px;background:var(--line);margin:34px 0}.about-rich-article table{width:100%;border-collapse:separate;border-spacing:0;margin:28px 0;border:1px solid var(--line);border-radius:18px;overflow:hidden;display:block;overflow-x:auto}.about-rich-article thead,.about-rich-article tbody,.about-rich-article tfoot{display:table;width:100%;table-layout:fixed}.about-rich-article th,.about-rich-article td{padding:14px 16px;border-bottom:1px solid var(--line);border-left:1px solid var(--line);text-align:right;min-width:130px}.about-rich-article th:last-child,.about-rich-article td:last-child{border-left:0}.about-rich-article tr:last-child td{border-bottom:0}.about-rich-article th{background:var(--surface-3);color:var(--text)}.about-rich-article figure{margin:34px auto;text-align:center}.about-rich-article figure img,.about-rich-article>img{width:auto;max-width:100%;height:auto;border-radius:24px;box-shadow:var(--shadow-sm)}.about-rich-article figcaption{margin-top:10px;color:var(--muted);font-size:13px}.about-rich-article pre,.about-rich-article code{direction:ltr;text-align:left;font-family:Consolas,Monaco,monospace}.about-rich-article pre{overflow:auto;padding:18px;border-radius:16px;background:#0b2622;color:#eafaf7}.about-rich-article mark{padding:1px 5px;border-radius:6px}.about-toc-mobile{display:none;margin-bottom:18px;border:1px solid var(--line);border-radius:20px;background:var(--surface);box-shadow:var(--shadow-sm);overflow:hidden}.about-toc-mobile summary{padding:14px 17px;font-weight:900;cursor:pointer}.about-toc-mobile nav{display:grid;padding:0 12px 12px}.about-toc-mobile a{padding:9px 10px;border-radius:10px;color:var(--muted);font-size:13px}.about-toc-mobile .toc-level-3{padding-right:24px}.about-toc-mobile .toc-level-4{padding-right:36px}.about-bottom-cta-section{padding-top:28px;background:var(--surface-2)}.about-bottom-cta{display:flex;align-items:center;justify-content:space-between;gap:28px;padding:clamp(26px,4vw,48px);border-radius:34px;background:linear-gradient(135deg,#073f38,#0c5e54);color:#fff;box-shadow:var(--shadow);position:relative;overflow:hidden}.about-bottom-cta:after{content:"";position:absolute;left:-80px;top:-100px;width:260px;height:260px;border-radius:50%;background:rgba(248,215,103,.16)}.about-bottom-cta>div{position:relative;z-index:1}.about-bottom-cta h2{color:#fff;margin:13px 0 8px;font-size:clamp(24px,3.5vw,38px)}.about-bottom-cta p{margin:0;color:rgba(255,255,255,.75);max-width:720px}.about-bottom-actions{display:flex;gap:10px;flex-wrap:wrap;flex:0 0 auto}.about-bottom-actions .btn-dark{background:rgba(255,255,255,.1);border:1px solid rgba(255,255,255,.25)}@media(max-width:980px){.about-article-layout{grid-template-columns:1fr}.about-toc-card{display:none}.about-toc-mobile{display:block}.about-bottom-cta{align-items:flex-start;flex-direction:column}.about-bottom-actions{width:100%}}@media(max-width:640px){.about-page-hero{padding:48px 0 42px}.about-page-hero h1{font-size:31px;line-height:1.55}.about-page-hero .lead{font-size:16px}.about-reading-meta{gap:7px}.about-reading-meta span{font-size:11px;padding:7px 10px}.about-article-section{padding:34px 0}.about-rich-article{padding:22px 18px;border-radius:24px;font-size:16px;line-height:2.05}.about-rich-article h2{font-size:25px}.about-rich-article h3{font-size:21px}.about-rich-article blockquote{padding:17px 16px;margin:22px 0}.about-bottom-cta{border-radius:26px}.about-bottom-actions .btn{width:100%;justify-content:center}}
