/* ===========================================
   COMPONENTS — Buttons, Cards, Process, CTA, Breadcrumbs
   =========================================== */

/* --- Buttons --- */
.btn {
    padding: 15px 40px;
    font-size: 18px;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    font-family: 'Hero', 'Georgia', serif;
    position: relative;
    overflow: hidden;
    will-change: transform;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%; left: 50%;
    width: 0; height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:hover::before { width: 300px; height: 300px; }

.btn-primary {
    background: linear-gradient(135deg, #d4af37, #b59567);
    color: #1a1a1a;
    border: 2px solid #d4af37;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.6);
}

.btn-secondary {
    background: transparent;
    color: #d4af37;
    border: 2px solid #d4af37;
}

.btn-secondary:hover {
    background: linear-gradient(135deg, #d4af37, #b59567);
    color: #1a1a1a;
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.6);
}

/* --- Benefit Cards --- */
.benefits {
    padding: 80px 0;
    background: #1a1a1a;
    position: relative;
}

.benefits::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.2), transparent);
}

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

.benefit-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(212, 175, 55, 0.15);
    border-radius: 16px;
    padding: 40px 30px;
    text-align: center;
    transition: opacity 0.7s ease, transform 0.7s ease, border-color 0.8s ease, box-shadow 0.8s ease, background 0.8s ease;
    opacity: 0;
    transform: translateY(40px);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
}

.benefit-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, #d4af37, #b59567);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.benefit-card:hover::before { opacity: 1; }

.benefit-card.visible { opacity: 1; transform: translateY(0); }

.benefit-card.glow-active {
    border-color: rgba(212, 175, 55, 0.35);
    box-shadow: 0 8px 30px rgba(212, 175, 55, 0.12);
    background: rgba(212, 175, 55, 0.05);
}

.benefit-card.glow-active .benefit-icon { animation: pulse 1.5s infinite; }

.benefit-card:hover {
    transform: translateY(-10px);
    border-color: rgba(212, 175, 55, 0.4);
    box-shadow: 0 12px 35px rgba(212, 175, 55, 0.2);
    background: rgba(212, 175, 55, 0.06);
}

.benefit-icon { margin-bottom: 20px; transition: transform 0.3s ease; }

.benefit-card:hover .benefit-icon {
    transform: scale(1.1) rotate(5deg);
    animation: pulse 1.5s infinite;
}

.benefit-icon img {
    height: 80px;
    width: auto;
    filter: brightness(0) saturate(100%) invert(77%) sepia(48%) saturate(458%) hue-rotate(3deg) brightness(92%) contrast(87%);
}

.benefit-title { font-size: 24px; color: #d4af37; margin-bottom: 12px; font-weight: normal; }
.benefit-text  { font-size: 15px; color: #c0b8a8; line-height: 1.7; }

/* --- Service Cards --- */
.services-section {
    padding: 80px 0;
    background: #1a1a1a;
    position: relative;
}

.services-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.2), transparent);
}

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

.services-grid-single { grid-template-columns: 1fr; max-width: 500px; }

.service-card {
    background: linear-gradient(145deg, rgba(212, 175, 55, 0.04), rgba(26, 26, 26, 0.8));
    border: 2px solid rgba(212, 175, 55, 0.2);
    border-radius: 24px;
    padding: 45px 35px;
    text-align: center;
    transition: opacity 0.7s ease, transform 0.7s ease, border-color 0.8s ease, box-shadow 0.8s ease, background 0.8s ease;
    opacity: 0;
    transform: translateY(40px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.service-card.visible { opacity: 1; transform: translateY(0); }

.service-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.5), transparent);
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: #d4af37;
    box-shadow: 0 15px 40px rgba(212, 175, 55, 0.3), 0 0 30px rgba(212, 175, 55, 0.15);
    background: rgba(212, 175, 55, 0.1);
}

.service-card.glow-active {
    border-color: rgba(212, 175, 55, 0.35);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.12), 0 0 20px rgba(212, 175, 55, 0.08);
    background: rgba(212, 175, 55, 0.06);
}

.service-card.glow-active .service-card-icon {
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.4);
    animation: pulse 1.5s infinite;
}

.service-card-icon {
    width: 80px; height: 80px;
    border-radius: 50%;
    background: rgba(212, 175, 55, 0.1);
    border: 2px solid rgba(212, 175, 55, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    color: #d4af37;
    transition: all 0.3s ease;
}

.service-card:hover .service-card-icon {
    background: rgba(212, 175, 55, 0.2);
    border-color: #d4af37;
    transform: scale(1.1);
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.4);
}

.service-card-title { font-size: 26px; color: #d4af37; margin-bottom: 15px; font-weight: normal; }
.service-card-text  { font-size: 16px; color: #e0e0e0; line-height: 1.7; margin-bottom: 20px; }

.service-card-price {
    font-size: 22px; color: #f5f5f5; font-weight: bold;
    margin-bottom: 25px; padding: 8px 20px;
    background: rgba(212, 175, 55, 0.1);
    border-radius: 30px;
    border: 1px solid rgba(212, 175, 55, 0.3);
}

.service-card .btn { margin-top: auto; }

/* --- Process Steps (Sticky Horizontal Scroll) --- */
.process {
    position: relative;
    background: #1a1a1a;
}

.process::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.2), transparent);
}

