:root {
  /* Premium Palette - Consolidated (WCAG AA verified) */
  --primary: #0a0f1c;
  --primary-light: #151d2e;
  --primary-gradient: linear-gradient(135deg, #0a0f1c 0%, #1a2332 100%);
  --secondary: #8b6914;          /* darkened gold, 5.2:1 on white - replaces #b8911f */
  --secondary-light: #b8911f;    /* old secondary becomes the lighter accent */
  --secondary-gradient: linear-gradient(135deg, #b8911f 0%, #8b6914 50%, #725510 100%);
  --secondary-on-dark: #dbb94d;  /* gold for use on dark backgrounds only */
  --accent: #e8d5a3;
  --charcoal: #0f0f0f;
  --text-light: #4b5563;
  --text-muted: #57626e;         /* darkened from #64748b for 4.5:1 on white */
  --text-on-dark: #d1d5db;       /* light gray for dark backgrounds, 10.5:1 on #0b1120 */
  --bg-soft: #f8fafc;
  --bg-cream: #fefdfb;
  --white: #ffffff;

  /* Focus ring */
  --focus-ring: 0 0 0 3px rgba(184, 145, 31, 0.5);

  /* Glass Effects */
  --glass: rgba(255, 255, 255, 0.92);
  --glass-dark: rgba(10, 15, 28, 0.85);
  --glass-border: rgba(255, 255, 255, 0.18);
  --glass-blur: blur(20px);

  /* Shadows - More Dramatic */
  --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.07), 0 2px 4px -1px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -2px rgba(0, 0, 0, 0.04);
  --shadow-lg: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
  --shadow-xl: 0 35px 60px -15px rgba(0, 0, 0, 0.2);
  --shadow-gold: 0 20px 40px -10px rgba(201, 162, 39, 0.35);
  --shadow-glow: 0 0 40px rgba(201, 162, 39, 0.15);

  /* Animations */
  --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-bounce: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  --ease-out-expo: cubic-bezier(0.19, 1, 0.22, 1);
}

/* Reset & Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--charcoal);
  background: var(--bg-cream);
  font-size: 1rem;
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Selection Styling */
::selection {
  background: var(--secondary);
  color: var(--white);
}

/* Editorial Typography */
h1,
h2,
h3,
h4,
.logo {
  font-family: 'Playfair Display', Georgia, serif;
  color: var(--primary);
  line-height: 1.15;
  font-weight: 700;
}

h1 {
  letter-spacing: -0.03em;
}

h2 {
  font-size: clamp(2rem, 5vw, 3rem);
  margin-bottom: 1.5rem;
  position: relative;
}

h3 {
  font-size: clamp(1.25rem, 2.5vw, 1.5rem);
  margin-bottom: 0.75rem;
}

p {
  color: var(--text-light);
  margin-bottom: 1.5rem;
  font-size: 1.05rem;
  max-width: 75ch;
}

/* Layout Utilities */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
}

section {
  padding: 7rem 0;
  position: relative;
}

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

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

/* ================== ENHANCED BUTTONS ================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1.1rem 2.5rem;
  min-height: 52px;
  min-width: 44px;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  transition: var(--transition);
  cursor: pointer;
  border: none;
  position: relative;
  overflow: hidden;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

.btn:active {
  transform: scale(0.97);
}

.btn:focus-visible {
  outline: none;
  box-shadow: var(--focus-ring);
}

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

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

.btn-primary {
  background: var(--secondary-gradient);
  color: #ffffff;
  box-shadow: var(--shadow-gold);
  font-weight: 700;
}

.btn-primary:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 25px 50px -10px rgba(201, 162, 39, 0.45);
}

.btn-outline {
  border: 2px solid var(--primary);
  color: var(--primary);
  background: transparent;
  position: relative;
  z-index: 1;
}

.btn-outline::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--primary);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s var(--ease-out-expo);
  z-index: -1;
}

.btn-outline:hover {
  color: var(--white);
  transform: translateY(-4px);
}

.btn-outline:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

/* ================== GLASS HEADER ================== */
header {
  position: fixed;
  top: 0;
  width: 100%;
  background: var(--glass);
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
  z-index: 1000;
  padding: 0.75rem 0;
  transition: var(--transition);
}

