/* css/arquirevista.css 
   Hoja de estilos dedicada exclusivamente a la Landing Page Arquirevista.
   Traducido de TailwindCSS a CSS Puro (Vanilla CSS).
*/

:root {
    /* Paleta de Colores de Arquirevista */
    --c-primary: #a8815a;
    --c-primary-hover: #8f6b47;
    --c-bg-light: #f6f5f1;
    --c-bg-dark: #0a1e29;
    --c-text-light: #333333;
    --c-text-dark: #f0f0f0;
    --c-teal-dark: #0f2735;
    --c-teal-light: #153345;

    /* Fuentes */
    --f-sans: 'Inter', sans-serif;
    /* Para subtítulos, botones, textos y enlaces */
    --f-serif: 'Montserrat', sans-serif;
    /* Para los títulos principales */
}

/* =========================================================================
   ESTILOS BASE (Configuración de la página)
   ========================================================================= */
.arq-body {
    background-color: var(--c-bg-light);
    color: var(--c-text-light);
    font-family: var(--f-sans);
    margin: 0;
    padding: 0;
    -webkit-font-smoothing: antialiased;
}

.arq-body * {
    box-sizing: border-box;
}

/* =========================================================================
   UTILIDADES
   ========================================================================= */
.arq-text-primary {
    color: var(--c-primary);
}

.arq-text-muted {
    color: #6b7280;
}

.arq-icon-large {
    font-size: 36px !important;
}

.arq-icon-small {
    width: 24px;
    height: 24px;
    font-size: 12px !important;
}

.arq-hide-mobile {
    display: none;
}

.icon-svg {
    width: 1.5rem;
    height: 1.5rem;
    flex-shrink: 0;
    fill: currentColor;
}

/* Contenedores */
.arq-container {
    max-width: 1152px;
    /* max-w-6xl */
    margin: 0 auto;
    width: 100%;
}

.arq-container-sm {
    max-width: 896px;
    /* max-w-4xl */
    margin: 0 auto;
    width: 100%;
}

.arq-container-lg {
    max-width: 1280px;
    /* max-w-7xl */
    margin: 0 auto;
    width: 100%;
}

/* =========================================================================
   BOTONES
   ========================================================================= */
.arq-btn-primary {
    background-color: var(--c-primary);
    color: white;
    border: none;
    border-radius: 9999px;
    /* rounded-full */
    padding: 0.7rem 1.5rem;
    font-size: 1rem;
    font-weight: 700;
    font-family: var(--f-sans);
    cursor: pointer;
    transition: background-color 0.3s;
}

.arq-btn-primary:hover {
    background-color: var(--c-primary-hover);
}

.arq-btn-icon {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 2rem;
    font-weight: 700;
    font-size: 1rem;
}

.arq-btn-icon span {
    font-size: 1rem !important;
}

.arq-btn-two-lines {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1.1;
    text-align: left;
}

/* Tamaño del icono */
.arq-btn-large {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1rem 2.5rem;
    font-size: 1.125rem;
    font-weight: 700;
    margin: 0 auto;
    box-shadow: 0 10px 15px -3px rgba(168, 129, 90, 0.3);
    transition: transform 0.3s;
}

.arq-btn-large:hover {
    transform: translateY(-4px);
    /* Hover state: hover:-translate-y-1 */
}

/* =========================================================================
   HEADER (Encabezado)
   ========================================================================= */
.arq-header {
    background-color: var(--c-teal-dark);
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    z-index: 50;
}

.arq-header-brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.arq-logo-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: var(--c-primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 14px;
}

.arq-logo-text {
    color: white;
    font-weight: 600;
    font-size: 1.125rem;
    letter-spacing: -0.025em;
}

.arq-logo-img {
    height: 48px;
    width: auto;
    object-fit: contain;
}

.arq-header-nav {
    display: none;
}

.arq-header-nav a {
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    color: #d1d5db;
    transition: color 0.3s;
}

.arq-header-nav a:hover {
    color: white;
}

.arq-mobile-menu {
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
}

.arq-header-nav.is-active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: var(--c-teal-dark);
    padding: 1.5rem;
    gap: 1.5rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.3);
    z-index: 40;
}

/* =========================================================================
   SECTION: HERO (Principal)
   ========================================================================= */
