:root {
    --jap-red: #dc2626;
    --jap-red-dark: #b91c1c;
    --jap-red-light: #fee2e2;
    --jap-dark: #1e293b;
    --jap-gray: #475569;
    --jap-gray-light: #f1f5f9;
    --jap-gray-border: #e2e8f0;
    --jap-white: #ffffff;
    --jap-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
    --jap-shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -4px rgba(0, 0, 0, 0.05);
    --jap-shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.05);
    --jap-radius: 12px;
    --jap-radius-sm: 8px;
    --jap-radius-lg: 16px;
    --jap-transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--jap-dark);
    background: var(--jap-white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

::selection {
    background: var(--jap-red-light);
    color: var(--jap-dark);
}

.btn {
    padding: 0.625rem 1.5rem;
    font-weight: 600;
    border-radius: var(--jap-radius-sm);
    transition: var(--jap-transition);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn i {
    display: inline-flex;
    align-items: center;
    line-height: 1;
}

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

.btn-primary:hover,
.btn-primary:focus {
    background: var(--jap-red-dark);
    border-color: var(--jap-red-dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.3);
}

.btn-outline-primary {
    color: var(--jap-red);
    border-color: var(--jap-red);
}

.btn-outline-primary:hover {
    background: var(--jap-red);
    border-color: var(--jap-red);
    color: var(--jap-white);
}

.btn-success {
    background: #25D366;
    border-color: #25D366;
}

.btn-success:hover {
    background: #1da851;
    border-color: #1da851;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
}

.btn-lg {
    padding: 0.875rem 2rem;
    border-radius: var(--jap-radius-sm);
}

.btn-whatsapp {
    background: #25D366;
    border-color: #25D366;
    color: var(--jap-white);
}

.btn-whatsapp:hover {
    background: #1da851;
    border-color: #1da851;
    color: var(--jap-white);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
}

.section-padding {
    padding: 5rem 0;
}

.section-title {
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--jap-dark);
    margin-bottom: 0.75rem;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--jap-gray);
    max-width: 600px;
    margin: 0 auto 3rem;
}

/* Navbar */
.navbar-jap {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--jap-gray-border);
    padding: 0.75rem 0;
    transition: var(--jap-transition);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.navbar-jap .navbar-brand {
    font-weight: 800;
    font-size: 3rem;
    color: #000000;
    letter-spacing: -0.5px;
    display: flex;
    align-items: center;
}


.navbar-jap .navbar-nav {
    display: flex;
    align-items: center;
}

.navbar-jap .nav-item {
    display: flex;
    align-items: center;
}

.navbar-jap .nav-item::before {
    display: none !important;
}

.navbar-jap .nav-link {
    color: var(--jap-gray) !important;
    font-weight: 500;
    padding: 0 1rem !important;
    border-radius: var(--jap-radius-sm);
    transition: var(--jap-transition);
    white-space: nowrap;
    font-size: 0.9375rem;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 40px;
    line-height: 1;
}

.navbar-jap .nav-link span {
    display: block;
}

.navbar-jap .nav-link i {
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.navbar-jap .nav-link:hover,
.navbar-jap .nav-link.active {
    color: var(--jap-red) !important;
    background: var(--jap-red-light);
}

.navbar-jap .btn-call {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    height: 40px; /* Match nav-link height */
    padding: 0 1.25rem;
    font-weight: 600;
    border-radius: 50px;
    transition: var(--jap-transition);
}

/* Hero */
.hero-section {
    position: relative;
    min-height: auto;
    display: flex;
    align-items: center;
    background: #12569B;
    overflow: hidden;
    padding: 100px 0 2rem;
}

.hero-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(255, 255, 255, 0.06) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 50%, rgba(255, 255, 255, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

.hero-bg-pattern {
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 1px 1px, rgba(255, 255, 255, 0.04) 1px, transparent 0);
    background-size: 40px 40px;
    pointer-events: none;
}

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

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: rgba(255, 255, 255, 0.1);
    color: #bfdbfe;
    padding: 0.625rem 1.5rem;
    border-radius: 50px;
    font-size: 0.9375rem;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.15);
    margin-bottom: 2rem;
    width: fit-content;
    white-space: nowrap;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.hero-badge i {
    font-size: 1.125rem;
    color: #93c5fd;
    display: inline-flex;
    align-items: center;
    line-height: 1;
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 800;
    color: var(--jap-white);
    line-height: 1.1;
    letter-spacing: -1.5px;
    margin-bottom: 1.5rem;
    user-select: none;
}

