/* ==========================================================================
   Gartenbau Pohl Düsseldorf – Modern Craftsmanship Design System & Stylesheet
   Look & Feel: Deep-Green Akzente, edle Grautöne, viel Weißraum, butterweiche Animationen
   ========================================================================== */

:root {
  --primary-950: #071a13;
  --primary-900: #0f382a;
  --primary-850: #144735;
  --primary-800: #195842;
  --primary-700: #206f53;
  --primary-600: #278866;
  --primary-500: #31a47c;
  --accent-gold: #c8a876;
  --accent-gold-light: #e3cbb0;
  --accent-emerald: #10b981;
  --dark-bg: #0f1513;
  --dark-surface: #161e1b;
  --dark-card: #1c2723;
  --dark-border: #2a3b35;
  --light-bg: #f8faf8;
  --light-surface: #ffffff;
  --light-border: #e2e8e4;
  --text-main: #1e2924;
  --text-muted: #5f7067;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 30px;
  --shadow-subtle: 0 4px 20px -2px rgba(15, 56, 42, 0.05);
  --shadow-card: 0 10px 30px -4px rgba(15, 56, 42, 0.08);
  --shadow-hover: 0 20px 40px -6px rgba(15, 56, 42, 0.18);
  --font-heading: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
}

/* Base Resets & Global Styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

html {
  scroll-behavior: smooth;
  font-family: var(--font-body);
  color: var(--text-main);
  background-color: var(--light-bg);
  text-rendering: optimizeLegibility;
}

body {
  overflow-x: hidden;
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.25;
  color: var(--primary-950);
}

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

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 9px;
  height: 9px;
}
::-webkit-scrollbar-track {
  background: #f1f4f2;
}
::-webkit-scrollbar-thumb {
  background: #a9beae;
  border-radius: 9999px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--primary-700);
}

/* Glassmorphism & Slim Header Navigation */
.glass-nav {
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(15, 56, 42, 0.07);
  transition: background-color 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.glass-nav.scrolled {
  background: rgba(255, 255, 255, 0.95);
  border-bottom-color: rgba(15, 56, 42, 0.11);
  box-shadow: 0 8px 28px -8px rgba(7, 26, 19, 0.09);
}

.nav-pill-track {
  display: inline-flex;
  align-items: center;
  gap: 0.15rem;
  padding: 0.22rem;
  border-radius: 9999px;
  background: rgba(15, 56, 42, 0.038);
  border: 1px solid rgba(15, 56, 42, 0.065);
}

.nav-pill-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.36rem 0.78rem;
  border-radius: 9999px;
  font-size: 0.8125rem;
  font-weight: 500;
  line-height: 1.2;
  color: #36453e;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.nav-pill-link:hover {
  color: var(--primary-950);
  background: rgba(255, 255, 255, 0.75);
}

.nav-pill-link.active {
  color: var(--primary-950);
  font-weight: 600;
  background: #ffffff;
  box-shadow: 0 1px 4px rgba(15, 56, 42, 0.1);
}

.header-cta-slim {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  height: 2.125rem;
  padding: 0 1rem;
  border-radius: 9999px;
  background: linear-gradient(135deg, var(--primary-800) 0%, var(--primary-950) 100%);
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-decoration: none;
  box-shadow: 0 2px 10px rgba(15, 56, 42, 0.2);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.header-cta-slim:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(15, 56, 42, 0.28);
  color: #ffffff;
}

.glass-card-dark {
  background: rgba(22, 30, 27, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.glass-card-light {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--light-border);
}

/* Custom UI Utilities */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  background: linear-gradient(135deg, var(--primary-800) 0%, var(--primary-900) 100%);
  color: #ffffff;
  font-weight: 600;
  padding: 0.875rem 1.75rem;
  border-radius: 9999px;
  border: none;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 14px rgba(15, 56, 42, 0.25);
  text-decoration: none;
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--primary-700) 0%, var(--primary-800) 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(15, 56, 42, 0.35);
  color: #ffffff;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  background: #ffffff;
  color: var(--primary-900);
  font-weight: 600;
  padding: 0.875rem 1.75rem;
  border-radius: 9999px;
  border: 1.5px solid var(--light-border);
  cursor: pointer;
  transition: all 0.25s ease;
  text-decoration: none;
}

.btn-secondary:hover {
  background: #f4f7f5;
  border-color: var(--primary-600);
  transform: translateY(-2px);
}

.btn-accent {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: #ffffff;
  font-weight: 600;
  padding: 0.875rem 1.75rem;
  border-radius: 9999px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.25s ease;
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.3);
}

.btn-accent:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(16, 185, 129, 0.45);
  color: #ffffff;
}

