/* ================================================================
   Ackerville Lawn & Garden — Custom Styles
   Typography: Plus Jakarta Sans (headings) + DM Sans (body)
   ================================================================ */

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
img, svg { display: block; max-width: 100%; }
button { cursor: pointer; border: none; background: none; font: inherit; color: inherit; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }

/* ── Custom Properties ── */
:root {
  --bg:          #fafaf8;
  --bg-alt:      #f0efe8;
  --bg-card:     #ffffff;
  --bg-dark:     #1a2e1f;
  --text:        #1a1f16;
  --text-muted:  #5a6352;
  --text-faint:  #8b9480;
  --primary:     #2D6A4F;
  --primary-rgb: 45, 106, 79;
  --primary-light: #d1e7dd;
  --accent:      #c9922e;
  --accent-light: #fdf0d5;
  --border:      #ddd9cc;
  --border-light:#eae6da;

  --font-heading: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-body:    'DM Sans', system-ui, -apple-system, sans-serif;

  --space-xs:  0.5rem;
  --space-sm:  0.75rem;
  --space-md:  1rem;
  --space-lg:  1.5rem;
  --space-xl:  2.5rem;
  --space-2xl: 4rem;
  --space-3xl: 6rem;
  --space-4xl: 8rem;

  --section-py: clamp(4rem, 8vw, 7rem);

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;

  --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --duration: 0.3s;
}

/* ── Dark Mode ── */
html.dark {
  --bg:          #0f1210;
  --bg-alt:      #171d17;
  --bg-card:     #1c231c;
  --bg-dark:     #0a120d;
  --text:        #e4e8e0;
  --text-muted:  #9ca896;
  --text-faint:  #6b7766;
  --primary:     #4ade80;
  --primary-rgb: 74, 222, 128;
  --primary-light: rgba(74, 222, 128, 0.1);
  --accent:      #f0c65a;
  --accent-light: rgba(240, 198, 90, 0.08);
  --border:      #2a332a;
  --border-light:#222b22;
}

/* ── Base ── */
body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  transition: background var(--duration) var(--ease), color var(--duration) var(--ease);
  -webkit-font-smoothing: antialiased; padding-bottom: 2.25rem; }

/* ── Typography ── */
h1, h2, h3, h4, h5 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.15;
  color: var(--text);
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); font-weight: 800; }
h2 { font-size: clamp(1.75rem, 4vw, 2.75rem); }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.5rem); }

p { max-width: 65ch; }

.eyebrow {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: var(--space-sm);
}

/* ── Layout ── */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 2.5rem);
}

.container--narrow { max-width: 800px; }
.container--wide   { max-width: 1400px; }

section {
  padding: var(--section-py) 0;
}

/* ── Scroll Animations ── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.35s; }
.reveal-delay-5 { transition-delay: 0.4s; }

/* ================================================================
   HEADER / NAV
   ================================================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: var(--space-md) 0;
  transition: background var(--duration) var(--ease), box-shadow var(--duration) var(--ease), padding var(--duration) var(--ease);
}

/* Before scroll on dark-hero pages — force white text for contrast */
.has-dark-hero .site-header:not(.scrolled) .nav__logo-main,
.has-dark-hero .site-header:not(.scrolled) .nav__link,
.has-dark-hero .site-header:not(.scrolled) .nav__hamburger span {
  color: #fff;
}

.has-dark-hero .site-header:not(.scrolled) .nav__logo-sub {
  color: rgba(255,255,255,0.6);
}

.has-dark-hero .site-header:not(.scrolled) .nav__link:hover {
  color: #fff;
  background: rgba(255,255,255,0.1);
}

.has-dark-hero .site-header:not(.scrolled) .nav__theme-toggle {
  color: rgba(255,255,255,0.7);
}

.has-dark-hero .site-header:not(.scrolled) .nav__theme-toggle:hover {
  color: #fff;
  background: rgba(255,255,255,0.1);
}

.has-dark-hero .site-header:not(.scrolled) .nav__cta {
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.25);
}

.site-header.scrolled {
  background: rgba(250, 250, 248, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--border-light);
  padding: var(--space-sm) 0;
}

html.dark .site-header.scrolled {
  background: rgba(15, 18, 16, 0.92);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-lg);
}

.nav__logo {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.nav__logo-main {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
}

.nav__logo-sub {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--primary);
}

.nav__links {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
}

.nav__link {
  padding: 0.5rem 0.85rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  border-radius: var(--radius-sm);
  transition: color var(--duration) var(--ease), background var(--duration) var(--ease);
}

