/* Susequid - Tema claro moderno para equipos diésel */
:root {
    --bg: #f5f6fa;
    --surface: #ffffff;
    --surface-hover: #f1f3f8;
    --border: #e1e4ec;
    --accent: #e53935;
    --accent-hover: #c62828;
    --text: #1f2933;
    --text-muted: #6b7280;
    --radius: 12px;
}

body.theme-dark {
    /* Variables base para tema oscuro azul con toques cálidos */
    --bg: #02051a;
    --surface: #020617;
    --surface-hover: #0b1120;
    --border: #1f2937;
    --accent: #e53935;
    --accent-hover: #fb7185;
    --text: #f9fafb;
    --text-muted: #e5e7eb;
}

body.theme-dark {
    /* Fondo global tipo espacio (azul + rojo) en todo el sitio */
    background:
        radial-gradient(circle at 10% 0%, rgba(59, 130, 246, 0.20), transparent 55%),
        radial-gradient(circle at 100% 0%, rgba(248, 113, 113, 0.22), transparent 55%),
        linear-gradient(135deg, #020617 0%, #020617 35%, #02051a 100%);
}

/* Secciones que deben dejar ver el fondo espacial en modo oscuro */
.theme-dark .hero,
.theme-dark .banner-carousel,
.theme-dark .seccion,
.theme-dark .pagina-contacto,
.theme-dark .productos-hero,
.theme-dark .pagina-nosotros,
.theme-dark .seccion-nosotros-hero,
.theme-dark .seccion-nosotros-bloques,
.theme-dark .seccion-nosotros-equipo,
.theme-dark .seccion-servicios,
.theme-dark .seccion-alquiler,
.theme-dark .seccion-alquiler-form {
    background: transparent;
}

/* Ajustes específicos de Nosotros en modo oscuro */
.theme-dark .seccion-nosotros-hero {
    background: transparent;
}

.theme-dark .nosotros-hero-text h1 {
    color: #f9fafb;
}

.theme-dark .nosotros-hero-parrafo {
    color: #e5e7eb;
}

.theme-dark .nosotros-card {
    background: rgba(2, 6, 23, 0.95);
    border-color: #1f2937;
}

.theme-dark .nosotros-card h2 {
    color: #f9fafb;
}

.theme-dark .nosotros-card p {
    color: #e5e7eb;
}

/* (ya no usamos fondo distinto en modo oscuro para las imágenes de misión/visión/valores) */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Roboto, system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg);
    color: var(--text);
    min-height: 100vh;
    line-height: 1.5;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Header */
.header {
    background: var(--surface);
    box-shadow: 0 2px 12px rgba(15, 23, 42, 0.08);
    position: sticky;
    top: 0;
    z-index: 20;
}

.header-top {
    background: #ffffff; /* Changed from dark to white */
    color: #111827;
    font-size: 0.85rem;
}

.header-top-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    /* centra el título */
    gap: 1rem;
    padding: 0.35rem 0;
}

.tagline {
    flex: 1;
    text-align: center;
    opacity: 0.95;
    font-size: 1.08rem;
    font-weight: 700;
    margin-top: 0.1rem;
    padding: 0 1rem; /* Added padding */
}

@media (max-width: 600px) {
    .tagline {
        font-size: 0.85rem; /* Smaller font for mobile header */
        line-height: 1.2;
    }
}

.header-separator {
    opacity: 0.4;
}

.header-main {
    padding: 0.6rem 0 0.8rem;
    background: #ffffff;
    /* zona del logo en blanco */
}

.header-main-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2.5rem;
}

.logo {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

.logo-img {
    height: 64px;
    width: auto;
    display: block;
}

.nav-shell {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #111827;
    border-radius: 999px;
    padding: 0.25rem 0.5rem;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
    width: 40px;
    height: 40px;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.8);
    background: #ffffff;
    cursor: pointer;
}

.nav-toggle span {
    display: block;
    height: 2px;
    width: 18px;
    background: #111827;
    border-radius: 999px;
    margin: 0 auto;
}

.nav-main {
    display: flex;
    align-items: center;
    gap: 1.4rem;
    font-size: 0.85rem;
}

.nav-link {
    color: #f9fafb;
    text-decoration: none;
    padding: 0.6rem 0.9rem;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.06em;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    left: 12px;
    bottom: 0.25rem;
    width: 0;
    height: 3px;
    background: #c62828;
    border-radius: 999px;
    transition: width 0.2s ease;
}

.nav-link:hover {
    color: #ffffff;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link-active {
    background: #b3261e;
    border-radius: 999px;
    padding: 0.6rem 1.1rem;
}

.nav-link-active::after {
    width: 0;
}

.nav-item {
    position: relative;
    display: flex;
    align-items: center;
    padding-bottom: 0;
    /* alinear con el resto de items */
}

.nav-item>a {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

.nav-item.has-sub:hover>a {
    border-color: var(--accent);
    color: var(--accent);
}

.nav-sub {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 270px; /* Más ancho para evitar saltos de línea */
    width: max-content;
    background: rgba(15, 23, 42, 0.95); /* Submenú oscuro semi-transparente */
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 16px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    /* Removed margin-top to prevent "hole" in hover */
    padding: 0.6rem;
    display: none;
    z-index: 100;
    animation: navFadeIn 0.2s ease;
}

.nav-sub::before {
    content: '';
    position: absolute;
    top: -1rem;
    left: 0;
    right: 0;
    height: 1rem;
    background: transparent;
}

@keyframes navFadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.nav-item.has-sub:hover .nav-sub {
    display: block;
}

.nav-sub-group {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.nav-sub a {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.8rem 1.2rem;
    font-size: 0.92rem;
    color: rgba(255, 255, 255, 0.85);
    border-radius: 10px;
    text-decoration: none;
    background: transparent;
    border: none;
    box-shadow: none;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.nav-sub a::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent);
    opacity: 0.5;
    transition: all 0.2s ease;
}

.nav-sub a:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    padding-left: 1.5rem; /* Efecto de desplazamiento suave */
}

.nav-sub a:hover::before {
    opacity: 1;
    transform: scale(1.3);
    box-shadow: 0 0 10px var(--accent);
}

.nav-search {
    display: flex;
    align-items: center;
    background: #ffffff;
    border-radius: 999px;
    padding: 0.15rem 0.25rem;
    border: 1px solid rgba(148, 163, 184, 0.6);
    overflow: visible; /* Allow suggestions to overflow */
    position: relative;
}

.nav-search input {
    background: transparent;
    border: none;
    color: #111827;
    padding: 0.4rem 0.8rem;
    font-size: 0.85rem;
    width: 180px;
}

.nav-search input::placeholder {
    color: rgba(55, 65, 81, 0.6);
}

.nav-search input:focus {
    outline: none;
}

.nav-search button {
    border: none;
    background: #e53935;
    color: #ffffff;
    border-radius: 999px;
    padding: 0.4rem 0.9rem;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
}

.nav-search button:hover {
    background: #c62828;
}

/* ── Search Suggestions Dropdown ─────────────────────────── */
.search-input-wrapper {
    flex: 1;
    display: flex;
    align-items: center;
    position: relative; /* anchor for dropdown */
    min-width: 0;
}

.search-suggestions {
    position: absolute;
    top: calc(100% + 1.4rem); /* below the pill form */
    left: -1rem;
    min-width: 300px;
    width: max-content;
    max-width: 380px;
    background: rgba(15, 23, 42, 0.97);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
    z-index: 200;
    overflow: hidden;
    display: none;
    animation: navFadeIn 0.18s ease;
}

.search-suggestions.is-open {
    display: block;
}

.search-suggestion-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.6rem 0.9rem;
    color: rgba(255,255,255,0.9);
    text-decoration: none;
    font-size: 0.88rem;
    font-weight: 500;
    transition: background 0.15s ease;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.search-suggestion-item:hover,
.search-suggestion-item.is-active {
    background: rgba(229, 57, 53, 0.12);
    color: #ffffff;
}

.search-sug-img {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    object-fit: cover;
    flex-shrink: 0;
    background: #1e293b;
}

.search-sug-placeholder {
    display: inline-block;
    background: #1e293b;
    border-radius: 8px;
}

.search-sug-name {
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.search-sug-badge {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #ff8a80;
    background: rgba(229, 57, 53, 0.15);
    border: 1px solid rgba(229, 57, 53, 0.3);
    border-radius: 999px;
    padding: 0.1rem 0.55rem;
    flex-shrink: 0;
}

.search-sug-badge--page {
    color: #93c5fd;
    background: rgba(59, 130, 246, 0.15);
    border-color: rgba(59, 130, 246, 0.3);
}

.search-suggestion-all {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.7rem 0.9rem;
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    font-size: 0.82rem;
    background: transparent;
    transition: background 0.15s ease;
}

.search-suggestion-all:hover,
.search-suggestion-all.is-active {
    background: rgba(255, 255, 255, 0.06);
    color: #ffffff;
}

.search-suggestion-all strong {
    color: #ff8a80;
}
/* ── End Search Suggestions ───────────────────────────────── */

.theme-toggle {
    margin-left: 0.75rem;
    border: 1px solid rgba(148, 163, 184, 0.7);
    background: #ffffff;
    color: #111827;
    border-radius: 999px;
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1rem;
}

.theme-dark .theme-toggle {
    background: #020617;
    color: #f9fafb;
}

.btn-cart {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.5rem 0.9rem;
    border-radius: 999px;
    background: #111827;
    color: #f9fafb;
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 600;
    border: 1px solid rgba(156, 163, 175, 0.7);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.4);
    transition: background 0.15s, border-color 0.15s, box-shadow 0.15s, transform 0.1s;
}

.btn-cart:hover {
    background: #b3261e;
    border-color: #fecaca;
    box-shadow: 0 8px 24px rgba(220, 38, 38, 0.65);
    transform: translateY(-1px);
}

.btn-cart-badge {
    min-width: 20px;
    height: 20px;
    border-radius: 999px;
    background: #f97316;
    color: #111827;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0 0.35rem;
}

.btn-cart-has-items {
    background: #b3261e;
    border-color: #fecaca;
}

.floating-cart {
    position: fixed;
    right: 1.5rem;
    bottom: 6rem;
    z-index: 45;
}

@media (max-width: 768px) {
    .floating-cart {
        right: 1rem;
        bottom: 5.5rem;
    }
}

.btn-cart-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.floating-cart-bump {
    animation: cart-bump 0.35s ease-out;
}

@keyframes cart-bump {
    0% {
        transform: scale(1);
    }

    30% {
        transform: scale(1.07);
    }

    60% {
        transform: scale(0.98);
    }

    100% {
        transform: scale(1);
    }
}

/* Hero */
/* Hero (se mantiene para otras páginas que lo usan) */
.hero {
    padding: 3rem 0 2.5rem;
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
    gap: 2.2rem;
    align-items: center;
}

