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

:root {
    --primary: #9E1B23;
    --primary-hover: #7F151C;
    --secondary: #172B4D;
    --gold: #D9A441;
    --bg: #F8F6F1;
    --surface: #FFFFFF;
    --text: #17202A;
    --muted: #667085;
    --border: #E4E7EC;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text);
    line-height: 1.6;
    background: var(--bg);
    padding-bottom: 62px;
}

h1, h2, h3, h4 {
    font-family: 'Merriweather', serif;
    color: var(--secondary);
    line-height: 1.25;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

.skip-link {
    position: absolute;
    left: -999px;
    top: auto;
    background: var(--primary);
    color: #fff;
    padding: 0.8rem 1.2rem;
    border-radius: 0 0 8px 0;
    z-index: 2000;
    font-weight: 700;
}
.skip-link:focus {
    left: 0;
    top: 0;
}

.container {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 2rem;
}

section { padding: 4.5rem 2rem; scroll-margin-top: 78px; }

.section-title {
    text-align: center;
    font-size: 2.1rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    color: var(--secondary);
}

.section-subtitle {
    text-align: center;
    color: var(--muted);
    margin-bottom: 2.5rem;
    font-size: 1.02rem;
}

/* Buttons */
.btn {
    padding: 0.85rem 1.6rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.95rem;
    transition: all 0.25s;
    display: inline-block;
    border: 2px solid transparent;
}

.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-hover); transform: translateY(-2px); }

.btn-outline { border-color: var(--secondary); color: var(--secondary); background: transparent; }
.btn-outline:hover { background: var(--secondary); color: #fff; }
.btn-outline.light { border-color: #fff; color: #fff; }
.btn-outline.light:hover { background: #fff; color: var(--secondary); }

.btn-whatsapp { background: #25D366; color: #fff; }
.btn-whatsapp:hover { background: #1DA851; transform: translateY(-2px); }

/* Navbar */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.97);
    box-shadow: 0 2px 14px rgba(0,0,0,0.07);
    z-index: 1000;
    padding: 0.6rem 0;
}

.nav-container {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-group { display: flex; align-items: center; gap: 0.7rem; }
.logo-img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; border: 2px solid var(--gold); }
.logo-text { display: flex; flex-direction: column; line-height: 1.1; }
.logo-reccs { font-family: 'Merriweather', serif; font-weight: 800; font-size: 1.35rem; color: var(--primary); letter-spacing: 0.02em; }
.logo-sub { font-size: 0.65rem; color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: 0.02em; max-width: 190px; }

.nav-menu { display: flex; gap: 1.8rem; }
.nav-menu a { font-weight: 600; font-size: 0.92rem; color: var(--secondary); transition: color 0.2s; }
.nav-menu a:hover { color: var(--primary); }

.menu-toggle { display: none; flex-direction: column; gap: 5px; cursor: pointer; }
.menu-toggle span { width: 24px; height: 2.5px; background: var(--secondary); transition: 0.3s; }

/* Hero */
.hero {
    margin-top: 74px;
    background: linear-gradient(160deg, var(--secondary) 0%, #0e1a30 100%);
    padding: 3.5rem 2rem;
}

.hero-container {
    max-width: 1180px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: 2.8rem;
    align-items: center;
}

.hero-reccs {
    font-family: 'Merriweather', serif;
    font-weight: 900;
    font-size: 4.2rem;
    color: var(--gold);
    letter-spacing: 0.02em;
    line-height: 1;
    margin-bottom: 0.6rem;
}

.hero-text h1 {
    color: #fff;
    font-size: 1.7rem;
    font-weight: 800;
    letter-spacing: 0.01em;
    margin-bottom: 1rem;
}

.hero-text p {
    color: #cbd5e1;
    font-size: 1.05rem;
    max-width: 520px;
    margin-bottom: 1.8rem;
}

.cta-buttons { display: flex; gap: 0.8rem; flex-wrap: wrap; }

.hero-text {
    animation: fadeUp 0.7s ease both;
}

.hero-image {
    background: #fff;
    border-radius: 14px;
    padding: 10px;
    box-shadow: 0 12px 34px rgba(0,0,0,0.28);
    animation: fadeUp 0.7s ease 0.15s both;
}
.hero-image img { width: 100%; height: auto; object-fit: contain; border-radius: 8px; }

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(18px); }
    to { opacity: 1; transform: translateY(0); }
}

/* About */
.about-content {
    max-width: 760px;
    margin: 0 auto;
}

.about-text p { color: var(--muted); margin-bottom: 1.3rem; font-size: 1.02rem; text-align: center; }

.features-list {
    display: inline-block;
    text-align: left;
    margin: 0 auto;
}
.features-list li {
    padding: 0.55rem 0;
    padding-left: 1.8rem;
    position: relative;
    color: var(--text);
    font-weight: 600;
    font-size: 0.95rem;
}
.features-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: bold;
}

.about-text { text-align: center; }

/* Services / Loans cards */
.services { background: var(--surface); }
.loans { background: var(--bg); }

.services-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.6rem;
}

