/* =============================================
   KUPI KUHNY - Main Styles
   ============================================= */

/* CSS Variables */
:root {
    /* Colors */
    --white: #FFFFFF;
    --light-gray: #F8F9FA;
    --medium-gray: #E9ECEF;
    --dark-gray: #2C3E50;
    --text-color: #333333;
    --text-light: #6C757D;

    /* Accent Colors (Warm) */
    --primary: #FF6B35;
    --primary-dark: #E55A2B;
    --primary-light: #FF8C5A;
    --secondary: #FFB84D;
    --gradient-primary: linear-gradient(135deg, #FF6B35 0%, #FFB84D 100%);
    --gradient-hover: linear-gradient(135deg, #FFB84D 0%, #FF6B35 100%);

    /* Success/Info */
    --success: #27AE60;
    --info: #3498DB;

    /* Spacing */
    --section-padding: 100px;
    --container-padding: 20px;

    /* Typography */
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Open Sans', sans-serif;

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.15);
    --shadow-card: 0 5px 30px rgba(0, 0, 0, 0.08);

    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-full: 50px;

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

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

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

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition-fast);
}

ul {
    list-style: none;
}

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

input, textarea {
    font-family: inherit;
    font-size: inherit;
}

/* Container */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--dark-gray);
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 20px;
    position: relative;
}

.section-subtitle {
    text-align: center;
    color: var(--text-light);
    font-size: 1.125rem;
    margin-bottom: 50px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 32px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1rem;
    border-radius: var(--radius-full);
    transition: all var(--transition-base);
    cursor: pointer;
    border: 2px solid transparent;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.4);
}

.btn-primary:hover {
    background: var(--gradient-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.5);
}

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

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

.btn-sm {
    padding: 10px 20px;
    font-size: 0.875rem;
}

.btn-lg {
    padding: 18px 40px;
    font-size: 1.125rem;
}

.btn-block {
    width: 100%;
}

/* Badge */
.badge {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--white);
}

/* =============================================
   HEADER
   ============================================= */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
}

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

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

.logo-placeholder {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-list {
    display: flex;
    gap: 30px;
}

.nav-list a {
    font-weight: 500;
    color: var(--dark-gray);
    position: relative;
}

.nav-list a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width var(--transition-base);
}

.nav-list a:hover::after {
    width: 100%;
}

.header-contacts {
    display: flex;
    align-items: center;
    gap: 20px;
}

.header-phone {
    font-weight: 600;
    color: var(--dark-gray);
}

.header-phone:hover {
    color: var(--primary);
}

/* Burger Menu */
.burger {
    display: none;
    flex-direction: column;
    gap: 6px;
    padding: 10px;
}

.burger span {
    display: block;
    width: 25px;
    height: 2px;
    background: var(--dark-gray);
    transition: all var(--transition-base);
}

.burger.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.burger.active span:nth-child(2) {
    opacity: 0;
}

.burger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    background: var(--white);
    padding: 30px;
    box-shadow: var(--shadow-lg);
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-base);
    z-index: 999;
}

.mobile-menu.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
}

.mobile-nav-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 30px;
}

.mobile-nav-list a {
    font-size: 1.25rem;
    font-weight: 500;
}

.mobile-contacts {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.mobile-phone {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--primary);
}

/* =============================================
   HERO SECTION
   ============================================= */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
}

.hero-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #f5f5f5 0%, #e8e8e8 100%);
    position: relative;
    overflow: hidden;
}

.hero-placeholder::after {
    content: 'Место для фото кухни';
    color: #999;
    font-size: 1.5rem;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 0;
}

.hero-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    display: block;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(44, 62, 80, 0.85) 0%, rgba(44, 62, 80, 0.6) 100%);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 700px;
}

.hero-badges {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.hero-title {
    font-size: 3.5rem;
    color: var(--white);
    margin-bottom: 20px;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 40px;
}

.hero-cta {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.875rem;
}

.scroll-arrow {
    width: 30px;
    height: 50px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 15px;
    position: relative;
}

.scroll-arrow::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    height: 6px;
    background: var(--white);
    border-radius: 50%;
    animation: scrollBounce 2s infinite;
}

@keyframes scrollBounce {
    0%, 100% { top: 8px; opacity: 1; }
    50% { top: 30px; opacity: 0.3; }
}

/* Pulse Animation */
.pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { box-shadow: 0 4px 15px rgba(255, 107, 53, 0.4); }
    50% { box-shadow: 0 4px 30px rgba(255, 107, 53, 0.7); }
}

