/* RESET -------------------------------------------------------------- */
html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
font,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td {
    margin: 0;
    padding: 0;
    border: 0;
    outline: 0;
}

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

ol,
ul {
    list-style: none;
}

html {
    scroll-behavior: smooth;
}

/* BRAND TOKENS ------------------------------------------------------- */
/* OPSEED palette + typography */
:root {
    /* Colors */
    --primary: #145C9E;
    /* Endeavour */
    --accent: #0B4F6C;
    /* Dark Cerulean */
    --text: #3A4856;
    /* Rhino */
    --secondary: #CBB9A8;
    /* Grain Brown */
    --contrast: #EF3054;
    /* Amaranth */
    --bg: #FEFCF9;
    /* Floral White */

    --gradient: linear-gradient(to top right, var(--accent), var(--contrast));

    --accent-rgb: 11, 79, 108;
    --shadow-soft: 0 8px 32px rgba(var(--accent-rgb), 0.5);

    --radius-xl: 2rem;

    /* Type scale (fluid clamp) */
    --fs-base: 18px;
    --fs-h1: clamp(2rem, 3.6vw, 3.2rem);
    --fs-h2: clamp(1.6rem, 2.6vw, 2.4rem);
    --fs-h3: clamp(1.3rem, 1.8vw, 1.8rem);
    --fs-h4: clamp(1.125rem, 1.2vw, 1.8rem);
    --fs-h5: clamp(1rem, 0.8vw, 1.8rem);
    --fs-h6: clamp(0.875rem, 0.6vw, 1.8rem);

    /* Spacing */
    --space-1: .25rem;
    --space-2: .5rem;
    --space-3: .75rem;
    --space-4: 1rem;
    --space-5: 1.5rem;
    --space-6: 2rem;

    --header-h: 56px;
}

/* TYPOGRAPHY --------------------------------------------------------- */
body {
    font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
    font-size: var(--fs-base);
    line-height: 1.5;
    color: var(--text);
    background: var(--bg);
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    background-color: var(--bg);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: Poppins, Inter, system-ui, sans-serif;
    font-weight: 700;
    color: var(--text);
    line-height: 1.2;
}

h1 {
    font-size: var(--fs-h1);
}

h2 {
    font-size: var(--fs-h2);
}

h3 {
    font-size: var(--fs-h3);
}

h4 {
    font-size: var(--fs-h4);
}

h5 {
    font-size: var(--fs-h5);
}

h6 {
    font-size: var(--fs-h6);
}

/* LINKS -------------------------------------------------------------- */
a {
    color: inherit;
    text-decoration: none;
    transition: color .2s ease, opacity .2s ease;
}

a:hover {
    color: var(--contrast);
}

a:hover h4,
a:hover h6 {
    color: var(--contrast);
}

/* RESPONSIVE TYPE ---------------------------------------------------- */
@media (max-width: 960px) {
    body {
        font-size: 16px;
    }

    h1 {
        font-size: clamp(1.6rem, 6vw, 2rem);
    }

    h2 {
        font-size: clamp(1.3rem, 5vw, 1.6rem);
    }

    h3 {
        font-size: clamp(1.15rem, 4vw, 1.3rem);
    }

    h4 {
        font-size: clamp(1.05rem, 3vw, 1.3rem);
    }

    h5 {
        font-size: 1rem;
    }

    h6 {
        font-size: .8rem;
    }
}

/* VISIBILITY HELPERS ------------------------------------------------- */
p.mobile {
    display: none;
}

p.desktop {
    display: block;
}

@media (max-width: 1100px) {
    p.mobile {
        display: block;
    }

    p.desktop {
        display: none;
    }

    a:hover,
    a:hover h4,
    a:hover h6 {
        color: inherit !important;
    }
}

/* Ensure native [hidden] stays hidden across resets */
[hidden] {
    display: none !important;
}

/* BUTTONS ============================================================ */
/* Button base */
.button {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .6rem 2rem;
    border: 0;
    border-radius: var(--radius-xl);
    font-family: Poppins, Inter, system-ui, sans-serif;
    font-weight: 700;
    font-size: 16px;
    text-decoration: none;
    cursor: pointer;
    color: var(--bg);
    background: var(--accent);
    box-shadow: var(--shadow-soft);
    overflow: hidden;
    transition: color .6s ease-in-out, box-shadow .4s ease;
}