.hero-title .highlight {
    color: #000000;
}

.hero-description {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: #93c5fd;
    max-width: 560px;
    line-height: 1.7;
    margin-bottom: 2.5rem;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-image-wrapper {
    position: relative;
    z-index: 2;
}

.hero-image-wrapper::before {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.08) 0%, transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.hero-image {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.4));
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-stat-value {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--jap-white);
}

.hero-stat-label {
    font-size: 0.875rem;
    color: #93c5fd;
    margin-top: 0.25rem;
}

/* Services */
.services-section {
    background: var(--jap-gray-light);
}

.service-card {
    background: var(--jap-white);
    border: 1px solid var(--jap-gray-border);
    border-radius: var(--jap-radius-lg);
    padding: 2.5rem 2rem;
    transition: var(--jap-transition);
    height: 100%;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--jap-red);
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--jap-transition);
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--jap-shadow-xl);
    border-color: transparent;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    width: 64px;
    height: 64px;
    background: var(--jap-red-light);
    border-radius: var(--jap-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.service-icon i {
    font-size: 1.75rem;
    color: var(--jap-red);
    display: inline-flex;
    align-items: center;
    line-height: 1;
}

.service-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--jap-dark);
}

.service-card p {
    color: var(--jap-gray);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 0;
}

/* Vehicles */
.vehicle-card {
    background: var(--jap-white);
    border: 1px solid var(--jap-gray-border);
    border-radius: var(--jap-radius-lg);
    overflow: hidden;
    transition: var(--jap-transition);
    height: 100%;
}

.vehicle-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--jap-shadow-xl);
    border-color: transparent;
}

.vehicle-image {
    height: 200px;
    background: var(--jap-gray-light);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.vehicle-image i {
    font-size: 4.5rem;
    color: var(--jap-gray);
    opacity: 0.3;
}

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

.vehicle-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    padding: 0.25rem 1rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    line-height: 1;
}

.vehicle-badge.available {
    background: #dcfce7;
    color: #16a34a;
}

.vehicle-badge.limited {
    background: #fef9c3;
    color: #ca8a04;
}

.vehicle-body {
    padding: 1.5rem;
}

.vehicle-type {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--jap-red);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.vehicle-body h5 {
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.vehicle-body p {
    color: var(--jap-gray);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.vehicle-price {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--jap-red);
}

.vehicle-price span {
    font-size: 0.85rem;
    color: var(--jap-gray);
    font-weight: 400;
}

/* Why choose us */
.why-section {
    background: var(--jap-gray-light);
}

.feature-card {
    text-align: center;
    padding: 2.5rem 1.5rem 2rem;
    border-radius: var(--jap-radius-lg);
    background: var(--jap-white);
    border: 1px solid var(--jap-gray-border);
    border-top: 4px solid var(--jap-red);
    transition: var(--jap-transition);
    height: 100%;
    position: relative;
}

.feature-card i {
    font-size: 2.5rem;
    color: var(--jap-red);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    background: var(--jap-red-light);
    border-radius: 50%;
    margin-bottom: 1.25rem;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--jap-shadow-lg);
    border-color: var(--jap-red) transparent transparent transparent;
}

