/*
Theme Name: DomService Light
Theme URI: https://www.domservice.org/
Author: DomService
Description: Lightweight bilingual theme for the DomService home repair website.
Version: 1.0.10
Requires at least: 6.5
Requires PHP: 8.1
Text Domain: domservice-light
*/

:root {
  --ds-ink: #17252b;
  --ds-muted: #52646b;
  --ds-border: #dce5e8;
  --ds-surface: #ffffff;
  --ds-soft: #f2f6f7;
  --ds-teal: #176b72;
  --ds-teal-dark: #0e4e55;
  --ds-yellow: #f2bb32;
  --ds-danger: #b42318;
  --ds-shadow: 0 12px 32px rgba(23, 37, 43, 0.09);
  --ds-radius: 8px;
  --ds-container: 1180px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ds-ink);
  background: var(--ds-surface);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.65;
}

body.admin-bar .site-header {
  top: 32px;
}

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

a {
  color: var(--ds-teal);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--ds-teal-dark);
}

button,
input,
textarea,
select {
  font: inherit;
}

.container {
  width: min(calc(100% - 40px), var(--ds-container));
  margin-inline: auto;
}

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

.skip-link:focus {
  position: fixed;
  z-index: 9999;
  top: 12px;
  left: 12px;
  width: auto;
  height: auto;
  padding: 10px 14px;
  clip: auto;
  color: #fff;
  background: var(--ds-ink);
}

.site-header {
  position: sticky;
  z-index: 1000;
  top: 0;
  border-bottom: 1px solid rgba(23, 37, 43, 0.1);
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 5px 18px rgba(23, 37, 43, 0.06);
}

.header-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  min-height: 76px;
  align-items: center;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ds-ink);
  font-size: 23px;
  font-weight: 800;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 6px;
  color: #fff;
  background: var(--ds-teal);
  font-size: 16px;
  font-weight: 800;
}

.site-nav {
  justify-self: center;
}

.site-nav ul {
  display: flex;
  align-items: center;
  gap: 26px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.site-nav a,
.submenu-toggle {
  border: 0;
  color: var(--ds-ink);
  background: transparent;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}

.site-nav a:hover,
.submenu-toggle:hover {
  color: var(--ds-teal);
}

.menu-item-has-children {
  position: relative;
}

.submenu-toggle::after {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  margin: 0 0 3px 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
}

.site-nav .sub-menu {
  position: absolute;
  top: calc(100% + 18px);
  left: -18px;
  display: none;
  width: 290px;
  padding: 10px;
  border: 1px solid var(--ds-border);
  border-radius: var(--ds-radius);
  background: #fff;
  box-shadow: var(--ds-shadow);
}

.site-nav .sub-menu.is-open,
.menu-item-has-children:focus-within .sub-menu {
  display: grid;
  gap: 2px;
}

.site-nav .sub-menu a {
  display: block;
  padding: 10px 12px;
  border-radius: 5px;
  font-weight: 600;
}

.site-nav .sub-menu a:hover {
  background: var(--ds-soft);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.language-switcher {
  display: inline-flex;
  padding: 3px;
  border: 1px solid var(--ds-border);
  border-radius: 6px;
  background: var(--ds-soft);
}

.language-switcher a {
  min-width: 34px;
  padding: 5px 8px;
  border-radius: 4px;
  color: var(--ds-muted);
  font-size: 13px;
  font-weight: 800;
  text-align: center;
  text-decoration: none;
}

.language-switcher a[aria-current="page"] {
  color: #fff;
  background: var(--ds-teal);
}

.phone-link {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  padding: 8px 13px;
  border-radius: 6px;
  color: #fff;
  background: var(--ds-ink);
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
}

.phone-link:hover {
  color: var(--ds-ink);
  background: var(--ds-yellow);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 11px;
  border: 1px solid var(--ds-border);
  border-radius: 6px;
  background: #fff;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  height: 2px;
  margin: 4px 0;
  background: var(--ds-ink);
}

.hero {
  position: relative;
  display: flex;
  min-height: 670px;
  align-items: center;
  overflow: hidden;
  color: #fff;
  background-color: #152a31;
  background-image: var(--hero-image);
  background-repeat: no-repeat;
  background-position: calc(50% + 390px) bottom;
  background-size: auto 92%;
}

.hero::before {
  position: absolute;
  inset: 0;
  content: "";
  background: rgba(13, 31, 37, 0.46);
}

.hero-inner {
  position: relative;
  z-index: 1;
  padding-block: 90px 110px;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--ds-yellow);
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(45px, 7vw, 82px);
  line-height: 1.02;
}

.hero-copy {
  max-width: 650px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 20px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border: 2px solid transparent;
  border-radius: 6px;
  font-weight: 800;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}

.button-primary {
  color: var(--ds-ink);
  background: var(--ds-yellow);
}

.button-primary:hover {
  color: #fff;
  background: var(--ds-teal);
}

.button-secondary {
  border-color: rgba(255, 255, 255, 0.55);
  color: #fff;
  background: rgba(0, 0, 0, 0.1);
}

.button-secondary:hover {
  border-color: #fff;
  color: var(--ds-ink);
  background: #fff;
}

.trust-strip {
  position: relative;
  z-index: 2;
  margin-top: -44px;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--ds-border);
  border-radius: var(--ds-radius);
  background: #fff;
  box-shadow: var(--ds-shadow);
}

