/* ==========================================================================
   ROOF 360 SOLUTIONS - Modular Stylesheet
   Palette: Crimson Red (#d90b16 / #a8060e), Jet Black (#0b0c10),
            Charcoal Slate (#161820), Metallic Gray (#6c727f), White (#ffffff)
   ========================================================================== */

html {
    scroll-behavior: smooth;
    scrollbar-width: thin;
    scrollbar-color: #d90b16 #101218;
}

.r360-body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    color: #1a1d24;
    background-color: #0b0c10;
    overflow-x: hidden;
    line-height: 1.65;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Outfit', sans-serif;
    letter-spacing: -0.02em;
}

/* ==========================================================================
   Buttons & Interactive Accents (Adapted Uiverse btn-17 Motion)
   ========================================================================== */
.r360-btn-primary,
.r360-btn-outline-light {
    appearance: button;
    cursor: pointer;
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 0.9rem;
    letter-spacing: 0.05em;
    line-height: 1.4;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 99rem;
    border-width: 2px;
    border-style: solid;
    padding: 0.82rem 2.15rem;
    position: relative;
    overflow: hidden;
    z-index: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: box-shadow 0.25s ease, transform 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.r360-btn-primary.btn-lg,
.r360-btn-outline-light.btn-lg {
    padding: 0.92rem 2.5rem;
    font-size: 0.96rem;
}

.r360-btn-nav {
    padding: 0.62rem 1.45rem;
    font-size: 0.84rem;
}

.r360-btn-primary {
    background-color: #d90b16;
    border-color: #d90b16;
    color: #ffffff;
    box-shadow: 0 10px 24px rgba(217, 11, 22, 0.3);
}

.r360-btn-primary:hover,
.r360-btn-primary:focus {
    color: #ffffff;
    border-color: #d90b16;
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(217, 11, 22, 0.42);
}

.r360-btn-outline-light {
    background-color: rgba(11, 12, 16, 0.72);
    border-color: rgba(255, 255, 255, 0.65);
    color: #ffffff;
    backdrop-filter: blur(8px);
}

.r360-btn-outline-light:hover,
.r360-btn-outline-light:focus {
    color: #0b0c10;
    border-color: #ffffff;
    transform: translateY(-2px);
}

.r360-btn-wrap {
    overflow: hidden;
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.r360-btn-text {
    display: inline-flex;
    align-items: center;
    position: relative;
}

.r360-btn-primary:hover .r360-btn-text,
.r360-btn-outline-light:hover .r360-btn-text {
    animation: r360-move-up-alternate 0.3s forwards;
}

@keyframes r360-move-up-alternate {
    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(80%);
    }

    51% {
        transform: translateY(-80%);
    }

    100% {
        transform: translateY(0);
    }
}

.r360-btn-primary::before,
.r360-btn-primary::after,
.r360-btn-outline-light::before,
.r360-btn-outline-light::after {
    content: "";
    display: block;
    height: 102%;
    width: 100%;
    pointer-events: none;
    position: absolute;
    transition: transform 0.22s ease;
    z-index: -1;
}

.r360-btn-primary::before,
.r360-btn-primary::after {
    background-color: #0b0c10;
}

.r360-btn-outline-light::before,
.r360-btn-outline-light::after {
    background-color: #ffffff;
}

.r360-btn-primary::before,
.r360-btn-outline-light::before {
    left: -60%;
    top: -104%;
    transform: skew(30deg) translateY(0);
}

.r360-btn-primary::after,
.r360-btn-outline-light::after {
    left: 60%;
    top: 102%;
    transform: skew(30deg) translateY(0);
}

.r360-btn-primary:hover::before,
.r360-btn-outline-light:hover::before {
    transform: skew(30deg) translateY(100%);
}

.r360-btn-primary:hover::after,
.r360-btn-outline-light:hover::after {
    transform: skew(30deg) translateY(-102%);
}

.r360-section-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: 'Outfit', sans-serif;
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    padding: 0.42rem 0.95rem;
    border-radius: 50px;
    margin-bottom: 1rem;
}

.r360-tag-light {
    background: rgba(217, 11, 22, 0.09);
    color: #b80710;
    border: 1px solid rgba(217, 11, 22, 0.22);
}

.r360-tag-dark {
    background: rgba(217, 11, 22, 0.16);
    color: #ff4b55;
    border: 1px solid rgba(217, 11, 22, 0.35);
}

