/* Custom variables and design tokens */
:root {
    --bg-main: #0c0c0c;
    --bg-card: #141414;
    --bg-card-hover: #1c1c1c;
    --color-primary: #d82229;
    --color-primary-hover: #f32b33;
    --color-text-main: #f5f5f5;
    --color-text-muted: #a0a0a0;
    --color-white: #ffffff;
    --font-primary: 'Montserrat', sans-serif;
    --font-heading: 'Outfit', sans-serif;
    --transition-smooth: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-fast: all 0.3s ease;
}

/* Reset and Core Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-main);
    color: var(--color-text-main);
    font-family: var(--font-primary);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-fast);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Utility Classes */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

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

.text-uppercase {
    text-transform: uppercase;
}

.font-outfit {
    font-family: var(--font-heading);
}

.btn {
    display: inline-block;
    padding: 14px 28px;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition-fast);
    border: none;
    text-align: center;
}

.btn-primary {
    background-color: var(--color-primary);
    color: var(--color-white);
}

.btn-primary:hover {
    background-color: var(--color-primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(216, 34, 41, 0.3);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--color-primary);
    color: var(--color-white);
}

.btn-outline:hover {
    background-color: var(--color-primary);
    color: var(--color-white);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(216, 34, 41, 0.2);
}

.btn-white {
    border-color: var(--color-white);
}

.btn-white:hover {
    background-color: var(--color-white);
    color: var(--bg-main);
    box-shadow: 0 10px 20px rgba(255, 255, 255, 0.2);
}

.btn-block {
    display: block;
    width: 100%;
}

/* Scroll Entrance Reveal Animations */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: var(--transition-smooth);
}

.reveal-up {
    opacity: 0;
    transform: translateY(60px);
    transition: var(--transition-smooth);
}

.reveal.active,
.reveal-up.active {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 { transition-delay: 0.15s; }
.delay-2 { transition-delay: 0.3s; }
.delay-3 { transition-delay: 0.45s; }

/* Header / Navigation */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 24px 0;
    background-color: #ffffff;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: var(--transition-smooth);
}

.header.scrolled {
    padding: 12px 0;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border-bottom-color: rgba(0, 0, 0, 0.08);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-splash {
    display: inline-block;
}

.logo-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    line-height: 1;
}

.logo-car-svg {
    width: 80px;
    height: 20px;
    margin-bottom: 2px;
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 900;
    letter-spacing: 1px;
    color: #0c0c0c;
    text-transform: uppercase;
}

.logo-text span {
    color: var(--color-primary);
}

.nav-menu ul {
    display: flex;
    gap: 32px;
    align-items: center;
}

.nav-link {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 14px;
    color: #0c0c0c;
    position: relative;
    padding: 8px 0;
}

.nav-link:hover,
.nav-link.active {
    color: var(--color-primary);
}

.nav-item-dropdown {
    position: relative;
}

.dropdown-menu-box {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    background-color: #d82229;
    padding: 30px;
    width: 420px;
    opacity: 0;
    visibility: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
    border-radius: 4px;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 100;
}

.nav-item-dropdown:hover .dropdown-menu-box {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(10px);
}

.dropdown-columns {
    display: flex;
    gap: 40px;
}

.dropdown-column {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.dropdown-column a {
    color: #ffffff;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 13px;
    transition: var(--transition-fast);
    text-align: left;
}

.dropdown-column a:hover {
    opacity: 0.85;
    transform: translateX(3px);
}

.chevron-arrow {
    font-size: 10px;
    vertical-align: middle;
    display: inline-block;
    transition: transform 0.3s ease;
}

.nav-item-dropdown:hover .chevron-arrow {
    transform: rotate(180deg);
}

.header-contacts-info {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    margin-right: 15px;
    line-height: 1.25;
}

.header-phone {
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 800;
    color: #0c0c0c;
    transition: var(--transition-fast);
    white-space: nowrap;
}

.header-phone:hover {
    color: var(--color-primary);
}

.header-address {
    font-size: 11px;
    color: var(--color-text-muted);
    font-weight: 600;
    white-space: nowrap;
}

@media (max-width: 991px) {
    /* Keep the phone number visible/clickable at all sizes; only drop the
       secondary address line when horizontal space gets tight. */
    .header-address {
        display: none;
    }
    .header-contacts-info {
        margin-right: 12px;
    }
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 24px;
}

.btn-request-quote {
    background-color: #ffffff;
    border: 2px solid #d82229;
    color: #0c0c0c;
    border-radius: 50px;
    padding: 8px 18px;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    cursor: pointer;
    transition: var(--transition-fast);
    white-space: nowrap;
}

.btn-request-quote:hover {
    background-color: #d82229;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 8px 15px rgba(216, 34, 41, 0.2);
}

/* Full label on desktop, short label on phones (keeps the button compact) */
.btn-label-short {
    display: none;
}

.burger-menu {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 6px;
    z-index: 1001;
}

.burger-menu span {
    display: block;
    width: 25px;
    height: 2px;
    background-color: #0c0c0c;
    transition: var(--transition-fast);
}

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 480px;
    display: flex;
    align-items: center;
    padding-top: 130px;
    padding-bottom: 50px;
    overflow: visible;
    background-color: #ffffff;
}

