/*
============================================================
AM CLEANING SERVICE — styles.css
============================================================
QUICK EDIT GUIDE:
- Brand colors are defined in :root as CSS custom properties
- To change primary color: update --color-primary
- To change gold accent: update --color-gold
- Font families: update --font-heading and --font-body
- Breakpoints: Mobile-first at 480px, 768px, 1024px, 1280px
============================================================
*/

/* ============================================================
   1. CSS CUSTOM PROPERTIES (DESIGN TOKENS)
   ============================================================ */
:root {
  /* Brand Colors */
  --color-primary: #b31f56;        /* Burgundy — buttons, CTAs, highlights */
  --color-primary-dark: #8e1843;   /* Darker burgundy for hover states */
  --color-primary-light: #f0d0dc;  /* Very light pink for subtle tints */
  --color-text: #0b0b0b;           /* Main text, headings */
  --color-text-muted: #5a5560;     /* Secondary / muted text */
  --color-bg: #ffffff;             /* Main page background */
  --color-bg-alt: #efefef;         /* Alternating section backgrounds */
  --color-mauve: #ae99a1;          /* Soft cards, dividers, secondary blocks */
  --color-mauve-light: #f5f0f2;    /* Very light mauve tint */
  --color-gold: #b78835;           /* Accent — icons, sparkle details */
  --color-gold-light: #f5ecd4;     /* Very light gold for subtle backgrounds */

  /* Typography */
  --font-heading: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'DM Sans', system-ui, -apple-system, sans-serif;

  /* Font Sizes — fluid scale */
  --text-xs: clamp(0.75rem, 1.5vw, 0.8125rem);
  --text-sm: clamp(0.875rem, 1.8vw, 0.9375rem);
  --text-base: clamp(1rem, 2vw, 1.0625rem);
  --text-md: clamp(1.125rem, 2.2vw, 1.25rem);
  --text-lg: clamp(1.25rem, 2.5vw, 1.5rem);
  --text-xl: clamp(1.5rem, 3vw, 2rem);
  --text-2xl: clamp(2rem, 4vw, 2.75rem);
  --text-3xl: clamp(2.5rem, 5vw, 3.5rem);
  --text-4xl: clamp(3rem, 6vw, 4.5rem);

  /* Spacing */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;

  /* Border Radius */
  --radius-sm: 0.5rem;
  --radius-md: 0.875rem;
  --radius-lg: 1.25rem;
  --radius-xl: 1.75rem;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(11, 11, 11, 0.06), 0 1px 2px rgba(11, 11, 11, 0.04);
  --shadow-md: 0 4px 12px rgba(11, 11, 11, 0.08), 0 2px 6px rgba(11, 11, 11, 0.04);
  --shadow-lg: 0 10px 30px rgba(11, 11, 11, 0.10), 0 4px 12px rgba(11, 11, 11, 0.06);
  --shadow-primary: 0 6px 24px rgba(179, 31, 86, 0.25);
  --shadow-card-hover: 0 16px 40px rgba(11, 11, 11, 0.12);

  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-base: 250ms ease;
  --transition-slow: 400ms ease;

  /* Header height for offset calculations */
  --header-height: 156px;
  --header-height-scrolled: 156px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
  font-size: 100%;
  -webkit-text-size-adjust: 100%;
}

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

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

a {
  color: inherit;
  text-decoration: none;
}

ul, ol {
  list-style: none;
}

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

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  line-height: 1.2;
  font-weight: 600;
}

/* Focus visible for keyboard accessibility */
:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ============================================================
   3. LAYOUT UTILITIES
   ============================================================ */
.container {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: var(--space-5);
}

@media (min-width: 768px) {
  .container {
    padding-inline: var(--space-8);
  }
}

/* ============================================================
   4. TYPOGRAPHY UTILITIES
   ============================================================ */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: var(--space-3);
}

.section-label--light {
  color: var(--color-primary-light);
}

.section-title {
  font-family: var(--font-heading);
  font-size: var(--text-2xl);
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: var(--space-4);
  line-height: 1.15;
}

