/* ================================================
   GP Love Home Services — Dark + Orange
   ================================================ */

:root {
    --bg-primary: #1A1A1A;
    --bg-secondary: #222222;
    --bg-card: #2A2A2A;
    --bg-card-hover: #313131;
    --orange: #F07A1A;
    --orange-hover: #E06A0A;
    --orange-deep: #D45E00;
    --orange-warm: #FF9532;
    --orange-light: #FFB060;
    --orange-dim: rgba(240, 122, 26, 0.12);
    --orange-glow: rgba(240, 122, 26, 0.20);
    --orange-subtle: rgba(240, 122, 26, 0.06);
    --text-primary: #FFFFFF;
    --text-secondary: #E0D8CC;
    --text-muted: #B5A99A;
    --white: #FFFFFF;
    --black: #1A1A1A;
    --border: rgba(240, 122, 26, 0.14);
    --border-hover: rgba(240, 122, 26, 0.28);
    --font-heading: 'Syne', 'Helvetica Neue', Arial, sans-serif;
    --font-body: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.5);
    --shadow-orange: 0 8px 32px rgba(240, 122, 26, 0.25);
}

:root[data-theme="green"] {
    --orange: #10B981;
    --orange-hover: #059669;
    --orange-deep: #047857;
    --orange-warm: #34D399;
    --orange-light: #6EE7B7;
    --orange-dim: rgba(16, 185, 129, 0.12);
    --orange-glow: rgba(16, 185, 129, 0.20);
    --orange-subtle: rgba(16, 185, 129, 0.06);
    --border: rgba(16, 185, 129, 0.14);
    --border-hover: rgba(16, 185, 129, 0.28);
    --shadow-orange: 0 8px 32px rgba(16, 185, 129, 0.25);
}

:root[data-theme="blue"] {
    --orange: #3B82F6;
    --orange-hover: #2563EB;
    --orange-deep: #1D4ED8;
    --orange-warm: #60A5FA;
    --orange-light: #93C5FD;
    --orange-dim: rgba(59, 130, 246, 0.12);
    --orange-glow: rgba(59, 130, 246, 0.20);
    --orange-subtle: rgba(59, 130, 246, 0.06);
    --border: rgba(59, 130, 246, 0.14);
    --border-hover: rgba(59, 130, 246, 0.28);
    --shadow-orange: 0 8px 32px rgba(59, 130, 246, 0.25);
}

:root[data-theme="purple"] {
    --orange: #8B5CF6;
    --orange-hover: #7C3AED;
    --orange-deep: #6D28D9;
    --orange-warm: #A78BFA;
    --orange-light: #C4B5FD;
    --orange-dim: rgba(139, 92, 246, 0.12);
    --orange-glow: rgba(139, 92, 246, 0.20);
    --orange-subtle: rgba(139, 92, 246, 0.06);
    --border: rgba(139, 92, 246, 0.14);
    --border-hover: rgba(139, 92, 246, 0.28);
    --shadow-orange: 0 8px 32px rgba(139, 92, 246, 0.25);
}

:root[data-theme="red"] {
    --orange: #EF4444;
    --orange-hover: #DC2626;
    --orange-deep: #B91C1C;
    --orange-warm: #F87171;
    --orange-light: #FCA5A5;
    --orange-dim: rgba(239, 68, 68, 0.12);
    --orange-glow: rgba(239, 68, 68, 0.20);
    --orange-subtle: rgba(239, 68, 68, 0.06);
    --border: rgba(239, 68, 68, 0.14);
    --border-hover: rgba(239, 68, 68, 0.28);
    --shadow-orange: 0 8px 32px rgba(239, 68, 68, 0.25);
}

/* --- Reset & Base --- */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

/* --- Accessibility: Skip Navigation Link --- */
.skip-link {
    position: absolute;
    top: -100%;
    left: 1rem;
    background: var(--orange);
    color: #fff;
    padding: 0.75rem 1.5rem;
    border-radius: 0 0 6px 6px;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    z-index: 10000;
    transition: top 0.2s ease;
}

.skip-link:focus {
    top: 0;
    outline: 3px solid #fff;
    outline-offset: 2px;
}

/* --- Accessibility: Visible Focus Outlines --- */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
    outline: 3px solid var(--orange);
    outline-offset: 3px;
    border-radius: 3px;
}

/* --- Accessibility: Screen-reader-only utility --- */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

body {
    font-family: var(--font-body);
    font-size: 1.15rem;
    line-height: 1.75;
    color: var(--text-secondary);
    background: var(--bg-primary);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    padding-top: 0;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.1;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

h1 {
    font-size: clamp(3rem, 7vw, 5.5rem);
}

h2 {
    font-size: clamp(2rem, 4vw, 3.2rem);
}

h3 {
    font-size: 1.45rem;
}

h4 {
    font-size: 1.2rem;
}

p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    font-weight: 400;
    font-size: 1.15rem;
}

p:last-child {
    margin-bottom: 0;
}

a {
    color: var(--orange);
    text-decoration: none;
    transition: color var(--transition);
}

a:hover {
    color: var(--orange-warm);
}

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

img:hover {
    animation: backflip 1s ease-in-out;
}

@keyframes backflip {
    0% {
        transform: rotateY(0deg) scale(1);
    }

    50% {
        transform: rotateY(180deg) scale(1.15);
    }

    100% {
        transform: rotateY(360deg) scale(1);
    }
}

.work-image img:hover {
    animation: none;
}


ul {
    list-style: none;
}

::selection {
    background: var(--orange);
    color: #FFFFFF;
}

/* --- Layout --- */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 32px;
}

section {
    padding: 120px 0;
    position: relative;
}

.section-header {
    margin-bottom: 1rem;
}

.section-label {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--orange);
    margin-bottom: 1rem;
    position: relative;
    padding-left: 48px;
}

.section-label::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 32px;
    height: 2px;
    background: var(--orange);
}

.section-title {
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.05rem;
    color: var(--text-secondary);
    max-width: 520px;
    margin-bottom: 64px;
    line-height: 1.8;
    font-weight: 400;
}

/* --- Buttons --- */
.btn-primary,
.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.78rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;
    transition: all var(--transition);
    white-space: nowrap;
    border: 1px solid transparent;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    padding: 16px 40px;
    background: var(--orange);
    color: #FFFFFF;
    border-color: var(--orange);
}

.btn-primary:hover {
    background: var(--orange-warm);
    border-color: var(--orange-warm);
    color: #FFFFFF;
    transform: translateY(-2px);
    box-shadow: var(--shadow-orange);
}

.btn-secondary {
    padding: 16px 40px;
    background: transparent;
    color: var(--text-primary);
    border-color: rgba(240, 122, 26, 0.4);
}

.btn-secondary:hover {
    border-color: var(--orange);
    color: var(--orange);
    transform: translateY(-2px);
}

.btn-header {
    padding: 10px 24px;
    font-size: 0.7rem;
}

/* --- Header --- */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    transition: all var(--transition);
}

header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--orange-deep), var(--orange), var(--orange-warm));
}

header .container {
    padding-top: 6px;
    padding-bottom: 6px;
}

