@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&family=Lato:wght@300;400;700&display=swap');

:root {
  --primary: #2D81BE;
  --primary-rgb: 45,129,190;
  --secondary: #955223;
  --secondary-rgb: 149,82,35;
  --accent: #4F5CE8;
  --accent-rgb: 79,92,232;
  --bg: #FAF8F5;
  --bg-alt: #F0ECE6;
  --text: #2C2520;
  --text-muted: #6B6055;
  --section-dark: #2C2520;
  --section-accent: #EDE6DD;
  --white: #ffffff;
  --border: #DDD5CC;
  --radius: 10px;
  --radius-lg: 16px;
  --radius-pill: 999px;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 20px rgba(0,0,0,0.08);
  --shadow-lg: 0 12px 32px rgba(0,0,0,0.12);
  --shadow-xl: 0 20px 40px rgba(0,0,0,0.15);
  --transition: 0.3s ease;
  --transition-slow: 0.5s ease;
  --bounce: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  --font-primary: 'Poppins', sans-serif;
  --font-secondary: 'Lato', sans-serif;
  --space-xs: 10px;
  --space-sm: 20px;
  --space-md: 30px;
  --space-lg: 40px;
  --space-xl: 60px;
  --space-xxl: 80px;
}

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

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

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

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

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

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-primary);
  font-weight: 700;
  line-height: 1.25;
  color: var(--text);
  margin-bottom: 0.5em;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.125rem; }
h6 { font-size: 1rem; }

p {
  margin-bottom: 1em;
  color: var(--text);
}

ul, ol {
  padding-left: 1.5em;
}

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

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

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

@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes pulseGlow {
  0%, 100% { box-shadow: 0 0 8px rgba(var(--primary-rgb), 0.3); }
  50% { box-shadow: 0 0 22px rgba(var(--primary-rgb), 0.55); }
}

.container {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 var(--space-sm);
}

.row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
}

.grid {
  display: grid;
  gap: var(--space-md);
}

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

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}

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

.grid-asymmetric {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: var(--space-md);
}

.grid-asymmetric-reverse {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: var(--space-md);
}

.text-center { text-align: center; }
.text-muted { color: var(--text-muted); }

.navbar {
  position: fixed;
  top: 1rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
  padding: 0.75rem 2rem;
  background: rgba(250, 248, 245, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: var(--radius-pill);
  box-shadow: 0 4px 24px rgba(0,0,0,0.08);
  display: flex;
  align-items: center;
  gap: 2rem;
  max-width: 90%;
  transition: all var(--transition);
}

.navbar.scrolled {
  background: rgba(250, 248, 245, 0.97);
  padding: 0.6rem 1.75rem;
  box-shadow: 0 6px 30px rgba(0,0,0,0.12);
}

.navbar .logo {
  font-family: var(--font-primary);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text);
  white-space: nowrap;
  transition: color var(--transition);
}

.navbar .logo:hover {
  color: var(--primary);
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 0.25rem;
  align-items: center;
  margin: 0;
  padding: 0;
}

.nav-item {
  list-style: none;
}

.nav-link {
  font-family: var(--font-primary);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-pill);
  transition: all var(--transition);
  white-space: nowrap;
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary);
  background: rgba(45, 129, 190, 0.08);
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--text);
  cursor: pointer;
  padding: 0.25rem;
  line-height: 1;
  z-index: 1001;
}

.mobile-overlay {
  position: fixed;
  inset: 0;
  background: rgba(44, 37, 32, 0.97);
  z-index: 999;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

body.menu-open .mobile-overlay {
  opacity: 1;
  visibility: visible;
}

.mobile-overlay .nav-link {
  font-size: 1.5rem;
  color: var(--white);
  padding: 0.75rem 2rem;
}

.mobile-overlay .nav-link:hover {
  color: var(--primary);
  background: rgba(255,255,255,0.05);
}

body.menu-open {
  overflow: hidden;
}

main {
  padding-top: 100px;
}

.hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  padding: var(--space-xxl) 0;
  overflow: hidden;
  background: linear-gradient(160deg, var(--bg) 0%, var(--bg-alt) 40%, var(--bg) 100%);
}

