:root {
    color-scheme: light dark;
    --primary: #c97d3c;
    --primary-dark: #b8692f;
    --secondary: #2d3748;
    --text: #1a202c;
    --text-light: #4a5568;
    --bg: #ffffff;
    --bg-light: #f7fafc;
    --border: #e2e8f0;
    --shadow: rgba(0, 0, 0, 0.08);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text);
    background: var(--bg-light);
    font-size: 16px;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Site Under Construction Banner */
.site-notice {
    background: linear-gradient(135deg, #f59e0b, #f97316);
    color: white;
    padding: 12px 20px;
    text-align: center;
    font-size: 14px;
    font-weight: 500;
    position: relative;
    z-index: 1001;
}

.site-notice.hidden {
    display: none;
}

.site-notice .notice-close {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    cursor: pointer;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 18px;
    line-height: 1;
    transition: background 0.2s;
}

.site-notice .notice-close:hover {
    background: rgba(255, 255, 255, 0.3);
}

/* Header */
header.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 1px 3px var(--shadow);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    gap: 20px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--text);
    font-weight: 700;
    font-size: 20px;
    letter-spacing: -0.5px;
}

.brand:hover {
    color: var(--primary);
}

.brand .logo {
    width: 48px;
    height: 48px;
    background: url('/img/rcp-logo.png') center/contain no-repeat;
    border-radius: 8px;
    display: inline-block;
    flex-shrink: 0;
}

.brand .logo::before { content: none; }

/* Navigation */
nav {
    flex: 1;
    display: flex;
    justify-content: center;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 4px;
    flex-wrap: wrap;
    justify-content: center;
}

nav li {
    display: flex;
}

nav a {
    display: inline-block;
    padding: 10px 16px;
    text-decoration: none;
    color: var(--text);
    border-radius: 8px;
    transition: all 0.2s;
    font-weight: 500;
    font-size: 15px;
}

nav a:hover {
    background: var(--bg-light);
    color: var(--primary);
}

/* Language Switch */
.lang-switch {
    display: flex;
    gap: 6px;
    flex-shrink: 0;
}

.btn {
    padding: 8px 14px;
    border: 1px solid var(--border);
    background: var(--bg);
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s;
    color: var(--text);
}

.btn:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.btn[aria-pressed="true"] {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
}

/* Hero Section / Slider */
.hero-slider {
    position: relative;
    min-height: 600px;
    display: flex;
    align-items: center;
    background: linear-gradient(rgba(60, 51, 45, 0.75), rgba(60, 51, 45, 0.75)), url('https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?q=80&w=2070&auto=format&fit=crop') center/cover;
    background-attachment: fixed;
    overflow: hidden;
}

.hero-slider .container {
    position: relative;
    z-index: 1;
    width: 100%;
    padding: 0 20px;
}

.hero-content {
    max-width: 700px;
    color: white;
    padding: 60px 0;
}

.hero-label {
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 16px;
}

.hero-title {
    font-size: 56px;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 24px;
    color: white;
}

.hero-description {
    font-size: 18px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 32px;
    max-width: 600px;
}

.hero-cta {
    display: inline-block;
    padding: 16px 40px;
    background: #B28B6E;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s;
}

.hero-cta:hover {
    background: #C99D7F;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(178, 139, 110, 0.4);
}

/* Feature Cards Section */
.features-section {
    padding: 80px 0;
    background: var(--bg);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    background: white;
    padding: 40px 32px;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: all 0.3s;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.feature-card.highlighted {
    background: #B28B6E;
    color: white;
}

.feature-card.highlighted .feature-title,
.feature-card.highlighted .feature-description {
    color: white;
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    border-radius: 50%;
    border: 2px solid #B28B6E;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: #B28B6E;
    background: rgba(178, 139, 110, 0.1);
}

.feature-card.highlighted .feature-icon {
    border-color: white;
    color: white;
    background: rgba(255, 255, 255, 0.2);
}

.feature-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text);
}

