:root {
    --home-bg: #f7f4ee;
    --home-ink: #201a16;
    --home-muted: #756c62;
    --home-accent: #d72b63;
    --home-gold: #d0a25f;
    --home-sage: #6f8d64;
    --home-teal: #14666d;
    --home-card: #ffffff;
    --home-shadow: 0 18px 40px rgba(31, 26, 18, 0.12);
}

.home-modern {
    background: radial-gradient(circle at top, #fff8ee 0%, var(--home-bg) 55%, #efe6d6 100%);
    color: var(--home-ink);
}

.home-event-hero {
    position: relative;
    min-height: 82svh;
    display: flex;
    align-items: center;
    padding: 138px 20px 84px;
    overflow: hidden;
    background:
            linear-gradient(90deg, rgba(31, 26, 18, 0.96) 0%, rgba(31, 26, 18, 0.78) 48%, rgba(31, 26, 18, 0.18) 100%),
            url("https://fesjaja.es/wp-content/uploads/2026/07/ENTERTICKET-CUBO-JUMA-FERNANDEZ.jpg") center right / cover no-repeat;
}

.home-event-hero::after {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 8px;
    content: "";
    background: linear-gradient(90deg, #d9235f, #d0a25f, #6f8d64);
}

.home-event-hero__inner {
    position: relative;
    z-index: 1;
    width: min(1120px, 100%);
    margin: 0 auto;
    color: #fff;
}

.home-event-hero__eyebrow {
    margin: 0 0 12px;
    color: #f2bd73;
    font-size: 0.86rem;
    font-weight: 900;
    letter-spacing: 0;
    text-transform: uppercase;
}

.home-event-hero h1 {
    max-width: 720px;
    margin: 0 0 18px;
    color: #fff;
    font-size: clamp(2.2rem, 6vw, 4.7rem);
    font-weight: 900;
    line-height: 1;
    letter-spacing: 0;
    text-transform: uppercase;
}

.home-event-hero p {
    max-width: 650px;
    margin-bottom: 24px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.08rem;
    line-height: 1.55;
}

.home-event-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 16px;
}

.home-event-hero__actions .btn {
    border-radius: 999px;
    padding: 12px 20px;
    font-weight: 900;
}

.home-event-hero__note {
    max-width: 560px !important;
    margin: 0;
    color: rgba(255, 255, 255, 0.76) !important;
    font-size: 0.92rem !important;
    line-height: 1.45 !important;
}

.home-modern .about,
.home-modern .home-funnel,
.home-modern .features,
.home-modern .services,
.home-modern .testimonials,
.home-modern .contact {
    padding: 56px 0;
}

.home-modern .contact {
    padding: 0;
}

.home-modern .img-thumbnail {
    border-radius: 24px;
    border: none;
    box-shadow: var(--home-shadow);
}

.home-modern .home-featured-poster {
    display: block;
    width: 100%;
    height: auto;
    max-height: 760px;
    object-fit: contain;
}

.home-funnel {
    background:
            linear-gradient(180deg, #fff 0%, rgba(247, 244, 238, 0.92) 100%);
}

.home-funnel__grid {
    display: grid;
    grid-template-columns: minmax(260px, 0.82fr) minmax(0, 1.18fr);
    gap: clamp(24px, 5vw, 54px);
    align-items: center;
}

.home-funnel__poster {
    text-align: center;
}

.home-funnel__poster a {
    display: inline-block;
}

.home-funnel__copy {
    display: grid;
    gap: 18px;
    align-content: center;
}

.home-section-kicker {
    margin: 0;
    color: var(--home-teal);
    font-size: 0.84rem;
    font-weight: 900;
    text-transform: uppercase;
}

.home-funnel__copy h2 {
    max-width: 780px;
    margin: 0;
    color: var(--home-ink);
    font-size: clamp(1.9rem, 4vw, 3.25rem);
    font-weight: 900;
    line-height: 1.06;
    letter-spacing: 0;
}

.home-funnel__copy p {
    max-width: 720px;
    margin: 0;
    color: var(--home-muted);
    font-size: 1.05rem;
    line-height: 1.65;
}

.home-offer-panel {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin: 6px 0;
}

.home-offer-panel div {
    min-height: 94px;
    padding: 16px;
    border: 1px solid rgba(20, 102, 109, 0.16);
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 14px 28px rgba(31, 26, 18, 0.08);
}

.home-offer-panel span {
    display: block;
    margin-bottom: 8px;
    color: var(--home-accent);
    font-size: 0.75rem;
    font-weight: 900;
    text-transform: uppercase;
}

.home-offer-panel strong {
    display: block;
    color: var(--home-ink);
    font-size: 1.08rem;
    line-height: 1.2;
}

.home-funnel__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
    margin-top: 2px;
}

.home-funnel__actions .btn {
    border-radius: 999px;
    padding: 12px 19px;
    font-weight: 900;
}

.home-sales-strip {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-top: 34px;
}

.home-sales-strip div {
    min-height: 132px;
    padding: 20px;
    border-radius: 8px;
    background: #172322;
    color: #fff;
    box-shadow: 0 16px 32px rgba(20, 102, 109, 0.14);
}

.home-sales-strip span {
    display: inline-grid;
    width: 34px;
    height: 34px;
    margin-bottom: 14px;
    place-items: center;
    border-radius: 50%;
    background: var(--home-gold);
    color: #1f1a12;
    font-weight: 900;
}

.home-sales-strip strong {
    display: block;
    margin-bottom: 6px;
    font-size: 1.04rem;
}

.home-sales-strip p {
    margin: 0;
    color: rgba(255, 255, 255, 0.76);
    line-height: 1.45;
}

.home-proof-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-top: 14px;
}