.hero-container {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 64px;
    align-items: center;
    position: relative;
    z-index: 5;
}

.hero-tag-colorado {
    font-family: var(--font-heading);
    color: #d82229;
    font-weight: 800;
    font-size: 12px;
    letter-spacing: 1.5px;
    margin-bottom: 24px;
    display: inline-block;
    background-color: rgba(216, 34, 41, 0.08);
    padding: 6px 12px;
    border-right: 2px solid #d82229;
}

.hero-title-detail {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 72px;
    font-weight: 900;
    line-height: 1.0;
    margin-bottom: 24px;
    letter-spacing: 0.5px;
    color: #0c0c0c;
    text-transform: uppercase;
}

.hero-subtitle-detail {
    font-family: var(--font-primary);
    font-size: 16px;
    font-weight: 400;
    color: #555555;
    line-height: 1.6;
    margin-bottom: 24px;
    max-width: 480px;
}

.hero-floating-badges {
    position: absolute;
    top: -110px;
    left: 36px;
    right: 16px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    z-index: 10;
    pointer-events: none;
}

.floating-badge-card {
    position: relative;
    background-color: #ffffff;
    border: 2px solid #d82229;
    padding: 10px 16px 10px 60px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    pointer-events: auto;
    transition: var(--transition-fast);
    box-shadow: 0 10px 25px rgba(216, 34, 41, 0.1);
}

.floating-badge-card:hover {
    transform: translateY(-2px);
    background-color: #fdfdfd;
    border-color: #f32b33;
    box-shadow: 0 15px 30px rgba(216, 34, 41, 0.18);
}

.floating-badge-icon {
    position: absolute;
    left: -32px;
    top: 50%;
    transform: translateY(-50%);
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    z-index: 2;
}

.floating-badge-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.floating-badge-text {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.floating-badge-text h3 {
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 800;
    text-transform: uppercase;
    color: #0c0c0c;
    letter-spacing: 0.5px;
    margin: 0;
}

.floating-badge-text p {
    font-size: 12px;
    color: #555555;
    margin: 0;
}

@media (max-width: 1200px) {
    .hero-floating-badges {
        left: 28px;
        gap: 36px;
    }
    .floating-badge-card {
        padding: 8px 12px 8px 44px;
    }
    .floating-badge-icon {
        width: 48px;
        height: 48px;
        left: -24px;
    }
    .floating-badge-text h3 {
        font-size: 12px;
    }
    .floating-badge-text p {
        font-size: 10px;
    }
}

@media (max-width: 576px) {
    .hero-floating-badges {
        grid-template-columns: 1fr;
        gap: 28px;
        top: -185px;
        left: 36px;
        right: 16px;
    }
    .floating-badge-card {
        padding: 8px 12px 8px 44px;
    }
    .floating-badge-icon {
        width: 48px;
        height: 48px;
        left: -24px;
    }
}

@media (max-width: 768px) {
    /* On single-column mobile the badges can no longer float above the
       showcase without landing on top of the hero text — put them into
       normal flow, stacked neatly above the video instead. */
    .hero-floating-badges {
        position: static;
        top: auto;
        left: auto;
        right: auto;
        grid-template-columns: 1fr;
        gap: 12px;
        margin: 0 0 28px 0;
        padding-left: 24px;
    }
}

.hero-buttons-detail {
    display: flex;
}

.btn-get-appointment {
    background-color: #d82229;
    color: #ffffff;
    border-radius: 50px;
    padding: 16px 36px;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 10px 25px rgba(216, 34, 41, 0.25);
}

.btn-get-appointment:hover {
    background-color: #f32b33;
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(216, 34, 41, 0.35);
}

/* Hero Showcase Visuals */
.hero-showcase-container {
    position: relative;
    width: 100%;
    max-width: 440px;
    margin-left: auto;
    margin-bottom: -320px;
    z-index: 10;
}

.hero-showcase-container::before {
    content: '';
    position: absolute;
    top: -15px;
    right: -15px;
    width: 100%;
    height: 100%;
    background-color: #d82229;
    z-index: -1;
}

.hero-image-box {
    width: 100%;
    height: 280px;
    overflow: hidden;
}

.hero-image-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hero-maroon-box {
    background-color: #8b1e22;
    padding: 40px;
    color: #ffffff;
}

.maroon-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 32px;
    font-weight: 900;
    letter-spacing: 1px;
    margin-bottom: 16px;
    color: #ffffff;
}

.maroon-text {
    font-family: var(--font-primary);
    font-size: 14px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 28px;
}

.maroon-link {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #ffffff;
    display: inline-block;
    border-bottom: 2px solid #ffffff;
    padding-bottom: 4px;
}

.maroon-link:hover {
    color: #d82229;
    border-bottom-color: #d82229;
}

/* Section Common Styles */
section {
    padding: 120px 0;
    position: relative;
}

.section-title {
    font-size: 40px;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 20px;
    letter-spacing: -0.5px;
    color: var(--color-white);
}

.section-desc {
    font-size: 16px;
    color: var(--color-text-muted);
    max-width: 600px;
    margin: 0 auto 60px auto;
}

