/* 
 * Finanzas Familiares Confiables - Hoja de estilo principal
 * Autor: Desarrollador web creativo
 * Fecha: Julio 2025
 */

/* ========= ESTILOS GLOBALES ========= */

:root {
    /* Paleta de colores */
    --color-primary: #1e5f74;
    --color-secondary: #3a9188;
    --color-accent: #f0b67f;
    --color-accent-dark: #d84727;
    
    /* Fondos */
    --color-bg-light: #ffffff;
    --color-bg-off-white: #f5f7f9;
    --color-bg-gray: #e1e5ea;
    
    /* Texto */
    --color-text-dark: #1a2a36;
    --color-text-medium: #546a7b;
    --color-text-light: #869aab;
    
    /* Transiciones */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
    
    /* Espaciado */
    --spacing-xs: 0.25rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    
    /* Sombras */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 8px 16px rgba(0, 0, 0, 0.12);
    
    /* Bordes */
    --border-radius-sm: 4px;
    --border-radius-md: 8px;
    --border-radius-lg: 16px;
    --border-radius-xl: 24px;
    --border-radius-circle: 50%;
    
    /* Z-index */
    --z-index-low: 10;
    --z-index-mid: 50;
    --z-index-high: 100;
    --z-index-modal: 1000;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Red Hat Display', sans-serif;
    color: var(--color-text-dark);
    line-height: 1.6;
    font-size: 16px;
    background-color: var(--color-bg-light);
    overflow-x: hidden;
}

/* ========= ELEMENTOS GENERALES ========= */

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1rem;
    color: var(--color-primary);
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
}

a {
    color: var(--color-secondary);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--color-primary);
    text-decoration: none;
}

img {
    max-width: 100%;
    height: auto;
}

ul, ol {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
}

.uk-button-primary {
    background-color: var(--color-primary);
    color: white;
    border-radius: var(--border-radius-md);
    font-weight: 500;
    text-transform: none;
    letter-spacing: 0.5px;
    padding: 10px 20px;
    transition: background var(--transition-fast);
}

.uk-button-primary:hover {
    background-color: #17505f;
    color: white;
}

.uk-button-default {
    background-color: transparent;
    color: var(--color-primary);
    border: 1px solid var(--color-primary);
    border-radius: var(--border-radius-md);
    font-weight: 500;
    text-transform: none;
    letter-spacing: 0.5px;
    padding: 10px 20px;
    transition: all var(--transition-fast);
}

.uk-button-default:hover {
    background-color: var(--color-primary);
    color: white;
    border-color: var(--color-primary);
}

.section-title {
    position: relative;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: var(--color-accent);
}

.uk-text-center .section-title::after {
    left: 50%;
    transform: translateX(-50%);
}

.uk-divider {
    margin: 3rem 0;
    height: 1px;
    background-color: var(--color-bg-gray);
}

/* ========= NAVEGACIÓN ========= */

header {
    position: absolute;
    width: 100%;
    z-index: var(--z-index-high);
    padding: 1rem 0;
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
}

.uk-navbar-container {
    background-color: transparent !important;
}

.uk-navbar-nav > li > a {
    font-weight: 500;
    color: var(--color-text-medium);
    text-transform: none;
    font-size: 1rem;
    min-height: auto;
    position: relative;
}

.uk-navbar-nav > li > a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background-color: var(--color-accent);
    transition: all var(--transition-normal);
    transform: translateX(-50%);
}

.uk-navbar-nav > li:hover > a::after,
.uk-navbar-nav > li.uk-active > a::after {
    width: 80%;
}

.uk-navbar-nav > li:hover > a,
.uk-navbar-nav > li.uk-active > a {
    color: var(--color-primary);
}

.hamburger-menu {
    width: 30px;
    height: 24px;
    position: relative;
    cursor: pointer;
    background: none;
    border: none;
}

.hamburger-menu span {
    display: block;
    position: absolute;
    height: 3px;
    width: 100%;
    background: var(--color-primary);
    border-radius: 3px;
    left: 0;
    transform: rotate(0deg);
    transition: all var(--transition-fast);
}

