

/* Badge Verde */

/* ========================================
   CUSTOM FONTS
   ======================================== */
   @font-face {
    font-family: 'Erode';
    src: url('../fonts/Erode/Erode-Regular.otf') format('opentype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Erode';
    src: url('../fonts/Erode/Erode-Italic.otf') format('opentype');
    font-weight: 400;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Erode';
    src: url('../fonts/Erode/Erode-Medium.otf') format('opentype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Erode';
    src: url('../fonts/Erode/Erode-Semibold.otf') format('opentype');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Erode';
    src: url('../fonts/Erode/Erode-Bold.otf') format('opentype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* ========================================
   CSS VARIABLES
   ======================================== */
:root {
    /* Colors */
    --color-blue: #17253F;
    --color-beige: #F4F2EE;
    --color-lilla: #9DAAFB;
    --color-lilla-soft: #9DAAFB;
    --color-orange: #FFBD7E;
    --color-green: #C5E47C;
    --color-white: #FFFFFF;

    --color-orange-dark: #e49449;

    /* Typography */
    --font-heading: 'Erode', Georgia, serif;
    --font-body: 'Onest', system-ui, sans-serif;

    /* Spacing */
    --container-max-width: 1280px;
    --container-padding: 40px;

    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 24px;
    --radius-xl: 32px;
    --radius-full: 9999px;
}

/* ========================================
   RESET & BASE
   ======================================== */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--color-blue);
    background-color: var(--color-white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: auto;
}

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

ul {
    list-style: none;
}

bold {
    font-weight: 700;
}

/* ========================================
   UTILITIES
   ======================================== */
.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

/* ========================================
   BUTTONS
   ======================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-family: var(--font-body);
    font-weight: 500;
    border-radius: var(--radius-full);
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
}



.btn-cta {
    background-color: var(--color-orange);
    color: var(--color-blue);
    font-size: 1.0625rem;
    font-weight: 500;
    padding: 20px 36px;
    letter-spacing: -0.01em;
    border-radius: 12px;
    opacity: 1;
    gap: 10px;
    padding-top: 16px;
    padding-right: 32px;
    padding-bottom: 16px;
    padding-left: 32px;
}

.btn-cta:hover {
    background-color: var(--color-orange-dark);
}

.btn-cta svg {
    width: 22px;
    height: 22px;
    stroke-width: 1.5;
}


/* ========================================
   HEADER
   ======================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: var(--color-beige);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 15px 0;
/*    border-bottom: 1px solid rgba(23, 37, 63, 0.08);*/
    transition: padding 0.3s ease, background-color 0.3s ease;
}

.header.scrolled {
    padding: 10px 0;
    background-color: #f4f2eeab;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06);
}

.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo img {
    height: 54px;
    width: auto;
    transition: height 0.3s ease;
}

.header.scrolled .logo img {
    height: 40px;
}

.btn-header {
    padding: 10px 26px;
    transition: padding 0.3s ease, font-size 0.3s ease;
}

.header.scrolled .btn-header {
    padding: 8px 20px;
    font-size: 0.9rem;
}

.btn-orange:hover,
.btn-header:hover {
    background-color: var(--color-orange-dark);
}

/* ========================================
   HERO SECTION
   ======================================== */
.hero {
    background-color: var(--color-beige);
    padding: 80px 0 100px;
    padding-top: 120px;
    /* Compensates for fixed header */
    overflow: hidden;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 0;
    align-items: center;
    max-width: 1440px;
}

/* Hero Content - Left Side */
.hero-content {
    max-width: 540px;
}

.hero-image_mobile {
    display: none;
    margin-bottom: 40px;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 400;
    line-height: 1;
    color: var(--color-blue);
    margin-bottom: 32px;
    letter-spacing: -0.075rem;
}

.hero-title bold {
    font-weight: 700;
}

.hero-checklist {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 32px;
}

.hero-checklist li {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 1rem;
    color: var(--color-blue);
    line-height: 1;
}

.checkbox-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 21px;
    height: 21px;
    background-color: var(--color-blue);
    border-radius: 6px;
    flex-shrink: 0;
}

.checkbox-icon svg {
    width: 17px;
    height: 17px;
    color: var(--color-white);
}

.hero-description {
    font-size: 1.15rem;
    line-height: 1.4;
    color: var(--color-blue);
    margin-bottom: 32px;
    max-width: 480px;
}

.hero-note {
    margin: 20px auto;
    font-size: 0.9rem;
    color: var(--color-blue);
}

.hero-note strong {
    font-weight: 600;
}

/* Hero Visual - Right Side */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image-wrapper {
    position: relative;
    z-index: 2;
}

.hero-image-wrapper img {
    width: 100%;
    max-width: 750px;
    height: auto;
    display: block;
}

/* Decorazioni Lilla */
.hero-decoration {
    position: absolute;
    background-color: var(--color-lilla-soft);
    border-radius: 100px;
    z-index: 1;
}

.hero-decoration-top {
    width: 120px;
    height: 380px;
    top: -20px;
    left: 40px;
    transform: rotate(-15deg);
}

.hero-decoration-bottom {
    width: 100px;
    height: 200px;
    bottom: 20px;
    left: 20px;
    transform: rotate(15deg);
    border-radius: 60px;
}



/* Badge Verde */
.hero-badge {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 10px;
    background-color: #c5e47c;
    color: var(--color-blue);
    font-size: 0.95rem;
    letter-spacing: -0.03rem;
    padding: 11px 26px;
    border-radius: 12px;
    box-shadow: 1px 5px 11px 0px rgba(0, 0, 0, 0.1);
    width: fit-content;
    z-index: 3;
    bottom: -10px;
    right: -30px;
}

.hero-badge svg {
    width: 20px;
    height: 20px;
    color: var(--color-blue);
    flex-shrink: 0;
}

.hero-badge strong {
    font-weight: 700;
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 1100px) {
    .hero-title {
        font-size: 2.3rem;
    }

    .hero .container {
        gap: 40px;
    }

    .hero-decoration-top {
        width: 100px;
        height: 300px;
    }

    .hero-decoration-bottom {
        width: 80px;
        height: 160px;
    }
}

@media (max-width: 900px) {
    :root {
        --container-padding: 24px;
    }

    .hero {
        padding: 60px 0 80px;
    }

    .hero .container {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .hero-content {
        max-width: 100%;
        text-align: left;
    }

    .hero-title {
        font-size: 3rem;
    }

    .hero-visual {
        max-width: 500px;
        margin: 0 auto;
    }

    .hero-image-wrapper {
        display: none;
    }

    .hero-badge {
        position: relative;
        left: 0;
        font-size: 0.85rem;
        padding: 12px 18px;
    }
}

@media (max-width: 600px) {
    .header .container {
        flex-wrap: wrap;
        gap: 16px;
    }

    .hero-image_mobile {
        display: block;
        width: 90%;
    }

    .btn-header {
        padding: 12px 24px;
        font-size: 0.9rem;
    }

    .hero-title {
        font-size: 1.7rem;
    }

    .hero-title br {
        display: none;
    }

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

    .hero-decoration {
        display: none;
    }

    .hero-badge {
        display: none;
    }
 
}

/* ========================================
   SEZIONE: A CHI È RIVOLTO
   ======================================== */
.target-section {
    background-color: var(--color-beige);
    padding-bottom: 100px;
}

.target-section .container{
    max-width: 1900px;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-label {
    display: inline-block;
    color: var(--color-blue);
    margin-bottom: 20px;
    font-family: Onest;
    font-weight: 600;
    font-size: 16px;
    line-height: 140%;
    text-align: center;
    vertical-align: middle;
    text-transform: uppercase;
}

.section-title {
    font-family: var(--font-heading);
    color: var(--color-blue);
    font-weight: 500;
    font-size: 60px;
    line-height: 100%;
    letter-spacing: -0.14rem;
    text-align: center;
    max-width: 960px;
    margin: 0px auto 24px;
}

.section-title em {
    font-style: italic;
}

.section-subtitle {
    color: var(--color-blue);
    opacity: 0.8;
    font-family: Onest;
    font-weight: 400;
    font-size: 1.25rem;
    line-height: 140%;
    letter-spacing: -0.02rem;
    text-align: center;
    vertical-align: middle;
    max-width: 800px;
    margin: auto;
}

.container-card {
    background-color: #fff;
    padding: 60px;
    border-radius: 32px;
}

/* Target Cards Grid */
.target-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    align-items: start;
    align-items: stretch;
}
.target-card-image {
    width: 100%;
    object-fit: cover;
    border-radius: var(--radius-md);
    margin-bottom: 25px;
}
.target-card {
    background-color: var(--color-white);
    border-radius: var(--radius-lg);
    padding: 18px 24px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.06);
    height: auto;
}

.target-card-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--color-blue);
    letter-spacing: -0.04rem;
}

