/* =============================================
   BARBER REY ESTUDIO — Stylesheet
   ============================================= */

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

:root {
  --black: #0a0a0a;
  --carbon: #111111;
  --charcoal: #1a1a1a;
  --gold: #c9a84c;
  --gold-light: #e8c97a;
  --gold-muted: #7a6130;
  --white: #f5f0e8;
  --cream: #d6cbb5;
  --red: #8b1a1a;
}

html { scroll-behavior: smooth; }

body {
  background: var(--black);
  color: var(--white);
  font-family: 'DM Sans', sans-serif;
  overflow-x: hidden;
  cursor: none;
}

/* ===================== CUSTOM CURSOR ===================== */
.cursor {
  position: fixed;
  width: 12px; height: 12px;
  background: var(--gold);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: transform 0.1s, width 0.3s, height 0.3s, background 0.3s;
  mix-blend-mode: difference;
}
.cursor-ring {
  position: fixed;
  width: 40px; height: 40px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  transition: all 0.15s ease;
  opacity: 0.6;
}
body:hover .cursor { opacity: 1; }

/* ===================== GRAIN OVERLAY ===================== */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='1'/%3E%3C/svg%3E");
  opacity: 0.04;
  pointer-events: none;
  z-index: 9990;
}

/* ===================== NAV ===================== */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 48px;
  mix-blend-mode: normal;
  transition: padding 0.3s, background 0.3s;
}
nav::after {
  content: '';
  position: absolute;
  bottom: 0; left: 48px; right: 48px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-muted), transparent);
  opacity: 0.5;
}

.nav-logo {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.4rem;
  letter-spacing: 0.3em;
  color: var(--gold);
  text-decoration: none;
  position: relative;
}

/*===========================LOGO NAV CALA======================*/
.r-container {
  position: relative;
  display: inline-block;
}

.r-icon {
  position: absolute;
  width: 30px; /* ajusta según diseño */
  top: -30px;  /* sube el icono */
  left: 55%;
  transform: translateX(-50%);
  pointer-events: none;
}
/*=====================*/


.nav-links {
  display: flex;
  gap: 40px;
  list-style: none;
}
.nav-links a {
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--cream);
  text-decoration: none;
  position: relative;
  opacity: 0.7;
  transition: opacity 0.3s;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width 0.3s;
}
.nav-links a:hover { opacity: 1; }
.nav-links a:hover::after { width: 100%; }

.nav-cta {
  font-size: 0.65rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--black);
  background: var(--gold);
  padding: 10px 24px;
  text-decoration: none;
  transition: background 0.3s;
}
.nav-cta:hover { background: var(--gold-light); }

/* Hamburger oculto en desktop */
.hamburger { display: none; }
.mobile-menu { display: none; }

/* ===================== HERO ===================== */
#hero {
  position: relative;
  height: 100vh;
  min-height: 700px;
  display: flex;
  align-items: flex-end;
  padding: 0 48px 40px;
  overflow: hidden;
}

.hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: brightness(0.35) saturate(0.6);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 80% at 70% 40%, rgba(26,17,8,0.7) 0%, transparent 60%),
    radial-gradient(ellipse 50% 60% at 15% 90%, rgba(13,5,0,0.8) 0%, transparent 50%),
    linear-gradient(to top, rgba(10,10,10,0.9) 0%, transparent 60%);
}

.hero-vertical-text {
  position: absolute;
  right: -30px;
  top: 50%;
  transform: translateY(-50%) rotate(90deg);
  font-family: 'Bebas Neue', sans-serif;
  font-size: 11rem;
  color: transparent;
  -webkit-text-stroke: 1px rgba(201,168,76,0.12);
  letter-spacing: 0.05em;
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
}

.hero-slash {
  position: absolute;
  top: 0; left: 55%;
  width: 1px;
  height: 100%;
  background: linear-gradient(180deg, transparent 0%, var(--gold-muted) 30%, var(--gold) 60%, transparent 100%);
  transform: skewX(-8deg);
  opacity: 0.4;
}

.hero-year {
  position: absolute;
  top: 50%;
  right: 52px;
  transform: translateY(-50%);
  font-family: 'Playfair Display', serif;
  font-size: 0.7rem;
  letter-spacing: 0.4em;
  color: var(--gold-muted);
  writing-mode: vertical-rl;
}

