:root {
  --gold: #C9A227;
  --gold-light: #e8c547;
  --gold-dim: rgba(201,162,39,0.12);
  --gold-border: rgba(201,162,39,0.25);
  --dark: #0a0a0a;
  --dark2: #111111;
  --dark3: #191919;
  --dark4: #222222;
  --gray: #777;
  --gray-light: #aaa;
  --light: #f5f5f5;
  --white: #fff;
  --font-display: 'Big Shoulders Display', sans-serif;
  --font: 'Outfit', sans-serif;
  --radius: 6px;
  --transition: 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--dark);
  color: var(--white);
  overflow-x: hidden;
}

/* Grain overlay for material depth */
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.022;
  pointer-events: none;
  z-index: 9998;
}

/* ── NAV ── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5%;
  height: 68px;
  background: rgba(8,8,8,0.88);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--gold-border);
  transition: background var(--transition);
}

.nav-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.nav-logo-img {
  height: 40px;
  width: auto;
  display: block;
  filter: drop-shadow(0 0 10px rgba(201,162,39,0.3));
  transition: filter var(--transition), transform var(--transition);
}

.nav-logo:hover .nav-logo-img {
  filter: drop-shadow(0 0 18px rgba(201,162,39,0.6));
  transform: scale(1.04);
}

.footer-logo-img {
  height: 46px;
  width: auto;
  display: block;
  opacity: 0.85;
  margin-bottom: 18px;
}

.nav-links {
  display: flex;
  gap: 2.2rem;
  list-style: none;
  align-items: center;
}

.nav-links a {
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  font-family: var(--font);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color var(--transition);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width var(--transition);
}

.nav-links a:hover::after { width: 100%; }
.nav-links a:hover { color: var(--gold); }

.nav-cta {
  background: var(--gold) !important;
  color: var(--dark) !important;
  padding: 8px 22px !important;
  border-radius: var(--radius) !important;
  font-weight: 700 !important;
  letter-spacing: 0.04em !important;
}

.nav-cta::after { display: none !important; }
.nav-cta:hover { background: var(--gold-light) !important; color: var(--dark) !important; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
}

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

/* ── PAGE LOAD ANIMATIONS ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(32px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.92); }
  to   { opacity: 1; transform: scale(1); }
}

/* ── REVEAL (scroll) ── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ── HERO ── */
.hero {
  position: relative;
  height: 100vh;
  min-height: 620px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('../Anuncios\ 3d\ Iluminacion\ frontal/IL01.png');
  background-size: cover;
  background-position: center;
  filter: brightness(0.28) saturate(0.8);
  transform: scale(1.06);
  animation: heroScale 12s ease forwards;
}

@keyframes heroScale {
  to { transform: scale(1.0); }
}

/* Radial light vignette */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 70% at 50% 50%,
    rgba(201,162,39,0.06) 0%,
    transparent 65%),
    linear-gradient(to bottom, rgba(0,0,0,0.3) 0%, transparent 40%, rgba(0,0,0,0.6) 100%);
  z-index: 1;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 960px;
  padding: 0 24px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--gold-border);
  color: var(--gold);
  font-family: var(--font);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 7px 18px;
  border-radius: 30px;
  margin-bottom: 28px;
  background: rgba(201,162,39,0.06);
  animation: fadeIn 0.8s ease both;
}

.hero-badge::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--gold);
  border-radius: 50%;
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 8vw, 7.5rem);
  font-weight: 900;
  line-height: 0.95;
  margin-bottom: 24px;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  animation: fadeUp 0.9s ease 0.2s both;
}

.hero h1 span {
  color: var(--gold);
  display: inline-block;
  position: relative;
}

.hero p {
  font-size: clamp(1rem, 1.8vw, 1.15rem);
  color: rgba(255,255,255,0.68);
  max-width: 580px;
  margin: 0 auto 40px;
  line-height: 1.75;
  font-weight: 300;
  animation: fadeUp 0.9s ease 0.4s both;
}

