/* ---------- Tokens ---------- */
:root {
  --blue: #0B3C6F;
  --blue-dark: #082C52;
  --blue-light: #16568F;
  --orange: #FF6B1A;
  --orange-dark: #E55806;
  --ink: #14232F;
  --ink-soft: #4A5B68;
  --line: #DFE5EB;
  --grey: #F4F6F8;
  --white: #FFFFFF;

  --radius: 14px;
  --radius-lg: 20px;
  --shadow-sm: 0 1px 2px rgba(11, 60, 111, .08), 0 2px 8px rgba(11, 60, 111, .06);
  --shadow-md: 0 4px 14px rgba(11, 60, 111, .12);
  --shadow-call: 0 4px 14px rgba(255, 107, 26, .35);

  --banner-h: 36px;
  --callbar-h: 76px;
}

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

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  /* room for the sticky mobile call bar */
  padding-bottom: calc(var(--callbar-h) + env(safe-area-inset-bottom, 0px));
}

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

h1, h2, h3 { line-height: 1.2; margin: 0 0 .5em; font-weight: 800; letter-spacing: -.02em; }
h1 { font-size: clamp(1.85rem, 7vw, 3.1rem); }
h2 { font-size: clamp(1.45rem, 4.5vw, 2.1rem); }
h3 { font-size: 1.0625rem; font-weight: 700; letter-spacing: -.01em; }
p { margin: 0 0 1rem; }

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

:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 3px;
  border-radius: 4px;
}

.wrap {
  width: 100%;
  max-width: 1120px;
  margin-inline: auto;
  padding-inline: 20px;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 60;
  background: var(--white);
  color: var(--blue);
  font-weight: 700;
  padding: 10px 16px;
  border-radius: 10px;
  box-shadow: var(--shadow-md);
  transition: top .15s ease;
}
.skip-link:focus { top: 12px; }

/* ---------- Preview banner (removable) ---------- */
.preview-banner {
  position: relative;
  z-index: 55;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: var(--banner-h);
  padding: 6px 44px 6px 16px;
  background: #FFE9A8;
  color: #4A3500;
  font-size: .8125rem;
  font-weight: 700;
  letter-spacing: .02em;
  text-align: center;
}
.preview-banner__close {
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border: 0;
  background: transparent;
  color: inherit;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  border-radius: 8px;
}
.preview-banner__close:hover { background: rgba(0, 0, 0, .08); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 20px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  transition: background-color .15s ease, transform .15s ease, box-shadow .15s ease;
}
.btn--call {
  background: var(--orange);
  color: var(--white);
  box-shadow: var(--shadow-call);
}
.btn--call:hover { background: var(--orange-dark); }
.btn--call:active { transform: translateY(1px); }
.btn--call strong { font-weight: 800; white-space: nowrap; }
.btn__icon { flex: 0 0 auto; }
.btn--lg { min-height: 54px; font-size: 1.0625rem; padding-inline: 26px; }
.btn--xl {
  min-height: 60px;
  font-size: clamp(1.0625rem, 4vw, 1.25rem);
  padding-inline: 28px;
  width: 100%;
  max-width: 420px;
}
.btn--block { width: 100%; }

/* ---------- Top bar ---------- */
.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--blue);
  box-shadow: var(--shadow-md);
}
.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 64px;
  padding-block: 10px;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--white);
  text-decoration: none;
  font-weight: 800;
  font-size: 1.1875rem;
  letter-spacing: -.02em;
}
.logo__mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: linear-gradient(160deg, #2E7FC2, #0B3C6F);
  color: #BFE2FF;
  flex: 0 0 auto;
}
/* On small screens the header button would push the phone number off-screen,
   so the sticky bottom bar carries the call action instead. */
.topbar__call { display: none; }

/* ---------- Hero ---------- */
.hero {
  background:
    radial-gradient(900px 420px at 82% -8%, rgba(255, 107, 26, .22), transparent 60%),
    linear-gradient(170deg, var(--blue-light) 0%, var(--blue) 45%, var(--blue-dark) 100%);
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  inset: auto -10% -60% 40%;
  height: 70%;
  background: radial-gradient(closest-side, rgba(255, 255, 255, .10), transparent);
  pointer-events: none;
}
.hero__inner {
  position: relative;
  padding-block: 36px 44px;
}
.hero h1 { margin-bottom: .45em; }
.hero__sub {
  font-size: clamp(1rem, 3.6vw, 1.1875rem);
  color: #D7E6F5;
  max-width: 56ch;
  margin-bottom: 1.6rem;
}
.hero__note {
  margin: 14px 0 0;
  font-size: .875rem;
  color: #B9D2EA;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 18px;
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .13);
  border: 1px solid rgba(255, 255, 255, .22);
  color: var(--white);
  font-size: .8125rem;
  font-weight: 700;
  letter-spacing: .02em;
}
.badge__dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #4ADE80;
  box-shadow: 0 0 0 4px rgba(74, 222, 128, .22);
}

