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

:root {
    --red: #c0161f;
    --red-light: #f9e8e9;
    --red-dark: #9a1118;
    --green: #0a5e35;
    --green-light: #e6f5ee;
    --green-dark: #074427;
    --white: #FFFFFF;
    --bg: #FFFFFF;
    --gray-50: #FAFAFA;
    --gray-100: #F5F5F5;
    --gray-200: #E8E8E8;
    --gray-300: #D4D4D4;
    --gray-400: #A3A3A3;
    --gray-500: #737373;
    --gray-600: #525252;
    --gray-700: #404040;
    --gray-800: #262626;
    --gray-900: #171717;
    --text: #171717;
    --text-secondary: #525252;
    --text-muted: #A3A3A3;
    --border: #E8E8E8;
}

html { scroll-behavior: smooth; }

body {
    font-family: 'Open Sans', sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* ===== NAV ===== */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 0 2rem;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid transparent;
    transition: all 0.3s ease;
    height: 68px;
}

nav.scrolled {
    border-bottom-color: var(--border);
    box-shadow: 0 1px 12px rgba(0,0,0,0.04);
}

.nav-inner {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.nav-logo {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.nav-logo .red { color: var(--red); }

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

.nav-links a {
    font-size: 0.82rem;
    font-weight: 600;
    text-decoration: none;
    color: var(--text);
    transition: color 0.2s;
}

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

.nav-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--white) !important;
    background: var(--red);
    padding: 0.55rem 1.3rem;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.2s;
    white-space: nowrap;
}

.nav-cta:hover {
    background: var(--red-dark);
    color: var(--white) !important;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 4px;
    background: none;
    border: none;
    position: relative;
    z-index: 1002;
}

.hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: all 0.3s;
}

.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

.mobile-overlay {
    display: none;
    position: fixed;
    top: 68px;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    z-index: 999;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.mobile-overlay.active {
    display: block;
    opacity: 1;
    pointer-events: auto;
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-family: 'Open Sans', sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
    padding: 0.7rem 1.5rem;
    border-radius: 10px;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-red { color: var(--white); background: var(--red); }
.btn-red:hover { background: var(--red-dark); transform: translateY(-1px); box-shadow: 0 4px 14px rgba(192,22,31,0.3); }

.btn-green { color: var(--white); background: var(--green); }
.btn-green:hover { background: var(--green-dark); transform: translateY(-1px); box-shadow: 0 4px 14px rgba(10,94,53,0.3); }

.btn-outline {
    color: var(--text);
    background: var(--white);
    border: 1.5px solid var(--border);
}
.btn-outline:hover { border-color: var(--red); color: var(--red); }

/* ===== SECTIONS ===== */
section { padding: 4.5rem 2rem; }
.section-inner { max-width: 1280px; margin: 0 auto; }

.section-label {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 0.6rem;
}
.label-red { color: var(--red); }
.label-green { color: var(--green); }

.section-title {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 800;
    color: var(--text);
    line-height: 1.2;
    margin-bottom: 0.6rem;
    letter-spacing: -0.02em;
}

.section-desc {
    font-size: 0.95rem;
    color: var(--text-secondary);
    max-width: 560px;
    line-height: 1.7;
    margin-bottom: 2.5rem;
}

/* ===== IMAGE PLACEHOLDER ===== */
.img-placeholder {
    background: var(--gray-100);
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    color: var(--gray-400);
    position: relative;
    overflow: hidden;
    transition: border-color 0.3s;
}
.img-placeholder:hover { border-color: var(--red); }
.img-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
}

/* ===== ANIMATIONS ===== */
.fade-in {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}
.fade-in.visible { opacity: 1; transform: translateY(0); }
.d1 { transition-delay: 0.06s; }
.d2 { transition-delay: 0.12s; }
.d3 { transition-delay: 0.18s; }
.d4 { transition-delay: 0.24s; }
.d5 { transition-delay: 0.30s; }
.d6 { transition-delay: 0.36s; }
.d7 { transition-delay: 0.42s; }

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

/* ===== FOOTER ===== */
footer {
    background: var(--gray-900);
    padding: 3rem 2rem 2rem;
}
.footer-inner { max-width: 1280px; margin: 0 auto; }
.footer-top {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--white);
    display: flex;
    align-items: center;
    gap: 0.3rem;
    margin-bottom: 0.8rem;
}
.footer-brand .red { color: var(--red); }
.footer-about { font-size: 0.82rem; color: rgba(255,255,255,0.5); line-height: 1.6; max-width: 300px; }
.footer-col h4 {
    font-size: 0.72rem;
    font-weight: 800;
    color: rgba(255,255,255,0.4);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 0.8rem;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 0.4rem; }
