/* ========================================
   VARIABILI CSS
   ======================================== */
html {
    scroll-behavior: smooth;
}

:root {
    /* Colori */
    --nile-blue: #183c4e;
    --silver-tree: #66bc98;
    --casal: #296381;
    --picton-blue: #47a7de;
    --white: #ffffff;
    --black: #000000;
    --bon-jour: #e2e2e2;
    --cyan-blue: #12b8e2;

    /* Font */
    --font-family: 'Atkinson Hyperlegible', sans-serif;
    --font-size-m: 18px;
    --font-size-s: 16px;
    --font-size-l: 36px;
    --font-size-xl: 28px;
    --font-size-xxl: 36px;
    --font-size-xxxl: 65px;

    /* Container */
    --container-max-width: 1300px;
}

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

body {
    font-family: var(--font-family);
    font-size: var(--font-size-m);
    line-height: 1.6;
    color: var(--black);
    background: var(--white);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

button,
a {
    -webkit-tap-highlight-color: transparent;
}

/* ========================================
   CONTAINER
   ======================================== */
.container {
    max-width: var(--container-max-width);
    width: 100%;
    margin: 0 auto;
    padding: 0 1rem;
}

@media (min-width: 768px) {
    .container {
        padding: 0 2rem;
    }
}

@media (min-width: 1024px) {
    .container {
        padding: 0 3rem;
    }
}

/* ========================================
   BLOCCO 1: TOP BAR / HEADER
   ======================================== */
.top-bar {
    padding: 1.8125rem 0;
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.contact-info {
    display: flex;
    gap: 80px;
    align-items: center;
}

.address,
.phone {
    color: var(--nile-blue);
    font-size: var(--font-size-m);
    font-weight: 700;
    letter-spacing: 0.02em;
    line-height: 1.44;
    white-space: nowrap;
}

.cta-button {
    display: inline-block;
    background-color: var(--casal);
    color: var(--white);
    font-size: var(--font-size-m);
    font-weight: 700;
    text-decoration: none;
    padding: 0.875rem 2rem;
    border-radius: 25px;
    white-space: nowrap;
    transition: all 0.3s ease;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cta-button:hover {
    background-color: var(--silver-tree);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* ========================================
   BLOCCO 2: HERO SECTION
   ======================================== */
.hero {
    position: relative;
    min-height: 999px;
    display: flex;
    align-items: center;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

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

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(270.02deg, #12b8e2 0.01%, #66bc98 49.58%, #296381 99.65%);
    mix-blend-mode: multiply;
}

.hero-content {
    padding: 80px 0;
    position: relative;
    z-index: 1;
}

.hero-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    margin-bottom: 126px;
}

.hero-logo {
    width: 250px;
    height: 119px;
}

.hero-logo img {
    width: 100%;
    height: auto;
}

.hamburger-menu {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    width: 49px;
    height: 44px;
    transition: opacity 0.3s ease;
}

.hamburger-menu:hover {
    opacity: 0.8;
}

.hamburger-menu svg {
    width: 100%;
    height: 100%;
    display: block;
}

.hero-title {
    color: var(--white);
    font-size: var(--font-size-xxxl);
    font-weight: 700;
    line-height: 60px;
    letter-spacing: 2.27px;
    margin-bottom: 30px;
    white-space: nowrap;
}

.hero-subtitle {
    color: var(--white);
    font-size: var(--font-size-xxl);
    font-weight: 400;
    line-height: 40px;
    margin-bottom: 60px;
    white-space: nowrap;
}

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

.hero-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: var(--white);
    color: var(--nile-blue);
    font-size: var(--font-size-m);
    font-weight: 700;
    text-decoration: none;
    padding: 0.875rem 2rem;
    border-radius: 25px;
    transition: all 0.3s ease;
    min-height: 48px;
}

.hero-cta:hover {
    background-color: var(--silver-tree);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.hero-decoration {
    position: absolute;
    right: 150px;
    top: 646px;
    width: 150px;
    height: 617px;
    object-fit: cover;
    z-index: 2;
}

/* ========================================
   BLOCCO 3: PERCHÉ SCEGLIERE FISIOMOVE
   ======================================== */
.why-choose {
    padding-top: 160px;
    padding-bottom: 80px;
    overflow: visible;
}

.why-choose-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.section-title {
    color: var(--silver-tree);
    font-size: var(--font-size-l);
    font-weight: 700;
    line-height: 40px;
    margin-bottom: 30px;
}

.why-choose .section-title {
    letter-spacing: 0.72px;
}

.specialized .section-title {
    letter-spacing: 1.44px;
}

.why-choose-text {
    max-width: 502px;
    color: var(--black);
    font-size: var(--font-size-m);
    font-weight: 400;
    line-height: 26px;
    letter-spacing: 0.36px;
}

.why-choose-image-wrapper {
    position: relative;
    display: inline-block;
}

.why-choose-image {
    width: 500px;
    height: 400px;
    object-fit: cover;
    border-radius: 50px;
    display: block;
}

.why-choose-decoration {
    position: absolute;
    bottom: -40px;
    right: -56px;
    width: 156px;
    height: 160px;
    pointer-events: none;
}

.why-choose-decoration img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* ========================================
   BLOCCO 4: SONO SPECIALIZZATA IN
   ======================================== */
.specialized {
    padding-top: 80px;
    padding-bottom: 80px;
    overflow: visible;
}

.specialized-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.specialized-image-wrapper {
    position: relative;
    display: inline-block;
}

.specialized-image {
    width: 500px;
    height: 400px;
    object-fit: cover;
    border-radius: 50px;
    display: block;
}

.specialized-decoration {
    position: absolute;
    bottom: -40px;
    left: -56px;
    width: 156px;
    height: 160px;
    pointer-events: none;
}

.specialized-decoration img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

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

.specialization-item {
    position: relative;
    margin-bottom: 50px;
    padding-left: 45px;
}

.specialization-item:last-child {
    margin-bottom: 0;
}

.specialization-icon {
    position: absolute;
    left: 0;
    top: 8px;
    width: 11px;
    height: 11px;
    background-color: var(--picton-blue);
    border-radius: 5.5px;
}

.specialization-title {
    color: var(--casal);
    font-size: var(--font-size-xl);
    font-weight: 700;
    line-height: 32px;
    letter-spacing: 0px;
    margin-bottom: 12px;
}

.specialization-text {
    color: var(--black);
    font-size: var(--font-size-m);
    font-weight: 400;
    line-height: 26px;
    letter-spacing: 0.36px;
    max-width: 470px;
}

/* ========================================
   BLOCCO 5: DOTT.SSA GIULIA LATINO
   ======================================== */
.doctor-bio {
    position: relative;
    padding-top: 80px;
    padding-bottom: 80px;
}

.doctor-background {
    position: absolute;
    left: 0;
    top: 80px;
    right: 25%;
    height: 550px;
    background: linear-gradient(270.02deg, #12b8e2 0.01%, #66bc98 0.01%, #296381 99.65%);
    border-radius: 200px 0px 0px 0px;
    z-index: 0;
}

.doctor-grid {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
}

.doctor-content {
    max-width: 502px;
    padding-top: 80px;
    position: relative;
    z-index: 1;
}

.doctor-title {
    color: var(--white);
    font-size: var(--font-size-l);
    font-weight: 700;
    line-height: 40px;
    letter-spacing: 0.72px;
    margin-bottom: 30px;
}

.doctor-text {
    color: var(--white);
    font-size: var(--font-size-m);
    font-weight: 400;
    line-height: 26px;
    letter-spacing: 0.36px;
}

.doctor-text strong {
    font-weight: 700;
}

.doctor-image-wrapper {
    position: relative;
    display: flex;
    justify-content: flex-end;
    height: 664px;
    margin-top: -114px;
}

.doctor-image {
    width: 441px;
    height: 664px;
    object-fit: cover;
    position: relative;
    z-index: 2;
}

.doctor-decoration {
    position: absolute;
    left: -59px;
    bottom: 0;
    width: 118px;
    height: 484px;
    opacity: 0.44;
    object-fit: cover;
    z-index: 1;
}

/* ========================================
   BLOCCO 6: I MIEI VALORI
   ======================================== */
.my-values {
    padding-top: 80px;
    padding-bottom: 80px;
    overflow: visible;
}

.my-values-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.my-values-content {
    max-width: 502px;
}

.value-item {
    display: flex;
    gap: 30px;
    margin-bottom: 50px;
}

.value-item:last-child {
    margin-bottom: 0;
}

.value-icon {
    position: relative;
    width: 50px;
    height: 50px;
    flex-shrink: 0;
}

.value-icon-circle {
    width: 50px;
    height: 50px;
    border-radius: 25px;
    position: absolute;
    top: 0;
    left: 0;
}

.value-icon-circle-casal {
    background-color: var(--casal);
}

.value-icon-circle-picton {
    background-color: var(--picton-blue);
}

.value-icon-circle-silver {
    background-color: var(--silver-tree);
}

.value-icon-img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: auto;
    height: auto;
    max-width: 26px;
    max-height: 26px;
}

.value-text {
    flex: 1;
}

.value-title {
    font-size: var(--font-size-xl);
    font-weight: 700;
    line-height: 32px;
    margin-bottom: 12px;
}

.value-title-casal {
    color: var(--casal);
}

.value-title-picton {
    color: var(--picton-blue);
}

.value-title-silver {
    color: var(--silver-tree);
}

.value-description {
    color: var(--black);
    font-size: var(--font-size-m);
    font-weight: 400;
    line-height: 26px;
    letter-spacing: 0.36px;
}

.my-values-image-wrapper {
    position: relative;
    display: inline-block;
}

.my-values-image {
    width: 500px;
    height: 400px;
    object-fit: cover;
    border-radius: 50px;
    display: block;
}

.my-values-decoration {
    position: absolute;
    bottom: -40px;
    left: -56px;
    width: 156px;
    height: 160px;
    pointer-events: none;
}

.my-values-decoration img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* ========================================
   BLOCCO 8: IL MIO APPROCCIO
   ======================================== */
.my-approach {
    padding-top: 80px;
    padding-bottom: 80px;
}

.my-approach-title {
    text-align: center;
    letter-spacing: 1.44px;
    margin-bottom: 60px;
}

.my-approach-grid {
    display: flex;
    gap: 60px;
    align-items: center;
    justify-content: center;
    max-width: fit-content;
    margin: 0 auto;
}

.my-approach-image-wrapper {
    width: auto;
}

.my-approach-image {
    width: auto;
    height: 490px;
    object-fit: cover;
}

.my-approach-content {
    max-width: 550px;
}

.approach-item {
    position: relative;
    margin-bottom: 50px;
    padding-left: 45px;
}

.approach-item:last-child {
    margin-bottom: 0;
}

.approach-icon {
    position: absolute;
    left: 0;
    top: 8px;
    width: 11px;
    height: 11px;
    background-color: var(--picton-blue);
    border-radius: 5.5px;
}

.approach-title {
    color: var(--casal);
    font-size: var(--font-size-xl);
    font-weight: 700;
    line-height: 32px;
    margin-bottom: 12px;
}

.approach-description {
    color: var(--black);
    font-size: var(--font-size-m);
    font-weight: 400;
    line-height: 26px;
    letter-spacing: 0.36px;
}

/* ========================================
   SEZIONI FOTO GALLERIE
   ======================================== */
.photo-gallery-1 {
    padding-top: 80px;
    padding-bottom: 160px;
    width: 100%;
    overflow: hidden;
}

.photo-gallery-2 {
    padding-top: 160px;
    padding-bottom: 80px;
    width: 100%;
    overflow: hidden;
}

.photo-gallery-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    width: 100%;
    max-width: 100%;
}

.photo-gallery-img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* ========================================
   BLOCCO 7: COME POSSO AIUTARTI
   ======================================== */
.how-can-help {
    position: relative;
    padding-top: 80px;
    padding-bottom: 80px;
}

.how-can-help-background {
    position: absolute;
    left: 0;
    right: 0;
    top: calc(80px + 40px + 60px + 65px);
    height: 237px;
    background-color: var(--nile-blue);
    z-index: 0;
}

.how-can-help .container {
    position: relative;
    z-index: 1;
}

.how-can-help-title {
    text-align: center;
    letter-spacing: 1.08px;
    margin-bottom: 60px;
}

.scenarios {
    display: flex;
    justify-content: center;
    gap: 80px;
    margin-bottom: 80px;
}

.scenario-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 300px;
}

.scenario-icon {
    position: relative;
    width: 130px;
    height: 130px;
    margin-bottom: 30px;
}

.scenario-icon-circle {
    width: 120px;
    height: 120px;
    background-color: var(--casal);
    border-radius: 60px;
    position: absolute;
    top: 5px;
    left: 5px;
}

.scenario-icon-img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 100px;
    max-height: 100px;
    object-fit: contain;
}

.scenario-title {
    color: var(--white);
    font-size: var(--font-size-xl);
    font-weight: 700;
    line-height: 32px;
    text-align: center;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    grid-auto-rows: 1fr;
}

.service-card {
    background-color: var(--white);
    border-radius: 50px;
    padding: 68px 40px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
}

.service-card-special {
    grid-column: 1;
}

.service-title {
    color: var(--casal);
    font-size: 24px;
    font-weight: 700;
    line-height: 28px;
    letter-spacing: 0px;
    text-align: center;
    margin-bottom: 12px;
}

.service-description {
    color: var(--black);
    font-size: var(--font-size-m);
    font-weight: 400;
    line-height: 26px;
    letter-spacing: 0.36px;
    text-align: center;
}

/* ========================================
   BLOCCO 9: I MIEI SERVIZI
   ======================================== */
.my-services {
    position: relative;
    padding-top: 80px;
    padding-bottom: 80px;
}

.my-services-background {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    background: linear-gradient(180deg, #66bc98 0%, #296381 100%);
    z-index: 0;
}

.my-services .container {
    position: relative;
    z-index: 1;
}

.my-services-title {
    color: var(--white);
    font-size: var(--font-size-l);
    font-weight: 700;
    line-height: 40px;
    letter-spacing: 1.44px;
    text-align: center;
    margin-bottom: 60px;
}

/* ========================================
   BLOCCO 10: IL MIO CENTRO
   ======================================== */
.my-center {
    padding-top: 80px;
    padding-bottom: 160px;
}

.my-center-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    margin-bottom: 80px;
    align-items: center;
}

.my-center-content {
    max-width: 502px;
}

.my-center .section-title {
    color: var(--silver-tree);
    letter-spacing: 1.08px;
    margin-bottom: 30px;
}

.my-center-intro {
    color: var(--black);
    font-size: var(--font-size-m);
    font-weight: 400;
    line-height: 26px;
    letter-spacing: 0.36px;
}

.my-center-list {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.center-item {
    display: flex;
    flex-direction: column;
}

.center-item-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 10px;
}

.center-item-pointer {
    width: 24px;
    height: auto;
    flex-shrink: 0;
}

.center-item-title {
    color: var(--casal);
    font-size: var(--font-size-xl);
    font-weight: 700;
    line-height: 32px;
    letter-spacing: 0px;
    margin: 0;
}

.center-item-description {
    color: var(--black);
    font-size: var(--font-size-m);
    font-weight: 400;
    line-height: 26px;
    letter-spacing: 0.36px;
    margin-left: 43px;
}

.center-gallery {
    width: 100%;
    margin-top: 80px;
    overflow: visible;
}

/* Carousel Splide Customization */
#center-carousel {
    width: 100%;
}

