/* =========================================================
   LLL Cleaning Service — styles
   Colors are pulled from Heather's business card.
   Change them here and the whole site updates.
   ========================================================= */
:root {
  --blue: #1D3A74;        /* main brand blue */
  --blue-dark: #0F2350;   /* headings, footer */
  --blue-light: #EEF3FB;  /* soft section background */
  --green: #5E8F1E;       /* leaf green (accents, buttons) */
  --green-dark: #4A7316;  /* green for hover states */
  --text: #24304A;
  --muted: #5B6680;
  --white: #FFFFFF;
  --border: #D9E1EF;
  --radius: 14px;
  --shadow: 0 8px 24px rgba(15, 35, 80, 0.08);
  --font: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

/* ---------- Basics ---------- */
*, *::before, *::after { box-sizing: border-box; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  padding-bottom: 72px; /* room for the mobile call bar */
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); }
h1, h2, h3 { color: var(--blue-dark); line-height: 1.2; margin: 0 0 .5em; }
h2 { font-size: clamp(1.7rem, 4vw, 2.3rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }

.container { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 16px; }
.section { padding: 64px 0; }
.section-tint { background: var(--blue-light); }
.eyebrow {
  color: var(--green-dark);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: .85rem;
  margin-bottom: .4em;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5em;
  padding: .75em 1.4em;
  border-radius: 999px;
  border: 2px solid transparent;
  font: inherit;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: background .2s, color .2s, transform .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn svg { width: 1.1em; height: 1.1em; fill: currentColor; }
.btn-primary { background: var(--blue); color: var(--white); }
.btn-primary:hover { background: var(--blue-dark); }
.btn-green { background: var(--green); color: var(--white); }
.btn-green:hover { background: var(--green-dark); }
.btn-outline { border-color: var(--blue); color: var(--blue); background: var(--white); }
.btn-outline:hover { background: var(--blue); color: var(--white); }
.btn-large { padding: .95em 1.8em; font-size: 1.05rem; }
.btn-small { padding: .5em 1em; font-size: .9rem; }
.btn-block { width: 100%; }
a:focus-visible, .btn:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--green);
  outline-offset: 2px;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .96);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(6px);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name { font-weight: 700; color: var(--blue-dark); font-size: 1.05rem; }
.brand-sub { font-size: .75rem; color: var(--green-dark); font-weight: 500; }
.main-nav { display: none; gap: 20px; }
.main-nav a { color: var(--text); text-decoration: none; font-weight: 500; font-size: .95rem; }
.main-nav a:hover { color: var(--green-dark); }
.main-nav a[aria-current="page"] { color: var(--green-dark); font-weight: 600; box-shadow: inset 0 -2px 0 var(--green); }
.header-actions { display: flex; align-items: center; gap: 8px; }
.header-call span { display: none; }