/* Intro Section */
.intro-section {
    position: relative;
    background-color: #0c0c0c;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    height: 500px;
    overflow: hidden;
    z-index: 1;
}

.intro-video-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    transform: translate(-50%, -50%);
    object-fit: cover;
    z-index: -2;
    pointer-events: none;
}

.intro-video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    z-index: -1;
}

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

.intro-section .section-title {
    max-width: 800px;
    margin: 0 auto 60px auto;
}

.intro-gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-bottom: 60px;
}

.gallery-card {
    background-color: var(--bg-card);
    border-radius: 6px;
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.03);
    transition: var(--transition-smooth);
}

.gallery-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    filter: saturate(0.6) brightness(0.8);
    transition: var(--transition-smooth);
}

.gallery-card-content {
    padding: 24px;
    text-align: left;
}

.gallery-card-content h4 {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 800;
    margin-bottom: 10px;
    color: var(--color-white);
}

.gallery-card-content p {
    font-size: 13px;
    color: var(--color-text-muted);
    line-height: 1.5;
}

/* Intro Gallery Hover States */
.gallery-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
    border-color: rgba(255, 255, 255, 0.08);
}

.gallery-card:hover img {
    transform: scale(1.08);
    filter: saturate(1.1) brightness(0.95);
}

.intro-actions {
    display: flex;
    justify-content: center;
    gap: 16px;
}

