/* Professional Automotive Design System */
:root {
    --primary-blue: #0f172a;
    --primary-blue-light: #1e293b;
    --accent-red: #dc2626;
    --accent-red-hover: #b91c1c;
    --bg-light: #f1f5f9;
    --bg-white: #ffffff;
    --text-dark: #334155;
    --text-light: #94a3b8;

    --shadow-sm: 0 1px 2px 0 rgba(15, 23, 42, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(15, 23, 42, 0.1), 0 2px 4px -1px rgba(15, 23, 42, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(15, 23, 42, 0.1), 0 4px 6px -2px rgba(15, 23, 42, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(15, 23, 42, 0.15), 0 10px 10px -5px rgba(15, 23, 42, 0.04);

    --radius-md: 0.5rem;
    --radius-lg: 1rem;
    --radius-xl: 1.5rem;

    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.7;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
    color: var(--primary-blue);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Typography Extensions */
.logo {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--primary-blue);
    text-decoration: none;
    letter-spacing: -0.04em;
}

.logo span {
    color: var(--accent-red);
}

/* Components */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    border-radius: var(--radius-lg);
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    gap: 0.5rem;
}

.btn-primary {
    background-color: var(--accent-red);
    color: white;
    box-shadow: 0 4px 14px 0 rgba(220, 38, 38, 0.39);
}

.btn-primary:hover {
    background-color: var(--accent-red-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(220, 38, 38, 0.23);
}

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

.btn-secondary:hover {
    background-color: var(--primary-blue-light);
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

/* Header Redesign */
.header {
    background: white;
    z-index: 1000;
    position: relative;
}

/* Top Utility Bar */
.top-bar {
    background: #111;
    color: white;
    padding: 0.5rem 0;
    font-size: 0.85rem;
    font-weight: 500;
}

.top-bar .container {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.top-bar-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.top-bar-item i {
    color: #4ade80;
}

/* Main Header Section (Logo & Contact) */
.header-main {
    padding: 1.5rem 0;
}

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

.header-contact {
    display: flex;
    gap: 2.5rem;
    align-items: center;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
}

.contact-icon {
    font-size: 1.75rem;
    color: #111;
}

.contact-icon.whatsapp {
    color: #25d366;
}

.contact-info {
    display: flex;
    flex-direction: column;
}

.contact-label {
    font-size: 0.75rem;
    color: var(--text-light);
    font-weight: 600;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.contact-value {
    font-size: 1.1rem;
    color: var(--accent-red);
    font-weight: 800;
    line-height: 1.2;
}

.contact-value.phone {
    color: #111;
}

/* Red Navigation Bar */
.nav-bar {
    background: var(--accent-red);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--shadow-md);
}

.nav-bar .container {
    display: flex;
    justify-content: center;
    position: relative;
}

.main-nav {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.main-nav li a {
    display: block;
    padding: 1.25rem 2.5rem;
    color: white;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.05rem;
    transition: var(--transition);
    border-left: 1px solid rgba(255, 255, 255, 0.1);
}

.main-nav li:last-child a {
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.main-nav li a:hover {
    background: rgba(0, 0, 0, 0.15);
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.75rem;
    color: white;
    padding: 1rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    position: relative;
    padding: 6rem 0;
    overflow: hidden;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 10;
}

.hero-text h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    font-weight: 800;
}

.hero-text h1 span {
    color: var(--accent-red);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-dark);
    margin-bottom: 2rem;
    font-weight: 400;
}

.trust-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-top: 3rem;
}

.badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
    color: var(--primary-blue);
    background: white;
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    box-shadow: var(--shadow-sm);
}

.badge i {
    color: var(--accent-red);
}

.hero-3d-composition {
    perspective: 1000px;
    transform-style: preserve-3d;
}

.glass-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    box-shadow: var(--shadow-xl);
    border-radius: var(--radius-xl);
    overflow: hidden;
    transform: rotateY(-5deg) rotateX(2deg);
    transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.glass-card:hover {
    transform: rotateY(-2deg) rotateX(1deg) translateY(-5px);
    box-shadow: 0 30px 40px -10px rgba(15, 23, 42, 0.2);
}

.hero-image-main {
    width: 100%;
    border-radius: var(--radius-xl);
    overflow: hidden;
    transform: rotateY(-5deg) rotateX(2deg);
    transition: transform 0.5s ease;
    box-shadow: var(--shadow-xl);
    background: white;
}

.hero-image-main img {
    width: 100%;
    height: auto;
    display: block;
    mix-blend-mode: multiply;
}

.hero-image-main:hover {
    transform: rotateY(-2deg) rotateX(1deg) translateY(-5px);
}

.hero-bg-gradient {
    position: absolute;
    top: -50%;
    right: -20%;
    width: 1000px;
    height: 1000px;
    background: radial-gradient(circle, rgba(220, 38, 38, 0.05) 0%, rgba(241, 245, 249, 0) 70%);
    border-radius: 50%;
    z-index: 1;
    pointer-events: none;
}

/* Process Section */
.process-section {
    padding: 8rem 0;
}

.process-steps {
    display: grid;
    gap: 6rem;
    margin-top: 4rem;
}

.process-step {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.process-step.reverse {
    direction: rtl;
}

.process-step.reverse .step-content {
    direction: ltr;
}

.step-num {
    font-size: 4rem;
    font-weight: 800;
    color: rgba(15, 23, 42, 0.05);
    line-height: 1;
    margin-bottom: 1rem;
}

.step-content h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.step-image {
    background: white;
    border-radius: var(--radius-xl);
    padding: 1rem;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    aspect-ratio: 16/10;
}

.step-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius-lg);
}

/* Trust Section */
.trust-section {
    padding: 5rem 0;
    background: white;
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.trust-card {
    padding: 2rem;
    background: var(--bg-light);
    border-radius: var(--radius-lg);
    text-align: center;
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.trust-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    background: white;
}

.trust-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1.5rem;
    color: var(--accent-red);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    background: linear-gradient(135deg, rgba(220, 38, 38, 0.12) 0%, rgba(220, 38, 38, 0.03) 100%);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(220, 38, 38, 0.15);
    box-shadow: inset 0 2px 4px rgba(255, 255, 255, 0.6), 0 4px 10px rgba(220, 38, 38, 0.1);
    transition: var(--transition);
}

.trust-card:hover .trust-icon {
    transform: scale(1.05) translateY(-2px);
    background: linear-gradient(135deg, rgba(220, 38, 38, 0.15) 0%, rgba(220, 38, 38, 0.05) 100%);
    box-shadow: inset 0 2px 4px rgba(255, 255, 255, 0.7), 0 8px 16px rgba(220, 38, 38, 0.15);
}

/* Reusable Glass Icon Wrapper */
.glass-icon-wrapper {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    border-radius: 20px;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.6) 0%, rgba(255, 255, 255, 0.2) 100%);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.7);
    box-shadow: inset 0 2px 4px rgba(255, 255, 255, 0.9), 0 8px 24px rgba(15, 23, 42, 0.06);
    position: relative;
    overflow: hidden;
}

