﻿/* =========================================================
   GEDIAN SPORTS - PUBLIC CONTACT PAGE
   Matches the public About page visual language
   ========================================================= */

.gedian-contact-page {
    --contact-green: #5B8C3B;
    --contact-green-dark: #416d29;
    --contact-green-soft: #eff6eb;
    --contact-navy: #071a33;
    --contact-text: #24323f;
    --contact-muted: #75828d;
    --contact-border: #e1e8df;
    --contact-bg: #f7f9f7;
    min-height: 100vh;
    padding: 8px 0 40px;
    background: var(--contact-bg);
    color: var(--contact-text);
    font-family: "Tajawal", sans-serif;
}

.contact-shell {
    width: min(1180px, calc(100% - 14px));
    margin: 0 auto;
}

.gedian-contact-page a {
    text-decoration: none;
}


/* =========================================================
   HERO
   ========================================================= */

.contact-hero {
    display: grid;
    gap: 18px;
    overflow: hidden;
    padding: 24px 18px;
    border: 1px solid #dce5d9;
    border-radius: 18px;
    background: radial-gradient( circle at 12% 22%, rgba(91,140,59,.16), transparent 18rem), linear-gradient( 135deg, #fff, #f4f8f2);
    box-shadow: 0 8px 26px rgba(7,26,51,.045);
}

.contact-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--contact-green-dark);
    font-size: .68rem;
    font-weight: 950;
}

    .contact-eyebrow::before {
        content: "";
        width: 18px;
        height: 3px;
        border-radius: 999px;
        background: var(--contact-green);
    }

.contact-hero h1 {
    max-width: 720px;
    margin: 8px 0 0;
    color: var(--contact-navy);
    font-size: clamp(1.8rem, 7vw, 3.2rem);
    font-weight: 950;
    line-height: 1.18;
}

.contact-hero-lead {
    max-width: 760px;
    margin: 13px 0 0;
    color: #344652;
    font-size: .95rem;
    font-weight: 800;
    line-height: 1.85;
}

.contact-hero-sub {
    max-width: 780px;
    margin: 10px 0 0;
    color: var(--contact-muted);
    font-size: .75rem;
    line-height: 1.85;
}

.contact-hero-actions,
.contact-final-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 17px;
}

.contact-primary-action,
.contact-secondary-action,
.contact-light-action {
    display: inline-flex;
    min-height: 43px;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 9px 15px;
    border-radius: 10px;
    font-size: .7rem;
    font-weight: 950;
    transition: transform .15s ease, background .15s ease, box-shadow .15s ease;
}

.contact-primary-action {
    background: var(--contact-green);
    color: #fff;
    box-shadow: 0 6px 15px rgba(91,140,59,.17);
}

    .contact-primary-action:hover {
        transform: translateY(-1px);
        background: var(--contact-green-dark);
        color: #fff;
    }

.contact-secondary-action {
    border: 1px solid #ccd9c6;
    background: #fff;
    color: var(--contact-green-dark);
}

    .contact-secondary-action:hover {
        transform: translateY(-1px);
        background: var(--contact-green-soft);
        color: var(--contact-green-dark);
    }

.contact-hero-side {
    display: grid;
    gap: 9px;
}

.contact-availability-card {
    display: grid;
    grid-template-columns: 18px minmax(0,1fr);
    gap: 8px;
    align-items: start;
    padding: 14px;
    border: 1px solid #dce8d7;
    border-radius: 13px;
    background: #fff;
}

.availability-live-dot {
    display: block;
    width: 10px;
    height: 10px;
    margin-top: 5px;
    border-radius: 50%;
    background: #54a534;
    box-shadow: 0 0 0 5px rgba(84,165,52,.12);
}

.contact-availability-card small,
.contact-availability-card strong {
    display: block;
}

.contact-availability-card small {
    color: #7f8b93;
    font-size: .53rem;
    font-weight: 850;
}

.contact-availability-card strong {
    margin-top: 2px;
    color: var(--contact-green-dark);
    font-size: 1.4rem;
    font-weight: 950;
    direction: ltr;
    text-align: right;
}

.contact-availability-card p {
    margin: 5px 0 0;
    color: #75828b;
    font-size: .56rem;
    line-height: 1.7;
}

