@import url('https://fonts.googleapis.com/css2?family=Lora:ital,wght@0,400;0,500;0,600;1,400&family=Source+Sans+3:wght@300;400;500;600&display=swap');

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  /* Primary – Blue */
  --blue:        #2d6e9e;
  --blue-dark:   #1e4f75;
  --blue-mid:    #4a89b8;
  --blue-light:  #daeaf6;   /* light blue tint – section backgrounds */
  --blue-xlight: #f0f7fc;   /* very pale blue – alternating sections */

  /* Secondary – Teal */
  --teal:        #3d8c7a;
  --teal-dark:   #2a6659;
  --teal-light:  #d6ede8;   /* light teal tint */
  --teal-xlight: #eef8f5;   /* very pale teal */

  /* Neutrals – only cool white/blue-tinted, never warm */
  --white:       #ffffff;
  --off-white:   #f4f8fb;   /* blue-tinted near-white, replaces all beige/stone */
  --border:      #ccdce9;   /* blue-tinted border, never warm */
  --border-soft: #deeaf4;

  --text:        #1a2c3d;
  --text-mid:    #3d5468;
  --text-soft:   #6b8399;

  --shadow-sm:   0 1px 6px rgba(30,60,90,0.07);
  --shadow:      0 3px 18px rgba(30,60,90,0.10);
  --shadow-lg:   0 8px 40px rgba(30,60,90,0.14);
  --radius:      10px;
  --radius-lg:   16px;

  --ff-head: 'Lora', Georgia, serif;
  --ff-body: 'Source Sans 3', system-ui, sans-serif;
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--ff-body);
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { font-family: var(--ff-head); line-height: 1.25; font-weight: 500; color: var(--text); }
h1 { font-size: 1.8rem; }
h2 { font-size: 1.35rem; margin-bottom: 12px; }
h3 { font-size: 1.05rem; margin-bottom: 7px; }
p  { margin-bottom: 13px; color: var(--text-mid); font-size: 0.97rem; }
p:last-child { margin-bottom: 0; }
a  { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
img { display: block; max-width: 100%; }

@media (min-width: 768px) {
  h1 { font-size: clamp(2rem, 3.5vw, 2.75rem); }
  h2 { font-size: clamp(1.45rem, 2.2vw, 1.9rem); }
  p  { font-size: 1rem; }
}

/* LAYOUT */
.container { max-width: 1100px; margin: 0 auto; padding: 0 18px; }
@media (min-width: 600px) { .container { padding: 0 24px; } }

/* NAV */
nav {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky; top: 0; z-index: 100;
  box-shadow: var(--shadow-sm);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 60px; }
.nav-logo {
  font-family: var(--ff-head); font-size: 1.15rem; font-weight: 600;
  color: var(--blue); display: flex; align-items: center; gap: 9px;
  text-decoration: none; flex-shrink: 0;
}
.nav-logo strong { color: var(--teal); }
.nav-logo-mark {
  width: 32px; height: 32px; background: var(--blue); border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
}
.nav-logo-mark svg { width: 17px; height: 17px; stroke: white; fill: none; stroke-width: 1.8; }
.nav-links { display: none; list-style: none; gap: 2px; align-items: center; }
.nav-links.open {
  display: flex; flex-direction: column;
  position: absolute; top: 60px; left: 0; right: 0;
  background: var(--white); border-bottom: 1px solid var(--border);
  padding: 10px 18px 16px; box-shadow: var(--shadow); z-index: 99;
}
.nav-links a {
  font-size: 0.88rem; font-weight: 500; color: var(--text-mid);
  padding: 8px 11px; border-radius: 7px; display: block;
  transition: color 0.18s, background 0.18s; white-space: nowrap;
}
.nav-links a:hover, .nav-links a.active { color: var(--blue); background: var(--blue-xlight); text-decoration: none; }
.nav-cta { background: var(--blue) !important; color: white !important; border-radius: 7px !important; padding: 7px 15px !important; }
.nav-cta:hover { background: var(--blue-dark) !important; text-decoration: none !important; color: white !important; }
.nav-toggle { background: none; border: none; cursor: pointer; padding: 6px; color: var(--text); display: flex; }
@media (min-width: 900px) {
  .nav-links { display: flex; position: static; border: none; padding: 0; box-shadow: none; flex-direction: row; }
  .nav-toggle { display: none; }
  .nav-inner { height: 64px; }
}

/* BUTTONS */
.btn {
  display: inline-block; padding: 11px 22px; border-radius: 8px;
  font-family: var(--ff-body); font-size: 0.92rem; font-weight: 600;
  cursor: pointer; transition: all 0.18s; text-decoration: none; border: none; line-height: 1.3;
}
.btn-primary { background: var(--blue); color: white; }
.btn-primary:hover { background: var(--blue-dark); text-decoration: none; color: white; }
.btn-outline { background: transparent; color: var(--blue); border: 2px solid var(--blue); }
.btn-outline:hover { background: var(--blue); color: white; text-decoration: none; }
.btn-white { background: white; color: var(--blue); }
.btn-white:hover { background: var(--blue-xlight); text-decoration: none; color: var(--blue); }
.btn-teal { background: var(--teal); color: white; }
.btn-teal:hover { background: var(--teal-dark); text-decoration: none; color: white; }
.btn-outline-white { background: transparent; color: white; border: 2px solid rgba(255,255,255,0.5); }
.btn-outline-white:hover { background: rgba(255,255,255,0.15); text-decoration: none; color: white; }

/* PAGE HEADER */
.page-header { background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue) 100%); padding: 44px 0 40px; }
.page-header h1 { color: white; font-size: clamp(1.6rem, 3vw, 2.3rem); margin-bottom: 8px; }
.page-header p { color: rgba(255,255,255,0.85); font-size: 1rem; margin: 0; }

