:root {
  --bg: #ececec;
  --card: #f6f6f6;
  --card-2: #ffffff;
  --ink: #0a0a0a;
  --ink-2: #1a1a1a;
  --muted: #6b6b6b;
  --muted-2: #9a9a9a;
  --line: #e2e2e2;
  --line-soft: #ededed;
  --accent: #0a0a0a;
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 10px;
  --radius-pill: 999px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Geist', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  letter-spacing: -0.005em;
}

.mono { font-family: 'Geist Mono', monospace; }

.wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ============ NAV / HERO CARD ============ */
.hero-card {
  background: var(--card);
  border-radius: var(--radius-lg);
  margin: 20px 20px 40px;
  padding: 24px 40px 80px;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0 60px;
}

.logo {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink);
  text-decoration: none;
}

.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
  font-size: 14px;
}
.nav-links a {
  color: var(--ink-2);
  text-decoration: none;
  transition: opacity 0.2s;
}
.nav-links a:hover { opacity: 0.6; }

.nav-actions {
  display: flex;
  gap: 8px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  font-size: 13.5px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.2s ease;
  border: 1px solid transparent;
  cursor: pointer;
  font-family: inherit;
}
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.btn-ghost:hover { background: var(--card-2); }
.btn-dark {
  background: var(--ink);
  color: #fff;
}
.btn-dark:hover { background: #2a2a2a; transform: translateY(-1px); }

/* Hero content */
.hero-content {
  text-align: center;
  padding-top: 40px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: var(--card-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 28px;
}
.hero-badge::before {
  content: '';
  width: 6px; height: 6px;
  background: #22c55e;
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.2);
  animation: pulse 2s infinite;
}
@keyframes pulse { 50% { opacity: 0.6; } }

.hero-content h1 {
  font-size: clamp(38px, 6vw, 68px);
  line-height: 1.02;
  font-weight: 500;
  letter-spacing: -0.035em;
  margin-bottom: 20px;
}
.hero-content h1 .muted-text {
  color: var(--muted-2);
}

.hero-content p.lead {
  font-size: 17px;
  color: var(--muted);
  max-width: 560px;
  margin: 0 auto 32px;
  line-height: 1.55;
}

/* Toolbar mockup */
.toolbar-mock {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 6px;
  background: var(--card-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  margin-bottom: 28px;
  font-size: 13px;
}
.tb-btn {
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--ink-2);
  cursor: default;
}
.tb-btn.active { background: var(--ink); color: #fff; }
.tb-sep { width: 1px; height: 18px; background: var(--line); }
.tb-circle {
  width: 18px; height: 18px;
  background: var(--ink);
  border-radius: 50%;
}

.hero-cta {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-bottom: 50px;
}

/* Hero visual */
.hero-visual {
  max-width: 620px;
  margin: 0 auto;
  position: relative;
  height: 240px;
}
.hero-visual svg {
  width: 100%;
  height: 100%;
}

/* Feature bar below hero */
.feature-bar {
  display: flex;
  justify-content: center;
  gap: 48px;
  padding: 40px 0 20px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--muted);
}
.feature-bar-item {
  display: flex;
  align-items: center;
  gap: 8px;
}
.feature-bar-item::before {
  content: '○';
  color: var(--ink);
}

/* ============ SECTIONS ============ */
section { padding: 80px 0; }

.section-head {
  margin-bottom: 48px;
}
.section-head h2 {
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.05;
  font-weight: 500;
  letter-spacing: -0.03em;
  margin-bottom: 14px;
}
.section-head p {
  font-size: 16px;
  color: var(--muted);
  max-width: 600px;
  line-height: 1.55;
}

/* ============ PHILOSOPHY BLOCK ============ */
.philosophy {
  padding-top: 40px;
}
.philosophy-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 48px;
  position: relative;
}

/* Window mockup */
.window {
  margin-top: 32px;
  background: var(--card-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(0,0,0,0.03);
}
.window-header {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line-soft);
  background: var(--card);
}
.window-dots {
  display: flex;
  gap: 6px;
}
.window-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: #d4d4d4;
}
.window-body {
  padding: 32px;
  min-height: 220px;
  position: relative;
}
.window-body p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 14px;
}
.window-body p strong { color: var(--ink); font-weight: 500; }
.window-footer {
  border-top: 1px solid var(--line-soft);
  padding: 12px 16px;
  display: flex;
  justify-content: flex-end;
  gap: 8px;
}
.window-tag {
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  font-size: 11px;
  background: var(--card);
  border: 1px solid var(--line);
  color: var(--muted);
}
.window-tag.dark { background: var(--ink); color: #fff; border-color: var(--ink); }

/* ============ SERVICES GRID ============ */
.services-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.service-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px;
  min-height: 320px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.3s ease, border-color 0.3s ease;
  position: relative;
  overflow: hidden;
}
.service-card:hover {
  transform: translateY(-2px);
  border-color: #c8c8c8;
}
.service-visual {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  min-height: 180px;
  position: relative;
}
.service-visual svg { max-width: 100%; max-height: 200px; }
.service-card h3 {
  font-size: 20px;
  font-weight: 500;
  letter-spacing: -0.02em;
  margin-bottom: 6px;
}
.service-card p {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.55;
}

