/* ============================================
   L'INSTANT ZEN - Main Stylesheet
   Professional Spa & Massage Website
   ============================================ */

/* --- CSS Variables --- */
:root {
  --primary: #00546d;
  --primary-dark: #003d4f;
  --primary-light: #007a9a;
  --accent: #13aff0;
  --accent-light: #5cc8f5;
  --secondary: #826e7b;
  --secondary-light: #a8939f;
  --white: #ffffff;
  --off-white: #f8f6f4;
  --cream: #faf9f7;
  --gray-100: #f5f5f5;
  --gray-200: #e8e8e8;
  --gray-300: #d1d1d1;
  --gray-400: #9e9e9e;
  --gray-500: #6e6e6e;
  --gray-600: #4a4a4a;
  --gray-700: #333333;
  --black: #1a1a1a;
  --gold: #c8a96e;
  --gold-light: #dfc69a;
  --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 8px 40px rgba(0, 0, 0, 0.12);
  --shadow-xl: 0 16px 60px rgba(0, 0, 0, 0.15);
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 30px;
  --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: 'Playfair Display', Georgia, serif;
  --font-body: 'Lato', -apple-system, BlinkMacSystemFont, sans-serif;
  --container-width: 1200px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  scroll-padding-top: 80px;
}

/* GPU acceleration hints for animated elements */
.hero, .service-card, .pro-card, .gallery-item,
.product-card, .offer-card, .energy-element {
  transform: translateZ(0);
  backface-visibility: hidden;
}

body {
  font-family: var(--font-body);
  color: var(--gray-700);
  line-height: 1.7;
  background: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

ul, ol {
  list-style: none;
}

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

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

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

h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.8rem); }
h4 { font-size: clamp(1.1rem, 2vw, 1.4rem); }

p {
  margin-bottom: 1rem;
  color: var(--gray-600);
}

/* --- Container --- */
.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 2rem;
}

/* --- Section Base --- */
.section {
  padding: 6rem 0;
}

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

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

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

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

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

.section-header h2 {
  margin-bottom: 1rem;
  position: relative;
  display: inline-block;
}

.section-header h2::after {
  content: '';
  position: absolute;
  bottom: -12px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--secondary));
  border-radius: 2px;
}

.section-header p {
  font-size: 1.15rem;
  max-width: 600px;
  margin: 1.5rem auto 0;
  color: var(--gray-500);
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  border-radius: var(--radius-xl);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

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

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

.btn--primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: var(--white);
  box-shadow: 0 4px 15px rgba(0, 84, 109, 0.3);
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(0, 84, 109, 0.4);
}

.btn--accent {
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  color: var(--white);
  box-shadow: 0 4px 15px rgba(19, 175, 240, 0.3);
}

.btn--accent:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(19, 175, 240, 0.4);
}

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

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

.btn--white {
  background: var(--white);
  color: var(--primary);
  box-shadow: var(--shadow-md);
}

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

.btn--sm {
  padding: 0.6rem 1.5rem;
  font-size: 0.85rem;
}

.btn--lg {
  padding: 1.1rem 2.8rem;
  font-size: 1.05rem;
}