/* Features Section: Interactive Gallery */
.features-section {
    background-color: #ffffff;
    padding: 100px 0;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.features-section .section-title {
    color: #0c0c0c;
}

.features-section .section-desc {
    color: #555555;
}

.interactive-gallery-container {
    width: 100%;
    margin: 40px auto 60px auto;
    overflow: visible;
}

.interactive-gallery {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    min-height: 480px;
    padding: 40px 0;
    overflow: visible;
    transition: var(--transition-smooth);
}

.gallery-item {
    display: flex;
    flex-direction: row;
    align-items: center;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
    position: relative;
    z-index: 2;
    margin: 0 -10px;
}

/* Base tilted states */
.gallery-item.item-tilt-left-2 {
    transform: rotate(-10deg);
    --orig-rotation: -10deg;
}
.gallery-item.item-tilt-left-1 {
    transform: rotate(-5deg);
    --orig-rotation: -5deg;
}
.gallery-item.item-tilt-right-1 {
    transform: rotate(5deg);
    --orig-rotation: 5deg;
}
.gallery-item.item-tilt-right-2 {
    transform: rotate(10deg);
    --orig-rotation: 10deg;
}

.gallery-image-box {
    width: 240px;
    height: 340px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    flex-shrink: 0;
}

.gallery-image-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(0.8) brightness(0.9);
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-text-box {
    width: 0;
    opacity: 0;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    align-self: flex-end;
    padding-bottom: 30px;
}

.gallery-text-content {
    width: 260px; /* Fixed width to prevent wrapping text during slideout */
    pointer-events: none;
}

.gallery-text-box h4 {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 800;
    color: #0c0c0c;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1.2;
}

.gallery-text-box p {
    font-size: 14px;
    color: #555555;
    line-height: 1.6;
}

/* Hover / Active animations on desktop */
@media (min-width: 993px) {
    /* Dim all when gallery is hovered or has active item */
    .interactive-gallery:hover .gallery-item,
    .interactive-gallery.has-active .gallery-item {
        transform: scale(0.85) rotate(var(--orig-rotation));
        opacity: 0.4;
        z-index: 1;
    }

    /* Highlight hovered or active item */
    .interactive-gallery:hover .gallery-item:hover,
    .interactive-gallery.has-active .gallery-item.active {
        transform: scale(1.12) rotate(0deg);
        opacity: 1;
        z-index: 10;
    }

    /* Expand text on hover or active */
    .interactive-gallery:hover .gallery-item:hover .gallery-text-box,
    .interactive-gallery.has-active .gallery-item.active .gallery-text-box {
        width: 260px;
        opacity: 1;
        margin-left: 24px;
    }

    .interactive-gallery:hover .gallery-item:hover .gallery-image-box,
    .interactive-gallery.has-active .gallery-item.active .gallery-image-box {
        box-shadow: 0 25px 50px rgba(216, 34, 41, 0.25);
        border-color: rgba(216, 34, 41, 0.3);
    }

    .interactive-gallery:hover .gallery-item:hover .gallery-image-box img,
    .interactive-gallery.has-active .gallery-item.active .gallery-image-box img {
        filter: saturate(1.1) brightness(1);
        transform: scale(1.05);
    }
}

/* Card-deal entrance: cards fly in and fan out like a dealt hand on scroll.
   Uses animation-fill-mode: backwards so the finished state reverts to the
   normal tilt (keeps the hover/active effects working afterwards). */
@media (min-width: 993px) {
    .interactive-gallery:not(.dealt) .gallery-item {
        opacity: 0;
    }
    .interactive-gallery.dealt .gallery-item {
        animation: galleryDeal 0.75s cubic-bezier(0.16, 1, 0.3, 1) backwards;
    }
    .interactive-gallery.dealt .item-tilt-left-2  { animation-delay: 0.05s; }
    .interactive-gallery.dealt .item-tilt-left-1  { animation-delay: 0.18s; }
    .interactive-gallery.dealt .item-tilt-right-1 { animation-delay: 0.31s; }
    .interactive-gallery.dealt .item-tilt-right-2 { animation-delay: 0.44s; }
}

@keyframes galleryDeal {
    from {
        opacity: 0;
        transform: translateY(110px) scale(0.6) rotate(0deg);
    }
}

/* Responsive overrides for smaller screens */
@media (max-width: 992px) {
    .interactive-gallery {
        flex-direction: column;
        gap: 30px;
        align-items: center;
        min-height: auto;
    }
    .gallery-item {
        transform: none !important;
        width: 100%;
        max-width: 500px;
        justify-content: flex-start;
        margin: 0;
    }
    .gallery-image-box {
        width: 120px;
        height: 180px;
        flex-shrink: 0;
    }
    .gallery-text-box {
        width: auto !important;
        opacity: 1 !important;
        margin-left: 20px !important;
        padding-bottom: 0 !important;
        align-self: center !important;
    }
    .gallery-text-content {
        width: auto !important;
    }
    /* Disable scale down effect on mobile to keep readability */
    .interactive-gallery:hover .gallery-item,
    .interactive-gallery.has-active .gallery-item {
        transform: none !important;
        opacity: 1 !important;
    }
}

.features-actions {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-top: 40px;
}

.features-actions .btn {
    border-radius: 50px;
}

.features-actions .btn-outline {
    border: 2px solid var(--color-primary);
    color: #0c0c0c;
}

.features-actions .btn-outline:hover {
    background-color: var(--color-primary);
    color: #ffffff;
}

/* Services Section */
.services-section {
    background-color: #ffffff;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    padding: 100px 0;
}

.services-container {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 64px;
}

.services-left {
    position: sticky;
    top: 120px;
    height: fit-content;
}

.services-left .section-title {
    margin-bottom: 24px;
    color: #0c0c0c;
    border-left: 4px solid var(--color-primary);
    padding-left: 20px;
}

.services-left .section-desc {
    margin: 0 0 40px 0;
    text-align: left;
    color: #555555;
}

.services-left .btn-outline {
    border: 2px solid var(--color-primary);
    color: #0c0c0c;
    border-radius: 50px;
}

.services-left .btn-outline:hover {
    background-color: var(--color-primary);
    color: #ffffff;
    box-shadow: 0 10px 20px rgba(216, 34, 41, 0.2);
}

.services-right {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.service-row {
    display: flex;
    gap: 30px;
    align-items: flex-start;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    transition: var(--transition-fast);
}

.service-row:hover {
    border-bottom-color: var(--color-primary);
}

.service-img {
    width: 150px;
    height: 220px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
    background-color: #f5f5f5;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.service-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.service-row:hover .service-img img {
    transform: scale(1.05);
}

.service-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.service-info h3 {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 900;
    color: #0c0c0c;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: var(--transition-fast);
}

.service-row:hover .service-info h3 {
    color: var(--color-primary);
}

.service-info p {
    font-size: 14px;
    color: #555555;
    margin-bottom: 12px;
    line-height: 1.6;
}

.service-list-detail {
    margin: 0 0 20px 0;
    padding: 0;
    list-style: none;
    width: 100%;
}

.service-list-detail li {
    position: relative;
    font-size: 14px;
    color: #444444;
    margin-bottom: 8px;
    padding-left: 20px;
    line-height: 1.5;
    font-weight: 500;
}

.service-list-detail li::before {
    content: "•";
    position: absolute;
    left: 4px;
    color: var(--color-primary);
    font-size: 18px;
    line-height: 14px;
    top: 1px;
}

.service-details-link {
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #0c0c0c;
    display: inline-block;
    position: relative;
    padding-bottom: 4px;
    transition: var(--transition-fast);
}

.service-details-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-primary);
    transition: var(--transition-fast);
}

.service-row:hover .service-details-link {
    color: var(--color-primary);
}

.service-row:hover .service-details-link::after {
    width: 100%;
}

@media (max-width: 600px) {
    .service-row {
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 20px;
    }
    .service-img {
        width: 100% !important;
        height: 200px !important;
    }
}

/* Advantages & Honesty Section */
.advantages-section {
    position: relative;
    padding: 160px 0;
    overflow: hidden;
    background-color: var(--bg-main);
}

.advantages-container {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 64px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.advantages-tag {
    font-family: var(--font-heading);
    color: var(--color-primary);
    font-weight: 800;
    font-size: 12px;
    letter-spacing: 1.5px;
    margin-bottom: 24px;
    display: inline-block;
    background-color: rgba(216, 34, 41, 0.08);
    padding: 6px 12px;
    border-right: 2px solid var(--color-primary);
}

.advantages-title {
    font-size: 48px;
    font-weight: 900;
    margin-bottom: 30px;
    line-height: 1.1;
    color: var(--color-white);
}

.advantages-text {
    font-size: 16px;
    color: var(--color-text-muted);
    max-width: 580px;
    line-height: 1.8;
    margin-bottom: 40px;
}

.advantages-grid {
    display: flex;
    flex-direction: column;
    gap: 30px;
    max-width: 550px;
}

.advantage-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.advantage-icon-box {
    font-size: 24px;
    background: rgba(216, 34, 41, 0.1);
    color: var(--color-primary);
    width: 54px;
    height: 54px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border: 1px solid rgba(216, 34, 41, 0.2);
}

.advantage-info h4 {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 800;
    color: var(--color-white);
    margin-bottom: 8px;
    text-transform: uppercase;
}

.advantage-info p {
    font-size: 14px;
    color: var(--color-text-muted);
    line-height: 1.6;
}

.honesty-card {
    background-color: #121212;
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 48px;
    border-radius: 8px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6);
}

