/* ============================================================
   BARBERÍA ELITE — Hoja de estilos principal
   Paleta: negro profundo, gris oscuro, dorado premium
   ============================================================ */

:root {
  --black: #0b0b0d;
  --black-soft: #121216;
  --gray-900: #17171c;
  --gray-800: #1e1e24;
  --gray-700: #2a2a32;
  --gray-500: #6b6b76;
  --gray-300: #b8b8c0;
  --gray-100: #ececf0;
  --gold: #c9a44c;
  --gold-light: #e6c87a;
  --gold-dark: #9a7a2e;
  --gold-gradient: linear-gradient(135deg, #e6c87a 0%, #c9a44c 45%, #9a7a2e 100%);
  --white: #f8f7f4;

  --font-display: "Playfair Display", Georgia, serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;

  --container: 1180px;
  --radius: 14px;
  --shadow-soft: 0 10px 40px rgba(0, 0, 0, 0.35);
  --shadow-gold: 0 8px 30px rgba(201, 164, 76, 0.25);
  --transition: 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
}

body {
  font-family: var(--font-body);
  background-color: var(--black);
  color: var(--gray-100);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

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

ul {
  list-style: none;
}

/* ---------- Utilidades ---------- */
.container {
  width: min(100% - 2.5rem, var(--container));
  margin-inline: auto;
}

.section {
  padding: clamp(4.5rem, 9vw, 7.5rem) 0;
}

.section--dark {
  background-color: var(--black-soft);
  position: relative;
}

.section--dark::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201, 164, 76, 0.35), transparent);
}

.text-gold {
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.section__header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto clamp(2.8rem, 6vw, 4.5rem);
}

.section__eyebrow {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
  position: relative;
  display: inline-block;
}

.section__eyebrow::before,
.section__eyebrow::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 34px;
  height: 1px;
  background: var(--gold);
  opacity: 0.55;
}

.section__eyebrow::before { right: calc(100% + 14px); }
.section__eyebrow::after  { left:  calc(100% + 14px); }

.section__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.6vw, 3.1rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--white);
}

.section__lead {
  margin-top: 1.1rem;
  color: var(--gray-300);
  font-weight: 300;
}

/* ---------- Botones ---------- */
.btn {
  display: inline-block;
  padding: 0.95rem 2.2rem;
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: 4px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition),
              background-color var(--transition), color var(--transition);
}

.btn--gold {
  background: var(--gold-gradient);
  color: #14110a;
  box-shadow: var(--shadow-gold);
}

.btn--gold:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 38px rgba(201, 164, 76, 0.4);
}

.btn--outline {
  border-color: rgba(248, 247, 244, 0.35);
  color: var(--white);
  background: rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(4px);
}

.btn--outline:hover {
  border-color: var(--gold);
  color: var(--gold-light);
  transform: translateY(-3px);
}

.btn--block {
  display: block;
  text-align: center;
  width: 100%;
}

/* ============================================================
   HEADER / NAV
   ============================================================ */
.header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  padding: 1.1rem 0;
  transition: background-color 0.4s ease, padding 0.4s ease, box-shadow 0.4s ease;
}

/* Nota: sin backdrop-filter aquí — crearía un containing block
   que rompe el menú móvil con position: fixed */
.header.scrolled {
  background-color: rgba(11, 11, 13, 0.96);
  padding: 0.65rem 0;
  box-shadow: 0 6px 30px rgba(0, 0, 0, 0.45);
  border-bottom: 1px solid rgba(201, 164, 76, 0.15);
}

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

.nav__logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--white);
}

.nav__logo-icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  color: var(--gold);
  font-size: 1rem;
  transition: transform var(--transition), box-shadow var(--transition);
}

.nav__logo:hover .nav__logo-icon {
  transform: rotate(-15deg);
  box-shadow: 0 0 18px rgba(201, 164, 76, 0.45);
}

.nav__logo-text em {
  font-style: italic;
  color: var(--gold);
}

.nav__menu {
  display: flex;
  align-items: center;
  gap: 1.9rem;
}

.nav__link {
  font-size: 0.86rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--gray-300);
  position: relative;
  padding: 0.3rem 0;
  transition: color var(--transition);
}

.nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1.5px;
  background: var(--gold-gradient);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform var(--transition);
}

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

