/* =========================================================
   QUINTO ELEMENTO — Premium Dark Luxury Design System
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&family=Playfair+Display:wght@700;900&display=swap');

/* ── Variables ── */
:root {
  --gold: #f59e0b;
  --gold-light: #fbbf24;
  --gold-dark: #d97706;
  --gold-glow: rgba(245, 158, 11, 0.35);
  --green: #10b981;
  --dark: #050b14;
  --dark-2: #0a1628;
  --dark-3: #0f1f2e;
  --glass: rgba(255, 255, 255, 0.04);
  --glass-border: rgba(255, 255, 255, 0.08);
  --white: #ffffff;
  --muted: #94a3b8;
  --text: #cbd5e1;
  --transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --radius: 16px;
  --shadow-gold: 0 0 40px rgba(245, 158, 11, 0.2);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Outfit', sans-serif;
  background-color: var(--dark);
  color: var(--text);
  line-height: 1.7;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

/* ── Scrollbar ── */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: var(--dark-2);
}

::-webkit-scrollbar-thumb {
  background: var(--gold-dark);
  border-radius: 3px;
}

/* =========================================================
   NAVBAR — Glassmorphism translúcido
   ========================================================= */
header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(5, 11, 20, 0.75);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--glass-border);
  transition: var(--transition);
}

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

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1280px;
  margin: 0 auto;
  padding: 1rem 2.5rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  text-decoration: none;
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--white);
  letter-spacing: -0.3px;
  transition: var(--transition);
}

.logo:hover {
  opacity: 0.85;
}

.logo img {
  height: 48px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 0 8px var(--gold-glow));
  transition: var(--transition);
}

.logo:hover img {
  transform: rotate(15deg) scale(1.1);
}

.logo span {
  background: linear-gradient(135deg, var(--white) 0%, var(--gold-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

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

.nav-links a {
  text-decoration: none;
  color: var(--muted);
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 0.3px;
  transition: var(--transition);
  position: relative;
  padding-bottom: 4px;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  transition: var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--gold-light);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

/* ── CTA nav button ── */
.nav-links li:last-child a {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--dark);
  padding: 0.5rem 1.3rem;
  border-radius: 50px;
  font-weight: 700;
  box-shadow: 0 4px 20px var(--gold-glow);
}

.nav-links li:last-child a::after {
  display: none;
}

.nav-links li:last-child a:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px var(--gold-glow);
  color: var(--dark);
}

/* =========================================================
   HERO — Full-screen espectacular
   ========================================================= */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding: 0 2rem;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg,
      rgba(5, 11, 20, 0.3) 0%,
      rgba(5, 11, 20, 0.6) 50%,
      rgba(5, 11, 20, 0.9) 100%);
  z-index: 1;
}

.hero-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

/* Orbes de luz animados */
.hero::after {
  content: '';
  position: absolute;
  width: 600px;
  height: 600px;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  background: radial-gradient(ellipse, rgba(245, 158, 11, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  animation: orbPulse 6s ease-in-out infinite;
  z-index: 1;
  pointer-events: none;
}

@keyframes orbPulse {

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

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

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

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  color: var(--gold-light);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 0.4rem 1.2rem;
  border-radius: 50px;
  margin-bottom: 2rem;
  backdrop-filter: blur(10px);
  animation: fadeInDown 0.8s ease-out both;
}

.hero-content h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.8rem, 6vw, 5.5rem);
  font-weight: 900;
  line-height: 1.1;
  color: var(--white);
  margin-bottom: 1.5rem;
  animation: fadeInDown 1s ease-out 0.2s both;
}

.hero-content h1 .highlight {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 50%, #fde68a 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-content p {
  font-size: 1.2rem;
  color: var(--text);
  max-width: 600px;
  margin: 0 auto 2.5rem;
  animation: fadeInUp 1s ease-out 0.4s both;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeInUp 1s ease-out 0.6s both;
}

/* Estadísticas hero */
.hero-stats {
  display: flex;
  justify-content: center;
  gap: 3rem;
  margin-top: 4rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--glass-border);
  animation: fadeInUp 1s ease-out 0.8s both;
  flex-wrap: wrap;
}