.hero::before {
  content: '';
  position: absolute;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(var(--primary-rgb), 0.12) 0%, transparent 70%);
  top: -80px;
  right: -60px;
  z-index: 0;
  animation: float 7s ease-in-out infinite;
}

.hero::after {
  content: '';
  position: absolute;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(var(--accent-rgb), 0.09) 0%, transparent 70%);
  bottom: -40px;
  left: -40px;
  z-index: 0;
  animation: float 9s ease-in-out infinite reverse;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 600px;
}

.hero-content h1 {
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 0.75em;
  color: var(--text);
}

.hero-content p {
  font-size: 1.125rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
  line-height: 1.7;
}

.hero-cards {
  position: relative;
  z-index: 2;
  display: grid;
  gap: var(--space-sm);
}

.hero-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: var(--space-md);
  box-shadow: var(--shadow-md);
  transform: rotate(-1deg);
  transition: transform var(--bounce), box-shadow var(--transition);
}

.hero-card:nth-child(2) {
  transform: rotate(1.5deg) translateY(-10px);
  margin-left: 30px;
}

.hero-card:nth-child(3) {
  transform: rotate(-0.5deg) translateY(-5px);
}

.hero-card:hover {
  transform: rotate(0deg) translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: center;
}

.header-hero {
  position: relative;
  padding: var(--space-xl) 0 var(--space-lg);
  background: linear-gradient(160deg, var(--section-dark) 0%, #3a302a 100%);
  color: var(--white);
  text-align: center;
  overflow: hidden;
}

.header-hero::before {
  content: '';
  position: absolute;
  width: 350px;
  height: 350px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(var(--primary-rgb), 0.1) 0%, transparent 70%);
  top: -120px;
  right: -80px;
  animation: float 8s ease-in-out infinite;
}

.header-hero h1 {
  color: var(--white);
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  margin-bottom: 0.5em;
}

.header-hero p {
  color: rgba(255,255,255,0.75);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

.content-section {
  padding: var(--space-xl) 0;
  position: relative;
}

.content-section:nth-child(even) {
  background: var(--bg-alt);
}

.section-dark {
  background: var(--section-dark);
  color: var(--white);
  padding: var(--space-xl) 0;
}

.section-dark h2,
.section-dark h3,
.section-dark h4 {
  color: var(--white);
}

.section-dark p {
  color: rgba(255,255,255,0.8);
}

.section-dark a {
  color: rgba(var(--primary-rgb), 0.9);
}

.section-dark a:hover {
  color: var(--white);
}

.section-accent {
  background: var(--section-accent);
  padding: var(--space-xl) 0;
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto var(--space-lg);
}

.section-header h2 {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  margin-bottom: 0.5em;
  position: relative;
}

.section-header p {
  color: var(--text-muted);
  font-size: 1.05rem;
}

.section-angled {
  position: relative;
  padding: var(--space-xxl) 0;
  clip-path: polygon(0 4%, 100% 0, 100% 96%, 0 100%);
  margin-top: -2rem;
  margin-bottom: -2rem;
}

.section-angled-alt {
  position: relative;
  padding: var(--space-xxl) 0;
  clip-path: polygon(0 0, 100% 4%, 100% 100%, 0 96%);
  margin-top: -2rem;
  margin-bottom: -2rem;
}

.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--bounce), box-shadow var(--transition);
}

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

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

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

.card-body {
  padding: var(--space-sm);
}

.card-body h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5em;
}

.card-body p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.feature {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: var(--space-md);
  box-shadow: var(--shadow-sm);
  transition: transform var(--bounce), box-shadow var(--transition);
  text-align: center;
}

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

.feature-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.1), rgba(var(--accent-rgb), 0.08));
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-sm);
  font-size: 1.5rem;
  color: var(--primary);
  transition: background var(--transition);
}

.feature:hover .feature-icon {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: var(--white);
}

.feature h3 {
  font-size: 1.15rem;
  margin-bottom: 0.5em;
}

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

.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: var(--space-md);
  box-shadow: var(--shadow-sm);
  border-left: 4px solid var(--secondary);
  position: relative;
  transition: transform var(--transition), box-shadow var(--transition);
}

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

