/* ── Google Fonts loaded via <link> in each HTML file ── */

:root {
  --navy:        #1B3B6F;
  --navy-dark:   #12295A;
  --blue:        #1E5FA8;
  --blue-hover:  #174D8C;
  --blue-light:  #EBF3FC;
  --blue-border: #C3D8EF;
  --text:        #1C2B3A;
  --text-mid:    #526070;
  --border:      #D4DFE9;
  --white:       #FFFFFF;
  --bg:          #F2F6FB;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Nunito Sans', sans-serif;
  font-size: 1rem;
  line-height: 1.75;
  color: var(--text);
  background: var(--bg);
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

img { max-width: 100%; display: block; }

a { color: var(--blue); }
a:hover { color: var(--blue-hover); }

/* ── Container ── */
.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ═══════════════════════════════
   HEADER
═══════════════════════════════ */
header {
  background: var(--navy);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 10px rgba(0,0,0,0.22);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1.5rem;
  max-width: 1080px;
  margin: 0 auto;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  text-decoration: none;
}
.brand img {
  height: 3rem;
  width: auto;
  filter: brightness(0) invert(1);
}
.brand-text {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}
.brand-name {
  font-family: 'Lora', serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
  letter-spacing: 0.01em;
}
.brand-sub {
  font-size: 0.58rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  font-weight: 400;
}

nav ul {
  display: flex;
  align-items: center;
  gap: 0.125rem;
  list-style: none;
}
nav a {
  display: block;
  padding: 0.45rem 0.875rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
  text-decoration: none;
  border-radius: 3px;
  transition: background 0.18s, color 0.18s;
}
nav a:hover {
  background: rgba(255,255,255,0.1);
  color: #fff;
}
nav a.active {
  background: rgba(255,255,255,0.15);
  color: #fff;
}

/* ── Tagline bar ── */
.tagline-bar {
  background: var(--navy-dark);
  text-align: center;
  padding: 0.35rem 1rem;
  font-size: 0.6rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
}

/* ═══════════════════════════════
   MAIN / PAGE LAYOUT
═══════════════════════════════ */
main { flex: 1; }

/* Inner page banner */
.page-banner {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 2.25rem 1.5rem;
}
.page-banner .container {}
.page-banner h1 {
  font-family: 'Lora', serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.02em;
}
.page-banner .crumb {
  font-size: 0.78rem;
  color: var(--text-mid);
  margin-top: 0.2rem;
}

/* ── Generic section ── */
.section {
  padding: 3rem 1.5rem;
}
.section-white {
  background: var(--white);
}

/* ═══════════════════════════════
   TYPOGRAPHY
═══════════════════════════════ */
h1, h2, h3, h4 {
  font-family: 'Lora', serif;
  color: var(--navy);
  line-height: 1.25;
}
h2 { font-size: 1.55rem; font-weight: 700; letter-spacing: -0.02em; margin-bottom: 1.25rem; }
h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 0.5rem; }

p { color: var(--text-mid); margin-bottom: 0.9rem; }
p:last-child { margin-bottom: 0; }

/* ═══════════════════════════════
   BUTTONS
═══════════════════════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--blue);
  color: #fff;
  font-family: 'Nunito Sans', sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 0.65rem 1.5rem;
  border-radius: 4px;
  border: 2px solid var(--blue);
  cursor: pointer;
  transition: background 0.18s, transform 0.12s;
}
.btn:hover {
  background: var(--blue-hover);
  border-color: var(--blue-hover);
  color: #fff;
  transform: translateY(-1px);
}
.btn:active { transform: none; }
.btn:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }

/* ═══════════════════════════════
   HOME — HERO
═══════════════════════════════ */
.home-hero {
  background: var(--white);
  border-bottom: 1px solid var(--border);
}
.home-hero-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 3rem;
  align-items: center;
  max-width: 1080px;
  margin: 0 auto;
  padding: 3.5rem 1.5rem;
}
.hero-heading {
  font-family: 'Lora', serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.02em;
  margin-bottom: 1.25rem;
}
.hero-text p { font-size: 1.08rem; }
.hero-actions { margin-top: 1.75rem; }
.hero-image img {
  width: 200px;
  opacity: 0.65;
}

/* ═══════════════════════════════
   HOME — SERVICES STRIP
═══════════════════════════════ */
.services-strip {
  background: var(--blue-light);
  border-top: 1px solid var(--blue-border);
  border-bottom: 1px solid var(--blue-border);
}
.services-strip-inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 2.75rem 1.5rem;
}
.services-strip h2 { margin-bottom: 1.75rem; }
.strip-services-text {
  font-family: 'Nunito Sans', sans-serif;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--navy);
  line-height: 2.2;
  margin-bottom: 1.75rem;
}
.strip-services-text .sep {
  color: var(--text-mid);
  font-weight: 400;
}