.nav__link:hover::after,
.nav__link.active::after {
  transform: scaleX(1);
  transform-origin: left;
}

.btn--nav {
  padding: 0.6rem 1.4rem;
  font-size: 0.78rem;
}

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  z-index: 110;
}

.nav__toggle span {
  width: 26px;
  height: 2px;
  background: var(--white);
  transition: transform 0.35s ease, opacity 0.35s ease;
}

.nav__toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle.open span:nth-child(2) { opacity: 0; }
.nav__toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background: url("https://images.unsplash.com/photo-1585747860715-2ba37e788b70?q=80&w=1920&auto=format&fit=crop")
              center / cover no-repeat;
  animation: heroZoom 18s ease-in-out infinite alternate;
}

@keyframes heroZoom {
  from { transform: scale(1); }
  to   { transform: scale(1.08); }
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(100deg, rgba(11, 11, 13, 0.94) 20%, rgba(11, 11, 13, 0.72) 55%, rgba(11, 11, 13, 0.45) 100%),
    linear-gradient(to top, var(--black) 0%, transparent 30%);
}

.hero__content {
  position: relative;
  z-index: 2;
  padding-top: 5rem;
  max-width: var(--container);
}

.hero__eyebrow {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.4rem;
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.7rem, 7.5vw, 5.2rem);
  font-weight: 800;
  line-height: 1.06;
  color: var(--white);
}

.hero__title span {
  display: block;
}

.hero__title-gold {
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-style: italic;
}

.hero__subtitle {
  max-width: 520px;
  margin-top: 1.6rem;
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  font-weight: 300;
  color: var(--gray-300);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2.4rem;
}

.hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(1.8rem, 5vw, 4rem);
  margin-top: clamp(3rem, 6vw, 4.5rem);
  padding-top: 2rem;
  border-top: 1px solid rgba(248, 247, 244, 0.12);
  max-width: 640px;
}

.hero__stat {
  display: block;
}

.hero__stat-number,
.hero__stat-plus {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3.4vw, 2.6rem);
  font-weight: 700;
  color: var(--gold);
  line-height: 1.1;
}

.hero__stat-label {
  display: block;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gray-500);
  margin-top: 0.35rem;
}

.hero__scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}

.hero__scroll-line {
  display: block;
  width: 1px;
  height: 56px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  position: relative;
  overflow: hidden;
}

.hero__scroll-line::after {
  content: "";
  position: absolute;
  top: -50%;
  left: 0;
  width: 100%;
  height: 50%;
  background: var(--white);
  animation: scrollHint 2s ease-in-out infinite;
}

@keyframes scrollHint {
  0%   { top: -50%; }
  100% { top: 110%; }
}

/* ============================================================
   SOBRE NOSOTROS
   ============================================================ */
.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 6vw, 5.5rem);
  align-items: center;
}

.about__images {
  position: relative;
  padding-bottom: 3.5rem;
}

.about__img {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

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

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

.about__img--main {
  aspect-ratio: 4 / 5;
  border: 1px solid rgba(201, 164, 76, 0.2);
}

.about__img--accent {
  position: absolute;
  right: -6%;
  bottom: 0;
  width: 46%;
  aspect-ratio: 1;
  border: 5px solid var(--black);
}

.about__badge {
  position: absolute;
  left: -4%;
  bottom: 8%;
  background: var(--gold-gradient);
  color: #14110a;
  padding: 1.1rem 1.4rem;
  border-radius: var(--radius);
  text-align: center;
  box-shadow: var(--shadow-gold);
  animation: floatBadge 4.5s ease-in-out infinite;
}

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

.about__badge-number {
  display: block;
  font-family: var(--font-display);
  font-size: 1.9rem;
  font-weight: 800;
  line-height: 1;
}

.about__badge-text {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.about__content .section__title {
  margin-bottom: 1.4rem;
}

.about__content .section__eyebrow::before { display: none; }

.about__text {
  color: var(--gray-300);
  font-weight: 300;
  margin-bottom: 1.1rem;
}

.about__features {
  margin: 1.6rem 0 2.2rem;
  display: grid;
  gap: 0.75rem;
}

.about__features li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.95rem;
  color: var(--gray-100);
}

.about__feature-icon {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  border-radius: 50%;
  background: rgba(201, 164, 76, 0.14);
  border: 1px solid rgba(201, 164, 76, 0.45);
  color: var(--gold);
  font-size: 0.62rem;
}

/* ============================================================
   SERVICIOS
   ============================================================ */
.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.6rem;
}

