/* Houston Irrigation Repair
   Editorial / magazine local-service theme
   Brand: Primary Blue · Water Blue · Green · Charcoal
   ---------------------------------------------------- */

:root {
  /* Brand tokens */
  --primary-blue: #1066A7;
  --dark-blue: #0A4C89;
  --water-blue: #3887BE;
  --primary-green: #50A535;
  --dark-green: #2E8530;
  --charcoal: #3F3F3F;
  --white: #FFFFFF;

  /* Theme aliases (components use these) */
  --forest: var(--primary-blue);
  --forest-deep: var(--dark-blue);
  --forest-mid: var(--water-blue);
  --cream: #f0f7fc;
  --cream-dark: #dceaf5;
  --steel: #5a6a75;
  --steel-light: #8a969c;
  --copper: var(--primary-green);
  --copper-hover: var(--dark-green);
  --text: var(--charcoal);
  --muted: #5a5a5a;
  --border: #d0dde8;
  --danger: #9b2c2c;
  --success: var(--dark-green);
  --shadow: 0 16px 48px rgba(10, 76, 137, 0.14);
  --shadow-sm: 0 4px 16px rgba(10, 76, 137, 0.08);
  --radius: 8px;
  --radius-sm: 6px;
  --header-h: 76px;
  --font: "Source Sans 3", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --display: "Source Serif 4", Georgia, "Times New Roman", serif;
  --container: 1200px;
  --mobile-bar: 64px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
  padding-bottom: var(--mobile-bar);
}

@media (min-width: 900px) {
  body {
    padding-bottom: 0;
  }
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--forest);
  text-decoration: none;
  transition: color 0.15s ease;
}

a:hover {
  color: var(--copper);
}

h1, h2, h3, h4 {
  font-family: var(--display);
  line-height: 1.18;
  color: var(--forest-deep);
  margin: 0 0 0.55em;
  font-weight: 700;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.1rem, 4.2vw, 3.15rem); font-weight: 800; }
h2 { font-size: clamp(1.55rem, 2.8vw, 2.2rem); }
h3 { font-size: 1.25rem; }

p { margin: 0 0 1em; }

.container {
  width: min(100% - 2rem, var(--container));
  margin-inline: auto;
}

.narrow { width: min(100% - 2rem, 760px); margin-inline: auto; }
.narrow-lg { width: min(100% - 2rem, 880px); margin-inline: auto; }

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--copper);
  color: var(--white);
  padding: 0.5rem 1rem;
  z-index: 1000;
}

.skip-link:focus { left: 0.5rem; top: 0.5rem; }

.screen-reader-text {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0);
  border: 0;
}

/* Buttons — sharp-ish, not SaaS pills */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.78rem 1.35rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.98rem;
  font-family: var(--font);
  border: 2px solid transparent;
  cursor: pointer;
  transition: 0.15s ease;
  text-align: center;
  text-decoration: none;
  line-height: 1.2;
}

.btn--primary {
  background: var(--copper);
  color: var(--white);
  border-color: var(--copper);
}

.btn--primary:hover {
  background: var(--copper-hover);
  border-color: var(--copper-hover);
  color: var(--white);
}

.btn--outline {
  background: transparent;
  color: var(--forest);
  border-color: var(--forest);
}

.btn--outline:hover {
  background: var(--forest);
  color: var(--cream);
}

.btn--outline-light {
  background: transparent;
  color: var(--cream);
  border-color: rgba(244, 240, 230, 0.65);
}

.btn--outline-light:hover {
  background: var(--cream);
  color: var(--forest-deep);
  border-color: var(--cream);
}

.btn--lg {
  padding: 0.95rem 1.55rem;
  font-size: 1.05rem;
}

.btn--sm {
  padding: 0.45rem 0.9rem;
  font-size: 0.88rem;
}

.btn--block { width: 100%; }
.btn--header-cta { white-space: nowrap; }