.services-grid .service-card {
    flex: 1 1 300px;
    max-width: calc(33.333% - 1.07rem);
}

.service-card {
    background: var(--surface);
    padding: 1.8rem;
    border-radius: 14px;
    border: 1px solid var(--border);
    transition: all 0.25s;
    text-align: center;
    box-shadow: 0 1px 2px rgba(16,24,40,0.04);
}
.service-card:hover { transform: translateY(-6px); box-shadow: 0 12px 28px rgba(16,24,40,0.1); }

.service-icon {
    width: 58px; height: 58px;
    background: rgba(158,27,35,0.08);
    border-radius: 12px;
    margin: 0 auto 1rem;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.7rem;
}

.service-card h3 { font-size: 1.1rem; margin-bottom: 0.6rem; }
.service-card p { color: var(--muted); font-size: 0.9rem; line-height: 1.65; }
.verify { color: var(--primary); font-weight: 600; }

.learn-link { display: inline-block; margin-top: 0.8rem; color: var(--primary); font-weight: 700; font-size: 0.85rem; }

.disclaimer {
    margin-top: 2.2rem;
    background: #fdf3f4;
    border: 1px solid #f3cfd2;
    color: var(--primary);
    padding: 1rem 1.3rem;
    border-radius: 10px;
    font-size: 0.85rem;
    text-align: center;
}

/* Why RECCS */
.why { background: var(--secondary); }
.why .section-title { color: #fff; }
.why-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.4rem;
}
.why-card {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.14);
    border-radius: 14px;
    padding: 1.8rem 1rem;
    text-align: center;
}
.why-num { font-family: 'Merriweather', serif; font-weight: 800; font-size: 1.8rem; color: var(--gold); margin-bottom: 0.6rem; }
.why-card p { color: #cbd5e1; font-size: 0.9rem; font-weight: 600; }

/* Gallery */
.gallery { background: var(--surface); }
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.4rem;
}
.gallery-item {
    display: block;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border);
    transition: transform 0.25s;
    background: var(--bg);
}
.gallery-item:hover { transform: scale(1.03); }
.gallery-item img { width: 100%; height: 220px; object-fit: cover; object-position: top; }
.gallery-caption { padding: 0.7rem 0.9rem; font-size: 0.8rem; font-weight: 600; color: var(--secondary); }

/* Contact */
.contact { background: var(--bg); }
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.6rem;
}

