/* ========================================================================
   Business Page — Shared Structural Styles (bp- prefix)
   Каждая страница переопределяет CSS-переменные в своём style.css
   ======================================================================== */

:root {
    --bp-primary: #e6c27a;
    --bp-primary-hover: #f3d494;
    --bp-secondary: #72543a;
    --bp-accent: #d4af37;
    --bp-dark: #0d0a07;
    --bp-dark-card: rgba(22, 17, 13, 0.7);
    --bp-glass: rgba(255, 255, 255, 0.035);
    --bp-glass-hover: rgba(230, 194, 122, 0.08);
    --bp-glass-border: rgba(255, 255, 255, 0.12);
    --bp-glass-border-hover: rgba(230, 194, 122, 0.4);
    --bp-text-light: #ffffff;
    --bp-text-muted: rgba(255, 255, 255, 0.72);
    --bp-primary-gradient: linear-gradient(135deg, #e6c27a 0%, #d4af37 50%, #8f683a 100%);
    --bp-glow: 0 8px 32px rgba(230, 194, 122, 0.2);
}

/* ---- Base Wrapper & Dynamic Canvas Background ---- */
.dynamic-bg-container {
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    background: var(--bp-dark);
}

#dynamic-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

.bp-page-wrapper {
    position: relative;
    width: 100%;
    color: var(--bp-text-light);
    overflow-x: hidden;
    z-index: 1;
}

.bp-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    box-sizing: border-box;
}

/* ---- Background Glows ---- */
.bp-bg-glow {
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(230, 194, 122, 0.08) 0%, rgba(114, 84, 58, 0.02) 70%, transparent 100%);
    filter: blur(80px);
    pointer-events: none;
    z-index: 0;
}
.bp-bg-glow--top   { top: 5%; left: 50%; transform: translateX(-50%); }
.bp-bg-glow--mid   { top: 45%; right: -100px; }
.bp-bg-glow--bottom{ bottom: 10%; left: -100px; }


/* ================================================================
   1. HERO SECTION
   ================================================================ */
.bp-hero {
    position: relative;
    padding: 130px 0 70px;
    text-align: center;
    z-index: 1;
}

.bp-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    border-radius: 50px;
    background: rgba(230, 194, 122, 0.12);
    border: 1px solid var(--bp-glass-border);
    color: var(--bp-primary);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 24px;
    backdrop-filter: blur(10px);
}

.bp-hero-title {
    font-size: 3.8rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.bp-gradient-text {
    background: var(--bp-primary-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.bp-hero-subtitle {
    font-size: 1.25rem;
    color: var(--bp-text-muted);
    max-width: 780px;
    margin: 0 auto 36px;
    line-height: 1.7;
}

.bp-hero-actions {
    display: flex;
    justify-content: center;
    gap: 18px;
    flex-wrap: wrap;
    margin-bottom: 50px;
}

.bp-btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 36px;
    background: var(--bp-primary-gradient);
    color: #1a120b;
    font-weight: 700;
    font-size: 1.05rem;
    border-radius: 12px;
    text-decoration: none;
    border: none;
    cursor: pointer;
    box-shadow: 0 10px 25px rgba(230, 194, 122, 0.35);
    transition: all 0.3s ease;
}
.bp-btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(230, 194, 122, 0.5);
    color: #0d0a07;
}

.bp-btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 32px;
    background: rgba(255, 255, 255, 0.05);
    color: var(--bp-text-light);
    font-weight: 600;
    font-size: 1.05rem;
    border-radius: 12px;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}
.bp-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--bp-primary);
    color: var(--bp-primary);
    transform: translateY(-3px);
}

/* ---- Stats Bar ---- */
.bp-stats-bar {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    max-width: 1050px;
    margin: 0 auto;
    padding: 24px 30px;
    background: var(--bp-dark-card);
    border: 1px solid var(--bp-glass-border);
    border-radius: 20px;
    backdrop-filter: blur(15px);
}
.bp-stat-item {
    text-align: center;
    padding: 10px;
    border-right: 1px solid rgba(255, 255, 255, 0.08);
}
.bp-stat-item:last-child { border-right: none; }

