/* ---------- Variables ---------- */
:root {
  --obsidian: #12163a;
  --obsidian-2: #1b2050;
  --dune: #f3f5fb;
  --gold: #263592;
  --gold-light: #93a6ea;
  --navy: #1a2054;
  --navy-2: #2c3778;
  --red: #cf2e2e;
  --white: #ffffff;
  --ink-60: rgba(18, 22, 58, 0.6);
  --ink-50: rgba(18, 22, 58, 0.5);
  --ink-40: rgba(18, 22, 58, 0.4);
  --ink-15: rgba(18, 22, 58, 0.14);
  --white-70: rgba(255, 255, 255, 0.7);
  --white-50: rgba(255, 255, 255, 0.5);
  --white-15: rgba(255, 255, 255, 0.15);
  --font-head: 'Space Grotesk', sans-serif;
  --font-body: 'IBM Plex Sans', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  --radius: 2px;
  --container: 1240px;
}

/* ---------- RTL / Arabic ---------- */
:root[dir="rtl"] {
  --font-head: 'Tajawal', sans-serif;
  --font-body: 'Tajawal', sans-serif;
  --font-mono: 'Tajawal', sans-serif;
}
[dir="rtl"] *, [dir="rtl"] *::before, [dir="rtl"] *::after { letter-spacing: normal !important; }
[dir="rtl"] h1, [dir="rtl"] h2, [dir="rtl"] h3 { letter-spacing: normal; }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--obsidian);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
h1, h2, h3 { font-family: var(--font-head); margin: 0; font-weight: 600; letter-spacing: -0.01em; }
p { margin: 0; }
ul { list-style: none; margin: 0; padding: 0; }
.ic { width: 16px; height: 16px; fill: currentColor; flex-shrink: 0; }

section { padding: 88px 6vw; }
@media (max-width: 768px) { section { padding: 64px 6vw; } }

.container { max-width: var(--container); margin: 0 auto; }

/* ---------- Kicker (section index label) ---------- */
.kicker { display: flex; align-items: center; gap: 14px; margin-bottom: 22px; }
.kicker__num {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--gold);
  border: 1px solid var(--gold);
  padding: 3px 8px;
  line-height: 1;
}
.kicker__line { width: 40px; height: 1px; background: var(--ink-15); flex-shrink: 0; }
.kicker__label { font-family: var(--font-mono); letter-spacing: 0.2em; text-transform: uppercase; font-size: 11.5px; color: var(--ink-50); }
.kicker--on-dark .kicker__num { color: var(--gold-light); border-color: var(--gold-light); }
.kicker--on-dark .kicker__line { background: var(--white-15); }
.kicker--on-dark .kicker__label { color: var(--white-50); }

