/* ==========================================================================
   Scorpio Towers - Página de Inicio (Landing Page Ejecutivo High-End)
   ========================================================================== */

/* --------------------------------------------------------------------------
   SECCIÓN 1: Hero Banner de Inicio (Logo Lineal Superior & Estilo Abierto)
   -------------------------------------------------------------------------- */
.in-hero-section {
    padding: 50px 24px 50px;
    max-width: 1040px;
    margin: 0 auto;
}

.in-hero-open-content {
    text-align: center;
    max-width: 960px;
    margin: 0 auto;
}

/* Fila del Logo Lineal Oficial en la Parte Superior */
.in-hero-logo-row-top {
    margin: 0 auto 28px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.in-hero-logo-lineal {
    max-width: 640px;
    width: 100%;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 0 28px rgba(0, 217, 255, 0.45));
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), filter 0.4s ease;
}

.in-hero-logo-row-top:hover .in-hero-logo-lineal {
    transform: scale(1.05);
    filter: drop-shadow(0 0 34px rgba(0, 217, 255, 0.65));
}

.in-hero-title {
    font-family: var(--font-heading);
    font-size: clamp(2.3rem, 4vw, 3.6rem);
    font-weight: 800;
    color: #ffffff;
    line-height: 1.25;
    margin-bottom: 16px;
}

.in-hero-title .glow-cyan {
    color: #00d9ff;
    text-shadow: 0 0 24px rgba(0, 217, 255, 0.6);
    display: block;
    margin-top: 6px;
}

.in-hero-subtitle {
    color: #94a3b8;
    font-size: 1.06rem;
    line-height: 1.7;
    margin: 0 auto 36px;
    max-width: 760px;
}

/* Fila de los 4 Botones de Acción (Scorpay, Factaurus, Servicios, Visión Global) */
.in-hero-actions-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.in-btn-hero {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    background: rgba(0, 217, 255, 0.06);
    border: 1px solid rgba(0, 217, 255, 0.25);
    border-radius: 999px;
    color: #ffffff;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.98rem;
    text-decoration: none;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), background 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
    box-shadow: none;
}

.in-btn-hero:hover {
    transform: translateY(-3px);
    background: rgba(0, 217, 255, 0.16);
    border-color: rgba(0, 217, 255, 0.6);
    box-shadow: 0 0 25px rgba(0, 217, 255, 0.45);
}

.in-btn-hero span {
    color: #00d9ff;
}

/* --------------------------------------------------------------------------
   Estilos de Botones Globales de la Landing
   -------------------------------------------------------------------------- */
.in-btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    background: linear-gradient(135deg, #00d9ff 0%, #0072ff 100%);
    border: none;
    border-radius: 999px;
    color: #ffffff;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.96rem;
    text-decoration: none;
    box-shadow: 0 0 24px rgba(0, 217, 255, 0.4);
    transition: all 0.35s ease;
}

.in-btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 36px rgba(0, 217, 255, 0.65);
    filter: brightness(1.12);
}

.in-btn-primary span {
    font-size: 1.1rem;
}

.in-btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 13px 26px;
    background: rgba(0, 217, 255, 0.05);
    border: 1px solid rgba(0, 217, 255, 0.25);
    border-radius: 999px;
    color: #ffffff;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.96rem;
    text-decoration: none;
    box-shadow: none;
    transition: all 0.35s ease;
}

.in-btn-secondary:hover {
    transform: translateY(-3px);
    background: rgba(0, 217, 255, 0.14);
    border-color: rgba(0, 217, 255, 0.5);
}

/* --------------------------------------------------------------------------
   Encabezados Generales de Sección (Diseño Abierto Sin Fondo)
   -------------------------------------------------------------------------- */
.in-section {
    padding: 60px 24px 70px;
    max-width: 1040px;
    margin: 0 auto;
    background: transparent;
}

.in-section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 44px;
}

.in-section-tag {
    display: inline-block;
    color: #00d9ff;
    font-family: var(--font-heading);
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 10px;
}

.in-section-title {
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 3.2vw, 2.5rem);
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 12px;
    line-height: 1.25;
}

.in-section-desc {
    color: #94a3b8;
    font-size: 1.04rem;
    line-height: 1.65;
    margin: 0;
}

.in-center-action {
    text-align: center;
    margin-top: 40px;
}

