/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Georgia', serif;
  font-size: 18px;
  color: #2d2d2d;
  background: #f4f7fb;
  line-height: 1.75;
}
a { text-decoration: none; color: inherit; }

/* ── Colour Palette ── */
:root {
  --green-dark:  #1a3a5c;
  --green-mid:   #2563a8;
  --green-light: #e8f0fb;
  --gold:        #b8893a;
  --gold-light:  #f9f1e4;
  --white:       #ffffff;
  --text:        #2d2d2d;
  --muted:       #5a5a5a;
  --border:      #c5d8f0;
}

/* ── Navbar ── */
nav {
  position: sticky; top: 0; z-index: 100;
  background: var(--green-dark);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 6vw;
  height: 70px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.18);
}
.nav-logo {
  display: flex; align-items: center; gap: 12px;
}
.nav-logo .logo-icon {
  width: 42px; height: 42px;
  background: var(--gold);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; font-weight: bold; color: var(--white);
  font-family: 'Georgia', serif;
  letter-spacing: -1px;
}
.nav-logo span {
  font-size: 1.3rem; color: var(--white);
  font-weight: bold; letter-spacing: 0.5px;
}
.nav-links { display: flex; gap: 14px; align-items: center; }
.nav-links a {
  color: rgba(255,255,255,0.88);
  font-size: 0.82rem;
  font-family: 'Arial', sans-serif;
  font-weight: 500;
  transition: color 0.2s;
  white-space: nowrap;
}
.nav-links a:hover { color: var(--gold); }
.nav-links a.nav-cta {
  background: var(--gold);
  color: #fff !important;
  padding: 6px 14px;
  border-radius: 4px;
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.3px;
  transition: background 0.2s;
}
.nav-links a.nav-cta:hover { background: #9e7430; color: #fff !important; }
.nav-contact {
  display: flex; align-items: center; gap: 6px;
  border-left: 1px solid rgba(255,255,255,0.2); padding-left: 18px; margin-left: 6px;
  white-space: nowrap;
}
.nav-contact a {
  color: rgba(255,255,255,0.9); font-size: 0.78rem; font-family: Arial,sans-serif;
  text-decoration: none; display: flex; align-items: center; gap: 5px;
  transition: color 0.2s;
}
.nav-contact a:hover { color: var(--gold); }
@media (max-width: 1100px) { .nav-contact { display: none; } }

/* ── Hamburger ── */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
}
.hamburger span {
  display: block; width: 24px; height: 2px;
  background: rgba(255,255,255,0.88);
  border-radius: 2px;
  transition: all 0.25s;
}
.mobile-menu {
  display: none;
  position: absolute; top: 70px; left: 0; right: 0;
  background: #0f2540;
  z-index: 99;
  padding: 16px 0;
  box-shadow: 0 6px 24px rgba(0,0,0,0.28);
}
.mobile-menu.open { display: block; }
.mobile-menu a {
  display: block;
  padding: 12px 6vw;
  color: rgba(255,255,255,0.88);
  font-family: Arial, sans-serif;
  font-size: 0.95rem;
  font-weight: 500;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: background 0.15s;
}
.mobile-menu a:last-child { border-bottom: none; }
.mobile-menu a:hover { background: rgba(255,255,255,0.06); color: var(--gold); }
.mobile-menu a.nav-cta-mob {
  color: var(--gold) !important;
  font-weight: 700;
}
@media (max-width: 1100px) { .nav-links { display: none; } .hamburger { display: flex; } }

