/* =========================================================
       THEME TOKENS — high-contrast text on every theme
       ========================================================= */

:root,
[data-theme="teal"] {
  --primary: #0f766e;
  --primary-2: #14b8a6;
  --primary-3: #115e59;
  --primary-rgb: 15, 118, 110;
  --bg: #f8fafb;
  --bg-alt: #f0fdfa;
  --card: #ffffff;
  --card2: #f0fdfa;
  --text: #0f172a;
  --muted: #334155;
  --on-primary: #ffffff;
  --on-dark: #e8f4f4;
  --border: #ccfbf1;
  --footer-bg: #134e4a;
  --max: 1280px;
  --fontsize16: 16px;
  --primary-soft: rgba(var(--primary-rgb), 0.12);
  --shadow: 0 10px 40px rgba(var(--primary-rgb), 0.14);
  --glow: 0 0 20px rgba(var(--primary-rgb), 0.25);
  --gold: var(--primary);
  --gold2: var(--primary-2);
  --gold3: var(--primary-3);
  --gold-deep: var(--primary-3);
  --gold-soft: var(--primary-soft);
  --navy: var(--card);
  --navy2: var(--primary);
  --section-alt: var(--primary);
  --theme-mode: light;
}

[data-theme="ocean"] {
  --primary: #0369a1;
  --primary-2: #0ea5e9;
  --primary-3: #075985;
  --primary-rgb: 3, 105, 161;
  --bg: #f0f9ff;
  --bg-alt: #e0f2fe;
  --card: #ffffff;
  --card2: #e0f2fe;
  --text: #0f172a;
  --muted: #334155;
  --on-primary: #ffffff;
  --on-dark: #e8f4f4;
  --border: #bae6fd;
  --footer-bg: #0c4a6e;
  --max: 1280px;
  --fontsize16: 16px;
  --primary-soft: rgba(var(--primary-rgb), 0.12);
  --shadow: 0 10px 40px rgba(var(--primary-rgb), 0.14);
  --glow: 0 0 20px rgba(var(--primary-rgb), 0.25);
  --gold: var(--primary);
  --gold2: var(--primary-2);
  --gold3: var(--primary-3);
  --gold-deep: var(--primary-3);
  --gold-soft: var(--primary-soft);
  --navy: var(--card);
  --navy2: var(--primary);
  --section-alt: var(--primary);
  --theme-mode: light;
}

[data-theme="sky"] {
  --primary: #0284c7;
  --primary-2: #38bdf8;
  --primary-3: #0369a1;
  --primary-rgb: 2, 132, 199;
  --bg: #f0f9ff;
  --bg-alt: #e0f2fe;
  --card: #ffffff;
  --card2: #f0f9ff;
  --text: #0f172a;
  --muted: #334155;
  --on-primary: #ffffff;
  --on-dark: #e8f4f4;
  --border: #7dd3fc;
  --footer-bg: #075985;
  --max: 1280px;
  --fontsize16: 16px;
  --primary-soft: rgba(var(--primary-rgb), 0.12);
  --shadow: 0 10px 40px rgba(var(--primary-rgb), 0.14);
  --glow: 0 0 20px rgba(var(--primary-rgb), 0.25);
  --gold: var(--primary);
  --gold2: var(--primary-2);
  --gold3: var(--primary-3);
  --gold-deep: var(--primary-3);
  --gold-soft: var(--primary-soft);
  --navy: var(--card);
  --navy2: var(--primary);
  --section-alt: var(--primary);
  --theme-mode: light;
}

[data-theme="cyan"] {
  --primary: #0e7490;
  --primary-2: #06b6d4;
  --primary-3: #155e75;
  --primary-rgb: 14, 116, 144;
  --bg: #ecfeff;
  --bg-alt: #cffafe;
  --card: #ffffff;
  --card2: #ecfeff;
  --text: #0f172a;
  --muted: #334155;
  --on-primary: #ffffff;
  --on-dark: #e8f4f4;
  --border: #a5f3fc;
  --footer-bg: #164e63;
  --max: 1280px;
  --fontsize16: 16px;
  --primary-soft: rgba(var(--primary-rgb), 0.12);
  --shadow: 0 10px 40px rgba(var(--primary-rgb), 0.14);
  --glow: 0 0 20px rgba(var(--primary-rgb), 0.25);
  --gold: var(--primary);
  --gold2: var(--primary-2);
  --gold3: var(--primary-3);
  --gold-deep: var(--primary-3);
  --gold-soft: var(--primary-soft);
  --navy: var(--card);
  --navy2: var(--primary);
  --section-alt: var(--primary);
  --theme-mode: light;
}

[data-theme="forest"] {
  --primary: #15803d;
  --primary-2: #22c55e;
  --primary-3: #166534;
  --primary-rgb: 21, 128, 61;
  --bg: #f0fdf4;
  --bg-alt: #dcfce7;
  --card: #ffffff;
  --card2: #f0fdf4;
  --text: #0f172a;
  --muted: #334155;
  --on-primary: #ffffff;
  --on-dark: #e8f4f4;
  --border: #bbf7d0;
  --footer-bg: #14532d;
  --max: 1280px;
  --fontsize16: 16px;
  --primary-soft: rgba(var(--primary-rgb), 0.12);
  --shadow: 0 10px 40px rgba(var(--primary-rgb), 0.14);
  --glow: 0 0 20px rgba(var(--primary-rgb), 0.25);
  --gold: var(--primary);
  --gold2: var(--primary-2);
  --gold3: var(--primary-3);
  --gold-deep: var(--primary-3);
  --gold-soft: var(--primary-soft);
  --navy: var(--card);
  --navy2: var(--primary);
  --section-alt: var(--primary);
  --theme-mode: light;
}

[data-theme="emerald"] {
  --primary: #047857;
  --primary-2: #10b981;
  --primary-3: #065f46;
  --primary-rgb: 4, 120, 87;
  --bg: #ecfdf5;
  --bg-alt: #d1fae5;
  --card: #ffffff;
  --card2: #ecfdf5;
  --text: #0f172a;
  --muted: #334155;
  --on-primary: #ffffff;
  --on-dark: #e8f4f4;
  --border: #a7f3d0;
  --footer-bg: #064e3b;
  --max: 1280px;
  --fontsize16: 16px;
  --primary-soft: rgba(var(--primary-rgb), 0.12);
  --shadow: 0 10px 40px rgba(var(--primary-rgb), 0.14);
  --glow: 0 0 20px rgba(var(--primary-rgb), 0.25);
  --gold: var(--primary);
  --gold2: var(--primary-2);
  --gold3: var(--primary-3);
  --gold-deep: var(--primary-3);
  --gold-soft: var(--primary-soft);
  --navy: var(--card);
  --navy2: var(--primary);
  --section-alt: var(--primary);
  --theme-mode: light;
}

[data-theme="mint"] {
  --primary: #0d9488;
  --primary-2: #2dd4bf;
  --primary-3: #0f766e;
  --primary-rgb: 13, 148, 136;
  --bg: #f0fdfa;
  --bg-alt: #ccfbf1;
  --card: #ffffff;
  --card2: #f0fdfa;
  --text: #0f172a;
  --muted: #334155;
  --on-primary: #ffffff;
  --on-dark: #e8f4f4;
  --border: #99f6e4;
  --footer-bg: #115e59;
  --max: 1280px;
  --fontsize16: 16px;
  --primary-soft: rgba(var(--primary-rgb), 0.12);
  --shadow: 0 10px 40px rgba(var(--primary-rgb), 0.14);
  --glow: 0 0 20px rgba(var(--primary-rgb), 0.25);
  --gold: var(--primary);
  --gold2: var(--primary-2);
  --gold3: var(--primary-3);
  --gold-deep: var(--primary-3);
  --gold-soft: var(--primary-soft);
  --navy: var(--card);
  --navy2: var(--primary);
  --section-alt: var(--primary);
  --theme-mode: light;
}

[data-theme="lime"] {
  --primary: #4d7c0f;
  --primary-2: #84cc16;
  --primary-3: #3f6212;
  --primary-rgb: 77, 124, 15;
  --bg: #f7fee7;
  --bg-alt: #ecfccb;
  --card: #ffffff;
  --card2: #f7fee7;
  --text: #0f172a;
  --muted: #334155;
  --on-primary: #ffffff;
  --on-dark: #e8f4f4;
  --border: #d9f99d;
  --footer-bg: #365314;
  --max: 1280px;
  --fontsize16: 16px;
  --primary-soft: rgba(var(--primary-rgb), 0.12);
  --shadow: 0 10px 40px rgba(var(--primary-rgb), 0.14);
  --glow: 0 0 20px rgba(var(--primary-rgb), 0.25);
  --gold: var(--primary);
  --gold2: var(--primary-2);
  --gold3: var(--primary-3);
  --gold-deep: var(--primary-3);
  --gold-soft: var(--primary-soft);
  --navy: var(--card);
  --navy2: var(--primary);
  --section-alt: var(--primary);
  --theme-mode: light;
}

[data-theme="olive"] {
  --primary: #4d7c0f;
  --primary-2: #65a30d;
  --primary-3: #3f6212;
  --primary-rgb: 77, 124, 15;
  --bg: #fafaf9;
  --bg-alt: #f5f5f4;
  --card: #ffffff;
  --card2: #fafaf9;
  --text: #0f172a;
  --muted: #44403c;
  --on-primary: #ffffff;
  --on-dark: #e8f4f4;
  --border: #d6d3d1;
  --footer-bg: #365314;
  --max: 1280px;
  --fontsize16: 16px;
  --primary-soft: rgba(var(--primary-rgb), 0.12);
  --shadow: 0 10px 40px rgba(var(--primary-rgb), 0.14);
  --glow: 0 0 20px rgba(var(--primary-rgb), 0.25);
  --gold: var(--primary);
  --gold2: var(--primary-2);
  --gold3: var(--primary-3);
  --gold-deep: var(--primary-3);
  --gold-soft: var(--primary-soft);
  --navy: var(--card);
  --navy2: var(--primary);
  --section-alt: var(--primary);
  --theme-mode: light;
}

[data-theme="sunset"] {
  --primary: #c2410c;
  --primary-2: #f97316;
  --primary-3: #9a3412;
  --primary-rgb: 194, 65, 12;
  --bg: #fff7ed;
  --bg-alt: #ffedd5;
  --card: #ffffff;
  --card2: #fff7ed;
  --text: #0f172a;
  --muted: #334155;
  --on-primary: #ffffff;
  --on-dark: #e8f4f4;
  --border: #fed7aa;
  --footer-bg: #7c2d12;
  --max: 1280px;
  --fontsize16: 16px;
  --primary-soft: rgba(var(--primary-rgb), 0.12);
  --shadow: 0 10px 40px rgba(var(--primary-rgb), 0.14);
  --glow: 0 0 20px rgba(var(--primary-rgb), 0.25);
  --gold: var(--primary);
  --gold2: var(--primary-2);
  --gold3: var(--primary-3);
  --gold-deep: var(--primary-3);
  --gold-soft: var(--primary-soft);
  --navy: var(--card);
  --navy2: var(--primary);
  --section-alt: var(--primary);
  --theme-mode: light;
}

[data-theme="amber"] {
  --primary: #b45309;
  --primary-2: #f59e0b;
  --primary-3: #92400e;
  --primary-rgb: 180, 83, 9;
  --bg: #fffbeb;
  --bg-alt: #fef3c7;
  --card: #ffffff;
  --card2: #fffbeb;
  --text: #0f172a;
  --muted: #334155;
  --on-primary: #ffffff;
  --on-dark: #e8f4f4;
  --border: #fde68a;
  --footer-bg: #78350f;
  --max: 1280px;
  --fontsize16: 16px;
  --primary-soft: rgba(var(--primary-rgb), 0.12);
  --shadow: 0 10px 40px rgba(var(--primary-rgb), 0.14);
  --glow: 0 0 20px rgba(var(--primary-rgb), 0.25);
  --gold: var(--primary);
  --gold2: var(--primary-2);
  --gold3: var(--primary-3);
  --gold-deep: var(--primary-3);
  --gold-soft: var(--primary-soft);
  --navy: var(--card);
  --navy2: var(--primary);
  --section-alt: var(--primary);
  --theme-mode: light;
}

[data-theme="sand"] {
  --primary: #a16207;
  --primary-2: #ca8a04;
  --primary-3: #854d0e;
  --primary-rgb: 161, 98, 7;
  --bg: #fefce8;
  --bg-alt: #fef9c3;
  --card: #ffffff;
  --card2: #fefce8;
  --text: #0f172a;
  --muted: #334155;
  --on-primary: #ffffff;
  --on-dark: #e8f4f4;
  --border: #fde047;
  --footer-bg: #713f12;
  --max: 1280px;
  --fontsize16: 16px;
  --primary-soft: rgba(var(--primary-rgb), 0.12);
  --shadow: 0 10px 40px rgba(var(--primary-rgb), 0.14);
  --glow: 0 0 20px rgba(var(--primary-rgb), 0.25);
  --gold: var(--primary);
  --gold2: var(--primary-2);
  --gold3: var(--primary-3);
  --gold-deep: var(--primary-3);
  --gold-soft: var(--primary-soft);
  --navy: var(--card);
  --navy2: var(--primary);
  --section-alt: var(--primary);
  --theme-mode: light;
}

[data-theme="gold"] {
  --primary: #a16207;
  --primary-2: #eab308;
  --primary-3: #854d0e;
  --primary-rgb: 161, 98, 7;
  --bg: #fffbeb;
  --bg-alt: #fef3c7;
  --card: #ffffff;
  --card2: #fffbeb;
  --text: #0f172a;
  --muted: #334155;
  --on-primary: #ffffff;
  --on-dark: #e8f4f4;
  --border: #fcd34d;
  --footer-bg: #78350f;
  --max: 1280px;
  --fontsize16: 16px;
  --primary-soft: rgba(var(--primary-rgb), 0.12);
  --shadow: 0 10px 40px rgba(var(--primary-rgb), 0.14);
  --glow: 0 0 20px rgba(var(--primary-rgb), 0.25);
  --gold: var(--primary);
  --gold2: var(--primary-2);
  --gold3: var(--primary-3);
  --gold-deep: var(--primary-3);
  --gold-soft: var(--primary-soft);
  --navy: var(--card);
  --navy2: var(--primary);
  --section-alt: var(--primary);
  --theme-mode: light;
}

[data-theme="coral"] {
  --primary: #e11d48;
  --primary-2: #fb7185;
  --primary-3: #be123c;
  --primary-rgb: 225, 29, 72;
  --bg: #fff1f2;
  --bg-alt: #ffe4e6;
  --card: #ffffff;
  --card2: #fff1f2;
  --text: #0f172a;
  --muted: #334155;
  --on-primary: #ffffff;
  --on-dark: #e8f4f4;
  --border: #fecdd3;
  --footer-bg: #9f1239;
  --max: 1280px;
  --fontsize16: 16px;
  --primary-soft: rgba(var(--primary-rgb), 0.12);
  --shadow: 0 10px 40px rgba(var(--primary-rgb), 0.14);
  --glow: 0 0 20px rgba(var(--primary-rgb), 0.25);
  --gold: var(--primary);
  --gold2: var(--primary-2);
  --gold3: var(--primary-3);
  --gold-deep: var(--primary-3);
  --gold-soft: var(--primary-soft);
  --navy: var(--card);
  --navy2: var(--primary);
  --section-alt: var(--primary);
  --theme-mode: light;
}

[data-theme="rose"] {
  --primary: #be123c;
  --primary-2: #f43f5e;
  --primary-3: #9f1239;
  --primary-rgb: 190, 18, 60;
  --bg: #fff1f2;
  --bg-alt: #ffe4e6;
  --card: #ffffff;
  --card2: #fff1f2;
  --text: #0f172a;
  --muted: #334155;
  --on-primary: #ffffff;
  --on-dark: #e8f4f4;
  --border: #fecdd3;
  --footer-bg: #881337;
  --max: 1280px;
  --fontsize16: 16px;
  --primary-soft: rgba(var(--primary-rgb), 0.12);
  --shadow: 0 10px 40px rgba(var(--primary-rgb), 0.14);
  --glow: 0 0 20px rgba(var(--primary-rgb), 0.25);
  --gold: var(--primary);
  --gold2: var(--primary-2);
  --gold3: var(--primary-3);
  --gold-deep: var(--primary-3);
  --gold-soft: var(--primary-soft);
  --navy: var(--card);
  --navy2: var(--primary);
  --section-alt: var(--primary);
  --theme-mode: light;
}

[data-theme="pink"] {
  --primary: #db2777;
  --primary-2: #ec4899;
  --primary-3: #be185d;
  --primary-rgb: 219, 39, 119;
  --bg: #fdf2f8;
  --bg-alt: #fce7f3;
  --card: #ffffff;
  --card2: #fdf2f8;
  --text: #0f172a;
  --muted: #334155;
  --on-primary: #ffffff;
  --on-dark: #e8f4f4;
  --border: #fbcfe8;
  --footer-bg: #9d174d;
  --max: 1280px;
  --fontsize16: 16px;
  --primary-soft: rgba(var(--primary-rgb), 0.12);
  --shadow: 0 10px 40px rgba(var(--primary-rgb), 0.14);
  --glow: 0 0 20px rgba(var(--primary-rgb), 0.25);
  --gold: var(--primary);
  --gold2: var(--primary-2);
  --gold3: var(--primary-3);
  --gold-deep: var(--primary-3);
  --gold-soft: var(--primary-soft);
  --navy: var(--card);
  --navy2: var(--primary);
  --section-alt: var(--primary);
  --theme-mode: light;
}

[data-theme="fuchsia"] {
  --primary: #c026d3;
  --primary-2: #e879f9;
  --primary-3: #a21caf;
  --primary-rgb: 192, 38, 211;
  --bg: #fdf4ff;
  --bg-alt: #fae8ff;
  --card: #ffffff;
  --card2: #fdf4ff;
  --text: #0f172a;
  --muted: #334155;
  --on-primary: #ffffff;
  --on-dark: #e8f4f4;
  --border: #f5d0fe;
  --footer-bg: #86198f;
  --max: 1280px;
  --fontsize16: 16px;
  --primary-soft: rgba(var(--primary-rgb), 0.12);
  --shadow: 0 10px 40px rgba(var(--primary-rgb), 0.14);
  --glow: 0 0 20px rgba(var(--primary-rgb), 0.25);
  --gold: var(--primary);
  --gold2: var(--primary-2);
  --gold3: var(--primary-3);
  --gold-deep: var(--primary-3);
  --gold-soft: var(--primary-soft);
  --navy: var(--card);
  --navy2: var(--primary);
  --section-alt: var(--primary);
  --theme-mode: light;
}

