/* ============================================================
   FIDDLEHEAD GARDENS — COMPONENTS
   ============================================================ */

/* ── Real Image Handling ───────────────────────────────────── */
img.hero-bg,
.portfolio-item img,
.service-detail__image img,
.page-hero-bg-img,
.statement-photo img,
.marquee-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Portfolio card imgs are absolutely positioned — handled per-page */
.portfolio-card img {
  object-fit: cover;
  display: block;
}

.page-hero-bg-img {
  position: absolute;
  inset: 0;
  z-index: 0;
}

/* ── Marquee Strip ─────────────────────────────────────────── */
.marquee-section {
  overflow: hidden;
  padding: 0;
  background: var(--charcoal);
  position: relative;
}

.marquee-track-wrapper {
  display: flex;
  width: max-content;
  animation: marqueeScroll 40s linear infinite;
}

.marquee-track-wrapper:hover {
  animation-play-state: paused;
}

.marquee-track {
  display: flex;
  gap: 0;
}

.marquee-item {
  width: 340px;
  height: 240px;
  flex-shrink: 0;
  overflow: hidden;
  position: relative;
}

.marquee-item img {
  transition: transform 0.6s ease;
}

.marquee-item:hover img {
  transform: scale(1.08);
}

@keyframes marqueeScroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ── Statement / Split Section ─────────────────────────────── */
.statement-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 600px;
}

.statement-left {
  background: var(--forest);
  padding: clamp(3rem, 6vw, 6rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.statement-left::before {
  content: '\201C';
  font-family: var(--font-display);
  font-size: 22rem;
  line-height: 1;
  color: rgba(255,255,255,0.04);
  position: absolute;
  top: -4rem;
  left: -2rem;
  pointer-events: none;
  user-select: none;
}

.statement-quote {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 300;
  font-style: italic;
  color: var(--cream);
  line-height: 1.55;
  max-width: 22ch;
  margin-bottom: 2rem;
  position: relative;
  z-index: 1;
}

.statement-attribution {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--sand);
  position: relative;
  z-index: 1;
}

.statement-photo {
  position: relative;
  overflow: hidden;
}

.statement-photo img {
  object-position: center 30%;
}

.statement-photo-label {
  position: absolute;
  bottom: 1.5rem;
  right: 1.5rem;
  background: rgba(44, 42, 43, 0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: var(--cream);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-full);
  border: 1px solid rgba(243,234,216,0.2);
}

@media (max-width: 900px) {
  .statement-section {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .statement-left { padding: 3rem 2rem; }
  .statement-photo { height: 380px; }
  .marquee-item { width: 260px; height: 180px; }
}

@media (max-width: 640px) {
  .marquee-item { width: 200px; height: 145px; }
}

/* ── Hero Component ────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: flex-end;
  padding-bottom: clamp(4rem, 8vw, 7rem);
  position: relative;
  background: #faf8f3;
  overflow: hidden;
}

/* ── Hero Slideshow ────────────────────────────────────────── */
.hero-slideshow {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.8s ease-in-out;
}

.hero-slide.is-active {
  opacity: 1;
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-slide.is-active img {
  animation: heroZoom 9s ease-out forwards;
}

@keyframes heroZoom {
  from { transform: scale(1.08); }
  to   { transform: scale(1.0); }
}

/* Slideshow dot indicators */
.hero-dots {
  position: absolute;
  bottom: calc(var(--nav-height) + 1.5rem);
  right: clamp(1.5rem, 4vw, 4rem);
  z-index: 4;
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.hero-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(243, 234, 216, 0.4);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background 0.3s ease, transform 0.3s ease, width 0.3s ease;
}

.hero-dot.is-active {
  background: var(--sand);
  width: 20px;
  border-radius: 3px;
}

/* Legacy single hero-bg (kept for other pages) */
.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 1;
  animation: heroZoom 22s ease-out forwards;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(44, 42, 43, 0.0) 0%,
    rgba(44, 42, 43, 0.08) 35%,
    rgba(44, 42, 43, 0.55) 68%,
    rgba(44, 42, 43, 0.78) 100%
  );
  z-index: 1;
}

/* SVG wave transition at bottom of hero */
.hero-wave {
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  z-index: 3;
  line-height: 0;
  pointer-events: none;
}

.hero-wave svg {
  display: block;
  width: 100%;
  height: 90px;
}

/* Scroll indicator */
.hero-scroll-indicator {
  position: absolute;
  bottom: 18vh;
  left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  animation: fadeUp 1s var(--ease-smooth) 900ms both;
}

.hero-scroll-indicator span {
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(243,234,216,0.6);
}

.hero-scroll-indicator__line {
  width: 1px;
  height: 44px;
  background: linear-gradient(180deg, rgba(196,169,126,0.9) 0%, rgba(196,169,126,0.2) 100%);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.4; transform: scaleY(1); }
  50%       { opacity: 1;   transform: scaleY(1.15); }
}