.r360-text-crimson {
    color: #d90b16;
}

.r360-gradient-crimson {
    background: linear-gradient(120deg, #ff3b45 0%, #d90b16 60%, #ff6b72 100%);
    background-clip: text;
    color: transparent;
}

/* ==========================================================================
   Sticky Navbar
   ========================================================================== */

.r360-navbar-wrap {
    background: rgba(14, 16, 22, 0.94);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.32);
    z-index: 1030;
    transition: background 0.3s ease, box-shadow 0.3s ease;
}

.r360-navbar-wrap.r360-scrolled {
    background: rgba(11, 12, 16, 0.98);
    box-shadow: 0 12px 34px rgba(0, 0, 0, 0.5);
}

.r360-navbar {
    padding-top: 0.65rem;
    padding-bottom: 0.65rem;
}

.r360-navbar-logo {
    height: 64px;
    width: auto;
    border-radius: 16px;
    border: 2px solid rgba(217, 11, 22, 0.55);
    object-fit: contain;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.55));
    transition: transform 0.25s ease, border-color 0.25s ease;
}

.r360-brand:hover .r360-navbar-logo {
    transform: scale(1.03);
}

.r360-nav-link {
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 0.98rem;
    color: #e2e5eb;
    padding: 0.55rem 0.95rem;
    border-radius: 8px;
    position: relative;
    transition: color 0.2s ease, background 0.2s ease;
}

.r360-nav-link:hover,
.r360-nav-link.active {
    color: #ffffff;
    background: rgba(217, 11, 22, 0.14);
}

.r360-nav-link.active::after {
    content: "";
    position: absolute;
    left: 14px;
    right: 14px;
    bottom: 4px;
    height: 2px;
    background: #d90b16;
    border-radius: 2px;
}

.r360-nav-phone {
    color: #ffffff;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    padding: 0.45rem 0.75rem;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: border-color 0.2s ease, color 0.2s ease;
}

.r360-nav-phone i {
    color: #ff4b55;
}

.r360-nav-phone:hover {
    color: #ff4b55;
    border-color: rgba(217, 11, 22, 0.5);
}

.r360-toggler {
    border-color: rgba(255, 255, 255, 0.2);
}

/* ==========================================================================
   Scattered Non-Uniform Architectural Mesh Canvas
   ========================================================================== */
.r360-mesh-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.r360-scattered-layer {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

.r360-shard {
    position: absolute;
    pointer-events: none;
    border-radius: 6px;
}

/* ==========================================================================
   Shared Inner Page Hero (About, Services, Projects, Contact)
   ========================================================================== */
.r360-page-hero {
    position: relative;
    background: radial-gradient(circle at 80% 25%, rgba(217, 11, 22, 0.2) 0%, transparent 48%),
                linear-gradient(135deg, #0b0c10 0%, #141720 60%, #0e1015 100%);
    padding: 5.5rem 0 6.25rem;
    overflow: hidden;
    color: #ffffff;
}

.r360-page-hero-title {
    font-size: clamp(2.3rem, 4.5vw, 3.6rem);
    font-weight: 800;
    color: #ffffff;
    line-height: 1.1;
    margin-bottom: 1rem;
}

.r360-page-hero-lead {
    font-size: 1.1rem;
    color: #c7cdd8;
    max-width: 640px;
    margin-bottom: 0;
}

.r360-breadcrumb {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-family: 'Outfit', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #b4bac6;
    margin-bottom: 1.25rem;
}

.r360-breadcrumb a {
    color: #ff4b55;
    text-decoration: none;
    transition: color 0.2s ease;
}

.r360-breadcrumb a:hover {
    color: #ffffff;
}

.r360-breadcrumb i {
    font-size: 0.7rem;
}

.r360-page-hero-angle {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 48px;
    background: linear-gradient(177deg, transparent 49%, #ffffff 50%);
    z-index: 3;
    pointer-events: none;
}

/* ==========================================================================
   Section 1: Hero (Video + Depth Layers + Asymmetric Relief)
   ========================================================================== */
.r360-hero {
    position: relative;
    min-height: 82vh;
    display: flex;
    align-items: center;
    background-color: #0b0c10;
    overflow: hidden;
    padding: 5.5rem 0 6.5rem;
}

.r360-hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
    z-index: 0;
    filter: saturate(0.95) contrast(1.06);
}

.r360-hero-overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 78% 28%, rgba(217, 11, 22, 0.24) 0%, rgba(217, 11, 22, 0) 48%),
        linear-gradient(105deg, rgba(10, 11, 15, 0.94) 0%, rgba(13, 15, 21, 0.82) 52%, rgba(11, 12, 16, 0.58) 100%);
    z-index: 1;
}

