/*
Theme Name: Obreque Asesorías Empresariales
Theme URI: https://example.com/obreque-asesorias
Author: Obreque Team
Author URI: https://example.com
Description: Tema personalizado para Obreque Asesorías Empresariales - Servicios jurídicos y contables de primer nivel
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: obreque-theme
Tags: business, corporate, legal, accounting, custom-logo, custom-menu, featured-images, threaded-comments
*/

/* ============================================
   CSS Variables - Paleta de Colores Elegante
   ============================================ */
:root {
    /* Colores Principales */
    --primary-color: #1a365d;        /* Azul oscuro corporativo */
    --primary-light: #2c5282;        /* Azul medio */
    --primary-dark: #0d1f3c;         /* Azul muy oscuro */
    
    /* Colores Secundarios */
    --secondary-color: #c9a227;      /* Dorado elegante */
    --secondary-light: #d4b84a;      /* Dorado claro */
    --secondary-dark: #a68520;       /* Dorado oscuro */
    
    /* Colores de Acento */
    --accent-color: #2d3748;         /* Gris azulado */
    --accent-light: #4a5568;         /* Gris medio */
    
    /* Colores Neutrales */
    --white: #ffffff;
    --off-white: #f7fafc;
    --light-gray: #edf2f7;
    --medium-gray: #a0aec0;
    --dark-gray: #2d3748;
    --black: #1a202c;
    
    /* Colores de Estado */
    --success: #38a169;
    --error: #e53e3e;
    
    /* Tipografía */
    --font-primary: 'Playfair Display', Georgia, serif;
    --font-secondary: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    
    /* Espaciados */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;
    
    /* Transiciones */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-page: 0.6s cubic-bezier(0.65, 0, 0.35, 1);
    
    /* Sombras */
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1), 0 2px 4px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.15), 0 5px 10px rgba(0, 0, 0, 0.08);
    --shadow-xl: 0 20px 40px rgba(0, 0, 0, 0.2);
    
    /* Bordes */
    --border-radius-sm: 4px;
    --border-radius-md: 8px;
    --border-radius-lg: 16px;
    --border-radius-xl: 24px;
}

/* ============================================
   Reset y Base
   ============================================ */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-secondary);
    font-size: 1rem;
    line-height: 1.7;
    color: var(--dark-gray);
    background-color: var(--white);
    overflow-x: hidden;
}

/* ============================================
   Page Loader - Transición entre páginas
   ============================================ */
.page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
    visibility: visible;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

.page-loader.loaded {
    opacity: 0;
    visibility: hidden;
}

.loader-content {
    width: min(90vw, 440px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.25rem;
    text-align: center;
}

.loader-logo {
    width: 120px;
    height: auto;
    margin-bottom: 30px;
    animation: pulse 1.5s ease-in-out infinite;
}

.loader-content .logo-white-wrap,
.loader-content .logo-dark-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.loader-content .logo-img {
    display: block;
    width: min(78vw, 340px);
    max-height: 120px;
    height: auto;
    margin: 0 auto;
    object-fit: contain;
    transform-origin: center center;
    animation: pulse 1.5s ease-in-out infinite;
}

.loader-spinner {
    width: 50px;
    height: 50px;
    border: 3px solid rgba(255, 255, 255, 0.2);
    border-top-color: var(--secondary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto;
    flex: 0 0 auto;
}

.loader-text {
    color: var(--white);
    font-family: var(--font-primary);
    font-size: 1.2rem;
    margin-top: 0;
    opacity: 0.9;
    letter-spacing: 2px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.05); opacity: 0.8; }
}

/* ============================================
   Tipografía
   ============================================ */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-primary);
    font-weight: 600;
    line-height: 1.3;
    color: var(--primary-color);
    margin-bottom: var(--spacing-sm);
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
h4 { font-size: clamp(1.25rem, 2.5vw, 1.5rem); }
h5 { font-size: 1.125rem; }
h6 { font-size: 1rem; }

p {
    margin-bottom: var(--spacing-sm);
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--secondary-color);
}

/* ============================================
   Contenedores
   ============================================ */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

.container-fluid {
    width: 100%;
    padding: 0 var(--spacing-md);
}

.container-narrow {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

/* ============================================
   Header Principal
   ============================================ */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: transparent;
    padding: 1.5rem 0;
    transition: all var(--transition-normal);
}

.site-header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 1rem 0;
    box-shadow: var(--shadow-md);
}

.site-header.scrolled .nav-link {
    color: var(--dark-gray);
}

.site-header.scrolled .logo-text {
    color: var(--primary-color);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.site-logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-img {
    height: 72px;
    width: auto;
    transition: transform var(--transition-normal);
}

.site-logo:hover .logo-img {
    transform: scale(1.05);
}

.logo-white {
    max-width: 280px;
}

.logo-dark {
    max-width: 280px;
}

.logo-text {
    font-family: var(--font-primary);
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--white);
    transition: color var(--transition-normal);
}

.logo-text span {
    color: var(--secondary-color);
}

/* Logo wrappers para transición */
.logo-white-wrap,
.logo-dark-wrap {
    display: inline-flex;
    align-items: center;
}

.logo-dark-wrap {
    display: none;
}

.site-header.scrolled .logo-text {
    color: var(--primary-color);
}

/* Navegación Principal */
.main-nav {
    display: flex;
    align-items: center;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

.nav-link {
    font-family: var(--font-secondary);
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    padding: 0.5rem 0;
    transition: color var(--transition-fast);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--secondary-color);
    transition: width var(--transition-normal);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link:hover {
    color: var(--secondary-color);
}

/* Dropdown Menu */
.nav-item {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: var(--white);
    min-width: 280px;
    padding: 1rem 0;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-xl);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-normal);
    z-index: 100;
}

.nav-item:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.dropdown-menu li {
    list-style: none;
}

.dropdown-menu a {
    display: block;
    padding: 0.75rem 1.5rem;
    color: var(--dark-gray);
    font-size: 0.9rem;
    font-weight: 500;
    transition: all var(--transition-fast);
}

.dropdown-menu a:hover {
    background: var(--light-gray);
    color: var(--primary-color);
    padding-left: 2rem;
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
}

.menu-toggle span {
    display: block;
    width: 28px;
    height: 2px;
    background: var(--white);
    transition: all var(--transition-normal);
}

.site-header.scrolled .menu-toggle span {
    background: var(--primary-color);
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* CTA Button Header */
.header-cta {
    margin-left: 2rem;
}

/* ============================================
   Botones
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 1rem 2rem;
    font-family: var(--font-secondary);
    font-size: 0.95rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: none;
    border-radius: var(--border-radius-md);
    cursor: pointer;
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--secondary-dark) 100%);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(201, 162, 39, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(201, 162, 39, 0.5);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-secondary:hover {
    background: var(--white);
    color: var(--primary-color);
}

.btn-outline {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-outline:hover {
    background: var(--primary-color);
    color: var(--white);
}

.btn-dark {
    background: var(--primary-color);
    color: var(--white);
}

.btn-dark:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
}

.btn-lg {
    padding: 1.25rem 2.5rem;
    font-size: 1rem;
}

.btn-sm {
    padding: 0.75rem 1.5rem;
    font-size: 0.85rem;
}

/* ============================================
   Hero Section
   ============================================ */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 50%, var(--primary-light) 100%);
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.4;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(26, 54, 93, 0.7) 0%, rgba(13, 31, 60, 0.75) 100%);
    z-index: 1;
}

/* Elementos flotantes decorativos */
.hero-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
    overflow: hidden;
}

.floating-shape {
    position: absolute;
    opacity: 0.1;
    animation: float 20s ease-in-out infinite;
}

