/* ==========================================================================
   La Ola Art Gallery — Consolidated Stylesheet
   ========================================================================== */

/* ── Sub-hero banner (internal pages) ──────────────────────── */

.site-subhero {
    position: relative;
    overflow: hidden;
    background: #7ba6c8;
}

.site-subhero::before {
    content: '';
    position: absolute;
    inset: -8px;
    background: url("../images/header-img.webp") center / cover no-repeat;
    filter: blur(6px);
    z-index: 0;
}

.site-subhero__overlay {
    position: relative;
    z-index: 1;
    background: linear-gradient(135deg, rgba(64, 135, 193, 0.82), rgba(26, 26, 46, 0.82));
}

.site-subhero__copy {
    color: #3F85BF;
    padding: 5rem 0 1rem;
}

.site-subhero__eyebrow {
    display: inline-block;
    padding: 0.35rem 0.75rem;
    border: 1px solid rgba(255, 255, 255, 0.26);
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.site-subhero__copy h1 {
    color: #fff;
    font-size: clamp(2.5rem, 6vw, 4.8rem);
    line-height: 1.02;
    margin-bottom: 1.4rem;
}

.site-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: center;
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.92rem;
}

.site-breadcrumb a,
.site-breadcrumb span {
    color: inherit;
    position: relative;
}

.site-breadcrumb a:not(:last-child)::after,
.site-breadcrumb span:not(:last-child)::after {
    content: '/';
    margin-left: 0.75rem;
    color: rgba(255, 255, 255, 0.45);
}

/* ── Panels & components ───────────────────────────────────── */

.laola-stack > * + * {
    margin-top: 1rem;
}

.laola-contact-grid > [class*='col-'],
.laola-booking-grid > [class*='col-'] {
    margin-bottom: 1.5rem;
}

.laola-meta-list > * + * {
    margin-top: 1rem;
}

.laola-panel {
    background: var(--color-white);
    border-radius: var(--radius-soft);
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--color-border);
}

.laola-panel--dark {
    background: linear-gradient(145deg, #193449, #132030);
    color: rgba(255, 255, 255, 0.88);
    border: 0;
}

.laola-panel--dark h2,
.laola-panel--dark h3,
.laola-panel--dark h4,
.laola-panel--dark h5,
.laola-panel--dark h6,
.laola-panel--dark p,
.laola-panel--dark a,
.laola-panel--dark li,
.laola-panel--dark span,
.laola-panel--dark strong {
    color: inherit;
}

.laola-panel__body {
    padding: 2rem;
}

.laola-panel__body--lg {
    padding: 2.5rem;
}

.laola-mini-title {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 0.85rem;
}

.laola-panel--dark .laola-mini-title {
    color: rgba(255, 255, 255, 0.68);
}

.laola-inline-icon {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: rgba(64, 135, 193, 0.12);
    color: var(--color-primary);
    font-size: 1.1rem;
    flex: 0 0 auto;
}

.laola-panel--dark .laola-inline-icon {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
}

.laola-meta-item {
    display: grid;
    grid-template-columns: 42px 1fr;
    gap: 1rem;
    align-items: start;
}

.laola-form-row > [class*='col-'] {
    margin-bottom: 1rem;
}

.laola-note {
    padding: 1rem 1.25rem;
    border-radius: 4px;
    background: rgba(64, 135, 193, 0.08);
    color: var(--color-text-soft);
    border: 1px solid rgba(64, 135, 193, 0.16);
}

/* ── Map & calendar ────────────────────────────────────────── */

.laola-map-shell {
    overflow: hidden;
    border-radius: var(--radius-soft);
    box-shadow: var(--shadow-soft);
}

.laola-map-shell iframe {
    display: block;
    width: 100%;
    min-height: 420px;
    border: 0;
}

.laola-calendar-shell {
    padding: 2rem;
}

.laola-calendar-shell #calendar {
    background: #fff;
    border-radius: var(--radius-soft);
    padding: 1rem;
    box-shadow: var(--shadow-soft);
}

.laola-booking-modal .modal-content {
    border: 0;
    border-radius: 1rem;
    overflow: hidden;
}

.laola-booking-modal .modal-header {
    background: linear-gradient(135deg, rgba(64, 135, 193, 0.92), rgba(47, 140, 143, 0.92));
    color: #fff;
    border-bottom: 0;
}

.laola-booking-modal .modal-footer {
    border-top: 1px solid rgba(26, 26, 46, 0.08);
}

/* ── Actions ───────────────────────────────────────────────── */

.laola-contact-actions > * + * {
    margin-left: 1rem;
}

.hero-actions > * + * {
    margin-left: 1rem;
}

/* ── Grids ─────────────────────────────────────────────────── */

.laola-story-row > [class*='col-'],
.laola-kpi-grid > [class*='col-'] {
    margin-bottom: 1.5rem;
}

/* ── Feature list ──────────────────────────────────────────── */

.laola-feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 1rem;
}

.laola-feature-list li {
    display: grid;
    grid-template-columns: 42px 1fr;
    gap: 1rem;
    align-items: start;
}

