/* ============================================================
   SlimShift — Weight Loss & Healthy Lifestyle Program
   Premium landing page design system
   Pure CSS3 · no frameworks
   ============================================================ */

/* ---------- Design tokens ---------- */
:root {
  /* Palette — fresh leaf greens + energetic citrus */
  --ink: #13271b;
  --ink-soft: #4c6356;
  --leaf-900: #0f2e1d;
  --leaf-800: #143d26;
  --leaf-700: #1b5233;
  --leaf-600: #237046;
  --lime-600: #6ea51f;
  --lime-500: #86be2f;
  --lime-400: #a6d645;
  --lime-300: #c9ea80;
  --lime-100: #ecf7d8;
  --mint-100: #f1f8ed;
  --mint-50: #f9fcf6;
  --citrus-400: #ffc93c;
  --citrus-300: #ffdd78;
  --white: #ffffff;
  --line: #e2eadb;

  /* Gradients */
  --grad-primary: linear-gradient(135deg, #237046, #143d26);
  --grad-lime: linear-gradient(135deg, #a6d645, #6ea51f);

  /* Typography */
  --ff-head: 'Sora', sans-serif;
  --ff-body: 'Inter', sans-serif;

  /* Layout */
  --container: 1180px;
  --radius: 18px;
  --shadow-soft: 0 24px 40px -22px rgba(20, 61, 38, 0.25);
  --shadow-lime: 0 10px 24px -12px rgba(134, 190, 47, 0.55);

  /* Motion */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Reset ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--ff-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--ff-head);
}

p {
  margin: 0;
}

a {
  color: inherit;
}

button {
  font-family: inherit;
}

ul, ol {
  margin: 0;
  padding: 0;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 24px;
}

section[id] {
  scroll-margin-top: 88px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--ff-head);
  font-weight: 700;
  font-size: 0.95rem;
  line-height: 1;
  padding: 0.98rem 1.65rem;
  border-radius: 999px;
  border: 1.5px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s ease,
    background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.btn--primary {
  background: var(--grad-lime);
  color: var(--leaf-900);
  box-shadow: var(--shadow-lime);
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 30px -12px rgba(134, 190, 47, 0.75);
}

.btn--accent {
  background: var(--citrus-400);
  color: var(--leaf-900);
}

.btn--accent:hover {
  background: var(--citrus-300);
  transform: translateY(-2px);
  box-shadow: 0 14px 26px -14px rgba(255, 201, 60, 0.9);
}

.btn--ghost {
  border-color: rgba(255, 255, 255, 0.4);
  color: var(--white);
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--white);
}

.btn--ghost-light {
  border-color: var(--line);
  color: var(--leaf-800);
}

.btn--ghost-light:hover {
  background: rgba(255, 255, 255, 0.5);
  border-color: var(--leaf-800);
}

.btn--light {
  background: var(--white);
  color: var(--leaf-800);
}

.btn--light:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 26px -12px rgba(15, 46, 29, 0.45);
}

.btn--block {
  width: 100%;
}

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

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  height: 72px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
}

.brand-mark {
  display: inline-flex;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--grad-lime);
  color: var(--leaf-900);
  align-items: center;
  justify-content: center;
  flex: none;
  box-shadow: 0 8px 16px -8px rgba(110, 165, 31, 0.7);
}

.brand-name {
  font-family: var(--ff-head);
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.brand-name span {
  color: var(--lime-600);
}

.nav {
  position: relative;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  list-style: none;
}

.nav-links a {
  position: relative;
  font-family: var(--ff-head);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--ink-soft);
  text-decoration: none;
  transition: color 0.2s ease;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -7px;
  height: 3px;
  border-radius: 99px;
  background: var(--grad-lime);
  transition: right 0.25s var(--ease-out);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--leaf-800);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  right: 0;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0 11px;
  background: none;
  border: 1px solid var(--line);
  border-radius: 12px;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  height: 2.5px;
  width: 100%;
  border-radius: 99px;
  background: var(--ink);
  transition: transform 0.25s var(--ease-out), opacity 0.2s ease;
}

.nav-toggle.open span:nth-child(1) {
  transform: translateY(7.5px) rotate(45deg);
}