/* ── Mobile contact bar ── */
.mobile-contact-bar {
  display: none;
  position: sticky; top: 70px; z-index: 99;
  background: #112b47;
  text-align: center;
  padding: 8px 16px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.mobile-contact-bar a {
  color: rgba(255,255,255,0.88); font-size: 0.78rem;
  font-family: Arial, sans-serif; text-decoration: none;
  display: inline-flex; align-items: center; gap: 6px;
}
.mobile-contact-bar a:hover { color: #f5d78e; }
@media (max-width: 900px) { .mobile-contact-bar { display: block; } }

/* ── Hero (index page) ── */
.hero {
  background: linear-gradient(135deg, #0f2540 0%, #1a3a5c 50%, #2563a8 100%);
  color: var(--white);
  padding: 80px 6vw;
  display: flex; align-items: flex-start; gap: 56px;
  flex-wrap: wrap;
}
.hero-text { flex: 1 1 340px; text-align: left; }
.hero-form-card {
  flex: 0 1 400px;
  background: var(--white);
  border-radius: 14px;
  padding: 24px 24px 20px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.25);
}
.hero-form-card h3 {
  font-size: 1.1rem;
  color: var(--green-dark);
  margin-bottom: 4px;
  font-family: 'Georgia', serif;
}
.hero-form-card > p {
  font-size: 0.82rem;
  color: var(--muted);
  font-family: 'Arial', sans-serif;
  margin-bottom: 14px;
  line-height: 1.4;
}
.hero-badge {
  display: inline-block;
  background: rgba(184,137,58,0.25);
  border: 1px solid var(--gold);
  color: #f5d78e;
  font-size: 0.82rem;
  font-family: 'Arial', sans-serif;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 5px 16px;
  border-radius: 20px;
  margin-bottom: 20px;
}
.hero h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: bold;
  line-height: 1.25;
  margin-bottom: 20px;
}
.hero h1 span { color: #f5d78e; }
.hero p {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.85);
  max-width: 520px;
  margin-bottom: 36px;
  font-family: 'Arial', sans-serif;
}
.hero-cta {
  display: inline-block;
  background: var(--gold);
  color: var(--white);
  padding: 14px 36px;
  border-radius: 4px;
  font-size: 1rem;
  font-family: 'Arial', sans-serif;
  font-weight: 600;
  letter-spacing: 0.3px;
  transition: background 0.2s, transform 0.15s;
  box-shadow: 0 4px 14px rgba(0,0,0,0.2);
}
.hero-cta:hover { background: #9e7430; transform: translateY(-2px); }

/* ── Page Hero (inner pages) ── */
.page-hero {
  background: linear-gradient(135deg, #0f2540 0%, #1a3a5c 60%, #2563a8 100%);
  color: var(--white);
  padding: 56px 6vw 48px;
}
.page-hero .section-label { color: #f5d78e; margin-bottom: 10px; }
.page-hero h1 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: bold;
  line-height: 1.25;
  margin-bottom: 14px;
}
.page-hero p {
  font-size: 1rem;
  color: rgba(255,255,255,0.82);
  font-family: 'Arial', sans-serif;
  max-width: 560px;
}

/* ── Section Wrapper ── */
section { padding: 72px 6vw; }
.section-label {
  font-size: 0.8rem;
  font-family: 'Arial', sans-serif;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
}
h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: var(--green-dark);
  margin-bottom: 14px;
}
.lead {
  font-size: 1rem;
  color: var(--muted);
  font-family: 'Arial', sans-serif;
  max-width: 620px;
  margin-bottom: 48px;
}

/* ── Services ── */
#services { background: var(--white); }
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  margin-top: 48px;
}
.service-card {
  background: var(--white);
  border-radius: 10px;
  padding: 28px 24px;
  border-left: 4px solid var(--gold);
  transition: box-shadow 0.25s, transform 0.2s;
}
.service-card:hover {
  box-shadow: 0 8px 30px rgba(26,58,92,0.12);
  transform: translateY(-4px);
}
.service-icon {
  width: 48px; height: 48px;
  background: var(--green-light);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
  margin-bottom: 16px;
}
.service-card h3 {
  font-size: 1rem;
  color: var(--green-dark);
  margin-bottom: 8px;
}
.service-card p {
  font-size: 0.88rem;
  color: var(--muted);
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
}
.service-card ul {
  margin-top: 10px;
  padding-left: 18px;
  font-family: 'Arial', sans-serif;
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.7;
}

/* ── Why Us ── */
#why { background: var(--green-light); }
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  margin-top: 48px;
}
.why-card {
  background: var(--white);
  border-radius: 10px;
  padding: 28px 24px;
  border-left: 4px solid var(--gold);
}
.why-card h4 {
  font-size: 1rem;
  color: var(--green-dark);
  margin-bottom: 8px;
}
.why-card p {
  font-size: 0.88rem;
  color: var(--muted);
  font-family: 'Arial', sans-serif;
}

