:root {
  --navy-950: #061426;
  --navy-900: #0a1c33;
  --navy-800: #102542;
  --navy-700: #163354;
  --navy-650: #1c395d;
  --gold-500: #d5ab57;
  --gold-400: #e4c176;
  --gold-300: #f2ddb4;
  --white: #ffffff;
  --gray-50: #f7f8fb;
  --gray-100: #eff2f6;
  --gray-200: #dde3ec;
  --gray-500: #6c7788;
  --text-900: #132235;
  --shadow-lg: 0 30px 72px rgba(4, 18, 34, 0.16);
  --shadow-md: 0 22px 48px rgba(7, 22, 40, 0.12);
  --radius-xl: 28px;
  --radius-lg: 20px;
  --radius-md: 18px;
  --container: min(1300px, calc(100% - 40px));
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Source Sans 3", "Inter", system-ui, sans-serif;
  color: var(--text-900);
  background: var(--white);
  line-height: 1.62;
}

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

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

button,
.button {
  font: inherit;
}

svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(7, 19, 37, 0.96);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.header-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 88px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0;
  color: var(--white);
  flex-shrink: 0;
}

.brand strong,
.hero h1,
.section-heading h2,
.service-card h3,
.step-card h3,
.reason-card h3,
.pricing-card h2,
.tech-card h2,
.contact-cta h2,
.site-footer h3 {
  font-family: "Playfair Display", "Cormorant Garamond", serif;
}

.brand strong {
  display: block;
  font-size: 1.38rem;
  letter-spacing: -0.02em;
  font-weight: 700;
  line-height: 1.02;
}

.brand small {
  display: block;
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.73rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-family: "Source Sans 3", "Inter", system-ui, sans-serif;
}

.brand-mark {
  display: block;
  width: clamp(216px, 21.6vw, 298px);
  height: auto;
  overflow: visible;
}

.brand-mark img {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, rgba(0, 0, 0, 0.88) 2.2%, rgba(0, 0, 0, 1) 5.5%, rgba(0, 0, 0, 1) 97.6%, rgba(0, 0, 0, 0.88) 99.1%, transparent 100%), linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.88) 3.2%, rgba(0, 0, 0, 1) 7%, rgba(0, 0, 0, 1) 93%, rgba(0, 0, 0, 0.88) 96.8%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, rgba(0, 0, 0, 0.88) 2.2%, rgba(0, 0, 0, 1) 5.5%, rgba(0, 0, 0, 1) 97.6%, rgba(0, 0, 0, 0.88) 99.1%, transparent 100%), linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.88) 3.2%, rgba(0, 0, 0, 1) 7%, rgba(0, 0, 0, 1) 93%, rgba(0, 0, 0, 0.88) 96.8%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-composite: intersect;
}


.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-left: auto;
  margin-right: 8px;
}

.main-nav a {
  position: relative;
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -12px;
  width: 100%;
  height: 2px;
  border-radius: 999px;
  background: var(--gold-500);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 180ms ease;
}

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

.header-phone,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 22px;
  border-radius: 16px;
  font-weight: 700;
  transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease, color 180ms ease;
}

.header-phone {
  background: linear-gradient(135deg, var(--gold-400), var(--gold-500));
  color: var(--navy-950);
  box-shadow: 0 12px 24px rgba(213, 171, 87, 0.24);
}

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

.icon-circle {
  width: 28px;
  height: 28px;
}

.menu-toggle {
  display: none;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 0;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.08);
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 5px auto;
  background: var(--white);
  border-radius: 999px;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 0;
  background:
    url("fotky/hero.jpg") center center / cover no-repeat;
}

.hero-backdrop {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(4, 14, 27, 0.92) 0%, rgba(4, 14, 27, 0.82) 24%, rgba(4, 14, 27, 0.48) 42%, rgba(4, 14, 27, 0.14) 62%, rgba(4, 14, 27, 0.18) 100%);
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: stretch;
  min-height: max(88vh, 820px);
}

.hero-copy {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: min(100%, 560px);
  min-height: inherit;
  padding: 126px 0 132px 18px;
  color: var(--white);
  max-width: 560px;
  z-index: 2;
}

.eyebrow,
.section-kicker {
  margin: 0 0 12px;
  font-size: 0.74rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  font-weight: 700;
}

.eyebrow,
.gold-kicker,
.section-kicker {
  color: var(--gold-500);
}

