body { font-family: 'Outfit', sans-serif; background-color: #f8fafc; }
@keyframes ride {
    0% { transform: translateY(0) rotate(0deg); }
    25% { transform: translateY(-4px) rotate(-3deg); }
    50% { transform: translateY(0) rotate(0deg); }
    75% { transform: translateY(-4px) rotate(3deg); }
    100% { transform: translateY(0) rotate(0deg); }
}
.lion-rider {
    display: inline-block;
    animation: ride 2s infinite ease-in-out;
    font-size: 5.5rem;
    filter: drop-shadow(0 10px 8px rgb(0 0 0 / 0.25));
}
.ticket-bg {
    background-image: repeating-linear-gradient(transparent, transparent 28px, #e2e8f0 28px, #e2e8f0 29px);
    background-attachment: local;
}
.card-hover:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1);
    transition: all 0.3s ease;
}
.btn-3d {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-weight: 700;
    border-radius: 0.9rem;
    padding: 0.8rem 1rem;
    border: 1px solid rgba(15, 23, 42, 0.12);
    transform: translateY(0);
    transition: transform 0.12s ease, box-shadow 0.12s ease, filter 0.2s ease;
    box-shadow: 0 8px 0 rgba(15, 23, 42, 0.22), 0 10px 18px rgba(15, 23, 42, 0.12);
}
.btn-3d:hover { filter: brightness(1.03); }
.btn-3d:active,
.btn-3d.btn-pressed,
.btn-3d:focus-visible {
    transform: translateY(6px);
    box-shadow: 0 2px 0 rgba(15, 23, 42, 0.25), 0 5px 10px rgba(15, 23, 42, 0.12);
}
.btn-indigo { background: #c7d2fe; color: #312e81; }
.btn-emerald { background: #a7f3d0; color: #065f46; }
.btn-amber { background: #fde68a; color: #92400e; }
.btn-sky { background: #bae6fd; color: #0c4a6e; }
.btn-rose { background: #fecdd3; color: #9f1239; }
.btn-3d-social {
    box-shadow: 0 8px 0 rgba(255, 255, 255, 0.26), 0 12px 20px rgba(2, 6, 23, 0.35);
    border-color: rgba(255, 255, 255, 0.35);
}
.btn-3d-social:active,
.btn-3d-social.btn-pressed,
.btn-3d-social:focus-visible {
    box-shadow: 0 2px 0 rgba(255, 255, 255, 0.28), 0 5px 10px rgba(2, 6, 23, 0.3);
}

/* ── Marco de imagen reutilizable ── */
.img-frame {
    background: #ffffff;
    padding: 10px;
    border: 2px solid #be123c;
    border-radius: 1.25rem;
    box-shadow:
        0 4px 6px rgba(0,0,0,0.05),
        0 10px 30px rgba(0,0,0,0.10),
        0 20px 50px rgba(0,0,0,0.07);
    display: block;
    overflow: hidden;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
    max-width: 100%;
}
.img-frame:hover {
    box-shadow:
        0 6px 10px rgba(0,0,0,0.07),
        0 16px 40px rgba(0,0,0,0.14),
        0 28px 60px rgba(0,0,0,0.09);
    transform: translateY(-4px);
}
.img-frame img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 0.75rem;
}
.img-frame figcaption {
    padding: 8px 6px 2px;
    font-size: 0.78rem;
    color: #64748b;
    text-align: center;
    font-style: italic;
    line-height: 1.4;
}

/* ── Cookie banner ── */
#pl-cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    padding: 1rem;
    transform: translateY(110%);
    transition: transform 0.35s cubic-bezier(0.34, 1.1, 0.64, 1);
    pointer-events: none;
}
#pl-cookie-banner.pl-cb--visible {
    transform: translateY(0);
    pointer-events: auto;
}
#pl-cookie-banner.pl-cb--hide {
    transform: translateY(110%);
    pointer-events: none;
}
.pl-cb__inner {
    max-width: 72rem;
    margin: 0 auto;
    background: #0f172a;
    border: 1px solid #1e293b;
    border-radius: 1.25rem;
    padding: 1.25rem 1.5rem;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    box-shadow: 0 -4px 32px rgba(0,0,0,0.35);
}
.pl-cb__icon {
    font-size: 2rem;
    line-height: 1;
    flex-shrink: 0;
    margin-top: 0.1rem;
}
.pl-cb__text {
    flex: 1;
    min-width: 0;
}
.pl-cb__title {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    color: #f1f5f9;
    margin: 0 0 0.35rem;
}
.pl-cb__desc {
    font-family: 'Outfit', sans-serif;
    font-size: 0.82rem;
    color: #94a3b8;
    margin: 0;
    line-height: 1.5;
}
.pl-cb__desc strong { color: #cbd5e1; }
.pl-cb__link-row {
    margin: 0.4rem 0 0;
}
.pl-cb__link {
    font-family: 'Outfit', sans-serif;
    font-size: 0.78rem;
    color: #fb7185;
    text-decoration: underline;
    text-underline-offset: 2px;
}
.pl-cb__link:hover { color: #fda4af; }
.pl-cb__actions {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    flex-shrink: 0;
    align-items: stretch;
    min-width: 10rem;
}
.pl-cb__btn {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 0.85rem;
    padding: 0.65rem 1rem;
    border-radius: 0.75rem;
    border: none;
    cursor: pointer;
    transition: filter 0.15s ease, transform 0.1s ease;
    text-align: center;
    white-space: nowrap;
}
.pl-cb__btn:hover { filter: brightness(1.1); }
.pl-cb__btn:active { transform: scale(0.97); }
.pl-cb__btn--primary {
    background: #fb7185;
    color: #fff;
}
.pl-cb__btn--secondary {
    background: #1e293b;
    color: #94a3b8;
    border: 1px solid #334155;
}
@media (max-width: 640px) {
    .pl-cb__inner {
        flex-direction: column;
        gap: 0.85rem;
    }
    .pl-cb__actions {
        flex-direction: row;
        min-width: auto;
        width: 100%;
    }
    .pl-cb__btn {
        flex: 1;
    }
}

/* Nav dropdown hover */
.group:hover .group-hover\:block { display: block; }
.group:hover .group-hover\:rotate-180 { --tw-rotate: 180deg; transform: translateX(var(--tw-translate-x,0)) translateY(var(--tw-translate-y,0)) rotate(180deg) skewX(var(--tw-skew-x,0)) skewY(var(--tw-skew-y,0)) scaleX(var(--tw-scale-x,1)) scaleY(var(--tw-scale-y,1)); }

/* === Breadcrumb === */
.breadcrumb {
    font-size: 0.75rem;
    color: #64748b;
    padding-bottom: 0.875rem;
    margin-bottom: 1.25rem;
    border-bottom: 1px solid #e2e8f0;
}
.breadcrumb ol {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    list-style: none;
    padding: 0;
    margin: 0;
    flex-wrap: wrap;
}
.breadcrumb a {
    color: #64748b;
    text-decoration: none;
    transition: color 0.15s;
}
.breadcrumb a:hover { color: #059669; }
.breadcrumb [aria-current="page"] {
    color: #1e293b;
    font-weight: 600;
}
.breadcrumb-sep { color: #94a3b8; font-size: 0.65rem; }

/* === Table of Contents === */
.toc-nav {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-left: 4px solid #10b981;
    border-radius: 0.75rem;
    padding: 1rem 1.25rem;
    margin-bottom: 2rem;
}
.toc-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.6rem;
}
.toc-title {
    font-weight: 700;
    font-size: 0.875rem;
    color: #064e3b;
}
.toc-toggle {
    width: 1.5rem;
    height: 1.5rem;
    border: 1px solid #6ee7b7;
    border-radius: 0.375rem;
    background: white;
    cursor: pointer;
    font-size: 1rem;
    line-height: 1;
    color: #047857;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    flex-shrink: 0;
}
.toc-toggle:hover { background: #d1fae5; }
.toc-list {
    list-style: decimal;
    padding-left: 1.4rem;
    margin: 0;
    columns: 1;
}
.toc-link {
    font-size: 0.8125rem;
    color: #334155;
    text-decoration: none;
    display: block;
    padding: 0.2rem 0;
    line-height: 1.4;
    transition: color 0.15s;
}
.toc-link:hover, .toc-active {
    color: #059669;
    font-weight: 600;
}
@media (min-width: 640px) {
    .toc-list { columns: 2; }
}

/* Nav: reduce gap so all items (including España) fit on 1280px screens */
@media (min-width: 768px) {
    nav [class*="gap-6"][class*="items-center"] {
        gap: 0.75rem;
    }
}
