/* =========================
   Ormamolta base styles
   Static GitHub Pages friendly
========================= */

:root {
  --green-dark: #1e3323;
  --green: #4f7d3a;
  --green-light: #8fbf73;
  --earth: #8a5a35;
  --cream: #f7f2e8;
  --sand: #e7d7bd;
  --white: #ffffff;
  --ink: #1d1d1b;
  --muted: #65645f;
  --shadow: 0 20px 50px rgba(30, 51, 35, 0.15);
  --radius: 24px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--cream);
  color: var(--ink);
  line-height: 1.6;
}

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

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px clamp(18px, 4vw, 56px);
  background: rgba(247, 242, 232, 0.88);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(30, 51, 35, 0.08);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  text-decoration: none;
  letter-spacing: -0.03em;
  color: var(--green-dark);
  font-size: 1.25rem;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  background: var(--green-dark);
  border-radius: 50%;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.site-nav a {
  text-decoration: none;
  font-weight: 700;
  color: var(--green-dark);
}

.nav-cta {
  padding: 10px 16px;
  background: var(--green-dark);
  color: var(--white) !important;
  border-radius: 999px;
}

.nav-toggle {
  display: none;
  border: 0;
  background: var(--green-dark);
  color: white;
  font-size: 1.4rem;
  padding: 8px 12px;
  border-radius: 12px;
}

.hero {
  position: relative;
  min-height: 88vh;
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: 80px 24px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(115deg, rgba(30, 51, 35, .88), rgba(30, 51, 35, .35)),
    url("https://images.unsplash.com/photo-1464226184884-fa280b87c399?auto=format&fit=crop&w=1800&q=80");
  background-size: cover;
  background-position: center;
  transform: scale(1.04);
  animation: slowZoom 18s ease-in-out infinite alternate;
}

.hero-content {
  position: relative;
  max-width: 950px;
  text-align: center;
  color: white;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: .16em;
  font-size: .78rem;
  font-weight: 900;
  color: var(--green-light);
}

.hero h1 {
  margin: 12px 0;
  font-size: clamp(3rem, 8vw, 7.6rem);
  line-height: .9;
  letter-spacing: -0.08em;
}

.hero-text {
  max-width: 700px;
  margin: 24px auto 32px;
  font-size: clamp(1.1rem, 2vw, 1.35rem);
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 900;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
}

.btn:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.btn-primary {
  background: var(--green-light);
  color: var(--green-dark);
}

.btn-secondary {
  background: rgba(255,255,255,.14);
  color: white;
  border: 1px solid rgba(255,255,255,.35);
}

.floating-card {
  position: absolute;
  right: clamp(20px, 7vw, 90px);
  bottom: 70px;
  background: rgba(255, 255, 255, .92);
  color: var(--green-dark);
  padding: 18px 22px;
  border-radius: 22px;
  box-shadow: var(--shadow);
  display: grid;
}

.floating-number {
  font-size: 2.2rem;
  line-height: 1;
  font-weight: 900;
}

.section-padding {
  padding: clamp(70px, 9vw, 130px) clamp(18px, 5vw, 70px);
}

.section-heading {
  max-width: 760px;
  margin: 0 auto 48px;
  text-align: center;
}

.section-heading h2,
.split-content h2,
.cta h2,
.story-page h1 {
  font-size: clamp(2rem, 5vw, 4.2rem);
  line-height: 1;
  letter-spacing: -0.06em;
  margin: 0 0 18px;
  color: var(--green-dark);
}

.feature-grid,
.price-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  max-width: 1180px;
  margin: auto;
}

.feature-card,
.price-card,
.content-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform .25s ease, box-shadow .25s ease;
}

.feature-card:hover,
.price-card:hover,
.content-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 70px rgba(30, 51, 35, 0.22);
}

.feature-card img {
  height: 240px;
  width: 100%;
  object-fit: cover;
}

.feature-card div,
.price-card,
.content-card {
  padding: 24px;
}