/* ============================================
   HEADER & NAVIGATION
   ============================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  transition: all var(--transition);
  border-bottom: 1px solid transparent;
}

.header.scrolled {
  background: rgba(255, 255, 255, 0.98);
  border-bottom: 1px solid var(--gray-200);
  box-shadow: var(--shadow-sm);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.8rem 2rem;
  max-width: 1400px;
  margin: 0 auto;
}

.header__logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  z-index: 1001;
}

.header__logo-icon {
  width: 45px;
  height: 45px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.3rem;
}

.header__logo-text {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--primary);
}

.header__logo-text span {
  display: block;
  font-size: 0.7rem;
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--secondary);
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav__link {
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--gray-600);
  border-radius: var(--radius-sm);
  transition: all var(--transition);
  position: relative;
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--accent);
  border-radius: 1px;
  transition: width var(--transition);
}

.nav__link:hover,
.nav__link.active {
  color: var(--primary);
}

.nav__link:hover::after,
.nav__link.active::after {
  width: 60%;
}

.nav__dropdown {
  position: relative;
}

.nav__dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.nav__dropdown-toggle svg {
  width: 12px;
  height: 12px;
  transition: transform var(--transition);
}

.nav__dropdown:hover .nav__dropdown-toggle svg {
  transform: rotate(180deg);
}

.nav__dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 200px;
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 0.5rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all var(--transition);
}

.nav__dropdown:hover .nav__dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav__dropdown-menu a {
  display: block;
  padding: 0.6rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  color: var(--gray-600);
}

.nav__dropdown-menu a:hover {
  background: var(--off-white);
  color: var(--primary);
}

.nav__cart {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.5rem 1rem;
  color: var(--primary);
  font-weight: 600;
  font-size: 0.9rem;
}

.nav__cart-badge {
  position: absolute;
  top: 0;
  right: 0;
  width: 18px;
  height: 18px;
  background: var(--accent);
  color: var(--white);
  font-size: 0.65rem;
  font-weight: 700;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Account Icon */
.nav__account {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.5rem 1rem;
  color: var(--gray-400);
  font-weight: 600;
  font-size: 0.9rem;
  transition: color var(--transition);
}

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

.nav__account svg {
  width: 20px;
  height: 20px;
}

.nav__account-dot {
  position: absolute;
  top: 4px;
  right: 6px;
  width: 8px;
  height: 8px;
  background: #27ae60;
  border-radius: 50%;
  border: 2px solid var(--white);
  display: none;
}

.nav__account.logged-in {
  color: var(--primary);
}

.nav__account.logged-in .nav__account-dot {
  display: block;
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 0.5rem;
  z-index: 1001;
}

.menu-toggle span {
  width: 24px;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
  transition: all var(--transition);
}

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

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

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

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, var(--primary-light) 100%);
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__bg-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.25;
}

.hero__bg-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(0, 61, 79, 0.85) 0%,
    rgba(0, 84, 109, 0.7) 50%,
    rgba(0, 122, 154, 0.6) 100%
  );
}

.hero__particles {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 1;
}

.hero__particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  animation: float-particle 15s infinite linear;
}

@keyframes float-particle {
  0% { transform: translateY(100vh) rotate(0deg) scale(0); opacity: 0; }
  5% { opacity: 0.6; transform: translateY(90vh) rotate(36deg) scale(1); }
  50% { opacity: 0.8; }
  95% { opacity: 0.2; }
  100% { transform: translateY(-10vh) rotate(720deg) scale(0.5); opacity: 0; }
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  padding: 8rem 0 4rem;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 0.5rem 1.2rem;
  border-radius: var(--radius-xl);
  color: var(--white);
  font-size: 0.85rem;
  margin-bottom: 2rem;
  animation: fadeInUp 0.8s ease-out;
}

.hero__title {
  color: var(--white);
  font-size: clamp(2.5rem, 6vw, 4.2rem);
  margin-bottom: 1.5rem;
  line-height: 1.15;
  animation: fadeInUp 0.8s ease-out 0.2s backwards;
}

.hero__title em {
  font-style: italic;
  color: var(--accent-light);
}

.hero__subtitle {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.2rem;
  line-height: 1.8;
  margin-bottom: 2.5rem;
  animation: fadeInUp 0.8s ease-out 0.4s backwards;
}

.hero__actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  animation: fadeInUp 0.8s ease-out 0.6s backwards;
}

.hero__scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  animation: fadeInUp 0.8s ease-out 0.8s backwards;
}

.hero__scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.6), transparent);
  animation: scrollBounce 2s infinite;
}

@keyframes scrollBounce {
  0%, 100% { transform: scaleY(1); transform-origin: top; }
  50% { transform: scaleY(0.5); transform-origin: top; }
}

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

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* ============================================
   INTRO / ABOUT SECTION
   ============================================ */