.honesty-title {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 900;
    color: var(--color-white);
    margin-bottom: 8px;
    letter-spacing: 1px;
}

.honesty-subtitle {
    font-size: 14px;
    color: var(--color-text-muted);
    margin-bottom: 28px;
}

.honesty-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 32px;
}

.honesty-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
    color: var(--color-text-main);
    font-weight: 600;
}

.honesty-list li span {
    color: var(--color-primary);
    font-weight: 900;
    font-size: 16px;
}

.honesty-warning-box {
    display: flex;
    gap: 16px;
    background: rgba(216, 34, 41, 0.05);
    border-left: 3px solid var(--color-primary);
    padding: 16px 20px;
    border-radius: 4px;
    margin-bottom: 32px;
}

.warning-icon {
    font-size: 20px;
    flex-shrink: 0;
}

.warning-text {
    font-size: 13px;
    line-height: 1.6;
    color: var(--color-text-muted);
    margin: 0;
}

.honesty-btn {
    width: 100%;
}

.advantages-bg-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.advantages-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.15;
    filter: grayscale(1) brightness(0.4);
}

.advantages-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(12,12,12,1) 0%, rgba(12,12,12,0.6) 50%, rgba(12,12,12,1) 100%);
}

@media (max-width: 991px) {
    .advantages-container {
        grid-template-columns: minmax(0, 1fr);
        gap: 48px;
    }
    
    .advantages-title {
        font-size: 36px;
    }
    
    .honesty-card {
        padding: 32px;
    }
}

/* Tariffs Section */
.tariffs-section {
    background-color: var(--bg-main);
    border-top: 1px solid rgba(255, 255, 255, 0.03);
}

.tariffs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    align-items: stretch;
}

.tariff-card {
    background-color: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 48px 40px;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: var(--transition-smooth);
}

.tariff-card.highlighted {
    background-color: var(--color-primary);
    border-color: var(--color-primary);
    transform: scale(1.03);
}

.tariff-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
}

.tariff-card.highlighted:hover {
    box-shadow: 0 30px 60px rgba(216, 34, 41, 0.35);
}

.tariff-price {
    font-family: var(--font-heading);
    font-size: 36px;
    font-weight: 900;
    display: block;
    margin-bottom: 12px;
    color: var(--color-white);
}

.tariff-title {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 900;
    margin-bottom: 12px;
    color: var(--color-white);
}

.tariff-desc {
    font-size: 14px;
    color: var(--color-text-muted);
    margin-bottom: 32px;
    line-height: 1.5;
}

.tariff-card.highlighted .tariff-desc {
    color: rgba(255, 255, 255, 0.8);
}

.tariff-features {
    margin-bottom: 40px;
}

.tariff-features li {
    font-size: 14px;
    margin-bottom: 14px;
    color: var(--color-text-main);
    display: flex;
    align-items: center;
    gap: 12px;
}

.tariff-card.highlighted .tariff-features li {
    color: var(--color-white);
}

.tariff-features li span {
    color: var(--color-primary);
    font-weight: bold;
}

.tariff-card.highlighted .tariff-features li span {
    color: var(--color-white);
}

.tariff-btn {
    width: 100%;
}

/* Team Section */
.team-section {
    background-color: #080808;
    border-top: 1px solid rgba(255, 255, 255, 0.03);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.team-card {
    background-color: var(--bg-card);
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.03);
    transition: var(--transition-smooth);
}

.team-img-wrapper {
    width: 100%;
    height: 320px;
    overflow: hidden;
    position: relative;
    background-color: #222;
}

.team-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(1) brightness(0.85);
    transition: var(--transition-smooth);
}

.team-card:hover .team-img-wrapper img {
    filter: grayscale(0) brightness(0.95);
    transform: scale(1.05);
}

.team-info {
    padding: 24px;
    text-align: center;
    background-color: var(--bg-card);
    position: relative;
    z-index: 2;
}

.member-name {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 800;
    margin-bottom: 6px;
    color: var(--color-white);
}

.member-role {
    font-size: 13px;
    color: var(--color-text-muted);
}

