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

html {
    font-size: 16px;
}

body {
    font-family: 'Varela', sans-serif;
    color: #fff;
    overflow-x: hidden;
    background: #111;
}

/* ===== HEADER ===== */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 2rem;
    height: 72px;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: background 0.3s ease;
}

header.scrolled {
    background: rgba(20, 20, 20, 0.95);
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    text-decoration: none;
    color: #fff;
}

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

nav {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

nav a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    font-family: 'Barlow Semi Condensed', sans-serif;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.2s ease;
}

nav a:hover {
    color: #fff;
}

.btn {
    display: inline-block;
    padding: 0.55rem 1.4rem;
    border-radius: 6px;
    font-family: 'Barlow Semi Condensed', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.2s ease;
    cursor: pointer;
    border: none;
}

.btn-outline {
    color: #fff;
    border: 1.5px solid rgba(255, 255, 255, 0.5);
    background: transparent;
}

.btn-outline:hover {
    border-color: #fff;
    background: rgba(255, 255, 255, 0.1);
}

.btn-primary {
    background: #E87818;
    color: #fff;
}

.btn-primary:hover {
    background: #FD9D24;
}

.btn-primary-lg {
    padding: 0.8rem 2.2rem;
    font-size: 1.1rem;
    border-radius: 8px;
    background: #E87818;
    color: #fff;
}

.btn-primary-lg:hover {
    background: #FD9D24;
    transform: translateY(-1px);
}

/* ===== FOOTER ===== */
footer {
    background: #1a1a1a;
    padding: 1.5rem 2rem;
    text-align: center;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-family: 'Barlow Semi Condensed', sans-serif;
    font-weight: 500;
    font-size: 0.9rem;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: #FD9D24;
}

.footer-copy {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.8rem;
}

/* ===== HAMBURGER ===== */
.hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 110;
}

.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: #fff;
    margin: 5px 0;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.hamburger.open span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.open span:nth-child(2) {
    opacity: 0;
}

.hamburger.open span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ===== MOBILE MENU ===== */
.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    right: 0;
    width: 260px;
    height: 100vh;
    background: rgba(20, 20, 20, 0.97);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 100px 2rem 2rem;
    flex-direction: column;
    gap: 1.5rem;
    transition: transform 0.3s ease;
    transform: translateX(100%);
    pointer-events: none;
    z-index: 105;
}

.mobile-menu.open {
    transform: translateX(0);
    pointer-events: auto;
}

.mobile-menu a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    font-family: 'Barlow Semi Condensed', sans-serif;
    font-weight: 500;
    font-size: 1.15rem;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: color 0.2s ease;
}

.mobile-menu a:hover {
    color: #FD9D24;
}

.mobile-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 104;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.mobile-overlay.open {
    opacity: 1;
    pointer-events: auto;
}

/* ===== LEGAL CONTENT PAGES ===== */
.legal-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 100px 2rem 3rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.7;
}

.legal-content h1 {
    font-family: 'Barlow Semi Condensed', sans-serif;
    font-weight: 700;
    font-size: 2.4rem;
    color: #fff;
    margin-bottom: 0.5rem;
}

.legal-content h2 {
    font-family: 'Barlow Semi Condensed', sans-serif;
    font-weight: 600;
    font-size: 1.4rem;
    color: #FD9D24;
    margin-top: 2rem;
    margin-bottom: 0.75rem;
}

.legal-content h3 {
    font-family: 'Barlow Semi Condensed', sans-serif;
    font-weight: 600;
    font-size: 1.15rem;
    color: #fff;
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
}

.legal-content p {
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.legal-content a {
    color: #FD9D24;
    text-decoration: underline;
}

.legal-content a.btn,
.legal-content a.btn-primary-lg {
    color: #fff;
    text-decoration: none;
}

.legal-content a:hover {
    color: #E87818;
}

.legal-content ul {
    margin: 0.75rem 0 1rem 1.5rem;
}

.legal-content ul li {
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.legal-content ul ul {
    margin-top: 0.5rem;
}

.legal-effective {
    color: rgba(255, 255, 255, 0.5);
    font-style: italic;
    margin-bottom: 1.5rem !important;
}

.legal-copyright {
    margin-top: 2rem;
    color: rgba(255, 255, 255, 0.5);
    font-style: italic;
}

/* ===== CONTACT FORM ===== */
.contact-form {
    margin-top: 2rem;
}

.form-row {
    display: flex;
    gap: 1rem;
}

.form-group {
    flex: 1;
    margin-bottom: 1.2rem;
}

.form-group label {
    display: block;
    font-family: 'Barlow Semi Condensed', sans-serif;
    font-weight: 500;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0.4rem;
}

.form-group .required {
    color: #E87818;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.7rem 0.9rem;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    color: #fff;
    font-family: 'Varela', sans-serif;
    font-size: 0.95rem;
    transition: border-color 0.2s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #E87818;
}

.form-group textarea {
    resize: vertical;
}

.contact-form .btn-primary-lg {
    margin-top: 0.5rem;
}

.contact-success {
    text-align: center;
    padding: 3rem 0;
}

.contact-success p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: rgba(255, 255, 255, 0.9);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    header {
        padding: 0 1rem;
        height: 60px;
    }

    .logo img {
        height: 48px;
    }

    .nav-desktop {
        display: none;
    }

    .hamburger {
        display: block;
    }

    .mobile-menu {
        display: flex;
    }

    .legal-content {
        padding: 80px 1.2rem 2rem;
    }

    .legal-content h1 {
        font-size: 1.8rem;
    }

    .form-row {
        flex-direction: column;
        gap: 0;
    }
}
