/**
 * Gateway B2B — hero + griglia Phytomer (CTA a sinistra | vantaggi a destra)
 */
:root {
    --gate-blue: #2f6aa3;
    --gate-blue-deep: #184a78;
    --gate-navy: #0f2f4f;
    --gate-bg: #f3f6f9;
    --gate-white: #ffffff;
    --gate-text: #1b2a3a;
    --gate-muted: #5d6b79;
    --gate-shadow: 0 14px 36px rgba(16, 40, 67, 0.16);
    --gate-strip-bg: #e4edf5;
}

* {
    box-sizing: border-box;
}

.gate-body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: var(--gate-text);
    background: linear-gradient(180deg, #f8fafc 0%, #f2f5f8 100%);
    line-height: 1.5;
}

.gate-skip-link {
    position: absolute;
    left: -9999px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.gate-skip-link:focus {
    left: 16px;
    top: 16px;
    width: auto;
    height: auto;
    padding: 8px 16px;
    background: var(--gate-navy);
    color: #fff;
    z-index: 10000;
}

.gate-top {
    text-align: center;
    padding: 22px 16px 12px;
}

.gate-top-logo img {
    height: 44px;
    width: auto;
}

.gate-tagline {
    max-width: 800px;
    margin: 12px auto 0;
    font-size: 15px;
    line-height: 1.45;
    color: var(--gate-navy);
    font-weight: 500;
}

.gate-ab-switch {
    margin: 12px 0 0;
    font-size: 13px;
    color: var(--gate-muted);
}

.gate-ab-switch a {
    color: var(--gate-blue-deep);
    font-weight: 600;
    text-decoration: none;
    padding: 2px 6px;
    border-radius: 6px;
}

.gate-ab-switch a:hover {
    text-decoration: underline;
}

.gate-ab-switch a.is-active {
    background: rgba(47, 106, 163, 0.12);
    color: var(--gate-navy);
}

.gate-ab-label {
    margin-right: 6px;
}

.gate-ab-sep {
    margin: 0 4px;
    color: #cbd5e1;
}

/* Hero */
.gate-hero {
    max-width: 1160px;
    margin: 10px auto 0;
    padding: 0 16px;
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 0;
}

.gate-hero-copy {
    padding: 48px 44px;
    background: linear-gradient(135deg, var(--gate-blue) 0%, var(--gate-blue-deep) 100%);
    color: #fff;
    border-radius: 18px 0 0 18px;
    min-height: 400px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-shadow: var(--gate-shadow);
}

.gate-hero-copy h1 {
    font-size: clamp(1.85rem, 3.2vw, 2.65rem);
    font-weight: 700;
    line-height: 1.12;
    margin: 0 0 16px;
    letter-spacing: -0.025em;
}

.gate-hero-copy p {
    font-size: clamp(1.02rem, 1.5vw, 1.18rem);
    margin: 0;
    opacity: 0.96;
    max-width: 540px;
}

.gate-exclusive {
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    margin: 0 0 24px;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.28);
    font-size: 0.83rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    text-transform: none;
    line-height: 1;
}

.gate-hero-visual {
    min-height: 400px;
    background: #dce5ee;
    border-radius: 0 18px 18px 0;
    overflow: hidden;
    box-shadow: var(--gate-shadow);
}

.gate-hero-visual img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.gate-hero-carousel {
    position: relative;
    width: 100%;
    height: 100%;
}

.gate-hero-slide {
    opacity: 0;
    transition: opacity 0.7s ease;
}

.gate-hero-slide.is-active {
    opacity: 1;
}

/* Griglia Phytomer: colonna sinistra (CTA) | colonna destra (vantaggi) */
.gate-transition {
    padding: 28px 16px 40px;
}

.gate-phytomer-grid {
    max-width: 1160px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    gap: 28px;
    align-items: start;
}