.target-card-subtitle {
    font-size: 0.9rem;
    color: var(--color-blue);
    opacity: 0.7;
    margin-bottom: 20px;
    line-height: 1.1rem;
}

.target-card-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.target-card-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 0.9rem;
    color: var(--color-blue);
    line-height: 1.2;
}

.target-card-list li::before {
    content: '';
    width: 8px;
    height: 8px;
    background-color: var(--color-orange);
    border-radius: 2px;
    flex-shrink: 0;
    margin-top: 6px;
}

/* Target Card Header (for accordion on mobile) */
.target-card-header {
    display: contents;
}

.target-card-header-text {
    display: contents;
}

.target-card-toggle {
    display: none;
}

/* ========================================
   SEZIONE: COME FUNZIONA
   ======================================== */
.steps-section {
    background-color: var(--color-beige);
    padding: 0px 0px 100px 0;
}

.steps-image {
    width: 100%;
    max-width: 1060px;
    margin: 0 auto;
    height: 560px;
    border-radius: var(--radius-lg);
    margin-bottom: 24px;
    object-fit: none;
    display: block;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: -90px;
}

.steps-grid.x3{
    grid-template-columns: repeat(3, 1fr);
}

.step-card.costo {
   /* grid-column: span 2; */
}

.step-card {
    background-color: #EBE7E0;
    border-radius: var(--radius-lg);
    padding: 30px 20px 21px;
    text-align: center;
    position: relative;
}
.step-card.costo{
    background-color: var(--color-green);
}
.step-card.costo .step-badge{
    background-color: var(--color-blue);
    color: var(--color-white);
}

.step-badge {
    display: inline-block;
    background-color: var(--color-green);
    color: var(--color-blue);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    padding: 6px 14px;
    border-radius: 6px;
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
}

.step-title {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 400;
    color: var(--color-blue);
    margin-top: 6px;
    margin-bottom: 27px;
    line-height: 100%;
    letter-spacing: -0.08rem;
    text-align: center;
    vertical-align: middle;
}

.step-description {
    font-size: 0.9rem;
    line-height: 1.3;
    color: var(--color-blue);
}

.step-card a span{
    display: none;
}
.step-card a{
    font-size: .9rem;
    padding: 10px 23px;
    margin: 20px 0 0px;
}
.step-card.costo .step-description span{
    text-transform: uppercase;
    font-size: .75rem;
    width: 100%;
    display: block;
}
.step-card.costo .step-description bold{
    font-weight: 700;
    margin: 0px 0 15px;
    display: block;
    font-size: 1.8rem;
    text-transform: uppercase;
}
/* ========================================
   SEZIONE: I NOSTRI SERVIZI
   ======================================== */
.services-section {
    background-color: var(--color-beige);
    padding-bottom: 100px;
    padding-top: 80px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.service-card {
    border-radius: var(--radius-xl);
    padding: 20px 20px 40px;
    text-align: center;
    -webkit-border-radius: 48px;
-webkit-border-bottom-right-radius: 80px;
-webkit-border-bottom-left-radius: 80px;
-moz-border-radius: 48px;
-moz-border-radius-bottomright: 80px;
-moz-border-radius-bottomleft: 80px;
border-radius: 48px;
border-bottom-right-radius: 80px;
border-bottom-left-radius: 80px;
}

.service-card-green {
    background-color: var(--color-green);
}

.service-card-orange {
    background-color: var(--color-orange);
}

.service-card-lilla {
    background-color: var(--color-lilla);
}

.service-image-wrapper {
    position: relative;
    margin-bottom: 28px;
    border-radius: var(--radius-lg);
    overflow: visible;
}

.service-image-wrapper>img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    border-radius: var(--radius-lg);
}

.service-ribbon {
    position: absolute;
    bottom: 80px;
    left: -2px;
    width: 102%;
    height: 40px;
    border-radius: 20px;
    z-index: 1;
}

.service-ribbon img {
    width: 100%;
}


.service-title {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 500;
    color: var(--color-blue);
    margin-bottom: 16px;
    letter-spacing: -0.05rem;
    line-height: 1;
}

.service-description {
    font-size: 1rem;
    line-height: 1.3;
    color: var(--color-blue);
}

/* Service Card Header (for accordion on mobile) */
.service-card-header {
    display: contents;
}

.service-card-toggle {
    display: none;
}

/* ========================================
   SEZIONE: COSA TRATTIAMO (AREE)
   ======================================== */
.areas-section {
    background-color: #fff;
    padding: 70px 0;
}

.areas-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
    align-items: stretch;
}

.areas-content {
    padding-top: 20px;
}

.section-header-left {
    text-align: left;
}

