/*
 * styles.css — Honey-Do Handyman Services
 * Built from design-direction.md
 * Palette: Burnt Orange / Warm Walnut / Porch Cream
 * Typography: Young Serif + Outfit
 */

/* ============================================================
   Design Tokens
   ============================================================ */
:root {
  --color-primary: #BF5700;
  --color-primary-dark: #8C3F00;
  --color-primary-light: #E8C4A0;
  --color-secondary: #5C4A3A;
  --color-accent: #D4722C;
  --color-bg: #F5F0E8;
  --color-bg-tinted: #F0EBE3;
  --color-surface: #FFFDF9;
  --color-text: #2D2520;
  --color-text-secondary: #6B5E54;
  --color-text-on-primary: #FFFDF9;
  --color-border: #D9D0C5;
  --font-primary: 'Young Serif', serif;
  --font-secondary: 'Outfit', sans-serif;
  --font-size-base: 17px;
  --spacing-base: 8px;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 12px;
}

/* ============================================================
   Base Reset
   ============================================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-secondary);
  background-color: var(--color-bg);
  color: var(--color-text);
  line-height: 1.65;
  font-size: var(--font-size-base);
  padding-bottom: 42px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: var(--color-primary-dark);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--color-accent);
}

/* Focus states — WCAG AA */
:focus-visible {
  outline: 3px solid var(--color-accent);
  outline-offset: 2px;
}

button:focus-visible {
  outline: 3px solid var(--color-accent);
  outline-offset: 2px;
}

h1, h2, h3, h4 {
  font-family: var(--font-primary);
  font-weight: 400;
  color: var(--color-text);
}

h1 {
  font-size: 56px;
  line-height: 1.1;
  letter-spacing: -0.015em;
}

h2 {
  font-size: 40px;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

h3 {
  font-size: 28px;
  line-height: 1.2;
  letter-spacing: -0.005em;
}

p {
  margin-bottom: 1em;
}

p:last-child {
  margin-bottom: 0;
}

/* ============================================================
   Utility
   ============================================================ */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 5%;
}

.h2-underline {
  position: relative;
  display: inline-block;
}

.h2-underline::after {
  content: '';
  display: block;
  width: 40px;
  height: 3px;
  background: var(--color-primary);
  margin-top: 8px;
}

.h2-underline--center::after {
  margin-left: auto;
  margin-right: auto;
}

/* ============================================================
   Buttons
   ============================================================ */
.btn {
  display: inline-block;
  font-family: var(--font-secondary);
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  border-radius: var(--radius-sm);
  padding: 14px 28px;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
  cursor: pointer;
  border: none;
  line-height: 1.2;
}

.btn--primary {
  background: var(--color-primary);
  color: var(--color-text-on-primary);
}

.btn--primary:hover {
  background: var(--color-primary-dark);
  color: var(--color-text-on-primary);
}

.btn--outline {
  background: transparent;
  color: var(--color-primary);
  border: 1px solid var(--color-primary);
}

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

.btn--outline-light {
  background: transparent;
  color: var(--color-text-on-primary);
  border: 1px solid var(--color-text-on-primary);
}

.btn--outline-light:hover {
  background: rgba(255, 253, 249, 0.15);
  color: var(--color-text-on-primary);
}

.btn--sm {
  font-size: 14px;
  padding: 10px 20px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* ============================================================
   Navigation Header
   ============================================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: 72px;
  display: flex;
  align-items: center;
  padding: 0 24px;
  transition: height 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
}

.site-header.scrolled {
  height: 56px;
  background: rgba(245, 240, 232, 0.95);
  border-bottom: 1px solid var(--color-border);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1300px;
  margin: 0 auto;
}

.site-header__logo img {
  height: 40px;
  width: auto;
  transition: height 0.3s ease;
}

.site-header.scrolled .site-header__logo img {
  height: 32px;
}

.site-header__nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.site-header__links {
  display: flex;
  gap: 28px;
  list-style: none;
}

.site-header__links a {
  font-family: var(--font-secondary);
  font-size: 15px;
  font-weight: 500;
  color: var(--color-text);
  text-decoration: none;
  padding-bottom: 4px;
  border-bottom: 3px solid transparent;
  transition: border-color 0.2s ease;
}

.site-header__links a:hover {
  border-bottom-color: var(--color-primary);
  color: var(--color-text);
}

.site-header__links a.active {
  border-bottom-color: var(--color-primary);
}

