:root {
    --bg: #f7f4ec;
    --dark: #171717;
    --text: #3b3b3b;
    --muted: #777;
    --accent: #f6b400;
    --accent-dark: #d89000;
    --card: #ffffff;
    --soft: #fff3cf;
    --line: rgba(23, 23, 23, 0.1);
}

.home {
    color: var(--text);
    text-decoration:none;
    text-align: center;
    width: 100%;
    display: block;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: clamp(14px, 0.4vw + 12px, 18px);
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    color: var(--text);
    background: var(--bg);
    line-height: 1.6;
}

a {
    color: inherit;
    text-decoration: none;
}

.container {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
}

.header {
    position: sticky;
    top: 0;
    z-index: 10;
    background: rgba(247, 244, 236, 0.92);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--line);
}

.header__inner {
    min-height: clamp(56px, 6vw, 78px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: clamp(12px, 2vw, 24px);
}

.logo {
    display: flex;
    align-items: center;
    gap: clamp(8px, 1.5vw, 12px);
    font-weight: 800;
    color: var(--dark);
    letter-spacing: 0.02em;
}

.logo__icon {
    width: clamp(32px, 3vw, 42px);
    height: clamp(32px, 3vw, 42px);
    border-radius: clamp(10px, 2vw, 14px);;
    background: linear-gradient(135deg, #ffe082, var(--accent));
    box-shadow: 0 10px 25px rgba(246, 180, 0, 0.28);
}

.logo__text span {
    display: block;
    font-size: 13px;
    font-weight: 500;
    color: var(--muted);
    letter-spacing: 0;
}

.nav {
    display: flex;
    align-items: center;
    gap: clamp(12px, 2vw, 24px);
    font-size: clamp(13px, 1vw + 10px, 15px);
    color: var(--dark);
}

.nav a {
    transition: color 0.2s ease;
}

.nav a:hover {
    color: var(--accent-dark);
}

.header__phone {
    padding: clamp(8px, 1vw, 12px) clamp(12px, 1.5vw, 18px);
    font-size: clamp(13px, 1vw + 10px, 15px);
    border-radius: 999px;
    background: var(--dark);
    color: #fff;
    font-weight: 700;
    white-space: nowrap;
}

.lang-switch {
    display: flex;
    gap: 10px;
    align-items: center;
}

.lang {
    font-size: 13px;
    font-weight: 700;
    padding: 6px 10px;
    border-radius: 8px;
    color: var(--dark);
    text-decoration: none;
    transition: all 0.2s ease;
    border: 1px solid transparent;
}

.lang:hover {
    border-color: var(--line);
    background: rgba(0, 0, 0, 0.03);
}

.lang.active {
    background: var(--dark);
    color: #fff;
}

.hero {
    padding: clamp(40px, 6vw, 78px) 0 clamp(40px, 5vw, 64px);
    overflow: hidden;
}

.hero__grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: clamp(20px, 4vw, 46px);
    align-items: center;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: 999px;
    background: var(--soft);
    color: #8b6200;
    font-weight: 700;
    font-size: 14px;
}

.eyebrow::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent);
}

.hero h1 {
    margin: clamp(16px, 2vw, 22px) 0 clamp(12px, 2vw, 18px);
    color: var(--dark);
    font-size: clamp(38px, 6vw, 72px);
    line-height: 1.02;
    letter-spacing: -0.05em;
}

.hero p {
    font-size: clamp(14px, 1.2vw + 12px, 19px);
    max-width: clamp(320px, 80vw, 620px);
    margin: 0 0 30px;
    color: #555;
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 34px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 0 24px;
    border-radius: 16px;
    font-weight: 800;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn--primary {
    background: var(--accent);
    color: var(--dark);
    box-shadow: 0 14px 28px rgba(246, 180, 0, 0.28);
}

.btn--primary:hover {
    background: #ffc533;
}

.btn--secondary {
    background: #fff;
    color: var(--dark);
    border: 1px solid var(--line);
}

.hero__stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(10px, 1.5vw, 14px);
    max-width: 620px;
}

.stat {
    padding: clamp(12px, 2vw, 18px);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid var(--line);
}

.stat strong {
    display: block;
    color: var(--dark);
    font-size: clamp(18px, 2vw + 14px, 25px);
    line-height: 1;
}

