/* ==========================================================================
   Sparkle: free website template for cleaning and home services
   Template by Symaro. To re-theme, edit the custom properties in :root.
   ========================================================================== */

:root {
  /* Palette */
  --color-primary: #0d5c63;       /* deep teal: buttons, headings accents */
  --color-primary-dark: #08434a;
  --color-accent: #ffd23f;        /* sunshine yellow: sparkles, highlights */
  --color-bg: #f4fbfb;            /* page background */
  --color-surface: #ffffff;       /* cards */
  --color-text: #12303a;
  --color-muted: #4f6b73;
  --color-bubble: #bdeee9;        /* soft aqua for bubbles and tints */
  --color-line: #d4eae8;

  /* Type */
  --font-body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-heading: ui-rounded, "SF Pro Rounded", "Arial Rounded MT Bold", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  /* Spacing and shape */
  --space-1: 0.5rem;
  --space-2: 1rem;
  --space-3: 1.5rem;
  --space-4: 2rem;
  --space-5: 3rem;
  --space-6: clamp(3.5rem, 8vw, 6rem);
  --radius: 1.25rem;
  --radius-lg: 2rem;
  --container: 72rem;
  --shadow: 0 14px 34px -16px rgba(13, 92, 99, 0.35);
}

/* Base ------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--color-text);
  background: var(--color-bg);
  overflow-wrap: break-word;
}

img, svg { max-width: 100%; }

h1, h2, h3 {
  font-family: var(--font-heading);
  line-height: 1.15;
  margin: 0 0 var(--space-2);
  color: var(--color-text);
}
h1 { font-size: clamp(2.25rem, 6vw, 3.75rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.75rem, 4vw, 2.5rem); letter-spacing: -0.01em; }
h3 { font-size: 1.2rem; }

p { margin: 0 0 var(--space-2); }

a { color: var(--color-primary); }

:focus-visible {
  outline: 3px solid var(--color-primary);
  outline-offset: 3px;
  border-radius: 4px;
}

.container {
  width: min(100% - 2.5rem, var(--container));
  margin-inline: auto;
}

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 100;
  padding: 0.6rem 1rem;
  background: var(--color-primary);
  color: #fff;
  border-radius: 0.5rem;
  font-weight: 700;
}
.skip-link:focus { top: 1rem; }

/* Buttons ---------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.6rem;
  border: 2px solid transparent;
  border-radius: 999px;
  font: 700 1rem/1.2 var(--font-heading);
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--color-primary); color: #fff; box-shadow: var(--shadow); }
.btn-primary:hover { background: var(--color-primary-dark); }
.btn-accent { background: var(--color-accent); color: var(--color-text); }
.btn-accent:hover { box-shadow: 0 10px 24px -10px rgba(0, 0, 0, 0.35); }
.btn-ghost { border-color: var(--color-primary); color: var(--color-primary); background: transparent; }
.btn-ghost:hover { background: var(--color-primary); color: #fff; }
.btn-small { padding: 0.55rem 1.1rem; font-size: 0.95rem; }
.btn-block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: var(--space-2); margin: var(--space-3) 0; }

/* Header ----------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid var(--color-line);
}
@supports (backdrop-filter: blur(8px)) {
  .site-header { background: rgba(255, 255, 255, 0.8); backdrop-filter: blur(8px); }
}
.header-inner {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  padding-block: 0.8rem;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: var(--color-text);
  font: 800 1.15rem/1.1 var(--font-heading);
  margin-right: auto;
}
.brand-mark { width: 2.4rem; height: 2.4rem; flex: none; }
.brand-mark-bg { fill: var(--color-primary); }
.brand-mark-star { fill: var(--color-accent); }
.brand-mark-dot { fill: var(--color-bubble); }

.site-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.4rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.site-nav a {
  color: var(--color-text);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.98rem;
  padding: 0.25rem 0;
  background: linear-gradient(var(--color-accent), var(--color-accent)) left bottom / 0 3px no-repeat;
  transition: background-size 0.2s ease;
}
.site-nav a:hover { background-size: 100% 3px; }

/* Shared section styles ------------------------------------------------ */
.block { padding-block: var(--space-6); position: relative; }

.section-head { max-width: 42rem; margin: 0 auto var(--space-5); text-align: center; }
.section-head p:last-child { color: var(--color-muted); }

