/* assets/css/style.css */

:root {
    --primary: #0A3D2C;
    --primary-medium: #1A5F4A;
    --accent: #FF6B00;
    --background: #FFFFFF;
    --text: #1F1F1F;
    --muted: #6B7280;
    --border: #E5E7EB;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Poppins", Arial, sans-serif;
    background: var(--background);
    color: var(--text);
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    width: min(1180px, 92%);
    margin: 0 auto;
}

.site-header {
    position: absolute;
    top: 0;
    width: 100%;
    z-index: 10;
    padding: 22px 0;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    color: white;
    font-weight: 600;
    font-size: 20px;
}

.logo-icon {
    color: var(--accent);
    margin-right: 8px;
}

.nav {
    display: flex;
    align-items: center;
    gap: 28px;
    color: white;
    font-size: 14px;
}

.btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    border-radius: 12px;
    padding: 12px 22px;
    font-weight: 600;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: var(--accent);
    color: white;
}

.btn-secondary {
    background: white;
    color: var(--primary);
}

.btn-whatsapp {
    background: #25D366;
    color: white;
}

.btn-full {
    width: 100%;
}

.btn-large {
    padding: 16px 30px;
    font-size: 16px;
}

.hero {
    height: 650px;
    background: url("../img/hero.jpg") center/cover no-repeat;
}

.hero-overlay {
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(10, 61, 44, 0.82),
            rgba(10, 61, 44, 0.42));
}

.hero-content {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    max-width: 860px;
    color: white;
}

.hero-badge {
    width: fit-content;
    background: rgba(255, 255, 255, 0.14);
    padding: 8px 16px;
    border-radius: 999px;
    margin-bottom: 20px;
}

.hero h1 {
    font-size: clamp(36px, 5vw, 62px);
    line-height: 1.1;
    font-weight: 700;
}

.hero p {
    margin-top: 22px;
    font-size: 18px;
    max-width: 660px;
    color: rgba(255, 255, 255, 0.88);
}

.search-box {
    margin-top: 34px;
    display: flex;
    max-width: 640px;
    background: white;
    padding: 8px;
    border-radius: 14px;
}

.search-box input {
    flex: 1;
    border: none;
    padding: 0 16px;
    outline: none;
    font-size: 15px;
}

.search-box button {
    background: var(--accent);
    color: white;
    border: none;
    border-radius: 10px;
    padding: 14px 22px;
    cursor: pointer;
}

.hero-actions {
    display: flex;
    gap: 16px;
    margin-top: 30px;
}

.stats {
    margin-top: -45px;
    position: relative;
    z-index: 3;
}

.stats-card {
    background: white;
    box-shadow: var(--shadow);
    border-radius: 18px;
    padding: 26px;
    display: flex;
    align-items: center;
    gap: 16px;
}

.stats-card span {
    color: var(--primary);
    font-size: 22px;
    font-weight: 700;
}

.stats-card small {
    color: var(--muted);
}

.lots-section {
    padding: 80px 0;
}

.section-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 30px;
}

.section-header h2 {
    font-size: 30px;
}

.section-header select {
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 10px 14px;
}

.lots-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}

.lot-card {
    border: 1px solid var(--border);
    border-radius: 18px;
    overflow: hidden;
    background: white;
    box-shadow: var(--shadow);
}

.lot-image {
    position: relative;
    height: 190px;
}

.lot-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.lot-image span {
    position: absolute;
    left: 12px;
    top: 12px;
    background: var(--primary);
    color: white;
    font-size: 11px;
    padding: 5px 10px;
    border-radius: 999px;
}

.lot-body {
    padding: 18px;
}

.lot-title-row {
    display: flex;
    justify-content: space-between;
    gap: 10px;
}

.lot-title-row h3 {
    font-size: 17px;
}

.lot-title-row strong {
    color: var(--primary);
    font-size: 13px;
}

.location {
    color: var(--muted);
    font-size: 14px;
    margin-top: 5px;
}

.lot-info {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    margin: 18px 0;
}

.lot-info small {
    display: block;
    color: var(--muted);
    font-size: 11px;
}

.lot-info b {
    font-size: 13px;
}

.page-header {
    background: var(--primary);
    color: white;
    padding: 150px 0 70px;
}

.page-header h1 {
    font-size: 42px;
}

.page-header p {
    margin-top: 12px;
    color: rgba(255, 255, 255, 0.8);
}

.form-section {
    padding: 70px 0;
}

.lot-form {
    background: white;
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    border-radius: 22px;
    padding: 34px;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
}

label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
}

input,
select,
textarea {
    width: 100%;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 13px 14px;
    font-family: inherit;
    outline: none;
}

textarea {
    margin-top: 22px;
}

.lot-form button {
    margin-top: 26px;
}

.lot-detail {
    padding: 140px 0 80px;
}

.detail-grid {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 36px;
}

.lot-video {
    width: 100%;
    border-radius: 20px;
    background: #000;
}

.lot-detail h1 {
    margin-top: 28px;
    font-size: 38px;
}

.lot-number {
    display: inline-block;
    margin: 12px 0 20px;
    color: var(--primary);
}

.detail-table {
    margin-top: 30px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    border: 1px solid var(--border);
    border-radius: 18px;
    overflow: hidden;
}

.detail-table div {
    padding: 18px;
    border-bottom: 1px solid var(--border);
}

.detail-table span {
    display: block;
    color: var(--muted);
    font-size: 13px;
}

.deal-box {
    position: sticky;
    top: 30px;
    background: white;
    border: 1px solid var(--border);
    border-radius: 22px;
    box-shadow: var(--shadow);
    padding: 24px;
    height: fit-content;
}

.deal-box h2 {
    color: var(--primary);
    font-size: 30px;
}

.deal-box p {
    color: var(--muted);
    margin: 8px 0 22px;
}

.freight-box {
    border: 1px solid var(--border);
    padding: 18px;
    border-radius: 16px;
    margin-bottom: 18px;
}

.freight-box h3 {
    margin-bottom: 12px;
}

.freight-box button {
    width: 100%;
    margin-top: 10px;
    background: var(--primary);
    color: white;
    border: none;
    padding: 12px;
    border-radius: 10px;
}

.deal-box .btn {
    margin-top: 12px;
}

.footer {
    background: var(--primary);
    color: white;
    padding: 50px 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.4fr;
    gap: 40px;
}

.footer a,
.footer p {
    display: block;
    color: rgba(255, 255, 255, 0.75);
    margin-top: 8px;
}

.chat-button {
    position: fixed;
    right: 28px;
    bottom: 28px;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: var(--primary);
    color: white;
    display: grid;
    place-items: center;
    font-size: 24px;
    box-shadow: var(--shadow);
}

@media (max-width: 900px) {
    .nav {
        display: none;
    }

    .lots-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .detail-grid {
        grid-template-columns: 1fr;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 560px) {
    .hero {
        height: 720px;
    }

    .hero-actions {
        flex-direction: column;
    }

    .search-box {
        flex-direction: column;
        gap: 8px;
    }

    .lots-grid {
        grid-template-columns: 1fr;
    }

    .stats-card {
        flex-direction: column;
        align-items: flex-start;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }
}