/* ========================================
   PAGES.CSS, Giardini Fioriti
   Page-specific styles
   ======================================== */

/* ========================================
   LANDING PAGES (Ads — /preventivo-*)
   ======================================== */
.lp-hero {
    padding: 8rem 4rem 4rem;
    padding-top: max(8rem, calc(7rem + env(safe-area-inset-top)));
    background: linear-gradient(160deg, var(--cream, #f5f7f2) 0%, white 60%, var(--light-green-bg, #f0f6ec) 100%);
}
.lp-hero-content {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 4rem;
    align-items: center;
}
.lp-hero-text h1 {
    font-family: 'EB Garamond', serif;
    font-size: clamp(2.5rem, 5vw, 4rem);
    line-height: 1.1;
    margin: 0.8rem 0 1.5rem;
    color: var(--text-dark);
}
.lp-hero-subtitle {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--text-dark);
    opacity: 0.85;
    margin-bottom: 1.8rem;
    max-width: 56ch;
}
.lp-trust-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 1.2rem 1.6rem;
    margin: 1.5rem 0 2rem;
    padding: 1rem 1.2rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.05);
}
.lp-trust-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.88rem;
    color: var(--text-dark);
}
.lp-cta-row {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    align-items: center;
}
.lp-cta-phone {
    display: flex;
    flex-direction: column;
    line-height: 1.3;
    text-decoration: none;
    color: var(--primary);
    padding: 0.8rem 1.4rem;
    border: 1.5px solid var(--primary);
    border-radius: 8px;
    transition: all 0.2s;
}
.lp-cta-phone:hover {
    background: var(--primary);
    color: white;
}
.lp-cta-phone-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    opacity: 0.8;
}
.lp-cta-phone strong {
    font-size: 1.1rem;
    font-weight: 600;
}
.lp-hero-form {
    background: white;
    padding: 2.2rem;
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.08);
    border-top: 4px solid var(--primary);
}
.lp-form-badge {
    display: inline-block;
    background: var(--cream);
    color: var(--primary);
    font-size: 0.78rem;
    font-weight: 600;
    padding: 0.35rem 0.75rem;
    border-radius: 100px;
    margin-bottom: 0.8rem;
    letter-spacing: 0.2px;
}
.lp-form-title {
    font-family: 'EB Garamond', serif;
    font-size: 1.8rem;
    margin: 0 0 0.4rem;
    color: var(--primary);
}
.lp-form-sub {
    font-size: 0.9rem;
    opacity: 0.75;
    margin: 0 0 1.4rem;
}
.lp-form-submit {
    width: 100%;
    justify-content: center;
    margin-top: 0.6rem;
}
.lp-services { padding: 5rem 4rem; }
.lp-services-wrapper { max-width: 1280px; margin: 0 auto; }
.lp-services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 2.5rem;
}
.lp-service-card {
    background: white;
    border-radius: 16px;
    padding: 1.8rem 1.5rem;
    box-shadow: 0 2px 14px rgba(0,0,0,0.04);
    border: 1px solid rgba(0,0,0,0.04);
}
.lp-service-icon {
    width: 56px;
    height: 56px;
    background: var(--cream);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}
.lp-service-card h3 {
    font-family: 'EB Garamond', serif;
    font-size: 1.25rem;
    margin: 0 0 0.5rem;
    color: var(--text-dark);
}
.lp-service-card p {
    font-size: 0.92rem;
    line-height: 1.55;
    margin: 0;
    opacity: 0.8;
}
.lp-why {
    padding: 5rem 4rem;
    background: var(--cream);
}
.lp-why-wrapper {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
    align-items: center;
}
.lp-why-list { list-style: none; padding: 0; margin: 1.5rem 0 0; }
.lp-why-list li {
    padding: 0.6rem 0 0.6rem 2rem;
    position: relative;
    line-height: 1.55;
}
.lp-why-list li::before {
    content: "✓";
    position: absolute;
    left: 0; top: 0.55rem;
    width: 22px; height: 22px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    text-align: center;
    line-height: 22px;
    font-size: 0.75rem;
    font-weight: 700;
}
.lp-why-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}
.lp-process { padding: 5rem 4rem; }
.lp-process-wrapper { max-width: 1280px; margin: 0 auto; }
.lp-process-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}
.lp-process-step { text-align: center; }
.lp-process-num {
    width: 56px; height: 56px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-family: 'EB Garamond', serif;
    font-size: 1.6rem; font-weight: 700;
    margin: 0 auto 1rem;
}
.lp-process-step h4 {
    font-family: 'EB Garamond', serif;
    font-size: 1.2rem;
    margin: 0 0 0.5rem;
}
.lp-process-step p {
    font-size: 0.92rem;
    line-height: 1.5;
    opacity: 0.8;
}
.lp-areas {
    padding: 5rem 4rem;
    background: var(--cream);
}
.lp-areas-wrapper { max-width: 1280px; margin: 0 auto; }
.lp-areas-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.2rem;
    margin-top: 2.5rem;
}
.lp-area-card {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    text-decoration: none;
    color: var(--text-dark);
    transition: all 0.25s;
    border: 1px solid transparent;
}
.lp-area-card:hover {
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.06);
}
.lp-area-card h4 {
    font-family: 'EB Garamond', serif;
    margin: 0 0 0.3rem;
    color: var(--primary);
}
.lp-area-card p {
    font-size: 0.85rem;
    margin: 0;
    opacity: 0.7;
}
.lp-cta-final {
    padding: 5rem 4rem;
    background: linear-gradient(135deg, var(--primary), var(--dark-green));
    color: white;
    text-align: center;
}
.lp-cta-final-wrapper { max-width: 720px; margin: 0 auto; }
.lp-cta-final h2 {
    font-family: 'EB Garamond', serif;
    font-size: 2.5rem;
    margin: 0 0 0.6rem;
    color: white;
}
.lp-cta-final p {
    font-size: 1.1rem;
    opacity: 0.9;
    margin: 0 0 2rem;
}
.lp-cta-final .lp-cta-row { justify-content: center; }
.lp-cta-final .btn-primary {
    background: white;
    color: var(--primary);
}
.lp-cta-final .btn-primary:hover { background: var(--cream); }
.lp-cta-phone-final {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: white;
    padding: 0.8rem 1.4rem;
    border: 1.5px solid rgba(255,255,255,0.4);
    border-radius: 8px;
    line-height: 1.3;
}
.lp-cta-phone-final strong { font-size: 1.2rem; }
.lp-cta-phone-final span { font-size: 0.78rem; opacity: 0.8; }

