/* ═══════════════════════════════════════════════
   SĒAM — Premium Men's Essentials
   Design System & Styles
   Full Mobile Adaptation
   ═══════════════════════════════════════════════ */

/* ─── Reset & Base ─────────────────────────── */

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

:root {
    /* Colors */
    --color-bg: #0D0D0D;
    --color-bg-alt: #141414;
    --color-bg-card: #1A1A1A;
    --color-surface: #222222;
    --color-border: #2A2A2A;
    --color-border-light: #333333;

    --color-text: #E8E4DF;
    --color-text-secondary: #9A9590;
    --color-text-muted: #6B6560;

    --color-accent: #C4A882;
    --color-accent-hover: #D4BC9A;

    --color-white: #FFFFFF;
    --color-error: #C45B5B;
    --color-success: #7BAF7B;

    /* Typography */
    --font-display: 'Cormorant Garamond', 'Georgia', serif;
    --font-body: 'Inter', -apple-system, 'Helvetica Neue', sans-serif;

    /* Spacing — desktop defaults */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 3rem;
    --space-xl: 5rem;
    --space-2xl: 8rem;
    --space-3xl: 12rem;

    /* Container */
    --container-max: 1200px;
    --container-narrow: 900px;
    --container-padding: 2rem;

    /* Transitions */
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
    --duration-fast: 0.2s;
    --duration-normal: 0.4s;
    --duration-slow: 0.8s;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    /* Prevent iOS zoom on input focus */
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-body);
    font-weight: 300;
    color: var(--color-text);
    background-color: var(--color-bg);
    line-height: 1.7;
    overflow-x: hidden;
    /* Prevent pull-to-refresh interference */
    overscroll-behavior-y: none;
}

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

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--duration-fast) var(--ease-out);
    /* Better touch targets */
    -webkit-tap-highlight-color: transparent;
}

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

button {
    -webkit-tap-highlight-color: transparent;
}


/* ─── Container ────────────────────────────── */

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


/* ─── Typography ───────────────────────────── */

h1,
h2,
h3 {
    font-family: var(--font-display);
    font-weight: 300;
    line-height: 1.15;
    letter-spacing: -0.01em;
}


/* ─── Buttons ──────────────────────────────── */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 400;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    padding: 1rem 2.5rem;
    border: none;
    cursor: pointer;
    transition: all var(--duration-normal) var(--ease-out);
    position: relative;
    overflow: hidden;
    /* Touch friendly */
    min-height: 48px;
    touch-action: manipulation;
}

.btn--primary {
    background-color: var(--color-accent);
    color: var(--color-bg);
}

.btn--primary:hover {
    background-color: var(--color-accent-hover);
    transform: translateY(-1px);
}

.btn--primary:active {
    transform: translateY(0);
}

.btn--outline {
    background: transparent;
    color: var(--color-text);
    border: 1px solid var(--color-border-light);
}

.btn--outline:hover {
    border-color: var(--color-accent);
    color: var(--color-accent);
}


/* ═══════════════════════════════════════════════
   NAVIGATION
   ═══════════════════════════════════════════════ */

.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 1.5rem 0;
    transition: all var(--duration-normal) var(--ease-out);
}

