/* ===== COMPREHENSIVE THEME SYSTEM ===== */
/* Single source of truth for all theming across the entire application */

:root {
  /* ===== CORE THEME COLORS - MODERN GREEN ORANGE (DEFAULT) ===== */
  --primary-color: #10b981;
  --primary-color-dark: #059669;
  --secondary-color: #f97316;
  --accent-color: #059669;
  --success-color: #059669;
  --warning-color: #d97706;
  --error-color: #dc2626;
  --info-color: #1d4ed8;

  /* ===== NEUTRAL COLORS ===== */
  --white: #ffffff;
  --black: #000000;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --gray-900: #111827;

  /* ===== GRADIENTS - WHITE BACKGROUNDS ===== */
  --hero-gradient: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  --cta-gradient: linear-gradient(135deg, #10b981 0%, #059669 25%, #047857 50%, #f97316 75%, #ea580c 100%);

  /* ===== TEXT COLORS ===== */
  --text-primary: #111827;
  --text-secondary: #4b5563;
  --text-muted: #6b7280;
  --text-inverse: #ffffff;
  --hero-text-color: #1f2937;

  /* ===== BACKGROUND COLORS - MAXIMUM WHITE ===== */
  --bg-primary: #ffffff;
  --bg-secondary: #ffffff;
  --bg-tertiary: #f8fafc;
  --bg-overlay: rgba(0, 0, 0, 0.5);

  /* ===== BORDER COLORS ===== */
  --border-primary: #e5e7eb;
  --border-secondary: #d1d5db;
  --border-focus: #10b981;

  /* ===== BUTTON SYSTEM - ACCESSIBLE & VISIBLE ===== */
  /* Primary Buttons - High contrast green */
  --btn-primary-bg: #10b981;
  --btn-primary-text: #ffffff;
  --btn-primary-hover-bg: #059669;
  --btn-primary-hover-text: #ffffff;
  --btn-primary-border: #10b981;

  /* Secondary Buttons - High contrast orange */
  --btn-secondary-bg: #f97316;
  --btn-secondary-text: #ffffff;
  --btn-secondary-hover-bg: #ea580c;
  --btn-secondary-hover-text: #ffffff;
  --btn-secondary-border: #f97316;

  /* CTA Buttons - Same as primary for consistency */
  --btn-cta-bg: #10b981;
  --btn-cta-text: #ffffff;
  --btn-cta-hover-bg: #059669;
  --btn-cta-hover-text: #ffffff;
  --btn-cta-border: #10b981;

  /* Outline Buttons - Transparent with colored border */
  --btn-outline-bg: transparent;
  --btn-outline-text: #10b981;
  --btn-outline-border: #10b981;
  --btn-outline-hover-bg: #10b981;
  --btn-outline-hover-text: #ffffff;

  /* Ghost Buttons - Subtle background */
  --btn-ghost-bg: #f0fdf4;
  --btn-ghost-text: #10b981;
  --btn-ghost-hover-bg: #dcfce7;
  --btn-ghost-hover-text: #059669;
  --btn-ghost-border: transparent;

  /* ===== RATE CARD SYSTEM ===== */
  --rate-card-primary: #10b981;
  --rate-card-primary-hover: #059669;
  --rate-card-bg: #ffffff;
  --rate-card-border: #e5e7eb;
  --rate-card-price: #10b981;
  --rate-card-category-text: #10b981;
  --rate-card-category-border: #10b981;
  --rate-card-category-active-bg: #f0fdf4;

  /* ===== CATEGORY BUTTONS ===== */
  --category-btn-bg: #f0fdf4;
  --category-btn-text: #6b7280;
  --category-btn-border: #e5e7eb;
  --category-btn-hover-bg: #dcfce7;
  --category-btn-hover-text: #10b981;
  --category-btn-active-bg: #10b981;
  --category-btn-active-text: #ffffff;

  /* ===== SERVICE ITEMS ===== */
  --service-item-bg: #ffffff;
  --service-item-border: #e5e7eb;
  --service-item-hover-border: #10b981;
  --service-item-price: #10b981;
  --service-item-title: #111827;

  /* ===== FORM ELEMENTS ===== */
  --input-bg: #ffffff;
  --input-border: #e5e7eb;
  --input-focus-border: #10b981;
  --input-focus-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
  --input-text: #111827;
  --input-placeholder: #9ca3af;

  /* ===== NAVIGATION ===== */
  --nav-bg: #ffffff;
  --nav-text: #6b7280;
  --nav-hover-text: #10b981;
  --nav-active-bg: #f0fdf4;
  --nav-active-text: #10b981;

  /* ===== FOOTER ===== */
  --footer-bg: #1f2937;
  --footer-bg-gradient: linear-gradient(135deg, #1f2937 0%, #111827 100%);
  --footer-text: #d1d5db;
  --footer-text-secondary: #9ca3af;
  --footer-text-muted: #6b7280;
  --footer-link: #ffffff;
  --footer-link-hover: #10b981;
  --footer-border: #374151;
  --footer-accent: #10b981;

  /* ===== HERO SECTION ===== */
  --hero-text-color: #1f2937;
  --hero-text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  --cta-text-color: #ffffff;
  --cta-text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);

  /* ===== SHADOWS ===== */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

/* ===== THEME: FOREST GREEN ===== */
[data-theme="forest_green"] {
  --primary-color: #22c55e;
  --primary-color-dark: #16a34a;
  --secondary-color: #16a34a;
  --accent-color: #15803d;

  --hero-gradient: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  --cta-gradient: linear-gradient(135deg, #22c55e 0%, #16a34a 25%, #15803d 50%, #166534 75%, #14532d 100%);

  /* Button System - Forest Green Theme */
  --btn-primary-bg: #22c55e;
  --btn-primary-text: #ffffff;
  --btn-primary-hover-bg: #16a34a;
  --btn-primary-hover-text: #ffffff;
  --btn-primary-border: #22c55e;

  --btn-secondary-bg: #16a34a;
  --btn-secondary-text: #ffffff;
  --btn-secondary-hover-bg: #15803d;
  --btn-secondary-hover-text: #ffffff;
  --btn-secondary-border: #16a34a;

  --btn-cta-bg: #22c55e;
  --btn-cta-text: #ffffff;
  --btn-cta-hover-bg: #16a34a;
  --btn-cta-hover-text: #ffffff;
  --btn-cta-border: #22c55e;

  --btn-outline-bg: transparent;
  --btn-outline-text: #22c55e;
  --btn-outline-border: #22c55e;
  --btn-outline-hover-bg: #22c55e;
  --btn-outline-hover-text: #ffffff;

  --btn-ghost-bg: #f0fdf4;
  --btn-ghost-text: #22c55e;
  --btn-ghost-hover-bg: #dcfce7;
  --btn-ghost-hover-text: #16a34a;
  --btn-ghost-border: transparent;

  /* Rate Card System */
  --rate-card-primary: #22c55e;
  --rate-card-primary-hover: #16a34a;
  --rate-card-price: #22c55e;
  --rate-card-category-text: #22c55e;
  --rate-card-category-border: #22c55e;
  --rate-card-category-active-bg: #f0fdf4;

  /* Category Buttons */
  --category-btn-bg: #f0fdf4;
  --category-btn-hover-text: #22c55e;
  --category-btn-active-text: #22c55e;
  --category-btn-border: #22c55e;

  /* Service Items */
  --service-item-hover-border: #22c55e;
  --service-item-price: #22c55e;

  /* Form Elements */
  --input-focus-border: #22c55e;
  --input-focus-shadow: 0 0 0 3px rgba(34, 197, 94, 0.1);

  /* Navigation */
  --nav-active-bg: #22c55e;
  --nav-hover-text: #22c55e;
  --nav-active-text: #22c55e;

  /* Footer */
  --footer-bg: #1f2937;
  --footer-bg-gradient: linear-gradient(135deg, #1f2937 0%, #111827 100%);
  --footer-text: #d1d5db;
  --footer-text-secondary: #9ca3af;
  --footer-text-muted: #6b7280;
  --footer-link: #ffffff;
  --footer-link-hover: #22c55e;
  --footer-border: #374151;
  --footer-accent: #22c55e;

  --hero-text-color: #1f2937;
  --hero-text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  --cta-text-color: #ffffff;
  --cta-text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* ===== THEME: WASHETERIA SUBTLE GREEN ORANGE ===== */
[data-theme="washeteria_subtle"] {
  /* Primary Colors - Softer, more muted tones */
  --primary-color: #22c55e;
  /* Softer green, less intense */
  --primary-color-dark: #16a34a;
  /* Deeper but not harsh */
  --secondary-color: #fb923c;
  /* Warmer, softer orange */
  --accent-color: #15803d;
  /* Muted forest green */

  /* Gradients - Much more subtle and professional */
  --hero-gradient: linear-gradient(135deg, #fefefe 0%, #f8fafc 30%, #f1f5f9 100%);
  --cta-gradient: linear-gradient(135deg,
      rgba(34, 197, 94, 0.85) 0%,
      rgba(22, 163, 74, 0.9) 35%,
      rgba(21, 128, 61, 0.95) 65%,
      rgba(251, 146, 60, 0.9) 100%);

  /* Button System - Professional and accessible */
  --btn-primary-bg: #22c55e;
  --btn-primary-text: #ffffff;
  --btn-primary-hover-bg: #16a34a;
  --btn-primary-hover-text: #ffffff;
  --btn-primary-border: #22c55e;

  --btn-secondary-bg: #fb923c;
  --btn-secondary-text: #ffffff;
  --btn-secondary-hover-bg: #f97316;
  --btn-secondary-hover-text: #ffffff;
  --btn-secondary-border: #fb923c;

  --btn-cta-bg: #22c55e;
  --btn-cta-text: #ffffff;
  --btn-cta-hover-bg: #16a34a;
  --btn-cta-hover-text: #ffffff;
  --btn-cta-border: #22c55e;

  --btn-outline-bg: transparent;
  --btn-outline-text: #15803d;
  --btn-outline-border: #22c55e;
  --btn-outline-hover-bg: #22c55e;
  --btn-outline-hover-text: #ffffff;

  --btn-ghost-bg: #f0fdf4;
  --btn-ghost-text: #15803d;
  --btn-ghost-hover-bg: #dcfce7;
  --btn-ghost-hover-text: #14532d;
  --btn-ghost-border: transparent;

  /* Rate Card System - Softer colors for better readability */
  --rate-card-primary: #22c55e;
  --rate-card-primary-hover: #16a34a;
  --rate-card-price: #f97316;
  /* Slightly more muted orange for prices */
  --rate-card-category-text: #15803d;
  --rate-card-category-border: #86efac;
  /* Much lighter border */
  --rate-card-category-active-bg: #f0fdf4;

  /* Category Buttons - Very subtle */
  --category-btn-bg: #f7fee7;
  /* Extremely light green */
  --category-btn-hover-text: #15803d;
  --category-btn-active-text: #15803d;
  --category-btn-border: #d4edda;
  /* Very light border */

  /* Service Items - Gentle highlighting */
  --service-item-hover-border: #86efac;
  /* Light green border */
  --service-item-price: #15803d;

  /* Form Elements - Subtle focus states */
  --input-focus-border: #22c55e;
  --input-focus-shadow: 0 0 0 3px rgba(34, 197, 94, 0.08);
  /* Very subtle shadow */

  /* Navigation - Clean and professional */
  --nav-active-bg: rgba(34, 197, 94, 0.1);
  /* Very light background */
  --nav-hover-text: #15803d;
  --nav-active-text: #15803d;

  /* Footer - Sophisticated dark theme with subtle accents */
  --footer-bg: #1e293b;
  /* Softer dark blue-gray */
  --footer-bg-gradient: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
  --footer-text: #e2e8f0;
  /* Softer light gray */
  --footer-text-secondary: #94a3b8;
  /* Medium gray */
  --footer-text-muted: #64748b;
  /* Muted gray */
  --footer-link: #f8fafc;
  /* Clean white */
  --footer-link-hover: #86efac;
  /* Light green hover */
  --footer-border: #334155;
  /* Subtle border */
  --footer-accent: #22c55e;

  /* Typography colors - Better contrast and readability */
  --hero-text-color: #1e293b;
  /* Darker, more readable */
  --hero-text-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
  /* Very subtle shadow */
  --cta-text-color: #ffffff;
  --cta-text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);

  /* Additional subtle colors for enhanced UX */
  --background-subtle: #fefefe;
  /* Almost white background */
  --background-muted: #f8fafc;
  /* Light gray background */
  --border-light: #e2e8f0;
  /* Light borders */
  --text-primary: #1e293b;
  /* Primary text */
  --text-secondary: #475569;
  /* Secondary text */
  --text-muted: #64748b;
  /* Muted text */

  /* Success and warning colors - laundry appropriate */
  --success-color: #22c55e;
  /* Clean/fresh green */
  --warning-color: #fb923c;
  /* Gentle orange */
  --info-color: #3b82f6;
  /* Clean blue */

  /* Card and section backgrounds */
  --card-bg: #ffffff;
  --card-shadow: 0 1px 3px rgba(0, 0, 0, 0.05), 0 1px 2px rgba(0, 0, 0, 0.1);
  --section-bg-alt: #f9fafb;
  /* Alternative section background */

  /* Footer Variables */
  --footer-bg: #1e293b;
  --footer-bg-gradient: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
  --footer-text: #e2e8f0;
  --footer-text-secondary: #94a3b8;
  --footer-text-muted: #64748b;
  --footer-link: #f8fafc;
  --footer-link-hover: #86efac;
  --footer-border: #334155;
  --footer-accent: #22c55e;
}

/* ===== THEME: MODERN GREEN ORANGE ===== */
[data-theme="modern_green_orange"] {
  --primary-color: #10b981;
  --primary-color-dark: #059669;
  --secondary-color: #f97316;
  --accent-color: #059669;

  --hero-gradient: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  --cta-gradient: linear-gradient(135deg, #10b981 0%, #059669 25%, #047857 50%, #f97316 75%, #ea580c 100%);

  /* Button System - Modern Green Orange Theme */
  --btn-primary-bg: #10b981;
  --btn-primary-text: #ffffff;
  --btn-primary-hover-bg: #059669;
  --btn-primary-hover-text: #ffffff;
  --btn-primary-border: #10b981;

  --btn-secondary-bg: #f97316;
  --btn-secondary-text: #ffffff;
  --btn-secondary-hover-bg: #ea580c;
  --btn-secondary-hover-text: #ffffff;
  --btn-secondary-border: #f97316;

  --btn-cta-bg: #10b981;
  --btn-cta-text: #ffffff;
  --btn-cta-hover-bg: #059669;
  --btn-cta-hover-text: #ffffff;
  --btn-cta-border: #10b981;

  --btn-outline-bg: transparent;
  --btn-outline-text: #10b981;
  --btn-outline-border: #10b981;
  --btn-outline-hover-bg: #10b981;
  --btn-outline-hover-text: #ffffff;

  --btn-ghost-bg: #f0fdf4;
  --btn-ghost-text: #10b981;
  --btn-ghost-hover-bg: #dcfce7;
  --btn-ghost-hover-text: #059669;
  --btn-ghost-border: transparent;

  /* Rate Card System */
  --rate-card-primary: #10b981;
  --rate-card-primary-hover: #059669;
  --rate-card-price: #f97316;
  --rate-card-category-text: #10b981;
  --rate-card-category-border: #10b981;
  --rate-card-category-active-bg: #f0fdf4;

  /* Category Buttons */
  --category-btn-bg: #f0fdf4;
  --category-btn-hover-text: #10b981;
  --category-btn-active-text: #10b981;
  --category-btn-border: #10b981;

  /* Service Items */
  --service-item-hover-border: #10b981;
  --service-item-price: #10b981;

  /* Form Elements */
  --input-focus-border: #10b981;
  --input-focus-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);

  /* Navigation */
  --nav-active-bg: #10b981;
  --nav-hover-text: #10b981;
  --nav-active-text: #10b981;

  /* Footer */
  --footer-bg: #1f2937;
  --footer-bg-gradient: linear-gradient(135deg, #1f2937 0%, #111827 100%);
  --footer-text: #d1d5db;
  --footer-text-secondary: #9ca3af;
  --footer-text-muted: #6b7280;
  --footer-link: #ffffff;
  --footer-link-hover: #10b981;
  --footer-border: #374151;
  --footer-accent: #10b981;

  --hero-text-color: #1f2937;
  --hero-text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  --cta-text-color: #ffffff;
  --cta-text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);

  /* Footer Variables */
  --footer-bg: #1e293b;
  --footer-bg-gradient: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
  --footer-text: #e2e8f0;
  --footer-text-secondary: #94a3b8;
  --footer-text-muted: #64748b;
  --footer-link: #f8fafc;
  --footer-link-hover: #10b981;
  --footer-border: #334155;
  --footer-accent: #10b981;
}

/* ===== BODY BACKGROUND FIX ===== */
body {
  background-color: #ffffff !important;
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%) !important;
}

html {
  background-color: #ffffff !important;
}

/* ===== HERO TEXT FIX ===== */
.hero-section h1,
main .hero-section h1,
.hero h1,
main h1,
h1.text-4xl,
h1.text-6xl,
main h1.text-4xl,
main h1.text-6xl,
h1.text-4xl.md\:text-6xl,
h1.text-4xl.md\:text-6xl.font-bold,
main h1.text-4xl.md\:text-6xl,
main h1.text-4xl.md\:text-6xl.font-bold {
  color: #1f2937 !important;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1) !important;
}

.hero-section p,
main .hero-section p,
.hero p,
main p,
p.text-xl,
p.text-2xl,
main p.text-xl,
main p.text-2xl,
p.text-xl.md\:text-2xl,
main p.text-xl.md\:text-2xl {
  color: #4b5563 !important;
}

/* ===== COMPREHENSIVE BUTTON SYSTEM ===== */
/* Base button styles for consistent sizing and accessibility */
.btn,
.btn-theme,
a.btn,
a.btn-theme,
button[class*="btn"] {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-width: 120px !important;
  height: 40px !important;
  padding: 0.5rem 1rem !important;
  margin: 0.25rem !important;
  border: 1px solid transparent !important;
  border-radius: 0.375rem !important;
  font-size: 0.875rem !important;
  font-weight: 600 !important;
  text-decoration: none !important;
  cursor: pointer !important;
  transition: all 0.2s ease-in-out !important;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1) !important;
  white-space: nowrap !important;
  line-height: 1.25rem !important;
}

/* Primary Button Styles */
.btn-primary,
.btn-theme,
a.btn-primary,
a.btn-theme {
  background-color: var(--btn-primary-bg) !important;
  color: var(--btn-primary-text) !important;
  border-color: var(--btn-primary-border) !important;
}

.btn-primary:hover,
.btn-theme:hover,
a.btn-primary:hover,
a.btn-theme:hover {
  background-color: var(--btn-primary-hover-bg) !important;
  color: var(--btn-primary-hover-text) !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15) !important;
}

/* Secondary Button Styles */
.btn-secondary,
a.btn-secondary {
  background-color: var(--btn-secondary-bg) !important;
  color: var(--btn-secondary-text) !important;
  border-color: var(--btn-secondary-border) !important;
}

.btn-secondary:hover,
a.btn-secondary:hover {
  background-color: var(--btn-secondary-hover-bg) !important;
  color: var(--btn-secondary-hover-text) !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15) !important;
}

/* CTA Button Styles */
.btn-cta,
a.btn-cta {
  background-color: var(--btn-cta-bg) !important;
  color: var(--btn-cta-text) !important;
  border-color: var(--btn-cta-border) !important;
}

.btn-cta:hover,
a.btn-cta:hover {
  background-color: var(--btn-cta-hover-bg) !important;
  color: var(--btn-cta-hover-text) !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15) !important;
}

