/* ========================================
   SIR'S Detailing - Custom Theme Styles
   Dropdown Menu & Additional Styles
======================================== */

/* ========================================
   Header Overflow Fix for Dropdown
======================================== */

/* Reset all overflow restrictions on header and its children */
.header,
.header.fixed-top,
.header.scrolled,
header.header,
.site-header {
    overflow: visible !important;
    overflow-x: visible !important;
    overflow-y: visible !important;
}

/* Override global container overflow for header */
.header .container,
.header .container-fluid,
.header .container-xl,
.header>.container,
.header>.container-fluid,
.header>.container-xl,
header .container,
header .container-fluid,
header .container-xl {
    overflow: visible !important;
    overflow-x: visible !important;
    overflow-y: visible !important;
}

.header .navbar,
.header nav.navbar,
.header nav {
    overflow: visible !important;
}

.header__nav,
.header__nav ul,
ul.header__nav {
    overflow: visible !important;
}

.header__right {
    overflow: visible !important;
}

/* Ensure dropdown can extend beyond header */
.header__nav>li,
.header__nav li.has-dropdown {
    position: relative;
    overflow: visible !important;
}

/* ========================================
   Desktop Dropdown Menu
======================================== */

.header__nav li {
    position: relative;
}

.header__nav li.has-dropdown {
    padding-bottom: 10px;
    margin-bottom: -10px;
}

.header__nav li.has-dropdown>a {
    display: flex;
    align-items: center;
    gap: 6px;
}

.header__nav li.has-dropdown>a .dropdown-arrow {
    transition: transform 0.3s ease;
}

.header__nav li.has-dropdown:hover>a .dropdown-arrow {
    transform: rotate(180deg);
}

/* Invisible bridge to keep hover when moving to dropdown */
.header__nav li.has-dropdown::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: 20px;
    background: transparent;
}

/* Dropdown Menu */
.header__nav .dropdown-menu {
    position: absolute;
    top: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%);
    min-width: 240px;
    background: rgba(13, 13, 13, 0.98);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 12px 0;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.2s ease, visibility 0.2s ease;
    list-style: none;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    z-index: 9999;
}

/* Arrow pointer */
.header__nav .dropdown-menu::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 8px solid rgba(13, 13, 13, 0.98);
}

/* Invisible area above dropdown to maintain hover */
.header__nav .dropdown-menu::after {
    content: '';
    position: absolute;
    top: -20px;
    left: 0;
    width: 100%;
    height: 20px;
    background: transparent;
}

.header__nav li.has-dropdown:hover .dropdown-menu,
.header__nav li.has-dropdown.keyboard-focus .dropdown-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.header__nav .dropdown-menu li {
    padding: 0;
    overflow: visible;
}

.header__nav .dropdown-menu li a {
    display: block;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 500;
    color: var(--color-text-light);
    transition: all 0.2s ease;
    white-space: nowrap;
}

.header__nav .dropdown-menu li a::after {
    display: none;
}

.header__nav .dropdown-menu li a:hover {
    background: rgba(255, 92, 0, 0.15);
    color: var(--color-primary);
    padding-left: 25px;
}

/* ========================================
   Mobile Menu Dropdown (Accordion)
======================================== */

