:root{

    --accent-color:
        rgb(var(--red-rgb));

    --accent-color-rgb:
        var(--red-rgb);

    --accent-soft:
        #fff4f4;

    --accent-soft-2:
        #ffe8e8;

    --dark-red:
        #b31217;

    --text:
        #2a2a2a;

    --card-bg:
        rgba(255,255,255,.8);

    --shadow:
        0 12px 30px rgba(var(--accent-color-rgb), .10);

    --shadow-hover:
        0 18px 40px rgba(var(--accent-color-rgb), .18);
}

.nav-red {
    --nav-bg: rgb(var(--red-rgb));
    --nav-shadow: rgba(0, 0, 0, 0.3);
    --nav-text: white;
    --nav-text2: white;

    --nav-tiktok-bg: rgb(var(--red-rgb));
    --nav-tiktok-border-size: 2px;
    --nav-tiktok-border-color: rgba(255, 255, 255, 1);

    --nav-ig-bg: rgb(var(--red-rgb));
    --nav-ig-border-color: rgba(255, 255, 255, 1);

    --nav-wsp-bg: rgb(var(--red-rgb));
    --nav-wsp-border-color: rgba(255, 255, 255, 1);
    --nav-wsp-color: white;
    --nav-links-inset-opacity: 0;
}


#view-globos {

    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;

    font-family: "Fredoka", sans-serif;
    background: #fff5f5;
    color: var(--text);

    overflow-x: hidden;
}

#view-globos button {
    font-family: inherit;
}

/* =========================
   HERO
========================= */

.gl-hero {
    width: min(1250px, 94%);
    margin-top: 4rem;

    display: grid;
    grid-template-columns: 55fr 45fr;
    gap: 2rem;
    align-items: center;
    height: calc(100vh - 3rem);
}

.gl-hero-text h1{

    font-size:
        clamp(3rem, 7vw, 5.5rem);

    line-height:.95;

    color:var(--accent-color);

    margin-bottom:1.2rem;
}

.gl-hero-text p{

    font-size:1.15rem;

    line-height:1.7;

    max-width:650px;

    color:#555;
}

.gl-hero-buttons{

    font-family: "Poppins", sans-serif;
    margin-top:2rem;

    display:flex;
    gap:1rem;
    flex-wrap:wrap;
}

.gl-hero-btn{

    border:none;
    outline:none;

    padding:1rem 1.6rem;

    border-radius:999px;

    font-family:inherit;
    font-size:1rem;
    font-weight:700;

    cursor:pointer;

    transition:.25s ease;
}

.gl-hero-btn.primary{

    background:var(--accent-color);
    color:white;

    box-shadow:
        0 10px 25px rgba(var(--accent-color-rgb), .25);
}

.gl-hero-btn.secondary{

    background:white;
    color:var(--accent-color);

    border:2px solid rgba(var(--accent-color-rgb), .18);
}

.gl-hero-btn:hover{

    transform:
        translateY(-4px)
        scale(1.02);
}

.gl-hero-image {
    display: flex;
    justify-content: center;
}

.gl-hero-image-box{

    aspect-ratio:1 / 1.2;
    width: 100%;
    max-width: 420px;

    border-radius:40px;

    background:
        linear-gradient(
            135deg,
            rgba(var(--accent-color-rgb), .12),
            rgba(var(--accent-color-rgb), .03)
        );

    border:
        2px solid rgba(var(--accent-color-rgb), .08);

    display:flex;
    justify-content:center;
    align-items:center;

    overflow:hidden;

    box-shadow:var(--shadow);
}

.gl-hero-image-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
/* =========================
   PROMO HEADER
========================= */

.gl-promo-header   {

    text-align: center;
    margin-bottom: 2.5rem;
}

.gl-promo-header {
        scroll-margin-top: 5rem;
}

.gl-promo-header h2{

  font-size: 3rem;
  margin-bottom: .8rem;
}

/* =========================
   GLOBOS PROMOS
========================= */

.gl-globos-promos{

  width: min(1250px, 94%);
  margin-top: 6rem;
  margin-bottom: 6rem;
}

.gl-promo-grid{

  display: grid;

  grid-template-columns:
      repeat(auto-fit, minmax(260px, 1fr));

  gap: 1.5rem;
}