.nav__link:hover {
  color: var(--text);
  background: var(--bg-alt);
}

.nav__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.55rem 1.1rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: #fff;
  background: var(--primary);
  border-radius: var(--radius-sm);
  transition: opacity var(--duration) var(--ease), transform 0.15s var(--ease);
}

.nav__cta:hover { opacity: 0.88; }
.nav__cta:active { transform: scale(0.97); }

.nav__cta svg { width: 14px; height: 14px; }

.nav__theme-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  color: var(--text-muted);
  transition: background var(--duration) var(--ease), color var(--duration) var(--ease);
}
.nav__theme-toggle:hover { background: var(--bg-alt); color: var(--text); }
.nav__theme-toggle svg { width: 18px; height: 18px; }

/* Sun/moon toggle */
.icon-sun  { display: none; }
.icon-moon { display: block; }
html.dark .icon-sun  { display: block; }
html.dark .icon-moon { display: none; }

/* Mobile nav toggle */
.nav__hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  padding: 6px;
}
.nav__hamburger span {
  display: block;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform var(--duration) var(--ease), opacity var(--duration) var(--ease);
}
.nav__hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav__hamburger.open span:nth-child(2) { opacity: 0; }
.nav__hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Mobile drawer */
.nav__drawer {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: var(--bg);
  z-index: 99;
  padding: 5rem 2rem 2rem;
  flex-direction: column;
  gap: 0.25rem;
}
.nav__drawer.open { display: flex; }

.nav__drawer-link {
  display: block;
  padding: 0.9rem 0;
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text);
  border-bottom: 1px solid var(--border-light);
}

.nav__drawer-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: var(--space-lg);
  padding: 1rem;
  font-weight: 600;
  color: #fff;
  background: var(--primary);
  border-radius: var(--radius-md);
  text-align: center;
  font-size: 1.1rem;
}

@media (max-width: 768px) {
  .nav__links,
  .nav__cta,
  .nav__theme-toggle { display: none; }
  .nav__hamburger { display: flex; }
}

/* ================================================================
   HERO — Dark background with photo, bold and direct
   ================================================================ */
.hero {
  position: relative;
  padding: calc(var(--section-py) + 5rem) 0 0;
  background: var(--bg-dark);
  color: #fff;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('https://images.pexels.com/photos/4162016/pexels-photo-4162016.jpeg?auto=compress&cs=tinysrgb&w=1600') center/cover no-repeat;
  opacity: 0.18;
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 680px;
  margin-bottom: var(--space-2xl);
}

.hero .eyebrow { color: rgba(255,255,255,0.5); }

.hero__title {
  margin-bottom: var(--space-lg);
  color: #fff;
  text-wrap: balance;
}

.hero__title em {
  font-style: normal;
  color: var(--accent);
}

.hero__description {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.75);
  margin-bottom: var(--space-xl);
  max-width: 52ch;
  line-height: 1.7;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-lg);
}

.hero .btn--primary {
  background: #fff;
  color: var(--bg-dark);
}

.hero .btn--primary:hover { opacity: 0.9; }

.hero__phone {
  font-family: var(--font-heading);
  font-size: clamp(1.3rem, 3vw, 1.75rem);
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.01em;
  transition: opacity var(--duration) var(--ease);
}

.hero__phone:hover { opacity: 0.7; }

/* Hero bottom band — key info strip */
.hero__band {
  position: relative;
  z-index: 2;
  background: rgba(0,0,0,0.25);
  margin-top: var(--space-2xl);
  padding: var(--space-lg) 0;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.hero__band-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-xl);
  flex-wrap: wrap;
}

.hero__band-item {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  color: rgba(255,255,255,0.7);
  font-size: 0.88rem;
  font-weight: 500;
}

.hero__band-item svg {
  width: 18px;
  height: 18px;
  color: var(--primary);
  flex-shrink: 0;
}

html.dark .hero__band-item svg { color: var(--primary); }

@media (max-width: 768px) {
  .hero { padding-top: calc(var(--section-py) + 3rem); }
  .hero__band-inner { flex-direction: column; align-items: flex-start; gap: var(--space-md); }
}

/* ================================================================
   BUTTONS
   ================================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.8rem 1.6rem;
  border-radius: var(--radius-sm);
  transition: all var(--duration) var(--ease);
  white-space: nowrap;
}

.btn svg { width: 16px; height: 16px; }

.btn--primary {
  color: #fff;
  background: var(--primary);
}
.btn--primary:hover { opacity: 0.88; transform: translateY(-1px); }

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

.btn--ghost {
  color: var(--primary);
  padding: 0.8rem 0;
}
.btn--ghost:hover { opacity: 0.7; }

/* ================================================================
   SERVICES — Featured + compact list, not uniform card grid
   ================================================================ */