/* Ads-ready blocco per /giardiniere-{città} */
.lp-localpage-cta {
    padding: 3rem 4rem;
    background: white;
    border-bottom: 1px solid rgba(0,0,0,0.06);
}
.lp-localpage-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: 3rem;
    align-items: center;
}
.lp-localpage-info { padding-right: 1rem; }
.lp-localpage-h2 {
    font-family: 'EB Garamond', serif;
    font-size: 1.9rem;
    margin: 1rem 0 0.6rem;
    color: var(--text-dark);
    line-height: 1.2;
}
.lp-localpage-info p {
    line-height: 1.55;
    margin-bottom: 1.2rem;
    opacity: 0.85;
}
.lp-cta-phone-big {
    display: inline-flex;
    align-items: center;
    gap: 0.9rem;
    padding: 0.9rem 1.4rem;
    background: var(--primary);
    color: white;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.2s;
    line-height: 1.2;
}
.lp-cta-phone-big:hover {
    background: var(--dark-green, #1a3a1a);
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(0,111,59,0.25);
}
.lp-cta-phone-big > span {
    display: flex;
    flex-direction: column;
}
.lp-cta-phone-big .lp-cta-phone-label {
    font-size: 0.75rem;
    letter-spacing: 0.5px;
    opacity: 0.85;
    text-transform: uppercase;
    color: white;
}
.lp-cta-phone-big strong {
    font-size: 1.3rem;
    font-weight: 600;
}
.lp-localpage-form {
    background: var(--cream);
    padding: 1.8rem;
    border-radius: 14px;
    border-top: 4px solid var(--primary);
}
.lp-localpage-form h3 {
    font-family: 'EB Garamond', serif;
    font-size: 1.5rem;
    margin: 0 0 1rem;
    color: var(--primary);
}
@media (max-width: 1023px) {
    .lp-localpage-cta { padding: 2.5rem 1.5rem; }
    .lp-localpage-wrapper { grid-template-columns: 1fr; gap: 2rem; }
    .lp-localpage-info { padding-right: 0; }
    .lp-localpage-h2 { font-size: 1.6rem; }
}

@media (max-width: 1023px) {
    .lp-hero { padding: 7rem 1.5rem 3rem; }
    .lp-hero-content { grid-template-columns: 1fr; gap: 2.5rem; }
    .lp-services, .lp-why, .lp-process, .lp-areas, .lp-cta-final { padding: 3.5rem 1.5rem; }
    .lp-services-grid { grid-template-columns: repeat(2, 1fr); }
    .lp-why-wrapper { grid-template-columns: 1fr; gap: 2rem; }
    .lp-process-steps { grid-template-columns: repeat(2, 1fr); }
    .lp-areas-grid { grid-template-columns: repeat(2, 1fr); }
    .lp-cta-final h2 { font-size: 2rem; }
}
@media (max-width: 600px) {
    .lp-services-grid, .lp-process-steps, .lp-areas-grid, .lp-why-stats { grid-template-columns: 1fr; }
    .lp-cta-row { flex-direction: column; align-items: stretch; }
}


/* ---- Home: Services Section ---- */
.services {
    background: var(--warm-white);
}

.services-wrapper {
    max-width: 1400px;
    margin: 0 auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

/* ---- Home: Featured / Approach Section ---- */
.featured {
    background: var(--primary);
    color: white;
    position: relative;
    overflow: hidden;
}

.featured-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.featured::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -15%;
    width: 500px;
    height: 500px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 50%;
    z-index: 2;
    pointer-events: none;
}

.featured::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 111, 59, 0.88);
    z-index: 1;
}

.featured-shape {
    position: absolute;
    border-radius: 50%;
    z-index: 2;
    pointer-events: none;
}

.featured-shape-1 {
    bottom: -20%;
    left: -8%;
    width: 400px;
    height: 400px;
    background: rgba(255, 255, 255, 0.04);
}

.featured-shape-2 {
    top: 20%;
    right: 30%;
    width: 200px;
    height: 200px;
    background: rgba(255, 255, 255, 0.03);
}

.featured-wrapper {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
    position: relative;
    z-index: 3;
}

.featured .section-label {
    color: var(--light-green);
}

.featured .section-title {
    color: white;
    font-size: clamp(2.2rem, 4vw, 3rem);
}

.featured .section-description {
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 2rem;
}

.featured-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.featured-visual {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    align-content: center;
}

/* ---- Home: Process Section ---- */
.process {
    background: var(--cream);
}

.process-wrapper {
    max-width: 1000px;
    margin: 0 auto;
}

/* ---- Home: Portfolio Preview ---- */
.portfolio-preview-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    max-width: 1400px;
    margin: 0 auto;
}

.portfolio-preview-cta {
    text-align: center;
    margin-top: 3rem;
}

/* ---- Home: Credentials ---- */
.credentials {
    background: var(--warm-white);
}

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

.credential-card {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    border: 1px solid rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: all 0.3s ease;
}

.credential-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
}

.credential-icon {
    width: 56px;
    height: 56px;
    background: var(--background-green);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.2rem;
}

