/* NC Home Intel - Navy, Baby Blue, White */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700&family=Source+Sans+3:wght@300;400;600&display=swap');

:root {
  --navy: #0a1f44;
  --navy-mid: #122b5e;
  --baby-blue: #5fa8d3;
  --baby-blue-light: #a8d5f0;
  --white: #ffffff;
  --off-white: #f7f9fc;
  --text: #1a1a2e;
  --text-light: #5a6272;
  --border: #d6e4f0;
  --shadow: 0 4px 24px rgba(10,31,68,0.10);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Source Sans 3', sans-serif; color: var(--text); background: var(--white); line-height: 1.7; font-size: 17px; }

h1, h2, h3, h4 { font-family: 'Playfair Display', serif; line-height: 1.2; }
h1 { font-size: clamp(2rem, 5vw, 3.2rem); font-weight: 700; }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.2rem); font-weight: 600; }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.5rem); font-weight: 600; }
h4 { font-size: 1.1rem; font-weight: 600; }
p { margin-bottom: 1rem; }
a { color: var(--baby-blue); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--navy); }

/* NAV */
.site-nav { background: var(--navy); position: sticky; top: 0; z-index: 100; box-shadow: 0 2px 16px rgba(10,31,68,0.18); }
.nav-inner { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; display: flex; align-items: center; justify-content: space-between; height: 64px; }
.nav-logo { font-family: 'Playfair Display', serif; font-size: 1.3rem; font-weight: 700; color: var(--white); letter-spacing: 0.02em; }
.nav-logo span { color: var(--baby-blue); }
.nav-links { display: flex; gap: 0.25rem; list-style: none; align-items: center; }
.nav-links a { color: rgba(255,255,255,0.85); padding: 0.5rem 0.9rem; font-size: 0.92rem; font-weight: 600; letter-spacing: 0.03em; border-radius: 4px; transition: all 0.2s; }
.nav-links a:hover { color: var(--white); background: rgba(255,255,255,0.1); }
.nav-cta a { background: var(--baby-blue); color: var(--navy) !important; border-radius: 4px; font-weight: 700; padding: 0.5rem 1.1rem !important; }
.nav-cta a:hover { background: var(--baby-blue-light) !important; }

.nav-dropdown { position: relative; }
.dropdown-menu { display: none; position: absolute; top: 100%; left: 0; background: var(--navy-mid); min-width: 200px; border-top: 3px solid var(--baby-blue); border-radius: 0 0 6px 6px; box-shadow: var(--shadow); padding: 0.5rem 0; z-index: 200; }
.nav-dropdown:hover .dropdown-menu { display: block; }
.dropdown-menu a { display: block; padding: 0.55rem 1.2rem !important; color: rgba(255,255,255,0.85) !important; font-size: 0.88rem !important; border-radius: 0 !important; background: none !important; }
.dropdown-menu a:hover { background: rgba(255,255,255,0.1) !important; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 4px; background: none; border: none; }
.nav-toggle span { width: 24px; height: 2px; background: var(--white); border-radius: 2px; }

/* HERO */
.hero { background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 60%, #1a4a7a 100%); color: var(--white); padding: 5rem 1.5rem 4rem; 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='%235fa8d3' fill-opacity='0.05'%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"); pointer-events: none; }
.hero-inner { max-width: 900px; margin: 0 auto; position: relative; text-align: center; }
.hero-eyebrow { display: inline-block; background: rgba(95,168,211,0.2); border: 1px solid rgba(95,168,211,0.4); color: var(--baby-blue-light); font-size: 0.8rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; padding: 0.35rem 1rem; border-radius: 20px; margin-bottom: 1.5rem; }
.hero h1 { color: var(--white); margin-bottom: 1.25rem; }
.hero h1 em { color: var(--baby-blue-light); font-style: normal; }
.hero-sub { font-size: 1.15rem; color: rgba(255,255,255,0.8); max-width: 680px; margin: 0 auto 2.5rem; line-height: 1.7; }
.hero-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* BUTTONS */
.btn { display: inline-block; padding: 0.85rem 2rem; border-radius: 5px; font-weight: 700; font-size: 0.95rem; letter-spacing: 0.04em; transition: all 0.2s; cursor: pointer; border: none; font-family: 'Source Sans 3', sans-serif; }
.btn-primary { background: var(--baby-blue); color: var(--navy); }
.btn-primary:hover { background: var(--baby-blue-light); color: var(--navy); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(95,168,211,0.4); }
.btn-outline { background: transparent; color: var(--white); border: 2px solid rgba(255,255,255,0.6); }
.btn-outline:hover { border-color: var(--white); background: rgba(255,255,255,0.1); color: var(--white); }
.btn-navy { background: var(--navy); color: var(--white); }
.btn-navy:hover { background: var(--navy-mid); color: var(--white); transform: translateY(-2px); }

/* LAYOUT */
.section { padding: 5rem 1.5rem; }
.section-dark { background: var(--navy); color: var(--white); }
.section-dark h2, .section-dark h3, .section-dark h4 { color: var(--white); }
.section-offwhite { background: var(--off-white); }
.container { max-width: 1200px; margin: 0 auto; }
.section-label { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase; color: var(--baby-blue); margin-bottom: 0.75rem; }
.section-dark .section-label { color: var(--baby-blue-light); }
.section-title { margin-bottom: 1rem; }
.section-intro { color: var(--text-light); font-size: 1.1rem; max-width: 680px; margin-bottom: 3rem; }
.section-dark .section-intro { color: rgba(255,255,255,0.75); }

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }

/* CARDS */
.card { background: var(--white); border: 1px solid var(--border); border-radius: 8px; padding: 2rem; transition: all 0.25s; box-shadow: var(--shadow); }
.card:hover { transform: translateY(-4px); box-shadow: 0 12px 36px rgba(10,31,68,0.14); }
.card-dark { background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.12); }
.card-dark:hover { background: rgba(255,255,255,0.1); }
.card h3 { margin-bottom: 0.6rem; }
.card p { color: var(--text-light); font-size: 0.95rem; margin: 0; }
.card-dark p { color: rgba(255,255,255,0.7); }
.card-dark h3 { color: var(--white); }
.card-link { display: block; text-decoration: none; color: inherit; }

/* REGION CARDS */
.region-card { background: var(--white); border: 1px solid var(--border); border-radius: 10px; overflow: hidden; box-shadow: var(--shadow); transition: all 0.25s; display: flex; flex-direction: column; }
.region-card:hover { transform: translateY(-5px); box-shadow: 0 16px 40px rgba(10,31,68,0.15); }
.region-card-header { background: var(--navy); padding: 1.5rem 1.75rem; display: flex; align-items: center; gap: 1rem; }
.region-card-header h3 { color: var(--white); margin: 0; font-size: 1.2rem; }
.region-number { width: 36px; height: 36px; background: var(--baby-blue); color: var(--navy); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 0.9rem; flex-shrink: 0; }
.region-card-body { padding: 1.5rem 1.75rem; flex: 1; }
.region-card-body p { color: var(--text-light); font-size: 0.93rem; margin-bottom: 1rem; }
.town-chips { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.town-chip { background: var(--off-white); border: 1px solid var(--border); color: var(--navy); font-size: 0.78rem; font-weight: 600; padding: 0.3rem 0.7rem; border-radius: 20px; transition: all 0.2s; text-decoration: none; display: inline-block; }
.town-chip:hover { background: var(--baby-blue); border-color: var(--baby-blue); color: var(--white); }
.region-card-footer { padding: 1rem 1.75rem; border-top: 1px solid var(--border); }
.region-card-footer a { font-weight: 700; font-size: 0.9rem; color: var(--baby-blue); }

/* STATS */
.stats-bar { background: var(--navy); padding: 2.5rem 1.5rem; }
.stats-inner { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; text-align: center; }
.stat-item { padding: 1rem; }
.stat-number { font-family: 'Playfair Display', serif; font-size: 2.4rem; font-weight: 700; color: var(--baby-blue-light); line-height: 1; margin-bottom: 0.4rem; }
.stat-label { font-size: 0.85rem; color: rgba(255,255,255,0.7); font-weight: 600; letter-spacing: 0.05em; }

/* ABOUT */
.about-grid { display: grid; grid-template-columns: 260px 1fr; gap: 4rem; align-items: start; }
.peter-photo { width: 100%; border-radius: 10px; box-shadow: 0 8px 32px rgba(10,31,68,0.18); display: block; }
.peter-badge { background: var(--navy); color: var(--white); padding: 1rem 1.25rem; border-radius: 8px; margin-top: 1rem; font-size: 0.88rem; text-align: center; }
.peter-badge strong { display: block; color: var(--baby-blue-light); margin-bottom: 0.2rem; }

/* FORM */
.inquiry-form { background: var(--navy); border-radius: 12px; padding: 2.5rem; color: var(--white); }
.inquiry-form h3 { color: var(--white); margin-bottom: 0.5rem; }
.inquiry-form > p { color: rgba(255,255,255,0.75); margin-bottom: 2rem; font-size: 0.95rem; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { margin-bottom: 0; }
.form-group label { display: block; font-size: 0.85rem; font-weight: 600; color: rgba(255,255,255,0.8); margin-bottom: 0.4rem; letter-spacing: 0.04em; }
.form-group input, .form-group select, .form-group textarea { width: 100%; padding: 0.75rem 1rem; background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.25); border-radius: 5px; color: var(--white); font-size: 0.95rem; font-family: 'Source Sans 3', sans-serif; transition: border-color 0.2s; }
.form-group input::placeholder, .form-group textarea::placeholder { color: rgba(255,255,255,0.4); }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { outline: none; border-color: var(--baby-blue); background: rgba(255,255,255,0.15); }
.form-group select option { background: var(--navy); color: var(--white); }
.form-full { grid-column: 1 / -1; }

/* DISCLOSURE */
.disclosure-box { background: rgba(95,168,211,0.1); border: 1px solid rgba(95,168,211,0.3); border-radius: 8px; padding: 1.25rem 1.5rem; font-size: 0.87rem; color: var(--text-light); margin-top: 2rem; }
.disclosure-box strong { color: var(--navy); }

/* BREADCRUMB */
.breadcrumb { background: var(--off-white); border-bottom: 1px solid var(--border); padding: 0.75rem 1.5rem; }
.breadcrumb-inner { max-width: 1200px; margin: 0 auto; font-size: 0.85rem; color: var(--text-light); }
.breadcrumb-inner a { color: var(--baby-blue); font-weight: 600; }
.breadcrumb-sep { margin: 0 0.5rem; }

/* TOWN META */
.town-meta { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin: 2rem 0; }
.town-meta-card { background: var(--navy); color: var(--white); padding: 1.5rem; border-radius: 8px; text-align: center; }
.town-meta-card .value { font-family: 'Playfair Display', serif; font-size: 1.9rem; font-weight: 700; color: var(--baby-blue-light); line-height: 1; margin-bottom: 0.4rem; }
.town-meta-card .label { font-size: 0.82rem; color: rgba(255,255,255,0.7); font-weight: 600; letter-spacing: 0.05em; }

.reasons-list { list-style: none; margin: 1.5rem 0; }
.reasons-list li { display: flex; gap: 0.75rem; margin-bottom: 1rem; align-items: flex-start; }
.reasons-list li::before { content: ''; width: 8px; height: 8px; background: var(--baby-blue); border-radius: 50%; margin-top: 0.55rem; flex-shrink: 0; }

/* CTA BAND */
.cta-band { background: var(--navy); color: var(--white); padding: 4rem 1.5rem; text-align: center; }
.cta-band h2 { color: var(--white); margin-bottom: 1rem; }
.cta-band p { color: rgba(255,255,255,0.75); max-width: 560px; margin: 0 auto 2rem; }

/* ARTICLE */
.article-body { max-width: 800px; }
.article-body h2 { margin-top: 2.5rem; margin-bottom: 1rem; color: var(--navy); }
.article-body h3 { margin-top: 2rem; margin-bottom: 0.75rem; color: var(--navy); }
.article-body ul { margin: 1rem 0 1rem 1.5rem; }
.article-body li { margin-bottom: 0.5rem; }

/* FOOTER */
.site-footer { background: var(--navy); color: rgba(255,255,255,0.75); padding: 4rem 1.5rem 2rem; }
.footer-inner { max-width: 1200px; margin: 0 auto; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem; margin-bottom: 3rem; }
.footer-brand .nav-logo { display: block; margin-bottom: 1rem; font-size: 1.4rem; }
.footer-brand p { font-size: 0.9rem; line-height: 1.7; color: rgba(255,255,255,0.6); }
.footer-col h4 { color: var(--white); margin-bottom: 1rem; font-size: 0.85rem; font-family: 'Source Sans 3', sans-serif; font-weight: 700; letter-spacing: 0.07em; text-transform: uppercase; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 0.6rem; }
.footer-col ul li a { color: rgba(255,255,255,0.65); font-size: 0.9rem; transition: color 0.2s; }
.footer-col ul li a:hover { color: var(--baby-blue-light); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.12); padding-top: 1.75rem; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; font-size: 0.82rem; color: rgba(255,255,255,0.45); }
.footer-bottom a { color: rgba(255,255,255,0.55); }
.footer-bottom a:hover { color: var(--baby-blue-light); }
.license-badge { background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.15); border-radius: 4px; padding: 0.35rem 0.8rem; font-size: 0.78rem; color: rgba(255,255,255,0.55); }

/* RESPONSIVE */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .nav-links.open { display: flex; flex-direction: column; position: absolute; top: 64px; left: 0; right: 0; background: var(--navy-mid); padding: 1rem; gap: 0; border-top: 2px solid var(--baby-blue); z-index: 99; }
  .dropdown-menu { position: static; display: block !important; border: none; background: rgba(255,255,255,0.05); padding: 0 0 0.5rem 1rem; box-shadow: none; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .stats-inner { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .town-meta { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .footer-grid { grid-template-columns: 1fr; }
  .town-meta { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; align-items: center; }
  .stats-inner { grid-template-columns: repeat(2, 1fr); }
}
