/* ==========================================================================
   JLS SOLUTIONS — SITE STYLESHEET
   Design system: modern & sleek. Deep navy base, electric blue accent,
   generous white space, glass cards, soft shadows.
   --------------------------------------------------------------------------
   Shared by every page. Edit the variables below to re-theme the whole site.
   ========================================================================== */

:root {
  /* Brand colors (pulled from the JLS logo) */
  --navy-950: #060b16;
  --navy-900: #0b1220;
  --navy-800: #101a2e;
  --navy-700: #16233c;
  --blue-600: #2563eb;
  --blue-500: #3b82f6;
  --sky-400: #38bdf8;
  --green-500: #84cc16;          /* the "yardwork" green from the logo */

  /* Neutrals */
  --white: #ffffff;
  --light: #f4f6fa;
  --border: #e5eaf1;
  --text: #1f2937;
  --text-muted: #5b6472;
  --text-on-dark: #eef2f8;
  --text-muted-on-dark: #a8b5c9;

  /* Effects */
  --grad-accent: linear-gradient(135deg, var(--blue-600), var(--sky-400));
  --shadow-sm: 0 1px 2px rgba(11, 18, 32, 0.06), 0 2px 8px rgba(11, 18, 32, 0.05);
  --shadow-md: 0 4px 12px rgba(11, 18, 32, 0.07), 0 12px 32px rgba(11, 18, 32, 0.09);
  --shadow-lg: 0 8px 24px rgba(11, 18, 32, 0.1), 0 24px 64px rgba(11, 18, 32, 0.14);
  --shadow-glow: 0 8px 32px rgba(37, 99, 235, 0.35);
  --radius: 18px;
  --radius-lg: 28px;

  /* Type */
  --font-display: "Sora", sans-serif;
  --font-body: "Source Sans 3", sans-serif;
}

/* ---------- Reset & base ---------- */

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a { color: inherit; text-decoration: none; }

ul, ol { list-style: none; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--navy-900);
}

h1 { font-size: clamp(2.4rem, 5.5vw, 4.25rem); font-weight: 700; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.75rem); font-weight: 700; }
h3 { font-size: 1.25rem; font-weight: 600; }

p { color: var(--text-muted); }

.container {
  width: min(1160px, 100% - 2.5rem);
  margin-inline: auto;
}

section { padding: 96px 0; }

@media (max-width: 720px) {
  section { padding: 64px 0; }
}

/* Accessible skip link */
.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--navy-900); color: #fff;
  padding: 10px 18px; border-radius: 0 0 10px 0; z-index: 200;
}
.skip-link:focus { left: 0; }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  padding: 0.95rem 1.9rem;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease;
  min-height: 48px; /* touch-friendly */
}

.btn svg { width: 18px; height: 18px; flex: none; }

.btn-primary {
  background: var(--grad-accent);
  color: #fff;
  box-shadow: 0 4px 16px rgba(37, 99, 235, 0.28);
}
.btn-primary:hover,
.btn-primary:focus-visible {
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
}

/* Light outline button — for dark backgrounds */
.btn-ghost {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.btn-ghost:hover,
.btn-ghost:focus-visible {
  background: rgba(255, 255, 255, 0.16);
  transform: translateY(-2px);
}

/* Dark outline button — for light backgrounds */
.btn-outline {
  background: transparent;
  color: var(--navy-900);
  border: 1.5px solid var(--navy-900);
}
.btn-outline:hover,
.btn-outline:focus-visible {
  background: var(--navy-900);
  color: #fff;
  transform: translateY(-2px);
}

.btn-sm { padding: 0.6rem 1.3rem; font-size: 0.92rem; min-height: 42px; }
.btn-lg { padding: 1.1rem 2.4rem; font-size: 1.08rem; }

/* ---------- Header / navigation ---------- */

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  padding: 14px 0;
  transition: background 0.35s ease, box-shadow 0.35s ease, padding 0.35s ease;
}

