/* ============================================
   GreenLeaf Studio — style.css
   Simple, dependency-free CSS. Edit colors
   in the :root block below.
   ============================================ */

:root {
  --accent: #0f766e;        /* teal 700 */
  --accent-dark: #115e59;   /* teal 800 */
  --accent-light: #ccfbf1;  /* teal 100 */
  --ink: #1c1917;           /* stone 900 */
  --ink-soft: #57534e;      /* stone 600 */
  --paper: #fafaf9;         /* stone 50 */
  --white: #ffffff;
  --border: #e7e5e4;        /* stone 200 */
  --radius: 14px;
  --shadow: 0 6px 24px rgba(28, 25, 23, 0.08);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}

main { flex: 1; }

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

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

h1, h2, h3 { line-height: 1.2; font-weight: 700; }

/* ===== Buttons ===== */
.btn {
  display: inline-block;
  padding: 0.8rem 1.6rem;
  border-radius: 999px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

.btn-primary {
  background: var(--accent);
  color: var(--white);
}
.btn-primary:hover { background: var(--accent-dark); box-shadow: var(--shadow); }

.btn-ghost {
  background: transparent;
  color: var(--accent);
  border-color: var(--accent);
}
.btn-ghost:hover { background: var(--accent-light); }

.btn-wide { width: 100%; }

/* ===== Header ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 0;
  gap: 1rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--ink);
  text-decoration: none;
}
.logo-icon { width: 32px; height: 32px; }
.logo-accent { color: var(--accent); }

.nav {
  display: flex;
  gap: 1.75rem;
}
.nav a {
  color: var(--ink-soft);
  text-decoration: none;
  font-weight: 500;
  padding: 0.35rem 0;
  border-bottom: 2px solid transparent;
  transition: color 0.15s ease, border-color 0.15s ease;
}
.nav a:hover { color: var(--accent); border-color: var(--accent); }

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  padding: 0.5rem;
  cursor: pointer;
}
.menu-toggle span {
  width: 24px;
  height: 2.5px;
  border-radius: 2px;
  background: var(--ink);
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ===== Hero ===== */
.hero {
  padding: 5.5rem 0 6rem;
  text-align: center;
  background:
    radial-gradient(60rem 30rem at 50% -10rem, var(--accent-light) 0%, transparent 60%),
    var(--paper);
}

.hero-kicker {
  display: inline-block;
  background: var(--accent-light);
  color: var(--accent-dark);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.35rem 1rem;
  border-radius: 999px;
  margin-bottom: 1.4rem;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  max-width: 22ch;
  margin: 0 auto 1.2rem;
}

.hero-text {
  max-width: 55ch;
  margin: 0 auto 2rem;
  color: var(--ink-soft);
  font-size: 1.1rem;
}

.hero-actions {
  display: flex;
  gap: 0.9rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ===== Sections ===== */
.section { padding: 4.5rem 0; }
.section-alt { background: var(--white); border-block: 1px solid var(--border); }

.section-head {
  text-align: center;
  margin-bottom: 2.75rem;
}
.section-head h2 { font-size: clamp(1.6rem, 3.5vw, 2.2rem); margin-bottom: 0.5rem; }
.section-head p { color: var(--ink-soft); }

/* ===== Cards ===== */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem 1.6rem;
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }

.card-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 1.2rem;
  display: grid;
  place-items: center;
  background: var(--accent-light);
  color: var(--accent-dark);
  border-radius: 16px;
}
.card-icon svg { width: 28px; height: 28px; }

.card h3 { font-size: 1.15rem; margin-bottom: 0.5rem; }
.card p { color: var(--ink-soft); font-size: 0.97rem; }

/* ===== About ===== */
.about-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 3rem;
  align-items: center;
}
.about-text h2 { font-size: clamp(1.6rem, 3.5vw, 2.2rem); margin-bottom: 1rem; }
.about-text p { color: var(--ink-soft); margin-bottom: 0.9rem; }

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  text-align: center;
}
.stat {
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.4rem 0.6rem;
}
.stat-num {
  display: block;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  color: var(--accent);
}
.stat-label { font-size: 0.85rem; color: var(--ink-soft); }

/* ===== Contact ===== */
.contact-inner { max-width: 720px; }

.contact-form {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}

.form-field { margin-bottom: 1.2rem; }
.form-field label {
  display: block;
  font-weight: 600;
  font-size: 0.92rem;
  margin-bottom: 0.4rem;
}
.form-field input,
.form-field textarea {
  width: 100%;
  font: inherit;
  color: var(--ink);
  background: var(--paper);
  border: 1.5px solid var(--border);
  border-radius: 10px;
  padding: 0.75rem 0.9rem;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: var(--white);
}
.form-field textarea { resize: vertical; min-height: 120px; }

.form-hint {
  text-align: center;
  color: var(--ink-soft);
  font-size: 0.85rem;
  margin-top: 0.9rem;
}

/* ===== Footer (sticks to bottom) ===== */
.site-footer {
  margin-top: auto;
  background: var(--ink);
  color: #d6d3d1;
  padding: 1.6rem 0;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.92rem;
}
.footer-nav { display: flex; gap: 1.4rem; flex-wrap: wrap; }
.footer-nav a {
  color: #d6d3d1;
  text-decoration: none;
  transition: color 0.15s ease;
}
.footer-nav a:hover { color: #5eead4; }

/* ===== Scroll reveal ===== */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ===== Responsive ===== */
@media (max-width: 760px) {
  .about-inner { grid-template-columns: 1fr; gap: 2rem; }

  .menu-toggle { display: flex; }

  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow);
    display: none;
  }
  .nav.open { display: flex; }
  .nav a { padding: 0.9rem 1.5rem; border-bottom: 1px solid var(--border); }
  .nav a:hover { background: var(--accent-light); }

  .form-row { grid-template-columns: 1fr; gap: 0; }
  .contact-form { padding: 1.4rem; }
  .hero { padding: 4rem 0 4.5rem; }
  .section { padding: 3.25rem 0; }
}

/* Safe area for phones with rounded corners */
@supports (padding-bottom: env(safe-area-inset-bottom)) {
  .site-footer {
    padding-bottom: calc(1.6rem + env(safe-area-inset-bottom));
  }
}
