﻿/* ========== Base Styles ========== */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Alumni+Sans+SC:wght@600;700&family=Kantumruy:wght@400&family=Afacad:wght@500&display=swap');

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

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    font-size: 16px;
    line-height: 24px;
    letter-spacing: 0.02em;
    color: var(--color-gray-900-warm);
    background: linear-gradient(180deg, rgba(250,255,255,0.9) 0%, rgba(241,246,248,1) 15%, rgba(250,250,250,1) 75%);
    min-height: 100vh;
    visibility: hidden;
}

body.loaded {
    visibility: visible;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

/* ========== Typography System ========== */
/* Primary Font (Inter) - Headings */
h1, .h1 {
    font-family: var(--font-primary);
    font-size: 48px;
    font-weight: 700;
    line-height: normal;
    letter-spacing: 0.03em;
}

h2, .h2 {
    font-family: var(--font-primary);
    font-size: 38px;
    font-weight: 700;
    line-height: 40px;
    letter-spacing: 0.03em;
}

h3, .h3 {
    font-family: var(--font-primary);
    font-size: 30px;
    font-weight: 600;
    line-height: 34px;
    letter-spacing: 0.03em;
}

h4, .h4 {
    font-family: var(--font-primary);
    font-size: 28px;
    font-weight: 700;
    line-height: normal;
    letter-spacing: 0;
}

h5, .h5 {
    font-family: var(--font-primary);
    font-size: 24px;
    font-weight: 600;
    line-height: normal;
    letter-spacing: 0.03em;
}

/* Primary Font (Inter) - Subheadings */
.subhead-lg {
    font-family: var(--font-primary);
    font-size: 20px;
    font-weight: 500;
    line-height: 26px;
    letter-spacing: 0.02em;
}

.subhead-md {
    font-family: var(--font-primary);
    font-size: 18px;
    font-weight: 400;
    line-height: 30px;
    letter-spacing: 0.02em;
}

.subhead-sm {
    font-family: var(--font-primary);
    font-size: 14px;
    font-weight: 600;
    line-height: 19px;
    letter-spacing: 0.02em;
}

/* Primary Font (Inter) - Button Text */
.button-text {
    font-family: var(--font-primary);
    font-size: 18px;
    font-weight: 600;
    line-height: normal;
    letter-spacing: 0.02em;
}

/* Primary Font (Inter) - Body & Lists */
.body-text {
    font-family: var(--font-primary);
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    letter-spacing: 0.02em;
}

.list-lg {
    font-family: var(--font-primary);
    font-size: 16px;
    font-weight: 500;
    line-height: 20px;
    letter-spacing: 0.02em;
}

.list-md {
    font-family: var(--font-primary);
    font-size: 14px;
    font-weight: 400;
    line-height: 19px;
    letter-spacing: 0.02em;
}

.list-sm {
    font-family: var(--font-primary);
    font-size: 12px;
    font-weight: 400;
    line-height: 24px;
    letter-spacing: 0;
}

/* Special Fonts */
.special-h1 {
    font-family: var(--font-primary);
    font-size: 56px;
    font-weight: 700;
    line-height: normal;
    letter-spacing: 0.05em;
}

.special-h2 {
    font-family: var(--font-special);
    font-size: 24px;
    font-weight: 700;
    line-height: 36px;
    letter-spacing: 0;
}

.special-h3 {
    font-family: var(--font-thai);
    font-size: 20px;
    font-weight: 400;
    line-height: 24px;
    letter-spacing: 0;
}

.special-button {
    font-family: var(--font-special);
    font-size: 32px;
    font-weight: 600;
    line-height: normal;
    letter-spacing: 0.04em;
}

.products-categories {
    font-family: var(--font-afacad);
    font-size: 20px;
    font-weight: 500;
    line-height: normal;
    letter-spacing: 0.02em;
}

/* ========== Button Components ========== */
.btn,
.primary-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-primary);
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 0.02em;
    line-height: normal;
    border-radius: var(--radius-button);
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    border: none;
}

