

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

:root {
    --primary: #785900;
    --primary-hover: #8a6800;
    --primary-container: #ffc107;
    --on-primary-container: #6d5100;
    --secondary: #5d5e61;
    --text-dark: #1A1C1E;
    --text-muted: #6C757D;
    --text-light: #FFFFFF;
    --bg-page: #fff8f2;
    --bg-card: #FFFFFF;
    --border: #d4c5ab;
    --surface-muted: #E9ECEF;
    --surface-airy: #F8F9FA;
    --industrial-gray: #343A40;
    --on-surface-variant: #4f4632;
    --shadow-sm: 0px 4px 20px rgba(0,0,0,0.05);
    --shadow-md: 0px 10px 30px rgba(0,0,0,0.08);
    --shadow-lg: 0px 12px 40px rgba(0,0,0,0.08);
    --radius-sm: 0.25rem;
    --radius-md: 0.375rem;
    --radius-lg: 0.5rem;
    --radius-xl: 0.75rem;
    --radius-pill: 999px;
    --font-heading: 'Manrope', sans-serif;
    --font-body: 'Inter', 'Montserrat', sans-serif;
    --container-max: 1280px;
    --gutter: 24px;
    --section-gap-lg: 120px;
    --section-gap-md: 80px;
    --stack-lg: 32px;
    --stack-md: 16px;
    --stack-sm: 8px;
}

html, body {
    height: 100%;
    font-family: var(--font-body);
    background: var(--bg-page);
    color: var(--text-dark);
    overflow-x: hidden;
    min-width: 320px;
    -webkit-font-smoothing: antialiased;
}

/* ============================================================
   TYPOGRAPHY — Manrope headings, Inter body
   ============================================================ */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--text-dark);
}
h1 { font-size: 48px; line-height: 1.1; letter-spacing: -0.02em; }
h2 { font-size: 32px; line-height: 1.2; letter-spacing: -0.01em; }
h3 { font-size: 24px; line-height: 1.3; }
h4 { font-size: 20px; line-height: 1.3; }
.text-label-caps {
    font-family: var(--font-body);
    font-size: 12px;
    line-height: 1.0;
    letter-spacing: 0.05em;
    font-weight: 700;
    text-transform: uppercase;
}
.text-body-md {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    font-weight: 400;
}
.text-body-lg {
    font-family: var(--font-body);
    font-size: 18px;
    line-height: 1.6;
    font-weight: 400;
}

/* ============================================================
   NAVIGATION — Shadcn/ui style header
   ============================================================ */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    box-shadow: 0 1px 3px rgba(0,0,0,0.06);
    z-index: 15000;
    display: flex;
    align-items: center;
    height: 68px;
    transform: translateY(0);
    transition: transform 0.3s ease, background 0.3s ease;
}
.nav.hidden { transform: translateY(-100%); }
.nav.scrolled { background: rgba(255,255,255,0.95); }

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

.nav-left {
    display: flex;
    align-items: center;
    gap: var(--stack-lg);
}

.nav-logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
    letter-spacing: -0.02em;
    text-decoration: none;
}

.nav-menu {
    display: flex;
    gap: 24px;
    list-style: none;
}

.nav-link {
    color: var(--on-surface-variant);
    text-decoration: none;
    font-family: var(--font-body);
    font-size: 0.875rem;
    font-weight: 500;
    transition: color 0.2s ease;
    position: relative;
}
.nav-link:hover { color: var(--primary); }
.nav-link.active { color: var(--primary); font-weight: 600; }

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

.nav-search {
    display: flex;
    align-items: center;
    background: var(--surface-airy);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 8px 16px;
    gap: 8px;
    transition: border-color 0.2s;
}
.nav-search:focus-within {
    border-color: var(--primary-container);
    box-shadow: 0 0 0 2px rgba(255,193,7,0.2);
}
.nav-search input {
    background: transparent;
    border: none;
    outline: none;
    font-family: var(--font-body);
    font-size: 0.875rem;
    color: var(--text-dark);
    width: 180px;
}
.nav-search input::placeholder {
    color: var(--text-muted);
}
.nav-search .search-icon {
    color: var(--text-muted);
    display: flex;
    align-items: center;
}