/* Solid state — toggled by JS once the page scrolls */
.site-header.scrolled {
  background: rgba(6, 11, 22, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 8px 32px rgba(6, 11, 22, 0.35);
  padding: 8px 0;
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.brand { display: flex; align-items: center; gap: 0.7rem; flex: none; }

.brand-logo {
  width: 46px; height: 46px;
  border-radius: 50%;
  box-shadow: 0 0 0 2px rgba(56, 189, 248, 0.35);
}

.brand-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.18rem;
  color: #fff;
  letter-spacing: -0.01em;
}
.brand-name span { color: var(--sky-400); }

.main-nav {
  display: flex;
  align-items: center;
  gap: 1.9rem;
  margin-left: auto;
}

.main-nav > a,
.nav-drop > button {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--text-on-dark);
  background: none;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.4rem 0;
  position: relative;
  transition: color 0.2s ease;
}

.main-nav > a::after,
.nav-drop > button::after {
  content: "";
  position: absolute;
  left: 0; bottom: -2px;
  width: 100%; height: 2px;
  background: var(--grad-accent);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.main-nav > a:hover::after,
.main-nav > a[aria-current="page"]::after,
.nav-drop:hover > button::after { transform: scaleX(1); }

.main-nav > a:hover,
.nav-drop > button:hover { color: #fff; }

/* Services dropdown */
.nav-drop { position: relative; }
.nav-drop svg { width: 14px; height: 14px; transition: transform 0.25s ease; }
.nav-drop:hover svg, .nav-drop:focus-within svg { transform: rotate(180deg); }

.drop-menu {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  translate: -50% 0;
  min-width: 230px;
  background: rgba(10, 17, 30, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 0.6rem;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
}

.nav-drop:hover .drop-menu,
.nav-drop:focus-within .drop-menu {
  opacity: 1; visibility: visible; transform: translateY(0);
}

.drop-menu a {
  display: block;
  padding: 0.65rem 0.9rem;
  border-radius: 10px;
  color: var(--text-on-dark);
  font-size: 0.95rem;
  transition: background 0.2s ease, color 0.2s ease;
}
.drop-menu a:hover { background: rgba(56, 189, 248, 0.14); color: #fff; }

.header-actions { display: flex; align-items: center; gap: 1.1rem; margin-left: 0.5rem; }

.header-phone {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  color: #fff;
  white-space: nowrap;
}
.header-phone svg { width: 16px; height: 16px; color: var(--sky-400); }
.header-phone:hover { color: var(--sky-400); }

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 46px; height: 46px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  cursor: pointer;
  margin-left: auto;
  align-items: center;
}
.nav-toggle span {
  display: block;
  width: 20px; height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.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); }

@media (max-width: 960px) {
  .main-nav {
    position: fixed;
    inset: 0;
    background: rgba(6, 11, 22, 0.97);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    flex-direction: column;
    justify-content: center;
    gap: 1.6rem;
    margin: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s;
    z-index: 1;
  }
  .main-nav.open { opacity: 1; visibility: visible; }
  /* keep the logo and phone/toggle buttons above the open menu overlay */
  .brand, .header-actions { position: relative; z-index: 10; }
  .main-nav > a, .nav-drop > button { font-size: 1.35rem; }
  .nav-drop { display: contents; }         /* flatten dropdown into the menu */
  .nav-drop > button { display: none; }
  .drop-menu {
    position: static; translate: none; transform: none;
    opacity: 1; visibility: visible;
    background: none; border: none; box-shadow: none;
    display: flex; flex-direction: column; align-items: center; gap: 1.2rem;
    padding: 0; min-width: 0;
  }
  .drop-menu a { font-size: 1.1rem; color: var(--text-muted-on-dark); padding: 0; }
  .header-actions .btn { display: none; }  /* keep header uncluttered on mobile */
  .nav-toggle { display: flex; z-index: 10; }
}

@media (max-width: 520px) {
  .header-phone span { display: none; }    /* icon-only phone link on small screens */
}

/* ---------- Hero (home) ---------- */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: 150px 0 110px;
  background: var(--navy-950);
  overflow: hidden;
  color: var(--text-on-dark);
}

/*
  TODO: HERO BACKGROUND PHOTO
  When you get a real photo of the water-fed pole in action, drop it in
  images/hero.jpg and add this line to .hero::before below:
      background-image: url("../images/hero.jpg");
  The dark gradient overlay on top will keep the text readable.
*/
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(1000px 600px at 85% 10%, rgba(37, 99, 235, 0.35), transparent 60%),
    radial-gradient(800px 500px at 5% 90%, rgba(56, 189, 248, 0.18), transparent 55%),
    linear-gradient(180deg, var(--navy-950) 0%, var(--navy-900) 60%, var(--navy-800) 100%);
  background-size: cover;
  background-position: center;
}

