/* =====================================================
   Knox Epoxy Pros — Main Stylesheet
   Mobile-first responsive design
   No frameworks, no dependencies — pure CSS

   Color Palette:
     Charcoal:  #1a1a1a  (backgrounds, headers)
     Orange:    #E87722  (accent, CTAs, highlights)
     White:     #ffffff
     Light BG:  #f5f5f5  (alternating sections)
     Text:      #444444  (body copy)

   Fonts: Oswald (headings) | Source Sans 3 (body)
   Loaded via Google Fonts in HTML <head>
===================================================== */

/* ---- 1. CSS CUSTOM PROPERTIES (variables) --------- */
:root {
  --charcoal:     #1a1a1a;
  --orange:       #E87722;
  --orange-dark:  #c9651a;
  --orange-light: rgba(232, 119, 34, 0.12);
  --white:        #ffffff;
  --light-bg:     #f5f5f5;
  --text-dark:    #1a1a1a;
  --text-body:    #444444;
  --text-muted:   #777777;
  --border:       #e2e2e2;
  --gold:         #f4c430;   /* star ratings */

  --font-head:    'Oswald', sans-serif;
  --font-body:    'Source Sans 3', sans-serif;

  --max-w:        1180px;
  --header-h:     72px;
  --radius:       6px;
  --shadow:       0 4px 20px rgba(0, 0, 0, 0.09);
  --shadow-lg:    0 8px 36px rgba(0, 0, 0, 0.15);
  --transition:   0.25s ease;
}

/* ---- 2. RESET & BASE ------------------------------ */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  color: var(--text-body);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

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

ul, ol {
  list-style: none;
}

/* ---- 3. TYPOGRAPHY -------------------------------- */
h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.15;
  color: var(--text-dark);
}

/* clamp() scales font size fluidly between min and max viewport widths */
h1 { font-size: clamp(2rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.5rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.75rem); }
h4 { font-size: 1.15rem; font-weight: 600; }

p  { margin-bottom: 1rem; }

/* ---- 4. LAYOUT UTILITIES -------------------------- */

/* Container: centers content and adds horizontal padding */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 20px;
}

/* Standard section vertical padding */
.section {
  padding: 72px 0;
}

/* Dark section variant (charcoal background) */
.section--dark {
  background: var(--charcoal);
  color: var(--white);
}

.section--dark h2,
.section--dark h3,
.section--dark h4 {
  color: var(--white);
}

/* Light gray section variant */
.section--gray {
  background: var(--light-bg);
}

/* Section header: centered title + subtitle used across multiple sections */
.section__header {
  text-align: center;
  margin-bottom: 48px;
}

.section__header h2 {
  margin-bottom: 12px;
}

.section__header p {
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto;
  font-size: 1.05rem;
}

/* Orange accent color for inline text */
.accent {
  color: var(--orange);
}

/* ---- 5. BUTTONS ----------------------------------- */
.btn {
  display: inline-block;
  padding: 13px 26px;
  border-radius: var(--radius);
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  cursor: pointer;
  border: 2px solid transparent;
  transition:
    background  var(--transition),
    color       var(--transition),
    border-color var(--transition),
    transform   var(--transition),
    box-shadow  var(--transition);
  white-space: nowrap;
  line-height: 1.2;
}

/* Primary: solid orange */
.btn--primary {
  background: var(--orange);
  color: var(--white);
  border-color: var(--orange);
}
.btn--primary:hover {
  background: var(--orange-dark);
  border-color: var(--orange-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(232, 119, 34, 0.4);
}

/* Outline on dark backgrounds (white border) */
.btn--outline {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}
.btn--outline:hover {
  background: var(--white);
  color: var(--charcoal);
  transform: translateY(-2px);
}

/* Outline on light backgrounds (orange border) */
.btn--outline-dark {
  background: transparent;
  color: var(--orange);
  border-color: var(--orange);
}
.btn--outline-dark:hover {
  background: var(--orange);
  color: var(--white);
  transform: translateY(-2px);
}

/* Large variant */
.btn--lg {
  padding: 17px 34px;
  font-size: 1.1rem;
}

/* ---- 6. HEADER ------------------------------------ */
/* Sticky header stays visible as users scroll */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--charcoal);
  height: var(--header-h);
  display: flex;
  align-items: center;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.35);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