.btn-primary {
    background: var(--color-green-500);
    color: var(--color-white);
    padding: var(--spacing-3) var(--spacing-6);
}

.btn-primary:hover {
    background: var(--color-green-700);
}

.btn-outline {
    background: transparent;
    color: var(--color-gray-900-warm);
    padding: var(--spacing-3) var(--spacing-6);
    border: 2px solid var(--color-gray-900-warm);
}

.btn-outline:hover {
    background: var(--color-gray-900-warm);
    color: var(--color-white);
}

.cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-special);
    font-size: 32px;
    font-weight: 600;
    letter-spacing: 0.04em;
    line-height: normal;
    border-radius: var(--radius-button);
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    border: none;
}

/* ========== Header ========== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--color-white);
    box-shadow: var(--shadow-header);
}

.header > .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

@media (min-width: 1024px) {
    .header > .container {
        max-width: none;
        display: grid;
        grid-template-columns: auto 1fr auto;
        padding-left: var(--container-padding);
        padding-right: var(--container-padding);
    }

    .header-nav {
        justify-self: center;
    }

    .header-actions {
        justify-self: end;
    }
}

.header-logo {
    display: flex;
    align-items: center;
}

.header-logo__img {
    height: 24px;
    width: auto;
}

.header-nav {
    display: flex;
    align-items: center;
    gap: var(--spacing-7);
}

.nav-item {
    position: relative;
}

.nav-item.has-dropdown {
    display: flex;
    align-items: center;
    gap: 4px;
    cursor: pointer;
}

.nav-item > a {
    font-size: 15px;
    font-weight: 500;
    color: var(--color-gray-900-warm);
    padding: var(--spacing-2) 0;
    transition: color 0.3s ease;
}

.nav-item > a:hover,
.nav-item.has-dropdown:hover > a {
    color: var(--color-green-500);
}

.dropdown-arrow {
    width: 10px;
    height: 10px;
    color: var(--color-gray-600);
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.nav-item.has-dropdown:hover .dropdown-arrow {
    transform: rotate(180deg);
    color: var(--color-green-500);
}

.dropdown-menu {
    --dropdown-left: 0px;
    --dropdown-top: 72px;
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--color-white);
    border-radius: var(--radius-2);
    box-shadow: var(--shadow-header-light-dropdown);
    padding: var(--spacing-4) 0;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    white-space: nowrap;
    max-width: calc(100vw - 32px);
    overflow-x: auto;
    box-sizing: border-box;
}

.dropdown-menu.is-floating {
    position: fixed;
    top: var(--dropdown-top);
    left: var(--dropdown-left) !important;
    right: auto !important;
    transform: none !important;
}

.dropdown-menu.is-align-right {
    transform-origin: top right;
}

.dropdown-menu.is-align-left {
    transform-origin: top left;
}

.nav-item.has-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
}

.dropdown-menu a {
    display: block;
    padding: var(--spacing-2) var(--spacing-5);
    font-size: 14px;
    font-weight: 400;
    color: var(--color-gray-700-warm);
    line-height: 19px;
    letter-spacing: 0.02em;
    transition: color 0.3s ease;
}

.dropdown-menu a:hover {
    color: var(--color-green-500);
}

/* Two-column dropdown menu */
.dropdown-menu--two-columns {
    display: flex;
    padding: var(--spacing-4) var(--spacing-5);
    gap: var(--spacing-6);
}

.dropdown-column {
    display: flex;
    flex-direction: column;
}

.dropdown-column:first-child {
    padding-right: var(--spacing-6);
    border-right: 1px solid var(--color-gray-200);
}

.dropdown-menu--two-columns .dropdown-column a {
    padding: var(--spacing-2) 0;
}

/* Five-column dropdown menu */
.dropdown-menu--five-columns {
    display: flex;
    padding: var(--spacing-4) var(--spacing-5);
    gap: var(--spacing-5);
    right: 0;
    left: auto;
    max-width: min(calc(100vw - 32px), 1200px);
}

.dropdown-menu--five-columns .dropdown-column {
    display: flex;
    flex-direction: column;
    padding-right: var(--spacing-5);
    border-right: 1px solid var(--color-gray-200);
}