#center-carousel .splide__track {
    overflow: visible;
}

#center-carousel .splide__list {
    margin-left: calc((100vw - var(--container-max-width)) / 2 + 1rem);
}

@media (max-width: 1300px) {
    #center-carousel .splide__list {
        margin-left: 1rem;
    }
}

#center-carousel .splide__slide img {
    width: 100%;
    height: auto;
    border-radius: 50px;
    object-fit: cover;
}

#center-carousel .splide__arrows {
    position: relative;
    margin-top: 60px;
    display: flex;
    justify-content: center;
    gap: 50px;
}

#center-carousel .splide__arrow {
    position: static;
    transform: none;
    background-color: transparent;
    border: none;
    width: auto;
    height: auto;
    opacity: 1;
    cursor: pointer;
    padding: 0;
}

#center-carousel .splide__arrow svg {
    height: 35px;
    width: auto;
}

#center-carousel .splide__arrow:hover svg path {
    stroke: var(--casal);
}

#center-carousel .splide__arrow:disabled {
    opacity: 0.3;
}

/* ========================================
   BLOCCO 11: ESPERIENZE DEI PAZIENTI
   ======================================== */
.patient-experiences {
    padding-top: 80px;
    padding-bottom: 80px;
    background-color: #efefef;
}

.patient-experiences .section-title {
    color: var(--silver-tree);
    letter-spacing: 1.08px;
    text-align: center;
    margin-bottom: 60px;
}

