/* ============================================
   TNV — Dark Minimal Design System
   Inspired by Framer aesthetic
   ============================================ */

/* --- CSS Custom Properties (Tokens) --- */
:root {
  /* Colors — Dark Palette */
  --bg:              #000000;
  --bg-card:         #0d0d0d;
  --bg-elevated:     #111111;
  --border:          #191919;
  --border-light:    #222222;
  --text-primary:    #ffffff;
  --text-secondary:  #999999;
  --text-muted:      #666666;
  --text-subtle:     #444444;
  --accent:          #10B981;
  --accent-dark:     #059669;
  --accent-light:    #34D399;
  --accent-bg:       rgba(16, 185, 129, 0.08);
  --accent-bg-strong:rgba(16, 185, 129, 0.15);
  --accent-glow:     0 0 20px rgba(16, 185, 129, 0.25);
  --accent-glow-lg:  0 0 40px rgba(16, 185, 129, 0.15), 0 0 80px rgba(16, 185, 129, 0.08);
  --whatsapp:        #25D366;

  /* Typography */
  --font-main:       'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  /* Spacing */
  --section-pad-y:   100px;
  --section-pad-y-m: 64px;
  --container:       960px;
  --gap:             20px;
  --gap-m:           16px;
  --gap-s:           10px;

  /* Radius */
  --radius:          20px;
  --radius-s:        12px;
  --radius-xs:       8px;
  --radius-pill:     100px;

  /* Transitions */
  --ease:            200ms ease;
  --ease-slow:       400ms ease;
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-main);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-secondary);
  background: var(--bg);
}

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

a {
  color: inherit;
  text-decoration: none;
}

ul, ol {
  list-style: none;
}

/* --- Typography --- */
h1, h2, h3, h4 {
  font-family: var(--font-main);
  color: var(--text-primary);
  line-height: 1.15;
  letter-spacing: -0.04em;
}

h1 {
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 600;
}

h2 {
  font-size: clamp(26px, 4vw, 40px);
  font-weight: 600;
}

h3 {
  font-size: 22px;
  font-weight: 600;
}

h4 {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

p {
  margin-bottom: 16px;
}

p:last-child {
  margin-bottom: 0;
}

/* --- Layout --- */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: var(--section-pad-y) 0;
  border-top: 1px solid var(--border);
  position: relative;
}

.section:first-of-type {
  border-top: none;
}

/* Subtle green glow at section top borders */
.section::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 50%;
  transform: translateX(-50%);
  width: 200px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0.3;
}

.section:first-of-type::before {
  display: none;
}

/* Eyebrow label */
.eyebrow {
  display: inline-block;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}

/* Section header */
.section-header {
  max-width: 680px;
  margin-bottom: 48px;
}

.section-header.centered {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.section-header p {
  margin-top: 16px;
  font-size: 17px;
  color: var(--text-secondary);
  text-wrap: balance;
}

/* Large section header variant */
.section-header--lg h2 {
  font-size: clamp(30px, 5vw, 48px);
}

/* Highlighted section background */
.section--highlight {
  background: var(--bg-card);
}

/* Grids */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--gap);
}

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

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--gap);
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-main);
  font-size: 14px;
  font-weight: 500;
  padding: 10px 20px;
  border-radius: var(--radius-pill);
  border: none;
  cursor: pointer;
  transition: all var(--ease);
  text-decoration: none;
  line-height: 1.4;
  white-space: nowrap;
}

.btn--primary {
  background: var(--accent);
  color: #fff;
}

.btn--primary:hover {
  background: var(--accent-light);
  transform: translateY(-1px);
  box-shadow: var(--accent-glow);
}

.btn--primary:active {
  background: var(--accent-dark);
  transform: translateY(0);
  box-shadow: none;
}

.btn--ghost {
  background: var(--bg-card);
  color: var(--text-primary);
  border: 1px solid var(--border-light);
}

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

.btn--ghost-light {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border-light);
}

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

.btn--sm {
  font-size: 13px;
  padding: 8px 16px;
}

.btn--lg {
  font-size: 15px;
  padding: 14px 28px;
}

.btn-group {
  display: flex;
  gap: var(--gap-s);
  flex-wrap: wrap;
}

/* Link CTA */
.link-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--accent);
  font-size: 14px;
  font-weight: 500;
  transition: all var(--ease);
}