.bp-stat-num {
    font-size: 2rem;
    font-weight: 800;
    color: var(--bp-primary);
    margin-bottom: 4px;
}
.bp-stat-label {
    font-size: 0.88rem;
    color: var(--bp-text-muted);
}


/* ================================================================
   2. PROBLEMS / PAIN POINTS SECTION
   ================================================================ */
.bp-problems-section {
    position: relative;
    padding: 70px 0;
    z-index: 1;
}

.bp-section-head {
    text-align: center;
    margin-bottom: 50px;
    position: relative;
    z-index: 1;
}
.bp-section-head h2 {
    font-size: 2.4rem;
    font-weight: 800;
    margin-bottom: 15px;
    color: var(--bp-text-light);
}
.bp-section-head p {
    font-size: 1.1rem;
    color: var(--bp-text-muted);
    max-width: 650px;
    margin: 0 auto;
}

.bp-problems-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    max-width: 1100px;
    margin: 0 auto;
}

.bp-problem-card {
    background: rgba(231, 76, 60, 0.06);
    border: 1px solid rgba(231, 76, 60, 0.18);
    padding: 28px 24px;
    border-radius: 18px;
    display: flex;
    gap: 16px;
    align-items: flex-start;
    transition: all 0.3s ease;
}
.bp-problem-card:hover {
    background: rgba(231, 76, 60, 0.1);
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(231, 76, 60, 0.12);
}
.bp-problem-icon {
    flex-shrink: 0;
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background: rgba(231, 76, 60, 0.14);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: #e74c3c;
}
.bp-problem-card h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--bp-text-light);
    margin: 0 0 6px;
}
.bp-problem-card p {
    margin: 0;
    color: var(--bp-text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}


/* ================================================================
   3. FEATURES GRID
   ================================================================ */
.bp-features-section {
    position: relative;
    padding: 70px 0;
    z-index: 1;
}

.bp-features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
}

.bp-feature-card {
    background: var(--bp-dark-card);
    border: 1px solid var(--bp-glass-border);
    padding: 32px 28px;
    border-radius: 20px;
    backdrop-filter: blur(12px);
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}
.bp-feature-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 3px;
    background: var(--bp-primary-gradient);
    opacity: 0;
    transition: opacity 0.3s ease;
}
.bp-feature-card:hover {
    transform: translateY(-8px);
    border-color: var(--bp-glass-border-hover);
    background: rgba(35, 26, 19, 0.85);
    box-shadow: var(--bp-glow);
}
.bp-feature-card:hover::before { opacity: 1; }

.bp-card-icon {
    width: 54px;
    height: 54px;
    border-radius: 14px;
    background: rgba(230, 194, 122, 0.12);
    border: 1px solid rgba(230, 194, 122, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--bp-primary);
    margin-bottom: 20px;
}

.bp-feature-card h3 {
    color: var(--bp-text-light);
    margin-bottom: 12px;
    font-size: 1.3rem;
    font-weight: 700;
}
.bp-feature-card p {
    color: var(--bp-text-muted);
    line-height: 1.65;
    font-size: 0.95rem;
    margin: 0;
}


/* ================================================================
   4. DETAILED CONTENT ROWS (text + image)
   ================================================================ */
.bp-details-section {
    position: relative;
    padding: 60px 0;
    z-index: 1;
}

.bp-content-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 90px;
}
.bp-content-row:last-child { margin-bottom: 0; }

.bp-content-row.reverse .bp-text-col { order: 2; }
.bp-content-row.reverse .bp-media-col { order: 1; }

.bp-tag {
    display: inline-block;
    color: var(--bp-primary);
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.bp-text-col h2 {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--bp-text-light);
    margin-bottom: 20px;
    line-height: 1.25;
}
.bp-text-col p {
    font-size: 1.05rem;
    line-height: 1.75;
    color: var(--bp-text-muted);
    margin-bottom: 18px;
}

.bp-check-list {
    list-style: none;
    padding: 0;
    margin: 24px 0 0;
}
.bp-check-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--bp-text-light);
    font-size: 0.98rem;
    margin-bottom: 12px;
}
.bp-check-list li i {
    color: var(--bp-primary);
    font-size: 1.1rem;
}