#testimonials-carousel {
    width: 100%;
    position: relative;
}

.testimonial-card {
    background-color: var(--nile-blue);
    border-radius: 50px;
    padding: 35px;
    height: 280px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-sizing: border-box;
}

.testimonial-text {
    color: var(--white);
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    letter-spacing: 0.32px;
    margin: 0;
}

.testimonial-author {
    color: var(--silver-tree);
    font-size: 16px;
    font-weight: 700;
    line-height: 28px;
    letter-spacing: 0.32px;
    margin: 0;
}

#testimonials-carousel .splide__arrows {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    left: 0;
    right: 0;
    pointer-events: none;
}

#testimonials-carousel .splide__arrow {
    position: absolute;
    background-color: transparent;
    border: none;
    width: 46px;
    height: 46px;
    opacity: 1;
    cursor: pointer;
    padding: 0;
    pointer-events: auto;
}

#testimonials-carousel .splide__arrow--prev {
    left: -70px;
}

#testimonials-carousel .splide__arrow--next {
    right: -70px;
}

#testimonials-carousel .splide__arrow svg {
    width: 46px;
    height: 46px;
}

#testimonials-carousel .splide__arrow:hover svg circle {
    fill: var(--casal);
}

#testimonials-carousel .splide__arrow:disabled {
    opacity: 0.3;
}

