/* =====================================================
   WAKi - Custom styles (separate from Bootstrap)
   ===================================================== */

:root {
    --waki-dark: #0b1f33;
    --waki-dark-2: #0e2a44;
    --waki-text: #16202c;
    --waki-muted: #6b7785;
    --waki-bg: #f6f8fb;
    --waki-border: #e7ecf2;
    --waki-teal: #18c2b0;
    --waki-teal-dark: #11a394;
    --waki-green: #00833E;
    --waki-gold: #FDB913;
    --waki-purple: #6f5bf6;
    --waki-blue: #4d83ff;
    --waki-blue-accessible: #1565c0;
    --waki-eyebrow: #0e4a7a;
    --waki-grad: linear-gradient(135deg, #6f5bf6 0%, #4d83ff 100%);
    --waki-radius: 16px;
    --waki-shadow: 0 18px 50px -20px rgba(16, 39, 64, .25);
    --waki-shadow-sm: 0 8px 24px -12px rgba(16, 39, 64, .22);
    --waki-navbar-offset: 100px;
}

html {
    scroll-padding-top: var(--waki-navbar-offset);
    overflow-x: hidden;
    max-width: 100%;
}

* {
    scroll-behavior: smooth;
}

body {
    font-family: 'Plus Jakarta Sans', system-ui, -apple-system, "Segoe UI", sans-serif;
    color: var(--waki-text);
    background: #fff;
    overflow-x: hidden;
    max-width: 100%;
}

/* Keep Bootstrap columns from expanding past the viewport on mobile */
.row > [class*="col"] {
    min-width: 0;
}

/* Offset section anchors so fixed navbar does not cover titles */
section[id] {
    scroll-margin-top: var(--waki-navbar-offset);
}

.section {
    padding: 84px 0;
}

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

.eyebrow {
    text-transform: uppercase;
    letter-spacing: .14em;
    font-size: .74rem;
    font-weight: 700;
    color: var(--waki-eyebrow);
    margin-bottom: 14px;
}

.section-title {
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: -.02em;
    color: var(--waki-text);
}

.text-muted-2 {
    color: var(--waki-muted);
}

.dropdown-item.active,
.dropdown-item:active {
    background: rgba(77, 131, 255, .12);
    color: var(--waki-blue);
}

.link-arrow {
    font-weight: 600;
    color: var(--waki-blue-accessible);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: gap .2s ease;
}

.link-arrow:hover {
    gap: 11px;
    color: var(--waki-eyebrow);
}

/* ---------- Buttons ---------- */
.btn {
    border-radius: 999px;
    font-weight: 600;
    padding: .72rem 1.5rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.btn:active {
    transform: translateY(1px);
}

.btn-grad {
    background: var(--waki-grad);
    color: #fff;
    border: none;
    box-shadow: 0 10px 24px -10px rgba(77, 131, 255, .8);
}

.btn-grad:hover {
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 16px 30px -12px rgba(111, 91, 246, .85);
}

.btn-dark-pill {
    background: var(--waki-dark);
    color: #fff;
    border: none;
}

.btn-dark-pill:hover {
    background: #142d45;
    color: #fff;
    transform: translateY(-2px);
}

.btn-teal {
    background: var(--waki-teal);
    color: #04201d;
    border: none;
}

.btn-teal:hover {
    background: var(--waki-teal-dark);
    color: #fff;
    transform: translateY(-2px);
}

.btn-ghost {
    background: rgba(255, 255, 255, .65);
    border: 1px solid var(--waki-border);
    color: var(--waki-text);
    backdrop-filter: blur(6px);
}

.btn-ghost:hover {
    background: #fff;
    color: var(--waki-text);
    transform: translateY(-2px);
}

.btn-light-pill {
    background: #fff;
    color: var(--waki-dark);
    border: none;
}

.btn-light-pill:hover {
    background: #eef2f7;
    color: var(--waki-dark);
    transform: translateY(-2px);
}

/* ---------- Navbar ---------- */
.waki-navbar {
    transition: background .3s ease, box-shadow .3s ease, padding .3s ease;
    padding: 18px 0;
    z-index: 1030;
}

/* Blur on a pseudo-element so dropdowns are not clipped by backdrop-filter */
.waki-navbar.scrolled {
    background: rgba(255, 255, 255, .92);
    box-shadow: 0 6px 24px -16px rgba(16, 39, 64, .4);
    padding: 12px 0;
}

.waki-navbar.scrolled::before {
    content: "";
    position: absolute;
    inset: 0;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: -1;
    pointer-events: none;
}

.waki-brand {
    display: inline-flex;
    align-items: center;
    padding-top: 0;
    padding-bottom: 0;
    margin-right: 1rem;
}

.waki-brand-logo {
    display: block;
    height: 48px;
    width: auto;
    max-width: 168px;
    object-fit: contain;
}

.waki-navbar .nav-link {
    color: var(--waki-text);
    font-weight: 500;
    font-size: clamp(.78rem, .42rem + .5vw, .94rem);
    padding: .4rem clamp(.32rem, .05rem + .5vw, .8rem);
    opacity: .85;
}

.waki-navbar .nav-link:hover,
.waki-navbar .nav-link.active,
.waki-navbar .nav-link:focus {
    opacity: 1;
    color: var(--waki-teal);
}

/* Compact horizontal nav between lg expand and comfortable desktop widths */
@media (min-width: 992px) and (max-width: 1199.98px) {
    .waki-navbar .nav-link {
        font-size: .76rem;
        padding: .3rem .32rem;
        white-space: nowrap;
    }

    .waki-navbar-actions {
        gap: .55rem !important;
        flex-shrink: 0;
    }

    .waki-navbar .btn-grad {
        font-size: .78rem;
        padding: .45rem .85rem;
        white-space: nowrap;
    }

    .waki-brand-logo {
        height: 42px;
        max-width: 148px;
    }
}

.navbar-toggler {
    border: none;
    padding: 0;
}

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

/* ---------- Hero ---------- */
.hero {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 92vh;
    padding-top: 140px;
    padding-bottom: 70px;
    background-color: #eef3f9;
    overflow: hidden;
}

.hero-slides {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-slide {
    position: absolute;
    inset: 0;
    background-color: #eef3f9;
    background-size: cover;
    background-position: center right;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 1.2s ease-in-out;
}

.hero-slide.is-active {
    opacity: 1;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg,
        rgba(238, 243, 249, .96) 0%,
        rgba(238, 243, 249, .85) 32%,
        rgba(238, 243, 249, .35) 52%,
        rgba(238, 243, 249, 0) 70%);
    z-index: 1;
}

.hero .container {
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: clamp(2.4rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -.03em;
}

.hero .hero-sub {
    font-size: 1.08rem;
    color: var(--waki-muted);
    max-width: 30rem;
}

.hero-img {
    border-radius: 24px;
    box-shadow: var(--waki-shadow);
    width: 100%;
    object-fit: cover;
}

.avatar-group {
    display: flex;
    align-items: center;
}

.avatar-group .avatar-initial {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 2px solid #fff;
    margin-left: -10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: .58rem;
    font-weight: 700;
    letter-spacing: .02em;
    line-height: 1;
    box-shadow: 0 2px 6px rgba(0, 0, 0, .12);
    flex-shrink: 0;
}

.avatar-group .avatar-initial:first-child {
    margin-left: 0;
}

.avatar-badge {
    background: var(--waki-grad);
    color: #fff;
    font-size: .72rem;
    font-weight: 700;
    border-radius: 999px;
    padding: 6px 10px;
    margin-left: -10px;
    border: 2px solid #fff;
}

/* ---------- Card base ---------- */
.soft-card {
    background: #fff;
    border: 1px solid var(--waki-border);
    border-radius: var(--waki-radius);
    box-shadow: var(--waki-shadow-sm);
}

/* ---------- Journey / Timeline ---------- */
.journey-row > [class*="col"] {
    display: flex;
    flex-direction: column;
}

.journey-main {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    width: 100%;
}

.journey-copy {
    max-width: 40rem;
}

.journey-photo {
    margin: 0;
    width: 100%;
    max-width: 100%;
    display: flex;
    flex-direction: column;
    border-radius: 18px;
    overflow: hidden;
    background: #eef3f9;
    box-shadow: var(--waki-shadow-sm);
}

.journey-photo-media {
    width: 100%;
    background: #eef3f9;
}

.journey-photo-media img {
    display: block;
    width: 100%;
    height: auto;
}

.journey-photo figcaption {
    flex-shrink: 0;
    width: 100%;
    padding: 12px 16px 14px;
    font-size: .78rem;
    font-weight: 600;
    color: var(--waki-muted);
    letter-spacing: .01em;
    background: #fff;
    border-top: 1px solid var(--waki-border);
}

.timeline-card {
    position: relative;
    border-radius: 20px;
    padding: 36px 32px;
    display: flex;
    align-items: center;
    background-color: #f4f8fc;
    background-image: url('../images/cta1_background.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
}

.timeline-card .timeline {
    width: 100%;
}

.timeline {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    position: relative;
}

.timeline::before {
    content: "";
    position: absolute;
    top: 28px;
    left: 12%;
    right: 12%;
    height: 2px;
    background: linear-gradient(90deg, var(--waki-dark), var(--waki-blue), var(--waki-teal));
    opacity: .55;
}

.timeline-item {
    text-align: center;
    flex: 1;
    position: relative;
    z-index: 1;
}

/* small node dots along the connector line */
.timeline-item:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 24px;
    right: -6px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--waki-blue);
    box-shadow: 0 0 0 4px rgba(255, 255, 255, .8);
    z-index: 2;
}

.timeline-dot {
    --dot-glow: rgba(11, 31, 51, .45);
    --dot-ring: rgba(11, 31, 51, .28);
    width: 58px;
    height: 58px;
    border: none;
    border-radius: 50%;
    background: var(--waki-dark);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: .82rem;
    font-weight: 700;
    font-family: inherit;
    line-height: 1;
    margin-bottom: 18px;
    padding: 0;
    cursor: pointer;
    position: relative;
    isolation: isolate;
    transition: transform .35s cubic-bezier(.22, 1, .36, 1), box-shadow .35s ease, filter .35s ease;
    box-shadow:
        0 8px 22px -8px var(--dot-glow),
        0 0 0 6px rgba(255, 255, 255, .7),
        0 0 0 0 transparent;
    animation: timeline-dot-glow 2.8s ease-in-out infinite;
}

.timeline-dot::before {
    content: "";
    position: absolute;
    inset: -10px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--dot-ring) 0%, transparent 70%);
    opacity: .55;
    z-index: -1;
    pointer-events: none;
    transition: opacity .35s ease, transform .35s ease;
    animation: timeline-dot-halo 2.8s ease-in-out infinite;
}

