/* ═══════════════════════════════════════════
   +RUMO — Premium Visual System
   ═══════════════════════════════════════════ */

:root {
  --green: #73bb6d;
  --green-dark: #4a9e42;
  --green-glow: rgba(115, 187, 109, 0.35);
  --dark: #1a1a1a;
  --dark-2: #111111;
  --accent: #ffffff;
  --accent-glow: rgba(255, 255, 255, 0.25);
  --bg: #fafcf9;
  --bg-dark: #0e1a0d;
  --panel: #ffffff;
  --text: #2a2a2a;
  --muted: #6b7b66;
  --line: #d8e5d4;
  --line-dark: rgba(115, 187, 109, 0.15);
  --radius: 16px;
  --radius-sm: 10px;
  --radius-xs: 6px;
  --transition: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: initial; /* Lenis handles smooth scroll */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: "Inter", -apple-system, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  overflow-x: hidden;
  cursor: none;
}

/* ─── Custom Cursor ─── */
.cursor { position: fixed; top: 0; left: 0; z-index: 9999; pointer-events: none; mix-blend-mode: difference; }
.cursor-dot {
  width: 8px; height: 8px;
  background: #fff;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.2s var(--ease-out), height 0.2s var(--ease-out), background 0.2s;
}
.cursor-ring {
  position: absolute; top: -16px; left: -16px;
  width: 40px; height: 40px;
  border: 1.5px solid rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  transition: width 0.35s var(--ease-out), height 0.35s var(--ease-out),
              top 0.35s var(--ease-out), left 0.35s var(--ease-out),
              border-color 0.35s, background 0.35s;
}
body.cursor-hover .cursor-dot { width: 0; height: 0; }
body.cursor-hover .cursor-ring {
  width: 64px; height: 64px; top: -28px; left: -28px;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(115, 187, 109, 0.6);
}

/* ─── Scroll Progress ─── */
.scroll-progress {
  position: fixed; top: 0; left: 0; z-index: 1000;
  height: 3px; width: 0%;
  background: linear-gradient(90deg, var(--green), var(--accent));
  transition: none;
}

/* ─── Noise Overlay ─── */
.noise-overlay {
  position: fixed; inset: 0; z-index: 9998;
  pointer-events: none;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 256px 256px;
}

/* ─── Typography ─── */
h1, h2, h3 {
  font-family: "Playfair Display", Georgia, serif;
  line-height: 1.12;
  color: var(--dark);
  letter-spacing: -0.02em;
}
h1 { font-size: clamp(2.8rem, 6.5vw, 5.4rem); font-weight: 700; }
h2 { font-size: clamp(2rem, 3.8vw, 3.2rem); font-weight: 600; }
h3 { font-size: clamp(1.15rem, 1.6vw, 1.4rem); font-weight: 600; }
h1 em { font-style: italic; color: var(--green-dark); white-space: nowrap; }
a { color: inherit; text-decoration: none; cursor: none; }
p { margin: 0 0 1rem; }
.accent { color: var(--green); white-space: nowrap; }
.optional { font-weight: 400; color: var(--muted); font-size: 0.85em; }

.container { width: min(1180px, 90vw); margin: 0 auto; }

/* Prevent mid-word line breaks */
h1, h2, h3, h4, .kicker, .hero-sub, .section-lead {
  word-break: normal;
  overflow-wrap: normal;
  hyphens: none;
}

/* ─── Buttons ─── */
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.9rem 1.8rem;
  border-radius: 60px;
  font-weight: 700; font-size: 0.92rem;
  border: 2px solid transparent;
  cursor: none;
  position: relative; overflow: hidden;
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
}
.btn::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at var(--x, 50%) var(--y, 50%),
              rgba(255,255,255,0.25) 0%, transparent 60%);
  opacity: 0; transition: opacity 0.4s;
}
.btn:hover::before { opacity: 1; }
.btn-primary {
  background: linear-gradient(135deg, var(--green) 0%, var(--green-dark) 100%);
  color: #fff;
  box-shadow: 0 4px 24px var(--green-glow), 0 1px 3px rgba(0,0,0,0.08);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 40px var(--green-glow), 0 2px 8px rgba(0,0,0,0.1);
}
.btn-lg { padding: 1.1rem 2.4rem; font-size: 1rem; }
.btn-ghost {
  background: transparent;
  border-color: var(--line);
  color: var(--dark);
}
.btn-ghost:hover {
  border-color: var(--green);
  background: rgba(115, 187, 109, 0.06);
  transform: translateY(-2px);
}
.btn-icon {
  display: inline-flex;
  transition: transform 0.3s var(--ease-out);
}
.btn:hover .btn-icon { transform: translateX(4px); }

/* ─── Header ─── */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 500;
  padding: 0.8rem 0;
  background: rgba(250, 252, 249, 0);
  backdrop-filter: blur(0px);
  border-bottom: 1px solid transparent;
  transition: background 0.5s, backdrop-filter 0.5s, border-color 0.5s, padding 0.4s;
}
.site-header.scrolled {
  background: rgba(250, 252, 249, 0.85);
  backdrop-filter: blur(20px) saturate(1.8);
  border-bottom-color: var(--line);
  padding: 0.5rem 0;
}
.nav-wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem;
}
.brand img { height: 42px; transition: transform 0.3s var(--ease-out); }
.brand:hover img { transform: scale(1.05); }
.nav-menu { display: flex; align-items: center; gap: 0.3rem; }
.nav-menu a {
  position: relative;
  font-size: 0.88rem; font-weight: 600;
  color: var(--muted);
  padding: 0.5rem 0.7rem;
  border-radius: 8px;
  transition: color 0.3s, background 0.3s;
}
.nav-menu a::after {
  content: ''; position: absolute;
  bottom: 2px; left: 50%; right: 50%;
  height: 2px; background: var(--green);
  transition: left 0.35s var(--ease-out), right 0.35s var(--ease-out);
}
.nav-menu a:hover, .nav-menu a.active { color: var(--dark); }
.nav-menu a:hover::after, .nav-menu a.active::after { left: 0.7rem; right: 0.7rem; }
.header-cta { font-size: 0.85rem; }
.menu-toggle {
  display: none; background: transparent;
  border: 0; width: 32px; height: 32px;
  position: relative; cursor: none;
}
.menu-toggle span {
  display: block; width: 100%; height: 2px;
  background: var(--dark); border-radius: 2px;
  margin-bottom: 6px;
  transition: transform 0.3s, opacity 0.3s;
}
.menu-toggle span:last-child { margin-bottom: 0; }

