:root {
  --gold: #d4af37;
  --gold2: #b8932f;
  --dark: #0f0f0f;
  --dark2: #121212;
  --card: #1a1a1a;

  --text: #ffffff;
  --muted: rgba(255, 255, 255, .78);

  --radius: 18px;
  --radius2: 14px;

  --shadow-soft: 0 14px 35px rgba(0, 0, 0, .14);
  --shadow-deep: 0 30px 80px rgba(0, 0, 0, .55);

  --ring: 0 0 0 4px rgba(212, 175, 55, .18);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  overflow-x: hidden;
}

body {
  margin: 0;
  font-family: 'Montserrat', sans-serif;
  background: var(--dark);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

img,
video {
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
}

:focus-visible {
  outline: none;
  box-shadow: var(--ring);
  border-radius: 12px;
}

/* NAV */
.nav-premium {
  background: rgba(10, 10, 10, .68);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, .06);
}

.navbar-brand img {
  transform: translateZ(0);
  filter: drop-shadow(0 6px 18px rgba(0, 0, 0, .35));
}

/* HERO */
.hero {
  position: relative;
  height: 100vh;
  overflow: hidden;
  isolation: isolate;
}

.hero-bg,
.hero-video {
  width: 100%;
  height: 100vh;
  object-fit: cover;
  display: block;
  transform: scale(1.01);
  filter: brightness(.62) contrast(1.05) saturate(1.08);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(1200px 600px at 50% 35%, rgba(212, 175, 55, .14), transparent 60%),
    linear-gradient(to bottom, rgba(0, 0, 0, .42), rgba(0, 0, 0, .78));
  z-index: 1;
  pointer-events: none;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: 3.15rem;
  letter-spacing: .2px;
  color: var(--gold);
  text-shadow: 0 18px 60px rgba(0, 0, 0, .55);
  margin: 0;
}

.hero-sub {
  font-size: 1.15rem;
  margin-top: 12px;
  color: rgba(255, 255, 255, .90);
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

/* SECTIONS */
.section-dark {
  padding: 96px 0;
  background: linear-gradient(to bottom, rgba(255, 255, 255, .02), rgba(255, 255, 255, 0));
}

.section-light {
  padding: 96px 0;
  background:
    radial-gradient(900px 420px at 50% 0%, rgba(212, 175, 55, .10), transparent 60%),
    #fff;
  color: #111;
}

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: 2.55rem;
  letter-spacing: .2px;
  color: var(--gold);
  margin-bottom: 10px;
}

.section-light .section-title {
  color: #8c6b1f;
}

.section-text {
  max-width: 860px;
  margin: auto;
  font-size: 1.08rem;
  line-height: 1.75;
  opacity: .92;
  color: var(--muted);
}

.section-light .section-text {
  color: rgba(0, 0, 0, .72);
}

/* Buttons */
.btn-gold {
  background: linear-gradient(145deg, var(--gold), var(--gold2));
  color: #0b0b0b;
  border: none;
  padding: 10px 24px;
  font-weight: 600;
  letter-spacing: .2px;
  border-radius: 999px;
  box-shadow: 0 14px 28px rgba(0, 0, 0, .25);
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}

.btn-gold:hover {
  color: #0b0b0b;
  transform: translateY(-1px);
  filter: saturate(1.05);
  box-shadow: 0 18px 38px rgba(0, 0, 0, .34);
}

.btn-gold:active {
  transform: translateY(0);
  box-shadow: 0 12px 22px rgba(0, 0, 0, .22);
}

/* --- SECTION EVENTS (3) --- */
.section-events {
  padding: 96px 0;
  background:
    linear-gradient(rgba(0, 0, 0, .80), rgba(0, 0, 0, .86)),
    url('../hero.webp') center/cover;
  color: #fff;
  overflow-x: clip;
  position: relative;
  isolation: isolate;
}

.section-events::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(900px 420px at 50% 10%, rgba(212, 175, 55, .18), transparent 60%),
    radial-gradient(700px 320px at 10% 70%, rgba(255, 255, 255, .06), transparent 55%);
  z-index: 0;
  pointer-events: none;
}

