/* ==========================================================
   KING STYLE BARBER · Funza
   Mobile-First | Glassmorphism | 3D Carousel
   ========================================================== */

/* ===== 1. VARIABLES CSS (personalizables) ===== */
:root {
  --color-primary: #0d0d0d;
  --color-accent: #d4a853;
  --color-accent-hover: #c49a40;
  --color-accent-glow: #ffb347;
  --color-neon: #ff6b00;
  --color-dark: #111;
  --color-dark-alt: #1a1a2e;
  --color-glass-bg: rgba(255, 255, 255, 0.06);
  --color-glass-border: rgba(255, 255, 255, 0.1);
  --color-glass-shadow: rgba(0, 0, 0, 0.4);
  --color-text: #f0f0f0;
  --color-text-muted: #aaa;
  --color-white: #fff;
  --color-bg: #0a0a0a;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --wa-number: "573101234567";
  --font-heading: 'Playfair Display', Georgia, serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Noto Color Emoji';
  --font-body: 'Inter', system-ui, -apple-system, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Noto Color Emoji';
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== 2. RESET Y BASE ===== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

body {
  font-family: var(--font-body);
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
}

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

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

ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: 72px 0;
}

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

.section--gold {
  background: linear-gradient(135deg, #1a1206, #2a1f0a);
  text-align: center;
}

.section__tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 12px;
}

.section__title {
  font-family: var(--font-heading);
  font-size: 1.85rem;
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 16px;
}

.section--gold .section__title {
  color: var(--color-accent);
}

.section__desc {
  color: var(--color-text-muted);
  font-size: 1rem;
  max-width: 540px;
  margin: 0 auto 32px;
}

.section__cta {
  text-align: center;
  margin-top: 40px;
}

/* ===== 3. BOTONES ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  border: 2px solid transparent;
  white-space: nowrap;
}

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

.btn--primary:hover {
  background: var(--color-accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(212, 168, 83, 0.3);
}

.btn--ghost {
  background: transparent;
  color: var(--color-accent);
  border-color: var(--color-accent);
}

.btn--ghost:hover {
  background: rgba(212, 168, 83, 0.1);
  transform: translateY(-2px);
}

.btn--large {
  padding: 18px 40px;
  font-size: 1.05rem;
}

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

/* ===== 4. HEADER GLASSMORPHISM ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(10, 10, 10, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transition: var(--transition);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
}

.header__logo {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--color-white);
}

.header__logo-icon {
  font-size: 1.2rem;
}

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

.logo__icon { margin-right: 8px; flex-shrink: 0; transition: transform 0.3s ease; }
a:hover .logo__icon { transform: scale(1.1) rotate(-5deg); }

/* ---- NAV TOGGLE (Mobile) ---- */
.nav-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 1001;
}

.nav-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--color-white);
  border-radius: 2px;
  transition: var(--transition);
}

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

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

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

/* ---- NAV (Mobile Hidden) ---- */
.nav {
  position: fixed;
  top: 0;
  right: -100%;
  width: 75%;
  max-width: 320px;
  height: 100vh;
  background: rgba(10, 10, 10, 0.97);
  backdrop-filter: blur(30px);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 999;
  border-left: 1px solid rgba(212, 168, 83, 0.15);
}

.nav--open {
  right: 0;
}

.nav__list {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.nav__link {
  display: block;
  padding: 14px 48px;
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--color-text-muted);
  transition: var(--transition);
  border-radius: var(--radius-sm);
  text-align: center;
}

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

.nav__link--active {
  color: var(--color-accent);
  font-weight: 600;
}

.nav__link--cta {
  background: var(--color-accent);
  color: var(--color-primary) !important;
  font-weight: 700;
  margin-top: 8px;
}