.nav--scrolled {
    background-color: rgba(13, 13, 13, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 1rem 0;
    border-bottom: 1px solid var(--color-border);
}

.nav__container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav__logo {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 400;
    letter-spacing: 0.3em;
    color: var(--color-text);
    z-index: 101;
}

.nav__links {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

.nav__links a {
    font-size: 0.75rem;
    font-weight: 400;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--color-text-secondary);
    transition: color var(--duration-fast) var(--ease-out);
}

.nav__links a:hover {
    color: var(--color-text);
}

.nav__cta {
    color: var(--color-accent) !important;
    border: 1px solid var(--color-accent);
    padding: 0.5rem 1.5rem;
    transition: all var(--duration-fast) var(--ease-out);
}

.nav__cta:hover {
    background-color: var(--color-accent);
    color: var(--color-bg) !important;
}

/* Burger */
.nav__burger {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 101;
    min-width: 44px;
    min-height: 44px;
    align-items: center;
    justify-content: center;
}

.nav__burger span {
    display: block;
    width: 24px;
    height: 1px;
    background-color: var(--color-text);
    transition: all var(--duration-normal) var(--ease-out);
    transform-origin: center;
}

.nav__burger.active span:first-child {
    transform: rotate(45deg) translate(2.5px, 2.5px);
}

.nav__burger.active span:last-child {
    transform: rotate(-45deg) translate(2.5px, -2.5px);
}


/* ─── Mobile Menu ──────────────────────────── */

.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 99;
    background-color: var(--color-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all var(--duration-slow) var(--ease-out);
}

.mobile-menu.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu__content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    padding: 2rem;
}

.mobile-menu__link {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 300;
    color: var(--color-text-secondary);
    transition: color var(--duration-fast) var(--ease-out);
    /* Touch target */
    padding: 0.5rem 1rem;
    min-height: 48px;
    display: flex;
    align-items: center;
}

.mobile-menu__link:hover,
.mobile-menu__link:active {
    color: var(--color-text);
}

.mobile-menu__cta {
    color: var(--color-accent) !important;
    margin-top: 1rem;
}


/* ═══════════════════════════════════════════════
   HERO
   ═══════════════════════════════════════════════ */

.hero {
    min-height: 100vh;
    min-height: 100dvh;
    /* Dynamic viewport height for mobile */
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding: 8rem 0 6rem;
}

.hero__bg-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: var(--font-display);
    font-size: clamp(8rem, 25vw, 30rem);
    font-weight: 300;
    letter-spacing: 0.2em;
    color: var(--color-bg);
    opacity: 0.3;
    -webkit-text-stroke: 1px var(--color-border);
    user-select: none;
    pointer-events: none;
    white-space: nowrap;
}

.hero__content {
    text-align: center;
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 1rem;
}

.hero__eyebrow {
    font-size: 0.65rem;
    font-weight: 400;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--color-accent);
    margin-bottom: var(--space-lg);
}

.hero__title {
    font-size: clamp(1.8rem, 5vw, 3.8rem);
    font-weight: 300;
    line-height: 1.25;
    margin-bottom: var(--space-md);
    color: var(--color-text);
}

.hero__subtitle {
    font-size: clamp(0.9rem, 2.5vw, 1.05rem);
    font-weight: 300;
    color: var(--color-text-secondary);
    max-width: 500px;
    margin: 0 auto var(--space-xl);
    line-height: 1.8;
}

.hero__cta {
    margin-top: var(--space-md);
}

.hero__cta svg {
    animation: float 2s ease-in-out infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(4px);
    }
}

.hero__scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
}

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

@keyframes scroll-line {
    0% {
        opacity: 0;
        transform: scaleY(0);
        transform-origin: top;
    }

    50% {
        opacity: 1;
        transform: scaleY(1);
        transform-origin: top;
    }

    100% {
        opacity: 0;
        transform: scaleY(1);
        transform-origin: bottom;
    }
}


/* ═══════════════════════════════════════════════
   SECTIONS (General)
   ═══════════════════════════════════════════════ */

.section {
    padding: var(--space-3xl) 0;
    position: relative;
}

.section__grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: var(--space-xl);
    align-items: start;
}

.section__number {
    font-family: var(--font-body);
    font-size: 0.7rem;
    font-weight: 400;
    letter-spacing: 0.2em;
    color: var(--color-accent);
    margin-bottom: var(--space-sm);
}

.section__title {
    font-size: clamp(1.8rem, 4vw, 3.2rem);
    color: var(--color-text);
    margin-bottom: var(--space-md);
}

