/* ==========================================================================
   Wagging Walks & Whiskers - Complete Stylesheet
   A warm, friendly, professional dog walking business website
   Mobile-first responsive design
   ========================================================================== */

/* ===== GOOGLE FONTS ===== */
/* Google Fonts loaded via <link> in HTML — no @import needed */

/* ===== CSS CUSTOM PROPERTIES ===== */
:root {
  /* Brand Palette */
  --primary: #2E7D32;
  --primary-dark: #1B5E20;
  --primary-light: #4CAF50;
  --secondary: #1565C0;
  --secondary-dark: #0D47A1;
  --secondary-light: #42A5F5;
  --accent: #FF8F00;
  --accent-light: #FFB300;
  --accent-dark: #E65100;

  /* Backgrounds & Surfaces */
  --bg: #FAFAFA;
  --bg-white: #FFFFFF;
  --text: #333333;
  --text-light: #595959;
  --text-muted: #767676;
  --light-accent: #F1F8E9;
  --light-green: #F1F8E9;
  --light-blue: #E3F2FD;
  --light-amber: #FFF8E1;

  /* Borders & Shadows */
  --border: #E0E0E0;
  --border-light: #F0F0F0;
  --shadow-xs: 0 1px 3px rgba(0, 0, 0, 0.04);
  --shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.10);
  --shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.12);
  --shadow-xl: 0 12px 40px rgba(0, 0, 0, 0.16);

  /* Layout */
  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 16px;
  --radius-pill: 50px;
  --max-width: 1200px;
  --max-width-narrow: 800px;
  --header-height: 72px;

  /* Transitions */
  --transition: 0.3s ease;
  --transition-fast: 0.15s ease;
  --transition-slow: 0.5s ease;
}

/* ===== CSS RESET & BASE ===== */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

body {
  font-family: 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

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

ul, ol {
  list-style: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  line-height: 1.3;
  color: var(--text);
}

button {
  font-family: inherit;
}

/* ===== UTILITY CLASSES ===== */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

.container-narrow {
  max-width: var(--max-width-narrow);
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: 60px 0;
}

.section-title {
  font-family: 'Nunito', sans-serif;
  font-size: 1.8rem;
  text-align: center;
  margin-bottom: 16px;
  font-weight: 800;
}

.section-subtitle {
  text-align: center;
  color: var(--text-light);
  font-size: 1rem;
  margin-bottom: 40px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.8;
}

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

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

/* Skip-to-content link — visible only when focused via keyboard */
.skip-link {
  position: absolute;
  top: -40px;
  left: 12px;
  background: var(--primary);
  color: #fff;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  z-index: 2000;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 12px;
  color: #fff;
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}

/* Lock background scroll while mobile menu is open */
body.menu-open {
  overflow: hidden;
}

/* JS-disabled fallback notice */
.noscript-notice {
  background: #FFF3CD;
  color: #5C4500;
  border: 1px solid #FFE08A;
  padding: 12px 16px;
  text-align: center;
  font-size: 0.9rem;
}

/* Section background utility */
.section--alt {
  background: var(--light-green);
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-block;
  padding: 14px 32px;
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  border-radius: var(--radius-pill);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  text-align: center;
  letter-spacing: 0.5px;
  line-height: 1.4;
}

.btn:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}

/* WCAG AA: white text on accent-dark = 5.4:1 (was 2.29:1 on plain accent) */
.btn-primary {
  background: var(--accent-dark);
  color: #fff;
  border-color: var(--accent-dark);
  box-shadow: 0 4px 15px rgba(230, 81, 0, 0.3);
}

.btn-primary:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(230, 81, 0, 0.4);
}

.btn-primary:active {
  transform: translateY(0);
  box-shadow: 0 2px 10px rgba(230, 81, 0, 0.3);
}

.btn-secondary {
  background: transparent;
  color: #fff;
  border-color: #fff;
}

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

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

.btn-outline:hover {
  background: var(--primary);
  color: #fff;
  transform: translateY(-2px);
}

.btn-green {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
  box-shadow: 0 4px 15px rgba(46, 125, 50, 0.3);
}

.btn-green:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(46, 125, 50, 0.4);
}

.btn-sm {
  padding: 10px 24px;
  font-size: 0.9rem;
}

.btn-lg {
  padding: 18px 40px;
  font-size: 1.1rem;
}

.btn-block {
  display: block;
  width: 100%;
}

/* ===== HEADER / NAVIGATION ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: box-shadow var(--transition), background var(--transition), padding var(--transition);
  padding: 12px 0;
}

.header.scrolled {
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
  background: rgba(255, 255, 255, 0.98);
  padding: 8px 0;
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Logo - left */
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.logo img {
  height: 48px;
  width: 48px;
  border-radius: 50%;
  object-fit: cover;
}

.logo span {
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--primary);
  white-space: nowrap;
}

/* Nav links - center */
.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-links a {
  font-family: 'Nunito', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text);
  position: relative;
  padding: 4px 0;
  transition: color var(--transition);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2.5px;
  background: var(--accent);
  border-radius: 2px;
  transition: width var(--transition);
}

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

