/* Samantha's Squeaky Clean Co. — colors pulled from logo.svg and samantha-business-card.pdf */
:root {
  /* Logo ring / divider gradient (logo.svg #grad + PDF shadings) */
  --pink: #E98FA8;
  --lavender: #9A86C4;
  --periwinkle: #8E9BDB;
  /* Sparkle gradient start (PDF) */
  --pink-soft: #E9A3BC;
  /* Icon badge gradient (PDF) */
  --badge-1: #C690C8;
  --badge-2: #9486CC;
  --badge-3: #7F92D8;
  /* Text */
  --ink: #2A2530;        /* dark navy/plum text (logo.svg + PDF) */
  --ink-2: #3A3550;      /* secondary text (PDF) */
  --accent: #5A63A8;     /* letter-spaced caps, e.g. OUR SERVICES (PDF) */
  /* Bubble outlines / pill borders (PDF) */
  --bubble: #A9B2E4;
  --bubble-2: #B1B9E6;
  /* Background gradients (PDF) */
  --bg-a1: #F8EBF3; --bg-a2: #ECEAF8; --bg-a3: #E0E7F9;  /* card back */
  --bg-b1: #F7E8F1; --bg-b2: #E9E6F7;                    /* card front band */
  --white: #FFFFFF;

  --grad-logo: linear-gradient(90deg, var(--pink), var(--lavender) 50%, var(--periwinkle));
  --grad-badge: linear-gradient(135deg, var(--badge-1), var(--badge-2) 50%, var(--badge-3));
  --grad-bg: linear-gradient(120deg, var(--bg-a1), var(--bg-a2) 50%, var(--bg-a3));
  --grad-band: linear-gradient(90deg, var(--bg-b1), var(--bg-b2) 50%, var(--bg-a3));

  --serif: "DM Serif Display", Georgia, "Times New Roman", serif;
  --sans: "Lato", "Helvetica Neue", Arial, sans-serif;
  --radius: 18px;
  --shadow: 0 10px 30px -14px rgba(90, 99, 168, .35);
  --sticky-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  padding-bottom: var(--sticky-h); /* room for the mobile sticky CTA */
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.15; margin: 0 0 .5em; color: var(--ink); }
h1 { font-size: clamp(2.4rem, 8vw, 4rem); }
h2 { font-size: clamp(1.9rem, 5.5vw, 2.7rem); }
h3 { font-size: 1.35rem; }
p { margin: 0 0 1em; }
a { color: var(--accent); }

.container { width: 100%; max-width: 1140px; margin: 0 auto; padding: 0 22px; }
.narrow { max-width: 680px; }
.center { text-align: center; }
.muted { color: var(--ink-2); }

/* letter-spaced small caps, like OUR SERVICES / FREE CONSULTATIONS */
.caps, .eyebrow, .pill-note {
  font-family: var(--sans);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .22em;
  font-size: .85rem;
  color: var(--accent);
  margin-bottom: .9em;
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--sans); font-weight: 700; font-size: 1rem; letter-spacing: .02em;
  padding: 14px 26px; border-radius: 999px; border: 0; cursor: pointer;
  color: var(--white); text-decoration: none;
  background: var(--grad-badge);
  box-shadow: var(--shadow);
  transition: transform .15s ease, box-shadow .15s ease;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 14px 30px -12px rgba(90, 99, 168, .5); }
.btn:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, a:focus-visible { outline: 3px solid var(--bubble); outline-offset: 2px; }
.btn-ghost { background: var(--white); color: var(--accent); border: 2px solid var(--bubble); box-shadow: none; }
.btn-small { padding: 10px 18px; font-size: .9rem; }
.btn-block { width: 100%; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--bg-a2);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-family: var(--serif); font-size: 1.15rem; }
.brand img { width: 44px; height: 44px; }
.site-nav, .header-cta { display: none; }