.team-card:hover {
    transform: translateY(-8px);
    border-color: rgba(216, 34, 41, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
}

/* Reviews Section */
.reviews-section {
    background-color: #ffffff;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    padding: 100px 0;
    overflow: hidden;
}

.reviews-wrapper {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 64px;
    align-items: center;
}

.reviews-left .section-title {
    color: #0c0c0c;
    border-left: 4px solid var(--color-primary);
    padding-left: 20px;
    margin-bottom: 32px;
}

.reviews-img-container {
    border-radius: 8px;
    overflow: visible;
    position: relative;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.reviews-img-accent-line {
    position: absolute;
    top: 30px;
    right: -20px;
    width: 60px;
    height: 3px;
    background-color: var(--color-primary);
    z-index: 10;
}

.reviews-img-container img {
    width: 100%;
    height: 480px;
    object-fit: cover;
    border-radius: 8px;
    display: block;
    transition: opacity 0.3s ease-in-out;
}

.reviews-right {
    position: relative;
    padding-left: 20px;
}

.reviews-slider {
    position: relative;
    min-height: 280px;
}

.review-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    visibility: hidden;
    transform: translateX(40px);
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.review-slide.active {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
    position: relative;
}

.reviewer-meta {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 24px;
}

.reviewer-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--color-primary);
    color: #ffffff;
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
}

.reviewer-name {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 900;
    color: #0c0c0c;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.review-text {
    font-size: 15px;
    line-height: 1.8;
    color: #555555;
    margin-bottom: 24px;
}

.rating-stars {
    margin-bottom: 12px;
}

.rating-stars span {
    color: var(--color-primary);
    font-size: 18px;
    margin-right: 4px;
}

.review-car-tag {
    font-size: 12px;
    color: #888888;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 700;
    display: block;
}

.slider-controls {
    display: flex;
    gap: 16px;
    margin-top: 40px;
    justify-content: flex-end;
}

.slider-btn {
    background: none;
    border: 2px solid #e0e0e0;
    color: #0c0c0c;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
}

.slider-btn.prev-btn {
    border-color: #0c0c0c;
    border-width: 2px;
}

.slider-btn:hover {
    border-color: var(--color-primary);
    background-color: var(--color-primary);
    color: #ffffff;
    transform: scale(1.05);
}

/* Appointment / Form Section */
.contact-section {
    position: relative;
    padding: 140px 0;
    overflow: hidden;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: flex-start;
    position: relative;
    z-index: 2;
}

.contact-title {
    font-size: 48px;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 24px;
}

.contact-desc {
    font-size: 16px;
    color: var(--color-text-muted);
    line-height: 1.8;
    max-width: 500px;
    margin-bottom: 40px;
}

.appointment-form-full {
    width: 100%;
}