.mobile-nav {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-nav .nav-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* Mobile menu item with separate link and toggle button */
.mobile-nav .mobile-menu-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.mobile-nav .mobile-menu-item .nav-link {
    flex: 1;
}

.mobile-nav .submenu-toggle {
    background: none;
    border: none;
    padding: 12px 15px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-nav .submenu-toggle .dropdown-arrow {
    transition: transform 0.3s ease;
}

.mobile-nav .submenu-toggle[aria-expanded="true"] .dropdown-arrow {
    transform: rotate(180deg);
}

.mobile-nav .submenu-toggle svg path {
    stroke: #fff;
}

/* Submenu styles */
.mobile-nav .submenu {
    list-style: none;
    padding: 0;
    margin: 0;
    background: rgba(255, 255, 255, 0.05);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.mobile-nav .submenu.show {
    max-height: 500px;
}

.mobile-nav .submenu li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.mobile-nav .submenu li:last-child {
    border-bottom: none;
}

.mobile-nav .submenu .nav-link {
    font-size: 15px;
    padding: 10px 20px 10px 30px;
    display: block;
}

/* Legacy support for WordPress menu walker */
.mobile-nav .nav-item.has-submenu>a {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.mobile-nav .nav-item.has-submenu>a .dropdown-arrow {
    transition: transform 0.3s ease;
    margin-left: 10px;
}

/* ========================================
   Header Improvements
======================================== */

/* Better header background on scroll */
.header.scrolled {
    background: rgba(13, 13, 13, 0.98) !important;
    backdrop-filter: blur(20px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

/* Active menu item */
.header__nav li a.active,
.header__nav li.current-menu-item>a,
.header__nav li.current-menu-parent>a {
    color: var(--color-primary);
}

.header__nav li a.active::after,
.header__nav li.current-menu-item>a::after,
.header__nav li.current-menu-parent>a::after {
    width: 100%;
}

/* ========================================
   Responsive Adjustments
======================================== */

@media (max-width: 991px) {
    .header__nav .dropdown-menu {
        display: none !important;
    }
}

@media (min-width: 992px) {
    .header__nav .dropdown-menu {
        display: block;
    }
}

@media (min-width: 1200px) {
    .header__nav .dropdown-menu {
        min-width: 260px;
    }

    .header__nav .dropdown-menu li a {
        font-size: 15px;
        padding: 12px 24px;
    }
}

/* ========================================
   WordPress Specific Styles
======================================== */

/* Admin bar fix */
body.admin-bar .header.fixed-top {
    top: 32px;
}

@media (max-width: 782px) {
    body.admin-bar .header.fixed-top {
        top: 46px;
    }
}

/* Custom logo in header */
.header .custom-logo-link {
    display: flex;
    align-items: center;
}

.header .custom-logo {
    max-height: 50px;
    width: auto;
}

/* Page template specific */
.page-template-template-home .hero {
    margin-top: 0;
}

/* Section padding adjustment */
.section-padding {
    padding: 60px 0;
}

@media (min-width: 768px) {
    .section-padding {
        padding: 80px 0;
    }
}

@media (min-width: 992px) {
    .section-padding {
        padding: 100px 0;
    }
}

.services-list.section-padding {
    padding: 80px 0;
}

@media (min-width: 768px) {
    .services-list.section-padding {
        padding: 100px 0;
    }
}

@media (min-width: 992px) {
    .services-list.section-padding {
        padding: 120px 0;
    }
}


/* ========================================
   Modal: Book Estimate Form
======================================== */

#bookEstimateModal .modal-content {
    background: linear-gradient(145deg, #1a1a1a 0%, #0d0d0d 100%);
    border: 1px solid rgba(255, 92, 0, 0.3);
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
}

#bookEstimateModal .modal-header {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px 24px;
}

#bookEstimateModal .modal-title {
    color: #fff;
    font-family: 'Russo One', sans-serif;
    font-size: 22px;
    font-weight: 400;
}

#bookEstimateModal .btn-close {
    filter: invert(1);
    opacity: 0.7;
    transition: opacity 0.2s ease;
}

#bookEstimateModal .btn-close:hover {
    opacity: 1;
}

#bookEstimateModal .modal-body {
    padding: 24px;
}

#bookEstimateModal .form-label {
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 8px;
}

#bookEstimateModal .form-control {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    color: #fff;
    padding: 14px 16px;
    font-size: 16px;
    transition: all 0.2s ease;
}

#bookEstimateModal .form-control::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

#bookEstimateModal .form-control:focus {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--color-primary, #ff5c00);
    box-shadow: 0 0 0 3px rgba(255, 92, 0, 0.15);
    outline: none;
}

#bookEstimateModal .modal-footer {
    border-top: none;
    padding: 0 24px 24px;
}

#bookEstimateModal .btn-primary-custom {
    padding: 16px 24px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Form Messages */
#bookEstimateModal .form-message {
    margin-top: 10px;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 14px;
    display: none;
}

#bookEstimateModal .form-message.success {
    display: block;
    background: rgba(34, 197, 94, 0.15);
    border: 1px solid rgba(34, 197, 94, 0.3);
    color: #22c55e;
}

#bookEstimateModal .form-message.error {
    display: block;
    background: rgba(239, 68, 68, 0.15);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #ef4444;
}

/* Loading state */
#bookEstimateModal .btn-primary-custom.loading {
    pointer-events: none;
    opacity: 0.7;
}