/* Badge Styling */
.badge-gold {
  background: rgba(200, 168, 118, 0.16);
  color: #8c6a38;
  border: 1px solid rgba(200, 168, 118, 0.35);
}

.badge-green {
  background: rgba(16, 185, 129, 0.12);
  color: #065f46;
  border: 1px solid rgba(16, 185, 129, 0.25);
}

/* ==========================================================================
   Hero Section Animations & Media Slider
   ========================================================================== */
.hero-bg-container {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 60%;
  opacity: 0;
  transform: scale(1.08);
  transition: opacity 1.4s ease, transform 6s cubic-bezier(0.25, 1, 0.5, 1);
}

.hero-slide.active {
  opacity: 1;
  transform: scale(1);
}

.hero-gradient-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(7, 26, 19, 0.7) 0%,
    rgba(7, 26, 19, 0.85) 60%,
    rgba(15, 21, 19, 0.98) 100%
  );
  z-index: 1;
}

/* ==========================================================================
   Corporate Reference & Regional B2B Partner Cards
   ========================================================================== */
.partner-reference-card {
  position: relative;
  border-radius: var(--radius-lg);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
}

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

/* ==========================================================================
   Interactive Before & After Image Comparison Slider
   ========================================================================== */
.before-after-container {
  position: relative;
  width: 100%;
  height: 520px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  user-select: none;
  cursor: ew-resize;
  background: #1c2723;
}

@media (max-width: 768px) {
  .before-after-container {
    height: 380px;
    border-radius: var(--radius-lg);
  }
}

.ba-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 62%;
  pointer-events: none;
}

/* Hochformat-Originalfotos: Slider-Rahmen an das Bildformat anpassen */
.before-after-container.ba-portrait {
  height: auto;
  aspect-ratio: 3 / 4;
  max-width: 620px;
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 768px) {
  .before-after-container.ba-portrait {
    max-width: 100%;
    max-height: 78vh;
  }
}

/* Leistungs-Karten: Bodenbeläge & Handwerk im unteren Bildbereich zentrieren */
.service-card-img {
  object-position: center 62%;
}

.ba-image-before {
  z-index: 2;
  filter: grayscale(20%) contrast(95%);
}

.ba-image-after {
  z-index: 1;
  filter: contrast(105%) saturate(108%);
}

.ba-before-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 50%;
  height: 100%;
  overflow: hidden;
  z-index: 2;
  transition: width 0.05s ease-out;
}

.ba-before-wrapper .ba-image {
  width: 100%;
  height: 100%;
  min-width: 100%;
  object-fit: cover;
}

.before-after-container .ba-before-wrapper .ba-inner-img {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  object-fit: cover;
}

.ba-slider-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 3px;
  background: #ffffff;
  z-index: 10;
  transform: translateX(-50%);
  pointer-events: none;
  box-shadow: 0 0 14px rgba(0, 0, 0, 0.5);
}

.ba-handle-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #ffffff;
  color: var(--primary-900);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: bold;
  border: 3px solid var(--primary-700);
  pointer-events: auto;
  cursor: grab;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ba-handle-button:active {
  cursor: grabbing;
  transform: translate(-50%, -50%) scale(1.12);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.45);
}

.ba-badge {
  position: absolute;
  bottom: 20px;
  padding: 6px 14px;
  border-radius: 9999px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  z-index: 5;
  pointer-events: none;
  backdrop-filter: blur(8px);
}

.ba-badge-before {
  left: 20px;
  background: rgba(220, 38, 38, 0.85);
  color: #ffffff;
}

.ba-badge-after {
  right: 20px;
  background: rgba(16, 185, 129, 0.9);
  color: #ffffff;
}

/* ==========================================================================
   Professional Portfolio Gallery & Multi-Image Lightbox
   ========================================================================== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

@media (max-width: 1024px) {
  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
}

/* Editorial Bento Mode: Featured cards span 2 columns on desktop */
@media (min-width: 1025px) {
  .gallery-grid.bento-mode {
    grid-auto-flow: row dense;
  }

  .gallery-grid.bento-mode .gallery-card.featured-span {
    grid-column: span 2;
    aspect-ratio: 16 / 9;
  }
}

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

.gallery-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  background: #0f1513;
  cursor: pointer;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease;
  aspect-ratio: 4 / 3;
  animation: galleryCardEnter 0.4s cubic-bezier(0.16, 1, 0.3, 1) both;
  border: 1px solid rgba(15, 56, 42, 0.08);
}

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

.gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 62%;
  transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1), filter 0.4s ease;
}

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

.gallery-top-badges {
  position: absolute;
  top: 14px;
  left: 14px;
  right: 14px;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  pointer-events: none;
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    0deg,
    rgba(7, 26, 19, 0.96) 0%,
    rgba(7, 26, 19, 0.62) 45%,
    rgba(7, 26, 19, 0.12) 100%
  );
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.4rem;
  color: #ffffff;
  transition: background 0.3s ease;
}