header.scrolled {
  padding: 0.5rem 0;
  box-shadow: var(--shadow-md);
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-img {
  height: 55px;
  width: auto;
  transition: var(--transition);
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.logo-img:hover {
  transform: scale(1.03);
}

/* Brand Text Styling - Premium Text Logo */
.brand-text {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  font-family: 'Playfair Display', serif;
  position: relative;
  padding: 0.25rem 0;
}

.brand-text:hover .brand-primary {
  background-size: 200% auto;
  animation: brand-shimmer 2s linear infinite;
}

.brand-primary {
  font-size: 1.75rem;
  font-weight: 900;
  background: var(--secondary-gradient);
  background-size: 100% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.02em;
  line-height: 1.1;
  transition: var(--transition);
}

.brand-secondary {
  font-size: 0.65rem;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 3px;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  margin-top: 0.15rem;
}

@keyframes brand-shimmer {
  0% {
    background-position: 0% center;
  }

  100% {
    background-position: 200% center;
  }
}

/* ================== ULTRA-PREMIUM ENHANCEMENTS ================== */

/* Shimmer effect for headings */
h2 {
  position: relative;
}

.section-badge {
  position: relative;
  overflow: hidden;
}

.section-badge::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  animation: badge-shine 3s ease-in-out infinite;
}

@keyframes badge-shine {

  0%,
  100% {
    left: -100%;
  }

  50% {
    left: 100%;
  }
}

/* Enhanced card glow on hover */
.product-card-premium::after {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: 21px;
  background: var(--secondary-gradient);
  z-index: -1;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.product-card-premium:hover::after {
  opacity: 0.3;
  filter: blur(15px);
}

/* Pulse animation for CTA buttons */
.btn-primary {
  position: relative;
}

.btn-primary::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 4px;
  background: var(--secondary-gradient);
  opacity: 0;
  z-index: -1;
  animation: btn-pulse 2s ease-in-out infinite;
}

@keyframes btn-pulse {

  0%,
  100% {
    transform: scale(1);
    opacity: 0;
  }

  50% {
    transform: scale(1.05);
    opacity: 0.3;
  }
}

/* Enhanced testimonial cards with quote animation */
.testimonial-card {
  position: relative;
  overflow: hidden;
}

.testimonial-card::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 100px;
  height: 100px;
  background: radial-gradient(circle, rgba(201, 162, 39, 0.1) 0%, transparent 70%);
  border-radius: 50%;
  transform: translate(30%, -30%);
  transition: var(--transition);
}

.testimonial-card:hover::after {
  transform: translate(20%, -20%) scale(1.5);
}

/* Stats counter glow effect */
.stat-item {
  position: relative;
}

.stat-number {
  position: relative;
  text-shadow: 0 0 40px rgba(201, 162, 39, 0.4);
}

/* Gallery floating animation */
.gallery-item {
  transition: transform 0.4s ease, box-shadow 0.4s ease, opacity 0.4s ease;
  will-change: transform;
  backface-visibility: hidden;
}

/* Trust icon enhanced bounce */
.trust-item {
  transition: var(--transition);
}

.trust-item:hover {
  transform: translateY(-5px);
}

.trust-item:hover .trust-icon {
  animation: trust-bounce 0.6s ease;
}

@keyframes trust-bounce {

  0%,
  100% {
    transform: scale(1.1) rotate(5deg);
  }

  50% {
    transform: scale(1.15) rotate(-2deg);
  }
}

/* Enhanced page hero with gradient animation */
.page-hero::before {
  animation: hero-glow 8s ease-in-out infinite alternate;
}

@keyframes hero-glow {
  0% {
    transform: translate(-10%, -10%) scale(1);
    opacity: 0.1;
  }

  100% {
    transform: translate(10%, 10%) scale(1.2);
    opacity: 0.15;
  }
}

/* Smooth link underline animation */
.nav-links a {
  position: relative;
}

.nav-links a::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--secondary);
  transition: all 0.4s var(--ease-out-expo);
  transform: translateX(-50%);
}

.nav-links {
  display: flex;
  gap: 2.5rem;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  font-family: 'Inter', sans-serif;
  color: var(--charcoal);
  font-weight: 500;
  font-size: 0.9rem;
  letter-spacing: 0.3px;
  transition: var(--transition);
  position: relative;
  padding: 0.5rem 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--secondary-gradient);
  transition: width 0.4s var(--ease-out-expo);
}

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

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

.header-actions .btn {
  padding: 0.8rem 1.8rem;
  font-size: 0.8rem;
}

/* ================== HERO SECTION ================== */
.hero {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.hero-video {
  background: var(--primary);
}

.hero-video-bg {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%);
  z-index: 0;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 15, 28, 0.88) 0%, rgba(10, 15, 28, 0.72) 40%, rgba(10, 15, 28, 0.85) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: linear-gradient(135deg, rgba(201, 162, 39, 0.2), rgba(201, 162, 39, 0.1));
  color: var(--secondary-light);
  padding: 0.75rem 1.75rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 2rem;
  border: 1px solid rgba(201, 162, 39, 0.3);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  animation: float 3s ease-in-out infinite;
  will-change: transform;
  backface-visibility: hidden;
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-8px);
  }
}