/* Outline Button Styles */
.btn-outline,
a.btn-outline {
  background-color: var(--btn-outline-bg) !important;
  color: var(--btn-outline-text) !important;
  border-color: var(--btn-outline-border) !important;
}

.btn-outline:hover,
a.btn-outline:hover {
  background-color: var(--btn-outline-hover-bg) !important;
  color: var(--btn-outline-hover-text) !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15) !important;
}

/* Ghost Button Styles */
.btn-ghost,
a.btn-ghost {
  background-color: var(--btn-ghost-bg) !important;
  color: var(--btn-ghost-text) !important;
  border-color: var(--btn-ghost-border) !important;
}

.btn-ghost:hover,
a.btn-ghost:hover {
  background-color: var(--btn-ghost-hover-bg) !important;
  color: var(--btn-ghost-hover-text) !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15) !important;
}

/* Phone/Call button styles */
a[href^="tel:"] {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-width: 120px !important;
  height: 40px !important;
  padding: 0.5rem 1rem !important;
  margin: 0.25rem !important;
  border: 1px solid var(--border-primary) !important;
  border-radius: 0.375rem !important;
  font-size: 0.875rem !important;
  font-weight: 500 !important;
  text-decoration: none !important;
  color: var(--text-primary) !important;
  background-color: var(--bg-primary) !important;
  cursor: pointer !important;
  transition: all 0.2s ease-in-out !important;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1) !important;
  white-space: nowrap !important;
}