.services { background: var(--bg-alt); }

.services__header {
  max-width: 600px;
  margin-bottom: var(--space-2xl);
}

.services__header h2 { margin-bottom: var(--space-md); }

.services__header p {
  color: var(--text-muted);
  font-size: 1.05rem;
}

/* Featured service — larger, full width */
.service-featured {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
  align-items: center;
  margin-bottom: var(--space-2xl);
  padding-bottom: var(--space-2xl);
  border-bottom: 1px solid var(--border-light);
}

.service-featured__content h3 {
  font-size: clamp(1.4rem, 3vw, 1.8rem);
  margin-bottom: var(--space-md);
}

.service-featured__content p {
  font-size: 1.02rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.service-featured__visual {
  border-radius: var(--radius-lg);
  aspect-ratio: 4/3;
  overflow: hidden;
}

.service-featured__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-lg);
}

/* Remaining services — compact two-column list */
.services__list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}

.service-item {
  padding: var(--space-lg) var(--space-xl) var(--space-lg) 0;
  border-bottom: 1px solid var(--border-light);
}

.service-item:nth-child(even) {
  padding-left: var(--space-xl);
  padding-right: 0;
  border-left: 1px solid var(--border-light);
}

.service-item__title {
  font-size: 1.1rem;
  margin-bottom: var(--space-xs);
}

.service-item__desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

@media (max-width: 768px) {
  .service-featured { grid-template-columns: 1fr; }
  .service-featured__visual { display: none; }
  .services__list { grid-template-columns: 1fr; }
  .service-item { padding-right: 0 !important; padding-left: 0 !important; border-left: none !important; }
}

/* ================================================================
   PHOTO STRIP — Equipment gallery between services and testimonials
   ================================================================ */
.photo-strip {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  overflow: hidden;
}

.photo-strip__item {
  aspect-ratio: 3/2;
  overflow: hidden;
}

.photo-strip__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease), filter 0.5s var(--ease);
  filter: grayscale(0.3);
}

.photo-strip__item:hover img {
  transform: scale(1.06);
  filter: grayscale(0);
}

@media (max-width: 768px) {
  .photo-strip { grid-template-columns: repeat(3, 1fr); }
  .photo-strip__item:nth-child(n+4) { display: none; }
}

@media (max-width: 480px) {
  .photo-strip { grid-template-columns: repeat(2, 1fr); }
  .photo-strip__item:nth-child(n+3) { display: none; }
}

/* ================================================================
   TESTIMONIALS — Large pull-quote + smaller quotes, no stars
   ================================================================ */
.testimonials {
  background: var(--bg);
  position: relative;
}

.testimonials::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(to bottom, var(--primary), var(--accent));
  opacity: 0.5;
}

.testimonials__header {
  margin-bottom: var(--space-2xl);
}

.testimonials__header h2 { margin-bottom: var(--space-md); }

/* Featured (first) testimonial — large pull-quote */
.testimonial-featured {
  margin-bottom: var(--space-2xl);
  padding-bottom: var(--space-2xl);
  padding-left: var(--space-xl);
  border-left: 3px solid var(--primary);
  border-bottom: 1px solid var(--border-light);
}

.testimonial-featured__quote {
  font-family: var(--font-heading);
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 700;
  line-height: 1.4;
  color: var(--text);
  margin-bottom: var(--space-lg);
  max-width: 48ch;
  position: relative;
}

.testimonial-featured__quote::before {
  content: '\201C';
  color: var(--primary);
  opacity: 0.2;
  font-size: 6rem;
  font-family: Georgia, serif;
  line-height: 0.5;
  position: absolute;
  top: -0.3rem;
  left: -0.5rem;
}

.testimonial-featured__author {
  font-weight: 700;
  font-size: 0.95rem;
}

.testimonial-featured__role {
  font-size: 0.82rem;
  color: var(--text-faint);
}

/* Smaller testimonials — inline, not cards */
.testimonials__rest {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
}

.testimonial-sm__quote {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--text-muted);
  margin-bottom: var(--space-md);
  font-style: italic;
}

.testimonial-sm__author {
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--text);
}

.testimonial-sm__role {
  font-size: 0.78rem;
  color: var(--text-faint);
}

