/* PureLeaf Eco Clean — vibrant green, eco-friendly, ingredient-transparency theme */

:root {
  --ink: #16281b;
  --green: #3fa34d;
  --green-dark: #2f7d3a;
  --lime: #c7e86b;
  --cream: #f7faf2;
  --card: #ffffff;
  --line: #e3ecdb;
  --tan: #edf5e4;
  --muted: #62735f;
  --red-muted: #b8543f;
  --radius: 16px;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

h1, h2, h3 { font-family: 'Poppins', 'Inter', sans-serif; font-weight: 600; line-height: 1.18; margin: 0 0 0.5em; }

a { color: inherit; }
.container { max-width: 1180px; margin: 0 auto; padding: 0 1.5rem; }
.center-head { text-align: center; max-width: 620px; margin: 0 auto 2.5rem; }
.eyebrow { display: block; color: var(--green-dark); font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; font-size: 0.8rem; margin-bottom: 0.5rem; }
.section-title { font-size: 2.05rem; }
.section-sub { color: var(--muted); margin-top: 0.5rem; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  padding: 0.85rem 1.75rem; border-radius: 999px; background: var(--green); color: #fff;
  text-decoration: none; font-weight: 700; border: none; cursor: pointer; font-size: 1rem;
  transition: background 0.15s ease, transform 0.15s ease;
  box-shadow: 0 10px 24px -10px rgba(63,163,77,0.55);
}
.btn:hover { background: var(--green-dark); transform: translateY(-1px); }
.btn-outline { background: transparent; color: var(--ink); border: 1.5px solid var(--line); box-shadow: none; }
.btn-outline:hover { border-color: var(--green); background: #fff; }
.btn-lg { padding: 1.05rem 2.25rem; font-size: 1.05rem; }
.btn-full { width: 100%; }

/* ---------- floating leaf decor ---------- */
.leaf-decor { position: fixed; color: var(--lime); opacity: 0.5; pointer-events: none; z-index: 1; animation: obtLeafFloat 8s ease-in-out infinite; }
.leaf-decor-1 { top: 18%; right: 4%; animation-delay: 0s; }
.leaf-decor-2 { top: 62%; left: 3%; animation-delay: 2.5s; }
@keyframes obtLeafFloat {
  0%, 100% { transform: translateY(0) rotate(-6deg); }
  50% { transform: translateY(-18px) rotate(8deg); }
}
@media (max-width: 900px) {
  .leaf-decor { display: none; }
}

/* ---------- header ---------- */
.site-header { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50; }
body.is-editable .site-header { top: 44px; }
.header-inner { max-width: 1180px; margin: 0 auto; padding: 1rem 1.5rem; display: flex; align-items: center; justify-content: space-between; }
.logo { display: flex; align-items: center; gap: 0.6rem; text-decoration: none; }
.logo-text { font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 1.15rem; color: var(--ink); }
.main-nav { display: flex; align-items: center; gap: 2rem; }
.main-nav ul { list-style: none; display: flex; gap: 1.75rem; margin: 0; padding: 0; }
.main-nav ul a { color: var(--muted); text-decoration: none; font-weight: 600; font-size: 0.92rem; }
.main-nav ul a:hover { color: var(--green); }
.nav-cta-row { display: flex; align-items: center; gap: 1.25rem; }
.phone-link { display: flex; align-items: center; gap: 0.4rem; color: var(--ink); text-decoration: none; font-weight: 700; }

.hamburger { display: none; flex-direction: column; justify-content: center; gap: 5px; width: 34px; height: 34px; background: none; border: none; cursor: pointer; padding: 0; }
.hamburger span { display: block; height: 2px; width: 100%; background: var(--ink); transition: transform 0.2s ease, opacity 0.2s ease; }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- hero ---------- */
.hero { padding: 4rem 0 5.5rem; position: relative; z-index: 2; }
.hero-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.hero h1 { font-size: 2.5rem; margin-top: 0.5rem; }
.hero-sub { color: var(--muted); font-size: 1.08rem; max-width: 460px; margin-top: 1rem; }
.hero-actions { display: flex; gap: 1rem; margin-top: 2rem; flex-wrap: wrap; }

.hero-media { position: relative; }
.hero-media-inner {
  overflow: hidden; border-radius: var(--radius); box-shadow: 0 24px 50px -18px rgba(22,40,27,0.28);
  aspect-ratio: 4 / 3.3; background: var(--tan);
}
.hero-media-inner img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  animation: obtKenBurns 18s ease-in-out infinite alternate;
}
@keyframes obtKenBurns { from { transform: scale(1); } to { transform: scale(1.07); } }

.hero-badge {
  position: absolute; bottom: -1.5rem; left: -1.25rem; z-index: 2;
  display: flex; align-items: center; gap: 0.9rem;
  background: #fff; border: 1px solid var(--line); border-radius: 16px;
  padding: 1.1rem 1.4rem; max-width: 260px;
  box-shadow: 0 20px 40px -16px rgba(22,40,27,0.3);
  animation: obtBadgePop 0.55s cubic-bezier(0.34,1.56,0.64,1) 0.3s both;
}
@keyframes obtBadgePop { from { transform: scale(0.6) translateY(10px); opacity: 0; } to { transform: scale(1) translateY(0); opacity: 1; } }
.hero-badge-icon {
  flex-shrink: 0; width: 44px; height: 44px; border-radius: 12px;
  background: linear-gradient(150deg, var(--green), var(--green-dark));
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 14px -4px rgba(47,125,58,0.55);
}
.hero-badge-copy strong { display: block; font-family: 'Poppins', sans-serif; color: var(--ink); font-size: 1rem; line-height: 1.2; margin-bottom: 0.2rem; }
.hero-badge-copy span { font-size: 0.78rem; color: var(--muted); line-height: 1.35; display: block; }

/* ---------- our promise (yes/no columns) ---------- */
.promise { background: var(--card); padding: 5.5rem 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); position: relative; z-index: 2; }
.promise-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; max-width: 820px; margin: 0 auto; }
.promise-col { border-radius: var(--radius); padding: 2rem; }
.promise-col--yes { background: var(--tan); border: 1.5px solid var(--green); }
.promise-col--no { background: #fdf3f1; border: 1.5px solid rgba(184,84,63,0.35); }
.promise-col h3 { display: flex; align-items: center; gap: 0.65rem; font-size: 1.2rem; margin-bottom: 1.1rem; }
.promise-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 28px; height: 28px; border-radius: 50%; color: #fff; font-size: 0.9rem; flex-shrink: 0;
}
.promise-icon--yes { background: var(--green); }
.promise-icon--no { background: var(--red-muted); }
.promise-col ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 0.7rem; }
.promise-col li { font-size: 0.95rem; color: var(--ink); padding-left: 0.1rem; }
.promise-col--no li { color: #6b463d; }

/* ---------- services ---------- */
.services { padding: 5.5rem 0; position: relative; z-index: 2; }
.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
.service-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease; }
body.is-editable .service-card { position: relative; padding-top: 2.75rem; }
body.is-editable .obt-service-toggle { position: absolute; top: 0.85rem; right: 0.85rem; z-index: 2; }
.service-card:hover { transform: translateY(-3px); box-shadow: 0 16px 32px -16px rgba(22,40,27,0.18); border-color: var(--green); }
.service-card h3 { font-size: 1rem; margin-bottom: 0.4rem; }
.service-card p { color: var(--muted); font-size: 0.88rem; margin: 0; }

