/* Container */
.container {
    max-width: 1271px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.site-header {
    background: #fab802;
    padding: 15px 0;
    color: white;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
    position: relative;
}

.logo {
    flex-shrink: 0;
    z-index: 1001;
}

.logo img {
    height: 50px;
    width: auto;
}

.logo a {
    color: white;
    text-decoration: none;
    font-size: 24px;
    font-weight: bold;
    display: block;
}

/* Hamburger Button */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.hamburger-line {
    width: 28px;
    height: 3px;
    background: #1B1E3D;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.hamburger.active .hamburger-line:nth-child(1) {
    transform: rotate(40deg) translateY(12px)
}

.hamburger.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.hamburger.active .hamburger-line:nth-child(3) {
    transform: rotate(-50deg) translateY(-10px);
}

/* Navigation */
.main-nav {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.main-nav ul,
.main-nav .nav-menu {
    display: flex;
    list-style: none;
    gap: 24px;
    margin: 16px;
    padding: 10px;
}

.main-nav li {
    margin: 0;
}

.main-nav a {
    color: #1B1E3D;
    text-decoration: none;
    font-family: "Open Sans";
    font-size: 20px;
    font-style: normal;
    font-weight: 700;
    line-height: 140%;
    transition: opacity 0.3s ease;
    position: relative;
}

.main-nav a:hover {
    opacity: 0.8;
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #2063C8;
    transition: width 0.3s ease;
}

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

/* Theme Toggle (visual only) */
.theme-toggle {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
    margin-left: 40px;
}

.theme-toggle-label {
    color: #1B1E3D;
    font-family: "Open Sans";
    font-size: 16px;
    font-weight: 700;
}

.theme-toggle-switch {
    position: relative;
    width: 48px;
    height: 26px;
    border-radius: 100px;
    background: #FFF;
    border: none;
    cursor: pointer;
    padding: 3px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.theme-toggle-knob {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #2063C8;
    display: block;
    transition: transform 0.3s ease;
}

.theme-toggle-switch[aria-pressed="true"] .theme-toggle-knob {
    transform: translateX(22px);
}

/* Header CTA Button */
.header-cta {
    flex-shrink: 0;
    margin-left: 24px;
}

.header-cta-mobile {
    display: none;
}

.btn-acquista {
    display: inline-flex;
    background: #2063C8;
    color: #FFF;
    padding: 8px 24px;
    border-radius: 100px;
    font-weight: 600;
    font-family: "Open Sans";
    font-size: 20px;
    line-height: 140%;
    justify-content: center;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    transition: background 0.3s ease;
}

.btn-acquista:hover {
    background: #174E9E;
}

@media (max-width: 1024px) {
    .hamburger {
        display: flex;
    }

    .header-cta,
    .theme-toggle {
        display: none;
    }

    /* Menu mobile */
    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 300px;
        height: 100vh;
        background: #5c6a8b;
        flex-direction: column;
        justify-content: flex-start;
        padding: 100px 40px 40px;
        transition: right 0.3s ease;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.2);
    }

    .main-nav.active {
        right: 0;
    }

    .main-nav ul,
    .main-nav .nav-menu {
        flex-direction: column;
        gap: 24px;
        width: 100%;
    }

    .main-nav li {
        width: 100%;
    }

    .main-nav a {
        color: #FFF;
        font-size: 18px;
        display: block;
        padding: 12px 0;
    }

    /* Mostra CTA mobile dentro il menu */
    .header-cta-mobile {
        display: block;
        margin-top: 32px;
        padding-top: 32px;
        border-top: 1px solid rgba(255, 255, 255, 0.2);
    }

    .header-cta-mobile .btn-acquista {
        width: 100%;
        justify-content: center;
        text-align: center;
        background: #FFF;
        color: #5c6a8b;
    }
}

@media (max-width: 768px) {
    .logo img {
        height: 50px;
        width: 68%;
    }

    .main-nav {
        width: 280px;
        padding: 80px 30px 30px;
    }
}

/* Hero Section */
.hero-section {
    background: #fab802;
    color: #FFF;
    padding: 100px 0;
    overflow: hidden;
}

.hero-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    position: relative;
}

