/* ═══════════════════════════════════════════════════════════════
   SEYLLER FINANCIAL GROUP LLC — v5 Opus
   Retro Futurism · Industrial Chic · Precision Engineering
   ═══════════════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@500;600;700&family=Rajdhani:wght@300;400;500;600;700&family=Orbitron:wght@400;500;600;700&display=swap');

/* ── CSS Variables ─────────────────────────────────────────── */
:root {
  --navy: #0b1929;
  --navy-light: #122740;
  --charcoal: #1a1e2e;
  --steel: #2a3142;
  --gold: #d4a348;
  --gold-bright: #f0c45a;
  --gold-dim: #8b6d2a;
  --amber: #e8922f;
  --cyan: #4fc3f7;
  --cyan-dim: #1a6e8a;
  --silver: #c0c8d4;
  --cream: #e8e0d0;
  --text: #d0d4dc;
  --text-dim: #8890a0;
  --rivet: #3a4050;
  --font-display: 'Cinzel', serif;
  --font-tech: 'Orbitron', sans-serif;
  --font-body: 'Rajdhani', sans-serif;
}

/* ── Reset & Base ──────────────────────────────────────────── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--text);
  background: var(--navy);
  line-height: 1.65;
  font-size: 16px;
  overflow-x: hidden;
}

/* ── Utility ───────────────────────────────────────────────── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 5%; }
a { color: var(--gold); text-decoration: none; transition: color .3s; }
a:hover { color: var(--gold-bright); }

/* ── Animated Background Blueprint Grid ────────────────────── */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(rgba(15, 40, 70, .04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 40, 70, .04) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

/* ── Riveted Metal Strip ───────────────────────────────────── */
.rivet-strip {
  height: 6px;
  background: linear-gradient(90deg, var(--gold-dim), var(--gold), var(--gold-dim));
  position: relative;
}
.rivet-strip::before,
.rivet-strip::after {
  content: '⚙';
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: .7rem;
  color: var(--gold-dim);
}
.rivet-strip::before { left: 2%; }
.rivet-strip::after { right: 2%; }

/* ══════════════════════════════════════════════════════════════
   NAVIGATION
   ══════════════════════════════════════════════════════════════ */
nav {
  background: linear-gradient(180deg, #060d18 0%, var(--navy) 100%);
  border-bottom: 2px solid var(--gold-dim);
  padding: .8rem 5%;
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(12px);
}
nav .nav-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}
nav .logo {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: .12em;
  text-transform: uppercase;
  text-shadow: 0 0 20px rgba(212,163,72,.3);
}
nav .logo span {
  color: var(--silver);
  font-weight: 500;
}
nav ul {
  display: flex;
  list-style: none;
  gap: 2.2rem;
}
nav ul a {
  color: var(--silver);
  font-family: var(--font-tech);
  font-size: .72rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  position: relative;
  padding-bottom: 4px;
}
nav ul a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width .3s;
}
nav ul a:hover { color: var(--gold); }
nav ul a:hover::after { width: 100%; }

.mobile-toggle {
  display: none;
  background: none;
  border: 1px solid var(--gold-dim);
  color: var(--gold);
  font-size: 1.3rem;
  padding: .3rem .6rem;
  cursor: pointer;
  font-family: var(--font-tech);
}

/* ══════════════════════════════════════════════════════════════
   HERO
   ══════════════════════════════════════════════════════════════ */
.hero {
  position: relative;
  padding: 8rem 5% 6rem;
  text-align: center;
  background:
    radial-gradient(ellipse at 30% 60%, rgba(212,163,72,.06) 0%, transparent 60%),
    radial-gradient(ellipse at 70% 40%, rgba(79,195,247,.04) 0%, transparent 50%),
    linear-gradient(180deg, var(--navy) 0%, #0d1f35 100%);
  overflow: hidden;
}
.hero::before {
  content: '⚙';
  position: absolute;
  font-size: 22rem;
  color: rgba(212,163,72,.025);
  top: -2rem;
  right: -4rem;
  animation: spin 120s linear infinite;
  pointer-events: none;
}
.hero::after {
  content: '⚙';
  position: absolute;
  font-size: 16rem;
  color: rgba(79,195,247,.02);
  bottom: -3rem;
  left: -3rem;
  animation: spin 90s linear infinite reverse;
  pointer-events: none;
}
@keyframes spin { to { transform: rotate(360deg); } }

.hero .eyebrow {
  font-family: var(--font-tech);
  font-size: .75rem;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .8rem;
}
.hero .eyebrow::before,
.hero .eyebrow::after {
  content: '';
  width: 40px;
  height: 1px;
  background: var(--cyan-dim);
}

.hero h1 {
  font-family: var(--font-display);
  font-size: 3.2rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: .06em;
  line-height: 1.2;
  margin-bottom: 1.2rem;
  text-shadow: 0 0 40px rgba(212,163,72,.2);
}

.hero .subtitle {
  font-size: 1.2rem;
  font-weight: 300;
  color: var(--silver);
  max-width: 650px;
  margin: 0 auto 2.5rem;
}

/* ── Buttons ───────────────────────────────────────────────── */
.btn {
  display: inline-block;
  font-family: var(--font-tech);
  font-size: .78rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  padding: 1rem 2.5rem;
  border: 1px solid var(--gold);
  color: var(--gold);
  position: relative;
  overflow: hidden;
  transition: all .35s;
  cursor: pointer;
  background: transparent;
}
.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gold);
  transform: translateY(100%);
  transition: transform .35s;
  z-index: -1;
}
.btn:hover { color: var(--navy); }
.btn:hover::before { transform: translateY(0); }