.hamburger-menu span:nth-child(1) {
    top: 0;
}

.hamburger-menu span:nth-child(2) {
    top: 10px;
}

.hamburger-menu span:nth-child(3) {
    top: 20px;
}

.uk-offcanvas-bar {
    background-color: var(--color-primary);
    padding: 2rem 1.5rem;
}

.uk-offcanvas-bar .uk-nav-primary > li > a {
    font-size: 1.2rem;
    padding: 0.5rem 0;
    color: rgba(255, 255, 255, 0.8);
}

.uk-offcanvas-bar .uk-nav-primary > li.uk-active > a {
    color: white;
    font-weight: 700;
}

/* ========= BANNER PRINCIPAL ========= */

.hero-section {
    min-height: 90vh;
    display: flex;
    align-items: center;
    padding: 8rem 0 4rem;
    background-color: var(--color-primary);
    position: relative;
    overflow: hidden;
    background-size: cover;
    background-position: center;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(30, 95, 116, 0.9), rgba(30, 95, 116, 0.6));
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.hero-content h1 {
    color: white;
    margin-bottom: 1.5rem;
    font-size: 3rem;
    line-height: 1.2;
}

.hero-content p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    font-size: 1.25rem;
}

.hero-content .uk-button-primary {
    background-color: var(--color-accent);
    color: var(--color-text-dark);
    border: none;
    padding: 12px 30px;
    font-size: 1.1rem;
    font-weight: 500;
    transition: all var(--transition-fast);
}

.hero-content .uk-button-primary:hover {
    background-color: white;
    color: var(--color-primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* ========= SECCIÓN DE INFORMACIÓN ========= */

.image-overlap-container {
    position: relative;
    height: 450px;
}

.image-overlap-box {
    position: absolute;
    width: 75%;
    border-radius: var(--border-radius-md);
    overflow: hidden;
    transition: transform var(--transition-normal);
}

.image-overlap-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.image-overlap-1 {
    top: 0;
    left: 0;
    z-index: 2;
}

.image-overlap-2 {
    bottom: 0;
    right: 0;
    z-index: 1;
}

.image-overlap-container:hover .image-overlap-1 {
    transform: translateY(-10px) translateX(-10px);
}

.image-overlap-container:hover .image-overlap-2 {
    transform: translateY(10px) translateX(10px);
}

/* ========= SECCIÓN DE BENEFICIOS ========= */

.benefits-section {
    background-color: var(--color-bg-off-white);
    position: relative;
    overflow: hidden;
}

.benefits-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 200px;
    height: 200px;
    background-color: rgba(240, 182, 127, 0.1);
    border-radius: 50%;
    z-index: 1;
}

.benefits-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 300px;
    height: 300px;
    background-color: rgba(58, 145, 136, 0.1);
    border-radius: 50%;
    z-index: 1;
}

.benefit-card {
    background-color: white;
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    height: 100%;
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
    position: relative;
    z-index: 2;
}

.benefit-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.benefit-icon {
    width: 60px;
    height: 60px;
    background-color: rgba(58, 145, 136, 0.1);
    border-radius: var(--border-radius-circle);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.benefit-icon i {
    font-size: 1.8rem;
    color: var(--color-secondary);
}

.benefit-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--color-primary);
}

.benefit-card p {
    color: var(--color-text-medium);
    margin-bottom: 0;
}

/* ========= SECCIÓN DE ESTRATEGIAS ========= */

.strategies-section {
    position: relative;
    padding-top: 5rem;
    padding-bottom: 5rem;
}

.strategies-sidebar {
    position: sticky;
    top: 100px;
}

.strategy-nav {
    margin-top: 2rem;
}

.strategy-nav .uk-nav-default > li > a {
    padding: 0.8rem 1rem;
    margin-bottom: 0.5rem;
    border-radius: var(--border-radius-sm);
    color: var(--color-text-medium);
    transition: all var(--transition-fast);
}