/* Base variants */
.bg-primary {
    background: var(--primary);
    color: var(--bg);
}

.bg-accent {
    background: var(--accent);
    color: var(--bg);
}

.bg-secondary {
    background: var(--secondary);
    color: var(--text);
}

.bg-contrast {
    background: var(--contrast);
    color: var(--bg);
}

/* Hover gradient */
.button:hover,
.bg-accent:hover {
    background: var(--gradient);
    color: var(--bg) !important;
    box-shadow: 0 8px 30px rgba(239, 48, 84, 0.45);
}

/* Arrow */
.button.with-arrow-right::after {
    content: '➜';
    margin-left: 0.5rem;
    font-size: 1.2rem;
    display: inline-block;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.button.with-arrow-right:hover::after {
    transform: translateX(5px) rotate(90deg);
}

@media (max-width: 960px) {
    .button.with-arrow-right::after {
        display: none;
    }
}

/* UTILITIES ---------------------------------------------------------- */
.text-primary {
    color: var(--primary) !important;
}

.text-accent {
    color: var(--accent) !important;
}

.text-contrast {
    color: var(--contrast) !important;
}

.bg-primary {
    background: var(--primary) !important;
    color: var(--bg);
}

.round-xl {
    border-radius: var(--radius-xl);
}

/* LAYOUT -------------------------------------------------------------- */
.container {
    width: 90vw;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 clamp(1rem, 4vw, 2rem);
}

/* HEADER =================================================================== */
/* Header shell */
.site-header {
    background: #fff;
    border-bottom: 1px solid var(--secondary);
}

/* Three zones: logo | nav | actions */
.header-bar {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: var(--space-6);
    min-height: 72px;
}

/* Logo */
.logo img {
    height: 34px;
    width: auto;
    display: block;
}

/* Centered nav */
.main-nav {
    display: flex;
    justify-content: center;
    gap: 2.5rem;
}

.main-nav a {
    font-family: Inter, system-ui, sans-serif;
    color: var(--text);
    padding: .25rem .25rem;
}

.header-bar a:hover {
    color: var(--contrast);
}

/* Right actions */
.head-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* RESPONSIVE */
@media (max-width: 960px) {
    .header-bar {
        gap: var(--space-4);
        min-height: 64px;
    }

    .main-nav {
        gap: 1.25rem;
    }

    .main-nav a {
        font-weight: 600;
    }

    .logo img {
        height: 30px;
    }
}

@media (max-width: 720px) {
    .main-nav {
        gap: .9rem;
    }

    .main-nav a {
        font-size: .95rem;
    }

    .actions {
        gap: .75rem;
    }
}

@media (max-width: 720px) {
    .main-nav {
        gap: .8rem;
    }

    .main-nav a {
        font-size: .95rem;
        font-weight: 600;
    }

    .logo img {
        height: 28px;
    }
}

/* Header sopra al pannello */
@media (max-width: 960px) {
    .site-header {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        height: var(--header-h);
        background: var(--bg, #FEFCF9);
        z-index: 1200;
        /* sopra al menu */
    }

    .header-bar {
        justify-content: space-between;
    }

    /* il contenuto non finisce sotto l'header */
    body {
        padding-top: var(--header-h);
    }
}

/* HERO =============================================================== */
.hero {
    padding: clamp(3rem, 6vw, 6rem) 0;
    background: var(--bg);
}

.hero-wrap {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    align-items: center;
    gap: clamp(1.5rem, 3vw, 3rem);
}

.hero-title {
    margin-bottom: var(--space-4);
}

.gradient-text {
    display: inline-block;
    background: linear-gradient(45deg, var(--primary), var(--contrast), var(--primary));
    background-size: 200% 200%;
    background-position: 0% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
    animation: gradientShift 3s ease-in-out infinite alternate;
}

@keyframes gradientShift {
    0% {
        background-position: 0% 100%;
    }

    100% {
        background-position: 100% 0%;
    }
}

.hero-lead {
    font-size: clamp(1rem, 1.4vw, 1.1rem);
    margin-bottom: var(--space-3);
    color: var(--text);
    font-family: "Inter", sans-serif;
}

.hero-bullets {
    display: grid;
    gap: .5rem;
    margin-bottom: var(--space-5);
}

.hero-icons {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: var(--space-4);
    margin-bottom: var(--space-6);
    margin-right: var(--space-6);
}

.hero-icon {
    display: grid;
    justify-items: center;
    text-align: center;
    gap: .5rem;
}

.hero-icon img {
    width: 64px;
    height: 64px;
    filter:
        drop-shadow(0 0 14px rgba(20, 92, 158, 0.25)) drop-shadow(0 0 28px rgba(11, 79, 108, 0.2));
}

.hero-icon span {
    font-family: Inter, system-ui, sans-serif;
    font-weight: 500;
    font-size: 0.95rem;
    line-height: 1.15;
    ;
    color: var(--text);
}

.hero-media {
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    background: linear-gradient(180deg, rgba(var(--accent-rgb), .08), transparent);
    border-radius: 40px;
    transform: scale(1.08);
}

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

.hero-bullets li::before {
    content: "→";
    margin-right: 0.5rem;
}

/* Responsive */
@media (max-width: 1100px) {
    .hero-media {
        border-radius: 27px;
    }
}

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

    .hero-media {
        order: -1;
        border-radius: 20px;
        transform: none;
    }

    .hero-icons {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .hero-title {
        text-align: center;
    }

    .hero-title .gradient-text {
        display: inline-block;
        text-align: center;
        width: 100%;
    }

    .hero-copy {
        text-align: center;
    }

    .hero-bullets li::before {
        content: "•";
        margin-right: 0.5rem;
    }

    .hero-bullets li {
        list-style: none;
    }

    .hero-bullets li::marker {
        content: "";
    }

    .hero-bullets li {
        text-indent: 0;
    }
}



/* RESULTS ============================================================ */
.results {
    position: relative;
    padding: clamp(3rem, 6vw, 3rem) 0;
    background:
        radial-gradient(1000px 600px at 15% 0%, rgba(var(--accent-rgb), .25), transparent 60%),
        radial-gradient(800px 500px at 85% 100%, rgba(239, 48, 84, .20), transparent 60%),
        var(--secondary);
    /* dark base */
    color: var(--bg);
}

.results-title {
    text-align: center;
    color: var(--bg);
    margin-bottom: clamp(1.5rem, 3vw, 2.5rem);
}

.results-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: clamp(1rem, 2.5vw, 1.5rem);
}

.result-card {
    background: var(--bg);
    color: var(--text);
    border-radius: 22px;
    padding: clamp(1.5rem, 3vw, 2rem);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.18);
    transition: all 0.45s ease-in-out;
    text-align: center;
    overflow: hidden;
    position: relative;
    isolation: isolate;
}