.eyebrow {
  display: inline-block;
  margin-bottom: var(--space-1);
  color: var(--color-primary);
  font: 800 0.85rem/1.2 var(--font-heading);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.eyebrow::before { content: "\2726  "; color: var(--color-accent); text-shadow: 0 0 1px var(--color-primary); }
.eyebrow-light { color: var(--color-accent); }

/* Placeholder image: shows its label so editors know what goes there */
.img-placeholder {
  position: relative;
  display: grid;
  place-items: end start;
  min-height: 14rem;
  background:
    radial-gradient(circle at 75% 20%, rgba(255, 255, 255, 0.75) 0 12%, transparent 13%),
    linear-gradient(135deg, #a5e3de 0%, #5fbdb6 55%, #2f8f93 100%);
  color: var(--color-text);
  overflow: hidden;
}
.img-placeholder::after {
  content: attr(aria-label);
  margin: 1rem;
  padding: 0.35rem 0.75rem;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
}

/* Bubbles and sparkles (decorative) */
.bubble {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #fff 0 14%, rgba(255, 255, 255, 0.35) 15%, rgba(189, 238, 233, 0.55) 60%, rgba(127, 216, 210, 0.7) 100%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.7);
  pointer-events: none;
  animation: float 7s ease-in-out infinite;
}
.sparkle { position: absolute; fill: var(--color-accent); pointer-events: none; animation: twinkle 3.5s ease-in-out infinite; }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}
@keyframes twinkle {
  0%, 100% { transform: scale(1) rotate(0deg); opacity: 1; }
  50% { transform: scale(0.75) rotate(20deg); opacity: 0.7; }
}

/* Hero --------------------------------------------------------------------- */
.block-hero {
  padding-block: clamp(2.5rem, 6vw, 5rem) 0;
  background:
    radial-gradient(60rem 30rem at 100% 0%, rgba(189, 238, 233, 0.8), transparent 60%),
    radial-gradient(40rem 24rem at 0% 100%, rgba(255, 210, 63, 0.18), transparent 60%),
    var(--color-bg);
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: var(--space-5);
  align-items: center;
  padding-bottom: clamp(3rem, 7vw, 5rem);
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.9rem;
  background: var(--color-surface);
  border: 1px solid var(--color-line);
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-primary);
  box-shadow: 0 6px 16px -12px rgba(13, 92, 99, 0.5);
}
.pill svg { width: 1rem; height: 1rem; fill: var(--color-accent); stroke: var(--color-primary); stroke-width: 1; }
.highlight {
  background: linear-gradient(transparent 62%, rgba(255, 210, 63, 0.75) 62% 92%, transparent 92%);
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}
.lead { font-size: 1.15rem; color: var(--color-muted); max-width: 34rem; }

.hero-checks {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0.95rem;
  font-weight: 600;
}
.hero-checks li { display: inline-flex; align-items: center; gap: 0.4rem; }
.hero-checks li::before {
  content: "\2713";
  display: inline-grid;
  place-items: center;
  width: 1.25rem; height: 1.25rem;
  border-radius: 50%;
  background: var(--color-primary);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 800;
}