.shape-1 {
    top: 10%;
    left: 5%;
    width: 300px;
    height: 300px;
    background: var(--secondary-color);
    border-radius: 50%;
    filter: blur(60px);
    animation-delay: 0s;
}

.shape-2 {
    top: 60%;
    right: 10%;
    width: 400px;
    height: 400px;
    background: var(--secondary-light);
    border-radius: 50%;
    filter: blur(80px);
    animation-delay: -5s;
}

.shape-3 {
    bottom: 10%;
    left: 30%;
    width: 250px;
    height: 250px;
    background: var(--white);
    border-radius: 50%;
    filter: blur(50px);
    animation-delay: -10s;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    25% { transform: translate(30px, -30px) rotate(5deg); }
    50% { transform: translate(-20px, 20px) rotate(-5deg); }
    75% { transform: translate(20px, 30px) rotate(3deg); }
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    max-width: 900px;
    padding: 0 var(--spacing-md);
}

.hero-badge {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: rgba(201, 162, 39, 0.2);
    border: 1px solid var(--secondary-color);
    border-radius: 50px;
    color: var(--secondary-color);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: var(--spacing-md);
    animation: fadeInUp 0.8s ease forwards;
}

.hero-title {
    color: var(--white);
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: var(--spacing-md);
    opacity: 0;
    animation: fadeInUp 0.8s ease 0.2s forwards;
}

.hero-title .highlight {
    color: var(--secondary-color);
    position: relative;
}

.hero-subtitle {
    color: rgba(255, 255, 255, 0.85);
    font-size: clamp(1rem, 2vw, 1.25rem);
    line-height: 1.8;
    margin-bottom: var(--spacing-lg);
    opacity: 0;
    animation: fadeInUp 0.8s ease 0.4s forwards;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    opacity: 0;
    animation: fadeInUp 0.8s ease 0.6s forwards;
}

.hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    opacity: 0;
    animation: fadeInUp 0.8s ease 0.8s forwards;
}

.scroll-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: var(--white);
    font-size: 0.8rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    cursor: pointer;
    transition: transform var(--transition-normal);
}

.scroll-indicator:hover {
    transform: translateY(5px);
}

.scroll-mouse {
    width: 26px;
    height: 40px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 15px;
    position: relative;
}

.scroll-mouse::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background: var(--secondary-color);
    border-radius: 2px;
    animation: scrollDown 1.5s ease-in-out infinite;
}

@keyframes scrollDown {
    0%, 100% { opacity: 1; top: 8px; }
    50% { opacity: 0.5; top: 20px; }
}

/* ============================================
   Animaciones de Entrada
   ============================================ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Clases para animaciones con Intersection Observer */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

.animate-left {
    opacity: 0;
    transform: translateX(-60px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.animate-left.animated {
    opacity: 1;
    transform: translateX(0);
}

.animate-right {
    opacity: 0;
    transform: translateX(60px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.animate-right.animated {
    opacity: 1;
    transform: translateX(0);
}

.animate-scale {
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.animate-scale.animated {
    opacity: 1;
    transform: scale(1);
}

/* Delays para animaciones escalonadas */
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }
.delay-6 { transition-delay: 0.6s; }

/* ============================================
   Secciones Generales
   ============================================ */
section {
    position: relative;
    overflow: hidden;
}

.section-padding {
    padding: var(--spacing-xl) 0;
}

.section-padding-lg {
    padding: calc(var(--spacing-xl) * 1.5) 0;
}

/* Section Header */
.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto var(--spacing-lg);
}

.section-badge {
    display: inline-block;
    padding: 0.4rem 1.2rem;
    background: rgba(201, 162, 39, 0.1);
    border: 1px solid rgba(201, 162, 39, 0.3);
    border-radius: 50px;
    color: var(--secondary-color);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: var(--spacing-sm);
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: var(--spacing-sm);
}

.section-subtitle {
    color: var(--accent-light);
    font-size: 1.1rem;
    line-height: 1.8;
}

/* ============================================
   Fondos con Texturas
   ============================================ */
.bg-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--white);
}

.bg-primary h2, .bg-primary h3, .bg-primary h4 {
    color: var(--white);
}

.bg-light {
    background: var(--off-white);
}

.bg-texture-1 {
    position: relative;
}

.bg-texture-1::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('assets/images/textures/texture-dots.png');
    background-repeat: repeat;
    opacity: 0.05;
    pointer-events: none;
}

.bg-texture-2 {
    position: relative;
}

.bg-texture-2::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('assets/images/textures/texture-lines.png');
    background-repeat: repeat;
    opacity: 0.03;
    pointer-events: none;
}

.bg-texture-geometric {
    position: relative;
}

.bg-texture-geometric::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('assets/images/textures/texture-geometric.png');
    background-repeat: repeat;
    opacity: 0.04;
    pointer-events: none;
}

/* Elementos Flotantes Decorativos */
.floating-element {
    position: absolute;
    pointer-events: none;
    z-index: 0;
}

.floating-element img {
    width: 100%;
    height: auto;
}

.float-top-right {
    top: -50px;
    right: -50px;
    width: 300px;
    opacity: 0.1;
}

.float-bottom-left {
    bottom: -50px;
    left: -50px;
    width: 250px;
    opacity: 0.08;
}

/* ============================================
   Tarjetas de Servicios
   ============================================ */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    padding: 2.5rem;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--secondary-color), var(--secondary-light));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition-normal);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    border-radius: var(--border-radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: transform var(--transition-normal);
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
}

.service-icon svg,
.service-icon i {
    width: 35px;
    height: 35px;
    color: var(--white);
    font-size: 1.8rem;
}

.service-card h3 {
    font-size: 1.35rem;
    margin-bottom: 1rem;
}

.service-card p {
    color: var(--accent-light);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--secondary-color);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: gap var(--transition-fast);
}

.service-link:hover {
    gap: 15px;
}

.service-link svg {
    width: 18px;
    height: 18px;
    transition: transform var(--transition-fast);
}

.service-points-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin-top: 2.5rem;
}

.service-point-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.9rem 1.4rem;
    border-radius: 999px;
    background: rgba(26, 54, 93, 0.08);
    color: var(--primary-color);
    font-weight: 600;
    transition: all var(--transition-normal);
}

.service-point-btn:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
}

.service-link:hover svg {
    transform: translateX(5px);
}

/* ============================================
   Estadísticas / Counters
   ============================================ */
.stats-section {
    position: relative;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    padding: var(--spacing-xl) 0;
}

.stats-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('assets/images/textures/texture-dots.png');
    background-repeat: repeat;
    opacity: 0.1;
    pointer-events: none;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem;
    position: relative;
    z-index: 1;
}

.stat-item {
    text-align: center;
    color: var(--white);
}

.stat-number {
    font-family: var(--font-primary);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    color: var(--secondary-color);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    opacity: 0.9;
}

/* ============================================
   About / Nosotros
   ============================================ */