.strategy-nav .uk-nav-default > li > a:hover {
    background-color: rgba(58, 145, 136, 0.1);
    color: var(--color-primary);
    padding-left: 1.5rem;
}

.strategy-content {
    padding-left: 2rem;
    border-left: 1px solid var(--color-bg-gray);
}

.strategy-item {
    margin-bottom: 3rem;
}

.strategy-item:last-child {
    margin-bottom: 0;
}

.strategy-item h3 {
    color: var(--color-primary);
    font-size: 1.4rem;
    margin-bottom: 1rem;
}

.strategy-tips {
    background-color: var(--color-bg-off-white);
    border-radius: var(--border-radius-md);
    padding: 1.5rem;
    margin-top: 1.5rem;
    border-left: 3px solid var(--color-accent);
}

.strategy-tips h4 {
    margin-bottom: 0.8rem;
    color: var(--color-text-dark);
    font-size: 1.1rem;
}

.strategy-tips ul {
    margin-bottom: 0;
}

/* ========= SECCIÓN DE HERRAMIENTAS ========= */

.tools-section {
    background-color: white;
    position: relative;
}

.tool-card {
    text-align: center;
    padding: 2rem;
    background-color: var(--color-bg-off-white);
    border-radius: var(--border-radius-lg);
    height: 100%;
    transition: transform var(--transition-normal);
}

.tool-card:hover {
    transform: translateY(-10px);
}

.tool-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background-color: rgba(30, 95, 116, 0.1);
    border-radius: var(--border-radius-circle);
    display: flex;
    align-items: center;
    justify-content: center;
}

.tool-icon i {
    font-size: 2.5rem;
    color: var(--color-primary);
}

.tool-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.tool-card p {
    color: var(--color-text-medium);
}

/* ========= SECCIÓN DE TENDENCIAS ========= */

.trends-section {
    background-color: var(--color-bg-off-white);
}

.trends-content {
    padding-right: 2rem;
}

.trends-list {
    margin-top: 2rem;
}

.trend-item {
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--color-bg-gray);
}

.trend-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.trend-item h3 {
    color: var(--color-primary);
    font-size: 1.2rem;
    margin-bottom: 0.8rem;
}

.trend-item h3 i {
    color: var(--color-accent);
    margin-right: 0.5rem;
}

.trend-item p {
    color: var(--color-text-medium);
    margin-bottom: 0;
}

.trends-image-container {
    position: relative;
    height: 100%;
    min-height: 400px;
}

.trends-image-container img {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    width: 100%;
    height: auto;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
}

/* ========= CARRUSEL DE CONSEJOS ========= */

.carousel-section {
    padding-top: 5rem;
    padding-bottom: 5rem;
    background-color: white;
}

.carousel {
    margin-top: 3rem;
}

.carousel-cell {
    width: 100%;
    padding: 0 1rem;
}

@media screen and (min-width: 768px) {
    .carousel-cell {
        width: 50%;
    }
}

@media screen and (min-width: 992px) {
    .carousel-cell {
        width: 33.333%;
    }
}

.carousel-content {
    background-color: var(--color-bg-off-white);
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    height: 100%;
    min-height: 280px;
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.carousel-content:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-md);
}

.carousel-icon {
    width: 60px;
    height: 60px;
    background-color: rgba(216, 71, 39, 0.1);
    border-radius: var(--border-radius-circle);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.carousel-icon i {
    font-size: 1.8rem;
    color: var(--color-accent-dark);
}

.carousel-content h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: var(--color-primary);
}

.carousel-content p {
    color: var(--color-text-medium);
    margin-bottom: 0;
}

/* Estilos para los botones de Flickity */
.flickity-button {
    background: var(--color-primary);
    color: white;
}

.flickity-button:hover {
    background: var(--color-secondary);
}

.flickity-button:focus {
    outline: none;
    box-shadow: 0 0 0 5px rgba(30, 95, 116, 0.5);
}

.flickity-prev-next-button {
    width: 40px;
    height: 40px;
    border-radius: var(--border-radius-circle);
}

