/* ============================================================
   SYNERGY ELECTRICAL — WEBSITE V1
   Main stylesheet
   HTML5 / CSS3 / Vanilla JavaScript
   ============================================================ */

/* ------------------------------------------------------------
   01. DESIGN TOKENS
------------------------------------------------------------ */

:root {
    --color-navy: #061525;
    --color-navy-deep: #020b16;
    --color-navy-soft: #10253b;

    --color-red: #d92332;
    --color-red-dark: #991522;
    --color-blue: #168de0;

    --color-white: #ffffff;
    --color-muted: #c6d0dc;
    --color-muted-dark: #8e9bad;

    --glass-background: rgba(12, 27, 45, 0.48);
    --glass-border: rgba(255, 255, 255, 0.22);

    --font-main: "Segoe UI", Arial, sans-serif;

    --header-height: 110px;
    --side-nav-width: 125px;

    --transition-fast: 0.25s ease;
    --transition-medium: 0.45s ease;
    --transition-slow: 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}


/* ------------------------------------------------------------
   02. RESET
------------------------------------------------------------ */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-snap-type: none;
    scroll-padding-top: 0;
}

body {
    margin: 0;
    padding: 0;

    background: var(--color-navy-deep);
    color: var(--color-white);

    font-family: var(--font-main);
    font-size: 16px;
    line-height: 1.5;

    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

button {
    font: inherit;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

button:focus-visible,
a:focus-visible {
    outline: 2px solid #69c5ff;
    outline-offset: 5px;
}

::selection {
    background: var(--color-red);
    color: white;
}


/* ------------------------------------------------------------
   03. FULLSCREEN SCENES
------------------------------------------------------------ */

.scene {
    position: relative;

    width: 100%;
    min-height: 100vh;
    min-height: 100svh;

    overflow: hidden;
    isolation: isolate;

    scroll-snap-align: start;
}

main {
    position: relative;
    width: 100%;
}


/* ------------------------------------------------------------
   04. HEADER
------------------------------------------------------------ */

.site-header {
    position: fixed;
    top: 0;
    left: 0;

    width: 100%;
    height: var(--header-height);

    padding: 0 clamp(30px, 5.2vw, 110px);

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 35px;

    z-index: 1000;

    transition:
        background var(--transition-medium),
        height var(--transition-medium);
}

.site-header.scrolled {
    height: 82px;

    background: rgba(3, 14, 28, 0.78);
    backdrop-filter: blur(22px);
    -webkit-backdrop-filter: blur(22px);

    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}


/* ------------------------------------------------------------
   05. MAIN NAVIGATION
------------------------------------------------------------ */

.main-navigation {
    display: flex;
    align-items: center;
    justify-content: center;

    gap: clamp(17px, 2vw, 36px);
}

.nav-link {
    position: relative;

    font-size: 13px;
    font-weight: 500;
    white-space: nowrap;

    color: rgba(255, 255, 255, 0.82);

    padding: 10px 0;

    transition: color var(--transition-fast);
}

.nav-link:hover,
.nav-link.active {
    color: white;
}

.nav-link::after {
    content: "";

    position: absolute;
    left: 0;
    bottom: 1px;

    width: 0;
    height: 2px;

    background: var(--color-red);

    transition: width var(--transition-medium);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}


/* ------------------------------------------------------------
   06. HEADER ACTIONS
------------------------------------------------------------ */

.header-actions {
    display: flex;
    align-items: center;
    gap: 26px;

    flex-shrink: 0;
}

.language-switcher {
    display: flex;
    align-items: center;
    gap: 8px;
}

.language-button {
    border: 0;
    background: transparent;

    color: rgba(255, 255, 255, 0.55);

    font-size: 13px;
    font-weight: 600;

    padding: 7px 2px;

    cursor: pointer;

    transition: color var(--transition-fast);
}

.language-button:hover,
.language-button.active {
    color: white;
}

.language-divider {
    color: rgba(255, 255, 255, 0.3);
    font-size: 12px;
}

.header-whatsapp {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 22px;

    min-height: 48px;
    padding: 0 22px;

    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 15px;

    background: linear-gradient(
        135deg,
        #a71825 0%,
        #d72432 55%,
        #97121e 100%
    );

    box-shadow:
        0 8px 30px rgba(173, 15, 30, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);

    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;

    transition:
        transform var(--transition-fast),
        box-shadow var(--transition-fast);
}

.header-whatsapp:hover {
    transform: translateY(-2px);

    box-shadow:
        0 12px 35px rgba(215, 25, 44, 0.45),
        inset 0 1px 0 rgba(255, 255, 255, 0.25);
}


/* ------------------------------------------------------------
   07. MOBILE MENU
------------------------------------------------------------ */

.mobile-menu-toggle {
    display: none;

    width: 44px;
    height: 44px;

    padding: 10px;

    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 12px;

    background: rgba(255, 255, 255, 0.07);

    cursor: pointer;
}

.mobile-menu-toggle span {
    display: block;

    height: 2px;
    margin: 5px 0;

    background: white;

    transition: transform var(--transition-fast);
}

.mobile-navigation {
    position: fixed;
    inset: 0;

    z-index: 990;

    padding: 120px 35px 40px;

    background: rgba(3, 14, 28, 0.97);
    backdrop-filter: blur(20px);

    flex-direction: column;
    align-items: flex-start;
    gap: 22px;
}

.mobile-navigation:not([hidden]) {
    display: flex;
}

.mobile-navigation[hidden] {
    display: none;
}

.mobile-navigation a {
    font-size: clamp(25px, 5vw, 40px);
    font-weight: 300;
}


/* ------------------------------------------------------------
   08. SIDE NAVIGATION
------------------------------------------------------------ */

.side-navigation {
    position: fixed;

    top: 50%;
    left: clamp(18px, 2.8vw, 55px);

    transform: translateY(-50%);

    display: flex;
    flex-direction: column;

    gap: 27px;

    z-index: 900;
}

.side-navigation::before {
    content: "";

    position: absolute;

    left: -13px;
    top: 0;
    bottom: 0;

    width: 1px;

    background: rgba(255, 255, 255, 0.25);
}

.side-nav-item {
    position: relative;

    display: flex;
    flex-direction: column;

    gap: 2px;

    min-width: 60px;

    opacity: 0.55;

    transition:
        opacity var(--transition-fast),
        transform var(--transition-fast);
}

.side-nav-item:hover,
.side-nav-item.active {
    opacity: 1;
}

.side-nav-item.active::before {
    content: "";

    position: absolute;

    left: -14px;
    top: 0;

    width: 3px;
    height: 30px;

    background: var(--color-red);

    box-shadow: 0 0 15px rgba(225, 40, 55, 0.5);
}

.side-nav-number {
    font-size: 12px;
    font-weight: 600;
}

.side-nav-label {
    font-size: 11px;
    color: var(--color-muted);
}


/* ------------------------------------------------------------
   09. HERO BACKGROUND
------------------------------------------------------------ */

.hero-scene {
    align-items: center;

    background: var(--color-navy-deep);
}

.hero-background {
    position: absolute;
    inset: -3%;

    z-index: -4;

    background-image: url("../images/hero/hero-villa.webp");
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;

    transform: scale(1.035);

    
}

.hero-overlay {
    position: absolute;
    inset: 0;

    z-index: -3;

    background:
        linear-gradient(
            90deg,
            rgba(1, 10, 22, 0.88) 0%,
            rgba(2, 13, 28, 0.74) 25%,
            rgba(3, 15, 30, 0.42) 48%,
            rgba(3, 14, 27, 0.10) 77%,
            rgba(2, 10, 20, 0.14) 100%
        ),
        linear-gradient(
            0deg,
            rgba(1, 8, 18, 0.52) 0%,
            transparent 30%,
            transparent 75%,
            rgba(1, 8, 18, 0.22) 100%
        );
}

.hero-bottom-gradient {
    position: absolute;

    left: 0;
    right: 0;
    bottom: 0;

    height: 18%;

    z-index: -1;

    background: linear-gradient(
        0deg,
        rgba(2, 9, 20, 0.55),
        transparent
    );

    pointer-events: none;
}


/* ------------------------------------------------------------
   11. HERO CONTENT
------------------------------------------------------------ */

.hero-content {

    z-index: 5;

    margin-left: clamp(145px, 10.5vw, 220px);
    padding-bottom: 45px;
}

.hero-eyebrow {
    display: flex;
    align-items: center;

    gap: 20px;

    margin-bottom: 15px;

    color: rgba(255, 255, 255, 0.88);

    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.35em;
}

.eyebrow-line {
    display: block;

    width: 95px;
    height: 1px;

    background: rgba(255, 255, 255, 0.5);
}

.hero-title {
    margin: 0;

    font-size: clamp(49px, 5.15vw, 88px);
    font-weight: 300;
    line-height: 0.99;
    letter-spacing: -0.055em;

    text-shadow: 0 5px 25px rgba(0, 0, 0, 0.15);
}

.hero-title span {
    display: block;
}

.hero-title .text-accent {
    color: #e52b3b;
    font-weight: 400;
}

.hero-description {
    max-width: 490px;

    margin: 25px 0 0;

    font-size: clamp(14px, 1.12vw, 18px);
    font-weight: 400;
    line-height: 1.48;

    color: rgba(255, 255, 255, 0.88);
}


/* ------------------------------------------------------------
   12. HERO BUTTONS
------------------------------------------------------------ */

.hero-buttons {
    display: flex;
    align-items: center;

    gap: 15px;

    margin-top: 28px;
}

.button {
    position: relative;

    display: inline-flex;
    align-items: center;
    justify-content: space-between;

    gap: 30px;

    min-height: 58px;
    padding: 0 25px;

    border-radius: 17px;

    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.02em;

    white-space: nowrap;

    overflow: hidden;

    transition:
        transform var(--transition-fast),
        background var(--transition-fast),
        box-shadow var(--transition-fast);
}

.button:hover {
    transform: translateY(-3px);
}

.button-primary {
    min-width: 215px;

    background: linear-gradient(
        135deg,
        #a81725,
        #e32637 65%,
        #aa1523
    );

    border: 1px solid rgba(255, 120, 130, 0.55);

    box-shadow:
        0 8px 32px rgba(220, 25, 45, 0.35),
        inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.button-primary:hover {
    box-shadow:
        0 12px 42px rgba(225, 35, 55, 0.52);
}

.button-glass {
    min-width: 190px;

    background: rgba(10, 25, 43, 0.42);

    border: 1px solid rgba(255, 255, 255, 0.38);

    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);

    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.10);
}

.button-glass:hover {
    background: rgba(255, 255, 255, 0.13);
}

.button-arrow {
    font-size: 19px;
    font-weight: 300;
}


/* ------------------------------------------------------------
   13. SERVICE TAGS
------------------------------------------------------------ */

.hero-service-tags {
    display: flex;
    align-items: center;
    flex-wrap: wrap;

    gap: 10px;

    margin-top: 35px;

    font-size: 9px;
    font-weight: 500;
    letter-spacing: 0.06em;

    color: rgba(255, 255, 255, 0.75);
}

.hero-service-tags span {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.hero-service-tags span:not(:last-child)::after {
    content: "";

    width: 24px;
    height: 1px;

    background: rgba(255, 255, 255, 0.35);
}


/* ------------------------------------------------------------
   14. GLASSMORPHISM
------------------------------------------------------------ */

.glass-panel {
    background: var(--glass-background);

    border: 1px solid var(--glass-border);

    backdrop-filter: blur(22px) saturate(130%);
    -webkit-backdrop-filter: blur(22px) saturate(130%);

    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.24),
        inset 0 1px 0 rgba(255, 255, 255, 0.14);
}


/* ------------------------------------------------------------
   15. PHUKET LOCATION CARD
------------------------------------------------------------ */

.hero-location-card {

    right: clamp(30px, 4vw, 85px);

    z-index: 6;
    align-items: center;
    min-height: 230px;

    border-radius: 23px;
}

.location-card-decoration {
    position: relative;

    flex: 0 0 38%;

    height: 155px;

    display: flex;
    align-items: center;
    justify-content: center;
}

.location-orbit {
    width: 105px;
    height: 125px;

    border: 1px solid rgba(185, 215, 240, 0.55);
    border-radius: 47% 53% 55% 45% / 39% 55% 45% 61%;

    transform: rotate(-16deg);

    box-shadow:
        0 0 20px rgba(28, 150, 255, 0.10),
        inset 0 0 20px rgba(28, 150, 255, 0.05);
}

.location-pulse {
    position: absolute;

    width: 10px;
    height: 10px;

    border-radius: 50%;

    background: #ff3448;

    box-shadow:
        0 0 0 7px rgba(255, 50, 72, 0.12),
        0 0 20px 8px rgba(255, 50, 72, 0.55);

    animation: locationPulse 2.5s ease-in-out infinite;
}

@keyframes locationPulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.4);
        opacity: 0.7;
    }
}

