/* =========================================================
   Blue Rock Digital — Stylesheet
   Fonts: Poppins (display/headings) + Inter (body/UI)
   ========================================================= */

/* -------------------- Design Tokens -------------------- */
:root {
  /* Colour palette */
  --color-navy: #14293F;         /* primary — deep professional blue */
  --color-navy-light: #1F3C5C;   /* secondary panels / gradients */
  --color-blue: #2E6BA8;         /* action blue — buttons, links */
  --color-blue-hover: #24567F;   /* hover state for action blue */
  --color-sky-tint: #EEF4FA;     /* very light blue background tint */
  --color-white: #FFFFFF;
  --color-text: #16232E;
  --color-text-muted: #5B6B78;
  --color-border: #E1E8EF;
  --color-success: #2F8F6B;

  /* Elevation */
  --shadow-sm: 0 1px 3px rgba(20, 41, 63, 0.08), 0 1px 2px rgba(20, 41, 63, 0.06);
  --shadow-md: 0 8px 24px rgba(20, 41, 63, 0.10);
  --shadow-lg: 0 20px 48px rgba(20, 41, 63, 0.16);

  /* Radius */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-pill: 999px;

  /* Type */
  --font-display: "Poppins", "Segoe UI", sans-serif;
  --font-body: "Inter", "Segoe UI", sans-serif;

  /* Layout */
  --max-width: 1180px;
  --nav-height: 76px;
  --transition: 220ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* -------------------- Reset -------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

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

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--color-navy);
  line-height: 1.2;
  margin: 0 0 0.6em;
  font-weight: 600;
}

h1 { font-size: clamp(2.1rem, 4vw, 3.2rem); font-weight: 700; }
h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); }
h3 { font-size: 1.2rem; }

p { margin: 0 0 1em; color: var(--color-text-muted); }

a { color: var(--color-blue); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--color-blue-hover); }

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

ul { margin: 0; padding: 0; list-style: none; }

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

section { padding: 96px 0; }

/* Visible keyboard focus for accessibility */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--color-blue);
  outline-offset: 3px;
  border-radius: 4px;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

/* -------------------- Eyebrow / Labels -------------------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-blue);
  margin-bottom: 14px;
}

.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--color-blue);
  border-radius: var(--radius-pill);
}

.section-head {
  max-width: 640px;
  margin: 0 0 52px;
}

.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

/* -------------------- Buttons -------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-pill);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition), color var(--transition), border-color var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: var(--color-blue);
  color: var(--color-white);
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover {
  background: var(--color-blue-hover);
  color: var(--color-white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-outline {
  background: transparent;
  color: var(--color-white);
  border-color: rgba(255, 255, 255, 0.55);
}
.btn-outline:hover {
  background: rgba(255, 255, 255, 0.12);
  color: var(--color-white);
  border-color: var(--color-white);
  transform: translateY(-2px);
}

.btn-dark-outline {
  background: transparent;
  color: var(--color-navy);
  border-color: var(--color-border);
}
.btn-dark-outline:hover {
  border-color: var(--color-blue);
  color: var(--color-blue);
  transform: translateY(-2px);
}

.btn-block { width: 100%; }

/* -------------------- Header / Nav -------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--color-border);
  transition: box-shadow var(--transition);
}

.site-header.scrolled { box-shadow: var(--shadow-sm); }

.nav {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--color-navy);
}

.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: linear-gradient(145deg, var(--color-blue), var(--color-navy));
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.brand-mark svg { width: 18px; height: 18px; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-links a {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.94rem;
  color: var(--color-text);
  position: relative;
  padding: 6px 0;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0;
  height: 2px;
  background: var(--color-blue);
  transition: width var(--transition);
  border-radius: var(--radius-pill);
}

.nav-links a:hover::after,
.nav-links a[aria-current="page"]::after { width: 100%; }
.nav-links a[aria-current="page"] { color: var(--color-blue); }

.nav-cta { display: flex; align-items: center; gap: 18px; }
.nav-cta .btn { padding: 11px 22px; font-size: 0.9rem; }

.nav-phone {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--color-navy);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--color-navy);
  border-radius: var(--radius-pill);
  transition: transform var(--transition), opacity var(--transition);
}

.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* -------------------- Hero -------------------- */
.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(160deg, var(--color-navy) 0%, var(--color-navy-light) 55%, #234d74 100%);
  color: var(--color-white);
  padding: 130px 0 110px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}

