/* ===== Ana's House Cleaning Service — styles.css ===== */
:root {
  --mint: #3fbf9a;
  --mint-dark: #2ea182;
  --mint-tint: #d6f3ea;
  --mint-tint-2: #eafaf5;
  --sky: #6fb8e6;
  --sky-dark: #4f9fd4;
  --white: #ffffff;
  --ink: #1f3a36;
  --ink-soft: #4a625d;
  --line: #cdeee2;
  --shadow: 0 12px 34px rgba(31, 58, 54, 0.10);
  --shadow-sm: 0 6px 18px rgba(31, 58, 54, 0.08);
  --radius: 18px;
  --radius-sm: 12px;
  --maxw: 1180px;
  --font-head: "Poppins", system-ui, sans-serif;
  --font-body: "Nunito Sans", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, .brand__text { font-family: var(--font-head); line-height: 1.15; }
img, svg { max-width: 100%; }
a { color: var(--mint-dark); text-decoration: none; }
a:hover { text-decoration: underline; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }

.eyebrow {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--mint-dark);
  background: var(--mint-tint);
  padding: 6px 12px;
  border-radius: 999px;
  margin-bottom: 14px;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-head); font-weight: 600; font-size: 1rem;
  padding: 12px 22px; border-radius: 999px; border: 2px solid transparent;
  cursor: pointer; transition: transform .15s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
  text-decoration: none; white-space: nowrap;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn--primary { background: var(--mint); color: #fff; box-shadow: 0 8px 20px rgba(63,191,154,.32); }
.btn--primary:hover { background: var(--mint-dark); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--mint); color: var(--mint-dark); }
.btn--white { background: #fff; color: var(--mint-dark); }
.btn--white:hover { background: var(--mint-tint); }
.btn--ghost-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.7); }
.btn--ghost-light:hover { background: rgba(255,255,255,.15); }
.btn--lg { padding: 15px 28px; font-size: 1.05rem; }
.btn--sm { padding: 9px 16px; font-size: .92rem; }
.btn--block { width: 100%; }