.section__lead {
    font-family: var(--font-display);
    font-size: clamp(1.15rem, 2.5vw, 1.7rem);
    font-weight: 300;
    font-style: italic;
    color: var(--color-accent);
    margin-bottom: var(--space-lg);
    line-height: 1.5;
}

.section__text p {
    margin-bottom: var(--space-md);
    color: var(--color-text-secondary);
    font-size: clamp(0.88rem, 2vw, 0.95rem);
    line-height: 1.85;
}

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


/* ═══════════════════════════════════════════════
   DIVIDER / QUOTE
   ═══════════════════════════════════════════════ */

.divider {
    padding: var(--space-2xl) 0;
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
}

.divider__quote {
    font-family: var(--font-display);
    font-size: clamp(1.1rem, 3vw, 2rem);
    font-weight: 300;
    font-style: italic;
    color: var(--color-text-secondary);
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}


/* ═══════════════════════════════════════════════
   STATS
   ═══════════════════════════════════════════════ */

.stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-xl);
    margin-top: var(--space-2xl);
    padding-top: var(--space-xl);
    border-top: 1px solid var(--color-border);
}

.stats__item {
    text-align: center;
}

.stats__number {
    display: block;
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 300;
    color: var(--color-accent);
    line-height: 1;
    margin-bottom: var(--space-xs);
}

.stats__label {
    font-size: clamp(0.65rem, 1.5vw, 0.75rem);
    font-weight: 400;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-text-muted);
}

.stats__divider {
    width: 1px;
    height: 60px;
    background-color: var(--color-border);
    flex-shrink: 0;
}


/* ═══════════════════════════════════════════════
   SPECS
   ═══════════════════════════════════════════════ */

.specs {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    margin-top: var(--space-2xl);
    background-color: var(--color-border);
    border: 1px solid var(--color-border);
}

.specs__item {
    background-color: var(--color-bg);
    padding: var(--space-lg);
    text-align: center;
}

.specs__label {
    display: block;
    font-size: 0.7rem;
    font-weight: 400;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-text-muted);
    margin-bottom: var(--space-sm);
}

.specs__value {
    display: block;
    font-family: var(--font-display);
    font-size: clamp(1rem, 2vw, 1.3rem);
    font-weight: 400;
    color: var(--color-text);
}


/* ═══════════════════════════════════════════════
   PALETTE
   ═══════════════════════════════════════════════ */

.palette__header {
    text-align: center;
    margin-bottom: var(--space-2xl);
}

.palette__desc {
    max-width: 600px;
    margin: var(--space-md) auto 0;
    color: var(--color-text-secondary);
    font-size: clamp(0.88rem, 2vw, 0.95rem);
    line-height: 1.85;
}

.palette__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.palette__item {
    cursor: pointer;
    transition: transform var(--duration-normal) var(--ease-out);
}

.palette__item:hover {
    transform: translateY(-4px);
}

/* Disable hover transform on touch */
@media (hover: none) {
    .palette__item:hover {
        transform: none;
    }

    .palette__item:active {
        transform: scale(0.98);
    }
}

.palette__swatch {
    aspect-ratio: 1;
    border-radius: 2px;
    margin-bottom: var(--space-md);
    border: 1px solid var(--color-border);
    transition: border-color var(--duration-fast) var(--ease-out);
}

.palette__item:hover .palette__swatch {
    border-color: var(--color-accent);
}

.palette__name {
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 400;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--color-text);
    margin-bottom: 0.25rem;
}

.palette__color-desc {
    font-size: 0.8rem;
    color: var(--color-text-muted);
    font-style: italic;
}


/* ═══════════════════════════════════════════════
   PREMIUM
   ═══════════════════════════════════════════════ */

.premium {
    background-color: var(--color-bg-alt);
}

.premium__header {
    text-align: center;
    margin-bottom: var(--space-2xl);
}

