/* ================================
   C&Y ROMA - IMPEGNO NEL SOCIALE
================================ */

.cy-social-page {
    background: #f7f5f1;
    color: #2f2f2f;
    font-family: AvenirLight, "Avenir Light", Avenir, sans-serif;
    margin-left: 250px;
    overflow-x: hidden;
}

/* HERO */

.cy-social-hero {
    position: relative;
    min-height: 500px;
    background-image: url("https://www.ceyapt.com/wp-content/uploads/2026/06/home_background.png");
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cy-social-hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.48);
}

.cy-social-hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    padding: 0 28px;
    text-align: center;
}

.cy-social-hero-content h1 {
    font-family: Cinzel, serif;
    font-size: 5.6rem;
    font-weight: 400;
    line-height: 1.05;
    color: rgba(233, 233, 233, 0.42);
    margin-bottom: 24px;
}

.cy-social-hero-content p {
    max-width: 720px;
    margin: 0 auto;
    font-size: 1.05rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.78);
}

/* GENERAL */

.cy-social-container {
    width: min(1120px, calc(100% - 56px));
    margin: 0 auto;
}

.cy-social-section {
    padding: 95px 0;
}

.cy-social-kicker {
    display: block;
    margin-bottom: 18px;
    font-size: 0.78rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #9b8a6f;
}

.cy-social-section h2,
.cy-social-community h2,
.cy-social-emergency-panel h2,
.cy-social-cta h2 {
    font-family: Cinzel, serif;
    font-size: 2.8rem;
    font-weight: 400;
    line-height: 1.2;
    color: #3b3328;
    margin-bottom: 28px;
}

.cy-social-section p,
.cy-social-community p,
.cy-social-emergency-panel p,
.cy-social-cta p {
    font-size: 1rem;
    line-height: 1.85;
    color: #5f5a52;
    margin-bottom: 18px;
}

/* INTRO */

.cy-social-intro .cy-social-container {
    max-width: 860px;
    text-align: center;
}

/* VALUES */

.cy-social-values {
    padding: 35px 0 105px;
}

.cy-social-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.cy-social-card {
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid rgba(176, 158, 128, 0.28);
    border-radius: 24px;
    padding: 38px 32px;
    min-height: 330px;
    box-shadow: 0 18px 45px rgba(45, 38, 28, 0.07);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.cy-social-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 24px 55px rgba(45, 38, 28, 0.11);
}

.cy-social-icon {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    border: 1px solid rgba(176, 158, 128, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: Cinzel, serif;
    font-size: 0.95rem;
    color: #8f7c61;
    margin-bottom: 28px;
}

.cy-social-card h3 {
    font-family: Cinzel, serif;
    font-size: 1.42rem;
    font-weight: 400;
    color: #3b3328;
    margin-bottom: 18px;
}

.cy-social-card p {
    font-size: 0.98rem;
    line-height: 1.78;
    color: #625d55;
}

/* COMMITMENT */

.cy-social-commitment {
    background:
        radial-gradient(circle at top left, rgba(176, 158, 128, 0.20), transparent 35%),
        linear-gradient(135deg, #eee8dd 0%, #faf8f4 55%, #e7dfd2 100%);
}

.cy-social-split {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: center;
}

.cy-social-text {
    max-width: 640px;
}

.cy-social-panel {
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(176, 158, 128, 0.32);
    border-radius: 28px;
    padding: 42px 38px;
    box-shadow:
        0 22px 60px rgba(48, 40, 28, 0.10),
        inset 0 1px 0 rgba(255, 255, 255, 0.75);
}

.cy-social-panel h3 {
    font-family: Cinzel, serif;
    font-size: 1.65rem;
    font-weight: 400;
    color: #3b3328;
    margin-bottom: 24px;
}

.cy-social-panel ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.cy-social-panel li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 18px;
    font-size: 0.98rem;
    line-height: 1.65;
    color: #5e584f;
}

.cy-social-panel li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.72em;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #b09e80;
}

/* COMMUNITY */

.cy-social-community {
    padding: 105px 0;
    background: #f7f5f1;
}

.cy-social-community-box {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    padding: 60px 52px;
    border-radius: 30px;
    border: 1px solid rgba(176, 158, 128, 0.25);
    background: rgba(255, 255, 255, 0.62);
}

/* EMERGENCY SUPPORT */

.cy-social-emergency {
    padding: 105px 0;
    background:
        radial-gradient(circle at top left, rgba(176, 158, 128, 0.18), transparent 34%),
        linear-gradient(135deg, #f7f5f1 0%, #ffffff 48%, #ede7dc 100%);
}

.cy-social-emergency-split {
    align-items: stretch;
}

.cy-social-emergency-panel {
    padding: 54px 0;
}

.cy-social-emergency-card {
    background:
        radial-gradient(circle at top right, rgba(255, 255, 255, 0.22), transparent 38%),
        linear-gradient(135deg, #3d362c 0%, #5b4f3f 52%, #2d2822 100%);
    border: 1px solid rgba(176, 158, 128, 0.35);
    border-radius: 30px;
    padding: 46px 40px;
    min-height: 100%;
    box-shadow:
        0 24px 65px rgba(48, 40, 28, 0.18),
        inset 0 1px 0 rgba(255, 255, 255, 0.12);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.cy-social-emergency-card h3 {
    font-family: Cinzel, serif;
    font-size: 1.85rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.92);
    margin-bottom: 24px;
}

.cy-social-emergency-card p {
    font-size: 0.98rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.72);
    margin-bottom: 32px;
}

.cy-social-emergency-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    min-height: 46px;
    padding: 0 26px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.42);
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-size: 0.82rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    transition: all 0.25s ease;
}