/* ═══════════════════════════════
   SERVICES PAGE
═══════════════════════════════ */
.services-list {
  max-width: 1080px;
  margin: 0 auto;
}
.svc-card {
  display: grid;
  grid-template-columns: 210px 1fr;
  gap: 2.5rem;
  align-items: baseline;
  padding: 1.75rem 0;
  border-bottom: 1px solid var(--border);
}
.svc-card:first-child { border-top: 1px solid var(--border); }
.svc-card h3 { color: var(--navy); font-size: 1rem; margin-bottom: 0; }
.svc-card p  { font-size: 1.05rem; margin-bottom: 0; color: var(--text-mid); }

/* ═══════════════════════════════
   ABOUT PAGE
═══════════════════════════════ */
.about-inner {
  max-width: 1080px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 3rem;
  align-items: start;
}
.about-logo img {
  width: 100%;
  opacity: 0.55;
}
.about-logo-label {
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-mid);
  text-align: center;
  margin-top: 0.75rem;
}
.about-seal {
  margin-top: 1.5rem;
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 0.75rem;
  background: var(--white);
  text-align: center;
}
.about-seal img {
  width: 100%;
  max-width: 130px;
  margin: 0 auto;
}
.about-text h2 { margin-bottom: 1.25rem; }

/* ═══════════════════════════════
   CONTACT PAGE
═══════════════════════════════ */
.contact-layout {
  max-width: 1080px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 3.5rem;
  align-items: start;
}
.contact-info h2 { margin-bottom: 1.5rem; }
.c-item {
  margin-bottom: 1.5rem;
}
.c-label {
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 0.2rem;
}
.c-val {
  font-size: 0.95rem;
  color: var(--text);
  line-height: 1.6;
}
.c-val a { color: var(--blue); text-decoration: none; }
.c-val a:hover { text-decoration: underline; }

/* Form */
.contact-form h2 { margin-bottom: 1.5rem; }
.f-group { margin-bottom: 0.875rem; }
.f-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 0.35rem;
}
.f-input, .f-select, .f-textarea {
  width: 100%;
  background: var(--white);
  border: 1px solid var(--border);
  color: var(--text);
  font-family: 'Nunito Sans', sans-serif;
  font-size: 0.93rem;
  padding: 0.58rem 0.875rem;
  border-radius: 4px;
  outline: none;
  transition: border-color 0.18s, box-shadow 0.18s;
  appearance: none;
  -webkit-appearance: none;
}
.f-input:focus, .f-select:focus, .f-textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(30,95,168,0.1);
}
.f-input::placeholder, .f-textarea::placeholder { color: #A0B0C0; }
.f-textarea { resize: vertical; min-height: 115px; }
.f-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.875rem; }
.f-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23526070' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.875rem center;
  padding-right: 2.25rem;
  cursor: pointer;
}
.f-select option { background: #fff; }

/* ═══════════════════════════════
   FOOTER
═══════════════════════════════ */
footer {
  background: var(--navy-dark);
  padding: 1.75rem 1.5rem;
  margin-top: auto;
}
.footer-inner {
  max-width: 1080px;
  margin: 0 auto;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.25rem;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.7;
}
.footer-inner a { color: rgba(255,255,255,0.6); text-decoration: none; }
.footer-inner a:hover { color: #fff; }
.footer-name {
  font-family: 'Lora', serif;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.85);
  font-weight: 700;
  margin-bottom: 0.25rem;
}
.footer-nav {
  display: flex;
  gap: 1.25rem;
  list-style: none;
  flex-wrap: wrap;
}
.footer-right { text-align: right; }

/* ═══════════════════════════════
   MOBILE NAV
═══════════════════════════════ */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 3px;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.2s, opacity 0.2s;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
  display: none;
  background: var(--navy-dark);
  border-top: 1px solid rgba(255,255,255,0.1);
}
.mobile-nav ul { list-style: none; padding: 0.5rem 0; }
.mobile-nav a {
  display: block;
  padding: 0.8rem 1.5rem;
  color: rgba(255,255,255,0.8);
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  border-left: 3px solid transparent;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.mobile-nav a:hover { background: rgba(255,255,255,0.07); color: #fff; }
.mobile-nav a.active { color: #fff; border-left-color: var(--blue); background: rgba(255,255,255,0.05); }

/* ═══════════════════════════════
   RESPONSIVE
═══════════════════════════════ */
@media (max-width: 860px) {
  .contact-layout { grid-template-columns: 1fr; gap: 2.5rem; }
  .about-inner { grid-template-columns: 1fr; }
  .about-logo { display: none; }
}

@media (max-width: 640px) {
  nav ul { display: none; }
  .nav-toggle { display: flex; }
  .mobile-nav.open { display: block; }
  .home-hero-inner { grid-template-columns: 1fr; }
  .hero-image { display: none; }
  .svc-card { grid-template-columns: 1fr; gap: 0.5rem; }
  .f-row { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; }
  .footer-right { text-align: left; }
}
