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

:root {
  --navy:   #1B2A4A;
  --navy-light: #243659;
  --gold:   #C9A84C;
  --gold-light: #E0C278;
  --white:  #FAFAF8;
  --gray:   #F2F1EF;
  --text:   #2C2C2C;
  --muted:  #6B7280;
  --radius: 10px;
  --shadow: 0 4px 24px rgba(27,42,74,0.10);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Lato', sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  font-size: 16px;
}

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

/* ===== NAV ===== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(27, 42, 74, 0.97);
  backdrop-filter: blur(8px);
  transition: box-shadow 0.3s;
}
.nav.scrolled { box-shadow: 0 2px 20px rgba(0,0,0,0.25); }

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.logo { display: flex; align-items: center; }
.logo-img { height: 44px; width: auto; display: block; }

nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
nav a {
  color: rgba(255,255,255,0.82);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  transition: color 0.2s;
}
nav a:hover { color: var(--gold-light); }

.btn-nav {
  background: var(--gold);
  color: var(--navy) !important;
  font-weight: 700 !important;
  padding: 8px 20px;
  border-radius: 6px;
  transition: background 0.2s !important;
}
.btn-nav:hover { background: var(--gold-light) !important; }

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background:
    linear-gradient(160deg, #1B2A4A 0%, #243659 50%, #1a3a52 100%);
  overflow: hidden;
}

/* Subtle texture */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 50%, rgba(201,168,76,0.08) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(255,255,255,0.04) 0%, transparent 40%);
  pointer-events: none;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 60%, rgba(27,42,74,0.4) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 120px 24px 80px;
  max-width: 780px;
}

.hero-eyebrow {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}

.hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.6rem, 6vw, 4.2rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 24px;
}

.hero-sub {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.78);
  max-width: 580px;
  margin-bottom: 40px;
  font-weight: 300;
}

.hero-ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 7px;
  font-family: 'Lato', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s;
  letter-spacing: 0.02em;
}
.btn-primary {
  background: var(--gold);
  color: var(--navy);
  border: 2px solid var(--gold);
}
.btn-primary:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(201,168,76,0.35);
}
.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.45);
}
.btn-outline:hover {
  border-color: var(--white);
  background: rgba(255,255,255,0.1);
  transform: translateY(-1px);
}
.btn-full { width: 100%; justify-content: center; }

/* ===== SECTIONS ===== */
.section { padding: 96px 0; }
.section-alt { background: var(--gray); }

.section-eyebrow {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
}

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 600;
  color: var(--navy);
  line-height: 1.2;
  margin-bottom: 20px;
}

.section-intro {
  color: var(--muted);
  max-width: 580px;
  font-size: 1.05rem;
  margin-bottom: 48px;
}

/* ===== SERVICE CARDS ===== */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
  margin-top: 48px;
}

.card {
  background: var(--white);
  border: 1px solid #E5E3DF;
  border-radius: var(--radius);
  padding: 40px 36px;
  box-shadow: var(--shadow);
  transition: transform 0.2s, box-shadow 0.2s;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(27,42,74,0.14);
}

.card-icon {
  font-size: 2.2rem;
  margin-bottom: 20px;
  display: block;
}

.card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  color: var(--navy);
  margin-bottom: 14px;
}

.card p {
  color: var(--muted);
  margin-bottom: 20px;
  font-size: 0.97rem;
}

.card ul {
  list-style: none;
  padding: 0;
}
.card ul li {
  padding: 6px 0;
  border-top: 1px solid #EDECEA;
  font-size: 0.92rem;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 8px;
}
.card ul li::before {
  content: '✓';
  color: var(--gold);
  font-weight: 700;
  font-size: 0.85rem;
  flex-shrink: 0;
}

/* ===== COUNTIES ===== */
.counties {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin-top: 48px;
}

.county {
  background: var(--white);
  border: 1px solid #E5E3DF;
  border-radius: var(--radius);
  padding: 24px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 2px 10px rgba(27,42,74,0.06);
  transition: transform 0.2s;
}
.county:hover { transform: translateY(-2px); }

.county-flag { font-size: 1.3rem; }
.county strong { display: block; color: var(--navy); font-size: 0.97rem; }
.county span { font-size: 0.8rem; color: var(--muted); font-weight: 700; letter-spacing: 0.06em; }

/* ===== PILLARS ===== */
.pillars {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 36px;
  margin-top: 48px;
}

.pillar { padding: 0; }

.pillar-num {
  font-family: 'Playfair Display', serif;
  font-size: 2.8rem;
  font-weight: 700;
  color: rgba(201, 168, 76, 0.25);
  line-height: 1;
  margin-bottom: 12px;
}

.pillar h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
}

.pillar p {
  color: var(--muted);
  font-size: 0.93rem;
  line-height: 1.65;
}

/* ===== CONTACT ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 72px;
  align-items: start;
}

.contact-info .section-title { margin-bottom: 16px; }
.contact-info p { color: var(--muted); margin-bottom: 28px; }

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 28px;
}

.contact-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--navy);
  text-decoration: none;
  font-weight: 700;
  font-size: 1.05rem;
  transition: color 0.2s;
}
.contact-link:hover { color: var(--gold); }

.contact-note {
  font-size: 0.85rem;
  color: var(--muted);
  font-style: italic;
}

.contact-form {
  background: var(--white);
  border: 1px solid #E5E3DF;
  border-radius: var(--radius);
  padding: 40px 36px;
  box-shadow: var(--shadow);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 7px;
  letter-spacing: 0.02em;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid #DDD9D3;
  border-radius: 6px;
  font-family: 'Lato', sans-serif;
  font-size: 0.95rem;
  color: var(--text);
  background: var(--white);
  transition: border-color 0.2s, box-shadow 0.2s;
  -webkit-appearance: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(27,42,74,0.08);
}
.form-group textarea { resize: vertical; }

/* ===== FOOTER ===== */
.footer {
  background: var(--navy);
  color: rgba(255,255,255,0.65);
  text-align: center;
  padding: 48px 24px;
}

.footer-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
}
.footer p { font-size: 0.88rem; margin-bottom: 6px; }
.footer-small { font-size: 0.78rem; opacity: 0.55; margin-top: 12px; }

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  nav a:not(.btn-nav) { display: none; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-content { padding: 110px 20px 60px; }
  .section { padding: 64px 0; }
  .card { padding: 28px 24px; }
  .contact-form { padding: 28px 20px; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 2.2rem; }
  .hero-ctas { flex-direction: column; }
  .btn { width: 100%; justify-content: center; }
  .counties { grid-template-columns: 1fr 1fr; }
  .pillars { grid-template-columns: 1fr; }
}