.btn-group {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeUp 0.9s ease 0.6s both;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: var(--radius);
  font-family: var(--font);
  font-weight: 600;
  font-size: 0.88rem;
  letter-spacing: 0.04em;
  text-decoration: none;
  transition: all var(--transition);
  cursor: pointer;
  border: none;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--gold);
  color: var(--dark);
}

.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.15) 0%, transparent 60%);
  opacity: 0;
  transition: opacity var(--transition);
}

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

.btn-primary:hover {
  background: var(--gold-light);
  transform: translateY(-3px);
  box-shadow: 0 12px 36px rgba(201,162,39,0.45), 0 0 0 1px rgba(201,162,39,0.3);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.3);
}

.btn-outline:hover {
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-3px);
  background: rgba(201,162,39,0.05);
}

.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,0.35);
  font-family: var(--font);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  animation: fadeIn 1s ease 1.2s both;
  z-index: 2;
}

.hero-scroll::after {
  content: '';
  width: 1px;
  height: 44px;
  background: linear-gradient(to bottom, rgba(201,162,39,0.5), transparent);
  animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {
  0%, 100% { transform: scaleY(1); opacity: 1; }
  50% { transform: scaleY(0.6); opacity: 0.5; }
}

/* ── SECCIÓN GENÉRICA ── */
section { padding: 110px 5%; }

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--gold);
  font-family: var(--font);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.section-label::before {
  content: '';
  display: inline-block;
  width: 28px;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.0;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: -0.01em;
}

.section-sub {
  color: var(--gray-light);
  font-size: 1rem;
  line-height: 1.75;
  max-width: 540px;
  font-weight: 300;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 64px;
  flex-wrap: wrap;
  gap: 24px;
}

/* ── STATS ── */
.stats {
  background: var(--dark2);
  padding: 0 5%;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--gold-border);
  border-bottom: 1px solid var(--gold-border);
  position: relative;
  overflow: hidden;
}

.stats::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.stats > div {
  padding: 56px 20px;
  text-align: center;
  position: relative;
  transition: background var(--transition);
}

.stats > div:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 25%;
  height: 50%;
  width: 1px;
  background: linear-gradient(to bottom, transparent, var(--gold-border), transparent);
}

.stats > div:hover { background: rgba(201,162,39,0.04); }

.stat-num {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 4vw, 4rem);
  font-weight: 900;
  color: var(--gold);
  line-height: 1;
  letter-spacing: -0.02em;
}

.stat-label {
  font-family: var(--font);
  font-size: 0.75rem;
  color: var(--gray);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-top: 10px;
  font-weight: 500;
}

/* ── SERVICIOS ── */
.services { background: var(--dark); }

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 3px;
}

.service-card {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/3;
  cursor: pointer;
  text-decoration: none;
  display: block;
  background: var(--dark3);
}

.service-card 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;
  filter: brightness(0.45) saturate(0.85);
}

.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: 0;
  background: linear-gradient(135deg,
    rgba(201,162,39,0.18) 0%,
    transparent 50%);
  transition: opacity 0.5s ease;
  border: 1px solid rgba(201,162,39,0.3);
  pointer-events: none;
}

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

.service-card:hover img {
  transform: scale(1.1);
  filter: brightness(0.3) saturate(0.6);
}

.service-card-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px;
  background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, transparent 55%);
}

.service-card-icon {
  font-size: 1.4rem;
  margin-bottom: 10px;
  color: var(--gold);
  opacity: 0;
  transform: translateY(12px);
  transition: all 0.45s ease;
}

.service-card:hover .service-card-icon {
  opacity: 1;
  transform: translateY(0);
}

.service-card h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.service-card p {
  font-family: var(--font);
  font-size: 0.8rem;
  font-weight: 300;
  color: rgba(255,255,255,0.55);
  margin-top: 6px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.45s ease;
  line-height: 1.5;
}

