/*
Theme Name: Painting
Theme URI: https://example.com/painting
Author: Nesl IT
Author URI: https://example.com
Description: A basic, easy-to-customize WordPress theme for painting and home service businesses. All colors and fonts are controlled via CSS variables in :root for quick rebranding.
Version: 1.8.0
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: painting
Tags: custom-menu, featured-images, threaded-comments, translation-ready
*/

/* =========================================================
   1. CSS VARIABLES — edit these to re-theme the whole site
   ========================================================= */
:root {
  /* Brand colors (from Figma "Home Services - Home Painting") */
  --color-primary: #ec394e; /* crimson — buttons, links, accents, active nav */
  --color-primary-dark: #c82b3e; /* darker crimson — hover states */
  --color-navy: #0a2036; /* deep navy — headings & dark UI */
  --color-secondary: #0a2036; /* alias of navy for legacy references */
  --color-dark: #0a2036; /* headings */
  --color-footer: #792732; /* footer maroon */
  --color-footer-dark: #641f28; /* footer gradient end */
  --color-light: #f7f8fa; /* section backgrounds */
  --color-white: #ffffff;
  --color-text: #333333; /* body text */
  --color-text-muted: #4d5461;
  --color-border: #e5e7eb;
  --color-success: #2e7d32;
  --color-error: #c62828;

  /* Typography — Manrope */
  --font-family-base: "Manrope", "Segoe UI", Arial, Helvetica, sans-serif;
  --font-family-heading: "Manrope", "Segoe UI", Arial, Helvetica, sans-serif;
  --font-size-base: 16px;
  --line-height-base: 1.6;

  /* Type scale (Figma) */
  --fs-h1: clamp(2.5rem, 5vw + 1rem, 4rem); /* 64px */
  --fs-h2: clamp(2rem, 4vw + 0.5rem, 3.25rem); /* 52px */
  --fs-h3: clamp(1.75rem, 3vw + 0.5rem, 2.5rem); /* 40px */
  --fs-h4: 2rem; /* 32px */
  --fs-h5: 1.625rem; /* 26px */
  --fs-subtitle: 1.375rem; /* 22px */

  /* Layout */
  --container-width: 1328px;
  --spacing-unit: 1rem;
  --radius-base: 8px;
  --radius-pill: 999px;
  --transition-base: 0.2s ease-in-out;
}

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

html {
  font-size: var(--font-size-base);
}

body {
  margin: 0;
  font-family: var(--font-family-base);
  color: var(--color-text);
  line-height: var(--line-height-base);
  background-color: var(--color-white);
}

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

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color var(--transition-base);
}

a:hover,
a:focus {
  color: var(--color-secondary);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-family-heading);
  color: var(--color-dark);
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin: 0 0 0.75em;
}

h1 {
  font-size: var(--fs-h1);
}
h2 {
  font-size: var(--fs-h2);
}
h3 {
  font-size: var(--fs-h3);
}
h4 {
  font-size: var(--fs-h4);
}
h5 {
  font-size: var(--fs-h5);
}
h6 {
  font-size: var(--fs-subtitle);
}

p {
  margin: 0 0 1.25em;
}

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

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
  white-space: nowrap;
}

.screen-reader-text:focus {
  position: static;
  width: auto;
  height: auto;
  clip: auto;
}

/* =========================================================
   3. LAYOUT
   ========================================================= */
.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.content-area {
  width: 100%;
}

.site-main-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}

@media (min-width: 782px) {
  .has-sidebar .site-main-inner {
    grid-template-columns: 2fr 1fr;
  }
}

/* =========================================================
   4. HEADER
   ========================================================= */
.site-header {
  background-color: var(--color-white);
  border-bottom: 1px solid var(--color-border);
  position: sticky;
  top: 0;
  z-index: 100;
}

.site-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 90px;
  padding: 0.75rem 1rem;
}

/* Branding / logo lockup */
.site-branding {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-shrink: 0;
}

.site-logo-mark {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: block;
}

.site-branding .custom-logo {
  max-height: 52px;
  width: auto;
}

.site-title-wrap {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.site-title {
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  margin: 0;
  text-transform: uppercase;
  color: var(--color-navy);
}

.site-title a {
  color: var(--color-navy);
}

.site-title a:hover {
  color: var(--color-primary);
}

.site-description {
  margin: 0;
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

/* Primary navigation */
.header-nav-wrap {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.main-navigation ul {
  list-style: none;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem;
  margin: 0;
  padding: 0;
}

.main-navigation a {
  color: var(--color-navy);
  font-weight: 600;
  font-size: 0.95rem;
  position: relative;
  transition: color var(--transition-base);
}

.main-navigation a:hover,
.main-navigation .current-menu-item > a,
.main-navigation .current_page_item > a {
  color: var(--color-primary);
}

/* Dropdown (sub-menu) */
.main-navigation li {
  position: relative;
}

.main-navigation .menu-item-has-children > a::after {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-left: 0.4rem;
  vertical-align: middle;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  transition: transform var(--transition-base);
}

.main-navigation .sub-menu {
  position: absolute;
  top: calc(100% + 0.5rem);
  left: 0;
  min-width: 220px;
  display: block;
  gap: 0;
  margin: 0;
  padding: 0.5rem 0;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  box-shadow: 0 16px 34px rgba(10, 32, 54, 0.12);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition:
    opacity var(--transition-base),
    transform var(--transition-base),
    visibility var(--transition-base);
  z-index: 200;
}

.main-navigation .menu-item-has-children:hover > .sub-menu,
.main-navigation .menu-item-has-children:focus-within > .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.main-navigation .sub-menu li {
  width: auto;
}

.main-navigation .sub-menu a {
  display: block;
  padding: 0.6rem 1.25rem;
  font-size: 0.92rem;
  font-weight: 600;
  white-space: nowrap;
  color: var(--color-navy);
}

.main-navigation .sub-menu a:hover,
.main-navigation .sub-menu .current-menu-item > a {
  background: var(--color-light);
  color: var(--color-primary);
}

/* Header phone / call-to-action pill */
.header-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
  background-color: var(--color-white);
  color: var(--color-primary);
  border: 1.5px solid var(--color-primary);
  border-radius: var(--radius-pill);
  padding: 0.65rem 1.35rem;
  font-weight: 700;
  font-size: 0.95rem;
  white-space: nowrap;
  transition:
    background-color var(--transition-base),
    color var(--transition-base);
}

.header-cta:hover {
  background-color: var(--color-primary);
  color: var(--color-white);
}

.header-cta svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

/* Mobile menu toggle (hamburger) */
.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: var(--radius-base);
  color: var(--color-primary);
  cursor: pointer;
}

.menu-toggle:hover,
.menu-toggle:focus {
  background: transparent;
  color: var(--color-primary);
  transform: none;
}

.menu-toggle-icon,
.menu-toggle-icon::before,
.menu-toggle-icon::after {
  content: "";
  display: block;
  width: 24px;
  height: 2.5px;
  border-radius: 2px;
  background-color: currentColor;
  transition:
    transform var(--transition-base),
    opacity var(--transition-base);
}

.menu-toggle-icon {
  position: relative;
}

.menu-toggle-icon::before {
  position: absolute;
  left: 0;
  top: -7px;
}

.menu-toggle-icon::after {
  position: absolute;
  left: 0;
  top: 7px;
}

/* Animate bars into an X when open */
.menu-toggle[aria-expanded="true"] {
  background: transparent;
  color: var(--color-primary);
}

.menu-toggle[aria-expanded="true"] .menu-toggle-icon {
  background-color: transparent;
}

.menu-toggle[aria-expanded="true"] .menu-toggle-icon::before {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .menu-toggle-icon::after {
  transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 900px) {
  .site-header-inner {
    gap: 0.75rem;
  }

  /* Single top row: logo | call | hamburger */
  .site-branding {
    order: 1;
    margin-right: auto;
  }

  .header-cta {
    order: 2;
  }

  .header-nav-wrap {
    order: 3;
  }

  .menu-toggle {
    display: inline-flex;
  }

  /* Full-width dropdown panel, below the header bar */
  .main-navigation ul {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin: 0;
    padding: 0.5rem 0;
    background-color: var(--color-white);
    border-top: 1px solid var(--color-border);
    box-shadow: 0 14px 28px rgba(10, 32, 54, 0.12);
  }

  .main-navigation.toggled ul {
    display: flex;
  }

  .main-navigation li {
    width: 100%;
  }

  .main-navigation a {
    display: block;
    padding: 0.9rem 1.5rem;
    font-size: 1rem;
  }

  .main-navigation a:hover,
  .main-navigation .current-menu-item > a,
  .main-navigation .current_page_item > a {
    background-color: var(--color-light);
  }

  /* Sub-menus become static, nested items inside the mobile panel */
  .main-navigation .sub-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    min-width: 0;
    padding: 0;
    margin: 0;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }

  .main-navigation .sub-menu a {
    padding-left: 2.75rem;
    font-size: 0.95rem;
    color: var(--color-navy);
  }

  .main-navigation .menu-item-has-children > a::after {
    float: right;
    margin-top: 0.5rem;
  }
}

/* Compact tap-to-call button on small screens */
@media (max-width: 560px) {
  .header-cta {
    width: 30px;
    height: 30px;
    padding: 0;
    justify-content: center;
    display: none;
  }

  .header-cta span {
    display: none;
  }

  .header-cta svg {
    width: 18px;
    height: 18px;
  }
}

/* =========================================================
   5. FOOTER
   ========================================================= */
.site-footer {
  background: linear-gradient(
    160deg,
    var(--color-footer) 0%,
    var(--color-footer-dark) 100%
  );
  color: rgba(255, 255, 255, 0.85);
  padding: 4rem 0 0;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.85);
  transition: color var(--transition-base);
}

.site-footer a:hover {
  color: #000000;
}

.footer-logo {
  display: inline-block;
  margin-bottom: 1.25rem;
}

.footer-logo img {
  max-height: 127px;
  width: auto;
}

/* Top area: brand block + link columns */
.footer-top {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 2.5rem;
  padding-bottom: 3rem;
}

.footer-brand .site-branding {
  margin-bottom: 1.25rem;
}

.footer-brand .site-title,
.footer-brand .site-title a {
  color: var(--color-white);
}

.footer-brand .site-description {
  color: rgba(255, 255, 255, 0.7);
}