.credential-card h4 {
    font-size: 1.1rem;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.credential-card p {
    font-size: 0.88rem;
    color: var(--text-medium);
    line-height: 1.6;
}

/* ---- Home: Contact Section ---- */
.contact {
    background: linear-gradient(135deg, var(--background-green) 0%, var(--cream) 100%);
}

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

.contact-info .section-title {
    margin-bottom: 1.5rem;
}

.contact-info > p {
    color: var(--text-medium);
    margin-bottom: 2.5rem;
}

/* ---- Servizi Overview Page ---- */
.page-hero {
    padding: 10rem 4rem 4rem;
    background: linear-gradient(135deg, #FDFCF7 0%, #F6F9F2 40%, #F0F5EA 100%);
    text-align: center;
}

.page-hero h1 {
    margin-bottom: 1rem;
}

.page-hero .page-subtitle {
    font-size: 1.15rem;
    color: var(--text-medium);
    max-width: 600px;
    margin: 0 auto;
}

.servizi-grid-full {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.servizio-card-full {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
}

.servizio-card-full:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
}

.servizio-card-img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    background: var(--background-green);
}

.servizio-card-body {
    padding: 2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.servizio-card-body h3 {
    font-size: 1.5rem;
    margin-bottom: 0.8rem;
}

.servizio-card-body p {
    font-size: 0.95rem;
    color: var(--text-medium);
    margin-bottom: 1.5rem;
    flex: 1;
}

/* ---- Servizio Detail Page ---- */
/* ---- Service Hero with Background Image ---- */
.servizio-hero {
    position: relative;
    padding: 10rem 4rem 5rem;
    overflow: hidden;
    min-height: 420px;
    display: flex;
    align-items: flex-end;
}

.servizio-hero-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.servizio-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(26, 46, 26, 0.85) 0%, rgba(26, 46, 26, 0.4) 50%, rgba(26, 46, 26, 0.15) 100%);
    z-index: 1;
}

.servizio-hero-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
}

/* ---- Breadcrumb (inside hero) ---- */
.breadcrumb {
    position: absolute;
    top: 6.5rem;
    left: 4rem;
    z-index: 2;
}

.breadcrumb-list {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    list-style: none;
    padding: 0;
    margin: 0;
    font-family: 'Outfit', sans-serif;
    font-size: 0.85rem;
}

.breadcrumb-list a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.2s;
}

.breadcrumb-list a:hover {
    color: white;
}

.breadcrumb-list .breadcrumb-sep {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.75rem;
}

.breadcrumb-list .breadcrumb-current {
    color: white;
    font-weight: 500;
}

.servizio-hero .section-label {
    margin-bottom: 1.5rem;
}

.servizio-hero .section-label span {
    color: rgba(255, 255, 255, 0.8);
}

.servizio-hero .section-label-dot {
    background: var(--grass) !important;
}

.servizio-hero h1 {
    margin-bottom: 1rem;
    color: white;
}

.servizio-hero .hero-description {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.85);
    max-width: 600px;
}

.servizio-detail-img {
    width: 100%;
    max-height: 500px;
    object-fit: cover;
    border-radius: 20px;
    margin-bottom: 3rem;
    background: var(--background-green);
}

.servizio-content {
    max-width: 900px;
    margin: 0 auto;
}

.servizio-content h2 {
    margin-bottom: 1rem;
    margin-top: 2rem;
}

.servizio-content p {
    color: var(--text-medium);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.servizio-content ul {
    margin-bottom: 1.5rem;
    padding-left: 1.2rem;
}

.servizio-content ul li {
    color: var(--text-medium);
    margin-bottom: 0.5rem;
    padding-left: 0.5rem;
    position: relative;
    list-style: none;
}

.servizio-content ul li::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--primary);
    position: absolute;
    left: -1rem;
    top: 0.65rem;
}

.servizio-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin: 2rem 0;
}

.servizio-gallery img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 12px;
    background: var(--background-green);
}

.servizio-cta {
    background: var(--primary);
    color: white;
    text-align: center;
    padding: 4rem 3rem;
    border-radius: 20px;
    margin-top: 3rem;
}

.servizio-cta h2 {
    color: white;
    margin-bottom: 1rem;
}

.servizio-cta p {
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 2rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

/* ---- Progetti (Portfolio) ---- */
.portfolio-filters {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 3rem;
}

.filter-btn {
    padding: 0.5rem 1.2rem;
    border-radius: 20px;
    border: 1.5px solid rgba(0, 0, 0, 0.1);
    background: white;
    font-family: 'Outfit', sans-serif;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--text-medium);
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    max-width: 1400px;
    margin: 0 auto;
}

.portfolio-item {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 4/3;
    background: var(--background-green);
}

.portfolio-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.portfolio-item:hover img {
    transform: scale(1.05);
}

.portfolio-item-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(26, 46, 26, 0.8) 0%, transparent 60%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1.5rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.portfolio-item:hover .portfolio-item-overlay,
.portfolio-item:focus-within .portfolio-item-overlay {
    opacity: 1;
}

@media (max-width: 1023px) {
    .portfolio-item-overlay {
        opacity: 1;
        background: linear-gradient(to top, rgba(26, 46, 26, 0.85) 0%, transparent 50%);
    }
}

.portfolio-item-overlay h3 {
    color: white;
    font-size: 1.2rem;
    margin-bottom: 0.3rem;
}

.portfolio-item-overlay p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.85rem;
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.9);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.lightbox.open {
    display: flex;
}

.lightbox img {
    max-width: 90%;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 8px;
}

.lightbox-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    width: 44px;
    height: 44px;
    border: none;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 1.5rem;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ---- Chi Siamo ---- */
.team-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.team-card {
    text-align: center;
    flex: 0 1 calc(25% - 1.5rem);
    max-width: 240px;
}

.team-card-img {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 1rem;
    background: var(--background-green);
    border: 3px solid var(--primary);
}

.team-card h4 {
    font-size: 1.1rem;
    color: var(--text-dark);
    margin-bottom: 0.3rem;
}

.team-card p {
    font-size: 0.85rem;
    color: var(--text-medium);
}

.storia-timeline {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    padding-left: 3rem;
}

.storia-timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--primary), var(--grass));
}

.timeline-item {
    position: relative;
    margin-bottom: 2.5rem;
    padding-left: 1.5rem;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -3.55rem;
    top: 0.3rem;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--primary);
    border: 3px solid var(--cream);
}

.timeline-year {
    font-family: 'EB Garamond', serif;
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 0.3rem;
}

.timeline-item h4 {
    margin-bottom: 0.3rem;
}

.timeline-item p {
    font-size: 0.9rem;
    color: var(--text-medium);
}

/* ---- Contatti Page ---- */
.contatti-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    align-items: start;
}

.contatti-map {
    width: 100%;
    height: 300px;
    border-radius: 16px;
    border: none;
    margin-top: 2rem;
}

/* ---- FAQ Accordion ---- */
.servizio-faq {
    margin-top: 3rem;
}

