/*
Theme Name: TradeKit Electrician
Theme URI: https://getelectrician.sg
Author: TradeKit Engineering Team
Author URI: https://tradekit.sg
Description: Production-ready, classic PHP WordPress theme powering Singapore trade-service websites (getelectrician.sg, getplumber.sg, gethandyman.sg) from a single unified codebase.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: tradekit-electrician
Tags: one-column, two-columns, custom-menu, featured-images, theme-options, translation-ready
*/

/* ==========================================================================
   1. CSS CUSTOM PROPERTIES & DESIGN TOKENS
   ========================================================================== */
:root {
  --accent: #C8102E;
  --accent-dark: #A50D25;

  /* Aliases for reference parity */
  --red: var(--accent);
  --red-dark: var(--accent-dark);

  --ink: #1c1f24;
  --ink-soft: #5c626c;
  --ink-mute: #7b818b;

  --paper: #ffffff;
  --grey: #f3f4f6;
  --grey-2: #eceef1;
  --line: #e3e5e9;

  --charcoal: #2b2f36;
  --charcoal-soft: #c9ccd1;

  --wa: #22c35e;

  --word: "Roboto Slab", Georgia, serif;
  --head: "Poppins", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --body: "Mulish", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  --maxw: 1120px;
}

:root[data-theme="dark"] {
  --paper: #ffffff;
}

/* ==========================================================================
   2. RESET & BASE ELEMENTS
   ========================================================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  padding-bottom: 76px;
}

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

a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}

a:hover {
  text-decoration: underline;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--head);
  margin: 0;
  line-height: 1.18;
  color: var(--ink);
}

p {
  margin: 0 0 1.25em;
}

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

ul, ol {
  margin: 0 0 1.25em;
  padding-left: 1.5em;
}

.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 22px;
}

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}

/* Accessibility skip link */
.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  background: var(--charcoal);
  color: #fff;
  padding: 12px 18px;
  z-index: 9999;
  font-family: var(--head);
  font-weight: 600;
  border-radius: 3px;
  text-decoration: none;
}

.skip-link:focus {
  top: 16px;
}

/* ==========================================================================
   3. TYPOGRAPHY & BUTTONS
   ========================================================================== */
.eyebrow {
  font-family: var(--head);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--accent);
  display: block;
  margin-bottom: 8px;
}

.eyebrow.dim {
  color: var(--ink-mute);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-family: var(--head);
  font-weight: 600;
  font-size: 1rem;
  padding: 15px 26px;
  border-radius: 3px;
  border: 1.5px solid transparent;
  cursor: pointer;
  text-decoration: none;
  min-height: 48px;
}

.btn:hover {
  text-decoration: none;
}

.btn-red,
.btn-accent {
  background: var(--accent);
  color: #fff;
}

.btn-red:hover,
.btn-accent:hover {
  background: var(--accent-dark);
  color: #fff;
}

.btn-out {
  background: #fff;
  color: var(--ink);
  border-color: var(--line);
}

.btn-out:hover {
  border-color: var(--ink-soft);
  color: var(--ink);
}

.btn-ghost-light {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.55);
}

.btn-ghost-light:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

/* ==========================================================================
   4. STICKY HEADER & NAVIGATION
   ========================================================================== */
header.site {
  position: sticky;
  top: 0;
  z-index: 40;
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.hbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 78px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 13px;
  text-decoration: none;
}

.logo:hover {
  text-decoration: none;
}

.logo .tile {
  width: 52px;
  height: 52px;
  background: var(--accent);
  border-radius: 8px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
}

.logo .tile svg {
  width: 26px;
  height: 26px;
}

.logo .word {
  font-family: var(--word);
  font-weight: 800;
  line-height: 0.94;
  color: var(--ink);
  font-size: 1.42rem;
  letter-spacing: -0.01em;
  text-transform: uppercase;
}

.logo .word small {
  display: block;
  font-size: 0.86em;
}