/* Eyebrows */
.eyebrow {
  font-family: var(--font);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--copper);
  margin: 0 0 0.75rem;
}

.eyebrow--light { color: #a8d48a; }

.eyebrow-link {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* Sections */
.section {
  padding: 4rem 0;
}

.section--alt {
  background: var(--cream);
}

.section--cream {
  background: linear-gradient(180deg, var(--cream) 0%, #dceaf5 100%);
}

.section-head {
  margin-bottom: 2.25rem;
  max-width: 42rem;
}

.section-head--split {
  display: grid;
  gap: 1rem;
  max-width: none;
  margin-bottom: 2.75rem;
}

@media (min-width: 800px) {
  .section-head--split {
    grid-template-columns: 1.2fr 1fr;
    align-items: end;
  }
}

.section-head__lead {
  color: var(--muted);
  font-size: 1.08rem;
  margin: 0;
}

.section-cta {
  margin-top: 2rem;
  text-align: center;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.header-top {
  background: var(--forest-deep);
  color: rgba(244, 240, 230, 0.85);
  font-size: 0.82rem;
}

.header-top__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  justify-content: space-between;
  align-items: center;
  padding: 0.4rem 0;
}

.header-top__areas {
  display: none;
}

@media (min-width: 900px) {
  .header-top__areas { display: inline; }
}

.header-top__phone {
  color: var(--copper);
  font-weight: 700;
}

.header-top__phone:hover { color: var(--primary-green); }

.header-main__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-h);
  padding: 0.5rem 0;
}

.site-logo-text {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--forest-deep);
  text-decoration: none;
}

.site-logo-text:hover { color: var(--forest); }

.site-logo-text__mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  background: var(--forest);
  color: var(--cream);
  font-family: var(--display);
  font-weight: 800;
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  border-radius: var(--radius-sm);
}

.site-logo-text__name {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.05rem;
  line-height: 1.2;
  max-width: 11rem;
}

.custom-logo-link img {
  max-height: 56px;
  width: auto;
}

.nav-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  padding: 0.5rem;
  cursor: pointer;
}

.nav-toggle__bar {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--forest-deep);
}

@media (min-width: 960px) {
  .nav-toggle { display: none; }
}

.primary-nav {
  display: none;
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 1rem 1.25rem 1.25rem;
  box-shadow: var(--shadow);
}

.primary-nav.is-open { display: block; }

@media (min-width: 960px) {
  .primary-nav {
    display: flex;
    position: static;
    align-items: center;
    gap: 0.35rem 1.1rem;
    padding: 0;
    border: 0;
    box-shadow: none;
    background: transparent;
  }
}

.nav-menu {
  list-style: none;
  margin: 0 0 1rem;
  padding: 0;
}

@media (min-width: 960px) {
  .nav-menu {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.15rem 1.15rem;
    margin: 0;
  }
}

.nav-menu a {
  display: block;
  padding: 0.55rem 0;
  color: var(--text);
  font-weight: 600;
  font-size: 0.95rem;
}

.nav-menu a:hover { color: var(--copper); }

@media (min-width: 960px) {
  .nav-menu a { padding: 0.35rem 0; }
}

/* Magazine hero */
.hero--magazine {
  background: var(--forest-deep);
  color: var(--cream);
  position: relative;
  overflow: hidden;
}

.hero__stage {
  position: relative;
  min-height: clamp(520px, 78vh, 720px);
}

.hero__photo-wrap {
  position: absolute;
  inset: 0;
}

.hero__photo-wrap--fallback {
  background:
    radial-gradient(ellipse at 70% 40%, rgba(184, 115, 51, 0.25), transparent 50%),
    linear-gradient(135deg, var(--forest-deep), var(--forest-mid));
}

.hero__photo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__photo-scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(15, 40, 34, 0.92) 0%, rgba(15, 40, 34, 0.72) 42%, rgba(15, 40, 34, 0.35) 70%, rgba(15, 40, 34, 0.55) 100%);
}

.hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 2rem;
  padding: 3.5rem 0 3rem;
  align-items: center;
}

@media (min-width: 960px) {
  .hero__grid {
    grid-template-columns: 1.15fr 0.85fr;
    padding: 4.5rem 0 4rem;
    gap: 2.5rem;
  }
}

.hero__content h1 {
  color: var(--cream);
  max-width: 16ch;
}

.hero__lead {
  color: rgba(244, 240, 230, 0.88);
  font-size: 1.12rem;
  max-width: 38rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 1.5rem 0 1.25rem;
}

.hero__trust {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.4rem;
  color: rgba(244, 240, 230, 0.8);
  font-size: 0.92rem;
}

.hero__trust li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.hero__trust li::before {
  content: "";
  width: 0.35rem;
  height: 0.65rem;
  border: solid var(--primary-green);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
  flex-shrink: 0;
  margin-top: -0.15rem;
}

.hero__card {
  background: var(--cream);
  color: var(--text);
  border-radius: var(--radius);
  padding: 1.5rem 1.35rem 1.35rem;
  box-shadow: var(--shadow);
  border: 1px solid rgba(244, 240, 230, 0.2);
}

.hero__card h2 {
  font-size: 1.45rem;
  margin-bottom: 0.35em;
}

.hero__card-kicker {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--copper);
  margin: 0 0 0.35rem;
}

.hero__card--diagnostic {
  border-top: 3px solid var(--copper);
}

/* Process strip */
.process-strip {
  background: var(--white);
  padding: 3.5rem 0;
  border-bottom: 1px solid var(--border);
}

.process-strip__head {
  margin-bottom: 2rem;
  max-width: 36rem;
}

.process-strip__track {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}

@media (min-width: 900px) {
  .process-strip__track {
    grid-template-columns: 1fr 1fr 1fr 0.9fr;
    gap: 1.25rem;
    align-items: stretch;
  }
}

.process-strip__step {
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem 1.15rem;
  display: grid;
  gap: 0.65rem;
  grid-template-columns: auto 1fr;
  align-items: start;
}

.process-strip__step h3 {
  font-size: 1.1rem;
  margin-bottom: 0.3em;
}

.process-strip__step p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.process-strip__num {
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.35rem;
  color: var(--copper);
  line-height: 1;
}

.process-strip__step--media {
  padding: 0;
  overflow: hidden;
  display: block;
  min-height: 160px;
}

.process-strip__img {
  width: 100%;
  height: 100%;
  min-height: 180px;
  object-fit: cover;
}

/* Service rows (alternating) */
.service-row {
  display: grid;
  gap: 1.5rem;
  margin-bottom: 3rem;
  align-items: center;
}

@media (min-width: 860px) {
  .service-row {
    grid-template-columns: 1.05fr 1fr;
    gap: 2.5rem;
  }
  .service-row--reverse .service-row__media { order: 2; }
  .service-row--reverse .service-row__body { order: 1; padding-left: 1rem; }
}

.service-row__media {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
}

.service-row__img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.service-row__body h3 {
  font-size: clamp(1.4rem, 2.2vw, 1.85rem);
}

.service-row__body h3 a {
  color: inherit;
  text-decoration: none;
}

.service-row__body h3 a:hover { color: var(--copper); }

.service-grid-mini {
  display: grid;
  gap: 0.85rem;
  margin-top: 1rem;
}

@media (min-width: 700px) {
  .service-grid-mini {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1000px) {
  .service-grid-mini {
    grid-template-columns: repeat(4, 1fr);
  }
}

.service-chip {
  display: block;
  padding: 1rem 1.05rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: inherit;
  text-decoration: none;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.service-chip:hover {
  border-color: var(--forest);
  box-shadow: var(--shadow-sm);
  color: inherit;
}

.service-chip span {
  display: block;
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--forest-deep);
  margin-bottom: 0.35rem;
}

.service-chip small {
  display: block;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.45;
}

/* Stats band */
.stats-band {
  background: var(--forest);
  color: var(--cream);
  padding: 2.5rem 0;
}

.stats-band__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  text-align: center;
}