.hero-stat span {
  display: block;
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--gold-light);
  line-height: 1;
}

.hero-stat small {
  font-size: 0.8rem;
  color: var(--muted);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-top: 0.3rem;
  display: block;
}

/* Scroll indicator */
.hero-scroll {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  opacity: 0.6;
  animation: bounce 2s ease-in-out infinite;
}

.hero-scroll span {
  font-size: 0.72rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--muted);
}

.hero-scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--gold), transparent);
}

@keyframes bounce {

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

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

/* =========================================================
   BUTTONS
   ========================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.9rem 2rem;
  border-radius: 50px;
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  letter-spacing: 0.3px;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--dark);
  box-shadow: 0 4px 20px var(--gold-glow);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px var(--gold-glow);
}

.btn-outline {
  background: var(--glass);
  color: var(--white);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(10px);
}

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

/* Alias para compatibilidad */
.btn:not(.btn-primary):not(.btn-outline):not(.btn-secondary) {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--dark);
  box-shadow: 0 4px 20px var(--gold-glow);
}

.btn:not(.btn-primary):not(.btn-outline):not(.btn-secondary):hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px var(--gold-glow);
}

.btn-secondary {
  background: var(--glass);
  color: var(--white);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: rgba(16, 185, 129, 0.15);
  border-color: var(--green);
  color: #6ee7b7;
  transform: translateY(-3px);
}

/* =========================================================
   SECTIONS — Sistema de secciones dark
   ========================================================= */
.section {
  padding: 7rem 2rem;
  max-width: 1280px;
  margin: 0 auto;
}

.section--full {
  max-width: 100%;
  padding: 7rem 2rem;
  background: var(--dark-2);
  position: relative;
  overflow: hidden;
}

.section--full::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(245, 158, 11, 0.07) 0%, transparent 60%);
  pointer-events: none;
}

.section-inner {
  max-width: 1280px;
  margin: 0 auto;
  position: relative;
}

.section-label {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
}

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  color: var(--white);
  margin-bottom: 1.25rem;
  line-height: 1.2;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 600px;
  margin: 0 auto 4rem;
  text-align: center;
  line-height: 1.8;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

/* =========================================================
   CARDS — ¿Por qué elegirnos?
   ========================================================= */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.service-card {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
  position: relative;
  backdrop-filter: blur(10px);
}

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

.service-card:hover {
  transform: translateY(-10px);
  border-color: rgba(245, 158, 11, 0.3);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4), var(--shadow-gold);
}

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

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

.service-card:hover img {
  transform: scale(1.05);
}

.service-content {
  padding: 2rem;
}

.service-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  display: block;
  filter: drop-shadow(0 0 12px var(--gold-glow));
}

.service-content h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.75rem;
}

.service-content p {
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.7;
}

/* =========================================================
   GALLERY GRID — El Poder Solar
   ========================================================= */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(2, 260px);
  gap: 1rem;
}

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

.gallery-card:nth-child(1) {
  grid-column: span 2;
  grid-row: span 1;
}

.gallery-card:nth-child(5) {
  grid-column: span 2;
  grid-row: span 1;
}

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

.gallery-card:hover img {
  transform: scale(1.1);
}

.gallery-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.75rem;
  background: linear-gradient(to top, rgba(5, 11, 20, 0.95) 0%, rgba(5, 11, 20, 0.3) 50%, transparent 100%);
  opacity: 0;
  transition: opacity 0.35s ease;
}

.gallery-card:hover .gallery-content {
  opacity: 1;
}

.gallery-content h4 {
  color: var(--gold-light);
  font-size: 1.15rem;
  font-weight: 800;
  margin-bottom: 0.4rem;
}

.gallery-content p {
  font-size: 0.87rem;
  color: var(--text);
  line-height: 1.5;
}

/* Emoji gallery cards */
.gallery-emoji-bg {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4.5rem;
  border-radius: var(--radius);
}

/* =========================================================
   FORM — Inscripción premium
   ========================================================= */
.form-container {
  width: 100%;
  background: var(--glass);
  border: 1px solid var(--gold);
  padding: 3rem;
  border-radius: 24px;
  backdrop-filter: blur(20px);
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.5), 0 0 20px var(--gold-glow);
  position: relative;
  overflow: hidden;
}

