/* ========================================
   AUTO GLOW — Premium Car Wash & Detailing
   Marrakech, Morocco
   ======================================== */

/* ---------- SMOOTH SCROLL ---------- */
html {
  scroll-behavior: smooth;
}

/* ---------- CUSTOM PROPERTIES ---------- */
:root {
  /* Brand Colors — derived from actual neon signage */
  --bg-deep: #07070c;
  --bg-primary: #0a0a10;
  --bg-elevated: #101018;
  --bg-surface: #151520;
  --bg-card: rgba(136, 180, 255, 0.03);
  --bg-card-hover: rgba(136, 180, 255, 0.06);

  --accent: #0088ff;
  --accent-bright: #00a8ff;
  --accent-glow: #0077ee;
  --accent-muted: #1a3a5c;
  --accent-subtle: rgba(0, 136, 255, 0.08);

  /* Warm secondary — "brillance" / shine */
  --gold: #d4a030;
  --gold-light: #e8bf5a;
  --gold-muted: rgba(212, 160, 48, 0.12);

  --text-primary: #e8eaed;
  --text-secondary: #8a8fa8;
  --text-muted: #555a72;
  --text-accent: #5aadff;

  --border: rgba(136, 180, 255, 0.08);
  --border-hover: rgba(136, 180, 255, 0.15);

  --success: #2dd4a0;
  --error: #ff4d6a;
  --whatsapp: #25d366;

  /* Typography */
  --font-display: 'Syne', sans-serif;
  --font-body: 'DM Sans', sans-serif;

  --text-xs: clamp(0.7rem, 0.65rem + 0.25vw, 0.8rem);
  --text-sm: clamp(0.8rem, 0.75rem + 0.25vw, 0.9rem);
  --text-base: clamp(0.9rem, 0.85rem + 0.25vw, 1rem);
  --text-lg: clamp(1rem, 0.9rem + 0.5vw, 1.2rem);
  --text-xl: clamp(1.2rem, 1rem + 1vw, 1.6rem);
  --text-2xl: clamp(1.6rem, 1.2rem + 2vw, 2.4rem);
  --text-3xl: clamp(2rem, 1.4rem + 3vw, 3.6rem);
  --text-hero: clamp(3.5rem, 2rem + 7.5vw, 9rem);

  /* Spacing */
  --space-xs: clamp(0.25rem, 0.2rem + 0.25vw, 0.5rem);
  --space-sm: clamp(0.5rem, 0.4rem + 0.5vw, 0.75rem);
  --space-md: clamp(0.75rem, 0.6rem + 0.75vw, 1.25rem);
  --space-lg: clamp(1.25rem, 1rem + 1.25vw, 2rem);
  --space-xl: clamp(2rem, 1.5rem + 2.5vw, 3.5rem);
  --space-2xl: clamp(3rem, 2rem + 5vw, 6rem);
  --space-3xl: clamp(4rem, 3rem + 5vw, 8rem);
  --space-section: clamp(5rem, 4rem + 6vw, 10rem);

  /* Layout */
  --container-max: 72rem;
  --container-padding: clamp(1.25rem, 1rem + 2vw, 3rem);

  /* Motion */
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out-quart: cubic-bezier(0.25, 1, 0.5, 1);
  --duration-fast: 200ms;
  --duration-normal: 400ms;
  --duration-slow: 700ms;

  /* Radius */
  --radius-sm: 0.375rem;
  --radius-md: 0.625rem;
  --radius-lg: 1rem;
  --radius-xl: 1.5rem;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: 5rem;
}

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.7;
  color: var(--text-primary);
  background: var(--bg-deep);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  font-kerning: normal;
}

body.is-loading {
  overflow: hidden;
}

img, svg {
  display: block;
  max-width: 100%;
}

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

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

ul, ol {
  list-style: none;
}

address {
  font-style: normal;
}

input, select, textarea {
  font: inherit;
  color: inherit;
}

/* ---------- SKIP LINK ---------- */
.skip-link {
  position: fixed;
  top: -100%;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10000;
  padding: 0.75rem 1.5rem;
  background: var(--accent);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--text-sm);
  border-radius: var(--radius-sm);
  transition: top var(--duration-fast);
}

.skip-link:focus {
  top: var(--space-md);
}

/* ---------- UTILITIES ---------- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-padding);
}

.section-label {
  display: inline-block;
  font-family: var(--font-display);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: var(--space-md);
}

.section-title {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: 700;
  line-height: 1.1;
  color: var(--text-primary);
  letter-spacing: -0.02em;
  margin-bottom: var(--space-xl);
  max-width: 20ch;
}

.services__header .section-title,
.pricing__header .section-title,
.gallery__header .section-title,
.reviews__header .section-title {
  max-width: none;
}

/* ---------- LOADER ---------- */
.loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-lg);
  background: var(--bg-deep);
  transition: opacity 0.5s var(--ease-out-expo), visibility 0.5s;
}

.loader.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader__ring {
  width: 48px;
  height: 48px;
  border: 2px solid var(--border);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.loader__text {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--text-primary);
}

.loader__accent {
  color: var(--accent);
}