.nav-links a:hover {
  color: var(--primary);
}

.nav-links a.active {
  color: var(--primary);
}

/* Book Now CTA - right */
.nav-cta {
  padding: 10px 24px !important;
  font-size: 0.9rem !important;
}

/* Hamburger button - hidden on desktop */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
  z-index: 1001;
}

.hamburger span {
  display: block;
  width: 26px;
  height: 3px;
  background: var(--text);
  border-radius: 2px;
  transition: all var(--transition);
  transform-origin: center;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 6px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -6px);
}

/* Mobile nav overlay */
.nav-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  z-index: 998;
  opacity: 0;
  transition: opacity var(--transition);
}

.nav-overlay.open {
  display: block;
  opacity: 1;
}

/* ===== HERO SECTION ===== */
.hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-top: var(--header-height);
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(27, 94, 32, 0.72) 0%,
    rgba(21, 101, 192, 0.55) 100%
  );
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #fff;
  padding: 40px 20px;
  max-width: 800px;
}

.hero-content h1 {
  font-size: 2rem;
  color: #fff;
  margin-bottom: 20px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  font-weight: 900;
}

.hero-content p {
  font-size: 1rem;
  margin-bottom: 36px;
  opacity: 0.95;
  line-height: 1.8;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Inner page hero (About, Services, etc.) */
.page-hero {
  position: relative;
  padding: 140px 0 80px;
  text-align: center;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  color: #fff;
  overflow: hidden;
  margin-top: var(--header-height);
}

.page-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  z-index: 0;
}

.page-hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 60px;
  background: var(--bg);
  clip-path: ellipse(55% 100% at 50% 100%);
  z-index: 1;
}

.page-hero .container {
  position: relative;
  z-index: 1;
}

.page-hero h1 {
  font-size: 1.8rem;
  color: #fff;
  margin-bottom: 12px;
  font-weight: 900;
}

.page-hero p {
  font-size: 1.05rem;
  opacity: 0.9;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7;
}

.page-hero .breadcrumbs {
  margin-top: 16px;
  font-size: 0.9rem;
  opacity: 0.75;
}

.page-hero .breadcrumbs a {
  color: #fff;
  opacity: 0.85;
}

.page-hero .breadcrumbs a:hover {
  opacity: 1;
  color: #fff;
}

.page-hero .breadcrumbs span {
  margin: 0 8px;
}

/* ===== SERVICES GRID ===== */
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.service-card {
  background: var(--bg-white);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
  border: 1px solid var(--border-light);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  opacity: 0;
  transition: opacity var(--transition);
}

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

.service-card:hover::before {
  opacity: 1;
}

/* CRITICAL: Font Awesome icons display in brand green */
.service-card .icon {
  width: 68px;
  height: 68px;
  margin: 0 auto 20px;
  background: var(--light-accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: var(--primary);
  transition: background var(--transition), transform var(--transition);
}

.service-card:hover .icon {
  background: var(--primary);
  color: #fff;
  transform: scale(1.08);
}

.service-card h3 {
  font-size: 1.2rem;
  margin-bottom: 12px;
}

.service-card p {
  color: var(--text-light);
  font-size: 0.95rem;
  margin-bottom: 16px;
  line-height: 1.7;
}

.service-card .learn-more {
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap var(--transition), color var(--transition);
}

.service-card .learn-more:hover {
  color: var(--accent-dark);
  gap: 10px;
}

/* ===== ABOUT SNIPPET (Home page) ===== */
.about-snippet {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  align-items: center;
}

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

.about-snippet-image img {
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  width: 100%;
  height: 350px;
  object-fit: cover;
}

.about-snippet-image::after {
  content: '';
  position: absolute;
  bottom: -12px;
  right: -12px;
  width: 60%;
  height: 60%;
  border: 4px solid var(--accent);
  border-radius: var(--radius);
  z-index: -1;
}

.about-snippet-text h2 {
  font-size: 1.8rem;
  margin-bottom: 16px;
  font-weight: 800;
}

.about-snippet-text p {
  color: var(--text-light);
  margin-bottom: 24px;
  line-height: 1.8;
}

.about-snippet-stats {
  display: flex;
  gap: 32px;
  margin-top: 24px;
  flex-wrap: wrap;
}

.about-snippet-stats .stat {
  text-align: center;
}

.about-snippet-stats .stat-number {
  font-family: 'Nunito', sans-serif;
  font-size: 2rem;
  font-weight: 900;
  color: var(--primary);
  display: block;
}

.about-snippet-stats .stat-label {
  font-size: 0.85rem;
  color: var(--text-light);
}

/* ===== TRUST / WHY CHOOSE US BADGES ===== */
.trust-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.trust-card {
  text-align: center;
  padding: 28px 16px;
  background: var(--bg-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid var(--border-light);
  transition: transform var(--transition), box-shadow var(--transition);
}

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

/* CRITICAL: Font Awesome icons display in brand green */
.trust-card .icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  background: var(--light-accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: var(--primary);
}

.trust-card h4 {
  font-size: 1rem;
  margin-bottom: 8px;
}

.trust-card p {
  color: var(--text-light);
  font-size: 0.85rem;
  line-height: 1.6;
}

/* ===== TESTIMONIALS CAROUSEL ===== */
.testimonials {
  background: var(--light-accent);
}

.testimonial-slider {
  position: relative;
  max-width: 700px;
  margin: 0 auto;
  overflow: hidden;
}

.testimonial-track {
  display: flex;
  transition: transform 0.5s ease;
  will-change: transform;
}

.testimonial-slide {
  min-width: 100%;
  padding: 40px 24px;
  text-align: center;
}

.testimonial-stars {
  color: var(--accent);
  font-size: 1.2rem;
  margin-bottom: 16px;
  letter-spacing: 2px;
}

.testimonial-slide blockquote {
  font-size: 1.1rem;
  font-style: italic;
  color: var(--text);
  margin-bottom: 20px;
  line-height: 1.8;
  position: relative;
}

.testimonial-slide blockquote::before {
  content: '\201C';
  font-size: 3rem;
  color: var(--primary);
  opacity: 0.25;
  font-family: Georgia, serif;
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
}

.testimonial-slide cite {
  font-style: normal;
  font-weight: 700;
  font-family: 'Nunito', sans-serif;
  color: var(--primary);
  font-size: 0.95rem;
}

.testimonial-slide .cite-sub {
  display: block;
  font-size: 0.85rem;
  color: var(--text-light);
  font-weight: 400;
  margin-top: 4px;
}

.testimonial-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 24px;
}

.testimonial-dots .dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--border);
  cursor: pointer;
  transition: background var(--transition), transform var(--transition);
  border: none;
  padding: 0;
}