/* =============================================
   ADVANTAGES SECTION
   ============================================= */
.advantages {
    padding: var(--section-padding) 0;
    background: var(--light-gray);
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.advantage-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow-card);
    transition: all var(--transition-base);
}

.advantage-card:hover {
    transform: translateY(-10px) rotateY(5deg);
    box-shadow: var(--shadow-lg);
}

.advantage-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    border-radius: 50%;
}

.advantage-icon svg {
    stroke: var(--white);
}

.advantage-title {
    font-size: 1.25rem;
    margin-bottom: 15px;
}

.advantage-text {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* =============================================
   ASSORTMENT SECTION
   ============================================= */
.assortment {
    padding: var(--section-padding) 0;
}

.tabs {
    margin-top: 50px;
}

.tabs-nav {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.tab-btn {
    padding: 12px 30px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1rem;
    color: var(--text-light);
    background: var(--light-gray);
    border-radius: var(--radius-full);
    transition: all var(--transition-base);
}

.tab-btn:hover {
    color: var(--primary);
}

.tab-btn.active {
    background: var(--gradient-primary);
    color: var(--white);
}

.tab-panel {
    display: none;
    animation: fadeIn 0.5s ease;
}

.tab-panel.active {
    display: block;
}

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

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

.assortment-card {
    background: var(--white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-card);
    transition: all var(--transition-base);
}

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

.assortment-img-placeholder {
    height: 180px;
    background: linear-gradient(135deg, #f0f0f0 0%, #e0e0e0 100%);
    color: #999;
    font-size: 0.875rem;
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-md) var(--radius-md) 0 0;
}

.assortment-img-placeholder::after {
    content: 'Фото';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 0;
}

.assortment-img-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    display: block;
}

.assortment-card h4 {
    padding: 20px 20px 10px;
    font-size: 1.1rem;
}

.assortment-card p {
    padding: 0 20px 20px;
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Services List */
.services-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 800px;
    margin: 0 auto;
}

.service-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background: var(--light-gray);
    border-radius: var(--radius-md);
    transition: all var(--transition-base);
}

.service-item:hover {
    background: var(--white);
    box-shadow: var(--shadow-md);
}

.service-item svg {
    stroke: var(--primary);
    flex-shrink: 0;
}

.service-item span {
    font-weight: 500;
}

/* =============================================
   PRICES SECTION
   ============================================= */
.prices {
    padding: var(--section-padding) 0;
    background: var(--light-gray);
}

.prices-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
    align-items: stretch;
}

.price-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 40px 30px;
    text-align: center;
    box-shadow: var(--shadow-card);
    transition: all var(--transition-base);
    position: relative;
    display: flex;
    flex-direction: column;
}

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

.price-card.popular {
    transform: scale(1.05);
    border: 3px solid var(--primary);
    z-index: 1;
}

.price-card.popular:hover {
    transform: scale(1.05) translateY(-10px);
}

.popular-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient-primary);
    color: var(--white);
    padding: 8px 25px;
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 600;
    white-space: nowrap;
}

.price-header {
    margin-bottom: 30px;
}

.price-name {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.price-value {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 5px;
}

.price-from {
    font-size: 1rem;
    color: var(--text-light);
}

.price-amount {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary);
}

.price-unit {
    font-size: 1rem;
    color: var(--text-light);
}

.price-features {
    flex-grow: 1;
    margin-bottom: 30px;
}

.price-features li {
    padding: 12px 0;
    border-bottom: 1px solid var(--medium-gray);
    color: var(--text-light);
}

.price-features li:last-child {
    border-bottom: none;
}

.prices-info {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin-top: 50px;
    padding: 30px;
    background: var(--white);
    border-radius: var(--radius-lg);
}

.prices-info-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.info-label {
    color: var(--text-light);
    font-size: 0.95rem;
}

.info-value {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--dark-gray);
}

.info-value small {
    font-weight: 400;
    color: var(--text-light);
}

/* =============================================
   PORTFOLIO SECTION
   ============================================= */
.portfolio {
    padding: var(--section-padding) 0;
}

.portfolio-filter {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 25px;
    font-weight: 500;
    color: var(--text-light);
    background: var(--light-gray);
    border-radius: var(--radius-full);
    transition: all var(--transition-base);
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--gradient-primary);
    color: var(--white);
}

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

.portfolio-item {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    cursor: pointer;
}

