@font-face {
  font-family: "Vazirmatn";
  font-style: normal;
  font-weight: 300 900;
  font-display: swap;
  src: url("assets/fonts/Vazirmatn-Arabic.woff2") format("woff2");
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891,
    U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+FB50-FDFF,
    U+FE70-FEFC;
}

@font-face {
  font-family: "Vazirmatn";
  font-style: normal;
  font-weight: 300 900;
  font-display: swap;
  src: url("assets/fonts/Vazirmatn-Latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC,
    U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191,
    U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --bg: #070b0c;
  --bg-soft: #0c1213;
  --surface: #11191a;
  --surface-2: #172122;
  --paper: #f2f5f0;
  --paper-2: #e8ece6;
  --text: #121718;
  --text-light: #f3f7f2;
  --muted: #677171;
  --muted-light: #a8b3b0;
  --accent: #baff2a;
  --accent-2: #28e4d1;
  --danger: #ff6b6b;
  --line: rgba(18, 23, 24, 0.14);
  --line-light: rgba(255, 255, 255, 0.14);
  --radius-sm: 12px;
  --radius-md: 22px;
  --radius-lg: 34px;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.16);
  --container: 1240px;
  --header-height: 82px;
  --transition: 220ms ease;
}

/* Order tracking */
.track-page { min-height: 100vh; background: #0d0f12; color: #f4f4f2; }
.track-header { width: min(1180px, calc(100% - 40px)); margin: 0 auto; padding: 28px 0; display: flex; align-items: center; justify-content: space-between; }
.track-main { width: min(920px, calc(100% - 40px)); margin: 4vh auto 10vh; }
.track-intro { max-width: 690px; margin-bottom: 34px; }
.track-intro h1 { margin: 14px 0; font-size: clamp(2.2rem, 7vw, 4.8rem); line-height: 1.08; }
.track-intro > p:last-child { color: #aaaead; font-size: 1.05rem; }
.track-panel { display: grid; gap: 22px; }
.track-form, .track-result { background: #171a1e; border: 1px solid #2b2f34; border-radius: 24px; padding: clamp(22px, 5vw, 42px); }
.track-form { display: grid; grid-template-columns: 1fr 1fr auto; gap: 16px; align-items: end; }
.track-form .input-field span { color: #d7d8d6; }
.track-message { grid-column: 1 / -1; min-height: 1.5em; margin: 0; color: #b9bbb8; }
.track-message.is-error { color: #ff9d93; }
.track-message.is-success { color: #9fe2b4; }
.track-result-head { display: flex; justify-content: space-between; gap: 20px; align-items: center; padding-bottom: 24px; border-bottom: 1px solid #30343a; }
.track-result-head div { display: grid; gap: 6px; }
.track-result-head span, .payment-box span { color: #979b9f; font-size: .84rem; }
.track-result-head strong { direction: ltr; font-size: 1.25rem; }
.track-result-head b { background: #d9ff4f; color: #111; border-radius: 999px; padding: 10px 16px; font-size: .9rem; }
.track-details { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: #30343a; margin: 24px 0; }
.track-details div { background: #171a1e; padding: 18px; display: grid; gap: 7px; }
.track-details dt { color: #91959a; font-size: .84rem; }
.track-details dd { margin: 0; font-weight: 600; }
.payment-box { border: 1px solid #3a4047; border-radius: 18px; padding: 18px; display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.payment-box > div { display: grid; gap: 5px; }
.payment-box small { color: #9fa3a7; }
@media (max-width: 760px) {
  .track-form { grid-template-columns: 1fr; }
  .track-details { grid-template-columns: 1fr; }
  .payment-box, .track-result-head { align-items: stretch; flex-direction: column; }
  .track-header { width: min(100% - 24px, 1180px); }
  .track-main { width: min(100% - 24px, 920px); }
}

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

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 20px);
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--text);
  font-family: "Vazirmatn", Tahoma, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

body.menu-open,
body.modal-open {
  overflow: hidden;
}

.hp-field {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
}

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

.icon-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.icon {
  display: inline-block;
  width: 1.15em;
  height: 1.15em;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  vertical-align: middle;
}

.icon-fill {
  fill: currentColor;
  stroke: none;
}

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

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

button,
select {
  cursor: pointer;
}

button {
  color: inherit;
}

ul,
ol {
  margin: 0;
  padding: 0;
}

p,
h1,
h2,
h3,
h4 {
  margin-top: 0;
}

::selection {
  background: var(--accent);
  color: #07100b;
}

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

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

.section {
  padding: 120px 0;
}

.section-dark {
  background: var(--bg);
  color: var(--text-light);
}

.section-soft {
  background: var(--paper-2);
}

.skip-link {
  position: fixed;
  z-index: 9999;
  top: 12px;
  right: 12px;
  padding: 10px 16px;
  border-radius: 10px;
  background: var(--accent);
  color: var(--bg);
  transform: translateY(-150%);
  transition: transform var(--transition);
}

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

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 700;
  transition: transform var(--transition), background var(--transition),
    color var(--transition), border-color var(--transition);
}

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

.button-primary {
  border-color: var(--accent);
  background: var(--accent);
  color: #07100b;
}

.button-primary:hover {
  background: #ceff67;
}

.button-ghost {
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(8, 13, 14, 0.38);
  color: var(--text-light);
  backdrop-filter: blur(10px);
}

.button-ghost:hover {
  border-color: rgba(255, 255, 255, 0.7);
}

.button-outline {
  border-color: var(--text);
  background: transparent;
  color: var(--text);
}

.button-outline:hover {
  background: var(--text);
  color: var(--text-light);
}

.button-small {
  min-height: 44px;
  padding: 8px 18px;
  font-size: 0.9rem;
}

.button-block {
  width: 100%;
}

.text-link {
  display: inline-flex;
  border: 0;
  border-bottom: 1px solid currentColor;
  background: transparent;
  color: inherit;
  font-weight: 600;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(260px, 0.75fr);
  gap: 60px;
  align-items: end;
  margin-bottom: 58px;
}

.section-heading h2 {
  max-width: 780px;
  margin-bottom: 0;
  font-size: clamp(2.2rem, 5vw, 4.8rem);
  line-height: 1.15;
  letter-spacing: -0.05em;
}

.section-heading > p {
  margin-bottom: 5px;
  color: var(--muted);
}

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

.section-index {
  margin-bottom: 14px;
  color: #60706c;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section-dark .section-index {
  color: var(--accent);
}

/* Header */
.site-header {
  position: fixed;
  z-index: 1000;
  top: 0;
  right: 0;
  left: 0;
  height: var(--header-height);
  border-bottom: 1px solid transparent;
  color: var(--text-light);
  transition: background var(--transition), border-color var(--transition),
    height var(--transition);
}

.site-header.scrolled {
  height: 70px;
  border-color: var(--line-light);
  background: rgba(7, 11, 12, 0.9);
  backdrop-filter: blur(18px);
}

.header-inner {
  display: flex;
  height: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

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

.brand-name {
  display: inline-block;
  direction: ltr;
  color: var(--text-light);
  font-size: 1.08rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  line-height: 1;
}

.brand-name > span {
  color: var(--accent);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 27px;
  font-size: 0.9rem;
}

.main-nav a {
  position: relative;
  color: #dce3df;
}

.main-nav a::after {
  position: absolute;
  right: 0;
  bottom: -7px;
  width: 0;
  height: 1px;
  background: var(--accent);
  content: "";
  transition: width var(--transition);
}

.main-nav a:hover::after,
.main-nav a.active::after {
  width: 100%;
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  padding: 11px;
  border: 1px solid var(--line-light);
  border-radius: 50%;
  background: transparent;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 1px;
  margin: 5px 0;
  background: white;
  transition: transform var(--transition), opacity var(--transition);
}

.menu-toggle.active span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* Hero */
.hero {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  padding: calc(var(--header-height) + 70px) 0 90px;
}

.hero-image,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
  object-position: center;
  filter: saturate(0.9) contrast(1.06);
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(7, 11, 12, 0.15), rgba(7, 11, 12, 0.82) 70%, #070b0c 100%),
    linear-gradient(0deg, #070b0c 0%, transparent 38%);
}

.hero-layout {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) 360px;
  gap: 70px;
  align-items: center;
  min-height: calc(100svh - 220px);
}

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

.eyebrow {
  display: flex;
  direction: ltr;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
  color: #cfd7d3;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
}

.eyebrow span {
  width: 34px;
  height: 1px;
  background: var(--accent);
}

.hero h1 {
  margin-bottom: 25px;
  font-size: clamp(3.2rem, 7.2vw, 7.6rem);
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: -0.065em;
}

.hero h1 em {
  color: var(--accent);
  font-style: normal;
}

.hero-lead {
  max-width: 640px;
  margin-bottom: 32px;
  color: #c0cbc7;
  font-size: clamp(1rem, 1.35vw, 1.2rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 46px;
}

.hero-trust {
  display: flex;
  max-width: 660px;
  list-style: none;
  border-top: 1px solid var(--line-light);
}

.hero-trust li {
  flex: 1;
  padding: 20px 0 0 20px;
}

.hero-trust li + li {
  padding-right: 20px;
  border-right: 1px solid var(--line-light);
}

.hero-trust strong,
.hero-trust span {
  display: block;
}

.hero-trust strong {
  direction: ltr;
  margin-bottom: 2px;
  font-size: 1.05rem;
}

.hero-trust span {
  color: var(--muted-light);
  font-size: 0.75rem;
}

.hero-brief {
  padding: 25px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-md);
  background: rgba(8, 13, 14, 0.62);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.brief-topline {
  display: flex;
  direction: ltr;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 35px;
  color: var(--muted-light);
  font-size: 0.66rem;
  letter-spacing: 0.12em;
}

.live-dot {
  position: relative;
  padding-left: 13px;
  color: #d8e1dd;
  letter-spacing: 0;
}

.live-dot::before {
  position: absolute;
  top: 50%;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 14px var(--accent);
  content: "";
  transform: translateY(-50%);
}

.hero-brief h2 {
  margin-bottom: 8px;
  font-size: 1.55rem;
}

.hero-brief > p {
  margin-bottom: 25px;
  color: var(--muted-light);
  font-size: 0.86rem;
}

.brief-options {
  margin-bottom: 20px;
  border-top: 1px solid var(--line-light);
}

.brief-options a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 2px;
  border-bottom: 1px solid var(--line-light);
  transition: color var(--transition), padding var(--transition);
}

.brief-options a:hover {
  padding-right: 8px;
  color: var(--accent);
}

.brief-options b {
  direction: ltr;
  color: #6f7c78;
  font-size: 0.7rem;
}

.hero-brief .text-link {
  color: var(--accent);
  font-size: 0.82rem;
}

.scroll-cue {
  position: absolute;
  z-index: 3;
  bottom: 25px;
  left: 28px;
  display: flex;
  direction: ltr;
  align-items: center;
  gap: 10px;
  color: #899591;
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  writing-mode: vertical-rl;
}

.scroll-cue i {
  width: 1px;
  height: 50px;
  background: linear-gradient(var(--accent), transparent);
}

/* Services */
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-right: 1px solid var(--line);
}

.service-card {
  position: relative;
  display: flex;
  min-height: 430px;
  flex-direction: column;
  padding: 34px;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  border-left: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.18);
  transition: color var(--transition), background var(--transition),
    transform var(--transition);
}

.service-card::before {
  position: absolute;
  top: -90px;
  left: -90px;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: var(--accent);
  content: "";
  opacity: 0;
  transition: opacity var(--transition), transform 400ms ease;
}

.service-card:hover {
  z-index: 2;
  background: var(--bg);
  color: var(--text-light);
  transform: translateY(-5px);
}

.service-card:hover::before {
  opacity: 0.12;
  transform: scale(1.4);
}

.service-number {
  position: absolute;
  top: 22px;
  left: 24px;
  color: #85908d;
  font-size: 0.72rem;
}

.service-icon {
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  margin-bottom: 60px;
  border: 1px solid var(--line);
  border-radius: 50%;
  font-size: 1.25rem;
}

.service-card:hover .service-icon {
  border-color: var(--accent);
  color: var(--accent);
}

.service-card h3 {
  margin-bottom: 14px;
  font-size: 1.45rem;
}

.service-card p {
  margin-bottom: 22px;
  color: var(--muted);
  font-size: 0.92rem;
}

.service-card:hover p {
  color: var(--muted-light);
}

.service-card ul {
  margin-bottom: 28px;
  list-style: none;
  color: #798481;
  font-size: 0.76rem;
}

.service-card li {
  display: inline;
}

.service-card li:not(:last-child)::after {
  margin: 0 7px;
  content: "•";
}

.card-action {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  margin-top: auto;
  padding: 14px 0 0;
  border: 0;
  border-top: 1px solid var(--line);
  background: transparent;
  text-align: right;
}

.service-card:hover .card-action {
  border-color: var(--line-light);
  color: var(--accent);
}

/* Portfolio */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 30px;
}

.filter-button {
  padding: 9px 16px;
  border: 1px solid #bdc5bf;
  border-radius: 999px;
  background: transparent;
  font-size: 0.82rem;
  transition: background var(--transition), color var(--transition),
    border-color var(--transition);
}

.filter-button:hover,
.filter-button.active {
  border-color: var(--bg);
  background: var(--bg);
  color: var(--text-light);
}

.portfolio-grid {
  display: grid;
  grid-auto-rows: 340px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.project-card {
  position: relative;
  min-height: 340px;
  overflow: hidden;
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: var(--text-light);
  cursor: pointer;
  transition: opacity 240ms ease, transform var(--transition);
}

.project-card:hover {
  transform: translateY(-4px);
}

.project-card.is-hidden {
  display: none;
}

.project-large {
  grid-row: span 2;
}

.project-wide {
  grid-column: span 2;
}

.project-media,
.project-art {
  position: absolute;
  inset: 0;
}

.project-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 700ms cubic-bezier(0.2, 0.8, 0.2, 1), filter 400ms ease;
}

.crop-fashion img {
  object-position: 10% center;
}

.crop-jewelry img {
  object-position: 48% 72%;
  transform: scale(1.8);
}

.crop-architecture img {
  object-position: 43% center;
}

.project-card:hover .project-media img {
  filter: saturate(1.15);
  transform: scale(1.06);
}

.project-card:hover .crop-jewelry img {
  transform: scale(1.9);
}

.project-art {
  display: grid;
  place-items: center;
  overflow: hidden;
}

.project-art::before,
.project-art::after {
  position: absolute;
  border-radius: 50%;
  content: "";
  filter: blur(2px);
}

.project-art span {
  position: relative;
  z-index: 1;
  direction: ltr;
  font-size: clamp(2.5rem, 6vw, 6rem);
  font-weight: 900;
  line-height: 0.82;
  letter-spacing: -0.08em;
  opacity: 0.68;
}

.art-aza {
  background: linear-gradient(130deg, #5d2814, #d57d36 46%, #1d1010);
}

.art-aza::before {
  width: 280px;
  height: 280px;
  background: rgba(255, 226, 150, 0.2);
}

.art-industrial {
  background: linear-gradient(145deg, #770a13, #d11d2a 54%, #1b080b);
}

.art-industrial::after {
  width: 230px;
  height: 230px;
  border: 42px solid rgba(255, 255, 255, 0.12);
}

.art-roadside {
  background: linear-gradient(135deg, #2d2500, #f0c900 50%, #171300);
  color: #131100;
}

.art-roadside::before {
  right: 12%;
  width: 180px;
  height: 180px;
  border: 30px solid rgba(0, 0, 0, 0.13);
}

.art-school {
  background: linear-gradient(135deg, #0d453c, #137e68 50%, #0b1d1a);
}

.art-school::after {
  width: 330px;
  height: 330px;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.art-school span {
  direction: rtl;
  font-size: clamp(2.2rem, 5vw, 5rem);
  line-height: 1.1;
  text-align: center;
}

.project-overlay {
  position: absolute;
  z-index: 2;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 80px 24px 23px;
  background: linear-gradient(transparent, rgba(4, 8, 9, 0.94));
}

.project-overlay span {
  display: block;
  direction: ltr;
  margin-bottom: 6px;
  color: var(--accent);
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  text-align: right;
}

.project-overlay h3 {
  margin-bottom: 3px;
  font-size: 1.3rem;
}

.project-overlay p {
  max-width: 550px;
  margin-bottom: 0;
  color: #bbc4c1;
  font-size: 0.8rem;
}

.project-open {
  position: absolute;
  z-index: 3;
  top: 18px;
  left: 18px;
  display: grid;
  width: 43px;
  height: 43px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 50%;
  background: rgba(6, 10, 11, 0.38);
  color: white;
  backdrop-filter: blur(8px);
  transition: background var(--transition), color var(--transition);
}

.project-open .icon {
  width: 19px;
  height: 19px;
}

.project-card:hover .project-open {
  border-color: var(--accent);
  background: var(--accent);
  color: var(--bg);
}

.dynamic-project-art {
  background: linear-gradient(135deg, #0a1718, #17594f 52%, #081010);
}

.dynamic-project-art span {
  direction: rtl;
  max-width: 82%;
  font-size: clamp(2rem, 4vw, 4.5rem);
  line-height: 1.05;
  letter-spacing: -0.05em;
  text-align: center;
}

.managed-empty {
  grid-column: 1 / -1;
  margin: 0;
  padding: 42px;
  border: 1px dashed var(--line);
  border-radius: var(--radius-sm);
  color: var(--muted);
  text-align: center;
}

/* Workflow */
.workflow-list {
  list-style: none;
  border-top: 1px solid var(--line-light);
}

.workflow-list li {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 30px;
  align-items: center;
  padding: 30px 0;
  border-bottom: 1px solid var(--line-light);
  transition: padding var(--transition), color var(--transition);
}

.workflow-list li:hover {
  padding-right: 15px;
  color: var(--accent);
}

.step-no {
  direction: ltr;
  color: #6e7a76;
  font-size: 0.76rem;
}

.workflow-list div {
  display: grid;
  grid-template-columns: minmax(180px, 0.45fr) minmax(0, 1fr);
  gap: 30px;
  align-items: center;
}

.workflow-list h3,
.workflow-list p {
  margin-bottom: 0;
}

.workflow-list h3 {
  font-size: 1.35rem;
}

.workflow-list p {
  max-width: 590px;
  color: var(--muted-light);
}

/* Calculator */
.calculator-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 390px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #f8faf7;
  box-shadow: var(--shadow);
}

.calculator-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  padding: 44px;
}

.field-group {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.field-full {
  grid-column: 1 / -1;
}

.field-label {
  display: block;
  margin-bottom: 11px;
  font-size: 0.86rem;
  font-weight: 800;
}

.field-group > small {
  display: block;
  margin-top: 7px;
  color: var(--muted);
  font-size: 0.72rem;
}

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

.choice-card {
  display: flex;
  min-height: 80px;
  align-items: center;
  gap: 11px;
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: white;
  cursor: pointer;
  font-size: 0.82rem;
  font-weight: 650;
  transition: border-color var(--transition), background var(--transition);
}

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

.choice-card.active,
.choice-card:has(input:checked) {
  border-color: var(--bg);
  background: var(--bg);
  color: white;
}

.choice-icon {
  display: grid;
  width: 32px;
  height: 32px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  background: var(--paper-2);
  color: var(--text);
}

.choice-card:has(input:checked) .choice-icon {
  background: var(--accent);
}

.number-input {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) 48px;
  height: 54px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: white;
}

.number-input button {
  border: 0;
  background: var(--paper-2);
  font-size: 1.2rem;
}

.number-input input {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  text-align: center;
  -moz-appearance: textfield;
}

.number-input input::-webkit-outer-spin-button,
.number-input input::-webkit-inner-spin-button {
  margin: 0;
  -webkit-appearance: none;
}

.calculator-form select,
.input-field input,
.input-field select,
.input-field textarea {
  width: 100%;
  min-height: 54px;
  padding: 12px 15px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  outline: 0;
  background: white;
  color: var(--text);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.calculator-form select:focus,
.input-field input:focus,
.input-field select:focus,
.input-field textarea:focus {
  border-color: #4b7770;
  box-shadow: 0 0 0 4px rgba(40, 228, 209, 0.12);
}

.segmented {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: white;
}

.segmented label {
  cursor: pointer;
}

.segmented label + label {
  border-right: 1px solid var(--line);
}

.segmented input {
  position: absolute;
  opacity: 0;
}

.segmented span {
  display: grid;
  min-height: 52px;
  place-items: center;
  transition: background var(--transition), color var(--transition);
}

.segmented input:checked + span {
  background: var(--bg);
  color: white;
}

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

.addons legend {
  grid-column: 1 / -1;
}

.addons label {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 50px;
  padding: 10px 13px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: white;
  cursor: pointer;
  font-size: 0.78rem;
}

.addons input,
.check-line input {
  width: 17px;
  height: 17px;
  accent-color: var(--bg);
}

.addons b {
  margin-right: auto;
  color: var(--muted);
  font-size: 0.69rem;
}

.rush-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 68px;
  padding: 12px 17px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: white;
  cursor: pointer;
}

.rush-option span,
.rush-option strong,
.rush-option small {
  display: block;
}

.rush-option small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 0.7rem;
}

.rush-option input {
  position: absolute;
  opacity: 0;
}

.rush-option i {
  position: relative;
  width: 48px;
  height: 28px;
  flex: 0 0 auto;
  border-radius: 999px;
  background: #c8cfcb;
  transition: background var(--transition);
}

.rush-option i::after {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: white;
  content: "";
  transition: transform var(--transition);
}

.rush-option input:checked + i {
  background: var(--bg);
}

.rush-option input:checked + i::after {
  transform: translateX(-20px);
}

.estimate-card {
  display: flex;
  flex-direction: column;
  padding: 40px 34px;
  background: var(--bg);
  color: white;
}

.estimate-badge {
  align-self: flex-start;
  margin-bottom: 55px;
  padding: 6px 10px;
  border: 1px solid var(--line-light);
  border-radius: 999px;
  color: var(--accent);
  font-size: 0.62rem;
  letter-spacing: 0.08em;
}

.estimate-service {
  margin-bottom: 10px;
  color: var(--muted-light);
  font-size: 0.85rem;
}

.estimate-price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 7px;
  margin-bottom: 36px;
}

.estimate-price span {
  color: var(--accent);
  font-size: clamp(1.35rem, 2.4vw, 2.2rem);
  font-weight: 900;
  line-height: 1.2;
}

.estimate-price i {
  color: #77827e;
  font-size: 0.75rem;
  font-style: normal;
}

.estimate-price small {
  width: 100%;
  color: #7c8984;
}

.estimate-details {
  margin: 0 0 30px;
  border-top: 1px solid var(--line-light);
}

.estimate-details div {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line-light);
}

.estimate-details dt {
  color: #8d9995;
  font-size: 0.75rem;
}

.estimate-details dd {
  margin: 0;
  font-size: 0.8rem;
  font-weight: 700;
}

.estimate-card .button {
  margin-top: auto;
}

.estimate-note {
  margin: 14px 0 0;
  color: #7e8a86;
  font-size: 0.68rem;
  line-height: 1.7;
}

/* Packages */
.package-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.package-card {
  display: flex;
  min-height: 470px;
  flex-direction: column;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.42);
}

.package-card.featured {
  border-color: var(--bg);
  background: var(--bg);
  color: white;
  transform: translateY(-14px);
}

.package-label {
  display: inline-block;
  align-self: flex-start;
  margin-bottom: 55px;
  padding: 5px 10px;
  border: 1px solid currentColor;
  border-radius: 999px;
  color: #65706d;
  font-size: 0.65rem;
}

.featured .package-label {
  color: var(--accent);
}

.package-card h3 {
  margin-bottom: 10px;
  font-size: 2rem;
}

.package-price {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 15px;
}

.package-price strong {
  color: var(--accent);
  font-size: 4.6rem;
  line-height: 1;
}

.package-price span {
  color: var(--muted-light);
  font-size: 0.76rem;
}

.package-card > p {
  color: var(--muted);
}

.featured > p {
  color: var(--muted-light);
}

.package-card ul {
  margin: 10px 0 30px;
  list-style: none;
}

.package-card li {
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.85rem;
}

.featured li {
  border-color: var(--line-light);
}

.package-card li::before {
  margin-left: 8px;
  color: #278f80;
  content: "✓";
}

.featured li::before {
  color: var(--accent);
}

.package-card .button {
  margin-top: auto;
}

/* Order */
.order-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.65fr) minmax(0, 1.35fr);
  gap: 70px;
  align-items: start;
}

.order-intro {
  position: sticky;
  top: 110px;
}

.order-intro h2 {
  margin-bottom: 20px;
  font-size: clamp(2.5rem, 5vw, 5rem);
  line-height: 1.08;
  letter-spacing: -0.06em;
}

.order-intro > p {
  color: var(--muted-light);
}

.order-points {
  margin-top: 45px;
  list-style: none;
  border-top: 1px solid var(--line-light);
}

.order-points li {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line-light);
  color: #c1cbc7;
  font-size: 0.83rem;
}

.order-points span {
  direction: ltr;
  color: var(--accent);
  font-size: 0.68rem;
}

.order-panel {
  padding: 38px;
  border: 1px solid var(--line-light);
  border-radius: var(--radius-lg);
  background: var(--surface);
}

.form-progress {
  margin-bottom: 45px;
}

.progress-track {
  height: 3px;
  margin-bottom: 15px;
  overflow: hidden;
  border-radius: 999px;
  background: #273031;
}

.progress-track span {
  display: block;
  width: 33.333%;
  height: 100%;
  border-radius: inherit;
  background: var(--accent);
  transition: width 350ms ease;
}

.form-progress ol {
  display: flex;
  justify-content: space-between;
  list-style: none;
}

.form-progress li {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #6f7b77;
  font-size: 0.7rem;
}

.form-progress li b {
  display: grid;
  width: 23px;
  height: 23px;
  place-items: center;
  border: 1px solid #56615e;
  border-radius: 50%;
}

.form-progress li.active {
  color: white;
}

.form-progress li.active b {
  border-color: var(--accent);
  background: var(--accent);
  color: var(--bg);
}

.form-step {
  display: none;
}

.form-step.active {
  display: block;
  animation: stepIn 350ms ease both;
}

@keyframes stepIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.form-step-head {
  margin-bottom: 28px;
}

.form-step-head span {
  color: var(--accent);
  font-size: 0.7rem;
}

.form-step-head h3 {
  margin: 3px 0 0;
  font-size: 1.65rem;
}

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

.field-span-2 {
  grid-column: 1 / -1;
}

.input-field > span {
  display: block;
  margin-bottom: 7px;
  color: #cbd4d0;
  font-size: 0.78rem;
  font-weight: 650;
}

.input-field input,
.input-field select,
.input-field textarea {
  border-color: #303b3b;
  background: #0d1415;
  color: white;
}

.input-field textarea {
  min-height: 135px;
  resize: vertical;
}

.input-field input::placeholder,
.input-field textarea::placeholder {
  color: #65706d;
}

.input-field > small {
  display: block;
  margin-top: 6px;
  color: #7e8b87;
  font-size: 0.66rem;
}

.field-error,
.form-general-error {
  color: var(--danger) !important;
}

.field-error:empty,
.form-general-error:empty {
  display: none !important;
}

.input-field.invalid input,
.input-field.invalid select,
.input-field.invalid textarea {
  border-color: var(--danger);
}

.upload-field {
  display: grid;
  min-height: 120px;
  place-items: center;
  padding: 18px;
  border: 1px dashed #475351;
  border-radius: var(--radius-sm);
  cursor: pointer;
  text-align: center;
  transition: border-color var(--transition), background var(--transition);
}

.upload-field:hover {
  border-color: var(--accent);
  background: rgba(186, 255, 42, 0.035);
}

.upload-field.invalid {
  border-color: var(--danger);
  background: rgba(255, 107, 107, 0.045);
}

.upload-field .field-error {
  display: block;
  margin-top: 3px;
  font-size: 0.72rem;
}

.upload-field input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.upload-icon {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid #55615e;
  border-radius: 50%;
  color: var(--accent);
}

.upload-icon .icon {
  width: 19px;
  height: 19px;
}

.upload-field strong {
  margin-top: 6px;
  font-size: 0.85rem;
}

.upload-field small {
  color: #75827e;
  font-size: 0.67rem;
}

.check-line {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  color: #bec8c4;
  font-size: 0.75rem;
  cursor: pointer;
}

.terms-line {
  margin-top: 25px;
  padding: 15px;
  border: 1px solid #303a39;
  border-radius: var(--radius-sm);
}

.review-card {
  overflow: hidden;
  border: 1px solid #303a39;
  border-radius: var(--radius-sm);
}

.review-card dl {
  margin: 0;
}

.review-row {
  display: grid;
  grid-template-columns: 145px minmax(0, 1fr);
  gap: 15px;
  padding: 13px 15px;
  border-bottom: 1px solid #303a39;
}

.review-row:last-child {
  border-bottom: 0;
}

.review-row dt {
  color: #7f8b87;
  font-size: 0.72rem;
}

.review-row dd {
  margin: 0;
  color: white;
  font-size: 0.78rem;
  overflow-wrap: anywhere;
}

.form-actions {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-top: 30px;
  padding-top: 22px;
  border-top: 1px solid var(--line-light);
}

.order-success {
  display: none;
  padding: 20px 0 5px;
  text-align: center;
}

.order-success.active {
  display: block;
  animation: stepIn 350ms ease both;
}

.success-icon {
  display: grid;
  width: 72px;
  height: 72px;
  place-items: center;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--bg);
  font-size: 2rem;
  font-weight: 900;
}

.order-success > span {
  color: var(--accent);
  font-size: 0.72rem;
}

.order-success h3 {
  margin: 6px 0 13px;
  font-size: 1.5rem;
}

.order-success h3 b {
  direction: ltr;
  color: var(--accent);
}

.order-success p {
  max-width: 550px;
  margin: 0 auto 22px;
  color: var(--muted-light);
  font-size: 0.85rem;
}

.success-actions {
  display: flex;
  justify-content: center;
  gap: 10px;
}

.restart-form {
  margin-top: 20px;
  color: #929e9a;
}

/* FAQ */
.faq-layout {
  display: grid;
  grid-template-columns: minmax(240px, 0.6fr) minmax(0, 1.4fr);
  gap: 80px;
}

.faq-intro h2 {
  margin-bottom: 15px;
  font-size: clamp(2.3rem, 4vw, 4.2rem);
  line-height: 1.1;
  letter-spacing: -0.05em;
}

.faq-intro > p:last-child {
  color: var(--muted);
}

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

.accordion details {
  border-bottom: 1px solid var(--line);
}

.accordion summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 0;
  cursor: pointer;
  font-size: 1.02rem;
  font-weight: 700;
  list-style: none;
}

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

.accordion summary span {
  font-size: 1.35rem;
  transition: transform var(--transition);
}

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

.accordion details p {
  max-width: 700px;
  margin: -6px 0 24px;
  color: var(--muted);
}

/* Contact and Footer */
.contact-band {
  padding: 100px 0;
  background: var(--accent);
  color: #07100b;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(330px, 0.65fr);
  gap: 90px;
  align-items: center;
}

.contact-band .section-index {
  color: #385000;
}

.contact-band h2 {
  max-width: 750px;
  margin-bottom: 0;
  font-size: clamp(2.6rem, 6vw, 6.5rem);
  line-height: 1.04;
  letter-spacing: -0.065em;
}

.contact-links {
  border-top: 1px solid rgba(7, 16, 11, 0.32);
}

.contact-links a {
  display: grid;
  grid-template-columns: 118px minmax(0, 1fr) 24px;
  gap: 14px;
  align-items: center;
  padding: 18px 0;
  border-bottom: 1px solid rgba(7, 16, 11, 0.32);
}

.contact-kind {
  display: inline-flex;
  direction: ltr;
  align-items: center;
  gap: 9px;
}

.contact-kind > span {
  direction: ltr;
  font-size: 0.6rem;
  letter-spacing: 0.09em;
}

.social-icon {
  width: 20px;
  height: 20px;
  stroke-width: 1.7;
}

.contact-links strong {
  direction: ltr;
  overflow-wrap: anywhere;
  text-align: right;
}

.contact-arrow {
  width: 18px;
  height: 18px;
  transition: transform var(--transition);
}

.contact-links a:hover .contact-arrow {
  transform: translate(-4px, -4px);
}

.site-footer {
  padding: 28px 0 16px;
  background: var(--bg);
  color: white;
}

.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 20px;
}

.footer-top p {
  margin: 0;
  color: var(--muted-light);
  font-size: 0.8rem;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 25px;
  padding-top: 13px;
  border-top: 1px solid var(--line-light);
  color: #687571;
  font-size: 0.66rem;
}

.scroll-up {
  position: fixed;
  z-index: 900;
  right: max(22px, env(safe-area-inset-right));
  bottom: max(22px, env(safe-area-inset-bottom));
  display: grid;
  width: 58px;
  height: 58px;
  visibility: hidden;
  place-items: center;
  border: 1px solid rgba(186, 255, 42, 0.2);
  border-radius: 50%;
  background: #111718;
  color: var(--accent);
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.28);
  opacity: 0;
  transform: translateY(14px);
  transition: opacity var(--transition), transform var(--transition),
    visibility var(--transition), background var(--transition);
}

.scroll-up .icon {
  width: 27px;
  height: 27px;
  stroke-width: 1.7;
}

.scroll-up.is-visible {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
}

.scroll-up:hover {
  background: #1b2324;
  transform: translateY(-3px);
}

/* Modal and feedback */
.modal {
  position: fixed;
  z-index: 1500;
  inset: 0;
  display: grid;
  visibility: hidden;
  place-items: center;
  padding: 20px;
  opacity: 0;
  transition: visibility var(--transition), opacity var(--transition);
}

.modal.open {
  visibility: visible;
  opacity: 1;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 5, 6, 0.84);
  backdrop-filter: blur(10px);
}

.modal-dialog {
  position: relative;
  z-index: 1;
  width: min(100%, 650px);
  max-height: calc(100svh - 40px);
  padding: 42px;
  overflow-y: auto;
  border: 1px solid var(--line-light);
  border-radius: var(--radius-lg);
  background: var(--surface);
  color: white;
  box-shadow: 0 30px 100px rgba(0, 0, 0, 0.5);
}

.modal-close {
  position: absolute;
  top: 18px;
  left: 18px;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid var(--line-light);
  border-radius: 50%;
  background: transparent;
  color: white;
  font-size: 1.4rem;
}

.modal-kicker {
  margin-bottom: 13px;
  color: var(--accent);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
}

.modal-dialog h2 {
  margin-bottom: 14px;
  font-size: 2.3rem;
}

.modal-dialog > p:not(.modal-kicker) {
  color: var(--muted-light);
}

.modal-dialog dl {
  margin: 28px 0;
  border-top: 1px solid var(--line-light);
}

.modal-dialog dl div {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 15px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line-light);
}

