/* ========== RESET & BASE ========== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --yellow: #FFBF00;
    --yellow-dark: #E0A800;
    --dark: #000000;
    --darker: #545454;
    --dark-card: #1a1a1a;
    --white: #ffffff;
    --gray-light: #e0e0e0;
    --gray: #999;
    --green-whatsapp: #25D366;
    --font: 'Inter', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font);
    background: var(--darker);
    color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ========== BARRA SUPERIOR ========== */
.top-bar {
    background: var(--yellow);
    color: #000;
    font-size: 0.85rem;
    font-weight: 500;
    padding: 8px 0;
}

.top-bar-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.top-bar a {
    color: #000;
    transition: opacity 0.3s;
    display: flex;
    align-items: center;
    gap: 5px;
}

.top-bar a:hover {
    opacity: 0.7;
}

.dolar-info {
    margin-left: auto;
}

/* ========== NAVBAR ========== */
.navbar {
    background: #000000;
    padding: 12px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.navbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-links {
    display: flex;
    gap: 25px;
}

.nav-link {
    color: var(--white);
    font-size: 0.95rem;
    font-weight: 500;
    padding: 8px 0;
    position: relative;
    transition: color 0.3s;
}

.nav-link:hover,
.nav-link.active {
    color: var(--yellow);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--yellow);
}

.logo img {
    height: 85px;
    width: auto;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.currency-toggle {
    display: flex;
    border-radius: 20px;
    overflow: hidden;
    border: 2px solid var(--yellow);
}

.currency-btn {
    background: transparent;
    color: var(--white);
    border: none;
    padding: 6px 16px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    font-family: var(--font);
}

.currency-btn.active {
    background: var(--yellow);
    color: #000;
}

.btn-publicar {
    background: transparent;
    border: 2px solid var(--yellow);
    color: var(--yellow);
    padding: 12px 28px;
    border-radius: 25px;
    font-weight: 700;
    font-size: 1.05rem;
    transition: all 0.3s;
    display: inline-block;
}

.btn-publicar:hover {
    background: var(--yellow);
    color: #000;
}

/* Hamburguesa móvil */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.menu-toggle span {
    display: block;
    width: 25px;
    height: 2px;
    background: var(--white);
    transition: all 0.3s;
}

/* ========== DROPDOWN CATEGORÍAS NAVBAR ========== */
.nav-dropdown {
    position: relative;
}

.nav-dropdown .nav-link {
    display: flex;
    align-items: center;
    gap: 4px;
    cursor: pointer;
}

.dropdown-arrow {
    font-size: 0.7rem;
    transition: transform 0.3s;
}

.nav-dropdown:hover .dropdown-arrow {
    transform: rotate(180deg);
}

.nav-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    min-width: 280px;
    background: var(--dark);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 12px;
    padding: 8px 0;
    box-shadow: 0 15px 40px rgba(0,0,0,0.5);
    opacity: 0;
    visibility: hidden;
    transform: translateX(-50%) translateY(10px);
    transition: all 0.3s ease;
    z-index: 200;
    max-height: 70vh;
    overflow-y: auto;
}

.nav-dropdown:hover .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 18px;
    color: var(--white);
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.2s;
    white-space: nowrap;
}

.dropdown-item:hover {
    background: rgba(255,191,0,0.1);
    color: var(--yellow);
}

.dropdown-icon {
    font-size: 1.1rem;
    width: 24px;
    text-align: center;
    flex-shrink: 0;
}

.dropdown-text {
    flex: 1;
}

.dropdown-count {
    background: rgba(255,255,255,0.1);
    color: var(--gray);
    font-size: 0.75rem;
    padding: 2px 8px;
    border-radius: 10px;
    font-weight: 600;
}

.dropdown-item:hover .dropdown-count {
    background: rgba(255,191,0,0.2);
    color: var(--yellow);
}

.dropdown-ver-todas {
    border-top: 1px solid rgba(255,255,255,0.1);
    margin-top: 4px;
    padding-top: 12px;
    color: var(--yellow);
    font-weight: 600;
}

/* Mobile dropdown */
.mobile-dropdown {
    display: flex;
    flex-direction: column;
}

.mobile-dropdown-toggle {
    background: none;
    border: none;
    color: var(--white);
    font-size: 1rem;
    font-weight: 500;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    text-align: left;
    cursor: pointer;
    font-family: var(--font);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.mobile-dropdown-toggle .dropdown-arrow {
    transition: transform 0.3s;
}

.mobile-dropdown-toggle.open .dropdown-arrow {
    transform: rotate(180deg);
}

.mobile-dropdown-menu {
    display: none;
    flex-direction: column;
    padding-left: 15px;
    gap: 0;
}

.mobile-dropdown-menu.open {
    display: flex;
}

.mobile-dropdown-menu a {
    font-size: 0.9rem;
    padding: 6px 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.mobile-menu {
    display: none;
    flex-direction: column;
    background: var(--dark);
    padding: 20px;
    gap: 15px;
    border-bottom: 2px solid var(--yellow);
}

.mobile-menu a {
    color: var(--white);
    font-size: 1rem;
    font-weight: 500;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.mobile-menu a.active {
    color: var(--yellow);
}

.mobile-menu.open {
    display: flex;
}

/* Icono categoría en cards */
.categoria-icono {
    font-size: 2rem;
    display: block;
    margin-bottom: 5px;
}

/* ========== HERO ========== */
.hero {
    position: relative;
    min-height: 520px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: url('../img/hero-bg.jpg') center/cover no-repeat;
    padding: 60px 0 40px;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.75);
}

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

.hero h1 {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 12px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: #fff;
    margin-bottom: 35px;
    font-weight: 400;
}

.text-yellow {
    color: var(--yellow);
}

/* ========== BUSCADOR ========== */
.search-bar {
    display: flex;
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    max-width: 800px;
    margin: 0 auto 40px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.3);
}

.search-field {
    position: relative;
    flex: 1;
    border-right: 1px solid #e0e0e0;
}

.search-field select {
    width: 100%;
    height: 100%;
    padding: 16px 20px;
    border: none;
    font-size: 0.95rem;
    font-family: var(--font);
    color: #555;
    background: transparent;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23999' fill='none' stroke-width='2'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
}

.search-text {
    flex: 2;
    display: flex;
    align-items: center;
    padding-left: 15px;
}

.search-icon {
    font-size: 1.1rem;
    margin-right: 5px;
}

.search-text input {
    width: 100%;
    padding: 16px 10px;
    border: none;
    font-size: 0.95rem;
    font-family: var(--font);
    color: #333;
    outline: none;
}

.search-text input::placeholder {
    color: #999;
}

.btn-buscar {
    background: var(--yellow);
    color: #000;
    border: none;
    padding: 16px 30px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    font-family: var(--font);
    transition: background 0.3s;
    white-space: nowrap;
}

.btn-buscar:hover {
    background: var(--yellow-dark);
}

/* ========== ESTADÍSTICAS ========== */
.stats {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    color: var(--yellow);
}

.stat-label {
    font-size: 0.9rem;
    color: #fff;
    font-weight: 400;
}

/* ========== POR QUÉ ELEGIRNOS ========== */
.por-que {
    padding: 80px 0;
    background: linear-gradient(180deg, #1a1a1a 0%, #121212 50%, #1a1a1a 100%);
    position: relative;
}
.por-que::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,191,0,0.15), transparent);
}

