:root {
  --ink: #111a24;
  --ink-2: #182435;
  --navy: #07111d;
  --navy-soft: #0f1d2b;
  --accent: #c89454;
  --accent-2: #e3a556;
  --cream: #f7f4ef;
  --surface: #ffffff;
  --surface-2: #f2eee7;
  --muted: #77736b;
  --line: rgba(17, 26, 36, 0.12);
  --light-line: rgba(255, 255, 255, 0.16);
  --shadow: 0 24px 70px rgba(17, 26, 36, 0.12);
  --shadow-soft: 0 16px 40px rgba(17, 26, 36, 0.08);
  --radius-lg: 20px;
  --radius-md: 16px;
  --radius-sm: 12px;
  --shell: 1200px;
  --ease-premium: cubic-bezier(0.22, 1, 0.36, 1);
  --anim-fast: 350ms;
  --anim-default: 650ms;
  --anim-slow: 1000ms;
  --reveal-distance: 24px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 118px;
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
}

body.nav-open {
  overflow: hidden;
}

body.modal-open {
  overflow: hidden;
}

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

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

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

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

[data-reveal] {
  opacity: 0;
  transition:
    opacity var(--anim-default) var(--ease-premium),
    transform var(--anim-default) var(--ease-premium);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}

[data-reveal="fade-up"],
[data-reveal="card"] {
  transform: translateY(var(--reveal-distance));
}

[data-reveal="image"] {
  transform: scale(1.025);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.ba-slider > img,
.ba-before img,
.preview-panel > img {
  transition: transform 700ms var(--ease-premium), filter 700ms var(--ease-premium);
}

.ba-card:hover .ba-slider > img,
.ba-card:hover .ba-before img,
.preview-panel:hover > img {
  transform: scale(1.025);
}

.site-header {
  position: fixed;
  inset: 18px 24px auto;
  z-index: 50;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  width: min(calc(100% - 48px), 1240px);
  margin-inline: auto;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: rgba(7, 17, 29, 0.76);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.25);
  color: #fff;
  backdrop-filter: blur(18px);
}

.site-header.is-scrolled {
  background: rgba(7, 17, 29, 0.93);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: max-content;
}

.logo-frame {
  display: block;
  width: 224px;
  height: 50px;
  overflow: hidden;
}

.brand-logo {
  width: 240px;
  height: auto;
  max-width: none;
  transform: translate(-10px, -65px);
}

.footer-logo-frame {
  width: 300px;
  height: 68px;
}

.footer-logo {
  width: 324px;
  transform: translate(-12px, -88px);
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #121212;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 16px;
  font-weight: 800;
}

.brand small {
  color: rgba(255, 255, 255, 0.68);
  font-size: 12px;
  line-height: 1.1;
}

.main-nav {
  display: flex;
  justify-content: center;
  gap: 5px;
}

.main-nav a {
  padding: 10px 12px;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 14px;
  font-weight: 600;
  transition: background 180ms ease, color 180ms ease;
}

.main-nav a:hover {
  background: rgba(255, 255, 255, 0.09);
  color: #fff;
}

.mobile-nav-cta {
  display: none;
}

.mobile-messenger {
  display: none;
}

.header-cta,
.btn {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  font-size: 15px;
  font-weight: 800;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.header-cta {
  padding: 0 18px;
  background: #fff;
  color: var(--navy);
}

.btn {
  padding: 0 22px;
}

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

.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: 0 14px 32px rgba(200, 148, 84, 0.34);
  color: #14110d;
}

.btn-secondary {
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.nav-toggle {
  position: relative;
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  cursor: pointer;
}

.nav-toggle span {
  position: absolute;
  left: 50%;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transform: translateX(-50%);
  transition:
    top 0.22s ease,
    opacity 0.18s ease,
    transform 0.24s cubic-bezier(0.22, 1, 0.36, 1);
}

.nav-toggle span:nth-child(1) {
  top: 15px;
}

.nav-toggle span:nth-child(2) {
  top: 21px;
}

.nav-toggle span:nth-child(3) {
  top: 27px;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  top: 21px;
  transform: translateX(-50%) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
  transform: translateX(-50%) scaleX(0.25);
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  top: 21px;
  transform: translateX(-50%) rotate(-45deg);
}

.hero {
  position: relative;
  min-height: 780px;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: #fff;
}

.hero picture,
.hero picture img,
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero picture {
  --hero-bg: url("assets/optimized/hero-desktop.webp");
  overflow: hidden;
}

.hero picture::before {
  content: "";
  display: none;
  position: absolute;
  inset: -18px;
  background-image: var(--hero-bg);
  background-position: center center;
  background-size: cover;
  filter: blur(18px);
  opacity: 0.42;
  transform: scale(1.04);
  z-index: 0;
}

.hero picture img {
  max-width: none;
  object-fit: cover;
  object-position: center 58%;
  z-index: 1;
}

.hero-overlay {
  z-index: 2;
  background:
    linear-gradient(90deg, rgba(7, 17, 29, 0.42), rgba(7, 17, 29, 0.22) 44%, rgba(7, 17, 29, 0.04)),
    linear-gradient(0deg, rgba(7, 17, 29, 0.28), rgba(7, 17, 29, 0.02) 52%);
}

.hero-content {
  position: relative;
  z-index: 3;
  padding: 170px 0 56px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 14px;
  color: var(--accent-2);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero .eyebrow {
  text-shadow: 0 8px 18px rgba(0, 0, 0, 0.5);
}

.hero h1 {
  max-width: 800px;
  margin: 0;
  font-size: clamp(42px, 6vw, 76px);
  line-height: 1;
  font-weight: 800;
  letter-spacing: 0;
  text-shadow: 0 14px 34px rgba(0, 0, 0, 0.36);
}

.hero-copy {
  max-width: 620px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 19px;
  text-shadow: 0 10px 24px rgba(0, 0, 0, 0.32);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
  padding: 4px 0;
  overflow: visible;
}

.hero-actions .btn {
  transform: translateY(0);
  -webkit-tap-highlight-color: transparent;
}

.hero-actions .btn:hover,
.hero-actions .btn:focus-visible {
  transform: translateY(2px) scale(1.025);
}

.hero-actions .btn:active {
  transform: translateY(3px) scale(0.985);
}

.hero-actions .btn-primary {
  box-shadow: 0 14px 32px rgba(200, 148, 84, 0.22);
}

.hero-actions .btn-primary:hover,
.hero-actions .btn-primary:focus-visible {
  box-shadow: 0 18px 38px rgba(200, 148, 84, 0.32);
}

.hero-actions .btn-secondary:hover,
.hero-actions .btn-secondary:focus-visible {
  background: rgba(255, 255, 255, 0.16);
  box-shadow: 0 16px 34px rgba(7, 17, 29, 0.22);
}

.hero-benefits {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 78px;
}

.hero-benefits span {
  min-height: 84px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  border: 1px solid var(--light-line);
  border-radius: var(--radius-md);
  background: rgba(7, 17, 29, 0.16);
  color: rgba(255, 255, 255, 0.9);
  font-weight: 700;
  backdrop-filter: blur(8px);
}

.hero-benefits img {
  width: 62px;
  height: 62px;
  flex: 0 0 auto;
  object-fit: contain;
  background: transparent;
  border: 0;
}

.hero-benefits b {
  font-size: 16px;
  line-height: 1.25;
}

.intro-band {
  background: var(--navy);
  color: #fff;
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: 54px;
  padding: 54px 0;
  align-items: end;
  border-top: 1px solid var(--light-line);
}

.intro-grid h2,
.section-heading h2,
.preview-copy h2,
.calculator-copy h2,
.proof-section h2,
.lead-form h2 {
  margin: 0;
  font-size: clamp(31px, 4vw, 54px);
  line-height: 1.06;
  font-weight: 800;
  letter-spacing: 0;
}

.intro-grid p:last-child {
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
}

.section {
  padding: 88px 0;
}

section[id] {
  scroll-margin-top: 118px;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 36px;
}

.split-heading {
  max-width: none;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 390px);
  gap: 36px;
  align-items: end;
}

.split-heading p:last-child {
  margin: 0;
  color: var(--muted);
}

.services {
  background: var(--cream);
}

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

.service-card-duplicate {
  display: none;
}

.service-card {
  position: relative;
  overflow: hidden;
  min-height: 250px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  background-clip: padding-box;
  box-shadow: var(--shadow-soft);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.service-card:hover {
  transform: translateY(-5px);
  border-color: rgba(200, 148, 84, 0.46);
  box-shadow: var(--shadow);
}

.icon {
  display: grid;
  width: 122px;
  height: 122px;
  place-items: center;
  border-radius: 50%;
  overflow: hidden;
  background: #f5f2ee;
  color: var(--accent);
}

.icon svg {
  width: 25px;
  height: 25px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.icon img {
  width: 92px;
  height: 92px;
  border-radius: 50%;
  object-fit: contain;
}

.service-card h3 {
  margin: 24px 0 10px;
  font-size: 22px;
}

.service-card p {
  margin: 0;
  color: var(--muted);
}

@keyframes servicesMarquee {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(calc(-50% - 8px));
  }
}

@keyframes roomInsert {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes editorPopoverIn {
  from {
    opacity: 0;
    transform: translate(-50%, calc(-50% + 8px)) scale(0.98);
  }

  to {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
}

@keyframes pricePulse {
  0% {
    transform: translateY(0);
    text-shadow: none;
  }

  42% {
    transform: translateY(-2px);
    text-shadow: 0 0 24px rgba(227, 165, 86, 0.28);
  }

  100% {
    transform: translateY(0);
    text-shadow: none;
  }
}

.gallery-section,
.calculator-section,
.lead-section {
  background: var(--surface-2);
}

.ba-carousel {
  position: relative;
  padding-inline: 64px;
  --ba-nav-top: 180px;
}

.before-after-grid {
  display: flex;
  gap: 22px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.before-after-grid::-webkit-scrollbar {
  display: none;
}

.is-swipe-dragging {
  cursor: grabbing;
  scroll-snap-type: none !important;
  user-select: none;
}

.is-auto-scrolling {
  scroll-snap-type: none !important;
}

.ba-card {
  flex: 0 0 calc((100% - 22px) / 2);
  scroll-snap-align: start;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  background-clip: padding-box;
  box-shadow: var(--shadow-soft);
  clip-path: inset(0 round 12px);
}

.ba-nav {
  position: absolute;
  top: var(--ba-nav-top);
  z-index: 6;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(7, 17, 29, 0.08);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  color: rgba(7, 17, 29, 0.5);
  cursor: pointer;
  box-shadow: 0 14px 36px rgba(7, 17, 29, 0.1);
  transition:
    transform 0.2s ease,
    border-color 0.2s ease,
    background-color 0.2s ease;
}

.ba-nav span {
  width: 16px;
  height: 16px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
}

.ba-nav-prev span {
  transform: rotate(-135deg) translate(-1px, -1px);
}

.ba-nav-next span {
  transform: rotate(45deg) translate(-1px, 1px);
}

.ba-nav:hover {
  border-color: rgba(7, 17, 29, 0.18);
  background: rgba(255, 255, 255, 0.46);
  transform: translateY(-50%) scale(1.04);
}

.ba-nav-prev {
  left: 0;
  transform: translateY(-50%);
}

.ba-nav-next {
  right: 0;
  transform: translateY(-50%);
}

.ba-slider {
  --pos: 50%;
  --pred-img-width: 200%;
  --before-label-opacity: 1;
  --after-label-opacity: 1;
  --before-label-scale: 1;
  --after-label-scale: 1;
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--ink);
}

.ba-slider img {
  height: 100%;
  object-fit: cover;
}

.ba-card-fit .ba-slider {
  background: #111923;
}

.ba-card-fit .ba-slider img {
  object-fit: contain;
}

.ba-before {
  position: absolute;
  inset: 0;
  width: var(--pos);
  overflow: hidden;
}

.ba-before img {
  width: var(--pred-img-width);
  max-width: none;
}

.ba-slider input {
  position: absolute;
  inset: 0;
  z-index: 4;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: ew-resize;
}

.ba-handle {
  position: absolute;
  top: 0;
  left: var(--pos);
  z-index: 3;
  width: 2px;
  height: 100%;
  background: rgba(255, 255, 255, 0.92);
  transform: translateX(-1px);
}

.ba-handle::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 42px;
  height: 42px;
  border: 2px solid #fff;
  border-radius: 50%;
  background: rgba(7, 17, 29, 0.82);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22);
  transform: translate(-50%, -50%);
}

.ba-label {
  position: absolute;
  top: 16px;
  z-index: 2;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(7, 17, 29, 0.7);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  pointer-events: none;
}

.ba-label.before {
  left: 16px;
  opacity: var(--before-label-opacity);
  transform: scale(var(--before-label-scale));
  transform-origin: left center;
}

.ba-label.after {
  right: 16px;
  opacity: var(--after-label-opacity);
  transform: scale(var(--after-label-scale));
  transform-origin: right center;
}

.ba-caption {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 20px;
}

.ba-caption strong {
  font-size: 18px;
}

.ba-caption span {
  color: var(--muted);
}

.ba-detail-btn {
  align-self: flex-start;
  min-height: 40px;
  margin-top: 12px;
  padding: 0 16px;
  border: 1px solid rgba(227, 165, 86, 0.45);
  border-radius: 999px;
  background: rgba(227, 165, 86, 0.12);
  color: var(--navy);
  cursor: pointer;
  font-weight: 850;
  transition:
    transform var(--anim-fast) var(--ease-premium),
    background var(--anim-fast) var(--ease-premium),
    border-color var(--anim-fast) var(--ease-premium);
}

.ba-detail-btn:hover {
  border-color: rgba(227, 165, 86, 0.78);
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  transform: translateY(-1px);
}

.admin-realizations-section {
  background: var(--cream);
}

.admin-realizations-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(0, 0.82fr);
  gap: 24px;
}

.realization-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: #fff;
  box-shadow: 0 18px 44px rgba(19, 30, 42, 0.08);
}