a[href^="tel:"]:hover {
  background-color: var(--bg-secondary) !important;
  color: var(--text-primary) !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15) !important;
}

/* Phone number text visibility - ensure text is always visible */
a[href^="tel:"] span,
a[href^="tel:"] .phone-text {
  color: var(--text-primary) !important;
  font-weight: 500 !important;
}

a[href^="tel:"]:hover span,
a[href^="tel:"]:hover .phone-text {
  color: var(--text-primary) !important;
}

/* Phone icon styling */
a[href^="tel:"] svg {
  color: var(--primary-color) !important;
  margin-right: 0.25rem !important;
}

a[href^="tel:"]:hover svg {
  color: var(--primary-color) !important;
}

/* Ensure non-floating Call CTA is clearly visible in CTA section */
.cta-section a[href^="tel:"] {
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.5rem !important;
  padding: 0.75rem 1.5rem !important;
  border-radius: 0.5rem !important;
  background-color: var(--btn-primary-bg) !important;
  color: var(--btn-primary-text) !important;
  border: 1px solid var(--btn-primary-border) !important;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.15) !important;
  font-weight: 600 !important;
}

.cta-section a[href^="tel:"]:hover {
  background-color: var(--btn-primary-hover-bg) !important;
  color: var(--btn-primary-hover-text) !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2) !important;
}