/* ── Editorial card ────────────────────────────────────────── */

.laola-editorial-card {
    height: 100%;
}

.laola-editorial-card .media-frame img {
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

/* ── CTA band ──────────────────────────────────────────────── */

.laola-cta-band {
    padding: 2.75rem;
    border-radius: 1.5rem;
    background:
        linear-gradient(135deg, rgba(25, 52, 73, 0.96), rgba(47, 140, 143, 0.9)),
        radial-gradient(circle at top right, rgba(216, 137, 51, 0.38), transparent 34%);
    color: rgba(255, 255, 255, 0.9);
    box-shadow: var(--shadow-soft);
}

.laola-cta-band h2,
.laola-cta-band p,
.laola-cta-band .laola-mini-title {
    color: inherit;
}

.laola-cta-actions > * + * {
    margin-left: 1rem;
}

/* ── Article ───────────────────────────────────────────────── */

.laola-article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center;
    color: var(--color-text-soft);
    font-size: 0.95rem;
}

.laola-article-content {
    color: var(--color-text-soft);
    line-height: 1.8;
}

.laola-article-content img {
    max-width: 100%;
    height: auto;
    border-radius: 1rem;
}

.laola-article-content iframe,
.laola-article-content video {
    max-width: 100%;
}

/* ── Gallery shell ─────────────────────────────────────────── */

.laola-gallery-shell .carousel-item img {
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.laola-gallery-shell .carousel-indicators {
    margin-bottom: 0.75rem;
}

.laola-gallery-shell .carousel-indicators li {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.55);
}

.laola-gallery-shell .carousel-control-prev,
.laola-gallery-shell .carousel-control-next {
    width: 12%;
}

/* ── Sidebar links ─────────────────────────────────────────── */

.laola-sidebar-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 0.9rem;
}

.laola-sidebar-links a {
    display: inline-flex;
    align-items: center;
    color: var(--color-text);
    font-weight: 500;
}

.laola-sidebar-links a i {
    margin-right: 0.65rem;
}

/* ── Legal copy ────────────────────────────────────────────── */

.laola-legal-copy {
    line-height: 1.8;
    color: var(--color-text-soft);
}

.laola-legal-copy h2,
.laola-legal-copy h3 {
    color: var(--color-text);
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.laola-legal-copy h2:first-child,
.laola-legal-copy h3:first-child {
    margin-top: 0;
}

.laola-legal-copy table {
    background: #fff;
}

/* ── Pricing ───────────────────────────────────────────────── */

.laola-price-card {
    height: 100%;
}

.laola-price-card__value {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
    margin: 1.25rem 0 1.5rem;
}

.laola-price-card__number {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.1rem, 4vw, 3rem);
    line-height: 1;
    color: var(--color-primary);
}

.laola-price-card__unit {
    font-size: 1rem;
    color: var(--color-text-soft);
}

.laola-price-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 0.85rem;
}

.laola-price-list li {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    padding-bottom: 0.85rem;
    border-bottom: 1px solid var(--color-border);
}

.laola-price-list li:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

.laola-price-note {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.65rem 1rem;
    border-radius: 999px;
    background: rgba(64, 135, 193, 0.08);
    color: var(--color-text-soft);
    border: 1px solid rgba(64, 135, 193, 0.12);
}

/* ── Preloader ─────────────────────────────────────────────── */

