/*
 Theme Name:   GeneratePress Hijo - Personalizado
Template:     generatepress
 Version:      3.6.0
 Author:       (Tu Nombre o el de tu Proyecto)
 Description:  Tema hijo personalizado para la landing de Software Psicométrico.
*/
/* FONTS */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 400; /* Grosor Normal */
  font-display: swap;
  /* Ruta corregida: SIN /test3/ */
  src: url('/wp-content/themes/generatepress-hijo/assets/fonts/Montserrat-Regular.woff2') format('woff2');
}
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 700; /* Grosor Bold */
  font-display: swap;
  /* Ruta corregida: SIN /test3/ */
  src: url('/wp-content/themes/generatepress-hijo/assets/fonts/Montserrat-Bold.woff2') format('woff2');
}
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 900; /* Grosor Black */
  font-display: swap;
  /* Ruta corregida: SIN /test3/ */
  src: url('/wp-content/themes/generatepress-hijo/assets/fonts/Montserrat-Black.woff2') format('woff2');
}
@font-face {
  font-family: 'Lora';
  font-style: normal;
  font-weight: 400; /* Grosor Normal para Lora */
  font-display: swap;
  /* Ruta corregida: SIN /test3/ */
  src: url('/wp-content/themes/generatepress-hijo/assets/fonts/Lora-Regular.woff2') format('woff2');
}

/* VARIABLES */
:root {
  --color-fondo: #F8F4F0;
  --color-acento: #1177CC;
  --color-accion: #FF4A4A;
  --color-texto-principal: #2d3748;
  --color-texto-secundario: #4a5568;
  --color-verde-exito: #34D399;
  --color-rojo-dolor: #FCA5A5;
  --font-serif: 'Lora', serif;
  --font-sans: 'Montserrat', sans-serif;
}

/* BASE & RESET */
*, ::before, ::after { box-sizing: border-box; border-width: 0; border-style: solid; border-color: #e5e7eb; }
html {
  line-height: 1.5;
  -webkit-text-size-adjust: 100%;
  -moz-tab-size: 4;
  tab-size: 4;
  font-family: var(--font-sans);
  scroll-behavior: smooth;
}
body { margin: 0; line-height: inherit; }
h1, h2, h3, h4, p, a, div, span, section, header, footer, main, ul, li, details, summary { margin: 0; padding: 0; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: inherit; }

/* CUSTOM STYLES */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #F8F4F0; }
::-webkit-scrollbar-thumb { background: #d1d5db; border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: #9ca3af; }
details > summary { list-style: none; }
details > summary::-webkit-details-marker { display: none; }
details[open] .accordion-arrow { transform: rotate(180deg); }
.text-shadow-lg { text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.4); }

/* PERFORMANCE OPTIMIZATIONS */
#main-header {
  will-change: background-color, box-shadow, backdrop-filter;
}
.animate-on-scroll {
  opacity: 0;
  transition-property: opacity, transform;
  transition-duration: 700ms;
  transition-timing-function: cubic-bezier(0.25, 0.1, 0.25, 1);
  will-change: transform, opacity;
}
.animate-on-scroll.is-visible {
  opacity: 1;
  transform: translate(0, 0) scale(1);
}
.fade-in-up { transform: translateY(50px); }
.fade-in-left { transform: translateX(-50px); }
.fade-in-right { transform: translateX(50px); }
.scale-in { transform: scale(0.9); }

/* Buttons Hover/Active States */
.cta-button, .cta-button-main { transition: transform 0.2s ease, background-color 0.3s ease; }
.cta-button:hover { transform: scale(1.05); }
.cta-button:active { transform: scale(0.95); }
.cta-button-main:hover { transform: scale(1.05) translateY(-5px); }
.cta-button-main:active { transform: scale(0.95); }


