/* ============================================
   G&G ELECTRICIDAD — Design System
   Electricidad del Automotor | Plottier, Neuquén
   ============================================ */

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

/* ---------- CSS Custom Properties ---------- */
:root {
  /* Brand Colors */
  --black: #000000;
  --bg-dark: #0a0a0a;
  --bg-card: #111111;
  --bg-card-hover: #1a1a1a;
  --orange: #f2700d;
  --orange-light: #ff8c33;
  --yellow: #ffc107;
  --gray-100: #f5f5f5;
  --gray-200: #e0e0e0;
  --gray-300: #b0b0b0;
  --gray-400: #888888;
  --gray-500: #555555;
  --gray-700: #2a2a2a;
  --white: #ffffff;
  --gradient-energy: linear-gradient(135deg, var(--orange), var(--yellow));
  --gradient-energy-hover: linear-gradient(135deg, var(--orange-light), var(--yellow));
  --gradient-dark: linear-gradient(180deg, #0a0a0a 0%, #111111 100%);
  --gradient-hero: linear-gradient(135deg, rgba(0, 0, 0, 0.85) 0%, rgba(10, 10, 10, 0.7) 50%, rgba(0, 0, 0, 0.9) 100%);

  /* Typography */
  --font-heading: 'Montserrat', sans-serif;
  --font-body: 'Lato', sans-serif;

  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2.5rem;
  --space-xl: 4rem;
  --space-2xl: 6rem;

  /* Border Radius */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;

  /* Shadows */
  --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.4);
  --shadow-card-hover: 0 8px 40px rgba(242, 112, 13, 0.15);
  --shadow-glow: 0 0 30px rgba(242, 112, 13, 0.25);
  --shadow-btn: 0 4px 16px rgba(242, 112, 13, 0.3);

  /* Transitions */
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);

  /* Layout */
  --max-width: 1200px;
  --header-height: 90px;
}

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

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

body {
  font-family: var(--font-body);
  background-color: var(--bg-dark);
  color: var(--gray-200);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

a:hover {
  color: var(--orange-light);
}

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

ul {
  list-style: none;
}

/* ---------- Container ---------- */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-md);
}

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

h1 {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 800;
}

h2 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
}

h3 {
  font-size: clamp(1.2rem, 3vw, 1.5rem);
}

h4 {
  font-size: 1.1rem;
}

.section-title {
  text-align: center;
  margin-bottom: var(--space-xl);
  position: relative;
}

.section-title h2 {
  margin-bottom: var(--space-xs);
}

.section-title .accent-line {
  width: 60px;
  height: 4px;
  background: var(--gradient-energy);
  margin: var(--space-sm) auto 0;
  border-radius: 2px;
}

.section-title p {
  color: var(--gray-400);
  margin-top: var(--space-sm);
  font-size: 1.05rem;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  border: none;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: var(--transition);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  text-decoration: none;
}

.btn-primary {
  background: var(--gradient-energy);
  color: var(--black);
  box-shadow: var(--shadow-btn);
}

.btn-primary:hover {
  background: var(--gradient-energy-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
  color: var(--black);
}

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

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

.btn-whatsapp {
  background: #25d366;
  color: var(--white);
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp:hover {
  background: #20bd5a;
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.4);
  color: var(--white);
}

.btn-sm {
  padding: 10px 24px;
  font-size: 0.9rem;
}

/* ---------- HEADER / NAV ---------- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 1000;
  border-bottom: 1px solid rgba(242, 112, 13, 0.1);
  transition: var(--transition);
}

.header.scrolled {
  background: rgba(0, 0, 0, 0.98);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

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

.header__logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.header__logo img {
  height: 70px;
  width: auto;
  filter: drop-shadow(0 0 8px rgba(242, 112, 13, 0.3));
}

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

.header__logo-text span {
  color: var(--orange);
}

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

.nav__link {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--gray-300);
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 8px 0;
  position: relative;
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-energy);
  transition: var(--transition);
}

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

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

.nav__cta {
  padding: 10px 24px;
  background: var(--gradient-energy);
  color: var(--black) !important;
  font-family: var(--font-heading);
  font-weight: 700;
  border-radius: var(--radius-md);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.nav__cta:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
}

.nav__cta::after {
  display: none;
}

/* Mobile Toggle */
.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
}