/* ─── Hero ─── */
.hero {
  position: relative;
  min-height: 100vh; display: flex; align-items: center;
  padding: 10rem 0 6rem;
  overflow: hidden;
}
.hero-bg-shapes { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.shape {
  position: absolute; border-radius: 50%;
  filter: blur(80px); opacity: 0.35;
}
.shape-1 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, var(--green-glow), transparent 70%);
  top: -10%; right: -5%;
}
.shape-2 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, var(--accent-glow), transparent 70%);
  bottom: -5%; left: 10%;
}
.shape-3 {
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(115, 187, 109, 0.15), transparent 70%);
  top: 40%; left: -8%;
}

/* Floating particles */
.hero-particles {
  position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 1;
}
.particle {
  position: absolute;
  border-radius: 50%;
  opacity: 0;
  animation: particleFloat 8s ease-in-out infinite;
}
.particle--dot {
  width: 6px; height: 6px;
  background: var(--green);
  box-shadow: 0 0 8px var(--green-glow);
}
.particle--ring {
  width: 18px; height: 18px;
  border: 2px solid rgba(255,255,255,0.35);
  background: transparent;
}
.particle--line {
  width: 30px; height: 2px;
  border-radius: 1px;
  background: rgba(115,187,109,0.4);
  box-shadow: 0 0 6px rgba(115,187,109,0.2);
}
@keyframes particleFloat {
  0%   { opacity: 0;   transform: translateY(40px) scale(0.5); }
  15%  { opacity: 0.85; }
  50%  { transform: translateY(0) scale(1); }
  85%  { opacity: 0.85; }
  100% { opacity: 0;   transform: translateY(-40px) scale(1.2); }
}
.hero-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 3rem;
  align-items: center;
  position: relative; z-index: 2;
}
.hero-content { max-width: 640px; }
.kicker {
  display: inline-flex; align-items: center; gap: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.14em; font-size: 0.75rem; font-weight: 800;
  color: var(--green-dark);
  margin-bottom: 1.2rem;
}
.kicker-line { width: 32px; height: 2px; background: var(--green); display: inline-block; }
.hero-sub {
  font-size: 1.18rem; color: var(--muted);
  max-width: 50ch; line-height: 1.75;
}
.hero-actions { display: flex; gap: 0.8rem; flex-wrap: wrap; margin-top: 2rem; }

/* Hero visual */
.hero-visual { position: relative; }
.hero-img-wrapper {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
}
.hero-img-wrapper img {
  width: 100%; height: 620px;
  object-fit: cover; display: block;
  object-position: top center;
  transition: transform 8s ease;
}
.hero-img-wrapper:hover img { transform: scale(1.03); }
.hero-img-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 50%,
              rgba(14, 26, 13, 0.4) 100%);
  pointer-events: none;
}

/* Floating elements */
.hero-float-card {
  position: absolute;
  bottom: -20px; left: -30px;
  max-width: 280px;
  padding: 1.2rem;
  animation: float 6s ease-in-out infinite;
}
.float-card-icon {
  font-size: 1.4rem; margin-bottom: 0.5rem;
  color: var(--accent);
}
.hero-float-card p {
  font-size: 0.88rem; margin: 0;
  line-height: 1.5;
  color: #fff;
}
.hero-float-badge {
  position: absolute;
  top: 20px; right: -20px;
  width: 80px; height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--green), var(--green-dark));
  color: #fff;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  box-shadow: 0 8px 30px var(--green-glow);
  animation: float 5s ease-in-out infinite reverse;
}
.hero-float-badge strong { font-size: 1.4rem; line-height: 1; }
.hero-float-badge span { font-size: 0.65rem; text-transform: uppercase; letter-spacing: 0.1em; }

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

/* Scroll hint */
.hero-scroll-hint {
  position: absolute; bottom: 2rem; left: 50%;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 0.5rem;
  color: var(--muted); font-size: 0.72rem; letter-spacing: 0.1em;
  text-transform: uppercase;
}
.scroll-line {
  width: 1px; height: 40px;
  background: linear-gradient(180deg, var(--green), transparent);
  animation: scroll-pulse 2s ease-in-out infinite;
}
@keyframes scroll-pulse {
  0%, 100% { opacity: 0.3; transform: scaleY(0.6); }
  50% { opacity: 1; transform: scaleY(1); }
}