/* ---------- Sections ---------- */
.section { padding-block: 44px; }
.section--alt { background: var(--grey); }
.section__lede {
  color: var(--ink-soft);
  max-width: 60ch;
  margin-bottom: 1.75rem;
}
.section__cta { margin: 28px 0 0; }

/* ---------- Grids ---------- */
.grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
}

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 20px;
  box-shadow: var(--shadow-sm);
}
.card h3 { margin-bottom: .35em; }
.card p { margin: 0; color: var(--ink-soft); font-size: .9375rem; }
.card__icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 14px;
  border-radius: 13px;
  background: #E8F1FA;
  color: var(--blue);
}
.card__icon svg { width: 24px; height: 24px; }

.point {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 18px;
  box-shadow: var(--shadow-sm);
}
.point h3 { margin-bottom: .3em; }
.point p { margin: 0; color: var(--ink-soft); font-size: .9375rem; }
.point__icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  border-radius: 12px;
  background: var(--orange);
  color: var(--white);
}
.point__icon svg { width: 22px; height: 22px; }

/* ---------- Areas ---------- */
.areas {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.areas li {
  background: var(--grey);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 9px 16px;
  font-weight: 600;
  font-size: .9375rem;
}
.areas__note { margin: 18px 0 0; color: var(--ink-soft); font-size: .9375rem; }

/* ---------- Reviews placeholder ---------- */
.reviews-placeholder {
  background: var(--white);
  border: 2px dashed #C3D2E0;
  border-radius: var(--radius-lg);
  padding: 32px 22px;
  text-align: center;
  color: var(--ink-soft);
}
.reviews-placeholder__icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin: 0 auto 14px;
  border-radius: 50%;
  background: #E8F1FA;
  color: var(--blue);
}
.reviews-placeholder__icon svg { width: 26px; height: 26px; }
.reviews-placeholder__title {
  margin: 0 0 .35rem;
  color: var(--ink);
  font-weight: 800;
  font-size: 1.0625rem;
}
.reviews-placeholder p:last-child { margin: 0; font-size: .9375rem; }

/* ---------- Contact ---------- */
.contact { display: grid; gap: 22px; }
.meta { margin: 22px 0 0; }
.meta dt {
  font-size: .75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--blue);
  margin-top: 16px;
}
.meta dd { margin: 4px 0 0; color: var(--ink-soft); }
.meta address { font-style: normal; }
.contact__map {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  background: var(--grey);
}
.contact__map iframe {
  width: 100%;
  height: 300px;
  border: 0;
}

/* ---------- Footer ---------- */
.footer {
  background: var(--blue-dark);
  color: #C9DCEE;
  padding-block: 32px;
  font-size: .9375rem;
}
.footer p { margin: 0 0 .35rem; }
.footer a { color: var(--white); font-weight: 700; }
.footer__name {
  color: var(--white);
  font-weight: 800;
  font-size: 1.125rem;
  letter-spacing: -.01em;
  margin-bottom: .5rem;
}
.footer__legal { margin: 14px 0 0; color: #8FB0CC; font-size: .875rem; }

/* ---------- Sticky mobile call bar ---------- */
.callbar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 50;
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom, 0px));
  background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(8px);
  border-top: 1px solid var(--line);
  box-shadow: 0 -4px 18px rgba(11, 60, 111, .10);
}
.callbar .btn { min-height: 54px; font-size: 1.0625rem; }

/* ---------- Tablet and up ---------- */
@media (min-width: 640px) {
  .section { padding-block: 60px; }
  .hero__inner { padding-block: 56px 64px; }
  .grid { gap: 16px; }
  .grid--services { grid-template-columns: repeat(2, 1fr); }
  .grid--why { grid-template-columns: repeat(2, 1fr); }
  .btn--xl { width: auto; }
}

/* ---------- Desktop ---------- */
@media (min-width: 900px) {
  body { padding-bottom: 0; }           /* bottom call bar is hidden below */
  .callbar { display: none; }
  .topbar__call { display: inline-flex; }
  .topbar__inner { min-height: 72px; }
  .logo { font-size: 1.375rem; }

  .section { padding-block: 72px; }
  .hero__inner { padding-block: 76px 84px; }
  .hero h1 { max-width: 20ch; }

  .grid--services { grid-template-columns: repeat(3, 1fr); }
  .card { padding: 24px; }

  .contact {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr);
    gap: 32px;
    align-items: start;
  }
  .contact__map iframe { height: 380px; }
  .contact__details .btn { max-width: 360px; }

  /* keep the placeholder from stretching the full page width */
  .reviews-placeholder { max-width: 680px; padding-block: 42px; }

  .footer__inner { display: grid; gap: 2px; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto !important; }
}