.dropdown-menu--five-columns .dropdown-column:last-child {
    padding-right: 0;
    border-right: none;
}

.dropdown-column-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--color-gray-900-warm);
    margin-bottom: var(--spacing-2);
    display: block;
}

.dropdown-menu--five-columns .dropdown-column a {
    padding: var(--spacing-1) 0;
    font-size: 13px;
    line-height: 1.6;
}

.dropdown-divider {
    height: 1px;
    background: var(--color-gray-200);
    margin: var(--spacing-2) var(--spacing-5);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: var(--spacing-4);
}

.lang-selector {
    position: relative;
    flex-shrink: 0;
}

.lang-selector__trigger {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-width: 148px;
    padding: 8px 12px;
    border: 1px solid rgba(17, 24, 39, 0.12);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.82);
    color: var(--color-gray-900-warm);
    cursor: pointer;
    transition: border-color 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

.lang-selector__trigger:hover {
    border-color: rgba(17, 24, 39, 0.24);
}

.lang-selector.is-open .lang-selector__trigger {
    border-color: rgba(17, 24, 39, 0.2);
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.12);
}

.lang-selector__current {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
    flex: 1;
}

.lang-selector__label {
    min-width: 0;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.2;
}

.lang-selector__code {
    font-size: 11px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.08em;
    color: var(--color-gray-500);
    text-transform: uppercase;
}

.lang-selector__arrow {
    flex-shrink: 0;
    color: var(--color-gray-500);
    transition: transform 0.25s ease, color 0.25s ease;
}

.lang-selector.is-open .lang-selector__arrow {
    transform: rotate(180deg);
    color: var(--color-gray-900-warm);
}

.lang-selector__menu {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    min-width: 220px;
    padding: 8px;
    border: 1px solid rgba(17, 24, 39, 0.08);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 24px 50px rgba(15, 23, 42, 0.16);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    pointer-events: none;
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
    z-index: 1250;
    backdrop-filter: blur(12px);
}

.lang-selector.is-open .lang-selector__menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

.lang-option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 12px;
    border-radius: 12px;
    color: var(--color-gray-700-warm);
    transition: background 0.25s ease, color 0.25s ease;
}

.lang-option__main,
.lang-option__meta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.lang-option__main {
    min-width: 0;
}

.lang-option__name {
    min-width: 0;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    font-size: 14px;
    font-weight: 500;
}

.lang-option__code {
    font-size: 11px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.08em;
    color: var(--color-gray-500);
}

.lang-option__check {
    opacity: 0;
    color: var(--color-green-500);
    font-size: 13px;
    transition: opacity 0.25s ease;
}

.lang-item__flag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 14px;
    flex-shrink: 0;
    overflow: hidden;
}

.lang-item__flag--svg svg {
    display: block;
    width: 100%;
    height: 100%;
}

.lang-item__emoji {
    font-family: "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji", sans-serif;
    font-size: 16px;
    line-height: 1;
}

.lang-selector__emoji,
.lang-option__emoji {
    line-height: 1;
}

.lang-option:hover,
.lang-option.active {
    background: rgba(4, 120, 87, 0.08);
    color: var(--color-gray-900-warm);
}

.lang-option.active .lang-option__check {
    opacity: 1;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.mobile-menu-toggle span {
    width: 24px;
    height: 2px;
    background: var(--color-gray-900-warm);
    transition: all 0.3s ease;
}

/* ========== Hero Section ========== */
.hero {
    margin-top: 72px;
    padding: 70px 0;
}

.hero-banner {
    width: 100%;
    height: auto;
    display: block;
}

/* ========== Section Title ========== */
.section-title {
    text-align: center;
    margin-bottom: var(--spacing-8);
}

.section-title h2 {
    position: relative;
    display: inline-block;
    isolation: isolate;
    font-size: 30px;
    font-weight: 600;
    line-height: 34px;
    color: var(--color-gray-700-warm);
    letter-spacing: 0.03em;
    padding: var(--spacing-2) var(--spacing-4);
    text-shadow: var(--shadow-subtitle-light);
}

.section-title h2::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(241,246,248,1) 0%, rgba(211,235,229,1) 100%);
    clip-path: polygon(100% 0, 100% 100%, 0 100%);
    z-index: -1;
}