.scroll-line {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.scroll-line span {
  font-size: 0.6rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold-muted);
}
.scroll-line::after {
  content: '';
  width: 1px;
  height: 50px;
  background: linear-gradient(180deg, var(--gold) 0%, transparent 100%);
  animation: scrollPulse 2s infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(1); }
  50% { opacity: 1; transform: scaleY(1.2); }
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
}

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
  opacity: 0;
  animation: fadeUp 1s 0.3s forwards;
}
.hero-eyebrow::before {
  content: '';
  width: 40px; height: 1px;
  background: var(--gold);
}
.hero-eyebrow span {
  font-size: 0.65rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--gold);
}

.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(4rem, 10vw, 9rem);
  font-weight: 900;
  line-height: 0.9;
  color: var(--white);
  opacity: 0;
  animation: fadeUp 1s 0.5s forwards;
}
.hero-title em {
  font-style: italic;
  color: var(--gold);
  display: block;
}

.hero-sub {
  margin-top: 32px;
  max-width: 420px;
  font-size: 0.9rem;
  font-weight: 300;
  line-height: 1.8;
  color: var(--cream);
  opacity: 0;
  animation: fadeUp 1s 0.7s forwards;
}

.hero-actions {
  margin-top: 48px;
  display: flex;
  align-items: center;
  gap: 40px;
  opacity: 0;
  animation: fadeUp 1s 0.9s forwards;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--gold);
  color: var(--black);
  text-decoration: none;
  padding: 16px 36px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}
.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gold-light);
  transform: translateX(-100%);
  transition: transform 0.3s;
}
.btn-primary:hover::before { transform: translateX(0); }
.btn-primary span { position: relative; }

.btn-ghost {
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--cream);
  text-decoration: none;
  opacity: 0.7;
  transition: opacity 0.3s;
  display: flex;
  align-items: center;
  gap: 10px;
}
.btn-ghost::after {
  content: '→';
  transition: transform 0.3s;
}
.btn-ghost:hover { opacity: 1; }
.btn-ghost:hover::after { transform: translateX(6px); }

.hero-stats {
  position: absolute;
  bottom: 80px;
  right: 80px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  opacity: 0;
  animation: fadeLeft 1s 1.1s forwards;
}
.stat-item { text-align: right; }
.stat-num {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2.8rem;
  color: var(--gold);
  line-height: 1;
}
.stat-label {
  font-size: 0.6rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--cream);
  opacity: 0.6;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeLeft {
  from { opacity: 0; transform: translateX(30px); }
  to { opacity: 1; transform: translateX(0); }
}

/* ===================== MARQUEE ===================== */
.marquee-wrap {
  overflow: hidden;
  background: var(--gold);
  padding: 14px 0;
  position: relative;
}
.marquee-track {
  display: flex;
  white-space: nowrap;
  animation: marquee 20s linear infinite;
}
.marquee-item {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.1rem;
  letter-spacing: 0.2em;
  color: var(--black);
  padding: 0 48px;
  display: flex;
  align-items: center;
  gap: 48px;
}
.marquee-item::after {
  content: '✦';
  font-size: 0.7rem;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ===================== SERVICIOS ===================== */
#servicios {
  padding: 160px 48px;
  position: relative;
}

.section-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 100px;
}

.section-num {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 7rem;
  color: transparent;
  -webkit-text-stroke: 1px rgba(201,168,76,0.2);
  line-height: 1;
  user-select: none;
}

.section-label {
  font-size: 0.65rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--gold);
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
.section-label::before {
  content: '';
  width: 30px; height: 1px;
  background: var(--gold);
}
.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 900;
  line-height: 1;
}
.section-title em {
  font-style: italic;
  color: var(--gold);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(201,168,76,0.1);
}

.service-card {
  background: var(--carbon);
  padding: 52px 44px;
  position: relative;
  overflow: hidden;
  transition: background 0.4s;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 0;
  background: linear-gradient(180deg, rgba(201,168,76,0.06) 0%, transparent 100%);
  transition: height 0.4s;
}
.service-card:hover { background: #141410; }
.service-card:hover::before { height: 100%; }

.service-number {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 5rem;
  color: transparent;
  -webkit-text-stroke: 1px rgba(201,168,76,0.15);
  position: absolute;
  top: 20px; right: 28px;
  line-height: 1;
}

.service-icon {
  font-size: 2rem;
  margin-bottom: 28px;
  display: block;
}

.service-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  font-weight: 900;
  margin-bottom: 16px;
  line-height: 1.1;
}