.feature-description {
    font-size: 15px;
    line-height: 1.7;
    color: var(--text-light);
}

/* Countries Flags Section */
.countries-section {
    padding: 60px 0;
    background: var(--bg-light);
    border-top: 1px solid var(--border);
}

.countries-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
}

.countries-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 32px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.countries-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 32px;
}

.country-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.country-flag {
    width: 64px;
    height: 48px;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    object-fit: cover;
    border: 2px solid var(--border);
    transition: all 0.3s;
}

.country-flag:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.country-name {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-light);
}

/* Old Hero for backward compatibility */
.hero {
    padding: 60px 0 40px;
    text-align: center;
}

.hero h1 {
    font-size: 42px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 12px;
    line-height: 1.2;
}

.hero p {
    font-size: 18px;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

/* Grid & Cards */
.section {
    padding: 40px 0 60px;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
    margin-top: 32px;
}

.card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px var(--shadow);
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    border-color: var(--primary);
}

.card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}

.card .content {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.card h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 12px;
    line-height: 1.3;
}

.card p {
    color: var(--text-light);
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 16px;
    flex: 1;
}

.card .actions {
    padding: 0 20px 20px;
}

.cta {
    display: inline-block;
    padding: 12px 24px;
    background: var(--primary);
    color: white;
    text-decoration: none;
    border-radius: 10px;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.2s;
    text-align: center;
    width: 100%;
}

.cta:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(201, 125, 60, 0.3);
}

.cta.secondary {
    background: var(--secondary);
}

.cta.secondary:hover {
    background: #1a202c;
}

/* Badges */
.badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}

.badge {
    display: inline-block;
    padding: 8px 16px;
    background: var(--bg-light);
    border: 1px solid var(--border);
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-light);
}

/* Footer */
footer.site-footer {
    background: #3C332D;
    color: #D4C4B0;
    margin-top: 60px;
}

.footer-cta {
    background: #3C332D;
    padding: 40px 20px;
    border-bottom: 1px solid rgba(212, 196, 176, 0.2);
}

.footer-cta-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.footer-cta-text h3 {
    color: #D4C4B0;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
}

.footer-cta-text p {
    color: #D4C4B0;
    font-size: 16px;
    margin: 0;
    max-width: 600px;
}

.footer-cta-btn {
    padding: 12px 32px;
    border: 1px solid #D4C4B0;
    background: transparent;
    color: #D4C4B0;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s;
}

.footer-cta-btn:hover {
    background: #D4C4B0;
    color: #3C332D;
}

.footer-content {
    padding: 50px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-column h4 {
    color: #D4C4B0;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
}

.footer-column p,
.footer-column ul {
    color: #D4C4B0;
    font-size: 14px;
    line-height: 1.8;
}

.footer-column ul {
    list-style: none;
    padding: 0;
}

.footer-column ul li {
    margin-bottom: 10px;
}

.footer-column ul li::before {
    content: "■";
    margin-right: 10px;
    font-size: 8px;
    vertical-align: middle;
}

.footer-column a {
    color: #D4C4B0;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-column a:hover {
    color: #fff;
}

.footer-logo {
    font-size: 32px;
    font-weight: 700;
    color: #D4C4B0;
    margin-bottom: 10px;
    letter-spacing: 2px;
}

.footer-company-name {
    font-size: 12px;
    color: #D4C4B0;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-social {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    border: 1px solid #D4C4B0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #D4C4B0;
    text-decoration: none;
    transition: all 0.3s;
}

.footer-social a:hover {
    background: #D4C4B0;
    color: #3C332D;
}

.footer-cta-button {
    padding: 12px 32px;
    background: #B28B6E;
    color: #D4C4B0;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    display: inline-block;
    margin-top: 16px;
    transition: all 0.3s;
}

.footer-cta-button:hover {
    background: #C99D7F;
    transform: translateY(-2px);
}

.footer-bottom {
    border-top: 1px solid rgba(212, 196, 176, 0.2);
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    font-size: 13px;
    color: #D4C4B0;
}

@media (max-width: 768px) {
    .footer-cta-inner {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

/* Page Content */
main {
    min-height: calc(100vh - 200px);
}

main h1 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text);
}

main p {
    font-size: 16px;
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.7;
}

main a {
    color: var(--primary);
    text-decoration: none;
}

main a:hover {
    text-decoration: underline;
}

/* Contact Card */
.card .content p {
    margin-bottom: 12px;
}

.card .content p:last-child {
    margin-bottom: 0;
}

/* Mobile Menu */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
    padding: 8px;
    color: var(--text);
    line-height: 1;
}