.gl-promo-card{
    position: relative;


    background: white;
    display: flex; 
    flex-direction: column;

    border-radius: 32px;

    padding: 2rem;

    box-shadow: var(--shadow);

    overflow: hidden;
    
    transition:.25s ease;
}

.gl-promo-card:hover{

    transform: translateY(-6px);

    box-shadow:var(--shadow-hover);


}

.gl-promo-info {
    display: flex;
    flex-direction: column;
    height: 100%;
    justify-content: space-between;
}

.gl-promo-div-button {
    height: 25%;
    display: flex;
    align-items:flex-end;
    font-family: "Poppins", sans-serif;
}

.gl-promo-card.featured{

  border:
      2px solid rgba(var(--accent-color-rgb), .25);
}

.gl-promo-label{

  position: absolute;

  top: 1rem;
  right: 1rem;

  background:
      var(--accent-color);

  color: white;

  padding:
      .4rem .8rem;

  border-radius:
      999px;

  font-size: .8rem;
  font-weight: 700;
}

.gl-promo-card h3{

  font-size: clamp(1.6rem, 3vw, 2rem);
  line-height: 1.1;

  margin-bottom: .8rem;
}

.gl-promo-description{

  opacity: .7;
  margin-bottom: 1.5rem;
}


.gl-promo-list{

    list-style: none;

    display: flex;
    flex-direction: column;
    gap: .55rem;

    margin-bottom: 1.7rem;

    padding: 0;
}

.gl-promo-list li{

    position: relative;

    padding-left: 1.3rem;

    opacity: .85;
}

.gl-promo-list li::before{

    content: "•";

    position: absolute;

    left: 0;

    color: var(--accent-color);

    font-weight: 700;
}

.gl-promo-price{

  font-size: 2.2rem;
  font-weight: 800;

  color:
      var(--accent-color);

  margin-bottom: .5rem;
}

.gl-promo-extra{

  opacity: .65;
  margin-bottom: 1.5rem;
}

.gl-promo-div-button button{
    border-radius: 18px;
    border: none;

    background: var(--accent-color);
    color: white;

    width: 100%;
    padding: 1rem;

    font-family: "Poppins", sans-serif;
    font-weight: 700;
    font-size: .9rem;

    cursor: pointer;

    transition: .25s ease;
}

.gl-promo-div-button button:hover{

  transform: scale(1.03)
}

/* =========================
   QUICK BUTTONS
========================= */

.gl-quick-buttons{

  width:min(1250px,92%);

  display:flex;
  justify-content: center;
  flex-wrap:wrap;

  gap:1rem;

  margin-bottom:4rem;
}

.gl-quick-btn{

    border:none;

    padding: 1rem 1.3rem;

    border-radius:999px;

    background: white;

    font-family:"Fredoka",sans-serif;
    font-size:1rem;

    cursor:pointer;

    transition:.25s ease;

    box-shadow: 0 4px 10px rgba(var(--accent-color-rgb), .12);
}

.gl-quick-btn:hover{

    background: var(--accent-color);
    color:white;

    transform: translateY(-3px);
}

/* =========================
   SECTIONS
========================= */

.gl-globos-section{

    width:min(1250px,92%);

    margin-bottom:5rem;
}

.gl-globos-header{

    display:flex;
    justify-content: center;
    text-align: center;
    font-size: 3rem;

    margin-top: 4rem;
    margin-bottom:2rem;
}

.gl-section-header{

    display:flex;
    justify-content: space-between;

    margin-bottom:2rem;

    /* Scroll a bit over the section title */
    scroll-margin-top: 3rem;
}

.gl-section-header h2{

    font-size:2.2rem;

    color: var(--accent-color);

    margin-bottom:.5rem;
    }

.gl-section-header p{

    color:#555;

    max-width: 40vw;

    line-height:1.6;
}

.gl-header-prices{

    display:flex;
    gap:1rem;
    align-items: center;
    text-align: center;
}

.gl-price-tag{
    display: inline-flex;
    align-items: center;

    background:rgb(var(--red-rgb));

    color:white;

    padding:1rem 1.2rem;

    border-radius:18px;

    font-weight:800;
    font-size: 1.05rem;

    box-shadow:
        0 10px 25px rgba(var(--red-rgb), .22);
    width: fit-content;
    height:fit-content
}

.gl-price-tag img {
    width: 12px;
    height: 12px;
    margin-left: 6px;
    margin-right: 3px;
    object-fit: contain;
    display: block;
}