/* Mobile Menu Button */
.burger {
  width: 44px;
  height: 44px;
  display: grid;
  gap: 6px;
  align-content: center;
  justify-content: center;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 50;
}

.burger span {
  display: block;
  width: 26px;
  height: 2.5px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.burger[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(8.5px) rotate(45deg);
}

.burger[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.burger[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-8.5px) rotate(-45deg);
}

/* Desktop Navigation */
nav.desk {
  display: none;
  gap: 26px;
  align-items: center;
}

nav.desk a {
  color: var(--ink-soft);
  font-family: var(--head);
  font-weight: 500;
  font-size: 0.95rem;
  text-decoration: none;
}

nav.desk a:hover {
  color: var(--ink);
  text-decoration: none;
}

/* Mobile Navigation Drawer */
.mobile-nav-drawer {
  display: none;
  position: absolute;
  top: 78px;
  left: 0;
  right: 0;
  background: #fff;
  border-bottom: 2px solid var(--line);
  box-shadow: 0 16px 32px rgba(24, 28, 34, 0.12);
  padding: 20px 24px;
  z-index: 45;
}

.mobile-nav-drawer.is-active {
  display: block;
}

.mobile-nav-drawer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.mobile-nav-drawer li {
  border-bottom: 1px solid var(--line);
}

.mobile-nav-drawer li:last-child {
  border-bottom: none;
}

.mobile-nav-drawer a {
  display: block;
  padding: 14px 0;
  font-family: var(--head);
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--ink);
  text-decoration: none;
}

.mobile-nav-drawer a:hover {
  color: var(--accent);
}

@media (min-width: 900px) {
  nav.desk {
    display: flex;
  }
  .burger {
    display: none;
  }
  .mobile-nav-drawer {
    display: none !important;
  }
}

/* ==========================================================================
   5. HERO SECTION
   ========================================================================== */
.hero {
  position: relative;
  background: linear-gradient(125deg, #e4e8ee 0%, #cfd5de 55%, #b4bcc7 100%);
  min-height: 560px;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 0;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(120% 90% at 78% 40%, rgba(255, 255, 255, 0.28), transparent 60%);
  pointer-events: none;
}

.hero .wrap {
  position: relative;
  z-index: 2;
  width: 100%;
  padding-top: 46px;
  padding-bottom: 46px;
}

.hero-card {
  background: #fff;
  max-width: 560px;
  padding: 38px 34px 34px;
  border-left: 7px solid var(--accent);
  box-shadow: 0 24px 60px rgba(24, 28, 34, 0.16);
  flex: 1 1 540px;
}

.hero-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
}

.hero-photo-box {
  display: none;
  flex: 1 1 460px;
  max-width: 480px;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(24, 28, 34, 0.22);
  border: 4px solid #fff;
}

.hero-photo-box img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  display: block;
}

@media (min-width: 960px) {
  .hero-photo-box {
    display: block;
  }
}

.hero-card h1 {
  font-size: clamp(1.95rem, 6vw, 2.6rem);
  font-weight: 600;
}

.hero-card .lead {
  font-family: var(--head);
  font-weight: 500;
  font-size: clamp(1.2rem, 3.6vw, 1.5rem);
  color: var(--ink);
  margin-top: 8px;
  line-height: 1.28;
}

.hero-card p {
  color: var(--ink-soft);
  margin: 20px 0 26px;
  font-size: 1.04rem;
}

.hero-cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-cta .btn {
  flex: 1 1 auto;
}

/* ==========================================================================
   6. GENERIC SECTION STYLES
   ========================================================================== */
section {
  padding: 64px 0;
}

.sec-grey {
  background: var(--grey);
}

.sec-dark {
  background: var(--charcoal);
  color: #fff;
}

.sec-dark h2,
.sec-dark h3,
.sec-dark h4 {
  color: #fff;
}

.lede {
  color: var(--ink-soft);
  max-width: 60ch;
}

.center {
  text-align: center;
}