.section-desc {
  font-size: var(--text-md);
  color: var(--color-text-muted);
  max-width: 560px;
  line-height: 1.7;
}

.section-intro {
  text-align: center;
  margin-bottom: var(--space-12);
}

.section-intro .section-desc {
  margin-inline: auto;
}

/* ============================================================
   5. BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  font-family: var(--font-body);
  font-weight: 600;
  border-radius: var(--radius-full);
  text-decoration: none;
  cursor: pointer;
  transition: all var(--transition-base);
  white-space: nowrap;
  letter-spacing: 0.02em;
  position: relative;
  overflow: hidden;
}

/* Primary Button */
.btn-primary {
  background-color: var(--color-primary);
  color: #ffffff;
  border: 2px solid var(--color-primary);
  box-shadow: var(--shadow-primary);
  padding: var(--space-3) var(--space-6);
  font-size: var(--text-sm);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background-color: var(--color-primary-dark);
  border-color: var(--color-primary-dark);
  box-shadow: 0 8px 32px rgba(179, 31, 86, 0.35);
  transform: translateY(-2px);
}

.btn-primary:active {
  transform: translateY(0);
}

/* Outline Button */
.btn-outline {
  background-color: transparent;
  color: var(--color-text);
  border: 2px solid rgba(11, 11, 11, 0.2);
  padding: var(--space-3) var(--space-6);
  font-size: var(--text-sm);
}

.btn-outline:hover,
.btn-outline:focus-visible {
  border-color: var(--color-primary);
  color: var(--color-primary);
  transform: translateY(-2px);
}

/* Size modifiers */
.btn-sm {
  padding: var(--space-2) var(--space-5);
  font-size: var(--text-xs);
}

.btn-lg {
  padding: var(--space-4) var(--space-8);
  font-size: var(--text-base);
}

.btn-xl {
  padding: var(--space-5) var(--space-10);
  font-size: var(--text-md);
}

/* Final CTA special button */
.btn-cta-primary {
  background-color: #ffffff;
  color: var(--color-primary);
  border: 2px solid #ffffff;
  box-shadow: 0 6px 24px rgba(255, 255, 255, 0.25);
  padding: var(--space-4) var(--space-10);
  font-size: var(--text-base);
  font-weight: 700;
}

.btn-cta-primary:hover {
  background-color: var(--color-primary-light);
  transform: translateY(-2px);
  box-shadow: 0 10px 36px rgba(255, 255, 255, 0.35);
}

.btn-cta-outline {
  background-color: transparent;
  color: #ffffff;
  border: 2px solid rgba(255, 255, 255, 0.5);
  padding: var(--space-4) var(--space-10);
  font-size: var(--text-base);
}