.cy-social-emergency-link:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.72);
    color: #fff;
}

/* CTA */

.cy-social-cta {
    padding: 95px 0;
    text-align: center;
    background:
        radial-gradient(circle at top right, rgba(255, 255, 255, 0.18), transparent 38%),
        radial-gradient(circle at bottom left, rgba(176, 158, 128, 0.35), transparent 36%),
        linear-gradient(135deg, #3d362c 0%, #5b4f3f 48%, #2d2822 100%);
}

.cy-social-cta h2 {
    color: rgba(255, 255, 255, 0.9);
}

.cy-social-cta p {
    max-width: 720px;
    margin: 0 auto 34px;
    color: rgba(255, 255, 255, 0.72);
}

.cy-social-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 170px;
    min-height: 48px;
    padding: 0 28px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.45);
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-size: 0.88rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    transition: all 0.25s ease;
}

.cy-social-button:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.72);
    color: #fff;
}

/* RESPONSIBLE STAY TIPS */

.cy-social-tips {
    padding: 105px 0;
    background:
        radial-gradient(circle at top right, rgba(176, 158, 128, 0.14), transparent 34%),
        linear-gradient(135deg, #ffffff 0%, #f7f5f1 52%, #eee8dd 100%);
}

.cy-social-tips-heading {
    max-width: 860px;
    margin: 0 auto 56px;
    text-align: center;
}

.cy-social-tips-heading h2 {
    font-family: Cinzel, serif;
    font-size: 2.8rem;
    font-weight: 400;
    line-height: 1.2;
    color: #3b3328;
    margin-bottom: 24px;
}

.cy-social-tips-heading p {
    font-size: 1rem;
    line-height: 1.85;
    color: #5f5a52;
    margin: 0 auto;
}

.cy-social-tips-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
}

.cy-social-tip-card {
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(176, 158, 128, 0.26);
    border-radius: 24px;
    padding: 34px 30px;
    min-height: 250px;
    box-shadow: 0 18px 45px rgba(45, 38, 28, 0.07);
}

.cy-social-tip-number {
    font-family: Cinzel, serif;
    font-size: 0.82rem;
    letter-spacing: 0.12em;
    color: #9b8a6f;
    margin-bottom: 20px;
}

.cy-social-tip-card h3 {
    font-family: Cinzel, serif;
    font-size: 1.28rem;
    font-weight: 400;
    line-height: 1.35;
    color: #3b3328;
    margin-bottom: 16px;
}

.cy-social-tip-card p {
    font-size: 0.96rem;
    line-height: 1.75;
    color: #625d55;
}

/* EMERGENCY LOGO */

.cy-social-emergency-logo {
    display: block;
    width: 190px;
    max-width: 70%;
    height: auto;
    margin: 0 0 30px;
    opacity: 0.95;
}

@media (max-width: 1100px) {
    .cy-social-tips-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .cy-social-tips {
        padding: 72px 0;
    }

    .cy-social-tips-heading h2 {
        font-size: 2.15rem;
    }

    .cy-social-tips-grid {
        grid-template-columns: 1fr;
    }

    .cy-social-tip-card {
        min-height: auto;
        padding: 30px 26px;
    }

    .cy-social-emergency-logo {
        width: 160px;
        margin-bottom: 26px;
    }
}

/* RESPONSIVE */

@media (max-width: 1100px) {
    .cy-social-page {
        margin-left: 0;
    }

    .cy-social-hero-content h1 {
        font-size: 4.3rem;
    }

    .cy-social-grid {
        grid-template-columns: 1fr;
    }

    .cy-social-card {
        min-height: auto;
    }

    .cy-social-split {
        grid-template-columns: 1fr;
        gap: 42px;
    }

    .cy-social-emergency-panel {
        padding: 0;
    }
}

@media (max-width: 768px) {
    .cy-social-hero {
        min-height: 430px;
    }

    .cy-social-hero-content h1 {
        font-size: 3rem;
    }

    .cy-social-hero-content p {
        font-size: 0.96rem;
    }

    .cy-social-section,
    .cy-social-community,
    .cy-social-emergency,
    .cy-social-cta {
        padding: 72px 0;
    }

    .cy-social-values {
        padding: 20px 0 72px;
    }

    .cy-social-section h2,
    .cy-social-community h2,
    .cy-social-emergency-panel h2,
    .cy-social-cta h2 {
        font-size: 2.15rem;
    }

    .cy-social-container {
        width: min(100% - 36px, 1120px);
    }

    .cy-social-community-box {
        padding: 42px 28px;
    }

    .cy-social-panel,
    .cy-social-emergency-card {
        padding: 34px 28px;
    }
}