/* ═══════════════════════════════════════════════════════
   ITASLEEP — Professional B2B Mattress Manufacturer
   Design: Industrial Premium / Minimal Elegant
   ═══════════════════════════════════════════════════════ */

:root {
    --dark: #141718;
    --dark-soft: #1e2224;
    --charcoal: #2a2f32;
    --slate: #4a5259;
    --muted: #7a8490;
    --light-muted: #a4adb8;
    --cream: #f5f1ec;
    --cream-deep: #eee8e0;
    --warm: #faf8f5;
    --white: #ffffff;
    --accent: #c9a96e;
    --accent-dark: #b08f54;
    --danger: #c0392b;
    --success: #27ae60;

    --font-body: 'DM Sans', ui-sans-serif, system-ui, -apple-system, sans-serif;
    --font-display: 'Playfair Display', Georgia, 'Times New Roman', serif;
    --wrap: min(1200px, calc(100% - 48px));
    --ease: cubic-bezier(.4, 0, .2, 1);
    --ease-out: cubic-bezier(0, 0, .2, 1);
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, .06);
    --shadow-md: 0 8px 30px rgba(0, 0, 0, .07);
    --shadow-lg: 0 20px 60px rgba(0, 0, 0, .10);
    --shadow-card: 0 2px 12px rgba(0, 0, 0, .05);
}

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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
}

body {
    font-family: var(--font-body);
    background: var(--cream);
    color: var(--dark);
    line-height: 1.6;
    overflow-x: hidden;
}

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

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

