/* ═══════════════════════════════════════
   DESIGN 12 v2 — Editorial Style
   Inspired by Asia Media: full-bleed hero,
   accordion services, massive editorial type
   ═══════════════════════════════════════ */

/* ── Brand Fonts (from Design 11) ── */
@import url('https://fonts.cdnfonts.com/css/sterion');
@import url('https://fonts.cdnfonts.com/css/sansation');

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    --navy: #0B1529;
    --navy-mid: #111D35;
    --blue: #3B7BF6;
    --blue-glow: rgba(59, 123, 246, .12);
    --white: #FFFFFF;
    --off-white: #F5F6FA;
    --gray-100: #EAEDF5;
    --gray-300: #B0B7CC;
    --gray-500: #6B7394;
    --gray-700: #3A4160;
    --text: #0D1321;
    --font: 'IBM Plex Sans Thai', 'Inter', -apple-system, sans-serif;
    --font-h: 'Prompt', 'IBM Plex Sans Thai', sans-serif;
}

html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }

body {
    font-family: var(--font);
    color: var(--text);
    background: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

html {
    overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }

.wrap { max-width: 1200px; margin: 0 auto; padding: 0 48px; }


/* ═══════════════════════════════════════
   NAV — Transparent on hero, solid on scroll
   ═══════════════════════════════════════ */
nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    padding: 0 48px;
    transition: background .3s, border-color .3s, transform .35s cubic-bezier(.4,0,.2,1);
    background: transparent;
    border-bottom: 1px solid transparent;
    overflow: visible;
}

nav.scrolled {
    background: var(--white);
    border-bottom-color: var(--gray-100);
}

nav.scrolled .logo-text,
nav.scrolled .nav-links > a { color: var(--text); }

nav.scrolled .menu-toggle span { background: var(--text); }