.section-title-left {
    text-align: left;
    margin-left: 0;
    margin-right: 0;
}

.section-subtitle-left {
    text-align: left;
    margin-left: 0;
    margin-right: 0;
    max-width: 100%;
}

.areas-tabs-wrapper {
    margin-bottom: 24px;
    margin-top: 40px;
}

.areas-tabs {
    display: inline-flex;
    background-color: #E8E4DD;
    border-radius: var(--radius-full);
    padding: 6px;
    gap: 4px;
}

.area-tab {
    padding: 12px 20px;
    border: none;
    background: transparent;
    border-radius: var(--radius-full);
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--color-blue);
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.area-tab:hover {
    background-color: rgba(23, 37, 63, 0.05);
}

.area-tab.active {
    background-color: rgba(23, 37, 63, 0.35);
    color: var(--color-white);
}

.area-tab.active::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0%;
    background-color: var(--color-blue);
    border-radius: var(--radius-full);
    z-index: -1;
    animation: tabProgress var(--tab-progress-duration, 5000ms) linear forwards;
}

.areas-tabs.paused .area-tab.active::before {
    animation: none;
    width: 100%;
}

@keyframes tabProgress {
    from { width: 0%; }
    to { width: 100%; }
}

.areas-chips-container {
    margin-top: 24px;
}

.areas-chips {
    display: none;
    flex-wrap: wrap;
    gap: 12px;
            min-height: 180px;
}

.areas-chips.active {
    display: flex;
    align-content: flex-start;
}

.area-chip {
    display: inline-block;
    padding: 12px 20px;
    background-color: transparent;
    border: 1.5px solid rgb(23 37 63 / 25%);
    border-radius: 12px;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--color-blue);
    transition: all 0.2s ease;
}

.area-chip:hover {
    border-color: var(--color-blue);
    background-color: var(--color-white);
}

/* Areas Images */
.areas-image-wrapper {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    min-height: 500px;
}

.areas-image {
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius-xl);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.areas-image.active {
    opacity: 1;
}

/* ========================================
   SEZIONE: PERCHÉ SCEGLIERE HEYUP
   ======================================== */
.why-section {
    background-color: var(--color-blue);
    padding: 100px 0 140px;
    position: relative;
    overflow: hidden;
}

.why-decoration {
    position: absolute;
    z-index: 0;
    height: 100%;
    top: 0;
}

.why-decoration img {
    height: 100%;
    display: block;
    margin: auto;
}

.why-decoration-left {
    left: -50px;
}

.why-decoration-right {
    right: -60px;
}

.why-section .container {
    position: relative;
    z-index: 1;
}

.section-header-light {
    text-align: center;
}

.section-label-light {
    color: rgba(255, 255, 255, 1);
}

.section-title-light {
    color: var(--color-white);
    opacity: 1;
}

.section-title-light em {
    color: var(--color-white);
}

.section-subtitle-light {
    color: rgba(255, 255, 255, 1);
    opacity: 1;
}

.why-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 60px;
}

.why-card {
    background-color: var(--color-white);
    border-radius: var(--radius-lg);
    padding: 32px 28px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 280px;
}

.why-card-title {
    font-family: var(--font-heading);
    font-size: 1.9rem;
    font-weight: 500;
    color: var(--color-blue);
    margin-bottom: auto;
    letter-spacing: -0.04rem;
    vertical-align: middle;
    line-height: 0.9;
}

.why-card-description {
    font-size: 0.9rem;
    color: var(--color-blue);
    margin-top: 24px;
    line-height: 140%;
    letter-spacing: -.02rem;
    vertical-align: middle;
}

/* ========================================
   SEZIONE: TEAM / EQUIPE
   ======================================== */
.team-section {
    background-color: var(--color-beige);
    padding: 0 0 100px;
    text-align: center;
}

.team-title {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 500;
    color: var(--color-blue);
    margin-bottom: 20px;
}

.team-subtitle {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--color-blue);
    opacity: 0.8;
    margin-bottom: 50px;
}

.team-illustration {
    position: relative;
    max-width: 700px;
    margin: 0 auto 60px;
}

.team-illustration img {
    width: 100%;
    height: auto;
    max-width: 661px;
    margin: 20px auto 0;
}

.team-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background-color: var(--color-orange);
    color: var(--color-blue);
    font-size: 0.95rem;
    font-weight: 600;
    padding: 10px 12px;
    border-radius: 12px;
    white-space: nowrap;
    letter-spacing: -0.02rem;
    margin: -20px;
}

.team-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.team-feature {
    background-color: #EBE7E0;
    border-radius: var(--radius-lg);
    padding: 40px 28px;
    text-align: center;
}

.team-feature-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 20px;
    color: var(--color-blue);
}

.team-feature-icon svg {
    width: 100%;
    height: 100%;
}

.team-feature-title {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 500;
    color: var(--color-blue);
    margin-bottom: 10px;
    letter-spacing: -0.04rem;
    line-height: 2rem;
}

.team-feature-description {
    font-size: 0.9rem;
    line-height: 1.3;
    color: var(--color-blue);
}

/* ========================================
   SEZIONE: STORIE VERE
   ======================================== */
.stories-section {
    padding: 100px 0;
    background-color: var(--color-beige);
}

.stories-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 24px;
    margin-top: 60px;
    padding-bottom: 16px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.stories-grid::-webkit-scrollbar {
    display: none;
}

.stories-grid .story-card {
    flex: 0 0 calc(33.333% - 16px);
    min-width: 300px;
    scroll-snap-align: start;
}

.stories-slider-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 60px;
}

.stories-slider-wrapper .stories-grid {
    margin-top: 0;
}

.stories-arrow {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 2px solid var(--color-blue);
    background-color: var(--color-white);
    color: var(--color-blue);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 2;
}

.stories-arrow:hover {
    background-color: var(--color-blue);
    color: var(--color-white);
}

.stories-arrow:hover svg {
    stroke: var(--color-white);
}

.stories-arrow svg {
    stroke: var(--color-blue);
    transition: stroke 0.3s ease;
}

.stories-arrow:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.story-card {
    background-color: var(--color-white);
    border-radius: var(--radius-lg);
    padding: 32px;
    display: flex;
    flex-direction: column;
    min-height: 300px;
}

.story-quote {
    color: var(--color-orange);
    margin-bottom: 20px;
}

.story-text {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 500;
    line-height: 1.1;
    color: var(--color-blue);
    flex-grow: 1;
    font-style: italic;
}

.story-text em {
    font-style: italic;
}

.story-author {
    font-size: 0.9rem;
    color: var(--color-blue);
    opacity: 0.7;
    margin-top: 24px;
}

/* ========================================
   SEZIONE: BLOG / ARTICOLI
   ======================================== */
.blog-section {
    background-color: var(--color-beige);
    padding: 100px 0;
}

