/*
Theme Name:     Thalú theme
Theme URI:      http://www.thalu.net/
Description:    A&P Consultores theme
Author:         Thalu
Author URI:     http://www.thalu.net/
Version:        2.0
*/

/* =============================================
   VARIABLES
============================================= */
:root {
    --azul: #004876;
    --naranja: #F29100;
    --blanco: #FFFFFF;
    --gris-claro: #F5F5F5;
    --gris-medio: #FAFAFB;
    --texto: #444444;
    --texto-claro: #5E6163;
}

/* =============================================
   BASE
============================================= */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    overflow-x: hidden;
}

body {
    font-family: "Nunito", sans-serif;
    font-weight: 400;
    font-size: 16px;
    color: var(--texto);
    overflow-x: hidden;
    margin: 0;
    padding: 0;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

.desktop {
    display: block;
}

.mobile {
    display: none!important;
}

/* =============================================
   TIPOGRAFÍA
============================================= */
h1,
h2,
h3,
h4 {
    font-family: "Nunito", sans-serif;
    font-weight: 800;
    color: var(--azul);
    margin-top: 0;
}

h2 {
    font-size: 40PX;
    /* text-transform: uppercase; */
    letter-spacing: 0.5px;
    margin-bottom: 40px;
}

h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--azul);
}

p {
    line-height: 1.7;
    margin-top: 0;
}

/* =============================================
   LOADER
============================================= */
@keyframes bounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-12px);
    }
}

#loader {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--gris-claro);
    height: 100vh;
    width: 100vw;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9999;
}

#loader img {
    width: 100px;
    animation: bounce 1s ease-in-out infinite;
}

/* =============================================
   HEADER
============================================= */
@keyframes slideDown {
    from {
        transform: translateY(-100%);
    }

    to {
        transform: translateY(0);
    }
}

header.header {
    background: #fff;
    padding: 12px 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

header.header.sticky {
    animation: slideDown 0.3s ease-in-out;
    position: fixed;
}

.header-contenidos {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo img {
    width: auto;
}

/* Nav */
nav#principal ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
}

nav#principal ul li a.nav-link {
    color: var(--texto);
    padding: 1rem 0 0 3rem;
    font-family: "Nunito", sans-serif;
    font-size: 20px;
    transition: color 0.2s;
}

nav#principal ul li a.nav-link:hover,
nav#principal ul li.current-menu-item a.nav-link {
    color: #000;
}

header .rrss {
    display: flex;
    justify-content: flex-end;
}

header.sticky .rrss {
    display: none;

}

header.sticky img#logo {
    width: 245px;

}

header .rrss a {
    margin-left: 15px;
}
header .botones {
    display: flex;
    justify-content: flex-end;
}
header .botones button {
    margin-left: 15px;
}
header .botones button.btn
{
    background-color: #fff;
    border-radius: 0;
    font-size: .9rem;
    transition: .3s;
}

header .botones .btn.btn-provedores
{
    color:#F29100;
    border-color: #F29100;
}
header .botones .btn.btn-provedores:hover
{
    background-color: #F29100;
    color:#fff;
}
header .botones .btn.btn-nosotros
{
    color: #004876;  
    border-color: #004876;  
}
header .botones .btn.btn-nosotros:hover
{
    background-color: #004876;  
    color: #fff;  
}

header.sticky .botones{
    display: none;
}
/* =============================================
   FIRMA THALU
============================================= */
#thalu {
    background: #fff;
    width: 100%;
}

section#thalu a {
    text-decoration: none;
    display: flex;
    align-items: center;
    padding: 5px;
    justify-content: flex-end;
}

#thalu #logo {
    width: 70px;
}

#thalu #desarrollo {
    color: #000;
    font-size: 12px;
}

/* =============================================
   HERO / SLIDER
============================================= */
.slider {
    margin-top: 85px;
    /* alto del header fijo */
}

.slider .metaslider img {
    width: 100%;
    object-fit: cover;
}

.metaslider .caption {
    padding: 5px 10px;
    word-wrap: break-word;
}

.caption-wrap {
    background: transparent !important;
    top: 50%;
    height: auto;
    text-align: center;
    max-width: 75%;
    margin: auto;
    left: 25vh !important;
    font-size: 50px;
    font-weight: 600;
    opacity: 1 !important;
    line-height: 50px !important;
}

.slides img {
    filter: brightness(0.5);
}