.contact-info {
    background: var(--secondary);
    padding: 2.2rem;
    border-radius: 16px;
    color: #fff;
}
.contact-info h3 { color: #fff; font-size: 1.4rem; margin-bottom: 1.4rem; }
.contact-item { display: flex; gap: 0.9rem; margin-bottom: 1.3rem; }
.contact-item-icon { font-size: 1.25rem; }
.contact-item-text h4 { color: var(--gold); font-size: 0.9rem; margin-bottom: 0.25rem; }
.contact-item-text p { color: #cbd5e1; font-size: 0.9rem; }
.contact-item-text a { color: #fff; font-weight: 600; }
.contact-item-text a:hover { color: var(--gold); }

.contact-actions { display: flex; gap: 0.6rem; flex-wrap: wrap; margin: 1.4rem 0; }
.contact-actions .btn { padding: 0.65rem 1.1rem; font-size: 0.82rem; }

.contact-ref-img { border-radius: 10px; margin-top: 1rem; border: 1px solid rgba(255,255,255,0.2); }

.contact-form-wrap { display: flex; flex-direction: column; gap: 1.4rem; }

.contact-form {
    background: var(--surface);
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}
.contact-form h3 { margin-bottom: 1.2rem; font-size: 1.2rem; }

.form-group { margin-bottom: 1.1rem; }
.form-group label { display: block; margin-bottom: 0.4rem; font-weight: 600; font-size: 0.85rem; color: var(--secondary); }
.form-group input, .form-group textarea {
    width: 100%;
    padding: 0.75rem 0.9rem;
    border: 1.5px solid var(--border);
    border-radius: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 0.92rem;
}
.form-group input:focus, .form-group textarea:focus { outline: none; border-color: var(--primary); }
.form-group textarea { resize: vertical; }

.submit-btn {
    width: 100%;
    padding: 0.85rem;
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 0.98rem;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s;
}
.submit-btn:hover { background: var(--primary-hover); }
.form-note { font-size: 0.72rem; color: var(--muted); margin-top: 0.7rem; }

.map-box {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 0.6rem;
    text-align: center;
    color: var(--muted);
    font-size: 0.85rem;
    box-shadow: 0 1px 2px rgba(16,24,40,0.04);
}
.map-box iframe {
    display: block;
    width: 100%;
    border-radius: 10px;
    margin-bottom: 0.7rem;
}
.map-box span { display: block; padding-bottom: 0.3rem; }

/* Footer */
footer { background: var(--secondary); color: #cbd5e1; padding: 2.8rem 2rem 1.2rem; }
.footer-content {
    max-width: 1180px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 2.2rem;
    margin-bottom: 1.8rem;
}
.footer-reccs { font-family: 'Merriweather', serif; font-weight: 800; color: var(--gold); font-size: 1.6rem; margin-bottom: 0.4rem; }
.footer-section h3 { color: #fff; margin-bottom: 0.9rem; font-size: 1rem; }
.footer-section p { font-size: 0.85rem; opacity: 0.85; line-height: 1.7; }
.footer-links li { margin-bottom: 0.5rem; font-size: 0.85rem; }
.footer-links a { color: #cbd5e1; }
.footer-links a:hover { color: var(--gold); }
.footer-bottom {
    text-align: center;
    padding-top: 1.4rem;
    border-top: 1px solid rgba(255,255,255,0.12);
    font-size: 0.75rem;
    opacity: 0.75;
}

/* Mobile sticky bar */
.mobile-bar {
    display: none;
    position: fixed;
    bottom: 0; left: 0; right: 0;
    background: var(--surface);
    border-top: 1px solid var(--border);
    box-shadow: 0 -4px 14px rgba(0,0,0,0.08);
    z-index: 900;
    grid-template-columns: repeat(3, 1fr);
}
.mobile-bar a {
    display: flex; flex-direction: column; align-items: center; gap: 2px;
    padding: 0.6rem 0; font-size: 0.68rem; font-weight: 700; color: var(--secondary);
}
.mobile-bar a.call { color: var(--primary); }
.mobile-bar a.wa { color: #128C4A; }

/* Responsive */
@media (max-width: 968px) {
    .hero-container { grid-template-columns: 1fr; }
    .hero-reccs { font-size: 3.2rem; }
    .services-grid .service-card { max-width: calc(50% - 0.8rem); }
    .why-grid { grid-template-columns: repeat(2, 1fr); }
    .gallery-grid { grid-template-columns: repeat(2, 1fr); }
    .contact-container { grid-template-columns: 1fr; }
    .footer-content { grid-template-columns: 1fr; }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 66px;
        flex-direction: column;
        background: #fff;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0,0,0,0.08);
        padding: 1.4rem 0;
        gap: 0;
    }
    .nav-menu.active { left: 0; }
    .nav-menu li { padding: 0.7rem 0; }
    .menu-toggle { display: flex; }
    .mobile-bar { display: grid; }
    body { padding-bottom: 60px; }
}

@media (max-width: 560px) {
    .hero-reccs { font-size: 2.5rem; }
    .hero-text h1 { font-size: 1.35rem; }
    .gallery-grid { grid-template-columns: 1fr; }
    .services-grid .service-card { max-width: 100%; }
    .why-grid { grid-template-columns: 1fr; }
    .cta-buttons { flex-direction: column; }
    .cta-buttons .btn { text-align: center; }
    .logo-sub { display: none; }
}

@media (prefers-reduced-motion: reduce) {
    * { transition: none !important; scroll-behavior: auto !important; animation: none !important; }
}