header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

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

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

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

header .container {
    padding-top: 8px;
    padding-bottom: 8px;
}

.logo-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(14px);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.logo-overlay.visible {
    opacity: 1;
}

.logo-clone {
    position: fixed;
    z-index: 10000;
    pointer-events: none;
    border-radius: 50%;
    object-fit: contain;
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    filter: drop-shadow(0 0 32px rgba(240, 122, 26, 0.5));
    animation: none !important;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2.5rem;
    align-items: center;
}

.nav-links a {
    color: #1A1A1A;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 4px 0;
    position: relative;
    text-decoration: none;
    transition: color var(--transition);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--orange);
    transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.nav-links a:hover::after {
    width: 100%;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* Mobile Menu */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 6px;
    padding: 8px;
    background: none;
    border: none;
    z-index: 10000;
    position: relative;
}

.mobile-menu-toggle span {
    width: 24px;
    height: 2px;
    background: #1A1A1A;
    transition: all 0.3s ease;
    display: block;
}

.mobile-menu-toggle.active span {
    background: #FFFFFF;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* --- Settings Switcher --- */
.settings-dropdown-wrapper {
    position: relative;
    z-index: 10002;
}

.settings-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    cursor: pointer;
    color: #1A1A1A;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.settings-btn:hover {
    border-color: var(--orange);
    color: var(--orange);
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    background: var(--orange-subtle);
}

.settings-btn svg {
    width: 18px;
    height: 18px;
    transition: transform 0.8s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.settings-dropdown-wrapper:hover>.settings-btn svg,
.settings-dropdown-wrapper.open>.settings-btn svg {
    transform: rotate(90deg);
}

.settings-dropdown {
    position: absolute;
    top: calc(100% + 15px);
    right: 0;
    width: 280px;
    background: rgba(30, 30, 30, 0.95);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 16px 20px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-height: calc(100vh - 100px);
    overflow-y: auto;
    overflow-x: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-15px) scale(0.95);
    transform-origin: top right;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 10001;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.05) inset;
}

.settings-dropdown-wrapper.open .settings-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.settings-section {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.settings-section:last-child {
    padding-bottom: 0;
    border-bottom: none;
}

.settings-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    font-weight: 600;
}

.tts-btn,
.builder-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 10px 14px;
    color: #FFF;
    font-family: var(--font-body);
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    justify-content: flex-start;
}

.tts-btn:hover,
.builder-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.tts-btn svg,
.builder-btn svg {
    width: 18px;
    height: 18px;
}

.theme-dropdown-inline {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.theme-option {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    cursor: pointer;
    border: 2px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    padding: 0;
}

.theme-option.orange {
    background: #F07A1A;
}

.theme-option.green {
    background: #10B981;
}

.theme-option.blue {
    background: #3B82F6;
}

.theme-option.purple {
    background: #8B5CF6;
}

.theme-option.red {
    background: #EF4444;
}

.theme-option:hover {
    transform: scale(1.2);
    border-color: #FFF;
}

.theme-option.active {
    transform: scale(1.15);
    border-color: #FFF;
    box-shadow: 0 0 12px rgba(255, 255, 255, 0.4);
}

/* --- Settings Dropdown: Lang overrides --- */
.settings-lang .lang-switcher {
    width: 100%;
}

.settings-lang .lang-switcher-btn {
    width: 100%;
    justify-content: space-between;
    color: var(--text-secondary);
    animation: none;
    border-radius: 8px;
}

.settings-lang .lang-switcher-btn * {
    color: var(--text-secondary);
}

.settings-lang .lang-dropdown {
    position: static;
    transform: none;
    visibility: visible;
    opacity: 1;
    box-shadow: none;
    border: 1px solid rgba(255, 255, 255, 0.05);
    background: rgba(0, 0, 0, 0.2);
    margin-top: 8px;
    display: none;
    min-width: 0;
    width: 100%;
    max-height: 200px;
    overflow-y: auto;
}

.settings-lang .lang-switcher.open .lang-dropdown {
    display: grid;
    grid-template-columns: 1fr;
}

/* --- Language Switcher --- */
.lang-switcher {
    position: relative;
    z-index: 10002;
}

.lang-switcher-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.05);
    /* Glass base */
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(240, 122, 26, 0.3);
    border-radius: 30px;
    padding: 8px 16px;
    cursor: pointer;
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 600;
    color: #1A1A1A;
    /* Text color for light header */
    letter-spacing: 0.05em;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    animation: pulseLangGlow 2.5s infinite;
}

@keyframes pulseLangGlow {
    0% {
        box-shadow: 0 0 0 0 rgba(240, 122, 26, 0.4);
        border-color: rgba(240, 122, 26, 0.5);
    }

    70% {
        box-shadow: 0 0 0 12px rgba(240, 122, 26, 0);
        border-color: rgba(240, 122, 26, 1);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(240, 122, 26, 0);
        border-color: rgba(240, 122, 26, 0.5);
    }
}

.lang-switcher-btn:hover {
    border-color: var(--orange);
    color: var(--orange);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(240, 122, 26, 0.25);
    background: rgba(240, 122, 26, 0.05);
}

.lang-switcher-btn svg:not(.lang-arrow) {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    transition: transform 0.8s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.lang-switcher:hover svg:not(.lang-arrow),
.lang-switcher.open svg:not(.lang-arrow) {
    transform: rotate(360deg);
}

.lang-switcher-btn .lang-arrow {
    width: 12px;
    height: 12px;
    transition: transform 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.lang-switcher.open .lang-arrow {
    transform: rotate(180deg);
}

.lang-dropdown {
    position: absolute;
    top: calc(100% + 15px);
    right: 0;
    background: rgba(30, 30, 30, 0.85);
    /* Deep glass effect */
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 12px;
    min-width: 320px;
    max-height: 400px;
    overflow-y: auto;
    overflow-x: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-15px) scale(0.95);
    transform-origin: top right;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 10001;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(240, 122, 26, 0.1) inset;

    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 6px;
}

/* Custom Scrollbar for Dropdown */
.lang-dropdown::-webkit-scrollbar {
    width: 6px;
}

.lang-dropdown::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 8px;
}

.lang-dropdown::-webkit-scrollbar-thumb {
    background: rgba(240, 122, 26, 0.5);
    border-radius: 8px;
}

.lang-dropdown::-webkit-scrollbar-thumb:hover {
    background: var(--orange);
}

.lang-switcher.open .lang-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.lang-option {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 10px 14px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid transparent;
    border-radius: 10px;
    cursor: pointer;
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    text-align: left;
}