/* scroll reveal */
.reveal { opacity: 0; transform: translateY(22px); }
.reveal.is-visible { animation: obtReveal 0.6s ease forwards; animation-delay: var(--reveal-delay, 0s); }
@keyframes obtReveal { to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  .hero-media-inner img { animation: none; }
  .hero-badge { animation: none; }
  .reveal { opacity: 1; transform: none; }
  .leaf-decor { animation: none; }
}

/* ---------- gallery ---------- */
.gallery { background: var(--card); padding: 5.5rem 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); position: relative; z-index: 2; }
.gallery-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.gallery-item { border-radius: var(--radius); overflow: hidden; box-shadow: 0 16px 36px -16px rgba(22,40,27,0.22); }
.gallery-item img { width: 100%; height: 300px; object-fit: cover; display: block; }
.gallery-item figcaption { padding: 0.9rem 1.1rem; font-weight: 600; font-size: 0.92rem; background: var(--tan); }

/* ---------- quote ---------- */
.quote { padding: 5.5rem 0 6rem; position: relative; z-index: 2; }
.quote-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; }
.quote-sub { color: var(--muted); }
.quote-contact-cards { display: flex; flex-direction: column; gap: 0.85rem; margin-top: 1.5rem; }
.contact-card { display: flex; align-items: center; gap: 0.75rem; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 0.9rem 1.1rem; text-decoration: none; color: var(--ink); font-weight: 700; }
.contact-card svg { color: var(--green); flex-shrink: 0; }
.map-frame { margin-top: 1.5rem; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }

.quote-form { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 2rem; }
.form-row { margin-bottom: 1.25rem; }
.form-row--split { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
label { display: block; font-weight: 700; margin-bottom: 0.4rem; font-size: 0.9rem; }
input[type=text], input[type=tel], input[type=email], select, textarea {
  width: 100%; padding: 0.7rem 0.85rem; border: 1.5px solid var(--line); border-radius: 8px;
  font-size: 1rem; font-family: inherit; background: #fff; color: var(--ink);
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--green); }
fieldset { border: none; padding: 0; margin: 0; }
legend { font-weight: 700; margin-bottom: 0.5rem; padding: 0; }
.checkbox-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem; }
.checkbox-item { font-weight: 400; display: flex; align-items: center; gap: 0.5rem; font-size: 0.92rem; }

/* ---------- footer ---------- */
.site-footer { background: var(--ink); color: rgba(255,255,255,0.75); padding: 3rem 0 1.5rem; position: relative; z-index: 2; }
.footer-inner { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 2rem; padding-bottom: 2rem; border-bottom: 1px solid rgba(255,255,255,0.15); }
.footer-brand .logo-text { color: #fff; }
.footer-col h4 { color: #fff; font-family: 'Poppins', sans-serif; font-size: 1rem; margin-bottom: 0.75rem; }
.footer-col p { margin: 0 0 0.5rem; }
.footer-col a { color: rgba(255,255,255,0.75); text-decoration: none; }
.footer-col a:hover { color: #fff; }
.footer-bottom { padding-top: 1.5rem; font-size: 0.85rem; text-align: center; }

/* ---------- responsive ---------- */
.nav-close { display: none; }
.nav-backdrop { display: none; }
@media (max-width: 900px) {
  .hero-inner, .quote-inner { grid-template-columns: 1fr; }
  .promise-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 1.5rem; }
  .main-nav ul, .nav-cta-row .phone-link span { display: none; }
  .hamburger { display: flex; }
  .main-nav {
    position: fixed; top: 0; right: -100%; height: 100vh; width: 78%; max-width: 320px;
    background: var(--card); flex-direction: column; align-items: flex-start; padding: 5rem 2rem 2rem;
    transition: right 0.25s ease; z-index: 70; overflow-y: auto;
  }
  .main-nav.open { right: 0; }
  .main-nav.open ul { display: flex; flex-direction: column; gap: 1.25rem; }
  body.is-editable .main-nav { top: 44px; height: calc(100vh - 44px); }
  .hero-badge { position: static; margin-top: 1.5rem; }

  .nav-close {
    display: flex; align-items: center; justify-content: center;
    position: absolute; top: 1.25rem; right: 1.25rem;
    width: 2.25rem; height: 2.25rem; border-radius: 50%;
    background: var(--tan); border: none; color: var(--ink);
    font-size: 1.5rem; line-height: 1; cursor: pointer;
  }
  .nav-close:hover { background: var(--line); }

  .nav-backdrop {
    display: block; position: fixed; inset: 0; background: rgba(22,40,27,0.5);
    z-index: 65; opacity: 0; visibility: hidden; transition: opacity 0.25s ease;
  }
  .nav-backdrop.open { opacity: 1; visibility: visible; }
}
@media (max-width: 600px) {
  .hero h1 { font-size: 2rem; }
  .services-grid { grid-template-columns: 1fr; }
  .form-row--split, .checkbox-grid { grid-template-columns: 1fr; }
}