.arq-hero {
    background-color: var(--c-teal-dark);
    padding: 4rem 1.5rem 6rem;
    text-align: center;
    color: white;
}

.arq-hero-title {
    font-family: var(--f-serif);
    font-size: 3rem;
    font-weight: 700;
    margin: 0 0 1rem 0;
    line-height: 1.1;
}

.arq-hero-subtitle {
    font-size: 1.125rem;
    color: #d1d5db;
    margin-bottom: 3rem;
}

.arq-video-wrapper {
    position: relative;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    aspect-ratio: 16 / 9;
    background-color: #111827;
}

.arq-video-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.8;
    transition: opacity 0.3s;
}

.arq-video-wrapper:hover .arq-video-bg {
    opacity: 0.6;
}

.arq-video-play-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.arq-play-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: var(--c-teal-light);
    border: none;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.3s;
    backdrop-filter: blur(4px);
}

.arq-play-btn:hover {
    background-color: var(--c-primary);
    transform: scale(1.05);
}

.arq-video-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(8px);
    padding: 0.375rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.arq-badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #60a5fa;
}

/* =========================================================================
   SECTION: INFO (La mejor guía)
   ========================================================================= */
.arq-info {
    padding: 6rem 1.5rem;
    background-color: var(--c-bg-light);
}

.arq-info-header {
    text-align: center;
    margin-bottom: 4rem;
}

.arq-section-title {
    font-family: var(--f-serif);
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--c-teal-dark);
    margin: 0 0 1rem;
    line-height: 1.2;
}

.arq-info-grid {
    display: flex;
    flex-direction: column-reverse;
    gap: 3rem;
    align-items: center;
}

.arq-info-content {
    flex: 1;
}

.arq-info-subtitle {
    font-family: var(--f-serif);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--c-primary);
    margin-bottom: 2rem;
}

.arq-features-list {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.arq-feature-item {
    background-color: white;
    border-radius: 0.75rem;
    padding: 1rem;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    border: 1px solid #f3f4f6;
    font-weight: 500;
    color: #1f2937;
}

.arq-feature-item span.material-symbols-outlined {
    margin-top: 2px;
}

.arq-action-wrapper {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
}

.arq-social-proof {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.arq-avatars {
    display: flex;
    align-items: center;
}

.arq-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid var(--c-bg-light);
    margin-right: -12px;
    position: relative;
    z-index: 1;
}

.arq-avatar-count {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid var(--c-bg-light);
    background-color: var(--c-teal-dark);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
    z-index: 2;
    position: relative;
}

.arq-social-text {
    font-size: 0.875rem;
    color: #4b5563;
}

.arq-info-image-container {
    flex: 1;
    display: flex;
    justify-content: center;
    perspective: 1000px;
}

.arq-book-image {
    max-width: 400px;
    width: 100%;
    border-radius: 0.5rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    transform: rotateY(-10deg) rotateX(5deg);
    transition: transform 0.5s ease-out;
}

.arq-book-image:hover {
    transform: rotateY(0) rotateX(0);
}

/* =========================================================================
   SECTION: TESTIMONIALS
   ========================================================================= */
.arq-testimonials {
    padding: 6rem 1.5rem;
    background-color: white;
    border-top: 1px solid #f3f4f6;
}

.arq-testimonials-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 3rem;
}

.arq-nav-buttons {
    display: flex;
    gap: 0.5rem;
}

.arq-icon-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid #d1d5db;
    background: white;
    color: #4b5563;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.3s;
}

.arq-icon-btn:hover {
    background-color: #f9fafb;
}

.arq-testimonials-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.arq-testimonial-card {
    border-radius: 1rem;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    aspect-ratio: 3/4;
    position: relative;
    overflow: hidden;
}

.arq-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.2), transparent);
    z-index: 10;
}

.arq-card-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.8;
    transition: transform 0.5s;
}

.arq-testimonial-card:hover .arq-card-bg {
    transform: scale(1.05);
}

.arq-card-content {
    position: relative;
    z-index: 20;
    color: white;
}

.arq-stars {
    color: var(--c-primary);
    display: flex;
    margin-bottom: 0.5rem;
}

.arq-stars span {
    font-size: 14px !important;
}

