:root {
  --background: #f2f2f2;
  --foreground: #121212;
  --card: #ffffff;
  --primary: #4f5f4f;
  --primary-foreground: #f2f2f2;
  --secondary: #8aa886;
  --secondary-foreground: #121212;
  --muted: #f2f2f2;
  --muted-foreground: #737373;
  --accent: #9eb590;
  --accent-foreground: #121212;
  --border: #e3e3e3;
  --shadow: 0 20px 40px rgba(18, 18, 18, 0.08);
  --radius: 16px;
  --container: 1280px;
  --container-narrow: 900px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Roboto", sans-serif;
  color: var(--foreground);
  background: var(--background);
  overflow-x: clip;
}

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

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

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

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

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

button {
  cursor: pointer;
}

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

.site-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.site-main {
  flex: 1;
}

.container {
  width: min(calc(100% - 2rem), var(--container));
  margin: 0 auto;
}

.container.narrow,
.narrow {
  width: min(calc(100% - 2rem), var(--container-narrow));
  margin-left: auto;
  margin-right: auto;
}

.centered {
  text-align: center;
}

.icon {
  width: 1em;
  height: 1em;
  display: inline-block;
  flex-shrink: 0;
}

.icon-stroke {
  stroke: currentColor;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(10px);
}

.header-inner {
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand-image {
  width: 140px;
  height: auto;
}

.brand-text {
  font-size: 1.15rem;
  font-weight: 700;
}

.header-desktop {
  display: none;
  align-items: center;
  gap: 1.5rem;
}

.desktop-nav ul,
.mobile-nav-wrap ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

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

.desktop-menu a,
.mobile-menu a {
  font-size: 1rem;
  font-weight: 500;
  transition: color 180ms ease, border-color 180ms ease;
}

.desktop-menu li.current-menu-item > a,
.desktop-menu li.current_page_parent > a,
.desktop-menu a:hover {
  color: var(--primary);
}

.desktop-menu li.current-menu-item > a,
.desktop-menu li.current_page_parent > a {
  border-bottom: 2px solid var(--primary);
  padding-bottom: 0.35rem;
}

.menu-toggle {
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  color: var(--foreground);
  padding: 0;
  display: inline-grid;
  place-items: center;
}

.menu-toggle-close {
  display: none;
}

.site-header.menu-open .menu-toggle-open {
  display: none;
}

.site-header.menu-open .menu-toggle-close {
  display: inline-block;
}

.mobile-nav {
  display: none;
  border-top: 1px solid var(--border);
}

.site-header.menu-open .mobile-nav {
  display: block;
}

.mobile-nav-inner {
  padding: 1rem 0;
  display: grid;
  gap: 1rem;
}

.mobile-menu {
  display: grid;
  gap: 0.5rem;
}

.mobile-menu a {
  display: block;
  padding: 0.9rem 0;
}

.mobile-menu li.current-menu-item > a,
.mobile-menu li.current_page_parent > a,
.mobile-menu a:hover {
  color: var(--primary);
}

.hero {
  position: relative;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-position: center;
  background-size: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(18, 18, 18, 0.6);
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  color: var(--primary-foreground);
}

.hero-title,
.section-heading h1,
.section-heading h2,
.cta-block h2,
.service-detail h1,
.empty-state h1 {
  margin: 0 0 1.5rem;
  letter-spacing: -0.02em;
  line-height: 1.1;
  text-wrap: balance;
}

.hero-title {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  max-width: 14ch;
  margin-left: auto;
  margin-right: auto;
}

.hero-subtitle {
  font-size: clamp(1.25rem, 2vw, 2rem);
  line-height: 1.6;
  max-width: 760px;
  margin: 0 auto 2rem;
  color: rgba(242, 242, 242, 0.9);
}

.section {
  padding: 5rem 0;
}

.section-muted {
  background: var(--muted);
}

.section-cta {
  background: var(--primary);
  color: var(--primary-foreground);
}

.section-heading {
  margin-bottom: 3rem;
}

.section-heading h1,
.section-heading h2,
.service-detail h1 {
  font-size: clamp(2.3rem, 4vw, 3.5rem);
}

.section-heading p,
.entry-content p,
.entry-content li,
.service-detail-description,
.hours-row,
.contact-info-item p,
.footer-copy {
  color: var(--muted-foreground);
  line-height: 1.7;
  font-size: 1.05rem;
}

.entry-content p {
  margin-top: 0;
  margin-bottom: 1.5rem;
}

.entry-content ul {
  color: var(--muted-foreground);
  padding-left: 1.25rem;
  line-height: 1.7;
}

.card-grid {
  display: grid;
  gap: 1.5rem;
}

.card-grid-four,
.card-grid-three,
.card-grid-steps {
  grid-template-columns: repeat(1, minmax(0, 1fr));
}

.card-grid-steps {
  gap: 2rem;
}

.service-card,
.pillar-card,
.detail-card,
.form-card,
.hours-card,
.empty-state {
  border-radius: var(--radius);
}

.service-card {
  background: var(--card);
  border: 1px solid var(--border);
  overflow: hidden;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  transition: transform 240ms ease, box-shadow 240ms ease;
}

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

.service-card-media {
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.service-card-image,
.service-detail-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

.service-card h3,
.pillar-card h3,
.step-card h3,
.detail-card h2,
.subheading,
.hours-card h3,
.contact-info-item h3,
.cta-panel h2,
.entry-content h2 {
  margin: 0 0 0.9rem;
  color: var(--foreground);
}

.service-card h3,
.pillar-card h3,
.step-card h3 {
  font-size: 1.25rem;
}

.service-card p,
.pillar-card p,
.step-card p,
.detail-list span,
.cta-panel p,
.empty-state p {
  color: var(--muted-foreground);
  line-height: 1.7;
}

.service-card p {
  margin: 0 0 1rem;
  flex: 1;
}

.service-card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--primary);
  font-size: 0.95rem;
  font-weight: 500;
  transition: gap 180ms ease;
}

