/* ========================================
   Tayside Loft Solutions - Premium Design
   Modern, Clean & Professional
   ======================================== */

/* CSS Variables */
:root {
  /* Colors - Premium UK Trades Palette */
  --background: hsl(220, 20%, 98%);
  --foreground: hsl(220, 50%, 12%);
  --card: hsl(0, 0%, 100%);
  --card-foreground: hsl(220, 50%, 12%);
  
  /* Deep Navy - Primary */
  --primary: hsl(220, 60%, 22%);
  --primary-foreground: hsl(0, 0%, 100%);
  --primary-light: hsl(220, 45%, 35%);
  
  /* Warm Amber/Gold - Accent */
  --accent: hsl(38, 92%, 50%);
  --accent-light: hsl(38, 95%, 60%);
  --accent-foreground: hsl(220, 50%, 12%);
  
  /* Emerald for trust indicators */
  --success: hsl(152, 69%, 40%);
  --success-light: hsl(152, 69%, 95%);
  
  /* Secondary - Soft Blue */
  --secondary: hsl(220, 30%, 96%);
  --secondary-foreground: hsl(220, 60%, 22%);
  
  /* Muted */
  --muted: hsl(220, 15%, 95%);
  --muted-foreground: hsl(220, 15%, 45%);
  
  /* Border */
  --border: hsl(220, 20%, 90%);
  --border-light: hsl(220, 20%, 94%);
  
  /* Custom tokens */
  --navy-dark: hsl(220, 65%, 15%);
  --navy-light: hsl(220, 40%, 35%);
  --amber: hsl(38, 92%, 50%);
  --amber-light: hsl(38, 95%, 65%);
  --cream: hsl(40, 40%, 97%);
  --cream-dark: hsl(40, 20%, 94%);
  
  /* Gradients */
  --gradient-primary: linear-gradient(135deg, hsl(220, 65%, 15%) 0%, hsl(220, 50%, 28%) 100%);
  --gradient-accent: linear-gradient(135deg, hsl(38, 92%, 50%) 0%, hsl(45, 95%, 55%) 100%);
  --gradient-glow: radial-gradient(ellipse at center, hsla(38, 92%, 50%, 0.15) 0%, transparent 70%);
  
  /* Spacing */
  --radius: 0.75rem;
  --radius-lg: 1rem;
  --radius-xl: 1.5rem;
  
  /* Shadows */
  --shadow-xs: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px -1px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
  --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  --shadow-glow: 0 0 40px hsla(38, 92%, 50%, 0.3);
  --shadow-card: 0 4px 25px -5px rgba(0, 0, 0, 0.08), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --shadow-elevated: 0 20px 40px -15px rgba(0, 0, 0, 0.12);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5rem;
}

body {
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  background-color: var(--background);
  color: var(--foreground);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

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

ul, ol {
  list-style: none;
}

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

input, textarea, select {
  font-family: inherit;
  font-size: inherit;
}

/* Container */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

@media (min-width: 640px) {
  .container {
    padding: 0 2rem;
  }
}

/* Icons */
.icon {
  width: 1.25rem;
  height: 1.25rem;
  flex-shrink: 0;
}

/* ========================================
   BUTTONS - Premium Design
   ======================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
  padding: 0.875rem 1.75rem;
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: var(--radius);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,0.15) 0%, transparent 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

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

.btn-primary {
  background: var(--gradient-primary);
  color: var(--primary-foreground);
  box-shadow: var(--shadow-md), 0 0 0 1px rgba(0,0,0,0.05);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(0,0,0,0.05);
}

.btn-accent {
  background: var(--gradient-accent);
  color: var(--accent-foreground);
  box-shadow: var(--shadow-md), var(--shadow-glow);
  font-weight: 700;
}

.btn-accent:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-xl), 0 0 50px hsla(38, 92%, 50%, 0.4);
}

.btn-accent:active {
  transform: translateY(-1px);
}

.btn-outline {
  background-color: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
  box-shadow: var(--shadow-xs);
}

.btn-outline:hover {
  background-color: var(--primary);
  color: var(--primary-foreground);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-ghost {
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--primary-foreground);
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(10px);
}

.btn-ghost:hover {
  background-color: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.4);
}

.btn-xl {
  padding: 1.125rem 2.25rem;
  font-size: 1.0625rem;
  border-radius: var(--radius-lg);
}

.btn-block {
  width: 100%;
}

.btn .icon {
  transition: transform 0.3s ease;
}

.btn:hover .icon {
  transform: translateX(3px);
}

/* Section Styles */
.section {
  padding: 5rem 0;
  position: relative;
}

@media (min-width: 768px) {
  .section {
    padding: 7rem 0;
  }
}

@media (min-width: 1024px) {
  .section {
    padding: 9rem 0;
  }
}

.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
}