.home-proof-grid div {
    min-height: 126px;
    padding: 20px;
    border: 1px solid rgba(215, 43, 99, 0.16);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 14px 28px rgba(31, 26, 18, 0.08);
}

.home-proof-grid strong {
    display: block;
    margin-bottom: 8px;
    color: var(--home-ink);
    font-size: 1.05rem;
}

.home-proof-grid p {
    margin: 0;
    color: var(--home-muted);
    line-height: 1.5;
}

.home-modern .section-title h2 {
    color: var(--home-ink);
    letter-spacing: 2px;
}

.home-modern .section-title p {
    color: var(--home-muted);
}

.home-modern .content {
    background: var(--home-card);
    border-radius: 24px;
    padding: 28px;
    box-shadow: var(--home-shadow);
    border: 1px solid rgba(208, 162, 95, 0.18);
}

.home-modern .icon-box {
    border-radius: 20px;
    box-shadow: 0 12px 28px rgba(31, 26, 18, 0.1);
    border: 1px solid rgba(208, 162, 95, 0.2);
    padding: 20px 20px 18px;
    position: relative;
}

.home-modern .icon-box i {
    color: var(--home-accent);
    font-size: 22px;
    margin-bottom: 8px;
}

.home-modern .icon-box h4 {
    margin-top: 6px;
    margin-bottom: 8px;
}

.home-modern .icon-box p {
    margin-bottom: 0;
    color: var(--home-muted);
}

.home-modern .testimonials {
    background: linear-gradient(135deg, rgba(255, 248, 238, 0.6), rgba(239, 230, 214, 0.8));
}

.home-instagram-band {
    padding: 52px 0;
    background: #172322;
    color: #fff;
}

.home-instagram-band__content {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 24px;
    align-items: center;
}

.home-instagram-band h2 {
    max-width: 720px;
    margin: 4px 0 10px;
    color: #fff;
    font-size: clamp(1.7rem, 3vw, 2.65rem);
    font-weight: 900;
    line-height: 1.08;
    letter-spacing: 0;
}

.home-instagram-band p:not(.home-section-kicker) {
    max-width: 720px;
    margin: 0;
    color: rgba(255, 255, 255, 0.78);
    font-size: 1.02rem;
    line-height: 1.58;
}

.home-instagram-band__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: flex-end;
}

.home-instagram-band__actions .btn {
    border-radius: 999px;
    padding: 11px 18px;
    font-weight: 900;
    white-space: nowrap;
}

.home-instagram-band__actions .btn-outline-dark {
    border-color: rgba(255, 255, 255, 0.55);
    color: #fff;
}

.home-instagram-band__actions .btn-outline-dark:hover,
.home-instagram-band__actions .btn-outline-dark:focus {
    background: #fff;
    color: #172322;
}