[data-theme="royal"] {
  --primary: #6d28d9;
  --primary-2: #8b5cf6;
  --primary-3: #5b21b6;
  --primary-rgb: 109, 40, 217;
  --bg: #f5f3ff;
  --bg-alt: #ede9fe;
  --card: #ffffff;
  --card2: #f5f3ff;
  --text: #0f172a;
  --muted: #334155;
  --on-primary: #ffffff;
  --on-dark: #e8f4f4;
  --border: #ddd6fe;
  --footer-bg: #4c1d95;
  --max: 1280px;
  --fontsize16: 16px;
  --primary-soft: rgba(var(--primary-rgb), 0.12);
  --shadow: 0 10px 40px rgba(var(--primary-rgb), 0.14);
  --glow: 0 0 20px rgba(var(--primary-rgb), 0.25);
  --gold: var(--primary);
  --gold2: var(--primary-2);
  --gold3: var(--primary-3);
  --gold-deep: var(--primary-3);
  --gold-soft: var(--primary-soft);
  --navy: var(--card);
  --navy2: var(--primary);
  --section-alt: var(--primary);
  --theme-mode: light;
}

[data-theme="violet"] {
  --primary: #7c3aed;
  --primary-2: #a78bfa;
  --primary-3: #6d28d9;
  --primary-rgb: 124, 58, 237;
  --bg: #f5f3ff;
  --bg-alt: #ede9fe;
  --card: #ffffff;
  --card2: #f5f3ff;
  --text: #0f172a;
  --muted: #334155;
  --on-primary: #ffffff;
  --on-dark: #e8f4f4;
  --border: #c4b5fd;
  --footer-bg: #5b21b6;
  --max: 1280px;
  --fontsize16: 16px;
  --primary-soft: rgba(var(--primary-rgb), 0.12);
  --shadow: 0 10px 40px rgba(var(--primary-rgb), 0.14);
  --glow: 0 0 20px rgba(var(--primary-rgb), 0.25);
  --gold: var(--primary);
  --gold2: var(--primary-2);
  --gold3: var(--primary-3);
  --gold-deep: var(--primary-3);
  --gold-soft: var(--primary-soft);
  --navy: var(--card);
  --navy2: var(--primary);
  --section-alt: var(--primary);
  --theme-mode: light;
}

[data-theme="indigo"] {
  --primary: #4338ca;
  --primary-2: #6366f1;
  --primary-3: #3730a3;
  --primary-rgb: 67, 56, 202;
  --bg: #eef2ff;
  --bg-alt: #e0e7ff;
  --card: #ffffff;
  --card2: #eef2ff;
  --text: #0f172a;
  --muted: #334155;
  --on-primary: #ffffff;
  --on-dark: #e8f4f4;
  --border: #c7d2fe;
  --footer-bg: #312e81;
  --max: 1280px;
  --fontsize16: 16px;
  --primary-soft: rgba(var(--primary-rgb), 0.12);
  --shadow: 0 10px 40px rgba(var(--primary-rgb), 0.14);
  --glow: 0 0 20px rgba(var(--primary-rgb), 0.25);
  --gold: var(--primary);
  --gold2: var(--primary-2);
  --gold3: var(--primary-3);
  --gold-deep: var(--primary-3);
  --gold-soft: var(--primary-soft);
  --navy: var(--card);
  --navy2: var(--primary);
  --section-alt: var(--primary);
  --theme-mode: light;
}

[data-theme="blue"] {
  --primary: #1d4ed8;
  --primary-2: #3b82f6;
  --primary-3: #1e40af;
  --primary-rgb: 29, 78, 216;
  --bg: #eff6ff;
  --bg-alt: #dbeafe;
  --card: #ffffff;
  --card2: #eff6ff;
  --text: #0f172a;
  --muted: #334155;
  --on-primary: #ffffff;
  --on-dark: #e8f4f4;
  --border: #bfdbfe;
  --footer-bg: #1e3a8a;
  --max: 1280px;
  --fontsize16: 16px;
  --primary-soft: rgba(var(--primary-rgb), 0.12);
  --shadow: 0 10px 40px rgba(var(--primary-rgb), 0.14);
  --glow: 0 0 20px rgba(var(--primary-rgb), 0.25);
  --gold: var(--primary);
  --gold2: var(--primary-2);
  --gold3: var(--primary-3);
  --gold-deep: var(--primary-3);
  --gold-soft: var(--primary-soft);
  --navy: var(--card);
  --navy2: var(--primary);
  --section-alt: var(--primary);
  --theme-mode: light;
}

[data-theme="slate"] {
  --primary: #334155;
  --primary-2: #64748b;
  --primary-3: #1e293b;
  --primary-rgb: 51, 65, 85;
  --bg: #f8fafc;
  --bg-alt: #f1f5f9;
  --card: #ffffff;
  --card2: #f8fafc;
  --text: #0f172a;
  --muted: #334155;
  --on-primary: #ffffff;
  --on-dark: #e8f4f4;
  --border: #e2e8f0;
  --footer-bg: #0f172a;
  --max: 1280px;
  --fontsize16: 16px;
  --primary-soft: rgba(var(--primary-rgb), 0.12);
  --shadow: 0 10px 40px rgba(var(--primary-rgb), 0.14);
  --glow: 0 0 20px rgba(var(--primary-rgb), 0.25);
  --gold: var(--primary);
  --gold2: var(--primary-2);
  --gold3: var(--primary-3);
  --gold-deep: var(--primary-3);
  --gold-soft: var(--primary-soft);
  --navy: var(--card);
  --navy2: var(--primary);
  --section-alt: var(--primary);
  --theme-mode: light;
}

[data-theme="stone"] {
  --primary: #57534e;
  --primary-2: #78716c;
  --primary-3: #44403c;
  --primary-rgb: 87, 83, 78;
  --bg: #fafaf9;
  --bg-alt: #f5f5f4;
  --card: #ffffff;
  --card2: #fafaf9;
  --text: #0f172a;
  --muted: #44403c;
  --on-primary: #ffffff;
  --on-dark: #e8f4f4;
  --border: #e7e5e4;
  --footer-bg: #292524;
  --max: 1280px;
  --fontsize16: 16px;
  --primary-soft: rgba(var(--primary-rgb), 0.12);
  --shadow: 0 10px 40px rgba(var(--primary-rgb), 0.14);
  --glow: 0 0 20px rgba(var(--primary-rgb), 0.25);
  --gold: var(--primary);
  --gold2: var(--primary-2);
  --gold3: var(--primary-3);
  --gold-deep: var(--primary-3);
  --gold-soft: var(--primary-soft);
  --navy: var(--card);
  --navy2: var(--primary);
  --section-alt: var(--primary);
  --theme-mode: light;
}

[data-theme="zinc"] {
  --primary: #3f3f46;
  --primary-2: #71717a;
  --primary-3: #27272a;
  --primary-rgb: 63, 63, 70;
  --bg: #fafafa;
  --bg-alt: #f4f4f5;
  --card: #ffffff;
  --card2: #fafafa;
  --text: #0f172a;
  --muted: #3f3f46;
  --on-primary: #ffffff;
  --on-dark: #e8f4f4;
  --border: #e4e4e7;
  --footer-bg: #18181b;
  --max: 1280px;
  --fontsize16: 16px;
  --primary-soft: rgba(var(--primary-rgb), 0.12);
  --shadow: 0 10px 40px rgba(var(--primary-rgb), 0.14);
  --glow: 0 0 20px rgba(var(--primary-rgb), 0.25);
  --gold: var(--primary);
  --gold2: var(--primary-2);
  --gold3: var(--primary-3);
  --gold-deep: var(--primary-3);
  --gold-soft: var(--primary-soft);
  --navy: var(--card);
  --navy2: var(--primary);
  --section-alt: var(--primary);
  --theme-mode: light;
}

[data-theme="crimson"] {
  --primary: #b91c1c;
  --primary-2: #ef4444;
  --primary-3: #991b1b;
  --primary-rgb: 185, 28, 28;
  --bg: #fef2f2;
  --bg-alt: #fee2e2;
  --card: #ffffff;
  --card2: #fef2f2;
  --text: #0f172a;
  --muted: #334155;
  --on-primary: #ffffff;
  --on-dark: #e8f4f4;
  --border: #fecaca;
  --footer-bg: #7f1d1d;
  --max: 1280px;
  --fontsize16: 16px;
  --primary-soft: rgba(var(--primary-rgb), 0.12);
  --shadow: 0 10px 40px rgba(var(--primary-rgb), 0.14);
  --glow: 0 0 20px rgba(var(--primary-rgb), 0.25);
  --gold: var(--primary);
  --gold2: var(--primary-2);
  --gold3: var(--primary-3);
  --gold-deep: var(--primary-3);
  --gold-soft: var(--primary-soft);
  --navy: var(--card);
  --navy2: var(--primary);
  --section-alt: var(--primary);
  --theme-mode: light;
}

[data-theme="berry"] {
  --primary: #9d174d;
  --primary-2: #db2777;
  --primary-3: #831843;
  --primary-rgb: 157, 23, 77;
  --bg: #fdf2f8;
  --bg-alt: #fce7f3;
  --card: #ffffff;
  --card2: #fdf2f8;
  --text: #0f172a;
  --muted: #334155;
  --on-primary: #ffffff;
  --on-dark: #e8f4f4;
  --border: #fbcfe8;
  --footer-bg: #831843;
  --max: 1280px;
  --fontsize16: 16px;
  --primary-soft: rgba(var(--primary-rgb), 0.12);
  --shadow: 0 10px 40px rgba(var(--primary-rgb), 0.14);
  --glow: 0 0 20px rgba(var(--primary-rgb), 0.25);
  --gold: var(--primary);
  --gold2: var(--primary-2);
  --gold3: var(--primary-3);
  --gold-deep: var(--primary-3);
  --gold-soft: var(--primary-soft);
  --navy: var(--card);
  --navy2: var(--primary);
  --section-alt: var(--primary);
  --theme-mode: light;
}

[data-theme="peach"] {
  --primary: #ea580c;
  --primary-2: #fb923c;
  --primary-3: #c2410c;
  --primary-rgb: 234, 88, 12;
  --bg: #fff7ed;
  --bg-alt: #ffedd5;
  --card: #ffffff;
  --card2: #fff7ed;
  --text: #0f172a;
  --muted: #334155;
  --on-primary: #ffffff;
  --on-dark: #e8f4f4;
  --border: #fed7aa;
  --footer-bg: #9a3412;
  --max: 1280px;
  --fontsize16: 16px;
  --primary-soft: rgba(var(--primary-rgb), 0.12);
  --shadow: 0 10px 40px rgba(var(--primary-rgb), 0.14);
  --glow: 0 0 20px rgba(var(--primary-rgb), 0.25);
  --gold: var(--primary);
  --gold2: var(--primary-2);
  --gold3: var(--primary-3);
  --gold-deep: var(--primary-3);
  --gold-soft: var(--primary-soft);
  --navy: var(--card);
  --navy2: var(--primary);
  --section-alt: var(--primary);
  --theme-mode: light;
}

[data-theme="honey"] {
  --primary: #d97706;
  --primary-2: #fbbf24;
  --primary-3: #b45309;
  --primary-rgb: 217, 119, 6;
  --bg: #fffbeb;
  --bg-alt: #fef3c7;
  --card: #ffffff;
  --card2: #fffbeb;
  --text: #0f172a;
  --muted: #334155;
  --on-primary: #ffffff;
  --on-dark: #e8f4f4;
  --border: #fde68a;
  --footer-bg: #92400e;
  --max: 1280px;
  --fontsize16: 16px;
  --primary-soft: rgba(var(--primary-rgb), 0.12);
  --shadow: 0 10px 40px rgba(var(--primary-rgb), 0.14);
  --glow: 0 0 20px rgba(var(--primary-rgb), 0.25);
  --gold: var(--primary);
  --gold2: var(--primary-2);
  --gold3: var(--primary-3);
  --gold-deep: var(--primary-3);
  --gold-soft: var(--primary-soft);
  --navy: var(--card);
  --navy2: var(--primary);
  --section-alt: var(--primary);
  --theme-mode: light;
}

[data-theme="sage"] {
  --primary: #4d7c0f;
  --primary-2: #65a30d;
  --primary-3: #3f6212;
  --primary-rgb: 77, 124, 15;
  --bg: #f7fee7;
  --bg-alt: #ecfccb;
  --card: #ffffff;
  --card2: #f7fee7;
  --text: #0f172a;
  --muted: #3f6212;
  --on-primary: #ffffff;
  --on-dark: #e8f4f4;
  --border: #d9f99d;
  --footer-bg: #365314;
  --max: 1280px;
  --fontsize16: 16px;
  --primary-soft: rgba(var(--primary-rgb), 0.12);
  --shadow: 0 10px 40px rgba(var(--primary-rgb), 0.14);
  --glow: 0 0 20px rgba(var(--primary-rgb), 0.25);
  --gold: var(--primary);
  --gold2: var(--primary-2);
  --gold3: var(--primary-3);
  --gold-deep: var(--primary-3);
  --gold-soft: var(--primary-soft);
  --navy: var(--card);
  --navy2: var(--primary);
  --section-alt: var(--primary);
  --theme-mode: light;
}

[data-theme="aqua"] {
  --primary: #0891b2;
  --primary-2: #22d3ee;
  --primary-3: #0e7490;
  --primary-rgb: 8, 145, 178;
  --bg: #ecfeff;
  --bg-alt: #cffafe;
  --card: #ffffff;
  --card2: #ecfeff;
  --text: #0f172a;
  --muted: #334155;
  --on-primary: #ffffff;
  --on-dark: #e8f4f4;
  --border: #a5f3fc;
  --footer-bg: #155e75;
  --max: 1280px;
  --fontsize16: 16px;
  --primary-soft: rgba(var(--primary-rgb), 0.12);
  --shadow: 0 10px 40px rgba(var(--primary-rgb), 0.14);
  --glow: 0 0 20px rgba(var(--primary-rgb), 0.25);
  --gold: var(--primary);
  --gold2: var(--primary-2);
  --gold3: var(--primary-3);
  --gold-deep: var(--primary-3);
  --gold-soft: var(--primary-soft);
  --navy: var(--card);
  --navy2: var(--primary);
  --section-alt: var(--primary);
  --theme-mode: light;
}

[data-theme="midnight"] {
  --primary: #3b82f6;
  --primary-2: #60a5fa;
  --primary-3: #1d4ed8;
  --primary-rgb: 59, 130, 246;
  --bg: #0f172a;
  --bg-alt: #1e293b;
  --card: #1e293b;
  --card2: #334155;
  --text: #f1f5f9;
  --muted: #94a3b8;
  --on-primary: #ffffff;
  --on-dark: #e2e8f0;
  --border: #334155;
  --footer-bg: #020617;
  --max: 1280px;
  --fontsize16: 16px;
  --primary-soft: rgba(var(--primary-rgb), 0.18);
  --shadow: 0 10px 40px rgba(var(--primary-rgb), 0.14);
  --glow: 0 0 20px rgba(var(--primary-rgb), 0.25);
  --gold: var(--primary);
  --gold2: var(--primary-2);
  --gold3: var(--primary-3);
  --gold-deep: var(--primary-3);
  --gold-soft: var(--primary-soft);
  --navy: var(--card);
  --navy2: var(--primary);
  --section-alt: var(--primary);
  --theme-mode: dark;
}

[data-theme="obsidian"] {
  --primary: #a78bfa;
  --primary-2: #c4b5fd;
  --primary-3: #7c3aed;
  --primary-rgb: 167, 139, 250;
  --bg: #09090b;
  --bg-alt: #18181b;
  --card: #18181b;
  --card2: #27272a;
  --text: #fafafa;
  --muted: #a1a1aa;
  --on-primary: #ffffff;
  --on-dark: #e2e8f0;
  --border: #27272a;
  --footer-bg: #000000;
  --max: 1280px;
  --fontsize16: 16px;
  --primary-soft: rgba(var(--primary-rgb), 0.18);
  --shadow: 0 10px 40px rgba(var(--primary-rgb), 0.14);
  --glow: 0 0 20px rgba(var(--primary-rgb), 0.25);
  --gold: var(--primary);
  --gold2: var(--primary-2);
  --gold3: var(--primary-3);
  --gold-deep: var(--primary-3);
  --gold-soft: var(--primary-soft);
  --navy: var(--card);
  --navy2: var(--primary);
  --section-alt: var(--primary);
  --theme-mode: dark;
}

[data-theme="charcoal"] {
  --primary: #38bdf8;
  --primary-2: #7dd3fc;
  --primary-3: #0284c7;
  --primary-rgb: 56, 189, 248;
  --bg: #171717;
  --bg-alt: #262626;
  --card: #262626;
  --card2: #404040;
  --text: #f5f5f5;
  --muted: #a3a3a3;
  --on-primary: #ffffff;
  --on-dark: #e2e8f0;
  --border: #404040;
  --footer-bg: #0a0a0a;
  --max: 1280px;
  --fontsize16: 16px;
  --primary-soft: rgba(var(--primary-rgb), 0.18);
  --shadow: 0 10px 40px rgba(var(--primary-rgb), 0.14);
  --glow: 0 0 20px rgba(var(--primary-rgb), 0.25);
  --gold: var(--primary);
  --gold2: var(--primary-2);
  --gold3: var(--primary-3);
  --gold-deep: var(--primary-3);
  --gold-soft: var(--primary-soft);
  --navy: var(--card);
  --navy2: var(--primary);
  --section-alt: var(--primary);
  --theme-mode: dark;
}

[data-theme="noir"] {
  --primary: #f43f5e;
  --primary-2: #fb7185;
  --primary-3: #e11d48;
  --primary-rgb: 244, 63, 94;
  --bg: #0c0a09;
  --bg-alt: #1c1917;
  --card: #1c1917;
  --card2: #292524;
  --text: #fafaf9;
  --muted: #a8a29e;
  --on-primary: #ffffff;
  --on-dark: #e2e8f0;
  --border: #292524;
  --footer-bg: #000000;
  --max: 1280px;
  --fontsize16: 16px;
  --primary-soft: rgba(var(--primary-rgb), 0.18);
  --shadow: 0 10px 40px rgba(var(--primary-rgb), 0.14);
  --glow: 0 0 20px rgba(var(--primary-rgb), 0.25);
  --gold: var(--primary);
  --gold2: var(--primary-2);
  --gold3: var(--primary-3);
  --gold-deep: var(--primary-3);
  --gold-soft: var(--primary-soft);
  --navy: var(--card);
  --navy2: var(--primary);
  --section-alt: var(--primary);
  --theme-mode: dark;
}

[data-theme="navy"] {
  --primary: #60a5fa;
  --primary-2: #93c5fd;
  --primary-3: #2563eb;
  --primary-rgb: 96, 165, 250;
  --bg: #0c1222;
  --bg-alt: #111827;
  --card: #111827;
  --card2: #1f2937;
  --text: #f3f4f6;
  --muted: #9ca3af;
  --on-primary: #ffffff;
  --on-dark: #e2e8f0;
  --border: #1f2937;
  --footer-bg: #030712;
  --max: 1280px;
  --fontsize16: 16px;
  --primary-soft: rgba(var(--primary-rgb), 0.18);
  --shadow: 0 10px 40px rgba(var(--primary-rgb), 0.14);
  --glow: 0 0 20px rgba(var(--primary-rgb), 0.25);
  --gold: var(--primary);
  --gold2: var(--primary-2);
  --gold3: var(--primary-3);
  --gold-deep: var(--primary-3);
  --gold-soft: var(--primary-soft);
  --navy: var(--card);
  --navy2: var(--primary);
  --section-alt: var(--primary);
  --theme-mode: dark;
}