/* ============ PACKAGES ============ */
.packages-intro {
  margin-bottom: 48px;
}
.packages-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr 1fr;
  gap: 20px;
  align-items: stretch;
}
.package {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
}
.package.featured {
  background: var(--card-2);
  border-color: var(--ink);
  transform: scale(1.02);
  box-shadow: 0 10px 40px -20px rgba(0,0,0,0.2);
}
.package-price {
  font-size: 38px;
  font-weight: 500;
  letter-spacing: -0.03em;
  margin-bottom: 4px;
}
.package-price .period {
  font-size: 14px;
  color: var(--muted);
  font-weight: 400;
}
.package-name {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}
.package ul {
  list-style: none;
  flex: 1;
  margin-bottom: 24px;
}
.package ul li {
  padding: 7px 0;
  font-size: 13.5px;
  color: var(--ink-2);
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.package ul li::before {
  content: '✓';
  color: var(--ink);
  font-weight: 500;
  flex-shrink: 0;
}
.package .btn { width: 100%; justify-content: center; }

/* ============ PROCESS / TEAM ============ */
.process-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 48px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.process-badge {
  display: inline-block;
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.02em;
  margin-bottom: 16px;
}
.process-card h2 {
  font-size: 30px;
  line-height: 1.1;
  font-weight: 500;
  letter-spacing: -0.025em;
  margin-bottom: 16px;
}
.process-card > div:first-child > p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
}
.process-steps {
  list-style: none;
  margin-top: 32px;
}
.process-steps li {
  display: flex;
  gap: 16px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
}
.process-steps li:last-child { border-bottom: 1px solid var(--line); }
.process-step-icon {
  width: 32px; height: 32px;
  border: 1px solid var(--line);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--card-2);
  flex-shrink: 0;
  font-size: 14px;
}
.process-steps h4 {
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 3px;
}
.process-steps p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.55;
}

.process-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 280px;
}
.process-visual svg { max-width: 100%; }

/* ============ CTA ============ */
.cta-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 64px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-card::before {
  content: '';
  position: absolute;
  top: -50%; left: 50%;
  transform: translateX(-50%);
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(0,0,0,0.04), transparent 60%);
  pointer-events: none;
}
.cta-card h2 {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 500;
  letter-spacing: -0.03em;
  margin-bottom: 12px;
  position: relative;
}
.cta-card p {
  color: var(--muted);
  max-width: 480px;
  margin: 0 auto 28px;
  position: relative;
}
.cta-actions {
  display: flex;
  gap: 10px;
  justify-content: center;
  position: relative;
}

/* ============ CONTACT FORM ============ */
.contact-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 48px;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 56px;
}
.contact-info h3 {
  font-size: 28px;
  font-weight: 500;
  letter-spacing: -0.025em;
  margin-bottom: 12px;
  line-height: 1.1;
}
.contact-info > p {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 32px;
  max-width: 320px;
  line-height: 1.6;
}
.contact-list {
  list-style: none;
}
.contact-list li {
  padding: 14px 0;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  font-size: 13px;
}
.contact-list li:last-child { border-bottom: 1px solid var(--line); }
.contact-list .label { color: var(--muted); }
.contact-list .value { color: var(--ink); text-decoration: none; }
.contact-list a.value:hover { text-decoration: underline; }

form.contact-form {
  background: var(--card-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 32px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.form-field label {
  display: block;
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 6px;
}
.form-field.full { grid-column: 1 / -1; }
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid var(--line);
  background: var(--card);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 14px;
  color: var(--ink);
  transition: border-color 0.2s, background 0.2s;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--ink);
  background: #fff;
}
.form-field textarea {
  resize: vertical;
  min-height: 110px;
}
.form-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 12px;
  color: var(--muted);
  margin: 20px 0;
  line-height: 1.5;
}
.form-consent input { accent-color: var(--ink); margin-top: 2px; }
.form-consent a { color: var(--ink); }

/* ============ FOOTER ============ */
footer {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  margin: 20px;
  padding: 56px 48px 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
}
.footer-brand-block p {
  color: var(--muted);
  font-size: 13px;
  margin-top: 12px;
  max-width: 260px;
  line-height: 1.55;
}
.footer-col h5 {
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 14px;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col a {
  color: var(--muted);
  text-decoration: none;
  font-size: 13px;
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--ink); }

.footer-bottom {
  border-top: 1px solid var(--line);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: var(--muted);
  flex-wrap: wrap;
  gap: 16px;
}
.footer-socials {
  display: flex;
  gap: 8px;
}
.footer-social {
  width: 32px; height: 32px;
  border: 1px solid var(--line);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  text-decoration: none;
  font-size: 13px;
  background: var(--card-2);
  transition: all 0.2s;
}
.footer-social:hover { background: var(--ink); color: #fff; }

/* ============ RESPONSIVE ============ */
@media (max-width: 900px) {
  .hero-card { padding: 20px 20px 60px; margin: 12px; }
  nav { padding: 8px 0 40px; flex-wrap: wrap; gap: 12px; }
  .nav-links { display: none; }
  .services-grid { grid-template-columns: 1fr; }
  .packages-grid { grid-template-columns: 1fr; gap: 16px; }
  .package.featured { transform: none; }
  .process-card { grid-template-columns: 1fr; gap: 32px; padding: 32px 24px; }
  .contact-card { grid-template-columns: 1fr; gap: 32px; padding: 32px 24px; }
  .philosophy-card { padding: 28px 20px; }
  .window-body { padding: 24px 20px; }
  .form-row { grid-template-columns: 1fr; }
  footer { padding: 40px 24px 24px; margin: 12px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; padding-bottom: 32px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  section { padding: 50px 0; }
  .feature-bar { gap: 20px; font-size: 12px; }
}

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

