/* ============================================================
   Products Archive — /productos/
   ============================================================ */

/* ── Hero ─────────────────────────────────────────────────── */

.parch-hero {
    position: relative;
    z-index: 1;
    width: 100%;
    padding-top: calc(112px + clamp(3rem, 6vw, 6rem));
    padding-bottom: clamp(3rem, 5vw, 5rem);
    text-align: center;
}

.parch-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(
        ellipse 80% 60% at 50% 0%,
        rgba(255, 51, 0, 0.07) 0%,
        transparent 70%
    );
    pointer-events: none;
}

.parch-hero__inner {
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
    padding-left: clamp(1.25rem, 4vw, 3rem);
    padding-right: clamp(1.25rem, 4vw, 3rem);
    position: relative;
    z-index: 1;
}

/* Breadcrumb */
.parch-breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 0.8125rem;
    margin-bottom: 1.5rem;
}

.parch-breadcrumb__link {
    color: rgba(255, 255, 255, 0.4);
    text-decoration: none;
    transition: color 0.15s ease;
}

.parch-breadcrumb__link:hover {
    color: rgba(255, 255, 255, 0.75);
}

.parch-breadcrumb__sep {
    color: rgba(255, 255, 255, 0.2);
}

.parch-breadcrumb__current {
    color: rgba(255, 255, 255, 0.5);
}

/* Title */
.parch-hero__title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.03em;
    color: #fff;
    margin: 0 0 1.25rem 0;
}

.parch-hero__accent {
    color: #FF3300;
}

/* Subtitle */
.parch-hero__subtitle {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: rgba(255, 255, 255, 0.55);
    line-height: 1.55;
    margin: 0;
    max-width: 56ch;
    margin-left: auto;
    margin-right: auto;
}

/* ── Grid section ──────────────────────────────────────────── */

.parch-grid-section {
    position: relative;
    z-index: 1;
    padding-bottom: clamp(4rem, 8vw, 10rem);
}

.parch-container {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: clamp(1.25rem, 4vw, 3rem);
    padding-right: clamp(1.25rem, 4vw, 3rem);
}

/* Grid */
.parch-grid {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

/* ── Card ──────────────────────────────────────────────────── */

.parch-card {
    border-radius: 20px;
    overflow: hidden;
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.parch-card:hover {
    transform: translateY(-4px);
}

.parch-card__link {
    display: flex;
    flex-direction: column;
    height: 100%;
    text-decoration: none;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 20px;
    overflow: hidden;
    transition:
        border-color 0.25s ease,
        background 0.25s ease,
        box-shadow 0.25s ease;
}

.parch-card__link:hover {
    border-color: rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.35);
}

/* Card visual area */
.parch-card__visual {
    position: relative;
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.02);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    overflow: hidden;
}

.parch-card__visual::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(
        ellipse 80% 70% at 50% -10%,
        color-mix(in srgb, var(--card-accent, #FF3300) 18%, transparent) 0%,
        transparent 70%
    );
    pointer-events: none;
}

.parch-card__img {
    display: block;
    max-width: 90px;
    max-height: 90px;
    width: auto;
    height: auto;
    object-fit: contain;
    position: relative;
    z-index: 1;
    filter: drop-shadow(0 4px 16px rgba(0, 0, 0, 0.4));
}

.parch-card__img-placeholder {
    color: rgba(255, 255, 255, 0.15);
    position: relative;
    z-index: 1;
}

/* Card body */
.parch-card__body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 1.5rem;
    gap: 0.625rem;
}

/* Provider badge */
.parch-card__provider {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.parch-card__provider-label {
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.35);
}

.parch-card__provider-logo {
    display: block;
    max-height: 18px;
    width: auto;
    max-width: 80px;
    object-fit: contain;
    opacity: 0.6;
    filter: brightness(0) invert(1);
}

/* Title */
.parch-card__title {
    font-size: clamp(1.125rem, 2vw, 1.375rem);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin: 0;
    color: #FF3300; /* fallback, overridden by inline style */
}

/* Tagline */
.parch-card__tagline {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.5;
    margin: 0;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* CTA */
.parch-card__cta {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    font-size: 0.8125rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.4);
    margin-top: 0.5rem;
    transition: color 0.2s ease, gap 0.2s ease;
}

.parch-card__link:hover .parch-card__cta {
    color: #FF3300;
    gap: 0.625rem;
}

/* ── Empty state ──────────────────────────────────────────── */

.parch-empty {
    text-align: center;
    padding: 4rem 2rem;
    color: rgba(255, 255, 255, 0.35);
    font-size: 1rem;
}

/* ── Responsive ───────────────────────────────────────────── */

@media (max-width: 1024px) {
    .parch-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .parch-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .parch-card__visual {
        height: 140px;
    }

    .parch-hero__title {
        font-size: clamp(2rem, 8vw, 3rem);
    }
}