.nav-inner {
    width: 100%;
    height: 80px;
    display: flex;
    align-items: center;
    gap: 20px;
    overflow: visible;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo img { height: 36px; width: auto; }

.logo-text {
    font-family: 'Sterion', sans-serif;
    font-style: normal;
    font-weight: 700;
    font-size: 1.3rem;
    color: var(--white);
    letter-spacing: 0.02em;
    transition: color .3s;
}

.logo-sub {
    font-family: var(--font);
    font-style: normal;
    font-size: .7rem;
    font-weight: 500;
    color: var(--gray-300);
    letter-spacing: 0.04em;
    margin-left: -4px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 36px;
    margin: 0 auto;
}

.nav-links > a {
    font-size: .88rem;
    font-weight: 500;
    color: rgba(255,255,255,.7);
    transition: color .2s;
}

.nav-links > a:hover { color: var(--white); }

nav.scrolled .nav-links > a:hover { color: var(--blue); }

/* ─── Nav mega menu (ผลิตภัณฑ์) ─── */
.nav-mega-wrap {
    position: relative;
    display: flex;
    align-items: center;
    height: 100%;
}
.nav-mega-trigger {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 0;
    margin: 0;
    border: none;
    background: none;
    cursor: pointer;
    font-family: inherit;
    font-size: .88rem;
    font-weight: 500;
    color: rgba(255, 255, 255, .92);
    transition: color .2s;
}
.nav-mega-trigger:hover,
.nav-mega-wrap:focus-within .nav-mega-trigger {
    color: #fff;
}
nav.scrolled .nav-mega-trigger {
    color: var(--text);
}
nav.scrolled .nav-mega-trigger:hover,
nav.scrolled .nav-mega-wrap:focus-within .nav-mega-trigger {
    color: var(--blue);
}
.nav-mega-chevron {
    flex-shrink: 0;
    transition: transform .2s ease;
    opacity: .95;
}
nav.scrolled .nav-mega-chevron {
    opacity: 1;
    color: var(--gray-700);
}
.nav-mega-panel {
    position: absolute;
    left: 50%;
    top: 100%;
    transform: translateX(-50%) translateY(6px);
    min-width: 700px;
    max-width: min(820px, calc(100vw - 40px));
    padding-top: 10px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .2s ease, visibility .2s ease, transform .2s ease;
    z-index: 250;
}
@media (min-width: 901px) {
    .nav-mega-wrap:hover .nav-mega-chevron,
    .nav-mega-wrap:focus-within .nav-mega-chevron {
        transform: rotate(180deg);
    }
    .nav-mega-wrap:hover .nav-mega-panel,
    .nav-mega-wrap:focus-within .nav-mega-panel {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translateX(-50%) translateY(0);
    }
}
.nav-mega-card {
    background: var(--white);
    border: 1px solid var(--gray-100);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 24px 56px rgba(15, 23, 42, .12);
}
.nav-mega-inner {
    padding: 22px 24px 20px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    border: none;
    border-radius: 0;
}
.nav-mega-col {
    min-width: 0;
}
.nav-mega-cat {
    display: block;
    font-size: .95rem;
    font-weight: 700;
    color: #0f172a;
    letter-spacing: -.01em;
    margin: 0 0 6px;
    transition: color .15s;
}
.nav-mega-cat:hover {
    color: var(--blue);
}
.nav-mega-cat-sub {
    margin: 0 0 14px;
    font-size: .78rem;
    line-height: 1.45;
    color: #475569;
    font-weight: 500;
}
.nav-mega-packages {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.nav-mega-pkg {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 12px;
    padding: 9px 11px;
    border-radius: 10px;
    color: #0f172a;
    transition: background .15s;
    font-size: .82rem;
}
.nav-mega-pkg:hover {
    background: #f1f5f9;
}
.nav-mega-pkg-name {
    font-weight: 600;
    color: #0f172a;
    flex: 1;
    min-width: 0;
}
.nav-mega-pkg-price {
    flex-shrink: 0;
    font-weight: 700;
    font-family: 'Inter', sans-serif;
    font-size: .8rem;
    color: #1d4ed8;
}
.nav-mega-pkg:hover .nav-mega-pkg-name {
    color: var(--blue);
}
.nav-mega-footer {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 20px;
    padding: 14px 22px 16px;
    background: #f1f5f9;
    border-top: 1px solid #e2e8f0;
}
.nav-mega-foot {
    display: inline-flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    font-size: .8rem;
    font-weight: 600;
    color: #0f172a;
    transition: color .15s;
}
.nav-mega-foot:hover {
    color: #1d4ed8;
}
.nav-mega-foot-meta {
    font-size: .72rem;
    font-weight: 500;
    color: #475569;
}
.nav-mega-foot:hover .nav-mega-foot-meta {
    color: #334155;
}

.nav-cta {
    margin-left: 16px;
    font-family: var(--font);
    font-size: .85rem;
    font-weight: 600;
    color: var(--white);
    background: var(--blue);
    padding: 10px 28px;
    border-radius: 100px;
    transition: transform .2s, opacity .2s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.nav-cta:hover { transform: translateY(-1px); opacity: .9; }

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.menu-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: .3s;
}



/* ─── Nav Actions (Search, Support, Language) ─── */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-left: 24px;
}
.nav-action-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,.15);
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: rgba(255,255,255,.65);
    transition: all .25s ease;
    position: relative;
    padding: 0;
    font-family: var(--font);
}
.nav-action-btn:hover {
    background: rgba(255,255,255,.1);
    color: var(--white);
    border-color: rgba(255,255,255,.3);
}
nav.scrolled .nav-action-btn {
    color: var(--gray-500);
    border-color: var(--gray-100);
}
nav.scrolled .nav-action-btn:hover {
    color: var(--blue);
    background: var(--blue-glow);
    border-color: rgba(59,123,246,.2);
}
.nav-action-btn svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

/* ─── Language Dropdown ─── */
.lang-wrap { position: relative; }
.lang-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: var(--white);
    border: 1px solid var(--gray-100);
    border-radius: 12px;
    box-shadow: 0 12px 40px rgba(0,0,0,.12);
    min-width: 140px;
    padding: 6px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: all .2s ease;
    z-index: 200;
}
.lang-dropdown.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.lang-dropdown a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border-radius: 8px;
    font-size: .85rem;
    font-weight: 500;
    color: var(--gray-700);
    transition: background .15s, color .15s;
}
.lang-dropdown a:hover {
    background: var(--off-white);
    color: var(--text);
}
.lang-dropdown a.active {
    color: var(--blue);
    font-weight: 600;
}