.contact-logo-card {
    display: grid;
    min-height: 185px;
    place-items: center;
    border: 1px solid #e0e7de;
    border-radius: 13px;
    background: rgba(255,255,255,.76);
}

    .contact-logo-card img {
        width: min(205px, 72%);
        height: auto;
        object-fit: contain;
        filter: drop-shadow(0 10px 18px rgba(7,26,51,.11));
    }


/* =========================================================
   SHARED SECTION
   ========================================================= */

.contact-section {
    margin-top: 12px;
    padding: 23px 14px;
    border: 1px solid var(--contact-border);
    border-radius: 16px;
    background: #fff;
}

.contact-section-heading {
    max-width: 810px;
    margin-bottom: 17px;
}

    .contact-section-heading > span {
        color: var(--contact-green);
        font-size: .62rem;
        font-weight: 950;
    }

    .contact-section-heading h2 {
        margin: 4px 0 0;
        color: var(--contact-navy);
        font-size: clamp(1.2rem, 5vw, 1.75rem);
        font-weight: 950;
        line-height: 1.35;
    }

    .contact-section-heading p {
        margin: 7px 0 0;
        color: var(--contact-muted);
        font-size: .7rem;
        line-height: 1.85;
    }


/* =========================================================
   CONTACT CHANNELS
   ========================================================= */

.contact-channel-grid {
    display: grid;
    gap: 8px;
}

