/* 
  GRUPO ER - Premium Design System v3.0
  Modern Glassmorphism & Dark Theme
*/

/* ============================================
   CSS VARIABLES & DESIGN TOKENS
   ============================================ */
:root {
    /* Core Colors */
    --primary: #0a0f1a;
    --primary-light: #131b2e;
    --primary-gradient: linear-gradient(135deg, #0a0f1a 0%, #131b2e 50%, #1e293b 100%);
    --secondary: #080d17;

    /* Accent Colors */
    --accent: #06b6d4;
    --accent-light: #22d3ee;
    --accent-dark: #0891b2;
    --accent-glow: rgba(6, 182, 212, 0.4);
    --accent-subtle: rgba(6, 182, 212, 0.08);

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
    --gradient-bg: linear-gradient(180deg, var(--primary) 0%, var(--secondary) 100%);
    --gradient-card: linear-gradient(145deg, rgba(19, 27, 46, 0.9) 0%, rgba(10, 15, 26, 0.95) 100%);

    /* Text Colors */
    --text-main: #f1f5f9;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    --text-accent: var(--accent-light);

    /* Glass Effects */
    --glass: rgba(19, 27, 46, 0.7);
    --glass-light: rgba(30, 41, 59, 0.5);
    --glass-border: rgba(255, 255, 255, 0.06);
    --glass-border-hover: rgba(6, 182, 212, 0.25);

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.4);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.5);
    --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.6);
    --shadow-glow: 0 0 40px rgba(6, 182, 212, 0.15);
    --shadow-glow-intense: 0 0 60px rgba(6, 182, 212, 0.35);

    /* Typography */
    --font-heading: 'Montserrat', system-ui, -apple-system, sans-serif;
    --font-body: 'Inter', system-ui, -apple-system, sans-serif;

    /* Spacing */
    --section-padding: clamp(60px, 10vw, 120px);
    --container-max: 1400px;
    --container-padding: clamp(20px, 5vw, 60px);

    /* Transitions */
    --transition-fast: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-smooth: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-bounce: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);

    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --radius-full: 9999px;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    background: var(--gradient-bg);
    background-attachment: fixed;
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.7;
    overflow-x: hidden;
    min-height: 100vh;
}

/* Cursor Styles */
a,
button,
.btn,
[role="button"],
.card,
input,
textarea,
select {
    cursor: pointer;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: var(--text-main);
}

h1 {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
}

h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
}

h4 {
    font-size: clamp(1.25rem, 2vw, 1.5rem);
}

p {
    color: var(--text-secondary);
    line-height: 1.8;
}

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

ul {
    list-style: none;
}

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

/* ============================================
   PRELOADER
   ============================================ */
#loader {
    position: fixed;
    inset: 0;
    background: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    transition: opacity 0.8s ease, visibility 0.8s ease;
}

#loader.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

#loader .logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

#loader .logo img {
    animation: logoFloat 2s ease-in-out infinite;
}

#loader .logo-bar {
    width: 0;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: var(--radius-full);
    animation: loaderExpand 1.5s ease-out 0.3s forwards;
}

@keyframes logoFloat {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

@keyframes loaderExpand {
    to {
        width: 100px;
    }
}

/* ============================================
   NAVIGATION
   ============================================ */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    padding: 20px var(--container-padding);
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    transition: var(--transition-base);
    background: transparent;
}

nav.scrolled {
    background: rgba(15, 23, 42, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
    padding: 15px var(--container-padding);
    box-shadow: var(--shadow-md);
}

/* Logo */
.logo-container a {
    display: flex;
    align-items: center;
    position: relative;
}

.logo-container img {
    height: 45px;
    width: auto;
    position: relative;
    z-index: 2;
    transition: var(--transition-smooth);
}

.logo-text {
    height: 16px;
    width: auto;
    max-width: 100px;
    margin-left: -90px;
    opacity: 0;
    transform: translateX(-20px);
    transition: var(--transition-smooth);
    z-index: 1;
    position: relative;
    object-fit: contain;
}

/* Show logo text on logo hover - text appears BEHIND logo */
.logo-container:hover .logo-text,
/* Show logo text when nav is hovered */
nav:hover .logo-text,
/* Show logo text when scrolled */
nav.scrolled .logo-text {
    margin-left: 12px;
    opacity: 1;
    transform: translateX(0);
}

/* Nav Links */
.nav-links {
    display: flex;
    gap: 40px;
    align-items: center;
}

.nav-links a {
    position: relative;
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--text-secondary);
    padding: 8px 0;
    transition: var(--transition-base);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: var(--transition-smooth);
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--accent-light);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

/* CTA Button in Nav */
.nav-cta {
    background: var(--gradient-primary);
    color: var(--primary) !important;
    padding: 10px 24px !important;
    border-radius: var(--radius-full);
    font-weight: 600 !important;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-bounce) !important;
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow) !important;
}

.nav-cta::after {
    display: none !important;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    padding: 10px;
    z-index: 1001;
}

.hamburger span {
    width: 28px;
    height: 2px;
    background: var(--text-main);
    border-radius: var(--radius-full);
    transition: var(--transition-base);
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Mobile Menu */
.nav-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 999;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.nav-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

@media (max-width: 968px) {
    .hamburger {
        display: flex;
    }

    .nav-overlay {
        display: block;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: min(400px, 100%);
        height: 100vh;
        background: rgba(15, 23, 42, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        gap: 30px;
        padding: 40px;
        transition: var(--transition-smooth);
        border-left: 1px solid var(--glass-border);
        z-index: 1000;
    }

    .nav-links.open {
        right: 0;
    }

    .nav-links a {
        font-size: 1.3rem;
    }
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding: var(--section-padding);
    padding-top: 100px;
}

/* Hero Background */
.hero-bg {
    position: absolute;
    inset: 0;
    z-index: -2;
    overflow: hidden;
}

.hero-bg-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transform: scale(1.1);
    animation: heroZoom 20s ease-in-out infinite alternate;
}

@keyframes heroZoom {
    0% {
        transform: scale(1.1);
    }

    100% {
        transform: scale(1.2);
    }
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(135deg, rgba(15, 23, 42, 0.92) 0%, rgba(15, 23, 42, 0.85) 40%, rgba(15, 23, 42, 0.7) 100%);
    z-index: 1;
}

.hero-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 50% at 50% -20%, rgba(6, 182, 212, 0.2) 0%, transparent 50%),
        radial-gradient(ellipse 60% 40% at 80% 60%, rgba(6, 182, 212, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse 50% 30% at 20% 80%, rgba(8, 145, 178, 0.1) 0%, transparent 50%);
    z-index: 2;
}