.section-eyebrow::before,
.section-eyebrow::after {
  content: '';
  width: 2rem;
  height: 2px;
  background: var(--gradient-accent);
  border-radius: 1px;
}

.section-title {
  font-size: 2rem;
  font-weight: 800;
  color: var(--foreground);
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

@media (min-width: 768px) {
  .section-title {
    font-size: 2.75rem;
  }
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--muted-foreground);
  max-width: 40rem;
  margin: 0 auto;
  line-height: 1.7;
}

/* ========================================
   HEADER - Glass Morphism
   ======================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background-color: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  transition: all 0.3s ease;
  border-bottom: 1px solid transparent;
}

.header.scrolled {
  background-color: rgba(255, 255, 255, 0.95);
  border-bottom-color: var(--border-light);
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 5rem;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  transition: opacity 0.2s ease;
}

.logo:hover {
  opacity: 0.9;
}

/* Logo Image */
.logo-image {
  height: 3rem;
  width: auto;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.logo:hover .logo-image {
  transform: scale(1.02);
}

@media (min-width: 640px) {
  .logo-image {
    height: 3.5rem;
  }
}

@media (min-width: 1024px) {
  .logo-image {
    height: 4rem;
  }
}

/* Keep old styles for fallback */
.logo-icon {
  width: 2.75rem;
  height: 2.75rem;
  background: var(--gradient-primary);
  border-radius: 0.625rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-foreground);
  font-weight: 800;
  font-size: 1.125rem;
  box-shadow: var(--shadow-md);
}

.logo-text {
  display: none;
}

@media (min-width: 640px) {
  .logo-text {
    display: block;
  }
}

.logo-title {
  display: block;
  font-weight: 800;
  font-size: 1.125rem;
  color: var(--primary);
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.logo-subtitle {
  display: block;
  font-size: 0.75rem;
  color: var(--muted-foreground);
  letter-spacing: 0.05em;
  font-weight: 500;
}

/* Desktop Navigation */
.nav-desktop {
  display: none;
  align-items: center;
  gap: 0.5rem;
}

@media (min-width: 1024px) {
  .nav-desktop {
    display: flex;
  }
}

.nav-link {
  position: relative;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--muted-foreground);
  padding: 0.5rem 1rem;
  border-radius: var(--radius);
  transition: all 0.2s ease;
}

.nav-link:hover {
  color: var(--primary);
  background-color: var(--muted);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0.25rem;
  left: 1rem;
  right: 1rem;
  height: 2px;
  background: var(--gradient-accent);
  border-radius: 1px;
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

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

/* Header CTA */
.header-cta {
  display: none;
  align-items: center;
  gap: 1.25rem;
}

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

.phone-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9375rem;
  color: var(--muted-foreground);
  font-weight: 600;
  transition: color 0.2s ease;
  padding: 0.5rem;
  border-radius: var(--radius);
}

.phone-link:hover {
  color: var(--primary);
  background-color: var(--muted);
}

.phone-link .icon {
  color: var(--accent);
}

/* Mobile Menu Button */
.mobile-menu-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  color: var(--foreground);
  background-color: var(--muted);
  border-radius: var(--radius);
  transition: all 0.2s ease;
}

.mobile-menu-btn:hover {
  background-color: var(--border);
}

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

.mobile-menu-btn .icon {
  width: 1.5rem;
  height: 1.5rem;
}

.mobile-menu-btn .close-icon {
  display: none;
}

.mobile-menu-btn.active .menu-icon {
  display: none;
}

.mobile-menu-btn.active .close-icon {
  display: block;
}

/* Mobile Menu */
.mobile-menu {
  display: none;
  background-color: var(--card);
  border-top: 1px solid var(--border);
  box-shadow: var(--shadow-xl);
}

@media (min-width: 1024px) {
  .mobile-menu {
    display: none !important;
  }
}

.mobile-menu.active {
  display: block;
}