.location-card-content {
    flex: 1;
    min-width: 0;
}

.location-card-content h2 {
    margin: 0;

    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.025em;
}

.location-subtitle {
    margin: 3px 0 0;

    color: var(--color-muted);

    font-size: 9px;
    letter-spacing: 0.24em;
}

.location-accent-line {
    width: 32px;
    height: 2px;

    margin: 14px 0 16px;

    background: var(--color-red);
}

.location-card-content ul {
    display: flex;
    flex-direction: column;

    gap: 10px;
}

.location-card-content li {
    position: relative;

    padding-left: 18px;

    font-size: 10px;
    line-height: 1.3;

    color: rgba(255, 255, 255, 0.9);
}

.location-card-content li::before {
    content: "✓";

    position: absolute;
    left: 0;

    color: white;
    font-size: 12px;
}


/* ------------------------------------------------------------
   16. SCROLL INDICATOR
------------------------------------------------------------ */

.scroll-indicator {
    position: absolute;

    left: clamp(25px, 3vw, 60px);
    bottom: 35px;

    z-index: 10;

    display: flex;
    flex-direction: column;
    align-items: center;

    gap: 12px;
}

.scroll-indicator > span:first-child {
    font-size: 9px;
    letter-spacing: 0.12em;

    color: rgba(255, 255, 255, 0.72);
}

.scroll-mouse {
    position: relative;

    width: 23px;
    height: 38px;

    border: 1.5px solid rgba(255, 255, 255, 0.9);
    border-radius: 15px;
}

.scroll-wheel {
    position: absolute;

    top: 8px;
    left: 50%;

    width: 3px;
    height: 8px;

    transform: translateX(-50%);

    border-radius: 3px;
    background: white;

    animation: scrollWheel 1.8s ease-in-out infinite;
}

@keyframes scrollWheel {
    0% {
        opacity: 0;
        transform: translate(-50%, 0);
    }

    35% {
        opacity: 1;
    }

    85% {
        opacity: 0;
        transform: translate(-50%, 12px);
    }

    100% {
        opacity: 0;
        transform: translate(-50%, 12px);
    }
}


/* ------------------------------------------------------------
   18. LARGE DESKTOP
------------------------------------------------------------ */

@media (min-width: 1800px) {

    .hero-title {
        font-size: 92px;
    }
}


/* ------------------------------------------------------------
   19. LAPTOP
------------------------------------------------------------ */

@media (max-width: 1450px) {
    :root {
        --header-height: 95px;
    }

    .site-header {
        padding: 0 35px;
        gap: 22px;
    }

    .main-navigation {
        gap: 18px;
    }

    .header-actions {
        gap: 16px;
    }

    .hero-content {
        width: 540px;
    }

    .hero-title {
        font-size: clamp(48px, 5vw, 70px);
    }

    .hero-location-card {
        width: 305px;
    }
}


/* ------------------------------------------------------------
   20. TABLET
------------------------------------------------------------ */

@media (max-width: 1100px) {
    .main-navigation {
        display: none;
    }

    .mobile-menu-toggle {
        display: block;
    }

    .site-header {
        height: 85px;
    }

    .side-navigation {
        left: 25px;
    }

    .hero-content {
        width: min(540px, 62vw);
    }

    .hero-title {
        font-size: clamp(46px, 6vw, 72px);
    }

    .hero-location-card {
        bottom: 30px;
    }

    .location-card-decoration {
        display: none;
    }
}


/* ------------------------------------------------------------
   21. MOBILE
------------------------------------------------------------ */

@media (max-width: 767px) {
    :root {
        --header-height: 75px;
    }

    html {
        scroll-snap-type: none;
    }

    .site-header {
        height: 75px;
        padding: 0 20px;
        gap: 15px;
    }

    .site-header.scrolled {
        height: 70px;
    }

    .header-actions {
        margin-left: auto;
        gap: 12px;
    }

    .header-whatsapp {
        display: none;
    }

    .language-switcher {
        gap: 5px;
    }

    .language-button {
        font-size: 12px;
    }

    .side-navigation {
        display: none;
    }

    .hero-scene {
        min-height: 100dvh;
        align-items: flex-start;
    }

    .hero-background {
        inset: 0;

        background-position: 64% center;

        transform: none;
    }

    .hero-overlay {
        background:
            linear-gradient(
                180deg,
                rgba(2, 11, 24, 0.40) 0%,
                rgba(2, 11, 24, 0.62) 25%,
                rgba(2, 11, 24, 0.80) 55%,
                rgba(2, 11, 24, 0.60) 100%
            );
    }

    .hero-content {
        margin: 0;
    }

    .hero-eyebrow {
        font-size: 9px;
        letter-spacing: 0.26em;
        gap: 13px;
    }

    .eyebrow-line {
        width: 50px;
    }

    .hero-title {
        font-size: clamp(44px, 10vw, 65px);
        line-height: 1.02;
    }

    .hero-description {
        max-width: 440px;

        font-size: 14px;
        margin-top: 22px;
    }

    .hero-buttons {
        gap: 10px;
        margin-top: 25px;
    }

    .button {
        min-width: 0;
        min-height: 52px;

        padding: 0 16px;
        gap: 15px;

        font-size: 10px;
        border-radius: 13px;
    }

    .button-primary,
    .button-glass {
        flex: 1;
    }

    .hero-service-tags {
        margin-top: 25px;
        gap: 8px;

        font-size: 8px;
    }

    .hero-service-tags span {
        gap: 8px;
    }

    .hero-service-tags span:not(:last-child)::after {
        width: 12px;
    }

    .hero-location-card {
        right: 24px;

        width: auto;

        padding: 18px 22px;

        border-radius: 18px;
    }

    .location-card-content ul {
        display: grid;
        grid-template-columns: 1fr 1fr;

        gap: 8px 15px;
    }

    .location-card-content h2 {
        font-size: 14px;
    }

    .location-accent-line {
        margin: 9px 0 12px;
    }

    .scroll-indicator {
        display: none;
    }
}


/* ------------------------------------------------------------
   22. SMALL MOBILE
------------------------------------------------------------ */

@media (max-width: 390px) {

    .hero-title {
        font-size: 42px;
    }

    .hero-description {
        font-size: 13px;
    }

    .hero-buttons {
        flex-wrap: wrap;
    }

    .button {
        flex: 1 1 100%;
    }
}


/* ------------------------------------------------------------
   23. SHORT SCREENS
------------------------------------------------------------ */

@media (max-height: 750px) and (min-width: 768px) {
    .hero-content {
        padding-bottom: 20px;
    }

    .hero-title {
        font-size: clamp(45px, 4.5vw, 68px);
    }

    .hero-description {
        margin-top: 15px;
    }

    .hero-buttons {
        margin-top: 18px;
    }

    .hero-service-tags {
        margin-top: 20px;
    }
}


/* ------------------------------------------------------------
   24. REDUCED MOTION / ACCESSIBILITY
------------------------------------------------------------ */

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .hero-background {
        transform: none;
        will-change: auto;
    }
}


/* ============================================================
   SECTION 02 — ABOUT SYNERGY
============================================================ */

.about-scene {
    align-items: center;
    background: #061525;
}

.about-background {
    position: absolute;
    inset: 0;
    z-index: -3;
    background:
        url("../images/about/about-electrician.webp")
        center / cover no-repeat;
}

.about-overlay {
    position: absolute;
    inset: 0;
    z-index: -2;
    background:
        linear-gradient(
            90deg,
            rgba(2, 10, 22, .96) 0%,
            rgba(3, 14, 29, .84) 27%,
            rgba(3, 14, 29, .25) 60%,
            rgba(3, 14, 29, .40) 100%
        );
}

.about-content {
    z-index: 3;
    margin-left: clamp(145px, 10.5vw, 220px);
}

.about-eyebrow {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 24px;
    font-size: 12px;
    letter-spacing: .3em;
    color: rgba(255,255,255,.85);
}

.about-eyebrow-line {
    width: 55px;
    height: 1px;
    background: rgba(255,255,255,.45);
}

.about-title {
    margin: 0;
    font-size: clamp(48px, 5vw, 84px);
    font-weight: 300;
    line-height: 1.02;
    letter-spacing: -.055em;
}

.about-title span:not(.copy-text) {
    color: #e52b3b;
    font-weight: 400;
}

.about-description {
    max-width: 490px;
    margin: 26px 0 0;
    font-size: clamp(14px, 1.05vw, 17px);
    line-height: 1.55;
    color: rgba(255,255,255,.88);
}

.about-founded {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 34px;
    font-size: 10px;
    letter-spacing: .16em;
    color: rgba(255,255,255,.75);
}

.about-founded-line {
    width: 28px;
    height: 2px;
    background: #e52b3b;
}

.about-values {
    z-index: 4;
    top: 50%;
    width: clamp(265px, 22vw, 340px);
    border-radius: 22px;
}

.about-value {
    display: flex;
    align-items: center;
    gap: 17px;
    min-height: 96px;
    padding: 15px 0;
}

.about-value + .about-value {
    border-top: 1px solid rgba(255,255,255,.14);
}

.about-value-icon {
    display: grid;
    place-items: center;
    flex: 0 0 46px;
    width: 46px;
    height: 46px;
    border: 1px solid rgba(255,255,255,.25);
    border-radius: 14px;
    background: rgba(255,255,255,.05);
}

.about-value-icon svg {
    width: 26px;
    height: 26px;
}

.about-value h3 {
    margin: 0;
    font-size: 15px;
    font-weight: 600;
}

