:root {
    --main: #383890;
    --sky: #78B0E0;
    --sky-bright: #90D0F8;
    --accent: #E00028;
    --light: #EDF4FF;
    --white: #ffffff;
    --black: #000000;
    --text: #383890;
    --muted: #5a5f8a;
    --radius: 12px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
    border-radius: 0 !important;
}

html,
body {
    font-family: "Kanit", sans-serif;
    font-size: 18px;
    line-height: 1.55;
    color: var(--main);
    background: var(--white);
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

h1, h2, h3, h4, p, li {
    overflow-wrap: break-word;
}

img {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius) !important;
}

.navbar-brand img,
.hex-icon,
.btn-main img,
.btn-solid img,
.btn-icon,
.pillar-card img,
.fullbleed > img {
    border-radius: 0 !important;
}

a {
    text-decoration: none;
    color: var(--black);
    transition: 0.35s ease;
}

a:hover {
    color: var(--main);
}

h1, h2, h3, h4 {
    color: var(--main);
    margin: 0 0 15px;
    font-weight: 400;
}

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    background: linear-gradient(180deg, rgba(8, 8, 32, 0.65) 0%, rgba(8, 8, 32, 0.2) 55%, transparent 100%);
    transition: 0.35s ease;
}

.site-header.is-scrolled {
    padding: 10px 0;
    background: rgba(24, 24, 72, 0.42);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow: none;
}

.header-inner {
    max-width: 1320px;
    padding: 0 24px;
}

.navbar-brand {
    padding: 0;
}

.navbar-brand img {
    height: 52px;
    width: auto;
    display: block;
}

.site-header.is-scrolled .navbar-brand img {
    height: 46px;
}

.navbar-nav .nav-link {
    color: #fff !important;
    font-size: 15px;
    font-weight: 400;
    padding: 0.4rem 0.7rem !important;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--sky-bright) !important;
}

.navbar-toggler {
    border: 0;
    padding: 8px;
    min-width: 44px;
    min-height: 44px;
}

.navbar-toggler:focus {
    box-shadow: none;
}

@media (max-width: 1199.98px) {
    .navbar-collapse {
        background: var(--main);
        margin-top: 10px;
        padding: 12px 16px;
        border-radius: 0;
    }

    .navbar-nav .nav-link {
        padding: 0.75rem 0.35rem !important;
        font-size: 16px;
        line-height: 1.35;
    }
}

.hero-home {
    min-height: 100vh;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    color: #fff;
}

.hero-home::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(24, 24, 72, 0.88) 0%, rgba(56, 56, 144, 0.45) 55%, rgba(56, 56, 144, 0.15) 100%);
}

.hero-content {
    position: relative;
    z-index: 1;
    padding: 9rem 0 5rem;
    max-width: 820px;
}

.hero-home h1 {
    font-size: clamp(2.2rem, 3.8vw, 3.15rem);
    font-weight: 400;
    line-height: 1.05;
    color: #fff;
    margin-bottom: 1.4rem;
    text-transform: uppercase;
}

.hero-home p {
    font-size: 1.15rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.92);
    max-width: 680px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin-top: 2rem;
}

.btn-main,
.btn-solid {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 48px;
    padding: 0 22px;
    border: 1px solid #fff;
    background: transparent;
    color: #fff !important;
    font-family: inherit;
    font-size: 16px;
    font-weight: 700;
    line-height: 1;
    white-space: nowrap;
    text-decoration: none;
    border-radius: 8px !important;
}

.btn-main:hover {
    background: #fff;
    border-color: #fff;
    color: var(--main) !important;
}

.btn-solid {
    background: var(--main);
    border-color: var(--main);
}

.btn-solid:hover {
    background: var(--sky);
    border-color: var(--sky);
    color: #fff !important;
}

.btn-main img,
.btn-solid img,
.btn-main .hex-icon,
.btn-solid .hex-icon,
.btn-icon {
    width: 22px !important;
    height: 22px !important;
    margin: 0 !important;
    padding: 0;
    display: block !important;
    object-fit: contain;
    flex-shrink: 0;
    filter: brightness(0) invert(1);
}

.btn-main:hover img,
.btn-main:hover .hex-icon,
.btn-main:hover .btn-icon {
    filter: none;
}

.btn-fill {
    background: var(--accent);
    border-color: var(--accent);
}

.btn-fill:hover {
    background: #c40022;
    border-color: #c40022;
    color: #fff !important;
}

.page-banner {
    min-height: 42vh;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: flex-end;
    color: #fff;
    padding: 9rem 0 3.5rem;
}

