/* ============================================================
   FOME ALLIANCE — Design System (Royal Blue Edition)
   EasyStudio Pitch Concept | WordPress-ready
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Lora:ital,wght@0,400;0,600;0,700;1,400;1,600&family=DM+Sans:opsz,wght@9..40,300;9..40,400;9..40,500&display=swap');

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
img { max-width: 100%; display: block; }
a { text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; font-family: inherit; }

:root {
  --cream:        #EEF2FA;
  --warm-white:   #F5F8FD;
  --navy:         #0B1F4A;
  --navy-deep:    #071536;
  --royal:        #1A3A8C;
  --royal-mid:    #2952B3;
  --blue-bright:  #3D6FD4;
  --blue-light:   #6B92E0;
  --silver:       #C8D4E8;
  --silver-light: #E0E8F5;
  --silver-pale:  #F0F4FC;
  --silver-bright:#FFFFFF;
  --text-dark:    #0B1525;
  --text-mid:     #354870;
  --text-light:   #6278A0;
  --text-muted:   #94A5C4;
  --border:       rgba(26,58,140,0.10);
  --border-mid:   rgba(26,58,140,0.18);
  --shadow-sm:    0 1px 4px rgba(11,31,74,0.07);
  --shadow-md:    0 4px 20px rgba(11,31,74,0.12);
  --shadow-lg:    0 12px 48px rgba(11,31,74,0.16);
  --font-serif:  'Lora', Georgia, serif;
  --font-sans:   'DM Sans', system-ui, sans-serif;
  --radius-sm:   8px;
  --radius-md:   14px;
  --radius-lg:   20px;
  --radius-xl:   28px;
  --radius-pill: 100px;
  --nav-h:       68px;
  --max-w:       1200px;
  --section-v:   96px;
}

body {
  font-family: var(--font-sans);
  background: var(--cream);
  color: var(--text-dark);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

.container { max-width: var(--max-w); margin: 0 auto; padding: 0 48px; }

/* NAV */
.site-nav {
  position: sticky; top: 0; z-index: 200;
  height: var(--nav-h);
  background: var(--navy-deep);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.site-nav .container { height: 100%; display: flex; align-items: center; justify-content: space-between; }
.nav-logo { display: flex; align-items: center; gap: 11px; }
.logo-mark {
  width: 36px; height: 36px; border-radius: 8px;
  background: var(--silver);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-serif); font-size: 16px; font-weight: 700;
  color: var(--navy); letter-spacing: -0.5px; flex-shrink: 0;
}
.logo-wordmark strong { display: block; font-family: var(--font-serif); font-size: 15px; font-weight: 600; color: var(--silver-bright); letter-spacing: 0.04em; line-height: 1.2; }
.logo-wordmark span { display: block; font-size: 10px; font-weight: 300; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(200,212,232,0.45); margin-top: 1px; }
.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-links a { font-size: 13.5px; font-weight: 400; color: rgba(200,212,232,0.65); padding: 6px 14px; border-radius: var(--radius-pill); transition: color 0.2s, background 0.2s; letter-spacing: 0.02em; }
.nav-links a:hover, .nav-links a.active { color: var(--silver-bright); background: rgba(255,255,255,0.07); }
.nav-cta { background: var(--silver) !important; color: var(--navy) !important; font-weight: 500 !important; margin-left: 8px; }
.nav-cta:hover { background: var(--silver-bright) !important; }

