:root {
  --navy-950: #071827;
  --navy-900: #0b2338;
  --navy-800: #123653;
  --teal-700: #0f766e;
  --teal-600: #0d9488;
  --teal-100: #ccfbf1;
  --amber-600: #d97706;
  --amber-500: #f59e0b;
  --amber-100: #fef3c7;
  --slate-900: #172033;
  --slate-700: #42526a;
  --slate: #64748b;
  --slate-300: #cbd5e1;
  --slate-200: #e2e8f0;
  --slate-100: #f1f5f9;
  --surface: #ffffff;
  --surface-soft: #f7fafc;
  --danger: #c9362b;
  --success: #087f5b;
  --whatsapp: #25d366;
  --whatsapp-dark: #128c4b;
  --call: #2563eb;
  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 28px;
  --shadow-sm: 0 8px 24px rgba(7, 24, 39, 0.08);
  --shadow: 0 18px 60px rgba(7, 24, 39, 0.12);
  --shadow-lg: 0 24px 80px rgba(7, 24, 39, 0.18);
  --line: #d8e1ea;
  --paper: #f8fafc;
  --slate-light: #94a3b8;
  --container: 1180px;
  --font-heading: "Almarai", "Tahoma", sans-serif;
  --font-body: "Cairo", "Tahoma", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  color: var(--slate-900);
  background: var(--surface);
  font-family: var(--font-body);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}
body.is-locked { overflow: hidden; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
[hidden] { display: none !important; }

:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--amber-500) 72%, white);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  z-index: 9999;
  inset-block-start: 10px;
  inset-inline-start: 10px;
  transform: translateY(-140%);
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  background: var(--navy-950);
  color: white;
}
.skip-link:focus { transform: translateY(0); }
.preview-notice {
  position: relative;
  z-index: 1100;
  padding: 10px 18px;
  border-bottom: 1px solid #f59e0b;
  background: #fff7db;
  color: #6f4600;
  text-align: center;
  font-size: .88rem;
  font-weight: 700;
  line-height: 1.7;
}
.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}
.container { width: min(calc(100% - 32px), var(--container)); margin-inline: auto; }

h1, h2, h3, h4 { margin: 0; font-family: var(--font-heading); line-height: 1.35; }
h1 { font-size: clamp(2.1rem, 5vw, 4.5rem); letter-spacing: -0.035em; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.8rem); letter-spacing: -0.025em; }
h3 { font-size: clamp(1.05rem, 2vw, 1.3rem); }
p { margin: 0; }

.site-header {
  position: sticky;
  z-index: 1000;
  top: 0;
  border-bottom: 1px solid rgba(203, 213, 225, 0.7);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(18px);
}
.header-inner { min-height: 78px; display: flex; align-items: center; gap: 22px; }
.brand { display: inline-flex; align-items: center; gap: 11px; min-width: max-content; }
.brand-mark {
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 14px;
  color: white;
  background: linear-gradient(145deg, var(--teal-600), var(--navy-800));
  box-shadow: 0 10px 25px rgba(13, 148, 136, 0.25);
}
.brand-mark svg { width: 23px; height: 23px; }
.brand-text { display: grid; line-height: 1.35; }
.brand-text strong { font: 800 0.92rem var(--font-heading); }
.brand-text span { color: var(--slate); font-size: 0.72rem; }
.main-nav { margin-inline: auto; display: flex; align-items: center; gap: clamp(12px, 1.6vw, 24px); }
.main-nav a { position: relative; color: var(--slate-700); font-size: 0.82rem; font-weight: 700; white-space: nowrap; }
.main-nav a::after { content: ""; position: absolute; right: 0; left: 100%; bottom: -8px; height: 2px; background: var(--teal-600); transition: left .2s ease; }
.main-nav a:hover::after, .main-nav a:focus-visible::after { left: 0; }
.header-actions { display: flex; align-items: center; gap: 8px; }
.icon-btn, .nav-toggle {
  width: 42px;
  height: 42px;
  border: 1px solid var(--slate-200);
  border-radius: 13px;
  display: grid;
  place-items: center;
  color: var(--navy-800);
  background: white;
}
.icon-btn svg, .nav-toggle svg { width: 20px; height: 20px; }
.icon-btn--whatsapp { color: var(--whatsapp-dark); }
.nav-toggle { display: none; }