.hero h1 {
  color: var(--white);
  font-size: clamp(2.5rem, 7vw, 5rem);
  margin-bottom: 1.5rem;
  text-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
}

.hero p {
  color: rgba(255, 255, 255, 0.85);
  font-size: clamp(1rem, 2vw, 1.25rem);
  max-width: 650px;
  margin: 0 auto 2.5rem;
  font-weight: 300;
  line-height: 1.8;
}

/* hero-btns animations moved to heroFadeInUp stagger block below 360px section */

/* Section Badge */
.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, rgba(139, 105, 20, 0.15), rgba(139, 105, 20, 0.06));
  color: var(--secondary);
  padding: 0.6rem 1.5rem;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 1.25rem;
  border: 1px solid rgba(201, 162, 39, 0.2);
}

/* ================== ENHANCED CARDS ================== */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2.5rem;
}

.card {
  background: var(--white);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  display: flex;
  flex-direction: column;
  will-change: transform;
  backface-visibility: hidden;
}

.card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 16px;
  padding: 1px;
  background: linear-gradient(135deg, rgba(201, 162, 39, 0.3), transparent, rgba(201, 162, 39, 0.1));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: var(--transition);
}

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

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

.card-img {
  height: 280px;
  background-size: cover;
  background-position: center;
  transition: transform 0.8s var(--ease-out-expo);
}

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

.card-img-wrapper {
  overflow: hidden;
  border-radius: 16px 16px 0 0;
}

.card-content {
  padding: 2rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.card-content h3 {
  color: var(--primary);
  letter-spacing: -0.02em;
}

/* Page Hero */
.page-hero {
  padding: 12rem 0 6rem;
  background: var(--primary-gradient);
  color: var(--white);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(201, 162, 39, 0.1) 0%, transparent 70%);
  border-radius: 50%;
}

.page-hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(201, 162, 39, 0.08) 0%, transparent 70%);
  border-radius: 50%;
}

.page-hero h1 {
  color: var(--white);
  font-size: clamp(2.5rem, 6vw, 4rem);
  margin-bottom: 1rem;
  position: relative;
  z-index: 1;
}

.page-hero p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.2rem;
  font-weight: 300;
  position: relative;
  z-index: 1;
}

/* ================== GALLERY SECTION ================== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(2, 280px);
  gap: 1.25rem;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  cursor: pointer;
}

.gallery-item-large {
  grid-column: span 2;
  grid-row: span 2;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease-out-expo);
}

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

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 15, 28, 0.95) 0%, rgba(10, 15, 28, 0.4) 40%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 2rem;
  opacity: 0;
  transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.gallery-overlay span {
  display: block;
  color: var(--secondary-light);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 0.5rem;
  transform: translateY(20px);
  transition: transform 0.5s var(--ease-out-expo) 0.1s;
}

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

.gallery-overlay p {
  color: white;
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  margin: 0;
  transform: translateY(20px);
  transition: transform 0.5s var(--ease-out-expo) 0.15s;
}

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

/* ================== PREMIUM PRODUCT CARDS ================== */
.products-grid-premium {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.product-card-premium {
  background: var(--white);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
  display: flex;
  flex-direction: column;
  position: relative;
  will-change: transform;
  backface-visibility: hidden;
  cursor: pointer;
}

.product-card-premium::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--secondary-gradient);
  transform: scaleX(0);
  transition: transform 0.5s var(--ease-out-expo);
}

.product-card-premium:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-xl);
}

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

.product-card-image {
  height: 240px;
  overflow: hidden;
  position: relative;
}

.product-card-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 60%, rgba(10, 15, 28, 0.1) 100%);
}

.product-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease-out-expo);
}

.product-card-premium:hover .product-card-image img {
  transform: scale(1.1);
}

.product-card-content {
  padding: 2rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.product-card-content h3,
.product-card-content h4 {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  margin-bottom: 0.75rem;
  color: var(--primary);
}

.product-card-content p {
  font-size: 0.95rem;
  color: var(--text-light);
  margin-bottom: 1.5rem;
  flex: 1;
}

.product-link {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--secondary);
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: var(--transition);
}

.product-link i {
  transition: transform 0.4s var(--ease-out-expo);
}

.product-card-premium:hover .product-link {
  color: var(--primary);
}