/* Hover: background gradient + bright text */
.result-card:hover {
    background: var(--gradient);
    transform: translateY(-6px);
    box-shadow: 0 14px 44px rgba(11, 79, 108, 0.4);
}

/* Keep icons and numbers visible */
.result-card:hover .metric,
.result-card:hover .label,
.result-card:hover .result-copy {
    color: var(--bg) !important;
}

.result-card:hover .result-icon {
    filter: drop-shadow(0 2px 10px rgba(255, 255, 255, 0.5));
    opacity: 0.95;
}

/* Icon left, number right */
.result-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: .75rem;
}

.result-card:hover .result-top {
    transform: scale(1.1);
}

.result-icon {
    width: 64px;
    height: 64px;
    transition: transform 0.4s ease, filter 0.4s ease;
    filter: drop-shadow(0 0 14px rgba(20, 92, 158, 0.45)) drop-shadow(0 0 24px rgba(11, 79, 108, 0.35));
}

.result-card:hover .result-icon {
    transform: scale(1.05);
    filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.7)) drop-shadow(0 0 32px rgba(255, 255, 255, 0.6));
}


.metric {
    font-family: Poppins, sans-serif;
    font-weight: 700;
    font-size: clamp(2rem, 3.6vw, 2.8rem);
    color: var(--primary);
    transition: color 0.4s ease;
}