.hero h1 {
  margin: 0;
  font-size: clamp(5.3rem, 8vw, 7.8rem);
  line-height: 0.94;
  letter-spacing: -0.025em;
  text-transform: uppercase;
  max-width: 5.8ch;
  font-weight: 700;
}

.hero h1 span {
  display: block;
}

.hero h1 span + span {
  margin-top: 0.08em;
}

.hero-title-accent {
  color: var(--gold-500);
  text-shadow: 0 0 28px rgba(213, 171, 87, 0.14);
}

.hero h2 {
  margin: 24px 0 0;
  font-size: clamp(1.14rem, 1.55vw, 1.42rem);
  font-weight: 600;
  letter-spacing: 0.01em;
}

.hero-text {
  max-width: 42ch;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.08rem;
  line-height: 1.72;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 34px;
}

.button-gold {
  color: var(--navy-950);
  background: linear-gradient(135deg, var(--gold-400), var(--gold-500));
  box-shadow: 0 16px 30px rgba(213, 171, 87, 0.26);
}

.button-outline,
.button-outline-light {
  border: 1px solid rgba(255, 255, 255, 0.28);
}

.button-outline {
  color: var(--white);
  background: rgba(255, 255, 255, 0.04);
}

.button-outline-light {
  color: var(--white);
  background: transparent;
}

.button-dark {
  color: var(--white);
  background: var(--navy-900);
  box-shadow: 0 12px 24px rgba(10, 28, 51, 0.14);
}

.benefits-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 18px;
  margin: 42px 0 0;
  padding: 0;
  list-style: none;
}

.benefits-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 6px 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.35;
}

.benefit-icon {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  color: var(--gold-400);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(228, 193, 118, 0.28);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}

.card-photo img,
.tech-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tech-visual img {
  object-fit: contain;
}

.section {
  padding: 88px 0;
}

.section-light {
  background:
    radial-gradient(circle at top center, rgba(213, 171, 87, 0.1), transparent 26%),
    var(--gray-50);
}

.section-dark {
  color: var(--white);
  background:
    radial-gradient(circle at top right, rgba(213, 171, 87, 0.15), transparent 26%),
    linear-gradient(180deg, var(--navy-900) 0%, var(--navy-950) 100%);
}

.section-heading {
  margin-bottom: 38px;
}

.section-heading.compact {
  margin-bottom: 26px;
}

.section-heading.align-center {
  text-align: center;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(2.45rem, 3.8vw, 3.35rem);
  line-height: 1.12;
  letter-spacing: -0.022em;
  font-weight: 700;
}

.services-heading h2,
.testimonials-heading h2 {
  display: inline-block;
  position: relative;
}

.services-heading h2::after,
.testimonials-heading h2::after,
.light-heading h2::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -10px;
  width: 74px;
  height: 3px;
  border-radius: 999px;
  background: var(--gold-500);
  transform: translateX(-50%);
}

.light-heading h2 {
  color: var(--white);
}

.cards-grid {
  display: grid;
  gap: 18px;
}

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

.service-card,
.testimonial-card,
.pricing-card,
.tech-card,
.reason-card,
.step-card {
  border-radius: var(--radius-lg);
}

.service-card {
  overflow: hidden;
  background: var(--white);
  min-height: 100%;
  box-shadow: 0 22px 56px rgba(10, 26, 47, 0.14);
  border: 1px solid rgba(6, 20, 38, 0.05);
  display: flex;
  flex-direction: column;
}

.service-card > img {
  display: block;
  width: 100%;
  height: 228px;
  object-fit: cover;
}

.service-content {
  padding: 24px 24px 28px;
  text-align: left;
}

.service-content h3 {
  margin: 0 0 12px;
  font-size: 1.6rem;
  text-transform: uppercase;
  line-height: 1.08;
  letter-spacing: -0.018em;
  font-weight: 700;
}

.service-content p,
.step-card p,
.reason-card p,
.tech-card p,
.testimonial-card blockquote,
.site-footer p,
.price-note {
  margin: 0;
  line-height: 1.55;
  color: var(--gray-500);
}


.showcase-section {
  padding-top: 72px;
}

.showcase-heading {
  margin-bottom: 42px;
}

.showcase-intro {
  max-width: 62ch;
  margin: 18px auto 0;
  color: var(--gray-500);
  line-height: 1.7;
  font-size: 1.05rem;
}

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

