* { box-sizing: border-box; margin: 0; padding: 0; }
body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: #f5f5f5;
    color: #222;
    line-height: 1.4;
}

a { color: #0066cc; text-decoration: none; }
a:hover { text-decoration: underline; }

.top-bar {
    background: #222;
    color: #fff;
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.top-bar span { margin-right: 0.5rem; }
.top-bar .top-contact { white-space: nowrap; }

header {
    background: #fff;
    border-bottom: 1px solid #ddd;
    position: sticky;
    top: 0;
    z-index: 50;
}

.header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0.75rem 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.logo-placeholder {
    width: 80px;
    height: 40px;
    background: #ddd;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    text-transform: uppercase;
    color: #555;
}
.logo-text {
    font-weight: 700;
    font-size: 1.1rem;
}

.nav-toggle {
    display: none;
    border: 1px solid #ccc;
    background: #fff;
    padding: 0.4rem 0.6rem;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.85rem;
}

nav {
    flex: 1;
}

.nav-menu {
    list-style: none;
    display: flex;
    justify-content: flex-end;
    gap: 1.5rem;
    font-size: 0.95rem;
}

.nav-item { position: relative; }

.nav-item > a {
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.04em;
    font-weight: 500;
}

.nav-item.has-dropdown:hover .dropdown {
    display: block;
}

.dropdown {
    display: none;
    position: absolute;
    top: 140%;
    left: 0;
    background: #fff;
    border: 1px solid #ddd;
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
    min-width: 220px;
    z-index: 10;
}

.dropdown ul {
    list-style: none;
}

.dropdown li a {
    display: block;
    padding: 0.5rem 0.75rem;
    font-size: 0.9rem;
    white-space: nowrap;
}

.dropdown li a:hover {
    background: #f4f4f4;
}

main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1.5rem 1rem 3rem;
}

.hero {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 2fr);
    gap: 2rem;
    align-items: center;
    margin-bottom: 2rem;
}

.hero-text h1 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.hero-text p {
    margin-bottom: 1rem;
    color: #555;
}

.hero-logo-large {
    width: 100%;
    max-width: 260px;
    height: 120px;
    background: #ddd;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    text-transform: uppercase;
    color: #555;
}

.search-box {
    background: #fff;
    border-radius: 8px;
    padding: 1rem;
    box-shadow: 0 8px 20px rgba(0,0,0,0.04);
}

.search-box h2 {
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
}

.search-form {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.75rem;
}

.search-field label {
    display: block;
    font-size: 0.8rem;
    margin-bottom: 0.2rem;
    color: #555;
}

.search-field select,
.search-field input[type="date"] {
    width: 100%;
    padding: 0.4rem 0.5rem;
    border-radius: 4px;
    border: 1px solid #ccc;
    font-size: 0.9rem;
}

.search-submit button {
    width: 100%;
    padding: 0.6rem;
    border-radius: 4px;
    border: none;
    background: #0074d9;
    color: #fff;
    font-weight: 600;
    cursor: pointer;
    font-size: 0.95rem;
}

.search-submit button:hover {
    background: #005fb3;
}

.tabs {
    margin: 2rem 0 1rem;
    border-bottom: 1px solid #ddd;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tab {
    padding: 0.4rem 0.9rem;
    border-radius: 999px 999px 0 0;
    border: 1px solid transparent;
    font-size: 0.85rem;
    cursor: pointer;
    background: transparent;
}

.tab.active {
    border-color: #0074d9;
    border-bottom-color: #fff;
    background: #fff;
    color: #0074d9;
    font-weight: 600;
}

.section-title {
    margin: 1.25rem 0 0.75rem;
    font-size: 1.3rem;
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.25rem;
}

.card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
}

.card-image {
    width: 100%;
    height: 160px;
    background: #ccc;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    color: #555;
}

.card-body {
    padding: 0.75rem 0.9rem 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    font-size: 0.9rem;
}

.card-title {
    font-weight: 600;
}

.card-subtitle {
    color: #777;
    font-size: 0.85rem;
}

.card-meta {
    font-size: 0.8rem;
    color: #555;
}

.card-price {
    margin-top: 0.4rem;
    font-weight: 700;
    color: #0074d9;
    font-size: 1rem;
}

.show-more-wrapper {
    text-align: center;
    margin-top: 1.5rem;
}
.btn-secondary {
    border: 1px solid #0074d9;
    background: #fff;
    color: #0074d9;
    border-radius: 999px;
    padding: 0.5rem 1.2rem;
    font-size: 0.9rem;
    cursor: pointer;
}
.btn-secondary:hover {
    background: #0074d9;
    color: #fff;
}

.card.hidden {
    display: none;
}

footer {
    background: #222;
    color: #eee;
    padding: 1.5rem 1rem 2rem;
    margin-top: 2rem;
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0,2fr) minmax(0,1fr);
    gap: 1.5rem;
    font-size: 0.9rem;
}

.footer-logo {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.footer-logo-placeholder {
    width: 120px;
    height: 50px;
    background: #555;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    text-transform: uppercase;
}

.footer-links ul {
    list-style: none;
}
.footer-links li + li {
    margin-top: 0.25rem;
}
.footer-links a {
    color: #ddd;
    font-size: 0.85rem;
}
.footer-links a:hover {
    color: #fff;
}

.footer-bottom {
    max-width: 1200px;
    margin: 1rem auto 0;
    border-top: 1px solid #444;
    padding-top: 0.75rem;
    font-size: 0.8rem;
    color: #aaa;
}

.back-to-top {
    position: fixed;
    right: 1rem;
    bottom: 1rem;
    padding: 0.45rem 0.8rem;
    font-size: 0.8rem;
    border-radius: 999px;
    border: none;
    background: #0074d9;
    color: #fff;
    cursor: pointer;
    display: none;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    z-index: 100;
}

/* Mobile */
@media (max-width: 768px) {
    .header-inner {
        flex-wrap: wrap;
    }
    nav {
        width: 100%;
    }
    .nav-toggle {
        display: inline-block;
    }
    .nav-menu {
        display: none;
        flex-direction: column;
        align-items: flex-start;
        margin-top: 0.75rem;
    }
    .nav-menu.open {
        display: flex;
    }
    .hero {
        grid-template-columns: 1fr;
    }
    .search-form {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 480px) {
    .search-form {
        grid-template-columns: 1fr;
    }
}