/* ============================================
   PÁGINA TECNOLOGÍA - MEDIDAS EXACTAS
   Referencia: TECNOLOGIA_DISEÑO.jpg
   ============================================ */

/* RESET */
.ap-tech-hero,
.ap-tech-section-intro,
.ap-tech-section-origin,
.ap-tech-section-approach,
.ap-tech-section-minerals,
.ap-tech-section-footer {
    margin: 0;
    padding: 0;
}

/* ============================================
   SECCIÓN 1: HERO
   ============================================ */
.ap-tech-hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    overflow: hidden;
}

.ap-tech-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: 1;
}

.ap-tech-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(20deg, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.3) 53%);
    z-index: 2;
}

.ap-tech-hero-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 40px 60px;
    height: 100%;
    position: relative;
}

/* Logo pequeño arriba izquierda */
.ap-tech-logo-top-wrapper {
    position: absolute;
    top: 40px;
    left: 60px;
}

.ap-tech-logo-top {
    width: 160px;
    height: auto;
}

/* Contenedor de texto (50% izquierda, centrado verticalmente) */
.ap-tech-hero-text {
    position: absolute;
    left: 60px;
    top: 50%;
    transform: translateY(-50%);
    max-width: 50%;
    align-items: center;
    justify-content: center;
}

.ap-tech-hero-title {
    font-family: var(--ap-font-heading, 'Raleway', sans-serif);
    font-size: 1.8rem;
    font-weight: 700;
    color: #f4e5a1;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin: 0 0 20px 0;
    line-height: 1.2;
    text-align: center;
}

.ap-tech-logo-large {
    width: 540px;
    height: auto;
    margin: 0 0 30px 0px;
    display: block;
}

.ap-tech-hero-subtitle {
    font-family: var(--ap-font-body, 'Acumin Pro', sans-serif);
    font-size: 0.95rem;
    font-weight: 300;
    color:var(--ast-border-color);   
    line-height: 1.8;
    margin: 0;
    text-align: center;
}

/* ============================================
   CONTENEDORES GLOBALES
   ============================================ */
.ap-tech-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 8%;
}

.ap-tech-container-wide {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 10%;
}
/* ============================================
   LÍNEAS DECORATIVAS DE SEPARACIÓN
   Degradado dorado: Transparente → Dorado → Transparente
   ============================================ */

/**
 * CONTENEDOR DE LÍNEA DECORATIVA
 * - background: Negro para mantener coherencia
 * - padding-block: Espaciado vertical (40px arriba y abajo)
 * - width: 100%
 * - RAZÓN: Separador visual premium entre secciones
 */
.ap-tech-divider {
    background: #000000;
    padding-block: 20px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/**
 * LÍNEA CON DEGRADADO DORADO
 * - width: 100% del contenedor padre
 * - height: 2px (grosor de la línea)
 * - background: Degradado dorado horizontal
 * - Dirección: Transparente (izq) → Dorado (centro) → Transparente (der)
 * - max-width: 1400px para no extenderse demasiado en pantallas grandes
 * - margin: 0 auto para centrar
 * - RAZÓN: Efecto premium y elegante según imagen de referencia
 */
.ap-tech-divider-line {
    width: 100%;
    max-width: 1400px;
    height: 4px;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(212, 175, 55, 0.2) 15%,
        rgba(212, 175, 55, 0.8) 30%,
        var(--ap-color-gold, #d4af37) 50%,
        rgba(212, 175, 55, 0.8) 70%,
        rgba(212, 175, 55, 0.2) 85%,
        transparent 100%
    );
    margin: 0 auto;
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.3);
}
.ap-product-line-top,
.ap-product-line-bottom {
    height: 8px;
    width: 100%;
    background: linear-gradient(90deg, 
        #8B6F3F 0%, 
        #d4af37 25%, 
        #f4e5a1 50%, 
        #d4af37 75%, 
        #8B6F3F 100%
    );
}
/* ============================================
   RESPONSIVE - MÓVIL
   ============================================ */
@media (max-width: 768px) {
    /**
     * Reducir padding vertical en móvil
     */
    .ap-tech-divider {
        padding-block: 2px;
    }

    /**
     * Línea más delgada en móvil
     */
    .ap-tech-divider-line {
        height: 1.5px;
    }
    
    .ap-tech-hero-subtitle {
    margin-top: 16rem;
}

}

/* ============================================
   SECCIÓN 2: INTRO
   ============================================ */
.ap-tech-section-intro {
    background: #000000;
    padding: 20px 0;
}

.ap-tech-title-wrapper {
    text-align: center;
    margin-bottom: 10px;
}

.ap-tech-title-img {
    width: 100%;
    height: auto;
    max-width: 50%;
}

.ap-tech-intro-text {
    text-align: center;
}

.ap-tech-intro-text p {
    font-family: var(--ap-font-body, 'Acumin Pro', sans-serif);
    font-size: 1.05rem;
    color: #f5f5f5;
    line-height: 1.9;
    margin: 0 0 20px 0;
}

.ap-tech-highlight {
    font-size: 1.1rem !important;
}

.ap-tech-highlight strong {
    color: var(--ap-color-gold, #d4af37);
    font-weight: 700;
}

.ap-tech-small {
    font-size: 0.9rem !important;
    color: #b0b0b0 !important;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    margin-top: 40px !important;
}

/* ============================================
   SECCIÓN 3: ORIGEN
   ============================================ */
.ap-tech-section-origin {
    background: #000000;
    padding: 40px 0;
}

.ap-tech-origin-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    margin-bottom: 10px;
}