.timeline-item:nth-child(1) .timeline-dot {
    animation-delay: 0s;
}
.timeline-item:nth-child(1) .timeline-dot::before {
    animation-delay: 0s;
}

.timeline-item:nth-child(2) .timeline-dot {
    background: var(--waki-blue);
    --dot-glow: rgba(77, 131, 255, .55);
    --dot-ring: rgba(77, 131, 255, .4);
    animation-delay: .45s;
}
.timeline-item:nth-child(2) .timeline-dot::before {
    animation-delay: .45s;
}

.timeline-item:nth-child(3) .timeline-dot {
    background: var(--waki-teal);
    --dot-glow: rgba(24, 194, 176, .55);
    --dot-ring: rgba(24, 194, 176, .4);
    animation-delay: .9s;
}
.timeline-item:nth-child(3) .timeline-dot::before {
    animation-delay: .9s;
}

.timeline-dot:hover,
.timeline-dot:focus-visible {
    transform: scale(1.12);
    outline: none;
    filter: brightness(1.06);
    box-shadow:
        0 12px 28px -6px var(--dot-glow),
        0 0 0 7px rgba(255, 255, 255, .85),
        0 0 28px 6px var(--dot-ring);
    animation: none;
}

.timeline-dot:hover::before,
.timeline-dot:focus-visible::before {
    opacity: 1;
    transform: scale(1.15);
    animation: none;
}

.timeline-dot:active {
    transform: scale(1.04);
}

@keyframes timeline-dot-glow {
    0%, 100% {
        box-shadow:
            0 8px 22px -8px var(--dot-glow),
            0 0 0 6px rgba(255, 255, 255, .7),
            0 0 12px 2px transparent;
    }
    50% {
        box-shadow:
            0 10px 26px -6px var(--dot-glow),
            0 0 0 6px rgba(255, 255, 255, .75),
            0 0 22px 5px var(--dot-ring);
    }
}

@keyframes timeline-dot-halo {
    0%, 100% {
        opacity: .4;
        transform: scale(1);
    }
    50% {
        opacity: .85;
        transform: scale(1.12);
    }
}

@media (prefers-reduced-motion: reduce) {
    .timeline-dot,
    .timeline-dot::before {
        animation: none;
    }
}

.timeline-item h3 {
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 6px;
}

.timeline-item p {
    font-size: .82rem;
    color: var(--waki-muted);
    margin: 0;
    max-width: 15rem;
    margin-left: auto;
    margin-right: auto;
}

/* ---------- Journey detail modal ---------- */
.journey-modal .modal-content {
    border: none;
    border-radius: 18px;
    overflow: hidden;
    position: relative;
}

.journey-modal-close {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 5;
    width: 36px;
    height: 36px;
    padding: 0;
    border-radius: 50%;
    border: 1px solid var(--waki-border);
    background-color: #fff;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%2316202c'%3e%3cpath d='M.293.293a1 1 0 011.414 0L8 6.586 14.293.293a1 1 0 111.414 1.414L9.414 8l6.293 6.293a1 1 0 01-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 01-1.414-1.414L6.586 8 .293 1.707a1 1 0 010-1.414z'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: center;
    background-size: .75em;
    box-shadow: 0 4px 14px rgba(16, 39, 64, .14);
    opacity: 1;
}

.journey-modal-close:hover {
    background-color: #f3f6fa;
    opacity: 1;
    box-shadow: 0 6px 18px rgba(16, 39, 64, .18);
}

.journey-modal-close:focus {
    opacity: 1;
    box-shadow: 0 0 0 3px rgba(77, 131, 255, .25);
}

.journey-modal-layout {
    display: grid;
    grid-template-columns: minmax(160px, 0.42fr) 1fr;
    align-items: stretch;
    min-height: 320px;
}

.journey-modal-media {
    background: #eef3f9;
    min-height: 100%;
}

.journey-modal-media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