/* ─── Search Overlay ─── */
.search-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0; /* Add bottom: 0 to cover full screen */
    background: var(--white);
    z-index: 150;
    padding: 0 48px;
    transform: translateY(-100%);
    transition: transform .35s cubic-bezier(.4,0,.2,1);
    box-shadow: 0 8px 40px rgba(0,0,0,.1);
}
.search-overlay.open {
    transform: translateY(0);
}
.search-overlay-inner {
    max-width: 1200px;
    margin: 0 auto;
    height: 80px;
    display: flex;
    align-items: center;
    gap: 16px;
}
.search-overlay input {
    flex: 1;
    border: none;
    outline: none;
    font-family: var(--font);
    font-size: 1.1rem;
    color: var(--text);
    background: transparent;
    padding: 12px 0;
}
.search-overlay input::placeholder {
    color: var(--gray-300);
}
.search-overlay .search-icon {
    color: var(--gray-300);
    flex-shrink: 0;
}
.search-close-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid var(--gray-100);
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--gray-500);
    transition: all .2s;
    flex-shrink: 0;
    padding: 0;
}
.search-close-btn:hover {
    background: var(--off-white);
    color: var(--text);
}

/* ─── Search Results ─── */
.search-results {
    max-width: 1200px;
    margin: 0 auto;
    padding: 24px 0 60px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-height: calc(100vh - 120px);
    overflow-y: auto;
}
.search-results.hidden {
    display: none !important;
}
.search-item {
    display: flex;
    flex-direction: column;
    padding: 16px 24px;
    background: rgba(255,255,255,1);
    border: 1px solid var(--gray-100);
    border-radius: 12px;
    text-decoration: none;
    transition: all .2s;
}
.search-item:hover {
    border-color: var(--blue);
    background: var(--off-white);
    transform: translateX(4px);
}
.search-item-title {
    font-family: var(--font-h);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 4px;
}
.search-item-desc {
    font-size: 0.85rem;
    color: var(--gray-500);
}
.search-empty {
    padding: 32px 0;
    text-align: center;
    color: var(--gray-500);
    font-size: 1rem;
}


/* ═══════════════════════════════════════
   HERO — Full-screen, mosaic background,
   MASSIVE text overlay (Asia Media style)
   ═══════════════════════════════════════ */
.hero {
    position: relative;
    min-height: 100vh;
    background: var(--navy);
    display: flex;
    align-items: flex-end;
    overflow: hidden;
}

/* Mosaic of portfolio images behind the text */
.hero-mosaic {
    position: absolute;
    inset: 0;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(3, 1fr);
    gap: 12px;
    padding: 80px 48px 0;
    opacity: .25;
    pointer-events: none;
}

.hero-mosaic img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 16px;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(11, 21, 41, .3) 0%,
        rgba(11, 21, 41, .6) 40%,
        rgba(11, 21, 41, .95) 80%,
        var(--navy) 100%
    );
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 0 48px 100px;
    max-width: 1296px;
    margin: 0 auto;
    width: 100%;
}

.hero-content h1 {
    font-family: var(--font-h);
    font-size: clamp(3rem, 7vw, 6rem);
    font-weight: 700;
    line-height: 1.05;
    color: var(--white);
    letter-spacing: -.03em;
    margin-bottom: 32px;
}

.hero-content h1 .line2 {
    color: var(--blue);
}

.hero-sub {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 40px;
}

.hero-sub p {
    font-size: 1.1rem;
    color: rgba(255,255,255,.5);
    max-width: 420px;
    line-height: 1.7;
}

.hero-btns {
    display: flex;
    gap: 16px;
    flex-shrink: 0;
}

.btn-main {
    font-family: var(--font);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 1rem;
    font-weight: 600;
    color: var(--navy);
    background: var(--white);
    padding: 18px 40px;
    border-radius: 100px;
    border: none;
    cursor: pointer;
    transition: transform .2s, box-shadow .2s;
}

