/* ===== RESET & BASE ===== */
* {
    font-family: 'Plus Jakarta Sans', sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* ===== UTILITY CLASSES ===== */
.hidden { 
    display: none; 
}

.cursor-pointer { 
    cursor: pointer; 
}

.calendly-inline-widget { 
    min-width: 320px; 
    height: 700px; 
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

/* ===== CSS VARIABLES ===== */
:root {
    --header-text: #212121;
    --white-text: #FEFEFE;
    --paragraph-text: #5C5C5C;
    --button: #FF904B;
    --button-hover: #FFAB77;
    --background-color-one: #FEFEFE;
    --background-color-two: #FAFAFA;
    --background-color-footer: #F3F3F3;
    --border-color: #E6E6E6;
    --shadow-color: rgba(190, 190, 190, 0.25);
}

/* ===== TYPOGRAPHY ===== */
h1 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    color: var(--header-text);
    margin-bottom: 1.5rem;
}

h2 {
    font-size: 2.25rem;
    font-weight: 700;
    line-height: 1.2;
    color: var(--header-text);
    margin-bottom: 1.5rem;
}

h3 {
    font-size: 1.25rem;
    font-weight: 600;
    line-height: 1.3;
    color: var(--header-text);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

p {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--paragraph-text);
    margin-bottom: 1rem;
}

li {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--paragraph-text);
    margin-bottom: 0.75rem;
}

a {
    text-decoration: none;
    color: var(--header-text);
    transition: color 0.3s ease;
}

a:hover {
    color: var(--paragraph-text);
}

span {
    color: var(--header-text);
}

img {
    border-radius: 16px;
}

/* ===== UTILITY CLASSES ===== */
.hidden { display: none; }
.visible { display: block; }
.cursor-pointer { cursor: pointer; }

/* ===== BUTTONS ===== */
button, .main__button, .chi-sono__button, .usps__button {
    background-color: var(--button);
    color: var(--header-text);
    padding: 0.875rem 2rem;
    font-weight: 600;
    font-size: 1rem;
    border-radius: 24px;
    border: none;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    margin-top: 1.5rem;
}

button:hover, .main__button:hover, .chi-sono__button:hover, .usps__button:hover {
    background-color: var(--button-hover);
    transform: translateY(-2px);
}

/* ===== LAYOUT ===== */
section {
    padding: 6rem 5rem;
}

/* ===== HEADER ===== */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 5rem;
    position: relative;
    z-index: 10;
    margin: 0;
    background-color: var(--white-text);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header__logo {
    display: flex;
    align-items: center;
}

.header__logo img {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    z-index: 20;
}

.hamburger-container {
    display: none;
    padding: 1.25rem;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1001;
    position: relative;
    border-radius: 8px;
    transition: background-color 0.2s ease;
}

.hamburger-container:hover {
    background-color: rgba(0, 0, 0, 0.05);
}

.hamburger-container img {
    width: 36px;
    height: 36px;
    border-radius: 0;
}

/* Hamburger icon states */
.hamburger-open {
    display: block !important;
}

.hamburger-close {
    display: none !important;
}

.hamburger-container.active .hamburger-open {
    display: none !important;
}

.hamburger-container.active .hamburger-close {
    display: block !important;
}

.nav__menu {
    padding: 0;
    margin-left: auto;
}

.nav__menu-list {
    display: flex;
    gap: 2.5rem;
    margin: 0;
}

.nav__menu-list li {
    margin: 0;
}

.nav__menu-list a {
    font-weight: 500;
    font-size: 1rem;
    color: var(--header-text);
}

.nav__menu-list a:hover {
    background-color: var(--background-color-two);
    color: var(--header-text);
}

/* ===== MAIN SECTION ===== */
.main__section {
    background-image: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url("Images/Hero-image.webp");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 4rem 5rem;
    position: relative;
    top: 0;
}

.main__content {
    max-width: 600px;
    padding-top: 0;
}

.main__title {
    color: var(--white-text);
    font-size: 3.5rem;
    margin-top: 0;
    margin-bottom: 1rem;
}

