/**
 * International Cars Custom Styles
 * Dark theme with orange gradient accents
 */

/* ==========================================================================
   Global Styles
   ========================================================================== */

:root {
    --color-bg-primary: #0d0d0d;
    --color-bg-secondary: #000000;
    --color-bg-gradient-start: #09090b;
    --color-bg-gradient-end: #000000;
    
    --color-orange-start: #f99814;
    --color-orange-end: #d56f16;
    
    --color-text-primary: #ffffff;
    --color-text-secondary: rgba(255, 255, 255, 0.8);
    --color-text-tertiary: rgba(255, 255, 255, 0.7);
    --color-text-muted: rgba(255, 255, 255, 0.6);
    --color-text-faint: rgba(255, 255, 255, 0.5);
    
    --color-border: rgba(255, 255, 255, 0.1);
    --color-card-bg: rgba(255, 255, 255, 0.05);
    --color-card-gradient-start: rgba(255, 255, 255, 0.06);
    --color-card-gradient-end: rgba(255, 255, 255, 0.03);
    
    --border-radius-card: 12px;
    --border-radius-button: 999px;
    --border-radius-form: 16px;
}

body.ic-page {
    background: var(--color-bg-primary);
    color: var(--color-text-primary);
    font-family: 'Inter', sans-serif;
}

html {
    scroll-behavior: smooth;
}

.ic-container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 80px;
}

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

.ic-header {
    position: sticky;
    top: 0;
    z-index: 1300;
    height: 64px;
    background: rgba(0, 0, 0, 0.95);
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.65);
}

.ic-header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    padding: 0 60px;
    gap: 40px;
}

/* Header Logo */
.ic-header-logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.ic-header-logo img {
    height: 36px;
    width: auto;
}

/* Header CTA Buttons */
.ic-header-cta {
    display: flex;
    gap: 12px;
    align-items: center;
    flex-shrink: 0;
}

/* ==========================================================================
   Corner Buttons - Modern Design with Advanced Effects
   ========================================================================== */

.ic-corner-btn {
    position: absolute;
    width: 240px;
    height: auto;
    text-decoration: none;
    z-index: 50;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.ic-corner-btn-left {
    left: 24px;
    top: 64px;
}

.ic-corner-btn-right {
    right: 24px;
    top: 64px;
}

.ic-corner-btn-inner {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 20px;
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.08) 0%,
        rgba(255, 255, 255, 0.04) 50%,
        rgba(255, 255, 255, 0.02) 100%
    );
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 20px;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.15),
        inset 0 -1px 0 rgba(0, 0, 0, 0.2);
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Animated Glow Effect */
.ic-corner-btn-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(
        circle at center,
        rgba(249, 152, 20, 0.2) 0%,
        rgba(213, 111, 22, 0.1) 30%,
        transparent 70%
    );
    opacity: 0;
    transform: scale(0.5);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
    z-index: 0;
}

.ic-corner-btn:hover .ic-corner-btn-glow {
    opacity: 1;
    transform: scale(1) rotate(90deg);
}

.ic-corner-btn-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.ic-corner-btn-logo {
    width: 100%;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
    border-radius: 12px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.08);
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.ic-corner-btn-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: grayscale(60%) brightness(0.8);
    opacity: 0.7;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transform: scale(1);
}

.ic-corner-btn:hover .ic-corner-btn-logo {
    background: rgba(0, 0, 0, 0.5);
    border-color: rgba(249, 152, 20, 0.3);
    box-shadow: 0 4px 20px rgba(249, 152, 20, 0.15);
}

.ic-corner-btn:hover .ic-corner-btn-logo img {
    filter: grayscale(0%) brightness(1);
    opacity: 1;
    transform: scale(1.08);
}

/* Badge with Icon */
.ic-corner-btn-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 8px 16px;
    background: linear-gradient(
        90deg,
        rgba(249, 152, 20, 0.15) 0%,
        rgba(213, 111, 22, 0.15) 100%
    );
    border: 1px solid rgba(249, 152, 20, 0.25);
    border-radius: 999px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.ic-corner-btn:hover .ic-corner-btn-badge {
    background: linear-gradient(
        90deg,
        rgba(249, 152, 20, 0.3) 0%,
        rgba(213, 111, 22, 0.3) 100%
    );
    border-color: rgba(249, 152, 20, 0.5);
    box-shadow: 
        0 0 20px rgba(249, 152, 20, 0.3),
        0 0 40px rgba(249, 152, 20, 0.1);
}

.ic-corner-btn-icon {
    width: 12px;
    height: 12px;
    color: var(--color-orange-start);
    opacity: 0.8;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.ic-corner-btn:hover .ic-corner-btn-icon {
    opacity: 1;
    animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.15);
        opacity: 0.8;
    }
}

.ic-corner-btn-text {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.75);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.ic-corner-btn:hover .ic-corner-btn-text {
    color: rgba(255, 255, 255, 0.95);
    letter-spacing: 1px;
}

/* Hover State - Overall Button */
.ic-corner-btn:hover {
    transform: translateY(-4px) scale(1.02);
}

.ic-corner-btn:hover .ic-corner-btn-inner {
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.12) 0%,
        rgba(255, 255, 255, 0.06) 50%,
        rgba(255, 255, 255, 0.04) 100%
    );
    border-color: rgba(249, 152, 20, 0.4);
    box-shadow: 
        0 16px 48px rgba(0, 0, 0, 0.6),
        0 8px 24px rgba(249, 152, 20, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.25),
        inset 0 -1px 0 rgba(0, 0, 0, 0.3);
}