.footer-about {
  font-size: 0.95rem;
  line-height: 1.7;
  max-width: 340px;
  margin: 0 0 1.5rem;
  color: rgba(255, 255, 255, 0.8);
}

.footer-contact {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.65rem;
  font-size: 0.9rem;
}

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
}

.footer-contact svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
  flex-shrink: 0;
  margin-top: 2px;
  opacity: 0.9;
}

.footer-social {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  transition:
    background-color var(--transition-base),
    color var(--transition-base);
}

.footer-social a:hover {
  background: var(--color-primary);
  color: #fff;
}

.footer-social svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.footer-column .footer-heading {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-white);
  margin: 0 0 1.25rem;
}

.footer-column ul,
.footer-widget-area ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
  font-size: 0.92rem;
}

.footer-widgets {
  display: contents;
}

.footer-widget-area .widget-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-white);
  border: 0;
  padding: 0;
  margin: 0 0 1.25rem;
}

/* Bottom bar */
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding: 1.5rem 0;
}

.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-navigation ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin: 0;
  padding: 0;
  font-size: 0.85rem;
}

.site-info {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
}

@media (max-width: 900px) {
  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 560px) {
  .footer-top {
    grid-template-columns: 1fr;
  }

  .footer-bottom-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* =========================================================
   6. ARTICLES / CARDS
   ========================================================= */
.entry {
  margin-bottom: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--color-border);
}

.entry:last-child {
  border-bottom: none;
}

.entry-title {
  font-size: 1.75rem;
}

.entry-title a {
  color: var(--color-dark);
}

.entry-meta {
  color: var(--color-text-muted);
  font-size: 0.85rem;
  margin-bottom: 1rem;
}

.entry-meta a {
  color: var(--color-text-muted);
}

.entry-thumbnail {
  margin-bottom: 1rem;
  border-radius: var(--radius-base);
  overflow: hidden;
}

.entry-summary,
.entry-content {
  color: var(--color-text);
}

.read-more {
  display: inline-block;
  font-weight: 600;
  color: var(--color-secondary);
}

/* Single post */
.single .entry-header {
  margin-bottom: 1.5rem;
}

.entry-tags {
  margin-top: 1.5rem;
  font-size: 0.9rem;
}

/* =========================================================
   7. BUTTONS / FORMS
   ========================================================= */
.btn,
button,
input[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background-color: var(--color-primary);
  color: var(--color-white);
  border: none;
  border-radius: var(--radius-pill);
  padding: 0.8rem 1.75rem;
  font-family: var(--font-family-base);
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  transition:
    background-color var(--transition-base),
    transform var(--transition-base);
}

.btn:hover,
button:hover,
input[type="submit"]:hover {
  background-color: var(--color-primary-dark);
  color: var(--color-white);
  transform: translateY(-1px);
}

/* Outline / ghost button */
.btn-outline {
  background-color: transparent;
  color: var(--color-primary);
  border: 1.5px solid var(--color-primary);
}

.btn-outline:hover {
  background-color: var(--color-primary);
  color: var(--color-white);
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="search"],
textarea {
  width: 100%;
  padding: 0.6rem 0.8rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-base);
  font-family: var(--font-family-base);
}

/* =========================================================
   8. WIDGETS / SIDEBAR
   ========================================================= */
.widget {
  margin-bottom: 2rem;
}

.widget-title {
  font-size: 1.1rem;
  border-bottom: 2px solid var(--color-primary);
  padding-bottom: 0.5rem;
  margin-bottom: 1rem;
}

.widget ul {
  list-style: none;
  padding-left: 0;
}

.widget li {
  padding: 0.4rem 0;
  border-bottom: 1px solid var(--color-border);
}

/* =========================================================
   9. COMMENTS
   ========================================================= */
.comments-area {
  margin-top: 2.5rem;
}

.comment-list {
  list-style: none;
  padding-left: 0;
}

.comment-body {
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--color-border);
}

.comment-list .children {
  list-style: none;
  padding-left: 1.5rem;
}

.comment-author .fn {
  font-weight: 600;
  color: var(--color-dark);
}

.comment-metadata {
  font-size: 0.8rem;
  color: var(--color-text-muted);
}

/* =========================================================
   10. PAGINATION
   ========================================================= */
.pagination,
.post-navigation {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}

.pagination .page-numbers {
  display: inline-block;
  padding: 0.5rem 0.9rem;
  margin-right: 0.25rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-base);
  color: var(--color-dark);
}

.pagination .page-numbers.current {
  background-color: var(--color-primary);
  border-color: var(--color-primary);
  color: var(--color-white);
}

/* =========================================================
   11. 404 / SEARCH
   ========================================================= */
.error-404 {
  text-align: center;
  padding: 3rem 0;
}

.error-404 .page-title {
  font-size: 2.5rem;
}

.search-form {
  display: flex;
  gap: 0.5rem;
}

/* =========================================================
   12. ALIGNMENTS (core block/editor support)
   ========================================================= */
.alignleft {
  float: left;
  margin: 0.5rem 1.5rem 1rem 0;
}

.alignright {
  float: right;
  margin: 0.5rem 0 1rem 1.5rem;
}

.aligncenter {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

/* =========================================================
   13. COMING SOON PAGE
   ========================================================= */
.coming-soon-page {
  margin: 0;
}

.coming-soon-wrap {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  background-color: var(--color-light);
  background-size: cover;
  background-position: center;
}

.coming-soon-card {
  width: 100%;
  max-width: 600px;
  background-color: var(--color-white);
  border-radius: var(--radius-base);
  border-top: 4px solid var(--color-secondary);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  padding: 3rem 2.5rem;
  text-align: center;
}

.coming-soon-logo {
  margin: 0 auto 1.5rem;
}

.coming-soon-logo img {
  max-height: 70px;
  margin: 0 auto;
}

.coming-soon-sitename {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-dark);
  margin-bottom: 1rem;
}

.coming-soon-heading {
  font-size: 2rem;
}

.coming-soon-message {
  color: var(--color-text-muted);
  font-size: 1.05rem;
}

.coming-soon-message p:last-child {
  margin-bottom: 0;
}

.coming-soon-contact {
  margin: 1.5rem 0 0;
  font-weight: 600;
}

/* =========================================================
   14. LANDING PAGE TEMPLATE (Figma "Landing page UI V1")
   ========================================================= */
.landing {
  overflow: hidden;
}

.landing-ph {
  width: 100%;
  height: 100%;
  min-height: 220px;
  border-radius: 16px;
  background: linear-gradient(135deg, #eef1f5, #e2e7ee);
  position: relative;
}

.landing-ph::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(
    circle at 70% 30%,
    rgba(236, 57, 78, 0.12),
    transparent 55%
  );
}

.landing-accent-line {
  display: block;
  width: 56px;
  height: 4px;
  border-radius: 4px;
  background: var(--color-primary);
  margin: 1.25rem 0 0;
}

.landing-section-head {
  max-width: 800px;
  margin: 0 auto 2.75rem;
  text-align: center;
}

.landing-section-head h2 {
  margin: 0 0 0.75rem;
}

.landing-section-head p {
  margin: 0 auto;
  color: var(--color-text-muted);
  font-size: 1.05rem;
}

.landing-section-head .landing-accent-line {
  margin: 1.25rem auto 0;
}

/* ---- HERO ---- */
.landing-hero {
  position: relative;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}
section.landing-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: white;
  opacity: 0.35;
  z-index: 0;
}
.landing-hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  min-height: 620px;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 3rem;
  padding: 4rem 1.5rem 4.5rem;
}

.landing-hero-title {
  font-size: var(--fs-h1);
  line-height: 1.08;
  margin: 0 0 1.5rem;
  max-width: 560px;
}
.landing-hero-title .accent {
  color: var(--color-primary);
}

.landing-hero-points {
  max-width: 34rem;
  margin: 0 0 1.75rem;
}

.landing-hero-actions {
  display: flex;
}

.landing-hero-media {
  align-self: end;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 20px;
  padding: 2.25rem 2.5rem;
  box-shadow: 0 20px 50px rgba(10, 32, 54, 0.14);
}

.landing-hero-text {
  margin: 0 0 1rem;
  max-width: 30rem;
  text-align: left;
  color: var(--color-text);
  font-size: 1.05rem;
  line-height: 1.7;
}
.landing-hero-text:last-child {
  margin-bottom: 0;
}

.landing-hero-bar {
  height: 40px;
  background: linear-gradient(
    90deg,
    var(--color-primary),
    var(--color-primary-dark)
  );
}

/* ---- ESTIMATE + FORM ---- */
.landing-estimate {
  padding: 4.5rem 0;
}

.landing-estimate-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 3.5rem;
}

.landing-estimate-copy h2 {
  margin: 0 0 1.5rem;
}
.landing-estimate-copy p {
  color: var(--color-text-muted);
  font-size: 1.125rem;
  line-height: 1.75;
  margin: 0 0 1rem;
}

.landing-form-wrap {
  position: relative;
  border-radius: 20px;
}

.landing-form-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  padding: 2.25rem;
  box-shadow: 15px 10px 100px -25px #ec394e80;
}

.landing-form-title {
  margin: 0 0 0.35rem;
  font-size: 1.6rem;
}
.landing-form-subtitle {
  margin: 0 0 1.5rem;
  color: var(--color-text-muted);
  font-size: 0.95rem;
}
.landing-form .landing-field {
  margin: 0 0 1rem;
}

.landing-form input,
.landing-form select,
.landing-form textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1px solid var(--color-border);
  border-radius: 10px;
  font-family: var(--font-family-base);
  font-size: 0.95rem;
  background: #fbfcfd;
  color: var(--color-text);
}

.landing-form textarea {
  resize: vertical;
}

.landing-form input:focus,
.landing-form select:focus,
.landing-form textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(236, 57, 78, 0.12);
}

.landing-form input:not(:placeholder-shown):invalid,
.landing-form textarea:not(:placeholder-shown):invalid {
  border-color: var(--color-error);
}

.landing-phone-field {
  position: relative;
}
.landing-phone-prefix {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--color-text-muted);
  font-weight: 600;
  font-size: 0.95rem;
  pointer-events: none;
}
.landing-form .landing-phone-input {
  padding-left: 2.5rem;
}

.landing-form-submit {
  width: 100%;
  margin-top: 0.5rem;
}