.loader-mask {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: var(--color-background, #fbfbfb);
    display: flex;
    align-items: center;
    justify-content: center;
}

.loader {
    display: inline-flex;
    gap: 8px;
}

.loader div {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--color-primary, #4087c1);
    animation: loader-bounce 0.6s infinite alternate;
}

.loader div:nth-child(2) {
    animation-delay: 0.2s;
}

@keyframes loader-bounce {
    to { opacity: 0.3; transform: translateY(-8px); }
}

/* ── Legacy components (used in views) ─────────────────────── */

.h3-tramites {
    color: var(--color-text, #1a1a2e);
    font-family: "Playfair Display", serif;
    font-size: 24px;
    font-weight: 600;
    line-height: 30px;
    letter-spacing: -0.48px;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.h4-generico {
    color: var(--color-text, #1a1a2e);
    font-family: "Inter", sans-serif;
    font-size: 18px;
    font-weight: 500;
    line-height: 28px;
    padding-bottom: 4px;
}

.fondo-encabezado {
    background-image: url("../images/subbanner-backgroundimage.jpg");
    background-repeat: no-repeat;
    background-size: cover;
}

.color-link-submenu {
    color: #FCD004;
    font-weight: 600;
}

.img-128 {
    width: 128px;
    height: auto;
}

.miniatura-img {
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    height: 80px;
    width: 80px;
    background-color: #CECECE;
    border-radius: 50%;
}

.miniatura-img img {
    height: 100%;
    width: auto;
}

.carousel-inner {
    width: 100%;
    height: 400px;
}

@media (max-width: 768px) {
    .carousel-inner {
        height: 280px;
    }
}

/* ── Herramientas banner ───────────────────────────────────── */

.laolaartgallery-banner-container {
    position: relative;
    background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
    border-radius: 20px;
    padding: 50px 40px;
    max-width: 450px;
    width: 100%;
    box-shadow: 0 20px 60px rgba(37, 99, 235, 0.3);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.laolaartgallery-banner-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 70px rgba(37, 99, 235, 0.4);
}

.laolaartgallery-banner-container::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 1px, transparent 1px);
    background-size: 30px 30px;
    animation: patternMove 20s linear infinite;
    pointer-events: none;
}

@keyframes patternMove {
    0%   { transform: translate(0, 0); }
    100% { transform: translate(30px, 30px); }
}

.laolaartgallery-icon-wrapper {
    position: relative;
    width: 100px;
    height: 100px;
    margin: 0 auto 30px;
    background: white;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50%      { transform: translateY(-10px); }
}

.laolaartgallery-icon-wrapper::after {
    content: '';
    position: absolute;
    inset: -3px;
    background: linear-gradient(45deg, #fde047, #f59e0b, #fde047);
    border-radius: 22px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.laolaartgallery-banner-container:hover .laolaartgallery-icon-wrapper::after {
    opacity: 1;
    animation: rotate 3s linear infinite;
}

@keyframes rotate {
    0%   { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.laolaartgallery-icon {
    font-size: 50px;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50%      { transform: scale(1.05); }
}

.laolaartgallery-content {
    text-align: center;
    position: relative;
    z-index: 1;
}

.laolaartgallery-h2 {
    color: white;
    font-size: 28px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
    line-height: 1.2;
}

.laolaartgallery-subtitle {
    color: rgba(255, 255, 255, 0.95);
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 35px;
}

.laolaartgallery-cta-button {
    display: inline-block;
    background: white;
    color: #1e40af;
    padding: 16px 45px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
}

.laolaartgallery-cta-button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(37, 99, 235, 0.1);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.laolaartgallery-cta-button:hover::before {
    width: 300px;
    height: 300px;
}

.laolaartgallery-cta-button:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

.laolaartgallery-cta-button span {
    position: relative;
    z-index: 1;
}

.deco-circle {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    pointer-events: none;
}

.deco-circle-1 {
    width: 150px;
    height: 150px;
    top: -50px;
    left: -50px;
    animation: float 4s ease-in-out infinite;
}

.deco-circle-2 {
    width: 100px;
    height: 100px;
    bottom: -30px;
    right: -30px;
    animation: float 5s ease-in-out infinite reverse;
}

@media (max-width: 768px) {
    .laolaartgallery-banner-container {
        padding: 40px 30px;
    }

    .laolaartgallery-h2 {
        font-size: 24px;
    }

    .laolaartgallery-subtitle {
        font-size: 15px;
    }
}

.isotipo-alquiler {
    width: 60px;
    height: 60px;
}

.laolaartgallery-banner-container:hover .laolaartgallery-icon .isotipo-alquiler {
    filter: brightness(0) saturate(100%);
}

/* ── Video hero ────────────────────────────────────────────── */

.laolaartgallery-video-hero {
    position: relative;
    width: 100%;
    height: 90vh;
    overflow: hidden;
    margin: 0;
    padding: 0;
}

.laolaartgallery-video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    margin: 0;
    padding: 0;
}

.laolaartgallery-background-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    margin: 0;
    padding: 0;
}

@media (max-width: 768px) {
    .laolaartgallery-video-hero {
        height: 80vh;
        min-height: 500px;
    }
}

@media (max-width: 576px) {
    .laolaartgallery-video-hero {
        height: 70vh;
        min-height: 400px;
    }
}

/* ── Cookie consent overrides (TermsFeed) ──────────────────── */

.cc-nb-okagree {
    background-color: #007bff !important;
    color: #fff;
}

.cc-nb-reject {
    background-color: #007bff !important;
    color: #fff;
}

.cc-cp-foot-save {
    background-color: #007bff !important;
    color: #fff;
}

.cc-pc-head-lang select:focus {
    box-shadow: 0 0 0 2px #007bff !important;
}

.cc-cp-foot-byline {
    color: #F2F2F2 !important;
}

.cc-cp-foot-byline a {
    color: #F2F2F2 !important;
    pointer-events: none;
    cursor: default;
    text-decoration: none;
}

.cc-pc-head-title-text {
    color: white !important;
}

/* ── Responsive overrides ──────────────────────────────────── */

@media (max-width: 991.98px) {
    .site-subhero__content {
        padding: 3.5rem 0;
    }

    .site-subhero__copy {
        padding-top: 3rem;
    }

    .hero-actions > * + * {
        margin-left: 0;
        margin-top: 0.75rem;
    }

    .laola-panel__body,
    .laola-panel__body--lg,
    .laola-calendar-shell {
        padding: 1.5rem;
    }

    .laola-contact-actions > * + * {
        margin-left: 0;
        margin-top: 0.75rem;
    }

    .laola-cta-band {
        padding: 2rem 1.5rem;
    }

    .laola-cta-actions > * + * {
        margin-left: 0;
        margin-top: 0.75rem;
    }
}