.about-section {
    position: relative;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-image {
    position: relative;
}

.about-image-main {
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.about-image-main img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.6s ease;
}

.about-image-main:hover img {
    transform: scale(1.05);
}

.about-image-accent {
    position: absolute;
    bottom: -30px;
    right: -30px;
    width: 200px;
    height: 200px;
    background: var(--secondary-color);
    border-radius: var(--border-radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 2rem;
    text-align: center;
    box-shadow: var(--shadow-lg);
}

.about-image-accent .years {
    font-family: var(--font-primary);
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--white);
    line-height: 1;
}

.about-image-accent span {
    color: var(--white);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.about-content .section-badge {
    margin-bottom: 1rem;
}

.about-content h2 {
    margin-bottom: 1.5rem;
}

.about-content p {
    color: var(--accent-light);
    margin-bottom: 1.5rem;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin: 2rem 0;
}

.about-feature {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.about-feature-icon {
    width: 50px;
    height: 50px;
    min-width: 50px;
    background: rgba(201, 162, 39, 0.1);
    border-radius: var(--border-radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary-color);
}

.about-feature h4 {
    font-size: 1rem;
    margin-bottom: 0.3rem;
}

.about-feature p {
    font-size: 0.9rem;
    margin: 0;
}

/* ============================================
   Equipo
   ============================================ */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.team-card {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.team-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1;
}

.team-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.team-card:hover .team-image img {
    transform: scale(1.1);
}

.team-social {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.5rem;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    display: flex;
    justify-content: center;
    gap: 1rem;
    opacity: 0;
    transform: translateY(20px);
    transition: all var(--transition-normal);
}

.team-card:hover .team-social {
    opacity: 1;
    transform: translateY(0);
}

.team-social a {
    width: 40px;
    height: 40px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    transition: all var(--transition-fast);
}

.team-social a:hover {
    background: var(--secondary-color);
    color: var(--white);
}

.team-info {
    padding: 1.5rem;
    text-align: center;
}

.team-info h3 {
    font-size: 1.25rem;
    margin-bottom: 0.3rem;
}

.team-info .role {
    color: var(--secondary-color);
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.team-info .email {
    color: var(--accent-light);
    font-size: 0.85rem;
}

.team-info .bio {
    color: var(--text-gray);
    font-size: 0.9rem;
    margin-top: 0.75rem;
    line-height: 1.5;
}

/* Grid completo para página Nosotros (catálogo) */
.team-grid-full {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 2rem;
}

.team-card-catalog {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
}

.team-card-catalog:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.team-card-catalog .team-image {
    aspect-ratio: 1;
}

.team-card-catalog .team-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ============================================
   Testimonios
   ============================================ */
.testimonials-section {
    position: relative;
    background: var(--off-white);
    overflow: hidden;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

@media (max-width: 992px) {
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
}

.testimonials-grid .testimonial-card {
    min-width: unset;
    max-width: unset;
}

.testimonial-slider {
    position: relative;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 60px;
}

.testimonials-track {
    overflow: hidden;
    border-radius: var(--border-radius-lg);
}

.testimonials-wrapper {
    display: flex;
    gap: 1.5rem;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 1rem 0;
}

.testimonial-card {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    padding: 1.5rem;
    box-shadow: var(--shadow-md);
    position: relative;
    min-width: calc(25% - 1.125rem);
    max-width: calc(25% - 1.125rem);
    flex-shrink: 0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.testimonial-card::before {
    content: '"';
    font-family: var(--font-primary);
    font-size: 3rem;
    color: var(--secondary-color);
    opacity: 0.3;
    position: absolute;
    top: 10px;
    left: 15px;
    line-height: 1;
}

.testimonial-stars {
    display: flex;
    justify-content: flex-start;
    gap: 3px;
    margin-bottom: 0.75rem;
    padding-left: 2rem;
}

.testimonial-stars svg {
    width: 14px;
    height: 14px;
    color: var(--secondary-color);
    fill: var(--secondary-color);
}

.testimonial-text {
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--dark-gray);
    font-style: italic;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 5.8rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding-top: 1rem;
    border-top: 1px solid var(--light-gray);
}

.testimonial-author img {
    width: 45px !important;
    height: 45px !important;
    min-width: 45px !important;
    min-height: 45px !important;
    max-width: 45px !important;
    max-height: 45px !important;
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--secondary-color);
    background-color: var(--primary-color);
    flex-shrink: 0;
}

/* Fix para SVG placeholders en testimonios */
.testimonial-author img[src^="data:image/svg"] {
    object-fit: contain;
    padding: 8px;
}

.testimonial-author-info {
    text-align: left;
}

.testimonial-author-info h4 {
    font-size: 0.9rem;
    margin-bottom: 0.1rem;
    color: var(--primary-color);
}

.testimonial-author-info span {
    color: var(--accent-light);
    font-size: 0.75rem;
    display: block;
}

/* Navegación del carrusel */
.testimonial-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-top: 2rem;
}

.testimonial-dots {
    display: flex;
    gap: 8px;
}

.testimonial-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--light-gray);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.testimonial-dot:hover {
    background: var(--secondary-light);
}

.testimonial-dot.active {
    background: var(--secondary-color);
    width: 28px;
    border-radius: 5px;
}

.testimonial-arrow {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--white);
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.testimonial-arrow:hover {
    background: var(--primary-color);
    color: var(--white);
}

/* Flechas posicionadas a los lados del slider */
.testimonial-slider .testimonial-arrow {
    position: absolute;
    top: calc(50% - 30px);
    transform: translateY(-50%);
    z-index: 10;
}

.testimonial-slider .testimonial-prev {
    left: 5px;
}

.testimonial-slider .testimonial-next {
    right: 5px;
}

/* Responsive: 3 cards en tablet, 2 en móvil grande, 1 en móvil pequeño */
@media (max-width: 1200px) {
    .testimonial-card {
        min-width: calc(33.333% - 1rem);
        max-width: calc(33.333% - 1rem);
    }
}

@media (max-width: 900px) {
    .testimonial-card {
        min-width: calc(50% - 0.75rem);
        max-width: calc(50% - 0.75rem);
    }
    .testimonial-slider {
        padding: 0 50px;
    }
}

@media (max-width: 600px) {
    .testimonial-card {
        min-width: 100%;
        max-width: 100%;
    }
    .testimonial-slider {
        padding: 0 45px;
    }
    .testimonial-arrow {
        width: 35px;
        height: 35px;
    }
}

.testimonial-stars svg {
    width: 20px;
    height: 20px;
    color: var(--secondary-color);
    fill: var(--secondary-color);
}

/* ============================================
   Valores / Misión / Visión
   ============================================ */
.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.value-card {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    padding: 2.5rem;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
    border: 1px solid transparent;
}

.value-card:hover {
    border-color: var(--secondary-color);
    transform: translateY(-5px);
}

.value-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgba(201, 162, 39, 0.1) 0%, rgba(201, 162, 39, 0.2) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.value-icon svg {
    width: 40px;
    height: 40px;
    color: var(--secondary-color);
}

.value-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.value-card p {
    color: var(--accent-light);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* ============================================
   CTA Section
   ============================================ */
.cta-section {
    position: relative;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    padding: var(--spacing-xl) 0;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('assets/images/textures/texture-geometric.png');
    opacity: 0.05;
    pointer-events: none;
}

.cta-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
}

.cta-shape {
    position: absolute;
    background: var(--secondary-color);
    border-radius: 50%;
    opacity: 0.1;
}

.cta-shape-1 {
    width: 300px;
    height: 300px;
    top: -150px;
    right: -100px;
}

.cta-shape-2 {
    width: 200px;
    height: 200px;
    bottom: -100px;
    left: -50px;
}

.cta-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.cta-content h2 {
    color: var(--white);
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 1rem;
}

.cta-content p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ============================================
   Contacto
   ============================================ */
.contact-section {
    position: relative;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
}

.contact-info {
    padding-right: 2rem;
}

.contact-info h2 {
    margin-bottom: 1.5rem;
}

.contact-info > p {
    color: var(--accent-light);
    margin-bottom: 2rem;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
}

.contact-item-icon {
    width: 55px;
    height: 55px;
    min-width: 55px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    border-radius: var(--border-radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
}

.contact-item-icon svg {
    width: 24px;
    height: 24px;
}

.contact-item h4 {
    font-size: 1.1rem;
    margin-bottom: 0.3rem;
}

.contact-item p,
.contact-item a {
    color: var(--accent-light);
    font-size: 1rem;
}

.contact-item a:hover {
    color: var(--secondary-color);
}

.contact-social {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.contact-social a {
    width: 45px;
    height: 45px;
    background: var(--light-gray);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    transition: all var(--transition-fast);
}

.contact-social a:hover {
    background: var(--secondary-color);
    color: var(--white);
    transform: translateY(-3px);
}

/* Formulario de Contacto */
.contact-form-wrapper {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    padding: 3rem;
    box-shadow: var(--shadow-lg);
}

.contact-form {
    display: grid;
    gap: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--dark-gray);
}

.form-group input,
.form-group textarea,
.form-group select {
    padding: 1rem 1.25rem;
    border: 2px solid var(--light-gray);
    border-radius: var(--border-radius-md);
    font-family: var(--font-secondary);
    font-size: 1rem;
    transition: all var(--transition-fast);
    background: var(--off-white);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--secondary-color);
    background: var(--white);
    box-shadow: 0 0 0 4px rgba(201, 162, 39, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
}

/* ============================================
   Footer
   ============================================ */
.site-footer {
    background: var(--primary-dark);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('assets/images/textures/texture-dots.png');
    opacity: 0.05;
    pointer-events: none;
}

.footer-main {
    padding: var(--spacing-xl) 0 var(--spacing-lg);
    position: relative;
    z-index: 1;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 3rem;
}

.footer-brand {
    max-width: 350px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 1.5rem;
}

.footer-logo img {
    height: 50px;
    width: auto;
}

.footer-logo-text {
    font-family: var(--font-primary);
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--white);
}

.footer-logo-text span {
    color: var(--secondary-color);
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.footer-social a {
    width: 42px;
    height: 42px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: all var(--transition-fast);
}

.footer-social a:hover {
    background: var(--secondary-color);
    transform: translateY(-3px);
}

.footer-column h4 {
    color: var(--white);
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.75rem;
}

.footer-column h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--secondary-color);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    transition: all var(--transition-fast);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.footer-links a::before {
    content: '';
    width: 0;
    height: 2px;
    background: var(--secondary-color);
    transition: width var(--transition-fast);
}

.footer-links a:hover {
    color: var(--secondary-color);
}

.footer-links a:hover::before {
    width: 15px;
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.footer-contact-item svg {
    width: 20px;
    height: 20px;
    color: var(--secondary-color);
    margin-top: 3px;
    min-width: 20px;
}

.footer-contact-item a,
.footer-contact-item span {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
}

.footer-contact-item a:hover {
    color: var(--secondary-color);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.5rem 0;
    position: relative;
    z-index: 1;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-copyright {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

.footer-bottom-links {
    display: flex;
    gap: 2rem;
}

.footer-bottom-links a {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

.footer-bottom-links a:hover {
    color: var(--secondary-color);
}

/* ============================================
   Page Header (Para páginas interiores)
   ============================================ */
.page-header {
    position: relative;
    min-height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 100%);
    padding-top: 100px;
    overflow: hidden;
}

.page-header-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.page-header-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.15;
}

.page-header-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(26, 54, 93, 0.95) 0%, rgba(13, 31, 60, 0.9) 100%);
    z-index: 1;
}

.page-header-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 0 var(--spacing-md);
}

.page-header-content .breadcrumb {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.breadcrumb a,
.breadcrumb span {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.breadcrumb a:hover {
    color: var(--secondary-color);
}

.breadcrumb .separator {
    color: var(--secondary-color);
}

.page-header-content h1 {
    color: var(--white);
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 1rem;
}

.page-header-content p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
}

/* ============================================
   Página de Servicio Individual
   ============================================ */
.service-hero {
    position: relative;
    min-height: 60vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 100%);
    padding-top: 100px;
    overflow: hidden;
}

.service-hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.service-hero-text h1 {
    color: var(--white);
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    margin-bottom: 1.5rem;
}

.service-hero-text p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.15rem;
    line-height: 1.8;
    margin-bottom: 2rem;
}

