/* ==========================================================================
   PROFIX Glazing Solutions — Prototype Stylesheet
   ========================================================================== */

:root {
  /* Brand colours pulled from the Profix logo */
  --slate: #5c7d81;        /* brand primary 1 — slate teal */
  --slate-dark: #3d5559;   /* deeper shade of primary 1, used for dark backgrounds */
  --cyan: #52b8c9;         /* brand primary 2 — bright cyan/teal */
  --cyan-light: #8ad4df;
  --charcoal: #4a4a4a;     /* logo wordmark grey */

  /* Semantic aliases (kept so components below don't need renaming) */
  --navy: #23343a;         /* dark background — deep charcoal-teal, not pure navy */
  --navy-dark: #182528;
  --navy-light: var(--slate-dark);
  --amber: var(--cyan);
  --amber-light: var(--cyan-light);
  --ink: #1b2830;
  --paper: #f7f9fb;
  --paper-dim: #eef2f5;
  --white: #ffffff;
  --line: #e2e8ec;
  --success: #2f7d5a;
  --radius: 14px;
  --shadow-sm: 0 2px 10px rgba(15, 43, 61, 0.06);
  --shadow-md: 0 12px 32px rgba(15, 43, 61, 0.12);
  --shadow-lg: 0 24px 60px rgba(15, 43, 61, 0.18);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* Alternate light-header theme — add class="theme-light-header" to <body> to try it */
body.theme-light-header .site-header { background: rgba(255,255,255,0.96); border-bottom: 1px solid var(--line); }
body.theme-light-header .brand, body.theme-light-header .nav-links a { color: var(--charcoal); }
body.theme-light-header .nav-links a:hover { background: rgba(92,125,129,0.08); color: var(--slate-dark); }
body.theme-light-header .nav-links a.active { color: var(--slate-dark); }
body.theme-light-header .call-chip { background: rgba(92,125,129,0.08); color: var(--charcoal); }

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: "Poppins", "Inter", sans-serif;
  color: var(--navy);
  line-height: 1.2;
  margin: 0 0 0.5em;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); font-weight: 700; }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.3rem); font-weight: 700; }
h3 { font-size: 1.25rem; font-weight: 600; }
p { margin: 0 0 1em; color: #48575f; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { margin: 0; padding: 0; list-style: none; }

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 14px;
}
.eyebrow::before {
  content: "";
  width: 24px;
  height: 2px;
  background: var(--amber);
  display: inline-block;
}
/* Centered eyebrows get a matching dash on both sides */
.section-head.center .eyebrow::after {
  content: "";
  width: 24px;
  height: 2px;
  background: var(--amber);
  display: inline-block;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 100px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: none;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s var(--ease);
  white-space: nowrap;
}
.btn-primary {
  background: var(--amber);
  color: var(--navy-dark);
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); background: var(--amber-light); }
.btn-outline {
  background: transparent;
  border: 1.5px solid rgba(255,255,255,0.5);
  color: var(--white);
}
.btn-outline:hover { background: rgba(255,255,255,0.12); transform: translateY(-2px); }
.btn-outline-dark {
  background: transparent;
  border: 1.5px solid var(--navy);
  color: var(--navy);
}
.btn-outline-dark:hover { background: var(--navy); color: var(--white); transform: translateY(-2px); }
.btn-block { width: 100%; }

/* ---------- Mid-width contact buttons (shown when nav is collapsed) ---------- */
.mobile-contact-btns { display: none; align-items: center; gap: 8px; }
.mobile-contact-btns .icon-btn {
  width: 42px; height: 42px; border-radius: 10px;
  background: rgba(255,255,255,0.08); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.05rem; border: none; cursor: pointer; flex-shrink: 0;
  transition: background 0.2s;
}
.mobile-contact-btns .icon-btn:hover { background: rgba(255,255,255,0.16); }