.trust-item {
  padding: 24px;
  border-right: 1px solid var(--ds-border);
}

.trust-item:last-child {
  border-right: 0;
}

.trust-item strong {
  display: block;
  color: var(--ds-teal-dark);
  font-size: 21px;
}

.trust-item span {
  color: var(--ds-muted);
  font-size: 14px;
}

.section {
  padding-block: 92px;
}

.section-soft {
  background: var(--ds-soft);
}

.section-dark {
  color: #fff;
  background: var(--ds-ink);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(300px, 1fr);
  align-items: end;
  gap: 60px;
  margin-bottom: 42px;
}

.section-heading h2,
.content-header h1 {
  margin: 0;
  font-size: clamp(34px, 5vw, 54px);
  line-height: 1.1;
}

.section-heading p {
  margin: 0;
  color: var(--ds-muted);
}

.section-dark .section-heading p {
  color: rgba(255, 255, 255, 0.72);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.service-card {
  position: relative;
  min-height: 260px;
  padding: 28px;
  border: 1px solid var(--ds-border);
  border-radius: var(--ds-radius);
  background: #fff;
  box-shadow: 0 7px 20px rgba(23, 37, 43, 0.06);
}

.service-number {
  display: block;
  margin-bottom: 38px;
  color: var(--ds-teal);
  font-size: 14px;
  font-weight: 900;
}

.service-card h3 {
  margin: 0 0 12px;
  font-size: 23px;
  line-height: 1.2;
}

.service-card p {
  margin: 0;
  color: var(--ds-muted);
  font-size: 15px;
}

.service-card a::after {
  position: absolute;
  inset: 0;
  content: "";
}

.service-card:hover {
  border-color: var(--ds-teal);
  box-shadow: var(--ds-shadow);
  transform: translateY(-3px);
}

.about-grid,
.request-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  align-items: start;
  gap: 70px;
}

.about-copy h2,
.request-copy h2 {
  margin: 0 0 22px;
  font-size: clamp(34px, 5vw, 52px);
  line-height: 1.1;
}

.about-copy p,
.request-copy p {
  color: var(--ds-muted);
}

.benefit-list {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.benefit-list li {
  padding: 20px 22px;
  border-left: 4px solid var(--ds-yellow);
  border-radius: 0 var(--ds-radius) var(--ds-radius) 0;
  background: var(--ds-soft);
  font-weight: 700;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--ds-radius);
  background: rgba(255, 255, 255, 0.14);
}

.step {
  min-height: 260px;
  padding: 30px;
  background: var(--ds-ink);
}

.step strong {
  display: block;
  margin-bottom: 45px;
  color: var(--ds-yellow);
  font-size: 40px;
  line-height: 1;
}

.step h3 {
  margin: 0 0 10px;
  font-size: 21px;
}

.step p {
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 15px;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.testimonial {
  padding: 30px;
  border: 1px solid var(--ds-border);
  border-radius: var(--ds-radius);
  background: #fff;
}

.testimonial blockquote {
  margin: 0 0 22px;
  color: var(--ds-ink);
}

.testimonial footer {
  color: var(--ds-muted);
  font-size: 14px;
}

.testimonial footer strong {
  display: block;
  color: var(--ds-teal-dark);
  font-size: 16px;
}

.request-panel {
  padding: 32px;
  border: 1px solid var(--ds-border);
  border-radius: var(--ds-radius);
  background: #fff;
  box-shadow: var(--ds-shadow);
}

#request {
  scroll-margin-top: 104px;
}

.contact-band {
  border-top: 1px solid var(--ds-border);
  background: #f4f8f7;
}