/* Decorative bubbles & sparkles */
.decor { position: absolute; pointer-events: none; opacity: .9; }
.bubbles { width: 120px; }
.bubbles-hero-l { left: -10px; bottom: 18px; width: 110px; }
.bubbles-hero-r { right: -6px; top: 20px; width: 90px; transform: scaleX(-1); }
.bubbles-sec { left: 8px; bottom: 16px; width: 100px; }
.bubbles-sec-r { right: 8px; bottom: 16px; width: 110px; transform: scaleX(-1); }
.grad-rule { display: block; width: 150px; height: 3px; border-radius: 3px; background: var(--grad-logo); margin: 4px 0 22px; }
.divider { display: flex; align-items: center; justify-content: center; gap: 12px; margin: 8px auto 16px; }
.divider span { width: 90px; height: 3px; border-radius: 3px; background: var(--grad-logo); }
.divider img { width: 24px; height: 24px; }

/* Hero */
.hero { position: relative; overflow: hidden; background: linear-gradient(180deg, var(--white) 0%, var(--white) 55%, var(--bg-a2) 100%); padding: 36px 0 56px; }
.hero-inner { display: grid; gap: 24px; justify-items: center; text-align: center; position: relative; }
.hero-logo { width: min(280px, 72vw); }
.hero-copy .grad-rule { margin-left: auto; margin-right: auto; }
.eyebrow, .pill-note { display: inline-flex; align-items: center; gap: 8px; }
.eyebrow img, .pill-note img { width: 18px; height: 18px; }
.lead { font-size: 1.1rem; color: var(--ink-2); max-width: 34em; margin-left: auto; margin-right: auto; }
.hero-actions { display: flex; flex-direction: column; gap: 12px; margin: 22px 0 18px; }
.pill-note { border: 2px solid var(--bubble); border-radius: 999px; padding: 8px 18px; background: var(--white); margin: 0; }

/* Sections */
.section { position: relative; padding: 64px 0; overflow: hidden; }
.section-tint { background: var(--grad-bg); }
.section-head { text-align: center; margin-bottom: 34px; }
.script-title { font-size: clamp(1.7rem, 6vw, 2.6rem); margin-bottom: .2em; }
.section-head .caps { margin-bottom: .4em; }

/* Service cards */
.cards { display: grid; gap: 20px; margin-bottom: 34px; position: relative; z-index: 1; }
.card { background: var(--white); border-radius: var(--radius); padding: 16px 16px 20px; box-shadow: var(--shadow); border: 1px solid var(--bg-a2); }
.card h3 { display: flex; align-items: center; gap: 10px; margin: 16px 4px 8px; }
.card h3 img { width: 22px; height: 22px; flex: none; }
.card p { margin: 0 4px; color: var(--ink-2); font-size: .98rem; }

/* Photo placeholders */
.photo {
  position: relative; display: grid; place-items: center;
  aspect-ratio: 4 / 3; border-radius: 14px;
  background: var(--grad-band);
  border: 2px dashed var(--bubble);
  color: var(--accent);
}
.photo span { font-weight: 700; letter-spacing: .18em; text-transform: uppercase; font-size: .8rem; background: rgba(255,255,255,.75); padding: 6px 14px; border-radius: 999px; }
.photo-tall { aspect-ratio: 4 / 3; }

/* Split layouts */
.split { display: grid; gap: 30px; align-items: center; position: relative; z-index: 1; }
.checklist { list-style: none; padding: 0; margin: 0 0 26px; }
.checklist li { display: flex; align-items: center; gap: 12px; padding: 7px 0; font-weight: 700; }
.checklist img { width: 22px; height: 22px; flex: none; }
.signature { font-family: var(--serif); font-size: 1.8rem; margin-top: 10px; }
.signature span { display: block; font-family: var(--sans); font-size: .8rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--accent); }

/* Steps */
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 20px; position: relative; z-index: 1; }
.step { background: var(--white); border-radius: var(--radius); padding: 26px 22px; text-align: center; box-shadow: var(--shadow); border: 1px solid var(--bg-a2); }
.step p { color: var(--ink-2); margin: 0; }
.step-num { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--grad-badge); color: var(--white); font-family: var(--serif); font-size: 1.5rem; margin-bottom: 12px; }

