:root {
    --orange: #F3B141;
    --orange-dark: #d89020;
    --green: #2D7A4A;
    --green-soft: #E4F4E9;
    --black: #111111;
    --bg: #fff8ec;
    --text: #222222;
    --muted: #555555;
    --card-bg: #ffffff;
    --shadow: 0 20px 45px rgba(0, 0, 0, .18);
    --radius: 18px;
    --maxw: 1200px;
}

*,
*::before,
*::after {
    box-sizing: border-box
}

html {
    -webkit-text-size-adjust: 100%
}

body {
    margin: 0;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.5;
    text-rendering: optimizeLegibility;
}

a {
    color: inherit;
    text-decoration: none
}

.oranje-page {
    min-height: 100svh;
    display: flex;
    flex-direction: column
}

/* HEADER */
.site-header {
    background: #fff;
    border-bottom: 1px solid rgba(0, 0, 0, .06);
    padding: 24px;
    position: relative;
    z-index: 5;
}

.site-header-inner {
    max-width: var(--maxw);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.logo {
    display: inline-flex;
    align-items: center
}

.logo img {
    display: block;
    width: 180px;
    height: 60px;
    object-fit: contain;
}

.header-tagline {
    font-size: 1.4rem;
    color: var(--green);
    font-weight: 700;
    margin-right: 160px;
}

/* HERO */
.hero {
    position: relative;
    flex: 1;
    background-color: #1a1a1a;
    background-image:
        linear-gradient(to bottom right, rgba(0, 0, 0, .36), rgba(0, 0, 0, .15)),
        url("https://storage.googleapis.com/img_meltemi/OranjeJuice/caroteherobackground.avif");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: #fff;
}

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at top left, rgba(243, 177, 65, .40), transparent 55%),
        radial-gradient(circle at bottom right, rgba(45, 122, 74, .28), transparent 55%);
    mix-blend-mode: screen;
    pointer-events: none;
}

.hero-inner {
    position: relative;
    z-index: 1;
    max-width: var(--maxw);
    margin: 0 auto;
    padding: 24px 24px 72px;
    display: flex;
    gap: 42px;
    align-items: center;
}

.hero-left,
.hero-right {
    flex: 1;
    min-width: 0
}

/* LEFT COLUMN HERO */
.hero-title {
    font-size: clamp(2.2rem, 4vw, 3rem);
    line-height: 1.05;
    margin: -20px 0 16px;
    letter-spacing: -.04em;
}

.hero-title span {
    color: var(--orange);
    font-weight: 700
}

.hero-subtitle {
    font-size: 1.05rem;
    max-width: 34rem;
    color: rgba(255, 255, 255, .92);
    margin: 0 0 26px;
}

.hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 14px 22px;
    font-size: .9rem;
    color: rgba(255, 255, 255, .85);
}

.hero-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(0, 0, 0, .55);
    border: 1px solid rgba(255, 255, 255, .12);
    contain: paint;
}

.hero-pill-icon {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--green);
    box-shadow: 0 0 0 4px rgba(45, 122, 74, .35);
    flex: 0 0 auto;
}

.hero-pill--orange .hero-pill-icon {
    background: var(--orange);
    box-shadow: 0 0 0 4px rgba(243, 177, 65, .35);
}

/* CARD PARTNER AZIENDE BIO */
.partner-card {
    max-width: 495px;
    background: #fff;
    border-radius: 16px;
    padding: 20px;
    border-left: 3px solid var(--orange);
    margin: 30px 0 22px;
    font-size: .9rem;
    color: #000;
    contain: content;
}

.partner-card p {
    margin: 0
}

.partner-card-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 12px;
    padding: 6px 16px;
    border-radius: 12px;
    background: var(--orange);
    color: #111;
    font-size: .85rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    border: 2px solid transparent;
    cursor: pointer;
    box-shadow: none;
    transition: box-shadow .12s ease, border-color .12s ease;
}

.partner-card-btn:hover {
    border-color: #f39800;
    box-shadow: 0 4px 6px rgba(243, 177, 65, .18);
}

/* RIGHT COLUMN – FORM CARD */
.hero-right {
    min-height: 420px
}

.form-card {
    max-width: 420px;
    margin-left: auto;
    background: var(--card-bg);
    color: var(--text);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 24px 24px 26px;
    border-top: 3px solid var(--orange);
    margin-top: 50px;
    contain: content;
}

@supports (backdrop-filter: blur(6px)) {
    .form-card {
        backdrop-filter: blur(6px)
    }
}

.form-label {
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--green);
    margin: 0 0 6px;
}

.form-title {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--black);
    margin: 0 0 6px
}

.form-text {
    font-size: .95rem;
    color: var(--muted);
    margin: 0 0 16px
}

.form-row {
    margin-bottom: 12px
}

.form-row input[type="email"],
.form-row input[type="text"] {
    width: 100%;
    padding: 10px 14px;
    border-radius: 999px;
    border: 1px solid #ddd;
    font-size: .92rem;
    outline: none;
}

.form-row input[type="email"]:focus,
.form-row input[type="text"]:focus {
    border-color: var(--green);
    box-shadow: 0 0 0 2px rgba(45, 122, 74, .18);
}