.por-que h2,
.categorias-home h2,
.maquinaria-destacada h2 {
    text-align: center;
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 8px;
}

.section-subtitle {
    text-align: center;
    color: #fff;
    font-size: 1rem;
    margin-bottom: 50px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.feature-card {
    background: #000;
    border-radius: 16px;
    padding: 40px 30px 30px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid rgba(255,255,255,0.08);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    border-color: var(--yellow);
}

.feature-icon {
    width: 180px;
    height: 180px;
    margin: 0 auto 22px;
}

.feature-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.feature-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--yellow);
    padding: 0 25px;
}

.feature-card p {
    font-size: 0.9rem;
    color: #fff;
    line-height: 1.5;
    padding: 0 25px;
}

/* ========== CATEGORÍAS ========== */
.categorias-home {
    padding: 80px 0;
    background: linear-gradient(180deg, #0a0a0a 0%, #111 50%, #0a0a0a 100%);
    position: relative;
}
.categorias-home::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.06), transparent);
}

.categorias-home h2 {
    display: inline-block;
}

.categorias-home .section-subtitle {
    color: var(--gray);
}

.categorias-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.categoria-card {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    height: 230px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    background-color: #111;
    background-size: cover;
    background-position: center;
    border: 1px solid rgba(255,255,255,0.08);
    transition: all 0.35s ease;
    cursor: pointer;
}

.categoria-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--yellow);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
    z-index: 3;
}

.categoria-card:hover {
    border-color: rgba(255,191,0,0.4);
    transform: translateY(-6px);
    box-shadow: 0 8px 30px rgba(255,191,0,0.1), 0 20px 50px rgba(0,0,0,0.6);
}

.categoria-card:hover::after {
    transform: scaleX(1);
}

.categoria-card:hover .categoria-overlay {
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0) 60%);
}

.categoria-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.15) 50%, transparent 100%);
    transition: background 0.35s;
}

.categoria-content {
    position: relative;
    z-index: 2;
    padding: 18px 22px;
    text-align: left;
}

.categoria-icon {
    font-size: 2.2rem;
    margin-bottom: 10px;
    display: block;
}

.categoria-card h3 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 5px;
    color: var(--white);
    text-shadow: 0 1px 8px rgba(0,0,0,0.9);
    letter-spacing: 0.01em;
}

.categoria-count {
    font-size: 0.78rem;
    color: var(--yellow);
    font-weight: 600;
    letter-spacing: 0.02em;
}

/* Tarjetas sin foto */
.categoria-card-sin-foto {
    background: var(--dark-card) !important;
    border: 1px solid rgba(255,255,255,0.12);
    justify-content: center;
    align-items: center;
}

.categoria-card-sin-foto .categoria-overlay {
    background: none;
}

.categoria-card-sin-foto .categoria-content {
    text-align: center;
}

.categoria-card-sin-foto:hover {
    border-color: rgba(255,191,0,0.4);
    background: #222 !important;
}

/* ========== MAQUINARIA DESTACADA ========== */
.maquinaria-destacada {
    padding: 90px 0 80px;
    background: linear-gradient(160deg, #181818 0%, #1e1e20 30%, #1a1a1d 60%, #181818 100%);
    position: relative;
    overflow: hidden;
}
.maquinaria-destacada::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255,191,0,0.06) 0%, rgba(255,191,0,0.02) 40%, transparent 70%);
    pointer-events: none;
    animation: pulseGlow 6s ease-in-out infinite;
}
@keyframes pulseGlow {
    0%, 100% { opacity: 0.6; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.1); }
}
.maquinaria-destacada::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 5%, rgba(255,191,0,0.3) 50%, transparent 95%);
}

.maquinas-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.maquina-card {
    background: linear-gradient(145deg, #1e1e22, #161618);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border: 1px solid rgba(255,255,255,0.06);
    position: relative;
}

.maquina-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.5), 0 0 30px rgba(255,191,0,0.06);
    border-color: rgba(255,191,0,0.4);
}

.maquina-img {
    position: relative;
    height: 210px;
    overflow: hidden;
}

.maquina-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.maquina-card:hover .maquina-img img {
    transform: scale(1.08);
}

.maquina-img::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: linear-gradient(to top, rgba(22,22,24,0.9), transparent);
    pointer-events: none;
}