.lang-option:hover {
    background: rgba(240, 122, 26, 0.15);
    border-color: rgba(240, 122, 26, 0.3);
    color: #FFF;
    transform: scale(1.02);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.lang-option.active {
    background: linear-gradient(135deg, var(--orange), var(--orange-warm));
    color: #FFF;
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 15px rgba(240, 122, 26, 0.4);
}

.lang-option .lang-flag {
    font-size: 1.25rem;
    line-height: 1;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.lang-option .lang-name {
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Hide Google Translate bar */
.goog-te-banner-frame,
.skiptranslate,
#goog-gt-tt,
.goog-te-balloon-frame {
    display: none !important;
}

body {
    top: 0 !important;
}

.goog-text-highlight {
    background: none !important;
    box-shadow: none !important;
}

/* Language Modal */
.lang-modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 100000;
    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.lang-modal-overlay.visible {
    opacity: 1;
    visibility: visible;
}

.lang-modal {
    background: rgba(30, 30, 30, 0.85);
    /* Deep glass effect */
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-top: 4px solid var(--orange);
    border-radius: 20px;
    padding: 40px 32px;
    max-width: 580px;
    width: 100%;
    text-align: center;
    transform: translateY(30px) scale(0.95);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(240, 122, 26, 0.1) inset;
}

.lang-modal-overlay.visible .lang-modal {
    transform: translateY(0) scale(1);
}

.lang-modal h2 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: #FFF;
}

.lang-modal p {
    color: var(--text-muted);
    font-size: 1rem;
    margin-bottom: 1.5rem;
}

.lang-modal-search {
    margin-bottom: 24px;
    position: relative;
}

.lang-modal-search input {
    width: 100%;
    padding: 14px 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: #FFF;
    font-family: var(--font-body);
    font-size: 1rem;
    outline: none;
    transition: all 0.3s ease;
}

.lang-modal-search input:focus {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--orange);
    box-shadow: 0 0 0 4px rgba(240, 122, 26, 0.15);
}

.lang-modal-search input::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

.lang-modal-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    max-height: 320px;
    overflow-y: auto;
    overflow-x: hidden;
    padding-right: 8px;
}

/* Custom Scrollbar for Modal Grid */
.lang-modal-grid::-webkit-scrollbar {
    width: 6px;
}

.lang-modal-grid::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 8px;
}

.lang-modal-grid::-webkit-scrollbar-thumb {
    background: rgba(240, 122, 26, 0.5);
    border-radius: 8px;
}

.lang-modal-grid::-webkit-scrollbar-thumb:hover {
    background: var(--orange);
}

.lang-modal-option {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid transparent;
    border-radius: 10px;
    cursor: pointer;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-secondary);
    text-align: left;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.lang-modal-option:hover {
    background: rgba(240, 122, 26, 0.15);
    border-color: rgba(240, 122, 26, 0.3);
    color: #FFF;
    transform: scale(1.02);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.lang-modal-option.active {
    background: linear-gradient(135deg, var(--orange), var(--orange-warm));
    color: #FFF;
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 15px rgba(240, 122, 26, 0.4);
}

.lang-modal-option .lang-flag {
    font-size: 1.3rem;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.lang-modal-option .lang-name {
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* --- Hero --- */
.hero {
    position: relative;
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: left;
    background-size: cover;
    background-position: center;
    overflow: hidden;
    padding: 160px 0 100px;
}

.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg,
            rgba(26, 26, 26, 0.85) 0%,
            rgba(26, 26, 26, 0.45) 50%,
            rgba(26, 26, 26, 0.70) 100%);
    z-index: 1;
}

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

.hero-content {
    max-width: 800px;
}

.hero-tag {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--orange);
    margin-bottom: 2rem;
    padding: 8px 20px;
    border: 1px solid rgba(240, 122, 26, 0.5);
    background: rgba(240, 122, 26, 0.08);
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 0.7s ease 0.2s forwards;
}

.hero-label {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--orange);
    margin-bottom: 2rem;
    padding: 8px 20px;
    border: 1px solid rgba(240, 122, 26, 0.5);
    background: rgba(240, 122, 26, 0.08);
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 0.7s ease 0.2s forwards;
}

.hero-content h1 {
    color: #FFFFFF;
    margin-bottom: 1.5rem;
    font-weight: 800;
    line-height: 1.0;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 0.8s ease 0.4s forwards;
}
.hero-header{
    font-size: clamp(1rem, 5vw, 3.3rem);
}

.hero-accent {
    color: var(--orange);
    display: inline-block;
    font-size: clamp(3rem, 7vw, 5.5rem);
}

.hero-content p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.15rem;
    margin-bottom: 2.5rem;
    line-height: 1.8;
    max-width: 520px;
    font-weight: 400;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 0.7s ease 0.6s forwards;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 0.7s ease 0.8s forwards;
}

.hero-content .btn-primary {
    background: var(--orange);
    color: #FFFFFF;
    border-color: var(--orange);
}

.hero-content .btn-primary:hover {
    background: var(--orange-warm);
    border-color: var(--orange-warm);
    color: #FFFFFF;
    box-shadow: 0 8px 40px rgba(240, 122, 26, 0.45);
}

.hero-buttons .btn-secondary {
    color: #FFFFFF;
    border-color: rgba(240, 122, 26, 0.4);
}

.hero-buttons .btn-secondary:hover {
    border-color: var(--orange);
    color: var(--orange);
}

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Hero Gallery (Homepage) */
.hero-gallery {
    min-height: 100vh;
    padding: 0;
    display: flex;
    align-items: center;
}

.hero-gallery .container {
    padding-top: 80px;
}

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

.hero-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.8s ease;
    will-change: opacity, transform;
}

.hero-slide.active {
    opacity: 1;
    animation: slowZoom 10s ease forwards;
}

@keyframes slowZoom {
    from {
        transform: scale(1);
    }

    to {
        transform: scale(1.08);
    }
}

.hero-grain {
    position: absolute;
    inset: 0;
    z-index: 2;
    opacity: 0.04;
    pointer-events: none;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='1'/%3E%3C/svg%3E");
    background-repeat: repeat;
    background-size: 256px 256px;
}

.hero-indicators {
    position: absolute;
    bottom: 48px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 4;
    display: flex;
    gap: 12px;
}

.hero-indicator {
    width: 40px;
    height: 3px;
    background: rgba(255, 255, 255, 0.15);
    border: none;
    cursor: pointer;
    transition: all 0.5s ease;
    padding: 0;
}

.hero-indicator.active {
    background: var(--orange);
    width: 56px;
    box-shadow: 0 0 12px rgba(240, 122, 26, 0.5);
}

.hero-indicator:hover {
    background: rgba(240, 122, 26, 0.5);
}

.hero-scroll-hint {
    position: absolute;
    bottom: 48px;
    right: 32px;
    z-index: 4;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    opacity: 0;
    animation: fadeUp 0.7s ease 1.2s forwards;
}

.hero-scroll-hint span {
    font-size: 0.65rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(240, 122, 26, 0.5);
    writing-mode: vertical-rl;
    font-weight: 500;
}

