/* ==========================================================================
   VARIABLES Y ESTILOS GLOBALES
   ========================================================================== */
:root {
    --primary: #3a7bd5;
    --dark: #1a1e23;
    --white: #ffffff;
    --bg-light: #fdfaf6;
    --bg-thinking: #f0f7ff;
    --accent-wa: #25d366;
    --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body { 
    font-family: 'Inter', sans-serif; 
    color: var(--dark); 
    background: var(--white); 
    line-height: 1.6; 
}

.container { 
    width: 90%; 
    max-width: 1200px; 
    margin: 0 auto; 
}

/* ==========================================================================
   HEADER Y NAVEGACIÓN
   ========================================================================== */
header { 
    background: var(--white); 
    border-bottom: 1px solid #eee; 
    position: sticky; 
    top: 0; 
    z-index: 1000; 
}

.header-top { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    padding: 20px 0; 
}

.logo { 
    font-size: 1.6rem; 
    font-weight: 800; 
    text-decoration: none; 
    color: var(--dark); 
}

.logo span { color: var(--primary); }

.header-phrase { 
    font-size: 0.85rem; 
    color: #777; 
    max-width: 400px; 
    text-align: right; 
}

.nav-bar { background: #f8f9fa; padding: 10px 0; }

.nav-flex { 
    display: flex; 
    justify-content: center; 
    gap: 30px; 
}

.nav-link { 
    text-decoration: none; 
    color: var(--dark); 
    font-weight: 600; 
    font-size: 0.9rem; 
    transition: var(--transition); 
}

.nav-link:hover, .nav-link.active { color: var(--primary); }

/* ==========================================================================
   SECCIÓN SERVICIOS (CUADRANTES Y PILL)
   ========================================================================== */
.servicios-grid { 
    display: grid; 
    grid-template-columns: repeat(2, 1fr); 
    position: relative; /* Base para el centrado de la pill */
}

.cuadrante {
    position: relative; 
    height: 45vh; 
    display: flex; 
    align-items: flex-end; 
    padding: 30px;
    text-decoration: none; 
    background-size: cover; 
    background-position: center; 
    transition: var(--transition); 
    overflow: hidden;
}

.cuadrante::after { 
    content: ''; 
    position: absolute; 
    top: 0; left: 0; 
    width: 100%; height: 100%; 
    background: rgba(0,0,0,0.4); 
    transition: 0.5s; 
}

.cuadrante:hover::after { background: rgba(0,0,0,0.2); }

.cuadrante-content { position: relative; z-index: 2; color: white; margin-bottom: 20px; }

.cuadrante h2 { 
    font-family: 'Playfair Display', serif; 
    font-size: 2.4rem; 
    margin-bottom: 5px; 
}

/* LA FRASE TRANSVERSAL (AJUSTADA) */
.transversal-pill {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 100;
    
    background: #111111; /* Fondo muy oscuro */
    color: #ffffff;
    padding: 8px 30px;
    border-radius: 50px;
    white-space: nowrap; /* Una sola línea */
    
    font-size: 0.95rem;
    font-weight: 600;
    font-style: normal; /* No Italic */
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
    border: 1px solid rgba(255,255,255,0.1);
    pointer-events: none; /* No interfiere con clics en los cuadros */
}

/* ==========================================================================
   SECCIÓN HUMANIZADA Y TAGS
   ========================================================================== */
.sobre-mi-seccion { 
    padding: 30px 0; 
    background: var(--white);
}

.escucha-card { text-align: center; }

.titulo-humanizado {
    font-family: 'Playfair Display', serif;
    font-size: 2.8rem;
    margin-bottom: 10px;
    color: var(--dark);
}

.texto-destacado {
    font-size: 1.25rem;
    line-height: 1.8;
    color: #444;
    max-width: 850px;
    margin: 0 auto 40px auto;
}

/* Color de marca para frases específicas */
.color-marca {
    color: var(--primary);
    font-weight: 700;
}

.tags-humanos {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
}

.tags-humanos span {
    background: var(--bg-thinking); /* Fondo celeste suave */
    color: var(--primary);          /* Texto azul */
    padding: 10px 22px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    box-shadow: 0 4px 10px rgba(58, 123, 213, 0.1);
    border: 1px solid rgba(58, 123, 213, 0.2);
    transition: var(--transition);
}

.tags-humanos span:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-3px);
}

/* ==========================================================================
   CONTACTO
   ========================================================================== */
.contacto-page { padding: 80px 0; display: flex; justify-content: center; }

.small-container { max-width: 700px; width: 100%; margin: 0 auto; }

.formulario-limpio { display: grid; grid-template-columns: 1fr 1fr; gap: 25px; }

.form-group { display: flex; flex-direction: column; }

.form-group label { font-size: 0.9rem; font-weight: 700; margin-bottom: 8px; }

.form-group input, .form-group textarea, .form-group select {
    padding: 12px; border: 1px solid #ddd; border-radius: 8px; font-family: inherit;
}

.full-width { grid-column: 1 / -1; }

.btn-enviar-consulta {
    grid-column: 1 / -1;
    background: var(--primary);
    color: white;
    border: none;
    padding: 18px;
    border-radius: 50px;
    font-weight: 800;
    cursor: pointer;
    transition: var(--transition);
}

/* ==========================================================================
   FOOTER Y WHATSAPP
   ========================================================================== */
#footer-final { 
    background: var(--dark); 
    color: white; 
    padding: 25px 0 30px; 
    text-align: center; 
}

.btn-whatsapp-footer {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--accent-wa);
    color: white;
    padding: 15px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    margin-bottom: 30px;
}

.wa-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: var(--accent-wa);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

/* ==========================================================================
   MEDIA QUERIES (MÓVIL)
   ========================================================================== */
@media (max-width: 768px) {
    .servicios-grid, .formulario-limpio { grid-template-columns: 1fr; }
    
    .transversal-pill {
        position: absolute;
        top: 50%; left: 50%;
        transform: translate(-50%, -50%);
        z-index: 100;
        white-space: normal;
        margin: 20px auto;
        width: 90%;
    }

    .header-top { flex-direction: column; text-align: center; gap: 10px; }
    
    .nav-flex { justify-content: flex-start; overflow-x: auto; padding: 10px; }

    .titulo-humanizado { font-size: 2.2rem; }
}

.thinking-box {
    background: var(--bg-thinking); /* El celeste suave de tu marca */
    border-radius: 20px;
    padding: 40px;
    margin: 40px 0;
    border-left: 8px solid var(--primary); /* La franja azul distintiva */
    box-shadow: 0 10px 25px rgba(58, 123, 213, 0.05);
}

.thinking-box h3 {
    font-family: 'Playfair Display', serif;
    color: var(--primary);
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.thinking-box ul {
    list-style: none; /* Quitamos los puntos genéricos */
    padding-left: 0;
}

.thinking-box ul li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 15px;
    font-size: 1.1rem;
    color: #444;
    line-height: 1.5;
}

/* Añadimos un check o ícono sutil antes de cada pregunta */
.thinking-box ul li::before {
    content: "•";
    position: absolute;
    left: 10px;
    color: var(--primary);
    font-weight: bold;
    font-size: 1.5rem;
    top: -5px;
}

/* Ajuste para móviles */
@media (max-width: 768px) {
    .thinking-box {
        padding: 25px;
        margin: 30px 0;
        border-left-width: 5px;
    }
    .thinking-box h3 {
        font-size: 1.4rem;
    }
}