/* ========================================================
   GRANIT GROUP — Premium Dark Theme Landing
   Palette: Obsidian Black + Champagne Gold + Bronze
   Fonts: Cormorant Garamond (display) + Manrope (body)
   ======================================================== */

/* ============== CSS VARIABLES (Themes) ============== */
:root {
    /* Dark theme (default) */
    --color-bg: #0a0a0b;
    --color-bg-alt: #111113;
    --color-surface: #15151a;
    --color-surface-elevated: #1c1c22;
    --color-border: rgba(199, 164, 96, 0.12);
    --color-border-strong: rgba(199, 164, 96, 0.25);
    --color-text: #f0ebe1;
    --color-text-muted: #9a958c;
    --color-text-dim: #6b6760;
    --color-accent: #c7a460;          /* champagne gold */
    --color-accent-hover: #d9b877;
    --color-accent-soft: rgba(199, 164, 96, 0.1);
    --color-bronze: #8a6a3d;
    --color-granite: #2a2a2e;

    /* Shadows */
    --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 20px 60px rgba(0, 0, 0, 0.5);
    --shadow-gold: 0 8px 32px rgba(199, 164, 96, 0.15);

    /* Spacing */
    --container: 1240px;
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;

    /* Typography */
    --font-display: 'Cormorant Garamond', 'Times New Roman', Georgia, serif;
    --font-body: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    /* Transitions */
    --ease: cubic-bezier(0.4, 0, 0.2, 1);
    --dur: 0.3s;
}

/* Light theme */
[data-theme="light"] {
    --color-bg: #faf8f3;
    --color-bg-alt: #f1ede3;
    --color-surface: #ffffff;
    --color-surface-elevated: #ffffff;
    --color-border: rgba(122, 95, 50, 0.15);
    --color-border-strong: rgba(122, 95, 50, 0.3);
    --color-text: #1a1a1a;
    --color-text-muted: #5a564e;
    --color-text-dim: #8a857c;
    --color-accent: #8a6a3d;
    --color-accent-hover: #6b5129;
    --color-accent-soft: rgba(138, 106, 61, 0.08);
    --color-bronze: #8a6a3d;
    --color-granite: #e8e4da;

    --shadow-sm: 0 2px 8px rgba(26, 26, 26, 0.06);
    --shadow-md: 0 8px 24px rgba(26, 26, 26, 0.08);
    --shadow-lg: 0 20px 60px rgba(26, 26, 26, 0.12);
    --shadow-gold: 0 8px 32px rgba(138, 106, 61, 0.15);
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-text);
    background: var(--color-bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    transition: background var(--dur) var(--ease), color var(--dur) var(--ease);
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul { list-style: none; }

::selection { background: var(--color-accent); color: var(--color-bg); }

*:focus-visible {
    outline: 2px solid var(--color-accent);
    outline-offset: 3px;
    border-radius: 4px;
}

/* ============== LAYOUT ============== */
.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 100px 0;
    position: relative;
}

.section__header {
    max-width: 720px;
    margin-bottom: 64px;
}
.section__header--center {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.section__tag {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--color-accent);
    margin-bottom: 20px;
    position: relative;
    padding-left: 36px;
}
.section__tag::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 28px;
    height: 1px;
    background: var(--color-accent);
}
.section__header--center .section__tag {
    padding-left: 36px;
    padding-right: 36px;
}
.section__header--center .section__tag::after {
    content: "";
    position: absolute;
    right: 0;
    top: 50%;
    width: 28px;
    height: 1px;
    background: var(--color-accent);
}

.section__title {
    font-family: var(--font-display);
    font-size: clamp(32px, 4.5vw, 52px);
    font-weight: 500;
    line-height: 1.1;
    letter-spacing: -0.01em;
    color: var(--color-text);
}

.section__subtitle {
    font-size: 17px;
    color: var(--color-text-muted);
    margin-top: 20px;
    line-height: 1.7;
}