ul, ol {
    list-style: none;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

.wrap {
    width: var(--wrap);
    margin: 0 auto;
}

/* ═══════════════════════════════════════════════════════
   HEADER
   ═══════════════════════════════════════════════════════ */
.hd {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(245, 241, 236, .88);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(0, 0, 0, .06);
    transition: background .3s var(--ease), box-shadow .3s var(--ease);
}

.hd.is-scrolled {
    background: rgba(245, 241, 236, .96);
    box-shadow: 0 4px 20px rgba(0, 0, 0, .06);
}

.hd__wrap {
    width: var(--wrap);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.hd__brand {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.hd__logo {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: var(--dark);
    color: var(--white);
    display: grid;
    place-items: center;
    font-weight: 800;
    font-size: 15px;
}

.hd__logo.small {
    width: 32px;
    height: 32px;
    font-size: 13px;
    border-radius: 8px;
}

.hd__name {
    font-weight: 800;
    font-size: 16px;
    letter-spacing: .6px;
    color: var(--dark);
}

.hd__nav {
    display: none;
    gap: 4px;
}

.hd__nav a {
    padding: 8px 14px;
    font-size: 14px;
    font-weight: 500;
    color: var(--slate);
    border-radius: 8px;
    transition: color .2s, background .2s;
}

.hd__nav a:hover {
    color: var(--dark);
    background: rgba(0, 0, 0, .04);
}

.hd__nav a.is-active {
    color: var(--dark);
    font-weight: 700;
    background: rgba(0, 0, 0, .06);
}

.hd__actions {
    display: none;
}

.hd__burger {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 44px;
    height: 44px;
    border: 1px solid rgba(0, 0, 0, .12);
    border-radius: 10px;
    background: rgba(255, 255, 255, .6);
    gap: 5px;
    transition: background .2s;
}

.hd__burger:hover {
    background: rgba(255, 255, 255, .9);
}

.hd__burger span {
    display: block;
    width: 18px;
    height: 2px;
    background: var(--dark);
    border-radius: 2px;
    transition: transform .3s var(--ease), opacity .2s;
}

.hd__burger.is-open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.hd__burger.is-open span:nth-child(2) {
    opacity: 0;
}

.hd__burger.is-open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.hd__mobile {
    display: none;
    padding: 12px 24px 24px;
    background: rgba(245, 241, 236, .98);
    border-top: 1px solid rgba(0, 0, 0, .06);
}

.hd__mobile.is-open {
    display: block;
}

.hd__mobile a {
    display: block;
    padding: 14px 16px;
    margin: 4px 0;
    font-weight: 600;
    font-size: 15px;
    color: var(--dark);
    border-radius: 12px;
    background: rgba(255, 255, 255, .7);
    border: 1px solid rgba(0, 0, 0, .06);
    transition: background .15s, transform .15s;
}

.hd__mobile a:hover {
    background: var(--white);
}

.hd__mobile a:active {
    transform: scale(.99);
}

@media (min-width: 1024px) {
    .hd__nav {
        display: flex;
    }

    .hd__actions {
        display: flex;
    }

    .hd__burger {
        display: none;
    }

    .hd__mobile {
        display: none !important;
    }
}

/* ═══════════════════════════════════════════════════════
   BUTTONS
   ═══════════════════════════════════════════════════════ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    border: 1px solid transparent;
    transition: all .25s var(--ease);
    white-space: nowrap;
    cursor: pointer;
    line-height: 1.4;
}

.btn--primary {
    background: var(--dark);
    color: var(--white);
    border-color: var(--dark);
}

.btn--primary:hover {
    background: var(--charcoal);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.btn--outline {
    background: transparent;
    color: var(--dark);
    border-color: var(--dark);
}

.btn--outline:hover {
    background: var(--dark);
    color: var(--white);
}

.btn--white {
    background: var(--white);
    color: var(--dark);
    border-color: var(--white);
}

.btn--white:hover {
    background: var(--cream);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.btn--ghost {
    background: transparent;
    color: var(--white);
    border-color: rgba(255, 255, 255, .4);
}

.btn--ghost:hover {
    background: rgba(255, 255, 255, .1);
    border-color: rgba(255, 255, 255, .6);
}

.btn--lg {
    padding: 14px 30px;
    font-size: 15px;
}

.btn--full {
    width: 100%;
}

.btn__arrow {
    transition: transform .2s;
}

.btn:hover .btn__arrow {
    transform: translateX(3px);
}

/* ═══════════════════════════════════════════════════════
   SECTIONS
   ═══════════════════════════════════════════════════════ */
.sec {
    padding: 88px 0;
}

.sec--light {
    background: var(--cream);
}

.sec--cream {
    background: var(--cream-deep);
}

.sec--dark {
    background: var(--dark);
    color: var(--white);
}

.sec__head {
    text-align: center;
    margin-bottom: 48px;
}

.sec__title {
    font-family: var(--font-display);
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 600;
    line-height: 1.15;
    color: var(--dark);
    letter-spacing: -.3px;
}

.sec__title--light {
    color: var(--white);
}

.sec__sub {
    margin-top: 12px;
    color: var(--muted);
    font-size: 16px;
    max-width: 62ch;
    margin-left: auto;
    margin-right: auto;
}

.sec__sub--light {
    color: rgba(255, 255, 255, .6);
}

.sec__foot {
    text-align: center;
    margin-top: 40px;
}

.label {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .16em;
    color: var(--muted);
    margin-bottom: 12px;
    text-transform: uppercase;
}

.label--light {
    color: rgba(255, 255, 255, .5);
}

/* ═══════════════════════════════════════════════════════
   HERO
   ═══════════════════════════════════════════════════════ */
.hero {
    position: relative;
    background: var(--warm);
    border-bottom: 1px solid rgba(0, 0, 0, .06);
    overflow: hidden;
}

.hero__grid {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 40px;
    padding: 140px 0 80px;
    align-items: center;
}

.hero__title {
    font-family: var(--font-display);
    font-size: clamp(42px, 5.5vw, 72px);
    font-weight: 600;
    line-height: 1.06;
    letter-spacing: -.5px;
    color: var(--dark);
    margin-bottom: 18px;
}

.hero__sub {
    font-size: 17px;
    color: var(--slate);
    max-width: 58ch;
    line-height: 1.7;
}

.hero__actions {
    display: flex;
    gap: 14px;
    margin-top: 32px;
    flex-wrap: wrap;
}

.hero__visual {
    position: relative;
}

.hero__img {
    width: 100%;
    height: auto;
    border-radius: 18px;
    object-fit: cover;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(0, 0, 0, .06);
}

@media (max-width: 860px) {
    .hero__grid {
        grid-template-columns: 1fr;
        padding: 140px 0 60px;
    }

    .hero__visual {
        order: -1;
    }
}

/* Page Hero */
.page-hero {
    background: var(--warm);
    border-bottom: 1px solid rgba(0, 0, 0, .06);
    padding: 140px 0 72px;
}

.page-hero__inner {
    max-width: 820px;
}

.page-hero__title {
    font-family: var(--font-display);
    font-size: clamp(40px, 5vw, 68px);
    font-weight: 600;
    line-height: 1.06;
    letter-spacing: -.4px;
    color: var(--dark);
    margin-bottom: 16px;
}

.page-hero__sub {
    font-size: 17px;
    color: var(--slate);
    max-width: 70ch;
}

/* ═══════════════════════════════════════════════════════
   GRIDS
   ═══════════════════════════════════════════════════════ */
.grid {
    display: grid;
    gap: 22px;
}

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

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

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

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

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

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

/* ═══════════════════════════════════════════════════════
   CARDS (light)
   ═══════════════════════════════════════════════════════ */
.card {
    background: rgba(255, 255, 255, .55);
    border: 1px solid rgba(0, 0, 0, .06);
    border-radius: 14px;
    padding: 28px 24px;
    box-shadow: var(--shadow-card);
    transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}

.card--hover:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: rgba(0, 0, 0, .1);
}

.card--center {
    text-align: center;
}

.card__icon {
    width: 48px;
    height: 48px;
    margin-bottom: 16px;
    color: var(--dark);
}

.card__icon svg {
    width: 100%;
    height: 100%;
}

.card__title {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 8px;
}

.card__text {
    color: var(--muted);
    font-size: 14px;
    line-height: 1.6;
}

.card__link {
    display: inline-block;
    margin-top: 14px;
    font-size: 13px;
    font-weight: 700;
    color: var(--dark);
    transition: transform .2s;
}

.card--hover:hover .card__link {
    transform: translateX(4px);
}

/* ═══════════════════════════════════════════════════════
   DARK CARDS
   ═══════════════════════════════════════════════════════ */
.dcard {
    background: rgba(255, 255, 255, .04);
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 14px;
    padding: 28px 24px;
    transition: background .3s, border-color .3s, transform .3s;
}

.dcard:hover {
    background: rgba(255, 255, 255, .07);
    border-color: rgba(255, 255, 255, .14);
    transform: translateY(-3px);
}

.dcard__num {
    font-family: var(--font-display);
    font-size: 32px;
    color: var(--accent);
    opacity: .6;
    margin-bottom: 12px;
    line-height: 1;
}

.dcard__title {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 8px;
}

.dcard__text {
    color: rgba(255, 255, 255, .6);
    font-size: 14px;
}

/* ═══════════════════════════════════════════════════════
   SPLIT LAYOUT
   ═══════════════════════════════════════════════════════ */
.split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.split--reverse {
    direction: rtl;
}

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

.split__content p {
    color: var(--slate);
    font-size: 15px;
    margin-bottom: 14px;
}

.split__visual {
    position: relative;
}

.split__img-wrap {
    position: relative;
}

.split__img {
    width: 100%;
    height: auto;
    border-radius: 16px;
    object-fit: cover;
    border: 1px solid rgba(0, 0, 0, .06);
    box-shadow: var(--shadow-lg);
}

.split__badge {
    position: absolute;
    left: -16px;
    bottom: 28px;
    background: var(--white);
    border: 1px solid rgba(0, 0, 0, .06);
    border-radius: 12px;
    padding: 18px 20px;
    box-shadow: var(--shadow-md);
    width: 220px;
}

.split__badge-big {
    font-family: var(--font-display);
    font-size: 30px;
    font-weight: 700;
    color: var(--dark);
    line-height: 1.1;
}

.split__badge-small {
    color: var(--muted);
    font-size: 13px;
    margin-top: 4px;
}

@media (max-width: 860px) {
    .split {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .split--reverse {
        direction: ltr;
    }

    .split__badge {
        left: 12px;
    }
}

/* ═══════════════════════════════════════════════════════
   STEPS (homepage)
   ═══════════════════════════════════════════════════════ */
.steps {
    margin-top: 28px;
    display: grid;
    gap: 18px;
}

.step {
    display: grid;
    grid-template-columns: 52px 1fr;
    gap: 14px;
    align-items: start;
}

.step__n {
    font-family: var(--font-display);
    color: var(--light-muted);
    font-size: 26px;
    line-height: 1;
}

.step__t {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 4px;
}

.step__d {
    color: var(--muted);
    font-size: 14px;
}

/* ═══════════════════════════════════════════════════════
   STATS
   ═══════════════════════════════════════════════════════ */
.stats {
    background: var(--cream-deep);
    padding: 52px 0;
}

.stats__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    text-align: center;
}

.stat__n {
    font-family: var(--font-display);
    font-size: clamp(36px, 4vw, 52px);
    font-weight: 600;
    color: var(--dark);
    line-height: 1.1;
}

.stat__l {
    color: var(--muted);
    font-size: 14px;
    margin-top: 6px;
}

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

/* ═══════════════════════════════════════════════════════
   PRODUCT CARDS
   ═══════════════════════════════════════════════════════ */
.pcard {
    display: block;
    background: rgba(255, 255, 255, .55);
    border: 1px solid rgba(0, 0, 0, .06);
    border-radius: 14px;
    overflow: hidden;
    box-shadow: var(--shadow-card);
    transition: transform .35s var(--ease), box-shadow .35s, border-color .3s;
}

.pcard:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: rgba(0, 0, 0, .1);
}

.pcard__img {
    position: relative;
    overflow: hidden;
    background: var(--cream-deep);
}

.pcard__img img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    transition: transform .5s var(--ease);
}