/* ── How It Works ── */
#process { background: var(--white); }
.steps {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  margin-top: 48px;
  position: relative;
}
.step {
  flex: 1 1 200px;
  text-align: center;
  padding: 0 20px;
  position: relative;
}
.step:not(:last-child)::after {
  content: '→';
  position: absolute; right: -12px; top: 28px;
  font-size: 1.5rem;
  color: var(--border);
}
.step-num {
  width: 56px; height: 56px;
  background: var(--green-dark);
  color: var(--white);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; font-weight: bold;
  margin: 0 auto 16px;
}
.step h4 { font-size: 1rem; color: var(--green-dark); margin-bottom: 8px; }
.step p {
  font-size: 0.85rem;
  color: var(--muted);
  font-family: 'Arial', sans-serif;
}

/* ── Testimonials ── */
#testimonials { background: var(--gold-light); }
.testi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
}
.testi-card {
  background: var(--white);
  border-radius: 12px;
  padding: 32px 28px;
  box-shadow: 0 2px 14px rgba(0,0,0,0.06);
  position: relative;
}
.testi-card::before {
  content: '"';
  position: absolute; top: 16px; left: 22px;
  font-size: 3.5rem;
  color: var(--gold);
  opacity: 0.25;
  font-family: Georgia, serif;
  line-height: 1;
}
.testi-card p {
  font-size: 0.95rem;
  color: var(--text);
  font-style: italic;
  margin-bottom: 20px;
  font-family: 'Arial', sans-serif;
}
.testi-author { display: flex; align-items: center; gap: 12px; }
.testi-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--green-mid);
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; font-weight: bold;
  font-family: 'Arial', sans-serif;
}
.testi-name { font-size: 0.92rem; font-weight: bold; color: var(--green-dark); }
.testi-loc { font-size: 0.8rem; color: var(--muted); font-family: 'Arial', sans-serif; }

/* ── Contact ── */
#contact {
  background: var(--green-light);
  color: var(--text);
}
#contact h2 { color: var(--green-dark); }
#contact .lead { color: var(--muted); }
.contact-wrapper {
  display: flex; gap: 48px; flex-wrap: wrap; align-items: flex-start;
  margin-top: 48px;
}
.contact-info { flex: 1 1 260px; }
.contact-row {
  display: flex; align-items: flex-start; gap: 16px;
  margin-bottom: 28px;
}
.contact-row .ci-icon {
  font-size: 1.4rem;
  width: 44px; height: 44px;
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.contact-row .ci-label {
  font-size: 0.78rem;
  color: var(--muted);
  font-family: 'Arial', sans-serif;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.contact-row .ci-val {
  font-size: 0.97rem;
  color: var(--text);
  font-family: 'Arial', sans-serif;
  margin-top: 2px;
}

/* ── Footer ── */
footer {
  background: #0c1f35;
  color: rgba(255,255,255,0.6);
  text-align: center;
  padding: 28px 6vw;
  font-family: 'Arial', sans-serif;
  font-size: 0.85rem;
}
footer strong { color: rgba(255,255,255,0.85); }
footer a { color: var(--gold); }

/* ── HubSpot form overrides ── */
#hubspot-form-wrapper .hs-form-private { margin: 0 !important; }
#hubspot-form-wrapper fieldset { padding: 0 !important; margin: 0 0 8px !important; max-width: 100% !important; }
#hubspot-form-wrapper .hs-form-field { margin-bottom: 8px !important; }
#hubspot-form-wrapper label { font-size: 0.78rem !important; margin-bottom: 3px !important; display: block; color: #5a5a5a !important; font-family: Arial, sans-serif !important; }
#hubspot-form-wrapper input.hs-input,
#hubspot-form-wrapper select.hs-input,
#hubspot-form-wrapper textarea.hs-input {
  width: 100% !important; padding: 8px 10px !important; font-size: 0.88rem !important;
  font-family: Arial, sans-serif !important; border: 1px solid #c5d8f0 !important;
  border-radius: 5px !important; box-sizing: border-box !important;
  color: #2d2d2d !important; background: #fff !important; margin: 0 !important;
}
#hubspot-form-wrapper input.hs-input:focus,
#hubspot-form-wrapper select.hs-input:focus,
#hubspot-form-wrapper textarea.hs-input:focus { border-color: #2563a8 !important; outline: none !important; }
#hubspot-form-wrapper textarea.hs-input { min-height: 70px !important; resize: vertical !important; }
#hubspot-form-wrapper .hs-button {
  width: 100% !important; background: #1a3a5c !important; color: #fff !important;
  border: none !important; border-radius: 5px !important; padding: 10px !important;
  font-size: 0.95rem !important; font-weight: 600 !important;
  font-family: Arial, sans-serif !important; cursor: pointer !important; margin-top: 4px !important;
}
#hubspot-form-wrapper .hs-button:hover { background: #2563a8 !important; }
#hubspot-form-wrapper .actions { margin: 6px 0 0 !important; padding: 0 !important; }
#hubspot-form-wrapper .hs-error-msgs { list-style: none !important; padding: 0 !important; margin: 2px 0 0 !important; }
#hubspot-form-wrapper .hs-error-msgs li label { color: #c0392b !important; font-size: 0.75rem !important; }
#hubspot-form-wrapper .submitted-message { font-family: Arial, sans-serif !important; font-size: 0.9rem !important; color: #155724 !important; }