/* =========================
    CARROUSEL
========================= */

/* Wrapper: posiciona los botones de nav sobre los extremos */
.gl-carrousel-wrapper {
    position: relative;
}

/* La pista de scroll */
.gl-carrousel {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    scrollbar-width: none;           /* Firefox */
    -ms-overflow-style: none;        /* IE/Edge */
    padding: .75rem .5rem 1.25rem;  /* espacio para sombras + scrollbar oculta */
    max-height: 64vh;
}

.gl-carrousel::-webkit-scrollbar { display: none; }

/* Card individual */
.gl-image-container {
    flex-shrink: 0;
    /* ancho responsivo: cómodo en desktop, casi full en mobile */
    width: clamp(180px, 21vw, 320px);
    /* alto: llena el espacio disponible dentro del max-height del carrousel */
    height: calc(64vh - 2.5rem);

    display: flex;
    flex-direction: column;

    border-radius: 28px;
    overflow: hidden;
    background: white;
    box-shadow: 0 10px 30px rgba(var(--accent-color-rgb), .1);

    scroll-snap-align: start;
    transition: transform .25s ease, box-shadow .25s ease;
}

/* Card individual horizontal */
.gl-image-container-hor {
    flex-shrink: 0;
    /* Height and width inverted */
    height: clamp(180px, 21vw, 320px);
    width: calc(64vh - 2.5rem);

    display: flex;
    flex-direction: column;

    border-radius: 28px;
    overflow: hidden;
    background: white;
    box-shadow: 0 10px 30px rgba(var(--accent-color-rgb), .1);

    scroll-snap-align: start;
    transition: transform .25s ease, box-shadow .25s ease;
}

.gl-image-container:hover,
.gl-image-container-hor:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 40px rgba(var(--accent-color-rgb), .18);
}

/* Zona de imagen: ocupa todo el espacio sobrante */
.gl-image {
    flex: 1;
    min-height: 0;   /* ← esencial: permite que flex shrink funcione */

    background: linear-gradient(
    135deg,
    rgba(var(--accent-color-rgb), .15),
    rgba(var(--accent-color-rgb), .05)
    );

    display: flex;
    justify-content: center;
    align-items: center;

    overflow: hidden;
}

/* Imagen: escala proporcionalmente, nunca se recorta ni deforma */
.gl-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;   /* ← mantiene proporción, sin recorte */
    display: block;
}

/* Pie de imagen */
.gl-image-info {
    text-align: center;
    flex-shrink: 0;
    padding: .85rem 1.2rem;
    font-size: .9rem;
    font-weight: 600;
    color: #444;
    border-top: 1px solid rgba(var(--accent-color-rgb), .12);
}

/* ── Botones de navegación ───────────────────────────────────────── */
.gl-carrousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;

    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: none;
    cursor: pointer;

    background: white;
    color: var(--dark-red);
    font-size: 1.5rem;
    line-height: 1;

    box-shadow: 0 4px 16px rgba(0,0,0,.15);
    transition: background .2s, transform .2s, opacity .2s;

    display: flex;
    align-items: center;
    justify-content: center;
}

.gl-carrousel-btn:hover  { 
    background: rgba(var(--accent-color-rgb), .1); 
    transform: translateY(-50%) scale(1.08); 
}

.gl-carrousel-btn:active { 
    transform: translateY(-50%) scale(.96); 
}

.gl-carrousel-btn.hidden { 
    display: flex !important;
    opacity: 0; pointer-events: none; 
}

.gl-carrousel-btn.prev { left: -22px; }
.gl-carrousel-btn.next { right: -22px; }

/* =========================
   CTA FINAL
========================= */

.gl-final-cta{

    width:min(1250px,92%);

    background:
        linear-gradient(
            135deg,
            rgb(var(--accent-color-rgb)),
            rgb(220,20,20)
        );

    border-radius:42px;

    padding:
        4rem 2rem;

    text-align:center;
    font-family: "Poppins", sans-serif;

    color:white;

    margin:
        1rem 0 5rem;

    position:relative;

    overflow:hidden;
}

.gl-final-cta::before{

    content:"";

    position:absolute;

    width:320px;
    height:320px;

    border-radius:50%;

    background:
        rgba(255,255,255,.08);

    top:-120px;
    right:-80px;
}