.site-header__cta {
  font-family: var(--font-secondary);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--color-primary);
  border: 1px solid var(--color-primary);
  border-radius: var(--radius-sm);
  padding: 8px 16px;
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.site-header__cta:hover {
  background: var(--color-primary);
  color: var(--color-text-on-primary);
}

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: var(--color-text);
  font-size: 24px;
}

/* Mobile nav panel */
.mobile-nav {
  display: none;
  position: fixed;
  top: 0;
  right: -100%;
  width: 280px;
  height: 100vh;
  background: var(--color-bg);
  z-index: 1001;
  padding: 80px 32px 32px;
  transition: right 0.3s ease;
  box-shadow: -4px 0 24px rgba(45, 37, 32, 0.1);
}

.mobile-nav.open {
  right: 0;
}

.mobile-nav__links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.mobile-nav__links a {
  font-family: var(--font-secondary);
  font-size: 18px;
  font-weight: 500;
  color: var(--color-text);
  text-decoration: none;
  padding-bottom: 4px;
  border-bottom: 2px solid transparent;
}

.mobile-nav__links a.active {
  border-bottom-color: var(--color-primary);
}

.mobile-nav__cta {
  display: inline-block;
  margin-top: 32px;
}

.mobile-nav__close {
  position: absolute;
  top: 24px;
  right: 24px;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: var(--color-text);
  padding: 8px;
}

.mobile-nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(45, 37, 32, 0.4);
  z-index: 1000;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.mobile-nav-overlay.open {
  opacity: 1;
}

/* ============================================================
   Hero Section — index.html
   ============================================================ */
.hero {
  min-height: 90vh;
  display: flex;
  align-items: stretch;
  position: relative;
  padding-top: 72px;
  background: var(--color-bg);
}

.hero__text {
  width: 45%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 80px 5% 60px;
  max-width: 560px;
  min-width: 0;
  position: relative;
  z-index: 2;
}

.hero__headline {
  font-family: var(--font-primary);
  font-size: 64px;
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--color-text);
  margin-bottom: 20px;
}

.hero__subtext {
  font-size: 18px;
  color: var(--color-text-secondary);
  margin-bottom: 32px;
  line-height: 1.5;
}

.hero__image-wrap {
  width: 55%;
  position: relative;
  overflow: hidden;
  border-radius: 12px 0 0 12px;
  margin-left: -40px;
}

.hero__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 60% 50%;
}

/* ============================================================
   Services Snapshot — index.html
   ============================================================ */
.services-snapshot {
  background: var(--color-surface);
  padding: 100px 5% 80px;
}

.services-snapshot__heading {
  text-align: center;
  margin-bottom: 60px;
}

.services-snapshot__heading h2 {
  display: inline-block;
}

.services-snapshot__grid {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-bottom: 40px;
}

.service-moment {
  width: 240px;
  flex-shrink: 0;
  border-radius: 8px;
  overflow: hidden;
  position: relative;
  transition: transform 0.3s ease;
}

.service-moment:nth-child(odd) {
  transform: translateY(0);
}

.service-moment:nth-child(even) {
  transform: translateY(24px);
}

.service-moment:hover {
  transform: scale(1.03);
}

.service-moment:nth-child(even):hover {
  transform: translateY(24px) scale(1.03);
}

.service-moment__image {
  width: 100%;
  height: 320px;
  object-fit: cover;
  display: block;
}

.service-moment__label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(245, 240, 232, 0.9);
  padding: 8px 12px;
  font-family: var(--font-secondary);
  font-size: 14px;
  font-weight: 600;
  color: var(--color-text);
  text-align: center;
  transition: opacity 0.3s ease;
}

.services-snapshot__link {
  text-align: center;
}

.services-snapshot__link a {
  font-family: var(--font-secondary);
  font-size: 16px;
  font-weight: 500;
  color: var(--color-primary-dark);
  text-decoration: none;
  transition: color 0.2s ease;
}

.services-snapshot__link a:hover {
  color: var(--color-accent);
}

/* ============================================================
   About Teaser — index.html
   ============================================================ */
.about-teaser {
  background: var(--color-bg-tinted);
  padding: 100px 5%;
}

.about-teaser__inner {
  display: flex;
  align-items: center;
  gap: 5%;
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
}

.about-teaser__text {
  width: 60%;
  min-width: 0;
}

