/* ============================================
   Clarksville Epoxy Flooring — Styles
   ============================================ */

:root {
  --color-primary: #e85d04;
  --color-primary-dark: #c44d03;
  --color-primary-light: #ff7b29;
  --color-navy: #0f1729;
  --color-navy-light: #1a2744;
  --color-slate: #64748b;
  --color-slate-light: #94a3b8;
  --color-bg: #f8fafc;
  --color-white: #ffffff;
  --color-border: #e2e8f0;
  --font-display: 'Outfit', system-ui, sans-serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
  --shadow-sm: 0 1px 3px rgba(15, 23, 41, 0.08);
  --shadow-md: 0 4px 20px rgba(15, 23, 41, 0.1);
  --shadow-lg: 0 12px 40px rgba(15, 23, 41, 0.15);
  --radius: 12px;
  --radius-lg: 20px;
  --header-height: 72px;
  --top-bar-height: 40px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + var(--top-bar-height) + 16px);
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--color-navy);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
}

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

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

ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* ---- Top Bar ---- */
.top-bar {
  background: var(--color-navy);
  color: var(--color-white);
  font-size: 0.875rem;
  position: sticky;
  top: 0;
  z-index: 200;
}

.top-bar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--top-bar-height);
  gap: 1rem;
}

.top-bar__tagline {
  color: var(--color-slate-light);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.top-bar__phone {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--color-primary-light);
  white-space: nowrap;
  transition: color 0.2s;
}

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

/* ---- Header ---- */
.header {
  background: var(--color-white);
  border-bottom: 1px solid var(--color-border);
  position: sticky;
  top: var(--top-bar-height);
  z-index: 100;
  box-shadow: var(--shadow-sm);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
  gap: 1.5rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.logo__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: var(--color-primary);
  color: var(--color-white);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.75rem;
  border-radius: 10px;
  letter-spacing: -0.02em;
}

.logo__text {
  font-family: var(--font-display);
  font-size: 0.8rem;
  line-height: 1.2;
  color: var(--color-slate);
}

.logo__text strong {
  font-size: 1rem;
  color: var(--color-navy);
  font-weight: 700;
}

.nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav a {
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--color-navy);
  transition: color 0.2s;
}

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

.nav__cta {
  background: var(--color-primary);
  color: var(--color-white) !important;
  padding: 0.6rem 1.25rem;
  border-radius: 8px;
  font-weight: 600 !important;
  transition: background 0.2s !important;
}

.nav__cta:hover {
  background: var(--color-primary-dark) !important;
  color: var(--color-white) !important;
}

.header__phone {
  display: none;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-navy);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.75rem 1.5rem;
  border-radius: 10px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
}

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

.btn--primary:hover {
  background: var(--color-primary-dark);
  border-color: var(--color-primary-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(232, 93, 4, 0.35);
}

.btn--outline {
  background: transparent;
  color: var(--color-navy);
  border-color: var(--color-border);
}

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

.btn--outline-white {
  background: transparent;
  color: var(--color-white);
  border-color: rgba(255, 255, 255, 0.5);
}

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

.btn--white {
  background: var(--color-white);
  color: var(--color-navy);
  border-color: var(--color-white);
}

.btn--white:hover {
  background: var(--color-bg);
  transform: translateY(-1px);
}

.btn--phone {
  background: var(--color-navy);
  color: var(--color-white);
  border-color: var(--color-navy);
}

.btn--phone:hover {
  background: var(--color-navy-light);
}

.btn--lg {
  padding: 0.9rem 1.75rem;
  font-size: 1rem;
}

.btn--full {
  width: 100%;
}

/* ---- Hero ---- */
.hero {
  position: relative;
  padding: 4rem 0 5rem;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(15, 23, 41, 0.92) 0%, rgba(26, 39, 68, 0.85) 50%, rgba(15, 23, 41, 0.75) 100%),
    url('images/garage-flake-tan.jpg') center/cover no-repeat;
  z-index: 0;
}

.hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 3rem;
  align-items: start;
}

.hero__content {
  color: var(--color-white);
  padding-top: 1rem;
}