/* Hero split para inicio (rediseño premium) */
.hero-split {
    position: relative;
    padding: 3rem 0 3.5rem;
    /* Menor espacio vertical */
    background: url("../images/banners/banner-principal.jpg") center center / cover no-repeat fixed;
    display: flex;
    align-items: center;
    min-height: 35vh;
    /* Reducido de 45vh */
    border-radius: 0 0 32px 32px;
    margin-bottom: 3rem;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.hero-split::before {
    content: '';
    position: absolute;
    inset: 0;
    /* Gradiente oscuro envolvente para máxima legibilidad y estética moderna */
    background: linear-gradient(90deg, rgba(2, 6, 23, 0.95) 0%, rgba(2, 6, 23, 0.85) 40%, rgba(2, 6, 23, 0.3) 100%);
    z-index: 1;
}

.hero-split-inner {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    width: 100%;
}

.hero-split-text {
    max-width: 650px;
    animation: fadeUp 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero-split-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.4rem 1.1rem;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    border-radius: 999px;
    background: rgba(229, 57, 53, 0.15);
    /* Tinte rojo sutil */
    color: #ff5252;
    border: 1px solid rgba(229, 57, 53, 0.3);
    margin-bottom: 1rem;
    /* Menor margen */
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 8px 32px rgba(229, 57, 53, 0.2);
    transform: translateY(0);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hero-split-badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 35px rgba(229, 57, 53, 0.3);
}

.hero-split-text h1 {
    font-size: 3rem;
    /* Más pequeño */
    line-height: 1.1;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 1rem;
    /* Menor margen */
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
    letter-spacing: -0.02em;
}

.hero-split-text h1 span {
    color: #ff5252;
    /* Rojo vibrante */
    display: block;
    text-shadow: 0 4px 25px rgba(229, 57, 53, 0.45);
    background: linear-gradient(to right, #ff5252, #ff8a80);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-split-text p {
    font-size: 1.1rem;
    /* Más pequeño */
    color: #e2e8f0;
    max-width: 90%;
    margin-bottom: 2rem;
    /* Menor margen */
    line-height: 1.6;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
    font-weight: 400;
}

.hero-split-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center;
}

@media (max-width: 600px) {
    .hero-split-actions {
        flex-direction: column;
        align-items: stretch;
    }
    .hero-split-actions .btn {
        width: 100%;
        text-align: center;
    }
}

/* Enhancing buttons */
.hero-split .btn.btn-primary {
    padding: 0.85rem 1.8rem;
    /* Botón más pequeño */
    font-size: 0.95rem;
    /* Más pequeño */
    border-radius: 999px;
    background: linear-gradient(135deg, #e53935, #b71c1c);
    color: #ffffff;
    border: none;
    font-weight: 700;
    box-shadow: 0 8px 25px rgba(229, 57, 53, 0.4);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.hero-split .btn.btn-primary:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 12px 35px rgba(229, 57, 53, 0.6);
    background: linear-gradient(135deg, #ef5350, #c62828);
    color: #ffffff;
}

.hero-split .btn.btn-ghost {
    padding: 0.85rem 1.8rem;
    /* Botón más pequeño */
    font-size: 0.95rem;
    /* Más pequeño */
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    /* Glassmorphism */
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.25);
    font-weight: 600;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.hero-split .btn.btn-ghost:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    color: #ffffff;
}

.hero-split-link {
    font-size: 0.95rem;
    /* Más pequeño */
    font-weight: 600;
    color: #cbd5e1;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    transition: all 0.3s ease;
    margin-left: 0.5rem;
}

.hero-split-link::before {
    content: '→';
    font-size: 1.2rem;
    color: #ff5252;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-split-link:hover {
    color: #ffffff;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

.hero-split-link:hover::before {
    transform: translateX(6px);
}

/* Modificadores Theme Dark: ya usamos colores blancos/vibrantes que se ven bien en ambos temas */
.theme-dark .hero-split::before {
    background: linear-gradient(90deg, rgba(2, 5, 26, 0.98) 0%, rgba(2, 5, 26, 0.9) 45%, rgba(2, 5, 26, 0.4) 100%);
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 1024px) {
    .hero-split-text h1 {
        font-size: 2.6rem;
    }

    .hero-split-text p {
        font-size: 1.05rem;
    }
}

@media (max-width: 768px) {
    .hero-split {
        padding: 4rem 0 4.5rem;
        min-height: auto;
        border-radius: 0 0 24px 24px;
        background-attachment: scroll;
        /* fixes issues on mobile */
    }

    .hero-split::before {
        background: linear-gradient(180deg, rgba(2, 6, 23, 0.85) 0%, rgba(2, 6, 23, 0.95) 100%);
    }

    .hero-split-text {
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .hero-split-text p {
        max-width: 100%;
        margin-bottom: 2rem;
    }

    .hero-split-actions {
        justify-content: center;
        gap: 1rem;
    }

    .hero-split-link {
        margin-left: 0;
        margin-top: 0.5rem;
        width: 100%;
        justify-content: center;
    }

    .hero-split-text h1 {
        font-size: 2.1rem;
    }
}

@media (max-width: 900px) {
    .header-main-inner {
        gap: 1rem;
    }

    .nav-shell {
        position: absolute;
        left: 0;
        right: 0;
        top: 100%;
        margin-top: 0.5rem;
        margin-inline: 1rem;
        border-radius: 20px;
        padding: 0.5rem 0.75rem 0.75rem;
        flex-direction: column;
        align-items: stretch;
        display: none;
        z-index: 25;
    }

    .nav-shell.is-open {
        display: flex;
    }

    .nav-main {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.25rem;
    }

    .nav-link {
        width: 100%;
        padding: 0.5rem 0.8rem;
        border-radius: 12px;
    }

    .nav-link::after {
        display: none;
    }

    .nav-link-active {
        background: rgba(179, 38, 30, 0.15);
    }

    .nav-search {
        margin-top: 0.4rem;
    }

    .nav-actions {
        width: 100%;
        justify-content: space-between;
        margin-top: 0.5rem;
    }

    .cart-toggle {
        background: rgba(15, 23, 42, 0.9);
    }

    .nav-toggle {
        display: flex;
    }

    .hero-grid {
        grid-template-columns: minmax(0, 1fr);
    }
}

.hero-text {
    max-width: 34rem;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.2rem 0.7rem;
    border-radius: 999px;
    background: rgba(229, 57, 53, 0.08);
    color: var(--accent);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 0.7rem;
}

.hero-title {
    font-size: 2.4rem;
    line-height: 1.15;
    margin-bottom: 0.75rem;
    color: #111827;
}

.hero-text p {
    color: var(--text-muted);
    margin-bottom: 1.4rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
}

.hero-note {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 0.8rem;
}

.hero-media {
    position: relative;
}

.hero-banner {
    background-image: url('/images/banners/banner-principal.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 24px;
    min-height: 260px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.2);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #f9fafb;
    font-weight: 600;
    text-align: center;
    padding: 1.5rem;
}

.hero-banner small {
    display: block;
    font-weight: 400;
    font-size: 0.85rem;
    opacity: 0.9;
}

.hero-banner-link {
    text-decoration: none;
}

/* Carrusel de banners (debajo del menú) */
.banner-carousel {
    padding: 1.5rem 0 0.5rem;
}

.banner-carousel-track {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.28);
}

.banner-slide {
    display: none;
}

.banner-slide.is-active {
    display: block;
}

.banner-slide img {
    width: 100%;
    display: block;
    object-fit: cover;
    aspect-ratio: 16 / 4;
    /* parecido al tamaño que enviaste */
}

.banner-carousel-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 0.75rem;
}

.banner-carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    border: none;
    background: #d1d5db;
    cursor: pointer;
    transition: all 0.2s ease;
}

.banner-carousel-dot.is-active {
    width: 26px;
    background: #e53935;
}

/* Categorías en inicio */
.seccion {
    padding: 2rem 0;
}

.seccion h2 {
    text-align: center;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    color: #111827;
}

.theme-dark .seccion h2 {
    color: #f9fafb;
}

/* Home - servicios principales */
/* (sección seccion-servicios-home eliminada de la home; estilos reservados por si se necesitan en el futuro) */
.categorias-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1rem;
}

.categoria-card {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 0.45rem;
    padding: 1rem 1.15rem 1.05rem;
    text-decoration: none;
    color: var(--text);
    border-radius: 20px;
    border: 1px solid rgba(226, 232, 240, 0.95);
    background: linear-gradient(165deg, #ffffff 0%, #f8fafc 48%, #f1f5f9 100%);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.9) inset,
        0 2px 4px rgba(15, 23, 42, 0.04),
        0 12px 28px rgba(15, 23, 42, 0.09),
        0 0 0 1px rgba(15, 23, 42, 0.03);
    transition: background 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease, transform 0.2s ease;
    min-width: 140px;
    text-align: center;
}

/* Categorías en modo oscuro: fondo rojo suave y texto claro */
.theme-dark .categoria-card {
    background: linear-gradient(165deg, rgba(30, 41, 59, 0.95) 0%, rgba(15, 23, 42, 0.98) 100%);
    border-color: rgba(248, 113, 113, 0.35);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.06) inset,
        0 8px 32px rgba(0, 0, 0, 0.45);
    color: #f9fafb;
}

.theme-dark .categoria-card h3 {
    color: #f9fafb;
}

.theme-dark .categoria-card span {
    color: #fecaca;
}

.theme-dark .categoria-card:hover {
    background: linear-gradient(165deg, rgba(51, 65, 85, 0.95) 0%, rgba(30, 41, 59, 0.98) 100%);
    border-color: rgba(248, 113, 113, 0.55);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.08) inset,
        0 18px 40px rgba(0, 0, 0, 0.4);
}

.categoria-card:hover {
    background: linear-gradient(165deg, #ffffff 0%, #f1f5f9 100%);
    border-color: rgba(229, 57, 53, 0.45);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.95) inset,
        0 4px 8px rgba(229, 57, 53, 0.08),
        0 18px 40px rgba(15, 23, 42, 0.14);
    transform: translateY(-4px);
}

.categoria-card h3 {
    font-size: 1.05rem;
    margin-bottom: 0.15rem;
}

.categoria-card-active {
    background: linear-gradient(165deg, #ffffff 0%, #f8fafc 100%);
    border-color: #111827;
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.9) inset,
        0 0 0 2px rgba(17, 24, 39, 0.08),
        0 20px 44px rgba(15, 23, 42, 0.18);
}

.categoria-card-img {
    width: auto;
    max-width: 100%;
    height: auto;
    max-height: 76px;
    margin: 0 auto 0.35rem;
    border-radius: 16px;
    overflow: hidden;
    background: linear-gradient(145deg, #ffffff, #f1f5f9);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.8) inset,
        0 4px 12px rgba(15, 23, 42, 0.08);
    border: 1px solid rgba(226, 232, 240, 0.9);
    padding: 3px;
}

.categoria-card-img img {
    display: block;
    width: auto;
    height: auto;
    max-width: 120px;
    max-height: 72px;
    object-fit: contain;
}

/* Banners inicio 2x2 */
.seccion-banners {
    padding-top: 1.75rem;
}

.promo-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.2rem;
}

.promo-card {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.18);
    display: block;
    text-decoration: none;
    color: inherit;
    height: 220px;
}

.promo-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.25s ease;
}

.promo-card:hover img {
    transform: scale(1.03);
}

@media (max-width: 900px) {
    .promo-grid {
        grid-template-columns: 1fr;
    }

    .promo-card {
        height: 200px;
    }
}

/* Banner compacto Alquiler / Mantenimiento */
.service-strip {
    padding: 0.8rem 0;
    border-bottom: 1px solid rgba(148, 163, 184, 0.25);
    background: rgba(249, 250, 251, 0.9);
}

.service-strip-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.service-strip-text {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    min-width: 220px;
}

.service-strip-kicker {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--accent);
    font-weight: 700;
}

.service-strip-title {
    font-size: 0.95rem;
    color: var(--text-muted);
}

.service-strip-actions {
    display: flex;
    gap: 0.5rem;
}

.service-strip-actions .btn-sm {
    padding-inline: 1.2rem;
}

.theme-dark .service-strip {
    background: rgba(15, 23, 42, 0.95);
    border-bottom-color: rgba(30, 64, 175, 0.6);
}

.theme-dark .service-strip-title {
    color: #e5e7eb;
}


@media (max-width: 900px) {
    .kpi-strip-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.theme-dark .kpi-strip-stats {
    background: rgba(2, 6, 23, 0.9);
    box-shadow: 0 20px 60px rgba(15, 23, 42, 0.8);
}

.theme-dark .kpi-number {
    color: #f9fafb;
}

.theme-dark .kpi-label {
    color: #e5e7eb;
}

/* Productos grid */
.productos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1.5rem;
}

.producto-card {
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    position: relative;
    border: 1px solid rgba(0, 0, 0, 0.03);
    z-index: 1;
}

/* Red accent line on hover */
.producto-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    height: 4px;
    width: 0;
    background: linear-gradient(90deg, #e53935, #ff8a80);
    transition: width 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 2;
}

.producto-card:hover {
    box-shadow: 0 20px 40px rgba(229, 57, 53, 0.08);
    transform: translateY(-8px);
    border-color: transparent;
}

.producto-card:hover::after {
    width: 100%;
}

