/* 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)
   ========================================================================= */
.const-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;
}

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

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

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

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

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

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

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

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

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

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

/* =========================================================================
   BOTONES
   ========================================================================= */
.const-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;
}

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

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

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

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

/* Tamaño del icono */
.const-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;
}

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

/* =========================================================================
   HEADER (Encabezado)
   ========================================================================= */
.const-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;
}

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

.const-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;
}

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

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

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

.const-header-nav a {
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    color: #d1d5db;
    transition: color 0.3s;
    position: relative;
    padding-bottom: 4px;
}

.const-header-nav a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background-color: var(--c-primary);
    transition: width 0.3s ease;
}

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

.const-header-nav a:hover::after {
    width: 100%;
}

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

.const-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)
   ========================================================================= */
.const-hero {
    background-color: var(--c-teal-dark);
    padding: 4rem 1.5rem 6rem;
    text-align: center;
    color: white;
}

.const-hero-title {
    font-family: var(--f-serif);
    font-size: clamp(2.5rem, 8vw, 3rem);
    font-weight: 700;
    margin: 0 0 1rem 0;
    line-height: 1.1;
}

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

.const-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;
}

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

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

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

.const-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);
}

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

.const-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);
}

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

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

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

.const-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;
}

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

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

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

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

.const-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;
}

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

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

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

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

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

.const-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;
}

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

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

.const-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;
}

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

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

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

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

.const-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;
}

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

.const-slider-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

@media (min-width: 768px) {
    .const-slider-wrapper {
        padding: 0 3.5rem;
    }
}

.const-slider-btn {
    display: none;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background: white;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.const-slider-prev {
    left: -0.5rem;
}

.const-slider-next {
    right: -0.5rem;
}

@media (min-width: 768px) {
    .const-slider-btn {
        display: flex;
    }
    .const-slider-prev {
        left: 0;
    }
    .const-slider-next {
        right: 0;
    }
}

.const-testimonials-grid {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 85%;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-snap-type: inline mandatory;
    scroll-padding-inline: 1.5rem;
    gap: 1.5rem;
    padding-bottom: 1rem;
    -ms-overflow-style: none;
    scrollbar-width: none;
}
.const-testimonials-grid::-webkit-scrollbar {
    display: none;
}

.const-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;
    scroll-snap-align: start;
}

.const-video-card {
    padding: 0;
    aspect-ratio: 9/16;
    background-color: #000;
}

.const-card-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 1rem;
}

.const-video-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.7);
    color: var(--c-teal-dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    transition: opacity 0.3s, transform 0.2s;
    z-index: 5;
}

.const-video-play-btn:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translate(-50%, -50%) scale(1.05);
}

.const-video-play-btn span {
    font-size: 32px !important;
}

.const-video-card.is-playing .const-video-play-btn {
    opacity: 0;
    pointer-events: none;
}

.const-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;
}

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

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

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

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

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

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

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

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

.const-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;
}

.const-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;
}

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

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

.const-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;
}

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

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

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

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

.const-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;
}

.const-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;
}

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

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

.const-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;
}

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

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

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

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

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

.const-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;
}

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

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

.const-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;
}

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

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

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

.const-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;
}

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

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

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

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

.const-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;
}

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

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

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

/* =========================================================================
   FOOTER
   ========================================================================= */
.const-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;
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    .const-hero-title {
        font-size: clamp(3rem, 6vw, 4.5rem);
        white-space: nowrap;
    }

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

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

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

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

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

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

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

    .const-testimonials-grid {
        grid-auto-columns: calc((100% - (1.5rem * 3)) / 4);
    }

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

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

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

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

    /* Mostrar divisores en desktop */

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

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

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

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

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

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