#bookEstimateModal .btn-primary-custom.loading::after {
    content: '';
    display: inline-block;
    width: 16px;
    height: 16px;
    margin-left: 10px;
    border: 2px solid transparent;
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Modal backdrop */
.modal-backdrop.show {
    opacity: 0.8;
}

/* Responsive */
@media (max-width: 576px) {
    #bookEstimateModal .modal-dialog {
        margin: 16px;
    }

    #bookEstimateModal .modal-title {
        font-size: 18px;
    }

    #bookEstimateModal .modal-body,
    #bookEstimateModal .modal-footer {
        padding: 16px;
    }

    #bookEstimateModal .modal-footer {
        padding-top: 0;
    }
}


/* ========================================
   Category Page (Services Grid) - Improved
======================================== */

/* Hero Section */
.category-hero {
    position: relative;
    padding: 160px 0 100px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 450px;
    display: flex;
    align-items: center;
}

.category-hero__overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg,
            rgba(13, 13, 13, 0.6) 0%,
            rgba(13, 13, 13, 0.85) 60%,
            rgba(13, 13, 13, 0.95) 100%);
}

.category-hero__content {
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.category-hero__subtitle {
    font-family: 'Mulish', sans-serif;
    font-size: 16px;
    font-weight: 600;
    background: linear-gradient(90deg, #00E1EB 0%, #83FAFF 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-transform: lowercase;
    margin-bottom: 15px;
    letter-spacing: 1px;
}

.category-hero__title {
    font-family: 'Russo One', sans-serif;
    font-size: 42px;
    font-weight: 400;
    color: #fff;
    text-transform: uppercase;
    margin-bottom: 20px;
    text-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
    line-height: 1.1;
}

.category-hero__description {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.8);
    max-width: 600px;
    margin: 0 auto 30px;
    line-height: 1.6;
}

.category-hero__buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.category-hero__buttons .btn-outline-custom {
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: #fff;
    padding: 12px 28px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 6px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.category-hero__buttons .btn-outline-custom:hover {
    border-color: #ff5c00;
    background: rgba(255, 92, 0, 0.1);
    color: #fff;
}

/* Services Grid */
.services-grid {
    background: linear-gradient(180deg,
            rgba(13, 13, 13, 0.98) 0%,
            rgba(20, 20, 22, 0.95) 50%,
            rgba(13, 13, 13, 0.98) 100%);
}

/* Service Card V2 - Improved Design */
.service-card-v2 {
    background: linear-gradient(145deg,
            rgba(255, 255, 255, 0.05) 0%,
            rgba(255, 255, 255, 0.02) 100%);
    border-radius: 24px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.06);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.service-card-v2:hover {
    transform: translateY(-12px);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.4),
        0 0 0 1px rgba(255, 92, 0, 0.2);
    border-color: rgba(255, 92, 0, 0.3);
}

.service-card-v2__image {
    position: relative;
    aspect-ratio: 4/3;
    overflow: hidden;
}

.service-card-v2__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card-v2:hover .service-card-v2__image img {
    transform: scale(1.08);
}

.service-card-v2__overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg,
            transparent 0%,
            rgba(13, 13, 13, 0.4) 50%,
            rgba(13, 13, 13, 0.8) 100%);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service-card-v2:hover .service-card-v2__overlay {
    opacity: 1;
}

.service-card-v2__link {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #ff5c00;
    color: #fff;
    padding: 12px 24px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

.service-card-v2:hover .service-card-v2__link {
    transform: translateY(0);
}

.service-card-v2__link:hover {
    background: #ff7a2e;
    color: #fff;
}

.service-card-v2__content {
    padding: 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.service-card-v2__title {
    font-family: 'Mulish', sans-serif;
    font-size: 20px;
    font-weight: 800;
    margin: 0 0 12px;
    line-height: 1.3;
}

.service-card-v2__title a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.service-card-v2__title a:hover {
    color: #ff5c00;
}

.service-card-v2__desc {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.6;
    margin: 0 0 auto;
    padding-bottom: 16px;
}

.service-card-v2__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    margin-top: auto;
}

.service-card-v2__price {
    font-family: 'Mulish', sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: #00E1EB;
}

.service-card-v2__btn {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #ff5c00;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.service-card-v2__btn:hover {
    color: #ff7a2e;
    gap: 10px;
}

.service-card-v2__btn svg {
    transition: transform 0.3s ease;
}

.service-card-v2__btn:hover svg {
    transform: translateX(4px);
}

/* Footer CTA */
.services-grid__cta-title {
    font-family: 'Mulish', sans-serif;
    font-size: 26px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 15px;
}

.services-grid__cta-text {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.65);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.7;
}