/* --------------------------------------------------------------------------
   SECCIÓN 2: Scorpay Grid & Marca Verde Esmeralda (#10b981)
   -------------------------------------------------------------------------- */
.sp-logo-row {
    margin: 0 auto 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.sp-logo-img {
    max-width: 440px;
    width: 100%;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 0 24px rgba(16, 185, 129, 0.45));
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), filter 0.4s ease;
}

.sp-logo-row:hover .sp-logo-img {
    transform: scale(1.05);
    filter: drop-shadow(0 0 34px rgba(16, 185, 129, 0.75));
}

.sp-tag {
    color: #10b981;
}

.glow-green {
    color: #10b981;
    text-shadow: 0 0 24px rgba(16, 185, 129, 0.6);
}

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

.in-card-feature {
    background: rgba(12, 15, 24, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    padding: 28px 22px;
    text-align: center;
    backdrop-filter: blur(12px);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.35s ease;
    box-shadow: none;
}

.sp-card {
    border-color: rgba(16, 185, 129, 0.15);
}

.sp-card:hover {
    transform: translateY(-5px);
    border-color: rgba(16, 185, 129, 0.5);
}

.in-card-icon {
    width: 48px;
    height: 48px;
    background: rgba(0, 217, 255, 0.06);
    border: 1px solid rgba(0, 217, 255, 0.22);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #00d9ff;
    margin: 0 auto 18px;
    transition: transform 0.35s ease, background 0.35s ease;
}

.sp-icon {
    color: #10b981;
    background: rgba(16, 185, 129, 0.08);
    border-color: rgba(16, 185, 129, 0.28);
}

.in-card-icon svg {
    width: 24px;
    height: 24px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.sp-card:hover .sp-icon {
    transform: translateY(-3px) scale(1.08);
    background: rgba(16, 185, 129, 0.2);
    border-color: rgba(16, 185, 129, 0.7);
}

.in-card-feature h3 {
    font-family: var(--font-heading);
    font-size: 1.12rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 8px;
}

.in-card-feature p {
    color: #94a3b8;
    font-size: 0.88rem;
    line-height: 1.58;
    margin: 0;
}

.sp-btn {
    background: #10b981;
    color: #ffffff;
    box-shadow: 0 0 24px rgba(16, 185, 129, 0.45);
}

.sp-btn span {
    color: #ffffff;
}

.sp-btn:hover {
    background: #059669;
    transform: translateY(-3px);
    box-shadow: 0 0 34px rgba(16, 185, 129, 0.7);
    filter: none;
}

/* --------------------------------------------------------------------------
   SECCIÓN 3: Servicios Principales (Horizontal Row Cards)
   -------------------------------------------------------------------------- */
.sc-services-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.sc-service-row-card {
    background: rgba(12, 15, 24, 0.75);
    border: 1px solid rgba(0, 217, 255, 0.16);
    border-radius: 20px;
    padding: 30px 34px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    backdrop-filter: blur(12px);
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.sc-service-row-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: #00d9ff;
    opacity: 0;
    transition: opacity 0.35s ease;
}

.sc-service-row-card:hover {
    transform: translateX(6px);
    border-color: rgba(0, 217, 255, 0.45);
    box-shadow: 0 14px 40px rgba(0, 217, 255, 0.14);
    background: rgba(16, 20, 32, 0.88);
}

.sc-service-row-card:hover::before {
    opacity: 1;
}

.sc-service-row-left {
    display: flex;
    align-items: flex-start;
    gap: 22px;
    flex: 1;
}

.sc-service-icon {
    width: 52px;
    height: 52px;
    background: rgba(0, 217, 255, 0.08);
    border: 1px solid rgba(0, 217, 255, 0.25);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #00d9ff;
    flex-shrink: 0;
    box-shadow: 0 0 15px rgba(0, 217, 255, 0.15);
    transition: transform 0.3s ease;
}

.sc-service-row-card:hover .sc-service-icon {
    transform: scale(1.08);
    background: rgba(0, 217, 255, 0.15);
    box-shadow: 0 0 25px rgba(0, 217, 255, 0.3);
}

.sc-service-icon svg {
    width: 26px;
    height: 26px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.sc-service-row-info {
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
    text-align: left;
}

.sc-service-row-header {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

.sc-service-card-title {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.2;
    margin: 0;
}

.sc-service-badge {
    display: inline-block;
    padding: 3px 10px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 6px;
    color: #00d9ff;
    font-size: 0.78rem;
    font-weight: 600;
}

.sc-service-card-desc {
    color: #94a3b8;
    font-size: 0.94rem;
    line-height: 1.6;
    margin: 0;
}

.sc-service-includes {
    background: rgba(255, 255, 255, 0.025);
    border-left: 3px solid #00d9ff;
    border-radius: 0 8px 8px 0;
    padding: 10px 14px;
    font-size: 0.86rem;
    color: #cbd5e1;
    line-height: 1.5;
    margin-top: 4px;
}

.sc-service-includes strong {
    color: #00d9ff;
    font-weight: 700;
}

.sc-service-row-right {
    flex-shrink: 0;
    display: flex;
    align-items: center;
}

.sc-service-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 24px;
    background: rgba(0, 217, 255, 0.08);
    border: 1px solid rgba(0, 217, 255, 0.3);
    border-radius: 12px;
    color: #ffffff;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    white-space: nowrap;
    transition: all 0.3s ease;
}

.sc-service-btn:hover {
    background: #00d9ff;
    border-color: #00d9ff;
    color: #070a13;
    font-weight: 700;
    box-shadow: 0 0 22px rgba(0, 217, 255, 0.45);
}

.sc-service-btn span {
    transition: transform 0.3s ease;
}

.sc-service-btn:hover span {
    transform: translateX(5px);
}

/* --------------------------------------------------------------------------
   SECCIÓN 4: Factaurus - Detalles de Marca Dorado Amber (#f59e0b)
   -------------------------------------------------------------------------- */
.ft-logo-row {
    margin: 0 auto 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.ft-logo-img {
    max-width: 440px;
    width: 100%;
    height auto;
    object-fit: contain;
    filter: drop-shadow(0 0 24px rgba(245, 158, 11, 0.45));
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), filter 0.4s ease;
}

.ft-logo-row:hover .ft-logo-img {
    transform: scale(1.05);
    filter: drop-shadow(0 0 34px rgba(245, 158, 11, 0.75));
}

.ft-tag {
    color: #f59e0b;
}

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

.ft-card {
    border-color: rgba(245, 158, 11, 0.16);
}

.ft-card:hover {
    transform: translateY(-5px);
    border-color: rgba(245, 158, 11, 0.5);
}

.ft-icon {
    color: #f59e0b;
    background: rgba(245, 158, 11, 0.08);
    border-color: rgba(245, 158, 11, 0.28);
}

.ft-card:hover .ft-icon {
    transform: translateY(-3px) scale(1.08);
    background: rgba(245, 158, 11, 0.2);
    border-color: rgba(245, 158, 11, 0.7);
}

.ft-btn {
    background: #f59e0b;
    color: #0f172a;
    font-weight: 700;
    box-shadow: 0 0 24px rgba(245, 158, 11, 0.45);
}

.ft-btn span {
    color: #0f172a;
}

.ft-btn:hover {
    background: #d97706;
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 0 34px rgba(245, 158, 11, 0.75);
    filter: none;
}

.ft-btn:hover span {
    color: #ffffff;
}

/* --------------------------------------------------------------------------
   SECCIÓN 5: Firmas Electrónicas Uanataca - Tonos Blanco Puro & Platino (#ffffff)
   -------------------------------------------------------------------------- */
.ua-tag {
    color: #e2e8f0;
}

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

.ua-card {
    border-color: rgba(255, 255, 255, 0.16);
}

.ua-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.55);
}

.ua-icon {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.28);
}