.btn-main:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(255,255,255,.1);
}

.btn-outline-light {
    font-family: var(--font);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 1rem;
    font-weight: 500;
    color: rgba(255,255,255,.7);
    padding: 18px 32px;
    border-radius: 100px;
    border: 1px solid rgba(255,255,255,.2);
    transition: border-color .2s, color .2s;
}

.btn-outline-light:hover {
    border-color: rgba(255,255,255,.5);
    color: var(--white);
}


/* ═══════════════════════════════════════
   SECTION LABEL — "+ Label" format
   ═══════════════════════════════════════ */
.sec-label {
    font-size: .8rem;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.sec-label::before {
    content: '+';
    width: 24px;
    height: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1.5px solid currentColor;
    border-radius: 50%;
    font-size: .7rem;
    opacity: .5;
}

.section-title {
    font-family: var(--font-h);
    font-size: clamp(2.5rem, 5.5vw, 5rem);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -.02em;
}

.section-title .dot { color: var(--blue); }


/* ═══════════════════════════════════════
   INTRO — White, editorial layout
   ═══════════════════════════════════════ */
.intro {
    background: var(--white);
    padding: 160px 0;
}

.intro-top {
    margin-bottom: 80px;
}

.intro-top .sec-label {
    color: var(--gray-500);
    margin-bottom: 32px;
    display: flex;
}

.intro-top h2 {
    max-width: 800px;
}

.intro-split {
    display: grid;
    grid-template-columns: 1fr .9fr;
    gap: 80px;
    align-items: end;
}

.intro-img {
    border-radius: 20px;
    overflow: hidden;
    aspect-ratio: 4/3;
}

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

.intro-text p {
    font-size: 1.1rem;
    color: var(--gray-500);
    line-height: 1.9;
    margin-bottom: 48px;
}

.stats {
    display: flex;
    gap: 48px;
}

.stat-val {
    font-family: var(--font-h);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--blue);
    line-height: 1;
}

.stat-lbl {
    font-size: .78rem;
    color: var(--gray-500);
    margin-top: 6px;
}


/* ═══════════════════════════════════════
   SERVICES — Dark, ACCORDION list
   (NOT card grid — this is what makes
   Asia Media look different)
   ═══════════════════════════════════════ */
.services {
    background: var(--navy);
    color: var(--white);
    padding: 140px 0;
    position: relative;
    overflow: hidden;
}

/* 3D abstract shapes in background like Asia Media */
.services-bg {
    position: absolute;
    right: -100px;
    top: 50%;
    transform: translateY(-50%);
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(59,123,246,.08), transparent 70%);
    pointer-events: none;
}

.services-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 80px;
    gap: 40px;
}

.services-header .sec-label {
    color: rgba(255,255,255,.4);
    margin-bottom: 24px;
    display: flex;
}

.services-header h2 {
    color: var(--white);
}

.services-header .desc {
    font-size: .95rem;
    color: rgba(255,255,255,.4);
    max-width: 320px;
    line-height: 1.7;
    padding-top: 20px;
}

/* Accordion items — Simple horizontal rows */
.svc-list {
    border-top: 1px solid rgba(255,255,255,.1);
}

.svc-item {
    border-bottom: 1px solid rgba(255,255,255,.1);
    overflow: hidden;
}

.svc-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 32px 0;
    cursor: pointer;
    transition: opacity .2s;
    text-decoration: none;
    color: var(--white);
}

.svc-header:hover { opacity: .7; }

.svc-header h3 {
    font-family: var(--font-h);
    font-size: 1.6rem;
    font-weight: 600;
}

.svc-meta {
    display: flex;
    align-items: center;
    gap: 32px;
}

.svc-price {
    font-family: var(--font-h);
    font-size: 1rem;
    font-weight: 600;
    color: var(--blue);
}

.svc-desc {
    font-size: .88rem;
    color: rgba(255,255,255,.4);
    max-width: 280px;
    display: none;
}