.center .lede {
  margin-left: auto;
  margin-right: auto;
}

/* ==========================================================================
   7. START WITH SYMPTOM & DESCRIBE ISSUE
   ========================================================================== */
.intro h2 {
  font-size: clamp(1.7rem, 5vw, 2.3rem);
  font-weight: 600;
  margin: 14px 0 18px;
  max-width: 20ch;
}

.intro p {
  color: var(--ink-soft);
  max-width: 64ch;
  font-size: 1.05rem;
}

.describe {
  margin-top: 34px;
  background: var(--grey);
  border-top: 4px solid var(--accent);
  padding: 28px 26px;
}

.describe h3 {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.describe p {
  color: var(--ink-soft);
  margin: 0 0 18px;
  max-width: 60ch;
}

.describe .row {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.describe .row a {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--head);
  font-weight: 600;
  font-size: 1.08rem;
  color: var(--accent);
  text-decoration: none;
}

.describe .row a:hover {
  text-decoration: underline;
}

.describe .row a svg {
  width: 22px;
  height: 22px;
  fill: var(--accent);
  flex: 0 0 auto;
}

/* ==========================================================================
   8. TRUST ROW
   ========================================================================== */
.trust {
  margin-top: 26px;
  border: 1px solid var(--line);
}

.trust .t {
  padding: 26px 24px;
}

.trust .t + .t {
  border-top: 1px solid var(--line);
}

.trust .t h4 {
  font-size: 1.12rem;
  font-weight: 600;
  margin-bottom: 5px;
}

.trust .t p {
  margin: 0;
  color: var(--ink-soft);
}

/* ==========================================================================
   9. CUSTOMER FEEDBACK (HONEST / AUTHENTIC)
   ========================================================================== */
.feedback {
  padding-top: 8px;
}

.feedback .fb-title {
  text-align: center;
  color: var(--accent);
  font-family: var(--head);
  font-weight: 700;
  font-size: 1.7rem;
  margin: 44px 0 22px;
}

.feedback .neutral-state {
  text-align: center;
  padding: 32px 20px;
  background: var(--grey);
  border-radius: 3px;
  color: var(--ink-soft);
  max-width: 580px;
  margin: 0 auto;
}

.feedback .reviews {
  display: grid;
  gap: 18px;
  margin-top: 26px;
}

.feedback .review {
  background: var(--grey);
  padding: 26px 24px;
}

.feedback .stars {
  color: var(--accent);
  letter-spacing: 5px;
  font-size: 1.35rem;
  text-align: center;
}

.feedback .review .stars {
  text-align: left;
  font-size: 1.05rem;
  letter-spacing: 3px;
  margin-bottom: 12px;
}

.feedback .review p {
  margin: 0 0 14px;
  font-size: 1.02rem;
}

.feedback .review .who {
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.feedback .review .who b {
  color: var(--ink);
  font-family: var(--head);
  font-weight: 600;
}

/* ==========================================================================
   10. PROCESS STEPS
   ========================================================================== */
.steps {
  display: grid;
  gap: 20px;
  margin-top: 38px;
}

.step {
  background: #fff;
  border: 1px solid var(--line);
  padding: 30px 28px;
  box-shadow: 0 2px 4px rgba(24, 28, 34, 0.04);
}

.step .num {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-family: var(--head);
  font-weight: 700;
  font-size: 1.15rem;
  display: grid;
  place-items: center;
  margin-bottom: 22px;
}

.step h3 {
  font-size: 1.35rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.step p {
  margin: 0;
  color: var(--ink-soft);
}

.notes {
  display: grid;
  gap: 18px;
  margin-top: 24px;
}

.note {
  background: #fff;
  border: 1px solid var(--line);
  padding: 26px 24px;
}

.note h4 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.note p {
  margin: 0;
  color: var(--ink-soft);
}

/* ==========================================================================
   11. AUTHORITY (DARK CHARCOAL BAND)
   ========================================================================== */
.auth h2 {
  font-size: clamp(1.6rem, 5vw, 2.15rem);
  font-weight: 600;
  margin-bottom: 18px;
}

.auth p {
  color: #d7dade;
  max-width: 64ch;
  font-size: 1.05rem;
}

.auth a {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.auth .btn {
  margin-top: 26px;
}

/* ==========================================================================
   12. FIND THE RIGHT SERVICE SECTION
   ========================================================================== */
.stats {
  display: grid;
  gap: 12px;
  margin: 30px 0 26px;
}

.stat {
  background: #fff;
  border-left: 4px solid var(--accent);
  padding: 16px 20px;
  text-align: center;
  font-family: var(--head);
  font-weight: 600;
  color: var(--ink);
  font-size: 1.05rem;
  box-shadow: 0 1px 2px rgba(24, 28, 34, 0.05);
}

.chips {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 30px;
}

.chips a {
  display: block;
  text-align: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 13px 10px;
  font-family: var(--head);
  font-weight: 600;
  font-size: 0.98rem;
  color: var(--ink);
  text-decoration: none;
}

.chips a:hover {
  border-color: var(--accent);
  text-decoration: none;
  color: var(--accent);
}

.feat {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.fcard {
  background: #fff;
  border: 1px solid var(--line);
  padding: 16px 16px 18px;
  box-shadow: 0 1px 3px rgba(24, 28, 34, 0.05);
  text-align: center;
  text-decoration: none;
  display: block;
  color: var(--ink);
}

.fcard:hover {
  border-color: var(--accent);
  text-decoration: none;
}

.fcard .circle {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle at 40% 35%, #f4f6f8, #d9dee4);
  display: grid;
  place-items: center;
  margin-bottom: 14px;
}

.fcard .circle svg {
  width: 46%;
  height: 46%;
  stroke: var(--accent);
  stroke-width: 2;
  opacity: 0.85;
}

.fcard b {
  font-family: var(--head);
  font-weight: 600;
  font-size: 1.08rem;
  color: var(--ink);
  display: block;
}

/* ==========================================================================
   13. CATEGORY SECTIONS & SERVICE CARDS
   ========================================================================== */
.catsec {
  margin-top: 52px;
  scroll-margin-top: 90px;
}

.catsec:first-of-type {
  margin-top: 44px;
}

.cat-h {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 6px;
}

.cat-h::before {
  content: "";
  width: 34px;
  height: 4px;
  background: var(--accent);
  flex: 0 0 auto;
}

.cat-h h3 {
  font-size: clamp(1.5rem, 4.4vw, 1.9rem);
  font-weight: 600;
}

.cat-sub {
  color: var(--ink-soft);
  margin: 0 0 22px;
}

.cards {
  display: grid;
  gap: 18px;
}

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-top: 4px solid var(--accent);
  padding: 26px 24px;
  box-shadow: 0 2px 5px rgba(24, 28, 34, 0.05);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(24, 28, 34, 0.1);
}

.card-thumb {
  margin: -26px -24px 18px -24px;
  height: 160px;
  overflow: hidden;
  background: var(--grey-2);
}

.card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.card:hover .card-thumb img {
  transform: scale(1.05);
}

.card h4 {
  font-size: 1.28rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.card h4 a {
  color: var(--ink);
  text-decoration: none;
}

.card h4 a:hover {
  color: var(--accent);
}

.card p {
  margin: 0 0 18px;
  color: var(--ink-soft);
  flex-grow: 1;
}

.view {
  font-family: var(--head);
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 9px;
  text-decoration: none;
}

.view:hover {
  text-decoration: underline;
}

.view .ph-tag {
  color: var(--ink-mute);
}

/* ==========================================================================
   14. BROWSE ALL SERVICES (DARK SECTION)
   ========================================================================== */
.browse h2 {
  font-size: clamp(1.6rem, 5vw, 2.15rem);
  font-weight: 600;
  margin-bottom: 14px;
}

.browse > .wrap > p {
  color: #c9ccd1;
  max-width: 60ch;
  margin: 0 0 30px;
}

.bgroup {
  border-top: 1px solid #3c414a;
  padding-top: 26px;
  margin-top: 26px;
}

.bgroup:first-of-type {
  border-top: none;
  margin-top: 0;
  padding-top: 0;
}

.bgroup h4 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: #fff;
}

.blist a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 2px;
  color: #e7e9ec;
  border-bottom: 1px solid #3c414a;
  font-size: 1rem;
  text-decoration: none;
}

.blist a:hover {
  color: #fff;
  text-decoration: none;
}

.blist a .arw {
  color: var(--accent);
  font-weight: 700;
}

.pricing-link {
  display: inline-block;
  margin-top: 28px;
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
  font-family: var(--head);
  font-weight: 600;
  font-size: 1.05rem;
}

/* ==========================================================================
   15. FOOTER (DARK SECTION)
   ========================================================================== */
footer.site {
  background: var(--charcoal);
  color: #c9ccd1;
  padding: 52px 0 26px;
}

footer.site h5 {
  font-family: var(--head);
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #fff;
  font-size: 0.98rem;
  margin: 0 0 16px;
}

.fcol {
  margin-bottom: 38px;
}

.fcol p {
  margin: 0 0 14px;
  color: #c2c6cc;
}

.fcol .flinks a {
  display: block;
  color: var(--accent);
  margin-bottom: 8px;
  text-decoration: none;
}

.fcol .flinks a:hover {
  text-decoration: underline;
}

.fcol .contact b {
  color: #fff;
  font-family: var(--head);
}

.fcol .contact a {
  color: var(--accent);
  text-decoration: none;
}

.fcol .contact a:hover {
  text-decoration: underline;
}

.socials {
  display: flex;
  gap: 18px;
  margin: 26px 0;
}

.socials a {
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  text-decoration: none;
}

.socials svg {
  width: 22px;
  height: 22px;
  fill: #8a9098;
  transition: fill 0.2s ease;
}

.socials a:hover svg {
  fill: #fff;
}

.foot-bottom {
  border-top: 1px solid #3c414a;
  padding-top: 22px;
  font-size: 0.9rem;
  color: #9a9fa7;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  justify-content: space-between;
}

/* ==========================================================================
   16. FLOATING WHATSAPP CTA
   ========================================================================== */
.wa-float {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 60;
  display: inline-flex;
  align-items: center;
  gap: 11px;
  background: var(--wa);
  color: #fff;
  font-family: var(--head);
  font-weight: 600;
  font-size: 1.05rem;
  padding: 13px 22px 13px 18px;
  border-radius: 999px;
  box-shadow: 0 10px 28px rgba(20, 120, 60, 0.4);
  text-decoration: none;
  transition: transform 0.15s ease, filter 0.15s ease;
}

.wa-float:hover {
  text-decoration: none;
  filter: brightness(1.05);
  transform: translateY(-2px);
  color: #fff;
}

.wa-float svg {
  width: 26px;
  height: 26px;
  fill: #fff;
  flex: 0 0 auto;
}

/* ==========================================================================
   17. INTERNAL TEMPLATES (SINGLE SERVICE, ARCHIVES, PAGES, 404)
   ========================================================================== */
/* Breadcrumbs */
.breadcrumbs {
  padding-top: 18px;
  padding-bottom: 18px;
  font-size: 0.92rem;
  color: var(--ink-mute);
}

.breadcrumbs ol {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.breadcrumbs li {
  display: inline-flex;
  align-items: center;
}

.breadcrumbs a {
  color: var(--ink-soft);
  text-decoration: none;
}

.breadcrumbs a:hover {
  color: var(--accent);
}

.breadcrumbs .sep {
  color: var(--line);
  margin: 0 4px;
}

/* Single Service Banner */
.service-hero {
  background: var(--grey);
  border-bottom: 1px solid var(--line);
  padding: 44px 0;
}

.service-hero .wrap {
  position: relative;
}

.service-hero h1 {
  font-size: clamp(2rem, 5vw, 2.8rem);
  font-weight: 700;
  margin-bottom: 12px;
}

.service-hero .service-excerpt {
  font-size: 1.15rem;
  color: var(--ink-soft);
  max-width: 65ch;
  line-height: 1.5;
}

/* Service Article Content */
.service-content-wrap {
  display: grid;
  gap: 40px;
  padding: 52px 0;
}

.service-main {
  font-size: 1.06rem;
  line-height: 1.7;
}

.service-main h2 {
  font-size: 1.6rem;
  margin: 36px 0 16px;
  border-bottom: 2px solid var(--grey-2);
  padding-bottom: 8px;
}

.service-main h3 {
  font-size: 1.3rem;
  margin: 28px 0 12px;
}

.service-sidebar {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.sidebar-box {
  background: var(--grey);
  border: 1px solid var(--line);
  border-top: 4px solid var(--accent);
  padding: 26px 22px;
}

.sidebar-box h4 {
  font-size: 1.15rem;
  margin-bottom: 10px;
}

.sidebar-box p {
  color: var(--ink-soft);
  font-size: 0.96rem;
  margin-bottom: 16px;
}

/* 404 & Empty States */
.error-404-wrap {
  padding: 80px 0;
  text-align: center;
}

.error-404-wrap h1 {
  font-size: clamp(3rem, 10vw, 5rem);
  color: var(--accent);
  margin-bottom: 16px;
}

.error-404-wrap p {
  font-size: 1.2rem;
  color: var(--ink-soft);
  max-width: 50ch;
  margin: 0 auto 32px;
}

/* Search Box */
.search-form {
  display: flex;
  gap: 8px;
  max-width: 500px;
  margin: 20px 0;
}

.search-form input[type="search"] {
  flex: 1;
  padding: 12px 16px;
  border: 1.5px solid var(--line);
  border-radius: 3px;
  font-family: var(--body);
  font-size: 1rem;
}

.search-form input[type="search"]:focus {
  border-color: var(--accent);
  outline: none;
}

.search-form button {
  background: var(--accent);
  color: #fff;
  border: none;
  padding: 12px 24px;
  font-family: var(--head);
  font-weight: 600;
  border-radius: 3px;
  cursor: pointer;
}

/* ==========================================================================
   18. RESPONSIVE BREAKPOINTS & LAYOUT REFINEMENTS
   ========================================================================== */
@media (min-width: 760px) {
  .describe .row {
    flex-direction: row;
    gap: 34px;
  }

  .trust {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
  }

  .trust .t + .t {
    border-top: none;
    border-left: 1px solid var(--line);
  }

  .feedback .reviews {
    grid-template-columns: 1fr 1fr;
  }

  .steps {
    grid-template-columns: 1fr 1fr;
  }

  .notes {
    grid-template-columns: 1fr 1fr;
  }

  .cards {
    grid-template-columns: 1fr 1fr;
  }

  .stats {
    grid-template-columns: repeat(3, 1fr);
  }

  .service-content-wrap {
    grid-template-columns: 2fr 1fr;
  }
}

@media (min-width: 1000px) {
  .steps {
    grid-template-columns: repeat(4, 1fr);
  }

  .feat {
    grid-template-columns: repeat(4, 1fr);
  }

  .cards {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr 1fr 1.1fr;
    gap: 36px;
  }

  .footer-grid .fcol {
    margin-bottom: 0;
  }
}

/* ==========================================================================
   19. MULTI-PAGE WEBSITE TEMPLATES (Pricing, Products, Blog, Contact)
   ========================================================================== */
.nav-cta-btn {
  transition: all 0.2s ease;
}
.nav-cta-btn:hover {
  filter: brightness(1.1);
  transform: translateY(-1px);
}

.price-row-item {
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.price-row-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
}

.product-card {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.product-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}

.blog-card {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.blog-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}

