/* ============================================
   't Pincetje — Schoonheidssalon Lebbeke
   Design System & Styles
   ============================================ */

/* --- Design Tokens --- */
:root {
  /* Brand Colors */
  --primary: #48732a;
  --primary-light: #96af81;
  --primary-lime: #a0ee72;
  --accent: #e1b79a;
  --accent-dark: #c9976e;

  /* Backgrounds */
  --bg: #faf4f0;
  --bg-alt: #efebe7;

  /* Text */
  --text: #242c24;
  --text-light: #69645e;

  /* Neutrals */
  --neutral: #d6d1c6;
  --neutral-light: #b0aead;
  --white: #fff;
  --black: #000;

  /* Typography */
  --font: 'Inter', sans-serif;
  --font-heading: 'Lora', serif;
  --font-accent: 'Shadows Into Light', cursive;

  /* Layout */
  --max-width: 1200px;
  --radius: 12px;
  --radius-lg: 24px;
  --radius-xl: 40px;

  /* Transitions */
  --transition: 0.3s ease;
  --transition-slow: 0.6s ease;

  /* Shadows */
  --shadow: 0 4px 20px rgba(36, 44, 36, 0.08);
  --shadow-lg: 0 8px 40px rgba(36, 44, 36, 0.12);
  --shadow-hover: 0 12px 48px rgba(36, 44, 36, 0.16);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

a {
  color: var(--primary);
  text-decoration: none;
  transition: color var(--transition);
}

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

ul, ol {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

/* --- Skip Link --- */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  z-index: 10000;
  padding: 0.75rem 1.5rem;
  background: var(--primary);
  color: var(--white);
  font-weight: 600;
  border-radius: var(--radius);
  transition: top var(--transition);
}

.skip-link:focus {
  top: 1rem;
}

/* --- Typography --- */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--text);
  line-height: 1.25;
  font-weight: 600;
}

h1 {
  font-size: clamp(2.5rem, 5vw + 1rem, 4.5rem);
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(1.8rem, 3vw + 0.5rem, 3rem);
}

h3 {
  font-size: clamp(1.3rem, 2vw + 0.3rem, 1.75rem);
}

h4 {
  font-size: clamp(1.1rem, 1.5vw + 0.3rem, 1.35rem);
}

p {
  color: var(--text-light);
  max-width: 65ch;
}

/* --- Layout --- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: clamp(4rem, 8vw, 7rem) 0;
}

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

.section-dark {
  background: var(--primary);
  color: var(--white);
}

.section-dark h2,
.section-dark h3,
.section-dark h4,
.section-dark p {
  color: var(--white);
}

.section-dark p {
  opacity: 0.9;
}

/* --- Section Headers --- */
.section-header {
  text-align: center;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.section-accent {
  font-family: var(--font-accent);
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  color: var(--accent-dark);
  display: block;
  margin-bottom: 0.5rem;
}

.section-dark .section-accent {
  color: var(--primary-lime);
}

.section-subtitle {
  color: var(--text-light);
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  max-width: 55ch;
  margin: 1rem auto 0;
}

.section-dark .section-subtitle {
  color: rgba(255, 255, 255, 0.85);
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 2.25rem;
  font-family: var(--font);
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 50px;
  transition: background var(--transition), color var(--transition), border-color var(--transition), transform var(--transition), box-shadow var(--transition);
  text-decoration: none;
  border: 2px solid transparent;
  min-height: 44px;
  position: relative;
  overflow: hidden;
}

.btn::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
  transition: left 0.5s ease;
}

.btn:hover::after {
  left: 100%;
}

.btn-primary {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}

.btn-primary:hover {
  background: #3a5e22;
  border-color: #3a5e22;
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(72, 115, 42, 0.35);
}

.btn-accent {
  background: var(--accent);
  color: var(--text);
  border-color: var(--accent);
}

.btn-accent:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
  color: var(--text);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(225, 183, 154, 0.4);
}

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

.btn-outline:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(72, 115, 42, 0.35);
}

.btn-white {
  background: var(--white);
  color: var(--primary);
  border-color: var(--white);
}