.bp-media-col { position: relative; }

.bp-image-card {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid var(--bp-glass-border);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.6);
    background: var(--bp-dark-card);
}
.bp-image-card img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}
.bp-image-card:hover img { transform: scale(1.03); }

.bp-media-badge {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background: rgba(13, 10, 7, 0.85);
    border: 1px solid var(--bp-glass-border);
    padding: 12px 20px;
    border-radius: 14px;
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    gap: 12px;
}
.bp-media-badge i {
    color: var(--bp-primary);
    font-size: 1.4rem;
}
.bp-media-badge span {
    font-size: 0.88rem;
    font-weight: 600;
    color: white;
}


/* ================================================================
   5. TESTIMONIALS CAROUSEL
   ================================================================ */
.bp-testimonials-section {
    position: relative;
    padding: 70px 0;
    z-index: 1;
}

.bp-testimonials-box {
    background: var(--bp-dark-card);
    border: 1px solid var(--bp-glass-border);
    border-radius: 28px;
    padding: 60px 40px;
    backdrop-filter: blur(15px);
    max-width: 960px;
    margin: 0 auto;
    position: relative;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5);
}

.bp-quote-icon {
    font-size: 2.8rem;
    color: var(--bp-primary);
    opacity: 0.4;
    text-align: center;
    margin-bottom: 20px;
}

.bp-slider-container {
    min-height: 180px;
    position: relative;
}
.bp-testimonial-item {
    display: none;
    text-align: center;
    animation: bpFadeIn 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.bp-testimonial-item.active { display: block; }

.bp-stars {
    color: #ffc107;
    font-size: 1.1rem;
    margin-bottom: 18px;
    letter-spacing: 3px;
}
.bp-testimonial-text {
    font-size: 1.3rem;
    font-style: italic;
    color: var(--bp-text-light);
    line-height: 1.7;
    margin-bottom: 25px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}
.bp-author-name {
    color: var(--bp-primary);
    font-weight: 700;
    font-size: 1.15rem;
    margin-bottom: 4px;
}
.bp-author-role {
    color: var(--bp-text-muted);
    font-size: 0.9rem;
}
.bp-slider-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 35px;
}
.bp-nav-dot {
    width: 12px; height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    cursor: pointer;
    transition: all 0.3s ease;
}
.bp-nav-dot:hover { background: rgba(230, 194, 122, 0.6); }
.bp-nav-dot.active {
    background: var(--bp-primary);
    width: 32px;
    border-radius: 8px;
    box-shadow: 0 0 12px rgba(230, 194, 122, 0.6);
}


/* ================================================================
   6. ORDER FORM SECTION
   ================================================================ */
.bp-order-section {
    position: relative;
    padding: 80px 0 110px;
    z-index: 1;
}

.bp-order-card {
    background: var(--bp-dark-card);
    border: 1px solid var(--bp-glass-border);
    border-radius: 30px;
    padding: 60px 50px;
    backdrop-filter: blur(20px);
    max-width: 900px;
    margin: 0 auto;
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.6), var(--bp-glow);
}

.bp-order-header {
    text-align: center;
    margin-bottom: 40px;
}
.bp-order-header h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 12px;
    color: var(--bp-text-light);
}
.bp-order-header p {
    color: var(--bp-text-muted);
    font-size: 1.1rem;
    max-width: 620px;
    margin: 0 auto;
}

/* ---- Form Fields ---- */
.bp-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}
.bp-form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.bp-form-group.full-width {
    grid-column: 1 / -1;
}