.service-hero-image {
    position: relative;
}

.service-hero-image img {
    width: 100%;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-xl);
}

/* Bloques de Servicio */
.service-block {
    padding: var(--spacing-xl) 0;
    position: relative;
}

.service-block:nth-child(even) {
    background: var(--off-white);
}

.service-block-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.service-block:nth-child(even) .service-block-grid {
    direction: rtl;
}

.service-block:nth-child(even) .service-block-grid > * {
    direction: ltr;
}

.service-block-content .section-badge {
    margin-bottom: 1rem;
}

.service-block-content h2 {
    margin-bottom: 1.5rem;
}

.service-block-content p {
    color: var(--accent-light);
    font-size: 1.05rem;
    line-height: 1.8;
}

.service-block-image {
    position: relative;
}

.service-block-image img {
    width: 100%;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
}

/* Lista de beneficios */
.benefits-list {
    list-style: none;
    margin: 1.5rem 0;
}

.benefits-list li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1rem;
    color: var(--dark-gray);
}

.benefits-list li svg {
    width: 24px;
    height: 24px;
    min-width: 24px;
    color: var(--secondary-color);
    margin-top: 2px;
}

/* ============================================
   Otros Servicios (Grid)
   ============================================ */
.other-services {
    background: var(--off-white);
}

.other-services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.other-service-card {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius-md);
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
    border: 2px solid transparent;
}