.glass-icon-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.3) 50%, rgba(255, 255, 255, 0) 100%);
    transform: skewX(-25deg);
    animation: glass-shine 6s infinite;
}

.glass-icon-wrapper i {
    font-size: 2rem;
    color: var(--accent-red);
    filter: drop-shadow(0 4px 6px rgba(220, 38, 38, 0.2));
}

@keyframes glass-shine {
    0% {
        left: -100%;
    }

    20% {
        left: 200%;
    }

    100% {
        left: 200%;
    }
}

/* Evaluation Form Section */
.evaluation-section {
    padding: 6rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.glass-panel {
    background: white;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    padding: 3rem;
    max-width: 800px;
    margin: 0 auto;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 2rem;
    margin-top: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

label {
    font-weight: 500;
    color: var(--primary-blue);
    font-size: 0.95rem;
}

input,
select {
    padding: 0.875rem;
    border: 1px solid #cbd5e1;
    border-radius: var(--radius-md);
    font-family: inherit;
    font-size: 1rem;
    color: var(--primary-blue);
    transition: var(--transition);
    background-color: var(--bg-light);
}

input:focus,
select:focus {
    outline: none;
    border-color: var(--accent-red);
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
    background-color: white;
}

.form-step h3 {
    border-bottom: 2px solid var(--bg-light);
    padding-bottom: 1rem;
}

.form-success {
    text-align: center;
    padding: 2rem 0;
    animation: fadeIn 0.5s ease;
}

.success-icon {
    width: 80px;
    height: 80px;
    background: #dcfce7;
    color: #16a34a;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    margin: 0 auto 1.5rem;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Footer */
.footer {
    background-color: var(--primary-blue);
    color: white;
    padding: 4rem 0 2rem;
}

.footer-logo {
    color: white;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-col h4 {
    color: white;
    margin-bottom: 1.5rem;
}

.footer-col p,
.footer-col a {
    color: var(--text-light);
    margin-bottom: 0.5rem;
    text-decoration: none;
    transition: var(--transition);
    display: block;
}

.footer-col a:hover {
    color: var(--accent-red);
}

.footer-col i {
    margin-right: 0.5rem;
    color: var(--accent-red);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-light);
    font-size: 0.875rem;
}

/* Responsive */
@media (max-width: 992px) {
    .header-main .container {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }

    .header-contact {
        flex-direction: column;
        gap: 1rem;
    }

    .nav-bar .container {
        justify-content: space-between;
    }

    .mobile-menu-toggle {
        display: block;
    }

    .main-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--accent-red);
        flex-direction: column;
        z-index: 1000;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }

    .main-nav.active {
        display: flex;
    }

    .main-nav li a {
        padding: 1.25rem;
        border: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-text h1 {
        font-size: 2.75rem;
    }

    .trust-badges {
        justify-content: center;
    }

    .hero-ctas {
        justify-content: center;
    }

    .glass-card {
        transform: none;
    }

    .glass-card:hover {
        transform: translateY(-5px);
    }

    .process-step,
    .process-step.reverse {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .process-step.reverse {
        direction: ltr;
    }

    .step-image {
        order: 2;
    }
}

@media (max-width: 768px) {
    .form-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .glass-panel {
        padding: 2rem 1.5rem;
    }

    .homepage-text .container .content-glass {
        padding: 2rem 1.5rem !important;
    }
}

/* FAQ Section */
.faq-item {
    transition: var(--transition);
    border: 1px solid rgba(15, 23, 42, 0.05);
}

.faq-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    background: white !important;
    border-color: var(--accent-red);
}

/* Reviews Section */
.reviews-section {
    padding: 8rem 0;
    background: white;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
}

.review-card {
    padding: 2.5rem;
    background: var(--bg-light);
    border-radius: var(--radius-xl);
    border: 1px solid rgba(15, 23, 42, 0.05);
    transition: var(--transition);
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    background: white;
    border-color: var(--accent-red);
}

.stars {
    color: #fbbf24;
    font-size: 1.25rem;
    margin-bottom: 1rem;
    display: block;
}

.review-text {
    font-style: italic;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
}

.reviewer {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.reviewer-avatar {
    width: 48px;
    height: 48px;
    background: var(--primary-blue);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.reviewer-info h4 {
    font-size: 1rem;
    margin-bottom: 0px;
}

.reviewer-info p {
    font-size: 0.875rem;
    color: var(--text-light);
    margin: 0;
}

/* Hub Page City Grid */
.city-grid-modern {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
}

.city-link-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem;
    background: white;
    border-radius: var(--radius-md);
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: var(--transition);
    border: 1px solid rgba(15, 23, 42, 0.05);
    box-shadow: var(--shadow-sm);
}

.city-link-card:hover {
    border-color: var(--accent-red);
    color: var(--accent-red);
    transform: translateX(5px);
    box-shadow: var(--shadow-md);
}

.city-link-card i {
    color: var(--accent-red);
}


/* Mobile Bottom Bar */
.mobile-bottom-bar {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    z-index: 10000;
    padding: 0.75rem 1rem;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.05);
}

.mobile-bottom-bar .container {
    display: flex;
    justify-content: space-around;
    align-items: center;
    gap: 0.75rem;
    padding: 0;
}

.m-action-btn {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
    text-decoration: none;
    color: var(--primary-blue);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    transition: var(--transition);
}

.m-action-btn i {
    font-size: 1.25rem;
}

.m-action-btn.whatsapp {
    color: #25d366;
}

.m-action-btn.primary {
    background: var(--accent-red);
    color: white;
    padding: 0.5rem;
    border-radius: var(--radius-md);
}

@media (max-width: 768px) {
    .mobile-bottom-bar {
        display: block;
    }

    body {
        padding-bottom: 75px;
    }
}

/* Enhanced Slide-out Menu Overlay */
.nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.98);
    z-index: 11000;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
}

