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

:root {
  --gold: #f0c96a;
  --gold-dark: #c9a84c;
  --gold-dim: rgba(240,201,106,0.12);
  --bg: #0b0b0d;
  --bg2: #111113;
  --bg3: #18181b;
  --border: rgba(240,201,106,0.15);
  --border2: rgba(255,255,255,0.07);
  --text: #f0ede8;
  --text2: #c9c1ae;
  --text3: #948b7e;
}

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  line-height: 1.6;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  background: var(--gold);
  color: #111;
  padding: 0.5rem 1.2rem;
  border-radius: 0 0 8px 8px;
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  z-index: 10001;
  transition: top 0.15s ease;
}

.skip-link:focus {
  top: 0;
}

.verify-link {
  font-size: 0.65rem;
  color: var(--gold);
  text-decoration: none;
}

.verify-link:hover {
  text-decoration: underline;
}

.lang-pill {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--gold);
  border: 1px solid rgba(240,201,106,0.35);
  border-radius: 8px;
  padding: 0.4rem 0.75rem;
  text-decoration: none;
  white-space: nowrap;
}

.partner-icon svg {
  width: 22px;
  height: 22px;
}

.brand-lic-caps {
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.form-group-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text3);
  margin-bottom: 0.75rem;
}

.guide-link {
  display: block;
  padding: 1rem 1.25rem;
  border: 1px solid var(--border2);
  border-radius: 12px;
  text-decoration: none;
  color: var(--text);
  transition: border-color 0.2s;
}

.guide-link:hover {
  border-color: rgba(212, 164, 55, 0.5);
}

.guide-link strong {
  color: var(--gold);
}

.guide-link span {
  font-size: 0.85rem;
  color: var(--text2);
}

/* ── Header ───────────────────────────────── */
.header {
  border-bottom: 1px solid var(--border2);
  padding: 1.1rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  background: rgba(11,11,13,0.92);
  backdrop-filter: blur(12px);
  z-index: 100;
}

.brand { display: flex; align-items: center; gap: 0.75rem; text-decoration: none; }
.brand img { width: 44px; height: 44px; border-radius: 10px; }
.brand-text p { margin: 0; line-height: 1.2; }
.brand-name { font-size: 0.9rem;  font-weight: 700; color: var(--text); }
.brand-lic  { font-size: 0.7rem;  color: var(--gold); letter-spacing: 0.05em; }
.header-phone { background: var(--gold); color: #0b0b0d; font-weight: 700; font-size: 0.82rem; padding: 0.5rem 1.1rem; border-radius: 8px; text-decoration: none; letter-spacing: 0.02em; }

/* ── Hero ─────────────────────────────────── */
.hero { padding: 5rem 2rem 4rem; max-width: 860px; margin: 0 auto; text-align: center; }
.eyebrow { display: inline-block; font-size: 0.7rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); border: 1px solid var(--border); padding: 0.3rem 0.9rem; border-radius: 100px; margin-bottom: 1.5rem; }
.hero h1 { font-size: clamp(2rem, 5vw, 3.2rem); font-weight: 800; line-height: 1.15; color: var(--text); margin-bottom: 1.25rem; letter-spacing: -0.02em; }
.hero h1 span { color: var(--gold); }
.hero p { font-size: 1.05rem; color: var(--text2); max-width: 560px; margin: 0 auto 2.5rem; line-height: 1.75; }
.hero-cta { display: inline-flex; align-items: center; gap: 0.5rem; background: var(--gold); color: #0b0b0d; font-weight: 700; font-size: 0.88rem; padding: 0.8rem 1.8rem; border-radius: 8px; text-decoration: none; letter-spacing: 0.04em; transition: background 0.2s; }
.hero-cta:hover { background: #e8bb55; }

/* ── Sections ─────────────────────────────── */
.section { padding: 4rem 2rem; max-width: 960px; margin: 0 auto; }
.section-tag { font-size: 0.7rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); margin-bottom: 0.75rem; }
.section h2 { font-size: 1.75rem; font-weight: 700; color: var(--text); margin-bottom: 0.5rem; letter-spacing: -0.01em; }
.section-sub { font-size: 0.95rem; color: var(--text2); margin-bottom: 2.5rem; max-width: 540px; }

/* ── Partner grid ─────────────────────────── */
.partner-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1rem; }
.partner-card { background: var(--bg3); border: 1px solid var(--border2); border-radius: 14px; padding: 1.5rem; transition: border-color 0.2s; }
.partner-card:hover { border-color: var(--border); }
.partner-icon { width: 40px; height: 40px; background: var(--gold-dim); border-radius: 10px; display: flex; align-items: center; justify-content: center; margin-bottom: 1rem; font-size: 1.4rem; color: var(--gold); }
.partner-card h3 { font-size: 0.95rem; font-weight: 600; color: var(--text); margin-bottom: 0.4rem; }
.partner-card p { font-size: 0.85rem; color: var(--text2); line-height: 1.65; }