.svc-expand {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,.2);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: border-color .2s, transform .3s;
    color: rgba(255,255,255,.5);
}

.svc-header:hover .svc-expand {
    border-color: rgba(255,255,255,.5);
}

.svc-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height .4s ease, padding .4s ease;
}

.svc-item.open .svc-body {
    max-height: 400px;
    padding-bottom: 32px;
}

.svc-item.open .svc-expand {
    transform: rotate(45deg);
}

.svc-body-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.svc-body-img {
    border-radius: 16px;
    overflow: hidden;
    max-height: 280px;
}

.svc-body-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.svc-body-text p {
    font-size: .95rem;
    color: rgba(255,255,255,.6);
    line-height: 1.7;
    margin-bottom: 20px;
}

.svc-body-text .svc-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: .9rem;
    font-weight: 600;
    color: var(--white);
    background: var(--blue);
    padding: 12px 28px;
    border-radius: 100px;
    transition: transform .2s;
}

.svc-body-text .svc-link:hover {
    transform: translateY(-2px);
}

.svc-badge {
    display: inline-block;
    background: var(--blue);
    color: var(--white);
    font-size: .7rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 100px;
    margin-left: 16px;
    vertical-align: middle;
}

/* ─── Service Overview Cards (Homepage) ─── */
.svc-overview {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-top: 48px;
}
.svc-ov-card {
    position: relative;
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 16px;
    padding: 32px 24px;
    transition: all .35s cubic-bezier(.4,0,.2,1);
    display: flex;
    flex-direction: column;
    gap: 12px;
    cursor: pointer;
}
.svc-ov-card:hover {
    background: rgba(255,255,255,.08);
    border-color: rgba(59,123,246,.3);
    transform: translateY(-4px);
}
.svc-ov-featured {
    border-color: rgba(59,123,246,.25);
    background: rgba(59,123,246,.06);
}
.svc-ov-img {
    width: 100%;
    border-radius: 10px;
    overflow: hidden;
    background: rgba(255,255,255,.06);
    margin-bottom: 8px;
}
.svc-ov-img img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform .4s ease;
}
.svc-ov-card:hover .svc-ov-img img {
    transform: scale(1.03);
}
.svc-ov-card h3 {
    font-family: var(--font-h);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--white);
}
.svc-ov-card p {
    font-size: .85rem;
    color: var(--gray-300);
    line-height: 1.6;
    flex: 1;
}
.svc-ov-price {
    font-size: .85rem;
    color: var(--gray-300);
    margin-top: 8px;
}
.svc-ov-price strong {
    color: var(--blue);
    font-size: 1.1rem;
    font-weight: 700;
}
.svc-ov-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--blue);
    font-size: .85rem;
    font-weight: 500;
    margin-top: 12px;
    transition: gap .3s ease;
}
.svc-ov-card:hover .svc-ov-link {
    gap: 10px;
}

/* Helper CTA */
.svc-helper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 32px;
    padding: 18px 32px;
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,.08);
    background: rgba(255,255,255,.04);
    color: var(--gray-300);
    font-size: .9rem;
    transition: all .3s ease;
    text-decoration: none;
}
.svc-helper:hover {
    background: rgba(59,123,246,.08);
    border-color: rgba(59,123,246,.2);
    color: var(--white);
}
.svc-helper-icon {
    opacity: .5;
}
.svc-helper:hover .svc-helper-icon { opacity: 1; }
.svc-helper-arrow {
    color: var(--blue);
    font-weight: 600;
}
.svc-ov-sublinks {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid rgba(255,255,255,.1);
}
.svc-ov-sublinks a {
    display: flex;
    align-items: center;
    font-size: .85rem;
    color: var(--gray-300);
    padding: 8px 12px;
    border-radius: 8px;
    background: rgba(255,255,255,.04);
    transition: all .2s ease;
}
.svc-ov-sublinks a:hover {
    background: rgba(59,123,246,.12);
    color: var(--white);
}

/* Portfolio full-width single card */
.port-card-full {
    grid-column: 1 / -1;
}
.port-card-full .port-card-foot {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}