.footer-col a {
    font-size: 0.82rem;
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    transition: color 0.2s;
}
.footer-col a:hover { color: var(--white); }
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1.5rem;
    flex-wrap: wrap;
    gap: 0.8rem;
}
.footer-copy { font-size: 0.75rem; color: rgba(255,255,255,0.3); }
.footer-socials { display: flex; gap: 0.6rem; }
.footer-socials a {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    background: rgba(255,255,255,0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.4);
    text-decoration: none;
    transition: all 0.2s;
}
.footer-socials a:hover { background: var(--red); color: var(--white); }

/* ===== CONTACT FORM ===== */
.contact-form {
    background: var(--gray-50);
    border-radius: 14px;
    padding: 1.8rem;
    border: 1px solid var(--border);
}
.contact-form h3 { font-size: 1.1rem; font-weight: 800; color: var(--text); margin-bottom: 0.2rem; }
.contact-form .form-sub { font-size: 0.82rem; color: var(--text-muted); margin-bottom: 1.2rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.8rem; }
.form-group { margin-bottom: 0.8rem; }
.form-group label {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 0.3rem;
}
.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    font-family: 'Open Sans', sans-serif;
    font-size: 0.85rem;
    color: var(--text);
    background: var(--white);
    border: 1.5px solid var(--border);
    padding: 0.6rem 0.8rem;
    border-radius: 8px;
    outline: none;
    transition: all 0.2s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--red);
    box-shadow: 0 0 0 3px rgba(192,22,31,0.08);
}
.form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 256 256'%3E%3Cpath d='M213.66,101.66l-80,80a8,8,0,0,1-11.32,0l-80-80A8,8,0,0,1,53.66,90.34L128,164.69l74.34-74.35a8,8,0,0,1,11.32,11.32Z' fill='%23A3A3A3'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.8rem center;
    padding-right: 2.2rem;
}
.form-group textarea { min-height: 80px; resize: vertical; }
.form-submit {
    width: 100%;
    font-family: 'Open Sans', sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--white);
    background: var(--red);
    padding: 0.7rem;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
    margin-top: 0.3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
}
.form-submit:hover { background: var(--red-dark); transform: translateY(-1px); box-shadow: 0 4px 12px rgba(192,22,31,0.3); }

/* ===== CONTACT INFO ===== */
.contact-details { list-style: none; display: flex; flex-direction: column; gap: 0.7rem; }
.contact-detail { display: flex; align-items: center; gap: 0.7rem; }
.cd-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.cd-icon-red { background: var(--red-light); }
.cd-icon-red i { color: var(--red); }
.cd-icon-green { background: var(--green-light); }
.cd-icon-green i { color: var(--green); }
.cd-label { font-size: 0.65rem; font-weight: 700; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.04em; }
.cd-value { font-size: 0.85rem; font-weight: 700; color: var(--text); }
.cd-value a { color: var(--red); text-decoration: none; }
.cd-value a:hover { color: var(--red-dark); }
.contact-img {
    height: 200px;
    background: var(--gray-100);
    border: 2px dashed var(--gray-300);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-top: 1.5rem;
}
.contact-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
}

/* ===== RESPONSIVE (common parts) ===== */
@media (max-width: 1024px) {
    .footer-top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    section { padding: 3rem 1.5rem; }
    .nav-links {
        display: flex;
        position: fixed;
        top: 68px;
        right: 0;
        height: calc(100dvh - 68px);
        width: 300px;
        max-width: 85vw;
        background: var(--white);
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
        gap: 1.3rem;
        padding: 2rem 1.8rem;
        transform: translateX(100%);
        transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 1001;
        box-shadow: -8px 0 30px rgba(0,0,0,0.12);
        overflow-y: auto;
    }
    .nav-links.active { transform: translateX(0); }
    .nav-links a {
        font-size: 0.95rem;
        font-weight: 600;
        color: var(--text);
        width: 100%;
        padding: 0.3rem 0;
    }
    .nav-links a:hover { color: var(--red); }
    .nav-links .nav-cta {
        width: 100%;
        justify-content: center;
        margin-top: 0.6rem;
        padding: 0.75rem 1.5rem;
        font-size: 0.88rem;
    }
    .hamburger { display: flex; }
    .form-row { grid-template-columns: 1fr; }
    .footer-top { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
    .nav-links {
        width: 100%;
        max-width: 100%;
        top: 68px;
        height: calc(100dvh - 68px);
    }
}

.nav-links a.active { color: var(--red); }