.link-cta:hover {
  color: var(--accent-light);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.link-cta svg {
  width: 16px;
  height: 16px;
  transition: transform var(--ease);
}

.link-cta:hover svg {
  transform: translateX(3px);
}

/* --- Navigation --- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 16px 0;
  transition: all var(--ease-slow);
}

.nav.transparent {
  background: transparent;
}

.nav.scrolled {
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav__logo-img {
  height: 32px;
  width: auto;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav__link {
  font-size: 14px;
  font-weight: 400;
  color: var(--text-secondary);
  transition: color var(--ease);
}

.nav__link:hover {
  color: var(--accent);
}

.nav__cta {
  margin-left: 8px;
}

/* Hamburger */
.nav__hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav__hamburger span {
  display: block;
  width: 22px;
  height: 1.5px;
  margin: 5px 0;
  background: var(--text-primary);
  transition: all var(--ease);
}

/* Mobile nav overlay */
.nav__mobile {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--bg);
  z-index: 99;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
}

.nav__mobile.active {
  display: flex;
}

.nav__mobile a {
  color: var(--text-primary);
  font-size: 24px;
  font-weight: 500;
  letter-spacing: -0.02em;
}

.nav__mobile a:hover {
  opacity: 0.6;
}

.nav__close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 28px;
  cursor: pointer;
}

/* --- Hero --- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 64px;
}

/* Subtle texture overlay — fine diagonal lines */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(
      -45deg,
      rgba(255, 255, 255, 0.12) 0px,
      rgba(255, 255, 255, 0.12) 1px,
      transparent 1px,
      transparent 5px
    );
  pointer-events: none;
  z-index: 1;
}

.hero__bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

/* Green gradient orb */
.hero__bg::before {
  content: '';
  position: absolute;
  top: -30%;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 900px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.07) 0%, rgba(16, 185, 129, 0.02) 40%, transparent 70%);
  filter: blur(80px);
  animation: orbPulse 8s ease-in-out infinite;
}

.hero__bg::after {
  content: '';
  position: absolute;
  bottom: -10%;
  left: 30%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.04) 0%, transparent 70%);
  filter: blur(60px);
}

/* Grid dot pattern */
.hero__grid {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(16, 185, 129, 0.08) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, black 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, black 20%, transparent 70%);
}

@keyframes orbPulse {
  0%, 100% { opacity: 1; transform: translateX(-50%) scale(1); }
  50% { opacity: 0.7; transform: translateX(-50%) scale(1.05); }
}

.hero__inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 40px;
  width: 100%;
  padding: 80px 0;
}

.hero__logo {
  width: 200px;
  height: auto;
  margin-bottom: 8px;
}

.hero__content {
  max-width: 680px;
}

.hero__eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}

.hero h1 {
  color: var(--text-primary);
  margin-bottom: 20px;
  text-wrap: balance;
}

.hero__highlight {
  color: var(--accent);
  position: relative;
}

.hero__highlight::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), transparent);
  opacity: 0.5;
}

/* Status badge in eyebrow */
.hero__eyebrow::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  margin-right: 8px;
  vertical-align: middle;
  box-shadow: 0 0 8px var(--accent);
  animation: statusPulse 2s ease-in-out infinite;
}

@keyframes statusPulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 8px var(--accent); }
  50% { opacity: 0.5; box-shadow: 0 0 16px var(--accent); }
}

.hero__subtitle {
  font-size: 17px;
  line-height: 1.6;
  color: var(--text-secondary);
  max-width: 560px;
  margin: 0 auto 32px;
  text-wrap: balance;
}

.hero .btn-group {
  justify-content: center;
  margin-bottom: 40px;
}

.hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
}

.hero__trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-muted);
}

.hero__trust-item svg {
  width: 14px;
  height: 14px;
  color: var(--accent);
  flex-shrink: 0;
}

/* --- Cards --- */
.card {
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 32px;
  transition: all var(--ease);
  border: 1px solid transparent;
}

.card:hover {
  border-color: var(--border-light);
  transform: translateY(-2px);
}

.card--bordered {
  border: 1px solid var(--border);
}

.card--bordered:hover {
  border-color: var(--border-light);
}

/* Problem cards (legacy — replaced by problem-list) */
.card--problem {
  background: var(--bg-card);
  border: 1px solid var(--border);
}

.card--problem:hover {
  border-color: var(--border-light);
  transform: translateY(-2px);
}

/* Problem list — compact layout */
.problem-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
}

.problem-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 24px;
  border-bottom: 1px solid var(--border);
}

.problem-item:nth-child(odd) {
  border-right: 1px solid var(--border);
}

.problem-item:nth-last-child(-n+2) {
  border-bottom: none;
}

.problem-item__icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--accent);
}

.problem-item__icon svg {
  width: 20px;
  height: 20px;
}

.problem-item__text h4 {
  font-size: 16px;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.problem-item__text p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.5;
}

.card__icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-xs);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.card__icon--signal {
  background: var(--accent-bg);
  color: var(--accent);
}

.card__icon--navy {
  background: var(--accent-bg);
  color: var(--accent);
}

