:root {
  --navy-950: #040b14;
  --navy-900: #071426;
  --navy-850: #0a1a30;
  --navy-800: #0d213b;
  --navy-700: #173355;
  --blue: #2f6bff;
  --blue-dark: #2355d6;
  --cyan: #16c7d9;
  --gold: #f2b84b;
  --paper: #f4f7fb;
  --paper-2: #eaf0f7;
  --surface: #ffffff;
  --surface-soft: #f8fafc;
  --text: #0c1a2d;
  --muted: #5e6b7e;
  --muted-light: #9fb0c6;
  --line: #dce4ee;
  --line-dark: rgba(180, 204, 235, .17);
  --success: #1a9d6f;
  --danger: #d3455b;
  --shadow-sm: 0 14px 40px rgba(10, 30, 56, .08);
  --shadow-md: 0 26px 80px rgba(5, 19, 38, .15);
  --shadow-dark: 0 32px 100px rgba(0, 0, 0, .34);
  --radius-sm: 12px;
  --radius: 20px;
  --radius-lg: 30px;
  --container: 1240px;
  --header-height: 78px;
  --font-sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 24px);
  background: var(--navy-950);
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--paper);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.lang-fa,
body.lang-ar {
  font-family: Tahoma, Arial, sans-serif;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  margin: 0;
  color: inherit;
  line-height: 1.08;
}

p {
  margin: 0;
}

.container {
  width: min(calc(100% - 48px), var(--container));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  inset-block-start: 12px;
  inset-inline-start: 12px;
  z-index: 9999;
  padding: 10px 14px;
  border-radius: 8px;
  background: var(--surface);
  color: var(--text);
  font-weight: 800;
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

:focus-visible {
  outline: 3px solid var(--cyan);
  outline-offset: 4px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--blue);
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .16em;
  line-height: 1.4;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 22px;
  height: 2px;
  border-radius: 999px;
  background: var(--gold);
  content: "";
}

.btn {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 21px;
  border: 1px solid transparent;
  border-radius: 13px;
  cursor: pointer;
  font-size: .9rem;
  font-weight: 800;
  line-height: 1;
  transition: transform .2s ease, background-color .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: linear-gradient(105deg, var(--blue), #3e87ff 64%, var(--cyan));
  box-shadow: 0 14px 34px rgba(47, 107, 255, .25);
  color: #fff;
}

.btn-primary:hover {
  box-shadow: 0 18px 42px rgba(47, 107, 255, .34);
}

.btn-secondary,
.btn-ghost {
  border-color: var(--line);
  background: var(--surface);
  color: var(--text);
}

.btn-secondary:hover,
.btn-ghost:hover {
  border-color: #b9c7d8;
  background: var(--surface-soft);
}

.btn-light {
  background: #fff;
  color: var(--navy-900);
}

.btn-outline-light {
  border-color: rgba(255, 255, 255, .28);
  background: rgba(255, 255, 255, .06);
  color: #fff;
}

.btn-outline-light:hover {
  border-color: rgba(255, 255, 255, .5);
  background: rgba(255, 255, 255, .1);
}

.text-link,
.card-link {
  color: var(--blue);
  font-weight: 800;
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.card-link span {
  transition: transform .2s ease;
}

.card-link:hover span {
  transform: translate(2px, -2px);
}

/* Header */
.site-header {
  position: sticky;
  inset-block-start: 0;
  z-index: 1000;
  border-bottom: 1px solid var(--line-dark);
  background: rgba(5, 14, 27, .88);
  color: #fff;
  backdrop-filter: blur(18px);
}

.header-inner {
  display: flex;
  min-height: var(--header-height);
  align-items: center;
  gap: 34px;
}

.brand {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 11px;
}

.brand img {
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.brand-word {
  color: #fff;
  font-size: 1.2rem;
  font-weight: 850;
  letter-spacing: .12em;
  line-height: 1;
}

.brand-word b {
  color: var(--cyan);
  font-size: .72em;
  letter-spacing: .06em;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 27px;
  margin-inline: auto;
}

.main-nav a {
  position: relative;
  padding: 28px 0 25px;
  color: #bcc9d9;
  font-size: .84rem;
  font-weight: 750;
}

.main-nav a::after {
  position: absolute;
  inset-inline: 0;
  inset-block-end: -1px;
  height: 2px;
  border-radius: 999px;
  background: var(--cyan);
  content: "";
  transform: scaleX(0);
  transition: transform .2s ease;
}

.main-nav a:hover,
.main-nav a.active {
  color: #fff;
}

.main-nav a:hover::after,
.main-nav a.active::after {
  transform: scaleX(1);
}

.header-tools {
  display: flex;
  align-items: center;
  gap: 13px;
}

.lang-switch {
  display: inline-flex;
  padding: 4px;
  border: 1px solid var(--line-dark);
  border-radius: 999px;
  background: rgba(255, 255, 255, .04);
}

.lang-switch a {
  display: grid;
  min-width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 999px;
  color: #91a4bb;
  font-size: .65rem;
  font-weight: 850;
}

.lang-switch a.active {
  background: #fff;
  color: var(--navy-900);
}

.header-cta {
  min-height: 43px;
  padding-inline: 16px;
  font-size: .78rem;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  margin-inline-start: auto;
  border: 1px solid var(--line-dark);
  border-radius: 12px;
  background: rgba(255, 255, 255, .05);
  color: #fff;
}

.nav-toggle span {
  width: 20px;
  height: 2px;
  border-radius: 10px;
  background: currentColor;
  transition: transform .2s ease, opacity .2s ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Hero */
.v13-hero {
  position: relative;
  overflow: hidden;
  min-height: 720px;
  padding: 84px 0 72px;
  background:
    radial-gradient(circle at 10% 5%, rgba(47, 107, 255, .22), transparent 33%),
    radial-gradient(circle at 88% 80%, rgba(22, 199, 217, .12), transparent 32%),
    var(--navy-900);
  color: #fff;
}

.v13-hero::before {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .025) 1px, transparent 1px);
  background-size: 72px 72px;
  content: "";
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, .65), transparent 85%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(520px, 1.08fr);
  align-items: center;
  gap: 52px;
}

.hero-copy {
  max-width: 650px;
}

.v13-hero .eyebrow {
  color: #9bbdff;
}

.hero-copy h1 {
  max-width: 680px;
  margin-top: 21px;
  font-size: clamp(3.35rem, 5.7vw, 5.55rem);
  font-weight: 760;
  letter-spacing: -.065em;
}

.hero-intro {
  max-width: 610px;
  margin-top: 27px;
  color: #b8c7d9;
  font-size: 1.12rem;
  line-height: 1.78;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 33px;
}

.hero-note {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 27px;
  color: #8298b2;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .04em;
}

.hero-note span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 0 5px rgba(26, 157, 111, .12);
}