.ua-card:hover .ua-icon {
    transform: translateY(-3px) scale(1.08);
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.7);
    box-shadow: 0 0 25px rgba(255, 255, 255, 0.4);
}

.ua-btn {
    background: #ffffff;
    color: #0f172a;
    font-weight: 700;
    box-shadow: 0 0 24px rgba(255, 255, 255, 0.45);
}

.ua-btn span {
    color: #0f172a;
}

.ua-btn:hover {
    background: #e2e8f0;
    color: #070a13;
    transform: translateY(-3px);
    box-shadow: 0 0 36px rgba(255, 255, 255, 0.75);
    filter: none;
}

.ua-btn:hover span {
    color: #070a13;
}

.uanataca-card::before {
    background: linear-gradient(90deg, transparent 0%, #0072ff 50%, #00d9ff 100%);
}

.in-highlight-content {
    max-width: 860px;
    margin: 0 auto;
    text-align: center;
}

.in-highlight-title {
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 3.2vw, 2.5rem);
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 12px;
}

.in-highlight-desc {
    color: #94a3b8;
    font-size: 1.02rem;
    line-height: 1.65;
    margin-bottom: 24px;
}

.in-pill-list {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.in-pill {
    background: rgba(0, 217, 255, 0.06);
    border: 1px solid rgba(0, 217, 255, 0.2);
    border-radius: 999px;
    padding: 8px 18px;
    color: #e2e8f0;
    font-size: 0.88rem;
    font-weight: 500;
}

/* --------------------------------------------------------------------------
   SECCIÓN 6: Principios (3 Cards Centradas)
   -------------------------------------------------------------------------- */
.in-principles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.in-principle-card {
    background: rgba(12, 15, 24, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    padding: 30px 22px;
    text-align: center;
    backdrop-filter: blur(12px);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.35s ease;
    box-shadow: none;
}

.in-principle-card:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 217, 255, 0.4);
}