/* Phone menu (the ☰ button). Hidden on desktops, where .main-nav shows instead. */
.mobile-menu summary {
  list-style: none;
  cursor: pointer;
  width: 42px; height: 42px;
  display: grid; place-items: center;
  border: 1px solid var(--border);
  border-radius: 10px;
}
.mobile-menu summary::-webkit-details-marker { display: none; }
.mobile-menu summary svg { width: 24px; height: 24px; fill: var(--blue-dark); }
.mobile-menu[open] summary { background: var(--blue-light); }
.mobile-menu nav {
  position: absolute; left: 0; right: 0; top: 100%;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow);
  padding: 8px 16px 16px;
  display: flex; flex-direction: column;
}
.mobile-menu nav a {
  padding: 12px 4px;
  border-bottom: 1px solid var(--border);
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
}
.mobile-menu nav a:last-child { border-bottom: 0; }
.mobile-menu nav a[aria-current="page"] { color: var(--green-dark); font-weight: 600; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: 72px 0 96px;
  text-align: center;
  background:
    radial-gradient(circle at 15% 20%, rgba(94, 143, 30, .10), transparent 40%),
    radial-gradient(circle at 85% 10%, rgba(29, 58, 116, .10), transparent 45%),
    linear-gradient(180deg, #F7FAFF 0%, var(--white) 100%);
}
/* Blue swoosh along the bottom, like the business card */
.hero::after {
  content: "";
  position: absolute;
  left: -10%; right: -10%; bottom: -60px;
  height: 120px;
  background: var(--blue);
  border-radius: 50% 50% 0 0 / 100% 100% 0 0;
  opacity: .9;
}
.hero-inner { position: relative; z-index: 1; max-width: 780px; }
.hero-logo { margin: 0 auto 12px; width: 84px; }
/* Full business name, laid out like the business card: sparkles · name · sparkles */
.hero-name {
  display: flex; align-items: center; justify-content: center; gap: 12px;
  /* wider than the rest of the hero so the bigger name fits on fewer lines */
  width: min(1100px, calc(100vw - 32px));
  position: relative; left: 50%; transform: translateX(-50%);
  margin: 0 0 .3em;
  font-size: clamp(2.2rem, 10.4vw, 5.8rem); /* 2x the original size */
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: -.01em;
}
.hero-sparkles { flex-shrink: 0; width: clamp(28px, 7vw, 80px); }
.hero-sparkles svg { display: block; width: 100%; }
.hero-sparkles .sp-blue { fill: var(--blue); }
.hero-sparkles .sp-green { fill: var(--green); }
.hero-sparkles-flip svg { transform: scaleX(-1); }
/* Thin line · sparkle · thin line, under the name (like the card) */
.ornament { display: flex; align-items: center; justify-content: center; gap: 10px; margin: 0 auto 1.2em; max-width: 420px; }
.ornament span { flex: 1; height: 2px; background: linear-gradient(90deg, transparent, var(--blue)); }
.ornament span:last-child { background: linear-gradient(90deg, var(--blue), transparent); }
.ornament svg { width: 20px; height: 20px; fill: var(--blue); }
.hero-tagline { font-size: clamp(1.15rem, 3.4vw, 1.5rem); font-weight: 600; color: var(--blue-dark); margin-bottom: .7em; }
.hero-tagline span { color: var(--green); }
.hero-lead { font-size: 1.1rem; color: var(--muted); max-width: 620px; margin: 0 auto 1.6em; }
.hero-actions { display: flex; flex-direction: column; gap: 12px; align-items: center; }
.hero-note { margin-top: 1.4em; font-weight: 600; color: var(--blue); font-size: .95rem; }

/* ---------- Page title banner (top of every page except Home) ---------- */
.page-hero {
  padding: 48px 0 40px;
  text-align: center;
  background:
    radial-gradient(circle at 15% 20%, rgba(94, 143, 30, .10), transparent 40%),
    radial-gradient(circle at 85% 10%, rgba(29, 58, 116, .10), transparent 45%),
    var(--blue-light);
  border-bottom: 4px solid var(--green);
}
.page-hero h1 { font-size: clamp(2rem, 6vw, 3rem); }
.page-hero p:last-child { color: var(--muted); max-width: 620px; margin: 0 auto; font-size: 1.05rem; }

/* ---------- Call-to-action strip (bottom of each page) ---------- */
.cta-band { background: var(--blue); color: var(--white); padding: 56px 0; text-align: center; }
.cta-band h2 { color: var(--white); }
.cta-band p { color: #D6DEEE; }
.btn-white { background: var(--white); color: var(--blue); }
.btn-white:hover { background: var(--blue-light); }

/* ---------- Services cards ---------- */
.cards { display: grid; gap: 20px; margin-top: 28px; }
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-top: 4px solid var(--green);
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: var(--shadow);
}
.card-icon, .feature-icon {
  width: 52px; height: 52px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: var(--blue-light);
  margin-bottom: 16px;
}
.card-icon svg, .feature-icon svg { width: 26px; height: 26px; fill: var(--blue); }
.card p { color: var(--muted); }
.card-link { font-weight: 600; color: var(--green-dark); text-decoration: none; }
.card-link:hover { text-decoration: underline; }
/* Whole card is a link (used on the Home page) */
.card-linked { display: block; color: inherit; text-decoration: none; transition: transform .2s, box-shadow .2s; }
.card-linked:hover { transform: translateY(-3px); box-shadow: 0 14px 32px rgba(15, 35, 80, .14); }
.card-linked:hover .card-link { text-decoration: underline; }
/* No extra space above the grid when there's no heading right before it */
.cards-flush, .gallery-flush { margin-top: 0; }

/* ---------- Types of cleans / how often ---------- */
.check-list { list-style: none; padding: 0; margin: 0 0 1em; color: var(--muted); }
.check-list li { position: relative; padding-left: 1.6em; margin-bottom: .35em; }
.check-list li::before { content: "\2713"; position: absolute; left: 0; color: var(--green); font-weight: 700; }
.card-tag {
  display: inline-block; margin-bottom: .6em; padding: .2em .8em; border-radius: 999px;
  background: var(--blue-light); color: var(--blue); font-size: .8rem; font-weight: 600;
}
.section-intro { max-width: 680px; color: var(--muted); }
@media (min-width: 640px) { .cards.cards-two { grid-template-columns: repeat(2, 1fr); max-width: 900px; } }

/* ---------- Why choose us ---------- */
.features { display: grid; gap: 28px; }
.feature-icon { background: var(--white); box-shadow: var(--shadow); }
.feature-icon svg { fill: var(--green); }
.feature p { color: var(--muted); margin: 0; }

/* ---------- Reviews (for when real reviews are added) ---------- */
.reviews { display: grid; gap: 20px; margin-top: 28px; }
.review { margin: 0; background: var(--blue-light); border-radius: var(--radius); padding: 24px; }
.review blockquote { margin: 0 0 .8em; font-style: italic; }
.review figcaption { font-weight: 600; color: var(--blue); }

/* ---------- Service area ---------- */
.area-inner { display: grid; gap: 32px; align-items: center; }
.area-list {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px;
}
.area-list li {
  background: var(--blue-light);
  border-left: 4px solid var(--green);
  border-radius: 10px;
  padding: 14px 16px;
  font-weight: 600;
  color: var(--blue-dark);
}

/* ---------- Gallery ---------- */
.gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 28px; }
.gallery img, .gallery-placeholder { aspect-ratio: 4 / 3; width: 100%; border-radius: 12px; object-fit: cover; }
.gallery-placeholder {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
  background: var(--blue-light);
  border: 2px dashed var(--border);
  color: var(--muted);
  font-size: .85rem;
}
.gallery-placeholder img { width: 48px; aspect-ratio: auto; opacity: .45; }
/* Before & after photos (square collages, shown whole, not cropped) */
.gallery-item { margin: 0; background: var(--white); border: 1px solid var(--border); border-radius: 12px; box-shadow: var(--shadow); overflow: hidden; }
.gallery .gallery-item img { aspect-ratio: 1 / 1; object-fit: contain; border-radius: 0; background: var(--white); }
.gallery-item figcaption { padding: 10px 14px; font-weight: 600; color: var(--blue-dark); font-size: .95rem; text-align: center; border-top: 1px solid var(--border); }