.hero__content {
  position: relative;
  z-index: 2;
  color: var(--cream);
  max-width: var(--content-width);
  width: 100%;
  margin: 0 auto;
  padding: 0 clamp(1.5rem, 5vw, 4rem);
}

.hero__label {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--sand);
  margin-bottom: 1.5rem;
  animation: fadeUp 0.8s var(--ease-smooth) forwards;
}

/* Animated gold dot before label */
.hero__label::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  background: var(--sand);
  border-radius: 50%;
  flex-shrink: 0;
  animation: dotPulse 2.5s ease-in-out 1s infinite;
}

@keyframes dotPulse {
  0%, 100% { opacity: 1;   box-shadow: 0 0 0 0 rgba(196,169,126,0.5); }
  50%       { opacity: 0.7; box-shadow: 0 0 0 6px rgba(196,169,126,0); }
}

.hero__title {
  color: var(--cream);
  font-weight: 300;
  margin-bottom: 1.5rem;
  max-width: 18ch;
  animation: fadeUp 0.8s var(--ease-smooth) 100ms forwards;
  opacity: 0;
}

.hero__title em {
  font-style: italic;
  background: linear-gradient(135deg, #C4A97E 0%, #E8D5B0 50%, #C4A97E 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  background-size: 200% 100%;
  animation: shimmer 4s ease-in-out 1.5s infinite;
}

@keyframes shimmer {
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

.hero__subtitle {
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  color: rgba(243, 234, 216, 0.75);
  max-width: 55ch;
  line-height: 1.7;
  margin-bottom: 2.5rem;
  animation: fadeUp 0.8s var(--ease-smooth) 200ms forwards;
  opacity: 0;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 3rem;
  animation: fadeUp 0.8s var(--ease-smooth) 300ms forwards;
  opacity: 0;
}

.hero__badges {
  animation: fadeUp 0.8s var(--ease-smooth) 420ms forwards;
  opacity: 0;
}

/* ── Portfolio Grid ────────────────────────────────────────── */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1.25rem;
}

/* Featured item (large) */
.portfolio-item {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  background: var(--forest);
}

.portfolio-item:nth-child(1) { grid-column: span 7; grid-row: span 2; }
.portfolio-item:nth-child(2) { grid-column: span 5; }
.portfolio-item:nth-child(3) { grid-column: span 5; }
.portfolio-item:nth-child(4) { grid-column: span 4; }
.portfolio-item:nth-child(5) { grid-column: span 4; }
.portfolio-item:nth-child(6) { grid-column: span 4; }

.portfolio-item .img-placeholder {
  width: 100%;
  height: 100%;
  min-height: 280px;
  transition: transform var(--duration-slow) var(--ease-smooth);
}

.portfolio-item:nth-child(1) .img-placeholder { min-height: 500px; }

.portfolio-item:hover .img-placeholder { transform: scale(1.05); }

.portfolio-item__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    transparent 40%,
    rgba(44, 42, 43, 0.85) 100%
  );
  opacity: 0;
  transition: opacity var(--duration-normal);
  display: flex;
  align-items: flex-end;
  padding: 1.5rem;
}