/* Logo */
.header__logo {
  flex-shrink: 0;
  z-index: 1;
}

.logo-text {
  font-family: var(--font-head);
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.logo-accent {
  color: var(--orange);
}

/* Desktop navigation — hidden on mobile, shown via media query */
.header__nav {
  display: none;
}

.header__nav ul {
  display: flex;
  gap: 28px;
}

.header__nav a {
  font-family: var(--font-head);
  font-size: 0.92rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #bbbbbb;
  transition: color var(--transition);
  padding: 4px 0;
  position: relative;
}

/* Underline animation on nav links */
.header__nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--orange);
  transition: width var(--transition);
}

.header__nav a:hover,
.header__nav a.active {
  color: var(--white);
}

.header__nav a:hover::after,
.header__nav a.active::after {
  width: 100%;
}

/* Phone + CTA button group — hidden on mobile */
.header__right {
  display: none;
  align-items: center;
  gap: 16px;
}

.header__phone {
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--orange);
  letter-spacing: 0.5px;
  transition: color var(--transition);
}

.header__phone:hover {
  color: var(--white);
}

/* Hamburger button (mobile only) */
.hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 6px;
  z-index: 1;
}

.hamburger span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

/* Hamburger animates into an X when open */
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; width: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile dropdown navigation */
.nav-mobile {
  display: none;  /* JS adds/removes class 'open' */
  position: fixed;
  top: var(--header-h);
  left: 0;
  right: 0;
  background: var(--charcoal);
  padding: 16px 20px 24px;
  border-top: 3px solid var(--orange);
  z-index: 999;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.nav-mobile.open {
  display: block;
}

.nav-mobile li {
  border-bottom: 1px solid #2e2e2e;
}

.nav-mobile a {
  display: block;
  padding: 14px 0;
  font-family: var(--font-head);
  font-size: 1.05rem;
  text-transform: uppercase;
  color: var(--white);
  letter-spacing: 0.5px;
  transition: color var(--transition), padding-left var(--transition);
}

.nav-mobile a:hover {
  color: var(--orange);
  padding-left: 8px;
}

.nav-mobile .btn {
  display: block;
  text-align: center;
  margin-top: 20px;
}

.nav-mobile .nav-phone {
  display: block;
  text-align: center;
  padding: 16px 0 0;
  font-family: var(--font-head);
  font-size: 1.3rem;
  color: var(--orange);
  font-weight: 700;
}

/* ---- 7. HERO -------------------------------------- */
/* Full-viewport hero with dark background overlay */
.hero {
  position: relative;
  min-height: calc(100vh - var(--header-h));
  min-height: 600px;
  display: flex;
  align-items: center;
  /* Replace this background with a real photo:
     background: url('../images/epoxy-floor-hero.jpg') center/cover no-repeat;
     Then change the ::before overlay opacity to 0.55 */
  background: #222;
  overflow: hidden;
}

/* Dark gradient overlay — simulates photo overlay until real image is added */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #111 0%, #222 50%, #1a1a1a 100%);
}

/* Subtle floor-texture pattern overlay */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(
      -45deg,
      transparent,
      transparent 60px,
      rgba(255,255,255,0.018) 60px,
      rgba(255,255,255,0.018) 120px
    );
}

/* Orange glow in upper-right — decorative depth */
.hero__glow {
  position: absolute;
  top: -80px;
  right: -60px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(232,119,34,0.18) 0%, transparent 65%);
  pointer-events: none;
  z-index: 1;
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 680px;
}

/* Small label above the H1 */
.hero__eyebrow {
  display: inline-block;
  background: var(--orange);
  color: var(--white);
  font-family: var(--font-head);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  padding: 5px 14px;
  border-radius: 3px;
  margin-bottom: 18px;
}