.service-card:hover .service-card-link {
  gap: 0.75rem;
}

.section-action {
  margin-top: 3rem;
}

.pillar-card {
  background: rgba(158, 181, 144, 0.1);
  border: 1px solid rgba(158, 181, 144, 0.2);
  padding: 1.5rem;
}

.pillar-icon-box {
  width: 3rem;
  height: 3rem;
  display: inline-grid;
  place-items: center;
  background: var(--accent);
  color: var(--accent-foreground);
  border-radius: 0.75rem;
  margin-bottom: 1rem;
}

.pillar-icon,
.contact-info-icon {
  width: 1.5rem;
  height: 1.5rem;
}

.step-number {
  font-size: clamp(3rem, 6vw, 4.5rem);
  font-weight: 700;
  color: rgba(79, 95, 79, 0.12);
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  border-radius: 12px;
  padding: 0.95rem 1.5rem;
  font-weight: 500;
  border: 1px solid transparent;
  transition: transform 150ms ease, background 180ms ease, color 180ms ease, border-color 180ms ease;
}

.button:active {
  transform: scale(0.98);
}

.button:disabled {
  cursor: not-allowed;
  opacity: 0.65;
  transform: none;
}

.button-large {
  padding: 1.1rem 2rem;
  font-size: 1.05rem;
}

.button-block {
  width: 100%;
}

.button-primary {
  background: var(--primary);
  color: var(--primary-foreground);
}

.button-primary:hover {
  background: #465446;
}

.button-secondary {
  background: var(--background);
  color: var(--foreground);
}

.button-secondary:hover {
  background: #e5e5e5;
}

.button-outline {
  background: transparent;
  color: var(--foreground);
  border-color: var(--border);
}

.button-outline:hover {
  background: #ffffff;
}

.button-icon,
.service-card-icon,
.back-link-icon {
  width: 1.1rem;
  height: 1.1rem;
}

.cta-block p,
.cta-panel p {
  color: rgba(242, 242, 242, 0.9);
  margin-bottom: 2rem;
}

.service-detail-description {
  margin: 0 0 3rem;
}

.service-detail-media {
  margin-bottom: 2rem;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border: 1px solid var(--border);
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--primary);
  margin-bottom: 2rem;
  font-weight: 500;
}