.gl-final-cta h2{

    font-family:"Fredoka",sans-serif;

    font-size:
        clamp(2rem,4vw,3.2rem);

    margin-bottom:1rem;

    position:relative;
}

.gl-final-cta p{

    font-size:1.05rem;

    line-height:1.7;

    max-width:700px;

    margin:
        0 auto 2rem;

    position:relative;
}

.gl-final-cta-btn{

    display:inline-flex;
    align-items:center;
    justify-content:center;

    padding:
        1rem 1.6rem;

    border-radius:999px;

    background:white;

    color:
        var(--dark-red);

    text-decoration:none;

    font-weight:700;

    transition:.25s ease;

    position:relative;
}

.gl-final-cta-btn:hover{

    transform:
        translateY(-4px)
        scale(1.03);
}

/* ==================================
   MOBILE
================================== */

@media (max-width: 950px) {
 
    /* ==================================
       HERO
    ================================== */
 
    .gl-hero {
        grid-template-columns: 1fr;
        height: auto;
        margin-top: 5rem;
        padding: 2rem 0;
        gap: 1.5rem;
    }
 
    .gl-hero-text {
        text-align: center;
    }
 
    .gl-hero-text h1 {
        font-size: clamp(2.5rem, 10vw, 3.5rem);
    }
 
    .gl-hero-text p {
        font-size: 1rem;
        max-width: 100%;
    }
 
    .gl-hero-buttons {
        justify-content: center;
    }
 
    .gl-hero-image-box {
        aspect-ratio: 1 / 1.2;
    }
 
    /* ==================================
       PROMOS
    ================================== */
 
    .gl-globos-promos {
        margin-top: 3rem;
        margin-bottom: 3rem;
    }
 
    .gl-promo-header h2 {
        font-size: 2.2rem;
    }
 
    /* ==================================
       GLOBOS HEADER
    ================================== */
 
    .gl-globos-header {
        font-size: 2.2rem;
        margin-top: 2rem;
        margin-bottom: 1.5rem;
    }
 
    /* ==================================
       QUICK BUTTONS
    ================================== */
 
    .gl-quick-buttons {
        gap: 0.6rem;
        margin-bottom: 2.5rem;
    }
 
    .gl-quick-btn {
        padding: 0.7rem 1rem;
        font-size: 0.9rem;
    }
 
    /* ==================================
       SECTION HEADERS
    ================================== */
 
    .gl-globos-section {
        margin-bottom: 3rem;
    }
 
    .gl-section-header {
        flex-direction: column;
        gap: 1rem;
    }
 
    .gl-section-header p {
        max-width: 100%;
    }
 
    .gl-header-prices {
        flex-wrap: wrap;
        gap: 0.6rem;
    }
 
    .gl-price-tag {
        font-size: 0.9rem;
        padding: 0.7rem 1rem;
    }
 
    /* ==================================
       CAROUSEL
    ================================== */
 
    .gl-carrousel {
        max-height: 55vh;
        padding: 0.5rem 0.3rem 1rem;
    }
 
    /* Cards verticales: más anchas en mobile para swipe cómodo */
    .gl-image-container {
        width: clamp(200px, 60vw, 280px);
        height: calc(55vh - 2rem);
    }
 
    /* Cards horizontales */
    .gl-image-container-hor {

        width:
            clamp(240px, 72vw, 340px);

        height:
            clamp(190px, 52vw, 260px);
    }

    /* En mobile el swipe es nativo, los botones sobran */
    .gl-carrousel-btn {
        display: none;
    }
 
    /* ==================================
       CTA FINAL
    ================================== */
 
    .gl-final-cta {
        border-radius: 24px;
        padding: 2.5rem 1.5rem;
        margin: 1rem 0 3rem;
    }
 
}
 

@media (hover: none) {

    .gl-hero-btn,
    .gl-quick-btn,
    .gl-final-cta-btn,
    .gl-promo-card,
    .gl-image-container,
    .gl-image-container-hor {
    transform: none !important;
    animation: none !important;
  }

    .gl-image-container:hover,
    .gl-image-container-hor:hover {
        box-shadow:
            0 10px 30px rgba(var(--accent-color-rgb), .1) !important;
    }

  .gl-quick-btn {
    color: inherit !important;
    background-color: inherit !important;
  }

  .gl-quick-btn:active {
    background: var(--accent-color) !important;
    color:white !important;

    transform: translateY(-3px) !important;
  }
}