.hero__badge {
  display: inline-block;
  background: rgba(232, 93, 4, 0.2);
  border: 1px solid rgba(232, 93, 4, 0.4);
  color: var(--color-primary-light);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.4rem 1rem;
  border-radius: 100px;
  margin-bottom: 1.25rem;
  letter-spacing: 0.02em;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1.25rem;
  letter-spacing: -0.02em;
}

.hero__lead {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 2rem;
  max-width: 520px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2rem;
}

.hero__actions .btn--outline {
  color: var(--color-white);
  border-color: rgba(255, 255, 255, 0.4);
}

.hero__actions .btn--outline:hover {
  background: var(--color-white);
  color: var(--color-navy);
  border-color: var(--color-white);
}

.hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.75);
}

.hero__trust li {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

/* ---- Estimate Form ---- */
.hero__form-wrap {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.estimate-form {
  padding: 2rem;
}

.estimate-form h2 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
  color: var(--color-navy);
}

.estimate-form__sub {
  font-size: 0.9rem;
  color: var(--color-slate);
  margin-bottom: 1.5rem;
}

.form-row {
  margin-bottom: 1rem;
}

.form-row label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
  color: var(--color-navy);
}

.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  padding: 0.7rem 0.9rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  border: 1.5px solid var(--color-border);
  border-radius: 8px;
  background: var(--color-bg);
  color: var(--color-navy);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(232, 93, 4, 0.15);
  background: var(--color-white);
}

.form-row input.error,
.form-row select.error {
  border-color: #ef4444;
}

.form-row textarea {
  resize: vertical;
  min-height: 80px;
}

.form-note {
  text-align: center;
  font-size: 0.78rem;
  color: var(--color-slate-light);
  margin-top: 0.75rem;
}

.form-success {
  padding: 3rem 2rem;
  text-align: center;
}

.form-success__icon {
  width: 64px;
  height: 64px;
  background: #dcfce7;
  color: #16a34a;
  font-size: 2rem;
  font-weight: 700;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
}

.form-success h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}

.form-success p {
  color: var(--color-slate);
  margin-bottom: 0.5rem;
}

.form-success a {
  color: var(--color-primary);
  font-weight: 600;
}

/* ---- Section Headers ---- */
.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 3rem;
}

.section-header--light h2,
.section-header--light p {
  color: var(--color-white);
}

.section-header--light .section-label {
  color: var(--color-primary-light);
}

.section-label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-primary);
  margin-bottom: 0.75rem;
}

.section-header h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 700;
  margin-bottom: 0.75rem;
  letter-spacing: -0.02em;
}

.section-header p {
  color: var(--color-slate);
  font-size: 1.05rem;
}

/* ---- Services ---- */
.services {
  padding: 5rem 0;
  background: var(--color-white);
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.service-card {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--color-border);
  transition: transform 0.3s, box-shadow 0.3s;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.service-card__img {
  aspect-ratio: 3/2;
  overflow: hidden;
}

.service-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}

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

.service-card__body {
  padding: 1.5rem;
}

.service-card__body h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.service-card__body p {
  color: var(--color-slate);
  font-size: 0.95rem;
}

/* ---- Gallery ---- */
.gallery {
  padding: 5rem 0;
  background: var(--color-navy);
}

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

.gallery__item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4/3;
}

.gallery__item--wide {
  grid-column: span 2;
  aspect-ratio: 16/9;
}

.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}

.gallery__item:hover img {
  transform: scale(1.06);
}

.gallery__item figcaption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1rem 1.25rem;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.75));
  color: var(--color-white);
  font-weight: 600;
  font-size: 0.9rem;
}

.gallery__cta {
  text-align: center;
  margin-top: 3rem;
}

.gallery__cta p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.1rem;
  margin-bottom: 1.25rem;
}

/* ---- Why Us ---- */
.why-us {
  padding: 5rem 0;
  background: var(--color-bg);
}

.why-us__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.why-us__content h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 700;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.why-us__content > p {
  color: var(--color-slate);
  margin-bottom: 2rem;
  font-size: 1.05rem;
}

.why-us__list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.why-us__list li {
  padding-left: 1.25rem;
  border-left: 3px solid var(--color-primary);
}

.why-us__list strong {
  display: block;
  font-weight: 600;
  margin-bottom: 0.2rem;
}

.why-us__list span {
  font-size: 0.9rem;
  color: var(--color-slate);
}

