/* EUROSTAR Premium Layer — homepage & global polish */

:root {
    --font-display: 'Inter', system-ui, sans-serif;
    --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
    --shadow-soft: 0 24px 80px rgba(0, 0, 0, 0.12);
    --line: rgba(255, 255, 255, 0.12);
}

body {
    -webkit-font-smoothing: antialiased;
}

/* ─── HERO ─── */
.hero-premium {
    position: relative;
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    align-items: center;
    background: #000;
    color: #fff;
    overflow: hidden;
    padding: 100px 0 60px;
}

.hero-premium .reveal {
    opacity: 1;
    transform: none;
    animation: heroEnter 1.1s var(--ease-out) backwards;
}

.hero-premium__content.reveal { animation-delay: 0.05s; }
.hero-premium__stats.reveal { animation-delay: 0.2s; }

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

.hero-premium__bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 60% at 70% 40%, rgba(255,255,255,0.07) 0%, transparent 55%),
        radial-gradient(ellipse 50% 40% at 10% 80%, rgba(255,255,255,0.04) 0%, transparent 50%),
        linear-gradient(180deg, #0a0a0a 0%, #000 100%);
}

.hero-premium__grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(var(--line) 1px, transparent 1px),
        linear-gradient(90deg, var(--line) 1px, transparent 1px);
    background-size: 80px 80px;
    mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, #000 20%, transparent 75%);
    opacity: 0.4;
    pointer-events: none;
}

.hero-premium__layout {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 48px;
    align-items: end;
    width: 100%;
}

.hero-premium__badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.55);
    margin-bottom: 28px;
}

.hero-premium__badge::before {
    content: '';
    width: 32px;
    height: 1px;
    background: rgba(255,255,255,0.4);
}

.hero-premium__title {
    font-size: clamp(2.75rem, 7vw, 5.5rem);
    font-weight: 200;
    line-height: 1.02;
    letter-spacing: -0.03em;
    margin-bottom: 8px;
}

.hero-premium__title-accent {
    display: block;
    font-weight: 600;
    background: linear-gradient(90deg, #fff 0%, rgba(255,255,255,0.75) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-premium__sub {
    font-size: clamp(1rem, 2vw, 1.25rem);
    font-weight: 300;
    color: rgba(255,255,255,0.7);
    margin-bottom: 12px;
    max-width: 520px;
}

.hero-premium__also {
    font-size: 13px;
    color: rgba(255,255,255,0.45);
    margin-bottom: 36px;
    max-width: 560px;
    line-height: 1.6;
}

.hero-premium__scope {
    font-size: clamp(0.95rem, 1.8vw, 1.1rem);
    font-weight: 400;
    color: rgba(255,255,255,0.78);
    margin-bottom: 14px;
    max-width: 620px;
    line-height: 1.65;
}

.hero-premium__search {
    display: flex;
    max-width: 560px;
    margin-bottom: 28px;
    box-shadow: var(--shadow-soft);
}

.hero-premium__search input {
    flex: 1;
    padding: 18px 20px;
    border: none;
    background: #fff;
    color: #000;
    font-size: 15px;
    min-width: 0;
}

.hero-premium__search input:focus {
    outline: 2px solid rgba(255,255,255,0.5);
    outline-offset: 2px;
}

.hero-premium__search .btn {
    padding: 18px 28px;
    background: #fff;
    color: #000;
    border: none;
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    white-space: nowrap;
}

.hero-premium__search .btn:hover {
    background: #e5e5e5;
}

.hero-premium__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.hero-premium__actions .btn--ghost {
    background: transparent;
    color: #fff;
    border: 1px solid rgba(255,255,255,0.35);
    padding: 14px 24px;
    font-size: 13px;
    font-weight: 500;
}

.hero-premium__actions .btn--ghost:hover {
    background: rgba(255,255,255,0.08);
    border-color: #fff;
}

.hero-premium__stats {
    display: flex;
    flex-direction: column;
    gap: 2px;
    border-left: 1px solid rgba(255,255,255,0.15);
    padding-left: 32px;
}

.hero-stat {
    padding: 24px 0;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.hero-stat:last-child {
    border-bottom: none;
}

.hero-stat__num {
    display: block;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 200;
    letter-spacing: -0.03em;
    line-height: 1;
    margin-bottom: 6px;
}

.hero-stat__label {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.45);
}

.hero-premium__scroll {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 10px;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.35);
    animation: heroPulse 2s ease-in-out infinite;
}

@keyframes heroPulse {
    0%, 100% { opacity: 0.35; transform: translateX(-50%) translateY(0); }
    50% { opacity: 0.7; transform: translateX(-50%) translateY(4px); }
}

/* ─── BRAND STRIP ─── */
.brand-strip {
    background: #fff;
    border-bottom: 1px solid #e5e5e5;
    padding: 28px 0;
}

.brand-strip__inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 28px 40px;
}