.gallery-card:hover .gallery-overlay {
  background: linear-gradient(
    0deg,
    rgba(7, 26, 19, 0.98) 0%,
    rgba(7, 26, 19, 0.72) 55%,
    rgba(7, 26, 19, 0.2) 100%
  );
}

/* Lightbox Modal */
.lightbox-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(7, 20, 15, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s ease;
}

.lightbox-modal.active {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-stage-img {
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s ease;
  cursor: zoom-in;
}

.lightbox-stage-img.zoomed {
  transform: scale(1.65);
  cursor: zoom-out;
}

.lightbox-thumb {
  width: 68px;
  height: 48px;
  border-radius: 10px;
  overflow: hidden;
  border: 2px solid transparent;
  opacity: 0.55;
  cursor: pointer;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.lightbox-thumb:hover {
  opacity: 0.85;
}

.lightbox-thumb.active {
  border-color: #10b981;
  opacity: 1;
  box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.3);
}

/* ==========================================================================
   Appointment Booking Calendar Widget
   ========================================================================== */
.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px;
}

.calendar-day-btn {
  aspect-ratio: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  font-weight: 600;
  font-size: 0.85rem;
  background: transparent;
  cursor: pointer;
  transition: all 0.15s ease;
}

.calendar-day-btn:hover:not(:disabled) {
  background: rgba(15, 56, 42, 0.08);
  border-color: var(--primary-600);
}

.calendar-day-btn.selected {
  background: var(--primary-800) !important;
  color: #ffffff !important;
  box-shadow: 0 4px 12px rgba(15, 56, 42, 0.3);
}

.calendar-day-btn.disabled,
.calendar-day-btn:disabled {
  color: #cbd5e1;
  cursor: not-allowed;
  opacity: 0.45;
}

.calendar-day-btn.today {
  border-color: var(--accent-gold);
}

.timeslot-btn {
  padding: 0.75rem 1rem;
  border-radius: var(--radius-md);
  border: 1.5px solid var(--light-border);
  background: #ffffff;
  font-weight: 600;
  font-size: 0.9rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.timeslot-btn:hover {
  border-color: var(--primary-600);
  background: rgba(15, 56, 42, 0.04);
}

.timeslot-btn.selected {
  background: var(--primary-800);
  color: #ffffff;
  border-color: var(--primary-800);
}

/* ==========================================================================
   WhatsApp Floating Widget & Chat Modal
   ========================================================================== */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 900;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.whatsapp-pulse-btn {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: #25d366;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
  cursor: pointer;
  border: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  position: relative;
}

.whatsapp-pulse-btn:hover {
  transform: scale(1.08);
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.55);
}

.whatsapp-pulse-ring {
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid #25d366;
  opacity: 0.6;
  animation: pulse-ring 2.2s cubic-bezier(0.215, 0.61, 0.355, 1) infinite;
}

@keyframes pulse-ring {
  0% { transform: scale(0.95); opacity: 0.8; }
  50% { transform: scale(1.2); opacity: 0; }
  100% { transform: scale(1.2); opacity: 0; }
}

.whatsapp-chat-popup {
  position: fixed;
  bottom: 100px;
  right: 28px;
  width: 360px;
  max-width: calc(100vw - 32px);
  background: #ffffff;
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
  z-index: 910;
  overflow: hidden;
  border: 1px solid #e5e7eb;
  transform: translateY(20px) scale(0.95);
  opacity: 0;
  pointer-events: none;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.whatsapp-chat-popup.active {
  transform: translateY(0) scale(1);
  opacity: 1;
  pointer-events: auto;
}

/* ==========================================================================
   Mobile Sticky Bottom Navigation Bar & Mobile Touch Optimizations
   ========================================================================== */
.no-scrollbar::-webkit-scrollbar {
  display: none;
}
.no-scrollbar {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.mobile-bottom-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid var(--light-border);
  padding: 0.6rem 1rem calc(0.6rem + env(safe-area-inset-bottom, 0px));
  z-index: 850;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.08);
}

@media (max-width: 768px) {
  .mobile-bottom-bar {
    display: flex;
    align-items: center;
    justify-content: space-around;
    gap: 0.5rem;
  }
  body {
    padding-bottom: calc(72px + env(safe-area-inset-bottom, 0px));
  }
  /* Mobile uses dedicated 1-tap WhatsApp button in sticky bottom bar -> hide overlapping float bubble */
  .whatsapp-float {
    display: none !important;
  }
  .whatsapp-chat-popup {
    bottom: calc(85px + env(safe-area-inset-bottom, 0px));
    right: 16px;
    left: 16px;
    width: auto;
  }

  /* Prevent auto-zoom on iOS Safari when focusing form inputs */
  input[type="text"],
  input[type="email"],
  input[type="tel"],
  input[type="password"],
  select,
  textarea {
    font-size: 16px !important;
  }

  /* Slightly more compact Before/After badges on mobile */
  .ba-badge {
    bottom: 12px;
    padding: 4px 10px;
    font-size: 0.72rem;
  }
  .ba-badge-before { left: 12px; }
  .ba-badge-after { right: 12px; }
}