.label {
    text-align: center;
    font-family: Poppins, Inter, system-ui, sans-serif;
    font-weight: 700;
    font-size: clamp(1rem, 1.6vw, 1.2rem);
    color: var(--text);
    margin: 0 0 1rem;
    letter-spacing: 0.5px;
    transition: color 0.4s ease;
    line-height: 1.05;
}

.result-copy {
    font-size: .98rem;
    color: var(--text);
    opacity: .9;
    transition: color 0.4s ease, opacity 0.4s ease;
}

.results-cta {
    text-align: center;
    margin-top: clamp(0.8rem, 2vw, 1.5rem);
    position: relative;
}

.results-note {
    font-family: Inter, system-ui;
    color: var(--bg);
}

.results-button {
    position: absolute;
    left: 50%;
    bottom: -1.3rem;
    transform: translateX(-50%);
    background: var(--accent);
    font-weight: 700;
    padding: 0.6rem 2rem;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-soft);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    text-decoration: none;
    z-index: 2;
}

.results-button:hover {
    transform: translateX(-50%) translateY(-3px);
    box-shadow: 0 8px 30px rgba(239, 48, 84, 0.45);
}


/* Responsive */
@media (max-width: 1100px) {
    .results-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

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

    .result-card {
        border-radius: 18px;
    }
}

@media (max-width: 720px) {
    .results .container {
        padding-bottom: 0rem;
        text-align: center;
    }

    .results-button {
        position: static;
        display: inline-block;
        transform: none;
        margin-top: 1rem;
        margin-bottom: 0;
    }
}

/* PRODUCT SECTION ==================================================== */
.product-section {
    background: var(--bg);
    padding: clamp(3rem, 6vw, 5rem) 0;
    border-bottom: var(--secondary) 1px solid;
}

.product-row {
    display: grid;
    grid-template-columns: 1fr 1fr auto;
    align-items: center;
    gap: var(--space-6);
    margin-bottom: clamp(2rem, 6vw, 5rem);
    position: relative;
}

.product-row:first-of-type {
    margin-right: 6rem;
}

.product-row.reverse {
    margin-left: 6rem;
    grid-template-columns: auto 1fr 1fr;
}

.product-image img {
    width: 100%;
    border-radius: 20px;
    box-shadow: var(--shadow-soft);
    object-fit: cover;
}

.product-text {
    font-family: Inter, sans-serif;
    color: var(--text);
}

.product-text h3 {
    margin-bottom: var(--space-3);
    color: var(--primary);
}

.product-text h2 {
    margin-bottom: 0;
    color: var(--primary);
}

.product-text p {
    font-size: 1rem;
    line-height: 1.6;
}

.vertical-title {
    writing-mode: vertical-rl;
    text-orientation: mixed;
    font-family: Poppins, sans-serif;
    font-weight: 700;
    letter-spacing: 3px;
    color: var(--primary);
    font-size: 2.2rem;
    line-height: 1;
    margin-right: 2rem;
    margin-left: 2rem;
}

.vertical-title.left {
    order: -1;
    text-align: right;
    transform: rotate(180deg);
}

.vertical-title.right {
    text-align: left;
}

.product-cta {
    text-align: center;
}

.product-cta .button {
    margin-bottom: 2rem;
    margin-top: 2rem;
}

/* Responsive */
@media (max-width: 960px) {

    .product-row,
    .product-row.reverse {
        grid-template-columns: 1fr;
        text-align: center;
        display: flex;
        flex-direction: column;
        text-align: center;
        align-items: center;
    }

    .product-row:first-of-type {
        margin-right: 0;
    }

    .product-row.reverse {
        margin-left: 0;
    }

    .vertical-title {
        writing-mode: horizontal-tb;
        font-size: 1rem;
        opacity: 1;
        font-size: clamp(2rem, 4vw, 3rem);
        font-weight: 700;
        line-height: 1;
        margin-bottom: 0rem;
        margin-top: 2rem;
    }

    .vertical-title.left,
    .vertical-title.right {
        order: -1;
        text-align: center;
    }

    .vertical-title.left {
        transform: rotate(0deg);
    }

    .product-image img {
        margin: 0 auto;
        max-width: 90%;
    }

    .product-row.reverse .product-image {
        order: 0;
    }

    .product-row.reverse .product-text {
        order: 1;
    }

    .product-cta .button {
        margin-bottom: 1rem;
    }
}