.before-after-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.before-after-card h3 {
  margin: 0;
  font-size: 1.3rem;
  text-align: center;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.before-after-slider {
  position: relative;
}

.before-after-surface {
  position: relative;
  aspect-ratio: 1 / 1.08;
  overflow: hidden;
  border-radius: 24px;
  border: 1px solid rgba(6, 20, 38, 0.08);
  background: linear-gradient(180deg, #f8fafc 0%, #eef3f8 100%);
  box-shadow: 0 22px 56px rgba(10, 26, 47, 0.12);
  user-select: none;
  touch-action: none;
}

.before-after-image {
  position: absolute;
  inset: 0;
}

.before-after-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 1 !important;
  filter: none !important;
  mix-blend-mode: normal !important;
}

.after-pane {
  clip-path: inset(0 0 0 var(--split));
}

.before-after-divider {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--split);
  width: 2px;
  background: linear-gradient(180deg, rgba(228, 193, 118, 0.28), rgba(213, 171, 87, 0.95), rgba(228, 193, 118, 0.28));
  transform: translateX(-50%);
  pointer-events: none;
}

.before-after-handle {
  position: absolute;
  left: 50%;
  top: 50%;
  display: inline-grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  color: var(--gold-500);
  background: rgba(8, 20, 39, 0.94);
  border: 1px solid rgba(228, 193, 118, 0.65);
  box-shadow: 0 18px 30px rgba(6, 20, 38, 0.24);
  transform: translate(-50%, -50%);
}

.before-after-handle svg {
  width: 22px;
  height: 22px;
  stroke-width: 2.1;
}

.before-after-badge {
  position: absolute;
  top: 16px;
  z-index: 2;
  padding: 7px 12px;
  border-radius: 999px;
  font-size: 0.73rem;
  letter-spacing: 0.08em;
  font-weight: 800;
  color: var(--white);
  background: rgba(6, 20, 38, 0.82);
  backdrop-filter: blur(6px);
}

.before-badge {
  left: 16px;
}

.after-badge {
  right: 16px;
}

.before-after-range {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: ew-resize;
}

.before-after-placeholder {
  position: absolute;
  inset: 0;
  display: none;
  place-items: center;
  padding: 24px;
  text-align: center;
  font-size: 1rem;
  font-weight: 600;
  color: var(--navy-700);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(243, 246, 250, 0.98));
  z-index: 3;
}

.before-after-placeholder[hidden] {
  display: none !important;
}

.before-after-slider.is-missing .before-after-image {
  display: none;
}

.before-after-slider.is-missing .before-after-placeholder {
  display: grid !important;
}

.before-after-slider.is-missing .before-after-divider,
.before-after-slider.is-missing .before-after-range,
.before-after-slider.is-missing .before-after-badge {
  display: none;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}

.step-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
  min-height: 100%;
  padding: 26px 22px 28px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 18px 44px rgba(10, 26, 47, 0.08);
  border: 1px solid rgba(6, 20, 38, 0.06);
  text-align: center;
}

.step-number {
  position: absolute;
  left: 18px;
  top: 18px;
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  color: var(--navy-950);
  font-weight: 800;
  background: linear-gradient(135deg, var(--gold-400), var(--gold-500));
}

.step-icon,
.reason-icon {
  display: inline-grid;
  place-items: center;
  width: 88px;
  height: 88px;
  border-radius: 24px;
  margin: 18px auto 16px;
}

.step-icon {
  color: rgba(255, 255, 255, 0.92);
  background: linear-gradient(180deg, #0a1c33, #081427);
  box-shadow: inset 0 0 0 1px rgba(228, 193, 118, 0.2);
}

.reason-icon {
  color: var(--gold-400);
  background: rgba(255, 255, 255, 0.02);
  margin-top: 0;
}

.step-card h3,
.reason-card h3 {
  margin: 0 0 10px;
  font-size: 1.18rem;
  letter-spacing: -0.012em;
  font-weight: 700;
}

.reasons-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.reason-card {
  padding: 30px 28px;
  background: transparent;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
  border-left: 0;
  border-top: 0;
  border-bottom: 0;
  backdrop-filter: none;
  box-shadow: none;
}

.reason-card:last-child {
  border-right: 0;
}

.reason-card p {
  color: rgba(255, 255, 255, 0.72);
}

.pricing-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 18px;
  align-items: stretch;
}