.scroll-line {
    width: 1px;
    height: 48px;
    background: linear-gradient(to bottom, var(--orange), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {

    0%,
    100% {
        opacity: 1;
        transform: scaleY(1);
    }

    50% {
        opacity: 0.4;
        transform: scaleY(0.6);
    }
}

/* --- Services --- */
.services {
    background: var(--orange);
    color: #FFFFFF;
    position: relative;
    overflow: hidden;
}

.services::before {
    content: '';
    position: absolute;
    top: -40%;
    right: -15%;
    width: 600px;
    height: 600px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    pointer-events: none;
}

.services::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: rgba(0, 0, 0, 0.06);
    border-radius: 50%;
    pointer-events: none;
}

.services .section-label {
    color: #FFFFFF;
}

.services .section-label::before {
    background: #FFFFFF;
}

.services .section-title {
    color: #FFFFFF;
}

.services .section-subtitle {
    color: rgba(255, 255, 255, 0.8);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2px;
    position: relative;
    z-index: 1;
}

.service-card {
    padding: 48px 32px;
    background: rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(4px);
    transition: all 0.5s ease;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.service-card:hover {
    background: rgba(0, 0, 0, 0.3);
    transform: translateY(-4px);
}

.card-number {
    display: block;
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 700;
    color: #FFFFFF;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
    opacity: 0.7;
}

.card-line {
    width: 32px;
    height: 2px;
    background: #FFFFFF;
    margin-bottom: 1.5rem;
    transition: width 0.5s ease;
}

.service-card:hover .card-line {
    width: 56px;
}

.service-card h3 {
    margin-bottom: 0.75rem;
    font-size: 1.25rem;
    font-weight: 600;
    color: #FFFFFF;
}

.service-card p {
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.7;
    margin: 0;
    font-size: 1rem;
}

.service-card::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: #FFFFFF;
    transform: scaleX(0);
    transition: transform 0.5s ease;
    transform-origin: left;
}

.service-card:hover::before {
    transform: scaleX(1);
}

/* --- Featured Work --- */
.featured-work {
    background: var(--bg-secondary);
}

.work-gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-bottom: 56px;
}

.work-item {
    overflow: hidden;
    background: var(--bg-card);
    border: 1px solid var(--border);
    transition: all 0.5s ease;
}

.work-item:hover {
    border-color: var(--orange);
    box-shadow: 0 8px 32px rgba(240, 122, 26, 0.15);
    transform: translateY(-4px);
}

.work-image {
    height: 220px;
    background: var(--bg-card-hover);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    border-bottom: 3px solid var(--orange);
}

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

.placeholder-work {
    color: var(--text-muted);
    font-size: 0.85rem;
    font-weight: 500;
    text-align: center;
    letter-spacing: 0.05em;
}

.work-info {
    padding: 28px;
}

.work-info h3 {
    font-size: 1.15rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.work-info p {
    color: var(--text-secondary);
    font-size: 0.93rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.work-category {
    display: inline-block;
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--orange);
    background: var(--orange-dim);
    padding: 5px 14px;
    border-left: 2px solid var(--orange);
}

.work-cta {
    text-align: center;
}

/* --- Why Choose Us / Benefits --- */
.why-choose-us {
    background: var(--bg-primary);
    position: relative;
}

.why-choose-us::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--orange-deep), var(--orange), var(--orange-warm), var(--orange));
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.benefit-item {
    padding: 48px 36px;
    background: var(--bg-card);
    transition: all 0.5s ease;
    border: 1px solid var(--border);
    border-left: 4px solid var(--orange);
}

.benefit-item:hover {
    background: var(--bg-card-hover);
    box-shadow: 0 8px 32px rgba(240, 122, 26, 0.12);
    transform: translateY(-4px);
    border-left-color: var(--orange-warm);
}

.benefit-number {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 800;
    color: var(--orange);
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
    line-height: 1;
}

.benefit-item h3 {
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.benefit-item p {
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.7;
    font-size: 1rem;
}

/* Benefits list (used in construction/home-care) */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    margin-top: 48px;
}

.feature {
    padding: 40px 32px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-top: 3px solid var(--orange);
    transition: all 0.5s ease;
}

.feature::before {
    content: none;
}

.feature:hover::before {
    content: none;
}

.feature:hover {
    box-shadow: 0 8px 32px rgba(240, 122, 26, 0.12);
    transform: translateY(-4px);
    border-top-color: var(--orange-warm);
}

.feature h3 {
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.feature p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin: 0;
    font-size: 1rem;
}

/* --- Testimonials --- */
.testimonials {
    background: var(--bg-secondary);
    position: relative;
}

.testimonials::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--orange), transparent);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.testimonial-card {
    background: var(--bg-card);
    padding: 48px 36px;
    transition: all 0.5s ease;
    position: relative;
    border: 1px solid var(--border);
    border-left: 4px solid var(--orange);
}

.testimonial-card::before {
    content: none;
}

/* .testimonial-card::after {
    content: '';
    position: absolute;
    top: 24px;
    right: 28px;
    font-size: 4rem;
    line-height: 1;
    color: var(--orange-dim);
    font-family: Georgia, serif;
    pointer-events: none;
    width: 48px;
    height: 48px;
    background: var(--orange-dim);
    border-radius: 50%;
} */

.testimonial-card:hover {
    background: var(--bg-card-hover);
    box-shadow: 0 8px 32px rgba(240, 122, 26, 0.12);
    transform: translateY(-4px);
}

.testimonial-content {
    margin-bottom: 28px;
    padding-top: 24px;
}

.testimonial-content p {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text-secondary);
    font-style: italic;
    margin: 0;
    font-weight: 400;
}

.testimonial-author {
    padding-top: 20px;
    border-top: 1px solid var(--border);
}

.author-info h4 {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 2px;
}

.author-info span {
    font-size: 0.75rem;
    color: var(--orange);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    font-weight: 500;
}

/* --- About Page --- */
.about-story {
    background: var(--bg-secondary);
    padding: 100px 0;
}

.story-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.story-content h2 {
    margin-bottom: 1.5rem;
}

.story-content p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-secondary);
}

.story-image .placeholder-image {
    height: 400px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 1rem;
    font-weight: 500;
}

/* Family Values */
.family-values {
    background: var(--bg-primary);
    padding: 100px 0;
}

.family-values h2 {
    text-align: center;
    margin-bottom: 60px;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}

.value-card {
    padding: 40px 28px;
    background: var(--bg-card);
    transition: all 0.5s ease;
    text-align: center;
    border: 1px solid var(--border);
    border-top: 3px solid var(--orange);
}

.value-card::after {
    content: none;
}

.value-card:hover {
    background: var(--bg-card-hover);
    box-shadow: 0 8px 32px rgba(240, 122, 26, 0.12);
    transform: translateY(-4px);
}

.value-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.value-card p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin: 0;
    font-size: 1rem;
}

/* Team Section */
.team-section {
    background: var(--bg-secondary);
    padding: 100px 0;
}

.team-section h2 {
    text-align: center;
    margin-bottom: 60px;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.team-member {
    text-align: center;
    padding: 48px 28px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    transition: all 0.5s ease;
}

.team-member:hover {
    box-shadow: 0 8px 32px rgba(240, 122, 26, 0.12);
    border-color: var(--orange);
    transform: translateY(-4px);
}

.member-photo {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid var(--orange);
}

.member-photo .placeholder-image {
    width: 100%;
    height: 100%;
    background: var(--orange-dim);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--orange);
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 600;
    border-radius: 50%;
}

.team-member h3 {
    font-size: 1.2rem;
    margin-bottom: 4px;
    font-weight: 600;
}

