:root {
  --color-bg: #FBF6EF;
  --color-navy: #1F2A3C;
  --color-clay: #B15228;
  --color-clay-dark: #8F3C1C;
  --color-text: #232323;
  --color-muted: #6B6558;
  --color-card-bg: #FFFFFF;
  --font-head: 'Fraunces', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --radius: 16px;
  --shadow: 0 8px 24px rgba(31, 42, 60, 0.08);
  --shadow-hover: 0 14px 32px rgba(31, 42, 60, 0.16);
  --max-width: 1100px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.6;
}
h1, h2, h3 { font-family: var(--font-head); font-weight: 600; margin: 0 0 0.5em; color: var(--color-navy); }
p { margin: 0 0 1em; color: var(--color-muted); }
a { color: var(--color-clay); }

.site-header {
  position: sticky; top: 0; z-index: 10;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.25rem 2rem;
  background: rgba(251, 246, 239, 0.92);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid rgba(31,42,60,0.08);
}
.wordmark { font-family: var(--font-head); font-weight: 700; font-size: 1.25rem; color: var(--color-navy); }
.wordmark span { color: var(--color-clay); }
.site-nav { display: flex; align-items: center; gap: 1.5rem; }
.site-nav a { text-decoration: none; font-weight: 500; color: var(--color-navy); }
.site-nav a:hover { color: var(--color-clay); }
#lang-toggle {
  border: 1px solid var(--color-navy);
  background: transparent; color: var(--color-navy);
  font-weight: 600; font-size: 0.85rem;
  padding: 0.35rem 0.75rem; border-radius: 999px; cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}
#lang-toggle:hover { background: var(--color-navy); color: var(--color-bg); }

.hero {
  max-width: none;
  padding: 6rem 2rem 5rem;
  text-align: center;
  color: var(--color-bg);
  background-color: var(--color-navy);
  background-image:
    repeating-linear-gradient(45deg, rgba(255,255,255,0.05) 0 2px, transparent 2px 26px),
    repeating-linear-gradient(-45deg, rgba(255,255,255,0.05) 0 2px, transparent 2px 26px);
}
.hero-inner { max-width: 720px; margin: 0 auto; }
.hero h1 { color: var(--color-bg); font-size: clamp(2rem, 4vw, 3rem); line-height: 1.15; }
.hero-sub { color: rgba(251,246,239,0.85); font-size: 1.15rem; max-width: 560px; margin: 0 auto 2rem; }

.cta-button {
  display: inline-block;
  background: var(--color-clay);
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  padding: 0.9rem 1.75rem;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  font-size: 1rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  box-shadow: var(--shadow);
}
.cta-button:hover { background: var(--color-clay-dark); transform: translateY(-2px); box-shadow: var(--shadow-hover); }

section { padding: 5rem 2rem; max-width: var(--max-width); margin: 0 auto; }
section h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); text-align: center; margin-bottom: 2.5rem; }

.card-grid, .step-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(3, 1fr);
}
.step-grid { grid-template-columns: repeat(4, 1fr); }

.card, .step {
  background: var(--color-card-bg);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  box-shadow: var(--shadow);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.card:hover, .step:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.card h3, .step h3 { font-size: 1.15rem; }
.card p, .step p { margin: 0; font-size: 0.95rem; }

.demo { text-align: center; }
.video-frame {
  position: relative;
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.video-frame iframe { width: 100%; height: 100%; border: 0; }

.contact { text-align: center; }
#lead-form {
  max-width: 480px;
  margin: 0 auto;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
#lead-form label { font-weight: 600; font-size: 0.9rem; color: var(--color-navy); }
#lead-form input, #lead-form select, #lead-form textarea {
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 0.75rem 1rem;
  border: 1px solid rgba(31,42,60,0.2);
  border-radius: 10px;
  background: #fff;
  color: var(--color-text);
}
#lead-form textarea { min-height: 100px; resize: vertical; }
#lead-form button { align-self: flex-start; margin-top: 0.5rem; }

.confirm { max-width: 480px; margin: 0 auto; padding: 2rem; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); }
.confirm p { color: var(--color-navy); font-weight: 600; margin: 0; }

.site-footer { text-align: center; padding: 2rem; color: var(--color-muted); font-size: 0.85rem; }

.reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

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

@media (max-width: 800px) {
  .card-grid { grid-template-columns: 1fr; }
  .step-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .step-grid { grid-template-columns: 1fr; }
  .site-header { padding: 1rem; }
  .hero { padding: 4rem 1.25rem 3rem; }
  section { padding: 3.5rem 1.25rem; }
}