.portfolio-item:hover .portfolio-item__overlay {
  opacity: 1;
}

.portfolio-item__info {
  color: var(--cream);
  transform: translateY(8px);
  transition: transform var(--duration-normal) var(--ease-smooth);
}

.portfolio-item:hover .portfolio-item__info {
  transform: translateY(0);
}

.portfolio-item__category {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--sand);
  margin-bottom: 0.35rem;
}

.portfolio-item__title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 400;
  color: var(--cream);
  line-height: 1.3;
}

/* Portfolio tag label (always visible) */
.portfolio-item__tag {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: rgba(243, 234, 216, 0.9);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--forest);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-full);
}

/* ── Filter Tabs ───────────────────────────────────────────── */
.filter-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2.5rem;
}

.filter-tab {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-mid);
  background: transparent;
  border: 1.5px solid rgba(44,42,43,0.15);
  padding: 0.55rem 1.25rem;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--duration-fast);
}

.filter-tab:hover {
  border-color: var(--sage);
  color: var(--forest);
}

.filter-tab.active {
  background: var(--forest);
  color: var(--cream);
  border-color: var(--forest);
}

/* ── Services Grid ─────────────────────────────────────────── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  border: 1px solid rgba(44,42,43,0.06);
  transition: all var(--duration-normal) var(--ease-smooth);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--sage), var(--fern));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--duration-normal) var(--ease-smooth);
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

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

.service-icon {
  width: 56px;
  height: 56px;
  background: var(--cream);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  color: var(--forest-mid);
  transition: background var(--duration-normal), color var(--duration-normal);
}

.service-card:hover .service-icon {
  background: var(--forest);
  color: var(--cream);
}

.service-card h3 {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}

.service-card p {
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
  color: var(--text-light);
  max-width: none;
}

.service-card .service-features {
  margin-bottom: 2rem;
}

.service-card .service-features li {
  font-size: 0.85rem;
  color: var(--text-mid);
  padding: 0.3rem 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.service-card .service-features li::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--sage);
  flex-shrink: 0;
}

/* ── Testimonial Carousel ──────────────────────────────────── */
.testimonial-carousel {
  position: relative;
  overflow: hidden;
}

.testimonial-track {
  display: flex;
  transition: transform 0.7s var(--ease-smooth);
}

.testimonial-slide {
  min-width: 100%;
  padding: 0 1rem;
}

.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: clamp(2rem, 4vw, 3.5rem);
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  box-shadow: var(--shadow-md);
}

.testimonial-card::before {
  content: '\201C';
  font-family: var(--font-display);
  font-size: 8rem;
  line-height: 1;
  color: var(--cream-dark);
  position: absolute;
  top: -0.5rem;
  left: 2rem;
  leading-trim: both;
  text-edge: cap alphabetic;
}

.testimonial-quote {
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  font-weight: 400;
  font-style: italic;
  color: var(--forest);
  line-height: 1.65;
  max-width: 60ch;
  margin: 0 auto 1.5rem;
  position: relative;
  z-index: 1;
}

.testimonial-author {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dark);
  margin-bottom: 0.25rem;
}

.testimonial-location {
  font-size: 0.8rem;
  color: var(--text-light);
}

.carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.carousel-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid rgba(44,42,43,0.2);
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--forest);
  transition: all var(--duration-fast);
}

.carousel-btn:hover {
  background: var(--forest);
  color: var(--cream);
  border-color: var(--forest);
}

.carousel-dots {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.carousel-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(44,42,43,0.2);
  cursor: pointer;
  transition: all var(--duration-normal);
}

.carousel-dot.active {
  width: 24px;
  border-radius: 3px;
  background: var(--forest);
}

/* ── Process Steps ─────────────────────────────────────────── */
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
}

.process-steps::before {
  content: '';
  position: absolute;
  top: 2rem;
  left: calc(12.5% + 1.5rem);
  right: calc(12.5% + 1.5rem);
  height: 1px;
  background: linear-gradient(90deg, var(--sage), var(--fern), var(--sage));
  opacity: 0.3;
}