.nav__toggle span {
  width: 28px;
  height: 3px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}

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

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

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

/* ---------- HERO ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: var(--header-height);
}

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

/* Hero Slideshow */
.hero__slideshow {
  position: absolute;
  inset: 0;
}

.hero__slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
  transform: scale(1);
  animation: none;
}

.hero__slide.active {
  opacity: 1;
  animation: kenBurns 6s ease-in-out forwards;
}

@keyframes kenBurns {
  0% {
    transform: scale(1);
  }

  100% {
    transform: scale(1.08);
  }
}

/* Slide indicators */
.hero__indicators {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 5;
}

.hero__indicator {
  width: 40px;
  height: 4px;
  background: rgba(255, 255, 255, 0.25);
  border-radius: 2px;
  cursor: pointer;
  transition: all 0.4s ease;
  border: none;
  padding: 0;
}

.hero__indicator.active {
  background: var(--orange);
  width: 60px;
  box-shadow: 0 0 12px rgba(242, 112, 13, 0.5);
}

/* ---------- 3D CARD FLIP ---------- */
.flip-card {
  perspective: 1000px;
  min-height: 220px;
}

.flip-card__inner {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 220px;
  transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
  transform-style: preserve-3d;
}

.flip-card:hover .flip-card__inner {
  transform: rotateY(180deg);
}

.flip-card__front,
.flip-card__back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.flip-card__front {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.05);
  padding: var(--space-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.flip-card__back {
  background: linear-gradient(135deg, #1a1a1a 0%, #0d0d0d 100%);
  border: 1px solid rgba(242, 112, 13, 0.4);
  transform: rotateY(180deg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: var(--space-md) var(--space-sm);
  text-align: center;
}

.flip-card__back h3 {
  color: var(--orange);
  margin-bottom: var(--space-xs);
  font-size: 1.05rem;
}

.flip-card__back p {
  color: var(--gray-200);
  font-size: 0.85rem;
  line-height: 1.5;
  margin-bottom: var(--space-sm);
}

/* CTA button on flip card back */
.btn-flip-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: #25d366;
  color: #fff !important;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.85rem;
  border-radius: var(--radius-md);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: var(--transition);
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.35);
  white-space: nowrap;
}

.btn-flip-cta:hover {
  background: #20bd5a;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
  color: #fff !important;
}

.btn-flip-cta svg {
  flex-shrink: 0;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: var(--gradient-hero);
  z-index: -1;
}

.hero__content {
  max-width: 700px;
  padding: var(--space-xl) 0;
  animation: fadeInUp 0.8s ease-out;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  background: rgba(242, 112, 13, 0.12);
  border: 1px solid rgba(242, 112, 13, 0.3);
  border-radius: 50px;
  color: var(--orange);
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: var(--space-md);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.hero__title {
  margin-bottom: var(--space-md);
}

.hero__title .highlight {
  background: var(--gradient-energy);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__subtitle {
  font-size: 1.2rem;
  color: var(--gray-300);
  margin-bottom: var(--space-lg);
  line-height: 1.8;
}

.hero__actions {
  display: flex;
  gap: var(--space-sm);
  flex-wrap: wrap;
  margin-bottom: var(--space-lg);
}

.hero__filter {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  color: var(--gray-400);
  font-size: 0.85rem;
}

.hero__filter svg {
  color: var(--orange);
  flex-shrink: 0;
}

/* ---------- SECTION SPACING ---------- */
section {
  padding: var(--space-2xl) 0;
}

/* ---------- QUÉ RESOLVEMOS (Services Quick) ---------- */
.services-quick {
  background: var(--black);
  position: relative;
}

.services-quick::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 70%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--orange), transparent);
}

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

.service-quick-card {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  text-align: center;
  transition: var(--transition);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.service-quick-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-energy);
  transform: scaleX(0);
  transition: var(--transition);
}

.service-quick-card:hover {
  background: var(--bg-card-hover);
  border-color: rgba(242, 112, 13, 0.15);
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
}

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

.service-quick-card__icon {
  width: 64px;
  height: 64px;
  background: rgba(242, 112, 13, 0.1);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-md);
  transition: var(--transition);
}