.btn-cta-outline:hover {
  border-color: #ffffff;
  background-color: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

/* ============================================================
   6. DECORATIVE ELEMENTS
   ============================================================ */
.sparkle {
  position: absolute;
  color: var(--color-gold);
  font-style: normal;
  pointer-events: none;
  user-select: none;
  opacity: 0.6;
  animation: sparkle-pulse 3s ease-in-out infinite;
}

@keyframes sparkle-pulse {
  0%, 100% { opacity: 0.4; transform: scale(1); }
  50% { opacity: 0.8; transform: scale(1.15); }
}

.link-accent {
  color: var(--color-primary);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color var(--transition-fast);
}

.link-accent:hover {
  color: var(--color-primary-dark);
}

/* ============================================================
   7. HEADER
   ============================================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(11, 11, 11, 0.06);
  transition: box-shadow var(--transition-base), background-color var(--transition-base);
}

.site-header.scrolled {
  box-shadow: var(--shadow-md);
  background-color: rgba(255, 255, 255, 0.98);
}

.site-header,
.site-header.scrolled {
  height: var(--header-height);
  min-height: var(--header-height);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
  gap: var(--space-4);
}

.site-header.scrolled .header-inner {
  height: var(--header-height);
}

/* Logo */
.logo-link {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: var(--space-5);
}

.logo-img {
  width: 136px;
  height: 136px;
  object-fit: contain;
}

.header-brand-name {
  max-width: 260px;
  font-family: var(--font-body);
  font-size: clamp(1.25rem, 2.2vw, 2rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: 0.035em;
  text-transform: uppercase;
  color: var(--color-text);
}

.header-brand-name strong {
  color: var(--color-primary);
}

@media (max-width: 767px) {
  :root {
    --header-height: 112px;
    --header-height-scrolled: 112px;
  }

  .logo-img {
    width: 94px;
    height: 94px;
  }

  .site-header,
  .site-header.scrolled {
    height: var(--header-height);
  }

  .logo-link {
    gap: var(--space-3);
  }

  .header-brand-name {
    font-size: 1rem;
    max-width: 132px;
  }
}

@media (max-width: 480px) {
  .header-brand-name {
    display: none;
  }
}

/* If logo image fails to load, show text fallback */
.logo-img:not([complete]) + .logo-text-fallback,
.logo-text-fallback {
  display: none;
}

.logo-text-fallback {
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--color-primary);
}

.logo-text-fallback span {
  color: var(--color-text);
  font-weight: 400;
}

/* Navigation */
.main-nav {
  display: none;
}

@media (min-width: 1024px) {
  .main-nav {
    display: flex;
    align-items: center;
  }
}

.nav-list {
  display: flex;
  align-items: center;
  gap: var(--space-6);
}

.nav-link {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-text);
  letter-spacing: 0.02em;
  transition: color var(--transition-fast);
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 2px;
  background-color: var(--color-primary);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform var(--transition-base);
}

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

.nav-link:hover::after,
.nav-link:focus-visible::after {
  transform: scaleX(1);
}

/* Header CTA */
.header-cta {
  display: none;
}

@media (min-width: 768px) {
  .header-cta {
    display: inline-flex;
  }
}

/* Hamburger */
.hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  padding: var(--space-2);
  border-radius: var(--radius-sm);
  transition: background-color var(--transition-fast);
}

@media (min-width: 1024px) {
  .hamburger {
    display: none;
  }
}

.hamburger:hover {
  background-color: var(--color-bg-alt);
}

.hamburger-line {
  display: block;
  width: 22px;
  height: 2px;
  background-color: var(--color-text);
  border-radius: 2px;
  transition: transform var(--transition-base), opacity var(--transition-base);
}

.hamburger[aria-expanded="true"] .hamburger-line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger[aria-expanded="true"] .hamburger-line:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.hamburger[aria-expanded="true"] .hamburger-line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Menu */
.mobile-menu {
  display: none;
  flex-direction: column;
  background-color: #ffffff;
  border-top: 1px solid rgba(11, 11, 11, 0.06);
  padding: var(--space-4) var(--space-5) var(--space-6);
  box-shadow: var(--shadow-lg);
}

.mobile-menu.is-open {
  display: flex;
}

.mobile-nav-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
}

.mobile-nav-link {
  display: block;
  padding: var(--space-3) var(--space-4);
  font-size: var(--text-md);
  font-weight: 500;
  color: var(--color-text);
  border-radius: var(--radius-sm);
  transition: background-color var(--transition-fast), color var(--transition-fast);
}

.mobile-nav-link:hover {
  background-color: var(--color-bg-alt);
  color: var(--color-primary);
}

.mobile-cta-btn {
  margin-top: var(--space-4);
  width: 100%;
  text-align: center;
  justify-content: center;
}

/* ============================================================
   8. HERO SECTION
   ============================================================ */
.hero {
  position: relative;
  min-height: 100svh;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: var(--header-height);
  background: linear-gradient(135deg, #fef9fb 0%, #fff5f8 50%, #fefefe 100%);
}

.hero-bg-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(254, 249, 251, 0.96) 0%,
    rgba(255, 245, 248, 0.93) 50%,
    rgba(254, 254, 254, 0.88) 100%
  );
  z-index: 1;
}

/* Hero image — right side on desktop */
.hero-image-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  opacity: 0.18;
}

