/*
Theme Name: Te Asesoramos
Theme URI: https://teasesoramos.com/
Author: Antigravity Dev
Author URI: https://teasesoramos.com/
Description: Tema profesional para empresa de seguros Te Asesoramos. Incluye secciones editables para pólizas de salud, autos, ARL, zonas comunes, exportación y ahorros.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 7.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: teasesoramos
Tags: insurance, business, responsive, seo-friendly, customizer
*/

/* =========================================================
   IMPORTAR FUENTES
   ========================================================= */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Outfit:wght@400;500;600;700;800;900&display=swap');

/* =========================================================
   VARIABLES CSS — SISTEMA DE DISEÑO
   ========================================================= */
:root {
    /* Colores primarios */
    --color-primary:       #1a3a8f;
    --color-primary-dark:  #0e2460;
    --color-primary-light: #2b6de8;
    --color-accent:        #00c6ff;
    --color-accent-2:      #0072ff;

    /* Neutros */
    --color-dark:          #0a0f1e;
    --color-dark-2:        #131929;
    --color-dark-3:        #1c2237;
    --color-text:          #2d3748;
    --color-text-light:    #718096;
    --color-light:         #f5fafd;
    --color-light-2:       #eef4fb;
    --color-white:         #ffffff;

    /* Gradientes */
    --gradient-hero:    linear-gradient(135deg, #0a0f1e 0%, #1a3a8f 50%, #2b6de8 100%);
    --gradient-primary: linear-gradient(135deg, #1a3a8f 0%, #2b6de8 100%);
    --gradient-accent:  linear-gradient(135deg, #00c6ff 0%, #0072ff 100%);
    --gradient-card:    linear-gradient(145deg, rgba(255,255,255,0.1), rgba(255,255,255,0.05));

    /* Sombras */
    --shadow-sm:   0 2px 8px rgba(26, 58, 143, 0.08);
    --shadow-md:   0 8px 32px rgba(26, 58, 143, 0.12);
    --shadow-lg:   0 20px 60px rgba(26, 58, 143, 0.18);
    --shadow-xl:   0 30px 80px rgba(10, 15, 30, 0.25);
    --shadow-blue: 0 8px 30px rgba(43, 109, 232, 0.35);

    /* Tipografía */
    --font-body:    'Inter', sans-serif;
    --font-heading: 'Outfit', sans-serif;

    /* Espaciados */
    --section-py:   100px;
    --container-w:  1200px;
    --container-px: 24px;

    /* Bordes */
    --radius-sm:  8px;
    --radius-md:  16px;
    --radius-lg:  24px;
    --radius-xl:  40px;
    --radius-full: 9999px;

    /* Transiciones */
    --transition-fast:   all 0.2s ease;
    --transition-normal: all 0.3s ease;
    --transition-slow:   all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* =========================================================
   RESET & BASE
   ========================================================= */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    color: var(--color-text);
    background-color: var(--color-white);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

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

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

ul, ol { list-style: none; }

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: var(--font-body);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--color-dark-3);
}

p { margin-bottom: 1em; }
p:last-child { margin-bottom: 0; }

/* =========================================================
   CONTENEDOR
   ========================================================= */
.container {
    width: 100%;
    max-width: var(--container-w);
    margin: 0 auto;
    padding: 0 var(--container-px);
}

.container-wide {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--container-px);
}

/* =========================================================
   UTILIDADES
   ========================================================= */
.text-center { text-align: center; }
.text-left   { text-align: left; }
.text-right  { text-align: right; }

.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;
}

.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(43, 109, 232, 0.1);
    color: var(--color-primary-light);
    border: 1px solid rgba(43, 109, 232, 0.2);
    border-radius: var(--radius-full);
    padding: 6px 18px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.section-title {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 800;
    color: var(--color-dark-3);
    margin-bottom: 16px;
}

.section-title span {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-desc {
    font-size: 1.05rem;
    color: var(--color-text-light);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.8;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

/* =========================================================
   BOTONES
   ========================================================= */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 32px;
    border-radius: var(--radius-full);
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition-normal);
    cursor: pointer;
    border: 2px solid transparent;
    white-space: nowrap;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--color-white);
    box-shadow: var(--shadow-blue);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 40px rgba(43, 109, 232, 0.5);
    color: var(--color-white);
}

.btn-secondary {
    background: transparent;
    color: var(--color-white);
    border-color: rgba(255,255,255,0.5);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255,255,255,0.15);
    border-color: var(--color-white);
    transform: translateY(-3px);
    color: var(--color-white);
}

.btn-outline {
    background: transparent;
    color: var(--color-primary-light);
    border-color: var(--color-primary-light);
}

.btn-outline:hover {
    background: var(--gradient-primary);
    color: var(--color-white);
    border-color: transparent;
    transform: translateY(-3px);
    box-shadow: var(--shadow-blue);
}