.cta-section a[href^="tel:"] svg {
  color: #ffffff !important;
  fill: currentColor !important;
}

/* Dashboard button styles */
a[href*="/admin/"] {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-width: 120px !important;
  height: 40px !important;
  padding: 0.5rem 1rem !important;
  margin: 0.25rem !important;
  border: 1px solid var(--border-primary) !important;
  border-radius: 0.375rem !important;
  font-size: 0.875rem !important;
  font-weight: 500 !important;
  text-decoration: none !important;
  color: var(--text-secondary) !important;
  background-color: var(--bg-primary) !important;
  cursor: pointer !important;
  transition: all 0.2s ease-in-out !important;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1) !important;
  white-space: nowrap !important;
}

a[href*="/admin/"]:hover {
  background-color: var(--bg-secondary) !important;
  color: var(--text-primary) !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15) !important;
}

/* Logout button styles */
a[href*="/logout"] {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-width: 120px !important;
  height: 40px !important;
  padding: 0.5rem 1rem !important;
  margin: 0.25rem !important;
  border: 1px solid #dc2626 !important;
  border-radius: 0.375rem !important;
  font-size: 0.875rem !important;
  font-weight: 500 !important;
  text-decoration: none !important;
  color: white !important;
  background-color: #dc2626 !important;
  cursor: pointer !important;
  transition: all 0.2s ease-in-out !important;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1) !important;
  white-space: nowrap !important;
}