.landing-form-message {
  margin-top: 1rem;
  font-size: 0.9rem;
  line-height: 1.5;
}
.landing-form-message:empty {
  display: none;
}
.landing-form-message.is-success {
  color: var(--color-success);
  font-weight: 600;
}
.landing-form-message.is-error {
  color: var(--color-error);
  font-weight: 600;
}

.pf-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* ---- SERVICES (two-column) ---- */
.landing-services {
  padding: 4.5rem 0;
}

.landing-services-inner {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 3.5rem;
  align-items: start;
}

.landing-services-copy h2 {
  margin: 0 0 1rem;
}
.landing-services-copy > p {
  color: var(--color-text-muted);
  font-size: 1.02rem;
  line-height: 1.7;
  margin: 0;
}

.landing-services-media {
  margin-top: 1.75rem;
  border-radius: 16px;
  overflow: hidden;
  position: relative;
}

.landing-services-media img,
.landing-services-media .landing-ph {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 300px;
  border-radius: 16px;
}

.landing-services-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem 3rem;
}

.landing-service-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 5px 5px 20px 5px;
  background: white;
  color: var(--color-primary);
  margin-bottom: 1.1rem;
  box-shadow: 5px 5px 20px -5px #ec394e80;
}

.landing-service-icon svg {
  width: 30px;
  height: 30px;
}
.landing-service-icon img {
  width: 30px;
  height: 30px;
  object-fit: contain;
}
.landing-service-card {
  display: flex;
  flex-direction: column;
  color: inherit;
  transition: transform var(--transition-base);
}

a.landing-service-card:hover {
  transform: translateY(-4px);
}

a.landing-service-card:hover h3 {
  color: var(--color-primary);
}

.landing-service-card h3 {
  font-size: 1.6rem;
  margin: 0 0 0.6rem;
  transition: color var(--transition-base);
}
.landing-service-card p {
  margin: 0;
  color: var(--color-text-muted);
  font-size: 1.125rem;
  line-height: 1.6;
}

/* ---- STATS BAND ---- */
.landing-stats {
  color: #fff;
  text-align: center;
}
.landing-stats-container {
  position: relative;
  padding: 3.5rem 1.5rem;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  z-index: 1;
  border-radius: 20px;
}
.landing-stats-container::before {
  content: "";
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  border-radius: 20px;
  opacity: 0.8;
  background: linear-gradient(90deg, #ec394e 0%, #86202c 100%);
  z-index: -1;
}
.landing-stats-head {
  max-width: 760px;
  margin: 0 auto 2.25rem;
}
.landing-stats-head h2 {
  color: #fff;
  margin: 0 0 0.5rem;
}
.landing-stats-head p {
  color: rgba(255, 255, 255, 0.85);
  margin: 0;
}

.landing-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.landing-stat {
  padding: 0.5rem;
}
.landing-stat-value {
  display: block;
  font-family: var(--font-family-heading);
  font-weight: 800;
  font-size: var(--fs-h3);
  line-height: 1.1;
}
.landing-stat-label {
  display: block;
  margin-top: 0.4rem;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.85);
}

/* ---- GALLERY ---- */
.landing-gallery {
  padding: 4.5rem 0;
}
.landing-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}
.landing-gallery-media {
  border-radius: 16px 16px 0px 0px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
}
.landing-gallery-media img,
.landing-gallery-media .landing-ph {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 0;
  border-radius: 16px 16px 0px 0px;
}
.landing-gallery-item figcaption {
  padding: 1rem 1.5rem;
  border: 1px solid #eef1f5;
}
.landing-gallery-title {
  display: block;
  font-weight: 700;
  font-size: 1.4rem;
  color: var(--color-navy);
}
.landing-gallery-caption {
  display: block;
  margin-top: 0.25rem;
  color: var(--color-text-muted);
  font-size: 1.125rem;
}

/* ---- TESTIMONIALS ---- */
.landing-testimonials {
  position: relative;
  padding: 4.5rem 0 5rem;
  background-color: var(--color-light);

  overflow: hidden;
}
.landing-testimonials .container {
  background-image: url(assets/images/Abstract.png);
  background-repeat: no-repeat;
  background-position: center;
  background-size: 100%;
}
.landing-testi {
  position: relative;
  max-width: 720px;
  margin: 0 auto;
}

/* Horizontal slider: the viewport clips, the track holds all slides in a row
   and translates. align-items: stretch keeps every slide equal height.
   The viewport is padded on every side so the card's drop shadow is fully
   visible, and the slides sit far apart (large gap) so off-screen cards never
   peek into that padded area. The JS translates by each slide's real offset,
   so the gap is accounted for automatically. */
.landing-testi-viewport {
  overflow: hidden;
  padding: 35px 55px 75px;
}

.landing-testi-track {
  display: flex;
  align-items: stretch;
  gap: 120px;
  transition: transform 0.45s ease;
  will-change: transform;
}

.landing-testi-card {
  flex: 0 0 100%;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--color-white);
  border-radius: 20px;
  box-shadow: 0 20px 45px rgba(236, 57, 78, 0.3);
  padding: 2.75rem 2.5rem;
  margin: 0;
  text-align: center;
}
.landing-testi-quote {
  color: var(--color-text);
  font-size: 1.1rem;
  line-height: 1.8;
  margin: 0 0 1.75rem;
}
.landing-testi-author {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.65rem;
}
.landing-testi-avatar img,
.landing-avatar-ph {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
}
.landing-avatar-ph {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--color-primary);
  color: #fff;
  font-weight: 700;
  font-size: 1.1rem;
}
.landing-testi-name {
  display: block;
  font-weight: 700;
  color: var(--color-navy);
}
.landing-testi-role {
  display: block;
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

.landing-testi-nav {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 0.25rem;
}
.landing-testi-nav button {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--color-border);
  background: #fff;
  color: var(--color-navy);
  font-size: 1.3rem;
  line-height: 1;
  padding: 0px;
  cursor: pointer;
  transition:
    background-color 0.2s,
    color 0.2s,
    border-color 0.2s;
}
.landing-testi-nav button:hover {
  background: var(--color-primary);
  color: #fff;
  border-color: var(--color-primary);
}

/* ---- NEWSLETTER ---- */
.landing-newsletter {
  padding: 0 0 4.5rem;
}
.landing-newsletter-card {
  background: linear-gradient(
    120deg,
    var(--color-primary) 0%,
    var(--color-primary-dark) 100%
  );
  color: #fff;
  border-radius: 20px;
  padding: 3.25rem 2rem;
  text-align: center;
}
.landing-newsletter-card h2 {
  color: #fff;
  margin: 0 0 0.75rem;
}
.landing-newsletter-card p {
  color: rgba(255, 255, 255, 0.9);
  max-width: 44rem;
  margin: 0 auto 1.75rem;
}
.landing-newsletter-btn {
  background: #fff;
  color: var(--color-primary);
}
.landing-newsletter-btn:hover {
  background: var(--color-navy);
  color: #fff;
}

/* ---- RESPONSIVE ---- */
@media (max-width: 992px) {
  .landing-hero-inner,
  .landing-estimate-inner,
  .landing-services-inner {
    grid-template-columns: 1fr;
    gap: 2.25rem;
  }
  .landing-hero-text {
    text-align: left;
    margin-left: 0;
  }
}

@media (max-width: 768px) {
  section.landing-hero::before {
    opacity: 0.55;
  }
  .landing-gallery-grid,
  .landing-stats-grid {
    grid-template-columns: 1fr;
  }
  .landing-hero-inner {
    min-height: auto;
    gap: 20px;
  }
  .landing-hero-media {
    padding: 1.75rem;
  }
  .landing-testi-viewport {
    padding-left: 10px;
    padding-right: 10px;
  }
  .landing-testi-card {
    box-shadow: 0 10px 25px rgba(236, 57, 78, 0.3);
  }
  .landing-testimonials {
    padding: 2rem 0rem;
  }
}

@media (max-width: 560px) {
  .landing-services-grid {
    grid-template-columns: 1fr;
  }
  .landing-hero-title {
    font-size: clamp(2.25rem, 9vw, 3rem);
  }
  .landing-testi-card {
    padding: 2rem 1.5rem;
  }
}

/* ---- BLOG / POSTS SLIDER ---- */
.landing-blog {
  padding: 4.5rem 0;
}

.landing-blog-slider {
  position: relative;
}

.landing-blog-viewport {
  overflow: hidden;
  padding: 10px 6px 40px;
}

.landing-blog-track {
  display: flex;
  gap: 30px;
  align-items: stretch;
  transition: transform 0.45s ease;
  will-change: transform;
}

.landing-post-card {
  flex: 0 0 calc((100% - 60px) / 3);
  display: flex;
  flex-direction: column;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 14px 30px rgba(10, 32, 54, 0.06);
}

.landing-post-media {
  display: block;
  aspect-ratio: 3 / 2;
  overflow: hidden;
}

.landing-post-media img,
.landing-post-media .landing-ph {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 0;
  border-radius: 0;
  transition: transform 0.4s ease;
}

.landing-post-card:hover .landing-post-media img {
  transform: scale(1.05);
}

.landing-post-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 1.5rem;
}

.landing-post-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.8rem;
  color: var(--color-text-muted);
  margin-bottom: 0.6rem;
}

.landing-post-cat {
  color: var(--color-primary);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.landing-post-cat::before {
  content: "\2022";
  margin-right: 0.75rem;
  color: var(--color-border);
}

.landing-post-title {
  font-size: 1.2rem;
  line-height: 1.3;
  margin: 0 0 0.6rem;
}

.landing-post-title a {
  color: var(--color-navy);
}

.landing-post-title a:hover {
  color: var(--color-primary);
}

.landing-post-excerpt {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0 0 1rem;
}

.landing-post-more {
  margin-top: auto;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--color-primary);
}

.landing-blog-nav {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 0.5rem;
}

.landing-blog-nav button {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--color-border);
  background: var(--color-white);
  color: var(--color-navy);
  font-size: 1.3rem;
  line-height: 1;
  cursor: pointer;
  transition:
    background-color 0.2s,
    color 0.2s,
    border-color 0.2s;
  padding: 0px;
}

.landing-blog-nav button:hover {
  background: var(--color-primary);
  color: #fff;
  border-color: var(--color-primary);
}

@media (max-width: 992px) {
  .landing-post-card {
    flex: 0 0 calc((100% - 30px) / 2);
  }
}

@media (max-width: 600px) {
  .landing-post-card {
    flex: 0 0 100%;
  }
}

