/* ===================================
   Jessica Parenti — Psicologa
   Redesign — Rosa Antico + Grigio Caldo
   =================================== */

/* --- Reset & Base --- */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* --- Animated gradient @property declarations --- */
@property --grad-a {
    syntax: '<color>';
    inherits: false;
    initial-value: #FBF8F6;
}
@property --grad-b {
    syntax: '<color>';
    inherits: false;
    initial-value: #F5EDED;
}
@property --grad-c {
    syntax: '<color>';
    inherits: false;
    initial-value: #f0ddd7;
}

:root {
    --rosa-primario: #C9A7A1;
    --rosa-chiaro: #F5EDED;
    --grigio-caldo: #4A4347;
    --grigio-medio: #9A8C98;
    --crema: #FBF8F6;
    --rosa-intenso: #B07B70;
    --bianco: #FFFFFF;

    --font-heading: 'Cormorant Garamond', Georgia, serif;
    --font-body: 'Nunito Sans', -apple-system, sans-serif;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 70px;
}

body {
    font-family: var(--font-body);
    color: var(--grigio-caldo);
    line-height: 1.7;
    font-size: 16px;
    background: var(--crema);
    -webkit-font-smoothing: antialiased;
}

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

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

ul {
    list-style: none;
}

.container {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* --- Navbar --- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(251, 248, 246, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.navbar.scrolled {
    border-bottom-color: rgba(201, 167, 161, 0.2);
    box-shadow: 0 2px 24px rgba(74, 67, 71, 0.06);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}

.nav-logo {
    display: flex;
    align-items: center;
    color: var(--grigio-caldo);
}

.nav-logo-svg {
    height: 70px;
    width: auto;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-link {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--grigio-caldo);
    transition: color 0.3s;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--rosa-primario);
    transition: width 0.3s;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link:hover {
    color: var(--rosa-intenso);
}

.nav-link--cta {
    background: var(--rosa-intenso);
    color: var(--bianco) !important;
    padding: 8px 22px;
    border-radius: 24px;
    transition: background 0.3s, transform 0.3s;
}

.nav-link--cta::after {
    display: none;
}

.nav-link--cta:hover {
    background: #9d6a60;
    transform: translateY(-1px);
}

/* Hamburger */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.hamburger {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--grigio-caldo);
    position: relative;
    transition: background 0.3s;
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    left: 0;
    width: 24px;
    height: 2px;
    background: var(--grigio-caldo);
    transition: transform 0.3s;
}

.hamburger::before {
    top: -7px;
}

.hamburger::after {
    top: 7px;
}

.nav-toggle.active .hamburger {
    background: transparent;
}

.nav-toggle.active .hamburger::before {
    top: 0;
    transform: rotate(45deg);
}

.nav-toggle.active .hamburger::after {
    top: 0;
    transform: rotate(-45deg);
}

/* --- Buttons --- */
.btn {
    display: inline-block;
    padding: 14px 36px;
    border-radius: 30px;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s, background 0.3s;
    border: none;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(176, 123, 112, 0.2);
}

.btn-primary {
    background: var(--rosa-intenso);
    color: var(--bianco);
}

.btn-primary:hover {
    background: #9d6a60;
}

.btn-light {
    background: var(--bianco);
    color: var(--rosa-intenso);
    font-weight: 700;
}

.btn-light:hover {
    background: var(--crema);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.3);
}

/* --- Hero --- */
/* --- Hero: animated gradient + organic blobs --- */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(135deg, var(--grad-a), var(--grad-b), var(--grad-c));
    animation: hero-gradient 10s ease-in-out infinite alternate;
    padding: 100px 20px 60px;
    position: relative;
    overflow: hidden;
}

@keyframes hero-gradient {
    0% {
        --grad-a: #FBF8F6;
        --grad-b: #F5EDED;
        --grad-c: #f0ddd7;
    }
    33% {
        --grad-a: #F5EDED;
        --grad-b: #f2ddd6;
        --grad-c: #FBF8F6;
    }
    66% {
        --grad-a: #f0ddd7;
        --grad-b: #FBF8F6;
        --grad-c: #F5EDED;
    }
    100% {
        --grad-a: #f5e6e2;
        --grad-b: #F5EDED;
        --grad-c: #FBF8F6;
    }
}