.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about__image {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.about__image img {
  width: 100%;
  height: 450px;
  object-fit: cover;
  border-radius: var(--radius-lg);
}

.about__image-accent {
  position: absolute;
  top: -15px;
  left: -15px;
  width: 100px;
  height: 100px;
  border: 3px solid var(--accent);
  border-radius: var(--radius-lg);
  z-index: -1;
}

.about__content h2 {
  margin-bottom: 1.5rem;
}

.about__content p {
  font-size: 1.05rem;
  margin-bottom: 1.2rem;
}

.about__features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 2rem;
}

.about__feature {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem;
  background: var(--off-white);
  border-radius: var(--radius-md);
}

.about__feature-icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1rem;
}

.about__feature span {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--gray-700);
}

/* ============================================
   SERVICES / MASSAGE CARDS
   ============================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 2rem;
}

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

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

.service-card__image {
  position: relative;
  height: 220px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
}

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

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

.service-card__image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.4), transparent);
}

.service-card__tag {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  padding: 0.3rem 0.8rem;
  border-radius: var(--radius-xl);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--primary);
}

.service-card__body {
  padding: 1.5rem;
}

.service-card__title {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  color: var(--primary);
}

.service-card__subtitle {
  font-size: 0.9rem;
  color: var(--accent);
  font-weight: 600;
  font-style: italic;
  margin-bottom: 0.75rem;
}

.service-card__desc {
  font-size: 0.95rem;
  color: var(--gray-500);
  margin-bottom: 1.25rem;
  line-height: 1.6;
}

.service-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  border-top: 1px solid var(--gray-200);
}

.service-card__price {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary);
}

.service-card__price small {
  font-size: 0.8rem;
  font-weight: 400;
  color: var(--gray-400);
}

/* Compact service cards (for listing) */
.service-card--compact {
  display: flex;
  flex-direction: row;
  align-items: stretch;
}

.service-card--compact .service-card__image {
  width: 180px;
  height: auto;
  min-height: 160px;
  flex-shrink: 0;
}

.service-card--compact .service-card__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Icon-only cards (no images) */
.service-card--icon {
  text-align: center;
  padding: 2rem 1.5rem;
}

.service-card--icon .service-card__icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 1.5rem;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: var(--white);
  transition: transform var(--transition);
}

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

/* ============================================
   MASSAGE DUO SECTION
   ============================================ */
.duo {
  position: relative;
  overflow: hidden;
}

.duo__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.duo__content h2 {
  margin-bottom: 1.5rem;
}

.duo__content p {
  font-size: 1.05rem;
}

.duo__occasions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 1.5rem 0;
}

.duo__occasion {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 1rem;
  background: var(--off-white);
  border-radius: var(--radius-xl);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--primary);
  border: 1px solid var(--gray-200);
}

/* ============================================
   PROFESSIONALISM SECTION
   ============================================ */
.pro-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.pro-card {
  text-align: center;
  padding: 2.5rem 1.5rem;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
  border: 1px solid var(--gray-200);
}

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

.pro-card__icon {
  width: 65px;
  height: 65px;
  margin: 0 auto 1.5rem;
  background: linear-gradient(135deg, rgba(0, 84, 109, 0.1), rgba(19, 175, 240, 0.1));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: var(--primary);
}

.pro-card h4 {
  margin-bottom: 0.75rem;
}

.pro-card p {
  font-size: 0.9rem;
}

/* ============================================
   FORMATIONS / CERTIFICATIONS
   ============================================ */
.cert-timeline {
  position: relative;
  max-width: 700px;
  margin: 0 auto;
  padding-left: 3rem;
}

.cert-timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--accent), var(--secondary));
}

.cert-item {
  position: relative;
  padding: 1.5rem 0;
}

.cert-item::before {
  content: '';
  position: absolute;
  left: -3rem;
  top: 2rem;
  width: 12px;
  height: 12px;
  background: var(--accent);
  border: 3px solid var(--white);
  border-radius: 50%;
  box-shadow: var(--shadow-sm);
  transform: translateX(-5px);
}

.cert-item h4 {
  margin-bottom: 0.3rem;
}

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

