/* Animated background shapes */

.has-bg-shapes {
    position: relative;
    overflow: hidden;
}

.has-bg-shapes > .container,
.has-bg-shapes > .home-contact-wrapper,
.hero-section > .container {
    position: relative;
    z-index: 2;
}

.bg-shapes {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

/* Blobs */
.bg-blob {
    position: absolute;
    border-radius: 50%;
    will-change: transform;
}

.bg-blob--orange-lg {
    width: 420px;
    height: 420px;
    top: -15%;
    right: -8%;
    background: radial-gradient(circle, rgba(232, 148, 26, 0.35) 0%, transparent 70%);
    filter: blur(2px);
}

.bg-blob--green-md {
    width: 320px;
    height: 320px;
    bottom: -10%;
    left: -6%;
    background: radial-gradient(circle, rgba(46, 125, 50, 0.3) 0%, transparent 70%);
}

.bg-blob--orange-sm {
    width: 140px;
    height: 140px;
    top: 40%;
    left: 35%;
    background: radial-gradient(circle, rgba(232, 148, 26, 0.2) 0%, transparent 70%);
}

.bg-blob--soft-orange {
    width: 280px;
    height: 280px;
    top: -20%;
    right: -5%;
    background: radial-gradient(circle, rgba(232, 148, 26, 0.12) 0%, transparent 70%);
}

.bg-blob--soft-green {
    width: 220px;
    height: 220px;
    bottom: -15%;
    left: -5%;
    background: radial-gradient(circle, rgba(27, 94, 32, 0.1) 0%, transparent 70%);
}

.bg-blob--glow-orange {
    width: 300px;
    height: 300px;
    top: -20%;
    right: 5%;
    background: radial-gradient(circle, rgba(232, 148, 26, 0.22) 0%, transparent 70%);
}

.bg-blob--glow-green {
    width: 250px;
    height: 250px;
    bottom: -15%;
    left: -8%;
    background: radial-gradient(circle, rgba(76, 175, 80, 0.15) 0%, transparent 70%);
}

.bg-blob--cta-1 {
    width: 350px;
    height: 350px;
    top: -40%;
    left: -10%;
    background: radial-gradient(circle, rgba(232, 148, 26, 0.2) 0%, transparent 70%);
}

.bg-blob--cta-2 {
    width: 280px;
    height: 280px;
    bottom: -35%;
    right: -5%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.08) 0%, transparent 70%);
}

.bg-blob--contact-1 {
    width: 200px;
    height: 200px;
    top: 5%;
    right: -10%;
    background: radial-gradient(circle, rgba(232, 148, 26, 0.25) 0%, transparent 70%);
}

.bg-blob--contact-2 {
    width: 160px;
    height: 160px;
    bottom: 10%;
    left: -8%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.08) 0%, transparent 70%);
}

.bg-blob--page-1 {
    width: 300px;
    height: 300px;
    top: -30%;
    right: -5%;
    background: radial-gradient(circle, rgba(232, 148, 26, 0.18) 0%, transparent 70%);
}

.bg-blob--page-2 {
    width: 200px;
    height: 200px;
    bottom: -25%;
    left: 10%;
    background: radial-gradient(circle, rgba(46, 125, 50, 0.15) 0%, transparent 70%);
}

/* Rings */
.bg-ring {
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.12);
    will-change: transform;
}

.bg-ring--1 {
    width: 180px;
    height: 180px;
    top: 18%;
    right: 22%;
}

.bg-ring--2 {
    width: 100px;
    height: 100px;
    bottom: 25%;
    left: 12%;
    border-color: rgba(232, 148, 26, 0.25);
}

.bg-ring--light {
    width: 120px;
    height: 120px;
    top: 20%;
    right: 15%;
    border-color: rgba(232, 148, 26, 0.15);
}

.bg-ring--dark {
    width: 150px;
    height: 150px;
    top: 15%;
    left: 8%;
    border-color: rgba(255, 255, 255, 0.1);
}

.bg-ring--cta {
    width: 200px;
    height: 200px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-color: rgba(255, 255, 255, 0.1);
}

.bg-ring--contact {
    width: 130px;
    height: 130px;
    bottom: 15%;
    right: 10%;
    border-color: rgba(232, 148, 26, 0.2);
}

.bg-ring--page {
    width: 160px;
    height: 160px;
    top: 30%;
    right: 20%;
    border-color: rgba(255, 255, 255, 0.12);
}

/* Particles (small dots) */
.bg-particle {
    position: absolute;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(232, 148, 26, 0.5);
    will-change: transform;
}

.bg-particle--1 { top: 25%; left: 20%; width: 6px; height: 6px; }
.bg-particle--2 { top: 60%; right: 30%; background: rgba(255, 255, 255, 0.35); width: 5px; height: 5px; }
.bg-particle--3 { bottom: 30%; left: 45%; width: 7px; height: 7px; }
.bg-particle--4 { top: 15%; right: 45%; background: rgba(255, 255, 255, 0.3); width: 4px; height: 4px; }

.bg-particle--light-1 { top: 30%; right: 20%; background: rgba(232, 148, 26, 0.35); }
.bg-particle--light-2 { bottom: 25%; left: 25%; background: rgba(27, 94, 32, 0.3); width: 6px; height: 6px; }

.bg-particle--dark-1 { top: 20%; right: 25%; }
.bg-particle--dark-2 { bottom: 35%; left: 15%; background: rgba(255, 255, 255, 0.4); width: 5px; height: 5px; }
.bg-particle--dark-3 { top: 55%; right: 10%; width: 6px; height: 6px; }

.bg-particle--cta-1 { top: 20%; left: 20%; background: rgba(255, 255, 255, 0.35); }
.bg-particle--cta-2 { bottom: 25%; right: 25%; }

/* Floating icons */
.bg-float-icon {
    position: absolute;
    font-size: 2rem;
    color: rgba(232, 148, 26, 0.2);
    will-change: transform;
}

.bg-shapes--hero .bg-float-icon {
    top: 22%;
    left: 8%;
    font-size: 2.5rem;
}

.bg-float-icon--2 {
    bottom: 20%;
    right: 12%;
    font-size: 1.75rem;
    color: rgba(255, 255, 255, 0.15);
}

.bg-float-icon--dark {
    top: 12%;
    right: 15%;
    font-size: 3rem;
    color: rgba(232, 148, 26, 0.15);
}

.bg-float-icon--contact {
    top: 8%;
    left: 5%;
    font-size: 2.2rem;
    color: rgba(232, 148, 26, 0.12);
}

/* CTA & page hero positioning */
.cta-section {
    position: relative;
    overflow: hidden;
}

.cta-section > .container {
    position: relative;
    z-index: 2;
}

.page-hero {
    position: relative;
    overflow: hidden;
}

.page-hero > .container {
    position: relative;
    z-index: 2;
}

.home-contact-aside .bg-shapes {
    z-index: 0;
}

.solar-calculator-section {
    position: relative;
    overflow: hidden;
}

.solar-calculator-section > .container {
    position: relative;
    z-index: 2;
}

@media (prefers-reduced-motion: reduce) {
    .bg-shapes {
        display: none;
    }
}

@media (max-width: 767.98px) {
    .bg-blob--orange-lg,
    .bg-blob--cta-1 {
        width: 260px;
        height: 260px;
    }

    .bg-float-icon,
    .bg-ring--2 {
        display: none;
    }
}
