/* ============================================
   Lumina Aesthetics & Wellness
   Clean Clinical Luxury Design System
   ============================================ */

/* --- CSS Custom Properties --- */
:root {
  --sage: #8B9E8B;
  --sage-light: #A8B8A8;
  --sage-dark: #6B7E6B;
  --cream: #FDFBF7;
  --blush: #E8C4C4;
  --blush-light: #F2DEDE;
  --blush-dark: #D4A8A8;
  --charcoal: #2D2D2D;
  --charcoal-light: #4A4A4A;
  --white: #FFFFFF;
  --off-white: #F8F6F2;
  --border: rgba(139, 158, 139, 0.15);
  --shadow-sm: 0 2px 8px rgba(45, 45, 45, 0.04);
  --shadow-md: 0 4px 20px rgba(45, 45, 45, 0.06);
  --shadow-lg: 0 8px 40px rgba(45, 45, 45, 0.08);
  --shadow-lift: 0 12px 48px rgba(45, 45, 45, 0.12);
  --radius: 16px;
  --radius-sm: 12px;
  --radius-lg: 24px;
  --radius-full: 9999px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  --font-heading: 'DM Serif Display', Georgia, serif;
  --font-body: 'DM Sans', -apple-system, sans-serif;
  --section-padding: 80px;
  --container-max: 1200px;
}

@media (min-width: 1024px) {
  :root {
    --section-padding: 120px;
  }
}

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

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

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--charcoal);
  background-color: var(--cream);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

button {
  font-family: var(--font-body);
  cursor: pointer;
  border: none;
  background: none;
}

ul, ol {
  list-style: none;
}

/* --- Typography --- */
h1, h2, h3, h4, h5 {
  font-family: var(--font-heading);
  font-weight: 400;
  line-height: 1.2;
  color: var(--charcoal);
}

h1 {
  font-size: clamp(2.4rem, 5vw, 4rem);
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: -0.01em;
}

h3 {
  font-size: clamp(1.4rem, 2.5vw, 1.75rem);
}

h4 {
  font-size: 1.25rem;
}

p {
  color: var(--charcoal-light);
  max-width: 65ch;
}

.text-sage {
  color: var(--sage);
}

.text-blush {
  color: var(--blush-dark);
}

.label {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sage);
  display: inline-block;
  margin-bottom: 12px;
}

/* --- Layout --- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

@media (min-width: 768px) {
  .container {
    padding: 0 40px;
  }
}

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

.section--cream {
  background: var(--cream);
}

.section--white {
  background: var(--white);
}

.section--sage {
  background: linear-gradient(135deg, var(--sage) 0%, var(--sage-light) 100%);
  color: var(--white);
}

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

.section--sage p,
.section--sage .label {
  color: rgba(255, 255, 255, 0.85);
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 60px;
}

.section-header p {
  margin: 16px auto 0;
  font-size: 1.1rem;
}

/* --- SVG Wave Dividers --- */
.wave-divider {
  position: relative;
  width: 100%;
  overflow: hidden;
  line-height: 0;
  margin-top: -1px;
}

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

@media (min-width: 768px) {
  .wave-divider svg {
    height: 80px;
  }
}

.wave-divider--cream svg path {
  fill: var(--cream);
}

.wave-divider--white svg path {
  fill: var(--white);
}

.wave-divider--sage svg path {
  fill: var(--sage);
}

.wave-divider--flip {
  transform: scaleY(-1);
  margin-top: 0;
  margin-bottom: -1px;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 36px;
  font-size: 0.95rem;
  font-weight: 500;
  border-radius: var(--radius-full);
  transition: var(--transition);
  white-space: nowrap;
}

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

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

.btn--outline {
  border: 1.5px solid var(--sage);
  color: var(--sage);
  background: transparent;
}

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

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

