/* ============================================================
   Sparkle & Shine Cleaning Co. — Landing Page Styles
   Premium neutral palette + deep teal accent.
   Swap the values in :root to re-skin for another client.
   ============================================================ */

:root {
  /* ---- Brand palette (edit these to re-skin) ---- */
  --color-bg:          #ffffff;
  --color-surface:     #f6f7f6;   /* light neutral section background */
  --color-surface-2:   #eef1f0;   /* slightly deeper neutral */
  --color-ink:         #15211f;   /* near-black, warm dark green-ink */
  --color-ink-soft:    #4a5754;   /* muted body text */
  --color-line:        #e3e7e5;   /* hairline borders */

  --color-accent:      #0f5e52;   /* deep teal — primary accent */
  --color-accent-dark: #0a463d;
  --color-accent-soft: #e6f0ed;   /* tinted accent for soft fills */
  --color-whatsapp:    #25D366;
  --color-whatsapp-dk: #1da851;

  /* ---- Typography ---- */
  --font-head: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Plus Jakarta Sans", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;

  /* ---- Spacing scale ---- */
  --space-section: 110px;   /* vertical padding between sections */
  --space-gap:     clamp(1rem, 3vw, 2rem);
  --container:     1180px;
  --radius:        18px;
  --radius-sm:     12px;
  --radius-pill:   999px;

  --shadow-sm: 0 2px 8px rgba(15, 33, 31, 0.06);
  --shadow-md: 0 14px 40px rgba(15, 33, 31, 0.10);
  --shadow-lg: 0 28px 70px rgba(15, 33, 31, 0.16);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-ink);
  background: var(--color-bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

h1, h2, h3 { font-family: var(--font-head); line-height: 1.1; margin: 0; font-weight: 600; }

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(1.1rem, 4vw, 2.5rem);
}

.section { padding-block: var(--space-section); }

/* ============================================================
   Buttons
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55em;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.98rem;
  line-height: 1;
  padding: 0.85em 1.4em;
  border: none;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background-color 0.25s var(--ease), color 0.25s var(--ease);
  white-space: nowrap;
}
.btn:focus-visible { outline: 3px solid var(--color-accent); outline-offset: 3px; }

.btn-lg { padding: 1.05em 1.8em; font-size: 1.05rem; }
.btn-block { width: 100%; }

.btn-whatsapp {
  background: var(--color-whatsapp);
  color: #fff;
  box-shadow: 0 8px 22px rgba(37, 211, 102, 0.32);
}
.btn-whatsapp:hover { background: var(--color-whatsapp-dk); transform: translateY(-2px); box-shadow: 0 12px 28px rgba(37, 211, 102, 0.4); }

.btn-accent {
  background: var(--color-accent);
  color: #fff;
  box-shadow: 0 8px 22px rgba(15, 94, 82, 0.28);
}
.btn-accent:hover { background: var(--color-accent-dark); transform: translateY(-2px); box-shadow: 0 12px 30px rgba(15, 94, 82, 0.34); }

.btn-ghost {
  background: transparent;
  color: var(--color-ink);
  border: 1.5px solid var(--color-line);
}
.btn-ghost:hover { background: var(--color-ink); color: #fff; transform: translateY(-2px); border-color: var(--color-ink); }

.wa-icon { flex: none; }

/* ============================================================
   Header / Nav
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}
.site-header.scrolled { box-shadow: var(--shadow-sm); border-color: var(--color-line); }

.header-inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  min-height: 74px;
}

.brand { display: inline-flex; align-items: center; gap: 0.6rem; margin-right: auto; }
.brand-mark { color: var(--color-accent); display: inline-flex; }
.brand-text {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.01em;
  line-height: 1.05;
  display: flex;
  flex-direction: column;
}
.brand-text small {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-ink-soft);
}

.main-nav { display: flex; gap: 1.9rem; }
.main-nav a {
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--color-ink-soft);
  position: relative;
  padding: 0.2em 0;
  transition: color 0.2s var(--ease);
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -2px;
  width: 100%; height: 2px;
  background: var(--color-accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s var(--ease);
}
.main-nav a:hover { color: var(--color-ink); }
.main-nav a:hover::after { transform: scaleX(1); }

.header-cta { padding: 0.6em 1.1em; font-size: 0.9rem; }

/* ============================================================
   Eyebrows & section heads
   ============================================================ */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-ink-soft);
}
.eyebrow-accent { color: var(--color-accent); }
.eyebrow .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--color-whatsapp);
  box-shadow: 0 0 0 4px rgba(37, 211, 102, 0.18);
}