.flickity-page-dots {
    bottom: -40px;
}

.flickity-page-dots .dot {
    width: 10px;
    height: 10px;
    opacity: 0.4;
    background: var(--color-primary);
}

.flickity-page-dots .dot.is-selected {
    opacity: 1;
}

/* ========= SECCIÓN DE CONTACTO ========= */

.contact-section {
    background-color: white;
    position: relative;
    overflow: hidden;
}

.contact-section::before {
    content: '';
    position: absolute;
    bottom: -150px;
    right: -150px;
    width: 300px;
    height: 300px;
    background-color: rgba(58, 145, 136, 0.05);
    border-radius: var(--border-radius-circle);
    z-index: 1;
}

.contact-content {
    position: relative;
    z-index: 2;
}

.contact-info {
    margin-top: 2rem;
}

.contact-info-item {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.contact-info-item:last-child {
    margin-bottom: 0;
}

.contact-info-item i {
    width: 40px;
    height: 40px;
    background-color: rgba(30, 95, 116, 0.1);
    border-radius: var(--border-radius-circle);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    color: var(--color-primary);
}

.contact-form-container {
    background-color: var(--color-bg-off-white);
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    position: relative;
    z-index: 2;
    box-shadow: var(--shadow-md);
}

.contact-form .uk-form-label {
    color: var(--color-primary);
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.contact-form .uk-input,
.contact-form .uk-textarea,
.contact-form .uk-select {
    border-radius: var(--border-radius-sm);
    border: 1px solid var(--color-bg-gray);
    padding: 0.8rem 1rem;
    background-color: white;
}

.contact-form .uk-input:focus,
.contact-form .uk-textarea:focus,
.contact-form .uk-select:focus {
    border-color: var(--color-secondary);
    box-shadow: 0 0 0 2px rgba(58, 145, 136, 0.2);
}

/* Estilos para intl-tel-input */
.iti {
    width: 100%;
}

.iti__flag {
    background-image: url("https://cdn.jsdelivr.net/npm/intl-tel-input@19.5.1/build/img/flags.png");
}

@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .iti__flag {
        background-image: url("https://cdn.jsdelivr.net/npm/intl-tel-input@19.5.1/build/img/flags@2x.png");
    }
}

/* ========= FOOTER ========= */

footer {
    background-color: var(--color-primary);
    color: rgba(255, 255, 255, 0.8);
}

.footer-about {
    margin-bottom: 2rem;
}

.footer-logo {
    margin-bottom: 1rem;
    filter: brightness(0) invert(1);
}

.footer-heading {
    color: white;
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    transition: color var(--transition-fast);
    display: inline-block;
    padding: 0.3rem 0;
}

.footer-links a:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    padding-bottom: 2rem;
    margin-top: 3rem;
    text-align: center;
}

.footer-disclaimer {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    max-width: 800px;
    margin: 1rem auto 0;
}

/* ========= BANNERS DE PÁGINA ========= */

.page-banner {
    background-color: var(--color-primary);
    padding: 8rem 0 4rem;
    text-align: center;
    position: relative;
}

.page-banner h1 {
    color: white;
    margin-bottom: 1rem;
}

.page-banner p {
    color: rgba(255, 255, 255, 0.9);
    max-width: 700px;
    margin: 0 auto;
}

.alt-banner {
    background-color: var(--color-secondary);
}

.contact-banner {
    background-color: var(--color-primary);
    background-image: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
}

.legal-banner {
    padding: 6rem 0 2rem;
    background-color: var(--color-text-dark);
}

/* ========= PÁGINAS LEGALES ========= */

.legal-section {
    padding-top: 3rem;
    padding-bottom: 3rem;
}

.legal-sidebar {
    background-color: var(--color-bg-off-white);
    border-radius: var(--border-radius-md);
    padding: 1.5rem;
}

.legal-sidebar h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--color-bg-gray);
}

.legal-sidebar .uk-nav-default > li > a {
    padding: 0.5rem 0;
    color: var(--color-text-medium);
    font-size: 0.95rem;
    transition: all var(--transition-fast);
}