.home-modern .testimonial-item {
    border-radius: 24px;
    box-shadow: var(--home-shadow);
    border: 1px solid rgba(208, 162, 95, 0.2);
}

.home-modern .contact .info {
    border-radius: 20px;
    box-shadow: var(--home-shadow);
    border: 1px solid rgba(208, 162, 95, 0.2);
    padding: 20px;
    background: #fff;
}

.home-modern .contact .info .email,
.home-modern .contact .info .phone {
    margin-top: 20px;
}

.home-modern .contact .php-email-form {
    border-radius: 20px;
    box-shadow: var(--home-shadow);
    border: 1px solid rgba(208, 162, 95, 0.2);
    padding: 20px;
    background: #fff;
    width: 100%;
}

.home-modern .contact .php-email-form .form-group {
    margin-bottom: 16px;
    padding: 0;
}

.home-modern .contact .php-email-form input,
.home-modern .contact .php-email-form textarea {
    border-radius: 14px;
    border: 1px solid rgba(208, 162, 95, 0.25);
    padding: 12px 14px;
    width: 100%;
}

.home-modern .contact .php-email-form button[type="submit"] {
    border-radius: 999px;
    padding: 12px 20px;
    margin-top: 8px;
    width: 100%;
}

.home-modern .contact .php-email-form .text-center {
    margin-top: 8px;
}

.home-modern .contact .php-email-form .hp-field {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.home-modern .btn.btn-danger {
    border-radius: 999px;
    padding: 10px 18px;
}

.home-modern .shows-slider {
    padding: 56px 0 64px;
}

.home-modern .shows-slider .section-title p {
    text-transform: none;
    font-size: 1rem;
}

.home-modern .shows-swiper {
    padding: 16px 8px 40px;
}

.home-modern .shows-swiper .swiper-wrapper {
    align-items: stretch;
}

.home-modern .shows-swiper .swiper-slide {
    height: auto;
}

.home-modern .show-card {
    position: relative;
    display: grid;
    height: 100%;
    grid-template-rows: auto 1fr;
    gap: 16px;
    overflow: hidden;
    text-decoration: none;
    background: #fff;
    border-radius: 22px;
    padding: 20px;
    border: 2px solid rgba(208, 162, 95, 0.45);
    box-shadow: 0 18px 36px rgba(31, 26, 18, 0.12);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    color: inherit;
}

.home-modern .show-card--featured {
    border-color: rgba(242, 189, 115, 0.9);
    box-shadow:
            0 22px 46px rgba(215, 43, 99, 0.18),
            0 0 0 1px rgba(255, 255, 255, 0.75) inset;
}

.home-modern .show-card--featured::before {
    position: absolute;
    inset: -35%;
    content: "";
    pointer-events: none;
    background: linear-gradient(115deg, transparent 38%, rgba(255, 255, 255, 0.7) 48%, transparent 58%);
    opacity: 0.62;
    transform: translateX(-38%) rotate(8deg);
    transition: transform 0.55s ease;
}

.home-modern .show-card--featured::after {
    position: absolute;
    inset: 8px;
    content: "";
    pointer-events: none;
    border: 1px solid rgba(242, 189, 115, 0.62);
    border-radius: 16px;
}

.home-modern .show-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 22px 42px rgba(31, 26, 18, 0.18);
}

.home-modern .show-card--featured:hover::before {
    transform: translateX(38%) rotate(8deg);
}

.home-modern .show-image {
    position: relative;
    z-index: 1;
    display: flex;
    aspect-ratio: 1 / 1;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 2px solid rgba(123, 167, 115, 0.55);
    border-radius: 16px;
    padding: 10px;
    background: #fdfcf9;
}

.home-modern .show-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 16px;
}

.home-modern .show-card--poster img {
    object-fit: cover;
    background: #0d1f39;
}

.home-modern .show-meta {
    position: relative;
    z-index: 1;
    display: grid;
    align-content: start;
    gap: 6px;
    text-align: center;
    font-weight: 600;
}

.home-modern .show-date {
    font-size: 1.15rem;
    color: var(--home-ink);
}

.home-modern .show-time {
    font-size: 1.05rem;
    color: var(--home-ink);
}

.home-modern .show-city {
    font-size: 1rem;
    color: #6f8d64;
    letter-spacing: 0.4px;
}

