/* ============================================================
   Mikin Cleaning Service — styles
   Aesthetic: clean, modern, photography-led "premium home care"
   ============================================================ */

:root {
  --paper:      #F7F5F0;
  --paper-2:    #FFFFFF;
  --ink:        #15201C;
  --ink-soft:   #44514B;
  --muted:      #7C877F;
  --line:       #E5E1D8;
  --green:      #0E5C43;
  --green-2:    #18A06A;
  --green-tint: #E8F2EC;
  --amber:      #E2A028;
  --display: "Fraunces", Georgia, serif;
  --body: "Hanken Grotesk", -apple-system, BlinkMacSystemFont, sans-serif;
  --radius: 18px;
  --radius-lg: 28px;
  --shadow: 0 18px 50px -20px rgba(21, 32, 28, 0.30);
  --shadow-soft: 0 8px 30px -16px rgba(21, 32, 28, 0.25);
  --container: 1200px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { font-family: var(--body); color: var(--ink); background: var(--paper); line-height: 1.6; font-size: 17px; overflow-x: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 540; line-height: 1.08; letter-spacing: -0.01em; }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 9px; font-family: var(--body); font-weight: 600; font-size: 16px; padding: 15px 26px; border-radius: 100px; border: 1px solid transparent; cursor: pointer; transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s, color .25s; white-space: nowrap; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--green); color: #fff; box-shadow: var(--shadow-soft); }