.btn-favorito {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(0,0,0,0.5);
    border: none;
    color: var(--white);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-favorito:hover {
    background: var(--yellow);
    color: #000;
}

.badge-destacada {
    position: absolute;
    top: 12px;
    left: 12px;
    background: linear-gradient(135deg, var(--yellow), #FFD54F);
    color: #000;
    font-size: 0.7rem;
    font-weight: 800;
    padding: 5px 14px;
    border-radius: 20px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    box-shadow: 0 4px 15px rgba(255,191,0,0.3);
    z-index: 2;
}

.maquina-info {
    padding: 18px;
}

.maquina-info h3 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.maquina-year {
    font-size: 0.85rem;
    color: #fff;
    margin-bottom: 8px;
}

.maquina-precio {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--yellow);
}

.maquina-precio .iva {
    font-size: 0.75rem;
    font-weight: 400;
    color: #fff;
}

.ver-todas {
    text-align: center;
    margin-top: 10px;
}

.btn-ver-todas {
    display: inline-block;
    border: 1.5px solid rgba(255,191,0,0.4);
    color: var(--yellow);
    padding: 14px 40px;
    border-radius: 14px;
    font-weight: 700;
    font-size: 0.95rem;
    transition: all 0.3s;
    background: rgba(255,191,0,0.05);
    letter-spacing: 0.3px;
}

.btn-ver-todas:hover {
    background: var(--yellow);
    color: #000;
    box-shadow: 0 4px 25px rgba(255,191,0,0.25);
    transform: translateY(-2px);
}

/* ========== CTA PUBLICAR ========== */
.cta-publicar {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--yellow), var(--yellow-dark));
    text-align: center;
}

.cta-publicar h2 {
    font-size: 2.2rem;
    font-weight: 800;
    color: #000;
    margin-bottom: 12px;
}

.cta-publicar p {
    color: rgba(0,0,0,0.7);
    font-size: 1.1rem;
    margin-bottom: 30px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.btn-cta {
    display: inline-block;
    background: #000;
    color: var(--yellow);
    padding: 18px 50px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 1.25rem;
    transition: all 0.3s;
}

.btn-cta:hover {
    background: var(--dark);
    transform: scale(1.05);
}

/* ========== FOOTER ========== */
.footer {
    background: #000000;
    padding: 60px 0 0;
    border-top: 2px solid var(--yellow);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    height: 70px;
    margin-bottom: 15px;
}

.footer-col p {
    font-size: 0.9rem;
    color: #fff;
    line-height: 1.6;
}

.footer-col h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 18px;
    color: var(--yellow);
}

.footer-col a {
    display: block;
    font-size: 0.9rem;
    color: var(--gray-light);
    margin-bottom: 10px;
    transition: color 0.3s;
}

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

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 20px 0;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.85rem;
    color: #fff;
}

/* ========== WHATSAPP FLOTANTE ========== */
.whatsapp-float {
    position: fixed;
    bottom: 25px;
    right: 25px;
    background: var(--green-whatsapp);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    transition: transform 0.3s, box-shadow 0.3s;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}

/* ========== PÁGINAS INTERNAS - HERO ========== */
.hero-interno {
    position: relative;
    min-height: 250px;
    display: flex;
    align-items: center;
    background: url('../img/hero-bg.jpg') center/cover no-repeat;
    padding: 40px 0;
}

.hero-interno-small {
    min-height: 180px;
}

.hero-interno .hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
}

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

.breadcrumb {
    font-size: 0.85rem;
    color: var(--gray);
    margin-bottom: 10px;
}

.breadcrumb a {
    color: var(--gray);
    transition: color 0.3s;
}

.breadcrumb a:hover {
    color: var(--yellow);
}

.hero-interno h1 {
    font-size: 2.4rem;
    font-weight: 800;
}

/* ========== CONTENIDO PÁGINAS INTERNAS ========== */
.seccion-contenido {
    padding: 60px 0;
    background: #0a0a0a;
}

.contenido-intro {
    text-align: center;
    max-width: 750px;
    margin: 0 auto 50px;
}

.contenido-intro h2 {
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 15px;
}

.contenido-intro p {
    color: var(--gray-light);
    font-size: 1rem;
    line-height: 1.7;
}

/* ========== CÓMO FUNCIONA ========== */
.pasos-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin-bottom: 60px;
}

.paso-card {
    background: var(--dark-card);
    border-radius: 14px;
    padding: 30px 25px;
    text-align: center;
    border: 1px solid rgba(255,255,255,0.05);
    transition: all 0.3s;
}

.paso-card:hover {
    border-color: var(--yellow);
    transform: translateY(-3px);
}

.paso-numero {
    width: 50px;
    height: 50px;
    background: var(--yellow);
    color: #000;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    font-weight: 800;
    margin: 0 auto 18px;
}

.paso-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--yellow);
}

.paso-card p {
    font-size: 0.9rem;
    color: var(--gray-light);
    line-height: 1.5;
}

.beneficios-section {
    margin-top: 20px;
}

.beneficios-section h2 {
    text-align: center;
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 35px;
}

.beneficios-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.beneficio-item {
    display: flex;
    gap: 15px;
    background: var(--dark-card);
    border-radius: 12px;
    padding: 25px;
    border: 1px solid rgba(255,255,255,0.05);
}

.beneficio-check {
    color: var(--yellow);
    font-size: 1.5rem;
    font-weight: 800;
    flex-shrink: 0;
}

.beneficio-item h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 6px;
}

.beneficio-item p {
    font-size: 0.9rem;
    color: var(--gray-light);
    line-height: 1.5;
}

.cta-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-cta-outline {
    background: transparent;
    border: 2px solid #000;
    color: #000;
}

.btn-cta-outline:hover {
    background: #000;
    color: var(--yellow);
}

/* ========== ENVÍOS ========== */
.envios-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    margin-bottom: 60px;
}

.envio-card {
    background: var(--dark-card);
    border-radius: 14px;
    padding: 35px 30px;
    border: 1px solid rgba(255,255,255,0.05);
    transition: all 0.3s;
}

.envio-card:hover {
    border-color: var(--yellow);
}

.envio-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.envio-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--yellow);
}

.envio-card p {
    font-size: 0.95rem;
    color: var(--gray-light);
    line-height: 1.6;
    margin-bottom: 15px;
}

.envio-lista {
    list-style: none;
    padding: 0;
}

.envio-lista li {
    padding: 6px 0;
    font-size: 0.9rem;
    color: var(--gray-light);
    padding-left: 20px;
    position: relative;
}

.envio-lista li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--yellow);
    font-weight: 700;
}

.proceso-envio h2 {
    text-align: center;
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 35px;
}

.proceso-pasos {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.proceso-paso {
    text-align: center;
    padding: 25px 15px;
    background: var(--dark-card);
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.05);
}

.proceso-num {
    width: 40px;
    height: 40px;
    background: var(--yellow);
    color: #000;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    margin: 0 auto 12px;
}

.proceso-paso h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--yellow);
}