.nav-cta {
    background: var(--primary-container);
    color: var(--on-primary-container);
    padding: 10px 24px;
    border-radius: var(--radius-lg);
    text-decoration: none;
    font-family: var(--font-body);
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    transition: all 0.15s ease;
    border: none;
    cursor: pointer;
    white-space: nowrap;
}
.nav-cta:hover {
    filter: brightness(0.95);
    transform: scale(0.97);
}

.nav-cabinet {
    color: var(--on-surface-variant);
    font-family: var(--font-body);
    font-size: 0.8125rem;
    font-weight: 500;
    text-decoration: none;
    white-space: nowrap;
    transition: color 0.2s;
}
.nav-cabinet:hover { color: var(--primary); }

.nav-phone {
    color: var(--primary);
    text-decoration: none;
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 700;
    white-space: nowrap;
}

/* Mobile nav */
.burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
    z-index: 16000;
    flex-shrink: 0;
}
.burger span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text-dark);
    border-radius: 2px;
    transition: all 0.3s ease;
}
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   HERO SECTION — 500–650px, overlay, left text
   ============================================================ */
.hero {
    position: relative;
    min-height: 550px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 130px 5vw 60px;
    background: #3a3a3a center/cover no-repeat;
    z-index: 1;
}
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.45);
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3vw;
    align-items: center;
}

.hero-text { opacity: 0; animation: fadeInUp 0.8s ease forwards; }

.hero-subtitle {
    display: inline-block;
    background: var(--primary);
    color: #1A1A1A;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.8rem;
    padding: 6px 16px;
    border-radius: var(--radius-pill);
    margin-bottom: 20px;
}