.producto-card a {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* Image Wrapper */
.producto-card .img-wrap {
    height: 240px;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 0.9rem;
    position: relative;
    padding: 2rem;
}

/* A very subtle glowing orb behind the product */
.producto-card .img-wrap::before {
    content: '';
    position: absolute;
    width: 120px;
    height: 120px;
    background: radial-gradient(circle, rgba(229, 57, 53, 0.05) 0%, rgba(255, 255, 255, 0) 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    z-index: 0;
    transition: transform 0.5s ease, background 0.5s ease;
}

.producto-card:hover .img-wrap::before {
    transform: translate(-50%, -50%) scale(1.5);
    background: radial-gradient(circle, rgba(229, 57, 53, 0.08) 0%, rgba(255, 255, 255, 0) 70%);
}

.producto-card .img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    position: relative;
    z-index: 1;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    filter: drop-shadow(0 10px 15px rgba(0, 0, 0, 0.05));
}

.producto-card:hover .img-wrap img {
    transform: scale(1.12) translateY(-5px);
}

/* Info Section */
.producto-card .info {
    padding: 0 1.5rem 1.8rem;
    display: flex;
    flex-direction: column;
    flex: 1;
    background: #ffffff;
    z-index: 2;
    position: relative;
}

.producto-card .info h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 0.75rem;
    line-height: 1.4;
    transition: color 0.3s ease;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

@media (max-width: 600px) {
    .producto-card .info h3 {
        font-size: 0.95rem; /* Smaller font for mobile */
    }
}

.producto-card:hover .info h3 {
    color: #e53935;
}

.producto-card .info .precio {
    color: #e53935;
    font-weight: 800;
    font-size: 1.15rem;
    margin-top: auto;
}

/* Pseudo-botón "Ver Detalles" */
.producto-card .info::after {
    content: 'Ver detalles \2192';
    /* Flecha derecha unicode -> */
    display: block;
    margin-top: auto;
    padding-top: 1rem;
    color: #e53935;
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    opacity: 0;
    transform: translateY(10px) translateX(0);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.producto-card:hover .info::after {
    opacity: 1;
    transform: translateY(0) translateX(5px);
}

/* Ajustes para tarjetas en modo oscuro */
.theme-dark .producto-card {
    background: #0f172a;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.theme-dark .producto-card .img-wrap {
    background: transparent;
}

.theme-dark .producto-card .info {
    background: transparent;
}

.theme-dark .producto-card .img-wrap::before {
    background: radial-gradient(circle, rgba(229, 57, 53, 0.1) 0%, rgba(15, 23, 42, 0) 70%);
}

.theme-dark .producto-card:hover {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5), 0 0 20px rgba(229, 57, 53, 0.1);
    border-color: transparent;
}

.theme-dark .producto-card .info h3 {
    color: #f8fafc;
}

.theme-dark .producto-card:hover .info h3 {
    color: #ff8a80;
}

.theme-dark .producto-card .info::after {
    color: #ff8a80;
}

.theme-dark .producto-card .img-wrap img {
    filter: drop-shadow(0 10px 15px rgba(0, 0, 0, 0.3));
}

.producto-quickview-trigger {
    margin-top: 0.75rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 0.45rem 0.9rem;
    font-size: 0.8rem;
    border-radius: 999px;
    background: #ffffff;
    color: #111827;
    border: 1px solid rgba(209, 213, 219, 0.95);
    cursor: pointer;
    font-weight: 600;
    text-transform: none;
    letter-spacing: 0;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.12);
    transition: background 0.16s ease, border-color 0.16s ease, color 0.16s ease, box-shadow 0.16s ease, transform 0.14s ease;
}

.producto-quickview-trigger:hover {
    background: #111827;
    color: #f9fafb;
    border-color: #111827;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.4);
    transform: translateY(-1px);
}

/* Ocultar botón Vista rápida (no se está usando) */
.product-quickview-trigger {
    display: none !important;
}

/* Banner superior de Productos y Repuestos (Premium) */
.productos-hero {
    position: relative;
    padding: 2rem 0;
    margin-bottom: 2rem;
    overflow: hidden;
    background: #020617;
    border-bottom-left-radius: 50% 20px;
    border-bottom-right-radius: 50% 20px;
}

/* Banner Blanco (para mantenimiento) */
.productos-hero.hero-white {
    background: linear-gradient(90deg, rgba(2, 6, 23, 0.92) 0%, rgba(2, 6, 23, 0.72) 48%, rgba(2, 6, 23, 0.58) 100%), url("../images/banners/banner-principal.jpg") center center / cover no-repeat !important;
    padding: 1.8rem 0 !important;
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 0 0 20px 20px !important;
}

.productos-hero.hero-productos {
    background: linear-gradient(90deg, rgba(2, 6, 23, 0.72) 0%, rgba(2, 6, 23, 0.46) 48%, rgba(2, 6, 23, 0.34) 100%), url("../images/servicios/banner-productos.png") center 35% / cover no-repeat !important;
}

.productos-hero.hero-servicios {
    background: linear-gradient(90deg, rgba(2, 6, 23, 0.72) 0%, rgba(2, 6, 23, 0.46) 48%, rgba(2, 6, 23, 0.34) 100%), url("../images/servicios/banner-servicios.png") center 35% / cover no-repeat !important;
}

.productos-hero.hero-white .productos-hero-text h1 {
    font-size: 1.85rem;
    color: #ffffff !important;
    text-shadow: 0 10px 24px rgba(0,0,0,0.35);
    margin-bottom: 0.5rem;
}

.productos-hero.hero-white::before,
.productos-hero.hero-white::after {
    display: none !important;
}

.productos-hero.hero-white .productos-hero-text {
    background: transparent !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    box-shadow: none !important;
    border: none !important;
    padding: 0.15rem 0 !important;
    text-align: left;
    max-width: 720px;
    margin: 0;
}

.productos-hero.hero-white h1 {
    color: #ffffff !important;
    font-size: 1.55rem;
}

.productos-hero.hero-white h1 span {
    background: linear-gradient(90deg, #ff6b6b, #ff8a80) !important;
    -webkit-background-clip: text !important;
    background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    color: #ff8a80 !important;
}

.productos-hero.hero-white p {
    color: #e2e8f0 !important;
    font-size: 0.98rem;
    line-height: 1.35;
    max-width: 640px;
}

.productos-hero.hero-white .productos-hero-badge {
    background: rgba(229, 57, 53, 0.2);
    color: #fecaca;
    border-color: rgba(229, 57, 53, 0.5);
    margin-bottom: 0.35rem;
    font-size: 0.58rem;
    padding: 0.2rem 0.58rem;
}

.productos-hero.hero-white .productos-hero-media img {
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.32);
    animation: none;
    max-width: 230px;
    height: 120px;
    border-radius: 12px;
}

.productos-hero.hero-white .productos-hero-media::after {
    background: rgba(229, 57, 53, 0.2);
}

.productos-hero.hero-white .productos-hero-grid {
    grid-template-columns: 1.2fr 0.8fr;
    gap: 1rem;
}

.productos-hero.hero-productos .productos-hero-grid {
    grid-template-columns: 1fr;
}

.productos-hero.hero-productos .productos-hero-text {
    background: rgba(2, 6, 23, 0.62) !important;
    border: 1px solid rgba(255, 255, 255, 0.18) !important;
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.35) !important;
    border-radius: 16px !important;
    padding: 1rem 1.2rem !important;
    max-width: 760px;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.productos-hero.hero-servicios .productos-hero-grid {
    grid-template-columns: 1fr;
}

.productos-hero.hero-servicios .productos-hero-text {
    background: rgba(2, 6, 23, 0.62) !important;
    border: 1px solid rgba(255, 255, 255, 0.18) !important;
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.35) !important;
    border-radius: 16px !important;
    padding: 1rem 1.2rem !important;
    max-width: 760px;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.productos-hero.hero-white .productos-hero-media {
    display: flex;
    justify-content: flex-end;
}

.productos-hero.hero-productos .productos-hero-media {
    display: none;
}

.productos-hero.hero-servicios .productos-hero-media {
    display: none;
}

.productos-hero.hero-productos .productos-hero-text h1 {
    color: #ffffff !important;
    text-shadow: 0 3px 10px rgba(0, 0, 0, 0.6);
    font-size: 1.95rem;
    line-height: 1.1;
}

.productos-hero.hero-servicios .productos-hero-text h1 {
    color: #ffffff !important;
    text-shadow: 0 3px 10px rgba(0, 0, 0, 0.6);
    font-size: 1.95rem;
    line-height: 1.1;
}

.productos-hero.hero-productos .productos-hero-text h1 span {
    background: none !important;
    -webkit-text-fill-color: initial !important;
    color: #f5c518 !important;
}

.productos-hero.hero-servicios .productos-hero-text h1 span {
    background: none !important;
    -webkit-text-fill-color: initial !important;
    color: #f5c518 !important;
}

.productos-hero.hero-productos .productos-hero-text p {
    color: #f8fafc !important;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
    max-width: 100%;
}

.productos-hero.hero-servicios .productos-hero-text p {
    color: #f8fafc !important;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
    max-width: 100%;
}

.productos-hero.hero-productos .productos-hero-badge {
    background: rgba(245, 197, 24, 0.2) !important;
    color: #fff7cc !important;
    border-color: rgba(245, 197, 24, 0.52) !important;
}

.productos-hero.hero-servicios .productos-hero-badge {
    background: rgba(245, 197, 24, 0.2) !important;
    color: #fff7cc !important;
    border-color: rgba(245, 197, 24, 0.52) !important;
}

/* Gradiente de fondo con formas flotantes sutiles */
.productos-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 10% 20%, rgba(229, 57, 53, 0.2) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(229, 57, 53, 0.15) 0%, transparent 40%),
        linear-gradient(135deg, #020617 0%, #0f172a 100%);
    z-index: 1;
}

.productos-hero .container {
    position: relative;
    z-index: 2;
    max-width: 1200px;
}

.productos-hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    /* Brecha reducida */
    align-items: center;
}

.productos-hero-text {
    color: #f8fafc;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 2.5rem;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.productos-hero-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.3rem 0.9rem;
    /* Muy sutil */
    font-size: 0.7rem;
    /* Reducido */
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border-radius: 999px;
    background: rgba(229, 57, 53, 0.2);
    color: #ff8a80;
    border: 1px solid rgba(229, 57, 53, 0.3);
    margin-bottom: 0.75rem;
    /* Margen inferior reducido */
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.productos-hero-text h1 {
    font-size: 2.1rem;
    /* Mucho más pequeño */
    line-height: 1.15;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 0.75rem;
    /* Margen reducido */
    letter-spacing: -0.01em;
}

.productos-hero-text h1 span {
    color: #ff5252;
    background: linear-gradient(to right, #ff5252, #ff8a80);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.productos-hero-text p {
    font-size: 0.95rem;
    /* Reducido */
    line-height: 1.5;
    color: #cbd5e1;
    max-width: 95%;
    margin-bottom: 0;
    /* Quitar margen final para aplanar el header */
}

.productos-hero-media {
    position: relative;
    display: flex;
    justify-content: flex-end;
}

.productos-hero-media img {
    width: 100%;
    max-width: 400px;
    height: 240px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    animation: float-hero 6s ease-in-out infinite;
}

@keyframes float-hero {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

.productos-hero-media img:hover {
    transform: scale(1.05);
    box-shadow: 0 25px 50px rgba(229, 57, 53, 0.3);
}

/* Efecto de resplandor detrás de la imagen */
.productos-hero-media::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    height: 80%;
    background: rgba(229, 57, 53, 0.3);
    filter: blur(50px);
    z-index: -1;
    border-radius: 50%;
}

@media (max-width: 900px) {
    .productos-hero-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        /* Reducido gap móvil */
    }

    .productos-hero-text {
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .productos-hero-text p {
        max-width: 100%;
    }

    .productos-hero-media {
        justify-content: center;
    }

    .productos-hero-media img {
        height: 160px;
        /* Redulcido en móvil */
        max-width: 300px;
    }
}

@media (max-width: 500px) {
    .productos-hero-text h1 {
        font-size: 1.7rem;
        /* Reducido móvil */
    }

    .productos-hero-media img {
        height: 130px;
        /* Muy compacto */
    }
}

.seccion-productos-listado {
    padding-top: 2.2rem;
}

.productos-categorias-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
    margin-bottom: 2rem;
}

.productos-categoria-chip {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 0.45rem;
    padding: 1rem 1.15rem 1.05rem;
    border-radius: 20px;
    background: linear-gradient(165deg, #ffffff 0%, #f8fafc 48%, #f1f5f9 100%);
    border: 1px solid rgba(226, 232, 240, 0.95);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.9) inset,
        0 2px 4px rgba(15, 23, 42, 0.04),
        0 12px 28px rgba(15, 23, 42, 0.09),
        0 0 0 1px rgba(15, 23, 42, 0.03);
    text-decoration: none;
    color: #111827;
    font-size: 0.9rem;
    min-width: 140px;
    transition: background 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease, transform 0.2s ease;
}

.productos-categoria-chip:hover {
    background: linear-gradient(165deg, #ffffff 0%, #f1f5f9 100%);
    border-color: rgba(229, 57, 53, 0.45);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.95) inset,
        0 4px 8px rgba(229, 57, 53, 0.08),
        0 18px 40px rgba(15, 23, 42, 0.14);
    transform: translateY(-4px);
}

.productos-categoria-chip.is-active {
    background: linear-gradient(165deg, #ffffff 0%, #f8fafc 100%);
    border-color: #111827;
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.9) inset,
        0 0 0 2px rgba(17, 24, 39, 0.08),
        0 20px 44px rgba(15, 23, 42, 0.18);
}

.theme-dark .productos-categoria-chip {
    background: linear-gradient(165deg, rgba(30, 41, 59, 0.95) 0%, rgba(15, 23, 42, 0.98) 100%);
    border-color: rgba(51, 65, 85, 0.9);
    color: #f1f5f9;
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.06) inset,
        0 8px 28px rgba(0, 0, 0, 0.35);
}

.theme-dark .productos-categoria-chip:hover {
    background: linear-gradient(165deg, rgba(51, 65, 85, 0.95) 0%, rgba(30, 41, 59, 0.98) 100%);
    border-color: rgba(248, 113, 113, 0.45);
}