.arq-testimonial-text {
    font-family: var(--f-serif);
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0 0 0.25rem;
}

.arq-testimonial-author {
    font-size: 0.75rem;
    color: #d1d5db;
    margin: 0;
}

.arq-card-color {
    background-color: #384033;
}

.arq-card-watermark {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: rgba(255, 255, 255, 0.2);
    font-family: var(--f-serif);
    font-size: 2.25rem;
    white-space: nowrap;
    z-index: 0;
}

.arq-watch-more {
    border: 2px dashed #d1d5db;
    border-radius: 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    aspect-ratio: 3/4;
    cursor: pointer;
    transition: background-color 0.3s;
}

.arq-watch-more:hover {
    background-color: #f9fafb;
}

.arq-watch-more:hover .arq-watch-icon {
    background-color: white;
}

.arq-watch-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    border: 1px solid #9ca3af;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    color: #6b7280;
    transition: background-color 0.3s;
}

.arq-watch-icon span {
    font-size: 32px !important;
}

/* =========================================================================
   SECTION: ABOUT
   ========================================================================= */
.arq-about {
    background-color: var(--c-teal-dark);
    padding: 6rem 1.5rem;
    position: relative;
    overflow: hidden;
}

.arq-about-flex {
    display: flex;
    flex-direction: column;
    gap: 4rem;
    align-items: center;
}

.arq-about-content {
    flex: 1;
    color: white;
}

.arq-badge-text {
    color: var(--c-primary);
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 1rem;
    display: block;
}

.arq-section-title-light {
    font-family: var(--f-serif);
    font-size: 2.5rem;
    font-weight: 700;
    margin: 0 0 1rem;
    line-height: 1.1;
    color: white;
}

.arq-about-desc {
    color: #d1d5db;
    font-size: 1.125rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.arq-about-small-desc {
    color: #9ca3af;
    font-size: 0.875rem;
    line-height: 1.6;
    max-width: 32rem;
    margin-bottom: 2rem;
}

.arq-stats-box {
    background-color: rgba(21, 51, 69, 0.5);
    backdrop-filter: blur(4px);
    border-radius: 1rem;
    padding: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    gap: 2rem;
    align-items: center;
    flex-wrap: wrap;
    display: inline-flex;
}

.arq-stat-number {
    font-size: 2.25rem;
    font-weight: 700;
    font-family: var(--f-serif);
}

.arq-stat-label {
    font-size: 0.75rem;
    color: #9ca3af;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-top: 0.25rem;
}

.arq-stat-divider {
    display: none;
    width: 1px;
    height: 3rem;
    background-color: rgba(255, 255, 255, 0.1);
}

.arq-mt-4 {
    margin-top: 2rem;
    display: flex;
}

.arq-about-image-wrapper {
    flex: 1;
    position: relative;
    width: 100%;
}

.arq-about-main-image {
    border-radius: 1.5rem;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    aspect-ratio: 4/5;
    filter: grayscale(20%);
    transition: filter 0.5s;
}

.arq-about-main-image:hover {
    filter: grayscale(0);
}

.arq-about-main-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.arq-about-side-image {
    position: absolute;
    bottom: -2rem;
    right: -2rem;
    width: 16rem;
    background-color: var(--c-bg-light);
    padding: 0.5rem;
    border-radius: 0.75rem;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    transform: rotate(5deg);
    z-index: 20;
}

.arq-about-side-image img {
    width: 100%;
    border-radius: 0.5rem;
    border: 1px solid #e5e7eb;
}

/* =========================================================================
   SECTION: PARTNERS (Trabajando junto a...)
   ========================================================================= */
.arq-partners {
    padding: 4rem 1.5rem;
    background-color: var(--c-bg-light);
    text-align: center;
    border-bottom: 1px solid #e5e7eb;
}

.arq-partners-title {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: #6b7280;
    text-transform: uppercase;
    margin-bottom: 2rem;
}

.arq-partners-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    opacity: 0.6;
    filter: grayscale(100%);
    transition: filter 0.3s, opacity 0.3s;
}

.arq-partners-logos:hover {
    opacity: 1;
    filter: grayscale(0);
}

.arq-partners-logos img {
    height: 2.5rem;
    object-fit: contain;
}