ol.flex-control-nav.flex-control-paging {
    bottom: 15px;
    z-index: 10000;
}

#metaslider-id-67 .flexslider .flex-control-nav li a:not(.flex-active) {
    background: rgba(255, 255, 255, 0.7) !important;
}

#metaslider-id-67 .flexslider .flex-control-nav li a.flex-active {
    background: #fff !important;
}

.metaslider .flexslider {
    margin: 0 !important;
}

/* =============================================
   SECCIÓN NOSOTROS
============================================= */
#nosotros {
    padding: 0;
}

/* Banda azul - frase */
.nosotros-frase {
    background: var(--azul);
    color: #fff;
    text-align: center;
    padding: 40px 20px;
}

.nosotros-frase h2 {
    color: #fff;
    justify-content: center;
    font-size: 30px;
    margin-bottom: 12px;
    text-transform: none;
    font-weight: normal;
}

.nosotros-frase .bajada {
    color: #fff;
    max-width: 760px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Contenido - imagen + texto */
.nosotros-contenido {
    display: flex;
    align-items: stretch;
    min-height: 400px;
}

.nosotros-franja-naranja {
    width: 28px;
    flex-shrink: 0;
    background: var(--naranja);
}

.nosotros-imagen {
    flex: 0 0 360px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px 20px;
    background: #fff;
}

.nosotros-contenido .left {
    position: relative;

}

.nosotros-contenido .texto {
    display: flex;
    height: 400px;
    align-items: center;
    font-size: 20px;
    font-weight: bold;
}

img.img-nosotros {
    position: absolute;
    top: -37px;
    right: 0;
    max-width: unset;
}

.nosotros-franja-naranja {
    width: 28px;
    flex-shrink: 0;
    background: var(--naranja);
    height: 373px;
    position: absolute;
    width: 150%;
    right: 164px;
    top: 35px;
}
.owl-dots button {
    border: solid var(--azul) 1px !important;
    background: var(--azul) !important;
    width: 15px;
    height: 15px;
    display: block;
    border-radius: 50%;
    margin: 0 10px;
}
.owl-dots {
    display: flex;
    align-content: center;
    justify-content: center;
}
/* =============================================
   SECCIÓN SERVICIOS
============================================= */
#servicios {
    padding: 100px 0 50px;
    background: #fff;
}

#servicios h2 {
    text-align: center;
    justify-content: center;
    margin-bottom: 50px;
    color: #34373A;
    font-weight: 600;
}

/* Tarjetas destacadas (primeras 3) */
.servicios-destacados {
    /* display: flex; */
    /* justify-content: center; */
    /* gap: 40px; */
    margin-bottom: 50px;
    /* flex-wrap: wrap; */
}

.servicio-item {
    text-align: center;
    /* max-width: 220px; */
}

.servicio-item .servicio-icono {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    background: var(--azul);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    overflow: hidden;
}

.servicios-destacados .servicio-item .servicio-icono {
    width: 240px;
    height: 240px;
    border-radius: 50%;
    background: var(--azul);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    overflow: hidden;
}


.servicios-destacados .servicio-item .servicio-icono img {
    width: 110px;
    height: 110px;

}

.servicio-item .servicio-icono img {
    width: 60px;
    height: 60px;
    object-fit: contain;
    filter: brightness(0) invert(1);
    margin: 0 auto;
}

.servicio-item .nombre {
    font-weight: 700;
    font-size: 20px;
    color: var(--azul);
    margin-bottom: 6px;
}

.servicio-item .bajada {
    /* font-size: 13px; */
    color: var(--texto-claro);
    line-height: 1.5;
    padding: 10px 30px;
}

/* Carrusel de servicios */
.servicio-container.owl-carousel {
    padding: 10px 0 30px;
}

.servicio-container .owl-nav button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: transparent !important;
    border: none;
    font-size: 28px;
    color: var(--azul);
}

.servicio-container .owl-nav .owl-prev {
    left: -30px;
}

.servicio-container .owl-nav .owl-next {
    right: -30px;
}

.owl-carousel .owl-stage {
    display: flex;
    align-items: flex-start;
}

/* =============================================
   SECCIÓN PROPUESTA
============================================= */
#propuesta {
    padding: 0;
    background-color: #F3F2F2;
}

.propuesta-inner {
    display: flex;
    min-height: 480px;
}

