/* =========================================================
   AUTOCARRIL MÓVILES - ESTILOS CORPORATIVOS & REDISEÑO MODERNO
   ========================================================= */

/* Importación y Tipografía Base */
body {
    font-family: 'Plus Jakarta Sans', 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
    color: #334155;
    background-color: #ffffff;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', 'Plus Jakarta Sans', sans-serif !important;
    font-weight: 700;
    color: #0f172a;
}

/* Eliminar puntos azules u ornamentos viejos del template */
.section-title::after,
.section-header::after {
    display: none !important;
}

/* Colores de Marca y Acentos */
.text-gold { color: #c58a2d !important; }
.text-wa { color: #16a34a !important; }
.text-ig { color: #dc2743 !important; }

.bg-gold { background-color: #c58a2d !important; color: #ffffff !important; }
.bg-dark { background-color: #0f172a !important; color: #ffffff !important; }
.bg-wa { background-color: #16a34a !important; color: #ffffff !important; }
.bg-ig { background: linear-gradient(45deg, #f09433 0%,#e6683c 25%,#dc2743 50%,#cc2366 75%,#bc1888 100%) !important; color: #ffffff !important; }
.highlight-gold { color: #c58a2d; font-weight: 800; }

/* =========================================================
   1. NAVBAR & CABECERA
   ========================================================= */

#header .navbar-default {
    background: rgba(255, 255, 255, 0.98) !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: none;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    padding: 6px 0;
    transition: all 0.3s ease;
}

.navbar-brand {
    padding: 4px 15px;
    height: auto;
    display: flex;
    align-items: center;
}

.brand-logo {
    height: 58px;
    width: auto;
    max-width: 260px;
    object-fit: contain;
    transition: transform 0.2s ease;
}

.brand-logo:hover {
    transform: scale(1.02);
}

/* Accesos rápidos de contacto en Navbar */
.header-quick-contacts {
    float: left;
    margin-left: 20px;
    padding-top: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.header-contact-item {
    display: inline-flex;
    align-items: center;
    padding: 7px 15px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none !important;
    transition: all 0.25s ease;
}

.header-contact-item.wa-link {
    background: #f0fdf4;
    color: #15803d !important;
    border: 1px solid #bbf7d0;
}

.header-contact-item.wa-link:hover {
    background: #16a34a;
    color: #ffffff !important;
    border-color: #16a34a;
}

.header-contact-item.wa-link i {
    margin-right: 6px;
    font-size: 16px;
}

.header-contact-item.ig-link {
    background: #fdf2f4;
    color: #be185d !important;
    border: 1px solid #fbcfe8;
}

.header-contact-item.ig-link:hover {
    background: #db2777;
    color: #ffffff !important;
    border-color: #db2777;
}

.header-contact-item.ig-link i {
    margin-right: 6px;
    font-size: 15px;
}

/* Enlaces de Navegación */
#main-menu .navbar-nav > li > a {
    color: #1e293b !important;
    font-weight: 600;
    font-size: 14px;
    padding: 18px 16px;
    transition: color 0.2s ease;
}

#main-menu .navbar-nav > li > a:hover,
#main-menu .navbar-nav > li.active > a {
    color: #c58a2d !important;
    background: transparent !important;
}

/* =========================================================
   2. HERO & SECCIÓN FEATURES
   ========================================================= */

.hero-section {
    padding: 135px 0 60px 0;
    background: #ffffff;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    background: #fef7ec;
    color: #c58a2d;
    border: 1px solid #f9e2b8;
    padding: 6px 14px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 20px;
}

.hero-badge i {
    margin-right: 6px;
}

.hero-main-title {
    font-size: 40px;
    line-height: 1.25;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 20px;
    letter-spacing: -0.5px;
}

.hero-subtitle {
    font-size: 17px;
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 30px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 30px;
}

.btn-hero-primary {
    background: #0f172a;
    color: #ffffff !important;
    font-size: 15px;
    font-weight: 700;
    padding: 14px 26px;
    border-radius: 10px;
    text-decoration: none !important;
    transition: all 0.25s ease;
    display: inline-flex;
    align-items: center;
    box-shadow: 0 4px 15px rgba(15, 23, 42, 0.2);
}

.btn-hero-primary:hover {
    background: #c58a2d;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(197, 138, 45, 0.3);
}

.btn-hero-primary i {
    margin-right: 8px;
}

.btn-hero-wa {
    background: #ffffff;
    color: #0f172a !important;
    border: 2px solid #0f172a;
    font-size: 15px;
    font-weight: 700;
    padding: 12px 24px;
    border-radius: 10px;
    text-decoration: none !important;
    transition: all 0.25s ease;
    display: inline-flex;
    align-items: center;
}

.btn-hero-wa:hover {
    background: #0f172a;
    color: #ffffff !important;
    transform: translateY(-2px);
}

.btn-hero-wa i {
    margin-right: 8px;
    font-size: 18px;
    color: #16a34a;
}

.btn-hero-wa:hover i {
    color: #ffffff;
}

/* Imagen de Fachada en Hero */
.hero-image-wrapper {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
    border: 1px solid #eaeaea;
}

.hero-facade-img {
    width: 100%;
    height: 380px;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.hero-image-wrapper:hover .hero-facade-img {
    transform: scale(1.03);
}

.hero-image-overlay-badge {
    position: absolute;
    bottom: 16px;
    left: 16px;
    background: rgba(15, 23, 42, 0.88);
    color: #ffffff;
    padding: 8px 16px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 700;
    backdrop-filter: blur(6px);
}

.hero-image-overlay-badge i {
    color: #c58a2d;
    margin-right: 6px;
}

/* Grid de Pilares */
.features-grid {
    margin-top: 50px;
}

.feature-card {
    background: #ffffff;
    border: 1px solid #f1f5f9;
    padding: 25px 20px;
    border-radius: 14px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
    transition: all 0.3s ease;
    height: 100%;
    margin-bottom: 20px;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    border-color: #f9e2b8;
}

.feature-icon-box {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: #fef7ec;
    color: #c58a2d;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    margin-bottom: 18px;
}

.feature-title {
    font-size: 18px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 10px;
}

.feature-desc {
    font-size: 14px;
    color: #64748b;
    line-height: 1.5;
    margin: 0;
}

/* =========================================================
   3. CATÁLOGO DE AUTOS & TARJETAS
   ========================================================= */

#portfolio {
    display: block !important;
    width: 100% !important;
    padding: 90px 0 70px 0 !important;
    background-color: #f8fafc !important;
    scroll-margin-top: 70px;
}

.section-badge {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #c58a2d;
    background: #fef7ec;
    padding: 5px 14px;
    border-radius: 20px;
    margin-bottom: 10px;
}

.section-title {
    font-size: 34px;
    font-weight: 800;
    color: #0f172a;
    margin-top: 5px;
    margin-bottom: 12px;
}

.section-subtitle {
    font-size: 16px;
    color: #64748b;
    max-width: 650px;
    margin: 0 auto 30px auto;
}

/* Buscador en Vivo */
.catalog-search-wrapper {
    max-width: 550px;
    margin: 0 auto 25px auto;
}

.search-input-group {
    position: relative;
    display: flex;
    align-items: center;
}

.search-icon {
    position: absolute;
    left: 18px;
    color: #94a3b8;
    font-size: 16px;
    z-index: 3;
}

.car-search-field {
    height: 50px;
    padding-left: 48px;
    padding-right: 45px;
    border-radius: 30px !important;
    border: 2px solid #e2e8f0;
    font-size: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
    transition: all 0.25s ease;
}

.car-search-field:focus {
    border-color: #c58a2d;
    outline: none;
    box-shadow: 0 4px 20px rgba(197, 138, 45, 0.15);
}

.search-clear-btn {
    position: absolute;
    right: 15px;
    background: transparent;
    border: none;
    color: #94a3b8;
    font-size: 16px;
    cursor: pointer;
    z-index: 3;
}

/* Filtros por Marca */
.catalog-filters-wrapper {
    margin-bottom: 35px;
}

.portfolio-filter {
    padding: 0;
    list-style: none;
    display: inline-flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px;
}

.portfolio-filter li a {
    display: inline-block;
    padding: 8px 18px;
    border-radius: 30px;
    background: #ffffff;
    color: #475569;
    border: 1px solid #e2e8f0;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none !important;
    transition: all 0.2s ease;
}

.portfolio-filter li a:hover {
    background: #f1f5f9;
    color: #0f172a;
    border-color: #cbd5e1;
}

.portfolio-filter li a.active {
    background: #0f172a !important;
    color: #ffffff !important;
    border-color: #0f172a !important;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.2);
}

/* Grid de Autos - 3 Columnas en Desktop */
#portfolio .portfolio-items {
    margin: 0 -15px !important;
}

#portfolio .portfolio-item {
    width: 33.333333% !important;
    max-width: 33.333333% !important;
    float: left !important;
    padding: 15px !important;
    margin-bottom: 25px !important;
    box-sizing: border-box !important;
}

.car-card {
    background: #ffffff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    border: 1px solid #eef2f6;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.car-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
    border-color: #e2e8f0;
}

.car-img-wrapper {
    position: relative;
    width: 100%;
    height: 220px;
    background-color: #f1f5f9;
    overflow: hidden;
}

.car-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.45s ease;
}

.car-card:hover .car-img-wrapper img {
    transform: scale(1.06);
}

.car-badge-brand {
    position: absolute;
    top: 12px;
    left: 12px;
    background: rgba(15, 23, 42, 0.88);
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 4px 10px;
    border-radius: 6px;
    backdrop-filter: blur(4px);
    z-index: 2;
}

.car-badge-year {
    position: absolute;
    bottom: 12px;
    right: 12px;
    background: #c58a2d;
    color: #ffffff;
    font-size: 12px;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: 6px;
    z-index: 2;
}

.car-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.car-title {
    font-size: 16px;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 12px 0;
    line-height: 1.35;
    height: 44px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.car-specs {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 16px;
}

.car-spec-item {
    display: inline-flex;
    align-items: center;
    background: #f1f5f9;
    color: #475569;
    font-size: 12px;
    font-weight: 600;
    padding: 4px 9px;
    border-radius: 6px;
}

.car-spec-item i {
    margin-right: 5px;
    color: #94a3b8;
}

.car-price-box {
    margin-top: auto;
    padding-top: 14px;
    border-top: 1px solid #f1f5f9;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.price-label {
    font-size: 13px;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.car-price {
    font-size: 20px;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.car-price.price-usd {
    color: #c58a2d !important;
}

.car-price.price-ars {
    color: #0f172a !important;
}

.car-btn-group {
    display: flex;
    gap: 8px;
}

.btn-car-wa {
    flex: 1;
    background-color: #16a34a;
    color: #ffffff !important;
    border: none;
    font-size: 13px;
    font-weight: 700;
    padding: 10px 12px;
    border-radius: 8px;
    text-align: center;
    text-decoration: none !important;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-car-wa:hover {
    background-color: #15803d;
    transform: translateY(-1px);
}

.btn-car-wa i {
    margin-right: 6px;
    font-size: 16px;
}

.btn-car-ml {
    background-color: #ffe600;
    color: #2d3277 !important;
    border: none;
    font-size: 13px;
    font-weight: 700;
    padding: 10px 14px;
    border-radius: 8px;
    text-align: center;
    text-decoration: none !important;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-car-ml:hover {
    background-color: #ebd300;
    transform: translateY(-1px);
}

.btn-car-ml i {
    margin-right: 5px;
}

/* =========================================================
   4. CONTACTO Y UBICACIÓN (CENTRADO TOTAL Y ARMONIZADO)
   ========================================================= */

#contact {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 90px 0 !important;
    background: #ffffff !important;
    height: auto !important;
    scroll-margin-top: 70px;
}

#contact .container {
    width: 100% !important;
    max-width: 1170px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
}

.contact-content-row {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: stretch !important;
    margin-left: -15px !important;
    margin-right: -15px !important;
}

.contact-info-col {
    padding: 0 15px !important;
    display: flex !important;
    flex-direction: column !important;
}

.contact-map-col {
    padding: 0 15px !important;
    display: flex !important;
    flex-direction: column !important;
}

.contact-cards-container {
    display: flex !important;
    flex-direction: column !important;
    gap: 14px !important;
    height: 100% !important;
    justify-content: space-between !important;
}

.contact-info-card {
    background: #ffffff;
    border: 1px solid #f1f5f9;
    padding: 18px 20px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
    display: flex;
    align-items: center;
    gap: 16px;
    transition: all 0.25s ease;
    flex: 1;
}

.contact-info-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.contact-info-card.highlight-card {
    background: #f0fdf4;
    border-color: #bbf7d0;
}

.contact-icon-circle {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.contact-card-text h4 {
    font-size: 15px;
    font-weight: 700;
    margin: 0 0 4px 0;
    color: #0f172a;
}

.contact-card-text p {
    font-size: 13px;
    color: #64748b;
    margin: 0;
    line-height: 1.45;
}

.contact-link {
    display: inline-block;
    margin-top: 4px;
    font-size: 12px;
    font-weight: 700;
    color: #c58a2d;
    text-decoration: none !important;
}

.contact-link:hover {
    color: #0f172a;
}

.phone-link {
    color: #1e293b;
    text-decoration: none !important;
}

.phone-link:hover {
    color: #c58a2d;
}

.wa-text {
    color: #15803d !important;
    font-weight: 700;
}

.map-wrapper {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid #eaeaea;
    height: 100%;
    min-height: 380px;
    display: flex;
}

.styled-map-iframe {
    width: 100%;
    height: 100%;
    min-height: 380px;
    border: 0;
    flex: 1;
}

/* =========================================================
   5. FOOTER
   ========================================================= */

.main-footer {
    background: #0f172a;
    color: #94a3b8;
    padding: 60px 0 25px 0;
}

.footer-logo {
    height: 52px;
    width: auto;
    max-width: 220px;
    margin-bottom: 18px;
    object-fit: contain;
    display: block;
}

.footer-desc {
    font-size: 14px;
    line-height: 1.6;
    color: #94a3b8;
    margin-bottom: 20px;
}

.footer-heading {
    color: #ffffff;
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 8px;
}

.footer-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: #c58a2d;
}

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

.footer-nav-list li {
    margin-bottom: 10px;
}

.footer-nav-list li a {
    color: #94a3b8;
    text-decoration: none !important;
    font-size: 14px;
    transition: color 0.2s ease;
}

.footer-nav-list li a:hover {
    color: #c58a2d;
    padding-left: 4px;
}

.footer-contact-item {
    font-size: 14px;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
}

.footer-contact-item i {
    font-size: 16px;
    width: 24px;
}

.footer-contact-item a {
    color: #e2e8f0;
    text-decoration: none !important;
    font-weight: 600;
}

.footer-contact-item a:hover {
    color: #c58a2d;
}

.footer-bottom-row {
    margin-top: 40px;
    padding-top: 25px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-copy {
    font-size: 13px;
    color: #64748b;
    line-height: 1.6;
}

.developer-credit {
    color: #94a3b8;
    font-size: 13px;
    display: inline-block;
    margin-top: 4px;
}

.developer-credit strong {
    color: #c58a2d;
    font-weight: 700;
}

.footer-social-icons {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

.social-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    text-decoration: none !important;
    transition: all 0.25s ease;
}

.social-btn.wa:hover { background: #16a34a; }
.social-btn.ig:hover { background: #dc2743; }
.social-btn.map:hover { background: #c58a2d; }

/* =========================================================
   6. BOTÓN FLOTANTE DE WHATSAPP
   ========================================================= */

.floating-whatsapp-btn {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 58px;
    height: 58px;
    background: #16a34a;
    color: #ffffff !important;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    box-shadow: 0 6px 20px rgba(22, 163, 74, 0.35);
    z-index: 9999;
    text-decoration: none !important;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.floating-whatsapp-btn:hover {
    transform: scale(1.08);
    background: #15803d;
    box-shadow: 0 10px 25px rgba(22, 163, 74, 0.5);
}

.floating-wa-tooltip {
    position: absolute;
    right: 70px;
    background: #0f172a;
    color: #ffffff;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transform: translateX(10px);
    transition: all 0.25s ease;
    pointer-events: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.floating-whatsapp-btn:hover .floating-wa-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}