@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');


:root {
    --green: #16843a;
    --dark-green: #0b5c2a;
    --light-green: #eaf7ee;
    --text: #142019;
    --muted: #6b766f;
    --white: #ffffff;
    --background: #f4f7f3;
    --border: #e4e9e5;
}


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


body {
    font-family: "Inter", sans-serif;
    background: var(--background);
    color: var(--text);
}


.page {
    width: 100%;
    max-width: 900px;
    margin: auto;
    padding: 35px 20px 40px;
}


/* =====================
   PROFILE
===================== */

/* =====================
   FARMBASE HEADER
===================== */

.profile {
    text-align: center;
    margin-bottom: 35px;
}

.brand-logo {
    width: 260px;
    max-width: 80%;
    margin: 0 auto 10px;

    display: flex;
    align-items: center;
    justify-content: center;
}

.brand-logo img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
}

.tagline {
    color: var(--green);

    font-size: 14px;
    font-weight: 700;

    margin-bottom: 9px;
}

.description {
    max-width: 500px;
    margin: auto;

    color: var(--muted);

    font-size: 13px;
    line-height: 1.6;
}
/* =====================
   SECTION
===================== */

section {
    margin-bottom: 32px;
}


h2 {
    font-size: 16px;

    margin-bottom: 13px;

    font-weight: 800;
}


.section-description {
    color: var(--muted);

    font-size: 13px;

    margin-top: -5px;
    margin-bottom: 15px;
}


/* =====================
   LINK CARDS
===================== */

.link-card {
    display: flex;

    align-items: center;

    width: 100%;

    padding: 15px;

    margin-bottom: 12px;

    background: var(--white);

    border: 1px solid var(--border);

    border-radius: 16px;

    text-decoration: none;

    color: var(--text);

    transition: 0.25s ease;

    box-shadow: 0 4px 12px rgba(0,0,0,0.025);
}


.link-card:hover {
    transform: translateY(-2px);

    border-color: var(--green);

    box-shadow: 0 8px 22px rgba(0,0,0,0.07);
}


.icon {
    width: 48px;
    height: 48px;

    flex-shrink: 0;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 13px;

    margin-right: 14px;

    font-size: 19px;
}


.website {
    background: #eaf4ff;
    color: #1769aa;
}


.catalogue {
    background: #edf8ee;
    color: var(--green);
}


.agro {
    background: #fff5df;
    color: #a76a00;
}


.machinery {
    background: #f1f1f1;
    color: #454545;
}


.whatsapp {
    background: #e9f8ef;
    color: #159447;
}


.link-text {
    display: flex;

    flex-direction: column;

    gap: 4px;

    flex: 1;
}


.link-text strong {
    font-size: 14px;
}


.link-text span {
    font-size: 12px;

    color: var(--muted);
}


.arrow {
    color: #9aa39d;

    font-size: 13px;
}


/* =====================
   EXPLORE FARMBASE GRID
   (desktop/tablet only — mobile keeps the original stacked cards)
===================== */

@media (min-width: 650px) {

    .links-section {
        display: grid;

        grid-template-columns: repeat(4, 1fr);

        gap: 12px;
    }


    .links-section h2 {
        grid-column: 1 / -1;
    }


    .links-section .link-card {
        flex-direction: column;

        align-items: flex-start;

        text-align: left;

        gap: 10px;

        margin-bottom: 0;

        padding: 16px;
    }


    .links-section .link-card .icon {
        margin-right: 0;
    }


    .links-section .link-card .arrow {
        display: none;
    }

}


@media (min-width: 650px) and (max-width: 899px) {

    .links-section {
        grid-template-columns: repeat(2, 1fr);
    }

}


/* =====================
   SALES REPRESENTATIVES
===================== */

.representative {
    background: white;

    border: 1px solid var(--border);

    border-radius: 16px;

    padding: 14px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    margin-bottom: 10px;
}


.rep-info {
    display: flex;

    align-items: center;

    gap: 12px;
}


.rep-icon {
    width: 43px;
    height: 43px;

    border-radius: 50%;

    background: var(--light-green);

    color: var(--green);

    display: flex;

    align-items: center;
    justify-content: center;
}


.rep-info strong {
    display: block;

    font-size: 14px;

    margin-bottom: 4px;
}


