* {
    box-sizing: border-box;
}

:root {
    --bg: #f4f4f4;
    --text: #131313;
    --muted: #616161;
    --line: #dddddd;
    --accent: #ed5a52;
}

body {
    margin: 0;
    font-family: "Segoe UI", Tahoma, Arial, sans-serif;
    color: var(--text);
    background: var(--bg);
}

p {
    font-size: 16px !important;
}

.container {
    width: min(1220px, 92%);
    margin: 0 auto;
}

.topbar {
    background: #fff;
    border-bottom: 1px solid #ececec;
    position: sticky;
    top: 0;
    z-index: 50;
}

.nav-wrap {
    min-height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.brand {
    display: inline-flex;
    align-items: center;
}

.brand img {
    width: 75px;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 18px;
    position: relative;
}

.main-nav a {
    text-decoration: none;
    color: #1e1e1e;
    font-size: 13px;
    font-weight: 600;
    transition: color 0.24s ease;
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--accent);
}

.nav-dropdown {
    position: static;
}

.nav-dropdown-toggle {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.nav-caret {
    font-size: 10px;
    transform: translateY(-1px);
    transition: transform 0.22s ease;
}

.nav-dropdown-menu {
    position: absolute;
    top: calc(100% + 14px);
    left: 50%;
    transform: translateX(-50%);
    width: min(940px, calc(100vw - 80px));
    background: #e7e7e7;
    border-radius: 14px;
    box-shadow: 0 16px 34px rgba(0, 0, 0, 0.24);
    padding: 30px 46px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateX(-50%) translateY(10px);
    transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s ease;
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}

.nav-dropdown:hover .nav-caret,
.nav-dropdown:focus-within .nav-caret {
    transform: translateY(-1px) rotate(180deg);
}

.nav-dropdown-col h5 {
    margin: 0 0 14px;
    font-size: 22px;
}

.nav-dropdown-col a {
    display: block;
    margin: 0 0 10px;
    font-size: 13px;
    color: #5c6369;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    position: relative;
}

.nav-search-toggle {
    width: 34px;
    height: 34px;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: #1d1d1d;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.nav-search-toggle svg {
    width: 21px;
    height: 21px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.nav-search-panel {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    min-width: 260px;
    padding: 8px;
    border: 1px solid #d2d2d2;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.18);
    z-index: 96;
}

.nav-search-input {
    width: 100%;
    height: 38px;
    border: 1px solid #cccccc;
    border-radius: 8px;
    padding: 8px 11px;
    font-size: 14px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #cbcbcb;
    border-radius: 10px;
    padding: 8px 14px;
    font-size: 12px;
    font-weight: 700;
    background: #fff;
    color: #232323;
    text-decoration: none;
}

.btn-danger {
    color: var(--accent);
    border-color: var(--accent);
}

.page-hero {
    background: linear-gradient(90deg, #121212, #000);
    color: #fff;
    padding: 52px 0;
}

.page-hero h1 {
    margin: 0 0 8px;
    font-size: clamp(30px, 4vw, 52px);
}

.page-hero p {
    margin: 0;
    color: #d1d1d1;
    max-width: 700px;
}

.page-section {
    padding: 44px 0;
}

.page-section h2 {
    margin: 0 0 10px;
    font-size: clamp(28px, 3.5vw, 40px);
}

.page-section .lead {
    margin: 0 0 18px;
    color: var(--muted);
}

.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 16px;
}

.card img {
    width: 100%;
    height: 210px;
    object-fit: cover;
    border-radius: 6px;
    margin-bottom: 10px;
}

.card h3 {
    margin: 0 0 8px;
    font-size: 22px;
}

.card p {
    margin: 0;
    color: #555;
    line-height: 1.5;
}

.contact-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.contact-list li {
    margin: 0 0 10px;
    color: #444;
}

.auth-shell {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.auth-form-card,
.auth-info {
    border-radius: 12px;
    padding: 26px;
}

.auth-form-card {
    background: #ffffff;
}

.auth-info {
    background: linear-gradient(150deg, #111111, #202020);
    color: #fff;
    border-color: #111;
}

.auth-info h3,
.auth-info p {
    color: #fff;
}

.auth-points {
    margin: 14px 0 22px;
    padding: 0 0 0 18px;
}

.auth-points li {
    margin: 0 0 10px;
    color: #d8d8d8;
}

.auth-form-card h3,
.auth-info h3 {
    margin: 0 0 12px;
}

.auth-form label {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: #2d2d2d;
    margin: 0 0 6px;
}

.auth-form input {
    width: 100%;
    height: 42px;
    border: 1px solid #c8c8c8;
    border-radius: 8px;
    padding: 9px 12px;
    font-size: 14px;
    margin: 0 0 14px;
}

.auth-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.auth-row {
    margin: -2px 0 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.auth-check {
    display: inline-flex !important;
    align-items: center;
    gap: 8px;
    font-size: 13px !important;
    font-weight: 600 !important;
    color: #444 !important;
    margin: 0;
}

.auth-check input {
    width: 16px;
    height: 16px;
    margin: 0;
}

.auth-link {
    color: var(--accent);
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
}

.auth-submit {
    width: 100%;
    border: 0;
    border-radius: 10px;
    height: 44px;
    background: #101010;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
}

.auth-submit-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.auth-switch {
    margin: 14px 0 0;
    font-size: 14px;
    color: #5a5a5a;
}

.auth-switch a,
.auth-check a {
    color: var(--accent);
    text-decoration: none;
    font-weight: 700;
}

.auth-single-wrap {
    width: min(620px, 100%);
    margin: 0 auto;
}

.auth-single-card {
    width: 100%;
}

.site-footer {
    background: #0a0a0a;
    color: #fff;
    padding: 40px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr 1.3fr;
    gap: 24px;
    padding-bottom: 34px;
}

.footer-logo {
    margin: 0 0 18px;
    display: inline-flex;
}

.footer-logo img {
    width: 100px;
}

.footer-grid h4 {
    margin: 0 0 12px;
    font-size: 22px;
}

.footer-grid p,
.footer-grid a {
    margin: 0 0 9px;
    font-size: 16px;
    color: #cccccc;
    text-decoration: none;
}

.footer-socials {
    display: grid;
    grid-template-columns: repeat(3, 42px);
    gap: 12px;
}

.footer-socials a {
    width: 42px;
    height: 42px;
    border: 1px solid #bfbfbf;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
}

.footer-links-col a {
    display: block;
    position: relative;
    padding-left: 16px;
}

.footer-links-col a::before {
    content: "\25B8";
    position: absolute;
    left: 0;
    top: 1px;
    font-size: 12px;
    color: #fff;
}

.footer-bottom {
    border-top: 1px solid #252525;
    text-align: center;
    color: #c8c8c8;
    padding: 18px 12px 22px;
    font-size: 16px;
}

.whatsapp-float {
    position: fixed;
    left: 24px;
    bottom: 34px;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: #5adb48;
    color: #0b1f0a;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
    z-index: 60;
}

.whatsapp-float svg {
    width: 30px;
    height: 30px;
    fill: #0e2a0a;
}

@media (max-width: 1100px) {
    .main-nav,
    .header-actions {
        display: none;
    }

    .auth-shell {
        grid-template-columns: 1fr;
    }

    .auth-shell-login .auth-info {
        order: 2;
    }

    .auth-shell-login .auth-form-card {
        order: 1;
    }

    .auth-shell-register .auth-info {
        order: 2;
    }

    .auth-shell-register .auth-form-card {
        order: 1;
    }

    .grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 760px) {
    .grid-2,
    .grid-3,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .auth-grid-2 {
        grid-template-columns: 1fr;
    }

    .auth-form-card,
    .auth-info {
        padding: 20px;
    }

    .whatsapp-float {
        left: 14px;
        bottom: 18px;
        width: 52px;
        height: 52px;
    }

    .whatsapp-float svg {
        width: 26px;
        height: 26px;
    }
}