a[href*="/logout"]:hover {
  background-color: #b91c1c !important;
  border-color: #b91c1c !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15) !important;
}

/* Responsive button adjustments */
@media (max-width: 640px) {

  .btn,
  .btn-theme,
  a.btn,
  a.btn-theme,
  a[href^="tel:"],
  a[href*="/admin/"],
  a[href*="/logout"] {
    min-width: 100px !important;
    height: 36px !important;
    padding: 0.375rem 0.75rem !important;
    font-size: 0.8125rem !important;
  }
}

/* Focus states for accessibility */
.btn:focus,
.btn-theme:focus,
a.btn:focus,
a.btn-theme:focus,
a[href^="tel:"]:focus,
a[href*="/admin/"]:focus,
a[href*="/logout"]:focus {
  outline: 2px solid var(--primary-color) !important;
  outline-offset: 2px !important;
}

/* Additional phone number visibility fixes */
/* Ensure phone numbers are visible in all contexts */
a[href^="tel:"] * {
  color: inherit !important;
}

/* Phone number text in navigation and other areas */
.text-gray-600[href^="tel:"],
a.text-gray-600[href^="tel:"] {
  color: var(--text-primary) !important;
}

/* Ensure phone numbers are visible on different backgrounds */
a[href^="tel:"] {
  background-color: var(--bg-primary) !important;
  border: 1px solid var(--border-primary) !important;
  color: var(--text-primary) !important;
}

/* Phone number in hidden/visible responsive text */
a[href^="tel:"] .hidden,
a[href^="tel:"] .xl\:inline {
  color: var(--text-primary) !important;
}

/* Override any conflicting text colors for phone links */
a[href^="tel:"] {
  color: var(--text-primary) !important;
}

a[href^="tel:"]:visited {
  color: var(--text-primary) !important;
}

a[href^="tel:"]:active {
  color: var(--text-primary) !important;
}

/* ===== SOCIAL MEDIA ICONS WITH OFFICIAL COLORS ===== */
.social-icon {
  width: 24px;
  height: 24px;
  transition: all 0.3s ease;
}

/* Facebook - Official Blue */
.facebook-icon {
  color: #1877F2;
}

.facebook-icon:hover {
  color: #166FE5;
  transform: scale(1.1);
}

/* Instagram - Official Gradient */
.instagram-icon {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.instagram-icon:hover {
  transform: scale(1.1);
  filter: brightness(1.2);
}

/* Twitter - Official Blue */
.twitter-icon {
  color: #1DA1F2;
}

.twitter-icon:hover {
  color: #1A91DA;
  transform: scale(1.1);
}

/* LinkedIn - Official Blue */
.linkedin-icon {
  color: #0077B5;
}

.linkedin-icon:hover {
  color: #005885;
  transform: scale(1.1);
}

/* Google - Official Colors */
.google-icon {
  color: #4285F4;
}

.google-icon:hover {
  color: #3367D6;
  transform: scale(1.1);
}

/* Social links container */
.social-links {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--bg-primary);
  border: 1px solid var(--border-primary);
  transition: all 0.3s ease;
  text-decoration: none !important;
}

.social-link:hover {
  background-color: var(--bg-secondary);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  text-decoration: none !important;
}

/* ===== MODERN FOOTER STYLES ===== */
.modern-footer {
  background: var(--footer-bg);
  background-image: var(--footer-bg-gradient);
  color: var(--footer-text);
  font-family: inherit;
}

/* CTA Section */
.cta-section {
  background: var(--cta-gradient);
  padding: 3rem 0;
  text-align: center;
}

.cta-content {
  max-width: 800px;
  margin: 0 auto;
}

.cta-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--cta-text-color);
  text-shadow: var(--cta-text-shadow);
  margin-bottom: 2rem;
  line-height: 1.2;
}

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

.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.cta-btn.primary {
  background-color: var(--btn-primary-bg);
  color: var(--btn-primary-text);
  border: 1px solid var(--btn-primary-border);
}