/* ---- WHY TRUST US / WHY CHOOSE US (reuses .srv-why-grid) ---- */
.landing-trust-footer {
  max-width: 700px;
  margin: 2.5rem auto 0;
  text-align: center;
  color: var(--color-text-muted);
  font-weight: 600;
  line-height: 1.6;
}

/* ---- ABOUT ---- */
.landing-about .landing-section-head {
  margin-bottom: 1.75rem;
}

/* ---- GALLERY: project description + link ---- */
.landing-gallery-text {
  margin: 0.6rem 0 0;
  color: var(--color-text-muted);
  font-size: 0.9rem;
  line-height: 1.55;
}
.landing-gallery-more {
  display: inline-block;
  margin-top: 0.75rem;
}

/* ---- TESTIMONIALS: star rating ---- */
.landing-testi-stars {
  color: #f5b301;
  font-size: 1.1rem;
  letter-spacing: 2px;
  margin-bottom: 0.75rem;
}

/* ---- FEATURED GUIDES ---- */
.landing-guides {
  padding: 4.5rem 0;
}
.landing-guide-card {
  display: flex;
  flex-direction: column;
}
.landing-guide-card .srv-card-more {
  margin-top: auto;
  padding-top: 0.5rem;
}

/* ---- FINAL CTA: checklist inside the gradient card ---- */
.svc-cta-list {
  list-style: none;
  margin: 0 auto 2rem;
  padding: 0;
  max-width: 640px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem 2rem;
  text-align: left;
}
.svc-cta-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  color: rgba(255, 255, 255, 0.95);
  font-weight: 600;
  font-size: 0.95rem;
}
.svc-cta-list svg {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  margin-top: 0.2em;
  fill: #fff;
}

@media (max-width: 600px) {
  .svc-cta-list {
    grid-template-columns: 1fr;
  }
}

/* =========================================================
   15. SERVICE DETAIL TEMPLATE
   ========================================================= */
.svc {
  overflow: hidden;
}

/* ---- HERO ---- */
.svc-hero {
  position: relative;
  background:
    radial-gradient(
      circle at 85% 20%,
      rgba(236, 57, 78, 0.06),
      transparent 45%
    ),
    var(--color-light);
}

.svc-hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 3rem;
  padding: 3.5rem 1.5rem 4rem;
}

.svc-eyebrow {
  display: inline-block;
  color: var(--color-primary);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.85rem;
  margin-bottom: 1rem;
  background: rgba(236, 57, 78, 0.1);
  padding: 0.4rem 0.9rem;
  border-radius: var(--radius-pill);
}

.svc-hero-title {
  font-size: var(--fs-h1);
  line-height: 1.08;
  margin: 0 0 1.25rem;
}

.svc-hero-text {
  font-size: 1.08rem;
  line-height: 1.7;
  color: var(--color-text);
  margin: 0 0 1.75rem;
  max-width: 34rem;
}

.svc-hero-actions {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.svc-hero-phone {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  color: var(--color-primary);
  padding: 0.75rem 1.75rem;
  line-height: 1;
  border: 1px solid var(--color-primary);
  border-radius: var(--radius-pill);
}
.svc-hero-phone:hover {
  background-color: var(--color-primary);
  color: white;
}
.svc-hero-phone:hover svg {
  fill: white;
}
.svc-hero-phone svg {
  width: 16px;
  height: 16px;
  fill: var(--color-primary);
}

.svc-hero-media img,
.svc-hero-media .landing-ph {
  width: 100%;
  border-radius: 16px;
  min-height: 360px;
  object-fit: cover;
}

/* ---- VALUE ---- */
.svc-value {
  padding: 4rem 0;
}

.svc-value-inner {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
}

.svc-value-inner h2 {
  margin: 0 0 1.25rem;
}

.svc-value-inner p {
  color: var(--color-text-muted);
  font-size: 1.05rem;
  line-height: 1.8;
  margin: 0 0 1rem;
}
.svc-value-media img {
  width: 900px;
  margin: 65px auto 0px;
  max-height: 500px;
  object-fit: cover;
  box-shadow: 15px 10px 100px -25px #ec394e80;
  border-radius: 10px;
  overflow: hidden;
}

/* ---- PROCESS ---- */
.svc-process {
  padding: 4rem 0;
  background: var(--color-light);
}

.svc-process-inner {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 3rem;
  align-items: center;
}

.svc-process-media img,
.svc-process-media .landing-ph {
  width: 100%;
  border-radius: 16px;
  min-height: 380px;
  object-fit: cover;
}

.svc-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.5rem;
}

.svc-step {
  display: flex;
  gap: 1.25rem;
}

.svc-step-num {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(236, 57, 78, 0.1);
  color: var(--color-primary);
  font-weight: 800;
  font-family: var(--font-family-heading);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
}

.svc-step-body h3 {
  font-size: 1.25rem;
  margin: 0.25rem 0 0.4rem;
}
.svc-step-body p {
  margin: 0;
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* ---- FINISH OPTIONS ---- */
.svc-options {
  padding: 4rem 0;
}

.svc-options-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.svc-options-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 14px 30px rgba(10, 32, 54, 0.05);
}

.svc-options-card h3 {
  font-size: 1.3rem;
  margin: 0 0 1.1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--color-border);
}

.svc-options-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}

.svc-options-list li {
  position: relative;
  padding-left: 1.75rem;
  color: var(--color-text);
  line-height: 1.5;
}

.svc-options-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.4em;
  width: 9px;
  height: 9px;
  border-radius: 2px;
  background: var(--color-primary);
  transform: rotate(45deg);
}

/* ---- SERVICE AREAS ---- */
.svc-areas {
  padding: 4rem 0;
  background: var(--color-light);
}

.svc-areas-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.svc-area-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  padding: 1.75rem;
}

.svc-area-card h3 {
  font-size: 1.15rem;
  margin: 0 0 0.6rem;
}
.svc-area-card p {
  margin: 0;
  color: var(--color-text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ---- FAQ ---- */
.svc-faq {
  padding: 4rem 0;
}

.svc-faq-list {
  max-width: 820px;
  margin: 0 auto;
  display: grid;
  gap: 1rem;
}

.svc-faq-item {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 0 1.5rem;
}

.svc-faq-item summary {
  list-style: none;
  cursor: pointer;
  font-weight: 700;
  color: var(--color-navy);
  padding: 1.25rem 2.25rem 1.25rem 0;
  position: relative;
}

.svc-faq-item summary::-webkit-details-marker {
  display: none;
}

.svc-faq-item summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  color: var(--color-primary);
  font-size: 1.6rem;
  line-height: 1;
  font-weight: 400;
}

.svc-faq-item[open] summary {
  color: var(--color-primary);
}
.svc-faq-item[open] summary::after {
  content: "\2212";
}

.svc-faq-answer {
  padding: 0 0 1.25rem;
}
.svc-faq-answer p {
  margin: 0;
  color: var(--color-text-muted);
  line-height: 1.7;
}

/* ---- CTA ---- */
.svc-cta {
  padding: 0 0 4.5rem;
}

.svc-cta-card {
  background: linear-gradient(
    120deg,
    var(--color-primary) 0%,
    var(--color-primary-dark) 100%
  );
  color: #fff;
  border-radius: 20px;
  padding: 3.25rem 2rem;
  text-align: center;
}

.svc-cta-card h2 {
  color: #fff;
  margin: 0 0 0.75rem;
}
.svc-cta-card p {
  color: rgba(255, 255, 255, 0.9);
  max-width: 40rem;
  margin: 0 auto 1.75rem;
}

.svc-cta-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.svc-cta-btn {
  background: #fff;
  color: var(--color-primary);
}
.svc-cta-btn:hover {
  background: var(--color-navy);
  color: #fff;
}

.svc-cta-phone {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #fff;
  font-weight: 700;
}

.svc-cta-phone svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

/* ---- RESPONSIVE ---- */
@media (max-width: 992px) {
  .svc-hero-inner,
  .svc-process-inner {
    grid-template-columns: 1fr;
    gap: 2.25rem;
  }
  .svc-options-grid {
    grid-template-columns: 1fr 1fr;
  }
  .svc-areas-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 600px) {
  .svc-options-grid,
  .svc-areas-grid {
    grid-template-columns: 1fr;
  }
}

/* =========================================================
   15B. SERVICE GUIDE TEMPLATE (extends Service Detail, above)
   ========================================================= */

/* ---- HERO: highlight points + trust badges ---- */
.svc-hero-points {
  list-style: none;
  margin: 0 0 1.75rem;
  padding: 0;
  display: grid;
  gap: 0.6rem;
}
.svc-hero-points li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  color: var(--color-text);
  font-weight: 600;
  font-size: 0.98rem;
}
.svc-hero-points svg {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin-top: 0.15em;
  fill: var(--color-primary);
}

.svc-hero-badges {
  list-style: none;
  margin: 1.75rem 0 0;
  padding: 1.25rem 0 0;
  border-top: 1px solid var(--color-border);
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
}
.svc-hero-badges li {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--color-text-muted);
  font-size: 0.85rem;
  font-weight: 600;
}
.svc-hero-badges svg {
  width: 15px;
  height: 15px;
  fill: var(--color-primary);
}

/* ---- WHY CHOOSE (prose) ---- */
.svc-guide-why {
  padding: 1rem 0 4rem;
}
.svc-guide-why-inner {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
}
.svc-guide-why-inner h2 {
  margin: 0 0 1.25rem;
}
.svc-guide-why-inner p {
  color: var(--color-text-muted);
  font-size: 1.05rem;
  line-height: 1.8;
  margin: 0 0 1rem;
}
.svc-guide-why-inner p a {
  font-weight: 700;
  text-decoration: underline;
}

/* ---- WHY DIY FAILS (warning callout) ---- */
.svc-diy {
  padding: 0 0 4rem;
}
.svc-diy-card {
  max-width: 820px;
  margin: 0 auto;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-left: 4px solid var(--color-primary);
  border-radius: 16px;
  padding: 2.25rem 2.5rem;
  box-shadow: 0 14px 30px rgba(10, 32, 54, 0.05);
}
.svc-diy-card h2 {
  margin: 0 0 1rem;
  font-size: 1.6rem;
}
.svc-diy-card > p {
  color: var(--color-text-muted);
  line-height: 1.7;
  margin: 0 0 1.25rem;
}
.svc-diy-list {
  list-style: none;
  margin: 0 0 1.25rem;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}