.cert-item .cert-badge {
  display: inline-block;
  margin-top: 0.5rem;
  padding: 0.25rem 0.75rem;
  background: rgba(19, 175, 240, 0.1);
  color: var(--accent);
  border-radius: var(--radius-xl);
  font-size: 0.8rem;
  font-weight: 600;
}

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

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

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

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

.gallery-item__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 84, 109, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition);
}

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

.gallery-item__overlay svg {
  width: 30px;
  height: 30px;
  color: var(--white);
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(0, 0, 0, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition);
}

.lightbox.active {
  opacity: 1;
  visibility: visible;
}

.lightbox__close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.5rem;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
  transition: background var(--transition);
}

.lightbox__close:hover {
  background: rgba(255,255,255,0.2);
}

.lightbox img {
  max-width: 90%;
  max-height: 85vh;
  border-radius: var(--radius-md);
}

/* ============================================
   OFFERS / PROMOTIONS
   ============================================ */
.offer-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 2px solid var(--gray-200);
  transition: all var(--transition);
}

.offer-card:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-lg);
}

.offer-card--featured {
  border-color: var(--accent);
  position: relative;
}

.offer-card--featured::before {
  content: 'Offre du mois';
  position: absolute;
  top: 1rem;
  right: -2rem;
  background: var(--accent);
  color: var(--white);
  padding: 0.3rem 2.5rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  transform: rotate(45deg);
  z-index: 1;
}

.offer-card__header {
  padding: 2rem 2rem 1rem;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: var(--white);
}

.offer-card__header h3 {
  color: var(--white);
  margin-bottom: 0.5rem;
}

.offer-card__header p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.95rem;
}

.offer-card__body {
  padding: 2rem;
}

.offer-card__price {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary);
  font-family: var(--font-heading);
}

.offer-card__price small {
  font-size: 1rem;
  color: var(--gray-400);
}

.offer-card__details {
  margin: 1.5rem 0;
}

.offer-card__details li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.5rem 0;
  font-size: 0.95rem;
  color: var(--gray-600);
}

.offer-card__details li svg {
  width: 18px;
  height: 18px;
  color: var(--accent);
  flex-shrink: 0;
  margin-top: 2px;
}

.offer-card__conditions {
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--gray-200);
  font-size: 0.8rem;
  color: var(--gray-400);
  font-style: italic;
}

/* ============================================
   CHINESE ENERGY CARE
   ============================================ */
.energy__intro {
  max-width: 800px;
  margin: 0 auto 3rem;
  text-align: center;
}

.energy-elements {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}

.energy-element {
  text-align: center;
  padding: 2rem 1rem;
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
  transition: all var(--transition);
}

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

.energy-element--active {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(19, 175, 240, 0.1);
}

.energy-element__symbol {
  width: 60px;
  height: 60px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
}