.btn-primary:hover { background: var(--green-2); transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--green); color: var(--green); transform: translateY(-2px); }
.btn-light { background: #fff; color: var(--green); }
.btn-light:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn svg { width: 18px; height: 18px; }

.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--green); margin-bottom: 18px; }
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--green-2); display: inline-block; }
.section { padding: clamp(64px, 9vw, 130px) 0; }
.section-head { max-width: 620px; margin-bottom: 56px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { font-size: clamp(2rem, 4.6vw, 3.3rem); margin-bottom: 16px; }
.section-head p { color: var(--ink-soft); font-size: 1.08rem; }

/* Header / nav */
.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 100; transition: background .35s var(--ease), box-shadow .35s var(--ease), padding .35s var(--ease); padding: 22px 0; }
.site-header.scrolled { background: rgba(247, 245, 240, 0.86); backdrop-filter: blur(12px); box-shadow: 0 1px 0 var(--line); padding: 14px 0; }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 11px; font-family: var(--display); font-size: 1.35rem; font-weight: 600; letter-spacing: -.02em; }
.brand .mark { width: 38px; height: 38px; border-radius: 11px; flex: none; background: linear-gradient(135deg, var(--green-2), var(--green)); display: grid; place-items: center; color: #fff; box-shadow: var(--shadow-soft); }
.brand .mark svg { width: 21px; height: 21px; }
.brand small { display: block; font-family: var(--body); font-size: .62rem; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); font-weight: 700; margin-top: 2px; }
.nav-links { display: flex; align-items: center; gap: 30px; list-style: none; }
.nav-links a { font-weight: 500; font-size: .98rem; color: var(--ink-soft); transition: color .2s; }
.nav-links a:hover { color: var(--green); }
.nav-cta { display: flex; align-items: center; gap: 14px; }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; z-index: 110; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--ink); margin: 5px 0; transition: .3s var(--ease); border-radius: 2px; }
.nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Hero */
.hero { position: relative; padding-top: 150px; padding-bottom: clamp(60px, 8vw, 110px); overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -2; background: radial-gradient(900px 500px at 88% -5%, var(--green-tint), transparent 60%), radial-gradient(700px 500px at -10% 110%, #FBF3E2, transparent 55%); }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); margin-bottom: 22px; }
.hero h1 em { font-style: italic; color: var(--green); }
.hero-lead { font-size: 1.18rem; color: var(--ink-soft); max-width: 30em; margin-bottom: 32px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 38px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 24px; }
.hero-trust div { display: flex; align-items: center; gap: 9px; font-size: .92rem; font-weight: 600; color: var(--ink-soft); }
.hero-trust svg { width: 19px; height: 19px; color: var(--green-2); flex: none; }
.hero-media { position: relative; }
.hero-media .frame { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 4/5; background: var(--line); }
.hero-media .frame img { width: 100%; height: 100%; object-fit: cover; }
.hero-media .badge { position: absolute; left: -22px; bottom: 34px; background: #fff; border-radius: var(--radius); padding: 16px 20px; box-shadow: var(--shadow); display: flex; align-items: center; gap: 13px; max-width: 240px; }
.hero-media .badge .num { font-family: var(--display); font-size: 2rem; color: var(--green); line-height: 1; }
.hero-media .badge .lbl { font-size: .82rem; color: var(--ink-soft); font-weight: 600; }
.hero-media .sticker { position: absolute; top: -18px; right: -10px; background: var(--amber); color: #3a2a00; font-weight: 800; font-size: .8rem; letter-spacing: .04em; padding: 12px 16px; border-radius: 14px; transform: rotate(4deg); box-shadow: var(--shadow-soft); }

/* Promise bar */
.promise { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--paper-2); }
.promise .container { display: flex; flex-wrap: wrap; gap: 18px 50px; justify-content: space-between; padding-top: 26px; padding-bottom: 26px; }
.promise span { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; color: var(--ink-soft); font-size: .96rem; }
.promise svg { width: 22px; height: 22px; color: var(--green); }

/* Services */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.service-card { background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 32px 30px; transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s; position: relative; overflow: hidden; }
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.service-card .ico { width: 56px; height: 56px; border-radius: 16px; background: var(--green-tint); display: grid; place-items: center; margin-bottom: 22px; transition: background .35s, color .35s; color: var(--green); }
.service-card:hover .ico { background: var(--green); color: #fff; }
.service-card .ico svg { width: 28px; height: 28px; }
.service-card h3 { font-size: 1.4rem; margin-bottom: 10px; }
.service-card p { color: var(--ink-soft); font-size: .98rem; }
.service-card .more { margin-top: 18px; font-weight: 600; color: var(--green); font-size: .92rem; display: inline-flex; gap: 6px; align-items: center; }

/* Before / After */
.ba-wrap { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.ba { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-soft); aspect-ratio: 3/4; user-select: none; touch-action: none; background: var(--ink); cursor: ew-resize; }
.ba img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.ba .after { clip-path: inset(0 0 0 50%); }
.ba .handle { position: absolute; top: 0; bottom: 0; left: 50%; width: 3px; background: #fff; transform: translateX(-50%); box-shadow: 0 0 0 1px rgba(0,0,0,.08); }
.ba .handle::after { content: ""; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 46px; height: 46px; border-radius: 50%; background: #fff; box-shadow: var(--shadow-soft); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='26' height='26' fill='none' stroke='%230E5C43' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 7 4 12l5 5M17 7l5 5-5 5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: center; }
.ba .tag { position: absolute; bottom: 14px; padding: 6px 13px; border-radius: 100px; font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #fff; background: rgba(21,32,28,.55); backdrop-filter: blur(4px); }
.ba .tag.before { left: 14px; }
.ba .tag.after { right: 14px; background: var(--green); }
.ba-note { text-align: center; margin-top: 26px; color: var(--muted); font-size: .9rem; }

/* Why us / stats */
.why { background: var(--green); color: #fff; border-radius: var(--radius-lg); padding: clamp(40px, 6vw, 72px); }
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 5vw, 70px); align-items: center; }
.why h2 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 18px; }
.why h2 em { font-style: italic; color: #BFE9D3; }
.why p { color: rgba(255,255,255,.82); margin-bottom: 28px; }
.why .pts { list-style: none; display: grid; gap: 14px; }
.why .pts li { display: flex; gap: 12px; align-items: flex-start; font-weight: 500; }
.why .pts svg { width: 22px; height: 22px; flex: none; color: #BFE9D3; margin-top: 2px; }
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.stat { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); border-radius: var(--radius); padding: 26px; }
.stat .n { font-family: var(--display); font-size: clamp(2.2rem, 4vw, 3rem); line-height: 1; color: #fff; }
.stat .t { color: rgba(255,255,255,.78); font-size: .92rem; margin-top: 8px; }

/* Gallery */
.gallery { columns: 4; column-gap: 16px; }
.gallery .cell { break-inside: avoid; margin-bottom: 16px; border-radius: var(--radius); overflow: hidden; cursor: pointer; position: relative; box-shadow: var(--shadow-soft); }
.gallery .cell img { width: 100%; transition: transform .6s var(--ease); }
.gallery .cell::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 60%, rgba(21,32,28,.35)); opacity: 0; transition: opacity .35s; }
.gallery .cell:hover img { transform: scale(1.06); }
.gallery .cell:hover::after { opacity: 1; }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(15,22,19,.92); display: none; align-items: center; justify-content: center; padding: 30px; }
.lightbox.open { display: flex; }
.lightbox img { max-width: 90vw; max-height: 86vh; border-radius: 12px; box-shadow: var(--shadow); }
.lightbox button { position: absolute; background: rgba(255,255,255,.12); border: 0; color: #fff; width: 52px; height: 52px; border-radius: 50%; font-size: 1.6rem; cursor: pointer; display: grid; place-items: center; transition: background .2s; }
.lightbox button:hover { background: rgba(255,255,255,.25); }
.lightbox .lb-close { top: 24px; right: 24px; }
.lightbox .lb-prev { left: 24px; top: 50%; transform: translateY(-50%); }
.lightbox .lb-next { right: 24px; top: 50%; transform: translateY(-50%); }

/* Testimonials */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.quote { background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 32px; }
.quote .stars { color: var(--amber); margin-bottom: 14px; letter-spacing: 3px; }
.quote p { font-size: 1.05rem; color: var(--ink); margin-bottom: 20px; }
.quote .who { display: flex; align-items: center; gap: 13px; }
.quote .who .av { width: 44px; height: 44px; border-radius: 50%; background: var(--green-tint); color: var(--green); display: grid; place-items: center; font-weight: 800; font-family: var(--display); }
.quote .who b { display: block; font-size: .98rem; }
.quote .who span { font-size: .85rem; color: var(--muted); }

/* Contact / CTA */
.contact { background: var(--paper-2); border-top: 1px solid var(--line); }
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(36px, 5vw, 72px); align-items: start; }
.contact h2 { font-size: clamp(2rem, 4.4vw, 3rem); margin-bottom: 16px; }
.contact .lead { color: var(--ink-soft); margin-bottom: 30px; }
.contact-list { list-style: none; display: grid; gap: 20px; }
.contact-list li { display: flex; gap: 15px; align-items: flex-start; }
.contact-list .ci { width: 46px; height: 46px; border-radius: 13px; background: var(--green-tint); color: var(--green); display: grid; place-items: center; flex: none; }
.contact-list .ci svg { width: 22px; height: 22px; }
.contact-list b { display: block; font-size: .82rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin-bottom: 2px; }
.contact-list a, .contact-list span { font-size: 1.1rem; font-weight: 600; color: var(--ink); }
.form { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(26px, 4vw, 40px); }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: .85rem; font-weight: 600; margin-bottom: 7px; color: var(--ink-soft); }
.field input, .field select, .field textarea { width: 100%; font-family: var(--body); font-size: 1rem; padding: 13px 15px; border: 1px solid var(--line); border-radius: 12px; background: #fff; color: var(--ink); transition: border-color .2s, box-shadow .2s; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 0; border-color: var(--green-2); box-shadow: 0 0 0 3px rgba(24,160,106,.15); }
.field textarea { resize: vertical; min-height: 110px; }
.form .btn { width: 100%; justify-content: center; margin-top: 6px; }
.form-note { font-size: .82rem; color: var(--muted); margin-top: 14px; text-align: center; }

/* Footer */
.footer { background: var(--ink); color: rgba(255,255,255,.72); padding: 64px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; margin-bottom: 48px; }
.footer .brand { color: #fff; margin-bottom: 16px; }
.footer .brand .mark { box-shadow: none; }
.footer p { font-size: .95rem; max-width: 30em; }
.footer h4 { color: #fff; font-family: var(--body); font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 18px; }
.footer ul { list-style: none; display: grid; gap: 11px; }
.footer ul a { font-size: .95rem; transition: color .2s; }
.footer ul a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding-top: 24px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: .85rem; color: rgba(255,255,255,.5); }

/* Scroll reveal */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* Responsive */
@media (max-width: 980px) {
  .hero-grid, .why-grid, .contact-grid { grid-template-columns: 1fr; }
  .why-grid { gap: 40px; }
  .services-grid, .quotes { grid-template-columns: 1fr 1fr; }
  .ba-wrap { grid-template-columns: 1fr 1fr; }
  .gallery { columns: 3; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-media { max-width: 460px; margin: 0 auto; }
}
@media (max-width: 680px) {
  body { font-size: 16px; }
  /* Keep the mobile menu fixed to the viewport. A scrolled header uses
     backdrop-filter, which would make it the containing block for the
     fixed menu and break it once you scroll away from the top. */
  .site-header.scrolled { backdrop-filter: none; background: var(--paper-2); }
  .nav-links { position: fixed; inset: 0 0 0 auto; width: min(78vw, 320px); background: var(--paper-2); flex-direction: column; align-items: flex-start; justify-content: center; padding: 40px; gap: 22px; transform: translateX(100%); transition: transform .4s var(--ease); box-shadow: var(--shadow); }
  .nav-links.open { transform: none; }
  .nav-links a { font-size: 1.25rem; font-family: var(--display); }
  .nav-toggle { display: block; }
  .nav .nav-cta .btn { display: none; }
  .services-grid, .quotes, .ba-wrap, .footer-grid { grid-template-columns: 1fr; }
  .gallery { columns: 2; }
  .form .row { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .hero-media .badge { left: 50%; transform: translateX(-50%); }
}