/* Organic floating blobs */
.hero-blob {
    position: absolute;
    border-radius: 62% 38% 46% 54% / 60% 44% 56% 40%;
    opacity: 0.35;
    pointer-events: none;
    will-change: transform, border-radius;
}

.hero-blob--1 {
    width: 550px;
    height: 480px;
    top: -10%;
    right: -8%;
    background: radial-gradient(ellipse at 30% 40%, #d4b5b0, #e8cec8);
    animation: blob-morph-1 18s ease-in-out infinite alternate;
    z-index: 0;
}

.hero-blob--2 {
    width: 420px;
    height: 400px;
    bottom: -5%;
    left: -6%;
    background: radial-gradient(ellipse at 60% 50%, #e0c4be, #f0ddd7);
    animation: blob-morph-2 22s ease-in-out infinite alternate;
    z-index: 0;
}

.hero-blob--3 {
    width: 300px;
    height: 280px;
    top: 20%;
    left: 15%;
    background: radial-gradient(ellipse at 50% 50%, #f2ddd6, #f8ece8);
    animation: blob-morph-3 15s ease-in-out infinite alternate;
    opacity: 0.25;
    z-index: 0;
}

@keyframes blob-morph-1 {
    0% {
        border-radius: 62% 38% 46% 54% / 60% 44% 56% 40%;
        transform: translate(0, 0) rotate(0deg) scale(1);
    }
    25% {
        border-radius: 44% 56% 58% 42% / 48% 60% 40% 52%;
    }
    50% {
        border-radius: 52% 48% 40% 60% / 56% 38% 62% 44%;
        transform: translate(-30px, 20px) rotate(15deg) scale(1.04);
    }
    75% {
        border-radius: 38% 62% 54% 46% / 42% 58% 42% 58%;
    }
    100% {
        border-radius: 58% 42% 50% 50% / 52% 48% 52% 48%;
        transform: translate(15px, -10px) rotate(-8deg) scale(0.97);
    }
}

@keyframes blob-morph-2 {
    0% {
        border-radius: 48% 52% 60% 40% / 55% 42% 58% 45%;
        transform: translate(0, 0) rotate(0deg) scale(1);
    }
    33% {
        border-radius: 55% 45% 42% 58% / 46% 60% 40% 54%;
        transform: translate(20px, -15px) rotate(-12deg) scale(1.05);
    }
    66% {
        border-radius: 40% 60% 55% 45% / 58% 48% 52% 42%;
        transform: translate(-10px, 25px) rotate(10deg) scale(0.96);
    }
    100% {
        border-radius: 56% 44% 48% 52% / 44% 56% 44% 56%;
        transform: translate(10px, -20px) rotate(-5deg) scale(1.02);
    }
}

@keyframes blob-morph-3 {
    0% {
        border-radius: 52% 48% 44% 56% / 58% 40% 60% 42%;
        transform: translate(0, 0) rotate(0deg);
    }
    50% {
        border-radius: 42% 58% 56% 44% / 44% 56% 44% 56%;
        transform: translate(25px, 15px) rotate(20deg);
    }
    100% {
        border-radius: 56% 44% 50% 50% / 50% 50% 50% 50%;
        transform: translate(-15px, -10px) rotate(-15deg);
    }
}

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

.hero-title {
    font-family: var(--font-heading);
    font-size: 3.2rem;
    font-weight: 600;
    color: var(--grigio-caldo);
    margin-bottom: 8px;
    letter-spacing: -0.01em;
}

.hero-subtitle {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 500;
    color: var(--rosa-intenso);
    margin-bottom: 20px;
    letter-spacing: 0.04em;
}

.hero-subtitle em {
    font-style: italic;
}

.hero-locations {
    font-size: 1.05rem;
    color: var(--grigio-medio);
    margin-bottom: 40px;
    letter-spacing: 0.02em;
}

/* Hero animation initial states */
.hero-anim {
    opacity: 0;
    transform: translateY(20px);
}

.hero-anim.visible {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

/* --- Sections --- */
.section {
    padding: 80px 0;
}

.section--white {
    background: var(--bianco);
}

.section--pink {
    background: var(--rosa-chiaro);
}

.section--contatti {
    background: linear-gradient(135deg, var(--rosa-primario) 0%, var(--rosa-intenso) 100%);
    color: var(--bianco);
    position: relative;
    overflow: hidden;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 600;
    text-align: center;
    margin-bottom: 12px;
    color: var(--grigio-caldo);
}

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

/* Botanical separator (replaces the line under titles) */
.section-separator {
    display: block;
    width: 160px;
    height: 20px;
    margin: 0 auto 40px;
}

.section-separator--top {
    margin: 0 auto 20px;
}

/* --- Chi Sono --- */
.chi-sono-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
}

.chi-sono-photo {
    position: relative;
    flex-shrink: 0;
}

.photo-deco {
    position: absolute;
    top: -20px;
    left: -30px;
    width: calc(100% + 60px);
    height: calc(100% + 40px);
    pointer-events: none;
    z-index: 0;
}

.chi-sono-img {
    width: 280px;
    height: 340px;
    object-fit: cover;
    object-position: center top;
    border-radius: 60% 40% 55% 45% / 50% 60% 40% 50%;
    box-shadow: 0 12px 40px rgba(201, 167, 161, 0.25);
    position: relative;
    z-index: 1;
}

.chi-sono-text p {
    margin-bottom: 16px;
    font-size: 1.05rem;
    line-height: 1.8;
}

.chi-sono-text p:last-child {
    margin-bottom: 0;
}

/* --- Cards Grid (Aree di Intervento) --- */
.cards-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.card {
    background: var(--bianco);
    border-radius: 20px;
    padding: 32px 28px;
    box-shadow: 0 2px 12px rgba(74, 67, 71, 0.04);
    border-left: 3px solid var(--rosa-primario);
    transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 36px rgba(74, 67, 71, 0.1);
    border-left-color: var(--rosa-intenso);
}

.card-icon {
    width: 40px;
    height: 40px;
    margin-bottom: 14px;
}

/* Icon variants — only one visible at a time */
.card-icon .icon {
    display: none;
    width: 40px;
    height: 40px;
}

/* Default: show line icons */
.card-icon .icon-line {
    display: block;
}

/* Switch to filled: add class .icon-style-filled to .cards-grid or body */
.icon-style-filled .card-icon .icon-line {
    display: none;
}
.icon-style-filled .card-icon .icon-filled {
    display: block;
}

/* Switch to duotone: add class .icon-style-duotone to .cards-grid or body */
.icon-style-duotone .card-icon .icon-line {
    display: none;
}
.icon-style-duotone .card-icon .icon-duotone {
    display: block;
}

.card-title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--grigio-caldo);
}

.card-text {
    font-size: 0.95rem;
    color: var(--grigio-medio);
    line-height: 1.65;
}

/* --- Come Lavoro --- */
.come-lavoro-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
}