/* faint window-grid texture */
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 90px 90px;
  mask-image: radial-gradient(900px 700px at 70% 30%, #000 0%, transparent 75%);
  -webkit-mask-image: radial-gradient(900px 700px at 70% 30%, #000 0%, transparent 75%);
}

.hero .container { position: relative; z-index: 2; }

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sky-400);
  background: rgba(56, 189, 248, 0.1);
  border: 1px solid rgba(56, 189, 248, 0.25);
  padding: 0.5rem 1.1rem;
  border-radius: 999px;
  margin-bottom: 1.6rem;
}
.hero-eyebrow svg { width: 15px; height: 15px; }

.hero h1 { color: #fff; max-width: 15ch; margin-bottom: 1.4rem; }
.hero h1 .accent {
  background: var(--grad-accent);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-sub {
  font-size: 1.22rem;
  color: var(--text-muted-on-dark);
  max-width: 54ch;
  margin-bottom: 2.4rem;
}

.hero-ctas { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 3.2rem; }

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem 2rem;
}
.hero-badges li {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--text-muted-on-dark);
}
.hero-badges svg { width: 18px; height: 18px; color: var(--sky-400); flex: none; }

/* staggered entrance */
.hero [data-stagger] { opacity: 0; animation: heroUp 0.9s cubic-bezier(0.16, 1, 0.3, 1) forwards; }
.hero [data-stagger="1"] { animation-delay: 0.05s; }
.hero [data-stagger="2"] { animation-delay: 0.18s; }
.hero [data-stagger="3"] { animation-delay: 0.31s; }
.hero [data-stagger="4"] { animation-delay: 0.44s; }
.hero [data-stagger="5"] { animation-delay: 0.57s; }

@keyframes heroUp {
  from { opacity: 0; transform: translateY(26px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ---------- Page hero (interior pages) ---------- */

.page-hero {
  position: relative;
  padding: 170px 0 90px;
  background: var(--navy-950);
  color: var(--text-on-dark);
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(900px 480px at 80% 0%, rgba(37, 99, 235, 0.3), transparent 60%),
    linear-gradient(180deg, var(--navy-950), var(--navy-800));
}
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 { color: #fff; font-size: clamp(2.2rem, 4.5vw, 3.4rem); margin-bottom: 1rem; max-width: 20ch; }
.page-hero p { font-size: 1.18rem; color: var(--text-muted-on-dark); max-width: 60ch; }

.breadcrumb {
  display: flex; flex-wrap: wrap; gap: 0.55rem;
  font-size: 0.88rem; font-weight: 600;
  color: var(--text-muted-on-dark);
  margin-bottom: 1.4rem;
  font-family: var(--font-display);
}
.breadcrumb a:hover { color: var(--sky-400); }
.breadcrumb span[aria-hidden] { opacity: 0.5; }

/* ---------- Section headings ---------- */

.section-head { max-width: 640px; margin-bottom: 3.4rem; }
.section-head.center { margin-inline: auto; text-align: center; }

.eyebrow {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue-600);
  margin-bottom: 0.9rem;
}
.on-dark .eyebrow { color: var(--sky-400); }

.section-head h2 { margin-bottom: 1rem; }
.on-dark h2, .on-dark h3 { color: #fff; }
.section-head .lead { font-size: 1.15rem; }
.on-dark p { color: var(--text-muted-on-dark); }

/* ---------- Section background helpers ---------- */

.bg-light { background: var(--light); }
.bg-dark  { background: linear-gradient(180deg, var(--navy-950), var(--navy-900)); }

/* ---------- Trust bar ---------- */

.trust-bar {
  background: var(--navy-900);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 22px 0;
}
.trust-bar ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem 3.2rem;
}
.trust-bar li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--text-muted-on-dark);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.92rem;
}
.trust-bar svg { width: 18px; height: 18px; color: var(--sky-400); }

/* ---------- Card grids ---------- */

.grid { display: grid; gap: 1.5rem; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 960px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem 1.8rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: rgba(37, 99, 235, 0.25);
}

.card h3 { margin: 1.1rem 0 0.55rem; }
.card p { font-size: 0.99rem; }

.card-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.12), rgba(56, 189, 248, 0.12));
  color: var(--blue-600);
}
.card-icon svg { width: 25px; height: 25px; }