.service-card {
  position: relative;
  background: linear-gradient(160deg, var(--gray-900), var(--gray-800));
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius);
  padding: 2.2rem 1.9rem 1.9rem;
  display: flex;
  flex-direction: column;
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
  overflow: hidden;
}

.service-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 2px;
  background: var(--gold-gradient);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s ease;
}

.service-card:hover {
  transform: translateY(-8px);
  border-color: rgba(201, 164, 76, 0.35);
  box-shadow: var(--shadow-soft), 0 0 0 1px rgba(201, 164, 76, 0.12);
}

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

.service-card--featured {
  border-color: rgba(201, 164, 76, 0.5);
  background: linear-gradient(160deg, #1d1a12, var(--gray-900));
}

.service-card__tag {
  position: absolute;
  top: 1.1rem;
  right: 1.1rem;
  background: var(--gold-gradient);
  color: #14110a;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.32rem 0.7rem;
  border-radius: 999px;
}

.service-card__icon {
  font-size: 1.9rem;
  margin-bottom: 1.1rem;
  filter: grayscale(0.2);
}

.service-card__name {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 0.6rem;
}

.service-card__desc {
  font-size: 0.92rem;
  font-weight: 300;
  color: var(--gray-300);
  flex-grow: 1;
}

.service-card__footer {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-top: 1.5rem;
  padding-top: 1.2rem;
  border-top: 1px dashed rgba(255, 255, 255, 0.12);
}

.service-card__price {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--gold);
}

.service-card__time {
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gray-500);
}

.services__note {
  text-align: center;
  margin-top: 2.8rem;
  color: var(--gray-300);
  font-weight: 300;
}

.services__note a {
  color: var(--gold);
  border-bottom: 1px solid rgba(201, 164, 76, 0.4);
  transition: color var(--transition), border-color var(--transition);
}

.services__note a:hover {
  color: var(--gold-light);
  border-color: var(--gold-light);
}

/* ============================================================
   GALERÍA
   ============================================================ */
.gallery__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 230px;
  gap: 1.1rem;
}

.gallery__item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
}

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

.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94), filter 0.5s ease;
}

.gallery__item:hover img {
  transform: scale(1.08);
  filter: brightness(0.65);
}

.gallery__caption {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  padding: 1.3rem;
  background: linear-gradient(to top, rgba(11, 11, 13, 0.85) 0%, transparent 50%);
  opacity: 0;
  transition: opacity 0.45s ease;
}

.gallery__caption span {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-style: italic;
  color: var(--gold-light);
  transform: translateY(12px);
  transition: transform 0.45s ease;
}

.gallery__item:hover .gallery__caption {
  opacity: 1;
}

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

/* ============================================================
   TESTIMONIOS
   ============================================================ */
.testimonials__slider {
  max-width: 760px;
  margin: 0 auto;
  overflow: hidden;
}

.testimonials__track {
  display: flex;
  transition: transform 0.6s cubic-bezier(0.65, 0, 0.35, 1);
}

.testimonial {
  flex: 0 0 100%;
  text-align: center;
  padding: 0 clamp(0.5rem, 4vw, 2.5rem);
}

.testimonial__stars {
  color: var(--gold);
  font-size: 1.15rem;
  letter-spacing: 0.35em;
  margin-bottom: 1.4rem;
}

.testimonial__text {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2.2vw, 1.45rem);
  font-style: italic;
  font-weight: 500;
  line-height: 1.55;
  color: var(--gray-100);
}

.testimonial__author {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.9rem;
  margin-top: 1.8rem;
}

.testimonial__author img {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--gold);
}

.testimonial__author div {
  text-align: left;
}

.testimonial__author cite {
  display: block;
  font-style: normal;
  font-weight: 600;
  color: var(--white);
}

.testimonial__author span {
  font-size: 0.8rem;
  color: var(--gray-500);
}

.testimonials__controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.4rem;
  margin-top: 2.6rem;
}

.testimonials__arrow {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(201, 164, 76, 0.45);
  background: transparent;
  color: var(--gold);
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  transition: background-color var(--transition), color var(--transition), transform var(--transition);
}