.journey-modal-content {
    padding: 28px 28px 28px 24px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.journey-modal-head {
    display: flex;
    align-items: center;
    gap: 16px;
    padding-right: 36px;
}

.journey-modal-year {
    flex-shrink: 0;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: .9rem;
    font-weight: 800;
    color: #fff;
    background: var(--waki-dark);
    box-shadow: 0 8px 22px -8px rgba(16, 39, 64, .4);
}

.journey-modal--blue .journey-modal-year {
    background: var(--waki-blue);
    box-shadow: 0 8px 22px -8px rgba(77, 131, 255, .45);
}

.journey-modal--teal .journey-modal-year {
    background: var(--waki-teal);
    box-shadow: 0 8px 22px -8px rgba(24, 194, 176, .45);
}

.journey-modal .modal-title {
    font-weight: 750;
    color: var(--waki-text);
    margin: 0;
}

.journey-modal-detail {
    margin: 0;
}

.journey-modal-highlights {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 10px;
}

.journey-modal-highlights li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: .92rem;
    color: var(--waki-text);
    line-height: 1.45;
}

.journey-modal-highlights i {
    color: var(--waki-teal);
    margin-top: 2px;
    flex-shrink: 0;
}

.journey-modal--dark .journey-modal-highlights i {
    color: var(--waki-dark);
}

.journey-modal--blue .journey-modal-highlights i {
    color: var(--waki-blue);
}

@media (max-width: 767.98px) {
    .journey-modal-layout {
        grid-template-columns: 1fr;
        min-height: 0;
    }

    .journey-modal-media {
        max-height: 220px;
    }

    .journey-modal-content {
        padding: 20px 18px 22px;
    }
}

/* ---------- Ecosystem cards ---------- */
.eco-card {
    position: relative;
    border: 1px solid var(--waki-border);
    border-radius: var(--waki-radius);
    overflow: hidden;
    height: 100%;
    min-height: 240px;
    display: flex;
    align-items: flex-end;
    background-color: #eef3f9;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: transform .25s ease, box-shadow .25s ease;
}

.eco-card-btn {
    width: 100%;
    padding: 0;
    text-align: left;
    font: inherit;
    color: inherit;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
}

.eco-card-btn:focus-visible {
    outline: 3px solid rgba(77, 131, 255, .35);
    outline-offset: 3px;
}

.eco-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg,
        rgba(255, 255, 255, 0) 28%,
        rgba(255, 255, 255, .82) 62%,
        rgba(255, 255, 255, .96) 100%);
    z-index: 0;
}

.eco-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--waki-shadow);
}

.eco-card .eco-body {
    position: relative;
    z-index: 1;
    padding: 22px;
    display: block;
    width: 100%;
}

.eco-icon {
    width: 46px;
    height: 46px;
    border-radius: 13px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: #fff;
    margin-bottom: 14px;
}

.bg-air { background: linear-gradient(135deg, #18c2b0, #12a7cf); }
.bg-water { background: linear-gradient(135deg, #4d83ff, #3aa0ff); }
.bg-body { background: linear-gradient(135deg, #6f5bf6, #9a6cff); }
.bg-home { background: linear-gradient(135deg, #f0883e, #f0b03e); }

.eco-card h3 {
    font-weight: 700;
    font-size: 1.05rem;
}

.eco-card p {
    font-size: .86rem;
    color: var(--waki-muted);
}

.eco-modal-icon {
    flex-shrink: 0;
    width: 64px;
    height: 64px;
    border-radius: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.45rem;
    color: #fff;
    box-shadow: 0 8px 22px -8px rgba(16, 39, 64, .35);
}

.eco-modal--air .journey-modal-highlights i { color: var(--waki-teal); }
.eco-modal--water .journey-modal-highlights i { color: var(--waki-blue); }
.eco-modal--body .journey-modal-highlights i { color: var(--waki-purple); }
.eco-modal--home .journey-modal-highlights i { color: #f0883e; }

/* ---------- Stats band ---------- */
.stats-band {
    border-radius: 22px;
    background:
        linear-gradient(100deg, rgba(9, 27, 46, .96) 0%, rgba(12, 38, 62, .9) 45%, rgba(14, 44, 72, .55) 100%),
        url('../images/cta2_background.jpg') center/cover no-repeat;
    color: #fff;
    padding: 40px 36px;
    position: relative;
    overflow: hidden;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 16px;
}

.stat-icon {
    flex: 0 0 auto;
    width: 54px;
    height: 54px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, .22);
    background: rgba(255, 255, 255, .06);
    color: var(--waki-teal);
    font-size: 1.35rem;
    margin-bottom: 0;
}

.stat-num {
    font-size: clamp(1.6rem, 2.6vw, 2.3rem);
    font-weight: 800;
    letter-spacing: -.02em;
    line-height: 1.1;
}

.stat-label {
    color: rgba(255, 255, 255, .7);
    font-size: .86rem;
    line-height: 1.25;
}

/* ---------- Tech / Products ---------- */
.tech-thumb {
    text-align: center;
    display: block;
    text-decoration: none;
    color: inherit;
}

.tech-thumb .tech-img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 14px;
    border: 1px solid var(--waki-border);
    background: var(--waki-bg);
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.tech-thumb:hover .tech-img,
.tech-thumb:focus-visible .tech-img {
    transform: translateY(-5px);
    box-shadow: var(--waki-shadow-sm);
    border-color: rgba(77, 131, 255, .35);
}

.tech-thumb:focus-visible {
    outline: none;
}

.tech-thumb p {
    font-size: .8rem;
    font-weight: 600;
    margin-top: 10px;
    color: var(--waki-text);
}

.tech-thumb:hover p,
.tech-thumb:focus-visible p {
    color: var(--waki-blue);
}

.story-card {
    border-radius: 18px;
    overflow: hidden;
    position: relative;
    box-shadow: var(--waki-shadow);
    height: 100%;
    min-height: 260px;
}

.story-card-btn {
    display: block;
    width: 100%;
    padding: 0;
    border: none;
    background: transparent;
    cursor: pointer;
    text-align: left;
    font: inherit;
    color: inherit;
    transition: transform .2s ease, box-shadow .2s ease;
}

.story-card-btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 22px 48px -18px rgba(16, 39, 64, .4);
}

.story-card-btn:focus-visible {
    outline: 2px solid var(--waki-teal);
    outline-offset: 3px;
}

.story-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.story-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(11, 31, 51, .15) 0%, rgba(11, 31, 51, .85) 100%);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 22px;
    color: #fff;
}

.story-tag {
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--waki-teal);
}

.play-btn {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .9);
    color: var(--waki-dark);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    align-self: center;
    border: none;
    transition: transform .2s ease;
}

.story-card-btn:hover .play-btn {
    transform: scale(1.08);
}

.story-modal .modal-content {
    border: none;
    border-radius: 18px;
    overflow: hidden;
    background: #0b1f33;
}

.story-modal .modal-header {
    border-bottom: 1px solid rgba(255, 255, 255, .12);
    padding: 18px 22px;
    align-items: flex-start;
}

.story-modal .modal-title {
    font-weight: 750;
    color: #fff;
    margin: 0;
}

.story-modal .modal-body {
    background: #000;
}

.story-modal iframe {
    border: 0;
    width: 100%;
    height: 100%;
}

/* ---------- Global presence ---------- */
.presence-wrap {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 240px;
    border-radius: var(--waki-radius);
    overflow: hidden;
    padding: 28px 44px;
    background-color: #eef3f9;
    background-size: cover;
    background-position: center right;
    background-repeat: no-repeat;
}

.presence-wrap::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg,
        rgba(238, 243, 249, .96) 0%,
        rgba(238, 243, 249, .85) 34%,
        rgba(238, 243, 249, .3) 55%,
        rgba(238, 243, 249, 0) 72%);
    z-index: 0;
}

.presence-content {
    position: relative;
    z-index: 1;
}

/* ---------- CTA band ---------- */
.cta-section {
    padding-bottom: 0 !important;
    margin-bottom: 0;
}

.cta-band {
    border-radius: 24px 24px 0 0;
    overflow: hidden;
    position: relative;
    color: #fff;
    padding: 48px 48px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 24px;
    margin-bottom: 0;
    background:
        linear-gradient(100deg, rgba(9, 27, 46, .95) 0%, rgba(12, 38, 62, .82) 40%, rgba(14, 44, 72, .55) 100%),
        url('../images/cta3_background.jpg') center/cover no-repeat;
}

.cta-band h2 {
    font-weight: 800;
    letter-spacing: -.02em;
    font-size: clamp(1.6rem, 3vw, 2.2rem);
}

.cta-actions {
    flex: 0 0 auto;
}

/* ---------- Footer ---------- */
.waki-footer {
    background: transparent;
    color: rgba(255, 255, 255, .72);
    margin-top: 0;
}

.footer-bg {
    background: linear-gradient(160deg, #0d2740 0%, #0a2135 55%, #071523 100%);
    border-radius: 0;
    padding: 56px 48px 14px;
    margin-top: 0;
}

.waki-footer h3.footer-col-title {
    color: #fff;
    font-size: .78rem;
    letter-spacing: .12em;
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: 18px;
}

.waki-footer a {
    color: rgba(255, 255, 255, .72);
    text-decoration: none;
    font-size: .9rem;
    display: block;
    margin-bottom: 11px;
    transition: color .2s ease;
}

.waki-footer a:hover {
    color: var(--waki-teal);
}

.waki-footer .brand-foot {
    line-height: 0;
}

.waki-footer-logo {
    display: block;
    height: 64px;
    width: auto;
    max-width: 220px;
    object-fit: contain;
}

.waki-footer .footer-social {
    display: flex;
    gap: 8px;
}

.waki-footer .social-ico {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .08);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    transition: background .2s ease, transform .2s ease;
}

.social-ico:hover {
    background: var(--waki-teal);
    color: #04201d;
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, .1);
    margin-top: 48px;
    padding: 22px 0;
    font-size: .84rem;
}