.cta-btn.primary:hover {
  background-color: var(--btn-primary-hover-bg);
  color: var(--btn-primary-hover-text);
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.cta-btn.secondary {
  background-color: var(--btn-secondary-bg);
  color: var(--btn-secondary-text);
  border: 1px solid var(--btn-secondary-border);
}

.cta-btn.secondary:hover {
  background-color: var(--btn-secondary-hover-bg);
  color: var(--btn-secondary-hover-text);
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

/* Footer Main */
.footer-main {
  padding: 3rem 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.footer-brand {
  max-width: 400px;
}

.brand-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--footer-text);
  margin-bottom: 1rem;
}

.brand-description {
  color: var(--footer-text-secondary);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.footer-contact-social {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer-link {
  color: var(--footer-link);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.footer-link:hover {
  color: var(--footer-link-hover);
  text-decoration: none;
}

/* Footer Bottom */
.footer-bottom {
  border-top: 1px solid var(--footer-border);
  padding: 2rem 0;
}

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

.contact-info {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--footer-text-secondary);
}

.contact-link {
  color: var(--footer-link);
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact-link:hover {
  color: var(--footer-link-hover);
  text-decoration: none;
}

.copyright {
  color: var(--footer-text-muted);
}

.copyright p {
  color: var(--footer-text-muted);
  font-size: 0.9rem;
  margin: 0;
}

/* Remove underlines from all links and buttons */
a {
  text-decoration: none !important;
}

a:hover {
  text-decoration: none !important;
}

a:focus {
  text-decoration: none !important;
}

a:visited {
  text-decoration: none !important;
}

a:active {
  text-decoration: none !important;
}

/* Remove underlines from all buttons */
button {
  text-decoration: none !important;
}

button:hover {
  text-decoration: none !important;
}

button:focus {
  text-decoration: none !important;
}

/* Remove underlines from all clickable elements */
.btn,
.btn-theme,
a.btn,
a.btn-theme,
input[type="button"],
input[type="submit"],
input[type="reset"] {
  text-decoration: none !important;
}

.btn:hover,
.btn-theme:hover,
a.btn:hover,
a.btn-theme:hover,
input[type="button"]:hover,
input[type="submit"]:hover,
input[type="reset"]:hover {
  text-decoration: none !important;
}

.btn:focus,
.btn-theme:focus,
a.btn:focus,
a.btn-theme:focus,
input[type="button"]:focus,
input[type="submit"]:focus,
input[type="reset"]:focus {
  text-decoration: none !important;
}

/* ===== SERVICES SECTION STYLING ===== */
/* Service Items */
#services .service-item,
#services .service-card,
#services .bg-white.rounded-lg {
  background: var(--service-item-bg) !important;
  border: 1px solid var(--service-item-border) !important;
}

#services .service-item:hover,
#services .service-card:hover,
#services .bg-white.rounded-lg:hover {
  border-color: var(--service-item-hover-border) !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1) !important;
}

#services .service-item h3,
#services .service-card h3,
#services .service-title {
  color: var(--service-item-title) !important;
  font-weight: 600 !important;
}

#services .service-item .price,
#services .service-card .price,
#services .text-green-600,
#services .text-gray-800.font-bold {
  color: var(--service-item-price) !important;
  font-weight: 700 !important;
  font-size: 1.1rem !important;
}

/* Category Tabs in Services */
#services .category-button,
#services button[data-category],
#services .tab-button {
  color: var(--category-btn-text) !important;
  border-bottom: 3px solid transparent !important;
  font-weight: 500 !important;
  padding: 1rem 1.5rem !important;
  margin-bottom: 0.5rem !important;
  background: var(--category-btn-inactive-bg) !important;
  border-radius: 0.375rem 0.375rem 0 0 !important;
}

#services .category-button:hover,
#services button[data-category]:hover,
#services .tab-button:hover {
  color: var(--category-btn-hover-text) !important;
  border-bottom-color: var(--category-btn-border) !important;
  background: rgba(255, 255, 255, 0.2) !important;
}

#services .category-button.active,
#services button[data-category].active,
#services .tab-button.active {
  color: var(--category-btn-active-text) !important;
  border-bottom-color: var(--category-btn-border) !important;
  font-weight: 700 !important;
  background: var(--category-btn-bg) !important;
}

/* Fix for scraped service data visibility in services section */
#services .service-item h4,
#services .service-title {
  color: var(--text-primary) !important;
  min-height: 2.5rem !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

#services .service-item .price {
  background: rgba(255, 255, 255, 0.9) !important;
  padding: 4px 8px !important;
  border-radius: 6px !important;
  border: 1px solid var(--primary-color) !important;
  margin-top: 8px !important;
}

/* Service area cards enhancement in services section */
#services .border-l-4.border-green-500 {
  border-left-color: var(--primary-color) !important;
}

#services .text-green-600 {
  color: var(--primary-color) !important;
}

/* ===== MODERN FOOTER STYLING ===== */
.modern-footer {
  background: var(--footer-bg-gradient);
  color: var(--footer-text);
  position: relative;
  overflow: hidden;
}

/* Match Claude's container utility */
.modern-footer .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.modern-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Ccircle cx='20' cy='20' r='2' fill='%23ffffff' opacity='0.02'/%3E%3Ccircle cx='80' cy='80' r='2' fill='%23ffffff' opacity='0.02'/%3E%3C/svg%3E") repeat;
  pointer-events: none;
}

/* CTA Section */
.cta-section {
  background: var(--cta-gradient);
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 60'%3E%3Cpath d='M30 30c0-16.569 13.431-30 30-30v60c-16.569 0-30-13.431-30-30z' fill='%23ffffff' opacity='0.03'/%3E%3C/svg%3E") repeat;
  animation: float 20s linear infinite;
  pointer-events: none;
}

