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

:root {
  --navy:       #0D1B3E;
  --navy-mid:   #152952;
  --navy-light: #1E3A6E;
  --gold:       #B8963E;
  --gold-light: #D4AF6A;
  --gold-pale:  #F5EDD8;
  --white:      #FAFBFC;
  --off-white:  #F0F2F5;
  --text-dark:  #0D1B3E;
  --text-mid:   #3A4A68;
  --text-light: #6B7A99;
  --border:     rgba(13,27,62,0.10);
  --border-gold:rgba(184,150,62,0.25);
  --shadow-sm:  0 2px 8px rgba(13,27,62,0.07);
  --shadow-md:  0 8px 32px rgba(13,27,62,0.12);
  --shadow-lg:  0 20px 60px rgba(13,27,62,0.18);
  --radius:     4px;
  --radius-lg:  10px;
  --transition: 0.28s cubic-bezier(0.4,0,0.2,1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'DM Sans', sans-serif;
  color: var(--text-dark);
  background: var(--white);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ── TYPOGRAPHY ── */
h1, h2, h3, h4, h5 {
  font-family: 'Cormorant Garamond', serif;
  line-height: 1.15;
  color: var(--navy);
  font-weight: 600;
}
h1 { font-size: clamp(2.4rem, 5vw, 3.8rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.75rem); }
h4 { font-size: 1.2rem; font-family: 'DM Sans', sans-serif; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; }
p  { font-size: 1rem; color: var(--text-mid); line-height: 1.75; }
a  { color: inherit; text-decoration: none; }

/* ── LAYOUT ── */
.container { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.section    { padding: 96px 0; }
.section--dark { background: var(--navy); }
.section--cream { background: var(--gold-pale); }
.section--light { background: var(--off-white); }

/* ── HEADER ── */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(250,251,252,0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow var(--transition);
}
.site-header.scrolled { box-shadow: var(--shadow-md); }

.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px; gap: 24px;
}
.logo { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.logo img { width: 48px; height: 48px; object-fit: contain; }
.logo-text { 
  font-family: 'Cormorant Garamond', serif; 
  font-size: 1.05rem; 
  font-weight: 600; 
  color: var(--navy); 
  line-height: 1.2;
  display: none;
}
@media (min-width: 600px) { .logo-text { display: block; } }

/* Desktop Nav */
.nav-desktop { display: none; align-items: center; gap: 4px; }
@media (min-width: 1024px) { .nav-desktop { display: flex; } }

.nav-desktop a {
  font-size: 0.82rem; font-weight: 500; letter-spacing: 0.04em;
  text-transform: uppercase; color: var(--text-mid);
  padding: 6px 10px; border-radius: var(--radius);
  transition: color var(--transition), background var(--transition);
  white-space: nowrap;
}
.nav-desktop a:hover, .nav-desktop a.active {
  color: var(--navy); background: var(--off-white);
}

/* Header Right */
.header-right { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }

/* Language Switcher */
.lang-switcher {
  display: flex; align-items: center; gap: 2px;
  background: var(--off-white); border-radius: 20px;
  padding: 3px; border: 1px solid var(--border);
}
.lang-switcher a {
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.06em;
  text-transform: uppercase; padding: 4px 10px;
  border-radius: 16px; color: var(--text-light);
  transition: all var(--transition);
}
.lang-switcher a.active {
  background: var(--navy); color: var(--white);
}

/* Hamburger */
.hamburger {
  display: flex; flex-direction: column; justify-content: center;
  gap: 5px; width: 36px; height: 36px; cursor: pointer;
  border: none; background: none; padding: 4px;
}
@media (min-width: 1024px) { .hamburger { display: none; } }
.hamburger span {
  display: block; height: 1.5px; background: var(--navy);
  transition: all var(--transition); border-radius: 2px;
}
.hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Mobile menu */
.nav-mobile {
  display: none; position: fixed; top: 72px; left: 0; right: 0; bottom: 0;
  background: var(--white); z-index: 999; padding: 32px 24px;
  overflow-y: auto; flex-direction: column; gap: 4px;
}
.nav-mobile.open { display: flex; }
.nav-mobile a {
  font-size: 1.1rem; font-weight: 500; color: var(--text-mid);
  padding: 14px 16px; border-radius: var(--radius);
  border-bottom: 1px solid var(--border);
  transition: color var(--transition), background var(--transition);
}
.nav-mobile a:hover { color: var(--navy); background: var(--off-white); }

/* ── HERO ── */
.hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center;
  background: var(--navy);
  overflow: hidden; padding-top: 72px;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background: 
    radial-gradient(ellipse 60% 70% at 75% 50%, rgba(184,150,62,0.08) 0%, transparent 60%),
    radial-gradient(ellipse 40% 50% at 10% 80%, rgba(30,58,110,0.6) 0%, transparent 70%);
}
.hero-grid {
  position: absolute; inset: 0; opacity: 0.04;
  background-image: 
    linear-gradient(rgba(255,255,255,0.5) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.5) 1px, transparent 1px);
  background-size: 60px 60px;
}
.hero-content {
  position: relative; z-index: 2;
  max-width: 780px; padding: 80px 0;
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.75rem; font-weight: 600; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--gold);
  margin-bottom: 24px;
}
.hero-eyebrow::before {
  content: ''; display: block; width: 24px; height: 1px; background: var(--gold);
}
.hero h1 { color: var(--white); margin-bottom: 24px; }
.hero h1 em { color: var(--gold); font-style: italic; }
.hero-subtitle {
  font-size: 1.15rem; color: rgba(255,255,255,0.72);
  max-width: 580px; margin-bottom: 48px; font-weight: 300;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ── BUTTONS ── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: 'DM Sans', sans-serif; font-size: 0.88rem;
  font-weight: 600; letter-spacing: 0.04em;
  padding: 13px 26px; border-radius: var(--radius);
  border: 1.5px solid transparent;
  cursor: pointer; transition: all var(--transition);
  white-space: nowrap; text-decoration: none;
}
.btn-primary {
  background: var(--gold); color: var(--navy);
  border-color: var(--gold);
}
.btn-primary:hover {
  background: var(--gold-light); border-color: var(--gold-light);
  transform: translateY(-1px); box-shadow: 0 4px 16px rgba(184,150,62,0.35);
}
.btn-outline {
  background: transparent; color: var(--white);
  border-color: rgba(255,255,255,0.35);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.6);
}
.btn-navy {
  background: var(--navy); color: var(--white); border-color: var(--navy);
}
.btn-navy:hover {
  background: var(--navy-light); transform: translateY(-1px); box-shadow: var(--shadow-md);
}
.btn-ghost {
  background: transparent; color: var(--text-mid); border-color: var(--border);
}
.btn-ghost:hover { background: var(--off-white); color: var(--navy); }