/* Animated Grid */
.hero-grid {
    position: absolute;
    inset: 0;
    z-index: -1;
    opacity: 0.03;
    background-image:
        linear-gradient(var(--accent) 1px, transparent 1px),
        linear-gradient(90deg, var(--accent) 1px, transparent 1px);
    background-size: 60px 60px;
    animation: gridMove 20s linear infinite;
}

@keyframes gridMove {
    0% {
        transform: perspective(500px) rotateX(60deg) translateY(0);
    }

    100% {
        transform: perspective(500px) rotateX(60deg) translateY(60px);
    }
}

/* Floating Particles */
.hero-particles {
    position: absolute;
    inset: 0;
    z-index: -1;
    overflow: hidden;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--accent);
    border-radius: 50%;
    opacity: 0.3;
    animation: particleFloat 15s ease-in-out infinite;
}

.particle:nth-child(1) {
    left: 10%;
    top: 20%;
    animation-delay: 0s;
}

.particle:nth-child(2) {
    left: 20%;
    top: 80%;
    animation-delay: 2s;
}

.particle:nth-child(3) {
    left: 30%;
    top: 40%;
    animation-delay: 4s;
}

.particle:nth-child(4) {
    left: 50%;
    top: 60%;
    animation-delay: 1s;
}

.particle:nth-child(5) {
    left: 70%;
    top: 30%;
    animation-delay: 3s;
}

.particle:nth-child(6) {
    left: 80%;
    top: 70%;
    animation-delay: 5s;
}

.particle:nth-child(7) {
    left: 90%;
    top: 50%;
    animation-delay: 2.5s;
}

.particle:nth-child(8) {
    left: 40%;
    top: 10%;
    animation-delay: 1.5s;
}

@keyframes particleFloat {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.3;
    }

    25% {
        transform: translate(30px, -30px) scale(1.5);
        opacity: 0.6;
    }

    50% {
        transform: translate(-20px, 20px) scale(1);
        opacity: 0.4;
    }

    75% {
        transform: translate(10px, 10px) scale(1.2);
        opacity: 0.5;
    }
}

/* Hero Content */
.hero-content {
    text-align: center;
    max-width: 900px;
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--accent-subtle);
    border: 1px solid rgba(6, 182, 212, 0.2);
    padding: 8px 20px;
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--accent-light);
    margin-bottom: 30px;
    animation: badgePulse 3s ease-in-out infinite;
}

@keyframes badgePulse {

    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(6, 182, 212, 0.4);
    }

    50% {
        box-shadow: 0 0 0 10px rgba(6, 182, 212, 0);
    }
}

.hero-badge span {
    width: 8px;
    height: 8px;
    background: var(--accent);
    border-radius: 50%;
    animation: dotPulse 1.5s ease-in-out infinite;
}

@keyframes dotPulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.3);
    }
}

.hero h1 {
    margin-bottom: 25px;
    background: linear-gradient(135deg, var(--text-main) 0%, var(--text-secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.hero-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.35rem);
    color: var(--text-secondary);
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.8;
}

/* Hero CTA Buttons */
.hero-cta {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 50px;
}

.btn {
    padding: 16px 36px;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition-bounce);
    border: none;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, transparent 50%);
    opacity: 0;
    transition: var(--transition-fast);
}

.btn:hover::before {
    opacity: 1;
}

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

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-glow-intense);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--glass-border);
    color: var(--text-main);
}

.btn-outline:hover {
    background: var(--accent);
    color: var(--primary);
    border-color: var(--accent);
    box-shadow: 0 0 30px rgba(34, 211, 238, 0.4);
    transform: translateY(-3px);
    animation: btnGlow 1.5s ease-in-out infinite;
}

@keyframes btnGlow {
    0%, 100% { box-shadow: 0 0 20px rgba(34, 211, 238, 0.3); }
    50% { box-shadow: 0 0 35px rgba(34, 211, 238, 0.6); }
}

.btn svg {
    width: 20px;
    height: 20px;
    transition: var(--transition-fast);
}

.btn:hover svg {
    transform: translateX(4px);
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: var(--text-muted);
    font-size: 0.8rem;
    animation: scrollBounce 2s ease-in-out infinite;
}

.scroll-indicator span {
    width: 30px;
    height: 50px;
    border: 2px solid var(--glass-border);
    border-radius: 20px;
    position: relative;
}

.scroll-indicator span::after {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 10px;
    background: var(--accent);
    border-radius: 4px;
    animation: scrollDot 2s ease-in-out infinite;
}

@keyframes scrollBounce {

    0%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    50% {
        transform: translateX(-50%) translateY(10px);
    }
}

@keyframes scrollDot {

    0%,
    100% {
        transform: translateX(-50%) translateY(0);
        opacity: 1;
    }

    50% {
        transform: translateX(-50%) translateY(12px);
        opacity: 0.3;
    }
}

/* ============================================
   SECTIONS COMMON STYLES
   ============================================ */
section {
    padding: var(--section-padding) var(--container-padding);
    position: relative;
}

.section-container {
    max-width: var(--container-max);
    margin: 0 auto;
}