.process-step {
  text-align: center;
  padding: 0 1.5rem;
  position: relative;
}

.process-step__num {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--forest);
  color: var(--cream);
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  position: relative;
  z-index: 1;
  box-shadow: var(--shadow-md);
  transition: background var(--duration-normal), transform var(--duration-normal) var(--ease-spring);
}

.process-step:hover .process-step__num {
  background: var(--sage);
  transform: scale(1.1);
}

.process-step h4 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  color: var(--forest);
}

.process-step p {
  font-size: 0.85rem;
  color: var(--text-light);
  max-width: 20ch;
  margin: 0 auto;
  line-height: 1.6;
}

/* ── CTA Banner ────────────────────────────────────────────── */
.cta-banner {
  background: var(--forest);
  border-radius: var(--radius-lg);
  padding: clamp(3rem, 6vw, 5rem) clamp(2rem, 6vw, 5rem);
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 3rem;
  align-items: center;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: -60%;
  right: -10%;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(196,169,126,0.3) 0%, transparent 70%);
  pointer-events: none;
}

.cta-banner::after {
  content: '';
  position: absolute;
  bottom: -40%;
  left: -5%;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(196,169,126,0.12) 0%, transparent 70%);
  pointer-events: none;
}

.cta-banner__text h2 {
  color: var(--cream);
  max-width: 18ch;
  margin-bottom: 0.75rem;
}

.cta-banner__text p {
  color: rgba(243,234,216,0.65);
  max-width: 45ch;
  font-size: 1rem;
}

.cta-banner__actions {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}

.cta-banner__phone {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 400;
  color: var(--sand);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: color var(--duration-fast);
}

.cta-banner__phone:hover { color: var(--cream); }

/* ── Contact Form ──────────────────────────────────────────── */
.contact-form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group.full-width { grid-column: span 2; }

.form-group label {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dark);
}

.form-group label .required {
  color: var(--sage);
  margin-left: 0.2rem;
}

.form-control {
  width: 100%;
  padding: 0.85rem 1.1rem;
  background: var(--white);
  border: 1.5px solid rgba(44,42,43,0.12);
  border-radius: var(--radius-md);
  color: var(--text-dark);
  font-size: 0.95rem;
  line-height: 1.5;
  transition: border-color var(--duration-fast), box-shadow var(--duration-fast), background var(--duration-fast);
  -webkit-appearance: none;
  appearance: none;
}

.form-control:focus {
  outline: none;
  border-color: var(--sage);
  box-shadow: 0 0 0 3px rgba(196,169,126,0.15);
  background: var(--white);
}

.form-control::placeholder { color: var(--text-light); }

.form-control.error {
  border-color: #c0392b;
  box-shadow: 0 0 0 3px rgba(192,57,43,0.1);
}

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

select.form-control {
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L6 6L11 1' stroke='%234E4B4D' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
  cursor: pointer;
}

.form-error {
  font-size: 0.78rem;
  color: #c0392b;
  margin-top: 0.25rem;
  display: none;
}

.form-group.has-error .form-error { display: block; }

.form-upload {
  border: 2px dashed rgba(44,42,43,0.15);
  border-radius: var(--radius-md);
  padding: 2rem;
  text-align: center;
  cursor: pointer;
  transition: border-color var(--duration-fast), background var(--duration-fast);
}

.form-upload:hover {
  border-color: var(--sage);
  background: rgba(196,169,126,0.05);
}

.form-upload input { display: none; }

.form-upload-label {
  font-size: 0.85rem;
  color: var(--text-light);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
}

.form-upload-label svg { color: var(--sage); opacity: 0.7; }

.form-success {
  display: none;
  text-align: center;
  padding: 3rem;
  background: rgba(196,169,126,0.08);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(196,169,126,0.25);
}

.form-success.visible { display: block; }

.form-success h3 {
  color: var(--forest);
  margin-bottom: 0.75rem;
}