.theme-dark .productos-categoria-chip.is-active {
    border-color: #f1f5f9;
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.08) inset,
        0 0 0 2px rgba(248, 250, 252, 0.12),
        0 20px 44px rgba(0, 0, 0, 0.45);
}

.theme-dark .productos-categoria-avatar {
    background: linear-gradient(145deg, rgba(51, 65, 85, 0.9), rgba(30, 41, 59, 0.95));
    border-color: rgba(71, 85, 105, 0.8);
}

.theme-dark .productos-categoria-avatar span {
    color: #e2e8f0;
}

/* Contenedor se adapta a la foto (proporción natural); solo texto/iniciales mantienen área fija */
.productos-categoria-avatar {
    width: auto;
    height: auto;
    max-width: 96px;
    max-height: 56px;
    border-radius: 14px;
    background: linear-gradient(145deg, #ffffff, #f1f5f9);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex-shrink: 0;
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.8) inset,
        0 3px 10px rgba(15, 23, 42, 0.07);
    border: 1px solid rgba(226, 232, 240, 0.9);
    padding: 2px;
}

.productos-categoria-avatar img {
    display: block;
    width: auto;
    height: auto;
    max-width: 92px;
    max-height: 52px;
    object-fit: contain;
    vertical-align: middle;
}

.productos-categoria-avatar span {
    font-size: 0.8rem;
    font-weight: 600;
    color: #111827;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 48px;
    min-height: 48px;
    padding: 0 0.25rem;
}

.productos-categoria-chip.is-active .productos-categoria-avatar {
    background: #111827;
}

.productos-categoria-chip.is-active .productos-categoria-avatar span {
    color: #f9fafb;
}

.productos-categoria-label {
    white-space: nowrap;
    font-weight: 600;
}

@media (max-width: 640px) {
    .productos-categorias-row {
        gap: 0.6rem;
    }

    .productos-categoria-label {
        white-space: normal;
    }
}

.producto-gallery {
    position: relative;
    overflow: hidden;
}

.producto-gallery img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out;
}

.producto-gallery img.producto-img-main {
    opacity: 1;
    position: absolute;
}

/* Categorías (Repuestos y subcategorías) — estilos base en bloque anterior; aquí solo refinamientos */
.categorias-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1rem;
}

.categoria-card h3 {
    font-size: 1.05rem;
    margin-bottom: 0.15rem;
}

.categoria-card .categoria-desc {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.categoria-card span {
    font-size: 0.9rem;
    color: var(--accent);
}

.categorias-inline .categoria-card.small {
    padding: 0.75rem 1rem;
}

.categorias-inline .categoria-card.small span {
    font-size: 1rem;
}

.categoria-thumb {
    width: 100%;
    height: 140px;
    border-radius: 14px;
    overflow: hidden;
    margin-bottom: 0.9rem;
    background: var(--surface-hover);
    display: flex;
    align-items: center;
    justify-content: center;
}

.categoria-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Filtros de categorías en página de productos: estilo diferente a las tarjetas de producto */
.categorias-filtros .categoria-card {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 0.9rem 1.1rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.85);
    border-style: solid;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.08);
}

.categorias-filtros .categoria-card .categoria-card-img {
    max-width: 56px;
    max-height: 44px;
    height: auto;
    margin: 0 0.6rem 0 0;
    border-radius: 12px;
    box-shadow: none;
    padding: 2px;
}

.categorias-filtros .categoria-card .categoria-card-img img {
    width: auto;
    height: auto;
    max-width: 52px;
    max-height: 40px;
    object-fit: contain;
}

.categorias-filtros .categoria-card h3 {
    margin-bottom: 0.1rem;
    font-size: 0.95rem;
}

.categorias-filtros .categoria-card span {
    font-size: 0.8rem;
}

.categorias-filtros .categoria-card.categoria-card-active {
    background: rgba(226, 30, 37, 0.1);
    border-style: solid;
}

.categoria-info {
    text-align: left;
}

/* Ficha producto Premium */
.ficha-producto {
    max-width: 1200px;
    /* Expandido para alojar la barra lateral derecha */
    margin: 0 auto;
    padding: 3rem 1rem 4rem;
}

.ficha-producto .grid {
    display: grid;
    grid-template-columns: 360px 1fr 260px;
    /* 3 Columnas: Imagen -> Info -> Relacionados */
    gap: 3rem;
    align-items: start;
}

@media (max-width: 1024px) {
    .ficha-producto .grid {
        grid-template-columns: 320px 1fr;
        /* Relacionados cae abajo a la derecha o debajo del todo */
    }

    .ficha-producto-sidebar-relacionados {
        grid-column: 1 / -1;
        grid-row: auto;
    }
}

@media (max-width: 800px) {
    .ficha-producto .grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

.ficha-producto-col-imagen {
    position: relative;
    width: 100%;
}

.ficha-producto .imagen,
.ficha-producto-imagen-wrap {
    background: #ffffff;
    border-radius: 24px;
    height: 380px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(0, 0, 0, 0.04);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.06);
    padding: 2.5rem;
}

/* Barra lateral: Productos sugeridos */
.ficha-producto-sidebar-relacionados {
    background: #ffffff;
    border-radius: 20px;
    padding: 1.5rem;
    border: 1px solid rgba(0, 0, 0, 0.04);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    grid-row: span 2;
}

.ficha-producto-sidebar-relacionados.dummy {
    background: transparent;
    box-shadow: none;
    border: none;
}

.theme-dark .ficha-producto-sidebar-relacionados {
    background: #0f172a;
    border-color: rgba(255, 255, 255, 0.05);
}

.relacionados-vert-grid {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.relacionado-vert-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
    padding: 0.5rem;
    border-radius: 12px;
    transition: background 0.2s, transform 0.2s;
}

.relacionado-vert-card:hover {
    background: #f8fafc;
    transform: translateX(3px);
}

.theme-dark .relacionado-vert-card:hover {
    background: rgba(30, 41, 59, 0.5);
}

.relacionado-vert-card .img-wrap {
    width: 60px;
    height: 60px;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 10px;
    padding: 0.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.theme-dark .relacionado-vert-card .img-wrap {
    background: #020617;
    border-color: rgba(255, 255, 255, 0.05);
}

.relacionado-vert-card .img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.relacionado-vert-card .info h3 {
    font-size: 0.85rem;
    font-weight: 700;
    color: #111827;
    line-height: 1.3;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.2s;
}

.relacionado-vert-card:hover .info h3 {
    color: #e53935;
}

.theme-dark .relacionado-vert-card .info h3 {
    color: #e2e8f0;
}

.theme-dark .relacionado-vert-card:hover .info h3 {
    color: #ff8a80;
}

.relacionados-refresh-btn {
    width: 100%;
    margin-top: 0.9rem;
    border: 1px solid rgba(229, 57, 53, 0.35);
    background: rgba(229, 57, 53, 0.08);
    color: #b91c1c;
    border-radius: 999px;
    padding: 0.55rem 0.9rem;
    font-size: 0.82rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
}

.relacionados-refresh-btn:hover {
    background: rgba(229, 57, 53, 0.16);
    border-color: rgba(229, 57, 53, 0.55);
    transform: translateY(-1px);
}

.theme-dark .relacionados-refresh-btn {
    background: rgba(255, 138, 128, 0.12);
    border-color: rgba(255, 138, 128, 0.35);
    color: #fecaca;
}

/* Halo sutil de estudio detrás de la imagen principal */
.ficha-producto-imagen-wrap::before {
    content: '';
    position: absolute;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(229, 57, 53, 0.04) 0%, rgba(255, 255, 255, 0) 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    z-index: 0;
}

.ficha-producto .imagen img,
.ficha-producto-imagen-wrap img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: zoom-in;
    position: relative;
    z-index: 1;
    filter: drop-shadow(0 15px 20px rgba(0, 0, 0, 0.08));
}

.ficha-producto .imagen:hover img,
.ficha-producto-imagen-wrap:hover .ficha-producto-img-main {
    transform: scale(1.15) translateY(-5px);
}

.ficha-sin-imagen {
    color: var(--text-muted);
    font-size: 0.95rem;
    position: relative;
    z-index: 1;
}

/* Viñeta Disponible / Agotado Premium */
.producto-badge {
    display: inline-flex;
    align-items: center;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    padding: 0.35rem 0.8rem;
    border-radius: 999px;
    margin-bottom: 0.8rem;
    text-transform: uppercase;
}

.producto-badge-disponible {
    color: #047857;
    background: rgba(16, 185, 129, 0.15);
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.producto-badge-agotado {
    color: #475569;
    background: rgba(100, 116, 139, 0.15);
    border: 1px solid rgba(100, 116, 139, 0.2);
}

.ficha-thumbs-block {
    margin-top: 1.5rem;
}

.ficha-thumbs-title {
    display: none;
    /* Ocultamos título innecesario */
}

.ficha-thumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
}

.ficha-thumb-btn {
    border: 2px solid transparent;
    border-radius: 12px;
    padding: 0.25rem;
    background: #ffffff;
    width: 70px;
    height: 70px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.ficha-thumb-btn img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.2s ease;
}

.ficha-thumb-btn:hover img {
    transform: scale(1.1);
}

.ficha-thumb-btn.is-active {
    border-color: #e53935;
    box-shadow: 0 4px 15px rgba(229, 57, 53, 0.15);
    transform: translateY(-2px);
}

.ficha-producto h1 {
    font-size: 1.65rem;
    /* Más pequeño y balanceado */
    font-weight: 800;
    color: #111827;
    margin-bottom: 0.6rem;
    line-height: 1.25;
    letter-spacing: -0.01em;
}

.theme-dark .ficha-producto h1 {
    color: #f8fafc;
}

.ficha-producto .precio {
    font-size: 1.5rem;
    /* Más compacto */
    color: #e53935;
    font-weight: 800;
    margin: 1.25rem 0;
}

.ficha-producto .ficha-producto-descripcion .descripcion {
    color: #111827;
    /* Negro con "vida" como solicitado */
    white-space: normal;
    /* Texto como antes */
    font-size: 0.95rem;
    line-height: 1.5;
    /* Espacio estándar */
    text-align: left;
}

.ficha-producto .ficha-producto-descripcion .descripcion br {
    display: inline;
    /* Que los br actúen normalmente */
}

/* Oculta saltos de línea dobles para que no haya huecos grandes */
.ficha-producto .ficha-producto-descripcion .descripcion br+br {
    display: none;
}

/* Descripción de producto más clara en modo oscuro */
.theme-dark .ficha-producto .ficha-producto-descripcion .descripcion {
    color: #f8fafc;
}

.producto-actions {
    margin-top: 1.5rem;
    /* Reducido margen */
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    /* Acercados */
    align-items: center;
}

.producto-actions form {
    margin: 0;
    /* Asegura alineación perfecta con los otros botones */
}

/* Descripción con estilo artículo premium (más pequeña y fácil de leer) */
.ficha-producto-descripcion {
    grid-column: 1 / span 2;
    /* Visualmente debajo de imagen + info, sin mover la barra lateral */
    margin-top: 1rem;
    max-width: 800px;
    padding: 2rem;
    background: #f8fafc;
    border-radius: 16px;
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.theme-dark .ficha-producto-descripcion {
    background: rgba(15, 23, 42, 0.4);
    border-color: rgba(255, 255, 255, 0.05);
}

.quote-notice {
    margin-top: 0.75rem;
    font-size: 0.85rem;
    color: #047857;
}

.producto-actions .btn-quote-in-quote {
    opacity: 0.88;
    cursor: not-allowed;
    background: linear-gradient(135deg, #64748b, #475569);
    box-shadow: none;
}

.ficha-producto-specs {
    list-style: none;
    margin: 1rem 0 0;
    padding: 0;
    font-size: 0.95rem;
    color: #64748b;
}

.ficha-producto-specs li+li {
    margin-top: 0.35rem;
}

.ficha-producto-specs strong {
    color: #334155;
}

.theme-dark .ficha-producto-specs strong {
    color: #cbd5e1;
}

.categoria-pill {
    display: inline-flex;
    align-items: center;
    padding: 0.3rem 0.9rem;
    border-radius: 999px;
    background: rgba(37, 99, 235, 0.08);
    color: #1d4ed8;
    font-size: 0.75rem;
    font-weight: 700;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    transition: background 0.2s;
}

.categoria-pill:hover {
    background: rgba(37, 99, 235, 0.18);
    color: #1d4ed8;
}

/* Botones genéricos rediseñados */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 1.8rem;
    border-radius: 999px;
    font-size: 0.95rem;
    font-weight: 700;
    border: 1px solid transparent;
    cursor: pointer;
    text-decoration: none;
    font-family: inherit;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-primary {
    background: linear-gradient(135deg, #e53935, #b71c1c);
    color: #fff !important;
    border: none;
    box-shadow: 0 8px 20px rgba(229, 57, 53, 0.3);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #ff5252, #e53935);
    color: #fff !important;
    box-shadow: 0 12px 30px rgba(229, 57, 53, 0.5);
    transform: translateY(-3px);
}

.btn-secondary {
    background: #111827;
    color: #f9fafb !important;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-secondary:hover {
    background: #1f2937;
    border-color: rgba(255, 255, 255, 0.2);
    color: #ffffff !important;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.btn-outline {
    background: transparent;
    color: var(--accent);
    border-color: var(--accent);
}

.btn-outline:hover {
    background: rgba(229, 57, 53, 0.06);
    transform: translateY(-1px);
}

.btn-sm {
    padding: 0.35rem 0.8rem;
    font-size: 0.8rem;
    border-radius: 999px;
}

/* Modal Vista rápida de producto */
.product-quickview-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.65);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 80;
}

.product-quickview-backdrop.is-open {
    display: flex;
}

.product-quickview-dialog {
    background: #0b1120;
    border-radius: 20px;
    padding: 1.5rem 1.5rem 1.75rem;
    max-width: 720px;
    width: 100%;
    box-shadow: 0 28px 80px rgba(15, 23, 42, 0.95);
    border: 1px solid rgba(148, 163, 184, 0.45);
    position: relative;
}

.product-quickview-close {
    position: absolute;
    top: 0.5rem;
    right: 0.75rem;
    background: transparent;
    border: none;
    color: #e5e7eb;
    font-size: 1.4rem;
    cursor: pointer;
}

.product-quickview-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.4fr);
    gap: 1.5rem;
    align-items: center;
}