.section-head { max-width: 720px; margin: 0 auto 56px; }
.section-head h2 { font-size: clamp(28px, 4vw, 44px); line-height: 1.2; }
.section-lead { color: var(--ink-60); margin-top: 16px; line-height: 1.7; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 30px;
  font-family: var(--font-mono);
  letter-spacing: 0.06em;
  font-size: 12.5px;
  text-transform: uppercase;
  border-radius: var(--radius);
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: background-color 0.25s ease, border-color 0.25s ease, color 0.25s ease, transform 0.15s ease-out;
}
.btn--gold { background: var(--gold); color: var(--white); border-color: var(--gold); }
.btn--gold:hover { background: var(--obsidian); border-color: var(--obsidian); }
.btn--outline { border-color: var(--ink-15); color: var(--obsidian); background: transparent; }
.btn--outline:hover { border-color: var(--gold); color: var(--gold); }
.btn--ghost-light { border-color: var(--white-50); color: var(--white); background: transparent; }
.btn--ghost-light:hover { border-color: var(--white); background: var(--white-15); }
.btn--full { width: 100%; }
.btn--whatsapp { background: #25d366; color: #fff; margin-top: 28px; width: 100%; border-color: #25d366; }
.btn--whatsapp:hover { background: #1ebe5b; border-color: #1ebe5b; }
.btn--whatsapp svg { width: 18px; height: 18px; fill: currentColor; }

.link-arrow { color: var(--gold); font-family: var(--font-mono); letter-spacing: 0.04em; font-size: 13.5px; display: inline-block; margin-top: 28px; text-transform: uppercase; }
.link-arrow:hover { color: var(--obsidian); }

/* ---------- Topbar ---------- */
.topbar { background: linear-gradient(100deg, var(--navy) 0%, var(--navy-2) 55%, var(--navy) 100%); color: var(--white-70); font-size: 12.5px; font-family: var(--font-mono); }
.topbar__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 9px 6vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.topbar__contact, .topbar__meta { display: flex; align-items: center; gap: 22px; }
.topbar a { display: inline-flex; align-items: center; gap: 8px; transition: color 0.2s; }
.topbar a:hover { color: var(--gold-light); }
.topbar .ic { color: var(--gold-light); }
.lang-toggle {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--white);
  background: transparent;
  border: 1px solid var(--white-15);
  border-radius: var(--radius);
  padding: 4px 10px;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s;
}
.lang-toggle:hover { border-color: var(--gold-light); color: var(--gold-light); }
[dir="rtl"] .lang-toggle { letter-spacing: normal !important; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: var(--obsidian);
  border-bottom: 1px solid var(--white-15);
}
.site-header__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 14px 6vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand__mark { width: 42px; height: 42px; border-radius: 6px; }
.brand__text { display: flex; flex-direction: column; color: var(--white); line-height: 1.3; }
.brand__text strong { font-family: var(--font-head); font-size: 15px; letter-spacing: 0.04em; }
.brand__text em { font-style: normal; font-family: var(--font-mono); font-weight: 500; font-size: 12px; color: var(--gold-light); letter-spacing: 0.02em; margin-top: 2px; }

.main-nav { display: flex; align-items: center; gap: 32px; }
.main-nav a { font-family: var(--font-mono); color: var(--white-70); font-size: 12.5px; letter-spacing: 0.05em; text-transform: uppercase; transition: color 0.2s; position: relative; }
.main-nav a:hover { color: var(--white); }

.header-cta { display: flex; align-items: center; gap: 18px; }
.header-cta .btn { padding: 12px 22px; font-size: 11.5px; }

.nav-toggle { position: relative; z-index: 210; display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; }
.nav-toggle span { width: 24px; height: 2px; background: var(--white); border-radius: 1px; transition: all 0.3s; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 88vh; padding: 0; background: var(--obsidian); overflow: hidden; }
.hero__bg { position: absolute; inset: 0; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); will-change: transform; animation: hero-bg-in 1.8s cubic-bezier(0.16, 0.8, 0.32, 1) both, hero-breathe 34s ease-in-out 1.8s infinite; }