.service-quick-card:hover .service-quick-card__icon {
  background: rgba(242, 112, 13, 0.2);
  transform: scale(1.1);
}

.service-quick-card__icon svg {
  width: 32px;
  height: 32px;
  color: var(--orange);
}

.service-quick-card h3 {
  font-size: 1.1rem;
  margin-bottom: var(--space-xs);
}

.service-quick-card p {
  color: var(--gray-400);
  font-size: 0.9rem;
}

/* ---------- PROCESO ---------- */
.process {
  background: var(--gradient-dark);
}

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

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

.process-step__number {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--gradient-energy);
  color: var(--black);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-sm);
  position: relative;
  z-index: 1;
}

.process-step h4 {
  margin-bottom: var(--space-xs);
}

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

/* ---------- SERVICIOS GRID ---------- */
.services-grid {
  background: var(--black);
}

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

.service-card {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  border-color: rgba(242, 112, 13, 0.2);
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
}

.service-card__icon {
  width: 48px;
  height: 48px;
  background: rgba(242, 112, 13, 0.1);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-sm);
}

.service-card__icon svg {
  width: 24px;
  height: 24px;
  color: var(--orange);
}

.service-card h3 {
  font-size: 1.05rem;
  margin-bottom: var(--space-xs);
}

.service-card p {
  color: var(--gray-400);
  font-size: 0.9rem;
  flex: 1;
}

.service-card__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: var(--space-sm);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--orange);
}

.service-card__link:hover {
  gap: 12px;
}

/* ---------- CONFIANZA ---------- */
.trust {
  background: var(--gradient-dark);
  position: relative;
  overflow: hidden;
}

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

.trust-item {
  text-align: center;
  padding: var(--space-lg);
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-lg);
  transition: var(--transition);
}

.trust-item:hover {
  border-color: rgba(242, 112, 13, 0.15);
  background: rgba(242, 112, 13, 0.03);
}

.trust-item__icon {
  width: 56px;
  height: 56px;
  background: rgba(242, 112, 13, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-sm);
}

.trust-item__icon svg {
  width: 28px;
  height: 28px;
  color: var(--orange);
}

.trust-item h4 {
  margin-bottom: var(--space-xs);
  font-size: 1rem;
}

.trust-item p {
  color: var(--gray-400);
  font-size: 0.85rem;
}

/* ---------- TESTIMONIOS ---------- */
.testimonials {
  background: var(--black);
}

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

.testimonial-card {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  position: relative;
}

.testimonial-card__stars {
  display: flex;
  gap: 4px;
  margin-bottom: var(--space-sm);
}

.testimonial-card__stars svg {
  width: 18px;
  height: 18px;
  color: var(--yellow);
  fill: var(--yellow);
}

.testimonial-card__text {
  font-style: italic;
  color: var(--gray-300);
  margin-bottom: var(--space-md);
  font-size: 0.95rem;
  line-height: 1.8;
}

.testimonial-card__author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-card__avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--gradient-energy);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 800;
  color: var(--black);
}

.testimonial-card__name {
  font-weight: 700;
  color: var(--white);
  font-size: 0.95rem;
}

.testimonial-card__vehicle {
  color: var(--gray-400);
  font-size: 0.8rem;
}

/* ---------- FAQ ---------- */
.faq {
  background: var(--gradient-dark);
}

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

.faq-item {
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-sm);
  overflow: hidden;
  transition: var(--transition);
}

.faq-item:hover {
  border-color: rgba(242, 112, 13, 0.15);
}

.faq-item__question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-md) var(--space-md);
  cursor: pointer;
  background: var(--bg-card);
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--white);
  font-size: 1rem;
  border: none;
  width: 100%;
  text-align: left;
}

.faq-item__question svg {
  width: 20px;
  height: 20px;
  color: var(--orange);
  transition: var(--transition);
  flex-shrink: 0;
}

.faq-item.active .faq-item__question svg {
  transform: rotate(180deg);
}

.faq-item__answer {
  padding: 0 var(--space-md);
  max-height: 0;
  overflow: hidden;
  background: var(--bg-card);
  transition: max-height 0.4s ease, padding 0.4s ease;
  color: var(--gray-300);
  font-size: 0.95rem;
  line-height: 1.8;
}