/* ─── Glass Card ─── */
.glass-card {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(24px) saturate(1.4);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
}
.section-dark .glass-card { color: #e8f0e6; }

/* ─── Marquee ─── */
.marquee-section {
  padding: 1.2rem 0;
  background: var(--dark);
  overflow: hidden;
  border-top: 1px solid rgba(115, 187, 109, 0.2);
  border-bottom: 1px solid rgba(115, 187, 109, 0.2);
}
.marquee-section--reverse { background: var(--green); border-color: var(--green-dark); }
.marquee-track { overflow: hidden; position: relative; }
.marquee-content {
  display: flex; align-items: center; gap: 2rem;
  white-space: nowrap;
  animation: marquee 30s linear infinite;
  width: max-content;
}
.marquee-content--reverse { animation: marquee-reverse 28s linear infinite; }
.marquee-section span {
  font-size: 1rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.85);
}
.marquee-section--reverse span { color: var(--dark); }
.marquee-dot { font-size: 0.55rem; opacity: 0.4; }

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
@keyframes marquee-reverse {
  0% { transform: translateX(-50%); }
  100% { transform: translateX(0); }
}

/* ─── Sections ─── */
.section {
  position: relative;
  padding: 7rem 0;
  overflow: hidden;
}
.section-dark {
  background: var(--bg-dark);
  color: #d0ddc9;
}
.section-dark h2, .section-dark h3 { color: #f0f7ee; }
.section-dark .kicker { color: var(--green); }
.section-dark .kicker-line { background: var(--green); }

/* Decorative large text */
.section-deco-text {
  position: absolute;
  top: 50%; left: 0; right: 0;
  transform: translateY(-50%);
  text-align: center;
  font-family: "Playfair Display", serif;
  font-size: clamp(4rem, 10vw, 9rem);
  font-weight: 800;
  color: rgba(115, 187, 109, 0.08);
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
  z-index: 0;
  letter-spacing: 0.08em;
  overflow: hidden;
}
.section-dark .section-deco-text {
  color: rgba(115, 187, 109, 0.06);
}

.section-header-center { text-align: center; margin-bottom: 3rem; }
.section-header-center .kicker { justify-content: center; }
.section-title { margin-bottom: 1rem; }
.section-lead { max-width: 60ch; margin: 0 auto; color: var(--muted); font-size: 1.05rem; }
.section-dark .section-lead { color: #9aad94; }
.section-cta { text-align: center; margin-top: 2.5rem; }

/* Section Intro Split (header + image side by side) */
.section-intro-split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 3rem;
  align-items: center;
  margin-bottom: 3rem;
}
.section-intro-content .section-lead { margin: 0; }
.section-intro-image {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
}
.section-intro-image img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  object-position: top center;
  display: block;
  border-radius: 24px;
}