/* ===== 5. HERO FULLSCREEN ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    url('assets/images/hero-barber.jpg') center / cover no-repeat,
    radial-gradient(ellipse at 20% 50%, rgba(212, 168, 83, 0.08) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 20%, rgba(255, 107, 0, 0.05) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 100%, rgba(212, 168, 83, 0.06) 0%, transparent 40%);
  animation: heroGlow 8s ease-in-out infinite alternate;
}

@keyframes heroGlow {
  0% { opacity: 0.7; transform: scale(1); }
  100% { opacity: 1; transform: scale(1.05); }
}

.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(10,10,10,0.3) 0%, rgba(10,10,10,0.8) 100%);
}

.hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 100px 20px 60px;
  max-width: 600px;
}

.hero__neon-line {
  width: 60px;
  height: 3px;
  background: var(--color-neon);
  margin: 0 auto 20px;
  box-shadow: 0 0 20px var(--color-neon), 0 0 60px var(--color-neon);
  border-radius: 2px;
  animation: neonPulse 2s ease-in-out infinite;
}

@keyframes neonPulse {
  0%, 100% { box-shadow: 0 0 20px var(--color-neon), 0 0 60px var(--color-neon); }
  50% { box-shadow: 0 0 30px var(--color-neon), 0 0 90px var(--color-neon); }
}

.hero__tag {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 16px;
}

.hero__title {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 8px;
}

.hero__title-line {
  display: block;
  color: var(--color-white);
}

.hero__title-line--accent {
  color: var(--color-accent);
  text-shadow: 0 0 40px rgba(212, 168, 83, 0.3);
}

.hero__slogan {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-style: italic;
  color: var(--color-accent);
  margin-bottom: 16px;
  opacity: 0.9;
}

.hero__desc {
  color: var(--color-text-muted);
  font-size: 1rem;
  margin-bottom: 32px;
  line-height: 1.7;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

/* ===== 6. ABOUT SECTION ===== */
.about {
  display: grid;
  gap: 40px;
}

.about__img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}

.about__img img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.about__img:hover img {
  transform: scale(1.03);
}

.about__text {
  color: var(--color-text-muted);
  margin-bottom: 16px;
  line-height: 1.8;
}

.about__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 24px;
}

.stat {
  text-align: center;
  padding: 16px 8px;
  background: rgba(255,255,255,0.03);
  border-radius: var(--radius-md);
  border: 1px solid rgba(255,255,255,0.05);
}

.stat__num {
  display: block;
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 900;
  color: var(--color-accent);
  line-height: 1;
}

.stat__label {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  margin-top: 4px;
  display: block;
}

/* ===== 7. SERVICE CARDS (GLASS) ===== */
.glass {
  background: var(--color-glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--color-glass-border);
  box-shadow: 0 8px 32px var(--color-glass-shadow);
  border-radius: var(--radius-md);
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-top: 32px;
}

.service-card {
  padding: 28px 20px;
  text-align: center;
  transition: var(--transition);
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: rgba(212, 168, 83, 0.3);
  box-shadow: 0 12px 40px rgba(212, 168, 83, 0.1);
}

.service-card__icon {
  font-size: 2.2rem;
  margin-bottom: 12px;
}

.service-card__title {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.service-card__text {
  color: var(--color-text-muted);
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 16px;
}

.service-card__price {
  display: inline-block;
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--color-accent);
}

/* ===== 8. 3D CAROUSEL (Testimonios) ===== */
.carousel-3d {
  position: relative;
  margin-top: 32px;
  padding: 0 10px;
}

.carousel__track {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding: 20px 0 30px;
  scroll-behavior: smooth;
}

.carousel__track::-webkit-scrollbar {
  display: none;
}

.carousel__card {
  flex: 0 0 80%;
  max-width: 280px;
  padding: 28px 20px;
  scroll-snap-align: center;
  transition: transform 0.4s ease, opacity 0.4s ease;
  perspective: 800px;
  transform-style: preserve-3d;
}

.carousel__card:hover {
  transform: rotateY(-4deg) translateZ(10px);
  box-shadow: 0 20px 60px rgba(212, 168, 83, 0.15);
}

.carousel__stars {
  color: var(--color-accent);
  font-size: 1.1rem;
  margin-bottom: 12px;
  letter-spacing: 2px;
}

.carousel__text {
  color: var(--color-text);
  font-size: 0.95rem;
  line-height: 1.7;
  font-style: italic;
}

.carousel__author {
  display: block;
  margin-top: 16px;
  font-size: 0.85rem;
  color: var(--color-accent);
  font-weight: 600;
}

.carousel__nav {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 8px;
}

.carousel__btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--color-glass-border);
  background: var(--color-glass-bg);
  backdrop-filter: blur(8px);
  color: var(--color-accent);
  font-size: 1.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.carousel__btn:hover {
  background: var(--color-accent);
  color: var(--color-primary);
  border-color: var(--color-accent);
}

/* ===== 9. PÁGINAS INTERNAS ===== */
.page-hero {
  padding: 120px 0 60px;
  text-align: center;
  background: radial-gradient(ellipse at 50% 80%, rgba(212,168,83,0.05) 0%, transparent 70%);
}

.page-hero__title {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 12px;
}

.page-hero__desc {
  color: var(--color-text-muted);
  font-size: 1rem;
  max-width: 480px;
  margin: 0 auto;
}

/* ===== 10. SERVICIOS FULL LIST ===== */
.services-full {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.services-category {
  margin-bottom: 48px;
}

.services-category__title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.services-category__icon {
  font-size: 1.4rem;
}

.services-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.service-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  gap: 16px;
  transition: var(--transition);
}

