/* ══════════════════════════════════════════════════════════
   Pure Gardening Company — styles.css
   Mobile-first, no frameworks, clean & premium
══════════════════════════════════════════════════════════ */

/* ── 1. Custom Properties ── */
:root {
  --green-dark:   #1B4332;
  --green-mid:    #2D6A4F;
  --green-mid2:   #40916C;
  --green-light:  #52B788;
  --green-pale:   #D8F3DC;
  --green-paler:  #F0FFF4;
  --cream:        #F8F5F0;
  --white:        #FFFFFF;
  --text-dark:    #1A1A1A;
  --text-mid:     #374151;
  --text-light:   #6B7280;
  --shadow-sm:    0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.05);
  --shadow-md:    0 4px 16px rgba(27,67,50,.10);
  --shadow-lg:    0 12px 40px rgba(27,67,50,.15);
  --radius:       14px;
  --radius-sm:    8px;
  --transition:   0.3s ease;
}

/* ── 2. Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--text-dark);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
button { cursor: pointer; border: none; background: none; font: inherit; }
ul { list-style: none; }

/* ── 3. Typography ── */
h1, h2, h3, h4 { line-height: 1.2; font-weight: 600; }
h1 { font-size: clamp(2rem, 6vw, 3.75rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.6rem, 4vw, 2.5rem); letter-spacing: -0.015em; }
h3 { font-size: 1.125rem; font-weight: 600; }
p  { font-size: 1rem; color: var(--text-mid); }

/* ── 4. Utilities ── */
.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 50px;
  font-size: 0.9375rem;
  font-weight: 600;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition), color var(--transition);
  white-space: nowrap;
  cursor: pointer;
}
.btn:active { transform: scale(0.97); }

.btn--primary {
  background: var(--green-mid);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(45,106,79,.35);
}
.btn--primary:hover { background: var(--green-dark); box-shadow: 0 6px 20px rgba(27,67,50,.4); transform: translateY(-1px); }

.btn--hero {
  background: var(--white);
  color: var(--green-dark);
  font-size: 1rem;
  padding: 16px 36px;
  box-shadow: 0 6px 24px rgba(0,0,0,.18);
}
.btn--hero:hover { background: var(--green-pale); transform: translateY(-2px); box-shadow: 0 10px 32px rgba(0,0,0,.22); }

.btn--nav {
  background: var(--green-mid);
  color: var(--white);
  padding: 10px 22px;
  font-size: 0.875rem;
}
.btn--nav:hover { background: var(--green-dark); transform: translateY(-1px); }

.btn--outline {
  background: transparent;
  color: var(--green-mid);
  border: 2px solid var(--green-mid);
  padding: 12px 22px;
}
.btn--outline:hover { background: var(--green-pale); transform: translateY(-1px); }

.btn--whatsapp {
  background: #25D366;
  color: var(--white);
  padding: 12px 22px;
  box-shadow: 0 4px 14px rgba(37,211,102,.3);
}
.btn--whatsapp:hover { background: #1ebe5d; transform: translateY(-1px); }

.btn--full { width: 100%; justify-content: center; }

.section-label {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--green-light);
  margin-bottom: 12px;
}
.section-title { color: var(--green-dark); margin-bottom: 16px; }
.section-sub { font-size: 1.0625rem; color: var(--text-light); max-width: 580px; }

/* ── 5. Scroll Reveal ── */
.scroll-reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
  transition-delay: var(--delay, 0s);
}
.scroll-reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── 6. Sticky Contact Bar ── */
#sticky-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 900;
  background: var(--green-dark);
  display: flex;
  align-items: stretch;
  border-top: 1px solid rgba(255,255,255,.1);
  box-shadow: 0 -4px 24px rgba(0,0,0,.2);
}

.sticky-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  padding: 10px 6px;
  color: var(--white);
  font-size: 0.65rem;
  font-weight: 500;
  transition: background var(--transition);
  min-height: 56px;
  text-align: center;
}
.sticky-item:hover { background: rgba(255,255,255,.08); }
.sticky-item svg { flex-shrink: 0; }

.sticky-label { font-size: 0.625rem; opacity: 0.85; }
.sticky-number { display: none; }

.sticky-item--whatsapp { color: #4DE87A; }
.sticky-item--social { flex: 0 0 48px; }

.sticky-divider {
  width: 1px;
  background: rgba(255,255,255,.12);
  margin: 8px 0;
}

/* ── 7. Navigation ── */
#nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 800;
  transition: background var(--transition), box-shadow var(--transition);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 18px;
  padding-bottom: 18px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1rem;
  color: var(--white);
  transition: color var(--transition);
}
.nav-logo svg { color: var(--white); }

#nav.nav-scrolled {
  background: var(--white);
  box-shadow: var(--shadow-md);
}
#nav.nav-scrolled .nav-logo { color: var(--green-dark); }
#nav.nav-scrolled .nav-logo svg { color: var(--green-mid); }