/* ─── Before/After Cards ─── */
.comparison-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}
.card-3d {
  perspective: 1000px;
  cursor: none;
}
.card-3d-inner {
  padding: 2rem;
  border-radius: var(--radius);
  border: 1px solid var(--line-dark);
  background: rgba(255, 255, 255, 0.04);
  position: relative;
  transition: transform 0.6s var(--ease-out), box-shadow 0.4s;
  transform-style: preserve-3d;
}
.card-3d:hover .card-3d-inner {
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}
.card-3d--green .card-3d-inner {
  border-color: rgba(115, 187, 109, 0.3);
  background: rgba(115, 187, 109, 0.06);
}
.card-label {
  display: inline-block;
  padding: 0.3rem 1rem;
  border-radius: 60px;
  font-size: 0.72rem; font-weight: 800;
  text-transform: uppercase; letter-spacing: 0.1em;
  margin-bottom: 1rem;
}
.card-label--before { background: rgba(255, 255, 255, 0.06); color: #8a9484; }
.card-label--after { background: var(--green); color: #fff; }

.icon-list { list-style: none; }
.icon-list li {
  padding: 0.6rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  display: flex; align-items: flex-start; gap: 0.7rem;
  font-size: 0.95rem;
}
.icon-list li:last-child { border-bottom: 0; }
.icon-list--compact li { padding: 0.4rem 0; font-size: 0.9rem; }
.icon-x {
  display: inline-flex; align-items: center; justify-content: center;
  width: 22px; height: 22px; flex-shrink: 0;
  border-radius: 50%; background: rgba(220, 70, 70, 0.15);
  color: #dc4646; font-size: 0.7rem; font-weight: 900;
}
.icon-check {
  display: inline-flex; align-items: center; justify-content: center;
  width: 22px; height: 22px; flex-shrink: 0;
  border-radius: 50%; background: rgba(115, 187, 109, 0.2);
  color: var(--green); font-size: 0.7rem; font-weight: 900;
}

/* ─── Stats Band ─── */
.stats-band {
  background: linear-gradient(135deg, var(--bg-dark) 0%, #1e2e1c 100%);
  padding: 5rem 0;
  position: relative;
  overflow: hidden;
}
.stats-band::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 30% 50%, var(--green-glow), transparent 60%);
  pointer-events: none;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  position: relative; z-index: 2;
}
.stat-item {
  text-align: center;
  padding: 2rem;
  border-radius: var(--radius);
  border: 1px solid rgba(115, 187, 109, 0.15);
  background: rgba(255, 255, 255, 0.03);
  transition: transform 0.4s var(--ease-out), border-color 0.4s;
}
.stat-item:hover {
  transform: translateY(-6px);
  border-color: var(--green);
}
.stat-item .counter {
  display: block;
  font-family: "Playfair Display", serif;
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  color: var(--green);
  line-height: 1;
  margin-bottom: 0.5rem;
}
.stat-item .counter::after {
  content: '+';
  display: inline-block;
  opacity: 0;
  transform: scale(0.3);
  transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.34,1.56,0.64,1);
}
.stat-item .counter.counted::after {
  opacity: 1;
  transform: scale(1);
}
.stat-item span {
  font-size: 0.88rem; font-weight: 600;
  color: #9aad94;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ─── Split Layout ─── */
.split-layout {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3rem;
  align-items: center;
}
.split-layout--reverse { direction: rtl; }
.split-layout--reverse > * { direction: ltr; }

.split-image {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
}
.split-image img {
  width: 100%; height: 620px;
  object-fit: cover; display: block;
  object-position: top center;
}

.pull-quote {
  position: relative;
  padding: 1.2rem 1.5rem;
  margin: 1.5rem 0;
  font-style: italic;
  font-size: 1.05rem;
  color: var(--muted);
  border-left: 3px solid var(--green);
  background: rgba(115, 187, 109, 0.04);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}
.quote-mark {
  font-family: "Playfair Display", serif;
  font-size: 3rem; color: var(--green);
  line-height: 1; position: absolute;
  top: -8px; left: 10px; opacity: 0.3;
}

.pillars-row { display: flex; gap: 0.6rem; flex-wrap: wrap; margin: 1rem 0; }
.pillar-chip {
  display: inline-flex; align-items: center; gap: 0.4rem;
  padding: 0.5rem 1rem;
  border-radius: 60px;
  background: rgba(115, 187, 109, 0.08);
  border: 1px solid rgba(115, 187, 109, 0.18);
  font-size: 0.85rem; font-weight: 600;
  transition: transform 0.3s var(--ease-out), background 0.3s;
}
.pillar-chip:hover {
  transform: translateY(-3px);
  background: rgba(115, 187, 109, 0.14);
}

.link-arrow {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-weight: 700; font-size: 0.95rem;
  color: var(--green-dark);
  position: relative;
}
.link-arrow::after {
  content: ''; position: absolute;
  bottom: -2px; left: 0; right: 0;
  height: 2px; background: var(--green);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.4s var(--ease-out);
}
.link-arrow:hover::after { transform: scaleX(1); }
.arrow-icon { transition: transform 0.3s var(--ease-out); }
.link-arrow:hover .arrow-icon,
.card-link:hover .arrow-icon { transform: translateX(5px); }

/* ─── Method Grid ─── */
.method-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.2rem;
  margin-top: 2rem;
  align-items: stretch;
}
.method-card {
  padding: 1.8rem 1.4rem;
  border-radius: var(--radius);
  border: 1px solid rgba(115, 187, 109, 0.12);
  background: rgba(255, 255, 255, 0.03);
  position: relative;
  display: flex; flex-direction: column;
  transition: transform 0.5s var(--ease-out), box-shadow 0.4s, border-color 0.4s;
  transform-style: preserve-3d;
  perspective: 800px;
}
.method-card:hover {
  transform: translateY(-8px);
  border-color: var(--green);
  box-shadow: 0 20px 60px rgba(115, 187, 109, 0.12);
}
/* All cards same height — no spanning */
.method-card--accent {
  background: linear-gradient(145deg, rgba(115, 187, 109, 0.06), rgba(115, 187, 109, 0.02));
}
.method-number {
  font-family: "Playfair Display", serif;
  font-size: 2.4rem; font-weight: 800;
  color: var(--green);
  opacity: 0.3;
  line-height: 1;
  margin-bottom: 0.8rem;
}
.method-card h3 { margin-bottom: 0.6rem; }
.method-card p { font-size: 0.9rem; color: #9aad94; margin: 0; }
.method-card .icon-list { margin-top: 0.4rem; }
.method-card .icon-list--compact li { font-size: 0.82rem; padding: 0.3rem 0; }

/* ─── Showcase Cards (services) ─── */
.services-showcase {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
  align-items: stretch;
}
#caminhos .services-showcase {
  grid-template-columns: repeat(2, 1fr);
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
}
.showcase-card {
  padding: 2rem;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--panel);
  position: relative;
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform 0.5s var(--ease-out), box-shadow 0.5s, border-color 0.4s ease;
  transform-style: preserve-3d;
}
.showcase-card::after {
  content: '';
  position: absolute; inset: -1px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--green), var(--accent), var(--green));
  background-size: 200% 200%;
  z-index: -1;
  opacity: 0;
  transition: opacity 0.4s ease;
}
.showcase-card:hover {
  border-color: transparent;
}
.showcase-card:hover::after {
  opacity: 1;
  animation: gradientShift 3s ease infinite;
}
.card-3d-inner,
.glow-card,
.feature-item,
.testimonial-slide {
  position: relative;
}
.card-3d:hover .card-3d-inner,
.glow-card:hover,
.feature-item:hover,
.testimonial-slide:hover {
  border-color: transparent;
  box-shadow: 0 0 0 1px var(--green), 0 20px 60px rgba(0,0,0,0.1);
}
@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
.showcase-card::before {
  content: ''; position: absolute;
  top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--green), var(--accent));
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.5s var(--ease-out);
}
.showcase-card:hover::before { transform: scaleX(1); }
.showcase-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.08);
}
.showcase-icon {
  font-size: 2rem; margin-bottom: 1rem;
  display: inline-block;
  transition: transform 0.4s var(--ease-out);
}
.showcase-card:hover .showcase-icon { transform: scale(1.2) rotate(-5deg); }
.showcase-card h3 { margin-bottom: 0.5rem; }
.showcase-card p { font-size: 0.92rem; color: var(--muted); }
.card-link {
  display: inline-flex; align-items: center; gap: 0.4rem;
  margin-top: auto;
  padding-top: 1rem;
  font-weight: 700; font-size: 0.88rem;
  color: var(--green-dark);
  transition: color 0.3s;
}
.card-link:hover { color: var(--green); }