.testimonial-dots .dot:hover {
  background: var(--primary-light);
  transform: scale(1.15);
}

.testimonial-dots .dot.active {
  background: var(--primary);
  transform: scale(1.15);
}

/* Testimonial navigation arrows */
.testimonial-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: var(--bg-white);
  border: 1px solid var(--border);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--primary);
  font-size: 1rem;
  transition: all var(--transition);
  z-index: 2;
}

.testimonial-nav:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

.testimonial-prev {
  left: 0;
}

.testimonial-next {
  right: 0;
}

/* ===== SERVICE AREA / MAP SECTION ===== */
.map-section {
  background: var(--bg-white);
}

.map-section .map-wrapper {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.map-section iframe {
  width: 100%;
  height: 350px;
  border: none;
  display: block;
}

.map-section .area-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
  justify-content: center;
}

.map-section .area-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  background: var(--light-accent);
  border-radius: var(--radius-pill);
  font-size: 0.9rem;
  font-weight: 600;
  font-family: 'Nunito', sans-serif;
  color: var(--primary);
}

.map-section .area-tag i {
  color: var(--primary);
}

/* ===== CTA BANNER ===== */
.cta-banner {
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  padding: 60px 0;
  text-align: center;
  color: #fff;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 400px;
  height: 400px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 50%;
}

.cta-banner::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 300px;
  height: 300px;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 50%;
}

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

.cta-banner h2 {
  font-size: 1.5rem;
  color: #fff;
  margin-bottom: 16px;
  font-weight: 800;
}

.cta-banner p {
  font-size: 1.05rem;
  opacity: 0.92;
  margin-bottom: 28px;
  max-width: 550px;
  margin-left: auto;
  margin-right: auto;
}

.cta-banner .btn {
  background: #fff;
  color: var(--primary);
  border-color: #fff;
  font-weight: 700;
}

.cta-banner .btn:hover {
  background: var(--light-accent);
  border-color: var(--light-accent);
  color: var(--primary-dark);
  transform: translateY(-2px);
}

/* ===== FOOTER ===== */
.footer {
  background: #1a1a1a;
  color: #ccc;
  padding: 50px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  margin-bottom: 40px;
}

.footer-col h4 {
  font-family: 'Nunito', sans-serif;
  color: #fff;
  font-size: 1.1rem;
  margin-bottom: 16px;
  position: relative;
  padding-bottom: 10px;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 3px;
  background: var(--accent);
  border-radius: 2px;
}

.footer-col p {
  font-size: 0.9rem;
  line-height: 1.8;
  color: #aaa;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.footer-logo img {
  height: 40px;
  width: 40px;
  border-radius: 50%;
}

.footer-logo span {
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  color: #fff;
  font-size: 1.05rem;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul a {
  color: #aaa;
  font-size: 0.9rem;
  transition: color var(--transition), padding-left var(--transition);
  display: inline-block;
}

.footer-col ul a:hover {
  color: var(--accent);
  padding-left: 4px;
}

.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 16px;
}

.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ccc;
  font-size: 1.1rem;
  transition: background var(--transition), color var(--transition), transform var(--transition);
}

.footer-social a:hover {
  background: var(--accent);
  color: #fff;
  transform: translateY(-3px);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 20px 0;
  text-align: center;
  font-size: 0.85rem;
  color: #b0b0b0;
}

