/* ============================================
   EBRET — COMPONENTS v2
   Dark Entertainment Theme
   ============================================ */


/* ============================================
   HEADER — Transparent, blurs on scroll
   ============================================ */

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: transparent;
    transition: all var(--transition-base);
}

.site-header.scrolled {
    background: var(--bg-glass);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-subtle);
}

.site-header.scrolled .header__inner {
    padding-block: var(--space-xs);
    min-height: 64px;
}

.site-header.header--hidden {
    transform: translateY(-100%);
}

.header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-sm) var(--section-px);
    max-width: var(--container-max);
    margin-inline: auto;
    min-height: 64px;
}

.header__logo {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    flex-shrink: 0;
}

.header__logo img {
    height: 108px;
    /* Doubled from 54px */
    width: auto;
    transition: height var(--transition-base);
}

.site-header.scrolled .header__logo img {
    height: 54px;
    /* Maintain readable size when scrolled */
}

@media (min-width: 768px) {
    .header__logo img {
        height: 140px;
    }

    .site-header.scrolled .header__logo img {
        height: 85px;
    }
}

.header__logo-text {
    font-family: var(--font-heading);
    font-weight: var(--fw-black);
    font-size: var(--text-md);
    color: white;
    font-style: italic;
    line-height: 1;
}

.header__logo-text small {
    display: block;
    font-size: var(--text-xs);
    font-weight: var(--fw-medium);
    color: var(--text-muted);
    font-style: normal;
}

/* Desktop Nav */
.nav {
    display: none;
}

.nav__list {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
}

.nav__link {
    font-family: var(--font-heading);
    font-size: var(--text-sm);
    font-weight: var(--fw-medium);
    color: var(--text-secondary);
    position: relative;
    padding-block: var(--space-2xs);
    transition: color var(--transition-fast);
}

.nav__link:hover,
.nav__link--active {
    color: white;
}

.nav__link--active::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--accent);
    border-radius: var(--radius-full);
}

/* Header CTA */
.header__cta {
    display: none;
}

/* Hamburger */
.hamburger {
    display: flex;
    flex-direction: column;
    gap: 5px;
    width: 24px;
    padding: 6px 0;
    cursor: pointer;
    z-index: 1001;
}

.hamburger__line {
    width: 100%;
    height: 2px;
    background: white;
    border-radius: 2px;
    transition: all var(--transition-base);
}

.hamburger.is-open .hamburger__line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 6px);
}

.hamburger.is-open .hamburger__line:nth-child(2) {
    opacity: 0;
}

.hamburger.is-open .hamburger__line:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -6px);
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    inset: 0;
    background: #000;
    z-index: 10000;
    display: flex;
    flex-direction: column;
    padding: 120px var(--space-lg) var(--space-xl);
    transform: translateX(100%);
    transition: transform var(--transition-slow);
    overflow-y: auto;
}

/* Background decorative element */
.mobile-menu::before {
    content: '';
    position: absolute;
    top: -10%;
    right: -10%;
    width: 300px;
    height: 300px;
    background: var(--accent-glow);
    filter: blur(80px);
    border-radius: 50%;
    opacity: 0.4;
    pointer-events: none;
}

.mobile-menu.is-open {
    transform: translateX(0);
}

.mobile-menu__list {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

.mobile-menu__link {
    font-family: var(--font-heading);
    font-size: var(--text-3xl);
    font-weight: var(--fw-black);
    font-style: italic;
    color: var(--text-secondary);
    transition: all var(--transition-base);
    display: block;
    line-height: 1.1;
    opacity: 0;
    transform: translateX(20px);
}

.mobile-menu.is-open .mobile-menu__link {
    opacity: 1;
    transform: translateX(0);
}

/* Staggered entry animations */
.mobile-menu.is-open li:nth-child(1) .mobile-menu__link { transition-delay: 0.1s; }
.mobile-menu.is-open li:nth-child(2) .mobile-menu__link { transition-delay: 0.15s; }
.mobile-menu.is-open li:nth-child(3) .mobile-menu__link { transition-delay: 0.2s; }
.mobile-menu.is-open li:nth-child(4) .mobile-menu__link { transition-delay: 0.25s; }
.mobile-menu.is-open li:nth-child(5) .mobile-menu__link { transition-delay: 0.3s; }

.mobile-menu__link:hover,
.mobile-menu__link--active {
    color: white;
}

.mobile-menu__cta {
    margin-top: var(--space-2xl);
    opacity: 0;
    transform: translateY(20px);
    transition: all var(--transition-base);
}

.mobile-menu.is-open .mobile-menu__cta {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.4s;
}

/* Social Footer area in mobile menu */
.mobile-menu__footer {
    margin-top: auto;
    padding-top: var(--space-xl);
    opacity: 0;
    transform: translateY(20px);
    transition: all var(--transition-base);
}

.mobile-menu.is-open .mobile-menu__footer {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.5s;
}

.mobile-menu__social-label {
    font-size: var(--text-xs);
    font-weight: var(--fw-bold);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--text-muted);
    margin-bottom: var(--space-md);
    text-align: center;
}

