﻿/* ============================================================
   IOT LYNK POULTRY
   ============================================================ */


.poultry-hero {
    padding: 95px 0 90px;
    background: radial-gradient(circle at 83% 30%, rgba(245,158,11,.10), transparent 35%), radial-gradient(circle at 8% 80%, rgba(20,184,178,.08), transparent 28%), #fff;
}


.poultry-back-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-bottom: 30px;
    color: #6f8294;
    font-size: 11px;
    font-weight: 600;
}

    .poultry-back-link:hover {
        color: var(--blue);
    }


.poultry-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 20px;
    color: #c87c00;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.4px;
}

    .poultry-eyebrow > span {
        width: 31px;
        height: 31px;
        display: grid;
        place-items: center;
        border-radius: 9px;
        color: #f59e0b;
        background: #fff7e6;
    }


.poultry-hero h1 {
    margin: 0 0 25px;
    color: var(--navy);
    font-size: clamp(48px,5vw,72px);
    line-height: 1;
    font-weight: 700;
    letter-spacing: -3.2px;
}

    .poultry-hero h1 strong {
        color: #f59e0b;
        font-weight: 800;
    }


.poultry-description {
    max-width: 590px;
    margin-bottom: 30px;
    color: var(--muted);
    font-size: 15px;
    line-height: 1.8;
}


.poultry-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}


.poultry-mini-features {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    margin-top: 30px;
    color: #718598;
    font-size: 10px;
}

    .poultry-mini-features i {
        margin-right: 5px;
        color: var(--teal);
    }


/* HERO IMAGE */

.poultry-hero-image {
    position: relative;
    border-radius: 24px;
    box-shadow: 0 30px 70px rgba(18,54,87,.16);
}

    .poultry-hero-image > img {
        width: 100%;
        min-height: 500px;
        display: block;
        object-fit: cover;
        border-radius: 24px;
    }


/* LIVE */

.poultry-live-panel {
    position: absolute;
    right: -22px;
    bottom: 25px;
    width: 330px;
    padding: 19px;
    border-radius: 17px;
    background: rgba(255,255,255,.95);
    box-shadow: 0 20px 45px rgba(17,53,85,.20);
    backdrop-filter: blur(15px);
}


.poultry-live-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 12px;
    border-bottom: 1px solid #edf1f5;
    color: #72879a;
    font-size: 8px;
    font-weight: 700;
}

    .poultry-live-header > div {
        display: flex;
        align-items: center;
        gap: 7px;
    }

.poultry-live-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #22c55e;
}

.poultry-online {
    color: #16a34a;
}


.poultry-live-grid {
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 10px;
    padding: 15px 0;
}

    .poultry-live-grid > div {
        display: grid;
        grid-template-columns: 34px 1fr;
        column-gap: 8px;
        align-items: center;
    }

    .poultry-live-grid small,
    .poultry-live-grid strong {
        display: block;
    }

    .poultry-live-grid small {
        color: #8192a3;
        font-size: 7px;
    }

    .poultry-live-grid strong {
        color: var(--navy);
        font-size: 13px;
    }

.poultry-sensor {
    grid-row: 1 / span 2;
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border-radius: 9px;
}

    .poultry-sensor.temp {
        color: #f97316;
        background: #fff0e8;
    }

    .poultry-sensor.humidity {
        color: #3182f6;
        background: #edf4ff;
    }

    .poultry-sensor.co2 {
        color: #64748b;
        background: #f1f5f9;
    }

    .poultry-sensor.nh3 {
        color: #10b981;
        background: #ecfdf5;
    }


.poultry-normal {
    padding-top: 12px;
    border-top: 1px solid #edf1f5;
    color: #16a34a;
    font-size: 8px;
    font-weight: 600;
}


/* GENERAL */

.poultry-section-label {
    margin-bottom: 12px;
    color: var(--teal);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.4px;
    text-transform: uppercase;
}

.poultry-section-title {
    margin: 0 0 22px;
    color: var(--navy);
    font-size: clamp(38px,4vw,55px);
    line-height: 1.08;
    font-weight: 500;
    letter-spacing: -2px;
}

    .poultry-section-title strong {
        font-weight: 800;
    }

.poultry-section-description {
    color: var(--muted);
    font-size: 14px;
    line-height: 1.8;
}