.btn-solid {
  background: var(--gold);
  color: var(--navy);
  border-color: var(--gold);
}
.btn-solid::before { background: var(--gold-bright); }
.btn-solid:hover { color: var(--navy); }

/* ══════════════════════════════════════════════════════════════
   SECTIONS
   ══════════════════════════════════════════════════════════════ */
section {
  padding: 5rem 5%;
}

.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}
.section-header .tag {
  font-family: var(--font-tech);
  font-size: .7rem;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: .8rem;
}
.section-header h2 {
  font-family: var(--font-display);
  font-size: 2.4rem;
  color: var(--gold);
  letter-spacing: .04em;
  margin-bottom: .6rem;
}
.section-header p {
  color: var(--text-dim);
  max-width: 600px;
  margin: 0 auto;
  font-size: 1.05rem;
}

/* ── Dark Section ──────────────────────────────────────────── */
.section-dark {
  background: linear-gradient(180deg, var(--charcoal) 0%, var(--navy) 100%);
}

/* ── Alternate Section ──────────────────────────────────────── */
.section-alt {
  background: linear-gradient(180deg, var(--navy-light) 0%, var(--charcoal) 100%);
}

/* ══════════════════════════════════════════════════════════════
   CARDS — Industrial Panels
   ══════════════════════════════════════════════════════════════ */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.card {
  background: linear-gradient(135deg, rgba(42,49,66,.8), rgba(18,39,64,.9));
  border: 1px solid rgba(212,163,72,.15);
  padding: 2.5rem 2rem;
  position: relative;
  transition: transform .3s, border-color .3s, box-shadow .3s;
}
.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--gold-dim), transparent);
}
.card:hover {
  transform: translateY(-4px);
  border-color: rgba(212,163,72,.35);
  box-shadow: 0 8px 30px rgba(0,0,0,.3), 0 0 20px rgba(212,163,72,.05);
}

.card .icon {
  width: 50px;
  height: 50px;
  border: 1px solid var(--gold-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: var(--gold);
  margin-bottom: 1.5rem;
  position: relative;
}
.card .icon::after {
  content: '';
  position: absolute;
  bottom: -1px;
  right: -1px;
  width: 8px;
  height: 8px;
  border-right: 1px solid var(--gold);
  border-bottom: 1px solid var(--gold);
}

.card h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--cream);
  margin-bottom: .8rem;
  letter-spacing: .03em;
}

.card p {
  color: var(--text-dim);
  font-size: .95rem;
  line-height: 1.7;
}

/* ══════════════════════════════════════════════════════════════
   STATS BAR
   ══════════════════════════════════════════════════════════════ */
.stats-bar {
  background: linear-gradient(135deg, #060d18, var(--navy));
  border-top: 1px solid var(--gold-dim);
  border-bottom: 1px solid var(--gold-dim);
  padding: 3.5rem 5%;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 2.5rem;
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
}
.stat-number {
  font-family: var(--font-tech);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--gold);
  text-shadow: 0 0 20px rgba(212,163,72,.2);
}
.stat-label {
  font-family: var(--font-tech);
  font-size: .7rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-top: .3rem;
}

/* ══════════════════════════════════════════════════════════════
   CTA BAND
   ══════════════════════════════════════════════════════════════ */
.cta-band {
  background: linear-gradient(135deg, var(--gold-dim) 0%, var(--gold) 50%, var(--gold-dim) 100%);
  padding: 4rem 5%;
  text-align: center;
}
.cta-band h2 {
  font-family: var(--font-display);
  font-size: 2.2rem;
  color: var(--navy);
  margin-bottom: .8rem;
}
.cta-band p {
  color: var(--navy);
  font-size: 1.1rem;
  margin-bottom: 2rem;
  opacity: .85;
}
.cta-band .btn {
  border-color: var(--navy);
  color: var(--navy);
}
.cta-band .btn::before { background: var(--navy); }
.cta-band .btn:hover { color: var(--gold); }

/* ══════════════════════════════════════════════════════════════
   FOOTER
   ══════════════════════════════════════════════════════════════ */