.hero-visual {
  position: relative;
}

.hero-visual-frame {
  position: relative;
  border: 1px solid rgba(178, 209, 244, .18);
  border-radius: 34px;
  background: rgba(5, 15, 29, .68);
  box-shadow: var(--shadow-dark);
  transform: perspective(1300px) rotateY(-3deg) rotateX(1deg);
}

[dir="rtl"] .hero-visual-frame {
  transform: perspective(1300px) rotateY(3deg) rotateX(1deg);
}

.hero-visual-frame::before {
  position: absolute;
  inset: -1px;
  z-index: 2;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .05);
  content: "";
  pointer-events: none;
}

.hero-visual-frame > picture {
  display: block;
}

.hero-visual-frame > picture img,
.hero-visual-frame > img {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 33px;
  object-fit: cover;
}

.hero-visual-chip {
  position: absolute;
  z-index: 3;
  display: flex;
  min-height: 48px;
  align-items: center;
  gap: 10px;
  padding: 10px 15px;
  border: 1px solid rgba(255, 255, 255, .15);
  border-radius: 13px;
  background: rgba(8, 24, 45, .86);
  box-shadow: 0 18px 44px rgba(0, 0, 0, .28);
  color: #e7eff9;
  font-size: .72rem;
  font-weight: 800;
  backdrop-filter: blur(16px);
}

.hero-visual-chip span {
  color: var(--gold);
  font-size: .63rem;
  letter-spacing: .1em;
}

.chip-one {
  inset-inline-start: -28px;
  inset-block-end: 62px;
}

.chip-two {
  inset-inline-end: -20px;
  inset-block-start: 54px;
}

/* Proof */
.proof-band {
  position: relative;
  z-index: 2;
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}

.proof-band > .container {
  display: grid;
  grid-template-columns: 260px 1fr;
  align-items: center;
  gap: 38px;
  padding-block: 28px;
}

.proof-band > .container > p {
  color: var(--muted);
  font-size: .78rem;
  font-weight: 750;
  line-height: 1.55;
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
}

.proof-grid article {
  display: flex;
  min-width: 0;
  align-items: flex-start;
  gap: 12px;
  padding: 7px 18px;
  background: #fff;
}

.proof-grid i {
  flex: 0 0 auto;
  width: 8px;
  height: 8px;
  margin-top: 7px;
  border-radius: 50%;
  background: var(--blue);
}

.proof-grid strong,
.proof-grid span {
  display: block;
}

.proof-grid strong {
  font-size: .78rem;
}

.proof-grid span {
  margin-top: 2px;
  color: var(--muted);
  font-size: .66rem;
  line-height: 1.45;
}

/* Shared sections */
.v13-section,
.content-section,
.sales-section {
  padding: 108px 0;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, .65fr);
  align-items: end;
  gap: 70px;
  margin-bottom: 46px;
}

.section-heading h2,
.section-head h2,
.sales-hero h1,
.contact-copy h2 {
  margin-top: 14px;
  font-size: clamp(2.35rem, 4.2vw, 4.5rem);
  font-weight: 730;
  letter-spacing: -.055em;
}

.section-heading > p {
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.75;
}

.section-action {
  margin-top: 34px;
  text-align: center;
}

/* Services */
.services-section {
  background: var(--paper);
}

.service-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--line);
  box-shadow: var(--shadow-sm);
  gap: 1px;
}

.service-card {
  position: relative;
  min-height: 360px;
  padding: 34px 30px;
  background: var(--surface);
  transition: background-color .2s ease, transform .2s ease;
}

.service-card:hover {
  z-index: 1;
  background: #fbfdff;
  transform: translateY(-5px);
}

.service-number {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid #c8d7ea;
  border-radius: 12px;
  color: var(--blue);
  font-size: .68rem;
  font-weight: 850;
  letter-spacing: .1em;
}

.service-card h3 {
  margin-top: 42px;
  font-size: 1.26rem;
  letter-spacing: -.02em;
}