.mobile-nav {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.mobile-nav-link {
  font-weight: 500;
  color: var(--foreground);
  padding: 0.875rem 1rem;
  border-radius: var(--radius);
  transition: all 0.2s ease;
}

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

.mobile-nav-footer {
  padding-top: 1.5rem;
  margin-top: 0.5rem;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* ========================================
   HERO SECTION - Immersive Design
   ======================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding-top: 5rem;
}

.hero-bg {
  position: absolute;
  inset: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.05);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    hsla(220, 65%, 12%, 0.92) 0%,
    hsla(220, 55%, 20%, 0.88) 50%,
    hsla(220, 50%, 25%, 0.85) 100%
  );
}

/* Animated gradient orbs */
.hero::before {
  content: '';
  position: absolute;
  top: 10%;
  right: 5%;
  width: 40vw;
  height: 40vw;
  max-width: 500px;
  max-height: 500px;
  background: radial-gradient(circle, hsla(38, 92%, 50%, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  animation: float 8s ease-in-out infinite;
  z-index: 1;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 20%;
  left: 0%;
  width: 30vw;
  height: 30vw;
  max-width: 400px;
  max-height: 400px;
  background: radial-gradient(circle, hsla(220, 90%, 60%, 0.1) 0%, transparent 70%);
  border-radius: 50%;
  animation: float 10s ease-in-out infinite reverse;
  z-index: 1;
}

@keyframes float {
  0%, 100% {
    transform: translateY(0) scale(1);
  }
  50% {
    transform: translateY(-30px) scale(1.05);
  }
}

.hero-content {
  position: relative;
  z-index: 10;
  max-width: 52rem;
  margin: 0 auto;
  text-align: center;
  padding: 4rem 0;
}

@media (min-width: 768px) {
  .hero-content {
    padding: 6rem 0;
  }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 9999px;
  padding: 0.625rem 1.25rem;
  margin-bottom: 2rem;
  animation: fadeInDown 0.8s ease-out;
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.badge-dot {
  width: 0.5rem;
  height: 0.5rem;
  background-color: var(--accent);
  border-radius: 50%;
  animation: pulse 2s infinite;
  box-shadow: 0 0 10px var(--accent);
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
    box-shadow: 0 0 10px var(--accent);
  }
  50% {
    opacity: 0.7;
    box-shadow: 0 0 20px var(--accent);
  }
}

.hero-badge span:last-child {
  font-size: 0.875rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.95);
  letter-spacing: 0.02em;
}

.hero-title {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--primary-foreground);
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
  animation: fadeInUp 0.8s ease-out 0.2s both;
}

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

@media (min-width: 640px) {
  .hero-title {
    font-size: 3.25rem;
  }
}

@media (min-width: 768px) {
  .hero-title {
    font-size: 4rem;
  }
}

@media (min-width: 1024px) {
  .hero-title {
    font-size: 4.5rem;
  }
}

.hero-title .text-accent {
  display: block;
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-description {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 2.5rem;
  max-width: 38rem;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.8;
  animation: fadeInUp 0.8s ease-out 0.4s both;
}

@media (min-width: 768px) {
  .hero-description {
    font-size: 1.25rem;
  }
}

.hero-benefits {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem 2rem;
  margin-bottom: 3rem;
  animation: fadeInUp 0.8s ease-out 0.6s both;
}

.benefit-item {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  background: rgba(255, 255, 255, 0.05);
  padding: 0.625rem 1rem;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.benefit-item .icon {
  color: var(--accent);
  filter: drop-shadow(0 0 3px var(--accent));
}

.benefit-item span {
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
}

.hero-ctas {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1rem;
  animation: fadeInUp 0.8s ease-out 0.8s both;
}

@media (min-width: 640px) {
  .hero-ctas {
    flex-direction: row;
    gap: 1.25rem;
  }
}

.hero-gradient {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 10rem;
  background: linear-gradient(to top, var(--background), transparent);
  pointer-events: none;
}

/* ========================================
   TRUST STRIP - Premium Design
   ======================================== */
.trust-strip {
  background: var(--gradient-primary);
  padding: 2.5rem 0;
  position: relative;
  overflow: hidden;
}

.trust-strip::before {
  content: '';
  position: absolute;
  inset: 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='%23ffffff' 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");
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  position: relative;
}

@media (min-width: 768px) {
  .trust-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
  }
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  padding: 0.75rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: all 0.3s ease;
}

.trust-item:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

.trust-item .icon {
  color: var(--accent);
  flex-shrink: 0;
  filter: drop-shadow(0 0 5px hsla(38, 92%, 50%, 0.5));
}

.trust-item span {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--primary-foreground);
}

@media (min-width: 768px) {
  .trust-item span {
    font-size: 0.9375rem;
  }
}

/* ========================================
   ABOUT SECTION - Split Layout
   ======================================== */