.realization-card-featured {
  grid-row: span 2;
}

.realization-cover {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  background: var(--navy);
}

.realization-body {
  display: grid;
  gap: 12px;
  padding: 22px;
}

.realization-card-featured .realization-cover {
  aspect-ratio: 16 / 11;
}

.realization-card-featured .realization-body {
  padding: 26px;
}

.realization-body > span {
  color: var(--accent);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.realization-body h3 {
  margin: 0;
  font-size: 24px;
  line-height: 1.08;
}

.realization-body p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.realization-thumbs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.realization-thumbs img {
  aspect-ratio: 1 / 1;
  border-radius: 12px;
  object-fit: cover;
}

.realization-video-group {
  display: grid;
  gap: 8px;
  margin-top: 2px;
}

.realization-video-group > strong {
  color: var(--accent);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.realization-inline-videos {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 2px;
}

.realization-mini-video {
  position: relative;
  min-height: 118px;
  overflow: hidden;
  border: 1px solid rgba(227, 165, 86, 0.2);
  border-radius: 14px;
  background:
    linear-gradient(135deg, rgba(7, 17, 29, 0.78), rgba(16, 27, 41, 0.62)),
    url("assets/optimized/after-4.webp") center / cover;
  color: #fff;
}

.realization-mini-video.is-living {
  background:
    linear-gradient(135deg, rgba(7, 17, 29, 0.72), rgba(16, 27, 41, 0.62)),
    url("assets/optimized/after-1.webp") center / cover;
}

.realization-mini-video.is-installation {
  background:
    linear-gradient(135deg, rgba(7, 17, 29, 0.72), rgba(16, 27, 41, 0.62)),
    url("assets/optimized/installation.webp") center / cover;
}

.realization-mini-video.is-led {
  background:
    linear-gradient(135deg, rgba(7, 17, 29, 0.72), rgba(16, 27, 41, 0.62)),
    url("assets/optimized/after-4.webp") center / cover;
}

.realization-mini-video.is-detail {
  background:
    linear-gradient(135deg, rgba(7, 17, 29, 0.72), rgba(16, 27, 41, 0.62)),
    url("assets/optimized/after-3.webp") center / cover;
}

.realization-mini-video span {
  position: absolute;
  left: 50%;
  top: 45%;
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: 0 14px 28px rgba(212, 154, 79, 0.28);
  transform: translate(-50%, -50%);
}

.realization-mini-video span::before {
  content: "";
  width: 0;
  height: 0;
  margin-left: 3px;
  border-top: 7px solid transparent;
  border-bottom: 7px solid transparent;
  border-left: 11px solid #15100a;
}

.realization-mini-video b {
  position: absolute;
  left: 8px;
  right: 8px;
  bottom: 8px;
  font-size: 11px;
  line-height: 1.1;
  text-align: center;
}

.realization-more-btn {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  justify-self: start;
  padding: 0 16px;
  border: 1px solid rgba(227, 165, 86, 0.45);
  border-radius: 999px;
  background: rgba(227, 165, 86, 0.12);
  color: var(--navy);
  font-size: 14px;
  font-weight: 850;
  transition:
    transform var(--anim-fast) var(--ease-premium),
    background var(--anim-fast) var(--ease-premium),
    border-color var(--anim-fast) var(--ease-premium);
}

.realization-more-btn:hover {
  border-color: rgba(227, 165, 86, 0.78);
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  transform: translateY(-1px);
}

.realization-video-more-btn {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  justify-self: start;
  padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: var(--navy);
  color: #fff;
  font-size: 14px;
  font-weight: 850;
  transition:
    transform var(--anim-fast) var(--ease-premium),
    background var(--anim-fast) var(--ease-premium),
    border-color var(--anim-fast) var(--ease-premium);
}

.realization-video-more-btn:hover {
  border-color: rgba(227, 165, 86, 0.58);
  background: var(--navy-soft);
  transform: translateY(-1px);
}

.realization-video-card .realization-body {
  height: 100%;
}

.realization-video-placeholder {
  position: relative;
  display: block;
  min-height: 190px;
  overflow: hidden;
  border: 1px solid rgba(227, 165, 86, 0.18);
  border-radius: 16px;
  background:
    linear-gradient(135deg, rgba(7, 17, 29, 0.92), rgba(16, 27, 41, 0.78)),
    url("assets/optimized/after-4.webp") center / cover;
  color: #fff;
}

.realization-video-placeholder.is-living {
  background:
    linear-gradient(135deg, rgba(7, 17, 29, 0.76), rgba(16, 27, 41, 0.68)),
    url("assets/optimized/after-1.webp") center / cover;
}

.realization-video-placeholder.is-installation {
  background:
    linear-gradient(135deg, rgba(7, 17, 29, 0.76), rgba(16, 27, 41, 0.68)),
    url("assets/optimized/installation.webp") center / cover;
}

.realization-video-placeholder.is-led {
  background:
    linear-gradient(135deg, rgba(7, 17, 29, 0.76), rgba(16, 27, 41, 0.68)),
    url("assets/optimized/after-4.webp") center / cover;
}

.realization-video-placeholder span {
  position: absolute;
  left: 50%;
  top: 50%;
  display: grid;
  width: 64px;
  height: 64px;
  place-items: center;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: 0 18px 40px rgba(212, 154, 79, 0.28);
  transform: translate(-50%, -50%);
}

.realization-video-placeholder span::before {
  content: "";
  width: 0;
  height: 0;
  margin-left: 5px;
  border-top: 12px solid transparent;
  border-bottom: 12px solid transparent;
  border-left: 18px solid #15100a;
}

.realization-video-placeholder strong {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 18px;
  font-size: 15px;
  text-align: center;
}

.realization-video {
  overflow: hidden;
  border-radius: 16px;
  background: var(--navy);
}

.realization-video iframe {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
}

.gallery-more {
  display: flex;
  justify-content: center;
  margin-top: 28px;
}

.realizations-page {
  background: var(--cream);
}

.realizations-feature {
  padding: 180px 0 72px;
  background-image:
    linear-gradient(90deg, rgba(7, 17, 29, 0.84), rgba(7, 17, 29, 0.34)),
    url("assets/optimized/hero-desktop.webp");
  background-position:
    center center,
    center 58%;
  background-size:
    cover,
    cover;
  background-repeat: no-repeat;
  color: #fff;
}

.gallery-feature-card {
  position: static;
  display: block;
  width: 100%;
  max-width: none;
  aspect-ratio: auto;
  margin-inline: 0;
  overflow: visible;
  border-radius: 0;
  background: transparent;
  color: #fff;
  box-shadow: none;
}

.gallery-feature-card img {
  display: none;
}

.gallery-feature-card::after {
  content: none;
}

.gallery-feature-card:hover img,
.gallery-feature-card:focus-visible img {
  transform: none;
}

.gallery-feature-card:focus-visible {
  outline: 3px solid rgba(227, 165, 86, 0.82);
  outline-offset: 4px;
}

.gallery-feature-copy {
  position: static;
  display: grid;
  max-width: 780px;
  text-align: left;
}

.gallery-feature-kicker {
  margin-bottom: 8px;
  color: #f5a000;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.gallery-feature-title {
  max-width: 780px;
  margin: 0;
  color: #fff;
  font-size: clamp(42px, 6vw, 76px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0;
}

.gallery-feature-description {
  max-width: 680px;
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 18px;
  line-height: 1.65;
}

.realizations-band {
  overflow: hidden;
  padding: 70px 0;
}

.video-band {
  background: var(--navy);
  color: #fff;
}

.realizations-return {
  padding: 10px 0 76px;
  background: var(--navy);
}

.realizations-return .shell {
  display: flex;
  justify-content: center;
}

.realizations-return .btn {
  min-width: 230px;
}

.realizations-band-heading {
  max-width: 760px;
  margin-bottom: 28px;
}

.realizations-band-heading h2 {
  margin: 0;
  font-size: clamp(34px, 5vw, 64px);
  line-height: 0.98;
}

.realizations-marquee {
  width: 100%;
  overflow: hidden;
  touch-action: pan-y;
  overscroll-behavior-inline: contain;
}

.realizations-track {
  display: flex;
  width: max-content;
  gap: 24px;
  will-change: transform;
}

.realizations-marquee.is-swiping .realizations-track {
  animation-play-state: paused;
  cursor: grabbing;
}

.photo-marquee .realizations-track {
  animation: realizationMarqueeRight 38s linear infinite;
}

.video-marquee .realizations-track {
  animation: realizationMarqueeLeft 34s linear infinite;
}

.realizations-marquee:hover .realizations-track {
  animation-play-state: paused;
}

.realization-slide,
.video-slide {
  position: relative;
  flex: 0 0 420px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: #fff;
  box-shadow: 0 18px 44px rgba(19, 30, 42, 0.08);
  cursor: pointer;
}

.video-slide {
  border-color: rgba(255, 255, 255, 0.12);
  background: #101b29;
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.28);
}

.video-slide {
  display: block;
}

.realization-slide img,
.video-slide img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.realization-slide:hover img,
.video-slide:hover img {
  transform: scale(1.035);
}

.realization-slide div,
.video-slide div {
  display: grid;
  gap: 6px;
  padding: 18px;
  transition: transform 420ms var(--ease-premium);
}

.realization-slide span,
.video-slide span {
  color: var(--accent);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.realization-slide h3,
.video-slide h3 {
  margin: 0;
  font-size: 22px;
  line-height: 1.08;
}

.video-slide h3 {
  color: #fff;
}

.video-slide .video-play-button {
  position: absolute;
  left: 50%;
  top: 50%;
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  transform: translate(-50%, -50%);
  box-shadow: 0 18px 42px rgba(7, 17, 29, 0.24);
}

.video-slide .video-play-button::before {
  content: "";
  width: 0;
  height: 0;
  margin-left: 4px;
  border-top: 9px solid transparent;
  border-bottom: 9px solid transparent;
  border-left: 14px solid #15100a;
}

@keyframes realizationMarqueeLeft {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(calc(-50% - 12px));
  }
}

@keyframes realizationMarqueeRight {
  from {
    transform: translateX(calc(-50% - 12px));
  }
  to {
    transform: translateX(0);
  }
}

.realization-modal,
.video-modal {
  position: fixed;
  inset: 0;
  z-index: 260;
  display: grid;
  place-items: center;
  padding: 72px 24px 28px;
  background: rgba(3, 8, 15, 0.92);
  backdrop-filter: blur(6px);
}

.realization-modal[hidden],
.video-modal[hidden] {
  display: none;
}

.realization-modal-panel,
.video-modal-panel {
  position: relative;
  width: min(100%, 1240px);
  max-height: calc(100vh - 112px);
  margin: 0;
  overflow: auto;
  border-radius: var(--radius-md);
}

.realization-modal-panel {
  width: min(100%, 1500px);
  max-height: calc(100vh - 48px);
  padding: 0;
  overflow: visible;
  background: transparent;
}

.realization-modal-panel figcaption {
  display: none;
}

.realization-modal-panel h2 {
  margin: 0;
  font-size: clamp(30px, 5vw, 56px);
  line-height: 0.98;
}

.realization-modal-grid {
  display: block;
}

.realization-modal-grid img {
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: 16px;
  object-fit: cover;
}

.record-photo-viewer {
  display: grid;
  gap: 12px;
}

.record-photo-stage {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  background: var(--cream);
  isolation: isolate;
  touch-action: pan-y;
  cursor: ns-resize;
}

.record-photo-main,
.record-photo-next {
  display: block;
  width: 100%;
  height: min(78vh, 860px);
  object-fit: contain;
  background: var(--cream);
}

.record-photo-main {
  transition:
    transform 680ms var(--ease-premium),
    filter 680ms var(--ease-premium);
}

.record-photo-next {
  position: absolute;
  inset: 0;
  z-index: 2;
  opacity: 0;
  transform: scale(1.012);
  filter: saturate(1.03);
  pointer-events: none;
}

.record-photo-stage::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  background:
    linear-gradient(115deg, transparent 0 38%, rgba(255, 255, 255, 0.42) 48%, transparent 58%),
    linear-gradient(135deg, rgba(227, 165, 86, 0.18), rgba(7, 17, 29, 0));
  opacity: 0;
  transform: translateX(-120%);
  pointer-events: none;
}

.record-photo-stage.is-switching .record-photo-main {
  transform: scale(1.006);
  filter: saturate(0.98) brightness(0.98);
}

.record-photo-stage.is-switching .record-photo-next {
  animation: recordPhotoReveal 680ms ease-out forwards;
}

.record-photo-stage.is-switching::after {
  animation: recordPhotoGlint 520ms ease-out forwards;
}

.record-photo-title-badge {
  position: absolute;
  left: 18px;
  bottom: 16px;
  z-index: 5;
  max-width: min(560px, calc(100% - 120px));
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  background: rgba(7, 17, 29, 0.72);
  color: var(--accent);
  font-size: 13px;
  font-weight: 850;
  line-height: 1.15;
  text-transform: uppercase;
  backdrop-filter: blur(14px);
}

.record-photo-hint {
  position: absolute;
  left: 50%;
  bottom: 16px;
  z-index: 5;
  padding: 9px 13px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: rgba(255, 255, 255, 0.5);
  font-size: 13px;
  font-weight: 850;
  text-align: center;
  text-transform: uppercase;
  transform: translateX(-50%);
  pointer-events: none;
}

.record-photo-hint::after {
  content: " \2193";
}

.record-photo-hint .hint-mobile {
  display: none;
}

.record-photo-scroll-progress {
  position: absolute;
  top: 72px;
  right: 18px;
  bottom: 18px;
  z-index: 5;
  width: 4px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.22);
  pointer-events: none;
}