.blog-title {
    margin-bottom: 60px;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-top: 20px;
}

.blog-card {
    background-color: var(--color-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.blog-image {
    position: relative;
    height: 240px;
    overflow: hidden;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-category {
    position: absolute;
    font-size: 0.6rem;
    font-weight: 500;
    letter-spacing: 0.02rem;
    text-transform: uppercase;
    padding: 6px 12px;
    border-top-left-radius: 24px;
    border-bottom-right-radius: 24px;
    padding-top: 8px;
    padding-right: 24px;
    padding-bottom: 8px;
    padding-left: 16px;
    background-color: var(--color-green);
    color: var(--color-blue);
    top: 0;
    left: 0;
}

.blog-content {
    padding: 24px;
}

.blog-date {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    color: var(--color-blue);
    opacity: 0.5;
}

.blog-card-title {
    font-family: var(--font-heading);
    font-size: 1.65rem;
    font-weight: 500;
    color: var(--color-blue);
    margin: 12px 0;
    line-height: 1;
    letter-spacing: -0.04rem;
}

.blog-excerpt {
    font-size: 0.9rem;
    line-height: 1.3;
    margin-bottom: 16px;
    color: #555555;
}

.blog-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    color: var(--color-blue);
    text-decoration: none;
    transition: gap 0.2s ease;
}

.blog-link:hover {
    gap: 12px;
}

/* ========================================
   SEZIONE: FAQ
   ======================================== */
.faq-section {
    background-color: var(--color-beige);
    padding: 100px 0 100px;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background-color: var(--color-white);
    border-radius: var(--radius-md);
    margin-bottom: 12px;
    overflow: hidden;
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 28px;
    background: none;
    border: none;
    font-family: var(--font-body);
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--color-blue);
    text-align: left;
    cursor: pointer;
}

.faq-icon {
    font-size: 1.5rem;
    font-weight: 300;
    color: var(--color-blue);
    opacity: 0.5;
}

.faq-answer {
    display: none;
    padding: 10px 28px 24px
}

.faq-item-open .faq-answer {
    display: block;
}

.faq-answer p {
    line-height: 1.5;
    color: var(--color-blue);
}


.btn-comincia{
    margin: 40px auto 10px;
}
/* ========================================
   SEZIONE: TRASPARENZA & RISERVATEZZA
   ======================================== */
.transparency-section {
    background-color: var(--color-blue);
    padding: 100px 0;
    text-align: center;
}

.transparency-title {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 400;
    color: var(--color-beige);
    margin-bottom: 20px;
}

.transparency-title em {
    font-style: italic;
}

.transparency-subtitle {
    font-size: 1.1rem;
    color: var(--color-white);
    opacity: 0.8;
    margin-bottom: 60px;
}

.transparency-features {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 60px;
    margin-top: 60px;
}

.transparency-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
}

.transparency-icon {
    width: 92px;
    height: 62px;
    margin: auto;
    margin-bottom: 12px;
    text-align: center;
}

.transparency-icon svg {
    width: 100%;
    height: 100%;
    stroke: var(--color-beige);
    stroke-width: 1.2;
}

.transparency-label {
    font-size: 0.7rem;
    font-weight: 400;
    letter-spacing: 0.02em;
    color: var(--color-white);
    margin-top: 20px;
}

.transparency-value {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--color-white);
}

.transparency-cta {
    margin-top: 20px;
}

.btn-orange {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background-color:  var(--color-orange);
    color: var(--color-blue);
    font-size: 1.0625rem;
    font-weight: 600;
    padding: 15px 32px;
    border-radius: 12px;
    text-decoration: none;
    letter-spacing: -0.01em;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}


.btn-orange svg {
    width: 22px;
    height: 22px;
    stroke-width: 1.75;
}

/* ========================================
   SEZIONE: CTA FINALE
   ======================================== */
.final-cta-section {
    background-color: var(--color-blue);
    padding: 100px 0 80px;
    text-align: center;
}

.final-cta-logo {
    width: 450px;
    height: auto;
    margin: 0 auto 40px;
    display: block;
}

.final-cta-title {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 400;
    color: var(--color-white);
    margin-bottom: 20px;
}

.final-cta-title em {
    font-style: italic;
}

.final-cta-subtitle {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 40px;
}

.btn-cta-large {
    margin-top: 50px;
}


.mobile_cta {
    text-align: center;
    background-color: var(--color-beige);
    background-image: url(../img/elements/mobile_cta_bg.png);
    background-position: left, center;
    background-size: 140px;
    background-repeat: no-repeat;
    padding: 8px 1rem;
    padding-bottom: max(8px, env(safe-area-inset-bottom));
    display: flex;
    gap: 20px;
    align-items: center;
    justify-content: flex-end;
    position: fixed;
    width: 100%;
    bottom: 0;
    left: 0;
    z-index: 100000;
    border: 0;
    justify-content: center;
    display: none;
    transition: transform 0.3s ease, opacity 0.3s ease;
    box-shadow: 0 0 14px #00000054;
    /* Fix per viewport dinamico mobile */
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

.mobile_cta.hidden {
    transform: translateY(100%);
    opacity: 0;
    pointer-events: none;
}

.mobile_cta img {
    width: 150px;
    height: auto;
}

.mobile_cta .btn-orange {
    padding: 11px 13px;
    width: auto;
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
    background-color: #131F34;
    padding: 24px 0;
}

.footer-text {
    text-align: center;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
}

/* ========================================
   RESPONSIVE - NUOVE SEZIONI
   ======================================== */
@media (max-width: 1100px) {
    .target-cards {
        grid-template-columns: repeat(2, 1fr);
    }

    .section-title {
        font-size: 2.5rem;
    }

    .steps-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px 24px;
    }

    .step-card.costo {
       /* grid-column: span 2; */
    }

    .step-card {
        margin-top: 14px;
    }

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

    .section-title-plain {
        font-size: 2.5rem;
    }
}

@media (max-width: 960px) {
    .target-section {
        padding: 0px 0 50px;
    }

    .services-section {
        padding: 40px 0 50px;
    }

    .areas-section {
        padding: 100px 20px;
    }

    .areas-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .areas-image-wrapper {
        min-height: 350px;
        order: -1;
    }

    .areas-tabs {
        flex-wrap: wrap;
        justify-content: flex-start;
        gap: 6px;
    }

    .area-tab {
        padding: 10px 16px;
        font-size: 0.85rem;
    }

    .transparency-features {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px 0px;
        max-width: 580px;
        margin: 60px auto 60px;
    }

    .transparency-title {
        font-size: 2.25rem;
    }

    .area-tab {
        gap: 5px;
        padding: 10px 15px;
        font-size: 0.7rem;
    }

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

    .faq-section {
        padding: 0 20px 100px;
    }

    .areas-tabs {
        width: 100%;
    }

}