.title-underline {
    display: none;
}

/* ========== Solutions Section ========== */
.solutions {
    padding: var(--spacing-10) 0;
}

/* 2 top + 3 bottom layout using 6-column grid */
.solutions-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: var(--spacing-5);
}

.solutions-grid .solution-card:nth-child(1) {
    grid-column: span 3;
}

.solutions-grid .solution-card:nth-child(2) {
    grid-column: span 3;
}

.solutions-grid .solution-card:nth-child(3) {
    grid-column: span 2;
}

.solutions-grid .solution-card:nth-child(4) {
    grid-column: span 2;
}

.solutions-grid .solution-card:nth-child(5) {
    grid-column: span 2;
}

.solution-card {
    position: relative;
    border-radius: var(--radius-2);
    overflow: hidden;
    cursor: pointer;
}

.solution-card--large {
    height: 280px;
}

.solution-card--small {
    height: 220px;
}

.solution-card__bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.solution-card:hover .solution-card__bg {
    transform: scale(1.05);
}

.solution-card__content {
    position: absolute;
    left: 0;
    right: 0;
    top: calc(50% - 30px);
    bottom: calc(50% - 30px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.95);
    padding: 16px var(--spacing-4);
    transition: top 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                bottom 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                padding 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    overflow: hidden;
}

.solution-card:hover .solution-card__content,
.solution-card.active .solution-card__content {
    top: 0;
    bottom: 0;
    padding: var(--spacing-5) var(--spacing-4);
    justify-content: flex-start;
}

.solution-card__title {
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: var(--color-gray-900-warm);
    margin: 0;
    text-align: center;
    white-space: nowrap;
}

.solution-card:hover .solution-card__title,
.solution-card.active .solution-card__title {
    margin-bottom: var(--spacing-3);
}

.solution-card__list {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: center;
    opacity: 0;
    visibility: hidden;
    display: none;
    transition: opacity 0.3s ease 0.1s, visibility 0.3s ease 0.1s;
}

.solution-card:hover .solution-card__list,
.solution-card.active .solution-card__list {
    opacity: 1;
    visibility: visible;
    display: block;
}

.solution-card__list li {
    margin-bottom: var(--spacing-1);
}

.solution-card__list a {
    font-size: 14px;
    color: var(--color-gray-700-warm);
    transition: color 0.3s ease;
    line-height: 19px;
    letter-spacing: 0.02em;
}

.solution-card__list a:hover {
    color: var(--color-green-500);
}

/* ========== Products Section ========== */
.products {
    padding: var(--spacing-10) 0;
    background: var(--color-gray-100);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-5);
}

.product-card {
    display: flex;
    flex-direction: column;
    background: var(--color-white);
    border-radius: var(--radius-2);
    overflow: hidden;
    box-shadow: var(--shadow-product-default);
    text-decoration: none;
    color: inherit;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.product-image {
    width: 100%;
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-white);
    padding: var(--spacing-4);
}

.product-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.product-info {
    height: 80px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: var(--color-gray-200);
    padding: var(--spacing-3) var(--spacing-4);
    text-align: center;
    margin-top: auto;
}

.product-code {
    font-size: 14px;
    font-weight: 600;
    line-height: 19px;
    letter-spacing: 0.02em;
    margin-bottom: var(--spacing-1);
}

.product-code-green {
    color: var(--color-green-500);
}

.product-code-teal {
    color: var(--color-green-700);
}

.product-description {
    font-size: 12px;
    color: var(--color-gray-600);
    line-height: 24px;
    letter-spacing: 0;
}

.home-products-grid {
    align-items: stretch;
}

.home-product-card {
    height: 100%;
}

.home-product-info {
    min-height: 120px;
    height: auto;
    justify-content: flex-start;
    gap: var(--spacing-2);
    box-sizing: border-box;
}