.nav-toggle.open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.open span:nth-child(3) {
  transform: translateY(-7.5px) rotate(-45deg);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  color: var(--white);
  background:
    radial-gradient(1100px 480px at 88% -8%, rgba(166, 214, 69, 0.22), transparent 62%),
    radial-gradient(760px 420px at -10% 110%, rgba(255, 201, 60, 0.12), transparent 60%),
    linear-gradient(160deg, var(--leaf-900), var(--leaf-800) 55%, var(--leaf-700));
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 26px 26px;
  -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.7), transparent 75%);
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.7), transparent 75%);
  opacity: 0.5;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 3.5rem;
  padding-block: clamp(3.5rem, 7vw, 6rem);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--ff-head);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--lime-300);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  padding: 0.5rem 1rem;
  border-radius: 999px;
}

.eyebrow-star {
  color: var(--citrus-400);
  font-size: 0.9rem;
}

.hero-copy h1 {
  font-size: clamp(2.5rem, 5.2vw, 4.1rem);
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: var(--white);
  margin: 1.1rem 0 1.2rem;
}

.hero-copy h1 em {
  font-style: normal;
  background: linear-gradient(90deg, var(--lime-300), var(--citrus-300));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lede {
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.1rem;
  max-width: 33rem;
  margin-bottom: 1.8rem;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-bottom: 2.2rem;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 2.2rem;
  list-style: none;
}

.hero-stats strong {
  display: block;
  font-family: var(--ff-head);
  font-weight: 800;
  font-size: 1.7rem;
  line-height: 1;
  color: var(--lime-300);
}

.hero-stats span {
  display: block;
  margin-top: 0.3rem;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.6);
}

.hero-note {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: 1.8rem;
  padding-top: 1.4rem;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.72);
  max-width: 33rem;
}

.hero-note svg {
  flex: none;
  color: var(--citrus-400);
}

.hero-visual {
  position: relative;
}

.hero-bg {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 34px 64px -22px rgba(6, 20, 12, 0.6);
}

.hero-bg img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1.3s ease;
}

.hero-bg img.active {
  opacity: 1;
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 46, 29, 0) 55%, rgba(15, 46, 29, 0.5));
  pointer-events: none;
}

.hero-chip {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--ff-head);
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--leaf-800);
  background: rgba(255, 255, 255, 0.94);
  padding: 0.7rem 1.05rem;
  border-radius: 999px;
  box-shadow: 0 16px 32px -14px rgba(6, 20, 12, 0.5);
  animation: chip-float 5s ease-in-out infinite;
}

.hero-chip svg {
  color: var(--lime-600);
}

.hero-chip--a {
  top: 1.2rem;
  left: -1.1rem;
}

.hero-chip--b {
  bottom: 1.5rem;
  right: -0.9rem;
  animation-delay: 2.5s;
}

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

/* ---------- Marquee ribbon ---------- */
.marquee {
  overflow: hidden;
  background: var(--lime-100);
  border-block: 1px solid var(--line);
  padding: 0.95rem 0;
}

.marquee-track {
  display: flex;
  align-items: center;
  gap: 2.2rem;
  width: max-content;
  animation: marquee 30s linear infinite;
}

.marquee-track span {
  font-family: var(--ff-head);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--leaf-800);
  white-space: nowrap;
}

.marquee-track span:nth-child(even) {
  color: var(--lime-600);
}

@keyframes marquee {
  to { transform: translateX(-50%); }
}

/* ---------- Sections ---------- */
.section {
  padding-block: clamp(4rem, 8vw, 6.5rem);
}

.section-head {
  max-width: 660px;
  margin: 0 auto 3rem;
  text-align: center;
}

.kicker {
  display: inline-flex;
  font-family: var(--ff-head);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--lime-600);
  background: var(--lime-100);
  border: 1px solid #d7e8bc;
  padding: 0.45rem 0.95rem;
  border-radius: 999px;
  margin-bottom: 1.1rem;
}

.section-head h2 {
  font-size: clamp(1.9rem, 3.4vw, 2.7rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 1rem;
}

.section-sub {
  color: var(--ink-soft);
  font-size: 1.05rem;
  max-width: 46rem;
  margin-inline: auto;
}

/* ---------- Program cards ---------- */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 1.8rem;
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s ease, border-color 0.3s ease;
}

.card:hover {
  transform: translateY(-6px);
  border-color: #cfe6a4;
  box-shadow: var(--shadow-soft);
}

