/*
Theme Name: Agencia Lobo Theme
Description: Tema personalizado para Agencia Lobo - Comercio Exterior.
Author: rankler.com.py
Version: 1.9
*/

:root {
  --primary-color: #1c1b4d;
  --accent-color: #2b2a6b;
  --text-color: #333333;
  --light-bg: #F7F7F7;
  --white: #ffffff;
}

body { font-family: 'Open Sans', sans-serif; margin: 0; color: var(--text-color); line-height: 1.6; }
h1, h2, h3, h4 { font-family: 'Montserrat', sans-serif; color: var(--primary-color); }
a { text-decoration: none; transition: 0.3s; }

.site-header { display: flex; justify-content: space-between; align-items: center; padding: 15px 5%; background: var(--white); box-shadow: 0 2px 10px rgba(0,0,0,0.1); position: sticky; top: 0; z-index: 100; }
.site-header .logo img { max-height: 60px; }
.site-header nav ul { display: flex; list-style: none; gap: 20px; margin: 0; padding: 0; }
.site-header nav a { color: var(--text-color); font-weight: 600; text-transform: uppercase; font-size: 0.9rem; }
.site-header nav a:hover { color: var(--primary-color); }
.btn-primary { background: var(--primary-color); color: var(--white); padding: 12px 24px; border-radius: 4px; font-weight: bold; display: inline-block; }
.btn-primary:hover { background: var(--accent-color); color: var(--white); }
.btn-secondary { background: transparent; color: var(--white); border: 2px solid var(--white); padding: 12px 24px; border-radius: 4px; font-weight: bold; display: inline-block; }
.btn-secondary:hover { background: var(--white); color: var(--primary-color); }

.hero { 
    background-color: #1c1b4d; 
    background-image: url('https://agencialobo.com/wp-content/uploads/2026/08/fondo_agencia_lobo_1200.png'); 
    background-position: center 5%; 
    background-repeat: no-repeat;
    background-size: 450px; 
    height: 85vh; 
    display: flex; 
    flex-direction: column; 
    padding-top: 280px; 
    justify-content: center; 
    align-items: center; 
    text-align: center; 
    color: var(--white); 
    padding-left: 20px; 
    padding-right: 20px; 
}

.hero h1 { 
    font-size: 3.5rem; 
    margin-bottom: 20px; 
    max-width: 900px; 
    color: var(--white); 
    text-shadow: 2px 4px 10px rgba(0, 0, 0, 0.7); 
}

.hero p {
    font-size: 1.2rem;
    max-width: 800px;
    line-height: 1.6;
    margin-bottom: 30px;
    text-shadow: 1px 2px 6px rgba(0, 0, 0, 0.6); 
}
.hero-buttons { display: flex; gap: 15px; }