.testimonial-card::before {
  content: '\201C';
  font-family: Georgia, serif;
  font-size: 4rem;
  color: rgba(var(--accent-rgb), 0.15);
  position: absolute;
  top: 10px;
  left: 20px;
  line-height: 1;
}

.testimonial-card p {
  font-style: italic;
  color: var(--text);
  margin-bottom: 1em;
  position: relative;
  z-index: 1;
}

.testimonial-card .author {
  font-family: var(--font-primary);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--primary);
  font-style: normal;
}

.testimonial-card .author span {
  display: block;
  font-weight: 400;
  color: var(--text-muted);
  font-size: 0.85rem;
}

.testimonials-slider {
  position: relative;
  overflow: hidden;
}

.testimonials-track {
  display: flex;
  transition: transform 0.5s ease;
}

.testimonials-track .testimonial-card {
  min-width: 100%;
  flex-shrink: 0;
  margin: 0 var(--space-xs);
}

.slider-controls {
  display: flex;
  justify-content: center;
  gap: var(--space-sm);
  margin-top: var(--space-md);
}

.slider-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid var(--border);
  background: var(--white);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
  color: var(--text);
  font-size: 1rem;
}

.slider-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: rgba(var(--primary-rgb), 0.05);
}

.slider-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: var(--space-sm);
}

.slider-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--border);
  border: none;
  cursor: pointer;
  transition: all var(--transition);
}

.slider-dot.active {
  background: var(--primary);
  transform: scale(1.2);
}

.pricing-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: var(--space-lg) var(--space-md);
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 2px solid transparent;
  transition: transform var(--bounce), box-shadow var(--transition), border-color var(--transition);
  position: relative;
}

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

.pricing-card.featured {
  border-color: var(--primary);
  transform: scale(1.03);
}

.pricing-card.featured::before {
  content: 'Most Popular';
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: var(--white);
  font-family: var(--font-primary);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.3rem 1.25rem;
  border-radius: var(--radius-pill);
}

.pricing-card .price {
  font-family: var(--font-primary);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--text);
  margin: var(--space-sm) 0;
}

.pricing-card .price span {
  font-size: 1rem;
  font-weight: 400;
  color: var(--text-muted);
}

.pricing-card ul {
  list-style: none;
  padding: 0;
  margin: var(--space-sm) 0 var(--space-md);
  text-align: left;
}

.pricing-card li {
  padding: 0.6rem 0;
  border-bottom: 1px solid rgba(0,0,0,0.05);
  font-size: 0.95rem;
  color: var(--text-muted);
  padding-left: 1.5em;
  position: relative;
}

.pricing-card li::before {
  content: '\2713';
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: 700;
}

.two-col-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
  align-items: center;
}

.two-col-layout.reverse {
  direction: rtl;
}

.two-col-layout.reverse > * {
  direction: ltr;
}

.two-col-layout img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  transition: transform var(--transition-slow);
  width: 100%;
  object-fit: cover;
}

.two-col-layout img:hover {
  transform: scale(1.03);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  font-family: var(--font-primary);
  font-size: 0.95rem;
  font-weight: 600;
  padding: 0.8rem 1.8rem;
  border-radius: 8px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  line-height: 1.2;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: var(--white);
  border-color: transparent;
  position: relative;
  overflow: hidden;
}

.btn-primary::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  transform: translate(-50%, -50%);
  transition: width 0.5s ease, height 0.5s ease;
}

.btn-primary:active::after {
  width: 300px;
  height: 300px;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(var(--primary-rgb), 0.35);
}

.btn-secondary {
  background: var(--secondary);
  color: var(--white);
  border-color: var(--secondary);
}

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

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

.btn-outline:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(var(--primary-rgb), 0.25);
}

.btn-lg {
  padding: 1rem 2.5rem;
  font-size: 1.05rem;
  border-radius: 10px;
}

.contact-form {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  box-shadow: var(--shadow-md);
}

.form-group {
  margin-bottom: var(--space-sm);
}

.form-group label {
  display: block;
  font-family: var(--font-primary);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 0.4em;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.85rem 1rem;
  font-family: var(--font-secondary);
  font-size: 1rem;
  color: var(--text);
  background: var(--bg);
  border: 2px solid var(--border);
  border-radius: 8px;
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
}

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

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

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

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-sm);
}

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