/* ── Steps ────────────────────────────────── */
.steps-wrap  { background: var(--bg2); border-top: 1px solid var(--border2); border-bottom: 1px solid var(--border2); padding: 4rem 2rem; }
.steps-inner { max-width: 960px; margin: 0 auto; }
.steps-grid  { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1.5rem; margin-top: 2.5rem; }
.step        { display: flex; flex-direction: column; align-items: flex-start; gap: 0.75rem; }
.step-num    { width: 32px; height: 32px; background: var(--gold); color: #0b0b0d; font-weight: 800; font-size: 0.85rem; border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.step h3 { font-size: 0.9rem; font-weight: 600; color: var(--text); margin: 0; }
.step p  { font-size: 0.84rem; color: var(--text2); line-height: 1.65; margin: 0; }

/* ── Referral form ────────────────────────── */
.form-wrap { background: var(--bg3); border: 1px solid var(--border2); border-radius: 16px; padding: 2.5rem; max-width: 640px; margin: 0 auto; }
.form-wrap h2 { font-size: 1.35rem; font-weight: 700; color: var(--text); margin-bottom: 0.4rem; }
.form-wrap > p { font-size: 0.88rem; color: var(--text2); margin-bottom: 2rem; }
.divider { border: none; border-top: 1px solid var(--border2); margin: 1.5rem 0; }

.form-label { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text3); margin-bottom: 0.4rem; display: block; }
.form-grid  { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-field { display: flex; flex-direction: column; }
.form-field.full { grid-column: 1 / -1; }

.form-input {
  background: var(--bg2);
  border: 1px solid var(--border2);
  border-radius: 8px;
  padding: 0.65rem 0.9rem;
  font-family: 'Inter', sans-serif;
  font-size: 0.88rem;
  color: var(--text);
  outline: none;
  transition: border-color 0.2s;
  width: 100%;
}
.form-input::placeholder { color: var(--text3); }
.form-input:focus        { border-color: var(--gold-dark); }
select.form-input option { background: var(--bg2); }
textarea.form-input      { resize: vertical; min-height: 90px; }

.submit-btn {
  width: 100%;
  background: var(--gold);
  color: #0b0b0d;
  border: none;
  border-radius: 8px;
  padding: 0.85rem;
  font-family: 'Inter', sans-serif;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  cursor: pointer;
  transition: background 0.2s;
  margin-top: 0.5rem;
}
.submit-btn:hover    { background: #e8bb55; }
.submit-btn:disabled { opacity: 0.6; cursor: not-allowed; }

.form-success {
  background: rgba(29,158,117,0.1);
  border: 1px solid rgba(29,158,117,0.25);
  border-radius: 8px;
  padding: 1rem 1.25rem;
  font-size: 0.88rem;
  color: #5dcaa5;
  margin-top: 1rem;
  display: none;
}

/* ── Contact strip ────────────────────────── */
.contact-strip   { background: var(--bg2); border-top: 1px solid var(--border2); padding: 3rem 2rem; text-align: center; }
.contact-strip h2 { font-size: 1.2rem; font-weight: 700; color: var(--text); margin-bottom: 0.4rem; }
.contact-strip p  { font-size: 0.88rem; color: var(--text2); margin-bottom: 1.5rem; }
.contact-btns    { display: flex; justify-content: center; gap: 0.75rem; flex-wrap: wrap; }
.contact-btn     { display: inline-flex; align-items: center; gap: 0.4rem; background: var(--bg3); border: 1px solid var(--border2); border-radius: 8px; padding: 0.6rem 1.2rem; font-size: 0.85rem; color: var(--text); text-decoration: none; transition: border-color 0.2s; }
.contact-btn:hover { border-color: var(--border); }
.contact-btn.gold  { background: var(--gold); color: #0b0b0d; border-color: var(--gold); font-weight: 700; }

/* ── Footer ───────────────────────────────── */
.footer { border-top: 1px solid var(--border2); padding: 1.5rem 2rem; text-align: center; font-size: 0.78rem; color: var(--text3); }

/* ── Responsive ───────────────────────────── */
@media (max-width: 720px) {
  .header {
    flex-wrap: wrap;
    padding: 0.75rem 1.25rem;
    gap: 0;
  }
  .header .brand {
    flex: 1;
  }
  .header > div:last-child {
    width: 100%;
    padding-top: 0.5rem;
    gap: 0.5rem;
  }
  .header > div:last-child a {
    flex: 1;
    text-align: center;
    justify-content: center;
    display: inline-flex;
    align-items: center;
  }
}

@media (max-width: 560px) {
  .form-grid          { grid-template-columns: 1fr; }
  .form-field.full    { grid-column: 1; }
  .hero               { padding: 3.5rem 1.25rem 3rem; }
  .section            { padding: 3rem 1.25rem; }
  .form-wrap          { padding: 1.5rem; }
}