.section-events .container {
  position: relative;
  z-index: 1;
}

.section-events-dark {
  padding: 96px 0;
  background:
    radial-gradient(900px 420px at 50% 0%, rgba(212, 175, 55, .14), transparent 60%),
    var(--dark2);
  color: #fff;
  overflow-x: clip;
}

.event-title {
  font-family: 'Playfair Display', serif;
  color: var(--gold);
  font-size: 1.45rem;
  margin-bottom: 16px;
  letter-spacing: .6px;
  text-transform: uppercase;
}

.event-media {
  width: 100%;
  border: 1px solid rgba(212, 175, 55, .55);
  border-radius: var(--radius2);
  overflow: hidden;
  box-shadow: 0 18px 45px rgba(0, 0, 0, .38);
  margin-bottom: 16px;
  background: rgba(0, 0, 0, .22);
}

.event-media-el {
  width: 100%;
  height: 230px;
  object-fit: cover;
  display: block;
  transform: translateZ(0);
}

.event-text {
  font-size: .98rem;
  opacity: .92;
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.72;
  color: rgba(255, 255, 255, .86);
}

/* EVENTOS PORTAFOLIO */
.empty-state {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: var(--radius2);
  padding: 18px;
}

.empty-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--gold), var(--gold2));
  margin-top: 6px;
  flex: 0 0 auto;
  box-shadow: 0 10px 20px rgba(0, 0, 0, .10);
}

.event-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.10);
  transition: transform .25s ease, box-shadow .25s ease;
  height: 100%;
}

.event-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.16);
}

.event-card-img {
  position: relative;
  height: 230px;
  background:
    radial-gradient(420px 220px at 30% 20%, rgba(212, 175, 55, .22), transparent 55%),
    linear-gradient(145deg, rgba(0, 0, 0, .05), rgba(0, 0, 0, .10));
}

.event-card-img::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, .46), rgba(0, 0, 0, 0));
  z-index: 2;
  pointer-events: none;
}

.event-card-img img {
  width: 100%;
  height: 230px;
  object-fit: cover;
  display: block;
}

.event-card-img .carousel,
.event-card-img .carousel-inner,
.event-card-img .carousel-item {
  height: 230px;
}

.event-card-img .carousel-item img {
  height: 230px;
  object-fit: cover;
}

.event-card-img .carousel-item video {
  width: 100%;
  height: 230px;
  object-fit: cover;
  display: block;
}

.event-card-img.noimg {
  display: flex;
  align-items: center;
  justify-content: center;
}

.event-card-img.noimg::after {
  content: "Evento";
  font-family: 'Playfair Display', serif;
  font-size: 1.55rem;
  color: #8c6b1f;
  z-index: 3;
}

.event-card-badge {
  position: absolute;
  left: 14px;
  bottom: 14px;
  background: rgba(10, 10, 10, .72);
  color: #fff;
  padding: 9px 12px;
  border-radius: 999px;
  font-size: .84rem;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  z-index: 4;
  letter-spacing: .2px;
}

.event-card-body {
  padding: 18px 18px 20px 18px;
}

.event-card-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.35rem;
  margin: 0 0 10px 0;
  color: #101010;
  letter-spacing: .2px;
}

.event-card-text {
  color: rgba(0, 0, 0, .72);
  line-height: 1.65;
  margin: 0 0 14px 0;
}

.event-card-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.event-card-actions .btn {
  border-radius: 999px;
}

.btn-outline-dark {
  border-radius: 999px;
}

/* Contact box */
.contact-box {
  background:
    radial-gradient(900px 420px at 20% 0%, rgba(212, 175, 55, .14), transparent 55%),
    rgba(255, 255, 255, .03);
  padding: 34px;
  border-radius: var(--radius);
  border: 1px solid rgba(212, 175, 55, 0.28);
  box-shadow: 0 18px 55px rgba(0, 0, 0, .20);
}

.contact-box p {
  margin-bottom: 14px;
}

.contact-box strong {
  color: rgba(255, 255, 255, .92);
}

