:root {
  --navy: #0f1f45;
  --navy-2: #172c5e;
  --ink: #0f172a;
  --muted: #5b6b7f;
  --line: #e3e8ef;
  --bg: #ffffff;
  --tint: #f4f7fa;
  --accent: #1f3f8f;
  --accent-dark: #17306e;
  --accent-bright: #2f5bd3;
  --accent-light: #9db8ff;
  --accent-soft: #eaf0fb;
  --serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --radius: 6px;
  --shadow: 0 10px 30px -12px rgba(15, 31, 69, .2);
  --shadow-lg: 0 30px 60px -20px rgba(15, 31, 69, .4);
  --container: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  font-family: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.01em; }
h1, h2 { font-family: var(--serif); font-weight: 700; letter-spacing: -.015em; }
p { margin: 0 0 1em; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .7rem 1.2rem; border-radius: 4px; font-weight: 700; font-size: .95rem;
  border: 2px solid transparent; cursor: pointer; transition: .2s ease; font-family: inherit;
}
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; }
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 8px 20px -8px rgba(31,63,143,.6); }
.btn-primary:hover { background: var(--accent-bright); transform: translateY(-1px); }
.hero .btn-primary, .section-dark .btn-primary { background: #fff; color: var(--accent); box-shadow: none; }
.hero .btn-primary:hover, .section-dark .btn-primary:hover { background: var(--accent-soft); }
.btn-ghost { border-color: rgba(255,255,255,.35); color: #fff; }
.btn-ghost:hover { background: rgba(255,255,255,.1); border-color: #fff; }
.btn-lg { padding: .95rem 1.6rem; font-size: 1rem; }
.btn-block { width: 100%; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.9); backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; gap: 2rem; height: 72px; }
.brand { display: flex; align-items: center; }
.logo { height: 52px; width: auto; overflow: visible; }
.logo text { font-family: var(--serif); font-weight: 700; }
.logo-dark .logo-box { fill: #fff; stroke: var(--accent); stroke-width: 3; }
.logo-dark .logo-ink { fill: var(--accent); }
.logo-light { height: 56px; }
.logo-light .logo-box { fill: var(--navy); stroke: #fff; stroke-width: 3; }
.logo-light .logo-ink { fill: #fff; }

.main-nav { display: flex; gap: 1.75rem; margin-left: auto; }
.main-nav a { font-weight: 600; font-size: .95rem; color: var(--muted); transition: color .2s; }
.main-nav a:hover { color: var(--navy); }
.nav-toggle { display: none; }

/* Hero */
.hero { position: relative; color: #fff; overflow: hidden; background: var(--navy); }
.hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(800px 420px at 85% 0%, rgba(47,91,211,.45), transparent 60%),
    radial-gradient(600px 400px at 0% 100%, rgba(31,63,143,.5), transparent 60%),
    linear-gradient(160deg, #0f1f45 0%, #13285a 60%, #0f1f45 100%);
}
.hero-bg::before, .hero-bg::after {
  content: ""; position: absolute; border: 2px solid rgba(255,255,255,.07);
  width: 420px; height: 520px;
}
.hero-bg::before { right: -60px; top: -120px; }
.hero-bg::after { right: 200px; top: 220px; border-color: rgba(157,184,255,.1); }
.hero-inner {
  position: relative; display: grid; grid-template-columns: 1.35fr 1fr; gap: 4rem;
  align-items: center; padding-top: 96px; padding-bottom: 104px;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: .6rem; padding: .4rem .9rem;
  border: 1px solid rgba(255,255,255,.18); border-radius: 4px; background: rgba(255,255,255,.06);
  font-size: .85rem; font-weight: 600; color: #d5e1ee;
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent-light); box-shadow: 0 0 0 4px rgba(157,184,255,.2); }
.hero h1 { font-size: clamp(2.3rem, 5vw, 3.9rem); font-weight: 700; margin: 1.2rem 0 1rem; }
.hl { color: var(--accent-light); font-style: italic; }
.lead { font-size: 1.15rem; color: #c5d1ea; max-width: 36rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin: 2rem 0 1.75rem; }
.hero-points { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; list-style: none; padding: 0; margin: 0; color: #c3d2e2; font-size: .92rem; font-weight: 500; }
.hero-points li { display: flex; align-items: center; gap: .5rem; }
.hero-points li::before {
  content: ""; width: 18px; height: 18px; border-radius: 50%; background: rgba(157,184,255,.18) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239db8ff' stroke-width='3'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center/11px no-repeat;
}

.hero-card {
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14);
  border-radius: 8px; padding: 2rem; backdrop-filter: blur(10px);
  display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; box-shadow: var(--shadow-lg);
}
.hero-card-top { grid-column: 1 / -1; display: flex; align-items: center; gap: 1.25rem; padding-bottom: 1.25rem; border-bottom: 1px solid rgba(255,255,255,.12); }
.hero-card-top p { margin: 0; color: #c5d1ea; font-size: 1rem; }
.seal { width: 112px; height: 112px; flex: none; color: #fff; }
.seal text { font-family: var(--serif); fill: currentColor; }
.seal-leaves { fill: var(--accent-light); }
.stat { background: rgba(255,255,255,.06); border-radius: 4px; padding: 1.4rem; }
.stat-num { display: block; font-family: var(--serif); font-size: 2.6rem; font-weight: 700; line-height: 1; color: #fff; }
.stat-label { font-size: .88rem; color: #a9bccf; }
.badges { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: .5rem; }
.badge {
  padding: .45rem .85rem; border-radius: 3px; background: #fff; color: var(--navy);
  font-weight: 700; font-size: .85rem;
}

/* Trust strip */
.trust-strip { border-bottom: 1px solid var(--line); background: #fff; }
.trust-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; padding-top: 22px; padding-bottom: 22px; }
.trust-label { font-size: .8rem; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .1em; }
.trust-item { font-weight: 700; color: #7a8899; font-size: .98rem; }

/* Sections */
.section { padding: 104px 0; }
.section-tint { background: var(--tint); }
.section-dark .kicker { color: var(--accent-light); }
.section-dark { background: var(--navy); color: #fff; }
.section-head { max-width: 680px; margin-bottom: 3rem; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section h2 { font-size: clamp(1.9rem, 3.4vw, 2.8rem); }
.kicker { color: var(--accent-bright); font-weight: 700; font-size: .85rem; text-transform: uppercase; letter-spacing: .12em; margin-bottom: .8rem; }
.section-sub { color: var(--muted); font-size: 1.08rem; }
.section-sub.light { color: #b9c6e2; margin-bottom: 2rem; }

/* Services */
.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
.service-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem;
  transition: .25s ease; display: flex; flex-direction: column;
}
.service-card:hover { border-color: transparent; box-shadow: var(--shadow); transform: translateY(-4px); }
.service-icon {
  width: 52px; height: 52px; border-radius: 3px; background: var(--accent-soft);
  display: grid; place-items: center; margin-bottom: 1.2rem; transition: .25s;
}
.service-icon svg { width: 26px; height: 26px; fill: none; stroke: var(--accent); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.service-card:hover .service-icon { background: var(--accent); }
.service-card:hover .service-icon svg { stroke: #fff; }
.service-card h3 { font-family: var(--serif); font-size: 1.25rem; font-weight: 700; color: var(--navy); }
.service-card p { color: var(--muted); font-size: .94rem; flex: 1; }
details { border-top: 1px solid var(--line); padding-top: .9rem; margin-top: .25rem; }
summary {
  cursor: pointer; font-weight: 700; font-size: .9rem; color: var(--navy); list-style: none;
  display: flex; justify-content: space-between; align-items: center;
}
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-size: 1.3rem; line-height: 1; color: var(--accent); transition: transform .2s; }
details[open] summary::after { transform: rotate(45deg); }
.tags { list-style: none; padding: 0; margin: .9rem 0 0; display: flex; flex-wrap: wrap; gap: .4rem; }
.tags li { background: var(--accent-soft); color: var(--accent); border-radius: 3px; padding: .3rem .6rem; font-size: .8rem; font-weight: 600; }

/* Why */
.why-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 4rem; align-items: center; }
.why-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 1rem; }
.why-list li {
  display: flex; gap: 1.25rem; padding: 1.5rem; border-radius: var(--radius);
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1);
}
.why-num { font-family: var(--serif); font-weight: 700; color: var(--accent-light); font-size: 1.3rem; line-height: 1.2; }
.why-list h3 { font-family: var(--serif); font-size: 1.2rem; margin-bottom: .3rem; }
.why-list p { margin: 0; color: #b9c6e2; font-size: .95rem; }

/* Accreditations */
.accred-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
.accred { text-align: center; padding: 2rem 1.25rem; border: 1px solid var(--line); border-radius: var(--radius); }
.accred-logo {
  height: 84px; display: grid; place-items: center; margin: 0 auto 1.2rem; border-radius: 4px;
  font-weight: 800; font-size: 1.35rem; line-height: 1; letter-spacing: -.01em; width: 150px;
}
.accred-logo small { font-size: .62rem; letter-spacing: .25em; display: block; margin-top: .25rem; }
.accred-gas { background: #ffd200; color: #1a1a1a; }
.accred-niceic { background: #e4002b; color: #fff; }
.accred-fmb { background: #0e2c5a; color: #fff; font-size: 1.9rem; }
.accred-tm { background: #edf6f1; color: #00754a; }
.accred h3 { font-family: var(--serif); font-size: 1.1rem; color: var(--navy); margin-bottom: .3rem; }
.accred p { color: var(--muted); font-size: .9rem; margin: 0; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; }
.contact-tile {
  display: flex; align-items: center; gap: 1rem; padding: 1.2rem 1.4rem; background: #fff;
  border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: .9rem; transition: .2s;
}
.contact-tile:hover { box-shadow: var(--shadow); border-color: transparent; }
.ct-icon { width: 46px; height: 46px; flex: none; border-radius: 3px; background: var(--accent-soft); display: grid; place-items: center; }
.ct-icon svg { width: 22px; height: 22px; fill: none; stroke: var(--accent); stroke-width: 2; }
.contact-tile small { display: block; color: var(--muted); font-size: .8rem; font-weight: 600; }
.contact-tile strong { color: var(--navy); font-size: 1.05rem; }

.call-card {
  background: linear-gradient(160deg, var(--navy) 0%, #13285a 100%); color: #fff;
  border-radius: 8px; padding: 2.5rem; box-shadow: var(--shadow-lg);
}
.call-card-label { color: var(--accent-light); font-weight: 700; font-size: .85rem; text-transform: uppercase; letter-spacing: .12em; margin-bottom: .5rem; }
.call-number { display: block; font-family: var(--serif); font-size: clamp(2.2rem, 4.5vw, 3.2rem); font-weight: 700; line-height: 1.1; margin-bottom: 1.5rem; }
.call-card .btn-primary { background: #fff; color: var(--accent); box-shadow: none; }
.call-card .btn-primary:hover { background: var(--accent-soft); }
.call-points { list-style: none; padding: 1.5rem 0 0; margin: 1.5rem 0 0; border-top: 1px solid rgba(255,255,255,.12); display: grid; gap: .6rem; color: #c5d1ea; font-size: .95rem; }
.call-points li { display: flex; align-items: center; gap: .6rem; }
.call-points li::before {
  content: ""; width: 18px; height: 18px; flex: none; border-radius: 50%; background: rgba(157,184,255,.18) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239db8ff' stroke-width='3'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center/11px no-repeat;
}

/* Footer */
.site-footer { background: #0a1633; color: #a5b3d1; padding-top: 64px; }
.footer-inner { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 3rem; padding-bottom: 48px; }
.footer-blurb { margin-top: 1rem; max-width: 22rem; font-size: .93rem; }
.site-footer h4 { color: #fff; font-size: .95rem; margin-bottom: 1rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .55rem; font-size: .93rem; }
.site-footer a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding-top: 22px; padding-bottom: 28px; font-size: .85rem; }

.mobile-call { display: none; }

/* Reveal animation */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* Responsive */
@media (max-width: 1040px) {
  .services-grid, .accred-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-inner { grid-template-columns: 1fr; gap: 3rem; padding-top: 72px; padding-bottom: 80px; }
  .why-grid, .contact-grid { grid-template-columns: 1fr; gap: 3rem; }
}

@media (max-width: 760px) {
  .container { padding: 0 16px; }
  .header-inner { height: 64px; gap: 1rem; }
  .logo { height: 42px; }
  .seal { width: 88px; height: 88px; }
  .header-cta { display: none; }
  .nav-toggle {
    display: flex; flex-direction: column; gap: 5px; margin-left: auto; padding: 10px;
    background: none; border: 0; cursor: pointer;
  }
  .nav-toggle span { width: 22px; height: 2px; background: var(--navy); border-radius: 2px; transition: .25s; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .main-nav {
    position: absolute; top: 64px; left: 0; right: 0; flex-direction: column; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line); display: none; padding: .5rem 16px 1rem;
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: .85rem 0; border-bottom: 1px solid var(--line); font-size: 1rem; color: var(--navy); }

  .hero-inner { padding-top: 48px; padding-bottom: 64px; }
  .hero-card { padding: 1.25rem; gap: .9rem; }
  .stat { padding: 1rem; }
  .stat-num { font-size: 2rem; }
  .hero-actions .btn { flex: 1 1 100%; }
  .trust-inner { justify-content: flex-start; gap: .5rem 1.25rem; }
  .trust-label { width: 100%; }
  .section { padding: 72px 0; }
  .services-grid, .accred-grid { grid-template-columns: 1fr; }
  .call-card { padding: 1.75rem; }
  .footer-inner { grid-template-columns: 1fr; gap: 2rem; }
  .site-footer { padding-bottom: 72px; }

  .mobile-call {
    display: flex; align-items: center; justify-content: center; gap: .5rem;
    position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 60;
    background: var(--accent); color: #fff; font-weight: 700; padding: 1rem; border-radius: 6px;
    box-shadow: 0 12px 30px -8px rgba(31,63,143,.7);
  }
  .mobile-call svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; }
}
