/* ============================================
   KOMFORT — Furniture Salon Styles
   Warm brown + white, cozy aesthetic
   ============================================ */

:root {
    --brown: #6B4226;
    --brown-dark: #3E2723;
    --brown-light: #8B5E3C;
    --brown-soft: #A0755A;
    --beige: #F5E6D3;
    --beige-light: #FFF8F0;
    --cream: #FFFDF9;
    --gold: #C9A96E;
    --white: #FFFFFF;
    --text: #3E2723;
    --text-light: #7B6B63;
    --text-muted: #B8A99E;
    --border: #E8DDD4;
    --shadow: 0 4px 24px rgba(62,39,35,0.08);
    --shadow-lg: 0 12px 40px rgba(62,39,35,0.12);
    --radius: 16px;
    --radius-sm: 10px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

body {
    font-family: 'Inter', -apple-system, sans-serif;
    color: var(--text);
    background: var(--cream);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* ============= HEADER ============= */
.header {
    background: rgba(255,253,249,0.95);
    backdrop-filter: blur(20px);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid var(--border);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

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

.logo-mark {
    width: 44px; height: 44px;
    background: var(--brown);
    color: var(--beige);
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    font-family: 'Cormorant Garamond', serif;
    font-size: 24px; font-weight: 700;
}

.logo-mark.sm { width: 32px; height: 32px; font-size: 18px; border-radius: 8px; }

.logo-text { display: flex; flex-direction: column; }
.logo-name {
    font-family: 'Cormorant Garamond', serif;
    font-size: 18px; font-weight: 700;
    color: var(--brown-dark);
    letter-spacing: 2px;
    line-height: 1.2;
}
.logo-sub { font-size: 11px; color: var(--text-muted); letter-spacing: 1px; }

.nav { display: flex; gap: 8px; }
.nav-link {
    padding: 8px 16px; font-size: 14px; font-weight: 500;
    color: var(--text-light); border-radius: var(--radius-sm);
    transition: all var(--transition);
}
.nav-link:hover { color: var(--brown); background: var(--beige); }

.header-right { display: flex; align-items: center; gap: 16px; }
.header-phone {
    font-weight: 600; font-size: 14px; color: var(--brown);
    transition: color var(--transition); white-space: nowrap;
}
.header-phone:hover { color: var(--brown-dark); }

.burger {
    display: none; flex-direction: column; gap: 5px;
    background: none; border: none; cursor: pointer; padding: 4px;
}
.burger span { width: 22px; height: 2px; background: var(--brown-dark); border-radius: 2px; transition: all var(--transition); }

/* ============= HERO ============= */
.hero {
    position: relative;
    min-height: 600px;
    display: flex; align-items: center;
    overflow: hidden;
    background: var(--brown-dark);
}

.hero-bg {
    position: absolute; inset: 0;
    background: linear-gradient(135deg, var(--brown-dark) 0%, var(--brown) 40%, var(--brown-soft) 100%);
    opacity: 0.95;
}

.hero-bg::after {
    content: '';
    position: absolute; inset: 0;
    background: radial-gradient(ellipse at 80% 50%, rgba(201,169,110,0.15) 0%, transparent 60%);
}

.hero-content { position: relative; z-index: 2; padding: 80px 0; max-width: 600px; }

.hero-label {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 50px;
    font-size: 13px; font-weight: 500;
    color: var(--gold);
    margin-bottom: 24px;
    letter-spacing: 0.5px;
}

.hero-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 56px; font-weight: 700;
    color: var(--white);
    line-height: 1.1;
    margin-bottom: 20px;
}

.hero-desc {
    color: rgba(255,255,255,0.7);
    font-size: 17px; line-height: 1.7;
    margin-bottom: 36px;
}

.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ============= BUTTONS ============= */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 14px 32px; font-family: 'Inter', sans-serif;
    font-size: 14px; font-weight: 600;
    border: none; border-radius: var(--radius-sm);
    cursor: pointer; transition: all var(--transition);
    white-space: nowrap; letter-spacing: 0.3px;
}
.btn-primary { background: var(--gold); color: var(--brown-dark); }
.btn-primary:hover { background: #d4b478; transform: translateY(-2px); box-shadow: 0 4px 20px rgba(201,169,110,0.4); }
.btn-outline { background: transparent; color: var(--white); border: 1.5px solid rgba(255,255,255,0.3); }
.btn-outline:hover { border-color: var(--white); background: rgba(255,255,255,0.1); }
.btn-lg { padding: 16px 36px; font-size: 15px; }

/* ============= ADVANTAGES ============= */
.advantages {
    background: var(--white);
    border-bottom: 1px solid var(--border);
    padding: 28px 0;
}

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

.adv-item { display: flex; align-items: center; gap: 14px; padding: 8px 0; }
.adv-icon { color: var(--brown); flex-shrink: 0; }
.adv-item h4 { font-size: 14px; font-weight: 600; color: var(--brown-dark); margin-bottom: 2px; }
.adv-item p { font-size: 12px; color: var(--text-muted); line-height: 1.4; }

/* ============= SECTIONS ============= */
.section-label {
    display: inline-block;
    font-size: 12px; font-weight: 600;
    color: var(--gold); text-transform: uppercase;
    letter-spacing: 2px; margin-bottom: 12px;
}

.section-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 36px; font-weight: 700;
    color: var(--brown-dark);
    margin-bottom: 16px; line-height: 1.2;
}

.section-desc { color: var(--text-light); font-size: 16px; max-width: 500px; }
.section-center { text-align: center; margin-bottom: 48px; }
.section-center .section-desc { margin: 0 auto; }

/* ============= ABOUT ============= */
.about { padding: 100px 0; }

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

.about-image {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.about-image img { width: 100%; height: 400px; object-fit: cover; }

.about-content p {
    color: var(--text-light); margin-bottom: 16px; font-size: 15px;
}

.about-stats {
    display: flex; gap: 32px;
    margin-top: 32px; padding-top: 28px;
    border-top: 1px solid var(--border);
}

.stat-num {
    font-family: 'Cormorant Garamond', serif;
    font-size: 32px; font-weight: 700; color: var(--brown);
    display: block; line-height: 1.2;
}
.stat-label { font-size: 13px; color: var(--text-muted); }

/* ============= PRODUCTS ============= */
.products { padding: 100px 0; background: var(--white); }

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

.product-card {
    background: var(--cream);
    border-radius: var(--radius);
    overflow: hidden;
    transition: all var(--transition);
    border: 1px solid var(--border);
}
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: transparent; }

.product-img { overflow: hidden; height: 220px; }
.product-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.product-card:hover .product-img img { transform: scale(1.06); }

.product-info { padding: 24px; }
.product-info h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 22px; font-weight: 700;
    color: var(--brown-dark); margin-bottom: 8px;
}
.product-info p { font-size: 14px; color: var(--text-light); margin-bottom: 16px; line-height: 1.6; }
.product-link {
    font-size: 13px; font-weight: 600; color: var(--brown);
    transition: color var(--transition); letter-spacing: 0.3px;
}
.product-link:hover { color: var(--gold); }