/* Towns */
.towns { list-style: none; padding: 0; margin: 0 auto 22px; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; max-width: 760px; }
.towns li { border: 2px solid var(--bubble); border-radius: 999px; padding: 9px 20px; font-weight: 700; color: var(--ink); background: var(--white); }
.towns li:first-child { background: var(--grad-band); }

/* Form */
.consult { background: var(--grad-band); }
.consult-form { background: var(--white); border-radius: var(--radius); padding: 26px 22px; box-shadow: var(--shadow); display: grid; gap: 6px; }
.consult-form label { font-weight: 700; font-size: .95rem; margin-top: 10px; }
.consult-form input, .consult-form select, .consult-form textarea {
  font: inherit; color: var(--ink); width: 100%;
  padding: 12px 14px; border-radius: 12px; border: 2px solid var(--bubble-2); background: var(--white);
}
.consult-form textarea { resize: vertical; }
.consult-form .btn { margin-top: 18px; }
.form-note { margin: 12px 0 0; text-align: center; font-weight: 700; color: var(--accent); background: var(--bg-a2); border-radius: 12px; padding: 12px; }

/* Footer */
.site-footer { background: var(--white); border-top: 1px solid var(--bg-a2); padding: 34px 0 30px; text-align: center; }
.footer-inner { display: grid; justify-items: center; gap: 4px; }
.footer-inner img { width: 72px; height: 72px; margin-bottom: 6px; }
.footer-name { font-family: var(--serif); font-size: 1.4rem; margin: 0; }
.footer-area { color: var(--ink-2); font-size: .95rem; margin: 0; }

/* Mobile sticky CTA */
.sticky-cta {
  position: fixed; left: 16px; right: 16px; bottom: 14px; z-index: 30;
  padding: 15px 20px;
}

/* ---------- Tablet & up ---------- */
@media (min-width: 700px) {
  .hero-actions { flex-direction: row; justify-content: center; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(3, 1fr); }
}

/* ---------- Desktop ---------- */
@media (min-width: 960px) {
  body { padding-bottom: 0; }
  .sticky-cta { display: none; }
  .site-nav { display: flex; gap: 22px; }
  .site-nav a { color: var(--ink); text-decoration: none; font-weight: 700; font-size: .95rem; }
  .site-nav a:hover { color: var(--accent); }
  .header-cta { display: inline-flex; }
  .hero { padding: 70px 0 90px; }
  .hero-inner { grid-template-columns: 400px 1fr; text-align: left; justify-items: start; gap: 60px; align-items: center; }
  .hero-logo { width: 400px; }
  .hero-copy .grad-rule { margin-left: 0; }
  .lead { margin-left: 0; }
  .hero-actions { justify-content: flex-start; }
  .bubbles-hero-l { left: 30px; bottom: 30px; width: 150px; }
  .bubbles-hero-r { right: 40px; top: 40px; width: 120px; }
  .cards { grid-template-columns: repeat(4, 1fr); }
  .split { grid-template-columns: 1fr 1fr; gap: 60px; }
  .split-rev > :first-child { order: 2; }
  .section { padding: 90px 0; }
  .bubbles-sec { width: 150px; left: 30px; }
  .bubbles-sec-r { width: 160px; right: 30px; }
}

/* --- layout fixes after screenshot review --- */
.nowrap { white-space: nowrap; }
.bubbles-top-r { right: 10px; top: 14px; width: 90px; transform: scaleX(-1); }
.bubbles-hero-l { display: none; }
.bubbles-sec, .bubbles-sec-r { width: 84px; bottom: 6px; }
.card .photo { aspect-ratio: 16 / 9; }
@media (min-width: 700px) { .card .photo { aspect-ratio: 4 / 3; } }
@media (min-width: 960px) {
  .bubbles-hero-l { display: block; }
  .bubbles-sec { width: 110px; left: 24px; bottom: 10px; }
  .bubbles-sec-r { width: 110px; right: 24px; bottom: 6px; }
  #how { padding-bottom: 110px; }
  .bubbles-top-r { width: 80px; right: 8px; top: 16px; }
}
.footer-copy { color: var(--ink-2); font-size: .82rem; margin: 10px 0 0; opacity: .85; }