.feature-card h5 {
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.feature-card p {
    color: var(--jap-gray);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 0;
}

/* Service card compact (for grid items) */
.service-card.text-center .service-icon {
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 1rem;
}

.service-card.text-center h3 {
    font-size: 1rem;
    margin-bottom: 0;
}

.service-card.service-card-sm {
    padding: 1.5rem 1rem;
}

.service-card.service-card-sm .service-icon {
    width: 56px;
    height: 56px;
    margin-bottom: 0.75rem;
}

.service-card.service-card-sm .service-icon i {
    font-size: 1.5rem;
}

.service-card.service-card-sm h3 {
    font-size: 0.95rem;
}

/* Testimonials */
.testimonial-card {
    background: var(--jap-white);
    border: 1px solid var(--jap-gray-border);
    border-radius: var(--jap-radius-lg);
    padding: 2rem;
    transition: var(--jap-transition);
    height: 100%;
    position: relative;
}

.testimonial-card:hover {
    box-shadow: var(--jap-shadow-lg);
    border-color: transparent;
}

.testimonial-stars {
    color: #f59e0b;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    display: flex;
    gap: 0.25rem;
}

.testimonial-stars i {
    display: inline-flex;
    align-items: center;
    line-height: 1;
}

.testimonial-text {
    color: var(--jap-gray);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.testimonial-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--jap-red-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: var(--jap-red);
    font-size: 1.1rem;
    line-height: 1;
}

.testimonial-name {
    font-weight: 600;
    margin-bottom: 0.15rem;
}

.testimonial-role {
    font-size: 0.85rem;
    color: var(--jap-gray);
    margin-bottom: 0;
}

/* Contact */
.contact-section {
    background: var(--jap-gray-light);
}

.contact-form {
    background: var(--jap-white);
    border: 1px solid var(--jap-gray-border);
    border-radius: var(--jap-radius-lg);
    padding: 2.5rem;
}

.contact-form .form-control {
    border: 1px solid var(--jap-gray-border);
    border-radius: var(--jap-radius-sm);
    padding: 0.75rem 1rem;
    font-size: 0.95rem;
    transition: var(--jap-transition);
}

.contact-form .form-control:focus {
    border-color: var(--jap-red);
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
}

.contact-info-card {
    background: #12569B;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--jap-radius-lg);
    overflow: hidden;
    height: 100%;
    color: var(--jap-white);
}


.ubicacion-banner {
    width: 100%;
    aspect-ratio: 2 / 1;
    object-fit: cover;
    display: block;
}

.contact-info-card-body {
    padding: 2rem;
}

.contact-info-item {
    display: flex;
    gap: 1rem;
    padding: 1.25rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-info-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.contact-info-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: var(--jap-radius);
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-info-icon i {
    font-size: 1.25rem;
    color: var(--jap-white);
    display: inline-flex;
    align-items: center;
    line-height: 1;
}

.contact-info-icon .bi-whatsapp {
    color: #25D366;
    font-size: 1.35rem;
}

.contact-info-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.contact-info-value {
    font-weight: 600;
    color: var(--jap-white);
}

.contact-info-value a {
    color: var(--jap-white);
}

.contact-info-value a:hover {
    opacity: 0.8;
}

.btn-map-link {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    margin-top: 0.5rem;
    padding: 0.35rem 0.9rem;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--jap-white);
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    text-decoration: none;
    transition: var(--jap-transition);
    width: fit-content;
}

.btn-map-link:hover {
    background: rgba(255, 255, 255, 0.25);
    color: var(--jap-white);
}

/* Footer */
.footer {
    background: #12569B;
    color: #bfdbfe;
    padding: 4rem 0 0;
}

.footer-brand {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--jap-white);
    margin-bottom: 1rem;
}

.footer-brand span {
    color: #000;
}

.footer p {
    font-size: 0.95rem;
    line-height: 1.7;
}

.footer h6 {
    color: var(--jap-white);
    font-weight: 700;
    margin-bottom: 1.25rem;
    font-size: 1rem;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

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

.footer-links a {
    color: #bfdbfe;
    text-decoration: none;
    transition: var(--jap-transition);
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: var(--jap-white);
    padding-left: 4px;
}

.footer-social {
    margin-top: 1.5rem;
}

.social-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.social-list li a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #bfdbfe;
    text-decoration: none;
    transition: var(--jap-transition);
    font-size: 0.9rem;
}

.social-list li a:hover {
    color: var(--jap-white);
}