/* ── 8. Hero ── */
#hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 100px 20px 120px;
  text-align: center;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, #0d2818 0%, #1B4332 40%, #2D6A4F 100%);
}

.hero-svg {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 70%;
  animation: heroFloat 12s ease-in-out infinite alternate;
}

@keyframes heroFloat {
  0%   { transform: translateY(0); }
  100% { transform: translateY(-10px); }
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
}

.hero-badge {
  display: inline-block;
  background: rgba(255,255,255,.12);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.2);
  color: var(--green-pale);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 50px;
  margin-bottom: 24px;
}

.hero-title {
  color: var(--white);
  text-shadow: 0 2px 20px rgba(0,0,0,.3);
  margin-bottom: 20px;
}

.hero-sub {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  color: rgba(255,255,255,.8);
  margin-bottom: 36px;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

.hero-scroll-arrow {
  position: absolute;
  bottom: 88px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  color: rgba(255,255,255,.6);
  animation: bounce 2.2s ease-in-out infinite;
  transition: color var(--transition);
}
.hero-scroll-arrow:hover { color: var(--white); }

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(8px); }
}

.br-hide { display: none; }

/* ── 9. Services ── */
#services {
  padding: 80px 0;
  background: var(--white);
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-top: 48px;
}

.card {
  background: var(--white);
  border: 1.5px solid #E8F5EC;
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--green-light);
}

.card-icon {
  width: 64px;
  height: 64px;
  margin-bottom: 18px;
}
.card-icon svg { width: 64px; height: 64px; }

.card-title {
  color: var(--green-dark);
  margin-bottom: 8px;
  font-size: 1.0625rem;
}

.card-desc { font-size: 0.9375rem; color: var(--text-light); line-height: 1.6; }

/* ── 10. Trust ── */
#trust {
  padding: 80px 0;
  background: var(--cream);
}

.trust-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: 48px;
}

.trust-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: transform var(--transition), box-shadow var(--transition);
}
.trust-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }

.trust-icon { width: 40px; height: 40px; }
.trust-icon svg { width: 40px; height: 40px; }

.trust-card h3 { color: var(--green-dark); font-size: 1rem; }
.trust-card p  { font-size: 0.9rem; color: var(--text-light); }

/* ── 11. How It Works ── */
#how-it-works {
  padding: 80px 0;
  background: var(--white);
}

.steps-grid {
  display: flex;
  flex-direction: column;
  gap: 32px;
  margin-top: 48px;
  align-items: center;
}

.step {
  text-align: center;
  max-width: 300px;
}

.step-number {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--green-light);
  text-transform: uppercase;
  margin-bottom: 16px;
}

.step-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
}
.step-icon svg { width: 56px; height: 56px; }

.step h3 { color: var(--green-dark); margin-bottom: 10px; }
.step p  { font-size: 0.9375rem; color: var(--text-light); }

.step-connector {
  width: 2px;
  height: 40px;
  background: linear-gradient(to bottom, var(--green-pale), var(--green-light));
  border-radius: 2px;
}

/* ── 12. Gallery ── */
#gallery {
  padding: 0;
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 200px 200px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  transition: transform 0.5s ease;
}
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-item:hover { z-index: 1; }

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(27,67,50,.45);
  display: flex;
  align-items: flex-end;
  padding: 20px;
  opacity: 0;
  transition: opacity var(--transition);
}
.gallery-overlay span {
  color: var(--white);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.02em;
}

/* ── 13. Quote Section ── */
#quote {
  padding: 80px 0;
  background: var(--green-paler);
}

.quote-grid {
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.quote-left h2 { color: var(--green-dark); margin: 12px 0 16px; }
.quote-left p  { font-size: 1rem; color: var(--text-mid); margin-bottom: 28px; }

.quote-contacts {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* Form */
.quote-right {
  background: var(--white);
  border-radius: var(--radius);
  padding: 36px 28px;
  box-shadow: var(--shadow-lg);
}

.form-title {
  color: var(--green-dark);
  font-size: 1.125rem;
  margin-bottom: 24px;
}

.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 7px;
}
.form-group label span { color: var(--green-light); }

.form-group input,
.form-group select {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid #E2E8F0;
  border-radius: var(--radius-sm);
  font: inherit;
  font-size: 0.9375rem;
  color: var(--text-dark);
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
  appearance: none;
  -webkit-appearance: none;
}
.form-group input::placeholder { color: #A0ADB8; }
.form-group input:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--green-light);
  box-shadow: 0 0 0 3px rgba(82,183,136,.18);
}

.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236B7280' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 44px;
}

.radio-group {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}
.radio-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-mid);
  cursor: pointer;
}
.radio-label input[type="radio"] {
  width: 18px;
  height: 18px;
  accent-color: var(--green-mid);
  padding: 0;
  border: none;
  box-shadow: none;
  flex-shrink: 0;
}

.form-success {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
  padding: 14px 18px;
  background: var(--green-pale);
  border-radius: var(--radius-sm);
  color: var(--green-dark);
  font-size: 0.9375rem;
  font-weight: 500;
}
.form-success[hidden] { display: none; }