.service-desc {
  font-size: 0.82rem;
  line-height: 1.8;
  color: var(--cream);
  opacity: 0.7;
  margin-bottom: 32px;
}

.service-price {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2rem;
  color: var(--gold);
  letter-spacing: 0.05em;
}
.service-price span {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--cream);
  opacity: 0.5;
  vertical-align: middle;
  margin-left: 6px;
}

.service-line {
  position: absolute;
  bottom: 0; left: 44px;
  width: 0; height: 2px;
  background: var(--gold);
  transition: width 0.4s;
}
.service-card:hover .service-line { width: calc(100% - 88px); }

/* ===================== EXPERIENCIA / ABOUT ===================== */
#experiencia {
  padding: 160px 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 700px;
  position: relative;
}

.exp-left {
  background: var(--charcoal);
  padding: 100px 80px 100px 48px;
  position: relative;
  overflow: hidden;
}
.exp-left::before {
  content: 'REY';
  position: absolute;
  bottom: -40px;
  right: -20px;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 14rem;
  color: transparent;
  -webkit-text-stroke: 1px rgba(201,168,76,0.06);
  line-height: 1;
  pointer-events: none;
}

.exp-quote {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.6rem, 3vw, 2.8rem);
  font-style: italic;
  font-weight: 400;
  line-height: 1.4;
  color: var(--white);
  margin-bottom: 48px;
  position: relative;
}
.exp-quote::before {
  content: '"';
  font-size: 8rem;
  color: var(--gold);
  opacity: 0.2;
  position: absolute;
  top: -40px;
  left: -20px;
  line-height: 1;
  font-family: 'Playfair Display', serif;
}

.exp-body {
  font-size: 0.9rem;
  line-height: 1.9;
  color: var(--cream);
  opacity: 0.75;
  margin-bottom: 48px;
}

.badge-row {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.badge {
  border: 1px solid rgba(201,168,76,0.3);
  padding: 8px 20px;
  font-size: 0.65rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
}

.exp-right {
  position: relative;
  background: var(--black);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px;
}

.exp-image-frame {
  width: 100%;
  max-width: 420px;
  aspect-ratio: 3/4;
  position: relative;
}
.exp-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  border: 1px solid rgba(201,168,76,0.15);
  display: block;
}

.frame-corner {
  position: absolute;
  width: 32px; height: 32px;
  border-color: var(--gold);
  border-style: solid;
}
.frame-corner.tl { top: -8px; left: -8px; border-width: 2px 0 0 2px; }
.frame-corner.tr { top: -8px; right: -8px; border-width: 2px 2px 0 0; }
.frame-corner.bl { bottom: -8px; left: -8px; border-width: 0 0 2px 2px; }
.frame-corner.br { bottom: -8px; right: -8px; border-width: 0 2px 2px 0; }

/* exp image inner removed — using real photo */

.years-badge {
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 100px;
  height: 100px;
  background: var(--gold);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.years-badge strong {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2.2rem;
  color: var(--black);
  line-height: 1;
}
.years-badge small {
  font-size: 0.5rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--black);
  opacity: 0.7;
  text-align: center;
}

/* ===================== GALERIA ===================== */
#galeria {
  padding: 160px 48px;
  position: relative;
}

.gallery-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 2px;
  margin-top: 80px;
}

.gallery-item {
  overflow: hidden;
  position: relative;
}
.gallery-item:first-child { grid-row: 1 / 3; }

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.55s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  min-height: 260px;
}
.gallery-item:first-child img { min-height: 500px; }
.gallery-item:hover img { transform: scale(1.06); }

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.3s;
  display: flex;
  align-items: flex-end;
  padding: 28px;
}
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-overlay-text {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 1.1rem;
  color: var(--gold);
}

/* ===================== CONTACTO ===================== */
#contacto {
  padding: 160px 48px;
  position: relative;
  overflow: hidden;
}
#contacto::before {
  content: 'RESERVA';
  position: absolute;
  top: 60px;
  left: -20px;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 18rem;
  color: transparent;
  -webkit-text-stroke: 1px rgba(201,168,76,0.04);
  pointer-events: none;
  line-height: 1;
}