.stat span {
    display: block;
    margin-top: 8px;
    color: var(--muted);
    font-size: clamp(12px, 1vw + 10px, 14px);
}

.hero__visual {
    position: relative;
    min-height: 520px;
}

.lamp-card {
    position: absolute;
    border-radius: 34px;
    background: #fff;
    box-shadow: 0 24px 70px rgba(23, 23, 23, 0.12);
    overflow: hidden;
}

.lamp-card--main {
    inset: 20px 0 70px 70px;
    background: linear-gradient(145deg, #fff7dc, #ffd56b);
}

.lamp-card--small {
    width: 220px;
    height: 220px;
    left: 0;
    bottom: 0;
    background: linear-gradient(145deg, #1f2937, #111827);
}

.lamp-card--accent {
    width: 190px;
    height: 150px;
    right: 28px;
    bottom: 18px;
    background: linear-gradient(145deg, #fff, #f3e2b3);
}

.lamp-card__circle {
    position: absolute;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    right: 42px;
    top: 70px;
    background: rgba(255, 255, 255, 0.55);
}

.lamp-card__bar {
    position: absolute;
    left: 42px;
    bottom: 54px;
    width: 58%;
    height: 18px;
    border-radius: 999px;
    background: rgba(23, 23, 23, 0.16);
}

.section {
    padding: clamp(50px, 6vw, 78px) 0;
}

.section--white {
    background: #fff;
}

.section__top {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 28px;
    margin-bottom: 34px;
}

.section h2 {
    margin: 0;
    color: var(--dark);
    font-size: clamp(24px, 3vw + 14px, 46px);
    line-height: 1.1;
    letter-spacing: -0.04em;
}

.section__lead {
    max-width: 560px;
    margin: 0;
    color: #606060;
    font-size: clamp(14px, 1.2vw + 12px, 18px);
}

.categories {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: clamp(12px, 2vw, 18px);
}

.category {
    padding: clamp(16px, 2vw, 22px);
    min-height: clamp(200px, 20vw, 260px);
    border-radius: 28px;
    background: var(--card);
    border: 1px solid var(--line);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.category:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 45px rgba(23, 23, 23, 0.08);
}

.category__image {
    height: 120px;
    border-radius: 22px;
    margin-bottom: 20px;
}

.category:nth-child(1) .category__image {
    background: #ffe08a;
}

.category:nth-child(2) .category__image {
    background: #d7ecff;
}

.category:nth-child(3) .category__image {
    background: #d9f7e7;
}

.category:nth-child(4) .category__image {
    background: #eee2ff;
}

.category h3 {
    margin: 0 0 8px;
    color: var(--dark);
    font-size: clamp(16px, 1.5vw + 12px, 21px);
}

.category p {
    margin: 0;
    color: var(--muted);
    font-size: clamp(13px, 1vw + 11px, 15px);
}

.banner {
    padding: clamp(20px, 3vw, 42px);
    gap: clamp(16px, 3vw, 28px);
    border-radius: 36px;
    background: linear-gradient(135deg, #171717, #353535);
    color: #fff;
    display: grid;
    grid-template-columns: 1fr 320px;
    align-items: center;
    overflow: hidden;
}

.banner h2 {
    color: #fff;
}

.banner p {
    max-width: 660px;
    margin: 18px 0 0;
    color: rgba(255, 255, 255, 0.75);
    font-size: clamp(14px, 1.2vw + 12px, 18px);
}

.banner__art {
    height: 230px;
    border-radius: 28px;
    background: radial-gradient(circle at 35% 35%, #ffe082 0 18%, transparent 19%),
    linear-gradient(145deg, #f6b400, #ffdf83);
    box-shadow: 0 20px 70px rgba(246, 180, 0, 0.28);
}

.about {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 42px;
    align-items: center;
}

.about__image {
    min-height: clamp(260px, 35vw, 420px);
    border-radius: 34px;
    background: linear-gradient(145deg, #f6b400, #fff0bd);
    position: relative;
    overflow: hidden;
}

.about__image::before,
.about__image::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.45);
}

.about__image::before {
    width: 190px;
    height: 190px;
    left: 42px;
    top: 52px;
}

.about__image::after {
    width: 260px;
    height: 260px;
    right: -70px;
    bottom: -55px;
}

.about__content h2 {
    margin-bottom: 18px;
}

.about__content p {
    margin: 0 0 18px;
    font-size: clamp(14px, 1.2vw + 12px, 18px);
    color: #555;
}

.features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    margin-top: 24px;
}

.feature {
    padding: 18px;
    border-radius: 20px;
    background: #fff;
    border: 1px solid var(--line);
}

.feature strong {
    display: block;
    color: var(--dark);
    margin-bottom: 6px;
}

.slider {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.slide {
    min-height: clamp(240px, 30vw, 360px);
    border-radius: 30px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    color: var(--dark);
    overflow: hidden;
}

.slide:nth-child(1) {
    background: linear-gradient(145deg, #fff2ba, #f6b400);
}

.slide:nth-child(2) {
    background: linear-gradient(145deg, #d7ecff, #8fc8ff);
}

.slide:nth-child(3) {
    background: linear-gradient(145deg, #e8ddff, #b79cff);
}

.slide__label {
    display: inline-flex;
    width: fit-content;
    margin-bottom: 12px;
    padding: 7px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.62);
    font-size: 13px;
    font-weight: 800;
}

.slide h3 {
    margin: 0 0 8px;
    font-size: clamp(18px, 2vw + 14px, 25px);
    line-height: 1.15;
}

.slide p {
    margin: 0;
    color: rgba(23, 23, 23, 0.68);
}

.contacts {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.contact-card {
    padding: clamp(20px, 3vw, 34px);
    border-radius: 32px;
    background: #fff;
    border: 1px solid var(--line);
}

.contact-card h3 {
    margin: 0 0 20px;
    color: var(--dark);
    font-size: clamp(20px, 2vw + 16px, 28px);
}

.contact-list {
    display: grid;
    gap: 16px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.contact-list li {
    display: grid;
    gap: 4px;
}

.contact-list span {
    color: var(--muted);
    font-size: 14px;
}

.contact-list strong,
.contact-list a {
    color: var(--dark);
    font-size: clamp(14px, 1.5vw + 12px, 18px);
    font-weight: 800;
}

.map-placeholder {
    min-height: 360px;
    border-radius: 32px;
    background: linear-gradient(145deg, #dfe7ef, #aebdca);
    position: relative;
    overflow: hidden;
}

.map-placeholder::before {
    content: "";
    position: absolute;
    inset: 42px;
    border-radius: 24px;
    border: 3px solid rgba(255, 255, 255, 0.45);
}

.map-placeholder::after {
    content: "";
    position: absolute;
    width: 34px;
    height: 34px;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%) rotate(45deg);
    border-radius: 50% 50% 50% 4px;
    background: var(--accent);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.footer {
    padding: 30px 0;
    color: rgba(255, 255, 255, 0.75);
    background: var(--dark);
}

.footer__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    font-size: 14px;
}

.footer strong {
    color: #fff;
}

@media (max-width: 980px) {
    .nav {
        display: none;
    }

    .hero__grid,
    .about,
    .contacts,
    .banner {
        grid-template-columns: 1fr;
    }

    .hero__visual {
        min-height: 420px;
    }

    .lamp-card--main {
        inset: 0 0 70px 44px;
    }

    .categories {
        grid-template-columns: repeat(2, 1fr);
    }

    .slider {
        grid-template-columns: 1fr;
    }

    .banner__art {
        max-width: 360px;
    }
}

@media (max-width: 640px) {
    .header__inner {
        min-height: auto;
        padding: 14px 0;
        align-items: flex-start;
        flex-wrap: wrap;
    }

    .header__phone {
        justify-content: center;
        text-align: center;
    }

    .hero {
        padding-top: 46px;
    }

    .hero__stats,
    .categories,
    .features {
        grid-template-columns: 1fr;
    }

    .hero__visual {
        min-height: 330px;
    }

    .lamp-card--main {
        inset: 0 0 58px 28px;
    }

    .lamp-card--small {
        width: 150px;
        height: 150px;
    }

    .lamp-card--accent {
        width: 150px;
        height: 120px;
        right: 10px;
    }

    .section__top {
        align-items: flex-start;
        flex-direction: column;
    }

    .banner,
    .contact-card {
        padding: 26px;
    }

    .about__image {
        min-height: 300px;
    }

    .footer__inner {
        align-items: flex-start;
        flex-direction: column;
    }
}