/* ═══════════════════════════════════════
   PORTFOLIO — Off-white, BIG images
   like Asia Media's 2-column showcase
   ═══════════════════════════════════════ */
.portfolio {
    background: var(--off-white);
    padding: 140px 0;
}

.port-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 64px;
}

.port-head .sec-label {
    color: var(--gray-500);
    margin-bottom: 24px;
    display: flex;
}

.btn-outline-dark {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font);
    font-size: .88rem;
    font-weight: 600;
    color: var(--text);
    border: 1.5px solid var(--gray-300);
    padding: 12px 28px;
    border-radius: 100px;
    transition: background .2s, border-color .2s;
}

.btn-outline-dark::after {
    content: '';
    width: 7px;
    height: 7px;
    background: var(--blue);
    border-radius: 50%;
}

.btn-outline-dark:hover {
    background: var(--white);
    border-color: var(--text);
}

/* Large 2-column portfolio grid */
.port-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.port-card {
    border-radius: 20px;
    overflow: hidden;
    background: var(--white);
    transition: transform .4s ease, box-shadow .4s ease;
    display: block;
}

.port-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 24px 64px rgba(0,0,0,.08);
}

.port-card-img {
    width: 100%;
    aspect-ratio: 16/10;
    overflow: hidden;
}

.port-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .6s ease;
}

.port-card:hover .port-card-img img {
    transform: scale(1.04);
}

.port-card-foot {
    padding: 20px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.port-card-foot strong {
    font-family: var(--font-h);
    font-size: .95rem;
    font-weight: 600;
}

.port-card-foot .dots {
    display: flex;
    gap: 4px;
}

.port-card-foot .dots span {
    width: 5px;
    height: 5px;
    background: var(--gray-300);
    border-radius: 50%;
}


/* ═══════════════════════════════════════
   CTA — Dark, massive text, centered
   ═══════════════════════════════════════ */
.cta {
    background: var(--navy);
    color: var(--white);
    padding: 160px 0;
    text-align: center;
}

.cta h2 {
    font-family: var(--font-h);
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 24px;
    letter-spacing: -.02em;
}

.cta h2 .dot { color: var(--blue); }

.cta p {
    font-size: 1.05rem;
    color: rgba(255,255,255,.45);
    margin-bottom: 48px;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
}

.cta .btn-main { font-size: 1.05rem; padding: 20px 48px; }

.cta-contacts {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-top: 40px;
}

.cta-contacts a {
    font-size: .85rem;
    color: rgba(255,255,255,.4);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 24px;
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 100px;
    transition: border-color .2s, color .2s;
}

.cta-contacts a:hover {
    border-color: rgba(255,255,255,.3);
    color: rgba(255,255,255,.7);
}


/* ═══════════════════════════════════════
   FOOTER — Off-white + dark bottom bar
   ═══════════════════════════════════════ */
footer {
    background: var(--off-white);
    padding: 80px 0 0;
}

footer .logo-text {
    color: var(--navy);
}

footer .logo-sub {
    color: var(--gray-500);
}

.foot-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 64px;
}

.foot-brand p {
    font-size: .88rem;
    color: var(--gray-500);
    line-height: 1.7;
    max-width: 280px;
    margin-top: 20px;
}

.foot-social {
    display: flex;
    gap: 12px;
    margin-top: 28px;
}

.foot-social a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--gray-300);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-500);
    transition: all .2s;
}

.foot-social a:hover {
    background: var(--navy);
    color: var(--white);
    border-color: var(--navy);
}