/* ==========================================================================
   File Upload Drag & Drop Box & Form Highlight
   ========================================================================== */
.file-dropzone {
  border: 2px dashed #cbd5e1;
  border-radius: var(--radius-md);
  padding: 1.5rem;
  text-align: center;
  background: #f8faf8;
  cursor: pointer;
  transition: all 0.2s ease;
}

.file-dropzone:hover,
.file-dropzone.dragover {
  border-color: var(--primary-600);
  background: rgba(15, 56, 42, 0.04);
}

@keyframes formPulseHighlight {
  0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.45); }
  70% { box-shadow: 0 0 0 12px rgba(16, 185, 129, 0); }
  100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.contact-highlight-pulse {
  animation: formPulseHighlight 1.2s ease-out;
}

/* ==========================================================================
   Google Maps & NRW-Einsatzgebiet
   ========================================================================== */
.gmaps-zoom-btn {
  user-select: none;
}

/* ==========================================================================
   Admin Live Incoming Inquiry Alert Banner
   ========================================================================== */
.admin-live-alert {
  position: fixed;
  top: 20px;
  right: 20px;
  width: 400px;
  max-width: calc(100vw - 32px);
  z-index: 1800;
  background: #071f17;
  color: #ffffff;
  border-radius: var(--radius-lg);
  border: 1.5px solid rgba(16, 185, 129, 0.55);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.35);
  padding: 1.15rem;
  transform: translateX(120%);
  opacity: 0;
  pointer-events: none;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.admin-live-alert.active {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}

/* Cookie Banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1100;
  background: rgba(15, 21, 19, 0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: #ffffff;
  padding: 1.25rem;
  box-shadow: 0 -8px 30px rgba(0, 0, 0, 0.3);
}

/* Toast Notification */
.toast-notice {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: #195842;
  color: #ffffff;
  padding: 12px 24px;
  border-radius: 9999px;
  font-weight: 600;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
  z-index: 2000;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  align-items: center;
  gap: 10px;
}

.toast-notice.show {
  transform: translateX(-50%) translateY(0);
}

/* ==========================================================================
   Accessibility Skip-Link, FAQ Accordion & Local SEO District Chips
   ========================================================================== */
.skip-link {
  position: fixed;
  top: -100px;
  left: 16px;
  z-index: 3000;
  background: var(--primary-950);
  color: #ffffff;
  padding: 0.6rem 1.2rem;
  border-radius: 9999px;
  font-size: 0.8rem;
  font-weight: 700;
  text-decoration: none;
  box-shadow: var(--shadow-card);
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 12px;
}

.faq-item {
  background: #ffffff;
  border: 1px solid var(--light-border);
  border-radius: var(--radius-md);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  overflow: hidden;
}

.faq-item:hover {
  border-color: rgba(15, 56, 42, 0.22);
}

.faq-item[open] {
  border-color: var(--primary-700);
  box-shadow: var(--shadow-subtle);
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 1.15rem 1.35rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--primary-950);
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-chevron {
  transition: transform 0.25s ease;
  flex-shrink: 0;
}

.faq-item[open] .faq-chevron {
  transform: rotate(180deg);
}

.district-seo-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.8rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
  background: #ffffff;
  color: var(--primary-900);
  border: 1px solid var(--light-border);
  cursor: pointer;
  transition: all 0.2s ease;
}

.district-seo-chip:hover {
  border-color: var(--primary-700);
  background: #f0f7f3;
  transform: translateY(-1px);
}

/* ==========================================================================
   Admin Modular Page Builder & Google SERP Simulator Styles
   ========================================================================== */
.module-builder-row {
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease, opacity 0.2s ease;
}

.module-builder-row.is-disabled {
  opacity: 0.58;
  background: #f9fafb;
}

.module-builder-row.drag-over {
  border-color: #10b981;
  box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.25);
}

.serp-preview-box {
  font-family: Arial, sans-serif;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 1.25rem;
}

.serp-title {
  color: #1a0dab;
  font-size: 1.18rem;
  line-height: 1.3;
  font-weight: 400;
  cursor: pointer;
}

.serp-title:hover {
  text-decoration: underline;
}

.serp-desc {
  color: #4d5156;
  font-size: 0.875rem;
  line-height: 1.55;
}