/* Active/Click State */
.ic-corner-btn:active {
    transform: translateY(-2px) scale(1);
}

.ic-corner-btn:active .ic-corner-btn-inner {
    box-shadow: 
        0 8px 24px rgba(0, 0, 0, 0.5),
        0 4px 12px rgba(249, 152, 20, 0.15);
}

/* ==========================================================================
   Home Button (Desktop Only)
   ========================================================================== */

.ic-home-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 13px;
    text-transform: uppercase;
    text-decoration: none;
    letter-spacing: 0.5px;
    color: var(--color-text-primary);
    background: rgba(255, 255, 255, 0.08);
    border: 2px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15),
                inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.ic-home-btn svg {
    width: 16px;
    height: 16px;
    stroke-width: 2.5;
    transition: transform 0.3s ease;
}

.ic-home-btn:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(249, 152, 20, 0.4);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(249, 152, 20, 0.2),
                0 4px 12px rgba(0, 0, 0, 0.2),
                inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.ic-home-btn:hover svg {
    transform: scale(1.1);
}

.ic-home-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(249, 152, 20, 0.15);
}

.ic-nav {
    display: flex;
    gap: 8px;
    align-items: center;
}

/* Desktop Navigation - always visible on desktop */
.ic-nav-desktop {
    display: flex;
    gap: 8px;
    align-items: center;
    margin: 0 auto;
}

/* Navigation Text Links with Hover Effect */
.ic-nav-link {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 6px;
    transition: all 0.2s ease;
    position: relative;
}

.ic-nav-link:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.08);
}

.ic-nav-link::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 20px;
    height: 2px;
    background: linear-gradient(90deg, #f99814, #d56f16);
    border-radius: 1px;
    transition: transform 0.2s ease;
}

.ic-nav-link:hover::after {
    transform: translateX(-50%) scaleX(1);
}

/* ==========================================================================
   Buttons - Modern Design with Gradient & Effects
   ========================================================================== */

/* Base Button Styles */
.ic-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 13px;
    text-transform: uppercase;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    border: none;
    height: auto;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

/* Ripple Effect for All Buttons */
.ic-btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    transform: translate(-50%, -50%);
    transition: width 0.7s ease, height 0.7s ease, opacity 0.7s ease;
    opacity: 0;
    pointer-events: none;
    z-index: -1;
}

.ic-btn:active::after {
    width: 400px;
    height: 400px;
    opacity: 1;
    transition: width 0s, height 0s, opacity 0.3s;
}

/* PRIMARY BUTTON - Orange Gradient */
.ic-btn-primary {
    background: linear-gradient(90deg, #F99814 0%, #D56F16 100%);
    color: #ffffff;
    border: none;
    box-shadow: 0 4px 12px rgba(249, 152, 20, 0.25),
                0 2px 6px rgba(213, 111, 22, 0.15);
    position: relative;
}

/* Shine Effect on Hover */
.ic-btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(255, 255, 255, 0.3) 50%,
        transparent 100%
    );
    transition: left 0.6s ease;
    z-index: 1;
}

.ic-btn-primary:hover::before {
    left: 100%;
}

.ic-btn-primary:hover {
    background: linear-gradient(90deg, #FFA52E 0%, #E07B1D 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(249, 152, 20, 0.35),
                0 3px 10px rgba(213, 111, 22, 0.25);
}

.ic-btn-primary:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(249, 152, 20, 0.3);
    transition: all 0.1s ease;
}

/* SECONDARY BUTTON - Glassmorphism Style */
.ic-btn-secondary {
    background: rgba(255, 255, 255, 0.06);
    border: 2px solid rgba(255, 255, 255, 0.18);
    color: var(--color-text-primary);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15),
                inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.ic-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.35);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 24px rgba(255, 255, 255, 0.15),
                0 4px 12px rgba(0, 0, 0, 0.2),
                inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.ic-btn-secondary:active {
    transform: translateY(-1px) scale(1);
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.1);
}

/* TERTIARY BUTTON - Gradient Border */
.ic-btn-tertiary {
    background: transparent;
    color: var(--color-text-primary);
    border: 2px solid transparent;
    background-image: 
        linear-gradient(var(--color-bg-primary), var(--color-bg-primary)),
        linear-gradient(90deg, #F99814 0%, #D56F16 100%);
    background-origin: border-box;
    background-clip: padding-box, border-box;
    box-shadow: 0 4px 16px rgba(249, 152, 20, 0.15);
}

.ic-btn-tertiary:hover {
    background-image: 
        linear-gradient(90deg, rgba(249, 152, 20, 0.1) 0%, rgba(213, 111, 22, 0.1) 100%),
        linear-gradient(90deg, #F99814 0%, #D56F16 100%);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 24px rgba(249, 152, 20, 0.3);
}

.ic-btn-tertiary:active {
    transform: translateY(-1px) scale(1);
}

/* GHOST BUTTON - Minimal Style */
.ic-btn-ghost {
    background: transparent;
    color: rgba(255, 255, 255, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: none;
}

.ic-btn-ghost:hover {
    background: rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.95);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.05);
}

.ic-btn-ghost:active {
    transform: translateY(0);
    background: rgba(255, 255, 255, 0.03);
}

/* Unify WordPress Native Buttons - Default to Secondary Style */
.wp-block-button__link,
.wp-block-search__button,
.button,
.btn,
button,
input[type="submit"],
input[type="button"],
.search-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 18px 42px;
    border-radius: 14px;
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    border: none;
    height: auto;
    letter-spacing: 0.8px;
    position: relative;
    overflow: hidden;
    
    /* Default: Secondary Style */
    background: rgba(255, 255, 255, 0.06);
    border: 2px solid rgba(255, 255, 255, 0.18);
    color: var(--color-text-primary);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15),
                inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