/* ========================================
   BLOCCO 12: CONTATTI
   ======================================== */
.contacts {
    padding-top: 160px;
    padding-bottom: 160px;
    overflow: visible;
}

.contacts-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.contacts-image-wrapper {
    position: relative;
    display: inline-block;
}

.contacts-image {
    width: 500px;
    height: 400px;
    object-fit: cover;
    border-radius: 50px;
    display: block;
}

.contacts-decoration {
    position: absolute;
    bottom: -40px;
    left: -56px;
    width: 156px;
    height: 160px;
    pointer-events: none;
}

.contacts-decoration img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.contacts-content {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.contact-section {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.contact-subtitle {
    color: var(--casal);
    font-size: var(--font-size-xl);
    font-weight: 700;
    line-height: 32px;
    letter-spacing: 0px;
    margin: 0;
}

.contact-text {
    color: var(--black);
    font-size: var(--font-size-m);
    font-weight: 400;
    line-height: 26px;
    letter-spacing: 0.36px;
    margin: 0;
}

/* ========================================
   BLOCCO 13: PRENOTA LA TUA CONSULENZA
   ======================================== */
.booking-cta {
    background-color: var(--nile-blue);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.booking-decoration {
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 210px;
    height: 100%;
    z-index: 0;
}

.booking-decoration img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.booking-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
    align-items: start;
    position: relative;
    z-index: 1;
}

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

.booking-title {
    color: var(--cyan-blue);
    font-size: var(--font-size-xxxl);
    font-weight: 700;
    line-height: 64px;
    margin: 0 0 40px 0;
}

.booking-subtitle {
    color: var(--white);
    font-size: var(--font-size-xxl);
    font-weight: 700;
    line-height: 40px;
    letter-spacing: 1.44px;
    margin: 0 0 40px 0;
}

.booking-description {
    color: var(--white);
    font-size: var(--font-size-m);
    font-weight: 400;
    line-height: 28px;
    letter-spacing: 0.36px;
    margin: 0;
}

.booking-form-wrapper {
    background-color: transparent;
}

.form-title {
    color: var(--silver-tree);
    font-size: var(--font-size-xl);
    font-weight: 700;
    line-height: 32px;
    letter-spacing: 1.12px;
    margin: 0 0 30px 0;
}

.booking-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.form-group {
    width: 100%;
}

.form-group input,
.form-group textarea {
    width: 100%;
    background-color: var(--bon-jour);
    border: none;
    border-radius: 5px;
    padding: 10px 15px;
    font-family: var(--font-family);
    font-size: 12px;
    color: var(--nile-blue);
    letter-spacing: 0px;
    line-height: 28px;
}

.form-group input {
    height: 40px;
}

.form-group textarea {
    height: 100px;
    resize: vertical;
    padding-top: 35px;
}

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

.form-group input:focus,
.form-group textarea:focus {
    outline: 2px solid var(--silver-tree);
}

.form-submit {
    background-color: var(--silver-tree);
    color: var(--white);
    border: none;
    border-radius: 25px;
    min-height: 50px;
    height: 50px;
    width: 188px;
    font-family: var(--font-family);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.56px;
    cursor: pointer;
    align-self: flex-end;
    margin-top: 18px;
    transition: background-color 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.form-submit:hover {
    background-color: var(--casal);
}

.form-alternative {
    color: var(--white);
    font-size: var(--font-size-m);
    font-weight: 400;
    line-height: 26px;
    letter-spacing: 0.36px;
    margin: 40px 0 0 0;
}

.form-alternative strong {
    font-weight: 700;
}

.form-privacy {
    margin-top: 15px;
}

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

.privacy-label input[type="checkbox"] {
    margin-top: 4px;
    width: 18px;
    height: 18px;
    cursor: pointer;
    flex-shrink: 0;
    accent-color: var(--silver-tree);
}

.privacy-text {
    color: var(--white);
    font-size: 13px;
    line-height: 1.5;
    letter-spacing: 0.26px;
}

.privacy-link {
    color: var(--silver-tree);
    text-decoration: underline;
    transition: color 0.3s ease;
}

.privacy-link:hover {
    color: var(--white);
}

.form-message {
    padding: 12px;
    border-radius: 5px;
    margin-bottom: 15px;
    display: none;
    font-size: 14px;
    line-height: 1.4;
}

.form-message.success {
    display: block;
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.form-message.error {
    display: block;
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
    position: relative;
    background: radial-gradient(ellipse 150% 150% at 22% 44%, #66BC98 0%, #296381 50%, #296381 100%);
    padding: 80px 0;
}

.footer-background {
    display: none;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1.2fr 0.8fr;
    gap: 40px;
    align-items: start;
}

/* Logo */
.footer-logo {
    display: flex;
    align-items: center;
    height: 100%;
}

.footer-logo img {
    width: 200px;
    height: auto;
    display: block;
}

/* Linea separatrice - nascosta nel nuovo layout */
.footer-separator {
    display: none;
}

/* Colonna Navigazione */
.footer-nav-column {
    display: flex;
    flex-direction: column;
}

.footer-link {
    font-family: var(--font-family);
    font-size: 24px;
    font-weight: 700;
    line-height: 32px;
    color: var(--white);
    margin: 0 0 18px 0;
    cursor: pointer;
    transition: color 0.3s ease;
    text-decoration: none;
    display: block;
}

.footer-link:hover {
    color: var(--silver-tree);
}

.footer-policy {
    font-family: var(--font-family);
    font-size: var(--font-size-s);
    font-weight: 400;
    line-height: 24px;
    letter-spacing: 0.36px;
    color: var(--white);
    margin: 0 0 10px 0;
    cursor: pointer;
    transition: color 0.3s ease;
    text-decoration: none;
    display: block;
    opacity: 0.8;
}

.footer-policy:first-of-type {
    margin-top: 20px;
}

.footer-policy:hover {
    color: var(--silver-tree);
    opacity: 1;
}

/* Colonna Contatti */
.footer-contact-column {
    display: flex;
    flex-direction: column;
    color: var(--white);
}

.footer-heading {
    font-family: var(--font-family);
    font-size: var(--font-size-m);
    font-weight: 700;
    line-height: 28px;
    color: var(--white);
    margin: 0 0 12px 0;
}

.footer-heading-orari {
    margin-top: 30px;
}

.footer-text {
    font-family: var(--font-family);
    font-size: var(--font-size-s);
    font-weight: 400;
    line-height: 24px;
    letter-spacing: 0.36px;
    color: var(--white);
    margin: 0 0 6px 0;
}

/* Colonna Social */
.footer-social-column {
    display: flex;
    flex-direction: column;
}

.footer-social-icons {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

.footer-social-icon {
    display: block;
    width: 40px;
    height: 40px;
    transition: opacity 0.3s ease;
}

.footer-social-icon:hover {
    opacity: 0.8;
}

.footer-social-icon svg {
    width: 100%;
    height: 100%;
}

.dati-azienda{
   font-size: 12px;
   color: white !important;
}

/* ========================================
   MOBILE MENU
   ======================================== */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--nile-blue);
    background-image: url('../img/rettangolo-26@1x.png');
    background-size: cover;
    background-position: center;
    z-index: 9999;
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mobile-menu.open {
    display: flex;
    opacity: 1;
}

.mobile-menu-content {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    padding: 60px 20px;
}

.mobile-menu-close {
    position: absolute;
    top: 30px;
    right: 30px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    width: 40px;
    height: 40px;
    transition: opacity 0.3s ease;
}

.mobile-menu-close:hover {
    opacity: 0.7;
}

.mobile-menu-nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
}

.mobile-menu-link {
    font-family: var(--font-family);
    font-size: 36px;
    font-weight: 700;
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s ease;
    text-align: center;
}

.mobile-menu-link:hover {
    color: var(--silver-tree);
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 1200px) {
    .contact-info {
        gap: 200px;
    }
}

@media (max-width: 1024px) {
    .container {
        padding: 0 1.5rem;
    }

    /* Hero - 85% dei valori desktop */
    .hero {
        min-height: 850px;
    }

    .hero-content {
        padding: 68px 0;
    }

    .hero-header {
        margin-bottom: 107px;
    }

    .hero-title {
        margin-bottom: 26px;
    }

    .hero-subtitle {
        margin-bottom: 51px;
    }

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

@media (max-width: 992px) {
    .contact-info {
        gap: 100px;
    }

    /* Hero - 75% dei valori desktop */
    .hero {
        min-height: 750px;
    }

    .hero-content {
        padding: 60px 0;
    }

    .hero-header {
        margin-bottom: 95px;
    }

    .hero-title {
        font-size: 3rem;
        margin-bottom: 23px;
    }

    .hero-subtitle {
        font-size: 1.75rem;
        margin-bottom: 45px;
    }

    /* Layout 50/50 -> Singola colonna */
    .why-choose-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .specialized-grid {
        display: flex;
        flex-direction: column-reverse;
        gap: 40px;
    }

    .my-values-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .my-approach-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .my-approach-image-wrapper {
        width: 100%;
        display: flex;
        justify-content: center;
    }

    .my-center-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

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

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

    /* Immagini responsive */
    .why-choose-image-wrapper,
    .specialized-image-wrapper,
    .my-values-image-wrapper,
    .contacts-image-wrapper {
        display: block;
        width: 100%;
        max-width: 500px;
        margin: 0 auto;
    }

    .why-choose-image,
    .specialized-image,
    .my-values-image,
    .contacts-image {
        width: 100%;
        height: auto;
    }

    /* Decorazioni responsive - restano proporzionate */
    .why-choose-decoration {
        bottom: -30px;
        right: -40px;
        width: 120px;
        height: 125px;
    }

    .specialized-decoration,
    .my-values-decoration,
    .contacts-decoration {
        bottom: -30px;
        left: -40px;
        width: 120px;
        height: 125px;
    }

    /* Contenuti centrati */
    .why-choose-content,
    .specialized-content,
    .my-values-content,
    .my-approach-content,
    .my-center-content,
    .contacts-content,
    .booking-content {
        max-width: 100%;
    }

    /* Doctor Bio grid */
    .doctor-bio {
        padding-bottom: 0;
    }

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

    .doctor-background {
        right: 0;
        bottom: 0;
        height: auto;
    }

    .doctor-content {
        max-width: 100%;
        padding: 60px 2rem 40px 4rem;
        margin: 0 auto;
    }

    .doctor-image-wrapper {
        justify-content: center;
        margin-top: 40px;
    }

    .doctor-image {
        width: 100%;
        max-width: 400px;
        height: auto;
    }

    /* Booking CTA */
    .booking-content {
        text-align: center;
    }

    .booking-decoration {
        display: none;
    }

    /* Photo Galleries - mantieni affiancate a 992px */
    .photo-gallery-grid {
        gap: 10px;
    }

    /* Footer responsive - 2 colonne su tablet */
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 40px 30px;
    }

    .footer-logo {
        grid-column: 1 / -1;
        justify-content: center;
        margin-bottom: 20px;
    }

    .footer-logo img {
        width: 180px;
    }

    .footer-link {
        font-size: 20px;
        line-height: 28px;
        margin-bottom: 14px;
    }
}

@media (max-width: 768px) {
    /* Top Bar */
    .top-bar-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5rem;
    }

    .contact-info {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .top-bar {
        padding: 1rem 0;
    }

    .top-bar .cta-button {
        display: none;
    }

    /* Migliorare leggibilità */
    body {
        font-size: 16px;
    }

    p, h1, h2, h3, h4, h5, h6 {
        word-wrap: break-word;
        overflow-wrap: break-word;
        hyphens: auto;
    }

    p {
        font-size: 16px;
        line-height: 1.6;
    }

    h2, h3, h4 {
        line-height: 1.3;
    }

    /* Hero responsive - 60% dei valori desktop */
    .hero {
        min-height: 600px;
    }

    .hero-content {
        padding: 48px 0;
    }

    .hero-header {
        margin-bottom: 76px;
    }

    .hero-logo {
        width: 180px;
        height: auto;
    }

    .hamburger-menu {
        width: 40px;
        height: 36px;
    }

    .hero-title {
        font-size: 2.5rem;
        line-height: 1.2;
        margin-bottom: 18px;
        white-space: normal;
    }

    .hero-subtitle {
        font-size: 1.5rem;
        line-height: 1.4;
        margin-bottom: 36px;
        white-space: normal;
    }

    .hero-cta {
        width: 100%;
        text-align: center;
        padding: 1rem;
    }

    .hero-decoration {
        display: none;
    }

    /* Why Choose responsive */
    .why-choose {
        padding-top: 100px;
        padding-bottom: 50px;
    }

    .section-title {
        font-size: 1.75rem;
        line-height: 1.3;
        margin-bottom: 20px;
    }

    .why-choose-text {
        max-width: 100%;
        font-size: 1rem;
        line-height: 1.6;
    }

    .why-choose-decoration {
        bottom: -25px;
        right: -30px;
        width: 100px;
        height: 105px;
    }

    /* Specialized responsive */
    .specialized {
        padding-top: 50px;
        padding-bottom: 50px;
    }

    .specialized-decoration {
        bottom: -25px;
        left: -30px;
        width: 100px;
        height: 105px;
    }

    .specialization-item {
        margin-bottom: 30px;
        padding-left: 25px;
    }

    .specialization-icon {
        left: 5px;
        top: 5px;
    }

    .specialization-title {
        font-size: 1.25rem;
        line-height: 1.4;
        margin-bottom: 8px;
    }

    .specialization-text {
        max-width: 100%;
        font-size: 1rem;
        line-height: 1.5;
    }

    /* Doctor Bio responsive */
    .doctor-bio {
        padding-top: 50px;
        padding-bottom: 0;
    }

    .doctor-background {
        top: 50px;
        bottom: 0;
        right: 0;
        height: auto;
        border-radius: 100px 0px 0px 0px;
    }

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

    .doctor-content {
        max-width: 100%;
        padding: 60px 30px 40px 60px;
    }

    .doctor-title {
        font-size: 1.75rem;
        line-height: 1.3;
        margin-bottom: 20px;
    }

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

    .doctor-image-wrapper {
        justify-content: center;
        margin-top: 0;
        height: auto;
        padding-bottom: 0;
        align-items: flex-end;
    }

    .doctor-image {
        width: 100%;
        max-width: 400px;
        height: auto;
        aspect-ratio: 441 / 664;
        display: block;
    }

    .doctor-decoration {
        display: none;
    }

    /* My Values responsive */
    .my-values {
        padding-top: 50px;
        padding-bottom: 50px;
    }

    .value-item {
        flex-direction: column;
        gap: 15px;
        margin-bottom: 40px;
        align-items: flex-start;
    }

    .value-icon {
        margin-bottom: 10px;
    }

    .value-content {
        width: 100%;
    }

    .value-title {
        font-size: 1.25rem;
        line-height: 1.4;
        margin-bottom: 8px;
    }

    .value-text {
        font-size: 1rem;
        line-height: 1.5;
    }

    .my-values-decoration {
        bottom: -25px;
        left: -30px;
        width: 100px;
        height: 105px;
    }

    /* My Approach responsive */
    .my-approach {
        padding-top: 50px;
        padding-bottom: 50px;
    }

    .my-approach-image {
        max-width: 100%;
        height: auto;
        max-height: 400px;
    }

    .approach-item {
        margin-bottom: 30px;
        padding-left: 25px;
    }

    .approach-icon {
        left: 5px;
        top: 5px;
    }

    .approach-title {
        font-size: 1.25rem;
        line-height: 1.4;
        margin-bottom: 8px;
    }

    .approach-text {
        font-size: 1rem;
        line-height: 1.5;
    }

    /* How Can Help responsive */
    .how-can-help {
        padding-top: 50px;
        padding-bottom: 50px;
    }

    .how-can-help-background {
        top: calc(50px + 40px + 40px);
        height: auto;
        bottom: 50px;
    }

    .scenarios {
        flex-direction: column;
        gap: 0;
        margin-bottom: 60px;
        align-items: center;
    }

    .scenario-item {
        max-width: 100%;
        margin-bottom: 40px;
        text-align: center;
    }

    .scenario-item:first-child .scenario-icon {
        margin-bottom: 20px;
        margin-left: auto;
        margin-right: auto;
    }

    .scenario-item:not(:first-child) .scenario-icon {
        margin-top: 0;
        margin-bottom: 20px;
        margin-left: auto;
        margin-right: auto;
    }

    .scenario-icon {
        width: 100px;
        height: 100px;
    }

    .scenario-icon-circle {
        width: 90px;
        height: 90px;
        border-radius: 45px;
        top: 5px;
        left: 5px;
    }

    .scenario-icon-img {
        max-width: 70px;
        max-height: 70px;
    }

    .scenario-title {
        font-size: 1.25rem;
        margin-bottom: 10px;
    }

    .scenario-text {
        font-size: 1rem;
        line-height: 1.5;
    }

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

    .service-card {
        padding: 30px 20px;
        height: auto;
        min-height: 200px;
    }

    .service-card h3 {
        font-size: 1.25rem;
        line-height: 1.4;
        margin-bottom: 12px;
    }

    .service-card p {
        font-size: 1rem;
        line-height: 1.6;
    }

    /* Carousel ottimizzazioni */
    .splide {
        touch-action: pan-y pinch-zoom;
    }

    .splide__slide {
        padding: 0 5px;
    }

    /* Touch targets migliorati */
    .splide__arrow {
        width: 44px !important;
        height: 44px !important;
    }

    /* My Services responsive */
    .my-services {
        padding-top: 50px;
        padding-bottom: 50px;
    }

    .my-services-background {
        top: 0;
        bottom: 0;
    }

    /* My Center responsive */
    .my-center {
        padding-top: 50px;
        padding-bottom: 100px;
    }

    .my-center-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .my-center-content {
        max-width: 100%;
    }

    .my-center-list {
        gap: 30px;
    }

    .my-center-list h3 {
        font-size: 1.25rem;
        line-height: 1.4;
        margin-bottom: 8px;
    }

    .my-center-list p {
        font-size: 1rem;
        line-height: 1.5;
    }

    /* Photo Galleries responsive */
    .photo-gallery-1 {
        padding-top: 50px;
        padding-bottom: 100px;
    }

    .photo-gallery-2 {
        padding-top: 100px;
        padding-bottom: 50px;
    }

    .photo-gallery-grid {
        grid-template-columns: 1fr;
        gap: 0;
        padding: 0;
    }

    .photo-gallery-img {
        max-width: 100%;
        height: auto;
        object-fit: cover;
    }

    .photo-1b,
    .photo-2b {
        display: none;
    }

    /* Patient Experiences responsive */
    .patient-experiences {
        padding-top: 50px;
        padding-bottom: 50px;
    }

    .testimonial-card {
        height: auto;
        min-height: 280px;
    }

    /* Contacts responsive */
    .contacts {
        padding-top: 100px;
        padding-bottom: 100px;
    }

    .contacts-decoration {
        bottom: -25px;
        left: -30px;
        width: 100px;
        height: 105px;
    }

    .contact-section {
        margin-bottom: 30px;
    }

    /* Booking CTA responsive */
    .booking-cta {
        padding: 60px 0;
    }

    .booking-title {
        font-size: 2.5rem;
        line-height: 1.2;
        margin-bottom: 30px;
    }

    .booking-subtitle {
        font-size: 1.25rem;
        line-height: 1.4;
    }

    .booking-description {
        font-size: 1rem;
        line-height: 1.6;
    }

    .booking-form-wrapper {
        max-width: 100%;
    }

    .form-title {
        font-size: 1.5rem;
        line-height: 1.3;
    }

    .form-submit {
        width: 100%;
        max-width: 300px;
        margin: 18px auto 0 auto;
        min-height: 50px;
        font-size: 16px;
    }

    .form-alternative {
        font-size: 0.9rem;
        text-align: center;
    }

    /* Form inputs ottimizzati per mobile */
    .form-group input,
    .form-group textarea {
        font-size: 16px;
        padding: 12px 15px;
        min-height: 44px;
    }

    .form-group textarea {
        min-height: 120px;
    }

    /* Footer responsive - 1 colonna su mobile */
    .footer {
        padding: 50px 0;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }

    .footer-logo {
        grid-column: 1;
        margin-bottom: 10px;
    }

    .footer-logo img {
        width: 160px;
    }

    .footer-nav-column,
    .footer-contact-column,
    .footer-social-column {
        align-items: center;
    }

    .footer-link {
        font-size: 18px;
        line-height: 26px;
        margin-bottom: 12px;
    }

    .footer-policy {
        font-size: 14px;
        margin-bottom: 8px;
    }

    .footer-policy:first-of-type {
        margin-top: 15px;
    }

    .footer-heading {
        margin-bottom: 10px;
    }

    .footer-heading-orari {
        margin-top: 20px;
    }

    .footer-social-icons {
        justify-content: center;
    }

    /* Mobile Menu responsive */
    .mobile-menu-link {
        font-size: 28px;
    }

    .mobile-menu-nav {
        gap: 30px;
    }
}

@media (max-width: 480px) {
    .address,
    .phone {
        font-size: 1rem;
    }

    .cta-button {
        font-size: 1rem;
    }

    /* Hero - 50% dei valori desktop */
    .hero {
        min-height: 500px;
    }

    .hero-content {
        padding: 40px 0;
    }

    .hero-header {
        margin-bottom: 63px;
    }

    .hero-title {
        font-size: 2rem;
        margin-bottom: 15px;
    }

    .hero-subtitle {
        font-size: 1.25rem;
        margin-bottom: 30px;
    }

    .hamburger-menu {
        width: 35px;
        height: 32px;
    }

    /* Altri elementi */
    .booking-title {
        font-size: 2rem;
        line-height: 1.1;
    }

    .booking-subtitle {
        font-size: 1.1rem;
    }

    .form-title {
        font-size: 1.25rem;
    }

    .mobile-menu-link {
        font-size: 24px;
    }

    .mobile-menu-nav {
        gap: 25px;
    }

    /* Decorazioni su schermi molto piccoli */
    .why-choose-decoration {
        bottom: -20px;
        right: -20px;
        width: 80px;
        height: 85px;
    }

    .specialized-decoration,
    .my-values-decoration,
    .contacts-decoration {
        bottom: -20px;
        left: -20px;
        width: 80px;
        height: 85px;
    }
}