.mobile-menu__social-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-md);
}

.mobile-menu__social-text a {
    color: var(--text-secondary);
    font-size: var(--text-lg);
    font-weight: var(--fw-bold);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.mobile-menu__social-text a:hover {
    color: white;
}


@media (min-width: 768px) {
    .header__inner {
        min-height: 72px;
    }

    .nav {
        display: block;
    }

    .hamburger {
        display: none;
    }

    .header__cta {
        display: flex;
    }
}


/* ============================================
   HERO — BILLBOARD (Netflix-style)
   ============================================ */

.hero-billboard {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
}

/* Video background wrapper */
.hero-billboard__video-wrap {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    background: var(--bg-primary);
}

.hero-billboard__video-wrap iframe {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 300vh;
    /* Extra large to cover width on tall screens */
    height: 100%;
    min-width: 100vw;
    min-height: 100%;
    transform: translate(-50%, -50%) scale(1.1);
    pointer-events: none;
    border: 0;
}

@media (max-aspect-ratio: 16/9) {
    .hero-billboard__video-wrap iframe {
        width: 177.78vh;
        /* 16/9 of 100vh */
        height: 100vh;
    }
}

@media (min-aspect-ratio: 16/9) {
    .hero-billboard__video-wrap iframe {
        width: 100vw;
        height: 56.25vw;
        /* 9/16 of 100vw */
    }
}

/* Fallback bg behind video while loading */
.hero-billboard__video-wrap::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #0A0A0F 0%, #1a0008 40%, #2d0010 60%, #0A0A0F 100%);
    z-index: -1;
}

/* Dark overlay for text readability */
.hero-billboard__overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(180deg, rgba(10, 10, 15, 0.6) 0%, rgba(10, 10, 15, 0.3) 30%, rgba(10, 10, 15, 0.75) 70%, var(--bg-primary) 100%),
        linear-gradient(90deg, rgba(10, 10, 15, 0.9) 0%, rgba(10, 10, 15, 0.4) 50%, rgba(10, 10, 15, 0.6) 100%);
    pointer-events: none;
}

/* Static image bg — kept as fallback */
.hero-billboard__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

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

/* Multiple gradient layers — for image bg fallback */
.hero-billboard__bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(10, 10, 15, 0.3) 0%, rgba(10, 10, 15, 0) 30%, rgba(10, 10, 15, 0.8) 70%, var(--bg-primary) 100%),
        linear-gradient(90deg, var(--bg-primary) 0%, transparent 50%);
    z-index: 1;
}

.hero-billboard__content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: var(--container-max);
    margin-inline: auto;
    padding: var(--space-3xl) var(--section-px) var(--space-2xl);
}

.hero-billboard__label {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    margin-bottom: var(--space-md);
}

.hero-billboard__label .accent-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent);
    animation: pulse 2s infinite;
}

.hero-billboard__label span {
    font-size: var(--text-xs);
    font-weight: var(--fw-bold);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--text-secondary);
}

.hero-billboard__title {
    font-family: var(--font-heading);
    font-size: var(--text-6xl);
    font-weight: var(--fw-black);
    font-style: italic;
    color: white;
    line-height: 0.95;
    margin-bottom: var(--space-md);
    max-width: 700px;
}

.hero-billboard__payoff {
    font-size: var(--text-md);
    color: var(--text-secondary);
    max-width: 520px;
    margin-bottom: var(--space-lg);
    line-height: var(--leading-relaxed);
}