[data-theme="forest-night"] {
  --primary: #4ade80;
  --primary-2: #86efac;
  --primary-3: #16a34a;
  --primary-rgb: 74, 222, 128;
  --bg: #052e16;
  --bg-alt: #14532d;
  --card: #14532d;
  --card2: #166534;
  --text: #f0fdf4;
  --muted: #86efac;
  --on-primary: #ffffff;
  --on-dark: #e2e8f0;
  --border: #166534;
  --footer-bg: #022c22;
  --max: 1280px;
  --fontsize16: 16px;
  --primary-soft: rgba(var(--primary-rgb), 0.18);
  --shadow: 0 10px 40px rgba(var(--primary-rgb), 0.14);
  --glow: 0 0 20px rgba(var(--primary-rgb), 0.25);
  --gold: var(--primary);
  --gold2: var(--primary-2);
  --gold3: var(--primary-3);
  --gold-deep: var(--primary-3);
  --gold-soft: var(--primary-soft);
  --navy: var(--card);
  --navy2: var(--primary);
  --section-alt: var(--primary);
  --theme-mode: dark;
}

[data-theme="ember"] {
  --primary: #fb923c;
  --primary-2: #fdba74;
  --primary-3: #ea580c;
  --primary-rgb: 251, 146, 60;
  --bg: #1c0a00;
  --bg-alt: #431407;
  --card: #431407;
  --card2: #7c2d12;
  --text: #fff7ed;
  --muted: #fdba74;
  --on-primary: #ffffff;
  --on-dark: #e2e8f0;
  --border: #7c2d12;
  --footer-bg: #0c0a09;
  --max: 1280px;
  --fontsize16: 16px;
  --primary-soft: rgba(var(--primary-rgb), 0.18);
  --shadow: 0 10px 40px rgba(var(--primary-rgb), 0.14);
  --glow: 0 0 20px rgba(var(--primary-rgb), 0.25);
  --gold: var(--primary);
  --gold2: var(--primary-2);
  --gold3: var(--primary-3);
  --gold-deep: var(--primary-3);
  --gold-soft: var(--primary-soft);
  --navy: var(--card);
  --navy2: var(--primary);
  --section-alt: var(--primary);
  --theme-mode: dark;
}

[data-theme="plum"] {
  --primary: #e879f9;
  --primary-2: #f0abfc;
  --primary-3: #c026d3;
  --primary-rgb: 232, 121, 249;
  --bg: #1b0a1f;
  --bg-alt: #3b0764;
  --card: #3b0764;
  --card2: #581c87;
  --text: #faf5ff;
  --muted: #e9d5ff;
  --on-primary: #ffffff;
  --on-dark: #e2e8f0;
  --border: #581c87;
  --footer-bg: #0c0a0f;
  --max: 1280px;
  --fontsize16: 16px;
  --primary-soft: rgba(var(--primary-rgb), 0.18);
  --shadow: 0 10px 40px rgba(var(--primary-rgb), 0.14);
  --glow: 0 0 20px rgba(var(--primary-rgb), 0.25);
  --gold: var(--primary);
  --gold2: var(--primary-2);
  --gold3: var(--primary-3);
  --gold-deep: var(--primary-3);
  --gold-soft: var(--primary-soft);
  --navy: var(--card);
  --navy2: var(--primary);
  --section-alt: var(--primary);
  --theme-mode: dark;
}

[data-theme="deep-teal"] {
  --primary: #2dd4bf;
  --primary-2: #5eead4;
  --primary-3: #0d9488;
  --primary-rgb: 45, 212, 191;
  --bg: #042f2e;
  --bg-alt: #134e4a;
  --card: #134e4a;
  --card2: #115e59;
  --text: #f0fdfa;
  --muted: #99f6e4;
  --on-primary: #ffffff;
  --on-dark: #e2e8f0;
  --border: #115e59;
  --footer-bg: #022c22;
  --max: 1280px;
  --fontsize16: 16px;
  --primary-soft: rgba(var(--primary-rgb), 0.18);
  --shadow: 0 10px 40px rgba(var(--primary-rgb), 0.14);
  --glow: 0 0 20px rgba(var(--primary-rgb), 0.25);
  --gold: var(--primary);
  --gold2: var(--primary-2);
  --gold3: var(--primary-3);
  --gold-deep: var(--primary-3);
  --gold-soft: var(--primary-soft);
  --navy: var(--card);
  --navy2: var(--primary);
  --section-alt: var(--primary);
  --theme-mode: dark;
}

[data-theme="wine"] {
  --primary: #fb7185;
  --primary-2: #fda4af;
  --primary-3: #e11d48;
  --primary-rgb: 251, 113, 133;
  --bg: #1a0508;
  --bg-alt: #4c0519;
  --card: #4c0519;
  --card2: #881337;
  --text: #fff1f2;
  --muted: #fecdd3;
  --on-primary: #ffffff;
  --on-dark: #e2e8f0;
  --border: #881337;
  --footer-bg: #0c0002;
  --max: 1280px;
  --fontsize16: 16px;
  --primary-soft: rgba(var(--primary-rgb), 0.18);
  --shadow: 0 10px 40px rgba(var(--primary-rgb), 0.14);
  --glow: 0 0 20px rgba(var(--primary-rgb), 0.25);
  --gold: var(--primary);
  --gold2: var(--primary-2);
  --gold3: var(--primary-3);
  --gold-deep: var(--primary-3);
  --gold-soft: var(--primary-soft);
  --navy: var(--card);
  --navy2: var(--primary);
  --section-alt: var(--primary);
  --theme-mode: dark;
}

[data-theme="graphite"] {
  --primary: #94a3b8;
  --primary-2: #cbd5e1;
  --primary-3: #64748b;
  --primary-rgb: 148, 163, 184;
  --bg: #0f172a;
  --bg-alt: #1e293b;
  --card: #1e293b;
  --card2: #334155;
  --text: #f8fafc;
  --muted: #94a3b8;
  --on-primary: #ffffff;
  --on-dark: #e2e8f0;
  --border: #334155;
  --footer-bg: #020617;
  --max: 1280px;
  --fontsize16: 16px;
  --primary-soft: rgba(var(--primary-rgb), 0.18);
  --shadow: 0 10px 40px rgba(var(--primary-rgb), 0.14);
  --glow: 0 0 20px rgba(var(--primary-rgb), 0.25);
  --gold: var(--primary);
  --gold2: var(--primary-2);
  --gold3: var(--primary-3);
  --gold-deep: var(--primary-3);
  --gold-soft: var(--primary-soft);
  --navy: var(--card);
  --navy2: var(--primary);
  --section-alt: var(--primary);
  --theme-mode: dark;
}

[data-theme="copper"] {
  --primary: #fbbf24;
  --primary-2: #fcd34d;
  --primary-3: #d97706;
  --primary-rgb: 251, 191, 36;
  --bg: #1c1005;
  --bg-alt: #451a03;
  --card: #451a03;
  --card2: #78350f;
  --text: #fffbeb;
  --muted: #fde68a;
  --on-primary: #ffffff;
  --on-dark: #e2e8f0;
  --border: #78350f;
  --footer-bg: #0c0800;
  --max: 1280px;
  --fontsize16: 16px;
  --primary-soft: rgba(var(--primary-rgb), 0.18);
  --shadow: 0 10px 40px rgba(var(--primary-rgb), 0.14);
  --glow: 0 0 20px rgba(var(--primary-rgb), 0.25);
  --gold: var(--primary);
  --gold2: var(--primary-2);
  --gold3: var(--primary-3);
  --gold-deep: var(--primary-3);
  --gold-soft: var(--primary-soft);
  --navy: var(--card);
  --navy2: var(--primary);
  --section-alt: var(--primary);
  --theme-mode: dark;
}

[data-theme="arctic"] {
  --primary: #67e8f9;
  --primary-2: #a5f3fc;
  --primary-3: #06b6d4;
  --primary-rgb: 103, 232, 249;
  --bg: #083344;
  --bg-alt: #164e63;
  --card: #164e63;
  --card2: #155e75;
  --text: #ecfeff;
  --muted: #a5f3fc;
  --on-primary: #ffffff;
  --on-dark: #e2e8f0;
  --border: #155e75;
  --footer-bg: #042f2e;
  --max: 1280px;
  --fontsize16: 16px;
  --primary-soft: rgba(var(--primary-rgb), 0.18);
  --shadow: 0 10px 40px rgba(var(--primary-rgb), 0.14);
  --glow: 0 0 20px rgba(var(--primary-rgb), 0.25);
  --gold: var(--primary);
  --gold2: var(--primary-2);
  --gold3: var(--primary-3);
  --gold-deep: var(--primary-3);
  --gold-soft: var(--primary-soft);
  --navy: var(--card);
  --navy2: var(--primary);
  --section-alt: var(--primary);
  --theme-mode: dark;
}

[data-theme="lavender"] {
  --primary: #c4b5fd;
  --primary-2: #ddd6fe;
  --primary-3: #8b5cf6;
  --primary-rgb: 196, 181, 253;
  --bg: #1e1b4b;
  --bg-alt: #312e81;
  --card: #312e81;
  --card2: #4c1d95;
  --text: #f5f3ff;
  --muted: #ddd6fe;
  --on-primary: #ffffff;
  --on-dark: #e2e8f0;
  --border: #4c1d95;
  --footer-bg: #0f0a1e;
  --max: 1280px;
  --fontsize16: 16px;
  --primary-soft: rgba(var(--primary-rgb), 0.18);
  --shadow: 0 10px 40px rgba(var(--primary-rgb), 0.14);
  --glow: 0 0 20px rgba(var(--primary-rgb), 0.25);
  --gold: var(--primary);
  --gold2: var(--primary-2);
  --gold3: var(--primary-3);
  --gold-deep: var(--primary-3);
  --gold-soft: var(--primary-soft);
  --navy: var(--card);
  --navy2: var(--primary);
  --section-alt: var(--primary);
  --theme-mode: dark;
}

[data-theme="moss"] {
  --primary: #a3e635;
  --primary-2: #bef264;
  --primary-3: #65a30d;
  --primary-rgb: 163, 230, 53;
  --bg: #1a2e05;
  --bg-alt: #365314;
  --card: #365314;
  --card2: #3f6212;
  --text: #f7fee7;
  --muted: #d9f99d;
  --on-primary: #ffffff;
  --on-dark: #e2e8f0;
  --border: #3f6212;
  --footer-bg: #0a1400;
  --max: 1280px;
  --fontsize16: 16px;
  --primary-soft: rgba(var(--primary-rgb), 0.18);
  --shadow: 0 10px 40px rgba(var(--primary-rgb), 0.14);
  --glow: 0 0 20px rgba(var(--primary-rgb), 0.25);
  --gold: var(--primary);
  --gold2: var(--primary-2);
  --gold3: var(--primary-3);
  --gold-deep: var(--primary-3);
  --gold-soft: var(--primary-soft);
  --navy: var(--card);
  --navy2: var(--primary);
  --section-alt: var(--primary);
  --theme-mode: dark;
}

[data-theme="ruby"] {
  --primary: #f87171;
  --primary-2: #fca5a5;
  --primary-3: #dc2626;
  --primary-rgb: 248, 113, 113;
  --bg: #1a0505;
  --bg-alt: #450a0a;
  --card: #450a0a;
  --card2: #7f1d1d;
  --text: #fef2f2;
  --muted: #fecaca;
  --on-primary: #ffffff;
  --on-dark: #e2e8f0;
  --border: #7f1d1d;
  --footer-bg: #0a0000;
  --max: 1280px;
  --fontsize16: 16px;
  --primary-soft: rgba(var(--primary-rgb), 0.18);
  --shadow: 0 10px 40px rgba(var(--primary-rgb), 0.14);
  --glow: 0 0 20px rgba(var(--primary-rgb), 0.25);
  --gold: var(--primary);
  --gold2: var(--primary-2);
  --gold3: var(--primary-3);
  --gold-deep: var(--primary-3);
  --gold-soft: var(--primary-soft);
  --navy: var(--card);
  --navy2: var(--primary);
  --section-alt: var(--primary);
  --theme-mode: dark;
}

[data-theme="sapphire"] {
  --primary: #818cf8;
  --primary-2: #a5b4fc;
  --primary-3: #4f46e5;
  --primary-rgb: 129, 140, 248;
  --bg: #0f0a2e;
  --bg-alt: #1e1b4b;
  --card: #1e1b4b;
  --card2: #312e81;
  --text: #eef2ff;
  --muted: #c7d2fe;
  --on-primary: #ffffff;
  --on-dark: #e2e8f0;
  --border: #312e81;
  --footer-bg: #05021a;
  --max: 1280px;
  --fontsize16: 16px;
  --primary-soft: rgba(var(--primary-rgb), 0.18);
  --shadow: 0 10px 40px rgba(var(--primary-rgb), 0.14);
  --glow: 0 0 20px rgba(var(--primary-rgb), 0.25);
  --gold: var(--primary);
  --gold2: var(--primary-2);
  --gold3: var(--primary-3);
  --gold-deep: var(--primary-3);
  --gold-soft: var(--primary-soft);
  --navy: var(--card);
  --navy2: var(--primary);
  --section-alt: var(--primary);
  --theme-mode: dark;
}

[data-theme="bronze"] {
  --primary: #d6a056;
  --primary-2: #e8c078;
  --primary-3: #a16207;
  --primary-rgb: 214, 160, 86;
  --bg: #1a1208;
  --bg-alt: #422006;
  --card: #422006;
  --card2: #713f12;
  --text: #fefce8;
  --muted: #fde047;
  --on-primary: #ffffff;
  --on-dark: #e2e8f0;
  --border: #713f12;
  --footer-bg: #0a0800;
  --max: 1280px;
  --fontsize16: 16px;
  --primary-soft: rgba(var(--primary-rgb), 0.18);
  --shadow: 0 10px 40px rgba(var(--primary-rgb), 0.14);
  --glow: 0 0 20px rgba(var(--primary-rgb), 0.25);
  --gold: var(--primary);
  --gold2: var(--primary-2);
  --gold3: var(--primary-3);
  --gold-deep: var(--primary-3);
  --gold-soft: var(--primary-soft);
  --navy: var(--card);
  --navy2: var(--primary);
  --section-alt: var(--primary);
  --theme-mode: dark;
}

[data-theme="ink"] {
  --primary: #38bdf8;
  --primary-2: #7dd3fc;
  --primary-3: #0ea5e9;
  --primary-rgb: 56, 189, 248;
  --bg: #020617;
  --bg-alt: #0f172a;
  --card: #0f172a;
  --card2: #1e293b;
  --text: #f1f5f9;
  --muted: #94a3b8;
  --on-primary: #ffffff;
  --on-dark: #e2e8f0;
  --border: #1e293b;
  --footer-bg: #000000;
  --max: 1280px;
  --fontsize16: 16px;
  --primary-soft: rgba(var(--primary-rgb), 0.18);
  --shadow: 0 10px 40px rgba(var(--primary-rgb), 0.14);
  --glow: 0 0 20px rgba(var(--primary-rgb), 0.25);
  --gold: var(--primary);
  --gold2: var(--primary-2);
  --gold3: var(--primary-3);
  --gold-deep: var(--primary-3);
  --gold-soft: var(--primary-soft);
  --navy: var(--card);
  --navy2: var(--primary);
  --section-alt: var(--primary);
  --theme-mode: dark;
}

[data-theme="dusk"] {
  --primary: #f472b6;
  --primary-2: #f9a8d4;
  --primary-3: #db2777;
  --primary-rgb: 244, 114, 182;
  --bg: #1a0a14;
  --bg-alt: #500724;
  --card: #500724;
  --card2: #9d174d;
  --text: #fdf2f8;
  --muted: #fbcfe8;
  --on-primary: #ffffff;
  --on-dark: #e2e8f0;
  --border: #9d174d;
  --footer-bg: #0a0008;
  --max: 1280px;
  --fontsize16: 16px;
  --primary-soft: rgba(var(--primary-rgb), 0.18);
  --shadow: 0 10px 40px rgba(var(--primary-rgb), 0.14);
  --glow: 0 0 20px rgba(var(--primary-rgb), 0.25);
  --gold: var(--primary);
  --gold2: var(--primary-2);
  --gold3: var(--primary-3);
  --gold-deep: var(--primary-3);
  --gold-soft: var(--primary-soft);
  --navy: var(--card);
  --navy2: var(--primary);
  --section-alt: var(--primary);
  --theme-mode: dark;
}

[data-theme="renova"] {
  --primary: #c9a227;
  --primary-2: #e0c068;
  --primary-3: #a67c1a;
  --primary-rgb: 201, 162, 39;
  --bg: #0b1a2e;
  --bg-alt: #12243a;
  --card: #12243a;
  --card2: #1a3050;
  --text: #f5f0e6;
  --muted: #b8c4d4;
  --on-primary: #0b1a2e;
  --on-dark: #e8e0d0;
  --border: #1e3a5f;
  --footer-bg: #06101c;
  --max: 1280px;
  --fontsize16: 16px;
  --primary-soft: rgba(var(--primary-rgb), 0.18);
  --shadow: 0 10px 40px rgba(var(--primary-rgb), 0.2);
  --glow: 0 0 20px rgba(var(--primary-rgb), 0.3);
  --gold: var(--primary);
  --gold2: var(--primary-2);
  --gold3: var(--primary-3);
  --gold-deep: var(--primary-3);
  --gold-soft: var(--primary-soft);
  --navy: var(--card);
  --navy2: var(--primary);
  --section-alt: var(--primary);
  --theme-mode: dark;
}

/* ---- Global contrast safety (all themes) ---- */
/* Ensure high-contrast text on light backgrounds across every theme */
body {
  background: var(--bg);
  color: var(--text);
}
h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--text) !important;
}
p,
li,
label {
  color: var(--text);
}
.muted,
.section-description,
.about-hero-lead,
.leadership-intro,
.leadership-bio,
.leadership-title {
  color: var(--muted) !important;
}
/* Force darker muted on light themes for better readability */
[data-theme-mode="light"] {
  --muted: #1e293b;
}
[data-theme-mode="light"] .muted,
[data-theme-mode="light"] p,
[data-theme-mode="light"] .leadership-bio,
[data-theme-mode="light"] .leadership-title,
[data-theme-mode="light"] .leadership-intro {
  color: #1e293b !important;
}
.gold,
.eyebrow,
.about-eyebrow {
  color: var(--primary) !important;
}