.card-icon {
  display: inline-flex;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: var(--grad-lime);
  color: var(--leaf-900);
  align-items: center;
  justify-content: center;
  margin-bottom: 1.1rem;
  box-shadow: 0 10px 18px -8px rgba(134, 190, 47, 0.6);
}

.card h3 {
  font-size: 1.18rem;
  color: var(--ink);
  margin-bottom: 0.5rem;
}

.card p {
  color: var(--ink-soft);
  font-size: 0.97rem;
  line-height: 1.6;
}

/* ---------- How it works ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  list-style: none;
}

.step {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 1.8rem 1.6rem;
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s ease;
}

.step::after {
  content: "";
  position: absolute;
  top: 3.6rem;
  right: -1.9rem;
  width: 2.5rem;
  height: 2px;
  background: repeating-linear-gradient(90deg, var(--lime-500) 0 6px, transparent 6px 12px);
}

.step:last-child::after {
  display: none;
}

.step:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-soft);
}

.step-num {
  display: block;
  font-family: var(--ff-head);
  font-weight: 800;
  font-size: 2.6rem;
  line-height: 1;
  margin-bottom: 0.9rem;
  background: linear-gradient(120deg, var(--lime-500), var(--leaf-600));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.step h3 {
  font-size: 1.18rem;
  color: var(--ink);
  margin-bottom: 0.5rem;
}

.step p {
  color: var(--ink-soft);
  font-size: 0.97rem;
  line-height: 1.6;
}

.how-cta {
  text-align: center;
  margin-top: 2.5rem;
}

/* ---------- Results ---------- */
.results {
  background: var(--mint-100);
}

.results-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 3.5rem;
}

.results-copy .kicker,
.results-copy h2,
.results-copy .section-sub {
  text-align: left;
  margin-inline: 0;
}

.checklist {
  display: grid;
  gap: 0.8rem;
  margin-top: 1.5rem;
  list-style: none;
}

.checklist li {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  font-weight: 600;
  color: var(--ink);
}

.checklist svg {
  flex: none;
  margin-top: 2px;
  color: var(--lime-600);
}

.stats-band {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.8rem;
  background: var(--grad-primary);
  border-radius: 26px;
  padding: 2.3rem;
  box-shadow: 0 30px 60px -28px rgba(15, 46, 29, 0.6);
}

.stat .stat-num {
  font-family: var(--ff-head);
  font-weight: 800;
  font-size: clamp(2.1rem, 3.4vw, 2.9rem);
  line-height: 1;
  color: var(--lime-300);
}

.stat .stat-unit {
  font-family: var(--ff-head);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--citrus-400);
  margin-left: 0.2rem;
}

.stat p {
  margin-top: 0.4rem;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.72);
}

/* ---------- Testimonials ---------- */
.quote {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin: 0;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 1.8rem;
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s ease, border-color 0.3s ease;
}

.quote:hover {
  transform: translateY(-6px);
  border-color: #cfe6a4;
  box-shadow: var(--shadow-soft);
}

.quote .stars {
  color: var(--citrus-400);
  font-size: 0.95rem;
  letter-spacing: 0.14em;
}

.quote p {
  color: var(--ink-soft);
  font-size: 1.02rem;
  line-height: 1.65;
}

.quote footer {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin-top: auto;
  padding-top: 1.2rem;
  border-top: 1px dashed var(--line);
}

.quote footer img {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--lime-300);
}

.quote cite {
  display: block;
  font-family: var(--ff-head);
  font-weight: 700;
  font-style: normal;
  color: var(--ink);
}

.quote footer span {
  font-size: 0.85rem;
  color: var(--ink-soft);
}

/* ---------- Pricing ---------- */
.pricing {
  background: var(--mint-50);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  align-items: stretch;
}

.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 2rem 1.7rem;
}

.plan--featured {
  background: linear-gradient(165deg, var(--leaf-800), var(--leaf-900));
  border-color: transparent;
  color: var(--white);
  transform: scale(1.04);
  box-shadow: 0 30px 60px -25px rgba(15, 46, 29, 0.6);
}

.plan-name {
  font-family: var(--ff-head);
  font-weight: 700;
  font-size: 1.02rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--lime-600);
  margin-bottom: 0.7rem;
}