.other-service-card:hover {
    border-color: var(--secondary-color);
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.other-service-card h4 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.other-service-card p {
    color: var(--accent-light);
    font-size: 0.85rem;
    margin-bottom: 1rem;
}

.team-card-static .bio {
    margin-top: 0.85rem;
    color: var(--accent-light);
    line-height: 1.7;
}

.partner-item-text a {
    display: block;
}

.stats-highlights-section .stat-item {
    background: var(--white);
    border: 1px solid rgba(26, 54, 93, 0.08);
    box-shadow: var(--shadow-sm);
}

.stats-highlights-section .stat-item:hover {
    background: var(--white);
}

.stats-highlights-section .stat-item h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.stats-highlights-section .stat-item p {
    color: var(--accent-light);
    margin: 0;
}

/* ============================================
   Responsive Design
   ============================================ */
@media (max-width: 1200px) {
    .footer-grid {
        grid-template-columns: 1.5fr 1fr 1fr;
    }
    
    .footer-contact {
        grid-column: span 3;
        margin-top: 2rem;
        padding-top: 2rem;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }
}

@media (max-width: 992px) {
    .about-grid,
    .contact-grid,
    .service-hero-content,
    .service-block-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .about-image-accent {
        position: relative;
        bottom: auto;
        right: auto;
        width: 100%;
        margin-top: 1.5rem;
    }
    
    .values-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    
    .service-block:nth-child(even) .service-block-grid {
        direction: ltr;
    }
}

@media (max-width: 768px) {
    :root {
        --spacing-lg: 3rem;
        --spacing-xl: 4rem;
    }
    
    /* Mobile Navigation */
    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        max-width: 400px;
        height: 100vh;
        background: var(--primary-dark);
        padding: 100px 2rem 2rem;
        transition: right var(--transition-normal);
        z-index: 999;
    }
    
    .main-nav.active {
        right: 0;
    }
    
    .nav-menu {
        flex-direction: column;
        gap: 0;
    }
    
    .nav-link {
        display: block;
        padding: 1rem 0;
        font-size: 1.1rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        color: var(--white);
    }
    
    .dropdown-menu {
        position: static;
        transform: none;
        box-shadow: none;
        background: rgba(0, 0, 0, 0.2);
        padding: 0;
        margin-top: 0.5rem;
        opacity: 1;
        visibility: visible;
        display: none;
        border-radius: var(--border-radius-sm);
    }
    
    .nav-item.active .dropdown-menu {
        display: block;
    }
    
    .dropdown-menu a {
        color: rgba(255, 255, 255, 0.8);
        padding: 0.75rem 1.5rem;
    }
    
    .dropdown-menu a:hover {
        background: rgba(255, 255, 255, 0.1);
        color: var(--secondary-color);
    }
    
    .header-cta {
        display: none;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    /* Hero */
    .hero-content {
        padding-top: 100px;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-buttons .btn {
        width: 100%;
        max-width: 300px;
    }
    
    /* Services */
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    /* About */
    .about-features {
        grid-template-columns: 1fr;
    }
    
    /* Form */
    .form-row {
        grid-template-columns: 1fr;
    }
    
    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .footer-bottom-links {
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .container {
        padding: 0 1rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .team-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-form-wrapper {
        padding: 2rem 1.5rem;
    }
    
    .service-card {
        padding: 2rem;
    }
    
    .hero-scroll {
        display: none;
    }
}

/* ============================================
   Utilidades
   ============================================ */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mt-1 { margin-top: var(--spacing-sm); }
.mt-2 { margin-top: var(--spacing-md); }
.mt-3 { margin-top: var(--spacing-lg); }

.mb-1 { margin-bottom: var(--spacing-sm); }
.mb-2 { margin-bottom: var(--spacing-md); }
.mb-3 { margin-bottom: var(--spacing-lg); }

.py-1 { padding-top: var(--spacing-sm); padding-bottom: var(--spacing-sm); }
.py-2 { padding-top: var(--spacing-md); padding-bottom: var(--spacing-md); }
.py-3 { padding-top: var(--spacing-lg); padding-bottom: var(--spacing-lg); }

.hidden { display: none; }
.visible { display: block; }

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--secondary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    box-shadow: var(--shadow-lg);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all var(--transition-normal);
    z-index: 99;
    border: none;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--secondary-dark);
    transform: translateY(-5px);
}

.back-to-top svg {
    width: 24px;
    height: 24px;
}

/* Page Transition Overlay */
.page-transition {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--primary-dark);
    z-index: 99998;
    transform: translateY(100%);
    pointer-events: none;
}

.page-transition.active {
    animation: pageSlideIn 0.6s ease forwards;
}

@keyframes pageSlideIn {
    0% { transform: translateY(100%); }
    50% { transform: translateY(0); }
    100% { transform: translateY(-100%); }
}

/* ============================================
   Fallback para imágenes que no cargan
   ============================================ */
.hero-background img,
.page-header-bg img,
.about-image-main img,
.team-image img,
.testimonial-author img,
.service-image img {
    background-color: var(--primary-color);
    min-height: 200px;
}

.hero-background img {
    min-height: 100vh;
}

.page-header-bg img {
    min-height: 300px;
}

.team-image img {
    min-height: 280px;
}

/* Placeholder styling */
img[src^="data:image/svg"] {
    object-fit: contain !important;
    background-color: var(--primary-color);
}

/* ============================================
   Fallback AOS - Si AOS no carga, mostrar elementos
   ============================================ */
[data-aos]:not(.aos-animate) {
    opacity: 1 !important;
    transform: none !important;
    visibility: visible !important;
}

[data-aos="fade-up"]:not(.aos-animate),
[data-aos="fade-down"]:not(.aos-animate),
[data-aos="fade-left"]:not(.aos-animate),
[data-aos="fade-right"]:not(.aos-animate),
[data-aos="zoom-in"]:not(.aos-animate),
[data-aos="zoom-out"]:not(.aos-animate) {
    opacity: 1 !important;
    transform: translate(0) scale(1) !important;
}

/* Cuando AOS está inicializado */
.aos-animate {
    opacity: 1;
    transform: translateY(0);
}

/* Asegurar visibilidad de elementos críticos SIEMPRE */
.service-card,
.team-card,
.stat-item,
.testimonial-card,
.about-content,
.about-image,
.section-header,
.services-grid,
.team-grid,
.stats-grid,
.values-grid {
    opacity: 1 !important;
    transform: none !important;
    visibility: visible !important;
}

/* ============================================
   News Section - Homepage Carousel
   ============================================ */
.news-section {
    background: var(--bg-light);
}

.news-carousel-wrapper {
    position: relative;
    padding: 0 50px;
}

.news-carousel {
    overflow: hidden;
}

.news-track {
    display: flex;
    gap: 1.5rem;
    transition: transform 0.5s ease;
}

.news-card {
    flex: 0 0 calc(33.333% - 1rem);
    min-width: calc(33.333% - 1rem);
    background: var(--white);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.news-card .news-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.news-card .news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-normal);
}

.news-card:hover .news-image img {
    transform: scale(1.05);
}

.news-card .news-category {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: var(--secondary-color);
    color: var(--primary-dark);
    padding: 0.35rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.news-card .news-content {
    padding: 1.5rem;
}

.news-card .news-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.75rem;
    font-size: 0.8rem;
    color: var(--accent-light);
}

.news-card .news-meta i {
    margin-right: 0.35rem;
    color: var(--secondary-color);
}

.news-card .news-title {
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.news-card .news-title a {
    color: var(--primary-dark);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.news-card .news-title a:hover {
    color: var(--secondary-color);
}

.news-card .news-excerpt {
    color: var(--accent-light);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.news-card .news-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all var(--transition-fast);
}

.news-card .news-link:hover {
    color: var(--secondary-color);
    gap: 0.75rem;
}

/* News Navigation */
.news-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--white);
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition-fast);
    z-index: 10;
}

.news-nav:hover {
    background: var(--primary-color);
    color: var(--white);
}

.news-prev {
    left: 0;
}

.news-next {
    right: 0;
}

.news-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 2rem;
}

.news-dots .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--border-color);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.news-dots .dot.active {
    background: var(--secondary-color);
    transform: scale(1.2);
}

/* ============================================
   Partners/Alianzas Section
   ============================================ */
.partners-section {
    background: var(--white);
}

.partners-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 3rem;
}

.partner-item {
    display: flex;
    align-items: center;
    justify-content: center;
}

.partner-item a {
    display: flex;
    align-items: center;
    justify-content: center;
}

.partner-logo,
.partner-item img {
    max-height: 70px;
    max-width: 180px;
    width: auto;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all var(--transition-normal);
}

.partner-item:hover .partner-logo,
.partner-item:hover img {
    filter: grayscale(0%);
    opacity: 1;
}

.partner-placeholder {
    padding: 1rem 2rem;
    background: var(--bg-light);
    border-radius: var(--border-radius-md);
    color: var(--accent-light);
    font-weight: 500;
}

/* ============================================
   Single Article Styles
   ============================================ */
.page-header-single {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    padding: 8rem 0 4rem;
    text-align: center;
}

.page-header-single .page-header-content {
    max-width: 800px;
    margin: 0 auto;
}

.post-category-badge {
    display: inline-block;
    background: var(--secondary-color);
    color: var(--primary-dark);
    padding: 0.5rem 1rem;
    font-size: 0.8rem;
    font-weight: 600;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 1.5rem;
    text-decoration: none;
    transition: all var(--transition-fast);
}

.post-category-badge:hover {
    background: var(--secondary-light);
    color: var(--primary-dark);
}