/* Responsive */
@media (min-width: 768px) {
    .category-hero {
        padding: 180px 0 120px;
        min-height: 500px;
    }

    .category-hero__subtitle {
        font-size: 18px;
    }

    .category-hero__title {
        font-size: 56px;
    }

    .category-hero__buttons {
        gap: 20px;
    }

    .service-card-v2__title {
        font-size: 22px;
    }
}

@media (min-width: 992px) {
    .category-hero {
        padding: 200px 0 140px;
        min-height: 550px;
    }

    .category-hero__title {
        font-size: 64px;
    }

    .category-hero__description {
        font-size: 20px;
    }

    .service-card-v2__content {
        padding: 28px;
    }

    .service-card-v2__title {
        font-size: 24px;
    }

    .services-grid__cta-title {
        font-size: 32px;
    }
}

@media (min-width: 1200px) {
    .category-hero__title {
        font-size: 72px;
    }
}


/* ========================================
   Services CTA Section - Improved
======================================== */

.services-cta {
    margin-top: 60px;
    padding-top: 40px;
}

.services-cta__card {
    background: linear-gradient(145deg,
            rgba(255, 92, 0, 0.08) 0%,
            rgba(255, 92, 0, 0.03) 50%,
            rgba(0, 225, 235, 0.05) 100%);
    border: 1px solid rgba(255, 92, 0, 0.2);
    border-radius: 30px;
    padding: 50px 30px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.services-cta__card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 92, 0, 0.05) 0%, transparent 50%);
    animation: pulse-glow 4s ease-in-out infinite;
}

@keyframes pulse-glow {

    0%,
    100% {
        opacity: 0.5;
        transform: scale(1);
    }

    50% {
        opacity: 1;
        transform: scale(1.1);
    }
}

.services-cta__icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #ff5c00 0%, #ff7a2e 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    color: #fff;
    position: relative;
    z-index: 1;
    box-shadow: 0 10px 30px rgba(255, 92, 0, 0.3);
}

.services-cta__title {
    font-family: 'Mulish', sans-serif;
    font-size: 28px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 15px;
    position: relative;
    z-index: 1;
    line-height: 1.3;
}

.services-cta__text {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.7);
    max-width: 600px;
    margin: 0 auto 30px;
    line-height: 1.7;
    position: relative;
    z-index: 1;
}

.services-cta__features {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px 30px;
    margin-bottom: 35px;
    position: relative;
    z-index: 1;
}

.services-cta__feature {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #00E1EB;
    font-size: 14px;
    font-weight: 600;
}

.services-cta__feature svg {
    color: #00E1EB;
}

.services-cta__buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    position: relative;
    z-index: 1;
}

.services-cta__buttons .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.services-cta__buttons .btn-outline-light {
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: #fff;
    padding: 14px 28px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.services-cta__buttons .btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
    color: #fff;
}

/* Responsive */
@media (min-width: 768px) {
    .services-cta__card {
        padding: 60px 50px;
    }

    .services-cta__title {
        font-size: 32px;
    }

    .services-cta__text {
        font-size: 18px;
    }

    .services-cta__feature {
        font-size: 15px;
    }
}

@media (min-width: 992px) {
    .services-cta {
        margin-top: 80px;
    }

    .services-cta__card {
        padding: 70px 80px;
        border-radius: 40px;
    }

    .services-cta__icon {
        width: 100px;
        height: 100px;
    }

    .services-cta__icon svg {
        width: 56px;
        height: 56px;
    }

    .services-cta__title {
        font-size: 38px;
    }

    .services-cta__features {
        gap: 20px 50px;
    }

    .services-cta__feature {
        font-size: 16px;
    }

    .services-cta__buttons {
        gap: 20px;
    }
}


/* ========================================
   Reviews Compact Section
======================================== */

.reviews-compact {
    position: relative;
    /* Transparent background to let global body::before show through (soft effect like figma-to-html) */
    background: linear-gradient(180deg,
            rgba(13, 13, 13, 0.4) 0%,
            rgba(33, 35, 39, 0.3) 50%,
            rgba(13, 13, 13, 0.5) 100%);
    overflow: hidden;
}

