/* ============================================================
   Comfort Air System — Complete HVAC Solutions
   Shared stylesheet
   ============================================================ */

:root {
  --green: #0f8a5f;
  --green-dark: #0b6b4a;
  --green-soft: #e7f5ef;
  --navy: #0e2233;
  --navy-2: #14344f;
  --ink: #1c2b36;
  --muted: #5d6f7d;
  --line: #e3e9ed;
  --bg: #ffffff;
  --bg-alt: #f5f8fa;
  --amber: #f6a723;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(14, 34, 51, .08);
  --shadow-lg: 0 24px 60px rgba(14, 34, 51, .14);
  --font: "Inter", "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, "Helvetica Neue", Arial, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
svg, img[src$=".svg"] { flex-shrink: 0; }
.icon-sq img, .f-ico img, .dot img { width: 100%; height: 100%; object-fit: contain; }

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

h1, h2, h3, h4 { line-height: 1.2; color: var(--navy); font-weight: 800; letter-spacing: -.02em; }

.container { width: min(1200px, 92%); margin-inline: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  padding: .85rem 1.7rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: .95rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: .25s ease;
  white-space: nowrap;
}
.btn::after {
  content: "";
  width: 16px; height: 16px;
  background: url("../icons/arrow-right-white.svg") center/contain no-repeat;
}
.btn-primary { background: var(--green); color: #fff; }
.btn-primary:hover { background: var(--green-dark); transform: translateY(-2px); box-shadow: 0 12px 24px rgba(15,138,95,.28); }
.btn-outline { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn-outline::after { filter: invert(14%) sepia(30%) saturate(1200%) hue-rotate(170deg); }
.btn-outline:hover { background: var(--navy); color: #fff; }
.btn-outline:hover::after { filter: none; }
.btn-ghost-light { border-color: rgba(255,255,255,.65); color: #fff; }
.btn-ghost-light:hover { background: #fff; color: var(--navy); }
.btn-ghost-light:hover::after { filter: invert(14%) sepia(30%) saturate(1200%) hue-rotate(170deg); }
.btn-sm { padding: .6rem 1.3rem; font-size: .875rem; }

/* ---------- Top bar ---------- */
.topbar {
  background: var(--navy);
  color: #cfdde8;
  font-size: .85rem;
}
.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: .55rem 0;
  flex-wrap: wrap;
}
.topbar a { display: inline-flex; align-items: center; gap: .45rem; transition: color .2s; }
.topbar a:hover { color: #fff; }
.topbar .icon { width: 15px; height: 15px; opacity: .85; }
.topbar-left { display: flex; gap: 1.4rem; flex-wrap: wrap; }
.topbar-right { display: flex; gap: 1.2rem; align-items: center; }

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
  border-bottom: 1px solid var(--line);
  transition: box-shadow .25s;
}
.site-header.scrolled { box-shadow: 0 8px 24px rgba(14,34,51,.10); }
.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: .8rem 0;
}
.brand { display: flex; align-items: center; gap: .75rem; }
.brand img { height: 52px; width: auto; }
.brand-text { display: none; }
.brand-text strong { display: block; font-size: 1.15rem; color: var(--navy); font-weight: 800; line-height: 1.1; }
.brand-text span { font-size: .75rem; color: var(--green); font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }

.nav { display: flex; align-items: center; gap: 1.8rem; }
.nav a {
  font-weight: 600;
  font-size: .95rem;
  color: var(--ink);
  position: relative;
  padding: .3rem 0;
  transition: color .2s;
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -2px;
  width: 0; height: 2.5px;
  background: var(--green);
  border-radius: 2px;
  transition: width .25s ease;
}
.nav a:hover, .nav a.active { color: var(--green); }
.nav a:hover::after, .nav a.active::after { width: 100%; }

.nav-cta { display: flex; align-items: center; gap: 1rem; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span { width: 26px; height: 3px; background: var(--navy); border-radius: 3px; transition: .25s; }
.nav-toggle.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  background:
    linear-gradient(120deg, rgba(14,34,51,.92), rgba(14,34,51,.72)),
    url("../img/sky.jpg") center/cover;
  color: #fff;
  padding: 4.5rem 0 4rem;
  text-align: center;
}
.page-hero h1 { color: #fff; font-size: clamp(2rem, 4.5vw, 3rem); }
.breadcrumb {
  margin-top: .9rem;
  font-size: .9rem;
  color: #b7c8d6;
}
.breadcrumb a { color: var(--green-soft); }
.breadcrumb a:hover { color: #fff; }

/* ---------- Hero (home) ---------- */
.hero {
  position: relative;
  background:
    radial-gradient(1000px 500px at 85% -10%, rgba(15,138,95,.16), transparent 60%),
    linear-gradient(180deg, #f7fbf9, #eef5f7);
  overflow: hidden;
}
.hero .container {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 3rem;
  align-items: center;
  padding: 4.5rem 0 4rem;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: var(--green-soft);
  color: var(--green-dark);
  font-weight: 700;
  font-size: .8rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: .45rem 1rem;
  border-radius: 999px;
  margin-bottom: 1.3rem;
}
.hero h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); margin-bottom: 1.1rem; }
.hero h1 .accent { color: var(--green); }
.hero p.lead { color: var(--muted); font-size: 1.08rem; max-width: 54ch; margin-bottom: 1.8rem; }
.hero-cta { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 2.4rem; }
.hero-badges { display: flex; gap: 2rem; flex-wrap: wrap; }
.hero-badge { display: flex; align-items: center; gap: .7rem; font-size: .9rem; color: var(--muted); font-weight: 600; }
.hero-badge .dot {
  width: 40px; height: 40px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  box-shadow: var(--shadow);
}
.hero-badge .dot img { width: 20px; height: 20px; }

.hero-visual { position: relative; }
.hero-visual .main-img {
  border-radius: 24px;
  box-shadow: var(--shadow-lg);
  width: 100%;
  height: 480px;
  object-fit: cover;
}
.float-card {
  position: absolute;
  background: #fff;
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
  padding: .9rem 1.1rem;
  display: flex;
  align-items: center;
  gap: .8rem;
  animation: floaty 5s ease-in-out infinite;
}
.float-card .num { font-size: 1.5rem; font-weight: 800; color: var(--navy); line-height: 1; }
.float-card .lbl { font-size: .78rem; color: var(--muted); font-weight: 600; }
.float-card.one { left: -26px; top: 40px; }
.float-card.two { right: -18px; bottom: 46px; animation-delay: 1.6s; }
.float-card .badge-ico { width: 42px; height: 42px; border-radius: 12px; background: var(--green-soft); display: grid; place-items: center; }
.float-card .badge-ico img { width: 22px; height: 22px; }

@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

/* ---------- Sections ---------- */
.section { padding: 4.5rem 0; }
.section.alt { background: var(--bg-alt); }
.section-head { max-width: 680px; margin-bottom: 2.8rem; }
.section-head.center { margin-inline: auto; text-align: center; }
.eyebrow {
  display: inline-block;
  color: var(--green);
  font-weight: 800;
  font-size: .8rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  margin-bottom: .7rem;
}
.section-head h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); margin-bottom: .8rem; }
.section-head p { color: var(--muted); font-size: 1.03rem; }

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

/* ---------- Cards ---------- */
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: .3s ease;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.card .thumb { height: 210px; overflow: hidden; }
.card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.card:hover .thumb img { transform: scale(1.06); }
.card .body { padding: 1.5rem 1.4rem 1.7rem; }
.card .body h3 { font-size: 1.2rem; margin-bottom: .55rem; }
.card .body p { color: var(--muted); font-size: .95rem; margin-bottom: 1rem; }
.card .icon-sq {
  width: 54px; height: 54px;
  border-radius: 14px;
  background: var(--green-soft);
  display: grid; place-items: center;
  margin-bottom: 1.1rem;
}
.card .icon-sq img { width: 26px; height: 26px; }
.card-link {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  color: var(--green);
  font-weight: 700;
  font-size: .92rem;
}
.card-link::after {
  content: "";
  width: 15px; height: 15px;
  background: url("../icons/arrow-right.svg") center/contain no-repeat;
  transition: transform .25s;
}
.card:hover .card-link::after { transform: translateX(5px); }

/* ---------- Feature list (why choose us) ---------- */
.feature { display: flex; gap: 1.1rem; align-items: flex-start; }
.feature .f-ico {
  flex: 0 0 52px;
  width: 52px; height: 52px;
  border-radius: 14px;
  background: var(--green-soft);
  display: grid; place-items: center;
}
.feature .f-ico img { width: 26px; height: 26px; }
.feature h4 { font-size: 1.05rem; margin-bottom: .3rem; }
.feature p { color: var(--muted); font-size: .93rem; }

/* ---------- Stats band ---------- */
.stats {
  background: var(--navy);
  color: #fff;
  padding: 3.2rem 0;
}
.stats .grid-4 { text-align: center; }
.stat .num { font-size: clamp(2rem, 4vw, 2.9rem); font-weight: 800; color: #fff; line-height: 1; }
.stat .num span { color: var(--green); }
.stat .lbl { color: #a9bece; font-size: .92rem; font-weight: 600; margin-top: .45rem; }

/* ---------- Brand strip ---------- */
.brands { padding: 2.6rem 0; background: #fff; border-block: 1px solid var(--line); }
.brands-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2.5rem;
  flex-wrap: wrap;
}
.brands-row img {
  height: 42px;
  width: auto;
  object-fit: contain;
  filter: grayscale(1);
  opacity: .55;
  transition: .3s;
}
.brands-row img:hover { filter: none; opacity: 1; }
.brands-label { font-weight: 700; color: var(--muted); font-size: .9rem; }

/* ---------- Split block (about / service detail) ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.2rem;
  align-items: center;
}
.split.rev .media { order: 2; }
.split .media { position: relative; }
.split .media img.main {
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
  width: 100%;
  height: 420px;
  object-fit: cover;
}
.split .media .tag {
  position: absolute;
  bottom: -22px; left: 26px;
  background: var(--green);
  color: #fff;
  font-weight: 800;
  padding: 1rem 1.4rem;
  border-radius: 14px;
  box-shadow: var(--shadow-lg);
  font-size: 1rem;
}
.split .media .tag small { display: block; font-weight: 500; font-size: .78rem; opacity: .85; }
.split h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); margin-bottom: 1rem; }
.split p { color: var(--muted); margin-bottom: 1rem; }
.check-list { list-style: none; display: grid; gap: .7rem; margin: 1.3rem 0 1.8rem; }
.check-list li { display: block; font-weight: 600; color: var(--ink); font-size: .96rem; }
.check-list li::before {
  content: "";
  display: inline-block;
  width: 20px; height: 20px;
  margin: .15rem .65rem 0 0;
  vertical-align: -4px;
  background: url("../icons/check.svg") center/contain no-repeat;
}
.check-list li span { font-weight: 500; color: var(--muted); }

/* ---------- Issue chips (repair) ---------- */
.chips { display: flex; flex-wrap: wrap; gap: .7rem; }
.chip {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: .55rem 1.1rem;
  font-size: .9rem;
  font-weight: 600;
  color: var(--ink);
  transition: .25s;
}
.chip:hover { border-color: var(--green); color: var(--green); background: var(--green-soft); }

/* ---------- Steps (process) ---------- */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.step {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.7rem 1.4rem;
  position: relative;
}
.step-no {
  display: block;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: .55rem;
}
.step h4 { font-size: 1.05rem; margin-bottom: .4rem; }
.step p { color: var(--muted); font-size: .9rem; }

/* ---------- Pricing ---------- */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.8rem; align-items: stretch; }
.plan {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 2.2rem 1.8rem;
  display: flex;
  flex-direction: column;
  transition: .3s;
  position: relative;
}
.plan:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.plan.featured { background: var(--navy); border-color: var(--navy); color: #dce7ef; }
.plan.featured h3, .plan.featured .price { color: #fff; }
.plan .ribbon {
  position: absolute;
  top: -14px; right: 24px;
  background: var(--amber);
  color: var(--navy);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: .35rem .8rem;
  border-radius: 999px;
}
.plan h3 { font-size: 1.15rem; margin-bottom: .3rem; }
.plan .sub { font-size: .88rem; color: var(--muted); margin-bottom: 1.2rem; }
.plan.featured .sub { color: #9fb6c8; }
.plan .price { font-size: 2.7rem; font-weight: 800; color: var(--navy); line-height: 1; }
.plan .price small { font-size: .95rem; font-weight: 600; color: var(--muted); }
.plan.featured .price small { color: #9fb6c8; }
.plan ul { list-style: none; margin: 1.5rem 0 1.9rem; display: grid; gap: .75rem; }
.plan ul li { display: flex; gap: .65rem; font-size: .93rem; align-items: flex-start; }
.plan ul li::before {
  content: "";
  flex: 0 0 18px;
  width: 18px; height: 18px;
  margin-top: 3px;
  background: url("../icons/check.svg") center/contain no-repeat;
}
.plan .btn { width: 100%; justify-content: center; margin-top: auto; }

/* ---------- Price table ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
table.price-table { width: 100%; border-collapse: collapse; min-width: 560px; }
table.price-table th, table.price-table td { padding: .95rem 1.3rem; text-align: left; font-size: .95rem; }
table.price-table thead th { background: var(--navy); color: #fff; font-weight: 700; font-size: .88rem; letter-spacing: .04em; text-transform: uppercase; }
table.price-table tbody tr { border-top: 1px solid var(--line); }
table.price-table tbody tr:hover { background: var(--green-soft); }
table.price-table td:last-child { font-weight: 800; color: var(--green-dark); white-space: nowrap; }
table.price-table tr.section-row td { background: var(--bg-alt); font-weight: 800; color: var(--navy); text-transform: uppercase; font-size: .82rem; letter-spacing: .1em; }
table.price-table tr.section-row:hover td { background: var(--bg-alt); }

/* ---------- Projects ---------- */
.project {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  height: 260px;
  box-shadow: var(--shadow);
}
.project img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.project:hover img { transform: scale(1.07); }
.project .meta {
  position: absolute;
  inset: auto 0 0 0;
  background: linear-gradient(transparent, rgba(14,34,51,.92));
  color: #fff;
  padding: 2.4rem 1.2rem 1.1rem;
}
.project .meta h4 { color: #fff; font-size: 1.02rem; }
.project .meta span { font-size: .82rem; color: #a9c6d8; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 2.5rem; align-items: start; }
.info-card {
  background: var(--navy);
  color: #cfdde8;
  border-radius: 20px;
  padding: 2.4rem 2rem;
}
.info-card h3 { color: #fff; font-size: 1.4rem; margin-bottom: .6rem; }
.info-card > p { color: #9fb6c8; font-size: .95rem; margin-bottom: 1.8rem; }
.info-item { display: flex; gap: 1rem; margin-bottom: 1.5rem; align-items: flex-start; }
.info-item .i-ico {
  flex: 0 0 46px; width: 46px; height: 46px;
  border-radius: 12px;
  background: rgba(255,255,255,.08);
  display: grid; place-items: center;
}
.info-item .i-ico img { width: 22px; height: 22px; filter: brightness(0) invert(1); }
.info-item strong { display: block; color: #fff; font-size: .95rem; margin-bottom: .15rem; }
.info-item span, .info-item a { font-size: .92rem; color: #a9bece; }
.info-item a:hover { color: #fff; }

.form-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 2.4rem 2rem;
  box-shadow: var(--shadow);
}
.form-card h3 { font-size: 1.4rem; margin-bottom: .4rem; }
.form-card > p { color: var(--muted); font-size: .95rem; margin-bottom: 1.6rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.field { margin-bottom: 1.1rem; }
.field label { display: block; font-size: .86rem; font-weight: 700; color: var(--navy); margin-bottom: .4rem; }
.field input, .field select, .field textarea {
  width: 100%;
  padding: .85rem 1rem;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  font: inherit;
  font-size: .95rem;
  color: var(--ink);
  background: #fbfcfd;
  transition: border .2s, box-shadow .2s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 4px rgba(15,138,95,.12);
  background: #fff;
}
.field textarea { resize: vertical; min-height: 130px; }
.form-note { font-size: .82rem; color: var(--muted); margin-top: .9rem; }
.form-success {
  display: none;
  background: var(--green-soft);
  color: var(--green-dark);
  border: 1px solid #bfe6d5;
  border-radius: 10px;
  padding: .9rem 1.1rem;
  font-size: .93rem;
  font-weight: 600;
  margin-top: 1rem;
}
.form-success.show { display: block; }
.form-error {
  display: none;
  background: #fde8e8;
  color: #9b1c1c;
  border: 1px solid #f8b4b4;
  border-radius: 10px;
  padding: .9rem 1.1rem;
  font-size: .93rem;
  font-weight: 600;
  margin-top: 1rem;
}
.form-error.show { display: block; }

.map-box {
  margin-top: 2.5rem;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--bg-alt);
  height: 380px;
}
.map-box iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

/* ---------- CTA band ---------- */
.cta-band {
  background:
    linear-gradient(120deg, rgba(15,138,95,.94), rgba(11,107,74,.94)),
    url("../img/sky.jpg") center/cover;
  color: #fff;
  border-radius: 22px;
  padding: 3rem 3.2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}
.cta-band h2 { color: #fff; font-size: clamp(1.5rem, 3vw, 2.1rem); margin-bottom: .4rem; }
.cta-band p { color: #d5f2e6; opacity: .95; }
.cta-band .phone { font-size: 1.6rem; font-weight: 800; color: #fff; display: block; margin-top: .5rem; }

/* ---------- Blog teaser ---------- */
.post-card .body .date { font-size: .8rem; color: var(--green); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: #9fb6c8; margin-top: 0; }
.footer-main {
  display: grid;
  grid-template-columns: 1.4fr 1.1fr 1.25fr;
  gap: 2.5rem;
  padding: 3.6rem 0 2.6rem;
}
.site-footer h4 { color: #fff; font-size: 1.02rem; margin-bottom: 1.2rem; position: relative; padding-bottom: .7rem; }
.site-footer h4::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 34px; height: 3px;
  background: var(--green);
  border-radius: 3px;
}
.site-footer p { font-size: .93rem; line-height: 1.75; }
.footer-brand img { height: 56px; background: #fff; padding: 6px 10px; border-radius: 10px; margin-bottom: 1rem; }
.footer-links { list-style: none; display: grid; gap: .65rem; }
.footer-links a { font-size: .93rem; display: inline-flex; align-items: center; gap: .55rem; transition: .2s; }
.footer-links a::before { content: "›"; color: var(--green); font-weight: 800; }
.footer-links a:hover { color: #fff; transform: translateX(4px); }
.footer-contact { list-style: none; display: grid; gap: .9rem; font-size: .93rem; }
.footer-contact li { display: flex; gap: .7rem; align-items: flex-start; }
.footer-contact img { width: 17px; height: 17px; margin-top: 5px; filter: brightness(0) invert(.7); flex: 0 0 17px; }
.footer-contact a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 1.3rem 0;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: .85rem;
}
.footer-bottom a:hover { color: #fff; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .hero .container { grid-template-columns: 1fr; padding-top: 3rem; }
  .hero-visual .main-img { height: 380px; }
  .grid-4, .steps { grid-template-columns: repeat(2, 1fr); }
  .grid-3, .plans { grid-template-columns: repeat(2, 1fr); }
  .footer-main { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; }
  .split.rev .media { order: 0; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 820px) {
  .nav-toggle { display: flex; }
  .nav {
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: #fff;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 0 5%;
    max-height: 0;
    overflow-y: hidden;
    overflow-x: hidden;
    transition: max-height .35s ease, padding .35s ease;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 20px 30px rgba(14,34,51,.1);
  }
  .nav.open {
    max-height: calc(100vh - 75px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: .8rem 5% 1.6rem;
  }
  .nav a { width: 100%; padding: .8rem 0; border-bottom: 1px solid var(--line); }
  .nav a:last-child { border-bottom: 0; }
  .nav-cta .btn { display: none; }
  .float-card.one { left: 8px; }
  .float-card.two { right: 8px; }
}

@media (max-width: 640px) {
  .grid-2, .grid-3, .grid-4, .plans, .steps, .form-row { grid-template-columns: 1fr; }
  .section { padding: 3.2rem 0; }
  .hero-visual .main-img { height: 300px; }
  .cta-band { padding: 2.2rem 1.6rem; }
  .topbar { font-size: .8rem; }
  .footer-main { grid-template-columns: 1fr; }
  .brands-row { justify-content: center; gap: 1.6rem; }
  .brands-row img { height: 34px; }
}

/* ============================================================
   Live-site components (exact content blocks)
   ============================================================ */

section[id], .chip { scroll-margin-top: 104px; }

/* ---------- Page hero extras ---------- */
.ph-eyebrow {
  display: inline-block;
  color: rgba(255,255,255,.72);
  font-weight: 800;
  font-size: .76rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  margin-bottom: .8rem;
}
.page-hero .ph-sub {
  color: #fff;
  font-weight: 700;
  font-size: 1.05rem;
  margin-top: 1.1rem;
  opacity: .92;
}

/* ---------- Hero slider ---------- */
.hero .container { display: block; padding: 0; }
.hero-slide {
  display: none;
  grid-template-columns: 1.05fr .95fr;
  gap: 3rem;
  align-items: center;
  padding: 4.5rem 0 .5rem;
}
.hero-slide.active { display: grid; animation: heroFade .55s ease; }
@keyframes heroFade {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: none; }
}
.hero-slide .hero-visual .main-img {
  height: auto;
  aspect-ratio: 10 / 6;
  object-fit: cover;
}
.hero-badge { align-items: flex-start; }
.hero-badge .txt strong {
  display: block;
  color: var(--navy);
  font-size: .95rem;
  font-weight: 700;
  line-height: 1.3;
}
.hero-badge .desc {
  display: block;
  font-size: .78rem;
  color: var(--muted);
  font-weight: 500;
  max-width: 25ch;
  margin-top: .15rem;
  line-height: 1.45;
}
.hero-dots {
  display: flex;
  gap: .55rem;
  justify-content: center;
  padding: 2.4rem 0 3.2rem;
}
.hero-dot {
  width: 10px; height: 10px;
  border: 0;
  border-radius: 999px;
  background: #cbd8e0;
  cursor: pointer;
  padding: 0;
  transition: .25s;
}
.hero-dot:hover { background: var(--green); }
.hero-dot.active { width: 30px; background: var(--green); }

/* ---------- Social rows ---------- */
.social-row { display: flex; gap: .5rem; align-items: center; }
.social-row a {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: rgba(255,255,255,.09);
  display: grid;
  place-items: center;
  transition: .2s;
}
.social-row a:hover { background: var(--green); transform: translateY(-2px); }
.social-row svg { width: 13px; height: 13px; fill: #cfdde8; }
.social-row a:hover svg { fill: #fff; }
.footer-socials { display: flex; gap: .55rem; margin-top: 1.2rem; }
.footer-socials a {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: rgba(255,255,255,.08);
  display: grid;
  place-items: center;
  transition: .2s;
}
.footer-socials a:hover { background: var(--green); transform: translateY(-3px); }
.footer-socials svg { width: 14px; height: 14px; fill: #9fb6c8; }
.footer-socials a:hover svg { fill: #fff; }

/* ---------- Nav dropdown ---------- */
.nav .has-sub { position: relative; }
.nav .has-sub > a { display: inline-flex; align-items: center; gap: .4rem; }
.nav .has-sub > a .caret {
  width: 0; height: 0;
  border: 4px solid transparent;
  border-top-color: currentColor;
  margin-top: 4px;
  transition: transform .25s;
}
.nav .has-sub:hover > a .caret { transform: rotate(180deg); }
.submenu {
  position: absolute;
  top: 100%;
  left: -1rem;
  min-width: 250px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow-lg);
  padding: .6rem;
  display: grid;
  gap: 2px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: .22s ease;
  z-index: 300;
}
.nav .has-sub:hover > .submenu,
.nav .has-sub:focus-within > .submenu { opacity: 1; visibility: visible; transform: none; }
.submenu a {
  display: block;
  width: 100%;
  padding: .55rem .8rem;
  border-radius: 9px;
  font-size: .9rem;
  font-weight: 600;
  color: var(--ink);
}
.submenu a::after { display: none; }
.submenu a:hover, .submenu a.active { background: var(--green-soft); color: var(--green-dark); }
.submenu .group-label {
  display: block;
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--green);
  padding: .7rem .8rem .25rem;
  border-top: 1px solid var(--line);
  margin-top: .3rem;
}
.submenu .group-label:first-child { border-top: 0; margin-top: 0; }

/* ---------- Buttons ---------- */
.btn-light { background: #fff; color: var(--navy); }
.btn-light::after { filter: invert(14%) sepia(30%) saturate(1200%) hue-rotate(170deg); }
.btn-light:hover {
  background: var(--navy);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(14,34,51,.28);
}
.btn-light:hover::after { filter: none; }

/* ---------- Welcome collage ---------- */
.collage { display: grid; grid-template-columns: repeat(3, 1fr); gap: .7rem; }
.collage img {
  width: 100%;
  height: 152px;
  object-fit: cover;
  border-radius: 14px;
  box-shadow: var(--shadow);
  transition: .35s;
}
.collage img:nth-child(2), .collage img:nth-child(5) { transform: translateY(-10px); }
.collage img:hover { transform: translateY(-14px) scale(1.02); box-shadow: var(--shadow-lg); }

/* ---------- Clients marquee ---------- */
.clients { padding: 3rem 0 3.2rem; background: #fff; }
.clients-head { text-align: center; margin-bottom: 1.7rem; }
.clients-head h4 { font-size: 1.15rem; }
.marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}
.marquee-track {
  display: flex;
  align-items: center;
  gap: 3.6rem;
  width: max-content;
  padding-right: 3.6rem;
  animation: marquee 38s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
.marquee-track img {
  height: 54px;
  width: auto;
  object-fit: contain;
  filter: grayscale(1);
  opacity: .62;
  transition: .3s;
}
.marquee-track img:hover { filter: none; opacity: 1; }

/* ---------- Steps label ---------- */
.step .step-note { display: block; }

/* ---------- Testimonials ---------- */
.testi-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.testi-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.6rem 1.4rem 1.4rem;
  display: flex;
  flex-direction: column;
  gap: .65rem;
  transition: .3s;
}
.testi-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.testi-card::before {
  content: "\201C";
  position: absolute;
  top: 12px; right: 18px;
  font-size: 3.2rem;
  line-height: 1;
  color: var(--green-soft);
  font-family: Georgia, serif;
  font-weight: 700;
}
.testi-card .who strong { display: block; color: var(--navy); font-size: .98rem; font-weight: 700; padding-right: 2rem; }
.testi-card .quote { color: var(--muted); font-size: .88rem; flex: 1; }
.testi-card .rating {
  border-top: 1px solid var(--line);
  padding-top: .75rem;
  font-size: .78rem;
  color: var(--muted);
}
.testi-card .stars { display: block; color: var(--amber); letter-spacing: 2px; font-size: .85rem; margin-bottom: .2rem; }
.testi-card .stars::before { content: "\2605\2605\2605\2605\2605"; }

/* ---------- FAQ ---------- */
.faq-list { display: grid; gap: .85rem; max-width: 860px; margin-inline: auto; }
.faq details {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  transition: .25s;
}
.faq details[open] { border-color: var(--green); box-shadow: 0 10px 26px rgba(15,138,95,.10); }
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 1.1rem 1.4rem;
  font-weight: 700;
  color: var(--navy);
  font-size: .97rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--green);
  transition: .25s;
  flex: 0 0 auto;
  line-height: 1;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .faq-a { padding: 0 1.4rem 1.25rem; color: var(--muted); font-size: .93rem; }

/* ---------- Featured product cards ---------- */
.rt-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1.4rem; }
.rt-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: .3s;
}
.rt-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.rt-card .rt-img {
  height: 170px;
  background: linear-gradient(160deg, #eef6f2, #e4eef4);
  overflow: hidden;
}
.rt-card .rt-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.rt-card:hover .rt-img img { transform: scale(1.06); }
.rt-card .badge {
  position: absolute;
  top: 12px; left: 12px;
  background: var(--amber);
  color: var(--navy);
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .03em;
  padding: .3rem .75rem;
  border-radius: 999px;
  z-index: 2;
}
.rt-card .rt-body { padding: 1.1rem 1.1rem 1.3rem; display: flex; flex-direction: column; gap: .5rem; flex: 1; }
.rt-card .rt-body h4 { font-size: 1rem; }
.rt-card .rt-body p { font-size: .83rem; color: var(--muted); flex: 1; }
.rt-card .card-link { font-size: .85rem; }

/* ---------- Catalog product cards ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.prod-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.5rem 1.4rem;
  display: flex;
  flex-direction: column;
  gap: .6rem;
  transition: .3s;
}
.prod-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: transparent; }
.prod-card h4 { font-size: .97rem; line-height: 1.4; }
.prod-card p { font-size: .85rem; color: var(--muted); }
.prod-card .range {
  align-self: flex-start;
  font-size: .8rem;
  font-weight: 700;
  color: var(--green-dark);
  background: var(--green-soft);
  padding: .3rem .75rem;
  border-radius: 8px;
}
.prod-card .card-link { margin-top: auto; padding-top: .5rem; font-size: .85rem; }
.prod-img {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 190px;
  margin: -.2rem -.2rem .9rem;
  padding: .4rem;
  background: #fff;
  border-radius: 10px;
}
.prod-img img { max-height: 100%; max-width: 100%; object-fit: contain; }

/* ---------- Product detail pages (product-*.html) ---------- */
.pdp-title { font-size: clamp(1.45rem, 3vw, 2.2rem); max-width: 940px; margin-inline: auto; }
.pdp-img { height: 360px; }
.pdp-range {
  display: inline-block;
  background: var(--green-soft);
  color: var(--green-dark);
  font-weight: 700;
  font-size: .86rem;
  padding: .5rem 1.1rem;
  border-radius: 999px;
  margin-bottom: 1rem;
}
.pdp-actions { display: flex; gap: .9rem; flex-wrap: wrap; margin-top: 1.6rem; }
@media (max-width: 820px) { .pdp-img { height: 260px; } }
.cat-head {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  margin-bottom: 1.7rem;
  border-left: 4px solid var(--green);
  padding-left: 1.1rem;
}
.cat-head h2 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); }
.group-title {
  display: block;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: .9rem;
}

/* ---------- Issue list (repair) ---------- */
.issue-list { list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); gap: .8rem; }
.issue-list li {
  display: flex;
  gap: .75rem;
  align-items: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: .85rem 1.1rem;
  font-size: .93rem;
  font-weight: 600;
  color: var(--ink);
  transition: .25s;
}
.issue-list li:hover { border-color: var(--green); box-shadow: var(--shadow); }
.issue-list li::before {
  content: "";
  flex: 0 0 18px;
  width: 18px; height: 18px;
  background: url("../icons/check.svg") center/contain no-repeat;
}

/* ---------- Service tabs ---------- */
.chips.tabs { justify-content: center; margin-bottom: 2.6rem; }
.chips.tabs .chip.active,
.chips.tabs .chip:hover { background: var(--green); border-color: var(--green); color: #fff; }

/* ---------- Team ---------- */
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.6rem; }
.team-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  text-align: center;
  transition: .3s;
}
.team-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.team-card .t-img { height: 255px; overflow: hidden; background: var(--bg-alt); }
.team-card .t-img img { width: 100%; height: 100%; object-fit: cover; transition: .5s; }
.team-card:hover .t-img img { transform: scale(1.05); }
.team-card .t-body { padding: 1.1rem 1rem 1.3rem; }
.team-card h3 { font-size: 1.05rem; margin-bottom: .2rem; }
.team-card .role { font-size: .85rem; color: var(--green); font-weight: 700; margin-bottom: .9rem; }
.team-socials { display: flex; justify-content: center; gap: .5rem; }
.team-socials a {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--bg-alt);
  display: grid;
  place-items: center;
  color: var(--muted);
  transition: .2s;
}
.team-socials a:hover { background: var(--green); color: #fff; transform: translateY(-3px); }
.team-socials svg { width: 13px; height: 13px; fill: currentColor; }

/* ---------- About welcome media stack ---------- */
.media-stack { position: relative; }
.media-stack .main {
  width: 100%;
  height: 440px;
  object-fit: cover;
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
}
.media-stack .sub {
  position: absolute;
  right: -16px;
  bottom: -26px;
  width: 48%;
  height: 180px;
  object-fit: cover;
  border-radius: 16px;
  border: 6px solid #fff;
  box-shadow: var(--shadow-lg);
}

/* ---------- Inline stats ---------- */
.inline-stats { display: flex; gap: 2.8rem; margin-top: 1.7rem; flex-wrap: wrap; }
.inline-stats .num { font-size: 2.3rem; font-weight: 800; color: var(--navy); line-height: 1; }
.inline-stats .num span { color: var(--green); }
.inline-stats .lbl { font-size: .85rem; color: var(--muted); font-weight: 600; margin-top: .35rem; }

/* ---------- Brands image ---------- */
.brands-img { border-radius: 20px; box-shadow: var(--shadow-lg); width: 100%; height: 340px; object-fit: cover; }

/* ---------- Mission / vision cards ---------- */
.mv-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 2.4rem 2.1rem;
  height: 100%;
  overflow: hidden;
}
.mv-card::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 5px;
  background: linear-gradient(180deg, var(--green), var(--green-dark));
}
.mv-card h2 { font-size: 1.55rem; margin-bottom: .8rem; }
.mv-card p { color: var(--muted); font-size: .96rem; }

/* ---------- CTA band extras ---------- */
.cta-band .kicker {
  display: block;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #bdf0da;
  margin-bottom: .5rem;
}

/* ---------- Price tables grid ---------- */
.price-tables { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.8rem; }
.price-tables .tbl-title { font-size: 1.1rem; margin: 0 0 .9rem; padding: 0; }
.price-tables .tbl-title::after { display: none; }
.price-tables tbody tr:first-child { border-top: 0; }

/* ---------- Plans extras ---------- */
.plan h5 {
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: .1rem;
}
.plan.featured h5 { color: #9fb6c8; }

/* ---------- Stats pair ---------- */
.stats .pair {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  text-align: center;
  max-width: 620px;
  margin-inline: auto;
}

/* ---------- Responsive (new components) ---------- */
@media (max-width: 1180px) {
  .rt-grid { grid-template-columns: repeat(3, 1fr); }
  .testi-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 1024px) {
  .hero-slide { grid-template-columns: 1fr; gap: 2rem; }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .issue-list { grid-template-columns: 1fr; }
  .price-tables { grid-template-columns: 1fr; }
  .media-stack .main { height: 380px; }
}

@media (max-width: 820px) {
  .nav .has-sub { width: 100%; }
  .nav .has-sub > a .caret { display: none; }
  .submenu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: 0;
    border-radius: 0;
    background: transparent;
    padding: 0 0 .3rem 1rem;
    min-width: 0;
  }
  .submenu .group-label { border-top: 0; margin-top: 0; padding-top: .5rem; }
  .submenu a { padding: .45rem .7rem; font-size: .88rem; }
  .hero-dots { justify-content: flex-start; padding-bottom: 2.4rem; }
  .rt-grid { grid-template-columns: repeat(2, 1fr); }
  .cta-band { flex-direction: column; align-items: flex-start; }
  .collage img { height: 120px; }
  .media-stack .main { height: 340px; }
  .media-stack .sub { width: 52%; height: 140px; right: 0; bottom: -18px; }
}

@media (max-width: 640px) {
  .hero-slide { padding-top: 3rem; }
  .hero-badges { gap: 1.3rem; }
  .testi-grid, .cat-grid { grid-template-columns: 1fr; }
  .rt-grid, .team-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
  .collage { gap: .5rem; }
  .collage img { height: 96px; border-radius: 10px; }
  .inline-stats { gap: 1.7rem; }
  .inline-stats .num { font-size: 1.9rem; }
  .mv-card { padding: 2rem 1.5rem; }
}

/* Visually hidden but available to screen readers (matches live site) */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}


/* ============================================================
   HOMEPAGE — matches the client's reference screenshots
   Scoped to body.home so the inner pages keep their own theme
   ============================================================ */

body.home {
  --green: #2d487f;
  --green-dark: #22376a;
  --green-soft: #eef1f8;
  --peri: #6f8ecf;
  --peri-dark: #5c7cc4;
  --navy: #16233f;
  --navy-2: #1d2e51;
  --ink: #23324a;
  --muted: #6b7a90;
  --line: #e5e9f2;
  --bg-alt: #f5f7fc;
}

/* ---------- Pills / eyebrows ---------- */
.pill {
  display: inline-block;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--ink);
  font-weight: 700;
  font-size: .9rem;
  padding: .45rem 1.15rem;
  border-radius: 999px;
  margin-bottom: 1rem;
  box-shadow: 0 6px 18px rgba(35, 50, 74, .07);
}
.pill-peri { background: var(--peri); border-color: var(--peri); color: #fff; box-shadow: 0 8px 20px rgba(111, 142, 207, .34); }
.pill-glass { background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .3); color: #fff; box-shadow: none; }
.section-head p strong { color: var(--ink); font-weight: 700; }

/* ---------- Buttons ---------- */
.btn-navy { background: var(--green); color: #fff; border-radius: 10px; }
.btn-navy:hover { background: var(--green-dark); transform: translateY(-2px); box-shadow: 0 12px 26px rgba(45, 72, 127, .34); }
.btn-peri { background: var(--peri); color: #fff; border-radius: 10px; }
.btn-peri:hover { background: var(--peri-dark); transform: translateY(-2px); box-shadow: 0 12px 26px rgba(111, 142, 207, .38); }

/* ---------- Topbar ---------- */
body.home .topbar { background: var(--green); color: #fff; }
body.home .topbar .container { justify-content: flex-start; }
body.home .topbar-left { display: flex; }
body.home .topbar-left a { padding: 0 1.6rem; font-weight: 500; font-size: .95rem; }
body.home .topbar-left a:first-child { padding-left: 0; border-right: 1px solid rgba(255, 255, 255, .28); }
body.home .topbar .icon { width: 16px; height: 16px; fill: currentColor; }

/* ---------- Header ---------- */
body.home .nav a:hover, body.home .nav a.active { color: var(--green); }
body.home .nav a::after { background: var(--peri); }
body.home .site-header { border-bottom: 1px solid var(--line); }

/* ---------- Hero slider ---------- */
.hero2 {
  position: relative;
  overflow: hidden;
  min-height: 640px;
}
.hero2-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity .8s ease;
  display: flex;
  align-items: center;
}
.hero2-slide::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(45, 72, 127, .78), rgba(22, 35, 63, .86));
}
.hero2-slide.active {
  position: relative;
  opacity: 1;
  visibility: visible;
}
.hero2-inner {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 5rem 0 4.5rem;
}
.hero2-pill {
  display: inline-block;
  background: rgba(255, 255, 255, .16);
  border: 1px solid rgba(255, 255, 255, .3);
  color: #fff;
  font-weight: 700;
  font-size: .92rem;
  padding: .45rem 1.3rem;
  border-radius: 999px;
  margin-bottom: 1.1rem;
}
.hero2 h1, .hero2 h2 {
  color: #fff;
  font-size: clamp(2.2rem, 5vw, 3.7rem);
  line-height: 1.25;
  max-width: 16ch;
  margin: 0 auto 1rem;
}
.hero2 .lead {
  color: rgba(255, 255, 255, .95);
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  font-weight: 700;
  margin-bottom: 1.8rem;
}
.hero2 .btn-navy { background: #32456f; padding: .9rem 1.9rem; }
.hero2 .btn-navy:hover { background: #26365a; }
.hero2-badges {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.4rem;
  max-width: 1050px;
  margin: 3.4rem auto 0;
  text-align: left;
}
.h2-badge { display: flex; align-items: flex-start; gap: 1rem; }
.h2-badge .circ {
  flex: 0 0 58px;
  width: 58px; height: 58px;
  border-radius: 50%;
  background: var(--peri);
  display: grid;
  place-items: center;
  box-shadow: 0 10px 22px rgba(0, 0, 0, .22);
}
.h2-badge .circ img { width: 26px; height: 26px; filter: brightness(0) invert(1); }
.h2-badge strong { display: block; color: #fff; font-size: 1.08rem; font-weight: 700; margin-bottom: .25rem; }
.h2-badge span span { color: rgba(255, 255, 255, .88); font-size: .93rem; line-height: 1.55; }
.hero2-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 46px; height: 46px;
  border-radius: 50%;
  border: 0;
  background: transparent;
  color: #fff;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: .25s;
}
.hero2-arrow:hover { background: rgba(255, 255, 255, .16); }
.hero2-arrow svg { width: 30px; height: 30px; fill: currentColor; }
.hero2-arrow.prev { left: 14px; }
.hero2-arrow.next { right: 14px; }
.hero2-count {
  position: absolute;
  right: 34px; bottom: 26px;
  z-index: 5;
  color: #fff;
  font-size: 1.15rem;
  font-weight: 500;
  letter-spacing: .04em;
}
.hero2-count .cur { font-weight: 700; }

/* ---------- Welcome ---------- */
body.home .split { grid-template-columns: 1fr 1fr; gap: 3.5rem; }
body.home .split h2 { font-size: clamp(1.9rem, 3.6vw, 2.7rem); margin-bottom: 1.1rem; }
body.home .split p { color: var(--muted); font-size: 1rem; line-height: 1.85; margin-bottom: 1.7rem; }
body.home .media-stack .main { height: 430px; border-radius: 18px; }
body.home .media-stack .sub {
  width: 44%;
  height: 300px;
  right: -10px;
  bottom: -30px;
  border-radius: 16px;
  border: 7px solid #fff;
  object-position: top;
}

/* ---------- Clients ---------- */
.clients2 { padding: 3.4rem 0 3rem; background: #fff; }
.clients2-title {
  text-align: center;
  font-size: clamp(1.3rem, 2.6vw, 1.75rem);
  margin-bottom: 2rem;
}
.clients2-wrap { position: relative; padding: 0 62px; overflow: hidden; }
.clients2-track {
  display: flex;
  align-items: center;
  gap: 3.5rem;
  overflow: visible;
  scroll-behavior: smooth;
  scrollbar-width: none;
  padding: .5rem 0 1rem;
  width: max-content;
}
.clients2-track::-webkit-scrollbar { display: none; }
.clients2-track img {
  flex: 0 0 auto;
  height: 108px;
  width: auto;
  max-width: 230px;
  object-fit: contain;
  transition: .3s;
}
.clients2-track img:hover { transform: scale(1.04); }
.clients2-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px; height: 42px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  cursor: pointer;
  display: grid;
  place-items: center;
  box-shadow: 0 6px 18px rgba(35, 50, 74, .1);
  transition: .25s;
  z-index: 3;
}
.clients2-arrow:hover { background: var(--peri); border-color: var(--peri); color: #fff; }
.clients2-arrow svg { width: 22px; height: 22px; fill: currentColor; }
.clients2-arrow.prev { left: 12px; }
.clients2-arrow.next { right: 12px; }

/* ---------- Services cards ---------- */
.svc-grid { gap: 1.9rem; }
.svc-card {
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: .3s;
  box-shadow: 0 12px 34px rgba(35, 50, 74, .08);
}
.svc-card:hover { transform: translateY(-8px); box-shadow: 0 26px 54px rgba(35, 50, 74, .16); }
.svc-img { position: relative; height: 250px; }
.svc-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.svc-card:hover .svc-img img { transform: scale(1.06); }
.svc-ico {
  position: absolute;
  top: 18px; left: 18px;
  width: 56px; height: 56px;
  border-radius: 14px;
  background: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 8px 20px rgba(0, 0, 0, .18);
}
.svc-ico img { width: 27px; height: 27px; }
.svc-body { padding: 1.8rem 1.6rem 2rem; flex: 1; }
.svc-body h3 { font-size: 1.3rem; margin-bottom: .5rem; }
.svc-body p { font-size: .96rem; line-height: 1.65; }
.tone-light { background: #f2f4f9; }
.tone-light h3 { color: #16233f; }
.tone-light p { color: #6b7a90; }
.tone-peri { background: var(--peri); }
.tone-peri h3, .tone-peri p { color: #fff; }
.tone-navy { background: var(--green); }
.tone-navy h3, .tone-navy p { color: #fff; }

/* ---------- Why choose us ---------- */
.why-grid { gap: 2.2rem 2.4rem; }
.why-item { display: flex; gap: 1.1rem; align-items: flex-start; }
.why-ico {
  flex: 0 0 50px;
  width: 50px; height: 50px;
  border-radius: 12px;
  display: grid;
  place-items: center;
}
.why-ico.tone-navy { background: var(--green); }
.why-ico.tone-peri { background: var(--peri); }
.why-ico svg { width: 26px; height: 26px; fill: #fff; }
.why-item h4 { font-size: 1.12rem; margin-bottom: .35rem; }
.why-item p { color: var(--muted); font-size: .95rem; line-height: 1.7; }

/* ---------- Specialties + stats ---------- */
.spec-split { align-items: center; }
.spec-visual { display: grid; gap: 1.1rem; }
.spec-main { width: 100%; height: 230px; object-fit: cover; border-radius: 16px; }
.spec-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.spec-stat { border-radius: 16px; padding: 1.7rem 1.2rem; text-align: center; }
.spec-stat.navy { background: var(--green); }
.spec-stat.navy .num { color: #fff; }
.spec-stat.navy .num span { color: #fff; }
.spec-stat.navy .lbl { color: rgba(255, 255, 255, .9); }
.spec-stat.light { background: #f2f4f9; }
.spec-stat .num { font-size: clamp(2rem, 3.4vw, 2.6rem); font-weight: 800; color: var(--ink); line-height: 1; }
.spec-stat .lbl { font-size: .95rem; font-weight: 600; color: var(--muted); margin-top: .45rem; }
.spec-sub { width: 100%; height: 230px; object-fit: cover; border-radius: 16px; }

/* ---------- Testimonials ---------- */
body.home .testi-grid { grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
body.home .testi-card { border-radius: 16px; border-color: var(--line); }
body.home .testi-card::before { color: #d3ddf2; }
body.home .testi-card .who strong { color: var(--ink); }
body.home .testi-card .stars { color: var(--peri); }

/* ---------- CTA phone band ---------- */
.cta-sec { padding-top: 0; padding-bottom: 3.5rem; }
.cta2 {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 46px rgba(35, 50, 74, .14);
}
.cta2-img { height: 300px; }
.cta2-img img { width: 100%; height: 100%; object-fit: cover; }
.cta2-body {
  background: var(--green);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.2rem;
  padding: 2.5rem 2rem;
  text-align: center;
}
.cta2-phone {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  color: #fff;
  font-size: clamp(1.7rem, 3.4vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -.01em;
}
.cta2-phone-ico {
  width: 56px; height: 56px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, .55);
  display: grid;
  place-items: center;
  flex: 0 0 56px;
}
.cta2-phone-ico svg { width: 26px; height: 26px; fill: #fff; }

/* ---------- CTA strip ---------- */
.cta-strip { background: var(--green); color: #fff; padding: 2.2rem 0; }
.cta-strip-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.6rem;
  flex-wrap: wrap;
}
.cta-strip-txt {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: clamp(1.15rem, 2.4vw, 1.65rem);
  font-weight: 700;
}
.cta-strip-check {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, .55);
  display: grid;
  place-items: center;
  flex: 0 0 36px;
}
.cta-strip-check svg { width: 19px; height: 19px; fill: #fff; }

/* ---------- Footer ---------- */
body.home .site-footer { background: var(--navy); }
body.home .footer-main { grid-template-columns: 1.35fr 1fr 1.25fr; gap: 3rem; }
body.home .site-footer h4 { border-bottom: 0; padding-bottom: 0; margin-bottom: 1.1rem; }
body.home .site-footer h4::after { content: none; }
body.home .site-footer h4.mt { margin-top: 1.7rem; }
body.home .footer-links { gap: .7rem; }
body.home .footer-links a::before { content: none; }
body.home .footer-links a { color: #c8d3e4; }
body.home .footer-links a:hover { color: #fff; transform: none; }
body.home .footer-contact { gap: .6rem; color: #c8d3e4; }
body.home .footer-contact svg { width: 18px; height: 18px; fill: var(--peri); flex: 0 0 18px; margin-top: 3px; }
body.home .footer-contact .footer-phone a {
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  font-weight: 800;
  color: #fff;
}
body.home .footer-contact .footer-phone { align-items: center; margin-bottom: .3rem; }
body.home .footer-contact .footer-phone svg { width: 26px; height: 26px; flex: 0 0 26px; margin-top: 0; }
body.home .footer-brand img { background: #fff; height: 74px; padding: 8px 12px; border-radius: 10px; }

/* ---------- Scroll to top ---------- */
.scroll-top {
  position: fixed;
  right: 22px; bottom: 22px;
  z-index: 90;
  width: 46px; height: 46px;
  border-radius: 50%;
  border: 0;
  background: var(--green);
  color: #fff;
  cursor: pointer;
  display: grid;
  place-items: center;
  box-shadow: 0 10px 26px rgba(22, 35, 63, .32);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: .3s;
}
.scroll-top.show { opacity: 1; visibility: visible; transform: none; }
.scroll-top:hover { background: var(--peri); }
.scroll-top svg { width: 22px; height: 22px; fill: currentColor; }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  body.home .testi-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 1024px) {
  .hero2 { min-height: 0; }
  .hero2-badges { grid-template-columns: 1fr; gap: 1.4rem; max-width: 460px; }
  .hero2-inner { padding: 3.5rem 0 3rem; }
  body.home .split { grid-template-columns: 1fr; }
  body.home .media-stack .sub { height: 240px; width: 42%; }
  .cta2 { grid-template-columns: 1fr; }
  .cta2-img { height: 240px; }
  body.home .footer-main { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 820px) {
  /* Topbar hidden on mobile like in screenshot */
  .topbar { display: none; }
  
  /* Header matches screenshot: clean white header, brand logo with white badge/card, hamburger on right */
  body.home .site-header, .site-header {
    border-bottom: 0;
    box-shadow: none;
    background: #fff;
  }
  .nav-wrap {
    padding: .85rem 1.1rem;
  }
  .brand img {
    height: 48px;
    width: auto;
  }
  .nav-toggle {
    margin-left: auto;
  }
  .nav-toggle span {
    width: 24px;
    height: 3px;
    background: #1b2e4b;
    border-radius: 2px;
  }

  /* Hero slider on mobile: matches content height, arrows visible on left & right, count in bottom right, badges hidden */
  .hero2 {
    min-height: 0;
    height: auto;
    overflow: hidden;
    position: relative;
  }
  .hero2-slide {
    position: absolute;
    inset: 0;
    align-items: center;
  }
  .hero2-slide.active {
    position: relative;
    inset: auto;
  }
  .hero2-inner {
    padding: 3.5rem 1.2rem 2.8rem;
    text-align: center;
  }
  .hero2 h1, .hero2 h2 {
    font-size: clamp(1.8rem, 7vw, 2.35rem);
    line-height: 1.2;
    color: #fff;
    font-weight: 800;
    margin: 0 auto .85rem;
    max-width: 14ch;
  }
  .hero2 .lead {
    font-size: clamp(1rem, 3.8vw, 1.15rem);
    color: rgba(255, 255, 255, .92);
    font-weight: 500;
    margin-bottom: 2rem;
  }
  .hero2 .btn-navy {
    background: #234880;
    color: #fff;
    padding: .85rem 2.2rem;
    font-size: 1rem;
    border-radius: 8px;
    font-weight: 700;
  }
  .hero2-badges {
    display: none; /* Hidden on mobile to keep hero clean */
  }
  .hero2-arrow {
    display: flex !important;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: transparent;
    color: rgba(255, 255, 255, .85);
  }
  .hero2-arrow svg {
    width: 28px;
    height: 28px;
  }
  .hero2-arrow.prev { left: 8px; }
  .hero2-arrow.next { right: 8px; }
  .hero2-count {
    right: 22px;
    bottom: 18px;
    font-size: 1.1rem;
    color: rgba(255, 255, 255, .85);
  }

  /* Welcome section on mobile (Screenshot 1 & 2):
     Technician image overlaps bedroom, button is "About Company" */
  body.home .section {
    padding: 2.2rem 0;
  }
  body.home .split {
    grid-template-columns: 1fr;
    gap: 1.8rem;
  }
  body.home .media-stack {
    position: relative;
    max-width: 420px;
    margin: 0 auto;
  }
  body.home .media-stack .main {
    width: 100%;
    height: 260px;
    object-fit: cover;
    border-radius: 12px;
  }
  body.home .media-stack .sub {
    position: absolute;
    right: -8px;
    bottom: -15px;
    width: 58%;
    height: 270px;
    object-fit: contain;
    border: none;
    box-shadow: none;
    border-radius: 0;
  }
  body.home .split p {
    font-size: .95rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
  }
  body.home .split .btn-navy {
    background: #234880;
    color: #fff;
    border-radius: 8px;
    padding: .8rem 1.8rem;
    font-weight: 700;
  }

  /* Clients section on mobile (Screenshot 2):
     "Our Client's" title, arrows on left & right, centered client logo */
  .clients2 {
    padding: 3rem 0;
  }
  .clients2-title {
    font-size: 1.6rem;
    font-weight: 800;
    color: #16233f;
    margin-bottom: 2rem;
  }
  .clients2-wrap {
    position: relative;
    padding: 0 45px;
    overflow: hidden;
  }
  .clients2-arrow {
    display: flex !important;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    background: transparent;
    border: none;
    box-shadow: none;
    color: #4b586e;
    z-index: 5;
  }
  .clients2-arrow svg {
    width: 24px;
    height: 24px;
  }
  .clients2-arrow.prev { left: 8px; }
  .clients2-arrow.next { right: 8px; }
  .clients2-track {
    gap: 3rem;
  }
  .clients2-track img {
    height: 95px;
    max-width: 200px;
    margin: 0 auto;
  }

  /* Services heading & scroll-top pill */
  .section-head h2 {
    font-size: 2.1rem;
    font-weight: 800;
    color: #16233f;
  }
  .pill {
    font-size: .88rem;
    padding: .4rem 1.1rem;
  }
  .scroll-top {
    width: 44px;
    height: 44px;
    bottom: 22px;
    right: 18px;
    background: #234880;
    border-radius: 50%;
  }

  .svc-grid { grid-template-columns: 1fr; }
  body.home .testi-grid { grid-template-columns: 1fr; }
  .spec-row { grid-template-columns: 1fr; }
  .cta-strip-inner { justify-content: flex-start; }
  body.home .footer-main { grid-template-columns: 1fr; gap: 2rem; }
}

/* ---------- Accessibility: respect reduced-motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* ============================================================
   PROJECTS PAGE — mirrors the live site's Our Projects layout
   Same navy/periwinkle theme as the homepage
   ============================================================ */

body.projects {
  --green: #2d487f;
  --green-dark: #22376a;
  --green-soft: #eef1f8;
  --peri: #6f8ecf;
  --peri-dark: #5c7cc4;
  --navy: #16233f;
  --navy-2: #1d2e51;
  --ink: #23324a;
  --muted: #6b7a90;
  --line: #e5e9f2;
  --bg-alt: #f1f3f7;
}
body.projects .topbar { background: #2d487f; color: #fff; }
body.projects .topbar .container { justify-content: flex-start; }
body.projects .topbar-left { display: flex; }
body.projects .topbar-left a { padding: 0 1.6rem; font-weight: 500; font-size: .95rem; }
body.projects .topbar-left a:first-child { padding-left: 0; border-right: 1px solid rgba(255, 255, 255, .28); }
body.projects .topbar .icon { width: 16px; height: 16px; fill: currentColor; }
body.projects .nav a:hover, body.projects .nav a.active { color: #2d487f; }
body.projects .nav a::after { background: var(--peri); }
body.projects .site-header { border-bottom: 1px solid var(--line); }
body.projects .breadcrumb a { color: rgba(255, 255, 255, .8); }
body.projects .footer-links a:hover, body.projects .footer-contact a:hover { color: var(--peri); }
body.projects .scroll-top:hover { background: var(--peri); }

/* Round badge overlapping the page-hero bottom */
.ph-badge {
  position: absolute;
  left: 50%;
  bottom: -26px;
  transform: translateX(-50%);
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--navy);
  border: 4px solid #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 24px rgba(22, 35, 63, .3);
  z-index: 2;
}
.ph-badge svg { width: 22px; height: 22px; fill: #fff; }
body.projects .page-hero { position: relative; padding-bottom: 4.6rem; }

/* Project category grids */
.proj-band { padding-top: 3.6rem; }
.proj-band + .proj-band { padding-top: 3.2rem; }
.proj-cat {
  font-size: 1.06rem;
  font-weight: 800;
  color: #16233f;
  margin-bottom: 1.5rem;
}
.proj-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1.6rem;
  align-items: start;
}
.proj-grid > .proj-card { grid-column: span 2; }
.proj-card img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 8px 22px rgba(22, 35, 63, .12);
  transition: transform .4s ease;
}
.proj-card:hover img { transform: translateY(-5px); }
.proj-card figcaption {
  text-align: center;
  padding: .95rem .4rem 0;
}
.proj-card figcaption strong {
  display: block;
  font-size: 1.05rem;
  font-weight: 700;
  color: #16233f;
  line-height: 1.3;
}
.proj-card figcaption span {
  display: block;
  margin-top: .25rem;
  font-size: .84rem;
  color: #8b97a8;
}
.proj-grid > .proj-card.wide { grid-column: span 3; }

@media (max-width: 1024px) {
  .proj-grid { grid-template-columns: repeat(2, 1fr); }
  .proj-grid > .proj-card, .proj-grid > .proj-card.wide { grid-column: span 1; }
  .proj-card img { height: 260px; }
}
@media (max-width: 640px) {
  .proj-grid { grid-template-columns: 1fr; }
  .proj-card img { height: 240px; }
  body.projects .topbar-left a { padding: 0 1rem; font-size: .85rem; }
}