.form-inputs-group {
    background: rgba(20, 20, 20, 0.5);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

.form-group {
    margin-bottom: 20px;
}

.form-inputs-group input {
    width: 100%;
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 16px 20px;
    border-radius: 4px;
    color: var(--color-white);
    font-family: var(--font-primary);
    font-size: 14px;
    transition: var(--transition-fast);
    outline: none;
}

.form-inputs-group input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.form-inputs-group input:focus {
    border-color: var(--color-primary);
    background-color: rgba(255, 255, 255, 0.05);
    box-shadow: 0 0 15px rgba(216, 34, 41, 0.15);
}

/* File Upload styling */
.file-upload-group {
    position: relative;
    margin-top: 10px;
}

.file-upload-label {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 24px;
    border: 2px dashed rgba(255, 255, 255, 0.15);
    border-radius: 6px;
    cursor: pointer;
    background-color: rgba(255, 255, 255, 0.02);
    transition: var(--transition-fast);
    text-align: center;
}

.file-upload-label:hover {
    border-color: var(--color-primary);
    background-color: rgba(216, 34, 41, 0.03);
}

.file-upload-icon {
    font-size: 28px;
    margin-bottom: 10px;
    display: block;
}

.file-upload-text {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 14px;
    color: var(--color-white);
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.file-upload-hint {
    font-size: 11px;
    color: var(--color-text-muted);
}

.file-upload-input {
    display: none;
}

.file-list-preview {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin-top: 16px;
}

.file-preview-item {
    position: relative;
    width: 100%;
    height: 65px;
    border-radius: 4px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.file-preview-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.file-preview-remove {
    position: absolute;
    top: 2px;
    right: 2px;
    background-color: var(--color-primary);
    color: #ffffff;
    border-radius: 50%;
    width: 16px;
    height: 16px;
    font-size: 9px;
    line-height: 16px;
    text-align: center;
    cursor: pointer;
    font-weight: bold;
    transition: var(--transition-fast);
    border: none;
}

.file-preview-remove:hover {
    background-color: #ffffff;
    color: var(--color-primary);
}

/* Diagram styling */
.diagram-card {
    background: rgba(20, 20, 20, 0.75);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 30px 40px;
    border-radius: 8px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
    transition: var(--transition-smooth);
}

.diagram-card:hover {
    border-color: rgba(216, 34, 41, 0.25);
    box-shadow: 0 40px 80px rgba(216, 34, 41, 0.1);
}

.diagram-title {
    font-size: 24px;
    font-weight: 900;
    color: var(--color-white);
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.diagram-subtitle {
    font-size: 13px;
    color: var(--color-text-muted);
    margin-bottom: 24px;
}

.diagram-interactive-area {
    display: flex;
    gap: 30px;
    align-items: center;
    margin-bottom: 24px;
}

.car-diagram-left {
    flex: 0 0 140px;
    max-width: 140px;
}

.car-diagram-wrapper {
    width: 100%;
    margin: 0;
    display: flex;
    justify-content: center;
}

.car-svg-diagram {
    display: block;
    overflow: visible;
}

.car-part {
    fill: #141414;
    stroke: #333333;
    stroke-width: 1.2px;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.car-part:hover {
    fill: #222222;
    stroke: var(--color-primary);
    filter: drop-shadow(0 0 4px rgba(216, 34, 41, 0.4));
}

.car-part.selected {
    fill: var(--color-primary);
    stroke: #ffffff;
    filter: drop-shadow(0 0 6px rgba(216, 34, 41, 0.7));
}

.car-parts-right {
    flex: 1;
}

.parts-checkbox-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
}

.part-checkbox-btn {
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 4px;
    padding: 8px 12px;
    font-size: 11px;
    color: #e0e0e0;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: center;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    justify-content: center;
    user-select: none;
}

.part-checkbox-btn:hover {
    border-color: rgba(255, 255, 255, 0.2);
    background-color: rgba(255, 255, 255, 0.06);
}

.part-checkbox-btn.selected {
    background-color: rgba(216, 34, 41, 0.15);
    border-color: var(--color-primary);
    color: #ffffff;
    box-shadow: 0 0 10px rgba(216, 34, 41, 0.2);
}

@media (max-width: 768px) {
    .diagram-interactive-area {
        flex-direction: column;
        gap: 24px;
    }
    
    .car-diagram-left {
        flex: 0 0 160px;
        max-width: 160px;
    }
}

@media (max-width: 480px) {
    .parts-checkbox-grid {
        grid-template-columns: 1fr;
    }
}

.calculation-summary-box {
    background-color: rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 16px 20px;
    border-radius: 6px;
    margin-bottom: 20px;
}

.calculation-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.calculation-total span {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--color-text-muted);
}

.calculation-total strong {
    font-size: 22px;
    color: var(--color-primary);
    font-weight: 900;
}

.price-display-container {
    display: flex;
    align-items: center;
    gap: 12px;
}

.original-price-crossed {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.4);
    text-decoration: line-through;
    font-weight: 700;
    display: none;
}

.calculation-disclaimer {
    font-size: 11px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.4);
    margin: 0;
    text-align: left;
}

.form-submit-btn {
    padding: 16px;
}

.form-privacy {
    font-size: 11px;
    color: var(--color-text-muted);
    text-align: center;
    margin-top: 16px;
    line-height: 1.5;
}

/* Form Success State styling */
.form-success {
    display: none;
    text-align: center;
    background: rgba(20, 20, 20, 0.9);
    backdrop-filter: blur(20px);
    border: 1px solid var(--color-primary);
    padding: 60px 40px;
    border-radius: 8px;
    box-shadow: 0 30px 60px rgba(216, 34, 41, 0.2);
    animation: zoomIn 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes zoomIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.success-icon {
    width: 72px;
    height: 72px;
    background-color: var(--color-primary);
    border-radius: 50%;
    color: var(--color-white);
    font-size: 32px;
    line-height: 72px;
    margin: 0 auto 24px auto;
    font-weight: bold;
}

.form-success h3 {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 900;
    color: var(--color-white);
    margin-bottom: 16px;
}

.form-success p {
    font-size: 14px;
    color: var(--color-text-muted);
    line-height: 1.6;
}

.contact-bg-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.contact-bg-img,
.contact-bg-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
}

.contact-bg-img {
    opacity: 0.12;
    filter: grayscale(1) brightness(0.3);
}

.contact-bg-video {
    opacity: 0.45;
    filter: brightness(0.85);
    z-index: -2;
}

.contact-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 30% 50%, rgba(12, 12, 12, 0.1) 0%, rgba(12, 12, 12, 0.75) 100%);
}

/* Footer Section */
.footer {
    background-color: #070707;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 100px;
    padding-bottom: 40px;
}

/* Contacts Section */
.contacts-section {
    background-color: #ffffff;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    padding: 100px 0;
    overflow: hidden;
}

.contacts-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.contacts-left {
    width: 100%;
    height: 380px;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.05);
}

.map-container {
    width: 100%;
    height: 100%;
}

.map-container iframe {
    display: block;
    width: 100%;
    height: 100%;
    filter: grayscale(0.2);
}

.contacts-right {
    display: flex;
    flex-direction: column;
}

.contacts-right .footer-tag {
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 4px;
    color: var(--color-primary);
    display: block;
    margin-bottom: 20px;
}