.about-teaser__quote {
  font-family: var(--font-primary);
  font-size: 44px;
  line-height: 1.15;
  color: var(--color-text);
  margin-bottom: 24px;
}

.about-teaser__body {
  font-size: 17px;
  color: var(--color-text-secondary);
  margin-bottom: 20px;
  max-width: 50ch;
}

.about-teaser__link {
  font-size: 16px;
  font-weight: 500;
  color: var(--color-primary-dark);
}

.about-teaser__link:hover {
  text-decoration: underline;
  color: var(--color-accent);
}

.about-teaser__rule {
  position: absolute;
  left: 62%;
  top: 20%;
  bottom: 20%;
  width: 2px;
  background: var(--color-primary);
}

.about-teaser__image-wrap {
  width: 35%;
}

.about-teaser__image {
  width: 100%;
  border-radius: var(--radius-lg);
  object-fit: cover;
  aspect-ratio: 3/4;
}

/* ============================================================
   Community CTA — index.html
   ============================================================ */
.community-cta {
  position: relative;
  min-height: 480px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.community-cta__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.community-cta__panel {
  position: relative;
  z-index: 2;
  width: 45%;
  background: rgba(245, 240, 232, 0.92);
  padding: 60px;
  border-radius: 0 16px 16px 0;
  margin-left: 5%;
}

.community-cta__panel h2 {
  font-size: 36px;
  margin-bottom: 16px;
}

.community-cta__panel p {
  font-size: 17px;
  color: var(--color-text-secondary);
  margin-bottom: 28px;
}

/* ============================================================
   Footer
   ============================================================ */
.site-footer {
  background: var(--color-secondary);
  padding: 60px 5% 32px;
}

.site-footer__inner {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 40px;
  max-width: 1100px;
  margin: 0 auto;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 253, 249, 0.15);
}

.site-footer__brand p {
  font-size: 14px;
  color: var(--color-primary-light);
  margin-top: 12px;
  line-height: 1.5;
}

.site-footer__brand img {
  height: 32px;
  width: auto;
  /* Light version rendering via brightness filter */
  filter: brightness(0) invert(1);
}