.footer-bottom a {
  color: #cccccc;
}

.footer-bottom a:hover {
  color: var(--accent);
}

/* ===== ABOUT PAGE ===== */

/* Story / Mission section */
.story-section {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  align-items: center;
}

.story-section img {
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  width: 100%;
  height: 350px;
  object-fit: cover;
}

.story-section .story-text h2 {
  font-size: 1.8rem;
  margin-bottom: 16px;
  font-weight: 800;
}

.story-section .story-text p {
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 16px;
}

/* Values cards */
.values-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.value-card {
  text-align: center;
  padding: 36px 24px;
  background: var(--bg-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border-top: 4px solid var(--primary);
  transition: transform var(--transition), box-shadow var(--transition);
}

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

/* CRITICAL: Font Awesome icons display in brand green */
.value-card .icon {
  font-size: 40px;
  margin-bottom: 16px;
  color: var(--primary);
}

.value-card h3 {
  font-size: 1.2rem;
  margin-bottom: 12px;
}

.value-card p {
  color: var(--text-light);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* Team cards */
.team-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.team-card {
  text-align: center;
  padding: 36px 24px;
  background: var(--bg-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
}

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

.team-card img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 16px;
  border: 4px solid var(--light-accent);
  transition: border-color var(--transition);
}

.team-card:hover img {
  border-color: var(--primary);
}

.team-card h3 {
  font-size: 1.1rem;
  margin-bottom: 4px;
}

.team-card .role {
  color: var(--accent);
  font-weight: 600;
  font-family: 'Nunito', sans-serif;
  font-size: 0.9rem;
  margin-bottom: 12px;
  display: block;
}

.team-card p {
  color: var(--text-light);
  font-size: 0.9rem;
  line-height: 1.7;
}

/* Certifications / Credentials cards */
.certs-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.cert-card {
  text-align: center;
  padding: 28px 20px;
  background: var(--light-accent);
  border-radius: var(--radius);
  transition: transform var(--transition), box-shadow var(--transition);
}

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

/* CRITICAL: Font Awesome icons display in brand green */
.cert-card .icon {
  font-size: 32px;
  margin-bottom: 12px;
  color: var(--primary);
}

.cert-card h4 {
  font-size: 1rem;
  margin-bottom: 8px;
}

.cert-card p {
  color: var(--text-light);
  font-size: 0.85rem;
  line-height: 1.6;
}

/* ===== SERVICES PAGE - DETAILED ===== */
.service-detail {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  align-items: center;
  margin-bottom: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--border);
}

.service-detail:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.service-detail img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  width: 100%;
  height: 280px;
  object-fit: cover;
}

/* Icon pill for service-detail rows */
.service-detail-text .icon {
  width: 56px;
  height: 56px;
  margin-bottom: 16px;
  background: var(--light-accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: var(--primary);
}

.service-detail-text h3 {
  font-size: 1.4rem;
  margin-bottom: 12px;
  font-weight: 800;
}

.service-detail-text p {
  color: var(--text-light);
  margin-bottom: 16px;
  line-height: 1.8;
}

.service-detail-text ul {
  margin-bottom: 16px;
}

.service-detail-text ul li {
  padding: 6px 0;
  color: var(--text-light);
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.service-detail-text ul li::before {
  content: '\f00c';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  color: var(--primary);
  font-size: 0.8rem;
}

.service-detail-text .price-preview {
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  color: var(--accent);
  font-size: 1.1rem;
  display: inline-block;
  margin-top: 8px;
}

/* Numbered steps / How it works */
.steps-section {
  background: var(--light-accent);
}

.steps-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  counter-reset: step-counter;
}

.step-card {
  text-align: center;
  padding: 32px 20px;
  position: relative;
  background: var(--bg-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-xs);
}

.step-card .icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 12px;
  background: var(--light-accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: var(--primary);
}

.step-card .step-number {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-size: 1.2rem;
  margin: 0 auto 16px;
  box-shadow: 0 4px 12px rgba(46, 125, 50, 0.3);
}

.step-card h4 {
  font-size: 1.05rem;
  margin-bottom: 8px;
}

.step-card p {
  color: var(--text-light);
  font-size: 0.9rem;
  line-height: 1.7;
}

/* FAQ Accordion */
.faq-section {
  background: var(--bg-white);
}

.faq-list {
  max-width: var(--max-width-narrow);
  margin: 0 auto;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
  overflow: hidden;
  background: var(--bg);
  transition: box-shadow var(--transition);
}

.faq-item:hover {
  box-shadow: var(--shadow-xs);
}

.faq-question {
  width: 100%;
  padding: 18px 24px;
  background: none;
  border: none;
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  color: var(--text);
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  transition: background var(--transition), color var(--transition);
}

.faq-question:hover {
  background: var(--light-accent);
}

.faq-question .arrow {
  font-size: 1rem;
  transition: transform var(--transition);
  color: var(--primary);
  flex-shrink: 0;
}

.faq-item.active .faq-question {
  background: var(--light-accent);
  color: var(--primary);
}

.faq-item.active .faq-question .arrow {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq-item.active .faq-answer {
  max-height: 400px;
  padding: 0 24px 20px;
}

.faq-answer p {
  color: var(--text-light);
  line-height: 1.8;
  font-size: 0.95rem;
}

/* ===== GALLERY PAGE ===== */
.gallery-filters {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.gallery-filter-btn {
  padding: 8px 20px;
  border: 2px solid var(--border);
  border-radius: var(--radius-pill);
  background: transparent;
  font-family: 'Nunito', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text);
  cursor: pointer;
  transition: all var(--transition);
}

.gallery-filter-btn:hover,
.gallery-filter-btn.active {
  border-color: var(--primary);
  background: var(--primary);
  color: #fff;
}

/* Responsive masonry-like grid */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.gallery-item {
  border-radius: var(--radius-sm);
  overflow: hidden;
  cursor: pointer;
  position: relative;
  aspect-ratio: 1;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.gallery-item::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(46, 125, 50, 0);
  transition: background var(--transition);
  pointer-events: none;
}

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

.gallery-item:hover::after {
  background: rgba(46, 125, 50, 0.2);
}

.gallery-item .gallery-item-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 16px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.6));
  color: #fff;
  font-family: 'Nunito', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity var(--transition), transform var(--transition);
  z-index: 1;
}