/* Hero de contacto — texto + botón WhatsApp grande */
.contact-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
  margin-bottom: 56px;
  position: relative;
  z-index: 1;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(201,168,76,0.1);
}

.contact-hero__text { flex: 1; }
.contact-hero__title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.4rem, 4.5vw, 4rem);
  font-weight: 900;
  line-height: 1;
  margin: 12px 0 20px;
}
.contact-hero__title em { font-style: italic; color: var(--gold); }
.contact-hero__desc {
  font-size: 0.9rem;
  line-height: 1.8;
  color: var(--cream);
  opacity: 0.65;
  max-width: 400px;
}

/* Big WhatsApp CTA button */
.wsp-cta {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 20px;
  background: rgba(37,211,102,0.08);
  border: 1px solid rgba(37,211,102,0.25);
  padding: 28px 36px;
  text-decoration: none;
  color: var(--white);
  position: relative;
  overflow: hidden;
  transition: background 0.3s, border-color 0.3s, transform 0.25s;
  min-width: 320px;
}
.wsp-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(37,211,102,0.06);
  transform: translateX(-100%);
  transition: transform 0.4s;
}
.wsp-cta:hover {
  background: rgba(37,211,102,0.14);
  border-color: rgba(37,211,102,0.45);
  transform: translateY(-2px);
}
.wsp-cta:hover::before { transform: translateX(0); }

.wsp-cta__icon {
  flex-shrink: 0;
  color: #25d366;
  position: relative;
  z-index: 1;
}
.wsp-cta__text {
  display: flex;
  flex-direction: column;
  gap: 4px;
  position: relative;
  z-index: 1;
}
.wsp-cta__label {
  font-size: 0.62rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: #25d366;
}
.wsp-cta__num {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.6rem;
  letter-spacing: 0.05em;
  line-height: 1;
  color: var(--white);
}

/* Pulsing ring on wsp CTA */
.wsp-cta__ring {
  position: absolute;
  top: 16px; right: 16px;
  width: 10px; height: 10px;
  background: #25d366;
  border-radius: 50%;
}
.wsp-cta__ring::after {
  content: '';
  position: absolute;
  inset: -5px;
  border-radius: 50%;
  border: 1.5px solid #25d366;
  animation: wsp-ring 1.8s ease-out infinite;
}

/* Info grid — 3 tarjetas en fila */
.contact-info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 12px;
  position: relative;
  z-index: 1;
}

/* ---- Contact Cards ---- */
.contact-cards {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.contact-card {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 20px 24px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(201,168,76,0.12);
  text-decoration: none;
  color: var(--white);
  position: relative;
  overflow: hidden;
  transition: background 0.3s, border-color 0.3s, transform 0.2s;
}
.contact-card::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 2px;
  background: var(--gold);
  transform: scaleY(0);
  transition: transform 0.3s;
  transform-origin: bottom;
}
.contact-card:hover {
  background: rgba(201,168,76,0.06);
  border-color: rgba(201,168,76,0.3);
  transform: translateX(4px);
}
.contact-card:hover::before { transform: scaleY(1); }