/* Glass card — for dark sections */
.glass {
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: none;
}
.glass:hover {
  background: rgba(255, 255, 255, 0.085);
  border-color: rgba(56, 189, 248, 0.35);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.35);
}
.glass h3 { color: #fff; }
.glass p { color: var(--text-muted-on-dark); }
.glass .card-icon {
  background: rgba(56, 189, 248, 0.12);
  color: var(--sky-400);
}

/* ---------- Service cards (image top) ---------- */

.service-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: 0;
}

.service-card .img-wrap {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  position: relative;
}
.service-card .img-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.service-card:hover .img-wrap img { transform: scale(1.06); }

.service-card .tag {
  position: absolute;
  top: 14px; left: 14px;
  background: rgba(6, 11, 22, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #fff;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.service-card .body { padding: 1.8rem; display: flex; flex-direction: column; flex: 1; }
.service-card h3 { margin: 0 0 0.6rem; font-size: 1.35rem; }
.service-card ul { margin: 0.9rem 0 1.4rem; display: grid; gap: 0.45rem; }
.service-card ul li {
  display: flex; align-items: center; gap: 0.55rem;
  font-size: 0.96rem; color: var(--text-muted);
}
.service-card ul svg { width: 16px; height: 16px; color: var(--blue-600); flex: none; }
.service-card .link {
  margin-top: auto;
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--blue-600);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.service-card .link svg { width: 17px; height: 17px; transition: transform 0.25s ease; }
.service-card .link:hover svg { transform: translateX(4px); }

/* ---------- Before / After showcase ---------- */

.ba-card { overflow: hidden; padding: 0; }
.ba-card .img-wrap {
  overflow: hidden;
  position: relative;
}
.ba-card img {
  width: 100%;
  height: auto;   /* keep aspect ratio even inside the masonry columns */
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

/* before/after cards hug their content instead of stretching to the tallest card */
.grid .ba-card { align-self: start; }
.ba-card:hover img { transform: scale(1.045); }
.ba-card figcaption {
  padding: 1.2rem 1.5rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.98rem;
  color: var(--navy-900);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.ba-card figcaption small {
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--text-muted);
}

.ba-label {
  position: absolute;
  left: 14px;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.32rem 0.75rem;
  border-radius: 999px;
  color: #fff;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.ba-label.before { top: 14px; background: rgba(6, 11, 22, 0.68); }
.ba-label.after  { bottom: 14px; background: rgba(37, 99, 235, 0.85); }

/* ---------- How it works ---------- */

.steps { counter-reset: step; }
.step { position: relative; text-align: center; padding: 2.4rem 1.6rem 2rem; }
.step .num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  width: 54px; height: 54px;
  display: grid; place-items: center;
  margin: 0 auto 1.3rem;
  border-radius: 50%;
  background: var(--grad-accent);
  color: #fff;
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.35);
}
.step h3 { color: #fff; margin-bottom: 0.5rem; }
.step p { font-size: 0.97rem; }

/* connector line between steps (desktop) */
@media (min-width: 961px) {
  .step:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 65px;
    left: calc(50% + 44px);
    width: calc(100% - 88px);
    height: 2px;
    background: linear-gradient(90deg, rgba(56, 189, 248, 0.5), rgba(56, 189, 248, 0.08));
  }
}

/* ---------- Benefits split ---------- */

.split {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 4rem;
  align-items: center;
}
@media (max-width: 960px) {
  .split { grid-template-columns: 1fr; gap: 2.6rem; }
}

.split .img-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  position: relative;
}
.split .img-wrap img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.split .img-wrap:hover img { transform: scale(1.04); }

.check-list { display: grid; gap: 1.05rem; margin-top: 1.8rem; }
.check-list li { display: flex; gap: 0.85rem; align-items: flex-start; }
.check-list .check {
  width: 26px; height: 26px; flex: none;
  border-radius: 50%;
  display: grid; place-items: center;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.14), rgba(56, 189, 248, 0.14));
  color: var(--blue-600);
  margin-top: 2px;
}
.check-list .check svg { width: 14px; height: 14px; }
.check-list strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.02rem;
  color: var(--navy-900);
}
.check-list p { font-size: 0.96rem; }