.premium__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1px;
    background-color: var(--color-border);
    border: 1px solid var(--color-border);
}

.premium__card {
    background-color: var(--color-bg-alt);
    padding: var(--space-xl);
    transition: background-color var(--duration-normal) var(--ease-out);
}

.premium__card:hover {
    background-color: var(--color-bg-card);
}

.premium__card-number {
    font-size: 0.7rem;
    font-weight: 400;
    letter-spacing: 0.2em;
    color: var(--color-accent);
    margin-bottom: var(--space-md);
}

.premium__card-title {
    font-family: var(--font-display);
    font-size: clamp(1.2rem, 2.5vw, 1.5rem);
    font-weight: 400;
    color: var(--color-text);
    margin-bottom: var(--space-md);
}

.premium__card-text {
    font-size: clamp(0.85rem, 1.8vw, 0.9rem);
    color: var(--color-text-secondary);
    line-height: 1.8;
}


/* ═══════════════════════════════════════════════
   FAQ
   ═══════════════════════════════════════════════ */

.faq__header {
    text-align: center;
    margin-bottom: var(--space-2xl);
}

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

.faq__item {
    border-bottom: 1px solid var(--color-border);
}

.faq__question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    padding: var(--space-md) 0;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    font-family: var(--font-body);
    font-size: clamp(0.88rem, 2vw, 0.95rem);
    font-weight: 400;
    color: var(--color-text);
    transition: color var(--duration-fast) var(--ease-out);
    /* Touch target */
    min-height: 56px;
    touch-action: manipulation;
}

.faq__question:hover {
    color: var(--color-accent);
}

.faq__icon {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    transition: transform var(--duration-normal) var(--ease-out);
    color: var(--color-text-muted);
}

.faq__item.active .faq__icon {
    transform: rotate(45deg);
    color: var(--color-accent);
}

.faq__answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--duration-slow) var(--ease-out),
        padding var(--duration-slow) var(--ease-out);
}

.faq__item.active .faq__answer {
    max-height: 400px;
}

.faq__answer p {
    padding-bottom: var(--space-md);
    font-size: clamp(0.85rem, 1.8vw, 0.9rem);
    color: var(--color-text-secondary);
    line-height: 1.85;
}


/* ═══════════════════════════════════════════════
   ORDER FORM
   ═══════════════════════════════════════════════ */

.order {
    background-color: var(--color-bg-alt);
}

.order__content {
    max-width: 640px;
    margin: 0 auto;
    text-align: center;
}

.order__title {
    font-size: clamp(1.5rem, 3.5vw, 2.8rem);
    margin-bottom: var(--space-md);
    line-height: 1.25;
}

.order__subtitle {
    font-size: clamp(0.9rem, 2vw, 1rem);
    color: var(--color-text-secondary);
    margin-bottom: var(--space-2xl);
}

.order__form {
    text-align: left;
}

.form__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-md);
    margin-bottom: var(--space-md);
}

.form__group {
    margin-bottom: var(--space-md);
}

.form__label {
    display: block;
    font-size: 0.7rem;
    font-weight: 400;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-text-muted);
    margin-bottom: var(--space-xs);
}

.form__input,
.form__select {
    width: 100%;
    padding: 0.9rem 1rem;
    background-color: var(--color-bg);
    border: 1px solid var(--color-border);
    color: var(--color-text);
    font-family: var(--font-body);
    /* 16px prevents iOS zoom on focus */
    font-size: 16px;
    font-weight: 300;
    transition: border-color var(--duration-fast) var(--ease-out);
    outline: none;
    border-radius: 0;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    /* Touch friendly */
    min-height: 48px;
}

.form__input::placeholder {
    color: var(--color-text-muted);
}

.form__input:focus,
.form__select:focus {
    border-color: var(--color-accent);
}

.form__select {
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%236B6560' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
}