@media (max-width: 768px) {
    .product-quickview-grid {
        grid-template-columns: minmax(0, 1fr);
    }
}

.product-quickview-media {
    border-radius: 18px;
    overflow: hidden;
    background: radial-gradient(circle at 0 0, rgba(59, 130, 246, 0.4), transparent 55%);
}

.product-quickview-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.product-quickview-body h2 {
    color: #e5e7eb;
    margin-bottom: 0.5rem;
}

.product-quickview-price {
    color: #f97316;
    font-weight: 600;
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
}

/* Página Mi Cotización */
.quote-page {
    padding: 2.5rem 0 3rem;
    max-width: 1040px;
}

.quote-page h1 {
    margin-bottom: 0.5rem;
    font-size: 1.85rem;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.02em;
}

.theme-dark .quote-page h1 {
    color: #f8fafc;
}

.quote-intro {
    color: #475569;
    margin-bottom: 1.75rem;
    font-size: 1rem;
    line-height: 1.55;
    max-width: 52ch;
}

.theme-dark .quote-intro {
    color: #cbd5e1;
}

.quote-empty {
    background: linear-gradient(165deg, #ffffff 0%, #f8fafc 100%);
    border-radius: 20px;
    padding: 2rem 1.75rem;
    border: 1px solid rgba(226, 232, 240, 0.95);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.9) inset,
        0 12px 32px rgba(15, 23, 42, 0.08);
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
    align-items: flex-start;
}

.theme-dark .quote-empty {
    background: linear-gradient(165deg, rgba(30, 41, 59, 0.95) 0%, rgba(15, 23, 42, 0.98) 100%);
    border-color: rgba(71, 85, 105, 0.5);
}

.quote-empty p {
    margin: 0;
    font-size: 1rem;
    color: #334155;
    line-height: 1.5;
}

.theme-dark .quote-empty p {
    color: #e2e8f0;
}

.quote-empty .btn-primary {
    margin-top: 0.25rem;
}

.quote-empty-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: center;
}

.quote-page > .quote-notice {
    margin-bottom: 1rem;
    padding: 0.75rem 1rem;
    background: rgba(4, 120, 87, 0.08);
    border-radius: 12px;
    border: 1px solid rgba(4, 120, 87, 0.22);
}

.theme-dark .quote-page > .quote-notice {
    background: rgba(16, 185, 129, 0.12);
    border-color: rgba(52, 211, 153, 0.35);
    color: #a7f3d0;
}

.quote-subsection-title {
    margin-top: 2rem;
    margin-bottom: 0.75rem;
    font-size: 1.15rem;
    font-weight: 800;
}

.quote-list > h2:first-child.quote-subsection-title {
    margin-top: 0;
}

.quote-item--mantenimiento .quote-item-img--icon {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.65rem;
    color: var(--accent);
    background: linear-gradient(165deg, #f1f5f9, #e8edf3);
}

.theme-dark .quote-item--mantenimiento .quote-item-img--icon {
    background: rgba(30, 41, 59, 0.95);
    color: #fb923c;
}

.quote-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr);
    gap: 1.75rem;
    align-items: flex-start;
    margin-bottom: 2.5rem;
}

@media (max-width: 900px) {
    .quote-layout {
        grid-template-columns: minmax(0, 1fr);
    }
}

.quote-list h2,
.quote-summary h2 {
    font-size: 1.15rem;
    font-weight: 800;
    margin-bottom: 0.9rem;
    color: #0f172a;
    letter-spacing: -0.01em;
}

.theme-dark .quote-list h2,
.theme-dark .quote-summary h2 {
    color: #f1f5f9;
}

.quote-items {
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
}

.quote-item {
    display: grid;
    grid-template-columns: auto minmax(0, 1.4fr) auto;
    gap: 1.2rem;
    padding: 1.25rem 1.35rem;
    background: #ffffff;
    border-radius: 20px;
    border: 1px solid rgba(226, 232, 240, 0.95);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.9) inset,
        0 12px 28px rgba(15, 23, 42, 0.06);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.theme-dark .quote-item {
    background: rgba(15, 23, 42, 0.6);
    border-color: rgba(51, 65, 85, 0.6);
}

.quote-item:hover {
    transform: translateY(-2px);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.95) inset,
        0 16px 36px rgba(15, 23, 42, 0.1);
    border-color: rgba(229, 57, 53, 0.2);
}

@media (max-width: 700px) {
    .quote-item {
        grid-template-columns: minmax(0, 1fr);
        align-items: flex-start;
    }
}

.quote-item-img {
    width: 72px;
    height: 72px;
    border-radius: 16px;
    overflow: hidden;
    background: #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    color: #64748b;
    border: 1px solid rgba(226, 232, 240, 0.9);
}

.theme-dark .quote-item-img {
    background: rgba(30, 41, 59, 0.9);
    color: #94a3b8;
    border-color: rgba(71, 85, 105, 0.5);
}

.quote-item-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.quote-item-main h3 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 0.35rem;
    color: #111827;
    line-height: 1.35;
}

.theme-dark .quote-item-main h3 {
    color: #f8fafc;
}

.quote-item-ref {
    font-size: 0.85rem;
    color: #475569;
    margin: 0;
}

.theme-dark .quote-item-ref {
    color: #cbd5e1;
}

.quote-item-ref span {
    color: #1e293b;
    font-weight: 600;
}

.theme-dark .quote-item-ref span {
    color: #f1f5f9;
}

.quote-item-cat {
    font-size: 0.85rem;
    color: #475569;
}

.quote-item-actions {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    align-items: flex-end;
}

@media (max-width: 700px) {
    .quote-item-actions {
        align-items: flex-start;
    }
}

.quote-item-actions .btn-secondary {
    background: #f9fafb;
    color: #111827 !important;
    border: 1px solid rgba(209, 213, 219, 0.95);
    font-weight: 600;
    padding: 0.45rem 1rem;
    margin-bottom: 0;
    box-shadow: 0 10px 26px rgba(15, 23, 42, 0.10);
}

.quote-item-actions .btn-secondary:hover {
    background: #1f2937;
    color: #fff !important;
    border-color: #1f2937;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.theme-dark .quote-item-actions .btn-secondary {
    background: #f9fafb;
    color: #111827 !important;
}

.quote-item-actions .btn-outline {
    background: transparent;
    color: #111827;
    border: 1px solid rgba(209, 213, 219, 0.95);
    font-weight: 600;
    padding: 0.45rem 1rem;
    margin-bottom: 0;
}

.quote-item-actions .btn-outline:hover {
    background: rgba(229, 57, 53, 0.08);
    border-color: rgba(229, 57, 53, 0.45);
    color: #b91c1c;
}

.theme-dark .quote-item-actions .btn-outline {
    color: #f1f5f9;
    border-color: rgba(148, 163, 184, 0.45);
}

.theme-dark .quote-item-actions .btn-outline:hover {
    background: rgba(229, 57, 53, 0.15);
    color: #fecaca;
}

.quote-qty-form label {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    color: #475569;
    margin-bottom: 0.25rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.theme-dark .quote-qty-form label {
    color: #94a3b8;
}

.quote-qty-row {
    display: flex;
    gap: 0.4rem;
    align-items: center;
}

.quote-qty-row input[type="number"] {
    width: 70px;
    padding: 0.45rem 0.5rem;
    border-radius: 14px;
    border: 1px solid rgba(203, 213, 225, 0.95);
    font-size: 0.9rem;
    font-weight: 600;
    color: #111827;
    background: #fff;
}

.theme-dark .quote-qty-row input[type="number"] {
    background: rgba(30, 41, 59, 0.9);
    border-color: rgba(71, 85, 105, 0.8);
    color: #f1f5f9;
}

.quote-qty-row input[type="number"]:focus {
    outline: none;
    border-color: rgba(229, 57, 53, 0.55);
    box-shadow: 0 0 0 3px rgba(229, 57, 53, 0.15);
}

.quote-summary-card {
    background: linear-gradient(165deg, #0f172a 0%, #111827 100%);
    color: #f9fafb;
    border-radius: 20px;
    padding: 1.6rem 1.5rem 1.75rem;
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.06) inset,
        0 8px 32px rgba(0, 0, 0, 0.45);
    border: 1px solid rgba(51, 65, 85, 0.5);
}

.quote-summary-card h2 {
    color: #f8fafc;
}

.quote-summary-card p {
    font-size: 0.95rem;
    color: #e2e8f0;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.quote-whatsapp-btn {
    width: 100%;
    justify-content: center;
    padding: 0.9rem 1.25rem;
    font-size: 0.95rem;
    border-radius: 999px;
    box-shadow: 0 10px 28px rgba(37, 211, 102, 0.35);
}

.quote-whatsapp-btn:hover {
    box-shadow: 0 12px 32px rgba(37, 211, 102, 0.45);
}

.quote-summary-divider {
    margin-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    padding-top: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.quote-btn-more {
    display: flex;
    width: 100%;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    color: #f1f5f9;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.22);
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
}

.quote-btn-more:hover {
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 255, 255, 0.35);
    color: #ffffff;
    transform: translateY(-1px);
}

.quote-summary-note {
    margin-top: 1rem;
    font-size: 0.88rem;
    color: #cbd5e1;
    line-height: 1.55;
}

.quote-suggested {
    margin-top: 1.5rem;
}

.quote-suggested h2 {
    font-size: 1.15rem;
    margin-bottom: 0.9rem;
}

.quote-add-form {
    margin: 0.5rem 1rem 1rem;
}

.btn-added {
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.6);
    animation: added-pulse 0.6s ease-out;
}

@keyframes added-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.8);
        transform: translateY(-1px);
    }

    100% {
        box-shadow: 0 0 0 14px rgba(34, 197, 94, 0);
        transform: translateY(0);
    }
}

/* Contacto Moderno */
.contacto-hero {
    position: relative;
    padding: 2.15rem 0 2.65rem;
    background: #111827; /* Fondo sólido oscuro y profesional */
    color: #ffffff;
    text-align: center;
    border-radius: 0 0 28px 28px;
    margin-bottom: -2.35rem;
    z-index: 1;
}

.contacto-hero h1 {
    font-size: 2.15rem;
    font-weight: 800;
    margin-bottom: 0.45rem;
    letter-spacing: -0.02em;
}

.contacto-hero-lead {
    font-size: 0.98rem;
    opacity: 0.92;
    line-height: 1.45;
    max-width: 560px;
    margin: 0 auto;
}

.pagina-contacto {
    padding: 0 0 4rem;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.contacto-info-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
    margin-bottom: 3.5rem;
}

.contacto-info-card {
    background: var(--surface);
    padding: 2rem 1.5rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--border);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.contacto-info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.info-card-icon {
    width: 64px;
    height: 64px;
    background: rgba(229, 57, 53, 0.1);
    color: var(--accent);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
    box-shadow: 0 8px 20px rgba(229, 57, 53, 0.12);
}