.service-card:hover p { max-height: 60px; }

.service-card-tag {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 3;
  background: var(--gold);
  color: var(--dark);
  font-family: var(--font);
  font-size: 0.62rem;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 30px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.service-card:hover .service-card-tag {
  opacity: 1;
  transform: translateY(0);
}

/* ── GALERÍA PREVIEW ── */
.gallery-preview { background: var(--dark2); }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: repeat(2, 290px);
  gap: 4px;
}

.gallery-grid .g1 { grid-column: span 5; grid-row: span 2; }
.gallery-grid .g2 { grid-column: span 4; }
.gallery-grid .g3 { grid-column: span 3; }
.gallery-grid .g4 { grid-column: span 3; }
.gallery-grid .g5 { grid-column: span 4; }

.gallery-item {
  overflow: hidden;
  position: relative;
  cursor: pointer;
  background: var(--dark3);
}

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

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

.gallery-item-label {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  padding: 24px;
  opacity: 0;
  transition: opacity 0.35s ease;
  background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 50%);
}

.gallery-item-label span {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

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

/* ── NOSOTROS ── */
.about {
  background: var(--dark);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 88px;
  align-items: center;
}

.about-images {
  position: relative;
  height: 520px;
}

.about-img-main {
  position: absolute;
  top: 0; left: 0;
  width: 75%;
  height: 85%;
  object-fit: cover;
  border-radius: var(--radius);
  filter: saturate(0.9);
}

.about-img-accent {
  position: absolute;
  bottom: 0; right: 0;
  width: 55%;
  height: 60%;
  object-fit: cover;
  border-radius: var(--radius);
  border: 4px solid var(--dark);
  filter: saturate(0.85);
}

.about-gold-bar {
  position: absolute;
  bottom: 68px;
  left: -24px;
  width: 4px;
  height: 130px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  border-radius: 2px;
}

/* Decorative corner bracket */
.about-images::after {
  content: '';
  position: absolute;
  top: -12px;
  left: -12px;
  width: 48px;
  height: 48px;
  border-top: 2px solid var(--gold);
  border-left: 2px solid var(--gold);
  opacity: 0.6;
}

.about-text { padding: 20px 0; }

.about-features {
  margin-top: 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.feature-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 16px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  transition: border-color var(--transition), background var(--transition);
}

.feature-item:hover {
  border-color: var(--gold-border);
  background: var(--gold-dim);
}

.feature-icon {
  width: 42px;
  height: 42px;
  background: var(--gold-dim);
  border: 1px solid var(--gold-border);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
  transition: background var(--transition);
}

.feature-item:hover .feature-icon { background: rgba(201,162,39,0.2); }

.feature-item h4 {
  font-family: var(--font);
  font-size: 0.88rem;
  font-weight: 700;
  margin-bottom: 4px;
  color: var(--white);
}

.feature-item p {
  font-size: 0.78rem;
  color: var(--gray);
  line-height: 1.5;
  font-weight: 300;
}

/* ── CONTACTO ── */
.contact {
  background: var(--dark2);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 88px;
  align-items: start;
}

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

.contact-item {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  padding: 20px;
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,0.05);
  transition: border-color var(--transition), background var(--transition);
}

.contact-item:hover {
  border-color: var(--gold-border);
  background: var(--gold-dim);
}

.contact-icon {
  width: 48px;
  height: 48px;
  background: var(--gold-dim);
  border: 1px solid var(--gold-border);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.contact-item h4 {
  font-family: var(--font);
  font-size: 0.72rem;
  color: var(--gold);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 7px;
  font-weight: 600;
}

.contact-item p, .contact-item a {
  color: rgba(255,255,255,0.75);
  font-size: 0.93rem;
  line-height: 1.65;
  text-decoration: none;
  transition: color var(--transition);
  font-weight: 300;
}

.contact-item a:hover { color: var(--gold); }

.contact-map {
  margin-top: 8px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--gold-border);
}

