/* Magic Clean, shared styles.
   Colors are approximated from the printed flyers; replace the hex values
   below when the exact codes from Affinity are available. */
:root {
  --mint: #39B77C;
  --mint-deep: #1F7F55;
  --ink: #1E2629;
  --slate: #4B4D4F;
  --paper: #F2F2F1;
  --white: #FFFFFF;
  --line: #D3DAD8;
  --teal: #31B5B7;
  --black: #000000;
  --radius: 14px;
  --wrap: 1120px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif; font-size: 1.0625rem; line-height: 1.6; color: var(--ink); background: var(--white); -webkit-font-smoothing: antialiased; }
h1, h2, h3 { font-family: "Montserrat", "Figtree", system-ui, sans-serif; line-height: 1.08; margin: 0; letter-spacing: -0.015em; }
p { margin: 0; }
a { color: inherit; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 4px; }
.on-dark :focus-visible, .page-dark :focus-visible { outline-color: var(--teal); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--white); padding: 10px 14px; border-radius: 8px; z-index: 50; }
.skip:focus { left: 8px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 26px; border-radius: 999px; font-family: "Montserrat", sans-serif; font-weight: 600; font-size: 1.0625rem; text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: background-color .18s ease, color .18s ease, border-color .18s ease; }
.btn-mint { background: var(--mint); color: var(--ink); }
.btn-mint:hover { background: #2fa56c; }
.btn-line { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-line:hover { background: var(--ink); color: var(--white); }
.btn-teal { background: var(--teal); color: var(--black); }
.btn-teal:hover { background: #4fc6c9; }

/* Header and navigation */
.site-header { position: relative; background: var(--paper); padding-bottom: 5px; }
.site-header::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 5px; background: linear-gradient(90deg, var(--mint) 0%, var(--teal) 50%, var(--mint) 100%); background-size: 200% 100%; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 76px; flex-wrap: wrap; padding-top: 8px; padding-bottom: 8px; }
.wordmark { display: inline-flex; flex-direction: column; line-height: .9; text-decoration: none; font-family: "Montserrat", sans-serif; font-weight: 700; }
.wordmark .w1, .wordmark .w2 { font-size: 1.5rem; letter-spacing: -0.02em; }
.wordmark .w1 { color: var(--ink); }
.wordmark .w2 { color: var(--mint-deep); }
.nav { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.nav a { text-decoration: none; font-family: "Montserrat", sans-serif; font-weight: 500; padding: 10px 14px; border-radius: 999px; }
.nav a:hover { background: rgba(0,0,0,.06); }
.nav a[aria-current="page"] { background: var(--ink); color: var(--white); }
.nav .btn { min-height: 44px; padding: 0 20px; font-size: 1rem; margin-left: 8px; }
.nav .btn:hover { background: #2fa56c; }
.head-phone { font-family: "Montserrat", sans-serif; font-weight: 600; text-decoration: none; white-space: nowrap; margin-left: 8px; }
.head-phone:hover { text-decoration: underline; }

/* Home hero */
.hero { background: var(--paper); position: relative; overflow: hidden; padding: 72px 0 80px; }
.hero::before { content: ""; position: absolute; right: -14%; top: -40%; width: 62%; aspect-ratio: 1; border-radius: 50%; background: var(--mint); opacity: .34; }
.hero::after { content: ""; position: absolute; right: 14%; bottom: -55%; width: 38%; aspect-ratio: 1; border-radius: 50%; background: var(--teal); opacity: .28; }
.hero .wrap { position: relative; }
.hero h1 { font-size: clamp(2.8rem, 7vw, 5.2rem); font-weight: 700; max-width: 12ch; }
.hero-lead { margin-top: 22px; max-width: 36rem; font-size: 1.1875rem; color: var(--slate); }
.hero-cta { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 12px; }
.hero-note { margin-top: 22px; font-size: .9875rem; color: var(--slate); }

/* Home: the two divisions */
.split { display: grid; grid-template-columns: 1fr 1fr; }
.panel { display: block; padding: 56px 40px 60px; text-decoration: none; transition: filter .18s ease; }
.panel:hover { filter: brightness(1.06); }
.panel h2 { font-size: clamp(1.9rem, 3.8vw, 2.6rem); font-weight: 700; }
.panel p { margin-top: 12px; max-width: 26rem; }
.panel ul { margin: 22px 0 0; padding: 0; list-style: none; display: grid; gap: 8px; font-weight: 500; }
.panel .go { display: inline-block; margin-top: 28px; font-family: "Montserrat", sans-serif; font-weight: 600; border-bottom: 2px solid currentColor; padding-bottom: 2px; }
.panel-commercial { background: var(--mint); color: var(--ink); }
.panel-detailing { background: var(--black); color: var(--white); }
.panel-detailing p { color: #C9D3D2; }
.panel-detailing .go { color: var(--teal); }

/* Sections */
.section { padding: 88px 0; }
.section-head { max-width: 40rem; margin-bottom: 44px; }
.section-head h2 { font-size: clamp(2rem, 4.4vw, 3rem); font-weight: 700; }
.section-head p { margin-top: 14px; color: var(--slate); font-size: 1.125rem; }
.page-head { background: var(--paper); padding: 64px 0 56px; }
.page-head h1 { font-size: clamp(2.4rem, 5.6vw, 4rem); font-weight: 700; }
.page-head p { margin-top: 16px; max-width: 38rem; font-size: 1.1875rem; color: var(--slate); }

.svc-list { border-top: 2px solid var(--ink); }
.svc-row { display: grid; grid-template-columns: 1fr 1.4fr; gap: 12px 48px; padding: 30px 0; border-bottom: 1px solid var(--line); }
.svc-row h3 { font-size: 1.6rem; font-weight: 600; }
.svc-row p { color: var(--slate); }
.svc-row strong { color: var(--ink); font-weight: 600; }

.why { background: var(--paper); }
.why dl { margin: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 36px 56px; }
.why dt { font-family: "Montserrat", sans-serif; font-weight: 600; font-size: 1.35rem; }
.why dd { margin: 6px 0 0; color: var(--slate); }

.area-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.area-grid h2 { font-size: clamp(2rem, 4.4vw, 3rem); font-weight: 700; }
.area-grid p { color: var(--slate); font-size: 1.125rem; }
.area-grid p + p { margin-top: 14px; }

.cta-band { background: var(--mint); padding: 64px 0; }
.cta-band .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.cta-band h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 700; max-width: 22ch; }
.cta-band .btn { background: var(--ink); color: var(--white); }
.cta-band .btn:hover { background: #000; }

/* Detailing page (dark) */
.page-dark { background: var(--black); color: var(--white); }
.page-dark .site-header { background: var(--black); }
.page-dark .wordmark .w1 { color: var(--white); }
.page-dark .wordmark .w2 { color: var(--teal); }
.page-dark .nav a:hover { background: rgba(255,255,255,.12); }
.page-dark .nav a[aria-current="page"] { background: var(--teal); color: var(--black); }
.page-dark .head-phone { color: var(--white); }
.page-dark .page-head { background: var(--black); border-bottom: 1px solid #2a2f31; }
.page-dark .page-head p { color: #C9D3D2; }
.pkgs { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 3px solid var(--teal); }
.pkg { padding: 32px 28px 36px 0; }
.pkg + .pkg { padding-left: 28px; border-left: 1px solid #2a2f31; }
.pkg h3 { font-size: 1.7rem; font-weight: 600; }
.pkg .sub { margin-top: 8px; color: #C9D3D2; }
.pkg ul { margin: 20px 0 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.pkg li { padding-left: 22px; position: relative; }
.pkg li::before { content: ""; position: absolute; left: 0; top: .62em; width: 10px; height: 2px; background: var(--teal); }
.addons { margin-top: 26px; padding-top: 26px; border-top: 1px solid #2a2f31; color: #C9D3D2; }
.addons strong { color: var(--white); font-weight: 600; }
.page-dark .cta-band { background: var(--teal); }
.page-dark .cta-band h2 { color: var(--black); }
.page-dark .cta-band .btn { background: var(--black); color: var(--white); }

/* Contact */
.quote-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: start; }
.quote-grid h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 700; }
.quote-grid .lead { margin-top: 14px; font-size: 1.1875rem; color: var(--slate); }
.direct { margin-top: 28px; display: grid; gap: 6px; font-family: "Montserrat", sans-serif; font-weight: 600; font-size: 1.25rem; }
.direct a { text-decoration: none; }
.direct a:hover { text-decoration: underline; }
form { background: var(--paper); border-radius: var(--radius); padding: 30px; display: grid; gap: 18px; }
.field { display: grid; gap: 6px; }
.field label { font-weight: 600; font-size: .975rem; }
.field input, .field select, .field textarea { font: inherit; color: var(--ink); width: 100%; min-height: 50px; padding: 12px 14px; border: 1.5px solid #9AA6A3; border-radius: 10px; background: var(--white); }
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid var(--ink); outline-offset: 1px; border-color: var(--ink); }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-status { min-height: 1.4em; font-size: .975rem; color: var(--slate); }

/* Footer */
footer { background: var(--ink); color: #E6ECEA; padding: 48px 0; }
footer .wrap { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 32px; }
footer .wordmark .w1 { color: var(--white); }
footer .wordmark .w2 { color: var(--mint); }
footer h3 { font-size: 1rem; font-weight: 600; margin-bottom: 10px; color: var(--white); }
footer p, footer a { color: #C9D3D2; }
footer a { text-decoration: none; }
footer a:hover { text-decoration: underline; color: var(--white); }
.legal { grid-column: 1 / -1; padding-top: 24px; border-top: 1px solid #3A4448; font-size: .925rem; color: #9FAEAB; }

@media (max-width: 900px) {
  .hero { padding: 48px 0 56px; }
  .split { grid-template-columns: 1fr; }
  .panel { padding: 44px 20px 48px; }
  .section { padding: 64px 0; }
  .svc-row { grid-template-columns: 1fr; }
  .pkgs { grid-template-columns: 1fr; }
  .pkg, .pkg + .pkg { padding: 28px 0; border-left: 0; }
  .pkg + .pkg { border-top: 1px solid #2a2f31; }
  .why dl { grid-template-columns: 1fr; gap: 28px; }
  .area-grid, .quote-grid { grid-template-columns: 1fr; gap: 32px; }
  footer .wrap { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .site-header .wrap { justify-content: flex-start; }
  .nav { width: 100%; margin-left: -8px; }
  .nav .btn, .head-phone { display: none; }
  .two { grid-template-columns: 1fr; }
  form { padding: 22px; }
  .hero-cta .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }

/* Detailing logo (real file, black background matches the dark sections) */
.panel-logo { display: block; width: min(100%, 340px); margin: -8px 0 18px -6px; }
.panel-logo img { width: 100%; height: auto; }
.head-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 32px; align-items: center; }
.head-logo { width: 100%; max-width: 440px; justify-self: end; }
.head-logo img { width: 100%; height: auto; }
@media (max-width: 900px) { .head-grid { grid-template-columns: 1fr; } .head-logo { justify-self: start; max-width: 320px; } }

/* Logo B */
.brand { display: inline-block; line-height: 0; }
.mlogo { position: relative; display: inline-block; line-height: 0; }
.mlogo img { display: block; }
.mlogo .spark { position: absolute; height: auto; aspect-ratio: 1; }
.brand .mlogo img { height: 46px; width: auto; }
footer .brand .mlogo img { height: 52px; }

/* Animations (disabled for people who prefer reduced motion) */
@media (prefers-reduced-motion: no-preference) {
  @view-transition { navigation: auto; }
  ::view-transition-old(root) { animation: mc-out .22s ease both; }
  ::view-transition-new(root) { animation: mc-in .35s ease both; }
  @keyframes mc-out { to { opacity: 0; } }
  @keyframes mc-in { from { opacity: 0; transform: translateY(10px); } }
  .site-header { view-transition-name: mc-header; }
  ::view-transition-group(mc-header) { animation-duration: 0s; }
  /* fallback for browsers without view transitions */
  main > section:first-child { animation: mc-in .5s ease both; }
  .nav a, .btn, .panel { transition: background-color .2s ease, transform .2s ease, color .2s ease, filter .2s ease; }
  .btn:hover { transform: translateY(-2px); }
  .brand .mlogo { transition: transform .3s ease; }
  .brand:hover .mlogo { transform: scale(1.03); }
  .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
  .reveal.in { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: no-preference) {
  .spark { animation: mc-twinkle 3.6s ease-in-out infinite; transform-origin: center; }
  .spark.s2 { animation-duration: 3s; animation-delay: 1.2s; }
  @keyframes mc-twinkle {
    0%, 100% { transform: scale(1) rotate(0); opacity: 1; }
    45% { transform: scale(1.25) rotate(20deg); opacity: 1; }
    60% { transform: scale(.75) rotate(-10deg); opacity: .75; }
  }
}

/* Title row: art next to the heading */
.title-row { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.title-row h1 { flex: 0 0 auto; }
.art-wrap { position: relative; display: block; overflow: hidden; flex: 0 1 auto; }
.art-wrap img { display: block; width: 100%; height: auto; }
.art-wrap.building { width: 150px; }
.art-wrap.car { width: min(100%, 340px); }
.page-head p { margin-top: 22px; }
.speed { position: absolute; left: 0; height: 2px; width: 60%; border-radius: 2px; background: linear-gradient(90deg, transparent, var(--teal)); opacity: 0; }
.speed.s-a { top: 28%; } .speed.s-b { top: 52%; width: 75%; } .speed.s-c { top: 74%; width: 50%; }
@media (max-width: 900px) { .art-wrap.building { width: 120px; } .art-wrap.car { width: 100%; max-width: 320px; } }

@media (prefers-reduced-motion: no-preference) {
  .site-header::after { animation: mc-bar 7s linear infinite; }
  @keyframes mc-bar { to { background-position: 200% 0; } }

  .art-wrap.building img { animation: mc-rise 1.4s cubic-bezier(.2,.7,.2,1) both, mc-float 7s ease-in-out 1.4s infinite; }
  @keyframes mc-rise { from { clip-path: inset(100% 0 0 0); transform: translateY(24px); } to { clip-path: inset(0 0 0 0); transform: none; } }
  @keyframes mc-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }

  .art-wrap.car img { animation: mc-drive 1.3s cubic-bezier(.12,.75,.2,1) both; }
  .art-wrap.car.go img { animation: mc-drive 1.3s cubic-bezier(.12,.75,.2,1) both; }
  @keyframes mc-drive { 0% { transform: translateX(-115%); filter: blur(7px); opacity: .2; } 55% { filter: blur(2px); opacity: 1; } 100% { transform: none; filter: none; opacity: 1; } }
  .speed { animation: mc-streak 1.3s ease-out both; }
  .speed.s-b { animation-delay: .08s; } .speed.s-c { animation-delay: .16s; }
  @keyframes mc-streak { 0% { opacity: 0; transform: translateX(-100%); } 25% { opacity: .9; } 100% { opacity: 0; transform: translateX(20%); } }
}
.title-row:has(.art-wrap.car) { flex-wrap: nowrap; }
.art-wrap.car { flex: 1 1 0; min-width: 120px; max-width: 340px; width: auto; }
@media (max-width: 900px) { .title-row { gap: 18px; } .art-wrap.car { max-width: 300px; } }

/* v3: art integrated with the heading */
.page-head { --h1: clamp(2.4rem, 5.6vw, 4rem); }
.page-head h1 { font-size: var(--h1); }
.title-row { flex-wrap: nowrap; gap: 14px; }
.art-wrap { position: relative; }
.art-wrap.building { overflow: visible; width: auto; flex: 0 1 auto; height: calc(var(--h1) * 2.6); min-width: 0; }
.art-wrap.building img { height: 100%; width: auto; max-width: 100%; }
@media (max-width: 900px) { .art-wrap.building { height: calc(var(--h1) * 2.2); } }
.car-h1 { display: inline-block; }
.car-h1 .l1 { display: flex; align-items: center; gap: .3em; }
.car-h1 .l2 { display: block; }
.art-wrap.car, .art-wrap.car:hover { overflow: hidden; flex: 1 1 0; width: 0; min-width: 0; max-width: none; }
@media (max-width: 900px) { .art-wrap.car { max-width: none; } }
.art-wrap.building::after, .art-wrap.car::after { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; }
.art-wrap.building::after { background: linear-gradient(115deg, transparent 0 40%, #39B77C 50%, #31B5B7 55%, transparent 62% 100%); background-size: 300% 100%; background-position: 100% 0; -webkit-mask: url(img/art-building.png) center / 100% 100% no-repeat; mask: url(img/art-building.png) center / 100% 100% no-repeat; }
.art-wrap.car::after { background: linear-gradient(105deg, transparent 0 42%, #FFFFFF 50%, #31B5B7 56%, transparent 64% 100%); background-size: 300% 100%; background-position: 100% 0; -webkit-mask: url(img/art-car.png) center / 100% 100% no-repeat; mask: url(img/art-car.png) center / 100% 100% no-repeat; }
@media (prefers-reduced-motion: no-preference) {
  .art-wrap.building img { animation: mc-rise 1.4s cubic-bezier(.2,.7,.2,1) both, mc-float 7s ease-in-out 1.4s infinite, mc-glow 3.6s ease-in-out 1.4s infinite; }
  @keyframes mc-glow { 0%, 100% { filter: drop-shadow(0 0 0 rgba(57,183,124,0)); } 50% { filter: drop-shadow(0 0 8px rgba(57,183,124,.6)); } }
  .art-wrap.building::after { animation: mc-shine 4.2s ease-in-out 1.6s infinite; }
  .art-wrap.car::after { animation: mc-shine 3.8s ease-in-out 1.5s infinite; }
  @keyframes mc-shine { 0% { opacity: 0; background-position: 100% 0; } 10% { opacity: 1; } 60% { opacity: 1; } 75%, 100% { opacity: 0; background-position: 0% 0; } }
}
.art-wrap.car { margin-right: -2.2em; }
.car-h1 .l1 { gap: .18em; }
@supports not ((mask-image: url(x)) or (-webkit-mask-image: url(x))) { .art-wrap.building::after, .art-wrap.car::after { display: none; } }

/* Hero circles: glass shine, drift, sparkles and soap bubbles */
.hero::before { background: linear-gradient(115deg, transparent 38%, rgba(255,255,255,.95) 50%, transparent 62%) 100% 0 / 260% 100% no-repeat, var(--mint); }
.hero::after { background: linear-gradient(115deg, transparent 38%, rgba(255,255,255,.95) 50%, transparent 62%) 100% 0 / 260% 100% no-repeat, var(--teal); }
.hero-fx { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.hs { position: absolute; height: auto; aspect-ratio: 1; opacity: .9; }
.bub { position: absolute; bottom: -30px; border-radius: 50%; border: 1.5px solid rgba(49,181,183,.75); background: radial-gradient(circle at 30% 30%, rgba(255,255,255,.95), rgba(49,181,183,.16) 60%); opacity: 0; }
@media (prefers-reduced-motion: no-preference) {
  .hero::before { animation: hero-drift-a 16s ease-in-out infinite, hero-shine 7s ease-in-out 1s infinite; }
  .hero::after { animation: hero-drift-b 19s ease-in-out infinite, hero-shine 8s ease-in-out 3.5s infinite; }
  @keyframes hero-drift-a { 0%, 100% { transform: translate(0,0) scale(1); } 50% { transform: translate(-18px, 14px) scale(1.035); } }
  @keyframes hero-drift-b { 0%, 100% { transform: translate(0,0) scale(1); } 50% { transform: translate(16px, -12px) scale(1.04); } }
  @keyframes hero-shine { 0% { background-position: 100% 0, 0 0; } 45%, 100% { background-position: 0% 0, 0 0; } }
  .hs { animation: hero-twinkle 3.8s ease-in-out infinite; transform-origin: center; }
  .hs.b { animation-delay: .9s; animation-duration: 4.4s; } .hs.c { animation-delay: 1.8s; animation-duration: 3.2s; }
  .hs.d { animation-delay: 2.6s; animation-duration: 4.8s; } .hs.e { animation-delay: 1.3s; animation-duration: 3.6s; }
  @keyframes hero-twinkle { 0%, 100% { transform: scale(.4) rotate(0); opacity: 0; } 40% { transform: scale(1.15) rotate(25deg); opacity: 1; } 70% { transform: scale(.8) rotate(-10deg); opacity: .7; } }
  .bub { animation: hero-rise 12s linear infinite; }
  @keyframes hero-rise { 0% { transform: translate(0,0); opacity: 0; } 12% { opacity: .9; } 50% { transform: translate(14px,-220px); } 88% { opacity: .7; } 100% { transform: translate(-10px,-520px); opacity: 0; } }
}
@media (prefers-reduced-motion: reduce) { .bub { display: none; } }

/* Phones in portrait: keep the circles on screen */
@media (max-width: 700px) {
  .hero::before { width: 74%; right: -26%; top: -6%; }
  .hero::after { width: 58%; right: -12%; bottom: -12%; }
}

/* v4: anchor both circles to the bottom of the hero so they always overlap, at any screen shape */
.hero::before { top: auto; bottom: 0; }
.hero::after { bottom: -19vw; }
@media (max-width: 700px) and (orientation: portrait) {
  .hero::before { top: -6%; bottom: auto; }
  .hero::after { bottom: -12%; }
}

/* v5: portrait phones — size circles by hero height so they always touch (no gap), whatever the text length */
@media (max-width: 700px) and (orientation: portrait) {
  .hero::before { width: auto; height: 60%; aspect-ratio: 1; right: -30%; top: -8%; bottom: auto; }
  .hero::after { width: auto; height: 56%; aspect-ratio: 1; right: -22%; bottom: -4%; }
}

.why dd .stat { color: var(--mint-deep); font-weight: 800; }
