/* ==========================================================================
   LANDING BLOCKS
   Estilos SOLO de los bloques nuevos del motor de landings
   (process, services, benefits, areas, cta).
   El resto reutiliza global.css + services.css: aquí no se redefine
   ninguna variable de marca ni ningún componente que ya exista.
   ========================================================================== */


/* --- Subtítulo centrado de sección (reemplaza el style="" inline) --- */

.section_subtitle {
    width: 65%;
    font-size: 1.2vw;
    font-weight: 300;
    text-align: center;
    opacity: .85;
}

.dark_section .section_subtitle {
    color: white;
}


/* ==========================================================================
   PROCESS — metodología por fases numeradas
   ========================================================================== */

.process_section.no_media .content_box {
    grid-template-columns: 1fr;
}

/* Imagen del proceso: columna izquierda, mas estrecha que el texto, y fija
   mientras se recorren las 4 fases. Proporcion real de las fotos (1122x1402)
   para no recortarlas; .content_section .media_item fija 40vw de alto. */
.process_section .content_box {
    grid-template-columns: 1fr 1.25fr;
}

.process_section .media_box .media_item {
    height: auto;
    aspect-ratio: 1122 / 1402;
    cursor: default;
}

.process_section .media_box .media_item:hover {
    transform: none;
}

.process_section .info_box {
    display: flex;
    flex-direction: column;
    gap: 1.5vw;
}

.process_section .media_box .media_item {
    position: sticky;
    top: 8vw;
}

.process_list {
    display: flex;
    flex-direction: column;
    gap: 1.5vw;
    margin: 0;
    padding: 0;
    list-style: none;
    counter-reset: phase;
}

/* Ojo: el body ya es var(--cream), así que las tarjetas de las secciones
   claras van en blanco con borde. Los #E6E3DC20/40 del sitio sólo
   funcionan sobre .dark_section. */
.process_item {
    display: grid;
    grid-template-columns: 4vw 1fr;
    gap: 1.5vw;
    padding: 2vw;
    border: .1vw solid #23222515;
    border-radius: 1vw;
    background: #fff;
    transition: .5s;
}

.process_item:hover {
    border-color: var(--orange);
    transform: scale(.995);
}

.process_num {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 4vw;
    height: 4vw;
    border-radius: .5vw;
    background: var(--dark);
    color: var(--cream);
    font-size: 1.4vw;
    font-weight: 500;
}

.process_body {
    display: flex;
    flex-direction: column;
    gap: .75vw;
}

.process_body h3 {
    font-size: 1.35vw;
    font-weight: 500;
    color: var(--dark);
}

.process_points {
    display: flex;
    flex-direction: column;
    gap: .5vw;
    margin: 0;
    padding: 0;
    list-style: none;
}

.process_points li {
    position: relative;
    padding-left: 1.5vw;
    font-size: .95vw;
    line-height: 1.6;
    opacity: .85;
}

.process_points li::before {
    content: "";
    position: absolute;
    top: .55vw;
    left: 0;
    width: .5vw;
    height: .5vw;
    border-radius: 50%;
    background: var(--orange);
}

.process_section .main_btn {
    align-self: flex-start;
}


.process_outro {
    margin-top: .5vw;
    font-size: .95vw;
    line-height: 1.6;
    opacity: .85;
}


/* ==========================================================================
   SERVICES — sub-nichos cubiertos
   ========================================================================== */

.services_section {
    display: flex;
    flex-direction: column;
    gap: 2.5vw;
    padding: 5vw;
}

.services_head {
    display: flex;
    flex-direction: column;
    gap: 1vw;
    width: 100%;
}

.services_head h2 {
    font-size: 2vw;
}

.services_body {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: 2.5vw;
    width: 100%;
    align-items: start;
}

.services_section.no_media .services_body {
    grid-template-columns: 1fr;
}

.services_col {
    display: flex;
    flex-direction: column;
    gap: 1.25vw;
}

.services_lead {
    font-weight: 500;
}

.services_outro {
    line-height: 1.6;
}

.services_media .media_item {
    position: relative;
    width: 100%;
    aspect-ratio: 1122 / 1402;
    border-radius: 1vw;
    overflow: hidden;
}