/* Decorative glow accent */
.reviews-compact::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%) translateY(50%);
    width: 100%;
    max-width: 400px;
    height: 200px;
    background: radial-gradient(ellipse, rgba(0, 194, 203, 0.1) 0%, transparent 60%);
    pointer-events: none;
}

.reviews-compact .container {
    position: relative;
    z-index: 1;
}

.review-card-compact {
    background: linear-gradient(145deg,
            rgba(255, 255, 255, 0.05) 0%,
            rgba(255, 255, 255, 0.02) 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 28px;
    height: 100%;
    transition: all 0.3s ease;
}

.review-card-compact:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 92, 0, 0.3);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.review-card-compact__stars {
    margin-bottom: 16px;
}

.review-card-compact__stars img {
    height: 18px;
}

.review-card-compact__text {
    font-size: 15px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 20px;
    min-height: 80px;
}

.review-card-compact__author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.review-card-compact__avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ff5c00 0%, #ff7a2e 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.review-card-compact__avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.review-card-compact__avatar span {
    color: #fff;
    font-size: 18px;
    font-weight: 700;
}

.review-card-compact__name {
    font-size: 15px;
    font-weight: 700;
    color: #fff;
}

/* ========================================
   FAQ Compact Section
======================================== */

.faq-compact {
    position: relative;
    /* Transparent background to let global body::before show through (soft effect like figma-to-html) */
    background: linear-gradient(180deg,
            rgba(13, 13, 13, 0.5) 0%,
            rgba(33, 35, 39, 0.4) 50%,
            rgba(13, 13, 13, 0.6) 100%);
    overflow: hidden;
}

/* Decorative glow accents like in figma-to-html */
.faq-compact::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(0, 194, 203, 0.1) 0%, transparent 60%);
    border-radius: 50%;
    transform: translateY(-50%) translateX(-50%);
    pointer-events: none;
}

.faq-compact::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(255, 92, 0, 0.08) 0%, transparent 60%);
    border-radius: 50%;
    transform: translate(50%, 50%);
    pointer-events: none;
}

.faq-compact .container {
    position: relative;
    z-index: 1;
}

.faq-accordion .faq-item {
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    /* margin-bottom: 0; */
}

.faq-accordion .faq-item:last-child {
    border-bottom: none;
}

.faq-accordion .faq-item__header {
    background: transparent;
    color: #fff;
    font-family: 'Mulish', sans-serif;
    font-size: 16px;
    font-weight: 700;
    padding: 20px 0;
    border: none;
    box-shadow: none;
}

.faq-accordion .faq-item__header:not(.collapsed) {
    color: #ff5c00;
    background: transparent;
}

.faq-accordion .faq-item__header::after {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23ff5c00' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3E%3C/svg%3E");
    transition: transform 0.3s ease;
}

.faq-accordion .faq-item__header:focus {
    box-shadow: none;
    border: none;
}

.faq-accordion .faq-item__answer {
    color: rgba(255, 255, 255, 0.7);
    font-size: 15px;
    line-height: 1.7;
    padding: 0 0 20px;
}

/* Outline Button Style */
.btn-outline-custom {
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: #fff;
    padding: 12px 28px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 6px;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-outline-custom:hover {
    border-color: #ff5c00;
    background: rgba(255, 92, 0, 0.1);
    color: #fff;
}

/* Responsive */
@media (min-width: 768px) {
    .review-card-compact {
        padding: 32px;
    }

    .review-card-compact__text {
        font-size: 16px;
    }

    .faq-accordion .faq-item__header {
        font-size: 18px;
        padding: 24px 0;
    }
}

@media (min-width: 992px) {
    .review-card-compact__text {
        min-height: 100px;
    }
}


/* ========================================
   Welcome Section (American-Quality)
======================================== */

.welcome-images__grid {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 15px;
    padding: 20px;
}

.welcome-images__main {
    grid-column: 1 / 2;
    grid-row: 1 / 3;
}

.welcome-images__main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
}

.welcome-images__secondary {
    grid-column: 2 / 3;
    grid-row: 1 / 2;
}

.welcome-images__secondary img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

.welcome-images__accent {
    grid-column: 2 / 3;
    grid-row: 2 / 3;
}

