/* ════════════════════════════════
   TURISMO STYLES - Silicon Experience
   ════════════════════════════════ */

:root {
    --primary: #8800F2;
    --primary-light: #a855f7;
    --bg: #050505;
    --card-bg: #111111;
    --text: #ffffff;
    --text-dim: #a0a0a0;
    --glass: rgba(255, 255, 255, 0.05);
    --border: rgba(255, 255, 255, 0.1);
    --border-light: rgba(255, 255, 255, 0.15);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

body {
    background-color: var(--bg);
    color: var(--text);
    font-family: 'Plus Jakarta Sans', sans-serif;
    overflow-x: hidden;
}

/* ════════════════════════════════
   LOADING SCREEN
   ════════════════════════════════ */

.loading-screen {
    position: fixed;
    inset: 0;
    z-index: 1000;
    background: var(--bg);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loading-screen.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.loader {
    width: 48px;
    height: 48px;
    border: 3px solid var(--border);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.loading-screen p {
    color: var(--text-dim);
    font-size: 14px;
    font-weight: 500;
}

/* ════════════════════════════════
   HERO SECTION
   ════════════════════════════════ */

.hero {
    position: relative;
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: flex-end;
    padding: 0 6% 80px 6%;
}

.hero-image-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-slider {
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.6s ease;
}

.slide.active {
    opacity: 1;
}

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

.hero-overlay {
    z-index: 2;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to top,
        rgba(5, 5, 5, 1) 0%,
        rgba(5, 5, 5, 0.8) 15%,
        rgba(5, 5, 5, 0.3) 40%,
        rgba(5, 5, 5, 0.05) 70%,
        rgba(5, 5, 5, 0) 100%
    );
    pointer-events: none;
}

/* Flechas de navegación */
.slide-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

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

.slide-arrow:hover {
    background: rgba(136, 0, 242, 0.3);
    border-color: var(--primary);
}

/* Indicadores */
.slide-indicators {
    position: absolute;
    bottom: 120px;
    left: 50%;
    transform: translateX(-50%);
    display: none;
    gap: 8px;
    z-index: 10;
}

.indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.indicator.active {
    background: var(--primary);
    width: 24px;
    border-radius: 4px;
}

/* ════════════════════════════════
   HERO CONTENT
   ════════════════════════════════ */

.hero-content {
    width: 100%;
    max-width: 800px;
    position: relative;
    z-index: 5;
}

.badges-container {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
}

.badge {
    background: rgba(136, 0, 242, 0.3);
    border: 1px solid rgba(136, 0, 242, 0.4);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 6px 14px;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text);
}

.title {
    font-size: clamp(2.5rem, 8vw, 6rem);
    font-weight: 800;
    margin: 16px 0;
    letter-spacing: -3px;
    line-height: 1;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
}

.description {
    color: var(--text-dim);
    font-size: clamp(1rem, 2vw, 1.2rem);
    max-width: 550px;
    margin-bottom: 35px;
    line-height: 1.6;
    text-shadow: 0 1px 10px rgba(0, 0, 0, 0.5);
}

/* ════════════════════════════════
   BUTTONS
   ════════════════════════════════ */

.button-group {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.btn-primary,
.btn-secondary {
    padding: 16px 30px;
    border-radius: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.95rem;
    font-family: 'Plus Jakarta Sans', sans-serif;
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

.btn-primary {
    background: var(--primary);
    color: white;
    border: none;
    box-shadow: 0 10px 30px rgba(136, 0, 242, 0.3);
}

.btn-primary:hover {
    background: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: 0 15px 40px rgba(136, 0, 242, 0.4);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.08);
    color: white;
    border: 1px solid var(--border-light);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
}

/* ════════════════════════════════
   DETAILS SECTION
   ════════════════════════════════ */

.section-container {
    padding: 40px 6%;
}

.section-title {
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 30px;
    letter-spacing: -0.5px;
}

.details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 16px;
}

.detail-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 24px;
    display: flex;
    gap: 16px;
    align-items: flex-start;
    transition: all 0.3s ease;
}

.detail-card:hover {
    border-color: var(--border-light);
    background: #1a1a1a;
}

.detail-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: rgba(136, 0, 242, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-light);
    flex-shrink: 0;
}