/* WhatsApp */
.contact-card--whatsapp {
  background: rgba(37,211,102,0.06);
  border-color: rgba(37,211,102,0.2);
}
.contact-card--whatsapp::before { background: #25d366; }
.contact-card--whatsapp .contact-card__icon { color: #25d366; }
.contact-card--whatsapp:hover {
  background: rgba(37,211,102,0.1);
  border-color: rgba(37,211,102,0.4);
}

/* Instagram */
.contact-card--instagram .contact-card__icon {
  background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.contact-card--instagram::before {
  background: linear-gradient(180deg, #f09433, #bc1888);
}

/* Icon wrapper */
.contact-card__icon {
  flex-shrink: 0;
  width: 44px; height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.04);
  border-radius: 2px;
  color: var(--gold);
  transition: background 0.3s;
}
.contact-card:hover .contact-card__icon {
  background: rgba(255,255,255,0.08);
}

/* Body */
.contact-card__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.contact-card__label {
  font-size: 0.58rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  opacity: 0.8;
}
.contact-card__value {
  font-size: 0.95rem;
  color: var(--white);
  font-weight: 400;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.contact-card__sub {
  font-size: 0.72rem;
  color: var(--cream);
  opacity: 0.5;
}

/* Arrow */
.contact-card__arrow {
  flex-shrink: 0;
  color: var(--gold);
  opacity: 0;
  transform: translateX(-8px);
  transition: opacity 0.3s, transform 0.3s;
  font-size: 1.1rem;
}
.contact-card:hover .contact-card__arrow {
  opacity: 1;
  transform: translateX(0);
}

/* WhatsApp pulse ring */
.wsp-pulse {
  position: absolute;
  right: 16px; top: 50%;
  transform: translateY(-50%);
  width: 8px; height: 8px;
  background: #25d366;
  border-radius: 50%;
}
.wsp-pulse::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1.5px solid #25d366;
  animation: wsp-ring 1.8s ease-out infinite;
}
@keyframes wsp-ring {
  0%   { opacity: 1; transform: scale(1); }
  100% { opacity: 0; transform: scale(2.4); }
}

/* Status badge (open/closed) */
.status-badge {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border-radius: 20px;
  font-size: 0.6rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  border: 1px solid rgba(255,255,255,0.1);
  white-space: nowrap;
}
.status-badge.open {
  background: rgba(34,197,94,0.1);
  border-color: rgba(34,197,94,0.3);
  color: #4ade80;
}
.status-badge.closed {
  background: rgba(239,68,68,0.08);
  border-color: rgba(239,68,68,0.25);
  color: #f87171;
}
.status-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: currentColor;
}
.status-badge.open .status-dot {
  animation: blink 2s ease-in-out infinite;
}
@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

/* Map button */
.map-btn {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 12px;
  border: 1px solid rgba(201,168,76,0.3);
  color: var(--gold);
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.2s, border-color 0.2s;
}
.map-btn:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--black);
}

/* form removed — contact via WhatsApp */

/* ===================== FOOTER ===================== */
footer {
  background: var(--carbon);
  padding: 60px 48px 40px;
  border-top: 1px solid rgba(201,168,76,0.15);
}
.footer-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(201,168,76,0.1);
  margin-bottom: 40px;
}
.footer-logo {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2rem;
  letter-spacing: 0.3em;
  color: var(--gold);
  display: block;
  margin-bottom: 8px;
}
.footer-tagline {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--cream);
  opacity: 0.5;
}

.footer-nav-title {
  font-size: 0.6rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
  opacity: 0.8;
}
.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-links a {
  font-size: 0.85rem;
  color: var(--cream);
  text-decoration: none;
  opacity: 0.6;
  transition: opacity 0.3s, color 0.3s;
}
.footer-links a:hover { opacity: 1; color: var(--gold); }

.footer-social {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.social-link {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--cream);
  opacity: 0.6;
  transition: opacity 0.3s;
  font-size: 0.85rem;
}
.social-link:hover { opacity: 1; color: var(--gold); }
.social-link::before {
  content: '';
  width: 20px; height: 1px;
  background: currentColor;
  transition: width 0.3s;
}
.social-link:hover::before { width: 36px; }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.footer-copy {
  font-size: 0.7rem;
  color: var(--cream);
  opacity: 0.35;
  letter-spacing: 0.1em;
}
.footer-made {
  font-size: 0.7rem;
  color: var(--cream);
  opacity: 0.35;
}

/* ===================== RESPONSIVE ===================== */

/* --- Tablet: 1024px --- */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: 1fr 1fr; }
  #experiencia { grid-template-columns: 1fr; }
  .exp-right { display: none; }
  .contact-info-grid { grid-template-columns: 1fr 1fr; }
  .contact-hero { gap: 40px; }
  .wsp-cta { min-width: 280px; }
  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
  }
  .gallery-item:first-child { grid-row: auto; }
  .hero-vertical-text { font-size: 7rem; }
}