.gate-col-left {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.gate-box {
    background: var(--gate-navy);
    color: #fff;
    border-radius: 14px;
    padding: 26px 26px 28px;
    box-shadow: 0 12px 32px rgba(12, 40, 66, 0.2);
}

.gate-box h2 {
    font-size: 1.35rem;
    font-weight: 700;
    margin: 0 0 12px;
    line-height: 1.25;
}

.gate-box p {
    margin: 0 0 20px;
    font-size: 1rem;
    line-height: 1.55;
    opacity: 0.95;
}

.gate-quick-form {
    display: grid;
    gap: 10px;
}

.gate-form-label {
    font-size: 0.84rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
}

.gate-form-input {
    width: 100%;
    height: 46px;
    border-radius: 9px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    padding: 0 12px;
    font-size: 0.96rem;
}

.gate-form-input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.gate-form-input:focus {
    outline: none;
    border-color: #fff;
    background: rgba(255, 255, 255, 0.14);
}

.gate-form-select option {
    color: #1b2a3a;
}

.gate-btn-primary,
.gate-btn-outline,
.gate-strip-btn {
    display: inline-flex;
    width: 100%;
    justify-content: center;
    align-items: center;
    min-height: 52px;
    border-radius: 10px;
    font-size: 0.98rem;
    font-weight: 700;
    text-decoration: none;
    text-align: center;
    transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease;
    cursor: pointer;
}

.gate-btn-primary {
    background: #fff;
    color: var(--gate-navy);
    border: none;
}

.gate-btn-secondary {
    display: inline-flex;
    width: 100%;
    justify-content: center;
    align-items: center;
    min-height: 48px;
    border-radius: 10px;
    font-size: 0.95rem;
    font-weight: 700;
    text-decoration: none;
    text-align: center;
    background: transparent;
    color: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.45);
    transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.gate-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 255, 255, 0.75);
    color: #fff;
}

.gate-btn-main {
    margin-top: 6px;
}

.gate-btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.gate-btn-outline {
    background: #fff;
    color: var(--gate-navy);
    border: 2px solid var(--gate-navy);
}

.gate-btn-outline:hover {
    background: var(--gate-navy);
    color: #fff;
}

/* Colonna destra — vantaggi (titolo stile Phytomer) */
.gate-col-right {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 26px 24px 28px;
    box-shadow: 0 8px 24px rgba(15, 47, 79, 0.06);
}

.gate-benefits-heading {
    margin: 0 0 22px;
    font-size: 1.65rem;
    font-weight: 700;
    line-height: 1.2;
    color: var(--gate-blue-deep);
    letter-spacing: -0.02em;
}

.gate-benefits-em {
    font-family: Georgia, "Times New Roman", serif;
    font-style: italic;
    font-weight: 500;
    color: var(--gate-blue-deep);
    margin-right: 6px;
}

.gate-benefits-rest {
    font-weight: 700;
    color: var(--gate-blue);
}

.gate-benefits-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.gate-benefits-list li {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    padding: 0;
    border: none;
    background: transparent;
}

.gate-num {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--gate-blue);
    color: #fff;
    font-size: 0.95rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gate-num-icon {
    font-size: 0.85rem;
    background: var(--gate-navy);
}

.gate-benefits-list p {
    margin: 2px 0 0;
    font-size: 1.02rem;
    line-height: 1.45;
    color: #22364b;
}

.gate-benefits-urgent {
    margin-top: 6px;
    padding-top: 14px;
    border-top: 1px dashed #cbd5e1;
}

.gate-form-message {
    margin: 4px 0 0;
    min-height: 18px;
    font-size: 0.84rem;
    color: rgba(255, 255, 255, 0.9);
}

.gate-form-message.is-ok {
    color: #b6ffd2;
}

.gate-form-message.is-error {
    color: #ffd0d0;
}

.gate-note {
    max-width: 900px;
    margin: 22px auto 0;
    font-size: 0.84rem;
    color: var(--gate-muted);
    text-align: center;
    line-height: 1.45;
}

.gate-footer {
    text-align: center;
    padding: 22px 16px 28px;
    border-top: 1px solid #dee7f0;
    font-size: 0.86rem;
    color: var(--gate-muted);
    background: #fff;
}

.gate-footer a {
    color: var(--gate-blue-deep);
}

@media (max-width: 1024px) {
    .gate-phytomer-grid {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .gate-col-right {
        order: 2;
    }

    .gate-col-left {
        order: 1;
    }
}

@media (max-width: 980px) {
    .gate-hero {
        grid-template-columns: 1fr;
    }

    .gate-hero-copy {
        order: 2;
        border-radius: 0 0 16px 16px;
        min-height: auto;
        padding: 32px 24px 34px;
    }

    .gate-hero-visual {
        order: 1;
        border-radius: 16px 16px 0 0;
        min-height: 300px;
    }

    .gate-benefits-heading {
        font-size: 1.45rem;
    }
}

@media (max-width: 640px) {
    .gate-tagline {
        font-size: 14px;
    }

    .gate-hero-copy h1 {
        font-size: 1.65rem;
    }

    .gate-exclusive {
        font-size: 0.72rem;
        padding: 6px 10px;
        margin-bottom: 18px;
    }

    .gate-box h2 {
        font-size: 1.2rem;
    }

    .gate-form-input {
        height: 44px;
        font-size: 0.92rem;
    }
}