.hero h1 {
  color: var(--white);
  margin-bottom: 18px;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.5);
}

.hero__sub {
  color: #cccccc;
  font-size: clamp(1rem, 2vw, 1.18rem);
  margin-bottom: 32px;
  max-width: 540px;
  line-height: 1.65;
}

/* Hero CTA buttons side-by-side */
.hero__ctas {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 44px;
}

/* Three quick-trust badges below the CTAs */
.hero__badges {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.hero__badge {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #ccc;
  font-size: 0.88rem;
}

.hero__badge-icon {
  font-size: 1.1rem;
}

/* ---- 8. STATS BAR --------------------------------- */
/* Orange bar with 4 key numbers */
.stats-bar {
  background: var(--orange);
  padding: 22px 0;
}

.stats-bar__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  text-align: center;
}

.stat-item__number {
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1;
  display: block;
}

.stat-item__label {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.88);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: block;
  margin-top: 4px;
}

/* ---- 9. SERVICES GRID ----------------------------- */
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  position: relative;
  overflow: hidden;
  transition: box-shadow var(--transition), transform var(--transition), border-color var(--transition);
}

/* Orange left-border accent that appears on hover */
.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--orange);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform var(--transition);
}

.service-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
  border-color: transparent;
}

.service-card:hover::before {
  transform: scaleY(1);
}

.service-card__icon {
  font-size: 2.4rem;
  margin-bottom: 14px;
  line-height: 1;
}

.service-card__title {
  font-family: var(--font-head);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-dark);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 10px;
}

.service-card__desc {
  color: var(--text-body);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 18px;
}

.service-card__link {
  font-family: var(--font-head);
  color: var(--orange);
  font-size: 0.88rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: gap var(--transition), color var(--transition);
}

.service-card__link:hover {
  gap: 10px;
}

/* ---- 10. TRUST/WHY-US SECTION --------------------- */
.trust-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.trust-block {
  text-align: center;
  padding: 36px 20px;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid var(--border);
  transition: box-shadow var(--transition), transform var(--transition);
}

.trust-block:hover {
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.trust-block__icon {
  font-size: 2.8rem;
  margin-bottom: 14px;
  line-height: 1;
}

.trust-block__title {
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-dark);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}

.trust-block__text {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* ---- 11. SERVICE AREA ----------------------------- */
.service-area {
  background: var(--charcoal);
  padding: 72px 0;
}

.service-area h2 {
  color: var(--white);
  margin-bottom: 16px;
}

.service-area__desc {
  color: #bbbbbb;
  max-width: 600px;
  margin-bottom: 28px;
  font-size: 1.02rem;
}

/* Pill tags for each city */
.service-area__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 32px;
}

.area-tag {
  background: rgba(232, 119, 34, 0.12);
  border: 1px solid rgba(232, 119, 34, 0.5);
  color: var(--orange);
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.88rem;
  font-family: var(--font-head);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: background var(--transition), border-color var(--transition);
}

.area-tag:hover {
  background: rgba(232, 119, 34, 0.25);
  border-color: var(--orange);
}

/* ---- 12. TESTIMONIALS ----------------------------- */
.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.testimonial-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 36px 32px;
  box-shadow: var(--shadow);
  position: relative;
  border-top: 3px solid var(--orange);
}

/* Large decorative quotation mark */
.testimonial-card::before {
  content: '\201C';
  position: absolute;
  top: 8px;
  left: 24px;
  font-family: Georgia, serif;
  font-size: 5rem;
  color: var(--orange);
  opacity: 0.12;
  line-height: 1;
  pointer-events: none;
}

.testimonial-card__stars {
  color: var(--gold);
  font-size: 1rem;
  letter-spacing: 3px;
  margin-bottom: 14px;
}

.testimonial-card__text {
  color: var(--text-body);
  font-size: 0.97rem;
  font-style: italic;
  line-height: 1.75;
  margin-bottom: 22px;
}