.servizio-faq h2 {
    margin-bottom: 1.5rem;
}

.faq-item {
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.faq-item summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.2rem 0;
    font-family: 'Outfit', sans-serif;
    font-size: 1.05rem;
    font-weight: 500;
    color: var(--text-dark);
    cursor: pointer;
    list-style: none;
    transition: color 0.2s;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: '+';
    font-size: 1.4rem;
    font-weight: 300;
    color: var(--primary);
    transition: transform 0.3s;
    flex-shrink: 0;
    margin-left: 1rem;
}

.faq-item[open] summary::after {
    content: '−';
}

.faq-item summary:hover {
    color: var(--primary);
}

.faq-item p {
    padding: 0 0 1.2rem;
    color: var(--text-medium);
    line-height: 1.7;
    font-size: 0.95rem;
}

/* ---- Servizi Correlati ---- */
.servizi-correlati {
    margin-top: 3rem;
    padding-top: 2rem;
}

.servizi-correlati h2 {
    margin-bottom: 1.5rem;
}

.servizi-correlati-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.servizio-correlato-card {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    border: 1px solid rgba(0, 0, 0, 0.06);
    text-decoration: none;
    transition: all 0.3s ease;
    display: block;
}

.servizio-correlato-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
}

.servizio-correlato-card h3 {
    font-size: 1.15rem;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.servizio-correlato-card p {
    font-size: 0.88rem;
    color: var(--text-medium);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.servizio-correlato-card .card-link {
    font-family: 'Outfit', sans-serif;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--primary);
}

/* ---- Responsive Pages ---- */
@media (max-width: 1200px) {
    .servizi-grid-full {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 992px) {
    .page-hero {
        padding: 8rem 2rem 3rem;
    }

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

    .featured-wrapper {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .featured-visual {
        max-width: 400px;
        margin: 0 auto;
    }

    .contact-wrapper,
    .contatti-wrapper {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .portfolio-grid,
    .portfolio-preview-grid {
        grid-template-columns: 1fr 1fr;
    }

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

    .team-card {
        flex: 0 1 calc(33.333% - 1.4rem);
        max-width: 240px;
    }

    .servizio-gallery {
        grid-template-columns: 1fr 1fr;
    }

    .servizi-correlati-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
    }

    .breadcrumb {
        top: 5.5rem;
        left: 1.5rem;
    }

    .servizio-hero {
        padding: 8rem 2rem 3rem;
        min-height: 350px;
    }
}

@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr;
    }

    .portfolio-grid,
    .portfolio-preview-grid {
        grid-template-columns: 1fr;
    }

    .credentials-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }

    .team-card {
        flex: 0 1 calc(50% - 1rem);
    }

    .servizio-gallery {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .team-card {
        flex: 0 1 100%;
    }

    .page-hero {
        padding: 7rem 1.5rem 2rem;
    }

    .servizio-cta {
        padding: 3rem 1.5rem;
        border-radius: 16px;
    }

    .faq-item summary {
        padding: 1rem 0;
        font-size: 0.95rem;
        min-height: 44px;
    }
}

/* ---- Blog ---- */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 4rem 4rem;
}

.blog-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
}

.blog-card-image {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, var(--background-green) 0%, var(--cream) 100%);
    /* placeholder until real images are added */
}

.blog-card-body {
    padding: 1.5rem;
}

.blog-card-meta {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 0.8rem;
    font-size: 0.8rem;
    color: var(--text-medium);
}

.blog-card-category {
    background: var(--background-green);
    color: var(--primary);
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
    font-weight: 500;
    font-size: 0.75rem;
}

.blog-card-body h3 {
    font-size: 1.15rem;
    color: var(--text-dark);
    margin-bottom: 0.6rem;
    line-height: 1.3;
}

.blog-card-body p {
    font-size: 0.88rem;
    color: var(--text-medium);
    line-height: 1.6;
    margin-bottom: 1rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-card-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--primary);
    transition: gap 0.3s ease;
}

.blog-card-link:hover {
    gap: 0.7rem;
}

.blog-article {
    max-width: 800px;
    margin: 0 auto;
    padding: 3rem 4rem 4rem;
}

.blog-article-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
    font-size: 0.9rem;
    color: var(--text-medium);
}

.blog-article h2 {
    margin-top: 2.5rem;
    margin-bottom: 1rem;
}

.blog-article p {
    color: var(--text-medium);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.blog-article ol,
.blog-article ul {
    padding-left: 0;
    list-style: none;
    margin-bottom: 2rem;
}

.blog-article ol li,
.blog-article ul li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 1.2rem;
    color: var(--text-medium);
    line-height: 1.7;
}

.blog-article ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.6rem;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--primary);
}

.blog-article ol {
    counter-reset: blog-counter;
}

.blog-article ol li {
    counter-increment: blog-counter;
    padding-left: 2.5rem;
}

.blog-article ol li::before {
    content: counter(blog-counter);
    position: absolute;
    left: 0;
    top: 0;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--background-green);
    color: var(--primary);
    font-weight: 600;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.blog-article ol li strong {
    color: var(--text-dark);
}

.blog-back {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary);
    font-weight: 500;
    margin-top: 2rem;
    transition: gap 0.3s ease;
}

.blog-back:hover {
    gap: 0.8rem;
}

.blog-related {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 4rem 4rem;
}

.blog-related h2 {
    text-align: center;
    margin-bottom: 2rem;
}

.blog-related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

/* Breadcrumb variant for light page-hero backgrounds (blog, corsi) */
.page-hero .breadcrumb,
.tc-hero .breadcrumb {
    position: static;
    margin-bottom: 1.5rem;
}

.page-hero .breadcrumb-list a,
.tc-hero .breadcrumb-list a {
    color: var(--text-medium);
}

.page-hero .breadcrumb-list a:hover,
.tc-hero .breadcrumb-list a:hover {
    color: var(--primary);
}

.page-hero .breadcrumb-list .breadcrumb-sep,
.tc-hero .breadcrumb-list .breadcrumb-sep {
    color: rgba(0, 0, 0, 0.3);
}

.page-hero .breadcrumb-list .breadcrumb-current,
.tc-hero .breadcrumb-list .breadcrumb-current {
    color: var(--text-dark);
}