/* Dark section showcase cards */
.section-dark .showcase-card {
  background: rgba(255, 255, 255, 0.03);
  border-color: rgba(115, 187, 109, 0.12);
}
.section-dark .showcase-card p { color: #9aad94; }

/* ─── ACAPORAMA ─── */
.acaporama-block {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 1.5rem;
  margin-top: 3rem;
}
.acaporama-content {
  padding: 1.5rem;
  border-radius: var(--radius);
  background: var(--panel);
  border: 1px solid var(--line);
}
.acaporama-logo { max-width: 160px; margin-bottom: 1rem; }
.acaporama-content p { font-size: 0.92rem; color: var(--muted); }
.acaporama-quote {
  border-left: 3px solid var(--green);
  padding-left: 1rem;
  font-style: italic;
  margin-top: 1rem;
}
.acaporama-stage {
  width: 100%; border-radius: var(--radius-sm);
  margin-top: 0.5rem;
}
.acaporama-video-wrap {
  position: relative; border-radius: var(--radius);
  overflow: hidden;
}
.acaporama-video-wrap video {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
}
.video-glow {
  position: absolute; inset: -20%; z-index: -1;
  background: radial-gradient(circle, var(--green-glow), transparent 60%);
  filter: blur(40px);
  opacity: 0;
  transition: opacity 0.6s;
}
.acaporama-video-wrap:hover .video-glow { opacity: 1; }

/* ─── Form ─── */
.guide-cover {
  max-width: 240px;
  margin-bottom: 1.5rem;
  filter: drop-shadow(0 8px 24px rgba(0,0,0,0.2));
  border-radius: var(--radius-sm);
}
.contact-photo {
  width: 120px; height: 120px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 1rem;
  border: 3px solid var(--green);
  box-shadow: 0 8px 30px var(--green-glow);
}
.split-form { position: relative; }
.form-card {
  padding: 2rem;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--panel);
}
.section-dark .form-card {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(115, 187, 109, 0.15);
}
.form-card h3 { margin-bottom: 1.2rem; }
form { display: grid; gap: 1rem; }
.form-group { display: grid; gap: 0.35rem; }
label { font-size: 0.82rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; }
input, textarea {
  width: 100%; padding: 0.85rem 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  font: inherit; font-size: 0.92rem;
  background: var(--bg);
  transition: border-color 0.3s, box-shadow 0.3s;
  cursor: none;
}
.section-dark input, .section-dark textarea {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(115, 187, 109, 0.15);
  color: #e8f0e6;
}
input:focus, textarea:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 3px var(--green-glow);
}
input::placeholder, textarea::placeholder { color: #aaa; }

/* ─── Testimonials ─── */
.testimonial-carousel { margin-top: 2rem; }
.testimonial-viewport {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--panel);
}
.testimonial-track {
  display: flex;
  transition: transform 0.65s var(--ease-out);
}
.testimonial-slide {
  min-width: 100%;
  padding: 3rem;
  position: relative;
}
.testimonial-quote-mark {
  font-family: "Playfair Display", serif;
  font-size: 5rem; color: var(--green);
  opacity: 0.15; line-height: 1;
  position: absolute; top: 0.5rem; left: 2rem;
}
.testimonial-text {
  font-family: "Playfair Display", serif;
  font-size: 1.4rem; font-style: italic;
  line-height: 1.5;
  margin-bottom: 1.5rem;
  color: var(--dark);
}
.testimonial-author {
  display: flex; align-items: center; gap: 0.8rem;
}
.author-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--green), var(--green-dark));
  color: #fff; font-weight: 800; font-size: 0.78rem;
  display: flex; align-items: center; justify-content: center;
}
.testimonial-author strong { display: block; font-size: 0.92rem; }
.testimonial-author span { font-size: 0.8rem; color: var(--muted); }

.carousel-controls {
  display: flex; align-items: center; justify-content: center;
  gap: 1rem; margin-top: 1.2rem;
}
.carousel-btn {
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--panel);
  display: flex; align-items: center; justify-content: center;
  cursor: none;
  transition: background 0.3s, border-color 0.3s, transform 0.3s;
}
.carousel-btn:hover {
  background: var(--green);
  border-color: var(--green);
  color: #fff;
  transform: scale(1.1);
}
.carousel-dots { display: flex; gap: 0.4rem; }
.carousel-dots .dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--line);
  transition: background 0.3s, transform 0.3s;
  cursor: none;
}
.carousel-dots .dot.active {
  background: var(--green);
  transform: scale(1.3);
}

/* ─── Contact ─── */
.contact-section-centered {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.contact-section-centered .kicker { justify-content: center; }
.contact-section-centered .contact-links { align-items: center; }
.contact-section-centered .contact-form-wrap {
  width: 100%;
  max-width: 520px;
  margin-top: 2.5rem;
}
.contact-links { display: grid; gap: 0.6rem; margin-top: 1rem; }
.contact-pill {
  display: flex; align-items: center; gap: 0.7rem;
  padding: 0.9rem 1.2rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--panel);
  font-weight: 600; font-size: 0.92rem;
  transition: transform 0.3s var(--ease-out), border-color 0.3s, box-shadow 0.3s;
}
.contact-pill:hover {
  transform: translateX(6px);
  border-color: var(--green);
  box-shadow: 0 4px 20px rgba(115, 187, 109, 0.1);
}
.contact-icon { font-size: 1.2rem; }