.hero-copy .eyebrow { color: #8FC1F2; }
.hero-copy .eyebrow::before { background: #8FC1F2; }

.hero h1 { color: var(--color-white); }

.hero-lead {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.78);
  max-width: 500px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 32px;
}

.hero-trustbar {
  display: flex;
  gap: 32px;
  margin-top: 56px;
  flex-wrap: wrap;
}

.hero-trustbar div { min-width: 110px; }

.hero-trustbar strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--color-white);
}

.hero-trustbar span {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.65);
}

/* Signature element: connected-network visual */
.hero-visual {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.14);
  overflow: hidden;
}

.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.9;
}

.network-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.network-svg circle.node {
  fill: #8FC1F2;
  animation: pulse-node 3.2s ease-in-out infinite;
}
.network-svg circle.node.n2 { animation-delay: .5s; }
.network-svg circle.node.n3 { animation-delay: 1s; }
.network-svg circle.node.n4 { animation-delay: 1.5s; }
.network-svg circle.node.n5 { animation-delay: 2s; }

.network-svg line {
  stroke: rgba(143, 193, 242, 0.35);
  stroke-width: 1;
}

@keyframes pulse-node {
  0%, 100% { opacity: 0.55; r: 4; }
  50% { opacity: 1; r: 6; }
}

.hero-badge {
  position: absolute;
  bottom: 20px;
  left: 20px;
  right: 20px;
  background: rgba(20, 41, 63, 0.75);
  backdrop-filter: blur(6px);
  border-radius: var(--radius-md);
  padding: 16px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid rgba(255,255,255,0.12);
}

.hero-badge strong { display: block; font-size: 0.95rem; }
.hero-badge span { font-size: 0.78rem; color: rgba(255,255,255,0.7); }

/* -------------------- Reveal-on-scroll -------------------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 700ms ease, transform 700ms ease;
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* -------------------- Services -------------------- */
.services { background: var(--color-white); }

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.service-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 34px 28px;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}

.service-icon {
  width: 54px;
  height: 54px;
  border-radius: var(--radius-sm);
  background: var(--color-sky-tint);
  display: grid;
  place-items: center;
  margin-bottom: 20px;
  color: var(--color-blue);
}

.service-icon svg { width: 26px; height: 26px; }

.service-card h3 { margin-bottom: 10px; }
.service-card p { margin-bottom: 14px; font-size: 0.95rem; }

.service-link {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.88rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.service-link svg { width: 14px; height: 14px; transition: transform var(--transition); }
.service-card:hover .service-link svg { transform: translateX(4px); }

/* -------------------- Why Choose Us -------------------- */
.why {
  background: var(--color-sky-tint);
}

.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.why-list { display: grid; gap: 22px; }

.why-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.why-num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--color-white);
  background: var(--color-blue);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.why-item h3 { margin-bottom: 4px; font-size: 1.05rem; }
.why-item p { margin: 0; font-size: 0.93rem; }

.why-visual {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4/5;
}

.why-visual img { width: 100%; height: 100%; object-fit: cover; }

/* -------------------- Testimonials -------------------- */
.testimonials { background: var(--color-navy); color: var(--color-white); }

.testimonials .section-head h2 { color: var(--color-white); }
.testimonials .section-head p { color: rgba(255,255,255,0.7); }
.testimonials .eyebrow { color: #8FC1F2; }
.testimonials .eyebrow::before { background: #8FC1F2; }

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.testimonial-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  padding: 30px;
  transition: transform var(--transition), background var(--transition);
}

.testimonial-card:hover {
  transform: translateY(-6px);
  background: rgba(255, 255, 255, 0.1);
}

.stars { color: #8FC1F2; letter-spacing: 3px; margin-bottom: 16px; font-size: 0.95rem; }

.testimonial-card p.quote {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.96rem;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 20px;
}

.avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
  background: rgba(255,255,255,0.15);
}

.testimonial-author strong { display: block; font-size: 0.9rem; }
.testimonial-author span { font-size: 0.78rem; color: rgba(255,255,255,0.6); }

/* -------------------- CTA band -------------------- */
.cta-band {
  background: linear-gradient(120deg, var(--color-blue), var(--color-navy));
  color: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
}

.cta-band h2 { color: var(--color-white); margin-bottom: 6px; }
.cta-band p { color: rgba(255,255,255,0.8); margin: 0; }
.cta-band-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* -------------------- Footer -------------------- */
.site-footer {
  background: #0F2136;
  color: rgba(255, 255, 255, 0.7);
  padding: 72px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand .brand { color: var(--color-white); margin-bottom: 14px; }
.footer-brand p { font-size: 0.9rem; max-width: 280px; }

.social-links { display: flex; gap: 10px; margin-top: 18px; }

.social-links a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: grid;
  place-items: center;
  color: var(--color-white);
  transition: background var(--transition), transform var(--transition), border-color var(--transition);
}

.social-links a:hover {
  background: var(--color-blue);
  border-color: var(--color-blue);
  transform: translateY(-3px);
}

.social-links svg { width: 16px; height: 16px; }

.footer-col h4 {
  color: var(--color-white);
  font-size: 0.95rem;
  margin-bottom: 18px;
}

.footer-col ul { display: grid; gap: 12px; }
.footer-col a { color: rgba(255, 255, 255, 0.68); font-size: 0.92rem; }
.footer-col a:hover { color: var(--color-white); }

.footer-contact li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.68);
}