.service-card p {
  margin-top: 15px;
  color: var(--muted);
  font-size: .9rem;
  line-height: 1.75;
}

.service-card small {
  position: absolute;
  inset-inline: 30px;
  inset-block-end: 30px;
  padding-top: 17px;
  border-top: 1px solid var(--line);
  color: var(--blue);
  font-size: .69rem;
  font-weight: 800;
}

/* Work and cards */
.work-section {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 92% 12%, rgba(47, 107, 255, .16), transparent 29%),
    var(--navy-900);
  color: #fff;
}

.section-heading-dark .eyebrow,
.work-section .eyebrow {
  color: #9ab9ff;
}

.section-heading-dark > p {
  color: var(--muted-light);
}

.project-grid,
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.project-card,
.product-card {
  min-width: 0;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--navy-850);
  box-shadow: 0 18px 55px rgba(0, 0, 0, .17);
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}

.project-card:hover,
.product-card:hover {
  border-color: rgba(80, 149, 255, .48);
  box-shadow: 0 28px 70px rgba(0, 0, 0, .26);
  transform: translateY(-7px);
}

.project-media,
.product-media {
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--navy-800);
}

.project-media img,
.product-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}

.project-card:hover .project-media > img,
.product-card:hover .product-media > img {
  transform: scale(1.035);
}

.project-placeholder,
.product-placeholder {
  display: grid;
  width: 100%;
  height: 100%;
  place-items: center;
  background:
    radial-gradient(circle, rgba(47, 107, 255, .22), transparent 50%),
    var(--navy-800);
}

.project-placeholder img,
.product-placeholder img {
  width: 92px;
  height: 92px;
  object-fit: contain;
}