/* TAILWIND REPLICATION */
.container { width: 100%; margin-left: auto; margin-right: auto; padding-left: 1.5rem; padding-right: 1.5rem; }
@media (min-width: 640px) { .container { max-width: 640px; } }
@media (min-width: 768px) { .container { max-width: 768px; } }
@media (min-width: 1024px) { .container { max-width: 1024px; } }
@media (min-width: 1280px) { .container { max-width: 1280px; } }
.mx-auto { margin-left: auto; margin-right: auto; }
.flex { display: flex; }
.inline-block { display: inline-block; }
.block { display: block; }
.hidden { display: none; }
.grid { display: grid; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.flex-shrink-0 { flex-shrink: 0; }
.flex-1 { flex: 1 1 0%; }
.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }
.gap-12 { gap: 3rem; }
.gap-x-8 { column-gap: 2rem; }
.gap-y-6 { row-gap: 1.5rem; }
.space-y-2 > :not([hidden]) ~ :not([hidden]) { margin-top: 0.5rem; }
.space-y-3 > :not([hidden]) ~ :not([hidden]) { margin-top: 0.75rem; }
.space-y-4 > :not([hidden]) ~ :not([hidden]) { margin-top: 1rem; }
.space-y-6 > :not([hidden]) ~ :not([hidden]) { margin-top: 1.5rem; }
.space-x-2 > :not([hidden]) ~ :not([hidden]) { margin-left: 0.5rem; }
.space-x-8 > :not([hidden]) ~ :not([hidden]) { margin-left: 2rem; }
.h-5 { height: 1.25rem; }
.w-5 { width: 1.25rem; }
.h-6 { height: 1.5rem; }
.w-6 { width: 1.5rem; }
.h-7 { height: 1.75rem; }
.w-7 { width: 1.75rem; }
.h-8 { height: 2rem; }
.w-8 { width: 2rem; }
.h-12 { height: 3rem; }
.w-12 { width: 3rem; }
.h-16 { height: 4rem; }
.w-16 { width: 4rem; }
.w-full { width: 100%; }
.h-auto { height: auto; }
.min-h-screen { min-height: 100vh; }
.max-w-2xl { max-width: 42rem; }
.max-w-3xl { max-width: 48rem; }
.max-w-4xl { max-width: 56rem; }
.max-w-5xl { max-width: 64rem; }
.max-w-md { max-width: 28rem; }
.fixed { position: fixed; }
.absolute { position: absolute; }
.relative { position: relative; }
.inset-0 { top: 0; right: 0; bottom: 0; left: 0; }
.top-0 { top: 0; }
.-top-5 { top: -1.25rem; }
.-right-5 { right: -1.25rem; }
.z-10 { z-index: 10; }
.z-50 { z-index: 50; }
.m-1 { margin: 0.25rem; }
.my-2 { margin-top: 0.5rem; margin-bottom: 0.5rem; }
.mr-3 { margin-right: 0.75rem; }
.mr-4 { margin-right: 1rem; }
.mr-5 { margin-right: 1.25rem; }
.mt-0\.5 { margin-top: 0.125rem; }
.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-8 { margin-top: 2rem; }
.mt-10 { margin-top: 2.5rem; }
.mt-16 { margin-top: 4rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-10 { margin-bottom: 2.5rem; }
.mb-12 { margin-bottom: 3rem; }
.mb-16 { margin-bottom: 4rem; }
.overflow-hidden { overflow: hidden; }
.rounded-lg { border-radius: 0.5rem; }
.rounded-xl { border-radius: 0.75rem; }
.rounded-2xl { border-radius: 1rem; }
.rounded-3xl { border-radius: 1.5rem; }
.rounded-full { border-radius: 9999px; }
.border { border-width: 1px; }
.border-2 { border-width: 2px; }
.border-l-4 { border-left-width: 4px; }
.border-t-4 { border-top-width: 4px; }
.border-gray-200 { border-color: #e5e7eb; }
.border-blue-100 { border-color: #dbeafe; }
.border-blue-200 { border-color: #bfdbfe; }
.border-green-200 { border-color: #a7f3d0; }
.border-green-400 { border-color: #6ee7b7; }
.border-red-200 { border-color: #fecaca; }
.border-red-400 { border-color: #f87171; }
.bg-transparent { background-color: transparent; }
.bg-white { background-color: #fff; }
.bg-fondo { background-color: var(--color-fondo); }
.bg-acento { background-color: var(--color-acento); }
.bg-accion { background-color: var(--color-accion); }
.hover\:bg-red-600:hover { background-color: #dc2626; }
.hover\:bg-blue-800:hover { background-color: #1e40af; }
.hover\:bg-gray-200:hover { background-color: #e5e7eb; }
.bg-slate-800 { background-color: #1e293b; }
.bg-white\/10 { background-color: rgba(255, 255, 255, 0.1); }
.bg-white\/20 { background-color: rgba(255, 255, 255, 0.2); }
.bg-opacity-70 { opacity: 0.7; }
.bg-red-50 { background-color: #fef2f2; }
.bg-green-50 { background-color: #f0fdf4; }
.bg-blue-50 { background-color: #eff6ff; }
.bg-green-100 { background-color: #dcfce7; }
.bg-red-100 { background-color: #fee2e2; }
.bg-blue-500 { background-color: #3b82f6; }
.bg-green-500 { background-color: #22c55e; }
.bg-purple-500 { background-color: #a855f7; }
.bg-cover { background-size: cover; }
.bg-center { background-position: center; }
.bg-no-repeat { background-repeat: no-repeat; }
.p-1 { padding: 0.25rem; }
.p-4 { padding: 1rem; }
.p-6 { padding: 1.5rem; }
.p-8 { padding: 2rem; }
.px-3 { padding-left: 0.75rem; padding-right: 0.75rem; }
.py-1 { padding-top: 0.25rem; padding-bottom: 0.25rem; }
.py-2 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.py-3 { padding-top: 0.75rem; padding-bottom: 0.75rem; }
.py-4 { padding-top: 1rem; padding-bottom: 1rem; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.px-5 { padding-left: 1.25rem; padding-right: 1.25rem; }
.px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
.px-8 { padding-left: 2rem; padding-right: 2rem; }
.px-12 { padding-left: 3rem; padding-right: 3rem; }
.py-12 { padding-top: 3rem; padding-bottom: 3rem; }
.py-20 { padding-top: 5rem; padding-bottom: 5rem; }
.pb-5 { padding-bottom: 1.25rem; }
.text-center { text-align: center; }
.font-sans { font-family: var(--font-sans); }
.font-serif { font-family: var(--font-serif); }
.text-xs { font-size: 0.75rem; line-height: 1rem; }
.text-sm { font-size: 0.875rem; line-height: 1.25rem; }
.text-lg { font-size: 1.125rem; line-height: 1.75rem; }
.text-xl { font-size: 1.25rem; line-height: 1.75rem; }
.text-2xl { font-size: 1.5rem; line-height: 2rem; }
.text-3xl { font-size: 1.875rem; line-height: 2.25rem; }
.text-4xl { font-size: 2.25rem; line-height: 2.5rem; }
.text-5xl { font-size: 3rem; line-height: 1; }
.font-bold { font-weight: 700; }
.font-semibold { font-weight: 600; }
.italic { font-style: italic; }
.antialiased { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
.leading-relaxed { line-height: 1.625; }
.leading-tight { line-height: 1.25; }
.leading-none { line-height: 1; }
.tracking-tight { letter-spacing: -0.025em; }
.text-white { color: #fff; }
.text-texto-principal { color: var(--color-texto-principal); }
.text-texto-secundario { color: var(--color-texto-secundario); }
.text-acento { color: var(--color-acento); }
.text-accion { color: var(--color-accion); }
.text-gray-200 { color: #e5e7eb; }
.text-gray-400 { color: #9ca3af; }
.text-gray-500 { color: #6b7280; }
.text-red-400 { color: #f87171; }
.text-red-500 { color: #ef4444; }
.text-red-600 { color: #dc2626; }
.text-red-800 { color: #991b1b; }
.text-green-400 { color: #4ade80; }
.text-green-500 { color: #22c55e; }
.text-green-600 { color: #16a34a; }
.text-green-700 { color: #15803d; }
.text-green-800 { color: #166534; }
.text-verde-exito { color: var(--color-verde-exito); }
.text-blue-800 { color: #1e40af; }
.text-green-200 { color: #bbf7d0; }
.text-blue-200 { color: #bfdbfe; }
.text-purple-200 { color: #e9d5ff; }
.text-\[\#FF9D9D\] { color: #FF9D9D; }
.text-\[\#1A202C\] { color: #1A202C; }
.uppercase { text-transform: uppercase; }
.line-through { text-decoration-line: line-through; }
.opacity-30 { opacity: 0.3; }
.opacity-60 { opacity: 0.6; }
.opacity-80 { opacity: 0.8; }
.opacity-90 { opacity: 0.9; }
.shadow-sm { box-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05); }
.shadow-md { box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1); }
.shadow-lg { box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1); }
.shadow-xl { box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1); }
.shadow-2xl { box-shadow: 0 25px 50px -12px rgb(0 0 0 / 0.25); }
.shadow-inner { box-shadow: inset 0 2px 4px 0 rgb(0 0 0 / 0.05); }
.hover\:shadow-md:hover { box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1); }
.backdrop-blur-sm { --tw-backdrop-blur: blur(4px); backdrop-filter: var(--tw-backdrop-blur); -webkit-backdrop-filter: var(--tw-backdrop-blur); }
.backdrop-blur-md { --tw-backdrop-blur: blur(12px); backdrop-filter: var(--tw-backdrop-blur); -webkit-backdrop-filter: var(--tw-backdrop-blur); }
.transition-all { transition-property: all; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); transition-duration: 150ms; }
.transition-colors { transition-property: color, background-color, border-color, text-decoration-color, fill, stroke; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); transition-duration: 150ms; }
.transition-shadow { transition-property: box-shadow; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); transition-duration: 150ms; }
.transition-transform { transition-property: transform; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); transition-duration: 150ms; }
.duration-300 { transition-duration: 300ms; }
.cursor-pointer { cursor: pointer; }
.object-cover { object-fit: cover; }
.shrink-0 { flex-shrink: 0; }
.list-none { list-style-type: none; }
#main-header.scrolled {
  box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  background-color: rgba(255, 255, 255, 0.8);
  --tw-backdrop-blur: blur(4px);
  backdrop-filter: var(--tw-backdrop-blur);
  -webkit-backdrop-filter: var(--tw-backdrop-blur);
}

/* RESPONSIVE */
@media (min-width: 768px) {
  .md\:inline { display: inline; }
  .md\:hidden { display: none; }
  .md\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .md\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .md\:flex-row { flex-direction: row; }
  .md\:space-y-0 > :not([hidden]) ~ :not([hidden]) { margin-top: 0; }
  .md\:space-x-8 > :not([hidden]) ~ :not([hidden]) { margin-left: 2rem; }
  .md\:text-sm { font-size: 0.875rem; line-height: 1.25rem; }
  .md\:text-xl { font-size: 1.25rem; line-height: 1.75rem; }
  .md\:text-2xl { font-size: 1.5rem; line-height: 2rem; }
  .md\:text-3xl { font-size: 1.875rem; line-height: 2.25rem; }
  .md\:text-4xl { font-size: 2.25rem; line-height: 2.5rem; }
  .md\:text-6xl { font-size: 3.75rem; line-height: 1; }
  .md\:text-7xl { font-size: 4.5rem; line-height: 1; }
  .md\:py-28 { padding-top: 7rem; padding-bottom: 7rem; }
  .md\:px-5 { padding-left: 1.25rem; padding-right: 1.25rem; }
  .md\:p-12 { padding: 3rem; }
  .md\:text-left { text-align: left; }
}

@media (min-width: 1024px) {
  .lg\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lg\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

.bg-black { background-color: #000; }


body, .font-sans {
    font-family: 'Montserrat', sans-serif !important;
}

.font-serif {
    font-family: 'Lora', serif !important;
}


@media (max-width: 767px) {
  #inicio {
    padding-top: 80px !important; /* <--- PUEDES AJUSTAR ESTE NÚMERO */
  }
}


.cta-button:not(.bg-white):hover,
.cta-button:not(.bg-white):active,
.cta-button-main:not(.bg-white):hover,
.cta-button-main:not(.bg-white):active {
  color: #ffffff !important;
}

.cta-button-main.bg-white:hover,
.cta-button-main.bg-white:active {
  color: var(--color-acento) !important;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-container .logo-text-line {
    display: block;
}

/*
 * =========================================================
 * ANULACIÓN PRECISA PARA LA LANDING PAGE
 * =========================================================
 * Se apunta al HTML específico de esta plantilla.
 */

/* 
 * SOLUCIÓN: Apuntamos al primer enlace (<a>) que está
 * dentro de un <div> dentro del <header>. Esto se aplica
 * directamente a tu logo y no al botón.
 */
header div > a:first-child,

/* Reglas para los botones y otros enlaces que ya funcionaban */
.cta-button,
.cta-button-main,
h1 a, h2 a, h3 a,
footer a {
    text-decoration: none !important;
}