.proceso-paso p {
    font-size: 0.85rem;
    color: var(--gray-light);
    line-height: 1.5;
}

/* ========== CONTACTO ========== */
.contacto-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 40px;
    align-items: start;
}

.contacto-item {
    display: flex;
    gap: 15px;
    padding: 20px;
    background: var(--dark-card);
    border-radius: 12px;
    margin-bottom: 15px;
    border: 1px solid rgba(255,255,255,0.05);
}

.contacto-icono {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.contacto-item h4 {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 4px;
    color: var(--yellow);
}

.contacto-item p {
    font-size: 0.9rem;
    color: var(--gray-light);
}

.contacto-form-wrapper {
    background: #ffffff;
    border-radius: 14px;
    padding: 35px;
    border: 1px solid #ddd;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.contacto-form-wrapper h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 25px;
    color: #000;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 6px;
    color: #333;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    background: #f5f5f5;
    border: 1px solid #ddd;
    border-radius: 8px;
    color: #000;
    font-size: 0.95rem;
    font-family: var(--font);
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--yellow);
    background: #fff;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #999;
}

.form-group select {
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23333' fill='none' stroke-width='2'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-alerta {
    padding: 14px 20px;
    border-radius: 10px;
    margin-bottom: 20px;
    font-size: 0.95rem;
    line-height: 1.5;
    border-left: 4px solid;
}

.form-alerta-exito {
    background: rgba(0, 200, 100, 0.12);
    border-color: #00c864;
    color: #00c864;
}

.form-alerta-error {
    background: rgba(255, 60, 60, 0.12);
    border-color: #ff3c3c;
    color: #ff7070;
}

.contacto-item a {
    color: var(--gray-light);
    transition: color 0.3s;
}

.contacto-item a:hover {
    color: var(--yellow);
}

.btn-enviar {
    background: var(--yellow);
    color: #000;
    border: none;
    padding: 14px 35px;
    border-radius: 30px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    font-family: var(--font);
    transition: all 0.3s;
    width: 100%;
}

.btn-enviar:hover {
    background: var(--yellow-dark);
    transform: translateY(-2px);
}

/* ========== TÉRMINOS Y CONDICIONES ========== */
.terminos-contenido {
    max-width: 800px;
    margin: 0 auto;
    background: var(--dark-card);
    border-radius: 14px;
    padding: 40px;
    border: 1px solid rgba(255,255,255,0.05);
}

.terminos-fecha {
    font-size: 0.85rem;
    color: var(--gray);
    margin-bottom: 30px;
}

.terminos-contenido h2 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--yellow);
    margin-top: 30px;
    margin-bottom: 12px;
}

.terminos-contenido h2:first-of-type {
    margin-top: 0;
}

.terminos-contenido p {
    font-size: 0.95rem;
    color: var(--gray-light);
    line-height: 1.7;
    margin-bottom: 10px;
}

.terminos-contenido ul {
    list-style: none;
    padding: 0;
    margin-bottom: 10px;
}

.terminos-contenido ul li {
    padding: 5px 0 5px 20px;
    font-size: 0.95rem;
    color: var(--gray-light);
    position: relative;
}

.terminos-contenido ul li::before {
    content: '•';
    position: absolute;
    left: 5px;
    color: var(--yellow);
}

/* ========== PUBLICAR FORMULARIO ========== */
.publicar-card {
    background: #ffffff;
    border-radius: 14px;
    padding: 30px;
    margin-bottom: 20px;
    border: 1px solid #ddd;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.publicar-card-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: #000;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--yellow);
}