.legal-sidebar .uk-nav-default > li > a:hover {
    color: var(--color-primary);
    padding-left: 0.5rem;
}

.legal-content h2 {
    font-size: 1.8rem;
    margin-top: 2rem;
    margin-bottom: 1.5rem;
    color: var(--color-primary);
}

.legal-content h3 {
    font-size: 1.3rem;
    margin-top: 1.5rem;
    margin-bottom: 1rem;
    color: var(--color-secondary);
}

.legal-section {
    margin-bottom: 3rem;
}

.legal-section:last-child {
    margin-bottom: 0;
}

/* ========= PÁGINA DE MARCO CONCEPTUAL ========= */

.concept-section {
    margin-bottom: 3rem;
}

.concept-header {
    margin-bottom: 2rem;
}

.concept-header h2 {
    position: relative;
    padding-bottom: 0.8rem;
}

.concept-header h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: var(--color-accent);
}

.concept-sidebar {
    background-color: var(--color-bg-off-white);
    border-radius: var(--border-radius-md);
    padding: 1.5rem;
    height: 100%;
}

.concept-sidebar h4 {
    color: var(--color-primary);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.principles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.principle-card {
    background-color: var(--color-bg-off-white);
    border-radius: var(--border-radius-md);
    padding: 1.5rem;
    height: 100%;
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.principle-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.principle-icon {
    width: 50px;
    height: 50px;
    background-color: rgba(58, 145, 136, 0.1);
    border-radius: var(--border-radius-circle);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.principle-icon i {
    font-size: 1.5rem;
    color: var(--color-secondary);
}

.principle-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.8rem;
    color: var(--color-primary);
}

.model-item {
    height: 100%;
}

.model-item h3 {
    color: var(--color-primary);
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.concept-glossary {
    margin-top: 2rem;
}

.concept-term {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--color-bg-gray);
}

.concept-term:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.concept-term h3 {
    color: var(--color-primary);
    font-size: 1.2rem;
    margin-bottom: 0.8rem;
}

.context-features {
    margin-top: 2rem;
}

.context-feature {
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--color-bg-gray);
}

.context-feature:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.context-feature h3 {
    color: var(--color-primary);
    font-size: 1.2rem;
    margin-bottom: 0.8rem;
}

.resource-card {
    background-color: white;
    border-radius: var(--border-radius-md);
    padding: 1.5rem;
    height: 100%;
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
    text-align: center;
}

.resource-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-md);
}

.resource-icon {
    width: 60px;
    height: 60px;
    background-color: rgba(30, 95, 116, 0.1);
    border-radius: var(--border-radius-circle);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.resource-icon i {
    font-size: 1.8rem;
    color: var(--color-primary);
}

.resource-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.8rem;
}

/* ========= PÁGINA DE INFORMACIÓN COMPLETA ========= */

.info-sidebar {
    background-color: var(--color-bg-off-white);
    border-radius: var(--border-radius-md);
    padding: 1.5rem;
}

.info-sidebar h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: var(--color-primary);
}

.info-sidebar .uk-nav-default > li > a {
    padding: 0.5rem 0;
    color: var(--color-text-medium);
    transition: all var(--transition-fast);
}

.info-sidebar .uk-nav-default > li > a:hover {
    color: var(--color-primary);
    padding-left: 0.5rem;
}

.info-section-header {
    display: flex;
    align-items: center;
    margin-bottom: 2.5rem;
}

.info-icon {
    width: 60px;
    height: 60px;
    background-color: rgba(30, 95, 116, 0.1);
    border-radius: var(--border-radius-circle);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1.5rem;
}

.info-icon i {
    font-size: 2rem;
    color: var(--color-primary);
}

.info-section-header h2 {
    margin-bottom: 0;
    font-size: 2rem;
}