.service-item:hover {
  border-color: rgba(212, 168, 83, 0.25);
}

.service-item--featured {
  border-color: var(--color-accent);
  background: rgba(212, 168, 83, 0.05);
}

.service-item__name {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.service-item__desc {
  font-size: 0.82rem;
  color: var(--color-text-muted);
  line-height: 1.5;
}

.service-item__price {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-accent);
  white-space: nowrap;
}

/* ===== 11. GALERÍA ===== */
.gallery-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-bottom: 32px;
}

.gallery-filter {
  padding: 10px 22px;
  border-radius: 50px;
  border: 1px solid rgba(255,255,255,0.1);
  background: transparent;
  color: var(--color-text-muted);
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
}

.gallery-filter:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
}

.gallery-filter--active {
  background: var(--color-accent);
  color: var(--color-primary);
  border-color: var(--color-accent);
  font-weight: 600;
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

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

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

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

.gallery-item__overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 16px;
  background: linear-gradient(transparent, rgba(0,0,0,0.8));
  opacity: 0;
  transition: opacity 0.3s ease;
}

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

.gallery-item__label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-white);
}

/* ===== 12. CONTACTO ===== */
.contact-grid {
  display: grid;
  gap: 32px;
}

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

.contact-card {
  padding: 20px;
  text-align: center;
  transition: var(--transition);
}

.contact-card:hover {
  transform: translateY(-3px);
  border-color: rgba(212, 168, 83, 0.2);
}

.contact-card__icon {
  font-size: 1.8rem;
  margin-bottom: 8px;
}

.contact-card__title {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 6px;
}

.contact-card__text {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  line-height: 1.5;
}

.contact-card__link {
  color: var(--color-accent);
  font-size: 0.9rem;
  font-weight: 500;
}

.contact-form-wrap {
  padding: 32px 24px;
}

.contact-form__title {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.contact-form__desc {
  color: var(--color-text-muted);
  font-size: 0.9rem;
  margin-bottom: 24px;
}

.form-group {
  margin-bottom: 16px;
}

.form-label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--color-text-muted);
  margin-bottom: 6px;
}

.form-input {
  width: 100%;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.03);
  color: var(--color-white);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: var(--transition);
  outline: none;
}

.form-input:focus {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(212, 168, 83, 0.1);
}

.form-input::placeholder {
  color: rgba(255,255,255,0.2);
}

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

.map-container {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}

/* ===== 13. WHATSAPP FLOTANTE ===== */
.wa-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.4);
  z-index: 999;
  transition: var(--transition);
  animation: waBounce 2s ease-in-out infinite;
}

.wa-float:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 32px rgba(37, 211, 102, 0.6);
}

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

/* ===== 14. FOOTER ===== */
.footer {
  background: var(--color-dark);
  border-top: 1px solid rgba(255,255,255,0.04);
  padding: 48px 0 24px;
}

.footer__inner {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.footer__brand {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 900;
  margin-bottom: 6px;
}

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

.footer__heading {
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--color-accent);
  margin-bottom: 8px;
}

.footer__text {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  line-height: 1.8;
}

.footer__link {
  color: var(--color-accent);
  font-weight: 500;
}

.footer__bottom {
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-align: center;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.04);
  font-size: 0.8rem;
  color: var(--color-text-muted);
}

.footer__presentto {
  color: var(--color-accent);
  font-size: 0.78rem;
}

/* ==========================================================
   RESPONSIVE — TABLET 768px
   ========================================================== */
@media (min-width: 768px) {
  .container {
    padding: 0 32px;
  }

  .section {
    padding: 100px 0;
  }

  .section__title {
    font-size: 2.4rem;
  }

  /* Header */
  .header__inner {
    padding: 16px 32px;
  }

  .nav-toggle {
    display: none;
  }

  .nav {
    position: static;
    width: auto;
    max-width: none;
    height: auto;
    background: none;
    backdrop-filter: none;
    border: none;
  }

  .nav__list {
    flex-direction: row;
    gap: 4px;
  }

  .nav__link {
    padding: 8px 16px;
    font-size: 0.9rem;
  }

  .nav__link--cta {
    margin-top: 0;
    padding: 8px 20px;
  }

  /* Hero */
  .hero__title {
    font-size: 4.5rem;
  }

  .hero__slogan {
    font-size: 1.3rem;
  }

  /* About */
  .about {
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 48px;
  }

  .about__img img {
    height: 400px;
  }

  .about__stats {
    gap: 16px;
  }

  .stat__num {
    font-size: 2.5rem;
  }

  /* Services grid */
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  /* 3D Carousel */
  .carousel__card {
    flex: 0 0 45%;
    max-width: 340px;
  }

  /* Services list */
  .service-item {
    padding: 20px 24px;
  }

  .service-item__name {
    font-size: 1.05rem;
  }

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

  /* Contact */
  .contact-grid {
    grid-template-columns: 1fr 1fr;
  }

  .contact-info {
    grid-template-columns: 1fr 1fr;
  }

  .contact-form-wrap {
    padding: 36px 32px;
  }

  /* Footer */
  .footer__grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer__bottom {
    flex-direction: row;
    justify-content: space-between;
  }
}