@media (min-width: 800px) {
  .stats-band__grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.stats-band strong {
  display: block;
  font-family: var(--display);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 800;
  color: var(--cream);
  line-height: 1.1;
}

.stats-band span {
  font-size: 0.92rem;
  color: rgba(244, 240, 230, 0.8);
}

/* Why split */
.why-split {
  display: grid;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 900px) {
  .why-split {
    grid-template-columns: 1fr 1.05fr;
    gap: 3rem;
  }
}

.why-split__media {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

.why-split__img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

/* County preview */
.county-preview {
  display: grid;
  gap: 1.15rem;
}

@media (min-width: 700px) {
  .county-preview {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1100px) {
  .county-preview--editorial {
    grid-template-columns: repeat(3, 1fr);
  }
}

.county-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.35rem 1.25rem;
  border-left: 3px solid var(--forest);
}

.section--alt .county-card,
.section .county-card {
  background: var(--cream);
}

.section--alt .county-card {
  background: var(--white);
}

.county-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.4em;
}

.county-card p {
  color: var(--muted);
  font-size: 0.95rem;
}

.county-card__sample {
  font-size: 0.9rem !important;
}

.county-card__sample a {
  color: var(--forest);
  font-weight: 600;
}

.county-card__link {
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--copper);
}

/* FAQ */
.faq-list {
  display: grid;
  gap: 0.75rem;
}

.faq-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.15rem 1rem;
}

.section--alt .faq-item {
  background: var(--cream);
}

.faq-item summary {
  cursor: pointer;
  font-weight: 700;
  font-family: var(--display);
  padding: 0.95rem 0;
  list-style: none;
  color: var(--forest-deep);
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: "+";
  float: right;
  color: var(--copper);
  font-weight: 700;
  font-family: var(--font);
}

.faq-item[open] summary::after { content: "–"; }

.faq-item p {
  color: var(--muted);
  padding-bottom: 1rem;
  margin: 0;
}

/* Final CTA */
.final-cta {
  background: var(--forest-deep);
  color: var(--cream);
  padding: 4rem 0;
}

.final-cta h2 { color: var(--cream); max-width: 18ch; }

.final-cta p { color: rgba(244, 240, 230, 0.85); max-width: 36rem; }

.final-cta__inner {
  display: grid;
  gap: 1.75rem;
}

@media (min-width: 800px) {
  .final-cta__inner {
    grid-template-columns: 1.4fr 1fr;
    align-items: center;
  }
}

.final-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* Page hero */
.page-hero {
  background: var(--cream);
  padding: 2.75rem 0 2.25rem;
  border-bottom: 1px solid var(--border);
}

.page-hero__lead {
  color: var(--muted);
  font-size: 1.1rem;
  max-width: 42rem;
  margin-bottom: 1.25rem;
}

.page-hero__with-media {
  display: grid;
  gap: 1.75rem;
  align-items: center;
}

@media (min-width: 900px) {
  .page-hero__with-media {
    grid-template-columns: 1.2fr 0.8fr;
  }
}

.page-hero__media {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
}

.page-hero__media-img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

/* Cards */
.cards-grid {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 700px) {
  .cards-grid--services {
    grid-template-columns: repeat(2, 1fr);
  }
  .cards-grid--blog {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1000px) {
  .cards-grid--services.cards-grid--photo {
    grid-template-columns: repeat(3, 1fr);
  }
  .cards-grid--blog {
    grid-template-columns: repeat(3, 1fr);
  }
}

.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: box-shadow 0.15s, border-color 0.15s;
}