@media (max-width: 600px) {
    .btn-comincia{
        margin: 10px auto 10px;
    }
    .header .container {
        justify-content: center;
    }
    .header {
        position: relative;
        background-color: var(--color-beige);
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        border-bottom: 0;
    }
    .mobile_cta{
        display: flex;
    }
    .hero {
        padding-top: 30px;
        padding-bottom: 0px;
    }

    .hero-title {
        font-size: 2.5rem;
        margin-top: -20px;
        line-height: 2.2rem;
    }

    .btn-header {
        display: none !important;
    }

    .hero-description {
        font-size: 1.1rem;
        line-height: 1.1;
    }

    .hero-visual {
        margin-top: -40px;
    }

    .target-cards {
        display: flex;
        flex-direction: column;
        gap: 0;
    }
    .target-card-image {
        display: none;
        width: 90%;
        margin: 0 auto 16px;
    }

    .target-card.target-card-open .target-card-image {
        display: block;
    }

    .target-card {
        background-color: var(--color-white);
        border-radius: 16px;
        padding: 0;
        box-shadow: none;
        margin-bottom: 8px;
        position: relative;
    }

    .target-card-header {
        display: flex;
        align-items: flex-start;
        justify-content: space-between;
        padding: 20px 24px;
        cursor: pointer;
    }

    .target-card-header-text {
        display: block;
        flex: 1;
    }

    .target-card-title {
        font-size: 1.5rem;
        margin-bottom: 4px;
    }

    .target-card-subtitle {
        font-size: 0.95rem;
        margin-bottom: 0;
        opacity: 1;
    }

    .target-card-toggle {
        display: block;
        font-size: 1.75rem;
        font-weight: 300;
        color: var(--color-blue);
        width: 32px;
        height: 29px;
        position: absolute;
        right: 9px;
        top: 13px;
    }

    .target-card-list {
        display: none;
        padding: 0 24px 20px;
        margin: 0 24px;
      
    }

    .target-card.target-card-open .target-card-list {
        display: flex;
    }

    .step-title {
        margin-top: 30px;
    }
    .section-header {
        margin-bottom: 30px;
    }

    .section-title {
        font-size: 2.3rem;
        letter-spacing: -0.08rem;
    }

    .section-title br {
        display: none;
    }

    .section-subtitle {
        font-size: 1rem;
    }

    .section-subtitle br {
        display: none;
    }

    .transparency-section {
        padding: 60px 0;
    }

    .transparency-features {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px 24px;
        margin: 40px auto 40px;
    }

    .transparency-title {
        font-size: 1.75rem;
    }

    .transparency-icon {
        width: 56px;
        height: 56px;
    }

    .transparency-value {
        font-size: 0.95rem;
    }

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

    /* Areas Section Mobile */
    .areas-section {
        padding: 50px 0;
    }

    .areas-layout {
        display: flex;
        flex-direction: column;
        gap: 0;
    }

    .areas-content {
        display: contents;
    }

    .section-header-left {
        text-align: center;
        order: 1;
    }

    .section-title-left {
        text-align: center;
    }

    .section-subtitle-left {
        text-align: center;
    }

    .areas-tabs-wrapper {
        order: 2;
        margin-top: 0px;
        margin-bottom: 20px;
        overflow-x: auto;
        margin-left: -20px;
        margin-right: -20px;
        padding-left: 20px;
        padding-right: 20px;
        scrollbar-width: none;
    }

    .areas-tabs-wrapper::-webkit-scrollbar {
        display: none;
    }

    .areas-tabs {
        flex-wrap: nowrap;
        width: max-content;
    }

    .area-tab {
        padding: 10px 18px;
        font-size: 0.9rem;
        flex-shrink: 0;
    }

    .areas-image-wrapper {
        display: none;
    }

    .areas-image {
        top: 0;
        border-radius: 16px;
    }

    .areas-chips-container {
        order: 4;
    }

    .areas-chips {
        justify-content: center;
        min-height: auto;
    }

    .area-chip {
        padding: 10px 16px;
        font-size: 0.9rem;
    }

    .steps-image {
        height: 260px;
        object-fit: cover;
    }

    .steps-section {
        padding: 0px 0 4px;
    }

    .steps-grid {
        grid-template-columns: 1fr;
        margin-top: 0;
    }

    .step-card.costo {
        grid-column: span 1;
    }

    .section-title-plain {
        font-size: 1.85rem;
    }

    .step-title br {
        display: none;
    }

    .container-card {
        padding: 20px;
    }

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

    .service-card {
        max-width: 400px;
        margin: 0 auto;
    }

    .areas-tabs-wrapper {
        margin-bottom: 13px;
    }

    .areas-tabs {
        flex-wrap: wrap;
        justify-content: center;
        border-radius: var(--radius-lg);
        gap: 10px;
        padding: 0;
        margin-bottom: 20px;
    }

    .areas-chips-container {
        margin-top: 0px;
    }

    .area-tab {
        padding: 13px 20px;
        font-size: 1rem;
        background-color: var(--color-beige);
    }

    .area-tab svg {
        width: 16px;
        height: 16px;
    }

    .areas-chips {
        gap: 5px;
    }

    .areas-chips.active {
        justify-content: flex-start;
    }

    .area-chip {
        font-size: 1rem;
        border-radius: 12px;
        padding: 8px;
        border-width: 1px;
        margin: 2px 3px;
    }

    .why-cards {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        gap: 12px;
        padding-bottom: 16px;
        margin-left: -20px;
        margin-right: -20px;
        padding-left: 20px;
        padding-right: 20px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .why-cards::-webkit-scrollbar {
        display: none;
    }

    .why-card {
        flex: 0 0 85%;
        max-width: 85%;
        scroll-snap-align: start;
        min-height: auto;
    }

    .why-decoration {
        width: 150px;
        height: 400px;
    }

    .areas-section,
    .why-section,
    .team-section,
    .stories-section,
    .blog-section,
    .final-cta-section {
        padding: 50px 0 60px;
    }

    .team-section{
        padding-top: 50px;
    }

    .blog-date {
        font-size: 0.58rem;
    }

    .blog-card-title {
        font-size: 1.35rem;
    }

    .blog-content {
        padding: 3px 20px 20px;
    }

    .faq-section {
        padding: 40px 0px 50px;
    }

    .faq-question {
        font-size: 1.2rem;
        padding: 17px 20px 13px;
    }

    .faq-answer p {
        line-height: 1.35;
    }

    .service-card {
        padding: 14px 14px 27px;
    }

    .service-image-wrapper>img {
        width: 100%;
        height: 200px;
    }

    .service-ribbon {
        display: none;
    }

    .service-title {
        font-size: 1.6rem;
    }

    .services-grid {
        display: flex;
        flex-direction: column;
        gap: 8px;
    }

    .service-card {
        background-color: var(--color-white);
        border-radius: 16px;
        padding: 0;
        max-width: 100%;
        margin: 0;
        position: relative;
    }

    .service-card-green {
        background-color: var(--color-green);
    }

    .service-card-orange {
        background-color: var(--color-orange);
    }

    .service-card-lilla {
        background-color: var(--color-lilla);
    }

    .service-image-wrapper {
        display: none;
        margin-bottom: 0;
        padding: 16px 16px;
    }

    .service-image-wrapper > img {
        height: 300px;
        border-radius: 12px;
    }

    .service-card.service-card-open .service-image-wrapper {
        display: block;
    }

    .service-card-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 20px 24px;
        cursor: pointer;
    }

    .service-title {
        font-size: 1.5rem;
        margin-bottom: 0;
    }

    .service-card-toggle {
        display: block;
        font-size: 1.75rem;
        font-weight: 300;
        color: var(--color-blue);
        width: 32px;
        height: 29px;
        position: absolute;
        right: 12px;
        top: 16px;
    }

    .service-description {
        display: none;
        padding: 0 24px 20px;
        font-size: 0.9rem;
        line-height: 1.3;
    }

    .service-card.service-card-open .service-description {
        display: block;
    }

    .areas-tabs{
        background-color: #fff;
    }

}