.card,
.stat-card,
.phase-card,
.quote-controls-card,
.quote-controls,
.quote-metric,
.quote-guarantee,
.service-horizontal-card {
  background: var(--card);
  color: var(--text);
  border-color: var(--border);
}
.card h1,
.card h2,
.card h3,
.card h4,
.stat-number,
.phase-card h4,
.package-name {
  color: var(--text) !important;
}
.card .muted,
.phase-card p,
.stat-label,
.package-price,
.quote-metric-label,
.section-description {
  color: var(--muted) !important;
}
.section-title,
.quote-title {
  color: var(--text) !important;
}
.section-badge {
  color: var(--primary) !important;
  background: var(--primary-soft) !important;
  border-color: var(--border);
}
/* Dark surfaces: footer, quote summary, hero text */
.footer,
.footer h3,
.footer .brand {
  color: var(--on-dark) !important;
}
.footer .muted,
.footer p,
.footer button {
  color: var(--on-dark) !important;
  opacity: 0.85;
}
.footer button:hover {
  opacity: 1;
  color: #ffffff !important;
}
.quote-summary {
  color: #ffffff !important;
}
.quote-summary .quote-line span,
.quote-summary .quote-kicker {
  color: rgba(255, 255, 255, 0.85) !important;
}
.quote-summary strong {
  color: #ffffff !important;
}
.quote-total-box {
  background: var(--card) !important;
  color: var(--text) !important;
}
.quote-total-box .quote-total {
  color: var(--primary) !important;
}
.quote-total-box .quote-total-label,
.quote-total-box .quote-total-vnd,
.quote-total-box .quote-note {
  color: var(--muted) !important;
}
/* Theme panel scroll for many themes */
.theme-panel {
  max-height: min(70vh, 420px);
  overflow-y: auto;
  width: min(320px, 92vw);
  grid-template-columns: repeat(4, 1fr);
}

/* Dark theme mode: surfaces + text always readable */
[data-theme-mode="dark"] {
  color-scheme: dark;
}
[data-theme-mode="dark"] .header {
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  background: rgba(15, 23, 42, 0.94);
  border-bottom: 1px solid var(--border);
}
[data-theme-mode="dark"] .nav-item,
[data-theme-mode="dark"] .nav-button,
[data-theme-mode="dark"] .brand,
[data-theme-mode="dark"] .brand span {
  color: var(--text) !important;
}
[data-theme-mode="dark"] .dropdown-menu {
  background: var(--card) !important;
  border-color: var(--border) !important;
}
[data-theme-mode="dark"] .dropdown-menu button {
  color: var(--text) !important;
}
[data-theme-mode="dark"] .dropdown-menu button:hover {
  background: var(--primary-soft);
  color: var(--primary-2) !important;
}
[data-theme-mode="dark"] .mobile-nav {
  background: var(--card);
  color: var(--text);
}
[data-theme-mode="dark"] .mobile-link,
[data-theme-mode="dark"] .mobile-group > button,
[data-theme-mode="dark"] .mobile-sub button {
  color: var(--text) !important;
}
[data-theme-mode="dark"] .floor-btn:not(.active),
[data-theme-mode="dark"] .package-btn:not(.active) {
  background: var(--card2) !important;
  color: var(--text) !important;
  border-color: var(--border) !important;
}
[data-theme-mode="dark"] .package-btn:not(.active) .package-name,
[data-theme-mode="dark"] .package-btn:not(.active) .package-price {
  color: var(--text) !important;
}
[data-theme-mode="dark"] .package-btn:not(.active) .package-price {
  color: var(--muted) !important;
}
[data-theme-mode="dark"] .package-btn.active {
  background: var(--card) !important;
  color: var(--text) !important;
  border-color: var(--primary) !important;
}
[data-theme-mode="dark"] .package-btn.active .package-name {
  color: var(--primary-2) !important;
}
[data-theme-mode="dark"] .breadcrumb,
[data-theme-mode="dark"] .breadcrumb .muted,
[data-theme-mode="dark"] .breadcrumb span {
  color: var(--muted) !important;
}
[data-theme-mode="dark"] .breadcrumb button {
  color: var(--primary-2) !important;
}
[data-theme-mode="dark"] .workflow-checklist li,
[data-theme-mode="dark"] .phase-card,
[data-theme-mode="dark"] .stat-card,
[data-theme-mode="dark"] .card,
[data-theme-mode="dark"] .quote-controls-card,
[data-theme-mode="dark"] .quote-controls,
[data-theme-mode="dark"] .quote-metric,
[data-theme-mode="dark"] .quote-guarantee,
[data-theme-mode="dark"] .service-horizontal-card,
[data-theme-mode="dark"] .process-item {
  background: var(--card) !important;
  color: var(--text) !important;
  border-color: var(--border) !important;
}
[data-theme-mode="dark"] .card h1,
[data-theme-mode="dark"] .card h2,
[data-theme-mode="dark"] .card h3,
[data-theme-mode="dark"] .card h4,
[data-theme-mode="dark"] .phase-card h4,
[data-theme-mode="dark"] .stat-number,
[data-theme-mode="dark"] .section-title,
[data-theme-mode="dark"] .quote-title,
[data-theme-mode="dark"] .quote-label,
[data-theme-mode="dark"] .workflow-info h3 {
  color: var(--text) !important;
}
[data-theme-mode="dark"] .muted,
[data-theme-mode="dark"] .stat-label,
[data-theme-mode="dark"] .phase-card p,
[data-theme-mode="dark"] .section-description,
[data-theme-mode="dark"] .quote-metric-label,
[data-theme-mode="dark"] .workflow-info p {
  color: var(--muted) !important;
}
[data-theme-mode="dark"] .btn:not(.btn-gold) {
  color: var(--text) !important;
  border-color: var(--border) !important;
  background: transparent;
}
[data-theme-mode="dark"] .btn-gold {
  background: var(--primary) !important;
  color: var(--on-primary) !important;
}
[data-theme-mode="dark"] .hero h1,
[data-theme-mode="dark"] .hero p,
[data-theme-mode="dark"] .hero .eyebrow {
  color: #ffffff !important;
}
/* White island inside dark quote panel → force DARK text */
[data-theme-mode="dark"] .quote-total-box {
  background: #ffffff !important;
  color: #0f172a !important;
}
[data-theme-mode="dark"] .quote-total-box .quote-total {
  color: var(--primary) !important;
}
[data-theme-mode="dark"] .quote-total-box .quote-total-label,
[data-theme-mode="dark"] .quote-total-box .quote-total-vnd,
[data-theme-mode="dark"] .quote-total-box .quote-note {
  color: #475569 !important;
}
[data-theme-mode="dark"] .quote-pdf {
  color: #ffffff !important;
}
[data-theme-mode="dark"] .theme-panel {
  background: var(--card);
  border-color: var(--border);
}
[data-theme-mode="dark"] .theme-panel-title {
  color: var(--muted) !important;
}
[data-theme-mode="dark"] .theme-switcher-btn {
  background: var(--card);
  color: var(--primary-2);
  border-color: var(--border);
}
[data-theme-mode="dark"] .tag {
  color: var(--primary-2) !important;
  background: var(--primary-soft) !important;
}
[data-theme-mode="dark"] .filter,
[data-theme-mode="dark"] .filter-btn {
  background: var(--card);
  color: var(--text);
  border-color: var(--border);
}
[data-theme-mode="dark"] input,
[data-theme-mode="dark"] textarea,
[data-theme-mode="dark"] select {
  background: var(--card2);
  color: var(--text);
  border-color: var(--border);
}
[data-theme-mode="dark"] .loading-placeholder p {
  color: var(--muted) !important;
}

/* ========== TYPE SCALE (aesthetic hierarchy) ========== */
:root {
  --fs-xs: 0.75rem; /* 12px captions */
  --fs-sm: 0.875rem; /* 14px secondary */
  --fs-base: 1rem; /* 16px body */
  --fs-md: 1.0625rem; /* 17px lead */
  --fs-lg: 1.25rem; /* 20px h4 */
  --fs-xl: 1.5rem; /* 24px h3 */
  --fs-2xl: 1.875rem; /* 30px h2 */
  --fs-3xl: 2.25rem; /* 36px h1 section */
  --fs-hero: clamp(2rem, 4.5vw, 3.25rem);
  --lh-tight: 1.25;
  --lh-body: 1.65;
  --lh-loose: 1.75;
}
body {
  font-size: var(--fs-base);
  line-height: var(--lh-body);
  -webkit-font-smoothing: antialiased;
}
h1,
.h1 {
  font-size: var(--fs-3xl);
  line-height: var(--lh-tight);
  font-weight: 800;
  letter-spacing: -0.02em;
}
h2,
.h2,
.section-title {
  font-size: var(--fs-2xl) !important;
  line-height: var(--lh-tight);
  font-weight: 800;
  letter-spacing: -0.015em;
}
h3,
.h3 {
  font-size: var(--fs-xl);
  line-height: 1.3;
  font-weight: 700;
}
h4,
.h4 {
  font-size: var(--fs-lg);
  line-height: 1.35;
  font-weight: 700;
}
p,
li,
label {
  font-size: var(--fs-base);
  line-height: var(--lh-body);
}
.muted,
.section-description,
.quote-subtitle {
  font-size: var(--fs-sm);
  line-height: var(--lh-loose);
}
.section-badge,
.eyebrow,
.gold,
.quote-kicker,
.tag {
  font-size: var(--fs-xs);
  letter-spacing: 0.08em;
  font-weight: 700;
  text-transform: uppercase;
}
.hero h1 {
  font-size: var(--fs-hero) !important;
  line-height: 1.15;
  font-weight: 800;
}
.hero p {
  font-size: var(--fs-md);
  line-height: var(--lh-loose);
}
.stat-number,
.quote-total {
  font-size: clamp(1.75rem, 3vw, 2.35rem) !important;
  font-weight: 800;
  line-height: 1.1;
}
.stat-label {
  font-size: var(--fs-sm);
  font-weight: 600;
}
.btn,
.btn-gold,
.quote-pdf,
.floor-btn,
.package-btn {
  font-size: var(--fs-sm);
  font-weight: 700;
}
.nav-item,
.nav-button {
  font-size: var(--fs-sm);
  font-weight: 600;
}
.footer {
  font-size: var(--fs-sm);
}
.footer h3,
.footer-title {
  font-size: var(--fs-base) !important;
  font-weight: 700;
}
.quote-line,
.quote-vat {
  font-size: var(--fs-sm);
}
.phase-card p,
.phase-mini-list li {
  font-size: var(--fs-sm);
  line-height: 1.55;
}
.construction-caption {
  font-size: var(--fs-sm);
  font-weight: 600;
}
@media (max-width: 768px) {
  h2,
  .h2,
  .section-title {
    font-size: 1.5rem !important;
  }
  h1,
  .h1 {
    font-size: 1.75rem;
  }
  .hero h1 {
    font-size: clamp(1.75rem, 7vw, 2.25rem) !important;
  }
}

* {
  box-sizing: border-box;
  min-width: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  background-attachment: fixed;
  color: var(--text);
  transition:
    background 0.35s ease,
    color 0.35s ease;
  font:
    15px/1.65 Inter,
    "Segoe UI",
    system-ui,
    -apple-system,
    sans-serif;
}

button,
input,
textarea,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

.container {
  width: min(var(--max), calc(100% - 32px));
  margin: auto;
}

.hidden {
  display: none !important;
}

.muted {
  color: var(--muted);
}

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

.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border-bottom: 1px solid rgba(13, 115, 119, 0.12);
  box-shadow: 0 2px 16px rgba(13, 115, 119, 0.06);
}

.header-row {
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  z-index: 100;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 800;
  color: var(--gold);
  white-space: nowrap;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  padding: 4px 10px;
  border: 1px solid transparent;
  border-radius: 8px;
  max-width: 100%;
  overflow: hidden;
  box-sizing: border-box;
  flex-shrink: 1;
  min-width: 0;
}

.brand span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 100%;
  line-height: 1.2;
}

.brand img {
  height: 40px;
  width: auto;
  flex-shrink: 0;
  border-radius: 4px;
}

.nav {
  display: flex;
  align-items: center;
  /* gap: 22px; */
  font-size: 14px;
  font-weight: 600;
}

.nav-item,
.nav-button {
  position: relative;
  border: 0;
  background: none;
  color: #334155;
  padding: 6px 10px;
  border-radius: 6px;
  letter-spacing: 0.01em;
  font-weight: 500;
  transition: 0.2s ease;
}

.nav-item::after,
.nav-button::after {
  content: "";
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 0;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.22s ease;
  border-radius: 1px;
}

.nav-item:hover,
.nav-button:hover,
.nav-item.active,
.nav-button.active {
  color: var(--gold);
  background: var(--gold-soft);
}

.nav-item:hover::after,
.nav-button:hover::after,
.nav-item.active::after,
.nav-button.active::after {
  transform: scaleX(1);
}

.dropdown {
  position: relative;
}

/* Invisible bridge so mouse can travel from parent → submenu without leaving hover */
.dropdown::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  height: 14px;
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 6px);
  left: 50%;
  width: 260px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 8px;
  box-shadow: 0 12px 40px rgba(13, 115, 119, 0.15);
  backdrop-filter: blur(10px);
  z-index: 100;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateX(-50%) translateY(8px);
  transition:
    opacity 0.2s ease,
    transform 0.2s ease,
    visibility 0.2s;
}

/* Extra hit area above the menu panel (covers the visual gap) */
.dropdown-menu::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -14px;
  height: 14px;
}

.dropdown:hover .dropdown-menu,
.dropdown:focus-within .dropdown-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.dropdown-menu button {
  width: 100%;
  text-align: left;
  border: 0;
  background: none;
  color: var(--muted);
  padding: 11px 12px;
  border-radius: 10px;
  transition: 0.2s ease;
}

.dropdown-menu button:hover {
  background: var(--gold-soft);
  color: var(--gold);
  transform: translateX(2px);
}

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

.btn {
  border: 1px solid var(--border);
  background: var(--card);
  color: var(--text);
  border-radius: 999px;
  padding: 5px 8px;
  font-weight: 600;
  transition: all 0.25s ease;
}

.btn:hover {
  transform: translateY(-2px);
  border-color: var(--gold);
  color: var(--gold);
  box-shadow: var(--shadow);
}

.btn-gold {
  border: 1px solid transparent;
  background: var(--gold);
  color: #ffffff;
  box-shadow: 0 8px 24px rgba(13, 115, 119, 0.3);
}

.btn-gold:hover {
  background: var(--gold3);
  filter: none;
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(13, 115, 119, 0.4);
  color: #ffffff;
}

.menu-btn {
  display: none;
  border: 0;
  background: none;
  color: var(--text);
  font-size: 24px;
}

.mobile-nav {
  display: none;
  border-top: 1px solid var(--border);
  padding: 10px 16px 18px;
}

.mobile-nav.open {
  display: block;
}

.mobile-link,
.mobile-group > button {
  width: 100%;
  text-align: left;
  border: 0;
  background: none;
  color: var(--text);
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}

.mobile-group > button {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.mobile-sub {
  padding-left: 16px;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition:
    max-height 0.28s ease,
    opacity 0.22s ease,
    padding 0.22s ease;
}

.mobile-group.open .mobile-sub {
  max-height: 320px;
  opacity: 1;
  padding-top: 4px;
  padding-bottom: 6px;
}

.mobile-sub button {
  width: 100%;
  text-align: left;
  border: 0;
  background: none;
  color: var(--muted);
  padding: 9px 0;
}

.breadcrumb {
  position: sticky;
  top: 60px;
  z-index: 99;
  background: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid var(--border);
}

.breadcrumb-row {
  min-height: 40px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: var(--fontsize16);
  z-index: 99;
}

.breadcrumb button {
  border: 0;
  background: none;
  color: var(--muted);
  padding: 0;
}

.breadcrumb .current {
  color: var(--gold);
  font-weight: 700;
}

main {
  min-height: calc(100vh - 64px);
}

/* Sections: always light background for readable text.
       Dark bands only via explicit classes (.section-dark, .quote-summary, footer, hero). */
section {
  padding: 48px 20px;
  background: var(--card);
  color: var(--text);
}

main > section:nth-child(even),
#app > section:nth-child(even) {
  background: var(--bg-alt);
  color: var(--text);
}

/* Explicit dark section helper */
section.section-dark {
  background: var(--section-alt);
  color: #ffffff;
}
section.section-dark h1,
section.section-dark h2,
section.section-dark h3,
section.section-dark .gold,
section.section-dark .eyebrow,
section.section-dark .section-title {
  color: #ffffff !important;
}
section.section-dark .muted,
section.section-dark p,
section.section-dark .section-description {
  color: rgba(255, 255, 255, 0.9) !important;
}
section.section-dark .section-badge {
  background: rgba(255, 255, 255, 0.15);
  color: var(--primary-2);
  border-color: rgba(255, 255, 255, 0.25);
}
section.section-dark .card {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.22);
  color: #ffffff;
}

/* Keep hero always dark-overlay style (first section) */
section.hero {
  /* background: transparent !important; */
  color: #ffffff !important;
  padding: 105px 0;
}

/* Construction / special sections keep their own padding */
.construction-section {
  padding: 48px 0 64px;
}

.hero {
  padding: 105px 0;
  position: relative;
  overflow: hidden;
  min-height: 530px;
}

.hero-video-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  min-height: 530px;
  overflow: hidden;
  z-index: 0;
  /* background-image width matches video (iframe) */
}

.hero-video-bg iframe {
  width: 100%;
  height: 100%;
  min-height: 530px;
  border: 0;
  pointer-events: none;
}

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

.hero-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.6fr;
  gap: 48px;
  align-items: center;
  padding: 30px;
}

.hero {
  color: #ffffff;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  /* background: linear-gradient(105deg, rgba(var(--primary-rgb), 0.75) 0%, rgba(var(--primary-rgb), 0.4) 55%, rgba(0,0,0,0.15) 100%); */
  z-index: 1;
  pointer-events: none;
}

.hero h1 {
  font-size: clamp(36px, 5.5vw, 58px);
  line-height: 1.05;
  margin: 0 0 18px;
  letter-spacing: -0.03em;
  color: #ffffff;
  font-weight: 800;
}

.hero .eyebrow {
  color: var(--gold2);
  font-weight: 700;
  letter-spacing: 0.12em;
  font-size: var(--fontsize16);
  margin-bottom: 12px;
}

.hero p {
  color: rgba(255, 255, 255, 0.9);
  max-width: 540px;
  font-size: 16px;
  line-height: 1.65;
}

.grid {
  display: grid;
  gap: 20px;
}

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

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

.grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

.section-head {
  font-size: 24px;
  font-weight: bold;
  display: flex;
  justify-content: space-between;
  align-items: end;
  /* gap: 20px; */
  margin-bottom: 28px;
}

.section-head h2 {
  margin: 0;
  font-size: 32px;
  line-height: 1.1;
}

/* Stavian-style centered title with teal underline (on white) / white underline (on teal) */
.section-head.centered,
.section-title-centered {
  flex-direction: column;
  align-items: center;
  text-align: center;
  justify-content: center;
}