/* ── Blog tiles ── */
.blog-tile {
  background: #ffffff; border: 2px solid #2563a8; border-radius: 12px;
  overflow: hidden; cursor: pointer;
  transition: transform 0.28s cubic-bezier(0.34,1.56,0.64,1), box-shadow 0.28s;
  display: flex; flex-direction: column; position: relative;
}
.blog-tile:hover { transform: translateY(-12px) scale(1.04); box-shadow: 0 28px 60px rgba(37,99,168,0.32); z-index: 5; }
.blog-tile .bt-top { height: 5px; background: linear-gradient(90deg,#2563a8,#1a3a5c); flex-shrink: 0; }
.blog-tile .bt-body { padding: 22px 22px 20px; flex: 1; display: flex; flex-direction: column; }
.blog-tile .bt-cat { font-size: 0.68rem; font-family: Arial,sans-serif; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--gold); margin-bottom: 10px; }
.blog-tile .bt-title { font-size: 0.98rem; color: #1a3a5c; font-family: Georgia,serif; line-height: 1.45; flex: 1; font-weight: bold; }
.blog-tile .bt-read { font-size: 0.78rem; font-family: Arial,sans-serif; font-weight: 600; color: #2563a8; margin-top: 16px; opacity: 0; transform: translateY(4px); transition: opacity 0.2s, transform 0.2s; }
.blog-tile:hover .bt-read { opacity: 1; transform: translateY(0); }

/* ── Blog modal content ── */
#modal-content h2 { color: #1a3a5c; margin: 28px 0 8px; font-size: 1.35rem; }
#modal-content h3 { color: #1a3a5c; margin: 24px 0 10px; font-size: 1.15rem; }
#modal-content h4 { color: #2563a8; margin: 18px 0 8px; font-size: 1rem; font-style: italic; }
#modal-content p { margin-bottom: 14px; }
#modal-content ul { margin: 10px 0 14px 20px; }
#modal-content li { margin-bottom: 6px; }
#modal-content table { width: 100%; border-collapse: collapse; margin: 20px 0; font-size: 0.9rem; }
#modal-content th { background: #1a3a5c; color: #fff; padding: 10px 14px; text-align: left; font-weight: 700; border: 1px solid #93c5fd; }
#modal-content td { padding: 9px 14px; border: 1px solid #d1d5db; vertical-align: top; }
#modal-content tr:nth-child(even) td { background: #f8fafc; }
#modal-content strong { color: #1a3a5c; }
#modal-content em { color: #5a5a5a; }

/* ── Responsive ── */
@media (max-width: 1024px) {
  #blog-grid { grid-template-columns: repeat(2,1fr) !important; }
}
@media (max-width: 640px) {
  .step:not(:last-child)::after { display: none; }
  #blog-grid { grid-template-columns: 1fr !important; }
}