.section-head {
  max-width: 640px;
  margin: 0 auto 3.5rem;
  text-align: center;
}
.section-head .eyebrow { margin-bottom: 1rem; }
.section-title {
  font-size: clamp(2rem, 4.5vw, 3rem);
  letter-spacing: -0.02em;
}
.section-lead {
  margin-top: 1rem;
  color: var(--color-ink-soft);
  font-size: 1.08rem;
}

/* ============================================================
   1. HERO
   ============================================================ */
.hero {
  position: relative;
  padding-block: clamp(3rem, 7vw, 6rem) clamp(3.5rem, 7vw, 6.5rem);
  background:
    radial-gradient(120% 90% at 85% 0%, var(--color-accent-soft) 0%, transparent 55%),
    linear-gradient(180deg, #fbfcfb 0%, #ffffff 100%);
  overflow: hidden;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: clamp(2rem, 5vw, 4.5rem);
}

.hero-content .eyebrow {
  background: #fff;
  border: 1px solid var(--color-line);
  padding: 0.5rem 0.9rem;
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-sm);
}
.hero-title {
  margin-top: 1.4rem;
  font-size: clamp(2.6rem, 6vw, 4.4rem);
  font-weight: 600;
  letter-spacing: -0.025em;
}
.hero-title em {
  font-style: italic;
  font-weight: 500;
  color: var(--color-accent);
}
.hero-sub {
  margin-top: 1.4rem;
  max-width: 30rem;
  font-size: 1.13rem;
  color: var(--color-ink-soft);
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 2rem;
}
.hero-trust {
  list-style: none;
  margin: 2.2rem 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem 1.6rem;
}
.hero-trust li {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--color-ink-soft);
}
.hero-trust svg { color: var(--color-accent); flex: none; }

/* Hero image card */
.hero-card { position: relative; }
.hero-img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}
.hero-badge {
  position: absolute;
  left: -18px;
  bottom: 28px;
  background: #fff;
  border-radius: var(--radius-sm);
  padding: 0.85rem 1.1rem;
  box-shadow: var(--shadow-md);
  display: grid;
  grid-template-columns: auto auto;
  align-items: center;
  gap: 0.1rem 0.7rem;
}
.hero-badge .stars { grid-column: 1 / -1; color: #f5a623; }
.hero-badge strong { font-family: var(--font-head); font-size: 1.5rem; line-height: 1; }
.hero-badge span { font-size: 0.82rem; color: var(--color-ink-soft); }

.stars { display: inline-flex; gap: 1px; }

/* ============================================================
   2. SERVICES
   ============================================================ */
.services { background: var(--color-bg); }
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
}
.service-card {
  background: #fff;
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  padding: 2rem 1.8rem;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}
.service-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px; height: 56px;
  border-radius: 14px;
  background: var(--color-accent-soft);
  color: var(--color-accent);
  margin-bottom: 1.2rem;
  transition: background 0.3s var(--ease), color 0.3s var(--ease);
}
.service-card:hover .service-icon { background: var(--color-accent); color: #fff; }
.service-card h3 { font-size: 1.3rem; margin-bottom: 0.5rem; }
.service-card p { margin: 0 0 1.1rem; color: var(--color-ink-soft); font-size: 0.98rem; }
.service-price {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--color-accent);
  background: var(--color-accent-soft);
  padding: 0.4rem 0.8rem;
  border-radius: var(--radius-pill);
}

/* ============================================================
   3. ABOUT
   ============================================================ */
.about { background: var(--color-surface); }
.about-inner {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.about-media { position: relative; }
.about-media img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
}
.about-media-badge {
  position: absolute;
  right: -14px;
  top: 28px;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--color-accent);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.6rem 1rem;
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-md);
}
.about-content .section-title { text-align: left; margin-top: 1rem; }
.about-content > p { color: var(--color-ink-soft); margin-top: 1.2rem; }
.about-values {
  list-style: none;
  margin: 1.6rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.6rem;
}
.about-values li {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-weight: 500;
}
.about-values svg { color: var(--color-whatsapp); flex: none; }

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 2.4rem;
  padding-top: 2.2rem;
  border-top: 1px solid var(--color-line);
}
.stat-num {
  display: block;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(2.1rem, 5vw, 2.9rem);
  line-height: 1;
  color: var(--color-accent);
  letter-spacing: -0.02em;
}
.stat-label {
  display: block;
  margin-top: 0.45rem;
  font-size: 0.86rem;
  color: var(--color-ink-soft);
  font-weight: 500;
}

/* ============================================================
   4. PORTFOLIO (before / after)
   ============================================================ */
.portfolio { background: var(--color-bg); }
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
}
.ba-card {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--color-line);
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.ba-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.ba-images {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}
.ba-images img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.ba-after {
  opacity: 0;
  transform: scale(1.06);
  transition: opacity 0.5s var(--ease), transform 0.6s var(--ease);
}
.ba-card:hover .ba-after,
.ba-card:focus-within .ba-after { opacity: 1; transform: scale(1); }
.ba-before { transition: transform 0.6s var(--ease); }
.ba-card:hover .ba-before { transform: scale(1.06); }