.bp-form-group label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--bp-text-light);
    display: flex;
    align-items: center;
    gap: 6px;
}
.bp-form-group label .required { color: #e74c3c; }

.bp-form-input,
.bp-form-textarea {
    width: 100%;
    padding: 15px 18px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    color: #ffffff;
    font-size: 1rem;
    font-family: inherit;
    box-sizing: border-box;
    transition: all 0.3s ease;
}
.bp-form-input:focus,
.bp-form-textarea:focus {
    outline: none;
    border-color: var(--bp-primary);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 15px rgba(230, 194, 122, 0.2);
}
.bp-form-textarea {
    resize: vertical;
    min-height: 110px;
}

.bp-form-footer {
    margin-top: 30px;
    text-align: center;
}

.bp-submit-btn {
    width: 100%;
    max-width: 400px;
    padding: 18px 30px;
    font-size: 1.15rem;
    font-weight: 700;
    border-radius: 14px;
    border: none;
    background: var(--bp-primary-gradient);
    color: #160f09;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    box-shadow: 0 12px 30px rgba(230, 194, 122, 0.35);
    transition: all 0.3s ease;
}
.bp-submit-btn:hover:not(:disabled) {
    transform: translateY(-3px);
    box-shadow: 0 18px 40px rgba(230, 194, 122, 0.5);
    color: #000;
}
.bp-submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.bp-form-privacy {
    margin-top: 15px;
    font-size: 0.82rem;
    color: var(--bp-text-muted);
}
.bp-form-privacy i { color: var(--bp-primary); }

/* ---- User Badge (авторизованный пользователь) ---- */
.bp-user-badge {
    margin-bottom: 20px;
    padding: 14px 20px;
    background: rgba(230, 194, 122, 0.1);
    border: 1px solid var(--bp-glass-border);
    border-radius: 12px;
    text-align: center;
}
.bp-user-badge p {
    margin: 0;
    color: var(--bp-primary);
    font-size: 0.95rem;
}

/* ---- Alert ---- */
.bp-alert {
    display: none;
    padding: 16px 20px;
    border-radius: 12px;
    margin-top: 24px;
    font-size: 0.98rem;
    text-align: center;
    animation: bpFadeIn 0.4s ease;
}
.bp-alert.success {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: rgba(46, 204, 113, 0.15);
    border: 1px solid rgba(46, 204, 113, 0.4);
    color: #2ecc71;
}
.bp-alert.error {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: rgba(231, 76, 60, 0.15);
    border: 1px solid rgba(231, 76, 60, 0.4);
    color: #ff6b6b;
}


/* ================================================================
   ANIMATIONS
   ================================================================ */
@keyframes bpFadeIn {
    from { opacity: 0; transform: translateY(12px); }
    to   { opacity: 1; transform: translateY(0); }
}


/* ================================================================
   RESPONSIVE
   ================================================================ */
@media (max-width: 1024px) {
    .bp-features-grid  { grid-template-columns: repeat(2, 1fr); }
    .bp-problems-grid  { grid-template-columns: repeat(2, 1fr); }
    .bp-stats-bar      { grid-template-columns: repeat(2, 1fr); gap: 15px; }
    .bp-stat-item:nth-child(2) { border-right: none; }
}

@media (max-width: 860px) {
    .bp-hero           { padding: 100px 0 50px; }
    .bp-hero-title     { font-size: 2.6rem; }
    .bp-content-row    { grid-template-columns: 1fr; gap: 40px; }
    .bp-content-row.reverse .bp-text-col,
    .bp-content-row.reverse .bp-media-col { order: initial; }
    .bp-order-card     { padding: 40px 24px; }
    .bp-form-grid      { grid-template-columns: 1fr; }
    .bp-problems-grid  { grid-template-columns: 1fr; }
}

@media (max-width: 580px) {
    .bp-hero-title     { font-size: 2.1rem; }
    .bp-hero-subtitle  { font-size: 1.05rem; }
    .bp-features-grid  { grid-template-columns: 1fr; }
    .bp-problems-grid  { grid-template-columns: 1fr; }
    .bp-stats-bar      { grid-template-columns: 1fr; }
    .bp-stat-item      { border-right: none; border-bottom: 1px solid rgba(255, 255, 255, 0.08); padding-bottom: 12px; }
    .bp-stat-item:last-child { border-bottom: none; }
    .bp-testimonials-box { padding: 40px 20px; }
    .bp-testimonial-text { font-size: 1.1rem; }
    .bp-submit-btn     { width: 100%; }
}