.btn-white:hover {
  background: var(--bg);
  border-color: var(--bg);
  color: var(--primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

/* --- Navbar --- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(250, 244, 240, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: box-shadow var(--transition), background var(--transition);
}

.navbar.scrolled {
  box-shadow: 0 2px 20px rgba(36, 44, 36, 0.08);
  background: rgba(250, 244, 240, 0.97);
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
  height: 72px;
}

.navbar-brand {
  display: flex;
  align-items: center;
  text-decoration: none;
  transition: opacity var(--transition);
}

.navbar-brand:hover {
  opacity: 0.8;
}

.navbar-logo {
  height: 40px;
  width: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-light);
  text-decoration: none;
  transition: color var(--transition);
  position: relative;
  padding: 0.25rem 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  border-radius: 1px;
  transition: width var(--transition);
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-cta {
  padding: 0.5rem 1.25rem;
  background: var(--primary);
  color: var(--white) !important;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.9rem;
  transition: background var(--transition), color var(--transition), border-color var(--transition), transform var(--transition);
}

.nav-cta::after {
  display: none;
}

.nav-cta:hover {
  background: #3a5e22;
  color: var(--white) !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 15px rgba(72, 115, 42, 0.3);
}

/* Mobile Menu Toggle */
.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  padding: 0;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1001;
  position: relative;
}

.nav-toggle span {
  display: block;
  position: absolute;
  left: 50%;
  width: 24px;
  height: 2px;
  margin-left: -12px;
  background: var(--primary);
  border-radius: 2px;
  transition: transform 0.3s ease, top 0.3s ease;
}

.nav-toggle span:first-child {
  top: 18px;
}

.nav-toggle span:last-child {
  top: 28px;
}

/* Open: centered X */
.nav-toggle.active span:first-child {
  top: 23px;
  transform: rotate(45deg);
}

.nav-toggle.active span:last-child {
  top: 23px;
  transform: rotate(-45deg);
}

/* Mobile Menu */
.mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-alt) 100%);
  z-index: 999;
  padding: 100px 2.5rem 3rem;
  flex-direction: column;
  justify-content: space-between;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition), visibility var(--transition);
  overflow-y: auto;
}

.mobile-menu.active {
  opacity: 1;
  visibility: visible;
}

.mobile-menu-nav {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.mobile-menu-link {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 5vw, 2rem);
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
  padding: 0.75rem 0;
  transition: color var(--transition), transform var(--transition);
  border-bottom: 1px solid var(--neutral);
  display: block;
}

.mobile-menu-link:hover,
.mobile-menu-link.active {
  color: var(--primary);
  transform: translateX(8px);
}

.mobile-menu.active .mobile-menu-link {
  animation: menuSlideIn 0.35s ease forwards;
  opacity: 0;
}

.mobile-menu.active .mobile-menu-link:nth-child(1) { animation-delay: 0.05s; }
.mobile-menu.active .mobile-menu-link:nth-child(2) { animation-delay: 0.1s; }
.mobile-menu.active .mobile-menu-link:nth-child(3) { animation-delay: 0.15s; }

.mobile-menu.active .mobile-menu-footer {
  animation: menuSlideIn 0.35s ease forwards;
  animation-delay: 0.2s;
  opacity: 0;
}

@keyframes menuSlideIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

.mobile-menu-footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  padding-top: 2rem;
}

.mobile-menu-cta {
  width: 100%;
  text-align: center;
  font-size: 1.1rem;
  padding: 1rem 2rem;
}

.mobile-menu-phone {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--primary);
  font-size: 1.1rem;
  font-weight: 500;
  text-decoration: none;
  transition: color var(--transition);
}

.mobile-menu-phone svg {
  width: 20px;
  height: 20px;
}

.mobile-menu-phone:hover {
  color: var(--primary-dark);
}

.mobile-menu-hours {
  font-size: 0.85rem;
  color: var(--text-light);
}

/* --- Wave Divider --- */
.wave-divider {
  position: relative;
  overflow: hidden;
  line-height: 0;
  margin-bottom: -1px;
}

.wave-divider svg {
  display: block;
  width: 100%;
  height: auto;
}

/* --- Hero --- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 1.5rem 4rem;
  overflow: hidden;
  background: url('../assets/images/salon-exterior.webp') center / cover no-repeat;
}

/* Centered readable overlay */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at center, rgba(250, 244, 240, 0.92) 0%, rgba(250, 244, 240, 0.7) 50%, rgba(239, 235, 231, 0.55) 100%);
  pointer-events: none;
}