/* ── Contact Layout Refactor ── */
.contact-wrapper {
  display: flex;
  gap: 3rem;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
}

.contact-media {
  flex: 1;
  display: none;
  /* Hidden on mobile */
}

@media (min-width: 992px) {
  .contact-media {
    display: block;
  }
}

.contact-media img {
  width: 100%;
  height: 600px;
  object-fit: cover;
  border-radius: 24px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5), var(--shadow-gold);
  border: 1px solid var(--glass-border);
}

.contact-wrapper .form-container {
  flex: 1;
}



.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--gold-light);
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.9rem 1.1rem;
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  font-family: 'Outfit', sans-serif;
  font-size: 0.95rem;
  transition: var(--transition);
  background: rgba(255, 255, 255, 0.05);
  color: var(--white);
}

.form-group select option {
  background: var(--dark-2);
  color: var(--white);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--muted);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.15);
  background: rgba(255, 255, 255, 0.07);
}

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

/* =========================================================
   NOSOTROS PAGE CARD
   ========================================================= */
.about-card {
  max-width: 860px;
  margin: 0 auto;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  padding: 3.5rem;
  border-radius: 24px;
  backdrop-filter: blur(20px);
  position: relative;
  overflow: hidden;
}

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

.about-logo-wrap {
  text-align: center;
  margin-bottom: 2.5rem;
}

.about-logo-wrap img {
  max-width: 200px;
  filter: drop-shadow(0 0 20px var(--gold-glow));
}

.about-card p {
  font-size: 1.05rem;
  color: var(--text);
  line-height: 1.85;
  margin-bottom: 1.5rem;
}

.about-card strong {
  color: var(--gold-light);
}

/* =========================================================
   ANIMATIONS
   ========================================================= */
@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-25px);
  }

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

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(25px);
  }

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

@keyframes shimmer {
  0% {
    background-position: -200% center;
  }

  100% {
    background-position: 200% center;
  }
}

/* Reveal on scroll support */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* =========================================================
   FOOTER PREMIUM (mantiene el diseño anterior)
   ========================================================= */
footer.footer-premium {
  position: relative;
  background: linear-gradient(160deg, #02070f 0%, #0a1628 50%, #051209 100%);
  color: var(--text);
  padding: 0;
  margin-top: auto;
  overflow: hidden;
  border-top: 1px solid rgba(245, 158, 11, 0.25);
}

.footer-glow {
  position: absolute;
  top: -80px;
  left: 50%;
  transform: translateX(-50%);
  width: 700px;
  height: 180px;
  background: radial-gradient(ellipse, rgba(245, 158, 11, 0.1) 0%, transparent 70%);
  pointer-events: none;
}

.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.2fr;
  gap: 3rem;
  padding: 4.5rem 2.5rem 3.5rem;
}

.footer-desc {
  font-size: 0.92rem;
  line-height: 1.8;
  color: var(--muted);
  margin-bottom: 1.75rem;
}

.footer-social {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.social-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  color: var(--muted);
  text-decoration: none;
  transition: var(--transition);
  backdrop-filter: blur(4px);
}

.social-btn:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--dark);
  transform: translateY(-4px);
  box-shadow: 0 10px 25px var(--gold-glow);
}

.social-btn--whatsapp:hover {
  background: #25d366;
  border-color: #25d366;
  color: #fff;
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
}

.social-btn--youtube:hover {
  background: #ff0000;
  border-color: #ff0000;
  color: #fff;
  box-shadow: 0 10px 25px rgba(255, 0, 0, 0.4);
}

.footer-heading {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.5rem;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.92rem;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.footer-links a::before {
  content: '›';
  color: var(--gold);
  opacity: 0;
  transform: translateX(-6px);
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--white);
  transform: translateX(5px);
}

.footer-links a:hover::before {
  opacity: 1;
  transform: translateX(0);
}

.footer-contact-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.footer-contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.92rem;
  color: var(--muted);
}

.contact-icon {
  font-size: 1rem;
  flex-shrink: 0;
  margin-top: 1px;
}