.pcard:hover .pcard__img img {
    transform: scale(1.04);
}

.pcard__body {
    padding: 22px 22px 24px;
}

.pcard__cat {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--accent-dark);
    margin-bottom: 8px;
}

.pcard__title {
    font-family: var(--font-display);
    font-size: 19px;
    font-weight: 600;
    margin-bottom: 6px;
}

.pcard__subtitle {
    font-size: 13px;
    color: var(--muted);
    font-style: italic;
    margin-bottom: 8px;
}

.pcard__desc {
    color: var(--muted);
    font-size: 14px;
    line-height: 1.55;
}

.pcard__link {
    display: inline-block;
    margin-top: 12px;
    font-size: 13px;
    font-weight: 700;
    color: var(--dark);
    transition: transform .2s;
}

.pcard:hover .pcard__link {
    transform: translateX(4px);
}

/* ═══════════════════════════════════════════════════════
   BLOG CARDS
   ═══════════════════════════════════════════════════════ */
.bcard {
    display: block;
    background: rgba(255, 255, 255, .55);
    border: 1px solid rgba(0, 0, 0, .06);
    border-radius: 14px;
    overflow: hidden;
    box-shadow: var(--shadow-card);
    transition: transform .35s var(--ease), box-shadow .35s;
}

.bcard:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.bcard__img {
    overflow: hidden;
    background: var(--cream-deep);
}