.poultry-heading {
    max-width: 780px;
    margin: 0 auto 55px;
    text-align: center;
}

    .poultry-heading h2 {
        color: var(--navy);
        font-size: clamp(38px,4vw,55px);
        font-weight: 500;
        letter-spacing: -2px;
    }

        .poultry-heading h2 strong {
            font-weight: 800;
        }

    .poultry-heading p {
        color: var(--muted);
        font-size: 14px;
        line-height: 1.8;
    }


/* PARAMETERS */

.poultry-parameters {
    padding: 110px 0;
    background: #f5f8fc;
}

.poultry-parameter-grid {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 15px;
}

    .poultry-parameter-grid article {
        padding: 25px;
        border: 1px solid var(--border);
        border-radius: 18px;
        background: #fff;
        transition: .25s ease;
    }

        .poultry-parameter-grid article:hover {
            transform: translateY(-5px);
            box-shadow: 0 18px 40px rgba(18,54,87,.09);
        }

.parameter-icon {
    width: 47px;
    height: 47px;
    display: grid;
    place-items: center;
    margin-bottom: 20px;
    border-radius: 12px;
    font-size: 20px;
}

    .parameter-icon.temperature {
        color: #f97316;
        background: #fff0e8;
    }

    .parameter-icon.humidity {
        color: #3182f6;
        background: #edf4ff;
    }

    .parameter-icon.co2 {
        color: #64748b;
        background: #f1f5f9;
    }

    .parameter-icon.nh3 {
        color: #10b981;
        background: #ecfdf5;
    }

.poultry-parameter-grid h3 {
    color: var(--navy);
    font-size: 14px;
    font-weight: 700;
}

.parameter-value {
    display: block;
    margin: 10px 0;
    color: var(--navy);
    font-size: 25px;
}

.poultry-parameter-grid p {
    color: #778b9f;
    font-size: 9px;
    line-height: 1.7;
}


/* RISKS */

.poultry-risks {
    padding: 115px 0;
    background: #fff;
}

.poultry-risk-grid {
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 15px;
}

    .poultry-risk-grid article {
        min-height: 200px;
        padding: 25px;
        border: 1px solid var(--border);
        border-radius: 17px;
        background: #fff;
        transition: .25s ease;
    }

        .poultry-risk-grid article:hover {
            transform: translateY(-5px);
            box-shadow: 0 18px 40px rgba(18,54,87,.09);
        }

        .poultry-risk-grid article > span {
            width: 45px;
            height: 45px;
            display: grid;
            place-items: center;
            margin-bottom: 20px;
            border-radius: 12px;
            color: #f59e0b;
            background: #fff7e6;
        }

    .poultry-risk-grid h3 {
        color: var(--navy);
        font-size: 14px;
    }

    .poultry-risk-grid p {
        color: #778b9f;
        font-size: 10px;
        line-height: 1.7;
    }


/* ARCHITECTURE */

.poultry-architecture {
    padding: 115px 0;
    background: #f5f8fc;
}

.poultry-architecture-grid {
    display: grid;
    grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
    align-items: center;
    gap: 12px;
}

    .poultry-architecture-grid article {
        position: relative;
        min-height: 240px;
        padding: 27px;
        border: 1px solid var(--border);
        border-radius: 18px;
        background: #fff;
    }

        .poultry-architecture-grid article.featured {
            border-color: rgba(20,184,178,.35);
        }

.architecture-step {
    position: absolute;
    top: 18px;
    right: 20px;
    color: #d7e2ec;
    font-size: 11px;
    font-weight: 800;
}

.architecture-icon {
    width: 50px;
    height: 50px;
    display: grid;
    place-items: center;
    margin-bottom: 23px;
    border-radius: 13px;
    color: var(--teal);
    background: #edfafa;
    font-size: 20px;
}

.poultry-architecture-grid h3 {
    color: var(--navy);
    font-size: 14px;
}

.poultry-architecture-grid p {
    color: #778b9f;
    font-size: 9px;
    line-height: 1.7;
}

.architecture-arrow {
    color: #a8bac9;
    font-size: 20px;
}


/* CONTROLLER */

.poultry-controller {
    padding: 115px 0;
    background: #fff;
}