.btn-whatsapp-card {
    background: #25d366;
    color: #fff !important;
    border: none;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp-card:hover {
    background: #20bd5a;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(37, 211, 102, 0.4);
}

.btn-contact-card {
    background: var(--accent);
    color: #fff !important;
    border: none;
    box-shadow: 0 4px 12px rgba(229, 57, 53, 0.2);
}

.btn-contact-card:hover {
    background: #b71c1c;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(229, 57, 53, 0.3);
}

.contacto-info-card .btn {
    width: 100%;
    margin-top: auto;
    padding: 0.8rem 1rem;
    font-size: 0.9rem;
    font-weight: 700;
    border-radius: 12px;
    transition: all 0.2s ease;
    text-decoration: none;
    display: inline-flex;
    justify-content: center;
    align-items: center;
}

.contacto-info-card h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.contacto-info-card p {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.contact-email-display {
    font-weight: 700;
    color: var(--secondary);
    background: #f1f5f9;
    padding: 0.5rem 0.75rem;
    border-radius: 8px;
    display: inline-block;
    font-size: 0.9rem !important;
}

.contacto-layout {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 2.5rem;
    background: var(--surface);
    padding: 3rem;
    border-radius: 30px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--border);
}

@media (max-width: 1024px) {
    .contacto-info-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .contacto-layout {
        grid-template-columns: 1fr;
        padding: 2rem;
    }
}

@media (max-width: 600px) {
    .contacto-info-grid {
        grid-template-columns: 1fr;
    }
    .contacto-hero {
        padding: 1.65rem 0 2rem;
        margin-bottom: -1.85rem;
        border-radius: 0 0 22px 22px;
    }
    .contacto-hero h1 {
        font-size: 1.75rem;
    }
    .contacto-hero-lead {
        font-size: 0.9rem;
        padding: 0 0.5rem;
    }
}

/* Utilidades de animación por scroll (movido para evitar duplicidad) */

.alquiler-form-card {
    max-width: 520px;
    margin: 0 0 0 auto;
}

.alquiler-form-card .form-contacto label {
    font-size: 0.85rem;
}

.alquiler-form-card .form-contacto input,
.alquiler-form-card .form-contacto select,
.alquiler-form-card .form-contacto textarea {
    font-size: 0.9rem;
}

.alquiler-form-intro {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 0.75rem;
}

.alquiler-form-card .form-contacto {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.alquiler-form-card .form-contacto .form-row-2 {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.6rem;
}

@media (max-width: 640px) {
    .alquiler-form-card .form-contacto .form-row-2 {
        grid-template-columns: 1fr;
    }
}

.whatsapp-icon-wrap {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: #25d366;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.whatsapp-icon-wrap svg {
    width: 40px;
    height: 40px;
}

.contacto-whatsapp-card h2,
.contacto-form-card h2 {
    font-size: 1.2rem;
    margin-bottom: 0.35rem;
    color: #111827;
}

.contacto-whatsapp-card p,
.contacto-form-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 1.25rem;
}

.contacto-whatsapp-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: center;
}

.contacto-whatsapp-info {
    margin-top: 1.25rem;
    border-top: 1px solid var(--border);
    padding-top: 0.9rem;
}

.contacto-whatsapp-linea {
    font-size: 0.88rem;
    color: var(--text-muted);
    margin-bottom: 0.25rem;
}

.contacto-whatsapp-linea strong {
    color: #111827;
}

.btn-whatsapp {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #25d366;
    color: #fff !important;
    padding: 0.85rem 1.75rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    box-shadow: 0 4px 14px rgba(37, 211, 102, 0.4);
    transition: background 0.2s, transform 0.15s;
}

.btn-whatsapp:hover {
    background: #20bd5a;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
}

.btn-map {
    background: #ffffff;
    color: #111827;
    border-color: var(--border);
    border-radius: 999px;
    padding: 0.75rem 1.4rem;
    font-size: 0.9rem;
    font-weight: 600;
    box-shadow: 0 2px 10px rgba(15, 23, 42, 0.06);
}

.btn-map:hover {
    background: var(--surface-hover);
    border-color: var(--accent);
    color: var(--accent);
}

.form-contacto label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.35rem;
    font-size: 0.9rem;
}

.form-contacto input,
.form-contacto textarea {
    width: 100%;
    padding: 0.65rem 0.85rem;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 1rem;
    margin-bottom: 1rem;
    font-family: inherit;
}

.form-contacto textarea {
    resize: vertical;
    min-height: 120px;
}

.btn-enviar {
    margin-top: 0.25rem;
}

.contacto-ok {
    color: #059669;
    font-weight: 600;
    margin-top: 1rem;
}

.contacto-error {
    color: var(--accent);
    margin-top: 1rem;
}

/* Utilidades de animación por scroll */
[data-animate] {
    opacity: 0;
    transform: translateY(24px) scale(0.98);
    filter: blur(4px);
    transition: opacity 0.6s ease, transform 0.6s ease, filter 0.6s ease;
}

[data-animate].is-visible {
    opacity: 1;
    transform: none;
    filter: none;
}

[data-animate="fade-up-slow"] {
    transition-duration: 0.8s;
}

/* Microanimaciones sección Alquiler de plantas */
.seccion-alquiler {
    position: relative;
    overflow: hidden;
    padding: 0;
}

.alquiler-hero {
    position: relative;
    padding: 3.5rem 0 4rem;
    min-height: 320px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    background: #ffffff; /* Ajustado para que no se vea el azul de fondo */
    background-image: linear-gradient(90deg, rgba(17, 24, 39, 0.95) 0%, rgba(17, 24, 39, 0.7) 40%, transparent 100%), url('../images/banners/banner-alquiler-hero.jpeg');
    background-size: contain;
    background-position: right center;
    background-repeat: no-repeat;
    background-attachment: scroll;
    color: #ffffff;
    border-radius: 0 0 40px 40px;
    margin-bottom: 2.5rem;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.theme-dark .alquiler-hero {
    background: #020617;
    background-image: linear-gradient(90deg, rgba(2, 6, 23, 1) 0%, rgba(2, 6, 23, 0.8) 40%, transparent 100%), url('../images/banners/banner-alquiler-hero.jpeg');
}

.alquiler-hero .container {
    max-width: 1600px; 
    padding-left: 6rem; /* Ajustado para que no se vea arrinconado */
    margin: 0; 
}

.alquiler-hero-content {
    max-width: 580px; /* Reducido para que la letra no toque las plantas */
    position: relative;
    z-index: 2;
}

#alquilerFormContainer {
    scroll-margin-top: 110px;
}

.alquiler-hero h1 {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 1rem;
    color: #ffffff;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.alquiler-hero .alquiler-hero-lead {
    font-size: 1.1rem;
    line-height: 1.5;
    color: #cbd5e1;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}

.alquiler-hero-kicker {
    display: inline-block;
    padding: 0.35rem 1rem;
    background: rgba(229, 57, 53, 0.2);
    color: #ff8a80;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    border-radius: 999px;
    margin-bottom: 1rem;
    backdrop-filter: blur(8px);
    border: 1px solid rgba(229, 57, 53, 0.3);
}

.alquiler-features-grid {
    display: flex;
    gap: 0;
    margin-bottom: 4rem;
    background: #ffffff;
    border-radius: 24px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.theme-dark .alquiler-features-grid {
    background: rgba(15, 23, 42, 0.6);
    border-color: rgba(255, 255, 255, 0.05);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.3);
}

@media (max-width: 1024px) {
    .alquiler-features-grid {
        flex-direction: column;
        border-radius: 24px;
    }
}

.alquiler-feature-card {
    flex: 1;
    background: transparent;
    padding: 2rem 1.75rem;
    border: none;
    border-right: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: none;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.theme-dark .alquiler-feature-card {
    border-right-color: rgba(255, 255, 255, 0.05);
}

.alquiler-feature-card:last-child {
    border-right: none;
}

@media (max-width: 1024px) {
    .alquiler-feature-card {
        border-right: none;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    }
    .alquiler-feature-card:last-child {
        border-bottom: none;
    }
}

.theme-dark .alquiler-feature-card {
    background: rgba(15, 23, 42, 0.6);
    border-color: rgba(255, 255, 255, 0.05);
}

.alquiler-feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 45px rgba(229, 57, 53, 0.12);
    border-color: rgba(229, 57, 53, 0.2);
}

.alquiler-feature-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 0.75rem;
}

.theme-dark .alquiler-feature-card h3 {
    color: #f8fafc;
}

.alquiler-feature-card p {
    font-size: 0.95rem;
    color: #64748b;
    line-height: 1.6;
}

.theme-dark .alquiler-feature-card p {
    color: #94a3b8;
}

.alquiler-feature-icon {
    width: 48px;
    height: 48px;
    background: rgba(229, 57, 53, 0.1);
    color: #e53935;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    margin-bottom: 1.25rem;
    font-weight: 700;
}

.alquiler-gallery-mini {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-top: 2rem;
}

.alquiler-gallery-mini img {
    width: 100%;
    height: 120px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.alquiler-main-img {
    position: relative;
    /* animation: alquiler-float 12s ease-in-out infinite alternate; */
}

.alquiler-main-img::after {
    content: '';
    position: absolute;
    inset: auto 12% -18px 12%;
    height: 22px;
    background: radial-gradient(ellipse at center, rgba(15, 23, 42, 0.4), transparent 70%);
    opacity: 0.6;
    filter: blur(4px);
}

.alquiler-thumb {
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.alquiler-thumb:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 14px 32px rgba(15, 23, 42, 0.28);
}

.btn-alquiler-whatsapp {
    position: relative;
    overflow: hidden;
}

.btn-alquiler-whatsapp::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -30%;
    width: 40%;
    height: 200%;
    background: linear-gradient(120deg, rgba(255, 255, 255, 0.7), transparent);
    transform: translateX(-120%);
    opacity: 0;
}

.btn-alquiler-whatsapp:hover::before {
    opacity: 1;
    animation: alquiler-shine 0.8s ease;
}

.btn-alquiler-whatsapp:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 24px rgba(37, 211, 102, 0.55);
}

@keyframes alquiler-float {
    0% {
        transform: translateY(0) scale(1);
    }

    50% {
        transform: translateY(-6px) scale(1.01);
    }

    100% {
        transform: translateY(4px) scale(1);
    }
}

@keyframes alquiler-shine {
    from {
        transform: translateX(-120%);
    }

    to {
        transform: translateX(260%);
    }
}

/* Página Nosotros */
.pagina-nosotros {
    padding: 3.2rem 0 3.8rem;
}

.seccion-nosotros-hero {
    padding-top: 2.5rem;
    padding-bottom: 1.5rem;
    background: linear-gradient(135deg, #f9fafb 0%, #eef2ff 40%, #f5f5ff 100%);
}

.nosotros-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
    gap: 2.5rem;
    align-items: center;
}

.nosotros-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.2rem 0.75rem;
    border-radius: 999px;
    background: rgba(229, 57, 53, 0.08);
    color: var(--accent);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
}

/* Nosotros Innovador (Sin Banner) */
.nosotros-story-intro {
    padding: 4rem 0; /* Reduced from 6rem */
    background: var(--background);
    position: relative;
    overflow: hidden;
}

.nosotros-story-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 4rem;
    align-items: center;
}

.nosotros-story-content h1 {
    font-size: 2.2rem; /* Was 2.5rem or similar */
    line-height: 1.2;
    font-weight: 900;
    margin-bottom: 1rem;
    letter-spacing: -0.04em;
    color: #1e293b;
}

.nosotros-story-content h1 span {
    display: block;
    color: var(--accent);
    /* Texto con stroke o estilo diferente para innovar */
    -webkit-text-stroke: 1px var(--accent);
    -webkit-text-fill-color: transparent;
}

.nosotros-story-lead {
    font-size: 1.25rem;
    line-height: 1.6;
    color: #475569;
    max-width: 540px;
}

.nosotros-story-intro .nosotros-story-lead {
    font-size: 1rem; /* Reduced from default */
    max-width: 500px;
}

.nosotros-story-visual img {
    max-width: 85%; /* Reduced for more compact look */
    height: auto;
    margin-left: auto;
    display: block;
}

@media (max-width: 768px) {
    .nosotros-story-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    .nosotros-story-content h1 {
        font-size: 2.2rem;
    }
    .nosotros-story-lead {
        margin: 0 auto;
    }
}

.nosotros-story-visual {
    position: relative;
}

.nosotros-visual-mask {
    width: 100%;
    aspect-ratio: 1;
    background: #f1f5f9;
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%; /* Forma orgánica (blob) */
    overflow: hidden;
    box-shadow: 20px 20px 60px rgba(0, 0, 0, 0.05);
    animation: blob-morph 15s linear infinite alternate;
}

@keyframes blob-morph {
    0% { border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%; }
    50% { border-radius: 50% 50% 33% 67% / 55% 27% 73% 45%; }
    100% { border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%; }
}

.nosotros-visual-mask img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.1);
}

/* Sección Números */
.nosotros-stats-section {
    padding: 4rem 0;
    background: #0f172a;
    color: #fff;
    border-radius: 40px;
    margin: 2rem 0;
}