/* ---------- Email popup ---------- */
.email-modal-overlay {
  position: fixed; inset: 0; background: rgba(10,20,28,0.6);
  display: none; align-items: center; justify-content: center; z-index: 400; padding: 20px;
}
.email-modal-overlay.open { display: flex; }
.email-modal {
  background: var(--white); border-radius: 16px; padding: 28px 26px;
  max-width: 380px; width: 100%; box-shadow: var(--shadow-lg); text-align: center;
  position: relative;
}
.email-modal h3 { margin-bottom: 6px; }
.email-modal p { font-size: 0.88rem; margin-bottom: 18px; }
.email-modal .email-row {
  display: flex; gap: 8px; align-items: center;
  background: var(--paper-dim); border-radius: 10px; padding: 6px 6px 6px 14px;
}
.email-modal .email-row input {
  flex: 1; border: none; background: transparent; font-size: 0.88rem; color: var(--navy);
  font-weight: 600; outline: none;
}
.email-modal .copy-btn {
  padding: 9px 14px; border-radius: 8px; border: none; background: var(--cyan);
  color: var(--navy-dark); font-weight: 700; font-size: 0.82rem; cursor: pointer; white-space: nowrap;
}
.email-modal .copy-btn.copied { background: var(--success); color: var(--white); }
.email-modal-close {
  position: absolute; top: 12px; right: 14px; font-size: 1.3rem; color: #8697a0;
  cursor: pointer; line-height: 1; background: none; border: none;
}
/* Mobile-contact-btns (header call/email icons) are hidden on mobile: the sticky
   .mobile-call-bar footer already provides the same actions, so we free up header
   space for the "Get a Free Quote" button and the nav-toggle hamburger. */