.blog-numbered-list {
    counter-reset: blog-counter;
    list-style: none;
    padding: 0;
    margin: 0 0 2rem;
}

.blog-numbered-list li {
    counter-increment: blog-counter;
    position: relative;
    padding-left: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-medium);
    line-height: 1.7;
}

.blog-numbered-list li::before {
    content: counter(blog-counter);
    position: absolute;
    left: 0;
    top: 0;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--background-green);
    color: var(--primary);
    font-weight: 600;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.blog-numbered-list li strong {
    display: block;
    color: var(--text-dark);
    margin-bottom: 0.3rem;
}

.blog-numbered-list li p {
    margin: 0;
}

/* ---- Corsi ---- */
.corsi-intro {
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem 4rem 1rem;
}

.corsi-intro-content h2 {
    margin-bottom: 1rem;
}

.corsi-intro-content p {
    color: var(--text-medium);
    line-height: 1.8;
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.corsi-grid-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 4rem 4rem;
}

.corsi-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.corso-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.corso-card-image {
    width: 100%;
    height: 220px;
    background-size: cover;
    background-position: center;
}

.corso-card-content {
    padding: 2.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.corso-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
}

.corso-card h2 {
    font-size: 1.4rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.corso-card-header {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 1rem;
}

.corso-durata {
    font-size: 0.8rem;
    color: var(--text-medium);
}

.corso-badge.corso-badge-advanced {
    background: var(--primary);
    color: white;
}

.corso-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: var(--background-green);
    color: var(--primary);
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    white-space: nowrap;
    flex-shrink: 0;
}

.corso-desc {
    color: var(--text-medium);
    line-height: 1.8;
    margin-bottom: 2rem;
    font-size: 0.95rem;
}

.corso-section {
    margin-bottom: 2rem;
}

.corso-section h3 {
    font-size: 1.1rem;
    color: var(--text-dark);
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.corso-section h3::before {
    content: '';
    width: 4px;
    height: 20px;
    background: var(--primary);
    border-radius: 2px;
    flex-shrink: 0;
}

.corso-section ul {
    list-style: none;
    padding: 0;
}

.corso-section ul li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.6rem;
    color: var(--text-medium);
    line-height: 1.6;
}

.corso-section ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.55rem;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--primary);
}

.corso-instructor {
    background: var(--cream);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.corso-instructor h3 {
    font-size: 1.1rem;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.corso-instructor p {
    color: var(--text-medium);
    line-height: 1.7;
    font-size: 0.9rem;
    margin: 0;
}

.corso-cta {
    text-align: center;
    padding-top: 1rem;
}

.corsi-info {
    background: var(--primary);
    color: white;
    text-align: center;
    padding: 4rem 3rem;
    border-radius: 20px;
    max-width: 1000px;
    margin: 0 auto 4rem;
}

.corsi-info h2 {
    color: white;
    margin-bottom: 1rem;
}

.corsi-info p {
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
    margin: 0 auto 2rem;
    line-height: 1.7;
}

/* Blog & Corsi responsive */
@media (max-width: 1200px) {
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    .blog-grid {
        padding: 0 2rem 3rem;
    }

    .blog-article {
        padding: 2rem 2rem 3rem;
    }

    .blog-related {
        padding: 0 2rem 3rem;
    }

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

    .corsi-wrapper {
        padding: 2rem 2rem 3rem;
    }

    .corsi-intro {
        padding: 2rem 2rem 1rem;
    }

    .corsi-grid-wrapper {
        padding: 2rem 2rem 3rem;
    }

    .corso-card-content {
        padding: 2rem;
    }

    .corso-card-image {
        height: 180px;
    }

    .corsi-info {
        margin: 0 2rem 3rem;
    }
}

@media (max-width: 768px) {
    .blog-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0 1.5rem 2rem;
    }

    .blog-card-image {
        height: 160px;
    }

    .blog-article {
        padding: 1.5rem 1.5rem 2rem;
    }

    .blog-related {
        padding: 0 1.5rem 2rem;
    }

    .blog-related-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .corsi-wrapper {
        padding: 1.5rem 1.5rem 2rem;
    }

    .corsi-intro {
        padding: 1.5rem 1.5rem 1rem;
    }

    .corsi-grid-wrapper {
        padding: 1.5rem 1.5rem 2rem;
    }

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

    .corso-card-content {
        padding: 1.5rem;
    }

    .corso-card-image {
        height: 160px;
    }

    .corso-header {
        flex-direction: column;
    }

    .corsi-info {
        margin: 0 1.5rem 2rem;
        padding: 3rem 1.5rem;
    }
}

/* ============================================
   HOME, TRE PILASTRI
   ============================================ */
.pillars {
    background: var(--cream);
}

.pillars-wrapper {
    max-width: 1400px;
    margin: 0 auto;
}

.pillars-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 4rem;
}

.pillar-card {
    display: flex;
    flex-direction: column;
    background: white;
    border-radius: 24px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.06);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    position: relative;
}

.pillar-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.12);
}

.pillar-card-img-wrap {
    aspect-ratio: 4 / 3;
    overflow: hidden;
    position: relative;
}

.pillar-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.pillar-card:hover .pillar-card-img {
    transform: scale(1.05);
}