/* Ripple Effect for Native Buttons */
.wp-block-button__link::after,
.wp-block-search__button::after,
.button::after,
.btn::after,
button::after,
input[type="submit"]::after,
input[type="button"]::after,
.search-submit::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    transform: translate(-50%, -50%);
    transition: width 0.7s ease, height 0.7s ease, opacity 0.7s ease;
    opacity: 0;
    pointer-events: none;
    z-index: -1;
}

.wp-block-button__link:active::after,
.wp-block-search__button:active::after,
.button:active::after,
.btn:active::after,
button:active::after,
input[type="submit"]:active::after,
input[type="button"]:active::after,
.search-submit:active::after {
    width: 400px;
    height: 400px;
    opacity: 1;
    transition: width 0s, height 0s, opacity 0.3s;
}

.wp-block-button__link:hover,
.wp-block-search__button:hover,
.button:hover,
.btn:hover,
button:hover,
input[type="submit"]:hover,
input[type="button"]:hover,
.search-submit:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.35);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 24px rgba(255, 255, 255, 0.15),
                0 4px 12px rgba(0, 0, 0, 0.2),
                inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.wp-block-button__link:active,
.wp-block-search__button:active,
.button:active,
.btn:active,
button:active,
input[type="submit"]:active,
input[type="button"]:active,
.search-submit:active {
    transform: translateY(-1px) scale(1);
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.1);
    transition: all 0.1s ease;
}

.wp-block-button__link:focus-visible,
.wp-block-search__button:focus-visible,
.button:focus-visible,
.btn:focus-visible,
button:focus-visible,
input[type="submit"]:focus-visible,
input[type="button"]:focus-visible,
.search-submit:focus-visible {
    outline: 3px solid rgba(249, 152, 20, 0.5);
    outline-offset: 3px;
}

/* WordPress Block Button Style Variants */
.wp-block-button__link.is-style-fill,
.wp-block-button .wp-block-button__link {
    background: linear-gradient(90deg, #F99814 0%, #D56F16 100%);
    color: #ffffff;
    border: none;
    box-shadow: 0 8px 24px rgba(249, 152, 20, 0.35),
                0 4px 12px rgba(213, 111, 22, 0.25);
}

.wp-block-button__link.is-style-fill::before,
.wp-block-button .wp-block-button__link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(255, 255, 255, 0.3) 50%,
        transparent 100%
    );
    transition: left 0.6s ease;
    z-index: 1;
}

.wp-block-button__link.is-style-fill:hover::before,
.wp-block-button .wp-block-button__link:hover::before {
    left: 100%;
}

