:root {
  --bg: #0e0c0b;
  --bg-alt: #151210;
  --surface: #1c1816;
  --line: #2f2925;
  --text: #f1ebe3;
  --muted: #a99f94;
  --accent: #c9a25e;
  --accent-dark: #a8823f;
  --radius: 14px;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Inter", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
img { max-width: 100%; }

.container { width: min(1120px, 100% - 40px); margin-inline: auto; }

/* Header */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px max(20px, calc((100% - 1120px) / 2));
  background: rgba(14, 12, 11, .82);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.logo {
  font-family: var(--serif); font-size: 1.7rem; font-weight: 600;
  text-decoration: none; letter-spacing: .5px;
}
.logo span { color: var(--accent); font-style: italic; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a { text-decoration: none; font-size: .95rem; color: var(--muted); transition: color .2s; }
.nav a:hover { color: var(--text); }
.nav .btn { color: #1a1510; }

.menu-toggle { display: none; background: none; border: 0; width: 40px; height: 40px; cursor: pointer; position: relative; }
.menu-toggle span { position: absolute; left: 8px; right: 8px; height: 2px; background: var(--text); transition: .25s; }
.menu-toggle span:first-child { top: 15px; }
.menu-toggle span:last-child { top: 23px; }
.menu-toggle[aria-expanded="true"] span:first-child { top: 19px; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:last-child { top: 19px; transform: rotate(-45deg); }

/* Buttons */
.btn {
  display: inline-block; border: 0; cursor: pointer;
  background: var(--accent); color: #1a1510;
  padding: 14px 28px; border-radius: 999px;
  font: 600 .95rem var(--sans); text-decoration: none;
  transition: background .2s, transform .2s;
}
.btn:hover { background: #dcb673; transform: translateY(-1px); }
.btn-small { padding: 9px 20px; }
.btn-ghost { background: transparent; color: var(--text); border: 1px solid var(--line); }
.btn-ghost:hover { background: var(--surface); border-color: var(--accent); }
.btn-block { width: 100%; }
.btn:disabled { opacity: .6; cursor: wait; transform: none; }

/* Typography */
.eyebrow {
  margin: 0 0 14px; color: var(--accent);
  text-transform: uppercase; letter-spacing: .18em; font-size: .78rem; font-weight: 600;
}
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.1; margin: 0; }
h1 { font-size: clamp(2.8rem, 7vw, 5.4rem); }
h1 em, h2 em { color: var(--accent); font-style: italic; }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: 1.5rem; }
p { margin: 0 0 1em; }

/* Hero */
.hero {
  position: relative; min-height: 100svh; display: flex; align-items: center;
  padding: 120px 20px 80px; overflow: hidden;
}
.hero-inner { position: relative; z-index: 1; width: min(1120px, 100%); margin-inline: auto; }
.hero h1 { margin-bottom: 24px; }
.lead { max-width: 560px; font-size: 1.15rem; color: var(--muted); margin-bottom: 36px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-glow {
  position: absolute; right: -10%; top: 10%; width: 60vw; height: 60vw; max-width: 760px; max-height: 760px;
  background: radial-gradient(circle, rgba(201,162,94,.28), transparent 65%);
  filter: blur(30px);
}

/* Sections */
.section { padding: 110px 0; }
.section.alt { background: var(--bg-alt); border-block: 1px solid var(--line); }
.section-head { max-width: 640px; margin-bottom: 56px; }
.two-col { display: grid; grid-template-columns: 1fr 1.2fr; gap: 64px; align-items: start; }
.two-col p { color: var(--muted); }

.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 72px; }
.value { padding-top: 22px; border-top: 1px solid var(--accent); }
.value h3 { margin-bottom: 10px; }
.value p { color: var(--muted); margin: 0; }

.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 32px 28px; transition: transform .25s, border-color .25s;
}
.card:hover { transform: translateY(-4px); border-color: var(--accent); }
.card .num { display: block; font-family: var(--serif); font-size: 1.1rem; color: var(--accent); margin-bottom: 14px; }
.card h3 { margin-bottom: 10px; }
.card p { margin: 0; color: var(--muted); font-size: .97rem; }

.steps { list-style: none; counter-reset: s; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.steps li { counter-increment: s; position: relative; padding-top: 64px; }
.steps li::before {
  content: counter(s); position: absolute; top: 0; left: 0;
  width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--accent);
  display: grid; place-items: center; font-family: var(--serif); font-size: 1.4rem; color: var(--accent);
}
.steps strong { display: block; font-family: var(--serif); font-size: 1.4rem; margin-bottom: 6px; }
.steps span { color: var(--muted); font-size: .96rem; }

/* Contact */
.contact-mail { margin-top: 32px; }
.contact-mail a { color: var(--accent); font-size: 1.15rem; text-decoration: none; }
.contact-mail a:hover { text-decoration: underline; }

.form {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 36px;
}
.field { margin-bottom: 18px; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
label { display: block; font-size: .85rem; font-weight: 500; margin-bottom: 6px; color: var(--text); }
input[type="text"], input[type="email"], input[type="tel"], select, textarea {
  width: 100%; padding: 13px 14px; background: var(--bg); color: var(--text);
  border: 1px solid var(--line); border-radius: 10px; font: inherit; transition: border-color .2s;
}
textarea { resize: vertical; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(201,162,94,.18); }
.field.invalid input, .field.invalid textarea { border-color: #d9665a; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .85rem; color: var(--muted); font-weight: 400; margin-bottom: 22px; }
.check input { margin-top: 5px; accent-color: var(--accent); }
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; }
.form-status { margin: 16px 0 0; min-height: 1.4em; font-size: .92rem; text-align: center; }
.form-status.ok { color: #8fcf9a; }
.form-status.error { color: #e58b80; }

/* Footer */
.footer { padding: 56px 20px; text-align: center; border-top: 1px solid var(--line); }
.footer p { margin: 14px 0 0; color: var(--muted); font-size: .92rem; }
.footer a:not(.logo) { color: var(--accent); text-decoration: none; }
.footer .copy { font-size: .8rem; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* Responsive */
@media (max-width: 900px) {
  .two-col { grid-template-columns: 1fr; gap: 32px; }
  .values, .grid { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .menu-toggle { display: block; }
  .nav {
    position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; gap: 0;
    background: var(--bg); border-bottom: 1px solid var(--line);
    max-height: 0; overflow: hidden; transition: max-height .3s ease;
  }
  .nav.open { max-height: 360px; }
  .nav a { width: 100%; padding: 16px 20px; border-top: 1px solid var(--line); }
  .nav .btn { margin: 14px 20px; width: auto; text-align: center; }
  .section { padding: 80px 0; }
  .values, .grid, .steps, .row { grid-template-columns: 1fr; }
  .form { padding: 24px 20px; }
}