/* ---------- WAKi Meaning / Core Values ---------- */
.text-teal {
    color: var(--waki-teal);
}

.text-waki-green {
    color: var(--waki-green);
}

.text-waki-gold {
    color: var(--waki-gold);
}

.meaning-card {
    background: #fff;
    border: 1px solid var(--waki-border);
    border-radius: var(--waki-radius);
    box-shadow: var(--waki-shadow-sm);
    padding: 36px 24px 32px;
    text-align: center;
    height: 100%;
    transition: transform .22s ease, box-shadow .22s ease;
}

.meaning-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--waki-shadow);
}

.meaning-letter {
    display: block;
    font-size: 4.25rem;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -.04em;
    margin-bottom: 18px;
    -webkit-text-fill-color: #fff;
    paint-order: stroke fill;
}

.meaning-teal .meaning-letter {
    -webkit-text-stroke: 6px var(--waki-green);
    color: var(--waki-green);
}

.meaning-gold .meaning-letter {
    -webkit-text-stroke: 6px var(--waki-gold);
    color: var(--waki-gold);
}

.meaning-card h3 {
    font-weight: 700;
    font-size: 1.15rem;
    margin-bottom: 10px;
}

.meaning-teal h3 {
    color: var(--waki-green);
}

.meaning-gold h3 {
    color: var(--waki-gold);
}

.meaning-card p {
    margin: 0;
    color: var(--waki-muted);
    font-size: .92rem;
    line-height: 1.55;
}

/* ---------- Vision / Mission / Objective / Value ---------- */
.purpose-band {
    border-radius: 22px;
    background:
        linear-gradient(105deg, rgba(8, 24, 42, .94) 0%, rgba(11, 34, 56, .88) 42%, rgba(14, 44, 72, .72) 100%),
        url('../images/cta3_background.jpg') center/cover no-repeat;
    color: #fff;
    padding: 52px 28px;
    overflow: hidden;
}

.purpose-item {
    text-align: center;
    padding: 12px 22px;
    height: 100%;
}

.purpose-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    border: 1.5px solid rgba(255, 255, 255, .35);
    color: var(--waki-teal);
    font-size: 1.35rem;
    margin-bottom: 16px;
}

.purpose-item h3 {
    font-weight: 700;
    font-size: 1.2rem;
    margin-bottom: 12px;
    letter-spacing: -.01em;
}

.purpose-item p {
    margin: 0;
    font-size: .9rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, .78);
}

@media (min-width: 992px) {
    .purpose-divider {
        border-right: 1px solid rgba(255, 255, 255, .14);
    }
}

/* ---------- Subsidiaries / Companies ---------- */
.company-card {
    position: relative;
    display: flex;
    align-items: flex-end;
    min-height: 280px;
    border: 1px solid var(--waki-border);
    border-radius: var(--waki-radius);
    box-shadow: var(--waki-shadow-sm);
    overflow: hidden;
    height: 100%;
    background-color: #eef3f9;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: transform .22s ease, box-shadow .22s ease;
}

.company-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg,
        rgba(255, 255, 255, 0) 18%,
        rgba(255, 255, 255, .78) 55%,
        rgba(255, 255, 255, .96) 100%);
    z-index: 0;
}

.company-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--waki-shadow);
}

.company-body {
    position: relative;
    z-index: 1;
    padding: 26px 24px;
    width: 100%;
}

.company-icon {
    width: 46px;
    height: 46px;
    border-radius: 13px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: #fff;
    margin-bottom: 14px;
}