/* Outer wrapper — tall to create scroll room */
.process-scroll-wrapper {
    height: 250vh;
    position: relative;
}

/* Sticky viewport */
.process-sticky {
    position: sticky;
    top: 0;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
    padding: 0 20px;
}

.process-sticky .section-title {
    flex-shrink: 0;
    margin-bottom: 50px;
}

/* Horizontal track */
.process-track {
    display: flex;
    gap: 30px;
    will-change: transform;
    counter-reset: step;
    padding-left: calc(50vw - 150px);
    padding-right: calc(50vw - 150px);
}

.process-step {
    flex: 0 0 300px;
    position: relative;
    z-index: 1;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(212, 175, 55, 0.1);
    border-radius: 16px;
    padding: 32px 24px 28px;
    text-align: center;
    transition: border-color 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
    counter-increment: step;
    opacity: 1;
    transform: none;
}

.process-step.visible {
    opacity: 1;
    transform: none;
}

.process-step.step-active {
    border-color: rgba(212, 175, 55, 0.35);
    background: rgba(212, 175, 55, 0.06);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2), 0 0 20px rgba(212, 175, 55, 0.08);
}

/* Connector arrows between steps */
.process-step:not(:last-child)::after {
    content: '›';
    position: absolute;
    right: -20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 24px;
    color: rgba(212, 175, 55, 0.3);
    z-index: 2;
}

.process-step-icon {
    width: 64px; height: 64px;
    border-radius: 50%;
    background: rgba(212, 175, 55, 0.08);
    border: 1px solid rgba(212, 175, 55, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 18px;
    color: #d4af37;
    position: relative;
    transition: all 0.3s ease;
}

.process-step-icon svg {
    width: 28px;
    height: 28px;
}

/* Step number badge */
.process-step-icon::after {
    content: counter(step);
    position: absolute;
    top: -6px; right: -6px;
    width: 22px; height: 22px;
    border-radius: 50%;
    background: linear-gradient(135deg, #d4af37, #b59567);
    color: #1a1a1a;
    font-size: 12px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.process-step.step-active .process-step-icon {
    background: rgba(212, 175, 55, 0.15);
    border-color: rgba(212, 175, 55, 0.4);
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.15);
    transform: scale(1.08);
}

.process-step-title {
    font-size: 18px;
    color: #d4af37;
    margin-bottom: 8px;
    font-weight: normal;
}

.process-step-text {
    font-size: 14px;
    color: #b0a898;
    line-height: 1.65;
}

/* Progress bar under steps */
.process-progress {
    margin-top: 40px;
    height: 2px;
    background: rgba(212, 175, 55, 0.1);
    border-radius: 1px;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
    overflow: hidden;
}

.process-progress-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #d4af37, #b59567);
    border-radius: 1px;
    transition: width 0.1s linear;
}

/* --- CTA Banner --- */
.cta-banner {
    padding: 80px 0;
    background: #1a1a1a;
    position: relative;
    overflow: hidden;
}

.cta-banner::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.2), transparent);
    z-index: 1;
}

.cta-banner-content {
    position: relative; z-index: 1;
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
    padding: 50px 40px;
    background: rgba(212, 175, 55, 0.05);
    border: 2px solid rgba(212, 175, 55, 0.25);
    border-radius: 24px;
    backdrop-filter: blur(10px);
}