.bcard__img img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform .5s var(--ease);
}

.bcard:hover .bcard__img img {
    transform: scale(1.04);
}

.bcard__body {
    padding: 20px 22px 24px;
}

.bcard__date {
    font-size: 12px;
    color: var(--muted);
    font-weight: 600;
}

.bcard__title {
    font-family: var(--font-display);
    font-size: 19px;
    font-weight: 600;
    margin: 8px 0;
    line-height: 1.3;
}

.bcard__excerpt {
    color: var(--muted);
    font-size: 14px;
}

/* ═══════════════════════════════════════════════════════
   CTA SECTION
   ═══════════════════════════════════════════════════════ */
.cta {
    background: var(--dark);
    padding: 96px 0;
}

.cta__inner {
    text-align: center;
    max-width: 720px;
}

.cta__title {
    font-family: var(--font-display);
    font-size: clamp(34px, 3.8vw, 52px);
    font-weight: 600;
    color: var(--white);
    line-height: 1.12;
    margin-bottom: 14px;
}

.cta__sub {
    color: rgba(255, 255, 255, .6);
    font-size: 16px;
    max-width: 60ch;
    margin: 0 auto 28px;
}

.cta__actions {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ═══════════════════════════════════════════════════════
   TIMELINE
   ═══════════════════════════════════════════════════════ */
.timeline {
    max-width: 800px;
    margin: 0 auto;
    display: grid;
    gap: 0;
}

.tl__item {
    display: grid;
    grid-template-columns: 100px 24px 1fr;
    gap: 20px;
    align-items: start;
    padding: 18px 0;
}

.tl__year {
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 600;
    color: var(--dark);
    text-align: right;
    line-height: 1.3;
}

.tl__dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--dark);
    margin-top: 6px;
    position: relative;
}