.gallery-item:hover .gallery-item-overlay {
  opacity: 1;
  transform: translateY(0);
}

/* Masonry effect: taller images on certain items */
.gallery-item.tall {
  grid-row: span 2;
  aspect-ratio: auto;
}

.gallery-item.wide {
  grid-column: span 2;
  aspect-ratio: 2 / 1;
}

/* Lightbox overlay */
.lightbox,
.lightbox-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.92);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 20px;
}

.lightbox.open,
.lightbox-overlay.active {
  display: flex;
}

.lightbox img,
.lightbox-overlay img {
  max-width: 90%;
  max-height: 80vh;
  border-radius: var(--radius-sm);
  object-fit: contain;
  box-shadow: 0 0 40px rgba(0, 0, 0, 0.5);
}

.lightbox-caption {
  color: #fff;
  font-family: 'Nunito', sans-serif;
  font-size: 0.95rem;
  margin-top: 16px;
  opacity: 0.85;
  text-align: center;
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 24px;
  color: #fff;
  font-size: 2rem;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition), transform var(--transition);
  line-height: 1;
}

.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: rotate(90deg);
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition), transform var(--transition);
}

.lightbox-nav:hover {
  background: rgba(255, 255, 255, 0.25);
}

.lightbox-prev {
  left: 16px;
}

.lightbox-prev:hover {
  transform: translateY(-50%) translateX(-3px);
}

.lightbox-next {
  right: 16px;
}

.lightbox-next:hover {
  transform: translateY(-50%) translateX(3px);
}

.lightbox-counter {
  color: #fff;
  font-size: 0.85rem;
  margin-top: 8px;
  opacity: 0.6;
}

/* ===== CONTACT PAGE ===== */
.contact-grid,
.contact-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

.contact-form,
.contact-form-wrapper {
  background: var(--bg-white);
  padding: 32px 24px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.contact-form h3,
.contact-form-wrapper h2 {
  font-size: 1.3rem;
  margin-bottom: 24px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 6px;
  color: var(--text);
}

.form-group label .required {
  color: #D32F2F;
  margin-left: 2px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: 'Open Sans', sans-serif;
  font-size: 0.95rem;
  color: var(--text);
  background: #fff;
  transition: border-color var(--transition), box-shadow var(--transition);
  appearance: none;
  -webkit-appearance: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(46, 125, 50, 0.12);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-muted);
}

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

.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23666' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

.form-group .error-msg,
.form-group .error-message {
  color: #D32F2F;
  font-size: 0.8rem;
  margin-top: 4px;
  display: none;
}

.form-group.has-error input,
.form-group.has-error select,
.form-group.has-error textarea {
  border-color: #D32F2F;
}

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

.form-group.has-success input,
.form-group.has-success select,
.form-group.has-success textarea {
  border-color: var(--primary);
}

.form-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 24px;
  font-size: 0.85rem;
  color: var(--text-light);
}

.form-consent input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--primary);
  flex-shrink: 0;
}

/* Contact info card */
.contact-info-card,
.contact-details-card {
  background: var(--primary);
  color: #fff;
  padding: 32px 24px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.contact-info-card::before,
.contact-details-card::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -20%;
  width: 200px;
  height: 200px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 50%;
}

.contact-info-card h3,
.contact-details-card h2 {
  color: #fff;
  font-size: 1.3rem;
  margin-bottom: 24px;
}

.contact-info-item,
.contact-info-list li {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
  align-items: flex-start;
}

.contact-info-item .icon,
.contact-info-list li > i {
  font-size: 1.2rem;
  margin-top: 2px;
  flex-shrink: 0;
  width: 24px;
  text-align: center;
}

.contact-info-item p,
.contact-info-list li div {
  font-size: 0.95rem;
  line-height: 1.6;
}

