/* ═══════════════════════════════════════════
   ROMAN EDUCATION — GLOBAL STYLESHEET
   Theme: Navy #1B3A6B + Gold #F5A623
   Fonts: Montserrat (headings) + Inter (body)
═══════════════════════════════════════════ */

/* ── DESIGN TOKENS ──────────────────────── */
:root {
  --navy:      #1B3A6B;
  --navy-d:    #122850;
  --gold:      #F5A623;
  --gold-d:    #D48C10;
  --white:     #FFFFFF;
  --bg:        #F7F9FC;
  --light:     #E8EDF5;
  --dark:      #1A1A2E;
  --mid:       #4A5568;
  --border:    #dde3f0;
  --radius:    12px;
  --shadow:    0 4px 24px rgba(27,58,107,0.10);
  --shadow-lg: 0 8px 32px rgba(27,58,107,0.13);
}

/* ── RESET ──────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', sans-serif;
  background: var(--white);
  color: var(--dark);
  line-height: 1.6;
}
img  { max-width: 100%; display: block; }
a    { text-decoration: none; color: inherit; }
ul   { list-style: none; }

/* ── TYPOGRAPHY ─────────────────────────── */
h1, h2, h3, h4 {
  font-family: 'Montserrat', sans-serif;
  line-height: 1.2;
}

/* ── LAYOUT ─────────────────────────────── */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── SHARED COMPONENTS ───────────────────── */

/* Buttons */
.btn-gold {
  display: inline-block;
  background: var(--gold);
  color: var(--navy);
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  padding: 14px 32px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: background .2s, transform .15s;
  letter-spacing: 0.01em;
}
.btn-gold:hover {
  background: var(--gold-d);
  transform: translateY(-1px);
}

.btn-outline {
  display: inline-block;
  background: transparent;
  color: var(--white);
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  padding: 13px 30px;
  border-radius: 8px;
  border: 2px solid rgba(255,255,255,0.55);
  cursor: pointer;
  transition: all .2s;
}
.btn-outline:hover {
  border-color: var(--gold);
  color: var(--gold);
}

/* Section labels */
.section-eyebrow {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
}

.section-title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 2rem;
  color: var(--navy);
  line-height: 1.2;
  margin-bottom: 16px;
}

.section-sub {
  font-size: 1.05rem;
  color: var(--mid);
  max-width: 540px;
}

/* ════════════════════════════════════════════
   NAVIGATION
════════════════════════════════════════════ */
nav {
  background: var(--navy);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 12px rgba(0,0,0,0.18);
}

.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  height: 68px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}
.nav-logo img {
  height: 44px;
  width: 44px;
  border-radius: 6px;
}
.nav-logo-text {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  color: var(--white);
  font-size: 1.1rem;
  line-height: 1.1;
}
.nav-logo-text span {
  display: block;
  color: var(--gold);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  gap: 4px;
}
.nav-links a {
  color: rgba(255,255,255,0.8);
  font-family: 'Inter', sans-serif;
  font-size: 0.92rem;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: 6px;
  transition: all .2s;
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--gold);
  background: rgba(245,166,35,0.1);
}
.nav-links a.nav-cta {
  background: var(--gold);
  color: var(--navy);
  font-weight: 700;
  border-radius: 8px;
  padding: 9px 20px;
}
.nav-links a.nav-cta:hover {
  background: var(--gold-d);
  color: var(--navy);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: .3s;
}

/* Mobile nav drawer */
.mobile-nav {
  display: none;
  background: var(--navy);
  padding: 8px 24px 16px;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.mobile-nav.open { display: block; }
.mobile-nav a {
  display: block;
  color: rgba(255,255,255,0.85);
  font-size: 1rem;
  padding: 13px 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  font-family: 'Inter', sans-serif;
}
.mobile-nav a:last-child {
  border-bottom: none;
  color: var(--gold);
  font-weight: 700;
}

/* ════════════════════════════════════════════
   PAGE HERO (inner pages)
════════════════════════════════════════════ */
.page-hero {
  background: var(--navy);
  padding: 60px 0 52px;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  top: -60px; right: -80px;
  width: 360px; height: 360px;
  background: radial-gradient(circle, var(--gold) 0%, transparent 65%);
  opacity: 0.08;
  pointer-events: none;
}
.page-hero h1 {
  font-weight: 800;
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  color: var(--white);
  line-height: 1.2;
}
.page-hero p {
  color: rgba(255,255,255,0.72);
  margin-top: 12px;
  font-size: 1.05rem;
  max-width: 520px;
}

/* ════════════════════════════════════════════
   TRUST BAR
════════════════════════════════════════════ */
.trust-bar {
  background: var(--light);
  border-bottom: 1px solid #dde3ee;
}
.trust-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 18px 24px;
  display: flex;
  gap: 32px;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--navy);
}
.trust-item .icon { font-size: 1.2rem; }

/* ════════════════════════════════════════════
   FOOTER
════════════════════════════════════════════ */
footer {
  background: var(--dark);
  color: rgba(255,255,255,0.65);
  padding: 40px 0;
  text-align: center;
  font-size: 0.85rem;
}
footer strong { color: var(--gold); }
footer p + p { margin-top: 8px; }

/* ════════════════════════════════════════════
   WHATSAPP FLOATING BUTTON
════════════════════════════════════════════ */
.wa-float {
  position: fixed;
  bottom: 28px; right: 28px;
  z-index: 999;
  width: 58px; height: 58px;
  border-radius: 50%;
  background: #25D366;
  box-shadow: 0 4px 20px rgba(37,211,102,0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform .2s;
}
.wa-float:hover { transform: scale(1.08); }
.wa-float svg {
  width: 30px; height: 30px;
  fill: white;
}

/* ════════════════════════════════════════════
   RESPONSIVE BREAKPOINTS
════════════════════════════════════════════ */
@media (max-width: 768px) {
  .nav-links  { display: none; }
  .hamburger  { display: flex; }
  .section-title { font-size: 1.6rem; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .btn-gold, .btn-outline { width: 100%; text-align: center; }
}