.tl__dot::after {
    content: '';
    position: absolute;
    top: 12px;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: calc(100% + 24px);
    background: rgba(0, 0, 0, .12);
}

.tl__item:last-child .tl__dot::after {
    display: none;
}

.tl__text {
    color: var(--slate);
    font-size: 15px;
    line-height: 1.5;
}

/* ═══════════════════════════════════════════════════════
   PROCESS STEPS
   ═══════════════════════════════════════════════════════ */
.proc {
    max-width: 900px;
    margin: 0 auto;
}

.proc__step {
    display: grid;
    grid-template-columns: 72px 1fr;
    gap: 24px;
    padding: 32px 0;
    border-bottom: 1px solid rgba(0, 0, 0, .06);
}

.proc__step:last-child {
    border-bottom: none;
}

.proc__left {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.proc__icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: var(--dark);
    display: grid;
    place-items: center;
    box-shadow: var(--shadow-md);
}

.proc__icon span {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 700;
    color: var(--white);
}

.proc__line {
    flex: 1;
    width: 2px;
    background: rgba(0, 0, 0, .1);
    margin-top: 12px;
    min-height: 40px;
}

.proc__title {
    font-family: var(--font-display);
    font-size: 26px;
    font-weight: 600;
    margin-bottom: 8px;
}

.proc__desc {
    color: var(--slate);
    margin-bottom: 16px;
    max-width: 80ch;
}

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

.proc__list {
    padding-left: 18px;
    list-style: disc;
    color: var(--slate);
    font-size: 14px;
}

.proc__list li {
    margin: 6px 0;
}

@media (max-width: 768px) {
    .proc__step {
        grid-template-columns: 56px 1fr;
        gap: 16px;
    }

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

    .proc__title {
        font-size: 22px;
    }
}

/* ═══════════════════════════════════════════════════════
   CHECKLIST
   ═══════════════════════════════════════════════════════ */
.checklist {
    display: grid;
    gap: 10px;
}

.checklist li {
    position: relative;
    padding-left: 28px;
    color: var(--slate);
    font-size: 14px;
    line-height: 1.5;
}

.checklist li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0;
    width: 20px;
    height: 20px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    border: 1px solid rgba(0, 0, 0, .18);
    font-size: 11px;
    font-weight: 800;
    color: var(--dark);
}

.check-row {
    display: flex;
    gap: 28px;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 28px;
}

.check-item {
    color: rgba(255, 255, 255, .8);
    font-weight: 600;
    font-size: 14px;
}

/* ═══════════════════════════════════════════════════════
   SECTOR
   ═══════════════════════════════════════════════════════ */
.sector__head {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 16px;
}

.sector__icon {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    background: rgba(0, 0, 0, .05);
    display: grid;
    place-items: center;
    font-size: 22px;
    flex-shrink: 0;
}

.sector__sub {
    color: var(--muted);
    font-size: 14px;
    margin-top: 4px;
}

.sector__cols {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 20px;
}

.sector__col-title {
    font-weight: 800;
    font-size: 13px;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: .06em;
}

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

/* ═══════════════════════════════════════════════════════
   FILTER BAR
   ═══════════════════════════════════════════════════════ */
.filter-bar {
    display: flex;
    gap: 8px;
    margin-bottom: 36px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    color: var(--slate);
    background: rgba(255, 255, 255, .4);
    border: 1px solid rgba(0, 0, 0, .08);
    transition: all .2s;
}

.filter-btn:hover {
    background: rgba(255, 255, 255, .7);
    color: var(--dark);
}

.filter-btn.is-active {
    background: var(--dark);
    color: var(--white);
    border-color: var(--dark);
}

/* ═══════════════════════════════════════════════════════
   PRODUCT DETAIL
   ═══════════════════════════════════════════════════════ */
.breadcrumb {
    display: flex;
    gap: 8px;
    align-items: center;
    font-size: 13px;
    color: var(--muted);
    margin-bottom: 32px;
}

.breadcrumb a:hover {
    color: var(--dark);
}

.breadcrumb > span {
    color: var(--light-muted);
}

.product-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

.product-detail__img {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    background: var(--cream-deep);
}

