/* ── RESET & ROOT ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy:   #0b1f3a;
  --navy2:  #102a50;
  --red:    #c0392b;
  --red2:   #e74c3c;
  --gold:   #c9a84c;
  --light:  #f4f6f9;
  --white:  #ffffff;
  --text:   #d0daea;
  --muted:  #7a90ab;
  --border: rgba(201,168,76,0.25);
}

html { scroll-behavior: smooth; }

body {
  background: var(--navy);
  color: var(--text);
  font-family: 'DM Sans', sans-serif;
  font-weight: 300;
  line-height: 1.7;
  overflow-x: hidden;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(201,168,76,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201,168,76,0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
  z-index: 0;
}

/* ── NAV ── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 6%;
  background: rgba(11,31,58,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.logo-icon {
  width: 38px; height: 38px;
  background: var(--red);
  clip-path: polygon(50% 0%,100% 25%,100% 75%,50% 100%,0% 75%,0% 25%);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}

.logo-icon svg { width: 20px; height: 20px; fill: #fff; }

.logo-text {
  font-family: 'Cormorant Garamond', serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.5px;
}
.logo-text span { color: var(--gold); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.8px;
  color: var(--text);
  text-decoration: none;
  text-transform: uppercase;
  transition: color 0.2s;
}

.nav-links a:hover,
.nav-links a.active { color: var(--gold); }

.nav-cta {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--gold) !important;
  text-decoration: none;
  border: 1px solid var(--gold);
  padding: 8px 20px;
  transition: all 0.25s;
}
.nav-cta:hover { background: var(--gold); color: var(--navy) !important; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--white);
  transition: all 0.3s;
}

/* ── PAGE WRAPPER ── */
.page { position: relative; z-index: 1; }

/* ── SECTION COMMONS ── */
.section {
  position: relative; z-index: 1;
  padding: 100px 6%;
  max-width: 1100px;
  margin: 0 auto;
}

.section-label {
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 14px;
}

.section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 16px;
}

.section-desc {
  font-size: 15px;
  color: var(--muted);
  max-width: 520px;
  margin-bottom: 56px;
}

/* ── BUTTONS ── */
.btn {
  display: inline-block;
  padding: 14px 32px;
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: all 0.25s;
}

.btn-primary { background: var(--red); color: #fff; }
.btn-primary:hover { background: var(--red2); }
.btn-outline { background: transparent; color: var(--gold); border: 1px solid var(--gold); }
.btn-outline:hover { background: var(--gold); color: var(--navy); }

/* ── DIVIDER ── */
.divider {
  display: flex; gap: 4px; margin-bottom: 20px;
}
.divider span:first-child { background: var(--red); width: 32px; height: 2px; border-radius: 2px; display:block; }
.divider span:last-child  { background: var(--navy2); width: 12px; height: 2px; border-radius: 2px; display:block; }

/* ── STATS STRIP ── */
.stats {
  position: relative; z-index: 1;
  display: flex;
  justify-content: center;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: rgba(16,42,80,0.6);
  backdrop-filter: blur(6px);
}

.stat {
  flex: 1; max-width: 260px;
  padding: 40px 32px;
  text-align: center;
  border-right: 1px solid var(--border);
}
.stat:last-child { border-right: none; }

.stat-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 48px; font-weight: 700;
  color: var(--white); line-height: 1;
  margin-bottom: 6px;
}
.stat-num span { color: var(--red2); }
.stat-label { font-size: 11px; letter-spacing: 1.8px; text-transform: uppercase; color: var(--muted); font-weight: 500; }

/* ── CARDS ── */
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2px; background: var(--border); }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 2px; background: var(--border); }

.card {
  background: var(--navy2);
  padding: 40px 36px;
  transition: background 0.25s;
  position: relative;
  overflow: hidden;
}
.card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 3px; height: 0;
  background: var(--red);
  transition: height 0.3s;
}
.card:hover { background: #122d58; }
.card:hover::before { height: 100%; }

.card-icon {
  width: 52px; height: 52px;
  background: rgba(192,57,43,0.12);
  border: 1px solid rgba(192,57,43,0.3);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 24px;
  font-size: 22px;
}

.card-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px; font-weight: 700;
  color: var(--white);
  margin-bottom: 10px;
}