.r360-hero-roof-lines {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(132deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0.03) 1px, transparent 1px, transparent 100%);
    background-size: 90px 90px;
    mask-image: radial-gradient(ellipse at 72% 45%, #000000 10%, transparent 72%);
    z-index: 1;
    pointer-events: none;
}

.r360-hero-content {
    position: relative;
    z-index: 3;
}

.r360-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: rgba(20, 22, 29, 0.78);
    border: 1px solid rgba(217, 11, 22, 0.45);
    color: #f3f5f8;
    font-family: 'Outfit', sans-serif;
    font-size: 0.84rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 0.5rem 1.05rem;
    border-radius: 50px;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
    margin-bottom: 1.5rem;
}

.r360-hero-badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #d90b16;
    box-shadow: 0 0 10px #d90b16;
}

.r360-hero-title {
    font-size: clamp(2.5rem, 5vw, 4.35rem);
    font-weight: 800;
    color: #ffffff;
    line-height: 1.08;
    margin-bottom: 1.35rem;
    text-shadow: 0 6px 24px rgba(0, 0, 0, 0.5);
}

.r360-hero-lead {
    font-size: 1.14rem;
    color: #d2d6df;
    max-width: 600px;
    margin-bottom: 2.1rem;
}

/* Floating Architectural Depth Card in Hero */
.r360-hero-depth-card {
    background: rgba(16, 18, 25, 0.78);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-top: 3px solid #d90b16;
    border-radius: 18px;
    padding: 2rem;
    backdrop-filter: blur(14px);
    box-shadow: 0 24px 55px rgba(0, 0, 0, 0.55);
    position: relative;
}

.r360-hero-depth-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 0.9rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.r360-hero-depth-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.r360-hero-depth-icon {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    border-radius: 11px;
    background: rgba(217, 11, 22, 0.16);
    border: 1px solid rgba(217, 11, 22, 0.35);
    color: #ff4b55;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
}

.r360-hero-depth-title {
    color: #ffffff;
    font-size: 1.02rem;
    font-weight: 700;
    margin-bottom: 0.2rem;
}

.r360-hero-depth-text {
    color: #aeb5c2;
    font-size: 0.88rem;
    margin-bottom: 0;
}

