/* Reset e Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

section,
header,
footer {
    max-width: 100vw;
    overflow-x: hidden;
}

body {
    font-family: 'Poppins', sans-serif;
    color: #333;
    line-height: 1.6;
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
}

html {
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
    scroll-behavior: smooth;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Wave Dividers */
.wave-divider {
    width: 100%;
    height: 0;
    padding-bottom: 8%;
    position: relative;
    margin-top: calc(-8% + 2px);
    margin-bottom: 0;
    z-index: 10;
    line-height: 0;
}

.wave-divider img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: fill;
    display: block;
}

.wave-divider.wave-blue {
    /* Sfondo trasparente per permettere la transizione */
}

.wave-divider.wave-green {
    /* Sfondo trasparente per permettere la transizione */
}

.wave-divider.rotate {
    transform: rotate(180deg);
    margin-top: 0;
    margin-bottom: calc(-8% + 2px);
}

/* Hero Section */
.hero {
    background: #01CFFF;
    background-image: url('immagini/zampe cani sfondo.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 0;
    position: relative;
    overflow: hidden;
}

.hero-layout {
    display: grid;
    grid-template-columns: minmax(min(400px, 100%), 45%) 1fr;
    align-items: stretch;
    width: 100%;
    max-width: 100%;
}

.hero-image {
    width: 100%;
    position: relative;
}

.hero-image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
    pointer-events: none;
    transition: height 0.3s ease;
}

.hero-image img {
    width: 100%;
    height: auto;
    min-height: 600px;
    object-fit: contain;
    object-position: left bottom;
    display: block;
}

.hero-content-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 40px;
    padding: 80px 5% 80px 10%;
    max-width: 100%;
}

.hero-text {
    width: 100%;
}