/* Vignette for depth */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, transparent 40%, rgba(36, 44, 36, 0.12) 100%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
  background: rgba(250, 244, 240, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: var(--radius-xl);
  padding: clamp(2rem, 4vw, 3.5rem) clamp(2rem, 5vw, 4rem);
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: 0 8px 32px rgba(36, 44, 36, 0.08);
}

.hero-accent {
  font-family: var(--font-accent);
  font-size: clamp(1.3rem, 2.5vw, 1.8rem);
  color: var(--accent-dark);
  margin-bottom: 0.75rem;
  display: block;
}

.hero-title {
  font-size: clamp(3rem, 7vw + 0.5rem, 6rem);
  font-weight: 700;
  color: var(--text);
  margin-bottom: 1rem;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.hero-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin: 1.5rem auto;
  max-width: 250px;
}

.hero-divider-line {
  flex: 1;
  height: 1px;
  background: var(--neutral);
}

.hero-divider-icon {
  color: var(--primary-light);
  flex-shrink: 0;
}

.hero-subtitle {
  font-size: clamp(1.05rem, 1.8vw, 1.3rem);
  color: var(--text-light);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-weight: 400;
  margin-bottom: 2.5rem;
}

.hero-cta {
  display: inline-flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

/* Hero Leaf Decorations */
.hero-leaf {
  position: absolute;
  color: var(--primary-light);
  opacity: 0.2;
  pointer-events: none;
  z-index: 2;
  filter: blur(0.5px);
}

.hero-leaf-1 {
  top: 10%;
  left: 6%;
  width: 90px;
  transform: rotate(-30deg);
  animation: leafFloat1 8s ease-in-out infinite;
}

.hero-leaf-2 {
  top: 16%;
  right: 5%;
  width: 110px;
  transform: rotate(25deg);
  color: var(--accent);
  opacity: 0.18;
  animation: leafFloat2 10s ease-in-out infinite;
}

.hero-leaf-3 {
  bottom: 12%;
  left: 4%;
  width: 70px;
  transform: rotate(15deg);
  animation: leafFloat1 9s ease-in-out infinite reverse;
}

.hero-leaf-4 {
  bottom: 18%;
  right: 8%;
  width: 80px;
  transform: rotate(-20deg);
  color: var(--primary);
  opacity: 0.15;
  animation: leafFloat2 7s ease-in-out infinite reverse;
}

@keyframes leafFloat1 {
  0%, 100% { transform: rotate(-30deg) translateY(0); }
  50% { transform: rotate(-25deg) translateY(-12px); }
}

@keyframes leafFloat2 {
  0%, 100% { transform: rotate(25deg) translateX(0); }
  50% { transform: rotate(20deg) translateX(10px); }
}

.hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--neutral-light);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  z-index: 1;
}

.hero-scroll-mouse {
  opacity: 0.5;
}

.hero-scroll-dot {
  animation: scrollDot 2s ease-in-out infinite;
}

@keyframes scrollDot {
  0% { opacity: 1; transform: translateY(0); }
  50% { opacity: 0; transform: translateY(12px); }
  100% { opacity: 1; transform: translateY(0); }
}

/* --- About Section --- */
.about-grid {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: clamp(2rem, 4vw, 4rem);
  align-items: center;
  max-width: 1000px;
  margin: 0 auto;
}

.about-image-wrap {
  position: relative;
}

.about-image-wrap::before {
  content: '';
  position: absolute;
  top: -12px;
  left: -12px;
  right: 12px;
  bottom: 12px;
  border: 2px solid var(--primary-light);
  border-radius: var(--radius-xl);
  opacity: 0.5;
  pointer-events: none;
  z-index: 0;
}

.about-image-wrap::after {
  content: '';
  position: absolute;
  top: 12px;
  left: 12px;
  right: -12px;
  bottom: -12px;
  background: var(--accent);
  border-radius: var(--radius-xl);
  opacity: 0.2;
  pointer-events: none;
  z-index: 0;
}

.about-image {
  position: relative;
  z-index: 1;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.about-image img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: center top;
}

.about-content {
  text-align: left;
}

.about-text {
  font-size: clamp(1.05rem, 1.5vw, 1.15rem);
  line-height: 1.85;
  margin-bottom: 1.5rem;
}