.btn--white:hover {
  background: var(--cream);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn--blush {
  background: var(--blush);
  color: var(--charcoal);
}

.btn--blush:hover {
  background: var(--blush-dark);
  color: var(--white);
  transform: translateY(-2px);
}

.btn--sm {
  padding: 12px 24px;
  font-size: 0.875rem;
}

.btn--lg {
  padding: 20px 48px;
  font-size: 1.05rem;
}

/* --- Header / Navigation --- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 20px 0;
  transition: var(--transition);
}

.header.scrolled {
  background: rgba(253, 251, 247, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 14px 0;
  box-shadow: var(--shadow-sm);
}

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

.logo {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--charcoal);
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 1001;
}

.logo-icon {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--sage) 0%, var(--sage-light) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1rem;
}

.nav-desktop {
  display: none;
  align-items: center;
  gap: 36px;
}

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

.nav-desktop a {
  font-size: 0.95rem;
  font-weight: 400;
  color: var(--charcoal-light);
  position: relative;
}

.nav-desktop a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--sage);
  transition: var(--transition);
}

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

.nav-desktop a:hover,
.nav-desktop a.active {
  color: var(--charcoal);
}

.nav-cta {
  display: none;
}

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

/* Hamburger */
.hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  z-index: 1001;
}

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

.hamburger span {
  width: 24px;
  height: 2px;
  background: var(--charcoal);
  border-radius: 2px;
  transition: var(--transition);
  transform-origin: center;
}

.hamburger.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

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

.hamburger.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Nav Overlay */
.nav-mobile {
  position: fixed;
  inset: 0;
  background: rgba(253, 251, 247, 0.98);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-slow);
}

.nav-mobile.active {
  opacity: 1;
  visibility: visible;
}

.nav-mobile-inner {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.nav-mobile a {
  font-family: var(--font-heading);
  font-size: 2rem;
  color: var(--charcoal);
  display: block;
  transform: translateY(20px);
  opacity: 0;
  transition: var(--transition-slow);
}

.nav-mobile.active a {
  transform: translateY(0);
  opacity: 1;
}

.nav-mobile.active a:nth-child(1) { transition-delay: 0.1s; }
.nav-mobile.active a:nth-child(2) { transition-delay: 0.15s; }
.nav-mobile.active a:nth-child(3) { transition-delay: 0.2s; }
.nav-mobile.active a:nth-child(4) { transition-delay: 0.25s; }
.nav-mobile.active a:nth-child(5) { transition-delay: 0.3s; }

.nav-mobile a:hover {
  color: var(--sage);
}

.nav-mobile .btn {
  margin-top: 16px;
  transform: translateY(20px);
  opacity: 0;
  transition: var(--transition-slow);
  transition-delay: 0.35s;
}

.nav-mobile.active .btn {
  transform: translateY(0);
  opacity: 1;
}

/* --- Hero --- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg,
    rgba(139, 158, 139, 0.08) 0%,
    var(--cream) 60%,
    var(--white) 100%
  );
  padding: 140px 24px 100px;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -30%;
  width: 80%;
  height: 80%;
  background: radial-gradient(circle, rgba(232, 196, 196, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -20%;
  width: 60%;
  height: 60%;
  background: radial-gradient(circle, rgba(139, 158, 139, 0.1) 0%, transparent 70%);
  pointer-events: none;
}

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

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  background: rgba(139, 158, 139, 0.1);
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--sage-dark);
  margin-bottom: 28px;
}

.hero-badge::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--sage);
  border-radius: 50%;
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.hero h1 {
  margin-bottom: 24px;
}

.hero p {
  font-size: 1.15rem;
  margin: 0 auto 40px;
  max-width: 560px;
  color: var(--charcoal-light);
}

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

.hero-image-row {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 60px;
  position: relative;
  z-index: 2;
}

.hero-img-card {
  width: 200px;
  height: 260px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  flex-shrink: 0;
}

.hero-img-card:nth-child(2) {
  transform: translateY(-20px);
}

.hero-img-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 640px) {
  .hero-img-card {
    width: 140px;
    height: 180px;
  }
  .hero-img-card:nth-child(3) {
    display: none;
  }
}

/* --- Service Cards Grid --- */
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

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

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

.service-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
}

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

.service-card-img {
  width: 100%;
  height: 220px;
  overflow: hidden;
}

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

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

.service-card-body {
  padding: 28px;
}

.service-card-body h3 {
  margin-bottom: 10px;
  font-size: 1.3rem;
}

.service-card-body p {
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 16px;
}

.service-card-link {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--sage);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.service-card-link svg {
  transition: var(--transition);
}

.service-card-link:hover svg {
  transform: translateX(4px);
}