@media (min-width: 1024px) {
  .hero-image-wrap {
    position: absolute;
    left: 50%;
    right: 0;
    top: var(--header-height);
    bottom: 0;
    width: 50%;
    height: auto;
    z-index: 0;
  }

  .hero-img {
    opacity: 1;
    object-position: center;
    border-radius: 0 0 0 var(--radius-xl);
  }

  .hero-bg-overlay {
    background: linear-gradient(
      90deg,
      rgba(253, 248, 251, 1) 0%,
      rgba(253, 248, 251, 1) 45%,
      rgba(253, 248, 251, 0.6) 65%,
      transparent 100%
    );
  }
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  padding-block: var(--space-16) var(--space-20);
}

.hero-content {
  max-width: 580px;
}

/* Hero Badge */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  background-color: var(--color-gold-light);
  color: var(--color-gold);
  border: 1px solid rgba(183, 136, 53, 0.2);
  border-radius: var(--radius-full);
  padding: var(--space-2) var(--space-4);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: var(--space-5);
}

.badge-dot {
  font-size: 10px;
}

/* Hero Headline */
.hero-headline {
  font-size: var(--text-4xl);
  font-weight: 700;
  color: var(--color-text);
  line-height: 1.08;
  margin-bottom: var(--space-5);
  letter-spacing: -0.01em;
}

.hero-headline em {
  font-style: italic;
  color: var(--color-primary);
}

/* Hero Sub */
.hero-subheadline {
  font-size: var(--text-md);
  color: var(--color-text-muted);
  line-height: 1.7;
  margin-bottom: var(--space-8);
  max-width: 480px;
}

/* Hero CTAs */
.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  margin-bottom: var(--space-8);
}

/* Trust List */
.hero-trust-list {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3) var(--space-6);
}

.trust-item {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-text-muted);
}

.trust-icon {
  color: var(--color-primary);
  font-weight: 700;
  font-size: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  background-color: var(--color-primary-light);
  border-radius: var(--radius-full);
  flex-shrink: 0;
}

/* Hero sparkles */
.sparkle-1 {
  top: 20%;
  right: 10%;
  font-size: 1.5rem;
}

.sparkle-2 {
  bottom: 25%;
  right: 8%;
  font-size: 0.875rem;
  animation-delay: 1.5s;
}

@media (min-width: 1024px) {
  .sparkle-1 {
    right: 55%;
    top: 25%;
  }
  .sparkle-2 {
    right: 48%;
    bottom: 30%;
  }
}

/* ============================================================
   9. SERVICES SECTION
   ============================================================ */
.services {
  padding-block: var(--space-20) var(--space-24);
  background-color: var(--color-bg);
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-5);
}

@media (min-width: 540px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Service Card */
.service-card {
  background-color: #ffffff;
  border: 1px solid rgba(174, 153, 161, 0.2);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  position: relative;
  transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-mauve));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition-slow);
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card-hover);
  border-color: rgba(179, 31, 86, 0.15);
}

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

.service-card--featured {
  background: linear-gradient(145deg, #fff8fb, #fffdfb);
  border-color: rgba(179, 31, 86, 0.15);
}

.service-badge-tag {
  display: inline-block;
  background-color: var(--color-primary);
  color: #ffffff;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 3px var(--space-3);
  border-radius: var(--radius-full);
  margin-bottom: var(--space-3);
}

.service-icon {
  width: 2.5rem;
  height: 2.5rem;
  object-fit: contain;
  margin-bottom: var(--space-3);
  display: block;
  filter: brightness(0) saturate(100%) invert(19%) sepia(49%) saturate(2683%) hue-rotate(307deg) brightness(88%) contrast(90%);
}

.service-title {
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: var(--space-2);
}

.service-desc {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.65;
}

/* Services bottom CTA */
.services-cta-wrap {
  display: flex;
  justify-content: center;
  gap: var(--space-4);
  flex-wrap: wrap;
  margin-top: var(--space-12);
}

/* ============================================================
   10. ABOUT SECTION
   ============================================================ */
.about {
  padding-block: var(--space-20) var(--space-24);
  background-color: var(--color-bg-alt);
}

.about-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-12);
  align-items: center;
}