.ba-tag {
  position: absolute;
  top: 12px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.3rem 0.7rem;
  border-radius: var(--radius-pill);
  z-index: 2;
  transition: opacity 0.4s var(--ease);
}
.ba-tag-before { left: 12px; background: rgba(21, 33, 31, 0.82); color: #fff; }
.ba-tag-after { right: 12px; background: var(--color-whatsapp); color: #fff; opacity: 0; }
.ba-card:hover .ba-tag-before { opacity: 0; }
.ba-card:hover .ba-tag-after { opacity: 1; }
.ba-card figcaption {
  padding: 1rem 1.2rem;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.05rem;
}

/* ============================================================
   5. TESTIMONIALS (carousel)
   ============================================================ */
.testimonials { background: var(--color-surface); }
.testimonial-carousel { overflow: hidden; }
.testimonial-track {
  display: flex;
  transition: transform 0.55s var(--ease);
  will-change: transform;
}
.testimonial-card {
  flex: 0 0 100%;
  margin: 0;
  padding: 0.5rem clamp(0.5rem, 4vw, 3rem) 1.5rem;
  text-align: center;
  max-width: 760px;
  margin-inline: auto;
}
.testimonial-card .stars { color: #f5a623; justify-content: center; margin-bottom: 1.2rem; }
.testimonial-card p {
  font-family: var(--font-head);
  font-size: clamp(1.2rem, 2.6vw, 1.65rem);
  font-weight: 500;
  line-height: 1.45;
  color: var(--color-ink);
  margin: 0 0 1.6rem;
}
.testimonial-card footer { display: flex; flex-direction: column; gap: 0.15rem; }
.testimonial-card footer strong { font-size: 1.02rem; }
.testimonial-card footer span { font-size: 0.88rem; color: var(--color-ink-soft); }

.carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.3rem;
  margin-top: 1.5rem;
}
.carousel-btn {
  width: 48px; height: 48px;
  border-radius: 50%;
  border: 1px solid var(--color-line);
  background: #fff;
  color: var(--color-ink);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s var(--ease), color 0.2s var(--ease), transform 0.2s var(--ease);
}
.carousel-btn:hover { background: var(--color-accent); color: #fff; transform: scale(1.05); }
.carousel-btn:focus-visible { outline: 3px solid var(--color-accent); outline-offset: 2px; }

.carousel-dots { display: flex; gap: 0.5rem; }
.carousel-dots button {
  width: 9px; height: 9px;
  padding: 0;
  border-radius: 50%;
  border: none;
  background: var(--color-line);
  cursor: pointer;
  transition: background 0.25s var(--ease), width 0.25s var(--ease);
}
.carousel-dots button.active { background: var(--color-accent); width: 26px; border-radius: var(--radius-pill); }

/* ============================================================
   6. CONTACT
   ============================================================ */
.contact { background: var(--color-bg); }
.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}
.contact-info .section-title { text-align: left; margin-top: 1rem; }
.contact-info .section-lead { margin-bottom: 2rem; }

.info-block { margin-bottom: 1.8rem; }
.info-block h3 {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 0.7rem;
}
.info-block p { margin: 0; color: var(--color-ink-soft); }
.area-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.area-list li {
  font-size: 0.9rem;
  font-weight: 500;
  background: var(--color-surface-2);
  padding: 0.45rem 0.9rem;
  border-radius: var(--radius-pill);
}
.area-note { margin-top: 0.8rem !important; font-size: 0.88rem; }
.info-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.info-link { font-weight: 600; color: var(--color-ink); transition: color 0.2s var(--ease); }
.info-link:hover { color: var(--color-accent); }
.contact-wa { margin-top: 0.5rem; }

/* Form */
.contact-form-wrap {
  background: var(--color-surface);
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  padding: clamp(1.5rem, 4vw, 2.6rem);
  box-shadow: var(--shadow-sm);
}
.contact-form h3 {
  font-size: 1.5rem;
  margin-bottom: 1.4rem;
}
.field { margin-bottom: 1.1rem; }
.field label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
  color: var(--color-ink);
}
.field input,
.field textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--color-ink);
  background: #fff;
  border: 1.5px solid var(--color-line);
  border-radius: var(--radius-sm);
  padding: 0.85rem 1rem;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.field input::placeholder,