.service-card:hover {
  box-shadow: var(--shadow-sm);
  border-color: var(--steel-light);
}

.service-card__media {
  display: block;
  overflow: hidden;
}

.service-card__img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.service-card:hover .service-card__img {
  transform: scale(1.03);
}

.service-card__body {
  padding: 1.15rem 1.2rem 1.3rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.service-card h2 {
  font-size: 1.2rem;
  margin-bottom: 0.45em;
}

.service-card h2 a {
  color: inherit;
  text-decoration: none;
}

.service-card h2 a:hover { color: var(--copper); }

.service-card p {
  color: var(--muted);
  font-size: 0.95rem;
  flex: 1;
}

.service-card__link {
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--copper);
  margin-top: 0.5rem;
}

.blog-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.blog-card__body {
  padding: 1.15rem 1.2rem 1.3rem;
}

.blog-card__meta {
  font-size: 0.85rem;
  color: var(--steel);
  margin-bottom: 0.35rem;
}

.blog-card__title {
  font-size: 1.2rem;
}

.blog-card__title a {
  color: inherit;
  text-decoration: none;
}

.blog-card__title a:hover { color: var(--copper); }

/* Content layouts */
.content-split {
  display: grid;
  gap: 2rem;
}

@media (min-width: 960px) {
  .content-split {
    grid-template-columns: 1fr 340px;
    align-items: start;
    gap: 2.75rem;
  }
}

.content-article h2 {
  margin-top: 1.75rem;
}

.content-article ul,
.content-article ol {
  margin: 0 0 1.25rem;
  padding-left: 1.25rem;
}

.check-list {
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 0;
}

.check-list li {
  position: relative;
  padding: 0.45rem 0 0.45rem 1.85rem;
  color: var(--text);
  line-height: 1.5;
}

/* Real checkmarks (not empty boxes) */
.check-list li::before {
  content: "";
  position: absolute;
  left: 0.2rem;
  top: 0.55rem;
  width: 0.4rem;
  height: 0.75rem;
  border: solid var(--primary-green);
  border-width: 0 2.5px 2.5px 0;
  transform: rotate(45deg);
  box-sizing: border-box;
  background: transparent;
}

.process-list {
  margin: 0 0 1.5rem;
  padding-left: 1.25rem;
}

.process-list li {
  margin-bottom: 0.5rem;
  color: var(--muted);
}

.service-cta-box {
  background: var(--cream);
  border: 1px solid var(--border);
  border-left: 3px solid var(--copper);
  border-radius: var(--radius);
  padding: 1.35rem 1.35rem 1.15rem;
  margin: 2rem 0 1rem;
}

.service-cta-box h2 {
  font-size: 1.35rem;
}

.hir-media {
  margin: 0 0 1.5rem;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
}

.hir-media--content img,
.hir-media img {
  width: 100%;
}

.hir-media figcaption {
  font-size: 0.88rem;
  color: var(--muted);
  padding: 0.5rem 0.75rem;
  background: var(--cream);
}

/* Sidebar */
.sidebar-card {
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.35rem 1.25rem;
  box-shadow: var(--shadow-sm);
}

.sidebar-card h3 {
  font-size: 1.25rem;
}

@media (min-width: 960px) {
  .sidebar-card--sticky {
    position: sticky;
    top: calc(var(--header-h) + 1.5rem);
  }
}

/* Forms */
.contact-form .form-row {
  margin-bottom: 0.85rem;
}

.contact-form label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 0.3rem;
  color: var(--text);
}

.contact-form input[type="text"],
.contact-form input[type="tel"],
.contact-form input[type="email"],
.contact-form textarea {
  width: 100%;
  padding: 0.7rem 0.8rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font: inherit;
  background: var(--white);
  color: var(--text);
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 2px solid var(--forest);
  outline-offset: 1px;
  border-color: var(--forest);
}