.in-principle-icon {
    width: 50px;
    height: 50px;
    background: rgba(0, 217, 255, 0.06);
    border: 1px solid rgba(0, 217, 255, 0.22);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #00d9ff;
    margin: 0 auto 18px;
    transition: transform 0.35s ease, background 0.35s ease;
}

.in-principle-icon svg {
    width: 24px;
    height: 24px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.in-principle-card:hover .in-principle-icon {
    transform: translateY(-3px) scale(1.08);
    background: rgba(0, 217, 255, 0.16);
    border-color: rgba(0, 217, 255, 0.6);
}

.in-principle-card h3 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 8px;
}

.in-principle-card p {
    color: #94a3b8;
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 0;
}

/* --------------------------------------------------------------------------
   SECCIÓN 7: CTA Final de Alto Impacto
   -------------------------------------------------------------------------- */
.in-cta-section {
    padding: 30px 24px 80px;
    max-width: 1040px;
    margin: 0 auto;
    position: relative;
}

.in-cta-section::before {
    content: '';
    display: block;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(0, 217, 255, 0.25) 50%, transparent 100%);
    margin-bottom: 40px;
}

.in-cta-wrapper {
    text-align: center;
    max-width: 840px;
    margin: 0 auto;
}

.in-cta-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 3.4vw, 2.8rem);
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 14px;
    line-height: 1.25;
}

.in-cta-title .glow-cyan {
    color: #00d9ff;
    text-shadow: 0 0 24px rgba(0, 217, 255, 0.6);
}

.in-cta-desc {
    color: #94a3b8;
    font-size: 1.02rem;
    line-height: 1.65;
    margin-bottom: 32px;
}

.in-btn-cta-large {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 16px 38px;
    background: linear-gradient(135deg, #00d9ff 0%, #0072ff 100%);
    border: none;
    border-radius: 999px;
    color: #ffffff;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.05rem;
    text-decoration: none;
    box-shadow: 0 0 28px rgba(0, 217, 255, 0.45);
    transition: all 0.35s ease;
}

.in-btn-cta-large:hover {
    transform: translateY(-4px);
    box-shadow: 0 0 40px rgba(0, 217, 255, 0.7);
    filter: brightness(1.12);
}

.in-btn-cta-large span {
    font-size: 1.15rem;
}

/* --------------------------------------------------------------------------
   Adaptación Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 960px) {
    .sp-logo-img, .ft-logo-img {
        max-width: 300px;
    }
    .in-hero-logo-lineal {
        max-width: 300px;
    }
    .in-hero-actions-row {
        gap: 12px;
    }
    .in-btn-hero {
        width: 100%;
    }
    .in-scorpay-grid, .in-factaurus-grid, .in-uanataca-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .sc-service-row-card {
        flex-direction: column;
        align-items: flex-start;
        padding: 24px 20px;
    }
    .sc-service-row-right {
        width: 100%;
        margin-top: 10px;
    }
    .sc-service-btn {
        width: 100%;
    }
    .in-principles-grid {
        grid-template-columns: 1fr;
    }
    .in-highlight-card {
        padding: 32px 24px;
    }
}

@media (max-width: 600px) {
    .in-scorpay-grid, .in-factaurus-grid, .in-uanataca-grid {
        grid-template-columns: 1fr;
    }
    .in-btn-hero, .in-btn-primary, .in-btn-secondary, .in-btn-cta-large, .ft-btn, .sp-btn, .ua-btn {
        width: 100%;
    }
}