@media (max-width: 768px) {
    .why-cards {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        gap: 12px;
        padding-bottom: 16px;
        margin-left: -20px;
        margin-right: -20px;
        padding-left: 20px;
        padding-right: 20px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .why-cards::-webkit-scrollbar {
        display: none;
    }

    .why-card {
        flex: 0 0 85%;
        max-width: 85%;
        scroll-snap-align: start;
        min-height: auto;
    }

    .why-decoration {
        display: none;
    }

    .steps-grid {
        gap: 22px 24px;
    }
    .step-card {
        padding: 14px 22px 28px;
    }
    .team-features {
        grid-template-columns: 1fr;
    }
    .team-feature {
        padding: 20px 23px 20px;
    }
    .team-title {
        font-size: 2.25rem;
    }
    .team-feature-icon {
        width: 48px;
        height: 48px;
        margin: 10px auto 10px;
    }

    .stories-slider-wrapper {
        margin-top: 30px;
    }

    .stories-arrow {
        display: none;
    }

    .stories-grid {
        gap: 12px;
        margin-left: -20px;
        margin-right: -20px;
        padding-left: 20px;
        padding-right: 20px;
    }

    .stories-grid .story-card {
        flex: 0 0 85%;
        min-width: 260px;
    }

    .blog-grid {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        gap: 12px;
        padding-bottom: 16px;
        margin-left: -20px;
        margin-right: -20px;
        padding-left: 20px;
        padding-right: 20px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .blog-grid::-webkit-scrollbar {
        display: none;
    }

    .blog-card {
        flex: 0 0 85%;
        max-width: 85%;
        scroll-snap-align: start;
    }

    .blog-excerpt {
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .blog-title {
        font-size: 2rem;
    }

    .blog-title br {
        display: none;
    }

    .final-cta-title {
        font-size: 2rem;
    }

    .transparency-features {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px 24px;
    }

    .transparency-title {
        font-size: 2.25rem;
    }

    .transparency-icon {
        width: 56px;
        height: 56px;
    }

    .transparency-value {
        font-size: 0.95rem;
    }
}

/* ========================================
   JOB PAGE STYLES
   ======================================== */
.job-page {
    padding-bottom: 80px;
}

.job-hero {
    background-color: var(--color-beige);
    padding: 120px 0 40px;
}

.job-tag {
    display: inline-block;
    font-size: 0.85rem;
    color: var(--color-blue);
    opacity: 0.7;
    margin-bottom: 12px;
}

.job-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--color-blue);
    letter-spacing: -0.04rem;
    margin: 0;
}

.job-content {
    background-color: var(--color-white);
    padding: 60px 0;
}

.job-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 60px;
    align-items: start;
}

.job-main {
    max-width: 700px;
}

.job-intro {
    margin-bottom: 40px;
}

.job-intro p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--color-blue);
    margin-bottom: 16px;
}

.job-section {
    margin-bottom: 40px;
}

.job-section h2 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--color-blue);
    margin-bottom: 20px;
    letter-spacing: -0.02rem;
}

.job-benefits,
.job-requirements {
    list-style: none;
    padding: 0;
}

.job-benefits li,
.job-requirements li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 16px;
    font-size: 1rem;
    line-height: 1.6;
    color: var(--color-blue);
}

.job-benefits li::before,
.job-requirements li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 10px;
    height: 10px;
    background-color: var(--color-green);
    border-radius: 3px;
}

.job-requirements li::before {
    background-color: var(--color-orange);
}

.job-process {
    list-style: none;
    padding: 0;
}

.job-process li {
    display: flex;
    gap: 16px;
    margin-bottom: 20px;
    align-items: flex-start;
}

.process-step {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    min-width: 32px;
    background-color: var(--color-blue);
    color: var(--color-white);
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: 8px;
}

.job-process li div strong {
    display: block;
    color: var(--color-blue);
    margin-bottom: 4px;
}

.job-process li div p {
    margin: 0;
    font-size: 0.95rem;
    color: var(--color-blue);
    opacity: 0.7;
}

.job-cta-section {
    padding: 24px;
    background-color: var(--color-beige);
    border-radius: 12px;
    text-align: center;
}

.job-cta-section p {
    margin: 0;
    font-size: 1rem;
    color: var(--color-blue);
}

.job-cta-section a {
    color: var(--color-blue);
    font-weight: 600;
    text-decoration: underline;
}

/* Sidebar */
.job-sidebar {
    position: sticky;
    top: 100px;
}

.job-sidebar-card {
    background-color: var(--color-beige);
    border-radius: 16px;
    padding: 28px;
}

.job-sidebar-card h3 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-blue);
    margin: 0 0 20px;
}

.job-details {
    list-style: none;
    padding: 0;
    margin: 0 0 24px;
}

.job-details li {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid rgba(23, 37, 63, 0.1);
}

.job-details li:last-child {
    border-bottom: none;
}

.detail-label {
    font-size: 0.85rem;
    color: var(--color-blue);
    opacity: 0.6;
}

.detail-value {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--color-blue);
}

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

.job-footer {
    margin-bottom: 0;
}

/* Fixed Bottom CTA */
.fixed-bottom-cta {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--color-white);
    border-top: 1px solid rgba(23, 37, 63, 0.1);
    padding: 12px 0;
    z-index: 100;
    transform: translateY(100%);
    transition: transform 0.3s ease;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.08);
}

.fixed-bottom-cta.visible {
    transform: translateY(0);
}