.contact-channel-card {
    display: grid;
    grid-template-columns: 44px minmax(0,1fr);
    gap: 10px;
    min-height: 170px;
    padding: 14px;
    border: 1px solid #e2e8df;
    border-radius: 12px;
    background: #fbfcfa;
}

    .contact-channel-card.featured {
        border-color: #cfe0c5;
        background: linear-gradient( 145deg, #f4f9f1, #fff);
    }

    .contact-channel-card.whatsapp {
        border-color: #d4ead3;
    }

.contact-channel-icon {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border-radius: 11px;
    background: var(--contact-green-soft);
    color: var(--contact-green-dark);
    font-family: Arial, sans-serif;
    font-size: 1rem;
    font-weight: 900;
}

.contact-channel-card small,
.contact-channel-card h3,
.contact-channel-card p {
    display: block;
}

.contact-channel-card small {
    color: #8b959c;
    font-size: .5rem;
    font-weight: 850;
}

.contact-channel-card h3 {
    overflow-wrap: anywhere;
    margin: 3px 0 0;
    color: var(--contact-navy);
    font-size: .69rem;
    font-weight: 950;
}

.contact-channel-card p {
    margin: 7px 0 0;
    color: #77838c;
    font-size: .56rem;
    line-height: 1.7;
}

.contact-channel-card a {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-top: 10px;
    color: var(--contact-green-dark);
    font-size: .55rem;
    font-weight: 950;
}


/* =========================================================
   SOCIAL
   ========================================================= */

.contact-social-section {
    background: linear-gradient( 145deg, #fafcf9, #fff);
}

.contact-social-grid {
    display: grid;
    gap: 7px;
}

.social-platform {
    display: grid;
    grid-template-columns: 42px minmax(0,1fr) 20px;
    gap: 9px;
    min-height: 64px;
    align-items: center;
    padding: 9px 10px;
    border: 1px solid #e1e7df;
    border-radius: 10px;
    background: #fff;
    color: inherit;
    transition: transform .15s ease, border-color .15s ease, box-shadow .15s ease;
}

a.social-platform:hover {
    transform: translateY(-1px);
    border-color: #c9d8c1;
    box-shadow: 0 6px 16px rgba(7,26,51,.055);
}

.social-platform.is-disabled {
    opacity: .58;
}

.social-icon {
    display: grid;
    width: 40px;
    height: 40px;
    place-items: center;
    border-radius: 10px;
    font-family: Arial, sans-serif;
    font-size: 1rem;
    font-weight: 900;
}

.social-platform.facebook .social-icon {
    background: #edf3ff;
    color: #2757a5;
}

.social-platform.x .social-icon {
    background: #eef0f2;
    color: #1d242b;
}

.social-platform.instagram .social-icon {
    background: #fff0f7;
    color: #a63c79;
}

.social-platform.youtube .social-icon {
    background: #fff0f0;
    color: #d63333;
}

.social-platform.tiktok .social-icon {
    background: #eef3f3;
    color: #263437;
}

.social-platform.linkedin .social-icon {
    background: #eef5fb;
    color: #2b6695;
}

.social-platform.telegram .social-icon {
    background: #edf8ff;
    color: #2c8abf;
}

.social-platform.whatsapp .social-icon {
    background: #edf9ed;
    color: #348c37;
}

.social-platform strong,
.social-platform small {
    display: block;
}

.social-platform strong {
    color: #354550;
    font-size: .62rem;
    font-weight: 950;
}

.social-platform small {
    margin-top: 2px;
    color: #89939a;
    font-size: .48rem;
}

.social-platform > b {
    color: #9ca5aa;
    font-size: .73rem;
}


/* =========================================================
   ADDRESS
   ========================================================= */

.contact-address-section {
    display: grid;
    gap: 12px;
    background: radial-gradient( circle at 90% 10%, rgba(91,140,59,.07), transparent 16rem), #fff;
}

.contact-address-card {
    display: grid;
    grid-template-columns: 48px minmax(0,1fr);
    gap: 11px;
    align-items: start;
}

.contact-address-icon {
    display: grid;
    width: 46px;
    height: 46px;
    place-items: center;
    border-radius: 12px;
    background: var(--contact-green-soft);
    font-size: 1.1rem;
}

.contact-address-copy > span {
    color: var(--contact-green);
    font-size: .53rem;
    font-weight: 950;
}

.contact-address-copy h2 {
    margin: 4px 0 0;
    color: var(--contact-navy);
    font-size: 1rem;
    font-weight: 950;
    line-height: 1.45;
}

.contact-address-copy p {
    margin: 5px 0 0;
    color: #6f7c86;
    font-size: .62rem;
}

.contact-address-copy small {
    display: block;
    margin-top: 3px;
    color: #9aa2a8;
    font-size: .5rem;
}

.contact-address-side {
    padding: 14px;
    border-radius: 11px;
    background: #f8faf7;
}

    .contact-address-side > span,
    .contact-address-side strong {
        display: block;
    }

    .contact-address-side > span {
        color: var(--contact-green);
        font-size: .5rem;
        font-weight: 950;
    }

    .contact-address-side strong {
        margin-top: 3px;
        color: #40505b;
        font-size: .66rem;
        font-weight: 950;
    }

    .contact-address-side p {
        margin: 5px 0 0;
        color: #7f8a91;
        font-size: .53rem;
        line-height: 1.7;
    }


/* =========================================================
   PURPOSES
   ========================================================= */

.contact-purpose-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0,1fr));
    gap: 7px;
}

    .contact-purpose-grid article {
        min-height: 125px;
        padding: 11px;
        border: 1px solid #e2e8df;
        border-radius: 10px;
        background: #fbfcfb;
    }

        .contact-purpose-grid article > span {
            font-size: 1rem;
        }

    .contact-purpose-grid strong,
    .contact-purpose-grid small {
        display: block;
    }

    .contact-purpose-grid strong {
        margin-top: 7px;
        color: #354550;
        font-size: .61rem;
        font-weight: 950;
    }

    .contact-purpose-grid small {
        margin-top: 4px;
        color: #808b92;
        font-size: .5rem;
        line-height: 1.65;
    }


/* =========================================================
   24/7 COMMUNITY
   ========================================================= */