@media (min-width: 1024px) {
  .about-inner {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-16);
  }
}

/* About image / placeholder */
.about-image-wrap {
  position: relative;
}

.about-img-placeholder {
  width: 100%;
  aspect-ratio: 4 / 3;
  background: linear-gradient(135deg, var(--color-mauve-light), var(--color-gold-light));
  border-radius: var(--radius-xl);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-3);
  border: 2px dashed var(--color-mauve);
  text-align: center;
  padding: var(--space-8);
}

.about-img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
}

.placeholder-label {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-mauve);
  letter-spacing: 0.04em;
}

.placeholder-icon {
  font-size: 3rem;
  opacity: 0.5;
}

.about-accent-card {
  position: absolute;
  bottom: -var(--space-6);
  right: -var(--space-4);
  background-color: #ffffff;
  border-radius: var(--radius-md);
  padding: var(--space-4) var(--space-5);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-family: var(--font-heading);
  font-size: var(--text-md);
  font-weight: 600;
  color: var(--color-text);
  border: 1px solid rgba(174, 153, 161, 0.2);
}

.accent-sparkle {
  color: var(--color-gold);
  font-size: var(--text-lg);
}

/* About content */
.about-content {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.cta-button-group {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  flex-wrap: wrap;
}

.about-text {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  line-height: 1.75;
}

.about-text em {
  color: var(--color-primary);
  font-style: italic;
}

.about-values {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3);
  margin-top: var(--space-2);
  margin-bottom: var(--space-4);
}

.about-value-item {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-text);
}

.value-icon {
  color: var(--color-gold);
  font-size: 12px;
  flex-shrink: 0;
}

/* ============================================================
   11. WHY CHOOSE US SECTION
   ============================================================ */
.why-us {
  padding-block: var(--space-20) var(--space-24);
  background-color: var(--color-bg);
}

.why-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-5);
}

@media (min-width: 540px) {
  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .why-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.why-card {
  background-color: #ffffff;
  border-radius: var(--radius-lg);
  padding: var(--space-8) var(--space-6);
  text-align: center;
  border: 1px solid rgba(174, 153, 161, 0.15);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
  position: relative;
  overflow: hidden;
}

.why-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 3px;
  background-color: var(--color-primary);
  transition: width var(--transition-slow);
}

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

.why-card:hover::after {
  width: 60%;
}

.why-icon {
  font-size: 2.5rem;
  margin-bottom: var(--space-4);
  display: block;
}

.why-title {
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: var(--space-3);
}

.why-desc {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.65;
  max-width: 260px;
  margin-inline: auto;
}

/* ============================================================
   12. GALLERY SECTION
   ============================================================ */
.gallery {
  padding-block: var(--space-20) var(--space-24);
  background-color: var(--color-bg-alt);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: auto;
  gap: var(--space-4);
}

@media (min-width: 768px) {
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.gallery-item--tall {
  aspect-ratio: 3 / 4;
}

.gallery-item:hover {
  transform: scale(1.02);
  box-shadow: var(--shadow-lg);
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

/* Gallery image (when real photo is added) */
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

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

/* Gallery placeholder */
.gallery-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--color-mauve-light) 0%, #f0eaed 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-4);
  text-align: center;
}

.gallery-placeholder-icon {
  font-size: 2rem;
  opacity: 0.4;
}

.gallery-placeholder-label {
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--color-mauve);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(179, 31, 86, 0.85) 0%,
    transparent 60%
  );
  display: flex;
  align-items: flex-end;
  padding: var(--space-4);
  opacity: 0;
  transition: opacity var(--transition-base);
}

