/* ─── Reset & Base ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --green:        #1a6b55;
  --green-dark:   #14503f;
  --green-light:  #e8f4f0;
  --white:        #ffffff;
  --bg:           #ffffff;
  --bg-alt:       #f7f8f7;
  --text:         #1a1a1a;
  --text-muted:   #6b7280;
  --border:       #e5e7eb;
  --radius:       14px;
  --radius-lg:    22px;
  --shadow-card:  0 2px 18px rgba(0,0,0,.07);
  --transition:   .25s ease;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Manrope', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a { text-decoration: none; color: inherit; }

/* ─── Container ─── */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ─── Buttons ─── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 32px;
  border-radius: 50px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .02em;
  cursor: pointer;
  border: none;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
  white-space: nowrap;
}
.btn--primary {
  background: var(--green);
  color: var(--white);
  box-shadow: 0 4px 20px rgba(26,107,85,.30);
}
.btn--primary:hover {
  background: var(--green-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(26,107,85,.38);
}
.btn--white {
  background: var(--white);
  color: var(--green);
  box-shadow: 0 4px 20px rgba(0,0,0,.12);
}
.btn--white:hover {
  background: var(--green-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(0,0,0,.16);
}
.btn--lg { padding: 18px 72px; font-size: 16px; min-width: 360px; }
.btn--sticky {
  width: 100%;
  justify-content: center;
  border-radius: 14px;
  padding: 16px 20px;
  font-size: 15px;
}

/* ─── Label ─── */
.label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.label--pill {
  background: var(--green-light);
  color: var(--green);
  padding: 6px 14px;
  border-radius: 50px;
}
.label--outline {
  background: transparent;
  color: var(--green);
  border: 1.5px solid var(--green);
  padding: 5px 14px;
  border-radius: 50px;
}
.label__dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--green);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%,100% { opacity: 1; transform: scale(1); }
  50%      { opacity: .5; transform: scale(1.3); }
}

/* ─── Fade-in animations ─── */
.fade-in {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .65s ease, transform .65s ease;
}
.fade-in--delay { transition-delay: .18s; }
.fade-in.visible {
  opacity: 1;
  transform: none;
}

/* ════════════════════════════════
   HERO
════════════════════════════════ */
.hero {
  background: var(--bg);
  padding: 80px 0;
  min-height: 100vh;
  display: flex;
  align-items: center;
}
.hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  width: 100%;
}
.hero__content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.br-desktop { display: inline; }

.hero__title {
  font-size: clamp(30px, 3.4vw, 50px);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -.02em;
  margin-bottom: 20px;
  color: var(--text);
  max-width: 460px;
}
.accent { color: var(--green); }

.hero__sub { display: none; }

.hero__tagline {
  display: none;
}

.checklist {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 36px;
}
.checklist li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 16px;
  font-weight: 500;
  color: var(--text);
}
.check-icon { width: 22px; height: 22px; flex-shrink: 0; }

.hero__cta { margin-top: 4px; }

.hero__photo {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
}
.hero__photo-wrap {
  width: 100%;
  max-width: 460px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--green-light);
  box-shadow: 0 0 0 8px var(--green-light);
}
.hero__photo-wrap img {
  width: 100%;
  height: auto;
  display: block;
}

/* ════════════════════════════════
   AUTHOR
════════════════════════════════ */
.author {
  background: var(--bg-alt);
  padding: 100px 0 0;
}
.author__inner {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 70px;
  align-items: flex-start;
  padding-bottom: 70px;
}

.author__photo-wrap {
  width: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  background: var(--green-light);
}
.author__photo-wrap img {
  width: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  max-height: 520px;
}

.author__name {
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 800;
  letter-spacing: -.02em;
  margin-bottom: 8px;
  line-height: 1.15;
}
.author__role {
  font-size: 17px;
  color: var(--text-muted);
  margin-bottom: 32px;
  font-weight: 500;
}

/* Stats grid */
.stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 28px;
}
.stat-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 22px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: box-shadow var(--transition), transform var(--transition);
}
.stat-card:hover {
  box-shadow: var(--shadow-card);
  transform: translateY(-2px);
}
.stat-card__num {
  font-size: clamp(22px, 2.5vw, 30px);
  font-weight: 800;
  color: var(--green);
  letter-spacing: -.02em;
  line-height: 1;
}
.stat-card__desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.4;
}

.author__quote {
  background: var(--white);
  border-left: 4px solid var(--green);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 16px 20px;
  font-size: 15px;
  font-weight: 500;
  color: var(--text);
  line-height: 1.6;
  margin-bottom: 28px;
}