.svc-diy-list li {
  position: relative;
  padding-left: 1.75rem;
  color: var(--color-text);
  line-height: 1.5;
}
.svc-diy-list li::before {
  content: "\2715";
  position: absolute;
  left: 0;
  top: 0.05em;
  color: var(--color-primary);
  font-weight: 700;
  font-size: 0.85rem;
}
.svc-diy-footer {
  margin: 0;
  color: var(--color-navy);
  font-weight: 600;
  line-height: 1.6;
}

/* ---- MATERIALS & FINISHES (prose) ---- */
.svc-materials {
  padding: 4rem 0;
  background: var(--color-light);
}
.svc-materials-inner {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
}
.svc-materials-inner p {
  color: var(--color-text-muted);
  font-size: 1.05rem;
  line-height: 1.8;
  margin: 0 0 1rem;
}

/* ---- TIMELINE ---- */
.svc-timeline {
  padding: 4rem 0;
}
.svc-timeline-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.75rem;
  margin-bottom: 2rem;
}
.svc-timeline-item {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  padding: 1.75rem;
  box-shadow: 0 14px 30px rgba(10, 32, 54, 0.05);
}
.svc-timeline-item .svc-step-num {
  margin-bottom: 0.9rem;
}
.svc-timeline-item h3 {
  font-size: 1.1rem;
  margin: 0 0 0.5rem;
}
.svc-timeline-item p {
  margin: 0;
  color: var(--color-text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}
.svc-timeline-footer {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
  color: var(--color-text-muted);
  line-height: 1.7;
}

/* ---- COLOR TRENDS ---- */
.svc-colors {
  padding: 4rem 0;
  background: var(--color-light);
}
.svc-colors-swatches {
  list-style: none;
  margin: 0 0 2rem;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem 2.25rem;
}
.svc-colors-swatches li {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  font-weight: 600;
  color: var(--color-navy);
  font-size: 0.9rem;
}
.svc-colors-swatch {
  display: block;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--color-border);
  box-shadow: 0 6px 16px rgba(10, 32, 54, 0.12);
}
.svc-colors-footer {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
  color: var(--color-text-muted);
  line-height: 1.7;
}
.svc-colors-footer a {
  font-weight: 700;
  text-decoration: underline;
}

/* ---- PAINT VS REPLACE TABLE ---- */
.svc-compare {
  padding: 4rem 0;
}
.svc-compare-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--color-border);
  border-radius: 16px;
  box-shadow: 0 14px 30px rgba(10, 32, 54, 0.05);
}
.svc-compare-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--color-white);
}
.svc-compare-table th,
.svc-compare-table td {
  padding: 1rem 1.5rem;
  text-align: left;
  font-size: 0.95rem;
  line-height: 1.5;
  border-bottom: 1px solid var(--color-border);
}
.svc-compare-table thead th {
  background: var(--color-navy);
  color: #fff;
  font-weight: 700;
  border-bottom: none;
}
.svc-compare-table tbody th {
  color: var(--color-navy);
  font-weight: 700;
  white-space: nowrap;
}
.svc-compare-table tbody td {
  color: var(--color-text-muted);
}
.svc-compare-table tbody tr:last-child th,
.svc-compare-table tbody tr:last-child td {
  border-bottom: none;
}
.svc-compare-table tbody tr:nth-child(even) {
  background: var(--color-light);
}
.svc-compare-note {
  max-width: 820px;
  margin: 1.75rem auto 0;
  text-align: center;
  color: var(--color-text-muted);
  line-height: 1.7;
}

/* ---- TYPES WE PAINT ---- */
.svc-types {
  padding: 4rem 0;
  background: var(--color-light);
}
.svc-types-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.svc-types-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  padding: 1.75rem;
}
.svc-types-card h3 {
  font-size: 1.15rem;
  margin: 0 0 0.6rem;
}
.svc-types-card p {
  margin: 0;
  color: var(--color-text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}
.svc-types-note {
  max-width: 820px;
  margin: 1.75rem auto 0;
  text-align: center;
  color: var(--color-text-muted);
  line-height: 1.7;
}

/* ---- COST OVERVIEW ---- */
.svc-cost {
  padding: 4rem 0;
}
.svc-cost-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 3rem;
  align-items: center;
}
.svc-cost-copy h2 {
  margin: 0 0 1.25rem;
}
.svc-cost-copy p {
  color: var(--color-text-muted);
  font-size: 1.05rem;
  line-height: 1.8;
  margin: 0 0 1rem;
}
.svc-cost-copy p a {
  font-weight: 700;
  text-decoration: underline;
}
.svc-cost-stats {
  display: grid;
  gap: 1.25rem;
}
.svc-cost-stat {
  background: linear-gradient(
    120deg,
    var(--color-primary) 0%,
    var(--color-primary-dark) 100%
  );
  color: #fff;
  border-radius: 16px;
  padding: 1.75rem;
  text-align: center;
}
.svc-cost-stat-value {
  display: block;
  font-family: var(--font-family-heading);
  font-weight: 800;
  font-size: var(--fs-h4);
  line-height: 1.1;
}
.svc-cost-stat-label {
  display: block;
  margin-top: 0.4rem;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.9);
}

/* ---- GUIDE GALLERY / TESTIMONIALS: same look as landing sections, on white ---- */
.svc-guide-gallery {
  background: var(--color-white);
}
.svc-guide-testimonials {
  background: var(--color-light);
}

/* ---- RESPONSIVE ---- */
@media (max-width: 992px) {
  .svc-timeline-grid {
    grid-template-columns: 1fr 1fr;
  }
  .svc-types-grid {
    grid-template-columns: 1fr 1fr;
  }
  .svc-cost-inner {
    grid-template-columns: 1fr;
    gap: 2.25rem;
  }
}

@media (max-width: 600px) {
  .svc-timeline-grid,
  .svc-types-grid {
    grid-template-columns: 1fr;
  }
  .svc-compare-table th,
  .svc-compare-table td {
    padding: 0.85rem 1rem;
  }
}

/* =========================================================
   15C. COST GUIDE TEMPLATE
   ========================================================= */
.cost-hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem 1.5rem;
  flex-wrap: wrap;
  margin-top: 1.75rem;
}

/* ---- COST SUMMARY ---- */
.cost-summary {
  padding: 4rem 0 4rem;
}
.cost-summary-card {
  max-width: 980px;
  margin: 0 auto;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-top: 4px solid var(--color-primary);
  border-radius: 16px;
  padding: 2.5rem;
  box-shadow: 0 14px 30px rgba(10, 32, 54, 0.06);
}
.cost-summary-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}
.cost-summary-stat {
  text-align: center;
  padding: 0 1rem;
}
.cost-summary-stat + .cost-summary-stat {
  border-left: 1px solid var(--color-border);
}
.cost-summary-stat-value {
  display: block;
  font-family: var(--font-family-heading);
  font-weight: 800;
  font-size: var(--fs-h5);
  color: var(--color-primary);
  line-height: 1.1;
}
.cost-summary-stat-label {
  display: block;
  margin-top: 0.4rem;
  font-size: 0.9rem;
  color: var(--color-text-muted);
  font-weight: 600;
}
.cost-summary-text {
  margin: 0;
  text-align: center;
  color: var(--color-text-muted);
  line-height: 1.7;
  padding-top: 1.5rem;
  border-top: 1px solid var(--color-border);
}

/* ---- COMPARISON / DATA TABLES (reuses .svc-compare-table look) ---- */
.cost-table-section {
  padding: 4rem 0;
}
.cost-table-section--alt {
  background: var(--color-light);
}
.cost-table-section .svc-compare-note a {
  font-weight: 700;
  text-decoration: underline;
}

/* ---- HOW PAINTERS CHARGE ---- */
.cost-charge {
  padding: 4rem 0;
  background: var(--color-light);
}
.cost-prose {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
}
.cost-prose p {
  color: var(--color-text-muted);
  font-size: 1.05rem;
  line-height: 1.8;
  margin: 0 0 1rem;
}
.cost-prose p a {
  font-weight: 700;
  text-decoration: underline;
}
.cost-flags-card {
  max-width: 640px;
  margin: 2.25rem auto 0;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-left: 4px solid var(--color-primary);
  border-radius: 16px;
  padding: 2rem 2.25rem;
  box-shadow: 0 14px 30px rgba(10, 32, 54, 0.05);
}
.cost-flags-card h3 {
  font-size: 1.15rem;
  margin: 0 0 1rem;
}
.cost-flags-card .svc-diy-list {
  margin-bottom: 1.1rem;
}

/* ---- PRICE TIERS ---- */
.cost-tiers {
  padding: 4rem 0;
}
.cost-tiers-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}
.cost-tier-card {
  position: relative;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 14px 30px rgba(10, 32, 54, 0.05);
}
.cost-tier-card.is-highlight {
  border-color: var(--color-primary);
  box-shadow: 0 20px 45px rgba(236, 57, 78, 0.18);
  transform: translateY(-8px);
}
.cost-tier-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-primary);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0.35rem 0.9rem;
  border-radius: var(--radius-pill);
  white-space: nowrap;
}
.cost-tier-card h3 {
  font-size: 1.3rem;
  margin: 0 0 0.4rem;
}
.cost-tier-note {
  display: inline-block;
  color: var(--color-primary);
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin-bottom: 1.25rem;
}
.cost-tier-list {
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 0;
  display: grid;
  gap: 0.7rem;
}
.cost-tier-list li {
  position: relative;
  padding-left: 1.5rem;
  color: var(--color-text);
  font-size: 0.95rem;
  line-height: 1.5;
}
.cost-tier-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: var(--color-primary);
  transform: rotate(45deg);
}
.cost-tier-lifespan {
  margin: 0;
  padding-top: 1.25rem;
  border-top: 1px solid var(--color-border);
  color: var(--color-navy);
  font-weight: 600;
  font-size: 0.9rem;
  line-height: 1.5;
}