.card__icon svg {
  width: 24px;
  height: 24px;
  stroke-width: 1.5;
}

.card h4 {
  margin-bottom: 10px;
  color: var(--text-primary);
}

.card p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.6;
}

.card .link-cta {
  margin-top: 20px;
  font-size: 14px;
}

/* Service card — prominent style */
.card--service {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border);
  padding: 40px;
}

.card--service h4 {
  font-size: 20px;
}

.card--service .card__icon {
  width: 56px;
  height: 56px;
}

.card--service .card__icon svg {
  width: 28px;
  height: 28px;
}

.card--service:hover {
  border-color: rgba(16, 185, 129, 0.15);
}

.card--service::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transition: transform var(--ease);
}

.card--service:hover::before {
  transform: scaleX(1);
}

/* --- Methodology / Steps --- */
.steps {
  position: relative;
}

.steps__line {
  position: absolute;
  top: 28px;
  left: 28px;
  right: 28px;
  height: 1px;
  background: linear-gradient(90deg, var(--border), rgba(16, 185, 129, 0.3), var(--border));
  z-index: 0;
}

.steps__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--gap);
  position: relative;
  z-index: 1;
}

.step {
  text-align: center;
}

.step__number {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--accent-bg);
  border: 1px solid rgba(16, 185, 129, 0.2);
  color: var(--accent);
  font-size: 18px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  position: relative;
  letter-spacing: -0.02em;
}

.step h4 {
  margin-bottom: 8px;
}

.step p {
  font-size: 14px;
  color: var(--text-secondary);
  max-width: 220px;
  margin: 0 auto;
}

/* --- Differentiators --- */
.diff-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
}

.diff-item {
  padding: 32px;
  border-bottom: 1px solid var(--border);
}

.diff-item:nth-child(odd) {
  border-right: 1px solid var(--border);
}

.diff-item:last-child,
.diff-item:nth-last-child(2):nth-child(odd) {
  border-bottom: none;
}

.diff-item.diff-item--full {
  grid-column: 1 / -1;
  border-right: none;
}

.diff-item__header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.diff-item__check {
  width: 20px;
  height: 20px;
  color: var(--accent);
  flex-shrink: 0;
}

.diff-item h4 {
  color: var(--text-primary);
}

.diff-item p {
  color: var(--text-secondary);
  font-size: 15px;
  padding-left: 32px;
}

/* --- FAQ --- */
.faq {
  max-width: 720px;
  margin: 0 auto;
}

.faq__item {
  border-bottom: 1px solid var(--border);
}

.faq__question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 24px 0;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-main);
  font-size: 16px;
  font-weight: 500;
  color: var(--text-primary);
  text-align: left;
  gap: 16px;
  letter-spacing: -0.02em;
}

.faq__question:hover {
  color: var(--accent);
}

.faq__chevron {
  width: 18px;
  height: 18px;
  color: var(--text-muted);
  flex-shrink: 0;
  transition: transform var(--ease-slow);
}

.faq__item.active .faq__chevron {
  transform: rotate(180deg);
  color: var(--accent);
}

.faq__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--ease-slow);
}

.faq__answer-inner {
  padding: 0 0 24px;
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* --- CTA Final Section --- */
.cta-final {
  position: relative;
  overflow: hidden;
}

.cta-final__bg {
  position: absolute;
  inset: 0;
}

.cta-final__bg::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.05) 0%, rgba(16, 185, 129, 0.015) 40%, transparent 70%);
  filter: blur(60px);
}

.cta-final .container {
  position: relative;
  z-index: 2;
}

.cta-final__header {
  text-align: center;
  margin-bottom: 48px;
}

.cta-final__header h2 {
  color: var(--text-primary);
}

.cta-final__header p {
  color: var(--text-secondary);
  font-size: 17px;
  margin-top: 16px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

/* Form */
.form-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px;
  max-width: 600px;
  margin: 0 auto;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group--full {
  grid-column: 1 / -1;
  margin-bottom: 16px;
}

.form-group label {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
}

.form-group input,
.form-group textarea,
.form-group select {
  font-family: var(--font-main);
  font-size: 15px;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-xs);
  color: var(--text-primary);
  transition: all var(--ease);
  background: var(--bg);
  width: 100%;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-subtle);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-bg);
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

.form-group select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
}

.form__submit {
  width: 100%;
  margin-top: 8px;
  font-size: 15px;
  padding: 14px 28px;
}

.form__alt {
  text-align: center;
  margin-top: 20px;
  font-size: 13px;
  color: var(--text-muted);
}

.form__alt a {
  color: var(--accent);
  font-weight: 500;
}

.form__alt a:hover {
  color: var(--accent-light);
}

