﻿:root {
  --bg: #f6f7f9;
  --surface: #ffffff;
  --surface-soft: #eef3f8;
  --ink: #111827;
  --muted: #64748b;
  --soft: #94a3b8;
  --line: #dfe6ee;
  --line-strong: #cbd5e1;
  --accent: #1f6feb;
  --accent-dark: #174ea6;
  --accent-soft: #e8f1ff;
  --success: #0f8a5f;
  --success-soft: #e9f8f2;
  --danger: #b42336;
  --danger-soft: #fff1f3;
  --shadow: 0 24px 70px rgba(15, 23, 42, .11);
  --shadow-soft: 0 14px 38px rgba(15, 23, 42, .08);
  --radius: 24px;
  --tool-size: 58px;
  --tool-gap: 62px;
  --tool-step: calc(var(--tool-size) + var(--tool-gap));
  --tool-offset-x: 18px;
  --tool-offset-y: 26px;
  --tool-opacity: .3;
  --tool-fade-width: 118px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  position: relative;
  isolation: isolate;
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(ellipse 58rem 42rem at -8% 10%, rgba(255, 255, 255, .98), transparent 66%),
    radial-gradient(ellipse 52rem 36rem at 106% 8%, rgba(203, 213, 225, .36), transparent 67%),
    radial-gradient(ellipse 62rem 42rem at 72% 66%, rgba(100, 116, 139, .095), transparent 72%),
    radial-gradient(ellipse 46rem 32rem at 18% 86%, rgba(255, 255, 255, .76), transparent 70%),
    radial-gradient(ellipse 52rem 38rem at 64% 38%, rgba(31, 111, 235, .032), transparent 74%),
    linear-gradient(135deg, #fff 0%, #f8fafc 27%, #eef2f6 54%, #fbfcfd 78%, #fff 100%);
  color: var(--ink);
  font-family: Inter, Arial, sans-serif;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

body::before {
  background:
    linear-gradient(118deg, transparent 0%, rgba(255, 255, 255, .62) 18%, transparent 38%, rgba(226, 232, 240, .3) 58%, transparent 78%),
    radial-gradient(ellipse 44rem 28rem at 32% 20%, rgba(255, 255, 255, .82), transparent 69%),
    radial-gradient(ellipse 48rem 30rem at 78% 28%, rgba(203, 213, 225, .2), transparent 72%),
    radial-gradient(ellipse 58rem 38rem at 46% 84%, rgba(148, 163, 184, .12), transparent 75%);
  opacity: .96;
}

main,
.hero,
.page-hero,
.checkout-hero,
.section,
.checkout-section,
.cta-band,
.site-footer {
  position: relative;
}

main {
  isolation: isolate;
}

main::before {
  content: "";
  position: absolute;
  top: var(--tool-offset-y);
  right: 0;
  bottom: var(--tool-offset-y);
  left: 0;
  z-index: 1;
  pointer-events: none;
  opacity: var(--tool-opacity);
  overflow: hidden;
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='58' height='120' viewBox='0 0 58 120'%3E%3Cpath d='M39 49a10 10 0 0 1-12 12L16 72a4 4 0 0 1-6-6l11-11a10 10 0 0 1 12-12l-6 6 6 6z' fill='none' stroke='%237d8792' stroke-width='2.8' stroke-linecap='round' stroke-linejoin='round' opacity='.72'/%3E%3C/svg%3E"),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='58' height='120' viewBox='0 0 58 120'%3E%3Cg transform='translate(58 0) scale(-1 1)'%3E%3Cpath d='M39 49a10 10 0 0 1-12 12L16 72a4 4 0 0 1-6-6l11-11a10 10 0 0 1 12-12l-6 6 6 6z' fill='none' stroke='%237d8792' stroke-width='2.8' stroke-linecap='round' stroke-linejoin='round' opacity='.72'/%3E%3C/g%3E%3C/svg%3E");
  background-position:
    left var(--tool-offset-x) top,
    right var(--tool-offset-x) top;
  background-repeat: no-repeat repeat;
  background-size:
    var(--tool-size) var(--tool-step),
    var(--tool-size) var(--tool-step);
  -webkit-mask-image: linear-gradient(90deg, #000 0, #000 62px, rgba(0, 0, 0, .22) 88px, transparent var(--tool-fade-width), transparent calc(100% - var(--tool-fade-width)), rgba(0, 0, 0, .22) calc(100% - 88px), #000 calc(100% - 62px), #000 100%);
  mask-image: linear-gradient(90deg, #000 0, #000 62px, rgba(0, 0, 0, .22) 88px, transparent var(--tool-fade-width), transparent calc(100% - var(--tool-fade-width)), rgba(0, 0, 0, .22) calc(100% - 88px), #000 calc(100% - 62px), #000 100%);
}

@supports (height: round(down, 100%, 1px)) {
  main::before {
    bottom: auto;
    height: round(down, calc(100% - (var(--tool-offset-y) * 2)), var(--tool-step));
  }
}

.hero > .wrap,
.page-hero > .wrap,
.checkout-hero > .wrap,
.section > .wrap,
.checkout-section > .wrap,
.cta-band > .wrap,
.site-footer > .wrap {
  position: relative;
  z-index: 2;
}

.trust-section,
.site-footer {
  z-index: 2;
}

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

img {
  max-width: 100%;
  height: auto;
}

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

.wrap {
  width: min(1160px, calc(100% - 36px));
  margin: 0 auto;
}

.narrow {
  width: min(820px, calc(100% - 36px));
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  border-bottom: 1px solid rgba(226, 232, 240, .82);
  background: rgba(255, 255, 255, .86);
  backdrop-filter: blur(18px) saturate(145%);
  -webkit-backdrop-filter: blur(18px) saturate(145%);
}

.checkout-header {
  background: rgba(255, 255, 255, .94);
}

.nav {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

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

.logo {
  height: 46px;
  max-width: 220px;
  object-fit: contain;
  border-radius: 8px;
}

.links {
  display: flex;
  align-items: center;
  gap: 24px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

.links a {
  position: relative;
  padding: 8px 0;
  transition: color .2s ease;
}

.links a:hover,
.links a:focus-visible,
.links a[aria-current="page"] {
  color: var(--ink);
}

.links a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 1px;
  height: 2px;
  border-radius: 999px;
  background: var(--accent);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  border: 1px solid var(--accent);
  border-radius: 999px;
  padding: 13px 20px;
  background: var(--accent);
  color: #fff;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 14px 34px rgba(31, 111, 235, .2);
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-1px);
  background: var(--accent-dark);
  border-color: var(--accent-dark);
  box-shadow: 0 18px 42px rgba(31, 111, 235, .24);
  outline: none;
}

.btn.secondary {
  border-color: var(--line);
  background: #fff;
  color: var(--ink);
  box-shadow: 0 12px 28px rgba(15, 23, 42, .07);
}

.btn.secondary:hover,
.btn.secondary:focus-visible {
  background: var(--surface-soft);
  border-color: var(--line-strong);
}

.btn.small {
  min-height: 40px;
  padding: 9px 15px;
  font-size: 14px;
}

.btn.full {
  width: 100%;
}

.btn:disabled {
  cursor: not-allowed;
  opacity: .56;
  transform: none;
  box-shadow: none;
}

.text-link {
  color: var(--accent);
  font-weight: 900;
}

.text-link:hover,
.text-link:focus-visible {
  color: var(--accent-dark);
}

.hero {
  padding: 78px 0 58px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, .92fr);
  gap: 46px;
  align-items: center;
}

.hero-grid > * {
  min-width: 0;
}

.eyebrow,
.mini-label {
  display: inline-flex;
  align-items: center;
  width: max-content;
  max-width: 100%;
  border: 1px solid #d8e6f8;
  border-radius: 999px;
  padding: 7px 12px;
  background: var(--accent-soft);
  color: var(--accent-dark);
  font-size: 12px;
  font-weight: 900;
}

.mini-label {
  padding: 5px 10px;
  background: #f5f8fc;
  color: var(--muted);
}

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

h1 {
  max-width: 780px;
  margin: 20px 0 18px;
  font-size: clamp(42px, 6vw, 76px);
  line-height: .98;
  letter-spacing: 0;
}

h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.06;
  letter-spacing: 0;
}

h3 {
  margin: 0 0 8px;
  font-size: 20px;
  line-height: 1.25;
}

p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.68;
}