.form-row-pub {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

/* Inputs dentro del formulario publicar */
.publicar-card .form-group label {
    color: #333;
    font-size: 0.88rem;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.publicar-card .form-group input,
.publicar-card .form-group select,
.publicar-card .form-group textarea {
    background: #f5f5f5;
    border: 1.5px solid #ddd;
    color: #000;
    border-radius: 8px;
    padding: 12px 15px;
    font-size: 0.95rem;
    transition: border-color 0.25s, background 0.25s;
}

.publicar-card .form-group input:focus,
.publicar-card .form-group select:focus,
.publicar-card .form-group textarea:focus {
    outline: none;
    border-color: var(--yellow);
    background: #fff;
}

.publicar-card .form-group input::placeholder,
.publicar-card .form-group textarea::placeholder {
    color: #999;
}

.publicar-card .form-group select option {
    background: #fff;
    color: #000;
}

.publicar-file-label {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #f5f5f5;
    border: 2px dashed rgba(0,0,0,0.25);
    border-radius: 10px;
    padding: 18px 20px;
    cursor: pointer;
    transition: border-color 0.25s;
    font-size: 0.92rem;
    color: #555;
}

.publicar-file-label:hover {
    border-color: var(--yellow);
    color: var(--yellow);
}

.publicar-file-label input[type="file"] {
    display: none;
}

.publicar-file-icon {
    font-size: 1.5rem;
}

.publicar-honeypot {
    display: none !important;
    visibility: hidden;
    position: absolute;
    left: -9999px;
}

.btn-publicar-submit {
    display: block;
    width: 100%;
    background: var(--yellow);
    color: #000;
    border: none;
    padding: 16px;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 800;
    cursor: pointer;
    font-family: var(--font);
    transition: all 0.3s;
    margin-top: 10px;
}

.btn-publicar-submit:hover {
    background: var(--yellow-dark);
    transform: translateY(-2px);
}

/* ========== CATÁLOGO / MAQUINARIA ========== */
.catalogo-section {
    padding: 40px 0 60px;
    background: var(--darker);
    min-height: 70vh;
}

.catalogo-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 20px;
}

.catalogo-header h1 {
    font-size: 1.8rem;
    font-weight: 800;
}

.catalogo-total {
    color: #fff;
    font-size: 0.9rem;
}

.catalogo-toolbar {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
    align-items: center;
    flex-wrap: wrap;
}

.catalogo-search {
    flex: 1;
    min-width: 250px;
    display: flex;
    background: var(--dark-card);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 10px;
    overflow: hidden;
}

.catalogo-search input {
    flex: 1;
    padding: 12px 16px;
    background: transparent;
    border: none;
    color: var(--white);
    font-size: 0.95rem;
    font-family: var(--font);
    outline: none;
}

.catalogo-search input::placeholder { color: var(--gray); }

.catalogo-search button {
    background: var(--yellow);
    color: #000;
    border: none;
    padding: 12px 22px;
    font-weight: 700;
    font-family: var(--font);
    cursor: pointer;
    transition: background 0.2s;
}

.catalogo-search button:hover { background: var(--yellow-dark); }

.catalogo-filtros-btn {
    background: var(--dark-card);
    border: 1px solid rgba(255,255,255,0.1);
    color: var(--white);
    padding: 12px 18px;
    border-radius: 10px;
    font-family: var(--font);
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: border-color 0.2s;
}

.catalogo-filtros-btn:hover { border-color: var(--yellow); }

.catalogo-orden {
    background: var(--dark-card);
    border: 1px solid rgba(255,255,255,0.1);
    color: var(--white);
    padding: 12px 16px;
    border-radius: 10px;
    font-family: var(--font);
    font-size: 0.9rem;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
}

.catalogo-filtros-panel {
    display: none;
    background: var(--dark-card);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
}

.catalogo-filtros-panel.open { display: block; }

.filtros-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

.catalogo-grid {
    grid-template-columns: repeat(3, 1fr) !important;
}

.catalogo-grid .maquina-card {
    display: block;
    text-decoration: none;
    color: var(--white);
}

.paginacion-pub {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-top: 30px;
    margin-bottom: 10px;
}

.paginacion-pub a {
    padding: 10px 16px;
    background: var(--dark-card);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 8px;
    color: var(--white);
    font-size: 0.85rem;
    font-weight: 600;
    transition: all 0.2s;
}

.paginacion-pub a:hover { border-color: var(--yellow); }
.paginacion-pub a.active { background: var(--yellow); color: #000; border-color: var(--yellow); }

/* ========== DETALLE MAQUINARIA PÚBLICA ========== */
.detalle-page {
    padding: 30px 0 60px;
    background: var(--darker);
}

.detalle-volver {
    display: inline-block;
    color: var(--gray);
    font-size: 0.9rem;
    margin-bottom: 20px;
    transition: color 0.2s;
}

.detalle-volver:hover { color: var(--yellow); }

.detalle-layout {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 30px;
    margin-bottom: 40px;
    align-items: start;
}

.detalle-galeria {
    min-width: 0;
    overflow: hidden;
}

.detalle-info {
    position: sticky;
    top: 20px;
}

.galeria-principal {
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    background: var(--dark-card);
}

.galeria-principal img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    display: block;
}

.galeria-counter {
    position: absolute;
    bottom: 12px;
    right: 14px;
    background: rgba(0,0,0,0.6);
    color: #fff;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.galeria-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.5);
    color: #fff;
    border: none;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    font-size: 1.3rem;
    cursor: pointer;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s;
}
.galeria-arrow:hover {
    background: rgba(0,0,0,0.8);
}
.galeria-prev { left: 12px; }
.galeria-next { right: 12px; }

@media (max-width: 768px) {
    .galeria-arrow {
        width: 36px;
        height: 36px;
        font-size: 1.1rem;
    }
    .galeria-prev { left: 8px; }
    .galeria-next { right: 8px; }
}

.galeria-thumbs {
    display: grid;
    grid-template-columns: repeat(auto-fill, 70px);
    gap: 8px;
    margin-top: 10px;
    max-height: 62px;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.galeria-thumbs.expanded {
    max-height: 2000px;
}

.btn-ver-mas-fotos {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 10px;
    background: var(--dark-card);
    border: 1px solid rgba(255,255,255,0.15);
    color: var(--yellow);
    padding: 8px 18px;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    font-family: var(--font);
}

.btn-ver-mas-fotos:hover {
    background: var(--yellow);
    color: #000;
    border-color: var(--yellow);
}

/* ========== CARRUSEL DESTACADAS ========== */
.destacada-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 35px;
}

.destacada-header h2 {
    text-align: left !important;
}

.destacada-header .section-subtitle {
    text-align: left;
}

.carousel-controls {
    display: flex;
    gap: 10px;
}

.carousel-btn {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    border: 1.5px solid rgba(255,191,0,0.3);
    background: rgba(255,191,0,0.05);
    color: var(--yellow);
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
}

.carousel-btn:hover {
    background: var(--yellow);
    color: #000;
    border-color: var(--yellow);
    box-shadow: 0 4px 20px rgba(255,191,0,0.25);
    transform: scale(1.05);
}

.carousel-wrapper {
    overflow: hidden;
    margin-bottom: 20px;
    position: relative;
}
.carousel-wrapper::before,
.carousel-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 80px;
    z-index: 1;
    pointer-events: none;
}
.carousel-wrapper::before {
    left: 0;
    background: linear-gradient(90deg, #0a0a0a 0%, transparent 100%);
}
.carousel-wrapper::after {
    right: 0;
    background: linear-gradient(-90deg, #0a0a0a 0%, transparent 100%);
}

.carousel-track {
    display: flex;
    gap: 22px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 15px 5px 20px;
    touch-action: pan-x;
    cursor: grab;
}

.carousel-track:active {
    cursor: grabbing;
}

.carousel-track::-webkit-scrollbar {
    display: none;
}

.carousel-card {
    min-width: 295px;
    max-width: 315px;
    flex-shrink: 0;
    scroll-snap-align: start;
    border: 1px solid rgba(255,255,255,0.06);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    background: linear-gradient(160deg, #1a1a1e 0%, #141416 100%);
}
.carousel-card:hover {
    border-color: rgba(255,191,0,0.4);
    box-shadow: 0 15px 40px rgba(0,0,0,0.4), 0 0 25px rgba(255,191,0,0.07);
    transform: translateY(-6px);
}

/* Indicador de progreso del carrusel */
.carousel-progress {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-top: 5px;
    margin-bottom: 15px;
}

.carousel-progress .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255,255,255,0.15);
    transition: all 0.3s;
    cursor: pointer;
}

.carousel-progress .dot.active {
    background: var(--yellow);
    width: 24px;
    border-radius: 4px;
    box-shadow: 0 0 10px rgba(255,191,0,0.3);
}

/* Hint de deslizar en móvil */
.carousel-swipe-hint {
    display: none;
    text-align: center;
    color: var(--gray);
    font-size: 0.8rem;
    margin-top: -5px;
    margin-bottom: 20px;
    opacity: 0.6;
}

@media (max-width: 768px) {
    .carousel-swipe-hint {
        display: block;
    }
    .carousel-wrapper {
        overflow-x: visible;
    }
    .carousel-track {
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
    }
    .carousel-card {
        min-width: 270px;
        max-width: 290px;
    }
    .carousel-progress {
        display: none;
    }
}

.galeria-thumbs .thumb {
    width: 70px;
    height: 55px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    opacity: 0.5;
    transition: opacity 0.2s;
    flex-shrink: 0;
    border: 2px solid transparent;
}

.galeria-thumbs .thumb:hover,
.galeria-thumbs .thumb.active {
    opacity: 1;
    border-color: var(--yellow);
}

.detalle-titulo {
    font-size: 1.5rem;
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 15px;
}

.detalle-precio-box {
    background: var(--dark-card);
    border-radius: 10px;
    padding: 18px;
    margin-bottom: 20px;
    border: 1px solid rgba(255,255,255,0.08);
}

.detalle-precio {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--yellow);
}