.contact-community-card {
    display: grid;
    gap: 12px;
    margin-top: 12px;
    padding: 20px 15px;
    border: 1px solid #dbe7d6;
    border-radius: 15px;
    background: linear-gradient( 135deg, #f5faf2, #fff);
}

.community-status {
    display: flex;
    align-items: center;
    gap: 9px;
}

    .community-status > span {
        width: 11px;
        height: 11px;
        border-radius: 50%;
        background: #54a534;
        box-shadow: 0 0 0 5px rgba(84,165,52,.12);
    }

    .community-status small,
    .community-status strong {
        display: block;
    }

    .community-status small {
        color: #87928a;
        font-size: .5rem;
    }

    .community-status strong {
        color: var(--contact-green-dark);
        font-size: .77rem;
        font-weight: 950;
    }

.contact-community-card > p {
    margin: 0;
    color: #71808a;
    font-size: .61rem;
    line-height: 1.85;
}

.community-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

    .community-actions a {
        padding: 5px 8px;
        border: 1px solid #d8e3d3;
        border-radius: 999px;
        background: #fff;
        color: var(--contact-green-dark);
        font-size: .5rem;
        font-weight: 900;
    }


/* =========================================================
   FINAL CTA
   ========================================================= */

.contact-final-cta {
    display: grid;
    gap: 16px;
    align-items: center;
    margin-top: 12px;
    padding: 22px 16px;
    border-radius: 16px;
    background: radial-gradient( circle at 90% 10%, rgba(255,255,255,.08), transparent 16rem), linear-gradient( 135deg, var(--contact-green-dark), #183923);
    color: #fff;
}

    .contact-final-cta > div:first-child > span {
        color: #dcebd4;
        font-size: .57rem;
        font-weight: 950;
    }

    .contact-final-cta h2 {
        max-width: 750px;
        margin: 5px 0 0;
        font-size: clamp(1.15rem, 5vw, 1.7rem);
        font-weight: 950;
        line-height: 1.4;
    }

    .contact-final-cta p {
        max-width: 720px;
        margin: 8px 0 0;
        color: rgba(255,255,255,.7);
        font-size: .63rem;
        line-height: 1.8;
    }

.contact-light-action {
    border: 1px solid rgba(255,255,255,.22);
    background: rgba(255,255,255,.07);
    color: #fff;
}

    .contact-light-action:hover {
        background: rgba(255,255,255,.14);
        color: #fff;
    }


/* =========================================================
   TABLET
   ========================================================= */

@media (min-width: 640px) {

    .contact-shell {
        width: min(1180px, calc(100% - 24px));
    }

    .contact-hero {
        padding: 30px 24px;
    }

    .contact-channel-grid {
        grid-template-columns: repeat(2, minmax(0,1fr));
    }

    .contact-social-grid {
        grid-template-columns: repeat(2, minmax(0,1fr));
    }

    .contact-purpose-grid {
        grid-template-columns: repeat(3, minmax(0,1fr));
    }

    .contact-community-card {
        padding: 24px 20px;
    }

    .contact-final-cta {
        padding: 28px 24px;
    }
}


/* =========================================================
   DESKTOP
   ========================================================= */

@media (min-width: 900px) {

    .gedian-contact-page {
        padding-top: 14px;
    }

    .contact-hero {
        grid-template-columns: minmax(0,1.4fr) minmax(280px,.6fr);
        min-height: 390px;
        align-items: center;
        padding: 38px 36px;
    }

    .contact-logo-card {
        min-height: 220px;
    }

        .contact-logo-card img {
            width: min(245px, 78%);
        }

    .contact-section {
        padding: 30px 28px;
    }

    .contact-channel-grid {
        grid-template-columns: repeat(4, minmax(0,1fr));
    }

    .contact-social-grid {
        grid-template-columns: repeat(4, minmax(0,1fr));
    }

    .contact-address-section {
        grid-template-columns: minmax(0,1.3fr) minmax(280px,.7fr);
        align-items: center;
    }

    .contact-purpose-grid {
        grid-template-columns: repeat(6, minmax(0,1fr));
    }

    .contact-community-card {
        grid-template-columns: auto minmax(0,1fr) auto;
        align-items: center;
        padding: 24px;
    }

    .contact-final-cta {
        grid-template-columns: minmax(0,1fr) auto;
        padding: 34px 30px;
    }

    .contact-final-actions {
        justify-content: flex-end;
        margin-top: 0;
    }
}


/* =========================================================
   VERY SMALL PHONE
   ========================================================= */

@media (max-width: 380px) {

    .contact-shell {
        width: min(1180px, calc(100% - 8px));
    }

    .contact-hero {
        padding: 20px 13px;
    }

    .contact-section {
        padding: 20px 11px;
    }

    .contact-purpose-grid {
        grid-template-columns: 1fr 1fr;
        gap: 5px;
    }
}