.propuesta-texto {
    flex: 0 0 50%;
    background: var(--gris-claro);
    padding: 60px 60px 60px 80px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.propuesta-texto h2 {
    font-size: 22px;
    text-transform: none;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.propuesta-texto h2 img {
    width: 32px;
    flex-shrink: 0;
}

.propuesta-texto .adorno-lineas {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
}

.propuesta-texto .adorno-lineas span {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: var(--texto-claro);
}

.propuesta-texto .adorno-lineas span::before {
    content: '';
    display: block;
    width: 20px;
    height: 3px;
    background: var(--naranja);
    flex-shrink: 0;
}

.propuesta-texto p {
    font-size: 14px;
    line-height: 1.75;
    color: var(--texto);
}

.propuesta-imagen {
    flex: 0 0 50%;
    overflow: hidden;
}

.propuesta-imagen img {
    position: relative;
    left: 0;
    max-width: unset;
}

#propuesta .left,
#alcance .right {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    padding: 68px 20px;
}

.propuesta-imagen,
.alcance-imagen {
    position: relative;
    overflow: visible;
    padding: 0;
}

img.guarda {
    padding: 0 30px 0 20px;
}

#propuesta h2,
#alcance h2 {
    color: var(--naranja);
    font-size: 30px;
    font-weight: normal;
}

/* =============================================
   SECCIÓN ALCANCE
============================================= */
#alcance {
    padding: 0;
    background-color: #F3F2F2;
}

.alcance-inner {
    display: flex;
    min-height: 480px;
}

.alcance-imagen {
    padding: 0;
    overflow: visible;
    position: relative;
}

.alcance-imagen img {
    position: absolute;
    right: 0;
    object-fit: cover;
    max-width: none;
    /* left: 0; */
    /* position: absolute; */
    /* left: unset; */
}

.alcance-texto {
    flex: 0 0 50%;
    background: #fff;
    padding: 60px 80px 60px 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
}

.alcance-texto::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: var(--naranja);
    z-index: -1;
    clip-path: polygon(70% 0, 100% 0, 100% 100%, 100% 100%);
}

.alcance-texto h2 {
    font-size: 22px;
    text-transform: none;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.alcance-texto h2 img {
    width: 32px;
    flex-shrink: 0;
}

.alcance-texto ul {
    list-style: none;
    padding: 0;
    margin: 0;
    columns: 2;
    column-gap: 20px;
}

.alcance-texto ul li {
    font-size: 13px;
    color: var(--texto);
    padding: 4px 0;
    line-height: 1.5;
    break-inside: avoid;
    display: flex;
    align-items: flex-start;
    gap: 6px;
}

.alcance-texto ul li::before {
    content: '›';
    color: var(--naranja);
    font-weight: 700;
    font-size: 18px;
    line-height: 1.2;
    flex-shrink: 0;
}

/* =============================================
   SECCIÓN CONTACTO
============================================= */
#contacto {
    padding: 0;
    padding-top: 80px;
}

.contacto-inner {
    display: flex;
    align-items: stretch;
}

.contacto-form {
    flex: 0 0 50%;
    padding: 60px 60px 60px 80px;
}

.contacto-form h2 {
    font-size: 26px;
    text-transform: none;
    margin-bottom: 8px;
}

.contacto-form .subtitulo {
    font-size: 14px;
    color: var(--texto-claro);
    margin-bottom: 30px;
}

.contacto-datos {
    margin-bottom: 30px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 50px;
}

.contacto-datos a {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: var(--texto);
    transition: color 0.2s;
}

.contacto-datos a:hover {
    color: var(--naranja);
}

.contacto-datos a img {
    /* width: 22px; */
    flex-shrink: 0;
}

#contacto h2 {
    color: #34373A;
    font-size: 40px;
    font-weight: 600;
    margin: 8px 0;
}

#contacto .formulario {
    margin-top: 15px;
    margin-bottom: 60px;
}

/* Formulario CF7 */
.wpcf7-form p {
    margin-bottom: 12px;
}
.wpcf7-form p{
    width: 100%;
}

.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form textarea,
.wpcf7-form select {
    width: 100%;
    border: none;
    border: 1px solid #9D9DA3;
    padding: 10px 10px;
    font-family: "Nunito", sans-serif;
    color: var(--texto);
    background: #FAFAFB;
    outline: none;
    transition: border-color 0.2s;
}

