/* ================================================
   Psicología Holística – Clean, Responsive UI
   ================================================ */

:root {
    --primary: #4A9EBB;
    --primary-light: #EBF7FC;
    --primary-dark: #2D7A93;
    --secondary: #5EB17A;
    --secondary-light: #EAF7EE;
    --secondary-dark: #3D8A57;
    --accent: #B2826E;
    --accent-light: #F5E6E0;
    --accent-dark: #8C5D4D;
    --neutral-50: #FAFAFA;
    --neutral-100: #F5F5F5;
    --neutral-200: #E8E8E8;
    --neutral-600: #4B5563;
    --neutral-700: #374151;
    --neutral-800: #2D3748;
    --neutral-900: #1A1A2E;
    --text-main: #1F2937;
    --shadow-soft: 0 4px 24px rgba(74,158,187,0.08);
    --shadow-card: 0 10px 40px -10px rgba(0,0,0,0.05), 0 4px 12px -2px rgba(0,0,0,0.03);
}

/* ---- Base Reset ---- */
*, *::before, *::after { box-sizing: border-box; }

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    background-color: var(--neutral-50);
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-main);
    background: var(--neutral-50);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

/* ================================================
   HEADER / NAVBAR
   ================================================ */

#site-header {
    background: #ffffff;
    box-shadow: 0 1px 12px rgba(74,158,187,0.08);
    border-bottom: 1px solid #E8E8E8;
    transition: box-shadow 0.3s ease;
}

#site-header.scrolled {
    box-shadow: 0 4px 20px rgba(74,158,187,0.12);
}

/* Nav strip bottom border underline indicator */
.nav-link {
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.025em;
    padding: 0.625rem 0.875rem;
    border-bottom: 2px solid transparent;
    color: var(--neutral-600);
    transition: color 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
    text-decoration: none;
}

.nav-link:hover {
    color: var(--primary);
    border-bottom-color: rgba(74,158,187,0.4);
    background-color: rgba(235,247,252,0.5);
}

.nav-link.active {
    color: var(--primary);
    border-bottom-color: var(--primary);
    background-color: rgba(235,247,252,0.6);
}

/* Hide scrollbar on nav strip */
.scrollbar-hide {
    -ms-overflow-style: none;
    scrollbar-width: none;
}
.scrollbar-hide::-webkit-scrollbar { display: none; }

/* ================================================
   BUTTONS — Standardized Sizes
   ================================================ */

/* Standard button base */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.6rem 1.25rem;
    font-size: 0.875rem;
    font-weight: 600;
    line-height: 1.25;
    border-radius: 0.5rem;
    border: none;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.2s ease;
    text-decoration: none;
}

/* Primary button */
.btn-primary,
.btn-vibrant {
    background: var(--primary);
    color: #ffffff;
    padding: 0.625rem 1.25rem;
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: 0.5rem;
    border: none;
    box-shadow: 0 2px 8px rgba(74,158,187,0.3);
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    white-space: nowrap;
}

.btn-primary:hover,
.btn-vibrant:hover {
    background: var(--primary-dark);
    box-shadow: 0 4px 16px rgba(74,158,187,0.4);
    transform: translateY(-1px);
}

/* Secondary / outline button */
.btn-secondary {
    background: transparent;
    color: var(--primary);
    padding: 0.625rem 1.25rem;
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: 0.5rem;
    border: 2px solid var(--primary);
    box-shadow: none;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    white-space: nowrap;
}

.btn-secondary:hover {
    background: var(--primary);
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(74,158,187,0.4);
}

/* Large CTA button (hero) */
.btn-lg {
    padding: 0.75rem 1.75rem;
    font-size: 1rem;
    border-radius: 0.625rem;
}

/* Small utility button */
.btn-sm {
    padding: 0.4rem 0.875rem;
    font-size: 0.75rem;
    border-radius: 0.375rem;
}

/* ================================================
   HERO SECTION
   ================================================ */

#hero {
    padding: 2.5rem 0 2rem;
    background: linear-gradient(135deg, rgba(74,158,187,0.04) 0%, rgba(255,255,255,1) 60%);
    border-bottom: 1px solid rgba(74,158,187,0.08);
}

.hero-image-wrapper {
    max-width: 480px;
    width: 100%;
    margin-left: auto;
    border-radius: 1.5rem;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(74,158,187,0.15), 0 8px 20px rgba(0,0,0,0.06);
    border: 4px solid white;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-image-wrapper:hover {
    transform: translateY(-6px);
}

/* ================================================
   CARDS / FEATURE GRID
   ================================================ */

.feature-card {
    background: #ffffff;
    border-radius: 1.25rem;
    padding: 1.5rem;
    border: 1px solid rgba(0,0,0,0.06);
    box-shadow: var(--shadow-card);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 50px rgba(74,158,187,0.12), 0 8px 16px rgba(0,0,0,0.06);
}

/* ================================================
   SECTION TITLES
   ================================================ */

.section-title {
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 1.75rem;
    color: var(--neutral-900);
    letter-spacing: -0.02em;
    line-height: 1.2;
}

@media (min-width: 768px) {
    .section-title { font-size: 2.25rem; }
}

/* ================================================
   TEXT GRADIENTS
   ================================================ */

.text-gradient-vibrant {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ================================================
   ICON CONTAINER (369 etc.)
   ================================================ */

.icon-369-container {
    max-width: 280px;
    height: 280px;
    margin: 0 auto;
    border-radius: 1.5rem;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-card);
    border: 1px solid rgba(74,158,187,0.1);
    overflow: hidden;
}

.icon-369-container img {
    width: 70%;
    height: 70%;
    object-fit: contain;
    transition: transform 0.4s ease;
}

.icon-369-container:hover img {
    transform: scale(1.08);
}

/* ================================================
   SCROLL PROGRESS BAR
   ================================================ */

#scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(to right, var(--primary), var(--secondary), var(--accent));
    z-index: 200;
    transition: width 0.1s linear;
}

/* ================================================
   UTILITIES
   ================================================ */

.reveal {
    opacity: 1 !important;
    transform: none !important;
}

/* ================================================
   RESPONSIVE BREAKPOINTS
   ================================================ */

@media (max-width: 1023px) {
    #hero { padding: 2rem 1rem 1.5rem; }
}

@media (max-width: 767px) {
    #hero { padding: 1.5rem 1rem; }
    .hero-image-wrapper { max-width: 100%; border-radius: 1.25rem; border-width: 3px; }
    .icon-369-container { max-width: 220px; height: 220px; }
    .section-title { font-size: 1.5rem; }
}

@media (max-width: 480px) {
    .btn-primary, .btn-vibrant, .btn-secondary { padding: 0.5rem 1rem; font-size: 0.8125rem; }
}