.project-placeholder span {
  position: absolute;
  margin-top: 130px;
  color: var(--muted-light);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.project-body,
.product-body {
  padding: 25px;
  color: #fff;
}

.project-body small,
.product-body small {
  color: #7fb0ff;
  font-size: .66rem;
  font-weight: 850;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.project-body h3,
.project-body h2,
.product-body h3,
.product-body h2 {
  margin-top: 9px;
  font-size: 1.3rem;
  letter-spacing: -.025em;
}

.project-body p,
.product-body p {
  min-height: 50px;
  margin-top: 11px;
  color: #9fb0c6;
  font-size: .86rem;
  line-height: 1.65;
}

.project-body .card-link,
.product-body .card-link {
  margin-top: 20px;
  color: var(--cyan);
  font-size: .78rem;
}

.product-foot,
.card-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  margin-top: 20px;
  color: var(--cyan);
  font-size: .78rem;
  font-weight: 800;
}

.product-foot strong {
  color: #fff;
  font-size: 1.12rem;
}

.product-foot del {
  margin-inline-end: 8px;
  color: #8293aa;
}

.empty-showcase,
.sales-empty {
  grid-column: 1 / -1;
  padding: 70px 30px;
  border: 1px dashed rgba(166, 197, 235, .28);
  border-radius: var(--radius);
  text-align: center;
  background: rgba(255, 255, 255, .03);
}

.empty-showcase img {
  width: 76px;
  height: 76px;
  margin: 0 auto 18px;
  object-fit: contain;
}

.empty-showcase h3,
.sales-empty h2 {
  font-size: 1.35rem;
}

.empty-showcase p,
.sales-empty p {
  max-width: 560px;
  margin: 9px auto 0;
  color: var(--muted-light);
}

/* Process */
.process-section {
  background: var(--surface);
}

.process-list {
  border-top: 1px solid var(--line);
}

.process-list article {
  display: grid;
  grid-template-columns: 90px minmax(190px, .55fr) 1fr;
  align-items: center;
  gap: 30px;
  padding: 30px 8px;
  border-bottom: 1px solid var(--line);
}

.process-list b {
  color: var(--blue);
  font-size: .75rem;
  letter-spacing: .15em;
}

.process-list h3 {
  font-size: 1.5rem;
  letter-spacing: -.025em;
}

.process-list p {
  color: var(--muted);
  line-height: 1.7;
}

/* Pricing */
.pricing-preview,
.products-preview {
  background: var(--paper);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.pricing-grid article {
  position: relative;
  display: flex;
  min-height: 480px;
  flex-direction: column;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.pricing-grid article.featured {
  border-color: rgba(47, 107, 255, .56);
  box-shadow: 0 24px 70px rgba(47, 107, 255, .15);
  transform: translateY(-10px);
}

.pricing-grid em {
  position: absolute;
  inset-block-start: 0;
  inset-inline-end: 26px;
  padding: 7px 13px;
  border-radius: 0 0 10px 10px;
  background: var(--blue);
  color: #fff;
  font-size: .66rem;
  font-style: normal;
  font-weight: 850;
}

.pricing-grid h2,
.pricing-grid h3 {
  font-size: 1.45rem;
}

.pricing-grid article > strong {
  display: block;
  margin-top: 20px;
  color: var(--blue);
  font-size: 1.65rem;
}

.pricing-grid ul,
.booking-grid ul,
.product-points {
  flex: 1;
  margin: 25px 0;
  padding: 0;
  list-style: none;
}

.pricing-grid li,
.booking-grid li,
.product-points li {
  position: relative;
  padding: 10px 0 10px 25px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: .86rem;
}

[dir="rtl"] .pricing-grid li,
[dir="rtl"] .booking-grid li,
[dir="rtl"] .product-points li {
  padding: 10px 25px 10px 0;
}

.pricing-grid li::before,
.booking-grid li::before,
.product-points li::before {
  position: absolute;
  inset-inline-start: 0;
  color: var(--success);
  content: "✓";
  font-weight: 900;
}

/* FAQ */
.faq-preview {
  background: var(--surface);
}

.faq-list {
  max-width: 920px;
}

.faq-list details {
  border-top: 1px solid var(--line);
}

.faq-list details:last-child {
  border-bottom: 1px solid var(--line);
}

.faq-list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  padding: 25px 4px;
  cursor: pointer;
  font-size: 1.05rem;
  font-weight: 800;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary span {
  color: var(--blue);
  font-size: 1.5rem;
  font-weight: 400;
  transition: transform .2s ease;
}

.faq-list details[open] summary span {
  transform: rotate(45deg);
}

.faq-list details p {
  max-width: 760px;
  padding: 0 4px 26px;
  color: var(--muted);
  line-height: 1.75;
}

/* Contact and forms */
.contact-section {
  padding: 110px 0;
  background: var(--paper-2);
}

.contact-grid {
  display: grid;
  grid-template-columns: .82fr 1.18fr;
  gap: 76px;
  align-items: start;
}

.contact-copy {
  position: sticky;
  inset-block-start: 120px;
}

.contact-copy h2 {
  margin-top: 16px;
}

.contact-copy > p {
  margin-top: 22px;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.78;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 11px;
  margin-top: 31px;
  font-size: .9rem;
  font-weight: 750;
}

.contact-details a:hover {
  color: var(--blue);
}

.contact-form,
.quote-step-card,
.quote-pro-summary,
.checkout-summary,
.success-card {
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.contact-form label,
.quote-form-grid label,
.client-form label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 15px;
  color: #334155;
  font-size: .76rem;
  font-weight: 800;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid #cfd9e6;
  border-radius: 11px;
  background: var(--surface-soft);
  color: var(--text);
  outline: none;
}

input,
select {
  min-height: 50px;
  padding: 0 14px;
}

textarea {
  min-height: 120px;
  padding: 13px 14px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(47, 107, 255, .1);
}

.hp-field {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  opacity: 0 !important;
}

.privacy-consent {
  display: grid !important;
  grid-template-columns: 20px 1fr;
  align-items: start;
  gap: 10px !important;
  color: var(--muted) !important;
  font-weight: 600 !important;
}

.privacy-consent input {
  width: 18px;
  min-height: 18px;
  height: 18px;
  margin: 2px 0 0;
}

.privacy-consent a {
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.form-submit {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 7px;
}

.form-submit small {
  color: var(--muted);
  font-size: .7rem;
}

.flash-wrap {
  position: fixed;
  z-index: 1200;
  inset-block-start: calc(var(--header-height) + 14px);
  inset-inline: 0;
  pointer-events: none;
}

.flash {
  width: min(560px, calc(100% - 24px));
  margin-inline: auto;
  padding: 13px 17px;
  border: 1px solid;
  border-radius: 12px;
  box-shadow: var(--shadow-md);
  background: #fff;
  pointer-events: auto;
}

.flash.success {
  border-color: rgba(26, 157, 111, .35);
  color: #0f7452;
}

.flash.error {
  border-color: rgba(211, 69, 91, .35);
  color: #a6283d;
}

/* Footer */
.site-footer {
  padding: 0 0 22px;
  background: var(--navy-950);
  color: #fff;
}

.footer-callout {
  position: relative;
  top: -1px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
  padding: 55px 58px;
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  background:
    radial-gradient(circle at 88% 20%, rgba(22, 199, 217, .18), transparent 27%),
    linear-gradient(110deg, #153d86, #1b5bd9 62%, #118ea2);
  box-shadow: var(--shadow-dark);
}

.footer-callout .eyebrow {
  color: #dbe8ff;
}

.footer-callout h2 {
  max-width: 660px;
  margin-top: 12px;
  font-size: clamp(2rem, 3.5vw, 3.6rem);
  letter-spacing: -.045em;
}

.footer-callout p {
  margin-top: 12px;
  color: rgba(255, 255, 255, .75);
}

.footer-callout-actions {
  display: flex;
  flex: 0 0 auto;
  flex-wrap: wrap;
  gap: 10px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, .65fr);
  gap: 62px;
  padding-top: 70px;
}

.brand-footer {
  margin-bottom: 20px;
}

.footer-brand p {
  max-width: 440px;
  color: #a5b5c9;
}

.footer-brand > span {
  display: block;
  margin-top: 14px;
  color: #70849d;
  font-size: .76rem;
}

.footer-grid h3 {
  margin-bottom: 20px;
  color: #7f93ab;
  font-size: .7rem;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.footer-grid > div:not(:first-child) {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 11px;
}

.footer-grid a:not(.brand) {
  color: #afbed0;
  font-size: .82rem;
}

.footer-grid a:hover {
  color: #fff;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 55px;
  padding-top: 19px;
  border-top: 1px solid var(--line-dark);
  color: #667b94;
  font-size: .68rem;
}

/* Public listing and detail pages */
.page-hero,
.sales-hero {
  padding: 104px 0 78px;
  background:
    radial-gradient(circle at 82% 10%, rgba(47, 107, 255, .2), transparent 28%),
    var(--navy-900);
  color: #fff;
}

.page-hero .container,
.sales-hero .container {
  max-width: 980px;
}

.page-hero span,
.sales-hero > .container > span,
.project-detail-copy > span,
.product-detail-copy > span,
.checkout-summary > span,
.story-grid article > span {
  color: #90b2ff;
  font-size: .72rem;
  font-weight: 850;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.page-hero h1,
.sales-hero h1 {
  margin-top: 16px;
}

.page-hero p,
.sales-hero p {
  max-width: 760px;
  margin-top: 20px;
  color: #aebed0;
  font-size: 1.06rem;
  line-height: 1.75;
}

.sales-hero.compact {
  padding-bottom: 64px;
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 30px;
}

.filters a {
  padding: 9px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--muted);
  font-size: .74rem;
  font-weight: 800;
}

.filters a.active,
.filters a:hover {
  border-color: var(--blue);
  background: var(--blue);
  color: #fff;
}

.content-section .project-card,
.content-section .product-card,
.products-preview .product-card {
  border-color: var(--line);
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.content-section .project-body,
.content-section .product-body,
.products-preview .product-body {
  color: var(--text);
}

.content-section .project-body p,
.content-section .product-body p,
.products-preview .product-body p {
  color: var(--muted);
}

.content-section .product-foot strong,
.products-preview .product-foot strong {
  color: var(--text);
}

.content-section .empty-showcase {
  border-color: #c7d3e2;
  background: #fff;
}

.content-section .empty-showcase p {
  color: var(--muted);
}

.project-detail-hero,
.product-detail {
  padding: 86px 0;
  background: var(--navy-900);
  color: #fff;
}

.project-detail-hero > .container,
.product-detail-grid {
  display: grid;
  grid-template-columns: .84fr 1.16fr;
  align-items: center;
  gap: 70px;
}

.project-detail-copy h1,
.product-detail-copy h1 {
  margin-top: 15px;
  font-size: clamp(2.8rem, 5vw, 5.2rem);
  letter-spacing: -.055em;
}

.project-detail-copy > p,
.product-detail-copy > p {
  margin-top: 20px;
  color: #aebed0;
  font-size: 1.02rem;
  line-height: 1.75;
}

.project-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 36px;
  margin-top: 31px;
}

.project-meta small,
.project-meta strong {
  display: block;
}

.project-meta small {
  color: #748ba7;
  font-size: .68rem;
  text-transform: uppercase;
}

.project-meta strong {
  margin-top: 4px;
}

.project-detail-cover,
.product-detail-media {
  overflow: hidden;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-dark);
}

.project-detail-cover > img,
.product-detail-media > img {
  width: 100%;
  aspect-ratio: 16 / 11;
  object-fit: cover;
}

.project-story,
.product-description {
  padding: 100px 0;
  background: #fff;
}

.story-grid {
  display: grid;
  grid-template-columns: 1fr 330px;
  gap: 80px;
}

.rich-text {
  margin-top: 22px;
  color: #3f4e62;
  font-size: 1rem;
  line-height: 1.9;
}

.story-grid aside {
  align-self: start;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-soft);
}

.story-grid aside h3 {
  margin-bottom: 17px;
  font-size: .9rem;
}

.tech-list {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.tech-list span {
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--muted);
  font-size: .7rem;
  font-weight: 750;
}

.story-grid dl {
  margin: 0;
}

.story-grid dl div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
  font-size: .78rem;
}

.story-grid dt {
  color: var(--muted);
}

.story-grid dd {
  margin: 0;
  font-weight: 800;
}

.project-gallery {
  padding: 100px 0;
  background: var(--paper);
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 35px;
}

.section-head span {
  color: var(--blue);
  font-size: .7rem;
  font-weight: 850;
  letter-spacing: .15em;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.gallery-grid figure {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.gallery-grid img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.gallery-grid figcaption {
  padding: 14px 17px;
  color: var(--muted);
  font-size: .74rem;
}

.project-cta {
  padding: 70px 0;
  background: var(--navy-850);
  color: #fff;
}

.project-cta > .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.project-cta h2 {
  font-size: clamp(1.8rem, 3vw, 3rem);
  letter-spacing: -.035em;
}

.price-line {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin-top: 28px;
}

.price-line del {
  color: #8294aa;
}

.price-line strong {
  color: var(--gold);
  font-size: 2rem;
}

.product-detail-copy .product-points {
  margin-top: 28px;
}

.product-detail-copy .product-points li {
  border-color: var(--line-dark);
  color: #aebed0;
}

.checkout-section {
  min-height: 70vh;
  padding: 100px 0;
  background: var(--paper);
}

.checkout-grid {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 28px;
  align-items: start;
}

.checkout-summary h1,
.success-card h1 {
  margin-top: 12px;
  font-size: clamp(2rem, 3.5vw, 3.5rem);
  letter-spacing: -.04em;
}

.checkout-summary p,
.success-card p {
  margin-top: 16px;
  color: var(--muted);
}

.checkout-summary > strong {
  display: block;
  margin-top: 26px;
  color: var(--blue);
  font-size: 1.8rem;
}

.success-card {
  grid-column: 1 / -1;
  max-width: 720px;
  margin-inline: auto;
  text-align: center;
}

.success-card img {
  width: 76px;
  height: 76px;
  margin: 0 auto 18px;
}

.success-card .btn {
  margin-top: 24px;
}

/* Sales pages */
.value-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.value-grid article,
.process-grid article,
.testimonial-grid blockquote {
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.value-grid b,
.process-grid b {
  color: var(--blue);
  font-size: .7rem;
  letter-spacing: .14em;
}

.value-grid h2,
.process-grid h2 {
  margin-top: 25px;
  font-size: 1.4rem;
}

.value-grid p,
.process-grid p {
  margin-top: 10px;
  color: var(--muted);
  line-height: 1.75;
}

.guarantee {
  display: grid;
  grid-template-columns: .75fr 1.25fr;
  gap: 50px;
  align-items: center;
  margin-top: 22px;
  padding: 48px;
  border-radius: var(--radius-lg);
  background: var(--navy-850);
  color: #fff;
}

.guarantee span {
  color: var(--gold);
  font-size: .7rem;
  font-weight: 850;
  letter-spacing: .14em;
}

.guarantee h2 {
  margin-top: 9px;
  font-size: 2rem;
}

.guarantee p {
  color: #b0bfd0;
  line-height: 1.8;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.process-grid article {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 16px;
}

.process-grid h2 {
  margin-top: 0;
}

.case-grid,
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.case-grid article {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.case-grid img,
.case-placeholder {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.case-placeholder {
  display: grid;
  place-items: center;
  background: var(--navy-850);
  color: #fff;
  font-size: 1.8rem;
  font-weight: 850;
}

.case-grid article > a > div:last-child {
  padding: 23px;
}

.case-grid small {
  color: var(--blue);
  font-size: .67rem;
  font-weight: 850;
  letter-spacing: .1em;
}

.case-grid h2 {
  margin-top: 8px;
  font-size: 1.25rem;
}

.case-grid p {
  margin-top: 9px;
  color: var(--muted);
  line-height: 1.65;
}

.testimonial-grid blockquote {
  margin: 0;
}

.testimonial-grid blockquote > p {
  color: #35445a;
  line-height: 1.8;
}

.testimonial-grid footer {
  margin-top: 24px;
}

.testimonial-grid footer strong,
.testimonial-grid footer span {
  display: block;
}

.testimonial-grid footer span {
  margin-top: 3px;
  color: var(--muted);
  font-size: .72rem;
}

.booking-grid {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 55px;
  align-items: start;
}

.booking-grid > div h2 {
  font-size: 2.2rem;
  letter-spacing: -.035em;
}

.booking-grid > div p {
  margin-top: 16px;
  color: var(--muted);
  line-height: 1.75;
}

.sales-cta {
  padding: 75px 0;
  background: var(--navy-850);
  color: #fff;
}

.sales-cta > .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
}

.sales-cta span {
  color: var(--gold);
  font-size: .7rem;
  font-weight: 850;
  letter-spacing: .14em;
}

.sales-cta h2 {
  margin-top: 10px;
  font-size: clamp(2rem, 3.6vw, 3.6rem);
  letter-spacing: -.045em;
}

.sales-cta p {
  margin-top: 11px;
  color: #aebed0;
}

.sales-cta > .container > div:last-child {
  display: flex;
  flex: 0 0 auto;
  gap: 10px;
}

/* Quote builder */
.quote-pro-page {
  position: relative;
  overflow: hidden;
  padding: 78px 0 100px;
  background: var(--paper);
}

.quote-pro-page::before {
  position: absolute;
  inset-block-start: -300px;
  inset-inline-end: -180px;
  width: 750px;
  height: 750px;
  border-radius: 50%;
  background: rgba(47, 107, 255, .1);
  filter: blur(80px);
  content: "";
}

.quote-pro-heading {
  position: relative;
  margin-bottom: 35px;
}

.quote-pro-heading h1 {
  font-size: clamp(2.7rem, 5vw, 5rem);
  letter-spacing: -.055em;
}

.quote-pro-heading h1 span {
  color: var(--blue);
}

.quote-pro-heading p {
  margin-top: 11px;
  color: var(--muted);
}

.quote-pro-layout {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(330px, .65fr);
  gap: 22px;
  align-items: start;
}

.quote-pro-main {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.quote-step-card {
  padding: 26px;
}

.quote-step-head {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  padding-bottom: 20px;
}

.quote-step-head > span {
  display: grid;
  flex: 0 0 auto;
  width: 32px;
  height: 32px;
  place-items: center;
  border: 1px solid #a9c4ff;
  border-radius: 50%;
  background: #edf3ff;
  color: var(--blue);
  font-size: .74rem;
  font-weight: 850;
}

.quote-step-head h2 {
  font-size: 1.1rem;
}

.quote-step-head p {
  margin-top: 4px;
  color: var(--muted);
  font-size: .75rem;
}

.quote-service-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.quote-service-card {
  position: relative;
  display: grid;
  min-height: 100px;
  grid-template-columns: 22px 42px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: var(--surface-soft);
  cursor: pointer;
  transition: border-color .2s ease, background-color .2s ease, box-shadow .2s ease;
}

.quote-service-card:hover,
.quote-service-card.selected {
  border-color: var(--blue);
  background: #f2f6ff;
  box-shadow: 0 10px 28px rgba(47, 107, 255, .08);
}

.quote-service-card input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.quote-check {
  display: grid;
  width: 20px;
  height: 20px;
  place-items: center;
  border: 1px solid #a8b4c2;
  border-radius: 6px;
  color: transparent;
  font-size: .68rem;
}

.quote-service-card.selected .quote-check {
  border-color: var(--blue);
  background: var(--blue);
  color: #fff;
}

.quote-service-icon {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 1px solid #cbd9ee;
  border-radius: 10px;
  background: #fff;
  color: var(--blue);
  font-size: .68rem;
  font-weight: 850;
}

.quote-service-copy strong,
.quote-service-copy small {
  display: block;
}

.quote-service-copy strong {
  font-size: .8rem;
}

.quote-service-copy small {
  margin-top: 3px;
  color: var(--muted);
  font-size: .65rem;
  line-height: 1.45;
}

.quote-service-card > b {
  color: var(--blue);
  font-size: .76rem;
  white-space: nowrap;
}

.quote-addon-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.quote-addon {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface-soft);
  cursor: pointer;
}

.quote-addon.selected {
  border-color: var(--blue);
  background: #f2f6ff;
}

.quote-addon input {
  width: 18px;
  height: 18px;
  min-height: 18px;
  margin: 0;
}

.quote-addon span,
.quote-addon strong,
.quote-addon small {
  display: block;
}

.quote-addon strong {
  font-size: .75rem;
}

.quote-addon small {
  color: var(--blue);
  font-size: .67rem;
}

.quote-form-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 11px;
}

.quote-form-grid label {
  margin: 0;
}

.quote-form-grid label.full {
  grid-column: 1 / -1;
}

.quote-pro-summary {
  position: sticky;
  inset-block-start: calc(var(--header-height) + 22px);
}

.quote-summary-title {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.quote-summary-title > span {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 11px;
  background: #edf3ff;
  color: var(--blue);
  font-weight: 850;
}

.quote-summary-title h2 {
  font-size: 1.08rem;
}

.quote-summary-label {
  margin: 18px 0 8px;
  color: var(--muted);
  font-size: .72rem;
  font-weight: 750;
}

.quote-selected-list {
  min-height: 100px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.quote-selected-list > div,
.quote-price-lines > div,
.quote-total-row,
.quote-timeline-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.quote-selected-list > div {
  padding: 6px 0;
  font-size: .72rem;
}

.quote-price-lines {
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.quote-price-lines > div {
  padding: 4px 0;
  color: var(--muted);
  font-size: .72rem;
}

.quote-total-row,
.quote-timeline-row {
  margin-top: 15px;
  font-size: .78rem;
}

.quote-total-row strong {
  color: var(--blue);
  font-size: 1.35rem;
}

.quote-timeline-row strong {
  color: var(--success);
}

.quote-submit {
  width: 100%;
  margin-top: 20px;
}

.quote-response-note {
  margin-top: 10px;
  color: var(--muted);
  font-size: .66rem;
  text-align: center;
}

.quote-trust {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  margin-top: 14px;
}

.quote-trust span {
  display: grid;
  min-height: 42px;
  place-items: center;
  padding: 5px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--muted);
  font-size: .56rem;
  text-align: center;
}

.quote-empty {
  color: var(--muted);
}

.quote-errors {
  margin-bottom: 16px;
  padding: 13px 16px;
  border: 1px solid rgba(211, 69, 91, .28);
  border-radius: 12px;
  background: #fff2f4;
  color: #a52c40;
}

.quote-errors p + p {
  margin-top: 6px;
}

.quote-pro-success {
  max-width: 760px;
  margin: 45px auto;
  padding: 55px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-sm);
  text-align: center;
}

.quote-pro-success > span {
  display: grid;
  width: 58px;
  height: 58px;
  margin: 0 auto 17px;
  place-items: center;
  border-radius: 50%;
  background: var(--success);
  color: #fff;
  font-size: 1.5rem;
}

.quote-pro-success .btn {
  margin-top: 24px;
}

/* Legal */
.legal-page {
  padding: 90px 0 110px;
  background: var(--paper);
}

.legal-grid {
  display: grid;
  grid-template-columns: 250px 1fr;
  gap: 70px;
  align-items: start;
}

.legal-nav {
  position: sticky;
  inset-block-start: 110px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fff;
}

.legal-nav a {
  display: block;
  padding: 9px 0;
  color: var(--muted);
  font-size: .78rem;
}

.legal-content {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.legal-content article {
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.legal-content h2 {
  font-size: 1.35rem;
}

.legal-content p {
  margin-top: 12px;
  color: var(--muted);
  line-height: 1.8;
}

/* RTL */
[dir="rtl"] .eyebrow {
  letter-spacing: 0;
}

[dir="rtl"] .main-nav a,
[dir="rtl"] .project-body small,
[dir="rtl"] .product-body small,
[dir="rtl"] .page-hero span,
[dir="rtl"] .sales-hero > .container > span,
[dir="rtl"] .service-number {
  letter-spacing: 0;
}

[dir="rtl"] .project-detail-copy,
[dir="rtl"] .product-detail-copy,
[dir="rtl"] .contact-copy,
[dir="rtl"] .section-heading,
[dir="rtl"] .sales-hero,
[dir="rtl"] .page-hero {
  text-align: start;
}

/* Responsive */
@media (max-width: 1120px) {
  :root {
    --header-height: 72px;
  }

  .header-inner {
    gap: 18px;
  }

  .main-nav {
    gap: 18px;
  }

  .main-nav a {
    font-size: .78rem;
  }

  .header-cta {
    display: none;
  }

  .hero-grid {
    grid-template-columns: minmax(0, .9fr) minmax(450px, 1.1fr);
    gap: 30px;
  }

  .hero-copy h1 {
    font-size: clamp(3rem, 5.8vw, 4.8rem);
  }

  .proof-band > .container {
    grid-template-columns: 1fr;
    gap: 17px;
  }

  .proof-band > .container > p {
    text-align: center;
  }

  .service-cards {
    grid-template-columns: repeat(2, 1fr);
  }

  .service-card {
    min-height: 320px;
  }

  .footer-grid {
    grid-template-columns: 1.2fr repeat(3, .65fr);
    gap: 34px;
  }
}

@media (max-width: 900px) {
  .container {
    width: min(calc(100% - 32px), 760px);
  }

  .nav-toggle {
    display: flex;
  }

  .main-nav {
    position: absolute;
    inset-block-start: var(--header-height);
    inset-inline: 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin: 0;
    padding: 11px;
    border: 1px solid var(--line-dark);
    border-radius: 0 0 18px 18px;
    background: rgba(5, 14, 27, .98);
    box-shadow: var(--shadow-dark);
  }

  .main-nav.open {
    display: flex;
  }

  .main-nav a {
    padding: 13px 12px;
    border-radius: 9px;
  }

  .main-nav a::after {
    display: none;
  }

  .main-nav a:hover,
  .main-nav a.active {
    background: rgba(255, 255, 255, .06);
  }

  .header-tools {
    margin-inline-start: 0;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .v13-hero {
    min-height: 0;
    padding: 75px 0 65px;
  }

  .hero-copy {
    max-width: 700px;
  }

  .hero-visual {
    width: min(680px, 100%);
    margin-inline: auto;
  }

  .proof-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .section-heading {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .project-grid,
  .product-grid,
  .case-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .pricing-grid article {
    min-height: 0;
  }

  .pricing-grid article.featured {
    transform: none;
  }

  .contact-grid,
  .booking-grid,
  .checkout-grid,
  .project-detail-hero > .container,
  .product-detail-grid,
  .story-grid,
  .legal-grid {
    grid-template-columns: 1fr;
  }

  .contact-copy,
  .legal-nav {
    position: static;
  }

  .footer-callout,
  .sales-cta > .container {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .quote-pro-layout {
    grid-template-columns: 1fr;
  }

  .quote-pro-summary {
    position: static;
  }

  .quote-form-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .legal-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 18px;
  }
}

@media (max-width: 640px) {
  .container {
    width: calc(100% - 24px);
  }

  .brand-word {
    font-size: 1rem;
  }

  .brand img {
    width: 36px;
    height: 36px;
  }

  .lang-switch {
    position: absolute;
    inset-block-start: calc(var(--header-height) + 8px);
    inset-inline-end: 24px;
    z-index: 2;
    display: none;
    background: var(--navy-850);
  }

  .main-nav.open ~ .header-tools .lang-switch {
    display: inline-flex;
  }

  .hero-copy h1 {
    font-size: clamp(2.65rem, 13vw, 3.75rem);
  }

  .hero-intro {
    font-size: 1rem;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero-visual-frame {
    border-radius: 23px;
    transform: none;
  }

  [dir="rtl"] .hero-visual-frame {
    transform: none;
  }

  .hero-visual-frame > img {
    border-radius: 22px;
  }

  .hero-visual-chip {
    display: none;
  }

  .proof-grid {
    grid-template-columns: 1fr;
  }

  .proof-grid article {
    padding: 11px 4px;
  }

  .v13-section,
  .content-section,
  .sales-section,
  .contact-section {
    padding: 74px 0;
  }

  .section-heading h2,
  .section-head h2,
  .sales-hero h1,
  .contact-copy h2 {
    font-size: clamp(2.15rem, 10vw, 3.15rem);
  }

  .service-cards,
  .project-grid,
  .product-grid,
  .case-grid,
  .value-grid,
  .process-grid,
  .testimonial-grid,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    min-height: 300px;
  }

  .process-list article {
    grid-template-columns: 48px 1fr;
    gap: 13px;
  }

  .process-list article p {
    grid-column: 2;
  }

  .form-row,
  .quote-form-grid,
  .quote-service-grid,
  .quote-addon-grid {
    grid-template-columns: 1fr;
  }

  .contact-form,
  .quote-step-card,
  .quote-pro-summary,
  .checkout-summary,
  .success-card {
    padding: 22px;
  }

  .form-submit {
    align-items: stretch;
    flex-direction: column;
  }

  .footer-callout {
    padding: 38px 25px;
  }

  .footer-callout-actions,
  .footer-callout-actions .btn,
  .sales-cta > .container > div:last-child,
  .sales-cta .btn {
    width: 100%;
  }

  .sales-cta > .container > div:last-child {
    flex-direction: column;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    padding-top: 55px;
  }

  .footer-brand {
    grid-column: auto;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .page-hero,
  .sales-hero {
    padding: 78px 0 58px;
  }

  .project-detail-hero,
  .product-detail {
    padding: 68px 0;
  }

  .project-detail-copy h1,
  .product-detail-copy h1 {
    font-size: clamp(2.5rem, 12vw, 4rem);
  }

  .project-cta > .container {
    align-items: flex-start;
    flex-direction: column;
  }

  .guarantee {
    grid-template-columns: 1fr;
    gap: 22px;
    padding: 30px 24px;
  }

  .process-grid article {
    grid-template-columns: 42px 1fr;
  }

  .quote-service-card {
    grid-template-columns: 22px 38px minmax(0, 1fr);
  }

  .quote-service-card > b {
    grid-column: 3;
  }

  .quote-trust {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }
}