.testimonials__arrow:hover {
  background: var(--gold);
  color: #14110a;
  transform: scale(1.08);
}

.testimonials__dots {
  display: flex;
  gap: 0.55rem;
}

.testimonials__dot {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  border: none;
  background: var(--gray-700);
  cursor: pointer;
  transition: background-color var(--transition), width var(--transition);
  padding: 0;
}

.testimonials__dot.active {
  width: 26px;
  background: var(--gold-gradient);
}

/* ============================================================
   CONTACTO: HORARIOS + MAPA
   ============================================================ */
.contact__grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 2rem;
  align-items: stretch;
}

.contact__info {
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
}

.hours,
.contact__details {
  background: linear-gradient(160deg, var(--gray-900), var(--gray-800));
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius);
  padding: 2rem 1.9rem;
  transition: border-color var(--transition);
}

.hours:hover,
.contact__details:hover {
  border-color: rgba(201, 164, 76, 0.3);
}

.hours__title {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 1.3rem;
}

.hours__icon {
  font-size: 1.1rem;
}

.hours__list li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  padding: 0.65rem 0;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.1);
  font-size: 0.95rem;
  color: var(--gray-300);
}

.hours__list li:last-child {
  border-bottom: none;
}

.hours__time {
  font-weight: 600;
  color: var(--gold);
  white-space: nowrap;
}

.hours__time--closed {
  color: var(--gray-500);
}

.hours__status {
  margin-top: 1rem;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.05em;
}

.hours__status.open   { color: #7ed99a; }
.hours__status.closed { color: #e08484; }

.contact__address p {
  font-size: 0.95rem;
  font-weight: 300;
  color: var(--gray-300);
  margin-bottom: 0.55rem;
  font-style: normal;
}

.contact__address strong {
  color: var(--white);
  font-weight: 600;
}

.contact__address a {
  color: var(--gold);
  transition: color var(--transition);
}

.contact__address a:hover {
  color: var(--gold-light);
}

.contact__details .btn {
  margin-top: 1.3rem;
}

.contact__map {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(201, 164, 76, 0.25);
  box-shadow: var(--shadow-soft);
  min-height: 420px;
  filter: grayscale(0.85) contrast(1.05);
  transition: filter 0.5s ease;
}

.contact__map:hover {
  filter: grayscale(0.2);
}

.contact__map iframe {
  display: block;
  min-height: 420px;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--black-soft);
  border-top: 1px solid rgba(201, 164, 76, 0.18);
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 2.5rem;
  padding: clamp(3rem, 6vw, 4.5rem) 0 2.5rem;
}

.footer__tagline {
  margin-top: 1.1rem;
  font-size: 0.92rem;
  font-weight: 300;
  color: var(--gray-300);
  max-width: 300px;
}

.footer__social {
  display: flex;
  gap: 0.7rem;
  margin-top: 1.4rem;
}

.footer__social-link {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.15);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--gray-300);
  transition: border-color var(--transition), color var(--transition), transform var(--transition), background-color var(--transition);
}

.footer__social-link:hover {
  border-color: var(--gold);
  color: #14110a;
  background: var(--gold-gradient);
  transform: translateY(-3px);
}

.footer__heading {
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--white);
  margin-bottom: 1.1rem;
  position: relative;
  padding-bottom: 0.6rem;
}

.footer__heading::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 28px;
  height: 2px;
  background: var(--gold-gradient);
}

.footer__col li {
  margin-bottom: 0.6rem;
  font-size: 0.9rem;
  font-weight: 300;
  color: var(--gray-300);
}

.footer__col a {
  transition: color var(--transition), padding-left var(--transition);
}

.footer__col a:hover {
  color: var(--gold);
  padding-left: 5px;
}

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  padding: 1.3rem 0;
}

.footer__bottom-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem;
  font-size: 0.82rem;
  color: var(--gray-500);
}

/* ============================================================
   WHATSAPP FLOTANTE
   ============================================================ */
.whatsapp-float {
  position: fixed;
  right: 1.4rem;
  bottom: 1.4rem;
  z-index: 90;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  box-shadow: 0 8px 26px rgba(37, 211, 102, 0.45);
  transition: transform var(--transition), box-shadow var(--transition);
  animation: whatsappPulse 2.6s infinite;
}