@keyframes float {
  0% {
    transform: translate(-50px, -50px);
  }

  100% {
    transform: translate(50px, 50px);
  }
}

.cta-content h2 {
  font-size: 3rem;
  font-weight: 700;
  color: white;
  margin-bottom: 2rem;
  line-height: 1.2;
  text-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.cta-buttons {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 2.5rem;
}

.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 2.5rem;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  font-size: 1.1rem;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  position: relative;
  overflow: hidden;
}

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

.cta-btn:hover::before {
  left: 100%;
}

.cta-btn.primary {
  background: rgba(255, 255, 255, 0.15);
  color: white;
  border: 2px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(10px);
}

.cta-btn.primary:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: translateY(-2px);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.25);
}

.cta-btn.secondary {
  background: rgba(255, 255, 255, 0.95);
  color: #1e293b;
  border: 2px solid transparent;
}

.cta-btn.secondary:hover {
  background: white;
  transform: translateY(-2px);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.25);
}

/* Footer Main */
.footer-main {
  padding: 80px 0;
  position: relative;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.footer-brand h3 {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--footer-accent);
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, var(--footer-accent), #86efac);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.footer-brand p {
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--footer-text-secondary);
  max-width: 400px;
}

.footer-contact-social {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

/* Social Links */
.social-links {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 16px;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(10px);
}

.social-link::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: inherit;
  border-radius: inherit;
  opacity: 0.1;
  transition: opacity 0.3s;
}

.social-link:hover::before {
  opacity: 0.2;
}

.social-link:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.2);
}

.social-icon {
  width: 28px;
  height: 28px;
  z-index: 1;
}

/* Official Social Media Colors */
.social-link.facebook,
.facebook-icon {
  background: #1877F2;
  color: white;
}

.social-link.instagram,
.instagram-icon {
  background: linear-gradient(45deg, #F56040, #E1306C, #C13584, #833AB4, #5B51D8, #405DE6);
  color: white;
}

.social-link.linkedin,
.linkedin-icon {
  background: #0A66C2;
  color: white;
}

.social-link.google,
.google-icon {
  background: #4285F4;
  color: white;
}

.social-link.whatsapp,
.whatsapp-icon {
  background: #25D366;
  color: white;
}

/* Twitter platform card background */
.social-link.twitter,
.twitter-icon {
  background: #1DA1F2;
  color: white;
}

/* Keep brand tiles and white glyphs on hover */
.modern-footer .social-link svg {
  fill: #ffffff;
  color: #ffffff;
  transition: transform 0.3s ease;
}

.modern-footer .social-link:hover svg {
  fill: #ffffff;
  color: #ffffff;
  transform: scale(1.05);
}

/* Prevent generic hover bg overriding brand backgrounds */
.modern-footer .social-link:hover {
  background: inherit;
}

.modern-footer .social-link.facebook:hover {
  background: #1877F2;
}

.modern-footer .social-link.instagram:hover {
  background: linear-gradient(45deg, #F56040, #E1306C, #C13584, #833AB4, #5B51D8, #405DE6);
}

.modern-footer .social-link.linkedin:hover {
  background: #0A66C2;
}

.modern-footer .social-link.google:hover {
  background: #4285F4;
}

.modern-footer .social-link.whatsapp:hover {
  background: #25D366;
}

/* Ensure CTA secondary (WhatsApp) text remains visible on hover */
.modern-footer .cta-btn.secondary {
  background: rgba(255, 255, 255, 0.95);
  color: #1e293b;
  border: 2px solid transparent;
}

.modern-footer .cta-btn.secondary:hover {
  background: #ffffff;
  color: #1e293b;
  border-color: transparent;
}

.modern-footer .cta-btn.secondary svg {
  color: #1e293b;
  fill: currentColor;
}

.modern-footer .cta-btn.secondary:hover svg {
  color: #1e293b;
  fill: currentColor;
}

/* Modern Navbar styles to match footer aesthetics */
.modern-navbar {
  background: #ffffff;
  position: relative;
  top: auto;
  /* Standardized z-index stack (mobile): navbar 70, drawer 65, overlay 60, theme switcher 30 */
  z-index: 70;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  backdrop-filter: saturate(120%) blur(4px);
}

/* On mobile, disable backdrop-filter to avoid creating a containing block
   that traps fixed-position children (the mobile drawer/overlay) */
@media (max-width: 1024px) {
  .modern-navbar {
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    overflow: visible;
  }
}

/* Mobile menu overlay and drawer helpers (used by Alpine x-show states) */
.nav-overlay {
  z-index: 60;
}

.nav-drawer {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 65;
  transform: translateX(-100%);
  transition: transform 0.25s ease;
}

.nav-drawer.open {
  transform: translateX(0);
}

/* Ensure full-viewport coverage on mobile, regardless of utility classes */
@media (max-width: 1024px) {
  .nav-drawer {
    height: 100vh;
    width: 100vw;
    max-width: none;
    right: 0;
  }
}

.modern-navbar .nav-link {
  color: #374151;
  position: relative;
  transition: color 0.2s ease;
}

.modern-navbar .nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 2px;
  background: var(--theme-accent, #22c55e);
  transition: width 0.25s ease;
}

.modern-navbar .nav-link:hover {
  color: #111827;
}

.modern-navbar .nav-link:hover::after {
  width: 100%;
}

.modern-navbar .nav-social .social-link {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease;
}

.modern-navbar .nav-social .social-link:hover {
  transform: translateY(-2px);
}

.modern-navbar .social-link svg {
  fill: #ffffff;
  color: #ffffff;
}

.modern-navbar .social-link.facebook {
  background: #1877F2;
}

.modern-navbar .social-link.instagram {
  background: linear-gradient(45deg, #F56040, #E1306C, #C13584, #833AB4, #5B51D8, #405DE6);
}

.modern-navbar .social-link.linkedin {
  background: #0A66C2;
}

.modern-navbar .social-link.google {
  background: #4285F4;
}

.modern-navbar .social-link.twitter {
  background: #1DA1F2;
}

.modern-navbar .social-link.whatsapp {
  background: #25D366;
}

/* Floating left-side social widget */
.floating-social {
  position: fixed;
  left: 12px;
  top: 40%;
  transform: translateY(-50%);
  z-index: 20;
  flex-direction: column;
  gap: 10px;
}

.floating-social .floating-item {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.12);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  position: relative;
  overflow: visible;
}

.floating-social .floating-item svg {
  color: #fff;
  fill: currentColor;
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

.floating-social .floating-item:hover {
  transform: translateX(2px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.18);
}

.floating-social .floating-item .label {
  position: absolute;
  left: 44px;
  top: 50%;
  transform: translateY(-50%);
  white-space: nowrap;
  background: rgba(0, 0, 0, 0.85);
  color: #fff;
  padding: 6px 10px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, left 0.2s ease;
  z-index: 1000;
}

.floating-social .floating-item:hover .label {
  opacity: 1;
  left: 52px;
}

/* Ensure floating widget labels remain readable even inside tel: links */
.floating-social .floating-item .label {
  color: #fff !important;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.15);
  mix-blend-mode: normal;
}

.floating-social .floating-item.call .label {
  background: rgba(0, 0, 0, 0.85) !important;
  color: #fff !important;
  mix-blend-mode: normal !important;
}

.floating-social .floating-item.whatsapp {
  background: #25D366;
}

.floating-social .floating-item.instagram {
  background: linear-gradient(45deg, #F56040, #E1306C, #C13584, #833AB4, #5B51D8, #405DE6);
}

.floating-social .floating-item.call {
  background: #ffffff;
  border: 1px solid #16a34a;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.18);
}

/* Override generic tel: link button styles inside floating widget */
.floating-social .floating-item.call[href^="tel:"] {
  min-width: 44px !important;
  width: 44px !important;
  height: 44px !important;
  padding: 0 !important;
  margin: 0 !important;
  border: 1px solid #16a34a !important;
  background-color: #ffffff !important;
  color: #16a34a !important;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.12) !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.floating-social .floating-item.call:hover {
  background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
  border-color: transparent;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.22);
}

/* Make call icon green on white base, invert to white on green hover */
.floating-social .floating-item.call svg {
  color: #16a34a !important;
}

.floating-social .floating-item.call:hover svg {
  color: #ffffff !important;
}

.floating-social .floating-item.book {
  background: #0ea5e9;
}

/* Slightly larger book icon for clarity */
.floating-social .floating-item.book svg {
  width: 24px;
  height: 24px;
}

@media (max-width: 768px) {
  .floating-social {
    display: none !important;
  }
}

/* Footer Navigation */
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
}

.footer-link {
  color: var(--footer-text-secondary);
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  position: relative;
}

.footer-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--footer-accent);
  transition: width 0.3s ease;
}