/* --- Stats Bar --- */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  text-align: center;
  padding: 60px 0;
}

@media (min-width: 768px) {
  .stats-bar {
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
  }
}

.stat-item h3 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  color: var(--sage);
  margin-bottom: 4px;
}

.stat-item p {
  font-size: 0.9rem;
  margin: 0 auto;
}

/* --- Testimonials Horizontal Scroll --- */
.testimonials-scroll {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding: 20px 24px 40px;
  scrollbar-width: none;
}

.testimonials-scroll::-webkit-scrollbar {
  display: none;
}

.testimonial-card {
  min-width: 320px;
  max-width: 400px;
  flex-shrink: 0;
  scroll-snap-align: start;
  background: var(--white);
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
}

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

.testimonial-card blockquote {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--charcoal-light);
  flex: 1;
  font-style: italic;
  margin-bottom: 20px;
}

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

.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--sage-light), var(--blush-light));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--white);
}

.testimonial-name {
  font-weight: 500;
  font-size: 0.95rem;
}

.testimonial-role {
  font-size: 0.8rem;
  color: var(--sage);
}

/* --- Before/After Results --- */
.results-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

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

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

.result-card {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
}

.result-comparison {
  display: grid;
  grid-template-columns: 1fr 1fr;
  height: 240px;
  position: relative;
}

.result-comparison img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.result-comparison .result-label {
  position: absolute;
  bottom: 10px;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.result-label--before {
  left: 10px;
  background: rgba(45, 45, 45, 0.7);
  color: var(--white);
}

.result-label--after {
  right: 10px;
  background: rgba(139, 158, 139, 0.9);
  color: var(--white);
}

.result-comparison .divider {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 100%;
  background: var(--white);
}

.result-info {
  padding: 20px 24px;
}

.result-info h4 {
  font-size: 1.1rem;
  margin-bottom: 4px;
}

.result-info p {
  font-size: 0.85rem;
  color: var(--sage);
}

/* --- CTA Section --- */
.cta-section {
  text-align: center;
  padding: var(--section-padding) 24px;
}

.cta-section h2 {
  color: var(--white);
  margin-bottom: 16px;
}

.cta-section p {
  margin: 0 auto 36px;
  font-size: 1.1rem;
}

.cta-section .btn {
  margin: 0 8px;
}

/* --- About Page --- */
.about-hero {
  padding: 160px 0 80px;
  text-align: center;
  background: linear-gradient(180deg, rgba(139, 158, 139, 0.06) 0%, var(--cream) 100%);
}

.about-story {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
}

@media (min-width: 768px) {
  .about-story {
    grid-template-columns: 1fr 1fr;
    gap: 80px;
  }
}

.about-story-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4/5;
}

.about-story-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-story-text h2 {
  margin-bottom: 20px;
}

.about-story-text p {
  margin-bottom: 16px;
}

.about-story-text p:last-of-type {
  margin-bottom: 32px;
}

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

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

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

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

.team-card-img {
  width: 100%;
  aspect-ratio: 3/4;
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 20px;
  box-shadow: var(--shadow-sm);
}

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

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

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

.team-card .team-role {
  color: var(--sage);
  font-size: 0.9rem;
  margin-bottom: 8px;
}

.team-card p {
  font-size: 0.9rem;
  max-width: 320px;
  margin: 0 auto;
}

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

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

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

.value-card {
  text-align: center;
  padding: 40px 24px;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  transition: var(--transition);
}

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

.value-icon {
  width: 64px;
  height: 64px;
  background: rgba(139, 158, 139, 0.1);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 1.5rem;
}

.value-card h4 {
  margin-bottom: 8px;
}

.value-card p {
  font-size: 0.9rem;
  margin: 0 auto;
}

/* Credentials */
.credentials-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
  margin-top: 40px;
}

.credential-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  font-weight: 500;
}

/* --- Services Page --- */
.services-hero {
  padding: 160px 0 80px;
  text-align: center;
  background: linear-gradient(180deg, rgba(139, 158, 139, 0.06) 0%, var(--cream) 100%);
}

.service-category {
  margin-bottom: 80px;
}

.service-category:last-child {
  margin-bottom: 0;
}

.service-category-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 32px;
}