.pillar-card-body {
    padding: 2.25rem 2rem 2.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.pillar-card-tag {
    display: inline-block;
    align-self: flex-start;
    padding: 0.35rem 0.9rem;
    border-radius: 999px;
    background: var(--warm-white);
    color: var(--primary);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.pillar-card-design .pillar-card-tag,
.pillar-card.pillar-design .pillar-card-tag {
    background: rgba(123, 31, 162, 0.08);
    color: var(--violet, #7B1FA2);
}

.pillar-card.pillar-progetto .pillar-card-tag {
    background: rgba(255, 165, 0, 0.1);
    color: var(--orange, #FF9500);
}

.pillar-card.pillar-cura .pillar-card-tag {
    background: rgba(76, 175, 80, 0.1);
    color: var(--grass, #4CAF50);
}

.pillar-card-body h3 {
    font-family: 'EB Garamond', serif;
    font-size: 2rem;
    line-height: 1.15;
    margin: 0 0 1rem;
    color: var(--primary);
}

.pillar-card-body p {
    color: #555;
    line-height: 1.6;
    margin: 0 0 1.75rem;
    flex: 1;
}

.pillar-card-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--primary);
    font-weight: 600;
    font-size: 0.95rem;
    transition: gap 0.25s ease;
}

.pillar-card:hover .pillar-card-link {
    gap: 0.7rem;
}

@media (max-width: 992px) {
    .pillars-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    .pillar-card-body {
        padding: 1.75rem 1.5rem 2rem;
    }
    .pillar-card-body h3 {
        font-size: 1.6rem;
    }
}

/* ============================================
   DESIGN HUB (design.html)
   Uses .page-hero for hero (shared with servizi.html)
   ============================================ */
.design-hero-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.75rem;
    justify-content: center;
}

.design-hero-tags span {
    padding: 0.45rem 1rem;
    border: 1px solid rgba(0, 111, 59, 0.2);
    border-radius: 999px;
    font-size: 0.85rem;
    color: var(--primary);
    background: white;
}

.design-manifesto {
    background: var(--cream);
}

.design-manifesto-wrapper {
    max-width: 820px;
    margin: 0 auto;
    text-align: center;
}

.design-manifesto h2 {
    font-family: 'EB Garamond', serif;
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.15;
    margin-bottom: 2.5rem;
    color: var(--primary);
}

.design-manifesto p {
    font-size: 1.15rem;
    line-height: 1.75;
    color: #444;
    margin-bottom: 1.5rem;
}

.design-worlds {
    background: var(--warm-white);
}

.design-worlds-wrapper {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
}

.design-world-card {
    display: flex;
    flex-direction: column;
    background: white;
    border-radius: 28px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.07);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.design-world-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 60px rgba(0, 0, 0, 0.13);
}

.design-world-img-wrap {
    aspect-ratio: 16 / 10;
    overflow: hidden;
}

.design-world-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.design-world-card:hover .design-world-img {
    transform: scale(1.05);
}

.design-world-body {
    padding: 2.5rem 2.25rem 3rem;
}

.design-world-body h2 {
    font-family: 'EB Garamond', serif;
    font-size: 2.4rem;
    line-height: 1.1;
    margin: 1rem 0 1.25rem;
    color: var(--primary);
}

.design-world-body p {
    color: #444;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.design-world-body ul {
    margin: 0 0 1.75rem;
    padding-left: 1.25rem;
    color: #555;
}

.design-world-body ul li {
    margin-bottom: 0.5rem;
    line-height: 1.55;
}

.design-world-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--primary);
    font-weight: 600;
    transition: gap 0.25s ease;
}

.design-world-card:hover .design-world-link {
    gap: 0.75rem;
}

.design-markets {
    background: var(--cream);
}

.design-markets-wrapper {
    max-width: 1200px;
    margin: 0 auto;
}

.design-markets-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.75rem;
    margin-top: 3.5rem;
}

.design-market {
    background: white;
    padding: 2rem 1.75rem;
    border-radius: 20px;
    box-shadow: 0 2px 18px rgba(0,0,0,0.05);
}

.design-market h4 {
    font-family: 'EB Garamond', serif;
    font-size: 1.4rem;
    color: var(--primary);
    margin-bottom: 0.75rem;
}

.design-market p {
    color: #555;
    line-height: 1.55;
    font-size: 0.95rem;
}

.design-cta {
    background: var(--primary);
    color: white;
    text-align: center;
}

.design-cta-wrapper {
    max-width: 800px;
    margin: 0 auto;
}

.design-cta-wrapper h2 {
    font-family: 'EB Garamond', serif;
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    color: white;
    margin-bottom: 1rem;
}

.design-cta-wrapper p {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.85);
    margin-bottom: 2rem;
    max-width: 620px;
    margin-left: auto;
    margin-right: auto;
}

.design-cta .btn-primary {
    background: white;
    color: var(--primary);
}

@media (max-width: 992px) {
    .design-worlds-wrapper {
        grid-template-columns: 1fr;
    }
    .design-markets-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .design-markets-grid {
        grid-template-columns: 1fr;
    }
    .design-world-body {
        padding: 1.75rem 1.5rem 2.25rem;
    }
    .design-world-body h2 {
        font-size: 1.9rem;
    }
}

/* ============================================
   SERVIZI, DESIGN HIGHLIGHT BLOCK
   ============================================ */
.design-highlight {
    background: linear-gradient(135deg, var(--cream) 0%, var(--warm-white) 100%);
    border-bottom: 1px solid rgba(0,0,0,0.06);
}

.design-highlight-wrapper {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 3rem;
    align-items: center;
}

.design-highlight-intro h2 {
    font-family: 'EB Garamond', serif;
    line-height: 1.15;
    margin: 1rem 0 1.25rem;
}

.design-highlight-intro .btn {
    margin-top: 1rem;
}

.design-highlight-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
}