/* SUCCESS CASES ====================================================== */
.success {
    padding: clamp(3rem, 6vw, 5rem) 0;
    background:
        radial-gradient(1000px 600px at 15% 0%, rgba(var(--accent-rgb), .10), transparent 60%),
        radial-gradient(800px 500px at 85% 100%, rgba(239, 48, 84, .08), transparent 60%),
        var(--secondary);
}

.success .container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    grid-template-rows: auto 1fr;
    gap: clamp(1rem, 3vw, 2rem);
    align-items: stretch;
}


/* TESTIMONIAL ---------------------------------------------- */
.success-head {
    margin-bottom: clamp(1.5rem, 3vw, 2rem);
}

.success-title {
    color: var(--bg);
    margin-bottom: .25rem;
}

.success-sub {
    font-family: Inter, system-ui, sans-serif;
    font-style: italic;
    color: var(--bg);
}

.testi {
    display: grid;
    /* grid-template-columns: 1fr 1fr; */
    grid-template-columns: 1fr;
    gap: clamp(1rem, 2.5vw, 1.5rem);
}

.testi-card {
    background: var(--bg);
    border-radius: 22px;
    padding: clamp(1.5rem, 3vw, 2rem);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.18);
    transition: all 0.45s ease-in-out;
}

.stars {
    font-size: 1.6rem;
    letter-spacing: .15rem;
    color: var(--secondary);
    margin-bottom: .75rem;
}

.testi-text {
    line-height: 1.6;
    margin-bottom: .6rem;
}

.testi-sign {
    opacity: .85;
}

@media (max-width: 980px) {
    .success .container {
        display: grid;
        grid-template-columns: 1fr;
    }

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

/* SMAU --------------------------------------------------------------- */
.smau-block {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.smau-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    /* centra tutto orizzontalmente */
    text-align: center;
    height: 100%;
    background: var(--bg);
    color: var(--text);
    border-radius: 22px;
    padding: clamp(1.5rem, 3vw, 2rem);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.18);
    text-decoration: none;
    transition: all 0.45s ease-in-out;
    position: relative;
    isolation: isolate;
    cursor: pointer;
}

.smau-card h4 {
    margin-bottom: 2rem;
}

.smau-card:hover {
    background: var(--gradient);
    transform: translateY(-6px);
    box-shadow: 0 14px 44px rgba(11, 79, 108, 0.4);
    color: var(--bg);
}

.smau-card:hover h4,
.smau-card:hover p {
    color: var(--bg);
}

/* Badge SMAU */
.smau-badge-btn {
    background: var(--contrast);
    color: var(--bg);
    font-family: Poppins, sans-serif;
    font-weight: 700;
    font-size: .85rem;
    padding: .55rem 1.4rem;
    border-radius: 9999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    margin-bottom: .9rem;
    transition: background .3s ease, color .3s ease;
}

.smau-badge-btn:hover {
    background: var(--bg);
    color: var(--text);
}

.smau-card h4 {
    color: var(--primary);
    margin-bottom: .6rem;
    font-family: Poppins, sans-serif;
}

.smau-card p {
    margin-bottom: 1.2rem;
    line-height: 1.6;
    max-width: 42ch;
}

.smau-cta {
    text-align: center;
    font-family: Poppins, sans-serif;
    font-weight: 700;
    background: var(--accent);
    color: var(--bg);
    border-radius: var(--radius-xl);
    padding: .6rem 1.6rem;
    box-shadow: var(--shadow-soft);
    transition: background .4s ease, color .4s ease, transform .4s ease;
}

.smau-cta.with-arrow-right::after {
    content: '➜';
    margin-left: .5rem;
    font-size: 1.1rem;
    display: inline-block;
    transition: transform .35s ease;
}

.smau-cta.with-arrow-right:hover::after {
    transform: translateX(6px);
}

.smau-cta:hover,
.smau-badge-btn:hover,
.smau-card:hover .smau-cta,
.smau-card:hover .smau-badge-btn {
    background: var(--bg) !important;
    color: var(--text) !important;
}