/* Cases strip */
.cases {
  background: var(--white);
  padding: 40px 0;
  border-top: 1px solid var(--border);
}
.cases__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.case-card {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 22px 20px;
  transition: box-shadow var(--transition), transform var(--transition);
}
.case-card:hover {
  box-shadow: var(--shadow-card);
  transform: translateY(-3px);
}
.case-card__avatar {
  width: 56px; height: 56px;
  border-radius: 50%;
  overflow: hidden;
  margin-bottom: 14px;
  flex-shrink: 0;
  border: 2px solid var(--green-light);
}
.case-card__avatar img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center top;
}
.case-card__name {
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 3px;
}
.case-card__role {
  font-size: 12px;
  color: var(--green);
  font-weight: 600;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.case-card__result {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ════════════════════════════════
   FINAL CTA
════════════════════════════════ */
.cta-final {
  background: linear-gradient(135deg, var(--green) 0%, #0f4d3b 100%);
  padding: 100px 0;
}
.cta-final__inner {
  text-align: center;
  max-width: 680px;
  margin: 0 auto;
}
.cta-final__title {
  font-size: clamp(30px, 3.8vw, 50px);
  font-weight: 800;
  color: var(--white);
  line-height: 1.2;
  letter-spacing: -.02em;
  margin-bottom: 18px;
}
.cta-final__sub {
  font-size: clamp(15px, 1.4vw, 17px);
  color: rgba(255,255,255,.78);
  margin-bottom: 36px;
  line-height: 1.65;
}
.cta-final__note {
  margin-top: 16px;
  font-size: 13px;
  color: rgba(255,255,255,.55);
  letter-spacing: .03em;
}

/* ════════════════════════════════
   FOOTER
════════════════════════════════ */
.footer {
  background: #111;
  padding: 24px 0;
}
.footer__inner {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 13px;
  color: rgba(255,255,255,.45);
}
.footer__name { font-weight: 600; color: rgba(255,255,255,.7); }
.footer__link {
  margin-left: auto;
  color: var(--green);
  font-weight: 600;
  transition: opacity var(--transition);
}
.footer__link:hover { opacity: .75; }

/* ── mobile-only hero photo ── */
.hero__photo-mobile { display: none; }

/* ── Cases title ── */
.cases__title {
  font-size: 22px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 24px;
  letter-spacing: -.01em;
}

/* ════════════════════════════════
   RESPONSIVE
════════════════════════════════ */

/* Tablet */
@media (max-width: 900px) {
  .hero { padding: 60px 0; min-height: auto; }
  .hero__inner {
    grid-template-columns: 1fr;
    gap: 36px;
    align-items: start;
  }
  .hero__content { order: 1; }
  .hero__photo { order: 2; justify-content: center; }
  .hero__photo-wrap { max-width: 360px; }
  .hero__photo-wrap img { max-height: 380px; min-height: unset; }

  .author__inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .author__photo { display: flex; justify-content: center; }
  .author__photo-wrap { max-width: 340px; }
  .author__photo-wrap img { max-height: 380px; }

  .cases__grid { grid-template-columns: 1fr 1fr; }
}

/* Mobile */
@media (max-width: 600px) {
  /* ── Hero mobile ── */
  .hero {
    padding: 40px 0 60px;
    min-height: unset;
    align-items: flex-start;
  }
  .hero__inner {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .hero__content {
    order: 1;
    align-items: stretch;
  }
  .hero__photo { display: none; }
  .br-desktop { display: none; }

  .hero__title {
    font-size: 26px;
    line-height: 1.22;
    margin-bottom: 20px;
  }

  /* Sub hidden on mobile — tagline shows instead */
  .hero__sub { display: none; }

  .checklist { margin-bottom: 20px; }
  .checklist li { font-size: 15px; }

  /* Mobile-only photo — between checklist and CTA */
  .hero__photo-mobile {
    display: block;
    width: 100%;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--green-light);
    margin-bottom: 20px;
  }
  .hero__photo-mobile img {
    width: 100%;
    max-height: 280px;
    object-fit: cover;
    object-position: center 20%;
    display: block;
  }

  /* Full-width CTA */
  .hero__cta {
    width: 100%;
    justify-content: center;
    border-radius: 14px;
    padding: 17px 20px;
    font-size: 16px;
    margin-top: 0;
  }

  /* Tagline below button */
  .hero__tagline {
    display: block;
    text-align: center;
    font-size: 14px;
    color: var(--text-muted);
    margin-top: 14px;
    line-height: 1.5;
  }

  /* ── Author mobile ── */
  .author { padding-top: 52px; }
  .author__inner {
    grid-template-columns: 1fr;
    gap: 0;
    padding-bottom: 48px;
    text-align: center;
  }

  .author__photo {
    display: flex;
    justify-content: center;
    order: 1;
    margin-bottom: 20px;
  }
  .author__photo-wrap {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    flex-shrink: 0;
    overflow: hidden;
    box-shadow: 0 0 0 5px var(--green-light);
  }
  .author__photo-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    max-height: unset;
    min-height: unset;
  }

  .author__content {
    order: 2;
    align-items: center;
  }
  .label--outline { margin: 0 auto 16px; }
  .author__name { font-size: 26px; text-align: center; margin-bottom: 6px; }
  .author__role { font-size: 15px; text-align: center; margin-bottom: 24px; }

  .stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 20px;
    width: 100%;
  }
  .stat-card { padding: 16px 12px; text-align: center; background: var(--white); }
  .stat-card__num { font-size: 22px; }
  .stat-card__desc { font-size: 12px; }

  .author__quote { text-align: left; font-size: 14px; margin-bottom: 24px; }

  .author__content .btn {
    width: 100%;
    justify-content: center;
    border-radius: 14px;
    padding: 17px 20px;
  }

  /* Cases */
  .cases { padding: 32px 0; }
  .cases__title { font-size: 18px; margin-bottom: 16px; }
  .cases__grid { grid-template-columns: 1fr; gap: 12px; }

  /* Final CTA */
  .cta-final { padding: 64px 0; }
  .cta-final__title { font-size: 24px; }
  .cta-final .btn--white {
    width: 100%;
    justify-content: center;
    border-radius: 14px;
  }

  .footer__inner { gap: 10px; }
  .footer__link { margin-left: 0; width: 100%; }
}

@media (max-width: 380px) {
  .hero__title { font-size: 22px; }
}
