@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

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

:root {
  --navy: #1e3a5f;
  --blue: #3b82f6;
  --blue-dark: #2563eb;
  --blue-light: #e8f4fd;
  --blue-pale: #dbeafe;
  --white: #ffffff;
  --slate: #64748b;
  --slate-light: #f8fafc;
  --border: #e2e8f0;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  color: #1e293b;
  background: #fff;
  line-height: 1.6;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* ── NAV ── */
nav {
  position: sticky; top: 0; z-index: 100;
  background: #fff;
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 3px rgba(0,0,0,.06);
}
.nav-inner {
  max-width: 1200px; margin: 0 auto;
  padding: 0 1.5rem;
  height: 64px;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.nav-logo img { height: 40px; width: auto; }
.nav-links {
  display: flex; align-items: center; gap: .25rem;
  list-style: none;
}
.nav-links a {
  padding: .5rem .75rem;
  border-radius: 8px;
  font-size: .875rem; font-weight: 500;
  color: var(--slate);
  transition: background .15s, color .15s;
}
.nav-links a:hover, .nav-links a.active {
  background: var(--blue-pale); color: var(--blue);
}
.nav-cta {
  display: flex; align-items: center; gap: .5rem;
  background: var(--blue); color: #fff;
  padding: .5rem 1rem; border-radius: 8px;
  font-size: .875rem; font-weight: 600;
  white-space: nowrap;
  transition: background .15s;
}
.nav-cta:hover { background: var(--blue-dark); }
.hamburger {
  display: none; flex-direction: column; gap: 5px;
  cursor: pointer; background: none; border: none; padding: 6px;
}
.hamburger span {
  display: block; width: 22px; height: 2px;
  background: var(--navy); border-radius: 2px;
  transition: .3s;
}
.mobile-menu {
  display: none;
  background: #fff; border-top: 1px solid var(--border);
  padding: .75rem 1.5rem 1rem;
}
.mobile-menu.open { display: block; }
.mobile-menu a {
  display: block; padding: .6rem .75rem;
  border-radius: 8px; font-size: .9rem; font-weight: 500;
  color: var(--slate);
}
.mobile-menu a:hover { background: var(--blue-pale); color: var(--blue); }
.mobile-cta {
  display: flex; align-items: center; justify-content: center; gap: .5rem;
  margin-top: .75rem;
  background: var(--blue); color: #fff;
  padding: .75rem; border-radius: 8px;
  font-weight: 600; font-size: .9rem;
}

/* ── UTILITIES ── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }
.section { padding: 5rem 0; }
.section-sm { padding: 3rem 0; }
.badge {
  display: inline-block;
  background: var(--blue-pale); color: var(--blue);
  font-size: .75rem; font-weight: 700;
  letter-spacing: .06em; text-transform: uppercase;
  padding: .3rem .75rem; border-radius: 99px;
  margin-bottom: 1rem;
}
.section-title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800; color: var(--navy); line-height: 1.2;
  margin-bottom: .75rem;
}
.section-sub { color: var(--slate); max-width: 560px; margin: 0 auto .5rem; }
.text-center { text-align: center; }

/* ── BUTTONS ── */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .75rem 1.5rem; border-radius: 12px;
  font-size: .9375rem; font-weight: 600;
  border: none; cursor: pointer;
  transition: background .15s, transform .1s;
  text-decoration: none;
}
.btn:active { transform: scale(.98); }
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-dark); }
.btn-outline { background: #fff; color: var(--blue); border: 2px solid var(--blue-pale); }
.btn-outline:hover { background: var(--blue-pale); }
.btn-white { background: #fff; color: var(--blue-dark); }
.btn-white:hover { background: var(--blue-pale); }
.btn-ghost { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,.5); }
.btn-ghost:hover { background: rgba(255,255,255,.1); }

/* ── CARDS ── */
.card {
  background: #fff; border: 1px solid var(--border);
  border-radius: 16px; padding: 1.75rem;
  transition: box-shadow .2s, border-color .2s;
}
.card:hover { box-shadow: 0 8px 24px rgba(0,0,0,.08); border-color: #bcd4f5; }
.card-icon {
  width: 48px; height: 48px; border-radius: 12px;
  background: var(--blue-pale);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1rem;
}
.card-icon svg { width: 22px; height: 22px; color: var(--blue); }

/* ── HERO ── */
.hero {
  background: linear-gradient(135deg, var(--blue-pale) 0%, var(--blue-light) 60%, #fff 100%);
  padding: 5rem 0;
}
.hero-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 3rem; align-items: center;
}
.hero h1 {
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  font-weight: 800; color: var(--navy); line-height: 1.15;
  margin-bottom: 1.25rem;
}
.hero h1 span { color: var(--blue); }
.hero p { color: var(--slate); font-size: 1.0625rem; margin-bottom: 2rem; max-width: 520px; }
.hero-btns { display: flex; gap: 1rem; flex-wrap: wrap; }

/* ── HERO FORM ── */
.hero-form {
  background: #fff; border-radius: 20px;
  box-shadow: 0 20px 60px rgba(30,58,95,.15);
  overflow: hidden;
}
.hero-form-header {
  background: var(--blue); padding: 1.25rem 1.5rem;
}
.hero-form-header h3 { color: #fff; font-size: 1.1rem; font-weight: 700; }
.hero-form-header p { color: rgba(255,255,255,.8); font-size: .8rem; margin-top: .2rem; }
.hero-form-body { padding: 1.5rem; display: flex; flex-direction: column; gap: 1rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
label { display: block; font-size: .8rem; font-weight: 600; color: #475569; margin-bottom: .4rem; text-transform: uppercase; letter-spacing: .04em; }
input, select, textarea {
  width: 100%; padding: .65rem 1rem;
  border: 1.5px solid var(--border); border-radius: 10px;
  font-size: .9rem; font-family: inherit; color: #1e293b;
  background: #fff; transition: border-color .15s, box-shadow .15s;
  -webkit-appearance: none;
}
input:focus, select:focus, textarea:focus {
  outline: none; border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(59,130,246,.15);
}
textarea { resize: none; }
.form-note { font-size: .75rem; color: var(--slate); text-align: center; }
.form-note a { color: var(--blue); font-weight: 600; }

/* ── STATS ── */
.stats { background: var(--navy); padding: 2.5rem 0; }
.stats-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1rem; text-align: center;
}
.stat-value { font-size: 2.25rem; font-weight: 800; color: #93c5fd; }
.stat-label { font-size: .875rem; color: #bfdbfe; margin-top: .25rem; }

/* ── GRID LAYOUTS ── */
.grid-4 { display: grid; grid-template-columns: repeat(4,1fr); gap: 1.5rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.5rem; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }

/* ── FEATURE CARDS ── */
.feature-card {
  background: var(--blue-light); border-radius: 16px; padding: 1.75rem;
}
.feature-card .card-icon { background: var(--blue); }
.feature-card .card-icon svg { color: #fff; }
.feature-card h3 { font-weight: 700; color: var(--navy); margin-bottom: .5rem; }
.feature-card p { font-size: .9rem; color: var(--slate); }

/* ── SERVICE CARDS ── */
.service-card {
  display: flex; align-items: flex-start; gap: 1rem;
  background: #fff; border: 1px solid var(--border);
  border-radius: 14px; padding: 1.25rem;
  transition: box-shadow .2s, border-color .2s;
}
.service-card:hover { box-shadow: 0 6px 20px rgba(0,0,0,.08); border-color: #bcd4f5; }
.service-icon {
  width: 40px; height: 40px; flex-shrink: 0;
  border-radius: 10px; background: var(--blue-pale);
  display: flex; align-items: center; justify-content: center;
}
.service-icon svg { width: 18px; height: 18px; color: var(--blue); }
.service-card h3 { font-size: .9375rem; font-weight: 700; color: var(--navy); margin-bottom: .25rem; }
.service-card p { font-size: .825rem; color: var(--slate); }

/* ── TESTIMONIALS ── */
.stars { display: flex; gap: 2px; margin-bottom: .75rem; }
.stars svg { width: 16px; height: 16px; fill: #f59e0b; color: #f59e0b; }
.testimonial-card { background: #fff; border-radius: 16px; padding: 1.75rem; box-shadow: 0 2px 12px rgba(0,0,0,.06); }
.testimonial-card p { font-size: .9rem; color: #475569; font-style: italic; margin-bottom: 1.25rem; }
.testimonial-author { display: flex; align-items: center; gap: .75rem; border-top: 1px solid var(--border); padding-top: 1rem; }
.author-avatar {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--blue-pale); color: var(--blue);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: .9rem; flex-shrink: 0;
}
.author-name { font-weight: 700; font-size: .875rem; color: var(--navy); }
.author-loc { font-size: .75rem; color: var(--slate); }

/* ── CTA BANNER ── */
.cta-banner { background: var(--blue); padding: 4rem 0; text-align: center; }
.cta-banner h2 { font-size: clamp(1.5rem,3vw,2.25rem); font-weight: 800; color: #fff; margin-bottom: .75rem; }
.cta-banner p { color: rgba(255,255,255,.85); margin-bottom: 2rem; max-width: 540px; margin-left: auto; margin-right: auto; }
.cta-btns { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ── PAGE HERO ── */
.page-hero {
  background: linear-gradient(135deg, var(--blue-pale), var(--blue-light));
  padding: 4rem 0; text-align: center;
}
.page-hero h1 { font-size: clamp(1.75rem,4vw,3rem); font-weight: 800; color: var(--navy); margin-bottom: .75rem; }
.page-hero p { color: var(--slate); font-size: 1.0625rem; max-width: 580px; margin: 0 auto 2rem; }

/* ── DARK PAGE HERO ── */
.page-hero-dark {
  background: linear-gradient(135deg, var(--navy), var(--blue-dark));
  padding: 4rem 0; color: #fff;
}
.page-hero-dark h1 { font-size: clamp(1.75rem,4vw,3rem); font-weight: 800; margin-bottom: .75rem; }
.page-hero-dark p { color: rgba(255,255,255,.85); font-size: 1.0625rem; max-width: 580px; margin-bottom: 2rem; }

/* ── CHECKLIST ── */
.checklist { list-style: none; display: flex; flex-direction: column; gap: .75rem; }
.checklist li { display: flex; align-items: flex-start; gap: .625rem; font-size: .9375rem; color: #334155; }
.checklist svg { width: 18px; height: 18px; color: var(--blue); flex-shrink: 0; margin-top: 2px; }

/* ── TABLE ── */
.compare-table { width: 100%; border-collapse: collapse; border-radius: 16px; overflow: hidden; border: 1px solid var(--border); }
.compare-table th { background: var(--navy); color: #fff; padding: .875rem 1.25rem; text-align: center; font-size: .875rem; }
.compare-table th:first-child { text-align: left; }
.compare-table td { padding: .75rem 1.25rem; font-size: .875rem; color: #334155; text-align: center; border-bottom: 1px solid var(--border); }
.compare-table td:first-child { text-align: left; font-weight: 500; }
.compare-table tr:last-child td { border-bottom: none; }
.compare-table tr:nth-child(even) td { background: var(--slate-light); }
.tick { color: #22c55e; font-size: 1.1rem; }
.cross { color: #f87171; font-size: 1.1rem; }

/* ── FAQ ── */
.faq-item { border: 1px solid var(--border); border-radius: 12px; overflow: hidden; margin-bottom: .75rem; }
.faq-q {
  width: 100%; text-align: left; background: #fff;
  padding: 1.1rem 1.25rem; border: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  font-size: .9375rem; font-weight: 600; color: var(--navy); font-family: inherit;
}
.faq-q:hover { background: var(--blue-light); }
.faq-q svg { flex-shrink: 0; transition: transform .25s; color: var(--blue); }
.faq-q.open svg { transform: rotate(180deg); }
.faq-a { display: none; padding: 0 1.25rem 1.1rem; font-size: .9rem; color: var(--slate); line-height: 1.7; }
.faq-a.open { display: block; }

/* ── TEAM CARDS ── */
.team-card { background: #fff; border: 1px solid var(--border); border-radius: 16px; overflow: hidden; }
.team-img { width: 100%; height: 200px; object-fit: cover; }
.team-body { padding: 1.25rem; }
.team-name { font-weight: 700; color: var(--navy); }
.team-role { font-size: .8rem; color: var(--blue); font-weight: 600; margin: .2rem 0 .625rem; }
.team-bio { font-size: .825rem; color: var(--slate); }

/* ── CQC BADGE ── */
.cqc-box {
  display: flex; align-items: flex-start; gap: 1.25rem;
  background: #f0fdf4; border: 1px solid #86efac;
  border-radius: 16px; padding: 1.5rem 2rem;
}
.cqc-icon { width: 52px; height: 52px; background: #dcfce7; border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.cqc-icon svg { width: 26px; height: 26px; color: #16a34a; }
.cqc-box h3 { font-weight: 700; color: #15803d; margin-bottom: .35rem; }
.cqc-box p { font-size: .875rem; color: #166534; }

/* ── CONTACT ── */
.contact-grid { display: grid; grid-template-columns: 3fr 2fr; gap: 3rem; }
.contact-form-box { background: #fff; border: 1px solid var(--border); border-radius: 20px; padding: 2.5rem; }
.contact-info-box { display: flex; flex-direction: column; gap: 1.25rem; }
.info-card { background: var(--blue-light); border-radius: 16px; padding: 1.5rem; }
.info-row { display: flex; align-items: flex-start; gap: .75rem; margin-bottom: 1rem; }
.info-row:last-child { margin-bottom: 0; }
.info-row svg { width: 18px; height: 18px; color: var(--blue); flex-shrink: 0; margin-top: 2px; }
.info-label { font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--slate); }
.info-value { font-size: .9rem; font-weight: 600; color: var(--navy); }
.emergency-box {
  background: #fef2f2; border: 1px solid #fca5a5;
  border-radius: 16px; padding: 1.25rem 1.5rem;
}
.emergency-box h3 { color: #991b1b; font-weight: 700; margin-bottom: .4rem; }
.emergency-box p { font-size: .85rem; color: #b91c1c; margin-bottom: .75rem; }
.map-frame { border-radius: 16px; overflow: hidden; border: 1px solid var(--border); }
.map-frame iframe { display: block; }

/* ── FOOTER ── */
footer { background: var(--navy); color: #fff; padding: 4rem 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 2.5rem; margin-bottom: 3rem; }
.footer-logo img { height: 36px; width: auto; filter: brightness(0) invert(1); margin-bottom: 1rem; }
.footer-tagline { font-size: .875rem; color: #93c5fd; line-height: 1.6; margin-bottom: 1.25rem; }
.footer-socials { display: flex; gap: .625rem; }
.social-btn {
  width: 36px; height: 36px; border-radius: 8px;
  background: rgba(255,255,255,.1);
  display: flex; align-items: center; justify-content: center;
  transition: background .15s;
}
.social-btn:hover { background: var(--blue); }
.social-btn svg { width: 16px; height: 16px; fill: #fff; }
.footer-col h4 { font-size: .875rem; font-weight: 700; color: #fff; margin-bottom: 1rem; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: .5rem; }
.footer-col ul a { font-size: .875rem; color: #93c5fd; transition: color .15s; }
.footer-col ul a:hover { color: #fff; }
.footer-contact-row { display: flex; align-items: flex-start; gap: .625rem; margin-bottom: .75rem; }
.footer-contact-row svg { width: 15px; height: 15px; color: #93c5fd; flex-shrink: 0; margin-top: 2px; }
.footer-contact-row a, .footer-contact-row span { font-size: .875rem; color: #93c5fd; transition: color .15s; }
.footer-contact-row a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 1.25rem 0;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: .75rem;
  font-size: .75rem; color: #7dd3fc;
}
.cqc-dot { display: flex; align-items: center; gap: .4rem; }
.cqc-dot::before { content: ''; display: block; width: 8px; height: 8px; background: #4ade80; border-radius: 50%; }

/* ── CAREERS ── */
.job-card { background: #fff; border: 1px solid var(--border); border-radius: 16px; overflow: hidden; margin-bottom: 1rem; }
.job-header {
  width: 100%; text-align: left; background: #fff;
  padding: 1.25rem 1.5rem; border: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center;
  font-family: inherit;
}
.job-header:hover { background: var(--blue-light); }
.job-title { font-size: 1.0625rem; font-weight: 700; color: var(--navy); margin-bottom: .4rem; }
.job-tags { display: flex; gap: .5rem; flex-wrap: wrap; }
.tag { font-size: .75rem; font-weight: 600; padding: .2rem .6rem; border-radius: 99px; }
.tag-blue { background: var(--blue-pale); color: var(--blue); }
.tag-grey { background: #f1f5f9; color: #64748b; }
.job-header svg { flex-shrink: 0; color: var(--blue); transition: transform .25s; }
.job-header.open svg { transform: rotate(180deg); }
.job-body { display: none; padding: 0 1.5rem 1.5rem; border-top: 1px solid var(--border); }
.job-body.open { display: block; }
.job-body p { font-size: .9rem; color: var(--slate); margin: 1rem 0 1rem; }

/* ── PROCESS STEPS ── */
.steps { display: grid; grid-template-columns: repeat(3,1fr); gap: 2rem; text-align: center; }
.step-num {
  width: 56px; height: 56px; border-radius: 16px;
  background: var(--blue); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.25rem; font-weight: 800; margin: 0 auto 1rem;
  position: relative;
}
.step-badge {
  position: absolute; top: -8px; right: -8px;
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--blue-pale); color: var(--blue);
  font-size: .65rem; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
}
.steps h3 { font-weight: 700; color: var(--navy); margin-bottom: .5rem; }
.steps p { font-size: .875rem; color: var(--slate); }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2,1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 768px) {
  .hero-grid, .grid-2 { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }
  .hero { padding: 3rem 0; }
  .section { padding: 3.5rem 0; }
}
@media (max-width: 480px) {
  .grid-4 { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2,1fr); }
  .footer-grid { grid-template-columns: 1fr; }
  .cqc-box { flex-direction: column; }
}