/* Colors */
.form__colors {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.form__color-btn {
    width: 44px;
    height: 44px;
    border: 2px solid var(--color-border);
    cursor: pointer;
    transition: all var(--duration-fast) var(--ease-out);
    border-radius: 0;
    position: relative;
    /* Touch friendly */
    touch-action: manipulation;
    -webkit-appearance: none;
    appearance: none;
    padding: 0;
}

.form__color-btn:hover {
    border-color: var(--color-text-secondary);
}

@media (hover: none) {
    .form__color-btn:hover {
        border-color: var(--color-border);
    }
}

.form__color-btn.active {
    border-color: var(--color-accent);
    box-shadow: 0 0 0 2px var(--color-bg-alt), 0 0 0 4px var(--color-accent);
}

.form__color-name {
    font-size: 0.8rem;
    color: var(--color-text-muted);
    font-style: italic;
    margin-top: var(--space-xs);
    min-height: 1.2em;
}

/* Quantity */
.form__qty {
    display: inline-flex;
    align-items: center;
    border: 1px solid var(--color-border);
}

.form__qty-btn {
    width: 48px;
    height: 48px;
    background: none;
    border: none;
    color: var(--color-text);
    font-size: 1.2rem;
    cursor: pointer;
    transition: background-color var(--duration-fast) var(--ease-out);
    display: flex;
    align-items: center;
    justify-content: center;
    touch-action: manipulation;
}

.form__qty-btn:hover {
    background-color: var(--color-surface);
}

.form__qty-btn:active {
    background-color: var(--color-border);
}

.form__qty-input {
    width: 56px;
    height: 48px;
    text-align: center;
    background: none;
    border: none;
    border-left: 1px solid var(--color-border);
    border-right: 1px solid var(--color-border);
    color: var(--color-text);
    font-family: var(--font-body);
    font-size: 16px;
    -moz-appearance: textfield;
}

.form__qty-input::-webkit-outer-spin-button,
.form__qty-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
}

/* Total */
.form__total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-md) 0;
    margin: var(--space-md) 0;
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
    font-size: 1rem;
}

.form__total span:last-child {
    font-family: var(--font-display);
    font-size: clamp(1.3rem, 3vw, 1.5rem);
    color: var(--color-accent);
}

/* Submit */
.form__submit {
    width: 100%;
    justify-content: center;
    margin-top: var(--space-md);
    padding: 1.2rem;
    font-size: 0.85rem;
    min-height: 56px;
}

.form__note {
    text-align: center;
    font-size: 0.8rem;
    color: var(--color-text-muted);
    margin-top: var(--space-md);
}


/* ─── Order Success ────────────────────────── */

.order__success {
    text-align: center;
    padding: var(--space-2xl) 0;
}

.order__success-icon {
    width: 64px;
    height: 64px;
    border: 2px solid var(--color-success);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--color-success);
    margin: 0 auto var(--space-lg);
}

.order__success h3 {
    font-size: 1.8rem;
    margin-bottom: var(--space-sm);
}

.order__success p {
    color: var(--color-text-secondary);
}


/* ═══════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════ */

.footer {
    padding: var(--space-2xl) 0 var(--space-lg);
    border-top: 1px solid var(--color-border);
}

.footer__grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: var(--space-xl);
    margin-bottom: var(--space-xl);
}

.footer__logo {
    font-family: var(--font-display);
    font-size: 1.3rem;
    letter-spacing: 0.3em;
    display: block;
    margin-bottom: var(--space-xs);
}

.footer__tagline {
    font-size: 0.8rem;
    color: var(--color-text-muted);
    font-style: italic;
}