.about-section {
  background-color: var(--background);
  position: relative;
}

.about-section::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 40%;
  height: 100%;
  background: var(--gradient-glow);
  pointer-events: none;
}

.about-grid {
  display: grid;
  gap: 3rem;
  position: relative;
}

@media (min-width: 1024px) {
  .about-grid {
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
  }
}

.about-content .section-title {
  text-align: left;
  margin-bottom: 1.5rem;
}

.about-description {
  font-size: 1.125rem;
  color: var(--muted-foreground);
  line-height: 1.8;
  margin-bottom: 2.5rem;
}

.expectations-box {
  background: linear-gradient(135deg, var(--success-light) 0%, var(--cream) 100%);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  border: 1px solid rgba(16, 185, 129, 0.2);
}

@media (min-width: 768px) {
  .expectations-box {
    padding: 2.25rem;
  }
}

.expectations-box h3 {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--foreground);
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.expectations-box h3::before {
  content: '';
  width: 4px;
  height: 1.25rem;
  background: var(--success);
  border-radius: 2px;
}

.expectations-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.expectations-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.875rem;
}

.expectations-list .icon {
  color: var(--success);
  flex-shrink: 0;
  margin-top: 0.125rem;
}

.expectations-list span {
  color: var(--foreground);
  font-weight: 500;
}

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

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

.about-image-decoration {
  position: absolute;
  z-index: -1;
  bottom: -1.5rem;
  right: -1.5rem;
  width: 100%;
  height: 100%;
  background: var(--gradient-accent);
  border-radius: var(--radius-xl);
  opacity: 0.3;
}

/* Floating stats badge */
.about-stats {
  position: absolute;
  bottom: 2rem;
  left: -1rem;
  background: var(--card);
  padding: 1.25rem 1.75rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  display: flex;
  align-items: center;
  gap: 1rem;
}

@media (min-width: 1024px) {
  .about-stats {
    left: -2rem;
  }
}

.about-stats-icon {
  width: 3rem;
  height: 3rem;
  background: var(--gradient-accent);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-stats-icon svg {
  width: 1.5rem;
  height: 1.5rem;
  color: var(--accent-foreground);
}

.about-stats-text strong {
  display: block;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--foreground);
  line-height: 1;
}

.about-stats-text span {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

/* ========================================
   SERVICES SECTION - Card Grid
   ======================================== */
.services-section {
  background-color: var(--cream);
  position: relative;
}

.services-grid {
  display: grid;
  gap: 1.5rem;
}

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

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

.service-card {
  background-color: var(--card);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border-light);
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.service-card:hover {
  box-shadow: var(--shadow-xl);
  transform: translateY(-8px);
  border-color: transparent;
}

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

.service-icon {
  width: 4rem;
  height: 4rem;
  background: linear-gradient(135deg, var(--secondary) 0%, var(--muted) 100%);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  transition: all 0.4s ease;
}

.service-card:hover .service-icon {
  background: var(--gradient-primary);
  transform: scale(1.1) rotate(-5deg);
}

.service-icon svg {
  width: 2rem;
  height: 2rem;
  color: var(--primary);
  transition: color 0.4s ease;
}

.service-card:hover .service-icon svg {
  color: var(--primary-foreground);
}

.service-card h3 {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--foreground);
  margin-bottom: 0.75rem;
}

.service-card p {
  font-size: 0.9375rem;
  color: var(--muted-foreground);
  line-height: 1.7;
}

.services-cta {
  text-align: center;
  margin-top: 4rem;
  padding: 2.5rem;
  background: var(--card);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
}

.services-cta p {
  color: var(--muted-foreground);
  margin-bottom: 1.25rem;
  font-size: 1.125rem;
}

/* ========================================
   PACKAGE SECTION - Featured Offer
   ======================================== */
.package-section {
  background-color: var(--background);
  position: relative;
}

.package-grid {
  display: grid;
  gap: 2rem;
  align-items: start;
}

@media (min-width: 768px) {
  .package-grid {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
  }
}

@media (min-width: 1024px) {
  .package-grid {
    gap: 4rem;
  }
}

/* Package Image */
.package-image-wrapper {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-elevated);
}

.package-image {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 4/3;
  object-fit: cover;
}

.package-image-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: var(--gradient-accent);
  padding: 0.5rem 1rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
}

.badge-label {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent-foreground);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Package Details */
.package-details {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.package-card {
  background: var(--card);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--border-light);
}

.package-card-header {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 2px solid var(--border);
}