.nav-overlay.active {
    opacity: 1;
    visibility: visible;
}

.nav-overlay-close {
    position: absolute;
    top: 30px;
    right: 30px;
    color: white;
    font-size: 2rem;
    cursor: pointer;
}

.nav-overlay-links {
    list-style: none;
    text-align: center;
    padding: 0;
}

.nav-overlay-links li {
    margin: 1.5rem 0;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.4s ease;
}

.nav-overlay.active .nav-overlay-links li {
    transform: translateY(0);
    opacity: 1;
}

.nav-overlay.active .nav-overlay-links li:nth-child(1) {
    transition-delay: 0.1s;
}

.nav-overlay.active .nav-overlay-links li:nth-child(2) {
    transition-delay: 0.2s;
}

.nav-overlay.active .nav-overlay-links li:nth-child(3) {
    transition-delay: 0.3s;
}

.nav-overlay.active .nav-overlay-links li:nth-child(4) {
    transition-delay: 0.4s;
}

.nav-overlay.active .nav-overlay-links li:nth-child(5) {
    transition-delay: 0.5s;
}

.nav-overlay-links li a {
    color: white;
    text-decoration: none;
    font-size: 1.75rem;
    font-weight: 800;
}

.nav-overlay-contact {
    margin-top: 3rem;
    text-align: center;
    color: white;
}

.nav-overlay-contact a {
    color: var(--accent-red);
    text-decoration: none;
    font-weight: 700;
}