.ap-tech-line-left,
.ap-tech-line-right {
    width: 100px;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(212, 175, 55, 0.2) 15%,
        rgba(206, 206, 205, 0.8) 30%,
        var(--ap-font-body, #ffffff) 50%,
        rgba(206, 206, 205, 0.8) 70%,
        rgba(212, 175, 55, 0.2) 85%,
        transparent 100%
    );
    max-width: 240px;
    height: 2px;
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.3);
    width: 100%;
}

.ap-tech-section-title {
    font-family: var(--ap-font-heading, 'Raleway', sans-serif);
    font-size: 2.1rem;
    font-weight: 500;
    color: #ffffff;
    text-align: center;
    margin: 0;
    line-height: 1.1;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}


.ap-tech-origin-intro {
    text-align: center;
    font-family: var(--ap-font-body, 'Acumin Pro', sans-serif);
    font-size: 1.05rem;
    color: #f5f5f5;
    line-height: 1.8;
    margin: 0 0 40px 0;
}

.ap-tech-icons-grid {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 80px;
    max-width: 900px;
    margin: 0 auto;
}

.ap-tech-icon-item {
    text-align: center;
    flex: 0 0 auto;
}

.ap-tech-icon-item img {
    width: 140px;
    height: 140px;
    margin-bottom: 20px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.ap-tech-icon-item h3 {
    font-family: var(--ap-font-heading, 'Raleway', sans-serif);
    font-size: 1rem;
    font-weight: 700;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin: 0;
    line-height: 1.3;
}

/* ============================================
   SECCIÓN 4: ENFOQUE
   ============================================ */
.ap-tech-section-approach {
    background: #000000;
}

.ap-tech-approach-subtitle {
    text-align: center;
    font-family: var(--ap-font-body, 'Acumin Pro', sans-serif);
    font-size: 0.9rem;
    color: var(--ap-color-gold-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin: -38px 0 38px 0;
}

.ap-tech-hexagons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    margin-bottom: 50px;
}

.ap-tech-hexagons img {
    width: 320px;
    height: auto;
}

.ap-tech-approach-desc {
    text-align: center;
    font-family: var(--ap-font-body, 'Acumin Pro', sans-serif);
    font-size: 0.85rem;
    color: var(--ap-color-gold-secondary);
    line-height: 1.8;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    margin: 0;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
}

/* ============================================
   SECCIÓN 5: MINERALES
   ============================================ */
.ap-tech-section-minerals {
    background: #000000;
    padding: 80px 0;
}

.ap-tech-minerals-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 60px;
}

.ap-tech-mineral {
    text-align: center;
}

.ap-tech-mineral h3 {
    font-family: var(--ap-font-heading, 'Raleway', sans-serif);
    font-size: 1.6rem;
    font-weight: 700;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin: 0 0 15px 0;
}

.ap-tech-mineral h4 {
    font-family: var(--ap-font-body, 'Acumin Pro', sans-serif);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--ap-color-gold-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.ap-tech-mineral p {
    font-family: var(--ap-font-body, 'Acumin Pro', sans-serif);
    font-size: 0.9rem;
    color: #b0b0b0;
    line-height: 1.8;
    margin: 0;
}

/* ============================================
   SECCIÓN 6: FOOTER
   ============================================ */
.ap-tech-section-footer {
    background: #000000;
    padding: 10px 0 60px;
}

.ap-tech-section-footer h2 {
    font-family: var(--ap-font-heading, 'Raleway', sans-serif);
    font-size: 1.5rem;
    font-weight: 500;
    color: #ffffff;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin: 0;
    line-height: 1.3;
}

/* ============================================
   RESPONSIVE - TABLET
   ============================================ */
@media (max-width: 1024px) {
    .ap-tech-hero-text {
        max-width: 60%;
    }

    .ap-tech-logo-large {
        width: 350px;
    }

    .ap-tech-minerals-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .ap-tech-hexagons {
        flex-direction: column;
        gap: 30px;
    }

    .ap-tech-hexagons img {
        width: 100%;
        max-width: 350px;
    }
}

/* ============================================
   RESPONSIVE - MÓVIL
   ============================================ */
@media (max-width: 768px) {
    .ap-tech-hero-content {
        padding: 30px 30px;
    }

    .ap-tech-logo-top-wrapper {
        top: 30px;
        left: 30px;
    }

    .ap-tech-logo-top {
        width: 120px;
    }

    .ap-tech-hero-text {
        position: static;
        transform: none;
        max-width: 100%;
        padding-top: 80px;
        place-items: center;
    }

    .ap-tech-hero-title {
        font-size: 2rem;
        margin-top: -8rem;
    }

    .ap-tech-logo-large {
        width: 340px;
    }

    .ap-tech-container {
        padding: 0 30px;
    }

    .ap-tech-container-wide {
        padding: 0 30px;
    }

    .ap-tech-section-intro,
    .ap-tech-section-origin,
    .ap-tech-section-approach,
    .ap-tech-section-minerals {
        padding: 20px 0 30px;
    }

    .ap-tech-origin-header {
        flex-direction: column;
        gap: 20px;
    }

    .ap-tech-line-left,
    .ap-tech-line-right {
        width: 60px;
    }

    .ap-tech-section-title {
        font-size: 2rem;
    }

    .ap-tech-icons-grid {
        flex-direction: column;
        gap: 40px;
        align-items: center;
    }

    .ap-tech-icon-item img {
        width: 130px;
        height: 120px;
    }

    .ap-tech-title-img {
    width: 100%;
    height: auto;
    max-width: 95%;
    margin-bottom: 2rem;
    }
    .ap-tech-hero {
    height: 70vh;
    min-height: 660px;
}
}