/* ─── Footer ─── */
.site-footer {
  background: var(--dark);
  color: #b0c4ac;
  padding-top: 3rem;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr auto;
  gap: 2rem; align-items: center;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.footer-brand img { max-height: 48px; margin-bottom: 0.8rem; opacity: 0.8; }
.footer-brand p { font-size: 0.88rem; max-width: 36ch; color: #7a8e76; }
.footer-links { display: flex; gap: 1.2rem; }
.footer-links a {
  font-size: 0.88rem; font-weight: 600;
  color: #7a8e76;
  transition: color 0.3s;
}
.footer-links a:hover { color: var(--green); }
.footer-top-btn { font-size: 0.85rem; }
.footer-bottom {
  padding: 1.2rem 0;
  text-align: center; font-size: 0.78rem; color: #5a6d56;
}

/* Section wave dividers */
.section-wave {
  position: relative;
  z-index: 3;
  display: block;
  width: 100%;
  height: auto;
  margin: -2px 0;
  line-height: 0;
  background: var(--bg);
}
.section-wave svg {
  width: 100%;
  height: 60px;
  display: block;
}
.section-wave--flip {
  background: var(--bg-dark);
}
.section-wave--flip svg {
  transform: scaleY(-1);
}
.section-wave--dark {
  background: var(--bg-dark);
}
.section-wave--dark svg {
  transform: scaleX(-1);
}
.section-wave--bottom {
  background: var(--bg);
}
.section-wave--bottom svg {
  transform: scaleY(-1);
  transform-origin: center;
}

/* ─── Developer Credit ─── */
.dev-credit {
  text-align: center;
  padding: 0.6rem 0;
  font-size: 0.68rem;
  color: #3d4f3a;
  letter-spacing: 0.03em;
}
.dev-credit a {
  color: #5a6d56;
  text-decoration: none;
  transition: color 0.3s;
}
.dev-credit a:hover {
  color: var(--green);
}

/* Testimonial progress bar */
.carousel-progress {
  width: 100%;
  height: 2px;
  background: rgba(115,187,109,0.15);
  border-radius: 1px;
  margin-top: 1rem;
  overflow: hidden;
}
.carousel-progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--green), var(--accent));
  border-radius: 1px;
  transition: width 0.1s linear;
}
.testimonial-carousel:hover .carousel-progress-bar {
  animation-play-state: paused;
}

/* ─── Exit Popup ─── */
.popup-backdrop {
  position: fixed; inset: 0; z-index: 9000;
  display: none; align-items: center; justify-content: center;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(8px);
  padding: 1rem;
}
.popup-backdrop.show { display: flex; }
.popup {
  width: min(500px, 92vw);
  padding: 2rem;
  position: relative;
  text-align: center;
}
.popup-close {
  position: absolute; top: 1rem; right: 1rem;
  background: transparent; border: 0;
  font-size: 1.2rem; color: #fff;
  cursor: none;
  width: 32px; height: 32px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.3s;
}
.popup-close:hover { background: rgba(255, 255, 255, 0.1); }
.popup-content h3 { color: #fff; margin-bottom: 0.4rem; }
.popup-content p { color: #b0c4ac; margin-bottom: 1.2rem; }
.popup-icon { font-size: 2.5rem; margin-bottom: 1rem; }

/* ─── Reveal Animations ─── */
[data-reveal] {
  opacity: 0;
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out),
              clip-path 1s var(--ease-out);
}
[data-reveal].visible { opacity: 1; }

[data-reveal="slide-up"] { transform: translateY(40px); }
[data-reveal="slide-up"].visible { transform: translateY(0); }

[data-reveal="slide-left"] { transform: translateX(-60px); }
[data-reveal="slide-left"].visible { transform: translateX(0); }

[data-reveal="slide-right"] { transform: translateX(60px); }
[data-reveal="slide-right"].visible { transform: translateX(0); }

[data-reveal="scale"] { transform: scale(0.92); }
[data-reveal="scale"].visible { transform: scale(1); }

[data-reveal="fade"] { transform: none; }

[data-reveal="clip-left"] {
  clip-path: inset(0 100% 0 0);
  transform: none;
}
[data-reveal="clip-left"].visible {
  clip-path: inset(0 0 0 0);
}

/* Character reveal (handled by JS) */
[data-reveal="chars"] .char {
  display: inline-block;
  opacity: 0;
  transform: translateY(30px) rotate(3deg);
  transition: opacity 0.5s var(--ease-out), transform 0.5s var(--ease-out);
}
[data-reveal="chars"].visible .char {
  opacity: 1;
  transform: translateY(0) rotate(0);
}

/* ─── Media queries ─── */
@media (max-width: 1100px) {
  .method-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 900px) {
  .cursor { display: none; }
  body { cursor: auto; }
  a, button, input, textarea { cursor: auto; }

  .hero-grid,
  .split-layout,
  .comparison-grid,
  .services-showcase,
  .stats-grid,
  .acaporama-block,
  .section-intro-split,
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .split-layout--reverse { direction: ltr; }

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

  .hero { min-height: auto; padding: 7rem 0 3rem; }
  .hero-visual { max-width: 500px; margin: 0 auto; }
  .hero-float-card { position: relative; bottom: auto; left: auto; max-width: 100%; margin-top: 1rem; background: rgba(14, 26, 13, 0.85); }
  .hero-float-badge { position: absolute; }
  .hero-scroll-hint { display: none; }

  .section { padding: 4rem 0; }
  .section-deco-text { font-size: clamp(2.5rem, 8vw, 4.5rem); }

  .menu-toggle { display: block; }
  .header-cta { display: none; }
  .nav-menu {
    display: none;
    position: absolute; top: 100%; left: 0; right: 0;
    background: rgba(250, 252, 249, 0.97);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    padding: 1rem;
  }
  .nav-menu.open { display: flex; }
  .nav-menu a { padding: 0.7rem 0.5rem; font-size: 1rem; }
}

@media (max-width: 600px) {
  .method-grid { grid-template-columns: 1fr; }
  h1 { font-size: clamp(2rem, 8vw, 2.8rem); }
  .testimonial-slide { padding: 2rem 1.5rem; }
  .testimonial-text { font-size: 1.15rem; }
  .stats-grid { gap: 1rem; }
  .stat-item .counter { font-size: 2.2rem; }
}

/* ─── Selection ─── */
::selection {
  background: rgba(115, 187, 109, 0.25);
  color: var(--dark);
}

/* ─── Scrollbar ─── */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb {
  background: var(--green);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover { background: var(--green-dark); }

/* ─── Page Loader ─── */
.page-loader {
  position: fixed; inset: 0; z-index: 99999;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  background: var(--bg-dark);
  transition: opacity 0.6s ease, visibility 0.6s;
}
.page-loader.loaded {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.loader-logo {
  max-height: 60px;
  animation: loaderPulse 1.4s ease-in-out infinite;
}
.loader-bar-track {
  width: 120px; height: 2px;
  background: rgba(115,187,109,0.15);
  border-radius: 2px;
  margin-top: 1.5rem;
  overflow: hidden;
}
.loader-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--green), var(--accent));
  border-radius: 2px;
  transition: width 0.3s ease;
}
@keyframes loaderPulse {
  0%,100% { opacity: 0.5; transform: scale(0.96); }
  50%     { opacity: 1;   transform: scale(1);     }
}