/* ===== Opening Animation ===== */
.intro {
  position: fixed; inset: 0; z-index: 2000;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  background: linear-gradient(160deg, var(--mint-tint-2), var(--mint-tint));
  gap: 8px;
  animation: introOut .5s ease forwards; animation-delay: 2.4s;
}
.intro.dismissed { display: none; }
.intro__skip {
  position: absolute; top: 20px; right: 20px;
  background: #fff; color: var(--ink); border: 1px solid var(--line);
  font-family: var(--font-head); font-weight: 600; font-size: .85rem;
  padding: 8px 16px; border-radius: 999px; cursor: pointer; box-shadow: var(--shadow-sm);
}
.intro__skip:hover { background: var(--mint-tint); }
.intro__room {
  position: relative; width: min(480px, 82vw); border-radius: 20px; overflow: hidden;
  box-shadow: var(--shadow); background: #fff;
}
.intro__scene { display: block; width: 100%; }
.intro__sweep {
  position: absolute; inset: 0;
  background: linear-gradient(105deg, transparent 40%, rgba(255,255,255,.85) 50%, transparent 60%);
  transform: translateX(-120%);
  animation: sweep 1.6s ease-in-out .2s forwards;
}
.intro__glint {
  position: absolute; top: 12%; left: 0; width: 46px; height: 46px;
  transform: translateX(-60px); opacity: 0;
  animation: glint 1.8s ease-in-out .2s forwards;
}
.intro__word {
  margin: 18px 0 0; font-family: var(--font-head); font-weight: 700;
  font-size: clamp(1.4rem, 5vw, 2rem); color: var(--ink);
  opacity: 0; animation: fadeUp .6s ease .9s forwards;
}
.intro__tag {
  margin: 2px 0 0; color: var(--mint-dark); font-weight: 600; letter-spacing: .04em;
  opacity: 0; animation: fadeUp .6s ease 1.15s forwards;
}
@keyframes sweep { to { transform: translateX(120%); } }
@keyframes glint {
  0% { transform: translateX(-60px) scale(.6); opacity: 0; }
  35% { opacity: 1; }
  70% { transform: translateX(min(430px, 74vw)) scale(1.1); opacity: 1; }
  100% { transform: translateX(min(470px, 80vw)) scale(.7); opacity: 0; }
}
@keyframes introOut { to { opacity: 0; visibility: hidden; } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

/* ===== Header ===== */
.header {
  position: sticky; top: 0; z-index: 900;
  background: rgba(255,255,255,.92); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header__inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand:hover { text-decoration: none; }
.brand__mark { width: 34px; height: 34px; display: inline-flex; }
.brand__text { font-weight: 700; font-size: 1.15rem; color: var(--ink); }
.brand__text em { font-style: normal; color: var(--mint-dark); font-weight: 600; }
.brand__text--light { color: #fff; }
.brand__text--light em { color: var(--mint-tint); }
.nav { display: flex; align-items: center; gap: 22px; }
.nav a { font-family: var(--font-head); font-weight: 500; color: var(--ink); font-size: .96rem; }
.nav a:hover { color: var(--mint-dark); text-decoration: none; }
.nav__portal {
  border: 1px solid var(--line); padding: 7px 14px; border-radius: 999px;
}
.nav__portal:hover { border-color: var(--mint); background: var(--mint-tint); }
.nav .btn:hover { color: #fff; }
.nav__toggle { display: none; background: none; border: 0; cursor: pointer; width: 40px; height: 40px; flex-direction: column; gap: 5px; justify-content: center; align-items: center; }
.nav__toggle span { display: block; width: 24px; height: 2.5px; background: var(--ink); border-radius: 2px; transition: .25s; }
.nav__mobile { display: none; flex-direction: column; gap: 4px; padding: 12px 20px 20px; background: #fff; border-bottom: 1px solid var(--line); }
.nav__mobile a { font-family: var(--font-head); font-weight: 500; color: var(--ink); padding: 12px 6px; border-bottom: 1px solid var(--mint-tint-2); }
.nav__mobile .btn { margin-top: 10px; }

/* ===== Hero ===== */
.hero { position: relative; overflow: hidden; padding: 64px 0 72px; background: var(--mint-tint-2); }
.hero__bg {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(520px 320px at 88% -10%, rgba(111,184,230,.28), transparent 60%),
    radial-gradient(560px 380px at 6% 110%, rgba(63,191,154,.22), transparent 60%);
}
.hero__inner { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; gap: 44px; align-items: center; }
.hero h1 { font-size: clamp(2.1rem, 5.2vw, 3.4rem); font-weight: 700; margin: 6px 0 16px; }
.hero__sub { font-size: 1.12rem; color: var(--ink-soft); max-width: 40ch; margin: 0 0 26px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 22px; }
.hero__trust { font-size: .92rem; color: var(--ink-soft); margin: 0; }
.hero__trust span { color: var(--mint-dark); font-weight: 800; }
.hero__art { display: flex; justify-content: center; }
.sparkle-card {
  width: 100%; max-width: 360px; padding: 18px; background: #fff;
  border-radius: 26px; box-shadow: var(--shadow); border: 1px solid var(--line);
  transform: rotate(-1.5deg);
}
.hero-sparkle { transform-origin: center; animation: twinkle 2.6s ease-in-out infinite; }
.hero-sparkle--2 { animation-delay: .7s; }
.hero-sparkle--3 { animation-delay: 1.4s; }
@keyframes twinkle { 0%,100% { opacity:.3; transform: scale(.7);} 50% { opacity:1; transform: scale(1.1);} }

/* ===== Trust Bar ===== */
.trustbar { background: var(--ink); color: #fff; }
.trustbar__grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; padding: 22px 0; text-align: center; }
.trustbar__item strong { display: block; font-family: var(--font-head); font-size: 1.35rem; color: var(--mint-tint); }
.trustbar__item span { font-size: .88rem; color: rgba(255,255,255,.78); }

/* ===== Sections ===== */
.section { padding: 74px 0; }
.section--tint { background: var(--mint-tint-2); }
.section__head { max-width: 660px; margin: 0 auto 44px; text-align: center; }
.section__head h2 { font-size: clamp(1.7rem, 3.6vw, 2.4rem); margin: 4px 0 12px; }
.section__lead { color: var(--ink-soft); font-size: 1.06rem; margin: 0; }
.section__foot { text-align: center; margin-top: 34px; color: var(--ink-soft); }

/* ===== Service Cards ===== */
.cards { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 24px; box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: var(--mint); }
.card__icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 52px; height: 52px; border-radius: 14px; margin-bottom: 14px;
  background: var(--mint-tint); color: var(--mint-dark);
}
.card__icon svg { width: 28px; height: 28px; }
.card h3 { font-size: 1.2rem; margin: 0 0 8px; }
.card p { margin: 0; color: var(--ink-soft); }

/* ===== Why ===== */
.why__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.why__copy h2 { font-size: clamp(1.7rem, 3.6vw, 2.3rem); margin: 4px 0 14px; }
.why__copy > p { color: var(--ink-soft); font-size: 1.06rem; }
.why__list { list-style: none; padding: 0; margin: 22px 0 28px; display: grid; gap: 14px; }
.why__list li { display: flex; gap: 12px; color: var(--ink-soft); }
.why__list span { color: var(--mint-dark); font-weight: 800; }
.why__list strong { color: var(--ink); }
.stat-stack { display: grid; gap: 16px; }
.stat {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px 26px; box-shadow: var(--shadow-sm); display: flex; align-items: baseline; gap: 16px;
}
.stat__num { font-family: var(--font-head); font-weight: 700; font-size: 2.2rem; color: var(--mint); }
.stat__lbl { color: var(--ink-soft); font-weight: 600; }

/* ===== Showcase ===== */
.showcase { display: grid; grid-template-columns: 1.4fr .8fr; gap: 34px; align-items: center; }
.showcase__scene { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--line); }
.showcase__svg { display: block; width: 100%; }
.showcase__shine {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(105deg, transparent 42%, rgba(255,255,255,.7) 50%, transparent 58%);
  transform: translateX(-120%);
  animation: shineLoop 4.5s ease-in-out infinite;
}
@keyframes shineLoop { 0%{transform:translateX(-120%);} 55%{transform:translateX(120%);} 100%{transform:translateX(120%);} }
.sc-sparkle { transform-origin: center; animation: twinkle 3s ease-in-out infinite; }
.sc-sparkle--b { animation-delay: .8s; }
.sc-sparkle--c { animation-delay: 1.6s; }
.showcase__notes { display: grid; gap: 14px; }
.note { display: flex; align-items: center; gap: 12px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 14px 16px; box-shadow: var(--shadow-sm); font-weight: 600; color: var(--ink); }
.note__dot { width: 12px; height: 12px; border-radius: 50%; background: var(--mint); flex: none; box-shadow: 0 0 0 4px var(--mint-tint); }

/* ===== Quotes ===== */
.quotes { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
.quote {
  position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 26px 24px; box-shadow: var(--shadow-sm); margin: 0;
}
.quote__mark { font-family: var(--font-head); font-size: 3rem; line-height: .6; color: var(--mint); height: 24px; }
.quote blockquote { margin: 8px 0 16px; color: var(--ink-soft); font-size: 1.02rem; }
.quote figcaption { font-family: var(--font-head); font-weight: 600; color: var(--ink); }
.quote figcaption span { color: var(--ink-soft); font-weight: 400; }

/* ===== FAQ ===== */
.faq__wrap { max-width: 820px; }
.faq { display: grid; gap: 12px; }
.faq__item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 4px 20px; box-shadow: var(--shadow-sm); }
.faq__item summary { font-family: var(--font-head); font-weight: 600; cursor: pointer; padding: 16px 30px 16px 0; position: relative; list-style: none; color: var(--ink); }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); font-size: 1.5rem; color: var(--mint-dark); transition: transform .2s; }
.faq__item[open] summary::after { content: "−"; }
.faq__item p { margin: 0 0 18px; color: var(--ink-soft); }

/* ===== CTA Band ===== */
.cta-band { background: linear-gradient(135deg, var(--mint), var(--sky-dark)); color: #fff; padding: 62px 0; }
.cta-band__inner { text-align: center; max-width: 680px; margin: 0 auto; }
.cta-band h2 { font-size: clamp(1.7rem, 3.6vw, 2.4rem); margin: 0 0 12px; }
.cta-band p { font-size: 1.1rem; margin: 0 0 26px; color: rgba(255,255,255,.92); }
.cta-band__btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ===== Contact ===== */
.contact__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: start; }
.contact__info h2 { font-size: clamp(1.7rem, 3.6vw, 2.3rem); margin: 4px 0 12px; }
.contact__info > p { color: var(--ink-soft); font-size: 1.06rem; }
.contact__list { list-style: none; padding: 0; margin: 24px 0; display: grid; gap: 14px; }
.contact__list li { display: flex; align-items: center; gap: 14px; font-weight: 600; }
.contact__ic { width: 42px; height: 42px; border-radius: 12px; background: var(--mint-tint); color: var(--mint-dark); display: inline-flex; align-items: center; justify-content: center; flex: none; }
.contact__ic svg { width: 22px; height: 22px; }
.contact__note { font-size: .95rem; color: var(--ink-soft); }
.contact__form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.field { margin-bottom: 16px; }
.field label { display: block; font-family: var(--font-head); font-weight: 600; font-size: .9rem; margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius-sm);
  font-family: var(--font-body); font-size: 1rem; color: var(--ink); background: var(--mint-tint-2);
  transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--mint); box-shadow: 0 0 0 3px rgba(63,191,154,.18); background: #fff;
}
.field textarea { resize: vertical; }
.form__status { font-weight: 600; color: var(--mint-dark); margin: 10px 0 0; min-height: 1.2em; }
.form__fine { font-size: .82rem; color: var(--ink-soft); margin: 8px 0 0; }