.footer-link:hover {
  color: var(--footer-link-hover);
}

.footer-link:hover::after {
  width: 100%;
}

/* Footer Bottom */
.footer-bottom {
  border-top: 1px solid var(--footer-border);
  padding: 2rem 0;
  background: rgba(15, 23, 42, 0.5);
}

.footer-bottom-content {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  align-items: center;
}

.contact-info {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--footer-text-secondary);
}

.contact-item svg {
  color: var(--footer-accent);
  flex-shrink: 0;
}

.contact-link {
  color: var(--footer-text-secondary);
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact-link:hover {
  color: var(--footer-link-hover);
}

.copyright {
  color: var(--footer-text-muted);
  font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
  .cta-content h2 {
    font-size: 2rem;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
    text-align: center;
  }

  .footer-bottom-content {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 1.5rem;
  }

  .contact-info {
    justify-content: center;
    flex-direction: column;
    gap: 1rem;
  }

  .footer-nav {
    justify-content: center;
  }

  .social-links {
    justify-content: center;
  }
}

/* Replace Google icon with compliant SVG via ::before */
/* Footer and floating widgets */
.modern-footer .social-link.google,
.floating-social .floating-item.google {
  position: relative;
  background: #ffffff;
  /* white tile for full-color SVG */
  backdrop-filter: none;
}

/* Hide inline svg for Google without removing it (policy-safe) */
.modern-footer .social-link.google svg.google-icon,
.floating-social .floating-item.google svg.google-icon {
  opacity: 0 !important;
  /* avoid blending the inline glyph over BG */
}

.modern-footer .social-link.google::before,
.floating-social .floating-item.google::before {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  width: 26px;
  height: 26px;
  background: center / contain no-repeat url('/static/images/google-reviews.svg');
  opacity: 1;
  /* ensure full visibility (override generic ::before opacity) */
  z-index: 2;
  /* above any decorative overlays */
}

/* Size tweak for floating button */
.floating-social .floating-item.google::before {
  width: 22px;
  height: 22px;
}

/* Ensure Google floating tile remains pure white with no tint */
.floating-social .floating-item.google {
  background-color: #ffffff !important;
  background-image: none !important;
}

/* Keep Google visible on hover (avoid being washed out by generic overlay rule) */
.modern-footer .social-link.google:hover {
  background: #ffffff;
}

.modern-footer .social-link.google:hover::before {
  opacity: 1;
}

.floating-social .floating-item.google:hover {
  background: #ffffff;
}

.floating-social .floating-item.google:hover::before {
  opacity: 1;
}