.hero-visual { position: relative; padding: 1.5rem; }
.hero-photo {
  aspect-ratio: 1 / 1;
  border-radius: 58% 42% 52% 48% / 46% 54% 46% 54%;
  border: 10px solid var(--color-surface);
  box-shadow: var(--shadow);
  place-items: center;
}
.hero-photo::after { max-width: 70%; text-align: center; border-radius: 1rem; }
.bubble-1 { width: 5rem; height: 5rem; top: 0; left: 0; }
.bubble-2 { width: 3rem; height: 3rem; top: 18%; right: 0; animation-delay: -2s; }
.bubble-3 { width: 2rem; height: 2rem; bottom: 22%; left: 4%; animation-delay: -4s; }
.sparkle-1 { width: 2.6rem; top: 8%; right: 18%; }
.sparkle-2 { width: 1.6rem; bottom: 30%; right: 4%; animation-delay: -1.5s; }
.float-card {
  position: absolute;
  left: 0;
  bottom: 8%;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.8rem 1.1rem;
  background: var(--color-surface);
  border-radius: 1rem;
  box-shadow: var(--shadow);
  font-size: 0.9rem;
  line-height: 1.35;
}
.float-icon {
  display: grid;
  place-items: center;
  width: 2.5rem; height: 2.5rem;
  border-radius: 0.75rem;
  background: var(--color-accent);
}
.float-icon svg { width: 1.4rem; fill: none; stroke: var(--color-text); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.wave { display: block; width: 100%; height: clamp(2.5rem, 5vw, 4.5rem); fill: var(--color-primary); }

/* Features strip --------------------------------------------------------- */
.block-features {
  background: var(--color-primary);
  color: #e6f6f5;
  padding-block: var(--space-4) var(--space-5);
}
.feature-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr));
  gap: var(--space-4);
  margin: 0;
  padding: 0;
  list-style: none;
}
.feature h3 { color: #fff; font-size: 1.1rem; margin-bottom: 0.35rem; }
.feature p { margin: 0; font-size: 0.97rem; }
.icon-badge {
  display: inline-grid;
  place-items: center;
  width: 3rem; height: 3rem;
  margin-bottom: 0.75rem;
  border-radius: 1rem 1rem 1rem 0.3rem;
  background: var(--color-accent);
}
.icon-badge svg { width: 1.6rem; fill: none; stroke: var(--color-primary-dark); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* Services -------------------------------------------------------------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr));
  gap: var(--space-3);
}
.service-card {
  position: relative;
  padding: var(--space-4) var(--space-3) var(--space-3);
  background: var(--color-surface);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-lg);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  overflow: hidden;
}
.service-card::after {
  content: "";
  position: absolute;
  right: -2.5rem; top: -2.5rem;
  width: 7rem; height: 7rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(189, 238, 233, 0.7), transparent 70%);
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.service-card p { color: var(--color-muted); }
.service-icon {
  display: inline-grid;
  place-items: center;
  width: 3.5rem; height: 3.5rem;
  margin-bottom: var(--space-2);
  border-radius: 50%;
  background: var(--color-bubble);
}
.service-icon svg { width: 1.75rem; fill: none; stroke: var(--color-primary); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.service-card .price-from {
  margin: 0;
  padding-top: var(--space-2);
  border-top: 1px dashed var(--color-line);
  color: var(--color-text);
  font-size: 0.95rem;
}
.price-from strong { color: var(--color-primary); font-size: 1.15rem; }

/* Process ------------------------------------------------------------------ */
.block-process { background: linear-gradient(180deg, var(--color-surface), var(--color-bg)); }
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-4);
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: none;
  position: relative;
}
.steps::before {
  content: "";
  position: absolute;
  top: 2.25rem;
  left: 16%; right: 16%;
  border-top: 3px dashed var(--color-bubble);
}
.step { position: relative; text-align: center; }
.step p { color: var(--color-muted); max-width: 18rem; margin-inline: auto; }
.step-num {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 4.5rem; height: 4.5rem;
  margin-bottom: var(--space-2);
  border-radius: 50%;
  background: var(--color-primary);
  color: #fff;
  font: 800 1.75rem/1 var(--font-heading);
  box-shadow: 0 0 0 8px var(--color-surface), 0 0 0 10px var(--color-bubble);
}
.step-num::after {
  content: "\2726";
  position: absolute;
  top: -0.4rem; right: -0.4rem;
  color: var(--color-accent);
  font-size: 1.3rem;
  text-shadow: 0 0 2px var(--color-primary-dark);
}