.gallery-overlay-label {
  color: #ffffff;
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.gallery-note {
  text-align: center;
  margin-top: var(--space-8);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  flex-wrap: wrap;
}

.gallery-note span {
  color: var(--color-gold);
}

/* ============================================================
   13. PROCESS SECTION
   ============================================================ */
.process {
  padding-block: var(--space-20) var(--space-24);
  background: linear-gradient(135deg, #fff8fb 0%, #fdf9ff 100%);
}

.process-steps {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-4);
}

@media (min-width: 768px) {
  .process-steps {
    flex-direction: row;
    align-items: flex-start;
    justify-content: center;
  }
}

.process-step {
  background-color: #ffffff;
  border-radius: var(--radius-xl);
  padding: var(--space-8) var(--space-6);
  text-align: center;
  flex: 1;
  max-width: 320px;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(174, 153, 161, 0.15);
  transition: transform var(--transition-base);
  position: relative;
}

.process-step:hover {
  transform: translateY(-4px);
}

.step-number {
  font-family: var(--font-heading);
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--color-primary-light);
  line-height: 1;
  margin-bottom: var(--space-2);
  display: block;
}

.step-icon {
  font-size: 2.5rem;
  display: block;
  margin-bottom: var(--space-4);
}

.step-title {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: var(--space-3);
}

.step-desc {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.65;
  margin-bottom: var(--space-4);
}

.step-link {
  display: inline-block;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-primary);
  transition: color var(--transition-fast), gap var(--transition-fast);
}

.step-link:hover {
  color: var(--color-primary-dark);
}

/* Process divider arrow */
.process-divider {
  display: none;
  align-items: center;
  padding-top: var(--space-8);
  color: var(--color-mauve);
  flex-shrink: 0;
}

@media (min-width: 768px) {
  .process-divider {
    display: flex;
  }
}

.divider-arrow {
  font-size: 2rem;
  color: var(--color-primary);
  opacity: 0.4;
}

/* ============================================================
   14. SERVICE AREA SECTION
   ============================================================ */
.service-area {
  padding-block: var(--space-20) var(--space-24);
  background-color: var(--color-bg);
}

.area-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-12);
  align-items: center;
}

@media (min-width: 1024px) {
  .area-inner {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-16);
  }
}

.area-text {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  line-height: 1.75;
  margin-bottom: var(--space-5);
}

.area-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3);
  margin-bottom: var(--space-5);
}

.area-item {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-text);
  padding: var(--space-2) var(--space-3);
  background-color: var(--color-bg-alt);
  border-radius: var(--radius-sm);
  border: 1px solid rgba(174, 153, 161, 0.2);
}

.area-note {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  font-style: italic;
  margin-bottom: var(--space-6);
}

/* Map placeholder */
.area-map-placeholder {
  background: linear-gradient(135deg, var(--color-mauve-light), var(--color-gold-light));
  border-radius: var(--radius-xl);
  border: 2px dashed var(--color-mauve);
  min-height: 340px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-3);
  text-align: center;
  padding: var(--space-8);
}

.area-map-embed {
  min-height: 0;
  padding: 0;
  overflow: hidden;
  border: none;
  background: none;
}

.area-map-embed iframe {
  display: block;
  width: 100%;
  height: 450px;
}

.map-icon {
  font-size: 3.5rem;
  opacity: 0.5;
}

.map-label {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  font-weight: 600;
  color: var(--color-text);
}

.map-sublabel {
  font-size: var(--text-sm);
  color: var(--color-mauve);
  letter-spacing: 0.06em;
}

/* ============================================================
   15. TRUST / TESTIMONIALS SECTION
   ============================================================ */
.trust {
  padding-block: var(--space-20) var(--space-24);
  background-color: var(--color-bg-alt);
}

/* ============================================================
   16. BOOKING SECTION
   ============================================================ */
.booking {
  padding-block: var(--space-20) var(--space-24);
  background: linear-gradient(135deg, #fff8fb 0%, #fdf9ff 100%);
}

.booking-calendar-wrap {
  max-width: 920px;
  margin-inline: auto;
  overflow: hidden;
  border-radius: var(--radius-xl);
  background-color: #ffffff;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(174, 153, 161, 0.2);
}

.booking-calendar-wrap iframe {
  display: block;
  width: 100%;
  min-height: 600px;
}

/* Trust value cards */
.trust-values-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-5);
  margin-bottom: var(--space-12);
}

