/* Date Tractor - pagini informative */

.info-page {
    max-width: 980px;
    margin: 0 auto 40px;
}

.info-page-header {
    margin: 12px 0 30px;
}

.info-page-header h1 {
    margin: 4px 0 12px;
}

.info-lead {
    max-width: 820px;
    font-size: 19px;
    line-height: 1.55;
}

.info-page section {
    margin: 0 0 18px;
    padding: 22px 24px;
    background: #fff;
    border: 1px solid #dde2e5;
    border-radius: 14px;
}

.info-page section h2 {
    margin: 0 0 10px;
    font-size: 22px;
}

.info-page section p {
    margin: 0;
    line-height: 1.65;
}

footer .footer-links {
    display: inline-flex;
    gap: 8px;
    margin-left: 14px;
    align-items: center;
}

footer .footer-links a {
    color: inherit;
    text-decoration: none;
}

footer .footer-links a:hover {
    text-decoration: underline;
}

@media (max-width: 650px) {
    .info-page section {
        padding: 18px;
    }

    .info-lead {
        font-size: 17px;
    }

    footer .footer-links {
        display: flex;
        margin: 8px 0 0;
    }
}

/* Meniu principal - intre logo si contoare */
.site-header-top .main-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    flex: 1 1 auto;
    margin: 0 42px;
    padding: 6px;
    min-height: 0;
    border: 1px solid #dce8df;
    border-radius: 8px;
    background:linear-gradient(180deg,#fff 0%,#f7f8f8 100%);
    box-shadow: 0 4px 14px rgba(20, 70, 35, .06);
}

.site-header-top .main-nav a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 92px;
    padding: 10px 17px;
    border-radius: 8px;
    color: #17221a;
    text-decoration: none;
    font-size: 14px;
    font-weight: 800;
    line-height: 1;
    transition: background .18s ease, color .18s ease, transform .18s ease;
}

.site-header-top .main-nav a:hover {
    background: #e7f4ea;
    color: #08752f;
}

.site-header-top .main-nav a.active {
    background: #0b7a35;
    color: #fff;
    box-shadow: 0 4px 10px rgba(11, 122, 53, .18);
}

@media (max-width: 1000px) {
    .site-header-top {
        flex-wrap: wrap;
    }

    .site-header-top .main-nav {
        order: 3;
        flex: 1 0 100%;
        margin: 14px 0 0;
        padding: 5px;
    }
}

@media (max-width: 560px) {
    .site-header-top .main-nav {
        gap: 3px;
        border-radius: 14px;
    }

    .site-header-top .main-nav a {
        min-width: 0;
        flex: 1 1 0;
        padding: 10px 9px;
        font-size: 13px;
    }
}

/* Bloc Pe scurt */
.quick-summary {
    margin: 0 0 28px;
    background: #fff;
    border: 1px solid #d9dfe3;
    border-radius: 14px;
    overflow: hidden;
}
.quick-summary-head {
    padding: 14px 22px;
    background: #f4f2f2;
    border-bottom: 1px solid #d9dfe3;
}
.quick-summary-head h2 {
    margin: 0;
    font-size: 21px;
    line-height: 1.3;
}
.quick-summary-text {
    margin: 0;
    padding: 16px 22px 12px;
    font-size: 16px;
    line-height: 1.55;
}
.quick-facts {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    border-top: 1px solid #e3e7ea;
}
.quick-fact {
    min-width: 0;
    padding: 14px 22px 16px;
    border-right: 1px solid #e3e7ea;
    border-bottom: 1px solid #e3e7ea;
}
.quick-fact:nth-child(3n) { border-right: 0; }
.quick-fact span {
    display: block;
    margin-bottom: 4px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .04em;
    color: #56636b;
}
.quick-fact strong {
    display: block;
    font-size: 17px;
    line-height: 1.35;
    overflow-wrap: anywhere;
}
@media (max-width: 800px) {
    .main-nav {
        gap: 18px;
        overflow-x: auto;
        padding-left: 18px;
        padding-right: 18px;
    }
    .quick-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .quick-fact:nth-child(3n) { border-right: 1px solid #e3e7ea; }
    .quick-fact:nth-child(2n) { border-right: 0; }
}
@media (max-width: 520px) {
    .quick-facts { grid-template-columns: 1fr; }
    .quick-fact,
    .quick-fact:nth-child(2n),
    .quick-fact:nth-child(3n) { border-right: 0; }
    .quick-summary-head,
    .quick-summary-text,
    .quick-fact { padding-left: 16px; padding-right: 16px; }
}

/* FIX header mobil: logo + contoare sus, meniu pe rand separat */
@media (max-width: 700px) {
    .site-header-top {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) auto !important;
        grid-template-areas:
            "logo stats"
            "nav  nav" !important;
        align-items: center !important;
        gap: 12px 10px !important;
    }

    .site-header-top .site-logo {
        grid-area: logo;
        min-width: 0;
        margin: 0 !important;
        justify-self: start;
    }

    .site-header-top .site-logo img {
        display: block;
        width: 235px !important;
        max-width: 100% !important;
        height: auto !important;
    }

    .site-header-top .header-stats {
        grid-area: stats;
        display: flex !important;
        align-items: stretch;
        justify-content: flex-end;
        gap: 6px !important;
        margin: 0 !important;
        min-width: 0;
    }

    .site-header-top .header-stat {
        min-width: 62px !important;
        padding: 7px 8px !important;
        border-radius: 11px !important;
    }

    .site-header-top .header-stat strong {
        font-size: 16px !important;
        line-height: 1.05 !important;
    }

    .site-header-top .header-stat span {
        font-size: 12px !important;
        line-height: 1.1 !important;
    }

    .site-header-top .main-nav {
        grid-area: nav;
        display: grid !important;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        width: 100% !important;
        box-sizing: border-box;
        margin: 0 !important;
        padding: 4px !important;
        gap: 4px !important;
        border-radius: 8px !important;
        overflow: visible !important;
    }

    .site-header-top .main-nav a {
        min-width: 0 !important;
        width: 100%;
        box-sizing: border-box;
        padding: 10px 5px !important;
        font-size: 13px !important;
        white-space: nowrap;
    }
}

@media (max-width: 390px) {
    .site-header-top .site-logo img {
        width: 160px !important;
    }

    .site-header-top .header-stat {
        min-width: 56px !important;
        padding: 6px !important;
    }

    .site-header-top .header-stat strong {
        font-size: 12px !important;
    }

    .site-header-top .main-nav a {
        font-size: 10px !important;
    }
}