/* ── 14. Footer ── */
#footer {
  background: var(--green-dark);
  color: var(--white);
  padding: 56px 0 32px;
}

.footer-grid {
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin-bottom: 40px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.0625rem;
  color: var(--white);
  margin-bottom: 10px;
}

.footer-tagline {
  color: rgba(255,255,255,.6);
  font-size: 0.9rem;
  margin-bottom: 14px;
}

.footer-phone {
  color: var(--green-pale);
  font-weight: 600;
  font-size: 1rem;
  transition: color var(--transition);
}
.footer-phone:hover { color: var(--white); }

.footer-social {
  display: flex;
  gap: 14px;
}
.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  transition: background var(--transition), transform var(--transition);
}
.footer-social a:hover { background: rgba(255,255,255,.18); transform: translateY(-2px); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.8125rem;
  color: rgba(255,255,255,.45);
}

.footer-power { color: rgba(255,255,255,.3); }

.footer-gardenos {
  color: rgba(255,255,255,.45);
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color var(--transition);
}
.footer-gardenos:hover { color: var(--white); }

/* ── 15. Section centring helpers ── */
#services   .section-label,
#services   .section-title,
#services   .section-sub,
#trust      .section-label,
#trust      .section-title,
#trust      .section-sub,
#how-it-works .section-label,
#how-it-works .section-title,
#how-it-works .section-sub {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

/* ════════════════════════════════════════
   TABLET — 640px+
════════════════════════════════════════ */
@media (min-width: 640px) {
  .services-grid  { grid-template-columns: repeat(2, 1fr); }
  .trust-grid     { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid   { grid-template-rows: 260px 260px; }
  .br-hide        { display: inline; }

  .sticky-item { flex-direction: row; gap: 8px; font-size: 0.8125rem; }
  .sticky-label { display: none; }
  .sticky-number { display: inline; font-size: 0.875rem; font-weight: 600; }
  .sticky-item--social { flex: 0 0 56px; }
}

/* ════════════════════════════════════════
   DESKTOP — 900px+
════════════════════════════════════════ */
@media (min-width: 900px) {
  /* Nav */
  #nav { bottom: auto; top: 0; }

  /* Sticky bar moves to top (always below nav) */
  #sticky-bar {
    top: auto;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: auto;
    border-radius: 50px 50px 0 0;
    border-top: none;
    border: 1px solid rgba(255,255,255,.12);
    border-bottom: none;
    box-shadow: 0 -8px 32px rgba(0,0,0,.25);
    gap: 4px;
    padding: 0 8px;
  }
  .sticky-item { padding: 12px 18px; flex-direction: row; gap: 8px; font-size: 0.875rem; border-radius: 0; }
  .sticky-label { display: none; }
  .sticky-number { display: inline; }
  .sticky-item--social { flex: 0 0 auto; padding: 12px 14px; }
  .sticky-divider { width: 1px; height: 28px; margin: 0; align-self: center; }

  /* Sections */
  #services { padding: 100px 0; }
  #trust    { padding: 100px 0; }
  #how-it-works { padding: 100px 0; }
  #quote    { padding: 100px 0; }

  /* Services */
  .services-grid { grid-template-columns: repeat(3, 1fr); gap: 24px; }

  /* Trust */
  .trust-grid { grid-template-columns: repeat(3, 1fr); }
  /* 5th card centred in 3-col */
  .trust-card:last-child:nth-child(5) {
    grid-column: 2 / 3;
  }

  /* Steps */
  .steps-grid {
    flex-direction: row;
    align-items: flex-start;
    justify-content: center;
    gap: 0;
  }
  .step { flex: 1; max-width: 280px; }
  .step-connector {
    width: 80px;
    height: 2px;
    margin-top: 44px;
    background: linear-gradient(to right, var(--green-pale), var(--green-light));
  }

  /* Gallery */
  .gallery-grid {
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: 360px;
  }

  /* Quote split */
  .quote-grid { flex-direction: row; align-items: flex-start; gap: 64px; }
  .quote-left { flex: 1; position: sticky; top: 100px; }
  .quote-right { flex: 1; }

  /* Footer */
  .footer-grid { flex-direction: row; align-items: flex-start; justify-content: space-between; }
  .footer-bottom { flex-direction: row; justify-content: space-between; }
}

/* ════════════════════════════════════════
   HERO bottom padding for sticky bar
════════════════════════════════════════ */
body { padding-bottom: 56px; }

@media (min-width: 900px) {
  body { padding-bottom: 0; }
  #hero { padding-bottom: 60px; }
}

/* ── Reduced motion ── */
@media (prefers-reduced-motion: reduce) {
  .scroll-reveal { transition: none; opacity: 1; transform: none; }
  .hero-svg { animation: none; }
  .hero-scroll-arrow { animation: none; }
  * { transition-duration: 0.01ms !important; }
}