.about-quote {
  font-family: var(--font-accent);
  font-size: clamp(1.4rem, 2.5vw, 1.8rem);
  color: var(--primary);
  margin: 1.5rem 0;
  position: relative;
  padding: 1.5rem 0;
}

.about-signature {
  font-family: var(--font-accent);
  font-size: 1.2rem;
  color: var(--accent-dark);
  margin-top: 1rem;
}

/* --- Services Section --- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1.5rem;
}

.service-card {
  grid-column: span 2;
  background: var(--white);
  border-radius: var(--radius-lg);
  text-align: center;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  border: 1px solid rgba(214, 209, 198, 0.3);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  position: relative;
}

/* Accent bar that slides in on hover */
.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--primary-light));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
  z-index: 2;
}

/* Center the last 2 cards when there are 5 items */
.service-card:nth-child(4):nth-last-child(2) {
  grid-column: 2 / span 2;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 48px rgba(72, 115, 42, 0.18);
  border-color: rgba(150, 175, 129, 0.5);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-card-image {
  aspect-ratio: 3 / 2;
  overflow: hidden;
  position: relative;
}

/* Warm overlay on hover */
.service-card-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 50%, rgba(72, 115, 42, 0.08) 100%);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.service-card:hover .service-card-image::after {
  opacity: 1;
}

.service-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.service-card:hover .service-card-image img {
  transform: scale(1.07);
}

.service-card-body {
  padding: clamp(1.25rem, 2.5vw, 2rem);
  display: flex;
  flex-direction: column;
  flex: 1;
}

.service-title {
  font-size: 1.15rem;
  margin-bottom: 0.75rem;
}

.service-desc {
  font-size: 0.92rem;
  color: var(--text-light);
  line-height: 1.65;
  flex: 1;
}

.service-link {
  display: inline-block;
  margin-top: 1rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--primary);
  transition: color var(--transition), gap var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.service-link:hover {
  color: var(--accent-dark);
  gap: 0.5rem;
}

/* --- USP Section --- */
.usp-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.usp-item {
  text-align: center;
  padding: 1.5rem;
  transition: transform var(--transition);
}

.usp-item:hover {
  transform: translateY(-4px);
}

.usp-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 1.5rem;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-lime);
  transition: background var(--transition), transform var(--transition);
}

.usp-item:hover .usp-icon {
  background: rgba(255, 255, 255, 0.22);
  transform: scale(1.1);
}

.usp-icon svg {
  width: 28px;
  height: 28px;
}

.usp-title {
  font-size: 1.15rem;
  margin-bottom: 0.75rem;
  color: var(--white);
}

.usp-desc {
  font-size: 0.92rem;
  opacity: 0.85;
  line-height: 1.65;
}

/* --- CTA Section --- */
.cta-section {
  text-align: center;
  position: relative;
  background: url('../assets/images/cosmetics.webp') center / cover no-repeat;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(250, 244, 240, 0.88) 0%,
    rgba(239, 235, 231, 0.82) 50%,
    rgba(225, 183, 154, 0.15) 100%
  );
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}

.cta-section .container {
  position: relative;
  z-index: 1;
}

.cta-title {
  margin-bottom: 1rem;
}

.cta-text {
  margin: 0 auto 2rem;
  max-width: 50ch;
}

/* --- Hours Section --- */
.hours-container {
  max-width: 500px;
  margin: 0 auto;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 3vw, 2.5rem);
  box-shadow: var(--shadow);
}

.hours-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(214, 209, 198, 0.3);
}

.hours-row:last-child {
  border-bottom: none;
}

.hours-day {
  font-weight: 500;
  color: var(--text);
}

.hours-time {
  color: var(--text-light);
  font-size: 0.92rem;
}

.hours-closed {
  color: var(--neutral-light);
  font-style: italic;
}

/* --- Contact Page --- */

/* Contact Hero */
.contact-hero {
  position: relative;
  min-height: 50vh;
  display: flex;
  align-items: flex-end;
  padding: 0 0 clamp(3rem, 6vw, 5rem);
  overflow: hidden;
}

.contact-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 40%;
  z-index: 0;
}

.contact-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(45, 58, 45, 0.3) 0%, rgba(45, 58, 45, 0.75) 100%);
  z-index: 1;
}

.contact-hero-content {
  position: relative;
  z-index: 2;
  max-width: 600px;
}

