/* =========================================================
   SATAID Web
   Satellite Data Service
   ========================================================= */

body {
    min-height: 100vh;
    background:
        linear-gradient(
            180deg,
            #eef4f7 0%,
            #f7f9fa 42%,
            #eef2f4 100%
        );
}

.service-workspace {
    width: min(1500px, calc(100% - 40px));
    margin: 0 auto;
    padding: 28px 0 42px;
}


/* ---------------------------------------------------------
   PAGE HEADING
--------------------------------------------------------- */

.service-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;

    margin-bottom: 22px;
    padding: 0 4px;
}

.service-kicker {
    display: block;

    margin-bottom: 4px;

    color: #527080;

    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1.4px;
}

.service-heading h1 {
    margin: 0;

    color: #183746;

    font-size: 30px;
    line-height: 1.15;
}

.service-heading p {
    margin: 7px 0 0;

    color: #60727c;

    font-size: 15px;
}


/* ---------------------------------------------------------
   THREE SERVICE GROUPS
--------------------------------------------------------- */

.service-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    align-items: stretch;
}

.service-panel {
    overflow: hidden;

    min-width: 0;

    background: rgba(255, 255, 255, 0.96);

    border: 1px solid #d7e0e4;
    border-radius: 12px;

    box-shadow:
        0 3px 10px rgba(25, 55, 70, 0.07),
        0 12px 30px rgba(25, 55, 70, 0.04);
}


/* ---------------------------------------------------------
   PANEL HEADER
--------------------------------------------------------- */

.panel-header {
    display: flex;
    align-items: center;
    gap: 13px;

    min-height: 82px;
    padding: 16px 18px;

    background:
        linear-gradient(
            135deg,
            #e6f3e9 0%,
            #f2f8f3 100%
        );

    border-bottom: 1px solid #d7e5da;
}

.panel-number {
    display: flex;
    flex: 0 0 42px;
    align-items: center;
    justify-content: center;

    width: 42px;
    height: 42px;

    color: #174b2d;
    background: #cbe8d1;

    border: 1px solid #b5d9bd;
    border-radius: 9px;

    font-size: 15px;
    font-weight: 900;
}

.panel-header h2 {
    margin: 0 0 3px;

    color: #183b2b;

    font-size: 19px;
    line-height: 1.2;
}

.panel-header span {
    color: #668074;

    font-size: 12px;
    font-weight: 600;
}


/* ---------------------------------------------------------
   DATA LINKS
--------------------------------------------------------- */

.service-links {
    padding: 9px;
}

.data-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;

    min-height: 68px;
    padding: 11px 13px;

    color: #203640;

    border-bottom: 1px solid #edf1f2;

    text-decoration: none;

    transition:
        background 0.15s ease,
        transform 0.15s ease,
        box-shadow 0.15s ease;
}

.data-link:last-child {
    border-bottom: 0;
}

.data-link:hover,
.data-link:focus-visible {
    position: relative;
    z-index: 1;

    background: #eef8f0;

    border-radius: 8px;

    box-shadow:
        inset 3px 0 0 #5aaf70;

    transform: translateX(2px);

    outline: none;
}

.data-link strong {
    display: block;

    margin-bottom: 3px;

    color: #213a45;

    font-size: 15px;
    font-weight: 800;
}

.data-link span {
    display: block;

    color: #77878f;

    font-size: 12px;
    line-height: 1.35;
}

.data-link b {
    flex: 0 0 auto;

    color: #5b8d69;

    font-family: Arial, sans-serif;
    font-size: 25px;
    font-weight: 400;
}


/* ---------------------------------------------------------
   HEADER TYPOGRAPHY
   Match approved operational header on large desktop
--------------------------------------------------------- */

@media (min-width: 1350px) {
    .main-nav a {
        font-size: 21px;
        font-weight: 700;
    }
}


/* ---------------------------------------------------------
   RESPONSIVE
--------------------------------------------------------- */