@media (min-width: 480px) {
  .package-card-header {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

.package-card-header h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
}

.package-price {
  display: flex;
  align-items: baseline;
  gap: 0.375rem;
}

.price-from {
  font-size: 0.9375rem;
  color: var(--muted-foreground);
  font-weight: 500;
}

.price-amount {
  font-size: 2rem;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: -0.02em;
}

.package-features {
  list-style: none;
  margin-bottom: 1.5rem;
}

.package-features li {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  padding: 0.75rem 0;
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--foreground);
  border-bottom: 1px solid var(--border-light);
}

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

.package-features li .icon {
  width: 1.5rem;
  height: 1.5rem;
  flex-shrink: 0;
}

.package-benefits {
  background: var(--cream);
  border-radius: var(--radius);
  padding: 1.25rem;
  margin-bottom: 1.5rem;
}

.package-benefits .benefit {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.9375rem;
  color: var(--muted-foreground);
  padding: 0.5rem 0;
}

.package-benefits .benefit .icon {
  width: 1.125rem;
  height: 1.125rem;
  flex-shrink: 0;
  margin-top: 0.1875rem;
}

.package-cta {
  font-size: 1rem;
  padding: 1rem 1.5rem;
}

/* Service Area */
.package-service-area {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem;
  background: var(--card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
}

.package-service-area > .icon {
  width: 1.5rem;
  height: 1.5rem;
  color: var(--accent);
  flex-shrink: 0;
  margin-top: 0.125rem;
}

.service-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--foreground);
  margin-bottom: 0.25rem;
}

.service-areas {
  font-size: 0.9375rem;
  color: var(--muted-foreground);
}

/* ========================================
   GALLERY SECTION - Masonry Style
   ======================================== */
.gallery-section {
  background-color: var(--background);
}

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

@media (min-width: 768px) {
  .gallery-grid {
    gap: 1.5rem;
  }
}

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

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

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    transparent 0%,
    rgba(0, 0, 0, 0.2) 50%,
    rgba(0, 0, 0, 0.7) 100%
  );
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.4s ease;
}

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

.gallery-overlay .icon {
  width: 3rem;
  height: 3rem;
  color: var(--primary-foreground);
  background: var(--gradient-accent);
  padding: 0.75rem;
  border-radius: 50%;
  transform: scale(0.8);
  transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-overlay .icon {
  transform: scale(1);
}

.gallery-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.25rem;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
  transform: translateY(100%);
  transition: transform 0.4s ease;
}

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

.gallery-category {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.gallery-caption h4 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--primary-foreground);
  margin-top: 0.25rem;
}

/* Lightbox */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 100;
  background-color: rgba(0, 0, 0, 0.95);
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  backdrop-filter: blur(10px);
}

.lightbox.active {
  display: flex;
}

.lightbox-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  width: 3rem;
  height: 3rem;
  padding: 0;
  color: var(--primary-foreground);
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.lightbox-close:hover {
  background: var(--accent);
  color: var(--accent-foreground);
  transform: rotate(90deg);
}

.lightbox-close svg {
  width: 1.5rem;
  height: 1.5rem;
}

.lightbox-content {
  max-width: 56rem;
  width: 100%;
}

.lightbox-content img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-2xl);
}

.lightbox-info {
  margin-top: 1.5rem;
  text-align: center;
}

.lightbox-category {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.lightbox-info h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-foreground);
  margin-top: 0.5rem;
}

.lightbox-info p {
  color: rgba(255, 255, 255, 0.7);
  margin-top: 0.5rem;
}

/* ========================================
   TESTIMONIALS SECTION
   ======================================== */
.testimonials-section {
  background: linear-gradient(180deg, var(--cream) 0%, var(--background) 100%);
}

.testimonials-grid {
  display: grid;
  gap: 1.5rem;
}

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

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

.testimonial-card {
  background-color: var(--card);
  border-radius: var(--radius-lg);
  padding: 0;
  box-shadow: var(--shadow-sm);
  position: relative;
  border: 1px solid var(--border-light);
  transition: all 0.3s ease;
  overflow: hidden;
}

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

/* Before/After Images in Testimonial */
.testimonial-images {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  background: var(--border);
  cursor: pointer;
}

.testimonial-images::after {
  content: 'Click to compare';
  position: absolute;
  bottom: 0.75rem;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.7);
  color: white;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.375rem 0.75rem;
  border-radius: 9999px;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.testimonial-images:hover::after {
  opacity: 1;
}