.site-footer__nav h4 {
  font-family: var(--font-secondary);
  font-size: 14px;
  font-weight: 600;
  color: var(--color-text-on-primary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 16px;
}

.site-footer__nav ul {
  list-style: none;
}

.site-footer__nav li {
  margin-bottom: 10px;
}

.site-footer__nav a {
  font-size: 14px;
  font-weight: 500;
  color: var(--color-text-on-primary);
  text-decoration: none;
  transition: text-decoration 0.2s ease;
}

.site-footer__nav a:hover {
  text-decoration: underline;
}

.site-footer__contact h4 {
  font-family: var(--font-secondary);
  font-size: 14px;
  font-weight: 600;
  color: var(--color-text-on-primary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 16px;
}

.site-footer__contact p {
  font-size: 15px;
  color: var(--color-text-on-primary);
  margin-bottom: 8px;
  line-height: 1.5;
}

.site-footer__contact .footer-phone {
  font-size: 17px;
  font-weight: 600;
  color: var(--color-text-on-primary);
  text-decoration: none;
  transition: color 0.2s ease;
}

.site-footer__contact .footer-phone:hover {
  color: var(--color-accent);
}

.site-footer__contact .footer-detail {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.site-footer__contact .footer-detail i {
  color: var(--color-primary-light);
  font-size: 16px;
}

.site-footer__bottom {
  max-width: 1100px;
  margin: 0 auto;
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.site-footer__bottom p {
  font-size: 12px;
  color: var(--color-border);
}

.site-footer__bottom a {
  color: var(--color-border);
  text-decoration: none;
}

.site-footer__bottom a:hover {
  text-decoration: underline;
}

/* ============================================================
   Services Page — Header
   ============================================================ */
.services-header {
  padding: 192px 5% 60px;
  text-align: center;
  background: var(--color-bg);
}

.services-header h1 {
  margin-bottom: 20px;
}

.services-header p {
  font-size: 20px;
  line-height: 1.6;
  color: var(--color-text-secondary);
  max-width: 55ch;
  margin: 0 auto 60px;
}

.services-header__divider {
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  height: 1px;
  background: var(--color-border);
}

/* ============================================================
   Service Blocks — services.html
   ============================================================ */
.service-block {
  padding: 100px 5%;
  position: relative;
}

.service-block--surface {
  background: var(--color-surface);
}

.service-block--tinted {
  background: var(--color-bg-tinted);
}

/* Diagonal clip-path transition for tinted blocks */
.service-block--tinted {
  clip-path: polygon(0 16px, 100% 0, 100% calc(100% - 16px), 0 100%);
  margin-top: -16px;
  margin-bottom: -16px;
  padding-top: 116px;
  padding-bottom: 116px;
}

.service-block__inner {
  display: flex;
  align-items: flex-start;
  gap: 8%;
  max-width: 1100px;
  margin: 0 auto;
}

.service-block--reverse .service-block__inner {
  flex-direction: row-reverse;
}

.service-block__image-wrap {
  width: 42%;
  flex-shrink: 0;
}

.service-block__image {
  width: 100%;
  border-radius: var(--radius-md);
  object-fit: cover;
  aspect-ratio: 16/10;
}

.service-block__text {
  width: 50%;
  min-width: 0;
  padding-top: 3%;
}

.service-block__text h3 {
  margin-bottom: 8px;
}

.service-block__text .h3-mark {
  display: block;
  width: 40px;
  height: 3px;
  background: var(--color-primary);
  margin-bottom: 20px;
}

.service-block__text p {
  font-size: 17px;
  color: var(--color-text-secondary);
  margin-bottom: 24px;
  max-width: 50ch;
}

.service-block__text a {
  font-size: 15px;
  font-weight: 500;
  color: var(--color-primary-dark);
}

.service-block__text a:hover {
  text-decoration: underline;
  color: var(--color-accent);
}

/* ============================================================
   Open-Ended CTA — services.html
   ============================================================ */
.open-cta {
  background: var(--color-secondary);
  padding: 160px 5%;
  text-align: center;
}

.open-cta__inner {
  max-width: 560px;
  margin: 0 auto;
}

.open-cta h2 {
  font-size: 36px;
  color: var(--color-text-on-primary);
  margin-bottom: 16px;
}

.open-cta p {
  font-size: 17px;
  color: var(--color-primary-light);
  margin-bottom: 32px;
  line-height: 1.6;
}

/* ============================================================
   About Page — Story Hero
   ============================================================ */
.about-hero {
  padding-top: 72px;
}

.about-hero__image {
  width: 100%;
  height: 50vh;
  object-fit: cover;
  object-position: center 30%;
}

.about-story {
  padding: 80px 5%;
  background: var(--color-bg);
}

.about-story__inner {
  max-width: 640px;
  margin: 0 auto;
}

.about-story__first-line {
  font-family: var(--font-primary);
  font-size: 26px;
  line-height: 1.3;
  color: var(--color-text);
  margin-bottom: 28px;
}

.about-story__inner p {
  font-size: 17px;
  color: var(--color-text-secondary);
  line-height: 1.65;
  margin-bottom: 28px;
  max-width: 65ch;
}

/* ============================================================
   About Page — Values
   ============================================================ */
.about-values {
  background: var(--color-surface);
  padding: 100px 5%;
}

.about-values__inner {
  max-width: 800px;
  margin: 0 auto;
}

.about-value {
  margin-bottom: 80px;
  opacity: 0;
  transform: translateX(-20px);
  animation: slideInValue 0.6s ease forwards;
}

.about-value:nth-child(1) {
  margin-left: 10%;
  animation-delay: 0ms;
}

.about-value:nth-child(2) {
  margin-left: 15%;
  animation-delay: 150ms;
}

.about-value:nth-child(3) {
  margin-left: 20%;
  margin-bottom: 0;
  animation-delay: 300ms;
}

@keyframes slideInValue {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.about-value__marker {
  width: 16px;
  height: 14px;
  background: var(--color-primary);
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  margin-bottom: 12px;
}

.about-value__label {
  font-family: var(--font-primary);
  font-size: 24px;
  color: var(--color-text);
  margin-bottom: 8px;
}

.about-value__desc {
  font-size: 17px;
  color: var(--color-text-secondary);
  max-width: 45ch;
}

/* Values animation trigger via IntersectionObserver */
.about-value.animate {
  animation-play-state: running;
}

.about-value {
  animation-play-state: paused;
}

/* ============================================================
   About Page — Service Area
   ============================================================ */
.service-area {
  background: var(--color-bg-tinted);
  padding: 100px 5%;
}

.service-area__inner {
  display: flex;
  align-items: center;
  gap: 8%;
  max-width: 1100px;
  margin: 0 auto;
}

.service-area__text {
  width: 45%;
  min-width: 0;
}

.service-area__text h2 {
  margin-bottom: 8px;
}

.service-area__text .h2-mark {
  display: block;
  width: 40px;
  height: 3px;
  background: var(--color-primary);
  margin-bottom: 24px;
}

.service-area__text p {
  font-size: 17px;
  color: var(--color-text-secondary);
  margin-bottom: 20px;
  max-width: 45ch;
}

.service-area__text a {
  font-size: 15px;
  font-weight: 500;
  color: var(--color-primary-dark);
}

.service-area__text a:hover {
  text-decoration: underline;
  color: var(--color-accent);
}

.service-area__image-wrap {
  width: 50%;
}

.service-area__image {
  width: 100%;
  border-radius: var(--radius-lg);
  object-fit: cover;
  aspect-ratio: 3/2;
}

/* ============================================================
   Contact Page — Form Section
   ============================================================ */
.contact-section {
  padding: 152px 5% 100px;
  background: var(--color-bg);
}

.contact-section__inner {
  display: flex;
  gap: 5%;
  max-width: 1100px;
  margin: 0 auto;
  align-items: stretch;
}

.contact-section__form-wrap {
  width: 55%;
  min-width: 0;
}

.contact-section__intro {
  font-size: 18px;
  color: var(--color-text);
  margin-bottom: 32px;
}

.contact-form {
  background: var(--color-surface);
  padding: 48px;
  border-radius: var(--radius-lg);
}

.contact-form__group {
  margin-bottom: 28px;
}

.contact-form__group label {
  display: block;
  font-family: var(--font-secondary);
  font-size: 14px;
  font-weight: 600;
  color: var(--color-text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 8px;
}

.contact-form__group input,
.contact-form__group textarea {
  width: 100%;
  font-family: var(--font-secondary);
  font-size: 17px;
  color: var(--color-text);
  background: transparent;
  border: none;
  border-bottom: 2px solid var(--color-border);
  padding: 12px 0;
  transition: border-color 0.2s ease;
  outline: none;
}

.contact-form__group input:focus,
.contact-form__group textarea:focus {
  border-bottom-color: var(--color-primary);
}

.contact-form__group textarea {
  resize: vertical;
  min-height: 100px;
  line-height: 1.5;
}

.contact-form__submit {
  margin-top: 8px;
}

.contact-section__image-wrap {
  width: 40%;
}

.contact-section__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-lg);
  object-position: center 30%;
}

/* ============================================================
   Direct Call Block — contact.html
   ============================================================ */
.direct-call {
  background: var(--color-text);
  padding: 100px 5%;
  text-align: center;
}

.direct-call__phone {
  font-family: var(--font-primary);
  font-size: 48px;
  color: var(--color-accent);
  text-decoration: none;
  display: block;
  margin-bottom: 16px;
  transition: text-decoration 0.2s ease;
}

.direct-call__phone:hover {
  text-decoration: underline;
  color: var(--color-accent);
}

.direct-call__hours {
  font-size: 16px;
  color: var(--color-border);
  margin-bottom: 8px;
}

.direct-call__assurance {
  font-size: 15px;
  color: var(--color-primary-light);
}

/* ============================================================
   404 Page
   ============================================================ */
.error-page {
  min-height: 80vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 5%;
}

.error-page h1 {
  font-size: 72px;
  margin-bottom: 16px;
  color: var(--color-primary);
}

.error-page p {
  font-size: 18px;
  color: var(--color-text-secondary);
  margin-bottom: 32px;
  max-width: 45ch;
}

/* ============================================================
   Responsive — Tablet
   ============================================================ */
@media (max-width: 968px) {
  .hero {
    flex-direction: column;
    min-height: auto;
  }

  .hero__text {
    width: 100%;
    max-width: 100%;
    padding: 100px 6% 40px;
  }

  .hero__headline {
    font-size: 52px;
    line-height: 1.05;
  }

  .hero__image-wrap {
    width: 100%;
    height: 60vh;
    margin-left: 0;
    border-radius: 0;
  }

  .services-snapshot__grid {
    flex-wrap: nowrap;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    justify-content: flex-start;
    padding: 0 16px 16px;
    gap: 16px;
  }

  .service-moment {
    min-width: 200px;
    scroll-snap-align: start;
  }

  .about-teaser__inner {
    flex-direction: column;
    gap: 40px;
  }

  .about-teaser__text {
    width: 100%;
  }

  .about-teaser__quote {
    font-size: 36px;
  }

  .about-teaser__rule {
    display: none;
  }

  .about-teaser__image-wrap {
    width: 60%;
  }

  .community-cta__panel {
    width: 80%;
    margin-left: auto;
    margin-right: auto;
    border-radius: 16px;
  }

  /* Services page */
  .service-block__inner {
    flex-direction: column;
    gap: 32px;
  }

  .service-block--reverse .service-block__inner {
    flex-direction: column;
  }

  .service-block__image-wrap {
    width: 100%;
  }

  .service-block__text {
    width: 100%;
    padding-top: 0;
  }

  .service-block--tinted {
    clip-path: none;
    margin-top: 0;
    margin-bottom: 0;
    padding-top: 100px;
    padding-bottom: 100px;
  }

  /* About page */
  .service-area__inner {
    flex-direction: column;
    gap: 40px;
  }

  .service-area__text {
    width: 100%;
  }

  .service-area__image-wrap {
    width: 100%;
  }

  .about-value:nth-child(1),
  .about-value:nth-child(2),
  .about-value:nth-child(3) {
    margin-left: 0;
  }

  /* Contact page */
  .contact-section__inner {
    flex-direction: column;
    gap: 40px;
  }

  .contact-section__form-wrap {
    width: 100%;
  }

  .contact-section__image-wrap {
    width: 100%;
    height: 300px;
  }

  .contact-section__image {
    height: 300px;
  }

  .direct-call__phone {
    font-size: 36px;
  }

  /* Footer */
  .site-footer__inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .site-footer__bottom {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }
}

/* ============================================================
   Responsive — Mobile
   ============================================================ */
@media (max-width: 640px) {
  .site-header__links {
    display: none;
  }

  .site-header__cta {
    display: none;
  }

  .nav-toggle {
    display: block;
  }

  .mobile-nav {
    display: block;
  }

  h1 {
    font-size: 40px;
  }

  h2 {
    font-size: 32px;
  }

  .hero__headline {
    font-size: 44px;
  }

  .hero__text {
    padding: 96px 6% 32px;
  }

  .hero__image-wrap {
    height: 50vh;
  }

  .services-snapshot {
    padding: 60px 5% 60px;
  }

  .services-snapshot__grid {
    gap: 12px;
  }

  .service-moment {
    min-width: 180px;
    width: 180px;
  }

  .service-moment__image {
    height: 240px;
  }

  .service-moment:nth-child(even) {
    transform: translateY(16px);
  }

  .service-moment:nth-child(even):hover {
    transform: translateY(16px) scale(1.03);
  }

  .about-teaser {
    padding: 60px 6%;
  }

  .about-teaser__quote {
    font-size: 30px;
  }

  .about-teaser__image-wrap {
    width: 80%;
  }

  .community-cta {
    min-height: 400px;
  }

  .community-cta__panel {
    width: 92%;
    padding: 40px 24px;
    border-radius: 12px;
  }

  .community-cta__panel h2 {
    font-size: 28px;
  }

  /* Services page */
  .services-header {
    padding: 140px 6% 40px;
  }

  .services-header h1 {
    font-size: 36px;
  }

  .service-block {
    padding: 60px 6%;
  }

  .service-block--tinted {
    padding: 76px 6%;
  }

  .open-cta {
    padding: 80px 6%;
  }

  .open-cta h2 {
    font-size: 28px;
  }

  /* About page */
  .about-story {
    padding: 48px 6%;
  }

  .about-story__first-line {
    font-size: 22px;
  }

  .about-values {
    padding: 60px 6%;
  }

  .about-value {
    margin-bottom: 48px;
  }

  .service-area {
    padding: 60px 6%;
  }

  /* Contact page */
  .contact-section {
    padding: 120px 5% 60px;
  }

  .contact-form {
    padding: 32px 24px;
  }

  .direct-call {
    padding: 60px 5%;
  }

  .direct-call__phone {
    font-size: 32px;
  }

  /* Footer */
  .site-footer {
    padding: 40px 6% 24px;
  }
}

/* ============================================================
   Parallax helper
   ============================================================ */
.parallax-wrap {
  overflow: hidden;
}

.parallax-img {
  transition: transform 0.1s linear;
}
