/* 
 * Aseagro Vanguardia - Producto Single (Dark Tech Premium)
 * Este archivo gestiona el diseño específico de las páginas de producto individual
 */

.page-producto-single {
    background-color: var(--color-bg);
    color: var(--color-text);
    overflow: hidden;
    position: relative;
}

/* ==========================================================================
   HERO PRODUCTO
   ========================================================================== */
.crops-hero {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    padding: clamp(6rem, 15vh, 10rem) var(--space-md) clamp(4rem, 10vh, 6rem);
    background-color: #050505;
    background-image: 
        radial-gradient(circle at 100% 0%, rgba(0,169,224,0.08) 0%, transparent 50%),
        radial-gradient(circle at 0% 100%, rgba(121,192,0,0.05) 0%, transparent 40%);
    overflow: hidden;
}

.crops-hero__orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    z-index: 0;
    opacity: 0.5;
}

.crops-hero__orb--1 {
    top: -10%;
    right: -5%;
    width: 60vw;
    height: 60vw;
    max-width: 800px;
    max-height: 800px;
    background: radial-gradient(circle, rgba(0,169,224,0.15) 0%, rgba(0,0,0,0) 70%);
}

.crops-hero__orb--2 {
    bottom: -10%;
    left: -5%;
    width: 50vw;
    height: 50vw;
    max-width: 600px;
    max-height: 600px;
    background: radial-gradient(circle, rgba(121,192,0,0.1) 0%, rgba(0,0,0,0) 70%);
}

.crops-hero__overlay {
    position: absolute;
    inset: 0;
    background: 
        linear-gradient(to bottom, transparent, #050505),
        url('data:image/svg+xml;utf8,<svg width="20" height="20" xmlns="http://www.w3.org/2000/svg"><rect width="1" height="1" fill="rgba(255,255,255,0.03)"/></svg>') repeat;
    z-index: 1;
}

.crops-hero__inner {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: clamp(2rem, 5vw, 4rem);
    align-items: center;
}

@media (max-width: 991px) {
    .crops-hero__inner {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

.crops-hero__badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(0,169,224,0.1);
    border: 1px solid rgba(0,169,224,0.3);
    color: var(--color-primary);
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}

.crops-hero__title {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 800;
    line-height: 1.1;
    color: #fff;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.crops-hero__title em {
    font-style: normal;
    color: var(--color-primary);
    display: block;
}

.crops-hero__desc {
    font-size: clamp(1.1rem, 2vw, 1.25rem);
    color: rgba(255,255,255,0.7);
    line-height: 1.6;
    max-width: 600px;
    margin-bottom: 2.5rem;
}

@media (max-width: 991px) {
    .crops-hero__desc {
        margin-left: auto;
        margin-right: auto;
    }
}

.crops-hero__visual {
    position: relative;
}

.crops-hero__device {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 
        0 20px 50px rgba(0,0,0,0.5),
        0 0 0 1px rgba(255,255,255,0.05),
        0 0 40px rgba(0,169,224,0.2);
    transform: perspective(1000px) rotateY(-5deg) rotateX(5deg);
    transition: transform 0.5s ease;
}

.crops-hero__device:hover {
    transform: perspective(1000px) rotateY(0) rotateX(0);
}

.crops-hero__device img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* ==========================================================================
   PRODUCT TECH SECTIONS (Características/Problema)
   ========================================================================== */
.crops-tech {
    padding: clamp(4rem, 10vh, 8rem) var(--space-md);
    background-color: #050505;
    position: relative;
}

.crops-tech__inner {
    max-width: var(--container-width);
    margin: 0 auto;
}

.crops-section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto clamp(3rem, 8vh, 5rem);
}

.crops-section-header h2 {
    font-size: clamp(2rem, 4vw, 3.5rem);
    color: #fff;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    letter-spacing: -0.01em;
}

.crops-section-header h2 span {
    color: var(--color-primary);
    display: block;
}

.crops-section-header p {
    font-size: clamp(1.1rem, 2vw, 1.25rem);
    color: rgba(255,255,255,0.7);
    line-height: 1.6;
}

.crops-tech__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(3rem, 8vw, 6rem);
    align-items: center;
    margin-bottom: clamp(4rem, 10vh, 8rem);
}

.crops-tech__row:last-child {
    margin-bottom: 0;
}

.crops-tech__row--reverse {
    grid-template-columns: 1fr 1fr;
}

.crops-tech__row--reverse .crops-tech__content {
    grid-column: 1;
    grid-row: 1;
}

.crops-tech__row--reverse .crops-tech__media {
    grid-column: 2;
    grid-row: 1;
}

@media (max-width: 991px) {
    .crops-tech__row,
    .crops-tech__row--reverse {
        grid-template-columns: 1fr;
    }
    .crops-tech__row--reverse .crops-tech__content {
        grid-column: 1;
        grid-row: 2;
    }
    .crops-tech__row--reverse .crops-tech__media {
        grid-column: 1;
        grid-row: 1;
    }
}

.crops-tech__content h3 {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    color: #fff;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.crops-tech__content h3 span {
    color: var(--color-primary);
    display: block;
    font-weight: 400;
}

.crops-tech__content p {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.7);
    line-height: 1.7;
    margin-bottom: 2rem;
}

.crops-tech__list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.crops-tech__list-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.crops-tech__list-check {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(0,169,224,0.1);
    color: var(--color-primary);
    flex-shrink: 0;
    margin-top: 3px;
}

.crops-tech__list-check svg {
    width: 14px;
    height: 14px;
}

.crops-tech__list-text {
    font-size: 1.05rem;
    color: rgba(255,255,255,0.85);
    line-height: 1.6;
}

.crops-tech__list-text strong {
    color: #fff;
    font-weight: 600;
    display: block;
    margin-bottom: 0.2rem;
}

.crops-tech__media {
    position: relative;
    border-radius: 20px;
    box-shadow: 0 30px 60px rgba(0,0,0,0.5);
    border: 1px solid rgba(255,255,255,0.05);
}

.crops-tech__img-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
}

/* ==========================================================================
   INTEGRATION & CALL TO ACTION
   ========================================================================== */
.prod-integration {
    padding: clamp(4rem, 10vh, 8rem) var(--space-md);
    background-color: #030303;
    border-top: 1px solid rgba(255,255,255,0.05);
}

/* Botones Crops */
.crops-btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    background: var(--color-primary);
    color: #000;
    font-weight: 600;
    border-radius: 100px;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.05rem;
}

.crops-btn-primary:hover {
    background: #fff;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0,169,224,0.3);
}

.crops-btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    background: transparent;
    color: #fff;
    font-weight: 600;
    border-radius: 100px;
    border: 1px solid rgba(255,255,255,0.2);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.05rem;
}

.crops-btn-secondary:hover {
    background: rgba(255,255,255,0.05);
    border-color: rgba(255,255,255,0.4);
}

/* ==========================================================================
   ANIMATIONS
   ========================================================================== */
.crops-animate {
    opacity: 0;
    transition: all 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.crops-animate--up {
    transform: translateY(40px);
}

.crops-animate--left {
    transform: translateX(-40px);
}

.crops-animate--right {
    transform: translateX(40px);
}

.crops-animate.is-visible {
    opacity: 1;
    transform: translate(0);
}