@media (max-width: 1280px) {
  .mobile-contact-btns { display: none; }
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(15, 43, 61, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  max-width: 1180px;
  margin: 0 auto;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0.02em;
  flex-shrink: 0;
  white-space: nowrap;
}
.brand .mark {
  width: 46px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.brand .mark img { width: 100%; height: 100%; object-fit: contain; }
.brand .brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand .brand-text .name { letter-spacing: 0.22em; font-size: 1rem; }
.brand small { display: block; font-weight: 400; font-size: 0.66rem; color: #a9c0cc; letter-spacing: 0.03em; margin-top: 2px; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-links {
  flex-shrink: 0;
}
.nav-links a {
  color: #d7e3ea;
  font-size: 0.92rem;
  font-weight: 500;
  padding: 10px 16px;
  border-radius: 8px;
  transition: background 0.2s, color 0.2s;
  position: relative;
  white-space: nowrap;
  flex-shrink: 0;
}
.nav-links a:hover { background: rgba(255,255,255,0.08); color: var(--white); }
.nav-links a.active { color: var(--white); }
.nav-links a.active::after {
  content: "";
  position: absolute;
  left: 16px; right: 16px; bottom: 4px;
  height: 2px;
  background: var(--amber);
  border-radius: 2px;
}
.nav-links .badge {
  font-size: 0.6rem;
  background: rgba(255,255,255,0.1);
  color: #b9cbd4;
  border: 1px solid rgba(255,255,255,0.18);
  padding: 2px 7px;
  border-radius: 100px;
  margin-left: 6px;
  white-space: nowrap;
  display: inline-block;
  font-weight: 600;
  letter-spacing: 0.03em;
  vertical-align: middle;
}
.header-cta { display: flex; align-items: center; gap: 10px; }
.header-cta { flex-shrink: 0; }
.header-cta .btn { padding: 11px 20px; font-size: 0.88rem; white-space: nowrap; flex-shrink: 0; }
.call-chip {
  display: flex; align-items: center; gap: 8px;
  color: var(--white); font-weight: 600; font-size: 0.9rem;
  padding: 10px 14px; border-radius: 100px;
  background: rgba(255,255,255,0.08);
  white-space: nowrap; flex-shrink: 0;
}
.nav-toggle { display: none; }

/* Nav collapses to hamburger earlier (1140px) so items never get squeezed
   in the awkward mid-width zone between full desktop and phone widths. */
@media (max-width: 1280px) {
  .nav-links, .header-cta .btn-outline, .call-chip { display: none; }
  .nav-toggle {
    display: flex; align-items: center; justify-content: center;
    width: 42px; height: 42px; border-radius: 10px; background: rgba(255,255,255,0.08);
    color: var(--white); font-size: 1.3rem; cursor: pointer; border: none;
  }
  .site-header.nav-open .nav-links {
    display: flex; flex-direction: column; align-items: stretch;
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--navy); padding: 12px 20px 20px; gap: 4px;
    box-shadow: var(--shadow-md);
  }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 84vh;
  display: flex;
  align-items: center;
  color: var(--white);
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  transform: scale(1.05);
  animation: heroZoom 18s ease-in-out infinite alternate;
}
@keyframes heroZoom { from { transform: scale(1.05); } to { transform: scale(1.15); } }
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(115deg, rgba(8,20,26,0.96) 30%, rgba(8,20,26,0.86) 60%, rgba(8,20,26,0.55) 100%);
}
.hero-content { position: relative; z-index: 2; max-width: 640px; padding: 100px 0; }
.hero-content h1 { color: var(--white); text-shadow: 0 2px 18px rgba(0,0,0,0.45); }
.hero-content p.lead { color: #e4edf1; font-size: 1.08rem; max-width: 520px; text-shadow: 0 1px 10px rgba(0,0,0,0.35); }
.hero-stats {
  display: flex; gap: 28px; margin: 34px 0;
}
.hero-stats .stat strong { display: block; font-size: 1.7rem; color: var(--amber); font-family: "Poppins", sans-serif; }
.hero-stats .stat span { font-size: 0.82rem; color: #b9cbd4; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- Hero engagement layer ---------- */
.hero-floaters { position: absolute; inset: 0; z-index: 1; pointer-events: none; overflow: hidden; }
.floater {
  position: absolute;
  border-radius: 14px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.14);
  backdrop-filter: blur(6px);
  display: flex; align-items: center; justify-content: center;
  color: var(--cyan-light);
  font-size: 1.4rem;
  animation: floaterDrift 7s ease-in-out infinite;
}
.floater.f1 { width: 64px; height: 64px; top: 16%; right: 14%; animation-delay: 0s; }
.floater.f2 { width: 46px; height: 46px; top: 62%; right: 26%; animation-delay: 1.2s; }
.floater.f3 { width: 54px; height: 54px; top: 40%; right: 6%; animation-delay: 2.4s; }
/* Simple window-pane glyph — drawn with borders, no emoji */
.pane-icon {
  width: 26px; height: 26px; position: relative;
  border: 2px solid var(--cyan-light);
  border-radius: 2px;
}
.pane-icon::before, .pane-icon::after {
  content: ""; position: absolute; background: var(--cyan-light);
}
.pane-icon::before { top: 50%; left: 0; right: 0; height: 2px; transform: translateY(-1px); }
.pane-icon::after { left: 50%; top: 0; bottom: 0; width: 2px; transform: translateX(-1px); }
.pane-icon.small { width: 18px; height: 18px; }

/* ---------- Hero rating card (floating overlay for visual depth) ---------- */
.hero-rating-card {
  position: absolute; z-index: 3; right: 6%; bottom: 12%;
  background: rgba(20,34,40,0.72); backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.14); border-radius: 16px;
  padding: 16px 20px; display: flex; align-items: center; gap: 14px;
  box-shadow: var(--shadow-lg);
  animation: floaterDrift 8s ease-in-out infinite;
}
.hero-rating-card .stars-big { color: var(--cyan-light); font-size: 1.1rem; letter-spacing: 2px; }
.hero-rating-card strong { display: block; color: var(--white); font-size: 1rem; }
.hero-rating-card span { display: block; color: #b9cbd4; font-size: 0.76rem; }
@media (max-width: 980px) { .hero-rating-card { display: none; } }
@keyframes floaterDrift {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-18px) rotate(4deg); }
}
.hero-badge-row { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 22px; }
.hero-pill {
  display: inline-flex; align-items: center; gap: 7px;
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.16);
  padding: 7px 14px; border-radius: 100px; font-size: 0.78rem; font-weight: 600; color: #dbe8ec;
}
.hero-pill .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 0 3px rgba(82,184,201,0.25); }
.btn-pulse { position: relative; }
.btn-pulse::after {
  content: ""; position: absolute; inset: 0; border-radius: 100px;
  border: 2px solid var(--cyan-light); opacity: 0.6;
  animation: pulseRing 2.2s ease-out infinite;
}
@keyframes pulseRing {
  0% { transform: scale(1); opacity: 0.6; }
  100% { transform: scale(1.35); opacity: 0; }
}
.scroll-cue {
  position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  color: #b9cbd4; font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase;
  z-index: 2; opacity: 0.85;
}
.scroll-cue .stick { width: 22px; height: 34px; border: 2px solid rgba(255,255,255,0.4); border-radius: 12px; position: relative; }
.scroll-cue .stick::after {
  content: ""; position: absolute; top: 6px; left: 50%; width: 4px; height: 8px;
  background: var(--cyan); border-radius: 2px; transform: translateX(-50%);
  animation: scrollDot 1.8s ease-in-out infinite;
}
@keyframes scrollDot { 0% { opacity:1; top:6px;} 70% { opacity:0; top:18px;} 100% { opacity:0; top:6px;} }
@media (max-width: 760px) { .hero-floaters, .scroll-cue { display: none; } }