.portfolio-img-placeholder {
    height: 280px;
    background: linear-gradient(135deg, #e8e8e8 0%, #d0d0d0 100%);
    position: relative;
    overflow: hidden;
}

.portfolio-img-placeholder::after {
    content: 'Фото кухни';
    color: #888;
    font-size: 1rem;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 0;
}

.portfolio-img-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    display: block;
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(44, 62, 80, 0.95) 0%, rgba(44, 62, 80, 0) 60%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 25px;
    opacity: 0;
    transition: opacity var(--transition-base);
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-item:hover .portfolio-img-placeholder {
    transform: scale(1.1);
}

.portfolio-info {
    color: var(--white);
}

.portfolio-info h4 {
    color: var(--white);
    font-size: 1.25rem;
    margin-bottom: 8px;
}

.portfolio-info p {
    font-size: 0.9rem;
    opacity: 0.9;
    margin-bottom: 8px;
}

.portfolio-price {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--secondary);
}

.portfolio-zoom {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--white);
    border-radius: 50%;
    opacity: 0;
    transform: scale(0.8);
    transition: all var(--transition-base);
}

.portfolio-zoom svg {
    stroke: var(--dark-gray);
}

.portfolio-item:hover .portfolio-zoom {
    opacity: 1;
    transform: scale(1);
}

.portfolio-zoom:hover {
    background: var(--primary);
}

.portfolio-zoom:hover svg {
    stroke: var(--white);
}

/* =============================================
   HOW WE WORK SECTION
   ============================================= */
.how-we-work {
    padding: var(--section-padding) 0;
    background: var(--light-gray);
}

.timeline {
    position: relative;
    max-width: 900px;
    margin: 60px auto 0;
}

.timeline-line {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--medium-gray);
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    display: flex;
    align-items: center;
    margin-bottom: 50px;
}

.timeline-item:nth-child(odd) {
    flex-direction: row-reverse;
}

.timeline-item:nth-child(odd) .timeline-content {
    text-align: right;
    padding-right: 80px;
    padding-left: 0;
}

.timeline-item:nth-child(even) .timeline-content {
    text-align: left;
    padding-left: 80px;
}

.timeline-number {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    color: var(--white);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.25rem;
    border-radius: 50%;
    z-index: 1;
    box-shadow: var(--shadow-md);
}

.timeline-content {
    flex: 1;
    background: var(--white);
    padding: 30px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-card);
}

.timeline-icon {
    width: 60px;
    height: 60px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 107, 53, 0.1);
    border-radius: 50%;
    margin-bottom: 15px;
}

.timeline-icon svg {
    stroke: var(--primary);
}

.timeline-content h4 {
    font-size: 1.25rem;
    margin-bottom: 10px;
}

.timeline-content p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* =============================================
   LEAD FORM SECTION
   ============================================= */
.lead-form-section {
    padding: var(--section-padding) 0;
    background: var(--gradient-primary);
    position: relative;
    overflow: hidden;
}

.lead-form-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.lead-form-section::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
}

.lead-form-wrapper {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.lead-form-content {
    color: var(--white);
}

.lead-form-title {
    font-size: 2.5rem;
    color: var(--white);
    margin-bottom: 15px;
}

.lead-form-subtitle {
    font-size: 1.125rem;
    opacity: 0.9;
    margin-bottom: 30px;
}

.lead-form-benefits {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.lead-form-benefits li {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 1.1rem;
}

.lead-form-benefits svg {
    stroke: var(--white);
    flex-shrink: 0;
}

.lead-form {
    background: var(--white);
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.form-group {
    position: relative;
    margin-bottom: 25px;
}

.form-group input {
    width: 100%;
    padding: 18px 20px;
    border: 2px solid var(--medium-gray);
    border-radius: var(--radius-md);
    font-size: 1rem;
    transition: all var(--transition-base);
    background: var(--white);
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(255, 107, 53, 0.1);
}

.form-group label {
    position: absolute;
    top: 50%;
    left: 20px;
    transform: translateY(-50%);
    color: var(--text-light);
    pointer-events: none;
    transition: all var(--transition-base);
    background: var(--white);
    padding: 0 5px;
}

.form-group input:focus + label,
.form-group input:not(:placeholder-shown) + label {
    top: 0;
    font-size: 0.85rem;
    color: var(--primary);
}

.form-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 25px;
}

.form-checkbox input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin-top: 2px;
    accent-color: var(--primary);
    cursor: pointer;
}

.form-checkbox label {
    font-size: 0.95rem;
    color: var(--text-light);
    cursor: pointer;
}

.form-privacy {
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-light);
    margin-top: 15px;
}