.wp-block-button__link.is-style-fill:hover,
.wp-block-button .wp-block-button__link:hover {
    background: linear-gradient(90deg, #FFA52E 0%, #E07B1D 100%);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 12px 32px rgba(249, 152, 20, 0.45),
                0 6px 16px rgba(213, 111, 22, 0.35);
}

.wp-block-button__link.is-style-outline,
.wp-block-button.is-style-outline .wp-block-button__link {
    background: transparent;
    color: var(--color-text-primary);
    border: 2px solid transparent;
    background-image: 
        linear-gradient(var(--color-bg-primary), var(--color-bg-primary)),
        linear-gradient(90deg, #F99814 0%, #D56F16 100%);
    background-origin: border-box;
    background-clip: padding-box, border-box;
    box-shadow: 0 4px 16px rgba(249, 152, 20, 0.15);
}

.wp-block-button__link.is-style-outline:hover,
.wp-block-button.is-style-outline .wp-block-button__link:hover {
    background-image: 
        linear-gradient(90deg, rgba(249, 152, 20, 0.1) 0%, rgba(213, 111, 22, 0.1) 100%),
        linear-gradient(90deg, #F99814 0%, #D56F16 100%);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 24px rgba(249, 152, 20, 0.3);
}

/* Loading State (optional) */
.ic-btn.loading,
.ic-btn-primary.loading {
    pointer-events: none;
    opacity: 0.7;
    position: relative;
}

.ic-btn.loading::after {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    top: 50%;
    left: 50%;
    margin-left: -8px;
    margin-top: -8px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 0.6s linear infinite;
}

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

/* Button Sizes */
.ic-btn-sm {
    padding: 10px 24px;
    font-size: 12px;
    border-radius: 8px;
    letter-spacing: 0.4px;
}

.ic-btn-lg {
    padding: 22px 56px;
    font-size: 16px;
    border-radius: 16px;
}

/* Icon Buttons */
.ic-btn-icon {
    width: 48px;
    height: 48px;
    padding: 0;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.ic-btn-icon-lg {
    width: 64px;
    height: 64px;
    font-size: 24px;
}

/* Full Width Button */
.ic-btn-block {
    width: 100%;
    display: flex;
}

.ic-btn-group {
    display: flex;
    gap: 20px;
    align-items: center;
    justify-content: center;
    margin: 24px 0;
    flex-wrap: wrap;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */

.ic-hero {
    position: relative;
    min-height: 560px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 80px 0;
}

.ic-hero-content {
    position: relative;
    z-index: 10;
}

.ic-hero-brand {
    width: 980px; /* big center brand */
    max-width: 90%;
    height: auto;
    margin: 0 auto 16px;
    overflow: hidden; /* crop empty transparent edges when scaling image */
}

.ic-hero-brand img {
    width: 100%;
    height: auto;
    object-fit: contain;
    transform: scale(2.0);
    transform-origin: center center;
}

.ic-hero-text {
    font-size: 15px;
    line-height: 24px;
    color: var(--color-text-secondary);
    max-width: 632px;
    margin: 0 auto 28px; /* more breathing room before buttons */
}

/* Return button group spacing to default (revert override) */
/* .ic-hero .ic-btn-group { margin: 0; } */

/* ==========================================================================
   Gallery Section
   ========================================================================== */

.ic-section {
    padding: 100px 0;
    border-top: 1px solid var(--color-border);
}

.ic-section-title {
    font-size: 35px;
    font-weight: 700;
    margin-bottom: 8px;
}

.ic-section-subtitle {
    font-size: 15px;
    color: var(--color-text-tertiary);
    margin-bottom: 48px;
}

.ic-gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 64px;
}

.ic-gallery-item {
    /* NO aspect-ratio - let images show full */
    border-radius: var(--border-radius-card);
    overflow: hidden;
    position: relative;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 200px; /* Minimum height for consistency */
}

.ic-gallery-item img {
    width: 100%;
    height: auto; /* Auto height to maintain aspect ratio */
    object-fit: contain; /* Contain instead of cover - no cropping */
    object-position: center; /* Center the image */
    display: block;
    transition: transform 0.3s ease;
    max-height: 100%;
}

.ic-gallery-item:hover img {
    transform: scale(1.05);
}

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

.ic-reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 64px;
}

.ic-review-card {
    background: var(--color-card-bg);
    border-radius: var(--border-radius-form);
    padding: 32px 24px;
    box-shadow: 0 0 0 1px var(--color-border);
}

.ic-review-stars {
    display: flex;
    gap: 4px;
    color: #fbbf24;
    font-size: 15px;
    margin-bottom: 16px;
}

.ic-star {
    flex-shrink: 0;
}

.ic-review-text {
    font-size: 15px;
    line-height: 24px;
    color: var(--color-text-secondary);
    margin-bottom: 16px;
}

.ic-review-author {
    font-size: 13px;
    color: var(--color-text-muted);
}

/* ==========================================================================
   Partners Section - Infinite Carousel
   ========================================================================== */

.ic-partners-section {
    background: var(--color-bg-primary);
    padding: 80px 0;
    overflow: hidden;
}

/* Carousel Container */
.ic-partners-carousel {
    position: relative;
    width: 100%;
    overflow: hidden;
    mask-image: linear-gradient(to right, transparent 0%, black 5%, black 95%, transparent 100%);
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 5%, black 95%, transparent 100%);
    padding: 20px 0;
}

/* Carousel Track - Infinite scroll */
.ic-partners-track {
    display: flex;
    gap: 40px;
    width: max-content;
    animation: ic-partners-scroll 20s linear infinite;
    will-change: transform;
}

/* Keyframes for smooth infinite scroll */
@keyframes ic-partners-scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-50% - 20px));
    }
}

/* Partner Logo Item */
.ic-partner-logo {
    flex-shrink: 0;
    width: 180px;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px 28px;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    text-decoration: none;
    transition: background 0.3s ease, border-color 0.3s ease;
}

.ic-partner-logo:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(249, 152, 20, 0.4);
}

.ic-partner-logo img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: grayscale(30%) brightness(0.9);
    opacity: 0.8;
    transition: filter 0.3s ease, opacity 0.3s ease;
}

.ic-partner-logo:hover img {
    filter: grayscale(0%) brightness(1);
    opacity: 1;
}

/* Fallback message when no partners */
.ic-partners-empty {
    text-align: center;
    padding: 40px 20px;
    color: var(--color-text-muted);
    font-size: 14px;
}

/* ==========================================================================
   Calculator Page
   ========================================================================== */

.ic-calculator {
    max-width: 560px;
    margin: 80px auto;
    padding: 0 24px;
}

.ic-calculator-title {
    font-size: 36px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 8px;
}

.ic-calculator-subtitle {
    font-size: 15px;
    color: var(--color-text-tertiary);
    text-align: center;
    margin-bottom: 48px;
}

.ic-form-group {
    margin-bottom: 24px;
}

.ic-form-label {
    display: block;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 8px;
    color: var(--color-text-secondary);
}

.ic-form-input {
    width: 100%;
    padding: 16px 20px;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    color: var(--color-text-primary);
    font-size: 15px;
    font-family: 'Inter', sans-serif;
    transition: border-color 0.3s ease;
}

.ic-form-input:focus {
    outline: none;
    border-color: var(--color-text-secondary);
}

.ic-form-input::placeholder {
    color: var(--color-text-muted);
}

.ic-result-box {
    margin-top: 48px;
    padding: 32px;
    background: var(--color-card-bg);
    border-radius: var(--border-radius-form);
    box-shadow: 0 0 0 1px var(--color-border);
}

.ic-result-label {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 16px;
    color: var(--color-text-secondary);
}