.section-head.centered h2::after,
.section-title-centered h2::after {
  content: "";
  display: block;
  width: 48px;
  height: 3px;
  background: var(--gold);
  margin: 12px auto 0;
  border-radius: 2px;
}

.card {
  background: var(--card);
  border: 1px solid var(--gold2);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(13, 115, 119, 0.16);
  cursor: pointer;
  transition: 0.25s ease;
}

.card-body {
  padding: 18px;
}

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

.card:hover {
  border-color: var(--gold);
  transform: translateY(-4px);
  box-shadow: 0 20px 50px rgba(13, 115, 119, 0.14);
}

.tag {
  display: inline-flex;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 3px 9px;
  font-size: 11px;
  color: var(--gold);
  margin-bottom: 8px;
  background: var(--gold-soft);
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.stat {
  padding: 24px 16px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--card);
  text-align: center;
  box-shadow: 0 4px 16px rgba(13, 115, 119, 0.05);
}

.stat strong {
  display: block;
  font-size: 28px;
  color: var(--gold);
  font-weight: 800;
}

.timeline {
  display: grid;
  gap: 12px;
}

.timeline-item {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 18px;
  padding: 16px;
  border-left: 3px solid var(--gold);
  background: var(--card);
  border-radius: 0 12px 12px 0;
  box-shadow: 0 2px 12px rgba(13, 115, 119, 0.05);
}

.timeline-year {
  font-size: 22px;
  font-weight: 800;
  color: var(--gold);
}

.service {
  padding: 24px;
}

.service h3 {
  margin: 0 0 8px;
}

.process {
  counter-reset: step;
}

.process-item {
  position: relative;
  padding: 22px 22px 22px 70px;
}

.process-item:before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 20px;
  top: 20px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--gold);
  color: var(--navy);
  font-weight: 800;
}

.filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
}

.filter {
  border: 1px solid var(--border);
  background: var(--card);
  color: var(--muted);
  border-radius: 999px;
  padding: 8px 15px;
}

.filter.active {
  background: var(--gold);
  color: var(--navy);
  border-color: var(--gold);
}

.news-card .card-img {
  height: 190px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 30px;
}

.form {
  display: grid;
  gap: 14px;
}

.field {
  display: grid;
  gap: 6px;
}

.field label {
  font-size: var(--fontsize16);
  color: var(--muted);
}

.field input,
.field textarea,
.field select {
  width: 100%;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid var(--border);
  color: var(--text);
  border-radius: 10px;
  padding: 12px;
}

.field textarea {
  min-height: 130px;
  resize: vertical;
}

.office {
  padding: 18px;
}

.office strong {
  display: block;
}

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

.quote-panel {
  padding: 26px;
}

.range {
  width: 100%;
  accent-color: var(--gold);
}

.price {
  font-size: 40px;
  font-weight: 800;
  color: var(--gold);
}

/* ========== QUOTE PAGE (Stavian-inspired) ========== */
/* ========== QUOTE PAGE (Stavian-inspired, light) ========== */
/* ========== QUOTE PAGE (Stavian-inspired) ========== */
.quote-page {
  padding: 2.5rem 0 4rem;
  background: linear-gradient(180deg, #f0f7f7 0%, #f8fafb 40%, #ffffff 100%);
}

.quote-title {
  font-size: 2.1rem !important;
}

.quote-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 2rem;
  align-items: start;
}

/* Left controls card */
.quote-controls,
.quote-controls-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 1.75rem 1.75rem 1.5rem;
  box-shadow: 0 10px 40px rgba(26, 115, 121, 0.08);
}

.quote-control-block {
  margin-bottom: 1.75rem;
}
.quote-control-block:last-of-type {
  margin-bottom: 1.25rem;
}

.quote-label {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.75rem;
}
.quote-label i {
  color: var(--gold);
  font-size: 1rem;
}
.quote-area-val {
  margin-left: auto;
  color: var(--gold);
  font-size: 1.05rem;
}

.quote-range {
  width: 100%;
  height: 8px;
  margin: 0;
  appearance: none;
  -webkit-appearance: none;
  border-radius: 999px;
  background: linear-gradient(
    90deg,
    var(--gold) 0%,
    var(--gold) 30%,
    #e2eef0 30%,
    #e2eef0 100%
  );
  outline: none;
  cursor: pointer;
}
.quote-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--card);
  border: 3px solid var(--gold);
  box-shadow: 0 2px 10px rgba(26, 115, 121, 0.35);
  cursor: pointer;
  transition: transform 0.2s ease;
}
.quote-range::-webkit-slider-thumb:hover {
  transform: scale(1.12);
}
.quote-range::-moz-range-thumb {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--card);
  border: 3px solid var(--gold);
  box-shadow: 0 2px 10px rgba(26, 115, 121, 0.35);
  cursor: pointer;
}
.quote-range::-moz-range-track {
  height: 8px;
  border-radius: 999px;
  background: transparent;
}
.quote-range::-webkit-slider-runnable-track {
  height: 8px;
  border-radius: 999px;
  background: transparent;
}

.quote-range-labels {
  display: flex;
  justify-content: space-between;
  font-size: 0.78rem;
  color: var(--muted);
  margin-top: 0.45rem;
}

/* Floor buttons */
.floor-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
.floor-btn {
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--bg-alt);
  color: var(--text);
  padding: 0.85rem 0.5rem;
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.25s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.floor-btn i {
  font-size: 0.8rem;
  opacity: 0.7;
}
.floor-btn:hover {
  border-color: var(--gold2);
  color: var(--gold);
  background: var(--gold-soft);
}
.floor-btn.active {
  background: linear-gradient(135deg, var(--gold), var(--gold3));
  color: #ffffff;
  border-color: transparent;
  box-shadow: 0 6px 18px rgba(26, 115, 121, 0.3);
}
.floor-btn.active i {
  opacity: 1;
  color: #ffffff;
}

/* Package buttons */
.package-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.package-btn {
  border: 1.5px solid var(--border);
  border-radius: 14px;
  background: var(--bg-alt);
  color: var(--text);
  padding: 1rem 0.6rem;
  cursor: pointer;
  transition: all 0.25s ease;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
.package-btn > i {
  font-size: 1.25rem;
  color: var(--gold);
  margin-bottom: 2px;
}
.package-btn:hover {
  border-color: var(--gold2);
  background: var(--gold-soft);
}
.package-btn.active {
  background: var(--card);
  border-color: var(--gold);
  box-shadow:
    0 0 0 2px var(--gold-soft),
    0 8px 20px rgba(26, 115, 121, 0.12);
}
.package-btn.active > i {
  color: var(--gold3);
}
.package-name {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--text);
}
.package-price {
  font-size: 0.78rem;
  color: var(--muted);
  font-weight: 600;
}
.package-btn.active .package-name {
  color: var(--gold);
}

/* Metrics */
.quote-metric-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
.quote-metric {
  border: 1px solid var(--border);
  background: linear-gradient(135deg, #f0f7f7, #ffffff);
  border-radius: 12px;
  padding: 1rem 1.1rem;
}
.quote-metric-label {
  font-size: 0.8rem;
  color: var(--muted);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
}
.quote-metric-label i {
  color: var(--gold2);
}
.quote-metric-value {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--gold);
  margin-top: 4px;
}

/* Right summary panel */
.quote-summary-wrap {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.quote-summary {
  position: sticky;
  top: 90px;
  border-radius: 20px;
  background: linear-gradient(
    160deg,
    var(--footer-bg) 0%,
    var(--primary-3) 45%,
    var(--primary) 100%
  );
  color: #ffffff;
  padding: 1.75rem 1.75rem 1.5rem;
  box-shadow: 0 20px 45px rgba(10, 61, 63, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.quote-kicker {
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.65);
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 0.25rem;
}
.quote-kicker i {
  color: var(--primary-2);
}
.quote-lines {
  margin-top: 1rem;
  display: grid;
  gap: 0.85rem;
  font-size: 0.92rem;
}
.quote-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 0.65rem 0.85rem;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.quote-line span {
  opacity: 0.9;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
}
.quote-line span i {
  color: var(--primary-2);
  width: 16px;
  text-align: center;
}
.quote-line strong {
  font-weight: 800;
  white-space: nowrap;
}
.quote-vat {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  margin-top: 0.35rem;
  padding-top: 0.85rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.95rem;
}
.quote-vat strong {
  display: flex;
  align-items: center;
  gap: 6px;
}
.quote-vat i {
  color: var(--primary-2);
}

.quote-total-box {
  margin-top: 1.35rem;
  background: rgba(255, 255, 255, 0.97);
  border-radius: 16px;
  padding: 1.35rem 1.25rem 1.2rem;
  text-align: center;
  box-shadow: inset 0 0 0 1px rgba(26, 115, 121, 0.1);
}
.quote-total-label {
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  font-weight: 700;
  color: var(--muted);
}
.quote-total {
  font-size: 2.35rem;
  font-weight: 800;
  color: var(--gold);
  line-height: 1.15;
  margin-top: 0.25rem;
  text-shadow: 0 0 24px rgba(26, 115, 121, 0.15);
}
.quote-total-vnd {
  font-size: 0.88rem;
  color: var(--muted);
  margin-top: 0.2rem;
  font-weight: 600;
}
.quote-pdf {
  margin-top: 1.1rem;
  width: 100%;
  height: 48px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--gold), var(--gold3));
  color: #ffffff;
  font-weight: 800;
  font-size: 0.95rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.3s ease;
  box-shadow: 0 8px 22px rgba(26, 115, 121, 0.35);
}
.quote-pdf:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(26, 115, 121, 0.45);
  background: linear-gradient(135deg, var(--gold2), var(--gold));
}
.quote-note {
  font-size: 0.75rem;
  color: var(--muted);
  margin: 0.75rem 0 0;
  text-align: center;
  line-height: 1.45;
}

.quote-guarantee {
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1rem 1.15rem;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 0.9rem;
  background: var(--card);
  color: var(--text);
  box-shadow: 0 4px 16px rgba(26, 115, 121, 0.06);
  line-height: 1.5;
  margin-top: 1rem;
}
.quote-guarantee-icon {
  color: var(--gold);
  font-size: 1.35rem;
  line-height: 1;
  flex-shrink: 0;
  margin-top: 2px;
}

.home-quote-btn {
  margin-top: 40px;
  width: 100%;
  max-width: 300px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: auto;
  margin-right: auto;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.hero-quote-btn {
  background: var(--gold);
  color: #ffffff;
  border: 0;
}

.hero-quote-btn:hover {
  background: var(--gold3);
  color: #ffffff;
}

.hero-secondary-btn {
  border-color: rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
}

.hero-secondary-btn:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.25);
}

.hero-standards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.hero-standard {
  border-left: 1px solid rgba(255, 255, 255, 0.25);
  padding-left: 16px;
  color: #ffffff;
}

.hero-standard small {
  display: block;
  font-size: var(--fontsize16);
  opacity: 0.7;
}

.hero-standard strong {
  display: block;
  font-size: 18px;
  margin-top: 2px;
}

.hero-standard i {
  display: block;
  width: 32px;
  height: 2px;
  background: var(--gold2);
  margin-top: 8px;
}

.modal {
  position: fixed;
  inset: 0;
  background: rgba(10, 61, 63, 0.75);
  display: grid;
  place-items: center;
  z-index: 200;
  padding: 20px;
}

.modal-card {
  width: min(900px, 100%);
  max-height: 90vh;
  overflow: auto;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 18px;
}

.modal-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  border-bottom: 1px solid #ffffff12;
}

.modal-head button {
  border: 0;
  background: none;
  color: var(--text);
  font-size: 22px;
}

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

.modal-body {
  padding: 20px;
}

.footer {
  background: var(--footer-bg);
  border-top: none;
  margin-top: 60px;
  color: #e0f0f0;
}

.footer .brand {
  color: #ffffff;
}

.footer .muted {
  color: #a0c0c0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr;
  gap: 28px;
  padding: 52px 0 40px;
}

.footer h3 {
  font-size: 14px;
  margin: 0 0 14px;
  color: #ffffff;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.footer button {
  display: block;
  border: 0;
  background: none;
  color: #a0c0c0;
  padding: 5px 0;
  text-align: left;
  transition: color 0.2s;
}

.footer button:hover {
  color: #ffffff;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 18px 0;
  color: #80a0a0;
  font-size: var(--fontsize16);
}

.loading-placeholder {
  text-align: center;
  padding: 60px 20px;
}

.loading-spinner {
  display: inline-block;
  width: 40px;
  height: 40px;
  border: 3px solid rgba(13, 115, 119, 0.12);
  border-top: 3px solid var(--gold);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.news-detail-content {
  padding: 20px 0;
}

.news-detail-content h2 {
  font-size: 28px;
  margin-bottom: 12px;
}

.news-detail-content .meta {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 24px;
}

.news-detail-content .news-body {
  max-width: 100%;
  line-height: 1.8;
}

.news-detail-content .news-body img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  margin: 16px 0;
}

.news-detail-content .news-body a {
  color: var(--gold);
  text-decoration: underline;
}

.news-detail-content .news-body ul,
.news-detail-content .news-body ol {
  padding-left: 24px;
}

.news-detail-content .news-body h2,
.news-detail-content .news-body h3,
.news-detail-content .news-body h4 {
  margin-top: 24px;
  margin-bottom: 12px;
}

.news-detail-content .news-body p {
  margin-bottom: 12px;
}

.news-iframe-wrapper {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: 12px;
  margin: 16px 0;
}

.news-iframe-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

