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

:root {
  --navy: #0d2137;
  --navy-light: #1a3a5c;
  --gold: #c8a050;
  --gold-light: #e0b96a;
  --white: #ffffff;
  --off-white: #f5f7fa;
  --gray: #6b7280;
  --dark: #1f2937;
  --font: 'Georgia', serif;
  --sans: 'Arial', 'Helvetica Neue', sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  color: var(--dark);
  background: var(--white);
  line-height: 1.6;
}

a { color: var(--gold); text-decoration: none; }
a:hover { color: var(--gold-light); }

img { max-width: 100%; }

/* ===== NAV ===== */
nav {
  background: var(--navy);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

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

.nav-logo {
  font-family: var(--font);
  font-size: 1.5rem;
  color: var(--gold);
  font-weight: bold;
  letter-spacing: 1px;
}

.nav-logo span { color: var(--white); font-size: 0.85rem; display: block; font-family: var(--sans); letter-spacing: 2px; font-weight: normal; }

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  color: var(--white);
  font-size: 0.9rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: color 0.2s;
}

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

.nav-cta {
  background: var(--gold);
  color: var(--navy) !important;
  padding: 0.5rem 1.2rem;
  border-radius: 4px;
  font-weight: bold;
  transition: background 0.2s !important;
}

.nav-cta:hover { background: var(--gold-light) !important; color: var(--navy) !important; }

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 5px;
}

.nav-toggle span {
  display: block;
  width: 25px;
  height: 2px;
  background: var(--white);
  transition: all 0.3s;
}

/* ===== HERO ===== */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  color: var(--white);
  padding: 7rem 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.hero-content { position: relative; max-width: 800px; margin: 0 auto; }

.hero h1 {
  font-family: var(--font);
  font-size: clamp(2rem, 5vw, 3.5rem);
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

.hero h1 em {
  color: var(--gold);
  font-style: normal;
}

.hero p {
  font-size: 1.2rem;
  opacity: 0.9;
  max-width: 600px;
  margin: 0 auto 2.5rem;
}

.btn {
  display: inline-block;
  padding: 0.9rem 2.2rem;
  border-radius: 4px;
  font-size: 1rem;
  font-weight: bold;
  letter-spacing: 0.5px;
  transition: all 0.2s;
  cursor: pointer;
  border: none;
}

.btn-gold {
  background: var(--gold);
  color: var(--navy);
}

.btn-gold:hover {
  background: var(--gold-light);
  color: var(--navy);
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--white);
  margin-left: 1rem;
}

.btn-outline:hover {
  background: var(--white);
  color: var(--navy);
}

/* ===== SECTIONS ===== */
section { padding: 5rem 2rem; }

.container { max-width: 1100px; margin: 0 auto; }

.section-title {
  font-family: var(--font);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  color: var(--navy);
  margin-bottom: 1rem;
  text-align: center;
}

.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: var(--gold);
  margin: 0.8rem auto 0;
}

.section-sub {
  text-align: center;
  color: var(--gray);
  font-size: 1.05rem;
  max-width: 600px;
  margin: 0 auto 3rem;
}

/* ===== CARDS ===== */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.card {
  background: var(--white);
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 2rem;
  transition: box-shadow 0.2s, transform 0.2s;
}

.card:hover {
  box-shadow: 0 8px 30px rgba(0,0,0,0.1);
  transform: translateY(-3px);
}

.card-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.card h3 {
  font-family: var(--font);
  color: var(--navy);
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
}

.card p { color: var(--gray); font-size: 0.95rem; }

/* ===== PHILOSOPHY BAND ===== */
.band {
  background: var(--navy);
  color: var(--white);
  padding: 4rem 2rem;
  text-align: center;
}

.band h2 {
  font-family: var(--font);
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  margin-bottom: 1rem;
}

.band h2 em { color: var(--gold); font-style: normal; }
.band p { opacity: 0.85; max-width: 700px; margin: 0 auto; font-size: 1.05rem; }

/* ===== STATS ===== */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 2rem;
  text-align: center;
}

.stat-number {
  font-family: var(--font);
  font-size: 2.8rem;
  color: var(--gold);
  font-weight: bold;
}

.stat-label {
  color: var(--gray);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ===== WIDGETS SECTION ===== */
.widgets-section { background: var(--off-white); }

.widget-placeholder {
  background: var(--white);
  border: 2px dashed #d1d5db;
  border-radius: 8px;
  padding: 3rem 2rem;
  text-align: center;
  color: var(--gray);
}

.widget-placeholder h3 { color: var(--navy); margin-bottom: 0.5rem; font-family: var(--font); }

/* ===== CONTACT FORM ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.contact-info h3 {
  font-family: var(--font);
  color: var(--navy);
  font-size: 1.4rem;
  margin-bottom: 1.5rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.2rem;
}

.contact-item-icon { font-size: 1.3rem; margin-top: 2px; }

.contact-item-text strong { display: block; color: var(--navy); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 1px; }
.contact-item-text span { color: var(--gray); }

.licenses {
  margin-top: 2rem;
  padding: 1rem;
  background: var(--off-white);
  border-radius: 6px;
  font-size: 0.85rem;
  color: var(--gray);
}

.licenses strong { color: var(--navy); display: block; margin-bottom: 0.3rem; }

form { display: flex; flex-direction: column; gap: 1rem; }

form input,
form textarea,
form select {
  padding: 0.85rem 1rem;
  border: 1px solid #d1d5db;
  border-radius: 4px;
  font-size: 1rem;
  font-family: var(--sans);
  transition: border-color 0.2s;
  width: 100%;
}

form input:focus,
form textarea:focus,
form select:focus {
  outline: none;
  border-color: var(--gold);
}

form textarea { min-height: 140px; resize: vertical; }

/* ===== FOOTER ===== */
footer {
  background: var(--navy);
  color: rgba(255,255,255,0.7);
  padding: 3rem 2rem 1.5rem;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  margin-bottom: 1.5rem;
}

.footer-brand .nav-logo { margin-bottom: 1rem; }
.footer-brand p { font-size: 0.9rem; line-height: 1.7; }

footer h4 {
  color: var(--gold);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 1rem;
}

footer ul { list-style: none; }
footer ul li { margin-bottom: 0.5rem; }
footer ul a { color: rgba(255,255,255,0.7); font-size: 0.9rem; transition: color 0.2s; }
footer ul a:hover { color: var(--gold); }

.footer-bottom {
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
  font-size: 0.8rem;
  opacity: 0.5;
}

/* ===== PAGE HEADER ===== */
.page-header {
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  color: var(--white);
  padding: 4rem 2rem;
  text-align: center;
}

.page-header h1 {
  font-family: var(--font);
  font-size: clamp(1.8rem, 4vw, 3rem);
  margin-bottom: 0.75rem;
}

.page-header p { opacity: 0.85; font-size: 1.1rem; }

/* ===== UTILITY ===== */
.bg-off-white { background: var(--off-white); }
.text-center { text-align: center; }
.mt-2 { margin-top: 2rem; }

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .nav-links { display: none; flex-direction: column; position: absolute; top: 70px; left: 0; right: 0; background: var(--navy); padding: 1rem 2rem 2rem; gap: 1rem; }
  .nav-links.open { display: flex; }
  .nav-toggle { display: flex; }

  .contact-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 2rem; }

  .btn-outline { margin-left: 0; margin-top: 1rem; }
}