/* ---------- NAVIGATION ---------- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: var(--space-md) 0;
  transition: background var(--duration-normal) var(--ease-out-quart),
              padding var(--duration-normal) var(--ease-out-quart),
              box-shadow var(--duration-normal) var(--ease-out-quart);
}

.nav.is-scrolled {
  background: rgba(7, 7, 12, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: var(--space-sm) 0;
  box-shadow: 0 1px 0 var(--border);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-padding);
}

.nav__logo {
  display: flex;
  align-items: center;
}

.nav__logo-text {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--text-primary);
}

.nav__logo-accent {
  color: var(--accent);
}

.nav__links {
  display: none;
  align-items: center;
  gap: var(--space-lg);
}

@media (min-width: 64rem) {
  .nav__links {
    display: flex;
  }
}

.nav__link {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--text-secondary);
  transition: color var(--duration-fast);
  position: relative;
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--accent);
  transition: width var(--duration-normal) var(--ease-out-expo);
}

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

.nav__link:hover::after,
.nav__link.is-active::after {
  width: 100%;
}

.nav__actions {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.nav__cta {
  display: none;
  padding: 0.5rem 1.25rem;
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 600;
  color: #fff;
  background: var(--accent);
  border-radius: var(--radius-sm);
  transition: background var(--duration-fast), transform var(--duration-fast);
}

.nav__cta:hover {
  background: var(--accent-bright);
  transform: translateY(-1px);
}

@media (min-width: 64rem) {
  .nav__cta {
    display: block;
  }
}

/* Burger */
.nav__burger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 36px;
  height: 36px;
  gap: 5px;
}

.nav__burger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--text-primary);
  transition: transform var(--duration-normal) var(--ease-out-expo),
              opacity var(--duration-fast);
  transform-origin: center;
}

.nav__burger.is-active span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}

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

.nav__burger.is-active span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

@media (min-width: 64rem) {
  .nav__burger {
    display: none;
  }
}

/* ---------- MOBILE MENU ---------- */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(7, 7, 12, 0.96);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--duration-normal) var(--ease-out-expo),
              visibility var(--duration-normal);
}

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

.mobile-menu__nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-lg);
}

.mobile-menu__link {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 600;
  color: var(--text-secondary);
  transition: color var(--duration-fast);
  transform: translateY(20px);
  opacity: 0;
}

.mobile-menu.is-open .mobile-menu__link {
  transform: translateY(0);
  opacity: 1;
  transition: transform var(--duration-slow) var(--ease-out-expo),
              opacity var(--duration-slow) var(--ease-out-expo),
              color var(--duration-fast);
}

.mobile-menu.is-open .mobile-menu__link:nth-child(1) { transition-delay: 0.05s; }
.mobile-menu.is-open .mobile-menu__link:nth-child(2) { transition-delay: 0.1s; }
.mobile-menu.is-open .mobile-menu__link:nth-child(3) { transition-delay: 0.15s; }
.mobile-menu.is-open .mobile-menu__link:nth-child(4) { transition-delay: 0.2s; }
.mobile-menu.is-open .mobile-menu__link:nth-child(5) { transition-delay: 0.25s; }
.mobile-menu.is-open .mobile-menu__link:nth-child(6) { transition-delay: 0.3s; }

.mobile-menu__link:hover {
  color: var(--text-primary);
}

.mobile-menu__cta {
  margin-top: var(--space-md);
  padding: 0.75rem 2rem;
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-weight: 600;
  color: #fff;
  background: var(--accent);
  border-radius: var(--radius-sm);
  opacity: 0;
  transform: translateY(20px);
}

.mobile-menu.is-open .mobile-menu__cta {
  opacity: 1;
  transform: translateY(0);
  transition: transform var(--duration-slow) var(--ease-out-expo) 0.35s,
              opacity var(--duration-slow) var(--ease-out-expo) 0.35s,
              background var(--duration-fast);
}

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 600;
  padding: 0.8rem 1.75rem;
  border-radius: var(--radius-sm);
  transition: all var(--duration-fast) var(--ease-out-quart);
  white-space: nowrap;
}

.btn--primary {
  color: #fff;
  background: var(--accent);
  box-shadow: 0 0 0 0 rgba(0, 136, 255, 0);
}

.btn--primary:hover {
  background: var(--accent-bright);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px -8px rgba(0, 136, 255, 0.4);
}

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

.btn--outline:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
}

.btn--sm {
  font-size: var(--text-xs);
  padding: 0.6rem 1.25rem;
}

.btn--full {
  width: 100%;
  justify-content: center;
}