/* ---------- Statement strip ---------- */
.statement-strip {
  background: var(--white); padding: 44px 0; text-align: center; border-bottom: 1px solid var(--line);
}
.statement-strip p {
  font-family: "Poppins", sans-serif; font-weight: 700; color: var(--navy);
  font-size: clamp(1.3rem, 3vw, 1.9rem); margin: 0; letter-spacing: 0.01em;
}
.statement-strip .accent { color: var(--cyan); }

/* ---------- Ethos band ---------- */
.ethos-band {
  background: linear-gradient(120deg, var(--navy-dark), var(--navy) 55%, var(--slate-dark));
  color: var(--white); padding: 90px 0; position: relative; overflow: hidden;
}
.ethos-band::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at 85% 20%, rgba(82,184,201,0.16), transparent 55%);
}
.ethos-band .container { position: relative; z-index: 1; max-width: 820px; text-align: center; }
.ethos-band .eyebrow { justify-content: center; }
.ethos-band .eyebrow::after {
  content: "";
  width: 24px;
  height: 2px;
  background: var(--amber);
  display: inline-block;
}
.ethos-band h2 { color: var(--white); font-size: clamp(1.8rem, 4vw, 2.6rem); }
.ethos-band p.big { font-size: 1.15rem; color: #dbe8ec; max-width: 680px; margin: 0 auto 18px; }
.ethos-band .signoff { font-size: 0.85rem; color: var(--cyan-light); font-weight: 600; margin-top: 24px; }
.ethos-band .signoff + .signoff { margin-top: 6px; }

/* ---------- Warranty / aftercare ---------- */
.warranty-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.warranty-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-sm); padding: 28px 26px;
}
.warranty-card .icon-box { margin-bottom: 16px; }
.warranty-note {
  display: flex; gap: 12px; align-items: flex-start;
  background: var(--paper-dim); border-radius: 12px; padding: 18px 20px;
  font-size: 0.9rem; color: #56666e; margin-top: 30px;
}
@media (max-width: 760px) { .warranty-grid { grid-template-columns: 1fr; } }

/* ---------- Trust bar ---------- */
.trust-bar {
  background: var(--white);
  border-bottom: 1px solid var(--line);
  padding: 20px 0;
}
.trust-bar .container { display: flex; flex-wrap: wrap; gap: 28px; justify-content: space-between; align-items: center; }
.trust-item { display: flex; align-items: center; gap: 10px; font-size: 0.9rem; font-weight: 600; color: var(--navy); }
@media (max-width: 700px) {
  /* Even 2x2 grid instead of flex-wrap, which was leaving an uneven 3-and-1 split. */
  .trust-bar .container { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 14px; }
  .trust-item { font-size: 0.82rem; }
}
@media (max-width: 380px) {
  .trust-bar .container { grid-template-columns: 1fr; }
}
.trust-item .ico { color: var(--amber); font-size: 1.1rem; }