.service-category-icon {
  width: 48px;
  height: 48px;
  background: rgba(139, 158, 139, 0.1);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.service-detail-card {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: var(--transition);
  display: grid;
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .service-detail-card {
    grid-template-columns: 300px 1fr;
  }
}

.service-detail-card:hover {
  box-shadow: var(--shadow-md);
}

.service-detail-card + .service-detail-card {
  margin-top: 20px;
}

.service-detail-img {
  height: 220px;
  overflow: hidden;
}

@media (min-width: 768px) {
  .service-detail-img {
    height: auto;
  }
}

.service-detail-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-detail-body {
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.service-detail-body h3 {
  margin-bottom: 12px;
}

.service-detail-body p {
  margin-bottom: 16px;
  font-size: 0.95rem;
}

.service-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 20px;
}

.service-meta-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  color: var(--sage);
}

.service-meta-item svg {
  width: 16px;
  height: 16px;
}

.service-price {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--sage);
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(139, 158, 139, 0.2);
}

/* --- Contact Page --- */
.contact-hero {
  padding: 160px 0 80px;
  text-align: center;
  background: linear-gradient(180deg, rgba(139, 158, 139, 0.06) 0%, var(--cream) 100%);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
}

@media (min-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr 1fr;
    gap: 80px;
  }
}

/* Contact form */
.contact-form {
  background: var(--white);
  border-radius: var(--radius);
  padding: 40px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
}

.form-group {
  position: relative;
  margin-bottom: 24px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 18px 20px 8px;
  font-size: 1rem;
  font-family: var(--font-body);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--cream);
  color: var(--charcoal);
  transition: var(--transition);
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--sage);
  background: var(--white);
}

.form-group label {
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.95rem;
  color: var(--charcoal-light);
  pointer-events: none;
  transition: var(--transition);
}

.form-group textarea ~ label {
  top: 18px;
  transform: none;
}

.form-group input:focus ~ label,
.form-group input:not(:placeholder-shown) ~ label,
.form-group select:focus ~ label,
.form-group select:valid ~ label,
.form-group textarea:focus ~ label,
.form-group textarea:not(:placeholder-shown) ~ label {
  top: 8px;
  transform: none;
  font-size: 0.75rem;
  color: var(--sage);
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
  padding-top: 24px;
}

.form-group select {
  appearance: none;
  padding-top: 22px;
  cursor: pointer;
}

.form-group .select-arrow {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  color: var(--charcoal-light);
}

.form-error {
  font-size: 0.8rem;
  color: #c44;
  margin-top: 4px;
  display: none;
}

.form-group.error input,
.form-group.error textarea {
  border-color: #c44;
}

.form-group.error .form-error {
  display: block;
}

.form-success {
  display: none;
  text-align: center;
  padding: 40px 20px;
}

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

.form-success-icon {
  width: 64px;
  height: 64px;
  background: rgba(139, 158, 139, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-size: 1.5rem;
}

/* Contact info sidebar */
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.contact-info-item {
  display: flex;
  gap: 16px;
}

.contact-info-icon {
  width: 48px;
  height: 48px;
  background: rgba(139, 158, 139, 0.1);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--sage);
}

.contact-info-item h4 {
  margin-bottom: 4px;
  font-size: 1.05rem;
}

.contact-info-item p {
  font-size: 0.95rem;
}

.contact-info-item a {
  color: var(--sage);
}

.contact-info-item a:hover {
  color: var(--sage-dark);
}

.contact-map {
  border-radius: var(--radius);
  overflow: hidden;
  height: 280px;
  background: var(--off-white);
  border: 1px solid var(--border);
  position: relative;
}

.contact-map img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hours-table {
  width: 100%;
}

.hours-table tr {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
}

.hours-table tr:last-child {
  border-bottom: none;
}

.hours-table td {
  font-size: 0.95rem;
}

.hours-table td:first-child {
  font-weight: 500;
}

.hours-table td:last-child {
  color: var(--charcoal-light);
}

/* --- Footer --- */
.footer {
  background: var(--charcoal);
  color: rgba(255, 255, 255, 0.7);
  padding: 80px 0 32px;
}

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

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

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

.footer-brand .logo {
  color: var(--white);
  margin-bottom: 16px;
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
  max-width: 300px;
  margin-bottom: 20px;
}

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

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

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