.hero-billboard__desc {
    font-size: var(--text-md);
    color: var(--text-secondary);
    max-width: 520px;
    margin-bottom: var(--space-lg);
    line-height: var(--leading-relaxed);
}

.hero-billboard__meta {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-lg);
    font-size: var(--text-sm);
    color: var(--text-muted);
}

.hero-billboard__meta .tag {
    background: var(--accent);
    color: white;
    cursor: default;
}

/* ============================================
   FEATURED EPISODE — big cinematic card
   ============================================ */

.featured-ep {
    position: relative;
    border-radius: var(--radius-2xl);
    overflow: hidden;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
}

.featured-ep__inner {
    display: flex;
    flex-direction: column;
}

.featured-ep__cover {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
}

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

.featured-ep__cover::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 30%, var(--bg-card) 100%);
}

.featured-ep__content {
    padding: var(--space-md);
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
    margin-top: -40px;
    position: relative;
    z-index: 1;
}

.featured-ep__player {
    margin-top: var(--space-xs);
}

.featured-ep__player iframe {
    border-radius: var(--radius-lg);
    width: 100%;
}

@media (min-width: 768px) {
    .featured-ep__inner {
        flex-direction: row;
        min-height: 340px;
    }

    .featured-ep__cover {
        flex-shrink: 0;
        width: 45%;
        aspect-ratio: auto;
    }

    .featured-ep__cover::after {
        background: linear-gradient(90deg, transparent 30%, var(--bg-card) 100%);
    }

    .featured-ep__content {
        padding: var(--space-xl);
        margin-top: 0;
        justify-content: center;
        flex: 1;
    }
}


/* ============================================
   VALUE CARDS — glass effect
   ============================================ */

.value-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-xl);
    padding: var(--space-lg);
    transition: all var(--transition-base);
    text-align: center;
}

.value-card:hover {
    border-color: var(--accent);
    background: var(--accent-subtle);
    transform: translateY(-4px);
}

.value-card__icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-lg);
    background: var(--accent-subtle);
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-md);
}

.value-card__icon svg {
    width: 28px;
    height: 28px;
}

.value-card__title {
    font-family: var(--font-heading);
    font-size: var(--text-lg);
    font-weight: var(--fw-bold);
    color: white;
    margin-bottom: var(--space-xs);
}

.value-card__desc {
    font-size: var(--text-sm);
    color: var(--text-muted);
    line-height: var(--leading-normal);
}


/* ============================================
   BREADCRUMB
   ============================================ */

.breadcrumb {
    padding: var(--space-md) 0;
}

.breadcrumb__list {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--space-2xs);
    font-size: var(--text-sm);
    color: var(--text-muted);
}

.breadcrumb__link {
    color: var(--text-muted);
    transition: color var(--transition-fast);
}

.breadcrumb__link:hover {
    color: var(--accent);
}

.breadcrumb__current {
    color: var(--text-primary);
    font-weight: var(--fw-medium);
}


/* ============================================
   MATERIAL CARDS
   ============================================ */

.material-card {
    display: flex;
    align-items: flex-start;
    gap: var(--space-sm);
    padding: var(--space-md);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    transition: all var(--transition-fast);
    background: var(--bg-surface);
}

.material-card:hover {
    border-color: var(--accent);
    background: var(--accent-subtle);
}

.material-card__icon {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-md);
    background: var(--accent-subtle);
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.material-card__title {
    font-size: var(--text-base);
    font-weight: var(--fw-semibold);
    color: white;
    margin-bottom: var(--space-2xs);
}

.material-card__type {
    font-size: var(--text-xs);
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}


/* ============================================
   SHARE
   ============================================ */

.share {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.share__label {
    font-size: var(--text-sm);
    font-weight: var(--fw-semibold);
    color: var(--text-secondary);
}

.share__buttons {
    display: flex;
    gap: var(--space-xs);
}

.share__btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
    border: 1px solid var(--border-subtle);
}

.share__btn:hover {
    background: var(--accent);
    color: white;
    border-color: var(--accent);
}

.share__btn svg {
    width: 16px;
    height: 16px;
}


/* ============================================
   PARTNERS
   ============================================ */

.partners {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: var(--space-xl);
}

.partners__logo {
    height: 40px;
    width: auto;
    opacity: 1;
}

.partners__logo:hover {
    opacity: 0.8;
}