/* Section Header */
.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--accent-subtle);
    border: 1px solid rgba(6, 182, 212, 0.15);
    padding: 10px 24px;
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--accent-light);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 20px;
}

.section-badge::before,
.section-badge::after {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--accent);
    border-radius: 50%;
}

.section-title {
    margin-bottom: 20px;
    position: relative;
}

.section-subtitle {
    font-size: 1.15rem;
    color: var(--text-muted);
    line-height: 1.8;
}

.section-divider {
    width: 60px;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: var(--radius-full);
    margin: 30px auto 0;
}

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

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

/* ============================================
   STATS SECTION
   ============================================ */
.stats-section {
    background: var(--glass);
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
    backdrop-filter: blur(20px);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.stat-item {
    text-align: center;
    padding: 30px;
    position: relative;
}

.stat-item::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 60%;
    background: var(--glass-border);
}

.stat-item:last-child::after {
    display: none;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 10px;
}

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

@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .stat-item::after {
        display: none;
    }
    
    .section-container {
        padding: 0 20px;
    }
    
    nav {
        padding: 15px 20px !important;
    }
    
    nav.scrolled {
        padding: 12px 20px !important;
    }
}

/* ============================================
   PAIN POINTS SECTION
   ============================================ */
.pain-section {
    background: var(--primary);
}

.pain-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.pain-card {
    background: var(--gradient-card);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 40px 30px;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: var(--transition-bounce);
}

.pain-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: var(--transition-base);
}

.pain-card:hover {
    transform: translateY(-8px);
    border-color: var(--glass-border-hover);
    box-shadow: var(--shadow-glow);
}

.pain-card:hover::before {
    transform: scaleX(1);
}

.pain-icon {
    width: 80px;
    height: 80px;
    background: var(--accent-subtle);
    border: 1px solid rgba(6, 182, 212, 0.2);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    transition: var(--transition-base);
}

.pain-card:hover .pain-icon {
    background: var(--gradient-primary);
    border-color: transparent;
    transform: scale(1.1);
}

.pain-icon svg {
    width: 36px;
    height: 36px;
    stroke: var(--accent);
    transition: var(--transition-fast);
}

.pain-card:hover .pain-icon svg {
    stroke: var(--primary);
}

.pain-card h4 {
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.pain-card p {
    font-size: 0.95rem;
    line-height: 1.7;
}

/* ============================================
   SOLUTION SECTION
   ============================================ */
.solution-section {
    background: linear-gradient(180deg, var(--primary) 0%, var(--secondary) 100%);
}

.solution-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.solution-content h2 {
    margin-bottom: 25px;
}

.solution-content p {
    margin-bottom: 35px;
    font-size: 1.1rem;
    line-height: 1.9;
}

.solution-features {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.solution-feature {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 25px;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    transition: var(--transition-base);
}

.solution-feature:hover {
    border-color: var(--glass-border-hover);
    background: var(--glass-light);
}

.solution-feature-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.solution-feature-icon svg {
    width: 24px;
    height: 24px;
    stroke: var(--primary);
}

.solution-feature h4 {
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.solution-feature p {
    font-size: 0.95rem;
    margin-bottom: 0;
}

/* Solution Image */
.solution-image {
    position: relative;
}

.solution-image-wrapper {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.solution-image-wrapper::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.1) 0%, transparent 50%);
    z-index: 1;
}

.solution-image img {
    width: 100%;
    height: auto;
    transition: var(--transition-smooth);
}

.solution-image-wrapper:hover img {
    transform: scale(1.05);
}

/* Floating Badge */
.floating-badge {
    position: absolute;
    bottom: -20px;
    left: -20px;
    background: var(--gradient-primary);
    color: var(--primary);
    padding: 20px 30px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    animation: floatBadge 3s ease-in-out infinite;
}

@keyframes floatBadge {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.floating-badge span {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    line-height: 1;
}

.floating-badge p {
    font-size: 0.9rem;
    margin-top: 5px;
    color: var(--primary);
}

@media (max-width: 968px) {
    .solution-grid {
        grid-template-columns: 1fr;
    }

    .solution-image {
        order: -1;
    }
}

/* ============================================
   SERVICES / CARDS SECTION
   ============================================ */
.services-section {
    background: var(--secondary);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--gradient-card);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-xl);
    padding: 50px 40px;
    position: relative;
    overflow: hidden;
    transition: var(--transition-bounce);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition-base);
}

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

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    width: 70px;
    height: 70px;
    background: var(--accent-subtle);
    border: 1px solid rgba(6, 182, 212, 0.2);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
}

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

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--accent-light);
}

.service-card>p {
    margin-bottom: 30px;
    font-size: 1rem;
    line-height: 1.8;
}

.service-card .btn {
    width: fit-content;
}

/* ============================================
   TESTIMONIALS SECTION
   ============================================ */
.testimonials-section {
    background: var(--primary);
    overflow: hidden;
}

.testimonials-slider {
    display: flex;
    gap: 30px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 20px 0;
}

.testimonials-slider::-webkit-scrollbar {
    display: none;
}

.testimonial-card {
    flex: 0 0 400px;
    scroll-snap-align: start;
    background: var(--gradient-card);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-xl);
    padding: 40px;
    position: relative;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 6rem;
    font-family: Georgia, serif;
    color: var(--accent-subtle);
    line-height: 1;
}

.testimonial-text {
    font-size: 1.1rem;
    line-height: 1.9;
    margin-bottom: 30px;
    color: var(--text-secondary);
}

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

.testimonial-avatar {
    width: 55px;
    height: 55px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: var(--primary);
    font-size: 1.2rem;
}

.testimonial-info h5 {
    font-size: 1.05rem;
    margin-bottom: 3px;
}

.testimonial-info p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
    background: linear-gradient(135deg, var(--accent-dark) 0%, var(--accent) 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-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='%23000000' fill-opacity='0.05'%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");
}