/* ---- HIRE VS DIY ---- */
.cost-hire-diy {
  padding: 4rem 0;
  background: var(--color-light);
}
.cost-hire-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  max-width: 720px;
  margin: 0 auto 2.5rem;
}
.cost-hire-stat {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  padding: 1.75rem;
  text-align: center;
}
.cost-hire-stat-value {
  display: block;
  font-family: var(--font-family-heading);
  font-weight: 800;
  font-size: var(--fs-h5);
  color: var(--color-navy);
  line-height: 1.1;
}
.cost-hire-stat-label {
  display: block;
  margin-top: 0.5rem;
  color: var(--color-text-muted);
  font-size: 0.9rem;
  line-height: 1.5;
}
.cost-hire-diy-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.75rem;
  margin-bottom: 1.75rem;
}
.cost-hire-diy-col {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  padding: 2rem;
}
.cost-hire-diy-col h3 {
  font-size: 1.15rem;
  margin: 0 0 1.1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--color-border);
}
.cost-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}
.cost-list li {
  position: relative;
  color: var(--color-text);
  line-height: 1.5;
}
.cost-list:not(.cost-list--check) li {
  padding-left: 1.5rem;
}
.cost-list:not(.cost-list--check) li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: var(--color-primary);
  transform: rotate(45deg);
}
.cost-list--check li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
}
.cost-list--check svg {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  margin-top: 0.15em;
  fill: var(--color-primary);
}
.cost-hidden-card {
  max-width: 820px;
  margin: 0 auto;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  padding: 1.75rem 2rem;
}
.cost-hidden-card h3 {
  font-size: 1.1rem;
  margin: 0 0 1rem;
}

/* ---- WHOLE HOME REFRESH ---- */
.cost-whole {
  padding: 4rem 0;
}
.cost-prose--center h2 {
  margin: 0 0 1.25rem;
}

/* ---- QUOTE PROCESS ---- */
.cost-quote {
  padding: 4rem 0;
  background: var(--color-light);
}
.cost-quote-steps {
  max-width: 760px;
  margin: 0 auto 2rem;
}

/* ---- RESPONSIVE ---- */
@media (max-width: 992px) {
  .cost-tiers-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
  }
  .cost-tier-card.is-highlight {
    transform: none;
  }
  .cost-hire-diy-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 600px) {
  .cost-summary-stats {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
  .cost-summary-stat + .cost-summary-stat {
    border-left: none;
    border-top: 1px solid var(--color-border);
    padding-top: 1.25rem;
  }
  .cost-hire-stats {
    grid-template-columns: 1fr;
  }
}

/* =========================================================
   15D. LOCATION GUIDE TEMPLATE
   ========================================================= */
.locg-hero-checklist {
  max-width: 620px;
  margin: 0 auto 1.75rem;
  text-align: left;
}
.locg-hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem 1.5rem;
  flex-wrap: wrap;
  margin-top: 30px;
}

/* ---- GENERIC ALTERNATING PROSE SECTION ---- */
.locg-section {
  padding: 4rem 0;
}
.locg-section--alt {
  background: var(--color-light);
}
.locg-services-grid {
  grid-template-columns: repeat(2, 1fr);
}
.locg-services-grid .svc-types-card p a {
  font-weight: 700;
  text-decoration: underline;
}

/* ---- CITIES WE SERVE ---- */
.locg-cities-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-bottom: 1.75rem;
}
.locg-cities-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  padding: 1.75rem;
}
.locg-cities-card h3 {
  font-size: 1.1rem;
  margin: 0 0 1rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid var(--color-border);
}
.locg-cities-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.6rem;
}
.locg-cities-list li {
  position: relative;
  padding-left: 1.25rem;
  color: var(--color-text-muted);
  font-size: 0.95rem;
  line-height: 1.5;
}
.locg-cities-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-primary);
}
.locg-cities-list a {
  color: var(--color-navy);
  font-weight: 600;
}
.locg-cities-list a:hover {
  color: var(--color-primary);
}
.locg-cities .svc-compare-note a {
  font-weight: 700;
  text-decoration: underline;
}

/* ---- TRUST SIGNALS (optional) ---- */
.locg-trust-list {
  grid-template-columns: repeat(3, 1fr);
  max-width: 900px;
  margin: 1.75rem auto 0;
  text-align: left;
}

/* ---- MID-PAGE CTA (optional) ---- */
.locg-midcta .container {
  max-width: 760px;
  text-align: center;
}
.locg-midcta h2 {
  margin: 0 0 0.75rem;
}
.locg-midcta p {
  color: var(--color-text-muted);
  line-height: 1.7;
  margin: 0 0 1.5rem;
}

/* ---- PROCESS (optional) ---- */
.locg-process-steps {
  max-width: 760px;
  margin: 0 auto;
}

/* ---- RESPONSIVE ---- */
@media (max-width: 992px) {
  .locg-cities-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 768px) {
  .locg-trust-list {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 600px) {
  .locg-cities-grid,
  .locg-services-grid,
  .locg-trust-list {
    grid-template-columns: 1fr;
  }
}

/* =========================================================
   15E. COMMERCIAL GUIDE TEMPLATE
   ========================================================= */
.cm-matters-list,
.cm-safety-list {
  grid-template-columns: repeat(2, 1fr);
  max-width: 720px;
  margin: 1.75rem auto;
  text-align: left;
}
.cm-served-list {
  grid-template-columns: repeat(3, 1fr);
  max-width: 900px;
  margin: 0 auto 1.75rem;
}
.cm-served-list li {
  color: var(--color-text);
  font-weight: 600;
}

/* ---- RESPONSIVE ---- */
@media (max-width: 768px) {
  .cm-matters-list,
  .cm-served-list {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 560px) {
  .cm-matters-list,
  .cm-safety-list,
  .cm-served-list {
    grid-template-columns: 1fr;
  }
}

/* =========================================================
   16. CONTACT TEMPLATE
   ========================================================= */
.contact {
  overflow: hidden;
}

/* ---- HERO ---- */
.contact-hero {
  position: relative;
  background:
    radial-gradient(
      circle at 85% 20%,
      rgba(236, 57, 78, 0.06),
      transparent 45%
    ),
    var(--color-light);
}

.contact-hero-inner {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
  padding: 3.5rem 1.5rem 4rem;
}

.contact-hero-title {
  font-size: var(--fs-h1);
  line-height: 1.08;
  margin: 0 0 1rem;
}

.contact-hero-text {
  color: var(--color-text-muted);
  font-size: 1.08rem;
  line-height: 1.7;
  margin: 0;
}

/* ---- INFO + FORM ---- */
.contact-main {
  padding: 4.5rem 0;
}

.contact-main-inner {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 3.5rem;
  align-items: start;
}

.contact-info h2 {
  margin: 0 0 1rem;
}

.contact-info-lead {
  color: var(--color-text-muted);
  line-height: 1.7;
  margin: 0 0 2rem;
}

.contact-info-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.5rem;
}

.contact-info-list li {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.contact-info-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(236, 57, 78, 0.1);
  color: var(--color-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.contact-info-icon svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.contact-info-body {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.contact-info-label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-text-muted);
  font-weight: 700;
}

.contact-info-body a {
  color: var(--color-navy);
  font-weight: 600;
}

.contact-info-body a:hover {
  color: var(--color-primary);
}

.contact-hours-line {
  color: var(--color-text);
}

.contact-form-wrap {
  align-self: start;
}

/* ---- MAP ---- */
.contact-map {
  margin-top: 0;
}
.contact-map iframe {
  display: block;
  width: 100%;
}

/* ---- RESPONSIVE ---- */
@media (max-width: 992px) {
  .contact-main-inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

/* =========================================================
   17. SERVICES LISTING + SINGLE SERVICE
   ========================================================= */
.srv-grid-section {
  padding: 4.5rem 0;
}

.srv-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.srv-card {
  display: flex;
  flex-direction: column;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 14px 30px rgba(10, 32, 54, 0.06);
  transition:
    transform var(--transition-base),
    box-shadow var(--transition-base);
}

.srv-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 44px rgba(10, 32, 54, 0.1);
}

.srv-card-media {
  display: block;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: linear-gradient(135deg, #eef1f5, #e2e7ee);
}

.srv-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

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

/* Icon fallback when there is no featured image */
.srv-card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  color: var(--color-primary);
}

.srv-card-icon svg {
  width: 48px;
  height: 48px;
  fill: currentColor;
}
.srv-card-icon img {
  width: 56px;
  height: 56px;
  object-fit: contain;
}

.srv-card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 1.5rem;
}

.srv-card-title {
  font-size: 1.3rem;
  margin: 0 0 0.6rem;
}
.srv-card-title a {
  color: var(--color-navy);
}
.srv-card-title a:hover {
  color: var(--color-primary);
}

.srv-card-text {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0 0 1.1rem;
}

.srv-card-more {
  margin-top: auto;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--color-primary);
}

.srv-empty {
  text-align: center;
  color: var(--color-text-muted);
}

/* ---- WHY CHOOSE US ---- */
.srv-why {
  padding: 4.5rem 0;
  background: var(--color-light);
}

.srv-why-grid {
  --pb-cols: 4;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
}

/* Page Builder: "Cards per row". A CSS variable (rather than
   grid-template-columns) so an incomplete last row — e.g. 7 cards at 3 per
   row — centers cleanly via flex instead of leaving an empty gap; see the
   .srv-why-card flex-basis formula below. Single-class specificity
   throughout, so the responsive overrides further down (also single-class,
   declared later) still win at narrower widths regardless of which count
   is chosen here. */
.pb-cards-cols-2 {
  --pb-cols: 2;
}
.pb-cards-cols-3 {
  --pb-cols: 3;
}
.pb-cards-cols-4 {
  --pb-cols: 4;
}

.srv-why-card {
  flex: 0 0 calc((100% - (var(--pb-cols) - 1) * 1.5rem) / var(--pb-cols));
  max-width: calc((100% - (var(--pb-cols) - 1) * 1.5rem) / var(--pb-cols));
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  padding: 1.75rem;
}

.srv-why-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(236, 57, 78, 0.1);
  color: var(--color-primary);
  margin-bottom: 1.1rem;
}