.member-title {
    color: var(--orange);
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 1rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.team-member p:not(.member-title) {
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 1rem;
}

/* CTA Section */
.cta-section {
    background: var(--bg-primary);
    padding: 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(240, 122, 26, 0.12) 0%, transparent 60%),
        radial-gradient(ellipse at 80% 50%, rgba(240, 122, 26, 0.08) 0%, transparent 60%);
    pointer-events: none;
}

.cta-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--orange), transparent);
    pointer-events: none;
}

.cta-content {
    max-width: 560px;
    margin: 0 auto;
    position: relative;
}

.cta-content h2 {
    color: var(--orange);
    margin-bottom: 1rem;
}

.cta-content p {
    color: var(--text-secondary);
    font-size: 1.05rem;
    margin-bottom: 2.5rem;
    line-height: 1.7;
    font-weight: 400;
}

.cta-section .btn-primary {
    background: var(--orange);
    color: #FFFFFF;
    border-color: var(--orange);
    padding: 18px 48px;
}

.cta-section .btn-primary:hover {
    background: var(--orange-warm);
    border-color: var(--orange-warm);
    color: #FFFFFF;
    box-shadow: 0 8px 40px rgba(240, 122, 26, 0.4);
}

/* --- Contact Page --- */
.contact-section {
    background: var(--bg-secondary);
    padding: 100px 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.contact-info h2,
.contact-form h2 {
    font-size: 1.8rem;
    margin-bottom: 2rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 20px 0;
    border-bottom: 1px solid var(--border);
}

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

.contact-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background: rgba(240, 122, 26, 0.1);
    border: 1px solid rgba(240, 122, 26, 0.3);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--orange);
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 0.05em;
    box-shadow: 0 4px 12px rgba(240, 122, 26, 0.1);
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.contact-item:hover .contact-icon {
    transform: scale(1.1) rotate(5deg);
    background: var(--orange);
    color: #FFF;
    box-shadow: 0 8px 20px rgba(240, 122, 26, 0.3);
}

.contact-item h3 {
    font-size: 1rem;
    font-family: var(--font-body);
    font-weight: 600;
    margin-bottom: 2px;
}

.contact-item p {
    color: var(--text-muted);
    margin: 0;
    line-height: 1.5;
}