.footer__links {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer__links a {
    font-size: 0.8rem;
    color: var(--color-text-secondary);
    letter-spacing: 0.05em;
    /* Touch target */
    padding: 0.25rem 0;
    min-height: 32px;
    display: flex;
    align-items: center;
}

.footer__links a:hover {
    color: var(--color-accent);
}

.footer__contact a {
    font-size: 0.85rem;
    color: var(--color-text-secondary);
}

.footer__contact a:hover {
    color: var(--color-accent);
}

.footer__bottom {
    padding-top: var(--space-lg);
    border-top: 1px solid var(--color-border);
}

.footer__bottom p {
    font-size: 0.75rem;
    color: var(--color-text-muted);
}


/* ═══════════════════════════════════════════════
   ANIMATIONS
   ═══════════════════════════════════════════════ */

[data-animate] {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s var(--ease-out),
        transform 0.8s var(--ease-out);
}

[data-animate="fade-right"] {
    transform: translateX(-40px);
}

[data-animate="fade-left"] {
    transform: translateX(40px);
}

[data-animate].visible {
    opacity: 1;
    transform: translate(0, 0);
}

/* Reduce motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    [data-animate] {
        opacity: 1;
        transform: none;
    }

    .hero__scroll-line {
        animation: none;
    }

    .hero__cta svg {
        animation: none;
    }
}


/* ─── Form States ──────────────────────────── */

.form__input.error,
.form__select.error {
    border-color: var(--color-error);
}

.form__error {
    font-size: 0.75rem;
    color: var(--color-error);
    margin-top: 0.25rem;
}

.form__submit:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.form__submit.loading {
    pointer-events: none;
}

.form__submit.loading::after {
    content: '';
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid transparent;
    border-top-color: var(--color-bg);
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
    margin-left: 0.5rem;
}

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

/* ═══════════════════════════════════════════════
   LOOKBOOK GALLERY
   ═══════════════════════════════════════════════ */

.lookbook {
    padding: var(--space-3xl) 0;
}

.lookbook__header {
    margin-bottom: var(--space-xl);
}

/* ─── Desktop: 3 columns ──────────────────── */

.lookbook__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.lookbook__card {
    position: relative;
}

.lookbook__img-wrap {
    position: relative;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    background-color: var(--color-bg-card);
    border: 1px solid var(--color-border);
}

.lookbook__img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s var(--ease-out);
}

.lookbook__card:hover .lookbook__img-wrap img {
    transform: scale(1.03);
}

.lookbook__caption {
    margin-top: var(--space-sm);
    font-size: 0.85rem;
    font-style: italic;
    color: var(--color-text-muted);
}

/* ─── Mobile indicator (hidden on desktop) ─── */

.lookbook__indicator {
    display: none;
}

.lookbook__dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    padding-top: var(--space-md);
}

.lookbook__dot {
    width: 24px;
    height: 2px;
    background-color: var(--color-border-light);
    border-radius: 1px;
    transition: all var(--duration-normal) var(--ease-out);
}

.lookbook__dot.active {
    width: 32px;
    background-color: var(--color-accent);
}

/* ═══════════════════════════════════════════════
   RESPONSIVE — TABLET (≤ 1024px)
   ═══════════════════════════════════════════════ */

@media (max-width: 1024px) {
    :root {
        --space-3xl: 8rem;
        --space-2xl: 5rem;
        --space-xl: 3.5rem;
    }

    .section__grid {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }

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

    .premium__card {
        padding: var(--space-lg);
    }

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

    .stats {
        gap: var(--space-lg);
    }

    .nav__links {
        gap: 1.5rem;
    }

    .nav__links a {
        font-size: 0.7rem;
    }
}


/* ═══════════════════════════════════════════════
   RESPONSIVE — MOBILE (≤ 768px)
   ═══════════════════════════════════════════════ */