@media (max-width: 1024px) {
  .nav {
    display: none;
  }

  .menu-btn {
    display: block;
  }

  .hero-grid,
  .contact-grid,
  .quote-grid {
    grid-template-columns: 1fr;
  }

  .hero-img {
    height: 360px;
  }

  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .quote-layout {
    grid-template-columns: 1fr;
  }

  .quote-summary {
    position: static;
  }

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

@media (max-width: 768px) {
  .hero h1 {
    font-size: 42px;
  }

  .grid-2,
  .grid-3,
  .grid-4,
  .stats {
    grid-template-columns: 1fr;
  }

  .section-head {
    display: block;
  }

  .section-head h2 {
    font-size: 28px;
  }

  .hero-img {
    height: 280px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .actions .btn {
    display: none;
  }

  .timeline-item {
    grid-template-columns: 70px 1fr;
  }

  .floor-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .package-grid {
    grid-template-columns: 1fr;
  }

  .quote-metric-grid {
    grid-template-columns: 1fr;
  }

  .hero-standards {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .quote-summary {
    padding: 20px;
  }

  .hero-video-bg iframe {
    min-height: 400px;
  }
}

/* CSS chuẩn theo thiết kế thanh công cụ dọc bên phải — theo theme */
.scoll-right-bottom {
  position: fixed !important;
  top: 50% !important;
  right: 0 !important;
  transform: translateY(-50%) !important;
  z-index: 9999 !important;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.btn-scoll-bottom {
  display: flex;
  flex-direction: column;
  background-color: var(--card, var(--bg-alt, #12243a));
  border: 1px solid var(--primary, #c9a227);
  border-right: none;
  border-radius: 4px 0 0 4px;
  overflow: hidden;
  box-shadow: -4px 0 20px rgba(var(--primary-rgb, 201, 162, 39), 0.15);
}

.item-scoll {
  display: flex;
  justify-content: center;
  align-items: center;
  border-bottom: 1px solid var(--primary, #c9a227);
  background: transparent;
  border-left: none;
  border-right: none;
  border-top: none;
  padding: 10px;
  cursor: pointer;
  transition: background 0.3s, transform 0.2s;
  color: var(--primary, #c9a227);
}

.item-scoll:last-child {
  border-bottom: none;
}

.item-scoll:hover,
.btn-scoll-top:hover {
  background-color: var(--primary-soft, rgba(var(--primary-rgb, 201, 162, 39), 0.18));
}

/* Icon / SVG theo màu primary của theme */
.item-scoll svg,
.item-scoll i {
  color: var(--primary, #c9a227);
  fill: var(--primary, #c9a227);
}

.item-scoll svg path,
.item-scoll svg stop {
  fill: var(--primary, #c9a227);
  stop-color: var(--primary, #c9a227);
}

.item-scoll svg linearGradient stop:last-child {
  stop-color: var(--primary-2, var(--primary, #e0c068));
}

/* ========== HOME – Về chúng tôi ========== */

.about-intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.about-intro-text .eyebrow {
  color: var(--gold, #0d7377);
  letter-spacing: 0.12em;
  font-size: var(--fontsize16);
  font-weight: 600;
  margin-bottom: 12px;
}

.about-intro-text h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  line-height: 1.3;
  margin: 0 0 20px;
  /* color: #fff; */
}

.about-intro-text p {
  /* color: rgba(255, 255, 255, 0.82); */
  color: var(--muted, #5a6a7a);
  line-height: 1.7;
  margin-bottom: 16px;
}

.about-intro-text .btn {
  margin-top: 12px;
}

.about-intro-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
  min-height: 340px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
}

/* ========== HOME – Service horizontal cards ========== */
.service-horizontal {
  padding: 20px 0;
}

.service-horizontal-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.06);
  background: var(--card);
}

.service-horizontal.reverse .service-horizontal-card {
  direction: rtl;
}

.service-horizontal.reverse .service-horizontal-text {
  direction: ltr;
}

.service-horizontal-text {
  padding: 40px 36px;
}

.service-horizontal-text .eyebrow {
  color: var(--gold, #0d7377);
  font-size: var(--fontsize16);
  letter-spacing: 0.14em;
  font-weight: 700;
  margin-bottom: 10px;
}

.service-horizontal-text h2 {
  color: var(--text) !important;
  font-size: clamp(1.4rem, 2.5vw, 1.9rem);
  margin: 0 0 16px;
}

.service-horizontal-text p {
  color: var(--muted) !important;
  line-height: 1.7;
  margin-bottom: 24px;
}

.service-horizontal-actions {
  display: flex;
  justify-content: center; /* button ở giữa đáy theo yêu cầu */
}

.service-horizontal-image {
  height: 100%;
  min-height: 320px;
}

.service-horizontal-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Responsive */
@media (max-width: 900px) {
  .about-intro-grid,
  .service-horizontal-card {
    grid-template-columns: 1fr;
  }

  .service-horizontal.reverse .service-horizontal-card {
    direction: ltr;
  }

  .about-intro-image img,
  .service-horizontal-image {
    min-height: 240px;
  }

  .service-horizontal-text {
    padding: 28px 24px;
  }
}

/* ========== Construction process gallery (12 images) ========== */
.construction-section {
  padding: 48px 0 64px;
}

.construction-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  background: var(--card);
  border-radius: 12px;
  overflow: hidden;
  /* border: 1px solid var(--border); */
}

.construction-item {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  padding: 0;
  border: 0;
  background: #111;
  cursor: pointer;
  overflow: hidden;
}

.construction-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: brightness(0.72) contrast(1.05);
  transition:
    filter 0.35s ease,
    transform 0.4s ease;
}

.construction-number {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: clamp(42px, 6vw, 72px);
  font-weight: 300;
  color: rgba(255, 255, 255, 0.78);
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.45);
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 2;
}

/* Hover: number fades out, image brightens (matches reference image 5) */
.construction-item:hover img {
  filter: brightness(1.05) contrast(1.08);
  transform: scale(1.03);
}

.construction-item:hover .construction-number {
  opacity: 0;
}

/* Focus for accessibility */
.construction-item:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
  z-index: 3;
}

@media (max-width: 768px) {
  .construction-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .construction-number {
    font-size: 36px;
  }
}

@media (max-width: 480px) {
  .construction-grid {
    grid-template-columns: 1fr;
  }
}

/* ===== WHY US (Về chúng tôi) ===== */
.why-us-item {
  text-align: center;
  padding: 28px 20px;
}
.why-us-icon {
  font-size: 36px;
  margin-bottom: 12px;
  line-height: 1;
}
.why-us-item h3 {
  margin-bottom: 10px;
}

/* Force readable text on light section headers */
.section-header-stavian .section-title {
  color: var(--text) !important;
}
.section-header-stavian .section-description {
  color: var(--muted) !important;
}
.section-header-stavian .section-badge {
  color: var(--gold) !important;
  background: var(--gold-soft) !important;
}

/* Cards always dark text on white */
.card,
.stat-card,
.phase-card,
.quote-controls-card,
.quote-controls,
.quote-metric,
.quote-guarantee {
  color: var(--text);
}
.card h2,
.card h3,
.card h4,
.stat-card .stat-number,
.phase-card h4 {
  color: var(--text);
}
.card .muted,
.phase-card p,
.stat-label {
  color: var(--muted);
}

/* Breadcrumb readable */
.breadcrumb,
.breadcrumb .muted {
  color: var(--muted);
}
.breadcrumb button {
  color: var(--gold);
}

/* About / service cards on light bg */
.service h3,
.process-item {
  color: var(--text);
}

/* ========== STAVIAN-INSPIRED UPGRADES ========== */

/* Section headers like Stavian */
.section-header-stavian {
  text-align: center;
  max-width: 850px;
  margin: 0 auto 3rem auto;
}
.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--gold-soft);
  color: var(--gold);
  padding: 6px 16px;
  border-radius: 30px;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  margin-bottom: 0.85rem;
  border: 1px solid rgba(26, 115, 121, 0.15);
}
.section-title {
  font-size: 2.1rem;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.4px;
  line-height: 1.25;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 0 0 0.6rem;
}
.section-title i {
  color: var(--gold2);
  font-size: 1.7rem;
}
.section-description {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.7;
  margin: 0;
}

/* Stats grid like Stavian */
.stats-section {
  padding: 3.5rem 0;
  background: var(--card);
  border-bottom: 1px solid var(--border);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.5rem;
}
.stat-card {
  background: var(--card);
  border-radius: 16px;
  padding: 1.8rem 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  border: 1px solid var(--border);
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 16px rgba(13, 115, 119, 0.05);
  text-align: center;
}
.stat-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 35px -5px rgba(0, 70, 60, 0.12);
  border-color: var(--gold2);
}
.stat-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, var(--gold), var(--gold3));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 1.6rem;
  margin-bottom: 1rem;
  transition: all 0.35s ease;
  box-shadow: 0 8px 20px rgba(26, 115, 121, 0.25);
}
.stat-card:hover .stat-icon {
  transform: scale(1.1) rotate(6deg);
  background: linear-gradient(135deg, var(--gold2), var(--gold));
}
.stat-number {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 0.2rem;
  line-height: 1.1;
}
.stat-label {
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 600;
}

/* Workflows section (8 steps) */
.workflows-section {
  background: var(--card);
  padding: 4rem 0;
}
.workflow-stepper {
  display: flex;
  justify-content: space-between;
  position: relative;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.workflow-stepper::before {
  content: "";
  position: absolute;
  top: 32px;
  left: 40px;
  right: 40px;
  height: 3px;
  background: var(--border);
  z-index: 1;
}
.step-item {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  flex: 1;
  min-width: 90px;
  transition: all 0.3s ease;
}
.step-circle {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--card);
  border: 3px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  color: var(--muted);
  font-weight: 800;
  transition: all 0.35s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}
.step-item.active .step-circle,
.step-item:hover .step-circle {
  border-color: var(--gold2);
  background: var(--gold);
  color: #ffffff;
  box-shadow: 0 0 18px rgba(26, 115, 121, 0.4);
  transform: scale(1.08);
}
.step-title {
  margin-top: 0.75rem;
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--muted);
  text-align: center;
  line-height: 1.3;
  max-width: 110px;
}
.step-item.active .step-title {
  color: var(--gold);
  font-weight: 800;
}
.step-subtitle {
  font-size: 0.72rem;
  color: var(--muted);
  text-align: center;
  opacity: 0.8;
}

.workflow-detail-box {
  background: transparent;
  border-radius: 20px;
  padding: 1.5rem 0;
  color: var(--text);
  box-shadow: none;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2.5rem;
  align-items: center;
  margin-bottom: 3rem;
  border: none;
}
.workflow-info h3 {
  font-size: 1.55rem;
  font-weight: 800;
  color: var(--gold);
  margin: 0 0 0.85rem;
  display: flex;
  align-items: center;
  gap: 10px;
}
.workflow-info h3 i {
  color: var(--gold2);
}
.workflow-info p {
  color: var(--muted);
  font-size: 1rem;
  margin: 0 0 1.4rem;
  line-height: 1.7;
}
.workflow-checklist {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}
.workflow-checklist li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: var(--card2);
  padding: 0.75rem 1rem;
  border-radius: 10px;
  border: 1px solid var(--border);
  font-size: 0.92rem;
  color: var(--text);
}
.workflow-checklist li i {
  color: var(--gold2);
  font-size: 1rem;
  margin-top: 2px;
}
.workflow-image-container {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 12px 28px rgba(26, 115, 121, 0.15);
  border: 1px solid var(--border);
  height: 320px;
}
.workflow-image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.workflow-image-container:hover img {
  transform: scale(1.05);
}
.workflow-tag {
  position: absolute;
  bottom: 16px;
  left: 16px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  padding: 6px 14px;
  border-radius: 24px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--gold);
  border: 1px solid rgba(26, 115, 121, 0.2);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

/* Phase cards grid */
.phases-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.4rem;
}
.phase-card {
  background: var(--card);
  border-radius: 14px;
  border: 1px solid var(--border);
  padding: 1.5rem 1.2rem;
  transition: all 0.35s ease;
  position: relative;
  overflow: hidden;
}
.phase-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--border);
  transition: all 0.35s ease;
}
.phase-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 32px rgba(0, 70, 60, 0.1);
  border-color: var(--gold2);
}
.phase-card:hover::before {
  background: linear-gradient(90deg, var(--gold2), var(--gold));
}
.phase-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.9rem;
}
.phase-num {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--gold);
  background: var(--gold-soft);
  width: 42px;
  height: 42px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.phase-icon {
  font-size: 1.25rem;
  color: var(--muted);
}
.phase-card h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 0.55rem;
}
.phase-card p {
  font-size: 0.86rem;
  color: var(--muted);
  line-height: 1.55;
  margin: 0 0 0.9rem;
}
.phase-mini-list {
  list-style: none;
  padding: 0.75rem 0 0;
  margin: 0;
  border-top: 1px dashed var(--border);
}
.phase-mini-list li {
  font-size: 0.8rem;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 5px;
}
.phase-mini-list li i {
  color: var(--gold2);
  font-size: 0.7rem;
}

/* Construction caption overlay */
.construction-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 10px 12px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.75));
  color: #fff;
  font-size: 0.85rem;
  font-weight: 600;
  text-align: center;
}

/* Nav icons */
.nav-item i,
.nav-button i,
.dropdown-menu button i,
.mobile-link i,
.mobile-group > button i {
  margin-right: 4px;
  font-size: 0.85em;
  opacity: 0.9;
}
.btn i {
  margin-right: 6px;
}

/* Responsive */
@media (max-width: 1100px) {
  .stats-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .phases-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .workflow-detail-box {
    grid-template-columns: 1fr;
  }
  .workflow-stepper::before {
    display: none;
  }
}
@media (max-width: 768px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .phases-grid {
    grid-template-columns: 1fr;
  }
  .section-title {
    font-size: 1.55rem;
    flex-wrap: wrap;
  }
  .workflow-stepper {
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
  }
  .step-item {
    flex-direction: row;
    gap: 12px;
    justify-content: flex-start;
  }
  .step-title {
    text-align: left;
    max-width: none;
  }
  .step-subtitle {
    text-align: left;
  }
}

/* Quote page readability */
.quote-page {
  color: var(--text);
}
.quote-page .section-title,
.quote-page .quote-title {
  color: var(--text) !important;
}
.quote-controls-card,
.quote-controls-card label,
.quote-controls-card .quote-label,
.quote-controls-card .package-name,
.quote-controls-card .floor-btn {
  color: var(--text);
}
.quote-controls-card .package-price,
.quote-controls-card .quote-range-labels,
.quote-controls-card .quote-metric-label {
  color: var(--muted);
}
.quote-summary,
.quote-summary * {
  /* keep summary panel own colors */
}
.quote-summary .quote-total,
.quote-summary .quote-total-label,
.quote-summary .quote-total-vnd,
.quote-summary .quote-note {
  /* total box is white - ensure dark text */
}
.quote-total-box {
  color: var(--text);
}
.quote-total-box .quote-total-label,
.quote-total-box .quote-note,
.quote-total-box .quote-total-vnd {
  color: var(--muted) !important;
}
.quote-total-box .quote-total {
  color: var(--gold) !important;
}

/* ========== THEME SWITCHER ========== */
.theme-switcher {
  position: relative;
  display: inline-flex;
  align-items: center;
}
.theme-switcher-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--card);
  color: var(--primary);
  cursor: pointer;
  display: grid;
  place-items: center;
  font-size: 1rem;
  transition: all 0.25s ease;
  box-shadow: var(--shadow);
}
.theme-switcher-btn:hover {
  border-color: var(--primary);
  background: var(--primary-soft);
}
.theme-panel {
  display: none;
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: 280px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 12px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.15);
  z-index: 1200;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}
.theme-panel.open {
  display: grid;
}
.theme-swatch {
  aspect-ratio: 1;
  border-radius: 10px;
  border: 2px solid transparent;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  padding: 0;
  transition:
    transform 0.2s ease,
    border-color 0.2s ease;
}
.theme-swatch:hover {
  transform: scale(1.08);
}
.theme-swatch.active {
  border-color: var(--text);
  box-shadow:
    0 0 0 2px var(--card),
    0 0 0 4px var(--primary);
}
.theme-swatch span {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  font-size: 9px;
  font-weight: 700;
  padding-bottom: 4px;
  color: #fff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
  background: linear-gradient(transparent 40%, rgba(0, 0, 0, 0.45));
}
.theme-panel-title {
  grid-column: 1 / -1;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 2px;
}

/* ========== Site-wide search ========== */
.header-search {
  display: flex;
  align-items: center;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 2px 4px 2px 12px;
  gap: 4px;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
  max-width: 120px;
}
.header-search:focus-within {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-soft);
}
.header-search input {
  border: none;
  background: transparent;
  outline: none;
  color: var(--text);
  width: 100%;
  min-width: 0;
  font-size: 0.875rem;
  padding: 6px 0;
}
.header-search input::placeholder {
  color: var(--muted);
  opacity: 0.85;
}
.header-search-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border: none;
  border-radius: 50%;
  background: var(--primary-soft);
  color: var(--primary);
  flex-shrink: 0;
  transition:
    background 0.2s ease,
    color 0.2s ease;
}
.header-search-btn:hover {
  background: var(--primary);
  color: var(--on-primary);
}
.mobile-search {
  max-width: none;
  width: 100%;
  margin-bottom: 12px;
  padding: 4px 6px 4px 14px;
}
.mobile-search input {
  font-size: 1rem;
  padding: 8px 0;
}
.mobile-search .header-search-btn {
  width: 36px;
  height: 36px;
}

/* Search results page */
.search-page {
  padding: 32px 0 64px;
}
.search-hero {
  text-align: center;
  margin-bottom: 28px;
}
.search-hero h1 {
  margin: 6px 0 18px;
  font-size: clamp(1.5rem, 3vw, 2rem);
}
.search-form-lg {
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 560px;
  margin: 0 auto 12px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 8px 10px 8px 16px;
  box-shadow: var(--shadow);
}
.search-form-lg > i {
  color: var(--muted);
  flex-shrink: 0;
}
.search-form-lg input {
  flex: 1;
  border: none;
  background: transparent;
  outline: none;
  color: var(--text);
  font-size: 1rem;
  min-width: 0;
}
.search-form-lg .btn {
  flex-shrink: 0;
  padding: 8px 18px;
}
.search-count {
  margin: 0;
  font-size: 0.9rem;
}
.search-results {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 720px;
  margin: 0 auto;
}
.search-result {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  cursor: pointer;
  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease,
    border-color 0.15s ease;
  border: 1px solid var(--border);
}
.search-result:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
  border-color: var(--primary);
}
.search-result-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--primary-soft);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.search-result-body {
  flex: 1;
  min-width: 0;
}
.search-result-body h3 {
  margin: 4px 0 2px;
  font-size: 1rem;
  line-height: 1.35;
}
.search-result-body p {
  margin: 0;
  font-size: 0.85rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.search-result-arrow {
  color: var(--muted);
  flex-shrink: 0;
  opacity: 0.5;
}
.search-result:hover .search-result-arrow {
  color: var(--primary);
  opacity: 1;
}
.search-empty {
  text-align: center;
  padding: 48px 16px;
  color: var(--muted);
}
.search-empty h3 {
  margin: 12px 0 6px;
  color: var(--text);
}

@media (max-width: 900px) {
  .header-search:not(.mobile-search) {
    display: none;
  }
}
@media (min-width: 901px) {
  .mobile-search {
    display: none;
  }
}

/* ========== Language switcher (Google Translate) ========== */
.lang-switcher {
  position: relative;
}
.lang-switcher-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 36px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--card);
  color: var(--text);
  font-size: 0.8rem;
  font-weight: 600;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
  max-width: 100%;
  white-space: nowrap;
}
.lang-switcher-btn .lang-current-name {
  max-width: 7.5em;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  line-height: 1.2;
}
.lang-switcher-btn:hover {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-soft);
}
.lang-flag {
  font-size: 1.15rem;
  line-height: 1;
}
.lang-code {
  letter-spacing: 0.04em;
}
.lang-panel {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 180px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 8px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.15);
  z-index: 1200;
}
.lang-panel.open {
  display: block;
}
.lang-panel-title {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 8px 6px;
}
.lang-option {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 8px 10px;
  border: none;
  border-radius: 8px;
  background: transparent;
  color: var(--text);
  font-size: 0.875rem;
  text-align: left;
  transition: background 0.15s ease;
}
.lang-option:hover {
  background: var(--primary-soft);
}
.lang-option.active {
  background: var(--primary-soft);
  font-weight: 700;
  color: var(--primary);
}
.lang-option .lang-name {
  flex: 1;
}
.mobile-lang-wrap {
  margin-bottom: 10px;
}
.mobile-lang-wrap .lang-switcher {
  width: 100%;
}
.mobile-lang-wrap .lang-switcher-btn {
  width: 100%;
  justify-content: center;
}
.mobile-lang-wrap .lang-panel {
  left: 0;
  right: 0;
  min-width: 0;
}

/* Hide default Google Translate chrome */
#google_translate_element,
.goog-te-banner-frame,
.goog-te-balloon-frame,
#goog-gt-tt,
.goog-te-balloon-frame,
.goog-tooltip,
.goog-tooltip:hover {
  display: none !important;
}
.goog-te-spinner-pos,
.goog-te-menu-frame {
  max-width: 0 !important;
  max-height: 0 !important;
  overflow: hidden !important;
  position: absolute !important;
  left: -9999px !important;
}
body {
  top: 0 !important;
}
.skiptranslate,
.goog-te-gadget {
  display: none !important;
}
/* Keep translated text readable */
font {
  background: transparent !important;
  box-shadow: none !important;
}

/* Hero poster photo (shown while Vimeo video loads) — width matches video */
.hero-video-bg {
  background-color: #0a0a0a;
  background-size: 100% 100%;
  background-position: center center;
  background-repeat: no-repeat;
  width: 100%;
}
.hero-video-bg iframe {
  background: transparent;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* RTL support when Arabic is selected */
[dir="rtl"] .header-row,
[dir="rtl"] .hero-grid,
[dir="rtl"] .actions {
  direction: rtl;
}
[dir="rtl"] .lang-panel {
  right: auto;
  left: 0;
}

/* ===== ABOUT PAGE – ENHANCED SECTIONS (ĐỊNH HƯỚNG, GIÁ TRỊ, VĂN HÓA, CAM KẾT) ===== */
.icon-circle {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(
    145deg,
    var(--primary-soft),
    rgba(var(--primary-rgb), 0.22)
  );
  color: var(--primary);
  font-size: 26px;
  margin-bottom: 18px;
  box-shadow: 0 8px 24px rgba(var(--primary-rgb), 0.18);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease,
    background 0.3s ease;
}

.icon-circle.large {
  width: 80px;
  height: 80px;
  font-size: 32px;
}

.card:hover .icon-circle {
  transform: translateY(-4px) scale(1.06);
  box-shadow: 0 12px 32px rgba(var(--primary-rgb), 0.28);
  background: linear-gradient(145deg, var(--primary), var(--primary-2));
  color: var(--on-primary);
}

/* ĐỊNH HƯỚNG – Vision & Mission */
.about-orient {
  padding-top: 12px;
}

.orient-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-top: 8px;
}

.orient-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 36px 32px;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--card);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.orient-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--primary), var(--primary-2));
  opacity: 0.9;
}

.orient-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 48px rgba(var(--primary-rgb), 0.16);
}

.orient-icon-wrap {
  margin-bottom: 8px;
}

.orient-body h3 {
  font-size: 1.45rem;
  margin: 0 0 12px;
  color: var(--text);
  font-weight: 700;
}

.orient-body p {
  line-height: 1.7;
  margin: 0;
}

.vision-icon {
  background: linear-gradient(
    145deg,
    rgba(var(--primary-rgb), 0.15),
    rgba(var(--primary-rgb), 0.28)
  );
}

.mission-icon {
  background: linear-gradient(
    145deg,
    rgba(var(--primary-rgb), 0.12),
    rgba(var(--primary-rgb), 0.25)
  );
}

/* GIÁ TRỊ CỐT LÕI */
.about-values .values-grid {
  gap: 24px;
}

.value-card {
  padding: 28px 24px;
  text-align: left;
  border: 1px solid var(--border);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.value-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 40px rgba(var(--primary-rgb), 0.14);
}

.value-card h3 {
  font-size: 1.1rem;
  margin: 0 0 10px;
  color: var(--text);
}

/* VĂN HÓA */
.about-culture .culture-grid {
  gap: 24px;
}

