/* M Cellphones — Apple-inspired 2026 experience.
   Loaded after the legacy stylesheet so this file is the visual source of truth. */

:root {
  --apple-bg: #f5f5f7;
  --apple-surface: #ffffff;
  --apple-ink: #1d1d1f;
  --apple-copy: #6e6e73;
  --apple-line: rgba(0, 0, 0, 0.09);
  --apple-blue: #0071e3;
  --apple-blue-hover: #0077ed;
  --apple-black: #000000;
  --apple-radius: 30px;
  --apple-radius-sm: 18px;
  --apple-max: 1240px;
  --apple-pad: clamp(20px, 4.5vw, 64px);
  --apple-section: clamp(78px, 10vw, 152px);
  --apple-ease: cubic-bezier(.22, 1, .36, 1);
  --font-head: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
  --font-body: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
  --container: var(--apple-max);
  --pad: var(--apple-pad);
}

html {
  scroll-padding-top: 64px;
}

body {
  margin: 0;
  color: var(--apple-ink);
  background: var(--apple-bg);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.45;
  letter-spacing: -0.011em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 {
  color: var(--apple-ink);
  font-family: var(--font-head);
  font-weight: 650;
  letter-spacing: -0.045em;
}

p { color: var(--apple-copy); }

.skip-link {
  position: fixed;
  top: 8px;
  left: 12px;
  z-index: 200;
  padding: .65rem .9rem;
  color: #fff;
  background: #000;
  border-radius: 10px;
  transform: translateY(-140%);
  transition: transform .2s ease;
}

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

/* Global navigation */
.site-header {
  position: sticky !important;
  top: 0;
  z-index: 80;
  min-height: 54px;
  display: grid !important;
  grid-template-columns: minmax(130px, auto) 1fr auto !important;
  grid-template-areas: "brand nav actions" !important;
  align-items: center;
  gap: clamp(16px, 3vw, 38px);
  padding: 0 max(18px, calc((100vw - var(--apple-max)) / 2)) !important;
  border-bottom: 1px solid rgba(0, 0, 0, .08) !important;
  background: rgba(251, 251, 253, .86) !important;
  box-shadow: none !important;
  backdrop-filter: saturate(180%) blur(22px) !important;
  -webkit-backdrop-filter: saturate(180%) blur(22px) !important;
  transition: color .35s ease, background-color .35s ease, border-color .35s ease;
}

.site-header:empty { display: grid !important; }
.site-header .top-contact-bar,
.site-header .mc-search-header { display: none !important; }

.site-header .brand {
  grid-area: brand !important;
  align-self: stretch;
  display: inline-flex;
  align-items: center;
  width: max-content;
  padding: 5px 0 !important;
}

.site-header .brand-logo {
  width: auto !important;
  height: 42px !important;
  object-fit: contain;
  transition: filter .35s ease, opacity .2s ease;
}

.site-header .site-nav {
  grid-area: nav !important;
  justify-self: center;
  display: flex !important;
  flex-wrap: nowrap !important;
  align-items: center;
  justify-content: center;
  gap: clamp(12px, 2vw, 30px) !important;
  width: auto !important;
  min-height: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.site-header .site-nav a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 0 !important;
  color: rgba(29, 29, 31, .84) !important;
  background: transparent !important;
  border-radius: 0 !important;
  font-size: .77rem !important;
  font-weight: 500 !important;
  letter-spacing: .005em;
  white-space: nowrap;
  transition: color .2s ease, opacity .2s ease !important;
}

.site-header .site-nav a:hover,
.site-header .site-nav a[aria-current] { color: #000 !important; }

.site-header .header-cta {
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: .38rem .78rem !important;
  color: #fff !important;
  background: var(--apple-blue) !important;
  border: 0 !important;
  border-radius: 999px !important;
  box-shadow: none !important;
  font-size: .75rem !important;
  font-weight: 600;
}

.site-header .header-cta:hover { background: var(--apple-blue-hover) !important; }
.site-header .header-actions {
  grid-area: actions !important;
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 9px;
}
.site-header .request-bag {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: .35rem .55rem;
  color: rgba(29,29,31,.78) !important;
  border-radius: 999px;
  font-size: .73rem;
  font-weight: 550;
}
.site-header .request-bag:hover { color: #000 !important; background: rgba(0,0,0,.045); }
.site-header .request-bag span {
  min-width: 18px;
  height: 18px;
  display: inline-grid;
  place-items: center;
  padding-inline: 4px;
  border-radius: 999px;
  color: #fff;
  background: var(--apple-blue);
  font-size: .64rem;
}
.site-header .nav-toggle { display: none !important; }

.apple-site .site-header.is-hero-mode {
  color: #f5f5f7;
  border-color: rgba(255,255,255,.1) !important;
  background: rgba(0,0,0,.72) !important;
}

.apple-site .site-header.is-hero-mode .brand-logo {
  filter: brightness(0) invert(1);
  opacity: .92;
}

.apple-site .site-header.is-hero-mode .site-nav a { color: rgba(255,255,255,.78) !important; }
.apple-site .site-header.is-hero-mode .site-nav a:hover,
.apple-site .site-header.is-hero-mode .site-nav a[aria-current] { color: #fff !important; }
.apple-site .site-header.is-hero-mode .request-bag { color: rgba(255,255,255,.78) !important; }
.apple-site .site-header.is-hero-mode .request-bag:hover { color: #fff !important; background: rgba(255,255,255,.1); }

/* Shared controls */
.apple-button,
.button,
.mc-btn,
.card-actions a,
.card-actions button,
.repair-list button,
.spline-toggle {
  --mag-x: 0px;
  --mag-y: 0px;
  --glow-x: 50%;
  --glow-y: 50%;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  transform: translate3d(var(--mag-x), var(--mag-y), 0);
  transform-origin: center;
  transition:
    transform .42s var(--apple-ease),
    background-color .24s ease,
    color .24s ease,
    border-color .24s ease,
    box-shadow .28s ease !important;
  will-change: transform;
}

.magnetic-surface::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  border-radius: inherit;
  background: radial-gradient(circle at var(--glow-x) var(--glow-y), rgba(255,255,255,.46), transparent 42%);
  opacity: 0;
  transition: opacity .25s ease;
}

.magnetic-surface.is-near::after,
.magnetic-surface:hover::after { opacity: .42; }
.magnetic-surface:active { transform: translate3d(0, 1px, 0) scale(.97) !important; }

.apple-button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: .72rem 1.35rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: .98rem;
  font-weight: 560;
  line-height: 1;
  letter-spacing: -.01em;
  cursor: pointer;
}

.apple-button-primary { color: #fff !important; background: var(--apple-blue); }
.apple-button-primary:hover { color: #fff !important; background: var(--apple-blue-hover); }
.apple-button-light { color: var(--apple-blue) !important; background: rgba(255,255,255,.96); border-color: rgba(0,113,227,.35); }
.apple-button-light:hover { color: #fff !important; background: var(--apple-blue); border-color: var(--apple-blue); }
.apple-button-dark { color: #fff !important; background: #1d1d1f; }
.apple-button-dark:hover { color: #fff !important; background: #000; }

.apple-text-link {
  color: var(--apple-blue) !important;
  font-size: clamp(1rem, 1.5vw, 1.22rem);
  font-weight: 500;
}

.apple-text-link span { display: inline-block; transition: transform .25s var(--apple-ease); }
.apple-text-link:hover span { transform: translateX(4px); }

.apple-eyebrow,
.eyebrow,
.rp-eyebrow,
.mc-eyebrow {
  margin: 0 0 .65rem !important;
  color: var(--apple-blue) !important;
  font-size: .72rem !important;
  font-weight: 650 !important;
  letter-spacing: .12em !important;
  text-transform: uppercase;
}

.apple-section-head {
  max-width: 760px;
  margin: 0 0 clamp(34px, 5vw, 62px);
}

.apple-section-head h2 {
  max-width: 16ch;
  margin: 0;
  font-size: clamp(2.4rem, 5.8vw, 5.25rem);
  line-height: .96;
}

.apple-section-head > p:last-child {
  max-width: 54ch;
  margin-top: 1.15rem;
  font-size: clamp(1.02rem, 1.6vw, 1.28rem);
  line-height: 1.48;
}

.apple-section-head-light h2,
.apple-section-head-light > p:last-child { color: #fff; }
.apple-section-head-light > p:last-child { color: rgba(255,255,255,.68); }
.apple-section-head-center { max-width: 900px; margin-inline: auto; text-align: center; }
.apple-section-head-center h2 { max-width: none; }

/* Hero */
.apple-site main > section { width: 100%; }

.apple-hero {
  position: relative;
  min-height: calc(100svh - 54px);
  display: flex;
  align-items: center;
  max-width: none !important;
  margin: 0 !important;
  padding: clamp(70px, 8vw, 130px) max(var(--apple-pad), calc((100vw - 1460px) / 2)) clamp(48px, 7vw, 96px) !important;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 72% 46%, rgba(80, 42, 18, .34), transparent 26%),
    radial-gradient(circle at 72% 44%, rgba(255, 142, 42, .12), transparent 44%),
    #000;
}

.apple-hero::before {
  content: "";
  position: absolute;
  inset: auto 8% -18% 42%;
  height: 50%;
  border-radius: 50%;
  background: rgba(255, 126, 24, .12);
  filter: blur(110px);
  pointer-events: none;
}

.apple-hero-copy {
  position: relative;
  z-index: 5;
  width: min(670px, 100%);
  max-width: 670px;
  pointer-events: none;
  animation: appleCopyIn 1s var(--apple-ease) both .08s;
}

.apple-hero-copy a { pointer-events: auto; }

.apple-hero h1 {
  margin: 0;
  color: #f5f5f7;
  font-size: clamp(3.55rem, 6.15vw, 7.25rem);
  font-weight: 650;
  line-height: .86;
  letter-spacing: -.07em;
}

.apple-hero h1 span {
  color: transparent;
  background: linear-gradient(94deg, #ff9d45 0%, #ffd0a5 50%, #fff 98%);
  -webkit-background-clip: text;
  background-clip: text;
}

.apple-hero-lead {
  max-width: 33rem;
  margin: clamp(24px, 3.4vw, 42px) 0 0;
  color: rgba(245,245,247,.72);
  font-size: clamp(1.08rem, 1.55vw, 1.42rem);
  line-height: 1.42;
  letter-spacing: -.02em;
}

.apple-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: clamp(28px, 4vw, 44px);
}

.apple-hero-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 26px;
  margin-top: 22px;
}

.apple-hero-links a {
  color: rgba(255,255,255,.7);
  font-size: .88rem;
  text-decoration: underline;
  text-decoration-color: rgba(255,255,255,.24);
  text-underline-offset: 4px;
  transition: color .2s ease;
}

.apple-hero-links a:hover { color: #fff; }

.spline-hero {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  min-width: 0;
  animation: appleVisualIn 1.15s var(--apple-ease) both .16s;
}

.spline-hero-media {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background: #090909;
  box-shadow: none;
  transform: translateZ(0);
}

.spline-poster,
.spline-live,
.spline-live spline-viewer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.spline-live spline-viewer {
  display: block !important;
  visibility: visible !important;
  min-width: 100% !important;
  min-height: 100% !important;
}

.spline-poster {
  z-index: 1;
  object-fit: cover;
  object-position: 62% 48%;
  transform: scale(1.01);
  transition: opacity .8s ease, transform 1.1s var(--apple-ease), filter .8s ease;
}

.spline-live {
  z-index: 2;
  opacity: 0;
  background: #0a0a0a;
  transition: opacity .85s ease;
}

.spline-hero.is-loaded .spline-live { opacity: 1; }
.spline-hero.is-loaded .spline-poster { opacity: 0; transform: scale(1.025); }
.spline-hero.is-paused .spline-live { opacity: 0; pointer-events: none; }
.spline-hero.is-paused .spline-poster { opacity: 1; }

.spline-sheen {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(0,0,0,.93) 0%, rgba(0,0,0,.72) 28%, rgba(0,0,0,.22) 57%, rgba(0,0,0,.04) 78%),
    linear-gradient(180deg, rgba(0,0,0,.2), transparent 35%, rgba(0,0,0,.52) 100%),
    radial-gradient(circle at 68% 48%, transparent 0 26%, rgba(0,0,0,.08) 58%, rgba(0,0,0,.28) 100%);
}

.spline-sheen::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  width: min(280px, 24vw);
  height: 120px;
  background: linear-gradient(90deg, transparent 0, rgba(5,5,5,.98) 22%, #050505 100%);
}

.spline-controls {
  position: absolute;
  right: max(var(--apple-pad), calc((100vw - 1460px) / 2));
  bottom: 22px;
  z-index: 5;
  min-height: 32px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
  padding: 0;
  pointer-events: none;
}

.spline-status {
  margin: 0;
  padding: .48rem .72rem;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 999px;
  color: rgba(255,255,255,.66);
  background: rgba(0,0,0,.68);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  font-size: .7rem;
  letter-spacing: .015em;
}

.spline-hero.is-static .spline-status { opacity: .72; }

/* Skip paint/layout work for distant homepage sections until they approach the
   viewport. The stored intrinsic size prevents scrollbar jumps. */
.apple-site .specialty-showcase,
.apple-site .apple-estimate,
.apple-site .curated-devices,
.apple-site .trade-story,
.apple-site .government-promo,
.apple-site .apple-reviews,
.apple-site .repair-film,
.apple-site .apple-faq,
.apple-site .apple-visit {
  content-visibility: auto;
  contain-intrinsic-size: auto 900px;
}

.spline-toggle {
  min-height: 34px;
  flex: 0 0 auto;
  padding: .5rem .85rem;
  border: 1px solid rgba(255,255,255,.24);
  border-radius: 999px;
  color: rgba(255,255,255,.9);
  background: rgba(255,255,255,.08);
  font: inherit;
  font-size: .74rem;
  font-weight: 580;
}

.spline-toggle:hover { background: rgba(255,255,255,.16); }
.spline-hero.is-loading .spline-toggle { pointer-events: none; opacity: .62; }

@keyframes appleCopyIn {
  from { opacity: 0; transform: translate3d(0, 34px, 0); }
  to { opacity: 1; transform: translate3d(0, 0, 0); }
}

@keyframes appleVisualIn {
  from { opacity: 0; transform: translate3d(0, 42px, 0) scale(.97); }
  to { opacity: 1; transform: translate3d(0, 0, 0) scale(1); }
}

/* Trust ribbon */
.trust-ribbon {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  max-width: var(--apple-max) !important;
  margin: 0 auto !important;
  padding: clamp(28px, 4vw, 48px) var(--apple-pad) !important;
  background: var(--apple-bg);
}

.trust-ribbon > div {
  display: grid;
  gap: 4px;
  padding: 4px clamp(16px, 2.8vw, 34px);
  border-right: 1px solid var(--apple-line);
  text-align: center;
}

.trust-ribbon > div:last-child { border-right: 0; }
.trust-ribbon strong { color: var(--apple-ink); font-size: clamp(1.05rem, 1.8vw, 1.4rem); letter-spacing: -.03em; }
.trust-ribbon span { color: var(--apple-copy); font-size: .78rem; }

/* Pathway cards */
.pathways,
.curated-devices,
.apple-reviews,
.apple-faq,
.apple-visit {
  max-width: var(--apple-max) !important;
  margin: 0 auto !important;
  padding: var(--apple-section) var(--apple-pad) !important;
}

.pathways { padding-top: clamp(64px, 8vw, 112px) !important; }

.pathway-grid {
  display: grid;
  grid-template-columns: 1.18fr .82fr;
  grid-template-rows: repeat(2, minmax(330px, 1fr));
  gap: clamp(16px, 2vw, 24px);
}

.pathway-card {
  position: relative;
  min-height: 0;
  display: block;
  overflow: hidden;
  border-radius: var(--apple-radius);
  color: var(--apple-ink) !important;
  background: #fff;
  box-shadow: 0 1px 0 rgba(0,0,0,.04);
  transform: translateZ(0);
  transition: transform .6s var(--apple-ease), box-shadow .6s var(--apple-ease);
}

.pathway-card:hover {
  color: var(--apple-ink) !important;
  transform: translateY(-8px);
  box-shadow: 0 34px 70px -40px rgba(0,0,0,.34);
}

.pathway-card-large { grid-row: 1 / 3; min-height: 680px; background: #050505; }
.pathway-card-shop { background: linear-gradient(145deg, #f7f7f9, #e9e9ed); }
.pathway-card-trade { background: linear-gradient(145deg, #111217, #252833); }

.pathway-copy {
  position: relative;
  z-index: 3;
  max-width: 540px;
  padding: clamp(28px, 4vw, 52px);
}

.pathway-card-large .pathway-copy,
.pathway-card-trade .pathway-copy { color: #fff; }
.pathway-card-large .pathway-copy h3,
.pathway-card-trade .pathway-copy h3 { color: #fff; }
.pathway-card-large .pathway-copy p,
.pathway-card-trade .pathway-copy p { color: rgba(255,255,255,.68); }

.pathway-copy > span {
  color: var(--apple-blue);
  font-size: .72rem;
  font-weight: 650;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.pathway-copy h3 {
  max-width: 11ch;
  margin: .65rem 0 .8rem;
  font-size: clamp(2rem, 3.7vw, 4rem);
  line-height: .98;
}

.pathway-card:not(.pathway-card-large) .pathway-copy h3 { font-size: clamp(1.8rem, 2.8vw, 2.85rem); }
.pathway-copy p { max-width: 40ch; font-size: .96rem; }
.pathway-copy strong { display: inline-block; margin-top: 1.1rem; color: var(--apple-blue); font-size: .94rem; }
.pathway-copy i { display: inline-block; font-style: normal; transition: transform .25s var(--apple-ease); }
.pathway-card:hover .pathway-copy i { transform: translateX(5px); }

.pathway-card > img {
  position: absolute;
  z-index: 1;
  object-fit: contain;
  transition: transform 1s var(--apple-ease), filter .6s ease;
}

.pathway-card-large > img {
  inset: 33% 0 0;
  width: 100%;
  height: 67%;
  object-fit: cover;
  object-position: center;
  opacity: .84;
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 24%);
  mask-image: linear-gradient(180deg, transparent, #000 24%);
}

.pathway-card-shop > img { right: -4%; bottom: -22%; width: 50%; filter: drop-shadow(0 24px 26px rgba(0,0,0,.18)); }
.pathway-card-trade > img {
  inset: 34% 0 0;
  width: 100%;
  height: 66%;
  object-fit: cover;
  object-position: center 58%;
  opacity: .92;
  filter: saturate(.88) contrast(1.04);
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 27%);
  mask-image: linear-gradient(180deg, transparent 0%, #000 27%);
}
.pathway-card:hover > img { transform: translateY(-8px) scale(1.035); }

/* Specialist service photography */
.specialty-showcase {
  max-width: var(--apple-max);
  margin: 0 auto;
  padding: 0 var(--apple-pad) var(--apple-section);
}

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

.specialty-card {
  position: relative;
  min-height: clamp(480px, 47vw, 620px);
  display: flex;
  align-items: end;
  overflow: hidden;
  border-radius: var(--apple-radius);
  color: #fff !important;
  background: #0b0d12;
  box-shadow: 0 28px 80px -56px rgba(0,0,0,.6);
  isolation: isolate;
  transition: transform .6s var(--apple-ease), box-shadow .6s var(--apple-ease);
}

.specialty-card:hover {
  color: #fff !important;
  transform: translateY(-8px);
  box-shadow: 0 38px 90px -52px rgba(0,0,0,.58);
}

.specialty-card > img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.1s var(--apple-ease), filter .6s ease;
}

.specialty-card:hover > img { transform: scale(1.035); }

.specialty-card-shade {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(4,7,12,.04) 18%, rgba(4,7,12,.22) 48%, rgba(4,7,12,.94) 100%);
}

.specialty-card > div { width: 100%; padding: clamp(28px, 4vw, 48px); }
.specialty-card > div > span { color: #6ab7ff; font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.specialty-card h3 { max-width: 12ch; margin: .65rem 0 .8rem; color: #fff; font-size: clamp(2.1rem, 4vw, 4rem); line-height: .98; }
.specialty-card p { max-width: 38ch; color: rgba(255,255,255,.72); font-size: .96rem; }
.specialty-card strong { display: inline-block; margin-top: 1.25rem; color: #6ab7ff; font-size: .94rem; }
.specialty-card i { display: inline-block; font-style: normal; transition: transform .25s var(--apple-ease); }
.specialty-card:hover i { transform: translateX(5px); }
.specialty-showcase .section-action { margin-top: 24px; }

/* Estimator */
.apple-estimate {
  max-width: none !important;
  margin: 0 !important;
  padding: var(--apple-section) max(var(--apple-pad), calc((100vw - var(--apple-max)) / 2)) !important;
  color: #fff;
  background:
    radial-gradient(circle at 80% 15%, rgba(0,113,227,.24), transparent 30%),
    linear-gradient(145deg, #0b0b0e, #16171c 58%, #0b0b0c);
}

.apple-estimate .repair-price-strip {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 12px !important;
  margin: 0 0 clamp(22px, 3vw, 34px) !important;
}

.apple-estimate .repair-price-strip article {
  min-height: 112px;
  display: grid;
  align-content: start;
  gap: 4px;
  padding: 18px !important;
  border: 1px solid rgba(255,255,255,.11) !important;
  border-radius: var(--apple-radius-sm) !important;
  background: rgba(255,255,255,.055) !important;
  box-shadow: none !important;
}

.apple-estimate .repair-price-strip span { color: rgba(255,255,255,.54); font-size: .76rem; }
.apple-estimate .repair-price-strip strong { color: #fff; font-size: 1.12rem; }
.apple-estimate .repair-price-strip small { color: rgba(255,255,255,.52); font-size: .73rem; }

.apple-estimate .home-estimate-app {
  display: block !important;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.12) !important;
  border-radius: var(--apple-radius) !important;
  background: rgba(255,255,255,.07) !important;
  box-shadow: 0 36px 100px -54px rgba(0,0,0,.9) !important;
  backdrop-filter: blur(20px);
}

.apple-estimate .estimate-panel {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 16px !important;
  padding: clamp(20px, 3vw, 34px) !important;
  background: transparent !important;
  border: 0 !important;
}
.apple-estimate .estimate-step:first-child { grid-column: 1 / -1; }

.apple-estimate .estimate-step {
  display: block !important;
  min-width: 0;
  height: auto !important;
}
.apple-estimate .estimate-step > span,
.apple-estimate .estimate-step > label {
  display: block;
  margin-bottom: 9px;
  color: rgba(255,255,255,.58) !important;
  font-size: .76rem !important;
  font-weight: 600 !important;
}

.apple-estimate .estimate-brand-row {
  display: grid !important;
  grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
  width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
  align-items: stretch !important;
  gap: 8px !important;
  padding: 0 0 5px !important;
  overflow: visible !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  scrollbar-width: none;
}
.apple-estimate .estimate-brand-row::-webkit-scrollbar { display: none; }

.apple-estimate .home-brand-option {
  min-height: 40px;
  width: 100%;
  padding: .55rem .8rem !important;
  border: 1px solid rgba(255,255,255,.12) !important;
  border-radius: 999px !important;
  color: rgba(255,255,255,.7) !important;
  background: rgba(255,255,255,.05) !important;
  font-size: .75rem !important;
}

.apple-estimate .home-brand-option.active {
  color: #fff !important;
  border-color: var(--apple-blue) !important;
  background: var(--apple-blue) !important;
}

.apple-estimate select {
  width: 100%;
  min-height: 48px;
  padding: 0 40px 0 14px !important;
  border: 1px solid rgba(255,255,255,.15) !important;
  border-radius: 13px !important;
  color: #fff !important;
  background-color: rgba(255,255,255,.08) !important;
}

.apple-estimate select option { color: #111; background: #fff; }

.apple-estimate .estimate-result {
  display: grid !important;
  width: 100% !important;
  grid-template-columns: 150px minmax(0, 1fr) minmax(180px, auto) !important;
  align-items: center !important;
  gap: clamp(18px, 3vw, 34px) !important;
  position: static !important;
  top: auto !important;
  text-align: left !important;
  padding: clamp(22px, 3vw, 36px) !important;
  border-top: 1px solid rgba(255,255,255,.1) !important;
  background: rgba(0,0,0,.18) !important;
}

.apple-estimate .estimate-result > img {
  width: 132px !important;
  height: 168px !important;
  object-fit: contain !important;
  filter: drop-shadow(0 24px 20px rgba(0,0,0,.42));
}

.apple-estimate .estimate-result span { color: rgba(255,255,255,.52) !important; font-size: .76rem; }
.apple-estimate .estimate-result strong { display: block; margin-top: 4px; color: #fff !important; font-size: clamp(1.45rem, 2.6vw, 2.35rem) !important; }
.apple-estimate .estimate-result p { color: rgba(255,255,255,.72) !important; }
.apple-estimate .estimate-result small { color: rgba(255,255,255,.45) !important; }
.apple-estimate .estimate-actions { display: grid !important; gap: 8px !important; }
.apple-estimate .estimate-actions .button { min-height: 42px; border-radius: 999px !important; }
.apple-estimate .estimate-actions .button.primary { color: #fff !important; background: var(--apple-blue) !important; border-color: var(--apple-blue) !important; }
.apple-estimate .estimate-actions .button.secondary { color: #fff !important; background: rgba(255,255,255,.08) !important; border-color: rgba(255,255,255,.16) !important; }

/* Curated devices */
.curated-devices { background: var(--apple-bg); }
.curated-devices .featured-grid {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 18px !important;
}

.curated-devices .product-card {
  min-width: 0;
  overflow: hidden;
  border: 0 !important;
  border-radius: 24px !important;
  background: #fff !important;
  box-shadow: none !important;
  transition: transform .55s var(--apple-ease), box-shadow .55s var(--apple-ease) !important;
}

.curated-devices .product-card:hover {
  transform: translateY(-8px) !important;
  box-shadow: 0 34px 64px -42px rgba(0,0,0,.34) !important;
}

.curated-devices .product-card > a:first-child { display: block; background: #f5f5f7; }
.curated-devices .product-art { min-height: 280px !important; background: #f5f5f7 !important; }
.curated-devices .product-art > span { top: 16px !important; left: 16px !important; color: var(--apple-copy) !important; background: rgba(255,255,255,.82) !important; }
.curated-devices .product-photo { width: 82% !important; height: 240px !important; object-fit: contain !important; filter: drop-shadow(0 22px 20px rgba(0,0,0,.15)); }
.curated-devices .product-body { display: grid !important; gap: 9px !important; padding: 22px !important; }
.curated-devices .product-body > p { color: #b64400 !important; font-size: .68rem !important; font-weight: 650 !important; text-transform: uppercase; }
.curated-devices .product-body h3 { font-size: 1.24rem !important; letter-spacing: -.03em; }
.curated-devices .product-body > span { min-height: 2.8em; color: var(--apple-copy) !important; font-size: .78rem; }
.curated-devices .product-specs,
.curated-devices .stock-options,
.curated-devices .price-row del { display: none !important; }
.curated-devices .price-row { margin-top: 4px; }
.curated-devices .price-row strong { color: var(--apple-ink); font-size: 1.12rem; }
.curated-devices .card-actions {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 8px !important;
  border-top: 1px solid var(--apple-line) !important;
  padding-top: 14px !important;
}

.curated-devices .card-actions a,
.curated-devices .card-actions button {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: .5rem .65rem !important;
  border: 1px solid rgba(0,113,227,.2) !important;
  border-radius: 999px !important;
  color: var(--apple-blue) !important;
  background: rgba(0,113,227,.055) !important;
  font-size: .7rem !important;
  font-weight: 600 !important;
  white-space: nowrap;
}

.curated-devices .card-actions a[href^="tel"] { display: none !important; }
.curated-devices .card-actions button { color: #fff !important; background: var(--apple-blue) !important; }
.curated-devices .section-action,
.apple-reviews .section-action { margin-top: 38px; text-align: center; }

/* Trade in feature */
.trade-story {
  position: relative;
  min-height: 650px;
  display: grid;
  grid-template-columns: minmax(0, .78fr) minmax(440px, 1.22fr);
  align-items: center;
  gap: clamp(30px, 6vw, 92px);
  max-width: none !important;
  margin: 0 !important;
  padding: var(--apple-section) max(var(--apple-pad), calc((100vw - var(--apple-max)) / 2)) !important;
  overflow: hidden;
  background: #fff;
}

.trade-story-copy { position: relative; z-index: 2; }
.trade-story-copy h2 { margin: 0; font-size: clamp(3rem, 6.2vw, 6.4rem); line-height: .9; }
.trade-story-copy > p:not(.apple-eyebrow) { max-width: 32rem; margin: 1.4rem 0 2rem; font-size: clamp(1.04rem, 1.6vw, 1.3rem); }
.trade-story-visual { position: relative; min-height: 440px; display: grid; place-items: center; }
.trade-story-visual::before {
  content: "";
  position: absolute;
  width: min(620px, 92%);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle at 34% 28%, #ffffff 0 8%, #d7e9ff 25%, #7db9ff 52%, #0069d9 80%, #00418e 100%);
  box-shadow: 0 70px 130px -70px rgba(0,91,200,.72);
}
.trade-story-visual img { position: relative; z-index: 2; width: min(430px, 68%); filter: drop-shadow(0 44px 32px rgba(0,0,0,.3)); transform: rotate(-8deg); }
.trade-orbit { position: absolute; z-index: 3; width: min(680px, 100%); height: 34%; border: 1px solid rgba(255,255,255,.52); border-radius: 50%; transform: rotate(-10deg); }

/* Government promo */
.government-promo {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 32px;
  max-width: calc(var(--apple-max) - (var(--apple-pad) * 2)) !important;
  margin: clamp(72px, 9vw, 132px) auto 0 !important;
  padding: clamp(36px, 5vw, 64px) !important;
  border-radius: var(--apple-radius);
  background: linear-gradient(128deg, #dff1ff, #f3f8ff 58%, #fff);
}

.government-promo h2 { max-width: 17ch; margin: 0; font-size: clamp(2rem, 3.6vw, 3.65rem); line-height: 1; }
.government-promo p:not(.apple-eyebrow) { max-width: 55ch; margin-top: 1rem; }

/* Reviews */
.apple-reviews { padding-top: clamp(92px, 12vw, 168px) !important; }
.review-summary { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: center; gap: 8px 12px; margin-top: 28px; }
.review-summary strong { color: var(--apple-ink); font-size: 3rem; letter-spacing: -.06em; }
.review-summary span { color: #f5a300; font-size: 1rem; letter-spacing: .06em; }
.review-summary small { flex-basis: 100%; color: var(--apple-copy); }

.apple-reviews #review-grid { margin-top: 0; }
.apple-reviews .review-card {
  border: 0 !important;
  border-radius: 24px !important;
  background: #fff !important;
  box-shadow: none !important;
}
.apple-reviews .rc-arrow { color: var(--apple-ink) !important; background: rgba(0,0,0,.06) !important; border: 0 !important; }
.apple-reviews .rc-dot { background: rgba(0,0,0,.18) !important; }
.apple-reviews .rc-dot.is-active { background: var(--apple-ink) !important; }

/* Repair film */
.repair-film {
  display: grid;
  grid-template-columns: minmax(330px, .74fr) minmax(0, 1.26fr);
  gap: clamp(44px, 7vw, 110px);
  align-items: center;
  max-width: none !important;
  margin: 0 !important;
  padding: var(--apple-section) max(var(--apple-pad), calc((100vw - var(--apple-max)) / 2)) !important;
  color: #fff;
  background: #000;
}

.repair-film h2 { margin: 0; color: #fff; font-size: clamp(3.3rem, 6vw, 6.4rem); line-height: .88; }
.repair-film-copy ol { display: grid; gap: 0; margin: 38px 0 30px; padding: 0; list-style: none; }
.repair-film-copy li { display: grid; grid-template-columns: 42px 1fr; gap: 16px; padding: 18px 0; border-top: 1px solid rgba(255,255,255,.13); }
.repair-film-copy li:last-child { border-bottom: 1px solid rgba(255,255,255,.13); }
.repair-film-copy li > span { color: rgba(255,255,255,.34); font-size: .72rem; }
.repair-film-copy li strong { color: #fff; font-size: 1rem; }
.repair-film-copy li p { margin-top: 3px; color: rgba(255,255,255,.55); font-size: .82rem; }
.repair-film-media { min-width: 0; }
.repair-film video { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--apple-radius); background: #111; box-shadow: 0 50px 100px -62px rgba(255,255,255,.22); }

/* FAQ */
.apple-faq .faq-list { max-width: 920px; display: grid; gap: 12px; margin-inline: auto; }
.apple-faq .faq-item {
  overflow: hidden;
  padding: 0 24px !important;
  border: 1px solid var(--apple-line) !important;
  border-radius: 22px !important;
  background: rgba(255,255,255,.88) !important;
  box-shadow: 0 18px 48px -44px rgba(0,0,0,.4) !important;
  transition: border-color .3s ease, box-shadow .4s var(--apple-ease), transform .4s var(--apple-ease);
}
.apple-faq .faq-item:hover,
.apple-faq .faq-item.open { border-color: rgba(0,113,227,.28) !important; box-shadow: 0 28px 62px -48px rgba(0,64,140,.48) !important; }
.apple-faq .faq-item button {
  width: 100%;
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 0 !important;
  border: 0 !important;
  color: var(--apple-ink) !important;
  background: transparent !important;
  font-size: clamp(1rem, 1.6vw, 1.18rem) !important;
  font-weight: 620;
  line-height: 1.25;
  text-align: left;
}
.apple-faq .faq-item button b {
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: var(--apple-blue);
  background: rgba(0,113,227,.09);
  font-size: 1.2rem;
  font-weight: 450;
  transition: color .25s ease, background .25s ease, transform .35s var(--apple-ease);
}
.apple-faq .faq-item.open button b { color: #fff; background: var(--apple-blue); transform: rotate(45deg); }
.apple-faq .faq-item p {
  max-width: 720px;
  max-height: 0;
  margin: 0 !important;
  overflow: hidden;
  opacity: 0;
  padding: 0 54px 0 0 !important;
  color: var(--apple-copy) !important;
  line-height: 1.65;
  transition: max-height .45s var(--apple-ease), opacity .25s ease, padding .45s var(--apple-ease);
}
.apple-faq .faq-item.open p { max-height: 260px; opacity: 1; padding: 0 54px 24px 0 !important; }

/* Visit */
.apple-visit { padding-top: 0 !important; }
.apple-visit .visit-panel {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(380px, .9fr) !important;
  align-items: stretch !important;
  overflow: hidden;
  border: 0 !important;
  border-radius: var(--apple-radius) !important;
  background: #fff !important;
  box-shadow: none !important;
}
.apple-visit .visit-panel > div { display: grid; align-content: center; padding: clamp(34px, 6vw, 72px) !important; }
.apple-visit .visit-panel h2 { max-width: 10ch; font-size: clamp(2.7rem, 5vw, 5rem); line-height: .94; }
.apple-visit .visit-panel p:not(.apple-eyebrow) { max-width: 44ch; margin-top: 1rem; font-size: 1.02rem; }
.apple-visit .visit-panel > img { width: 100% !important; height: 100% !important; min-height: 470px; object-fit: cover !important; border-radius: 0 !important; }
.apple-visit-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }

/* Global footer */
.site-footer {
  max-width: none !important;
  display: grid !important;
  grid-template-columns: 1.2fr .7fr .7fr 1fr !important;
  gap: clamp(28px, 5vw, 72px) !important;
  padding: clamp(56px, 8vw, 90px) max(var(--apple-pad), calc((100vw - var(--apple-max)) / 2)) !important;
  color: var(--apple-copy) !important;
  background: #e8e8ed !important;
  border: 0 !important;
}
.site-footer .footer-logo { width: 120px !important; height: auto !important; margin-bottom: 16px; }
.site-footer strong { color: var(--apple-ink) !important; font-size: .78rem !important; }
.site-footer p,
.site-footer a,
.site-footer button { color: #515154 !important; font-size: .76rem !important; }
.site-footer a:hover,
.site-footer button:hover { color: #000 !important; text-decoration: underline; }
.site-footer .footer-nav { display: grid; align-content: start; gap: 9px; }
.site-footer .footer-link-button { padding: 0; border: 0; background: transparent; text-align: left; }
.site-footer .footer-call { color: var(--apple-blue) !important; font-size: .95rem !important; }

/* De-emphasize legacy perpetual animation patterns */
.btn-fx-call,
.btn-fx-call::before,
.qa-call::before,
.mobile-dock a[href^="tel"]::before,
.footer-call,
.urgent,
.call-pulse { animation: none !important; }

.reveal-soft {
  opacity: 0;
  transform: translate3d(0, 24px, 0);
  transition: opacity .85s var(--apple-ease), transform .85s var(--apple-ease) !important;
}
.reveal-soft.is-in { opacity: 1; transform: translate3d(0, 0, 0); }

.cart-toast {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 180;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 18px;
  max-width: min(390px, calc(100vw - 40px));
  padding: 14px 16px;
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 16px;
  color: #fff;
  background: rgba(22,22,24,.92);
  box-shadow: 0 24px 70px -34px rgba(0,0,0,.8);
  backdrop-filter: blur(20px);
  transform: translateY(22px);
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s ease, transform .4s var(--apple-ease);
}
.cart-toast.is-visible { opacity: 1; transform: translateY(0); pointer-events: auto; }
.cart-toast strong { font-size: .86rem; }
.cart-toast a { color: #69aaff; font-size: .8rem; }

/* Responsive */
@media (max-width: 1180px) {
  .apple-hero { grid-template-columns: minmax(0, .78fr) minmax(500px, 1.22fr); }
  .curated-devices .featured-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: auto 1fr !important;
    grid-template-areas: "brand actions" !important;
    padding-inline: 18px !important;
  }
  .site-header .site-nav {
    position: fixed;
    top: 54px;
    left: 12px;
    right: 12px;
    bottom: auto !important;
    display: grid !important;
    width: auto !important;
    height: auto !important;
    max-height: calc(100svh - 70px) !important;
    justify-self: stretch !important;
    justify-items: stretch;
    gap: 2px !important;
    padding: 12px !important;
    border: 1px solid rgba(0,0,0,.08) !important;
    border-radius: 18px !important;
    background: rgba(250,250,252,.98) !important;
    box-shadow: 0 28px 70px -34px rgba(0,0,0,.45) !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px) scale(.98);
    transition: opacity .22s ease, transform .3s var(--apple-ease), visibility .22s ease;
  }
  .site-header .site-nav.open { opacity: 1; visibility: visible; transform: translateY(0) scale(1); }
  .site-header .site-nav a { min-height: 46px; padding: 0 12px !important; color: var(--apple-ink) !important; border-radius: 10px !important; font-size: .92rem !important; }
  .site-header .site-nav a:hover { background: rgba(0,0,0,.045) !important; }
  .apple-site .site-header.is-hero-mode .site-nav a { color: var(--apple-ink) !important; }
  .apple-site .site-header.is-hero-mode .site-nav a:hover,
  .apple-site .site-header.is-hero-mode .site-nav a[aria-current] { color: #000 !important; }
  .site-header .nav-toggle {
    display: inline-flex !important;
    min-height: 32px;
    padding: .4rem .7rem !important;
    border: 1px solid var(--apple-line) !important;
    border-radius: 999px !important;
    color: var(--apple-ink) !important;
    background: rgba(255,255,255,.7) !important;
    font-size: .74rem !important;
  }
  .site-header .header-cta { margin-left: 0; }

  .apple-hero {
    min-height: calc(100svh - 54px);
    padding-top: clamp(58px, 9vw, 92px) !important;
  }
  .apple-hero-copy { max-width: 760px; }
  .apple-hero h1 { max-width: none; }
  .spline-hero { width: 100%; }

  .pathway-grid { grid-template-columns: 1fr; grid-template-rows: auto; }
  .pathway-card-large { grid-row: auto; min-height: 600px; }
  .pathway-card:not(.pathway-card-large) { min-height: 380px; }

  .specialty-card { min-height: 500px; }

  .apple-estimate .estimate-brand-row { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
  .apple-estimate .estimate-result { grid-template-columns: 120px 1fr !important; }
  .apple-estimate .estimate-actions { grid-column: 1 / -1; grid-template-columns: repeat(3, 1fr) !important; }

  .trade-story { grid-template-columns: 1fr; }
  .trade-story-copy { max-width: 760px; }
  .trade-story-visual { min-height: 500px; }

  .repair-film { grid-template-columns: 1fr; }
  .repair-film-copy { max-width: 760px; }
  .repair-film-media { order: -1; }

  .apple-visit .visit-panel { grid-template-columns: 1fr !important; }
  .apple-visit .visit-panel > img { min-height: 360px; }

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

@media (max-width: 720px) {
  .apple-hero { min-height: calc(100svh - 54px); }
  .apple-hero h1 { font-size: clamp(3rem, 12.5vw, 4.8rem); }
  .apple-hero-lead { font-size: 1.05rem; }
  .spline-hero-media { border-radius: 0; }
  .spline-poster { object-position: 64% center; }
  .spline-controls { right: var(--apple-pad); bottom: 86px; }

  .trust-ribbon { grid-template-columns: repeat(2, 1fr); }
  .trust-ribbon > div { border-right: 1px solid var(--apple-line); border-bottom: 1px solid var(--apple-line); padding-block: 17px; }
  .trust-ribbon > div:nth-child(2n) { border-right: 0; }
  .trust-ribbon > div:nth-last-child(-n + 2) { border-bottom: 0; }

  .pathway-card-large { min-height: 560px; }
  .pathway-card:not(.pathway-card-large) { min-height: 430px; }
  .pathway-card-shop > img { width: 60%; right: -10%; bottom: -12%; }
  .pathway-card-trade > img { inset: 34% 0 0; width: 100%; height: 66%; }

  .specialty-grid { grid-template-columns: 1fr; }
  .specialty-card { min-height: 480px; }

  .apple-estimate .repair-price-strip { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
  .apple-estimate .estimate-panel { grid-template-columns: 1fr !important; }
  .apple-estimate .estimate-step:first-child { grid-column: auto; }
  .apple-estimate .estimate-brand-row { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 8px !important; }
  .apple-estimate .home-brand-option { min-height: 46px; white-space: normal; line-height: 1.15; }
  .apple-estimate .estimate-result { grid-template-columns: 88px 1fr !important; }
  .apple-estimate .estimate-result > img { width: 82px !important; height: 116px !important; }
  .apple-estimate .estimate-actions { grid-template-columns: 1fr !important; }

  .curated-devices .featured-grid { grid-template-columns: 1fr !important; }
  .curated-devices .product-art { min-height: 310px !important; }

  .trade-story { padding-bottom: 82px !important; }
  .trade-story-visual { min-height: 370px; }
  .trade-story-visual img { width: min(310px, 66%); }

  .government-promo { width: auto !important; grid-template-columns: 1fr; margin-inline: var(--apple-pad) !important; }
  .government-promo .apple-button { justify-self: start; }

  .repair-film-media { margin-inline: calc(-1 * var(--apple-pad)); }
  .repair-film video { border-radius: 0; }

  .apple-faq .faq-item { padding-inline: 18px !important; border-radius: 18px !important; }
  .apple-faq .faq-item button { min-height: 72px; gap: 12px; }
  .apple-faq .faq-item button b { width: 32px; height: 32px; flex-basis: 32px; }
  .apple-faq .faq-item p,
  .apple-faq .faq-item.open p { padding-right: 0 !important; }

  body.has-dock .cookie-bar {
    left: 16px !important;
    right: 16px !important;
    bottom: 88px !important;
    width: auto !important;
    max-height: none !important;
    padding: 14px !important;
    border-radius: 20px !important;
  }
  body.has-dock .cookie-bar p { font-size: .77rem !important; line-height: 1.38 !important; }
  body.has-dock .cookie-actions { grid-template-columns: 1fr 1fr !important; }

  .site-footer { grid-template-columns: 1fr !important; }
  .mobile-dock { background: rgba(255,255,255,.92) !important; backdrop-filter: blur(18px); border-top: 1px solid var(--apple-line) !important; }
  .mobile-dock a { color: var(--apple-copy) !important; }
  .mobile-dock a[href^="tel"] { color: var(--apple-blue) !important; }
}

@media (max-width: 520px) {
  .site-header .brand-logo { height: 38px !important; }
  .site-header .header-cta { font-size: .68rem !important; padding-inline: .62rem !important; }
  .site-header .request-bag { font-size: 0; gap: 0; padding-inline: .25rem; }
  .site-header .request-bag::before { content: "Bag"; font-size: .68rem; }
  .site-header .request-bag span { margin-left: 4px; }
  .apple-hero-actions { display: grid; grid-template-columns: 1fr 1fr; }
  .apple-hero-actions .apple-button { padding-inline: .85rem; font-size: .86rem; }
  .spline-controls { min-height: 32px; }
  .spline-status { font-size: .68rem; }
  .pathway-copy { padding: 28px 24px; }
  .pathway-card-large { min-height: 520px; }
  .pathway-card:not(.pathway-card-large) { min-height: 390px; }
  .apple-section-head h2 { font-size: clamp(2.3rem, 13vw, 3.65rem); }
  .apple-estimate .repair-price-strip article { min-height: 104px; padding: 15px !important; }
  .apple-visit-actions { display: grid; }
  .apple-visit .visit-panel > div { padding: 34px 24px !important; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .apple-hero-copy,
  .spline-hero,
  .reveal-soft { opacity: 1 !important; transform: none !important; }
  .magnetic-surface { --mag-x: 0px !important; --mag-y: 0px !important; transform: none !important; }
}
