/* ======== BASE ======== */
* {
    box-sizing: border-box;
}
body {
    margin: 0;
    font-family: 'Montserrat', sans-serif;
    background: url('assets/texture2.jpeg');
    background-size: cover;
    background-attachment: fixed;
    color: #ffffff;
    line-height: 1.7;
    text-align: center;
}

/* ======== HEADER ======== */
header {
    padding: 20px 24px;
    text-align: center;
    background: rgba(8, 15, 45, 0.6);
    backdrop-filter: blur(6px);
    position: relative;
}
.logo {
    width: 160px;
    height: auto;
}
header .back-link {
    position: absolute;
    left: 24px;
    top: 50%;
    transform: translateY(-50%);
    margin: 0;
}

/* Nascosto visivamente ma leggibile da screen reader/motori di ricerca */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    white-space: nowrap;
    border: 0;
}

/* ======== HERO ======== */
.hero {
    border-bottom: 1px solid rgba(201, 168, 106, 0.3);
    background: #060c26;
}
.hero-img {
    display: block;
    width: 100%;
    height: auto;
}
.hero-cta-bar {
    padding: 28px 20px;
    text-align: center;
    background: linear-gradient(135deg, rgba(8,16,48,0.95) 0%, rgba(30,45,90,0.9) 100%);
}
.hero-cta {
    background: #C9A86A;
    padding: 16px 34px;
    font-size: 1.05rem;
}

/* ======== SEZIONI & TRANSIZIONI ARCHITETTONICHE ======== */
.section {
    padding: 80px 10%;
    backdrop-filter: blur(5px);
    color: #ffffff;
    text-align: center;
    border-bottom: 1px solid rgba(201, 168, 106, 0.25); /* Linea Luxury Thin dorata */
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

/* Alternanza di profondità tonale per rompere la monotonia */
.section-alt-1 {
    background: linear-gradient(
        135deg,
        rgba(8, 16, 48, 0.90) 0%,
        rgba(30, 45, 90, 0.82) 100%
    );
}

.section-alt-2 {
    background: linear-gradient(
        135deg,
        rgba(15, 25, 60, 0.88) 0%,
        rgba(180, 148, 90, 0.70) 100%
    );
}

.section-action {
    background: linear-gradient(
        135deg,
        rgba(6, 12, 38, 0.94) 0%,
        rgba(150, 122, 68, 0.78) 100%
    );
}

.section h2 {
    font-size: 2.2rem;
    color: #fffbe6;
    margin-bottom: 25px;
    letter-spacing: 1px;
    text-shadow: 0 0 12px rgba(0,0,0,0.5);
}
.section-intro {
    max-width: 700px;
    margin: 0 auto 35px auto;
    font-size: 1.05rem;
}

/* Paragrafi con larghezza limitata per leggibilità, centrati come il resto del sito */
.section > p {
    max-width: 680px;
    margin: 0 auto;
    text-align: center;
}

/* ======== PILASTRI ======== */
.pillars {
    display: flex;
    justify-content: space-between;
    gap: 25px;
    margin-top: 35px;
}
.pillar {
    flex: 1;
    background: rgba(255, 255, 255, 0.06);
    padding: 35px 20px;
    border-radius: 8px;
    text-align: center;
    color: #ffffff;
    backdrop-filter: blur(4px);
    border: 1px solid rgba(201, 168, 106, 0.2);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}
.pillar h3 {
    color: #fffbe6;
    margin-top: 0;
    font-size: 1.3rem;
}

/* ======== SERVIZI ======== */
.services {
    display: flex;
    justify-content: space-between;
    gap: 25px;
    margin-top: 40px;
}
.service {
    flex: 1;
    text-align: center;
    background: rgba(255, 255, 255, 0.04);
    padding: 22px;
    border-radius: 10px;
    border: 1px solid rgba(201, 168, 106, 0.2);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}
.service-photo {
    position: relative;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.4);
}
.service-photo img {
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 0;
    box-shadow: none;
}
.service-caption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 30px 16px 14px;
    text-align: left;
    background: linear-gradient(to top, rgba(6,12,38,0.88) 0%, rgba(6,12,38,0) 100%);
}
.service-caption h3 {
    margin: 0;
    color: #fffbe6;
    font-weight: 700;
    font-size: 1.2rem;
    text-shadow: 0 2px 8px rgba(0,0,0,0.5);
}
.service h3 {
    color: #fffbe6;
    font-weight: 700;
    margin-top: 20px;
}
.service p {
    color: #f2f2f2;
    font-size: 0.95rem;
    margin-bottom: 14px;
}
.service-cta {
    display: inline-block;
    color: #fffbe6;
    background: transparent;
    border: 1.5px solid #C9A86A;
    padding: 8px 18px;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.25s ease, color 0.25s ease;
}
.service-cta:hover {
    background: #C9A86A;
    color: #0b1230;
}
.service-business-text .service-cta {
    margin-top: 6px;
}