.come-lavoro-block {
    position: relative;
    padding-left: 40px;
}

.come-lavoro-leaf {
    position: absolute;
    top: 2px;
    left: 0;
    width: 28px;
    height: 28px;
}

.come-lavoro-leaf svg {
    width: 100%;
    height: 100%;
}

.come-lavoro-block h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--rosa-intenso);
    margin-bottom: 10px;
}

.come-lavoro-block p {
    font-size: 1.02rem;
    line-height: 1.8;
}

/* --- Studio --- */
.studio-content {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.studio-info {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.studio-detail {
    position: relative;
}

.studio-icon {
    width: 24px;
    height: 24px;
    margin-bottom: 6px;
}

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

.studio-detail h3 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--rosa-intenso);
    margin-bottom: 6px;
}

.studio-detail p {
    font-size: 1rem;
    line-height: 1.6;
}

.studio-map {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(74, 67, 71, 0.08);
}

.studio-map iframe {
    display: block;
}

/* --- Studio Tabs --- */
.studio-tabs {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 32px;
}

.studio-tab {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 600;
    padding: 10px 28px;
    border: 2px solid var(--rosa-primario);
    border-radius: 30px;
    background: transparent;
    color: var(--grigio-caldo);
    cursor: pointer;
    transition: background 0.3s, color 0.3s, border-color 0.3s;
}