.rep-info span {
    display: block;

    font-size: 12px;

    color: var(--muted);
}


.rep-actions {
    display: flex;

    gap: 7px;
}


.rep-actions a {
    width: 37px;
    height: 37px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: var(--light-green);

    color: var(--green);

    text-decoration: none;
}


.rep-actions a:hover {
    background: var(--green);

    color: white;
}


/* =====================
   SALES GRID
   (desktop/tablet only — mobile keeps the original stacked cards)
===================== */

@media (min-width: 641px) {

    .sales-section {
        display: grid;

        grid-template-columns: repeat(2, 1fr);

        gap: 12px;
    }


    .sales-section h2,
    .sales-section .section-description {
        grid-column: 1 / -1;
    }


    .sales-section .representative {
        flex-direction: column;

        align-items: flex-start;

        gap: 12px;

        margin-bottom: 0;

        padding: 16px;
    }


    .sales-section .representative .rep-info {
        width: 100%;
    }


    .sales-section .representative .rep-actions {
        margin-left: 55px;
    }


    .sales-section .representative .rep-actions a {
        width: 56px;

        height: 34px;

        border-radius: 999px;
    }

}


/* =====================
   LOCATIONS
===================== */

.location-card {
    display: flex;

    align-items: center;

    gap: 13px;

    background: white;

    border: 1px solid var(--border);

    border-radius: 16px;

    padding: 15px;

    margin-bottom: 10px;

    text-decoration: none;

    color: var(--text);
}


.location-icon {
    width: 45px;
    height: 45px;

    border-radius: 12px;

    background: var(--light-green);

    color: var(--green);

    display: flex;

    align-items: center;
    justify-content: center;

    flex-shrink: 0;
}


.location-card div:nth-child(2) {
    flex: 1;
}


.location-card strong {
    display: block;

    font-size: 13px;

    margin-bottom: 4px;
}


.location-card span {
    font-size: 11px;

    color: var(--muted);

    line-height: 1.5;
}


.location-card > i:last-child {
    color: #9aa39d;

    font-size: 13px;
}


/* =====================
   CONTACT
===================== */

.contact-button {
    display: flex;

    align-items: center;

    gap: 14px;

    padding: 16px;

    margin-bottom: 10px;

    background: var(--green);

    color: white;

    text-decoration: none;

    border-radius: 15px;

    transition: 0.2s ease;
}


.contact-button:hover {
    background: var(--dark-green);

    transform: translateY(-2px);
}


.contact-button > i {
    width: 40px;
    height: 40px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 10px;

    background: rgba(255,255,255,0.15);
}


.contact-button span {
    display: flex;

    flex-direction: column;

    gap: 3px;

    font-size: 13px;
}


.contact-button strong {
    font-size: 14px;
}


/* =====================
   SOCIAL
===================== */

.social-section {
    text-align: center;
}


.socials {
    display: flex;

    justify-content: center;

    gap: 12px;
}


.socials a {
    width: 45px;
    height: 45px;

    border-radius: 50%;

    display: flex;

    align-items: center;
    justify-content: center;

    background: white;

    border: 1px solid var(--border);

    color: var(--green);

    text-decoration: none;

    font-size: 17px;

    transition: 0.2s ease;
}


.socials a:hover {
    background: var(--green);

    color: white;

    transform: translateY(-3px);
}


/* =====================
   FOOTER
===================== */

footer {
    text-align: center;

    margin-top: 20px;

    padding-top: 25px;

    border-top: 1px solid var(--border);

    color: var(--muted);
}


.footer-logo {
    font-size: 16px;

    font-weight: 800;

    color: var(--green);

    letter-spacing: 1px;

    margin-bottom: 7px;
}


footer p {
    font-size: 12px;

    margin-bottom: 10px;
}


footer small {
    font-size: 10px;
}


/* =====================
   MOBILE
===================== */

@media (max-width: 480px) {

    .page {
        padding: 25px 15px 30px;
    }

    .profile h1 {
        font-size: 23px;
    }

    .logo {
        width: 72px;
        height: 72px;

        font-size: 36px;
    }

    .link-card {
        padding: 13px;
    }

    .icon {
        width: 44px;
        height: 44px;

        margin-right: 11px;
    }

}