/* Calculator Table */
.ic-calculator-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

.ic-calculator-table td {
    padding: 12px 8px;
    border-bottom: 1px solid var(--color-border);
    color: var(--color-text-primary);
    font-size: 16px;
}

.ic-calculator-table tr.ic-total-row td {
    border-top: 2px solid var(--color-orange-start);
    border-bottom: 2px solid var(--color-orange-start);
    padding: 16px 8px;
    font-size: 18px;
    background: rgba(249, 152, 20, 0.05);
}

.ic-calculator-table td:first-child {
    text-align: left;
}

.ic-calculator-table td:nth-child(2),
.ic-calculator-table td:nth-child(3) {
    text-align: right;
    min-width: 120px;
}

.ic-result-total {
    font-size: 48px;
    font-weight: 700;
    color: var(--color-orange-start);
    margin-bottom: 24px;
}

.ic-result-breakdown {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.ic-result-row {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    color: var(--color-text-tertiary);
}

.ic-result-row strong {
    color: var(--color-text-primary);
}

/* ==========================================================================
   CTA Form (Multistep)
   ========================================================================== */

.ic-form-container {
    max-width: 560px;
    margin: 80px auto;
    padding: 0 24px;
}

.ic-form-title {
    font-size: 36px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 8px;
}

.ic-form-subtitle {
    font-size: 15px;
    color: var(--color-text-tertiary);
    text-align: center;
    margin-bottom: 32px;
}

.ic-form-progress {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 48px;
}

.ic-progress-step {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    color: var(--color-text-muted);
    font-weight: 700;
    font-size: 18px;
    transition: all 0.3s ease;
}

.ic-progress-step.active {
    background: linear-gradient(to right, var(--color-orange-start), var(--color-orange-end));
    color: white;
}

.ic-progress-step.completed {
    background: rgba(255, 255, 255, 0.2);
    color: var(--color-text-primary);
}

.ic-form-step {
    display: none;
}

.ic-form-step.active {
    display: block;
}

.ic-form-select {
    width: 100%;
    padding: 16px 20px;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    color: var(--color-text-primary);
    font-size: 15px;
    font-family: 'Inter', sans-serif;
    cursor: pointer;
    transition: border-color 0.3s ease;
}

.ic-form-select:focus {
    outline: none;
    border-color: var(--color-text-secondary);
}

.ic-form-radio-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.ic-form-radio-label {
    display: flex;
    align-items: center;
    padding: 16px 20px;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.ic-form-radio-label:hover {
    border-color: var(--color-text-secondary);
}

.ic-form-radio-label input[type="radio"] {
    margin-right: 12px;
}

.ic-form-radio-label input[type="radio"]:checked + span {
    color: var(--color-orange-start);
}

.ic-form-navigation {
    display: flex;
    gap: 16px;
    margin-top: 32px;
}

.ic-form-navigation .ic-btn {
    flex: 1;
}

/* Engine Grid - 2 columns on desktop, 1 column on mobile */
.ic-form-radio-group[style*="grid"] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

@media (max-width: 480px) {
    .ic-form-radio-group[style*="grid"] {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   Under Construction Page
   ========================================================================== */

.ic-under-construction {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 80px 24px;
}

.ic-under-content {
    max-width: 560px;
}

.ic-under-logo {
    width: 340px;
    max-width: 85%;
    height: auto;
    margin: 0 auto 32px;
}

.ic-under-logo img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

.ic-under-title {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 16px;
}

.ic-under-text {
    font-size: 15px;
    line-height: 24px;
    color: var(--color-text-tertiary);
    margin-bottom: 32px;
}

.ic-under-buttons {
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: center;
}

.ic-under-buttons .ic-btn {
    width: 100%;
    max-width: 320px;
}

/* ==========================================================================
   Footer
   ========================================================================== */

.ic-footer {
    border-top: 1px solid var(--color-border);
    padding: 32px 0;
    text-align: center;
}

.ic-footer-text {
    font-size: 15px;
    color: var(--color-text-faint);
}

/* ==========================================================================
   Mobile Header & Hamburger Menu
   ========================================================================== */

/* Hide mobile header by default (desktop) */
.ic-mobile-header {
    display: none;
}

/* Show desktop navigation by default */
@media (min-width: 769px) {
    .ic-home-btn {
        display: inline-flex !important;
    }
    
    .ic-nav-desktop {
        display: flex !important;
    }
    
    .ic-header-cta {
        display: flex !important;
    }
    
    .ic-mobile-header {
        display: none !important;
    }
}

/* Mobile menu - hidden by default */
.ic-mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1200;
    pointer-events: none;
}

.ic-mobile-menu-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(4px);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.ic-mobile-menu-content {
    position: relative;
    background: linear-gradient(
        to bottom,
        rgba(13, 13, 13, 0.98) 0%,
        rgba(0, 0, 0, 0.98) 100%
    );
    padding: 88px 20px 24px;
    transform: translateY(-110%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
    height: 100%;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

/* Active state */
.ic-mobile-menu.active {
    pointer-events: auto;
}

.ic-mobile-menu.active .ic-mobile-menu-backdrop {
    opacity: 1;
}

.ic-mobile-menu.active .ic-mobile-menu-content {
    transform: translateY(0);
}

/* Mobile menu links */
.ic-mobile-menu-link {
    display: block;
    color: var(--color-text-secondary);
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    padding: 14px 16px;
    border-radius: 8px;
    margin-bottom: 8px;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.03);
}

.ic-mobile-menu-link:hover,
.ic-mobile-menu-link:active {
    color: var(--color-text-primary);
    background: rgba(255, 255, 255, 0.08);
}

/* Mobile menu navigation links */
.ic-mobile-menu-links {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 16px;
}

.ic-mobile-nav-link {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    padding: 12px 16px;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.ic-mobile-nav-link:hover,
.ic-mobile-nav-link:active {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.08);
}

/* Mobile menu buttons section */
.ic-mobile-menu-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 16px 0;
}

/* Mobile menu divider */
.ic-mobile-menu-divider {
    height: 1px;
    background: var(--color-border);
    margin: 24px 0;
}

/* Mobile menu badge links (Club911, MyBike) */
.ic-mobile-menu-badge-link {
    display: block;
    text-decoration: none;
    margin-bottom: 12px;
}

.ic-mobile-menu-badge {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.06) 0%,
        rgba(255, 255, 255, 0.03) 100%
    );
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.ic-mobile-menu-badge-link:hover .ic-mobile-menu-badge,
.ic-mobile-menu-badge-link:active .ic-mobile-menu-badge {
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.1) 0%,
        rgba(255, 255, 255, 0.05) 100%
    );
    border-color: rgba(249, 152, 20, 0.3);
}