.testimonial-card__author {
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--text-dark);
  font-size: 0.92rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: block;
}

.testimonial-card__location {
  font-size: 0.82rem;
  color: var(--text-muted);
  display: block;
  margin-top: 2px;
}

/* ---- 13. FAQ ACCORDION ---------------------------- */
.faq-wrapper {
  max-width: 800px;
  margin: 0 auto;
}

.faq__item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 10px;
  overflow: hidden;
}

/* The clickable question button */
.faq__question {
  width: 100%;
  text-align: left;
  background: var(--white);
  border: none;
  padding: 20px 24px;
  font-family: var(--font-head);
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--text-dark);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  transition: background var(--transition), color var(--transition);
  line-height: 1.3;
}

.faq__question:hover {
  background: var(--light-bg);
}

/* Dark background when FAQ is open */
.faq__question.open {
  background: var(--charcoal);
  color: var(--white);
}

/* +/× toggle icon */
.faq__toggle {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--orange);
  color: var(--white);
  font-size: 1.3rem;
  font-weight: 400;
  line-height: 26px;
  text-align: center;
  transition: transform var(--transition);
  font-style: normal;
}

.faq__question.open .faq__toggle {
  transform: rotate(45deg); /* + becomes × */
}

/* The expandable answer */
.faq__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding var(--transition);
  background: var(--light-bg);
  padding: 0 24px;
  color: var(--text-body);
  line-height: 1.7;
  font-size: 0.97rem;
  border-top: 1px solid transparent;
}

.faq__answer.open {
  max-height: 400px;
  padding: 20px 24px;
  border-top-color: var(--border);
}

/* ---- 14. CTA BANNER ------------------------------- */
.cta-banner {
  background: var(--orange);
  padding: 72px 0;
  text-align: center;
}

.cta-banner h2 {
  color: var(--white);
  margin-bottom: 12px;
}

.cta-banner p {
  color: rgba(255, 255, 255, 0.9);
  max-width: 500px;
  margin: 0 auto 28px;
  font-size: 1.05rem;
}

/* ---- 15. FOOTER ----------------------------------- */
.footer {
  background: #111111;
  color: #aaaaaa;
  padding: 60px 0 0;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid #222;
}

.footer__brand .logo-text {
  font-size: 1.3rem;
}

.footer__tagline {
  color: #666;
  font-size: 0.88rem;
  margin-top: 10px;
  max-width: 220px;
  line-height: 1.5;
}

.footer h4 {
  font-family: var(--font-head);
  color: var(--white);
  font-size: 0.88rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 18px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--orange);
  display: inline-block;
}

.footer__links li {
  margin-bottom: 9px;
}

.footer__links a {
  color: #888;
  font-size: 0.9rem;
  transition: color var(--transition), padding-left var(--transition);
  display: inline-block;
}

.footer__links a:hover {
  color: var(--orange);
  padding-left: 4px;
}

.footer__nap p {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 10px;
  color: #888;
  font-size: 0.9rem;
  line-height: 1.5;
}

.footer__nap a {
  color: var(--orange);
  transition: color var(--transition);
}

.footer__nap a:hover {
  color: var(--white);
}

.footer__areas {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 0;
}

.footer__areas span {
  font-size: 0.85rem;
  color: #777;
}

.footer__areas span::after {
  content: ',\00a0';
}

.footer__areas span:last-child::after {
  content: '';
}

.footer__bottom {
  padding: 20px 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: center;
  text-align: center;
}

.footer__bottom p {
  color: #444;
  font-size: 0.82rem;
  margin: 0;
}

.footer__bottom a {
  color: #555;
  transition: color var(--transition);
}

.footer__bottom a:hover {
  color: var(--orange);
}

/* ---- 16. PAGE HERO (inner pages) ------------------ */
/* Consistent hero for Services, Contact, About, Blog */
.page-hero {
  background: var(--charcoal);
  padding: 72px 0 56px;
  position: relative;
  overflow: hidden;
}

