/* ============================================================
   BOARDMAN PLANNING — Shared Stylesheet
   ============================================================ */

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&family=Lato:wght@300;400;700&display=swap');

/* ── Reset & Base ── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --navy:    #001E46;
  --orange:  #F07828;
  --white:   #FFFFFF;
  --light:   #F5F7FA;
  --grey:    #6B7280;
  --border:  #DDE3EC;
  --text:    #1C2B3A;
}

html { scroll-behavior: smooth; }

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

h1, h2, h3, h4 {
  font-family: 'Playfair Display', Georgia, serif;
  line-height: 1.2;
  color: var(--navy);
}

h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 700; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); font-weight: 600; }
h3 { font-size: clamp(1.15rem, 2.5vw, 1.45rem); font-weight: 600; }
h4 { font-size: 1.05rem; font-weight: 700; }

p { color: var(--grey); line-height: 1.8; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container { max-width: 1160px; margin: 0 auto; padding: 0 40px; }

/* ── Label ── */
.label {
  display: inline-block;
  font-family: 'Lato', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 16px;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'Lato', sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
  padding: 14px 28px;
  border-radius: 4px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.22s ease;
  min-height: 48px;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}

.btn-primary {
  background: var(--orange);
  color: var(--white);
  border-color: var(--orange);
}
.btn-primary:hover {
  background: #d96820;
  border-color: #d96820;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(240, 120, 40, 0.35);
}

.btn-outline-white {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.45);
}
.btn-outline-white:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.7);
}

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

/* ── Arrow icon ── */
.arrow { font-style: normal; transition: transform 0.2s; display: inline-block; }
.btn:hover .arrow { transform: translateX(4px); }

/* ── Navigation ── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.3s;
}
nav.scrolled { box-shadow: 0 2px 20px rgba(0,30,70,0.1); }

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 40px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0;
  text-decoration: none;
}

.logo-svg { height: 44px; width: auto; }

.logo-text-block {
  display: flex;
  flex-direction: column;
  line-height: 1;
  margin-left: 12px;
  border-left: 1.5px solid var(--border);
  padding-left: 14px;
}

.logo-name {
  font-family: 'Lato', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--navy);
  letter-spacing: 1px;
  text-transform: uppercase;
}

.logo-sub {
  font-family: 'Lato', sans-serif;
  font-weight: 400;
  font-size: 0.7rem;
  color: var(--orange);
  letter-spacing: 2.5px;
  text-transform: uppercase;
  margin-top: 3px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
  list-style: none;
}

.nav-links a {
  font-family: 'Lato', sans-serif;
  font-size: 0.88rem;
  font-weight: 400;
  color: var(--text);
  padding: 8px 14px;
  border-radius: 4px;
  transition: all 0.2s;
  white-space: nowrap;
}

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

.nav-links .nav-cta {
  background: var(--orange);
  color: var(--white) !important;
  font-weight: 700;
  padding: 9px 22px;
  border-radius: 4px;
  margin-left: 8px;
}
.nav-links .nav-cta:hover {
  background: #d96820;
}

/* Mobile nav */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 10px;
  border: none;
  background: none;
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  -webkit-tap-highlight-color: transparent;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: all 0.3s;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mob-menu {
  display: none;
  position: fixed;
  top: 76px; left: 0; right: 0;
  background: var(--white);
  border-top: 1px solid var(--border);
  padding: 16px 20px 24px;
  z-index: 999;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  flex-direction: column;
  gap: 4px;
}
.mob-menu.open { display: flex; }
.mob-menu a {
  display: block;
  padding: 13px 16px;
  border-radius: 4px;
  font-weight: 400;
  color: var(--text);
  font-size: 1rem;
}
.mob-menu a:hover { background: var(--light); }
.mob-menu .nav-cta {
  background: var(--orange);
  color: var(--white) !important;
  text-align: center;
  margin-top: 8px;
  font-weight: 700;
}

/* ── Page Header (inner pages) ── */
.page-header {
  background: var(--navy);
  padding: 140px 0 80px;
  position: relative;
  overflow: hidden;
}
.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('https://images.unsplash.com/photo-1486325212027-8081e485255e?w=1400&q=60') center/cover no-repeat;
  opacity: 0.08;
}
.page-header-inner { position: relative; z-index: 1; }
.page-header .label { color: rgba(240,120,40,0.9); }
.page-header h1 { color: var(--white); margin-bottom: 16px; }
.page-header p { color: rgba(255,255,255,0.65); max-width: 580px; font-size: 1.05rem; }

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 24px;
  font-size: 0.82rem;
}
.breadcrumb a { color: rgba(255,255,255,0.5); }
.breadcrumb a:hover { color: var(--white); }
.breadcrumb span { color: rgba(255,255,255,0.3); }
.breadcrumb .current { color: var(--orange); }

/* ── Scroll animations ── */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Footer ── */
footer {
  background: #001229;
  padding: 64px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 48px;
}
.footer-brand p {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.4);
  line-height: 1.8;
  margin-top: 16px;
  max-width: 280px;
}
.footer-logo-name {
  font-family: 'Lato', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  color: var(--white);
  letter-spacing: 1px;
  text-transform: uppercase;
}
.footer-logo-sub {
  font-family: 'Lato', sans-serif;
  font-weight: 400;
  font-size: 0.65rem;
  color: var(--orange);
  letter-spacing: 2.5px;
  text-transform: uppercase;
  margin-top: 2px;
}
.footer-socials {
  display: flex;
  gap: 8px;
  margin-top: 24px;
}
.social-link {
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,0.07);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.5);
  transition: all 0.2s;
  font-size: 0.85rem;
  text-decoration: none;
}
.social-link:hover { background: var(--orange); color: var(--white); }
.social-link svg { width: 16px; height: 16px; fill: currentColor; }

.footer-col h4 {
  font-family: 'Lato', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  margin-bottom: 20px;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li a {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.55);
  transition: color 0.2s;
}
.footer-col ul li a:hover { color: var(--white); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.footer-bottom p {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.25);
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 768px) {
  .container { padding: 0 20px; }
  .nav-inner { padding: 0 20px; }
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; margin-bottom: 32px; }
  .footer-brand { grid-column: auto; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
  .page-header { padding: 120px 0 60px; }
}