/* ---------- Quote form ---------- */
.quote-inner { display: grid; gap: 36px; }
.contact-list { list-style: none; padding: 0; margin: 0 0 24px; }
.contact-list li { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; word-break: break-word; }
.contact-list svg { width: 22px; height: 22px; fill: var(--green); flex-shrink: 0; }
.contact-list a { font-weight: 600; text-decoration: none; }
.card-photo { border-radius: var(--radius); box-shadow: var(--shadow); }

.quote-form {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
}
.form-row { margin-bottom: 16px; }
.form-grid { display: grid; gap: 0 16px; }
.quote-form label { display: block; font-weight: 600; font-size: .92rem; margin-bottom: 6px; color: var(--blue-dark); }
.quote-form label span { color: var(--green-dark); }
.quote-form input, .quote-form select, .quote-form textarea {
  width: 100%;
  font: inherit;
  font-size: 1rem; /* 16px stops iPhones from zooming in on tap */
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #FBFCFE;
  color: var(--text);
}
.quote-form textarea { resize: vertical; }
.hidden-field { display: none; }
.form-note { font-size: .8rem; color: var(--muted); margin: 12px 0 0; text-align: center; }

/* ---------- Footer ---------- */
.site-footer { background: var(--blue-dark); color: #D6DEEE; padding: 48px 0 24px; }
.site-footer a { color: var(--white); }
.site-footer h3 { color: var(--white); font-size: 1rem; }
.site-footer p { margin: 0 0 .4em; }
.footer-inner { display: grid; gap: 28px; }
.footer-brand { display: flex; align-items: center; gap: 10px; font-weight: 600; color: var(--white); margin-bottom: 12px; line-height: 1.3; }
.footer-brand img { background: var(--white); border-radius: 50%; padding: 4px; }
.copyright { text-align: center; font-size: .82rem; margin: 32px 0 0; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .15); }