/* ==========================================================
   RESPONSIVE — DESKTOP 1024px+
   ========================================================== */
@media (min-width: 1024px) {
  .container {
    padding: 0 40px;
  }

  .section__title {
    font-size: 2.8rem;
  }

  /* Hero */
  .hero__title {
    font-size: 5.5rem;
  }

  .hero__content {
    max-width: 720px;
  }

  .hero__desc {
    font-size: 1.1rem;
  }

  /* Services grid */
  .services-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  /* 3D Carousel */
  .carousel__card {
    flex: 0 0 30%;
    max-width: 360px;
    padding: 32px 24px;
  }

  .carousel__card:hover {
    transform: rotateY(-6deg) translateZ(20px);
  }

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

  .page-hero__title {
    font-size: 2.8rem;
  }

  .services-category__title {
    font-size: 1.7rem;
  }

  .wa-float {
    width: 60px;
    height: 60px;
    bottom: 32px;
    right: 32px;
  }
}

/* ==========================================================
   ANIMACIONES ADICIONALES
   ========================================================== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero__content {
  animation: fadeInUp 0.8s ease-out;
}

.service-card:nth-child(1) { animation: fadeInUp 0.3s ease-out both; }
.service-card:nth-child(2) { animation: fadeInUp 0.4s ease-out both; }
.service-card:nth-child(3) { animation: fadeInUp 0.5s ease-out both; }
.service-card:nth-child(4) { animation: fadeInUp 0.6s ease-out both; }

/* ===== SCROLL PERSONALIZADO ===== */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: var(--color-primary);
}

::-webkit-scrollbar-thumb {
  background: rgba(212, 168, 83, 0.3);
  border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(212, 168, 83, 0.5);
}

/* ===== BACKGROUND ANIMATION: Neon Grid + Floating Scissors ===== */
.hero__neon-grid {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.06;
  background-image:
    linear-gradient(0deg, rgba(212, 168, 83, 0.15) 1px, transparent 1px),
    linear-gradient(90deg, rgba(212, 168, 83, 0.15) 1px, transparent 1px);
  background-size: 60px 60px;
  animation: gridShift 24s linear infinite;
}

@keyframes gridShift {
  0% { background-position: 0 0; }
  100% { background-position: 60px 60px; }
}

.hero__float-icon {
  position: absolute;
  font-size: 1.8rem;
  opacity: 0.06;
  pointer-events: none;
  z-index: 1;
  animation: floatDrift 12s ease-in-out infinite;
}

.hero__float-icon--1 { top: 15%; left: 8%; animation-delay: 0s; }
.hero__float-icon--2 { top: 60%; right: 10%; animation-delay: -4s; }
.hero__float-icon--3 { bottom: 20%; left: 55%; animation-delay: -8s; }

@keyframes floatDrift {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  25% { transform: translateY(-15px) rotate(5deg); }
  50% { transform: translateY(-5px) rotate(-3deg); }
  75% { transform: translateY(-20px) rotate(4deg); }
}

@media (prefers-reduced-motion: reduce) {
  .hero__neon-grid,
  .hero__float-icon {
    animation: none !important;
  }
}

/* ===== SELECTION ===== */
::selection {
  background: var(--color-accent);
  color: var(--color-primary);
}

/* ===== SCROLL REVEAL ===== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal--left { transform: translateX(-30px); }
.reveal--left.is-visible { transform: translateX(0); }
.reveal--right { transform: translateX(30px); }
.reveal--right.is-visible { transform: translateX(0); }
.reveal--scale { transform: scale(0.9); }
.reveal--scale.is-visible { transform: scale(1); }
/* Stagger delays */
.reveal--d1 { transition-delay: 0.1s; }
.reveal--d2 { transition-delay: 0.2s; }
.reveal--d3 { transition-delay: 0.3s; }
.reveal--d4 { transition-delay: 0.4s; }
@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal--left, .reveal--right, .reveal--scale {
    opacity: 1;
    transform: none;
  }
}