.record-photo-scroll-progress::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: var(--slider-progress, 25%);
  border-radius: inherit;
  background: linear-gradient(180deg, var(--accent), var(--accent-2));
  transition: height 420ms var(--ease-premium);
}

.record-photo-thumbs {
  display: flex;
  grid-template-columns: none;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 4px;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.record-photo-thumbs::-webkit-scrollbar {
  display: none;
}

.record-photo-thumbs button {
  flex: 0 0 clamp(160px, 22vw, 260px);
  padding: 0;
  overflow: hidden;
  border: 2px solid transparent;
  border-radius: 14px;
  background: transparent;
  cursor: pointer;
  scroll-snap-align: center;
  transition:
    transform 220ms var(--ease-premium),
    border-color 220ms var(--ease-premium),
    box-shadow 220ms var(--ease-premium),
    opacity 220ms var(--ease-premium);
}

.record-photo-thumbs button:hover,
.record-photo-thumbs button:focus-visible,
.record-photo-thumbs button.is-active {
  border-color: rgba(227, 165, 86, 0.86);
  box-shadow: 0 14px 30px rgba(19, 30, 42, 0.16);
  opacity: 1;
  transform: translateY(-2px);
}

.record-photo-thumbs button:not(.is-active) {
  opacity: 0.78;
}

.record-photo-thumbs img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 12px;
}

@keyframes recordPhotoReveal {
  0% {
    opacity: 0;
    transform: scale(1.012);
    filter: saturate(1.03);
  }

  100% {
    opacity: 1;
    transform: scale(1);
    filter: saturate(1);
  }
}

@keyframes recordPhotoGlint {
  0% {
    opacity: 0;
    transform: translateX(-120%);
  }

  38% {
    opacity: 1;
  }

  100% {
    opacity: 0;
    transform: translateX(120%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .record-photo-main,
  .record-photo-next,
  .record-photo-stage::after,
  .record-photo-thumbs button {
    animation: none !important;
    transition: none !important;
  }
}

.video-modal-panel iframe {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
  border-radius: var(--radius-md);
  background: #000;
}

.video-modal-panel {
  display: grid;
  gap: 12px;
  overflow: visible;
}

.video-modal.is-vertical-video .video-modal-panel {
  width: min(100%, 520px);
}

.video-modal.is-vertical-video .video-modal-panel iframe {
  width: min(100%, 430px);
  max-height: calc(100vh - 124px);
  margin: 0 auto;
  aspect-ratio: 9 / 16;
}

.video-modal .image-modal-close {
  top: -58px;
  right: 0;
  z-index: 4;
  border-color: rgba(255, 255, 255, 0.75);
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: var(--navy);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.28);
}

.video-modal .image-modal-close:hover {
  background: rgba(255, 255, 255, 0.94);
  border-color: rgba(227, 165, 86, 0.9);
}

.video-modal-panel figcaption {
  display: none;
}

.video-youtube-link {
  position: static;
  z-index: 2;
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  justify-self: center;
  padding: 0 16px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: var(--navy);
  font-size: 14px;
  font-weight: 850;
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.28);
}

.ba-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: 72px 24px 28px;
  background: rgba(3, 8, 15, 0.92);
}

.ba-modal[hidden] {
  display: none;
}

.ba-modal-frame {
  position: relative;
  width: min(100%, 1380px);
  margin: 0;
  will-change: transform, opacity;
}

.ba-modal .image-modal-close {
  top: -58px;
  right: 0;
  border-color: rgba(255, 255, 255, 0.32);
  background: rgba(255, 255, 255, 0.88);
  color: var(--navy);
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.28);
}

.ba-modal-slider {
  width: 100%;
  aspect-ratio: 16 / 9;
  max-height: calc(100vh - 142px);
  border-radius: var(--radius-md);
  box-shadow: 0 30px 120px rgba(0, 0, 0, 0.5);
}

.ba-modal.is-fit .ba-modal-slider {
  background: #111923;
}

.ba-modal.is-fit .ba-modal-slider img {
  object-fit: contain;
}

.ba-modal figcaption {
  position: absolute;
  left: 18px;
  bottom: 18px;
  max-width: min(720px, calc(100% - 36px));
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(7, 17, 29, 0.42);
  color: var(--accent-2);
  backdrop-filter: blur(12px);
  font-size: 14px;
  font-weight: 850;
  line-height: 1.2;
  text-transform: uppercase;
}

.preview-section,
.process-section,
.proof-section {
  background: var(--navy);
  color: #fff;
}

.preview-layout,
.calculator-layout,
.proof-grid,
.lead-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 44px;
  align-items: center;
}