.contact-map iframe {
  width: 100%;
  height: 260px;
  display: block;
  filter: grayscale(0.6) invert(0.88) hue-rotate(180deg);
}

.contact-form-wrap {
  background: var(--dark3);
  padding: 44px;
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,0.06);
  position: relative;
  overflow: hidden;
}

.contact-form-wrap::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.contact-form-wrap h3 {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.contact-form-wrap > p {
  color: var(--gray);
  font-size: 0.88rem;
  margin-bottom: 30px;
  font-weight: 300;
}

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

.form-group label {
  display: block;
  font-family: var(--font);
  font-size: 0.73rem;
  color: var(--gray-light);
  margin-bottom: 7px;
  letter-spacing: 0.06em;
  font-weight: 500;
  text-transform: uppercase;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  background: var(--dark2);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius);
  color: var(--white);
  padding: 12px 16px;
  font-family: var(--font);
  font-size: 0.9rem;
  font-weight: 300;
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
  appearance: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201,162,39,0.1);
}

.form-group textarea { resize: vertical; min-height: 120px; }
.form-group select option { background: var(--dark2); }

.whatsapp-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  background: #25D366;
  color: white;
  padding: 14px;
  border-radius: var(--radius);
  font-family: var(--font);
  font-weight: 600;
  font-size: 0.92rem;
  text-decoration: none;
  margin-top: 12px;
  transition: all var(--transition);
}

.whatsapp-btn:hover {
  background: #1ebe5d;
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(37,211,102,0.35);
}

/* ── FOOTER ── */
footer {
  background: #050505;
  padding: 72px 5% 32px;
  border-top: 1px solid var(--gold-border);
  position: relative;
}

footer::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--gold) 50%, transparent 100%);
  opacity: 0.5;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 56px;
}

.footer-brand p {
  color: var(--gray);
  font-size: 0.86rem;
  line-height: 1.8;
  margin-top: 16px;
  max-width: 300px;
  font-weight: 300;
}

.footer-col h4 {
  font-family: var(--font);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}

.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 12px; }

.footer-col a {
  color: var(--gray);
  text-decoration: none;
  font-size: 0.86rem;
  font-weight: 300;
  transition: color var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.footer-col a:hover { color: var(--white); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.05);
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-bottom p {
  color: var(--gray);
  font-size: 0.78rem;
  font-weight: 300;
}

/* ── GALERÍA PAGE ── */
.gallery-page { padding-top: 120px; background: var(--dark); min-height: 100vh; }

.gallery-page-header {
  text-align: center;
  padding: 0 5% 64px;
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-top: 40px;
}

.filter-btn {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.5);
  padding: 9px 22px;
  border-radius: 30px;
  font-family: var(--font);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  cursor: pointer;
  transition: all var(--transition);
}

.filter-btn:hover, .filter-btn.active {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--dark);
  font-weight: 700;
}

.masonry-grid {
  columns: 4;
  column-gap: 4px;
  padding: 0 5% 88px;
}

.masonry-item {
  break-inside: avoid;
  margin-bottom: 4px;
  overflow: hidden;
  cursor: pointer;
  position: relative;
  display: block;
}

.masonry-item img {
  width: 100%;
  display: block;
  transition: transform 0.55s cubic-bezier(0.25, 0.46, 0.45, 0.94), filter 0.55s;
}

.masonry-item:hover img {
  transform: scale(1.05);
  filter: brightness(0.65);
}

.masonry-item-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.35s ease;
  gap: 10px;
}

.masonry-item:hover .masonry-item-overlay { opacity: 1; }