@media (min-width: 768px) {
  .trust-values-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.trust-value-card {
  background-color: #ffffff;
  border-radius: var(--radius-xl);
  padding: var(--space-8) var(--space-8);
  border-left: 4px solid var(--color-primary);
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}

.trust-value-quote {
  display: block;
  font-family: var(--font-heading);
  font-size: 4rem;
  color: var(--color-primary-light);
  line-height: 1;
  margin-bottom: var(--space-2);
  margin-top: -var(--space-2);
}

.trust-value-text {
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  font-style: italic;
  color: var(--color-text);
  line-height: 1.55;
  margin-bottom: var(--space-4);
}

.trust-value-attribution {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-primary);
  letter-spacing: 0.04em;
}

/* Testimonial placeholder section */
.placeholder-section-label {
  text-align: center;
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: var(--space-6);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
}

.placeholder-section-label span {
  color: var(--color-gold);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-5);
  margin-bottom: var(--space-6);
}

@media (min-width: 768px) {
  .testimonials-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.testimonial-card {
  background-color: #ffffff;
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(174, 153, 161, 0.2);
}

.testimonial-stars {
  color: var(--color-gold);
  font-size: var(--text-lg);
  letter-spacing: 2px;
  margin-bottom: var(--space-3);
}

.testimonial-text {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.65;
  font-style: italic;
  margin-bottom: var(--space-3);
}

.testimonial-author {
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--color-primary);
  letter-spacing: 0.04em;
}

.testimonials-cta-note {
  text-align: center;
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

/* ============================================================
   16. FINAL CTA SECTION
   ============================================================ */
.final-cta {
  position: relative;
  padding-block: var(--space-20) var(--space-24);
  background: linear-gradient(135deg, var(--color-primary) 0%, #7a1238 100%);
  overflow: hidden;
  text-align: center;
}

.final-cta-bg-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at top left, rgba(183, 136, 53, 0.15) 0%, transparent 60%),
    radial-gradient(ellipse at bottom right, rgba(255, 255, 255, 0.05) 0%, transparent 60%);
  pointer-events: none;
}

.final-cta-inner {
  position: relative;
  z-index: 1;
}

.final-cta-headline {
  font-size: var(--text-3xl);
  font-weight: 700;
  color: #ffffff;
  line-height: 1.1;
  margin-block: var(--space-4) var(--space-5);
}

.final-cta-headline em {
  font-style: italic;
  color: var(--color-gold-light);
}

.final-cta-sub {
  font-size: var(--text-md);
  color: rgba(255, 255, 255, 0.8);
  max-width: 500px;
  margin-inline: auto;
  line-height: 1.7;
  margin-bottom: var(--space-8);
}

.final-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  justify-content: center;
  margin-bottom: var(--space-8);
}

.final-cta-contact-details {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  justify-content: center;
  align-items: center;
  margin-bottom: var(--space-8);
  font-size: var(--text-sm);
}

.contact-detail-link {
  color: rgba(255, 255, 255, 0.85);
  display: flex;
  align-items: center;
  gap: var(--space-2);
  transition: color var(--transition-fast);
}

.contact-detail-link:hover {
  color: #ffffff;
}

.contact-divider {
  color: rgba(255, 255, 255, 0.4);
  display: none;
}

@media (min-width: 480px) {
  .contact-divider {
    display: inline;
  }
}

.cta-social-links {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  justify-content: center;
}

.social-link {
  color: rgba(255, 255, 255, 0.7);
  font-size: var(--text-sm);
  font-weight: 500;
  letter-spacing: 0.04em;
  padding: var(--space-2) var(--space-4);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: var(--radius-full);
  transition: all var(--transition-fast);
}

.social-link:hover {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.6);
  background-color: rgba(255, 255, 255, 0.1);
}

/* CTA sparkles */
.sparkle-cta-1 {
  top: 15%;
  left: 8%;
  font-size: 1.25rem;
  animation-delay: 0.5s;
}