@keyframes whatsappPulse {
  0%   { box-shadow: 0 8px 26px rgba(37, 211, 102, 0.45), 0 0 0 0 rgba(37, 211, 102, 0.45); }
  70%  { box-shadow: 0 8px 26px rgba(37, 211, 102, 0.45), 0 0 0 16px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 8px 26px rgba(37, 211, 102, 0.45), 0 0 0 0 rgba(37, 211, 102, 0); }
}

.whatsapp-float:hover {
  transform: scale(1.1) translateY(-2px);
}

.whatsapp-float__tooltip {
  position: absolute;
  right: calc(100% + 12px);
  top: 50%;
  transform: translateY(-50%) translateX(8px);
  background: var(--gray-800);
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 500;
  padding: 0.5rem 0.9rem;
  border-radius: 8px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  border: 1px solid rgba(201, 164, 76, 0.3);
  transition: opacity var(--transition), transform var(--transition);
}

.whatsapp-float:hover .whatsapp-float__tooltip {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}

/* ============================================================
   ANIMACIONES DE SCROLL (reveal)
   ============================================================ */
.reveal,
.reveal-left,
.reveal-right {
  opacity: 0;
  transition: opacity 0.85s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              transform 0.85s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: opacity, transform;
}

.reveal        { transform: translateY(36px); }
.reveal-left   { transform: translateX(-46px); }
.reveal-right  { transform: translateX(46px); }

.reveal.visible,
.reveal-left.visible,
.reveal-right.visible {
  opacity: 1;
  transform: translate(0, 0);
}

.delay-1 { transition-delay: 0.12s; }
.delay-2 { transition-delay: 0.24s; }
.delay-3 { transition-delay: 0.36s; }
.delay-4 { transition-delay: 0.48s; }
.delay-5 { transition-delay: 0.6s; }

/* Escalonado automático dentro de grillas */
.services__grid .reveal:nth-child(2) { transition-delay: 0.1s; }
.services__grid .reveal:nth-child(3) { transition-delay: 0.2s; }
.services__grid .reveal:nth-child(4) { transition-delay: 0.1s; }
.services__grid .reveal:nth-child(5) { transition-delay: 0.2s; }
.services__grid .reveal:nth-child(6) { transition-delay: 0.3s; }

.gallery__grid .reveal:nth-child(2) { transition-delay: 0.08s; }
.gallery__grid .reveal:nth-child(3) { transition-delay: 0.16s; }
.gallery__grid .reveal:nth-child(4) { transition-delay: 0.24s; }
.gallery__grid .reveal:nth-child(5) { transition-delay: 0.1s; }
.gallery__grid .reveal:nth-child(6) { transition-delay: 0.18s; }

@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal-left, .reveal-right {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .hero__bg { animation: none; }
  html { scroll-behavior: auto; }
}

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

  .gallery__grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 210px;
  }

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

@media (max-width: 860px) {
  .nav__toggle {
    display: flex;
  }

  .nav__menu {
    position: fixed;
    inset: 0;
    flex-direction: column;
    justify-content: center;
    gap: 2rem;
    background: rgba(11, 11, 13, 0.97);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    transform: translateX(100%);
    transition: transform 0.45s cubic-bezier(0.65, 0, 0.35, 1);
    z-index: 105;
  }

  .nav__menu.open {
    transform: translateX(0);
  }

  .nav__link {
    font-size: 1.15rem;
  }

  .about__grid,
  .contact__grid {
    grid-template-columns: 1fr;
  }

  .about__images {
    max-width: 460px;
    margin-inline: auto;
  }

  .about__badge { left: 0; }
  .about__img--accent { right: 0; }

  .contact__map {
    min-height: 340px;
  }
}

@media (max-width: 560px) {
  .services__grid {
    grid-template-columns: 1fr;
  }

  .gallery__grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 260px;
  }

  .gallery__item--wide,
  .gallery__item--tall {
    grid-column: auto;
    grid-row: auto;
  }

  .hero__actions .btn {
    width: 100%;
    text-align: center;
  }

  .hero__stats {
    gap: 1.4rem;
    justify-content: space-between;
  }

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

  .footer__bottom-inner {
    flex-direction: column;
    text-align: center;
  }

  .whatsapp-float {
    width: 52px;
    height: 52px;
    right: 1rem;
    bottom: 1rem;
  }
}