.srv-why-icon svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}
.srv-why-card h3 {
  font-size: 1.2rem;
  margin: 0 0 0.5rem;
}
.srv-why-card p {
  margin: 0;
  color: var(--color-text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ---- PAGE BUILDER: RELATED POSTS (reuses .landing-post-card, the same
   card the Blog page and homepage slider use; the descendant selector below
   overrides that card's slider-only fixed flex-basis so it can wrap here
   instead of assuming exactly 3 per row) ---- */
.pb-related-posts {
  padding: 4rem 0;
}
.pb-blog-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1.75rem;
}
.pb-blog-grid .landing-post-card {
  flex: 1 1 300px;
  flex-shrink: 0;
  max-width: 360px;
}

/* ---- PAGE BUILDER: QUICK FACTS (styled after the Cost Guide template's
   .cost-summary-card, but a flex row so it stays balanced with any number
   of stats instead of assuming exactly 3) ---- */
.pb-facts {
  padding: 4rem 0;
}
.pb-facts-card {
  max-width: 980px;
  margin: 0 auto;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-top: 4px solid var(--color-primary);
  border-radius: 16px;
  padding: 2.5rem;
  box-shadow: 0 14px 30px rgba(10, 32, 54, 0.06);
}
.pb-facts-stats {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem 2.5rem;
  margin-bottom: 1.5rem;
}
.pb-facts-stat {
  flex: 1 1 160px;
  flex-shrink: 0;
  max-width: 220px;
  text-align: center;
}
.pb-facts-stat-value {
  display: block;
  font-family: var(--font-family-heading);
  font-weight: 800;
  font-size: var(--fs-h5);
  color: var(--color-primary);
  line-height: 1.1;
}
.pb-facts-stat-label {
  display: block;
  margin-top: 0.4rem;
  font-size: 0.9rem;
  color: var(--color-text-muted);
  font-weight: 600;
}
.pb-facts-text {
  margin: 0;
  text-align: center;
  color: var(--color-text-muted);
  line-height: 1.7;
  padding-top: 1.5rem;
  border-top: 1px solid var(--color-border);
}

/* ---- PAGE BUILDER: PRICING TIERS (namespaced to avoid clashing with
   the unrelated .cost-tier-* classes used by the Cost Guide template) ---- */
.pb-pricing {
  padding: 4.5rem 0;
}

.pb-pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.pb-pricing-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  padding: 1.75rem;
}

.pb-pricing-title {
  font-size: 1.2rem;
  margin: 0 0 1rem;
}

.pb-pricing-rows {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.pb-pricing-row {
  padding-top: 0.9rem;
  border-top: 1px solid var(--color-border);
}

.pb-pricing-row:first-child {
  padding-top: 0;
  border-top: none;
}

.pb-pricing-row dt {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.5rem;
  font-weight: 600;
  font-size: 0.95rem;
  margin: 0;
}

.pb-pricing-value {
  color: var(--color-primary);
  font-weight: 700;
  white-space: nowrap;
}

.pb-pricing-row dd {
  margin: 0.35rem 0 0;
  color: var(--color-text-muted);
  font-size: 0.88rem;
  line-height: 1.5;
}

@media (max-width: 992px) {
  .pb-pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .pb-pricing-grid {
    grid-template-columns: 1fr;
  }
}

/* ---- SINGLE SERVICE BODY ---- */
.single-service-body {
  padding: 4rem 0;
}

.svc-prose {
  max-width: 820px;
  margin: 0 auto;
  color: var(--color-text);
  font-size: 1.05rem;
  line-height: 1.8;
}

.svc-prose h2 {
  font-size: var(--fs-h3);
  margin: 2rem 0 1rem;
}
.svc-prose h3 {
  font-size: var(--fs-subtitle);
  margin: 1.75rem 0 0.75rem;
}
.svc-prose p {
  margin: 0 0 1.25rem;
}
.svc-prose ul,
.svc-prose ol {
  margin: 0 0 1.25rem;
  padding-left: 1.25rem;
}
.svc-prose li {
  margin-bottom: 0.5rem;
}
.svc-prose img {
  border-radius: 12px;
  margin: 1.5rem 0;
}
.svc-prose a {
  color: var(--color-primary);
  text-decoration: underline;
}

/* ---- RESPONSIVE ---- */
@media (max-width: 992px) {
  .srv-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .srv-why-grid {
    --pb-cols: 2;
  }
}

@media (max-width: 600px) {
  .srv-grid {
    grid-template-columns: 1fr;
  }
  .srv-why-grid {
    --pb-cols: 1;
  }
}

/* =========================================================
   18. LOCATION PAGE TEMPLATE
   ========================================================= */
.loc {
  overflow: hidden;
}

/* ---- HERO ---- */
.loc-hero {
  position: relative;
  background:
    radial-gradient(
      circle at 85% 15%,
      rgba(236, 57, 78, 0.07),
      transparent 45%
    ),
    var(--color-light);
}
.loc-hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: center;
  padding: 3.25rem 1.5rem 4rem;
}
.loc-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 1.25rem;
}
.loc-badge {
  background: rgba(236, 57, 78, 0.1);
  color: var(--color-primary);
  font-weight: 700;
  font-size: 0.78rem;
  padding: 0.4rem 0.9rem;
  border-radius: var(--radius-pill);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.loc-hero-title {
  font-size: var(--fs-h1);
  line-height: 1.08;
  margin: 0 0 1.25rem;
}
.loc-hero-text {
  font-size: 1.08rem;
  line-height: 1.7;
  color: var(--color-text);
  margin: 0 0 1.5rem;
  max-width: 34rem;
}
.loc-checklist {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}
.loc-checklist li {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-weight: 600;
  color: var(--color-navy);
}
.loc-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(236, 57, 78, 0.1);
  color: var(--color-primary);
  flex-shrink: 0;
}
.loc-check svg {
  width: 15px;
  height: 15px;
  fill: currentColor;
}

/* ---- INTRO + STATS ---- */
.loc-value {
  padding: 4.5rem 0;
}
.loc-value-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3.5rem;
  align-items: center;
}
.loc-value-copy h2 {
  margin: 0.5rem 0 1.25rem;
}
.loc-value-copy p {
  color: var(--color-text-muted);
  line-height: 1.8;
  margin: 0 0 1rem;
}
.loc-value-media img,
.loc-value-media .landing-ph {
  width: 100%;
  border-radius: 16px;
  min-height: 360px;
  object-fit: cover;
}
.loc-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 2.5rem;
  margin-top: 1.75rem;
}
.loc-stat-value {
  display: block;
  font-family: var(--font-family-heading);
  font-weight: 800;
  font-size: 2.25rem;
  color: var(--color-primary);
  line-height: 1;
}
.loc-stat-label {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

/* ---- SERVICES / WHY / PROJECTS use shared grids ---- */
.loc-services {
  padding: 4.5rem 0;
}
.loc-projects {
  padding: 4.5rem 0;
}

/* ---- LOCAL INSIGHT ---- */
.loc-insight {
  padding: 4.5rem 0;
  background: var(--color-light);
}
.loc-insight-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.loc-insight-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  padding: 1.75rem;
}
.loc-insight-card h3 {
  font-size: 1.2rem;
  margin: 0 0 0.5rem;
}
.loc-insight-card p {
  margin: 0;
  color: var(--color-text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ---- REVIEWS ---- */
.loc-reviews {
  padding: 4.5rem 0;
  background: var(--color-light);
}
.loc-reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}
.loc-review-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  padding: 1.75rem;
  margin: 0;
  box-shadow: 0 12px 28px rgba(10, 32, 54, 0.05);
}
.loc-review-stars {
  color: #f5b301;
  font-size: 1rem;
  letter-spacing: 2px;
}
.loc-review-quote {
  color: var(--color-text);
  line-height: 1.7;
  margin: 0.9rem 0 1.5rem;
}
.loc-review-author {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}
.loc-review-meta {
  display: flex;
  flex-direction: column;
}

/* ---- SERVICE AREA + MAP ---- */
.loc-area {
  padding: 4.5rem 0;
}
.loc-area-inner {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 3rem;
  align-items: stretch;
}
.loc-area-copy h2 {
  margin: 0.5rem 0 1rem;
}
.loc-area-copy > p {
  color: var(--color-text-muted);
  line-height: 1.7;
  margin: 0 0 1.5rem;
}
.loc-area-subhead {
  font-weight: 700;
  color: var(--color-navy);
  margin: 0 0 0.75rem;
}
.loc-area-list {
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem;
}
.loc-area-list li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--color-text);
}
.loc-area-list .loc-check {
  width: 24px;
  height: 24px;
}
.loc-area-list .loc-check svg {
  fill: var(--color-primary);
}
.loc-area-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  align-items: center;
}
.loc-area-address,
.loc-area-phone {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  color: var(--color-navy);
}
.loc-area-address svg,
.loc-area-phone svg {
  width: 16px;
  height: 16px;
  fill: var(--color-primary);
}
.loc-area-map {
  border-radius: 16px;
  overflow: hidden;
  min-height: 340px;
}
.loc-area-map iframe,
.loc-area-map .landing-ph {
  width: 100%;
  height: 100%;
  min-height: 340px;
  border-radius: 16px;
}

/* ---- CTA ---- */
.loc-cta {
  padding: 0 0 4.5rem;
}
.loc-cta-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  background: linear-gradient(
    120deg,
    var(--color-primary) 0%,
    var(--color-primary-dark) 100%
  );
  border-radius: 20px;
  padding: 3rem;
  color: #fff;
}
.loc-cta-eyebrow {
  display: inline-block;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.85rem;
  margin-bottom: 0.75rem;
}
.loc-cta-copy h2 {
  color: #fff;
  margin: 0 0 1rem;
}
.loc-cta-copy p {
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.7;
  margin: 0 0 1rem;
}
.loc-cta-call {
  font-weight: 600;
}
.loc-cta-call a {
  color: #fff;
  text-decoration: underline;
}
.loc-cta .loc-form-wrap {
  background: transparent;
  padding: 0;
}

/* ---- RESPONSIVE ---- */
@media (max-width: 992px) {
  .loc-hero-inner,
  .loc-value-inner,
  .loc-area-inner,
  .loc-cta-inner {
    grid-template-columns: 1fr;
    gap: 2.25rem;
  }
  .loc-insight-grid,
  .loc-reviews-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .loc-cta-inner {
    padding: 2.25rem;
  }
}
@media (max-width: 600px) {
  .loc-insight-grid,
  .loc-reviews-grid,
  .loc-area-list {
    grid-template-columns: 1fr;
  }
}

/* =========================================================
   19. PRIVACY / LEGAL PAGE TEMPLATE
   ========================================================= */
html {
  scroll-behavior: smooth;
}

.pp-updated {
  color: var(--color-primary);
  font-weight: 700;
  font-size: 0.9rem;
  margin: 0.25rem 0 1rem;
}

.pp-main {
  padding: 3.5rem 0 4.5rem;
}

.pp-main-inner {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 3rem;
  align-items: start;
}

/* Sticky table of contents */
.pp-toc {
  position: sticky;
  top: 110px;
  align-self: start;
  background: var(--color-light);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  padding: 1.5rem;
}