.contact-hero-content .section-accent {
  color: var(--accent);
  font-size: clamp(1rem, 2vw, 1.15rem);
}

.contact-hero-content h1 {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  color: #fff;
  margin: 0.5rem 0 1rem;
  line-height: 1.15;
}

.contact-hero-content p {
  color: rgba(255, 255, 255, 0.85);
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  line-height: 1.6;
}

/* Quick Info Strip */
.contact-strip {
  background: var(--primary);
  padding: 0;
  margin-top: -1px;
}

.contact-strip-inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.contact-strip-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: clamp(1.2rem, 2.5vw, 1.8rem) clamp(1rem, 2vw, 2rem);
  color: #fff;
  text-decoration: none;
  transition: background var(--transition);
  border-right: 1px solid rgba(255, 255, 255, 0.15);
}

.contact-strip-item:last-child {
  border-right: none;
}

a.contact-strip-item:hover {
  background: rgba(255, 255, 255, 0.1);
}

a.contact-strip-item:hover .contact-strip-icon {
  background: rgba(255, 255, 255, 0.28);
  transform: scale(1.08);
}

.contact-strip-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background var(--transition), transform var(--transition);
}

.contact-strip-icon svg {
  width: 22px;
  height: 22px;
  color: #fff;
}

.contact-strip-item strong {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  margin-bottom: 2px;
}

.contact-strip-item span {
  font-size: 0.92rem;
  opacity: 0.85;
}

/* Contact Main Section */
.contact-main {
  padding-top: clamp(3rem, 6vw, 5rem);
  padding-bottom: clamp(2rem, 4vw, 4rem);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 4vw, 4rem);
  align-items: start;
}

.contact-form-wrapper {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: clamp(2rem, 4vw, 3rem);
  box-shadow: 0 4px 30px rgba(36, 44, 36, 0.08);
  position: relative;
}


.contact-form-heading {
  font-family: var(--font-heading);
  font-size: clamp(1.4rem, 2.5vw, 1.8rem);
  color: var(--text);
  margin-bottom: 0.5rem;
}

.contact-form-subtext {
  font-size: 0.95rem;
  color: var(--text-light);
  line-height: 1.6;
  margin-bottom: 2rem;
}

.contact-form {
  /* no background/padding — wrapper handles it */
}

.form-group {
  margin-bottom: 1.25rem;
}

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

.form-input,
.form-textarea {
  width: 100%;
  padding: 0.85rem 1.1rem;
  font-family: var(--font);
  font-size: 0.95rem;
  color: var(--text);
  background: var(--bg);
  border: 1.5px solid var(--neutral);
  border-radius: var(--radius);
  transition: border-color var(--transition), box-shadow var(--transition), background var(--transition);
  min-height: 44px;
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--primary);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(72, 115, 42, 0.12);
}

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

.form-checkbox {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: var(--text-light);
  margin-bottom: 1.25rem;
  cursor: pointer;
}

.form-checkbox input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--primary);
  cursor: pointer;
}

.form-status {
  margin-top: 1rem;
  padding: 0.75rem 1rem;
  border-radius: var(--radius);
  font-size: 0.9rem;
  display: none;
}

.form-status.success {
  display: block;
  background: rgba(72, 115, 42, 0.1);
  color: var(--primary);
  border: 1px solid rgba(72, 115, 42, 0.2);
}

.form-status.error {
  display: block;
  background: rgba(200, 60, 60, 0.1);
  color: #a33;
  border: 1px solid rgba(200, 60, 60, 0.2);
}

.recaptcha-notice {
  font-size: 0.75rem;
  color: var(--neutral-light);
  line-height: 1.5;
  margin-top: 1rem;
}

.recaptcha-notice a {
  color: var(--text-light);
  text-decoration: underline;
}

.recaptcha-notice a:hover {
  color: var(--primary);
}