/* ---------- HERO ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--bg-deep);
}

.hero__glow {
  position: absolute;
  width: clamp(400px, 60vw, 900px);
  height: clamp(400px, 60vw, 900px);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 136, 255, 0.12) 0%, rgba(0, 136, 255, 0.03) 40%, transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  animation: heroGlowPulse 6s ease-in-out infinite;
}

.hero__glow--secondary {
  width: clamp(300px, 40vw, 600px);
  height: clamp(300px, 40vw, 600px);
  background: radial-gradient(circle, rgba(0, 168, 255, 0.08) 0%, transparent 60%);
  animation: heroGlowPulse 8s ease-in-out infinite reverse;
}

@keyframes heroGlowPulse {
  0%, 100% { opacity: 1; transform: translate(-50%, -50%) scale(1); }
  50% { opacity: 0.6; transform: translate(-50%, -50%) scale(1.1); }
}

.hero__noise {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='200' height='200' xmlns='http://www.w3.org/2000/svg'%3E%3Crect width='200' height='200' fill='none'/%3E%3Ccircle cx='30' cy='50' r='0.5' fill='%23ffffff' opacity='0.08'/%3E%3Ccircle cx='80' cy='20' r='0.4' fill='%23ffffff' opacity='0.06'/%3E%3Ccircle cx='150' cy='80' r='0.6' fill='%23ffffff' opacity='0.05'/%3E%3Ccircle cx='120' cy='150' r='0.3' fill='%23ffffff' opacity='0.07'/%3E%3Ccircle cx='50' cy='130' r='0.5' fill='%23ffffff' opacity='0.04'/%3E%3Ccircle cx='180' cy='30' r='0.4' fill='%23ffffff' opacity='0.06'/%3E%3Ccircle cx='100' cy='100' r='0.3' fill='%23ffffff' opacity='0.05'/%3E%3C/svg%3E");
  background-size: 200px;
  pointer-events: none;
}

.hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: var(--space-2xl) var(--container-padding);
}

.hero__eyebrow {
  font-family: var(--font-display);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: var(--space-lg);
}

.hero__title {
  font-family: var(--font-display);
  font-size: var(--text-hero);
  font-weight: 800;
  line-height: 0.85;
  letter-spacing: -0.04em;
  margin-bottom: var(--space-lg);
}

.hero__title-line {
  display: block;
}

.hero__title-line--accent {
  color: var(--accent);
  text-shadow: 0 0 60px rgba(0, 136, 255, 0.3), 0 0 120px rgba(0, 136, 255, 0.1);
}

.hero__tagline {
  font-size: var(--text-lg);
  color: var(--text-secondary);
  max-width: 30ch;
  margin-inline: auto;
  margin-bottom: var(--space-xl);
  line-height: 1.6;
  font-style: italic;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-md);
}

.hero__scroll {
  position: absolute;
  bottom: var(--space-xl);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-sm);
  color: var(--text-muted);
  font-size: var(--text-xs);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hero__scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, var(--accent), transparent);
  animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  50.01% { transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ---------- ABOUT ---------- */
.about {
  padding: var(--space-section) 0;
  background: linear-gradient(180deg, var(--bg-deep) 0%, #0b0b12 50%, var(--bg-primary) 100%);
}

.about__grid {
  display: grid;
  gap: var(--space-2xl);
}

@media (min-width: 64rem) {
  .about__grid {
    grid-template-columns: 1.2fr 0.8fr;
    align-items: start;
    gap: var(--space-3xl);
  }
}

.about__desc {
  font-size: var(--text-lg);
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: var(--space-md);
  max-width: 58ch;
}

.about__stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: var(--space-lg);
}

@media (min-width: 64rem) {
  .about__stats {
    grid-template-columns: 1fr;
  }
}

.stat {
  padding: var(--space-lg);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  transition: border-color var(--duration-normal);
}

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

.stat__number {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 800;
  color: var(--text-primary);
  display: inline;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
}

.stat__icon {
  color: var(--gold-light);
  font-size: var(--text-xl);
  margin-left: 0.25rem;
}

.stat__label {
  display: block;
  font-size: var(--text-sm);
  color: var(--text-secondary);
  margin-top: var(--space-xs);
}

/* ---------- SERVICES ---------- */
.services {
  padding: var(--space-section) 0;
  background: var(--bg-deep);
}

.services__header {
  text-align: center;
  margin-bottom: var(--space-2xl);
}

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

@media (min-width: 48rem) {
  .services__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.service-card {
  padding: var(--space-xl);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: border-color var(--duration-normal), transform var(--duration-normal) var(--ease-out-expo);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0;
  transition: opacity var(--duration-normal);
}

.service-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
}

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

.service-card__icon {
  color: var(--accent);
  margin-bottom: var(--space-lg);
}

/* Color-code service icons for visual variety */
.service-card:nth-child(2) .service-card__icon {
  color: var(--gold);
}

.service-card:nth-child(3) .service-card__icon {
  color: var(--success);
}

.service-card__title {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  margin-bottom: var(--space-md);
}

.service-card__desc {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: var(--space-lg);
}

.service-card__price {
  display: block;
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--text-accent);
  margin-bottom: var(--space-md);
}

.service-card__link {
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--text-primary);
  transition: color var(--duration-fast);
}

.service-card__link:hover {
  color: var(--accent);
}

/* ---------- PRICING ---------- */
.pricing {
  padding: var(--space-section) 0;
  background: var(--bg-primary);
}

.pricing__header {
  text-align: center;
  margin-bottom: var(--space-2xl);
}

.pricing__grid {
  display: grid;
  gap: var(--space-lg);
  max-width: 56rem;
  margin-inline: auto;
}

@media (min-width: 48rem) {
  .pricing__grid {
    grid-template-columns: 1.3fr 0.7fr;
    align-items: start;
  }
}

.pricing-table {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.pricing-table--accent {
  border-color: var(--accent-muted);
  position: relative;
}

.pricing-table--accent::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--accent);
}

.pricing-table__head {
  padding: var(--space-xl) var(--space-xl) var(--space-lg);
}

.pricing-table__category {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  margin-bottom: var(--space-xs);
}

.pricing-table__subtitle {
  font-size: var(--text-sm);
  color: var(--text-secondary);
}