.energy-element--terre .energy-element__symbol { background: linear-gradient(135deg, #8B6914, #C4A035); }
.energy-element--feu .energy-element__symbol { background: linear-gradient(135deg, #C0392B, #E74C3C); }
.energy-element--metal .energy-element__symbol { background: linear-gradient(135deg, #7F8C8D, #BDC3C7); }
.energy-element--eau .energy-element__symbol { background: linear-gradient(135deg, #2471A3, #5DADE2); }
.energy-element--bois .energy-element__symbol { background: linear-gradient(135deg, #1E8449, #27AE60); }

.energy-element h4 {
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}

.energy-element p {
  font-size: 0.85rem;
}

.energy-element .coming-soon {
  display: inline-block;
  margin-top: 0.75rem;
  padding: 0.2rem 0.75rem;
  background: var(--gray-100);
  color: var(--gray-400);
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: var(--radius-xl);
}

/* ============================================
   GIFT CARD
   ============================================ */
.gift-card-preview {
  max-width: 500px;
  margin: 0 auto 3rem;
  padding: 3rem;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-radius: var(--radius-lg);
  color: var(--white);
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.gift-card-preview::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 60%);
}

.gift-card-preview h3 {
  color: var(--white);
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.gift-card-preview p {
  color: rgba(255, 255, 255, 0.8);
}

/* ============================================
   CONTACT PAGE
   ============================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-info__item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.contact-info__icon {
  width: 50px;
  height: 50px;
  flex-shrink: 0;
  background: linear-gradient(135deg, rgba(0, 84, 109, 0.1), rgba(19, 175, 240, 0.1));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 1.2rem;
}

.contact-info__text h4 {
  margin-bottom: 0.25rem;
  font-size: 1rem;
}

.contact-info__text p {
  font-size: 0.95rem;
  margin: 0;
}

.contact-info__text a {
  color: var(--accent);
  font-weight: 500;
}

.contact-info__text a:hover {
  text-decoration: underline;
}

.contact-socials {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.contact-social-link {
  width: 44px;
  height: 44px;
  background: var(--off-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 1.1rem;
  transition: all var(--transition);
}

.contact-social-link:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-2px);
}

/* Contact Form */
.contact-form {
  background: var(--white);
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

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

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

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.85rem 1.2rem;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-md);
  background: var(--white);
  color: var(--gray-700);
  transition: all var(--transition);
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(19, 175, 240, 0.1);
}

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

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

/* ============================================
   BOUTIQUE / SHOP
   ============================================ */
.shop-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2rem;
}

.product-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
  transition: all var(--transition);
}

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

.product-card__image {
  height: 250px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 3rem;
}

.product-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-card__body {
  padding: 1.5rem;
}

.product-card__title {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  color: var(--primary);
}

.product-card__desc {
  font-size: 0.9rem;
  color: var(--gray-500);
  margin-bottom: 1rem;
}

.product-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.product-card__price {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--primary);
}

/* ============================================
   CART / PANIER
   ============================================ */
.cart-table {
  width: 100%;
  border-collapse: collapse;
}

.cart-table th {
  text-align: left;
  padding: 1rem;
  border-bottom: 2px solid var(--gray-200);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--gray-500);
}

.cart-table td {
  padding: 1rem;
  border-bottom: 1px solid var(--gray-200);
  vertical-align: middle;
}

.cart-item__info {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.cart-item__thumb {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-sm);
  background: var(--gray-100);
  overflow: hidden;
}

.cart-item__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cart-qty {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.cart-qty button {
  width: 30px;
  height: 30px;
  border: 1px solid var(--gray-300);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  color: var(--gray-600);
  transition: all var(--transition);
}

.cart-qty button:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.cart-qty span {
  font-weight: 600;
  min-width: 2rem;
  text-align: center;
}

.cart-remove {
  color: var(--gray-400);
  font-size: 1.2rem;
  transition: color var(--transition);
}

.cart-remove:hover {
  color: #e74c3c;
}

.cart-summary {
  max-width: 400px;
  margin-left: auto;
  padding: 2rem;
  background: var(--off-white);
  border-radius: var(--radius-lg);
  margin-top: 2rem;
}

.cart-summary__row {
  display: flex;
  justify-content: space-between;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--gray-200);
}

.cart-summary__total {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--primary);
  border-bottom: none;
  padding-top: 1rem;
}

.cart-empty {
  text-align: center;
  padding: 4rem 0;
}

.cart-empty svg {
  width: 80px;
  height: 80px;
  color: var(--gray-300);
  margin-bottom: 1.5rem;
}

.cart-empty h3 {
  margin-bottom: 0.5rem;
  color: var(--gray-500);
}

.cart-empty p {
  margin-bottom: 2rem;
}

/* ============================================
   PAGE HERO (Sub-pages)
   ============================================ */
.page-hero {
  padding: 10rem 0 4rem;
  background: linear-gradient(135deg, var(--primary-dark), var(--primary), var(--primary-light));
  position: relative;
  overflow: hidden;
  text-align: center;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(19,175,240,0.15), transparent 70%);
  border-radius: 50%;
}

.page-hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(130,110,123,0.15), transparent 70%);
  border-radius: 50%;
}

.page-hero h1 {
  color: var(--white);
  position: relative;
  z-index: 1;
  margin-bottom: 1rem;
}

.page-hero p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.15rem;
  position: relative;
  z-index: 1;
  max-width: 600px;
  margin: 0 auto;
}