/* Map Side */
.contact-map-side {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.map-container {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 4px 30px rgba(36, 44, 36, 0.08);
  aspect-ratio: 16 / 10;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* Phone CTA Card */
.contact-cta-card {
  background: linear-gradient(135deg, var(--primary) 0%, #3a6222 100%);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 3vw, 2.5rem);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.contact-cta-card::before {
  content: '';
  position: absolute;
  top: -40px;
  right: -40px;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
}

.contact-cta-card::after {
  content: '';
  position: absolute;
  bottom: -20px;
  right: 40px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
}

.contact-cta-card h3 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  color: #fff;
  margin-bottom: 0.5rem;
  position: relative;
}

.contact-cta-card p {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.6;
  margin-bottom: 1.25rem;
  position: relative;
}

.contact-cta-card .btn {
  background: #fff;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  position: relative;
}

.contact-cta-card .btn:hover {
  background: var(--bg);
  transform: translateY(-2px);
}

/* --- Content Pages (Privacy & Terms) --- */
.content-page {
  padding-top: 120px;
  padding-bottom: 4rem;
}

.content-page .container {
  max-width: 800px;
}

.content-page h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 0.5rem;
}

.content-page .content-date {
  color: var(--text-light);
  font-size: 0.9rem;
  margin-bottom: 2.5rem;
}

.content-page h2 {
  font-size: clamp(1.3rem, 2vw, 1.6rem);
  margin-top: 2.5rem;
  margin-bottom: 0.75rem;
}

.content-page h3 {
  font-size: clamp(1.1rem, 1.5vw, 1.25rem);
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}

.content-page p {
  margin-bottom: 1rem;
  max-width: none;
}

.content-page ul,
.content-page ol {
  margin-bottom: 1rem;
  padding-left: 1.5rem;
}

.content-page ul {
  list-style: disc;
}

.content-page ol {
  list-style: decimal;
}

.content-page li {
  margin-bottom: 0.4rem;
  color: var(--text-light);
  line-height: 1.65;
}

.content-page a {
  text-decoration: underline;
}

/* --- 404 Page --- */
.error-page {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 1.5rem 4rem;
}

.error-content {
  max-width: 500px;
}

.error-code {
  font-family: var(--font-accent);
  font-size: clamp(5rem, 15vw, 10rem);
  color: var(--primary-light);
  opacity: 0.3;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.error-title {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin-bottom: 1rem;
}

.error-text {
  margin: 0 auto 2rem;
}

/* --- Footer --- */
.footer {
  background: linear-gradient(180deg, #2d3a2d 0%, var(--text) 100%);
  color: rgba(255, 255, 255, 0.8);
  padding: clamp(3rem, 6vw, 5rem) 0 0;
  position: relative;
}


.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: clamp(1.5rem, 3vw, 3rem);
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem clamp(2rem, 4vw, 3rem);
}

.footer-logo {
  height: 44px;
  width: auto;
  margin-bottom: 1rem;
  filter: brightness(0) invert(1);
  opacity: 0.9;
}

.footer-title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  color: var(--white);
  margin-bottom: 1.25rem;
  font-weight: 600;
}

.footer-text {
  font-size: 0.9rem;
  line-height: 1.7;
  opacity: 0.8;
}

.footer-text a {
  color: rgba(255, 255, 255, 0.8);
  transition: color var(--transition);
}

.footer-text a:hover {
  color: var(--white);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-link {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color var(--transition), transform var(--transition);
  display: inline-block;
}

.footer-link:hover {
  color: var(--white);
  transform: translateX(4px);
}

.footer-hours-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  padding: 0.3rem 0;
  opacity: 0.8;
}

.footer-hours-closed {
  opacity: 0.5;
}

/* Footer Bottom */
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1.25rem 1.5rem;
  max-width: var(--max-width);
  margin: 0 auto;
}

.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-copyright {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.5);
}