.product-card-premium:hover .product-link i {
  transform: translateX(8px);
}

.product-card-featured {
  grid-column: span 3;
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
}

.product-card-featured .product-card-content {
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 3rem;
}

.product-card-featured .product-card-content h3,
.product-card-featured .product-card-content h4 {
  color: white;
}

.product-card-featured .product-card-content p {
  color: rgba(255, 255, 255, 0.8);
}

.product-card-featured .product-link {
  color: var(--secondary-light);
}

.featured-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--secondary-gradient);
  color: #ffffff;
  padding: 0.6rem 1.25rem;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1.5rem;
  width: fit-content;
  box-shadow: var(--shadow-gold);
}

/* ================== TRUST ICONS ================== */
.trust-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 1.25rem;
  background: var(--secondary-gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--primary);
  box-shadow: var(--shadow-gold);
  transition: var(--transition);
}

.card:hover .trust-icon {
  transform: scale(1.1) rotate(5deg);
}

/* ================== ABOUT SECTION ================== */
.about-image-wrapper {
  position: relative;
}

.about-image {
  width: 100%;
  border-radius: 20px;
  box-shadow: var(--shadow-xl);
}

.about-badge {
  position: absolute;
  bottom: -25px;
  right: -25px;
  background: var(--secondary-gradient);
  color: var(--primary);
  padding: 2rem 2.5rem;
  border-radius: 16px;
  text-align: center;
  box-shadow: var(--shadow-gold);
  animation: float 4s ease-in-out infinite;
}

.badge-years {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: 3rem;
  font-weight: 700;
  line-height: 1;
}

.badge-text {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
}

/* ================== TESTIMONIALS ================== */
.testimonials-section {
  background: var(--white);
  overflow: hidden;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
  gap: 2rem;
}

.testimonial-card {
  background: linear-gradient(135deg, var(--bg-cream) 0%, var(--bg-soft) 100%);
  padding: 2.5rem;
  border-radius: 20px;
  position: relative;
  border: 1px solid rgba(0, 0, 0, 0.03);
  transition: var(--transition);
}

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

.testimonial-card:active {
  transform: translateY(-4px) scale(0.98);
}

.testimonial-card::before {
  content: '"';
  font-family: 'Playfair Display', serif;
  font-size: 8rem;
  color: var(--secondary);
  opacity: 0.15;
  position: absolute;
  top: -20px;
  left: 20px;
  line-height: 1;
}

.testimonial-stars {
  margin-bottom: 1.25rem;
}

.testimonial-stars i {
  color: var(--secondary);
  margin-right: 0.25rem;
  font-size: 1rem;
}

.testimonial-text {
  font-style: italic;
  font-size: 1.05rem;
  line-height: 1.9;
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 1;
  color: var(--charcoal);
}

.testimonial-author {
  font-weight: 700;
  color: var(--primary);
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

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

/* ================== STATS SECTION ================== */
.stats-section {
  background: var(--primary-gradient);
  padding: 5rem 0;
  position: relative;
  overflow: hidden;
}

.stats-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  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='%23c9a227' fill-opacity='0.03'%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");
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
  position: relative;
  z-index: 1;
}

.stat-item {
  color: var(--white);
  padding: 1rem;
}

.stat-number {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  background: var(--secondary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: block;
  line-height: 1;
  margin-bottom: 0.75rem;
}

.stat-label {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  opacity: 0.9;
}

/* ================== CTA SECTION ================== */
.dual-cta {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 2.5rem;
}

.cta-phone {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1.75rem 3rem;
  background: rgba(255, 255, 255, 0.08);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  text-decoration: none;
  transition: var(--transition);
}

.cta-phone:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.cta-phone:active {
  transform: scale(0.97);
}

.cta-phone .region {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--secondary-on-dark);
  margin-bottom: 0.5rem;
}

.cta-phone .number {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--white);
}

/* ================== FAQ ACCORDION ================== */
.faq-section {
  background: var(--bg-soft);
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

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

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

.faq-question {
  width: 100%;
  padding: 1.5rem 2rem;
  background: var(--white);
  border: none;
  text-align: left;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--primary);
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: var(--transition);
}

.faq-question:hover {
  background: var(--bg-soft);
}

.faq-question::after {
  content: '+';
  font-size: 1.75rem;
  font-weight: 300;
  color: var(--secondary);
  transition: transform 0.4s var(--ease-out-expo);
}

.faq-item.active .faq-question::after {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s var(--ease-out-expo), padding 0.5s var(--ease-out-expo);
}

