:root {
    --brand-red: #D7263D;
    --brand-gray: #43464B;
    --brand-yellow: #FFD166;
    --bg: #0b0c0f;
    --surface: #ffffff;
    --text: #121418;
    --muted: #5A6069;
    --radius: 18px;
    --shadow-sm: 0 6px 18px rgba(0, 0, 0, .10);
    --shadow-md: 0 12px 30px rgba(0, 0, 0, .12);
}

html {
    scroll-behavior: smooth
}

body {
    font-family: "Poppins", system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
    color: var(--text);
    background: #fafbfc;
    padding-top: 80px;  
}

@media (max-width: 991.98px) {
    body {
        padding-top: 72px;  /* un poco menos en móvil si el nav es más compacto */
    }
}

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

/* Navbar */
.navbar {
    --bs-navbar-padding-y: 1rem;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1050;              /* por encima de sliders, cards, etc. */
    background-color: #ffffff;  /* para que no se vea transparente al hacer scroll */
    box-shadow: 0 4px 16px rgba(0, 0, 0, .06); /* sutil sombra opcional */
}



.navbar-brand h1 {
    letter-spacing: .6px
}

.nav-link {
    font-weight: 500
}

.nav-link.active,
.nav-link:focus,
.nav-link:hover {
    color: var(--brand-red) !important
}

.btn-danger {
    background: var(--brand-red);
    border-color: var(--brand-red)
}

.btn-danger:hover {
    filter: brightness(.93)
}

.btn-outline-dark:hover {
    border-color: var(--brand-red);
    color: #fff;
    background: var(--brand-red)
}

/* HERO Swiper */
.hero-swiper {
    position: relative
}

.hero-swiper .swiper-slide {
    height: 70vh
}

@media(min-width:992px) {
    .hero-swiper .swiper-slide {
        height: 80vh
    }
}

.hero-swiper img {
    width: 100%;
    height: 100%;
    object-fit: cover
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, .45), rgba(0, 0, 0, .15) 40%, transparent)
}

.hero-copy {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    text-align: center;
    color: #fff;
    padding: 0 1rem
}

.hero-copy .kicker {
    font-family: "Dancing Script", cursive;
    font-size: 1.7rem
}

/* Hero bullets personalizados */
.hero-swiper .swiper-button-next,
.hero-swiper .swiper-button-prev {
    display: none !important
}

.hero-swiper .swiper-pagination {
    bottom: 18px !important
}

.hero-swiper .swiper-pagination-bullet {
    background: rgba(255, 255, 255, .65);
    width: 10px;
    height: 10px;
    border-radius: 999px;
    margin: 0 6px !important;
    opacity: 1;
    transition: all .3s ease
}

.hero-swiper .swiper-pagination-bullet-active {
    width: 36px;
    background: var(--brand-yellow);
    box-shadow: 0 4px 12px rgba(0, 0, 0, .25)
}

/* Capas correctas en el HERO */
.hero-wrapper {
    position: relative;
}

.hero-swiper {
    position: relative;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
}

.hero-copy {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: grid;
    place-items: center;
    text-align: center;
    color: #fff;
    padding: 0 1rem;
}

.hero-copy .kicker {
    font-family: "Dancing Script", cursive;
    font-size: 1.7rem;
}

.hero-copy h2,
.hero-copy p {
    text-shadow: 0 8px 24px rgba(0, 0, 0, .35);
}




/* Secciones */
.section {
    padding-block: 56px;
    scroll-margin-top: 90px; /* espacio para que no quede debajo del navbar */
}

.section-light {
    background: #f6f7f9
}

.section .section-title {
    font-weight: 800;
    letter-spacing: .2px
}

.section .section-sub {
    color: var(--muted)
}

/* Highlights */
.feature-pill {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .5rem;
    padding: 16px;
    background: var(--surface);
    border-radius: 14px;
    box-shadow: var(--shadow-sm);
    transition: transform .25s ease, box-shadow .25s ease
}

.feature-pill i {
    font-size: 1.75rem;
    color: var(--brand-red)
}

.feature-pill:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md)
}

/* Cards */
.card {
    border: 0;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm)
}

.card-img-top {
    border-top-left-radius: var(--radius);
    border-top-right-radius: var(--radius);
    aspect-ratio: 4/3;
    object-fit: cover
}

.card-raise {
    transition: transform .25s ease, box-shadow .25s ease
}

.card-raise:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md)
}

.card .btn {
    border-radius: 12px
}

.card .btn-danger {
    box-shadow: 0 6px 14px rgba(215, 38, 61, .25)
}

.card .btn-danger:active {
    transform: translateY(1px)
}

/* Propuesta de valor */
.value-img img{
    width:100%;
    height:auto;
    max-height:420px;       /* controla el alto */
    object-fit:cover;
    border-radius:var(--radius);
  }
  @media(max-width:767px){
    .value-img img{max-height:300px}
  }
  