/* ===== Footer ===== */
.footer { background: var(--ink); color: rgba(255,255,255,.82); padding: 52px 0 0; }
.footer__inner { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 30px; padding-bottom: 34px; }
.footer__brand p { margin: 10px 0 0; font-size: .95rem; max-width: 34ch; }
.footer__nav { display: flex; flex-direction: column; gap: 10px; }
.footer__nav a, .footer__contact a { color: rgba(255,255,255,.82); }
.footer__nav a:hover, .footer__contact a:hover { color: #fff; }
.footer__contact { display: flex; flex-direction: column; gap: 10px; }
.footer__bar { border-top: 1px solid rgba(255,255,255,.14); padding: 18px 0; }
.footer__bar-inner { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: .86rem; }
.footer__bar-inner p { margin: 0; }
.footer__bar a { color: var(--mint-tint); }

/* ===== Mobile Bar ===== */
.mobile-bar { display: none; position: fixed; bottom: 0; left: 0; right: 0; z-index: 800; background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -6px 20px rgba(31,58,54,.12); padding: 8px; gap: 8px; }
.mobile-bar__btn { flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-family: var(--font-head); font-weight: 600; padding: 13px; border-radius: 12px; }
.mobile-bar__btn svg { width: 20px; height: 20px; }
.mobile-bar__btn--call { background: var(--mint); color: #fff; }
.mobile-bar__btn--quote { background: var(--mint-tint); color: var(--mint-dark); }
.mobile-bar__btn:hover { text-decoration: none; }

/* ===== Scroll Reveal ===== */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ===== Responsive ===== */
@media (max-width: 960px) {
  .hero__inner { grid-template-columns: 1fr; text-align: center; }
  .hero__cta, .hero__trust { justify-content: center; }
  .hero__sub { margin-left: auto; margin-right: auto; }
  .hero__art { order: -1; }
  .cards, .quotes { grid-template-columns: repeat(2,1fr); }
  .why__grid, .showcase, .contact__grid { grid-template-columns: 1fr; }
  .showcase__notes { grid-template-columns: repeat(2,1fr); }
  .footer__inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .nav { display: none; }
  .nav__toggle { display: flex; }
  .nav__mobile.open { display: flex; }
  .header.nav-open .nav__toggle span:nth-child(1){ transform: translateY(7.5px) rotate(45deg); }
  .header.nav-open .nav__toggle span:nth-child(2){ opacity: 0; }
  .header.nav-open .nav__toggle span:nth-child(3){ transform: translateY(-7.5px) rotate(-45deg); }
  .trustbar__grid { grid-template-columns: repeat(2,1fr); gap: 20px 16px; }
  .cards, .quotes, .showcase__notes { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr; }
  .mobile-bar { display: flex; }
  body { padding-bottom: 72px; }
  .section { padding: 54px 0; }
}
@media (max-width: 400px) {
  .hero h1 { font-size: 2rem; }
  .btn--lg { width: 100%; }
  .hero__cta .btn { width: 100%; }
}

/* ===== Reduced Motion ===== */
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
  .intro { display: none !important; }
}