.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 0;
}

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 0;
  background: none;
  border: none;
  font-family: var(--font-primary);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  text-align: left;
  transition: color var(--transition);
}

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

.faq-question::after {
  content: '+';
  font-size: 1.4rem;
  font-weight: 300;
  color: var(--primary);
  transition: transform var(--transition);
  flex-shrink: 0;
  margin-left: 1rem;
}

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

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

.faq-item.active .faq-answer {
  max-height: 500px;
  padding-bottom: 1.25rem;
}

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

.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-md);
  text-align: center;
  padding: var(--space-lg) 0;
}

.stat-item {
  padding: var(--space-sm);
}

.stat-number {
  font-family: var(--font-primary);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 0.3em;
}

.stat-label {
  font-size: 0.9rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.section-dark .stat-number {
  color: var(--white);
}

.section-dark .stat-label {
  color: rgba(255,255,255,0.65);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.3em;
  padding: 0.35rem 0.9rem;
  font-family: var(--font-primary);
  font-size: 0.78rem;
  font-weight: 600;
  border-radius: var(--radius-pill);
  background: rgba(var(--primary-rgb), 0.1);
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.badge-secondary {
  background: rgba(var(--secondary-rgb), 0.1);
  color: var(--secondary);
}

.badge-accent {
  background: rgba(var(--accent-rgb), 0.1);
  color: var(--accent);
}

.trust-bar {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: var(--space-md);
  padding: var(--space-md) 0;
  border-top: 1px solid rgba(0,0,0,0.06);
  border-bottom: 1px solid rgba(0,0,0,0.06);
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.5em;
  font-family: var(--font-primary);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-muted);
}

.trust-item i {
  color: var(--primary);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--space-sm);
}

.gallery-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4/3;
}

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

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

.gallery-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.4) 0%, transparent 50%);
  opacity: 0;
  transition: opacity var(--transition);
}

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

.before-after-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-sm);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.before-after-container img {
  width: 100%;
  height: 300px;
  object-fit: cover;
}

.before-after-label {
  font-family: var(--font-primary);
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.5rem;
  text-align: center;
}

.cta-section {
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  padding: var(--space-xl) 0;
  text-align: center;
  color: var(--white);
  position: relative;
  overflow: hidden;
}

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

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

.cta-section h2 {
  color: var(--white);
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  margin-bottom: 0.5em;
  position: relative;
  z-index: 1;
}

.cta-section p {
  color: rgba(255,255,255,0.85);
  font-size: 1.1rem;
  max-width: 550px;
  margin: 0 auto 2rem;
  position: relative;
  z-index: 1;
}

.cta-section .btn {
  position: relative;
  z-index: 1;
}

.cta-section .btn-primary {
  background: var(--white);
  color: var(--primary);
}

.cta-section .btn-primary:hover {
  box-shadow: 0 8px 30px rgba(0,0,0,0.2);
}

.timeline {
  position: relative;
  padding: var(--space-md) 0;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--border);
  transform: translateX(-50%);
}

.timeline-item {
  display: flex;
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
  position: relative;
}

.timeline-item:nth-child(even) {
  flex-direction: row-reverse;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 20px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--primary);
  border: 3px solid var(--bg);
  transform: translateX(-50%);
  z-index: 1;
}

.timeline-content {
  width: 45%;
  background: var(--white);
  border-radius: var(--radius);
  padding: var(--space-sm);
  box-shadow: var(--shadow-sm);
}

footer.footer-mega {
  background: var(--section-dark);
  color: rgba(255,255,255,0.75);
  padding: var(--space-xl) 0 var(--space-sm);
}

footer.footer-mega .footer-grid {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: var(--space-lg);
  margin-bottom: var(--space-lg);
}

footer.footer-mega .footer-brand {
  padding-right: var(--space-md);
}

footer.footer-mega .footer-brand .logo {
  font-family: var(--font-primary);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--white);
  display: inline-block;
  margin-bottom: 1em;
}

footer.footer-mega .footer-brand p {
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
  line-height: 1.7;
}

footer.footer-mega .footer-column h4 {
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 1.25rem;
  font-weight: 600;
}