.bg-care { background: linear-gradient(135deg, #18c2b0, #12a7cf); }
.bg-life { background: linear-gradient(135deg, #4d83ff, #6f5bf6); }
.bg-shop { background: linear-gradient(135deg, #f0883e, #f0b03e); }
.bg-museum { background: linear-gradient(135deg, #0e2a44, #3a5a7a); }

.company-body h3 {
    font-weight: 700;
    font-size: 1.12rem;
    color: var(--waki-text);
}

.company-tag {
    display: inline-block;
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--waki-blue);
    background: rgba(77, 131, 255, .12);
    border-radius: 999px;
    padding: .28rem .7rem;
}

.company-body p {
    margin: 0 0 12px;
    color: var(--waki-muted);
    font-size: .92rem;
    line-height: 1.55;
}

.company-card-btn {
    width: 100%;
    border: 1px solid var(--waki-border);
    cursor: pointer;
    text-align: left;
    font: inherit;
    color: inherit;
}

.company-card-btn .link-arrow {
    color: var(--waki-blue);
}

/* ---------- Health Care Modal + Branch Map ---------- */
.healthcare-modal .modal-content {
    border: none;
    border-radius: 18px;
    overflow: hidden;
}

.healthcare-modal .modal-header {
    border-bottom: 1px solid var(--waki-border);
    padding: 22px 24px 16px;
    align-items: flex-start;
}

.healthcare-modal .modal-title {
    font-weight: 750;
    color: var(--waki-text);
}

.healthcare-modal .modal-body {
    padding: 22px 24px 28px;
}

.healthcare-highlights {
    list-style: none;
    padding: 0;
    margin: 0;
}

.healthcare-highlights li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 10px;
    font-size: .92rem;
    color: var(--waki-text);
    font-weight: 500;
}

.healthcare-highlights i {
    color: var(--waki-teal);
    margin-top: 2px;
}

.branch-map-embed {
    height: 360px;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--waki-border);
    background: #e8eef4 !important;
    z-index: 0;
}

.branch-map-embed.leaflet-container,
.branch-map-embed .leaflet-container {
    background: #e8eef4 !important;
}

.branch-map-embed .leaflet-pane,
.branch-map-embed .leaflet-tile-pane,
.branch-map-embed .leaflet-overlay-pane,
.branch-map-embed .leaflet-shadow-pane,
.branch-map-embed .leaflet-marker-pane,
.branch-map-embed .leaflet-tooltip-pane {
    background: transparent !important;
}

.branch-map-embed .leaflet-control-zoom a {
    color: var(--waki-text);
    background: #fff;
    border-color: var(--waki-border);
}

.branch-map-embed .leaflet-control-zoom a:hover {
    background: #f4f7fb;
}

.branch-map-embed .leaflet-control-attribution {
    font-size: 10px;
    color: #5a6570;
    background: rgba(255, 255, 255, .82);
}

.branch-map-embed .leaflet-control-attribution a {
    color: var(--waki-blue-accessible);
}

.healthcare-map-pin {
    background: transparent;
    border: none;
    cursor: pointer;
}

.healthcare-map-pin-dot {
    display: block;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 30%, #ffffff 0%, #e7fffb 55%, #18c2b0 100%);
    box-shadow:
        0 0 0 2px rgba(255, 255, 255, .95),
        0 0 0 3px #18c2b0,
        0 0 10px rgba(24, 194, 176, .85);
}

.branch-map-embed .leaflet-tooltip {
    border: none;
    border-radius: 10px;
    padding: 6px 10px;
    font-size: .82rem;
    font-weight: 600;
    color: #fff;
    background: rgba(11, 31, 51, .95);
    box-shadow: 0 8px 20px rgba(0, 0, 0, .25);
}

.branch-map-embed .leaflet-tooltip-top:before {
    border-top-color: rgba(11, 31, 51, .95);
}

.branch-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.branch-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: .45rem .9rem;
    border-radius: 999px;
    border: 1px solid var(--waki-border);
    background: #fff;
    color: var(--waki-text);
    font-size: .82rem;
    font-weight: 600;
    text-decoration: none;
}

a.branch-chip:hover {
    color: var(--waki-blue-accessible);
    border-color: rgba(21, 101, 192, .35);
}

.branch-chip i {
    color: var(--waki-teal);
}

/* ---------- Company Gallery ---------- */
.gallery-card {
    position: relative;
    display: block;
    width: 100%;
    min-height: 280px;
    border: 1px solid var(--waki-border);
    border-radius: var(--waki-radius);
    overflow: hidden;
    padding: 0;
    text-align: left;
    background-color: #16324d;
    background-size: cover;
    background-position: center;
    box-shadow: var(--waki-shadow-sm);
    transition: transform .22s ease, box-shadow .22s ease;
    cursor: pointer;
}

.gallery-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--waki-shadow);
}

.gallery-card-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 22px;
    color: #fff;
    background: linear-gradient(180deg,
        rgba(8, 24, 42, .1) 0%,
        rgba(8, 24, 42, .45) 45%,
        rgba(8, 24, 42, .92) 100%);
}

.gallery-tag {
    display: inline-block;
    width: fit-content;
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: #04201d;
    background: var(--waki-teal);
    border-radius: 999px;
    padding: .28rem .7rem;
    margin-bottom: 10px;
}

.gallery-card h3 {
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 8px;
    color: #fff;
}

.gallery-meta {
    font-size: .82rem;
    color: rgba(255, 255, 255, .78);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 2px;
}

.gallery-cta {
    margin-top: 14px;
    font-weight: 600;
    font-size: .88rem;
    color: var(--waki-teal);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.gallery-modal .modal-content {
    border: none;
    border-radius: 18px;
    overflow: hidden;
}

.gallery-modal .modal-header {
    border-bottom: 1px solid var(--waki-border);
    padding: 22px 24px 16px;
    align-items: flex-start;
}

.gallery-modal .modal-title {
    font-weight: 750;
    color: var(--waki-text);
}

.gallery-modal .modal-header .gallery-meta {
    color: var(--waki-muted);
}

.gallery-modal .modal-body {
    padding: 20px 24px 28px;
}

.gallery-section-label {
    font-weight: 700;
    font-size: .9rem;
    color: var(--waki-text);
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.gallery-section-label i {
    color: var(--waki-blue);
}

.gallery-photo {
    display: block;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--waki-border);
    aspect-ratio: 4 / 3;
}

.gallery-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .25s ease;
}

.gallery-photo:hover img {
    transform: scale(1.05);
}

.gallery-video {
    background: var(--waki-bg);
    border: 1px solid var(--waki-border);
    border-radius: 14px;
    overflow: hidden;
}

.gallery-video .ratio {
    background: #0b1f33;
}

.gallery-video-title {
    margin: 0;
    padding: 12px 14px;
    font-size: .88rem;
    font-weight: 600;
    color: var(--waki-text);
}

.breadcrumb a {
    color: var(--waki-blue);
    text-decoration: none;
}

.breadcrumb a:hover {
    color: var(--waki-purple);
}

.breadcrumb-item.active {
    color: var(--waki-muted);
}

/* ---------- Products page ---------- */
.products-hero {
    padding: 140px 0 36px;
    background:
        radial-gradient(ellipse at top right, rgba(24, 194, 176, .08), transparent 45%),
        linear-gradient(180deg, #eef3f9 0%, #fff 100%);
}

.products-count {
    font-weight: 700;
    color: var(--waki-text);
}

.products-count .js-products-count {
    color: var(--waki-teal-dark);
}

.product-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 8px;
}

.product-filter {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: .62rem 1rem;
    border-radius: 999px;
    border: 1px solid var(--waki-border);
    background: #fff;
    color: var(--waki-text);
    font-size: .88rem;
    font-weight: 600;
    cursor: pointer;
    transition: background .18s ease, border-color .18s ease, color .18s ease, box-shadow .18s ease;
}

.product-filter i {
    color: var(--waki-blue);
}

.product-filter-icon {
    width: 1.35rem;
    height: 1.35rem;
    border-radius: 0.35rem;
    object-fit: cover;
    flex-shrink: 0;
}

.product-filter:hover {
    border-color: rgba(24, 194, 176, .45);
    color: var(--waki-teal-dark);
}

.product-filter.is-active {
    background: rgba(24, 194, 176, .12);
    border-color: var(--waki-teal);
    color: var(--waki-teal-dark);
    box-shadow: 0 8px 20px -14px rgba(24, 194, 176, .8);
}

.product-filter.is-active i {
    color: var(--waki-teal-dark);
}

.product-card {
    height: 100%;
    border: 1px solid var(--waki-border);
    border-radius: 18px;
    overflow: hidden;
    background: #fff;
    box-shadow: var(--waki-shadow-sm);
    transition: transform .2s ease, box-shadow .2s ease;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--waki-shadow);
}