footer {
  background: #060d18;
  border-top: 2px solid var(--gold-dim);
  padding: 3.5rem 5% 1.5rem;
}
.footer-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  margin-bottom: 2.5rem;
}
.footer-col h4 {
  font-family: var(--font-display);
  color: var(--gold);
  font-size: 1rem;
  letter-spacing: .08em;
  margin-bottom: 1rem;
}
.footer-col p,
.footer-col a {
  color: var(--text-dim);
  display: block;
  margin-bottom: .5rem;
  font-size: .92rem;
}
.footer-col a:hover { color: var(--gold); }

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(212,163,72,.1);
  color: var(--text-dim);
  font-size: .8rem;
  font-family: var(--font-tech);
  letter-spacing: .08em;
}

/* ══════════════════════════════════════════════════════════════
   PAGE-SPECIFIC: ABOUT
   ══════════════════════════════════════════════════════════════ */
.about-hero {
  padding: 6rem 5% 4rem;
  text-align: center;
  background:
    radial-gradient(ellipse at 50% 50%, rgba(212,163,72,.04) 0%, transparent 70%),
    linear-gradient(180deg, var(--navy) 0%, var(--charcoal) 100%);
}

.timeline {
  max-width: 700px;
  margin: 0 auto;
  position: relative;
  padding-left: 40px;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 12px;
  top: 0;
  bottom: 0;
  width: 1px;
  background: var(--gold-dim);
}
.timeline-item {
  margin-bottom: 2.5rem;
  position: relative;
}
.timeline-item::before {
  content: '⚙';
  position: absolute;
  left: -34px;
  top: .2rem;
  font-size: .7rem;
  color: var(--gold);
}
.timeline-item h3 {
  font-family: var(--font-tech);
  font-size: .8rem;
  color: var(--cyan);
  letter-spacing: .15em;
  margin-bottom: .3rem;
}
.timeline-item p {
  color: var(--text-dim);
}

/* ══════════════════════════════════════════════════════════════
   PAGE-SPECIFIC: SERVICES
   ══════════════════════════════════════════════════════════════ */
.service-detail {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 1.5rem;
  padding: 2.5rem 0;
  border-bottom: 1px solid rgba(212,163,72,.08);
  max-width: 900px;
  margin: 0 auto;
}
.service-detail:last-child { border-bottom: none; }
.service-detail .num {
  font-family: var(--font-tech);
  font-size: 2rem;
  font-weight: 700;
  color: var(--gold-dim);
}
.service-detail h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--cream);
  margin-bottom: .5rem;
}
.service-detail p { color: var(--text-dim); }

/* ══════════════════════════════════════════════════════════════
   PAGE-SPECIFIC: CONTACT
   ══════════════════════════════════════════════════════════════ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  max-width: 1000px;
  margin: 0 auto;
}
.contact-info-block {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
}
.contact-info-block .ci-icon {
  width: 44px;
  height: 44px;
  border: 1px solid var(--gold-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--gold);
  font-size: 1rem;
}
.contact-info-block h4 {
  font-family: var(--font-tech);
  font-size: .72rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: .2rem;
}
.contact-info-block p { color: var(--text-dim); font-size: .95rem; }

.form-group { margin-bottom: 1.5rem; }
.form-group label {
  display: block;
  font-family: var(--font-tech);
  font-size: .7rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: .4rem;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: .9rem 1rem;
  background: rgba(42,49,66,.5);
  border: 1px solid rgba(212,163,72,.15);
  color: var(--text);
  font-family: var(--font-body);
  font-size: .95rem;
  transition: border-color .3s;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--gold);
}
.form-group textarea { resize: vertical; min-height: 120px; }

/* ══════════════════════════════════════════════════════════════
   PAGE-SPECIFIC: LEGAL PAGES
   ══════════════════════════════════════════════════════════════ */
.legal-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 3rem 0;
}
.legal-content h2 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--gold);
  margin: 2.5rem 0 1rem;
  letter-spacing: .04em;
}
.legal-content h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--cream);
  margin: 1.5rem 0 .6rem;
}
.legal-content p {
  color: var(--text-dim);
  margin-bottom: 1rem;
  font-size: .95rem;
}
.legal-content ul {
  color: var(--text-dim);
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}
.legal-content li { margin-bottom: .4rem; font-size: .95rem; }

/* ══════════════════════════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
  nav ul {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #060d18;
    border-bottom: 1px solid var(--gold-dim);
    padding: 1rem 5%;
    gap: 1rem;
  }
  nav ul.active { display: flex; }
  .mobile-toggle { display: block; }

  .hero { padding: 5rem 5% 4rem; }
  .hero h1 { font-size: 2.2rem; }
  .hero .subtitle { font-size: 1.05rem; }

  .section-header h2 { font-size: 1.8rem; }

  .contact-grid { grid-template-columns: 1fr; }

  .service-detail { grid-template-columns: 50px 1fr; gap: 1rem; }
  .service-detail .num { font-size: 1.5rem; }

  .stat-number { font-size: 2rem; }
}