/* ─── Animated Gradient Backgrounds ─── */
.animated-gradient-bg {
  position: absolute; inset: 0; z-index: 0;
  overflow: hidden; pointer-events: none;
}
.gradient-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.3;
  animation: orbFloat 20s ease-in-out infinite alternate;
}
.gradient-orb--1 {
  width: 50vw; height: 50vw; max-width: 700px; max-height: 700px;
  background: radial-gradient(circle, var(--green-glow), transparent 70%);
  top: -20%; right: -10%;
  animation-delay: 0s;
}
.gradient-orb--2 {
  width: 40vw; height: 40vw; max-width: 500px; max-height: 500px;
  background: radial-gradient(circle, var(--accent-glow), transparent 70%);
  bottom: -15%; left: -5%;
  animation-delay: -7s;
}
.gradient-orb--3 {
  width: 30vw; height: 30vw; max-width: 400px; max-height: 400px;
  background: radial-gradient(circle, rgba(115,187,109,0.12), transparent 70%);
  top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  animation-delay: -14s;
}
@keyframes orbFloat {
  0%   { transform: translate(0, 0) scale(1);    }
  33%  { transform: translate(30px, -40px) scale(1.1); }
  66%  { transform: translate(-20px, 20px) scale(0.95); }
  100% { transform: translate(15px, -10px) scale(1.05); }
}

/* ─── Subpage Full-Width Hero ─── */
.subpage-hero-full {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  padding: 0;
}
.subpage-hero-full .hero-bg-image {
  position: absolute; inset: 0; z-index: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 12s ease;
}
.subpage-hero-full:hover .hero-bg-image {
  transform: scale(1.04);
}
.subpage-hero-full .hero-overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg,
    rgba(14,26,13,0.2) 0%,
    rgba(14,26,13,0.55) 50%,
    rgba(14,26,13,0.9) 100%);
  pointer-events: none;
}
.subpage-hero-full .hero-content-overlay {
  position: relative; z-index: 2;
  width: 100%;
  padding: 10rem 0 4rem;
}
.subpage-hero-full .hero-content-overlay .container {
  position: relative;
}
.subpage-hero-full .kicker { color: var(--green); }
.subpage-hero-full h1 {
  color: #f0f7ee;
  margin-bottom: 1rem;
}
.subpage-hero-full .hero-sub {
  color: #c8d8c4;
  max-width: 55ch;
}

/* ─── Subpage Styles ─── */
.subpage-content {
  max-width: 800px;
  margin: 0 auto;
  font-size: 1.08rem;
  line-height: 1.85;
}
.subpage-content p {
  margin-bottom: 1.5rem;
  color: var(--text);
}
.section-dark .subpage-content p {
  color: #c8d8c4;
}
.subpage-content h2 {
  margin-bottom: 1rem;
}
.subpage-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
}
.section-dark .subpage-actions {
  border-top-color: var(--line-dark);
}

/* ─── Subpage Hover Effect ─── */
.subpage-content p,
.subpage-content h2,
.subpage-content h3,
.subpage-content blockquote,
.subpage-content li {
  transition: color 0.3s ease, opacity 0.3s ease;
  cursor: default;
}
.subpage-content p:hover,
.subpage-content li:hover {
  color: var(--green-dark);
}
.subpage-content h2:hover,
.subpage-content h3:hover {
  color: var(--green);
}
.subpage-content blockquote:hover {
  color: var(--green-dark);
}
.section-dark .subpage-content p:hover,
.section-dark .subpage-content li:hover {
  color: var(--green);
}
.section-dark .subpage-content h2:hover,
.section-dark .subpage-content h3:hover {
  color: var(--accent);
}
.section-dark .subpage-content blockquote:hover {
  color: var(--green);
}

.feature-item,
.glow-card,
.hscroll-card,
.showcase-card {
  transition: transform 0.5s var(--ease-out), box-shadow 0.5s, filter 0.4s ease;
}
.feature-item:hover,
.glow-card:hover,
.showcase-card:hover {
  filter: brightness(1.08);
}