/* --- Mobile: 768px --- */
@media (max-width: 768px) {

  /* NAV */
  nav { padding: 18px 20px; }
  .nav-links { display: none; }
  .nav-cta { padding: 8px 16px; font-size: 0.6rem; }

  /* Menú hamburguesa */
  .hamburger {
    display: flex;
    flex-direction: column;
    gap: 5px;
    cursor: none;
    background: none;
    border: none;
    padding: 4px;
  }
  .hamburger span {
    display: block;
    width: 24px;
    height: 1.5px;
    background: var(--gold);
    transition: all 0.3s;
  }
  .hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
  .hamburger.open span:nth-child(2) { opacity: 0; }
  .hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

  /* Mobile menu overlay */
  .mobile-menu {
    display: flex;
    position: fixed;
    inset: 0;
    background: rgba(10,10,10,0.98);
    z-index: 999;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 40px;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.77, 0, 0.175, 1);
  }
  .mobile-menu.open { transform: translateX(0); }
  .mobile-menu a {
    font-family: 'Playfair Display', serif;
    font-size: 2.4rem;
    font-weight: 900;
    font-style: italic;
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s;
  }
  .mobile-menu a:hover { color: var(--gold); }
  .mobile-menu-cta {
    margin-top: 16px;
    background: var(--gold) !important;
    color: var(--black) !important;
    font-family: 'DM Sans', sans-serif !important;
    font-size: 0.7rem !important;
    font-style: normal !important;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    padding: 14px 32px !important;
  }

  /* HERO */
  #hero {
    padding: 0 20px 100px;
    align-items: center;
    text-align: center;
  }
  .hero-vertical-text { display: none; }
  .hero-slash { display: none; }
  .hero-year { display: none; }
  .hero-stats { display: none; }
  .scroll-line { display: none; }
  .hero-eyebrow { justify-content: center; }
  .hero-title { font-size: clamp(3rem, 14vw, 5rem); }
  .hero-sub { margin: 24px auto 0; text-align: left; }
  .hero-actions {
    justify-content: center;
    flex-direction: column;
    gap: 20px;
  }
  .btn-primary { width: 100%; justify-content: center; }
  .btn-ghost { justify-content: center; }

  /* MARQUEE */
  .marquee-item { font-size: 0.9rem; padding: 0 28px; gap: 28px; }

  /* SECTIONS */
  #servicios, #galeria, #contacto { padding: 80px 20px; }
  #experiencia { padding: 80px 0; }

  .section-header { flex-direction: column; gap: 16px; margin-bottom: 60px; }
  .section-num { font-size: 4rem; }

  /* SERVICES */
  .services-grid { grid-template-columns: 1fr; }
  .service-card { padding: 40px 28px; }
  .service-number { font-size: 4rem; }

  /* EXPERIENCE */
  .exp-left { padding: 60px 20px; }
  .exp-left::before { font-size: 8rem; }
  .exp-quote::before { font-size: 5rem; top: -24px; left: -8px; }

  /* GALLERY */
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-item:first-child { grid-row: auto; }
  .gallery-item img { min-height: 220px; }
  .gallery-item:first-child img { min-height: 220px; }

  /* CONTACT */
  #contacto::before { font-size: 10rem; top: 20px; }
  .contact-hero { flex-direction: column; gap: 32px; padding-bottom: 40px; }
  .contact-hero__desc { max-width: 100%; }
  .wsp-cta { min-width: 0; width: 100%; padding: 22px 24px; }
  .wsp-cta__num { font-size: 1.3rem; }
  .contact-info-grid { grid-template-columns: 1fr; }
  .contact-card { padding: 16px 18px; gap: 14px; }
  .contact-card__value { font-size: 0.85rem; white-space: normal; }
  .contact-card__icon { width: 38px; height: 38px; }
  .status-badge { padding: 4px 8px; font-size: 0.55rem; }
  .map-btn { padding: 5px 10px; font-size: 0.55rem; }

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

  /* FOOTER */
  footer { padding: 40px 20px 24px; }
  .footer-top { flex-direction: column; gap: 36px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
}

/* --- Small Mobile: 420px --- */
@media (max-width: 420px) {
  nav { padding: 16px; }
  .nav-logo { font-size: 1.1rem; }
  #hero { padding: 0 16px 80px; }
  .hero-title { font-size: clamp(2.6rem, 16vw, 4rem); line-height: 0.95; }
  .hero-actions { gap: 16px; }
  #servicios, #galeria, #contacto { padding: 60px 16px; }
  .service-card { padding: 32px 20px; }
  .service-name { font-size: 1.3rem; }
  .exp-left { padding: 48px 16px; }
  .badge-row { gap: 10px; }
  .badge { padding: 6px 14px; font-size: 0.58rem; }
  .contact-info-item { gap: 14px; }
  footer { padding: 32px 16px 20px; }
}