.footer-contact svg { width: 16px; height: 16px; margin-top: 3px; flex-shrink: 0; color: #8FC1F2; }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 28px;
  font-size: 0.82rem;
}

.footer-bottom a { color: rgba(255, 255, 255, 0.6); }

/* -------------------- Page Hero (inner pages) -------------------- */
.page-hero {
  background: linear-gradient(160deg, var(--color-navy) 0%, var(--color-navy-light) 100%);
  color: var(--color-white);
  padding: 100px 0 76px;
  text-align: center;
}

.page-hero .eyebrow { color: #8FC1F2; justify-content: center; }
.page-hero .eyebrow::before { display: none; }
.page-hero h1 { color: var(--color-white); margin-bottom: 14px; }
.page-hero p { color: rgba(255, 255, 255, 0.78); max-width: 620px; margin: 0 auto; }

.breadcrumb {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 18px;
}
.breadcrumb a { color: rgba(255, 255, 255, 0.75); }
.breadcrumb a:hover { color: var(--color-white); }

/* -------------------- About page -------------------- */
.story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.story-visual {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4/3;
}
.story-visual img { width: 100%; height: 100%; object-fit: cover; }

.mission-band {
  background: var(--color-sky-tint);
}

.mission-statement {
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
}

.mission-statement h2 { margin-bottom: 18px; }
.mission-statement p { font-size: 1.15rem; color: var(--color-navy-light); }

.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.value-card {
  text-align: center;
  padding: 32px 22px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  transition: transform var(--transition), box-shadow var(--transition);
}

.value-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }

.value-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--color-sky-tint);
  color: var(--color-blue);
  display: grid;
  place-items: center;
  margin: 0 auto 16px;
}
.value-icon svg { width: 24px; height: 24px; }

.value-card h3 { font-size: 1rem; margin-bottom: 8px; }
.value-card p { font-size: 0.9rem; margin: 0; }

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.team-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}

.team-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }

.team-photo { aspect-ratio: 4/3; overflow: hidden; }
.team-photo img { width: 100%; height: 100%; object-fit: cover; }

.team-info { padding: 22px 24px; }
.team-info h3 { margin-bottom: 2px; }
.team-role { color: var(--color-blue); font-weight: 600; font-size: 0.85rem; margin-bottom: 10px; display: block; }
.team-info p { font-size: 0.9rem; margin: 0; }

.stats-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
  border-top: 1px solid var(--color-border);
  padding-top: 56px;
  margin-top: 56px;
}

.stats-strip strong {
  display: block;
  font-family: var(--font-display);
  font-size: 2.1rem;
  color: var(--color-navy);
}
.stats-strip span { font-size: 0.85rem; color: var(--color-text-muted); }