.faq-item.active .faq-item__answer {
  max-height: 300px;
  padding: 0 var(--space-md) var(--space-md);
}

/* ---------- CTA FINAL ---------- */
.cta-final {
  background: var(--black);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-final::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(242, 112, 13, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

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

.cta-final h2 {
  margin-bottom: var(--space-sm);
}

.cta-final p {
  color: var(--gray-400);
  margin-bottom: var(--space-lg);
  font-size: 1.1rem;
}

.cta-final__actions {
  display: flex;
  justify-content: center;
  gap: var(--space-sm);
  flex-wrap: wrap;
}

/* ---------- FOOTER ---------- */
.footer {
  background: var(--black);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: var(--space-xl) 0 var(--space-md);
}

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

.footer__brand p {
  color: var(--gray-400);
  font-size: 0.9rem;
  margin-top: var(--space-sm);
  line-height: 1.8;
}

.footer__social {
  display: flex;
  gap: 12px;
  margin-top: var(--space-md);
}

.footer__social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-300);
  transition: var(--transition);
}

.footer__social a:hover {
  background: var(--orange);
  color: var(--black);
}

.footer h4 {
  margin-bottom: var(--space-md);
  font-size: 0.95rem;
  color: var(--orange);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer__links li {
  margin-bottom: var(--space-xs);
}

.footer__links a {
  color: var(--gray-400);
  font-size: 0.9rem;
}

.footer__links a:hover {
  color: var(--orange);
}

.footer__contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: var(--space-sm);
  color: var(--gray-400);
  font-size: 0.9rem;
}

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

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: var(--space-md);
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--gray-500);
  font-size: 0.8rem;
}

/* ---------- WHATSAPP FLOATING ---------- */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #25d366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 24px rgba(37, 211, 102, 0.4);
  transition: var(--transition);
  animation: pulse-wa 2s infinite;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 32px rgba(37, 211, 102, 0.5);
}

.whatsapp-float svg {
  width: 34px;
  height: 34px;
  fill: var(--white);
}

@keyframes pulse-wa {

  0%,
  100% {
    box-shadow: 0 4px 24px rgba(37, 211, 102, 0.4);
  }

  50% {
    box-shadow: 0 4px 40px rgba(37, 211, 102, 0.6);
  }
}

/* ---------- ANIMATIONS ---------- */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: var(--transition-slow);
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1024px) {
  .services-quick__grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

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

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

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

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

@media (max-width: 768px) {
  :root {
    --header-height: 80px;
  }

  .header__logo img {
    height: 55px;
  }

  .nav__toggle {
    display: flex;
  }

  .nav__list {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 300px;
    height: 100vh;
    background: rgba(0, 0, 0, 0.98);
    flex-direction: column;
    align-items: flex-start;
    padding: calc(var(--header-height) + var(--space-lg)) var(--space-lg);
    gap: var(--space-sm);
    transition: var(--transition-slow);
    border-left: 1px solid rgba(242, 112, 13, 0.15);
  }

  .nav__list.open {
    right: 0;
  }

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

  .hero__actions {
    flex-direction: column;
  }

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

  .services-quick__grid,
  .process__steps,
  .services__cards,
  .trust__grid,
  .testimonials__slider {
    grid-template-columns: 1fr;
  }

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

  .footer__bottom {
    flex-direction: column;
    gap: var(--space-xs);
    text-align: center;
  }

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

@media (max-width: 480px) {
  .btn {
    padding: 12px 24px;
    font-size: 0.9rem;
    width: 100%;
    justify-content: center;
  }

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

  .whatsapp-float {
    bottom: 16px;
    right: 16px;
    width: 56px;
    height: 56px;
  }
}

/* ---------- TURNOS PAGE ---------- */
.turnos-page {
  padding-top: calc(var(--header-height) + var(--space-xl));
  min-height: 100vh;
}

.turnos-form {
  max-width: 700px;
  margin: 0 auto;
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-xl);
  padding: var(--space-xl);
}

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

.form-group label {
  display: block;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--gray-200);
  margin-bottom: var(--space-xs);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 18px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 1rem;
  transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(242, 112, 13, 0.1);
}