.ic-mobile-menu-badge img {
    width: 48px;
    height: 48px;
    object-fit: contain;
    filter: grayscale(60%) brightness(0.8);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.ic-mobile-menu-badge-link:hover .ic-mobile-menu-badge img {
    filter: grayscale(0%) brightness(1);
    opacity: 1;
}

.ic-mobile-menu-badge-text {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.6);
    background: linear-gradient(
        90deg,
        rgba(249, 152, 20, 0.15) 0%,
        rgba(213, 111, 22, 0.15) 100%
    );
    border: 1px solid rgba(249, 152, 20, 0.25);
    padding: 6px 12px;
    border-radius: 999px;
    margin-left: auto;
}

/* Hamburger icon */
.ic-hamburger {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 50%;
    cursor: pointer;
    padding: 0;
    z-index: 1301;
    transition: transform 0.3s ease, background 0.3s ease, border 0.3s ease;
    flex-shrink: 0;
    position: relative;
}

.ic-hamburger:hover {
    transform: scale(1.05);
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
}

.ic-hamburger-icon {
    position: absolute;
    width: 22px;
    height: 22px;
    stroke: var(--color-text-primary);
    stroke-width: 1.8;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
    opacity: 0;
    transform: scale(0.8);
    transition: opacity 0.2s ease, transform 0.25s ease;
    pointer-events: none;
}

.ic-hamburger-icon-bars {
    opacity: 1;
    transform: scale(1);
}

.ic-hamburger.active .ic-hamburger-icon-bars {
    opacity: 0;
    transform: scale(0.8) rotate(30deg);
}

.ic-hamburger-icon-close {
    opacity: 0;
    transform: scale(0.65) rotate(-20deg);
}

.ic-hamburger.active .ic-hamburger-icon-close {
    opacity: 1;
    transform: scale(1);
}

/* Mobile logo in header */
.ic-mobile-logo {
    display: block;
    height: 100%;
    max-width: 280px;
    padding: 8px 0;
}

.ic-mobile-logo img {
    height: 100%;
    width: auto;
    object-fit: contain;
    filter: brightness(1.1);
}

/* Adjust mobile logo size on smaller screens */
@media (max-width: 360px) {
    .ic-mobile-logo {
        max-width: 200px;
        padding: 10px 0;
    }
    
    .ic-hamburger {
        width: 34px;
        height: 34px;
        padding: 6px;
        margin-right: 2px;
    }
}

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

@media (max-width: 1024px) {
    .ic-container {
        padding: 0 40px;
    }
    
    .ic-header-container {
        padding: 0 40px;
    }
    
    /* Tablet Corner Buttons */
    .ic-corner-btn-left {
        left: 20px;
    }
    
    .ic-corner-btn-right {
        right: 20px;
    }
    
    .ic-gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .ic-video-grid {
        grid-template-columns: 1fr;
    }
    
    .ic-reviews-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    /* Partners carousel - tablet */
    .ic-partners-track {
        animation-duration: 25s;
        gap: 32px;
    }
    
    .ic-partner-logo {
        width: 160px;
        height: 80px;
        padding: 16px 24px;
    }
}