.studio-tab:hover {
    border-color: var(--rosa-intenso);
    color: var(--rosa-intenso);
}

.studio-tab.active {
    background: var(--rosa-intenso);
    border-color: var(--rosa-intenso);
    color: var(--bianco);
}

.studio-tab-content {
    display: none;
}

.studio-tab-content.active {
    display: block;
    animation: tab-fade 0.4s ease-out;
}

@keyframes tab-fade {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}


/* --- Contatti --- */
.contatti-deco {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 500px;
    pointer-events: none;
}

.contatti-intro {
    text-align: center;
    font-size: 1.1rem;
    margin-bottom: 40px;
    opacity: 0.92;
}

.contatti-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    max-width: 700px;
    margin: 0 auto 40px;
}

.contatto-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 28px 24px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 16px;
    transition: background 0.3s, transform 0.3s;
    text-align: center;
}

a.contatto-card:hover {
    background: rgba(255, 255, 255, 0.22);
    transform: translateY(-2px);
}

.contatto-icon {
    width: 28px;
    height: 28px;
    margin-bottom: 10px;
    opacity: 0.9;
}

.contatto-label {
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    opacity: 0.75;
    margin-bottom: 6px;
    font-weight: 600;
}

.contatto-value {
    font-size: 1.1rem;
    font-weight: 700;
}

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

.contatti-cta p {
    margin-bottom: 20px;
    font-size: 1.02rem;
    opacity: 0.9;
}

/* --- Footer --- */
.footer {
    background: var(--grigio-caldo);
    color: rgba(255, 255, 255, 0.7);
    padding: 0 0 24px;
    font-size: 0.9rem;
    position: relative;
}

.footer-deco {
    display: block;
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
    height: 30px;
    padding-top: 8px;
}

.footer-content {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 24px;
    padding-top: 24px;
}

.footer-logo {
    display: flex;
    align-items: center;
}

.footer-logo-svg {
    height: 85px;
    width: auto;
    color: rgba(255, 255, 255, 0.85);
}

.footer-info p {
    margin-bottom: 4px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-links a {
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--bianco);
}

.footer-copy {
    text-align: center;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.82rem;
    opacity: 0.5;
}

/* --- Cookie Banner --- */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 2000;
    background: var(--bianco);
    box-shadow: 0 -4px 24px rgba(74, 67, 71, 0.1);
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.cookie-banner[hidden] {
    display: block;
    visibility: hidden;
}

.cookie-banner.visible {
    transform: translateY(0);
    visibility: visible;
}

.cookie-banner__content {
    max-width: 1100px;
    margin: 0 auto;
    padding: 20px 24px;
    display: flex;
    align-items: center;
    gap: 20px;
    position: relative;
}

.cookie-banner__content p {
    flex: 1;
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--grigio-caldo);
    margin: 0;
    padding-right: 24px;
}