.pricing-table__list {
  padding: 0 var(--space-xl);
}

.pricing-table__item {
  display: flex;
  align-items: baseline;
  gap: var(--space-sm);
  padding: var(--space-md) 0;
  border-top: 1px solid var(--border);
}

.pricing-table__item--featured {
  background: var(--gold-muted);
  margin-inline: calc(var(--space-xl) * -1);
  padding-inline: var(--space-xl);
  border-top-color: transparent;
  flex-wrap: wrap;
  position: relative;
  padding-top: calc(var(--space-md) + 1.2rem);
}

.pricing-table__item--featured .pricing-table__badge {
  position: absolute;
  top: var(--space-sm);
  left: var(--space-xl);
}

.pricing-table__service {
  font-size: var(--text-sm);
  color: var(--text-primary);
  flex-shrink: 0;
}

.pricing-table__service small {
  display: block;
  font-size: var(--text-xs);
  color: var(--text-muted);
  margin-top: 2px;
}

.pricing-table__dots {
  flex: 1;
  min-width: 20px;
  border-bottom: 1px dotted var(--text-muted);
  margin-bottom: 4px;
  opacity: 0.4;
}

.pricing-table__price {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--text-primary);
  flex-shrink: 0;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.pricing-table__price small {
  font-size: var(--text-xs);
  font-weight: 500;
  color: var(--text-secondary);
}

.pricing-table__footer {
  padding: var(--space-xl);
  border-top: 1px solid var(--border);
  text-align: center;
}

.pricing-table__footer p {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  margin-bottom: var(--space-md);
}

/* ---------- GALLERY ---------- */
.gallery {
  padding: var(--space-section) 0;
  background: var(--bg-deep);
}

.gallery__header {
  text-align: center;
  margin-bottom: var(--space-2xl);
}

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

@media (min-width: 48rem) {
  .gallery__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md);
  }
}

.gallery__item--wide {
  grid-column: span 2;
}

@media (min-width: 48rem) {
  .gallery__item--wide {
    grid-column: span 2;
  }
}

.gallery__placeholder {
  width: 100%;
  aspect-ratio: 16 / 10;
  background:
    linear-gradient(
      135deg,
      hsl(var(--hue, 210) var(--sat, 60%) 8%) 0%,
      hsl(var(--hue, 210) var(--sat, 60%) 14%) 50%,
      hsl(var(--hue, 210) var(--sat, 60%) 8%) 100%
    );
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  overflow: hidden;
  transition: transform var(--duration-normal) var(--ease-out-expo);
}

.gallery__item img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: var(--radius-md);
  display: block;
  transition: transform var(--duration-normal) var(--ease-out-expo);
}

.gallery__item:hover img {
  transform: scale(1.02);
}

.gallery__item:hover .gallery__placeholder {
  transform: scale(1.02);
}

.gallery__cta {
  text-align: center;
  margin-top: var(--space-xl);
}

/* ---------- REVIEWS ---------- */
.reviews {
  padding: var(--space-section) 0;
  background: var(--bg-primary);
}

.reviews__header {
  text-align: center;
  margin-bottom: var(--space-2xl);
}

.reviews__badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-sm) var(--space-lg);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 100px;
}

.reviews__badge-stars {
  color: var(--gold-light);
  font-size: var(--text-base);
  letter-spacing: 2px;
}

.reviews__badge-score {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 800;
}

.reviews__badge-source {
  font-size: var(--text-sm);
  color: var(--text-secondary);
}

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

@media (min-width: 48rem) {
  .reviews__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 64rem) {
  .reviews__grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.review {
  padding: var(--space-xl);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: border-color var(--duration-normal);
}

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

.review__stars {
  color: var(--gold-light);
  font-size: var(--text-sm);
  letter-spacing: 2px;
  margin-bottom: var(--space-md);
}

.review__text {
  font-size: var(--text-base);
  color: var(--text-primary);
  line-height: 1.6;
  margin-bottom: var(--space-lg);
}

.review__author {
  display: block;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--text-secondary);
}

.reviews__cta {
  text-align: center;
  margin-top: var(--space-xl);
}

/* ---------- CONTACT ---------- */
.contact {
  padding: var(--space-section) 0;
  background: var(--bg-deep);
}

.contact__grid {
  display: grid;
  gap: var(--space-2xl);
}

@media (min-width: 64rem) {
  .contact__grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
  }
}

.contact__details {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
  margin-top: var(--space-lg);
}

.contact__detail {
  display: flex;
  gap: var(--space-md);
  align-items: flex-start;
}

.contact__detail svg {
  flex-shrink: 0;
  color: var(--accent);
  margin-top: 2px;
}

.contact__detail div {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.contact__detail strong {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--text-primary);
}

.contact__detail span,
.contact__detail a {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  transition: color var(--duration-fast);
}

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

.contact__map {
  margin-top: var(--space-xl);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
}

.contact__map iframe {
  display: block;
  width: 100%;
  filter: brightness(0.8) contrast(1.1) saturate(0.5);
}

/* Contact Form */
.contact-form {
  padding: var(--space-xl);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}

.contact-form__title {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  margin-bottom: var(--space-xl);
}

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

.form-label {
  display: block;
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: var(--space-sm);
}

.form-optional {
  color: var(--text-muted);
  font-weight: 400;
}