.contact-box a {
  color: var(--gold);
  text-decoration: none;
  transition: opacity .18s ease;
}

.contact-box a:hover {
  opacity: .85;
  text-decoration: none;
}

/* Footer */
.footer {
  background: #000;
  padding: 44px 0;
  color: rgba(255, 255, 255, .72);
  border-top: 1px solid rgba(255, 255, 255, .06);
}

/* WhatsApp float (más elegante) */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 25px;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  z-index: 999;

  background: linear-gradient(145deg, #25D366, #1ebe57);
  color: #fff;

  box-shadow:
    0 18px 45px rgba(0, 0, 0, .40),
    0 0 0 0 rgba(37, 211, 102, .55);

  transition: transform .22s ease, box-shadow .22s ease, filter .22s ease;
  overflow: hidden;
  transform: translateZ(0);
}

.wa-icon {
  width: 28px;
  height: 28px;
  position: relative;
  z-index: 2;
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, .22));
}

@keyframes waPulse {
  0% {
    box-shadow:
      0 18px 45px rgba(0, 0, 0, .40),
      0 0 0 0 rgba(37, 211, 102, .55);
  }

  70% {
    box-shadow:
      0 18px 45px rgba(0, 0, 0, .40),
      0 0 0 16px rgba(37, 211, 102, 0);
  }

  100% {
    box-shadow:
      0 18px 45px rgba(0, 0, 0, .40),
      0 0 0 0 rgba(37, 211, 102, 0);
  }
}

.whatsapp-float {
  animation: waPulse 3.2s infinite;
}

.whatsapp-float:hover {
  transform: translateY(-5px) scale(1.05);
  filter: saturate(1.08);
  box-shadow:
    0 26px 70px rgba(0, 0, 0, .48),
    0 0 26px rgba(37, 211, 102, .34);
}

.wa-tooltip {
  position: absolute;
  right: 82px;
  background: rgba(10, 10, 10, .92);
  color: #fff;
  padding: 9px 14px;
  border-radius: 999px;
  font-size: 13px;
  white-space: nowrap;
  opacity: 0;
  transform: translateX(12px);
  transition: opacity .22s ease, transform .22s ease;
  pointer-events: none;
  box-shadow: 0 18px 55px rgba(0, 0, 0, .32);
  border: 1px solid rgba(255, 255, 255, .08);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.whatsapp-float:hover .wa-tooltip {
  opacity: 1;
  transform: translateX(0);
}

/* Popup modal */
.promo-modal {
  background: transparent;
  border: 0;
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow-deep);
}

.promo-img {
  width: 100%;
  height: auto;
  display: block;
  transform: translateZ(0);
}

.promo-close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 5;
  filter: invert(1);
  opacity: .92;
  transition: opacity .18s ease, transform .18s ease;
}

.promo-close:hover {
  opacity: 1;
  transform: scale(1.06);
}

/* Mobile tweaks */
@media (max-width:576px) {
  .hero-title {
    font-size: 2.05rem;
  }

  .hero-sub {
    font-size: 1.02rem;
  }

  .section-dark,
  .section-light,
  .section-events,
  .section-events-dark {
    padding: 78px 0;
  }

  .event-media-el {
    height: 190px;
  }

  .event-card-img,
  .event-card-img .carousel,
  .event-card-img .carousel-inner,
  .event-card-img .carousel-item {
    height: 205px;
  }

  .event-card-img .carousel-item img,
  .event-card-img .carousel-item video {
    height: 205px;
  }

  .whatsapp-float {
    width: 58px;
    height: 58px;
    bottom: 20px;
    right: 15px;
  }

  .wa-tooltip {
    display: none;
  }

  .modal-dialog {
    margin: 12px;
  }

  .promo-modal {
    border-radius: var(--radius2);
  }
}

.navbar .navbar-brand img{
  height:55px !important;
  width:auto !important;
  max-height:55px !important;
  max-width:none !important;
  display:block;
  object-fit:contain;
}

/* About premium */
.about-premium{
  position:relative;
  overflow:hidden;
}