/* Responsive */
@media (max-width: 980px) {
    .smau-card {
        align-items: center;
        text-align: center;
    }
}

/* EXECUTIVE BOARD ==================================================== */
.exec {
    padding: clamp(3rem, 6vw, 5rem) 0 0;
    background: var(--bg);
}

.exec-title {
    margin-bottom: clamp(1.25rem, 2.5vw, 1.75rem);
}

.exec p {
    margin-bottom: 2rem;
    ;
}

.exec-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(1rem, 2.5vw, 1.5rem);
}

.exec-card {
    background: #fff;
    border-radius: 22px;
    text-align: center;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.12);
    transition: transform .35s ease, box-shadow .35s ease;
    overflow: hidden;
}

.exec-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    /* pulsante sempre in fondo */
    text-align: center;
    color: inherit;
    text-decoration: none;
    padding: clamp(1.25rem, 2.2vw, 1.75rem);
    height: 100%;
    transition: transform .35s ease, box-shadow .35s ease;
}

.exec-link:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 44px rgba(11, 79, 108, 0.25);
}

.exec-photo {
    width: 132px;
    height: 132px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: var(--space-4);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
}

.exec-card h3 {
    margin-bottom: .25rem;
}

.exec-role {
    color: var(--text);
    opacity: .8;
    margin-bottom: .6rem;
}

.exec-bio {
    font-family: Inter, system-ui, sans-serif;
    color: var(--text);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.exec-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem; /* space between text and icon */
  }
  
  .exec-btn .exec-icon {
    width: 20px;
    height: 20px;
  }