.contact-band .request-grid {
  align-items: center;
}

.request-copy > :last-child,
.request-panel > :last-child {
  margin-bottom: 0;
}

.request-panel .wpcf7,
.request-panel .wpcf7-form {
  margin: 0;
}

.request-panel .wpcf7-form {
  display: grid;
  gap: 16px;
}

.request-panel .wpcf7-form > p {
  margin: 0;
}

.request-panel label {
  display: block;
  color: var(--ds-ink);
  font-size: 14px;
  font-weight: 800;
}

.request-panel .wpcf7-form-control-wrap {
  display: block;
  margin-top: 7px;
}

.request-panel input:not([type="submit"]),
.request-panel textarea,
.request-panel select {
  width: 100%;
  min-height: 48px;
  margin: 0;
  padding: 12px 14px;
  border: 1px solid #cbd7da;
  border-radius: 6px;
  color: var(--ds-ink);
  background: #fff;
  font: inherit;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.request-panel textarea {
  height: 140px;
  min-height: 140px;
  resize: vertical;
}

.request-panel input:focus,
.request-panel textarea:focus,
.request-panel select:focus {
  border-color: var(--ds-teal);
  outline: 0;
  box-shadow: 0 0 0 3px rgba(23, 107, 114, 0.16);
}

.request-panel input[type="submit"] {
  width: 100%;
  min-height: 50px;
  border: 0;
  border-radius: 6px;
  color: #fff;
  background: var(--ds-teal);
  font-weight: 800;
  cursor: pointer;
  transition: background-color 160ms ease, transform 160ms ease;
}

.request-panel input[type="submit"]:hover {
  background: var(--ds-teal-dark);
}

.request-panel input[type="submit"]:active {
  transform: translateY(1px);
}

.request-panel input[type="submit"]:disabled {
  cursor: wait;
  opacity: 0.7;
}

.request-panel .wpcf7-not-valid {
  border-color: #b42318;
}

.request-panel .wpcf7-not-valid-tip {
  margin-top: 6px;
  color: #b42318;
  font-size: 13px;
  font-weight: 600;
}

.request-panel .wpcf7-response-output {
  margin: 0 !important;
  padding: 12px 14px !important;
  border: 1px solid #d7a72e !important;
  border-radius: 6px;
  color: var(--ds-ink);
  background: #fff8e1;
  font-size: 14px;
}

.request-panel .wpcf7 form.sent .wpcf7-response-output {
  border-color: #3b8d61 !important;
  background: #eaf7ef;
}

.request-panel .wpcf7 form.invalid .wpcf7-response-output,
.request-panel .wpcf7 form.failed .wpcf7-response-output,
.request-panel .wpcf7 form.aborted .wpcf7-response-output {
  border-color: #b42318 !important;
  background: #fff0ee;
}

.request-panel .wpcf7-spinner {
  display: block;
  margin: 10px auto 0;
}

.request-note {
  margin-top: 14px;
  color: var(--ds-muted);
  font-size: 13px;
}

.service-lead {
  padding: 22px 24px;
  margin: 0 0 28px;
  border-left: 4px solid var(--ds-teal);
  background: #f2f7f6;
  font-size: 18px;
  line-height: 1.65;
}

.service-toc {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  padding: 20px;
  margin: 0 0 34px;
  border: 1px solid var(--ds-border);
  border-radius: var(--ds-radius);
  background: #fff;
}

.service-toc strong {
  flex-basis: 100%;
  margin-bottom: 4px;
  color: var(--ds-ink);
}

.service-toc a {
  padding: 7px 10px;
  border-radius: 4px;
  color: var(--ds-teal-dark);
  background: #edf5f4;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.service-toc a:hover {
  color: #fff;
  background: var(--ds-teal);
}

.entry-content section[id] {
  scroll-margin-top: 104px;
}

.service-note {
  padding: 6px 24px 22px;
  margin-block: 32px;
  border: 1px solid #e6d18b;
  border-radius: var(--ds-radius);
  background: #fff9e8;
}

.service-faq h3 {
  padding-top: 16px;
  border-top: 1px solid var(--ds-border);
}

.service-related {
  padding-top: 22px;
  margin-top: 38px;
  border-top: 1px solid var(--ds-border);
}

.service-kicker {
  margin: 0 0 8px;
  color: var(--ds-teal-dark) !important;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.entry-content .service-overview h2,
.entry-content .service-split h2,
.entry-content .service-cost-breakdown h2,
.entry-content .service-area h2 {
  margin-top: 0;
}

.service-overview {
  margin-block: 46px 56px;
}

.service-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 24px;
}

.service-info-card {
  position: relative;
  min-height: 230px;
  padding: 28px;
  overflow: hidden;
  border: 1px solid var(--ds-border);
  border-radius: var(--ds-radius);
  background: #fff;
  box-shadow: 0 12px 32px rgba(18, 46, 51, 0.06);
}

.service-info-card::after {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 64px;
  height: 4px;
  background: var(--ds-teal);
  content: "";
}

.service-card-number {
  display: block;
  margin-bottom: 22px;
  color: var(--ds-teal);
  font-size: 14px;
  font-weight: 800;
}

.entry-content .service-info-card h3 {
  max-width: 310px;
  margin: 0 0 12px;
  font-size: 22px;
}

.service-info-card p:last-child {
  margin-bottom: 0;
}

.service-split {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(260px, 0.75fr);
  gap: 28px;
  padding: 34px;
  margin-block: 48px;
  border: 1px solid var(--ds-border);
  border-radius: var(--ds-radius);
  background: #f7faf9;
}

.service-checklist,
.service-check-panel ul {
  padding: 0;
  margin: 20px 0 0;
  list-style: none;
}

.service-checklist li,
.service-check-panel li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 13px;
}