.pricing-card,
.tech-card,
.testimonial-card {
  background: var(--white);
  padding: 34px;
  box-shadow: 0 24px 58px rgba(7, 22, 40, 0.12);
  border: 1px solid rgba(6, 20, 38, 0.06);
}

.price-list {
  display: grid;
  gap: 16px;
  margin: 0;
}

.price-list div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--gray-100);
}

.price-list dt {
  font-weight: 700;
}

.price-list dd {
  margin: 0;
  font-weight: 800;
  color: var(--gold-500);
}

.price-note {
  margin-top: 18px;
  font-size: 0.96rem;
}

.tech-card {
  height: 100%;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.tech-visual {
  margin-top: 18px;
  overflow: hidden;
  border-radius: 20px;
  aspect-ratio: 1.12 / 0.9;
  border: 1px solid rgba(10, 28, 51, 0.08);
  background: linear-gradient(180deg, #ffffff, #f7f9fc);
  display: grid;
  place-items: center;
  padding: 10px 10px 0;
  flex: 1 1 auto;
}

.pricing-brand-row {
  display: flex;
  justify-content: center;
  margin-top: 36px;
}

.pricing-brand-row img {
  display: block;
  width: min(100%, 200px);
  height: auto;
}

.testimonials-section {
  padding-top: 46px;
}

.testimonials-marquee {
  position: relative;
  overflow: hidden;
  margin: 0 -30px;
  padding: 14px 30px;
}

.testimonials-track {
  display: flex;
  gap: 22px;
  width: max-content;
  animation: testimonial-marquee 34s linear infinite;
  will-change: transform;
}

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

.testimonial-card {
  text-align: center;
  flex: 0 0 340px;
  border-radius: 16px;
}

.marquee-card {
  min-height: 176px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 22px 20px;
  box-shadow: 0 20px 48px rgba(2, 10, 20, 0.24);
}

.stars {
  color: var(--gold-500);
  letter-spacing: 0.18em;
  font-size: 1rem;
}

.testimonial-card blockquote {
  margin: 18px 0 18px;
  font-size: 1.02rem;
  color: var(--text-900);
  line-height: 1.72;
}

.testimonial-card p {
  color: var(--text-900);
  font-weight: 700;
  font-size: 0.97rem;
}

.centered-action {
  margin-top: 26px;
  text-align: center;
}

.contact-cta {
  padding: 46px 0 38px;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(6, 20, 38, 0.94), rgba(6, 20, 38, 0.9)),
    url("fotky/hero.jpg") center right / cover;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.contact-cta-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.contact-copy {
  display: grid;
  gap: 16px;
}

.contact-cta h2 {
  margin: 0 0 10px;
  font-size: clamp(2rem, 3.8vw, 2.8rem);
  letter-spacing: -0.03em;
  font-weight: 700;
}

.contact-cta p {
  margin: 0;
  max-width: 54ch;
  color: rgba(255, 255, 255, 0.76);
  line-height: 1.74;
}

.contact-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 22px;
  align-items: center;
}

.contact-link,
.footer-social-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.86);
  font-weight: 600;
}

.footer-contact-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.82);
  font-weight: 600;
}

.instagram-link {
  color: var(--white);
}