.faq-item.active .faq-answer {
  max-height: 500px;
  padding: 0 2rem 1.5rem;
}

/* ================== BEFORE/AFTER SLIDER ================== */
.ba-slider {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  cursor: col-resize;
  user-select: none;
  -webkit-user-select: none;
  aspect-ratio: 16/10;
  max-width: 800px;
  margin: 0 auto;
  box-shadow: var(--shadow-lg);
}

.ba-slider img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
}

.ba-slider .ba-after {
  clip-path: inset(0 0 0 50%);
  transition: clip-path 0s;
}

.ba-slider .ba-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 4px;
  background: #fff;
  z-index: 3;
  transform: translateX(-50%);
  box-shadow: 0 0 12px rgba(0,0,0,0.4);
}

.ba-slider .ba-handle::before,
.ba-slider .ba-handle::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 36px;
  height: 36px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
  transform: translateY(-50%);
}

.ba-slider .ba-handle::before {
  right: 8px;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%230a0f1c'%3E%3Cpath d='M15.41 7.41L14 6l-6 6 6 6 1.41-1.41L10.83 12z'/%3E%3C/svg%3E") center/20px no-repeat;
}

.ba-slider .ba-handle::after {
  left: 8px;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%230a0f1c'%3E%3Cpath d='M8.59 16.59L10 18l6-6-6-6-1.41 1.41L13.17 12z'/%3E%3C/svg%3E") center/20px no-repeat;
}

.ba-slider .ba-label {
  position: absolute;
  bottom: 16px;
  padding: 6px 16px;
  background: rgba(10, 15, 28, 0.8);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  border-radius: 4px;
  z-index: 4;
  pointer-events: none;
}

.ba-slider .ba-label-before { left: 16px; }
.ba-slider .ba-label-after { right: 16px; }

/* ================== GOOGLE REVIEW BADGE ================== */
.review-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  padding: 12px 20px;
  box-shadow: var(--shadow-sm);
  text-decoration: none;
  color: var(--primary);
  transition: var(--transition);
}

.review-badge:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.review-badge .rb-stars {
  color: #fbbc04;
  font-size: 1.1rem;
  letter-spacing: 2px;
}

.review-badge .rb-score {
  font-size: 1.5rem;
  font-weight: 800;
  line-height: 1;
}

.review-badge .rb-text {
  font-size: 0.75rem;
  color: var(--text-light);
  line-height: 1.3;
}

.review-badge .rb-google {
  width: 24px;
  height: 24px;
}

/* ================== FOOTER ================== */
footer {
  background: var(--primary);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  position: relative;
}

footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--secondary-gradient);
}

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

.footer-logo {
  height: 80px;
  width: auto;
  margin-bottom: 1.5rem;
}

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

/* ================== ANIMATION UTILITIES ================== */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s var(--ease-out-expo), transform 0.8s var(--ease-out-expo);
  will-change: transform, opacity;
  backface-visibility: hidden;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered animations */
.reveal-delay-1 {
  transition-delay: 0.1s;
}

.reveal-delay-2 {
  transition-delay: 0.2s;
}

.reveal-delay-3 {
  transition-delay: 0.3s;
}

.reveal-delay-4 {
  transition-delay: 0.4s;
}

/* ================== CONTACT FORM ================== */
.form-group input,
.form-group select,
.form-group textarea {
  background: var(--bg-soft);
  border: 2px solid transparent;
  transition: var(--transition);
  border-radius: 8px;
  padding: 1rem 1.25rem;
  font-size: 1rem; /* 16px minimum prevents iOS zoom */
  min-height: 52px;
  touch-action: manipulation;
}

.form-group input:focus-visible,
.form-group select:focus-visible,
.form-group textarea:focus-visible {
  outline: none;
  border-color: var(--secondary);
  background: var(--white);
  box-shadow: var(--focus-ring);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--secondary);
  background: var(--white);
  box-shadow: var(--shadow-glow);
}

/* Response Promise */
.response-promise {
  background: var(--secondary-gradient);
  color: var(--primary);
  padding: 1.25rem;
  text-align: center;
  font-weight: 700;
  letter-spacing: 0.5px;
  font-size: 0.95rem;
}

/* Experience List */
.experience-list {
  list-style: none;
  margin-top: 1.5rem;
}

.experience-list li {
  padding: 1rem 0;
  padding-left: 2.5rem;
  position: relative;
  color: var(--text-light);
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), color 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.experience-list li:hover {
  transform: translateX(0.5rem);
  color: var(--primary);
}

.experience-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--secondary);
  font-weight: 700;
  font-size: 1.1rem;
}