/* Contact Form */
.contact-form {
    background: rgba(42, 42, 42, 0.4);
    /* Glassmorphism base */
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    padding: 48px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    transform: translateY(0);
    transition: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.contact-form:hover {
    transform: translateY(-8px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(240, 122, 26, 0.3) inset;
}

.form-group {
    margin-bottom: 24px;
    position: relative;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-secondary);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    transition: color 0.3s ease;
}

.form-group:focus-within label {
    color: var(--orange);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 16px 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    font-family: var(--font-body);
    font-size: 1.05rem;
    color: var(--text-primary);
    background: rgba(26, 26, 26, 0.6);
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.form-group input:hover,
.form-group select:hover,
.form-group textarea:hover {
    background: rgba(26, 26, 26, 0.8);
    border-color: rgba(255, 255, 255, 0.2);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    background: rgba(26, 26, 26, 0.95);
    border-color: var(--orange);
    box-shadow: 0 0 0 4px rgba(240, 122, 26, 0.15), 0 8px 16px rgba(0, 0, 0, 0.2);
    transform: translateY(-2px);
}

.form-group textarea {
    resize: vertical;
    min-height: 140px;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.25);
}

.contact-form .btn-primary {
    width: 100%;
    padding: 18px;
    font-size: 0.9rem;
    border-radius: 12px;
    margin-top: 10px;
    letter-spacing: 0.1em;
}

/* Form Animations */
@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.contact-section .contact-info {
    animation: slideInUp 0.8s cubic-bezier(0.25, 0.8, 0.25, 1) forwards;
}

.contact-section .contact-form {
    opacity: 0;
    animation: slideInUp 0.8s cubic-bezier(0.25, 0.8, 0.25, 1) 0.2s forwards;
}

/* --- Projects Page --- */
.projects-filter {
    background: var(--bg-secondary);
    padding: 40px 0;
    border-bottom: 1px solid var(--border);
}

.filter-buttons {
    display: flex;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 24px;
    background: transparent;
    border: 1px solid var(--border);
    font-family: var(--font-body);
    font-size: 0.78rem;
    font-weight: 500;
    color: var(--text-muted);
    cursor: pointer;
    transition: all var(--transition);
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.filter-btn:hover {
    border-color: var(--orange);
    color: var(--orange);
}

.filter-btn.active {
    background: var(--orange);
    color: #FFFFFF;
    border-color: var(--orange);
}

/* Projects Gallery */
.projects-gallery {
    background: var(--bg-primary);
    padding: 80px 0;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 24px;
}

.project-card {
    overflow: hidden;
    background: var(--bg-card);
    border: 1px solid var(--border);
    transition: all 0.5s ease;
}

.project-card:hover {
    box-shadow: 0 8px 32px rgba(240, 122, 26, 0.15);
    border-color: var(--orange);
}

.project-image {
    position: relative;
    height: 260px;
    overflow: hidden;
}

.project-image .placeholder-image {
    width: 100%;
    height: 100%;
    background: var(--bg-card-hover);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 600;
    text-align: center;
    line-height: 1.4;
}

.project-overlay {
    position: absolute;
    inset: 0;
    background: rgba(26, 26, 26, 0.92);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.5s ease;
    backdrop-filter: blur(4px);
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.project-info {
    text-align: center;
    color: var(--text-primary);
    padding: 32px;
    transform: translateY(10px);
    transition: transform 0.5s ease;
}

.project-card:hover .project-info {
    transform: translateY(0);
}

.project-info h3 {
    color: #FFFFFF;
    font-size: 1.4rem;
    margin-bottom: 8px;
}

.project-info p {
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 20px;
}

.view-project-btn {
    display: inline-flex;
    align-items: center;
    padding: 10px 28px;
    background: var(--orange);
    color: #FFFFFF;
    border: none;
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    cursor: pointer;
    transition: all var(--transition);
}

.view-project-btn:hover {
    background: var(--orange-warm);
    box-shadow: 0 4px 16px rgba(240, 122, 26, 0.3);
}

.project-year {
    font-size: 0.9rem;
    font-weight: 400;
    opacity: 0.7;
}

/* Project Stats */
.project-stats {
    background: var(--bg-secondary);
    padding: 80px 0;
}

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

.stat-item {
    text-align: center;
    padding: 40px 20px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    transition: all 0.5s ease;
}

.stat-item:hover {
    border-color: var(--orange);
    box-shadow: 0 8px 32px rgba(240, 122, 26, 0.12);
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 700;
    color: var(--orange);
    margin-bottom: 4px;
    line-height: 1;
}

.stat-label {
    font-size: 0.82rem;
    color: var(--text-muted);
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

/* --- Privacy Page --- */
.privacy-content {
    background: var(--bg-secondary);
    padding: 80px 0;
}

.privacy-wrapper {
    max-width: 760px;
    margin: 0 auto;
}

.privacy-section {
    margin-bottom: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid var(--border);
}

.privacy-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.privacy-section h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.privacy-section p {
    line-height: 1.8;
    color: var(--text-secondary);
}

.privacy-section ul {
    margin: 1rem 0;
    padding-left: 1.5rem;
    list-style: disc;
}

.privacy-section ul li {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 6px;
}

.privacy-section ul li::marker {
    color: var(--orange);
}

.contact-details {
    background: var(--bg-card);
    padding: 20px 24px;
    border: 1px solid var(--border);
    margin-top: 1rem;
}

.contact-details p {
    margin-bottom: 4px;
    color: var(--text-secondary);
}

.effective-date {
    font-style: italic;
    color: var(--text-muted);
}

/* --- Footer --- */
.footer {
    background: #151515;
    padding: 80px 0 32px;
    margin-top: 0;
    border-top: 4px solid var(--orange);
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 120px;
    background: linear-gradient(to bottom, rgba(240, 122, 26, 0.06), transparent);
    pointer-events: none;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr repeat(3, 1fr);
    gap: 48px;
    margin-bottom: 56px;
    position: relative;
}

.footer-section h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    color: #FFFFFF;
    margin-bottom: 1rem;
    font-weight: 700;
}

.footer-section h4 {
    font-family: var(--font-body);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--orange);
    margin-bottom: 1.5rem;
}

.footer-section p {
    color: #9A9A9A;
    font-size: 0.95rem;
    line-height: 1.7;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: #9A9A9A;
    font-size: 0.95rem;
    transition: color var(--transition);
}

.footer-section ul li a:hover {
    color: var(--orange);
}

.footer-contact p {
    margin-bottom: 6px;
}

.footer-contact a {
    color: #9A9A9A;
    transition: color var(--transition);
}

.footer-contact a:hover {
    color: var(--orange);
}

.footer-bottom {
    border-top: 1px solid rgba(240, 122, 26, 0.1);
    padding-top: 24px;
    position: relative;
}

.footer-bottom p {
    color: #777;
    font-size: 0.8rem;
    text-align: center;
    margin: 0;
    letter-spacing: 0.03em;
}

/* --- Animations --- */
/* Only hide elements when JS has loaded (progressive enhancement) */
body.js-ready .reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

body.js-ready .reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Fallback: always show reveal elements if js-ready not set */
.reveal {
    opacity: 1;
    transform: none;
}

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

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

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

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

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

@media (max-width: 768px) {
    body {
        padding-top: 0;
    }

    section {
        padding: 80px 0;
    }

    .container {
        padding: 0 20px;
    }

    /* Mobile Navigation */
    .nav-links {
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        height: 100dvh;
        background: #1A1A1A;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 0;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s ease, visibility 0.3s ease;
        z-index: 9999;
        overflow-y: auto;
    }

    .nav-links.active {
        opacity: 1;
        visibility: visible;
    }

    .nav-links li {
        width: 100%;
        text-align: center;
    }

    .nav-links a {
        display: block;
        font-family: var(--font-heading);
        font-size: 2rem;
        font-weight: 700;
        color: var(--text-primary);
        padding: 16px 0;
        text-transform: none;
        letter-spacing: -0.01em;
    }

    .nav-links a::after {
        display: none;
    }

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

    .mobile-menu-toggle {
        display: flex;
    }

    .header-actions .btn-header {
        display: none;
    }

    .lang-switcher {
        position: static;
    }

    .settings-lang .lang-switcher-btn,
    .settings-lang .lang-switcher-btn * {
        color: #FFF !important;
    }

    .lang-switcher-btn {
        padding: 5px 10px;
        font-size: 0.75rem;
    }

    .lang-switcher-btn .lang-current-name {
        display: none;
    }

    .lang-dropdown {
        position: fixed;
        top: auto;
        bottom: 0;
        left: 0;
        right: 0;
        border-radius: 16px 16px 0 0;
        min-width: auto;
        padding: 12px;
    }

    .lang-modal {
        padding: 32px 24px;
    }

    .lang-modal-grid {
        grid-template-columns: 1fr;
    }

    /* Hero */
    .hero {
        min-height: 60vh;
        padding: 120px 0 80px;
        text-align: left;
    }

    .hero-gallery {
        min-height: 100vh;
    }

    .hero-content h1 {
        font-size: clamp(2.5rem, 10vw, 3.5rem);
    }

    .hero-scroll-hint {
        display: none;
    }

    /* Grids */
    .services-grid,
    .benefits-grid,
    .values-grid,
    .features-grid,
    .testimonials-grid,
    .team-grid {
        grid-template-columns: 1fr;
    }

    .work-gallery {
        grid-template-columns: 1fr;
    }

    .story-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

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

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

    /* Footer */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    /* Contact Form */
    .contact-form {
        padding: 28px 20px;
    }

    /* Section spacing */
    .section-subtitle {
        margin-bottom: 48px;
    }

    .section-label {
        padding-left: 40px;
    }

    .section-label::before {
        width: 24px;
    }

    .family-values h2,
    .team-section h2 {
        margin-bottom: 40px;
    }

    .reveal {
        transform: translateY(14px);
    }
}

/* --- Visual Page Builder Features --- */
body.builder-mode-active [contenteditable="true"] {
    outline: 2px dashed rgba(240, 122, 26, 0.5);
    outline-offset: 4px;
    transition: all 0.2s;
    cursor: text;
    border-radius: 4px;
}

body.builder-mode-active [contenteditable="true"]:hover {
    outline-color: var(--orange);
    background: rgba(240, 122, 26, 0.05);
}

body.builder-mode-active [contenteditable="true"]:focus {
    outline: 2px solid var(--orange);
    background: rgba(240, 122, 26, 0.1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

body.builder-mode-active .draggable-target {
    cursor: grab;
    position: relative;
    border: 2px dashed rgba(240, 122, 26, 0.5);
    animation: pulseBorder 2s infinite;
}

body.draggable-mode-active .draggable-target * {
    pointer-events: none;
    /* Prevent children from interfering with drag events */
}

body.draggable-mode-active .draggable-target:hover {
    background: rgba(240, 122, 26, 0.05);
    border-style: solid;
    border-color: var(--orange);
}

body.draggable-mode-active .draggable-target:active {
    cursor: grabbing;
    transform: scale(0.98);
}

.draggable-target.drag-over {
    border-color: #FFF !important;
    background: rgba(255, 255, 255, 0.1) !important;
    transform: scale(1.02);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
}

@keyframes pulseBorder {
    0% {
        border-color: rgba(240, 122, 26, 0.3);
    }

    50% {
        border-color: rgba(240, 122, 26, 0.8);
    }

    100% {
        border-color: rgba(240, 122, 26, 0.3);
    }
}

@media (max-width: 768px) {
    .hero-buttons {
        flex-direction: column;
        align-items: flex-start;
    }

    .hero-buttons .btn-primary,
    .hero-buttons .btn-secondary {
        width: 100%;
        text-align: center;
    }
}

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

    .stat-number {
        font-size: 2.5rem;
    }

    .filter-buttons {
        gap: 6px;
    }

    .filter-btn {
        padding: 8px 16px;
        font-size: 0.7rem;
    }

    h1 {
        font-size: clamp(2.2rem, 9vw, 3rem);
    }
}

/* --- 404 Page --- */
.error-404 {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: var(--bg-primary);
}

.error-404 h1 {
    font-size: 8rem;
    color: var(--orange);
    line-height: 1;
    margin-bottom: 1rem;
}

.error-404 p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

/* --- Domains Page --- */
.domain-hero {
    background: radial-gradient(circle at center, rgba(30, 30, 30, 1) 0%, rgba(15, 15, 15, 1) 100%);
    position: relative;
    overflow: hidden;
}

.domain-hero::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(240, 122, 26, 0.05) 0%, transparent 60%);
    pointer-events: none;
}

.domain-search-wrapper {
    position: relative;
    z-index: 2;
}

.domain-search-form {
    display: flex;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 60px;
    padding: 8px;
    backdrop-filter: blur(12px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.domain-search-form:hover,
.domain-search-form:focus-within {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(240, 122, 26, 0.4);
    box-shadow: 0 15px 45px rgba(240, 122, 26, 0.15);
}

.domain-input {
    flex: 1;
    background: transparent;
    border: none;
    color: #FFF;
    font-size: 1.5rem;
    font-family: var(--font-body);
    padding: 10px 30px;
    outline: none;
}

.domain-input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.domain-search-btn {
    background: var(--orange);
    color: #FFF;
    border: none;
    border-radius: 50px;
    padding: 15px 40px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
}

.domain-search-btn:hover {
    background: var(--orange-warm);
    transform: scale(1.02);
}

@media (max-width: 768px) {
    .domain-search-form {
        flex-direction: column;
        border-radius: 20px;
        background: transparent;
        border: none;
        box-shadow: none;
        padding: 0;
    }

    .domain-search-form:hover,
    .domain-search-form:focus-within {
        background: transparent;
        border-color: transparent;
        box-shadow: none;
    }

    .domain-input {
        background: rgba(255, 255, 255, 0.05);
        border: 1px solid rgba(255, 255, 255, 0.15);
        border-radius: 12px;
        margin-bottom: 10px;
        padding: 20px;
        font-size: 1.25rem;
    }

    .domain-search-btn {
        width: 100%;
        border-radius: 12px;
    }
}

/* ==================== Mock Captcha ==================== */
.mock-captcha {
    margin: 20px 0;
}

.captcha-track {
    position: relative;
    width: 100%;
    height: 50px;
    background: rgba(30, 30, 30, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 25px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    user-select: none;
    -webkit-user-select: none;
}

.captcha-track.verified {
    background: rgba(16, 185, 129, 0.15);
    border-color: #10B981;
}

.captcha-text {
    position: absolute;
    z-index: 1;
    color: rgba(255, 255, 255, 0.45);
    font-size: 0.9rem;
    font-family: var(--font-body);
    letter-spacing: 0.05em;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.captcha-track.verified .captcha-text {
    color: #10B981 !important;
    font-weight: 600;
    opacity: 1 !important;
}

.captcha-progress {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0;
    background: rgba(240, 122, 26, 0.15);
    border-radius: 25px 0 0 25px;
    z-index: 1;
    pointer-events: none;
}

.captcha-track.verified .captcha-progress {
    background: transparent;
}

.captcha-thumb {
    position: absolute;
    left: 0;
    top: 0;
    width: 50px;
    height: 50px;
    min-width: 50px;
    min-height: 50px;
    max-width: 50px;
    max-height: 50px;
    background: var(--orange);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: grab;
    z-index: 3;
    transition: background 0.3s ease;
    flex-shrink: 0;
    box-sizing: border-box;
}

.captcha-thumb:active {
    cursor: grabbing;
}

.captcha-thumb svg {
    width: 20px;
    height: 20px;
    min-width: 20px;
    min-height: 20px;
    max-width: 20px;
    max-height: 20px;
    color: #fff;
    display: block;
    flex-shrink: 0;
}

.captcha-track.verified .captcha-thumb {
    background: #10B981;
    cursor: default;
}

.captcha-track.verified .captcha-thumb svg {
    display: none;
}

/* ==================== Web Designer (Builder) ==================== */
#wb-overlay {
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: #0f0f0f;
    display: none;
    flex-direction: column;
    font-family: var(--font-body);
}

#wb-overlay.wb-open {
    display: flex;
}

/* ── Top bar ── */
.wb-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 52px;
    padding: 0 16px;
    background: #1a1a1a;
    border-bottom: 1px solid #2a2a2a;
    flex-shrink: 0;
}

.wb-topbar-left,
.wb-topbar-center,
.wb-topbar-right {
    display: flex;
    align-items: center;
    gap: 10px;
}

.wb-title {
    font-weight: 700;
    font-size: 0.95rem;
    color: #fff;
    margin-left: 8px;
}

.wb-badge {
    font-size: 0.6rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    background: rgba(240, 122, 26, 0.15);
    color: var(--orange);
    border: 1px solid rgba(240, 122, 26, 0.3);
    border-radius: 30px;
    padding: 2px 10px;
}

.wb-tbtn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background: transparent;
    border: 1px solid #333;
    border-radius: 8px;
    color: #aaa;
    padding: 6px 10px;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.15s ease;
    font-family: var(--font-body);
}

.wb-tbtn:hover:not(:disabled) {
    background: #252525;
    color: #fff;
    border-color: #444;
}

.wb-tbtn:disabled {
    opacity: 0.35;
    cursor: not-allowed;
}

.wb-save-btn {
    background: var(--orange);
    border-color: var(--orange);
    color: #fff;
    font-weight: 600;
}

.wb-save-btn:hover:not(:disabled) {
    background: var(--orange-warm);
    border-color: var(--orange-warm);
    color: #fff;
}

.wb-close-btn:hover:not(:disabled) {
    background: #ff4444;
    border-color: #ff4444;
    color: #fff;
}

.wb-sep {
    width: 1px;
    height: 24px;
    background: #333;
    margin: 0 4px;
}

.wb-devices {
    display: flex;
    gap: 2px;
    background: #111;
    border-radius: 8px;
    padding: 3px;
}

.wb-dev-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    border-radius: 6px;
    color: #666;
    padding: 5px 10px;
    cursor: pointer;
    transition: all 0.15s ease;
}

