/* Apple-inspired web treatment for MV Solutions.
   This uses native web materials and system typography, not Apple assets. */
:root {
  --ink: #1d1d1f;
  --blue: #0071e3;
  --cyan: #63b8ff;
  --mist: #f5f5f7;
  --line: rgba(29, 29, 31, .12);
  --white: #fbfbfd;
  --surface: #ffffff;
  --surface-soft: #f5f5f7;
  --muted: #6e6e73;
  --nav-height: 64px;
  --radius-small: 14px;
  --radius-medium: 24px;
  --radius-large: 36px;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --pad: max(24px, calc((100vw - 1280px) / 2));
}

* { -webkit-font-smoothing: antialiased; }
html { background: var(--surface-soft); scroll-padding-top: 92px; }
body {
  background: var(--surface-soft);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", "Helvetica Neue", Arial, sans-serif;
}
body::selection { background: rgba(0, 113, 227, .18); }
em { color: inherit; font-style: normal; }

.utility-bar {
  min-height: 34px;
  padding-block: 8px;
  background: rgba(245, 245, 247, .92);
  color: #6e6e73;
  font-size: 12px;
}
.site-header {
  top: 0;
  height: var(--nav-height);
  border: 0;
  background: rgba(251, 251, 253, .78);
  box-shadow: 0 1px 0 rgba(0, 0, 0, .06);
  -webkit-backdrop-filter: saturate(180%) blur(24px);
  backdrop-filter: saturate(180%) blur(24px);
}
.wordmark {
  font-size: 22px;
  line-height: .75;
  letter-spacing: -1.4px;
}
.wordmark span:last-child { letter-spacing: -1.7px; }
.site-header nav { gap: 25px; font-size: 13px; }
.site-header nav a::after { display: none; }
.nav-dropdown summary { padding-block: 20px; }
.nav-dropdown summary::after { content: "⌄"; color: #86868b; }
.dropdown-panel {
  top: calc(100% - 2px);
  min-width: 300px;
  padding: 10px;
  border: 1px solid rgba(0, 0, 0, .07);
  border-radius: 18px;
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 22px 60px rgba(0, 0, 0, .14);
  -webkit-backdrop-filter: saturate(180%) blur(24px);
  backdrop-filter: saturate(180%) blur(24px);
}
.site-header .dropdown-panel a { border-radius: 12px; }
.site-header .dropdown-panel a:hover { background: #f5f5f7; transform: none; }
.config-nav { color: var(--blue); }
.call-link {
  border: 0;
  border-radius: 999px;
  padding: 10px 17px;
  background: var(--blue);
  color: #fff;
}
.call-link:hover { background: #0077ed; transform: scale(1.025); }

.hero {
  min-height: calc(100dvh - 98px);
  grid-template-columns: minmax(0, .86fr) minmax(0, 1.14fr);
  grid-template-rows: 1fr auto;
  background:
    radial-gradient(circle at 18% 12%, rgba(99, 184, 255, .18), transparent 31rem),
    var(--surface-soft);
}
.hero-copy { padding: clamp(76px, 11vh, 126px) 5vw 64px var(--pad); }
.eyebrow, .section-index, .config-kicker {
  color: #6e6e73;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .03em;
  text-transform: none;
}
.hero h1,
.intro h2,
.section-heading h2,
.replace h2,
.business h2,
.final-cta h2,
.choice-help h2,
.page-hero h1,
.page-section > h2,
.page-lede h2,
.config-step h1 {
  color: var(--ink);
  font-weight: 700;
  letter-spacing: -.055em;
  text-wrap: balance;
}
.hero h1 { max-width: 9ch; margin: 16px 0 22px; font-size: clamp(52px, 5.6vw, 86px); line-height: .98; }
.hero .lead { max-width: 33rem; color: var(--muted); font-size: clamp(17px, 1.5vw, 21px); line-height: 1.55; }
.hero-actions { gap: 10px; margin-top: 30px; }
.button, .config-primary, .footer-call {
  min-height: 48px;
  border-radius: 999px;
  padding: 13px 22px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -.01em;
  transition: transform 180ms var(--ease), background 180ms ease, box-shadow 180ms ease;
}
.button span, .config-primary span { font-size: 14px; }
.button:active, .config-primary:active, .call-link:active { transform: scale(.97); }
.primary, .config-primary { background: var(--blue); color: #fff; }
.primary:hover, .config-primary:not(:disabled):hover { background: #0077ed; box-shadow: none; transform: translateY(-1px); }
.outline, .ghost {
  border: 0;
  background: rgba(0, 113, 227, .1);
  color: #0066cc;
}
.dark { background: var(--ink); color: #fff; }

.hero-media {
  height: auto;
  min-height: 600px;
  margin: 28px var(--pad) 28px 0;
  border-radius: var(--radius-large);
  box-shadow: 0 30px 80px rgba(35, 62, 99, .13);
}
.hero-media img { filter: saturate(.82) contrast(.96) brightness(1.04); }
.hero-media::after { background: linear-gradient(0deg, rgba(0, 0, 0, .48), transparent 42%); }
.media-note { bottom: 34px; left: 36px; letter-spacing: 0; }
.media-note b { font-size: 23px; }
.airflow { display: none; }
.trust-strip { padding: 0 var(--pad) 28px; background: transparent; border: 0; }
.trust-strip div {
  margin-top: 12px;
  padding: 20px 24px;
  border: 0;
  border-right: 1px solid var(--line);
  background: rgba(255, 255, 255, .58);
}
.trust-strip div:first-child { border-radius: 18px 0 0 18px; }
.trust-strip div:last-child { border: 0; border-radius: 0 18px 18px 0; }
.trust-strip strong { color: var(--ink); font-size: 17px; }
.trust-strip span { color: var(--muted); }

.services, .pricing, .replace, .box-overview, .business, .choice-help, .final-cta,
.page-section, .page-hero, .page-cta { padding-inline: var(--pad); }
.services { padding-block: 128px 116px; background: var(--surface); }
.section-heading { display: block; max-width: 780px; margin-bottom: 56px; }
.section-heading h2 { margin: 12px 0 20px; font-size: clamp(46px, 5vw, 72px); line-height: 1.02; }
.section-heading > p { max-width: 590px; color: var(--muted); font-size: 18px; line-height: 1.55; }
.service-grid { grid-template-columns: 1.2fr .9fr .9fr; gap: 18px; }
.service-column {
  min-height: 500px;
  padding: 34px;
  border: 0;
  border-radius: var(--radius-medium);
  background: var(--surface-soft);
}
.service-column:first-child {
  background:
    radial-gradient(circle at 90% 6%, rgba(99, 184, 255, .28), transparent 18rem),
    #eef6ff;
}
.service-column:hover { border-color: transparent; transform: translateY(-3px); }
.service-number { color: var(--muted); margin-bottom: 42px; }
.service-column h3 { font-size: clamp(30px, 3vw, 42px); }
.service-column > p { min-height: 78px; color: var(--muted); }
.service-detail { border-color: var(--line); }
.service-detail a { color: #0066cc; }
.service-link { border-color: var(--line); }

.pricing { padding-block: 124px; background: var(--surface-soft); }
.maintenance-grid { gap: 18px; }
.maintenance-grid .price-card, .price-card {
  min-height: 470px;
  padding: 36px;
  border: 0;
  border-radius: var(--radius-medium);
  background: var(--surface);
  box-shadow: none;
}
.maintenance-grid .price-card:hover, .price-card:hover {
  border-color: transparent;
  box-shadow: 0 24px 70px rgba(0, 0, 0, .09);
  transform: translateY(-3px);
}
.maintenance-grid .price-top strong, .price-top strong { color: var(--ink); font-size: clamp(42px, 4vw, 58px); }
.price-card p { color: var(--muted); }
.price-card ul { border-color: var(--line); }
.price-card li::before { color: var(--blue); }
.price-card > a { border-color: var(--line); color: #0066cc; }
.price-card .configure-package {
  border: 0;
  border-radius: 999px;
  background: var(--blue);
  color: #fff;
  justify-content: center;
  padding: 13px 18px;
}
.tariff-extra { color: var(--muted); }

.replace { min-height: 0; padding-block: 128px; background: var(--surface); }
.replace h2, .business h2 { font-size: clamp(45px, 5vw, 70px); }
.replace-copy > p:not(.section-index), .business-copy > p:not(.section-index) { color: var(--muted); }
.product-stage { min-height: 560px; border-radius: var(--radius-large); background: #f1f7ff; }
.orb { background: radial-gradient(circle at 35% 28%, #fff 0, #e8f2ff 58%, #cddff5 100%); }

.box-overview { padding-block: 120px; background: var(--surface-soft); }
.box-grid { gap: 18px; }
.box-card { border: 0 !important; border-radius: var(--radius-medium) !important; background: var(--surface) !important; }

.business { padding-block: 122px; background: var(--surface); color: var(--ink); }
.business-visual { height: 520px; border: 0; border-radius: var(--radius-large); background: #e9f3ff; }
.business-visual p { color: #26496f; }
.business h2 { color: var(--ink); }
.building-grid { opacity: .55; }
.business-visual::after { border-color: rgba(0, 113, 227, .35); }
.business-copy > p:not(.section-index) { color: var(--muted); }

.choice-help { padding-block: 126px; background: var(--surface-soft); }
.choice-help > div > p:not(.section-index) { color: var(--muted); }
.help-questions {
  padding: 10px 30px;
  border-radius: var(--radius-medium);
  background: var(--surface);
}
.final-cta { padding-block: 140px; background: var(--surface); }
.final-cta h2 { margin: 14px auto 32px; max-width: 14ch; font-size: clamp(48px, 6vw, 86px); }
.final-cta > div { gap: 10px; }

.page-hero { padding-top: 94px; background: var(--surface-soft); }
.page-hero-inner { gap: 72px; padding-bottom: 84px; }
.page-hero h1 { margin: 14px 0 22px; font-size: clamp(48px, 5.4vw, 76px); line-height: 1.01; }
.page-hero .lead, .page-lede p { color: var(--muted); }
.page-hero-aside, .fact-card, .page-note {
  border: 0;
  border-radius: var(--radius-medium);
  background: var(--surface);
}
.page-hero-aside { padding: 34px; }
.page-section { padding-block: 110px; background: var(--surface); }
.page-section.soft, .page-section.ink { background: var(--surface-soft); }
.page-section > h2, .page-lede h2 { font-size: clamp(40px, 4.2vw, 60px); }
.fact-grid { grid-template-columns: 1.2fr .9fr .9fr; gap: 18px; }
.fact-card { padding: 30px; }
.check-list li, .detail-list .service-detail, .legal-note { border-color: var(--line); }
.page-cta { padding-block: 112px; background: var(--surface-soft); }
.page-cta h2 { margin-inline: auto; max-width: 16ch; }

.site-footer { background: #1d1d1f; }
.footer-main { grid-template-columns: minmax(250px, 1.35fr) repeat(4, minmax(130px, .7fr)); }
.footer-intro p, .footer-group a, .footer-group address, .footer-group span { color: #a1a1a6; }
.footer-group h2, .footer-bottom { color: #86868b; }
.footer-call { border-color: rgba(255, 255, 255, .16); }

/* Configurator */
.config-page { background: var(--surface-soft); }
.config-header {
  position: sticky;
  top: 0;
  z-index: 8;
  min-height: 68px;
  padding-block: 6px;
  border: 0;
  background: rgba(251, 251, 253, .78);
  box-shadow: 0 1px 0 rgba(0, 0, 0, .06);
  -webkit-backdrop-filter: saturate(180%) blur(24px);
  backdrop-filter: saturate(180%) blur(24px);
}
.config-header img { width: 176px; height: 54px; }
.config-shell { max-width: 1330px; padding-bottom: 80px; }
.config-progress { padding: 28px 0 34px; }
.config-progress ol {
  width: fit-content;
  gap: 4px;
  padding: 4px;
  border-radius: 999px;
  background: rgba(118, 118, 128, .12);
}
.config-progress button { min-height: 36px; gap: 7px; padding: 4px 14px 4px 6px; border-radius: 999px; }
.config-progress button span { width: 28px; height: 28px; border: 0; background: transparent; }
.config-progress button[aria-current="step"] { background: #fff; color: var(--ink); box-shadow: 0 1px 4px rgba(0, 0, 0, .12); }
.config-progress button[aria-current="step"] span { background: var(--blue); }
.config-progress button.is-complete span { border: 0; background: rgba(0, 113, 227, .12); color: var(--blue); }
.config-layout { grid-template-columns: minmax(0, 1fr) 318px; gap: 28px; }
.config-step h1 { max-width: 11ch; margin-bottom: 18px; font-size: clamp(45px, 4.6vw, 66px); line-height: 1.01; }
.config-intro { color: var(--muted); font-size: 18px; }
.system-switch span, .situation-options label > span {
  border: 0;
  border-radius: 999px;
  background: rgba(118, 118, 128, .12);
}
.system-switch input:checked + span { background: var(--ink); }
.config-help, .included-box, .request-box { border-radius: var(--radius-medium); background: #e9f3ff; }
.config-products { gap: 12px; }
.product-option-inner {
  padding: 22px;
  border: 2px solid transparent;
  border-radius: var(--radius-medium);
  background: var(--surface);
}
.product-option input:checked + .product-option-inner { border-color: var(--blue); box-shadow: 0 12px 32px rgba(0, 113, 227, .1); }
.product-option img { height: 185px; }
.product-name { font-size: 24px; }
.product-description, .product-price-note, .fine-print, .summary-empty, #summary-lines, .summary-included ul, .summary-contact { color: var(--muted); }
.product-select { border-radius: 999px; background: rgba(0, 113, 227, .1); color: #0066cc; }
.product-option input:checked + .product-option-inner .product-select { background: var(--blue); }
.comparison { border-color: var(--line); }
.config-summary {
  top: 92px;
  padding: 26px;
  border: 0;
  border-radius: var(--radius-medium);
  background: rgba(255, 255, 255, .86);
  box-shadow: 0 18px 50px rgba(0, 0, 0, .08);
  -webkit-backdrop-filter: saturate(160%) blur(20px);
  backdrop-filter: saturate(160%) blur(20px);
}
.summary-total, .summary-included { border-color: var(--line); }
.extra-option, .review-block {
  border: 0;
  background: var(--surface);
}
.extra-option { border-radius: var(--radius-medium); }
.review-block:first-of-type { border-radius: var(--radius-medium) var(--radius-medium) 0 0; }
.request-box { border-radius: 0 0 var(--radius-medium) var(--radius-medium); }
.quantity-control { border: 0; border-radius: 999px; background: rgba(118, 118, 128, .12); }
.quantity-control button { background: transparent; }
.quantity-control input { background: transparent; }
.text-input, #config-notes, #copy-fallback { border: 1px solid rgba(29, 29, 31, .18); border-radius: var(--radius-small); }

:is(a, button, input, textarea, summary):focus-visible {
  outline: 3px solid rgba(0, 113, 227, .72) !important;
  outline-offset: 3px !important;
}

@media (max-width: 1100px) {
  .site-header nav { gap: 16px; }
  .hero { grid-template-columns: 1fr 1fr; }
  .hero h1 { font-size: 56px; }
  .service-grid { grid-template-columns: 1fr 1fr; }
  .service-column:first-child { grid-column: 1 / -1; }
}

@media (max-width: 980px) {
  .site-header.open nav {
    top: var(--nav-height);
    padding: 20px 24px;
    border: 0;
    background: rgba(251, 251, 253, .96);
    box-shadow: 0 22px 50px rgba(0, 0, 0, .12);
    -webkit-backdrop-filter: blur(24px);
    backdrop-filter: blur(24px);
  }
  .nav-dropdown summary { padding-block: 11px; }
  .dropdown-panel { border-radius: var(--radius-small); box-shadow: none; }
  .hero { grid-template-columns: 1fr; min-height: 0; }
  .hero-copy { padding: 74px 24px 48px; }
  .hero h1 { max-width: 12ch; }
  .hero-media { min-height: 560px; margin: 0 24px 24px; }
  .trust-strip { grid-column: 1; padding: 0 24px 32px; }
  .service-grid { grid-template-columns: 1fr; }
  .service-column:first-child { grid-column: auto; }
  .fact-grid { grid-template-columns: 1fr; }
  .config-layout { grid-template-columns: 1fr; }
  .config-summary { position: static; }
}

@media (max-width: 700px) {
  :root { --radius-medium: 20px; --radius-large: 26px; }
  .utility-bar { padding-inline: 20px; }
  .utility-bar > div a:first-child { display: none; }
  .site-header { height: 58px; padding-inline: 20px; }
  .wordmark { font-size: 20px; }
  .hero-copy { padding: 58px 22px 38px; }
  .hero h1 { font-size: clamp(43px, 13vw, 62px); }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .hero-actions .button { width: 100%; }
  .hero-media { min-height: 440px; margin: 0 14px 18px; }
  .trust-strip { grid-template-columns: 1fr; padding: 0 14px 28px; }
  .trust-strip div { margin: 0; border: 0; border-bottom: 1px solid var(--line); border-radius: 0 !important; }
  .trust-strip div:first-child { border-radius: 18px 18px 0 0 !important; }
  .trust-strip div:last-child { border-radius: 0 0 18px 18px !important; }
  .services, .pricing, .replace, .box-overview, .business, .choice-help, .final-cta,
  .page-section, .page-cta { padding: 74px 22px; }
  .section-heading h2 { font-size: 43px; }
  .service-column { min-height: 0; }
  .maintenance-grid .price-card { padding: 28px; }
  .product-stage { min-height: 440px; }
  .business-visual { height: 380px; }
  .help-questions { padding: 6px 22px; }
  .final-cta h2 { font-size: 48px; }
  .page-hero { padding: 58px 22px 0; }
  .page-hero h1 { font-size: 45px; }
  .footer-main { grid-template-columns: 1fr; }
  .config-header { min-height: 58px; padding-inline: 18px; }
  .config-header img { width: 145px; height: 44px; }
  .config-shell { padding-inline: 16px; }
  .config-progress { overflow-x: auto; padding: 18px 0 24px; }
  .config-progress ol { min-width: max-content; }
  .config-progress button { flex-direction: row; font-size: 12px; }
  .config-step h1 { font-size: 43px; }
  .product-option-inner { border-radius: var(--radius-medium); }
  .config-summary { padding: 24px; }
}

@media (prefers-color-scheme: dark) {
  /* MV's photographic brand is intentionally light-first. Dark mode keeps chrome legible
     while content stays light, avoiding inverted product photography and mixed layouts. */
  .site-header, .config-header { background: rgba(251, 251, 253, .86); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
  .service-column:hover, .price-card:hover, .button:hover, .config-primary:hover { transform: none !important; }
}

@media (prefers-reduced-transparency: reduce) {
  .site-header, .config-header, .dropdown-panel, .config-summary {
    background: #fbfbfd;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
}

.mobile-quote { display: none; }
.config-step[data-panel="0"] h1 { max-width: 16ch; }
.config-step[data-panel="0"] > .config-kicker { color: #426187; }
.config-page .product-option input:focus-visible + .product-option-inner,
.config-page .system-switch input:focus-visible + span,
.config-page .situation-options input:focus-visible + span {
  outline: 3px solid #0071e3;
  outline-offset: -3px;
}
@media (min-width: 981px) {
  .config-page { overflow-x: clip; }
}
@media (max-width: 980px) {
  .config-page .step-actions:has(.config-primary:not([hidden]):not(:disabled)) {
    position: sticky;
    bottom: 0;
    z-index: 4;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 8px 12px;
    margin-inline: -8px;
    padding: 10px 12px max(10px, env(safe-area-inset-bottom));
    border: 1px solid #d5e0ed;
    border-radius: 18px 18px 0 0;
    background: #fff;
    box-shadow: 0 -12px 26px #18355316;
  }
  .mobile-quote { display: grid; gap: 3px; margin-right: auto; }
  .mobile-quote span { color: #4a5b71; font-size: 12px; }
  .mobile-quote strong { color: #142a43; font-size: 18px; font-variant-numeric: tabular-nums; }
  .config-page { overflow-x: clip; }
  .config-page .step-actions:has(.config-primary:not([hidden]):not(:disabled)) .config-back {
    order: 2;
    width: 100%;
    padding: 8px;
    text-align: center;
  }
  .config-page .step-actions:has(.config-primary:not([hidden]):not(:disabled)) .config-primary {
    width: auto;
    min-height: 44px;
    padding: 8px 13px;
    font-size: 13px;
  }
}
@media (max-width: 600px) {
  .config-progress ol {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    min-width: 0;
    width: 100%;
    border-radius: 16px;
  }
  .config-progress button {
    justify-content: start;
    flex-direction: column;
    width: 100%;
    min-height: 60px;
    padding: 5px 1px;
    gap: 3px;
    font-size: 11px;
  }
  .config-step h1 { font-size: clamp(36px, 10vw, 46px); }
}

.site-header .nav-dropdown > summary {
  display: flex;
  align-items: center;
  gap: 9px;
}
.site-header .nav-dropdown > summary::-webkit-details-marker { display: none; }
.site-header .nav-dropdown > summary::after {
  content: "";
  display: block;
  width: 7px;
  height: 7px;
  margin: -4px 0 0;
  border: solid currentColor;
  border-width: 0 1.5px 1.5px 0;
  color: #526379;
  transform: rotate(45deg);
}
.site-header .nav-dropdown[open] > summary::after {
  margin-top: 3px;
  transform: rotate(225deg);
}
.site-header:has(.config-nav) .call-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  justify-self: end;
  min-height: 36px;
  white-space: nowrap;
}
.site-header:has(.config-nav) { grid-template-columns: minmax(85px, 1fr) auto minmax(85px, 1fr); }
@media (max-width: 980px) {
  .site-header:has(.config-nav) { grid-template-columns: 1fr auto auto; }
  .site-header .nav-dropdown > summary { justify-content: space-between; }
}