.nosotros-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    text-align: center;
    gap: 2rem;
}

@media (max-width: 768px) {
    .nosotros-stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

@media (max-width: 480px) {
    .nosotros-stats-grid {
        grid-template-columns: 1fr;
    }
}

.stat-item h2 {
    font-size: 3rem;
    font-weight: 800;
    color: var(--accent);
    margin-bottom: 0.25rem;
}

.stat-item p {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    opacity: 0.7;
}

.seccion-nosotros-bloques {
    padding: 5rem 0;
}

.nosotros-bloques-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
}

.nosotros-card {
    background: var(--surface);
    border: 1px solid var(--border);
    padding: 3rem 2rem;
    border-radius: 32px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.02);
}

.nosotros-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 30px 60px rgba(0,0,0,0.08);
    border-color: var(--accent);
}

.nosotros-card-media {
    width: 80px;
    height: 80px;
    margin-bottom: 2rem;
    background: rgba(229, 57, 53, 0.05);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--accent);
}

/* Bloque foto de equipo */
.seccion-nosotros-equipo {
    padding-top: 0.5rem;
    padding-bottom: 3.2rem;
}

.nosotros-equipo-frame {
    max-width: 960px;
    margin: 0 auto;
    border-radius: 32px;
    padding: 1.5rem;
    background: radial-gradient(circle at top left, rgba(229, 57, 53, 0.18), transparent 55%),
        radial-gradient(circle at bottom right, rgba(37, 99, 235, 0.18), transparent 55%),
        #0f172a;
    box-shadow: 0 22px 60px rgba(15, 23, 42, 0.55);
}

.nosotros-equipo-frame-inner {
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid rgba(148, 163, 184, 0.5);
    background: #020617;
}

.nosotros-equipo-frame-inner img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

@media (max-width: 900px) {
    .nosotros-hero-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .nosotros-hero-media {
        justify-content: flex-start;
    }

    .nosotros-bloques-grid {
        grid-template-columns: minmax(0, 1fr);
    }
}

/* Footer */
.footer {
    margin-top: auto;
    background: #111827;
    color: #e5e7eb;
    font-size: 0.9rem;
}

.footer-wave {
    width: 100%;
    height: 60px;
    display: block;
    color: #111827;
}

.footer-top {
    padding-top: 1rem;
    padding-bottom: 1.5rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
    gap: 2.5rem;
    align-items: flex-start;
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: minmax(0, 1fr);
    }
}

.footer-brand-block {
    max-width: 360px;
}

.footer-logo-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: inherit;
}



.footer-brand-text {
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.footer-description {
    margin-top: 0.5rem;
    font-size: 0.85rem;
    color: #9ca3af;
}

.footer-links-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
}

@media (max-width: 768px) {
    .footer-links-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.footer-col-title {
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #f97316;
    margin-bottom: 0.5rem;
}

.footer-col ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-col li+li {
    margin-top: 0.25rem;
}

.footer-col a {
    color: #e5e7eb;
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.15s ease;
}

.footer-col a:hover {
    color: var(--accent);
}

.footer-redes-icons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.footer-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    transition: background 0.2s, color 0.2s;
}

.footer-icon:hover {
    background: var(--accent);
    color: #fff;
}

.footer-icon svg {
    width: 20px;
    height: 20px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1rem 0;
    text-align: center;
    color: #9ca3af;
    font-size: 0.85rem;
}

.footer-bottom a {
    color: var(--accent);
    text-decoration: none;
}

.footer-bottom a:hover {
    text-decoration: underline;
}

.footer-bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.footer-bottom p+p {
    margin-top: 0.35rem;
}

.main {
    min-height: calc(100vh - 140px);
}

/* Botón flotante "Habla con nosotros" - Diseño Premium Glassmorphism */
.floating-chat {
    position: fixed;
    right: 1.5rem;
    bottom: 2rem;
    z-index: 1000;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease;
}

/* Estado cuando llega al footer: se desplaza hacia arriba */
.floating-chat.at-footer {
    transform: translateY(-280px); /* Aumentado de -240px para asegurar que limpia las redes sociales */
}

@media (max-width: 768px) {
    .floating-chat {
        right: 1rem;
        bottom: 1.5rem;
    }
    .floating-chat.at-footer {
        transform: translateY(-320px);
    }
}

.floating-chat-toggle {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    color: #000000;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 999px;
    padding: 0.65rem 1.25rem;
    font-weight: 700;
    font-size: 0.85rem;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    gap: 0.6rem;
    transition: all 0.3s ease;
}

@media (max-width: 600px) {
    .floating-chat-toggle span {
        display: none; /* Hide text on small mobiles */
    }
    .floating-chat-toggle {
        padding: 0.8rem;
        aspect-ratio: 1 / 1;
        justify-content: center;
    }
}

.floating-chat-toggle i {
    font-size: 1.1rem;
    color: #000000;
}

.floating-chat-toggle:hover {
    background: #ffffff;
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
    border-color: rgba(0, 0, 0, 0.2);
}

.floating-chat-toggle:active {
    transform: scale(0.98);
}

.floating-chat-menu {
    position: absolute;
    right: 0;
    bottom: 4.5rem;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    padding: 0.8rem;
    display: none;
    min-width: 220px;
    transform-origin: bottom right;
    animation: menuAppear 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes menuAppear {
    from { opacity: 0; transform: scale(0.9) translateY(10px); }
    to { opacity: 1; transform: scale(1) translateY(0); }
}

.floating-chat-menu.is-open {
    display: block;
}

.floating-chat-menu a {
    display: flex;
    align-items: center;
    padding: 0.7rem 1rem;
    text-decoration: none;
    color: #111827;
    font-size: 0.95rem;
    font-weight: 500;
    border-radius: 12px;
    transition: all 0.2s ease;
}

.floating-chat-menu a:hover {
    background: rgba(17, 24, 39, 0.05);
    color: var(--accent);
    padding-left: 1.2rem;
}

/* Ajuste para el botón de cotización también */
.floating-cart {
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.floating-cart.at-footer {
    transform: translateY(-280px); /* Símétrico al chat */
}
@media (max-width: 768px) {
    .floating-cart.at-footer {
        transform: translateY(-320px);
    }
}

/* Cuando el chat está abierto, ocultar temporalmente el botón de cotización para que no se superponga */
.chat-open .floating-cart {
    opacity: 0;
    pointer-events: none;
}

/* Chat flotante Asistente Susequid */
.assistant-chat-shell {
    position: fixed;
    right: 1.5rem;
    bottom: 8rem;
    /* por encima de Mi cotización y Habla con nosotros */
    z-index: 60;
}

@media (max-width: 768px) {
    .assistant-chat-shell {
        right: 1.25rem;
        bottom: 9.5rem;
    }
}

.assistant-chat-toggle {
    width: 52px;
    height: 52px;
    border-radius: 999px;
    border: none;
    background: #111827;
    color: #f9fafb;
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.55);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.assistant-chat-avatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 999px;
    background: var(--accent);
    color: #fff;
    font-size: 0.8rem;
    font-weight: 700;
}

.assistant-chat-avatar.small {
    width: 28px;
    height: 28px;
    font-size: 0.75rem;
}

.assistant-chat-window {
    position: absolute;
    right: 0;
    bottom: 3.6rem;
    width: 320px;
    max-height: 420px;
    background: #ffffff;
    border-radius: 18px;
    box-shadow: 0 22px 60px rgba(15, 23, 42, 0.45);
    display: none;
    flex-direction: column;
    overflow: hidden;
}

.assistant-chat-shell.is-open .assistant-chat-window {
    display: flex;
}

.assistant-chat-header {
    padding: 0.75rem 0.9rem;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #0f172a;
    color: #f9fafb;
}

.assistant-chat-header-main {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.assistant-chat-title {
    font-size: 0.9rem;
    font-weight: 700;
}

.assistant-chat-subtitle {
    font-size: 0.75rem;
    opacity: 0.8;
}

.assistant-chat-close {
    background: transparent;
    border: none;
    color: #e5e7eb;
    font-size: 1.1rem;
    cursor: pointer;
}

.assistant-chat-body {
    padding: 0.7rem 0.8rem;
    flex: 1;
    overflow-y: auto;
    background: #f9fafb;
}

.assistant-chat-messages {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.assistant-msg,
.user-msg {
    display: flex;
}

.assistant-msg {
    justify-content: flex-start;
}

.user-msg {
    justify-content: flex-end;
}

.assistant-msg-bubble,
.user-msg-bubble {
    max-width: 85%;
    padding: 0.5rem 0.7rem;
    border-radius: 14px;
    font-size: 0.85rem;
    line-height: 1.4;
}

.assistant-msg-bubble {
    background: #e5e7eb;
    color: #111827;
    border-bottom-left-radius: 4px;
}

.user-msg-bubble {
    background: var(--accent);
    color: #ffffff;
    border-bottom-right-radius: 4px;
}

.assistant-chat-form {
    display: flex;
    border-top: 1px solid var(--border);
}

.assistant-chat-input {
    flex: 1;
    border: none;
    padding: 0.6rem 0.7rem;
    font-size: 0.85rem;
    font-family: inherit;
}

.assistant-chat-input:focus {
    outline: none;
}

.assistant-chat-send {
    border: none;
    background: var(--accent);
    color: #fff;
    padding: 0 0.9rem;
    font-size: 0.85rem;
    cursor: pointer;
}

.assistant-chat-send:hover {
    background: var(--accent-hover);
}

.assistant-products {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.assistant-product-card {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    background: #f3f4f6;
    border-radius: 12px;
    padding: 0.35rem 0.45rem;
}

.assistant-product-img {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    overflow: hidden;
    background: #e5e7eb;
    flex-shrink: 0;
}

.assistant-product-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.assistant-product-info {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
}

.assistant-product-title {
    font-size: 0.8rem;
    font-weight: 600;
    color: #111827;
}

.assistant-product-link {
    font-size: 0.75rem;
    color: var(--accent);
    text-decoration: none;
}

.assistant-product-link:hover {
    text-decoration: underline;
}

.assistant-product-advisor {
    display: inline-block;
    margin-top: 0.3rem;
    font-size: 0.75rem;
    color: var(--accent);
    text-decoration: none;
    font-weight: 600;
}

.assistant-product-advisor:hover {
    text-decoration: underline;
}

/* Cabecera categoría: imagen compacta + título (página de categoría) */
.categoria-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border);
}

.categoria-header-img {
    flex-shrink: 0;
    width: 140px;
    height: 140px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.2);
    background: var(--surface-hover);
}

.categoria-header-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.categoria-header-text {
    flex: 1;
    min-width: 0;
}

.categoria-header-text h1 {
    margin-bottom: 0.5rem;
}

.categoria-header-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 0;
}

.categoria-card-desc {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
    line-height: 1.35;
}

.header-top {
    background: #ffffff; /* Changed from #0f172a */
    color: #1e293b;     /* Darker text for white background */
    padding: 0.85rem 0 0.65rem;
    text-align: center;
}

/* Página Repuestos (categoría padre) */
.repuestos-subtitulo {
    font-size: 1.15rem;
    margin: 1.5rem 0 1rem;
    color: var(--text);
}

.repuestos-aviso {
    padding: 1.5rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    margin-top: 1rem;
}

.repuestos-aviso ol {
    margin: 0.75rem 0;
    padding-left: 1.5rem;
}

.repuestos-aviso a {
    color: var(--accent);
}

@media (max-width: 560px) {
    .categoria-header {
        flex-direction: column;
        text-align: center;
    }

    .categoria-header-img {
        width: 120px;
        height: 120px;
    }
}

/* ========== Nuestros Servicios (Fichas Premium) ========== */
.seccion-servicios-premium {
    padding: 4rem 0 6rem;
    position: relative;
}

.seccion-servicios-premium::before {
    content: '';
    position: absolute;
    top: -50px;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 0%, rgba(229, 57, 53, 0.05), transparent 60%);
    z-index: -1;
}

.titulo-servicios {
    font-size: 2.2rem;
    font-weight: 800;
    color: #111827;
    margin-bottom: 3rem;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.theme-dark .titulo-servicios {
    color: #ffffff;
}

.titulo-servicios::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #e53935, #ff8a80);
    margin-top: 0.8rem;
    border-radius: 999px;
}

.servicios-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1150px;
    margin: 0 auto;
}

@media (max-width: 900px) {
    .servicios-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        max-width: 500px;
    }
}

.servicio-ficha {
    background: #ffffff;
    border-radius: 24px;
    position: relative;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
}

.theme-dark .servicio-ficha {
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.servicio-ficha:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(229, 57, 53, 0.15);
    border-color: rgba(229, 57, 53, 0.2);
}

.theme-dark .servicio-ficha:hover {
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4), 0 0 20px rgba(229, 57, 53, 0.1);
    border-color: rgba(229, 57, 53, 0.4);
}