/* ---------- Hero entrance animation ---------- */
@keyframes hero-bg-in { from { opacity: 0; transform: scale(1.28); } to { opacity: 1; transform: scale(1.12); } }
@keyframes hero-breathe { 0%, 100% { transform: scale(1.12); } 50% { transform: scale(1.2); } }
@keyframes hero-fade-up { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
@keyframes hero-tag-in { from { opacity: 0; transform: translateX(18px); } to { opacity: 1; transform: translateX(0); } }

.hero__panel > * { opacity: 0; animation: hero-fade-up 1s cubic-bezier(0.16, 0.8, 0.32, 1) both; }
.hero__panel > .kicker { animation-delay: 0.35s; }
.hero__panel > h1 { animation-delay: 0.5s; }
.hero__panel > .hero__lead { animation-delay: 0.68s; }
.hero__panel > .hero__actions { animation-delay: 0.84s; }
.hero__tag { opacity: 0; animation: hero-tag-in 0.9s cubic-bezier(0.16, 0.8, 0.32, 1) both; animation-delay: 1.05s; }
.hero__stats { opacity: 0; animation: hero-fade-up 0.9s cubic-bezier(0.16, 0.8, 0.32, 1) both; animation-delay: 1.15s; }

@media (prefers-reduced-motion: reduce) {
  .hero__bg img, .hero__panel > *, .hero__tag, .hero__stats { animation: none; opacity: 1; transform: none; }
  .hero__bg img { transform: scale(1.12); }
}
.hero__bg::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(18,22,58,0.96) 0%, rgba(18,22,58,0.86) 32%, rgba(18,22,58,0.4) 58%, rgba(18,22,58,0.15) 78%);
}
[dir="rtl"] .hero__bg::after {
  background: linear-gradient(260deg, rgba(18,22,58,0.96) 0%, rgba(18,22,58,0.86) 32%, rgba(18,22,58,0.4) 58%, rgba(18,22,58,0.15) 78%);
}
.hero__panel { position: relative; z-index: 2; max-width: 680px; padding: 168px 6vw 140px; }
.hero__panel h1 { color: var(--white); font-size: clamp(32px, 4.2vw, 54px); line-height: 1.14; margin-top: 4px; }
.hero__lead { color: var(--white-70); margin-top: 24px; line-height: 1.75; max-width: 480px; font-size: 15.5px; }
.hero__actions { display: flex; gap: 16px; margin-top: 36px; flex-wrap: wrap; }

.hero__tag {
  position: absolute; z-index: 3; inset-inline-end: 6vw; bottom: 128px;
  display: flex; align-items: center; gap: 14px;
  background: rgba(18,22,58,0.65);
  backdrop-filter: blur(6px);
  border: 1px solid var(--white-15);
  padding-block: 12px;
  padding-inline: 12px 18px;
}
.hero__tag img { width: 56px; height: 56px; object-fit: cover; border: 1px solid var(--white-15); }
.hero__tag div { display: flex; flex-direction: column; gap: 2px; }
.hero__tag strong { font-family: var(--font-mono); font-size: 12px; color: var(--white); text-transform: uppercase; letter-spacing: 0.05em; }
.hero__tag span { font-size: 12px; color: var(--white-50); }

.hero__stats {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 3;
  max-width: var(--container); margin: 0 auto; padding: 0 6vw;
  display: grid; grid-template-columns: repeat(4, 1fr);
  background: rgba(18,22,58,0.75);
  backdrop-filter: blur(6px);
  border-top: 1px solid var(--white-15);
}
.hero__stats li {
  display: flex; flex-direction: column; gap: 4px;
  padding: 22px 24px;
  border-inline-start: 1px solid var(--white-15);
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--white-50);
}
.hero__stats li:first-child { border-inline-start: none; }
.hero__stats li > span:first-child { font-family: var(--font-head); font-weight: 600; color: var(--gold-light); font-size: 24px; }

/* ---------- Marquee ---------- */
.marquee { background: var(--obsidian); overflow: hidden; padding: 16px 0; border-top: 1px solid var(--white-15); border-bottom: 1px solid var(--white-15); }
.marquee__track { display: inline-flex; align-items: center; white-space: nowrap; animation: scroll-left 32s linear infinite; }
.marquee__track span { font-family: var(--font-mono); letter-spacing: 0.15em; text-transform: uppercase; font-size: 12.5px; color: var(--gold-light); margin: 0 22px; }
.marquee__track span.sep { color: var(--white-15); margin: 0; font-size: 14px; }
@keyframes scroll-left { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- About ---------- */
.about__grid { max-width: var(--container); margin: 0 auto; display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 64px; align-items: center; }
.about__media img { width: 100%; height: auto; border: 1px solid var(--ink-15); object-fit: cover; aspect-ratio: 4/3; }
.about__copy blockquote {
  margin: 0 0 24px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: clamp(22px, 2.6vw, 30px);
  line-height: 1.35;
  color: var(--obsidian);
  border-inline-start: 2px solid var(--gold);
  padding-inline-start: 22px;
}
.about__copy p:not(.kicker) { color: var(--ink-60); line-height: 1.8; font-size: 16px; }

/* ---------- Why us (spec list) ---------- */
.why-us { background: var(--obsidian); color: var(--white); }
.why-us .section-head h2 { color: var(--white); }
.spec-list { max-width: var(--container); margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--white-15); border-inline-start: 1px solid var(--white-15); }
.spec-row {
  display: grid;
  grid-template-columns: auto auto 1fr;
  align-items: start;
  gap: 20px;
  padding: 32px;
  border-inline-end: 1px solid var(--white-15);
  border-bottom: 1px solid var(--white-15);
  transition: background 0.3s ease;
}
.spec-row:hover { background: var(--obsidian-2); }
.spec-row__num { font-family: var(--font-mono); color: var(--gold-light); font-size: 13px; padding-top: 4px; }
.spec-row__icon { width: 22px; height: 22px; fill: var(--gold-light); margin-top: 2px; }
.spec-row__body h3 { font-size: 17px; margin-bottom: 10px; font-weight: 600; }
.spec-row__body p { color: var(--white-50); line-height: 1.7; font-size: 14.5px; }