.plan--featured .plan-name {
  color: var(--lime-300);
}

.plan-price {
  font-family: var(--ff-head);
  font-weight: 800;
  font-size: 2.9rem;
  line-height: 1;
  color: var(--ink);
  margin-bottom: 0.5rem;
}

.plan-price sup {
  font-size: 1.3rem;
  color: var(--lime-600);
  top: -0.55em;
}

.plan-price span {
  font-family: var(--ff-body);
  font-weight: 600;
  font-size: 1rem;
  color: var(--ink-soft);
}

.plan--featured .plan-price {
  color: var(--white);
}

.plan--featured .plan-price sup,
.plan--featured .plan-price span {
  color: var(--citrus-300);
}

.plan-desc {
  color: var(--ink-soft);
  font-size: 0.95rem;
  margin-bottom: 1.3rem;
}

.plan-list {
  display: grid;
  gap: 0.7rem;
  list-style: none;
  margin-bottom: 1.7rem;
}

.plan-list li {
  position: relative;
  padding-left: 1.6rem;
  font-size: 0.95rem;
  color: var(--ink-soft);
}

.plan-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  font-weight: 700;
  color: var(--lime-600);
}

.plan--featured .plan-list li {
  color: rgba(255, 255, 255, 0.85);
}

.plan--featured .plan-list li::before {
  color: var(--lime-300);
}

.plan .btn {
  margin-top: auto;
}

.plan-badge {
  position: absolute;
  top: -0.8rem;
  left: 50%;
  transform: translateX(-50%);
  background: var(--citrus-400);
  color: var(--leaf-900);
  font-family: var(--ff-head);
  font-weight: 700;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.42rem 0.95rem;
  border-radius: 999px;
  white-space: nowrap;
}

/* ---------- CTA band ---------- */
.cta-band {
  display: grid;
  grid-template-columns: 300px 1fr;
  align-items: center;
  gap: 2.2rem;
  margin-top: 3.5rem;
  padding: clamp(1.8rem, 4vw, 3rem);
  border-radius: 28px;
  background: linear-gradient(120deg, #b9e25a, #8cc63c 48%, #ffd967);
  box-shadow: 0 30px 60px -30px rgba(110, 165, 31, 0.7);
}

.cta-art {
  width: 100%;
  max-width: 300px;
  border-radius: 18px;
  object-fit: cover;
}

.cta-copy .kicker--dark {
  background: rgba(255, 255, 255, 0.45);
  border-color: rgba(255, 255, 255, 0.55);
  color: var(--leaf-800);
}

.cta-copy h2 {
  color: var(--leaf-900);
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  margin-bottom: 0.7rem;
}

.cta-copy p {
  color: var(--leaf-800);
  max-width: 40rem;
  margin-bottom: 1.5rem;
}

/* ---------- Contact ---------- */
.contact {
  background: var(--mint-100);
}

.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  align-items: start;
  gap: 3rem;
}

.contact-copy .kicker,
.contact-copy h2,
.contact-copy .section-sub {
  text-align: left;
  margin-inline: 0;
}

.contact-list {
  display: grid;
  gap: 1.1rem;
  margin: 1.7rem 0 1.6rem;
  list-style: none;
}

.contact-list li {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.contact-ico {
  display: inline-flex;
  width: 44px;
  height: 44px;
  flex: none;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: var(--white);
  border: 1px solid var(--line);
  color: var(--lime-600);
  box-shadow: 0 8px 16px -10px rgba(20, 61, 38, 0.25);
}

.contact-list strong {
  display: block;
  font-family: var(--ff-head);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--ink);
}

.contact-list li div span {
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.socials {
  display: flex;
  gap: 0.7rem;
}

.social {
  display: inline-flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--white);
  border: 1px solid var(--line);
  color: var(--leaf-700);
  transition: transform 0.25s var(--ease-out), background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.social:hover {
  background: var(--lime-500);
  border-color: var(--lime-500);
  color: var(--white);
  transform: translateY(-3px);
}

.contact-form {
  display: grid;
  gap: 1.15rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 2rem;
  box-shadow: 0 26px 50px -28px rgba(20, 61, 38, 0.28);
}

.field {
  display: grid;
  gap: 0.4rem;
}

.field label {
  font-family: var(--ff-head);
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--ink);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  font-family: var(--ff-body);
  font-size: 1rem;
  color: var(--ink);
  background: var(--mint-50);
  border: 1.5px solid var(--line);
  border-radius: 12px;
  padding: 0.82rem 1rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--lime-500);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(134, 190, 47, 0.16);
}

