:root {
    /* === RAPA LLC Brand Color System — Monochromatic === */

    --black: #111111;
    --dark: #1a1a1a;
    --charcoal: #2a2a2a;
    --mid: #666666;
    --mid-light: #999999;
    --border: #e0e0e0;
    --light: #f5f5f5;
    --off-white: #fafafa;
    --white: #ffffff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: var(--black);
    background-color: var(--white);
    -webkit-font-smoothing: antialiased;
}

/* NAV */
header {
    background-color: var(--black);
    color: var(--white);
    padding: 1.25rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--white);
    text-decoration: none;
    letter-spacing: 0.05em;
}

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

.logo span {
    font-weight: 400;
    color: var(--mid-light);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 0.25rem;
    align-items: center;
}

.nav-links li {
    margin-left: 2rem;
}

.nav-links a {
    color: var(--mid-light);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.2s;
}

.nav-links a:hover {
    color: var(--white);
}

/* LANGUAGE TOGGLE */
.lang-toggle {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.85rem;
    font-weight: 600;
    margin-left: 1.5rem;
}

.lang-toggle a {
    color: var(--mid);
    text-decoration: none;
    transition: color 0.2s;
}

.lang-toggle a:hover {
    color: var(--white);
}

.lang-toggle .active {
    color: var(--white);
    font-weight: 700;
}

.lang-toggle .separator {
    color: var(--mid);
    user-select: none;
}

/* MOBILE NAV */
.mobile-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.25rem;
}

/* HERO */
.hero {
    min-height: 80vh;
    background: var(--black);
    color: var(--white);
    display: flex;
    align-items: center;
    text-align: center;
}

.hero-content {
    max-width: 750px;
    margin: 0 auto;
    padding: 0 1rem;
}

.hero h1 {
    font-size: clamp(2rem, 5vw, 3.25rem);
    font-weight: 800;
    margin-bottom: 1.25rem;
    letter-spacing: -0.03em;
    line-height: 1.15;
}

.hero p {
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
    line-height: 1.7;
    color: var(--mid-light);
}

.btn {
    display: inline-block;
    background: var(--white);
    color: var(--black);
    padding: 0.85rem 2rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: background 0.2s, transform 0.2s;
}

.btn:hover {
    background: var(--light);
    transform: translateY(-1px);
}

/* SECTIONS */
.services {
    padding: 5rem 0;
    background-color: var(--white);
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title h2 {
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    margin-bottom: 1rem;
    color: var(--black);
    font-weight: 800;
    letter-spacing: -0.02em;
}

.section-title p {
    max-width: 650px;
    margin: 0 auto;
    color: var(--mid);
    font-size: 1.05rem;
}

/* SERVICES GRID */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.service-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    border: 1px solid var(--border);
    transition: border-color 0.2s, box-shadow 0.2s;
}

.service-card:hover {
    border-color: var(--black);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.service-card h3 {
    color: var(--black);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
    font-weight: 700;
}

.service-card p {
    color: var(--mid);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* HOW IT WORKS */
.how-it-works {
    padding: 5rem 0;
    background-color: var(--off-white);
}

.steps {
    margin-top: 3rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.step {
    text-align: center;
    padding: 2rem;
    background-color: var(--white);
    border-radius: 10px;
    border: 1px solid var(--border);
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: var(--black);
    color: var(--white);
    border-radius: 50%;
    font-size: 1.1rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.step h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--black);
    margin-bottom: 0.5rem;
}

.step p {
    font-size: 0.9rem;
    color: var(--mid);
    line-height: 1.6;
}

/* PLATFORM */
.platform {
    padding: 5rem 0;
    background-color: var(--charcoal);
    color: var(--white);
}

.platform .section-title h2 {
    color: var(--white);
}

.platform .section-title p {
    color: var(--mid-light);
}

.platform-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 2rem;
}

.platform-text {
    flex: 1;
    min-width: 300px;
}

.platform-text h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.platform-text p {
    color: var(--mid-light);
}

.platform-image {
    flex: 1;
    min-width: 300px;
    text-align: center;
}

.platform-image img {
    max-width: 100%;
    border-radius: 10px;
}

.platform-features {
    margin-top: 2rem;
}

.feature {
    margin: 1rem 0;
    display: flex;
    align-items: center;
}

.feature-icon {
    margin-right: 1rem;
    color: var(--white);
    font-weight: bold;
    font-size: 1rem;
}

.feature p {
    color: var(--mid-light);
}

/* TESTIMONIALS */
.testimonials {
    padding: 5rem 0;
    background-color: var(--white);
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.testimonial-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    border: 1px solid var(--border);
}

.testimonial-card p {
    font-style: italic;
    margin-bottom: 1.25rem;
    color: var(--mid);
    line-height: 1.7;
    font-size: 0.95rem;
}

.client {
    display: flex;
    align-items: center;
}

.client-image {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin-right: 1rem;
    background: var(--black);
}

.client-info h4 {
    color: var(--black);
    font-weight: 700;
    font-size: 0.9rem;
}

.client-info p {
    font-style: normal;
    font-size: 0.8rem;
    color: var(--mid);
}

/* CTA */
.cta {
    padding: 5rem 0;
    background: var(--black);
    color: var(--white);
    text-align: center;
}

.cta h2 {
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
}

.cta p {
    font-size: 1.05rem;
    color: var(--mid-light);
    max-width: 550px;
    margin: 0 auto 2rem;
}

/* FOOTER */
footer {
    background-color: var(--dark);
    color: var(--white);
    padding: 3rem 0 2rem;
    border-top: 1px solid var(--charcoal);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.footer-column h3 {
    margin-bottom: 1.25rem;
    color: var(--white);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.footer-column p {
    color: var(--mid);
    font-size: 0.9rem;
    line-height: 1.7;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: var(--mid);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: var(--white);
}

.contact-info p {
    margin-bottom: 0.5rem;
    color: var(--mid);
    font-size: 0.9rem;
}

.contact-info a {
    color: var(--mid);
    text-decoration: none;
    transition: color 0.2s;
}

.contact-info a:hover {
    color: var(--white);
}

.copyright {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--charcoal);
    margin-top: 2rem;
    color: var(--mid);
    font-size: 0.8rem;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .mobile-toggle { display: block; }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--black);
        flex-direction: column;
        padding: 1.5rem 5%;
        gap: 1rem;
        border-top: 1px solid var(--charcoal);
        list-style: none;
    }

    .nav-links.open { display: flex; }

    .nav-links li {
        margin-left: 0;
    }

    .lang-toggle {
        margin-left: 0;
        justify-content: center;
    }

    .platform-content {
        flex-direction: column;
    }
}