@media (max-width: 768px) {
    :root {
        --space-3xl: 5rem;
        --space-2xl: 3.5rem;
        --space-xl: 2.5rem;
        --space-lg: 2rem;
        --container-padding: 1.25rem;
    }

    /* Nav */
    .nav {
        padding: 1rem 0;
    }

    .nav--scrolled {
        padding: 0.75rem 0;
    }

    .nav__logo {
        font-size: 1.25rem;
        letter-spacing: 0.25em;
    }

    .nav__links {
        display: none;
    }

    .nav__burger {
        display: flex;
    }

    /* Hero */
    .hero {
        padding: 6rem 0 4rem;
        min-height: 100svh;
    }

    .hero__bg-text {
        display: none;
    }

    .hero__eyebrow {
        font-size: 0.6rem;
        letter-spacing: 0.25em;
        margin-bottom: 2rem;
    }

    .hero__title {
        font-size: 1.75rem;
        line-height: 1.3;
        padding: 0 0.5rem;
    }

    .hero__subtitle {
        font-size: 0.9rem;
        margin-bottom: 2.5rem;
        padding: 0 0.5rem;
    }

    .hero__cta {
        padding: 0.9rem 2rem;
        font-size: 0.75rem;
    }

    .hero__scroll-indicator {
        bottom: 1.5rem;
    }

    .hero__scroll-line {
        height: 35px;
    }

    /* Sections */
    .section__grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .section__title {
        font-size: 1.8rem;
    }

    .section__lead {
        font-size: 1.1rem;
        margin-bottom: 1.5rem;
    }

    .section__text p {
        font-size: 0.88rem;
    }

    /* Lookbook — mobile horizontal scroll */
    .lookbook {
        padding: var(--space-2xl) 0;
    }

    .lookbook__grid {
        display: flex;
        gap: 1rem;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        /* Выходим за контейнер */
        margin: 0 calc(var(--container-padding) * -1);
        padding: 0 var(--container-padding);
    }

    .lookbook__grid::-webkit-scrollbar {
        display: none;
    }

    .lookbook__card {
        flex: 0 0 85vw;
        scroll-snap-align: center;
    }

    .lookbook__card:hover .lookbook__img-wrap img {
        transform: none;
    }

    .lookbook__indicator {
        display: block;
    }

    /* Divider */
    .divider {
        padding: var(--space-xl) 0;
    }

    .divider__quote {
        font-size: 1.1rem;
        padding: 0 0.5rem;
    }

    /* Stats — vertical stack */
    .stats {
        flex-direction: column;
        gap: 2rem;
        padding-top: 2rem;
        margin-top: 2.5rem;
    }

    .stats__divider {
        width: 40px;
        height: 1px;
    }

    .stats__number {
        font-size: 2.5rem;
    }

    /* Specs */
    .specs {
        grid-template-columns: 1fr 1fr;
        margin-top: 2.5rem;
    }

    .specs__item {
        padding: 1.25rem 1rem;
    }

    .specs__label {
        font-size: 0.6rem;
        margin-bottom: 0.5rem;
    }

    .specs__value {
        font-size: 1rem;
    }

    /* Palette */
    .palette__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.25rem;
    }

    .palette__swatch {
        margin-bottom: 0.75rem;
    }

    .palette__name {
        font-size: 0.7rem;
        letter-spacing: 0.1em;
    }

    .palette__color-desc {
        font-size: 0.75rem;
    }

    .palette__desc {
        font-size: 0.88rem;
    }

    /* Premium */
    .premium__grid {
        grid-template-columns: 1fr;
    }

    .premium__card {
        padding: 2rem 1.5rem;
    }

    .premium__card-title {
        font-size: 1.2rem;
    }

    .premium__card-text {
        font-size: 0.85rem;
    }

    /* FAQ */
    .faq__question {
        font-size: 0.88rem;
        gap: 1rem;
        padding: 1.25rem 0;
    }

    .faq__answer p {
        font-size: 0.85rem;
    }

    /* Order */
    .order__title {
        font-size: 1.5rem;
        padding: 0 0.5rem;
    }

    .order__subtitle {
        font-size: 0.9rem;
        margin-bottom: 2.5rem;
    }

    .form__row {
        grid-template-columns: 1fr;
        gap: 0;
        margin-bottom: 0;
    }

    .form__colors {
        gap: 0.6rem;
    }

    .form__color-btn {
        width: 40px;
        height: 40px;
    }

    .form__total {
        font-size: 0.95rem;
    }

    .form__total span:last-child {
        font-size: 1.3rem;
    }

    /* Footer */
    .footer {
        padding: 3rem 0 2rem;
    }

    .footer__grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        margin-bottom: 2rem;
    }

    .footer__links {
        gap: 0.5rem;
    }

    .footer__bottom {
        padding-top: 1.5rem;
    }

    /* Animations — reduce movement on mobile */
    [data-animate] {
        transform: translateY(20px);
    }

    [data-animate="fade-right"] {
        transform: translateY(20px);
    }

    [data-animate="fade-left"] {
        transform: translateY(20px);
    }
}