/* ============== BUTTONS ============== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.02em;
    border-radius: var(--radius-sm);
    transition: all var(--dur) var(--ease);
    cursor: pointer;
    white-space: nowrap;
}

.btn--primary {
    background: var(--color-accent);
    color: #0a0a0b;
    box-shadow: var(--shadow-gold);
}
.btn--primary:hover {
    background: var(--color-accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(199, 164, 96, 0.3);
}

.btn--ghost {
    background: transparent;
    color: var(--color-text);
    border: 1px solid var(--color-border-strong);
}
.btn--ghost:hover {
    border-color: var(--color-accent);
    color: var(--color-accent);
    transform: translateY(-2px);
}

.btn--sm { padding: 10px 20px; font-size: 14px; }
.btn--full { width: 100%; padding: 16px 28px; }

/* ============== HEADER ============== */
.header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(10, 10, 11, 0.75);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid var(--color-border);
    transition: background var(--dur) var(--ease);
}
[data-theme="light"] .header {
    background: rgba(250, 248, 243, 0.8);
}

.header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    padding: 18px 24px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-body);
    font-weight: 800;
    font-size: 18px;
    letter-spacing: 0.05em;
    color: var(--color-text);
    flex-shrink: 0;
}
.logo__mark {
    color: var(--color-accent);
    font-size: 20px;
    transform: rotate(45deg);
    display: inline-block;
}
.logo__accent {
    color: var(--color-accent);
    margin-left: 2px;
}

/* Navigation */
.nav {
    flex: 1;
}
.nav__list {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
}
.nav__link {
    position: relative;
    font-size: 14px;
    font-weight: 500;
    color: var(--color-text-muted);
    transition: color var(--dur) var(--ease);
    padding: 4px 0;
}
.nav__link::after {
    content: "";
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--color-accent);
    transition: width var(--dur) var(--ease);
}
.nav__link:hover, .nav__link.active {
    color: var(--color-text);
}
.nav__link:hover::after, .nav__link.active::after {
    width: 100%;
}

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

/* Language Switcher */
.lang-switcher {
    display: flex;
    align-items: center;
    gap: 2px;
    padding: 4px;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
}
.lang-btn {
    padding: 6px 10px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.05em;
    color: var(--color-text-dim);
    border-radius: 4px;
    transition: all var(--dur) var(--ease);
}
.lang-btn:hover { color: var(--color-text); }
.lang-btn.active {
    background: var(--color-accent);
    color: #0a0a0b;
}

/* Theme Toggle */
.theme-toggle {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    border: 1px solid var(--color-border);
    color: var(--color-text-muted);
    transition: all var(--dur) var(--ease);
}
.theme-toggle:hover {
    color: var(--color-accent);
    border-color: var(--color-accent);
}
.theme-toggle svg {
    width: 18px;
    height: 18px;
}
.icon-sun { display: none; }
.icon-moon { display: block; }
[data-theme="light"] .icon-sun { display: block; }
[data-theme="light"] .icon-moon { display: none; }

/* Burger */
.burger {
    display: none;
    width: 40px;
    height: 40px;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    padding: 10px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
}
.burger span {
    display: block;
    height: 2px;
    width: 100%;
    background: var(--color-text);
    transition: all var(--dur) var(--ease);
}
.burger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.active span:nth-child(2) { opacity: 0; }
.burger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============== HERO ============== */
.hero {
    position: relative;
    padding: 120px 0 100px;
    overflow: hidden;
    min-height: 90vh;
    display: flex;
    align-items: center;
}

.hero__bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}
.hero__grain {
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 15% 20%, var(--color-accent-soft) 0%, transparent 40%),
        radial-gradient(circle at 85% 80%, rgba(138, 106, 61, 0.08) 0%, transparent 40%);
    opacity: 0.9;
}
.hero__glow {
    position: absolute;
    top: -200px;
    right: -200px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--color-accent-soft) 0%, transparent 60%);
    filter: blur(80px);
}

.hero__inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 80px;
    align-items: center;
}

.hero__content { max-width: 640px; }

.badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 16px;
    background: var(--color-surface);
    border: 1px solid var(--color-border-strong);
    border-radius: 100px;
    font-size: 13px;
    font-weight: 500;
    color: var(--color-text-muted);
    margin-bottom: 28px;
}
.badge__dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--color-accent);
    box-shadow: 0 0 12px var(--color-accent);
    animation: pulse 2s infinite;
}
@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.hero__title {
    font-family: var(--font-display);
    font-size: clamp(44px, 6.5vw, 84px);
    font-weight: 500;
    line-height: 0.98;
    letter-spacing: -0.02em;
    color: var(--color-text);
    margin-bottom: 24px;
}
.hero__title-accent {
    display: block;
    font-style: italic;
    background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-bronze) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.hero__subtitle {
    font-size: 18px;
    line-height: 1.7;
    color: var(--color-text-muted);
    margin-bottom: 40px;
    max-width: 560px;
}

.hero__cta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 32px;
}

.hero__trust {
    font-size: 13px;
    color: var(--color-text-dim);
    letter-spacing: 0.02em;
}

/* Stats grid */
.hero__stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
.stat-card {
    padding: 28px 24px;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    transition: all var(--dur) var(--ease);
    position: relative;
    overflow: hidden;
}
.stat-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 0;
    background: var(--color-accent);
    transition: height var(--dur) var(--ease);
}
.stat-card:hover::before { height: 100%; }
.stat-card:hover {
    border-color: var(--color-border-strong);
    transform: translateY(-4px);
}
.stat-card__value {
    font-family: var(--font-display);
    font-size: 44px;
    font-weight: 600;
    color: var(--color-accent);
    line-height: 1;
    margin-bottom: 8px;
}
.stat-card__label {
    font-size: 13px;
    color: var(--color-text-muted);
    letter-spacing: 0.02em;
}

/* ============== ABOUT ============== */
.about {
    background: var(--color-bg-alt);
}

.about__grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about__text p {
    font-size: 17px;
    line-height: 1.8;
    color: var(--color-text-muted);
    margin-bottom: 20px;
}
.about__text p:first-child {
    color: var(--color-text);
    font-size: 19px;
}

.about__list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-top: 32px;
}
.about__list li {
    position: relative;
    padding-left: 28px;
    font-size: 15px;
    color: var(--color-text);
}
.about__list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--color-accent);
    font-weight: 700;
}

.about__visual {
    position: relative;
    aspect-ratio: 1 / 1.1;
}
.about__pattern {
    position: absolute;
    inset: 0;
    background:
        repeating-linear-gradient(45deg, var(--color-accent-soft) 0, var(--color-accent-soft) 1px, transparent 1px, transparent 14px),
        linear-gradient(135deg, var(--color-granite) 0%, var(--color-surface) 100%);
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-border-strong);
}
.about__card {
    position: absolute;
    bottom: 32px;
    right: -24px;
    background: var(--color-surface-elevated);
    border: 1px solid var(--color-border-strong);
    border-radius: var(--radius-md);
    padding: 28px;
    min-width: 280px;
    box-shadow: var(--shadow-lg);
}
.about__card-title {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-accent);
    margin-bottom: 20px;
}
.about__card-row {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid var(--color-border);
    font-size: 14px;
}
.about__card-row:last-child { border-bottom: none; }
.about__card-row span:last-child {
    color: var(--color-accent);
    font-family: var(--font-display);
    font-weight: 600;
}

/* ============== SERVICES ============== */
.services__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.service-card {
    padding: 40px 32px;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    transition: all var(--dur) var(--ease);
    position: relative;
    overflow: hidden;
}
.service-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--color-accent), transparent);
    opacity: 0;
    transition: opacity var(--dur) var(--ease);
}
.service-card:hover {
    transform: translateY(-6px);
    border-color: var(--color-border-strong);
    box-shadow: var(--shadow-md);
}
.service-card:hover::before { opacity: 1; }

.service-card__icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-accent-soft);
    border-radius: var(--radius-sm);
    color: var(--color-accent);
    margin-bottom: 24px;
}
.service-card__icon svg { width: 28px; height: 28px; }