.form-privacy {
    font-size: .78rem;
    color: #777;
    margin: 8px 0 16px
}

.form-privacy label {
    display: flex;
    align-items: flex-start;
    gap: 6px;
    cursor: pointer
}

.form-privacy input[type="checkbox"] {
    margin-top: 2px;
    flex-shrink: 0
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 9px 18px;
    border-radius: 999px;
    border: 2px solid transparent;
    background: var(--orange);
    color: #000;
    font-size: .9rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    cursor: pointer;
    box-shadow: none;
    transition: box-shadow .12s ease, border-color .12s ease;
    white-space: nowrap;
}

.btn-primary:hover {
    border-color: #f39800;
    box-shadow: 0 6px 6px rgba(243, 177, 65, .15);
}

/* SECTION DOPO HERO */
.launch-section {
    background: var(--bg);
    padding: 56px 24px 72px;
    content-visibility: auto;
    contain-intrinsic-size: 800px;
}

.launch-inner {
    max-width: var(--maxw);
    margin: 0 auto;
    display: flex;
    gap: 72px;
    align-items: flex-start;
}

.launch-left {
    flex: 1.2;
    min-width: 0
}

.launch-right {
    flex: 0 0 420px;
    display: flex;
    justify-content: flex-start;
    margin-right: 150px;
}

.launch-heading {
    font-size: 2.1rem;
    font-weight: 700;
    color: var(--black);
    margin: 0 0 4px
}

.launch-subheading {
    font-size: 1.1rem;
    color: var(--muted);
    margin: 0 0 26px
}

.launch-list {
    list-style: none;
    margin: 0;
    padding: 0
}

.launch-list li {
    margin-bottom: 16px;
    font-size: .98rem;
    color: var(--muted)
}

.launch-pill-wrapper {
    max-width: 460px
}

.launch-highlight-pill {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px 20px;
    border-radius: 999px;
    background: #c6f0d5;
    color: #075f3b;
    contain: paint;
}

.launch-bullet {
    width: 10px;
    height: 10px;
    margin-top: 6px;
    border-radius: 50%;
    background: var(--green);
    flex-shrink: 0;
}

.launch-bullet--big {
    width: 14px;
    height: 14px;
    margin-top: 18px;
    animation: pulse-bullet 1.4s ease-out infinite;
    will-change: transform, opacity;
}

@keyframes pulse-bullet {
    0% {
        transform: scale(1);
        opacity: 1;
        box-shadow: 0 0 0 0 rgba(45, 122, 74, .45)
    }

    60% {
        transform: scale(1.4);
        opacity: .7;
        box-shadow: 0 0 0 10px rgba(45, 122, 74, 0)
    }

    100% {
        transform: scale(1);
        opacity: 1;
        box-shadow: 0 0 0 0 rgba(45, 122, 74, 0)
    }
}

@media (prefers-reduced-motion: reduce) {
    .launch-bullet--big {
        animation: none
    }

    .btn-primary,
    .partner-card-btn {
        transition: none
    }
}

.launch-list .launch-line {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    max-width: 460px
}

.placeholder-box {
    width: 100%;
    max-width: 420px;
    height: 340px;
    border-radius: 16px;
    background: #c4c4c4;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 4px solid #f2b140;
}

.placeholder-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* FOOTER */
footer {
    margin-top: auto;
    text-align: center;
    color: #fff;
    font-size: 13px;
    padding: 20px 10px;
    background: rgba(0, 0, 0, .3);
}

footer a {
    color: #fff;
    text-decoration: none;
    margin: 0 6px
}

footer a:hover {
    text-decoration: underline
}

/* RESPONSIVE */
@media (max-width:960px) {
    .hero-inner {
        flex-direction: column;
        align-items: stretch;
        padding-top: 24px;
        padding-bottom: 48px
    }

    .hero-right {
        order: -1;
        min-height: 420px
    }

    .form-card {
        margin: 0 auto 18px;
        max-width: 100%
    }

    .hero-title {
        font-size: 2.1rem;
        margin-top: -12px
    }

    .launch-inner {
        flex-direction: column;
        gap: 32px;
        align-items: stretch;
        /* FIX: evita collasso larghezza */
    }

    .launch-right {
        width: 100%;
        /* FIX: forza piena larghezza */
        flex: 0 0 auto;
        justify-content: flex-start;
        margin-right: 0;
    }

    .placeholder-box {
        max-width: 100%;
        height: 270px
    }

    .header-tagline {
        margin-right: 0;
        font-size: 1.1rem
    }

    .launch-section {
        content-visibility: visible;
        contain-intrinsic-size: auto;
    }
}

@media (max-width:640px) {
    .site-header {
        padding-inline: 18px
    }

    .site-header-inner {
        gap: 12px;
        align-items: flex-start
    }

    .logo img {
        width: 144px;
        height: 48px
    }

    .header-tagline {
        margin-right: 0;
        font-size: 1rem;
        line-height: 1.2;
        text-align: right;
        max-width: 7.5rem;
    }

    .hero-inner {
        padding-inline: 18px
    }

    .hero-subtitle {
        font-size: .98rem
    }

    .btn-primary {
        width: 100%;
        justify-content: center
    }

    .launch-section {
        padding-inline: 18px
    }
}