.hero-text h1 {
    color: white;
    font-size: 48px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    font-family: 'Paytone One', sans-serif;
    min-height: 120px;
    opacity: 0;
    transform: scale(0.8);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.hero-text h1.pop-in {
    opacity: 1;
    transform: scale(1);
}

.hero-subtitle {
    color: white;
    font-size: 28px;
    font-weight: 400;
    line-height: 1.5;
    font-family: 'Roboto', sans-serif;
    min-height: 90px;
    opacity: 0;
    transform: scale(0.8);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.hero-subtitle.pop-in {
    opacity: 1;
    transform: scale(1);
}

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

.letter-pop {
    display: inline-block;
    opacity: 0;
    transform: scale(0);
    animation: popIn 0.3s ease-out forwards;
    white-space: pre;
}

@keyframes popIn {
    0% {
        opacity: 0;
        transform: scale(0) rotate(-10deg);
    }
    50% {
        transform: scale(1.2) rotate(5deg);
    }
    100% {
        opacity: 1;
        transform: scale(1) rotate(0deg);
    }
}

.hero-box {
    display: block;
    max-width: 750px;
    align-self: flex-start;
    text-decoration: none;
    margin-left: 0;
    margin-top: -30px;
}

.hero-box img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease, filter 0.3s ease;
    opacity: 0;
    transform: rotate(-5deg) scale(0.8);
}

.hero-box img.animate-ticket {
    animation: scrapbook 0.6s ease-out forwards;
}

@keyframes scrapbook {
    0% {
        opacity: 0;
        transform: rotate(-5deg) scale(0.8);
    }
    60% {
        transform: rotate(2deg) scale(1.05);
    }
    100% {
        opacity: 1;
        transform: rotate(0deg) scale(1);
    }
}

.hero-box:hover img {
    transform: scale(1.02);
    filter: brightness(1.05);
}

.btn {
    display: inline-block;
    padding: 15px 40px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 18px;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.btn-primary {
    background: #FDB813;
    color: white;
    box-shadow: 0 4px 15px rgba(253, 184, 19, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(253, 184, 19, 0.4);
}

.btn-large {
    padding: 20px 60px;
    font-size: 22px;
}

.limited-spots {
    font-size: 12px;
    color: #999;
    margin: 0;
}

.location {
    font-size: 12px;
    color: #666;
    margin: 0;
    font-style: italic;
}

/* For You Section */
.for-you {
    background: white;
    padding: 80px 20px;
}

.for-you .container {
    max-width: 1500px;
}

.section-title {
    font-size: 63.4px;
    font-weight: 800;
    text-align: center;
    color: #333;
    margin-bottom: 50px;
    line-height: 1.2;
    font-family: 'Paytone One', sans-serif;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.section-title.fade-in-up {
    opacity: 1;
    transform: translateY(0);
}


.section-title-with-paws {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
}

.paw-left,
.paw-right {
    width: 126.8px;
    height: auto;
}

.paw-right {
    transform: scaleX(-1);
}

.section-title-right {
    text-align: right;
    margin-bottom: 20px;
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.section-title-right.slide-in-left {
    opacity: 1;
    transform: translateX(0);
}

.section-title-white {
    font-size: 63.4px;
    font-weight: 800;
    text-align: center;
    color: white;
    margin-bottom: 50px;
    line-height: 1.2;
    font-family: 'Paytone One', sans-serif;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.section-title-white.fade-in-up {
    opacity: 1;
    transform: translateY(0);
}

.section-title-left {
    text-align: left;
    margin-bottom: 20px;
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.section-title-left.slide-in-right {
    opacity: 1;
    transform: translateX(0);
}

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

.checklist {
    list-style: none;
    margin-top: 0;
}

.checklist li {
    padding: 15px 0 15px 95px;
    position: relative;
    font-size: 23.4px;
    line-height: 1.6;
    color: #333;
    font-family: 'Roboto', sans-serif;
    font-weight: 700;
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.checklist li:first-child {
    padding-top: 0;
}

.checklist li.slide-in {
    opacity: 1;
    transform: translateX(0);
}

.checklist li:before {
    content: "";
    position: absolute;
    left: 0;
    width: 75px;
    height: 75px;
    background-image: url('immagini/biscotto.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    top: 50%;
    transform: translateY(-50%);
}

.dog-image {
    width: 100%;
    max-width: 500px;
    /* Rimossi border-radius e box-shadow per rendere l'immagine omogenea allo sfondo */
    opacity: 0;
    transition: opacity 0.8s ease;
}

.dog-image.fade-in {
    opacity: 1;
}

.dog-image-col {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    gap: 40px;
}

/* Not For You Section */
.not-for-you {
    background: #01CFFF;
    padding: 120px 20px;
    position: relative;
    overflow: hidden;
}

.not-for-you .container {
    max-width: 1500px;
}

.not-for-you-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.dog-image-left {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 40px;
}

.dog-image-left .section-title-white {
    margin-left: 0;
    margin-bottom: 0;
}

.dog-image-left img {
    width: 100%;
    max-width: 500px;
    /* Rimossi border-radius e box-shadow per rendere l'immagine omogenea allo sfondo */
    opacity: 0;
    transition: opacity 0.8s ease;
}

.dog-image-left img.fade-in {
    opacity: 1;
}

.not-for-you-text {
    flex: 1;
}

.cross-list {
    list-style: none;
}

.cross-list li {
    padding: 15px 0 15px 95px;
    position: relative;
    font-size: 23.4px;
    line-height: 1.6;
    color: white;
    font-family: 'Roboto', sans-serif;
    font-weight: 700;
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.cross-list li.slide-in {
    opacity: 1;
    transform: translateX(0);
}

.cross-list li:before {
    content: "";
    position: absolute;
    left: 0;
    width: 75px;
    height: 75px;
    background-image: url('immagini/peluche.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    top: 50%;
    transform: translateY(-50%);
}

/* What You Get Section */
.what-you-get {
    background: white;
    padding: 80px 20px;
    position: relative;
    z-index: 20;
}

.paw-decoration {
    position: absolute;
    top: 20px;
    left: 20px;
    opacity: 0.1;
    z-index: 0;
}

.paw-decoration img {
    width: 80px;
    height: auto;
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-bottom: 50px;
}

.card {
    background: #FDB813;
    border-radius: 20px;
    padding: 30px;
    color: white;
    box-shadow: 0 5px 20px rgba(253, 184, 19, 0.2);
    display: flex;
    gap: 20px;
    align-items: flex-start;
    transform-style: preserve-3d;
    will-change: transform;
    opacity: 0;
    transform: perspective(1000px) scale(0.8);
}

.card.pop-in {
    animation: cardPopIn 0.5s ease forwards;
}

/* Dopo l'animazione, rimuovi l'animation per permettere al JS di gestire il transform */
.card.pop-in-done {
    animation: none;
    opacity: 1;
    transform: perspective(1000px) scale(1);
}

@keyframes cardPopIn {
    0% {
        opacity: 0;
        transform: perspective(1000px) scale(0.8);
    }
    100% {
        opacity: 1;
        transform: perspective(1000px) scale(1);
    }
}

.card:hover {
    box-shadow: 0 15px 40px rgba(253, 184, 19, 0.4);
}

.card-icon {
    font-size: 48px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-icon img {
    width: 60px;
    height: 60px;
    object-fit: contain;
}

.card-content {
    flex: 1;
}

.card h3 {
    font-size: 28.8px;
    font-weight: 400;
    margin-bottom: 10px;
    color: #333;
    font-family: 'Paytone One', sans-serif;
}

.card p {
    font-size: 23.4px;
    line-height: 1.5;
    color: white;
    font-family: 'Roboto', sans-serif;
    font-weight: 700;
}

.value-banner {
    text-align: center;
    padding: 30px;
    background: transparent;
    border-radius: 0;
    color: #333;
}

.value-old {
    font-size: 85px;
    font-weight: 800;
    text-decoration: none;
    color: #333;
    margin-right: 30px;
    font-family: 'Paytone One', sans-serif;
    display: inline-block;
}

.price-crossed {
    position: relative;
    display: inline-block;
}

.red-bar {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scaleX(0);
    width: 110%;
    height: auto;
    z-index: 1;
    transition: transform 0.3s ease-out;
}

.red-bar.animate {
    transform: translate(-50%, -50%) scaleX(1);
}

.value-free-wrapper {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.value-free {
    font-size: 103.5px;
    font-weight: 800;
    color: #3FA34D;
    font-family: 'Paytone One', sans-serif;
    line-height: 1;
    position: relative;
    opacity: 0;
    transform: scale(0.5);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.value-free.pop-in {
    opacity: 1;
    transform: scale(1);
}

.value-subtitle {
    font-size: 19.3px;
    margin: 0;
    color: #333;
    font-family: 'Paytone One', sans-serif;
    text-transform: lowercase;
}

/* About Section */
.about {
    background: #3FA34D;
    padding: 120px 20px 150px;
}

.about .container {
    max-width: 1500px;
}

.about-content {
    display: grid;
    grid-template-columns: 45% 1fr;
    gap: 60px;
    align-items: center;
    max-width: 1500px;
    margin: 0 auto;
    padding: 0 20px;
}

.about-image img {
    max-width: 700px;
}

/* Su mobile ingrandisce la foto */
@media (max-width: 768px) {
    .about-image img {
        max-width: none !important;
    }
}

.about-text .section-title-white {
    text-align: left;
    margin-bottom: 10px;
}

.about-image {
    margin-left: -13%;
    position: relative;
}

/* Polaroid vuota - sempre visibile */
.about-image .polaroid-empty {
    width: 100%;
    display: block;
    opacity: 1;
}

/* Foto Vincenzo - sovrapposta, appare in fade lento */
.about-image .polaroid-photo {
    width: 100%;
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 5s ease; /* Rallentato da 3s a 5s */
}

.about-image .polaroid-photo.fade-in-slow {
    opacity: 1;
}

.about-text {
    color: white;
}

.about-text p {
    margin-bottom: 20px;
    font-size: 16px;
    line-height: 1.8;
}

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

.about-text .signature {
    font-family: 'Paytone One', sans-serif !important;
    font-size: 28.8px !important;
    font-weight: 400 !important;
    font-style: normal !important;
    margin-top: 5px;
    margin-bottom: 10px;
}

.about-title-mobile {
    display: none;
}

/* Method Section */
.method {
    background: white;
    padding: 80px 20px;
}

.method .container {
    max-width: 1500px;
}

.method .section-title {
    padding-left: 0;
    margin-left: 0;
    font-size: 97.6px;
    opacity: 1;
    transform: none;
}

.method .method-subtitle {
    padding-left: 0;
    margin-left: 0;
}

.method-subtitle {
    text-align: left;
    font-size: 36.1px;
    color: #333;
    margin-top: -30px;
    margin-bottom: 20px;
    font-family: 'Paytone One', sans-serif;
}

.method-description {
    text-align: left;
    font-size: 28.8px;
    color: #333;
    font-family: 'Roboto', sans-serif;
    font-style: italic;
    margin-top: -30px;
    margin-bottom: 50px;
}

.method-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 50px;
}

.method-card {
    border-radius: 20px;
    padding: 40px 30px;
    color: white;
    position: relative;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    opacity: 0;
    transform: perspective(1000px) rotateY(-90deg) translateX(-100px);
}

.method-card.flip-in {
    animation: flipIn 0.8s ease forwards;
}

@keyframes flipIn {
    0% {
        opacity: 0;
        transform: perspective(1000px) rotateY(-90deg) translateX(-100px);
    }
    50% {
        opacity: 1;
    }
    100% {
        opacity: 1;
        transform: perspective(1000px) rotateY(0deg) translateX(0);
    }
}

.method-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.method-card.yellow {
    background: #FDB813;
}

.method-card.green {
    background: #3FA34D;
}

.method-card.blue {
    background: #01CFFF;
}

.step-number {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 96px;
    font-weight: 800;
    opacity: 0.4;
}

.method-card h3 {
    font-size: 47.1px;
    font-weight: 800;
    margin-bottom: 20px;
}

.method-card p {
    font-size: 19.4px;
    line-height: 1.7;
    margin-bottom: 15px;
}

/* Why It Works Section */
.why-it-works-section {
    background: #FDB813;
    padding: 120px 20px;
}

.why-it-works-section .container {
    max-width: 1500px;
}

.why-it-works-section .section-title {
    color: white;
    text-align: left;
    margin-left: 0;
    font-size: 62.6px;
}

.check-list-orange {
    list-style: none;
    max-width: 1200px;
    margin-left: 0;
}

.check-list-orange li {
    padding: 20px 0 20px 85px;
    position: relative;
    font-size: 32.7px;
    line-height: 1.6;
    color: white;
    font-family: 'Paytone One', sans-serif;
    font-weight: 400;
    opacity: 0;
    transform: translateX(-30px);
    transition: all 0.6s ease;
}

.check-list-orange li.slide-in {
    opacity: 1;
    transform: translateX(0);
}

.check-list-orange li:before {
    content: "";
    position: absolute;
    left: 0;
    width: 60px;
    height: 60px;
    background-image: url('immagini/icona_profilo_cane.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    top: 50%;
    transform: translateY(-50%);
}

/* Testimonials Section */
.testimonials {
    background: white;
    padding: 80px 20px;
}

.testimonials .container {
    max-width: 1500px;
}

.testimonials-subtitle {
    text-align: center;
    font-size: 28.8px;
    color: #333;
    font-family: 'Roboto', sans-serif;
    font-style: italic;
    margin-top: -30px;
    margin-bottom: 50px;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 50px;
}

.testimonial-card {
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transform: translateY(50px) scale(0.8);
}

.testimonial-card.message-pop {
    animation: messagePop 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55) forwards;
}

@keyframes messagePop {
    0% {
        opacity: 0;
        transform: translateY(50px) scale(0.8);
    }
    70% {
        transform: translateY(-10px) scale(1.05);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.testimonial-card img {
    width: 100%;
    height: auto;
    display: block;
}

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

.cta-text {
    font-size: 28.8px;
    font-weight: 700;
    color: #333;
    margin-bottom: 20px;
    font-family: 'Roboto', sans-serif;
}

.cta-link {
    font-size: 28.8px;
    font-family: 'Paytone One', sans-serif;
    font-weight: 400;
    color: #FDB813;
    text-decoration: underline;
}

/* Why Free Section */
.why-free {
    background: #01CFFF;
    padding: 120px 20px 150px;
}

.why-free .container {
    max-width: 1500px;
}

.why-free-intro {
    text-align: center;
    font-size: 28.8px;
    color: white;
    margin-bottom: 30px;
    font-family: 'Roboto', sans-serif;
    font-style: italic;
    margin-top: -30px;
}

.why-free-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.why-free-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.why-free-image img {
    width: 100%;
    max-width: 700px;
}

.why-free-text h3 {
    color: white;
    font-size: 32.7px;
    font-family: 'Paytone One', sans-serif;
    font-weight: 400;
    margin-bottom: 20px;
}

.check-list-white {
    list-style: none;
    margin-bottom: 30px;
}

.check-list-white li {
    padding: 15px 0 15px 75px;
    position: relative;
    font-size: 28.8px;
    line-height: 1.6;
    color: white;
    font-family: 'Roboto', sans-serif;
    font-weight: 700;
    opacity: 0;
    transform: translateX(-30px);
    transition: all 0.6s ease;
}

.check-list-white li.slide-in {
    opacity: 1;
    transform: translateX(0);
}

.check-list-white li:before {
    content: "";
    position: absolute;
    left: 0;
    width: 50px;
    height: 50px;
    background-image: url('immagini/bullet_zampa.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    top: 50%;
    transform: translateY(-50%);
}

.win-win-title {
    font-size: 23.4px;
    font-family: 'Roboto', sans-serif;
    font-weight: 900;
    color: white;
    margin-bottom: 20px;
}

.why-free-text p {
    font-size: 23.4px;
    color: white;
    line-height: 1.8;
    margin-bottom: 15px;
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
}

.why-free-text p strong {
    font-weight: 700;
}

/* What To Do Section */
.what-to-do {
    background: white;
    padding: 80px 20px;
    position: relative;
    z-index: 20;
}

.what-to-do .container {
    max-width: 1400px;
}

.what-to-do .section-title {
    font-size: 86.3px;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    margin-bottom: 5px;
}

.step-box {
    text-align: center;
    padding: 30px 20px;
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.step-box.slide-in-step {
    opacity: 1;
    transform: translateX(0);
}

.step-image {
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.step-image img {
    width: 100%;
    max-width: 120px;
    height: auto;
}

.step-box h3 {
    font-size: 30.8px;
    font-family: 'Paytone One', sans-serif;
    font-weight: 400;
    color: #01CFFF;
    margin-bottom: 10px;
    white-space: nowrap;
}

.step-box p {
    font-size: 27.4px;
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    color: #333;
    line-height: 1.6;
}

.step-box p strong {
    font-weight: 700;
}

.final-cta {
    text-align: center;
    background: transparent;
    padding: 50px 20px;
    border-radius: 0;
}

.btn-large {
    font-size: 46.2px;
    font-family: 'Paytone One', sans-serif;
    font-weight: 400;
    padding: 20px 60px;
    background: #01CFFF;
    color: white;
    margin-bottom: 30px;
    display: inline-block;
}

.start-date,
.spots-available {
    margin-bottom: 15px;
}

.start-date .label,
.spots-available .label {
    font-size: 24.5px;
    font-family: 'Paytone One', sans-serif;
    font-weight: 400;
    color: #333;
}

.start-date .date {
    font-size: 23.3px;
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    color: #333;
}

.spots-available .highlight {
    font-size: 24.5px;
    font-family: 'Paytone One', sans-serif;
    font-weight: 400;
    color: #333;
}

.spots-available .highlight .red {
    color: red;
}

/* FAQ Section */
.faq {
    background: white;
    padding: 20px 20px 80px;
}

.faq .container {
    max-width: 1200px;
}

.faq-item {
    margin-bottom: 20px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    overflow: hidden;
}

.faq-question {
    font-size: 28.8px;
    font-family: 'Paytone One', sans-serif;
    font-weight: 400;
    color: #333;
    background: #f5f5f5;
    padding: 20px 30px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.3s ease;
}

.faq-question:hover {
    background: #e8e8e8;
}

.faq-icon {
    font-size: 36px;
    font-weight: 300;
    color: #01CFFF;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.25s cubic-bezier(0.4, 0, 0.2, 1), padding 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 0 30px;
}

.faq-item.active .faq-answer {
    max-height: 1000px;
    padding: 20px 30px;
}

.faq-answer p {
    font-size: 23.4px;
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    color: #333;
    line-height: 1.8;
    margin: 0;
}

/* Footer */
footer {
    background: #333;
    color: white;
    padding: 40px 20px;
    text-align: center;
}

.footer-logo {
    max-width: 100px;
    height: auto;
    margin-bottom: 0;
}

.footer-brand h3 {
    font-size: 32px;
    font-family: 'Paytone One', sans-serif;
    font-weight: 400;
    color: #FDB813;
    margin-bottom: 10px;
}

.footer-tagline {
    font-size: 18px;
    font-family: 'Roboto', sans-serif;
    font-style: italic;
    color: white;
    margin-bottom: 30px;
}

.footer-info {
    margin-bottom: 20px;
}

.footer-info p {
    font-size: 16px;
    margin-bottom: 8px;
}

.footer-info a {
    color: #01CFFF;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-info a:hover {
    color: #FDB813;
}

.footer-legal {
    margin: 20px 0;
    font-size: 14px;
}

.footer-legal a {
    color: #01CFFF;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-legal a:hover {
    color: #FDB813;
}

.footer-legal .separator {
    color: #999;
    margin: 0 10px;
}

.footer-copy {
    font-size: 14px;
    color: #999;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #555;
}

/* Responsive */
@media (max-width: 1400px) {
    .about-image {
        margin-left: -10%;
    }
}

@media (max-width: 1200px) {
    .hero-content-wrapper {
        padding: 60px 40px 60px 60px;
    }

    .about-image {
        margin-left: -7%;
    }
}

@media (max-width: 1024px) {
    .why-free-content {
        grid-template-columns: 1fr;
    }

    .why-free-image {
        order: 1;
    }

    .why-free-text {
        order: 2;
    }

    .hero-layout {
        grid-template-columns: 1fr;
        position: relative;
    }

    .hero-image {
        max-width: 100%;
        max-height: 400px;
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        z-index: 0;
    }

    .hero-image img {
        object-fit: cover;
        object-position: center center;
        max-height: 400px;
        width: 100%;
    }

    .hero-content-wrapper {
        flex-direction: column;
        text-align: center;
        padding: 60px 20px;
        position: relative;
        z-index: 2;
        min-height: 400px;
        background: linear-gradient(to bottom, transparent 0%, rgba(1, 207, 255, 0.7) 40%, rgba(1, 207, 255, 0.95) 100%);
    }

    .hero-text,
    .hero-box {
        position: relative;
        z-index: 3;
    }

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

    .two-columns .column:first-child {
        order: 2;
    }

    .two-columns .dog-image-col {
        order: 1;
    }

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

    .not-for-you-content {
        grid-template-columns: 1fr;
    }

    .not-for-you-content .dog-image-left {
        order: 1;
    }

    .not-for-you-content .not-for-you-text {
        order: 2;
    }

    .section-title-left {
        text-align: center;
        margin-left: 0 !important;
        padding-left: 0 !important;
    }

    .about-text .section-title-white {
        text-align: center;
    }

    .about-content {
        grid-template-columns: 1fr;
        text-align: center;
        display: flex;
        flex-direction: column;
        gap: 10px !important; /* Usa gap come per i cani */
    }

    .about-title-mobile {
        display: block;
        order: 1;
        text-align: center !important;
        width: 100%;
        margin-bottom: 0 !important; /* Rimosso, usa gap del flexbox */
    }

    .about-title-desktop {
        display: none;
    }

    .about-image {
        margin-left: -20px !important; /* Espande oltre i margini */
        margin-right: -20px !important;
        margin-top: 0;
        margin-bottom: 0 !important; /* Rimosso, usa gap del flexbox */
        display: flex;
        justify-content: center;
        align-items: center;
        order: 2;
        width: calc(100% + 40px) !important; /* Larghezza oltre container */
    }

    .about-image .polaroid-empty {
        max-width: none !important;
        width: 100% !important;
        min-width: 450px !important; /* Dimensione minima più grande */
        margin: 0 auto;
        display: block;
    }

    .about-image .polaroid-photo {
        max-width: none !important;
        width: 100% !important;
        min-width: 450px !important;
        margin: 0;
        display: block;
        left: 50% !important;
        transform: translateX(-50%) !important; /* Centra perfettamente */
    }

    /* Rimuove padding dal container about per far espandere la foto */
    .about .container {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .about-text,
    .about-title-mobile {
        padding-left: 20px !important;
        padding-right: 20px !important;
    }

    .about-text {
        order: 3;
        display: flex;
        flex-direction: column;
        gap: 10px; /* Riduce gap tra elementi */
    }

    .about-text .signature {
        order: 1;
        margin-top: 15px !important; /* Aumenta spazio dalla foto */
        margin-bottom: 0 !important;
    }

    .about-body-text {
        margin-top: 0 !important;
        order: 2;
    }

    .method-steps {
        grid-template-columns: 1fr;
    }

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

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

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

@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }

    /* Riduci padding verticale di tutte le sezioni */
    .for-you {
        padding: 50px 20px !important;
    }

    .not-for-you {
        padding: 60px 20px !important;
    }

    .what-you-get {
        padding: 50px 20px !important;
    }

    .about {
        padding: 60px 20px 70px !important;
    }

    .method {
        padding: 50px 20px !important;
    }

    .why-it-works-section {
        padding: 60px 20px !important;
    }

    .testimonials {
        padding: 50px 20px !important;
    }

    .why-free {
        padding: 60px 20px 70px !important;
    }

    .what-to-do {
        padding: 50px 20px !important;
    }

    .faq {
        padding: 20px 20px 50px !important;
    }

    .hero-content-wrapper {
        padding: 40px 20px !important;
    }

    .hero-text h1 {
        font-size: 32px;
        min-height: auto;
    }

    .hero-subtitle {
        font-size: 18px;
        min-height: auto;
    }

    .section-title,
    .section-title-white {
        font-size: 42px;
        margin-bottom: 30px !important;
    }

    .paw-left,
    .paw-right {
        width: 60px;
    }

    .section-title-with-paws {
        gap: 15px;
    }

    .method .section-title {
        font-size: 48px;
        margin-bottom: 20px !important;
    }

    .method-subtitle {
        font-size: 18px;
        text-align: center;
        margin-bottom: 15px !important;
        margin-top: -15px !important;
    }

    .subtitle-break {
        display: block;
    }

    .method-description {
        font-size: 18px;
        text-align: center;
        margin-bottom: 30px !important;
        margin-top: -15px !important;
    }

    .cards-grid,
    .method-steps,
    .testimonials-grid {
        gap: 20px !important;
        margin-bottom: 30px !important;
    }

    .card {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    .what-you-get .container {
        overflow: visible !important;
    }

    /* Mantiene spazio normale tra colonne */
    .two-columns {
        gap: 40px !important;
    }

    .not-for-you-content {
        gap: 40px !important;
    }

    /* Riduce gap tra titolo e immagine cane */
    .dog-image-col {
        gap: 10px !important;
    }

    .dog-image-left {
        gap: 10px !important;
    }

    .not-for-you-content {
        flex-direction: column;
    }

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

    .big-number {
        font-size: 56px;
    }

    .btn {
        padding: 12px 30px;
        font-size: 16px;
    }

    .btn-large {
        padding: 20px 40px !important;
        font-size: 28px !important;
    }

    .checklist li,
    .cross-list li {
        font-size: 18px;
        padding-left: 70px;
    }

    .checklist li:before,
    .cross-list li:before {
        width: 50px;
        height: 50px;
    }

    .value-old {
        font-size: 48px;
        display: block;
        margin-right: 0;
        margin-bottom: 10px;
    }

    .value-free {
        font-size: 64px;
    }

    .value-subtitle {
        font-size: 16px;
    }

    .check-list-orange li {
        font-size: 20px;
        padding-left: 70px;
    }

    .check-list-orange li:before {
        width: 50px;
        height: 50px;
    }

    .check-list-white li {
        font-size: 18px;
        padding-left: 65px;
    }

    .check-list-white li:before {
        width: 45px;
        height: 45px;
    }

    .why-free-text h3 {
        font-size: 24px;
    }

    .why-free-text p {
        font-size: 16px;
    }

    .step-box h3 {
        font-size: 22px;
        white-space: normal;
    }

    .step-box p {
        font-size: 18px;
    }

    .faq-question {
        font-size: 18px;
        padding: 15px 20px;
    }

    .faq-answer p {
        font-size: 16px;
    }

    .faq-icon {
        font-size: 28px;
    }

    .card h3 {
        font-size: 20px;
    }

    .card p {
        font-size: 16px;
    }

    .method-card h3 {
        font-size: 32px;
    }

    .method-card p {
        font-size: 16px;
    }

    .testimonials-subtitle {
        font-size: 18px;
    }

    .cta-text,
    .cta-link {
        font-size: 20px;
    }

    .what-to-do .section-title {
        font-size: 48px;
    }

    .start-date .label,
    .spots-available .label,
    .spots-available .highlight {
        font-size: 18px;
    }

    .start-date .date {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .section-title,
    .section-title-white {
        font-size: 32px !important;
    }

    .hero-text h1 {
        font-size: 24px !important;
    }

    .hero-subtitle {
        font-size: 16px !important;
    }

    .hero-box {
        margin-left: 0;
        margin-right: 0;
    }

    .checklist li,
    .cross-list li {
        font-size: 16px;
    }

    .about-image {
        max-width: 100% !important;
        overflow: visible !important;
    }

    .about-image .polaroid-empty {
        max-width: none !important;
        width: 100% !important;
        min-width: 400px !important;
        height: auto !important;
        margin: 0 auto;
    }

    .about-image .polaroid-photo {
        max-width: none !important;
        width: 100% !important;
        min-width: 400px !important;
        height: auto !important;
        left: 50% !important;
        transform: translateX(-50%) !important; /* Centra perfettamente */
    }
}