.footer-column h4 {
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 20px;
}

.footer-column a {
  display: block;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 12px;
}

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

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
  text-align: center;
  font-size: 0.85rem;
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
  }
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.6);
}

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

/* --- Scroll Reveal --- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1), transform 0.6s 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; }

/* --- Misc --- */
.text-center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-40 { margin-top: 40px; }
.mb-0 { margin-bottom: 0; }

/* Back to top */
.back-to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 48px;
  height: 48px;
  background: var(--sage);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  z-index: 900;
}

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

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

/* Page transition */
.page-transition {
  animation: fadeInPage 0.5s ease-out;
}

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

/* Floating shapes (decorative) */
.floating-shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.05;
  pointer-events: none;
}

.floating-shape--1 {
  width: 400px;
  height: 400px;
  background: var(--sage);
  top: 10%;
  right: -100px;
}

.floating-shape--2 {
  width: 300px;
  height: 300px;
  background: var(--blush);
  bottom: 10%;
  left: -80px;
}

/* ========================================================
   MOBILE OVERHAUL — Stunning, conversion-focused
   ======================================================== */
@media (max-width: 768px) {

  /* --- HERO: Dramatic full-screen presence --- */
  .hero {
    min-height: 100svh;
    padding: 120px 20px 60px;
  }
  .hero h1 {
    font-size: clamp(2.6rem, 9vw, 3.5rem);
    line-height: 1.08;
    letter-spacing: -0.03em;
    margin-bottom: 20px;
  }
  .hero p {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 32px;
  }
  .hero-badge {
    font-size: 0.75rem;
    padding: 6px 16px;
    margin-bottom: 20px;
  }
  .hero-buttons {
    flex-direction: column;
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
  }
  .hero-buttons .btn {
    width: 100%;
    justify-content: center;
    padding: 18px 32px;
    font-size: 0.95rem;
  }
  .hero-buttons .btn--primary {
    box-shadow: 0 4px 24px rgba(139, 158, 139, 0.3);
  }
  .hero-image-row {
    margin-top: 40px;
    gap: 12px;
  }
  .hero-img-card {
    width: 46%;
    height: 200px;
    border-radius: var(--radius);
  }
  .hero-img-card:nth-child(2) {
    transform: translateY(-12px);
  }
  .hero-img-card:nth-child(3) {
    display: none;
  }

  /* --- SECTIONS: Tighter, punchier --- */
  .section {
    padding: 64px 0;
  }
  .container {
    padding: 0 20px;
  }
  .section-header {
    margin-bottom: 40px;
  }
  .section-header h2 {
    font-size: clamp(1.8rem, 6vw, 2.5rem);
    line-height: 1.15;
  }
  .section-header p {
    font-size: 0.95rem;
  }

  /* --- STATS: Big bold numbers --- */
  .stats-bar {
    gap: 24px;
    padding: 40px 0;
  }
  .stat-item h3 {
    font-size: clamp(2.2rem, 7vw, 3rem);
  }
  .stat-item p {
    font-size: 0.8rem;
  }

  /* --- SERVICE CARDS: Full-width, taller images --- */
  .services-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .service-card {
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
  }
  .service-card-img {
    height: 200px;
  }
  .service-card-body {
    padding: 24px;
  }
  .service-card-body h3 {
    font-size: 1.2rem;
  }

  /* --- TESTIMONIALS: Swipeable, dramatic --- */
  .testimonials-scroll {
    padding: 16px 20px 32px;
    gap: 16px;
  }
  .testimonial-card {
    min-width: 290px;
    max-width: 320px;
    padding: 28px;
    border-radius: var(--radius);
  }
  .testimonial-card blockquote {
    font-size: 0.95rem;
  }

  /* --- RESULTS: Side-by-side before/after --- */
  .results-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .result-comparison {
    height: 220px;
  }
  .result-info h4 {
    font-size: 1.05rem;
  }

  /* --- CTA: Conversion-focused --- */
  .cta-section {
    padding: 64px 20px;
  }
  .cta-section h2 {
    font-size: clamp(1.8rem, 6vw, 2.5rem);
    line-height: 1.15;
    margin-bottom: 12px;
  }
  .cta-section p {
    font-size: 0.95rem;
    margin-bottom: 28px;
  }
  .cta-section .btn {
    width: 100%;
    max-width: 300px;
    padding: 18px 32px;
  }
  .cta-section .btn--white {
    box-shadow: 0 4px 20px rgba(255, 255, 255, 0.15);
  }

  /* --- VALUES / PROCESS: Clean stack --- */
  .values-grid {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }
  .value-card {
    padding: 28px 16px;
  }
  .value-icon {
    width: 52px;
    height: 52px;
    font-size: 1.25rem;
    margin-bottom: 14px;
  }
  .value-card h4 {
    font-size: 1.05rem;
  }
  .value-card p {
    font-size: 0.85rem;
  }

  /* --- TEAM: 2-col grid --- */
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  .team-card-img {
    aspect-ratio: 3/4;
    border-radius: var(--radius-sm);
    margin-bottom: 14px;
  }
  .team-card h3 {
    font-size: 1.1rem;
  }

  /* --- CONTACT: Clean form --- */
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .contact-form {
    padding: 28px 24px;
    border-radius: var(--radius);
  }

  /* --- FOOTER: Compact --- */
  .footer {
    padding: 60px 0 24px;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    margin-bottom: 40px;
  }
  .footer-brand {
    grid-column: 1 / -1;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 12px;
  }

  /* --- WAVE DIVIDERS: Shorter on mobile --- */
  .wave-divider svg {
    height: 40px;
  }

  /* --- NAV: Clean --- */
  .header .container {
    padding: 0 20px;
  }

  /* --- ABOUT PAGE --- */
  .about-hero {
    padding: 140px 0 60px;
  }
  .about-hero h1 {
    font-size: clamp(2.2rem, 8vw, 3rem);
  }
  .about-story {
    gap: 32px;
  }
  .about-story-img {
    aspect-ratio: 16/10;
    border-radius: var(--radius);
  }

  /* --- SERVICES PAGE --- */
  .services-hero {
    padding: 140px 0 60px;
  }
  .services-hero h1 {
    font-size: clamp(2.2rem, 8vw, 3rem);
  }
  .service-detail-card {
    grid-template-columns: 1fr;
  }
  .service-detail-img {
    height: 200px;
  }
  .service-category {
    margin-bottom: 48px;
  }

  /* --- CONTACT PAGE --- */
  .contact-hero {
    padding: 140px 0 60px;
  }
  .contact-hero h1 {
    font-size: clamp(2.2rem, 8vw, 3rem);
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: clamp(2.2rem, 8.5vw, 2.8rem);
  }
  .stats-bar {
    grid-template-columns: repeat(2, 1fr);
  }
  .values-grid {
    grid-template-columns: 1fr;
  }
  .team-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .hero-img-card {
    width: 48%;
    height: 170px;
  }
}