.culture-card {
  padding: 28px 24px;
  border: 1px solid var(--border);
}

.culture-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 40px rgba(var(--primary-rgb), 0.14);
}

.culture-icon {
  background: linear-gradient(
    145deg,
    rgba(var(--primary-rgb), 0.12),
    rgba(var(--primary-rgb), 0.22)
  );
}

/* CAM KẾT */
.about-commitments {
  padding-top: 8px;
  padding-bottom: 40px;
}

.commitments-grid {
  gap: 22px;
}

.commitment-card {
  padding: 26px 22px;
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.commitment-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 40px rgba(var(--primary-rgb), 0.14);
}

.commitment-icon {
  background: linear-gradient(
    145deg,
    rgba(var(--primary-rgb), 0.14),
    rgba(var(--primary-rgb), 0.24)
  );
}

/* Responsive */
@media (max-width: 900px) {
  .orient-grid {
    grid-template-columns: 1fr;
  }
  .orient-card {
    padding: 28px 24px;
  }
}

@media (max-width: 640px) {
  .icon-circle {
    width: 56px;
    height: 56px;
    font-size: 22px;
  }
  .icon-circle.large {
    width: 68px;
    height: 68px;
    font-size: 28px;
  }
  .orient-body h3 {
    font-size: 1.25rem;
  }
}

/* =========================================================
   ABOUT PAGE – Premium Samsung-inspired redesign
   Clean whitespace, large type, refined cards, modern timeline
   ========================================================= */

/* Hero */
.about-hero {
  position: relative;
  min-height: 72vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: linear-gradient(135deg, #0f172a 0%, #0f766e 55%, #134e4a 100%);
  color: #fff;
  margin-bottom: 0;
}

.about-hero-bg {
  position: absolute;
  inset: 0;
  background-image: url("https://lh3.googleusercontent.com/d/1PcikSoyifuk_EbY3RZeJidTPwr7poUPG");
  background-size: cover;
  background-position: center;
  opacity: 0.28;
  z-index: 0;
}

.about-hero-inner {
  position: relative;
  z-index: 1;
  padding: 100px 0 90px;
}

.about-hero-content {
  max-width: 720px;
}

.about-eyebrow {
  display: inline-block;
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--primary-2, #14b8a6);
  margin-bottom:5px;
}

.about-hero .about-eyebrow {
  color: #5eead4;
}

.about-hero h1 {
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 700;
  line-height: 1.15;
  margin: 0 0 24px;
  letter-spacing: -0.02em;
  color: #fff;
}

.about-hero-lead {
  font-size: 1.15rem;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.88);
  margin: 0 0 36px;
  max-width: 560px;
}

.about-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.about-hero .btn-primary {
  background: #fff;
  color: #0f172a;
  border: none;
  font-weight: 600;
  padding: 14px 28px;
  border-radius: 999px;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.about-hero .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.25);
}

.about-hero .btn-outline {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, 0.55);
  font-weight: 600;
  padding: 14px 28px;
  border-radius: 999px;
  transition: all 0.2s ease;
}

.about-hero .btn-outline:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: #fff;
}

/* Section blocks */
.about-block {
  padding: 50px 0;
}

.about-block-alt {
  background: var(--bg-alt, #f0fdfa);
}

.about-block .section-head.centered {
  text-align: center;
  margin-bottom: 48px;
}

.about-block .section-head.centered .about-eyebrow {
  display: block;
  margin-bottom: 12px;
}

.about-block .section-head.centered h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  font-weight: 700;
  margin: 0;
  letter-spacing: -0.02em;
  color: var(--text);
}

/* Split layout (image + text) – Samsung product showcase style */
.about-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.about-split.reverse {
  direction: rtl;
}

.about-split.reverse > * {
  direction: ltr;
}

.about-split-text .about-eyebrow {
  margin-bottom: 14px;
}

.about-split-text h2 {
  font-size: clamp(1.7rem, 3vw, 2.25rem);
  font-weight: 700;
  line-height: 1.25;
  margin: 0 0 20px;
  color: var(--text);
  letter-spacing: -0.015em;
}

.about-split-text p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--muted);
  margin: 0;
}

.about-split-media {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 24px 56px rgba(0, 0, 0, 0.1);
  aspect-ratio: 4 / 3;
}

.about-split-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.about-split:hover .about-split-media img {
  transform: scale(1.04);
}

/* Vision & Mission */
.about-vm-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.about-vm-card {
  background: var(--card);
  border-radius: 20px;
  padding: 40px 36px;
  border: 1px solid var(--border);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.04);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
}

.about-vm-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--primary-2));
}

.about-vm-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 28px 56px rgba(var(--primary-rgb), 0.14);
}

.about-vm-icon {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 22px;
  color: #fff;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.about-vm-card h3 {
  font-size: 1.45rem;
  font-weight: 700;
  margin: 0 0 14px;
  color: var(--text);
}

.about-vm-card p {
  font-size: 1.02rem;
  line-height: 1.75;
  color: var(--muted);
  margin: 0;
}

/* ===== BAN LÃNH ĐẠO / Leadership section (inspired by investors layout) ===== */
.leadership-section {
  padding-top: 64px;
  padding-bottom: 72px;
}

.leadership-section .section-head.centered {
  margin-bottom: 48px;
}

.leadership-intro {
  max-width: 640px;
  margin: 12px auto 0;
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--muted);
}

.leadership-accent {
  width: 120px;
  height: 5px;
  margin: 20px auto 0;
  border-radius: 999px;
  background: linear-gradient(
    90deg,
    var(--primary-2),
    var(--primary),
    var(--primary-3)
  );
}

.leadership-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  align-items: start;
}

.leadership-card {
  text-align: center;
  padding: 12px 16px 8px;
  position: relative;
}

.leadership-card + .leadership-card {
  border-left: 1px dashed var(--border);
}

.leadership-avatar-wrap {
  width: 220px;
  height: 220px;
  margin: 0 auto 22px;
  border-radius: 50%;
  padding: 8px;
  background: linear-gradient(
    145deg,
    var(--primary-soft),
    rgba(var(--primary-rgb), 0.05)
  );
  box-shadow: 0 10px 32px rgba(var(--primary-rgb), 0.15);
}

.leadership-avatar {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  border: 5px solid var(--card);
  display: block;
  background: var(--bg-alt);
}


.leadership-dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-bottom: 12px;
}

.leadership-dots span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--primary);
  opacity: 0.85;
}

.leadership-dots span:nth-child(2) {
  opacity: 0.7;
}
.leadership-dots span:nth-child(3) {
  opacity: 0.55;
}
.leadership-dots span:nth-child(4) {
  opacity: 0.4;
}
.leadership-dots span:nth-child(5) {
  opacity: 0.25;
}

.leadership-name {
  font-size: 1.35rem;
  font-weight: 700;
  margin: 0 0 6px;
  color: var(--primary);
  letter-spacing: -0.01em;
}

.leadership-title {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--muted);
  margin: 0 0 14px;
}

.leadership-social {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 16px;
}

.leadership-social a {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-soft);
  color: var(--primary);
  font-size: 0.85rem;
  transition:
    background 0.2s ease,
    color 0.2s ease,
    transform 0.2s ease;
}

.leadership-social a:hover {
  background: var(--primary);
  color: var(--on-primary);
  transform: translateY(-2px);
}

.leadership-bio {
  font-size: 0.92rem;
  line-height: 1.65;
  color: var(--muted);
  margin: 0;
  max-width: 280px;
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 900px) {
  .leadership-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .leadership-card + .leadership-card {
    border-left: none;
    border-top: 1px dashed var(--border);
    padding-top: 32px;
  }
  .leadership-avatar-wrap {
    width: 180px;
    height: 180px;
  }
}


/* Generic refined cards */
.about-cards-grid {
  display: grid;
  gap: 28px;
}


.about-cards-grid.four {
  grid-template-columns: repeat(4, 1fr);
}

.about-cards-grid.three {
  grid-template-columns: repeat(3, 1fr);
}

.about-card {
  background: var(--card);
  border-radius: 18px;
  padding: 32px 26px;
  border: 1px solid var(--border);
  transition:
    transform 0.28s ease,
    box-shadow 0.28s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.about-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 48px rgba(var(--primary-rgb), 0.12);
}

.about-card-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  margin-bottom: 20px;
  flex-shrink: 0;
  color: #fff;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
}