.btn-accent {
    background: var(--gradient-accent);
    color: var(--color-white);
    box-shadow: 0 8px 30px rgba(0, 198, 255, 0.4);
}

.btn-accent:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 40px rgba(0, 198, 255, 0.55);
    color: var(--color-white);
}

.btn-whatsapp {
    background: linear-gradient(135deg, #25d366 0%, #1da851 100%);
    color: var(--color-white);
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.4);
}

.btn-whatsapp:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 40px rgba(37, 211, 102, 0.55);
    color: var(--color-white);
}

.btn svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

/* =========================================================
   TOP BAR
   ========================================================= */
.top-bar {
    background: var(--color-primary-dark);
    color: rgba(255,255,255,0.85);
    font-size: 0.82rem;
    padding: 8px 0;
    position: relative;
    z-index: 1001;
}

.top-bar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.top-bar-left,
.top-bar-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.top-bar-item {
    display: flex;
    align-items: center;
    gap: 7px;
    color: rgba(255,255,255,0.85);
    text-decoration: none;
    transition: var(--transition-fast);
}

.top-bar-item:hover { color: var(--color-accent); }

.top-bar-item svg {
    width: 14px; height: 14px;
    flex-shrink: 0;
    opacity: 0.8;
}

.top-bar-social { display: flex; gap: 10px; }

.top-bar-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px; height: 28px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    color: rgba(255,255,255,0.85);
    transition: var(--transition-fast);
}

.top-bar-social a:hover {
    background: var(--color-accent);
    color: var(--color-white);
    transform: scale(1.1);
}

.top-bar-social svg { width: 14px; height: 14px; }

/* =========================================================
   HEADER / NAVBAR
   ========================================================= */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--color-white);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
}

.site-header.scrolled {
    box-shadow: var(--shadow-md);
}

.nav-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 74px;
    gap: 24px;
}

/* Logo */
.site-logo {
    flex-shrink: 0;
    display: flex;
    align-items: center;
}

.site-logo img,
.site-logo .custom-logo {
    height: 52px;
    width: auto;
    max-width: 220px;
    object-fit: contain;
}

.site-logo a { display: flex; align-items: center; }

.site-title {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--color-primary);
    text-decoration: none;
    line-height: 1;
}

.site-title span {
    display: block;
    font-size: 0.65rem;
    font-weight: 500;
    color: var(--color-text-light);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-top: 2px;
}

/* Navegación principal */
.main-nav { display: flex; align-items: center; }

.main-nav ul {
    display: flex;
    align-items: center;
    gap: 4px;
}

.main-nav > ul > li {
    position: relative;
}

.main-nav > ul > li > a {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 10px 14px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-dark-3);
    border-radius: var(--radius-sm);
    transition: var(--transition-fast);
    white-space: nowrap;
}

.main-nav > ul > li > a:hover,
.main-nav > ul > li.current-menu-item > a {
    color: var(--color-primary-light);
    background: rgba(43, 109, 232, 0.08);
}

/* Dropdown */
.main-nav .sub-menu {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    min-width: 260px;
    background: var(--color-white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(43, 109, 232, 0.08);
    padding: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: var(--transition-normal);
    z-index: 100;
}

.main-nav li:hover > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.main-nav .sub-menu li a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    font-size: 0.87rem;
    font-weight: 500;
    color: var(--color-text);
    border-radius: var(--radius-sm);
    transition: var(--transition-fast);
}

.main-nav .sub-menu li a:hover {
    background: rgba(43, 109, 232, 0.08);
    color: var(--color-primary-light);
    padding-left: 20px;
}

/* Chevron dropdown */
.main-nav .menu-item-has-children > a::after {
    content: '';
    display: inline-block;
    width: 10px; height: 10px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg) translateY(-2px);
    transition: transform 0.2s;
    flex-shrink: 0;
}

.main-nav .menu-item-has-children:hover > a::after {
    transform: rotate(-135deg) translateY(-2px);
}

/* Nav CTA button */
.nav-cta {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

/* Mobile hamburger */
.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 40px; height: 40px;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(43, 109, 232, 0.2);
    background: transparent;
    cursor: pointer;
    transition: var(--transition-fast);
}

.nav-toggle span {
    display: block;
    width: 22px; height: 2px;
    background: var(--color-dark-3);
    border-radius: 2px;
    transition: var(--transition-normal);
    transform-origin: center;
}

.nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* =========================================================
   HERO SECTION
   ========================================================= */
.hero-section {
    position: relative;
    background: var(--gradient-hero);
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: 120px 0 80px;
}

.hero-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.02'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
}