.sparkle-cta-2 {
  bottom: 20%;
  right: 10%;
  font-size: 0.875rem;
  animation-delay: 2s;
}

/* ============================================================
   17. SITE FOOTER
   ============================================================ */
.site-footer {
  background-color: #0b0b0b;
  color: rgba(255, 255, 255, 0.75);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-10);
  padding-block: var(--space-16) var(--space-12);
}

@media (min-width: 768px) {
  .footer-inner {
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: var(--space-8);
  }
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.footer-logo-img {
  width: 150px;
  height: 150px;
  object-fit: contain;
  /* On dark footer background, the logo may need adjustment.
     Option 1: Use a white/transparent version of the logo.
     Option 2: Keep the color logo and rely on the contrast.
     Option 3: Use the text fallback below. */
  opacity: 0.92;
  /* Remove the filter below if your logo already has a transparent background:
     filter: brightness(0) invert(1); */
}

@media (max-width: 767px) {
  .footer-logo-img {
    width: 128px;
    height: 128px;
  }
}

/* Footer text logo fallback — shown if logo image doesn't suit the dark background */
.footer-logo-text {
  display: none; /* Show this by removing 'display: none' if preferred */
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.03em;
}

.footer-tagline {
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.65;
  max-width: 260px;
}

.footer-social {
  display: flex;
  gap: var(--space-3);
}

.footer-social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.65);
  transition: all var(--transition-fast);
}

.footer-social-link:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
  background-color: rgba(179, 31, 86, 0.1);
}

.footer-group-title {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: var(--space-4);
}

.footer-links-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.footer-link {
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.55);
  transition: color var(--transition-fast);
  line-height: 1.5;
}

.footer-link:hover {
  color: #ffffff;
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-2);
  font-size: var(--text-sm);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-block: var(--space-5);
}

.footer-bottom-inner {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  justify-content: space-between;
  align-items: center;
}

.footer-copyright {
  font-size: var(--text-xs);
  color: rgba(255, 255, 255, 0.4);
}

.footer-copyright a {
  color: rgba(255, 255, 255, 0.65);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-copyright a:hover {
  color: #ffffff;
}

.footer-serving {
  font-size: var(--text-xs);
  color: rgba(255, 255, 255, 0.4);
}

/* ============================================================
   18. BACK TO TOP BUTTON
   ============================================================ */
.back-to-top {
  position: fixed;
  bottom: var(--space-6);
  right: var(--space-5);
  z-index: 999;
  width: 44px;
  height: 44px;
  background-color: var(--color-primary);
  color: #ffffff;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-lg);
  box-shadow: var(--shadow-primary);
  transition: all var(--transition-base);
  opacity: 0;
  transform: translateY(8px);
}

.back-to-top:not([hidden]) {
  opacity: 1;
  transform: translateY(0);
}

#google-calendar-booking-button {
  position: fixed;
  left: var(--space-5);
  bottom: var(--space-6);
  z-index: 998;
  filter: drop-shadow(0 6px 24px rgba(179, 31, 86, 0.25));
}

#google-calendar-booking-button button,
#google-calendar-booking-button [role="button"] {
  border-radius: var(--radius-full) !important;
  font-family: var(--font-body) !important;
  font-weight: 600 !important;
  letter-spacing: 0.02em;
}

@media (max-width: 480px) {
  #google-calendar-booking-button {
    left: var(--space-4);
    bottom: var(--space-5);
  }
}

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

/* ============================================================
   19. SCROLL ANIMATIONS (Fade-in on scroll)
   ============================================================ */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   20. REDUCED MOTION SUPPORT
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  html {
    scroll-behavior: auto;
  }

  .fade-in {
    opacity: 1;
    transform: none;
  }
}

/* ============================================================
   21. PRINT STYLES
   ============================================================ */
@media print {
  .site-header,
  .hamburger,
  .mobile-menu,
  .back-to-top,
  .hero-image-wrap {
    display: none;
  }

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

  a[href]::after {
    content: " (" attr(href) ")";
    font-size: 10pt;
  }
}