.detail-grid {
  display: grid;
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.detail-card {
  padding: 1.5rem;
  border: 1px solid var(--border);
  background: var(--card);
}

.detail-card-accent {
  background: rgba(158, 181, 144, 0.1);
  border-color: rgba(158, 181, 144, 0.2);
}

.detail-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}

.detail-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.detail-list-icon {
  width: 1.25rem;
  height: 1.25rem;
  margin-top: 0.2rem;
}

.detail-list-icon.accent {
  color: var(--accent);
}

.detail-list-icon.primary {
  color: var(--primary);
}

.cta-panel {
  background: var(--primary);
  color: var(--primary-foreground);
  border-radius: var(--radius);
  padding: 2rem;
}

.contact-grid {
  display: grid;
  gap: 3rem;
}

.contact-info-list {
  display: grid;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

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

.contact-info-icon-box {
  width: 3rem;
  height: 3rem;
  display: inline-grid;
  place-items: center;
  border-radius: 12px;
  background: rgba(79, 95, 79, 0.1);
  color: var(--primary);
  flex-shrink: 0;
}

.hours-card {
  background: rgba(158, 181, 144, 0.1);
  border: 1px solid rgba(158, 181, 144, 0.2);
  padding: 1.5rem;
}

.hours-list {
  display: grid;
  gap: 0.8rem;
}

.hours-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.95rem;
}

.hours-value {
  font-weight: 500;
  color: var(--foreground);
}

.form-card {
  background: var(--card);
  border: 1px solid var(--border);
  padding: 2rem;
}

.contact-form {
  display: grid;
  gap: 1.25rem;
}

.field-group {
  display: grid;
  gap: 0.6rem;
}

.field-group label {
  font-weight: 500;
}

.field-group input,
.field-group select,
.field-group textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 0.95rem 1rem;
  background: var(--background);
  color: var(--foreground);
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.field-group input:focus,
.field-group select:focus,
.field-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(79, 95, 79, 0.12);
}

.flash {
  border-radius: 12px;
  padding: 0.95rem 1rem;
  margin-bottom: 1rem;
  font-weight: 500;
}

.flash-success {
  background: rgba(138, 168, 134, 0.18);
  color: #39513a;
  border: 1px solid rgba(138, 168, 134, 0.35);
}

.flash-error {
  background: rgba(220, 38, 38, 0.08);
  color: #991b1b;
  border: 1px solid rgba(220, 38, 38, 0.2);
}

.site-page .entry-content {
  color: var(--muted-foreground);
}

.site-footer {
  background: var(--primary);
  color: var(--primary-foreground);
  margin-top: auto;
}

.footer-grid {
  display: grid;
  gap: 2rem;
  padding: 3rem 0;
}

.footer-logo {
  width: 120px;
  margin-bottom: 1rem;
}

.footer-copy,
.footer-links a,
.footer-contact-item {
  color: rgba(242, 242, 242, 0.9);
}

.footer-title {
  margin: 0 0 1rem;
  font-size: 1.1rem;
}

.footer-links {
  display: grid;
  gap: 0.55rem;
}

.footer-contact-list {
  display: grid;
  gap: 0.8rem;
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.95rem;
}

.footer-contact-icon {
  width: 1rem;
  height: 1rem;
}

.footer-bottom {
  padding: 1.75rem 0;
  border-top: 1px solid rgba(242, 242, 242, 0.2);
  text-align: center;
  font-size: 0.95rem;
  color: rgba(242, 242, 242, 0.8);
}

.empty-state {
  background: var(--card);
  border: 1px solid var(--border);
  padding: 3rem 2rem;
}

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 500ms ease var(--reveal-delay, 0ms),
    transform 500ms ease var(--reveal-delay, 0ms);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (min-width: 768px) {
  .brand-image {
    width: 180px;
  }

  .footer-grid,
  .contact-grid,
  .detail-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .card-grid-four {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .card-grid-three {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (min-width: 960px) {
  .header-desktop {
    display: flex;
  }

  .menu-toggle,
  .mobile-nav {
    display: none !important;
  }

  .card-grid-four {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .card-grid-three {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .card-grid-steps {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .footer-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