.r360-hero-bottom-angle {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 56px;
    background: linear-gradient(176deg, transparent 49%, #f6f7f9 50%);
    z-index: 4;
    pointer-events: none;
}

/* ==========================================================================
   Section 2: Roofing Excellence You Can Count On (Light + Relief)
   ========================================================================== */
.r360-intro-section {
    position: relative;
    background: linear-gradient(180deg, #f6f7f9 0%, #ffffff 55%, #f2f4f7 100%);
    padding: 5.5rem 0 6rem;
    overflow: hidden;
}

.r360-section-title-dark {
    font-size: clamp(2rem, 3.6vw, 2.9rem);
    font-weight: 800;
    color: #111319;
    line-height: 1.15;
    margin-bottom: 1.25rem;
}

.r360-section-text-dark {
    color: #454a54;
    font-size: 1.04rem;
    margin-bottom: 1.2rem;
}

.r360-highlight-strip {
    background: #ffffff;
    border: 1px solid #e3e6ec;
    border-left: 4px solid #d90b16;
    border-radius: 12px;
    padding: 1.15rem 1.35rem;
    box-shadow: 0 12px 30px rgba(17, 19, 25, 0.06);
    margin-top: 1.5rem;
    margin-bottom: 1.8rem;
}

.r360-highlight-strip h5 {
    font-size: 1.02rem;
    font-weight: 700;
    color: #111319;
    margin-bottom: 0.25rem;
}

.r360-highlight-strip p {
    font-size: 0.94rem;
    color: #545a66;
    margin-bottom: 0;
}

/* Architectural Image Placeholder Frames (Since photos will be added later) */
.r360-photo-slot {
    position: relative;
    border-radius: 18px;
    overflow: hidden;
    background: linear-gradient(145deg, #1b1e27 0%, #101218 65%, #231115 100%);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 24px 54px rgba(11, 12, 16, 0.22);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem;
    color: #d0d5df;
}

.r360-photo-slot-tall {
    min-height: 440px;
}

.r360-photo-slot-card {
    height: 220px;
    border-radius: 14px 14px 0 0;
    box-shadow: none;
    border: none;
    border-bottom: 2px solid rgba(217, 11, 22, 0.45);
}

.r360-photo-slot::before {
    content: "";
    position: absolute;
    inset: 14px;
    border: 1px dashed rgba(255, 255, 255, 0.16);
    border-radius: 12px;
    pointer-events: none;
}

.r360-photo-slot-icon {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    background: rgba(217, 11, 22, 0.16);
    border: 1px solid rgba(217, 11, 22, 0.4);
    color: #ff4b55;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 0.9rem;
    position: relative;
    z-index: 2;
}

.r360-photo-slot-label {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 1.05rem;
    color: #ffffff;
    margin-bottom: 0.25rem;
    position: relative;
    z-index: 2;
}

.r360-photo-slot-sub {
    font-size: 0.84rem;
    color: #9ba3b2;
    position: relative;
    z-index: 2;
}

.r360-intro-media-wrap {
    position: relative;
    padding: 0.75rem;
}

.r360-intro-accent-frame {
    position: absolute;
    bottom: -14px;
    left: -10px;
    width: 68%;
    height: 68%;
    border: 2px solid rgba(217, 11, 22, 0.28);
    border-radius: 20px;
    z-index: 0;
    pointer-events: none;
}

.r360-intro-floating-tag {
    position: absolute;
    bottom: 24px;
    right: -8px;
    background: #111319;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-left: 4px solid #d90b16;
    border-radius: 12px;
    padding: 0.9rem 1.25rem;
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.25);
    z-index: 3;
}

.r360-intro-floating-tag strong {
    display: block;
    font-family: 'Outfit', sans-serif;
    font-size: 1.05rem;
    color: #ffffff;
}

.r360-intro-floating-tag span {
    font-size: 0.84rem;
    color: #b7becb;
}

/* ==========================================================================
   Section 3: Our Roofing Services (Dark + Elevated Cards)
   ========================================================================== */
.r360-services-section {
    position: relative;
    background: radial-gradient(circle at 18% 22%, rgba(217, 11, 22, 0.12) 0%, transparent 44%),
                linear-gradient(160deg, #0d0f14 0%, #151822 55%, #0c0e13 100%);
    padding: 6rem 0;
    overflow: hidden;
    color: #ffffff;
}

.r360-section-title-light {
    font-size: clamp(2rem, 3.6vw, 2.9rem);
    font-weight: 800;
    color: #ffffff;
    line-height: 1.15;
    margin-bottom: 1rem;
}

.r360-section-text-light {
    color: #b8bfcc;
    font-size: 1.04rem;
}

.r360-service-card {
    background: linear-gradient(180deg, #181b24 0%, #12141b 100%);
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 16px;
    overflow: hidden;
    height: 100%;
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.36);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    position: relative;
    z-index: 2;
}

.r360-service-card:hover {
    transform: translateY(-8px);
    border-color: rgba(217, 11, 22, 0.55);
    box-shadow: 0 26px 56px rgba(0, 0, 0, 0.52), 0 0 24px rgba(217, 11, 22, 0.16);
}

.r360-service-body {
    padding: 1.65rem;
}

.r360-service-icon-badge {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: linear-gradient(135deg, #d90b16 0%, #96050d 100%);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    margin-top: -3.1rem;
    margin-bottom: 1rem;
    position: relative;
    z-index: 3;
    box-shadow: 0 8px 20px rgba(217, 11, 22, 0.38);
    border: 2px solid #181b24;
}

.r360-service-title {
    font-size: 1.28rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0.6rem;
}

.r360-service-desc {
    color: #aeb6c4;
    font-size: 0.95rem;
    margin-bottom: 0;
}

/* ==========================================================================
   Section 4: Our Approach / Process (Light + Connected Steps)
   ========================================================================== */
.r360-approach-section {
    position: relative;
    background: linear-gradient(180deg, #ffffff 0%, #f4f6f9 100%);
    padding: 5.5rem 0;
    overflow: hidden;
}

.r360-step-card {
    background: #ffffff;
    border: 1px solid #e3e6ee;
    border-radius: 16px;
    padding: 1.85rem 1.5rem;
    height: 100%;
    position: relative;
    z-index: 2;
    box-shadow: 0 14px 34px rgba(15, 18, 25, 0.06);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.r360-step-card:hover {
    transform: translateY(-6px);
    border-color: rgba(217, 11, 22, 0.45);
    box-shadow: 0 22px 44px rgba(15, 18, 25, 0.11);
}

.r360-step-number {
    font-family: 'Outfit', sans-serif;
    font-size: 0.85rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    color: #ffffff;
    background: linear-gradient(135deg, #e0101b 0%, #a8060e 100%);
    padding: 0.35rem 0.8rem;
    border-radius: 50px;
    display: inline-block;
    margin-bottom: 1rem;
}

.r360-step-title {
    font-size: 1.16rem;
    font-weight: 700;
    color: #111319;
    margin-bottom: 0.55rem;
}

.r360-step-desc {
    color: #525864;
    font-size: 0.93rem;
    margin-bottom: 0;
}

/* ==========================================================================
   Section 5: Featured Projects & Before/After Preview (Dark)
   ========================================================================== */
.r360-projects-section {
    position: relative;
    background: radial-gradient(circle at 82% 20%, rgba(217, 11, 22, 0.13) 0%, transparent 45%),
                linear-gradient(165deg, #0b0c10 0%, #141720 60%, #0d0e13 100%);
    padding: 6rem 0;
    overflow: hidden;
    color: #ffffff;
}

.r360-photo-slot-project-lg {
    min-height: 360px;
}

.r360-photo-slot-project-sm {
    min-height: 170px;
}

.r360-compare-card {
    position: relative;
    border-radius: 18px;
    overflow: hidden;
    height: 360px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow: 0 22px 50px rgba(0, 0, 0, 0.45);
    user-select: none;
}

.r360-compare-layer {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 1.5rem;
}

.r360-compare-before {
    background: linear-gradient(135deg, #252833 0%, #15171e 100%);
    color: #cfd4df;
}

.r360-compare-after {
    width: 50%;
    overflow: hidden;
    background: linear-gradient(135deg, #1b0d11 0%, #2d1118 55%, #12141b 100%);
    border-right: 2px solid #d90b16;
    color: #ffffff;
}

.r360-compare-after-inner {
    width: 100%;
    min-width: 320px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.r360-compare-badge {
    position: absolute;
    top: 14px;
    padding: 0.3rem 0.75rem;
    border-radius: 50px;
    font-family: 'Outfit', sans-serif;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    z-index: 3;
}

.r360-compare-badge-before {
    right: 14px;
    background: rgba(15, 17, 22, 0.85);
    color: #d6dae3;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.r360-compare-badge-after {
    left: 14px;
    background: #d90b16;
    color: #ffffff;
}

.r360-compare-handle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #d90b16;
    color: #ffffff;
    border: 2px solid #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.45);
    z-index: 4;
    pointer-events: none;
}

.r360-compare-range {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: ew-resize;
    z-index: 5;
}

/* ==========================================================================
   Section 6: Why Choose ROOF 360 SOLUTIONS (Light + Elevated Blocks)
   ========================================================================== */
.r360-why-section {
    position: relative;
    background: linear-gradient(180deg, #ffffff 0%, #f3f5f8 100%);
    padding: 6rem 0;
    overflow: hidden;
}

.r360-why-card {
    background: #ffffff;
    border: 1px solid #e4e7ee;
    border-radius: 18px;
    padding: 2rem 1.75rem;
    height: 100%;
    box-shadow: 0 14px 36px rgba(15, 18, 25, 0.07);
    transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
    position: relative;
    z-index: 2;
}

.r360-why-card:hover {
    transform: translateY(-6px);
    border-color: rgba(217, 11, 22, 0.38);
    box-shadow: 0 22px 48px rgba(15, 18, 25, 0.12);
}

.r360-why-card-accent {
    position: absolute;
    top: 0;
    left: 24px;
    width: 48px;
    height: 4px;
    background: #d90b16;
    border-radius: 0 0 4px 4px;
}

.r360-why-icon {
    width: 58px;
    height: 58px;
    border-radius: 14px;
    background: linear-gradient(135deg, #161820 0%, #272b36 100%);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin-bottom: 1.25rem;
    box-shadow: 0 10px 22px rgba(17, 19, 25, 0.18);
    transition: background 0.28s ease;
}

.r360-why-card:hover .r360-why-icon {
    background: linear-gradient(135deg, #e0101b 0%, #a8060e 100%);
}

.r360-why-title {
    font-size: 1.22rem;
    font-weight: 700;
    color: #111319;
    margin-bottom: 0.65rem;
}

.r360-why-desc {
    color: #525864;
    font-size: 0.95rem;
    margin-bottom: 0;
}

/* ==========================================================================
   Section 5: Final CTA - Your Roof Deserves the Best (Dark Showcase)
   ========================================================================== */
.r360-cta-section {
    position: relative;
    background: linear-gradient(135deg, #090a0e 0%, #141720 60%, #1c0c10 100%);
    padding: 5.5rem 0;
    overflow: hidden;
    color: #ffffff;
}

.r360-cta-box {
    position: relative;
    z-index: 2;
    background: rgba(20, 23, 31, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-top: 3px solid #d90b16;
    border-radius: 22px;
    padding: 3.25rem 2.5rem;
    box-shadow: 0 28px 64px rgba(0, 0, 0, 0.48);
    backdrop-filter: blur(10px);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.r360-footer {
    background: linear-gradient(180deg, #15171f 0%, #0b0c10 100%);
    border-top: 3px solid #d90b16;
    color: #c5cbd6;
}

.r360-footer-logo {
    height: 112px;
    width: auto;
    border-radius: 22px;
    border: 2px solid rgba(217, 11, 22, 0.55);
    object-fit: contain;
    filter: drop-shadow(0 8px 20px rgba(0, 0, 0, 0.5));
}

.r360-footer-desc {
    font-size: 0.92rem;
    color: #9fa6b4;
    max-width: 310px;
}

.r360-footer-social {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #e4e7ee;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: background 0.22s ease, border-color 0.22s ease, color 0.22s ease, transform 0.22s ease;
}

.r360-footer-social:hover {
    background: #d90b16;
    border-color: #d90b16;
    color: #ffffff;
    transform: translateY(-2px);
}

.r360-footer-heading {
    font-size: 1.12rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1.2rem;
    position: relative;
    padding-bottom: 0.6rem;
}

.r360-footer-heading::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 34px;
    height: 3px;
    background: #d90b16;
    border-radius: 2px;
}

.r360-footer-links li {
    margin-bottom: 0.65rem;
}

.r360-footer-links a {
    color: #b2b8c6;
    text-decoration: none;
    font-size: 0.93rem;
    transition: color 0.2s ease, padding-left 0.2s ease;
    display: inline-block;
}

.r360-footer-links a i {
    color: #d90b16;
    font-size: 0.8rem;
}

.r360-footer-links a:hover {
    color: #ffffff;
    padding-left: 4px;
}

.r360-footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    margin-bottom: 0.95rem;
}

.r360-footer-contact li i {
    width: 34px;
    height: 34px;
    flex-shrink: 0;
    border-radius: 9px;
    background: rgba(217, 11, 22, 0.14);
    border: 1px solid rgba(217, 11, 22, 0.3);
    color: #ff4b55;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    margin-top: 2px;
}

.r360-footer-label {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #828998;
}

.r360-footer-contact a,
.r360-footer-contact span:not(.r360-footer-label) {
    color: #e4e7ee;
    text-decoration: none;
    font-size: 0.92rem;
}

.r360-footer-contact a:hover {
    color: #ff4b55;
}

.r360-footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 0.86rem;
    color: #8b92a1;
}

/* ==========================================================================
   Responsive Adjustments
   ========================================================================== */
@media (max-width: 991.98px) {
    .r360-navbar-logo {
        height: 54px;
    }

    .r360-hero {
        min-height: auto;
        padding: 4.5rem 0 5rem;
    }

    .r360-photo-slot-tall {
        min-height: 320px;
    }

    .r360-intro-floating-tag {
        right: 12px;
        bottom: 16px;
    }
}

@media (max-width: 575.98px) {
    .r360-cta-box {
        padding: 1.5rem;
    }
}