.calculator-layout {
  align-items: start;
}

.preview-copy p:not(.section-kicker),
.calculator-copy p,
.proof-section .testimonial-grid p {
  color: rgba(255, 255, 255, 0.7);
}

.preview-options {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}

.option-btn {
  min-height: 43px;
  padding: 10px 15px;
  border: 1px solid var(--light-line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.74);
  cursor: pointer;
  font-weight: 700;
  line-height: 1.2;
  text-align: left;
}

.option-btn.is-active,
.option-btn:hover {
  border-color: rgba(227, 165, 86, 0.72);
  background: rgba(200, 148, 84, 0.2);
  color: #fff;
}

.preview-panel {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--light-line);
  border-radius: var(--radius-lg);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.35);
}

.preview-panel > img {
  display: block;
  width: 100%;
  height: 560px;
  object-fit: cover;
}

.preview-stripes {
  position: absolute;
  inset: 0;
  z-index: 4;
  display: grid;
  grid-template-rows: repeat(5, 1fr);
  pointer-events: none;
}

.preview-stripes span {
  display: block;
  background: #03080f;
  clip-path: inset(0 100% 0 0);
}

.preview-stripes span:nth-child(1) {
  --stripe-index: 0;
}

.preview-stripes span:nth-child(2) {
  --stripe-index: 1;
}

.preview-stripes span:nth-child(3) {
  --stripe-index: 2;
}

.preview-stripes span:nth-child(4) {
  --stripe-index: 3;
}

.preview-stripes span:nth-child(5) {
  --stripe-index: 4;
}

.preview-panel.is-stripe-transition .preview-stripes span {
  animation: previewStripeReveal 920ms cubic-bezier(0.76, 0, 0.24, 1) both;
  animation-delay: calc(var(--stripe-index) * 55ms);
}

.preview-panel.is-stripe-transition .preview-macro {
  opacity: 0;
  pointer-events: none;
}

@keyframes previewStripeReveal {
  0% {
    clip-path: inset(0 100% 0 0);
  }
  38%,
  55% {
    clip-path: inset(0 0 0 0);
  }
  100% {
    clip-path: inset(0 0 0 100%);
  }
}

.preview-macro {
  position: absolute;
  top: calc(var(--macro-y, 70px) - 52px);
  left: calc(var(--macro-x, 70px) - 52px);
  z-index: 5;
  width: 104px;
  height: 104px;
  overflow: hidden;
  padding: 0;
  border: 2px solid rgba(255, 255, 255, 0.78);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.24);
  cursor: zoom-in;
  transform-origin: top left;
  transition:
    width 0.38s cubic-bezier(0.22, 1, 0.36, 1),
    height 0.38s cubic-bezier(0.22, 1, 0.36, 1),
    border-radius 0.38s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.24s ease,
    box-shadow 0.24s ease;
}

.preview-macro[hidden] {
  display: none;
}

.preview-macro img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition:
    opacity 0.34s ease,
    transform 0.38s cubic-bezier(0.22, 1, 0.36, 1);
}

.preview-macro .preview-macro-base {
  inset: auto;
  top: 0;
  left: 0;
  width: var(--macro-source-width, 100%);
  height: var(--macro-source-height, 100%);
  max-width: none;
  opacity: 1;
  object-fit: fill;
  object-position: center center;
  transform: translate(
      var(--macro-base-translate-x, 0),
      var(--macro-base-translate-y, 0)
    )
    scale(var(--macro-base-scale, 1.9));
  transform-origin: left top;
}

.preview-macro-detail {
  opacity: 0;
  object-position: center center;
  transform: scale(1.08);
}

.preview-macro:hover,
.preview-macro:focus-visible,
.preview-macro.is-expanded {
  width: min(360px, calc(100% - 36px));
  height: min(260px, calc(100% - 132px));
  border-radius: 22px;
  border-color: rgba(227, 165, 86, 0.9);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.38);
  cursor: zoom-out;
}

.preview-macro:hover img,
.preview-macro:focus-visible img,
.preview-macro.is-expanded img {
  transform: scale(1);
}

.preview-macro:hover .preview-macro-base,
.preview-macro:focus-visible .preview-macro-base,
.preview-macro.is-expanded .preview-macro-base {
  opacity: 0;
}

.preview-macro:hover .preview-macro-detail,
.preview-macro:focus-visible .preview-macro-detail,
.preview-macro.is-expanded .preview-macro-detail {
  opacity: 1;
}

.preview-info {
  position: absolute;
  inset: auto 20px 20px;
  z-index: 7;
  display: flex;
  gap: 14px;
  align-items: center;
  justify-content: space-between;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-md);
  background: rgba(7, 17, 29, 0.5);
  backdrop-filter: blur(16px);
}

.preview-info span {
  display: block;
  color: var(--accent-2);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.25;
  text-transform: uppercase;
}

.preview-view-btn {
  flex: 0 0 auto;
  min-height: 40px;
  padding: 0 18px;
  border: 0;
  border-radius: 999px;
  background: var(--accent);
  color: #11151c;
  cursor: pointer;
  font-weight: 900;
}

.image-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: 72px 24px 28px;
  background: rgba(3, 8, 15, 0.92);
}

.image-modal[hidden] {
  display: none;
}

.image-modal-frame {
  position: relative;
  width: min(100%, 1380px);
  margin: 0;
  will-change: transform, opacity;
}

.image-modal.is-opening,
.ba-modal.is-opening {
  animation: modalBackdropIn 520ms var(--ease-premium) both;
}

.image-modal.is-closing,
.ba-modal.is-closing {
  animation: modalBackdropOut 260ms ease both;
}

.image-modal.is-opening .image-modal-frame,
.ba-modal.is-opening .ba-modal-frame {
  animation: macModalOpen 620ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.image-modal.is-closing .image-modal-frame,
.ba-modal.is-closing .ba-modal-frame {
  animation: macModalClose 260ms ease both;
}

@keyframes modalBackdropIn {
  from {
    background: rgba(3, 8, 15, 0);
    backdrop-filter: blur(0);
  }
  to {
    background: rgba(3, 8, 15, 0.92);
    backdrop-filter: blur(6px);
  }
}

@keyframes modalBackdropOut {
  from {
    background: rgba(3, 8, 15, 0.92);
    backdrop-filter: blur(6px);
  }
  to {
    background: rgba(3, 8, 15, 0);
    backdrop-filter: blur(0);
  }
}

@keyframes macModalOpen {
  0% {
    opacity: 0;
    filter: blur(10px) saturate(1.1);
    border-radius: 28px;
    transform:
      translate3d(var(--modal-shift-x, 0), var(--modal-shift-y, 0), 0)
      scale(0.12);
  }
  62% {
    opacity: 1;
    filter: blur(0) saturate(1);
    transform: translate3d(0, 0, 0) scale(1.018);
  }
  100% {
    opacity: 1;
    filter: blur(0) saturate(1);
    transform: translate3d(0, 0, 0) scale(1);
  }
}

@keyframes macModalClose {
  from {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
  }
  to {
    opacity: 0;
    transform:
      translate3d(var(--modal-shift-x, 0), var(--modal-shift-y, 0), 0)
      scale(0.18);
  }
}

.image-modal-frame > img {
  display: block;
  width: min(100%, 1380px);
  aspect-ratio: 16 / 9;
  max-height: calc(100vh - 120px);
  object-fit: contain;
  border-radius: var(--radius-md);
  box-shadow: 0 30px 120px rgba(0, 0, 0, 0.5);
}

.image-modal-macro {
  top: calc(var(--macro-y, 70px) - 52px);
  left: calc(var(--macro-x, 70px) - 52px);
}

.image-modal-macro:hover,
.image-modal-macro:focus-visible,
.image-modal-macro.is-expanded {
  width: min(420px, calc(100% - 36px));
  height: min(300px, calc(100% - 120px));
}

.image-modal figcaption {
  position: absolute;
  left: 18px;
  bottom: 18px;
  max-width: min(720px, calc(100% - 36px));
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(7, 17, 29, 0.42);
  color: var(--accent-2);
  backdrop-filter: blur(12px);
  font-size: 14px;
  font-weight: 850;
  line-height: 1.2;
  text-transform: uppercase;
}

.image-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 8;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  background: rgba(7, 17, 29, 0.36);
  color: var(--navy);
  cursor: pointer;
  font-size: 28px;
  font-weight: 900;
  line-height: 1;
}

.image-modal-close span {
  transform: translateY(-1px);
}

.legal-modal {
  position: fixed;
  inset: 0;
  z-index: 240;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(3, 8, 15, 0.82);
  backdrop-filter: blur(8px);
}

.legal-modal[hidden] {
  display: none;
}

.legal-modal-panel {
  position: relative;
  width: min(100%, 820px);
  max-height: min(82vh, 760px);
  margin: 0;
  overflow: auto;
  padding: 34px;
  border: 1px solid rgba(227, 165, 86, 0.2);
  border-radius: var(--radius-md);
  background: #fff;
  color: var(--ink);
  box-shadow: 0 30px 120px rgba(0, 0, 0, 0.38);
}

.legal-modal-close {
  position: sticky;
  top: 0;
  float: right;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin: -10px -10px 8px 16px;
  border: 1px solid rgba(7, 17, 29, 0.12);
  border-radius: 999px;
  background: rgba(7, 17, 29, 0.06);
  color: var(--navy);
  cursor: pointer;
  transition:
    background 0.25s ease,
    color 0.25s ease,
    transform 0.25s ease;
}

.legal-modal-close:hover {
  background: var(--navy);
  color: #fff;
  transform: rotate(90deg);
}

.legal-modal-panel h2 {
  max-width: 620px;
  margin: 0 0 18px;
  font-size: clamp(30px, 4vw, 50px);
  line-height: 0.98;
}

.legal-modal-content {
  display: grid;
  gap: 14px;
  color: rgba(19, 30, 42, 0.72);
  line-height: 1.65;
}

.legal-modal-content h3 {
  margin: 12px 0 -4px;
  color: var(--ink);
  font-size: 17px;
}

.legal-modal-content p {
  margin: 0;
}

.legal-modal-content a {
  color: var(--accent);
  font-weight: 800;
}

.calculator-section {
  color: var(--ink);
}

.pricing-section {
  background: var(--cream);
}

.pricing-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.78fr) minmax(0, 1.22fr);
  gap: 22px;
  align-items: stretch;
}

.pricing-card {
  overflow: hidden;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  background-clip: padding-box;
  box-shadow: var(--shadow-soft);
}

.pricing-card h3 {
  margin: 0 0 20px;
  font-size: 24px;
  line-height: 1.18;
}

.pricing-card-highlight {
  background: var(--navy);
  color: #fff;
}