.brand-strip__item {
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.72;
    transition: opacity 0.25s, transform 0.25s var(--ease-out);
    filter: grayscale(100%);
}

.brand-strip__item:hover {
    opacity: 1;
    filter: none;
    transform: translateY(-2px);
}

.brand-strip__item--featured {
    opacity: 1;
    filter: none;
}

.brand-strip__item img {
    max-height: 48px;
    max-width: 120px;
    width: auto;
    height: auto;
    object-fit: contain;
}

.brand-strip__item span {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #333;
}

/* ─── MERCEDES PILLAR ─── */
.pillar {
    position: relative;
    padding: 100px 0;
    background: #f4f4f4;
    overflow: hidden;
}

.pillar__watermark {
    position: absolute;
    top: 50%;
    right: -5%;
    transform: translateY(-50%);
    font-size: clamp(6rem, 18vw, 14rem);
    font-weight: 800;
    letter-spacing: -0.04em;
    color: rgba(0,0,0,0.03);
    pointer-events: none;
    white-space: nowrap;
    user-select: none;
}

.pillar__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.pillar__eyebrow {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #767676;
    margin-bottom: 16px;
}

.pillar__title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 300;
    letter-spacing: -0.02em;
    line-height: 1.1;
    margin-bottom: 16px;
}

.pillar__intro {
    font-size: 15px;
    line-height: 1.7;
    color: #555;
    margin-bottom: 24px;
    max-width: 640px;
}

.pillar__cards {
    display: grid;
    gap: 16px;
}

.pillar-card {
    background: #fff;
    padding: 28px 32px;
    border-left: 3px solid #000;
    transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
}

.pillar-card:hover {
    transform: translateX(8px);
    box-shadow: var(--shadow-soft);
}

.pillar-card strong {
    display: block;
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 6px;
}

.pillar-card span {
    font-size: 14px;
    color: #767676;
    line-height: 1.55;
}

.pillar__aside {
    background: #000;
    color: #fff;
    padding: 40px;
}

.pillar__aside h3 {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.45);
    margin-bottom: 20px;
}

.pillar__brands {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.pillar__brand-pill {
    font-size: 12px;
    font-weight: 500;
    padding: 10px 16px;
    border: 1px solid rgba(255,255,255,0.2);
    color: rgba(255,255,255,0.9);
    transition: background 0.25s, border-color 0.25s;
}

.pillar__brand-pill:hover {
    background: rgba(255,255,255,0.08);
    border-color: rgba(255,255,255,0.5);
}

.pillar__brand-pill--lead {
    background: rgba(255,255,255,0.12);
    border-color: rgba(255,255,255,0.45);
    font-weight: 700;
}

.pillar__disclaimer {
    margin-top: 28px;
    font-size: 11px;
    color: #999;
    line-height: 1.5;
    max-width: 560px;
}

/* ─── BENTO CATEGORIES ─── */
.bento {
    padding: 88px 0;
    background: #fff;
}

.bento__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: minmax(120px, auto);
    gap: 12px;
}

.bento__card {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 24px;
    background: #f4f4f4;
    border: 1px solid transparent;
    min-height: 120px;
    transition: background 0.3s, border-color 0.3s, transform 0.3s var(--ease-out);
}

.bento__card:hover {
    background: #000;
    color: #fff;
    transform: translateY(-4px);
}

.bento__card span {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 4px;
}

.bento__card small {
    font-size: 12px;
    opacity: 0.6;
}

.bento__card--wide {
    grid-column: span 2;
}

.bento__card--tall {
    grid-row: span 2;
    min-height: 252px;
}

.bento__card--dark {
    background: #000;
    color: #fff;
}

.bento__card--dark:hover {
    background: #1a1a1a;
}

.bento__card--accent {
    background: linear-gradient(135deg, #1a1a1a 0%, #000 100%);
    color: #fff;
}

.bento__card--accent:hover {
    background: linear-gradient(135deg, #333 0%, #000 100%);
}

/* ─── EURAP CINEMATIC ─── */
.eurap-cine {
    position: relative;
    background: #000;
    color: #fff;
    overflow: hidden;
}

.eurap-cine__bg {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 30% 50%, rgba(227,6,19,0.25) 0%, transparent 55%);
}

.eurap-cine__inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 520px;
    align-items: center;
    gap: 48px;
    padding: 80px 0;
}

.eurap-cine__label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--color-eurap);
    margin-bottom: 16px;
}

.eurap-cine__title {
    font-size: clamp(4rem, 12vw, 8rem);
    font-weight: 800;
    letter-spacing: 0.06em;
    line-height: 0.95;
    margin-bottom: 16px;
    color: #fff;
}

.eurap-cine__tagline {
    font-size: 18px;
    font-style: italic;
    font-weight: 300;
    color: rgba(255,255,255,0.85);
    margin-bottom: 24px;
}

.eurap-cine__text {
    font-size: 15px;
    line-height: 1.75;
    color: rgba(255,255,255,0.6);
    margin-bottom: 32px;
    max-width: 440px;
}