.form-privacy a {
    color: var(--primary);
    text-decoration: underline;
}

/* =============================================
   FAQ SECTION
   ============================================= */
.faq {
    padding: var(--section-padding) 0;
}

.faq-list {
    max-width: 800px;
    margin: 50px auto 0;
}

.faq-item {
    margin-bottom: 15px;
    border: 1px solid var(--medium-gray);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: all var(--transition-base);
}

.faq-item:hover {
    border-color: var(--primary);
}

.faq-question {
    width: 100%;
    padding: 20px 25px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-align: left;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--dark-gray);
    background: var(--white);
    transition: all var(--transition-base);
}

.faq-question:hover {
    color: var(--primary);
}

.faq-question svg {
    stroke: var(--primary);
    flex-shrink: 0;
    transition: transform var(--transition-base);
}

.faq-item.active .faq-question svg {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-base);
}

.faq-answer p {
    padding: 0 25px 20px;
    color: var(--text-light);
    line-height: 1.7;
}

.faq-item.active .faq-answer {
    max-height: 300px;
}

/* =============================================
   CONTACTS SECTION
   ============================================= */
.contacts {
    padding: var(--section-padding) 0;
    background: var(--light-gray);
}

.contacts-grid {
    display: flex;
    justify-content: center;
    margin-top: 50px;
}

.contacts-info {
    display: flex;
    flex-direction: column;
    gap: 25px;
    max-width: 600px;
    width: 100%;
}

.contact-item {
    display: flex;
    gap: 20px;
}

.contact-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--white);
    border-radius: 50%;
    box-shadow: var(--shadow-sm);
    flex-shrink: 0;
}

.contact-icon svg {
    stroke: var(--primary);
}

.contact-text {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.contact-label {
    font-size: 0.9rem;
    color: var(--text-light);
}

.contact-text a {
    font-weight: 600;
    color: var(--dark-gray);
}

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

.messengers {
    margin-top: 10px;
}

.messenger-buttons {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

.messenger-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 25px;
    border-radius: var(--radius-full);
    font-weight: 600;
    color: var(--white);
    transition: all var(--transition-base);
}

.messenger-btn.max {
    background: #2688EB;
}

.messenger-btn.max:hover {
    background: #1a73d4;
    transform: translateY(-2px);
}

.messenger-btn.telegram {
    background: #0088cc;
}

.messenger-btn.telegram:hover {
    background: #0077b5;
    transform: translateY(-2px);
}

.contacts-map {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.map-placeholder {
    height: 400px;
    background: linear-gradient(135deg, #e0e0e0 0%, #c8c8c8 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #888;
    font-size: 1.25rem;
}

/* =============================================
   FOOTER
   ============================================= */
.footer {
    background: var(--dark-gray);
    padding: 40px 0;
    position: relative;
}

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

.footer .logo-placeholder {
    background: linear-gradient(135deg, #fff 0%, #ccc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    transition: color var(--transition-fast);
}

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

.footer-copyright {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

/* Scroll to Top */
.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    color: var(--white);
    border-radius: 50%;
    box-shadow: var(--shadow-md);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-base);
    z-index: 1000;
}

.scroll-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.scroll-top svg {
    stroke: var(--white);
}

/* =============================================
   MODALS
   ============================================= */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-base);
}

.modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
}

.modal-content {
    position: relative;
    background: var(--white);
    padding: 40px;
    border-radius: var(--radius-lg);
    max-width: 450px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    transform: scale(0.9) translateY(20px);
    transition: transform var(--transition-base);
}

.modal.active .modal-content {
    transform: scale(1) translateY(0);
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all var(--transition-fast);
}

.modal-close:hover {
    background: var(--light-gray);
}

.modal-close svg {
    stroke: var(--text-light);
}

.modal-content h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    text-align: center;
}

.modal-content > p {
    text-align: center;
    color: var(--text-light);
    margin-bottom: 30px;
}

.callback-form .form-group {
    margin-bottom: 20px;
}

/* Success Modal */
.modal-success {
    text-align: center;
}

.success-icon {
    margin-bottom: 20px;
}

.success-icon svg {
    stroke: var(--success);
}

/* Privacy Modal */
.modal-privacy {
    max-width: 600px;
}

.privacy-content {
    max-height: 400px;
    overflow-y: auto;
    padding-right: 10px;
}

.privacy-content h4 {
    margin: 20px 0 10px;
    font-size: 1.1rem;
}

.privacy-content p {
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 10px;
}