@media (max-width: 768px) {
    .ic-container {
        padding: 0 20px;
    }
    
    .ic-header-container {
        padding: 0 20px;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    
    /* Show mobile header, hide desktop elements */
    .ic-home-btn {
        display: none !important;
    }
    
    .ic-nav-desktop {
        display: none !important;
    }
    
    .ic-header-cta {
        display: none !important;
    }
    
    .ic-mobile-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        gap: 12px;
        height: 64px;
    }
    
    /* Position hamburger with more padding from right edge */
    .ic-hamburger {
        margin-right: 4px;
    }
    
    /* Hide Corner Buttons on Mobile - Only show in hamburger menu */
    .ic-corner-btn {
        display: none;
    }
    
    /* Mobile Button Styles */
    .ic-btn,
    .wp-block-button__link,
    .wp-block-search__button,
    .button,
    .btn,
    button,
    input[type="submit"],
    input[type="button"],
    .search-submit {
        padding: 16px 36px;
        font-size: 13px;
        letter-spacing: 0.6px;
    }
    
    .ic-btn-sm {
        padding: 10px 24px;
        font-size: 11px;
    }
    
    .ic-btn-lg {
        padding: 18px 48px;
        font-size: 14px;
    }
    
    .ic-nav {
        flex-wrap: wrap;
        gap: 8px;
    }
    
    .ic-nav-link {
        font-size: 12px;
        padding: 8px 12px;
    }
    
    .ic-section-title {
        font-size: 28px;
    }
    
    .ic-gallery-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .ic-video-grid {
        grid-template-columns: 1fr;
    }
    
    .ic-reviews-grid {
        grid-template-columns: 1fr;
    }
    
    /* Partners carousel - mobile */
    .ic-partners-track {
        animation-duration: 30s;
        gap: 24px;
    }
    
    .ic-partner-logo {
        width: 140px;
        height: 70px;
        padding: 14px 20px;
    }
    
    .ic-btn-group {
        flex-direction: column;
        gap: 16px;
    }
    
    .ic-btn,
    .wp-block-button__link,
    .wp-block-search__button,
    .button,
    .btn,
    button,
    input[type="submit"],
    input[type="button"],
    .search-submit {
        width: 100%;
    }
    
    .ic-calculator-title,
    .ic-form-title,
    .ic-under-title {
        font-size: 28px;
    }
    
    .ic-hero-brand {
        width: 620px;
        max-width: 92%;
    }
    .ic-hero-brand img {
        transform: scale(1.5);
    }
    
    .ic-under-logo {
        width: 220px;
        max-width: 85%;
    }
}

/* ==========================================================================
   Mobile Optimization - Prevent Horizontal Scroll & Touch Improvements
   ========================================================================== */

/* Prevent horizontal overflow on mobile */
@media (max-width: 768px) {
    body.ic-page {
        overflow-x: hidden;
    }
    
    /* Ensure all content stays within viewport */
    .ic-container,
    .ic-hero-container,
    .ic-section {
        overflow-x: hidden;
    }
    
    /* Better touch targets for all interactive elements */
    .ic-mobile-menu-link,
    .ic-mobile-menu-badge-link,
    .ic-btn,
    a[href^="#"],
    button {
        min-height: 44px;
        display: flex;
        align-items: center;
        -webkit-tap-highlight-color: rgba(249, 152, 20, 0.2);
    }
    
    /* Improve hero section spacing on mobile */
    .ic-hero {
        padding: 60px 0 40px;
        min-height: auto;
    }
    
    .ic-hero-text {
        font-size: 14px;
        line-height: 22px;
        padding: 0 10px;
    }
    
    /* Better section spacing */
    .ic-section {
        padding: 60px 0;
    }
    
    /* Improve gallery item aspect ratio on mobile */
    .ic-gallery-item {
        aspect-ratio: 16/10;
    }
    
    /* Review cards more compact on mobile */
    .ic-review-card {
        padding: 24px 20px;
    }
}

/* ==========================================================================
   Mobile Optimization - Extra Small Devices
   ========================================================================== */

@media (max-width: 480px) {
    /* Calculator Page - Mobile Optimization */
    .ic-calculator {
        padding: 0 16px;
        margin: 40px auto 60px;
    }
    
    .ic-calculator #ic-calculate-btn {
        width: 100%;
        justify-content: center;
    }
    
    /* Form Container - Reduce padding for more space */
    .ic-form-container {
        margin: 40px auto 60px;
        padding: 0 16px;
    }
    
    /* Smaller Headings */
    .ic-form-title {
        font-size: 24px;
        margin-bottom: 6px;
    }
    
    .ic-form-subtitle {
        font-size: 14px;
        margin-bottom: 24px;
    }
    
    /* Smaller Progress Indicators */
    .ic-progress-step {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    
    .ic-form-progress {
        gap: 12px;
        margin-bottom: 32px;
    }
    
    /* Form Elements Optimization */
    .ic-form-group {
        margin-bottom: 16px;
    }
    
    .ic-form-label {
        font-size: 12px;
        margin-bottom: 6px;
        letter-spacing: 0.5px;
    }
    
    .ic-form-select,
    .ic-form-input {
        padding: 14px 16px;
        font-size: 14px;
        min-height: 48px; /* Touch-friendly */
    }
    
    /* Smaller Radio Buttons */
    .ic-form-radio-label {
        padding: 12px 16px;
        font-size: 14px;
        min-height: 48px; /* Touch-friendly */
    }
    
    /* Navigation Buttons */
    .ic-form-navigation {
        gap: 12px;
        margin-top: 24px;
    }
    
    .ic-form-navigation .ic-btn {
        padding: 14px 24px;
        font-size: 13px;
        min-height: 48px; /* Touch-friendly */
    }
    
    /* Year Grid - Stack vertically on mobile */
    .ic-form-step [style*="grid-template-columns: 1fr 1fr"] {
        display: flex !important;
        flex-direction: column !important;
        gap: 0 !important;
    }
    
    /* Ensure proper spacing between year fields */
    .ic-form-step [style*="grid-template-columns: 1fr 1fr"] .ic-form-group {
        margin-bottom: 16px;
    }
}

/* ==========================================================================
   Car Badge - Diagonal Ribbon Style (FIXED - More Visible & Same Size Everywhere)
   ========================================================================== */

.ic-gallery-item {
    position: relative;
    overflow: hidden; /* Important for ribbon effect */
}