.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' fill='%23f2700d' viewBox='0 0 24 24'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
}

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

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

  .turnos-form {
    padding: var(--space-lg);
    margin: 0 var(--space-sm);
  }
}

.form-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: var(--space-md);
}

.form-consent input[type="checkbox"] {
  width: 20px;
  height: 20px;
  accent-color: var(--orange);
  margin-top: 2px;
}

.form-consent label {
  font-size: 0.85rem;
  color: var(--gray-400);
}

/* ============================================
   ADVANCED EFFECTS — Retention & Engagement
   ============================================ */

/* ---------- Electric Particles Canvas ---------- */
#particles-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

/* ---------- Parallax Background ---------- */
.hero__bg img {
  transition: transform 0.1s linear;
}

/* ---------- Staggered Animations ---------- */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1),
    transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

.animate-on-scroll:nth-child(2) {
  transition-delay: 0.1s;
}

.animate-on-scroll:nth-child(3) {
  transition-delay: 0.2s;
}

.animate-on-scroll:nth-child(4) {
  transition-delay: 0.3s;
}

.animate-on-scroll:nth-child(5) {
  transition-delay: 0.35s;
}

.animate-on-scroll:nth-child(6) {
  transition-delay: 0.4s;
}

.animate-on-scroll:nth-child(7) {
  transition-delay: 0.45s;
}

.animate-on-scroll:nth-child(8) {
  transition-delay: 0.5s;
}

.animate-on-scroll:nth-child(9) {
  transition-delay: 0.55s;
}

/* ---------- Glowing Card Borders on Hover ---------- */
.service-quick-card::after,
.service-card::after {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--orange), var(--yellow), transparent, transparent);
  z-index: -1;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.service-quick-card:hover::after,
.service-card:hover::after {
  opacity: 0.3;
}

.service-card {
  position: relative;
  overflow: hidden;
}

/* ---------- Card Shine Effect ---------- */
.service-quick-card .shine,
.service-card .shine {
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.04), transparent);
  transform: skewX(-15deg);
  transition: none;
}

.service-quick-card:hover .shine,
.service-card:hover .shine {
  animation: shineMove 0.8s ease forwards;
}

@keyframes shineMove {
  to {
    left: 150%;
  }
}

/* ---------- Process Timeline (improved) ---------- */
.process__steps {
  position: relative;
}

.process__steps::before {
  content: '';
  position: absolute;
  top: 28px;
  left: 16.6%;
  right: 16.6%;
  height: 3px;
  background: var(--gray-700);
  z-index: 0;
}

.process__progress-bar {
  position: absolute;
  top: 28px;
  left: 16.6%;
  height: 3px;
  background: var(--gradient-energy);
  width: 0;
  z-index: 1;
  transition: width 1.5s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: var(--shadow-glow);
}

.process__steps.animated .process__progress-bar {
  width: 66.8%;
}

.process-step {
  z-index: 2;
  background: transparent;
}

.process-step__number {
  box-shadow: 0 0 0 6px var(--bg-dark);
  transition: var(--transition);
}

.process-step:hover .process-step__number {
  transform: scale(1.15);
  box-shadow: 0 0 0 6px var(--bg-dark), var(--shadow-glow);
}

/* Process step icon (humanized) */
.process-step__icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--gradient-energy);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-sm);
  position: relative;
  z-index: 1;
  box-shadow: 0 0 0 6px var(--bg-dark);
  transition: var(--transition);
}

.process-step:hover .process-step__icon {
  transform: scale(1.15);
  box-shadow: 0 0 0 6px var(--bg-dark), var(--shadow-glow);
}

.process-step__icon svg {
  width: 26px;
  height: 26px;
  color: var(--black);
  stroke-width: 2.5;
}

/* ---------- Counter Animation ---------- */
.stat-counter {
  display: flex;
  justify-content: center;
  gap: var(--space-xl);
  padding: var(--space-xl) 0;
  flex-wrap: wrap;
}

.stat-item {
  text-align: center;
}