.home-product-code {
    margin-bottom: 0;
    word-break: break-word;
}

.home-product-description {
    line-height: 1.6;
    word-break: break-word;
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    line-clamp: 3;
}

/* ========== Services Section ========== */
.services {
    padding: var(--spacing-10) 0;
    background: var(--color-gray-900-cool);
}

/* Dark theme section title */
.section-title--dark h2 {
    color: var(--color-white);
    text-shadow: var(--shadow-subtitle-dark);
}

.section-title--dark h2::after {
    background: linear-gradient(180deg, var(--color-gray-900-warm) 0%, rgba(90,120,110,1) 100%);
}

.services-list {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-6);
}

.service-card {
    position: relative;
    height: 280px;
    border-radius: var(--radius-2);
    overflow: hidden;
}

.service-card__bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service-card__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 55%;
    height: 100%;
}

.service-card--light .service-card__overlay {
    background: linear-gradient(to right, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.9) 60%, rgba(255, 255, 255, 0) 100%);
}

.service-card--dark .service-card__overlay {
    background: linear-gradient(to right, rgba(41, 47, 53, 0.95) 0%, rgba(41, 47, 53, 0.9) 60%, rgba(41, 47, 53, 0) 100%);
}

.service-card__content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
    max-width: 45%;
    padding: var(--spacing-6);
}

.service-card__title {
    font-size: 24px;
    font-weight: 600;
    letter-spacing: 0.03em;
    margin-bottom: var(--spacing-4);
}

.service-card--light .service-card__title {
    color: var(--color-gray-900-warm);
}

.service-card--dark .service-card__title {
    color: var(--color-white);
}

.service-card__description {
    font-size: 14px;
    line-height: 19px;
    letter-spacing: 0.02em;
}

.service-card--light .service-card__description {
    color: var(--color-gray-700-warm);
}

.service-card--dark .service-card__description {
    color: var(--color-gray-200);
}

/* ========== Footer ========== */
.footer {
    background: var(--color-gray-200);
    padding: var(--spacing-9) 0 var(--spacing-6);
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr 1.2fr;
    gap: var(--spacing-8);
    margin-bottom: var(--spacing-8);
}

.footer-column h4 {
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: var(--color-gray-900-warm);
    margin-bottom: var(--spacing-4);
}

.footer-column ul {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-2);
}

.footer-column ul li a {
    font-size: 14px;
    color: var(--color-gray-700-warm);
    transition: color 0.3s ease;
    line-height: 19px;
    letter-spacing: 0.02em;
}

.footer-column ul li a:hover {
    color: var(--color-green-500);
}

.footer-divider {
    height: 1px;
    background: var(--color-gray-500);
    margin: var(--spacing-3) 0;
    width: 60%;
}

.footer-column-right {
    text-align: right;
}

.footer-logo {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: flex-start;
    gap: 0;
    margin-bottom: var(--spacing-5);
}

.footer-logo__img {
    width: 220px;
    height: auto;
    display: block;
    filter: brightness(0) saturate(100%);
}
.footer-links {
    margin-bottom: var(--spacing-5);
}

.footer-links li {
    margin-bottom: var(--spacing-3);
}

.footer-links li a {
    font-family: var(--font-primary);
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 0.02em;
    color: var(--color-gray-900-warm);
}

.footer-links li a:hover {
    color: var(--color-green-500);
}

.footer-social {
    display: grid;
    grid-template-columns: repeat(3, 56px);
    gap: var(--spacing-3);
    justify-content: end;
}

.footer-social .social-icon {
    position: relative;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-gray-900-warm);
    border-radius: var(--radius-3);
    border: 2px solid var(--color-gray-900-warm);
    background: transparent;
    transition: color 0.3s ease, border-color 0.3s ease;
}

.footer-social .social-icon:hover {
    color: var(--color-green-500);
    border-color: var(--color-green-500);
}

.footer-social .social-icon svg {
    width: 26px;
    height: 26px;
}