.service-card__title {
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 12px;
    color: var(--color-text);
}
.service-card__desc {
    font-size: 15px;
    line-height: 1.7;
    color: var(--color-text-muted);
    margin-bottom: 20px;
}
.service-card__link {
    font-size: 13px;
    font-weight: 600;
    color: var(--color-accent);
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

/* ============== WHY US ============== */
.why {
    background: var(--color-bg-alt);
}
.why__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2px;
    background: var(--color-border);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    overflow: hidden;
}
.why-card {
    padding: 40px 32px;
    background: var(--color-bg-alt);
    transition: background var(--dur) var(--ease);
}
.why-card:hover {
    background: var(--color-surface);
}
.why-card__num {
    font-family: var(--font-display);
    font-size: 48px;
    font-weight: 500;
    color: var(--color-accent);
    line-height: 1;
    margin-bottom: 20px;
    opacity: 0.85;
}
.why-card__title {
    font-size: 19px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--color-text);
}
.why-card__desc {
    font-size: 14px;
    line-height: 1.7;
    color: var(--color-text-muted);
}

/* ============== PROCESS ============== */
.process__timeline {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0;
    position: relative;
    margin-top: 20px;
}
.process__timeline::before {
    content: "";
    position: absolute;
    top: 24px;
    left: 10%;
    right: 10%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--color-accent), transparent);
}

.process-step {
    padding: 0 16px;
    text-align: center;
    position: relative;
}
.process-step__num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--color-bg);
    border: 1px solid var(--color-accent);
    color: var(--color-accent);
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 24px;
    position: relative;
    z-index: 2;
}
.process-step__title {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--color-text);
}
.process-step__desc {
    font-size: 14px;
    line-height: 1.6;
    color: var(--color-text-muted);
}

/* ============== MATERIALS ============== */
.materials {
    background: var(--color-bg-alt);
}
.materials__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 12px;
    max-width: 1000px;
    margin: 0 auto;
}
.material-chip {
    padding: 24px 20px;
    background: var(--chip-color);
    border-radius: var(--radius-sm);
    color: #f0ebe1;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.02em;
    text-align: center;
    border: 1px solid rgba(199, 164, 96, 0.2);
    transition: all var(--dur) var(--ease);
    cursor: default;
    position: relative;
    overflow: hidden;
}
.material-chip::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, transparent 0%, rgba(199, 164, 96, 0.1) 50%, transparent 100%);
    opacity: 0;
    transition: opacity var(--dur) var(--ease);
}
.material-chip:hover {
    transform: translateY(-3px);
    border-color: var(--color-accent);
}
.material-chip:hover::before { opacity: 1; }

/* ============== PORTFOLIO ============== */
.portfolio__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 32px;
}

.portfolio-card {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: all var(--dur) var(--ease);
}
.portfolio-card:hover {
    transform: translateY(-6px);
    border-color: var(--color-border-strong);
    box-shadow: var(--shadow-lg);
}

.portfolio-card__image {
    aspect-ratio: 16 / 10;
    overflow: hidden;
    position: relative;
}
.portfolio-card__placeholder {
    width: 100%;
    height: 100%;
    transition: transform 0.6s var(--ease);
}
.portfolio-card:hover .portfolio-card__placeholder {
    transform: scale(1.05);
}
.portfolio-card__placeholder--1 {
    background:
        radial-gradient(circle at 30% 30%, rgba(199, 164, 96, 0.15), transparent 40%),
        linear-gradient(135deg, #1a1a1a 0%, #2a2a2e 50%, #1a1a1a 100%);
}
.portfolio-card__placeholder--2 {
    background:
        radial-gradient(circle at 70% 40%, rgba(199, 164, 96, 0.2), transparent 50%),
        linear-gradient(135deg, #6b5d4f 0%, #8a7355 50%, #4a3c2e 100%);
}
.portfolio-card__placeholder--3 {
    background:
        radial-gradient(circle at 50% 30%, rgba(199, 164, 96, 0.25), transparent 50%),
        linear-gradient(135deg, #4a3c2e 0%, #6b5d4f 100%);
}

.portfolio-card__body { padding: 28px; }
.portfolio-card__category {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-accent);
    margin-bottom: 12px;
}
.portfolio-card__title {
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 12px;
    color: var(--color-text);
}
.portfolio-card__desc {
    font-size: 14px;
    line-height: 1.7;
    color: var(--color-text-muted);
}

/* ============== TESTIMONIALS ============== */
.testimonials {
    background: var(--color-bg-alt);
}
.testimonials__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
}

.testimonial-card {
    padding: 40px 32px;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    position: relative;
    transition: all var(--dur) var(--ease);
}
.testimonial-card:hover {
    border-color: var(--color-border-strong);
    transform: translateY(-4px);
}

.testimonial-card__quote {
    font-family: var(--font-display);
    font-size: 72px;
    line-height: 0.8;
    color: var(--color-accent);
    margin-bottom: 10px;
    opacity: 0.6;
}
.testimonial-card__text {
    font-size: 16px;
    line-height: 1.7;
    color: var(--color-text);
    font-style: italic;
    margin-bottom: 24px;
}
.testimonial-card__name {
    font-size: 15px;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 2px;
}
.testimonial-card__role {
    font-size: 13px;
    color: var(--color-text-muted);
}

/* ============== FAQ ============== */
.faq__list {
    max-width: 820px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: border-color var(--dur) var(--ease);
}
.faq-item[open] {
    border-color: var(--color-border-strong);
}

.faq-item__question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 22px 28px;
    font-size: 16px;
    font-weight: 600;
    color: var(--color-text);
    cursor: pointer;
    list-style: none;
    transition: color var(--dur) var(--ease);
}
.faq-item__question::-webkit-details-marker { display: none; }
.faq-item__question:hover { color: var(--color-accent); }