.info-content h3 {
    color: var(--color-primary);
    font-size: 1.4rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.info-content h3:first-child {
    margin-top: 0;
}

.info-box {
    background-color: var(--color-bg-off-white);
    border-radius: var(--border-radius-md);
    padding: 1.5rem;
    margin: 2rem 0;
}

.info-box h3 {
    margin-top: 0 !important;
}

.process-steps {
    margin-top: 2rem;
}

.process-step {
    display: flex;
    margin-bottom: 1.5rem;
}

.process-step:last-child {
    margin-bottom: 0;
}

.step-number {
    width: 40px;
    height: 40px;
    background-color: var(--color-primary);
    color: white;
    border-radius: var(--border-radius-circle);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
    margin-right: 1rem;
    flex-shrink: 0;
}

.step-content {
    padding-top: 0.5rem;
}

.step-content h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--color-secondary);
}

.features-grid {
    margin-top: 2rem;
}

.feature-card {
    background-color: white;
    border-radius: var(--border-radius-md);
    padding: 1.5rem;
    height: 100%;
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition-normal);
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-icon {
    width: 50px;
    height: 50px;
    background-color: rgba(240, 182, 127, 0.1);
    border-radius: var(--border-radius-circle);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.feature-icon i {
    font-size: 1.5rem;
    color: var(--color-accent);
}

.feature-card h4 {
    font-size: 1.1rem;
    margin-bottom: 0.8rem;
    color: var(--color-primary);
}

.debt-types {
    background-color: var(--color-bg-off-white);
    border-radius: var(--border-radius-md);
    padding: 1.5rem;
}

.debt-type-card {
    height: 100%;
    border-radius: var(--border-radius-md);
    padding: 1.5rem;
}

.debt-type-card.positive {
    background-color: rgba(58, 145, 136, 0.1);
    border-left: 3px solid var(--color-secondary);
}

.debt-type-card.neutral {
    background-color: rgba(240, 182, 127, 0.1);
    border-left: 3px solid var(--color-accent);
}

.debt-type-card.negative {
    background-color: rgba(216, 71, 39, 0.1);
    border-left: 3px solid var(--color-accent-dark);
}

.debt-type-card h4 {
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.method-card {
    background-color: var(--color-bg-off-white);
    border-radius: var(--border-radius-md);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.method-card:last-child {
    margin-bottom: 0;
}

.method-card h4 {
    color: var(--color-primary);
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.strategy-item {
    margin-bottom: 2rem;
}

.strategy-item:last-child {
    margin-bottom: 0;
}

.strategy-item h4 {
    color: var(--color-secondary);
    font-size: 1.1rem;
    margin-bottom: 0.8rem;
}

.strategy-item h4 i {
    margin-right: 0.5rem;
}

.caution-note {
    color: var(--color-accent-dark);
    font-style: italic;
    margin-top: 0.5rem;
}

.saving-box {
    background-color: rgba(58, 145, 136, 0.1);
    border-radius: var(--border-radius-md);
    padding: 1.5rem;
    margin: 2rem 0;
    border-left: 3px solid var(--color-secondary);
}

.technique-item {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--color-bg-gray);
}

.technique-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.technique-item h4 {
    color: var(--color-primary);
    font-size: 1.1rem;
    margin-bottom: 0.8rem;
}

.technique-item h4 i {
    margin-right: 0.5rem;
}

.technique-tip {
    font-style: italic;
    color: var(--color-secondary);
    margin-top: 0.8rem;
}

.goal-card {
    border-radius: var(--border-radius-md);
    padding: 1.5rem;
    height: 100%;
}

.goal-card.short-term {
    background-color: rgba(240, 182, 127, 0.1);
    border-left: 3px solid var(--color-accent);
}

.goal-card.medium-term {
    background-color: rgba(58, 145, 136, 0.1);
    border-left: 3px solid var(--color-secondary);
}

.goal-card.long-term {
    background-color: rgba(30, 95, 116, 0.1);
    border-left: 3px solid var(--color-primary);
}

.goal-card h4 {
    color: var(--color-text-dark);
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.goal-card ul {
    margin-bottom: 1rem;
}

.benefits-list {
    background-color: var(--color-bg-off-white);
    border-radius: var(--border-radius-md);
    padding: 1.5rem;
    margin-top: 2rem;
}

.benefits-list h4 {
    margin-bottom: 1rem;
    color: var(--color-primary);
    font-size: 1.1rem;
}

.benefits-list ul {
    margin-bottom: 0;
}

.age-card {
    background-color: white;
    border-radius: var(--border-radius-md);
    padding: 1.5rem;
    height: 100%;
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition-normal);
}

.age-card:hover {
    transform: translateY(-5px);
}

.age-card h4 {
    color: var(--color-primary);
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.resource-item {
    margin-bottom: 2rem;
}

.resource-item:last-child {
    margin-bottom: 0;
}

.resource-item h4 {
    color: var(--color-secondary);
    font-size: 1.1rem;
    margin-bottom: 0.8rem;
}

.resource-item h4 i {
    margin-right: 0.5rem;
}

.longterm-goal-card {
    background-color: var(--color-bg-off-white);
    border-radius: var(--border-radius-md);
    padding: 1.5rem;
    height: 100%;
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.longterm-goal-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.goal-icon {
    width: 50px;
    height: 50px;
    background-color: rgba(30, 95, 116, 0.1);
    border-radius: var(--border-radius-circle);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.goal-icon i {
    font-size: 1.5rem;
    color: var(--color-primary);
}

.longterm-goal-card h4 {
    color: var(--color-primary);
    font-size: 1.2rem;
    margin-bottom: 0.8rem;
}

.plan-features {
    margin-top: 1.5rem;
}

.plan-feature {
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--color-bg-gray);
}

.plan-feature:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.plan-feature h4 {
    color: var(--color-primary);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.plan-feature h4 i {
    margin-right: 0.5rem;
}

.review-schedule {
    margin-top: 1.5rem;
}

.review-item {
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--color-bg-gray);
}

.review-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.review-item h4 {
    color: var(--color-secondary);
    font-size: 1.1rem;
    margin-bottom: 0.8rem;
}

.conclusion-content {
    max-width: 800px;
    margin: 0 auto;
}

/* ========= PÁGINA DE CONTACTO ========= */

.contact-main-section {
    padding-top: 4rem;
    padding-bottom: 4rem;
}

.contact-info-container {
    height: 100%;
}

.contact-details {
    margin-top: 2rem;
}

.contact-detail-item {
    display: flex;
    margin-bottom: 1.5rem;
}

.contact-detail-item:last-child {
    margin-bottom: 0;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background-color: rgba(30, 95, 116, 0.1);
    border-radius: var(--border-radius-circle);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    flex-shrink: 0;
}

.contact-icon i {
    font-size: 1.5rem;
    color: var(--color-primary);
}

.contact-text h3 {
    font-size: 1.1rem;
    margin-bottom: 0.3rem;
    color: var(--color-primary);
}

.map-container {
    height: 300px;
    border-radius: var(--border-radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.faq-section {
    background-color: var(--color-bg-off-white);
}

.uk-accordion-title {
    color: var(--color-primary);
    font-size: 1.2rem;
    padding: 1rem 1.5rem;
    background-color: white;
    border-radius: var(--border-radius-md);
    margin-bottom: 0.5rem;
    transition: all var(--transition-fast);
}

.uk-accordion-title:hover {
    background-color: rgba(30, 95, 116, 0.05);
}

.uk-accordion-content {
    padding: 0 1.5rem 1.5rem;
}

/* ========= PÁGINA DE AGRADECIMIENTO ========= */

.thanks-section {
    padding-top: 5rem;
    padding-bottom: 5rem;
}

.thanks-container {
    background-color: var(--color-bg-off-white);
    border-radius: var(--border-radius-lg);
    padding: 3rem;
    text-align: center;
    box-shadow: var(--shadow-md);
}

.thanks-icon {
    width: 80px;
    height: 80px;
    background-color: rgba(58, 145, 136, 0.1);
    border-radius: var(--border-radius-circle);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
}

.thanks-icon i {
    font-size: 3rem;
    color: var(--color-secondary);
}

.thanks-container h1 {
    margin-bottom: 1rem;
    color: var(--color-primary);
}

/* ========= COOKIE CONSENT ========= */

.cookie-consent-container {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: white;
    box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.1);
    z-index: var(--z-index-modal);
    display: none;
}

.cookie-consent {
    padding: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.cookie-consent-title {
    font-size: 1.2rem;
    margin-bottom: 0.8rem;
    color: var(--color-primary);
}

.cookie-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1.5rem;
}

.cookie-button {
    padding: 0.6rem 1.2rem;
    border-radius: var(--border-radius-sm);
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.cookie-accept-all {
    background-color: var(--color-primary);
    color: white;
    border: none;
}

.cookie-accept-all:hover {
    background-color: #17505f;
}

.cookie-accept-necessary {
    background-color: transparent;
    color: var(--color-primary);
    border: 1px solid var(--color-primary);
}

.cookie-accept-necessary:hover {
    background-color: rgba(30, 95, 116, 0.1);
}

.cookie-customize {
    background-color: transparent;
    color: var(--color-text-medium);
    border: 1px solid var(--color-bg-gray);
}

.cookie-customize:hover {
    background-color: var(--color-bg-off-white);
}

.cookie-settings-options {
    margin-top: 1.5rem;
}

.cookie-option {
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--color-bg-gray);
}

.cookie-option:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.cookie-description {
    font-size: 0.9rem;
    color: var(--color-text-medium);
    margin-top: 0.5rem;
    margin-left: 1.8rem;
}

/* ========= MEDIA QUERIES ========= */

/* Móvil pequeño */
@media (max-width: 479px) {
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .benefit-card, .tool-card, .resource-card {
        padding: 1.5rem;
    }
    
    .image-overlap-container {
        height: 350px;
    }
    
    .cookie-buttons {
        flex-direction: column;
    }
    
    .cookie-button {
        width: 100%;
    }
}

/* Móvil */
@media (max-width: 767px) {
    .uk-section {
        padding-top: 3rem;
        padding-bottom: 3rem;
    }
    
    .hero-section {
        min-height: 80vh;
        padding: 6rem 0 3rem;
    }
    
    .benefit-icon, .tool-icon, .feature-icon {
        margin-bottom: 1rem;
    }
    
    .strategy-content {
        padding-left: 0;
        border-left: none;
        margin-top: 2rem;
    }
    
    .trends-image-container {
        min-height: 250px;
        margin-top: 2rem;
    }
    
    .contact-form-container {
        margin-top: 2rem;
    }
    
    .info-section-header {
        flex-direction: column;
        text-align: center;
    }
    
    .info-icon {
        margin-right: 0;
        margin-bottom: 1rem;
    }
    
    .process-step {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .step-number {
        margin-right: 0;
        margin-bottom: 1rem;
    }
    
    .contact-detail-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .contact-icon {
        margin-right: 0;
        margin-bottom: 0.8rem;
    }
    
    .uk-accordion-title {
        font-size: 1.1rem;
        padding: 0.8rem 1rem;
    }
    
    .uk-accordion-content {
        padding: 0 1rem 1rem;
    }
    
    .thanks-container {
        padding: 2rem 1.5rem;
    }
}

/* Tablet */
@media (min-width: 768px) and (max-width: 959px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .image-overlap-container {
        height: 400px;
    }
    
    .trends-image-container {
        min-height: 300px;
    }
}

/* Escritorio */
@media (min-width: 960px) {
    .hero-content h1 {
        font-size: 3rem;
    }
    
    .cookie-consent {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }
    
    .cookie-consent-text {
        flex: 1;
        padding-right: 2rem;
    }
    
    .cookie-buttons {
        flex-shrink: 0;
        margin-top: 0;
    }
}

/* Escritorio grande */
@media (min-width: 1200px) {
    .uk-container {
        max-width: 1200px;
    }
    
    .hero-content h1 {
        font-size: 3.5rem;
    }
}