/* Floating stat chip over an image */
.float-chip {
  position: absolute;
  bottom: 18px; left: 18px;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 16px;
  padding: 0.85rem 1.2rem;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 0.7rem;
}
.float-chip .card-icon { width: 40px; height: 40px; border-radius: 11px; }
.float-chip .card-icon svg { width: 20px; height: 20px; }
.float-chip strong { font-family: var(--font-display); font-size: 0.98rem; color: var(--navy-900); display: block; line-height: 1.2; }
.float-chip small { color: var(--text-muted); font-size: 0.82rem; }

/* ---------- Stats ---------- */

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  text-align: center;
}
@media (max-width: 720px) { .stats { grid-template-columns: repeat(2, 1fr); } }

.stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.9rem);
  font-weight: 700;
  background: var(--grad-accent);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stat span { font-size: 0.96rem; color: var(--text-muted-on-dark); font-weight: 600; }

/* ---------- Testimonials ---------- */

.testimonial { display: flex; flex-direction: column; }
.testimonial .stars { display: flex; gap: 0.2rem; color: #f5b52e; margin-bottom: 1rem; }
.testimonial .stars svg { width: 17px; height: 17px; }
.testimonial blockquote {
  font-size: 1rem;
  color: var(--text);
  flex: 1;
}
.testimonial footer {
  margin-top: 1.4rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
}
.testimonial .avatar {
  width: 42px; height: 42px;
  border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9rem;
  color: #fff;
  background: var(--grad-accent);
  flex: none;
}
.testimonial .who strong { display: block; font-family: var(--font-display); font-size: 0.95rem; color: var(--navy-900); }
.testimonial .who span { font-size: 0.84rem; color: var(--text-muted); }

/* ---------- FAQ ---------- */

.faq-list { max-width: 780px; margin-inline: auto; display: grid; gap: 0.9rem; }

.faq-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow 0.3s ease, border-color 0.3s ease;
}
.faq-item.open { box-shadow: var(--shadow-md); border-color: rgba(37, 99, 235, 0.3); }

.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--navy-900);
}
.faq-q .chev {
  width: 34px; height: 34px; flex: none;
  border-radius: 50%;
  display: grid; place-items: center;
  background: var(--light);
  color: var(--blue-600);
  transition: transform 0.3s ease, background 0.3s ease, color 0.3s ease;
}
.faq-q .chev svg { width: 17px; height: 17px; }
.faq-item.open .chev { transform: rotate(180deg); background: var(--grad-accent); color: #fff; }

.faq-a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
.faq-item.open .faq-a { grid-template-rows: 1fr; }
.faq-a > div { overflow: hidden; }
.faq-a p { padding: 0 1.5rem 1.4rem; font-size: 1rem; }

/* ---------- CTA band ---------- */

.cta-band {
  position: relative;
  overflow: hidden;
  background: var(--navy-950);
  text-align: center;
  border-radius: var(--radius-lg);
  padding: 4.5rem 2rem;
}
.cta-band::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(700px 380px at 50% 120%, rgba(37, 99, 235, 0.5), transparent 70%),
    radial-gradient(500px 300px at 90% -20%, rgba(56, 189, 248, 0.25), transparent 60%);
}
.cta-band > * { position: relative; }
.cta-band h2 { color: #fff; margin-bottom: 0.9rem; }
.cta-band p { color: var(--text-muted-on-dark); max-width: 52ch; margin: 0 auto 2.2rem; font-size: 1.12rem; }
.cta-band .hero-ctas { justify-content: center; margin-bottom: 0; }

/* ---------- Quote form ---------- */

.quote-wrap {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 3.5rem;
  align-items: start;
}
@media (max-width: 960px) { .quote-wrap { grid-template-columns: 1fr; } }

.quote-side h2 { color: #fff; margin-bottom: 1.1rem; }
.quote-side > p { margin-bottom: 2rem; font-size: 1.1rem; }

.quote-points { display: grid; gap: 1rem; }
.quote-points li { display: flex; align-items: center; gap: 0.75rem; color: var(--text-on-dark); font-weight: 600; }
.quote-points svg { width: 20px; height: 20px; color: var(--sky-400); flex: none; }

.quote-side .direct {
  margin-top: 2.4rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: grid;
  gap: 0.9rem;
}
.quote-side .direct a {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: #fff;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  transition: color 0.2s ease;
}
.quote-side .direct a:hover { color: var(--sky-400); }
.quote-side .direct svg { width: 19px; height: 19px; color: var(--sky-400); }

.quote-form {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-radius: var(--radius-lg);
  padding: 2.4rem;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.35);
}
@media (max-width: 520px) { .quote-form { padding: 1.6rem 1.3rem; } }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
@media (max-width: 620px) { .form-row { grid-template-columns: 1fr; } }

.field { margin-bottom: 1.1rem; }
.field label {
  display: block;
  font-family: var(--font-display);
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--text-on-dark);
  margin-bottom: 0.42rem;
}
.field label .req { color: var(--sky-400); }

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  font-family: var(--font-body);
  font-size: 1rem;
  color: #fff;
  background: rgba(6, 11, 22, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 12px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  min-height: 48px;
}
.field textarea { resize: vertical; min-height: 110px; }
.field ::placeholder { color: rgba(168, 181, 201, 0.6); }
.field select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%23a8b5c9' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; }
.field select:invalid { color: rgba(168, 181, 201, 0.6); }
.field option { color: var(--text); background: #fff; }

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--sky-400);
  box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.2);
}