/* ======== LINEA BUSINESS (Executive) — separata, posizionamento premium ======== */
.service-business {
    margin-top: 45px;
    padding: 0;
    text-align: center;
    background: none;
    border: none;
    box-shadow: none;
}
.business-badge {
    display: inline-block;
    background: #C9A86A;
    color: #0b1230;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    padding: 5px 12px;
    border-radius: 4px;
    margin-bottom: 18px;
}
.service-business .service-business-img {
    display: block;
    width: 100%;
    aspect-ratio: auto;
    height: auto;
    object-fit: initial;
    border-radius: 8px;
    border: 1.5px solid rgba(201, 168, 106, 0.55);
    box-shadow: 0 12px 34px rgba(0,0,0,0.35);
    margin: 0 auto 22px auto;
}
.service-business-text p {
    color: #f2f2f2;
    font-size: 1.05rem;
    max-width: 620px;
    margin: 0 auto;
    text-align: center;
}

/* ======== TESTIMONIANZE ======== */
.testimonials blockquote {
    margin: 0 auto 30px auto;
    max-width: 650px;
}
.testimonials p {
    font-style: italic;
    font-size: 1.15rem;
    margin-bottom: 8px;
    color: #f8f8f8;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}
.testimonials cite {
    display: block;
    font-style: normal;
    font-size: 0.85rem;
    color: #C9A86A;
}

/* ======== BOTTONI GENERALI ======== */
.cta-button {
    background: #C9A86A;
    padding: 14px 28px;
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    transition: background 0.3s ease, transform 0.2s ease;
    display: inline-block;
}
.cta-button:hover {
    background: #b8975b;
    transform: translateY(-2px);
}
.secondary-button {
    background: transparent;
    border: 2px solid #fffbe6;
    color: #fffbe6;
}
.secondary-button:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* Gruppo pulsanti in basso */
.action-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
    margin-top: 35px;
}
.calendly-btn {
    background: #1a365d;
    border: 2px solid #C9A86A;
}
.whatsapp-inline-btn {
    background: #25d366;
}
.cta-primary {
    padding: 18px 36px;
    font-size: 1.1rem;
    box-shadow: 0 6px 20px rgba(0,0,0,0.4);
}
.cta-secondary {
    padding: 12px 22px;
    font-size: 0.9rem;
    opacity: 0.9;
}

/* ======== FOOTER ======== */
footer {
    text-align: center;
    padding: 60px 20px;
    background: rgba(5, 10, 30, 0.98);
    color: #ffffff;
    border-top: 1px solid rgba(201, 168, 106, 0.3);
}
.footer-logo {
    width: 120px;
    margin-bottom: 20px;
}
footer p {
    color: #f2f2f2;
    margin: 8px 0;
}
.legal-line {
    font-size: 0.8rem;
    opacity: 0.8;
}

/* ======== RIQUADRO FOCUS (es. maternità nel Parenting) ======== */
.focus-box {
    max-width: 780px;
    margin: 40px auto 0;
    padding: 32px 34px;
    text-align: left;
    background: linear-gradient(135deg, rgba(30,45,90,0.55) 0%, rgba(180,148,90,0.30) 100%);
    border: 1.5px solid rgba(201, 168, 106, 0.55);
    border-radius: 12px;
    box-shadow: 0 12px 34px rgba(0,0,0,0.28);
}
.focus-badge {
    display: inline-block;
    background: #C9A86A;
    color: #0b1230;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    padding: 5px 12px;
    border-radius: 4px;
    margin-bottom: 16px;
}
.focus-box h3 {
    color: #fffbe6;
    margin: 0 0 14px 0;
    font-size: 1.35rem;
}
.focus-box > p {
    color: #f2f2f2;
    font-size: 1rem;
    margin: 0 0 18px 0;
}
.focus-list {
    margin: 0 0 20px 0;
    padding-left: 20px;
}
.focus-list li {
    color: #f2f2f2;
    font-size: 0.95rem;
    margin-bottom: 12px;
}
.focus-list strong {
    color: #fffbe6;
}
.focus-note {
    font-size: 0.88rem;
    color: #e8e8e8;
    border-top: 1px solid rgba(201, 168, 106, 0.3);
    padding-top: 16px;
    margin: 0;
}