.cookie-banner__content p a {
    color: var(--rosa-intenso);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.cookie-banner__content p a:hover {
    color: #9d6a60;
}

.cookie-banner__actions {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
}

.btn-cookie-reject,
.btn-cookie-accept {
    padding: 10px 24px;
    border-radius: 24px;
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    border: 2px solid var(--rosa-intenso);
    transition: background 0.3s, color 0.3s, transform 0.2s;
}

.btn-cookie-reject {
    background: transparent;
    color: var(--rosa-intenso);
}

.btn-cookie-reject:hover {
    background: var(--rosa-chiaro);
}

.btn-cookie-accept {
    background: var(--rosa-intenso);
    color: var(--bianco);
}

.btn-cookie-accept:hover {
    background: #9d6a60;
    border-color: #9d6a60;
}

.cookie-banner__close {
    position: absolute;
    top: 8px;
    right: 12px;
    background: none;
    border: none;
    font-size: 1.4rem;
    color: var(--grigio-medio);
    cursor: pointer;
    padding: 4px 8px;
    line-height: 1;
    transition: color 0.3s;
}

.cookie-banner__close:hover {
    color: var(--grigio-caldo);
}

@media (max-width: 767px) {
    .cookie-banner__content {
        flex-direction: column;
        text-align: center;
        padding: 24px 20px 20px;
    }

    .cookie-banner__content p {
        padding-right: 0;
        font-size: 0.85rem;
    }

    .cookie-banner__actions {
        width: 100%;
        justify-content: center;
    }

    .btn-cookie-reject,
    .btn-cookie-accept {
        flex: 1;
        max-width: 160px;
    }
}

/* --- Animations --- */
.fade-in {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===================================
   Tablet — 768px+
   =================================== */
@media (min-width: 768px) {
    .container {
        padding: 0 40px;
    }

    .nav-toggle {
        display: none;
    }

    .nav-menu {
        display: flex !important;
    }

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

    .hero-subtitle {
        font-size: 2.2rem;
    }

    .section {
        padding: 100px 0;
    }

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

    /* Chi Sono: side by side */
    .chi-sono-content {
        flex-direction: row;
        align-items: flex-start;
        gap: 50px;
    }

    .chi-sono-img {
        width: 320px;
        height: 400px;
    }

    /* Cards: 2 columns */
    .cards-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }

    /* Center the last card when odd */
    .cards-grid .card:last-child:nth-child(odd) {
        grid-column: 1 / -1;
        max-width: calc(50% - 12px);
        justify-self: center;
    }

    /* Come Lavoro: 2 columns */
    .come-lavoro-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }

    /* Studio: side by side */
    .studio-content {
        flex-direction: row;
        align-items: flex-start;
    }

    .studio-info {
        flex: 0 0 38%;
    }

    .studio-map {
        flex: 1;
    }

    /* Contatti: row */
    .contatti-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    /* Footer */
    .footer-content {
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-start;
    }

    .footer-links {
        align-items: flex-end;
    }
}

/* ===================================
   Mobile — under 768px
   =================================== */
@media (max-width: 767px) {
    .nav-toggle {
        display: block;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 75%;
        max-width: 320px;
        height: 100vh;
        background: var(--crema);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 32px;
        z-index: 999;
        box-shadow: -4px 0 30px rgba(74, 67, 71, 0.1);
        transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .nav-menu.open {
        right: 0;
    }

    /* Overlay behind menu */
    .nav-menu::before {
        content: '';
        position: fixed;
        top: 0;
        left: -100vw;
        width: 100vw;
        height: 100vh;
        background: rgba(74, 67, 71, 0.3);
        opacity: 0;
        transition: opacity 0.4s;
        pointer-events: none;
    }

    .nav-menu.open::before {
        opacity: 1;
        pointer-events: auto;
    }

    .nav-link {
        font-size: 1.15rem;
    }

    .nav-link--cta {
        margin-top: 8px;
        padding: 12px 32px;
        font-size: 1.05rem;
    }

    .hero {
        min-height: 90vh;
        padding: 90px 20px 50px;
    }

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

    .hero-subtitle {
        font-size: 1.6rem;
    }

    .section {
        padding: 60px 0;
    }

    .section-title {
        font-size: 1.85rem;
        margin-bottom: 10px;
    }

    .section-separator {
        margin-bottom: 32px;
    }

    .chi-sono-img {
        width: 220px;
        height: 270px;
    }
}

/* ===================================
   Desktop — 1024px+
   =================================== */
@media (min-width: 1024px) {
    .cards-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    /* Center last card when 7 items in 3-col grid */
    .cards-grid .card:last-child:nth-child(3n + 1) {
        grid-column: 2 / 3;
        max-width: 100%;
    }

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

}