.card-desc { font-size: 14px; color: var(--muted); line-height: 1.7; }

/* ── FORM ── */
.form-group { margin-bottom: 20px; }

.form-group label {
  display: block;
  font-size: 12px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 8px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 14px 18px;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  color: var(--white);
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  outline: none;
  transition: border-color 0.2s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus { border-color: var(--gold); }
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--muted); }

.form-group textarea { min-height: 130px; resize: vertical; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }

.inline-form {
  display: flex; gap: 0; max-width: 480px; width: 100%;
  box-shadow: 0 0 0 1px var(--border), 0 20px 60px rgba(0,0,0,0.4);
}
.inline-form input {
  flex: 1; padding: 16px 20px;
  background: rgba(255,255,255,0.05);
  border: none; color: var(--white);
  font-family: 'DM Sans', sans-serif; font-size: 14px; outline: none;
}
.inline-form input::placeholder { color: var(--muted); }
.inline-form button {
  padding: 16px 28px; background: var(--red); color: #fff;
  border: none; font-family: 'DM Sans', sans-serif;
  font-size: 13px; font-weight: 600; letter-spacing: 1px;
  text-transform: uppercase; cursor: pointer; transition: background 0.2s;
  white-space: nowrap;
}
.inline-form button:hover { background: var(--red2); }

.alert {
  padding: 14px 20px;
  font-size: 14px;
  margin-top: 16px;
  display: none;
}
.alert-success { background: rgba(201,168,76,0.1); border: 1px solid var(--gold); color: var(--gold); }
.alert-error   { background: rgba(192,57,43,0.1);  border: 1px solid var(--red);  color: var(--red2); }

/* ── FOOTER ── */
footer {
  position: relative; z-index: 1;
  background: #07151f;
  border-top: 1px solid var(--border);
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding: 70px 6% 50px;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-brand p { font-size: 14px; color: var(--muted); margin-top: 16px; max-width: 280px; line-height: 1.7; }

.footer-col h4 {
  font-size: 11px; letter-spacing: 2px; text-transform: uppercase;
  color: var(--gold); font-weight: 600; margin-bottom: 20px;
}

.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a {
  font-size: 14px; color: var(--muted); text-decoration: none; transition: color 0.2s;
}
.footer-col ul li a:hover { color: var(--white); }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 22px 6%;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 12px;
  max-width: 1200px; margin: 0 auto;
}

.footer-bottom p { font-size: 13px; color: var(--muted); }

/* ── PAGE HERO ── */
.page-hero {
  position: relative; z-index: 1;
  padding: 160px 6% 80px;
  text-align: center;
  overflow: hidden;
}
.page-hero::after {
  content: '';
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(192,57,43,0.1) 0%, transparent 70%);
  pointer-events: none;
}

.page-hero h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(38px, 6vw, 72px);
  font-weight: 700;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 16px;
}
.page-hero h1 em { font-style: normal; color: var(--red2); }
.page-hero p {
  font-size: 16px; color: var(--muted);
  max-width: 540px; margin: 0 auto;
}

/* ── ANIMATIONS ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes pulse {
  0%,100% { opacity:1; transform:scale(1); }
  50%      { opacity:0.5; transform:scale(1.4); }
}

.anim { animation: fadeUp 0.7s ease both; }
.anim-1 { animation-delay: 0.1s; }
.anim-2 { animation-delay: 0.2s; }
.anim-3 { animation-delay: 0.3s; }
.anim-4 { animation-delay: 0.4s; }

.reveal {
  opacity: 0; transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .nav-links { display: none; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: rgba(11,31,58,0.98); padding: 24px 6%; gap: 20px; border-bottom: 1px solid var(--border); }
  .nav-links.open { display: flex; }
  .hamburger { display: flex; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }
  .stats { flex-direction: column; }
  .stat { border-right: none; border-bottom: 1px solid var(--border); max-width: 100%; }
  .stat:last-child { border-bottom: none; }
  .form-row { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .footer-top { grid-template-columns: 1fr; }
  .inline-form { flex-direction: column; }
}