/* Who We Are */
.who-we-are {
  background: var(--white);
}

.who-we-are-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

/* Grid Valign */
.grid-valign {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 4rem;
  align-items: center;
}

/* Products Grid */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.product-card {
  background: var(--white);
  padding: 2.5rem;
  text-align: center;
  border-radius: 16px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
  cursor: pointer;
  will-change: transform;
  backface-visibility: hidden;
}

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

.product-card:active {
  transform: translateY(-4px) scale(0.98);
}

.product-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 1.5rem;
  background: linear-gradient(135deg, var(--bg-soft) 0%, rgba(201, 162, 39, 0.1) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: var(--secondary);
  transition: var(--transition);
}

.product-card:hover .product-icon {
  background: var(--secondary-gradient);
  color: var(--primary);
  transform: scale(1.1);
}

.product-card h3,
.product-card h4 {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  color: var(--primary);
}

.product-card p {
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

/* ================== HAMBURGER MENU ================== */
.mobile-menu-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 44px;
  height: 44px;
  cursor: pointer;
  background: transparent;
  border: none;
  padding: 0;
  z-index: 1001;
}

.mobile-menu-btn span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--primary);
  transition: var(--transition);
  margin: 3px 0;
  border-radius: 2px;
}

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

.mobile-menu-btn.active span:nth-child(2) {
  opacity: 0;
  transform: translateX(-10px);
}

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

/* ================== RESPONSIVE BREAKPOINTS ================== */

/* Tablet (1024px) */
@media (max-width: 1024px) {
  .nav-links {
    gap: 1.5rem;
  }

  .nav-links a {
    font-size: 0.85rem;
  }

  .header-actions .btn {
    padding: 0.7rem 1.25rem;
    font-size: 0.75rem;
  }

  .hero h1 {
    font-size: 3.5rem;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: auto;
  }

  .gallery-item-large {
    grid-column: span 2;
  }

  .products-grid-premium {
    grid-template-columns: repeat(2, 1fr);
  }

  .product-card-featured {
    grid-column: span 2;
  }

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

/* Mobile (768px) */
@media (max-width: 768px) {
  .mobile-menu-btn {
    display: flex;
  }

  .header-actions {
    display: none;
  }

  .nav-links {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    right: -100%;
    width: 85%;
    max-width: 340px;
    height: 100vh;
    height: 100dvh;
    background: var(--white);
    padding: 6rem 2rem 2rem;
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.15);
    transition: right 0.5s var(--ease-out-expo);
    z-index: 999;
    gap: 0;
  }

  .nav-links.active {
    right: 0;
  }

  .nav-links li {
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  }

  .nav-links a {
    display: block;
    padding: 1.25rem 0;
    font-size: 1.1rem;
  }

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

  .nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
    z-index: 998;
  }

  .nav-overlay.active {
    display: block;
  }

  .logo-img {
    height: 42px;
  }

  section {
    padding: 4rem 0;
  }

  .hero {
    min-height: 100vh;
    min-height: 100dvh;
    padding: 6rem 0 4rem;
  }

  .hero h1 {
    font-size: 2.2rem;
    line-height: 1.15;
  }

  .hero p {
    font-size: 1rem;
    margin-bottom: 2rem;
  }

  .hero-badge {
    font-size: 0.75rem;
    padding: 0.5rem 1rem;
  }

  .hero-btns {
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }

  .hero-btns .btn {
    margin-left: 0 !important;
    width: 100%;
    text-align: center;
  }

  .page-hero {
    padding: 8rem 0 4rem;
  }

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

  h2 {
    font-size: 1.75rem;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .stat-number {
    font-size: 2.25rem;
  }

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

  .gallery-item-large {
    grid-column: span 2;
  }

  .gallery-overlay {
    opacity: 1;
    background: linear-gradient(to top, rgba(10, 15, 28, 0.85), transparent);
    padding: 1rem;
  }

  .products-grid-premium {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .product-card-featured {
    grid-column: span 1;
    grid-template-columns: 1fr;
  }

  .who-we-are-content {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .about-badge {
    position: relative;
    right: auto;
    bottom: auto;
    margin-top: 1.5rem;
    display: inline-block;
  }

  .grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .grid-valign {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

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

  .dual-cta {
    flex-direction: column;
    align-items: stretch;
  }

  .cta-phone {
    width: 100%;
    padding: 1.25rem 1.5rem;
  }

  .btn {
    padding: 1rem 2rem;
    font-size: 0.8rem;
    width: 100%;
  }

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

  .hero-video-bg {
    display: none;
  }

  .hero-video {
    background: linear-gradient(135deg, rgba(10, 15, 28, 0.9), rgba(10, 15, 28, 0.75)), url('assets/images/Gemini_Generated_Image-17.jpg.webp');
    background-size: cover;
    background-position: center;
  }

  .hero-overlay {
    display: none;
  }
}

/* Small Mobile (480px) */
@media (max-width: 480px) {
  .container {
    padding: 0 1rem;
  }

  .hero h1 {
    font-size: 1.85rem;
  }

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

  h2 {
    font-size: 1.5rem;
  }

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

  .gallery-item-large {
    grid-column: span 1;
  }

  .section-badge {
    font-size: 0.7rem;
    padding: 0.4rem 1rem;
  }

  .testimonial-card {
    padding: 1.75rem;
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }

  .stat-number {
    font-size: 1.85rem;
  }
}

/* ================== SMOOTH SCROLLBAR (WEBKIT) ================== */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: var(--bg-soft);
}

::-webkit-scrollbar-thumb {
  background: var(--secondary);
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--secondary-light);
}

/* ================== FOCUS-VISIBLE STYLES (ACCESSIBILITY) ================== */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid var(--secondary);
  outline-offset: 2px;
  border-radius: 2px;
}