@media (max-width: 1100px) {

    .service-grid {
        grid-template-columns: 1fr 1fr;
    }

    .service-panel:last-child {
        grid-column: 1 / -1;
    }
}

@media (max-width: 760px) {

    .service-workspace {
        width: calc(100% - 24px);
        padding-top: 20px;
    }

    .service-grid {
        grid-template-columns: 1fr;
    }

    .service-panel:last-child {
        grid-column: auto;
    }

    .service-heading h1 {
        font-size: 25px;
    }

    .service-heading p {
        font-size: 13px;
    }
}


/* =========================================================
   04 DATA DELIVERY SERVICE
   ========================================================= */

.delivery-panel {
    border-color: #ead9b6;
}

.delivery-header {
    background:
        linear-gradient(
            135deg,
            #fff0d2 0%,
            #fff8e9 100%
        );

    border-bottom-color: #eadfc6;
}

.delivery-header .panel-number {
    color: #594317;
    background: #f8dfa9;
    border-color: #e9cb89;
}

.delivery-header h2 {
    color: #3f3829;
}

.delivery-link {
    min-height: 92px;
}

.delivery-symbol {
    display: flex;
    flex: 0 0 62px;
    align-items: center;
    justify-content: center;
    gap: 2px;

    width: 62px;
    height: 52px;

    color: #315f68;
    background: #e5f4f4;

    border: 1px solid #cce5e5;
    border-radius: 10px;

    font-family: Arial, sans-serif;
}

.delivery-box {
    font-size: 25px;
}

.delivery-arrows {
    color: #517c64;
    font-size: 22px;
    font-weight: 700;
}

.delivery-text {
    flex: 1 1 auto;
}

.delivery-note {
    margin: 0 13px 14px;
    padding: 10px 12px;

    color: #5d5546;
    background: #fff9ec;

    border: 1px solid #eee1c6;
    border-radius: 7px;

    font-size: 12px;
    line-height: 1.55;
}


/* Four service groups: balanced desktop layout */

@media (min-width: 1101px) {
    .service-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}


/* =========================================================
   SATAID Web - Contact Card v0.5
   ========================================================= */

.service-title-block {
    min-width: 0;
}

.contact-card {
    flex: 0 0 430px;

    padding: 12px 15px;

    background:
        linear-gradient(
            135deg,
            #e9f6f4 0%,
            #f3faf8 100%
        );

    border: 1px solid #cfe4df;
    border-radius: 10px;

    box-shadow:
        0 3px 10px rgba(30, 65, 65, 0.05);
}

.contact-title {
    margin-bottom: 4px;

    color: #193c35;

    font-size: 15px;
    font-weight: 800;
}

.contact-agency {
    color: #253a3a;

    font-size: 13px;
    font-weight: 700;
}

.contact-agency-sub {
    margin-top: 1px;

    color: #657776;

    font-size: 11px;
    line-height: 1.4;
}

.contact-links {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 14px;

    margin-top: 7px;
}

.contact-links a {
    color: #285c62;

    font-size: 12px;
    font-weight: 700;

    text-decoration: none;
}

.contact-links a:hover {
    color: #1d754d;
    text-decoration: underline;
}


/* Desktop: align contact panel with the page heading */

@media (min-width: 1000px) {

    .service-heading {
        align-items: center;
        gap: 28px;
    }

    .service-title-block {
        flex: 1 1 auto;
    }
}


/* Smaller screens: contact card drops below heading */

@media (max-width: 999px) {

    .service-heading {
        align-items: stretch;
        flex-direction: column;
        gap: 14px;
    }

    .contact-card {
        flex: none;
        width: 100%;
    }
}


/* =========================================================
   PAGE SCROLL
   Override home.css fixed dashboard behavior on this page
   ========================================================= */

body {
    height: auto;
    min-height: 100vh;
    overflow-x: hidden;
    overflow-y: auto;
}
