/* ===== Vibe Revival Cleaning — pink card brand ===== */
:root {
  /* Brand palette — pulled from Kari's business card */
  --pink: #e8608f;         /* Vibe Pink — primary: buttons, links, headers */
  --pink-deep: #ce4a80;    /* Raspberry — hover states, gradients */
  --pink-soft: #f7b8d0;    /* Soft pink — borders, badges, dashed frames */
  --pink-tint: #fdeef4;    /* Blush — alternating section backgrounds */
  --blue: #7ec4df;         /* Sky Blue — cool accent (eyebrows), used sparingly */
  --maroon: #8b2c52;       /* Wine — dark headings (the "Kari Oates" color) */
  --ink: #2d2531;          /* Plum-black — body text */
  --muted: #6f6675;        /* Muted mauve — secondary text */
  --white: #ffffff;
  --shadow: 0 10px 30px rgba(206, 74, 128, 0.13);
  --shadow-sm: 0 4px 14px rgba(45, 37, 49, 0.08);
  --radius: 18px;
  --radius-sm: 12px;
  --maxw: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  font-family: "Nunito", system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, .brand-name, .tagline { font-family: "Fredoka", "Nunito", sans-serif; font-weight: 600; }
h2 { font-size: clamp(1.7rem, 4vw, 2.6rem); margin: 0 0 .3em; line-height: 1.1; }
h3 { font-size: 1.2rem; margin: 0 0 .4em; }
a { color: var(--pink-deep); text-decoration: none; }
img { max-width: 100%; display: block; }
[hidden] { display: none !important; } /* ensure the hidden attribute always wins over display:flex fallbacks */

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }
.section { padding: 72px 0; }
.section-alt { background: var(--pink-tint); }
.kicker { text-transform: uppercase; letter-spacing: .12em; font-weight: 800; font-size: .8rem; color: var(--pink); margin: 0 0 .4em; }
.kicker.light { color: var(--pink-soft); }
.section-sub { color: var(--muted); font-size: 1.05rem; margin: 0 0 2rem; max-width: 60ch; }
.fine-print { color: var(--muted); font-size: .85rem; margin-top: 1rem; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  padding: .7em 1.3em; border-radius: 999px; font-family: "Fredoka", sans-serif;
  font-weight: 500; font-size: 1rem; cursor: pointer; border: 2px solid transparent;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease; white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--pink); color: #fff; box-shadow: var(--shadow); }
.btn-primary:hover { background: var(--pink-deep); }
.btn-outline { background: transparent; color: var(--pink-deep); border-color: var(--pink-soft); }
.btn-outline:hover { background: var(--pink-tint); }
.btn-ghost { background: transparent; color: var(--ink); padding: .4em .8em; }
.btn-lg { font-size: 1.08rem; padding: .85em 1.6em; }
.btn-block { width: 100%; }

/* ===== Header ===== */
.site-header {
  position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.92);
  backdrop-filter: blur(8px); border-bottom: 1px solid #f2e2ea;
}
.header-inner { display: flex; align-items: center; gap: 16px; height: 68px; }
.brand { display: flex; align-items: center; gap: 8px; color: var(--maroon); }
.brand-mark { color: var(--pink); font-size: 1.3rem; }
.brand-logo { height: 42px; width: 42px; border-radius: 50%; object-fit: cover; box-shadow: var(--shadow-sm); }
.brand-name { font-size: 1.35rem; color: var(--maroon); letter-spacing: .2px; }
.nav { margin-left: auto; display: flex; gap: 22px; }
.nav a { color: var(--ink); font-weight: 700; font-size: .95rem; }
.nav a:hover { color: var(--pink-deep); }
.header-call { margin-left: 8px; font-weight: 700; }