/* ===== Multi-color icon palette (not limited to theme) ===== */
.icon-blue {
  background: linear-gradient(135deg, #3b82f6, #1d4ed8);
  color: #fff !important;
}
.icon-rose {
  background: linear-gradient(135deg, #f43f5e, #be123c);
  color: #fff !important;
}
.icon-emerald {
  background: linear-gradient(135deg, #10b981, #047857);
  color: #fff !important;
}
.icon-amber {
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: #fff !important;
}
.icon-violet {
  background: linear-gradient(135deg, #8b5cf6, #6d28d9);
  color: #fff !important;
}
.icon-cyan {
  background: linear-gradient(135deg, #06b6d4, #0891b2);
  color: #fff !important;
}
.icon-indigo {
  background: linear-gradient(135deg, #6366f1, #4338ca);
  color: #fff !important;
}
.icon-teal {
  background: linear-gradient(135deg, #14b8a6, #0f766e);
  color: #fff !important;
}
.icon-sky {
  background: linear-gradient(135deg, #0ea5e9, #0284c7);
  color: #fff !important;
}
.icon-orange {
  background: linear-gradient(135deg, #f97316, #c2410c);
  color: #fff !important;
}
.icon-fuchsia {
  background: linear-gradient(135deg, #d946ef, #a21caf);
  color: #fff !important;
}
.icon-lime {
  background: linear-gradient(135deg, #84cc16, #4d7c0f);
  color: #fff !important;
}
.icon-red {
  background: linear-gradient(135deg, #ef4444, #b91c1c);
  color: #fff !important;
}

.about-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0 0 12px;
  color: var(--text);
  line-height: 1.35;
}

.about-card p {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--muted);
  margin: 0;
  flex-grow: 1;
}

.why-icon {
  font-size: 2.2rem;
  margin-bottom: 16px;
  line-height: 1;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.08));
}

/* Modern Timeline */
.about-timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  padding: 20px 0;
}

.about-timeline::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--primary), var(--primary-2));
  transform: translateX(-50%);
  opacity: 0.35;
}

.about-timeline-item {
  display: flex;
  margin-bottom: 40px;
  position: relative;
}

.about-timeline-item.left {
  flex-direction: row;
  padding-right: calc(50% + 32px);
  justify-content: flex-end;
}

.about-timeline-item.right {
  flex-direction: row-reverse;
  padding-left: calc(50% + 32px);
  justify-content: flex-end;
}

.about-timeline-marker {
  position: absolute;
  left: 50%;
  top: 8px;
  transform: translateX(-50%);
  z-index: 2;
}

.about-timeline-dot {
  display: block;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--primary);
  border: 3px solid var(--card);
  box-shadow: 0 0 0 3px rgba(var(--primary-rgb), 0.25);
}

.about-timeline-content {
  background: var(--card);
  border-radius: 16px;
  padding: 22px 26px;
  border: 1px solid var(--border);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.05);
  max-width: 340px;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.about-timeline-item:hover .about-timeline-content {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(var(--primary-rgb), 0.12);
}

.about-timeline-year {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}

.about-timeline-content p {
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--muted);
  margin: 0;
}

/* Responsive */
@media (max-width: 1100px) {
  .about-cards-grid.four {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 900px) {
  .about-hero {
    min-height: 60vh;
  }
  .about-hero-inner {
    padding: 80px 0 70px;
  }
  .about-split,
  .about-split.reverse {
    grid-template-columns: 1fr;
    gap: 36px;
    direction: ltr;
  }
  .about-split.reverse > * {
    direction: ltr;
  }
  .about-vm-grid {
    grid-template-columns: 1fr;
  }
  .about-cards-grid.three {
    grid-template-columns: 1fr;
  }
  .about-timeline::before {
    left: 20px;
  }
  .about-timeline-item.left,
  .about-timeline-item.right {
    flex-direction: row;
    padding-left: 56px;
    padding-right: 0;
    justify-content: flex-start;
  }
  .about-timeline-marker {
    left: 20px;
  }
  .about-timeline-content {
    max-width: 100%;
  }
}

@media (max-width: 640px) {
  .about-block {
    padding: 64px 0;
  }
  .about-cards-grid.four {
    grid-template-columns: 1fr;
  }
  .about-hero h1 {
    font-size: 2rem;
  }
  .about-hero-lead {
    font-size: 1.05rem;
  }
  .about-split-media {
    aspect-ratio: 16 / 10;
  }
}



/* Interior Intro — theme-aware tokens */
.ii-page {
  --ii-radius: 16px;
  --ii-radius-sm: 12px;
}
.ii-page .container {
  max-width: var(--max, 1280px);
  margin: 0 auto;
  padding: 0 5%;
}

/* Hero */
.ii-hero {
  position: relative;
  min-height: 72vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  padding: 80px 20px 60px;
  background:
    linear-gradient(
      180deg,
      rgba(15, 23, 42, 0.4) 0%,
      rgba(15, 23, 42, 0.4) 100%
    ),
    url('https://cdn.mos.cms.futurecdn.net/JnvdMJk6cumB3v5FYqEVLk-1280-80.jpg') center/cover no-repeat;
}
.ii-hero-inner {
  max-width: 920px;
  z-index: 2;
}
.ii-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 8px 22px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 22px;
  color: #fef3c7;
}
.ii-hero-badge i {
  color: var(--gold2, #fbbf24);
}
.ii-hero h1 {
  font-size: clamp(28px, 4.5vw, 52px);
  font-weight: 700;
  line-height: 1.18;
  margin: 0 0 20px;
  letter-spacing: -0.3px;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
}

.ii-hero h1 span {
  /* background: linear-gradient(
    135deg,
    var(--gold2, #fbbf24),
    #fef3c7,
    var(--gold, #d4af37)
  );
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent; */
  color: white;
}
.ii-hero-desc {
  font-size: 17px;
  font-weight: 300;
  max-width: 780px;
  margin: 0 auto 36px;
  color: #fff;
  line-height: 1.75;
}
.ii-hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}
.ii-btn-gold {
  background: linear-gradient(
    135deg,
    var(--gold3, #a16207),
    var(--gold2, #fbbf24),
    var(--gold, #d4af37)
  );
  color: #0f172a;
  padding: 14px 32px;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 10px 28px rgba(var(--primary-rgb, 15, 118, 110), 0.35);
  transition:
    transform 0.25s,
    box-shadow 0.25s;
}
.ii-btn-gold:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 32px rgba(var(--primary-rgb, 15, 118, 110), 0.45);
}
.ii-btn-outline {
  border: 2px solid rgba(255, 255, 255, 0.55);
  background: rgba(15, 23, 42, 0.35);
  color: #fff;
  padding: 14px 32px;
  border-radius: 50px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: all 0.25s;
}
.ii-btn-outline:hover {
  background: #fff;
  color: var(--text, #0f172a);
  border-color: #fff;
  transform: translateY(-3px);
}

/* Sections */
.ii-section {
  padding: 90px 0;
  background: var(--bg, #f8fafb);
}
.ii-section-alt {
  background: var(--card, #fff);
}
.ii-section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--primary, #0f766e);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.ii-section-title {
  font-size: clamp(26px, 3.2vw, 38px);
  color: var(--text, #0f172a);
  margin: 0 0 18px;
  line-height: 1.25;
  font-weight: 700;
}
.ii-section-desc {
  color: var(--muted, #64748b);
  font-size: 16px;
  line-height: 1.7;
  max-width: 720px;
}
.ii-center {
  text-align: center;
}
.ii-center .ii-section-desc {
  margin: 0 auto 48px;
}

/* About split */
.ii-about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.ii-about-visual {
  position: relative;
}
.ii-about-img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  border-radius: var(--ii-radius);
  box-shadow: var(--shadow, 0 20px 40px rgba(0, 0, 0, 0.12));
}
.ii-exp-card {
  position: absolute;
  bottom: -24px;
  right: -16px;
  background: var(--footer-bg, #134e4a);
  color: #fff;
  padding: 22px 28px;
  border-radius: var(--ii-radius-sm);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  gap: 16px;
}
.ii-exp-num {
  font-size: 42px;
  font-weight: 800;
  color: var(--gold2, #fbbf24);
  line-height: 1;
}
.ii-exp-text {
  font-size: 13px;
  line-height: 1.4;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
  color: #e2e8f0;
}
.ii-about-para {
  font-size: 15.5px;
  color: var(--muted, #64748b);
  line-height: 1.8;
  margin-bottom: 16px;
}
.ii-quote {
  background: var(--card, #fff);
  border-left: 4px solid var(--primary, #0f766e);
  padding: 18px 22px;
  border-radius: 0 var(--ii-radius-sm) var(--ii-radius-sm) 0;
  margin: 20px 0;
  box-shadow: var(--shadow, 0 8px 24px rgba(0, 0, 0, 0.06));
}
.ii-quote p {
  font-size: 14.5px;
  font-style: italic;
  color: var(--text, #0f172a);
  font-weight: 600;
  margin: 0;
}

/* Pillars */
.ii-pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 12px;
}
.ii-pillar-card {
  background: var(--card, #fff);
  border-radius: var(--ii-radius);
  overflow: hidden;
  box-shadow: var(--shadow, 0 8px 24px rgba(0, 0, 0, 0.06));
  border: 1px solid var(--border, #e2e8f0);
  transition:
    transform 0.35s,
    box-shadow 0.35s;
  display: flex;
  flex-direction: column;
}
.ii-pillar-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 22px 44px rgba(var(--primary-rgb, 15, 118, 110), 0.18);
}
.ii-pillar-img-wrap {
  position: relative;
  height: 220px;
  overflow: hidden;
}
.ii-pillar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s;
}
.ii-pillar-card:hover .ii-pillar-img {
  transform: scale(1.07);
}
.ii-pillar-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: #fff;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}
.badge-green {
  background: linear-gradient(135deg, #10b981, #059669);
}
.badge-amber {
  background: linear-gradient(135deg, #f59e0b, #d97706);
}
.badge-blue {
  background: linear-gradient(135deg, #3b82f6, #1d4ed8);
}
.ii-pillar-body {
  padding: 24px;
  flex-grow: 1;
}
.ii-pillar-body h3 {
  font-size: 18px;
  color: var(--text, #0f172a);
  margin: 0 0 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.ii-pillar-body p {
  font-size: 14.5px;
  color: var(--muted, #64748b);
  line-height: 1.7;
  margin: 0;
}

/* Styles grid */
.ii-styles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.ii-style-card {
  background: var(--card, #fff);
  border-radius: var(--ii-radius);
  overflow: hidden;
  box-shadow: var(--shadow, 0 8px 24px rgba(0, 0, 0, 0.06));
  border: 1px solid var(--border, #e2e8f0);
  transition:
    transform 0.35s,
    box-shadow 0.35s;
  display: flex;
  flex-direction: column;
}
.ii-style-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 22px 44px rgba(var(--primary-rgb, 15, 118, 110), 0.18);
}
.ii-style-img-wrap {
  position: relative;
  height: 240px;
  overflow: hidden;
}
.ii-style-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s;
}
.ii-style-card:hover .ii-style-img {
  transform: scale(1.07);
}
.ii-style-pill {
  position: absolute;
  bottom: 14px;
  left: 14px;
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 11px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.5px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(8px);
}
.tag-modern {
  background: rgba(15, 23, 42, 0.85);
}
.tag-minimal {
  background: rgba(51, 65, 85, 0.85);
}
.tag-japandi {
  background: rgba(180, 83, 9, 0.85);
}
.tag-neoclassic {
  background: rgba(161, 98, 7, 0.85);
}
.tag-indochine {
  background: rgba(22, 101, 52, 0.85);
}
.tag-mediterranean {
  background: rgba(30, 64, 175, 0.85);
}
.tag-scandinavian {
  background: rgba(14, 116, 144, 0.85);
}
.ii-style-body {
  padding: 22px;
  flex-grow: 1;
}
.ii-style-body h3 {
  font-size: 18px;
  color: var(--text, #0f172a);
  margin: 0 0 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}
.ii-style-body p {
  font-size: 14px;
  color: var(--muted, #64748b);
  line-height: 1.7;
  margin: 0;
}

/* Craftsmanship banner */
.ii-craft {
  background: linear-gradient(
    135deg,
    var(--footer-bg, #0f172a) 0%,
    #1e1b4b 50%,
    var(--primary-3, #115e59) 100%
  );
  color: #fff;
  padding: 90px 0;
  position: relative;
  overflow: hidden;
  text-align: center;
}
.ii-craft::before,
.ii-craft::after {
  content: "";
  position: absolute;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  pointer-events: none;
}
.ii-craft::before {
  top: -40%;
  left: -15%;
  background: radial-gradient(
    circle,
    rgba(var(--primary-rgb, 212, 175, 55), 0.18) 0%,
    transparent 70%
  );
}
.ii-craft::after {
  bottom: -40%;
  right: -15%;
  background: radial-gradient(
    circle,
    rgba(99, 102, 241, 0.15) 0%,
    transparent 70%
  );
}
.ii-craft-inner {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 5%;
}
.ii-craft-hash {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 4px;
  text-transform: uppercase;
  background: linear-gradient(
    135deg,
    var(--gold2, #fbbf24),
    #fef3c7,
    var(--gold, #d4af37)
  );
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  margin-bottom: 12px;
}
.ii-craft h2 {
  font-size: clamp(26px, 3.5vw, 42px);
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 18px;
  color: #fff;
}
.ii-craft > .ii-craft-inner > p {
  font-size: 16px;
  color: #94a3b8;
  max-width: 720px;
  margin: 0 auto 28px;
  line-height: 1.75;
}
.ii-banner-feats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 40px;
}
.ii-banner-feat {
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 24px 16px;
  border-radius: var(--ii-radius-sm);
  transition: all 0.3s;
}
.ii-banner-feat:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(var(--primary-rgb, 212, 175, 55), 0.5);
  transform: translateY(-4px);
}
.ii-banner-feat i {
  font-size: 28px;
  margin-bottom: 12px;
  display: block;
}
.ii-banner-feat h4 {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  margin: 0 0 6px;
}
.ii-banner-feat p {
  font-size: 13px;
  color: #cbd5e1;
  margin: 0;
  line-height: 1.5;
}

/* Process */
.ii-process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.ii-process-card {
  background: var(--card, #fff);
  border-radius: var(--ii-radius);
  overflow: hidden;
  box-shadow: var(--shadow, 0 8px 24px rgba(0, 0, 0, 0.06));
  border: 1px solid var(--border, #e2e8f0);
  transition:
    transform 0.3s,
    box-shadow 0.3s;
  display: flex;
  flex-direction: column;
}
.ii-process-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(var(--primary-rgb, 15, 118, 110), 0.16);
}
.ii-process-img-wrap {
  position: relative;
  height: 180px;
  overflow: hidden;
}
.ii-process-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s;
}
.ii-process-card:hover .ii-process-img {
  transform: scale(1.07);
}
.ii-process-num {
  position: absolute;
  top: 12px;
  left: 12px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(
    135deg,
    var(--gold3, #a16207),
    var(--gold2, #fbbf24)
  );
  color: #0f172a;
  font-weight: 800;
  font-size: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}
.ii-process-body {
  padding: 20px;
  flex-grow: 1;
}
.ii-process-title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}
.ii-process-title h4 {
  font-size: 16px;
  color: var(--text, #0f172a);
  font-weight: 700;
  margin: 0;
}
.ii-process-body p {
  font-size: 13.5px;
  color: var(--muted, #64748b);
  line-height: 1.6;
  margin: 0;
}

/* Responsive */
@media (max-width: 1024px) {
  .ii-about-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .ii-pillars-grid,
  .ii-styles-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .ii-process-grid,
  .ii-banner-feats {
    grid-template-columns: repeat(2, 1fr);
  }
  .ii-exp-card {
    right: 12px;
    bottom: -18px;
  }
}
@media (max-width: 640px) {
  .ii-pillars-grid,
  .ii-styles-grid,
  .ii-process-grid,
  .ii-banner-feats {
    grid-template-columns: 1fr;
  }
  .ii-hero {
    min-height: 60vh;
    padding: 60px 16px 48px;
  }
  .ii-about-img {
    height: 320px;
  }
}

/* ===== Video Gallery (popup player) ===== */
.video-gallery-page {
  padding-bottom: 64px;
}
.vg-grid {
  gap: 20px;
}
.vg-card {
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.vg-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
}
.vg-thumb-btn {
  display: flex;
  flex-direction: column;
  width: 100%;
  text-align: left;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  font: inherit;
  color: inherit;
}
.vg-thumb-media {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #111;
}
.vg-thumb-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}
.vg-thumb-btn:hover .vg-thumb-media img {
  transform: scale(1.05);
}
.vg-thumb-play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.28);
  transition: background 0.2s;
}
.vg-thumb-btn:hover .vg-thumb-play {
  background: rgba(0, 0, 0, 0.42);
}
.vg-thumb-play i {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(201, 162, 39, 0.95);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
  transition: transform 0.2s ease;
}
.vg-thumb-btn:hover .vg-thumb-play i {
  transform: scale(1.08);
}
.vg-thumb-duration {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background: rgba(0, 0, 0, 0.78);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 4px;
  letter-spacing: 0.02em;
}
.vg-thumb-info {
  padding: 14px 16px 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.vg-thumb-info strong {
  font-size: 0.95rem;
  font-weight: 650;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.vg-thumb-info .muted {
  font-size: 0.82rem;
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Video popup modal */
.modal-video .modal-card-video {
  width: min(960px, 100%);
  max-height: 92vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background: #0c0c0c;
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #f5f5f5;
}
.modal-video .modal-head {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background: #111;
}
.modal-video .modal-head strong {
  color: #fff;
  font-size: 1rem;
  line-height: 1.3;
  padding-right: 12px;
}
.modal-video .modal-head button {
  color: #fff;
  opacity: 0.85;
}
.modal-video .modal-head button:hover {
  opacity: 1;
}
.modal-video-player {
  background: #000;
  flex: 1 1 auto;
}
.modal-video-ratio {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
}
.modal-video-ratio iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.modal-video .modal-body {
  padding: 16px 20px 20px;
  background: #111;
}
.modal-video .modal-body .muted {
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.5;
}

@media (max-width: 640px) {
  .modal-video .modal-card-video {
    width: 100%;
    max-height: 100vh;
    border-radius: 12px;
  }
}

/* ===== Global Journey Map (Hành trình mở rộng toàn cầu) ===== */
.global-journey-section {
  background: #eef3f9;
  padding: 32px 0 40px;
  overflow: hidden;
}
/* Force dark text because this section always uses a light background */
.global-journey-section .section-title,
.global-journey-section .section-title i,
.global-journey-section .section-header-stavian .section-title,
[data-theme-mode="dark"] .global-journey-section .section-title,
[data-theme-mode="dark"] .global-journey-section .section-title i {
  color: #0f172a !important;
}
.global-journey-section .section-badge,
[data-theme-mode="dark"] .global-journey-section .section-badge {
  color: #0f766e !important;
  background: rgba(15, 118, 110, 0.1) !important;
  border-color: rgba(15, 118, 110, 0.2) !important;
}
.global-journey-section .section-header-stavian {
  margin-bottom: 20px;
}

.gj-wrapper {
  max-width: 1280px;
  margin: 0 auto;
  background: #ffffff;
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(15, 23, 42, 0.08);
}
.gj-wrapper .gj-decor-left {
  position: absolute;
  top: 0;
  left: 0;
  width: 420px;
  height: 120px;
  background: #eaf2fc;
  border-bottom-right-radius: 80px;
  pointer-events: none;
}
.gj-wrapper .gj-decor-right {
  position: absolute;
  top: 0;
  right: 0;
  width: 300px;
  height: 100px;
  background: #eaf2fc;
  border-bottom-left-radius: 80px;
  pointer-events: none;
}
.gj-map-area {
  position: relative;
  width: 100%;
  height: 560px;
  margin-top: 4px;
}
.gj-map-area svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.gj-card {
  background: #ffffff;
  border: 1px solid #dde6f0;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(15, 23, 42, 0.07);
  width: 174px;
  padding: 8px 10px 9px 10px;
  position: absolute;
  z-index: 20;
  display: flex;
  gap: 8px;
  font-family: 'Inter', sans-serif;
}
.gj-card .gj-flag {
  width: 34px;
  height: 24px;
  border-radius: 4px;
  object-fit: cover;
  border: 1px solid rgba(0,0,0,0.08);
  flex-shrink: 0;
}
.gj-card .gj-year {
  font-size: 12.5px;
  font-weight: 700;
  line-height: 1;
}
.gj-card .gj-desc {
  font-size: 9.2px;
  line-height: 1.28;
  color: #475569;
  margin-top: 4px;
}
.gj-island-label {
  font-size: 8px;
  font-weight: 700;
  fill: #0c4a6e;
  paint-order: stroke;
  stroke: #ffffff;
  stroke-width: 3px;
  stroke-linejoin: round;
}
.gj-timeline {
  position: relative;
  background: #ffffff;
  border-top: 1px solid #e8eef5;
  padding: 18px 28px 14px;
}
.gj-timeline-line {
  position: absolute;
  top: 38px;
  left: 48px;
  right: 48px;
  height: 2px;
  background: #cbd5e1;
}
.gj-timeline-items {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  max-width: 1200px;
  margin: 0 auto;
}
.gj-timeline-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100px;
}
.gj-timeline-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  z-index: 10;
  margin-top: -1px;
  border: 2px solid #ffffff;
}
.gj-timeline-circle {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  border-width: 2.5px;
  border-style: solid;
  background: #ffffff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-top: 8px;
}
.gj-timeline-year {
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
}
.gj-timeline-country {
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.05em;
  margin-top: 4px;
  color: #64748b;
}
.gj-timeline-icon {
  font-size: 14px;
  margin-top: 4px;
}
.gj-plane {
  color: #1e3a8a;
  font-size: 22px;
  margin-top: 20px;
}
@media (max-width: 1100px) {
  .gj-map-area {
    height: 420px;
  }
  .gj-card {
    transform: scale(0.85);
    transform-origin: top left;
  }
}
@media (max-width: 900px) {
  .global-journey-section {
    padding: 24px 12px 32px;
  }
  .gj-map-area {
    height: auto;
    min-height: 360px;
    overflow-x: auto;
  }
  .gj-wrapper {
    border-radius: 12px;
  }
  .gj-timeline-items {
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
  }
  .gj-timeline-line {
    display: none;
  }
}

/* ===== PROJECT SERVICES PAGE (ps-) ===== */
.ps-page {
  --ps-radius: 16px;
  --ps-radius-sm: 12px;
}

.ps-hero {
  position: relative;
  padding: 100px 0 72px;
  overflow: hidden;
  color: #fff;
  background: linear-gradient(135deg, var(--bg, #0b1a2e) 0%, var(--card, #12243a) 50%, var(--bg-alt, #12243a) 100%);
}

.ps-hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 70% 20%, rgba(var(--primary-rgb, 201, 162, 39), 0.18), transparent 60%),
    radial-gradient(ellipse 50% 40% at 10% 80%, rgba(var(--primary-rgb, 201, 162, 39), 0.08), transparent 50%);
  pointer-events: none;
}

.ps-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 820px;
}

.ps-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(var(--primary-rgb, 201, 162, 39), 0.15);
  border: 1px solid rgba(var(--primary-rgb, 201, 162, 39), 0.35);
  color: var(--primary-2, var(--primary, #e0c068));
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  margin-bottom: 20px;
}

.ps-hero h1 {
  font-size: clamp(32px, 5vw, 48px);
  line-height: 1.15;
  margin: 0 0 18px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
}

.ps-hero h1 span {
  color: var(--primary, #c9a227);
}

.ps-hero-desc {
  font-size: 16px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.82);
  max-width: 640px;
  margin: 0 0 28px;
}

.ps-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 40px;
}

.ps-btn-outline {
  background: transparent;
  border: 1px solid var(--primary, #c9a227);
  color: var(--primary, #c9a227);
}

.ps-btn-outline:hover {
  background: rgba(var(--primary-rgb, 201, 162, 39), 0.12);
}

.ps-btn-outline-light {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.5);
  color: #fff;
}

.ps-btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.1);
}

.ps-hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 640px;
}

.ps-stat {
  text-align: left;
}

.ps-stat strong {
  display: block;
  font-size: 28px;
  font-weight: 800;
  color: var(--primary, #c9a227);
  line-height: 1.2;
}

.ps-stat span {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.65);
}

.ps-section {
  padding: 64px 0;
}

.ps-section-alt {
  background: var(--bg-alt, var(--card));
}

/* Quick nav cards */
.ps-nav-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 32px;
}

.ps-nav-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 22px;
  background: var(--card);
  border: 1px solid var(--border, rgba(255, 255, 255, 0.08));
  border-radius: var(--ps-radius);
  text-decoration: none;
  color: inherit;
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
  cursor: pointer;
}

.ps-nav-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: var(--primary);
}

.ps-nav-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-soft);
  color: var(--primary);
  font-size: 20px;
  flex-shrink: 0;
}

.ps-nav-card strong {
  display: block;
  font-size: 15px;
  margin-bottom: 2px;
  color: var(--text);
}

.ps-nav-card span {
  font-size: 12px;
  color: var(--muted);
}

.ps-nav-arrow {
  margin-left: auto;
  color: var(--primary);
  opacity: 0.6;
  transition: transform 0.2s, opacity 0.2s;
}

.ps-nav-card:hover .ps-nav-arrow {
  transform: translateX(4px);
  opacity: 1;
}

/* Service detail blocks */
.ps-service {
  padding: 56px 0;
}

.ps-service:nth-child(even),
.ps-service-reverse {
  background: var(--bg-alt, var(--card));
}

.ps-service-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 48px;
  align-items: center;
}

.ps-service-reverse .ps-service-grid {
  direction: rtl;
}

.ps-service-reverse .ps-service-content {
  direction: ltr;
}

.ps-service-img-wrap {
  position: relative;
  border-radius: var(--ps-radius);
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
}

.ps-service-img-wrap img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  display: block;
}

.ps-service-tag {
  position: absolute;
  left: 16px;
  bottom: 16px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(8px);
  color: var(--primary-2, #e0c068);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.ps-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--primary);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  margin-bottom: 10px;
}

.ps-service-content h2 {
  font-size: clamp(24px, 3vw, 32px);
  margin: 0 0 12px;
  color: var(--text);
}

.ps-lead {
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  margin: 0 0 12px;
  line-height: 1.55;
}

.ps-desc {
  color: var(--muted);
  line-height: 1.7;
  margin: 0 0 24px;
  font-size: 15px;
}

.ps-items {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 28px;
}

.ps-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.ps-item-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-soft);
  color: var(--primary);
  font-size: 14px;
  flex-shrink: 0;
}

.ps-item h4 {
  margin: 0 0 4px;
  font-size: 14px;
  color: var(--text);
}

.ps-item p {
  margin: 0;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
}

.ps-service-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* Why us */
.ps-why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 32px;
}

.ps-why-card {
  background: var(--card);
  border: 1px solid var(--border, rgba(255, 255, 255, 0.06));
  border-radius: var(--ps-radius);
  padding: 28px 22px;
  text-align: center;
  transition: transform 0.25s, box-shadow 0.25s;
}

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

.ps-why-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, var(--primary-soft), rgba(var(--primary-rgb), 0.22));
  color: var(--primary);
  font-size: 22px;
}

.ps-why-card h3 {
  margin: 0 0 8px;
  font-size: 16px;
  color: var(--text);
}

.ps-why-card p {
  margin: 0;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.55;
}

/* Process */
.ps-process-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  margin-top: 36px;
}

.ps-process-step {
  text-align: center;
  padding: 24px 14px;
  background: var(--card);
  border-radius: var(--ps-radius);
  border: 1px solid var(--border, rgba(255, 255, 255, 0.06));
  position: relative;
}

.ps-process-num {
  font-size: 28px;
  font-weight: 800;
  color: var(--primary);
  opacity: 0.35;
  line-height: 1;
  margin-bottom: 8px;
}

.ps-process-icon {
  width: 44px;
  height: 44px;
  margin: 0 auto 12px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-soft);
  color: var(--primary);
  font-size: 18px;
}

.ps-process-step h4 {
  margin: 0 0 6px;
  font-size: 14px;
  color: var(--text);
}

.ps-process-step p {
  margin: 0;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.5;
}

/* CTA */
.ps-cta {
  padding: 64px 0 80px;
}

.ps-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 40px 44px;
  border-radius: var(--ps-radius);
  background: linear-gradient(120deg, var(--card) 0%, var(--bg-alt, var(--card)) 100%);
  border: 1px solid rgba(var(--primary-rgb), 0.25);
  box-shadow: var(--shadow);
}

.ps-cta-inner h2 {
  margin: 0 0 8px;
  font-size: clamp(22px, 3vw, 28px);
  color: var(--text);
}

.ps-cta-inner p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

.ps-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  flex-shrink: 0;
}

/* Responsive */
@media (max-width: 1024px) {
  .ps-hero-stats {
    grid-template-columns: repeat(2, 1fr);
  }
  .ps-service-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .ps-service-reverse .ps-service-grid {
    direction: ltr;
  }
  .ps-service-img-wrap img {
    height: 280px;
  }
  .ps-why-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .ps-process-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .ps-cta-inner {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 640px) {
  .ps-hero {
    padding: 80px 0 48px;
  }
  .ps-nav-grid {
    grid-template-columns: 1fr;
  }
  .ps-items {
    grid-template-columns: 1fr;
  }
  .ps-why-grid {
    grid-template-columns: 1fr;
  }
  .ps-process-grid {
    grid-template-columns: 1fr 1fr;
  }
  .ps-hero-stats {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }
}