/* Decorative orange glow */
.page-hero::after {
  content: '';
  position: absolute;
  right: -5%;
  top: -30%;
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, rgba(232,119,34,0.1) 0%, transparent 70%);
  pointer-events: none;
}

.page-hero h1 {
  color: var(--white);
  margin-bottom: 12px;
}

.page-hero__sub {
  color: #aaaaaa;
  font-size: 1.08rem;
  max-width: 560px;
}

/* Breadcrumb navigation */
.breadcrumb {
  display: flex;
  gap: 6px;
  align-items: center;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.breadcrumb a {
  color: var(--orange);
  font-size: 0.85rem;
  transition: color var(--transition);
}

.breadcrumb a:hover {
  color: var(--white);
}

.breadcrumb__sep {
  color: #555;
  font-size: 0.85rem;
}

.breadcrumb__current {
  color: #888;
  font-size: 0.85rem;
}

/* ---- 17. SERVICES DETAIL PAGE --------------------- */
.service-detail {
  padding: 72px 0;
  border-bottom: 1px solid var(--border);
}

.service-detail:last-of-type {
  border-bottom: none;
}

.service-detail:nth-child(even) {
  background: var(--light-bg);
}

.service-detail__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}

/* Real service photos — loaded from Unsplash CDN */
.service-detail__img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;        /* crops to fill the box, never distorts */
  border-radius: var(--radius);
  display: block;
  background: #2a2a2a;      /* shown while image loads */
}

/* Kept for any remaining placeholder divs during development */
.service-detail__img-placeholder {
  width: 100%;
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, #2a2a2a 0%, #3c3c3c 100%);
  border-radius: var(--radius);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-detail__img-placeholder::after {
  content: attr(data-label);
  color: #555;
  font-size: 0.82rem;
  text-align: center;
  padding: 20px;
  line-height: 1.5;
}

/* Orange pricing badge */
.service-detail__price {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--orange-light);
  border: 1px solid rgba(232, 119, 34, 0.4);
  color: var(--orange);
  font-family: var(--font-head);
  padding: 8px 18px;
  border-radius: var(--radius);
  font-size: 1rem;
  font-weight: 700;
  margin: 14px 0 22px;
}

.service-detail h2 {
  margin-bottom: 6px;
}

.service-detail p {
  color: var(--text-body);
  margin-bottom: 16px;
}

/* Checkmark bullet list */
.check-list {
  margin-bottom: 28px;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 8px;
  color: var(--text-body);
  font-size: 0.95rem;
  line-height: 1.5;
}

.check-list li::before {
  content: '✓';
  color: var(--orange);
  font-weight: 900;
  flex-shrink: 0;
  margin-top: 1px;
}

/* ---- 18. CONTACT PAGE ----------------------------- */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: start;
}

.contact-info__item {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  margin-bottom: 28px;
}

.contact-info__icon {
  width: 46px;
  height: 46px;
  background: var(--orange);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.contact-info__text strong {
  display: block;
  font-family: var(--font-head);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
  margin-bottom: 3px;
}

.contact-info__text a {
  color: var(--orange);
  font-size: 1.15rem;
  font-weight: 700;
  font-family: var(--font-head);
  transition: color var(--transition);
}

.contact-info__text a:hover {
  color: var(--orange-dark);
}

.contact-info__text p {
  color: var(--text-body);
  margin: 0;
  font-size: 0.95rem;
}

/* Hours table */
.hours-grid {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 4px 8px;
  font-size: 0.92rem;
}

.hours-grid dt {
  font-weight: 600;
  color: var(--text-dark);
}

.hours-grid dd {
  color: var(--text-body);
}

/* Contact form card */
.contact-form-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 40px 32px;
  border-top: 4px solid var(--orange);
}

.contact-form-card h3 {
  font-size: 1.6rem;
  margin-bottom: 6px;
}

.contact-form-card > p {
  color: var(--text-muted);
  margin-bottom: 28px;
  font-size: 0.97rem;
}