.cta-content {
    position: relative;
    z-index: 1;
}

.cta-section h2 {
    color: var(--primary);
    margin-bottom: 20px;
}

.cta-section p {
    color: rgba(15, 23, 42, 0.8);
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto 40px;
}

.cta-section .btn {
    background: var(--primary);
    color: var(--text-main);
    font-size: 1.1rem;
    padding: 18px 45px;
}

.cta-section .btn:hover {
    background: var(--primary-light);
    transform: translateY(-3px);
}

/* ============================================
   FOOTER
   ============================================ */
footer {
    background: var(--secondary);
    border-top: 1px solid var(--glass-border);
    padding: 80px var(--container-padding) 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 60px;
    max-width: var(--container-max);
    margin: 0 auto;
    padding-bottom: 60px;
    border-bottom: 1px solid var(--glass-border);
}

.footer-brand p {
    margin-top: 20px;
    font-size: 1rem;
    line-height: 1.8;
    max-width: 350px;
}

.footer-social {
    display: flex;
    gap: 15px;
    margin-top: 25px;
}

.footer-social a {
    width: 45px;
    height: 45px;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-base);
}

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

.footer-social svg {
    width: 20px;
    height: 20px;
    fill: var(--text-secondary);
    transition: var(--transition-fast);
}

.footer-social a:hover svg {
    fill: var(--primary);
}

.footer-column h4 {
    font-size: 1.1rem;
    margin-bottom: 25px;
    color: var(--text-main);
}

.footer-column ul li {
    margin-bottom: 12px;
}

.footer-column ul a {
    color: var(--text-muted);
    font-size: 0.95rem;
    transition: var(--transition-fast);
}

.footer-column ul a:hover {
    color: var(--accent-light);
    padding-left: 5px;
}

.footer-bottom {
    max-width: var(--container-max);
    margin: 40px auto 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
    color: var(--text-muted);
}

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

.footer-bottom-links a {
    color: var(--text-muted);
}

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

@media (max-width: 968px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }

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

@media (max-width: 576px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-content {
        padding: 0 20px;
    }
    
    .hero-cta {
        padding: 0 20px;
    }
    
    .btn {
        padding: 14px 28px;
        font-size: 0.95rem;
    }
}

/* ============================================
   ANIMATIONS & EFFECTS
   ============================================ */

/* Floating Elements */
.floating {
    animation: floating 6s ease-in-out infinite;
}

@keyframes floating {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

/* Gradient Text */
.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Glow Effect */
.glow {
    box-shadow: var(--shadow-glow);
}

/* Pulse Animation */
.pulse {
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}

/* ============================================
   UTILITIES
   ============================================ */
.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

.mb-0 {
    margin-bottom: 0;
}

.mb-1 {
    margin-bottom: 10px;
}

.mb-2 {
    margin-bottom: 20px;
}

.mb-3 {
    margin-bottom: 30px;
}

.mb-4 {
    margin-bottom: 40px;
}

.mb-5 {
    margin-bottom: 50px;
}

.mt-0 {
    margin-top: 0;
}

.mt-1 {
    margin-top: 10px;
}

.mt-2 {
    margin-top: 20px;
}

.mt-3 {
    margin-top: 30px;
}

.mt-4 {
    margin-top: 40px;
}

.mt-5 {
    margin-top: 50px;
}

/* Responsive Grid Helpers */
@media (max-width: 768px) {
    section {
        padding: 80px var(--container-padding);
    }

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

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

/* ============================================
   SLIDER STYLES (for Pain Points)
   ============================================ */
.slider-container {
    position: relative;
    max-width: 100%;
    overflow: hidden;
}

.slider-track {
    display: flex;
    transition: transform 0.5s ease;
}

.slider-slide {
    min-width: 100%;
}

.slider-nav {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 40px;
}

.slider-btn {
    width: 50px;
    height: 50px;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-main);
    font-size: 1.2rem;
    transition: var(--transition-base);
}

.slider-btn:hover {
    background: var(--gradient-primary);
    border-color: transparent;
    color: var(--primary);
}

.slider-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 25px;
}

.slider-dot {
    width: 12px;
    height: 12px;
    background: var(--glass-border);
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition-base);
}

.slider-dot.active {
    background: var(--accent);
    box-shadow: 0 0 10px var(--accent-glow);
}

/* ============================================
   FAQ ACCORDION
   ============================================ */
.faq-item {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    margin-bottom: 15px;
    overflow: hidden;
    transition: var(--transition-base);
}

.faq-item:hover {
    border-color: var(--glass-border-hover);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
}

.faq-question h4 {
    font-size: 1.1rem;
    margin: 0;
}

.faq-toggle {
    font-size: 1.5rem;
    color: var(--accent);
    transition: var(--transition-base);
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer p {
    padding: 0 25px 20px;
}

/* ============================================
   CUSTOM SCROLLBAR
   ============================================ */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--primary);
}

::-webkit-scrollbar-thumb {
    background: var(--glass-light);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent);
}

/* ============================================
   SELECTION
   ============================================ */
::selection {
    background: var(--accent);
    color: var(--primary);
}

/* ============================================
   FOOTER LOGO REVEAL EFFECT
   ============================================ */
.footer-brand .logo-container {
    display: inline-flex;
    align-items: center;
    margin-bottom: 20px;
}

.footer-brand .logo-container .logo-icon {
    display: block;
}

.footer-brand .logo-container .logo-icon svg,
.footer-brand .logo-container .logo-icon img {
    height: 50px;
    width: auto;
}

.footer-brand .logo-container .logo-text {
    display: none;
}

/* Logo Hex Animation */
.logo-hex-container {
    cursor: pointer;
}

.logo-center {
    transition: transform 0.5s ease, filter 0.5s ease;
}

.logo-hex-container:hover .logo-center {
    transform: scale(1.1);
    filter: drop-shadow(0 0 20px rgba(34, 211, 238, 0.5));
}