/* Pricing ------------------------------------------------------------------ */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr));
  gap: var(--space-3);
  align-items: stretch;
}
.plan {
  display: flex;
  flex-direction: column;
  padding: var(--space-4) var(--space-3);
  background: var(--color-surface);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-lg);
}
.plan .btn { margin-top: auto; }
.plan-price { margin-bottom: var(--space-3); color: var(--color-muted); }
.plan-price .amount { font: 800 2.75rem/1 var(--font-heading); color: var(--color-primary); }
.plan-featured {
  position: relative;
  background:
    radial-gradient(circle at 90% 10%, rgba(255, 255, 255, 0.14) 0 3rem, transparent 3.1rem),
    radial-gradient(circle at 10% 95%, rgba(255, 255, 255, 0.1) 0 2rem, transparent 2.1rem),
    var(--color-primary);
  border-color: var(--color-primary);
  color: #e6f6f5;
  box-shadow: var(--shadow);
}
.plan-featured h3, .plan-featured .amount { color: #fff; }
.plan-featured .plan-price { color: #cfe9e7; }
.plan-badge {
  align-self: flex-start;
  margin-bottom: var(--space-2);
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  background: var(--color-accent);
  color: var(--color-text);
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.check-list { margin: 0 0 var(--space-4); padding: 0; list-style: none; }
.check-list li { position: relative; padding: 0.35rem 0 0.35rem 1.75rem; }
.check-list li::before {
  content: "\2726";
  position: absolute;
  left: 0; top: 0.35rem;
  color: var(--color-primary);
}
.plan-featured .check-list li::before { color: var(--color-accent); }

/* Testimonials ------------------------------------------------------------ */
.block-testimonials {
  background:
    radial-gradient(34rem 22rem at 0% 45%, rgba(189, 238, 233, 0.55), transparent 70%),
    radial-gradient(26rem 18rem at 100% 90%, rgba(255, 210, 63, 0.14), transparent 70%),
    var(--color-bg);
}
.quote-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr));
  gap: var(--space-3);
}
.quote-card {
  margin: 0;
  padding: var(--space-4) var(--space-3);
  background: var(--color-surface);
  border-radius: var(--radius-lg) var(--radius-lg) var(--radius-lg) 0.4rem;
  box-shadow: 0 10px 30px -22px rgba(13, 92, 99, 0.6);
}
.stars { color: #b8860b; letter-spacing: 0.15em; font-size: 1.1rem; margin-bottom: var(--space-1); }
.quote-card blockquote { margin: 0 0 var(--space-3); font-size: 1.05rem; }
.quote-card figcaption { display: flex; flex-direction: column; font-size: 0.95rem; }
.quote-card figcaption span { color: var(--color-muted); }

/* Contact ------------------------------------------------------------------ */
.contact-card {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.contact-info {
  position: relative;
  padding: var(--space-5) var(--space-4);
  background: linear-gradient(160deg, var(--color-primary), var(--color-primary-dark));
  color: #e6f6f5;
  overflow: hidden;
}
.contact-info h2 { color: #fff; }
.info-list { margin: var(--space-4) 0 0; padding: 0; list-style: none; }
.info-list li { padding: 0.6rem 0; border-top: 1px solid rgba(255, 255, 255, 0.18); }
.info-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-accent);
}
.bubble-4 { width: 8rem; height: 8rem; right: -3rem; bottom: -3rem; opacity: 0.5; }
.bubble-5 { width: 3rem; height: 3rem; right: 3rem; top: 2rem; opacity: 0.4; animation-delay: -3s; }

.contact-form { padding: var(--space-5) var(--space-4); }
.field { display: flex; flex-direction: column; gap: 0.35rem; margin-bottom: var(--space-2); min-width: 0; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-2); }
label { font-weight: 700; font-size: 0.92rem; }
input, select, textarea {
  width: 100%;
  padding: 0.75rem 0.9rem;
  border: 2px solid var(--color-line);
  border-radius: 0.8rem;
  background: var(--color-bg);
  color: var(--color-text);
  font: inherit;
}
input:focus, select:focus, textarea:focus { border-color: var(--color-primary); outline: none; box-shadow: 0 0 0 4px rgba(13, 92, 99, 0.18); }

/* Footer ------------------------------------------------------------------ */
.site-footer { padding-block: var(--space-4); background: var(--color-text); color: #cfe0e3; font-size: 0.92rem; }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-2) var(--space-4); }
.brand-footer { color: #fff; margin-right: auto; }
.footer-note { margin: 0; }
.credit { margin: 0; opacity: 0.85; }
.site-footer a:not(.brand) { color: var(--color-accent); }

/* Responsive ------------------------------------------------------------- */
@media (max-width: 900px) {
  .hero-grid, .contact-card { grid-template-columns: 1fr; }
  .hero-visual { max-width: 30rem; margin-inline: auto; width: 100%; }
  .steps { grid-template-columns: 1fr; }
  .steps { gap: var(--space-2); }
  .steps::before { display: none; }
  .step:not(:last-child)::after { content: ""; display: block; width: 0; height: 2.5rem; margin: var(--space-2) auto 0; border-left: 3px dashed var(--color-bubble); }
}
@media (max-width: 760px) {
  .site-header { position: static; }
  .site-nav { order: 3; width: 100%; }
  .site-nav ul { justify-content: center; gap: 0.25rem 1rem; }
  .site-nav a { font-size: 0.92rem; }
}
@media (max-width: 520px) {
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .contact-info, .contact-form { padding: var(--space-4) var(--space-3); }
  .header-inner { gap: 0.5rem 0.75rem; }
  .brand { gap: 0.45rem; }
  .brand-mark { width: 2rem; height: 2rem; }
  .brand-name { font-size: 1rem; }
  .header-cta { padding: 0.5rem 0.85rem; font-size: 0.88rem; }
  .float-card { position: relative; left: auto; bottom: auto; margin-top: -2rem; width: fit-content; max-width: 100%; }
  .hero-visual { padding: 1rem; }
}

@media (max-width: 400px) {
  .brand-name { font-size: 0.95rem; }
  .header-cta { padding: 0.45rem 0.75rem; font-size: 0.82rem; }
}

/* Motion preferences --------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
}