/* ---------- Sections ---------- */
section { padding: 88px 0; }
.section-head { max-width: 640px; margin-bottom: 48px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.bg-navy { background: var(--navy); color: var(--white); }
.bg-navy h2, .bg-navy h3 { color: var(--white); }
.bg-navy p { color: #b9cbd4; }
.bg-dim { background: var(--paper-dim); }

/* ---------- Reveal animation ---------- */
/* Content is visible by default so pages never depend on JS/IntersectionObserver
   running to be readable (this bit us before with the reviews section, and again
   with entire sections going blank on mobile). .in-view just adds a subtle lift-in
   as a progressive enhancement when JS does run. */
.reveal { opacity: 1; transform: none; transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.in-view { opacity: 1; transform: translateY(0); }
.reveal-delay-1.in-view { transition-delay: 0.08s; }
.reveal-delay-2.in-view { transition-delay: 0.16s; }
.reveal-delay-3.in-view { transition-delay: 0.24s; }
.reveal-delay-4.in-view { transition-delay: 0.32s; }

/* ---------- Cards grid ---------- */
.grid { display: grid; gap: 26px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 30px 26px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.card .icon-box {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  color: var(--amber-light);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 18px;
}
.card p { font-size: 0.94rem; margin-bottom: 0; }

/* ---------- Why us / split ---------- */
.split {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 60px;
  align-items: center;
}
.split img { border-radius: var(--radius); box-shadow: var(--shadow-md); width: 100%; object-fit: cover; height: 460px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 16px; font-weight: 500; color: var(--navy); }
.check-list .tick {
  flex-shrink: 0; width: 24px; height: 24px; border-radius: 50%;
  background: rgba(217,164,65,0.15); color: var(--amber);
  display: flex; align-items: center; justify-content: center; font-size: 0.8rem; font-weight: 800;
  margin-top: 2px;
}

/* ---------- Gallery ---------- */
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 16px; }
.gallery-item {
  position: relative; border-radius: 12px; overflow: hidden;
  aspect-ratio: 1/1; cursor: pointer;
  box-shadow: var(--shadow-sm);
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s var(--ease); }
.gallery-item:hover img { transform: scale(1.08); }
.gallery-item .tag {
  position: absolute; left: 10px; bottom: 10px;
  background: rgba(15,43,61,0.85); color: var(--white);
  font-size: 0.72rem; font-weight: 600; padding: 5px 10px; border-radius: 100px;
  opacity: 0; transform: translateY(6px);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
}
.gallery-item:hover .tag { opacity: 1; transform: translateY(0); }
.filter-bar { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 32px; }
.filter-btn {
  padding: 9px 18px; border-radius: 100px; border: 1.5px solid var(--line);
  background: var(--white); font-size: 0.86rem; font-weight: 600; color: var(--navy);
  cursor: pointer; transition: all 0.2s var(--ease);
}
.filter-btn:hover { border-color: var(--amber); }
.filter-btn.active { background: var(--navy); border-color: var(--navy); color: var(--white); }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; background: rgba(10,20,28,0.92);
  display: none; align-items: center; justify-content: center; z-index: 300;
  padding: 40px;
}
.lightbox.open { display: flex; }
.lightbox img { max-width: 90vw; max-height: 85vh; border-radius: 10px; box-shadow: var(--shadow-lg); }
.lightbox-close {
  position: absolute; top: 24px; right: 30px; color: var(--white);
  font-size: 2rem; cursor: pointer; line-height: 1; opacity: 0.8;
}
.lightbox-close:hover { opacity: 1; }

/* ---------- Service accordion ---------- */
.accordion { border-top: 1px solid var(--line); }
.acc-item { border-bottom: 1px solid var(--line); }
.acc-trigger {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 22px 4px; background: none; border: none; cursor: pointer; text-align: left;
}
.acc-trigger .acc-title { display: flex; align-items: center; gap: 14px; font-weight: 600; color: var(--navy); font-size: 1.02rem; }
.acc-trigger .acc-title .icon-box { width: 40px; height: 40px; font-size: 1.1rem; margin-bottom: 0; }
.acc-trigger .acc-plus {
  width: 28px; height: 28px; border-radius: 50%; border: 1.5px solid var(--line);
  display: flex; align-items: center; justify-content: center; color: var(--slate); font-size: 1.1rem; flex-shrink: 0;
  transition: transform 0.3s var(--ease), background 0.3s var(--ease);
}
.acc-item.open .acc-plus { transform: rotate(45deg); background: var(--cyan); color: var(--white); border-color: var(--cyan); }
.acc-panel { max-height: 0; overflow: hidden; transition: max-height 0.4s var(--ease); }
.acc-item.open .acc-panel { max-height: 260px; }
.acc-panel-inner { padding: 0 4px 26px 70px; color: #56666e; font-size: 0.95rem; }

/* ---------- Before / after ---------- */
.ba-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
.ba-card { background: var(--white); border-radius: var(--radius); border: 1px solid var(--line); box-shadow: var(--shadow-sm); overflow: hidden; }
.ba-images { display: grid; grid-template-columns: 1fr 1fr; }
.ba-images figure { margin: 0; position: relative; aspect-ratio: 4/5; overflow: hidden; }
.ba-images img { width: 100%; height: 100%; object-fit: cover; }
.ba-images figcaption {
  position: absolute; top: 10px; left: 10px;
  background: rgba(15,43,61,0.85); color: var(--white); font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.04em; text-transform: uppercase; padding: 5px 11px; border-radius: 100px;
}
.ba-images figure:last-child figcaption { background: var(--cyan); color: var(--navy-dark); }
.ba-caption { padding: 18px 20px; }
.ba-caption h3 { font-size: 1rem; margin-bottom: 4px; }
.ba-caption p { font-size: 0.88rem; margin: 0; }
@media (max-width: 760px) { .ba-grid { grid-template-columns: 1fr; } }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; position: relative; }
.step { text-align: left; }
.step .num {
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--amber); color: var(--navy-dark);
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-family: "Poppins", sans-serif;
  margin-bottom: 16px;
}

/* ---------- Testimonials ---------- */
.testimonial-card {
  background: var(--white); border-radius: var(--radius); padding: 28px;
  border: 1px solid var(--line); box-shadow: var(--shadow-sm);
}
.testimonial-card p { color: #33424a; }
.stars { color: var(--amber); letter-spacing: 2px; margin-bottom: 12px; font-size: 1rem; }
.testimonial-card .who { display: flex; align-items: center; gap: 12px; margin-top: 16px; }
.testimonial-card .avatar {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--navy); color: var(--amber-light);
  display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 0.85rem;
}
.testimonial-card .who strong { color: var(--navy); display: block; font-size: 0.9rem; }
.testimonial-card .who span { font-size: 0.78rem; color: #7c8b93; }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(120deg, var(--navy), var(--navy-light));
  color: var(--white);
  border-radius: 22px;
  padding: 56px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  flex-wrap: wrap;
}
.cta-band h2 { color: var(--white); margin-bottom: 6px; }
.cta-band p { color: #b9cbd4; margin-bottom: 0; }
.cta-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- Forms ---------- */
.form-card {
  background: var(--white); border-radius: var(--radius);
  border: 1px solid var(--line); box-shadow: var(--shadow-md);
  padding: 40px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 18px; }
.field { display: flex; flex-direction: column; gap: 7px; margin-bottom: 18px; }
.field label { font-size: 0.85rem; font-weight: 600; color: var(--navy); }
.field label .req { color: var(--amber); }
.field input, .field select, .field textarea {
  padding: 13px 15px; border-radius: 10px; border: 1.5px solid var(--line);
  font-family: inherit; font-size: 0.95rem; color: var(--ink);
  background: var(--paper); transition: border-color 0.2s, box-shadow 0.2s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--amber); box-shadow: 0 0 0 4px rgba(217,164,65,0.15); background: var(--white);
}
.field textarea { resize: vertical; min-height: 120px; }
.field-hint { font-size: 0.78rem; color: #8697a0; }
.form-note {
  display: flex; gap: 10px; align-items: flex-start;
  background: var(--paper-dim); border-radius: 10px; padding: 14px 16px;
  font-size: 0.84rem; color: #5b6b73; margin-bottom: 20px;
}

/* ---------- Contact page specifics ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 40px; align-items: start; }
.contact-info-card {
  background: var(--navy); color: var(--white); border-radius: var(--radius);
  padding: 36px; box-shadow: var(--shadow-md);
}
.contact-info-card h3 { color: var(--white); }
.contact-info-card p { color: #b9cbd4; }
.contact-method {
  display: flex; gap: 14px; align-items: center;
  padding: 16px 0; border-top: 1px solid rgba(255,255,255,0.12);
}
.contact-method:first-of-type { border-top: none; }
.contact-method .ico {
  width: 42px; height: 42px; border-radius: 10px;
  background: rgba(217,164,65,0.18); color: var(--amber-light);
  display: flex; align-items: center; justify-content: center; font-size: 1.1rem; flex-shrink: 0;
}
.contact-method strong { display: block; font-size: 0.95rem; }
.contact-method span { font-size: 0.85rem; color: #a9c0cc; }
.map-embed { border-radius: var(--radius); overflow: hidden; margin-top: 24px; box-shadow: var(--shadow-sm); }

.hours-table { width: 100%; border-collapse: collapse; margin-top: 10px; }
.hours-table td { padding: 8px 0; font-size: 0.88rem; border-top: 1px solid rgba(255,255,255,0.1); }
.hours-table td:last-child { text-align: right; color: var(--amber-light); font-weight: 600; }

.success-msg {
  display: none; align-items: center; gap: 12px;
  background: rgba(47,125,90,0.1); border: 1px solid rgba(47,125,90,0.3);
  color: var(--success); padding: 16px 18px; border-radius: 10px; font-weight: 600; font-size: 0.9rem;
  margin-bottom: 20px;
}
.success-msg.show { display: flex; }

/* ---------- Coming soon / calculator placeholder ---------- */
.coming-soon-hero {
  background: linear-gradient(135deg, var(--navy), var(--navy-dark));
  color: var(--white); border-radius: 22px; padding: 70px 50px; text-align: center;
  position: relative; overflow: hidden;
}
.coming-soon-hero .pill {
  display: inline-block; background: rgba(217,164,65,0.16); color: var(--amber-light);
  padding: 8px 18px; border-radius: 100px; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.05em;
  margin-bottom: 20px;
}
.coming-soon-hero h1 { color: var(--white); font-size: clamp(1.8rem, 4vw, 2.6rem); font-family: "Poppins", "Inter", sans-serif; font-weight: 700; line-height: 1.2; margin: 0 0 0.5em; }
.coming-soon-hero p { color: #b9cbd4; max-width: 560px; margin: 0 auto 30px; }
.preview-fields { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; margin-top: 34px; }
.preview-chip {
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.14);
  padding: 10px 16px; border-radius: 10px; font-size: 0.85rem; color: #d7e3ea; display: flex; gap: 8px; align-items: center;
}
.disclosure-box {
  background: #fff8ea; border: 1px solid #f0d9a3; border-radius: 12px;
  padding: 20px 22px; font-size: 0.88rem; color: #6b5a2b; margin-top: 30px; text-align: left;
  display: flex; gap: 12px;
}
.disclosure-box .ico { color: #b8860b; font-size: 1.2rem; flex-shrink: 0; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-dark); color: #a9c0cc; padding: 64px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.1fr; gap: 40px; margin-bottom: 44px; }
.footer-grid h4 { color: var(--white); font-size: 0.95rem; margin-bottom: 18px; }
.footer-grid ul li { margin-bottom: 10px; }
.footer-grid a { font-size: 0.88rem; color: #a9c0cc; transition: color 0.2s; }
.footer-grid a:hover { color: var(--amber-light); }
.footer-brand p { font-size: 0.88rem; color: #8ba1ab; max-width: 280px; }
.social-row { display: flex; gap: 10px; margin-top: 16px; }
.social-row a {
  width: 36px; height: 36px; border-radius: 8px; background: rgba(255,255,255,0.06);
  display: flex; align-items: center; justify-content: center; transition: background 0.2s;
}
.social-row a:hover { background: var(--amber); color: var(--navy-dark); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08); padding-top: 22px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: 0.8rem; color: #7c8f99;
}

/* ---------- Back to top ---------- */
.back-to-top {
  position: fixed; bottom: 26px; right: 26px; width: 48px; height: 48px; border-radius: 50%;
  background: var(--amber); color: var(--navy-dark); display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-md); cursor: pointer; opacity: 0; pointer-events: none;
  transition: opacity 0.3s, transform 0.3s; z-index: 90; font-size: 1.1rem; font-weight: 700;
}
.back-to-top.show { opacity: 1; pointer-events: auto; }
.back-to-top:hover { transform: translateY(-3px); }

/* ---------- Sticky mobile call bar ---------- */
.mobile-call-bar {
  display: none;
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 95;
  background: var(--navy); padding: 12px 16px; gap: 10px;
  box-shadow: 0 -6px 20px rgba(0,0,0,0.15);
}
.mobile-call-bar a {
  flex: 1; text-align: center; padding: 13px; border-radius: 10px; font-weight: 700; font-size: 0.9rem;
}
.mobile-call-bar .call { background: var(--amber); color: var(--navy-dark); }
.mobile-call-bar .email { background: rgba(255,255,255,0.1); color: var(--white); }

/* ---------- Responsive ---------- */

/* Laptops / small desktops — tighten spacing before things get cramped */
@media (max-width: 1240px) {
  .container { padding: 0 20px; }
  .cta-band { padding: 48px; }
}

@media (max-width: 1080px) {
  .header-inner { padding: 14px 20px; }
  .nav-links a { padding: 9px 12px; font-size: 0.88rem; }
  .hero-content { max-width: 560px; }
}

@media (max-width: 980px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; }
  .split img { height: 320px; }
  .footer-grid { grid-template-columns: 1fr 0.8fr 0.9fr; gap: 20px; }
  .footer-brand p { max-width: none; }
  .contact-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  section { padding: 70px 0; }
}

@media (max-width: 760px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-2 { grid-template-columns: 1fr; }
  .grid-2 [style*="border-left"] { border-left: none !important; border-top: 1px solid rgba(255,255,255,0.12); padding-left: 0 !important; padding-top: 24px; margin-top: 20px; }
  .grid-2 [style*="padding-right"] { padding-right: 0 !important; }
  .steps { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .cta-band { flex-direction: column; text-align: center; padding: 40px 26px; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .mobile-call-bar { display: flex; }
  body { padding-bottom: 76px; }
  .acc-panel-inner { padding-left: 4px; }
  .acc-trigger .acc-title { font-size: 0.92rem; gap: 10px; }
  .hero-stats { gap: 18px; flex-wrap: wrap; }
  .coming-soon-hero { padding: 46px 24px; }
  .hero-content { padding: 46px 0 70px; }
  .hero-badge-row { margin-bottom: 16px; }
  .header-cta { gap: 8px; }
  .header-inner { padding: 12px 16px; gap: 10px; }
  .header-cta .btn { padding: 10px 14px; font-size: 0.82rem; }
  /* Keep the two hero CTA buttons side-by-side instead of stacking with a gap. */
  .hero-actions { flex-wrap: nowrap; gap: 10px; }
  .hero-actions .btn { flex: 1 1 0; text-align: center; padding: 13px 10px; font-size: 0.85rem; white-space: normal; }
}

@media (max-width: 480px) {
  .gallery-grid { grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 10px; }
  section { padding: 60px 0; }
  .header-inner { padding: 12px 16px; }
  .brand { font-size: 1rem; }
  .brand .mark { width: 36px; height: 32px; }
  .brand small { font-size: 0.6rem; }
  .hero-content { padding: 70px 0 90px; }
  .hero-stats { gap: 16px; }
  .hero-stats .stat strong { font-size: 1.4rem; }
  .cta-band { padding: 30px 20px; border-radius: 16px; }
  .form-card { padding: 26px 20px; }
  .contact-info-card { padding: 26px 22px; }
  .coming-soon-hero { padding: 36px 18px; }
  .preview-chip { font-size: 0.78rem; padding: 8px 12px; }
  h1 { font-size: clamp(1.7rem, 8vw, 2.2rem); }
}

@media (max-width: 360px) {
  .gallery-grid { grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); }
  .grid-3, .grid-4, .grid-2 { grid-template-columns: 1fr; }
  .hero-stats { flex-direction: column; gap: 10px; }
}

.rating-summary-row { display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: 12px; font-size: 0.95rem; flex-wrap: wrap; text-align: center; }
.rs-line { display: flex; align-items: center; gap: 10px; }
@media (max-width: 480px) {
  .rating-summary-row { flex-direction: column; gap: 6px; }
}

/* ---------- Reviews carousel ---------- */
.no-scrollbar { scrollbar-width: none; -ms-overflow-style: none; }
.no-scrollbar::-webkit-scrollbar { display: none; }
#reviews-prev:hover, #reviews-next:hover { background: #23343a !important; color: #ffffff !important; }
@media (max-width: 760px) {
  #reviews-prev, #reviews-next { display: none; }
}

/* ---------- Cookie consent banner ---------- */
.cookie-banner {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 500;
  background: var(--navy); color: #d7e3ea;
  padding: 18px 24px; box-shadow: 0 -8px 24px rgba(0,0,0,0.18);
  transform: translateY(110%); transition: transform 0.4s var(--ease);
}
.cookie-banner.show { transform: translateY(0); }
.cookie-banner-inner {
  max-width: 1180px; margin: 0 auto;
  display: flex; align-items: center; gap: 20px; flex-wrap: wrap;
}
.cookie-banner p { margin: 0; font-size: 0.88rem; flex: 1 1 320px; color: #d7e3ea; }
.cookie-banner a { text-decoration: underline; color: var(--cyan-light); }
.cookie-banner-actions { display: flex; gap: 10px; flex-shrink: 0; }
.cookie-banner .btn { padding: 10px 20px; font-size: 0.85rem; }
@media (max-width: 480px) {
  .cookie-banner { padding: 14px 16px; }
  .cookie-banner-inner { flex-direction: column; align-items: stretch; gap: 12px; }
  .cookie-banner p { font-size: 0.8rem; line-height: 1.45; }
  .cookie-banner-actions { justify-content: stretch; gap: 8px; }
  .cookie-banner-actions .btn { flex: 1; padding: 9px 14px; font-size: 0.8rem; }
}