.field textarea::placeholder { color: #9aa6a3; }
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 4px var(--color-accent-soft);
}
.field input.invalid,
.field textarea.invalid { border-color: #d9534f; box-shadow: 0 0 0 4px rgba(217, 83, 79, 0.12); }
.field textarea { resize: vertical; min-height: 110px; }

.form-note {
  margin: 1rem 0 0;
  padding: 0.85rem 1rem;
  background: var(--color-accent-soft);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  color: var(--color-accent-dark);
}
.form-fineprint { margin: 0.9rem 0 0; font-size: 0.8rem; color: var(--color-ink-soft); text-align: center; }

/* ============================================================
   Footer
   ============================================================ */
.site-footer {
  background: var(--color-ink);
  color: #d7dddb;
  padding-block: 3.5rem 1.5rem;
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.footer-brand { max-width: 22rem; }
.footer-brand .brand-text { color: #fff; font-size: 1.3rem; }
.footer-brand .brand-text small { color: #9fb0ac; }
.footer-brand p { margin: 0.8rem 0 0; color: #9fb0ac; font-size: 0.92rem; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 1.4rem; align-items: center; }
.footer-nav a { color: #d7dddb; font-size: 0.95rem; transition: color 0.2s var(--ease); }
.footer-nav a:hover { color: #fff; }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem;
  margin-top: 1.5rem;
  font-size: 0.82rem;
  color: #8b9b97;
}

/* ============================================================
   7. STICKY / FLOATING CTA
   ============================================================ */
.float-wa {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 70;
  width: 60px; height: 60px;
  border-radius: 50%;
  background: var(--color-whatsapp);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.45);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
  animation: wa-pulse 2.6s infinite;
}
.float-wa:hover { transform: scale(1.08); }
@keyframes wa-pulse {
  0%   { box-shadow: 0 12px 30px rgba(37, 211, 102, 0.45), 0 0 0 0 rgba(37, 211, 102, 0.45); }
  70%  { box-shadow: 0 12px 30px rgba(37, 211, 102, 0.45), 0 0 0 16px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 12px 30px rgba(37, 211, 102, 0.45), 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* Mobile sticky bottom bar */
.mobile-cta-bar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 70;
  display: none;
  gap: 0.6rem;
  padding: 0.7rem 0.9rem calc(0.7rem + env(safe-area-inset-bottom, 0));
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--color-line);
  box-shadow: 0 -6px 24px rgba(15, 33, 31, 0.08);
}
.mobile-cta-bar a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: var(--radius-pill);
  padding: 0.85rem 1rem;
}
.mcb-call { flex: 0 0 34%; background: var(--color-surface-2); color: var(--color-ink); }
.mcb-wa { flex: 1; background: var(--color-whatsapp); color: #fff; }

/* ============================================================
   Scroll reveal
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.in-view { opacity: 1; transform: none; }
/* Stagger cards within a grid */
.card-grid .reveal:nth-child(2),
.portfolio-grid .reveal:nth-child(2) { transition-delay: 0.08s; }
.card-grid .reveal:nth-child(3),
.portfolio-grid .reveal:nth-child(3) { transition-delay: 0.16s; }
.card-grid .reveal:nth-child(4),
.portfolio-grid .reveal:nth-child(4) { transition-delay: 0.08s; }
.card-grid .reveal:nth-child(5),
.portfolio-grid .reveal:nth-child(5) { transition-delay: 0.16s; }
.card-grid .reveal:nth-child(6),
.portfolio-grid .reveal:nth-child(6) { transition-delay: 0.24s; }

/* ============================================================
   Responsive — tablet (<= 1024px)
   ============================================================ */
@media (max-width: 1024px) {
  :root { --space-section: 88px; }
  .card-grid,
  .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
  .main-nav { gap: 1.3rem; }
}

/* ============================================================
   Responsive — mobile (<= 768px)
   ============================================================ */
@media (max-width: 768px) {
  :root { --space-section: 72px; }

  .main-nav { display: none; }

  .hero-inner { grid-template-columns: 1fr; }
  .hero-card { order: -1; max-width: 440px; margin-inline: auto; }
  .hero-img { aspect-ratio: 16 / 12; }
  .hero-badge { left: 12px; bottom: 12px; }
  .hero-actions .btn { flex: 1; }

  .about-inner { grid-template-columns: 1fr; }
  .about-media { max-width: 440px; margin-inline: auto; }
  .about-media-badge { right: 12px; }

  .card-grid,
  .portfolio-grid { grid-template-columns: 1fr; }

  .contact-inner { grid-template-columns: 1fr; }

  .section-head { margin-bottom: 2.5rem; }

  /* Show mobile sticky bar, hide floating bubble to avoid overlap */
  .mobile-cta-bar { display: flex; }
  .float-wa { display: none; }

  /* Keep clear of the sticky bar */
  body { padding-bottom: 76px; }
  .site-footer { padding-bottom: 1.5rem; }
}

@media (max-width: 420px) {
  .info-row { grid-template-columns: 1fr; }
  .stats { gap: 0.5rem; }
}

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