.fixed-cta-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.fixed-cta-text {
    display: flex;
    flex-direction: column;
}

.fixed-cta-text strong {
    font-size: 0.95rem;
    color: var(--color-blue);
}

.fixed-cta-text span {
    font-size: 0.8rem;
    color: var(--color-blue);
    opacity: 0.6;
}

/* Drawer Overlay */
.drawer-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(23, 37, 63, 0.5);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.drawer-overlay.open {
    opacity: 1;
    visibility: visible;
}

/* Form Drawer */
.form-drawer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--color-white);
    z-index: 1001;
    max-height: 90vh;
    border-radius: 20px 20px 0 0;
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.32, 0.72, 0, 1);
    display: flex;
    flex-direction: column;
}

.form-drawer.open {
    transform: translateY(0);
}

.drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    border-bottom: 1px solid rgba(23, 37, 63, 0.1);
    flex-shrink: 0;
}

.drawer-header h2 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--color-blue);
    margin: 0;
}

.drawer-close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: var(--color-beige);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    color: var(--color-blue);
    transition: background-color 0.2s ease;
}

.drawer-close:hover {
    background-color: #E8E4DD;
}

.drawer-content {
    flex: 1;
    overflow-y: auto;
    padding: 24px;
    -webkit-overflow-scrolling: touch;
}

.drawer-content .form-section-block {
    margin-bottom: 20px;
    padding: 20px;
}

.drawer-content .form-section-title {
    font-size: 1.2rem;
}

.drawer-content .form-submit-wrapper {
    padding-top: 10px;
    padding-bottom: 20px;
}

/* ========================================
   CANDIDATURE PAGE STYLES (Legacy)
   ======================================== */
.candidature-hero {
    background-color: var(--color-beige);
    padding: 140px 0 60px;
}

.form-section {
    background-color: var(--color-beige);
    padding: 0 0 100px;
}

.candidature-form {
    max-width: 900px;
    margin: 0 auto;
}

.form-section-block {
    background-color: var(--color-white);
    border-radius: var(--radius-lg);
    padding: 28px;
    margin-bottom: 16px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.06);
}

.form-section-header {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 2px solid var(--color-beige);
}

.form-section-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    min-width: 40px;
    background-color: var(--color-blue);
    color: var(--color-white);
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 600;
    border-radius: 10px;
}

.form-section-number-bonus {
    background-color: var(--color-orange);
    color: var(--color-blue);
}

.form-section-number-bonus svg {
    stroke: var(--color-blue);
}

.form-section-title-wrap {
    flex: 1;
}

.form-section-title {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 500;
    color: var(--color-blue);
    margin-bottom: 2px;
    letter-spacing: -0.03rem;
}

.form-section-subtitle {
    font-size: 0.85rem;
    color: var(--color-blue);
    opacity: 0.6;
}

.form-section-bonus {
    background: linear-gradient(135deg, #FFF9F0 0%, #FFF 100%);
    border: 2px solid var(--color-orange);
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group-full {
    grid-column: span 2;
}

.form-group-conditional {
    background-color: var(--color-beige);
    padding: 14px;
    border-radius: 8px;
    border-left: 3px solid var(--color-orange);
    margin-top: -6px;
}

.form-group label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-blue);
    margin-bottom: 6px;
}

.form-help-text {
    font-size: 0.8rem;
    color: var(--color-blue);
    opacity: 0.6;
    margin-bottom: 8px;
    margin-top: -2px;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group select,
.form-group textarea {
    font-family: var(--font-body);
    font-size: 0.9rem;
    padding: 10px 14px;
    border: 1.5px solid #E8E4DD;
    border-radius: 8px;
    background-color: var(--color-white);
    color: var(--color-blue);
    transition: all 0.2s ease;
    outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--color-blue);
    box-shadow: 0 0 0 4px rgba(23, 37, 63, 0.08);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--color-blue);
    opacity: 0.4;
}

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%2317253F' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 16px;
    padding-right: 36px;
}

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

/* Radio buttons */
.radio-group {
    display: flex;
    gap: 20px;
}

.radio-label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: 0.9rem;
    color: var(--color-blue);
    position: relative;
}

.radio-label input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

.radio-custom {
    width: 18px;
    height: 18px;
    min-width: 18px;
    border: 1.5px solid #E8E4DD;
    border-radius: 50%;
    position: relative;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.radio-label input[type="radio"]:checked + .radio-custom {
    border-color: var(--color-blue);
}

.radio-label input[type="radio"]:focus + .radio-custom {
    box-shadow: 0 0 0 3px rgba(23, 37, 63, 0.15);
}

.radio-label input[type="radio"]:checked + .radio-custom::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
    background-color: var(--color-blue);
    border-radius: 50%;
}

/* Checkboxes */
.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    cursor: pointer;
    font-size: 0.85rem;
    color: var(--color-blue);
    line-height: 1.4;
    position: relative;
}

.checkbox-label input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

.checkbox-custom {
    width: 18px;
    height: 18px;
    min-width: 18px;
    border: 1.5px solid #E8E4DD;
    border-radius: 4px;
    position: relative;
    transition: all 0.2s ease;
    margin-top: 1px;
}

.checkbox-label input[type="checkbox"]:checked + .checkbox-custom {
    background-color: var(--color-blue);
    border-color: var(--color-blue);
}

.checkbox-label input[type="checkbox"]:focus + .checkbox-custom {
    box-shadow: 0 0 0 3px rgba(23, 37, 63, 0.15);
}

.checkbox-label input[type="checkbox"]:checked + .checkbox-custom::after {
    content: '';
    position: absolute;
    top: 3px;
    left: 6px;
    width: 4px;
    height: 8px;
    border: solid var(--color-white);
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

/* Availability Grid */
.availability-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 6px 12px;
    background-color: var(--color-beige);
    border-radius: 12px;
    padding: 16px;
}

.availability-column {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.availability-day {
    font-weight: 600;
    font-size: 0.75rem;
    color: var(--color-blue);
    text-align: center;
    padding-bottom: 8px;
    margin-bottom: 4px;
    border-bottom: 1px solid rgba(23, 37, 63, 0.15);
}

.availability-column .checkbox-label {
    font-size: 0.75rem;
    padding: 6px 4px;
    gap: 6px;
}

.availability-column .checkbox-custom {
    width: 16px;
    height: 16px;
    min-width: 16px;
    border-radius: 4px;
}

/* Consent checkboxes */
.consent-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.checkbox-consent {
    padding: 12px;
    background-color: var(--color-beige);
    border-radius: 8px;
}

.checkbox-consent a {
    color: var(--color-blue);
    text-decoration: underline;
    font-weight: 600;
}

.checkbox-consent a:hover {
    opacity: 0.7;
}

/* File Upload */
.file-upload-wrapper {
    position: relative;
}

.file-upload-wrapper input[type="file"] {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    opacity: 0;
    cursor: pointer;
    z-index: 2;
}

.file-upload-label {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 24px 16px;
    border: 1.5px dashed #E8E4DD;
    border-radius: 10px;
    background-color: var(--color-beige);
    text-align: center;
    transition: all 0.2s ease;
    cursor: pointer;
}

.file-upload-label:hover,
.file-upload-label.has-file {
    border-color: var(--color-blue);
    background-color: rgba(23, 37, 63, 0.03);
}

.file-upload-label svg {
    color: var(--color-blue);
    margin-bottom: 8px;
    width: 20px;
    height: 20px;
}

.file-upload-text {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--color-blue);
    margin-bottom: 2px;
}