.footer-contact-list a {
  color: var(--muted);
  text-decoration: none;
  transition: var(--transition);
}

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

.footer-contact-list strong {
  color: var(--white);
}

.footer-bottom {
  max-width: 1280px;
  margin: 0 auto;
  padding: 1.5rem 2.5rem;
  border-top: 1px solid rgba(245, 158, 11, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.footer-bottom p {
  font-size: 0.82rem;
  color: #475569;
}

.footer-tagline {
  font-size: 0.82rem;
  color: #475569;
}

/* =========================================================
   NOSOTROS — Feature callout
   ========================================================= */
.feature-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.feature-item {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: 14px;
  padding: 1.75rem;
  text-align: center;
  transition: var(--transition);
}

.feature-item:hover {
  border-color: rgba(245, 158, 11, 0.4);
  transform: translateY(-6px);
}

.feature-item .fi {
  font-size: 2.5rem;
  display: block;
  margin-bottom: 0.75rem;
}

.feature-item h4 {
  color: var(--gold-light);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
}

.feature-item p {
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.6;
}

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

  .gallery-card:nth-child(1),
  .gallery-card:nth-child(5) {
    grid-column: span 1;
  }
}

@media (max-width: 900px) {
  .footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .feature-strip {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  nav {
    padding: 0.9rem 1.5rem;
    flex-direction: column;
    gap: 1rem;
  }

  .nav-links {
    gap: 1.25rem;
    flex-wrap: wrap;
    justify-content: center;
  }

  .hero-stats {
    gap: 1.5rem;
  }

  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
  }

  .gallery-card:nth-child(1),
  .gallery-card:nth-child(5) {
    grid-column: span 1;
  }

  .section {
    padding: 4rem 1.5rem;
  }

  .section--full {
    padding: 4rem 1.5rem;
  }

  .form-container {
    padding: 2rem 1.5rem;
  }
}

@media (max-width: 560px) {
  .hero-content h1 {
    font-size: 2.4rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: center;
  }

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

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

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

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

/* =========================================================
   BENTO GALLERY — Nuevo diseño premium
   ========================================================= */

/* Filtros */
.gallery-filters {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.gf-btn {
  padding: 0.55rem 1.4rem;
  border-radius: 50px;
  border: 1px solid var(--glass-border);
  background: var(--glass);
  color: var(--muted);
  font-family: 'Outfit', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.4px;
  cursor: pointer;
  transition: var(--transition);
  backdrop-filter: blur(8px);
}

.gf-btn:hover {
  border-color: var(--gold);
  color: var(--gold-light);
}

.gf-btn.active {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  border-color: var(--gold);
  color: var(--dark);
  box-shadow: 0 4px 20px var(--gold-glow);
}

/* Bento Grid */
.bento-gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: 280px 220px;
  gap: 1.25rem;
}

/* Card hero ocupa col 1-2, fila 1-2 */
.bento-card--hero {
  grid-column: span 2;
  grid-row: span 2;
}

/* Card wide ocupa cols 3-4 en fila 2 */
.bento-card--wide {
  grid-column: span 2;
}

/* Base card */
.bento-card {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  cursor: pointer;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1),
    box-shadow 0.4s cubic-bezier(0.4, 0, 0.2, 1),
    border-color 0.4s ease;
}

.bento-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}

.bento-card:hover {
  transform: translateY(-6px) scale(1.01);
  border-color: rgba(245, 158, 11, 0.4);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), var(--shadow-gold);
}

.bento-card:hover img {
  transform: scale(1.07);
}

/* Overlay al hacer hover */
.bento-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem;
  background: linear-gradient(to top,
      rgba(5, 11, 20, 0.95) 0%,
      rgba(5, 11, 20, 0.5) 40%,
      transparent 100%);
  opacity: 0;
  transition: opacity 0.35s ease;
}

.bento-card:hover .bento-overlay {
  opacity: 1;
}

/* Badge de categoría */
.bento-tag {
  position: absolute;
  top: 1rem;
  left: 1rem;
  padding: 0.3rem 0.85rem;
  background: rgba(245, 158, 11, 0.15);
  border: 1px solid rgba(245, 158, 11, 0.4);
  border-radius: 50px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gold-light);
  backdrop-filter: blur(6px);
  transform: translateY(-4px);
  opacity: 0;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

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