.hero-copy p,
.page-hero p,
.checkout-hero p {
  max-width: 680px;
  font-size: 18px;
}

.hero-proof {
  max-width: 680px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 20px;
}

.hero-proof-item {
  min-width: 0;
  min-height: 72px;
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  border: 1px solid rgba(203, 213, 225, .8);
  border-radius: 18px;
  padding: 11px;
  background: rgba(255, 255, 255, .82);
  box-shadow: 0 12px 28px rgba(15, 23, 42, .055);
  backdrop-filter: blur(12px) saturate(130%);
  -webkit-backdrop-filter: blur(12px) saturate(130%);
}

.hero-proof-icon {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(31, 111, 235, .16);
  border-radius: 12px;
  background: rgba(232, 241, 255, .82);
}

.hero-proof-icon::before {
  content: "";
  width: 18px;
  height: 18px;
  background: var(--accent);
  opacity: .86;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-size: contain;
  mask-size: contain;
}

.hero-proof-fast .hero-proof-icon::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 6v6l4 2'/%3E%3Cpath d='M21 12a9 9 0 1 1-3-6.7'/%3E%3Cpath d='M21 3v6h-6'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 6v6l4 2'/%3E%3Cpath d='M21 12a9 9 0 1 1-3-6.7'/%3E%3Cpath d='M21 3v6h-6'/%3E%3C/svg%3E");
}

.hero-proof-warranty .hero-proof-icon::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3l7 3v5c0 5-3 8-7 10-4-2-7-5-7-10V6z'/%3E%3Cpath d='M9 12l2 2 4-5'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3l7 3v5c0 5-3 8-7 10-4-2-7-5-7-10V6z'/%3E%3Cpath d='M9 12l2 2 4-5'/%3E%3C/svg%3E");
}

.hero-proof-location .hero-proof-icon::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 21s7-5.4 7-11a7 7 0 0 0-14 0c0 5.6 7 11 7 11z'/%3E%3Ccircle cx='12' cy='10' r='2.4'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 21s7-5.4 7-11a7 7 0 0 0-14 0c0 5.6 7 11 7 11z'/%3E%3Ccircle cx='12' cy='10' r='2.4'/%3E%3C/svg%3E");
}

.hero-proof-contact .hero-proof-icon::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 11.5a8 8 0 0 1-8 8H7l-4 3 1.4-5A8 8 0 1 1 21 11.5z'/%3E%3Cpath d='M8 11h8'/%3E%3Cpath d='M8 15h5'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 11.5a8 8 0 0 1-8 8H7l-4 3 1.4-5A8 8 0 1 1 21 11.5z'/%3E%3Cpath d='M8 11h8'/%3E%3Cpath d='M8 15h5'/%3E%3C/svg%3E");
}

.hero-proof-item strong,
.hero-proof-item small {
  display: block;
}

.hero-proof-item strong {
  color: var(--ink);
  font-size: 13px;
  line-height: 1.2;
}

.hero-proof-item small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 750;
  line-height: 1.35;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
  align-items: center;
}