.design-highlight-card {
    display: flex;
    flex-direction: column;
    background: white;
    border-radius: 18px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 4px 24px rgba(0,0,0,0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.design-highlight-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 40px rgba(0,0,0,0.1);
}

.design-highlight-card img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.design-highlight-card-body {
    padding: 1.5rem 1.5rem 1.75rem;
}

.design-highlight-card-body h3 {
    font-family: 'EB Garamond', serif;
    font-size: 1.4rem;
    margin: 0.5rem 0 0.5rem;
    color: var(--primary);
}

.design-highlight-card-body p {
    color: #555;
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 0.75rem;
}

.design-highlight-card .card-link {
    color: var(--primary);
    font-weight: 600;
    font-size: 0.9rem;
}

@media (max-width: 992px) {
    .design-highlight-wrapper {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
}

@media (max-width: 600px) {
    .design-highlight-cards {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   SERVIZIO PAGES, DESIGN CROSS-LINK BANNER
   ============================================ */
.design-crosslink {
    background: var(--cream);
    padding: 2.5rem 4rem;
    border-top: 1px solid rgba(0,0,0,0.05);
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

@media (max-width: 992px) {
    .design-crosslink {
        padding: 2rem 2rem;
    }
}

@media (max-width: 768px) {
    .design-crosslink {
        padding: 1.75rem 1.5rem;
    }
}

.design-crosslink-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 2rem;
    align-items: center;
}

.design-crosslink-tag {
    display: inline-block;
    padding: 0.35rem 0.9rem;
    border-radius: 999px;
    background: rgba(123, 31, 162, 0.08);
    color: var(--violet, #7B1FA2);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.design-crosslink p {
    color: #444;
    line-height: 1.6;
    margin: 0;
}

.design-crosslink .btn {
    white-space: nowrap;
}

@media (max-width: 768px) {
    .design-crosslink-inner {
        grid-template-columns: 1fr;
        text-align: left;
    }
    .design-crosslink .btn {
        align-self: flex-start;
    }
}

/* ---- Landing ads: hero con foto di sfondo + overlay (variante) ---- */
.lp-hero--photo {
    position: relative;
    background: var(--primary, #2d4a2b);
    overflow: hidden;
}
.lp-hero--photo::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(115deg, rgba(26,42,26,0.94) 0%, rgba(26,42,26,0.78) 42%, rgba(26,42,26,0.45) 100%),
        var(--lp-hero-bg) center/cover no-repeat;
    z-index: 0;
}
.lp-hero--photo > .lp-hero-content {
    position: relative;
    z-index: 1;
}
.lp-hero--photo .lp-hero-text h1,
.lp-hero--photo .lp-hero-subtitle {
    color: #fff;
}
.lp-hero--photo .lp-hero-subtitle {
    opacity: 0.94;
}
.lp-hero--photo .section-label span:last-child {
    color: #fff;
}
/* la .lp-trust-bar ha sfondo bianco: testo e icone restano scuri (default), niente override */
.lp-hero--photo .lp-cta-phone {
    color: #fff;
}
@media (max-width: 600px) {
    .lp-hero--photo::before {
        background:
            linear-gradient(180deg, rgba(26,42,26,0.90) 0%, rgba(26,42,26,0.82) 100%),
            var(--lp-hero-bg) center/cover no-repeat;
    }
}

/* ---- Landing ads: ritmo cromatico delle sezioni (solo dentro .lp-colored) ---- */
/* Sezione "perché noi" in negativo (verde scuro) */
.lp-colored .lp-why {
    background: var(--primary);
}
.lp-colored .lp-why .section-label span:last-child,
.lp-colored .lp-why .section-title,
.lp-colored .lp-why .lp-why-list li,
.lp-colored .lp-why .featured-stat-label {
    color: #fff;
}
.lp-colored .lp-why .lp-why-list li strong {
    color: var(--grass, #8DC63F);
}
.lp-colored .lp-why .lp-why-list li::before {
    background: var(--grass, #8DC63F);
    color: var(--primary);
}
.lp-colored .lp-why .featured-stat {
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.16);
    border-radius: 14px;
}
.lp-colored .lp-why .featured-stat-number {
    color: var(--grass, #8DC63F);
}
/* Sezione processo su verde chiarissimo */
.lp-colored .lp-process {
    background: var(--light-green-bg, #f0f6ec);
}
/* Card servizi: icona in cerchio con accento brand (richiama i dot section-label) */
.lp-colored .lp-service-card:nth-child(1) .lp-service-icon { background: #e8f2dd; }
.lp-colored .lp-service-card:nth-child(2) .lp-service-icon { background: #fdecd9; }
.lp-colored .lp-service-card:nth-child(3) .lp-service-icon { background: #fce1ef; }
.lp-colored .lp-service-card:nth-child(4) .lp-service-icon { background: #ece2f4; }

/* ========================================
   CORSI TREE CLIMBING (/corsi, anche landing ads Meta)
   ======================================== */
.tc-hero {
    padding: 8.5rem 4rem 4.5rem;
    background: linear-gradient(135deg, #FDFCF7 0%, #F6F9F2 40%, #F0F5EA 100%);
}
.tc-hero-inner {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: 4rem;
    align-items: center;
}
.tc-hero h1 {
    font-size: clamp(2.3rem, 4.4vw, 3.6rem);
    line-height: 1.08;
    margin: 0.2rem 0 1.2rem;
    color: var(--text-dark);
}
.tc-hero h1 .italic {
    display: block;
}
.tc-hero-sub {
    font-size: 1.08rem;
    line-height: 1.65;
    color: var(--text-medium);
    max-width: 54ch;
    margin-bottom: 1.8rem;
}
.tc-facts {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.7rem;
    max-width: 580px;
}
.tc-facts li {
    background: white;
    border-radius: 12px;
    padding: 0.8rem 0.9rem;
    border: 1px solid rgba(0, 111, 59, 0.08);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}
.tc-facts strong {
    font-family: 'EB Garamond', serif;
    font-size: 1.8rem;
    line-height: 1.05;
    font-weight: 600;
    color: var(--primary);
}
.tc-facts li:last-child strong {
    font-size: 1.15rem;
    line-height: 1.3;
}
.tc-facts span {
    font-size: 0.8rem;
    line-height: 1.3;
    color: var(--text-medium);
}
.tc-hero-cta,
.tc-course-cta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.8rem 1.2rem;
}
.tc-btn-lg {
    padding: 1.15rem 2.2rem;
    font-size: 1.05rem;
    font-weight: 600;
    box-shadow: 0 8px 24px rgba(0, 111, 59, 0.22);
}
.tc-cta-note {
    font-size: 0.85rem;
    color: var(--text-medium);
}
.tc-hero-media {
    position: relative;
    margin: 0;
}
.tc-hero-media img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 6 / 5;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(26, 46, 26, 0.18);
}
.tc-hero-media figcaption {
    position: absolute;
    left: 1rem;
    bottom: 1rem;
    padding: 0.35rem 0.8rem;
    border-radius: 100px;
    background: rgba(26, 46, 26, 0.72);
    color: white;
    font-size: 0.78rem;
}

.tc-inner {
    max-width: 1200px;
    margin: 0 auto;
}
.tc-why {
    background: var(--primary);
    padding: 5.5rem 4rem;
}
.tc-why .section-label span:last-child,
.tc-why .section-title {
    color: white;
}
.tc-why .section-title .italic {
    color: var(--grass);
}
.tc-why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 2.5rem;
}
.tc-why-item {
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 16px;
    padding: 2rem 1.8rem;
}
.tc-why-num {
    display: block;
    font-family: 'EB Garamond', serif;
    font-size: 2.2rem;
    line-height: 1;
    color: var(--grass);
    margin-bottom: 0.8rem;
}
.tc-why-item h3 {
    color: white;
    font-size: 1.3rem;
    margin-bottom: 0.6rem;
}
.tc-why-item p {
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.7;
    font-size: 0.95rem;
    margin: 0;
}

.tc-course {
    max-width: 1200px;
    margin: 0 auto;
    padding: 5.5rem 4rem 2rem;
}
.tc-course-card {
    display: grid;
    grid-template-columns: 5fr 7fr;
    background: white;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}
.tc-course-media picture {
    display: block;
    height: 100%;
}
.tc-course-media img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 320px;
    object-fit: cover;
}
.tc-course-body {
    padding: 2.8rem;
}
.tc-course-body h2 {
    font-size: clamp(1.6rem, 2.6vw, 2.1rem);
    color: var(--text-dark);
    margin-bottom: 1rem;
}
.tc-course-cols {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 0 2rem;
}
.tc-course-cta {
    padding-top: 0.5rem;
}
.tc-course--alt {
    padding-top: 3rem;
    padding-bottom: 5rem;
}
.tc-course--alt .tc-course-media {
    order: 2;
}
.tc-course--alt .tc-course-card {
    grid-template-columns: 7fr 5fr;
}
.tc-course--alt .tc-course-media img {
    object-position: 30% 50%;
}
.tc-course-kicker {
    font-family: 'EB Garamond', serif;
    font-size: 1.5rem;
    color: var(--text-dark);
    margin: 0 0 1rem;
}

.tc-instructor {
    padding: 4rem;
}
.tc-instructor-inner {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 3rem;
    align-items: center;
    background: var(--warm-white);
    border-radius: 20px;
    padding: 2.5rem;
}
.tc-instructor-photo img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 16px;
}
.tc-instructor .section-title {
    margin-bottom: 0.6rem;
}
.tc-instructor-bio {
    color: var(--text-medium);
    line-height: 1.75;
    margin-bottom: 1.2rem;
}
.tc-creds {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.6rem;
}
.tc-creds li {
    background: white;
    border-left: 3px solid var(--primary);
    border-radius: 10px;
    padding: 0.7rem 0.9rem;
    font-size: 0.9rem;
    line-height: 1.4;
    color: var(--text-dark);
}

.tc-gallery {
    padding: 3rem 4rem 1rem;
}
.tc-gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-top: 1.5rem;
}
.tc-gallery-grid img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 16px;
}

.tc-sticky {
    display: none;
}

@media (max-width: 899px) {
    .tc-hero {
        padding: 5.6rem 1.25rem 2.5rem;
    }
    .tc-hero-inner {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    .tc-hero-media figcaption {
        left: 0.75rem;
        bottom: 0.6rem;
        font-size: 0.7rem;
    }
    .tc-hero .breadcrumb {
        display: none;
    }
    .tc-hero-media {
        order: -1;
        margin: 0 -1.25rem;
    }
    .tc-hero-media img {
        aspect-ratio: 2 / 1;
        border-radius: 0;
        box-shadow: none;
    }
    .tc-hero .section-label {
        margin-bottom: 0.5rem;
    }
    .tc-hero h1 {
        font-size: 1.85rem;
        margin-bottom: 0.7rem;
    }
    .tc-hero-sub {
        font-size: 0.93rem;
        line-height: 1.55;
        margin-bottom: 1rem;
    }
    .tc-facts {
        gap: 0.4rem;
        margin-bottom: 1rem;
    }
    .tc-facts li {
        padding: 0.55rem 0.5rem;
    }
    .tc-facts strong {
        font-size: 1.4rem;
    }
    .tc-facts li:last-child strong {
        font-size: 0.9rem;
    }
    .tc-facts span {
        font-size: 0.7rem;
    }
    .tc-hero-cta .btn,
    .tc-course-cta .btn {
        width: 100%;
        justify-content: center;
    }
    .tc-cta-note {
        width: 100%;
        text-align: center;
    }
    .tc-why {
        padding: 3.5rem 1.25rem;
    }
    .tc-why-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
        margin-top: 1.5rem;
    }
    .tc-why-item {
        padding: 1.4rem 1.3rem;
    }
    .tc-course {
        padding: 3rem 1.25rem 1rem;
    }
    .tc-course-card {
        grid-template-columns: 1fr;
    }
    .tc-course--alt .tc-course-media {
        order: 0;
    }
    .tc-course--alt .tc-course-card {
        grid-template-columns: 1fr;
    }
    .tc-course-media img {
        min-height: 0;
        aspect-ratio: 3 / 2;
    }
    .tc-course-body {
        padding: 1.6rem 1.3rem;
    }
    .tc-course-cols {
        grid-template-columns: 1fr;
    }
    .tc-course--alt {
        padding-bottom: 3rem;
    }
    .tc-instructor {
        padding: 2rem 1.25rem;
    }
    .tc-instructor-inner {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 1.5rem;
    }
    .tc-instructor-photo {
        max-width: 180px;
    }
    .tc-creds {
        grid-template-columns: 1fr;
    }
    .tc-gallery {
        padding: 2rem 0 1rem 1.25rem;
    }
    .tc-gallery-grid {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        gap: 0.8rem;
        padding-right: 1.25rem;
        scrollbar-width: none;
    }
    .tc-gallery-grid picture {
        flex: 0 0 80%;
        scroll-snap-align: start;
    }
    .tc-sticky {
        display: block;
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 900;
        padding: 0.7rem 1rem calc(0.7rem + env(safe-area-inset-bottom));
        background: rgba(253, 252, 247, 0.97);
        box-shadow: 0 -6px 24px rgba(0, 0, 0, 0.1);
        transform: translateY(110%);
        transition: transform 0.3s var(--ease-out);
    }
    .tc-sticky.is-visible {
        transform: none;
    }
    .tc-sticky .btn {
        width: 100%;
        justify-content: center;
        font-weight: 600;
    }
}