.home-modern .show-meta i {
    margin-right: 6px;
    color: var(--home-accent);
    font-size: 1.05rem;
    vertical-align: -1px;
}

:root[data-site-theme="dark"] .home-modern {
    --home-bg: #0b0e0c;
    --home-ink: #f7f3ea;
    --home-muted: #c4b9a8;
    --home-accent: #ff5d8f;
    --home-gold: #f2bd73;
    --home-sage: #91b783;
    --home-teal: #63c2c9;
    --home-card: #151b17;
    --home-shadow: 0 18px 40px rgba(0, 0, 0, 0.34);
    background: radial-gradient(circle at top, rgba(242, 189, 115, 0.14) 0%, #10140f 48%, #070908 100%);
}

:root[data-site-theme="dark"] .home-event-hero {
    background:
            linear-gradient(90deg, rgba(3, 5, 4, 0.96) 0%, rgba(3, 5, 4, 0.8) 48%, rgba(3, 5, 4, 0.16) 100%),
            url("https://fesjaja.es/wp-content/uploads/2026/07/ENTERTICKET-CUBO-JUMA-FERNANDEZ.jpg") center right / cover no-repeat;
}

:root[data-site-theme="dark"] .home-modern .about,
:root[data-site-theme="dark"] .home-modern .home-funnel,
:root[data-site-theme="dark"] .home-modern .features,
:root[data-site-theme="dark"] .home-modern .services,
:root[data-site-theme="dark"] .home-modern .testimonials,
:root[data-site-theme="dark"] .home-modern .contact,
:root[data-site-theme="dark"] .home-modern .shows-slider {
    background: transparent !important;
    color: var(--home-ink);
}

:root[data-site-theme="dark"] .home-modern .content,
:root[data-site-theme="dark"] .home-modern .home-offer-panel div,
:root[data-site-theme="dark"] .home-modern .home-proof-grid div,
:root[data-site-theme="dark"] .home-modern .icon-box,
:root[data-site-theme="dark"] .home-modern .services .icon-box,
:root[data-site-theme="dark"] .home-modern .testimonial-item,
:root[data-site-theme="dark"] .home-modern .contact .info,
:root[data-site-theme="dark"] .home-modern .contact .php-email-form,
:root[data-site-theme="dark"] .home-modern .show-card {
    background: var(--home-card) !important;
    border-color: rgba(242, 189, 115, 0.22) !important;
    color: var(--home-ink) !important;
}

:root[data-site-theme="dark"] .home-modern .show-card--featured {
    border-color: rgba(242, 189, 115, 0.85) !important;
    box-shadow:
            0 22px 46px rgba(255, 93, 143, 0.16),
            0 0 0 1px rgba(242, 189, 115, 0.22) inset;
}

:root[data-site-theme="dark"] .home-sales-strip div {
    background: #101816;
}

:root[data-site-theme="dark"] .home-modern .testimonials {
    background: linear-gradient(135deg, rgba(13, 17, 14, 0.92), rgba(24, 31, 25, 0.92));
}

:root[data-site-theme="dark"] .home-modern .show-image {
    background: #101611;
    border-color: rgba(242, 189, 115, 0.28);
}

:root[data-site-theme="dark"] .home-instagram-band {
    background: #101816;
}

:root[data-site-theme="dark"] .home-modern .section-title h2,
:root[data-site-theme="dark"] .home-modern .section-title p,
:root[data-site-theme="dark"] .home-modern .content h3,
:root[data-site-theme="dark"] .home-modern .content h4,
:root[data-site-theme="dark"] .home-modern .content p,
:root[data-site-theme="dark"] .home-modern .home-proof-grid strong,
:root[data-site-theme="dark"] .home-modern .icon-box h4,
:root[data-site-theme="dark"] .home-modern .services .icon-box h4,
:root[data-site-theme="dark"] .home-modern .services .icon-box h4 a,
:root[data-site-theme="dark"] .home-modern .show-date,
:root[data-site-theme="dark"] .home-modern .show-time,
:root[data-site-theme="dark"] .home-modern .contact .info h4,
:root[data-site-theme="dark"] .home-modern .contact .info p {
    color: var(--home-ink) !important;
}

:root[data-site-theme="dark"] .home-modern .section-title p,
:root[data-site-theme="dark"] .home-modern .home-proof-grid p,
:root[data-site-theme="dark"] .home-modern .icon-box p,
:root[data-site-theme="dark"] .home-modern .services .icon-box p,
:root[data-site-theme="dark"] .home-modern .show-city {
    color: var(--home-muted) !important;
}

:root[data-site-theme="dark"] .home-modern .contact .php-email-form input,
:root[data-site-theme="dark"] .home-modern .contact .php-email-form textarea {
    background: #0f1511;
    border-color: rgba(242, 189, 115, 0.25);
    color: var(--home-ink);
}

:root[data-site-theme="dark"] .home-modern .contact .php-email-form input::placeholder,
:root[data-site-theme="dark"] .home-modern .contact .php-email-form textarea::placeholder {
    color: rgba(247, 243, 234, 0.58);
}

.home-modern .shows-slider .swiper-pagination-bullet {
    background: rgba(208, 162, 95, 0.35);
    opacity: 1;
}

.home-modern .shows-slider .swiper-pagination-bullet-active {
    background: var(--home-accent);
}

@media (min-width: 992px) {
    .home-modern .contact {
        padding: 16px 0 40px;
    }

    .home-modern .features > .container > .content {
        width: 100%;
        max-width: 760px;
        margin: 0 auto 28px;
        padding: 32px 34px;
    }

    .home-modern .features > .container > .content .section-title {
        margin: 0 0 12px;
    }
}

@media (max-width: 768px) {
    #hero.home-event-hero {
        height: auto !important;
        min-height: 620px !important;
        align-items: flex-end;
        padding: 116px 16px 64px;
        overflow: hidden;
        background:
                linear-gradient(180deg, rgba(31, 26, 18, 0.94) 0%, rgba(31, 26, 18, 0.82) 56%, rgba(31, 26, 18, 0.4) 100%),
                url("https://fesjaja.es/wp-content/uploads/2026/07/ENTERTICKET-CUBO-JUMA-FERNANDEZ.jpg") center top / cover no-repeat;
    }

    .home-modern .about,
    .home-modern .home-funnel,
    .home-modern .features,
    .home-modern .services,
    .home-modern .testimonials,
    .home-modern .contact {
        padding: 40px 0;
    }

    .home-modern .shows-slider {
        padding: 40px 0 56px;
    }

    .home-modern .content {
        padding: 22px;
    }

    .home-funnel__grid,
    .home-sales-strip,
    .home-proof-grid,
    .home-instagram-band__content {
        grid-template-columns: 1fr;
    }

    .home-instagram-band {
        padding: 40px 0;
    }

    .home-instagram-band__actions {
        justify-content: flex-start;
    }

    .home-instagram-band__actions .btn {
        width: 100%;
        white-space: normal;
    }

    .home-funnel__copy {
        gap: 16px;
    }

    .home-offer-panel {
        grid-template-columns: 1fr;
    }

    .home-offer-panel div,
    .home-sales-strip div,
    .home-proof-grid div {
        min-height: auto;
    }

    .home-modern .contact .info,
    .home-modern .contact .php-email-form {
        padding: 18px;
    }

    .home-modern .contact .info {
        margin-bottom: 16px;
    }

    .home-modern .contact .php-email-form {
        margin-top: 0;
    }

    .home-modern .contact .php-email-form .row {
        margin-left: 0;
        margin-right: 0;
    }

    .home-modern .contact .php-email-form .row > [class*="col-"] {
        padding-left: 0;
        padding-right: 0;
    }

    .home-modern .contact .php-email-form .form-group {
        padding-left: 0;
        padding-right: 0;
    }
}

/* Refuerzo de estilos para móviles donde style.css pisa márgenes */
.home-modern .contact .info,
.home-modern .contact .php-email-form,
.home-modern .contact .php-email-form input,
.home-modern .contact .php-email-form textarea,
.home-modern .contact .php-email-form button[type="submit"] {
    box-sizing: border-box;
}

.home-modern .contact .php-email-form {
    padding: 18px !important;
}

.home-modern .contact .php-email-form input,
.home-modern .contact .php-email-form textarea {
    width: 100% !important;
}

.home-modern .contact .php-email-form button[type="submit"] {
    width: 100% !important;
    margin-top: 10px !important;
}