/* Responsive */
@media (max-width: 968px) {
    .grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 20px;
    }
    
    nav ul {
        gap: 2px;
    }
    
    nav a {
        padding: 8px 12px;
        font-size: 14px;
    }
}

@media (max-width: 768px) {
    .site-notice {
        padding: 10px 40px 10px 16px;
        font-size: 13px;
    }
    
    .site-notice .notice-close {
        right: 10px;
        padding: 2px 8px;
        font-size: 20px;
    }
    
    .header-inner {
        flex-wrap: wrap;
        padding: 12px 16px;
    }
    
    .mobile-menu-toggle {
        display: block;
        order: 2;
    }
    
    nav {
        order: 3;
        width: 100%;
        display: none;
    }
    
    nav.active {
        display: block;
        margin-top: 16px;
        padding-top: 16px;
        border-top: 1px solid var(--border);
    }
    
    nav ul {
        flex-direction: column;
        gap: 4px;
    }
    
    nav a {
        padding: 12px;
        border-radius: 8px;
        width: 100%;
        text-align: left;
    }
    
    .brand {
        font-size: 18px;
    }
    
    .brand .logo {
        width: 40px;
        height: 40px;
    }
    
    .hero-slider {
        min-height: 500px;
        background-attachment: scroll;
    }

    .hero-content {
        padding: 40px 0;
    }

    .hero-title {
        font-size: 36px;
    }

    .hero-description {
        font-size: 16px;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .feature-card {
        padding: 32px 24px;
    }

    .countries-grid {
        gap: 24px;
    }

    .hero {
        padding: 40px 0 30px;
    }

    .hero h1 {
        font-size: 32px;
    }

    .hero p {
        font-size: 16px;
    }
    
    .grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .section {
        padding: 30px 0 40px;
    }
    
    main h1 {
        font-size: 28px;
    }
    
    .card img {
        height: 180px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
    
    .hero-slider {
        min-height: 400px;
    }

    .hero-title {
        font-size: 28px;
    }

    .hero-description {
        font-size: 15px;
    }

    .hero-cta {
        padding: 14px 32px;
        font-size: 14px;
    }

    .feature-card {
        padding: 24px 20px;
    }

    .feature-icon {
        width: 60px;
        height: 60px;
        font-size: 24px;
    }

    .countries-grid {
        gap: 20px;
    }

    .country-flag {
        width: 56px;
        height: 42px;
    }

    .hero h1 {
        font-size: 28px;
    }

    .card .content {
        padding: 16px;
    }

    .card .actions {
        padding: 0 16px 16px;
    }
}

/* Dark Mode */
@media (prefers-color-scheme: dark) {
    :root {
        --text: #e2e8f0;
        --text-light: #a0aec0;
        --bg: #1a202c;
        --bg-light: #2d3748;
        --border: #4a5568;
        --shadow: rgba(0, 0, 0, 0.3);
        --secondary: #4a5568;
    }
    
    body {
        background: #151923;
    }
    
    header.site-header {
        background: var(--bg);
        border-color: var(--border);
    }
    
    .badge {
        background: var(--bg-light);
        border-color: var(--border);
    }
}
