/* =========================================================
   HIGEN HOME PAGE ONLY
   Shared header styles and brand variables live in header.css
========================================================= */

.page-section {
    padding: 100px 0;
}

.section-soft {
    background: var(--higen-bg);
}

.section-tag {
    margin-bottom: 10px;
    color: var(--higen-primary);
    font-size: 18px;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.section-head {
    max-width: 720px;
    margin-bottom: 48px;
}

.section-head h2,
.about-copy h2,
.contact-copy h2 {
    color: var(--higen-navy);
    font-size: clamp(32px, 4vw, 52px);
    line-height: 1.08;
    letter-spacing: -1.8px;
}

.section-head p {
    margin-top: 14px;
    color: var(--higen-muted);
    font-size: 16px;
}

/* =========================================================
   HERO
========================================================= */

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background:
        linear-gradient(90deg,
            rgba(9, 26, 51, 0.98) 0%,
            rgba(9, 26, 51, 0.90) 44%,
            rgba(9, 26, 51, 0.56) 100%),
        url("https://images.unsplash.com/photo-1503376780353-7e6692767b70?auto=format&fit=crop&w=2000&q=85") center / cover;
}

.hero::before {
    content: "";
    position: absolute;
    top: 13%;
    right: -120px;
    width: 520px;
    height: 520px;
    border-radius: 50%;
    background: rgba(255, 122, 0, 0.20);
    filter: blur(85px);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1180px;
    padding-top: 92px;
    color: var(--higen-white);
}

.hero h1 {
    margin-bottom: 24px;
    max-width: 820px;
    color: var(--higen-white);
    font-size: clamp(48px, 6.2vw, 78px);
    line-height: 1.02;
    letter-spacing: -3px;
}

.hero h1 span {
    color: var(--higen-primary);
}

.hero-h2 {
    font-size: 30px;

}

.hero>.hero-content>p {
    max-width: 640px;
    margin-bottom: 32px;
    color: #d7e0eb;
    font-size: 18px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 13px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 48px;
    padding: 13px 24px;
    border: 1px solid transparent;
    border-radius: 9px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 700;
    transition: 0.22s ease;
}

.btn-primary {
    color: var(--higen-white);
    background: var(--higen-primary);
    box-shadow: 0 10px 28px rgba(255, 122, 0, 0.22);
}

.btn-primary:hover,
.btn-primary:focus-visible {
    background: var(--higen-primary-dark);
    transform: translateY(-2px);
}

.btn-outline {
    color: var(--higen-white);
    border-color: rgba(255, 255, 255, 0.28);
    background: rgba(255, 255, 255, 0.05);
}

.btn-outline:hover,
.btn-outline:focus-visible {
    color: var(--higen-primary);
    border-color: var(--higen-primary);
}

.hero-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 42px;
    margin-top: 52px;
}

.hero-stat strong {
    display: block;
    color: var(--higen-white);
    font-size: 24px;
}

.hero-stat span {
    color: #b9c5d4;
    font-size: 12px;
}

/* =========================================================
   ABOUT
========================================================= */

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: start;
    gap: 60px;
}

.about-media {
    display: grid;
    gap: 18px;
    margin-top: 39px;
}

.about-media-image,
.about-video {
    display: block;
    width: 100%;
    height: 460px;
    border-radius: 24px;
    box-shadow: var(--higen-shadow);
}

.about-media-image {
    object-fit: cover;
}

.about-video {
    background: #081d3a;
    object-fit: contain;
}

.about-copy h2 {
    margin-bottom: 20px;
}

.about-copy p {
    margin-bottom: 17px;
    color: var(--higen-muted);
}

.about-copy p strong {
    color: var(--higen-navy);
}

.mission-list {
    padding-left: 0px;
}

.mission-list {
    display: grid;
    gap: 12px;
    margin-top: 25px;
    list-style: none;
}

.mission-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.check-list {
    padding-left: 90px;
}

.check-list {
    display: grid;
    gap: 12px;
    margin-top: 25px;
    list-style: none;
}

.check-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--higen-navy);
    font-weight: 600;
}

.check-list b {
    color: var(--higen-primary);
}

.company-name {
    color: #ff6a00;
}
/* =========================================================
   INSIGHT
========================================================= */

.insight-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.insight-card {
    overflow: hidden;
    border: 1px solid var(--higen-line);
    border-radius: 18px;
    background: var(--higen-white);
    transition: 0.25s ease;
}

.insight-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--higen-shadow);
}

.insight-img {
    width: 100%;
    height: 205px;
    object-fit: cover;
}

.insight-body {
    padding: 24px;
}