.service-checklist li::before,
.service-check-panel li::before {
  position: absolute;
  top: 0;
  left: 0;
  color: var(--ds-teal);
  font-weight: 900;
  content: "✓";
}

.service-check-panel {
  padding: 24px;
  border-radius: calc(var(--ds-radius) - 2px);
  color: #fff;
  background: var(--ds-ink);
}

.entry-content .service-check-panel h3 {
  margin: 0;
  color: #fff;
  font-size: 22px;
}

.entry-content .service-check-panel li {
  color: rgba(255, 255, 255, 0.82);
}

.service-cost-breakdown {
  margin-block: 54px;
}

.service-cost-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 24px;
  overflow: hidden;
  border: 1px solid var(--ds-border);
  border-radius: var(--ds-radius);
}

.service-cost-grid > div {
  min-height: 150px;
  padding: 25px;
  border-right: 1px solid var(--ds-border);
  border-bottom: 1px solid var(--ds-border);
  background: #fff;
}

.service-cost-grid > div:nth-child(2n) {
  border-right: 0;
}

.service-cost-grid > div:nth-last-child(-n + 2) {
  border-bottom: 0;
}

.service-cost-grid strong,
.service-cost-grid span {
  display: block;
}

.service-cost-grid strong {
  margin-bottom: 10px;
  color: var(--ds-ink);
  font-size: 18px;
}

.service-cost-grid span {
  color: var(--ds-muted);
}

.service-smallprint {
  padding-left: 18px;
  margin-top: 18px;
  border-left: 3px solid var(--ds-teal);
  color: var(--ds-muted) !important;
  font-size: 14px;
}

.service-area {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 30px;
  padding: 34px;
  margin-block: 48px;
  border-radius: var(--ds-radius);
  background: #eaf3f1;
}

.service-area p:last-child {
  margin-bottom: 0;
}

.service-area .button {
  white-space: nowrap;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 20px;
  padding-bottom: 18px;
  margin-bottom: 26px;
  border-bottom: 1px solid var(--ds-border);
  color: var(--ds-muted);
  font-size: 14px;
}

.article-lead {
  padding: 22px 24px;
  margin: 0 0 30px;
  border-left: 4px solid var(--ds-teal);
  background: #f2f7f6;
  font-size: 18px;
  line-height: 1.65;
}

.article-related {
  padding: 24px;
  margin-top: 42px;
  border: 1px solid var(--ds-border);
  border-radius: var(--ds-radius);
  background: #f7f9f9;
}

.entry-content .article-related h2 {
  margin-top: 0;
  font-size: 25px;
}

.article-related p:last-child {
  margin-bottom: 0;
}

.article-toc {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  padding: 22px;
  margin: 0 0 34px;
  border: 1px solid var(--ds-border);
  border-radius: var(--ds-radius);
  background: #fff;
}

.article-toc strong {
  grid-column: 1 / -1;
  margin-bottom: 4px;
}

.article-toc a {
  display: flex;
  align-items: center;
  min-height: 52px;
  padding: 10px 12px;
  border-radius: 4px;
  color: var(--ds-teal-dark);
  background: #edf5f4;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
  text-decoration: none;
}