.servicio-ficha-link {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    height: 100%;
}

.servicio-ficha-img-wrap {
    height: 220px;
    overflow: hidden;
    position: relative;
    border-radius: 24px 24px 0 0;
    clip-path: polygon(0 0, 100% 0, 100% 90%, 0 100%);
}

.servicio-ficha-img-wrap::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(0, 0, 0, 0.6) 100%);
}

.servicio-ficha-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.servicio-ficha:hover .servicio-ficha-img-wrap img {
    transform: scale(1.08);
}

.servicio-ficha-icon {
    position: absolute;
    top: 180px;
    right: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    font-size: 1.8rem;
    background: linear-gradient(135deg, #e53935, #b71c1c);
    color: #ffffff;
    border-radius: 16px;
    box-shadow: 0 8px 20px rgba(229, 57, 53, 0.4);
    z-index: 2;
    transform: rotate(-5deg);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.servicio-ficha:hover .servicio-ficha-icon {
    transform: rotate(0) scale(1.1);
}

.servicio-ficha-body {
    padding: 2.5rem 1.8rem 1.8rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.servicio-ficha-titulo {
    font-size: 1.25rem;
    font-weight: 800;
    color: #111827;
    margin-bottom: 0.8rem;
}

.theme-dark .servicio-ficha-titulo {
    color: #f8fafc;
}

.servicio-ficha-desc {
    font-size: 0.95rem;
    color: #4b5563;
    margin-bottom: 2rem;
    line-height: 1.6;
    flex: 1;
}

.theme-dark .servicio-ficha-desc {
    color: #cbd5e1;
}

.servicio-ficha .btn-ver-mas {
    align-self: flex-start;
    padding: 0.6rem 1.4rem;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 700;
    color: #e53935;
    background: rgba(229, 57, 53, 0.1);
    border: none;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.theme-dark .servicio-ficha .btn-ver-mas {
    color: #ff8a80;
    background: rgba(229, 57, 53, 0.15);
}

.servicio-ficha:hover .btn-ver-mas {
    background: linear-gradient(135deg, #e53935, #b71c1c);
    color: #ffffff;
    box-shadow: 0 6px 15px rgba(229, 57, 53, 0.3);
}

.theme-dark .servicio-ficha:hover .btn-ver-mas {
    background: linear-gradient(135deg, #ff5252, #e53935);
    color: #ffffff;
}

/* Variante sin imagen para la pagina de servicios */
.servicios-grid--info .servicio-ficha {
    min-height: 100%;
}

.servicios-grid--info .servicio-ficha-body {
    padding: 1.5rem 1.35rem 1.3rem;
}

.servicios-grid--info .servicio-ficha-icon {
    position: static;
    width: 48px;
    height: 48px;
    font-size: 1.35rem;
    margin-bottom: 0.9rem;
    transform: none;
    border-radius: 12px;
    box-shadow: 0 6px 16px rgba(229, 57, 53, 0.3);
}

.servicios-grid--info .servicio-ficha:hover .servicio-ficha-icon {
    transform: translateY(-2px);
}

.servicios-grid--info .servicio-ficha-desc {
    margin-bottom: 1.3rem;
}

/* Alquiler de plantas */
.seccion-alquiler {
    padding-top: 3rem;
    padding-bottom: 3rem;
}

.alquiler-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    gap: 2.5rem;
    align-items: center;
}

@media (max-width: 900px) {
    .alquiler-hero-grid {
        grid-template-columns: 1fr;
    }
}

.alquiler-copy h1 {
    font-size: 2rem;
    margin-bottom: 0.75rem;
}

.alquiler-kicker {
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.8rem;
    color: var(--accent);
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.alquiler-lead {
    font-size: 1rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.alquiler-list {
    margin: 0 0 1.5rem;
    padding-left: 1.1rem;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.alquiler-list li {
    margin-bottom: 0.25rem;
}

.btn-alquiler-whatsapp {
    margin-top: 0.5rem;
}

.alquiler-gallery {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.alquiler-main-img {
    border-radius: 22px;
    overflow: hidden;
    background: var(--surface-hover);
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.3);
    min-height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.alquiler-main-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.alquiler-main-placeholder {
    width: 100%;
    height: 220px;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.alquiler-thumbs {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.75rem;
}

.alquiler-thumb {
    border-radius: 16px;
    overflow: hidden;
    background: var(--surface-hover);
    min-height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.alquiler-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.seccion-alquiler-form {
    padding-top: 0;
    padding-bottom: 3.5rem;
}

.alquiler-form-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.1fr);
    gap: 2.5rem;
    align-items: flex-start;
}

@media (max-width: 900px) {
    .alquiler-form-layout {
        grid-template-columns: 1fr;
    }
}

.alquiler-form-copy h2 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
}

.alquiler-form-copy p {
    color: var(--text-muted);
    margin-bottom: 0.75rem;
}

.alquiler-form-list {
    margin: 0;
    padding-left: 1.1rem;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.alquiler-form-list li {
    margin-bottom: 0.25rem;
}

.alquiler-form-card h3 {
    margin-bottom: 0.75rem;
}

.btn-ver-mas {
    display: inline-block;
    background: var(--accent);
    color: #fff;
    padding: 0.5rem 1.25rem;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

/* ========== Fichas detalle (Preventivo / Correctivo - Diseño Premium Zig-Zag) ========== */
.seccion-intro {
    text-align: center;
    color: #4b5563;
    max-width: 700px;
    margin: 0 auto 3rem;
    font-size: 1.15rem;
    line-height: 1.6;
}

.theme-dark .seccion-intro {
    color: #cbd5e1;
}

.premium-zigzag {
    padding-bottom: 4rem;
}

.premium-zigzag .servicios-detalle-grid {
    display: flex;
    flex-direction: column;
    gap: 4rem;
    max-width: 1000px;
    margin: 0 auto;
}

.premium-zigzag .servicio-detalle-ficha {
    display: flex;
    flex-direction: row;
    background: #ffffff;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.04);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.theme-dark .premium-zigzag .servicio-detalle-ficha {
    background: rgba(15, 23, 42, 0.4);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.premium-zigzag .servicio-detalle-ficha:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(229, 57, 53, 0.1);
}

.theme-dark .premium-zigzag .servicio-detalle-ficha:hover {
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4), 0 0 30px rgba(229, 57, 53, 0.1);
}

/* Zig-Zag invertido en pares */
.premium-zigzag .servicio-detalle-ficha:nth-child(even) {
    flex-direction: row-reverse;
}

.premium-zigzag .servicio-detalle-img {
    flex: 1;
    position: relative;
    min-height: 350px;
    overflow: hidden;
}

.premium-zigzag .servicio-detalle-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.premium-zigzag .servicio-detalle-ficha:hover .servicio-detalle-img img {
    transform: scale(1.08);
}

.premium-zigzag .servicio-detalle-placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(15, 23, 42, 0.8);
    color: #94a3b8;
    font-size: 0.9rem;
}

.premium-zigzag .servicio-detalle-body {
    flex: 1.2;
    padding: 3rem 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.premium-zigzag .servicio-detalle-body h3 {
    font-size: 1.8rem;
    font-weight: 800;
    color: #111827;
    margin-bottom: 1rem;
}

.theme-dark .premium-zigzag .servicio-detalle-body h3 {
    color: #f8fafc;
}

.premium-zigzag .servicio-detalle-body p {
    font-size: 1.05rem;
    color: #4b5563;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.theme-dark .premium-zigzag .servicio-detalle-body p {
    color: #cbd5e1;
}

.premium-zigzag .servicio-detalle-lista {
    list-style: none;
    margin-bottom: 2.5rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.premium-zigzag .servicio-detalle-lista li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.95rem;
    color: #374151;
    font-weight: 500;
}

.theme-dark .premium-zigzag .servicio-detalle-lista li {
    color: #e2e8f0;
}

.premium-zigzag .servicio-detalle-lista .ico {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    background: linear-gradient(135deg, #e53935, #b71c1c);
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(229, 57, 53, 0.3);
}

.premium-zigzag .btn-solicitar {
    align-self: flex-start;
    background: linear-gradient(135deg, #111827, #1f2937);
    color: #ffffff !important;
    padding: 0.8rem 1.8rem;
    border-radius: 999px;
    font-size: 0.95rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.theme-dark .premium-zigzag .btn-solicitar {
    background: linear-gradient(135deg, #e53935, #b71c1c);
    box-shadow: 0 8px 20px rgba(229, 57, 53, 0.3);
}

.premium-zigzag .btn-solicitar:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.theme-dark .premium-zigzag .btn-solicitar:hover {
    background: linear-gradient(135deg, #ff5252, #e53935);
    box-shadow: 0 12px 30px rgba(229, 57, 53, 0.5);
}

.premium-zigzag .servicio-detalle-actions {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    margin-top: 1.25rem;
    align-items: stretch;
}

.premium-zigzag .servicio-quote-form {
    margin: 0;
}

.premium-zigzag .servicio-quote-form .btn-primary {
    width: 100%;
    justify-content: center;
    text-align: center;
}

.premium-zigzag .servicio-wa-link {
    display: block;
    text-align: center;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--accent);
    text-decoration: none;
    padding: 0.35rem 0;
}

.premium-zigzag .servicio-wa-link:hover {
    text-decoration: underline;
}

@media (max-width: 900px) {

    .premium-zigzag .servicio-detalle-ficha,
    .premium-zigzag .servicio-detalle-ficha:nth-child(even) {
        flex-direction: column;
    }

    .premium-zigzag .servicio-detalle-img {
        min-height: 250px;
    }

    .premium-zigzag .servicio-detalle-body {
        padding: 2rem 1.5rem;
    }
}

@media (max-width: 600px) {
    .premium-zigzag .servicio-detalle-lista {
        grid-template-columns: 1fr;
    }
}
/* ========== Alquiler Carousel Gallery ========== */
.alquiler-carousel-viewport {
    position: relative;
    width: 100%;
    height: 340px;
    border-radius: 24px;
    overflow: hidden;
    margin-top: 2.5rem;
    box-shadow: 0 15px 45px rgba(0,0,0,0.1);
    border: 1px solid rgba(0,0,0,0.03);
    background: #f1f5f9;
}

.alquiler-carousel-track {
    display: flex;
    height: 100%;
    transition: transform 0.8s cubic-bezier(0.65, 0, 0.35, 1);
}

.alquiler-carousel-slide {
    min-width: 100%;
    height: 100%;
    position: relative;
}

.alquiler-carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.alquiler-carousel-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.4), transparent 60%);
}

.alquiler-carousel-dots {
    position: absolute;
    bottom: 1.2rem;
    right: 1.5rem;
    display: flex;
    gap: 0.5rem;
    z-index: 10;
}

.alquiler-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all 0.3s ease;
}

.alquiler-dot.active {
    background: #fff;
    width: 24px;
    border-radius: 4px;
}

/* Reutilizamos el label estilizado */
.alquiler-carousel-slide .alquiler-grid-label {
    bottom: 1.2rem;
    left: 1.5rem;
}

@media (max-width: 600px) {
    .alquiler-carousel-viewport {
        height: 250px;
    }
}

/* ========== Footer Premium ========== */
.footer {
    background: #111827;
    color: #ffffff;
    padding-top: 4rem;
    position: relative;
    overflow: hidden;
    border-top: 1px solid rgba(255, 255, 255, 0.08); /* Transición limpia */
}

.footer-top {
    padding-bottom: 4rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 3fr;
    gap: 4rem;
}

@media (max-width: 900px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

.footer-brand-block {
    max-width: 320px;
}

.footer-logo-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
    margin-bottom: 1.5rem;
}

.footer-logo-img {
    height: 50px;
    width: auto;
    background: transparent;
    mix-blend-mode: screen; /* Makes white background transparent on dark footers */
}

.footer-brand-text {
    font-size: 1.5rem;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: -0.02em;
}

.footer-description {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.footer-links-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

@media (max-width: 600px) {
    .footer-links-grid {
        grid-template-columns: 1fr;
    }
}

.footer-col-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1.5rem;
    position: relative;
}

.footer-col-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -0.5rem;
    width: 30px;
    height: 2px;
    background: var(--accent);
}

.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-col ul li {
    margin-bottom: 0.75rem;
}

.footer-col ul li a {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.footer-col ul li a:hover {
    color: var(--accent);
    padding-left: 5px;
}

.footer-bottom {
    padding: 2rem 0;
    background: #0b0f1a;
}

.footer-bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.4);
}

@media (max-width: 768px) {
    .footer-bottom-inner {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }
}

.footer-redes-icons {
    display: flex;
    gap: 1rem;
}

.footer-icon {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    color: #ffffff;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    font-size: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-icon:hover {
    background: var(--accent);
    color: #ffffff;
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(229, 57, 53, 0.3);
    border-color: transparent;
}