.social-list li a i {
    font-size: 1.1rem;
    width: 1.25rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    padding: 1.5rem 0;
    margin-top: 3rem;
    text-align: center;
    font-size: 0.9rem;
}

/* WhatsApp floating button */
.whatsapp-float {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    width: 56px;
    height: 56px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--jap-white);
    font-size: 1.75rem;
    box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: var(--jap-transition);
    text-decoration: none;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    color: var(--jap-white);
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.5);
}

/* Rental Gallery */
.rental-gallery {
    position: relative;
    z-index: 2;
}

.rental-image-placeholder {
    width: 100%;
    border-radius: var(--jap-radius-lg);
    overflow: hidden;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.rental-img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    border-radius: var(--jap-radius-lg);
}

/* Hero Brands */
.hero-brands-wrapper {
    position: relative;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: var(--jap-radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    overflow: hidden; /* Importante para el carrusel */
}

.brands-carousel {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 1rem 0;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.brands-track {
    display: flex;
    width: fit-content;
    animation: scroll 30s linear infinite;
    gap: 3rem;
    align-items: center;
}

.brands-track-reverse {
    animation-direction: reverse;
}

.brands-track:hover {
    animation-play-state: paused;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        /* Mover exactamente la mitad del track (6 items + sus gaps) */
        transform: translateX(calc(-150px * 6 - 3rem * 6));
    }
}

.brand-item {
    flex: 0 0 150px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--jap-transition);
}

.brand-item:hover {
    transform: scale(1.1);
}

.brand-item img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.brands-label {
    text-align: center;
    color: #94a3b8;
    font-size: 0.875rem;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-weight: 500;
}

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

/* Mission & Vision Cards */
.mission-card {
    background: var(--jap-white);
    border: 1px solid var(--jap-gray-border);
    border-radius: var(--jap-radius-lg);
    padding: 2.5rem 2rem;
    transition: var(--jap-transition);
    height: 100%;
    position: relative;
    overflow: hidden;
    box-shadow: var(--jap-shadow);
}

.mission-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--jap-red);
    transition: var(--jap-transition);
}

.mission-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--jap-shadow-xl);
    border-color: transparent;
}

.mission-card .section-title {
    position: relative;
    display: inline-block;
}

.mission-card .section-title::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--jap-red);
    border-radius: 2px;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-in {
    animation: fadeInUp 0.6s ease-out forwards;
}

.animate-in-delay-1 {
    animation-delay: 0.1s;
}

.animate-in-delay-2 {
    animation-delay: 0.2s;
}

.animate-in-delay-3 {
    animation-delay: 0.3s;
}

/* Product Cards (Repuestos) */
.product-card {
    background: var(--jap-white);
    border: 1px solid var(--jap-gray-border);
    border-radius: var(--jap-radius-lg);
    overflow: hidden;
    transition: var(--jap-transition);
    height: 100%;
    position: relative;
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--jap-red);
    z-index: 2;
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--jap-transition);
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--jap-shadow-xl);
    border-color: transparent;
}

.product-card:hover::before {
    transform: scaleX(1);
}

.product-image {
    height: 160px;
    background: var(--jap-gray-light);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

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

.product-image .product-icon {
    display: none;
}

.product-body {
    padding: 1rem 1.25rem 1.25rem;
    text-align: center;
}

.product-model {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--jap-red);
    font-weight: 600;
    margin-bottom: 0.35rem;
}

.product-name {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--jap-dark);
    margin-bottom: 0;
}

.product-group-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--jap-dark);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.product-group-title i {
    color: var(--jap-red);
    font-size: 1.25rem;
}

.product-group-divider {
    margin: 2.5rem 0;
    border-color: var(--jap-gray-border);
    opacity: 0.5;
}

/* Responsive */
@media (max-width: 991.98px) {
    .product-group-title {
        font-size: 1rem;
    }

    .product-image {
        height: 140px;
    }
}

@media (max-width: 767.98px) {
    .product-image {
        height: 120px;
    }

    .product-body {
        padding: 0.75rem 1rem 1rem;
    }

    .product-group-divider {
        margin: 2rem 0;
    }
}