/* ---------- Thank-you page ---------- */
.thanks { min-height: 70vh; display: grid; place-items: center; text-align: center; padding: 48px 16px; }
.thanks img { margin: 0 auto 16px; }

/* ---------- Mobile sticky call bar ---------- */
.mobile-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
  padding: 10px 16px;
  background: var(--white);
  box-shadow: 0 -4px 16px rgba(15, 35, 80, .12);
}

/* =========================================================
   Bigger screens (tablets and up)
   ========================================================= */
@media (min-width: 640px) {
  .hero-actions { flex-direction: row; justify-content: center; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .features { grid-template-columns: repeat(2, 1fr); }
  .gallery { grid-template-columns: repeat(3, 1fr); }
  .form-grid { grid-template-columns: 1fr 1fr; }
  .header-call span { display: inline; }
}

/* Desktops */
@media (min-width: 960px) {
  body { padding-bottom: 0; }
  .mobile-cta { display: none; }
  .main-nav { display: flex; }
  .mobile-menu { display: none; }
  .section { padding: 88px 0; }
  .hero { padding: 104px 0 136px; }
  .cards { grid-template-columns: repeat(3, 1fr); }
  .features { grid-template-columns: repeat(4, 1fr); }
  .area-inner { grid-template-columns: 1.1fr 1fr; }
  .area-list { grid-template-columns: 1fr 1fr 1fr; }
  .quote-inner { grid-template-columns: 1fr 1.2fr; align-items: start; }
  .footer-inner { grid-template-columns: 1.3fr 1fr 1fr; }
}
.caption-note { display: block; font-weight: 400; font-size: .8rem; color: var(--muted); }

/* ---------- Gallery sections + full-screen viewer ---------- */
.gallery-hint { margin: 28px auto 0; color: var(--muted); text-align: center; font-size: .95rem; }
.gallery-section { padding: 40px 0; }
.gallery-section h2 { margin-bottom: 0; }
.lightbox-link { position: relative; display: block; cursor: zoom-in; }
.lightbox-link:focus-visible { outline: 3px solid var(--green); outline-offset: -3px; }
.zoom-hint {
  position: absolute; right: 10px; bottom: 10px; width: 36px; height: 36px; border-radius: 50%;
  display: grid; place-items: center; background: rgba(15, 35, 80, .75); transition: transform .2s;
}
.zoom-hint svg { width: 18px; height: 18px; fill: #fff; }
.lightbox-link:hover .zoom-hint { transform: scale(1.1); }
.lightbox {
  width: 100vw; height: 100vh; max-width: 100vw; max-height: 100vh; margin: 0; padding: 0;
  border: 0; background: rgba(8, 15, 35, .96); color: #fff;
}
.lightbox[open] { display: flex; align-items: center; justify-content: center; }
.lightbox::backdrop { background: rgba(8, 15, 35, .96); }
.lb-figure { margin: 0; max-width: 100%; max-height: 100%; display: flex; flex-direction: column; align-items: center; padding: 56px 12px 16px; }
.lb-figure img { max-width: min(96vw, 1000px); max-height: calc(100vh - 120px); width: auto; height: auto; object-fit: contain; border-radius: 6px; }
.lb-figure figcaption { margin-top: 10px; text-align: center; font-weight: 600; }
.lb-btn {
  position: absolute; border: 0; cursor: pointer; color: #fff; background: rgba(255, 255, 255, .15);
  width: 48px; height: 48px; border-radius: 50%; font-size: 32px; line-height: 1; display: grid; place-items: center;
}
.lb-btn:hover, .lb-btn:focus-visible { background: rgba(255, 255, 255, .3); }
.lb-close { top: 12px; right: 12px; }
.lb-full { top: 12px; right: 72px; font-size: 22px; }
.lb-prev { left: 12px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 12px; top: 50%; transform: translateY(-50%); }

/* ---------- Service area + reviews extras ---------- */
.area-more { margin-top: 12px; font-weight: 600; color: var(--green-dark); }
.review-cta { text-align: center; }
.review-cta .section-intro { margin: 0 auto 24px; }
.review-cta .hero-actions { justify-content: center; }
/* Two photos per room look best side by side, centered */
@media (min-width: 640px) {
  .gallery-section .gallery { grid-template-columns: 1fr 1fr; max-width: 860px; }
}

/* Single (non before/after) photos fill their square; tap to see the whole photo */
.gallery .gallery-photo img { object-fit: cover; }