.contact-info-item a,
.contact-details-card a {
  color: #fff;
  opacity: 0.9;
}

.contact-info-item a:hover,
.contact-details-card a:hover {
  opacity: 1;
  color: #fff;
  text-decoration: underline;
}

.contact-info-item strong,
.contact-info-list li strong {
  display: block;
  font-family: 'Nunito', sans-serif;
  margin-bottom: 2px;
}

.contact-info-list li span {
  display: block;
  opacity: 0.9;
}

.contact-hours {
  position: relative;
}

.contact-hours h4 {
  color: #fff;
  font-size: 1rem;
  margin: 28px 0 12px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.contact-hours li {
  font-size: 0.9rem;
  margin-bottom: 6px;
  display: flex;
  justify-content: space-between;
  opacity: 0.9;
}

.contact-emergency {
  margin-top: 24px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  line-height: 1.6;
}

.contact-emergency strong {
  display: block;
  margin-bottom: 4px;
  font-family: 'Nunito', sans-serif;
}

/* ===== PRICING PAGE ===== */
.pricing-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: start;
}

.pricing-card {
  background: var(--bg-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  text-align: center;
  border: 2px solid var(--border-light);
  transition: transform var(--transition), box-shadow var(--transition);
}

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

.pricing-card.featured {
  border-color: var(--accent);
  position: relative;
  box-shadow: var(--shadow-md);
}

.pricing-card.featured::before {
  content: 'Most Popular';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  background: var(--accent);
  color: #fff;
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: 0.8rem;
  padding: 8px;
  text-transform: uppercase;
  letter-spacing: 1px;
  z-index: 1;
}

.pricing-header {
  padding: 36px 24px 24px;
  background: var(--light-accent);
}

.pricing-card.featured .pricing-header {
  padding-top: 52px;
  background: linear-gradient(135deg, var(--light-accent), var(--light-amber));
}

.pricing-header h3 {
  font-size: 1.3rem;
  margin-bottom: 4px;
}

.pricing-header .pricing-subtitle {
  font-size: 0.85rem;
  color: var(--text-light);
  margin-bottom: 12px;
}

.pricing-header .price,
.pricing-header .pricing-price {
  font-size: 2.5rem;
  font-family: 'Nunito', sans-serif;
  font-weight: 900;
  color: var(--primary);
  line-height: 1.2;
}

.pricing-header .price small,
.pricing-header .pricing-price span {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-light);
}

.pricing-badge {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  background: var(--accent);
  color: #fff;
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: 0.8rem;
  padding: 8px;
  text-transform: uppercase;
  letter-spacing: 1px;
  z-index: 1;
}

.pricing-features {
  padding: 24px;
  text-align: left;
}

.pricing-features li {
  padding: 10px 0;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid var(--border-light);
  color: var(--text);
}

.pricing-features li:last-child {
  border-bottom: none;
}

.pricing-features li .check,
.pricing-features li > i.fa-check {
  color: var(--primary);
  font-weight: 700;
  flex-shrink: 0;
}

.pricing-features li.disabled {
  color: var(--text-muted);
  text-decoration: line-through;
}

.pricing-features li.disabled .check,
.pricing-features li.disabled > i.fa-check {
  color: var(--border);
}

.pricing-footer {
  padding: 0 24px 32px;
}

.pricing-footer .btn {
  width: 100%;
}

/* Add-ons */
.addons-section {
  background: var(--light-accent);
}

.addons-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  max-width: var(--max-width-narrow);
  margin: 0 auto;
}

.addon-card {
  text-align: center;
  padding: 24px 16px;
  background: var(--bg-white);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-light);
  transition: transform var(--transition), box-shadow var(--transition);
}

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

.addon-card .icon,
.addon-card > i {
  font-size: 24px;
  color: var(--primary);
  margin-bottom: 8px;
  display: block;
}

.addon-card h4 {
  font-size: 0.95rem;
  margin-bottom: 6px;
}

.addon-card p {
  font-size: 0.85rem;
  color: var(--text-light);
  margin-bottom: 8px;
}

.addon-card .price {
  color: var(--accent);
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
}

/* Pricing guarantee / note */
.pricing-note {
  text-align: center;
  max-width: 600px;
  margin: 40px auto 0;
  padding: 24px;
  background: var(--light-blue);
  border-radius: var(--radius);
  color: var(--text-light);
  font-size: 0.9rem;
  line-height: 1.7;
}

.pricing-note strong {
  color: var(--secondary);
  display: block;
  font-family: 'Nunito', sans-serif;
  margin-bottom: 4px;
}

/* ===== 404 PAGE ===== */
.page-404 {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 20px;
  margin-top: var(--header-height);
  background: var(--bg);
}

.page-404-content {
  max-width: 540px;
}

.page-404-content .error-code {
  font-family: 'Nunito', sans-serif;
  font-size: 6rem;
  font-weight: 900;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 8px;
  opacity: 0.2;
}

.page-404-content .error-icon {
  font-size: 4rem;
  margin-bottom: 16px;
  display: block;
}