.hero-title {
    font-size: clamp(2.2rem, 4vw, 3.5rem);
    font-weight: 800;
    color: #FFFFFF;
    line-height: 1.1;
    margin-bottom: 1vh;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.hero-description {
    font-size: clamp(0.95rem, 1.1vw, 1.1rem);
    color: rgba(255,255,255,0.8);
    line-height: 1.6;
    margin-bottom: 2.5vh;
}

.hero-btn {
    display: inline-block;
    background: var(--primary);
    color: #1A1A1A;
    padding: 14px 32px;
    border-radius: var(--radius-pill);
    font-weight: 700;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 3px solid var(--primary);
}
.hero-btn:hover {
    background: transparent;
    color: #FFFFFF;
    border-color: #FFFFFF;
    transform: translateY(-2px);
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    opacity: 0;
    animation: fadeInUp 0.8s ease 0.3s forwards;
}

.stat-item {
    text-align: center;
    padding: 20px;
    background: rgba(255,255,255,0.92);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}
.stat-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.stat-number {
    font-size: clamp(1.5rem, 2.5vw, 2.5rem);
    font-weight: 800;
    color: var(--primary);
    display: block;
    margin-bottom: 4px;
}

.stat-label {
    font-size: 0.8rem;
    color: #7A7A7A;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

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

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

/* ============================================================
   CARDS CATEGORIES — 3 big cards, grid 3 cols
   ============================================================ */
.materials-section {
    position: relative;
    padding: 60px 5vw;
    z-index: 1;
}

.materials-container {
    max-width: 1400px;
    margin: 0 auto;
}

.materials-title {
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    font-weight: 800;
    color: #1A1A1A;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-align: center;
    margin-bottom: 50px;
    position: relative;
}
.materials-title::after {
    content: '';
    position: absolute;
    bottom: -16px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--primary);
}



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

.material-card {
    background: #FFFFFF;
    border-radius: 0;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    opacity: 0;
    animation: fadeIn 0.8s ease forwards;
    display: flex;
    flex-direction: column;
    height: 100%;
}
.material-card:nth-child(1) { animation-delay: 0s; }
.material-card:nth-child(2) { animation-delay: 0.12s; }
.material-card:nth-child(3) { animation-delay: 0.24s; }

.material-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.material-header {
    padding: 32px 30px 20px;
    border-bottom: 1px solid #F0F0F0;
}

.material-category {
    display: inline-block;
    background: #FFF5D9;
    color: var(--primary);
    font-weight: 700;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding: 4px 12px;
    border-radius: var(--radius-pill);
    margin-bottom: 12px;
}

.material-title {
    font-size: 1.6rem;
    font-weight: 600;
    color: #1A1A1A;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 6px;
}

.material-subtitle {
    font-size: 0.9rem;
    color: #7A7A7A;
    font-weight: 500;
}

.material-body {
    padding: 20px 30px;
    flex: 1;
}

.material-list {
    list-style: none;
}

.material-list li {
    padding: 13px 0;
    border-bottom: 1px solid #F2F2F2;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.2s ease;
}
.material-list li:last-child { border-bottom: none; }
.material-list li:hover { transform: translateX(4px); }

.material-item-name {
    font-weight: 600;
    color: #1A1A1A;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 1rem;
    flex: 1;
    line-height: 1.3;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
}
.material-item-name:hover { color: var(--primary); }

.material-item-price {
    font-weight: 700;
    color: var(--secondary);
    font-size: 1.2rem;
    min-width: 80px;
    text-align: right;
    flex-shrink: 0;
}

.material-footer {
    padding: 0 30px 30px;
    margin-top: auto;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn-primary {
    display: block;
    width: 100%;
    padding: 16px;
    background: var(--primary);
    color: #1A1A1A;
    text-align: center;
    text-decoration: none;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: var(--radius-pill);
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 0.95rem;
    margin-bottom: 12px;
}
.btn-primary:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(245,180,0,0.3);
}

.contact-buttons {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
}

.btn-secondary {
    padding: 14px 16px;
    background: var(--primary);
    border: 2px solid var(--primary);
    color: #1A1A1A;
    text-decoration: none;
    font-weight: 700;
    text-align: center;
    border-radius: var(--radius-pill);
    transition: all 0.3s ease;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.btn-secondary:hover {
    background: #FFC940;
    border-color: #FFC940;
    color: #1A1A1A;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(245,180,0,0.3);
}

/* ============================================================
   ABOUT BENTO — cards grid
   ============================================================ */
.about-bento {
    position: relative;
    padding: 40px 5vw 60px;
    z-index: 1;
}

.about-grid {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.about-card {
    background: #FFFFFF;
    border-radius: var(--radius-lg);
    padding: 28px;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    animation: fadeInUp 0.7s ease forwards;
    cursor: pointer;
}
.about-card.is-visible { animation: fadeInUp 0.7s ease forwards; }
.about-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.about-card.large {
    grid-column: span 2;
    background: #1A1A1A;
    color: white;
}
.about-card.large .about-title,
.about-card.large .about-text { color: white; }
.about-card.large .about-icon { background: rgba(245,180,0,0.15); color: var(--primary); }

.about-icon {
    width: 56px;
    height: 56px;
    background: #FAFAFA;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    margin-bottom: 18px;
    color: var(--primary);
}

.about-title {
    font-size: 1.2rem;
    font-weight: 800;
    margin-bottom: 8px;
    color: #1A1A1A;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.about-text {
    color: #7A7A7A;
    line-height: 1.6;
    font-size: 0.9rem;
}

.about-list {
    list-style: none;
    margin-top: 12px;
}
.about-list li {
    padding: 7px 0;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    color: #7A7A7A;
}
.about-list li::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--primary);
    border-radius: 50%;
    flex-shrink: 0;
}

/* ============================================================
   DELIVERY BENTO
   ============================================================ */
.delivery-bento {
    position: relative;
    padding: 40px 5vw 60px;
    z-index: 1;
}

.delivery-grid {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.delivery-card {
    background: #FFFFFF;
    border-radius: var(--radius-lg);
    padding: 32px;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    animation: fadeInUp 0.7s ease forwards;
}
.delivery-card.is-visible { animation: fadeInUp 0.7s ease forwards; }
.delivery-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.delivery-card.large {
    grid-column: span 2;
    background: #1A1A1A;
    color: white;
}
.delivery-card.large .delivery-title,
.delivery-card.large .delivery-text { color: white; }
.delivery-card.large .delivery-icon { background: rgba(245,180,0,0.15); color: var(--primary); }

.delivery-icon {
    width: 56px;
    height: 56px;
    background: #FAFAFA;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 16px;
    color: var(--primary);
}

.delivery-title {
    font-size: 1.4rem;
    font-weight: 800;
    margin-bottom: 12px;
    color: #1A1A1A;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.delivery-text {
    color: #7A7A7A;
    line-height: 1.6;
    font-size: 0.95rem;
    margin-bottom: 16px;
}

.delivery-list {
    list-style: none;
}
.delivery-list li {
    padding: 11px 0;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.95rem;
    border-bottom: 1px solid #F2F2F2;
    color: #1A1A1A;
}
.delivery-list li:last-child { border-bottom: none; }
.delivery-list li::before {
    content: '\2713';
    width: 22px;
    height: 22px;
    background: var(--primary);
    color: #1A1A1A;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    flex-shrink: 0;
    font-weight: 700;
}

/* ============================================================
   WORKFLOW / STEPS
   ============================================================ */
.workflow-bento {
    position: relative;
    padding: 40px 5vw 60px;
    z-index: 1;
}

.steps-grid {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.step-card {
    background: #FFFFFF;
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    text-align: center;
    animation: fadeInUp 0.7s ease forwards;
}
.step-card.is-visible { animation: fadeInUp 0.7s ease forwards; }
.step-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.step-number {
    width: 64px;
    height: 64px;
    background: #FFF5D9;
    color: var(--primary);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: 800;
    margin: 0 auto 20px;
    transition: all 0.3s ease;
}
.step-card:hover .step-number {
    background: var(--primary);
    color: #1A1A1A;
}

.step-card h3 {
    color: #1A1A1A;
    font-size: 1.1rem;
    font-weight: 800;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.step-card p {
    color: #7A7A7A;
    line-height: 1.6;
    font-size: 0.9rem;
}

/* ============================================================
   FAQ BENTO
   ============================================================ */
.faq-bento {
    position: relative;
    padding: 40px 5vw 60px;
    z-index: 1;
}

.faq-grid {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.faq-card {
    background: #FFFFFF;
    border-radius: var(--radius-lg);
    padding: 28px;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    animation: fadeInUp 0.7s ease forwards;
}
.faq-card.is-visible { animation: fadeInUp 0.7s ease forwards; }
.faq-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.faq-card h3 {
    color: #1A1A1A;
    font-size: 1.1rem;
    font-weight: 800;
    margin-bottom: 12px;
    line-height: 1.4;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.faq-card p {
    color: #7A7A7A;
    line-height: 1.6;
    font-size: 0.9rem;
}

/* ============================================================
   COMPANY BENTO
   ============================================================ */
.company-bento {
    position: relative;
    padding: 40px 5vw 60px;
    z-index: 1;
}

.company-title {
    font-size: clamp(1.8rem, 2.5vw, 2.2rem);
    font-weight: 800;
    color: #1A1A1A;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-align: center;
    margin-bottom: 40px;
    position: relative;
}
.company-title::after {
    content: '';
    position: absolute;
    bottom: -14px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--primary);
}

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

.company-card {
    background: #FFFFFF;
    border-radius: var(--radius-lg);
    padding: 28px;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    animation: fadeInUp 0.7s ease forwards;
}
.company-card.is-visible { animation: fadeInUp 0.7s ease forwards; }
.company-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.company-card.wide {
    grid-column: span 3;
    background: #1A1A1A;
    color: white;
}
.company-card.wide .company-card-title,
.company-card.wide .company-card-text { color: white; }
.company-card.wide .company-card-icon { background: rgba(245,180,0,0.15); }

.company-card.accent {
    background: linear-gradient(135deg, #FFF5D9 0%, #FFFFFF 100%);
}

.company-card-icon {
    width: 48px;
    height: 48px;
    background: #FAFAFA;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 16px;
}

.company-card-title {
    font-size: 1rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #1A1A1A;
    margin-bottom: 10px;
}

.company-card-text {
    color: #7A7A7A;
    line-height: 1.6;
    font-size: 0.9rem;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
    background: #1A1A1A;
    color: #FFFFFF;
    padding: 60px 5vw 30px;
    position: relative;
    z-index: 1;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
    gap: 3vw;
    margin-bottom: 40px;
}

.footer-logo {
    font-size: 1.4rem;
    font-weight: 800;
    margin-bottom: 16px;
    letter-spacing: 1px;
    text-transform: uppercase;
}
.footer-logo span { color: var(--primary); }

.footer-description {
    color: #fff;
    line-height: 1.7;
    margin-bottom: 20px;
    font-size: 0.9rem;
    opacity: 0.7;
}

.footer-title {
    font-size: 1rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
    color: #fff;
}

.footer-links { list-style: none; }
.footer-links li { margin-bottom: 12px; display: flex; align-items: center; gap: 8px; }
.footer-links a { color: #fff; opacity: 0.7; text-decoration: none; transition: opacity 0.3s ease; font-size: 0.9rem; }
.footer-links a:hover { opacity: 1; color: #fff; }
.footer-contacts li { color: #fff; opacity: 0.7; font-size: 0.9rem; }
.footer-contacts li a { color: #fff; opacity: 0.7; }
.footer-contacts li a:hover { opacity: 1; }

.footer-bottom {
    max-width: 1400px;
    margin: 0 auto;
    padding-top: 24px;
    border-top: 1px solid rgba(255,255,255,0.08);
    text-align: center;
    color: #666;
    font-size: 0.8rem;
}
.footer-bottom a { color: #999; text-decoration: none; }

/* ============================================================
   MODALS
   ============================================================ */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.75);
    z-index: 20000;
    align-items: center;
    justify-content: center;
}
.modal.active { display: flex; }

.modal-content {
    background: #FFFFFF;
    border-radius: var(--radius-lg);
    max-width: 580px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    animation: modalSlideIn 0.3s ease;
    box-shadow: var(--shadow-lg);
}

@keyframes modalSlideIn {
    from { transform: translateY(-40px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.modal-header {
    padding: 28px 28px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-title {
    font-size: 1.4rem;
    font-weight: 800;
    color: #1A1A1A;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.modal-close {
    background: none;
    border: none;
    font-size: 1.8rem;
    color: #999;
    cursor: pointer;
    transition: color 0.3s ease;
}
.modal-close:hover { color: var(--primary); }

.modal-body { padding: 24px 28px 28px; }

/* Info modals */
.info-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.75);
    z-index: 10000;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.info-modal.active { display: flex; opacity: 1; }

.info-modal-content {
    background: #FFFFFF;
    padding: 36px;
    border-radius: var(--radius-lg);
    max-width: 640px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
    box-shadow: var(--shadow-lg);
}

.info-modal-title {
    font-size: 1.6rem;
    font-weight: 800;
    color: #1A1A1A;
    margin-bottom: 20px;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.info-modal-text {
    font-size: 1rem;
    line-height: 1.7;
    color: #7A7A7A;
    margin-bottom: 16px;
}

.info-modal-list { list-style: none; padding: 0; }
.info-modal-list li {
    padding: 13px 0;
    border-bottom: 1px solid #F2F2F2;
    font-size: 0.95rem;
    line-height: 1.6;
    color: #7A7A7A;
}
.info-modal-list li:last-child { border-bottom: none; }
.info-modal-list li strong {
    color: #1A1A1A;
    display: block;
    margin-bottom: 4px;
}

.info-modal-close {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
    padding: 12px 36px;
    border-radius: var(--radius-pill);
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    display: block;
    margin: 24px auto 0;
    transition: all 0.3s ease;
}
.info-modal-close:hover { background: var(--primary); color: #1A1A1A; }

/* UPS modal */
.ups-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.8);
    z-index: 10001;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.ups-modal.active { display: flex; opacity: 1; }

.ups-modal-content {
    background: #FFFFFF;
    padding: 44px 36px;
    border-radius: var(--radius-lg);
    max-width: 460px;
    width: 90%;
    text-align: center;
    position: relative;
    animation: upsSlideIn 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    box-shadow: var(--shadow-lg);
}

@keyframes upsSlideIn {
    from { transform: translateY(-40px) scale(0.9); opacity: 0; }
    to { transform: translateY(0) scale(1); opacity: 1; }
}

.ups-emoji {
    font-size: 3.5rem;
    margin-bottom: 16px;
    display: block;
}

.ups-title {
    font-size: 1.8rem;
    font-weight: 800;
    color: #1A1A1A;
    margin-bottom: 12px;
}

.ups-text {
    font-size: 1rem;
    color: #7A7A7A;
    margin-bottom: 24px;
    line-height: 1.6;
}

.ups-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 360px;
    margin: 0 auto;
}

.ups-btn {
    padding: 14px 28px;
    border-radius: var(--radius-pill);
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.ups-btn-primary {
    background: var(--primary);
    color: #1A1A1A;
    border: 2px solid var(--primary);
}
.ups-btn-primary:hover { background: #FFC940; }

.ups-btn-secondary {
    background: transparent;
    border: 2px solid #1A1A1A;
    color: #1A1A1A;
}
.ups-btn-secondary:hover { background: rgba(26,26,26,0.05); }

.ups-close {
    position: absolute;
    top: 12px;
    right: 16px;
    font-size: 1.8rem;
    color: #999;
    cursor: pointer;
    background: none;
    border: none;
    transition: color 0.3s ease;
}
.ups-close:hover { color: #1A1A1A; }

/* ============================================================
   CONTENT CARD (for offer/privacy pages)
   ============================================================ */
.content-card {
    max-width: 900px;
    margin: 0 auto;
    background: #FFFFFF;
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-sm);
}
.content-card h2 {
    font-size: 1.3rem;
    font-weight: 800;
    margin: 28px 0 12px;
    color: #1A1A1A;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.content-card h2:first-child { margin-top: 0; }
.content-card p {
    color: #7A7A7A;
    line-height: 1.7;
    margin-bottom: 12px;
}
.content-card ul {
    list-style: none;
    padding: 0;
    margin-bottom: 16px;
}
.content-card ul li {
    padding: 6px 0;
    color: #7A7A7A;
    font-size: 0.95rem;
}
.content-card a { color: var(--primary); text-decoration: none; }

/* ============================================================
   PAGE LAYOUT (category/product sidebar)
   ============================================================ */


.page-layout-sidebar-sticky {
    position: sticky;
    top: 100px;
}

.page-layout-sidebar-title {
    font-size: 1.1rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 16px;
    color: #1A1A1A;
}

/* Filter bar */
.filter-bar {
    background: #FFFFFF;
    border-radius: var(--radius-md);
    padding: 20px 24px;
    margin-bottom: 24px;
    box-shadow: var(--shadow-sm);
}
.filter-bar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.filter-bar-left { display: flex; gap: 12px; flex-wrap: wrap; }

.filter-item { display: flex; flex-direction: column; gap: 4px; }
.filter-item label {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    color: #7A7A7A;
}
.filter-item select {
    padding: 8px 12px;
    border: 2px solid #E8E8E8;
    border-radius: var(--radius-sm);
    background: #FAFAFA;
    font-family: inherit;
    font-size: 0.85rem;
    color: #1A1A1A;
    outline: none;
    transition: border-color 0.2s;
}
.filter-item select:focus { border-color: var(--primary); }

.filter-bar-right {
    display: flex;
    gap: 12px;
    align-items: center;
    flex-wrap: wrap;
}
.filter-bar-right select {
    padding: 8px 12px;
    border: 2px solid #E8E8E8;
    border-radius: var(--radius-sm);
    background: #FAFAFA;
    font-family: inherit;
    font-size: 0.85rem;
    color: #1A1A1A;
    outline: none;
}
.filter-count {
    font-size: 0.85rem;
    color: #7A7A7A;
    font-weight: 600;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 32px;
}
.pagination a, .pagination .current {
    padding: 10px 16px;
    border-radius: var(--radius-sm);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.2s ease;
}
.pagination a {
    background: #FFFFFF;
    color: #1A1A1A;
    border: 2px solid #E8E8E8;
}
.pagination a:hover { border-color: var(--primary); color: var(--primary); }
.pagination .current {
    background: var(--primary);
    color: #1A1A1A;
    border: 2px solid var(--primary);
}

/* Product detail */
.product-detail {
    background: #FFFFFF;
    border-radius: var(--radius-lg);
    padding: 32px;
    box-shadow: var(--shadow-sm);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
}
.product-detail-image img {
    width: 100%;
    border-radius: var(--radius-md);
    object-fit: cover;
}
.product-detail-image-placeholder {
    width: 100%;
    aspect-ratio: 1;
    background: #FAFAFA;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
}
.product-detail-info h2 {
    font-size: 1.1rem;
    font-weight: 800;
    margin: 20px 0 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.product-detail-desc {
    color: #7A7A7A;
    line-height: 1.7;
}
.product-detail-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 12px;
}
.product-detail-table td {
    padding: 10px 0;
    border-bottom: 1px solid #F2F2F2;
    font-size: 0.9rem;
    color: #7A7A7A;
}
.product-detail-table td:first-child {
    color: #1A1A1A;
    font-weight: 600;
    width: 40%;
}
.product-detail-price {
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid #F2F2F2;
}
.product-detail-price-value {
    font-size: 2rem;
    font-weight: 800;
    color: #1A1A1A;
}
.product-detail-price-unit {
    font-size: 0.9rem;
    color: #7A7A7A;
    margin-top: 4px;
}
.product-detail-delivery {
    margin-top: 20px;
}

.section-header {
    font-size: 1.4rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 24px;
    color: #1A1A1A;
}

.category-empty {
    text-align: center;
    padding: 60px 20px;
    background: #FFFFFF;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}
.category-empty-icon { font-size: 3rem; margin-bottom: 16px; }
.category-empty h3 {
    font-size: 1.3rem;
    font-weight: 800;
    margin-bottom: 8px;
}
.category-empty p { color: #7A7A7A; margin-bottom: 20px; }

/* Tree links (category sidebar) — старые стили для product.html */
.tree-link {
    font-size: 0.9rem !important;
    font-weight: 600;
}
.tree-toggle {
    cursor: pointer;
    font-size: 0.65rem;
    color: var(--primary);
    user-select: none;
    width: 14px;
    text-align: center;
    flex-shrink: 0;
    transition: transform 0.2s;
}
.tree-children {
    list-style: none;
    padding: 0 0 0 14px;
    margin: 0;
}

/* category sidebar — иконки */
.cat-icon-default::before { content: '◆'; }
.cat-icon-walls::before { content: '⊞'; }
.cat-icon-roof::before { content: '▲'; }
.cat-icon-insulation::before { content: '▣'; }

/* ============================================================
   BURGER MENU
   ============================================================ */
.burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
    z-index: 16000;
    flex-shrink: 0;
}
.burger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--secondary);
    border-radius: 2px;
    transition: all 0.3s ease;
}
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 768px) {
    .burger { display: flex; }
    .nav-menu {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(255,255,255,0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 35px;
        z-index: 14000;
        display: none;
    }
    .nav-menu.open { display: flex; }
    .nav-menu .nav-link { font-size: 1.3rem; letter-spacing: 2px; }
    .nav-container { padding: 0 20px; }
    .nav-logo { font-size: 1rem; }

    .hero { padding: 105px 16px 40px; min-height: auto; }
    .hero-content { grid-template-columns: 1fr; text-align: center; }
    .hero-title { font-size: 1.7rem; }
    .hero-stats { grid-template-columns: 1fr; gap: 10px; }

    .materials-section { padding: 30px 16px; }
    .materials-title { font-size: 1.3rem; margin-bottom: 30px; }
    .materials-grid { grid-template-columns: 1fr; gap: 20px; }
    .material-item-name { font-size: 0.95rem; }
    .material-title { font-size: 1.3rem; }
    .material-header { padding: 22px 20px 16px; }
    .material-body { padding: 16px 20px; }
    .material-footer { padding: 0 20px 22px; }

    .about-bento { padding: 20px 16px 40px; }
    .about-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .about-card.large { grid-column: span 1; }
    .about-card { padding: 18px; }
    .about-icon { width: 44px; height: 44px; font-size: 1.3rem; margin-bottom: 10px; }
    .about-title { font-size: 0.85rem; }

    .delivery-bento { padding: 20px 16px 40px; }
    .delivery-grid { grid-template-columns: 1fr; gap: 12px; }
    .delivery-card.large { grid-column: span 1; padding: 22px; }
    .delivery-card { padding: 22px; }
    .delivery-title { font-size: 1.1rem; }

    .steps-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .step-card { padding: 22px 14px; }
    .step-number { width: 50px; height: 50px; font-size: 1.4rem; margin-bottom: 12px; }
    .step-card h3 { font-size: 0.8rem; }

    .faq-bento { padding: 20px 16px 40px; }
    .faq-grid { grid-template-columns: 1fr; gap: 12px; }
    .faq-card { padding: 18px; }

    .company-bento { padding: 20px 16px 40px; }
    .company-grid { grid-template-columns: 1fr; gap: 12px; }
    .company-card.wide { grid-column: span 1; }
    .company-title { font-size: 1.3rem; }

        .footer { padding: 40px 20px 20px; }
    .footer-content { grid-template-columns: 1fr; gap: 24px; }

    .page-layout { grid-template-columns: 1fr; }
    .product-detail { grid-template-columns: 1fr; }

    .content-card { padding: 20px; }
}