@media (max-width: 1100px) {
    .exec-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

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

/* STRIP LOGOS ------------------------------------------------------ */
.exec-logos {
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    margin-top: clamp(2rem, 4vw, 3rem);
    padding: clamp(2rem, 4vw, 3rem) 0;
    background: var(--secondary);
    color: var(--bg);
    overflow: hidden;
}

.exec-logos-sub {
    text-align: center;
    font-family: Inter, system-ui, sans-serif;
    opacity: .95;
    margin-bottom: clamp(1rem, 2vw, 1.5rem);
}

.logos-row {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: clamp(1.5rem, 3vw, 2.5rem);
    filter: brightness(0) invert(1);
}

/* Companies */
.logos-row.top img {
    max-height: 60px;
    opacity: .9;
}

.logos-row.top img[alt*="Ducati"] {
    max-height: 100px;
}

.logos-row.top img[alt*="Philip Morris International"] {
    max-height: 80px;
}

/* University */
.logos-row.bottom {
    margin-top: clamp(2rem, 4vw, 3rem);
}

.logos-row.bottom img {
    max-height: 80px;
    opacity: .9;
}

/* Responsive */
@media (max-width: 720px) {
    .logos-row {
        gap: 1.5rem;
    }

    .logos-row.top img {
        max-height: 32px;
    }

    .logos-row.bottom img {
        max-height: 60px;
    }
}

/* CONTACT ------------------------------------------------------ */
.contact {
    text-align: center;
    background: var(--background, #FEFCF9);
    padding: 4rem 2rem;
}

.contact h2 {
    font-family: "Poppins", sans-serif;
    font-weight: 700;
    color: var(--text, #3A4856);
    margin-bottom: 0.5rem;
}

.contact p {
    font-family: "Inter", sans-serif;
    color: var(--text, #3A4856);
    margin-bottom: 2rem;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(320px, 460px));
    gap: 2rem;
    margin: 0 auto;
    justify-content: center;
}

/* Responsive */
@media (max-width: 740px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
}


.contact-card {
    background: #fff;
    border-radius: var(--radius-xl);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
    padding: 2rem;
    width: 100%;
    max-width: 460px;
}

.image-card {
    background: var(--primary, #145C9E);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.image-card img {
    width: 90%;
    height: auto;
}

.form-card {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: stretch;
}

.form-card .button {
    align-self: flex-end;
    width: auto;
    padding: .6rem 2rem;
}

.input-row {
    display: flex;
    gap: 1rem;
}

.input-row input,
textarea {
    width: 100%;
    padding: 0.9rem 1rem;
    border: 1px solid #ccc;
    border-radius: var(--radius-xl);
    font-family: "Inter", sans-serif;
    font-size: 0.95rem;
}

textarea {
    min-height: 120px;
    border-radius: var(--radius-xl);
    resize: vertical;
}


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

    .contact-card.image-card {
        display: none;
    }

    .input-row {
        flex-direction: column;
        gap: .75rem;
    }

    .input-row input {
        width: 100%;
    }

    .form-card textarea,
    .contact-grid textarea {
        min-height: 220px;
    }
}

/* FOOTER ------------------------------------------------------ */
.site-footer {
    background: var(--accent, #0B4F6C);
    color: var(--bg, #FEFCF9);
    padding: 2rem clamp(1rem, 4vw, 3rem);
    font-family: "Inter", sans-serif;
    font-size: 0.95rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    text-align: center;
    margin: 0 4rem;
}

.footer-left p {
    text-align: left;
    line-height: 1.5;
    opacity: 0.9;
}

.footer-center img {
    height: 80px;
    width: auto;
    display: block;
    margin: 0 auto;
}

/* .footer-claim {
    font-style: italic;
    font-family: "Inter", sans-serif;
    margin-top: 2rem;
} */

.footer-right {
    justify-self: end;
    align-items: flex-end;
    text-align: left;
    width: max-content;
    line-height: 32px;
}

.footer-link {
    display: grid;
    grid-template-columns: 24px auto;
    align-items: center;
    gap: 0.5rem;
}

.footer-link img {
    width: 24px;
    height: 24px;
    filter: brightness(0) invert(1);
    justify-self: end;
}

.footer-right {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-group.policies {
    grid-column: 2;
    align-items: flex-start;
    line-height: 1.2;
    margin-top: 0.25rem;
}

/* Mobile */
@media (max-width: 960px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .footer-left p,
    .footer-right {
        text-align: left;
        align-items: center;
    }

    .footer-left {
        justify-self: center;
    }

    .footer-right {
        justify-self: left;
        padding: 0 1rem;
    }

    .footer-link {
        grid-template-columns: 20px auto;
    }

    .footer-center {
        order: -1;
    }

    .footer-right {
        display: grid;
        grid-template-columns: 0.6fr 1.2fr;
        gap: 1rem 0.25rem;
        justify-items: center;
    }

    .footer-group {
        display: flex;
        flex-direction: column;
        gap: 0.25rem;
    }

    /* .footer-claim {
        margin-top: 1rem;
    } */
}

/* REDUCE MOTION IF PREFERRED */
@media (prefers-reduced-motion: reduce) {
    * {
        transition: none !important;
        animation: none !important;
    }
}

/* Desktop/Mobile visibility for <br> */
br.desktop-only {
    display: inline;
}

@media (max-width: 960px) {
    br.desktop-only {
        display: none;
    }
}

/* MOBILE MENU =============================================================== */
.hamburger {
    display: none;
    width: 40px;
    height: 40px;
    padding: 8px;
    border: none;
    background: transparent;
    box-shadow: none;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    line-height: 0;
}

.hamburger:hover {
    opacity: .85;
}

.hamburger:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px rgba(11, 79, 108, .25);
    border-radius: 12px;
}

.hamburger span {
    display: block;
    width: 32px;
    height: 2px;
    background: var(--text, #3A4856);
    border-radius: 1px;
    transition: transform .32s cubic-bezier(.22, .61, .36, 1),
        opacity .24s ease;
    transform-origin: 50% 50%;
    will-change: transform, opacity;
}

.hamburger span+span {
    margin-top: 6px;
}

.hamburger[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(10px) rotate(45deg);
}

.hamburger[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
}

.hamburger[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-10px) rotate(-45deg);
}


.mobile-menu[hidden] {
    display: none !important;
}

.mobile-menu {
    position: fixed;
    inset: 0;
    min-height: 100dvh;
    background: var(--bg, #FEFCF9);
    padding: clamp(24px, 6vw, 48px);
    display: grid;
    place-content: center;
    justify-items: center;
    gap: 32px;
    text-align: center;
    z-index: 1100;
}

.mobile-menu a {
    font-size: clamp(28px, 6vw, 40px);
    color: var(--text, #3A4856);
    text-decoration: none;
    line-height: 1.2;
}

.mobile-menu a.lang {
    margin-top: 80px;
}

body.menu-open {
    overflow: hidden;
}

@media (max-width: 960px) {
    .header-bar {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .main-nav {
        display: none;
    }

    .head-actions a {
        display: none;
    }

    .hamburger {
        display: inline-grid;
    }
}

.hamburger {
    border: none;
    background: transparent;
    box-shadow: none;
    position: relative;
    z-index: 1300;
}

/* SUCCESS MODAL ------------------------------------------------------ */
.op-modal-backdrop {
    position: fixed;
    inset: 0;
    z-index: 1400;
    display: grid;
    place-items: center;
    background: rgba(11, 79, 108, 0.22);
    backdrop-filter: blur(4px);
    animation: fadeIn .22s ease-out;
}

.op-modal {
    width: min(560px, 92vw);
    background: #fff;
    box-shadow: var(--shadow-soft);
    border-radius: var(--radius-xl);
    padding: 1.25rem 1.5rem 1.25rem 1.25rem;
    position: relative;
    animation: liftIn .24s ease-out;
}

.op-modal-head {
    display: grid;
    grid-template-columns: 56px 1fr;
    gap: .75rem;
    align-items: center;
    margin-bottom: .5rem;
}

.check-badge {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-family: Poppins, sans-serif;
    font-weight: 700;
    font-size: 1.6rem;
    color: var(--bg);
    background: var(--gradient);
    box-shadow: 0 8px 30px rgba(239, 48, 84, 0.35);
}

.op-modal-title {
    font-family: Poppins, sans-serif;
    font-weight: 700;
    color: var(--primary);
    font-size: clamp(1.25rem, 3vw, 1.6rem);
    line-height: 1.1;
}

.op-modal-body {
    margin-top: .75rem;
    font-family: Inter, system-ui, sans-serif;
    color: var(--text);
    line-height: 1.6;
}

.op-modal-close {
    position: absolute;
    top: .6rem;
    right: .6rem;
    width: 36px;
    height: 36px;
    border: none;
    border-radius: 12px;
    background: transparent;
    color: var(--text);
    font-size: 1rem;
    cursor: pointer;
    transition: background .2s ease, transform .12s ease;
}

.op-modal-close:hover {
    background: rgba(11, 79, 108, .08);
}

.op-modal-close:active {
    transform: scale(.98);
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0
    }

    to {
        opacity: 1
    }
}

@keyframes liftIn {
    from {
        transform: translateY(8px);
        opacity: .98
    }

    to {
        transform: none;
        opacity: 1
    }
}

@keyframes fadeOut {
    from {
        opacity: 1
    }

    to {
        opacity: 0
    }
}

@keyframes dropOut {
    from {
        transform: none;
        opacity: 1
    }

    to {
        transform: translateY(6px);
        opacity: .98
    }
}

.op-modal-backdrop.leave {
    animation: fadeOut .18s ease-out forwards;
}

.op-modal.leave {
    animation: dropOut .18s ease-out forwards;
}

@media (max-width: 560px) {
    .op-modal-head {
        grid-template-columns: 48px 1fr;
    }

    .check-badge {
        width: 48px;
        height: 48px;
        font-size: 1.3rem;
    }
}

/* COOKIE BANNER */
/* Reserve space when banner is visible */
body.cookie-banner-open {
    padding-bottom: var(--cookie-banner-h, 64px); /* fallback 64px */
  }

#cookie-banner {
    position: fixed;
    inset: auto 0 0 0;
    background: var(--accent);
    color: white;
    text-align: center;
    padding: 10px;
    font-family: Inter, sans-serif;
    font-size: 14px;
    z-index: 1000;
  }
  
  #cookie-banner a {
    color: var(--bg);
    text-decoration: underline;
  }
  
  #cookie-accept {
    margin-left: 10px;
    background: var(--bg);
    color: var(--accent);
    border: none;
    padding: 5px 10px;
    cursor: pointer;
    border-radius: var(--radius-xl);
  }
  
