/* PROFESSIONAL CLEANING — v2 · calm, simple, premium */
:root {
  --ivory: #F5F0E8;
  --lav: #A6A5D9;
  --violet: #7776B7;
  --sage: #B7CDA5;
  --coral: #F18F78;
  --ink: #1D1D1D;
  --ink-2: #57534E;
  --white: #FFFFFF;
  --line: rgba(29, 29, 29, .1);
  --r: 28px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --shadow: 0 1px 2px rgba(29,29,29,.04), 0 20px 40px -20px rgba(29,29,29,.18);
  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.6; color: var(--ink); background: var(--ivory); -webkit-font-smoothing: antialiased; overflow-x: clip; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; color: inherit; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-weight: 800; letter-spacing: -.035em; line-height: 1.05; }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
legend { padding: 0; }
[hidden] { display: none !important; }
:focus-visible { outline: 2.5px solid var(--violet); outline-offset: 3px; border-radius: 8px; }

.container { width: min(1200px, 100% - 48px); margin-inline: auto; }
.ic { width: 20px; height: 20px; flex: none; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 100; padding: 10px 18px; border-radius: 99px; background: var(--ink); color: #fff; }
.skip-link:focus { top: 12px; }

/* Buttons */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 24px; border-radius: 999px; border: 1.5px solid var(--ink);
  font-weight: 700; font-size: 15px; line-height: 1; cursor: pointer; white-space: nowrap;
  overflow: hidden; isolation: isolate;
  transition: transform .4s var(--ease), color .4s var(--ease), box-shadow .4s var(--ease);
}
.btn::before { /* fill sweep */
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
  transform: translateY(101%); transition: transform .5s var(--ease);
}
.btn .ic { transition: transform .4s var(--ease); }
.btn:hover .ic { transform: translateX(4px); }
.btn:hover { transform: translateY(-2px); }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark::before { background: var(--violet); }
.btn--dark:hover { box-shadow: 0 14px 30px -12px rgba(119,118,183,.8); }
.btn--line { background: transparent; color: var(--ink); }
.btn--line::before { background: var(--ink); }
.btn--line:hover { color: #fff; }
.btn:hover::before { transform: translateY(0); }
.btn--lg { padding: 17px 28px; font-size: 16px; }
.btn--nav { padding: 12px 20px; font-size: 14px; }

/* Nav — hides on scroll down, returns on scroll up */
.announce { position: fixed; inset: 0 0 auto; z-index: 51; height: 38px; display: flex; align-items: center; justify-content: center; gap: 10px; background: var(--ink); color: #fff; font-size: 13.5px; font-weight: 700; letter-spacing: .02em; transition: transform .5s var(--ease); }
.announce .pill__dot { background: var(--coral); }
body.is-scrolled .announce { transform: translateY(-100%); }
.nav { position: fixed; inset: 38px 0 auto; z-index: 50; padding: 16px 0; transition: transform .5s var(--ease), top .5s var(--ease), background .3s, padding .3s, box-shadow .3s; }
body.is-scrolled .nav { top: 0; }
.nav.is-solid { padding: 10px 0; background: rgba(245,240,232,.85); backdrop-filter: blur(14px) saturate(1.4); -webkit-backdrop-filter: blur(14px) saturate(1.4); box-shadow: 0 1px 0 var(--line); }
.nav.is-hidden { transform: translateY(-110%); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.logo { display: inline-flex; align-items: center; gap: 11px; }
.logo__mark { width: 38px; height: 38px; transition: transform .6s var(--ease); }
.logo:hover .logo__mark { transform: rotate(-90deg); }
.logo__text { display: flex; flex-direction: column; line-height: 1; letter-spacing: .08em; }
.logo__text strong { font-size: 14.5px; font-weight: 800; }
.logo__text span { font-size: 10.5px; font-weight: 600; letter-spacing: .38em; color: var(--ink-2); margin-top: 4px; }
.logo--light { color: #fff; }
.logo--light .logo__text span { color: rgba(255,255,255,.6); }

.nav__links { display: flex; gap: 32px; }
.nav__links a { position: relative; font-weight: 600; font-size: 15px; color: var(--ink-2); padding: 6px 0; transition: color .3s; }
.nav__links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; border-radius: 2px; background: var(--coral); transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease); }
.nav__links a:hover, .nav__links a.is-active { color: var(--ink); }
.nav__links a:hover::after, .nav__links a.is-active::after { transform: scaleX(1); transform-origin: left; }
.nav__actions { display: flex; align-items: center; gap: 12px; }
.lang { display: inline-flex; padding: 3px; border-radius: 99px; border: 1px solid var(--line); background: rgba(255,255,255,.5); }
.lang button { border: 0; background: none; padding: 7px 11px; border-radius: 99px; font-size: 12.5px; font-weight: 700; color: var(--ink-2); cursor: pointer; transition: background .3s, color .3s; }
.lang button[aria-pressed="true"] { background: var(--ink); color: #fff; }

/* Hero */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; padding: 140px 0 70px; }
.hero__inner { display: grid; grid-template-columns: 1.05fr 1fr; gap: 40px; align-items: center; }
.pill { display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px 8px 12px; border-radius: 99px; background: #fff; font-size: 13.5px; font-weight: 700; box-shadow: var(--shadow); }
.pill__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--coral); animation: pulse 2.4s ease-in-out infinite; }
@keyframes pulse { 0%,100% { box-shadow: 0 0 0 0 rgba(241,143,120,.5); } 60% { box-shadow: 0 0 0 8px rgba(241,143,120,0); } }
.hero__title { margin-top: 26px; font-size: clamp(44px, 6vw, 84px); line-height: .98; letter-spacing: -.05em; max-width: 11ch; }
.hero__title .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.hero__title .w > span { display: inline-block; transform: translateY(105%); transition: transform 1s var(--ease); transition-delay: calc(var(--i) * 70ms + 150ms); }
.hero__title.is-in .w > span { transform: none; }
.hero__title .accent { color: var(--violet); }
.hero__sub { margin-top: 24px; font-size: clamp(16px, 1.4vw, 19px); color: var(--ink-2); max-width: 44ch; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero__trust { list-style: none; padding: 0; margin: 36px 0 0; display: flex; flex-wrap: wrap; gap: 10px 24px; font-size: 14px; font-weight: 600; color: var(--ink-2); }
.hero__trust li { display: inline-flex; align-items: center; gap: 8px; }
.hero__trust .ic { width: 22px; height: 22px; padding: 4px; border-radius: 50%; background: var(--sage); color: var(--ink); }

.hero__visual { position: relative; }
.stage { position: relative; aspect-ratio: 1 / 1; width: 100%; max-width: 600px; margin-left: auto; }
.stage__glow { position: absolute; inset: 8%; border-radius: 50%; background: radial-gradient(circle at 40% 40%, rgba(166,165,217,.55), rgba(183,205,165,.28) 55%, transparent 72%); filter: blur(10px); animation: breathe 8s ease-in-out infinite; }
@keyframes breathe { 50% { transform: scale(1.06); } }
#scene { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity 1.2s var(--ease); }
.stage.is-ready #scene { opacity: 1; }
.stage__fallback { position: absolute; inset: 10%; width: 80%; height: 80%; opacity: 0; transition: opacity .6s; }
.stage.no-webgl .stage__fallback { opacity: 1; }

.chip-float { position: absolute; left: 4%; bottom: 10%; display: flex; align-items: center; gap: 12px; padding: 10px 18px 10px 10px; border-radius: 20px; background: rgba(255,255,255,.75); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: var(--shadow); animation: float 6s ease-in-out infinite; }
.chip-float__icon { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; background: #FBDCD3; }
.chip-float small { display: block; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); }
.chip-float strong { display: block; font-size: 14.5px; }
@keyframes float { 50% { transform: translateY(-10px); } }

.scroll-cue { position: absolute; left: 50%; bottom: 26px; width: 26px; height: 42px; margin-left: -13px; border: 1.5px solid rgba(29,29,29,.35); border-radius: 20px; }
.scroll-cue span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--ink); animation: cue 2s var(--ease) infinite; }
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* Sections */
.section { padding: clamp(80px, 10vw, 130px) 0; }
.section--tight { padding-top: 20px; }
.head { max-width: 640px; margin-bottom: 48px; }
.head--center { margin-inline: auto; text-align: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); }
.eyebrow::before { content: ""; width: 22px; height: 2px; border-radius: 2px; background: var(--coral); }
.h2 { margin-top: 14px; font-size: clamp(34px, 4.4vw, 56px); letter-spacing: -.045em; }
.lead { margin-top: 18px; font-size: 17px; color: var(--ink-2); max-width: 44ch; }