.testimonial-img-wrapper {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
}

.testimonial-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.testimonial-images:hover img {
  transform: scale(1.05);
}

.testimonial-img-label {
  position: absolute;
  bottom: 0.5rem;
  left: 0.5rem;
  background: rgba(0, 0, 0, 0.7);
  color: white;
  font-size: 0.625rem;
  font-weight: 700;
  padding: 0.25rem 0.5rem;
  border-radius: 0.25rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.testimonial-img-wrapper:last-child .testimonial-img-label {
  left: auto;
  right: 0.5rem;
}

.testimonial-content {
  padding: 1.5rem;
}

.testimonial-card.placeholder {
  border: 2px dashed var(--border);
  background: linear-gradient(135deg, var(--card) 0%, var(--muted) 100%);
  padding: 2rem;
}

.testimonial-card.placeholder .testimonial-content {
  padding: 0;
}

.testimonial-card.placeholder:hover {
  border-color: var(--accent);
}

.quote-icon {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  width: 2.5rem;
  height: 2.5rem;
  color: var(--accent);
  opacity: 0.3;
}

.stars {
  display: flex;
  gap: 0.25rem;
  margin-bottom: 1.25rem;
}

.stars svg {
  width: 1.125rem;
  height: 1.125rem;
}

.testimonial-card:not(.placeholder) .stars svg {
  fill: var(--accent);
  stroke: var(--accent);
  filter: drop-shadow(0 0 2px hsla(38, 92%, 50%, 0.5));
}

.testimonial-card.placeholder .stars svg {
  fill: var(--border);
  stroke: var(--border);
}

.testimonial-text {
  margin-bottom: 1.75rem;
  line-height: 1.8;
  font-size: 0.9375rem;
}

.testimonial-card:not(.placeholder) .testimonial-text {
  color: var(--foreground);
}

.testimonial-card.placeholder .testimonial-text {
  color: var(--muted-foreground);
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border-light);
}

.author-avatar {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 700;
}

.testimonial-card:not(.placeholder) .author-avatar {
  background: var(--gradient-primary);
  color: var(--primary-foreground);
}

.testimonial-card.placeholder .author-avatar {
  background-color: var(--muted);
  color: var(--muted-foreground);
}

.author-name {
  font-weight: 600;
  font-size: 0.9375rem;
}

.testimonial-card:not(.placeholder) .author-name {
  color: var(--foreground);
}

.testimonial-card.placeholder .author-name {
  color: var(--muted-foreground);
}

.author-location {
  font-size: 0.8125rem;
  color: var(--muted-foreground);
  margin-top: 0.125rem;
}

/* ========================================
   FAQ SECTION - Accordion
   ======================================== */
.faq-section {
  background-color: var(--background);
}

.faq-container {
  max-width: 48rem;
  margin: 0 auto;
}

.faq-item {
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  margin-bottom: 1rem;
  background: var(--card);
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-item:hover {
  border-color: var(--border);
}

.faq-item.active {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px hsla(38, 92%, 50%, 0.1);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem;
  text-align: left;
  font-weight: 600;
  font-size: 1rem;
  color: var(--foreground);
  transition: color 0.2s ease;
}

.faq-question:hover {
  color: var(--primary);
}

.faq-question span {
  flex: 1;
  padding-right: 1rem;
}

.faq-icon {
  width: 1.5rem;
  height: 1.5rem;
  flex-shrink: 0;
  color: var(--muted-foreground);
  transition: all 0.3s ease;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
  color: var(--accent);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item.active .faq-answer {
  max-height: 500px;
}

.faq-answer p {
  padding: 0 1.5rem 1.5rem;
  color: var(--muted-foreground);
  line-height: 1.8;
}

/* ========================================
   CONTACT SECTION - Split Layout
   ======================================== */
.contact-section {
  background: linear-gradient(180deg, var(--cream) 0%, var(--background) 100%);
}

.contact-grid {
  display: grid;
  gap: 3rem;
  max-width: 68rem;
  margin: 0 auto;
}

@media (min-width: 1024px) {
  .contact-grid {
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
  }
}

.contact-info h3 {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--foreground);
  margin-bottom: 1rem;
}

.contact-info > p {
  color: var(--muted-foreground);
  margin-bottom: 2.5rem;
  font-size: 1.0625rem;
  line-height: 1.7;
}

.contact-cards {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-card {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 1.25rem 1.5rem;
  background-color: var(--card);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  transition: all 0.3s ease;
}

a.contact-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateX(8px);
  border-color: var(--accent);
}

.contact-card-icon {
  width: 3.5rem;
  height: 3.5rem;
  background: linear-gradient(135deg, var(--secondary) 0%, var(--muted) 100%);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

a.contact-card:hover .contact-card-icon {
  background: var(--gradient-accent);
}

.contact-card-icon svg {
  width: 1.5rem;
  height: 1.5rem;
  color: var(--primary);
  transition: color 0.3s ease;
}

a.contact-card:hover .contact-card-icon svg {
  color: var(--accent-foreground);
}

.contact-card-label {
  display: block;
  font-size: 0.8125rem;
  color: var(--muted-foreground);
  margin-bottom: 0.125rem;
}

.contact-card-value {
  display: block;
  font-weight: 700;
  font-size: 1.0625rem;
  color: var(--foreground);
}

/* Contact Form */
.contact-form-wrapper {
  position: relative;
}

.contact-form {
  background-color: var(--card);
  border-radius: var(--radius-xl);
  padding: 2rem;
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--border-light);
}

@media (min-width: 768px) {
  .contact-form {
    padding: 2.5rem;
  }
}

.form-row {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 640px) {
  .form-row {
    grid-template-columns: 1fr 1fr;
  }
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--foreground);
  margin-bottom: 0.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.875rem 1.125rem;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  background-color: var(--background);
  color: var(--foreground);
  transition: all 0.2s ease;
  font-size: 1rem;
}