.page-banner-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(56, 56, 144, 0.92) 0%, rgba(56, 56, 144, 0.35) 100%);
}

.page-banner h1 {
    font-size: clamp(2.4rem, 5vw, 3.75rem);
    font-weight: 400;
    text-transform: uppercase;
    color: #fff;
    margin: 0;
}

.page-lead {
    max-width: 640px;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 300;
    margin: 12px 0 0;
    font-size: 1.1rem;
}

.section {
    padding: 70px 0;
}

.section-sky {
    background: var(--sky);
    color: #fff;
}

.section-sky h2,
.section-sky h3,
.section-sky p,
.section-sky li {
    color: #fff;
}

.section-light {
    background: var(--light);
}

.section-title {
    font-size: clamp(2rem, 3.4vw, 3rem);
    font-weight: 400;
    margin-bottom: 16px;
}

.lead-copy {
    font-size: 1.05rem;
    color: var(--muted);
    margin-bottom: 14px;
}

.why-list {
    list-style: none;
    padding: 0;
    margin: 0 0 20px;
}

.why-list li {
    position: relative;
    padding: 8px 0 8px 28px;
    color: var(--main);
    font-weight: 600;
}

.why-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 16px;
    width: 10px;
    height: 10px;
    background: var(--accent);
}

.hex-icon {
    width: 72px;
    height: 72px;
    object-fit: contain;
    display: block;
    margin: 0 auto 18px;
}

.hex-icon-left {
    width: 72px;
    height: 72px;
    object-fit: contain;
    display: block;
    margin: 0 0 18px;
}

.icon-card {
    text-align: center;
    height: 100%;
    padding: 10px 8px;
}

.icon-card h3 {
    font-size: 1.35rem;
    font-weight: 400;
    margin-bottom: 10px;
}

.icon-card p,
.icon-card li {
    color: var(--muted);
    font-size: 1rem;
}

.info-card {
    background: var(--white);
    height: 100%;
    overflow: hidden;
}

.info-card img.cover {
    width: 100%;
    height: 210px;
    object-fit: cover;
    display: block;
}

.info-card h3 {
    font-size: 1.4rem;
    font-weight: 400;
    margin: 16px 0 8px;
}

.info-card p {
    color: var(--muted);
}

.product-tile {
    position: relative;
    display: block;
    height: 100%;
    overflow: hidden;
    background: transparent;
    border-radius: var(--radius) !important;
}

.product-tile img.cover {
    width: 100%;
    height: 360px;
    object-fit: cover;
    display: block;
    transition: transform 0.45s ease;
}

.product-tile-copy {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 48px 22px 22px;
    background: linear-gradient(180deg, rgba(24, 24, 72, 0) 0%, rgba(56, 56, 144, 0.82) 100%);
}

.product-tile h3 {
    color: #fff;
    font-size: 1.25rem;
    font-weight: 400;
    margin: 0 0 6px;
}

.product-tile p {
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
    font-size: 0.98rem;
}

.product-tile:hover img.cover {
    transform: scale(1.05);
}

.list-clean {
    padding-left: 1.1rem;
    margin: 0;
    display: inline-block;
    text-align: left;
}

.list-clean li {
    margin-bottom: 8px;
}