.page-hero .breadcrumb {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.5rem;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
}

.page-hero .breadcrumb a {
  color: rgba(255, 255, 255, 0.6);
  transition: color var(--transition);
}

.page-hero .breadcrumb a:hover {
  color: var(--white);
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--primary-dark);
  color: rgba(255, 255, 255, 0.7);
  padding: 4rem 0 0;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer__brand {
  max-width: 300px;
}

.footer__logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.footer__logo-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.1rem;
}

.footer__logo-text {
  font-family: var(--font-heading);
  color: var(--white);
  font-size: 1.2rem;
  font-weight: 700;
}

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

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

.footer__social {
  width: 38px;
  height: 38px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 0.9rem;
  transition: all var(--transition);
}

.footer__social:hover {
  background: var(--accent);
  transform: translateY(-2px);
}

.footer__col h4 {
  color: var(--white);
  font-size: 1rem;
  font-family: var(--font-body);
  font-weight: 700;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.75rem;
}

.footer__col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background: var(--accent);
}

.footer__links li {
  margin-bottom: 0.6rem;
}

.footer__links a {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
  transition: all var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.footer__links a:hover {
  color: var(--white);
  transform: translateX(4px);
}

.footer__contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1rem;
  font-size: 0.9rem;
}

.footer__contact-item svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  margin-top: 3px;
  color: var(--accent);
}

.footer__bottom {
  padding: 1.5rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.4);
}

.footer__bottom a {
  color: rgba(255, 255, 255, 0.4);
}

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

/* ============================================
   TOAST NOTIFICATIONS
   ============================================ */
.toast-container {
  position: fixed;
  top: 5rem;
  right: 2rem;
  z-index: 3000;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.toast {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.5rem;
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  transform: translateX(120%);
  transition: transform var(--transition);
  min-width: 280px;
  border-left: 4px solid var(--accent);
}

.toast.show {
  transform: translateX(0);
}

.toast__icon {
  width: 24px;
  height: 24px;
  color: var(--accent);
  flex-shrink: 0;
}

.toast__text {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--gray-700);
}

/* Scroll animations are defined in the FLUIDITY ENHANCEMENTS section below */

/* ============================================
   BACK TO TOP
   ============================================ */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 48px;
  height: 48px;
  background: var(--primary);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all var(--transition);
  z-index: 999;
}

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

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

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .about__grid,
  .duo__grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

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

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

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

  .container {
    padding: 0 1.25rem;
  }

  /* Mobile navigation */
  .nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 85%;
    max-width: 350px;
    height: 100vh;
    background: var(--white);
    flex-direction: column;
    align-items: stretch;
    padding: 5rem 2rem 2rem;
    box-shadow: var(--shadow-xl);
    transition: right var(--transition);
    overflow-y: auto;
  }

  .nav.open {
    right: 0;
  }

  .nav__link {
    padding: 0.75rem 0;
    font-size: 1rem;
    border-bottom: 1px solid var(--gray-100);
  }

  .nav__link::after {
    display: none;
  }

  .nav__dropdown-menu {
    position: static;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    padding-left: 1rem;
  }

  .menu-toggle {
    display: flex;
  }

  .nav__account {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--gray-100);
  }

  .nav__account::after {
    content: 'Mon Compte';
    font-size: 1rem;
    font-weight: 500;
  }

  .mobile-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition);
  }

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

  /* Hero */
  .hero__content {
    padding: 7rem 0 4rem;
    text-align: center;
  }

  .hero__actions {
    justify-content: center;
  }

  .hero__scroll {
    display: none;
  }

  /* Services */
  .services-grid {
    grid-template-columns: 1fr;
  }

  .service-card--compact {
    flex-direction: column;
  }

  .service-card--compact .service-card__image {
    width: 100%;
    height: 200px;
  }

  /* Gallery */
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Footer */
  .footer__grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer__bottom {
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
  }

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

  /* Cart */
  .cart-table {
    display: block;
    overflow-x: auto;
  }

  /* About features */
  .about__features {
    grid-template-columns: 1fr;
  }

  /* Offers */
  .offer-card--featured::before {
    display: none;
  }

  /* Page hero */
  .page-hero {
    padding: 8rem 0 3rem;
  }
}