/* Orbs de fondo */
.hero-section::after {
    content: '';
    position: absolute;
    top: -200px;
    right: -200px;
    width: 700px; height: 700px;
    background: radial-gradient(circle, rgba(0, 198, 255, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.hero-orb {
    position: absolute;
    bottom: -150px;
    left: -150px;
    width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(43, 109, 232, 0.2) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.hero-inner {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-content { color: var(--color-white); }

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    backdrop-filter: blur(10px);
    color: var(--color-accent);
    border-radius: var(--radius-full);
    padding: 7px 18px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 24px;
    animation: fadeInDown 0.8s ease;
}

.hero-badge svg { width: 16px; height: 16px; }

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(2.2rem, 5vw, 3.8rem);
    font-weight: 900;
    line-height: 1.1;
    color: var(--color-white);
    margin-bottom: 24px;
    animation: fadeInUp 0.8s ease 0.1s both;
}

.hero-title .highlight {
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: rgba(255,255,255,0.8);
    margin-bottom: 40px;
    max-width: 520px;
    line-height: 1.8;
    animation: fadeInUp 0.8s ease 0.2s both;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 48px;
    animation: fadeInUp 0.8s ease 0.3s both;
}

.hero-stats {
    display: flex;
    gap: 32px;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease 0.4s both;
}

.hero-stat {
    text-align: center;
}

.hero-stat .number {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 900;
    color: var(--color-white);
    line-height: 1;
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-stat .label {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.65);
    font-weight: 500;
    margin-top: 4px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.hero-visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeInRight 0.8s ease 0.2s both;
}

.hero-card-wrap {
    position: relative;
    width: 100%;
    max-width: 480px;
}

.hero-main-card {
    background: rgba(255,255,255,0.08);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: var(--radius-xl);
    padding: 40px;
    position: relative;
    overflow: hidden;
}

.hero-main-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200px; height: 200px;
    background: radial-gradient(circle, rgba(0,198,255,0.2) 0%, transparent 70%);
    border-radius: 50%;
}

.hero-card-icon {
    width: 64px; height: 64px;
    background: var(--gradient-accent);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    box-shadow: 0 8px 24px rgba(0, 198, 255, 0.4);
}

.hero-card-icon svg {
    width: 32px; height: 32px;
    color: var(--color-white);
}

.hero-card-title {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: 8px;
}

.hero-card-text {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.7);
    margin-bottom: 24px;
}

.hero-card-services {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.hero-service-chip {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: var(--radius-sm);
    padding: 8px 12px;
    color: rgba(255,255,255,0.85);
    font-size: 0.8rem;
    font-weight: 500;
}

.hero-service-chip svg { width: 14px; height: 14px; flex-shrink: 0; }

/* Floating cards */
.floating-card {
    position: absolute;
    background: rgba(255,255,255,0.95);
    border-radius: var(--radius-md);
    padding: 14px 18px;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 12px;
    backdrop-filter: blur(10px);
    animation: float 4s ease-in-out infinite;
}

.floating-card:nth-child(2) { animation-delay: -2s; }

.floating-card.card-1 {
    top: -20px;
    right: -20px;
}

.floating-card.card-2 {
    bottom: 20px;
    left: -30px;
    animation-delay: -1s;
}

.floating-card-icon {
    width: 40px; height: 40px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.floating-card-icon.green { background: rgba(37, 211, 102, 0.15); }
.floating-card-icon.blue  { background: rgba(43, 109, 232, 0.15); }
.floating-card-icon svg   { width: 20px; height: 20px; }
.floating-card-icon.green svg { color: #25d366; }
.floating-card-icon.blue  svg { color: var(--color-primary-light); }

.floating-card-text strong {
    display: block;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--color-dark-3);
    line-height: 1;
}

.floating-card-text span {
    font-size: 0.75rem;
    color: var(--color-text-light);
}

/* =========================================================
   MARCAS / ASEGURADORAS
   ========================================================= */
.brands-section {
    padding: 50px 0;
    background: var(--color-white);
    border-bottom: 1px solid rgba(43, 109, 232, 0.08);
}

.brands-title {
    text-align: center;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--color-text-light);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 30px;
}

.brands-track-wrapper {
    overflow: hidden;
    position: relative;
}

.brands-track-wrapper::before,
.brands-track-wrapper::after {
    content: '';
    position: absolute;
    top: 0; bottom: 0;
    width: 100px;
    z-index: 2;
    pointer-events: none;
}

.brands-track-wrapper::before {
    left: 0;
    background: linear-gradient(to right, var(--color-white), transparent);
}

.brands-track-wrapper::after {
    right: 0;
    background: linear-gradient(to left, var(--color-white), transparent);
}

.brands-track {
    display: flex;
    align-items: center;
    gap: 60px;
    animation: scroll-brands 20s linear infinite;
    width: max-content;
}

.brands-track:hover { animation-play-state: paused; }

.brand-item {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border-radius: var(--radius-md);
    border: 1px solid rgba(43, 109, 232, 0.1);
    background: var(--color-light);
    transition: var(--transition-normal);
    white-space: nowrap;
    cursor: default;
}

.brand-item:hover {
    border-color: var(--color-primary-light);
    background: rgba(43, 109, 232, 0.06);
    transform: translateY(-3px);
    box-shadow: var(--shadow-sm);
}

.brand-item img {
    height: 36px;
    width: auto;
    object-fit: contain;
    filter: grayscale(100%) opacity(0.6);
    transition: var(--transition-normal);
}

.brand-item:hover img {
    filter: grayscale(0%) opacity(1);
}

.brand-item span {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1rem;
    color: var(--color-text-light);
    transition: var(--transition-normal);
}

.brand-item:hover span { color: var(--color-primary); }

/* =========================================================
   SECCIÓN SERVICIOS
   ========================================================= */
.services-section {
    padding: var(--section-py) 0;
    background: var(--color-light);
    position: relative;
    overflow: hidden;
}

.services-section::before {
    content: '';
    position: absolute;
    top: -200px;
    left: -200px;
    width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(43, 109, 232, 0.06) 0%, transparent 70%);
    border-radius: 50%;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.service-card {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    border: 1px solid rgba(43, 109, 232, 0.08);
    transition: var(--transition-slow);
    position: relative;
    overflow: hidden;
    cursor: default;
}

.service-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity 0.4s ease;
    border-radius: inherit;
}

.service-card::after {
    content: '';
    position: absolute;
    top: -40px; right: -40px;
    width: 120px; height: 120px;
    background: radial-gradient(circle, rgba(43, 109, 232, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    transition: var(--transition-slow);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.service-card:hover::before { opacity: 1; }

.service-card > * { position: relative; z-index: 1; }

.service-icon {
    width: 68px; height: 68px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 22px;
    transition: var(--transition-normal);
    flex-shrink: 0;
}

.service-icon svg {
    width: 32px; height: 32px;
    transition: var(--transition-normal);
}

/* Colores por tipo de servicio */
.service-card[data-service="salud"] .service-icon { background: rgba(239, 68, 68, 0.12); }
.service-card[data-service="salud"] .service-icon svg { color: #ef4444; }
.service-card[data-service="autos"] .service-icon { background: rgba(59, 130, 246, 0.12); }
.service-card[data-service="autos"] .service-icon svg { color: #3b82f6; }
.service-card[data-service="arl"] .service-icon { background: rgba(234, 179, 8, 0.12); }
.service-card[data-service="arl"] .service-icon svg { color: #eab308; }
.service-card[data-service="zonas"] .service-icon { background: rgba(16, 185, 129, 0.12); }
.service-card[data-service="zonas"] .service-icon svg { color: #10b981; }
.service-card[data-service="exportacion"] .service-icon { background: rgba(139, 92, 246, 0.12); }
.service-card[data-service="exportacion"] .service-icon svg { color: #8b5cf6; }
.service-card[data-service="ahorros"] .service-icon { background: rgba(249, 115, 22, 0.12); }
.service-card[data-service="ahorros"] .service-icon svg { color: #f97316; }

.service-card:hover .service-icon {
    background: rgba(255,255,255,0.15);
}
.service-card:hover .service-icon svg { color: var(--color-white); }

.service-name {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--color-dark-3);
    margin-bottom: 10px;
    transition: color 0.3s;
}

.service-card:hover .service-name { color: var(--color-white); }

.service-desc {
    font-size: 0.9rem;
    color: var(--color-text-light);
    line-height: 1.7;
    margin-bottom: 20px;
    transition: color 0.3s;
}

.service-card:hover .service-desc { color: rgba(255,255,255,0.8); }

.service-features {
    display: flex;
    flex-direction: column;
    gap: 7px;
    margin-bottom: 24px;
}

.service-feature {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.84rem;
    color: var(--color-text);
    transition: color 0.3s;
}

.service-card:hover .service-feature { color: rgba(255,255,255,0.85); }

.service-feature svg {
    width: 16px; height: 16px;
    color: var(--color-primary-light);
    flex-shrink: 0;
    transition: color 0.3s;
}

.service-card:hover .service-feature svg { color: var(--color-accent); }

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.87rem;
    font-weight: 600;
    color: var(--color-primary-light);
    text-decoration: none;
    transition: var(--transition-fast);
}

.service-link svg { width: 16px; height: 16px; transition: transform 0.2s; }
.service-link:hover svg { transform: translateX(4px); }
.service-card:hover .service-link { color: var(--color-white); }

/* =========================================================
   SECCIÓN POR QUÉ ELEGIRNOS
   ========================================================= */
.why-section {
    padding: var(--section-py) 0;
    background: var(--color-white);
    position: relative;
}

.why-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.why-content {}

.why-tag { margin-bottom: 16px; }

.why-title {
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.15;
}

.why-desc {
    font-size: 1rem;
    color: var(--color-text-light);
    margin-bottom: 40px;
    line-height: 1.8;
}

.why-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 40px;
}

.why-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.why-item-icon {
    width: 48px; height: 48px;
    border-radius: var(--radius-md);
    background: rgba(43, 109, 232, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 2px;
}

.why-item-icon svg { width: 22px; height: 22px; color: var(--color-primary-light); }

.why-item-body strong {
    display: block;
    font-weight: 700;
    color: var(--color-dark-3);
    margin-bottom: 4px;
}

.why-item-body p {
    font-size: 0.9rem;
    color: var(--color-text-light);
    margin: 0;
    line-height: 1.6;
}

/* Stats grid */
.why-stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.stat-card {
    background: var(--color-light);
    border-radius: var(--radius-lg);
    padding: 28px 24px;
    text-align: center;
    border: 1px solid rgba(43, 109, 232, 0.08);
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 3px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform 0.4s ease;
    transform-origin: left;
}

.stat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.stat-card:hover::before { transform: scaleX(1); }

.stat-number {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 900;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 6px;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--color-text-light);
    font-weight: 500;
}

/* =========================================================
   SECCIÓN PROCESO
   ========================================================= */
.process-section {
    padding: var(--section-py) 0;
    background: var(--color-dark);
    position: relative;
    overflow: hidden;
}

.process-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.02'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.process-section .section-title { color: var(--color-white); }
.process-section .section-desc  { color: rgba(255,255,255,0.65); }
.process-section .section-tag {
    background: rgba(0, 198, 255, 0.1);
    border-color: rgba(0, 198, 255, 0.2);
    color: var(--color-accent);
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    position: relative;
    margin-top: 60px;
}

.process-steps::before {
    content: '';
    position: absolute;
    top: 48px;
    left: calc(12.5% + 12px);
    right: calc(12.5% + 12px);
    height: 2px;
    background: linear-gradient(to right, var(--color-primary-light), var(--color-accent));
    z-index: 0;
}

.process-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

.step-number {
    width: 72px; height: 72px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 900;
    color: var(--color-white);
    margin-bottom: 20px;
    box-shadow: var(--shadow-blue);
    position: relative;
    z-index: 2;
    flex-shrink: 0;
    transition: var(--transition-normal);
}

.process-step:hover .step-number {
    transform: scale(1.1);
    background: var(--gradient-accent);
    box-shadow: 0 12px 40px rgba(0, 198, 255, 0.5);
}

.step-icon {
    font-size: 1.4rem;
    margin-bottom: 14px;
}

.step-title {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: 10px;
}

.step-desc {
    font-size: 0.87rem;
    color: rgba(255,255,255,0.6);
    line-height: 1.7;
}

/* =========================================================
   TESTIMONIOS
   ========================================================= */
.testimonials-section {
    padding: var(--section-py) 0;
    background: var(--color-light);
    overflow: hidden;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.testimonial-card {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    padding: 32px;
    border: 1px solid rgba(43, 109, 232, 0.08);
    transition: var(--transition-normal);
    position: relative;
}

.testimonial-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(43, 109, 232, 0.2);
}

.testimonial-quote-icon {
    font-size: 3rem;
    line-height: 1;
    color: rgba(43, 109, 232, 0.12);
    font-family: Georgia, serif;
    margin-bottom: 16px;
    display: block;
}

.testimonial-stars {
    display: flex;
    gap: 4px;
    margin-bottom: 14px;
}

.testimonial-stars svg {
    width: 18px; height: 18px;
    color: #f59e0b;
    fill: #f59e0b;
}

.testimonial-text {
    font-size: 0.95rem;
    color: var(--color-text);
    line-height: 1.8;
    margin-bottom: 24px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 14px;
}

.author-avatar {
    width: 48px; height: 48px;
    border-radius: 50%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-white);
    flex-shrink: 0;
    overflow: hidden;
}

.author-avatar img { width: 100%; height: 100%; object-fit: cover; }

.author-info strong {
    display: block;
    font-weight: 700;
    font-size: 0.92rem;
    color: var(--color-dark-3);
}

.author-info span {
    font-size: 0.82rem;
    color: var(--color-text-light);
}

.testimonial-service-badge {
    position: absolute;
    top: 24px;
    right: 24px;
    background: rgba(43, 109, 232, 0.08);
    color: var(--color-primary-light);
    border-radius: var(--radius-full);
    padding: 4px 12px;
    font-size: 0.74rem;
    font-weight: 600;
}

/* =========================================================
   BLOG SECTION
   ========================================================= */
.blog-section {
    padding: var(--section-py) 0;
    background: var(--color-white);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.blog-card {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid rgba(43, 109, 232, 0.08);
    transition: var(--transition-normal);
    display: flex;
    flex-direction: column;
}

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

.blog-card-image {
    position: relative;
    aspect-ratio: 16/9;
    overflow: hidden;
    background: var(--color-light-2);
}

.blog-card-image img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.blog-card:hover .blog-card-image img { transform: scale(1.06); }

.blog-card-category {
    position: absolute;
    top: 14px;
    left: 14px;
    background: var(--gradient-primary);
    color: var(--color-white);
    border-radius: var(--radius-full);
    padding: 4px 14px;
    font-size: 0.75rem;
    font-weight: 600;
}

.blog-card-body {
    padding: 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.blog-card-meta {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 0.8rem;
    color: var(--color-text-light);
    margin-bottom: 12px;
}

.blog-card-meta svg { width: 14px; height: 14px; }

.blog-card-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.blog-card-title {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--color-dark-3);
    margin-bottom: 10px;
    line-height: 1.4;
    transition: color 0.2s;
}

.blog-card:hover .blog-card-title { color: var(--color-primary-light); }

.blog-card-excerpt {
    font-size: 0.88rem;
    color: var(--color-text-light);
    line-height: 1.7;
    margin-bottom: 20px;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-read-more {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.87rem;
    font-weight: 600;
    color: var(--color-primary-light);
    text-decoration: none;
    margin-top: auto;
    transition: gap 0.2s;
}

.blog-read-more svg { width: 16px; height: 16px; transition: transform 0.2s; }
.blog-read-more:hover svg { transform: translateX(4px); }
.blog-read-more:hover { color: var(--color-primary); }

/* =========================================================
   CTA SECTION
   ========================================================= */
.cta-section {
    padding: 80px 0;
    background: var(--gradient-primary);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -100px; right: -100px;
    width: 400px; height: 400px;
    background: radial-gradient(circle, rgba(255,255,255,0.08) 0%, transparent 70%);
    border-radius: 50%;
}

.cta-section::after {
    content: '';
    position: absolute;
    bottom: -100px; left: -50px;
    width: 300px; height: 300px;
    background: radial-gradient(circle, rgba(0, 198, 255, 0.12) 0%, transparent 70%);
    border-radius: 50%;
}

.cta-inner {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 60px;
    align-items: center;
}

.cta-content .section-tag {
    background: rgba(255,255,255,0.15);
    border-color: rgba(255,255,255,0.25);
    color: var(--color-white);
}

.cta-title {
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    font-weight: 800;
    color: var(--color-white);
    margin-bottom: 14px;
    line-height: 1.15;
}

.cta-desc {
    font-size: 1.05rem;
    color: rgba(255,255,255,0.8);
    max-width: 500px;
}

.cta-actions {
    display: flex;
    flex-direction: column;
    gap: 14px;
    flex-shrink: 0;
    min-width: 260px;
}

.cta-contact-info {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 8px;
}

.cta-contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255,255,255,0.8);
    font-size: 0.9rem;
}

.cta-contact-item svg { width: 18px; height: 18px; flex-shrink: 0; }
.cta-contact-item a { color: var(--color-white); font-weight: 600; }

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer {
    background: var(--color-dark);
    color: rgba(255,255,255,0.7);
    padding: 80px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 50px;
    padding-bottom: 60px;
    border-bottom: 1px solid rgba(255,255,255,0.07);
}

.footer-brand .footer-logo {
    height: 50px;
    width: auto;
    margin-bottom: 18px;
    filter: brightness(0) invert(1);
    opacity: 0.9;
}

.footer-brand p {
    font-size: 0.9rem;
    line-height: 1.8;
    margin-bottom: 24px;
    color: rgba(255,255,255,0.6);
}

.footer-social {
    display: flex;
    gap: 10px;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px; height: 40px;
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius-sm);
    color: rgba(255,255,255,0.7);
    transition: var(--transition-normal);
}

.footer-social a:hover {
    background: var(--gradient-primary);
    border-color: transparent;
    color: var(--color-white);
    transform: translateY(-3px);
}

.footer-social svg { width: 18px; height: 18px; }

.footer-col h4 {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 12px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 30px; height: 2px;
    background: var(--gradient-accent);
    border-radius: 2px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a {
    color: rgba(255,255,255,0.6);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition-fast);
}

.footer-links a:hover {
    color: var(--color-accent);
    transform: translateX(4px);
}

.footer-links a svg { width: 14px; height: 14px; flex-shrink: 0; }

.footer-contact-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.footer-contact-item {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    font-size: 0.88rem;
    color: rgba(255,255,255,0.65);
}

.footer-contact-item svg {
    width: 18px; height: 18px;
    color: var(--color-accent);
    flex-shrink: 0;
    margin-top: 2px;
}

.footer-contact-item a { color: rgba(255,255,255,0.8); }
.footer-contact-item a:hover { color: var(--color-accent); }

.footer-bottom {
    padding: 24px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.footer-bottom p {
    font-size: 0.84rem;
    color: rgba(255,255,255,0.45);
    margin: 0;
}

.footer-bottom-links {
    display: flex;
    gap: 20px;
}

.footer-bottom-links a {
    font-size: 0.84rem;
    color: rgba(255,255,255,0.45);
    transition: var(--transition-fast);
}

.footer-bottom-links a:hover { color: var(--color-accent); }

/* =========================================================
   PÁGINAS INTERNAS
   ========================================================= */
.page-hero {
    background: var(--gradient-primary);
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.02'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

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

.page-hero h1 {
    font-size: clamp(1.8rem, 4vw, 3rem);
    font-weight: 800;
    color: var(--color-white);
    margin-bottom: 14px;
}

.breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 0.88rem;
    color: rgba(255,255,255,0.7);
}

.breadcrumb a { color: rgba(255,255,255,0.8); }
.breadcrumb a:hover { color: var(--color-white); }
.breadcrumb svg { width: 14px; height: 14px; }

.page-content-area {
    padding: 80px 0;
    background: var(--color-white);
}

.page-content-inner {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 60px;
    align-items: start;
}

.page-content-main .entry-content { max-width: none; }
.entry-content h2 { font-size: 1.7rem; font-weight: 800; margin-bottom: 16px; color: var(--color-dark-3); }
.entry-content h3 { font-size: 1.3rem; font-weight: 700; margin-bottom: 12px; color: var(--color-dark-3); }
.entry-content p  { font-size: 1rem; color: var(--color-text); line-height: 1.85; margin-bottom: 18px; }
.entry-content ul, .entry-content ol {
    margin: 0 0 18px 1.5em;
    color: var(--color-text);
    line-height: 1.8;
    list-style: disc;
}
.entry-content ul li { margin-bottom: 6px; }

/* Sidebar */
.page-sidebar {}

.sidebar-widget {
    background: var(--color-light);
    border-radius: var(--radius-lg);
    padding: 28px;
    margin-bottom: 24px;
    border: 1px solid rgba(43, 109, 232, 0.08);
}

.sidebar-widget-title {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-dark-3);
    margin-bottom: 18px;
    padding-bottom: 12px;
    border-bottom: 2px solid rgba(43, 109, 232, 0.12);
}

.sidebar-cta {
    background: var(--gradient-primary);
    border: none;
}

.sidebar-cta .sidebar-widget-title { color: var(--color-white); border-color: rgba(255,255,255,0.2); }
.sidebar-cta p { color: rgba(255,255,255,0.8); font-size: 0.9rem; margin-bottom: 18px; }

/* =========================================================
   SINGLE POST
   ========================================================= */
.single-content-area {
    padding: 80px 0;
}

.single-inner {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 60px;
    align-items: start;
}

.post-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    font-size: 0.85rem;
    color: var(--color-text-light);
    margin-bottom: 24px;
}

.post-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.post-meta svg { width: 16px; height: 16px; }

.post-featured-image {
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-bottom: 36px;
    aspect-ratio: 16/7;
}

.post-featured-image img { width: 100%; height: 100%; object-fit: cover; }

.post-navigation {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid rgba(43, 109, 232, 0.1);
}

.nav-post-link {
    padding: 20px;
    background: var(--color-light);
    border-radius: var(--radius-md);
    border: 1px solid rgba(43, 109, 232, 0.08);
    display: flex;
    flex-direction: column;
    gap: 6px;
    text-decoration: none;
    transition: var(--transition-normal);
}

.nav-post-link:hover {
    border-color: var(--color-primary-light);
    box-shadow: var(--shadow-sm);
    background: rgba(43, 109, 232, 0.04);
}

.nav-post-link span {
    font-size: 0.78rem;
    color: var(--color-text-light);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 600;
}

.nav-post-link strong {
    font-size: 0.92rem;
    color: var(--color-dark-3);
    line-height: 1.4;
}

.nav-post-link.next { text-align: right; }

/* =========================================================
   BLOG / ARCHIVE
   ========================================================= */
.archive-section { padding: 80px 0; }

.archive-inner {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 60px;
    align-items: start;
}

.archive-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
}

.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 48px;
}

.pagination .page-numbers {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px; height: 42px;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    font-weight: 600;
    border: 1px solid rgba(43, 109, 232, 0.15);
    color: var(--color-text);
    transition: var(--transition-fast);
    text-decoration: none;
}

.pagination .page-numbers:hover,
.pagination .page-numbers.current {
    background: var(--gradient-primary);
    color: var(--color-white);
    border-color: transparent;
}

/* =========================================================
   404
   ========================================================= */
.error-404-section {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 0;
    text-align: center;
}

.error-404-number {
    font-family: var(--font-heading);
    font-size: clamp(6rem, 15vw, 12rem);
    font-weight: 900;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 20px;
}

.error-404-title {
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    font-weight: 700;
    color: var(--color-dark-3);
    margin-bottom: 14px;
}

.error-404-desc {
    font-size: 1rem;
    color: var(--color-text-light);
    max-width: 480px;
    margin: 0 auto 36px;
    line-height: 1.8;
}

/* =========================================================
   FLOATING WHATSAPP BUTTON
   ========================================================= */
.whatsapp-float {
    position: fixed;
    bottom: 28px;
    right: 28px;
    z-index: 9999;
}

.whatsapp-float-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px; height: 60px;
    background: linear-gradient(135deg, #25d366, #1da851);
    border-radius: 50%;
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.5);
    color: var(--color-white);
    text-decoration: none;
    transition: var(--transition-normal);
    animation: pulse-wa 2s ease-in-out infinite;
}

.whatsapp-float-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 12px 40px rgba(37, 211, 102, 0.6);
    color: var(--color-white);
}