footer.footer-mega .footer-column ul {
  list-style: none;
  padding: 0;
}

footer.footer-mega .footer-column li {
  margin-bottom: 0.65rem;
}

footer.footer-mega .footer-column a {
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
  transition: color var(--transition);
}

footer.footer-mega .footer-column a:hover {
  color: var(--white);
}

footer.footer-mega .footer-social {
  display: flex;
  gap: 0.75rem;
  margin-top: var(--space-sm);
}

footer.footer-mega .footer-social a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.6);
  transition: all var(--transition);
  font-size: 0.9rem;
}

footer.footer-mega .footer-social a:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--white);
}

footer.footer-mega .footer-copyright {
  text-align: center;
  padding-top: var(--space-md);
  border-top: 1px solid rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.45);
  font-size: 0.85rem;
}

.section-divider {
  display: block;
  width: 100%;
  height: auto;
  margin: -1px 0;
  line-height: 0;
}

.section-divider svg {
  display: block;
  width: 100%;
  height: 60px;
}

.section-divider.flip {
  transform: scaleY(-1);
}

[data-animate] {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

[data-animate].visible {
  opacity: 1;
  transform: translateY(0);
}

[data-animate="fade-in"] {
  transform: none;
}

[data-animate="fade-in"].visible {
  opacity: 1;
}

[data-animate="slide-left"] {
  transform: translateX(-30px);
}

[data-animate="slide-left"].visible {
  opacity: 1;
  transform: translateX(0);
}

[data-animate="slide-right"] {
  transform: translateX(30px);
}

[data-animate="slide-right"].visible {
  opacity: 1;
  transform: translateX(0);
}

[data-animate="scale-up"] {
  transform: scale(0.92);
}

[data-animate="scale-up"].visible {
  opacity: 1;
  transform: scale(1);
}

[data-stagger] > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

[data-stagger] > *.visible {
  opacity: 1;
  transform: translateY(0);
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5em;
  font-size: 0.85rem;
  color: var(--text-muted);
  padding: var(--space-sm) 0;
}

.breadcrumb a {
  color: var(--text-muted);
}

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

.breadcrumb .sep {
  color: var(--border);
}

.alert {
  padding: 1rem 1.25rem;
  border-radius: 8px;
  font-size: 0.95rem;
  margin-bottom: var(--space-sm);
}

.alert-success {
  background: #ecfdf5;
  color: #065f46;
  border: 1px solid #a7f3d0;
}

.alert-info {
  background: #eff6ff;
  color: #1e40af;
  border: 1px solid #bfdbfe;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tag {
  padding: 0.3rem 0.75rem;
  background: var(--bg-alt);
  border-radius: var(--radius-pill);
  font-size: 0.8rem;
  color: var(--text-muted);
  font-family: var(--font-primary);
  font-weight: 500;
  transition: all var(--transition);
}

.tag:hover {
  background: rgba(var(--primary-rgb), 0.1);
  color: var(--primary);
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--space-md);
  counter-reset: step;
}

.process-step {
  text-align: center;
  padding: var(--space-md);
  position: relative;
  counter-increment: step;
}

.process-step::before {
  content: counter(step);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: var(--white);
  font-family: var(--font-primary);
  font-size: 1.2rem;
  font-weight: 700;
  margin: 0 auto var(--space-sm);
}

.process-step h3 {
  font-size: 1.1rem;
  margin-bottom: 0.4em;
}

.process-step p {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.location-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}

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

.location-card .map-embed {
  width: 100%;
  height: 200px;
  border: none;
}

.location-card .location-info {
  padding: var(--space-sm);
}

.location-card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.3em;
}

.location-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 0.4em;
}

.event-card {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: var(--space-sm);
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: var(--space-sm);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}

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

.event-date {
  text-align: center;
  padding: var(--space-xs);
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-radius: var(--radius);
  color: var(--white);
}