.about-value p {
    margin: 3px 0 0;
    font-size: 12px;
    color: var(--color-muted);
}

@media (max-width: 1100px) {
    .about-content {
        margin-left: 120px;
    }

    .about-values {
        width: 245px;
    }

    .about-value {
        gap: 10px;
        min-height: 78px;
    }
}

@media (max-width: 767px) {
    .about-scene {
        display: flex;
        align-items: stretch;
        padding: 120px 24px 35px;
    }

    .about-background {
        background-position: 60% center;
    }

    .about-overlay {
        background: linear-gradient(
            180deg,
            rgba(2,10,22,.80) 0%,
            rgba(2,10,22,.56) 40%,
            rgba(2,10,22,.94) 100%
        );
    }

    .about-content {
        margin: 0;
    }

    .about-title {
        font-size: clamp(40px, 9vw, 62px);
    }

    .about-description {
        font-size: 14px;
    }

    .about-founded {
        margin-top: 24px;
    }

    .about-values {
        top: auto;
        transform: none;
        margin-top: 35px;
    }

    .about-value {
        min-height: 65px;
        padding: 10px 0;
    }

    .about-value-icon {
        flex-basis: 38px;
        width: 38px;
        height: 38px;
    }

    .about-value-icon svg {
        width: 22px;
        height: 22px;
    }

    .about-value h3 {
        font-size: 13px;
    }

    .about-value p {
        font-size: 11px;
    }
}


/* ============================================================
   SECTION 03 — OUR SERVICES
============================================================ */

.services-scene {
    align-items: center;
    background: #061525;
}

.services-background {
    position: absolute;
    inset: 0;
    z-index: -3;
    background-image: url("../images/services/services-villa.webp");
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.services-overlay {
    position: absolute;
    inset: 0;
    z-index: -2;
    background:
        linear-gradient(
            90deg,
            rgba(2,10,22,.90) 0%,
            rgba(3,14,29,.70) 30%,
            rgba(3,14,29,.18) 60%,
            rgba(3,14,29,.45) 100%
        ),
        linear-gradient(
            0deg,
            rgba(2,10,22,.40),
            transparent 45%
        );
}

.services-content {
    z-index: 3;
    margin-left: clamp(145px, 10.5vw, 220px);
}

.services-eyebrow {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 22px;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: .3em;
    color: rgba(255,255,255,.88);
}

.services-eyebrow-line {
    width: 55px;
    height: 1px;
    background: rgba(255,255,255,.45);
}

.services-title {
    margin: 0;
    font-size: clamp(48px, 5vw, 82px);
    font-weight: 300;
    line-height: 1.02;
    letter-spacing: -.055em;
}

.services-title span:not(.copy-text) {
    color: #e52b3b;
    font-weight: 400;
}

.services-description {
    max-width: 430px;
    margin: 26px 0 0;
    font-size: clamp(14px, 1.08vw, 17px);
    line-height: 1.55;
    color: rgba(255,255,255,.90);
}

.services-cta {
    margin-top: 30px;
    min-width: 260px;
}

.services-panel {
    z-index: 4;
    right: clamp(30px, 4vw, 85px);
    width: clamp(390px, 35vw, 560px);
    border-radius: 24px;
    background: rgba(5,17,31,.66);
}

.service-item {
    display: flex;
    align-items: center;
    gap: 18px;
    min-height: 82px;
    padding: 13px 0;
}

.service-item + .service-item {
    border-top: 1px solid rgba(255,255,255,.15);
}

.service-icon {
    display: grid;
    place-items: center;
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    color: #fff;
}

.service-icon svg {
    width: 29px;
    height: 29px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.service-copy {
    flex: 1;
    min-width: 0;
}

.service-copy h3 {
    margin: 0;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.3;
}

.service-copy p {
    margin: 4px 0 0;
    font-size: 12px;
    line-height: 1.4;
    color: var(--color-muted);
}

.service-index {
    flex: 0 0 24px;
    text-align: right;
    font-size: 11px;
    color: rgba(255,255,255,.55);
    font-variant-numeric: tabular-nums;
}

@media (min-width: 1800px) {

    .service-item {
        min-height: 89px;
    }
}

@media (max-width: 1450px) and (min-width: 1101px) {
    .services-content {
        margin-left: 150px;
    }

    .services-title {
        font-size: clamp(46px, 4.5vw, 66px);
    }

    .services-panel {
        right: 25px;
    }

    .service-item {
        min-height: 73px;
        padding: 9px 0;
    }

    .service-copy h3 {
        font-size: 13px;
    }

    .service-copy p {
        font-size: 11px;
    }
}

@media (max-width: 1100px) {
    .services-content {
        margin-left: 110px;
    }

    .services-title {
        font-size: clamp(40px, 5vw, 58px);
    }

    .services-panel {
        right: 20px;
    }

    .service-item {
        min-height: 68px;
        gap: 10px;
        padding: 8px 0;
    }

    .service-icon {
        flex-basis: 32px;
        width: 32px;
    }

    .service-icon svg {
        width: 24px;
        height: 24px;
    }

    .service-copy h3 {
        font-size: 12px;
    }

    .service-copy p {
        font-size: 10px;
    }
}

@media (max-width: 767px) {
    .services-scene {
        display: flex;
        align-items: stretch;
        padding: 115px 24px 40px;
    }

    .services-background {
        background-position: 60% center;
    }

    .services-overlay {
        background: linear-gradient(
            180deg,
            rgba(2,10,22,.82) 0%,
            rgba(2,10,22,.58) 35%,
            rgba(2,10,22,.92) 100%
        );
    }

    .services-content {
        margin: 0;
    }

    .services-eyebrow {
        font-size: 10px;
        margin-bottom: 15px;
    }

    .services-title {
        font-size: clamp(42px, 9vw, 62px);
    }

    .services-description {
        margin-top: 18px;
        font-size: 14px;
    }

    .services-cta {
        margin-top: 22px;
        min-width: 0;
    }

    .services-panel {
        top: auto;
        transform: none;
        margin-top: 35px;
        border-radius: 18px;
    }

    .service-item {
        min-height: 65px;
        padding: 10px 0;
    }

    .service-copy h3 {
        font-size: 13px;
    }

    .service-copy p {
        font-size: 11px;
    }
}

@media (max-width: 390px) {
    .services-scene {
        padding-right: 18px;
    }

    .services-title {
        font-size: 40px;
    }

    .service-index {
        display: none;
    }
}

@media (max-height: 750px) and (min-width: 768px) {
    .services-panel {
        padding-bottom: 5px;
    }

    .service-item {
        min-height: 62px;
        padding: 7px 0;
    }

    .services-title {
        font-size: clamp(42px, 4.3vw, 65px);
    }
}

/* Each service now contains a trigger and a detail panel */
.services-panel .service-accordion {
    display: block;
    min-height: 0;
    padding: 0;
}

/* Preserve original separators */
.services-panel .service-accordion + .service-accordion {
    border-top: 1px solid rgba(255, 255, 255, .15);
}

/* Clickable service row */
.services-panel .service-trigger {
    display: flex;
    align-items: center;
    gap: 18px;
    width: 100%;
    min-height: 82px;
    padding: 13px 0;
    margin: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: inherit;
    font: inherit;
    text-align: left;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    transition: background .25s ease;
}

.services-panel .service-trigger:hover {
    background: rgba(255, 255, 255, .035);
}

.services-panel .service-trigger:focus-visible {
    outline: 2px solid #e52b3b;
    outline-offset: -2px;
    border-radius: 8px;
}

/* New text elements replacing the previous h3 / p */
.services-panel .service-heading {
    display: block;
    margin: 0;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.3;
}

.services-panel .service-summary {
    display: block;
    margin-top: 4px;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.4;
    color: var(--color-muted);
}

/* Plus / minus indicator */
.services-panel .service-chevron {
    display: grid;
    place-items: center;
    flex: 0 0 22px;
    width: 22px;
    height: 22px;
    border: 1px solid rgba(255, 255, 255, .22);
    border-radius: 50%;
    color: #e52b3b;
    font-size: 17px;
    font-weight: 400;
    line-height: 1;
    transition:
        background .25s ease,
        border-color .25s ease,
        transform .25s ease;
}

.services-panel .service-trigger[aria-expanded="true"]
.service-chevron {
    transform: rotate(180deg);
    background: rgba(229, 43, 59, .12);
    border-color: rgba(229, 43, 59, .4);
}

/* Expanded content */
.services-panel .service-detail {
    padding: 0 28px 18px 62px;
}

.services-panel .service-detail[hidden] {
    display: none !important;
}

.services-panel .service-detail p {
    margin: 0;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.65;
    color: var(--color-muted);
}

/* Allow the service panel to scroll internally when expanded.
   This keeps the full-screen scene and background intact. */
.services-panel {
    max-height: min(78vh, 760px);
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-width: thin;
    scrollbar-color:
        rgba(150, 165, 180, .5)
        transparent;
}

/* Light theme */
html[data-theme="light"] .services-panel
.service-accordion + .service-accordion {
    border-top-color: rgba(20, 48, 68, .14);
}

html[data-theme="light"] .services-panel
.service-trigger:hover {
    background: rgba(20, 48, 68, .045);
}

html[data-theme="light"] .services-panel
.service-chevron {
    border-color: rgba(20, 48, 68, .20);
}

html[data-theme="light"] .services-panel
.service-detail p {
    color: #385269;
}

/* Medium desktop */
@media (max-width: 1450px) and (min-width: 1101px) {
    .services-panel .service-trigger {
        min-height: 73px;
        padding: 9px 0;
    }

    .services-panel .service-heading {
        font-size: 13px;
    }

    .services-panel .service-summary {
        font-size: 11px;
    }

    .services-panel .service-detail {
        padding-left: 62px;
        padding-bottom: 14px;
    }
}

/* Tablet */
@media (max-width: 1100px) {
    .services-panel .service-trigger {
        min-height: 68px;
        gap: 10px;
        padding: 8px 0;
    }

    .services-panel .service-heading {
        font-size: 12px;
    }

    .services-panel .service-summary {
        font-size: 10px;
    }

    .services-panel .service-detail {
        padding-left: 42px;
        padding-right: 20px;
    }
}

/* Mobile */
@media (max-width: 767px) {
    .services-panel {
        max-height: none;
        overflow: visible;
    }

    .services-panel .service-trigger {
        min-height: 65px;
        padding: 10px 0;
    }

    .services-panel .service-heading {
        font-size: 13px;
    }

    .services-panel .service-summary {
        font-size: 11px;
    }

    .services-panel .service-detail {
        padding: 0 12px 16px 42px;
    }

    .services-panel .service-detail p {
        font-size: 12px;
        line-height: 1.6;
    }
}

/* Small mobile */
@media (max-width: 390px) {
    .services-panel .service-chevron {
        flex-basis: 20px;
        width: 20px;
        height: 20px;
    }

    .services-panel .service-detail {
        padding-left: 36px;
    }
}

/* Short desktop screens */
@media (max-height: 750px) and (min-width: 768px) {
    .services-panel {
        max-height: calc(100dvh - 135px);
    }

    .services-panel .service-trigger {
        min-height: 62px;
        padding: 7px 0;
    }
}


/* ============================================================
   SERVICES — LIGHT MODE ICON CONTRAST FIX
============================================================ */

html[data-theme="light"] .services-panel .service-icon {
    color: #17354b;
}

html[data-theme="light"] .services-panel .service-icon svg {
    stroke: currentColor;
}

/* ============================================================
   SECTION 04 — OUR PROJECTS
============================================================ */

.projects-scene {
    align-items: center;
    background: #061525;
    isolation: isolate;
}

.projects-background {
    position: absolute;
    inset: 0;
    z-index: -2;
    background:
        url("../images/projects/projects-background.webp")
        center / cover no-repeat;
}

.projects-overlay {
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(90deg,
            rgba(2, 10, 22, .94) 0%,
            rgba(2, 10, 22, .75) 28%,
            rgba(2, 10, 22, .24) 65%,
            rgba(2, 10, 22, .40) 100%
        ),
        linear-gradient(0deg,
            rgba(2, 10, 22, .55),
            transparent 55%
        );
}

.projects-content {
    z-index: 3;
    margin-left: clamp(145px, 10.5vw, 220px);
}

.projects-eyebrow {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 23px;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: .3em;
    color: rgba(255, 255, 255, .85);
}

.projects-eyebrow-line {
    width: 55px;
    height: 1px;
    background: rgba(255, 255, 255, .45);
}

.projects-title {
    margin: 0;
    font-size: clamp(44px, 4.2vw, 72px);
    font-weight: 400;
    line-height: 1.05;
    letter-spacing: -.055em;
    color: #fff;
}

.projects-title span:not(.copy-text) {
    color: #e52b3b;
}

.projects-description {
    max-width: 390px;
    margin: 25px 0 0;
    font-size: clamp(14px, 1vw, 17px);
    line-height: 1.6;
    color: rgba(255, 255, 255, .88);
}

.projects-cta {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    min-height: 52px;
    margin-top: 30px;
    padding: 0 24px;
    border: 1px solid rgba(255, 255, 255, .65);
    border-radius: 12px;
    background: rgba(5, 15, 28, .25);
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: background .25s, border-color .25s;
}

.projects-cta:hover {
    background: rgba(229, 43, 59, .22);
    border-color: #e52b3b;
}

.projects-preview-note {
    margin-top: 15px;
    font-size: 10px;
    letter-spacing: .08em;
    color: rgba(255, 255, 255, .55);
}

.projects-gallery {
    z-index: 4;
    right: clamp(25px, 3vw, 65px);
    width: min(58vw, 920px);
}

.projects-track {
    display: flex;
    align-items: stretch;
    gap: 13px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    padding: 15px 3px;
}

.projects-track::-webkit-scrollbar {
    display: none;
}

.project-card {
    position: relative;
    flex: 0 0 calc((100% - 26px) / 3);
    height: clamp(330px, 54vh, 560px);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .25);
    border-radius: 18px;
    background: rgba(7, 20, 35, .85);
    scroll-snap-align: start;
    transition: transform .3s, border-color .3s;
}

.project-card:hover {
    transform: translateY(-8px);
    border-color: rgba(255, 255, 255, .65);
}

.project-card img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .6s ease;
}