.form-group input:hover,
.form-group select:hover,
.form-group textarea:hover {
  border-color: var(--muted-foreground);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px hsla(38, 92%, 50%, 0.15);
}

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

.form-group textarea {
  min-height: 140px;
  resize: none;
}

.form-group select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 1.25rem;
  padding-right: 3rem;
}

/* File Upload */
.file-upload {
  position: relative;
}

.file-upload input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}

.file-upload-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.875rem;
  padding: 1.5rem;
  border: 2px dashed var(--border);
  border-radius: var(--radius);
  transition: all 0.2s ease;
  background: var(--muted);
}

.file-upload:hover .file-upload-content {
  border-color: var(--accent);
  background: hsla(38, 92%, 50%, 0.05);
}

.file-upload-content .icon {
  color: var(--muted-foreground);
  width: 1.5rem;
  height: 1.5rem;
}

.file-upload-content span {
  font-size: 0.9375rem;
  color: var(--muted-foreground);
}

.form-note {
  font-size: 0.8125rem;
  color: var(--muted-foreground);
  margin-bottom: 1.5rem;
}

/* Form Success */
.form-success {
  display: none;
  text-align: center;
  padding: 4rem 2rem;
}

.form-success.active {
  display: block;
}

.contact-form-wrapper.submitted .contact-form {
  display: none;
}

.contact-form-wrapper.submitted .form-success {
  display: block;
  background-color: var(--card);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
}

.success-icon {
  width: 5rem;
  height: 5rem;
  background: linear-gradient(135deg, var(--success-light) 0%, var(--cream) 100%);
  border: 2px solid var(--success);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}

.success-icon svg {
  width: 2.5rem;
  height: 2.5rem;
  color: var(--success);
}

.form-success h3 {
  font-size: 2rem;
  font-weight: 800;
  color: var(--foreground);
  margin-bottom: 1rem;
}

.form-success p {
  font-size: 1.125rem;
  color: var(--muted-foreground);
  margin-bottom: 2rem;
  max-width: 24rem;
  margin-left: auto;
  margin-right: auto;
}

/* ========================================
   FOOTER - Premium Design
   ======================================== */
.footer {
  background: var(--gradient-primary);
  color: var(--primary-foreground);
  position: relative;
  overflow: hidden;
}

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

.footer::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 40%;
  height: 60%;
  background: radial-gradient(circle at bottom right, rgba(255,255,255,0.03) 0%, transparent 70%);
  pointer-events: none;
}

.footer-grid {
  display: grid;
  gap: 2.5rem;
  padding: 4rem 0;
  position: relative;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    padding: 5rem 0;
  }
}

@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr;
  }
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  margin-bottom: 1.25rem;
}

.footer-logo-image {
  height: 4.5rem;
  width: auto;
  object-fit: contain;
  border-radius: 0.5rem;
  background: white;
  padding: 0.5rem;
  transition: transform 0.3s ease;
}

.footer-logo-image:hover {
  transform: scale(1.02);
}

@media (min-width: 768px) {
  .footer-logo-image {
    height: 5.5rem;
  }
}