.services_grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1vw;
    width: 100%;
    margin: 0;
    padding: 0;
    list-style: none;
}

/* Sin imagen, la lista vuelve a tres columnas */
.services_section.no_media .services_grid {
    grid-template-columns: repeat(3, 1fr);
}

.services_item {
    display: flex;
    align-items: flex-start;
    gap: 1vw;
    padding: 1.75vw;
    border: .1vw solid #23222520;
    border-radius: 1vw;
    transition: .5s;
}

.services_item:hover {
    border-color: var(--orange);
    transform: scale(.98);
}

.services_item i {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 2.5vw;
    height: 2.5vw;
    border-radius: .5vw;
    background: var(--orange);
    color: white;
    font-size: 1.4vw;
}

.services_item h3 {
    font-size: 1.1vw;
    font-weight: 500;
}

.services_item p {
    margin-top: .4vw;
    font-size: .9vw;
    opacity: .8;
}


/* ==========================================================================
   BENEFITS — impacto de negocio
   ========================================================================== */

.benefits_section {
    display: flex;
    flex-direction: column;
    gap: 2.5vw;
    padding: 0 5vw 5vw 5vw;
}

.benefits_head {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1vw;
    width: 65%;
    margin: 0 auto;
    text-align: center;
}

.benefits_head h2 {
    font-size: 2vw;
}

.benefits_grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1vw;
    width: 100%;
    margin: 0;
    padding: 0;
    list-style: none;
}

.benefits_item {
    display: flex;
    align-items: flex-start;
    gap: 1vw;
    padding: 1.5vw;
    border: .1vw solid #23222515;
    border-radius: 1vw;
    background: #fff;
    transition: .5s;
}

.benefits_item:hover {
    border-color: var(--orange);
}

.benefits_mark i {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 2.25vw;
    height: 2.25vw;
    border-radius: 50%;
    background: var(--dark);
    color: var(--cream);
    font-size: 1.2vw;
}

.benefits_item h3 {
    margin-bottom: .3vw;
    font-size: 1.1vw;
    font-weight: 500;
}

.benefits_item p {
    font-size: .95vw;
    line-height: 1.6;
}


/* ==========================================================================
   AREAS — zonas de servicio
   ========================================================================== */

.areas_section {
    padding: 0 5vw 5vw 5vw;
}

.areas_places h2 {
    margin-bottom: 1vw;
    font-size: 2vw;
}

.areas_chips {
    display: flex;
    flex-wrap: wrap;
    gap: .6vw;
    margin-top: 1.5vw;
    padding: 0;
    list-style: none;
}

.areas_chips li {
    display: inline-flex;
    align-items: center;
    gap: .4vw;
    padding: .6vw 1.1vw;
    border: .1vw solid #23222520;
    border-radius: 5vw;
    font-size: .9vw;
    transition: .3s;
}

.areas_chips li:hover {
    border-color: var(--orange);
    background: #F36C3015;
}

.areas_chips i {
    color: var(--orange);
    font-size: 1vw;
}

/* ==========================================================================
   WHY — "Why Choose AJ Creative Studios?" como sección propia
   ========================================================================== */

.why_section {
    padding: 0 5vw 5vw 5vw;
}

.why_box {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 2.5vw;
    align-items: start;
    padding: 3vw;
    border-radius: 1vw;
    background: var(--dark);
}

.why_box h2,
.why_box h3,
.why_box p {
    color: white;
}

.why_media .media_item {
    position: relative;
    width: 100%;
    aspect-ratio: 1122 / 1402;
    border-radius: .75vw;
    overflow: hidden;
}

.why_box h2 {
    font-size: 2vw;
}

.why_intro {
    width: 100%;
    margin-top: 1vw;
    opacity: .85;
}

.why_list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5vw 2.5vw;
    margin: 2.5vw 0 0 0;
    padding: 0;
    list-style: none;
}

/* El quinto item ocupa las dos columnas, como el mockup */
.why_list li:last-child:nth-child(odd) {
    grid-column: 1 / -1;
}

.why_list li {
    padding-top: 1.25vw;
    border-top: .15vw solid #ffffff20;
}