.why-us__stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.stat {
  background: var(--color-white);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
}

.stat__num {
  display: block;
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--color-primary);
  line-height: 1;
  margin-bottom: 0.35rem;
}

.stat__label {
  font-size: 0.85rem;
  color: var(--color-slate);
  font-weight: 500;
}

/* ---- FAQ ---- */
.faq {
  padding: 5rem 0;
  background: var(--color-white);
}

.faq__list {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

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

.faq__item summary {
  padding: 1.25rem 1.5rem;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  transition: background 0.2s;
}

.faq__item summary::-webkit-details-marker {
  display: none;
}

.faq__item summary::after {
  content: '+';
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--color-primary);
  flex-shrink: 0;
}

.faq__item[open] summary::after {
  content: '−';
}

.faq__item summary:hover {
  background: var(--color-bg);
}

.faq__item p {
  padding: 0 1.5rem 1.25rem;
  color: var(--color-slate);
  font-size: 0.95rem;
}

/* ---- CTA Banner ---- */
.cta-banner {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  padding: 3.5rem 0;
}

.cta-banner__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.cta-banner h2 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 0.35rem;
}

.cta-banner p {
  color: rgba(255, 255, 255, 0.9);
}

.cta-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

/* ---- Footer ---- */
.footer {
  background: var(--color-navy);
  color: rgba(255, 255, 255, 0.7);
  padding: 4rem 0 0;
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
}

.footer .logo__text {
  color: rgba(255, 255, 255, 0.6);
}

.footer .logo__text strong {
  color: var(--color-white);
}

.footer__brand p {
  margin-top: 1rem;
  font-size: 0.9rem;
  line-height: 1.7;
}

.footer h4 {
  color: var(--color-white);
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.footer ul li {
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
}

.footer a:hover {
  color: var(--color-primary-light);
}

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1.5rem 0;
  text-align: center;
  font-size: 0.85rem;
}

/* ---- Mobile Call Bar ---- */
.mobile-call-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 300;
  background: var(--color-white);
  border-top: 1px solid var(--color-border);
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
  padding: 0.75rem 1rem;
  gap: 0.75rem;
}

.mobile-call-bar__phone {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: var(--color-navy);
  color: var(--color-white);
  font-weight: 700;
  padding: 0.85rem;
  border-radius: 10px;
  font-size: 0.95rem;
}

.mobile-call-bar__estimate {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-primary);
  color: var(--color-white);
  font-weight: 700;
  padding: 0.85rem;
  border-radius: 10px;
  font-size: 0.95rem;
}

/* ---- Responsive ---- */
@media (max-width: 1024px) {
  .hero__grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .hero__form-wrap {
    max-width: 480px;
  }

  .why-us__grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

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

@media (max-width: 768px) {
  .top-bar__tagline {
    display: none;
  }

  .nav {
    display: none;
    position: fixed;
    top: calc(var(--top-bar-height) + var(--header-height));
    left: 0;
    right: 0;
    background: var(--color-white);
    flex-direction: column;
    padding: 1.5rem;
    gap: 0;
    border-bottom: 1px solid var(--color-border);
    box-shadow: var(--shadow-md);
    transform: translateY(-110%);
    opacity: 0;
    transition: transform 0.3s, opacity 0.3s;
    pointer-events: none;
  }

  .nav.is-open {
    display: flex;
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav a {
    padding: 0.85rem 0;
    border-bottom: 1px solid var(--color-border);
    width: 100%;
  }

  .nav__cta {
    margin-top: 0.75rem;
    text-align: center;
  }

  .header__phone {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .menu-toggle.is-active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .menu-toggle.is-active span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle.is-active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

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

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

  .gallery__item--wide {
    grid-column: span 2;
  }

  .cta-banner__inner {
    flex-direction: column;
    text-align: center;
  }

  .cta-banner__actions {
    justify-content: center;
    width: 100%;
  }

  .mobile-call-bar {
    display: flex;
  }

  body {
    padding-bottom: 70px;
  }

  .footer__grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .hero {
    padding: 2.5rem 0 3rem;
  }

  .hero__actions {
    flex-direction: column;
  }

  .hero__actions .btn {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .gallery__grid {
    grid-template-columns: 1fr;
  }

  .gallery__item--wide {
    grid-column: span 1;
  }

  .why-us__stats {
    grid-template-columns: 1fr;
  }
}

/* ---- SEO Content Sections (Homepage) ---- */
.content-sections {
  padding: 4rem 0;
  background: var(--color-white);
  border-bottom: 1px solid var(--color-border);
}

.content-sections__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.content-block {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 1.75rem;
}

.content-block h2 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  letter-spacing: -0.01em;
  color: var(--color-navy);
}

.content-block p {
  color: var(--color-slate);
  font-size: 0.95rem;
  line-height: 1.7;
}

.content-block a {
  color: var(--color-primary);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

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

.hero__lead--first {
  font-size: 1.05rem;
  line-height: 1.75;
  max-width: 560px;
}

.hero__lead--first a {
  color: var(--color-primary-light);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

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

/* ---- Service Cards as Links ---- */
.service-card__link {
  display: block;
  color: inherit;
  height: 100%;
}

.service-card__more {
  display: inline-block;
  margin-top: 0.75rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-primary);
}

.service-card__link:hover .service-card__more {
  text-decoration: underline;
}

/* ---- Service Pages ---- */
.service-page {
  padding: 2.5rem 0 4rem;
  background: var(--color-bg);
}

.service-page__layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 2.5rem;
  align-items: start;
}

.service-page__content {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
}

.breadcrumb {
  font-size: 0.85rem;
  color: var(--color-slate);
  margin-bottom: 1.25rem;
}

.breadcrumb a {
  color: var(--color-primary);
  font-weight: 500;
}

.breadcrumb a:hover {
  text-decoration: underline;
}

.service-page__content h1 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 1.25rem;
  line-height: 1.2;
}

.service-page__intro {
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--color-navy);
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--color-border);
}