@media (max-width: 480px) {
  .hero__title {
    font-size: 2rem;
  }

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

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

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

/* ============================================
   UTILITY CLASSES
   ============================================ */
.text-center { text-align: center; }
.text-primary { color: var(--primary); }
.text-accent { color: var(--accent); }
.text-secondary { color: var(--secondary); }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.gap-1 { gap: 0.5rem; }
.gap-2 { gap: 1rem; }
.flex { display: flex; }
.flex-wrap { flex-wrap: wrap; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }

/* ============================================
   FLUIDITY ENHANCEMENTS
   ============================================ */

/* --- Page Load Transition --- */
html.is-loading * {
  animation-duration: 0s !important;
  transition-duration: 0s !important;
}

html.is-loading body {
  opacity: 0;
}

html.is-loaded body {
  animation: pageIn 0.6s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

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

/* --- Header auto-hide --- */
.header {
  transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.header--hidden {
  transform: translateY(-100%);
  box-shadow: none;
}

/* --- Smooth Image Loading --- */
.img-lazy {
  opacity: 0;
  transform: scale(1.02);
  transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1),
              transform 1s cubic-bezier(0.22, 1, 0.36, 1);
}

.img-lazy.img-loaded {
  opacity: 1;
  transform: scale(1);
}

/* --- Hero Parallax smoothness --- */
.hero__bg-image {
  transition: transform 0.1s linear;
  will-change: transform;
}

.hero__content {
  transition: transform 0.1s linear, opacity 0.1s linear;
  will-change: transform, opacity;
}

/* --- Enhanced Scroll Animations --- */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}

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

.reveal-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(50px);
  transition: opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* Enhanced stagger with more children and smoother curve */
.stagger-children > * {
  opacity: 0;
  transform: translateY(25px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.stagger-children.visible > *:nth-child(1) { transition-delay: 0s; }
.stagger-children.visible > *:nth-child(2) { transition-delay: 0.08s; }
.stagger-children.visible > *:nth-child(3) { transition-delay: 0.16s; }
.stagger-children.visible > *:nth-child(4) { transition-delay: 0.24s; }
.stagger-children.visible > *:nth-child(5) { transition-delay: 0.32s; }
.stagger-children.visible > *:nth-child(6) { transition-delay: 0.40s; }
.stagger-children.visible > *:nth-child(7) { transition-delay: 0.48s; }
.stagger-children.visible > *:nth-child(8) { transition-delay: 0.56s; }
.stagger-children.visible > *:nth-child(9) { transition-delay: 0.64s; }
.stagger-children.visible > *:nth-child(10) { transition-delay: 0.72s; }
.stagger-children.visible > *:nth-child(11) { transition-delay: 0.80s; }
.stagger-children.visible > *:nth-child(12) { transition-delay: 0.88s; }
.stagger-children.visible > *:nth-child(13) { transition-delay: 0.96s; }
.stagger-children.visible > *:nth-child(14) { transition-delay: 1.04s; }
.stagger-children.visible > *:nth-child(15) { transition-delay: 1.12s; }
.stagger-children.visible > *:nth-child(16) { transition-delay: 1.20s; }

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

/* --- Smoother Card Hover --- */
.service-card {
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1),
              box-shadow 0.5s cubic-bezier(0.22, 1, 0.36, 1),
              border-color 0.3s ease;
  will-change: transform;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(0, 84, 109, 0.15);
}

.service-card__image img {
  transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

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

.pro-card {
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1),
              box-shadow 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.pro-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 15px 40px rgba(0, 84, 109, 0.12);
}

.product-card {
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1),
              box-shadow 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 15px 40px rgba(0, 84, 109, 0.12);
}

/* --- Smoother Button Transitions --- */
.btn {
  transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

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

/* --- Gallery Fluid Hover --- */
.gallery-item img {
  transition: transform 1s cubic-bezier(0.22, 1, 0.36, 1);
}

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

.gallery-item__overlay {
  transition: opacity 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

/* --- Cursor Glow --- */
.cursor-glow {
  position: fixed;
  top: 0;
  left: 0;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(19, 175, 240, 0.04) 0%, transparent 70%);
  pointer-events: none;
  z-index: 9999;
  border-radius: 50%;
  mix-blend-mode: normal;
  will-change: transform;
}

/* --- Lightbox Navigation Arrows --- */
.lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  border-radius: 50%;
  color: white;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 2001;
}

.lightbox__nav:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: translateY(-50%) scale(1.1);
}