.hex-circle {
    position: absolute;
    width: 160px;
    height: 160px;
    border-radius: 50%;
    background: rgba(34, 211, 238, 0.08);
    border: 2px solid rgba(34, 211, 238, 0.3);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(var(--angle)) translateY(0px);
    transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) var(--delay),
                opacity 0.4s ease var(--delay),
                box-shadow 0.4s ease;
    opacity: 0;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    box-sizing: border-box;
}

.hex-circle span {
    color: #ffffff;
    font-size: 0.55rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    line-height: 1.2;
    transform: rotate(calc(-1 * var(--angle)));
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 8px;
    width: 100%;
    height: 100%;
    box-sizing: border-box;
}

.logo-hex-container:hover .hex-circle,
.logo-hex-container.scroll-active .hex-circle {
    transform: translate(-50%, -50%) rotate(var(--angle)) translateY(-165px);
    opacity: 1;
    box-shadow: 0 0 25px rgba(34, 211, 238, 0.2);
}

.hex-circle:hover {
    background: rgba(34, 211, 238, 0.15);
    border-color: var(--accent);
    box-shadow: 0 0 35px rgba(34, 211, 238, 0.4);
}

.hex-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(32, 56, 100, 0.3);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.hex-popup-overlay.active {
    opacity: 1;
    visibility: visible;
}

.hex-popup-content {
    background: linear-gradient(135deg, rgba(32, 56, 100, 0.95), rgba(26, 45, 82, 0.98));
    border: 2px solid rgba(34, 211, 238, 0.5);
    border-radius: 50%;
    padding: 35px;
    width: 420px;
    height: 420px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    transform: scale(0.9);
    transition: transform 0.3s ease;
    box-shadow: 0 0 60px rgba(34, 211, 238, 0.3), inset 0 0 30px rgba(34, 211, 238, 0.1);
    box-sizing: border-box;
    overflow: hidden;
}

.hex-popup-title {
    color: var(--accent-light);
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 10px;
    text-align: center;
    padding: 0 10px;
    word-wrap: break-word;
    animation: titlePulse 2s ease-in-out infinite;
}

.hex-popup-body {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.4;
    text-align: center;
    padding: 0 20px;
    max-width: 90%;
    overflow-wrap: break-word;
    animation: textFadeIn 0.8s ease-out;
}

@keyframes titlePulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.8; transform: scale(1.02); }
}

@keyframes textFadeIn {
    0% { opacity: 0; transform: translateY(10px); }
    100% { opacity: 1; transform: translateY(0); }
}

.hex-popup-overlay.active .hex-popup-content {
    transform: scale(1);
}

.hex-popup-close {
    position: absolute;
    top: 10%;
    right: 10%;
    background: rgba(34, 211, 238, 0.1);
    border: 1px solid rgba(34, 211, 238, 0.3);
    border-radius: 50%;
    color: #fff;
    font-size: 24px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
}

.hex-popup-close:hover {
    background: rgba(34, 211, 238, 0.3);
    border-color: var(--accent);
}

.hex-popup-title {
    color: var(--accent-light);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 10px;
    text-align: center;
    padding: 0 10px;
    word-wrap: break-word;
}

.hex-popup-body {
    color: var(--text-secondary);
    font-size: 0.85rem;
    line-height: 1.5;
    text-align: center;
    padding: 0 15px;
    max-width: 90%;
    overflow-wrap: break-word;
}
}

.hex-popup-close:hover {
    color: #22d3ee;
}

.hex-popup-title {
    color: #22d3ee;
    font-size: 1.5rem;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.hex-popup-body {
    color: var(--text-secondary);
    font-size: clamp(0.9rem, 2vw, 1.1rem);
    line-height: 1.7;
    text-align: center;
    max-width: 85%;
}

@keyframes logo-blink {
    0%, 100% { opacity: 1; filter: drop-shadow(0 0 15px rgba(34, 211, 238, 0.6)); }
    50% { opacity: 0.6; filter: drop-shadow(0 0 5px rgba(34, 211, 238, 0.3)); }
}

.logo-indicator {
    position: absolute;
    bottom: -50px;
    left: 50%;
    transform: translateX(-50%);
    color: #22d3ee;
    font-size: 0.9rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    animation: bounce-indic 2s ease-in-out infinite;
    transition: opacity 0.3s ease;
}

.logo-indicator svg {
    width: 24px;
    height: 24px;
    animation: arrow-bounce 1.5s ease-in-out infinite;
}

@keyframes bounce-indic {
    0%, 100% { opacity: 0.7; }
    50% { opacity: 1; }
}

@keyframes arrow-bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(8px); }
}

.logo-hex-container:hover .logo-indicator,
.logo-hex-container.scroll-active .logo-indicator {
    opacity: 0 !important;
    pointer-events: none;
}

.logo-hex-container .logo-center img {
    animation: logo-blink 2s ease-in-out infinite;
}

.logo-hex-container:hover .logo-center img,
.logo-hex-container.scroll-active .logo-center img {
    animation: none;
    filter: drop-shadow(0 0 20px rgba(34, 211, 238, 0.8));
}

.hex-instruction {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    margin-top: 25px;
    text-align: center;
    transition: opacity 0.4s ease;
    animation: pulse-text 2.5s ease-in-out infinite;
}

@keyframes pulse-text {
    0%, 100% { opacity: 0.7; }
    50% { opacity: 1; }
}

.logo-hex-container:hover ~ .hex-instruction,
.logo-hex-container.scroll-active ~ .hex-instruction {
    opacity: 0;
    pointer-events: none;
}

@media (max-width: 768px) {
    .logo-hex-container {
        width: 280px !important;
        height: 280px !important;
    }
    
    .hex-circle {
        width: 120px !important;
        height: 120px !important;
    }
    
    .logo-hex-container:hover .hex-circle,
    .logo-hex-container.scroll-active .hex-circle {
        transform: translate(-50%, -50%) rotate(var(--angle)) translateY(-140px) !important;
    }
    
    .logo-center img {
        width: 70px !important;
        height: 70px !important;
    }
    
    .hex-circle span {
        font-size: 0.5rem !important;
    }
}