.form__privacy {
  text-align: center;
  margin-top: 24px;
  font-size: 12px;
  color: var(--text-subtle);
}

/* --- Footer --- */
.footer {
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding: 64px 0 32px;
  color: var(--text-secondary);
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}

.footer__brand .nav__logo {
  margin-bottom: 12px;
  display: flex;
  align-items: center;
}

.footer__tagline {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.footer__social {
  display: flex;
  gap: 12px;
}

.footer__social a {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-xs);
  background: var(--bg-card);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: all var(--ease);
}

.footer__social a:hover {
  color: var(--accent);
  border-color: var(--accent);
  background: var(--accent-bg);
}

.footer__social a svg {
  width: 16px;
  height: 16px;
}

.footer__col h5 {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 20px;
}

.footer__col a {
  display: block;
  font-size: 14px;
  color: var(--text-secondary);
  padding: 5px 0;
  transition: color var(--ease);
}

.footer__col a:hover {
  color: var(--accent);
}

.footer__bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  color: var(--text-subtle);
}

.footer__legal {
  display: flex;
  gap: 24px;
}

.footer__legal a {
  color: var(--text-subtle);
  transition: color var(--ease);
}

.footer__legal a:hover {
  color: var(--text-primary);
}

/* --- WhatsApp Float --- */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--whatsapp);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 98;
  transition: transform var(--ease);
  color: #fff;
}

.whatsapp-float:hover {
  transform: scale(1.08);
}

.whatsapp-float svg {
  width: 26px;
  height: 26px;
}

/* --- Utility --- */
.text-center { text-align: center; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-48 { margin-top: 48px; }
.mb-0 { margin-bottom: 0; }

/* Section CTA centered */
.section-cta {
  text-align: center;
  margin-top: 48px;
}

/* --- Scroll Reveal (subtle) --- */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

/* ============================================
   RESPONSIVE
   ============================================ */

@media (hover: none) {
  .card:hover,
  .card--problem:hover,
  .card--service:hover {
    transform: none;
  }

  .card--service:hover::before {
    transform: scaleX(0);
  }

  .faq__question {
    min-height: 48px;
  }

  .nav__hamburger {
    min-width: 48px;
    min-height: 48px;
  }
}

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

  * {
    transition-duration: 0.01ms !important;
  }
}

/* Tablet */
@media (max-width: 1023px) {
  h1 { font-size: 36px; }
  h2 { font-size: 30px; }

  .section { padding: 80px 0; }

  .hero__inner {
    padding: 60px 0;
  }

  .hero__logo {
    width: 160px;
  }

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

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

  .steps__line {
    display: none;
  }

  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

/* Mobile */
@media (max-width: 639px) {
  .container {
    padding: 0 20px;
  }

  h1 { font-size: 28px; }
  h2 { font-size: 24px; }
  h3 { font-size: 18px; }
  h4 { font-size: 16px; }

  body { font-size: 15px; }

  .section {
    padding: var(--section-pad-y-m) 0;
  }

  .section-header {
    margin-bottom: 32px;
  }

  .nav__links {
    display: none;
  }

  .nav__hamburger {
    display: block;
  }

  .nav__cta.desktop-only {
    display: none;
  }

  .hero {
    min-height: auto;
    padding: 100px 0 60px;
  }

  .hero__inner {
    padding: 40px 0;
  }

  .hero__logo {
    width: 140px;
  }

  .hero .btn-group {
    flex-direction: column;
    width: 100%;
  }

  .hero .btn {
    width: 100%;
  }

  .hero__trust {
    flex-direction: column;
    gap: 10px;
  }

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

  .problem-list {
    grid-template-columns: 1fr;
  }

  .problem-item {
    border-right: none !important;
  }

  .problem-item:nth-last-child(2) {
    border-bottom: 1px solid var(--border);
  }

  .card--service {
    padding: 24px;
  }

  .grid-4,
  .steps__grid {
    grid-template-columns: 1fr;
  }

  .step {
    display: grid;
    grid-template-columns: 56px 1fr;
    gap: 16px;
    text-align: left;
  }

  .step__number {
    margin: 0;
  }

  .step p {
    max-width: none;
  }

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

  .diff-item {
    border-right: none !important;
  }

  .diff-item p {
    padding-left: 0;
  }

  .form-card {
    padding: 24px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .card {
    padding: 24px;
  }

  .footer__grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer__bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }

  .whatsapp-float {
    bottom: 16px;
    right: 16px;
  }

  .faq__question {
    padding: 20px 0;
    font-size: 15px;
  }

  html, body {
    overflow-x: hidden;
  }
}

@media (max-width: 639px) and (orientation: landscape) {
  .hero {
    padding: 80px 0 40px;
  }
}