/* Remove default outline for mouse users */
a:focus:not(:focus-visible),
button:focus:not(:focus-visible),
input:focus:not(:focus-visible),
select:focus:not(:focus-visible),
textarea:focus:not(:focus-visible) {
  outline: none;
}

.faq-question:focus-visible {
  outline: 3px solid var(--secondary);
  outline-offset: -3px;
}

.product-card-premium:focus-visible,
.card:focus-visible {
  outline: 3px solid var(--secondary);
  outline-offset: 4px;
  border-radius: 20px;
}

.nav-links a:focus-visible {
  outline: 3px solid var(--secondary);
  outline-offset: 4px;
}

.cta-phone:focus-visible {
  outline: 3px solid var(--secondary-light);
  outline-offset: 4px;
}

/* ================== CURSOR & TOUCH FOR ALL INTERACTIVE ELEMENTS ================== */
a,
button,
.gallery-item,
.faq-question,
.product-card-premium,
.cta-phone,
.product-card,
.trust-item {
  cursor: pointer;
}

button,
.cta-phone,
.faq-question {
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

/* ================== CONTENT VISIBILITY (RENDERING PERFORMANCE) ================== */
.gallery-section,
.trust-bar,
.who-we-are,
#products,
.testimonials-section,
.faq-section,
.final-cta,
footer {
  content-visibility: auto;
  contain-intrinsic-size: auto 600px;
}

/* ================== STAT COUNTER ENTRANCE ANIMATION ================== */
.stat-item {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s var(--ease-out-expo), transform 0.6s var(--ease-out-expo);
}

.stats-section.stat-visible .stat-item {
  opacity: 1;
  transform: translateY(0);
}

.stats-section.stat-visible .stat-item:nth-child(1) { transition-delay: 0s; }
.stats-section.stat-visible .stat-item:nth-child(2) { transition-delay: 0.15s; }
.stats-section.stat-visible .stat-item:nth-child(3) { transition-delay: 0.3s; }
.stats-section.stat-visible .stat-item:nth-child(4) { transition-delay: 0.45s; }

/* ================== SCROLL TO TOP BUTTON ================== */
.scroll-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 48px;
  height: 48px;
  min-height: 44px;
  background: var(--secondary-gradient);
  color: var(--primary);
  border: none;
  border-radius: 50%;
  font-size: 1.25rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
  z-index: 900;
  box-shadow: var(--shadow-gold);
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  padding-bottom: env(safe-area-inset-bottom, 0);
}

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

.scroll-to-top:hover {
  transform: translateY(-4px) scale(1.05);
}

.scroll-to-top:active {
  transform: scale(0.95);
}

.scroll-to-top:focus-visible {
  outline: 3px solid var(--secondary);
  outline-offset: 4px;
}

/* ================== SAFE AREA INSETS (NOTCH DEVICES) ================== */
header {
  padding-left: env(safe-area-inset-left, 0);
  padding-right: env(safe-area-inset-right, 0);
}

footer {
  padding-bottom: env(safe-area-inset-bottom, 0);
}

/* ================== PREFERS-REDUCED-MOTION ================== */
@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;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  .stat-item {
    opacity: 1;
    transform: none;
  }

  .hero-badge {
    animation: none;
  }

  .about-badge {
    animation: none;
  }

  .hero h1,
  .hero p,
  .hero-btns {
    animation: none;
    opacity: 1;
  }
}