.product-card-media {
    position: relative;
    aspect-ratio: 4 / 3;
    background: #eef3f9;
    overflow: hidden;
}

.product-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.product-card-tag {
    position: absolute;
    left: 14px;
    top: 14px;
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: #04201d;
    background: var(--waki-teal);
    border-radius: 999px;
    padding: .28rem .7rem;
}

.product-card-body {
    padding: 20px 20px 22px;
}

.product-card-category {
    font-size: .74rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--waki-blue);
}

.product-card-title {
    font-weight: 750;
    margin-bottom: 8px;
    color: var(--waki-text);
}

.product-card-desc {
    color: var(--waki-muted);
    font-size: .92rem;
    margin-bottom: 14px;
}

.product-card-title a {
    color: inherit;
    text-decoration: none;
}

.product-card-title a:hover {
    color: var(--waki-teal-dark);
}

.product-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.product-empty {
    text-align: center;
    padding: 48px 20px;
    color: var(--waki-muted);
    border: 1px dashed var(--waki-border);
    border-radius: 16px;
    margin-top: 18px;
}

.product-empty i {
    font-size: 1.6rem;
    color: var(--waki-teal);
    display: block;
    margin-bottom: 10px;
}

.js-product-item.is-hidden {
    display: none !important;
}

/* ---------- Technologies page ---------- */
.tech-origin {
    height: 100%;
    background: #fff;
    border: 1px solid var(--waki-border);
    border-radius: 16px;
    padding: 22px 20px;
    box-shadow: var(--waki-shadow-sm);
}

.tech-origin-flag {
    display: inline-block;
    font-size: 1.45rem;
    line-height: 1;
    margin-bottom: 10px;
}

.tech-origin h2 {
    font-weight: 750;
    color: var(--waki-text);
}

.tech-feature-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.tech-feature {
    display: flex;
    align-items: stretch;
    background: #fff;
    border: 1px solid var(--waki-border);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: var(--waki-shadow-sm);
}

.tech-feature-media {
    flex: 0 0 240px;
    min-height: 200px;
    background: #eef3f9;
}

.tech-feature-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.tech-feature-content {
    display: flex;
    gap: 18px;
    align-items: flex-start;
    flex: 1;
    min-width: 0;
    padding: 22px 22px 24px;
}

.tech-feature-icon {
    flex: 0 0 48px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(24, 194, 176, .12);
    color: var(--waki-teal-dark);
    font-size: 1.2rem;
}

.tech-feature-body {
    min-width: 0;
}

.tech-feature-index {
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--waki-teal-dark);
}

.tech-feature-body h3 {
    font-weight: 750;
    color: var(--waki-text);
}

.tech-feature-subtitle {
    color: var(--waki-blue);
    font-size: .92rem;
    font-weight: 600;
}

.tech-feature-points {
    padding-left: 1.15rem;
    color: var(--waki-muted);
    line-height: 1.7;
}

.tech-feature-points li + li {
    margin-top: .4rem;
}

/* ---------- Product detail ---------- */
.product-detail-hero {
    padding: 140px 0 48px;
    background:
        radial-gradient(ellipse at top left, rgba(77, 131, 255, .08), transparent 40%),
        linear-gradient(180deg, #eef3f9 0%, #fff 100%);
}

.product-detail-media {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--waki-border);
    box-shadow: var(--waki-shadow-sm);
    background: #eef3f9;
    aspect-ratio: 4 / 3;
}

.product-detail-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.product-gallery {
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-width: 0;
    max-width: 100%;
}

.product-gallery-main {
    width: 100%;
    padding: 0;
    margin: 0;
    border: 1px solid var(--waki-border);
    cursor: zoom-in;
    text-align: left;
}

.product-gallery-zoom {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, .92);
    color: var(--waki-dark);
    box-shadow: 0 8px 20px rgba(0, 0, 0, .2);
    opacity: 0;
    transform: scale(.92);
    transition: opacity .2s ease, transform .2s ease;
    pointer-events: none;
    z-index: 2;
}

.product-gallery-main:hover .product-gallery-zoom,
.product-gallery-main:focus-visible .product-gallery-zoom {
    opacity: 1;
    transform: scale(1);
}

.product-gallery-thumbs {
    display: flex;
    flex-wrap: nowrap;
    gap: 10px;
    overflow-x: auto;
    overflow-y: visible;
    max-width: 100%;
    padding: 6px 4px 10px;
    margin: 0 -4px;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 4px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
}

.product-gallery-thumb {
    appearance: none;
    border: 2px solid transparent;
    border-radius: 12px;
    overflow: visible;
    padding: 0;
    background: #eef3f9;
    flex: 0 0 88px;
    width: 88px;
    height: 88px;
    aspect-ratio: 1;
    cursor: pointer;
    scroll-snap-align: start;
    box-sizing: border-box;
    transition: border-color .18s ease, transform .18s ease, box-shadow .18s ease;
}

.product-gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 10px;
}

.product-gallery-thumb:hover {
    transform: translateY(-2px);
    border-color: rgba(24, 194, 176, .55);
    box-shadow: var(--waki-shadow-sm);
}

.product-gallery-thumb.is-active {
    border-color: var(--waki-teal);
    box-shadow: 0 0 0 1px rgba(24, 194, 176, .2);
}

.product-gallery-thumb:focus-visible {
    outline: 2px solid var(--waki-teal);
    outline-offset: 2px;
}

.product-image-modal .modal-content {
    background: rgba(8, 20, 36, .58);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: none;
    border-radius: 0;
    min-height: 100%;
    display: flex;
    flex-direction: column;
}

.product-image-modal .modal-header {
    border-bottom: 1px solid rgba(255, 255, 255, .12);
    padding: 14px 18px;
    gap: 16px;
    background: rgba(8, 20, 36, .35);
}

.product-image-modal .modal-title {
    color: #fff;
    font-weight: 750;
    margin: 0;
}

.product-image-modal .modal-body {
    padding: 24px 16px 40px;
    overflow: auto;
    -webkit-overflow-scrolling: touch;
    background: transparent;
    flex: 1;
    display: flex;
    align-items: safe center;
    justify-content: center;
}

.product-image-modal-stage {
    width: 75vw;
    max-width: 75vw;
    margin: 0 auto;
    flex: 0 0 auto;
    transition: width .2s ease, max-width .2s ease;
    touch-action: pan-x pan-y;
}

.product-image-modal-img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
    box-shadow: 0 18px 50px rgba(0, 0, 0, .35);
}

.product-detail-panel {
    background: #fff;
    border: 1px solid var(--waki-border);
    border-radius: 18px;
    padding: 28px;
    box-shadow: var(--waki-shadow-sm);
}

.product-detail-copy {
    line-height: 1.75;
    font-size: 1.02rem;
    overflow: hidden;
}

.product-detail-copy > *:first-child {
    margin-top: 0;
}

.product-detail-copy > *:last-child {
    margin-bottom: 0;
}

.product-detail-copy p,
.product-detail-copy ul,
.product-detail-copy ol,
.product-detail-copy table {
    margin-bottom: 1rem;
}