.article-toc a:hover {
  color: #fff;
  background: var(--ds-teal);
}

.article-summary {
  padding: 26px 28px;
  margin-block: 34px 48px;
  border-left: 4px solid var(--ds-teal);
  background: #f2f7f6;
}

.entry-content .article-summary h2,
.entry-content .article-practical h2,
.entry-content .article-warning h2,
.entry-content .article-faq h2 {
  margin-top: 0;
}

.article-summary ul,
.article-warning ul {
  margin-bottom: 0;
}

.article-summary li + li,
.article-warning li + li {
  margin-top: 10px;
}

.article-practical {
  margin-block: 48px;
}

.article-fact-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 22px;
}

.article-fact-grid > div {
  padding: 24px;
  border: 1px solid var(--ds-border);
  border-radius: var(--ds-radius);
  background: #fff;
}

.entry-content .article-fact-grid h3 {
  margin: 0 0 12px;
  font-size: 20px;
}

.article-fact-grid p:last-child {
  margin-bottom: 0;
}

.article-warning {
  padding: 28px;
  margin-block: 48px;
  border: 1px solid #e6d18b;
  border-radius: var(--ds-radius);
  background: #fff9e8;
}

.article-faq {
  margin-block: 48px;
}

.article-faq details {
  border-top: 1px solid var(--ds-border);
}

.article-faq details:last-child {
  border-bottom: 1px solid var(--ds-border);
}

.article-faq summary {
  position: relative;
  padding: 18px 42px 18px 0;
  color: var(--ds-ink);
  font-size: 17px;
  font-weight: 750;
  cursor: pointer;
  list-style: none;
}

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

.article-faq summary::after {
  position: absolute;
  top: 17px;
  right: 4px;
  color: var(--ds-teal);
  font-size: 24px;
  line-height: 1;
  content: "+";
}

.article-faq details[open] summary::after {
  content: "−";
}

.article-faq details p {
  max-width: 720px;
  padding: 0 38px 18px 0;
  margin: 0;
}

.archive-description {
  max-width: 760px;
  margin-top: 16px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 17px;
}

.content-header {
  padding-block: 72px;
  color: #fff;
  background: var(--ds-ink);
}

.breadcrumbs {
  margin-bottom: 16px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
}

.breadcrumbs a {
  color: #fff;
}

.content-layout {
  display: grid;
  grid-template-columns: minmax(0, 820px) minmax(240px, 1fr);
  align-items: start;
  gap: 70px;
  padding-block: 70px 100px;
}

.content-main,
.entry-content {
  min-width: 0;
}

.entry-content > *:first-child {
  margin-top: 0;
}

.entry-content h2 {
  margin: 2em 0 0.65em;
  font-size: clamp(28px, 4vw, 38px);
  line-height: 1.2;
}

.entry-content h3 {
  margin: 1.7em 0 0.55em;
  font-size: 25px;
  line-height: 1.25;
}

.entry-content p,
.entry-content li {
  color: #33464d;
}

.entry-content img {
  border-radius: var(--ds-radius);
}

.entry-content table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}

.entry-content th,
.entry-content td {
  padding: 12px 14px;
  border: 1px solid var(--ds-border);
  text-align: left;
  vertical-align: top;
}

.entry-content tr:nth-child(even) {
  background: var(--ds-soft);
}

.content-sidebar {
  position: sticky;
  top: 105px;
  padding: 24px;
  border: 1px solid var(--ds-border);
  border-radius: var(--ds-radius);
  background: var(--ds-soft);
}

.content-sidebar h2 {
  margin: 0 0 14px;
  font-size: 22px;
}

.content-sidebar p {
  color: var(--ds-muted);
  font-size: 14px;
}

.archive-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding-block: 70px 100px;
}

.post-card {
  display: flex;
  min-height: 260px;
  flex-direction: column;
  padding: 26px;
  border: 1px solid var(--ds-border);
  border-radius: var(--ds-radius);
  background: #fff;
}

.post-card time {
  color: var(--ds-muted);
  font-size: 13px;
}

.post-card h2 {
  margin: 18px 0 12px;
  font-size: 24px;
  line-height: 1.25;
}

.post-card p {
  color: var(--ds-muted);
  font-size: 15px;
}

.post-card-link {
  margin-top: auto;
  font-weight: 800;
}