/* ── CARDS ── */
.cards-grid {
  display: grid; gap: 1px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  background: var(--border); border: 1px solid var(--border);
  border-radius: var(--radius-lg); overflow: hidden;
}
.card {
  background: var(--white); padding: 40px 32px;
  transition: background var(--transition);
}
.card:hover { background: var(--off-white); }
.card-icon {
  width: 44px; height: 44px; border-radius: var(--radius);
  background: var(--navy); display: flex; align-items: center;
  justify-content: center; margin-bottom: 20px;
}
.card-icon svg { width: 22px; height: 22px; stroke: var(--gold); }
.card h3 { font-size: 1.2rem; margin-bottom: 10px; }
.card p { font-size: 0.92rem; color: var(--text-light); }
.card-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 0.82rem; font-weight: 600; letter-spacing: 0.04em;
  text-transform: uppercase; color: var(--gold); margin-top: 20px;
  transition: gap var(--transition);
}
.card:hover .card-link { gap: 10px; }

/* ── STEPS (How It Works) ── */
.steps { display: flex; flex-direction: column; gap: 0; }
.step {
  display: grid; grid-template-columns: 56px 1fr;
  gap: 24px; padding: 32px 0;
  border-bottom: 1px solid var(--border);
}
.step:last-child { border-bottom: none; }
.step-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.2rem; font-weight: 300; color: var(--gold);
  line-height: 1; padding-top: 4px;
}
.step-body h3 { font-size: 1.1rem; margin-bottom: 8px; }
.step-body p  { font-size: 0.92rem; }