.hero-panel,
.device-card,
.feature-card,
.fulfillment-card,
.review-card,
.service-card,
.location-card,
.checkout-card,
.summary-card,
.special-card,
.contact-card,
.legal-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .88);
  box-shadow: var(--shadow-soft);
}

.hero-panel {
  padding: 18px;
  box-shadow: var(--shadow);
}

.device-card {
  display: grid;
  gap: 24px;
  padding: 28px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, .96), rgba(232, 241, 255, .7)),
    #fff;
}

.hero-logo {
  width: 100%;
  max-height: 170px;
  object-fit: contain;
  border-radius: 18px;
  background: #f8fafc;
  padding: 18px;
}

.device-card h2 {
  margin-top: 12px;
  font-size: clamp(24px, 3vw, 34px);
}

.hero-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.hero-stats div {
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 16px;
  background: #fff;
}

.hero-stats strong {
  display: block;
  font-size: 28px;
}

.hero-stats span {
  color: var(--muted);
  font-weight: 800;
  font-size: 13px;
}

.section {
  padding: 70px 0;
}

.soft-band {
  background: linear-gradient(180deg, #f8fafc, #eef3f8);
}

.section-head {
  max-width: 780px;
  display: grid;
  gap: 12px;
  margin-bottom: 28px;
}

.section-head.compact {
  margin-bottom: 18px;
}

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

.feature-card,
.fulfillment-card,
.review-card,
.service-card,
.location-card {
  padding: 22px;
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease, background .22s ease;
}

.feature-card:hover,
.fulfillment-card:hover,
.review-card:hover,
.service-card:hover,
.service-card:focus-visible,
.location-card:hover {
  transform: translateY(-3px);
  border-color: #c8d8ea;
  box-shadow: var(--shadow);
}

.feature-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  margin-bottom: 16px;
  border-radius: 14px;
  background: var(--accent-soft);
  color: var(--accent-dark);
  font-weight: 1000;
}

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

.fulfillment-card {
  display: grid;
  gap: 10px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, .96), rgba(245, 249, 255, .9)),
    #fff;
}

.fulfillment-card p {
  max-width: 560px;
}

.review-carousel {
  --review-visible: 3;
  --review-card-size: calc((100% - 32px) / 3);
  display: grid;
  gap: 18px;
}

.review-window {
  overflow: hidden;
  padding: 4px;
  margin: -4px;
}

.review-track {
  display: flex;
  gap: 16px;
  align-items: stretch;
  transition: transform .78s cubic-bezier(.22, .72, .18, 1);
  will-change: transform;
}

.review-card {
  flex: 0 0 var(--review-card-size);
  min-width: 0;
  min-height: 330px;
  display: grid;
  grid-template-rows: auto minmax(118px, auto) auto 1fr;
  gap: 13px;
  align-content: start;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .96), rgba(248, 250, 252, .92)),
    #fff;
}

.review-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.stars {
  color: #f2b705;
  font-size: 18px;
  letter-spacing: 1px;
}

.review-text {
  margin: 0;
  color: #334155;
  line-height: 1.62;
}

.review-card:not(.is-expanded) .review-text {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 5;
}

.review-card.is-expanded .review-text {
  max-height: 210px;
  overflow: auto;
  padding-right: 6px;
}

.review-toggle {
  justify-self: start;
  border: 0;
  padding: 0;
  background: transparent;
  color: var(--accent-dark);
  cursor: pointer;
  font-size: 14px;
  font-weight: 900;
}