/* =========================================================================
   SECTION: CTA (Llamado a la acción)
   ========================================================================= */
.arq-cta {
    background-color: var(--c-teal-dark);
    padding: 8rem 1.5rem;
    text-align: center;
    color: white;
    position: relative;
}

.arq-cta-content {
    position: relative;
    z-index: 10;
}

.arq-cta-badge {
    display: inline-block;
    padding: 0.375rem 1rem;
    border-radius: 9999px;
    border: 1px solid rgba(168, 129, 90, 0.3);
    color: var(--c-primary);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    background-color: rgba(168, 129, 90, 0.1);
    margin-bottom: 2rem;
}

.arq-cta-title {
    font-family: var(--f-serif);
    font-size: 3rem;
    font-weight: 700;
    margin: 0 0 1.5rem;
    line-height: 1.2;
}

.arq-cta-subtitle {
    color: #9ca3af;
    margin-bottom: 2.5rem;
    font-size: 1.125rem;
}

.arq-bg-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, var(--c-teal-dark), transparent);
    opacity: 0.5;
    pointer-events: none;
}

/* =========================================================================
   FOOTER
   ========================================================================= */
.arq-footer {
    background-color: var(--c-teal-dark);
    color: #9ca3af;
    padding: 2rem 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    font-size: 0.875rem;
}

.arq-footer-brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: white;
    font-weight: 600;
    text-decoration: none;
}

.arq-footer-brand .arq-logo-img {
    height: 36px;
}

.arq-footer-links {
    display: flex;
    gap: 1.5rem;
}

.arq-footer-links a {
    color: #9ca3af;
    text-decoration: none;
    transition: color 0.3s;
}

.arq-footer-links a:hover {
    color: white;
}

.arq-footer-copyright {
    text-align: center;
}

/* =========================================================================
   MEDIA QUERIES (Resoluciones para Tablets y Laptops / Desktop)
   ========================================================================= */
@media (min-width: 768px) {
    .arq-header {
        padding: 1rem 3rem;
        display: grid;
        grid-template-columns: 1fr auto 1fr;
        align-items: center;
        gap: 2rem;
    }

    .arq-header-brand {
        justify-self: start;
    }

    .arq-header-nav {
        display: flex;
        align-items: center;
        gap: 2rem;
        justify-content: center;
    }

    .arq-header>.arq-hide-mobile {
        justify-self: end;
    }

    .arq-hide-mobile {
        display: block;
    }

    .arq-header-btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 0.6rem;
    }

    .arq-header-btn .material-symbols-outlined,
    .arq-header-btn .icon-svg {
        width: 1.5rem;
        height: 1.5rem;
        font-size: 1.25rem !important;
    }

    .arq-mobile-menu {
        display: none;
    }

    .arq-hero {
        padding: 4rem 3rem 6rem;
    }

    .arq-hero-title {
        font-size: 4.5rem;
    }

    .arq-play-btn {
        width: 80px;
        height: 80px;
    }

    .arq-info {
        padding: 6rem 3rem;
    }

    .arq-section-title {
        font-size: 3rem;
    }

    .arq-info-grid {
        flex-direction: row;
        align-items: center;
    }

    .arq-action-wrapper {
        flex-direction: row;
        align-items: center;
    }

    .arq-btn-icon .icon-svg {
        width: 1.8rem;
        height: 1.8rem;
    }

    .arq-info-subtitle {
        font-size: 2.25rem;
    }

    .arq-testimonials-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .arq-about {
        padding: 6rem 3rem;
    }

    .arq-about-flex {
        flex-direction: row;
    }

    .arq-section-title-light {
        font-size: 3.75rem;
    }

    .arq-stat-divider {
        display: block;
    }

    /* Mostrar divisores en desktop */

    .arq-partners {
        padding: 4rem 3rem;
    }

    .arq-partners-logos {
        gap: 6rem;
    }

    .arq-partners-logos img {
        height: 3.5rem;
    }

    .arq-cta {
        padding: 8rem 3rem;
    }

    .arq-cta-title {
        font-size: 3.75rem;
    }

    .arq-footer {
        flex-direction: row;
        justify-content: space-between;
        padding: 2rem 3rem;
    }
}