.field.invalid input,
.field.invalid select,
.field.invalid textarea { border-color: #f87171; }

.field .error {
  display: none;
  font-size: 0.84rem;
  color: #fca5a5;
  margin-top: 0.35rem;
}
.field.invalid .error { display: block; }

.quote-form .btn { width: 100%; margin-top: 0.4rem; }
.form-note { font-size: 0.86rem; color: var(--text-muted-on-dark); text-align: center; margin-top: 1rem; }

.form-success {
  display: none;
  text-align: center;
  padding: 3rem 1.5rem;
}
.form-success.show { display: block; }
.form-success .big-check {
  width: 72px; height: 72px;
  margin: 0 auto 1.4rem;
  border-radius: 50%;
  display: grid; place-items: center;
  background: var(--grad-accent);
  color: #fff;
  box-shadow: var(--shadow-glow);
}
.form-success .big-check svg { width: 34px; height: 34px; }
.form-success h3 { color: #fff; font-size: 1.5rem; margin-bottom: 0.6rem; }

/* ---------- Gallery ---------- */

.masonry {
  columns: 3;
  column-gap: 1.5rem;
}
@media (max-width: 960px) { .masonry { columns: 2; } }
@media (max-width: 620px) { .masonry { columns: 1; } }

.masonry > * {
  break-inside: avoid;
  margin-bottom: 1.5rem;
}

.g-placeholder {
  border-radius: var(--radius);
  border: 1.5px dashed rgba(37, 99, 235, 0.35);
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.05), rgba(56, 189, 248, 0.07));
  display: grid;
  place-items: center;
  text-align: center;
  padding: 3rem 1.5rem;
  color: var(--text-muted);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
}
.g-placeholder svg { width: 30px; height: 30px; color: var(--blue-600); margin-bottom: 0.7rem; }
.g-placeholder.tall { padding: 5.5rem 1.5rem; }

/* ---------- Contact page ---------- */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 3rem;
  align-items: start;
}
@media (max-width: 960px) { .contact-grid { grid-template-columns: 1fr; } }

.info-card { padding: 2rem 1.8rem; }
.info-card .card-icon { margin-bottom: 1rem; }
.info-card h3 { margin: 0 0 0.4rem; }
.info-card a { font-weight: 600; color: var(--blue-600); }
.info-card a:hover { text-decoration: underline; }

.hours { display: grid; gap: 0.55rem; margin-top: 0.6rem; }
.hours li { display: flex; justify-content: space-between; font-size: 0.98rem; color: var(--text-muted); gap: 1rem; }
.hours li span:first-child { font-weight: 600; color: var(--text); }