/* ---------- Products ---------- */
.tabs { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; margin-bottom: 44px; }
.tab {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 11px 20px;
  border-radius: var(--radius);
  border: 1px solid var(--ink-15);
  background: transparent;
  cursor: pointer;
  color: var(--ink-60);
  transition: all 0.25s ease;
}
.tab:hover { border-color: var(--gold); color: var(--gold); }
.tab.active { background: var(--obsidian); color: var(--white); border-color: var(--obsidian); }

.product-grid { max-width: var(--container); margin: 0 auto; display: flex; flex-wrap: wrap; justify-content: center; gap: 1px; }
.product-card { position: relative; background: var(--white); border: 1px solid var(--ink-15); transition: box-shadow 0.3s ease; flex: 0 1 calc(25% - 1px); max-width: calc(25% - 1px); }
.product-card:hover { box-shadow: inset 0 0 0 1.5px var(--gold); z-index: 1; }
.product-card__code { position: absolute; top: 10px; left: 10px; z-index: 2; font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.05em; color: var(--white); background: rgba(18,22,58,0.7); padding: 3px 7px; }
.product-card__img { aspect-ratio: 1/1; overflow: hidden; }
.product-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.product-card:hover .product-card__img img { transform: scale(1.06); }
.product-card__body { padding: 16px 18px 20px; }
.product-card__body h3 { font-size: 15px; margin-bottom: 6px; line-height: 1.3; font-weight: 600; }
.product-card__body span { font-family: var(--font-mono); font-size: 11.5px; color: var(--ink-50); }