/* ============= GALLERY ============= */
.gallery { padding: 100px 0; }

.gallery-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    grid-template-rows: auto auto;
    gap: 16px;
}

.gallery-item {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; min-height: 200px; transition: transform 0.6s ease; }
.gallery-item:hover img { transform: scale(1.04); }
.gallery-item.large { grid-row: span 2; }
.gallery-item.large img { min-height: 420px; }

/* ============= CTA ============= */
.cta {
    padding: 80px 0;
    background: var(--brown-dark);
}

.cta-inner { text-align: center; max-width: 550px; margin: 0 auto; }
.cta h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 36px; font-weight: 700;
    color: var(--white); margin-bottom: 16px;
}
.cta p { color: rgba(255,255,255,0.65); font-size: 16px; margin-bottom: 32px; line-height: 1.7; }
.cta-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ============= CONTACTS ============= */
.contacts { padding: 100px 0; background: var(--white); }

.contacts-grid {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 48px;
}

.contact-item {
    display: flex; gap: 14px;
    margin-bottom: 24px;
    color: var(--text-light);
}
.contact-item svg { flex-shrink: 0; color: var(--brown); margin-top: 2px; }
.contact-item strong { display: block; color: var(--brown-dark); font-size: 14px; margin-bottom: 4px; }
.contact-item p { font-size: 14px; line-height: 1.6; }
.contact-item a { color: var(--brown); transition: color var(--transition); }
.contact-item a:hover { color: var(--gold); }

/* ============= FOOTER ============= */
.footer {
    background: var(--brown-dark);
    padding: 32px 0;
    border-top: 1px solid rgba(255,255,255,0.06);
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-logo { display: flex; align-items: center; gap: 10px; }
.footer-logo span {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 700; color: var(--white);
    letter-spacing: 2px; font-size: 14px;
}

.footer-copy { font-size: 12px; color: rgba(255,255,255,0.4); }

.footer-social { display: flex; gap: 12px; }
.footer-social a {
    width: 36px; height: 36px; border-radius: var(--radius-sm);
    background: rgba(255,255,255,0.08);
    display: flex; align-items: center; justify-content: center;
    color: rgba(255,255,255,0.6);
    transition: all var(--transition);
}
.footer-social a:hover { background: var(--gold); color: var(--brown-dark); }

/* ============= WHATSAPP FLOAT ============= */
.float-wa {
    position: fixed; bottom: 28px; right: 28px;
    width: 56px; height: 56px;
    background: #25D366; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 4px 20px rgba(37,211,102,0.4);
    z-index: 99; transition: all var(--transition);
}
.float-wa:hover { transform: scale(1.1); box-shadow: 0 6px 30px rgba(37,211,102,0.5); }

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

@media (max-width: 768px) {
    .nav { display: none; position: fixed; top: 72px; left: 0; right: 0; background: var(--cream); flex-direction: column; padding: 16px; box-shadow: var(--shadow-lg); z-index: 99; }
    .nav.open { display: flex; }
    .burger { display: flex; }
    .hero-title { font-size: 40px; }
    .hero { min-height: 500px; }
    .about-grid { grid-template-columns: 1fr; }
    .about-image { order: -1; }
    .contacts-grid { grid-template-columns: 1fr; }
    .gallery-grid { grid-template-columns: 1fr; }
    .gallery-item.large { grid-row: span 1; }
    .gallery-item.large img { min-height: 250px; }
    .section-title { font-size: 30px; }
    .adv-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
    .container { padding: 0 16px; }
    .hero-title { font-size: 32px; }
    .products-grid { grid-template-columns: 1fr; }
    .adv-grid { grid-template-columns: 1fr; }
    .about-stats { flex-direction: column; gap: 16px; }
    .footer-inner { flex-direction: column; text-align: center; }
    .header-phone { display: none; }
}