.insight-body small {
    color: var(--higen-primary);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.insight-body h3 {
    margin: 10px 0;
    color: var(--higen-navy);
    font-size: 20px;
    line-height: 1.3;
}

.insight-body p {
    color: var(--higen-muted);
    font-size: 14px;
}

/* =========================================================
   SERVICES
========================================================= */

.services-section {
    color: var(--higen-white);
    background: var(--higen-navy);
}

.section-head-light h2 {
    color: var(--higen-white);
}

.section-head-light p {
    color: #b8c4d2;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.service-card {
    position: relative;
    min-height: 250px;
    overflow: hidden;
    padding: 28px;
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: 18px;
    background: var(--higen-navy-2);
    transition: 0.25s ease;
}

.service-card::after {
    content: "";
    position: absolute;
    right: -35px;
    bottom: -35px;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: rgba(255, 122, 0, 0.12);
}

.service-card:hover {
    border-color: rgba(255, 122, 0, 0.58);
    transform: translateY(-5px);
}

.service-icon {
    margin-bottom: 23px;
    font-size: 34px;
}

.service-card h3 {
    margin-bottom: 10px;
    color: var(--higen-white);
    font-size: 19px;
}

.service-card p {
    color: #b8c4d2;
    font-size: 13px;
}

.service-link {
    display: inline-block;
    margin-top: 20px;
    color: var(--higen-primary);
    font-size: 12px;
    font-weight: 800;
}

/* =========================================================
   JOIN
========================================================= */

.join-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    padding: 64px;
    border-radius: 25px;
    color: var(--higen-white);
    background:
        linear-gradient(100deg, rgba(255, 122, 0, 0.97), rgba(255, 122, 0, 0.80)),
        url("https://images.unsplash.com/photo-1517048676732-d65bc937f952?auto=format&fit=crop&w=1600&q=80") center / cover;
    box-shadow: var(--higen-shadow);
}

.join-tag {
    color: var(--higen-navy);
}

.join-box h2 {
    font-size: clamp(34px, 4vw, 46px);
    line-height: 1.08;
    letter-spacing: -1.5px;
}

.join-box p {
    max-width: 620px;
    margin-top: 12px;
}

.join-btn {
    flex: 0 0 auto;
    color: var(--higen-white);
    background: var(--higen-navy);
}

.join-btn:hover,
.join-btn:focus-visible {
    background: #061225;
    transform: translateY(-2px);
}

/* =========================================================
   CONTACT
========================================================= */

.contact-grid {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    align-items: start;
    gap: 50px;
}

.contact-copy h2 {
    margin-bottom: 18px;
}

.contact-copy>p {
    max-width: 470px;
    margin-bottom: 32px;
    color: var(--higen-muted);
}

.contact-info {
    display: grid;
    gap: 22px;
}

.contact-item {
    display: flex;
    gap: 16px;
}

.contact-icon {
    flex: 0 0 46px;
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    color: var(--higen-primary);
    background: var(--higen-primary-soft);
    font-size: 20px;
}

.contact-item h4 {
    color: var(--higen-navy);
    font-size: 14px;
}

.contact-item p {
    color: var(--higen-muted);
    font-size: 14px;
}

.contact-form {
    padding: 30px;
    border: 1px solid var(--higen-line);
    border-radius: 20px;
    background: var(--higen-white);
    box-shadow: 0 15px 45px rgba(9, 26, 51, 0.07);
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.field {
    margin-bottom: 2px;
}

.field-full {
    grid-column: 1 / -1;
}

.field label {
    display: block;
    margin-bottom: 7px;
    color: var(--higen-navy);
    font-size: 12px;
    font-weight: 700;
}

.field input,
.field textarea,
.field select {
    width: 100%;
    padding: 13px 14px;
    border: 1px solid #d9e0e8;
    border-radius: 9px;
    outline: none;
    color: var(--higen-text);
    background: #fbfcfe;
}

.field input:focus,
.field textarea:focus,
.field select:focus {
    border-color: var(--higen-primary);
    box-shadow: 0 0 0 3px rgba(255, 122, 0, 0.11);
}

.field textarea {
    min-height: 125px;
    resize: vertical;
}

.contact-form>.btn {
    margin-top: 16px;
}

.form-alert {
    margin-bottom: 20px;
    padding: 13px 15px;
    border-radius: 10px;
    font-size: 13px;
}

.form-alert.success {
    color: #17653a;
    border: 1px solid #b7e2c7;
    background: #eefaf2;
}

.form-alert.error {
    color: #9a2c2c;
    border: 1px solid #efc0c0;
    background: #fff1f1;
}

.form-alert ul {
    margin: 7px 0 0 18px;
}

/* =========================================================
   LOGIN STRIP
========================================================= */

.login-strip {
    padding: 72px 0;
    color: var(--higen-white);
    background: var(--higen-navy-2);
}

.login-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.login-content h2 {
    font-size: 35px;
}

.login-content p {
    margin-top: 6px;
    color: #b8c4d2;
}

/* =========================================================
   FOOTER
========================================================= */

.site-footer {
    padding: 60px 0 25px;
    color: #aab5c3;
    background: #061225;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
}

.footer-logo {
    color: var(--higen-white);
    font-size: 28px;
    font-weight: 800;
    letter-spacing: -1.2px;
}

.footer-logo span {
    color: var(--higen-primary);
}

.footer-brand p {
    max-width: 320px;
    margin-top: 14px;
    color: #8796a9;
    font-size: 13px;
}

.site-footer h4 {
    margin-bottom: 15px;
    color: var(--higen-white);
    font-size: 13px;
}

.site-footer ul {
    display: grid;
    gap: 9px;
    list-style: none;
    font-size: 13px;
}

.site-footer li a:hover,
.site-footer li a:focus-visible {
    color: var(--higen-primary);
}

.copyright {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.11);
    font-size: 12px;
}