.footer-social .social-icon--youtube .social-label {
    position: absolute;
    bottom: 6px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 11px;
    font-weight: 700;
    color: inherit;
    background: transparent;
    padding: 0;
    border-radius: 0;
    line-height: 1;
}

.footer-social .social-icon--youtube svg {
    transform: translateY(-6px);
}

.footer-bottom {
    border-top: none;
    padding-top: var(--spacing-6);
    text-align: center;
}

.footer-bottom p {
    font-size: 14px;
    color: var(--color-gray-700-warm);
}

/* ========== Dark Mode ========== */
body.dark-mode {
    background: var(--color-black);
    color: var(--color-white);
}

/* Header Dark Mode */
body.dark-mode .header {
    background: var(--color-black-95);
    box-shadow: var(--shadow-header);
}

body.dark-mode .nav-item > a {
    color: var(--color-white);
}

body.dark-mode .nav-item > a:hover,
body.dark-mode .nav-item.has-dropdown:hover > a {
    color: var(--color-green-200);
}

body.dark-mode .dropdown-arrow {
    color: var(--color-gray-500);
}

body.dark-mode .nav-item.has-dropdown:hover .dropdown-arrow {
    color: var(--color-green-200);
}

body.dark-mode .dropdown-menu {
    background: var(--color-black);
    box-shadow: var(--shadow-header-dark-dropdown);
}

body.dark-mode .dropdown-menu a {
    color: var(--color-gray-200);
}

body.dark-mode .dropdown-menu a:hover {
    color: var(--color-green-200);
}

body.dark-mode .dropdown-column-title {
    color: var(--color-white);
}

body.dark-mode .dropdown-menu--two-columns .dropdown-column:first-child,
body.dark-mode .dropdown-menu--five-columns .dropdown-column {
    border-right-color: var(--color-gray-700-cool);
}

body.dark-mode .lang-selector {
    color: var(--color-gray-500);
}

body.dark-mode .lang-selector__trigger {
    border-color: rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.05);
    color: var(--color-white);
}

body.dark-mode .lang-selector__trigger:hover,
body.dark-mode .lang-selector.is-open .lang-selector__trigger {
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 18px 32px rgba(0, 0, 0, 0.3);
}

body.dark-mode .lang-selector__code,
body.dark-mode .lang-selector__arrow,
body.dark-mode .lang-option__code {
    color: rgba(255, 255, 255, 0.56);
}

body.dark-mode .lang-selector__menu {
    border-color: rgba(255, 255, 255, 0.08);
    background: rgba(15, 23, 42, 0.94);
    box-shadow: 0 24px 50px rgba(0, 0, 0, 0.4);
}

body.dark-mode .lang-option {
    color: rgba(255, 255, 255, 0.82);
}

body.dark-mode .lang-option:hover,
body.dark-mode .lang-option.active {
    color: var(--color-white);
    background: rgba(255, 255, 255, 0.08);
}

body.dark-mode .mobile-menu-toggle span {
    background: var(--color-white);
}

/* Footer Dark Mode */
body.dark-mode .footer {
    background: var(--color-gray-900-cool);
}

body.dark-mode .footer-column h4 {
    color: var(--color-white);
}

body.dark-mode .footer-column ul li a {
    color: var(--color-gray-200);
}

body.dark-mode .footer-column ul li a:hover {
    color: var(--color-green-200);
}

body.dark-mode .footer-divider {
    background: var(--color-gray-700-cool);
}

body.dark-mode .footer-links li a {
    color: var(--color-white);
}

body.dark-mode .footer-links li a:hover {
    color: var(--color-green-200);
}

body.dark-mode .footer-social .social-icon {
    color: var(--color-white);
    border-color: var(--color-white);
    background: transparent;
}

body.dark-mode .footer-social .social-icon:hover {
    color: var(--color-green-200);
    border-color: var(--color-green-200);
}

body.dark-mode .footer-social .social-icon--youtube .social-label {
    color: var(--color-white);
    background: transparent;
}

body.dark-mode .footer-bottom p {
    color: var(--color-gray-200);
}

body.dark-mode .footer-logo__img {
    filter: brightness(0) invert(1);
}