.faq-item__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border: 1px solid var(--color-border-strong);
    border-radius: 50%;
    color: var(--color-accent);
    font-size: 18px;
    font-weight: 300;
    transition: transform var(--dur) var(--ease);
    flex-shrink: 0;
}
.faq-item[open] .faq-item__icon {
    transform: rotate(45deg);
    background: var(--color-accent);
    color: var(--color-bg);
}

.faq-item__answer {
    padding: 0 28px 24px;
    font-size: 15px;
    line-height: 1.7;
    color: var(--color-text-muted);
}

/* ============== CONTACT ============== */
.contact__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.contact__info .section__tag { margin-bottom: 16px; }
.contact__info .section__title { margin-bottom: 20px; }

.contact__lead {
    font-size: 17px;
    line-height: 1.7;
    color: var(--color-text-muted);
    margin-bottom: 40px;
}

.contact__channels {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact-channel {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 24px;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    transition: all var(--dur) var(--ease);
}
.contact-channel:hover {
    border-color: var(--color-accent);
    transform: translateX(4px);
}
.contact-channel__icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-accent-soft);
    border-radius: var(--radius-sm);
    color: var(--color-accent);
    flex-shrink: 0;
}
.contact-channel__icon svg { width: 20px; height: 20px; }
.contact-channel__label {
    font-size: 12px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--color-text-dim);
    margin-bottom: 4px;
}
.contact-channel__value {
    font-size: 16px;
    font-weight: 600;
    color: var(--color-text);
}

/* Form */
.contact__form {
    padding: 40px;
    background: var(--color-surface);
    border: 1px solid var(--color-border-strong);
    border-radius: var(--radius-lg);
    display: flex;
    flex-direction: column;
    gap: 18px;
    box-shadow: var(--shadow-md);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.form-field label {
    font-size: 13px;
    font-weight: 600;
    color: var(--color-text-muted);
    letter-spacing: 0.02em;
}
.form-field input,
.form-field textarea {
    padding: 14px 16px;
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    color: var(--color-text);
    font-family: inherit;
    font-size: 15px;
    transition: all var(--dur) var(--ease);
    resize: vertical;
}
.form-field input:focus,
.form-field textarea:focus {
    outline: none;
    border-color: var(--color-accent);
    background: var(--color-bg-alt);
}
.form-field input::placeholder,
.form-field textarea::placeholder {
    color: var(--color-text-dim);
}

.form-note {
    font-size: 12px;
    color: var(--color-text-dim);
    text-align: center;
    line-height: 1.5;
    margin-top: 4px;
}

/* ============== FOOTER ============== */
.footer {
    background: var(--color-bg-alt);
    border-top: 1px solid var(--color-border);
    padding: 80px 0 32px;
    margin-top: 0;
}

.footer__grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 64px;
}

.footer__col--brand { max-width: 340px; }

.logo--footer { margin-bottom: 20px; }