/* BUTTONS */
.btn { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-sans); font-size: 14px; font-weight: 500; padding: 12px 26px; border-radius: var(--radius-pill); border: none; transition: all 0.22s ease; letter-spacing: 0.02em; cursor: pointer; white-space: nowrap; }
.btn-primary { background: var(--royal); color: var(--silver-bright); }
.btn-primary:hover { background: var(--royal-mid); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-silver { background: var(--silver); color: var(--navy); }
.btn-silver:hover { background: var(--silver-bright); transform: translateY(-1px); box-shadow: 0 4px 20px rgba(200,212,232,0.35); }
.btn-outline { background: transparent; color: var(--text-dark); border: 1.5px solid var(--border-mid); }
.btn-outline:hover { border-color: var(--blue-light); color: var(--royal); transform: translateY(-1px); }
.btn-outline-white { background: transparent; color: var(--silver-bright); border: 1.5px solid rgba(255,255,255,0.25); }
.btn-outline-white:hover { border-color: rgba(255,255,255,0.65); background: rgba(255,255,255,0.07); }
/* legacy alias */
.btn-gold { background: var(--silver); color: var(--navy); }
.btn-gold:hover { background: var(--silver-bright); transform: translateY(-1px); }

/* SECTION LABELS */
.section-label { display: inline-flex; align-items: center; gap: 10px; font-size: 11px; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: var(--blue-bright); margin-bottom: 16px; }
.section-label::before { content: ''; display: block; width: 20px; height: 1.5px; background: var(--blue-bright); flex-shrink: 0; }
.section-title { font-family: var(--font-serif); font-size: 40px; font-weight: 600; line-height: 1.15; color: var(--text-dark); letter-spacing: -0.3px; }
.section-title em { font-style: italic; color: var(--royal-mid); }
.section-title.white { color: var(--silver-bright); }
.section-title.white em { color: var(--silver); }
.section-desc { font-size: 16px; font-weight: 300; color: var(--text-mid); line-height: 1.8; max-width: 560px; }
.section-desc.white { color: rgba(200,212,232,0.65); }

/* TICKER */
.ticker-bar { background: var(--royal); padding: 9px 0; overflow: hidden; white-space: nowrap; }
.ticker-track { display: inline-flex; gap: 40px; animation: ticker-scroll 30s linear infinite; }
.ticker-item { font-size: 11.5px; font-weight: 500; color: rgba(220,230,248,0.9); letter-spacing: 0.08em; text-transform: uppercase; flex-shrink: 0; }
.ticker-sep { color: rgba(200,212,232,0.35); }
@keyframes ticker-scroll { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* PAGE HERO */
.page-hero { background: var(--navy-deep); padding: 80px 0 72px; position: relative; overflow: hidden; }
.page-hero::before { content: ''; position: absolute; top: -120px; right: -120px; width: 500px; height: 500px; border-radius: 50%; background: radial-gradient(circle, rgba(200,212,232,0.05) 0%, transparent 65%); pointer-events: none; }
.page-hero-eyebrow { font-size: 11px; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: var(--silver); margin-bottom: 16px; display: flex; align-items: center; gap: 10px; }
.page-hero-eyebrow::before { content: ''; display: block; width: 20px; height: 1.5px; background: var(--silver); }
.page-hero h1 { font-family: var(--font-serif); font-size: 52px; font-weight: 600; color: var(--silver-bright); line-height: 1.1; letter-spacing: -0.5px; max-width: 700px; margin-bottom: 18px; }
.page-hero h1 em { font-style: italic; color: var(--silver); }
.page-hero p { font-size: 17px; font-weight: 300; color: rgba(200,212,232,0.65); max-width: 520px; line-height: 1.75; }

/* CARDS */
.card { background: var(--warm-white); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; transition: box-shadow 0.25s, transform 0.25s; }
.card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }

/* TAGS */
.tag { display: inline-block; padding: 4px 12px; border-radius: var(--radius-pill); font-size: 11px; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; }
.tag-gold, .tag-silver { background: var(--silver-pale); color: var(--royal); border: 1px solid var(--silver-light); }
.tag-sage, .tag-blue  { background: rgba(61,111,212,0.08); color: var(--royal-mid); }
.tag-forest, .tag-navy { background: var(--navy); color: var(--silver-bright); }

/* FOOTER */
.site-footer { background: var(--navy-deep); padding: 64px 0 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; padding-bottom: 56px; border-bottom: 1px solid rgba(255,255,255,0.07); }
.footer-brand p { font-size: 14px; font-weight: 300; color: rgba(200,212,232,0.4); line-height: 1.75; margin-top: 16px; max-width: 300px; }
.footer-col h4 { font-size: 11px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(200,212,232,0.35); margin-bottom: 18px; }
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a { font-size: 14px; font-weight: 300; color: rgba(200,212,232,0.55); transition: color 0.2s; }
.footer-col a:hover { color: var(--silver-bright); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; padding: 20px 0; }
.footer-bottom p { font-size: 12px; color: rgba(200,212,232,0.22); letter-spacing: 0.04em; }
.footer-bottom strong { color: var(--silver); font-weight: 500; }

/* PITCH BADGE */
.pitch-badge { position: fixed; bottom: 22px; right: 22px; background: var(--silver); color: var(--navy); padding: 8px 18px; border-radius: var(--radius-pill); font-size: 11px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; z-index: 9999; box-shadow: 0 4px 20px rgba(11,31,74,0.25); pointer-events: none; }

/* ANIMATIONS */
@keyframes fade-up { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }
.fade-up { animation: fade-up 0.65s ease both; }
.delay-1 { animation-delay: 0.1s; } .delay-2 { animation-delay: 0.2s; } .delay-3 { animation-delay: 0.3s; } .delay-4 { animation-delay: 0.4s; } .delay-5 { animation-delay: 0.5s; }

/* UTILITY */
.text-center { text-align: center; }
.mt-8{margin-top:8px} .mt-12{margin-top:12px} .mt-16{margin-top:16px} .mt-20{margin-top:20px} .mt-24{margin-top:24px} .mt-32{margin-top:32px} .mt-40{margin-top:40px} .mt-48{margin-top:48px} .mt-56{margin-top:56px} .mt-64{margin-top:64px}

/* ============================================================
   RESPONSIVE — Mobile & Tablet Breakpoints
   ============================================================ */

/* ── TABLET (≤ 900px) ── */
@media (max-width: 900px) {
  :root {
    --section-v: 64px;
    --nav-h: 60px;
  }

  .container { padding: 0 24px; }

  /* Nav */
  .nav-links { display: none; }
  .site-nav .container { justify-content: space-between; }

  /* Mobile nav toggle */
  .nav-mobile-toggle {
    display: flex;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
  }
  .nav-mobile-toggle span {
    display: block;
    width: 22px; height: 2px;
    background: var(--silver);
    border-radius: 2px;
    transition: all 0.25s;
  }

  /* Mobile menu drawer */
  .nav-mobile-menu {
    display: none;
    position: fixed;
    top: 60px; left: 0; right: 0; bottom: 0;
    background: var(--navy-deep);
    z-index: 199;
    padding: 32px 24px;
    flex-direction: column;
    gap: 8px;
    overflow-y: auto;
  }
  .nav-mobile-menu.open { display: flex; }
  .nav-mobile-menu a {
    font-size: 20px;
    font-weight: 400;
    font-family: var(--font-serif);
    color: rgba(200,212,232,0.75);
    padding: 14px 0;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    display: block;
    transition: color 0.2s;
  }
  .nav-mobile-menu a:last-child { border-bottom: none; }
  .nav-mobile-menu a:hover { color: var(--silver-bright); }
  .nav-mobile-menu .nav-cta-mobile {
    margin-top: 16px;
    background: var(--silver);
    color: var(--navy);
    text-align: center;
    padding: 14px;
    border-radius: var(--radius-pill);
    font-weight: 500;
    font-family: var(--font-sans);
    font-size: 15px;
    border-bottom: none !important;
  }

  /* Page hero */
  .page-hero { padding: 52px 0 44px; }
  .page-hero h1 { font-size: 36px; }
  .page-hero p { font-size: 15px; }

  /* Section titles */
  .section-title { font-size: 30px; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .footer-brand { grid-column: span 2; }
}

/* ── MOBILE (≤ 600px) ── */
@media (max-width: 600px) {
  :root { --section-v: 52px; }

  .container { padding: 0 18px; }

  .section-title { font-size: 26px; }
  .section-desc  { font-size: 14.5px; }

  .page-hero { padding: 40px 0 36px; }
  .page-hero h1 { font-size: 30px; letter-spacing: -0.3px; }
  .page-hero p  { font-size: 14px; }

  .btn { font-size: 13px; padding: 11px 20px; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr; }
  .footer-brand { grid-column: span 1; }
  .footer-bottom { flex-direction: column; gap: 6px; text-align: center; }
}

/* Hide mobile toggle on desktop */
.nav-mobile-toggle { display: none; }
@media (max-width: 900px) {
  .nav-mobile-toggle { display: flex; }
}