.pagination {
  grid-column: 1 / -1;
  margin-top: 28px;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.page-numbers {
  display: grid;
  min-width: 42px;
  min-height: 42px;
  place-items: center;
  border: 1px solid var(--ds-border);
  border-radius: 5px;
  text-decoration: none;
}

.page-numbers.current {
  border-color: var(--ds-teal);
  color: #fff;
  background: var(--ds-teal);
}

.empty-state {
  padding-block: 100px;
  text-align: center;
}

.empty-state h1 {
  margin: 0 0 16px;
  font-size: clamp(45px, 8vw, 78px);
}

.site-footer {
  color: rgba(255, 255, 255, 0.74);
  background: #101c21;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 70px;
  padding-block: 60px;
}

.footer-brand {
  color: #fff;
}

.site-footer h2 {
  margin: 0 0 16px;
  color: #fff;
  font-size: 18px;
}

.site-footer ul {
  display: grid;
  gap: 8px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.8);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-block: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 14px;
}

@media (max-width: 1080px) {
  .header-inner {
    grid-template-columns: auto auto 1fr;
  }

  .menu-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    display: none;
    width: 100%;
    padding: 16px 20px 24px;
    border-top: 1px solid var(--ds-border);
    background: #fff;
    box-shadow: var(--ds-shadow);
  }

  .site-nav.is-open {
    display: block;
  }

  .site-nav ul {
    display: grid;
    gap: 4px;
  }

  .site-nav a,
  .submenu-toggle {
    display: block;
    width: 100%;
    padding: 10px 0;
    text-align: left;
  }

  .site-nav .sub-menu {
    position: static;
    width: 100%;
    padding: 0 0 6px 16px;
    border: 0;
    box-shadow: none;
  }

  .phone-link {
    display: none;
  }

  .services-grid,
  .steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .content-layout {
    grid-template-columns: 1fr;
  }

  .content-sidebar {
    position: static;
  }

  .archive-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 760px) {
  body.admin-bar .site-header {
    top: 46px;
  }

  .container {
    width: min(calc(100% - 28px), var(--ds-container));
  }

  .header-inner {
    min-height: 68px;
    gap: 12px;
  }

  .brand {
    font-size: 18px;
  }

  .brand-mark {
    width: 34px;
    height: 34px;
    font-size: 14px;
  }

  .header-actions {
    justify-self: end;
  }

  .hero {
    min-height: 620px;
    background-position: calc(50% + 165px) bottom;
    background-size: auto 65%;
  }

  .hero::before {
    background: rgba(13, 31, 37, 0.72);
  }

  .hero-inner {
    align-self: flex-start;
    padding-block: 70px 250px;
  }

  .hero h1 {
    font-size: 46px;
  }

  .hero-copy {
    font-size: 17px;
  }

  .hero-actions .button {
    width: 100%;
  }

  .trust-strip {
    margin-top: 0;
  }

  .trust-grid,
  .services-grid,
  .steps,
  .testimonials-grid,
  .archive-grid {
    grid-template-columns: 1fr;
  }

  .trust-item {
    border-right: 0;
    border-bottom: 1px solid var(--ds-border);
  }

  .trust-item:last-child {
    border-bottom: 0;
  }

  .section {
    padding-block: 68px;
  }

  .section-heading,
  .about-grid,
  .request-grid,
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .request-panel {
    padding: 24px;
  }

  .service-lead,
  .article-lead,
  .article-related,
  .service-note,
  .service-toc {
    padding-inline: 18px;
  }

  .service-toc {
    display: grid;
  }

  .service-card-grid,
  .service-split,
  .service-cost-grid,
  .service-area,
  .article-toc,
  .article-fact-grid {
    grid-template-columns: 1fr;
  }

  .article-toc strong {
    grid-column: auto;
  }

  .article-summary,
  .article-warning,
  .article-fact-grid > div {
    padding: 20px 18px;
  }

  .service-info-card {
    min-height: 0;
  }

  .service-split,
  .service-area {
    padding: 24px 20px;
  }

  .service-cost-grid > div {
    min-height: 0;
    border-right: 0;
    border-bottom: 1px solid var(--ds-border);
  }

  .service-cost-grid > div:nth-last-child(2) {
    border-bottom: 1px solid var(--ds-border);
  }

  .service-area .button {
    width: 100%;
  }

  .service-card,
  .step {
    min-height: 220px;
  }

  .content-header {
    padding-block: 52px;
  }

  .content-layout,
  .archive-grid {
    padding-block: 48px 70px;
  }

  .entry-content .wp-block-table {
    overflow-x: auto;
  }

  .footer-bottom {
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}