.product-detail__img img {
    width: 100%;
    height: auto;
    min-height: 320px;
    object-fit: cover;
    border-radius: 16px;
    border: 1px solid rgba(0, 0, 0, .06);
}

.product-detail__title {
    font-family: var(--font-display);
    font-size: clamp(28px, 3vw, 40px);
    font-weight: 600;
    margin: 8px 0 10px;
}

.product-detail__subtitle {
    font-size: 15px;
    color: var(--accent-dark);
    font-style: italic;
    margin-bottom: 16px;
}

.product-detail__desc {
    color: var(--slate);
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 24px;
}

.product-detail__feat-title {
    font-size: 14px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .06em;
    margin-bottom: 12px;
}

.specs-table {
    display: grid;
    gap: 0;
}

.specs-row {
    display: grid;
    grid-template-columns: 180px 1fr;
    border-bottom: 1px solid rgba(0, 0, 0, .06);
    padding: 10px 0;
    font-size: 14px;
}

.specs-key {
    font-weight: 700;
    color: var(--dark);
}

.specs-val {
    color: var(--slate);
}

@media (max-width: 768px) {
    .product-detail {
        grid-template-columns: 1fr;
    }

    .specs-row {
        grid-template-columns: 1fr;
        gap: 2px;
    }
}

/* ═══════════════════════════════════════════════════════
   ARTICLE
   ═══════════════════════════════════════════════════════ */
.article {
    max-width: 760px;
    margin: 0 auto;
}

.article__header {
    margin-bottom: 24px;
}

.article__title {
    font-family: var(--font-display);
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 600;
    line-height: 1.15;
    margin-top: 12px;
}

.article__hero-img {
    margin-bottom: 36px;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, .06);
}

.article__hero-img img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.article__body {
    color: var(--slate);
    font-size: 16px;
    line-height: 1.8;
}

.article__body h2 {
    font-family: var(--font-display);
    font-size: 28px;
    font-weight: 600;
    color: var(--dark);
    margin: 36px 0 14px;
}

.article__body h3 {
    font-family: var(--font-display);
    font-size: 21px;
    font-weight: 600;
    color: var(--dark);
    margin: 28px 0 10px;
}

.article__body p {
    margin-bottom: 16px;
}

.article__footer {
    max-width: 760px;
    margin: 40px auto 0;
}

/* ═══════════════════════════════════════════════════════
   CONTACT
   ═══════════════════════════════════════════════════════ */
.contact-grid {
    display: grid;
    grid-template-columns: 1.2fr .8fr;
    gap: 28px;
    align-items: start;
}

.contact-card, .contact-info {
    background: rgba(255, 255, 255, .55);
    border: 1px solid rgba(0, 0, 0, .06);
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    padding: 28px;
}

.contact-card__title {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 20px;
}

.flash-wrap {
    margin-bottom: 16px;
}

.flash {
    padding: 14px 16px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 14px;
    border: 1px solid rgba(0, 0, 0, .08);
}

.flash--success {
    background: rgba(39, 174, 96, .1);
    border-color: rgba(39, 174, 96, .25);
    color: #1a7a41;
}

.flash--error {
    background: rgba(192, 57, 43, .1);
    border-color: rgba(192, 57, 43, .25);
    color: #962d22;
}

.form__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-bottom: 14px;
}

.form__field--full {
    grid-column: 1 / -1;
}

.form__field label {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 6px;
}

.req {
    color: var(--danger);
}

.form input, .form textarea {
    width: 100%;
    padding: 12px 14px;
    border-radius: 10px;
    border: 1px solid rgba(0, 0, 0, .1);
    background: rgba(255, 255, 255, .7);
    font-size: 14px;
    font-family: var(--font-body);
    color: var(--dark);
    outline: none;
    transition: border-color .2s, box-shadow .2s;
}

.form input:focus, .form textarea:focus {
    border-color: var(--dark);
    box-shadow: 0 0 0 3px rgba(20, 23, 24, .08);
}

.info-list {
    display: grid;
    gap: 18px;
}

.info-item {
    display: grid;
    grid-template-columns: 44px 1fr;
    gap: 14px;
    align-items: start;
}

.info-item__icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: rgba(0, 0, 0, .04);
    border: 1px solid rgba(0, 0, 0, .08);
    display: grid;
    place-items: center;
}