.footer__desc {
    font-size: 14px;
    line-height: 1.7;
    color: var(--color-text-muted);
}

.footer__title {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-accent);
    margin-bottom: 20px;
}

.footer__list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.footer__list li { font-size: 14px; color: var(--color-text-muted); }
.footer__list a {
    color: var(--color-text-muted);
    transition: color var(--dur) var(--ease);
}
.footer__list a:hover { color: var(--color-accent); }

.lang-switcher--footer {
    background: transparent;
}

.footer__bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 32px;
    border-top: 1px solid var(--color-border);
    font-size: 13px;
    color: var(--color-text-dim);
    gap: 24px;
    flex-wrap: wrap;
}
.footer__legal { display: flex; gap: 24px; }
.footer__legal a {
    color: var(--color-text-dim);
    transition: color var(--dur) var(--ease);
}
.footer__legal a:hover { color: var(--color-accent); }

/* ============== RESPONSIVE ============== */
@media (max-width: 1024px) {
    .hero__inner { grid-template-columns: 1fr; gap: 48px; }
    .hero__stats { grid-template-columns: repeat(4, 1fr); }
    .about__grid { grid-template-columns: 1fr; gap: 48px; }
    .about__card { position: static; margin-top: 24px; right: auto; }
    .contact__grid { grid-template-columns: 1fr; gap: 48px; }
    .footer__grid { grid-template-columns: 1fr 1fr; gap: 40px; }
    .process__timeline { grid-template-columns: repeat(3, 1fr); row-gap: 48px; }
    .process__timeline::before { display: none; }
}

@media (max-width: 768px) {
    .section { padding: 72px 0; }
    .section__header { margin-bottom: 40px; }

    /* Header */
    .nav {
        position: fixed;
        top: 0;
        right: 0;
        width: 85%;
        max-width: 360px;
        height: 100vh;
        background: var(--color-bg-alt);
        border-left: 1px solid var(--color-border);
        padding: 100px 32px 32px;
        transform: translateX(100%);
        transition: transform 0.4s var(--ease);
        z-index: 90;
    }
    .nav.active { transform: translateX(0); }
    .nav__list {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }
    .nav__link { font-size: 18px; }

    .header__actions .btn { display: none; }
    .burger { display: flex; }
    .lang-switcher { display: none; }

    /* Hero */
    .hero { padding: 60px 0 72px; min-height: auto; }
    .hero__stats { grid-template-columns: 1fr 1fr; }
    .stat-card { padding: 20px 18px; }
    .stat-card__value { font-size: 32px; }

    /* About */
    .about__list { grid-template-columns: 1fr; }
    .about__card { min-width: auto; width: 100%; padding: 24px; }

    /* Process */
    .process__timeline { grid-template-columns: 1fr 1fr; }

    /* Portfolio */
    .portfolio__grid { grid-template-columns: 1fr; gap: 20px; }

    /* Contact */
    .contact__form { padding: 28px 24px; }
    .form-row { grid-template-columns: 1fr; }

    /* Footer */
    .footer__grid { grid-template-columns: 1fr; gap: 32px; }
    .footer__bottom { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
    .container { padding: 0 18px; }
    .hero__title { font-size: 40px; }
    .section__title { font-size: 28px; }
    .process__timeline { grid-template-columns: 1fr; }
    .hero__cta { flex-direction: column; }
    .hero__cta .btn { width: 100%; }
}

/* ============== CHINESE FONT ============== */
[lang="zh"] {
    font-family: 'PingFang SC', 'Microsoft YaHei', 'Noto Sans SC', var(--font-body);
}
[lang="zh"] .hero__title,
[lang="zh"] .section__title,
[lang="zh"] .service-card__title,
[lang="zh"] .portfolio-card__title {
    font-family: 'PingFang SC', 'Microsoft YaHei', 'Noto Serif SC', var(--font-display);
}

/* ============== ANIMATIONS ============== */
@media (prefers-reduced-motion: no-preference) {
    .hero__content > * {
        animation: fadeInUp 0.8s var(--ease) backwards;
    }
    .hero__content > *:nth-child(1) { animation-delay: 0.1s; }
    .hero__content > *:nth-child(2) { animation-delay: 0.2s; }
    .hero__content > *:nth-child(3) { animation-delay: 0.3s; }
    .hero__content > *:nth-child(4) { animation-delay: 0.4s; }
    .hero__content > *:nth-child(5) { animation-delay: 0.5s; }

    .hero__stats .stat-card {
        animation: fadeInUp 0.8s var(--ease) backwards;
    }
    .hero__stats .stat-card:nth-child(1) { animation-delay: 0.3s; }
    .hero__stats .stat-card:nth-child(2) { animation-delay: 0.4s; }
    .hero__stats .stat-card:nth-child(3) { animation-delay: 0.5s; }
    .hero__stats .stat-card:nth-child(4) { animation-delay: 0.6s; }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ========================================================
   GALLERY SLIDER
   ======================================================== */
.gallery__slider {
    position: relative;
    max-width: 1100px;
    margin: 0 auto;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
}

.gallery__track {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}

.gallery-slide {
    flex: 0 0 100%;
    aspect-ratio: 16 / 10;
    position: relative;
    cursor: zoom-in;
    overflow: hidden;
    background: var(--color-granite);
}

.gallery-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s var(--ease);
}
.gallery-slide:hover img { transform: scale(1.03); }

.gallery-slide--placeholder {
    background:
        repeating-linear-gradient(45deg, var(--color-accent-soft) 0, var(--color-accent-soft) 1px, transparent 1px, transparent 20px),
        linear-gradient(135deg, var(--color-granite) 0%, var(--color-surface-elevated) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}
.gallery-slide--placeholder::before {
    content: "📷 Здесь будет фото производства";
    font-family: var(--font-display);
    font-size: 22px;
    color: var(--color-accent);
    opacity: 0.7;
    text-align: center;
    padding: 20px;
}
.gallery-slide--placeholder .gallery-slide__caption {
    opacity: 0;
}

.gallery-slide__caption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 32px 28px 24px;
    background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.85) 100%);
    color: #f0ebe1;
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 0.01em;
    transition: opacity var(--dur) var(--ease);
}