.eurap-cine__visual {
    display: flex;
    align-items: center;
    justify-content: center;
}

.eurap-cine__visual img {
    max-height: 280px;
    max-width: min(100%, 420px);
    width: auto;
    filter: drop-shadow(0 40px 80px rgba(227,6,19,0.3));
}

.eurap-cine__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.eurap-cine__actions .btn--primary {
    background: var(--color-eurap);
    border-color: var(--color-eurap);
}

.eurap-cine__actions .btn--primary:hover {
    background: var(--color-eurap-dark);
    border-color: var(--color-eurap-dark);
}

/* ─── PARTNERS GRID ─── */
.partners-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 48px;
}

.partner-card {
    background: #fff;
    border: 1px solid #e5e5e5;
    padding: 32px 28px;
    display: flex;
    flex-direction: column;
    min-height: 100%;
    transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
}

.partner-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-soft);
}

.partner-card--brembo { border-top: 3px solid var(--color-eurap); }
.partner-card--teknorot { border-top: 3px solid var(--color-blue); }
.partner-card--bbr { border-top: 3px solid #000; }

.partner-card__logo {
    height: 36px;
    width: auto;
    margin-bottom: 20px;
    object-fit: contain;
    object-position: left;
}

.partner-card__role {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #767676;
    margin-bottom: 8px;
}

.partner-card__name {
    font-size: 1.35rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.partner-card__tagline {
    font-size: 14px;
    font-style: italic;
    color: #767676;
    margin-bottom: 16px;
}

.partner-card__desc {
    font-size: 14px;
    line-height: 1.65;
    color: #333;
    margin-bottom: 20px;
    flex: 1;
}

.partner-card__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.partner-card__tag {
    font-size: 11px;
    font-weight: 600;
    padding: 6px 10px;
    background: #f4f4f4;
    color: #333;
}

/* ─── BRAND LINES (replaces carousel) ─── */
.brand-lines {
    padding: 72px 0;
    background: #fafafa;
}

.brand-lines__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 12px;
}

.brand-line {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    background: #fff;
    border: 1px solid #e5e5e5;
    transition: border-color 0.25s, background 0.25s;
}

.brand-line:hover {
    border-color: #000;
    background: #000;
    color: #fff;
}

.brand-line__name {
    font-size: 15px;
    font-weight: 600;
}

.brand-line__cta {
    font-size: 12px;
    font-weight: 600;
    opacity: 0.5;
}

.brand-line:hover .brand-line__cta {
    opacity: 1;
}

/* ─── PROCESS PREMIUM ─── */
.process-premium {
    padding: 88px 0;
    background: #000;
    color: #fff;
}

.process-premium .section-title,
.process-premium .section-header__eyebrow {
    color: #fff;
}

.process-premium .section-header__eyebrow {
    opacity: 0.5;
}

.process-premium__steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2px;
    margin-top: 48px;
    background: rgba(255,255,255,0.1);
}

.process-premium__step {
    background: #000;
    padding: 40px 32px;
}

.process-premium__num {
    font-size: 3rem;
    font-weight: 200;
    color: rgba(255,255,255,0.15);
    line-height: 1;
    margin-bottom: 16px;
}

.process-premium__step h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 12px;
}

.process-premium__step p {
    font-size: 14px;
    line-height: 1.65;
    color: rgba(255,255,255,0.55);
}

/* ─── HEADER GLASS ─── */
.header.is-scrolled {
    background: rgba(0, 0, 0, 0.92);
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 0 rgba(255,255,255,0.06);
}

/* ─── REVEAL ANIMATION ─── */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ─── SECTION HEADERS PREMIUM ─── */
.section-header--premium {
    margin-bottom: 48px;
}

.section-header--premium .section-header__eyebrow {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #767676;
    margin-bottom: 12px;
}

.section-header--premium .section-title {
    font-weight: 300;
    font-size: clamp(2rem, 4vw, 2.75rem);
}

/* ─── RESPONSIVE ─── */
@media (max-width: 1024px) {
    .hero-premium__layout {
        grid-template-columns: 1fr;
    }

    .hero-premium__stats {
        flex-direction: row;
        flex-wrap: wrap;
        border-left: none;
        padding-left: 0;
        border-top: 1px solid rgba(255,255,255,0.1);
        padding-top: 24px;
        gap: 24px;
    }

    .hero-stat {
        border: none;
        padding: 0;
        flex: 1;
        min-width: 120px;
    }

    .pillar__grid,
    .eurap-cine__inner {
        grid-template-columns: 1fr;
    }

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

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

    .bento__card--wide {
        grid-column: span 2;
    }

    .process-premium__steps {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .bento__grid {
        grid-template-columns: 1fr;
    }

    .bento__card--wide,
    .bento__card--tall {
        grid-column: span 1;
        grid-row: span 1;
        min-height: 120px;
    }

    .hero-premium__search {
        flex-direction: column;
    }
}
