/* ReelID — reelid.dev (navy & gold) */
:root {
  --navy: #101d3a;
  --navy-2: #1a2c52;
  --gold: #c9a24b;
  --gold-bright: #e8c56d;
  --ink: #1c2440;
  --muted: #5d6580;
  --bg: #f7f6f2;
  --card: #ffffff;
  --radius: 14px;
  --shadow: 0 12px 34px rgba(16, 29, 58, .10);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: Georgia, "Times New Roman", serif;
  font-family: "Segoe UI", system-ui, -apple-system, Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
}
img { max-width: 100%; height: auto; }
a { color: var(--navy-2); text-decoration: none; }
.container { width: min(1120px, 92%); margin: 0 auto; }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(16, 29, 58, .96);
  backdrop-filter: blur(10px);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; padding: 12px 0; }
.brand { display: flex; align-items: center; gap: 10px; }
.brand-logo { width: 42px; height: 42px; border-radius: 50%; object-fit: cover; border: 2px solid var(--gold); }
.brand-name { font-size: 1.25rem; font-weight: 800; color: #fff; letter-spacing: .5px; }
.brand-name span { color: var(--gold-bright); }
.nav-links { display: flex; align-items: center; gap: 26px; }
.nav-links a { color: #dfe4f2; font-weight: 600; }
.nav-links a:hover { color: var(--gold-bright); }
.nav-cta {
  background: var(--gold); color: var(--navy) !important;
  padding: 9px 18px; border-radius: 999px;
  transition: background .2s;
}
.nav-cta:hover { background: var(--gold-bright); }
.nav-toggle { display: none; background: none; border: none; font-size: 1.6rem; cursor: pointer; color: var(--gold-bright); }

/* ---------- Hero ---------- */
.hero {
  background:
    radial-gradient(700px 380px at 80% 0%, rgba(201, 162, 75, .18), transparent),
    linear-gradient(150deg, var(--navy) 0%, var(--navy-2) 100%);
  color: #eef1fa;
  padding: 90px 0 100px;
}
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
.pill {
  display: inline-block; border: 1px solid rgba(201, 162, 75, .5);
  color: var(--gold-bright); font-weight: 700; font-size: .8rem;
  padding: 6px 14px; border-radius: 999px; margin-bottom: 18px;
  letter-spacing: 1px; text-transform: uppercase;
}
.hero h1 { font-size: clamp(2rem, 4.5vw, 3.1rem); line-height: 1.18; margin-bottom: 18px; }
.hero h1 em { font-style: normal; color: var(--gold-bright); }
.lead { font-size: 1.1rem; color: #c3cbe2; margin-bottom: 30px; max-width: 34rem; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.btn {
  display: inline-block; padding: 13px 28px; border-radius: 999px;
  font-weight: 700; font-size: .95rem; cursor: pointer; border: none;
  transition: transform .15s, background .2s, border-color .2s;
}
.btn:active { transform: translateY(1px); }
.btn-gold { background: var(--gold); color: var(--navy); }
.btn-gold:hover { background: var(--gold-bright); }
.btn-outline { background: transparent; color: #fff; border: 1.5px solid rgba(255, 255, 255, .4); }
.btn-outline:hover { border-color: var(--gold-bright); color: var(--gold-bright); }
.btn-block { width: 100%; }
.hero-visual img {
  border-radius: 50%; border: 4px solid rgba(201, 162, 75, .45);
  box-shadow: 0 24px 60px rgba(0, 0, 0, .4);
  max-width: 380px; display: block; margin: 0 auto;
}

/* ---------- Sections ---------- */
.section { padding: 84px 0; }
.section-dark {
  background: linear-gradient(150deg, var(--navy) 0%, var(--navy-2) 100%);
  color: #eef1fa;
}
.section-dark .section-sub { color: #c3cbe2; }
.section-title { font-size: clamp(1.6rem, 3vw, 2.2rem); text-align: center; margin-bottom: 10px; }
.section-sub { text-align: center; color: var(--muted); max-width: 40rem; margin: 0 auto 48px; }

/* ---------- Cards ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card {
  background: var(--card); border-radius: var(--radius);
  padding: 28px 24px; box-shadow: var(--shadow);
  border-top: 3px solid var(--gold);
  transition: transform .2s, box-shadow .2s;
}
.card:hover { transform: translateY(-6px); box-shadow: 0 20px 44px rgba(16, 29, 58, .16); }
.card-icon { font-size: 1.7rem; margin-bottom: 12px; }
.card h3 { font-size: 1.08rem; margin-bottom: 8px; color: var(--navy); }
.card p { color: var(--muted); font-size: .93rem; }

/* ---------- Audience ---------- */
.audience { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.aud-item {
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(201, 162, 75, .35);
  border-radius: var(--radius);
  padding: 22px 20px; text-align: center;
  font-weight: 700; font-size: 1.02rem;
  transition: background .2s, transform .2s;
}
.aud-item:hover { background: rgba(201, 162, 75, .14); transform: translateY(-4px); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: start; }
.contact-grid .section-title, .contact-grid .section-sub { text-align: left; margin-left: 0; }
.contact-dev { display: flex; align-items: center; gap: 14px; margin-top: 24px; }
.contact-dev img { width: 52px; height: 52px; object-fit: contain; }
.contact-form {
  background: #fff; border-radius: var(--radius); padding: 32px;
  box-shadow: var(--shadow); border-top: 3px solid var(--gold);
}
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 700; font-size: .9rem; margin-bottom: 6px; color: var(--navy); }
.field input, .field textarea {
  width: 100%; padding: 12px 14px; border-radius: 8px;
  border: 1.5px solid #d9d5c8; font: inherit; color: var(--ink);
  background: #fcfbf8; transition: border-color .2s;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--gold); }
.field textarea { resize: vertical; }
.form-status { margin-top: 14px; font-weight: 600; font-size: .95rem; min-height: 1.4em; }
.form-status.success { color: #2e7d32; }
.form-status.error { color: #c62828; }

/* ---------- Legal page ---------- */
.legal-main { min-height: 60vh; }
.legal-container { max-width: 820px; }
.legal-tabs { display: flex; gap: 10px; justify-content: center; margin: 34px 0 18px; flex-wrap: wrap; }
.legal-tab {
  padding: 10px 22px; border-radius: 999px; border: 1.5px solid var(--navy-2);
  background: #fff; font: inherit; font-weight: 700; color: var(--navy); cursor: pointer;
}
.legal-tab.active { background: var(--navy); color: var(--gold-bright); border-color: var(--navy); }
.legal-meta { text-align: center; color: var(--muted); font-size: .85rem; min-height: 1.2em; margin-bottom: 10px; }
.legal-lang { display: flex; gap: 8px; justify-content: center; margin-bottom: 20px; }
.lang-btn {
  padding: 6px 16px; border-radius: 999px; border: 1px solid #d9d5c8;
  background: #fff; font: inherit; font-size: .85rem; font-weight: 600; cursor: pointer; color: var(--muted);
}
.lang-btn.active { background: var(--gold); border-color: var(--gold); color: var(--navy); }
.legal-content {
  background: #fff; border-radius: var(--radius); border-top: 3px solid var(--gold);
  box-shadow: var(--shadow); padding: 40px;
}
.legal-content h1 { font-size: 1.6rem; margin: 18px 0 12px; color: var(--navy); }
.legal-content h2 { font-size: 1.25rem; margin: 26px 0 10px; color: var(--navy-2); }
.legal-content h3 { font-size: 1.05rem; margin: 20px 0 8px; }
.legal-content h4 { font-size: .95rem; margin: 16px 0 6px; }
.legal-content p { margin-bottom: 12px; color: #39405c; }
.legal-content ul { margin: 0 0 14px 22px; color: #39405c; }
.legal-content li { margin-bottom: 6px; }
.legal-content hr { border: none; border-top: 1px solid #e5e1d4; margin: 24px 0; }
.legal-loading { text-align: center; color: var(--muted); padding: 40px 0; }

/* ---------- Footer ---------- */
.footer { background: var(--navy); color: #c3cbe2; padding: 48px 0 30px; border-top: 3px solid var(--gold); }
.footer-inner { display: flex; flex-direction: column; align-items: center; gap: 18px; text-align: center; }
.footer-brand img { width: 52px; height: 52px; border-radius: 50%; border: 2px solid var(--gold); margin-bottom: 8px; }
.footer-links { display: flex; gap: 24px; }
.footer-links a { color: #fff; font-weight: 600; opacity: .85; }
.footer-links a:hover { opacity: 1; color: var(--gold-bright); }
.footer-copy { font-size: .85rem; opacity: .7; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero-grid, .contact-grid { grid-template-columns: 1fr; }
  .hero-visual { order: -1; }
  .cards, .audience { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 620px) {
  .cards, .audience { grid-template-columns: 1fr; }
  .nav-toggle { display: block; }
  .nav-links {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    background: var(--navy); flex-direction: column; padding: 18px; gap: 16px;
  }
  .nav-links.open { display: flex; }
  .legal-content { padding: 24px; }
}