.stat-item__number {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 800;
  background: var(--gradient-energy);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-item__label {
  font-size: 0.9rem;
  color: var(--gray-400);
  margin-top: 4px;
}

/* ---------- Typing Effect ---------- */
.typing-text {
  display: inline;
  border-right: 3px solid var(--orange);
  animation: blink-caret 0.8s step-end infinite;
}

@keyframes blink-caret {

  from,
  to {
    border-color: transparent;
  }

  50% {
    border-color: var(--orange);
  }
}

/* ---------- Tilt 3D on Cards ---------- */
.tilt-card {
  transform-style: preserve-3d;
  perspective: 1000px;
}

/* ---------- Section Divider (Electric Line) ---------- */
.electric-divider {
  width: 100%;
  height: 2px;
  position: relative;
  overflow: hidden;
  margin: 0;
}

.electric-divider::before {
  content: '';
  position: absolute;
  width: 100px;
  height: 100%;
  background: var(--gradient-energy);
  box-shadow: 0 0 15px var(--orange), 0 0 30px var(--orange);
  animation: electricSlide 3s ease-in-out infinite;
}

@keyframes electricSlide {
  0% {
    left: -100px;
  }

  100% {
    left: 100%;
  }
}

/* ---------- Hero Glow Pulse ---------- */
.hero::after {
  content: '';
  position: absolute;
  bottom: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 200px;
  background: radial-gradient(ellipse, rgba(242, 112, 13, 0.12) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
  animation: heroPulse 4s ease-in-out infinite;
}

@keyframes heroPulse {

  0%,
  100% {
    opacity: 0.5;
    transform: translateX(-50%) scale(1);
  }

  50% {
    opacity: 1;
    transform: translateX(-50%) scale(1.2);
  }
}

/* ---------- Enhanced WhatsApp Float ---------- */
.whatsapp-float::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background: #25d366;
  opacity: 0;
  animation: wa-ring 2s ease-out infinite;
}

@keyframes wa-ring {
  0% {
    transform: scale(1);
    opacity: 0.5;
  }

  100% {
    transform: scale(1.6);
    opacity: 0;
  }
}

/* ---------- Enhanced Testimonial Hover ---------- */
.testimonial-card {
  transition: var(--transition);
}

.testimonial-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(242, 112, 13, 0.1);
  border-color: rgba(242, 112, 13, 0.15);
}

/* ---------- Hero Title Letter Animation ---------- */
@keyframes letterGlow {

  0%,
  100% {
    text-shadow: none;
  }

  50% {
    text-shadow: 0 0 20px rgba(242, 112, 13, 0.3);
  }
}

.hero__title {
  animation: letterGlow 4s ease-in-out infinite;
}

/* ---------- Scroll Progress Bar ---------- */
.scroll-progress {
  position: fixed;
  top: var(--header-height);
  left: 0;
  height: 3px;
  background: var(--gradient-energy);
  z-index: 1001;
  transition: width 0.1s linear;
  box-shadow: 0 0 10px rgba(242, 112, 13, 0.5);
}

/* ---------- Magnetic Button Effect ---------- */
.btn-primary,
.btn-whatsapp {
  position: relative;
  overflow: hidden;
}

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

.btn-primary:hover::after,
.btn-whatsapp:hover::after {
  width: 300px;
  height: 300px;
}

@media (max-width: 768px) {

  .process__steps::before,
  .process__progress-bar {
    display: none;
  }

  .stat-counter {
    gap: var(--space-lg);
  }

  .stat-item__number {
    font-size: 2.2rem;
  }
}

/* ============================================
   DRAMATIC SECTION TRANSITIONS
   ============================================ */