.form-input {
  width: 100%;
  padding: 0.7rem 1rem;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-size: var(--text-base);
  transition: border-color var(--duration-fast);
  outline: none;
}

.form-input::placeholder {
  color: var(--text-muted);
}

.form-input:focus {
  border-color: var(--accent);
}

.form-select {
  appearance: none;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%238a8fa8' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

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

.contact-form__note {
  text-align: center;
  font-size: var(--text-xs);
  color: var(--text-muted);
  margin-top: var(--space-md);
}

/* Form success state */
.contact-form.is-sent {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 400px;
}

/* ---------- FOOTER ---------- */
.footer {
  padding: var(--space-2xl) 0 var(--space-xl);
  background: var(--bg-primary);
  border-top: 1px solid var(--border);
}

.footer__grid {
  display: grid;
  gap: var(--space-xl);
  grid-template-columns: 1fr;
}

@media (min-width: 48rem) {
  .footer__grid {
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
  }
}

.footer__logo {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 800;
  letter-spacing: 0.08em;
}

.footer__logo-accent {
  color: var(--accent);
}

.footer__tagline {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  margin-top: var(--space-md);
  line-height: 1.6;
}

.footer__heading {
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 600;
  margin-bottom: var(--space-md);
  color: var(--text-primary);
}

.footer__nav {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.footer__nav a,
.footer__contact-col a,
.footer__contact-col span {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  transition: color var(--duration-fast);
}

.footer__nav a:hover,
.footer__contact-col a:hover {
  color: var(--accent);
}

.footer__contact-col {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

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

.footer__socials a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  transition: all var(--duration-fast);
}

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

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--space-sm);
  margin-top: var(--space-2xl);
  padding-top: var(--space-xl);
  border-top: 1px solid var(--border);
  font-size: var(--text-xs);
  color: var(--text-muted);
}

/* ---------- WHATSAPP FAB ---------- */
.whatsapp-fab {
  position: fixed;
  bottom: var(--space-lg);
  right: var(--space-lg);
  z-index: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  background: var(--whatsapp);
  border-radius: 50%;
  box-shadow: 0 4px 20px -4px rgba(37, 211, 102, 0.5);
  transition: transform var(--duration-fast), box-shadow var(--duration-fast);
  opacity: 0;
  transform: scale(0.8) translateY(20px);
}

.whatsapp-fab.is-visible {
  opacity: 1;
  transform: scale(1) translateY(0);
  transition: all var(--duration-slow) var(--ease-out-expo);
}

.whatsapp-fab:hover {
  transform: scale(1.08) translateY(-2px);
  box-shadow: 0 8px 30px -4px rgba(37, 211, 102, 0.6);
}

/* ---------- REVEAL ANIMATIONS ---------- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity var(--duration-slow) var(--ease-out-expo),
              transform var(--duration-slow) var(--ease-out-expo);
}

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

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

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

/* ---------- SELECTION ---------- */
::selection {
  background: rgba(0, 136, 255, 0.25);
  color: #fff;
}

/* ---------- SCROLLBAR ---------- */
::-webkit-scrollbar {
  width: 8px;
}

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

::-webkit-scrollbar-thumb {
  background: var(--bg-surface);
  border-radius: 4px;
}

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

/* ========================================
   REFINEMENT PASS — Layout, Gallery,
   Validation, Typography, Polish
   ======================================== */

/* ---------- SCROLL PROGRESS ---------- */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent-bright));
  z-index: 1001;
  transition: width 50ms linear;
}

/* ---------- FEATURED REVIEW ---------- */
.reviews__grid {
  grid-template-columns: 1fr;
}

@media (min-width: 48rem) {
  .reviews__grid {
    grid-template-columns: 1.4fr 1fr;
  }
}

@media (min-width: 64rem) {
  .reviews__grid {
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
  }
}

.review--featured {
  background: var(--bg-surface);
  border-color: var(--accent-muted);
  position: relative;
}

@media (min-width: 48rem) {
  .review--featured {
    grid-row: span 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .review--featured .review__text {
    font-size: var(--text-xl);
    line-height: 1.5;
  }

  .review--featured .review__stars {
    font-size: var(--text-base);
  }
}

.review__source {
  display: inline-block;
  font-size: var(--text-xs);
  color: var(--text-muted);
  margin-top: var(--space-xs);
  font-style: normal;
}

/* ---------- PRICING BADGE ---------- */
.pricing-table__badge {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #0a0a10;
  background: var(--gold);
  padding: 0.2rem 0.5rem;
  border-radius: 100px;
  margin-bottom: 0.25rem;
}

/* ---------- GALLERY SCENES ---------- */
.gallery__placeholder--scene {
  position: relative;
  background:
    radial-gradient(
      ellipse at 50% 80%,
      hsl(var(--hue, 210) var(--sat, 60%) 18% / 0.6) 0%,
      transparent 60%
    ),
    radial-gradient(
      ellipse at var(--angle, 135deg),
      hsl(var(--hue, 210) var(--sat, 60%) 12%) 0%,
      hsl(var(--hue, 210) 20% 6%) 100%
    );
  border: 1px solid rgba(136, 180, 255, 0.06);
}

.gallery__placeholder--scene::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 30% 40%, rgba(0, 136, 255, 0.06) 0%, transparent 50%),
    radial-gradient(circle at 70% 60%, rgba(0, 168, 255, 0.04) 0%, transparent 40%);
  border-radius: inherit;
}