.map-placeholder {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  min-height: 380px;
  background:
    radial-gradient(400px 200px at 30% 30%, rgba(37, 99, 235, 0.08), transparent 60%),
    var(--light);
  display: grid;
  place-items: center;
  text-align: center;
  padding: 2rem;
}
.map-placeholder .card-icon { margin: 0 auto 1rem; }
.map-placeholder strong { font-family: var(--font-display); color: var(--navy-900); display: block; margin-bottom: 0.3rem; }
.map-placeholder p { font-size: 0.92rem; max-width: 40ch; }

/* ---------- Footer ---------- */

.site-footer {
  background: var(--navy-950);
  color: var(--text-muted-on-dark);
  padding: 72px 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 3rem;
  padding-bottom: 3.2rem;
}
@media (max-width: 960px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .footer-grid { grid-template-columns: 1fr; gap: 2.2rem; } }

.site-footer .brand { margin-bottom: 1.1rem; }
.footer-about p { font-size: 0.98rem; max-width: 34ch; margin-bottom: 1.4rem; }

.socials { display: flex; gap: 0.7rem; }
.socials a {
  width: 42px; height: 42px;
  border-radius: 12px;
  display: grid; place-items: center;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-muted-on-dark);
  transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}
.socials a:hover { background: var(--blue-600); color: #fff; transform: translateY(-3px); }
.socials svg { width: 18px; height: 18px; }

.site-footer h4 {
  font-family: var(--font-display);
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 1.2rem;
}
.footer-links { display: grid; gap: 0.7rem; }
.footer-links a { font-size: 0.98rem; transition: color 0.2s ease; }
.footer-links a:hover { color: var(--sky-400); }

.footer-contact { display: grid; gap: 0.9rem; }
.footer-contact li { display: flex; gap: 0.7rem; align-items: flex-start; font-size: 0.98rem; }
.footer-contact svg { width: 18px; height: 18px; color: var(--sky-400); flex: none; margin-top: 3px; }
.footer-contact a:hover { color: var(--sky-400); }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  padding: 1.5rem 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.8rem;
  font-size: 0.88rem;
}
.footer-bottom .container { display: contents; }

/* ---------- Floating call button ---------- */

.float-call {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 90;
  width: 60px; height: 60px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: var(--grad-accent);
  color: #fff;
  box-shadow: var(--shadow-glow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.float-call svg { width: 24px; height: 24px; }
.float-call:hover { transform: translateY(-4px) scale(1.05); }

/* pulse ring */
.float-call::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid rgba(56, 189, 248, 0.7);
  animation: pulse 2.4s ease-out infinite;
}
@keyframes pulse {
  0%   { transform: scale(1); opacity: 0.8; }
  100% { transform: scale(1.65); opacity: 0; }
}

/* ---------- Mobile sticky quote bar ---------- */

.sticky-cta {
  display: none;
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 89;
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  background: rgba(6, 11, 22, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.sticky-cta .btn { width: 100%; }

@media (max-width: 720px) {
  .sticky-cta { display: block; }
  body { padding-bottom: 74px; }             /* keep content clear of the bar */
  .float-call { bottom: 88px; right: 16px; width: 54px; height: 54px; }
}

/* ---------- Scroll-reveal animation ---------- */

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.visible { opacity: 1; transform: none; }

/* stagger children of a revealed grid */
.reveal-group > * {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal-group.visible > * { opacity: 1; transform: none; }
.reveal-group.visible > *:nth-child(2) { transition-delay: 0.09s; }
.reveal-group.visible > *:nth-child(3) { transition-delay: 0.18s; }
.reveal-group.visible > *:nth-child(4) { transition-delay: 0.27s; }
.reveal-group.visible > *:nth-child(5) { transition-delay: 0.36s; }
.reveal-group.visible > *:nth-child(6) { transition-delay: 0.45s; }
.reveal-group.visible > *:nth-child(7) { transition-delay: 0.54s; }
.reveal-group.visible > *:nth-child(8) { transition-delay: 0.63s; }

/* Respect users who prefer reduced motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal, .reveal-group > *, .hero [data-stagger] {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
    transition: none !important;
  }
  .float-call::before { animation: none; }
}