.footer-logo .logo-icon {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.footer-logo .logo-title {
  color: var(--primary-foreground);
  font-size: 1.25rem;
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 1.5rem;
  max-width: 28rem;
  line-height: 1.7;
}

.footer-location {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9375rem;
  background: rgba(255, 255, 255, 0.05);
  padding: 0.75rem 1rem;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-location .icon {
  color: var(--accent);
}

.footer-links h4,
.footer-contact h4 {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  color: var(--primary-foreground);
}

.footer-links ul {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0;
}

.footer-links a:hover {
  color: var(--accent);
  transform: translateX(4px);
}

.footer-contact ul {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
}

.footer-contact a {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: rgba(255, 255, 255, 0.7);
  transition: all 0.2s ease;
  padding: 0.25rem 0;
}

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

.footer-contact .icon {
  color: var(--accent);
  opacity: 0.8;
}

.social-links {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.social-links a {
  width: 2.75rem;
  height: 2.75rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.social-links a:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--accent-foreground);
  transform: translateY(-3px);
}

.social-links svg {
  width: 1.25rem;
  height: 1.25rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1.5rem 0;
  position: relative;
}

.footer-bottom p {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.5);
  text-align: center;
}

/* ========================================
   ANIMATIONS
   ======================================== */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  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-fade-up {
  animation: fadeUp 0.6s ease-out forwards;
}

.animate-fade-in {
  animation: fadeIn 0.5s ease-out forwards;
}

/* Scroll Reveal Classes */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.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; }

/* ========================================
   UTILITY CLASSES
   ======================================== */
.text-balance {
  text-wrap: balance;
}

.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;
}

/* Selection */
::selection {
  background: hsla(38, 92%, 50%, 0.3);
  color: var(--foreground);
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}

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

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

::-webkit-scrollbar-thumb:hover {
  background: var(--muted-foreground);
}

/* Focus Visible */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

button:focus-visible,
a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* ========================================
   BEFORE/AFTER COMPARISON MODAL
   ======================================== */
.ba-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(0, 0, 0, 0.95);
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  backdrop-filter: blur(10px);
}

.ba-modal.active {
  display: flex;
}

.ba-modal-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  width: 3rem;
  height: 3rem;
  padding: 0;
  color: white;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 10;
}

.ba-modal-close:hover {
  background: var(--accent);
  color: var(--accent-foreground);
  transform: rotate(90deg);
}

.ba-modal-close svg {
  width: 1.5rem;
  height: 1.5rem;
}

.ba-modal-content {
  max-width: 900px;
  width: 100%;
}

.ba-comparison {
  position: relative;
  width: 100%;
  aspect-ratio: 16/10;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-2xl);
  user-select: none;
}

.ba-image {
  position: absolute;
  inset: 0;
}

.ba-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ba-image-before {
  z-index: 1;
  clip-path: inset(0 50% 0 0);
}

.ba-image-after {
  z-index: 0;
}

.ba-label {
  position: absolute;
  bottom: 1rem;
  background: rgba(0, 0, 0, 0.7);
  color: white;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.ba-image-before .ba-label {
  left: 1rem;
}

.ba-image-after .ba-label {
  right: 1rem;
}

.ba-slider {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 4px;
  z-index: 10;
  cursor: ew-resize;
  transform: translateX(-50%);
}

.ba-slider-line {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 4px;
  background: white;
  transform: translateX(-50%);
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.ba-slider-handle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 3rem;
  height: 3rem;
  background: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  cursor: ew-resize;
}

.ba-slider-handle svg {
  width: 1rem;
  height: 1rem;
  color: var(--primary);
}

.ba-slider-handle svg:first-child {
  margin-right: -0.25rem;
}

.ba-slider-handle svg:last-child {
  margin-left: -0.25rem;
}

.ba-info {
  text-align: center;
  margin-top: 1.5rem;
  color: white;
}

.ba-info h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.ba-info p {
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.7);
}

/* Drag instruction */
.ba-comparison::before {
  content: 'Drag to compare';
  position: absolute;
  top: 1rem;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.7);
  color: white;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  z-index: 20;
  opacity: 1;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.ba-comparison.dragging::before {
  opacity: 0;
}

@media (max-width: 640px) {
  .ba-comparison {
    aspect-ratio: 4/3;
  }
  
  .ba-slider-handle {
    width: 2.5rem;
    height: 2.5rem;
  }
  
  .ba-slider-handle svg {
    width: 0.875rem;
    height: 0.875rem;
  }
}