@media (min-width: 768px) {
    .partners__logo {
        height: 100px;
    }
}


/* ============================================
   FEATURED PODCAST — Home Section
   ============================================ */

.featured-podcast {
    background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
    padding: var(--space-3xl) 0;
}

.featured-podcast__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
    align-items: center;
}

@media (min-width: 992px) {
    .featured-podcast__grid {
        grid-template-columns: 0.8fr 1.2fr;
    }
}

.featured-podcast__content {
    animation: fadeIn var(--transition-slow);
}

.featured-podcast__tag {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    background: var(--accent-subtle);
    color: var(--accent);
    padding: var(--space-2xs) var(--space-sm);
    border-radius: var(--radius-full);
    font-size: var(--text-xs);
    font-weight: var(--fw-bold);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: var(--space-md);
}

.featured-podcast__title {
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.1;
    margin-bottom: var(--space-md);
}

.featured-podcast__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--space-md);
    margin-bottom: var(--space-lg);
    font-size: var(--text-sm);
    color: var(--text-muted);
}

.featured-podcast__meta span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.featured-podcast__desc {
    font-size: var(--text-md);
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: var(--space-xl);
    max-width: 600px;
}

/* Spotify Player wrapper in featured section */
.featured-podcast__player-wrap {
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-2xl);
    padding: 0;
    box-shadow: var(--shadow-xl);
    position: relative;
    overflow: hidden;
}

.featured-podcast__player-wrap::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(232, 54, 75, 0.05) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.featured-podcast__player {
    position: relative;
    z-index: 1;
}

.featured-podcast--controradio {
    background: linear-gradient(180deg, #08080d 0%, #15151f 100%);
    border-bottom: 1px solid var(--border-subtle);
}

.featured-podcast--controradio .featured-podcast__tag {
    background: rgba(255, 255, 255, 0.08);
    color: white;
    border: 1px solid var(--border-light);
}

.featured-podcast--controradio .featured-podcast__tag img {
    height: 18px;
    width: auto;
}

.featured-podcast__player-wrap--controradio {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
    padding: var(--space-sm);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02)),
        var(--bg-card);
}

.featured-controradio__cover {
    position: relative;
    display: block;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-radius: var(--radius-lg);
    background: var(--bg-elevated);
}

.featured-controradio__cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.featured-controradio__cover::after {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-card);
}

.featured-controradio__cover:hover img {
    transform: scale(1.04);
}

.featured-controradio__fallback {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    padding: var(--space-xl);
    background: linear-gradient(135deg, #1a0008 0%, var(--bg-elevated) 55%, #08080d 100%);
}

.featured-controradio__fallback img {
    width: min(70%, 260px);
    height: auto;
    object-fit: contain;
}

.featured-controradio__play {
    position: absolute;
    left: 50%;
    top: 50%;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    color: white;
    background: var(--accent);
    border-radius: 50%;
    box-shadow: var(--shadow-glow);
    transform: translate(-50%, -50%);
}

.featured-controradio__play svg {
    width: 28px;
    height: 28px;
    fill: currentColor;
    margin-left: 4px;
}

.featured-controradio__player {
    position: relative;
    z-index: 1;
}

.featured-controradio__player iframe,
.featured-controradio__player audio {
    display: block;
    width: 100%;
    border: 0;
    border-radius: var(--radius-md);
}

.section--controradio-row {
    padding-top: var(--space-2xl);
    background: var(--bg-secondary);
}

.voci-extra__single {
    max-width: 760px;
    margin: 0 auto;
}


/* ============================================
   QUOTE SECTION — Rossano Rossi
   ============================================ */

.quote-section {
    position: relative;
    padding: var(--space-4xl) 0;
    background: var(--bg-primary);
    overflow: hidden;
    text-align: center;
}

.quote-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 50%, rgba(232, 54, 75, 0.08) 0%, transparent 80%);
    pointer-events: none;
}

.quote-section__inner {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.quote-section__icon {
    color: var(--accent);
    opacity: 0.2;
    margin-bottom: var(--space-lg);
}

.quote-section__text {
    font-family: var(--font-heading);
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    font-weight: var(--fw-bold);
    line-height: 1.3;
    color: white;
    font-style: italic;
    margin-bottom: var(--space-xl);
    position: relative;
}

.quote-section__author {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-xs);
}