.form-success p {
  color: var(--text-mid);
  font-size: 0.95rem;
  margin: 0 auto;
}

/* ── Service Detail Sections ───────────────────────────────── */
.service-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(3rem, 6vw, 6rem);
  align-items: center;
}

.service-detail--reverse { direction: rtl; }
.service-detail--reverse > * { direction: ltr; }

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

.service-detail__image .img-placeholder {
  width: 100%;
  height: 100%;
}

.service-detail__content h2 {
  margin-bottom: 1rem;
}

.service-detail__content .lead {
  margin-bottom: 1.5rem;
}

.service-detail__features {
  margin: 2rem 0;
}

.service-detail__features li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.65rem 0;
  border-bottom: 1px solid rgba(44,42,43,0.06);
  font-size: 0.9rem;
  color: var(--text-mid);
}

.service-detail__features li:last-child { border: none; }

.feature-check {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(196,169,126,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--sage);
  flex-shrink: 0;
  margin-top: 1px;
}

.feature-check svg { width: 10px; height: 10px; }

/* ── Pricing Callout ───────────────────────────────────────── */
.pricing-callout {
  background: var(--cream);
  border-radius: var(--radius-lg);
  padding: 1.5rem 2rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 2rem 0;
}

.pricing-callout svg { color: var(--sage); flex-shrink: 0; }

.pricing-callout p {
  font-size: 0.9rem;
  color: var(--text-mid);
  max-width: none;
  margin: 0;
}

.pricing-callout strong { color: var(--forest); }

/* ── Maintenance Packages ──────────────────────────────────── */
.package-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

.package-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1.5px solid rgba(44,42,43,0.08);
  overflow: hidden;
  transition: all var(--duration-normal) var(--ease-smooth);
}

.package-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--sage);
}

.package-card.featured {
  border-color: var(--forest);
  box-shadow: var(--shadow-md);
}

.package-header {
  background: var(--cream);
  padding: 1.75rem 1.75rem 1.5rem;
  border-bottom: 1px solid rgba(44,42,43,0.06);
}

.package-card.featured .package-header {
  background: var(--forest);
}

.package-badge {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--white);
  background: var(--sage);
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  display: inline-block;
  margin-bottom: 0.75rem;
}

.package-name {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--forest);
  margin-bottom: 0.25rem;
}

.package-card.featured .package-name { color: var(--cream); }

.package-timing {
  font-size: 0.8rem;
  color: var(--text-light);
  letter-spacing: 0.06em;
}

.package-card.featured .package-timing { color: rgba(243,234,216,0.6); }

.package-body {
  padding: 1.75rem;
}

.package-includes {
  margin-bottom: 1.75rem;
}

.package-includes li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.875rem;
  color: var(--text-mid);
  padding: 0.35rem 0;
}

.package-includes li svg {
  color: var(--sage);
  flex-shrink: 0;
  margin-top: 1px;
}

/* ── About Values ──────────────────────────────────────────── */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.value-card {
  background: var(--cream);
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem;
  transition: all var(--duration-normal) var(--ease-smooth);
}

.value-card:hover {
  background: var(--forest);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.value-card:hover h4 { color: var(--cream); }
.value-card:hover p { color: rgba(243,234,216,0.7); }

.value-card .value-icon {
  width: 40px;
  height: 40px;
  margin-bottom: 1rem;
  color: var(--sage);
  transition: color var(--duration-fast);
}

.value-card:hover .value-icon { color: var(--sand); }

.value-card h4 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--forest);
  margin-bottom: 0.5rem;
  transition: color var(--duration-fast);
}

.value-card p {
  font-size: 0.85rem;
  color: var(--text-light);
  max-width: none;
  line-height: 1.65;
  transition: color var(--duration-fast);
}

/* ── Certifications Bar ────────────────────────────────────── */
.cert-bar {
  background: var(--cream);
  border-radius: var(--radius-lg);
  padding: 2rem 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: 2rem;
  flex-wrap: wrap;
}