.contacts-section .contacts-title {
    color: #0c0c0c;
    border-left: 4px solid var(--color-primary);
    padding-left: 20px;
    margin-bottom: 32px;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-method-item {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.contact-method-label {
    font-size: 11px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #888888;
}

.contact-phone-link {
    font-family: var(--font-heading);
    font-size: 36px;
    font-weight: 900;
    color: #0c0c0c;
    text-decoration: none;
    transition: var(--transition-fast);
    display: inline-block;
}

.contact-phone-link:hover {
    color: var(--color-primary);
}

.contact-address-text {
    font-size: 15px;
    color: #333333;
}

.social-buttons-group {
    display: flex;
    gap: 16px;
    margin-top: 4px;
}

.social-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-decoration: none;
    transition: var(--transition-fast);
}

.tg-btn {
    background-color: transparent;
    border: 2px solid #e0e0e0;
    color: #0c0c0c;
}

.tg-btn:hover {
    border-color: #0088cc;
    background-color: #0088cc;
    color: #ffffff;
    box-shadow: 0 5px 15px rgba(0, 136, 204, 0.2);
}

.vk-btn {
    background-color: transparent;
    border: 2px solid #e0e0e0;
    color: #0c0c0c;
}

.vk-btn:hover {
    border-color: #4a76a8;
    background-color: #4a76a8;
    color: #ffffff;
    box-shadow: 0 5px 15px rgba(74, 118, 168, 0.2);
}

.social-icon {
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .contacts-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .contacts-left {
        height: 280px;
    }
    
    .contacts-section .contacts-title {
        font-size: 30px;
    }
    
    .contact-phone-link {
        font-size: 28px;
    }
    
    .social-buttons-group {
        flex-direction: column;
        gap: 10px;
    }
    
    .social-btn {
        width: 100%;
        justify-content: center;
    }
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 60px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr 0.8fr;
    gap: 64px;
    margin-bottom: 60px;
}

.footer-logo {
    display: inline-block;
    margin-bottom: 24px;
    font-size: 28px;
}

.footer-about {
    font-size: 14px;
    color: var(--color-text-muted);
    line-height: 1.7;
}

.footer-col h4 {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-white);
    margin-bottom: 28px;
}

.footer-links-list li {
    margin-bottom: 14px;
    font-size: 14px;
    color: var(--color-text-muted);
}

.footer-links-list a:hover {
    color: var(--color-primary);
}

.footer-links-list li span {
    color: var(--color-white);
    font-weight: 600;
    display: block;
    margin-bottom: 4px;
}

.footer-divider {
    border: 0;
    height: 1px;
    background-color: rgba(255, 255, 255, 0.05);
    margin-bottom: 30px;
}

.footer-copyright {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    color: var(--color-text-muted);
}

.back-to-top-btn {
    font-family: var(--font-heading);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-white);
}

.back-to-top-btn:hover {
    color: var(--color-primary);
    transform: translateY(-3px);
}

/* Mobile Responsiveness Breakpoints */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 48px;
    }
    .intro-gallery {
        grid-template-columns: repeat(2, 1fr);
    }
    .services-container {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    .services-left {
        position: relative;
        top: 0;
    }
    .tariffs-grid {
        grid-template-columns: 1fr;
        gap: 24px;
        max-width: 500px;
        margin: 0 auto;
    }
    .tariff-card.highlighted {
        transform: none;
    }
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .reviews-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .reviews-img-container img {
        height: 350px;
    }
    .contact-container {
        grid-template-columns: minmax(0, 1fr);
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .burger-menu {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 400px;
        height: 100vh;
        background-color: rgba(12, 12, 12, 0.98);
        backdrop-filter: blur(20px);
        padding: 100px 48px;
        z-index: 1000;
        transition: var(--transition-smooth);
        border-left: 1px solid rgba(255, 255, 255, 0.05);
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-menu ul {
        flex-direction: column;
        gap: 24px;
    }
    
    .nav-link {
        font-size: 18px;
        color: #ffffff;
    }
    .nav-menu .nav-link:hover,
    .nav-menu .nav-link.active {
        color: var(--color-primary);
    }
    
    .header-actions .header-btn,
    .header-actions .phone-link {
        display: none; /* Hide on mobile to avoid overcrowding */
    }

    /* Compact header on phones so logo + phone + button + burger all fit */
    .header-actions {
        gap: 10px;
    }
    .header-contacts-info {
        margin-right: 2px;
    }
    .header-phone {
        font-size: 13px;
    }
    .btn-request-quote {
        padding: 7px 12px;
        font-size: 11px;
    }
    .btn-label-full {
        display: none;
    }
    .btn-label-short {
        display: inline;
    }
    
    .hero-container {
        grid-template-columns: minmax(0, 1fr);
        text-align: center;
        gap: 40px;
    }

    /* Let grid items shrink below the intrinsic width of the video/image
       inside the right column (otherwise the column stretches to ~478px
       and the whole page scrolls sideways on phones). */
    .hero-left,
    .hero-right {
        min-width: 0;
    }

    .hero-showcase-container {
        max-width: 420px;
        margin-left: auto;
        margin-right: auto;
        margin-bottom: 0; /* drop the desktop -320px overlap on mobile */
    }

    .hero-subtitle-detail {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-buttons-detail {
        justify-content: center;
    }

    .hero-title-detail {
        font-size: 46px;
    }

    .hero-title {
        font-size: 38px;
    }
    
    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .experience-container {
        grid-template-columns: 1fr;
    }
    
    .experience-stats-card {
        padding: 32px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-copyright {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-title-detail {
        font-size: 40px;
    }
    .hero-maroon-box {
        padding: 28px;
    }
    .intro-gallery {
        grid-template-columns: 1fr;
    }
    .service-row {
        grid-template-columns: 1fr;
    }
    .team-grid {
        grid-template-columns: 1fr;
    }
    .appointment-form {
        padding: 24px;
    }
}