.price-tier-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.price-tier-list li {
  display: flex;
  gap: 14px;
  align-items: center;
  justify-content: space-between;
  padding: 13px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.price-tier-list li::before {
  content: "";
  width: 10px;
  height: 10px;
  flex: 0 0 auto;
  border-radius: 2px;
  background: var(--accent-2);
  transform: rotate(45deg);
}

.price-tier-list span {
  flex: 1;
  color: rgba(255, 255, 255, 0.84);
}

.price-tier-list strong {
  color: var(--accent-2);
  white-space: nowrap;
}

.pricing-card-highlight p {
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.72);
}

.price-table-wrap {
  overflow-x: auto;
}

.price-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}

.price-table th,
.price-table td {
  padding: 14px 0;
  border-bottom: 1px solid rgba(17, 26, 36, 0.1);
  text-align: left;
}

.price-table th:last-child,
.price-table td:last-child {
  text-align: right;
  white-space: nowrap;
}

.price-table th {
  color: var(--ink);
  font-weight: 850;
}

.price-table td {
  color: var(--muted);
}

.price-table td:last-child {
  color: var(--ink);
  font-weight: 800;
}

.price-more-link {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  margin-top: 18px;
  padding: 0 16px;
  border: 1px solid rgba(227, 165, 86, 0.45);
  border-radius: 999px;
  background: rgba(227, 165, 86, 0.12);
  color: var(--navy);
  font-weight: 850;
  transition:
    transform var(--anim-fast) var(--ease-premium),
    background var(--anim-fast) var(--ease-premium),
    border-color var(--anim-fast) var(--ease-premium);
}

.price-more-link:hover {
  border-color: rgba(227, 165, 86, 0.78);
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  transform: translateY(-1px);
}

.calculator-copy p {
  color: var(--muted);
}

.calc-note {
  margin-top: 26px;
  padding: 18px;
  border-left: 3px solid var(--accent);
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: var(--muted);
}

.calc-note strong {
  color: var(--ink);
}

.calculator-card,
.lead-form {
  overflow: hidden;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  background-clip: padding-box;
  box-shadow: var(--shadow);
}

.calculator-card {
  display: grid;
  gap: 22px;
}

.calc-rooms {
  display: grid;
  gap: 18px;
}

.calc-room {
  display: grid;
  gap: 18px;
  padding: 18px;
  border: 1px solid rgba(17, 26, 36, 0.12);
  border-radius: var(--radius-md);
  background: #fffdf9;
}

.calc-room-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.calc-room-head h3,
.calc-options h3 {
  margin: 0;
  color: var(--ink);
  font-size: 18px;
}

.remove-room-btn {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(17, 26, 36, 0.12);
  border-radius: 50%;
  background: #fff;
  color: var(--muted);
  cursor: pointer;
  font-size: 20px;
  line-height: 1;
}

.room-type-toggle {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  padding: 5px;
  border: 1px solid rgba(17, 26, 36, 0.1);
  border-radius: 999px;
  background: #f7f1e8;
  overflow: hidden;
  isolation: isolate;
}

.room-type-toggle::before {
  content: "";
  position: absolute;
  inset: 5px auto 5px 5px;
  width: calc(50% - 5px);
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: 0 10px 24px rgba(200, 148, 84, 0.24);
  transform: translateX(0);
  transition: transform 260ms var(--ease-premium);
  z-index: 0;
}

.room-type-toggle.is-complex::before {
  transform: translateX(100%);
}

.room-type-toggle button,
.secondary-btn {
  min-height: 44px;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  font: inherit;
  font-weight: 800;
}

.room-type-toggle button {
  position: relative;
  z-index: 1;
  padding: 0 12px;
  background: transparent;
  color: var(--muted);
  transition: color 180ms ease;
}

.room-type-toggle button.is-active {
  color: #15100a;
}

.secondary-btn {
  justify-self: start;
  padding: 0 20px;
  border: 1px solid rgba(200, 148, 84, 0.36);
  background: rgba(227, 165, 86, 0.12);
  color: var(--ink);
  transition:
    transform var(--anim-fast) var(--ease-premium),
    background var(--anim-fast) var(--ease-premium),
    border-color var(--anim-fast) var(--ease-premium),
    box-shadow var(--anim-fast) var(--ease-premium);
}

.secondary-btn:hover {
  border-color: rgba(227, 165, 86, 0.78);
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: 0 16px 34px rgba(200, 148, 84, 0.24);
  transform: translateY(-1px);
}

.calc-options {
  display: grid;
  gap: 16px;
  padding-top: 4px;
}

.calc-options label small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.35;
}

.calc-options .field-grid {
  align-items: end;
}

.calc-options label span {
  min-height: 56px;
  display: flex;
  align-items: flex-end;
}

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

label {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 800;
}

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

input,
select,
textarea {
  width: 100%;
  border: 1px solid rgba(17, 26, 36, 0.14);
  border-radius: 14px;
  background: #fbfaf8;
  color: var(--ink);
  outline: none;
  transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

input,
select {
  height: 52px;
  padding: 0 14px;
}

select {
  appearance: none;
  padding-right: 46px;
  background-image: url("data:image/svg+xml,%3Csvg width='14' height='14' viewBox='0 0 14 14' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M3.5 5.25L7 8.75L10.5 5.25' fill='none' stroke='%2307111D' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 22px center;
  background-size: 14px 14px;
}

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

input:focus,
select:focus,
textarea:focus {
  border-color: var(--accent);
  background-color: #fff;
  box-shadow: 0 0 0 4px rgba(200, 148, 84, 0.16);
}

.room-panel[hidden] {
  display: none;
}

.calc-room {
  animation: roomInsert var(--anim-default) var(--ease-premium) both;
}

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

.room-metrics div {
  padding: 12px;
  border-radius: 14px;
  background: #f7f1e8;
}

.room-metrics span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.room-metrics strong {
  display: block;
  margin-top: 3px;
  color: var(--ink);
  font-size: 18px;
}

.plan-help {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  margin-bottom: 12px;
  padding: 14px;
  border: 1px solid rgba(7, 17, 29, 0.1);
  border-radius: 16px;
  background: rgba(7, 17, 29, 0.04);
}

.plan-help p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.45;
}

.plan-tool-btn {
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid rgba(7, 17, 29, 0.14);
  border-radius: 999px;
  background: #fff;
  color: var(--navy);
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
}

.plan-tool-btn:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}

.plan-editor {
  position: relative;
  overflow: hidden;
  min-height: 390px;
  border: 1px solid rgba(7, 17, 29, 0.14);
  border-radius: var(--radius-md);
  background: #f8f6f1;
}

.plan-editor svg {
  display: block;
  width: 100%;
  height: 390px;
  touch-action: none;
}

.plan-fill {
  fill: rgba(7, 17, 29, 0.1);
  transition: fill var(--anim-fast) var(--ease-premium);
}

.plan-wall {
  stroke: var(--navy);
  stroke-width: 6;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: stroke-width var(--anim-fast) var(--ease-premium), opacity var(--anim-fast) var(--ease-premium);
}

.plan-wall-hit {
  fill: rgba(255, 255, 255, 0.001);
  stroke: none;
  cursor: copy;
  pointer-events: all;
}

.plan-point {
  fill: var(--navy);
  stroke: rgba(255, 255, 255, 0.92);
  stroke-width: 5;
  cursor: grab;
  transition:
    fill var(--anim-fast) var(--ease-premium),
    stroke var(--anim-fast) var(--ease-premium),
    transform var(--anim-fast) var(--ease-premium);
}

.plan-point.is-extra {
  fill: var(--accent-2);
  stroke: var(--navy);
}

.plan-point:active {
  cursor: grabbing;
  transform: scale(1.08);
}

.plan-point-number {
  fill: var(--navy);
  font-size: 28px;
  font-weight: 800;
  pointer-events: none;
}

.plan-point-number.is-extra {
  fill: var(--accent-2);
}

.plan-length-label {
  cursor: text;
  pointer-events: all;
  transition: opacity var(--anim-fast) var(--ease-premium);
}

.plan-length-label rect {
  fill: rgba(255, 255, 255, 0.92);
  stroke: rgba(7, 17, 29, 0.22);
  stroke-width: 2;
}

.plan-length-label text {
  fill: var(--navy);
  font-size: 32px;
  font-weight: 800;
  pointer-events: none;
}

.wall-length-editor {
  position: absolute;
  z-index: 4;
  display: flex;
  gap: 6px;
  width: min(178px, calc(100% - 20px));
  padding: 8px;
  border: 1px solid rgba(7, 17, 29, 0.18);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 18px 48px rgba(17, 26, 36, 0.18);
  transform: translate(-50%, -50%);
  animation: editorPopoverIn 240ms var(--ease-premium) both;
}

.wall-length-editor[hidden] {
  display: none;
}

.wall-length-editor input {
  flex: 1 1 auto;
  width: auto;
  min-width: 0;
  height: 40px;
  border-radius: 10px;
}

.wall-length-editor button {
  flex: 0 0 48px;
  min-width: 48px;
  border: 0;
  border-radius: 10px;
  background: var(--navy);
  color: #fff;
  cursor: pointer;
  font-weight: 800;
}

.calc-result {
  margin-top: 22px;
  padding: 22px;
  border-radius: var(--radius-md);
  background: var(--navy);
  color: #fff;
  transition: box-shadow var(--anim-fast) var(--ease-premium), transform var(--anim-fast) var(--ease-premium);
}

.calc-result span,
.calc-result small {
  display: block;
  color: rgba(255, 255, 255, 0.68);
}

.calc-result strong {
  display: block;
  margin: 4px 0;
  color: var(--accent-2);
  font-size: 46px;
  line-height: 1;
}

.calc-result.is-updating [data-calc-total] {
  animation: pricePulse 520ms var(--ease-premium) both;
}

.calc-result.is-updating {
  box-shadow: 0 22px 64px rgba(227, 165, 86, 0.16);
}