#puertas-carousel .product-image {
    background: #fff;
}

#puertas-carousel .product-image img {
    object-fit: contain;
    padding: 8px;
}

/* Product Carousel */
.product-carousel-wrapper {
    position: relative;
}

.product-carousel {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    padding: 0.5rem 0 1rem;
    scrollbar-width: thin;
    scrollbar-color: var(--jap-gray-border) transparent;
}

.product-carousel::-webkit-scrollbar {
    height: 6px;
}

.product-carousel::-webkit-scrollbar-track {
    background: transparent;
}

.product-carousel::-webkit-scrollbar-thumb {
    background: var(--jap-gray-border);
    border-radius: 3px;
}

.product-carousel::-webkit-scrollbar-thumb:hover {
    background: var(--jap-gray);
}

.product-carousel .product-card-wrapper {
    flex: 0 0 260px;
    scroll-snap-align: start;
}

.product-carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--jap-white);
    border: 1px solid var(--jap-gray-border);
    box-shadow: var(--jap-shadow-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--jap-transition);
    opacity: 0;
    color: var(--jap-dark);
    font-size: 1.1rem;
    line-height: 1;
    padding: 0;
}

.product-carousel-wrapper:hover .product-carousel-btn {
    opacity: 1;
}

.product-carousel-btn:hover {
    background: var(--jap-red);
    color: var(--jap-white);
    border-color: var(--jap-red);
}

.product-carousel-btn-prev {
    left: -16px;
}

.product-carousel-btn-next {
    right: -16px;
}

.product-carousel-fade-left,
.product-carousel-fade-right {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 40px;
    pointer-events: none;
    z-index: 1;
}

.product-carousel-fade-left {
    left: 0;
    background: linear-gradient(to right, var(--jap-white), transparent);
}

.product-carousel-fade-right {
    right: 0;
    background: linear-gradient(to left, var(--jap-white), transparent);
}

.otros-grid .product-card-wrapper {
    flex: 0 0 calc(25% - 0.75rem);
    min-width: 200px;
}

@media (max-width: 767.98px) {
    .product-carousel .product-card-wrapper {
        flex: 0 0 200px;
    }

    .product-carousel-btn {
        display: none;
    }
}

/* Responsive */
@media (max-width: 991.98px) {
    .navbar-jap .navbar-collapse {
        background: var(--jap-white);
        border-radius: var(--jap-radius);
        padding: 1rem;
        margin-top: 0.75rem;
        box-shadow: var(--jap-shadow-xl);
        border: 1px solid var(--jap-gray-border);
    }

    .navbar-jap .navbar-nav {
        align-items: stretch;
        gap: 0.25rem;
    }

    .navbar-jap .nav-link {
        padding: 0.75rem 1rem !important;
        height: auto;
        justify-content: flex-start;
    }

    .navbar-jap .btn-call {
        width: 100%;
        justify-content: center;
        margin-top: 0.5rem;
    }

    .navbar-jap .navbar-toggler {
        border: 1px solid var(--jap-gray-border);
        background: var(--jap-gray-light);
        padding: 0.5rem 0.75rem;
    }

    .navbar-jap .navbar-toggler i {
        color: var(--jap-dark);
    }

    .hero-section {
        min-height: auto;
        padding: 120px 0 3rem;
        text-align: center;
    }

    .hero-description {
        margin-left: auto;
        margin-right: auto;
    }

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

    .hero-stats {
        max-width: 400px;
        margin-left: auto;
        margin-right: auto;
    }

    .hero-image-wrapper {
        margin-top: 3rem;
    }

    .section-title {
        font-size: 1.875rem;
    }
}

@media (max-width: 767.98px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-actions {
        flex-direction: column;
    }

    .hero-actions .btn {
        width: 100%;
    }

    .section-padding {
        padding: 3.5rem 0;
    }

    .contact-form {
        padding: 1.5rem;
    }

    .contact-info-card {
        padding: 1.5rem;
        margin-top: 2rem;
    }

    .footer {
        padding: 3rem 0 0;
    }

    .footer-brand {
        font-size: 1.5rem;
    }
}