.product-detail-copy h2,
.product-detail-copy h3,
.product-detail-copy h4 {
    color: var(--waki-ink, #16202c);
    font-weight: 700;
    margin: 1.5rem 0 0.75rem;
}

.product-detail-copy h2 { font-size: 1.45rem; }
.product-detail-copy h3 { font-size: 1.25rem; }
.product-detail-copy h4 { font-size: 1.1rem; }

.product-detail-copy a {
    color: inherit;
    text-decoration: underline;
    text-underline-offset: 0.15em;
}

.product-detail-copy [align="center"] {
    text-align: center;
}

.product-detail-copy [align="right"] {
    text-align: right;
}

.product-detail-copy ul,
.product-detail-copy ol {
    padding-left: 1.2rem;
}

.product-detail-copy img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    margin: .35rem 0;
}

.product-detail-copy table {
    width: 100%;
    border-collapse: collapse;
}

.product-detail-copy td,
.product-detail-copy th {
    vertical-align: top;
    padding: .75rem .5rem .75rem 0;
}

.product-detail-copy .clearfix {
    clear: both;
}

.product-infographic-wrap {
    position: relative;
}

.product-infographic-clamp {
    position: relative;
    overflow: hidden;
    max-height: 440px;
    border-radius: 14px;
    border: 1px solid var(--waki-border);
    background: #0b1f33;
    transition: max-height .55s cubic-bezier(.22, 1, .36, 1);
}

.product-infographic-clamp.is-expanded {
    max-height: none;
}

.product-infographic-trigger {
    display: block;
    width: 100%;
    padding: 0;
    margin: 0;
    border: 0;
    background: transparent;
    cursor: zoom-in;
    position: relative;
    text-align: left;
}

.product-infographic-inner,
.product-infographic-inner img {
    width: 100%;
    height: auto;
    display: block;
}

.product-infographic-zoom {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, .92);
    color: var(--waki-dark);
    box-shadow: 0 8px 20px rgba(0, 0, 0, .25);
    opacity: 0;
    transform: scale(.92);
    transition: opacity .2s ease, transform .2s ease;
    pointer-events: none;
    z-index: 2;
}

.product-infographic-trigger:hover .product-infographic-zoom,
.product-infographic-trigger:focus-visible .product-infographic-zoom {
    opacity: 1;
    transform: scale(1);
}

.product-infographic-fade {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 120px;
    pointer-events: none;
    background: linear-gradient(180deg,
        rgba(11, 31, 51, 0) 0%,
        rgba(11, 31, 51, .55) 45%,
        rgba(11, 31, 51, .92) 100%);
    opacity: 1;
    transition: opacity .35s ease;
    z-index: 1;
}

.product-infographic-clamp.is-expanded .product-infographic-fade {
    opacity: 0;
}

.product-infographic-actions {
    display: flex;
    justify-content: center;
    margin-top: 18px;
}

.product-infographic-toggle {
    appearance: none;
    background: #fff;
    color: var(--waki-teal-dark);
    border: 1.5px solid var(--waki-teal);
    border-radius: 12px;
    padding: .72rem 1.4rem;
    font-weight: 700;
    font-size: .92rem;
    line-height: 1;
    cursor: pointer;
    transition: background .18s ease, color .18s ease, transform .18s ease, box-shadow .18s ease;
}

.product-infographic-toggle:hover {
    background: rgba(24, 194, 176, .1);
    color: var(--waki-teal-dark);
    transform: translateY(-1px);
    box-shadow: 0 10px 22px -16px rgba(24, 194, 176, .9);
}

.product-infographic-toggle:focus-visible {
    outline: 2px solid var(--waki-teal);
    outline-offset: 3px;
}

.product-infographic-toggle.is-expanded {
    background: rgba(24, 194, 176, .08);
}

.infographic-modal .modal-content {
    background: rgba(8, 20, 36, .58);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: none;
    border-radius: 0;
    min-height: 100%;
    display: flex;
    flex-direction: column;
}

.infographic-modal .modal-header {
    border-bottom: 1px solid rgba(255, 255, 255, .12);
    padding: 14px 18px;
    gap: 16px;
    background: rgba(8, 20, 36, .35);
}

.infographic-modal .modal-title {
    color: #fff;
    font-weight: 750;
    margin: 0;
}

.infographic-zoom-controls {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: auto;
}

.infographic-zoom-btn {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, .18);
    background: rgba(255, 255, 255, .12);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
    transition: background .18s ease, border-color .18s ease, opacity .18s ease;
}

.infographic-zoom-btn:hover,
.infographic-zoom-btn:active {
    background: rgba(24, 194, 176, .28);
    border-color: rgba(24, 194, 176, .6);
}

.infographic-zoom-btn:disabled {
    opacity: .4;
    cursor: default;
}

.infographic-zoom-label {
    min-width: 54px;
    text-align: center;
    color: rgba(255, 255, 255, .85);
    font-size: .86rem;
    font-weight: 650;
}

.infographic-modal .modal-body {
    padding: 24px 16px 40px;
    overflow: auto;
    -webkit-overflow-scrolling: touch;
    background: transparent;
    flex: 1;
    display: flex;
    align-items: safe flex-start;
    justify-content: center;
}

.infographic-modal-stage {
    width: 75vw;
    max-width: 75vw;
    margin: 0 auto;
    flex: 0 0 auto;
    transition: width .2s ease, max-width .2s ease;
    touch-action: pan-x pan-y pinch-zoom;
}

.infographic-modal-img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
    box-shadow: 0 18px 50px rgba(0, 0, 0, .35);
}

body:has(.infographic-modal.show) .modal-backdrop,
body:has(.product-image-modal.show) .modal-backdrop,
body:has(.product-video-modal.show) .modal-backdrop {
    background-color: rgba(8, 20, 36, .45);
    opacity: 1 !important;
}

@media (max-width: 767.98px) {
    .infographic-modal-stage {
        width: 92vw;
        max-width: 92vw;
    }

    .infographic-modal .modal-header {
        flex-wrap: wrap;
    }

    .infographic-zoom-controls {
        width: 100%;
        justify-content: flex-end;
        flex-wrap: wrap;
    }

    .infographic-zoom-btn {
        width: 44px;
        height: 44px;
    }
}

.product-video-card {
    width: 100%;
    padding: 0;
    border: 1px solid var(--waki-border);
    border-radius: 14px;
    overflow: hidden;
    background: var(--waki-bg);
    text-align: left;
    cursor: pointer;
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.product-video-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.product-video-list:has(> :only-child) {
    grid-template-columns: 1fr;
}

.product-video-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--waki-shadow-sm);
    border-color: rgba(24, 194, 176, .45);
}

.product-video-thumb {
    position: relative;
    display: block;
    aspect-ratio: 16 / 9;
    background: #0b1f33;
    overflow: hidden;
}

.product-video-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.product-video-play {
    position: absolute;
    inset: 0;
    margin: auto;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .92);
    color: var(--waki-dark);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    box-shadow: 0 10px 24px rgba(0, 0, 0, .25);
    transition: transform .2s ease;
}

.product-video-play.small {
    width: 36px;
    height: 36px;
    font-size: 1rem;
}

.product-video-card:hover .product-video-play {
    transform: scale(1.08);
}

.product-video-title {
    display: block;
    margin: 0;
    padding: 12px 14px;
    font-size: .9rem;
    font-weight: 600;
    color: var(--waki-text);
}

.product-video-modal .modal-content {
    background: rgba(8, 20, 36, .58);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: none;
    border-radius: 0;
    min-height: 100%;
    display: flex;
    flex-direction: column;
}

.product-video-modal .modal-header {
    border-bottom: 1px solid rgba(255, 255, 255, .12);
    padding: 14px 18px;
    background: rgba(8, 20, 36, .35);
}