/* ===== Hero ===== */
.hero { background: linear-gradient(160deg, #fff 0%, var(--pink-tint) 60%, #fbe1ec 100%); padding: 56px 0 64px; }
.hero-inner { display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: center; }
.eyebrow { color: var(--blue); font-weight: 800; letter-spacing: .04em; margin: 0 0 .6em; }
.hero h1 { font-size: clamp(2.6rem, 7vw, 4.2rem); line-height: 1; margin: 0 0 .35em; color: var(--maroon); }
.hero h1 .accent { color: var(--pink); }
.lede { font-size: 1.15rem; color: #4c4453; max-width: 46ch; margin: 0 0 1.6em; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 1.6em; }
.hero-badges { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px 22px; color: var(--muted); font-weight: 700; font-size: .92rem; }
.hero-art { display: flex; justify-content: center; }
.hero-logo { width: 100%; max-width: 360px; aspect-ratio: 1 / 1; border-radius: 50%; object-fit: cover; background: #fff; box-shadow: var(--shadow); }
.hero-bubble-card {
  width: 100%; max-width: 340px; aspect-ratio: 4/5; border-radius: 28px;
  background: radial-gradient(circle at 30% 25%, #fff 0%, var(--pink-soft) 55%, var(--pink) 120%);
  box-shadow: var(--shadow); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; color: #fff;
}
.big-emoji { font-size: 4rem; }
.tagline { font-size: 1.9rem; text-align: center; line-height: 1.05; text-shadow: 0 2px 8px rgba(150,30,80,.25); }

/* ===== Cards / services ===== */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card { background: #fff; border: 1px solid #f2e2ea; border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow-sm); }
.card-icon { font-size: 2rem; display: block; margin-bottom: .4em; }
.card p { margin: 0; color: var(--muted); }
.reviews .review p { font-style: italic; color: var(--ink); }
.review-by { color: var(--pink-deep); font-weight: 800; }

/* ===== Estimator ===== */
.estimator { background: #fff; border: 1px solid #f2e2ea; border-radius: var(--radius); box-shadow: var(--shadow); padding: 26px; }
.est-tabs { display: inline-flex; background: var(--pink-tint); border-radius: 999px; padding: 4px; margin-bottom: 22px; }
.est-tab { border: none; background: transparent; padding: .5em 1.4em; border-radius: 999px; font-family: "Fredoka", sans-serif; font-weight: 500; font-size: 1rem; color: var(--muted); cursor: pointer; }
.est-tab.is-active { background: #fff; color: var(--pink-deep); box-shadow: var(--shadow-sm); }
.est-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field > span, .field > label { font-weight: 700; font-size: .9rem; color: var(--ink); }
select, input, textarea {
  font: inherit; padding: .65em .8em; border: 1.5px solid #ecd6e1; border-radius: var(--radius-sm);
  background: #fff; color: var(--ink); width: 100%;
}
select:focus, input:focus, textarea:focus { outline: none; border-color: var(--pink); box-shadow: 0 0 0 3px rgba(225,77,139,.15); }
.addons { border: none; margin: 22px 0 0; padding: 0; }
.addons legend { font-weight: 800; padding: 0; margin-bottom: 10px; }
.addon-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px 20px; }
.addon-item { display: flex; align-items: center; gap: 8px; font-size: .95rem; }
.addon-item input { width: auto; }
.addon-item .price { margin-left: auto; color: var(--muted); font-weight: 700; font-size: .85rem; }
.est-panel.is-hidden { display: none; }
.est-result {
  margin-top: 24px; padding: 20px 22px; border-radius: var(--radius);
  background: linear-gradient(120deg, var(--pink) 0%, var(--pink-deep) 100%); color: #fff;
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
}
.est-result-label { display: block; font-size: .85rem; opacity: .9; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.est-result-price { font-family: "Fredoka", sans-serif; font-size: 2.3rem; font-weight: 600; line-height: 1.1; }
.est-result-note { display: block; font-size: .9rem; opacity: .95; }
.est-result .btn-primary { background: #fff; color: var(--pink-deep); }
.est-result .btn-primary:hover { background: #fff0f6; }

/* ===== Tables ===== */
.table-title { margin: 28px 0 10px; color: var(--maroon); }
.table-wrap { overflow-x: auto; border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.price-table { width: 100%; border-collapse: collapse; background: #fff; min-width: 480px; }
.price-table th, .price-table td { padding: 12px 16px; text-align: left; border-bottom: 1px solid #f2e2ea; }
.price-table thead th { background: var(--pink); color: #fff; font-family: "Fredoka", sans-serif; font-weight: 500; }
.price-table tbody tr:nth-child(even) { background: var(--pink-tint); }
.price-table td:first-child { font-weight: 700; }

/* ===== About ===== */
.about-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 40px; align-items: center; }
.about-photo-placeholder {
  aspect-ratio: 1/1; border-radius: var(--radius); border: 2px dashed var(--pink-soft);
  background: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; color: var(--muted); gap: 8px;
}
.about-photo-placeholder span { font-size: 2.4rem; }
.about-photo { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; object-position: center 22%; border-radius: var(--radius); box-shadow: var(--shadow); }
.gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.why-list { list-style: none; padding: 0; margin: 1.2em 0 0; display: grid; grid-template-columns: repeat(2,1fr); gap: 8px 20px; font-weight: 700; }

/* ===== Contact ===== */
.section-dark { background: linear-gradient(160deg, var(--maroon) 0%, var(--pink-deep) 100%); color: #fff; }
.section-dark h2 { color: #fff; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: start; }
.contact-copy p { color: #ffe3ef; }
.contact-list { list-style: none; padding: 0; margin: 1.2em 0; display: grid; gap: 10px; font-weight: 700; }
.contact-list a { color: #fff; }
.policy-note { font-size: .88rem; color: #ffcfe2 !important; border-left: 3px solid var(--pink-soft); padding-left: 12px; }
.pay-note { margin-top: 18px; background: rgba(255, 255, 255, .10); border: 1px solid rgba(255, 255, 255, .18); border-radius: var(--radius-sm); padding: 14px 16px; }
.pay-note strong { display: block; margin-bottom: 4px; font-family: "Fredoka", sans-serif; }
.pay-note p { margin: 0 0 8px; color: #ffe3ef !important; font-size: .9rem; }
.pay-note ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; font-weight: 700; }
.pay-note a { color: #fff; text-decoration: underline; }
.quote-form { background: #fff; border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); color: var(--ink); }
.quote-form .field { margin-bottom: 14px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-status { margin: 12px 0 0; font-weight: 700; text-align: center; min-height: 1.2em; }
.form-status.ok { color: #1f9d55; }
.form-status.err { color: #d64545; }

/* ===== Footer ===== */
.site-footer { background: #241a29; color: #e9dfee; padding: 40px 0 20px; }
.footer-inner { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.site-footer .brand-name { color: #fff; font-size: 1.2rem; }
.site-footer p { margin: .3em 0 0; color: #b9aec2; }
.footer-contact { display: flex; flex-direction: column; gap: 4px; }
.footer-contact a, .footer-contact span { color: #e9dfee; }
.footer-legal { text-align: center; color: #8a7d93; font-size: .82rem; margin: 28px 0 0; }

/* ===== Responsive ===== */
@media (max-width: 860px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-art { order: -1; }
  .hero-bubble-card { max-width: 260px; aspect-ratio: 5/4; }
  .cards { grid-template-columns: 1fr 1fr; }
  .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .about-art { max-width: 340px; }
  .est-grid { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .nav { display: none; }
  .header-call { margin-left: auto; }
  .section { padding: 52px 0; }
  .cards, .addon-list, .why-list { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .est-result { justify-content: center; text-align: center; }
}

/* ===== Sticky mobile action bar ===== */
.mobile-bar { display: none; }
@media (max-width: 620px) {
  .mobile-bar {
    display: flex; gap: 10px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, .96); backdrop-filter: blur(8px);
    border-top: 1px solid #f2e2ea; box-shadow: 0 -6px 20px rgba(45, 37, 49, .10);
  }
  .mobile-bar .btn { flex: 1; }
  body { padding-bottom: 78px; } /* keep footer clear of the fixed bar */
}