.gallery__label {
  position: absolute;
  bottom: var(--space-md);
  left: var(--space-md);
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 600;
  color: rgba(255, 255, 255, 0.7);
  z-index: 1;
}

.gallery__item:hover .gallery__label {
  color: rgba(255, 255, 255, 0.95);
}

/* ---------- FORM VALIDATION ---------- */
.form-error {
  display: none;
  font-size: var(--text-xs);
  color: #ff4d6a;
  margin-top: var(--space-xs);
}

.form-group.has-error .form-input {
  border-color: #ff4d6a;
}

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

.form-input:focus:valid {
  border-color: var(--accent);
}

.btn--loading {
  pointer-events: none;
  opacity: 0.7;
}

.btn--loading::after {
  content: '';
  display: inline-block;
  width: 14px;
  height: 14px;
  border: 2px solid rgba(255,255,255,0.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
  margin-left: 0.5rem;
}

/* ---------- STATS WITHOUT CARDS ON MOBILE ---------- */
@media (max-width: 63.99rem) {
  .stat {
    background: transparent;
    border: none;
    padding: var(--space-md) 0;
    border-bottom: 1px solid var(--border);
  }
}

/* ---------- SECTION VISUAL DIVIDERS ---------- */
.services {
  border-top: 1px solid var(--border);
}

.gallery {
  border-top: 1px solid var(--border);
}

.contact {
  border-top: 1px solid var(--border);
}

/* ---------- ABOUT LEFT-ALIGN ON DESKTOP ---------- */
@media (min-width: 64rem) {
  .about .section-title {
    text-align: left;
  }

  .about .section-label {
    text-align: left;
  }
}

/* ========================================
   FINAL POLISH PASS
   ======================================== */

/* ---------- FOCUS VISIBLE (keyboard users) ---------- */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

.btn:focus-visible {
  outline-offset: 4px;
  box-shadow: 0 0 0 4px rgba(0, 136, 255, 0.2);
}

.form-input:focus-visible {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(0, 136, 255, 0.15);
}

.nav__link:focus-visible::after {
  width: 100%;
}

/* ---------- TOUCH TARGETS (44px min) ---------- */
@media (pointer: coarse) {
  .nav__burger {
    min-width: 44px;
    min-height: 44px;
  }

  .btn {
    min-height: 44px;
  }

  .footer__socials a {
    min-width: 44px;
    min-height: 44px;
  }

  .mobile-menu__link {
    padding: var(--space-sm) 0;
  }

  .contact__detail a {
    padding: 4px 0;
    display: inline-block;
  }
}

/* ---------- ACTIVE STATES (tap feedback) ---------- */
.btn:active {
  transform: translateY(0) scale(0.98);
}

.service-card:active {
  transform: translateY(-2px) scale(0.99);
}

.nav__link:active {
  opacity: 0.7;
}

.whatsapp-fab:active {
  transform: scale(0.95);
}

.footer__socials a:active {
  transform: scale(0.92);
}

.gallery__item:active .gallery__placeholder {
  transform: scale(1.01);
}

/* ---------- DISABLED STATE ---------- */
.btn:disabled,
.btn[disabled] {
  opacity: 0.4;
  cursor: not-allowed;
  pointer-events: none;
}

/* ---------- SMOOTH SCROLL OFFSET for sticky nav ---------- */
section[id] {
  scroll-margin-top: 5rem;
}

/* ---------- HERO LINE HEIGHT MOBILE FIX ---------- */
@media (max-width: 47.99rem) {
  .hero__title {
    line-height: 0.9;
    letter-spacing: -0.03em;
  }

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

  .hero__actions .btn {
    width: 100%;
    max-width: 280px;
    justify-content: center;
  }
}

/* ---------- FORM UX IMPROVEMENTS ---------- */
.form-input::placeholder {
  transition: opacity var(--duration-fast);
}

.form-input:focus::placeholder {
  opacity: 0.4;
}

.form-select option {
  background: var(--bg-elevated);
  color: var(--text-primary);
}

/* ---------- PRICING TABLE TOUCH ---------- */
.pricing-table__item {
  transition: background var(--duration-fast);
}

@media (pointer: coarse) {
  .pricing-table__item:active {
    background: var(--bg-card-hover);
  }
}

/* ---------- MAP DARK MODE ---------- */
.contact__map iframe {
  filter: brightness(0.75) contrast(1.1) saturate(0.4) hue-rotate(200deg);
}

/* ---------- LINK UNDERLINES IN CONTACT ---------- */
.contact__detail a {
  text-decoration-line: underline;
  text-decoration-color: transparent;
  text-underline-offset: 3px;
  transition: color var(--duration-fast), text-decoration-color var(--duration-fast);
}

.contact__detail a:hover {
  text-decoration-color: var(--accent);
}

/* ---------- FOOTER LINK HOVER UNDERLINES ---------- */
.footer__nav a {
  text-decoration-line: underline;
  text-decoration-color: transparent;
  text-underline-offset: 3px;
  transition: color var(--duration-fast), text-decoration-color var(--duration-fast);
}

.footer__nav a:hover {
  text-decoration-color: currentColor;
}

/* ---------- PRINT STYLES ---------- */
@media print {
  .nav, .whatsapp-fab, .loader, .scroll-progress, .mobile-menu,
  .hero__glow, .hero__noise, .hero__scroll {
    display: none !important;
  }

  body {
    background: #fff;
    color: #111;
  }

  .section-title {
    color: #111;
  }

  .section-label {
    color: #0066cc;
  }
}

/* ---------- CLS PREVENTION ---------- */
.gallery__placeholder {
  aspect-ratio: 16 / 10;
}

.contact__map iframe {
  aspect-ratio: 16 / 9;
}

/* ---------- CONTENT VISIBILITY (below-fold perf) ---------- */
.gallery,
.reviews,
.contact,
.footer {
  content-visibility: auto;
  contain-intrinsic-size: auto 600px;
}

/* ---------- WILL-CHANGE (only for animated elements) ---------- */
.hero__glow {
  will-change: opacity, transform;
}

.whatsapp-fab {
  will-change: transform;
}

/* ---------- REDUCE PAINT (contain layout) ---------- */
.service-card,
.review,
.pricing-table {
  contain: layout style;
}

/* ========================================
   OVERDRIVE — Hero Effects
   ======================================== */

/* ---------- CURSOR GLOW ---------- */
.hero__cursor-glow {
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 136, 255, 0.15) 0%, rgba(0, 136, 255, 0.05) 30%, transparent 60%);
  pointer-events: none;
  z-index: 1;
  opacity: 0;
  transform: translate(-50%, -50%);
  transition: opacity 0.4s ease;
  will-change: left, top;
}