/* -------------------- Contact page -------------------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 48px;
  align-items: start;
}

.contact-card {
  background: var(--color-sky-tint);
  border-radius: var(--radius-lg);
  padding: 40px;
}

.contact-info-list { display: grid; gap: 26px; margin-top: 28px; }

.contact-info-item { display: flex; gap: 16px; align-items: flex-start; }

.contact-info-icon {
  width: 46px;
  height: 46px;
  border-radius: var(--radius-sm);
  background: var(--color-white);
  color: var(--color-blue);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  box-shadow: var(--shadow-sm);
}
.contact-info-icon svg { width: 20px; height: 20px; }

.contact-info-item h3 { font-size: 0.98rem; margin-bottom: 4px; }
.contact-info-item p { margin: 0; font-size: 0.92rem; }

.form-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-sm);
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }

.field { margin-bottom: 20px; }

.field label {
  display: block;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.88rem;
  color: var(--color-navy);
  margin-bottom: 8px;
}

.field input,
.field textarea,
.field select {
  width: 100%;
  padding: 13px 16px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--color-text);
  background: var(--color-white);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.field input:focus,
.field textarea:focus,
.field select:focus {
  border-color: var(--color-blue);
  box-shadow: 0 0 0 4px rgba(46, 107, 168, 0.12);
  outline: none;
}

.field textarea { resize: vertical; min-height: 130px; }

.form-note { font-size: 0.82rem; color: var(--color-text-muted); margin-top: 10px; }

.field-error input,
.field-error textarea { border-color: #C24444; box-shadow: 0 0 0 4px rgba(194, 68, 68, 0.1); }

.form-success {
  display: none;
  align-items: center;
  gap: 10px;
  background: rgba(47, 143, 107, 0.1);
  color: var(--color-success);
  border: 1px solid rgba(47, 143, 107, 0.25);
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 500;
  margin-top: 18px;
}
.form-success.visible { display: flex; }

.map-section { background: var(--color-sky-tint); }

.map-placeholder {
  aspect-ratio: 16/6;
  border-radius: var(--radius-lg);
  border: 1px dashed #B9CADC;
  background: repeating-linear-gradient(135deg, #E4EDF6, #E4EDF6 12px, #DCE7F2 12px, #DCE7F2 24px);
  display: grid;
  place-items: center;
  text-align: center;
  color: var(--color-navy-light);
  overflow: hidden;
}

.map-placeholder-inner {
  background: rgba(255,255,255,0.85);
  padding: 22px 30px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.map-placeholder-inner svg { width: 30px; height: 30px; margin: 0 auto 10px; color: var(--color-blue); }
.map-placeholder-inner strong { display: block; font-family: var(--font-display); margin-bottom: 4px; }
.map-placeholder-inner span { font-size: 0.85rem; color: var(--color-text-muted); }

.service-area-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.service-area-list span {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--color-navy);
}

/* -------------------- Template page utility classes -------------------- */
.content-block { max-width: 760px; }
.content-block.center { margin: 0 auto; text-align: center; }

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.placeholder-box {
  aspect-ratio: 4/3;
  border-radius: var(--radius-lg);
  background: var(--color-sky-tint);
  border: 1px dashed #B9CADC;
  display: grid;
  place-items: center;
  color: var(--color-navy-light);
  font-size: 0.85rem;
  text-align: center;
  padding: 20px;
}

.card-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.generic-card {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}
.generic-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }

/* -------------------- Back to top -------------------- */
.back-to-top {
  position: fixed;
  bottom: 26px;
  right: 26px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--color-navy);
  color: var(--color-white);
  border: none;
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity var(--transition), transform var(--transition), visibility var(--transition), background var(--transition);
  z-index: 900;
}
.back-to-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { background: var(--color-blue); }
.back-to-top svg { width: 18px; height: 18px; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 460px; margin: 0 auto; }
  .why-grid { grid-template-columns: 1fr; }
  .why-visual { order: -1; max-width: 460px; margin: 0 auto; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonial-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .story-grid { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-strip { grid-template-columns: repeat(2, 1fr); row-gap: 32px; }
  .contact-grid { grid-template-columns: 1fr; }
  .two-col { grid-template-columns: 1fr; }
  .card-row { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 780px) {
  .nav-links, .nav-cta .btn-dark-outline, .nav-phone { display: none; }
  .nav-toggle { display: flex; }

  .nav-links.open {
    display: flex;
    position: absolute;
    top: var(--nav-height);
    left: 0;
    right: 0;
    background: var(--color-white);
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding: 18px 24px 26px;
    box-shadow: var(--shadow-md);
    border-bottom: 1px solid var(--color-border);
  }
  .nav-links.open a { width: 100%; padding: 12px 0; }

  section { padding: 68px 0; }
  .hero { padding: 96px 0 70px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-trustbar { justify-content: space-between; gap: 16px; }

  .services-grid, .testimonial-grid, .values-grid, .team-grid, .card-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .stats-strip { grid-template-columns: 1fr 1fr; }
  .cta-band { flex-direction: column; text-align: center; padding: 40px 28px; }
  .cta-band-actions { justify-content: center; }
  .form-row { grid-template-columns: 1fr; }
  .contact-card, .form-card { padding: 28px; }
  .footer-bottom { flex-direction: column; text-align: center; }
}