.detalle-iva {
    font-size: 0.85rem;
    color: var(--gray);
    margin-left: 8px;
}

.detalle-specs-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
}

.detalle-spec {
    display: flex;
    flex-direction: column;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.spec-label {
    font-size: 0.75rem;
    color: var(--gray);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

.spec-value {
    font-size: 0.95rem;
    font-weight: 600;
    margin-top: 2px;
}

.detalle-acciones {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 25px;
}

.btn-cotizar-wa {
    display: block;
    text-align: center;
    background: #25D366;
    color: #fff;
    padding: 14px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 1rem;
    transition: background 0.2s;
}

.btn-cotizar-wa:hover { background: #1fb855; }

.btn-cotizar-email {
    display: block;
    text-align: center;
    border: 2px solid var(--yellow);
    color: var(--yellow);
    padding: 12px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 0.95rem;
    transition: all 0.2s;
}

.btn-cotizar-email:hover { background: var(--yellow); color: #000; }

.detalle-seccion {
    background: var(--dark-card);
    border-radius: 14px;
    padding: 30px;
    margin-bottom: 25px;
    border: 1px solid rgba(255,255,255,0.05);
}

.detalle-seccion h2 {
    font-size: 1.2rem;
    font-weight: 800;
    margin-bottom: 15px;
    color: var(--yellow);
}

.detalle-descripcion {
    color: var(--gray-light);
    line-height: 1.8;
    font-size: 0.95rem;
}

.specs-table {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
}

.specs-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.specs-key { color: var(--gray); font-size: 0.9rem; }
.specs-val { font-weight: 600; font-size: 0.9rem; }

/* ========== CATEGORÍAS PÁGINA ========== */
.categorias-todas {
    padding: 50px 0 60px;
    background: var(--dark);
}

.categorias-lista {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.categoria-lista-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--dark-card);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 10px;
    padding: 16px 22px;
    transition: all 0.2s;
}

.categoria-lista-item:hover {
    border-color: var(--yellow);
    transform: translateX(4px);
}

.cat-lista-left {
    display: flex;
    align-items: center;
    gap: 14px;
}

.cat-lista-icon { font-size: 1.3rem; }
.cat-lista-nombre { font-weight: 700; font-size: 1rem; }

.cat-lista-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

.cat-lista-count { color: var(--gray); font-size: 0.85rem; }
.cat-lista-arrow { color: var(--yellow); font-weight: 700; font-size: 1.1rem; }

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .maquinas-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .pasos-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .proceso-pasos {
        grid-template-columns: repeat(2, 1fr);
    }
    .contacto-grid {
        grid-template-columns: 1fr;
    }
    .catalogo-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
    .detalle-layout {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .top-bar-inner {
        font-size: 0.8rem;
        gap: 10px;
        flex-wrap: wrap;
        justify-content: center;
        padding: 0 10px;
    }

    .dolar-info {
        margin-left: 0;
        font-weight: 600;
    }

    .nav-links,
    .nav-actions {
        display: none;
    }

    .menu-toggle {
        display: flex;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .search-bar {
        flex-direction: column;
        border-radius: 12px;
    }

    .search-field {
        border-right: none;
        border-bottom: 1px solid #e0e0e0;
    }

    .stats {
        gap: 25px;
    }

    .stat-number {
        font-size: 1.5rem;
    }

    .categorias-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .maquinas-grid {
        grid-template-columns: 1fr;
    }

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

    .cta-publicar h2 {
        font-size: 1.6rem;
    }
    .pasos-grid {
        grid-template-columns: 1fr;
    }
    .envios-grid {
        grid-template-columns: 1fr;
    }
    .proceso-pasos {
        grid-template-columns: 1fr 1fr;
    }
    .beneficios-grid {
        grid-template-columns: 1fr;
    }
    .form-row {
        grid-template-columns: 1fr;
    }
    .hero-interno h1 {
        font-size: 1.8rem;
    }
    .terminos-contenido {
        padding: 25px 20px;
    }

    /* Publicar */
    .form-row-pub {
        grid-template-columns: 1fr;
    }

    /* Catálogo */
    .catalogo-grid {
        grid-template-columns: 1fr !important;
    }
    .catalogo-toolbar {
        flex-direction: column;
        gap: 10px;
    }
    .catalogo-search {
        width: 100%;
    }
    .catalogo-search input {
        flex: 1;
    }
    .catalogo-orden {
        width: 100%;
    }
    .filtros-row {
        grid-template-columns: 1fr 1fr;
    }

    /* Detalle */
    .detalle-layout {
        grid-template-columns: 1fr;
    }
    .galeria-principal img {
        max-height: 350px;
    }
    .detalle-specs-grid {
        grid-template-columns: 1fr;
    }
    .detalle-acciones {
        flex-direction: column;
    }
    .detalle-acciones a {
        width: 100%;
        text-align: center;
    }
    .specs-table {
        grid-template-columns: 1fr;
    }

    /* Categorías lista */
    .categoria-lista-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    .cat-lista-right {
        width: 100%;
        justify-content: space-between;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.6rem;
    }

    .stats {
        flex-direction: column;
        gap: 20px;
    }

    .categorias-grid {
        grid-template-columns: 1fr;
    }

    .top-bar-inner {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 8px 12px;
        padding: 4px 10px;
    }

    .top-bar a {
        font-size: 0.78rem;
    }

    /* Publicar */
    .publicar-card {
        padding: 20px 15px;
    }
    .publicar-card-title {
        font-size: 1rem;
    }

    /* Catálogo */
    .catalogo-header h1 {
        font-size: 1.4rem;
    }
    .filtros-row {
        grid-template-columns: 1fr;
    }

    /* Detalle */
    .galeria-principal img {
        max-height: 260px;
    }
    .detalle-titulo {
        font-size: 1.3rem;
    }
    .detalle-precio {
        font-size: 1.4rem;
    }
    .galeria-thumbs img {
        width: 55px;
        height: 42px;
    }

    /* Categorías */
    .categorias-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    .categoria-card {
        height: 180px;
    }
}

/* ========== BOTÓN FLOTANTE PUBLICAR ========== */
.publicar-float {
    position: fixed;
    bottom: 25px;
    left: 25px;
    background: var(--yellow);
    color: #000;
    border-radius: 50px;
    padding: 14px 22px;
    display: flex;
    align-items: center;
    gap: 8px;
    z-index: 999;
    font-weight: 700;
    font-size: 0.95rem;
    box-shadow: 0 4px 15px rgba(255,191,0,0.4);
    transition: transform 0.3s, box-shadow 0.3s;
    text-decoration: none;
    white-space: nowrap;
}

.publicar-float:hover {
    transform: scale(1.07);
    box-shadow: 0 6px 22px rgba(255,191,0,0.6);
    color: #000;
}

.publicar-float svg {
    flex-shrink: 0;
}

@media (max-width: 480px) {
    .publicar-float {
        padding: 14px;
        border-radius: 50%;
        gap: 0;
    }
    .publicar-float span {
        display: none;
    }
}

/* ========== BOTÓN VER TODAS CATEGORÍAS (HOME) ========== */
.categorias-ver-todas {
    text-align: center;
    margin-top: 30px;
}

.btn-ver-categorias {
    display: inline-block;
    background: var(--yellow);
    color: #000;
    padding: 14px 42px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.3s;
    border: 2px solid var(--yellow);
}

.btn-ver-categorias:hover {
    background: var(--yellow-dark);
    border-color: var(--yellow-dark);
    transform: scale(1.04);
}

/* ========== FILTROS INLINE (MAQUINARIA) ========== */
.filtros-inline {
    background: var(--dark-card);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 14px;
    padding: 16px 18px;
    margin-bottom: 24px;
}

/* Fila superior: siempre visible */
.filtros-top-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Campos expandibles: en escritorio inline, en móvil colapsables */
.filtros-expandibles {
    display: flex;
    align-items: flex-end;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 12px;
}

.filtros-inline-campo {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 120px;
}

.filtros-inline-buscar {
    flex: 1;
}

.filtros-inline-anio {
    max-width: 110px;
    min-width: 90px;
    flex: 0 0 auto;
}

.filtros-inline label {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--gray-light);
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.filtros-inline input,
.filtros-inline select {
    padding: 10px 12px;
    background: var(--darker);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 8px;
    color: var(--white);
    font-size: 0.9rem;
    font-family: var(--font);
    transition: border-color 0.2s;
    width: 100%;
}

.filtros-inline input:focus,
.filtros-inline select:focus {
    outline: none;
    border-color: var(--yellow);
}

.filtros-inline input::placeholder { color: var(--gray); }

.filtros-inline select {
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23999' fill='none' stroke-width='2'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
    padding-right: 28px;
}

.filtros-inline-acciones {
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
}

.filtros-label-desktop {
    display: block;
}

/* Botón toggle filtros (solo móvil) */
.btn-filtros-toggle {
    display: none;
    align-items: center;
    gap: 6px;
    background: var(--darker);
    border: 1px solid rgba(255,255,255,0.15);
    color: var(--white);
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 0.88rem;
    font-weight: 600;
    font-family: var(--font);
    cursor: pointer;
    white-space: nowrap;
    flex-shrink: 0;
    transition: border-color 0.2s;
}

.btn-filtros-toggle:hover { border-color: var(--yellow); }
.btn-filtros-toggle.active { border-color: var(--yellow); color: var(--yellow); }

.filtros-toggle-arrow {
    font-size: 0.75rem;
    transition: transform 0.25s;
}

.btn-filtros-toggle.active .filtros-toggle-arrow {
    transform: rotate(180deg);
}

/* Botón buscar inline en top row (solo móvil) */
.btn-filtros-buscar-movil {
    display: none;
    flex-shrink: 0;
}

/* Botón buscar en expandibles (solo escritorio) */
.btn-filtros-aplicar-desktop {
    display: inline-block;
}

.btn-filtros-aplicar {
    background: var(--yellow);
    color: #000;
    border: none;
    padding: 10px 22px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.9rem;
    cursor: pointer;
    font-family: var(--font);
    transition: background 0.2s;
    white-space: nowrap;
}

.btn-filtros-aplicar:hover { background: var(--yellow-dark); }

.btn-filtros-limpiar {
    color: var(--gray);
    font-size: 0.85rem;
    padding: 10px 8px;
    white-space: nowrap;
    transition: color 0.2s;
}

.btn-filtros-limpiar:hover { color: var(--white); }

/* ── MÓVIL ── */
@media (max-width: 768px) {
    .btn-filtros-toggle {
        display: flex;
    }

    .btn-filtros-buscar-movil {
        display: block;
    }

    .btn-filtros-aplicar-desktop {
        display: none;
    }

    .filtros-label-desktop {
        display: none;
    }

    /* Panel expandible oculto por defecto en móvil */
    .filtros-expandibles {
        display: none;
        flex-direction: column;
        gap: 10px;
        margin-top: 14px;
        padding-top: 14px;
        border-top: 1px solid rgba(255,255,255,0.08);
    }

    .filtros-expandibles.open {
        display: flex;
    }

    .filtros-inline-campo,
    .filtros-inline-buscar,
    .filtros-inline-anio {
        flex: 1 1 100%;
        max-width: 100%;
        min-width: 0;
    }

    .filtros-inline-acciones {
        width: 100%;
    }

    .filtros-inline-acciones > div {
        display: flex;
        width: 100%;
        gap: 10px;
    }

    .btn-filtros-limpiar {
        flex: 1;
        text-align: center;
        border: 1px solid rgba(255,255,255,0.15);
        border-radius: 8px;
        padding: 10px;
    }
}

/* ========== VENDE TU MÁQUINA ========== */

/* Link vende en nav (mismo estilo que los demás) */

/* Hero */
.vende-hero {
    position: relative;
    padding: 120px 0 100px;
    background: linear-gradient(135deg, #0d0d0d 0%, #1a1400 50%, #0d0d0d 100%);
    overflow: hidden;
}

.vende-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255,191,0,0.08) 0%, transparent 70%);
    border-radius: 50%;
}

.vende-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.vende-badge {
    display: inline-block;
    background: rgba(255,191,0,0.12);
    color: var(--yellow);
    padding: 8px 24px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: 28px;
    border: 1px solid rgba(255,191,0,0.2);
}

.vende-hero h1 {
    font-size: 3rem;
    font-weight: 900;
    line-height: 1.15;
    color: var(--white);
    margin-bottom: 20px;
}

.vende-hero-accent {
    color: var(--yellow);
}

.vende-hero-sub {
    font-size: 1.15rem;
    color: var(--gray);
    max-width: 520px;
    margin: 0 auto 40px;
    line-height: 1.7;
}

.vende-hero-btns {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.vende-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--yellow);
    color: #000;
    padding: 16px 40px;
    border-radius: 12px;
    font-weight: 800;
    font-size: 1.05rem;
    transition: all 0.3s;
    border: 2px solid var(--yellow);
}

.vende-btn-primary:hover {
    background: var(--yellow-dark);
    border-color: var(--yellow-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255,191,0,0.3);
}

.vende-btn-whatsapp {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--green-whatsapp);
    color: #fff;
    padding: 16px 36px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1.05rem;
    transition: all 0.3s;
    border: 2px solid var(--green-whatsapp);
}