.calc-breakdown {
  display: grid;
  gap: 10px;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.calc-breakdown div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.calc-breakdown strong {
  margin: 0;
  font-size: 18px;
  white-space: nowrap;
}

.calc-breakdown .calc-metric-row strong {
  color: #b8d4ee;
}

.calc-disclaimer {
  margin: 16px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  line-height: 1.5;
}

.calculator-copy .calc-disclaimer {
  color: rgba(255, 255, 255, 0.72);
}

.calc-excluded {
  margin-top: 8px;
}

.process-section .section-heading {
  color: #fff;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 22px;
  position: relative;
  margin-top: 54px;
}

.process-grid::before {
  content: "";
  position: absolute;
  top: 41px;
  left: 8%;
  right: 8%;
  height: 1px;
  background: rgba(227, 165, 86, 0.28);
  transform: scaleX(0);
  transform-origin: left center;
  transition:
    height 0.5s ease,
    background-color 0.5s ease,
    transform 4s cubic-bezier(0.22, 1, 0.36, 1);
}

.process-section.is-visible .process-grid::before {
  height: 3px;
  background: rgba(227, 165, 86, 0.62);
  transform: scaleX(1);
}

.process-grid article {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  align-content: start;
  min-height: 0;
  padding: 0;
  text-align: center;
}

.process-icon {
  display: grid;
  place-items: center;
  width: 82px;
  height: 82px;
  border: 1px solid rgba(227, 165, 86, 0.42);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  color: var(--accent-2);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(14px);
  transition:
    border-color 0.45s ease,
    border-width 0.45s ease,
    box-shadow 0.45s ease,
    transform 0.45s ease;
}

.process-icon img {
  width: 54px;
  height: 54px;
  object-fit: contain;
  transform: translate(var(--process-icon-x, 0), var(--process-icon-y, 0)) scale(var(--process-icon-scale, 1));
}

.process-grid article:nth-child(1) {
  --process-icon-scale: 1.18;
}

.process-grid article:nth-child(2) {
  --process-icon-scale: 1.08;
}

.process-grid article:nth-child(3) {
  --process-icon-scale: 1.12;
}

.process-grid article:nth-child(4) {
  --process-icon-scale: 1.02;
}

.process-grid article:nth-child(5) {
  --process-icon-scale: 1.1;
  --process-icon-x: 1px;
  --process-icon-y: 2px;
}

.process-section.is-visible .process-icon {
  border-width: 2px;
  border-color: rgba(227, 165, 86, 0.78);
  box-shadow:
    0 18px 42px rgba(0, 0, 0, 0.3),
    0 0 0 5px rgba(227, 165, 86, 0.08);
  animation: processCircleLoad 1.45s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.process-section.is-visible .process-grid article:nth-child(1) .process-icon {
  animation-delay: 0.2s;
}

.process-section.is-visible .process-grid article:nth-child(2) .process-icon {
  animation-delay: 0.9s;
}

.process-section.is-visible .process-grid article:nth-child(3) .process-icon {
  animation-delay: 1.6s;
}

.process-section.is-visible .process-grid article:nth-child(4) .process-icon {
  animation-delay: 2.3s;
}

.process-section.is-visible .process-grid article:nth-child(5) .process-icon {
  animation-delay: 3s;
}

@keyframes processCircleLoad {
  0% {
    border-width: 1px;
    transform: scale(0.94);
  }

  58% {
    border-width: 3px;
    transform: scale(1.06);
  }

  100% {
    border-width: 2px;
    transform: scale(1);
  }
}

.process-grid h3 {
  margin: 22px 0 8px;
  color: #fff;
  font-size: 17px;
  line-height: 1.2;
}

.process-grid p {
  margin: 0;
  max-width: 190px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  line-height: 1.45;
}

.proof-stack {
  display: grid;
  gap: 34px;
}

.proof-heading {
  max-width: 760px;
}

.proof-heading p:not(.section-kicker) {
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.68);
}

.testimonial-marquee {
  position: relative;
  overflow: hidden;
  margin-inline: calc((100vw - 100%) / -2);
  padding: 2px 0;
}

.testimonial-marquee::before,
.testimonial-marquee::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  z-index: 2;
  width: min(160px, 18vw);
  pointer-events: none;
}

.testimonial-marquee::before {
  left: 0;
  background: linear-gradient(90deg, var(--navy), rgba(7, 17, 29, 0));
}

.testimonial-marquee::after {
  right: 0;
  background: linear-gradient(270deg, var(--navy), rgba(7, 17, 29, 0));
}

.testimonial-track {
  display: flex;
  width: max-content;
  gap: 28px;
  padding-left: max(24px, calc((100vw - var(--shell)) / 2));
  animation: testimonialMarquee 58s linear infinite;
}

.testimonial-marquee:hover .testimonial-track {
  animation-play-state: paused;
}

.testimonial-card {
  display: grid;
  align-content: space-between;
  width: min(420px, calc(100vw - 48px));
  min-height: 264px;
  padding: 34px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.055);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.18);
}

.stars {
  color: var(--accent-2);
  font-size: 22px;
  letter-spacing: 2px;
  line-height: 1;
}

.testimonial-card p {
  margin: 20px 0 26px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 18px;
  font-style: italic;
  line-height: 1.45;
}

.reviewer {
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
}

.reviewer span {
  display: none;
}

.reviewer strong {
  color: #fff;
  font-size: 16px;
  line-height: 1.1;
}

.reviewer small {
  color: rgba(255, 255, 255, 0.46);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

@keyframes testimonialMarquee {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

.faq-card {
  overflow: hidden;
  padding: 28px;
  border: 1px solid var(--light-line);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.07);
  background-clip: padding-box;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.22);
}

.faq-card h3 {
  margin: 0 0 18px;
  font-size: 28px;
}

.faq-list .faq-extra {
  display: none;
}

.faq-list.is-expanded .faq-extra {
  display: block;
}

details {
  border-top: 1px solid var(--light-line);
}

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

summary {
  display: flex;
  min-height: 62px;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  cursor: pointer;
  font-weight: 800;
  list-style: none;
}

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

summary::after {
  content: "+";
  color: var(--accent-2);
  font-size: 26px;
  line-height: 1;
}

details[open] summary::after {
  content: "-";
}

details p {
  margin: -4px 0 20px;
  color: rgba(255, 255, 255, 0.66);
}

.faq-answer {
  height: 0;
  overflow: hidden;
  opacity: 0;
  transition:
    height 360ms var(--ease-premium),
    opacity 240ms ease;
}

.faq-answer p {
  margin: -4px 0 20px;
  color: var(--accent-2);
}

details[open] .faq-answer {
  opacity: 1;
}

.faq-answer p::after {
  content: "";
  display: inline-block;
  width: 2px;
  height: 1em;
  margin-left: 3px;
  background: currentColor;
  vertical-align: -0.12em;
  opacity: 0;
}

.faq-answer.is-typing p::after {
  opacity: 1;
  animation: faqCursorBlink 0.75s steps(1) infinite;
}

.copy-typewriter::after {
  content: "";
  display: inline-block;
  width: 2px;
  height: 1em;
  margin-left: 3px;
  background: currentColor;
  vertical-align: -0.12em;
  opacity: 0;
}

.copy-typewriter.is-typing::after {
  opacity: 1;
  animation: faqCursorBlink 0.75s steps(1) infinite;
}

@keyframes faqCursorBlink {
  50% {
    opacity: 0;
  }
}

.faq-more-btn {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  margin-top: 20px;
  padding: 0 16px;
  border: 1px solid rgba(227, 165, 86, 0.78);
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: var(--navy);
  cursor: pointer;
  font: inherit;
  font-size: 14px;
  font-weight: 850;
  box-shadow: 0 14px 30px rgba(200, 148, 84, 0.2);
  transition:
    transform var(--anim-fast) var(--ease-premium),
    background var(--anim-fast) var(--ease-premium),
    border-color var(--anim-fast) var(--ease-premium);
}

.faq-more-btn:hover {
  border-color: rgba(227, 165, 86, 0.78);
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  transform: translateY(-1px);
  box-shadow: 0 18px 34px rgba(200, 148, 84, 0.28);
}

.lead-layout {
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  align-items: stretch;
}

.lead-media {
  position: relative;
  min-height: 640px;
}

.lead-media img {
  height: 100%;
  min-height: 100%;
  border: 2px solid rgba(216, 202, 182, 0.78);
  border-radius: var(--radius-lg);
  object-fit: cover;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.42) inset,
    var(--shadow);
}

.contact-card {
  position: absolute;
  right: 22px;
  bottom: 22px;
  display: grid;
  gap: 4px;
  width: min(300px, calc(100% - 44px));
  padding: 20px;
  border-radius: var(--radius-md);
  background: rgba(7, 17, 29, 0.86);
  color: #fff;
  backdrop-filter: blur(16px);
}

.contact-card strong {
  color: var(--accent-2);
}

.contact-card span {
  color: rgba(255, 255, 255, 0.68);
}

.contact-card a {
  margin-top: 8px;
  font-weight: 800;
}

.form-privacy {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2px 6px;
  max-width: 520px;
  margin: 14px auto 0;
  color: rgba(19, 30, 42, 0.56);
  font-size: 13px;
  line-height: 1.5;
  text-align: center;
}

.form-privacy button,
.footer-policy-links button {
  appearance: none;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  cursor: pointer;
}

.form-privacy button {
  display: inline-flex;
  align-items: center;
  width: auto;
  color: var(--accent);
  font-weight: 800;
  line-height: inherit;
}

.form-privacy button:hover,
.footer-policy-links button:hover {
  color: var(--accent-2);
}

.lead-form .section-kicker {
  margin-bottom: 10px;
}

.contact-heading-badge {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  width: fit-content;
  margin-bottom: 16px;
  padding: 10px 18px;
  border: 1px solid rgba(7, 17, 29, 0.22);
  border-radius: 18px;
  background: var(--navy);
  color: #fff;
  box-shadow: 0 14px 32px rgba(7, 17, 29, 0.16);
}

.contact-heading-badge span {
  color: var(--accent-2);
  font-size: clamp(20px, 2.2vw, 30px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0;
}

.contact-heading-badge a {
  color: var(--accent-2);
  font-size: clamp(20px, 2.2vw, 30px);
  font-weight: 900;
  line-height: 1;
  white-space: nowrap;
}

.lead-form h2 {
  margin-bottom: 20px;
  font-size: clamp(30px, 4vw, 46px);
}

.lead-form .btn {
  width: 100%;
  margin-top: 18px;
}

.lead-form textarea {
  min-height: 136px;
}

.form-status {
  min-height: 22px;
  margin: 14px 0 0;
  color: var(--muted);
  font-weight: 700;
  opacity: 0;
  transform: translateY(6px);
  transition:
    opacity var(--anim-fast) var(--ease-premium),
    transform var(--anim-fast) var(--ease-premium);
}

.form-status.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.site-footer {
  padding: 64px 0 24px;
  background: var(--navy);
  color: #fff;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(260px, 1.5fr) repeat(3, minmax(140px, 1fr));
  gap: 32px;
}

.footer-grid p {
  max-width: 340px;
  color: rgba(255, 255, 255, 0.62);
}

.footer-description {
  min-height: 78px;
}

.footer-grid h3 {
  margin: 0 0 14px;
  color: var(--accent-2);
  font-size: 14px;
  text-transform: uppercase;
}

.footer-grid a,
.footer-grid span {
  display: block;
  margin: 8px 0;
  color: rgba(255, 255, 255, 0.72);
}

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

.footer-social h3 {
  text-align: center;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  width: max-content;
  margin: 10px auto 0;
}

.footer-contact-links {
  justify-content: flex-start;
  width: auto;
  margin: 14px 0 0;
}

.footer-grid .social-link {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin: 0;
  border: 1px solid rgba(227, 165, 86, 0.28);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  color: var(--accent-2);
  transition:
    transform 0.2s ease,
    border-color 0.2s ease,
    background-color 0.2s ease;
}

.footer-grid .social-link:hover {
  border-color: rgba(227, 165, 86, 0.68);
  background: rgba(227, 165, 86, 0.12);
  color: var(--accent-2);
  transform: translateY(-2px);
}

.social-link svg {
  display: block;
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.social-link:nth-child(2) svg,
.social-link:nth-child(3) svg {
  fill: currentColor;
  stroke: none;
}

.social-link:nth-child(2) svg {
  width: 19px;
  height: 19px;
  transform: translate(0.5px, -0.5px);
}

.social-link:nth-child(3) svg {
  width: 19px;
  height: 19px;
  transform: translate(0.5px, -0.5px);
}

.social-link-youtube svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
  stroke: none;
  transform: translateX(0.5px);
}

.messenger-telegram svg {
  fill: currentColor;
  stroke: none;
}

.messenger-whatsapp svg,
.messenger-viber svg {
  fill: none;
  stroke: currentColor;
}

.footer-madeby {
  grid-template-columns: 1fr;
  color: var(--accent-2);
}

.footer-madeby-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  padding: 0;
  border: 0;
  background: transparent;
  justify-self: start;
  color: var(--accent-2);
  font-weight: 500;
  letter-spacing: 0.02em;
  transition:
    transform 0.2s ease,
    color 0.2s ease;
}