.pp-toc-title {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 700;
  color: var(--color-text-muted);
  margin: 0 0 1rem;
}

.pp-toc ol {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.6rem;
}

.pp-toc a {
  display: block;
  font-size: 0.9rem;
  color: var(--color-navy);
  font-weight: 600;
  line-height: 1.4;
}

.pp-toc a:hover {
  color: var(--color-primary);
}

/* Content */
.pp-content {
  min-width: 0;
}

.pp-section {
  scroll-margin-top: 110px;
  padding-bottom: 2rem;
}

.pp-section h2 {
  font-size: var(--fs-h4);
  margin: 0 0 1rem;
}

.pp-content .svc-prose {
  max-width: none;
  margin: 0;
}

.pp-content .svc-prose ul {
  list-style: disc;
}

/* Responsive */
@media (max-width: 900px) {
  .pp-main-inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .pp-toc {
    position: static;
  }
}

/* =========================================================
   20. ABOUT PAGE TEMPLATE
   ========================================================= */
.about-cred {
  padding: 4.5rem 0;
}

.about-cred-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.about-cred-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  padding: 1.75rem;
  text-align: center;
  box-shadow: 0 14px 30px rgba(10, 32, 54, 0.05);
}

.about-cred-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 16px;
  background: rgba(236, 57, 78, 0.1);
  color: var(--color-primary);
  margin-bottom: 1.1rem;
}

.about-cred-icon svg {
  width: 30px;
  height: 30px;
  fill: currentColor;
}
.about-cred-card h3 {
  font-size: 1.2rem;
  margin: 0 0 0.5rem;
}
.about-cred-card p {
  margin: 0;
  color: var(--color-text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

.about-services {
  padding: 4.5rem 0;
}

.about-stats {
  padding: 1rem 0 3.5rem;
}

@media (max-width: 992px) {
  .about-cred-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 560px) {
  .about-cred-grid {
    grid-template-columns: 1fr;
  }
}

/* =========================================================
   21. BLOG INDEX TEMPLATE
   ========================================================= */
.blog-listing { padding: 4rem 0 4.5rem; }

/* Category filter pills */
.blog-cats {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem;
  margin: 0 0 2.75rem;
}

.blog-cat {
  display: inline-block;
  padding: 0.5rem 1.1rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--color-border);
  background: var(--color-white);
  color: var(--color-navy);
  font-weight: 600;
  font-size: 0.9rem;
}

.blog-cat:hover,
.blog-cat.is-active {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: #fff;
}

/* Posts grid (reuses .landing-post-card styling) */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.blog-empty { text-align: center; color: var(--color-text-muted); }

/* Pagination */
.blog-grid {
  transition: opacity 0.2s ease;
}

.blog-pagination-wrap:empty {
  display: none;
}

.blog-cat {
  cursor: pointer;
}

.blog-pagination a.page-numbers {
  cursor: pointer;
}

.blog-pagination {
  margin-top: 3rem;
}

.blog-pagination .page-numbers {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin: 0;
  padding: 0;
}

.blog-pagination .page-numbers li { margin: 0; }

.blog-pagination a.page-numbers,
.blog-pagination span.page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 44px;
  padding: 0 0.85rem;
  border-radius: 10px;
  border: 1px solid var(--color-border);
  background: var(--color-white);
  color: var(--color-navy);
  font-weight: 700;
  font-size: 0.95rem;
  transition: background-color var(--transition-base), color var(--transition-base), border-color var(--transition-base);
}

.blog-pagination a.page-numbers:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
}

.blog-pagination .page-numbers.current {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: #fff;
}

.blog-pagination .page-numbers.dots {
  border-color: transparent;
  background: transparent;
}

@media (max-width: 992px) {
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .blog-grid { grid-template-columns: 1fr; }
}

/* =========================================================
   22. SINGLE POST TEMPLATE
   ========================================================= */
.single-post {
  background: var(--color-white);
}

/* ---- Hero ---- */
.single-hero {
  position: relative;
  background:
    radial-gradient(circle at 85% 20%, rgba(236, 57, 78, 0.06), transparent 45%),
    var(--color-light);
}

.single-hero-inner {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
  padding: 3.5rem 1.5rem 3.75rem;
}

.single-cats {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

.single-cat {
  display: inline-flex;
  align-items: center;
  padding: 0.32rem 0.9rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-primary);
  background: rgba(236, 57, 78, 0.09);
  border-radius: var(--radius-pill);
  text-decoration: none;
  transition: background 0.18s ease, color 0.18s ease;
}

.single-cat:hover {
  background: var(--color-primary);
  color: #fff;
}

.single-title {
  font-size: var(--fs-h1);
  line-height: 1.1;
  margin: 0 0 1.5rem;
}

.single-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  color: var(--color-text-muted);
  font-size: 0.95rem;
}

.single-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.single-meta-item svg {
  width: 1rem;
  height: 1rem;
  color: var(--color-primary);
}

.single-author img {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
}

.single-author span {
  font-weight: 600;
  color: var(--color-navy);
}

.single-meta-sep {
  color: var(--color-border);
}

/* ---- Featured image ---- */
.single-featured {
  position: relative;
}

.single-featured .container {
  max-width: 960px;
}

.single-featured-img {
  display: block;
  width: 100%;
  height: auto;
  margin-top: 3.5rem;
  border-radius: 18px;
  box-shadow: 0 24px 60px rgba(10, 32, 54, 0.18);
}

/* ---- Content column ---- */
.single-body {
  padding: 3rem 0 1rem;
}

.single-body .container {
  max-width: 760px;
}

.single-content {
  color: var(--color-text);
  font-size: 1.075rem;
  line-height: 1.85;
}

.single-content > p {
  margin: 0 0 1.5rem;
}

.single-content h2,
.single-content h3,
.single-content h4 {
  color: var(--color-navy);
  line-height: 1.25;
  margin: 2.5rem 0 1rem;
}

.single-content h2 { font-size: 1.7rem; }
.single-content h3 { font-size: 1.35rem; }
.single-content h4 { font-size: 1.15rem; }

.single-content a {
  color: var(--color-primary);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}

.single-content a:hover {
  color: var(--color-primary-dark);
}

.single-content ul,
.single-content ol {
  margin: 0 0 1.5rem;
  padding-left: 1.35rem;
}

.single-content li {
  margin-bottom: 0.6rem;
  padding-left: 0.35rem;
}

.single-content ul li::marker {
  color: var(--color-primary);
}

.single-content img {
  max-width: 100%;
  height: auto;
  border-radius: 14px;
}

.single-content figure {
  margin: 2rem 0;
}

.single-content figcaption {
  margin-top: 0.6rem;
  font-size: 0.88rem;
  color: var(--color-text-muted);
  text-align: center;
}

.single-content blockquote {
  margin: 2rem 0;
  padding: 1.25rem 1.75rem;
  border-left: 4px solid var(--color-primary);
  background: var(--color-light);
  border-radius: 0 12px 12px 0;
  font-size: 1.2rem;
  font-style: italic;
  color: var(--color-navy);
}

.single-content blockquote p:last-child { margin-bottom: 0; }

.single-content pre {
  background: var(--color-navy);
  color: #eef2f7;
  padding: 1.25rem 1.5rem;
  border-radius: 12px;
  overflow-x: auto;
  font-size: 0.95rem;
  margin: 0 0 1.5rem;
}

.single-content :not(pre) > code {
  background: var(--color-light);
  border: 1px solid var(--color-border);
  border-radius: 6px;
  padding: 0.12em 0.4em;
  font-size: 0.92em;
}

.single-content hr {
  border: 0;
  border-top: 1px solid var(--color-border);
  margin: 2.5rem 0;
}

/* ---- Tags ---- */
.single-tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin-top: 2.5rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--color-border);
}

.single-tags-label {
  font-weight: 700;
  color: var(--color-navy);
  margin-right: 0.25rem;
}

.single-tags a {
  display: inline-flex;
  padding: 0.32rem 0.85rem;
  font-size: 0.85rem;
  color: var(--color-text-muted);
  background: var(--color-light);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-pill);
  text-decoration: none;
  transition: all 0.18s ease;
}

.single-tags a:hover {
  color: var(--color-primary);
  border-color: var(--color-primary);
}

/* ---- Author box ---- */
.single-authorbox {
  padding: 1rem 0 2rem;
}

.single-authorbox-inner {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  gap: 1.5rem;
  align-items: center;
  padding: 1.75rem;
  background: var(--color-light);
  border: 1px solid var(--color-border);
  border-radius: 16px;
}

.single-authorbox-avatar img {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  object-fit: cover;
}

.single-authorbox-eyebrow {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--color-primary);
}

.single-authorbox-name {
  font-size: 1.25rem;
  margin: 0.15rem 0 0.5rem;
  color: var(--color-navy);
}

.single-authorbox-bio {
  margin: 0;
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* ---- Prev / Next navigation ---- */
.single-nav {
  padding: 1.5rem 0 3rem;
}

.single-nav .post-navigation {
  max-width: 960px;
  margin: 0 auto;
}

.single-nav .nav-links {
  display: flex;
  gap: 1.25rem;
}

.single-nav .nav-previous,
.single-nav .nav-next {
  flex: 1;
}

.single-nav .nav-next { text-align: right; }

.single-nav .nav-links a {
  display: block;
  height: 100%;
  padding: 1.25rem 1.5rem;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 14px;
  text-decoration: none;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.single-nav .nav-links a:hover {
  border-color: var(--color-primary);
  box-shadow: 0 14px 30px rgba(10, 32, 54, 0.1);
  transform: translateY(-2px);
}

.single-nav-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--color-primary);
  margin-bottom: 0.4rem;
}

.single-nav-title {
  display: block;
  font-weight: 600;
  color: var(--color-navy);
  line-height: 1.4;
}

/* ---- Comments ---- */
.single-comments {
  padding: 0 0 3.5rem;
}

.single-comments .container {
  max-width: 760px;
}

/* ---- CTA spacing ---- */
.single-cta {
  border-top: 1px solid var(--color-border);
}

@media (max-width: 700px) {
  .single-nav .nav-links { flex-direction: column; }
  .single-nav .nav-next { text-align: left; }
  .single-authorbox-inner { flex-direction: column; text-align: center; }
  .single-featured-img { margin-top: 1.25rem; border-radius: 12px; }
}