.vende-btn-whatsapp:hover {
    background: #1ebe5a;
    border-color: #1ebe5a;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(37,211,102,0.3);
}

/* Proceso */
.vende-proceso {
    padding: 90px 0;
    background: var(--dark);
}

.vende-proceso-titulo {
    font-size: 2rem;
    font-weight: 800;
    text-align: center;
    color: var(--white);
    margin-bottom: 10px;
}

.text-yellow {
    color: var(--yellow);
}

.vende-proceso-sub {
    text-align: center;
    color: var(--gray);
    font-size: 1.05rem;
    margin-bottom: 60px;
}

.vende-pasos-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.vende-paso {
    position: relative;
    background: var(--dark-card);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 18px;
    padding: 40px 30px 36px;
    text-align: center;
    transition: all 0.35s;
}

.vende-paso:hover {
    border-color: rgba(255,191,0,0.25);
    transform: translateY(-4px);
    box-shadow: 0 12px 35px rgba(0,0,0,0.4);
}

.vende-paso-numero {
    position: absolute;
    top: -16px;
    left: 50%;
    transform: translateX(-50%);
    width: 34px;
    height: 34px;
    background: var(--yellow);
    color: #000;
    font-weight: 800;
    font-size: 0.85rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.vende-paso-icono {
    font-size: 2.5rem;
    margin-bottom: 16px;
    display: block;
}

.vende-paso h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 10px;
}