.poultry-controller-image {
    padding: 35px;
    border: 1px solid var(--border);
    border-radius: 25px;
    background: radial-gradient(circle,#fff,#edf3f7 75%);
}

    .poultry-controller-image img {
        width: 100%;
    }

.poultry-controller-specs {
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 11px;
    margin-top: 30px;
}

    .poultry-controller-specs > div {
        display: flex;
        align-items: center;
        gap: 9px;
        min-height: 49px;
        padding: 10px 13px;
        border: 1px solid var(--border);
        border-radius: 11px;
        color: #475d71;
        font-size: 10px;
        font-weight: 600;
    }

    .poultry-controller-specs i {
        color: var(--teal);
    }


/* MULTISITE */

.poultry-multisite {
    padding: 115px 0;
    background: #f5f8fc;
}

.poultry-site-list {
    display: grid;
    gap: 10px;
    margin-top: 25px;
}

    .poultry-site-list > div {
        display: flex;
        justify-content: space-between;
        padding: 15px;
        border: 1px solid var(--border);
        border-radius: 11px;
        background: #fff;
        font-size: 10px;
    }

    .poultry-site-list .online {
        color: #16a34a;
    }

    .poultry-site-list .warning {
        color: #f59e0b;
    }

.poultry-platform-image img {
    width: 100%;
    border-radius: 20px;
    filter: drop-shadow(0 25px 40px rgba(18,54,87,.13));
}


/* ALERT */

.poultry-alert {
    padding: 115px 0;
    background: #fff;
}

.poultry-alert-card {
    max-width: 510px;
    margin: auto;
    overflow: hidden;
    border: 1px solid #f4d4c4;
    border-radius: 20px;
    box-shadow: 0 25px 55px rgba(100,50,20,.08);
}

.poultry-alert-title {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 20px;
    background: #fff8f3;
}

    .poultry-alert-title > span {
        width: 44px;
        height: 44px;
        display: grid;
        place-items: center;
        border-radius: 11px;
        color: #f97316;
        background: #ffedd5;
    }

    .poultry-alert-title > div {
        flex: 1;
    }

    .poultry-alert-title strong,
    .poultry-alert-title small {
        display: block;
    }

    .poultry-alert-title strong {
        color: #9a3412;
    }

    .poultry-alert-title small,
    .poultry-alert-title time {
        color: #a47866;
        font-size: 8px;
    }

.poultry-alert-value {
    padding: 35px;
    text-align: center;
}

    .poultry-alert-value span,
    .poultry-alert-value strong {
        display: block;
    }

    .poultry-alert-value span {
        color: #8293a4;
        font-size: 9px;
    }

    .poultry-alert-value strong {
        color: #ea580c;
        font-size: 42px;
    }

.poultry-alert-limit {
    padding: 15px;
    text-align: center;
    border-top: 1px solid var(--border);
    color: #718598;
    font-size: 9px;
}


/* CONTACT */

.poultry-contact {
    padding: 95px 0;
}

.poultry-contact-box {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 45px;
    padding: 55px;
    border: 1px solid #e5e9ee;
    border-radius: 25px;
    background: radial-gradient(circle at 90% 0%, rgba(245,158,11,.10), transparent 34%), radial-gradient(circle at 0% 100%, rgba(20,184,178,.10), transparent 30%), #f8fbfd;
}

    .poultry-contact-box h2 {
        color: var(--navy);
        font-size: clamp(35px,4vw,50px);
        font-weight: 800;
        letter-spacing: -1.8px;
    }

    .poultry-contact-box p {
        max-width: 700px;
        color: var(--muted);
        font-size: 13px;
        line-height: 1.75;
    }

.poultry-contact-actions {
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
}


/* RESPONSIVE */

@media (max-width: 991.98px) {

    .poultry-live-panel {
        right: 20px;
    }

    .poultry-parameter-grid {
        grid-template-columns: repeat(2,1fr);
    }

    .poultry-architecture-grid {
        grid-template-columns: repeat(2,1fr);
    }

    .architecture-arrow {
        display: none;
    }

    .poultry-contact-box {
        flex-direction: column;
        align-items: flex-start;
    }
}


@media (max-width: 767.98px) {

    .poultry-hero h1 {
        font-size: 46px;
    }

    .poultry-live-panel {
        position: relative;
        right: auto;
        bottom: auto;
        width: calc(100% - 30px);
        margin: -50px auto 0;
    }

    .poultry-parameter-grid,
    .poultry-risk-grid,
    .poultry-architecture-grid,
    .poultry-controller-specs {
        grid-template-columns: 1fr;
    }

    .poultry-contact-box {
        padding: 35px 27px;
    }

    .poultry-contact-actions {
        width: 100%;
    }

        .poultry-contact-actions a {
            width: 100%;
        }
}