.whatsapp-float-btn svg { width: 30px; height: 30px; }

/* =========================================================
   ANIMACIONES
   ========================================================= */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-20px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInRight {
    from { opacity: 0; transform: translateX(40px); }
    to   { opacity: 1; transform: translateX(0); }
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50%       { transform: translateY(-12px); }
}

@keyframes scroll-brands {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

@keyframes pulse-wa {
    0%, 100% { box-shadow: 0 8px 30px rgba(37, 211, 102, 0.5); }
    50%       { box-shadow: 0 8px 50px rgba(37, 211, 102, 0.75), 0 0 0 10px rgba(37, 211, 102, 0.1); }
}

/* Reveal on scroll */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }

/* =========================================================
   RESPONSIVE — TABLET (≤ 1024px)
   ========================================================= */
@media (max-width: 1024px) {
    :root { --section-py: 72px; }

    .hero-inner { grid-template-columns: 1fr; gap: 40px; }
    .hero-visual { display: none; }
    .hero-title { font-size: clamp(2rem, 5vw, 3.2rem); }

    .services-grid { grid-template-columns: repeat(2, 1fr); }

    .why-inner { grid-template-columns: 1fr; gap: 48px; }

    .process-steps { grid-template-columns: repeat(2, 1fr); gap: 40px; }
    .process-steps::before { display: none; }

    .testimonials-grid { grid-template-columns: repeat(2, 1fr); }

    .blog-grid { grid-template-columns: repeat(2, 1fr); }

    .cta-inner { grid-template-columns: 1fr; }
    .cta-actions { flex-direction: row; flex-wrap: wrap; }

    .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }

    .page-content-inner, .single-inner, .archive-inner {
        grid-template-columns: 1fr;
    }

    .archive-grid { grid-template-columns: 1fr; }
}