.ic-video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
    margin: 32px 0 48px;
}

.ic-video-grid-mobile {
    width: 100%;
}

.ic-video-card {
    background: rgba(255, 255, 255, 0.02);
    border-radius: 18px;
    padding: 20px;
    box-shadow: inset 0 0 0 1px var(--color-border);
}

.ic-video-frame {
    width: 100%;
    aspect-ratio: 4 / 3;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: inset 0 0 0 1px var(--color-border);
    background: #050505;
}

.ic-video-frame iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.ic-gallery-item a {
    display: block;
    position: relative;
}

.ic-car-badge-sold {
    position: absolute;
    top: 48px; /* Slightly lower for better readability */
    right: -60px;
    
    /* Orange gradient matching site colors */
    background: linear-gradient(135deg, #f99814 0%, #d56f16 100%);
    
    /* Text styling */
    color: #ffffff;
    text-transform: uppercase;
    text-align: center;
    
    /* Diagonal ribbon dimensions - SAME SIZE EVERYWHERE */
    width: 200px;
    padding: 14px 0;
    
    /* Transform to diagonal 45deg */
    transform: rotate(45deg);
    
    /* Shadow for depth */
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.45),
                0 2px 10px rgba(0, 0, 0, 0.35);
    
    /* Layering */
    z-index: 10;
    
    /* Flexbox for two lines */
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 2px;
}

/* Small text - КАПАРИРАНО */
.ic-badge-small {
    display: block;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.6px;
    line-height: 1;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.35);
}

/* Large text - ПРОДАДЕНО */
.ic-badge-large {
    display: block;
    font-size: 16px;
    font-weight: 900;
    letter-spacing: 1.2px;
    line-height: 1;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.45);
}

/* Add darker bottom edge for 3D ribbon effect */
.ic-car-badge-sold::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.25));
}

/* No visual effects on sold cars - they look normal */
/* Badge only indicator */

/* Tablet - SAME SIZE as desktop */
@media (max-width: 1024px) {
    .ic-car-badge-sold {
        width: 180px;
        padding: 12px 0;
        right: -72px;
        top: 42px;
    }
}

@media (max-width: 768px) {
    .ic-video-grid {
        grid-template-columns: 1fr;
    }
    
    .ic-video-card {
        padding: 16px;
    }
    
    .ic-gallery-item {
        overflow: hidden;
    }
    
    .ic-car-badge-sold {
        width: 190px;
        padding: 14px 0;
        right: -55px;
        top: 46px;
        transform: rotate(45deg);
    }
    
    .ic-badge-small {
        font-size: 10px;
        letter-spacing: 0.6px;
    }
    
    .ic-badge-large {
        font-size: 16px;
        letter-spacing: 1.1px;
    }
}

@media (max-width: 480px) {
    .ic-video-card {
        padding: 12px;
    }
    
    .ic-car-badge-sold {
        width: 200px;
        padding: 15px 0;
        right: -48px;
        top: 50px;
        transform: rotate(45deg);
    }
    
    .ic-badge-small {
        font-size: 11px;
        letter-spacing: 0.7px;
    }
    
    .ic-badge-large {
        font-size: 18px;
    }
}


/* ==========================================================================
   Contacts Page Styles
   ========================================================================== */

.ic-contacts {
    min-height: 70vh;
    padding: 100px 0 120px;
}

.ic-contacts-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 40px;
}

.ic-contacts-title {
    font-size: 48px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 16px;
    background: linear-gradient(135deg, var(--color-orange-start), var(--color-orange-end));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.ic-contacts-intro {
    font-size: 18px;
    color: var(--color-text-tertiary);
    text-align: center;
    margin-bottom: 60px;
}

.ic-contacts-content {
    margin-bottom: 60px;
}

.ic-contacts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

.ic-contact-card {
    background: linear-gradient(135deg, var(--color-card-gradient-start), var(--color-card-gradient-end));
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius-card);
    padding: 40px 32px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.ic-contact-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--color-orange-start), var(--color-orange-end));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.ic-contact-card:hover::before {
    opacity: 1;
}

.ic-contact-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 255, 255, 0.15);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.04));
}

.ic-contact-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-orange-start), var(--color-orange-end));
    color: #ffffff;
}

.ic-contact-icon svg {
    width: 32px;
    height: 32px;
}

.ic-contact-info {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.ic-contact-name {
    font-size: 24px;
    font-weight: 600;
    color: var(--color-text-primary);
    margin: 0;
}

.ic-contact-phone {
    font-size: 22px;
    font-weight: 500;
    color: var(--color-text-secondary);
    text-decoration: none;
    border-bottom: 2px solid transparent;
    padding-bottom: 4px;
    display: inline-block;
    transition: all 0.3s ease;
}

.ic-contact-phone:hover {
    color: var(--color-orange-start);
    border-bottom-color: var(--color-orange-start);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .ic-contacts {
        padding: 60px 0 80px;
    }
    
    .ic-contacts-container {
        padding: 0 24px;
    }
    
    .ic-contacts-title {
        font-size: 32px;
    }
    
    .ic-contacts-intro {
        font-size: 16px;
        margin-bottom: 40px;
    }
    
    .ic-contacts-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .ic-contact-card {
        padding: 32px 24px;
    }
    
    .ic-contact-name {
        font-size: 20px;
    }
    
    .ic-contact-phone {
        font-size: 18px;
    }
}