@media (max-width: 480px) {
    .logo-hex-container {
        width: 240px !important;
        height: 240px !important;
    }

    .hex-circle {
        width: 100px !important;
        height: 100px !important;
    }

    .logo-hex-container:hover .hex-circle,
    .logo-hex-container.scroll-active .hex-circle {
        transform: translate(-50%, -50%) rotate(var(--angle)) translateY(-120px) !important;
    }

    .hex-instruction {
        font-size: 0.85rem;
        margin-top: 20px;
    }
}

/* ============================================
   CARD BASE STYLES
   ============================================ */
.card {
    background: var(--gradient-card);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 30px;
    transition: var(--transition-bounce);
    position: relative;
    overflow: hidden;
}

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

.card:hover {
    transform: translateY(-5px);
    border-color: var(--glass-border-hover);
    box-shadow: var(--shadow-glow);
}

.card:hover::before {
    transform: scaleX(1);
}

/* ============================================
   SECTION: CONSULTORIA (HEX)
   ============================================ */
.section-consultoria {
    background: var(--primary);
    padding: clamp(60px, 10vw, 100px) 5%;
    position: relative;
    overflow: hidden;
}

.section-consultoria::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(ellipse at center, rgba(6, 182, 212, 0.03) 0%, transparent 70%);
    pointer-events: none;
}

.section-consultoria-header {
    text-align: center;
    margin-bottom: clamp(80px, 20vw, 150px);
}

.section-consultoria-title {
    color: #fff;
    font-size: clamp(1.8rem, 3vw, 2.5rem);
}

.logo-hex-container {
    position: relative;
    width: clamp(220px, 70vw, 300px);
    height: clamp(220px, 70vw, 300px);
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto clamp(60px, 15vw, 100px);
}

.logo-center {
    position: relative;
    z-index: 2;
}

.logo-center img {
    width: 80px;
    height: 80px;
}

/* ============================================
   SECTION: REALITY / PAIN POINTS
   ============================================ */
.pain-section {
    background: var(--secondary);
}

.reality-content {
    max-width: 900px;
    margin: 0 auto;
}

.reality-intro {
    text-align: center;
    margin-bottom: 50px;
}

.reality-intro-text {
    font-size: 1.3rem;
    color: var(--text-main);
    line-height: 1.8;
    font-weight: 500;
}

.reality-list {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.reality-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 25px 30px;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    border-left: 4px solid var(--accent);
    transition: var(--transition-base);
}

.reality-item:hover {
    border-color: var(--glass-border-hover);
    background: var(--glass-light);
    transform: translateX(8px);
    box-shadow: var(--shadow-glow);
}

.reality-bullet {
    color: var(--accent);
    font-size: 1.5rem;
    font-weight: 700;
    flex-shrink: 0;
    line-height: 1.5;
}

.reality-item p {
    margin: 0;
    font-size: 1.15rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

.reality-climax {
    margin-top: 50px;
    text-align: center;
    padding: 40px;
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.1) 0%, rgba(6, 182, 212, 0.05) 100%);
    border: 1px solid rgba(6, 182, 212, 0.2);
    border-radius: var(--radius-lg);
    position: relative;
    overflow: hidden;
}

.reality-climax::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(ellipse at center, rgba(6, 182, 212, 0.08) 0%, transparent 60%);
    animation: realityPulse 4s ease-in-out infinite;
    pointer-events: none;
}

@keyframes realityPulse {
    0%, 100% { opacity: 0.5; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.05); }
}

.reality-climax-label {
    color: var(--accent-light);
    font-size: 1.1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 15px;
}

.reality-climax-text {
    font-size: 1.4rem;
    color: var(--text-main);
    font-weight: 600;
    line-height: 1.6;
    margin: 0;
    font-style: italic;
}

/* ============================================
   SECTION: PROBLEM
   ============================================ */
.section-problem {
    background: var(--primary);
    padding: 100px 5%;
}

.section-problem-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 60px;
}

.section-problem-image {
    flex: 1;
    min-width: 300px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid rgba(34, 211, 238, 0.2);
    position: relative;
}

.section-problem-image img {
    width: 100%;
    display: block;
    filter: contrast(1.05) brightness(0.9);
    transition: var(--transition-smooth);
}

.section-problem-image:hover img {
    transform: scale(1.03);
    filter: contrast(1.1) brightness(0.95);
}

.section-problem-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(32, 56, 100, 0.4), transparent);
    pointer-events: none;
}

.section-problem-content {
    flex: 1;
    min-width: 300px;
}

.section-problem-accent-bar {
    width: 50px;
    height: 3px;
    background: var(--accent);
    margin-bottom: 25px;
    border-radius: var(--radius-full);
}

.section-problem-accent-bar.center {
    margin-left: auto;
    margin-right: auto;
}

.section-problem-label {
    color: var(--accent);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 20px;
}

.section-problem-content h2 {
    font-size: 2.2rem;
    margin-bottom: 25px;
    line-height: 1.3;
}

.section-problem-text {
    font-size: 1.1rem;
    color: var(--text-muted);
    line-height: 1.9;
    text-align: justify;
}

/* ============================================
   SECTION: QUIENES SOMOS
   ============================================ */
.section-quienes {
    background: var(--secondary);
    padding: 100px 5%;
}