/* Service cards (3D tilt on hover) */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card {
  --rx: 0deg; --ry: 0deg;
  position: relative; display: flex; flex-direction: column; gap: 14px; min-height: 340px; padding: 32px; border-radius: var(--r);
  transform: perspective(1100px) rotateX(var(--rx)) rotateY(var(--ry)); transform-style: preserve-3d;
  transition: transform .6s var(--ease), box-shadow .6s var(--ease);
}
.card.is-tilting { transition: transform .12s linear, box-shadow .6s var(--ease); }
.card:hover { box-shadow: 0 30px 60px -30px rgba(29,29,29,.35); }
.card--sage { background: var(--sage); }
.card--lav { background: var(--lav); }
.card--coral { background: var(--coral); }
.card__icon { width: 56px; height: 56px; border-radius: 18px; display: grid; place-items: center; background: rgba(255,255,255,.7); transform: translateZ(18px); transition: transform .6s var(--ease); }
.card__icon .ic { width: 26px; height: 26px; }
.card:hover .card__icon { transform: translateZ(18px) rotate(-8deg) scale(1.06); }
.card h3 { margin-top: 18px; font-size: 28px; transform: translateZ(14px); }
.card p { color: rgba(29,29,29,.78); transform: translateZ(10px); }
.card__foot { margin-top: auto; display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; padding-top: 22px; border-top: 1px solid rgba(29,29,29,.14); transform: translateZ(12px); }
.price { display: flex; align-items: baseline; gap: 6px; color: var(--ink); }
.price small { font-size: 14px; font-weight: 600; }
.price strong { font-size: 30px; letter-spacing: -.04em; line-height: 1; }
.card--lav .price strong { font-size: 20px; letter-spacing: -.02em; }
.card__link { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: #fff; transition: transform .5s var(--ease), background .3s; }
.card__link:hover { transform: rotate(-45deg) scale(1.06); }

/* Photos (fade in; soft placeholder if a photo can't load) */
.photo { position: relative; overflow: hidden; background: linear-gradient(135deg, rgba(255,255,255,.55), rgba(255,255,255,.15)), radial-gradient(circle at 75% 25%, rgba(255,255,255,.7), transparent 45%); }
.photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.06); transition: opacity 1s var(--ease), transform 1.4s var(--ease); }
.photo img.is-loaded { opacity: 1; transform: scale(1); }
.card__photo { height: 210px; margin: -16px -16px 6px; border-radius: 20px; transform: translateZ(6px); }
.card:hover .card__photo img.is-loaded { transform: scale(1.05); }
.card__photo + .card__icon { position: absolute; top: 34px; left: 34px; box-shadow: 0 6px 18px rgba(29,29,29,.12); background: #fff; }
.card h3 { margin-top: 4px; }

/* Team */
.section--team { padding-top: 40px; }
.team { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.team__visual { position: relative; }
.team__photo { aspect-ratio: 4 / 5; border-radius: 36px; background-color: var(--lav); box-shadow: var(--shadow); }
.team__photo img { height: 124%; top: -12%; transform: translateY(var(--py, 0px)) scale(1.04); }
.team__photo img.is-loaded { transform: translateY(var(--py, 0px)) scale(1); }
.team__chip { position: absolute; right: -14px; bottom: 34px; display: inline-flex; align-items: center; gap: 10px; padding: 12px 18px; border-radius: 99px; background: rgba(255,255,255,.85); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); font-weight: 700; font-size: 14px; box-shadow: var(--shadow); animation: float 6s ease-in-out infinite; }
.team__text { display: flex; flex-direction: column; align-items: flex-start; }
.team__list { list-style: none; padding: 0; margin: 28px 0 34px; display: grid; gap: 14px; font-weight: 600; }
.team__list li { display: flex; align-items: center; gap: 12px; }
.team__list .ic { width: 28px; height: 28px; padding: 6px; border-radius: 50%; background: var(--sage); }

.soon { display: inline-flex; align-items: center; gap: 9px; padding: 9px 14px; border-radius: 99px; background: rgba(255,255,255,.72); font-size: 14px; font-weight: 800; color: var(--ink); }
.form-foot .btn { width: 100%; }
.form-foot .btn[aria-busy="true"] { opacity: .7; cursor: progress; }
.form-error { width: 100%; margin: 0; font-size: 14px; font-weight: 600; color: #A32117; text-align: center; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* Steps with drawn line */
.steps { position: relative; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.steps__line { position: absolute; top: 27px; left: 16%; width: 68%; height: 20px; overflow: visible; }
.steps__line path { fill: none; stroke: var(--violet); stroke-width: 2; stroke-dasharray: 1000; stroke-dashoffset: 1000; vector-effect: non-scaling-stroke; transition: stroke-dashoffset 1.8s var(--ease) .3s; }
.steps.is-in .steps__line path { stroke-dashoffset: 0; }
.step { position: relative; text-align: center; padding: 0 12px; }
.step__num { position: relative; z-index: 1; display: grid; place-items: center; width: 56px; height: 56px; margin: 0 auto 22px; border-radius: 50%; background: var(--ivory); border: 2px solid var(--ink); font-weight: 800; font-size: 18px; transition: background .4s, color .4s, transform .4s var(--ease); }
.step:hover .step__num { background: var(--ink); color: #fff; transform: scale(1.08); }
.step h3 { font-size: 21px; letter-spacing: -.02em; }
.step p { margin-top: 8px; color: var(--ink-2); max-width: 28ch; margin-inline: auto; }

/* Booking */
.book { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.contact-list { margin: 34px 0 0; display: grid; }
.contact-list div { display: grid; grid-template-columns: 90px 1fr; gap: 16px; padding: 14px 0; border-top: 1px solid var(--line); }
.contact-list div:last-child { border-bottom: 1px solid var(--line); }
.contact-list dt { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); padding-top: 3px; }
.contact-list dd { margin: 0; font-weight: 600; }
.contact-list a { border-bottom: 1.5px solid rgba(29,29,29,.25); transition: border-color .3s; word-break: break-word; }
.contact-list a:hover { border-color: var(--ink); }

.form-card { padding: clamp(24px, 3.5vw, 40px); border-radius: 32px; background: #fff; box-shadow: var(--shadow); }
#quoteForm { display: grid; gap: 22px; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 9px; }
.field legend, .label { font-size: 13px; font-weight: 700; color: var(--ink); }
.field legend { margin-bottom: 9px; }
.field input[type="text"], .field input[type="date"], .select select {
  width: 100%; height: 52px; padding: 0 16px; border-radius: 16px; border: 1.5px solid var(--line); background: var(--ivory);
  font-size: 15px; font-weight: 500; transition: border-color .25s, background .25s, box-shadow .25s;
}
.field input:focus, .select select:focus { outline: none; border-color: var(--ink); background: #fff; box-shadow: 0 0 0 4px rgba(166,165,217,.35); }
.select { position: relative; display: block; }
.select select { appearance: none; -webkit-appearance: none; padding-right: 42px; cursor: pointer; }
.select::after { content: ""; position: absolute; right: 18px; top: 50%; width: 8px; height: 8px; margin-top: -6px; border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: rotate(45deg); pointer-events: none; }
.err { display: none; font-style: normal; font-size: 13px; font-weight: 600; color: #A32117; }
.field.is-invalid input { border-color: #C2372B; background: #FFF6F4; }
.field.is-invalid .err { display: block; }

.chips { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.chips label, .segment label { position: relative; cursor: pointer; }
.chips input, .segment input { position: absolute; opacity: 0; pointer-events: none; }
.chips span { display: grid; place-items: center; height: 48px; padding: 0 8px; border-radius: 16px; border: 1.5px solid var(--line); font-weight: 700; font-size: 14px; text-align: center; transition: background .3s, color .3s, border-color .3s, transform .3s var(--ease); }
.chips label:hover span { border-color: var(--ink); }
.chips input:checked + span { background: var(--ink); border-color: var(--ink); color: #fff; }
.chips input:active + span { transform: scale(.96); }
.segment { display: grid; grid-template-columns: repeat(4, 1fr); padding: 5px; border-radius: 18px; background: var(--ivory); }
.segment span { display: grid; place-items: center; height: 42px; border-radius: 13px; font-weight: 700; font-size: 14px; color: var(--ink-2); transition: background .3s, color .3s, box-shadow .3s; }
.segment input:checked + span { background: #fff; color: var(--ink); box-shadow: 0 2px 10px rgba(29,29,29,.08); }
.chips input:focus-visible + span, .segment input:focus-visible + span { outline: 2.5px solid var(--violet); outline-offset: 2px; }

.form-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 22px; border-top: 1px solid var(--line); }
.estimate { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; }
.estimate small { width: 100%; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); }
.estimate strong { font-size: 32px; letter-spacing: -.04em; line-height: 1; display: inline-block; }
.estimate strong.bump { animation: bump .45s var(--ease); }
@keyframes bump { 0% { transform: translateY(8px); opacity: 0; } 100% { transform: none; opacity: 1; } }
.save { padding: 5px 10px; border-radius: 99px; background: var(--sage); font-size: 12.5px; font-weight: 800; }

.done { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 14px; padding: 36px 8px; outline: none; }
.done h3 { font-size: 30px; }
.done p { color: var(--ink-2); max-width: 36ch; }
.done__ref strong { color: var(--ink); }
.done__check svg { width: 84px; height: 84px; }
.done__check circle { fill: none; stroke: var(--sage); stroke-width: 3; stroke-dasharray: 151; stroke-dashoffset: 151; animation: dash .7s var(--ease) forwards; }
.done__check path { fill: none; stroke: var(--ink); stroke-width: 3.5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 40; stroke-dashoffset: 40; animation: dash .5s .5s var(--ease) forwards; }
@keyframes dash { to { stroke-dashoffset: 0; } }

/* Footer */
.footer { background: var(--ink); color: rgba(255,255,255,.65); padding: 36px 0; }
.footer__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

/* Reveal */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease) var(--d, 0s), transform 1s var(--ease) var(--d, 0s); }
.reveal.is-in { opacity: 1; transform: none; }
.card.reveal.is-in { transform: perspective(1100px) rotateX(var(--rx)) rotateY(var(--ry)); }

/* Responsive */
@media (max-width: 980px) {
  .nav__links { display: none; }
  .hero { min-height: 0; padding-top: 130px; }
  .hero__inner { grid-template-columns: 1fr; gap: 10px; }
  .hero__text { text-align: center; display: flex; flex-direction: column; align-items: center; }
  .hero__title { max-width: 12ch; }
  .hero__ctas, .hero__trust { justify-content: center; }
  .stage { max-width: 480px; margin: 0 auto; }
  .scroll-cue { display: none; }
  .cards { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; }
  .card { min-height: 0; }
  .book { grid-template-columns: 1fr; }
  .team { grid-template-columns: 1fr; }
  .team__visual { max-width: 560px; }
  .team__chip { right: 12px; }
}
@media (max-width: 720px) {
  .container { width: min(100% - 32px, 1200px); }
  .steps { grid-template-columns: 1fr; gap: 28px; }
  .steps__line { display: none; }
  .row { grid-template-columns: 1fr; }
  .chips { grid-template-columns: 1fr 1fr; }
  .form-foot .btn { width: 100%; }
  .btn--nav { display: none; }
  .hero__ctas .btn { flex: 1 1 100%; }
  .chip-float { left: 0; bottom: 4%; }
}
@media (max-width: 400px) {
  .segment span { font-size: 12.5px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; transition-delay: 0s !important; scroll-behavior: auto !important; }
  .reveal, .hero__title .w > span { opacity: 1; transform: none; }
  .steps__line path { stroke-dashoffset: 0; }
}