/* Accent bar on small testimonials */
.testimonials__rest > div {
  padding-left: var(--space-lg);
  border-left: 2px solid var(--border-light);
  transition: border-color var(--duration) var(--ease);
}
.testimonials__rest > div:hover { border-left-color: var(--accent); }

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

/* ================================================================
   PROCESS — Simple inline numbered steps, not a card grid
   ================================================================ */
.process { background: var(--bg-alt); }

.process__inner {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: var(--space-2xl);
  align-items: start;
}

.process__header h2 { margin-bottom: var(--space-md); }
.process__header p { color: var(--text-muted); font-size: 1.05rem; }

.process__steps {
  counter-reset: step;
}

.process-step {
  counter-increment: step;
  display: flex;
  gap: var(--space-lg);
  padding: var(--space-lg) 0;
  border-bottom: 1px solid var(--border-light);
}

.process-step:last-child { border-bottom: none; }

.process-step__number {
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--primary);
  min-width: 2rem;
  padding-top: 0.15rem;
}

.process-step__title {
  font-size: 1.05rem;
  margin-bottom: 0.3rem;
}

.process-step__desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

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

/* ================================================================
   FAQ
   ================================================================ */
.faq__header {
  max-width: 600px;
  margin-bottom: var(--space-2xl);
}

.faq__header h2 { margin-bottom: var(--space-md); }

.faq__list {
  max-width: 800px;
}

.faq-item {
  border-bottom: 1px solid var(--border-light);
}

.faq-item__question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  width: 100%;
  padding: var(--space-lg) 0;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 600;
  text-align: left;
  color: var(--text);
  transition: color var(--duration) var(--ease);
}

.faq-item__question:hover { color: var(--primary); }

.faq-item__icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  transition: transform var(--duration) var(--ease);
  color: var(--text-faint);
}

.faq-item.open .faq-item__icon {
  transform: rotate(45deg);
  color: var(--primary);
}

.faq-item__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease), padding 0.4s var(--ease);
}

.faq-item__answer-inner {
  padding-bottom: var(--space-lg);
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ================================================================
   CTA SECTION
   ================================================================ */
.cta-section {
  background: var(--primary);
  color: #fff;
  text-align: center;
}

.cta-section .eyebrow { color: rgba(255,255,255,0.6); }
.cta-section h2 { color: #fff; margin-bottom: var(--space-md); }
.cta-section p { color: rgba(255,255,255,0.8); margin: 0 auto var(--space-xl); font-size: 1.1rem; }

.cta-section .btn--primary {
  background: #fff;
  color: var(--primary);
}
html.dark .cta-section .btn--primary { color: #1a1f16; }

.cta-section .btn--outline {
  border-color: rgba(255,255,255,0.3);
  color: #fff;
}
.cta-section .btn--outline:hover {
  border-color: #fff;
  background: rgba(255,255,255,0.1);
}

.cta-section__phone {
  display: block;
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 4vw, 2.2rem);
  font-weight: 800;
  color: #fff;
  margin-bottom: var(--space-lg);
  letter-spacing: -0.01em;
}

.cta-section__phone:hover { opacity: 0.85; }

/* ================================================================
   ABOUT PAGE
   ================================================================ */
.about-hero {
  padding-top: calc(var(--section-py) + 4rem);
}

.about-hero__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
  align-items: start;
}

.about-hero__text h1 { margin-bottom: var(--space-lg); }

.about-hero__prose {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.8;
}

.about-hero__prose p { margin-bottom: var(--space-lg); }
.about-hero__prose p:last-child { margin-bottom: 0; }

.about-hero__visual {
  border-radius: var(--radius-lg);
  aspect-ratio: 4/3;
  overflow: hidden;
  position: sticky;
  top: calc(var(--section-py) + 2rem);
}

.about-hero__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-lg);
}

.values {
  background: var(--bg-alt);
}

.values__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
}

.value-card {
  padding: var(--space-xl);
}

.value-card__title {
  font-size: 1.15rem;
  margin-bottom: var(--space-sm);
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.value-card__title svg {
  width: 20px; height: 20px;
  color: var(--primary);
  flex-shrink: 0;
}

.value-card__desc {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.65;
}

@media (max-width: 768px) {
  .about-hero__grid { grid-template-columns: 1fr; }
  .about-hero__visual { position: static; }
  .values__grid { grid-template-columns: 1fr; }
}

/* ================================================================
   CONTACT PAGE
   ================================================================ */
.contact-section {
  padding-top: calc(var(--section-py) + 4rem);
}

.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
  align-items: start;
}