.hero-content {
    text-align: left;
    max-width: 600px;
    z-index: 2;
    position: relative;
}

.hero-content h1 {
    color: #1B1E3D;
    text-align: left;
    font-family: "Abhaya Libre";
    font-size: 56px;
    font-style: normal;
    font-weight: 400;
    line-height: 110%;
    margin-bottom: 24px;
}

.hero-content h1 b {
    font-weight: 700;
}

.hero-content p {
    color: #1B1E3D;
    text-align: left;
    font-family: "Open Sans";
    font-size: 22px;
    font-style: normal;
    font-weight: 600;
    line-height: 140%;
    margin-bottom: 40px;
}

/* Outline Button */
.btn-outline {
    display: inline-block;
    padding: 18px 36px;
    border: 2px solid #1B1E3D;
    border-radius: 50px;
    color: #1B1E3D;
    font-family: "Open Sans";
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none;
    background: transparent;
    transition: all 0.3s ease;
}

.btn-outline:hover {
    background: #1B1E3D;
    color: #FFF;
}

/* Hero Illustration */
.hero-illustration {
    position: relative;
    width: 480px;
    flex-shrink: 0;
    z-index: 1;
}

.hero-illustration img {
    width: 100%;
    height: auto;
}

/* Responsive */
@media (max-width: 1024px) {
    .hero-wrapper {
        flex-direction: column;
        text-align: center;
    }

    .hero-content {
        text-align: center;
        max-width: 100%;
    }

    .hero-content h1,
    .hero-content p {
        text-align: center;
    }

    .hero-illustration {
        width: 380px;
    }
}

@media (max-width: 540px) {
    .hero-content h1 {
        font-size: 40px;
    }

    .hero-content p {
        font-size: 18px;
    }

    .hero-illustration {
        width: 280px;
    }
}

/* Solutions Section */
.solutions-section {
    padding: 100px 0;
}

.solutions-wrapper {
    display: flex;
    align-items: flex-start;
    gap: 60px;
}

.solutions-image {
    flex: 0 0 35%;
    max-width: 35%;
}

.solutions-image img {
    width: 100%;
    height: auto;
}

.solutions-content {
    flex: 1;
}

.solutions-content h2 {
    color: #2E2E2E;
    font-family: "Abhaya Libre";
    font-size: 48px;
    font-style: normal;
    font-weight: 700;
    line-height: 110%;
    margin-bottom: 32px;
}

.solutions-content > p {
    color: #636363;
    font-family: "Open Sans";
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: 160%;
    margin-bottom: 56px;
}

.solutions-content > p b {
    color: #2E2E2E;
}

/* Features Grid (inside solutions) */
.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px 32px;
}

.feature-card {
    display: flex;
    align-items: center;
    gap: 20px;
    text-align: left;
}

.feature-icon {
    flex-shrink: 0;
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-icon img {
    width: 60px;
    height: 60px;
}

.feature-card h3 {
    color: #2E2E2E;
    font-family: "Open Sans";
    font-size: 20px;
    font-style: normal;
    font-weight: 700;
    line-height: 130%;
    margin: 0;
}

/* Responsive */
@media (max-width: 1024px) {
    .solutions-wrapper {
        flex-direction: column;
        gap: 40px;
    }

    .solutions-image {
        max-width: 60%;
        margin: 0 auto;
    }

    .solutions-content h2,
    .solutions-content > p {
        text-align: center;
    }

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

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

    .feature-card {
        justify-content: center;
    }

    .solutions-content h2 {
        font-size: 36px;
    }
}

@media (max-width: 540px) {
    .solutions-image {
        max-width: 80%;
    }

    .solutions-content h2 {
        font-size: 28px;
    }

    .solutions-content > p {
        font-size: 16px;
    }
}

/* Dettagli Section */
.dettagli-section {
    padding: 100px 0;
    background: #F5F5F7;
}

.dettagli-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 60px;
}