/* --- Back-to-top mobile offset for CTA bar --- */
@media (max-width: 768px) {
    .back-to-top {
        bottom: 80px; /* Above the mobile CTA bar */
    }
}

/* --- Mobile Sticky CTA --- */
.mobile-cta-bar {
    display: none;
}

@media (max-width: 768px) {
    .mobile-cta-bar {
        display: block;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        padding: 12px 16px;
        padding-bottom: calc(12px + env(safe-area-inset-bottom, 0px));
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        border-top: 1px solid rgba(139, 158, 139, 0.2);
        z-index: 999;
    }
    .mobile-cta-btn {
        display: block;
        width: 100%;
        padding: 14px;
        background: var(--sage);
        color: white;
        text-align: center;
        text-decoration: none;
        border-radius: 9999px;
        font-weight: 600;
        font-size: 0.95rem;
        letter-spacing: 0.02em;
    }
    /* Add bottom padding to body so content isn't hidden behind the bar */
    body {
        padding-bottom: 72px;
    }
}

/* --- Form Error States --- */
.form-field.error input,
.form-field.error select,
.form-field.error textarea {
    border-color: #c53030;
    box-shadow: 0 0 0 3px rgba(197, 48, 48, 0.1);
}

.form-error-msg {
    color: #c53030;
    font-size: 0.8rem;
    margin-top: 4px;
}

/* --- Accessibility Focus Styles --- */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 2px solid var(--sage);
    outline-offset: 3px;
}

/* Prefers reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
}