.cta-band {
    background: linear-gradient(94deg, #383890 0%, #78B0E0 100%);
    color: #fff;
    padding: 70px 0;
    text-align: center;
}

.cta-band h2 {
    color: #fff;
    font-size: clamp(1.9rem, 3vw, 2.6rem);
    font-weight: 400;
}

.cta-band p {
    color: rgba(255, 255, 255, 0.9);
    max-width: 640px;
    margin: 0 auto 22px;
}

.cta-band .btn-main {
    margin: 6px;
}

.contact-panel {
    background: var(--light);
    padding: 48px 40px;
}

.contact-panel h2 {
    font-size: 2.2rem;
    font-weight: 400;
}

.contact-panel p {
    font-size: 1.1rem;
    color: var(--main);
}

.map-panel {
    min-height: 420px;
    height: 420px;
    background-size: cover;
    background-position: center;
}

.site-footer {
    background: linear-gradient(94deg, #383890 38%, #78B0E0 99%);
    color: #fff;
    padding: 42px 0 28px;
    border-radius: 0;
    margin: 0;
    text-align: center;
}

.site-footer .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.footer-nav {
    list-style: none;
    padding: 0;
    margin: 0 0 22px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 10px 28px;
}

.footer-nav a {
    color: #fff;
    font-size: 1rem;
}

.footer-nav a:hover {
    color: var(--sky-bright);
}

.footer-contact {
    text-align: center;
}

.footer-contact h3 {
    color: #fff;
    font-size: 20px;
    font-weight: 400;
    margin-bottom: 8px;
}

.footer-contact p {
    color: #fff;
    margin: 0;
}

.footer-bottom {
    margin-top: 22px;
    text-align: center;
}

.footer-bottom p {
    margin: 0;
    color: #fff;
    font-size: 16px;
}

.word-xl {
    font-size: 40px;
    font-weight: 400;
    line-height: 1.15;
    text-transform: uppercase;
}

.lead-strong {
    font-size: 1.5rem;
    font-weight: 400;
    line-height: 1.35;
    color: var(--main);
    margin-top: 12px;
}

.copy-block p {
    margin: 0 0 12px;
    color: var(--muted);
}

.h-block {
    font-size: 1.7rem;
    font-weight: 400;
    line-height: 1.3;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.h-section {
    font-size: 2.2rem;
    font-weight: 400;
    text-transform: uppercase;
    text-align: center;
    margin-bottom: 12px;
}

.section-lead {
    max-width: 820px;
    margin: 0 auto 36px;
    text-align: center;
    color: var(--muted);
}

.section-tight {
    padding: 48px 0;
}

.fullbleed {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.fullbleed > img {
    width: 100%;
    height: 560px;
    object-fit: cover;
    display: block;
    border-radius: 0 !important;
}

.fullbleed-tall .overlay-copy {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    background: linear-gradient(90deg, rgba(24, 24, 72, 0.15) 0%, rgba(24, 24, 72, 0.72) 55%);
}

.fullbleed-tall .overlay-copy .copy-block {
    color: #fff;
    max-width: 570px;
    margin-left: auto;
}

.fullbleed-tall .overlay-split {
    background: rgba(24, 24, 72, 0.18);
}

.fullbleed-tall .overlay-copy h2,
.fullbleed-tall .overlay-copy p,
.fullbleed-tall .overlay-copy .copy-block p {
    color: #fff;
}

.mv-box {
    background: rgba(56, 56, 144, 0.38);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(144, 208, 248, 0.28);
    padding: 36px 32px 32px;
    height: 100%;
    box-shadow: none;
}

.mv-box .hex-icon {
    margin: 0 0 16px;
    filter: brightness(0) invert(1);
}

.fullbleed-tall .mv-box h2,
.fullbleed-tall .mv-box h2.h-block,
.fullbleed-tall .mv-box p {
    color: #fff;
}

.pillar-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 0;
    min-height: 220px;
    padding: 24px 16px 20px;
    text-align: center;
    height: 100%;
    box-shadow: 0 0 8px rgba(56, 56, 144, 0.12);
}

.pillar-card img {
    width: 72px;
    height: 72px;
    object-fit: contain;
    margin: 0 auto 16px;
}

.pillar-card h3 {
    font-size: 1.25rem;
    font-weight: 400;
    line-height: 1.25;
    margin: 0;
}

.service-row {
    padding: 48px 0;
}

.service-row h2 {
    font-size: 1.7rem;
    font-weight: 400;
    line-height: 1.3;
    margin-bottom: 12px;
}

.service-row .sub {
    font-size: 1.05rem;
    line-height: 1.55;
    color: var(--muted);
    margin-bottom: 16px;
}

.service-row img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    display: block;
}

.split-media {
    width: 100%;
    height: 420px;
    object-fit: cover;
    display: block;
}

.service-item h3 {
    font-size: 1.15rem;
    font-weight: 400;
    line-height: 1.3;
    margin: 14px 0 4px;
}

.service-item p {
    margin: 0;
    color: var(--muted);
}

@media (max-width: 991.98px) {
    html,
    body {
        font-size: 16px;
    }

    .header-inner {
        padding: 0 16px;
    }

    .navbar-brand img {
        height: 44px;
    }

    .site-header.is-scrolled .navbar-brand img {
        height: 40px;
    }

    .navbar-collapse {
        max-height: calc(100svh - 72px);
        overflow-y: auto;
        margin-top: 8px;
        padding: 8px 16px 16px;
    }

    .hero-home {
        min-height: 100svh;
        align-items: flex-end;
    }

    .hero-home::before {
        background: linear-gradient(180deg, rgba(24, 24, 72, 0.5) 0%, rgba(24, 24, 72, 0.88) 100%);
    }

    .hero-content {
        padding: 7.5rem 0 2.75rem;
        max-width: 100%;
    }

    .hero-home h1 {
        font-size: clamp(1.7rem, 8vw, 2.35rem);
        line-height: 1.18;
        margin-bottom: 1rem;
    }

    .hero-home p {
        font-size: 1rem;
        max-width: 100%;
    }

    .page-banner {
        min-height: 0;
        padding: 7.25rem 0 2.25rem;
    }

    .page-banner-overlay {
        background: linear-gradient(180deg, rgba(56, 56, 144, 0.72) 0%, rgba(24, 24, 72, 0.92) 100%);
    }

    .page-banner h1 {
        font-size: clamp(1.65rem, 7.2vw, 2.35rem);
        line-height: 1.18;
    }

    .page-lead {
        font-size: 1rem;
        max-width: 100%;
        margin-top: 10px;
    }

    .word-xl {
        font-size: 1.7rem;
    }

    .h-section {
        font-size: 1.65rem;
        margin-bottom: 10px;
    }

    .h-block {
        font-size: 1.3rem;
    }

    .lead-strong {
        font-size: 1.15rem;
    }

    .section-title {
        font-size: clamp(1.55rem, 6vw, 2.1rem);
    }

    .section-lead {
        margin-bottom: 24px;
        padding: 0 4px;
    }

    .section {
        padding: 44px 0;
    }

    .section-tight,
    .service-row {
        padding: 32px 0;
    }

    .cta-band {
        padding: 44px 0;
    }

    .cta-band h2 {
        font-size: 1.55rem;
        padding: 0 8px;
    }

    .cta-band p {
        padding: 0 8px;
        font-size: 1rem;
    }

    .btn-main,
    .btn-solid {
        white-space: normal;
        max-width: 100%;
        height: auto;
        min-height: 48px;
        padding: 12px 18px;
        line-height: 1.3;
        text-align: center;
    }

    .hero-actions {
        margin-top: 1.35rem;
        gap: 10px;
    }

    .hero-actions .btn-main,
    .hero-actions .btn-solid,
    .cta-band .btn-main {
        width: 100%;
        margin: 0;
    }

    .fullbleed > img {
        height: 240px;
    }

    .fullbleed-tall .overlay-copy {
        position: static;
        display: block;
        background: var(--main);
        padding: 24px 0;
    }

    .fullbleed-tall .overlay-split {
        background: var(--main);
    }

    .fullbleed-tall .overlay-copy .copy-block {
        max-width: none;
        margin-left: 0;
        padding: 0;
    }

    .mv-box {
        padding: 22px 18px;
    }

    .product-tile img.cover {
        height: 280px;
    }

    .product-tile-copy {
        padding: 40px 16px 16px;
    }

    .product-tile h3 {
        font-size: 1.12rem;
    }

    .product-tile p {
        font-size: 0.92rem;
        line-height: 1.4;
    }

    .pillar-card {
        min-height: 0;
        padding: 20px 14px 16px;
    }

    .pillar-card h3 {
        font-size: 1.08rem;
    }

    .icon-card {
        padding: 4px 0 12px;
    }

    .icon-card h3 {
        font-size: 1.15rem;
    }

    .service-row h2 {
        font-size: 1.4rem;
    }

    .contact-panel {
        padding: 28px 18px;
    }

    .contact-panel h2 {
        font-size: 1.55rem;
    }

    .map-panel {
        min-height: 220px;
        height: 220px;
    }

    .footer-nav {
        gap: 8px 14px;
        margin-bottom: 18px;
    }

    .footer-nav a {
        font-size: 0.95rem;
    }

    .site-footer {
        padding: 32px 0 22px;
    }
}

@media (max-width: 767.98px) {
    .header-inner {
        padding: 0 12px;
    }

    .hero-content {
        padding-top: 7.25rem;
        padding-bottom: 2.4rem;
    }

    .split-media,
    .service-row img,
    .map-panel {
        min-height: 220px;
        height: 220px;
        margin-bottom: 20px;
    }

    .section {
        padding: 36px 0;
    }

    .text-center.mb-5 {
        margin-bottom: 1.75rem !important;
    }

    .list-clean {
        display: block;
        padding-left: 1.15rem;
        text-align: left;
    }

    .hex-icon-left {
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 575.98px) {
    .hero-home h1,
    .page-banner h1 {
        font-size: 1.65rem;
    }

    .word-xl {
        font-size: 1.5rem;
    }

    .product-tile img.cover {
        height: 250px;
    }

    .cta-band {
        padding: 36px 0;
    }
}