/* =========================================================
   RESPONSIVE — MÓVIL (≤ 768px)
   ========================================================= */
@media (max-width: 768px) {
    :root {
        --section-py: 60px;
        --container-px: 18px;
    }

    /* Top bar */
    .top-bar-left .top-bar-item:not(:first-child) { display: none; }

    /* Nav */
    .main-nav { display: none; }
    .nav-cta   { display: none; }
    .nav-toggle { display: flex; }

    /* Mobile menu */
    .main-nav.open {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 0; left: 0; right: 0; bottom: 0;
        background: rgba(10, 15, 30, 0.98);
        backdrop-filter: blur(20px);
        z-index: 9998;
        padding: 100px 32px 40px;
        overflow-y: auto;
    }

    .main-nav.open ul {
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
        width: 100%;
    }

    .main-nav.open > ul > li > a {
        color: var(--color-white);
        font-size: 1.1rem;
        padding: 14px 0;
        border-radius: 0;
        border-bottom: 1px solid rgba(255,255,255,0.07);
        width: 100%;
    }

    .main-nav.open .sub-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        background: transparent;
        box-shadow: none;
        border: none;
        padding: 0 0 0 16px;
        min-width: auto;
        width: 100%;
    }

    .main-nav.open .sub-menu li a {
        color: rgba(255,255,255,0.75);
        border-bottom: 1px solid rgba(255,255,255,0.05);
        padding: 10px 0;
    }

    /* Services */
    .services-grid    { grid-template-columns: 1fr; }
    .why-stats-grid   { grid-template-columns: repeat(2, 1fr); }
    .process-steps    { grid-template-columns: 1fr; }
    .testimonials-grid { grid-template-columns: 1fr; }
    .blog-grid        { grid-template-columns: 1fr; }

    .footer-grid { grid-template-columns: 1fr; gap: 32px; }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .hero-buttons { flex-direction: column; }
    .hero-stats   { gap: 20px; }
    .hero-stat .number { font-size: 1.6rem; }

    .post-navigation { grid-template-columns: 1fr; }
}

/* =========================================================
   RESPONSIVE — PEQUEÑO (≤ 480px)
   ========================================================= */
@media (max-width: 480px) {
    :root { --section-py: 50px; }

    .top-bar { display: none; }
    .why-stats-grid { grid-template-columns: 1fr; }

    .cta-actions { flex-direction: column; }
}

/* =========================================================
   ACCESIBILIDAD
   ========================================================= */
:focus-visible {
    outline: 3px solid var(--color-accent);
    outline-offset: 3px;
    border-radius: 4px;
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .brands-track { animation: none; }
}