.about-wrap{
  max-width:920px;
  margin:0 auto;
  padding:22px 0 0 0;
}

.kicker{
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding:8px 14px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.10);
  background:rgba(255,255,255,.04);
  color:rgba(255,255,255,.86);
  font-size:.92rem;
  letter-spacing:.2px;
  margin-bottom:16px;
  backdrop-filter:blur(10px);
  -webkit-backdrop-filter:blur(10px);
}

.about-cta{
  margin-top:26px;
  display:flex;
  gap:12px;
  justify-content:center;
  flex-wrap:wrap;
}

/* Instagram button (premium) */
.btn-ig{
  display:inline-flex;
  align-items:center;
  gap:12px;
  padding:12px 16px;
  border-radius:16px;
  text-decoration:none;
  border:1px solid rgba(255,255,255,.10);
  background:rgba(255,255,255,.04);
  color:#fff;
  box-shadow:0 18px 55px rgba(0,0,0,.22);
  transition:transform .2s ease, box-shadow .2s ease, filter .2s ease;
}

.btn-ig:hover{
  transform:translateY(-2px);
  box-shadow:0 26px 70px rgba(0,0,0,.30);
  filter:saturate(1.05);
}

.ig-icon{
  width:42px;
  height:42px;
  border-radius:14px;
  display:flex;
  align-items:center;
  justify-content:center;
  background:linear-gradient(145deg, rgba(212,175,55,.22), rgba(255,255,255,.06));
  border:1px solid rgba(212,175,55,.22);
  color:var(--gold);
}

.ig-icon svg{
  width:22px;
  height:22px;
}

.ig-text{
  display:flex;
  flex-direction:column;
  line-height:1.1;
}

.ig-label{
  font-weight:600;
  letter-spacing:.2px;
}

.ig-handle{
  color:rgba(255,255,255,.78);
  font-size:.92rem;
  margin-top:4px;
}

/* Small IG button for navbar */
.btn-ig-mini{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:10px 12px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.12);
  background:rgba(255,255,255,.04);
  color:#fff;
  text-decoration:none;
  transition:transform .18s ease, background .18s ease, border-color .18s ease;
}

.btn-ig-mini:hover{
  transform:translateY(-1px);
  background:rgba(255,255,255,.06);
  border-color:rgba(212,175,55,.22);
}

.ig-mini-icon{
  width:18px;
  height:18px;
  display:inline-flex;
  color:var(--gold);
}

.ig-mini-icon svg{
  width:18px;
  height:18px;
}

.btn-pill{
  border-radius:999px !important;
  padding:12px 18px;
}

@media (max-width:576px){
  .kicker{ font-size:.88rem; }
  .btn-ig{ width:100%; justify-content:center; }
  .btn-pill{ width:100%; }
}

/* Event media modal (premium + responsive) */
.ev-modal{
  background:rgba(10,10,10,.92);
  border:1px solid rgba(255,255,255,.08);
  border-radius:18px;
  overflow:hidden;
  box-shadow:0 30px 90px rgba(0,0,0,.6);
}

.ev-close{
  position:absolute;
  top:12px;
  right:12px;
  z-index:10;
  filter:invert(1);
  opacity:.92;
}

.ev-modal-body{
  padding:0;
  background:rgba(0,0,0,.35);
}

.ev-media{
  width:100%;
  height:min(78vh, 820px);
  object-fit:contain;
  display:block;
  background:#000;
}

.ev-modal-footer{
  padding:10px 14px;
  background:rgba(0,0,0,.55);
  border-top:1px solid rgba(255,255,255,.08);
}

.ev-hint{
  color:rgba(255,255,255,.75);
  font-size:13px;
  text-align:center;
}

/* Mejor contraste de controles en oscuro */
#eventMediaCarousel .carousel-control-prev-icon,
#eventMediaCarousel .carousel-control-next-icon{
  filter:drop-shadow(0 12px 25px rgba(0,0,0,.65));
}

@media (max-width:576px){
  .modal-dialog{ margin:12px; }
  .ev-modal{ border-radius:14px; }
  .ev-media{ height:72vh; }
}