.product-video-modal .modal-title {
    color: #fff;
    font-weight: 750;
    margin: 0;
}

.product-video-modal .modal-body {
    padding: 20px 16px 32px;
    background: transparent;
    overflow: auto;
    flex: 1;
}

.product-video-player {
    width: min(960px, 100%);
    margin: 0 auto 22px;
    border-radius: 14px;
    overflow: hidden;
    background: #000;
    box-shadow: 0 18px 50px rgba(0, 0, 0, .35);
}

.product-video-playlist {
    width: min(960px, 100%);
    margin: 0 auto;
}

.product-video-playlist-label {
    color: rgba(255, 255, 255, .8);
    font-size: .8rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.product-video-playlist-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.product-video-playlist-item {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 10px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, .12);
    background: rgba(255, 255, 255, .06);
    color: #fff;
    text-align: left;
    cursor: pointer;
    transition: background .18s ease, border-color .18s ease;
}

.product-video-playlist-item:hover,
.product-video-playlist-item.is-active {
    background: rgba(24, 194, 176, .16);
    border-color: rgba(24, 194, 176, .55);
}

.product-video-playlist-thumb {
    position: relative;
    width: 112px;
    flex: 0 0 112px;
    aspect-ratio: 16 / 9;
    border-radius: 8px;
    overflow: hidden;
    background: #000;
}

.product-video-playlist-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.product-video-playlist-meta {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.product-video-playlist-meta strong {
    font-size: .92rem;
    line-height: 1.3;
}

.product-video-playlist-meta em {
    font-style: normal;
    font-size: .75rem;
    color: rgba(255, 255, 255, .65);
}

@media (max-width: 767.98px) {
    .product-video-list {
        display: flex;
        flex-wrap: nowrap;
        gap: 12px;
        overflow-x: auto;
        overflow-y: hidden;
        max-width: 100%;
        min-width: 0;
        padding-bottom: 8px;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: thin;
    }

    .product-video-list .product-video-card {
        flex: 0 0 min(78vw, 280px);
        max-width: min(78vw, 280px);
        scroll-snap-align: start;
    }

    .product-video-playlist-grid {
        display: flex;
        flex-wrap: nowrap;
        gap: 12px;
        overflow-x: auto;
        overflow-y: hidden;
        padding-bottom: 8px;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: thin;
    }

    .product-video-playlist-item {
        flex: 0 0 min(78vw, 280px);
        max-width: min(78vw, 280px);
        scroll-snap-align: start;
    }

    .product-video-playlist-thumb {
        width: 84px;
        flex-basis: 84px;
    }
}

.product-detail-aside {
    background: #fff;
    border: 1px solid var(--waki-border);
    border-radius: 18px;
    padding: 24px;
    box-shadow: var(--waki-shadow-sm);
    position: sticky;
    top: 100px;
}

.product-detail-meta {
    list-style: none;
    padding: 0;
    margin: 0 0 20px;
}

.product-detail-meta li {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--waki-border);
    font-size: .92rem;
}

.product-detail-meta li span {
    color: var(--waki-muted);
}

.product-detail-meta li strong {
    color: var(--waki-text);
    text-align: right;
}

/* ---------- Reveal animation ---------- */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .6s ease, transform .6s ease;
}

.reveal.is-visible {
    opacity: 1;
    transform: none;
}

/* ---------- Responsive ---------- */
@media (max-width: 991.98px) {
    .section { padding: 60px 0; }
    .hero { padding-top: 120px; }
    .waki-navbar .navbar-collapse {
        background: #fff;
        margin-top: 14px;
        padding: 18px;
        border-radius: 16px;
        box-shadow: var(--waki-shadow-sm);
    }

    /* Clip during height animation; allow language dropup only when fully open */
    .waki-navbar .navbar-collapse.collapsing {
        overflow: hidden;
    }

    .waki-navbar .navbar-collapse.show {
        overflow: visible;
    }

    /* Language menu: open upward and stay inside the panel on mobile */
    .waki-navbar .navbar-collapse .dropdown-menu {
        left: 0;
        right: auto;
        min-width: 11rem;
    }
    .timeline-card { padding: 26px; }
    .branch-map-embed { height: 320px; }
}

@media (max-width: 767.98px) {
    .section { padding: 48px 0; }
    .journey-main {
        gap: 1rem;
    }
    .timeline {
        flex-direction: column;
        gap: 26px;
    }
    .timeline::before { display: none; }
    .timeline-item:not(:last-child)::after { display: none; }
    .stats-band, .purpose-band { padding: 36px 22px; }
    .branch-map-embed { height: 300px; }
    .section.cta-section {
        padding-top: 0;
        padding-bottom: 0;
        margin-bottom: 0;
    }
    .cta-band {
        flex-direction: column;
        text-align: center;
        border-radius: 20px 20px 0 0;
        padding: 36px 22px;
        margin-bottom: 0;
    }
    .cta-actions { justify-content: center; width: 100%; }
    .waki-footer {
        margin-top: 0;
    }
    .footer-bg {
        padding: 40px 22px 10px;
        border-radius: 0;
        margin-top: 0;
    }
    .presence-wrap {
        min-height: auto;
        padding: 32px 24px;
        text-align: center;
    }
    .presence-wrap::before {
        background: linear-gradient(180deg,
            rgba(238, 243, 249, .95) 0%,
            rgba(238, 243, 249, .85) 60%,
            rgba(238, 243, 249, .75) 100%);
    }
    .hero {
        padding-top: 110px;
        text-align: center;
        min-height: auto;
    }
    .hero::before {
        background: linear-gradient(180deg,
            rgba(238, 243, 249, .95) 0%,
            rgba(238, 243, 249, .85) 55%,
            rgba(238, 243, 249, .75) 100%);
    }
    .hero .hero-sub { margin-left: auto; margin-right: auto; }
    .hero .d-flex.avatar-wrap { justify-content: center; }
    .products-hero { padding-top: 120px; }
    .tech-feature {
        flex-direction: column;
    }
    .tech-feature-media {
        flex: none;
        width: 100%;
        height: 180px;
        min-height: 180px;
    }
    .tech-feature-content {
        padding: 18px 16px 20px;
        gap: 14px;
    }
    .tech-feature-icon {
        flex-basis: 40px;
        width: 40px;
        height: 40px;
        font-size: 1.05rem;
    }
    .product-detail-hero { padding-top: 120px; }
    .product-detail-aside { position: static; }
    .product-image-modal-stage {
        width: 92vw;
        max-width: 92vw;
    }
    .product-image-modal .modal-header {
        flex-wrap: wrap;
    }
    .product-image-modal .infographic-zoom-controls {
        width: 100%;
        justify-content: flex-end;
        flex-wrap: wrap;
    }
    .product-gallery-thumbs {
        gap: 12px;
        padding: 8px 2px 12px;
        margin: 0 -2px;
    }

    /* ~3 full thumbs + peek of 4th */
    .product-gallery-thumb {
        flex: 0 0 calc((100% - 36px) / 3.35);
        width: calc((100% - 36px) / 3.35);
        height: auto;
        min-width: 96px;
        aspect-ratio: 1;
    }

    .product-filters {
        flex-wrap: nowrap;
        overflow-x: auto;
        padding-bottom: 6px;
        -webkit-overflow-scrolling: touch;
    }
    .product-filter { white-space: nowrap; }
}