.contact__info h1 { margin-bottom: var(--space-md); }

.contact__desc {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-bottom: var(--space-xl);
  line-height: 1.7;
}

.contact__details { display: flex; flex-direction: column; gap: var(--space-lg); }

.contact__detail {
  display: flex;
  gap: var(--space-md);
  align-items: flex-start;
}

.contact__detail-icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-light);
  border-radius: var(--radius-md);
  color: var(--primary);
}

.contact__detail-icon svg { width: 18px; height: 18px; }

.contact__detail-label {
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-faint);
  margin-bottom: 0.2rem;
}

.contact__detail-value {
  font-size: 1rem;
  color: var(--text);
}

.contact__detail-value a {
  color: var(--primary);
  transition: opacity var(--duration) var(--ease);
}

.contact__detail-value a:hover { opacity: 0.7; }

/* Form */
.contact__form-card {
  background: var(--bg-alt);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
}

.contact__form-title {
  font-size: 1.25rem;
  margin-bottom: var(--space-lg);
}

.form-group {
  margin-bottom: var(--space-md);
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
  color: var(--text);
}

.form-group label .required { color: #e53e3e; }

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 0.7rem 0.9rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text);
  background: var(--bg-card);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  transition: border-color var(--duration) var(--ease), box-shadow var(--duration) var(--ease);
  outline: none;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(var(--primary-rgb), 0.1);
}

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

.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%236b7280' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 6l3.5 4 3.5-4z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  padding-right: 2.5rem;
}

.form-submit {
  width: 100%;
  margin-top: var(--space-md);
}

.form-message {
  margin-top: var(--space-md);
  padding: var(--space-md);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 500;
  display: none;
}

.form-message--success {
  display: block;
  background: var(--primary-light);
  color: var(--primary);
}

.form-message--error {
  display: block;
  background: #fef2f2;
  color: #dc2626;
}

html.dark .form-message--error {
  background: rgba(220, 38, 38, 0.1);
}

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

/* ================================================================
   FOOTER
   ================================================================ */
.site-footer {
  background: var(--bg-alt);
  border-top: 1px solid var(--border-light);
  padding: var(--space-2xl) 0 calc(var(--space-xl) + 3rem);
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: var(--space-2xl);
  margin-bottom: var(--space-2xl);
}

.footer__brand-name {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.15rem;
  margin-bottom: var(--space-sm);
}

.footer__brand-tagline {
  font-size: 0.88rem;
  color: var(--text-muted);
  max-width: 300px;
  line-height: 1.6;
}

.footer__heading {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: var(--space-md);
  color: var(--text-faint);
}

.footer__link {
  display: block;
  padding: 0.3rem 0;
  font-size: 0.9rem;
  color: var(--text-muted);
  transition: color var(--duration) var(--ease);
}

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

.footer__bottom {
  padding-top: var(--space-lg);
  border-top: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--text-faint);
}

.footer__theme-toggle {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  color: var(--text-faint);
  transition: color var(--duration) var(--ease);
}
.footer__theme-toggle:hover { color: var(--text); }
.footer__theme-toggle svg { width: 14px; height: 14px; }

@media (max-width: 768px) {
  .footer__grid { grid-template-columns: 1fr; gap: var(--space-xl); }
  .footer__bottom { flex-direction: column; gap: var(--space-sm); text-align: center; }
}

/* ================================================================
   UTILITIES
   ================================================================ */
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

.text-center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }

/* ── Disclaimer Bar ── */
.disclaimer-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 101;
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  padding: 0.7rem 0;
  font-size: 0.82rem;
  color: var(--text-muted);
  text-align: center;
  box-shadow: 0 -2px 12px rgba(0,0,0,0.08);
}

.disclaimer-bar strong {
  color: var(--accent);
  font-weight: 700;
}

/* ── Subtle Animations (respects motion preferences) ── */
@media (prefers-reduced-motion: no-preference) {
  .hero__title em {
    display: inline-block;
    animation: gentle-glow 4s ease-in-out infinite alternate;
  }

  @keyframes gentle-glow {
    from { filter: brightness(1); }
    to   { filter: brightness(1.15); }
  }

  .service-item__title::before {
    content: '';
    display: inline-block;
    width: 0;
    height: 2px;
    background: var(--primary);
    vertical-align: middle;
    margin-right: 0;
    transition: width 0.4s var(--ease), margin-right 0.4s var(--ease);
  }

  .service-item:hover .service-item__title::before {
    width: 1.25rem;
    margin-right: 0.5rem;
  }
}