/* ---------- Brands ---------- */
.brands { background: var(--dune); text-align: center; padding: 56px 6vw; }
.brands__label { font-family: var(--font-mono); letter-spacing: 0.2em; text-transform: uppercase; font-size: 11.5px; color: var(--gold); margin-bottom: 26px; }
.brands__row { max-width: var(--container); margin: 0 auto; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.brands__row span { font-family: var(--font-mono); font-size: 12.5px; letter-spacing: 0.02em; padding: 9px 18px; border: 1px solid var(--ink-15); border-radius: var(--radius); color: var(--gold); background: var(--white); }

/* ---------- Projects (alternating rows) ---------- */
.project-list { max-width: var(--container); margin: 0 auto; display: flex; flex-direction: column; gap: 0; border-top: 1px solid var(--ink-15); }
.project-row { display: grid; grid-template-columns: 1.2fr 1fr; gap: 56px; align-items: center; padding: 44px 0; border-bottom: 1px solid var(--ink-15); }
.project-row--reverse { grid-template-columns: 1fr 1.2fr; }
.project-row--reverse .project-row__media { order: 2; }
.project-row--reverse .project-row__body { order: 1; }
.project-row__media { aspect-ratio: 16/10; overflow: hidden; border: 1px solid var(--ink-15); }
.project-row__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.project-row:hover .project-row__media img { transform: scale(1.05); }
.project-row__num { font-family: var(--font-mono); font-size: 12.5px; color: var(--gold); letter-spacing: 0.05em; }
.project-row__body h3 { font-size: clamp(22px, 2.6vw, 30px); margin-top: 14px; font-weight: 600; }
.project-row__loc { display: block; margin-top: 10px; font-family: var(--font-mono); font-size: 13px; color: var(--ink-50); letter-spacing: 0.03em; }

/* ---------- Contact ---------- */
.contact { background: var(--obsidian); color: var(--white); }
.contact__grid { max-width: var(--container); margin: 0 auto; display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 64px; }
.contact__grid > * { min-width: 0; }
.contact h2 { color: var(--white); font-size: clamp(26px, 3.4vw, 38px); line-height: 1.25; margin-top: 4px; }
.contact__lead { color: var(--white-50); margin-top: 18px; line-height: 1.75; max-width: 460px; }

.contact-list { margin-top: 32px; display: flex; flex-direction: column; gap: 16px; }
.contact-list li { display: flex; align-items: center; gap: 12px; color: var(--white-70); font-size: 14px; font-family: var(--font-mono); }
.contact-list .ic { color: var(--gold-light); }
.contact-list a:hover { color: var(--gold-light); }

.map { margin-top: 28px; border: 1px solid var(--white-15); overflow: hidden; }
.map iframe { width: 100%; height: 220px; border: 0; display: block; filter: grayscale(0.2) contrast(1.05); }

.quote-form { background: var(--white); color: var(--obsidian); border: 1px solid var(--white-15); padding: 40px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { margin-bottom: 18px; display: flex; flex-direction: column; gap: 8px; }
.field label { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.06em; color: var(--ink-50); text-transform: uppercase; }
.field input, .field select, .field textarea {
  width: 100%;
  min-width: 0;
  font-family: var(--font-body);
  font-size: 14.5px;
  padding: 13px 14px;
  border: 1px solid var(--ink-15);
  border-radius: var(--radius);
  background: var(--dune);
  color: var(--obsidian);
  outline: none;
  transition: border-color 0.2s;
  resize: vertical;
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--gold); }
.form-note { display: none; margin-top: 16px; color: #2f8a4b; font-size: 13.5px; line-height: 1.6; text-align: center; }
.form-note.visible { display: block; }

/* ---------- Footer ---------- */
.site-footer { background: var(--obsidian); color: var(--white); border-top: 1px solid var(--white-15); }
.site-footer__grid {
  max-width: var(--container);
  margin: 0 auto;
  padding: 72px 6vw 48px;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 48px;
}
.footer-brand__mark { width: 48px; height: 48px; border-radius: 6px; margin-bottom: 18px; }
.footer-brand h3 { font-size: 22px; letter-spacing: 0.02em; }
.footer-brand__tag { color: var(--gold-light); font-family: var(--font-mono); letter-spacing: 0.1em; font-size: 10.5px; margin-top: 6px; text-transform: uppercase; }
.footer-brand__desc { color: var(--white-50); margin-top: 18px; line-height: 1.7; font-size: 14px; max-width: 340px; }
.footer-heading { font-family: var(--font-mono); letter-spacing: 0.15em; text-transform: uppercase; font-size: 11.5px; color: var(--gold-light); margin-bottom: 20px; }
.footer-nav ul, .footer-contact ul { display: flex; flex-direction: column; gap: 14px; }
.footer-nav a, .footer-contact a, .footer-contact span { color: var(--white-70); font-size: 14px; font-family: var(--font-mono); }
.footer-nav a:hover, .footer-contact a:hover { color: var(--gold-light); }
.site-footer__bottom {
  border-top: 2px solid var(--navy);
  padding: 22px 6vw;
  text-align: center;
  color: var(--white-50);
  font-size: 12.5px;
  font-family: var(--font-mono);
}

/* ---------- Custom cursor ---------- */
html.custom-cursor,
html.custom-cursor a,
html.custom-cursor button,
html.custom-cursor .tab,
html.custom-cursor input,
html.custom-cursor select,
html.custom-cursor textarea { cursor: none; }

.cursor-dot, .cursor-ring {
  position: fixed;
  top: 0; left: 0;
  pointer-events: none;
  z-index: 9999;
  transition: opacity 0.2s ease;
}
.cursor-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--gold-light);
}
.cursor-ring {
  width: 34px; height: 34px;
  border-radius: 50%;
  border: 1.5px solid var(--gold-light);
  transition: width 0.25s ease, height 0.25s ease, border-color 0.25s ease, background-color 0.25s ease, opacity 0.2s ease;
}
.cursor-ring.cursor-hover {
  width: 60px; height: 60px;
  background: rgba(147, 166, 234, 0.12);
  border-color: var(--gold-light);
}
.cursor-ring.cursor-active { width: 26px; height: 26px; }
.cursor-hidden { opacity: 0; }