.page-header-single .page-title {
    color: var(--white);
    font-size: 2.5rem;
    line-height: 1.3;
    margin-bottom: 1.5rem;
}

.post-meta-header {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.5rem;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
}

.post-meta-header .meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.post-meta-header i {
    color: var(--secondary-color);
}

/* Article Content */
.single-article {
    padding: 4rem 0;
}

.article-wrapper {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 3rem;
}

.article-content {
    max-width: 100%;
}

.article-featured-image {
    margin-bottom: 2rem;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.article-featured-image img {
    width: 100%;
    height: auto;
}

.article-body {
    font-size: 1.1rem;
    line-height: 1.9;
    color: var(--text-color);
}

.article-body h2 {
    font-size: 1.75rem;
    margin: 2rem 0 1rem;
    color: var(--primary-dark);
}

.article-body h3 {
    font-size: 1.35rem;
    margin: 1.5rem 0 0.75rem;
    color: var(--primary-dark);
}

.article-body p {
    margin-bottom: 1.5rem;
}

.article-body ul,
.article-body ol {
    margin: 1.5rem 0;
    padding-left: 1.5rem;
}

.article-body li {
    margin-bottom: 0.75rem;
}

.article-body blockquote {
    border-left: 4px solid var(--secondary-color);
    padding: 1rem 1.5rem;
    background: var(--bg-light);
    margin: 2rem 0;
    font-style: italic;
}

/* Article Tags */
.article-tags {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

.tags-label {
    color: var(--accent-light);
    font-size: 0.9rem;
}

.tag-link {
    display: inline-block;
    padding: 0.35rem 0.75rem;
    background: var(--bg-light);
    color: var(--primary-color);
    font-size: 0.85rem;
    border-radius: 4px;
    text-decoration: none;
    transition: all var(--transition-fast);
}

.tag-link:hover {
    background: var(--primary-color);
    color: var(--white);
}

/* Article Share */
.article-share {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 2rem;
    padding: 1.5rem;
    background: var(--bg-light);
    border-radius: var(--border-radius-md);
}

.share-label {
    font-weight: 600;
    color: var(--primary-dark);
}

.share-buttons {
    display: flex;
    gap: 0.5rem;
}

.share-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
    transition: all var(--transition-fast);
    font-size: 1rem;
}

.share-linkedin {
    background: #0077b5;
    color: white;
}

.share-twitter {
    background: #000;
    color: white;
}

.share-facebook {
    background: #1877f2;
    color: white;
}

.share-whatsapp {
    background: #25d366;
    color: white;
}

.share-copy {
    background: var(--primary-color);
    color: white;
}

.share-btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.share-copy.copied {
    background: #28a745;
}

/* Author Box */
.author-box {
    display: flex;
    gap: 1.5rem;
    margin-top: 2rem;
    padding: 2rem;
    background: var(--white);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
}

.author-avatar img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
}

.author-label {
    font-size: 0.8rem;
    color: var(--secondary-color);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

.author-name {
    font-size: 1.25rem;
    margin: 0.25rem 0 0.5rem;
    color: var(--primary-dark);
}

.author-bio {
    color: var(--accent-light);
    font-size: 0.9rem;
    margin: 0;
}

/* Post Navigation */
.post-navigation-single {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-top: 2rem;
}

.post-navigation-single .nav-link {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 1.5rem;
    background: var(--bg-light);
    border-radius: var(--border-radius-md);
    text-decoration: none;
    transition: all var(--transition-fast);
}

.post-navigation-single .nav-link:hover {
    background: var(--primary-color);
}

.post-navigation-single .nav-link:hover .nav-label,
.post-navigation-single .nav-link:hover .nav-title {
    color: var(--white);
}

.post-navigation-single .nav-label {
    font-size: 0.8rem;
    color: var(--accent-light);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.post-navigation-single .nav-title {
    font-weight: 600;
    color: var(--primary-dark);
    line-height: 1.4;
}

.post-navigation-single .nav-next {
    text-align: right;
}

.post-navigation-single .nav-next .nav-label {
    justify-content: flex-end;
}

/* Article Sidebar */
.article-sidebar {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.sidebar-widget {
    background: var(--white);
    padding: 1.5rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-sm);
}

.sidebar-widget .widget-title {
    font-size: 1.1rem;
    color: var(--primary-dark);
    margin-bottom: 1.25rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--secondary-color);
}

/* Related Posts in Sidebar */
.related-post-item {
    display: flex;
    gap: 1rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-color);
    text-decoration: none;
    transition: all var(--transition-fast);
}

.related-post-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.related-post-item:hover h4 {
    color: var(--secondary-color);
}

.related-post-image {
    flex: 0 0 70px;
}

.related-post-image img {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border-radius: var(--border-radius-sm);
}

.related-post-info h4 {
    font-size: 0.9rem;
    color: var(--primary-dark);
    margin-bottom: 0.35rem;
    line-height: 1.4;
    transition: color var(--transition-fast);
}

.related-post-date {
    font-size: 0.8rem;
    color: var(--accent-light);
}

/* Categories List */
.category-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.category-list li {
    border-bottom: 1px solid var(--border-color);
}

.category-list li:last-child {
    border-bottom: none;
}

.category-list a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    color: var(--text-color);
    text-decoration: none;
    transition: all var(--transition-fast);
}

.category-list a:hover {
    color: var(--secondary-color);
    padding-left: 0.5rem;
}

.category-list .count {
    background: var(--bg-light);
    color: var(--accent-light);
    padding: 0.2rem 0.6rem;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 600;
}

.category-list li.current a {
    color: var(--secondary-color);
    font-weight: 600;
}

/* CTA Widget */
.cta-widget {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%) !important;
    color: var(--white);
    text-align: center;
}

.cta-widget .widget-title {
    color: var(--white);
    border-bottom-color: var(--secondary-color);
}

.cta-widget .cta-icon {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.cta-widget .cta-content h3 {
    color: var(--white);
    margin-bottom: 0.75rem;
}

.cta-widget .cta-content p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

/* ============================================
   Archive / Blog Listing Styles
   ============================================ */
.page-header-archive {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    padding: 8rem 0 4rem;
    text-align: center;
}

.page-header-archive .breadcrumb {
    margin-bottom: 1rem;
}

.page-header-archive .breadcrumb a,
.page-header-archive .breadcrumb span {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.page-header-archive .breadcrumb a:hover {
    color: var(--secondary-color);
}

.page-header-archive .breadcrumb .separator {
    margin: 0 0.5rem;
}

.page-header-archive .page-title {
    color: var(--white);
    font-size: 2.5rem;
    margin-bottom: 0.75rem;
}

.page-header-archive .page-subtitle {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Archive Layout */
.archive-section {
    background: var(--bg-light);
}

.archive-wrapper {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 3rem;
}

.archive-main {
    max-width: 100%;
}

/* Filter Bar */
.archive-filter {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding: 1rem 1.5rem;
    background: var(--white);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-sm);
}

.filter-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.filter-btn {
    padding: 0.5rem 1rem;
    background: var(--bg-light);
    color: var(--text-color);
    border-radius: 25px;
    font-size: 0.85rem;
    font-weight: 500;
    text-decoration: none;
    transition: all var(--transition-fast);
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary-color);
    color: var(--white);
}

.filter-search form {
    display: flex;
    position: relative;
}

.filter-search input {
    padding: 0.5rem 1rem;
    padding-right: 2.5rem;
    border: 1px solid var(--border-color);
    border-radius: 25px;
    font-size: 0.9rem;
    width: 220px;
    transition: all var(--transition-fast);
}

.filter-search input:focus {
    outline: none;
    border-color: var(--primary-color);
    width: 260px;
}

.filter-search button {
    position: absolute;
    right: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--accent-light);
    cursor: pointer;
}