.hero:hover .hero__cursor-glow {
  opacity: 1;
}

/* ---------- FLOATING PARTICLES ---------- */
.hero__particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}

.hero__particle {
  position: absolute;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: rgba(0, 136, 255, 0.4);
  box-shadow: 0 0 6px rgba(0, 136, 255, 0.3);
  animation: particleFloat linear infinite;
}

.hero__particle:nth-child(1) {
  left: 15%;
  top: 20%;
  width: 2px;
  height: 2px;
  animation-duration: 12s;
  animation-delay: 0s;
  opacity: 0.6;
}

.hero__particle:nth-child(2) {
  left: 70%;
  top: 60%;
  animation-duration: 16s;
  animation-delay: -4s;
  opacity: 0.4;
}

.hero__particle:nth-child(3) {
  left: 40%;
  top: 75%;
  width: 2px;
  height: 2px;
  animation-duration: 20s;
  animation-delay: -8s;
  opacity: 0.5;
}

.hero__particle:nth-child(4) {
  left: 85%;
  top: 30%;
  width: 4px;
  height: 4px;
  animation-duration: 14s;
  animation-delay: -2s;
  opacity: 0.3;
}

.hero__particle:nth-child(5) {
  left: 25%;
  top: 50%;
  animation-duration: 18s;
  animation-delay: -6s;
  opacity: 0.35;
}

@keyframes particleFloat {
  0% {
    transform: translate(0, 0) scale(1);
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  50% {
    transform: translate(40px, -60px) scale(1.2);
  }
  90% {
    opacity: 1;
  }
  100% {
    transform: translate(-30px, -120px) scale(0.8);
    opacity: 0;
  }
}

/* ---------- STAGGERED TITLE REVEAL ---------- */
.hero__title-reveal {
  display: block;
  animation: titleReveal 0.9s var(--ease-out-expo) both;
}

.hero__title-reveal--delay {
  animation-delay: 0.15s;
}

@keyframes titleReveal {
  from {
    transform: translateY(100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* GLOW pulse on the accent line after reveal */
.hero__title-line--accent {
  animation:
    titleReveal 0.9s var(--ease-out-expo) 0.15s both,
    glowPulse 4s ease-in-out 1.2s infinite;
}

@keyframes glowPulse {
  0%, 100% {
    text-shadow: 0 0 60px rgba(0, 136, 255, 0.3), 0 0 120px rgba(0, 136, 255, 0.1);
  }
  50% {
    text-shadow: 0 0 80px rgba(0, 136, 255, 0.5), 0 0 160px rgba(0, 136, 255, 0.2);
  }
}

/* ========================================
   DELIGHT — Micro-interactions & Joy
   ======================================== */

/* ---------- SERVICE CARD ICON HOVER ---------- */
.service-card__icon svg {
  transition: transform var(--duration-normal) var(--ease-out-expo);
}

.service-card:hover .service-card__icon svg {
  transform: translateY(-3px) scale(1.08);
}

/* ---------- SERVICE CARD LINK ARROW SLIDE ---------- */
.service-card__link {
  display: inline-flex;
  align-items: center;
  gap: 0.25em;
}

.service-card__link::after {
  content: '';
  display: inline-block;
  width: 0.5em;
  height: 0.5em;
  border-right: 1.5px solid currentColor;
  border-top: 1.5px solid currentColor;
  transform: rotate(45deg) translateX(0);
  transition: transform var(--duration-fast) var(--ease-out-quart);
}

.service-card__link:hover::after {
  transform: rotate(45deg) translateX(3px);
}

/* ---------- WHATSAPP FAB ATTENTION PULSE ---------- */
.whatsapp-fab.is-visible::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background: var(--whatsapp);
  opacity: 0;
  z-index: -1;
  animation: fabPulse 3s ease-out 2s infinite;
}

@keyframes fabPulse {
  0% {
    transform: scale(1);
    opacity: 0.4;
  }
  100% {
    transform: scale(1.8);
    opacity: 0;
  }
}

/* ---------- STAR RATING SHIMMER ---------- */
.review__stars,
.reviews__badge-stars {
  background: linear-gradient(
    90deg,
    var(--gold-light) 0%,
    #fff3c4 40%,
    var(--gold-light) 80%
  );
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: starShimmer 4s ease-in-out infinite;
}

@keyframes starShimmer {
  0%, 100% { background-position: 200% 0; }
  50% { background-position: 0% 0; }
}

/* ---------- NAV LOGO HOVER GLOW ---------- */
.nav__logo-accent {
  transition: text-shadow var(--duration-normal);
}

.nav__logo:hover .nav__logo-accent {
  text-shadow: 0 0 12px rgba(0, 136, 255, 0.5);
}

/* ---------- BUTTON GLOW ON HOVER ---------- */
.btn--primary::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(255,255,255,0.15) 0%, transparent 50%);
  opacity: 0;
  transition: opacity var(--duration-fast);
  pointer-events: none;
}

.btn--primary {
  position: relative;
  overflow: hidden;
}

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

/* ---------- FORM INPUT FOCUS GLOW ---------- */
.form-input:focus {
  box-shadow: 0 0 0 3px rgba(0, 136, 255, 0.1), 0 0 16px -4px rgba(0, 136, 255, 0.2);
}

/* ---------- FORM INPUT VALID CHECK ---------- */
.form-input:focus:valid:not(:placeholder-shown) {
  border-color: var(--success);
  box-shadow: 0 0 0 3px rgba(45, 212, 160, 0.1);
}

/* ---------- REVIEW CARD HOVER LIFT ---------- */
.review {
  transition: border-color var(--duration-normal), transform var(--duration-normal) var(--ease-out-expo), box-shadow var(--duration-normal);
}

.review:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px -8px rgba(0, 0, 0, 0.3);
}