.dettagli-header h2 {
    color: #2E2E2E;
    font-family: "Abhaya Libre";
    font-size: 52px;
    font-style: normal;
    font-weight: 400;
    line-height: 110%;
    flex: 0 0 auto;
    max-width: 480px;
}

.dettagli-header h2 b {
    font-weight: 700;
}

.dettagli-header p {
    color: #636363;
    font-family: "Open Sans";
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: 160%;
    max-width: 480px;
    text-align: right;
}

/* Grid layout: two independent columns */
.dettagli-grid {
    display: flex;
    align-items: flex-start;
    gap: 32px;
}

.dettagli-col {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 32px;
}

/* Card base */
.dettagli-card {
    background: #FFF;
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.04);
}

.dettagli-card-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
}

.dettagli-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: #FAB002;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dettagli-icon img {
    width: 36px;
    height: 36px;
}

.dettagli-card-header h3 {
    color: #2E2E2E;
    font-family: "Open Sans";
    font-size: 22px;
    font-style: normal;
    font-weight: 700;
    line-height: 130%;
    margin: 0;
}

.dettagli-card p {
    color: #636363;
    font-family: "Open Sans";
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 160%;
    margin: 0 0 24px 0;
}

.dettagli-image img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    display: block;
}

/* Vertical card: header, text, image stacked */
.dettagli-card-vertical .dettagli-image {
    margin-top: 8px;
}

/* Horizontal card: image + text side by side */
.dettagli-card-body {
    display: flex;
    align-items: center;
    gap: 24px;
}

.dettagli-card-horizontal .dettagli-image {
    flex: 0 0 58%;
    max-width: 58%;
}

.dettagli-card-horizontal .dettagli-card-body p {
    flex: 1;
    margin-bottom: 0;
}

.dettagli-card-horizontal.reverse .dettagli-card-body {
    flex-direction: row-reverse;
}

/* Responsive */
@media (max-width: 1024px) {
    .dettagli-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .dettagli-header p {
        text-align: left;
        max-width: 100%;
    }

    .dettagli-grid {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .dettagli-card-body {
        flex-direction: column;
        align-items: flex-start;
    }

    .dettagli-card-horizontal.reverse .dettagli-card-body {
        flex-direction: column;
    }

    .dettagli-card-horizontal .dettagli-image {
        max-width: 100%;
    }

    .dettagli-header h2 {
        font-size: 32px;
    }
}

@media (max-width: 540px) {
    .dettagli-card {
        padding: 28px;
    }

    .dettagli-card-header h3 {
        font-size: 18px;
    }

    .dettagli-header h2 {
        font-size: 28px;
    }
}

/* Rivolto a Section */
.rivolto-section {
    padding: 100px 0;
    background: #FFF1D9;
}

.rivolto-wrapper {
    display: flex;
    align-items: center;
    gap: 60px;
}

.rivolto-image {
    flex: 0 0 40%;
    max-width: 40%;
}

.rivolto-image img {
    width: 100%;
    height: auto;
}

.rivolto-content {
    flex: 1;
}

.rivolto-content h2 {
    color: #2E2E2E;
    font-family: "Abhaya Libre";
    font-size: 48px;
    font-style: normal;
    font-weight: 700;
    line-height: 100%;
    margin-bottom: 32px;
}

.rivolto-content p {
    color: #636363;
    font-family: "Open Sans";
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: 160%;
    margin-bottom: 20px;
}

.rivolto-content p:last-child {
    margin-bottom: 0;
}

/* Responsive */
@media (max-width: 1024px) {
    .rivolto-wrapper {
        flex-direction: column;
        gap: 40px;
    }

    .rivolto-image {
        max-width: 60%;
        margin: 0 auto;
    }

    .rivolto-content h2,
    .rivolto-content p {
        text-align: center;
    }
}

@media (max-width: 768px) {
    .rivolto-content h2 {
        font-size: 36px;
    }
}

@media (max-width: 540px) {
    .rivolto-image {
        max-width: 80%;
    }

    .rivolto-content h2 {
        font-size: 28px;
    }

    .rivolto-content p {
        font-size: 16px;
    }
}

/* All-in-One Section */
.all-in-one-section {
    padding: 120px 0;
    background: #FAFAFA;
}

.all-in-one-title {
    margin-bottom: 80px;
    text-align: center;
}

.all-in-one-title h2 {
    color: #2E2E2E;
    text-align: center;
    font-family: "Abhaya Libre";
    font-size: 48px;
    font-style: normal;
    font-weight: 400;
    line-height: 100%;
    margin: 0;
}

.all-in-one-title h2 b {
    font-weight: 700;
}

/* All-in-One Grid */
.all-in-one-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto 60px;
}