.field textarea {
  resize: vertical;
  min-height: 108px;
}

.field select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%236ea51f' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.6rem;
}

.form-ok,
.form-err {
  display: none;
  align-items: center;
  gap: 0.55rem;
  margin: 0;
  font-size: 0.92rem;
  border-radius: 12px;
  padding: 0.9rem 1rem;
}

.form-ok.show,
.form-err.show {
  display: flex;
}

.form-ok {
  background: var(--lime-100);
  border: 1px solid #cfe6a4;
  color: var(--leaf-700);
}

.form-err {
  background: #fdecec;
  border: 1px solid #f3c7c7;
  color: #9c2b2b;
}

.form-ok svg,
.form-err svg {
  flex: none;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--leaf-900);
  color: rgba(255, 255, 255, 0.75);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 2.2rem;
  padding-block: 3.5rem 2.5rem;
}

.brand--footer .brand-name {
  color: var(--white);
}

.footer-brand p {
  max-width: 21rem;
  margin: 0.95rem 0 1.4rem;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.6);
}

.footer-col h4 {
  font-family: var(--ff-head);
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 1.1rem;
}

.footer-col ul {
  display: grid;
  gap: 0.6rem;
  list-style: none;
}

.footer-col a {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none;
  transition: color 0.2s ease, padding-left 0.2s ease;
}

.footer-col a:hover {
  color: var(--lime-300);
  padding-left: 4px;
}

.socials--footer .social {
  background: rgba(255, 255, 255, 0.08);
  border-color: transparent;
  color: var(--white);
}

.socials--footer .social:hover {
  background: var(--lime-500);
  color: var(--white);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-block: 1.3rem;
}

.footer-bottom-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.8rem;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
}

.footer-bottom-inner p {
  margin: 0;
}

.footer-made {
  color: rgba(255, 255, 255, 0.45);
}

/* ---------- Back to top ---------- */
.back-to-top {
  position: fixed;
  right: 1.4rem;
  bottom: 1.4rem;
  z-index: 60;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: none;
  border-radius: 50%;
  background: var(--grad-lime);
  color: var(--leaf-900);
  cursor: pointer;
  box-shadow: 0 14px 26px -12px rgba(110, 165, 31, 0.85);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.3s ease, transform 0.3s var(--ease-out), visibility 0.3s;
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.back-to-top:hover {
  transform: translateY(-3px);
}

/* ---------- Scroll reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s var(--ease-out);
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .hero-visual {
    max-width: 560px;
  }

  .hero-chip--a {
    left: 0.6rem;
  }

  .hero-chip--b {
    right: 0.6rem;
  }

  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 900px) {
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .plan--featured {
    transform: none;
  }

  .cta-band {
    grid-template-columns: 1fr;
  }

  .cta-art {
    max-width: 260px;
  }
}

@media (max-width: 820px) {
  .nav-links {
    display: none;
    position: absolute;
    top: calc(100% + 0px);
    right: 0;
    width: min(320px, 84vw);
    flex-direction: column;
    align-items: stretch;
    gap: 0.2rem;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 1rem;
    box-shadow: 0 30px 50px -28px rgba(20, 61, 38, 0.45);
  }

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

  .nav-links a {
    display: block;
    padding: 0.6rem 0.8rem;
    border-radius: 10px;
  }

  .nav-links a:hover {
    background: var(--mint-100);
  }

  .nav-links a::after {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .results-inner,
  .contact-inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .stats-band {
    grid-template-columns: 1fr 1fr;
  }

  .steps {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }

  .step::after {
    display: none;
  }
}

@media (max-width: 640px) {
  .header-cta {
    display: none;
  }

  .grid-3,
  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .stats-band {
    grid-template-columns: 1fr;
    gap: 1.4rem;
  }

  .hero-stats {
    gap: 1.5rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 1.8rem;
  }

  .footer-bottom-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .marquee-track {
    animation: none;
  }

  .hero-chip {
    animation: none;
  }

  .hero-bg img {
    transition: opacity 0.5s ease;
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