.project-card:hover img {
    transform: scale(1.06);
}

.project-card-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        transparent 45%,
        rgba(2, 10, 22, .90) 100%
    );
}

.project-card-content {
    position: absolute;
    bottom: 22px;
    left: 17px;
    right: 12px;
    z-index: 2;
}

.project-card-content h3 {
    margin: 0;
    font-size: clamp(14px, 1.2vw, 20px);
    font-weight: 600;
    line-height: 1.15;
    color: #fff;
}

.project-card-content p {
    margin: 6px 0 0;
    font-size: 12px;
    color: rgba(255, 255, 255, .75);
}

.projects-controls {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    margin-top: 12px;
}

.projects-arrow {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border: 1px solid rgba(255, 255, 255, .55);
    border-radius: 50%;
    background: rgba(5, 15, 28, .35);
    color: #fff;
    font-size: 22px;
    cursor: pointer;
    transition: background .25s, border-color .25s;
}

.projects-arrow:hover {
    background: #b7182b;
    border-color: #b7182b;
}

/* Desktop intermediate */

@media (max-width: 1450px) and (min-width: 768px) {
    .projects-content {
        margin-left: 115px;
    }

    .projects-title {
        font-size: clamp(38px, 3.8vw, 55px);
    }

    .projects-gallery {
        right: 20px;
    }

    .project-card {
        flex-basis: calc((100% - 26px) / 3);
        height: clamp(320px, 50vh, 490px);
    }
}

/* Mobile */

@media (max-width: 767px) {
    .projects-scene {
        display: flex;
        align-items: stretch;
        padding: 115px 24px 45px;
    }

    .projects-background {
        background-position: 55% center;
    }

    .projects-overlay {
        background: linear-gradient(
            180deg,
            rgba(2, 10, 22, .85) 0%,
            rgba(2, 10, 22, .55) 45%,
            rgba(2, 10, 22, .90) 100%
        );
    }

    .projects-content {
        margin: 0;
    }

    .projects-title {
        font-size: clamp(38px, 9vw, 58px);
    }

    .projects-description {
        max-width: 440px;
        font-size: 14px;
        margin-top: 18px;
    }

    .projects-cta {
        margin-top: 20px;
    }

    .projects-gallery {
        top: auto;
        transform: none;
        margin-top: 25px;
    }

    .projects-track {
        gap: 12px;
        padding: 10px 2px;
    }

    .project-card {
        flex: 0 0 72%;
        height: clamp(280px, 42vh, 430px);
    }

    .project-card-content h3 {
        font-size: 19px;
    }
}

@media (max-height: 750px) and (min-width: 768px) {
    .project-card {
        height: 48vh;
    }

    .projects-title {
        font-size: clamp(36px, 3.6vw, 58px);
    }
}


/* ============================================================
   SECTION 05 — WHY CHOOSE US
============================================================ */

.why-us-scene {
    align-items: center;
    isolation: isolate;
    background: #061525;
}

.why-us-background {
    position: absolute;
    inset: 0;
    z-index: -2;
    background:
        url("../images/why-us/why-us-phuket.webp")
        center / cover no-repeat;
}

.why-us-overlay {
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(
            90deg,
            rgba(2, 10, 22, .88) 0%,
            rgba(3, 14, 29, .65) 35%,
            rgba(3, 14, 29, .28) 75%,
            rgba(3, 14, 29, .45) 100%
        ),
        linear-gradient(
            0deg,
            rgba(2, 10, 22, .48),
            transparent 60%
        );
}

.why-us-content {
    z-index: 3;
    margin-left: clamp(145px, 10.5vw, 220px);
}

.why-us-eyebrow {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 23px;
    font-size: 12px;
    letter-spacing: .3em;
    color: rgba(255,255,255,.86);
}

.why-us-eyebrow-line {
    width: 48px;
    height: 1px;
    background: rgba(255,255,255,.45);
}

.why-us-title {
    margin: 0;
    font-size: clamp(43px, 4.1vw, 70px);
    font-weight: 400;
    line-height: 1.05;
    letter-spacing: -.055em;
    color: #fff;
}

.why-us-title span:not(.copy-text) {
    color: #e52b3b;
}

.why-us-description {
    max-width: 410px;
    margin: 25px 0 0;
    font-size: clamp(14px, 1vw, 17px);
    line-height: 1.6;
    color: rgba(255,255,255,.88);
}

.why-us-cta {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 35px;
    margin-top: 30px;
    min-height: 52px;
    padding: 0 25px;
    border: 1px solid rgba(255,255,255,.65);
    border-radius: 12px;
    background: rgba(5,15,28,.3);
    color: #fff;
    text-decoration: none;
    font-size: 12px;
    font-weight: 600;
    transition: background .25s, border-color .25s;
}

.why-us-cta:hover {
    background: rgba(229,43,59,.25);
    border-color: #e52b3b;
}

.why-us-features {
    z-index: 4;
    right: clamp(30px, 4vw, 85px);
    display: grid;
    width: min(57vw, 890px);
}

.why-us-feature {
    min-width: 0;
    padding: 15px 18px;
    text-align: center;
    border-left: 1px solid rgba(255,255,255,.16);
    background: rgba(6,19,35,.12);
}

.why-us-feature-icon {
    display: grid;
    place-items: center;
    height: 60px;
    margin-bottom: 17px;
}

.why-us-feature-icon svg {
    width: 43px;
    height: 43px;
    fill: none;
    stroke: #fff;
    stroke-width: 1.35;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.why-us-feature h3 {
    margin: 0;
    font-size: clamp(13px, 1.1vw, 18px);
    font-weight: 600;
    line-height: 1.3;
    color: #fff;
}

.why-us-feature p {
    max-width: 175px;
    margin: 12px auto 0;
    font-size: clamp(11px, .85vw, 13px);
    line-height: 1.5;
    color: rgba(255,255,255,.76);
}

/* Medium desktop */

@media (max-width: 1450px) and (min-width: 768px) {
    .why-us-content {
        width: 32vw;
    }

    .why-us-title {
        font-size: clamp(38px, 3.7vw, 54px);
    }

    .why-us-features {
        right: 20px;
    }

    .why-us-feature {
        padding: 12px 10px;
    }

    .why-us-feature-icon svg {
        width: 35px;
        height: 35px;
    }
}

/* Mobile */

@media (max-width: 767px) {
    .why-us-scene {
        display: flex;
        align-items: stretch;
        padding: 115px 24px 45px;
    }

    .why-us-background {
        background-position: 55% center;
    }

    .why-us-overlay {
        background: linear-gradient(
            180deg,
            rgba(2,10,22,.83) 0%,
            rgba(2,10,22,.55) 45%,
            rgba(2,10,22,.90) 100%
        );
    }

    .why-us-content {
        margin: 0;
    }

    .why-us-title {
        font-size: clamp(38px, 9vw, 58px);
    }

    .why-us-description {
        font-size: 14px;
        margin-top: 18px;
    }

    .why-us-cta {
        margin-top: 20px;
    }

    .why-us-features {
        top: auto;
        transform: none;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        margin-top: 35px;
    }

    .why-us-feature {
        padding: 20px 12px;
        border: 1px solid rgba(255,255,255,.17);
        border-radius: 16px;
        background: rgba(5,17,31,.52);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
    }

    .why-us-feature-icon {
        height: 42px;
        margin-bottom: 10px;
    }

    .why-us-feature-icon svg {
        width: 30px;
        height: 30px;
    }

    .why-us-feature h3 {
        font-size: 14px;
    }

    .why-us-feature p {
        font-size: 11px;
        margin-top: 8px;
    }
}

@media (max-width: 390px) {
    .why-us-scene {
        padding-right: 18px;
    }

    .why-us-feature {
        padding: 15px 8px;
    }
}


/* ============================================================
   SECTION 06 — CONTACT / WHATSAPP
============================================================ */

.contact-scene {
    align-items: center;
    isolation: isolate;
    background: #061525;
    color: #fff;
}

.contact-background {
    position: absolute;
    inset: 0;
    z-index: -2;
    background:
        url("../images/contact/contact-phuket.webp")
        center / cover no-repeat;
}

.contact-overlay {
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(
            90deg,
            rgba(2, 10, 22, .92) 0%,
            rgba(3, 14, 29, .74) 32%,
            rgba(3, 14, 29, .28) 66%,
            rgba(3, 14, 29, .43) 100%
        ),
        linear-gradient(
            0deg,
            rgba(2, 10, 22, .50),
            transparent 60%
        );
}

.contact-content {
    z-index: 3;
    margin-left: clamp(145px, 10.5vw, 220px);
}

.contact-eyebrow {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 24px;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: .3em;
    color: rgba(255, 255, 255, .88);
}

.contact-eyebrow-line {
    width: 52px;
    height: 1px;
    background: rgba(255, 255, 255, .45);
}

.contact-title {
    margin: 0;
    font-size: clamp(46px, 4.8vw, 82px);
    font-weight: 400;
    line-height: 1.04;
    letter-spacing: -.055em;
}

.contact-title span:not(.copy-text) {
    color: #ed3043;
}

.contact-description {
    max-width: 460px;
    margin: 27px 0 0;
    font-size: clamp(14px, 1.06vw, 18px);
    line-height: 1.65;
    color: rgba(255, 255, 255, .88);
}

.contact-main-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    min-height: 62px;
    margin-top: 31px;
    padding: 0 26px;
    border: 1px solid rgba(255, 110, 120, .38);
    border-radius: 13px;
    background: linear-gradient(135deg, #d82035, #941322);
    box-shadow: 0 12px 35px rgba(151, 15, 34, .26);
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition:
        transform .25s ease,
        box-shadow .25s ease,
        background .25s ease;
}

.contact-main-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 17px 42px rgba(151, 15, 34, .40);
}