.welcome-images__accent img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.3);
}

.welcome-content__title {
    font-family: 'Mulish', sans-serif;
    font-size: 28px;
    font-weight: 800;
    color: #fff;
    line-height: 1.3;
}

.welcome-content__text {
    font-size: 16px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.8);
}

.welcome-content__text p {
    margin-bottom: 15px;
}

.welcome-content__text p:last-child {
    margin-bottom: 0;
}

/* Responsive */
@media (max-width: 991px) {
    .welcome-images__grid {
        max-width: 500px;
        margin: 0 auto;
    }

    .welcome-content {
        text-align: center;
    }
}

@media (min-width: 768px) {
    .welcome-content__title {
        font-size: 32px;
    }

    .welcome-content__text {
        font-size: 17px;
    }
}

@media (min-width: 992px) {
    .welcome-images__grid {
        gap: 20px;
        padding: 30px;
    }

    .welcome-content__title {
        font-size: 36px;
    }

    .welcome-content__text {
        font-size: 18px;
    }

    .welcome-content {
        padding-left: 30px;
    }
}


/* ========================================
   Reviews Section - Avatar with Photo
======================================== */

.review-card-v2__avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ff5c00 0%, #ff7a2e 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex-shrink: 0;
}

.review-card-v2__avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.review-card-v2__avatar span {
    color: #fff;
    font-size: 20px;
    font-weight: 700;
    text-transform: uppercase;
}

.review-card-v2__stars {
    display: flex;
    align-items: center;
    gap: 2px;
}

.review-card-v2__stars svg {
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.3));
}


/* ========================================
   Reviews Section - Vertical Title (like old template)
======================================== */

.reviews-v2 {
    position: relative;
}

.reviews-v2__vertical-text {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%) rotate(-90deg);
    transform-origin: center center;
    z-index: 2;
}

.reviews-v2__vertical-text p {
    font-family: 'Russo One', sans-serif;
    font-size: 14px;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: rgba(255, 255, 255, 0.3);
    white-space: nowrap;
    margin: 0;
}

@media (min-width: 1400px) {
    .reviews-v2__vertical-text {
        left: 40px;
    }

    .reviews-v2__vertical-text p {
        font-size: 16px;
    }
}


/* ========================================
   FAQ Section - точная копия из figma-to-html/css/main.css
======================================== */

.faq {
    position: relative;
    background: linear-gradient(180deg,
            rgba(13, 13, 13, 0.5) 0%,
            rgba(33, 35, 39, 0.4) 50%,
            rgba(13, 13, 13, 0.6) 100%);
    overflow: hidden;
}

.faq::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(0, 194, 203, 0.1) 0%, transparent 60%);
    border-radius: 50%;
    transform: translateY(-50%) translateX(-50%);
    pointer-events: none;
}

.faq::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(255, 92, 0, 0.08) 0%, transparent 60%);
    border-radius: 50%;
    transform: translate(50%, 50%);
    pointer-events: none;
}

.faq__title {
    font-family: var(--font-heading);
    font-weight: 400;
    font-size: 36px;
    line-height: 1em;
    text-transform: lowercase;
    color: var(--color-text-white);
}

.faq-item {
    background: transparent !important;
    border: 2px solid var(--color-secondary) !important;
    border-radius: 20px !important;
    margin-bottom: 12px;
    overflow: hidden;
}

.faq-item .accordion-button {
    background: transparent !important;
    color: var(--color-secondary) !important;
    font-family: var(--font-body);
    font-weight: 800;
    font-size: 16px;
    line-height: 1.2em;
    padding: 18px 20px;
    box-shadow: none !important;
}

.faq-item .accordion-button:not(.collapsed) {
    background: var(--color-dark-card) !important;
}

.faq-item .accordion-button::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%2300C2CB'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
    filter: none;
}

.faq-item .accordion-body {
    background: var(--color-dark-card);
    color: var(--color-text-white);
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 14px;
    line-height: 1.5em;
    padding: 0 20px 20px;
}

@media (min-width: 768px) {
    .faq__title {
        font-size: 42px;
    }

    .faq-item .accordion-button {
        font-size: 18px;
        padding: 20px 25px;
    }

    .faq-item .accordion-body {
        font-size: 15px;
        padding: 0 25px 25px;
    }
}