.why_list h3 {
    margin-bottom: .4vw;
    font-size: 1.1vw;
    font-weight: 500;
    color: var(--orange);
}

.why_list p {
    font-size: .95vw;
    line-height: 1.6;
    opacity: .9;
}

.why_box .main_btn {
    margin-top: 2.5vw;
}


/* ==========================================================================
   FORM — módulo de formulario como sección propia
   ========================================================================== */

/* Lleva tambien .main_section para heredar todo el estilo de campos
   que contact-us.css define bajo ese selector, sin duplicarlo. */
.landing_form_section.main_section {
    padding: 0 5vw 5vw 5vw;
}







.landing_form_cta {
    display: flex;
    justify-content: center;
    margin-top: 2vw;
}

/* El formulario ocupa la primera columna del hero. contact-us.css ya pinta
   el panel oscuro y la rejilla; esto solo separa las filas de campos. */
.main_section .main_box .form_box {
    gap: 1.5vw;
}


/* ==========================================================================
   TEXT — sección de puro copy
   ========================================================================== */

.landing_text_section {
    padding: 0 5vw 5vw 5vw;
}

.landing_text_box {
    display: flex;
    flex-direction: column;
    gap: 1vw;
}

.landing_text_box h2 {
    font-size: 2vw;
}

.landing_text_section.is_center .landing_text_box {
    align-items: center;
    width: 70%;
    margin: 0 auto;
    text-align: center;
}

.landing_text_box .main_btn {
    align-self: flex-start;
    margin-top: .5vw;
}

.landing_text_section.is_center .landing_text_box .main_btn {
    align-self: center;
}


/* ==========================================================================
   TESTIMONIALS
   ========================================================================== */

.testimonials_section {
    display: flex;
    flex-direction: column;
    gap: 2vw;
    padding: 0 5vw 5vw 5vw;
}

.testimonials_head {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1vw;
    width: 65%;
    margin: 0 auto;
    text-align: center;
}

.testimonials_head h2 {
    font-size: 2vw;
}

.testimonials_widget {
    width: 100%;
}

/* Carrusel de reseñas (includes/testimonials.php).
   scroll-snap nativo: sin Swiper ni dependencias externas. */
.reviews_carousel {
    position: relative;
}