/* Eventos */
.event-card .card-img-top {
    aspect-ratio: 16/10
}

/* Sedes */
.card .ratio {
    border-top-left-radius: var(--radius);
    border-top-right-radius: var(--radius);
    overflow: hidden
}

/* Galería */
.gallery-swiper {
    --swiper-pagination-bullet-inactive-opacity: .5
}

.gallery-swiper .swiper-slide {
    height: 240px
}

@media (min-width:576px) {
    .gallery-swiper .swiper-slide {
        height: 260px
    }
}

@media (min-width:992px) {
    .gallery-swiper .swiper-slide {
        height: 300px
    }
}

.gallery-swiper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 14px
}

.gallery-swiper .swiper-button-next,
.gallery-swiper .swiper-button-prev {
    color: var(--brand-red)
}

.gallery-swiper .swiper-pagination {
    bottom: 12px !important
}

.gallery-swiper .swiper-pagination-bullet {
    background: rgba(0, 0, 0, .35);
    width: 8px;
    height: 8px;
    border-radius: 999px;
    margin: 0 5px !important;
    opacity: 1;
    transition: all .3s ease
}

.gallery-swiper .swiper-pagination-bullet-active {
    width: 26px;
    background: var(--brand-red);
    box-shadow: 0 3px 10px rgba(0, 0, 0, .2)
}

/* Títulos decorados */
.section-title {
    position: relative;
    display: inline-block
}

.section-title:after{
    content:"";
    position:absolute;
    left:50%;
    transform:translateX(-50%);
    bottom:-14px;
    width:110px;
    height:14px;
    background:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='110' height='14'><path d='M2 7 Q20 2 40 6 T110 7' stroke='%23D7263D' stroke-width='4' fill='none' stroke-linecap='round' stroke-linejoin='round'/></svg>") no-repeat center/contain;
  }

/* Ondas */
.wave-top {
    margin-top: -1px
}

.wave-bottom {
    margin-bottom: -1px
}

/* Footer */
.footer-red {
    background: var(--brand-red);
    color: #fff
}

.footer-red a {
    color: #fff
}

.footer-red a:hover {
    color: #000;
    filter: brightness(1.1)
}

/* Utilidades */
.badge-accent {
    background: var(--brand-yellow);
    color: #171717;
    border-radius: 999px;
    padding: .35rem .6rem;
    font-weight: 600
}

.hr-soft {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 0, 0, .08), transparent);
    border: 0
}

.btn-whatsapp {
    position: fixed;
    right: 1.2rem;
    bottom: 1.2rem;
    width: 56px;
    height: 56px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #25D366;
    color: #fff;
    box-shadow: 0 10px 22px rgba(0, 0, 0, .18);
    z-index: 20
}

.btn-whatsapp:hover {
    filter: brightness(.95)
}

/* Tabs personalizados (nav-pills) */
.nav-pills .nav-link {
    border-radius: 999px;
    font-weight: 500;
    color: var(--brand-gray);
    background: #f1f1f1;
    transition: all 0.3s ease;
  }
  
  .nav-pills .nav-link:hover {
    color: var(--brand-red);
    background: #fff;
    box-shadow: 0 4px 12px rgba(0,0,0,.08);
  }
  
  .nav-pills .nav-link.active {
    color: #fff !important; 
    background: var(--brand-red);
    font-weight: 600;
    box-shadow: 0 6px 18px rgba(215,38,61,.25);
  }
  
  .nav-pills {
    gap: .5rem;
  }

/* Carrusel de logos */
.logos-swiper{ padding:8px 0 18px; overflow:hidden; }
.logos-swiper .swiper-wrapper{ align-items:center; }
.logos-swiper .swiper-slide{
  width:100% !important;              /* CLAVE para slidesPerView:1 */
  display:flex; align-items:center; justify-content:center;
}
.logo-slide{
  max-height:90px; width:auto; opacity:.9;
  filter:grayscale(100%);
  transition:transform .25s ease, filter .25s ease, opacity .25s ease;
}
.logo-slide:hover{ transform:scale(1.05); filter:grayscale(0); opacity:1; }

@media (min-width:992px){ .logo-slide{ max-height:110px; } }

/* Bullets */
.logos-swiper .swiper-pagination-bullet{
  background:rgba(0,0,0,.25); width:10px; height:6px; border-radius:6px; transition:.3s;
}
.logos-swiper .swiper-pagination-bullet-active{ background:var(--brand-red); width:24px; }

.logos-swiper .swiper-pagination {
    position: relative;   /* que se acomode debajo, no encima */
    margin-top: 18px;     /* espacio entre logos y bullets */
    text-align: center;
  }

@media (min-width:992px){ .logo-slide{ max-height:84px; } }