.review-toggle:hover,
.review-toggle:focus-visible {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.review-author {
  align-self: end;
  margin-top: 4px;
}

.review-card strong,
.review-card span,
.review-card small {
  display: block;
}

.review-card span {
  color: var(--muted);
  font-weight: 800;
}

.review-card small {
  color: var(--soft);
  font-weight: 900;
}

.review-actions {
  display: flex;
  justify-content: center;
  padding-top: 4px;
}

.service-card {
  min-height: 190px;
  display: grid;
  align-content: start;
  gap: 8px;
  color: inherit;
}

.service-card span {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: #f3f7fb;
  font-size: 24px;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  gap: 34px;
  align-items: start;
}

.timeline {
  display: grid;
  gap: 12px;
}

.timeline div {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 16px;
  background: #fff;
}

.timeline strong {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
}

.timeline span {
  font-weight: 900;
}

.trust-section {
  background: #101827;
  color: #fff;
}

.trust-section p,
.trust-section .section-head p {
  color: #cbd5e1;
}

.trust-grid {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  gap: 34px;
  align-items: start;
}

.trust-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.trust-list div {
  display: grid;
  gap: 8px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 20px;
  padding: 18px;
  background: rgba(255, 255, 255, .06);
}

.trust-list span {
  color: #cbd5e1;
  line-height: 1.55;
}

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

.location-card.large {
  display: grid;
  gap: 16px;
  padding: 28px;
}

.opening-box,
.address-box,
.option-panel,
.payment-notice {
  display: grid;
  gap: 8px;
  border: 1px solid #d8e6f8;
  border-radius: 18px;
  padding: 15px;
  background: #f7fbff;
}

.option-panel {
  background:
    linear-gradient(135deg, rgba(232, 241, 255, .86), rgba(255, 255, 255, .92)),
    #fff;
}

.opening-box strong,
.address-box strong,
.option-panel strong {
  color: var(--ink);
}

.opening-box span,
.address-box span {
  color: var(--muted);
  line-height: 1.55;
}

.address-box p {
  color: var(--muted);
}

.address-box.subtle {
  border-style: dashed;
  background: #fbfdff;
}

.special-teaser {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.special-teaser h2 {
  margin-top: 10px;
}

.special-form {
  margin-top: 18px;
  border-top: 1px solid var(--line);
  padding-top: 18px;
}

.faq-layout {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  gap: 34px;
}

.faq-layout .section-head {
  align-self: start;
}

.faq-layout .eyebrow {
  min-width: 82px;
  align-self: start;
  justify-content: center;
}

.faq-list {
  display: grid;
  gap: 10px;
}

details {
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 16px 18px;
  background: #fff;
}

summary {
  cursor: pointer;
  color: var(--ink);
  font-weight: 900;
}

details p {
  margin-top: 12px;
}

.cta-band {
  padding: 54px 0;
  background: linear-gradient(135deg, #e8f1ff, #fff);
}

.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.page-hero,
.checkout-hero {
  padding: 62px 0 42px;
}

.checkout-section {
  padding: 20px 0 74px;
}

.checkout-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 370px;
  gap: 22px;
  align-items: start;
}

.checkout-main {
  display: grid;
  gap: 22px;
}

.checkout-card,
.summary-card,
.special-card,
.contact-card {
  padding: 22px;
}

.summary-card {
  position: sticky;
  top: 96px;
}

.progress {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 18px;
}

.progress-step {
  min-height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 10px;
  background: #fff;
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
  cursor: pointer;
  transition: border-color .2s ease, background .2s ease, color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.progress-step span {
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #eef2f7;
}

.progress-step.is-active {
  border-color: #bcd6fb;
  background: var(--accent-soft);
  color: var(--accent-dark);
}

.progress-step.is-active span {
  background: var(--accent);
  color: #fff;
}

.progress-step:hover,
.progress-step:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 12px 24px rgba(15, 23, 42, .06);
  outline: none;
}

.step-panel {
  display: none;
}

.step-panel.is-active {
  display: grid;
  gap: 18px;
  animation: fadeUp .24s ease both;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.step-head {
  display: grid;
  gap: 8px;
}

.step-head span {
  color: var(--accent);
  font-size: 13px;
  font-weight: 900;
}

.step-head h2 {
  font-size: 30px;
}

.row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.field {
  display: grid;
  gap: 7px;
}

label,
.field label {
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 14px 15px;
  outline: none;
  background: #fff;
  color: var(--ink);
  font-size: 15px;
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

input:hover,
select:hover,
textarea:hover {
  border-color: var(--line-strong);
}

input:focus,
select:focus,
textarea:focus {
  border-color: #9cc4fa;
  box-shadow: 0 0 0 4px rgba(31, 111, 235, .12);
}

input.is-invalid,
select.is-invalid,
textarea.is-invalid,
.custom-select.is-invalid .custom-select-trigger {
  border-color: #f3a4af;
  background: #fff8f9;
  box-shadow: 0 0 0 4px rgba(180, 35, 54, .08);
}

textarea {
  min-height: 112px;
  resize: vertical;
}

input[type="file"] {
  color: var(--muted);
}

input[type="file"]::file-selector-button {
  margin-right: 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 9px 12px;
  background: #fff;
  color: var(--ink);
  font-weight: 900;
  cursor: pointer;
}

select {
  appearance: none;
  -webkit-appearance: none;
}

.custom-native-select {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.custom-select {
  position: relative;
  z-index: 4;
}

.custom-select.is-open {
  z-index: 30;
}

.custom-select-trigger {
  width: 100%;
  min-height: 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 14px 15px;
  background: #fff;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(15, 23, 42, .04);
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

.custom-select-label {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.custom-select:not(.has-value) .custom-select-label {
  color: var(--soft);
}

.custom-select-arrow {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  background: var(--accent);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") center / contain no-repeat;
  transition: transform .2s ease;
}

.custom-select-trigger:hover,
.custom-select-trigger:focus-visible,
.custom-select.is-open .custom-select-trigger {
  border-color: #9cc4fa;
  background: #fbfdff;
  box-shadow: 0 0 0 4px rgba(31, 111, 235, .11), 0 14px 28px rgba(15, 23, 42, .08);
  outline: none;
}

.custom-select.is-open .custom-select-arrow {
  transform: rotate(180deg);
}

.custom-select-menu {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 8px);
  max-height: min(320px, 52vh);
  overflow: auto;
  border: 1px solid rgba(203, 213, 225, .92);
  border-radius: 18px;
  padding: 8px;
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 24px 60px rgba(15, 23, 42, .16);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  opacity: 0;
  transform: translateY(-8px) scale(.98);
  pointer-events: none;
  transition: opacity .2s ease, transform .2s ease;
}

.custom-select.is-open .custom-select-menu {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.custom-select-option {
  width: 100%;
  display: block;
  border: 0;
  border-radius: 12px;
  padding: 11px 12px;
  background: transparent;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
  transition: background .16s ease, color .16s ease;
}

.custom-select-option:hover,
.custom-select-option:focus-visible {
  outline: none;
  background: var(--accent-soft);
  color: var(--accent-dark);
}

.custom-select-option.is-active {
  background: #dcecff;
  color: var(--accent-dark);
  font-weight: 900;
}

.custom-select-option.is-placeholder {
  color: var(--soft);
}

.dynamic-fields,
.special-form,
.contact-card {
  display: grid;
  gap: 14px;
}

.inline-actions,
.step-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.step-actions {
  justify-content: flex-end;
  margin-top: 4px;
}

.repair-info {
  border: 1px solid #d8e6f8;
  border-radius: 18px;
  padding: 14px;
  background: #f7fbff;
  color: #36516c;
  font-size: 14px;
  line-height: 1.6;
}

.repair-choice-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(218px, 280px);
  gap: 18px;
  align-items: start;
}

.repair-choice-fields {
  min-width: 0;
  display: grid;
  gap: 18px;
}

.phone-preview {
  min-height: 0;
  max-height: 0;
  display: grid;
  place-items: center;
  overflow: hidden;
  isolation: isolate;
  border: 0 solid transparent;
  border-radius: 22px;
  padding: 0;
  background: transparent;
  box-shadow: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px) scale(.985);
  transition:
    max-height .68s cubic-bezier(.22, 1, .36, 1),
    min-height .68s cubic-bezier(.22, 1, .36, 1),
    padding .56s cubic-bezier(.22, 1, .36, 1),
    border-width .01s linear,
    border-color .38s ease,
    background .38s ease,
    box-shadow .38s ease,
    opacity .46s ease,
    transform .68s cubic-bezier(.22, 1, .36, 1),
    visibility 0s linear .68s;
}

.phone-preview.is-visible {
  min-height: 336px;
  max-height: 430px;
  border-width: 1px;
  border-color: rgba(203, 213, 225, .72);
  padding: 22px 24px;
  background:
    radial-gradient(circle at 50% 9%, rgba(255, 255, 255, .94), transparent 32%),
    linear-gradient(145deg, rgba(255, 255, 255, .98), rgba(248, 250, 252, .94));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .92), 0 18px 46px rgba(15, 23, 42, .08);
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
  transition-delay: 0s;
}

.phone-preview::before {
  display: none;
}

.brand-apple-container {
  width: min(176px, 60vw);
  opacity: 0;
  transform: translateY(10px) scale(.985);
  perspective: 850px;
  perspective-origin: 50% 58%;
  transition:
    opacity .5s ease,
    transform .68s cubic-bezier(.22, 1, .36, 1);
}

.phone-preview.is-visible .brand-apple-container {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.apple-display-animation-container {
  width: 100%;
  display: grid;
  place-items: center;
}

.apple-phone-artboard {
  position: relative;
  width: 100%;
  aspect-ratio: 346 / 721;
  display: grid;
  place-items: center;
  transform-origin: center;
  transform-style: preserve-3d;
  transition: transform .9s cubic-bezier(.22, 1, .36, 1);
  will-change: transform;
}

.phone-preview.phone-bottom-view .apple-phone-artboard {
  transform: rotateX(47deg) translateY(28px) scale(.96);
  transform-origin: 50% 88%;
}

.apple-phone-image {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  pointer-events: none;
  user-select: none;
  filter: drop-shadow(0 17px 18px rgba(15, 23, 42, .13));
}

.phone-bottom-view .apple-phone-image {
  filter: drop-shadow(0 24px 18px rgba(15, 23, 42, .16));
}

.bottom-edge,
.bottom-accessory-layer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
}

.bottom-edge {
  opacity: 0;
  transform: translateY(10px);
  transition:
    opacity .42s ease,
    transform .72s cubic-bezier(.22, 1, .36, 1);
}

.phone-preview.phone-bottom-view .bottom-edge {
  opacity: 1;
  transform: translateY(0);
}

.bottom-edge-plate {
  fill: rgba(255, 255, 255, .88);
  stroke: #111827;
  stroke-width: 1.5;
}

.bottom-edge-line {
  fill: none;
  stroke: rgba(17, 24, 39, .34);
  stroke-width: .9;
}

.charging-port {
  fill: rgba(255, 255, 255, .98);
  stroke: #111827;
  stroke-width: 2.4;
}

.speaker-grill circle {
  fill: #111827;
  opacity: .9;
}

.bottom-accessory-layer {
  opacity: 0;
  transition: opacity .18s ease;
}

.phone-preview.repair-charging-active .bottom-accessory-layer,
.phone-preview.charging-leaving .bottom-accessory-layer {
  opacity: 1;
}

.charging-cable {
  opacity: 0;
  transform: translateY(76px);
  transform-box: fill-box;
  transform-origin: center top;
}

.charging-cable-line,
.charging-cable-tip,
.charging-cable-neck,
.charging-cable-body,
.charging-fail-bolt,
.charging-fail-wave {
  vector-effect: non-scaling-stroke;
}

.charging-cable-line {
  fill: none;
  stroke: rgba(17, 24, 39, .78);
  stroke-width: 2.2;
  stroke-linecap: round;
}

.charging-cable-tip,
.charging-cable-neck,
.charging-cable-body {
  fill: rgba(255, 255, 255, .9);
  stroke: #111827;
  stroke-width: 1.7;
}

.charging-fail-signal {
  opacity: 0;
  transform: translateX(-5px) scale(.92);
  transform-box: fill-box;
  transform-origin: center;
}

.charging-fail-bolt,
.charging-fail-wave {
  fill: none;
  stroke: #111827;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.charging-fail-bolt {
  stroke-width: 2.2;
}

.charging-fail-wave {
  stroke-width: 1.35;
  opacity: .46;
}

.phone-preview.repair-charging-active .charging-cable,
.phone-preview.charging-leaving .charging-cable {
  opacity: 1;
  transform: translateY(0);
}

.phone-preview.repair-charging-active .charging-fail-signal,
.phone-preview.charging-leaving .charging-fail-signal {
  opacity: 1;
  transform: translateX(0) scale(1);
}

.phone-preview.charging-entering .charging-cable {
  animation: chargingCableInsert .9s cubic-bezier(.22, 1, .36, 1) .48s both;
}

.phone-preview.charging-entering .charging-fail-signal {
  animation: chargingSignalIn .5s cubic-bezier(.22, 1, .36, 1) 1.18s both;
}

.phone-preview.repair-charging-active:not(.charging-entering) .charging-fail-signal {
  animation: chargingSignalPulse 1.8s ease-in-out infinite;
}

.phone-preview.charging-leaving .charging-cable {
  animation: chargingCableExit .48s cubic-bezier(.64, 0, .78, 0) both;
}

.phone-preview.charging-leaving .charging-fail-signal {
  animation: chargingSignalOut .26s ease both;
}

.apple-display-crack-mask {
  --crack-enter-duration: 1500ms;
  --crack-exit-duration: 800ms;
  --display-radius-x: 12.6%;
  --display-radius-y: 5.85%;
  position: absolute;
  left: 6.36%;
  top: 4.85%;
  width: 87.28%;
  height: 90.15%;
  overflow: hidden;
  border-radius: var(--display-radius-x) / var(--display-radius-y);
  pointer-events: none;
  opacity: 0;
  transition: opacity .16s ease;
}

.apple-display-crack-layer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
}

.phone-preview.repair-display-active .apple-display-crack-mask,
.phone-preview.crack-leaving .apple-display-crack-mask,
.phone-preview.repair-battery-active .apple-display-crack-mask,
.phone-preview.battery-leaving .apple-display-crack-mask {
  opacity: 1;
}

.apple-display-crack-layer *,
.apple-battery-layer * {
  vector-effect: non-scaling-stroke;
}

.apple-battery-layer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
  opacity: 0;
  transition: opacity .22s ease;
}

.phone-preview.repair-battery-active .apple-battery-layer {
  opacity: 1;
}

.phone-preview.battery-leaving .apple-battery-layer {
  opacity: 0;
  transition-duration: .68s;
}

.apple-battery-symbol {
  transform-box: fill-box;
  transform-origin: center;
}

.apple-battery-cap,
.apple-battery-shell,
.apple-battery-warning-circle {
  fill: rgba(255, 255, 255, .72);
  stroke: #111827;
  stroke-width: 3.4;
  stroke-linejoin: round;
}

.apple-battery-fill {
  fill: rgba(17, 24, 39, .22);
  transform-box: fill-box;
  transform-origin: center bottom;
}

.apple-battery-warning {
  opacity: 0;
  transform-box: fill-box;
  transform-origin: center;
}

.apple-battery-warning-line {
  fill: none;
  stroke: #111827;
  stroke-width: 3.5;
  stroke-linecap: round;
}

.apple-battery-warning-dot {
  fill: #111827;
}

.phone-preview.repair-battery-active .apple-battery-fill,
.phone-preview.battery-leaving .apple-battery-fill {
  transform: scaleY(.18);
}

.phone-preview.repair-battery-active .apple-battery-warning,
.phone-preview.battery-leaving .apple-battery-warning {
  opacity: 1;
}

.phone-preview.battery-entering .apple-battery-symbol {
  animation: appleBatteryEnter .62s cubic-bezier(.22, 1, .36, 1) both;
}

.phone-preview.battery-entering .apple-battery-fill {
  animation: appleBatteryDrain 1.12s cubic-bezier(.33, 0, .2, 1) both;
}

.phone-preview.battery-entering .apple-battery-warning {
  animation: appleBatteryWarningIn .48s cubic-bezier(.22, 1, .36, 1) .72s both;
}

.phone-preview.repair-battery-active:not(.battery-entering) .apple-battery-warning {
  animation: appleBatteryWarningPulse 2.4s ease-in-out infinite;
}

.phone-preview.battery-leaving .apple-battery-symbol {
  animation: appleBatteryExit .68s cubic-bezier(.64, 0, .78, 0) both;
}

.apple-crack-impact {
  fill: #111827;
  opacity: 0;
  transform-box: fill-box;
  transform-origin: center;
}

.phone-preview.repair-display-active .apple-crack-impact,
.phone-preview.crack-leaving .apple-crack-impact {
  opacity: .86;
}

.phone-preview.repair-display-active.crack-entering .apple-crack-impact {
  animation: appleCrackImpactIn .64s cubic-bezier(.22, 1, .36, 1) both;
}

.phone-preview.crack-leaving .apple-crack-impact {
  animation: appleCrackImpactOut var(--crack-exit-duration) cubic-bezier(.22, 1, .36, 1) both;
}

.apple-crack-path {
  --crack-length: 760px;
  --crack-delay: 0ms;
  --crack-path-duration: var(--crack-enter-duration);
  fill: none;
  stroke: #111827;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: var(--crack-length);
  stroke-dashoffset: var(--crack-length);
}

.apple-crack-main {
  stroke-width: 1.42;
  opacity: .9;
}

.apple-crack-branch {
  stroke-width: .78;
  opacity: .62;
}

.apple-crack-mini {
  stroke-width: .52;
  opacity: .42;
}

.phone-preview.repair-display-active .apple-crack-path {
  stroke-dashoffset: 0;
}

.phone-preview.repair-display-active.crack-entering .apple-crack-path {
  animation: appleCrackDraw var(--crack-path-duration) cubic-bezier(.35, 0, .45, 1) both;
  animation-delay: var(--crack-delay);
}

.phone-preview.crack-leaving .apple-crack-path {
  stroke-dashoffset: var(--crack-length);
  animation: appleCrackRetract var(--crack-exit-duration) cubic-bezier(.33, 0, .2, 1) both;
  animation-delay: 0ms;
}

@keyframes appleCrackImpactIn {
  0% {
    opacity: 0;
    transform: scale(.25);
  }
  42% {
    opacity: .88;
    transform: scale(1.55);
  }
  100% {
    opacity: .86;
    transform: scale(1);
  }
}

@keyframes appleCrackImpactOut {
  0%,
  72% {
    opacity: .86;
    transform: scale(1);
  }
  100% {
    opacity: 0;
    transform: scale(.25);
  }
}

@keyframes appleCrackDraw {
  0% {
    stroke-dashoffset: var(--crack-length);
  }
  100% {
    stroke-dashoffset: 0;
  }
}

@keyframes appleCrackRetract {
  0% {
    stroke-dashoffset: 0;
  }
  100% {
    stroke-dashoffset: var(--crack-length);
  }
}

@keyframes appleBatteryEnter {
  0% {
    opacity: 0;
    transform: translateY(9px) scale(.96);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes appleBatteryDrain {
  0% {
    transform: scaleY(.42);
  }
  58% {
    transform: scaleY(.24);
  }
  100% {
    transform: scaleY(.18);
  }
}

@keyframes appleBatteryWarningIn {
  0% {
    opacity: 0;
    transform: translateX(-6px) scale(.82);
  }
  100% {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
}

@keyframes appleBatteryWarningPulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.045);
  }
}

@keyframes appleBatteryExit {
  0% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
  100% {
    opacity: 0;
    transform: translateY(7px) scale(.97);
  }
}
.small-help {
  color: var(--muted);
  font-size: 14px;
}

.check-line {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px;
  align-items: start;
  color: var(--ink);
  line-height: 1.55;
}

.check-line input {
  width: 18px;
  height: 18px;
  margin-top: 3px;
  accent-color: var(--accent);
}

.form-error {
  border: 1px solid #f3b8c1;
  border-radius: 16px;
  padding: 12px 14px;
  background: var(--danger-soft);
  color: var(--danger);
  font-weight: 800;
}

.field-error {
  color: var(--danger);
  font-size: 12px;
  font-weight: 900;
}

.success {
  border: 1px solid #b9ead6;
  border-radius: 20px;
  padding: 18px;
  background: var(--success-soft);
  color: #124b38;
}

.success h3 {
  margin: 0 0 10px;
}

.success p {
  color: #245a48;
}

.confirmation-motion {
  display: grid;
  place-items: center;
  margin: 6px 0 16px;
}

.confirmation-check {
  width: 118px;
  height: 118px;
  overflow: visible;
}

.confirmation-check-glow {
  fill: #dcfce7;
  opacity: .72;
  transform-origin: 60px 60px;
  animation: confirmGlow .72s ease-out both;
}

.confirmation-check-ring {
  fill: rgba(255, 255, 255, .92);
  stroke: #16a34a;
  stroke-width: 5;
  stroke-dasharray: 264;
  stroke-dashoffset: 264;
  transform-origin: 60px 60px;
  animation: confirmRing .7s cubic-bezier(.2, .8, .2, 1) both;
}

.confirmation-check-mark {
  fill: none;
  stroke: #16a34a;
  stroke-width: 7;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 64;
  stroke-dashoffset: 64;
  animation: confirmMark .45s cubic-bezier(.2, .8, .2, 1) .32s both;
}

.confirmation-motion + .success {
  animation: confirmDetailsIn .48s ease .42s both;
}

@keyframes confirmGlow {
  0% {
    opacity: 0;
    transform: scale(.72);
  }
  62% {
    opacity: .78;
    transform: scale(1.08);
  }
  100% {
    opacity: .56;
    transform: scale(1);
  }
}

@keyframes confirmRing {
  0% {
    stroke-dashoffset: 264;
    transform: scale(.92);
  }
  100% {
    stroke-dashoffset: 0;
    transform: scale(1);
  }
}

@keyframes confirmMark {
  to {
    stroke-dashoffset: 0;
  }
}

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

.price {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  margin: 16px 0 4px;
  font-size: 56px;
  line-height: .95;
  font-weight: 1000;
  letter-spacing: 0;
}

.price small {
  padding-bottom: 8px;
  color: var(--muted);
  font-size: 20px;
}

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

.summary {
  display: grid;
  gap: 10px;
  margin: 20px 0;
}

.summary .summary-row {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 10px;
  color: var(--muted);
}

.summary .summary-row.is-visible {
  animation: summaryIn .22s ease both;
}

@keyframes summaryIn {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.summary strong {
  max-width: 58%;
  color: var(--ink);
  text-align: right;
}

.summary .total-row {
  align-items: center;
  border: 0;
  border-radius: 16px;
  padding: 14px;
  background: #f3f7ff;
}

.summary .total-row strong {
  color: var(--accent-dark);
  font-size: 18px;
}

.checkout-overview {
  display: grid;
  gap: 18px;
  border: 1px solid #d8e6f8;
  border-radius: 20px;
  padding: 18px;
  background:
    linear-gradient(135deg, rgba(247, 251, 255, .95), rgba(255, 255, 255, .96)),
    #fff;
}

.checkout-overview h3 {
  margin: 0;
}

.checkout-note {
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

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

.confirm-item,
.confirm-note {
  border: 1px solid rgba(15, 23, 42, .08);
  border-radius: 16px;
  padding: 13px;
  background: rgba(255, 255, 255, .72);
}

.confirm-item span {
  display: block;
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.confirm-item strong {
  color: var(--ink);
}

.confirm-note {
  margin-top: 12px;
  color: #124b38;
  font-weight: 900;
}

.warning-card {
  margin-top: 12px;
  border: 1px solid #f0a6a6;
  border-left: 4px solid #d92d20;
  border-radius: 16px;
  padding: 14px;
  background: #fff4f4;
  color: #9f1b1b;
  font-weight: 900;
}

.modal-open {
  overflow: hidden;
}

.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(15, 23, 42, .38);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.modal-card {
  width: min(520px, 100%);
  display: grid;
  gap: 16px;
  border: 1px solid rgba(255, 255, 255, .75);
  border-radius: 24px;
  padding: 24px;
  background: rgba(255, 255, 255, .96);
  box-shadow: var(--shadow);
}

.modal-card h2 {
  font-size: 28px;
}

.modal-reference {
  border: 1px solid #d8e6f8;
  border-radius: 16px;
  padding: 13px;
  background: #f7fbff;
  color: var(--muted);
  font-weight: 900;
}

.modal-reference strong {
  color: var(--ink);
}

.payment-notice {
  margin-bottom: 12px;
  color: #36516c;
}

.location-grid-large {
  align-items: stretch;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr);
  gap: 28px;
  align-items: start;
}

.legal-layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}

.legal-nav {
  position: sticky;
  top: 96px;
  display: grid;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 14px;
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.legal-nav a {
  border: 1px solid transparent;
  border-radius: 12px;
  padding: 10px 11px;
  color: var(--muted);
  font-weight: 900;
  transition: color .2s ease, background .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.legal-nav a:hover,
.legal-nav a:focus-visible,
.legal-nav a.is-active {
  background: var(--accent-soft);
  border-color: rgba(31, 111, 235, .24);
  color: var(--accent-dark);
  box-shadow: 0 10px 24px rgba(31, 111, 235, .12);
}

.legal-content {
  display: grid;
  gap: 14px;
}

.legal-note {
  border: 1px solid rgba(12, 74, 110, .16);
  border-radius: 16px;
  padding: 12px 14px;
  background: rgba(224, 242, 254, .62);
  color: #0c4a6e;
  font-size: 13px;
  font-weight: 800;
}

.legal-card {
  padding: 24px;
  scroll-margin-top: 128px;
}

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

.legal-card p:last-child {
  margin-bottom: 0;
}

.legal-fields {
  display: grid;
  gap: 10px;
  margin: 16px 0;
  border: 1px solid rgba(15, 23, 42, .08);
  border-radius: 16px;
  padding: 16px;
  background: rgba(248, 250, 252, .86);
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 42px 0 22px;
  background: #fff;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 28px;
}

.footer-grid p {
  margin-top: 12px;
}

.footer-grid h3 {
  font-size: 15px;
}

.footer-grid a,
.footer-grid span {
  display: block;
  margin-top: 9px;
  color: var(--muted);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: space-between;
  margin-top: 26px;
  color: var(--muted);
  font-size: 14px;
}

.compact-footer {
  padding-top: 22px;
}

.hidden {
  display: none !important;
}

html.motion-ready .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .55s ease, transform .55s ease;
}

html.motion-ready .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

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

  .phone-preview.repair-display-active.crack-entering .apple-crack-impact,
  .phone-preview.repair-display-active.crack-entering .apple-crack-path,
  .phone-preview.crack-leaving .apple-crack-impact,
  .phone-preview.crack-leaving .apple-crack-path,
  .phone-preview.battery-entering .apple-battery-symbol,
  .phone-preview.battery-entering .apple-battery-fill,
  .phone-preview.battery-entering .apple-battery-warning,
  .phone-preview.repair-battery-active .apple-battery-warning,
  .phone-preview.battery-leaving .apple-battery-symbol,
  .confirmation-motion + .success {
    animation: none !important;
  }
}

@media (max-width: 1240px) {
  main::before {
    display: none;
  }
}

@media (max-width: 980px) {
  .links {
    display: none;
  }

  .hero-grid,
  .checkout-layout,
  .split-section,
  .trust-grid,
  .faq-layout,
  .contact-layout,
  .legal-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .summary-card,
  .legal-nav {
    position: static;
  }

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

  .review-carousel {
    --review-visible: 2;
    --review-card-size: calc((100% - 16px) / 2);
  }

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

@media (max-width: 860px) {
  .repair-choice-layout {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 720px) {
  .wrap,
  .narrow {
    width: 100%;
    padding-inline: 14px;
  }

  .nav {
    min-height: 68px;
    gap: 10px;
  }

  .logo {
    width: min(184px, 40vw);
    height: auto;
    max-height: 38px;
  }

  .nav .btn.small {
    flex: 0 0 auto;
    min-height: 38px;
    padding: 8px 11px;
    font-size: 13px;
    white-space: nowrap;
  }

  .hero,
  .page-hero,
  .checkout-hero {
    padding: 46px 0 34px;
  }

  .hero-proof {
    gap: 8px;
    margin-top: 18px;
  }

  .hero-proof-item {
    grid-template-columns: 30px minmax(0, 1fr);
    gap: 8px;
    min-height: 0;
    padding: 10px;
    border-radius: 16px;
  }

  .hero-proof-icon {
    width: 30px;
    height: 30px;
    border-radius: 11px;
  }

  .hero-proof-icon::before {
    width: 16px;
    height: 16px;
  }

  .hero-proof-item strong {
    font-size: 12px;
  }

  .hero-proof-item small {
    font-size: 10px;
    line-height: 1.3;
  }

  .section {
    padding: 52px 0;
  }

  .feature-grid,
  .service-grid,
  .fulfillment-grid,
  .location-teaser,
  .location-grid-large,
  .trust-list,
  .row,
  .confirmation-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .review-carousel {
    --review-visible: 1;
    --review-card-size: 100%;
  }

  .review-card {
    min-height: 310px;
  }

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

  .progress-step {
    justify-content: flex-start;
  }

  .cta-inner,
  .special-teaser,
  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .checkout-card,
  .summary-card,
  .special-card,
  .contact-card,
  .device-card,
  .location-card.large {
    padding: 18px;
    border-radius: 20px;
  }

  .step-actions,
  .inline-actions,
  .actions {
    align-items: stretch;
  }

  .step-actions .btn,
  .inline-actions .btn,
  .special-teaser .btn,
  .actions .btn {
    width: 100%;
  }

  .summary .summary-row {
    flex-direction: column;
    gap: 4px;
  }

  .phone-preview {
    min-height: 286px;
    padding: 18px;
    border-radius: 20px;
  }

  .phone-preview:not(.is-visible) {
    min-height: 0;
    max-height: 0;
    border-width: 0;
    padding-top: 0;
    padding-bottom: 0;
  }

  .phone-preview.is-visible {
    min-height: 286px;
    max-height: 390px;
    padding: 18px;
  }

  .brand-apple-container {
    width: min(148px, 52vw);
  }

  .confirmation-check {
    width: 102px;
    height: 102px;
  }

  .summary strong {
    max-width: none;
    text-align: left;
  }

  .price {
    font-size: 46px;
  }
}