.info-item__icon svg {
    width: 18px;
    height: 18px;
    fill: var(--dark);
}

.info-item__label {
    font-weight: 800;
    font-size: 13px;
    margin-bottom: 2px;
}

.info-item__value {
    color: var(--slate);
    font-size: 14px;
}

.info-item__value a:hover {
    color: var(--dark);
}

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

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

/* ═══════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════ */
.ft__top {
    background: var(--dark);
    padding: 56px 0 40px;
}

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

.ft__brand-row {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 14px;
}

.ft__brand-name {
    font-weight: 700;
    font-size: 18px;
    color: var(--white);
}

.ft__brand-sub {
    color: rgba(255, 255, 255, .5);
    font-size: 13px;
    margin-top: 2px;
}

.ft__text {
    color: rgba(255, 255, 255, .5);
    font-size: 14px;
    max-width: 48ch;
}

.ft__heading {
    font-weight: 700;
    color: var(--white);
    margin-bottom: 14px;
    font-size: 14px;
}

.ft__links {
    display: grid;
    gap: 10px;
}

.ft__links a, .ft__links li {
    color: rgba(255, 255, 255, .5);
    font-size: 14px;
    transition: color .2s;
}

.ft__links a:hover {
    color: var(--white);
}

.ft__bottom {
    background: var(--dark-soft);
    border-top: 1px solid rgba(255, 255, 255, .08);
    padding: 18px 0;
}

.ft__bottom-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    color: rgba(255, 255, 255, .4);
    font-size: 13px;
    flex-wrap: wrap;
}

.ft__legal {
    display: flex;
    gap: 18px;
}

.ft__legal a {
    color: rgba(255, 255, 255, .4);
    transition: color .2s;
}

.ft__legal a:hover {
    color: var(--white);
}

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

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

/* ═══════════════════════════════════════════════════════
   ANIMATIONS
   ═══════════════════════════════════════════════════════ */
[data-anim] {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity .7s var(--ease-out), transform .7s var(--ease-out);
}

[data-anim="fade-left"] {
    opacity: 0;
    transform: translateX(-30px);
}

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

[data-anim="stagger"] {
    opacity: 1;
    transform: none;
}

[data-anim="stagger"] > * {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .5s var(--ease-out), transform .5s var(--ease-out);
}

[data-anim="stagger"].is-visible > *:nth-child(1) {
    transition-delay: .05s;
}

[data-anim="stagger"].is-visible > *:nth-child(2) {
    transition-delay: .12s;
}

[data-anim="stagger"].is-visible > *:nth-child(3) {
    transition-delay: .19s;
}

[data-anim="stagger"].is-visible > *:nth-child(4) {
    transition-delay: .26s;
}

[data-anim="stagger"].is-visible > *:nth-child(5) {
    transition-delay: .33s;
}

[data-anim="stagger"].is-visible > *:nth-child(6) {
    transition-delay: .40s;
}

[data-anim="stagger"].is-visible > *:nth-child(7) {
    transition-delay: .47s;
}

[data-anim="stagger"].is-visible > *:nth-child(8) {
    transition-delay: .54s;
}

[data-anim="stagger"].is-visible > *:nth-child(9) {
    transition-delay: .61s;
}

[data-anim="stagger"].is-visible > *:nth-child(10) {
    transition-delay: .68s;
}

[data-anim="stagger"].is-visible > *:nth-child(11) {
    transition-delay: .75s;
}

[data-anim="stagger"].is-visible > * {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    [data-anim], [data-anim="stagger"] > * {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
}

/* Logo navbar */
.hd__logo-img{
    height:42px;
    width:auto;
    object-fit:contain;
    display:block;
    transition:transform .25s ease, opacity .25s ease;
}

/* allineamento brand */
.hd__brand{
    display:flex;
    align-items:center;
    gap:10px;
    text-decoration:none;
}

/* effetto hover leggero */
.hd__brand:hover .hd__logo-img{
    transform:scale(1.05);
    opacity:.9;
}

/* versione sticky header (se usi shrink header) */
#header.is-scrolled .hd__logo-img{
    height:36px;
}

/* mobile */
@media (max-width:768px){
    .hd__logo-img{
        height:34px;
    }
}