/* VARIABLES DE COLOR INSPIRADAS EN LA TEMÁTICA (Crema, Oro y Azul Noche) */
:root {
    --color-pergamino: #fdfbf7;   /* Blanco cálido/crema de fondo */
    --azul-profundo: #0f172a;     /* Azul noche institucional */
    --gris-cálido: #475569;
    --oro: #d97706;               /* Tono oro/ámbar para combinar con tu logo */
    --oro-brillante: #b45309;
    --sombra-suave: 0 4px 20px rgba(15, 23, 42, 0.05);
}

/* RESET GENERAL */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--color-pergamino);
    color: var(--azul-profundo);
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
}

/* TÍTULOS EDITORIALES */
h1, h2, h3 {
    font-family: 'Playfair Display', Georgia, serif;
}

/* 1. DISEÑO DE CABECERA INTEGRADA AL LOGO */
.grafo-header {
    background-color: #ffffff;
    padding: 0.5rem 2rem;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.03);
    border-bottom: 1px solid #f1f5f9;
}

.grafo-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.logo-estudio img {
    height: 70px; /* Tamaño destacado para lucir el logo enviado */
    width: auto;
    display: block;
}

.menu-interno a {
    text-decoration: none;
    color: var(--gris-cálido);
    margin-left: 1.5rem;
    font-weight: 600;
    font-size: 0.95rem;
    transition: color 0.3s;
}

.menu-interno a:hover {
    color: var(--oro);
}

.btn-destacado-nav {
    background-color: var(--azul-profundo);
    color: white !important;
    padding: 0.5rem 1rem;
    border-radius: 6px;
}
.btn-destacado-nav:hover { background-color: var(--oro) !important; }