.btn {
  min-height: 46px;
  padding: 10px 20px;
  border: 1px solid transparent;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-weight: 800;
  font-size: .92rem;
  line-height: 1.2;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:disabled { cursor: wait; opacity: .65; transform: none; }
.btn svg { width: 19px; height: 19px; flex: 0 0 auto; }
.btn-primary { color: white; background: linear-gradient(135deg, var(--amber-600), var(--amber-500)); box-shadow: 0 10px 26px rgba(217, 119, 6, .23); }
.btn-outline { border-color: var(--slate-300); color: var(--navy-900); background: white; }
.btn-whatsapp { color: white; background: var(--whatsapp-dark); }
.btn-block { width: 100%; }
.btn-sm { min-height: 40px; padding: 8px 14px; font-size: .84rem; }

.hero {
  position: relative;
  isolation: isolate;
  overflow: clip;
  padding: clamp(64px, 9vw, 120px) 0;
  color: white;
  background:
    radial-gradient(circle at 12% 10%, rgba(13, 148, 136, .28), transparent 34%),
    radial-gradient(circle at 82% 72%, rgba(245, 158, 11, .14), transparent 28%),
    linear-gradient(150deg, var(--navy-950), var(--navy-800));
}
.hero::before { content: ""; position: absolute; z-index: -1; inset: 0; opacity: .16; background-image: linear-gradient(rgba(255,255,255,.09) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.09) 1px, transparent 1px); background-size: 48px 48px; mask-image: linear-gradient(to bottom, black, transparent); }
.hero-inner { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(360px, .88fr); align-items: center; gap: clamp(44px, 7vw, 90px); }
.eyebrow { width: max-content; max-width: 100%; padding: 7px 12px; border-radius: 999px; display: inline-flex; align-items: center; gap: 7px; color: var(--teal-700); background: var(--teal-100); font-size: .78rem; font-weight: 800; }
.hero .eyebrow { color: #d6fffa; background: rgba(45, 212, 191, .14); border: 1px solid rgba(94, 234, 212, .22); }
.hero h1 { margin-top: 20px; max-width: 780px; }
.hero h1 em { color: #fbbf24; font-style: normal; }
.hero-copy > p { max-width: 700px; margin-top: 22px; color: #d6e3ed; font-size: clamp(1rem, 1.4vw, 1.16rem); }
.hero-cta { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 12px; }
.hero .btn-outline { border-color: rgba(255,255,255,.28); color: white; background: rgba(255,255,255,.08); }
.hero-stats { margin-top: 34px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.stat { min-width: 0; padding-inline-start: 13px; border-inline-start: 2px solid rgba(45, 212, 191, .45); }
.stat-num { font: 800 1.25rem var(--font-heading); color: white; }
.stat-label { color: #aebfce; font-size: .72rem; }

.hero-visual { position: relative; }
.ticket-demo, .ticket-card { border: 1px solid var(--slate-200); border-radius: var(--radius); background: white; box-shadow: var(--shadow-sm); }
.ticket-demo { overflow: hidden; color: var(--slate-900); box-shadow: 0 30px 80px rgba(0,0,0,.28); transform: rotate(-1.5deg); }
.ticket-demo-head, .ticket-demo-foot { padding: 18px 20px; display: flex; justify-content: space-between; align-items: center; background: var(--surface-soft); }
.ticket-id { font-weight: 800; }
.ticket-status { padding: 5px 9px; border-radius: 999px; color: #a24c00; background: var(--amber-100); font-size: .72rem; font-weight: 800; }
.ticket-demo-row { padding: 16px 20px; border-top: 1px solid var(--slate-100); display: flex; align-items: center; gap: 13px; }
.row-icon { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 12px; color: var(--teal-700); background: #e6fffb; }
.row-icon svg { width: 20px; height: 20px; }
.row-text { display: grid; }
.row-text span { color: var(--slate); font-size: .76rem; }
.eta { display: grid; }
.eta span { color: var(--slate); font-size: .72rem; }
.review-stars { display: flex; gap: 3px; color: var(--amber-500); }
.review-stars svg { width: 16px; height: 16px; }
.badge-floating { position: absolute; inset-inline-start: -28px; bottom: -26px; padding: 11px 15px; border-radius: 16px; display: flex; align-items: center; gap: 9px; color: var(--navy-900); background: white; box-shadow: var(--shadow); font-size: .75rem; font-weight: 800; }
.badge-floating svg { width: 27px; color: var(--success); }

.section { padding: clamp(70px, 8vw, 110px) 0; }
.section--alt { background: var(--surface-soft); }
.section-head { max-width: 740px; margin-bottom: 40px; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow { margin-inline: auto; }
.section-head h2 { margin-top: 14px; }
.section-head p { margin-top: 13px; color: var(--slate); }

.services-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.service-card { min-height: 280px; padding: 24px; display: flex; flex-direction: column; }
.service-icon, .why-icon, .tech-avatar { width: 54px; height: 54px; display: grid; place-items: center; border-radius: 16px; color: var(--teal-700); background: #e6fffb; }
.service-icon svg, .why-icon svg, .tech-avatar svg { width: 27px; height: 27px; }
.service-card h3 { margin-top: 20px; }
.service-card p { margin: 10px 0 20px; color: var(--slate); font-size: .9rem; }
.service-link { margin-top: auto; padding: 0; border: 0; display: inline-flex; align-items: center; gap: 7px; color: var(--amber-600); background: transparent; font-weight: 800; }
.service-link svg { width: 18px; }
.service-card--wide { min-height: auto; grid-column: 1 / -1; display: flex; flex-direction: row; justify-content: space-between; align-items: center; gap: 24px; color: white; background: linear-gradient(130deg, var(--navy-900), var(--teal-700)); }
.service-card--wide h3 { margin-top: 0; }
.service-card--wide p { margin-bottom: 0; color: #d9edf0; }

.why-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.why-item { padding: 22px; border: 1px solid var(--slate-200); border-radius: var(--radius); display: flex; align-items: flex-start; gap: 15px; background: white; }
.why-icon { width: 46px; height: 46px; flex: 0 0 auto; border-radius: 14px; }
.why-icon svg { width: 23px; height: 23px; }
.why-item p { margin-top: 7px; color: var(--slate); font-size: .86rem; }

.steps-track { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: step; }
.step-item { position: relative; padding: 25px; border-radius: var(--radius); background: var(--surface-soft); }
.step-num { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 13px; color: white; background: var(--navy-800); font: 800 1rem var(--font-heading); }
.step-item h3 { margin-top: 18px; }
.step-item p { margin-top: 8px; color: var(--slate); font-size: .86rem; }

.techs-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 15px; }
.tech-card { padding: 22px; border: 1px solid var(--slate-200); border-radius: var(--radius); background: white; box-shadow: var(--shadow-sm); }
.tech-card h3 { margin-top: 17px; }
.tech-role { margin-top: 7px; color: var(--slate); font-size: .82rem; }
.tech-meta { margin-top: 14px; color: var(--success); font-size: .76rem; font-weight: 800; }
.tech-meta span { display: flex; align-items: center; gap: 5px; }
.tech-meta svg { width: 15px; }

.areas-wrap { padding: clamp(24px, 4vw, 48px); border-radius: var(--radius-lg); display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; gap: 40px; color: white; background: var(--navy-900); }
.areas-wrap p { color: #c5d4df !important; }
.areas-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.areas-chips span { padding: 7px 11px; border: 1px solid rgba(255,255,255,.16); border-radius: 999px; background: rgba(255,255,255,.07); font-size: .76rem; }
.areas-map { min-height: 330px; overflow: hidden; border-radius: 20px; background: #e5e7eb; }
.areas-map iframe { width: 100%; height: 330px; border: 0; }

.reviews-track { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.reviews-track .ticket-card { padding: 24px; }
.reviews-track .review-stars { display: none; }
.review-text { margin-top: 15px; color: var(--slate-700); }
.review-person { margin-top: 20px; display: flex; align-items: center; gap: 12px; }
.review-avatar { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; color: white; background: var(--teal-700); font-weight: 800; }
.review-person div { display: grid; }
.review-person span { color: var(--slate); font-size: .74rem; }

.faq-list { max-width: 860px; margin-inline: auto; display: grid; gap: 10px; }
.faq-item { border: 1px solid var(--slate-200); border-radius: 15px; overflow: hidden; background: white; }
.faq-question { width: 100%; padding: 18px 20px; border: 0; display: flex; justify-content: space-between; align-items: center; gap: 18px; text-align: start; color: var(--slate-900); background: transparent; font-weight: 800; }
.faq-question .chev { width: 20px; flex: 0 0 auto; transition: transform .2s; }
.faq-question[aria-expanded="true"] .chev { transform: rotate(180deg); }
.faq-answer { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .24s ease; }
.faq-item.is-open .faq-answer { grid-template-rows: 1fr; }
.faq-answer-inner { overflow: hidden; }
.faq-answer-inner p { padding: 0 20px 18px; color: var(--slate); }

.contact-wrap { display: grid; grid-template-columns: .86fr 1.14fr; gap: 20px; }
.contact-info-card, .contact-form-card { padding: clamp(22px, 4vw, 34px); border: 1px solid var(--slate-200); border-radius: var(--radius-lg); background: white; box-shadow: var(--shadow-sm); }
.contact-line { margin-top: 18px; display: flex; align-items: center; gap: 12px; }
.c-icon { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 12px; color: var(--teal-700); background: #e6fffb; }
.c-icon svg { width: 20px; height: 20px; }
.contact-line > div { display: grid; }
.contact-line a, .contact-line span { color: var(--slate); font-size: .84rem; }
.cta-row { margin-top: 24px; display: grid; gap: 10px; }
.contact-cta-inner { min-height: 100%; display: grid; place-items: center; align-content: center; gap: 15px; text-align: center; }

.track-box { max-width: 850px; margin-inline: auto; padding: clamp(20px, 4vw, 34px); border: 1px solid var(--slate-200); border-radius: var(--radius-lg); background: white; box-shadow: var(--shadow-sm); }
.track-form { display: grid; grid-template-columns: 1fr 1fr auto; gap: 10px; }
.track-result { margin-top: 22px; }

.cta-band-wrap { margin-bottom: clamp(60px, 8vw, 100px); }
.cta-band { padding: clamp(24px, 5vw, 50px); border-radius: var(--radius-lg); display: flex; align-items: center; justify-content: space-between; gap: 26px; color: white; background: linear-gradient(130deg, var(--teal-700), var(--navy-900)); }
.site-footer { padding: 55px 0 24px; color: #d4e0e8; background: var(--navy-950); }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 36px; }
.footer-brand p { margin-top: 16px; max-width: 350px; color: #9db1c0; font-size: .86rem; }
.footer-social { margin-top: 18px; display: flex; gap: 8px; }
.footer-social a { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 11px; color: white; background: rgba(255,255,255,.08); }
.footer-social svg { width: 19px; }
.footer-col h3 { color: white; font-size: .95rem; }
.footer-col ul { margin: 15px 0 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.footer-col a { color: #aebfcb; font-size: .82rem; }
.footer-bottom { margin-top: 38px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.1); display: flex; justify-content: space-between; gap: 16px; color: #91a6b6; font-size: .76rem; }

.floating-actions { position: fixed; z-index: 900; inset-inline-start: max(16px, env(safe-area-inset-left)); bottom: max(18px, calc(env(safe-area-inset-bottom) + 12px)); display: grid; gap: 10px; }
.floating-btn { width: 50px; height: 50px; border: 0; border-radius: 50%; display: grid; place-items: center; color: white; box-shadow: 0 12px 28px rgba(7,24,39,.24); }
.floating-btn svg { width: 23px; }
.floating-btn--top { opacity: 0; pointer-events: none; background: var(--navy-800); transition: opacity .2s; }
.floating-btn--top.is-visible { opacity: 1; pointer-events: auto; }
.floating-btn--whatsapp { background: var(--whatsapp-dark); }

.modal-overlay, .admin-drawer-overlay { position: fixed; z-index: 2000; inset: 0; padding: 18px; display: none; place-items: center; background: rgba(3, 15, 27, .68); backdrop-filter: blur(5px); }
.modal-overlay.is-open, .admin-drawer-overlay.is-open { display: grid; }
.modal { position: relative; width: min(760px, 100%); max-height: min(90dvh, 900px); overflow: auto; border-radius: 22px; background: white; box-shadow: 0 30px 100px rgba(0,0,0,.3); }
.modal-close { position: absolute; z-index: 2; inset-block-start: 14px; inset-inline-end: 14px; width: 40px; height: 40px; border: 1px solid var(--slate-200); border-radius: 12px; display: grid; place-items: center; color: var(--slate-700); background: white; }
.modal-close svg { width: 20px; }
.modal-body { padding: clamp(24px, 5vw, 42px); }
.modal-sub { margin-top: 8px; color: var(--slate); }
.modal-body--success { text-align: center; }
.success-icon { width: 68px; height: 68px; margin: 0 auto 18px; display: grid; place-items: center; border-radius: 50%; color: white; background: var(--success); }
.success-icon svg { width: 34px; }
.order-id-box { margin: 15px auto; padding: 12px; border: 1px dashed var(--slate-300); border-radius: 13px; display: flex; align-items: center; justify-content: center; gap: 12px; background: var(--surface-soft); }
.modal-actions { margin-top: 22px; display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; }

.form-grid { margin-top: 24px; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-field { min-width: 0; display: grid; align-content: start; gap: 7px; }
.form-field.full, .form-actions { grid-column: 1 / -1; }
.form-field label { color: var(--slate-700); font-size: .83rem; font-weight: 800; }
.form-check { display: flex !important; align-items: flex-start; gap: 10px; cursor: pointer; }
.form-check input { width: 20px; min-height: 20px; margin-top: 3px; flex: 0 0 auto; }
input, select, textarea {
  width: 100%;
  min-height: 48px;
  padding: 11px 13px;
  border: 1px solid var(--slate-300);
  border-radius: 12px;
  color: var(--slate-900);
  background: white;
  font-size: 16px;
  transition: border-color .2s, box-shadow .2s;
}
textarea { min-height: 112px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--teal-600); box-shadow: 0 0 0 4px rgba(13,148,136,.11); }
.form-error, .auth-error { min-height: 1em; color: var(--danger); font-size: .75rem; }
.image-upload-box { padding: 14px; border: 1px dashed var(--slate-300); border-radius: 14px; background: var(--surface-soft); }
.image-upload-trigger { min-height: 74px; display: flex; align-items: center; justify-content: center; gap: 9px; color: var(--teal-700); cursor: pointer; font-weight: 800; }
.image-upload-trigger svg { width: 25px; }
.image-preview-grid, .tech-photo-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.image-preview-item { position: relative; aspect-ratio: 1; overflow: hidden; border-radius: 10px; }
.image-preview-item img, .tech-photo-grid img { width: 100%; height: 100%; object-fit: cover; }
.image-preview-remove { position: absolute; top: 4px; left: 4px; width: 28px; height: 28px; border: 0; border-radius: 50%; display: grid; place-items: center; color: white; background: rgba(0,0,0,.7); }
.image-preview-remove svg { width: 15px; }
.location-box { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; }
.location-status, .map-hint { color: var(--slate); font-size: .75rem; }
.order-map, .tech-map { min-height: 260px; overflow: hidden; border: 1px solid var(--slate-200); border-radius: 14px; background: #e6edf2; }
.app-map-marker { background: transparent; border: 0; }
.app-map-marker span { width: 30px; height: 38px; display: block; border: 4px solid white; border-radius: 50% 50% 50% 8px; background: var(--teal-600); box-shadow: 0 7px 16px rgba(7,24,39,.3); transform: rotate(-45deg); }
.app-map-marker span::after { content: ""; position: absolute; width: 8px; height: 8px; top: 11px; left: 11px; border-radius: 50%; background: white; }
.btn-label-loading { display: none; }
.is-loading .btn-label-idle { display: none; }
.is-loading .btn-label-loading { display: inline; }
.status-badge, .service-tag { display: inline-flex; width: max-content; max-width: 100%; padding: 5px 9px; border-radius: 999px; font-size: .72rem; font-weight: 800; }
.status-badge { color: var(--badge-color, var(--slate-700)); background: color-mix(in srgb, var(--badge-color, var(--slate-700)) 13%, white); }
.service-tag { color: var(--teal-700); background: var(--teal-100); }
.notice { padding: 12px 14px; border-radius: 11px; color: #755000; background: var(--amber-100); font-size: .8rem; }
.notice.success { color: #075b43; background: #d1fae5; }
.notice.danger { color: #8c1d18; background: #fee2e2; }

.legal-page { min-height: 100vh; padding: 40px 0 80px; background: var(--surface-soft); }
.legal-card { max-width: 900px; margin: 30px auto 0; padding: clamp(24px, 5vw, 50px); border: 1px solid var(--slate-200); border-radius: var(--radius-lg); background: white; box-shadow: var(--shadow-sm); }
.legal-card h1 { font-size: clamp(1.8rem, 4vw, 2.7rem); }
.legal-card h2 { margin-top: 32px; font-size: 1.25rem; }
.legal-card p, .legal-card li { margin-top: 10px; color: var(--slate-700); }
.legal-card ul { padding-inline-start: 22px; }

@media (max-width: 1120px) {
  .main-nav { display: none; }
  .nav-toggle { display: grid; }
  .main-nav.is-open { position: fixed; top: 79px; right: 16px; left: 16px; max-height: calc(100dvh - 100px); overflow: auto; padding: 18px; border: 1px solid var(--slate-200); border-radius: 18px; display: grid; gap: 0; background: white; box-shadow: var(--shadow); }
  .main-nav.is-open a { min-height: 46px; display: flex; align-items: center; border-bottom: 1px solid var(--slate-100); }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .techs-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .footer-grid > :last-child { grid-column: 2 / -1; }
}

@media (max-width: 800px) {
  html { scroll-padding-top: 72px; }
  .container { width: min(calc(100% - 24px), var(--container)); }
  .header-inner { min-height: 70px; }
  .header-actions > .btn, .header-actions > .icon-btn:not(#account-link) { display: none; }
  .brand-mark { width: 40px; height: 40px; border-radius: 12px; }
  .brand-text strong { font-size: .82rem; }
  .hero { padding-top: 56px; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-copy { text-align: center; }
  .hero-copy .eyebrow, .hero-cta { margin-inline: auto; justify-content: center; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); text-align: start; }
  .hero-visual { max-width: 520px; width: 100%; margin-inline: auto; }
  .ticket-demo { transform: none; }
  .badge-floating { inset-inline-start: 12px; bottom: -26px; }
  .why-grid, .steps-track, .reviews-track { grid-template-columns: 1fr 1fr; }
  .techs-grid { grid-template-columns: 1fr 1fr; }
  .areas-wrap, .contact-wrap { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > :last-child { grid-column: auto; }
  .footer-brand { grid-column: 1 / -1; }
  .track-form { grid-template-columns: 1fr; }
  .cta-band { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 560px) {
  .brand-text span { display: none; }
  .hero h1 { font-size: clamp(2rem, 11vw, 3rem); }
  .hero-cta .btn { width: 100%; }
  .hero-stats { gap: 16px 8px; }
  .ticket-demo-head, .ticket-demo-foot, .ticket-demo-row { padding-inline: 15px; }
  .services-grid, .why-grid, .steps-track, .techs-grid, .reviews-track, .footer-grid, .form-grid { grid-template-columns: 1fr; }
  .service-card--wide { flex-direction: column; align-items: stretch; }
  .footer-grid > *, .footer-grid > :last-child, .footer-brand { grid-column: auto; }
  .footer-bottom { flex-direction: column; }
  .image-preview-grid, .tech-photo-grid { grid-template-columns: repeat(3, 1fr); }
  .modal-overlay { padding: 0; align-items: end; }
  .modal { width: 100%; max-height: 94dvh; border-radius: 22px 22px 0 0; padding-bottom: env(safe-area-inset-bottom); }
  .floating-actions { inset-inline-start: 12px; }
}

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