/* =========================================================
   RADIANCE HVAC SERVICES — Upgraded Responsive Stylesheet
   ========================================================= */

/* ---------- Design Tokens ---------- */
:root {
  --blue:        #3182CE;
  --blue-dark:   #2B6CB0;
  --blue-darker: #1A365D;
  --cyan:        #54d1db;
  --cyan-soft:   #e0fcff;
  --orange:      #f76a0c;
  --orange-dark: #d95a00;

  --ink:         #1A202C;
  --head:        #2D3748;
  --body:        #4a5568;
  --muted:       #718096;

  --light:       #F7FAFC;
  --lighter:     #EDF2F7;
  --white:       #ffffff;
  --surface:     #ffffff;
  --bg:          #ffffff;
  --header-bg:   rgba(255,255,255,.96);

  --shadow-sm: 0 2px 8px rgba(26, 54, 93, .08);
  --shadow:    0 10px 30px rgba(26, 54, 93, .12);
  --shadow-lg: 0 20px 50px rgba(26, 54, 93, .18);

  --radius:    14px;
  --radius-sm: 10px;
  --maxw:      1200px;

  --ease: cubic-bezier(.4, 0, .2, 1);

  --font: "Segoe UI", system-ui, -apple-system, Roboto, Helvetica, Arial, sans-serif;
  --font-head: "Segoe UI", system-ui, -apple-system, Roboto, Helvetica, Arial, sans-serif;
}
/* ---------- Dark Mode ---------- */
[data-theme="dark"] {
  --blue:        #4299e1;
  --blue-dark:   #3182CE;
  --blue-darker: #1c3650;
  --cyan:        #4fd1e5;
  --cyan-soft:   #0e2a36;
  --orange:      #ff7e2d;
  --orange-dark: #f76a0c;
  --ink:         #0a0e14;
  --head:        #e6edf3;
  --body:        #a8b3c0;
  --muted:       #6b7a8a;
  --light:       #131b27;
  --lighter:     #233040;
  --white:       #1a2332;
  --surface:     #1a2332;
  --bg:          #0f1620;
  --header-bg:   rgba(18,25,38,.95);
  --shadow-sm:   0 2px 8px rgba(0,0,0,.35);
  --shadow:      0 10px 30px rgba(0,0,0,.45);
  --shadow-lg:   0 20px 50px rgba(0,0,0,.55);
}

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

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

body {
  font-family: var(--font);
  color: var(--body);
  background: var(--bg);
  line-height: 1.7;
  font-size: 17px;
  overflow-x: hidden;
}

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

a { color: var(--blue); text-decoration: none; transition: color .25s var(--ease); }
a:hover { color: var(--blue-dark); }

ul { list-style: none; }

h1, h2, h3, h4, h5 {
  font-family: var(--font-head);
  color: var(--head);
  line-height: 1.2;
  font-weight: 700;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); letter-spacing: -.02em; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); letter-spacing: -.01em; }
h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); }
h4 { font-size: 1.15rem; }

p { margin-bottom: 1rem; }

/* ---------- Layout helpers ---------- */
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 1.5rem; }