/* Featured Post */
.featured-post {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 2rem;
    background: var(--white);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    margin-bottom: 2rem;
}

.featured-post .featured-image {
    position: relative;
    min-height: 350px;
}

.featured-post .featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.featured-post .featured-image .news-category {
    position: absolute;
    top: 1.5rem;
    left: 1.5rem;
}

.featured-post .featured-content {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.featured-post .featured-title {
    font-size: 1.75rem;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.featured-post .featured-title a {
    color: var(--primary-dark);
    text-decoration: none;
}

.featured-post .featured-title a:hover {
    color: var(--secondary-color);
}

.featured-post .featured-excerpt {
    color: var(--accent-light);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

/* News Grid */
.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.news-grid-archive {
    grid-template-columns: repeat(2, 1fr);
}

.news-card-grid {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
}

.news-card-grid:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.news-card-grid .news-image {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.news-card-grid .news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-normal);
}

.news-card-grid:hover .news-image img {
    transform: scale(1.05);
}

.news-card-grid .news-category {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: var(--secondary-color);
    color: var(--primary-dark);
    padding: 0.35rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 4px;
    text-transform: uppercase;
    text-decoration: none;
    transition: all var(--transition-fast);
}

.news-card-grid .news-category:hover {
    background: var(--secondary-light);
}

.news-card-grid .news-content {
    padding: 1.5rem;
}

.news-card-grid .news-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 0.75rem;
    font-size: 0.8rem;
    color: var(--accent-light);
}

.news-card-grid .news-meta i {
    color: var(--secondary-color);
    margin-right: 0.25rem;
}

.news-card-grid .news-title {
    font-size: 1.15rem;
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.news-card-grid .news-title a {
    color: var(--primary-dark);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.news-card-grid .news-title a:hover {
    color: var(--secondary-color);
}

.news-card-grid .news-excerpt {
    color: var(--accent-light);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.news-card-grid .news-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all var(--transition-fast);
}

.news-card-grid .news-link:hover {
    color: var(--secondary-color);
    gap: 0.75rem;
}

/* Archive Pagination */
.archive-pagination {
    margin-top: 3rem;
    display: flex;
    justify-content: center;
}

.pagination-list {
    display: flex;
    gap: 0.5rem;
    list-style: none;
    padding: 0;
    margin: 0;
}

.pagination-item a,
.pagination-item span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 0.75rem;
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-sm);
    color: var(--text-color);
    text-decoration: none;
    font-size: 0.9rem;
    transition: all var(--transition-fast);
}

.pagination-item a:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--white);
}

.pagination-item span.current {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--white);
}

/* No Posts */
.no-posts {
    text-align: center;
    padding: 4rem 2rem;
    background: var(--white);
    border-radius: var(--border-radius-lg);
}

.no-posts i {
    font-size: 4rem;
    color: var(--border-color);
    margin-bottom: 1.5rem;
}

.no-posts h2 {
    margin-bottom: 0.75rem;
}

.no-posts p {
    color: var(--accent-light);
    margin-bottom: 1.5rem;
}

/* Archive Sidebar */
.archive-sidebar {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

/* Popular Posts Widget */
.popular-post-item {
    display: flex;
    gap: 1rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-color);
    text-decoration: none;
    transition: all var(--transition-fast);
}

.popular-post-item:last-child {
    border-bottom: none;
}

.popular-post-item:hover h4 {
    color: var(--secondary-color);
}

.popular-post-item .post-rank {
    flex: 0 0 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-light);
    color: var(--primary-color);
    font-weight: 700;
    border-radius: 50%;
    font-size: 0.9rem;
}

.popular-post-item .post-info h4 {
    font-size: 0.9rem;
    color: var(--primary-dark);
    margin-bottom: 0.25rem;
    line-height: 1.4;
    transition: color var(--transition-fast);
}

.popular-post-item .post-date {
    font-size: 0.8rem;
    color: var(--accent-light);
}

/* Newsletter Widget */
.newsletter-widget p {
    color: var(--accent-light);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.newsletter-form input {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-sm);
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
}

.newsletter-form input:focus {
    outline: none;
    border-color: var(--primary-color);
}

/* Related Section Bottom */
.related-section {
    background: var(--white);
}

/* ============================================
   Responsive - News & Archive
   ============================================ */
@media (max-width: 1200px) {
    .article-wrapper,
    .archive-wrapper {
        grid-template-columns: 1fr 300px;
        gap: 2rem;
    }
    
    .news-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    .article-wrapper,
    .archive-wrapper {
        grid-template-columns: 1fr;
    }
    
    .article-sidebar,
    .archive-sidebar {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .featured-post {
        grid-template-columns: 1fr;
    }
    
    .featured-post .featured-image {
        min-height: 250px;
    }
    
    .news-card {
        flex: 0 0 calc(50% - 0.75rem);
        min-width: calc(50% - 0.75rem);
    }
}

@media (max-width: 768px) {
    .page-header-single .page-title,
    .page-header-archive .page-title {
        font-size: 1.75rem;
    }
    
    .post-meta-header {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .archive-filter {
        flex-direction: column;
        align-items: stretch;
    }
    
    .filter-categories {
        justify-content: center;
    }
    
    .filter-search {
        width: 100%;
    }
    
    .filter-search input {
        width: 100%;
    }
    
    .filter-search input:focus {
        width: 100%;
    }
    
    .news-grid,
    .news-grid-archive {
        grid-template-columns: 1fr;
    }
    
    .article-sidebar,
    .archive-sidebar {
        grid-template-columns: 1fr;
    }
    
    .post-navigation-single {
        grid-template-columns: 1fr;
    }
    
    .author-box {
        flex-direction: column;
        text-align: center;
    }
    
    .article-share {
        flex-direction: column;
        text-align: center;
    }
    
    .news-card {
        flex: 0 0 100%;
        min-width: 100%;
    }
    
    .news-carousel-wrapper {
        padding: 0 35px;
    }
    
    .news-nav {
        width: 35px;
        height: 35px;
    }
    
    .partners-logos {
        gap: 2rem;
    }
    
    .partner-logo,
    .partner-item img {
        max-height: 50px;
        max-width: 140px;
    }
}

@media (max-width: 480px) {
    .filter-categories {
        gap: 0.35rem;
    }
    
    .filter-btn {
        padding: 0.4rem 0.75rem;
        font-size: 0.8rem;
    }
    
    .news-card-grid .news-image {
        height: 180px;
    }
    
    .featured-post .featured-content {
        padding: 1.5rem;
    }
    
    .featured-post .featured-title {
        font-size: 1.35rem;
    }
}
/* ============================================
   Section Backgrounds & Patterns
   ============================================ */
.bg-pattern-1 {
    background-color: #f8f9fa;
    background-image: 
        radial-gradient(circle at 25px 25px, rgba(26, 54, 93, 0.03) 2px, transparent 0),
        radial-gradient(circle at 75px 75px, rgba(201, 162, 39, 0.03) 2px, transparent 0);
    background-size: 100px 100px;
    position: relative;
}

.bg-pattern-2 {
    background-color: #ffffff;
    background-image: 
        linear-gradient(45deg, rgba(26, 54, 93, 0.02) 25%, transparent 25%),
        linear-gradient(-45deg, rgba(26, 54, 93, 0.02) 25%, transparent 25%),
        linear-gradient(45deg, transparent 75%, rgba(26, 54, 93, 0.02) 75%),
        linear-gradient(-45deg, transparent 75%, rgba(26, 54, 93, 0.02) 75%);
    background-size: 60px 60px;
    background-position: 0 0, 0 30px, 30px -30px, -30px 0px;
}

.bg-texture-light {
    background: linear-gradient(180deg, #f8f9fa 0%, #ffffff 50%, #f8f9fa 100%);
}

.bg-gradient-dark {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 50%, var(--primary-dark) 100%);
    color: var(--white);
}

.bg-gradient-dark .section-badge {
    background: rgba(201, 162, 39, 0.2);
    color: var(--secondary-color);
}

.bg-gradient-dark .section-title {
    color: var(--white);
}

.bg-gradient-dark .section-subtitle {
    color: rgba(255, 255, 255, 0.8);
}

.bg-gradient-dark .value-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.bg-gradient-dark .value-card h3 {
    color: var(--white);
}

.bg-gradient-dark .value-card p {
    color: rgba(255, 255, 255, 0.8);
}

.bg-gradient-dark .value-icon {
    background: rgba(201, 162, 39, 0.2);
}

.bg-gradient-dark .value-icon svg {
    stroke: var(--secondary-color);
}

/* ============================================
   Divider Sections
   ============================================ */
.divider-section {
    position: relative;
    padding: 6rem 0;
    overflow: hidden;
}

.divider-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.divider-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.divider-bg.parallax-bg img {
    transform: scale(1.1);
}

.divider-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(26, 54, 93, 0.92) 0%, rgba(10, 25, 47, 0.95) 100%);
    z-index: 1;
}