.foot-col h4 {
    font-family: var(--font-h);
    font-size: .95rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.foot-col a {
    display: block;
    font-size: .85rem;
    color: var(--gray-500);
    margin-bottom: 12px;
    transition: color .2s;
}

.foot-col a:hover { color: var(--text); }

.foot-bar {
    background: var(--navy);
    padding: 20px 0;
}

.foot-bar-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 48px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.foot-bar small { font-size: .8rem; color: rgba(255,255,255,.4); }


/* ═══════════════════════════════════════
   REVEAL
   ═══════════════════════════════════════ */
[data-r] {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity .8s ease, transform .8s ease;
}

[data-r].vis {
    opacity: 1;
    transform: translateY(0);
}


/* ═══════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════ */
@media (max-width: 900px) {
    .wrap { padding: 0 24px; }
    nav { padding: 0 24px; }
    .nav-inner { justify-content: space-between; }
    .nav-links, .nav-cta { display: none; }
    .nav-actions { margin-left: auto; margin-right: 12px; gap: 2px; }
    .nav-action-btn { width: 34px; height: 34px; }
    .nav-action-btn svg { width: 16px; height: 16px; }
    .search-overlay { padding: 0 24px; }
    .menu-toggle { display: flex; }

    .nav-links.on {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 80px; left: 0; right: 0;
        background: var(--white);
        border-bottom: 1px solid var(--gray-100);
        padding: 24px;
        gap: 20px;
        z-index: 200;
        box-shadow: 0 8px 24px rgba(0,0,0,.08);
    }
    .nav-links.on a { color: var(--text) !important; }

    .nav-mega-wrap {
        width: 100%;
        flex-direction: column;
        align-items: stretch;
    }
    .nav-mega-trigger {
        width: 100%;
        justify-content: space-between;
        padding: 4px 0;
        color: var(--text) !important;
    }
    .nav-mega-chevron {
        transform: rotate(0deg);
    }
    .nav-mega-wrap.nav-mega-open .nav-mega-chevron {
        transform: rotate(180deg);
    }
    .nav-mega-panel {
        position: static;
        left: auto;
        top: auto;
        transform: none !important;
        min-width: 0;
        max-width: none;
        width: 100%;
        padding-top: 0;
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        display: none;
        filter: none;
        margin-top: 8px;
    }
    .nav-mega-wrap.nav-mega-open .nav-mega-panel {
        display: block;
    }
    .nav-mega-card {
        box-shadow: 0 4px 20px rgba(15, 23, 42, .08);
    }
    .nav-mega-inner {
        grid-template-columns: 1fr;
        gap: 22px;
        padding: 18px;
        background: var(--white);
    }
    .nav-mega-footer {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }
    .nav-mega-cat,
    .nav-mega-pkg-name,
    .nav-mega-foot {
        color: #0f172a !important;
    }
    .nav-mega-cat-sub,
    .nav-mega-foot-meta {
        color: #475569 !important;
    }
    .nav-mega-pkg-price {
        color: #1d4ed8 !important;
    }

    .hero-content { padding: 0 24px 60px; }
    .hero-content h1 { font-size: 2.8rem; }
    .hero-sub { flex-direction: column; gap: 24px; align-items: flex-start; }
    .hero-btns { flex-direction: column; width: 100%; }
    .btn-main, .btn-outline-light { justify-content: center; width: 100%; }

    .hero-mosaic { grid-template-columns: repeat(3, 1fr); grid-template-rows: repeat(2, 1fr); }

    .intro { padding: 80px 0; }
    .intro-split { grid-template-columns: 1fr; gap: 40px; }

    .services { padding: 80px 0; }
    .services-header { flex-direction: column; gap: 16px; }
    .svc-header h3 { font-size: 1.2rem; }
    .svc-meta { gap: 16px; }
    .svc-body-inner { grid-template-columns: 1fr; }
    .svc-overview { grid-template-columns: repeat(2, 1fr); }

    .portfolio { padding: 80px 0; }
    .port-head { flex-direction: column; align-items: flex-start; gap: 24px; }
    .port-grid { grid-template-columns: 1fr; }

    .cta { padding: 80px 0; }
    .cta-contacts { flex-direction: column; align-items: center; }

    .foot-grid { grid-template-columns: 1fr; gap: 32px; }
}

@media (max-width: 600px) {
    .hero-content h1 { font-size: 2.2rem; }
    .svc-desc { display: none; }
    .svc-overview { grid-template-columns: 1fr; gap: 16px; }
    .svc-ov-card { padding: 24px 20px; }
    .hero-mosaic { grid-template-columns: repeat(2, 1fr); gap: 8px; }
    .stats { flex-direction: column; gap: 24px; }
}