.masonry-item-overlay span {
  background: var(--gold);
  color: var(--dark);
  font-family: var(--font);
  font-size: 0.73rem;
  font-weight: 700;
  padding: 6px 16px;
  border-radius: 30px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.masonry-item-overlay .zoom-icon {
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(6px);
  color: white;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  border: 1px solid rgba(255,255,255,0.2);
}

/* ── LIGHTBOX ── */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.96);
  backdrop-filter: blur(8px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

.lightbox.active {
  opacity: 1;
  pointer-events: all;
}

.lightbox-img {
  max-width: 90vw;
  max-height: 88vh;
  object-fit: contain;
  border-radius: var(--radius);
  box-shadow: 0 32px 96px rgba(0,0,0,0.9);
}

.lightbox-close {
  position: fixed;
  top: 24px;
  right: 28px;
  color: var(--white);
  font-size: 1.6rem;
  cursor: pointer;
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 50%;
  transition: background var(--transition), border-color var(--transition);
}

.lightbox-close:hover {
  background: rgba(201,162,39,0.25);
  border-color: var(--gold);
}

.lightbox-nav {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  color: white;
  font-size: 1.8rem;
  cursor: pointer;
  width: 54px;
  height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 50%;
  transition: all var(--transition);
}

.lightbox-nav:hover {
  background: rgba(201,162,39,0.3);
  border-color: var(--gold);
}

.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }

.lightbox-caption {
  position: fixed;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(10px);
  color: var(--white);
  padding: 10px 26px;
  border-radius: 30px;
  font-family: var(--font);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  border: 1px solid rgba(255,255,255,0.08);
}

/* ── WHATSAPP FLOTANTE ── */
.wa-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 999;
  width: 58px;
  height: 58px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: 0 6px 28px rgba(37,211,102,0.4);
  transition: all var(--transition);
  animation: pulse-wa 2.5s ease-in-out infinite;
}

.wa-float:hover {
  transform: scale(1.12);
  box-shadow: 0 12px 40px rgba(37,211,102,0.55);
}

.wa-float svg { width: 30px; height: 30px; fill: white; }

@keyframes pulse-wa {
  0%, 100% { box-shadow: 0 6px 28px rgba(37,211,102,0.4); }
  50% { box-shadow: 0 6px 48px rgba(37,211,102,0.65), 0 0 0 8px rgba(37,211,102,0.08); }
}

/* ── RESPONSIVE ── */
@media (max-width: 1200px) {
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stats > div:nth-child(2)::after { display: none; }
}

@media (max-width: 1024px) {
  .about, .contact { grid-template-columns: 1fr; gap: 52px; }
  .about-images { height: 380px; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .masonry-grid { columns: 3; }
  .gallery-grid { grid-template-columns: repeat(6, 1fr); grid-template-rows: repeat(3, 220px); }
  .gallery-grid .g1 { grid-column: span 3; grid-row: span 2; }
  .gallery-grid .g2 { grid-column: span 3; }
  .gallery-grid .g3 { grid-column: span 3; }
  .gallery-grid .g4 { grid-column: span 3; }
  .gallery-grid .g5 { grid-column: span 3; }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 68px; left: 0; right: 0;
    background: rgba(8,8,8,0.98);
    flex-direction: column;
    padding: 24px 5%;
    gap: 18px;
    border-bottom: 1px solid var(--gold-border);
  }
  .nav-links.open { display: flex; }
  .nav-toggle { display: flex; }
  section { padding: 80px 5%; }
  .stats { grid-template-columns: repeat(2, 1fr); padding: 0 5%; }
  .stats > div::after { display: none !important; }
  .gallery-grid { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
  .gallery-grid > * { grid-column: span 1 !important; grid-row: span 1 !important; height: 200px; }
  .masonry-grid { columns: 2; }
  .footer-top { grid-template-columns: 1fr; }
  .about-features { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); }
  .contact-form-wrap { padding: 28px 20px; }
}

@media (max-width: 480px) {
  .masonry-grid { columns: 1; }
  .gallery-grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .hero h1 { font-size: clamp(3rem, 12vw, 5rem); }
}