/* --- Slide from Left --- */
.reveal-left {
  opacity: 0;
  transform: translateX(-80px);
  transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* --- Slide from Right --- */
.reveal-right {
  opacity: 0;
  transform: translateX(80px);
  transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* --- Zoom In --- */
.reveal-zoom {
  opacity: 0;
  transform: scale(0.7);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-zoom.visible {
  opacity: 1;
  transform: scale(1);
}

/* --- Flip Up --- */
.reveal-flip {
  opacity: 0;
  transform: perspective(600px) rotateX(15deg) translateY(50px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-flip.visible {
  opacity: 1;
  transform: perspective(600px) rotateX(0) translateY(0);
}

/* --- Scale + Rotate --- */
.reveal-rotate {
  opacity: 0;
  transform: scale(0.85) rotate(-3deg);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-rotate.visible {
  opacity: 1;
  transform: scale(1) rotate(0);
}

/* --- Text Glitch / Reveal Effect --- */
.text-reveal {
  position: relative;
  overflow: hidden;
  display: inline-block;
}

.text-reveal::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--gradient-energy);
  transform: translateX(-101%);
}

.text-reveal.visible::after {
  animation: textWipe 0.8s cubic-bezier(0.77, 0, 0.175, 1) forwards;
}

@keyframes textWipe {
  0% {
    transform: translateX(-101%);
  }

  50% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(101%);
  }
}

/* --- Section Wipe Background --- */
.section-wipe {
  position: relative;
  overflow: hidden;
}

.section-wipe::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(242, 112, 13, 0.05);
  transform: translateX(-100%);
  z-index: 0;
}

.section-wipe.visible::before {
  animation: sectionWipe 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes sectionWipe {
  0% {
    transform: translateX(-100%);
  }

  100% {
    transform: translateX(0);
    opacity: 0;
  }
}

/* --- Floating animation for hero badge --- */
.hero__badge {
  animation: floatBadge 3s ease-in-out infinite;
}

@keyframes floatBadge {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-8px);
  }
}

/* --- CTA section background pulse --- */
.cta-final {
  position: relative;
}

.cta-final::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at center, rgba(242, 112, 13, 0.06) 0%, transparent 60%);
  animation: ctaPulse 3s ease-in-out infinite;
  pointer-events: none;
}

@keyframes ctaPulse {

  0%,
  100% {
    opacity: 0.3;
    transform: scale(1);
  }

  50% {
    opacity: 1;
    transform: scale(1.1);
  }
}

/* --- Enhanced footer logo --- */
.footer__brand img {
  filter: drop-shadow(0 0 12px rgba(242, 112, 13, 0.4));
  height: 60px !important;
}

/* ============================================
   STUDIO DIALECT — Inspired Effects
   ============================================ */

/* ---------- Letter-by-Letter Text Reveal ---------- */
.split-text .char {
  display: inline-block;
  opacity: 0;
  transform: translateY(60px) rotateX(-40deg);
  transition: opacity 0.5s ease, transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.split-text.visible .char {
  opacity: 1;
  transform: translateY(0) rotateX(0);
}

.split-text .char-space {
  display: inline-block;
  width: 0.3em;
}

/* ---------- 3D Cylindrical Carousel ---------- */
.carousel-3d {
  width: 100%;
  padding: var(--space-xl) 0;
  overflow: hidden;
  background: var(--black);
  position: relative;
}

.carousel-3d__wrapper {
  perspective: 1200px;
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.carousel-3d__track {
  width: 280px;
  height: 380px;
  position: relative;
  transform-style: preserve-3d;
  animation: carouselSpin 20s linear infinite;
}

.carousel-3d__track:hover {
  animation-play-state: paused;
}

.carousel-3d__item {
  position: absolute;
  width: 260px;
  height: 360px;
  top: 10px;
  left: 10px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  backface-visibility: hidden;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(242, 112, 13, 0.15);
  transition: box-shadow 0.3s ease;
}

.carousel-3d__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.85) contrast(1.1);
  transition: filter 0.3s ease;
}

.carousel-3d__item:hover img {
  filter: saturate(1.1) contrast(1.15);
}

.carousel-3d__item:nth-child(1) {
  transform: rotateY(0deg) translateZ(480px);
}

.carousel-3d__item:nth-child(2) {
  transform: rotateY(36deg) translateZ(480px);
}

.carousel-3d__item:nth-child(3) {
  transform: rotateY(72deg) translateZ(480px);
}

.carousel-3d__item:nth-child(4) {
  transform: rotateY(108deg) translateZ(480px);
}

.carousel-3d__item:nth-child(5) {
  transform: rotateY(144deg) translateZ(480px);
}

.carousel-3d__item:nth-child(6) {
  transform: rotateY(180deg) translateZ(480px);
}

.carousel-3d__item:nth-child(7) {
  transform: rotateY(216deg) translateZ(480px);
}

.carousel-3d__item:nth-child(8) {
  transform: rotateY(252deg) translateZ(480px);
}

.carousel-3d__item:nth-child(9) {
  transform: rotateY(288deg) translateZ(480px);
}