.reviews_track {
    display: flex;
    gap: 1vw;
    margin: 0;
    padding: 0;
    list-style: none;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.reviews_track::-webkit-scrollbar {
    display: none;
}
/* Se arrastra con el ratón; el JS quita el snap mientras dura el gesto. */
.reviews_track {
    cursor: grab;
}

.reviews_track.is_dragging {
    cursor: grabbing;
    scroll-behavior: auto;
}

/* Al arrastrar no debe quedar texto seleccionado ni verse el fantasma
   de arrastre del enlace. */
.reviews_track.is_dragging .review_link {
    user-select: none;
    transform: none;
}


.review_card {
    flex: 0 0 calc((100% - 2vw) / 3);
    scroll-snap-align: start;
}

.review_link {
    display: flex;
    flex-direction: column;
    gap: 1vw;
    height: 100%;
    padding: 1.75vw;
    border: .1vw solid #23222515;
    border-radius: 1vw;
    background: #fff;
    color: inherit;
    text-decoration: none;
    transition: .5s;
}

.review_link:hover {
    border-color: var(--orange);
    transform: scale(.99);
}

.review_stars {
    display: flex;
    gap: .2vw;
    color: var(--orange);
    font-size: 1.1vw;
    line-height: 1;
}

/* Solo los tres primeros renglones; el resto se lee en Google. */
.review_text {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex: 1;
    font-size: .95vw;
    line-height: 1.6;
}

.review_author {
    display: flex;
    align-items: center;
    gap: .75vw;
    padding-top: 1vw;
    border-top: .1vw solid #23222515;
}

.review_author i {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 2.25vw;
    height: 2.25vw;
    border-radius: 50%;
    background: var(--cream);
    font-size: 1.1vw;
}

.review_author strong {
    display: block;
    font-size: 1vw;
    font-weight: 500;
}

.review_author span {
    font-size: .85vw;
    opacity: .7;
}

.review_link:hover .review_author span {
    color: var(--orange);
    opacity: 1;
}
@media (prefers-reduced-motion: reduce) {
    .reviews_track {
        scroll-behavior: auto;
    }
}




/* ==========================================================================
   Encabezado sobre el mapa ("How to Find Us") y párrafos de cierre
   ========================================================================== */

.lseo_map_head {
    display: flex;
    flex-direction: column;
    gap: 1vw;
    margin-bottom: 2vw;
}

.lseo_map_head h2 {
    font-size: 2vw;
}

.benefits_section .section_outro {
    width: 65%;
    margin: 1vw auto 0 auto;
    text-align: center;
}

.section_outro {
    width: 100%;
    margin-top: 1vw;
}

/* Hero sin formulario: el copy ocupa todo el ancho */


/* ==========================================================================
   FAQS sin panel lateral (cuando la landing no trae título/intro/botón)
   ========================================================================== */

.faqs_section .info_box h2 {
    font-size: 1.7vw;
    font-weight: inherit;
    color: #fff;
}

.faqs_section.no_aside .faqs_box {
    grid-template-columns: 1fr;
}


/* ==========================================================================
   CTA final
   ========================================================================== */

.landing_cta_section {
    padding: 0 5vw 5vw 5vw;
}

.landing_cta_box {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.25vw;
    padding: 4vw 5vw;
    border-radius: 1vw;
    background: var(--dark);
    text-align: center;
}

.landing_cta_box h2,
.landing_cta_box p {
    color: white;
}

.landing_cta_box h2 {
    width: 70%;
    font-size: 2vw;
}

.landing_cta_box p {
    width: 60%;
    opacity: .85;
}


/* ==========================================================================
   MÓVIL  (mismo breakpoint que el resto del sitio)
   ========================================================================== */

@media (max-width: 996px) {

    /* Apilado en movil: primero el texto y luego el formulario, para que
       el H1 se lea antes que los campos. En escritorio manda el HTML. */
    .main_section .main_box .info_box {
        order: 1;
    }

    .main_section .main_box .form_box {
        order: 2;
    }

    .section_subtitle {
        width: 100%;
        font-size: 4vw;
    }

    /* PROCESS */
    .process_section .info_box {
        gap: 5vw;
    }

    .process_section .media_box .media_item {
        position: static;
    }

    .process_list {
        gap: 4vw;
    }

    .process_item {
        grid-template-columns: 1fr;
        gap: 3vw;
        padding: 5vw;
        border-radius: 2.5vw;
    }

    .process_num {
        width: 11vw;
        height: 11vw;
        border-radius: 2vw;
        font-size: 4.5vw;
    }

    .process_body {
        gap: 2.5vw;
    }

    .process_body h3 {
        font-size: 4.5vw;
    }

    .process_points {
        gap: 2vw;
    }

    .process_points li {
        padding-left: 5vw;
        font-size: 3.6vw;
    }

    .process_points li::before {
        top: 2vw;
        width: 1.8vw;
        height: 1.8vw;
    }

    /* SERVICES */
    .services_section {
        gap: 6vw;
        padding: 10vw 5vw;
    }

    .services_head,
    .benefits_head {
        width: 100%;
        gap: 3vw;
    }

    .services_head h2,
    .benefits_head h2,
    .areas_places h2,
    .landing_cta_box h2 {
        font-size: 5vw;
    }

    .services_body {
        grid-template-columns: 1fr;
        gap: 6vw;
    }

    .services_col {
        gap: 4vw;
    }

    .services_media .media_item {
        border-radius: 2.5vw;
    }

    .services_grid,
    .services_section.no_media .services_grid {
        grid-template-columns: 1fr;
        gap: 3vw;
    }

    .reviews_track {
        gap: 4vw;
    }

    .review_card {
        flex: 0 0 85%;
    }

    .review_link {
        gap: 3vw;
        padding: 5vw;
        border-radius: 2.5vw;
    }

    .review_stars {
        gap: .8vw;
        font-size: 4.5vw;
    }

    .review_text {
        font-size: 3.6vw;
    }

    .review_author {
        gap: 3vw;
        padding-top: 4vw;
    }

    .review_author i {
        width: 9vw;
        height: 9vw;
        font-size: 4.5vw;
    }

    .review_author strong {
        font-size: 4vw;
    }

    .review_author span {
        font-size: 3.4vw;
    }

    .landing_form_cta {
        margin-top: 6vw;
    }

    .services_item {
        gap: 3vw;
        padding: 5vw;
        border-radius: 2.5vw;
    }

    .services_item i {
        width: 9vw;
        height: 9vw;
        border-radius: 2vw;
        font-size: 4.5vw;
    }

    .services_item h3 {
        font-size: 4.2vw;
    }

    .services_item p {
        margin-top: 1.5vw;
        font-size: 3.6vw;
    }

    /* BENEFITS */
    .benefits_section {
        gap: 6vw;
        padding: 0 5vw 10vw 5vw;
    }

    .benefits_grid {
        grid-template-columns: 1fr;
        gap: 3vw;
    }

    .benefits_item {
        gap: 3vw;
        padding: 5vw;
        border-radius: 2.5vw;
    }

    .benefits_mark i {
        width: 8vw;
        height: 8vw;
        font-size: 4vw;
    }

    .benefits_item h3 {
        margin-bottom: 1.5vw;
        font-size: 4.2vw;
    }

    .benefits_item p {
        font-size: 3.6vw;
    }

    /* AREAS */
    .areas_section {
        padding: 0 5vw 10vw 5vw;
    }

    .areas_chips {
        gap: 2vw;
        margin-top: 4vw;
    }

    .areas_chips li {
        gap: 1.5vw;
        padding: 2.2vw 4vw;
        border-radius: 10vw;
        font-size: 3.4vw;
    }

    .areas_chips i {
        font-size: 4vw;
    }

    .why_section {
        padding: 0 5vw 10vw 5vw;
    }

    /* Apilado: primero el texto, la imagen despues. */
    .why_box {
        grid-template-columns: 1fr;
        gap: 6vw;
    }

    .why_content {
        order: 1;
    }

    .why_media {
        order: 2;
    }

    .why_media .media_item {
        border-radius: 2vw;
    }

    .process_section .content_box {
        grid-template-columns: 1fr;
    }


    .why_box {
        padding: 6vw 5vw;
        border-radius: 2.5vw;
    }

    .why_box h2 {
        font-size: 5vw;
    }

    .why_intro {
        width: 100%;
        margin-top: 3vw;
    }

    .why_list {
        grid-template-columns: 1fr;
        gap: 4vw;
        margin-top: 6vw;
    }

    .why_list li {
        padding-top: 4vw;
    }

    .why_list h3 {
        margin-bottom: 1.5vw;
        font-size: 4.2vw;
    }

    .why_list p {
        font-size: 3.6vw;
    }

    .why_box .main_btn {
        margin-top: 6vw;
    }

    .process_outro {
        font-size: 3.6vw;
    }

    /* FORM / TEXT / TESTIMONIALS */
    .landing_form_section.main_section,
    .landing_text_section,
    .testimonials_section {
        padding: 0 5vw 10vw 5vw;
    }



    .benefits_head,
    .testimonials_head,
    .benefits_section .section_outro {
        width: 100%;
    }

    .landing_text_box h2,
    .testimonials_head h2,
    .lseo_map_head h2 {
        font-size: 5vw;
    }


    .landing_text_box {
        gap: 3vw;
    }

    .landing_text_section.is_center .landing_text_box,
    .testimonials_head,
    .section_outro {
        width: 100%;
    }

    .lseo_map_head {
        gap: 3vw;
        margin-bottom: 5vw;
    }

    .section_outro {
        margin-top: 4vw;
    }

    .faqs_section .info_box h2 {
        font-size: 5vw;
    }

    /* CTA */
    .landing_cta_section {
        padding: 0 5vw 10vw 5vw;
    }

    .landing_cta_box {
        gap: 4vw;
        padding: 10vw 5vw;
        border-radius: 2.5vw;
    }

    .landing_cta_box p {
        width: 100%;
    }

    .landing_cta_box h2 {
        width: 100%;
    }
}