.section-label {
  font-size: 0.71rem; font-weight: 700; letter-spacing: 0.13em;
  text-transform: uppercase; color: var(--blue); margin-bottom: 7px; display: block;
}
.page-header .section-label { color: rgba(255,255,255,0.65); }

/* SECTIONS */
section { padding: 44px 0; }
@media (min-width: 768px) { section { padding: 56px 0; } }
.section-intro { font-size: 1rem; color: var(--text-mid); max-width: 600px; }

/* section bg variants – all blue-tinted, never warm */
.bg-light   { background: var(--off-white); }
.bg-blue    { background: var(--blue-xlight); }
.bg-teal    { background: var(--teal-xlight); }

/* CARDS */
.card {
  background: white; border: 1px solid var(--border);
  border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow-sm);
}
@media (min-width: 768px) { .card { padding: 28px; } }

/* GRIDS – mobile first */
.grid-2 { display: grid; grid-template-columns: 1fr; gap: 20px; }
.grid-3 { display: grid; grid-template-columns: 1fr; gap: 20px; }
.grid-4 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (min-width: 600px) { .grid-3 { grid-template-columns: 1fr 1fr; } }
@media (min-width: 768px) {
  .grid-2 { grid-template-columns: 1fr 1fr; gap: 32px; }
  .grid-3 { grid-template-columns: repeat(3, 1fr); gap: 22px; }
  .grid-4 { grid-template-columns: repeat(4, 1fr); gap: 18px; }
}
@media (min-width: 1000px) { .grid-2 { gap: 48px; } }

/* ICON BOX */
.icon-box {
  width: 46px; height: 46px; border-radius: 11px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 14px; flex-shrink: 0;
}
.icon-box svg { width: 22px; height: 22px; stroke-width: 1.7; }
.icon-blue { background: var(--blue-light); }
.icon-blue svg { stroke: var(--blue); fill: none; }
.icon-teal { background: var(--teal-light); }
.icon-teal svg { stroke: var(--teal); fill: none; }

/* DIVIDER */
.divider { border: none; border-top: 1px solid var(--border); margin: 0; }

/* HIGHLIGHT BOX */
.highlight-box { background: var(--blue-xlight); border-left: 4px solid var(--blue); border-radius: 0 var(--radius) var(--radius) 0; padding: 18px 22px; }
.highlight-box-teal { background: var(--teal-xlight); border-left-color: var(--teal); }

/* STEP NUM */
.step-num {
  width: 38px; height: 38px; background: var(--blue); color: white;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 0.92rem; flex-shrink: 0;
}

/* BADGE */
.badge { display: inline-block; background: var(--teal-light); color: var(--teal-dark); font-size: 0.75rem; font-weight: 700; padding: 3px 10px; border-radius: 20px; }

/* IMAGE UTILS */
.img-cover { width: 100%; height: 100%; object-fit: cover; display: block; }
.img-rounded { border-radius: var(--radius-lg); overflow: hidden; }

/* TRUST BAR */
.trust-bar { background: var(--blue-xlight); border-bottom: 1px solid var(--border-soft); padding: 13px 0; }
.trust-items { display: flex; gap: 14px 26px; flex-wrap: wrap; align-items: center; justify-content: center; }
.trust-item { display: flex; align-items: center; gap: 7px; font-size: 0.82rem; font-weight: 600; color: var(--text-mid); }
.trust-item svg { width: 14px; height: 14px; stroke: var(--teal); fill: none; flex-shrink: 0; stroke-width: 2.5; }

/* FORM */
.form-group { margin-bottom: 15px; }
.form-group label { display: block; font-size: 0.84rem; font-weight: 600; margin-bottom: 5px; color: var(--text); }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%; padding: 10px 13px; border: 1.5px solid var(--border);
  border-radius: 8px; font-family: var(--ff-body); font-size: 0.95rem;
  color: var(--text); background: white; transition: border-color 0.18s; outline: none; -webkit-appearance: none;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--blue); }
.form-group textarea { min-height: 110px; resize: vertical; }

/* FOOTER */
footer { background: #18293a; color: rgba(255,255,255,0.68); padding: 48px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 28px; margin-bottom: 32px; }
@media (min-width: 600px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 900px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; } }
footer h4 { color: white; font-size: 0.87rem; font-weight: 600; margin-bottom: 12px; font-family: var(--ff-body); }
footer ul { list-style: none; }
footer ul li { margin-bottom: 6px; }
footer ul li a { color: rgba(255,255,255,0.58); font-size: 0.87rem; }
footer ul li a:hover { color: white; text-decoration: none; }
.footer-brand { font-family: var(--ff-head); font-size: 1.12rem; color: white; margin-bottom: 8px; }
.footer-desc { font-size: 0.85rem; line-height: 1.6; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 18px; display: flex; flex-direction: column; gap: 7px; font-size: 0.79rem; }
@media (min-width: 600px) { .footer-bottom { flex-direction: row; justify-content: space-between; align-items: center; } }
.footer-bottom a { color: rgba(255,255,255,0.48); }
.footer-bottom a:hover { color: white; }