.quote-section__name {
    font-size: var(--text-lg);
    font-weight: var(--fw-bold);
    color: white;
}

.quote-section__role {
    font-size: var(--text-sm);
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: var(--fw-semibold);
}

.quote-section__divider {
    width: 60px;
    height: 4px;
    background: var(--accent);
    border-radius: var(--radius-full);
    margin: var(--space-lg) auto 0;
}

.site-footer {
    background: var(--bg-secondary);
    color: var(--text-muted);
    padding: var(--space-2xl) 0 var(--space-lg);
    border-top: 1px solid var(--border-subtle);
}

.footer__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-xl);
    margin-bottom: var(--space-2xl);
    text-align: center;
}

@media (min-width: 640px) {
    .footer__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 768px) {
    .footer__grid {
        grid-template-columns: 2fr 1fr 1fr;
        /* Adjusted for removed newsletter */
        text-align: left;
    }
}

.footer__brand {
    max-width: 300px;
    margin-inline: auto;
}

.footer__logo {
    height: 100px;
    margin-bottom: var(--space-md);
    margin-inline: auto;
}

.footer__desc {
    font-size: var(--text-sm);
    line-height: var(--leading-relaxed);
    color: var(--text-muted);
}

.footer__title {
    font-family: var(--font-heading);
    font-size: var(--text-xs);
    font-weight: var(--fw-bold);
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: var(--space-md);
}

.footer__links {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
}

.footer__link {
    font-size: var(--text-sm);
    color: var(--text-muted);
    transition: color var(--transition-fast);
}

.footer__link:hover {
    color: white;
}

.footer__newsletter {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
}

.footer__input {
    background: var(--bg-elevated);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 0.75rem 1rem;
    color: white;
    font-size: var(--text-sm);
    transition: border-color var(--transition-fast);
}

.footer__input::placeholder {
    color: var(--text-muted);
}

.footer__input:focus {
    outline: none;
    border-color: var(--accent);
}

.footer__social {
    display: flex;
    justify-content: center;
    gap: var(--space-sm);
    margin-top: var(--space-md);
}

.footer__social a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
    border: 1px solid var(--border-subtle);
}

.footer__social a:hover {
    background: var(--accent);
    color: white;
    border-color: var(--accent);
}

@media (min-width: 768px) {
    .footer__social {
        justify-content: flex-start;
    }

    .footer__brand {
        margin-inline: 0;
    }

    .footer__logo {
        margin-inline: 0;
    }
}

.footer__social svg {
    width: 16px;
    height: 16px;
}

.footer__bottom {
    border-top: 1px solid var(--border-subtle);
    padding-top: var(--space-lg);
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
    align-items: center;
    text-align: center;
}

.footer__copy {
    font-size: var(--text-xs);
    color: var(--text-muted);
}

.footer__legal {
    display: flex;
    gap: var(--space-md);
    font-size: var(--text-xs);
}

.footer__legal a {
    color: var(--text-muted);
    transition: color var(--transition-fast);
}

.footer__legal a:hover {
    color: white;
}

@media (min-width: 768px) {
    .footer__bottom {
        flex-direction: row;
        justify-content: space-between;
    }
}


/* ============================================
   FILTERS — Dark style
   ============================================ */

.filters {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
    padding: var(--space-md) 0;
    border-bottom: 1px solid var(--border-subtle);
    margin-bottom: var(--space-lg);
}

.filters__tags {
    display: flex;
    gap: var(--space-xs);
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: var(--space-2xs);
}

.filters__tags::-webkit-scrollbar {
    display: none;
}

.filters__search {
    position: relative;
}

.filters__search-input {
    width: 100%;
    padding: 0.75rem 1rem 0.75rem 2.5rem;
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-full);
    font-size: var(--text-sm);
    background: var(--bg-card);
    color: white;
    transition: border-color var(--transition-fast);
}

.filters__search-input:focus {
    outline: none;
    border-color: var(--accent);
}

.filters__search-input::placeholder {
    color: var(--text-muted);
}

.filters__search-icon {
    position: absolute;
    left: 0.875rem;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    color: var(--text-muted);
}

@media (min-width: 768px) {
    .filters {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }

    .filters__search {
        width: 280px;
        flex-shrink: 0;
    }
}


/* ============================================
   CTA BAND
   ============================================ */