/* ======== PAGINE DI DETTAGLIO SERVIZIO (Life / Parenting / Executive) ======== */
.back-link {
    display: inline-block;
    margin: 18px 0 0 24px;
    color: #C9A86A;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
}
.back-link:hover {
    text-decoration: underline;
}
.detail-hero {
    padding: 50px 10% 60px;
    text-align: center;
    background: linear-gradient(135deg, rgba(8,16,48,0.92) 0%, rgba(30,45,90,0.85) 100%);
    border-bottom: 1px solid rgba(201, 168, 106, 0.25);
}
.detail-hero img {
    width: 200px;
    height: 200px;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid rgba(201, 168, 106, 0.6);
    box-shadow: 0 10px 30px rgba(0,0,0,0.4);
    margin-bottom: 28px;
}
.detail-hero .detail-hero-img-wide {
    width: 100%;
    max-width: 460px;
    height: auto;
    aspect-ratio: 1536 / 1024;
    object-fit: cover;
    border-radius: 12px;
    border-width: 2px;
}
.detail-hero h1 {
    font-size: 2.3rem;
    color: #fffbe6;
    margin: 0 0 16px 0;
    letter-spacing: 1px;
    text-shadow: 0 0 12px rgba(0,0,0,0.5);
}
.detail-hero p {
    max-width: 640px;
    margin: 0 auto;
    font-size: 1.1rem;
}
.benefits-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-top: 35px;
}
.benefit-item {
    flex: 1 1 220px;
    max-width: 260px;
    background: rgba(255, 255, 255, 0.06);
    padding: 25px 20px;
    border-radius: 8px;
    border: 1px solid rgba(201, 168, 106, 0.2);
    box-shadow: 0 8px 24px rgba(0,0,0,0.2);
    text-align: center;
}
.benefit-item h4 {
    color: #fffbe6;
    margin: 0 0 8px 0;
    font-size: 1.05rem;
}
.benefit-item p {
    color: #f2f2f2;
    font-size: 0.9rem;
    margin: 0;
}
.steps-list {
    max-width: 680px;
    margin: 35px auto 0;
    text-align: left;
}
.steps-list .step {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
    align-items: flex-start;
}
.step-number {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #C9A86A;
    color: #0b1230;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}
.steps-list h4 {
    margin: 0 0 4px 0;
    color: #fffbe6;
}
.steps-list p {
    margin: 0;
    color: #f2f2f2;
    font-size: 0.95rem;
}

@media (max-width: 768px) {
    .detail-hero img {
        width: 150px;
        height: 150px;
    }
    .detail-hero h1 {
        font-size: 1.8rem;
    }
}
footer a {
    color: #fffbe6;
    text-decoration: none;
}
footer a:hover {
    text-decoration: underline;
}

/* ======== WHATSAPP BUTTON (Fluttuante) ======== */
.whatsapp-button {
    position: fixed;
    bottom: 25px;
    right: 25px;
    background: #25d366;
    color: white;
    padding: 14px 22px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(0,0,0,0.4);
    z-index: 1000;
    transition: transform 0.2s ease;
}
.whatsapp-button:hover {
    transform: scale(1.05);
}

/* ======== RESPONSIVE PER SMARTPHONE ======== */
@media (max-width: 768px) {
    .pillars, .services {
        flex-direction: column;
    }
    .pillar, .service {
        width: 100%;
        margin-bottom: 20px;
    }
    .section {
        padding: 60px 6%;
    }
    body {
        background-attachment: scroll; /* evita glitch di rendering su iOS/mobile */
    }
}