/* ── LAYERS (4 straturi) ── */
.layers { display: grid; gap: 24px; }
@media (min-width: 768px) { .layers { grid-template-columns: 1fr 1fr; } }
.layer {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 36px 32px;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.layer:hover { border-color: var(--gold); box-shadow: var(--shadow-sm); }
.layer-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 3rem; font-weight: 300; color: var(--gold-pale);
  line-height: 1; margin-bottom: 12px;
}
.layer h3 { margin-bottom: 12px; }
.layer-tag {
  display: inline-block; font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--gold); background: rgba(184,150,62,0.10);
  padding: 4px 10px; border-radius: 20px; margin-bottom: 16px;
}

/* ── MODULES (Civic OS) ── */
.modules { display: grid; gap: 16px; }
@media (min-width: 640px) { .modules { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .modules { grid-template-columns: repeat(3, 1fr); } }
.module {
  background: var(--off-white); border-radius: var(--radius-lg);
  padding: 28px; border: 1px solid var(--border);
  transition: all var(--transition);
}
.module:hover {
  background: var(--white); border-color: var(--gold);
  transform: translateY(-2px); box-shadow: var(--shadow-sm);
}
.module-code {
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--gold); margin-bottom: 12px;
}
.module h4 { font-size: 1rem; text-transform: none; letter-spacing: 0; margin-bottom: 8px; }
.module p  { font-size: 0.88rem; }

/* ── PRINCIPLES ── */
.principles-grid { display: flex; flex-wrap: wrap; gap: 12px; }
.principle-tag {
  font-size: 0.88rem; font-weight: 500; color: var(--navy);
  background: var(--white); border: 1px solid var(--border-gold);
  padding: 10px 20px; border-radius: 40px;
  transition: all var(--transition);
}
.principle-tag:hover { background: var(--gold); color: var(--navy); border-color: var(--gold); }

/* ── SECTION HEADER ── */
.section-header { max-width: 680px; margin-bottom: 56px; }
.section-header .eyebrow {
  font-size: 0.75rem; font-weight: 600; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--gold); margin-bottom: 16px;
  display: block;
}
.section-header h2 { margin-bottom: 16px; }
.section-header p { font-size: 1.05rem; }

/* Dark section overrides */
.section--dark .section-header h2,
.section--dark h2,
.section--dark h3 { color: var(--white); }
.section--dark .section-header p,
.section--dark p  { color: rgba(255,255,255,0.65); }
.section--dark .eyebrow { color: var(--gold); }

/* ── CTA SECTION ── */
.cta-section {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  padding: 96px 0; text-align: center; position: relative; overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute; width: 600px; height: 600px;
  border-radius: 50%; background: rgba(184,150,62,0.06);
  top: -200px; right: -100px;
}
.cta-section h2 { color: var(--white); margin-bottom: 16px; }
.cta-section p { color: rgba(255,255,255,0.68); max-width: 560px; margin: 0 auto 36px; font-size: 1.05rem; }

/* ── FOOTER ── */
.site-footer {
  background: var(--navy); color: rgba(255,255,255,0.65);
  padding: 64px 0 32px;
}
.footer-grid {
  display: grid; gap: 48px;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) { .footer-grid { grid-template-columns: 1.6fr 1fr 1fr; } }

.footer-brand .logo { margin-bottom: 20px; }
.footer-brand .logo-text { color: var(--white); }
.footer-brand p { font-size: 0.88rem; line-height: 1.7; }

.footer-col h5 {
  font-family: 'DM Sans', sans-serif; font-size: 0.72rem;
  font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 16px;
}
.footer-col a {
  display: block; font-size: 0.88rem; color: rgba(255,255,255,0.6);
  margin-bottom: 8px; transition: color var(--transition);
}
.footer-col a:hover { color: var(--white); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  margin-top: 48px; padding-top: 24px;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 12px; font-size: 0.8rem;
}
.footer-bottom a { color: rgba(255,255,255,0.5); transition: color var(--transition); }
.footer-bottom a:hover { color: var(--white); }

/* Social icons */
.social-links { display: flex; gap: 12px; margin-top: 20px; }
.social-links a {
  width: 36px; height: 36px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.15);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.6); font-size: 0.8rem;
  transition: all var(--transition);
}
.social-links a:hover {
  border-color: var(--gold); color: var(--gold);
  background: rgba(184,150,62,0.10);
}

/* ── PAGE SPECIFIC ── */
.page-hero {
  background: var(--navy); padding: 140px 0 80px;
  position: relative; overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 50% 80% at 80% 50%, rgba(184,150,62,0.07) 0%, transparent 70%);
}
.page-hero h1 { color: var(--white); }
.page-hero p { color: rgba(255,255,255,0.68); max-width: 620px; font-size: 1.1rem; margin-top: 16px; }