/* Form fields */
.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.7px;
  color: var(--text-dark);
  margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 15px;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--text-dark);
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
  appearance: none;
  -webkit-appearance: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(232, 119, 34, 0.12);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
  line-height: 1.6;
}

/* Select arrow */
.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23777' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}

/* Two-column form row */
.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}

/* Validation error state */
.form-error {
  display: none;
  color: #d32f2f;
  font-size: 0.8rem;
  margin-top: 5px;
}

.form-group.has-error input,
.form-group.has-error select,
.form-group.has-error textarea {
  border-color: #d32f2f;
}

.form-group.has-error .form-error {
  display: block;
}

/* Success state shown after valid submission */
.form-success {
  display: none;
  background: #e8f5e9;
  border: 1px solid #66bb6a;
  color: #2e7d32;
  padding: 18px 22px;
  border-radius: var(--radius);
  margin-top: 16px;
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ---- 19. ABOUT PAGE ------------------------------- */
.about-story__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
}

.about-img-placeholder {
  width: 100%;
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, #222 0%, #333 100%);
  border-radius: var(--radius);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-img-placeholder span {
  color: #555;
  font-size: 0.82rem;
  text-align: center;
  padding: 20px;
  line-height: 1.6;
}

.about-intro-text {
  font-size: 1.1rem;
  color: var(--text-body);
  line-height: 1.75;
}

/* Numbered process steps */
.process-steps {
  counter-reset: step;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}

.process-step {
  display: flex;
  gap: 22px;
  padding: 28px 0;
  border-bottom: 1px solid var(--border);
}

.process-step:last-child {
  border-bottom: none;
}

.process-step__num {
  flex-shrink: 0;
  width: 50px;
  height: 50px;
  background: var(--orange);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-size: 1.4rem;
  font-weight: 700;
}

.process-step__title {
  font-family: var(--font-head);
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-dark);
  margin-bottom: 6px;
}

.process-step__desc {
  color: var(--text-body);
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0;
}

/* Credential cards grid */
.credentials-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.credential-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 20px;
  text-align: center;
  transition: box-shadow var(--transition);
}

.credential-card:hover {
  box-shadow: var(--shadow);
}

.credential-card__icon {
  font-size: 2.2rem;
  margin-bottom: 10px;
}

.credential-card__title {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-dark);
  text-transform: uppercase;
  margin-bottom: 4px;
}

.credential-card__detail {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.4;
}

/* ---- 20. BLOG POST -------------------------------- */
.blog-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  padding: 56px 0;
}

.blog-meta {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 16px;
}

.blog-meta span {
  color: #888;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 5px;
}

/* Blog content typography */
.blog-content h2 {
  font-size: clamp(1.35rem, 3vw, 1.9rem);
  margin: 36px 0 16px;
  padding-top: 20px;
  border-top: 2px solid var(--border);
}

.blog-content h2:first-of-type {
  border-top: none;
  margin-top: 0;
  padding-top: 0;
}

.blog-content h3 {
  font-size: 1.2rem;
  margin: 24px 0 10px;
}

.blog-content p {
  margin-bottom: 1.15rem;
  line-height: 1.8;
  color: var(--text-body);
}

.blog-content ul,
.blog-content ol {
  padding-left: 1.5rem;
  margin-bottom: 1.15rem;
}

.blog-content li {
  margin-bottom: 6px;
  line-height: 1.7;
  color: var(--text-body);
}

/* Pricing comparison table */
.price-table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  font-size: 0.95rem;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.price-table th {
  background: var(--charcoal);
  color: var(--white);
  padding: 13px 16px;
  text-align: left;
  font-family: var(--font-head);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-size: 0.88rem;
}

.price-table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  color: var(--text-body);
  line-height: 1.5;
}

.price-table tr:nth-child(even) td {
  background: var(--light-bg);
}

.price-table tr:last-child td {
  border-bottom: none;
}

.price-table td:last-child {
  font-weight: 600;
  color: var(--orange);
}