/* ---------- GALLERY LABEL SLIDE-UP ---------- */
.gallery__label {
  transition: transform var(--duration-normal) var(--ease-out-expo), color var(--duration-fast);
  transform: translateY(4px);
}

.gallery__item:hover .gallery__label {
  transform: translateY(0);
}

/* ---------- FOOTER SOCIAL ICON FILL ---------- */
.footer__socials a {
  position: relative;
  overflow: hidden;
}

.footer__socials a::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--accent);
  transform: translateY(100%);
  transition: transform var(--duration-normal) var(--ease-out-expo);
  z-index: -1;
  border-radius: inherit;
}

.footer__socials a:hover::before {
  transform: translateY(0);
}

.footer__socials a:hover {
  color: #fff;
  border-color: var(--accent);
}

/* ---------- SECTION LABEL ACCENT DASH ---------- */
.section-label::before {
  content: '';
  display: inline-block;
  width: 0;
  height: 1.5px;
  background: var(--accent);
  vertical-align: middle;
  margin-right: 0;
  transition: width var(--duration-slow) var(--ease-out-expo), margin-right var(--duration-slow) var(--ease-out-expo);
}

.reveal.is-visible .section-label::before,
.section-label.reveal.is-visible::before {
  width: 1.5rem;
  margin-right: 0.5rem;
}

/* ---------- PRICING TABLE ROW HOVER ---------- */
.pricing-table__item {
  transition: background var(--duration-fast);
  margin-inline: calc(var(--space-xl) * -1);
  padding-inline: var(--space-xl);
}

.pricing-table__item:hover {
  background: var(--bg-card-hover);
}

/* ---------- STAT COUNTER GLOW ON COMPLETE ---------- */
.stat__number.is-counted {
  animation: counterGlow 0.6s var(--ease-out-expo);
}

@keyframes counterGlow {
  0% { text-shadow: 0 0 0 transparent; }
  50% { text-shadow: 0 0 12px rgba(0, 136, 255, 0.4); }
  100% { text-shadow: 0 0 0 transparent; }
}

/* ---------- CONTACT DETAIL ICON HOVER ---------- */
.contact__detail svg {
  transition: color var(--duration-fast), transform var(--duration-fast) var(--ease-out-quart);
}

.contact__detail:hover svg {
  transform: scale(1.1);
  color: var(--accent-bright);
}

/* ---------- SCROLL PROGRESS GLOW ---------- */
.scroll-progress {
  box-shadow: 0 0 8px rgba(0, 136, 255, 0.3);
}

/* ---------- REDUCED MOTION OVERRIDE ---------- */
@media (prefers-reduced-motion: reduce) {
  .hero__cursor-glow,
  .hero__particles {
    display: none;
  }

  .hero__title-reveal,
  .hero__title-line--accent {
    animation: none;
    opacity: 1;
    transform: none;
    text-shadow: 0 0 60px rgba(0, 136, 255, 0.3), 0 0 120px rgba(0, 136, 255, 0.1);
  }

  .hero__particle {
    animation: none;
  }

  .whatsapp-fab.is-visible::before {
    animation: none;
    display: none;
  }

  .review__stars,
  .reviews__badge-stars {
    animation: none;
    background-position: 0 0;
  }

  .stat__number.is-counted {
    animation: none;
  }

  .section-label::before {
    width: 1.5rem;
    margin-right: 0.5rem;
  }
}