.service-page__content .content-block {
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 0 0 2rem;
  margin-bottom: 2rem;
  border-bottom: 1px solid var(--color-border);
}

.service-page__content .content-block:last-of-type {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.service-page__content .content-block h2 {
  font-size: 1.25rem;
  margin-bottom: 0.85rem;
}

.service-page__content .content-block p {
  color: var(--color-navy);
  font-size: 1rem;
}

.content-block--faq {
  border-bottom: none !important;
  padding-bottom: 0 !important;
}

.content-block--faq .faq__list {
  margin-top: 1rem;
}

/* ---- Service Page Sidebar ---- */
.service-page__sidebar {
  position: sticky;
  top: calc(var(--top-bar-height) + var(--header-height) + 1.5rem);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.sidebar-cta {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.sidebar-cta img {
  width: 100%;
  aspect-ratio: 3/2;
  object-fit: cover;
}

.sidebar-cta h2 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  padding: 1.25rem 1.25rem 0;
}

.sidebar-cta p {
  font-size: 0.9rem;
  color: var(--color-slate);
  padding: 0.5rem 1.25rem 1rem;
}

.sidebar-cta .btn {
  margin: 0 1.25rem 0.75rem;
  width: calc(100% - 2.5rem);
}

.sidebar-cta .btn:last-of-type {
  margin-bottom: 1.25rem;
}

.sidebar-links {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 1.25rem;
}

.sidebar-links h3 {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.sidebar-links li {
  margin-bottom: 0.4rem;
}

.sidebar-links a {
  font-size: 0.9rem;
  color: var(--color-primary);
  font-weight: 500;
}

.sidebar-links a:hover {
  text-decoration: underline;
}

/* Active nav link */
.nav a[aria-current="page"] {
  color: var(--color-primary);
  font-weight: 600;
}

.partner-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.partner-list li {
  padding: 1.25rem;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
}

.partner-list a {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--color-primary);
  margin-bottom: 0.35rem;
}

.partner-list a:hover {
  text-decoration: underline;
}

.partner-list span {
  display: block;
  font-size: 0.95rem;
  color: var(--color-slate);
}

@media (max-width: 1024px) {
  .content-sections__grid {
    grid-template-columns: 1fr;
  }

  .service-page__layout {
    grid-template-columns: 1fr;
  }

  .service-page__sidebar {
    position: static;
  }
}

@media (max-width: 768px) {
  .service-page__content {
    padding: 1.5rem;
  }

  .nav a:not(.nav__cta) {
    font-size: 0.95rem;
  }
}