.section { padding: clamp(3.5rem, 8vw, 6rem) 0; }
.section--tight { padding: clamp(2.5rem, 5vw, 4rem) 0; }
.section--light { background: var(--light); }
.section--tint  { background: linear-gradient(180deg, var(--cyan-soft), var(--surface)); }
.section--dark  { background: var(--ink); color: #cbd5e0; }
.section--dark h2, .section--dark h3, .section--dark h4 { color: #fff; }

.eyebrow {
  display: inline-block;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: .75rem;
}
.section--dark .eyebrow { color: var(--cyan); }

.section-head { max-width: 720px; margin: 0 auto 3rem; text-align: center; }
.section-head p { color: var(--muted); font-size: 1.08rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  font-weight: 700;
  font-size: 1rem;
  padding: .85rem 1.7rem;
  border-radius: 50px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease), color .25s var(--ease);
  text-align: center;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }

.btn--primary { background: var(--orange); color: #fff; box-shadow: 0 8px 20px rgba(247, 106, 12, .35); }
.btn--primary:hover { background: var(--orange-dark); color: #fff; transform: translateY(-2px); box-shadow: 0 12px 26px rgba(247, 106, 12, .45); }

.btn--blue { background: var(--blue); color: #fff; box-shadow: 0 8px 20px rgba(49, 130, 206, .3); }
.btn--blue:hover { background: var(--blue-dark); color: #fff; transform: translateY(-2px); }

.btn--ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.6); }
.btn--ghost:hover { background: #fff; color: var(--blue-dark); transform: translateY(-2px); }

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

.btn--lg { padding: 1rem 2.1rem; font-size: 1.05rem; }

/* ---------- Top bar ---------- */
.topbar {
  background: var(--blue-darker);
  color: #e2e8f0;
  font-size: .88rem;
  padding: .5rem 0;
}
.topbar .container { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; }
.topbar a { color: #fff; display: inline-flex; align-items: center; gap: .4rem; }
.topbar a:hover { color: var(--cyan); }
.topbar .topbar__left { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.topbar .topbar__right { display: flex; gap: 1.2rem; flex-wrap: wrap; align-items: center; }
.topbar svg { width: 15px; height: 15px; fill: currentColor; }

/* ---------- Header / Nav ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--header-bg);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-sm);
  transition: box-shadow .3s var(--ease);
}
.header.scrolled { box-shadow: var(--shadow); }

.nav { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding: .65rem 0; }

.brand { display: flex; align-items: center; gap: .75rem; }
.brand__logo { width: 54px; height: 54px; border-radius: 12px; object-fit: cover; box-shadow: var(--shadow-sm); }
.brand__text { display: flex; flex-direction: column; line-height: 1.05; }
.brand__name { font-weight: 800; color: var(--head); font-size: 1.18rem; letter-spacing: -.01em; }
.brand__tag { font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--blue); font-weight: 700; }

.menu { display: flex; align-items: center; gap: .35rem; }
.menu a {
  color: var(--head);
  font-weight: 600;
  font-size: .98rem;
  padding: .55rem .9rem;
  border-radius: 8px;
  position: relative;
}
.menu a::after {
  content: "";
  position: absolute;
  left: .9rem; right: .9rem; bottom: .35rem;
  height: 2px;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s var(--ease);
}
.menu a:hover, .menu a.active { color: var(--blue); }
.menu a:hover::after, .menu a.active::after { transform: scaleX(1); }

/* ---------- Dropdown submenu ---------- */
.menu > li.has-submenu { position: relative; }
.caret {
  display: inline-block;
  margin-left: .25rem;
  font-size: .65em;
  transition: transform .25s var(--ease);
}
.has-submenu:hover > a .caret,
.has-submenu:focus-within > a .caret { transform: rotate(180deg); }

.submenu {
  position: absolute;
  top: calc(100% + 6px); left: 0;
  min-width: 290px;
  background: var(--surface);
  border: 1px solid var(--lighter);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
  padding: .5rem;
  opacity: 0; visibility: hidden;
  transform: translateY(10px);
  transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s var(--ease);
  z-index: 200;
}
.submenu::before {
  content: "";
  position: absolute;
  top: -8px; left: 0; right: 0; height: 8px;
}
.has-submenu:hover .submenu,
.has-submenu:focus-within .submenu {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.submenu a {
  display: block;
  padding: .6rem .9rem;
  border-radius: 8px;
  border-bottom: none;
  font-size: .92rem;
  font-weight: 600;
}
.submenu a::after { display: none; }
.submenu a:hover { background: var(--light); color: var(--blue); }

/* ---------- Prose / content pages ---------- */
.prose { max-width: 800px; }
.prose h2 { margin: 2rem 0 .8rem; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin: 1.6rem 0 .5rem; }
.prose p { margin-bottom: 1.1rem; color: var(--body); }
.prose p strong, .prose li strong { color: var(--head); }
.prose ul.bullets { margin: .5rem 0 1.4rem; display: grid; gap: .6rem; }
.prose ul.bullets li {
  position: relative;
  padding-left: 1.7rem;
  color: var(--body);
}
.prose ul.bullets li::before {
  content: "✓";
  position: absolute; left: 0; top: 0;
  width: 20px; height: 20px;
  background: var(--cyan-soft); color: var(--blue);
  border-radius: 50%;
  font-size: .72rem; font-weight: 800;
  display: grid; place-items: center;
}

.content-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 3rem;
  align-items: start;
}
.content-grid .content-media img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  position: sticky;
  top: 100px;
}
.content-grid + .content-grid { margin-top: 3rem; }

.callout {
  background: var(--cyan-soft);
  border-left: 4px solid var(--blue);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 1.3rem 1.5rem;
  margin: 1.8rem 0;
}
.callout p:last-child { margin-bottom: 0; }
.callout strong { color: var(--blue-dark); }

.feature-pills { display: flex; flex-wrap: wrap; gap: .7rem; margin: 1.2rem 0; }
.feature-pills .pill {
  background: var(--surface);
  border: 1px solid var(--lighter);
  border-radius: 50px;
  padding: .5rem 1.1rem;
  font-weight: 600;
  font-size: .9rem;
  color: var(--head);
  box-shadow: var(--shadow-sm);
}

.tags-list { display: grid; gap: .6rem; margin: 1rem 0 1.5rem; }
.tags-list li {
  display: flex; gap: .6rem; align-items: flex-start;
  padding: .6rem 0; border-bottom: 1px dashed var(--lighter);
  color: var(--head); font-weight: 500;
}
.tags-list li:last-child { border-bottom: none; }
.tags-list .num { flex: 0 0 auto; width: 26px; height: 26px; background: var(--blue); color: #fff; border-radius: 50%; display: grid; place-items: center; font-size: .78rem; font-weight: 800; }

/* ---------- Mission / Vision ---------- */
.mv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.mv-card {
  background: var(--surface); border: 1px solid var(--lighter); border-radius: var(--radius);
  padding: 2.5rem; box-shadow: var(--shadow-sm); position: relative; overflow: hidden;
  border-top: 4px solid var(--cyan);
}
.mv-card::before {
  content: ""; position: absolute; top: -30px; right: -30px;
  width: 120px; height: 120px; border-radius: 50%; background: var(--cyan-soft); z-index: 0;
}
.mv-card .mv-icon { position: relative; z-index: 1; width: 60px; height: 60px; border-radius: 14px; background: var(--blue); color: #fff; display: grid; place-items: center; margin-bottom: 1.2rem; }
.mv-card .mv-icon svg { width: 32px; height: 32px; fill: #fff; }
.mv-card h3 { position: relative; z-index: 1; margin-bottom: .7rem; }
.mv-card p { position: relative; z-index: 1; margin: 0; }
.mv-card .mv-label { display: inline-block; font-size: .75rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--blue); margin-bottom: .5rem; }

/* ---------- FAQ accordion ---------- */
.faq-list { max-width: 820px; margin: 0 auto; display: grid; gap: 1rem; }
.faq-item {
  background: var(--surface); border: 1px solid var(--lighter); border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm); overflow: hidden; transition: box-shadow .25s var(--ease), border-color .25s var(--ease);
}
.faq-item.open { box-shadow: var(--shadow); border-color: var(--cyan); }
.faq-q {
  width: 100%; background: none; border: none; text-align: left; cursor: pointer;
  padding: 1.3rem 1.6rem; font: inherit; font-weight: 700; font-size: 1.05rem; color: var(--head);
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.faq-q:hover { color: var(--blue); }
.faq-q .faq-icon { flex: 0 0 auto; width: 28px; height: 28px; border-radius: 50%; background: var(--cyan-soft); color: var(--blue); display: grid; place-items: center; font-size: 1.3rem; font-weight: 400; transition: transform .3s var(--ease), background .3s var(--ease), color .3s var(--ease); }
.faq-item.open .faq-q .faq-icon { transform: rotate(45deg); background: var(--blue); color: #fff; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .35s var(--ease); }
.faq-a-inner { padding: 0 1.6rem 1.4rem; color: var(--body); }

/* ---------- Blog ---------- */
.blog-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; }
.blog-card { background: var(--surface); border: 1px solid var(--lighter); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .3s var(--ease), box-shadow .3s var(--ease); display: flex; flex-direction: column; }
.blog-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.blog-card__img { aspect-ratio: 16/10; overflow: hidden; }
.blog-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.blog-card:hover .blog-card__img img { transform: scale(1.06); }
.blog-card__body { padding: 1.5rem; display: flex; flex-direction: column; flex: 1; }
.blog-card__meta { font-size: .82rem; color: var(--muted); margin-bottom: .5rem; display: flex; gap: .8rem; flex-wrap: wrap; }
.blog-card__meta .tag { background: var(--cyan-soft); color: var(--blue-dark); font-weight: 700; padding: .15rem .6rem; border-radius: 20px; }
.blog-card h3 { margin-bottom: .5rem; font-size: 1.2rem; }
.blog-card p { font-size: .95rem; color: var(--body); margin-bottom: 1rem; flex: 1; }
.blog-card__more { font-weight: 700; font-size: .92rem; color: var(--blue); }
a.blog-card { color: inherit; text-decoration: none; }
a.blog-card h3 { color: var(--head); transition: color .25s var(--ease); }
a.blog-card:hover h3 { color: var(--blue); }
a.blog-card .blog-card__more { transition: gap .25s var(--ease); }

/* ---------- Review form + list ---------- */
.star-input { display: inline-flex; flex-direction: row-reverse; justify-content: flex-end; gap: .15rem; font-size: 2rem; line-height: 1; }
.star-input input { display: none; }
.star-input label { cursor: pointer; color: var(--lighter); transition: color .15s; }
.star-input label::before { content: "★"; }
.star-input label:hover,
.star-input label:hover ~ label,
.star-input input:checked ~ label { color: var(--orange); }

.review-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 1.5rem; }
.review-card { background: var(--surface); border: 1px solid var(--lighter); border-radius: var(--radius); padding: 1.8rem; box-shadow: var(--shadow-sm); position: relative; }
.review-card .stars { color: var(--orange); margin-bottom: .6rem; font-size: 1.1rem; }
.review-card p { position: relative; z-index: 1; }
.review-card .r-author { margin-top: 1rem; font-weight: 700; color: var(--head); }
.review-card .r-author small { display: block; color: var(--muted); font-weight: 500; font-size: .82rem; }
.review-card .r-date { font-size: .78rem; color: var(--muted); }
.review-card.new { border-color: var(--cyan); animation: pop .4s var(--ease); }
@keyframes pop { from { opacity: 0; transform: scale(.96); } to { opacity: 1; transform: none; } }
.empty-state { text-align: center; color: var(--muted); padding: 2rem; }

/* Review summary + form side-by-side */
.review-top-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: stretch;
}
.review-top-grid .rating-overview { margin: 0; height: 100%; }
@media (max-width: 820px) { .review-top-grid { grid-template-columns: 1fr; } }


.nav__cta { display: flex; align-items: center; gap: 1rem; }
.nav__phone { font-weight: 800; color: var(--head); font-size: 1.05rem; display: inline-flex; align-items: center; gap: .45rem; }
.nav__phone svg { width: 18px; height: 18px; fill: var(--orange); }

/* Hamburger */
.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px; height: 44px;
  background: var(--lighter);
  border: none;
  border-radius: 10px;
  cursor: pointer;
  padding: 0 11px;
}
.burger span { display: block; height: 3px; width: 100%; background: var(--head); border-radius: 3px; transition: .3s var(--ease); }
.burger.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  color: #fff;
  overflow: hidden;
  background: var(--blue-darker);
  padding: clamp(4rem, 10vw, 8rem) 0;
}
/* Slider slides */
.hero__slides { position: absolute; inset: 0; z-index: 0; }
.hero__slide {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.08);
  transition: opacity 1.4s var(--ease), transform 6s linear;
}
.hero__slide.active { opacity: 1; transform: scale(1); }
/* Gradient overlay */
.hero__overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(120deg, rgba(26,54,93,.92), rgba(43,108,176,.78));
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: radial-gradient(circle at 80% 20%, rgba(84,209,219,.25), transparent 45%);
  pointer-events: none;
}
.hero .container { position: relative; z-index: 3; }
/* Slider dots */
.hero__dots {
  position: absolute;
  left: 0; right: 0; bottom: 1.6rem;
  z-index: 4;
  display: flex; justify-content: center; gap: .6rem;
}
.hero__dot {
  width: 12px; height: 12px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,.7);
  background: transparent;
  cursor: pointer;
  padding: 0;
  transition: background .3s var(--ease), transform .3s var(--ease);
}
.hero__dot.active { background: var(--orange); border-color: var(--orange); transform: scale(1.15); }
.hero__dot:hover { background: rgba(255,255,255,.6); }
.hero__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 3rem; align-items: center; }
.hero h1 { color: #fff; margin-bottom: 1.2rem; }
.hero h1 em { font-style: normal; color: var(--cyan); }
.hero__lead { font-size: 1.15rem; color: #e2e8f0; max-width: 560px; margin-bottom: 2rem; }
.hero__cta { display: flex; gap: 1rem; flex-wrap: wrap; }

.hero__card {
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: var(--radius);
  padding: 2rem;
  backdrop-filter: blur(8px);
  box-shadow: var(--shadow-lg);
}
.hero__card h3 { color: #fff; margin-bottom: 1.2rem; }
.hero__check { display: flex; flex-direction: column; gap: .85rem; }
.hero__check li { display: flex; align-items: flex-start; gap: .6rem; font-size: .98rem; color: #edf2f7; }
.hero__check .tick {
  flex: 0 0 auto;
  width: 22px; height: 22px;
  background: var(--orange);
  border-radius: 50%;
  display: grid; place-items: center;
  font-size: .8rem; color: #fff; font-weight: 800;
  margin-top: 2px;
}

/* ---------- Trust strip ---------- */
.trust { background: var(--surface); border-bottom: 1px solid var(--lighter); }
.trust__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  padding: 2.2rem 0;
  text-align: center;
}
.trust__num { font-size: 2.2rem; font-weight: 800; color: var(--blue); line-height: 1; }
.trust__num span { color: var(--orange); }
.trust__label { margin-top: .35rem; font-size: .9rem; color: var(--muted); font-weight: 600; }

/* ---------- Intro / split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 3.5rem; align-items: center; }
.split--rev .split__media { order: 2; }
.split__media { position: relative; }
.split__media img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; }
.split__media .badge {
  position: absolute;
  bottom: -22px; left: -22px;
  background: var(--orange);
  color: #fff;
  border-radius: var(--radius-sm);
  padding: 1rem 1.3rem;
  box-shadow: var(--shadow);
  text-align: center;
}
.split__media .badge strong { display: block; font-size: 1.8rem; line-height: 1; }
.split__media .badge small { font-size: .8rem; letter-spacing: .03em; }
.split__content h2 { margin-bottom: 1rem; }
.split__content p { color: var(--body); }

.checklist { display: grid; gap: .8rem; margin: 1.5rem 0; }
.checklist li { display: flex; align-items: flex-start; gap: .7rem; font-weight: 500; color: var(--head); }
.checklist .tick {
  flex: 0 0 auto; width: 24px; height: 24px;
  background: var(--cyan-soft); color: var(--blue);
  border-radius: 50%; display: grid; place-items: center;
  font-weight: 800; font-size: .8rem; margin-top: 2px;
}

/* ---------- Service cards ---------- */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.6rem; }
.card {
  background: var(--surface);
  border: 1px solid var(--lighter);
  border-radius: var(--radius);
  padding: 2rem 1.7rem;
  box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--cyan); }
.card__icon {
  width: 58px; height: 58px;
  border-radius: 14px;
  display: grid; place-items: center;
  margin-bottom: 1.2rem;
  background: linear-gradient(135deg, var(--cyan-soft), #fff);
  color: var(--blue);
}
.card__icon svg { width: 30px; height: 30px; }
.card h3 { margin-bottom: .5rem; }
.card p { color: var(--body); font-size: .98rem; margin-bottom: 1rem; }
.card__link { font-weight: 700; font-size: .95rem; display: inline-flex; align-items: center; gap: .35rem; }

/* ---------- Why / Guarantee ---------- */
.why { display: grid; grid-template-columns: 1fr 1fr; gap: 3.5rem; align-items: center; }
.why__img { position: relative; }
.why__img img { border-radius: var(--radius); box-shadow: var(--shadow); }
.why__seal {
  position: absolute; top: 18px; right: -10px;
  width: 150px; height: 150px;
  background: var(--surface);
  border-radius: 50%;
  display: grid; place-items: center;
  text-align: center;
  box-shadow: var(--shadow);
  transform: rotate(-8deg);
  border: 4px solid var(--cyan-soft);
}
.why__seal strong { color: var(--orange); font-size: 2rem; line-height: 1; }
.why__seal small { color: var(--head); font-weight: 700; font-size: .72rem; letter-spacing: .04em; }
.guarantee-list li { display: flex; gap: .8rem; align-items: center; padding: .7rem 0; border-bottom: 1px dashed var(--lighter); font-weight: 600; color: var(--head); }
.guarantee-list li:last-child { border-bottom: none; }
.guarantee-list .tick { width: 26px; height: 26px; flex: 0 0 auto; background: var(--blue); color: #fff; border-radius: 50%; display: grid; place-items: center; font-size: .8rem; }

/* ---------- Reviews ---------- */
.rating-overview {
  display: flex; align-items: center; justify-content: center; gap: 2rem;
  flex-wrap: wrap;
  background: var(--surface);
  border: 1px solid var(--lighter);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  margin-bottom: 2.5rem;
  max-width: 640px; margin-inline: auto;
}
.rating-score { font-size: 3.5rem; font-weight: 800; color: var(--orange); line-height: 1; }
.rating-score small { display: block; font-size: .9rem; color: var(--muted); font-weight: 600; }
.stars { display: flex; gap: 2px; color: var(--orange); font-size: 1.4rem; }
.rating-bars { flex: 1; min-width: 240px; }
.rating-bar { display: flex; align-items: center; gap: .7rem; font-size: .85rem; margin-bottom: .35rem; }
.rating-bar span { width: 70px; color: var(--muted); }
.rating-bar .track { flex: 1; height: 9px; background: var(--lighter); border-radius: 5px; overflow: hidden; }
.rating-bar .fill { height: 100%; background: linear-gradient(90deg, var(--orange), #ffb347); border-radius: 5px; }
.rating-bar b { width: 42px; text-align: right; color: var(--head); }

.reviews-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; }
.review {
  background: var(--surface); border: 1px solid var(--lighter); border-radius: var(--radius);
  padding: 1.8rem; box-shadow: var(--shadow-sm); position: relative;
}
.review::before { content: "\201C"; position: absolute; top: 6px; right: 20px; font-size: 4rem; color: var(--cyan-soft); font-family: Georgia, serif; line-height: 1; }
.review .stars { margin-bottom: .8rem; }
.review p { position: relative; z-index: 1; }
.review__author { margin-top: 1rem; font-weight: 700; color: var(--head); font-size: .95rem; }
.review__author small { display: block; color: var(--muted); font-weight: 500; }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative;
  background: linear-gradient(120deg, var(--blue-darker), var(--blue-dark));
  color: #fff;
  text-align: center;
  overflow: hidden;
}
.cta-band::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at 15% 50%, rgba(84,209,219,.3), transparent 40%),
              radial-gradient(circle at 85% 50%, rgba(247,106,12,.25), transparent 40%);
}
.cta-band .container { position: relative; z-index: 2; }
.cta-band h2 { color: #fff; }
.cta-band p { color: #cbd5e0; max-width: 600px; margin: 1rem auto 2rem; font-size: 1.1rem; }
.cta-band .phone { font-size: clamp(1.6rem, 4vw, 2.4rem); font-weight: 800; color: #fff; display: inline-flex; align-items: center; gap: .6rem; }
.cta-band .phone svg { width: 30px; height: 30px; fill: var(--cyan); }
.cta-band .phone:hover { color: var(--cyan); }

/* ---------- Gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 1rem; }
.gallery__item {
  position: relative;
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  aspect-ratio: 4 / 3;
}
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.gallery__item:hover img { transform: scale(1.08); }
.gallery__item::after {
  content: "+";
  position: absolute; inset: 0;
  background: rgba(49,130,206,.55);
  color: #fff; font-size: 2rem; font-weight: 300;
  display: grid; place-items: center;
  opacity: 0; transition: opacity .3s var(--ease);
}
.gallery__item:hover::after { opacity: 1; }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 2000;
  background: rgba(15,23,42,.92);
  display: none; place-items: center;
  padding: 2rem;
}
.lightbox.open { display: grid; }
.lightbox img { max-width: 90vw; max-height: 85vh; border-radius: 10px; box-shadow: var(--shadow-lg); }
.lightbox__close { position: absolute; top: 1.2rem; right: 1.5rem; background: none; border: none; color: #fff; font-size: 2.5rem; cursor: pointer; line-height: 1; }
.lightbox__nav { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(255,255,255,.12); border: none; color: #fff; font-size: 2rem; width: 54px; height: 54px; border-radius: 50%; cursor: pointer; display: grid; place-items: center; }
.lightbox__nav:hover { background: rgba(255,255,255,.25); }
.lightbox__prev { left: 1rem; }
.lightbox__next { right: 1rem; }

/* ---------- Maintenance benefits ---------- */
.benefits { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.6rem; }
.benefit {
  background: var(--surface); border-radius: var(--radius); padding: 2rem;
  box-shadow: var(--shadow-sm); border-top: 4px solid var(--cyan);
  transition: transform .3s var(--ease);
}
.benefit:hover { transform: translateY(-5px); }
.benefit__num { font-size: .85rem; font-weight: 800; color: var(--orange); letter-spacing: .1em; }
.benefit h3 { margin: .5rem 0 .6rem; }
.benefit p { font-size: .98rem; }

/* ---------- Sign list ---------- */
.signlist { columns: 1; }
.signlist li {
  display: flex; gap: .7rem; align-items: flex-start;
  padding: .65rem 0; font-weight: 500; color: var(--head);
  break-inside: avoid;
}
.signlist .warn { flex: 0 0 auto; width: 26px; height: 26px; background: var(--cyan-soft); color: var(--blue); border-radius: 8px; display: grid; place-items: center; font-weight: 800; margin-top: 1px; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 3rem; align-items: start; }
.form { background: var(--surface); border: 1px solid var(--lighter); border-radius: var(--radius); padding: 2.2rem; box-shadow: var(--shadow); }
.form h3 { margin-bottom: .4rem; }
.form .field { margin-bottom: 1.1rem; }
.form label { display: block; font-weight: 600; color: var(--head); margin-bottom: .35rem; font-size: .92rem; }
.form input, .form textarea {
  width: 100%; padding: .8rem 1rem; border: 1.5px solid var(--lighter);
  border-radius: 10px; font: inherit; color: var(--ink); background: var(--light);
  transition: border-color .2s, background .2s, box-shadow .2s;
}
.form input:focus, .form textarea:focus {
  outline: none; border-color: var(--blue); background: var(--surface);
  box-shadow: 0 0 0 3px rgba(49,130,206,.15);
}
.form textarea { resize: vertical; min-height: 130px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form .note { font-size: .82rem; color: var(--muted); margin-top: .25rem; }
.form-success { display: none; background: var(--cyan-soft); border: 1px solid var(--cyan); color: var(--blue-darker); padding: 1rem 1.2rem; border-radius: 10px; font-weight: 600; margin-bottom: 1.2rem; }
.form-success.show { display: block; }

.contact-info { display: flex; flex-direction: column; gap: 1.2rem; }
.info-card {
  background: var(--surface); border: 1px solid var(--lighter); border-radius: var(--radius);
  padding: 1.6rem; box-shadow: var(--shadow-sm); display: flex; gap: 1rem; align-items: flex-start;
}
.info-card__icon { width: 48px; height: 48px; flex: 0 0 auto; border-radius: 12px; background: linear-gradient(135deg, var(--blue), var(--cyan)); color: #fff; display: grid; place-items: center; }
.info-card__icon svg { width: 24px; height: 24px; fill: #fff; }
.info-card h4 { margin-bottom: .15rem; }
.info-card a { font-weight: 700; font-size: 1.05rem; color: var(--blue-dark); }
.info-card p { color: var(--muted); font-size: .9rem; margin: 0; }

/* ---------- Page banner ---------- */
.page-hero {
  background: linear-gradient(120deg, rgba(26,54,93,.92), rgba(43,108,176,.82));
  color: #fff;
  padding: clamp(3rem, 7vw, 5rem) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 80% 30%, rgba(84,209,219,.25), transparent 45%); }
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 { color: #fff; }
.page-hero p { color: #cbd5e0; max-width: 620px; margin: .8rem auto 0; }
.breadcrumb { font-size: .9rem; margin-bottom: .8rem; color: var(--cyan); }
.breadcrumb a { color: #fff; }

/* ---------- Service category list ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1rem; counter-reset: cat; }
.cat {
  background: var(--surface); border: 1px solid var(--lighter); border-radius: var(--radius-sm);
  padding: 1.4rem 1.3rem; display: flex; align-items: center; gap: 1rem;
  box-shadow: var(--shadow-sm); transition: transform .25s var(--ease), box-shadow .25s var(--ease);
  font-weight: 700; color: var(--head);
}
.cat:hover { transform: translateY(-4px); box-shadow: var(--shadow); color: var(--blue); }
.cat__num { counter-increment: cat; }
.cat__num::before { content: "0" counter(cat); font-size: 1rem; color: var(--orange); font-weight: 800; }
.cat svg { width: 22px; height: 22px; fill: var(--blue); }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: #a0aec0; padding-top: 4rem; }
.footer a { color: #cbd5e0; }
.footer a:hover { color: var(--cyan); }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 2.5rem; padding-bottom: 3rem; }
.footer__brand .brand { margin-bottom: 1rem; }
.footer__brand p { font-size: .92rem; }
.footer h4 { color: #fff; margin-bottom: 1.1rem; font-size: 1.05rem; }
.footer__links li { margin-bottom: .6rem; }
.footer__links a { font-size: .92rem; display: inline-flex; align-items: center; gap: .4rem; }
.footer__contact li { display: flex; gap: .6rem; margin-bottom: .85rem; font-size: .92rem; align-items: flex-start; }
.footer__contact svg { width: 17px; height: 17px; fill: var(--cyan); flex: 0 0 auto; margin-top: 4px; }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 1.5rem 0; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: .85rem; }
.footer__bottom a { color: var(--cyan); }
.footer__credit { color: inherit; text-decoration: none; transition: color .25s var(--ease); }
.footer__credit:hover { color: var(--cyan); }

/* ---------- Floating call button (mobile) ---------- */
.float-call {
  position: fixed; bottom: 1.2rem; right: 1.2rem; z-index: 900;
  background: var(--orange); color: #fff; width: 60px; height: 60px;
  border-radius: 50%; display: none; place-items: center;
  box-shadow: 0 10px 25px rgba(247,106,12,.5);
  animation: pulse 2s infinite;
}
.float-call svg { width: 26px; height: 26px; fill: #fff; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(247,106,12,.5); } 70% { box-shadow: 0 0 0 16px rgba(247,106,12,0); } 100% { box-shadow: 0 0 0 0 rgba(247,106,12,0); } }

/* ---------- Reveal animations ---------- */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 980px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__card { order: 2; }
  .split, .why, .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .split--rev .split__media { order: 0; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .trust__grid { grid-template-columns: 1fr 1fr; }
  .content-grid { grid-template-columns: 1fr; gap: 2rem; }
  .content-grid .content-media img { position: static; }
}

@media (max-width: 820px) {
  .menu {
    position: fixed;
    top: 0; right: 0;
    height: 100vh;
    height: 100dvh;
    width: min(82vw, 340px);
    background: var(--surface);
    flex-direction: column;
    align-items: stretch;
    padding: 5rem 1.5rem 2rem;
    gap: .25rem;
    box-shadow: -10px 0 40px rgba(0,0,0,.15);
    transform: translateX(105%);
    transition: transform .35s var(--ease);
    z-index: 1100;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  .menu.open { transform: translateX(0); }
  .menu a { padding: .9rem .6rem; border-bottom: 1px solid var(--lighter); font-size: 1.05rem; border-radius: 0; -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
  .menu a::after { display: none; }
  /* Mobile: collapsible accordion submenus */
  .submenu {
    position: static;
    opacity: 1; visibility: visible; transform: none;
    box-shadow: none; border: none;
    min-width: 0;
    max-height: 0;
    overflow: hidden;
    padding: 0;
    transition: max-height .35s var(--ease);
  }
  .has-submenu.expanded > .submenu {
    max-height: 700px;
    padding: .2rem 0 .4rem 1.1rem;
  }
  .submenu a { padding: .7rem .6rem; border-bottom: 1px solid var(--lighter); font-size: .95rem; font-weight: 600; }
  .submenu a:last-child { border-bottom: none; }
  .has-submenu > a { cursor: pointer; }
  .has-submenu > a .caret { display: inline-block; transition: transform .3s var(--ease); }
  .has-submenu.expanded > a .caret { transform: rotate(180deg); }
  .burger { display: flex; z-index: 1200; -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
  .nav__cta .nav__phone { display: none; }
  .nav__cta .btn { display: none; }
  .float-call { display: grid; }
  .topbar .topbar__left { display: none; }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  .content-grid { grid-template-columns: 1fr; gap: 2rem; }
  .content-grid .content-media img { position: static; }
  .trust__grid { grid-template-columns: 1fr 1fr; gap: 1rem; }
  .footer__grid { grid-template-columns: 1fr; }
  .form__row { grid-template-columns: 1fr; }
  .mv-grid { grid-template-columns: 1fr; }
  .content-grid { grid-template-columns: 1fr; gap: 2rem; }
  .content-grid .content-media img { position: static; }
  .hero__cta { flex-direction: column; align-items: stretch; }
  .hero__cta .btn { justify-content: center; }
  .cta-band .btn { width: 100%; justify-content: center; }
  .why__seal { width: 120px; height: 120px; }
  .split__media .badge { left: 0; }
  .topbar { font-size: .78rem; }
  .rating-overview { flex-direction: column; text-align: center; gap: 1rem; }
}

/* overlay for mobile menu */
.overlay {
  position: fixed; inset: 0; background: rgba(15,23,42,.5);
  opacity: 0; visibility: hidden; transition: .3s var(--ease); z-index: 990;
}
.overlay.open { opacity: 1; visibility: visible; }


/* =========================================================
   WEBSITE LOADER
   ========================================================= */
.loader {
  position: fixed; inset: 0; z-index: 10000;
  display: grid; place-items: center;
  background: radial-gradient(circle at center, #1a2533, #0f1620);
  transition: opacity .7s var(--ease), visibility .7s var(--ease);
}
.loader.hidden { opacity: 0; visibility: hidden; }
.loader__inner { position: relative; width: 200px; height: 200px; display: grid; place-items: center; }
.loader__logo {
  width: 86px; height: 86px; border-radius: 20px;
  position: relative; z-index: 3;
  animation: logoPulse 1.8s ease-in-out infinite;
}
@keyframes logoPulse {
  0%, 100% { transform: scale(1); filter: drop-shadow(0 0 16px rgba(84,209,219,.7)) drop-shadow(0 0 30px rgba(49,130,206,.4)); }
  50%      { transform: scale(1.1); filter: drop-shadow(0 0 28px rgba(84,209,219,.9)) drop-shadow(0 0 50px rgba(49,130,206,.6)); }
}
.loader__ring {
  position: absolute; width: 130px; height: 130px;
  border: 3px solid transparent;
  border-top-color: var(--blue); border-right-color: var(--cyan);
  border-radius: 50%;
  animation: spin 1.1s linear infinite;
}
.loader__ring--2 {
  width: 165px; height: 165px;
  border-top-color: var(--cyan); border-right-color: var(--blue); border-left-color: transparent;
  animation: spin 1.7s linear infinite reverse;
  opacity: .45;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* Sparkling particles */
.loader__spark {
  position: absolute; border-radius: 50%;
  pointer-events: none;
  animation: spark var(--dur,2s) ease-in-out infinite;
  animation-delay: var(--delay,0s);
}
@keyframes spark {
  0%, 100% { opacity: 0; transform: translate(0,0) scale(.3); }
  40%      { opacity: 1; }
  50%      { opacity: 1; transform: translate(var(--dx), var(--dy)) scale(1.2); }
}
.loader__glow {
  position: absolute; width: 240px; height: 240px; border-radius: 50%;
  background: radial-gradient(circle, rgba(49,130,206,.18), transparent 65%);
  animation: glowPulse 3s ease-in-out infinite;
}
@keyframes glowPulse { 0%,100% { opacity: .6; transform: scale(1); } 50% { opacity: 1; transform: scale(1.12); } }

/* =========================================================
   THEME TOGGLE
   ========================================================= */
.theme-toggle {
  width: 40px; height: 40px; flex-shrink: 0;
  border: none; border-radius: 50%;
  background: var(--lighter); color: var(--head);
  cursor: pointer; display: grid; place-items: center;
  transition: background .3s var(--ease), transform .3s var(--ease);
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}
.theme-toggle:hover { transform: rotate(20deg) scale(1.1); background: var(--cyan-soft); color: var(--blue); }
.theme-toggle svg { width: 20px; height: 20px; }
.theme-toggle .icon-sun { display: none; }
[data-theme="dark"] .theme-toggle .icon-sun { display: block; }
[data-theme="dark"] .theme-toggle .icon-moon { display: none; }

/* Dark-mode tweaks for elements with hardcoded white text on color */
[data-theme="dark"] .section--dark { background: #06090d; }
[data-theme="dark"] .nav__phone { color: var(--head); }
[data-theme="dark"] .brand__name { color: var(--head) !important; }

@media (prefers-reduced-motion: reduce) {
  .loader__logo, .loader__ring, .loader__ring--2, .loader__spark, .loader__glow { animation: none; }
}