.bento-info h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 0.35rem;
}

.bento-info p {
  font-size: 0.85rem;
  color: var(--text);
  line-height: 1.5;
}

/* Hero card — overlay siempre visible parcialmente */
.bento-card--hero .bento-overlay {
  opacity: 0.6;
}

.bento-card--hero:hover .bento-overlay {
  opacity: 1;
}

/* Stat Cards */
.bento-card--stat {
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: default;
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.12) 0%, rgba(245, 158, 11, 0.04) 100%);
  border-color: rgba(245, 158, 11, 0.2);
}

.bento-card--stat:hover {
  transform: translateY(-6px);
  border-color: rgba(245, 158, 11, 0.5);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4), var(--shadow-gold);
}

.bento-card--green {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.15) 0%, rgba(16, 185, 129, 0.04) 100%);
  border-color: rgba(16, 185, 129, 0.2);
}

.bento-card--green:hover {
  border-color: rgba(16, 185, 129, 0.5);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4), 0 0 40px rgba(16, 185, 129, 0.2);
}

.bento-card--blue {
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.15) 0%, rgba(14, 165, 233, 0.04) 100%);
  border-color: rgba(14, 165, 233, 0.2);
}

.bento-card--blue:hover {
  border-color: rgba(14, 165, 233, 0.5);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4), 0 0 40px rgba(14, 165, 233, 0.2);
}

.bento-stat-inner {
  text-align: center;
  padding: 1.5rem;
}

.bento-stat-icon {
  font-size: 2.8rem;
  display: block;
  margin-bottom: 0.75rem;
  filter: drop-shadow(0 0 12px var(--gold-glow));
}

.bento-card--stat strong {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.2rem, 3vw, 3rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1;
  margin-bottom: 0.55rem;
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.bento-card--green strong {
  background: linear-gradient(135deg, #6ee7b7, #10b981);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.bento-card--blue strong {
  background: linear-gradient(135deg, #7dd3fc, #0ea5e9);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.bento-card--stat p {
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.5;
  max-width: 140px;
  margin: 0 auto;
}

/* Card oculta por filtro */
.bento-card.hidden {
  display: none;
}

/* Responsive bento */
@media (max-width: 1024px) {
  .bento-gallery {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: auto;
  }

  .bento-card--hero {
    grid-column: span 2;
    grid-row: span 1;
    height: 300px;
  }

  .bento-card--wide {
    grid-column: span 2;
  }

  .bento-card {
    height: 220px;
  }
}

@media (max-width: 600px) {
  .bento-gallery {
    grid-template-columns: 1fr;
  }

  .bento-card--hero,
  .bento-card--wide {
    grid-column: span 1;
    height: 240px;
  }

  .bento-card {
    height: 200px;
  }
}

/* =========================================================
   GALLERY MODAL — Dialog premium
   ========================================================= */
.gmodal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9000;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.gmodal.open {
  display: flex;
}

.gmodal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 11, 20, 0.85);
  backdrop-filter: blur(8px);
  animation: gmodalFadeIn 0.3s ease forwards;
  cursor: pointer;
}

.gmodal-panel {
  position: relative;
  z-index: 1;
  background: linear-gradient(145deg, #0d1b2e, #0a1628);
  border: 1px solid rgba(245, 158, 11, 0.25);
  border-radius: 24px;
  overflow: hidden;
  max-width: 680px;
  width: 100%;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.7), var(--shadow-gold);
  animation: gmodalSlideUp 0.35s cubic-bezier(0.4, 0, 0.2, 1) forwards;
  display: flex;
  flex-direction: column;
}

@keyframes gmodalFadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes gmodalSlideUp {
  from {
    opacity: 0;
    transform: translateY(30px) scale(0.97);
  }

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

/* Botón cerrar */
.gmodal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 10;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(5, 11, 20, 0.6);
  color: var(--muted);
  font-size: 0.9rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  backdrop-filter: blur(4px);
}

.gmodal-close:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--dark);
  transform: rotate(90deg);
}