.detail-content h4 {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-dim);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 6px;
}

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

/* ════════════════════════════════
   GALLERY
   ════════════════════════════════ */

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

.gallery-item {
    aspect-ratio: 1;
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    position: relative;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
}

.gallery-item:hover {
    transform: scale(1.02);
    border-color: var(--primary);
    box-shadow: 0 8px 30px rgba(136, 0, 242, 0.2);
}

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

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

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    pointer-events: none;
}

/* ════════════════════════════════
   LIGHTBOX
   ════════════════════════════════ */

.lightbox {
    position: fixed;
    inset: 0;
    z-index: 1000;
    background: rgba(0, 0, 0, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.lightbox.active {
    opacity: 1;
    visibility: visible;
}

.lightbox img {
    max-width: 90vw;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 12px;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid var(--border);
    color: white;
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.lightbox-close:hover {
    background: rgba(255, 0, 0, 0.3);
}

/* ════════════════════════════════
   BENTO GRID (Lugares Cercanos)
   ════════════════════════════════ */

.bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 28px;
    overflow: hidden;
    position: relative;
    min-height: 250px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.card.tall { grid-row: span 2; }

.card img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.5;
    z-index: 0;
}

.card-content {
    padding: 30px;
    position: relative;
    z-index: 1;
}

.card-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.tag {
    background: var(--glass);
    padding: 4px 10px;
    border-radius: 8px;
    font-size: 0.75rem;
    font-weight: 600;
}

.status-pill {
    font-size: 0.7rem;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: 10px;
}

.open { background: #00ffa322; color: #00ffa3; }
.closed { background: #ff3e3e22; color: #ff3e3e; }

/* ════════════════════════════════
   TOAST
   ════════════════════════════════ */

.toast {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: var(--primary);
    color: white;
    padding: 14px 28px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    z-index: 1000;
    pointer-events: none;
    box-shadow: 0 10px 30px rgba(136, 0, 242, 0.4);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.toast.show {
    transform: translateX(-50%) translateY(0);
}

/* ════════════════════════════════
   PHOTOSWIPE OVERRIDES
   ════════════════════════════════ */

.pswp {
    --pswp-bg: #050505;
}

/* ════════════════════════════════
   RESPONSIVE - TABLET
   ════════════════════════════════ */

@media (max-width: 1024px) {
    .hero {
        padding: 0 5% 70px 5%;
    }

    .title {
        font-size: clamp(2rem, 6vw, 4rem);
        letter-spacing: -2px;
    }

    .description {
        font-size: 1rem;
        max-width: 450px;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .bento-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ════════════════════════════════
   RESPONSIVE - MOBILE
   ════════════════════════════════ */

@media (max-width: 768px) {
    .hero {
        height: 90vh;
        padding: 0 5% 30px 5%;
        align-items: flex-end;
    }

    /* Overlay más suave en la parte superior para que se vea la imagen */
    .hero-overlay {
        background: linear-gradient(
            to top,
            rgba(5, 5, 5, 1) 0%,
            rgba(5, 5, 5, 0.9) 20%,
            rgba(5, 5, 5, 0.5) 45%,
            rgba(5, 5, 5, 0.15) 70%,
            rgba(5, 5, 5, 0) 100%
        );
    }

    .hero-content {
        text-align: left;
        padding-bottom: 10px;
    }

    .badges-container {
        justify-content: flex-start;
        margin-bottom: 12px;
    }

    .badge {
        font-size: 0.7rem;
        padding: 5px 12px;
    }

    .title {
        font-size: clamp(1.8rem, 7vw, 2.5rem);
        margin: 10px 0;
        letter-spacing: -1.5px;
        line-height: 1.1;
    }

    .description {
        font-size: 0.9rem;
        max-width: 100%;
        margin-bottom: 20px;
        line-height: 1.5;
        color: rgba(255, 255, 255, 0.8);
    }

    .button-group {
        flex-direction: column;
        width: 100%;
        gap: 10px;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
        justify-content: center;
        padding: 14px 20px;
        font-size: 0.9rem;
        border-radius: 14px;
    }

    .slide-arrow {
        width: 36px;
        height: 36px;
        font-size: 0.8rem;
    }

    .slide-arrow.prev { left: 12px; }
    .slide-arrow.next { right: 12px; }

    .slide-indicators {
        bottom: 90px;
    }

    .section-container {
        padding: 30px 5%;
    }

    .section-title {
        font-size: 1.4rem;
        margin-bottom: 20px;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }

    .gallery-item {
        border-radius: 12px;
    }

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

    .card.tall {
        grid-row: span 1;
        height: 300px;
    }

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

    .detail-card {
        padding: 18px;
        border-radius: 16px;
    }

    .detail-icon {
        width: 40px;
        height: 40px;
        border-radius: 12px;
    }

    .detail-icon svg {
        width: 20px;
        height: 20px;
    }

    .detail-content h4 {
        font-size: 0.75rem;
    }

    .detail-content p {
        font-size: 0.9rem;
    }

    .toast {
        bottom: 20px;
        font-size: 13px;
        padding: 12px 24px;
    }
}

/* ════════════════════════════════
   RESPONSIVE - SMALL MOBILE
   ════════════════════════════════ */

@media (max-width: 480px) {
    .hero {
        height: 85vh;
        padding: 0 4% 24px 4%;
    }

    .hero-overlay {
        background: linear-gradient(
            to top,
            rgba(5, 5, 5, 1) 0%,
            rgba(5, 5, 5, 0.95) 15%,
            rgba(5, 5, 5, 0.6) 40%,
            rgba(5, 5, 5, 0.2) 65%,
            rgba(5, 5, 5, 0) 100%
        );
    }

    .title {
        font-size: clamp(1.5rem, 8vw, 2rem);
        letter-spacing: -1px;
        margin: 8px 0;
    }

    .description {
        font-size: 0.85rem;
        margin-bottom: 16px;
        line-height: 1.4;
    }

    .badge {
        font-size: 0.65rem;
        padding: 4px 10px;
    }

    .btn-primary,
    .btn-secondary {
        padding: 12px 16px;
        font-size: 0.85rem;
        border-radius: 12px;
    }

    .button-group {
        gap: 8px;
    }

    .slide-indicators {
        bottom: 70px;
    }

    .indicator {
        width: 6px;
        height: 6px;
    }

    .indicator.active {
        width: 18px;
    }

    .section-container {
        padding: 24px 4%;
    }

    .section-title {
        font-size: 1.2rem;
    }

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

    .gallery-item {
        border-radius: 10px;
    }

    .detail-card {
        padding: 14px;
        gap: 12px;
    }

    .detail-icon {
        width: 36px;
        height: 36px;
        border-radius: 10px;
    }

    .toast {
        bottom: 16px;
        font-size: 12px;
        padding: 10px 20px;
        border-radius: 40px;
    }
}

/* ════════════════════════════════
   LANDSCAPE MOBILE
   ════════════════════════════════ */

@media (max-width: 900px) and (orientation: landscape) {
    .hero {
        height: 100vh;
        padding-bottom: 40px;
    }

    .title {
        font-size: clamp(1.5rem, 5vw, 2rem);
    }

    .description {
        font-size: 0.8rem;
        margin-bottom: 12px;
        max-width: 70%;
    }

    .button-group {
        flex-direction: row;
        gap: 10px;
    }

    .btn-primary,
    .btn-secondary {
        padding: 10px 18px;
        font-size: 0.8rem;
    }
}

/* ════════════════════════════════
   ANIMATIONS
   ════════════════════════════════ */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content > * {
    animation: fadeInUp 0.6s ease forwards;
}

.badge { animation-delay: 0.1s; }
.title { animation-delay: 0.2s; }
.description { animation-delay: 0.3s; }
.button-group { animation-delay: 0.4s; }

/* =========================================
   PREMIUM SKELETON EXPERIENCE
========================================= */

.loading-screen{
    position: fixed;
    inset: 0;
    z-index: 999999;
    overflow-y: auto;
    background: #000;
}

.skeleton-wrapper{
    width: 100%;
    min-height: 100vh;
}

.skeleton-hero{
    position: relative;
    width: 100%;
    height: 100vh;
    background: #0d0d0d;
    overflow: hidden;
}

.skeleton-overlay{
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    padding: 80px 6vw;
}

.skeleton-badges{
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
}

.badge-skeleton{
    width: 100px;
    height: 32px;
    border-radius: 999px;
}

.title-skeleton{
    width: 60%;
    max-width: 650px;
    height: 72px;
    border-radius: 20px;
    margin-bottom: 20px;
}

.desc-skeleton{
    width: 50%;
    max-width: 500px;
    height: 18px;
    border-radius: 10px;
    margin-bottom: 12px;
}

.desc-skeleton.small{
    width: 35%;
}

.buttons-skeleton{
    display: flex;
    gap: 14px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.btn-skeleton{
    width: 210px;
    height: 58px;
    border-radius: 18px;
}

.btn-skeleton.secondary{
    width: 190px;
}

.section-title-skeleton{
    width: 240px;
    height: 34px;
    border-radius: 14px;
    margin-bottom: 30px;
}

.skeleton-card{
    display: flex;
    align-items: center;
    gap: 18px;
}

.icon-skeleton{
    width: 60px;
    height: 60px;
    border-radius: 18px;
    flex-shrink: 0;
}

.detail-lines{
    width: 100%;
}

.line-skeleton{
    width: 70%;
    height: 18px;
    border-radius: 10px;
    margin-bottom: 12px;
}

.line-skeleton.short{
    width: 45%;
}

.gallery-skeleton{
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 28px;
}

/* SHIMMER */

.shimmer-box{
    background: linear-gradient(
        90deg,
        #111 0%,
        #1d1d1d 50%,
        #111 100%
    );

    background-size: 200% 100%;

    animation: shimmerMove 1.2s linear infinite;
}

@keyframes shimmerMove{

    0%{
        background-position: 200% 0;
    }

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

}

/* MOBILE */

@media(max-width:768px){

    .skeleton-overlay{
        padding: 40px 24px;
    }

    .title-skeleton{
        width: 90%;
        height: 50px;
    }

    .desc-skeleton{
        width: 90%;
    }

    .desc-skeleton.small{
        width: 70%;
    }

    .btn-skeleton{
        width: 100%;
        height: 52px;
    }

    .gallery-grid{
        grid-template-columns: repeat(2,1fr);
    }

}
/* ══════════════════════════════════════
   DISCOVER BANNER PREMIUM
══════════════════════════════════════ */

.discover-banner{
  position:relative;

  margin:60px auto 30px;

  max-width:720px;

  overflow:hidden;

  border-radius:32px;

  padding:46px 34px;

  background:
    linear-gradient(
      135deg,
      rgba(135,0,243,.24),
      rgba(168,85,247,.14),
      rgba(255,255,255,.03)
    );

  border:1px solid rgba(255,255,255,.08);

  backdrop-filter:blur(20px);
  -webkit-backdrop-filter:blur(20px);

  box-shadow:
    0 30px 60px rgba(0,0,0,.42),
    0 0 40px rgba(135,0,243,.16);
}

/* línea premium */
.discover-banner::before{
  content:'';

  position:absolute;

  top:0;
  left:0;
  right:0;

  height:1px;

  background:
    linear-gradient(
      90deg,
      transparent,
      rgba(168,85,247,.8),
      transparent
    );
}

/* glow */
.discover-glow{
  position:absolute;

  width:340px;
  height:340px;

  right:-120px;
  top:-140px;

  border-radius:50%;

  background:rgba(135,0,243,.32);

  filter:blur(90px);

  pointer-events:none;
}

/* CONTENT */
.discover-content{
  position:relative;
  z-index:2;

  max-width:calc(100% - 190px);
}

/* MINI */
.discover-mini{
  display:inline-flex;

  align-items:center;

  padding:7px 15px;

  border-radius:999px;

  font-size:11px;

  font-weight:800;

  letter-spacing:.08em;

  text-transform:uppercase;

  color:#e9d5ff;

  background:rgba(135,0,243,.14);

  border:1px solid rgba(168,85,247,.28);

  margin-bottom:18px;
}

/* TITLE */
.discover-banner h3{
  font-family:'Syne',sans-serif;

  font-size:clamp(1.5rem,4vw,2.15rem);

  line-height:1.12;

  font-weight:800;

  letter-spacing:-.03em;

  color:white;

  max-width:520px;
}

.discover-banner h3 span{
  background:linear-gradient(
    135deg,
    #d8b4fe,
    #ffffff
  );

  -webkit-background-clip:text;
  -webkit-text-fill-color:transparent;
  background-clip:text;
}

/* DESC */
.discover-banner p{
  margin-top:15px;

  max-width:510px;

  line-height:1.75;

  color:#b0b7c7;

  font-size:14.5px;
}

/* BUTTON */
.discover-btn{
  display:inline-flex;

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

  margin-top:28px;

  padding:14px 28px;

  border-radius:999px;

  text-decoration:none;

  font-size:14px;

  font-weight:700;

  color:white;

  background:
    linear-gradient(
      135deg,
      #8700F3,
      #A855F7
    );

  box-shadow:
    0 14px 34px rgba(135,0,243,.38);

  transition:
    transform .25s ease,
    box-shadow .25s ease;
}

.discover-btn:hover{
  transform:translateY(-3px);

  box-shadow:
    0 20px 44px rgba(135,0,243,.5);
}

/* IMAGE */
.discover-side-image{
  position:absolute;

  right:10px;

  bottom:0;

  width:240px;

  height:auto;

  object-fit:contain;

  pointer-events:none;

  z-index:1;

  opacity:.98;

  filter:
    drop-shadow(0 24px 42px rgba(135,0,243,.28));

  transform:
    translateY(-18px)
    scaleX(-1);
}

/* TABLET */
@media(max-width:760px){

  .discover-banner{
    padding:42px 24px;
  }

  .discover-side-image{
    width:180px;

    right:-5px;

    transform:
      translateY(-12px)
      scaleX(-1);
  }

  .discover-content{
    max-width:calc(100% - 95px);
  }

}

/* MOBILE */
@media(max-width:520px){

  .discover-banner{
    margin:45px 14px 24px;

    padding:34px 22px;

    border-radius:26px;
  }

  .discover-side-image{

    width:145px;

    right:-14px;

    bottom:-2px;

    opacity:.92;

    transform:
      translateY(-6px)
      scaleX(-1);
  }

  .discover-content{
    max-width:calc(100% - 40px);
  }

  .discover-banner h3{
    line-height:1.18;
  }

  .discover-banner p{
    max-width:100%;
  }

  .discover-btn{
    width:100%;
  }

}   
/* ══════════════════════════════════════
   MOBILE FIX — DISCOVER BANNER
══════════════════════════════════════ */

@media(max-width:520px){

  .discover-banner{

    margin:45px 14px 24px;

    padding:
      34px
      22px
      170px; /* espacio inferior para la imagen */

    border-radius:26px;

    min-height:520px;

    display:flex;
    align-items:flex-start;
  }

  .discover-content{
    max-width:100%;

    display:flex;
    flex-direction:column;

    align-items:flex-start;

    position:relative;
    z-index:3;
  }

  .discover-banner h3{
    line-height:1.18;

    max-width:100%;
  }

  .discover-banner p{
    max-width:100%;
  }

  .discover-btn{
    width:100%;

    justify-content:center;

    margin-top:24px;
  }

  /* IMAGEN */
  .discover-side-image{

    position:absolute;

    bottom:0;

    right:50%;

    transform:
      translateX(50%)
      scaleX(-1);

    width:180px;

    max-width:none;

    opacity:.96;

    z-index:1;

    pointer-events:none;

    filter:
      drop-shadow(0 20px 35px rgba(135,0,243,.28));
  }

  /* glow adaptado */
  .discover-glow{

    width:240px;
    height:240px;

    right:50%;

    top:auto;
    bottom:-70px;

    transform:translateX(50%);
  }

}


/* Scrollbar elegante, negra, delgada y redondeada */

/* Chrome, Edge, Safari */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

::-webkit-scrollbar-track {
    background: #111;
    border-radius: 999px;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #333, #000);
    border-radius: 999px;
    border: 1px solid #111;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #444, #111);
}

/* Firefox */
* {
    scrollbar-width: thin;
    scrollbar-color: #000 #111;
}

.back-btn {
  position: fixed;
  top: 20px;
  left: 20px;
  z-index: 999;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #fff;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.15s ease;
}

.back-btn:hover {
  background: rgba(0, 0, 0, 0.55);
}

.back-btn:active {
  transform: scale(0.92);
}

@media (max-width: 480px) {
  .back-btn {
    top: 14px;
    left: 14px;
    width: 40px;
    height: 40px;
  }
}