:root {
    --green-900: #003f25;
    --green-700: #007a3d;
    --green-500: #5fc51b;
    --ink: #17211b;
    --muted: #68736d;
    --soft: #f4f8f5;
    --line: #dfe8e2;
}

body {
    color: var(--ink);
    background: #fff;
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.brand-logo {
    width: 168px;
    height: 54px;
    object-fit: contain;
    object-position: left center;
}

.navbar .nav-link {
    font-weight: 700;
    color: var(--ink);
}

.hero {
    background:
        linear-gradient(120deg, rgba(0, 63, 37, 0.95), rgba(0, 122, 61, 0.86)),
        url("../img/logo-apostilou.png") right 7% center / 520px auto no-repeat;
    color: #fff;
    padding: 72px 0 42px;
}

.eyebrow {
    display: inline-flex;
    color: var(--green-500);
    font-size: .78rem;
    text-transform: uppercase;
    font-weight: 900;
    letter-spacing: .08em;
    margin-bottom: 10px;
}

.hero h1,
.page-title h1,
.product-hero h1 {
    font-weight: 900;
    letter-spacing: 0;
}

.hero h1 {
    font-size: clamp(2.2rem, 5vw, 4.8rem);
    line-height: .98;
    max-width: 850px;
}

.hero .lead {
    color: rgba(255,255,255,.85);
    max-width: 680px;
}

.hero-search {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 10px;
    align-items: center;
    background: #fff;
    border-radius: 8px;
    padding: 9px;
    max-width: 760px;
    margin-top: 28px;
}

.hero-search i {
    color: var(--green-700);
    padding-left: 10px;
}

.hero-search input {
    border: 0;
    outline: 0;
    min-width: 0;
    font-weight: 600;
}

.hero-metrics {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}

.hero-metrics span {
    background: rgba(255,255,255,.12);
    border: 1px solid rgba(255,255,255,.18);
    padding: 9px 12px;
    border-radius: 8px;
}

.hero-panel,
.checkout-card,
.info-box,
.form-card,
.admin-form,
.success-box {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: 0 18px 50px rgba(0, 63, 37, .1);
}

.hero-panel {
    color: var(--ink);
    padding: 20px;
}

.panel-top {
    font-weight: 900;
    margin-bottom: 12px;
}

.mini-contest {
    display: flex;
    gap: 10px;
    padding: 12px 0;
    text-decoration: none;
    color: var(--ink);
    border-top: 1px solid var(--line);
}

.mini-contest small {
    display: block;
    color: var(--muted);
}

.status-dot {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    margin-top: 7px;
    background: var(--green-500);
    flex: 0 0 auto;
}

.section-pad {
    padding: 58px 0;
}

.bg-soft {
    background: var(--soft);
}

.section-head {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 16px;
    margin-bottom: 22px;
}

.section-head h2,
.product-hero h1,
.page-title h1 {
    margin: 0;
}

.product-card {
    height: 100%;
    border: 1px solid var(--line);
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
    display: flex;
    flex-direction: column;
}

.product-cover {
    min-height: 128px;
    background: linear-gradient(135deg, var(--green-900), var(--green-700) 58%, var(--green-500));
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
}

.product-cover i {
    font-size: 2.5rem;
}

.product-cover span {
    font-weight: 900;
    font-size: 1.4rem;
}

.product-body {
    padding: 18px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
}

.product-body small {
    color: var(--green-700);
    font-weight: 800;
}

.product-body h3 {
    font-size: 1.15rem;
    font-weight: 900;
}

.product-body p,
.tip-card p,
.checkout-card p,
.info-box p,
.page-title p {
    color: var(--muted);
}

.product-meta {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    color: var(--muted);
    font-size: .9rem;
}

.product-buy {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
}

.product-buy strong,
.price {
    color: var(--green-700);
    font-size: 1.35rem;
    font-weight: 900;
}

.page-title,
.product-hero {
    background: var(--soft);
    padding: 52px 0;
    border-bottom: 1px solid var(--line);
}

.filter-bar {
    display: grid;
    grid-template-columns: 1fr 190px 190px auto;
    gap: 10px;
    margin-top: 20px;
}

.spec-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    margin-top: 22px;
}

.spec-grid div {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 14px;
}

.spec-grid span {
    display: block;
    color: var(--muted);
    font-size: .8rem;
}

.content-list {
    display: grid;
    gap: 10px;
    padding: 0;
    margin: 18px 0 0;
    list-style: none;
}

.content-list li {
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 13px 15px;
    background: #fff;
}

.checkout-card,
.info-box,
.form-card,
.admin-form,
.success-box {
    padding: 24px;
}

.tip-card {
    display: block;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 20px;
    text-decoration: none;
    color: var(--ink);
    background: #fff;
}

.tip-card span {
    color: var(--green-700);
    font-weight: 900;
    font-size: .78rem;
    text-transform: uppercase;
}

.tip-card h3 {
    font-size: 1.2rem;
    font-weight: 900;
    margin-top: 8px;
}

.contest-table {
    border: 1px solid var(--line);
}

.contest-table thead th {
    background: var(--green-900);
    color: #fff;
}

.narrow {
    max-width: 840px;
}

.article-body {
    font-size: 1.1rem;
    line-height: 1.8;
}

.success-box i {
    color: var(--green-500);
    font-size: 2.8rem;
}

.footer {
    background: #f8faf8;
    border-top: 1px solid var(--line);
}

@media (max-width: 991px) {
    .hero {
        background: linear-gradient(120deg, rgba(0, 63, 37, 0.96), rgba(0, 122, 61, 0.9));
        padding-top: 48px;
    }
    .filter-bar,
    .spec-grid {
        grid-template-columns: 1fr;
    }
    .hero-search {
        grid-template-columns: auto 1fr;
    }
    .hero-search button {
        grid-column: 1 / -1;
    }
}