/* All-in-One Card */
.all-in-one-card {
    border-radius: 24px;
    padding: 60px 40px;
    text-align: center;
}

.all-in-one-card.card-peach {
    background: #FFF1D9;
}

.all-in-one-card.card-blue {
    background: #E7F1FF;
}

.all-in-one-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 32px;
    border-radius: 50%;
    background: #FFF;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.all-in-one-icon img {
    width: 56px;
    height: auto;
}

.all-in-one-card h3 {
    color: #2E2E2E;
    font-family: "Open Sans";
    font-size: 24px;
    font-style: normal;
    font-weight: 700;
    line-height: 130%;
    margin-bottom: 16px;
}

.all-in-one-card p {
    color: #636363;
    font-family: "Open Sans";
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 160%;
    margin: 0;
}

/* Responsive */
@media (max-width: 1024px) {
    .all-in-one-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .all-in-one-card {
        padding: 40px 30px;
    }
}

@media (max-width: 540px) {
    .all-in-one-title h2 {
        font-size: 32px;
    }
}

/* Installazioni Section */
.installazioni-section {
    padding: 120px 0;
}

.installazioni-title {
    margin-bottom: 60px;
    text-align: center;
}

.installazioni-title h2 {
    color: #2E2E2E;
    text-align: center;
    font-family: "Abhaya Libre";
    font-size: 48px;
    font-style: normal;
    font-weight: 400;
    line-height: 100%;
    margin: 0;
}

.installazioni-title h2 b {
    font-weight: 700;
}

/* Grid */
.installazioni-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    align-items: stretch;
}

/* Screenshot cards */
.installazioni-card {
    background: #FFF;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    display: flex;
    flex-direction: column;
}

.installazioni-image {
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
}

.installazioni-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    display: block;
}

.installazioni-card h3 {
    color: #2E2E2E;
    font-family: "Open Sans";
    font-size: 22px;
    font-style: normal;
    font-weight: 700;
    line-height: 130%;
    padding: 28px 28px 32px;
    margin: 0;
}

/* CTA card */
.installazioni-cta {
    background: #FAB002;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: none;
}

.installazioni-cta-title {
    color: #1B1E3D;
    font-family: "Abhaya Libre";
    font-size: 32px;
    font-style: normal;
    font-weight: 400;
    line-height: 120%;
    margin: 0;
}

.installazioni-cta-title b {
    font-weight: 700;
}

.installazioni-cta-link {
    color: #1B1E3D;
    font-family: "Open Sans";
    font-size: 18px;
    font-weight: 700;
    text-decoration: underline;
    margin-top: 40px;
}

/* Responsive */
@media (max-width: 1024px) {
    .installazioni-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .installazioni-cta {
        min-height: 260px;
    }
}

@media (max-width: 540px) {
    .installazioni-title h2 {
        font-size: 32px;
    }

    .installazioni-cta-title {
        font-size: 26px;
    }
}

/* Contatti Section */
.contatti-section {
    padding: 120px 0;
}

.contatti-header {
    max-width: 800px;
    margin-bottom: 40px;
}

.contatti-header h2 {
    color: #36245A;
    font-family: "Abhaya Libre";
    font-size: 64px;
    font-style: normal;
    font-weight: 400;
    line-height: 100%;
    margin-bottom: 24px;
}

.contatti-header p {
    color: #636363;
    font-family: "Open Sans";
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: 160%;
    text-align: left;
}