/* Gallery navigation */
.gallery__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(10, 10, 11, 0.75);
    backdrop-filter: blur(8px);
    border: 1px solid var(--color-border-strong);
    border-radius: 50%;
    color: var(--color-text);
    transition: all var(--dur) var(--ease);
    z-index: 2;
}
.gallery__nav:hover {
    background: var(--color-accent);
    color: var(--color-bg);
    border-color: var(--color-accent);
}
.gallery__nav svg { width: 22px; height: 22px; }
.gallery__nav--prev { left: 20px; }
.gallery__nav--next { right: 20px; }

/* Gallery dots */
.gallery__dots {
    position: absolute;
    bottom: 18px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 2;
    background: rgba(10, 10, 11, 0.6);
    backdrop-filter: blur(8px);
    padding: 8px 14px;
    border-radius: 100px;
}
.gallery__dots button {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transition: all var(--dur) var(--ease);
}
.gallery__dots button.active {
    background: var(--color-accent);
    width: 24px;
    border-radius: 4px;
}

/* ========================================================
   LIGHTBOX (full-screen photo view)
   ======================================================== */
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.95);
    z-index: 1000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 40px;
}
.lightbox.active {
    display: flex;
    animation: fadeIn 0.3s var(--ease);
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.lightbox__content {
    max-width: 90vw;
    max-height: 90vh;
    position: relative;
}
.lightbox__content img {
    max-width: 100%;
    max-height: 85vh;
    object-fit: contain;
    border-radius: var(--radius-md);
    box-shadow: 0 20px 80px rgba(0, 0, 0, 0.8);
}

.lightbox__caption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: -40px;
    text-align: center;
    color: #f0ebe1;
    font-size: 15px;
    padding: 12px;
}

.lightbox__close {
    position: absolute;
    top: 24px;
    right: 24px;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: #f0ebe1;
    transition: all var(--dur) var(--ease);
    z-index: 1;
}
.lightbox__close:hover {
    background: var(--color-accent);
    color: var(--color-bg);
    border-color: var(--color-accent);
}
.lightbox__close svg { width: 24px; height: 24px; }