.form-row--check label {
  font-weight: 500;
  display: flex;
  gap: 0.55rem;
  align-items: flex-start;
}

.form-note {
  font-size: 0.85rem;
  color: var(--muted);
  margin: 0.75rem 0 0;
}

.form-note a { font-weight: 600; }

.req { color: var(--copper); }

.hp-field {
  position: absolute !important;
  left: -9999px;
  height: 0;
  overflow: hidden;
}

.form-alert {
  padding: 0.85rem 1rem;
  border-radius: var(--radius-sm);
  margin-bottom: 1rem;
  font-size: 0.95rem;
}

.form-alert--success {
  background: #e6f4ec;
  color: var(--success);
  border: 1px solid #b7dfc8;
}

.form-alert--error {
  background: #fdecec;
  color: var(--danger);
  border: 1px solid #f0c0c0;
}

/* Areas */
.area-search-wrap {
  margin-bottom: 2rem;
}

.area-filter {
  width: 100%;
  max-width: 420px;
  padding: 0.85rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font: inherit;
  background: var(--white);
}

.county-block {
  margin-bottom: 2.5rem;
  scroll-margin-top: 6rem;
}

.county-block__head {
  margin-bottom: 1rem;
  max-width: 40rem;
}

.area-chips {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.area-chip a {
  display: inline-block;
  padding: 0.45rem 0.85rem;
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--forest-deep);
}

.area-chip a:hover {
  border-color: var(--forest);
  color: var(--copper);
}

.area-chip.is-hidden { display: none; }

.area-empty {
  color: var(--muted);
  font-style: italic;
}

/* Interlinks */
.interlinks {
  display: grid;
  gap: 2rem;
}

.interlinks__title {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.interlinks__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.35rem;
}

.interlinks__list--wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 0.65rem;
}

.interlinks__list a {
  font-weight: 600;
  color: var(--forest);
}

.interlinks__list--wrap a {
  display: inline-block;
  padding: 0.35rem 0.7rem;
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
}

.interlinks__more {
  margin-top: 0.85rem;
  font-weight: 600;
}

/* Breadcrumbs */
.breadcrumbs {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 0.65rem 0;
  font-size: 0.88rem;
}

.breadcrumbs__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 0.35rem;
  align-items: center;
}

.breadcrumbs__item {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--muted);
}

.breadcrumbs__sep { color: var(--steel-light); }

.breadcrumbs__current { color: var(--text); font-weight: 600; }

/* Footer */
.site-footer {
  background: var(--forest-deep);
  color: rgba(244, 240, 230, 0.88);
}

.footer-cta {
  background: var(--forest);
  padding: 2.5rem 0;
  border-bottom: 1px solid rgba(244, 240, 230, 0.1);
}

.footer-cta h2 {
  color: var(--cream);
  font-size: clamp(1.4rem, 2.5vw, 1.85rem);
}

.footer-cta p { color: rgba(244, 240, 230, 0.85); margin-bottom: 0; }

.footer-cta__inner {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 800px) {
  .footer-cta__inner {
    grid-template-columns: 1.4fr auto;
    align-items: center;
  }
}

.footer-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.footer-main {
  padding: 3rem 0 2rem;
}

.footer-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 700px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1000px) {
  .footer-grid {
    grid-template-columns: 1.3fr 1fr 1fr 1fr;
  }
}

.footer-col h3 {
  color: var(--cream);
  font-size: 1.1rem;
  margin-bottom: 0.85rem;
}

.footer-col p,
.footer-nap {
  font-size: 0.92rem;
  color: rgba(244, 240, 230, 0.78);
}

.footer-nap a,
.footer-col a {
  color: #d4a574;
}