.section-quienes-inner {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.section-quienes-inner h2 {
    font-size: 2.2rem;
    margin-bottom: 40px;
    line-height: 1.3;
}

.section-quienes-text {
    font-size: 1.05rem;
    color: var(--text-muted);
    line-height: 1.9;
    text-align: justify;
    max-width: 780px;
    margin: 0 auto 25px;
}

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

/* ============================================
   SECTION: INTERVENCIONES / ORG CHART
   ============================================ */
.section-intervenciones {
    background: var(--primary);
    padding: 100px 5%;
}

.section-intervenciones-inner {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.section-intervenciones-inner h2 {
    font-size: 1.8rem;
    margin-bottom: 50px;
    line-height: 1.4;
}

.org-chart {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 800px;
    margin: 0 auto;
}

.org-chart-top {
    background: var(--accent);
    color: var(--primary);
    padding: 14px 30px;
    border-radius: var(--radius-md);
    font-weight: 800;
    font-size: 0.95rem;
    box-shadow: 0 0 25px rgba(34, 211, 238, 0.3);
    letter-spacing: 0.05em;
}

.org-chart-lines {
    width: 100%;
    height: 50px;
    max-width: 650px;
    margin-top: 5px;
}

.org-chart-nodes {
    display: flex;
    justify-content: space-between;
    width: 100%;
    max-width: 650px;
    gap: 12px;
}

.org-node {
    flex: 1;
    padding: 20px 10px;
    text-align: center;
    border-top: none;
}

.org-node p {
    color: var(--accent);
    font-weight: 700;
    font-size: 0.85rem;
    margin: 0;
    line-height: 1.4;
}

.org-chart-footer {
    margin-top: 50px;
    font-size: 1.05rem;
    color: var(--text-muted);
    font-style: italic;
    line-height: 1.7;
}

/* ============================================
   SECTION: DIFERENTE / CHECK LIST
   ============================================ */
.section-diferente {
    background: var(--secondary);
    padding: 100px 5%;
}

.section-diferente-inner {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.section-diferente-inner h2 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    line-height: 1.4;
}

.section-diferente-sub {
    color: var(--text-muted);
    font-size: 1rem;
    margin-bottom: 50px;
    line-height: 1.7;
}

.check-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-width: 480px;
    margin: 0 auto;
    text-align: left;
}

.check-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 18px 24px;
    background: rgba(34, 211, 238, 0.05);
    border: 1px solid rgba(34, 211, 238, 0.15);
    border-radius: var(--radius-md);
    transition: var(--transition-base);
}

.check-item:hover {
    background: rgba(34, 211, 238, 0.1);
    border-color: rgba(34, 211, 238, 0.3);
    transform: translateX(5px);
}

.check-icon {
    color: var(--accent);
    font-size: 1.2rem;
    flex-shrink: 0;
    line-height: 1.5;
}

.check-item p {
    margin: 0;
    font-size: 1rem;
    line-height: 1.6;
    font-weight: 600;
}

.section-diferente-footer {
    margin-top: 45px;
    font-size: 1rem;
    color: var(--text-muted);
    font-style: italic;
    line-height: 1.8;
}

/* ============================================
   SECTION: CAMINOS / TWO PATHS
   ============================================ */
.section-caminos {
    background: var(--primary);
    padding: 100px 5%;
}

.section-caminos-inner {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.section-caminos-inner h2 {
    font-size: 2rem;
    margin-bottom: 50px;
    line-height: 1.3;
}

.caminos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    align-items: stretch;
}

.caminos-card {
    text-align: left;
    padding: 40px;
    border-top: none;
    display: flex;
    flex-direction: column;
}

.caminos-card h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: var(--accent);
}

.caminos-card p {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
    text-align: justify;
    flex: 1;
}

.caminos-card .btn {
    margin-top: 25px;
    display: inline-block;
}

/* ============================================
   GLOW TEXT EFFECT
   ============================================ */
.glow-text {
    position: relative;
    display: inline-block;
}

.glow-text::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    color: var(--accent-light);
    filter: blur(20px);
    opacity: 0.5;
    z-index: -1;
    animation: glowPulse 3s ease-in-out infinite;
}

@keyframes glowPulse {
    0%, 100% { opacity: 0.3; filter: blur(15px); }
    50% { opacity: 0.6; filter: blur(25px); }
}

/* ============================================
   FORM STYLES
   ============================================ */
.form-group {
    position: relative;
    margin-bottom: 25px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 16px 20px;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    color: var(--text-main);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--transition-base);
    outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(6, 182, 212, 0.15);
    background: rgba(30, 41, 59, 0.8);
}

.form-group label {
    position: absolute;
    top: 50%;
    left: 20px;
    transform: translateY(-50%);
    color: var(--text-muted);
    font-size: 1rem;
    pointer-events: none;
    transition: var(--transition-base);
    background: transparent;
    padding: 0 5px;
}

.form-group textarea ~ label {
    top: 20px;
    transform: none;
}

.form-group input:focus ~ label,
.form-group input:not(:placeholder-shown) ~ label,
.form-group textarea:focus ~ label,
.form-group textarea:not(:placeholder-shown) ~ label {
    top: 0;
    transform: translateY(-50%);
    font-size: 0.8rem;
    color: var(--accent-light);
    background: var(--primary-light);
    border-radius: 4px;
}

.form-group.focused label {
    top: 0;
    transform: translateY(-50%);
    font-size: 0.8rem;
    color: var(--accent-light);
}

/* ============================================
   STAR RATING (BLOG)
   ============================================ */
.star-rating {
    display: inline-flex;
    gap: 4px;
}

.star {
    font-size: 1.4rem;
    color: var(--glass-border);
    transition: var(--transition-fast);
    user-select: none;
}

.star.active {
    color: #f59e0b;
    text-shadow: 0 0 10px rgba(245, 158, 11, 0.4);
}

.star:hover {
    transform: scale(1.2);
}

/* ============================================
   BLOG POST CARD
   ============================================ */
.blog-post-card {
    padding: 0;
    overflow: hidden;
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: stretch;
    min-height: 300px;
}

.blog-post-card:hover {
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4), var(--shadow-glow);
}

.blog-post-image {
    flex: 0 0 40%;
    background-size: cover;
    background-position: center;
    transition: var(--transition-smooth);
}