.footer-madeby-link span {
  color: currentColor;
}

.footer-madeby-link:hover {
  color: #fff;
  transform: translateY(-2px);
}

.footer-madeby-link svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.footer-legal {
  display: grid;
  grid-template-columns: minmax(260px, 0.95fr) minmax(320px, 1.35fr);
  gap: 24px;
  align-items: center;
  margin-top: 34px;
  padding: 20px 22px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.035);
}

.footer-legal h3 {
  margin: 0 0 10px;
  color: var(--accent-2);
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

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

.footer-legal strong {
  margin-bottom: 7px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 15px;
}

.footer-legal span,
.footer-legal p {
  margin: 5px 0 0;
  color: rgba(255, 255, 255, 0.58);
  font-size: 13px;
  line-height: 1.6;
}

.footer-madeby {
  grid-template-columns: 1fr;
}

.footer-legal .footer-madeby-link span {
  margin: 0;
  color: currentColor;
  font-size: inherit;
  line-height: inherit;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 48px;
  padding-top: 22px;
  border-top: 1px solid var(--light-line);
  color: rgba(255, 255, 255, 0.48);
  font-size: 13px;
}

.footer-policy-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px 16px;
}

.footer-policy-links button {
  color: rgba(255, 255, 255, 0.62);
  font-size: 14px;
  font-weight: 650;
}

@media (max-width: 1040px) {
  .site-header {
    grid-template-columns: auto auto;
    justify-content: space-between;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .main-nav,
  .header-cta {
    position: fixed;
    left: 24px;
    right: 24px;
    display: none;
  }

  .main-nav {
    top: 86px;
    flex-direction: column;
    gap: 4px;
    max-height: calc(100vh - 120px);
    overflow-y: auto;
    padding: 16px;
    border: 1px solid var(--light-line);
    border-radius: 24px;
    background: rgba(7, 17, 29, 0.96);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.28);
  }

  .main-nav a {
    padding: 12px 18px;
  }

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

  .header-cta.is-open {
    display: none;
  }

  .main-nav.is-open .mobile-nav-cta {
    display: inline-flex;
    min-height: 46px;
    align-items: center;
    justify-content: center;
    margin-top: 8px;
    border-radius: 999px;
    background: #fff;
    color: var(--navy);
    font-weight: 850;
    transition:
      transform var(--anim-fast) var(--ease-premium),
      box-shadow var(--anim-fast) var(--ease-premium);
  }

  .main-nav.is-open .mobile-nav-cta:active {
    transform: scale(0.96);
    box-shadow: inset 0 3px 10px rgba(7, 17, 29, 0.22);
  }

  .main-nav.is-open .mobile-messenger {
    display: grid;
    gap: 10px;
    margin-top: 4px;
  }

  .mobile-phone-toggle {
    display: inline-flex;
    min-height: 46px;
    align-items: center;
    justify-content: center;
    width: 100%;
    border: 1px solid rgba(227, 165, 86, 0.68);
    border-radius: 999px;
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    color: var(--navy);
    cursor: pointer;
    font-size: 15px;
    font-weight: 900;
    box-shadow: 0 14px 30px rgba(200, 148, 84, 0.24);
    transition:
      transform var(--anim-fast) var(--ease-premium),
      box-shadow var(--anim-fast) var(--ease-premium);
  }

  .mobile-phone-toggle:active {
    transform: scale(0.96);
    box-shadow: inset 0 3px 10px rgba(7, 17, 29, 0.22);
  }

  .mobile-messenger-links {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transform: translateY(-6px);
    transition:
      max-height 260ms var(--ease-premium),
      opacity 220ms ease,
      transform 220ms ease;
  }

  .mobile-messenger.is-open .mobile-messenger-links {
    max-height: 68px;
    opacity: 1;
    transform: translateY(0);
  }

  .mobile-messenger-links a {
    display: grid;
    min-height: 46px;
    place-items: center;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.07);
    color: var(--accent-2);
    transition:
      transform var(--anim-fast) var(--ease-premium),
      background var(--anim-fast) var(--ease-premium),
      border-color var(--anim-fast) var(--ease-premium);
  }

  .mobile-messenger-links a:active {
    transform: scale(0.92);
    border-color: rgba(227, 165, 86, 0.7);
    background: rgba(227, 165, 86, 0.18);
  }

  .mobile-messenger-links svg {
    width: 24px;
    height: 24px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
  }

  .mobile-messenger-links a:nth-child(2) svg {
    fill: currentColor;
    stroke: none;
  }

  .hero-benefits,
  .services-grid,
  .process-grid,
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-legal {
    grid-template-columns: 1fr;
  }

  .preview-layout,
  .calculator-layout,
  .pricing-grid,
  .proof-grid,
  .lead-layout,
  .intro-grid,
  .split-heading {
    grid-template-columns: 1fr;
  }

  .process-grid {
    gap: 26px 18px;
  }

  .process-grid::before {
    display: none;
  }
}