.lightbox__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: #f0ebe1;
    transition: all var(--dur) var(--ease);
    z-index: 1;
}
.lightbox__nav:hover {
    background: var(--color-accent);
    color: var(--color-bg);
    border-color: var(--color-accent);
}
.lightbox__nav svg { width: 24px; height: 24px; }
.lightbox__nav--prev { left: 24px; }
.lightbox__nav--next { right: 24px; }

/* ========================================================
   VIDEO POSTER (in About section)
   ======================================================== */
.video-poster {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1.1;
    border-radius: var(--radius-lg);
    overflow: hidden;
    cursor: pointer;
    border: 1px solid var(--color-border-strong);
    background: var(--color-granite);
    transition: all var(--dur) var(--ease);
    display: block;
    padding: 0;
}
.video-poster:hover {
    border-color: var(--color-accent);
    box-shadow: var(--shadow-gold);
}

.video-poster__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease);
}
.video-poster:hover .video-poster__image {
    transform: scale(1.04);
}

.video-poster--fallback {
    background:
        repeating-linear-gradient(45deg, var(--color-accent-soft) 0, var(--color-accent-soft) 1px, transparent 1px, transparent 16px),
        linear-gradient(135deg, var(--color-granite) 0%, var(--color-surface-elevated) 100%);
}
.video-poster--fallback::after {
    content: "🎬 Здесь будет превью видео";
    position: absolute;
    top: 20%;
    left: 50%;
    transform: translateX(-50%);
    color: var(--color-accent);
    font-family: var(--font-display);
    font-size: 18px;
    opacity: 0.7;
    white-space: nowrap;
}

.video-poster__play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-accent);
    border-radius: 50%;
    color: var(--color-bg);
    transition: all var(--dur) var(--ease);
    box-shadow: 0 8px 32px rgba(199, 164, 96, 0.4);
}
.video-poster:hover .video-poster__play {
    transform: translate(-50%, -50%) scale(1.1);
    background: var(--color-accent-hover);
}
.video-poster__play svg { width: 32px; height: 32px; margin-left: 4px; }

.video-poster__label {
    position: absolute;
    bottom: 24px;
    left: 24px;
    right: 24px;
    padding: 12px 20px;
    background: rgba(10, 10, 11, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    color: var(--color-text);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.02em;
    text-align: center;
}

/* Hide about__card when video replaces decorative pattern, position below */
.about__visual #playVideoBtn + .about__card {
    bottom: -24px;
}

/* ========================================================
   VIDEO MODAL (YouTube popup)
   ======================================================== */
.video-modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.95);
    z-index: 1000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
}
.video-modal.active {
    display: flex;
    animation: fadeIn 0.3s var(--ease);
}

.video-modal__content {
    width: 100%;
    max-width: 1100px;
}

.video-modal__frame {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #000;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: 0 20px 80px rgba(0, 0, 0, 0.8);
}
.video-modal__frame iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

.video-modal__close {
    position: absolute;
    top: 24px;
    right: 24px;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: #f0ebe1;
    transition: all var(--dur) var(--ease);
}
.video-modal__close:hover {
    background: var(--color-accent);
    color: var(--color-bg);
    border-color: var(--color-accent);
}
.video-modal__close svg { width: 24px; height: 24px; }

/* Body lock while modal open */
body.modal-open { overflow: hidden; }

/* ========================================================
   RESPONSIVE tweaks
   ======================================================== */
@media (max-width: 768px) {
    .gallery__nav { width: 42px; height: 42px; }
    .gallery__nav--prev { left: 12px; }
    .gallery__nav--next { right: 12px; }
    .gallery__nav svg { width: 18px; height: 18px; }
    .gallery-slide__caption { padding: 20px 18px 16px; font-size: 14px; }
    .lightbox { padding: 20px; }
    .lightbox__nav { width: 44px; height: 44px; }
    .lightbox__nav--prev { left: 10px; }
    .lightbox__nav--next { right: 10px; }
    .video-poster__play { width: 64px; height: 64px; }
    .video-poster__play svg { width: 26px; height: 26px; }
    .video-modal { padding: 20px 10px; }
    .video-modal__close { top: 12px; right: 12px; width: 40px; height: 40px; }
}
