/* D' Jesús Beltré — botones + fondos (forzado) */
:root {
    --dj-red: #C8102E;
    --dj-red-dark: #8f0b20;
    --dj-blue: #002D72;
    --dj-navy: #001A5C;
    --dj-ink: #1a2332;
    --dj-soft: #f3f6fb;
    --dj-soft-2: #eaf0f8;
}

body {
    background:
        radial-gradient(circle at 0% 0%, rgba(200, 16, 46, 0.05), transparent 28%),
        radial-gradient(circle at 100% 8%, rgba(0, 45, 114, 0.07), transparent 32%),
        linear-gradient(180deg, #ffffff 0%, #f7f9fc 45%, #f3f6fb 100%) !important;
    color: var(--dj-ink);
}

/* ===== BOTONES ===== */
.btn,
a.btn,
button.btn,
.btn-primary,
.btn-outline,
.btn-outline-primary,
.dj-nav__btn,
.dj-footer__cta,
.hero-content .btn {
    font-family: 'Barlow Condensed', 'Manrope', sans-serif !important;
    font-weight: 800 !important;
    letter-spacing: 0.06em !important;
    text-transform: uppercase !important;
    border-radius: 10px !important;
    padding: 0.75rem 1.35rem !important;
    border-width: 2px !important;
    box-shadow: none !important;
    transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease !important;
}

.btn-primary,
.btn-primary:visited,
button.btn-primary,
a.btn-primary,
.hero-content .btn-primary,
.dj-nav__btn,
.dj-footer__cta {
    background: linear-gradient(135deg, #C8102E 0%, #9b0d24 100%) !important;
    border-color: #C8102E !important;
    color: #ffffff !important;
    box-shadow: 0 10px 22px rgba(200, 16, 46, 0.28) !important;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active,
a.btn-primary:hover,
.dj-nav__btn:hover,
.dj-footer__cta:hover,
.hero-content .btn-primary:hover {
    background: linear-gradient(135deg, #002D72 0%, #001A5C 100%) !important;
    border-color: #002D72 !important;
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 14px 28px rgba(0, 45, 114, 0.28) !important;
}

.btn-outline,
.btn-outline-primary,
a.btn-outline,
a.btn-outline-primary {
    background: transparent !important;
    color: #C8102E !important;
    border: 2px solid #C8102E !important;
    box-shadow: none !important;
}

.btn-outline:hover,
.btn-outline-primary:hover,
a.btn-outline:hover,
a.btn-outline-primary:hover {
    background: #C8102E !important;
    color: #ffffff !important;
    border-color: #C8102E !important;
    transform: translateY(-2px);
    box-shadow: 0 10px 22px rgba(200, 16, 46, 0.22) !important;
}

.btn-success {
    background: linear-gradient(135deg, #002D72, #001A5C) !important;
    border-color: #002D72 !important;
    color: #fff !important;
}

.back-to-top {
    background: linear-gradient(135deg, #C8102E, #9b0d24) !important;
    border: none !important;
    color: #fff !important;
}

/* ===== FONDOS DE SECCIONES ===== */
.featured-cars {
    background:
        linear-gradient(180deg, rgba(243, 246, 251, 0.95), rgba(255, 255, 255, 0.98)),
        repeating-linear-gradient(
            90deg,
            rgba(0, 45, 114, 0.035) 0,
            rgba(0, 45, 114, 0.035) 1px,
            transparent 1px,
            transparent 28px
        ) !important;
    padding: 4.5rem 0 !important;
}

.about-section {
    background:
        radial-gradient(circle at 15% 40%, rgba(200, 16, 46, 0.12), transparent 40%),
        radial-gradient(circle at 85% 30%, rgba(0, 45, 114, 0.16), transparent 42%),
        linear-gradient(135deg, #001A5C 0%, #002D72 48%, #7a0c1d 100%) !important;
    color: #ffffff !important;
    padding: 4.5rem 0 !important;
}

.about-section h2,
.about-section p,
.about-section .feature-item span {
    color: #ffffff !important;
}

.about-section .feature-item i {
    color: #FFE066 !important;
}

.about-section .btn-outline {
    color: #ffffff !important;
    border-color: #ffffff !important;
}

.about-section .btn-outline:hover {
    background: #ffffff !important;
    color: #C8102E !important;
    border-color: #ffffff !important;
}

.contact-section {
    background:
        linear-gradient(180deg, #ffffff 0%, #eef3fa 100%),
        radial-gradient(circle at 90% 20%, rgba(200, 16, 46, 0.08), transparent 35%) !important;
    padding: 4.5rem 0 !important;
}

.contact-info {
    background: linear-gradient(160deg, #002D72, #001A5C) !important;
    color: #fff !important;
    border-radius: 16px !important;
    padding: 1.5rem !important;
    box-shadow: 0 16px 36px rgba(0, 26, 92, 0.2) !important;
}

.contact-info h4,
.contact-info p,
.contact-info a {
    color: #ffffff !important;
}

.contact-info i {
    color: #FFE066 !important;
}

.section-header h2 {
    color: #001A5C !important;
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 800;
    letter-spacing: 0.03em;
}

.section-header p {
    color: #3d4a5c !important;
}

/* ===== FOOTER: fondo claro legible (override) ===== */
.dj-footer {
    background: #f4f7fb !important;
    color: #1a2332 !important;
}

.dj-footer__main {
    background: #f4f7fb !important;
}

.dj-footer__links a {
    color: #1a2332 !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    text-transform: none !important;
    letter-spacing: normal !important;
    font-weight: 600 !important;
    padding: 0.2rem 0 !important;
}

.dj-footer__links a:hover {
    color: #C8102E !important;
    background: transparent !important;
}

.dj-footer__title {
    color: #001A5C !important;
}

.dj-footer__tagline,
.dj-footer__contact li,
.dj-footer__bottom,
.dj-footer__bottom p,
.dj-footer__note {
    color: #3d4a5c !important;
}

.dj-footer__contact a {
    color: #002D72 !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    text-transform: none !important;
    letter-spacing: normal !important;
    padding: 0 !important;
}

.dj-footer__social a {
    width: 44px !important;
    height: 44px !important;
    border-radius: 12px !important;
    background: #ffffff !important;
    border: 1px solid #cfd9e8 !important;
    color: #002D72 !important;
}

.dj-footer__social a:hover {
    background: #C8102E !important;
    border-color: #C8102E !important;
    color: #ffffff !important;
}

.dj-footer__cta {
    background: #C8102E !important;
    color: #ffffff !important;
    border-color: #C8102E !important;
}

.dj-footer__bottom {
    background: #ffffff !important;
    border-top: 1px solid #d7e0ec !important;
}

/* Cards sobre fondos nuevos */
.car-card {
    background: #ffffff !important;
    border: 1px solid rgba(0, 45, 114, 0.08) !important;
    box-shadow: 0 12px 28px rgba(0, 26, 92, 0.08) !important;
}

.contact-form {
    background: #ffffff;
    border: 1px solid rgba(0, 45, 114, 0.08);
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 12px 28px rgba(0, 26, 92, 0.06);
}

/* ===== REDISEÑO INDEX ===== */
.section-padding { padding: 5rem 0; }

.dj-section-header .dj-subtitle {
    display: inline-block;
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 700;
    color: var(--dj-red);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
}

.dj-section-header .dj-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--dj-navy);
    margin-bottom: 1rem;
}

.dj-section-header .dj-divider {
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--dj-red), var(--dj-blue));
    border-radius: 2px;
}

/* Hero */
.dj-hero {
    position: relative;
    height: 90vh;
    min-height: 600px;
    background: var(--dj-navy);
}

.dj-hero__slider {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
}

.dj-hero__slide {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
}

.dj-hero__slide:first-child,
.dj-hero__slide.active {
    opacity: 1;
    z-index: 1;
}

.dj-hero__overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(135deg, rgba(0,26,92,0.85) 0%, rgba(200,16,46,0.6) 100%);
}

.dj-hero__content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
    max-width: 700px;
    padding-bottom: 100px;
}

.dj-hero__title {
    font-size: 4rem;
    font-weight: 800;
    color: #fff;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    text-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.dj-hero__subtitle {
    font-size: 1.25rem;
    color: rgba(255,255,255,0.9);
    margin-bottom: 2rem;
}

/* Widget Búsqueda */
.dj-search-widget {
    position: absolute;
    bottom: -40px;
    left: 0;
    width: 100%;
    z-index: 10;
}

.dj-search-widget__inner {
    background: #fff;
    border-radius: 16px;
    padding: 1.5rem 2rem;
    box-shadow: 0 20px 40px rgba(0,26,92,0.12);
}

.dj-search__input {
    height: 52px;
    border-radius: 8px;
    border: 1px solid #d9e2ef;
    background: #f8fafc;
}

.dj-search__input:focus {
    border-color: var(--dj-blue);
    box-shadow: 0 0 0 3px rgba(0,45,114,0.1);
}

/* Pasos */
.dj-step {
    padding: 2rem;
    border-radius: 16px;
    transition: transform 0.3s ease;
}

.dj-step:hover {
    transform: translateY(-5px);
}

.dj-step__icon {
    width: 80px;
    height: 80px;
    background: rgba(200,16,46,0.08);
    color: var(--dj-red);
    font-size: 2rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.dj-step__title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--dj-navy);
    margin-bottom: 1rem;
}

/* Tarjetas Carros Nuevas */
.dj-car-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,26,92,0.06);
    border: 1px solid rgba(0,45,114,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.dj-car-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,26,92,0.12);
}