/* Imagen */
.gmodal-img-wrap {
  position: relative;
  width: 100%;
  height: 280px;
  overflow: hidden;
}

.gmodal-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.gmodal-img-wrap::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60%;
  background: linear-gradient(to top, #0a1628, transparent);
}

.gmodal-tag {
  position: absolute;
  bottom: 1.25rem;
  left: 1.5rem;
  z-index: 2;
  padding: 0.3rem 0.85rem;
  background: rgba(245, 158, 11, 0.15);
  border: 1px solid rgba(245, 158, 11, 0.5);
  border-radius: 50px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gold-light);
  backdrop-filter: blur(6px);
}

/* Cuerpo */
.gmodal-body {
  padding: 1.75rem 2rem 2rem;
}

.gmodal-body h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--white);
  margin-bottom: 0.6rem;
  line-height: 1.2;
}

.gmodal-body>p {
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: 1.25rem;
}

/* Lista de detalles */
.gmodal-details {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem 1.5rem;
  margin-bottom: 1.75rem;
}

.gmodal-details li {
  font-size: 0.85rem;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.gmodal-details li::before {
  content: '✦';
  color: var(--gold);
  font-size: 0.6rem;
  flex-shrink: 0;
}

.gmodal-cta {
  display: inline-flex;
  font-size: 0.9rem;
}

/* Responsive modal */
@media (max-width: 600px) {
  .gmodal-img-wrap {
    height: 200px;
  }

  .gmodal-body {
    padding: 1.25rem 1.25rem 1.5rem;
  }

  .gmodal-details {
    grid-template-columns: 1fr;
  }

  .gmodal-body h2 {
    font-size: 1.3rem;
  }
}

/* =========================================================
   SHOWCASE — Galería 50/50 (Imagen a media pantalla)
   ========================================================= */
.showcase-section {
  background: var(--dark);
  overflow: hidden;
}

.showcase-panel {
  display: flex;
  min-height: 550px;
  border-bottom: 1px solid rgba(245, 158, 11, 0.1);
  transition: background 0.4s ease;
}

.showcase-panel:hover {
  background: rgba(245, 158, 11, 0.02);
}

.showcase-panel--right {
  flex-direction: row-reverse;
}

/* Área de Imagen (Media) */
.showcase-media {
  flex: 1;
  position: relative;
  overflow: hidden;
}

.showcase-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 1.2s cubic-bezier(0.19, 1, 0.22, 1);
}

.showcase-panel:hover .showcase-media img {
  transform: scale(1.08);
}

/* Gradiente sutil sobre la imagen */
.showcase-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 60%, rgba(5, 11, 20, 0.4));
}

/* Área de Texto (Content) */
.showcase-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 4rem 6rem;
  background: var(--dark);
  position: relative;
}

.showcase-panel--right .showcase-content {
  padding: 4rem 6rem 4rem 4rem;
}

/* Tag / badge */
.showcase-tag {
  display: inline-block;
  padding: 0.35rem 1rem;
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid rgba(245, 158, 11, 0.3);
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 1.5rem;
  width: fit-content;
}

/* Título */
.showcase-content h3 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

/* Descripción */
.showcase-content>p {
  font-size: 1.1rem;
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 2.5rem;
}

/* Stats simplificados */
.showcase-stats {
  display: flex;
  gap: 3rem;
  margin-bottom: 3rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 2rem;
}

.showcase-stats div {
  display: flex;
  flex-direction: column;
}

.showcase-stats strong {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 0.3rem;
}

.showcase-stats span {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text);
  opacity: 0.6;
}

/* Responsive */
@media (max-width: 1200px) {
  .showcase-content {
    padding: 3rem 4rem;
  }
}

@media (max-width: 1024px) {
  .showcase-panel {
    flex-direction: column !important;
    min-height: auto;
  }

  .showcase-media {
    height: 400px;
    width: 100%;
  }

  .showcase-content {
    padding: 4rem 2rem;
    width: 100%;
  }

  .showcase-stats {
    gap: 1.5rem;
    flex-wrap: wrap;
  }
}

@media (max-width: 600px) {
  .showcase-media {
    height: 300px;
  }

  .showcase-content h3 {
    font-size: 1.8rem;
  }
}