.event-date .month {
  font-family: var(--font-primary);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.event-date .day {
  font-family: var(--font-primary);
  font-size: 1.75rem;
  font-weight: 800;
  line-height: 1;
}

.resource-card {
  display: flex;
  gap: var(--space-sm);
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: var(--space-sm);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
  align-items: flex-start;
}

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

.resource-card .resource-icon {
  width: 50px;
  height: 50px;
  border-radius: var(--radius);
  background: rgba(var(--primary-rgb), 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--primary);
  font-size: 1.3rem;
}

.table-wrapper {
  overflow-x: auto;
  border-radius: var(--radius);
}

table {
  width: 100%;
  border-collapse: collapse;
}

table th {
  background: var(--section-dark);
  color: var(--white);
  font-family: var(--font-primary);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 1rem;
  text-align: left;
}

table td {
  padding: 0.85rem 1rem;
  border-bottom: 1px solid rgba(0,0,0,0.06);
  font-size: 0.9rem;
  color: var(--text);
}

table tr:hover td {
  background: rgba(var(--primary-rgb), 0.03);
}

.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition);
  z-index: 50;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background: var(--accent);
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

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

@media screen and (max-width: 1280px) {
  .hero .container {
    gap: var(--space-lg);
  }

  footer.footer-mega .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media screen and (max-width: 1024px) {
  .hero .container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-content {
    max-width: 100%;
  }

  .hero-cards {
    max-width: 500px;
    margin: 0 auto;
  }

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

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

  .two-col-layout {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }

  .two-col-layout.reverse {
    direction: ltr;
  }

  .grid-asymmetric,
  .grid-asymmetric-reverse {
    grid-template-columns: 1fr;
  }

  .timeline::before {
    left: 20px;
  }

  .timeline-item,
  .timeline-item:nth-child(even) {
    flex-direction: row;
    padding-left: 50px;
  }

  .timeline-item::before {
    left: 20px;
  }

  .timeline-content {
    width: 100%;
  }
}

@media screen and (max-width: 768px) {
  main {
    padding-top: 80px;
  }

  .navbar {
    top: 0.5rem;
    padding: 0.65rem 1.25rem;
    border-radius: var(--radius-pill);
    max-width: 95%;
  }

  .nav-menu {
    display: none;
  }

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

  .hero {
    min-height: auto;
    padding: var(--space-xl) 0 var(--space-lg);
  }

  h1 { font-size: 2rem; }
  h2 { font-size: 1.5rem; }
  h3 { font-size: 1.25rem; }

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

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

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

  .stats-row {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-sm);
  }

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

  .form-row {
    grid-template-columns: 1fr;
  }

  .content-section {
    padding: var(--space-lg) 0;
  }

  .section-angled,
  .section-angled-alt {
    clip-path: none;
    margin: 0;
  }

  .pricing-card.featured {
    transform: none;
  }

  footer.footer-mega .footer-grid {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }

  .hero-card:nth-child(2) {
    margin-left: 0;
  }

  .before-after-container {
    grid-template-columns: 1fr;
  }

  .event-card {
    grid-template-columns: 70px 1fr;
  }

  .header-hero {
    padding: var(--space-lg) 0 var(--space-md);
  }

  .cta-section {
    padding: var(--space-lg) 0;
  }

  .gallery-grid {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  }
}

@media screen and (max-width: 480px) {
  body {
    font-size: 0.95rem;
  }

  .container {
    padding: 0 var(--space-xs);
  }

  .navbar {
    padding: 0.5rem 1rem;
  }

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

  .btn {
    padding: 0.7rem 1.4rem;
    font-size: 0.9rem;
  }

  .btn-lg {
    padding: 0.85rem 2rem;
    font-size: 0.95rem;
  }

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

  .contact-form {
    padding: var(--space-sm);
  }

  .pricing-card {
    padding: var(--space-md) var(--space-sm);
  }

  .process-steps {
    grid-template-columns: 1fr;
  }

  .trust-bar {
    flex-direction: column;
    align-items: center;
  }

  .slider-controls {
    gap: var(--space-xs);
  }

  .resource-card {
    flex-direction: column;
  }
}

@media print {
  .navbar,
  .mobile-menu-toggle,
  .mobile-overlay,
  .back-to-top,
  .slider-controls,
  .slider-dots {
    display: none !important;
  }

  body {
    background: white;
    color: black;
  }

  main {
    padding-top: 0;
  }

  .card, .feature, .testimonial-card {
    box-shadow: none;
    border: 1px solid #ddd;
  }
}