/* Breadcrumb */
.breadcrumb {
  display: flex; align-items: center; gap: 8px;
  font-size: 0.78rem; color: rgba(255,255,255,0.45);
  margin-bottom: 20px;
}
.breadcrumb a { color: rgba(255,255,255,0.45); transition: color var(--transition); }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb span { color: var(--gold); }

/* Commitments */
.commitments { display: flex; flex-direction: column; gap: 16px; }
.commitment {
  display: flex; align-items: flex-start; gap: 16px;
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 24px;
}
.commitment-check {
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--navy); display: flex; align-items: center;
  justify-content: center; flex-shrink: 0;
}
.commitment-check svg { width: 16px; height: 16px; stroke: var(--gold); }
.commitment p { font-size: 0.95rem; color: var(--text-mid); }

/* Contact form */
.contact-form { max-width: 640px; }
.form-group { margin-bottom: 24px; }
.form-group label {
  display: block; font-size: 0.82rem; font-weight: 600;
  letter-spacing: 0.03em; color: var(--text-dark); margin-bottom: 8px;
}
.form-group input, .form-group textarea, .form-group select {
  width: 100%; font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem; color: var(--text-dark);
  background: var(--white); border: 1.5px solid var(--border);
  border-radius: var(--radius); padding: 12px 16px;
  outline: none; transition: border-color var(--transition), box-shadow var(--transition);
  appearance: none; -webkit-appearance: none;
}
.form-group textarea { resize: vertical; min-height: 140px; }
.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
  border-color: var(--navy); box-shadow: 0 0 0 3px rgba(13,27,62,0.08);
}

/* Contact info cards */
.contact-info { display: grid; gap: 16px; }
@media (min-width: 640px) { .contact-info { grid-template-columns: 1fr 1fr; } }
.contact-card {
  background: var(--off-white); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 24px;
}
.contact-card h4 { font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 8px; }
.contact-card p, .contact-card a { font-size: 0.92rem; color: var(--text-mid); }
.contact-card a:hover { color: var(--navy); }

/* ── STATS STRIP ── */
.stats-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1px; background: var(--border);
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
}
.stat {
  background: var(--white); padding: 40px 32px;
  text-align: center;
}
.stat-num {
  font-family: 'Cormorant Garamond', serif; font-size: 3rem;
  font-weight: 600; color: var(--navy); line-height: 1;
  margin-bottom: 8px;
}
.stat-label {
  font-size: 0.8rem; font-weight: 600; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--text-light);
}

/* ── TWO COLUMN LAYOUT ── */
.two-col { display: grid; gap: 64px; }
@media (min-width: 900px) { .two-col { grid-template-columns: 1fr 1fr; align-items: start; } }

/* ── LIST STYLED ── */
.styled-list { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.styled-list li {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 0.95rem; color: var(--text-mid);
}
.styled-list li::before {
  content: ''; flex-shrink: 0; width: 6px; height: 6px;
  border-radius: 50%; background: var(--gold); margin-top: 8px;
}

/* ── CONTENT BLOCK ── */
.content-block {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 40px 36px;
}
.content-block + .content-block { margin-top: 24px; }

/* ── PAGE BODY PADDING ── */
.page-body { padding-top: 72px; }

/* ── ANIMATIONS ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
.animate-in { opacity: 0; animation: fadeUp 0.6s ease forwards; }
.animate-in:nth-child(1) { animation-delay: 0.1s; }
.animate-in:nth-child(2) { animation-delay: 0.2s; }
.animate-in:nth-child(3) { animation-delay: 0.3s; }
.animate-in:nth-child(4) { animation-delay: 0.4s; }

/* ── DIVIDER ── */
.divider { border: none; border-top: 1px solid var(--border); margin: 0; }

/* ── NOTICE ── */
.notice {
  background: rgba(184,150,62,0.08); border: 1px solid var(--border-gold);
  border-radius: var(--radius); padding: 16px 20px;
  font-size: 0.88rem; color: var(--text-mid);
}

/* ── RESPONSIVE ── */
@media (max-width: 767px) {
  .section { padding: 64px 0; }
  .hero-content { padding: 60px 0; }
  .page-hero { padding: 120px 0 60px; }
}