.divider-overlay-gold {
    background: linear-gradient(135deg, rgba(26, 54, 93, 0.85) 0%, rgba(201, 162, 39, 0.3) 100%);
}

.divider-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M30 0L60 30L30 60L0 30z' fill='%23c9a227' fill-opacity='0.05'/%3E%3C/svg%3E");
    z-index: 2;
    opacity: 0.5;
}

.divider-section .container {
    position: relative;
    z-index: 3;
}

/* Stats Divider */
.divider-stats {
    padding: 5rem 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    text-align: center;
}

.stat-item {
    padding: 2rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: var(--border-radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all var(--transition-normal);
}

.stat-item:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--secondary-color);
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--secondary-color);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-number::after {
    content: '+';
}

.stat-label {
    color: var(--white);
    font-size: 1rem;
    font-weight: 500;
}

/* CTA Divider */
.divider-cta {
    padding: 8rem 0;
    text-align: center;
}

.divider-cta .cta-content h2 {
    color: var(--white);
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.divider-cta .cta-content p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.2rem;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Parallax Quote Divider */
.divider-parallax {
    padding: 8rem 0;
    text-align: center;
}

.divider-quote {
    max-width: 800px;
    margin: 0 auto;
}

.divider-quote i {
    font-size: 3rem;
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
    display: block;
    opacity: 0.7;
}

.divider-quote blockquote {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-style: italic;
    color: var(--white);
    line-height: 1.6;
    margin: 0 0 1.5rem;
}

.divider-quote cite {
    color: var(--secondary-color);
    font-size: 1.1rem;
    font-style: normal;
    font-weight: 600;
}

/* Contact Mini Divider */
.divider-contact-mini {
    padding: 4rem 0;
}

.contact-mini-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.contact-mini-item {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: var(--border-radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all var(--transition-normal);
}

.contact-mini-item:hover {
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--secondary-color);
}

.contact-mini-item i {
    font-size: 2rem;
    color: var(--secondary-color);
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(201, 162, 39, 0.2);
    border-radius: 50%;
}

.contact-mini-item span {
    display: block;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
}

.contact-mini-item strong {
    color: var(--white);
    font-size: 1.1rem;
    font-weight: 600;
}

/* ============================================
   Enhanced Animations
   ============================================ */
/* Fade animations */
[data-aos="fade-up"] {
    transform: translateY(50px);
}

[data-aos="fade-down"] {
    transform: translateY(-50px);
}

[data-aos="fade-left"] {
    transform: translateX(50px);
}

[data-aos="fade-right"] {
    transform: translateX(-50px);
}

[data-aos="zoom-in"] {
    transform: scale(0.9);
}

[data-aos="flip-up"] {
    transform: perspective(2500px) rotateX(-100deg);
}

[data-aos].aos-animate {
    transform: translate(0) scale(1) rotateX(0);
    opacity: 1;
}

/* Stagger animations for grids */
.service-card:nth-child(1) { transition-delay: 0.1s; }
.service-card:nth-child(2) { transition-delay: 0.2s; }
.service-card:nth-child(3) { transition-delay: 0.3s; }
.service-card:nth-child(4) { transition-delay: 0.4s; }
.service-card:nth-child(5) { transition-delay: 0.5s; }
.service-card:nth-child(6) { transition-delay: 0.6s; }

.stat-item:nth-child(1) { animation-delay: 0.1s; }
.stat-item:nth-child(2) { animation-delay: 0.2s; }
.stat-item:nth-child(3) { animation-delay: 0.3s; }
.stat-item:nth-child(4) { animation-delay: 0.4s; }

/* Float animation for elements */
@keyframes floatElement {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-15px);
    }
}

.float-animation {
    animation: floatElement 4s ease-in-out infinite;
}

/* Pulse glow animation */
@keyframes pulseGlow {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(201, 162, 39, 0.4);
    }
    50% {
        box-shadow: 0 0 30px 10px rgba(201, 162, 39, 0.2);
    }
}

.btn-gold:hover {
    animation: pulseGlow 2s ease-in-out infinite;
}

/* Slide in from edges */
@keyframes slideInFromLeft {
    from {
        transform: translateX(-100px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideInFromRight {
    from {
        transform: translateX(100px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideInFromBottom {
    from {
        transform: translateY(100px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.animate-in-left {
    animation: slideInFromLeft 0.8s ease-out forwards;
}

.animate-in-right {
    animation: slideInFromRight 0.8s ease-out forwards;
}

.animate-in-bottom {
    animation: slideInFromBottom 0.8s ease-out forwards;
}

/* Scale animation */
@keyframes scaleIn {
    from {
        transform: scale(0.8);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.scale-in {
    animation: scaleIn 0.6s ease-out forwards;
}

/* Counter animation helper */
.stat-number.counting {
    transition: none;
}

/* Section entrance animations */
.section-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.section-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   Responsive Dividers
   ============================================ */
@media (max-width: 992px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .contact-mini-grid {
        grid-template-columns: 1fr;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .divider-cta .cta-content h2 {
        font-size: 2rem;
    }
    
    .divider-quote blockquote {
        font-size: 1.35rem;
    }
}

@media (max-width: 768px) {
    .divider-section {
        padding: 4rem 0;
    }
    
    .divider-cta {
        padding: 5rem 0;
    }
    
    .divider-parallax {
        padding: 5rem 0;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .stat-item {
        padding: 1.5rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .stat-label {
        font-size: 0.85rem;
    }
    
    .divider-cta .cta-content h2 {
        font-size: 1.5rem;
    }
    
    .divider-cta .cta-content p {
        font-size: 1rem;
    }
    
    .divider-quote blockquote {
        font-size: 1.15rem;
    }
    
    .divider-quote i {
        font-size: 2rem;
    }
    
    .contact-mini-item {
        padding: 1.25rem;
    }
    
    .contact-mini-item i {
        font-size: 1.5rem;
        width: 40px;
        height: 40px;
    }
    
    .contact-mini-item strong {
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 0.75rem;
    }
    
    .stat-item {
        padding: 1rem;
    }
    
    .stat-number {
        font-size: 1.75rem;
    }
}