/* ═══════════════════════════════════════════════
   RESPONSIVE — SMALL MOBILE (≤ 400px)
   ═══════════════════════════════════════════════ */

@media (max-width: 400px) {
    :root {
        --container-padding: 1rem;
        --space-3xl: 4rem;
        --space-2xl: 3rem;
    }

    .hero__bg-text {
        font-size: 4.5rem;
    }

    .hero__title {
        font-size: 1.5rem;
    }

    .hero__subtitle {
        font-size: 0.85rem;
    }

    .hero__cta {
        padding: 0.85rem 1.75rem;
        font-size: 0.7rem;
        width: 100%;
    }

    .section__title {
        font-size: 1.5rem;
    }

    .section__lead {
        font-size: 1rem;
    }

    .divider__quote {
        font-size: 1rem;
    }

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

    .palette__swatch {
        aspect-ratio: 1;
    }

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

    .premium__card {
        padding: 1.5rem 1.25rem;
    }

    .order__title {
        font-size: 1.3rem;
    }

    .form__color-btn {
        width: 36px;
        height: 36px;
    }

    .btn {
        width: 100%;
    }

    .mobile-menu__link {
        font-size: 1.6rem;
    }

    .lookbook__card {
        flex: 0 0 90vw;
    }
}


/* ═══════════════════════════════════════════════
   LANDSCAPE PHONE
   ═══════════════════════════════════════════════ */

@media (max-height: 500px) and (orientation: landscape) {
    .hero {
        min-height: auto;
        padding: 5rem 0 3rem;
    }

    .hero__bg-text {
        font-size: 5rem;
    }

    .hero__scroll-indicator {
        display: none;
    }

    .mobile-menu__content {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }

    .mobile-menu__link {
        font-size: 1.2rem;
    }
}


/* ═══════════════════════════════════════════════
   SAFE AREAS (iPhone notch / Dynamic Island)
   ═══════════════════════════════════════════════ */

@supports (padding: env(safe-area-inset-top)) {
    .nav {
        padding-top: max(1rem, env(safe-area-inset-top));
    }

    .nav--scrolled {
        padding-top: max(0.75rem, env(safe-area-inset-top));
    }

    .footer__bottom {
        padding-bottom: env(safe-area-inset-bottom);
    }

    .container {
        padding-left: max(var(--container-padding), env(safe-area-inset-left));
        padding-right: max(var(--container-padding), env(safe-area-inset-right));
    }
}


/* ═══════════════════════════════════════════════
   HIGH DPI / RETINA
   ═══════════════════════════════════════════════ */

@media (-webkit-min-device-pixel-ratio: 2),
(min-resolution: 192dpi) {
    .hero__bg-text {
        -webkit-text-stroke-width: 0.5px;
    }
}


/* ═══════════════════════════════════════════════
   DARK MODE ADJUSTMENTS (already dark, but
   handle forced light mode gracefully)
   ═══════════════════════════════════════════════ */

@media (prefers-color-scheme: light) {

    /* Keep dark — this is the brand identity */
    :root {
        color-scheme: dark;
    }
}