/* Contact Form */
.contact-form-wrapper {
    margin: 0 auto;
}

/* Responsive */
@media (max-width: 768px) {
    .contatti-header h2 {
        font-size: 48px;
    }
}

/* Footer */
.site-footer {
    background: #FAB002;
    color: #2E2E2E;
    padding: 40px 0 40px 0;
    position: relative;
}

.site-footer .container {
    max-width: 1271px;
}

/* Footer Top */
.footer-top {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(46, 46, 46, 0.15);
}

.footer-logo {
    text-align: center;
}

.footer-logo-bg {
    display: inline-block;
    border-radius: 50%;
    margin-top: -100px;
}

.footer-logo img {
    width: 70px;
    height: 70px;
    display: block;
    object-fit: contain;
}

.footer-tagline {
    color: #2E2E2E;
    font-family: "Open Sans";
    font-size: 16px;
    margin: 0;
    opacity: 0.9;
}

.footer-info {
    text-align: center;
}

.footer-info h3 {
    color: #2E2E2E;
    font-family: "Open Sans";
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    line-height: 140%;
    margin-bottom: 5px;
}

.footer-info p {
    color: #2E2E2E;
    font-family: "Open Sans";
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 140%;
}

/* Footer Bottom */
.footer-bottom {
    padding-top: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
}

/* Social Icons */
.footer-social {
    display: flex;
    gap: 24px;
    justify-content: center;
}

.footer-social a {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #2E2E2E;
    transition: opacity 0.3s ease;
}

.footer-social a:hover {
    opacity: 0.65;
}

/* Footer Menu */
.footer-menu {
    width: 100%;
}

.footer-nav {
    display: flex;
    justify-content: center;
    gap: 40px;
    list-style: none;
    margin: 0;
    padding: 0;
    flex-wrap: wrap;
}

.footer-nav li {
    margin: 0;
}

.footer-nav a {
    color: #2E2E2E;
    font-family: "Open Sans";
    font-size: 16px;
    text-decoration: none;
    opacity: 0.85;
    transition: opacity 0.3s ease;
}

.footer-nav a:hover {
    opacity: 1;
}

/* Responsive */
@media (max-width: 768px) {
    .site-footer {
        padding: 60px 0 30px 0;
    }

    .footer-top {
        padding-bottom: 40px;
    }

    .footer-logo img {
        height: 80px;
        width: auto;
    }

    .footer-nav {
        flex-direction: column;
        align-items: center;
        gap: 16px;
    }
}

/* ============================================= */
/* DARK MODE                                      */
/* ============================================= */

body.dark-mode .site-header {
    background: #0F192E;
}

body.dark-mode .main-nav a {
    color: #FFF;
}

body.dark-mode .hamburger-line {
    background: #FFF;
}

body.dark-mode .theme-toggle-label {
    color: #FFF;
}

body.dark-mode .theme-toggle-switch {
    background: rgba(255, 255, 255, 0.15);
}

/* Hero */
body.dark-mode .hero-section {
    background: #0F192E;
}

body.dark-mode .hero-content h1,
body.dark-mode .hero-content p {
    color: #FFF;
}

body.dark-mode .btn-outline {
    border-color: #FFF;
    color: #FFF;
}

body.dark-mode .btn-outline:hover {
    background: #FFF;
    color: #0F192E;
}

/* Gestisci i tuoi eventi */
body.dark-mode .solutions-section {
    background: #1F2E47;
}

body.dark-mode .solutions-content h2,
body.dark-mode .feature-card h3 {
    color: #FFF;
}

body.dark-mode .solutions-content > p {
    color: #C7D0DE;
}

body.dark-mode .solutions-content > p b {
    color: #FFF;
}

body.dark-mode .feature-icon {
    background: #0F192E;
}

/* A chi si rivolge */
body.dark-mode .rivolto-section {
    background: #2063C8;
}

body.dark-mode .rivolto-content h2,
body.dark-mode .rivolto-content p {
    color: #FFF;
}

/* La tua comunità, connessa in un click! */
body.dark-mode .dettagli-section {
    background: #1F2E47;
}

