
:root{--primary:#0e0895;}
body{font-family:Arial,sans-serif;margin:0;line-height:1.6;color:#222}
.container{width:min(1100px,90%);margin:auto}
header{background:white;position:sticky;top:0;border-bottom:1px solid #ddd}
.nav{display:flex;justify-content:space-between;align-items:center;padding:1rem 0}
.logo{font-weight:bold;color:var(--primary);font-size:1.5rem}
nav a{text-decoration:none;margin-left:1rem;color:#222}

.nav-button {
    display: inline-block;
    border: 2px solid #0e0895;
    color: #0e0895;
    text-decoration: none;
    padding: 10px 18px;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.2s ease;
}

.nav-button:hover {
    background: #0e0895;
    color: white;
}

.hero{background:linear-gradient(135deg,var(--primary),#3127d6);color:white;padding:6rem 0}
.hero.small{padding:3rem 0}
.btn{display:inline-block;background:white;color:var(--primary);padding:.8rem 1.2rem;border-radius:6px;text-decoration:none;font-weight:bold}
.cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:1rem}
.card{background:#f7f7f7;padding:1rem;border-radius:8px}
section{padding:3rem 0}
.alt{background:#f4f6ff}
.accordion{width:100%;padding:1rem;border:none;background:var(--primary);color:white;cursor:pointer}
.panel{display:none;padding:1rem;background:white;border:1px solid #ddd}
.steps{text-align:center;font-size:1.3rem;font-weight:bold}
.cta{text-align:center}

.center-button {
    text-align: center;
    margin-top: 2rem;
}

.ripano-benefits {
    margin-top: 3rem;
    padding: 2rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

.ripano-benefits h3 {
    margin-top: 0;
    color: #0e0895;
}

.ripano-benefits ul {
    list-style: none;
    padding: 0;
    margin: 0;

    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px 24px;
}

.ripano-benefits li {
    background: #f5f5f5;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 1rem;
}

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

.demo-section {
    margin-top: 3rem;
    padding: 2rem;

    background: white;
    border-radius: 12px;

    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;

    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.demo-info {
    flex: 1;
}

.demo-info h3 {
    margin-top: 0;
    color: #0e0895;
}
@media (max-width: 768px) {
    .demo-section {
        flex-direction: column;
        text-align: center;
    }
}


.center-button {
    flex-shrink: 0;
}

.process {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    margin-top: 3rem;
    flex-wrap: wrap;
}

.process-step {
    flex: 1;
    min-width: 250px;
    max-width: 320px;

    background: white;
    padding: 2rem;
    border-radius: 12px;

    text-align: center;

    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.process-number {
    width: 60px;
    height: 60px;

    margin: 0 auto 1rem;

    background: #0e0895;
    color: white;

    border-radius: 50%;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 1.5rem;
    font-weight: bold;
}

.references {
    margin-top: 3rem;
}

.reference-card {
    background: white;
    border-radius: 12px;
    margin-bottom: 20px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.reference-header {
    width: 100%;

    border: none;
    background: white;

    padding: 24px;

    display: flex;
    justify-content: space-between;
    align-items: center;

    text-align: left;

    cursor: pointer;

    transition: background 0.2s;
}

.reference-header:hover {
    background: #f4f6ff;
}

.reference-header h2 {
    margin: 0;
    color: #0e0895;
}

.reference-header p {
    margin: 8px 0 0;
    color: #666;
}

.reference-icon {
    font-size: 2rem;
    color: #0e0895;
    font-weight: bold;
}

.reference-content {
    display: none;
    padding: 24px;
    border-top: 1px solid #eee;
}

.reference-card.active .reference-content {
    display: block;
}

.reference-card.active .reference-icon {
    content: "-";
}

.case-section h3 {
    color: #0e0895;
    margin-top: 2rem;
}

.case-highlights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 15px;
    margin: 20px 0;
}

.highlight-card {
    background: #f4f6ff;
    padding: 15px;
    border-radius: 10px;
}

.case-list li {
    margin-bottom: 10px;
}

.case-benefits {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 15px;
    margin-top: 20px;
}

.benefit {
    background: #f7f7f7;
    padding: 15px;
    border-radius: 10px;
}

.benefit h4 {
    margin-top: 0;
    color: #0e0895;
}

.case-result {
    background: #0e0895;
    color: white;
    padding: 20px;
    border-radius: 12px;
    margin-top: 20px;
    font-weight: 500;
}

.image-placeholder {
    background: #f4f6ff;
    border: 2px dashed #0e0895;
    color: #0e0895;
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    font-weight: 600;
    margin-bottom: 25px;
}

.reference-content img {
    width: 100%;
    border-radius: 10px;
    margin-bottom: 20px;
}

.reference-gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.reference-gallery img {
    width: 100%;
    height: 350px;

    object-fit: cover;

    border-radius: 12px;

    box-shadow: 0 4px 15px rgba(0,0,0,0.12);

    transition: transform 0.2s ease;
}

.reference-gallery img:hover {
    transform: scale(1.02);
}
@media (max-width: 768px) {

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

    .reference-gallery img {
        height: auto;
    }

}

.why-section {
    display: flex;
    gap: 2rem;
    align-items: stretch;
    margin-top: 2rem;
}

.why-left {
    flex: 1.4;
}

.why-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    height: 100%;
}

.why-image {
    flex: 0 0 32%;
}

.why-image img {
    width: 100%;
    height: 100%;
    max-height: 520px;
    object-fit: cover;
    object-position: center;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.12);
}

.why-message {
    margin-top: 25px;
    background: linear-gradient(135deg, #0e0895, #1c14d9);
    color: white;
    padding: 30px;
    border-radius: 14px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.12);
}

.why-message h3 {
    margin-top: 0;
}

.why-message p {
    line-height: 1.7;
}

@media (max-width: 768px) {
    .why-section {
        flex-direction: column;
    }

    .why-cards {
        grid-template-columns: 1fr;
    }

    .why-image {
        flex: none;
    }

    .why-image img {
        height: auto;
        max-height: none;
    }
}

.partners-section {
    padding: 5rem 0;
    background: #f8f9fc;
    margin-top: 4rem;
}

.partners-section h2 {
    text-align: center;
    margin-bottom: 10px;
}

.partners-subtitle {
    text-align: center;
    color: #666;
    margin-bottom: 40px;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 25px;
    align-items: center;
}

.partner-logo {
    background: white;
    border-radius: 14px;
    padding: 30px;

    display: flex;
    align-items: center;
    justify-content: center;

    min-height: 70px;

    box-shadow: 0 4px 15px rgba(0,0,0,0.06);

    transition: transform 0.2s ease;
}

.partner-logo:hover {
    transform: translateY(-4px);
}

.partner-logo img {
    max-width: 100%;
    max-height: 100px;

    object-fit: contain;

    filter: grayscale(100%);
    opacity: 0.85;

    transition: all 0.2s ease;
}

.partner-logo:hover img {
    filter: grayscale(0%);
    opacity: 1;
}

.clickable-image {
    cursor: zoom-in;
}

/* MODAL */

.image-modal {
    display: none;

    position: fixed;
    z-index: 9999;

    left: 0;
    top: 0;

    width: 100%;
    height: 100%;

    background: rgba(0,0,0,0.95);

    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.modal-content {
    max-width: 95%;
    max-height: 90%;

    object-fit: contain;

    border-radius: 0px;
}

.close-modal {
    position: absolute;
    top: 25px;
    right: 35px;

    color: white;
    font-size: 3rem;

    cursor: pointer;
}

#modalCaption {
    color: white;
    margin-top: 15px;
    font-size: 1rem;
}


footer{background:#111;color:white;padding:2rem 0;margin-top:3rem}
.footer-content {
    display: flex;
    justify-content: space-between;
    gap: 3rem;
    align-items: flex-start;
}

footer {
    background: #111;
    color: white;
}

.footer-left h3,
.footer-right h3 {
    margin-top: 0;
}

.footer-left {
    flex: 1;
}

.footer-right {
    text-align: right;
}

.footer-right p,
.footer-left p {
    margin: 0.3rem 0;
}


footer a {
    color: white;
    text-decoration: none;
}

footer a:hover {
    color: #cccccc;
}

.footer-location {
    margin-top: 1rem;
    opacity: 0.8;
    font-size: 0.95rem;
}


@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
    }

    .footer-right {
         text-align: left;
    }
}

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

.nav-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.language-switcher {
    display: flex;
    align-items: center;

    border: 1px solid #ddd;
    border-radius: 999px;

    overflow: hidden;

    background: #f5f5f5;
}

.language-switcher a {
    text-decoration: none;

    color: #222;

    padding: 8px 12px;

    font-size: 0.9rem;
    font-weight: 600;

    transition: all 0.2s ease;
}

.language-switcher a:hover {
    background: rgba(14, 8, 149, 0.08);
}

.language-switcher a.active {
    background: #0e0895;
    color: white;
}

@media (max-width: 768px) {

    .nav-right {
        gap: 12px;
    }

    .language-switcher a {
        padding: 7px 10px;
        font-size: 0.85rem;
    }

}