.page-404-content h1 {
  font-size: 1.8rem;
  margin-bottom: 12px;
  color: var(--text);
}

.page-404-content p {
  color: var(--text-light);
  font-size: 1.05rem;
  margin-bottom: 32px;
  line-height: 1.7;
}

.page-404-content .btn-group {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.page-404-content .suggestions {
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}

.page-404-content .suggestions h3 {
  font-size: 1rem;
  margin-bottom: 16px;
  color: var(--text-light);
}

.page-404-content .suggestions ul {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.page-404-content .suggestions ul li a {
  display: inline-block;
  padding: 8px 16px;
  background: var(--light-accent);
  border-radius: var(--radius-pill);
  font-size: 0.9rem;
  font-weight: 600;
  font-family: 'Nunito', sans-serif;
  color: var(--primary);
  transition: background var(--transition), color var(--transition);
}

.page-404-content .suggestions ul li a:hover {
  background: var(--primary);
  color: #fff;
}

/* ===== FORM SUCCESS / TOAST ===== */
.toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: var(--primary);
  color: #fff;
  padding: 16px 24px;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
  font-family: 'Nunito', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  z-index: 3000;
  display: flex;
  align-items: center;
  gap: 10px;
  transform: translateY(120%);
  opacity: 0;
  transition: transform 0.4s ease, opacity 0.4s ease;
}

.toast.show {
  transform: translateY(0);
  opacity: 1;
}

.toast.error {
  background: #D32F2F;
}

/* ===== LOADING SPINNER ===== */
.spinner {
  width: 40px;
  height: 40px;
  border: 4px solid var(--border);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin: 40px auto;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ===== BACK TO TOP BUTTON ===== */
.back-to-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  border: none;
  cursor: pointer;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all var(--transition);
  z-index: 900;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--primary-dark);
  transform: translateY(-3px);
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.animate-on-scroll {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger delays for grid children */
.animate-on-scroll.delay-1 { transition-delay: 0.1s; }
.animate-on-scroll.delay-2 { transition-delay: 0.2s; }
.animate-on-scroll.delay-3 { transition-delay: 0.3s; }
.animate-on-scroll.delay-4 { transition-delay: 0.4s; }
.animate-on-scroll.delay-5 { transition-delay: 0.5s; }
.animate-on-scroll.delay-6 { transition-delay: 0.6s; }

/* ===== TABLET BREAKPOINT (768px - 1024px) ===== */
@media (min-width: 768px) {
  .section {
    padding: 80px 0;
  }

  .section-title {
    font-size: 2rem;
  }

  .section-subtitle {
    font-size: 1.1rem;
    margin-bottom: 48px;
  }

  /* Header */
  .header {
    padding: 12px 0;
  }

  /* Hero */
  .hero {
    min-height: 85vh;
  }

  .hero-content h1 {
    font-size: 2.8rem;
  }

  .hero-content p {
    font-size: 1.15rem;
  }

  .page-hero {
    padding: 160px 0 80px;
  }

  .page-hero h1 {
    font-size: 2.5rem;
  }

  /* Services: 2-column on tablet */
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
  }

  /* About snippet: side by side */
  .about-snippet {
    grid-template-columns: 1fr 1fr;
    gap: 48px;
  }

  .about-snippet-image img {
    height: 400px;
  }

  /* Trust badges: 2 columns (already default) */
  .trust-grid {
    gap: 24px;
  }

  /* Story section: side by side */
  .story-section {
    grid-template-columns: 1fr 1fr;
    gap: 48px;
  }

  .story-section img {
    height: 400px;
  }

  /* Values: 2 columns */
  .values-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
  }

  /* Team: 2 columns */
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
  }

  /* Certs: 2 columns */
  .certs-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  /* Service detail: side by side */
  .service-detail {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }

  .service-detail:nth-child(even) {
    direction: rtl;
  }

  .service-detail:nth-child(even) > * {
    direction: ltr;
  }

  /* Steps: 2 columns */
  .steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Gallery: 3 columns */
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }

  /* Contact: side by side */
  .contact-grid,
  .contact-layout {
    grid-template-columns: 1.3fr 1fr;
    gap: 36px;
  }

  .contact-form,
  .contact-form-wrapper {
    padding: 40px;
  }

  .contact-info-card,
  .contact-details-card {
    padding: 40px;
  }

  /* Form rows side by side */
  .form-row {
    grid-template-columns: 1fr 1fr;
  }

  /* Pricing: 3 columns */
  .pricing-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }

  /* Addons: 2 columns */
  .addons-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Footer: 2 columns */
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 36px;
  }

  /* CTA Banner */
  .cta-banner {
    padding: 80px 0;
  }

  .cta-banner h2 {
    font-size: 2rem;
  }

  /* 404 */
  .page-404-content .error-code {
    font-size: 8rem;
  }
}