.vende-paso p {
    color: var(--gray);
    font-size: 0.92rem;
    line-height: 1.7;
}

/* Ventajas */
.vende-ventajas {
    padding: 70px 0;
    background: #0a0a0a;
}

.vende-ventajas-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.vende-ventaja {
    text-align: center;
    padding: 30px 20px;
}

.vende-ventaja-icono {
    font-size: 2.2rem;
    display: block;
    margin-bottom: 14px;
}

.vende-ventaja h4 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 8px;
}

.vende-ventaja p {
    font-size: 0.9rem;
    color: var(--gray);
    line-height: 1.6;
}

/* CTA Final */
.vende-cta-final {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--yellow), var(--yellow-dark));
    text-align: center;
}

.vende-cta-final h2 {
    font-size: 2rem;
    font-weight: 800;
    color: #000;
    margin-bottom: 12px;
}

.vende-cta-final p {
    color: rgba(0,0,0,0.65);
    font-size: 1.05rem;
    margin-bottom: 35px;
}

.vende-cta-final .vende-btn-primary {
    background: #000;
    color: var(--yellow);
    border-color: #000;
}

.vende-cta-final .vende-btn-primary:hover {
    background: #111;
    border-color: #111;
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
}

.vende-cta-final .vende-btn-whatsapp {
    border-color: #000;
}

/* Responsive Vende */
@media (max-width: 768px) {
    .vende-hero {
        padding: 80px 0 60px;
    }
    .vende-hero h1 {
        font-size: 1.8rem;
    }
    .vende-hero-sub {
        font-size: 1rem;
    }
    .vende-btn-primary,
    .vende-btn-whatsapp {
        width: 100%;
        justify-content: center;
        padding: 15px 30px;
    }
    .vende-pasos-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }
    .vende-ventajas-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
    .vende-proceso-titulo {
        font-size: 1.5rem;
    }
    .vende-cta-final h2 {
        font-size: 1.5rem;
    }
}

/* ── TEXTO SEO CATEGORÍA ─────────────────────────────────────────────────── */
.seo-categoria-texto {
    max-width: 860px;
    margin: 60px auto 20px;
    padding: 32px 36px;
    background: var(--dark-card);
    border-radius: 14px;
    border-left: 4px solid var(--yellow);
}

.seo-categoria-texto h2 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 12px;
}

.seo-categoria-texto p {
    color: var(--gray);
    font-size: 0.95rem;
    line-height: 1.8;
}

@media (max-width: 768px) {
    .seo-categoria-texto {
        padding: 24px 20px;
        margin: 40px 0 16px;
        border-radius: 10px;
    }
    .seo-categoria-texto h2 {
        font-size: 1.05rem;
    }
}