.wpcf7-form input[type="text"]::placeholder,
.wpcf7-form input[type="email"]::placeholder,
.wpcf7-form input[type="tel"]::placeholder,
.wpcf7-form textarea::placeholder {
    color: var(--texto-claro);
}

.wpcf7-form input[type="text"]:focus,
.wpcf7-form input[type="email"]:focus,
.wpcf7-form input[type="tel"]:focus,
.wpcf7-form textarea:focus {
    border-bottom-color: var(--azul);
}

.wpcf7-form textarea {
    resize: vertical;
    /* min-height: 90px; */
    height: 150px;
}

.wpcf7-form input[type="submit"] {
    background: var(--azul);
    color: #fff;
    border: none;
    padding: 12px 36px;
    font-family: "Nunito", sans-serif;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: background 0.2s;
    margin-top: 10px;
}

.wpcf7-form input[type="submit"]:hover {
    background: var(--naranja);
}

/* Imagen del chef */
.contacto-imagen {
    flex: 0 0 50%;
    position: relative;
    overflow: hidden;
    background: var(--gris-claro);
}

.contacto-imagen .fondo-naranja {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 55%;
    height: 75%;
    background: var(--naranja);
    clip-path: polygon(30% 0, 100% 0, 100% 100%, 0% 100%);
    z-index: 0;
}

.contacto-imagen img.chef-foto {
    position: relative;
    z-index: 1;
    height: 100%;
    width: 100%;
    object-fit: cover;
    object-position: top;
}

/* Mapa */
.contacto-mapa {
    width: 100%;
    line-height: 0;
}

.contacto-mapa iframe {
    width: 100%;
    height: 420px;
    border: 0;
    display: block;
}

/* =============================================
   FOOTER
============================================= */
footer {
    background: #fff;
    border-top: 1px solid var(--gris-medio);
}

.footer {
    padding: 30px 0;
    background: #E0D1C4;
}

.footer .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.footer .logo img {
    height: 44px;
    width: auto;
}

.footer nav#principal ul {
    gap: 0;
}

.footer nav#principal ul li a.nav-link {
    font-size: 13px;
    padding: 0.3rem 1rem;
}

.footer-rrss {
    display: flex;
    align-items: center;
    gap: 14px;
}

.footer-rrss a {
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-rrss img {
    width: 22px;
    height: 22px;
}

.footer button.btn {
    color: #fff;
    border-radius: 0;
    padding: 8px 15px;
    min-width: 240px;
}

button.btn.btn-provedores {
    background: #F29100;
}

button.btn.btn-nosotros {
    background: #004876;
}

/** Popup */

.modal h1 {
    font-size: 40px;
    color: #34373A;
    font-weight: 600;
}

.modal h2 {
    font-size: 30px;
    font-weight: normal;
    margin-top: 30px;
}

#modalProveedores h2 {
    color: var(--naranja);
}

#modalProveedores .modal-header {
    background-color: var(--naranja);
}

#modalTrabaja .modal-header {
    background-color: var(--azul);
}

.modal img {
    position: absolute;
    left: 0;
    bottom: 0;
}

.modal-lg,
.modal-xl {
    max-width: 850px;
}

.modal-body {
    min-height: 660px;
}

/* =============================================
   OWL CAROUSEL
============================================= */
.owl-carousel .owl-item img {
    width: auto;
    max-height: 100%;
}

/* =============================================
   UTILITIES
============================================= */
.seccion {
    padding: 70px 0;
}

.adorno-titulo {
    display: inline-block;
    width: 28px;
    height: 4px;
    background: var(--naranja);
    margin-right: 12px;
    flex-shrink: 0;
}

/* Sticky body padding */
body.sticky {
    padding-top: 0;
}

/* Custom bullet: alcance-flecha-rosa.svg */
ul {
    padding: 0;
}

section ul li {
    list-style: none;
    padding-left: 1.5em;
    position: relative;
}

section ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1em;
    height: 1em;
    background-image: url('../images/alcance-flecha-rosa.svg');
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
}

#contacto .rrss {
    display: flex;
}

#contacto .rrss a {
    margin-right: 10px;
}
footer ul#menu-principal-1 {
    display: flex;
    justify-content: space-evenly;
}
footer ul#menu-principal-1 li{
    list-style: none;
    margin-right: 30px;
}
nav#principal ul li.current-menu-item a.nav-link:hover {
    color: #F29100;
}