.main__subtitle {
    color: var(--white-text);
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.main__paragraph {
    color: var(--white-text);
    font-size: 1.125rem;
    line-height: 1.7;
    margin-bottom: 2rem;
    width: 470px;
}

.main__button {
    margin-top: 0;
}

/* ===== CHI SONO SECTION ===== */
.chi-sono__section {
    background-color: var(--background-color-one);
}

.chi-sono__container {
    display: flex;
    justify-content: space-between;
    gap: 4rem;
    align-items: flex-start;
}

.chi-sono__text {
    flex: 1;
    max-width: 400px;
}

.chi-sono__text p:last-child {
    margin-bottom: 2rem;
}

.chi-sono__credentials {
    flex: 1;
    max-width: 350px;
}

.chi-sono__list {
    margin-bottom: 2rem;
}

.chi-sono__list li {
    font-weight: 500;
    color: var(--header-text);
}

.chi-sono__logos {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.chi-sono__logos img {
    border: 1px solid var(--border-color);
    padding: 1rem;
    background-color: var(--background-color-one);
}

.chi-sono__image img {
    border-radius: 50%;
    object-fit: cover;
}

/* ===== SERVIZI SECTION ===== */
.servizi__section {
    background-color: var(--background-color-two);
}

.servizi__header {
    text-align: left;
    margin-bottom: 4rem;
    max-width: 600px;
    margin-left: 0;
    margin-right: auto;
}

.servizi__cards {
    display: flex;
    gap: 2rem;
    justify-content: center;
}

.servizi__card {
    background-color: var(--background-color-one);
    padding: 2.5rem 2rem;
    border: 1px solid #DFDFDF;
    border-radius: 16px;
    flex: 1;
    width: 100%;
    max-width: 350px;
    box-shadow: 0 8px 32px var(--shadow-color);
    transition: transform 0.3s ease;
}

.servizi__card:hover {
    transform: translateY(-4px);
}

.servizi__card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.servizi__card h3 img {
    width: 24px;
    height: 24px;
    border-radius: 4px;
    margin-top: 2px;
    flex-shrink: 0;
}

/* ===== USPS SECTION ===== */
.usps__section {
    background-color: var(--background-color-one);
}

.usps__container {
    display: flex;
    justify-content: space-between;
    gap: 4rem;
    align-items: flex-start;
}

.usps__content {
    flex: 1;
    max-width: 550px;
}

.usps__benefits {
    margin: 2rem 0 1rem 0;
}

.usps__benefit-row {
    display: flex;
    gap: 2rem;
    margin-bottom: 1.5rem;
}

.usps__benefit {
    flex: 1;
}

.usps__benefit h3 {
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.usps__benefit h3 img {
    width: 20px;
    height: 20px;
    border-radius: 4px;
    margin-top: 2px;
    flex-shrink: 0;
}

.usps__image {
    flex: 1;
    max-width: 400px;
}

.usps__image img {
    border-radius: 16px;
    object-fit: cover;
}

/* ===== CUSTOMER PERSONA SECTION ===== */
.customer-persona__section {
    background-color: var(--background-color-two);
}

.customer-persona__container {
    display: flex;
    justify-content: space-between;
    gap: 4rem;
    align-items: flex-start;
}

.customer-persona__image {
    flex: 1;
    max-width: 400px;
}

.customer-persona__image img {
    width: 278px;
    height: 417px;
    border-radius: 16px;
    object-fit: cover;
}

.customer-persona__content {
    flex: 1;
    max-width: 550px;
}

.customer-persona__points {
    margin-top: 2rem;
}

.customer-persona__point {
    margin-bottom: 2rem;
}

.customer-persona__point-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
}

.customer-persona__point-header img {
    width: 14px;
    height: 14px;
    border-radius: 4px;
    margin-top: 2px;
    flex-shrink: 0;
}

.customer-persona__point-header span {
    font-weight: 600;
    color: var(--header-text);
    line-height: 1.4;
}

.customer-persona__point p {
    margin-left: 0;
    margin-bottom: 0;
}

/* ===== PRENOTA CONSULENZA SECTION ===== */
.prenota-consulenza__section {
    background-color: var(--background-color-one);
}

.prenota-consulenza__container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.prenota-consulenza__content {
    padding-right: 2rem;
}

.prenota-consulenza__benefits {
    margin: 2rem 0;
}

.prenota-consulenza__benefits li {
    font-weight: 500;
    color: var(--header-text);
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.prenota-consulenza__benefits img {
    width: 14px;
    height: 14px;
    border-radius: 4px;
    margin-right: 0;
    flex-shrink: 0;
}

.booking-form-placeholder {
    border-radius: 16px;
    padding: 0;
    text-align: center;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--paragraph-text);
    margin-top: 0;
    position: sticky;
    top: 2rem;
    display: flex;
    justify-content: center;
}

.calendly-inline-widget {
    width: 100% !important;
    max-width: 500px !important;
    height: 600px !important;
    border-radius: 12px !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1) !important;
    background: white !important;
}

/* ===== BACK TO TOP ===== */
.back-to-top {
    display: none;
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 48px;
    height: 48px;
    border: none;
    background: var(--white-text);
    color: var(--header-text);
    border-radius: 50%;
    cursor: pointer;
    z-index: 1000;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    padding: 0;
}

.back-to-top.visible {
    display: flex !important;
}

.back-to-top:hover {
    background-color: #f0f0f0;
    transform: translate(0, -2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

.back-to-top img {
    width: 24px;
    height: 24px;
    color: var(--header-text);
}

/* ===== FOOTER ===== */
.footer {
    background-color: var(--background-color-footer);
    padding: 3rem 5rem 2rem;
}

.footer__main {
    display: flex;
    justify-content: space-between;
    gap: 4rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #DFDFDF;
    margin-bottom: 2rem;
}

.footer__brand {
    flex: 1;
    max-width: 400px;
}

.footer__brand img {
    border-radius: 12px;
    margin-bottom: 1rem;
}

.footer__brand p {
    color: var(--header-text);
    font-weight: 500;
}

.footer__contact {
    flex-shrink: 0;
}

.footer__contact h2 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.footer__contact span {
    display: block;
    margin-bottom: 1rem;
    color: var(--paragraph-text);
}

.footer__contact-links {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer__contact-links li {
    margin: 0;
}

.footer__contact-links img {
    width: 20px;
    height: 20px;
    border-radius: 4px;
    margin-top: 0;
}

.footer__contact-links a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer__bottom {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    font-size: 0.875rem;
    color: var(--paragraph-text);
}

.footer__bottom-links {
    display: flex;
    gap: 2rem;
    margin: 0;
    justify-content: flex-start;
}

.footer__bottom-links li {
    margin: 0;
}

.footer__bottom-links a {
    color: var(--paragraph-text);
    font-size: 0.875rem;
}

.footer__bottom-links a:hover {
    color: var(--header-text);
}

/* ===== RESPONSIVE DESIGN ===== */
@media (min-width: 1200px) {
    section {
        padding: 6rem 12rem;
    }
    
    .header {
        padding: 10px 12rem;
    }
    
    .main__section {
        padding: 4rem 12rem;
    }
    
    .footer {
        padding: 3rem 12rem 2rem;
    }
}

@media (min-width: 1024px) {
    .header {
        padding: 10px 5rem;
    }
    
    .back-to-top {
        display: flex;
        opacity: 0;
        visibility: hidden;
        transform: translateY(20px);
        transition: all 0.3s ease;
    }
    
    .back-to-top.visible {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
    
    .usps__image {
        flex: 0 0 auto;
        margin-left: auto;
    }
}

@media (max-width: 1024px) {
    section {
        padding: 4rem 3rem;
    }
    
    .header,
    .nav__menu,
    .nav__menu-list {
        padding: 0 3rem;
        margin: 0;
    }
    
    .header__logo {
        padding: 0;
        margin-right: auto;
    }
    
    .nav__menu {
        padding: 4rem 1.5rem 1.5rem;
    }

    .nav__menu-list {
        gap: 1rem;
    }

    .hamburger-container {
        display: block;
    }
    
    .hamburger-container img {
        width: 24px;
        height: 24px;
    }

    .main__section {
        padding: 2rem 3rem;
    }
    
    .chi-sono__container,
    .usps__container,
    .customer-persona__container,
    .prenota-consulenza__container {
        flex-direction: column;
        gap: 2rem;
    }
    
    .servizi__cards {
        flex-direction: column;
        align-items: center;
    }
    
    .usps__benefit-row {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .footer__main {
        flex-direction: column;
        gap: 2rem;
    }
    
    .footer__bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: left;
    }
    
    .footer__bottom-links {
        flex-direction: column;
        gap: 1rem;
        text-align: left;
    }
    
    .nav__menu {
        position: fixed;
        top: -100%;
        left: 0;
        width: 100%;
        background-color: var(--background-color-one);
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
        transition: top 0.3s ease;
        z-index: 1000;
        border-radius: 0 0 24px 24px;
        padding: 6rem 2rem 2rem;
        display: flex;
        flex-direction: column;
    }

    .nav__menu.active {
        top: 0;
    }
    
    .nav__menu-list {
        flex-direction: column;
        gap: 2rem;
        align-items: center;
        width: 100%;
    }

    .nav__menu-list li {
        width: 100%;
        text-align: center;
    }
    
    .nav__menu-list a {
        font-size: 1.125rem;
        font-weight: 600;
        color: var(--header-text);
        display: block;
        padding: 1rem;
        border-radius: 12px;
        transition: background-color 0.2s ease;
        width: 100%;
    }
    
    .nav__menu-list a:hover {
        background-color: var(--background-color-two);
        color: var(--header-text);
    }
    
    .customer-persona__image {
        max-width: 100%;
        display: flex;
        justify-content: center;
        order: 2;
    }
    
    .prenota-consulenza__container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .prenota-consulenza__content {
        padding-right: 0;
        text-align: left;
        order: 1;
    }
    
    .booking-form-placeholder {
        order: 2;
        position: relative;
        top: auto;
        margin-top: 0;
    }
    
    .calendly-inline-widget {
        height: 550px !important;
    }
    
    .back-to-top {
        display: none;
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 1.875rem;
    }
    
    .main__title {
        font-size: 2.5rem;
    }
    
    .main__subtitle {
        font-size: 1.25rem;
    }
    
    section {
        padding: 3rem 1.5rem;
    }
    
    .header,
    .nav__menu,
    .nav__menu-list {
        padding: 0 1.5rem;
        margin: 0;
    }
    
    .header__logo {
        padding: 0;
        margin: 0;
    }

    .nav__menu {
        padding: 5rem 1.5rem 2rem;
    }

    .nav__menu-list {
        gap: 1rem;
        flex-wrap: wrap;
        justify-content: center;
    }

    .main__section {
        padding: 1rem 1.5rem;
        min-height: 80vh;
    }
    
    .main__content {
        padding-top: 0;
    }
    
    .nav__menu-list {
        gap: 1rem;
        flex-wrap: wrap;
        justify-content: center;
    }

    .footer {
        padding: 2rem 1.5rem;
    }
    
    .footer__bottom-links {
        flex-direction: column;
        gap: 1rem;
        text-align: left;
    }
    
    .chi-sono__image img {
        width: 150px;
        height: 150px;
    }
    
    .usps__benefit-row {
        flex-direction: column;
        gap: 1rem;
    }
    
    .servizi__card {
        max-width: 100%;
    }

    .customer-persona__container {
        gap: 1.5rem;
    }

    .customer-persona__point {
        margin-bottom: 1.5rem;
    }
    
    .prenota-consulenza__container {
        gap: 2rem;
    }
    
    .booking-form-placeholder {
        padding: 0;
    }
    
    .calendly-inline-widget {
        height: 500px !important;
    }

    /* Hide line break in coaching online title on mobile */
    .servizi__card h3 br {
        display: none;
    }
    
    /* Mobile-specific improvements */
    .main__title {
        line-height: 1.2;
    }
    
    .servizi__card {
        margin: 0 10px;
    }
    
    .chi-sono__content p {
        margin-bottom: 20px;
    }
    
    .usps__benefit {
        padding: 15px;
        background: rgba(255, 255, 255, 0.1);
        border-radius: 10px;
    }
    
    .footer__logo img {
        filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 1.75rem;
        margin-top: 2rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    .hamburger-container {
        display: block;
    }
    
    .main__title {
        font-size: 1.75rem;
        margin-top: 2rem;
    }
    
    .main__subtitle {
        font-size: 1.125rem;
    }

    .main__paragraph {
        font-size: 1rem;
        width: 100%;
    }
    
    section {
        padding: 2rem 1rem;
    }
    
    .header {
        padding: 10px 1rem;
    }
    
    .main__section {
        padding: 0.5rem 1rem;
    }
    
    .footer {
        padding: 2rem 1rem;
    }
    
    .nav__menu {
        padding: 4rem 1rem 2rem;
    }

    .main__content {
        padding-top: 0;
    }
    
    .nav__menu-list {
        gap: 0.75rem;
    }

    .nav__menu-list a {
        font-size: 0.875rem;
    }
    
    button, .main__button, .chi-sono__button, .usps__button {
        padding: 0.75rem 1.5rem;
        font-size: 0.875rem;
    }
    
    .calendly-inline-widget {
        height: 450px !important;
        margin: 0;
        padding: 0 0.5rem;
    }
    
    /* Additional mobile improvements for small screens */
    .main__title {
        line-height: 1.1;
    }
    
    .servizi__card {
        margin: 0 5px;
    }
    
    .usps__benefit {
        padding: 12px;
    }
    
    .footer__logo img {
        filter: drop-shadow(0 3px 6px rgba(0, 0, 0, 0.3));
    }
}