.contact-icon,
.instagram-badge {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

.contact-icon {
  color: var(--gold-400);
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.site-footer {
  background: var(--navy-950);
  color: var(--white);
  padding: 40px 0 26px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 28px;
}

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

.brand-footer .brand-mark {
  width: clamp(228px, 22.8vw, 312px);
}

.site-footer h3 {
  margin: 0 0 14px;
  font-size: 1.12rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.footer-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-list a,
.site-footer p,
.footer-list li {
  color: rgba(255, 255, 255, 0.74);
}

.footer-social-link {
  color: rgba(255, 255, 255, 0.82);
}

.footer-bottom {
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-bottom p {
  margin: 0;
  font-size: 0.92rem;
}

.legal-page {
  min-height: 100vh;
  background: var(--gray-50);
}

.legal-main {
  padding: 80px 0;
}

.legal-card {
  max-width: 860px;
  padding: 38px;
  margin: 0 auto;
  border-radius: var(--radius-xl);
  background: var(--white);
  box-shadow: var(--shadow-md);
}

.legal-card h1,
.legal-card h2 {
  font-family: "Playfair Display", "Cormorant Garamond", serif;
}

.legal-card h1 {
  margin: 0 0 20px;
  font-size: clamp(2rem, 4vw, 3rem);
}

.legal-card h2 {
  margin: 28px 0 12px;
}

.legal-card p,
.legal-card li {
  line-height: 1.75;
  color: var(--gray-500);
}

@keyframes testimonial-marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(calc(-50% - 11px));
  }
}

@media (max-width: 1120px) {
  .hero-grid,
  .pricing-grid,
  .services-grid,
  .showcase-grid,
  .reasons-grid,
  .testimonials-grid,
  .timeline,
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .hero-grid {
    min-height: auto;
  }

  .contact-cta-shell {
    flex-direction: column;
    align-items: flex-start;
  }

  .reason-card {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }

  .reason-card:last-child {
    border-bottom: 0;
  }
}

@media (max-width: 920px) {
  .header-shell {
    flex-wrap: wrap;
    padding: 18px 0;
  }

  .menu-toggle {
    display: inline-block;
    margin-left: auto;
  }

  .main-nav {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding: 16px 0 4px;
    margin: 0;
  }

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

  .header-phone {
    display: none;
  }

  .hero-grid,
  .pricing-grid,
  .services-grid,
  .showcase-grid,
  .reasons-grid,
  .testimonials-grid,
  .timeline,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    background-position: 62% center;
  }

  .hero-backdrop {
    background: linear-gradient(180deg, rgba(4, 14, 27, 0.88) 0%, rgba(4, 14, 27, 0.72) 34%, rgba(4, 14, 27, 0.42) 66%, rgba(4, 14, 27, 0.38) 100%);
  }

  .hero-copy {
    width: min(100%, 520px);
    min-height: max(78vh, 680px);
    padding: 96px 0 64px;
  }

  .section {
    padding: 78px 0;
  }
}
@media (max-width: 640px) {
  :root {
    --container: min(100% - 24px, 1180px);
  }

  .brand-mark {
    width: min(211px, calc(100vw - 120px));
  }

  .brand-footer .brand-mark {
    width: min(228px, calc(100vw - 48px));
  }

  .brand strong {
    font-size: 1.08rem;
  }

  .brand small {
    font-size: 0.68rem;
  }

  .benefits-list {
    grid-template-columns: 1fr;
  }

  .hero-actions,
  .cta-actions {
    flex-direction: column;
    width: 100%;
  }

  .hero-copy {
    width: 100% !important;
    max-width: calc(100vw - 40px) !important;
    padding-left: 20px !important;
    padding-right: 20px !important;
    overflow: visible !important;
    box-sizing: border-box !important;
  }

  .hero {
    overflow-x: hidden !important;
  }

  .hero h1,
  .hero-title {
    font-size: clamp(3rem, 13vw, 4.2rem) !important;
    line-height: 0.92 !important;
    letter-spacing: -0.045em !important;
    max-width: calc(100vw - 40px) !important;
    width: 100% !important;
    overflow: visible !important;
    word-break: normal !important;
  }

  .hero h1 span,
  .hero-title span,
  .hero-title .line {
    display: block !important;
    max-width: 100% !important;
    white-space: nowrap !important;
  }

  .hero h2 {
    font-size: 1.18rem;
  }

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

  .testimonials-marquee {
    overflow-x: auto;
    margin: 0;
    padding: 8px 2px 14px;
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
  }

  .testimonials-track {
    width: max-content;
    animation: testimonial-marquee 42s linear infinite;
    padding-right: 14px;
  }

  .marquee-card {
    flex-basis: min(86vw, 320px);
    min-height: 196px;
    scroll-snap-align: start;
  }


  .before-after-surface {
    aspect-ratio: 1 / 0.98;
  }

  .before-after-card h3 {
    font-size: 1.22rem;
  }

  .contact-links {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .button,
  .button-gold,
  .button-outline,
  .button-outline-light,
  .button-dark {
    width: 100%;
  }

  .pricing-card,
  .tech-card,
  .testimonial-card,
  .legal-card,
  .step-card,
  .reason-card {
    padding: 28px 22px;
  }

  .service-card > img {
    height: 236px;
  }

  .price-list div {
    flex-direction: column;
    align-items: flex-start;
  }
}

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

  .testimonials-track {
    animation: none;
  }
}


.before-after-slider::before,
.before-after-slider::after,
.before-after-surface::before,
.before-after-surface::after {
  pointer-events: none;
}