/* Call-to-action box within blog content */
.blog-cta-box {
  background: linear-gradient(135deg, var(--charcoal) 0%, #252525 100%);
  border-radius: var(--radius);
  padding: 36px;
  margin: 36px 0;
  text-align: center;
  border-left: 4px solid var(--orange);
}

.blog-cta-box h3 {
  color: var(--white);
  margin-bottom: 8px;
}

.blog-cta-box p {
  color: #aaa;
  margin-bottom: 22px;
}

/* Sidebar (hidden on mobile, shown on large screens) */
.blog-sidebar {
  display: none;
}

.sidebar-card {
  background: var(--light-bg);
  border-radius: var(--radius);
  padding: 28px;
  margin-bottom: 24px;
  border: 1px solid var(--border);
}

.sidebar-card h4 {
  font-size: 0.88rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--orange);
  color: var(--text-dark);
}

.sidebar-card ul li {
  padding: 9px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.9rem;
}

.sidebar-card ul li:last-child {
  border-bottom: none;
}

.sidebar-card ul li a {
  color: var(--text-body);
  transition: color var(--transition);
}

.sidebar-card ul li a:hover {
  color: var(--orange);
}

.sidebar-cta {
  background: var(--orange);
  border-radius: var(--radius);
  padding: 28px;
  text-align: center;
}

.sidebar-cta h4 {
  color: var(--white);
  margin-bottom: 8px;
  font-size: 1.1rem;
}

.sidebar-cta p {
  color: rgba(255,255,255,0.88);
  font-size: 0.88rem;
  margin-bottom: 16px;
}

/* ---- 21. SCROLL ANIMATION ------------------------- */
/* Elements fade up into view as they enter the viewport */
/* JS uses IntersectionObserver to add .visible class */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger delays for grid items */
.animate-on-scroll:nth-child(2) { transition-delay: 0.08s; }
.animate-on-scroll:nth-child(3) { transition-delay: 0.16s; }
.animate-on-scroll:nth-child(4) { transition-delay: 0.24s; }
.animate-on-scroll:nth-child(5) { transition-delay: 0.32s; }
.animate-on-scroll:nth-child(6) { transition-delay: 0.40s; }

/* ---- 22. MEDIA QUERIES (responsive breakpoints) --- */

/* Tablet: 600px and up */
@media (min-width: 600px) {
  .services-grid         { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid     { grid-template-columns: repeat(2, 1fr); }
  .stats-bar__grid       { grid-template-columns: repeat(4, 1fr); }
  .form-row              { grid-template-columns: 1fr 1fr; gap: 0 18px; }
  .credentials-grid      { grid-template-columns: repeat(4, 1fr); }
}

/* Desktop: 900px and up */
@media (min-width: 900px) {
  /* Show desktop header nav, hide hamburger */
  .header__nav    { display: block; }
  .header__right  { display: flex; }
  .hamburger      { display: none; }

  /* Multi-column grids */
  .services-grid      { grid-template-columns: repeat(3, 1fr); }
  .trust-grid         { grid-template-columns: repeat(4, 1fr); }
  .testimonials-grid  { grid-template-columns: repeat(3, 1fr); }
  .footer__grid       { grid-template-columns: 2fr 1fr 1fr 1fr; }

  /* Services detail: image + content side by side */
  .service-detail__grid {
    grid-template-columns: 1fr 1fr;
    gap: 64px;
  }

  /* Alternate layout: odd=image left, even=image right */
  .service-detail:nth-child(even) .service-detail__grid {
    direction: rtl;
  }
  .service-detail:nth-child(even) .service-detail__content {
    direction: ltr;
  }

  /* Contact: sidebar + form */
  .contact-layout { grid-template-columns: 1fr 2fr; }

  /* About: photo + text */
  .about-story__grid { grid-template-columns: 1fr 1fr; }

  /* Blog: content + sidebar */
  .blog-layout        { grid-template-columns: 1fr 320px; }
  .blog-sidebar       { display: block; }

  /* Footer bottom: single row */
  .footer__bottom {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}