.btn-volver { font-style: italic; color: #94a3b8 !important; }

/* 2. SECCIÓN HERO (FONDO PROFUNDO) */
.grafo-hero {
    background: linear-gradient(rgba(15, 23, 42, 0.85), rgba(15, 23, 42, 0.95)), url('https://unsplash.com') no-repeat center/cover;
    color: white;
    padding: 8rem 1rem;
    text-align: center;
}

.hero-bloque { max-width: 750px; margin: 0 auto; }
.grafo-hero h1 { font-size: 3rem; margin-bottom: 1.5rem; line-height: 1.2; color: #fef08a; }
.grafo-hero p { font-size: 1.2rem; color: #cbd5e1; margin-bottom: 2.5rem; font-weight: 300; }

.btn-oro {
    background-color: var(--oro);
    color: white;
    text-decoration: none;
    padding: 0.9rem 2rem;
    border-radius: 8px;
    font-weight: bold;
    display: inline-block;
    box-shadow: 0 4px 15px rgba(217, 119, 6, 0.3);
    transition: transform 0.3s, background 0.3s;
}
.btn-oro:hover { transform: translateY(-3px); background-color: var(--oro-brillante); }

/* 3. SECCIÓN INTRODUCCIÓN Y BENEFICIOS */
.grafo-intro { padding: 5rem 1rem; text-align: center; }
.contenedor-chico { max-width: 900px; margin: 0 auto; }
.grafo-intro h2 { font-size: 2.2rem; margin-bottom: 1rem; }
.descripcion-larga { font-size: 1.1rem; color: var(--gris-cálido); margin-bottom: 4rem; }

.beneficios-grid {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    justify-content: center;
}

.beneficio-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    width: 270px;
    text-align: left;
    box-shadow: var(--sombra-suave);
    border-top: 3px solid var(--oro);
}
/* ESTILO EXCLUSIVO PARA EL LOGO DEL CLIENTE DENTRO DE LA TARJETA */
.tarjeta-logo-cliente {
    height: 50px;          /* Altura idéntica al espacio que ocupaba el emoji */
    display: flex;
    align-items: center;
    margin-bottom: 1rem;   /* Mismo espacio de separación inferior */
}

.tarjeta-logo-cliente img {
    height: 150%;          /* Se adapta a los 50px del contenedor */
    width: auto;           /* Mantiene las proporciones perfectas para que no se deforme */
    object-fit: contain;   /* Asegura que la imagen se encuadre de forma limpia */
    display: block;
}

.beneficio-icono { font-size: 2rem; display: block; margin-bottom: 1rem; }
.beneficio-card h3 { font-size: 1.2rem; margin-bottom: 0.5rem; }
.beneficio-card p { font-size: 0.9rem; color: var(--gris-cálido); }

/* 4. SECCIÓN RAMAS DE LA GRAFOLOGÍA */
.grafo-ramas { background-color: #f7f5f0; padding: 5rem 1rem; }
.contenedor-general { max-width: 1100px; margin: 0 auto; text-align: center; }
.subtitulo-seccion { color: var(--gris-cálido); margin-bottom: 3.5rem; }

.ramas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(480px, 1fr));
    gap: 2rem;
}

/* Al pasar el mouse por las ramas, hacen un sutil efecto de enfoque */
.rama-box {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    text-align: left;
    box-shadow: var(--sombra-suave);
    transition: transform 0.3s;
}
.rama-box:hover { transform: translateY(-4px); }

.rama-imagen-placeholder {
    background-color: #fef3c7;
    font-size: 2.2rem;
    padding: 1rem;
    border-radius: 10px;
    line-height: 1;
}

.rama-texto h3 { font-size: 1.3rem; margin-bottom: 0.5rem; color: var(--azul-profundo); }
.rama-texto p { font-size: 0.95rem; color: var(--gris-cálido); }

/* 5. SECCIÓN CATÁLOGO DE SERVICIOS (DISPONIBLES PARA CONTRATAR) */
.grafo-servicios { padding: 5rem 1rem; }

.servicios-precios-grid {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.servicio-precio-card {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 2.5rem;
    width: 320px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: var(--sombra-suave);
    position: relative;
    transition: transform 0.3s;
}
.servicio-precio-card:hover { transform: scale(1.02); }

/* Destacar el servicio estrella */
.servicio-precio-card.recomendado {
    border: 2px solid var(--oro);
    box-shadow: 0 10px 30px rgba(217, 119, 6, 0.1);
}

.badge-recomendado {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--oro);
    color: white;
    font-size: 0.75rem;
    font-weight: bold;
    padding: 0.3rem 1rem;
    border-radius: 20px;
    text-transform: uppercase;
}

.servicio-precio-card h3 { font-size: 1.3rem; margin-bottom: 1rem; color: var(--azul-profundo); }
.servicio-det { font-size: 0.9rem; color: var(--gris-cálido); margin-bottom: 2rem; min-height: 70px; }

.precio {
    font-size: 2.2rem;
    font-weight: bold;
    color: var(--azul-profundo);
    margin-bottom: 1.5rem;
    font-family: 'Playfair Display', serif;
}

.btn-contratar {
    background-color: var(--azul-profundo);
    color: white;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
    width: 100%;
    transition: background 0.3s;
}
.btn-contratar:hover { background-color: var(--oro); }

/* FOOTER */
.grafo-footer {
    background-color: var(--azul-profundo);
    color: #94a3b8;
    text-align: center;
    padding: 3rem 1rem;
    font-size: 0.9rem;
}
.credito-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}
.credito { font-size: 0.8rem; color: var(--oro); margin-top: 0.5rem; font-weight: bold; }

/* AJUSTES RESPONSIVOS PARA MÓVILES */
@media (max-width: 768px) {
    .grafo-nav { flex-direction: column; gap: 1rem; }
    .menu-interno a { margin: 0 0.5rem; font-size: 0.85rem; }
    .grafo-hero h1 { font-size: 2.2rem; }
    .ramas-grid { grid-template-columns: 1fr; }
    .rama-box { flex-direction: column; text-align: center; align-items: center; }
}