.carousel-3d__item:nth-child(10) {
  transform: rotateY(324deg) translateZ(480px);
}

@keyframes carouselSpin {
  from {
    transform: rotateY(0);
  }

  to {
    transform: rotateY(-360deg);
  }
}

.carousel-3d__glow {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  height: 120px;
  background: radial-gradient(ellipse, rgba(242, 112, 13, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

/* ---------- Marquee / Ticker ---------- */
.marquee {
  width: 100%;
  overflow: hidden;
  background: var(--black);
  padding: var(--space-md) 0;
  border-top: 1px solid rgba(242, 112, 13, 0.1);
  border-bottom: 1px solid rgba(242, 112, 13, 0.1);
}

.marquee__track {
  display: flex;
  width: max-content;
  animation: marqueeScroll 25s linear infinite;
}

.marquee:hover .marquee__track {
  animation-play-state: paused;
}

.marquee__item {
  white-space: nowrap;
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: rgba(255, 255, 255, 0.08);
  padding: 0 var(--space-lg);
  -webkit-text-stroke: 1px rgba(242, 112, 13, 0.2);
  transition: color 0.3s ease;
}

.marquee__item:hover {
  color: var(--orange);
  -webkit-text-stroke: 0px;
}

.marquee__separator {
  color: var(--orange);
  padding: 0 var(--space-sm);
  font-size: clamp(1.2rem, 2.5vw, 2rem);
}

@keyframes marqueeScroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

/* ---------- Cursor Coordinates (Nav) ---------- */
.cursor-coords {
  font-family: 'Geist Mono', 'Courier New', monospace;
  font-size: 0.7rem;
  color: var(--gray-500);
  letter-spacing: 1px;
  opacity: 0.6;
  padding: 4px 12px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 50px;
  display: none;
}

/* ---------- Sticky Section Reveal ---------- */
.sticky-reveal {
  position: relative;
}

.sticky-reveal__content {
  position: sticky;
  top: var(--header-height);
  z-index: 2;
}

/* ---------- Horizontal Scroll ---------- */
.h-scroll-section {
  overflow: hidden;
  padding: var(--space-2xl) 0;
  background: var(--black);
}

.h-scroll__track {
  display: flex;
  gap: var(--space-md);
  transition: transform 0.1s linear;
  will-change: transform;
}

.h-scroll__card {
  min-width: 350px;
  height: 250px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.05);
  position: relative;
  flex-shrink: 0;
}

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

.h-scroll__card:hover img {
  transform: scale(1.08);
}

.h-scroll__card__overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: var(--space-md);
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.85));
  color: var(--white);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.1rem;
}

@media (min-width: 769px) {
  .cursor-coords {
    display: inline-block;
  }
}

@media (max-width: 768px) {
  .carousel-3d__wrapper {
    height: 300px;
  }

  .carousel-3d__track {
    width: 180px;
    height: 260px;
  }

  .carousel-3d__item {
    width: 160px;
    height: 240px;
  }

  .carousel-3d__item:nth-child(1) {
    transform: rotateY(0deg) translateZ(280px);
  }

  .carousel-3d__item:nth-child(2) {
    transform: rotateY(36deg) translateZ(280px);
  }

  .carousel-3d__item:nth-child(3) {
    transform: rotateY(72deg) translateZ(280px);
  }

  .carousel-3d__item:nth-child(4) {
    transform: rotateY(108deg) translateZ(280px);
  }

  .carousel-3d__item:nth-child(5) {
    transform: rotateY(144deg) translateZ(280px);
  }

  .carousel-3d__item:nth-child(6) {
    transform: rotateY(180deg) translateZ(280px);
  }

  .carousel-3d__item:nth-child(7) {
    transform: rotateY(216deg) translateZ(280px);
  }

  .carousel-3d__item:nth-child(8) {
    transform: rotateY(252deg) translateZ(280px);
  }

  .carousel-3d__item:nth-child(9) {
    transform: rotateY(288deg) translateZ(280px);
  }

  .carousel-3d__item:nth-child(10) {
    transform: rotateY(324deg) translateZ(280px);
  }

  .h-scroll__card {
    min-width: 280px;
    height: 200px;
  }

  .marquee__item {
    font-size: 1.2rem;
  }
}