.cert-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  text-align: center;
}

.cert-item-badge {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--forest);
  line-height: 1;
}

.cert-item-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-light);  /* #706D6D — 4.6:1 on cream, passes WCAG AA */
  max-width: 14ch;
  text-align: center;
}

.cert-separator {
  width: 1px;
  height: 50px;
  background: rgba(44,42,43,0.1);
  flex-shrink: 0;
}

/* ── Map Section ───────────────────────────────────────────── */
.service-area-map {
  background: var(--cream-dark);
  border-radius: var(--radius-lg);
  height: 350px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.service-area-map::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--cream) 0%, var(--cream-dark) 100%);
  opacity: 0.6;
}

/* ── Stats Row ─────────────────────────────────────────────── */
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.stat-item {
  text-align: center;
  padding: 2rem 1rem;
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,0.6);
  backdrop-filter: blur(8px);
}

.stat-number {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 300;
  color: var(--forest);
  line-height: 1;
  margin-bottom: 0.35rem;
}

.stat-label {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-light);
}

/* ── Before/After Toggle ───────────────────────────────────── */
.before-after {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: ew-resize;
  user-select: none;
  touch-action: pan-y;
}

.before-after__after,
.before-after__before {
  width: 100%;
  aspect-ratio: 16 / 9;
}

.before-after__before {
  position: absolute;
  inset: 0;
  clip-path: inset(0 50% 0 0);
  transition: clip-path 0.05s;
}

.before-after__handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  background: var(--cream);
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.before-after__handle-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--cream);
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--forest);
  flex-shrink: 0;
}
/* ── Instagram Strip ───────────────────────────────────────── */
.instagram-strip {
  background: var(--charcoal-dark);
  padding: 0;
  overflow: hidden;
}

.instagram-strip__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 2.5rem clamp(1.5rem, 5vw, 4rem) 1.5rem;
  max-width: var(--max-width);
  margin: 0 auto;
}

.instagram-strip__brand {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.instagram-strip__icon {
  width: 36px;
  height: 36px;
  background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.instagram-strip__handle {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--cream);
  letter-spacing: 0.04em;
}

.instagram-strip__handle span {
  color: var(--stone-light);
  font-size: 0.75rem;
  font-weight: 400;
  display: block;
  margin-top: 0.15rem;
}

.instagram-strip__follow {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--charcoal-dark);
  background: var(--sand);
  padding: 0.55rem 1.4rem;
  border-radius: var(--radius-full);
  text-decoration: none;
  transition: background var(--duration-fast), transform var(--duration-fast);
  white-space: nowrap;
}

.instagram-strip__follow:hover {
  background: var(--sand-light);
  transform: translateY(-1px);
}

/* Scrolling photo rail */
.instagram-rail {
  display: flex;
  width: max-content;
  animation: instaScroll 40s linear infinite;
  padding-bottom: 2.5rem;
  gap: 6px;
}

.instagram-rail:hover {
  animation-play-state: paused;
}

@keyframes instaScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.instagram-tile {
  width: 240px;
  height: 240px;
  flex-shrink: 0;
  overflow: hidden;
  position: relative;
  cursor: pointer;
}

.instagram-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease, filter 0.4s ease;
  filter: brightness(0.92) saturate(0.95);
}

.instagram-tile:hover img {
  transform: scale(1.08);
  filter: brightness(1) saturate(1.05);
}

.instagram-tile__overlay {
  position: absolute;
  inset: 0;
  background: rgba(44, 42, 43, 0);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.35s ease;
}

.instagram-tile:hover .instagram-tile__overlay {
  background: rgba(44, 42, 43, 0.28);
}

.instagram-tile__overlay svg {
  color: white;
  opacity: 0;
  transition: opacity 0.3s ease;
  transform: scale(0.8);
}

.instagram-tile:hover .instagram-tile__overlay svg {
  opacity: 1;
  transform: scale(1);
}

@media (max-width: 640px) {
  .instagram-tile { width: 160px; height: 160px; }
}