/* ---------- Floating buttons ---------- */
.whatsapp-float {
  position: fixed; bottom: 24px; right: 24px; z-index: 300;
  width: 56px; height: 56px; border-radius: 50%;
  background: #25d366; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 12px 28px -8px rgba(37,211,102,0.6);
  transition: transform 0.25s ease;
}
.whatsapp-float:hover { transform: scale(1.08); }
.whatsapp-float svg { width: 28px; height: 28px; fill: #fff; }

.back-to-top {
  position: fixed; bottom: 24px; right: 92px; z-index: 300;
  width: 44px; height: 44px; border-radius: var(--radius);
  background: var(--obsidian); border: 1px solid var(--white-15);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; opacity: 0; pointer-events: none;
  transition: opacity 0.3s ease, transform 0.25s ease;
}
.back-to-top.visible { opacity: 1; pointer-events: auto; }
.back-to-top:hover { transform: translateY(-3px); border-color: var(--gold); }
.back-to-top svg { width: 18px; height: 18px; fill: var(--gold-light); }

/* ---------- Reveal animation ---------- */
[data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; }
[data-reveal].in-view { opacity: 1; transform: translateY(0); }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .about__grid, .contact__grid { grid-template-columns: 1fr; }
  .about__media { order: -1; }
  .product-card { flex-basis: calc(50% - 1px); max-width: calc(50% - 1px); }
  .spec-list { grid-template-columns: 1fr; }
  .project-row, .project-row--reverse { grid-template-columns: 1fr; gap: 24px; }
  .project-row--reverse .project-row__media, .project-row--reverse .project-row__body { order: initial; }
  .site-footer__grid { grid-template-columns: 1fr 1fr; }
  .hero__tag { display: none; }
}

@media (max-width: 768px) {
  .topbar__contact a:not(:first-child), .hide-sm { display: none; }
  .main-nav { position: fixed; top: 0; inset-inline-end: -100%; height: 100vh; width: min(320px, 80vw);
    background: var(--obsidian); flex-direction: column; align-items: flex-start;
    padding: 100px 32px; gap: 26px; transition: inset-inline-end 0.35s ease; border-inline-start: 1px solid var(--white-15); }
  .main-nav.open { inset-inline-end: 0; }
  .nav-toggle { display: flex; }
  .header-cta .btn--gold { display: none; }
  .hero { min-height: auto; }
  .hero__panel { padding: 120px 6vw 48px; }
  .hero__stats { position: static; grid-template-columns: repeat(2, 1fr); }
  .hero__stats li { border-inline-start: none; border-top: 1px solid var(--white-15); }
  .hero__stats li:nth-child(odd) { border-inline-end: 1px solid var(--white-15); }
  .site-footer__grid { grid-template-columns: 1fr; }
  .quote-form { padding: 26px; }
  .field-row { grid-template-columns: 1fr; }
}

@media (max-width: 520px) {
  .product-card { flex-basis: 100%; max-width: 100%; }
}