.dj-car-card__img-wrap {
    position: relative;
    height: 240px;
    overflow: hidden;
}

.dj-car-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.dj-car-card:hover .dj-car-card__img {
    transform: scale(1.05);
}

.dj-car-card__price {
    position: absolute;
    bottom: 1rem;
    right: 1rem;
    background: #fff;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-weight: 800;
    color: var(--dj-navy);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.dj-car-card__price .currency { font-size: 0.8rem; margin-right: 2px; }
.dj-car-card__price .period { font-size: 0.8rem; font-weight: normal; color: #6c757d; }

.dj-car-card__badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: var(--dj-red);
    color: #fff;
    padding: 0.35rem 0.75rem;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
}

.dj-car-card__content {
    padding: 1.5rem;
}

.dj-car-card__title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--dj-navy);
    margin-bottom: 1.25rem;
}

.dj-car-card__specs {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.dj-car-card__spec {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #6c757d;
    font-size: 0.85rem;
}

.dj-car-card__spec i {
    font-size: 1.2rem;
    color: var(--dj-blue);
    margin-bottom: 0.25rem;
}

/* About CTA */
.dj-about-cta__bg {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-size: cover;
    background-position: center;
    z-index: 0;
}
.dj-about-cta__overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(90deg, rgba(0,26,92,0.95) 0%, rgba(0,26,92,0.8) 100%);
    z-index: 1;
}
.dj-check-list li {
    font-size: 1.1rem;
}

@media (max-width: 768px) {
    .dj-hero__title { font-size: 2.5rem; }
    .dj-search-widget { position: relative; bottom: 0; margin-top: -20px; }
    .dj-hero { height: 75vh; min-height: 500px; }
}