.lightbox__prev { left: 1.5rem; }
.lightbox__next { right: 1.5rem; }

.lightbox img {
  transition: opacity 0.3s ease, transform 0.3s ease;
}

/* --- Badge Bounce --- */
@keyframes badgeBounce {
  0% { transform: scale(0.5); }
  50% { transform: scale(1.2); }
  100% { transform: scale(1); }
}

.nav__cart-badge {
  transition: transform 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

/* --- Smooth Form Focus --- */
.form-group input,
.form-group textarea,
.form-group select {
  transition: border-color 0.4s cubic-bezier(0.22, 1, 0.36, 1),
              box-shadow 0.4s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.2s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(19, 175, 240, 0.08);
  transform: translateY(-1px);
}

/* --- Fluid Section Transitions --- */
.section {
  position: relative;
}

.section--alt::before {
  content: '';
  position: absolute;
  top: -60px;
  left: 0;
  right: 0;
  height: 60px;
  background: linear-gradient(to bottom, transparent, var(--off-white));
  pointer-events: none;
}

.section--alt::after {
  content: '';
  position: absolute;
  bottom: -60px;
  left: 0;
  right: 0;
  height: 60px;
  background: linear-gradient(to top, transparent, var(--off-white));
  pointer-events: none;
  z-index: 1;
}

/* --- Nav Link Fluid Underline --- */
.nav__link::after {
  transition: width 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

/* --- Offer Card Hover --- */
.offer-card {
  transition: all 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.offer-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(0, 84, 109, 0.12);
}

/* --- Duo Occasions Hover --- */
.duo__occasion {
  transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.duo__occasion:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-2px);
}

.duo__occasion:hover svg {
  fill: var(--white) !important;
}

/* --- Energy Element Hover --- */
.energy-element {
  transition: all 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

/* --- Contact Social Hover --- */
.contact-social-link {
  transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

/* --- Footer Links Hover --- */
.footer__links a {
  transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

/* --- Mobile Nav Smoothness --- */
@media (max-width: 768px) {
  .nav {
    transition: right 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  }

  .mobile-overlay {
    transition: opacity 0.4s cubic-bezier(0.22, 1, 0.36, 1),
                visibility 0.4s;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
  }

  /* No tilt effect on mobile */
  .service-card:hover,
  .pro-card:hover,
  .product-card:hover {
    transform: translateY(-4px) !important;
  }

  .lightbox__nav {
    width: 40px;
    height: 40px;
  }

  .lightbox__prev { left: 0.5rem; }
  .lightbox__next { right: 0.5rem; }

  .cursor-glow { display: none; }
}

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

  html.is-loaded body {
    animation: none;
    opacity: 1;
  }

  .reveal, .reveal-left, .reveal-right {
    opacity: 1;
    transform: none;
  }

  .stagger-children > * {
    opacity: 1;
    transform: none;
  }

  .hero__bg-image,
  .hero__content {
    transform: none !important;
    opacity: 1 !important;
  }

  .cursor-glow { display: none; }
}

/* Print styles */
@media print {
  .header, .footer, .back-to-top, .toast-container, .cursor-glow { display: none; }
  .hero { min-height: auto; padding: 2rem 0; }
  .section { padding: 2rem 0; }
}