.modal-dialog dt {
  color: #7e8a86;
  font-size: 0.73rem;
}

.modal-dialog dd {
  margin: 0;
  font-size: 0.82rem;
}

.modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.service-modal-dialog {
  max-width: 700px;
}

.service-modal-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 24px 0 30px;
  list-style: none;
}

.service-modal-list li {
  padding: 7px 12px;
  border: 1px solid var(--line-light);
  border-radius: 999px;
  color: var(--muted-light);
  font-size: 0.78rem;
}

.service-modal-dialog .button-outline {
  border-color: rgba(255, 255, 255, 0.5);
  color: var(--text-light);
}

.service-modal-dialog .button-outline:hover {
  border-color: var(--accent);
  background: transparent;
  color: var(--accent);
}

.toast {
  position: fixed;
  z-index: 2000;
  right: 50%;
  bottom: 24px;
  min-width: 230px;
  padding: 12px 18px;
  border: 1px solid var(--line-light);
  border-radius: 999px;
  background: var(--surface);
  color: white;
  text-align: center;
  opacity: 0;
  pointer-events: none;
  transform: translate(50%, 20px);
  transition: opacity var(--transition), transform var(--transition);
}

.toast.show {
  opacity: 1;
  transform: translate(50%, 0);
}

.noscript {
  position: fixed;
  z-index: 3000;
  right: 15px;
  bottom: 15px;
  left: 15px;
  padding: 12px;
  border-radius: 10px;
  background: #ffdc6b;
  color: #1a1500;
  text-align: center;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 650ms ease, transform 650ms ease;
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

/* Responsive */
@media (max-width: 1080px) {
  .header-cta {
    display: none;
  }

  .hero-layout {
    grid-template-columns: minmax(0, 1fr) 330px;
    gap: 35px;
  }

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

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

  .calculator-shell {
    grid-template-columns: minmax(0, 1fr) 340px;
  }

  .calculator-form {
    padding: 32px;
  }

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

@media (max-width: 860px) {
  :root {
    --header-height: 70px;
  }

  .section {
    padding: 85px 0;
  }

  .main-nav {
    position: fixed;
    top: 0;
    right: 0;
    width: min(86vw, 370px);
    height: 100svh;
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
    gap: 0;
    padding: 85px 32px 35px;
    background: #081011;
    box-shadow: -20px 0 80px rgba(0, 0, 0, 0.35);
    transform: translateX(105%);
    transition: transform 300ms ease;
  }

  .main-nav.open {
    transform: translateX(0);
  }

  .main-nav a {
    padding: 14px 0;
    border-bottom: 1px solid var(--line-light);
    font-size: 1.05rem;
  }

  .menu-toggle {
    position: relative;
    z-index: 2;
    display: block;
    margin-right: auto;
  }

  .hero {
    min-height: auto;
    padding-top: 130px;
  }

  .hero-shade {
    background:
      linear-gradient(90deg, rgba(7, 11, 12, 0.2), rgba(7, 11, 12, 0.85)),
      linear-gradient(0deg, #070b0c 0%, transparent 55%);
  }

  .hero-layout,
  .section-heading,
  .calculator-shell,
  .order-layout,
  .faq-layout,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .hero-layout {
    gap: 50px;
  }

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

  .hero-brief {
    max-width: 600px;
  }

  .section-heading {
    gap: 20px;
    margin-bottom: 40px;
  }

  .calculator-form {
    order: 2;
  }

  .estimate-card {
    min-height: 420px;
    order: 1;
  }

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

  .package-card {
    min-height: auto;
  }

  .package-card.featured {
    transform: none;
  }

  .order-intro {
    position: static;
  }

  .contact-layout {
    gap: 50px;
  }
}

@media (max-width: 620px) {
  .container {
    width: min(calc(100% - 28px), var(--container));
  }

  .section {
    padding: 70px 0;
  }

  .brand-name {
    font-size: 0.92rem;
    letter-spacing: 0.13em;
  }

  .hero {
    padding: 115px 0 75px;
  }

  .hero-image {
    object-position: 22% center;
  }

  .hero h1 {
    font-size: clamp(3.1rem, 15vw, 5.4rem);
  }

  .hero-actions,
  .success-actions,
  .modal-actions {
    flex-direction: column;
  }

  .hero-actions .button,
  .success-actions .button,
  .modal-actions .button {
    width: 100%;
  }

  .hero-trust {
    flex-direction: column;
  }

  .hero-trust li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 11px 0;
    border-bottom: 1px solid var(--line-light);
  }

  .hero-trust li + li {
    padding-right: 0;
    border-right: 0;
  }

  .hero-trust strong,
  .hero-trust span {
    display: inline;
  }

  .scroll-cue {
    display: none;
  }

  .service-grid,
  .portfolio-grid,
  .calculator-form,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .service-grid {
    border-right: 0;
  }

  .service-card {
    min-height: 390px;
    border-right: 1px solid var(--line);
  }

  .project-large,
  .project-wide {
    grid-row: auto;
    grid-column: auto;
  }

  .portfolio-grid {
    grid-auto-rows: 420px;
  }

  .project-card {
    min-height: 420px;
  }

  .workflow-list li,
  .workflow-list div {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .calculator-form {
    padding: 25px 18px;
  }

  .service-choice-grid,
  .addons {
    grid-template-columns: 1fr;
  }

  .estimate-card {
    min-height: 440px;
    padding: 30px 20px;
  }

  .estimate-badge {
    margin-bottom: 35px;
  }

  .order-panel {
    padding: 25px 17px;
  }

  .field-span-2 {
    grid-column: auto;
  }

  .form-progress li span {
    display: none;
  }

  .review-row {
    grid-template-columns: 1fr;
    gap: 3px;
  }

  .contact-links a {
    grid-template-columns: 105px minmax(0, 1fr) 18px;
    font-size: 0.78rem;
  }

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

  .footer-top {
    gap: 11px;
    padding-bottom: 14px;
  }

  .footer-bottom {
    gap: 5px;
  }

  .scroll-up {
    right: max(14px, env(safe-area-inset-right));
    bottom: max(14px, env(safe-area-inset-bottom));
    width: 50px;
    height: 50px;
  }

  .modal-dialog {
    padding: 32px 20px 24px;
  }
}

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

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

  .reveal {
    opacity: 1;
    transform: none;
  }
}

.modal-media {
  width: 100%;
  aspect-ratio: 16 / 9;
  margin: 22px 0 26px;
  overflow: hidden;
  border-radius: 18px;
  background: #050708;
}

.modal-media video,
.modal-media iframe,
.modal-media img {
  width: 100%;
  height: 100%;
  border: 0;
  object-fit: contain;
}

.project-play {
  position: absolute;
  z-index: 3;
  inset: 50% auto auto 50%;
  width: 62px;
  height: 62px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .55);
  border-radius: 50%;
  background: rgba(5, 8, 9, .66);
  color: #fff;
  font-size: 1.1rem;
  transform: translate(-50%, -50%);
  backdrop-filter: blur(10px);
  transition: transform var(--transition), background var(--transition);
}

.project-card:hover .project-play {
  transform: translate(-50%, -50%) scale(1.08);
  background: var(--accent);
  color: var(--bg);
}