.blog-post-card:hover .blog-post-image {
    transform: scale(1.05);
}

.blog-post-content {
    padding: 40px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: rgba(255, 255, 255, 0.02);
}

.blog-post-content h2 {
    font-size: 1.8rem;
    line-height: 1.2;
}

@media (max-width: 768px) {
    .blog-post-card {
        flex-direction: column;
    }

    .blog-post-image {
        flex: 0 0 200px;
        min-height: 200px;
    }

    .blog-post-content {
        padding: 25px;
    }
}

/* ============================================
   DELETE BUTTON (BLOG COMMENTS)
   ============================================ */
.delete-btn {
    background: transparent;
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #ef4444;
    padding: 6px 14px;
    border-radius: var(--radius-sm);
    font-size: 0.8rem;
    cursor: pointer;
    transition: var(--transition-base);
    font-family: var(--font-body);
}

.delete-btn:hover {
    background: rgba(239, 68, 68, 0.15);
    border-color: #ef4444;
}

/* ============================================
   COMMENT HEADER
   ============================================ */
.comment-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

/* ============================================
   CONTACT CARD
   ============================================ */
.contact-card {
    text-align: center;
    padding: 35px 25px;
}

.contact-card.whatsapp {
    background: linear-gradient(135deg, #25D366, #128C7E);
    border: none;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 120px;
    cursor: pointer;
}

a.contact-card.whatsapp {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 120px;
    text-align: center;
}

a.contact-card.whatsapp h3 {
    margin: 0;
    width: 100%;
    color: #fff;
    font-size: 1.4rem;
    padding-top: 15px;
}

a.contact-card.whatsapp:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(37, 211, 102, 0.4);
}
    width: 100%;
}
}

.contact-card.whatsapp h3,
.contact-card.whatsapp a {
    color: #fff !important;
}

.contact-card:hover {
    transform: translateY(-8px);
}

.info-icon {
    font-size: 2rem;
    margin-bottom: 15px;
    display: block;
}

.contact-card h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

/* ============================================
   POST TEXT (BLOG DETAIL)
   ============================================ */
.post-text {
    line-height: 1.9;
    font-size: 1.05rem;
}

.post-text h2 {
    margin: 30px 0 15px;
    font-size: 1.6rem;
}

.post-text h3 {
    margin: 25px 0 12px;
    font-size: 1.3rem;
}

.post-text p {
    margin-bottom: 20px;
    color: var(--text-secondary);
}

.post-text img {
    max-width: 100%;
    border-radius: var(--radius-md);
    margin: 20px auto;
    display: block;
    border: 1px solid var(--glass-border);
}

.post-text ul {
    padding-left: 20px;
    margin: 15px 0;
}

.post-text li {
    margin-bottom: 8px;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ============================================
   RATING LABEL
   ============================================ */
.rating-label {
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 8px;
}

/* ============================================
   MODERN CURSOR GLOW EFFECT
   ============================================ */
@media (hover: hover) {
    body::before {
        content: '';
        position: fixed;
        width: 300px;
        height: 300px;
        border-radius: 50%;
        background: radial-gradient(circle, rgba(6, 182, 212, 0.06) 0%, transparent 70%);
        pointer-events: none;
        z-index: 9998;
        transform: translate(-50%, -50%);
        transition: opacity 0.3s ease;
        opacity: 0;
    }

    body:hover::before {
        opacity: 1;
    }
}

/* ============================================
   NOISE TEXTURE OVERLAY
   ============================================ */
body::after {
    content: '';
    position: fixed;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.02'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 9997;
    opacity: 0.4;
}

/* ============================================
   SMOOTH LINK UNDERLINE EFFECT
   ============================================ */
.footer-column ul a,
.nav-links a {
    position: relative;
}

/* ============================================
   BUTTON SHINE EFFECT
   ============================================ */
.btn-primary::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent 30%,
        rgba(255, 255, 255, 0.08) 50%,
        transparent 70%
    );
    transform: translateX(-100%);
    transition: none;
}

.btn-primary:hover::after {
    animation: btnShine 0.8s ease forwards;
}

@keyframes btnShine {
    to {
        transform: translateX(100%);
    }
}

/* ============================================
   SKELETON LOADING PLACEHOLDER
   ============================================ */
.skeleton {
    background: linear-gradient(
        90deg,
        var(--glass) 25%,
        var(--glass-light) 50%,
        var(--glass) 75%
    );
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s ease-in-out infinite;
    border-radius: var(--radius-md);
}

@keyframes skeleton-loading {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* ============================================
   IMPROVED SECTION TRANSITIONS
   ============================================ */
section {
    position: relative;
}

section + section {
    border-top: 1px solid rgba(255, 255, 255, 0.03);
}

/* ============================================
   MODERN IMAGE TREATMENT
   ============================================ */
img[loading="lazy"] {
    opacity: 0;
    transition: opacity 0.5s ease;
}

img[loading="lazy"].loaded,
img[loading="lazy"][complete] {
    opacity: 1;
}

/* ============================================
   FADE IN UP ANIMATION UTILITY
   ============================================ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in-up {
    animation: fadeInUp 0.6s ease-out forwards;
}

/* ============================================
   MODERN SELECTION STYLES
   ============================================ */
::selection {
    background: rgba(6, 182, 212, 0.3);
    color: var(--text-main);
}

/* ============================================
   FOCUS VISIBLE FOR ACCESSIBILITY
   ============================================ */
*:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 3px;
    border-radius: 4px;
}

/* ============================================
   PRINT STYLES
   ============================================ */
@media print {
    nav, .hamburger, .nav-overlay, #loader,
    .scroll-indicator, .hero-particles, .hero-grid,
    .cta-section, footer, .back-to-top {
        display: none !important;
    }

    body {
        background: white;
        color: black;
    }

    .hero {
        min-height: auto;
        padding: 40px 20px;
    }
}