/*
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:  #E0E0E0;
  --texto:       #444444;
  --texto-claro: #5E6163;
}

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

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

/* =============================================
   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(--azul);
  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 .rrss a{
   margin-left: 15px;
}

/* =============================================
   FIRMA THALU
============================================= */
#thalu { background: #fff; width: 100%; }

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

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

/* =============================================
   HERO / SLIDER
============================================= */
.slider {
  margin-top: 116px; /* 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: 58px;
    font-weight: 600;
    opacity: 1 !important;
}
.slides img{
   filter: brightness(0.6);
}
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;
}
.nosotros-franja-naranja {
    width: 28px;
    flex-shrink: 0;
    background: var(--naranja);
    height: 373px;
    position: absolute;
    width: 150%;
    right: 164px;
    top: 35px;
}

/* =============================================
   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: 275px;
  height: 275px;
  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;
}

.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: absolute;
    left: 0;
    max-width: none;
}
#propuesta .left,
#alcance .right{
   display: flex;
   flex-direction: row;
   align-items: flex-start;
   padding: 80px 20px;
}

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

img.guarda {
    padding: 10px 20px;
}
#propuesta h2,
#alcance h2{
   color: var(--naranja);
   font-size: 30px;
   font-weight: normal;
}
/* =============================================
   SECCIÓN ALCANCE
============================================= */
#alcance {
  padding: 0;
}

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

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

.alcance-imagen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

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

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

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

.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form textarea {
  width: 100%;
  border: none;
  border-bottom: 1px solid var(--gris-medio);
  padding: 10px 4px;
  font-family: "Nunito", sans-serif;
  font-size: 14px;
  color: var(--texto);
  background: transparent;
  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; }

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

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

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