/* ================== PREFERS-COLOR-SCHEME: DARK (VARIABLE READINESS) ================== */
/* Dark mode disabled - site is designed light-themed with dark accent sections.
   A proper dark mode would require a full redesign pass, not just variable swaps.
   Removed to prevent broken contrast on systems with dark mode enabled. */

/* ================== 360PX MINIMUM VIEWPORT SAFETY ================== */
@media (max-width: 360px) {
  .container {
    padding: 0 0.75rem;
  }

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

  h2 {
    font-size: 1.35rem;
  }

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

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

  .dual-cta {
    gap: 0.75rem;
  }

  .cta-phone .number {
    font-size: 1.3rem;
  }
}

/* ================== SCROLL PROGRESS BAR ================== */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: var(--secondary-gradient);
  z-index: 9999;
  pointer-events: none;
  will-change: width;
}

/* ================== HERO TEXT REVEAL ANIMATION ================== */
@keyframes heroFadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero .hero-badge {
  animation: heroFadeInUp 0.8s var(--ease-out-expo) 0.2s both;
}

.hero h1 {
  animation: heroFadeInUp 0.8s var(--ease-out-expo) 0.5s both;
}

.hero p {
  animation: heroFadeInUp 0.8s var(--ease-out-expo) 0.8s both;
}

.hero .hero-btns {
  animation: heroFadeInUp 0.8s var(--ease-out-expo) 1.1s both;
}

.hero .dual-cta {
  animation: heroFadeInUp 0.8s var(--ease-out-expo) 1.3s both;
}

@media (prefers-reduced-motion: reduce) {
  .hero .hero-badge,
  .hero h1,
  .hero p,
  .hero .hero-btns,
  .hero .dual-cta {
    animation: none;
    opacity: 1;
    transform: none;
  }
}

/* ================== STICKY MOBILE BOTTOM CTA BAR ================== */
.mobile-bottom-cta {
  display: none;
}

@media (max-width: 768px) {
  .mobile-bottom-cta {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 56px;
    background: var(--secondary-gradient);
    z-index: 999;
    align-items: center;
    justify-content: center;
    gap: 0;
    padding-bottom: env(safe-area-inset-bottom, 0);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
  }

  .mobile-bottom-cta a {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    color: var(--white);
    text-decoration: none;
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    height: 100%;
    cursor: pointer;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
    transition: background 0.2s ease;
    position: relative;
  }

  .mobile-bottom-cta a:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 20%;
    height: 60%;
    width: 1px;
    background: rgba(255, 255, 255, 0.3);
  }

  .mobile-bottom-cta a:active {
    background: rgba(0, 0, 0, 0.1);
  }

  .mobile-bottom-cta a i {
    font-size: 1rem;
  }

  /* Push scroll-to-top button above the bottom CTA bar */
  .scroll-to-top {
    bottom: calc(56px + 1rem + env(safe-area-inset-bottom, 0));
  }

  /* Ensure footer has padding so content isn't hidden behind bottom bar */
  footer {
    padding-bottom: calc(56px + env(safe-area-inset-bottom, 0));
  }
}

/* ================== GALLERY HOVER DIM EFFECT ================== */
.gallery-grid .gallery-item {
  transition: transform 0.4s ease, box-shadow 0.4s ease, opacity 0.4s ease;
}

.gallery-grid:hover .gallery-item {
  opacity: 0.4;
  transform: scale(0.98);
}

.gallery-grid:hover .gallery-item:hover {
  opacity: 1;
  transform: scale(1.03);
  box-shadow: var(--shadow-xl);
}

/* ================== ABOUT IMAGE PARALLAX ================== */
.about-image {
  will-change: transform;
  backface-visibility: hidden;
}

/* ================== PRELOADER ================== */
.preloader {
  position: fixed;
  inset: 0;
  background: var(--white);
  z-index: 99999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: opacity 0.5s ease;
}

.preloader.fade-out {
  opacity: 0;
  pointer-events: none;
}

.preloader-brand {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 2.5rem;
  font-weight: 900;
  background: var(--secondary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}

.preloader-line {
  width: 120px;
  height: 2px;
  background: rgba(0, 0, 0, 0.08);
  border-radius: 2px;
  overflow: hidden;
  position: relative;
}

.preloader-line::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0%;
  background: var(--secondary-gradient);
  border-radius: 2px;
  animation: preloaderFill 0.8s ease forwards;
}

@keyframes preloaderFill {
  from {
    width: 0%;
  }
  to {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .preloader {
    display: none;
  }
}