.cta-band {
    position: relative;
    padding: var(--space-3xl) 0;
    overflow: hidden;
    background: var(--bg-card);
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
}

.cta-band::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
    pointer-events: none;
}

.cta-band__inner {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 600px;
    margin-inline: auto;
}


/* ============================================
   CONTACT FORM — Dark
   ============================================ */

.contact-form {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: var(--space-2xs);
}

.form-group label {
    font-size: var(--text-sm);
    font-weight: var(--fw-medium);
    color: var(--text-secondary);
}

.form-group input,
.form-group textarea,
.form-group select {
    padding: 0.875rem 1rem;
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    font-size: var(--text-base);
    color: white;
    transition: border-color var(--transition-fast);
    background: var(--bg-card);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-subtle);
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-muted);
}

@media (min-width: 640px) {
    .form-row {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-md);
    }
}

/* ============================================
   MISSION SECTION (IL PROGETTO)
   ============================================ */
.mission-pillars {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: var(--space-lg);
    margin-top: var(--space-2xl);
}

.pillar-item {
    background: var(--bg-surface);
    padding: var(--space-xl);
    border-radius: var(--radius-xl);
    border: 1px solid var(--border-subtle);
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.pillar-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 0;
    background: var(--accent);
    transition: height 0.4s ease;
}

.pillar-item:hover {
    transform: translateY(-5px);
    border-color: rgba(232, 54, 75, 0.3);
    box-shadow: var(--shadow-xl);
}

.pillar-item:hover::before {
    height: 100%;
}

.pillar-title {
    font-family: var(--font-heading);
    font-size: var(--text-2xl);
    margin-bottom: var(--space-sm);
    color: white;
}

.pillar-desc {
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

@media (max-width: 768px) {
    .pillar-item {
        padding: var(--space-lg);
    }
}

/* ============================================
   SWIPER CAROUSEL (Netflix-Style Bleed)
   ============================================ */
.row-carousel-wrap {
    position: relative;
    width: 100%;
    margin-top: var(--space-lg);
    overflow: hidden;
    /* Prevent horizontal scroll from being triggered by swiper slides outside viewport */
}

.row-swiper,
.recent-swiper {
    width: 100%;
    padding-bottom: var(--space-xl);
    overflow: visible;
    /* Allow hover scaling to be seen within parent clip */
    /* Initial padding for mobile */
    padding-left: var(--section-px) !important;
    padding-right: var(--section-px) !important;
}

@media (min-width: 1024px) {
    .row-swiper,
    .recent-swiper {
        /* Align first slide with site container */
        padding-left: calc((100vw - var(--container-max)) / 2 + var(--section-px)) !important;
        padding-right: var(--section-px) !important;
    }
}

.row-swiper .swiper-slide,
.recent-swiper .swiper-slide {
    height: auto;
    width: 75vw;
    /* Match original .scroll-row>* */
    max-width: 400px;
    transition: transform 0.4s var(--transition-spring);
    z-index: 1;
}

.row-swiper .swiper-slide:hover,
.recent-swiper .swiper-slide:hover {
    z-index: 10;
}

@media (min-width: 768px) {
    .row-swiper .swiper-slide,
    .recent-swiper .swiper-slide {
        width: 32vw;
        max-width: 420px;
    }
}

@media (min-width: 1200px) {
    .row-swiper .swiper-slide,
    .recent-swiper .swiper-slide {
        width: 24vw;
        max-width: 400px;
    }
}

/* Arrows Navigation - Adjusted positioning */
.swiper-nav {
    display: none;
}

@media (min-width: 1024px) {
    .swiper-nav {
        display: flex;
        gap: var(--space-xs);
        position: absolute;
        top: -75px;
        right: calc((100vw - var(--container-max)) / 2 + var(--section-px));
        z-index: 20;
    }
}

.swiper-nav__btn {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s var(--transition-base);
    cursor: pointer;
    box-shadow: var(--shadow-md);
}

.swiper-nav__btn:hover:not(.swiper-button-disabled) {
    background: var(--accent);
    border-color: var(--accent);
    transform: scale(1.1);
    box-shadow: var(--shadow-glow);
}

.swiper-nav__btn.swiper-button-disabled {
    opacity: 0.15;
    cursor: default;
    pointer-events: none;
}

.swiper-nav__btn svg {
    width: 24px;
    height: 24px;
}