@media (max-width: 760px) {
  html,
  body {
    overflow-x: hidden;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  *,
  *::before,
  *::after {
    scrollbar-width: none;
  }

  html::-webkit-scrollbar,
  body::-webkit-scrollbar,
  *::-webkit-scrollbar {
    width: 0;
    height: 0;
    display: none;
  }

  .shell {
    width: min(100% - 32px, var(--shell));
  }

  .site-header {
    inset: 12px 16px auto;
    width: calc(100% - 32px);
    padding: 10px;
  }

  .logo-frame {
    width: 204px;
    height: 46px;
  }

  .brand-logo {
    width: 220px;
    transform: translate(-9px, -60px);
  }

  .main-nav,
  .header-cta {
    left: 16px;
    right: 16px;
  }

  .hero {
    min-height: 720px;
  }

  .hero picture {
    --hero-bg: url("assets/optimized/hero-mobile.webp");
  }

  .hero picture::before {
    display: block;
    background-position: center center;
    opacity: 0.36;
  }

  .hero picture img {
    object-fit: cover;
    object-position: center top;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(7, 17, 29, 0.46), rgba(7, 17, 29, 0.24) 58%, rgba(7, 17, 29, 0.04)),
      linear-gradient(0deg, rgba(7, 17, 29, 0.32), rgba(7, 17, 29, 0.03) 58%);
  }

  .hero-content {
    min-height: 720px;
    display: flex;
    flex-direction: column;
    padding: 96px 0 28px;
  }

  .hero h1 {
    max-width: 315px;
    font-size: clamp(26px, 7.2vw, 34px);
    line-height: 1.05;
  }

  .hero-actions {
    gap: 10px;
    margin-top: auto;
  }

  .hero-copy {
    max-width: 310px;
    margin-top: 10px;
    font-size: 13px;
    line-height: 1.42;
  }

  .hero .eyebrow {
    max-width: 300px;
    margin-bottom: 10px;
    font-size: 11px;
    line-height: 1.35;
  }

  .hero-benefits,
  .field-grid,
  .room-metrics,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-brand {
    width: fit-content;
    margin-left: 0;
    transform: none;
  }

  .footer-logo-frame {
    width: 204px;
    height: 46px;
  }

  .footer-logo {
    width: 220px;
    transform: translate(-9px, -60px);
  }

  .services .shell {
    overflow: hidden;
  }

  .services {
    overflow: hidden;
  }

  .services-grid {
    display: flex;
    width: max-content;
    gap: 16px;
    overflow: visible;
    scroll-snap-type: none;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-y;
    will-change: transform;
  }

  .services-grid::-webkit-scrollbar {
    display: none;
  }

  .service-card {
    width: min(312px, calc(100vw - 54px));
    flex: 0 0 auto;
    scroll-snap-align: none;
  }

  .service-card-duplicate {
    display: block;
  }

  .services-grid [data-reveal],
  .testimonial-track [data-reveal] {
    opacity: 1;
    transform: none;
  }

  .calc-room {
    padding: 14px;
  }

  .room-type-toggle {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border-radius: 999px;
  }

  .room-type-toggle button {
    min-height: 42px;
    padding: 0 8px;
    font-size: 13px;
    line-height: 1.15;
  }

  .secondary-btn {
    width: 100%;
  }

  .plan-editor {
    min-height: 320px;
  }

  .plan-help {
    grid-template-columns: 1fr;
  }

  .plan-tool-btn {
    width: 100%;
  }

  .plan-editor svg {
    height: 320px;
  }

  .calc-breakdown div {
    display: grid;
    gap: 2px;
  }

  .calc-breakdown strong {
    white-space: normal;
  }

  .testimonial-track {
    gap: 16px;
    animation: none;
    padding-inline: 24px;
  }

  .testimonial-card {
    min-height: 250px;
    padding: 24px;
    border-radius: 18px;
    scroll-snap-align: start;
  }

  .testimonial-card[aria-hidden="true"] {
    display: grid;
  }

  .testimonial-card p {
    font-size: 16px;
  }

  .testimonial-marquee {
    overflow: hidden;
    scroll-snap-type: none;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-y;
    overscroll-behavior-inline: contain;
  }

  .testimonial-marquee::-webkit-scrollbar {
    display: none;
  }

  .testimonial-marquee::before,
  .testimonial-marquee::after {
    display: none;
  }

  .ba-card {
    flex-basis: 100%;
    scroll-snap-align: start;
  }

  .admin-realizations-grid {
    grid-template-columns: 1fr;
  }

  .realization-card-featured {
    grid-row: auto;
  }

  .realization-card-featured .realization-cover,
  .realization-cover {
    aspect-ratio: 4 / 3;
  }

  .realization-body {
    padding: 18px;
  }

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

  .realization-thumbs img:nth-child(n + 3) {
    display: none;
  }

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

  .gallery-more {
    justify-content: stretch;
  }

  .gallery-more .btn {
    width: 100%;
  }

  .realizations-feature {
    padding: 0 0 40px;
    background: transparent;
  }

  .realizations-feature .shell {
    width: 100%;
    margin-inline: 0;
  }

  .gallery-feature-card {
    position: relative;
    display: block;
    width: 100%;
    max-width: none;
    aspect-ratio: 3 / 5;
    margin-inline: 0;
    overflow: hidden;
    border-radius: 0;
    background: var(--navy);
    box-shadow: 0 24px 70px rgba(17, 26, 36, 0.14);
  }

  .gallery-feature-card img {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 700ms var(--ease-premium);
  }

  .gallery-feature-card::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(
      to bottom,
      rgba(0, 0, 0, 0) 35%,
      rgba(0, 0, 0, 0.3) 58%,
      rgba(0, 0, 0, 0.88) 100%
    );
    pointer-events: none;
  }

  .gallery-feature-copy {
    position: absolute;
    left: 10px;
    right: 16px;
    bottom: 24px;
    z-index: 2;
    max-width: 320px;
  }

  .gallery-feature-title {
    max-width: 300px;
    font-size: clamp(28px, 8vw, 38px);
  }

  .gallery-feature-description {
    max-width: 245px;
    font-size: 13px;
  }

  .realizations-band {
    padding: 48px 0;
  }

  .realizations-marquee {
    overflow: hidden;
    scroll-snap-type: none;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-y;
  }

  .realizations-marquee::-webkit-scrollbar {
    display: none;
  }

  .realizations-return {
    padding: 4px 0 52px;
  }

  .realizations-return .btn {
    width: 100%;
    max-width: 320px;
  }

  .realization-slide,
  .video-slide {
    flex-basis: 300px;
    scroll-snap-align: none;
  }

  .realization-cover,
  .realization-card-featured .realization-cover {
    aspect-ratio: 16 / 11;
    object-fit: contain;
    background: #f7f1e8;
  }

  .realization-slide img {
    aspect-ratio: 16 / 9;
    object-fit: cover;
    background: #f7f1e8;
  }

  .realization-modal,
  .video-modal {
    padding: 72px 14px 18px;
  }

  .realization-modal-panel {
    padding: 18px;
  }

  .realization-modal-panel {
    width: 100%;
    max-height: calc(100vh - 92px);
    padding: 0;
  }

  .video-modal-panel {
    display: grid;
    gap: 10px;
    width: min(100%, 430px);
    max-height: calc(100vh - 96px);
    overflow: visible;
  }

  .video-modal-panel iframe {
    width: 100%;
    max-height: calc(100vh - 156px);
    border-radius: 18px;
  }

  .video-modal.is-vertical-video .video-modal-panel iframe {
    width: auto;
    height: min(74vh, 680px);
    max-width: 100%;
    max-height: none;
    justify-self: center;
    aspect-ratio: 9 / 16;
  }

  .video-modal-panel figcaption {
    display: none;
  }

  .video-youtube-link {
    position: static;
    width: 100%;
    min-height: 42px;
  }

  .video-modal .image-modal-close {
    top: -58px;
    right: 0;
  }

  .realization-modal-grid {
    grid-template-columns: 1fr;
  }

  .record-photo-main,
  .record-photo-next {
    height: min(68vh, 620px);
    aspect-ratio: auto;
    background: var(--cream);
  }

  .record-photo-stage {
    background: var(--cream);
    cursor: grab;
    touch-action: pan-y;
  }

  .record-photo-hint {
    left: auto;
    right: 6px;
    top: 50%;
    bottom: auto;
    padding: 0;
    font-size: 10px;
    writing-mode: vertical-rl;
    transform: translateY(-50%);
  }

  .record-photo-hint::after {
    content: " \2192";
  }

  .record-photo-hint .hint-desktop {
    display: none;
  }

  .record-photo-hint .hint-mobile {
    display: inline;
  }

  .record-photo-scroll-progress {
    display: none;
  }

  .record-photo-title-badge {
    left: 10px;
    bottom: 10px;
    max-width: calc(100% - 92px);
    padding: 8px 10px;
    font-size: 11px;
  }

  .record-photo-thumbs {
    gap: 10px;
  }

  .record-photo-thumbs::-webkit-scrollbar {
    display: none;
  }

  .record-photo-thumbs button {
    flex: 0 0 46%;
    scroll-snap-align: start;
  }

  .ba-carousel {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    padding-inline: 0;
  }

  .before-after-grid {
    grid-column: 1 / -1;
    grid-row: 1;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-x pan-y;
    overscroll-behavior-inline: contain;
  }

  .ba-nav {
    position: static;
    grid-row: 2;
    width: 40px;
    height: 40px;
    transform: none;
  }

  .ba-nav:hover {
    transform: scale(1.04);
  }

  .ba-nav span {
    width: 14px;
    height: 14px;
  }

  .ba-nav-prev {
    grid-column: 1;
    justify-self: end;
  }

  .ba-nav-next {
    grid-column: 2;
    justify-self: start;
  }

  .hero-benefits {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin-top: 24px;
  }

  .hero-benefits span {
    min-height: 68px;
    gap: 8px;
    padding: 10px;
  }

  .hero-benefits img {
    width: 42px;
    height: 42px;
  }

  .hero-benefits b {
    font-size: 13px;
  }

  .section {
    padding: 64px 0;
  }

  .preview-panel > img,
  .lead-media img {
    height: 440px;
    min-height: 0;
  }

  .lead-media {
    min-height: 0;
  }

  .contact-card {
    right: 14px;
    bottom: 14px;
    width: calc(100% - 28px);
    max-width: 272px;
    padding: 12px 16px;
    gap: 2px;
    border: 1px solid rgba(227, 165, 86, 0.18);
    border-radius: 14px;
    background: rgba(7, 17, 29, 0.9);
  }

  .contact-card strong {
    font-size: 14px;
    line-height: 1.2;
  }

  .contact-card span {
    display: block;
    font-size: 13px;
    line-height: 1.35;
  }

  .contact-card a {
    margin-top: 5px;
    font-size: 14px;
    line-height: 1.25;
  }

  .preview-info {
    inset: auto 14px 14px;
    gap: 10px;
    padding: 10px;
  }

  .preview-info span {
    font-size: 10px;
    line-height: 1.2;
  }

  .preview-view-btn {
    min-height: 34px;
    padding: 0 14px;
    font-size: 13px;
  }

  .image-modal {
    padding: 76px 14px 18px;
  }

  .ba-modal {
    padding: 76px 14px 18px;
  }

  .ba-modal-slider {
    aspect-ratio: 4 / 5;
    max-height: calc(100vh - 132px);
  }

  .ba-modal figcaption {
    left: 12px;
    bottom: 12px;
    max-width: calc(100% - 24px);
    padding: 8px 10px;
    border-radius: 14px;
    background: rgba(7, 17, 29, 0.36);
    font-size: 11px;
  }

  .image-modal-frame > img {
    aspect-ratio: auto;
    max-height: calc(100vh - 132px);
  }

  .image-modal figcaption {
    left: 12px;
    bottom: 12px;
    max-width: calc(100% - 24px);
    padding: 8px 10px;
    border-radius: 14px;
    background: rgba(7, 17, 29, 0.36);
    font-size: 11px;
  }

  .calculator-card,
  .lead-form,
  .faq-card {
    padding: 20px;
  }

  .lead-form textarea {
    min-height: 132px;
  }

  .calculator-layout {
    display: flex;
    flex-direction: column;
  }

  .calculator-copy {
    display: contents;
  }

  .calculator-copy .section-kicker {
    order: 1;
  }

  .calculator-copy h2 {
    order: 2;
  }

  .calculator-copy > p:not(.section-kicker):not(.calc-disclaimer) {
    order: 3;
  }

  .price-more-link {
    order: 4;
    justify-self: start;
  }

  .calculator-card {
    order: 5;
  }

  .calc-result {
    order: 6;
    margin-top: 0;
  }

  .pricing-card {
    padding: 22px;
  }

  .price-table {
    font-size: 14px;
  }

  .process-grid {
    grid-template-columns: 1fr;
    gap: 28px;
    margin-top: 36px;
  }

  .process-grid::before {
    display: block;
    top: 32px;
    bottom: 32px;
    left: 32px;
    right: auto;
    width: 1px;
    height: auto;
    transform: scaleY(0);
    transform-origin: center top;
  }

  .process-section.is-visible .process-grid::before {
    width: 3px;
    height: auto;
    transform: scaleY(1);
  }

  .process-grid article {
    grid-template-columns: 70px minmax(0, 1fr);
    justify-items: start;
    column-gap: 16px;
    text-align: left;
  }

  .process-icon {
    grid-row: span 2;
    width: 64px;
    height: 64px;
  }

  .process-icon img {
    width: 46px;
    height: 46px;
  }

  .process-grid h3 {
    margin: 6px 0 6px;
    font-size: 16px;
  }

  .process-grid p {
    max-width: none;
  }

  .legal-modal {
    padding: 14px;
  }

  .legal-modal-panel {
    max-height: 86vh;
    padding: 24px 18px;
    border-radius: 18px;
  }

  .legal-modal-panel h2 {
    font-size: 30px;
  }

  .footer-bottom {
    flex-direction: column;
  }

  .contact-heading-badge {
    display: grid;
    gap: 6px;
    width: 100%;
    justify-items: start;
  }

  .contact-heading-badge span,
  .contact-heading-badge a {
    max-width: 100%;
  }

  .footer-policy-links {
    justify-content: flex-start;
  }
}

@media (max-width: 440px) {
  .hero-actions {
    width: 100%;
  }

  .hero-actions .btn {
    flex: 1 1 0;
    min-width: 0;
    padding-inline: 12px;
    font-size: 13px;
    white-space: nowrap;
  }

  .btn {
    min-height: 50px;
  }

  .hero .btn {
    min-height: 44px;
  }

  .logo-frame {
    width: 184px;
    height: 42px;
  }

  .brand-logo {
    width: 200px;
    transform: translate(-8px, -54px);
  }

  .footer-logo-frame {
    width: 184px;
    height: 42px;
  }

  .footer-logo {
    width: 200px;
    transform: translate(-8px, -54px);
  }
}

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

  [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
  }

  .services-grid,
  .testimonial-track,
  .realizations-track {
    transform: none !important;
  }
}