/* ===== DESKTOP BREAKPOINT (>=1024px) ===== */
@media (min-width: 1024px) {
  .section {
    padding: 100px 0;
  }

  .section-title {
    font-size: 2.4rem;
  }

  /* Header - show full nav */
  .hamburger {
    display: none !important;
  }

  .nav-links {
    display: flex !important;
    position: static;
    flex-direction: row;
    background: none;
    box-shadow: none;
    transform: none;
    padding: 0;
    width: auto;
  }

  /* Hero */
  .hero {
    min-height: 90vh;
  }

  .hero-content h1 {
    font-size: clamp(2.8rem, 5vw, 3.5rem);
  }

  .hero-content p {
    font-size: 1.25rem;
  }

  .page-hero h1 {
    font-size: 3rem;
  }

  /* Services: 3 columns on desktop */
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
  }

  /* About snippet: more spacing */
  .about-snippet {
    gap: 60px;
  }

  /* Trust badges: 4 in a row */
  .trust-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
  }

  /* Story section */
  .story-section {
    gap: 60px;
  }

  /* Values: 3 columns */
  .values-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
  }

  /* Team: 3 columns */
  .team-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
  }

  /* Certs: 3 columns */
  .certs-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  /* Steps: 4 columns */
  .steps-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  /* Gallery: 4 columns */
  .gallery-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  /* Addons: 3 columns */
  .addons-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  /* Footer: 4 columns */
  .footer-grid {
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
  }

  /* Map */
  .map-section iframe {
    height: 420px;
  }

  /* CTA Banner */
  .cta-banner h2 {
    font-size: 2.2rem;
  }

  .cta-banner p {
    font-size: 1.1rem;
  }

  /* 404 */
  .page-404-content .error-code {
    font-size: 10rem;
  }
}

/* ===== MOBILE BREAKPOINT (<768px) ===== */
@media (max-width: 767px) {
  /* Mobile navigation */
  .nav-links {
    position: fixed;
    top: var(--header-height);
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    flex-direction: column;
    padding: 24px 20px;
    gap: 8px;
    transform: translateY(-120%);
    transition: transform 0.4s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    z-index: 999;
  }

  .nav-links.open,
  .nav-links.active {
    transform: translateY(0);
  }

  .nav-links a {
    padding: 10px 0;
    font-size: 1.05rem;
    width: 100%;
    text-align: center;
    border-bottom: 1px solid var(--border-light);
  }

  .nav-links a:last-child {
    border-bottom: none;
  }

  .nav-links a::after {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  /* Stack service detail items (no direction flip on mobile) */
  .service-detail:nth-child(even) {
    direction: ltr;
  }

  /* Gallery masonry reset */
  .gallery-item.tall {
    grid-row: span 1;
    aspect-ratio: 1;
  }

  .gallery-item.wide {
    grid-column: span 1;
    aspect-ratio: 1;
  }

  /* Smaller hero on mobile */
  .hero {
    min-height: 75vh;
  }

  /* About snippet image decorator hidden on mobile */
  .about-snippet-image::after {
    display: none;
  }

  /* Testimonial arrows hidden on mobile (use dots) */
  .testimonial-nav {
    display: none;
  }
}

/* ===== SMALL MOBILE (<480px) ===== */
@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  .section {
    padding: 48px 0;
  }

  .hero-content h1 {
    font-size: 1.6rem;
  }

  .hero-content p {
    font-size: 0.95rem;
  }

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

  .hero-buttons .btn {
    width: 100%;
    max-width: 280px;
  }

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

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

  .about-snippet-stats {
    justify-content: center;
  }

  .pricing-grid {
    gap: 20px;
  }

  .page-hero {
    padding: 120px 0 60px;
  }

  .page-hero h1 {
    font-size: 1.6rem;
  }

  .lightbox-nav {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
  }

  .lightbox-prev {
    left: 8px;
  }

  .lightbox-next {
    right: 8px;
  }

  .page-404-content .error-code {
    font-size: 5rem;
  }

  .page-404-content h1 {
    font-size: 1.4rem;
  }
}

/* ===== ACCESSIBILITY & PRINT ===== */

/* Focus visible for keyboard navigation */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}

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

  .animate-on-scroll {
    opacity: 1;
    transform: none;
  }
}

/* High contrast mode improvements */
@media (prefers-contrast: high) {
  :root {
    --shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    --shadow-lg: 0 6px 20px rgba(0, 0, 0, 0.3);
    --border: #999;
  }

  .service-card,
  .trust-card,
  .value-card,
  .team-card,
  .pricing-card {
    border-width: 2px;
  }
}

/* Print styles */
@media print {
  .header,
  .hamburger,
  .nav-overlay,
  .cta-banner,
  .back-to-top,
  .lightbox,
  .lightbox-overlay,
  .toast,
  .footer-social {
    display: none !important;
  }

  body {
    color: #000;
    background: #fff;
    font-size: 12pt;
  }

  .hero {
    min-height: auto;
    margin-top: 0;
    padding: 20px 0;
  }

  .hero-overlay {
    display: none;
  }

  .hero-content {
    color: #000;
  }

  .hero-content h1 {
    color: #000;
    text-shadow: none;
  }

  .section {
    padding: 20px 0;
  }

  a {
    color: #000;
    text-decoration: underline;
  }
}