.footer-nap a:hover,
.footer-col a:hover {
  color: var(--cream);
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-links li { margin-bottom: 0.4rem; }

.footer-links a {
  font-size: 0.92rem;
  color: rgba(244, 240, 230, 0.8);
}

.footer-bottom {
  border-top: 1px solid rgba(244, 240, 230, 0.12);
  padding: 1.1rem 0 1.35rem;
  font-size: 0.85rem;
}

.footer-bottom__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  justify-content: space-between;
  align-items: center;
}

.footer-bottom p { margin: 0; color: rgba(244, 240, 230, 0.65); }

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
}

.footer-legal a {
  color: rgba(244, 240, 230, 0.7);
  font-size: 0.85rem;
}

/* Mobile call bar */
.mobile-call-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 90;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  min-height: var(--mobile-bar);
  background: var(--copper);
  color: var(--white);
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 -4px 20px rgba(15, 40, 34, 0.2);
}

.mobile-call-bar:hover { color: var(--white); background: var(--copper-hover); }

.mobile-call-bar span {
  font-size: 0.82rem;
  font-weight: 600;
  opacity: 0.9;
}

@media (min-width: 900px) {
  .mobile-call-bar { display: none; }
}

/* Cookie banner */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 120;
  background: var(--forest-deep);
  color: var(--cream);
  border-top: 1px solid rgba(244, 240, 230, 0.15);
  padding: 1rem;
  box-shadow: 0 -8px 30px rgba(0, 0, 0, 0.25);
}

body.has-cookie-banner {
  padding-bottom: calc(var(--mobile-bar) + 100px);
}

@media (min-width: 900px) {
  body.has-cookie-banner { padding-bottom: 0; }
  .cookie-banner { bottom: 0; }
}

.cookie-banner__inner {
  width: min(100%, var(--container));
  margin: 0 auto;
  display: grid;
  gap: 1rem;
}

@media (min-width: 800px) {
  .cookie-banner__inner {
    grid-template-columns: 1fr auto;
    align-items: center;
  }
}

.cookie-banner__text p {
  margin: 0.35rem 0 0;
  font-size: 0.9rem;
  color: rgba(244, 240, 230, 0.8);
}

.cookie-banner__text a { color: #d4a574; }

.cookie-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

/* Pagination */
.navigation.pagination {
  margin-top: 2rem;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
}

.page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.4rem;
  height: 2.4rem;
  padding: 0 0.65rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-weight: 600;
  color: var(--forest);
}

.page-numbers.current,
.page-numbers:hover {
  background: var(--forest);
  color: var(--cream);
  border-color: var(--forest);
}

/* Utility */
.site-main { min-height: 40vh; }

/* Accessibility helpers */
:focus-visible {
  outline: 3px solid var(--copper, #b87333);
  outline-offset: 2px;
}
.btn:focus-visible,
.cookie-banner button:focus-visible,
a:focus-visible {
  outline: 3px solid var(--copper, #b87333);
  outline-offset: 2px;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
.content-article :where(h2, h3) { scroll-margin-top: 5rem; }
.footer-legal a:focus-visible { outline-color: #fff; }


/* Blog preview grid (homepage) + post interlinks */
.blog-preview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}
.blog-preview-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0,0,0,.08);
  display: flex;
  flex-direction: column;
}
.blog-preview-card__media img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}
.blog-preview-card__body {
  padding: 1rem 1.15rem 1.25rem;
}
.blog-preview-card__body h3 {
  font-size: 1.05rem;
  margin: 0 0 .5rem;
  line-height: 1.35;
}
.blog-preview-card__body h3 a {
  text-decoration: none;
  color: inherit;
}
.blog-preview-card__body h3 a:hover {
  color: var(--hir-blue, #0b5cab);
}
.interlinks {
  margin: 2rem 0 1.5rem;
  padding: 1.25rem 1.35rem;
  background: var(--hir-cream, #f4f7f5);
  border-radius: 12px;
}
.interlinks h2 {
  margin-top: 0;
  font-size: 1.25rem;
}
.content-article .interlinks__list {
  margin-bottom: 0;
}