.trust-bar { display: flex; justify-content: space-around; background: var(--light-bg); padding: 30px 5%; text-align: center; flex-wrap: wrap; gap: 20px; border-bottom: 2px solid #eee; }
.trust-item { font-size: 1.1rem; font-weight: bold; color: var(--primary-color); }

.about-section { padding: 80px 5%; display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 40px; }
.about-box { background: var(--white); padding: 40px; border-radius: 8px; box-shadow: 0 5px 15px rgba(0,0,0,0.05); border-top: 4px solid var(--primary-color); }
.about-box h2 { margin-top: 0; }

.services { padding: 80px 5%; text-align: center; background: var(--light-bg); }
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 30px; margin-top: 50px; }
.card { padding: 40px 30px; border: 1px solid #e1e1e1; border-radius: 8px;box-shadow: 0 4px 6px rgba(0,0,0,0.02); background: var(--white); text-align: left; }
.card h3 { font-size: 1.3rem; margin-bottom: 15px; }
.card ul { padding-left: 20px; font-size: 0.95rem; color: #555; }

.why-us { padding: 80px 5%; background: var(--primary-color); color: var(--white); }
.why-us h2 { color: var(--white); text-align: center; margin-bottom: 50px; }
.why-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 30px; }
.why-item h4 { color: #8bb4f9; font-size: 1.2rem; margin-bottom: 10px; }
.why-item p { color: #d1d5db; font-size: 0.95rem; }

.incoterms { padding: 80px 5%; }
.incoterms-container { max-width: 800px; margin: 0 auto; }
details { background: var(--light-bg); margin-bottom: 15px; border-radius: 4px; border: 1px solid #ddd; }
summary { padding: 20px; font-weight: bold; cursor: pointer; list-style: none; font-size: 1.1rem; color: var(--primary-color); }
summary::-webkit-details-marker { display: none; }
details p, details ul { padding: 0 20px 20px; margin: 0; }

.contact-section { padding: 80px 5%; background: var(--white); text-align: center; }
.contact-container { max-width: 800px; margin: 0 auto; }
.contact-container h2 { margin-bottom: 15px; color: var(--primary-color); }
.contact-container p { margin-bottom: 40px; color: #555; }
.form-wrapper { background: var(--light-bg); padding: 50px; border-radius: 8px; box-shadow: 0 10px 30px rgba(0,0,0,0.05); text-align: left; border-top: 4px solid var(--accent-color); }
.form-wrapper div.wpforms-container-full { margin: 0; }
.form-wrapper .wpforms-field-label { font-weight: 600; color: var(--primary-color); display: block; margin-bottom: 5px; }
.form-wrapper input[type=text], .form-wrapper input[type=email], .form-wrapper textarea, .form-wrapper select { width: 100%; padding: 12px; border: 1px solid #ddd; border-radius: 4px; margin-bottom: 15px; font-family: inherit; font-size: 1rem; box-sizing: border-box; }
.form-wrapper button[type=submit] { background: var(--primary-color); color: var(--white); padding: 15px 30px; border: none; border-radius: 4px; font-weight: bold; cursor: pointer; font-size: 1.1rem; width: 100%; transition: 0.3s; margin-top: 10px; }
.form-wrapper button[type=submit]:hover { background: var(--accent-color); }

/* Footer & Redes Sociales */
.site-footer { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 40px; padding: 60px 5% 30px; background: #11112b; color: #ccc; font-size: 0.95rem; }
.site-footer h3 { color: var(--white); font-size: 1.2rem; margin-bottom: 20px; }
.site-footer a { color: #aaa; }
.site-footer a:hover { color: var(--white); }

.social-icons { display: flex; gap: 15px; margin-top: 20px; }
.social-icons a { display: inline-flex; align-items: center; justify-content: center; width: 60px; height: 60px; background: rgba(255,255,255,0.1); border-radius: 50%; transition: 0.3s; color: var(--white); }
.social-icons a:hover { background: var(--accent-color); transform: translateY(-3px); }
.social-icons svg { width: 50px; height: 50px; fill: currentColor; }

.footer-bottom { text-align: center; padding: 20px 5%; background: #0a0a1a; color: #777; font-size: 0.85rem; }

/* Bot贸n flotante de WhatsApp */
.floating-wa { position: fixed; bottom: 30px; right: 30px; background-color: #25D366; color: white; width: 60px; height: 60px; border-radius: 50%; display: flex; justify-content: center; align-items: center; box-shadow: 0 4px 10px rgba(0,0,0,0.3); z-index: 1000; transition: transform 0.3s; }
.floating-wa:hover { transform: scale(1.1); }
.floating-wa svg { width: 35px; height: 35px; fill: white; }

/* ==========================================================================
   ESTILOS EXCLUSIVOS PARA MÓVILES (PANTALLAS MENORES A 768px)
   ========================================================================== */
@media (max-width: 768px) {
  
  /* 1. Ajustes de la sección Hero (Fondo Azul) */
  .hero {
    height: auto !important; 
    min-height: 70vh; 
    padding-top: 190px !important; 
    
    padding-bottom: 60px; 
    background-size: 260px !important; 
    background-position: center 30px !important; 
  }
  .hero h1 {
    font-size: 2.2rem !important; 
    line-height: 1.3;
  }

  .hero p {
    font-size: 1.1rem !important; 
    margin-bottom: 30px;
  }
  .hero-buttons { 
    flex-direction: column; 
    width: 100%;
    align-items: center;
  }

  .hero-buttons a {
    width: 100%;
    max-width: 280px; 
    text-align: center;
  }
  .about-section,
  .services-grid,
  .why-grid {
    grid-template-columns: 1fr !important; 
    gap: 20px !important;
  }
}