/* ─── Horizontal Scroll Section ─── */
.horizontal-scroll-wrapper {
  position: relative;
  overflow: hidden;
}
.horizontal-scroll-track {
  display: flex;
  gap: 2rem;
  padding: 2rem 0;
  will-change: transform;
}
.horizontal-scroll-track .hscroll-card {
  flex: 0 0 min(380px, 80vw);
  padding: 2.5rem 2rem;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--panel);
  position: relative;
  overflow: hidden;
  transition: transform 0.5s var(--ease-out), box-shadow 0.5s;
}
.hscroll-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 80px rgba(0,0,0,0.08);
}
.section-dark .hscroll-card {
  background: rgba(255,255,255,0.04);
  border-color: rgba(115,187,109,0.12);
}
.hscroll-card .card-number {
  font-family: "Playfair Display", serif;
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--green);
  opacity: 0.15;
  line-height: 1;
  margin-bottom: 0.8rem;
}
.hscroll-card h3 { margin-bottom: 0.6rem; }
.hscroll-card p { font-size: 0.92rem; color: var(--muted); margin: 0; }
.section-dark .hscroll-card p { color: #9aad94; }

.horizontal-scroll-hint {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  justify-content: center;
  margin-top: 1rem;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.scroll-hint-arrow {
  animation: hscrollHint 1.5s ease-in-out infinite;
}
@keyframes hscrollHint {
  0%,100% { transform: translateX(0); }
  50%     { transform: translateX(8px); }
}

/* ─── Image Reveal Effects ─── */
[data-reveal="image-clip"] {
  clip-path: inset(0 0 100% 0);
  opacity: 1 !important;
  transform: none !important;
  transition: clip-path 1.2s var(--ease-out);
}
[data-reveal="image-clip"].visible {
  clip-path: inset(0 0 0% 0);
}

[data-reveal="image-scale"] {
  transform: scale(1.15);
  opacity: 0;
  filter: blur(4px);
  transition: transform 1.4s var(--ease-out), opacity 1s var(--ease-out), filter 1s var(--ease-out);
}
[data-reveal="image-scale"].visible {
  transform: scale(1);
  opacity: 1;
  filter: blur(0);
}

.image-reveal-wrap {
  overflow: hidden;
  border-radius: 24px;
}
.image-reveal-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}

/* ─── Enhanced Micro-interactions ─── */
.btn-ripple {
  position: relative;
  overflow: hidden;
}
.btn-ripple .ripple-circle {
  position: absolute;
  border-radius: 50%;
  transform: scale(0);
  background: rgba(255,255,255,0.3);
  pointer-events: none;
  animation: rippleEffect 0.6s ease-out forwards;
}
@keyframes rippleEffect {
  to { transform: scale(4); opacity: 0; }
}

/* Card glow on hover */
.glow-card {
  position: relative;
}
.glow-card::after {
  content: '';
  position: absolute; inset: -1px;
  border-radius: inherit;
  background: linear-gradient(135deg, var(--green-glow), var(--accent-glow));
  opacity: 0;
  z-index: -1;
  filter: blur(20px);
  transition: opacity 0.5s;
}
.glow-card:hover::after {
  opacity: 1;
}

/* Text gradient effect */
.text-gradient {
  color: var(--green-dark);
  background: linear-gradient(135deg, var(--green-dark) 0%, var(--green) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Floating badges */
.floating-badge {
  display: inline-flex;
  align-items: center; gap: 0.4rem;
  padding: 0.5rem 1rem;
  border-radius: 60px;
  background: rgba(115,187,109,0.1);
  border: 1px solid rgba(115,187,109,0.2);
  font-size: 0.8rem; font-weight: 700;
  color: var(--green);
  animation: float 6s ease-in-out infinite;
}

/* Section divider */
.section-divider {
  width: 60px; height: 3px;
  background: linear-gradient(90deg, var(--green), var(--accent));
  margin: 0 auto 2rem;
  border-radius: 3px;
}
.section-divider--left {
  margin-left: 0;
}

/* ─── Subpage Dark Header Override ─── */
.header-dark .brand img {
  filter: brightness(0) invert(1);
}

/* ─── Feature List (subpages) ─── */
.feature-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin: 2rem 0;
}
.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.2rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: var(--panel);
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s;
}
.feature-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.06);
}
.section-dark .feature-item {
  background: rgba(255,255,255,0.04);
  border-color: rgba(115,187,109,0.12);
}
.feature-icon {
  font-size: 1.4rem;
  flex-shrink: 0;
  width: 44px; height: 44px;
  display: flex;
  align-items: center; justify-content: center;
  border-radius: 12px;
  background: rgba(115,187,109,0.1);
}
.feature-item h4 {
  font-family: "Inter", sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 0.3rem;
  color: var(--dark);
}
.section-dark .feature-item h4 {
  color: #f0f7ee;
}
.feature-item p {
  font-size: 0.88rem;
  color: var(--muted);
  margin: 0;
}
.section-dark .feature-item p { color: #9aad94; }

/* ─── Timeline Style ─── */
.timeline {
  position: relative;
  padding-left: 2rem;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--green), var(--accent));
}
.timeline-item {
  position: relative;
  padding-bottom: 2rem;
  padding-left: 1.5rem;
}
.timeline-item::before {
  content: '';
  position: absolute;
  left: -2rem; top: 0.5rem;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--green);
  border: 3px solid var(--bg);
  margin-left: -5px;
}
.section-dark .timeline-item::before {
  border-color: var(--bg-dark);
}

/* ─── Responsive additions ─── */
@media (max-width: 900px) {
  .subpage-hero-full { min-height: 50vh; }
  .subpage-hero-full .hero-content-overlay { padding: 7rem 0 3rem; }
  .feature-list { grid-template-columns: 1fr; }
  .horizontal-scroll-track { padding: 1rem 0; }
}
@media (max-width: 600px) {
  .subpage-hero-full { min-height: 45vh; }
}