.copyright span {
    color: var(--higen-primary);
}

/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 940px) {

    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .about-media {
        margin-top: 0;
    }

    .service-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .insight-grid {
        grid-template-columns: 1fr;
    }

    .join-box {
        display: block;
        padding: 42px;
    }

    .join-btn {
        margin-top: 25px;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .login-content {
        display: block;
    }

    .login-content .btn {
        margin-top: 20px;
    }
}

@media (max-width: 620px) {
    .page-section {
        padding: 72px 0;
    }

    .hero-content {
        padding-top: 90px;
    }

    .hero h1 {
        letter-spacing: -2px;
    }

    .hero>.hero-content>p {
        font-size: 16px;
    }

    .hero-stats {
        gap: 22px;
    }

    .service-grid,
    .form-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .field-full {
        grid-column: auto;
    }

    .about-media-image,
    .about-video {
        height: 330px;
    }

    .join-box {
        padding: 34px 24px;
    }

    .contact-form {
        padding: 22px;
    }

    .copyright {
        display: block;
    }

    .copyright div+div {
        margin-top: 8px;
    }
}

/* =========================================================
   THEME-ONLY REFRESH
   No HTML/data/layout content changes.
   Adds the CODE-Bot family white + navy + saffron visual treatment.
========================================================= */

/* HERO: keep existing hero structure/content/image, only recolour it */
.hero {
    background:
        linear-gradient(90deg,
            rgba(255, 255, 255, 0.97) 0%,
            rgba(255, 255, 255, 0.94) 42%,
            rgba(255, 255, 255, 0.72) 66%,
            rgba(8, 29, 58, 0.28) 100%),
        url("https://images.unsplash.com/photo-1503376780353-7e6692767b70?auto=format&fit=crop&w=2000&q=85") center / cover;
}

.hero::before {
    right: -140px;
    background: rgba(255, 101, 0, 0.18);
}

.hero-content {
    padding-top: 118px;
    color: var(--higen-navy);
}

.eyebrow {
    color: var(--higen-navy);
    border-color: rgba(255, 101, 0, 0.34);
    background: rgba(255, 101, 0, 0.08);
}

.eyebrow-dot {
    background: var(--higen-primary);
}

.hero h1 {
    color: var(--higen-navy);
}

.hero h1 span {
    color: var(--higen-primary);
}

.hero>.hero-content>p {
    color: #51637b;
}

.btn-primary {
    background: var(--higen-primary);
    box-shadow: 0 10px 28px rgba(255, 101, 0, 0.22);
}

.btn-primary:hover,
.btn-primary:focus-visible {
    background: var(--higen-primary-dark);
}

.btn-outline {
    color: var(--higen-navy);
    border-color: rgba(8, 29, 58, 0.26);
    background: rgba(255, 255, 255, 0.72);
}

.btn-outline:hover,
.btn-outline:focus-visible {
    color: var(--higen-primary);
    border-color: var(--higen-primary);
    background: var(--higen-white);
}

.hero-stat strong {
    color: var(--higen-navy);
}

.hero-stat span {
    color: #66758a;
}

/* Keep rest of existing sections, only align surface colours */
.section-soft {
    background: #f7f9fc;
}

.services-section {
    background: var(--higen-navy);
}

.service-card {
    background: var(--higen-navy-2);
}

.login-strip {
    background: var(--higen-navy);
}

.contact-form,
.insight-card {
    border-color: #e4e9f0;
}

@media (max-width: 620px) {
    .hero-content {
        padding-top: 98px;
    }

    .hero {
        background:
            linear-gradient(90deg,
                rgba(255, 255, 255, 0.97),
                rgba(255, 255, 255, 0.90)),
            url("https://images.unsplash.com/photo-1503376780353-7e6692767b70?auto=format&fit=crop&w=1200&q=80") center / cover;
    }
}