body.dark-mode .dettagli-header h2,
body.dark-mode .dettagli-card-header h3 {
    color: #FFF;
}

body.dark-mode .dettagli-header p,
body.dark-mode .dettagli-card p {
    color: #C7D0DE;
}

body.dark-mode .dettagli-card {
    background: #27354A;
    box-shadow: none;
}

body.dark-mode .dettagli-icon {
    background: #185BC4;
}

/* Soluzione All-in-One */
body.dark-mode .all-in-one-section {
    background: #1F2E47;
}

body.dark-mode .all-in-one-title h2 {
    color: #FFF;
}

body.dark-mode .all-in-one-card.card-peach {
    background: #1F4887;
}

body.dark-mode .all-in-one-card.card-blue {
    background: #192640;
}

body.dark-mode .all-in-one-card h3 {
    color: #FFF;
}

body.dark-mode .all-in-one-card p {
    color: #C7D0DE;
}

/* Installazioni all'attivo */
body.dark-mode .installazioni-section {
    background: #1F2E47;
}

body.dark-mode .installazioni-title h2 {
    color: #FFF;
}

body.dark-mode .installazioni-card {
    background: #27354A;
    box-shadow: none;
}

body.dark-mode .installazioni-card h3 {
    color: #FFF;
}

body.dark-mode .installazioni-cta {
    background: #27354A;
}

body.dark-mode .installazioni-cta-title,
body.dark-mode .installazioni-cta-link {
    color: #FFF;
}

/* Contattaci */
body.dark-mode .contatti-section {
    background: #1A2641;
}

body.dark-mode .contatti-header h2 {
    color: #FFF;
}

body.dark-mode .contatti-header p {
    color: #C7D0DE;
}

body.dark-mode :is(.contatti-section, .page-content-text) .nf-field-label label {
    color: #FFF;
}

body.dark-mode :is(.contatti-section, .page-content-text) .nf-element {
    background: #152131;
    color: #FFF;
    box-shadow: none;
}

body.dark-mode :is(.contatti-section, .page-content-text) .nf-element::placeholder {
    color: #8A93A3;
}

/* Footer */
body.dark-mode .site-footer {
    background: #0F192E;
    color: #FFF;
}

body.dark-mode .footer-info h3,
body.dark-mode .footer-info p,
body.dark-mode .footer-nav a,
body.dark-mode .footer-social a {
    color: #FFF;
}

body.dark-mode .footer-top {
    border-bottom-color: rgba(255, 255, 255, 0.15);
}

/* Logo swap (header) + tutte le immagini con coppia light/dark */
.logo img[src*="-dark"],
.feature-icon img[src*="-dark"],
.dettagli-icon img[src*="-dark"],
.footer-logo-bg img[src*="-dark"],
.hero-illustration img[src*="-dark"],
.rivolto-image img[src*="-dark"] {
    display: none;
}

body.dark-mode .logo img:not([src*="-dark"]),
body.dark-mode .feature-icon img:not([src*="-dark"]),
body.dark-mode .dettagli-icon img:not([src*="-dark"]),
body.dark-mode .footer-logo-bg img:not([src*="-dark"]),
body.dark-mode .hero-illustration img:not([src*="-dark"]),
body.dark-mode .rivolto-image img:not([src*="-dark"]) {
    display: none;
}

body.dark-mode .logo img[src*="-dark"],
body.dark-mode .feature-icon img[src*="-dark"],
body.dark-mode .dettagli-icon img[src*="-dark"],
body.dark-mode .footer-logo-bg img[src*="-dark"],
body.dark-mode .hero-illustration img[src*="-dark"],
body.dark-mode .rivolto-image img[src*="-dark"] {
    display: block;
}

/* Pagina standard */
body.dark-mode .page-content {
    background: #1A2641;
}

body.dark-mode .page-header .page-title {
    color: #FFF;
}

body.dark-mode .page-content-text {
    color: #C7D0DE;
}

body.dark-mode .page-content-text p {
    color: #C7D0DE;
}