.wb-dev-btn:hover {
    color: #aaa;
}

.wb-dev-btn.active {
    background: #2a2a2a;
    color: var(--orange);
}

/* ── Body layout ── */
.wb-body {
    display: flex;
    flex: 1;
    overflow: hidden;
}

/* ── Sidebars ── */
.wb-sidebar {
    width: 260px;
    background: #141414;
    border-right: 1px solid #222;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    flex-shrink: 0;
}

.wb-props-panel {
    border-right: none;
    border-left: 1px solid #222;
}

.wb-panel-hdr {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: #666;
    padding: 16px 16px 10px;
}

.wb-search-wrap {
    padding: 0 12px 12px;
}

.wb-search-wrap input {
    width: 100%;
    background: #1e1e1e;
    border: 1px solid #2a2a2a;
    border-radius: 8px;
    color: #ccc;
    padding: 8px 12px;
    font-size: 0.82rem;
    outline: none;
    font-family: var(--font-body);
    box-sizing: border-box;
}

.wb-search-wrap input:focus {
    border-color: var(--orange);
}

/* ── Palette ── */
.wb-palette-list {
    padding: 0 12px 16px;
}

.wb-pal-group {
    margin-bottom: 12px;
}

.wb-pal-group-title {
    font-size: 0.68rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #555;
    padding: 6px 4px;
}