.file-upload-hint {
    font-size: 0.8rem;
    color: var(--color-blue);
    opacity: 0.5;
}

.file-name {
    display: none;
    margin-top: 8px;
    padding: 8px 12px;
    background-color: var(--color-green);
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--color-blue);
}

/* Character Counter */
.char-counter {
    text-align: right;
    font-size: 0.75rem;
    color: var(--color-blue);
    opacity: 0.5;
    margin-top: 6px;
}

/* Submit Wrapper */
.form-submit-wrapper {
    text-align: center;
    padding-top: 16px;
}

.btn-submit {
    font-size: 1rem;
    padding: 14px 36px;
}

.form-submit-note {
    margin-top: 12px;
    font-size: 0.8rem;
    color: var(--color-blue);
    opacity: 0.5;
}

/* Responsive Form Styles */
@media (max-width: 900px) {
    .job-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .job-sidebar {
        position: static;
        order: -1;
    }
    
    .job-sidebar-card {
        display: flex;
        flex-wrap: wrap;
        gap: 20px;
        align-items: center;
    }
    
    .job-sidebar-card h3 {
        width: 100%;
        margin-bottom: 0;
    }
    
    .job-details {
        flex: 1;
        margin-bottom: 0;
    }
    
    .btn-sidebar-cta {
        width: auto;
    }
    
    .candidature-hero {
        padding: 120px 0 40px;
    }
    
    .form-section-block {
        padding: 24px 20px;
    }
    
    .availability-grid {
        grid-template-columns: repeat(3, 1fr);
        padding: 12px;
    }
}


.btn_qualita{
    margin-top: 60px;
}
.btn_qualita a{
    line-height: 1;
}

@media (max-width: 600px) {
    .section-label {
        margin-bottom: 0px;
    }
    .btn_qualita{
        padding: 0 20px;
        margin: 20px 0 0;
    }
    .btn_qualita a svg{
        display: none;
   }
    .job-page {
        padding-bottom: 70px;
    }
    
    .job-hero {
        padding: 100px 0 30px;
    }
    
    .job-title {
        font-size: 1.8rem;
    }
    
    .job-content {
        padding: 40px 0;
    }
    
    .job-intro p {
        font-size: 1rem;
    }
    
    .job-section h2 {
        font-size: 1.3rem;
    }
    
    .job-sidebar-card {
        flex-direction: column;
        align-items: stretch;
    }
    
    .btn-sidebar-cta {
        width: 100%;
    }
    
    .fixed-cta-text strong {
        font-size: 0.85rem;
    }
    
    .fixed-cta-text span {
        display: none;
    }
    
    .form-drawer {
        max-height: 95vh;
    }
    
    .drawer-content {
        padding: 16px;
    }
    
    .drawer-content .form-section-block {
        padding: 16px;
    }
    
    .drawer-content .availability-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .candidature-hero {
        padding: 40px 0 20px;
    }
    
    .form-section {
        padding-bottom: 40px;
    }
    
    .form-section-block {
        padding: 20px 16px;
        border-radius: 16px;
    }
    
    .form-section-header {
        flex-direction: column;
        gap: 12px;
        align-items: flex-start;
        margin-bottom: 18px;
        padding-bottom: 12px;
    }
    
    .form-section-number {
        width: 36px;
        height: 36px;
        min-width: 36px;
        font-size: 1.1rem;
    }
    
    .form-section-title {
        font-size: 1.25rem;
    }
    
    .form-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }
    
    .form-group-full {
        grid-column: span 1;
    }
    
    .form-group-conditional {
        padding: 12px;
    }
    
    .availability-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 4px 8px;
        padding: 10px;
    }
    
    .availability-day {
        font-size: 0.7rem;
        padding-bottom: 6px;
    }
    
    .availability-column .checkbox-label {
        font-size: 0.7rem;
        padding: 4px 2px;
    }
    
    .radio-group {
        flex-direction: column;
        gap: 8px;
    }
    
    .btn-submit {
        width: 100%;
        padding: 14px 24px;
    }
    
    .file-upload-label {
        padding: 20px 12px;
    }

    .team-illustration {
        margin: 0 auto 30px;
    }
}
/* ========================================
   FOOTER ENHANCEMENT - Multi-column layout
   ======================================== */
.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 60px 0 40px;
}

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: 2fr 1fr 1fr 1fr;
        gap: 60px;
    }
}

@media (min-width: 1024px) {
    .footer-grid {
        grid-template-columns: 2.5fr 1fr 1fr 1fr;
        gap: 80px;
    }
}

/* Footer Brand Column */
.footer-brand-column {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-logo {
    width: 120px;
    height: auto;
    margin: inherit;
}

.footer-tagline {
    font-size: 0.95rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.7);
    max-width: 280px;
}

/* Footer Columns */
.footer-column {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-title {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.95);
    margin: 0 0 8px 0;
    letter-spacing: -0.02rem;
}

.footer-menu {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
}

.footer-menu li {
    margin: 0;
}

.footer-menu a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s ease, padding-left 0.2s ease;
    display: inline-block;
}

.footer-menu a:hover {
    color: #fff;
    padding-left: 4px;
}

/* Footer Bottom */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 32px;
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

@media (min-width: 768px) {
    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-end;
        gap: 40px;
    }
}

.footer-company-info {
    flex: 1;
}

.footer-company-info p {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
    margin: 0 0 4px 0;
    line-height: 1.5;
}

.footer-company-info p strong {
    color: rgba(255, 255, 255, 0.7);
}

.footer-copyright {
    text-align: right;
}

@media (max-width: 767px) {
    .footer-copyright {
        text-align: center;
    }
}

.footer-copyright p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
    margin: 0;
}

/* Footer responsivo mobile */
@media (max-width: 767px) {
    .footer-grid {
        padding: 0px 0 10px;
        gap: 32px;
    }
    
    .footer-logo {
        width: 100px;
    }
    
    .footer-bottom {
        padding-top: 24px;
        margin-top: 10px;
    }
}