.cta-banner-title { font-size: 32px; color: #d4af37; margin-bottom: 15px; font-weight: normal; }
.cta-banner-text  { font-size: 18px; color: #e0e0e0; margin-bottom: 30px; line-height: 1.6; }

.cta-banner-actions {
    display: flex; gap: 20px;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.cta-banner-phone {
    color: #d4af37;
    text-decoration: none;
    font-size: 20px;
    font-weight: bold;
    transition: color 0.3s;
}

.cta-banner-phone:hover { color: #f5f5f5; }

/* --- Breadcrumbs --- */
.breadcrumbs {
    position: absolute;
    top: 115px;
    left: 0; right: 0;
    padding: 0 20px;
    z-index: 2;
}

.breadcrumbs ol {
    list-style: none;
    display: flex; gap: 8px;
    max-width: 1200px;
    margin: 0 auto;
    font-size: 14px;
    color: #777;
}

.breadcrumbs li::after { content: '›'; margin-left: 8px; color: rgba(212, 175, 55, 0.4); }
.breadcrumbs li:last-child::after { content: ''; }
.breadcrumbs li:last-child { color: #c0b8a8; }
.breadcrumbs a { color: rgba(212, 175, 55, 0.7); text-decoration: none; transition: color 0.3s; }
.breadcrumbs a:hover { color: #d4af37; }

/* --- Before/After Slider --- */
.before-after {
    padding: 80px 0;
    background: #1a1a1a;
    position: relative;
}

.before-after::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.2), transparent);
}

.before-after-subtitle {
    text-align: center;
    font-size: 16px;
    color: #999;
    margin: -24px auto 40px;
    max-width: 500px;
}

.ba-slider {
    position: relative;
    max-width: 600px;
    margin: 0 auto;
    aspect-ratio: 4 / 3;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(212, 175, 55, 0.15);
    cursor: ew-resize;
    user-select: none;
    -webkit-user-select: none;
    touch-action: none;
}

.ba-image {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: #1e1b18;
}

.ba-before {
    z-index: 1;
    clip-path: inset(0 50% 0 0);
}

.ba-after {
    z-index: 0;
}

/* Ensure images fill container */
.ba-image img {
    width: 100%; height: 100%;
    object-fit: cover;
    pointer-events: none;
    display: block;
}

/* Placeholder styles */
.ba-placeholder {
    width: 100%; height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-size: 16px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.ba-placeholder-before {
    background: linear-gradient(135deg, #2a2520, #1e1b18);
    color: rgba(200, 180, 140, 0.4);
}

.ba-placeholder-after {
    background: linear-gradient(135deg, #2a2825, #1e1d1b);
    color: rgba(212, 195, 160, 0.5);
}

.ba-placeholder svg {
    opacity: 0.4;
}

/* Labels */
.ba-label {
    position: absolute;
    bottom: 16px;
    padding: 4px 14px;
    font-size: 12px;
    letter-spacing: 1px;
    text-transform: uppercase;
    border-radius: 20px;
    z-index: 3;
    pointer-events: none;
}

.ba-label-before {
    left: 16px;
    background: rgba(26, 26, 26, 0.8);
    color: #c0b8a8;
    border: 1px solid rgba(212, 175, 55, 0.2);
}

.ba-label-after {
    right: 16px;
    background: rgba(212, 175, 55, 0.15);
    color: #d4af37;
    border: 1px solid rgba(212, 175, 55, 0.3);
}

/* Handle */
.ba-handle {
    position: absolute;
    top: 0; bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    z-index: 5;
    display: flex;
    flex-direction: column;
    align-items: center;
    pointer-events: none;
}

.ba-handle-line {
    flex: 1;
    width: 2px;
    background: rgba(212, 175, 55, 0.6);
}

.ba-handle-circle {
    width: 44px; height: 44px;
    border-radius: 50%;
    background: rgba(26, 26, 26, 0.9);
    border: 2px solid #d4af37;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #d4af37;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.4), 0 0 15px rgba(212, 175, 55, 0.2);
    flex-shrink: 0;
    pointer-events: auto;
    cursor: ew-resize;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.ba-handle-circle:hover {
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.5), 0 0 25px rgba(212, 175, 55, 0.35);
    transform: scale(1.1);
}

/* Ensure images fill container */
.ba-image img {
    width: 100%; height: 100%;
    object-fit: cover;
    pointer-events: none;
    display: block;
}

/* Fallback while loading */
.ba-before { background: #2a2520; }
.ba-after { background: #2a2825; }

/* --- Equipment Section --- */
.equipment {
    padding: 80px 0;
    background: #1a1a1a;
    position: relative;
}

.equipment::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.2), transparent);
}

.equipment-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    max-width: 1100px;
    margin: 0 auto;
}

/* Reverse layout — info on left, image on right */
.equipment-reverse .equipment-info  { order: 1; }
.equipment-reverse .equipment-image { order: 2; }

.equipment-image {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 400px;
}

/* Animated glow halo behind device */
.equipment-glow {
    position: absolute;
    inset: 10%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.15) 0%, rgba(212, 175, 55, 0.04) 50%, transparent 75%);
    filter: blur(40px);
    animation: equipmentPulse 5s ease-in-out infinite;
    z-index: 0;
}

@keyframes equipmentPulse {
    0%, 100% { opacity: 0.7; transform: scale(1); }
    50%      { opacity: 1; transform: scale(1.08); }
}

.equipment-image img {
    position: relative;
    z-index: 1;
    max-width: 100%;
    max-height: 500px;
    width: auto;
    height: auto;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.5));
    animation: equipmentFloat 6s ease-in-out infinite;
}

@keyframes equipmentFloat {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-12px); }
}

.equipment-info {
    text-align: left;
}

.equipment-badge {
    display: inline-block;
    padding: 6px 14px;
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid rgba(212, 175, 55, 0.25);
    border-radius: 20px;
    color: #d4af37;
    font-size: 12px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.equipment-name {
    font-family: 'Optimus', 'Georgia', serif;
    font-size: 48px;
    font-weight: 300;
    color: #d4af37;
    margin-bottom: 8px;
    letter-spacing: 4px;
    background: linear-gradient(135deg, #f0d27a, #d4af37, #9c7a3a);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.equipment-tagline {
    font-size: 16px;
    color: #c0b8a8;
    margin-bottom: 24px;
    letter-spacing: 0.5px;
}

.equipment-description {
    font-size: 15px;
    color: #b0a898;
    line-height: 1.8;
    margin-bottom: 28px;
}

.equipment-features {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.equipment-features li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: #c0b8a8;
    font-size: 14px;
    line-height: 1.6;
}

.equipment-features svg {
    color: #d4af37;
    flex-shrink: 0;
    margin-top: 2px;
}