.footer-bottom-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.footer-bottom-links a,
.footer-bottom-links button {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  transition: color var(--transition);
  font-family: var(--font);
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

.footer-bottom-links a:hover,
.footer-bottom-links button:hover {
  color: rgba(255, 255, 255, 0.8);
}

.footer-agency {
  display: flex;
  align-items: center;
}

.footer-agency img {
  height: 36px;
  width: auto;
  opacity: 0.7;
  transition: opacity var(--transition);
}

.footer-agency img:hover {
  opacity: 1;
}

/* --- Animations --- */
.reveal,
.reveal-left,
.reveal-right,
.reveal-scale {
  opacity: 0;
  transition: opacity var(--transition-slow), transform var(--transition-slow);
  will-change: opacity, transform;
}

.reveal {
  transform: translateY(30px);
}

.reveal-left {
  transform: translateX(-30px);
}

.reveal-right {
  transform: translateX(30px);
}

.reveal-scale {
  transform: scale(0.95);
}

.reveal.visible,
.reveal-left.visible,
.reveal-right.visible,
.reveal-scale.visible {
  opacity: 1;
  transform: translate(0) scale(1);
}

.stagger-children > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.stagger-children.visible > *:nth-child(1) { transition-delay: 0s; }
.stagger-children.visible > *:nth-child(2) { transition-delay: 0.1s; }
.stagger-children.visible > *:nth-child(3) { transition-delay: 0.2s; }
.stagger-children.visible > *:nth-child(4) { transition-delay: 0.3s; }
.stagger-children.visible > *:nth-child(5) { transition-delay: 0.4s; }
.stagger-children.visible > *:nth-child(6) { transition-delay: 0.5s; }

.stagger-children.visible > * {
  opacity: 1;
  transform: translateY(0);
}

/* --- Focus Styles --- */
.btn:focus-visible,
.nav-link:focus-visible,
.nav-cta:focus-visible,
.nav-toggle:focus-visible,
.mobile-menu-link:focus-visible,
.footer-link:focus-visible,
.footer-bottom-links a:focus-visible,
.footer-bottom-links button:focus-visible,
.service-link:focus-visible,
.navbar-brand:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: 3px;
  border-radius: 4px;
}

.form-input:focus-visible,
.form-textarea:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: 1px;
}

/* --- Responsive --- */
@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .service-card {
    grid-column: span 1;
  }

  .service-card:nth-child(4):nth-last-child(2) {
    grid-column: span 1;
  }

  /* Center last item on its own row */
  .service-card:nth-child(5):last-child {
    grid-column: 1 / -1;
    max-width: 400px;
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  .navbar-inner {
    height: 72px;
    padding: 0 1.25rem;
  }

  .nav-links {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .mobile-menu {
    display: flex;
  }

  .hero {
    min-height: 90vh;
    min-height: 90dvh;
    padding: 100px 1rem 3rem;
  }

  .hero-content {
    padding: 1.5rem;
  }

  .hero-leaf {
    opacity: 0.1;
    animation: none !important;
  }

  .hero-leaf-1,
  .hero-leaf-3 {
    display: none;
  }

  .about-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .about-image-wrap {
    max-width: 320px;
    margin: 0 auto;
  }

  .about-content {
    text-align: center;
  }

  .services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .service-card,
  .service-card:nth-child(4):nth-last-child(2),
  .service-card:nth-child(5):last-child {
    grid-column: span 1;
  }

  .usp-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .contact-strip-inner {
    grid-template-columns: 1fr;
  }

  .contact-strip-item {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  }

  .contact-strip-item:last-child {
    border-bottom: none;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-bottom-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-bottom-links {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: clamp(2.2rem, 10vw, 3.5rem);
  }

  .hero-cta .btn {
    width: 100%;
  }

  .content-page {
    padding-top: 100px;
  }
}

/* --- Reduced Motion --- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .reveal,
  .reveal-left,
  .reveal-right,
  .reveal-scale {
    opacity: 1;
    transform: none;
  }

  .stagger-children > * {
    opacity: 1;
    transform: none;
  }

  .hero-scroll-line {
    animation: none;
  }

  .hero-leaf {
    animation: none !important;
  }

  .service-card {
    transition: none;
  }

  .btn::after {
    display: none;
  }

  .back-to-top { opacity: 1; transform: none; }
}

/* --- reCAPTCHA badge hide --- */
.grecaptcha-badge { visibility: hidden !important; }

/* --- Back to Top --- */
.back-to-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease, background 0.3s ease;
  z-index: 90;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
}
.back-to-top svg { width: 20px; height: 20px; }
.back-to-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { background: var(--primary-light); }

/* --- Form Success Animation --- */
.form-success-check { width: 40px; height: 40px; display: block; margin: 0 auto 12px; }
.form-success-circle {
  stroke-dasharray: 150;
  stroke-dashoffset: 150;
  animation: form-circle 0.6s ease forwards;
}
.form-success-path {
  stroke-dasharray: 40;
  stroke-dashoffset: 40;
  animation: form-check 0.4s ease 0.4s forwards;
}
@keyframes form-circle { to { stroke-dashoffset: 0; } }
@keyframes form-check { to { stroke-dashoffset: 0; } }