.wb-pal-items {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
}

.wb-pal-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    background: #1a1a1a;
    border: 1px solid #252525;
    border-radius: 10px;
    padding: 12px 6px;
    cursor: grab;
    transition: all 0.15s ease;
    user-select: none;
}

.wb-pal-item:hover {
    background: #222;
    border-color: var(--orange);
    transform: translateY(-1px);
}

.wb-pal-item:active {
    cursor: grabbing;
}

.wb-pal-icon {
    font-size: 1.1rem;
    line-height: 1;
    color: #888;
}

.wb-pal-label {
    font-size: 0.68rem;
    color: #777;
    text-align: center;
}

/* ── Canvas area ── */
.wb-canvas-area {
    flex: 1;
    display: flex;
    flex-direction: column;
    background: #0c0c0c;
    overflow: hidden;
}

.wb-canvas-frame {
    flex: 1;
    overflow-y: auto;
    padding: 24px;
    display: flex;
    justify-content: center;
}

.wb-canvas {
    width: 100%;
    max-width: 100%;
    background: var(--bg-primary);
    border-radius: 8px;
    min-height: 400px;
    overflow: hidden;
}

#wb-frame[data-dev="tablet"] .wb-canvas {
    max-width: 768px;
}

#wb-frame[data-dev="mobile"] .wb-canvas {
    max-width: 375px;
}

.wb-canvas-hint {
    text-align: center;
    font-size: 0.72rem;
    color: #555;
    padding: 8px;
    border-top: 1px solid #1a1a1a;
    flex-shrink: 0;
}

.wb-empty-canvas {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 400px;
    color: #555;
    text-align: center;
    font-size: 0.9rem;
}

/* ── Sections in canvas ── */
.wb-sec {
    position: relative;
    border: 1px solid transparent;
    transition: border-color 0.2s ease;
}

.wb-sec:hover {
    border-color: rgba(240, 122, 26, 0.2);
}

.wb-sec-tb {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 6px 12px;
    background: rgba(240, 122, 26, 0.08);
    border-bottom: 1px solid rgba(240, 122, 26, 0.15);
    opacity: 0;
    transition: opacity 0.2s ease;
}

.wb-sec:hover .wb-sec-tb {
    opacity: 1;
}

.wb-sec-label {
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--orange);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.wb-sec-acts {
    display: flex;
    gap: 4px;
}

.wb-sec-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    color: #aaa;
    font-size: 0.75rem;
    cursor: pointer;
    transition: all 0.15s ease;
}

.wb-sec-btn:hover {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
}

.wb-sec-del:hover {
    background: rgba(255, 50, 50, 0.2);
    color: #ff5555;
    border-color: rgba(255, 50, 50, 0.3);
}

.wb-sec-inner {
    position: relative;
}

/* ── Drop zones ── */
.wb-dz {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 32px;
    border: 2px dashed transparent;
    border-radius: 6px;
    margin: 4px 12px;
    color: #555;
    font-size: 0.72rem;
    transition: all 0.2s ease;
    opacity: 0;
}

.wb-sec:hover .wb-dz {
    opacity: 1;
    border-color: #333;
}

.wb-dz span {
    display: flex;
    align-items: center;
    gap: 6px;
    pointer-events: none;
}

.wb-dz-on,
.wb-dz.wb-dz-on {
    opacity: 1 !important;
    border-color: var(--orange) !important;
    background: rgba(240, 122, 26, 0.06);
    min-height: 48px;
}

/* ── Selection highlight ── */
.wb-sel {
    outline: 2px solid var(--orange) !important;
    outline-offset: 2px;
    border-radius: 2px;
    position: relative;
}

/* ── Added elements ── */
.wb-added-el {
    position: relative;
    padding: 4px 12px;
}

.wb-el-del {
    position: absolute;
    top: -6px;
    right: -6px;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ff4444;
    border: none;
    border-radius: 50%;
    color: #fff;
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.15s ease;
    z-index: 5;
}

.wb-added-el:hover .wb-el-del {
    opacity: 1;
}

/* ── Properties panel ── */
.wb-props-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 40px 16px;
    color: #555;
    text-align: center;
    font-size: 0.82rem;
}

.wb-props-content {
    padding: 12px 14px;
}

.wb-prop-tag {
    font-size: 0.7rem;
    font-weight: 600;
    font-family: monospace;
    color: var(--orange);
    background: rgba(240, 122, 26, 0.08);
    border-radius: 6px;
    padding: 4px 10px;
    margin-bottom: 14px;
    display: inline-block;
}

.wb-prop-row {
    margin-bottom: 12px;
}

.wb-prop-row label {
    display: block;
    font-size: 0.72rem;
    font-weight: 600;
    color: #777;
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.wb-prop-row input[type="text"],
.wb-prop-row input[type="number"],
.wb-prop-row select {
    width: 100%;
    background: #1a1a1a;
    border: 1px solid #2a2a2a;
    border-radius: 6px;
    color: #ddd;
    padding: 7px 10px;
    font-size: 0.82rem;
    outline: none;
    font-family: var(--font-body);
    box-sizing: border-box;
}

.wb-prop-row input:focus,
.wb-prop-row select:focus {
    border-color: var(--orange);
}

.wb-color-row {
    display: flex;
    gap: 8px;
    align-items: center;
}

.wb-color-row input[type="color"] {
    width: 36px;
    height: 32px;
    border: 1px solid #333;
    border-radius: 6px;
    background: transparent;
    cursor: pointer;
    padding: 2px;
}

.wb-prop-divider {
    height: 1px;
    background: #222;
    margin: 16px 0;
}

.wb-delete-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 100%;
    background: rgba(255, 50, 50, 0.08);
    border: 1px solid rgba(255, 50, 50, 0.2);
    border-radius: 8px;
    color: #ff5555;
    padding: 10px;
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.15s ease;
    margin-top: 16px;
    font-family: var(--font-body);
}

.wb-delete-btn:hover {
    background: rgba(255, 50, 50, 0.15);
    border-color: rgba(255, 50, 50, 0.4);
}

/* ── Builder responsive ── */
@media (max-width: 900px) {
    .wb-sidebar {
        width: 200px;
    }

    .wb-pal-items {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .wb-body {
        flex-direction: column;
    }

    .wb-sidebar {
        width: 100%;
        max-height: 180px;
        border-right: none;
        border-bottom: 1px solid #222;
    }

    .wb-props-panel {
        border-left: none;
        border-top: 1px solid #222;
        max-height: 200px;
    }

    .wb-canvas-frame {
        padding: 12px;
    }

    .wb-topbar-center {
        display: none;
    }
}