.contact-main-cta svg {
    width: 25px;
    height: 25px;
    flex-shrink: 0;
}

.contact-main-arrow {
    margin-left: 18px;
    font-size: 23px;
    font-weight: 300;
}

.contact-details {
    display: flex;
    align-items: flex-start;
    gap: 0;
    margin-top: 58px;
    max-width: 620px;
}

.contact-detail {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    flex: 1 1 0;
    min-width: 0;
    padding: 0 14px;
}

.contact-detail:first-child {
    padding-left: 0;
}

.contact-detail + .contact-detail {
    border-left: 1px solid rgba(255, 255, 255, .24);
}

.contact-detail-icon {
    flex: 0 0 27px;
    color: #f33b4e;
}

.contact-detail-icon svg {
    width: 27px;
    height: 27px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.contact-detail > div:last-child {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.contact-detail-label {
    font-size: 9px;
    letter-spacing: .12em;
    color: rgba(255, 255, 255, .66);
}

.contact-detail strong {
    font-size: 12px;
    font-weight: 600;
    line-height: 1.35;
}

.contact-detail > div:last-child > span:last-child:not(.contact-detail-label) {
    font-size: 11px;
    color: rgba(255, 255, 255, .85);
}

/* WhatsApp glass panel */

.contact-whatsapp-panel {
    z-index: 4;
    right: clamp(35px, 5vw, 95px);
    width: clamp(340px, 30vw, 460px);
    border: 1px solid rgba(255, 255, 255, .28);
    border-radius: 26px;
    background: rgba(6, 18, 34, .68);
    backdrop-filter: blur(22px);
    -webkit-backdrop-filter: blur(22px);
    box-shadow:
        0 25px 65px rgba(0, 0, 0, .27),
        inset 0 1px 0 rgba(255, 255, 255, .13);
}

.contact-panel-top {
    display: flex;
    align-items: center;
    gap: 19px;
}

.contact-panel-icon {
    display: grid;
    place-items: center;
    flex: 0 0 65px;
    width: 65px;
    height: 65px;
    border: 1px solid rgba(255, 255, 255, .23);
    border-radius: 19px;
    background: rgba(37, 211, 102, .15);
    color: #52e48b;
}

.contact-panel-icon svg {
    width: 36px;
    height: 36px;
}

.contact-panel-top > div:last-child > span {
    display: block;
    margin-bottom: 8px;
    font-size: 10px;
    letter-spacing: .2em;
    color: rgba(255, 255, 255, .65);
}

.contact-panel-top h3 {
    margin: 0;
    font-size: clamp(27px, 2.4vw, 38px);
    font-weight: 500;
    line-height: 1.1;
    letter-spacing: -.035em;
}

.contact-panel-description {
    margin: 26px 0;
    font-size: 14px;
    line-height: 1.65;
    color: rgba(255, 255, 255, .78);
}

.contact-panel-number {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
    min-height: 65px;
    padding: 0 19px;
    border: 1px solid rgba(116, 245, 158, .5);
    border-radius: 13px;
    background: linear-gradient(135deg, #159c4a, #087634);
    color: #fff;
    font-size: clamp(18px, 1.7vw, 25px);
    font-weight: 700;
    white-space: nowrap;
    text-decoration: none;
    transition: background .25s, transform .25s;
}

.contact-panel-number:hover {
    transform: translateY(-2px);
    background: linear-gradient(135deg, #1db954, #0a8a3d);
}

.contact-panel-number span {
    font-size: 23px;
    font-weight: 400;
}

.contact-panel-divider {
    height: 1px;
    margin: 29px 0 23px;
    background: rgba(255, 255, 255, .15);
}

.contact-panel-bottom {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: rgba(255, 255, 255, .9);
}

.contact-panel-status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #34d875;
    box-shadow: 0 0 12px rgba(52, 216, 117, .4);
}

.contact-panel-note {
    margin: 12px 0 0 18px;
    font-size: 11px;
    color: rgba(255, 255, 255, .6);
}

/* Intermediate desktop */

@media (max-width: 1450px) and (min-width: 768px) {
    .contact-content {
        margin-left: 115px;
    }

    .contact-title {
        font-size: clamp(42px, 4.1vw, 62px);
    }

    .contact-whatsapp-panel {
        width: 350px;
    }

    .contact-details {
        flex-wrap: wrap;
        gap: 15px;
        margin-top: 35px;
    }

    .contact-detail {
        flex: 0 0 auto;
    }
}

/* Mobile */

@media (max-width: 767px) {
    .contact-scene {
        display: flex;
        align-items: stretch;
        padding: 115px 24px 45px;
    }

    .contact-background {
        background-position: 58% center;
    }

    .contact-overlay {
        background: linear-gradient(
            180deg,
            rgba(2, 10, 22, .84) 0%,
            rgba(2, 10, 22, .58) 43%,
            rgba(2, 10, 22, .94) 100%
        );
    }

    .contact-content {
        margin: 0;
    }

    .contact-title {
        font-size: clamp(39px, 9vw, 61px);
    }

    .contact-description {
        margin-top: 20px;
        font-size: 14px;
    }

    .contact-main-cta {
        min-height: 56px;
        margin-top: 23px;
        font-size: 14px;
    }

    .contact-details {
        flex-wrap: wrap;
        gap: 18px 0;
        margin-top: 35px;
    }

    .contact-detail {
        flex: 0 0 50%;
        padding: 0 10px;
    }

    .contact-detail:nth-child(odd) {
        padding-left: 0;
        border-left: none;
    }

    .contact-detail:nth-child(3) {
        flex-basis: 100%;
    }

    .contact-whatsapp-panel {
        top: auto;
        transform: none;
        margin-top: 36px;
        border-radius: 20px;
    }

    .contact-panel-top h3 {
        font-size: 29px;
    }

    .contact-panel-number {
        font-size: clamp(17px, 4.8vw, 24px);
    }
}

@media (max-width: 390px) {
    .contact-scene {
        padding-right: 18px;
    }

    .contact-detail {
        flex-basis: 100%;
        padding: 0;
        border-left: none !important;
    }
}



/* ============================================================
   CONSOLIDATED LAYOUT — original six scenes and visual assets
   Content participates in layout so Thai, zoom and short screens cannot overlap.
============================================================ */
:root { --scene-gutter: clamp(125px, 10.5vw, 220px); --scene-right: clamp(28px, 4vw, 85px); }
.site-logo { display:flex; align-items:center; width:150px; max-width:150px; flex:0 0 150px; }
.site-logo img { width:100%; height:auto; max-height:72px; object-fit:contain; }
.site-header { background:linear-gradient(180deg,rgba(2,10,22,.65),transparent); }
.scene { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); align-items:center;
  gap:clamp(30px,4vw,75px); padding:140px var(--scene-right) 70px var(--scene-gutter);
  min-height:100vh; min-height:100svh; border-bottom:1px solid rgba(255,255,255,.08); }
.hero-content,.about-content,.services-content,.projects-content,.why-us-content,.contact-content {
  position:relative; width:100%; min-width:0; margin:0; padding:0; }
.hero-location-card,.about-values,.services-panel,.projects-gallery,.why-us-features,.contact-whatsapp-panel {
  position:relative; inset:auto; transform:none; width:100%; min-width:0; margin:0; }
.hero-scene { grid-template-columns:minmax(0,1.35fr) minmax(0,.8fr); }
.hero-location-card { display:flex; align-items:center; padding:25px; max-width:385px; justify-self:end; align-self:end; }
.about-scene { grid-template-columns:minmax(0,1.4fr) minmax(0,.8fr); }
.about-values { padding:12px 24px; max-width:340px; justify-self:end; }
.services-panel { padding:14px 25px; }
.projects-scene { grid-template-columns:minmax(0,.75fr) minmax(0,1.3fr); gap:32px; }
.projects-gallery { align-self:center; }
.why-us-scene { grid-template-columns:minmax(0,.9fr) minmax(0,1.2fr); }
.why-us-features { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:14px; }
.why-us-feature { padding:25px 18px; border:1px solid rgba(255,255,255,.18); border-radius:18px;
  background:linear-gradient(145deg,rgba(17,40,61,.78),rgba(5,17,31,.55)); backdrop-filter:blur(12px); }
.contact-whatsapp-panel { padding:32px; max-width:460px; justify-self:end; }
.hero-title { font-size:clamp(48px,5.15vw,88px); }
.projects-title,.why-us-title { font-size:clamp(38px,3.8vw,66px); }
.contact-title { font-size:clamp(42px,4.4vw,76px); }
.scene h1,.scene h2 { overflow-wrap:break-word; text-wrap:balance; }
.scene p { text-wrap:pretty; }
.services-panel .service-item { min-height:76px; }
.service-copy { min-width:0; }
.service-index { margin-left:auto; opacity:.5; font-variant-numeric:tabular-nums; }
.contact-details { flex-wrap:wrap; gap:18px; }
.contact-detail { flex:1 1 130px; padding:0; border:0 !important; }
.suppliers { grid-column:1 / -1; position:relative; z-index:3; border-top:1px solid rgba(255,255,255,.2); padding-top:18px; }
.suppliers-label { display:block; font-size:10px; letter-spacing:.2em; color:#b7c6d6; margin-bottom:12px; }
.supplier-list { display:flex; flex-wrap:wrap; gap:10px 24px; font-size:14px; color:#e0e6ee; }
.supplier-list li { white-space:nowrap; }
.projects-preview-note { color:#d2dce7; font-size:12px; border-left:2px solid var(--color-red); padding-left:12px; }
.projects-arrow:disabled { opacity:.3; cursor:default; background:transparent; border-color:#778899; }
.projects-track:focus-visible { outline:2px solid #69c5ff; outline-offset:4px; border-radius:18px; }
.projects-track { overscroll-behavior-x:contain; padding-inline:0; scroll-padding-inline:0; }
.project-card { background:#10253b; }
.project-card img { width:100%; height:100%; object-fit:cover; transition:transform .6s ease; }
.nav-link.active,.side-nav-item.active .side-nav-number,.side-nav-item.active .side-nav-label,
.mobile-navigation a.active { color:#ff5969; }
.mobile-navigation a.active { border-left:3px solid #ed3043; padding-left:15px; }
.side-nav-item.active { transform:translateX(3px); }
.mobile-navigation { overflow-y:auto; overscroll-behavior:contain; }
.menu-open { overflow:hidden; }
.mobile-menu-toggle[aria-expanded="true"] span:nth-child(1) { transform:translateY(7px) rotate(45deg); }
.mobile-menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity:0; }
.mobile-menu-toggle[aria-expanded="true"] span:nth-child(3) { transform:translateY(-7px) rotate(-45deg); }
.skip-link { position:fixed; top:8px; left:12px; z-index:2000; padding:12px 20px; border-radius:8px; background:#fff; color:#061525; transform:translateY(-160%); }
.skip-link:focus { transform:none; }
.scene:focus { outline:none; }
.scene [class$="-background"] { inset:-24px; transform:translateY(var(--parallax-y,0px)); pointer-events:none; }
.scene h1,.scene h2,.scene [class*="-description"],.about-value,.service-item,.why-us-feature {
  transition:opacity .55s ease,translate .55s ease,background .25s ease,border-color .25s ease; }
.reveal-pending { opacity:0; translate:0 14px; }
.scene:focus-within .reveal-pending { opacity:1; translate:none; }
@media (hover:hover) and (pointer:fine) {
  .service-item:hover,.about-value:hover { background:rgba(255,255,255,.04); }
  .service-item:hover .service-icon,.about-value:hover .about-value-icon { color:#ff5969; }
  .why-us-feature:hover { translate:0 -4px; border-color:rgba(255,89,105,.65); }
  .project-card:hover img { transform:scale(1.04); }
}
html[lang="th"] { --font-main:"Leelawadee UI",Tahoma,"Segoe UI",sans-serif; }
html[lang="th"] .scene h1,html[lang="th"] .scene h2 { line-height:1.25; letter-spacing:0; }
html[lang="th"] .scene [class$="-eyebrow"],html[lang="th"] .about-founded,
html[lang="th"] .supplier-list,html[lang="th"] .hero-service-tags { letter-spacing:0; }
html[lang="th"] .hero-title { font-size:clamp(38px,4.3vw,72px); }
html[lang="th"] .scene h2:not(.location-card-content h2) { font-size:clamp(32px,3.8vw,62px); }
@media (max-width:1250px) {
  .scene { gap:28px; }
  .site-header { gap:20px; padding-inline:25px; }
  .main-navigation { gap:14px; }
  .header-whatsapp { padding-inline:16px; gap:10px; }
  .services-panel { padding:12px 18px; }
  .service-item { gap:12px; }
  .why-us-feature { padding:22px 12px; }
}
@media (max-width:1100px) {
  :root { --scene-gutter:110px; --scene-right:28px; }
  .scene { padding-top:115px; padding-bottom:45px; gap:26px; }
  .hero-scene,.about-scene,.services-scene,.projects-scene,.why-us-scene,.contact-scene { grid-template-columns:minmax(0,1fr) minmax(0,1fr); }
  .hero-title { font-size:clamp(44px,5.5vw,64px); }
  .about-title { font-size:clamp(40px,5vw,60px); }
  .services-title,.projects-title,.why-us-title,.contact-title { font-size:clamp(36px,4.6vw,55px); }
  .contact-whatsapp-panel { padding:22px; }
  .contact-panel-top { gap:12px; }
  .contact-panel-icon { flex-basis:48px; width:48px; height:48px; }
  .contact-panel-number { white-space:normal; padding:12px; font-size:18px; }
  .project-card { flex-basis:calc((100% - 13px)/2); }
  .hero-buttons { flex-wrap:wrap; }
  .hero-buttons .button { flex:1 1 160px; }
  html[lang="th"] .side-nav-label { font-size:10px; max-width:72px; }
}
@media (max-width:767px) {
  :root { --scene-gutter:24px; --scene-right:24px; }
  .site-logo { width:125px; max-width:125px; flex-basis:125px; }
  .site-logo img { max-height:60px; }
  .scene { display:flex; flex-direction:column; align-items:stretch; justify-content:center; padding:112px 24px 45px; gap:30px; }
  .hero-content,.about-content,.services-content,.projects-content,.why-us-content,.contact-content { width:100%; padding:0; margin:0; }
  .hero-title { font-size:clamp(44px,10vw,65px); }
  .hero-location-card { width:100%; max-width:none; padding:20px; align-self:auto; margin-top:8px; }
  .about-values { max-width:none; padding:5px 16px; }
  .services-panel { padding:8px 16px; }
  .why-us-features { grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; }
  .why-us-feature { padding:20px 12px; }
  .contact-whatsapp-panel { max-width:none; padding:25px; }
  .contact-panel-number { font-size:clamp(17px,4.8vw,24px); }
  .hero-buttons .button { flex:1 1 135px; }
  .project-card { flex:0 0 78%; height:clamp(290px,45vh,430px); }
  .suppliers { margin-top:0; }
  .supplier-list { gap:10px 20px; font-size:13px; }
  .scene [class$="-background"] { inset:0; transform:none; }
  .scene h2 { font-size:clamp(38px,9vw,58px); }
  .location-card-content h2 { font-size:14px; }
  .mobile-menu-toggle { flex-shrink:0; }
  .language-button { min-height:44px; min-width:26px; }
  .contact-details { gap:18px; margin-top:30px; }
  .contact-detail { flex:1 1 125px; }
  .contact-main-cta { padding-inline:20px; gap:10px; }
  .contact-main-arrow { margin-left:8px; }
}
@media (max-width:390px) {
  .scene { padding-inline:18px; }
  .site-header { padding-inline:14px; gap:8px; }
  .header-actions { gap:6px; }
  .hero-title { font-size:42px; }
  .contact-whatsapp-panel { padding:19px; }
}
@media (max-height:600px) and (min-width:768px) {
  .scene { padding-top:115px; padding-bottom:45px; }
  .side-navigation { gap:13px; top:56%; }
  .scroll-indicator { display:none; }
}
@media (prefers-reduced-motion:reduce) {
  html { scroll-behavior:auto; }
  *,*::before,*::after { scroll-behavior:auto !important; animation:none !important; transition:none !important; }
  .reveal-pending { opacity:1; translate:none; }
  .scene [class$="-background"],.project-card:hover img { transform:none; }
  .why-us-feature:hover { translate:none; }
}

/* ============================================================
   SYNERGY — V2: TEAM, THEME SWITCHER, PROJECT LIGHTBOX
   Additive rules; original approved scene styles are preserved.
============================================================ */
:root { --theme-surface:#061525; --theme-ink:#fff; --theme-secondary:#c6d0dc; }
.theme-toggle { display:inline-grid; place-items:center; width:62px; height:36px; padding:0; flex:none; border:1px solid rgba(255,255,255,.35); border-radius:999px; background:rgba(6,21,37,.55); color:#fff; cursor:pointer; transition:background .25s,border-color .25s; }
.theme-toggle-track { position:relative; display:flex; justify-content:space-between; align-items:center; width:54px; height:28px; padding:0 6px; }
.theme-icon { width:15px; height:15px; z-index:2; opacity:.8; }
.theme-toggle-thumb { position:absolute; z-index:1; top:2px; left:2px; width:24px; height:24px; border-radius:50%; background:rgba(255,255,255,.22); box-shadow:0 2px 9px rgba(0,0,0,.25); transition:transform .3s,background .3s; }
html[data-theme="light"] .theme-toggle-thumb { transform:translateX(26px); background:rgba(255,255,255,.92); }
html[data-theme="light"] .theme-toggle { background:rgba(255,255,255,.75); border-color:rgba(14,38,64,.25); color:#12314b; }

/* Team: editorial split scene, with one genuine photo and three values. */
.team-scene { grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr); background:#071729; }
.team-background { position:absolute; inset:0; z-index:-3; background:radial-gradient(ellipse at 80% 40%,#24445b 0%,#0a2034 35%,#04111f 78%); }
.team-overlay { position:absolute; inset:0; z-index:-2; background:linear-gradient(90deg,rgba(2,11,23,.68),rgba(4,19,33,.2)); pointer-events:none; }
.team-content { position:relative; z-index:3; min-width:0; }
.team-eyebrow { display:flex; align-items:center; gap:18px; margin-bottom:22px; font-size:11px; font-weight:600; letter-spacing:.24em; color:rgba(255,255,255,.82); }
.team-eyebrow-line { display:block; width:48px; height:1px; background:rgba(255,255,255,.5); }
.team-title { margin:0; font-size:clamp(43px,4.35vw,76px); font-weight:300; letter-spacing:-.055em; line-height:1.08; }
.team-title-accent { color:#ed3043; font-weight:400; }
.team-description { max-width:510px; margin:27px 0 0; font-size:clamp(14px,1.05vw,17px); line-height:1.65; color:rgba(255,255,255,.86); }
.team-cta { margin-top:30px; }
.team-showcase { position:relative; z-index:4; display:flex; flex-direction:column; gap:17px; min-width:0; }
.team-image-frame { position:relative; height:clamp(290px,45vh,530px); overflow:hidden; border-radius:24px; border:1px solid rgba(255,255,255,.28); background:linear-gradient(135deg,#1b3a50,#071627); box-shadow:0 28px 65px rgba(0,0,0,.28); }
.team-image-frame img { width:100%; height:100%; object-fit:cover; object-position:center; transition:transform .8s ease; }
.team-image-frame:hover img { transform:scale(1.035); }
.team-image-shade { position:absolute; inset:0; pointer-events:none; background:linear-gradient(0deg,rgba(2,10,22,.85),transparent 52%); }
.team-image-caption { position:absolute; z-index:2; left:26px; right:26px; bottom:24px; display:flex; align-items:center; justify-content:space-between; gap:12px; font-size:10px; letter-spacing:.15em; font-weight:600; }
.team-values { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:10px; }
.team-value { min-width:0; padding:16px 15px; border:1px solid rgba(255,255,255,.18); border-radius:16px; background:rgba(14,35,55,.64); backdrop-filter:blur(16px); }
.team-value-number { font-size:10px; color:#ff6573; font-weight:700; letter-spacing:.1em; }
.team-value h3 { margin:7px 0 4px; font-size:clamp(12px,1vw,16px); font-weight:600; }
.team-value p { margin:0; font-size:11px; line-height:1.45; color:#c6d0dc; }
html[lang="th"] .team-title { font-size:clamp(34px,3.8vw,60px); line-height:1.28; letter-spacing:0; }
html[lang="th"] .team-eyebrow { letter-spacing:0; }

/* Project cards are clickable through main.js; keep existing slider. */
.project-card { cursor:zoom-in; }
.project-card:focus-visible { outline:2px solid #69c5ff; outline-offset:3px; }
.project-lightbox[hidden] { display:none !important; }
.project-lightbox { position:fixed; inset:0; z-index:3000; display:grid; place-items:center; padding:30px; color:#fff; }
.project-lightbox-backdrop { position:absolute; inset:0; background:rgba(2,9,20,.95); backdrop-filter:blur(22px); -webkit-backdrop-filter:blur(22px); }
.project-lightbox-container { position:relative; z-index:1; display:grid; grid-template-columns:52px minmax(0,1fr) 52px; align-items:center; gap:20px; width:min(1100px,100%); max-height:calc(100dvh - 60px); }
.project-lightbox-figure { min-width:0; margin:0; display:flex; flex-direction:column; align-items:center; gap:16px; }
.project-lightbox-figure img { width:auto; max-width:100%; max-height:calc(100dvh - 215px); object-fit:contain; border-radius:13px; box-shadow:0 20px 70px rgba(0,0,0,.4); }
.project-lightbox-caption { width:100%; display:flex; flex-wrap:wrap; align-items:baseline; gap:8px 20px; }
.project-lightbox-caption h3 { margin:0; font-size:22px; }
.project-lightbox-caption p { margin:0; font-size:13px; color:#d0dae4; }
.project-lightbox-disclaimer { margin-left:auto; font-size:11px; color:#aab9c8; }
.project-lightbox-arrow,.project-lightbox-close { display:grid; place-items:center; border:1px solid rgba(255,255,255,.35); border-radius:50%; background:rgba(255,255,255,.09); color:#fff; cursor:pointer; transition:background .2s,transform .2s; }
.project-lightbox-arrow { width:52px; height:52px; font-size:24px; }
.project-lightbox-close { position:absolute; z-index:3; top:-10px; right:0; width:42px; height:42px; transform:translateY(-100%); font-size:28px; }
.project-lightbox-arrow:hover,.project-lightbox-close:hover { background:#b7182b; }
.project-lightbox-counter { grid-column:1/-1; text-align:center; font-size:12px; letter-spacing:.2em; color:#d1dce6; }
body.lightbox-open { overflow:hidden; }

/* Light theme: luminous overlays rather than photographic inversion. */
html[data-theme="light"] { --color-navy-deep:#e9f0f5; --color-muted:#344d63; --glass-background:rgba(241,247,251,.83); --glass-border:rgba(26,55,78,.22); }
html[data-theme="light"] body { background:#e9f0f5; color:#10283c; }
html[data-theme="light"] .scene { color:#10283c; border-bottom-color:rgba(15,49,75,.12); }
html[data-theme="light"] .site-header { background:linear-gradient(180deg,rgba(238,246,250,.95),rgba(238,246,250,.5)); }
html[data-theme="light"] .site-header.scrolled { background:rgba(242,248,252,.94); border-bottom-color:rgba(16,46,71,.15); }
html[data-theme="light"] .nav-link { color:#29465d; }
html[data-theme="light"] .nav-link:hover,html[data-theme="light"] .nav-link.active { color:#aa1727; }
html[data-theme="light"] .language-button { color:#65798a; }
html[data-theme="light"] .language-button.active,html[data-theme="light"] .language-button:hover { color:#10283c; }
html[data-theme="light"] .language-divider { color:#7b8e9c; }
html[data-theme="light"] .side-nav-item { color:#163750; }
html[data-theme="light"] .side-nav-label { color:#35546b; }
html[data-theme="light"] .side-navigation::before { background:rgba(15,49,75,.3); }
html[data-theme="light"] .mobile-menu-toggle { border-color:rgba(16,46,71,.25); background:rgba(255,255,255,.7); }
html[data-theme="light"] .mobile-menu-toggle span { background:#12314b; }
html[data-theme="light"] .mobile-navigation { background:rgba(242,248,252,.98); color:#12314b; }
html[data-theme="light"] .glass-panel { color:#163149; box-shadow:0 18px 55px rgba(15,47,75,.12),inset 0 1px 0 #fff; }
/* LIGHT MODE — Softer photographic overlays */
html[data-theme="light"] .hero-overlay,
html[data-theme="light"] .about-overlay,
html[data-theme="light"] .services-overlay,
html[data-theme="light"] .projects-overlay,
html[data-theme="light"] .why-us-overlay,
html[data-theme="light"] .contact-overlay {
    background: linear-gradient(
        90deg,
        rgba(242, 248, 252, 0.76) 0%,
        rgba(242, 248, 252, 0.52) 25%,
        rgba(242, 248, 252, 0.20) 48%,
        rgba(242, 248, 252, 0.04) 72%,
        rgba(242, 248, 252, 0.00) 100%
    );
}
html[data-theme="light"] .team-overlay { background:linear-gradient(90deg,rgba(242,248,252,.98),rgba(240,247,252,.7)); }
html[data-theme="light"] .hero-scene,html[data-theme="light"] .about-scene,html[data-theme="light"] .team-scene,html[data-theme="light"] .services-scene,html[data-theme="light"] .projects-scene,html[data-theme="light"] .why-us-scene,html[data-theme="light"] .contact-scene { background:#e9f0f5; }
html[data-theme="light"] .hero-eyebrow,html[data-theme="light"] .about-eyebrow,html[data-theme="light"] .team-eyebrow,html[data-theme="light"] .services-eyebrow,html[data-theme="light"] .projects-eyebrow,html[data-theme="light"] .why-us-eyebrow,html[data-theme="light"] .contact-eyebrow { color:#36566d; }
html[data-theme="light"] .eyebrow-line,html[data-theme="light"] .about-eyebrow-line,html[data-theme="light"] .team-eyebrow-line,html[data-theme="light"] .services-eyebrow-line,html[data-theme="light"] .projects-eyebrow-line,html[data-theme="light"] .why-us-eyebrow-line,html[data-theme="light"] .contact-eyebrow-line { background:rgba(20,56,83,.35); }
html[data-theme="light"] .hero-description,html[data-theme="light"] .about-description,html[data-theme="light"] .team-description,html[data-theme="light"] .services-description,html[data-theme="light"] .projects-description,html[data-theme="light"] .why-us-description,html[data-theme="light"] .contact-description { color:#28465e; }
html[data-theme="light"] .projects-title,html[data-theme="light"] .why-us-title { color:#10283c; }
html[data-theme="light"] .hero-service-tags,html[data-theme="light"] .about-founded,html[data-theme="light"] .projects-preview-note { color:#36566d; }
html[data-theme="light"] .hero-service-tags span:not(:last-child)::after { background:#668197; }
html[data-theme="light"] .hero-bottom-gradient { background:linear-gradient(0deg,rgba(233,240,245,.75),transparent); }
html[data-theme="light"] .scroll-indicator>span:first-child { color:#36566d; }
html[data-theme="light"] .scroll-mouse { border-color:#36566d; }
html[data-theme="light"] .scroll-wheel { background:#36566d; }
html[data-theme="light"] .button-glass,html[data-theme="light"] .projects-cta,html[data-theme="light"] .why-us-cta { color:#12314b; background:rgba(255,255,255,.68); border-color:rgba(19,51,77,.4); }
html[data-theme="light"] .location-card-content li { color:#28465e; }
html[data-theme="light"] .location-card-content li::before { color:#ad1c2c; }
html[data-theme="light"] .about-value+.about-value,html[data-theme="light"] .service-item+.service-item { border-top-color:rgba(21,53,78,.15); }
html[data-theme="light"] .about-value-icon { border-color:rgba(19,51,77,.2); background:rgba(255,255,255,.45); }
html[data-theme="light"] .service-index { color:#45647a; }
html[data-theme="light"] .services-panel { background:rgba(242,248,252,.87); }
html[data-theme="light"] .team-value,html[data-theme="light"] .why-us-feature { background:rgba(242,248,252,.88); color:#10283c; border-color:rgba(20,55,80,.18); }
html[data-theme="light"] .team-value p,html[data-theme="light"] .why-us-feature p { color:#36566d; }
html[data-theme="light"] .why-us-feature h3 { color:#10283c; }
html[data-theme="light"] .why-us-feature-icon svg { stroke:#143c58; }
html[data-theme="light"] .suppliers { border-top-color:rgba(20,55,80,.22); }
html[data-theme="light"] .suppliers-label,html[data-theme="light"] .supplier-list { color:#35546b; }
html[data-theme="light"] .contact-whatsapp-panel { background:rgba(242,248,252,.88); color:#10283c; border-color:rgba(20,55,80,.2); }
html[data-theme="light"] .contact-panel-description,html[data-theme="light"] .contact-panel-bottom,html[data-theme="light"] .contact-panel-note,html[data-theme="light"] .contact-panel-top>div:last-child>span,html[data-theme="light"] .contact-detail-label,html[data-theme="light"] .contact-detail>div:last-child>span:last-child:not(.contact-detail-label) { color:#36566d; }
html[data-theme="light"] .contact-panel-divider { background:rgba(20,55,80,.15); }
html[data-theme="light"] .project-card-content,html[data-theme="light"] .project-card-content h3 { color:#fff; }
html[data-theme="light"] .project-card-content p { color:rgba(255,255,255,.85); }
html[data-theme="light"] .projects-arrow { background:rgba(255,255,255,.85); color:#163750; border-color:rgba(20,55,80,.35); }
html[data-theme="light"] .projects-arrow:hover { color:#fff; background:#b7182b; }
html[data-theme="light"] .team-image-caption { color:#fff; }
html[data-theme="light"] .project-lightbox { color:#fff; }

@media (max-width:1250px) and (min-width:1101px) {
  .site-logo { width:125px; max-width:125px; flex-basis:125px; }
  .main-navigation { gap:10px; }
  .nav-link { font-size:12px; }
  .header-actions { gap:12px; }
}
@media (max-width:1100px) {
  .team-scene { grid-template-columns:minmax(0,1fr) minmax(0,1fr); }
  .team-title { font-size:clamp(37px,4.5vw,60px); }
  .team-values { gap:7px; }
  .team-value { padding:12px 10px; }
  .team-value p { font-size:10px; }
}
@media (max-width:767px) {
  .theme-toggle { width:50px; height:32px; }
  .theme-toggle-track { width:46px; height:26px; padding-inline:5px; }
  .theme-icon { width:13px; height:13px; }
  .theme-toggle-thumb { width:22px; height:22px; }
  html[data-theme="light"] .theme-toggle-thumb { transform:translateX(20px); }
  .team-scene { display:flex; flex-direction:column; align-items:stretch; justify-content:center; padding:112px 24px 45px; gap:30px; }
  .team-title { font-size:clamp(39px,9vw,59px); }
  .team-description { font-size:14px; margin-top:20px; }
  .team-cta { margin-top:22px; }
  .team-image-frame { height:clamp(260px,44vh,440px); border-radius:18px; }
  .team-image-caption { left:16px; right:16px; bottom:16px; font-size:9px; }
  .team-values { grid-template-columns:repeat(3,minmax(0,1fr)); }
  .team-value { padding:12px 9px; }
  .team-value h3 { font-size:12px; }
  .team-value p { font-size:10px; }
  .project-lightbox { padding:15px; }
  .project-lightbox-container { grid-template-columns:38px minmax(0,1fr) 38px; gap:6px; }
  .project-lightbox-arrow { width:36px; height:36px; font-size:20px; }
  .project-lightbox-figure img { max-height:calc(100dvh - 240px); }
  .project-lightbox-caption h3 { font-size:18px; }
  .project-lightbox-disclaimer { margin-left:0; }
  html[data-theme="light"] .hero-overlay,
    html[data-theme="light"] .about-overlay,
    html[data-theme="light"] .services-overlay,
    html[data-theme="light"] .projects-overlay,
    html[data-theme="light"] .why-us-overlay,
    html[data-theme="light"] .contact-overlay {
    background: linear-gradient(
        180deg,
        rgba(242, 248, 252, 0.68) 0%,
        rgba(242, 248, 252, 0.30) 45%,
        rgba(242, 248, 252, 0.60) 100%
    );
    }
}
@media (max-width:390px) {
  .team-values { grid-template-columns:1fr; }
  .team-value { padding:12px 15px; }
  .site-logo { width:108px; max-width:108px; flex-basis:108px; }
  .theme-toggle { width:44px; }
  .theme-toggle-track { width:40px; }
  html[data-theme="light"] .theme-toggle-thumb { transform:translateX(14px); }
}
@media (prefers-reduced-motion:reduce) {
  .team-image-frame:hover img { transform:none; }
  .theme-toggle-thumb { transition:none; }
}


/* ============================================================
   SYNERGY ELECTRICAL
   WHY US — PREMIUM BRANDS & SYSTEMS
   Light / Dark / Responsive
============================================================ */

/* Main suppliers container */
.why-us-scene .suppliers-premium {
    position: absolute;
    z-index: 6;

    left: clamp(145px, 10.5vw, 220px);
    right: clamp(30px, 4vw, 85px);
    bottom: clamp(22px, 4vh, 45px);

    width: auto;
    max-width: none;
    margin: 0;
    padding: 0;
}

/* Heading */
.why-us-scene .suppliers-heading {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 15px;
}

.why-us-scene .suppliers-label {
    display: block;
    flex: 0 0 auto;

    font-size: 10px;
    font-weight: 600;
    letter-spacing: .22em;
    line-height: 1.4;

    color: rgba(255, 255, 255, .8);
}

.why-us-scene .suppliers-heading-line {
    display: block;
    flex: 1;
    height: 1px;

    background: linear-gradient(
        90deg,
        rgba(255, 255, 255, .28),
        transparent
    );
}

/* Logo grid */
.why-us-scene .supplier-logo-list {
    display: grid;
    grid-template-columns: repeat(9, minmax(0, 1fr));
    align-items: center;
    gap: 9px;

    width: 100%;
    margin: 0;
    padding: 0;

    list-style: none;
}

/* Individual logo cards */
.why-us-scene .supplier-logo-item {
    display: flex;
    align-items: center;
    justify-content: center;

    min-width: 0;
    height: 61px;
    padding: 10px 12px;

    border: 1px solid rgba(255, 255, 255, .17);
    border-radius: 11px;

    background: rgba(8, 23, 40, .42);

    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);

    transition:
        background .3s ease,
        border-color .3s ease,
        transform .3s ease,
        box-shadow .3s ease;
}

.why-us-scene .supplier-logo-item:hover {
    transform: translateY(-3px);

    border-color: rgba(255, 255, 255, .36);

    background: rgba(18, 39, 60, .7);

    box-shadow: 0 10px 25px rgba(0, 0, 0, .16);
}

/* Logos — preserve original proportions */
.why-us-scene .supplier-logo-item img {
    display: block;

    width: 100%;
    max-width: 115px;
    height: 33px;

    object-fit: contain;

    opacity: .85;

    filter: grayscale(1) brightness(0) invert(1);

    transition:
        opacity .3s ease,
        filter .3s ease;
}

.why-us-scene .supplier-logo-item:hover img {
    opacity: 1;
    filter: none;
}

/* ============================================================
   LIGHT MODE
============================================================ */

html[data-theme="light"]
.why-us-scene .suppliers-label {
    color: #294960;
}

html[data-theme="light"]
.why-us-scene .suppliers-heading-line {
    background: linear-gradient(
        90deg,
        rgba(30, 65, 90, .28),
        transparent
    );
}

html[data-theme="light"]
.why-us-scene .supplier-logo-item {
    background: rgba(245, 250, 253, .78);

    border-color: rgba(28, 62, 86, .14);

    box-shadow: 0 4px 15px rgba(20, 45, 65, .045);
}

html[data-theme="light"]
.why-us-scene .supplier-logo-item:hover {
    background: rgba(255, 255, 255, .94);

    border-color: rgba(28, 62, 86, .28);

    box-shadow: 0 9px 24px rgba(20, 45, 65, .10);
}

html[data-theme="light"]
.why-us-scene .supplier-logo-item img {
    opacity: .8;

    filter: grayscale(1) brightness(.35);
}

html[data-theme="light"]
.why-us-scene .supplier-logo-item:hover img {
    opacity: 1;
    filter: none;
}

/* ============================================================
   MEDIUM DESKTOP
============================================================ */

@media (max-width: 1450px) and (min-width: 1101px) {

    .why-us-scene .suppliers-premium {
        left: 150px;
        right: 25px;
        bottom: 20px;
    }

    .why-us-scene .supplier-logo-list {
        gap: 6px;
    }

    .why-us-scene .supplier-logo-item {
        height: 52px;
        padding: 8px;
        border-radius: 9px;
    }

    .why-us-scene .supplier-logo-item img {
        height: 28px;
    }
}

/* ============================================================
   TABLET
============================================================ */

@media (max-width: 1100px) and (min-width: 768px) {

    .why-us-scene .suppliers-premium {
        left: 110px;
        right: 20px;
        bottom: 18px;
    }

    .why-us-scene .supplier-logo-list {
        grid-template-columns: repeat(5, minmax(0, 1fr));
        gap: 7px;
    }

    .why-us-scene .supplier-logo-item {
        height: 45px;
        padding: 7px;
    }

    .why-us-scene .supplier-logo-item img {
        height: 25px;
    }

    .why-us-scene .suppliers-heading {
        margin-bottom: 9px;
    }
}

/* ============================================================
   MOBILE — HORIZONTAL SCROLL
============================================================ */

@media (max-width: 767px) {

    .why-us-scene .suppliers-premium {
        position: relative;

        left: auto;
        right: auto;
        bottom: auto;

        width: 100%;
        margin-top: 32px;
        padding-bottom: 12px;
    }

    .why-us-scene .suppliers-heading {
        gap: 12px;
        margin-bottom: 13px;
    }

    .why-us-scene .suppliers-label {
        font-size: 9px;
        letter-spacing: .14em;
    }

    .why-us-scene .supplier-logo-list {
        display: flex;
        align-items: stretch;

        gap: 9px;

        overflow-x: auto;
        overflow-y: hidden;

        padding: 4px 2px 12px;

        scroll-snap-type: x proximity;
        scrollbar-width: thin;
        scrollbar-color:
            rgba(150, 170, 190, .4)
            transparent;

        -webkit-overflow-scrolling: touch;
    }

    .why-us-scene .supplier-logo-item {
        flex: 0 0 125px;

        width: 125px;
        height: 60px;

        padding: 10px;

        scroll-snap-align: start;
    }

    .why-us-scene .supplier-logo-item img {
        max-width: 100px;
        height: 32px;
    }
}

/* ============================================================
   SHORT DESKTOP SCREENS
============================================================ */

@media (max-height: 800px) and (min-width: 1101px) {

    .why-us-scene .suppliers-premium {
        bottom: 13px;
    }

    .why-us-scene .suppliers-heading {
        margin-bottom: 8px;
    }

    .why-us-scene .supplier-logo-item {
        height: 44px;
        padding: 7px;
    }

    .why-us-scene .supplier-logo-item img {
        height: 25px;
    }
}

/* ============================================================
   ACCESSIBILITY
============================================================ */

@media (prefers-reduced-motion: reduce) {

    .why-us-scene .supplier-logo-item,
    .why-us-scene .supplier-logo-item img {
        transition: none;
    }

    .why-us-scene .supplier-logo-item:hover {
        transform: none;
    }
}
/* ============================================================
   WHY US — SUPPLIER LOGOS VISIBILITY FIX
============================================================ */

.supplier-list img {
    display: block;
    max-width: 100%;
    max-height: 38px;
    width: auto;
    height: auto;
    object-fit: contain;
    opacity: 1;
    filter: none;
}

.why-us-scene .supplier-logo-item img,
html[data-theme="light"] .why-us-scene .supplier-logo-item img,
html[data-theme="dark"] .why-us-scene .supplier-logo-item img {
    filter: none;
    opacity: 1;
}

.why-us-scene .supplier-logo-item:hover img,
html[data-theme="light"] .why-us-scene .supplier-logo-item:hover img,
html[data-theme="dark"] .why-us-scene .supplier-logo-item:hover img {
    filter: none;
    opacity: 1;
}



/* ============================================================
   HERO — PHUKET ISLAND MAP
============================================================ */

.hero-location-card .location-card-decoration {
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: visible;
}

.hero-location-card .location-phuket-map {
    display: block;
    width: 170px;
    height: 220px;
    max-width: none;
    object-fit: contain;
    transform: scale(1.55);
    transform-origin: center;
    opacity: 1;
    filter: brightness(1.8) contrast(1.2);
}

@media (max-width: 767px) {
    .hero-location-card .location-phuket-map {
        width: 115px;
        height: 155px;
        transform: scale(1.3);
    }
}

/* ============================================================
   PHUKET MAP — ANIMATED SERVICE POINTS
============================================================ */

.location-card-decoration {
    position: relative;
}

/* Container aligned with the existing Phuket map */
.phuket-map-points {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 3;
}

/* Red illuminated dots */
.phuket-map-point {
    position: absolute;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #ff3048;
    box-shadow:
        0 0 6px rgba(255, 48, 72, .9),
        0 0 14px rgba(255, 48, 72, .55);
    transform: translate(-50%, -50%);
}

/* Expanding light ring */
.phuket-map-point::after {
    content: "";
    position: absolute;
    inset: -5px;
    border: 1px solid rgba(255, 48, 72, .75);
    border-radius: 50%;
    animation: phuket-map-pulse 3s ease-out infinite;
}

/* Initial positions — adjust to the actual map outline */
.point-1 {
    left: 48%;
    top: 23%;
}

.point-2 {
    left: 58%;
    top: 43%;
}

.point-3 {
    left: 44%;
    top: 62%;
}

.point-4 {
    left: 51%;
    top: 79%;
}

/* Offset animations for a natural effect */
.point-2::after {
    animation-delay: .7s;
}

.point-3::after {
    animation-delay: 1.4s;
}

.point-4::after {
    animation-delay: 2.1s;
}

@keyframes phuket-map-pulse {
    0% {
        transform: scale(.45);
        opacity: .85;
    }

    75% {
        opacity: .15;
    }

    100% {
        transform: scale(2.3);
        opacity: 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .phuket-map-point::after {
        animation: none;
        opacity: .4;
    }
}