.feature-card h3,
.price-card h3 {
  margin-top: 0;
  font-size: 1.5rem;
  color: var(--green-dark);
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(30px, 6vw, 80px);
  align-items: center;
  background: var(--sand);
}

.split-image img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  min-height: 500px;
  width: 100%;
  object-fit: cover;
}

.check-list {
  padding: 0;
  list-style: none;
}

.check-list li {
  margin: 10px 0;
  padding-left: 32px;
  position: relative;
  font-weight: 700;
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--green);
  font-weight: 900;
}

.text-link {
  display: inline-block;
  margin-top: 18px;
  font-weight: 900;
  color: var(--green-dark);
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: var(--green-dark);
  color: white;
  text-align: center;
}

.stat {
  padding: 56px 20px;
  border-right: 1px solid rgba(255,255,255,.12);
}

.stat span {
  display: block;
  font-size: clamp(3rem, 7vw, 6rem);
  font-weight: 950;
  line-height: 1;
  color: var(--green-light);
}

.price-card {
  text-align: center;
}

.price-card.featured {
  background: var(--green-dark);
  color: white;
  transform: scale(1.04);
}

.price-card.featured h3 {
  color: white;
}

.price {
  font-size: 2rem;
  font-weight: 900;
  color: var(--green);
}

.price-card.featured .price {
  color: var(--green-light);
}

.price-card a {
  display: inline-block;
  margin-top: 14px;
  background: var(--green);
  color: white;
  padding: 12px 18px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 900;
}

.cta {
  margin: clamp(40px, 8vw, 100px) clamp(18px, 5vw, 70px);
  padding: clamp(50px, 8vw, 100px);
  border-radius: 36px;
  text-align: center;
  background:
    linear-gradient(135deg, rgba(30,51,35,.92), rgba(79,125,58,.86)),
    url("https://images.unsplash.com/photo-1523348837708-15d4a09cfac2?auto=format&fit=crop&w=1600&q=80");
  background-size: cover;
  color: white;
}

.cta h2 {
  color: white;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  padding: 44px clamp(18px, 5vw, 70px);
  background: #152019;
  color: white;
}

/* Inner pages */

.page-hero {
  padding: 110px clamp(18px, 5vw, 70px);
  background:
    linear-gradient(135deg, rgba(30,51,35,.9), rgba(30,51,35,.45)),
    var(--page-bg);
  background-size: cover;
  background-position: center;
  color: white;
}

.page-hero h1 {
  max-width: 900px;
  font-size: clamp(2.8rem, 7vw, 6.4rem);
  line-height: .92;
  letter-spacing: -0.08em;
  margin: 0;
}

.page-hero p {
  max-width: 680px;
  font-size: 1.25rem;
}

.content-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 1100px;
  margin: auto;
}

.wide {
  grid-column: 1 / -1;
}

.analysis-table {
  width: 100%;
  border-collapse: collapse;
  background: white;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.analysis-table th,
.analysis-table td {
  padding: 16px;
  border-bottom: 1px solid #eee;
  text-align: left;
}

.analysis-table th {
  background: var(--green-dark);
  color: white;
}

/* Animations */

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .75s ease, transform .75s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 {
  transition-delay: .12s;
}

.delay-2 {
  transition-delay: .24s;
}

@keyframes slowZoom {
  from { transform: scale(1.02); }
  to { transform: scale(1.12); }
}

@media (max-width: 850px) {
  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: 78px;
    right: 18px;
    left: 18px;
    display: none;
    flex-direction: column;
    padding: 20px;
    background: white;
    border-radius: 20px;
    box-shadow: var(--shadow);
  }

  .site-nav.open {
    display: flex;
  }

  .site-nav a {
    color: var(--green-dark);
  }

  .feature-grid,
  .price-grid,
  .split,
  .stats,
  .content-grid {
    grid-template-columns: 1fr;
  }

  .floating-card {
    position: relative;
    right: auto;
    bottom: auto;
    margin-top: 30px;
  }

  .site-footer {
    flex-direction: column;
  }

  .price-card.featured {
    transform: none;
  }
}
