/*
  TemplateMo 597 Neural Glass — Optimized & Fixed
  https://templatemo.com/tm-597-neural-glass
*/

@charset "utf-8";

/* =============================================
   CSS CUSTOM PROPERTIES
   ============================================= */

:root {
    --clr-primary:   #e0a3ff;
    --clr-accent:    #ff69b4;
    --clr-secondary: #9370db;
    --clr-cyan:      #00ffff;
    --clr-bg:        #000;
    --clr-text:      #d1d1d1;
    --clr-white:     #ffffff;

    --glass-bg:      rgba(255,255,255,0.05);
    --glass-border:  rgba(255,255,255,0.1);

    --radius-sm:   10px;
    --radius-md:   15px;
    --radius-lg:   20px;
    --radius-xl:   24px;
    --radius-pill: 50px;

    --transition-fast:   0.2s ease;
    --transition-base:   0.3s ease;
    --transition-smooth: 0.4s cubic-bezier(0.4, 0, 0.2, 1);

    --photo-radius: 50% / 50%;
}

/* =============================================
   RESET & BASE
   ============================================= */

*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', 'Segoe UI', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
    background: var(--clr-bg);
    color: var(--clr-primary);
    overflow-x: hidden;
    min-height: 100vh;
    font-weight: 400;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* =============================================
   BACKGROUND & DECORATIVE
   ============================================= */

.neural-background {
    position: fixed;
    inset: 0;
    z-index: -2;
    background:
        radial-gradient(circle at 15% 85%, rgba(75,0,130,0.7)  0%, transparent 50%),
        radial-gradient(circle at 85% 15%, rgba(139,37,99,0.8) 0%, transparent 50%),
        radial-gradient(circle at 45% 60%, rgba(128,0,128,0.6) 0%, transparent 50%),
        radial-gradient(circle at 70% 40%, rgba(34,139,34,0.4) 0%, transparent 50%),
        linear-gradient(135deg, #0a0a0a 0%, #2d1b3d 50%, #000 100%);
    animation: backgroundPulse 14s ease-in-out infinite;
}

@keyframes backgroundPulse {
    0%, 100% { filter: brightness(0.9) saturate(1.4) hue-rotate(0deg); }
    33%       { filter: brightness(1.1) saturate(1.7) hue-rotate(15deg); }
    66%       { filter: brightness(1.0) saturate(1.5) hue-rotate(-10deg); }
}

.geometric-shapes {
    position: fixed;
    inset: 0;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}

.shape {
    position: absolute;
    border: 1px solid rgba(0,255,255,0.3);
    animation: floatShape 20s linear infinite;
}

.shape:nth-child(1) { width: 100px; height: 100px; left: 10%; animation-delay: 0s;    border-color: rgba(255,105,180,0.4); }
.shape:nth-child(2) { width:  60px; height:  60px; left: 70%; animation-delay: -5s;   border-radius: 50%; border-color: rgba(147,112,219,0.4); }
.shape:nth-child(3) { width:  80px; height:  80px; left: 30%; animation-delay: -10s;  transform: rotate(45deg); border-color: rgba(224,163,255,0.4); }
.shape:nth-child(4) { width: 120px; height: 120px; left: 50%; animation-delay: -15s;  clip-path: polygon(50% 0%,0% 100%,100% 100%); background: linear-gradient(45deg,rgba(255,105,180,0.1),transparent); }

@keyframes floatShape {
    from     { transform: translateY(100vh) rotate(0deg);    opacity: 0; }
    10%, 90% { opacity: 1; }
    to       { transform: translateY(-100px) rotate(360deg); opacity: 0; }
}

.neural-lines {
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
}

.neural-line {
    position: absolute;
    height: 1px;
    width: 100%;
    left: 0;
    animation: neuralPulse 3s ease-in-out infinite;
}

.neural-line:nth-child(1) { top: 20%; background: linear-gradient(90deg, transparent, var(--clr-primary),   transparent); animation-delay: 0s; }
.neural-line:nth-child(2) { top: 60%; background: linear-gradient(90deg, transparent, var(--clr-accent),    transparent); animation-delay: -1s; }
.neural-line:nth-child(3) { top: 40%; background: linear-gradient(90deg, transparent, var(--clr-secondary), transparent); animation-delay: -2s; }

@keyframes neuralPulse {
    0%, 100% { opacity: 0.2; transform: scaleX(0.5); }
    50%       { opacity: 1;   transform: scaleX(1); }
}

/* =============================================
   GLASS
   ============================================= */

.glass {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-lg);
    box-shadow: 0 8px 32px rgba(0,0,0,0.3);
}

.glass::before {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    z-index: 0;
    border-radius: inherit;
}

.glass > * { position: relative; z-index: 1; }

.glass-strong::before {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border-color: rgba(255,255,255,0.2);
}

/* =============================================
   HEADER & NAV
   ============================================= */

header {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    width: 96%;
    max-width: 1200px;
    padding: 18px 35px;
    transition: all var(--transition-smooth);
    background: rgba(224,163,255,0.08);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid rgba(224,163,255,0.15);
    border-radius: 25px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.3), inset 0 1px 0 rgba(255,255,255,0.1);
}

header.scrolled {
    background: rgba(224,163,255,0.12);
    backdrop-filter: blur(30px);
    border-color: rgba(224,163,255,0.2);
    box-shadow:
        0 12px 40px rgba(0,0,0,0.4),
        inset 0 1px 0 rgba(255,255,255,0.15),
        0 0 0 1px rgba(224,163,255,0.1);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: clamp(18px, 3vw, 28px);
    font-weight: bold;
    background: linear-gradient(45deg, var(--clr-primary), var(--clr-accent));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-decoration: none;
    transition: transform var(--transition-base);
}

.logo:hover { transform: scale(1.05); }

.logo-icon {
    width: 40px;
    height: 40px;
    filter: drop-shadow(0 0 10px var(--clr-primary));
    animation: logoGlow 3s ease-in-out infinite;
}

@keyframes logoGlow {
    0%, 100% { filter: drop-shadow(0 0 10px var(--clr-primary)); }
    50%       { filter: drop-shadow(0 0 20px var(--clr-accent)); }
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 12px;
}

.nav-links a {
    color: var(--clr-white);
    text-decoration: none;
    transition: all var(--transition-smooth);
    position: relative;
    padding: 12px 20px;
    border-radius: var(--radius-md);
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 0.02em;
}

.nav-links a.active {
    color: var(--clr-primary);
    background: linear-gradient(135deg, rgba(224,163,255,0.15), rgba(255,105,180,0.1));
    box-shadow:
        0 0 20px rgba(224,163,255,0.4),
        inset 0 1px 0 rgba(255,255,255,0.2),
        0 4px 15px rgba(224,163,255,0.2);
    border: 1px solid rgba(224,163,255,0.3);
    text-shadow: 0 0 10px rgba(224,163,255,0.8);
    transform: translateY(-1px);
}

.nav-links a.active::after {
    content: '';
    position: absolute;
    inset: -2px;
    background: linear-gradient(45deg, var(--clr-primary), var(--clr-accent), var(--clr-secondary), var(--clr-primary));
    background-size: 400% 400%;
    border-radius: 17px;
    z-index: -2;
    animation: gradientShift 3s ease infinite;
}

.nav-links a.external-link::after { content: " ↗"; font-size: 0.8em; vertical-align: super; }

@keyframes gradientShift {
    0%   { background-position: 0%   50%; }
    50%  { background-position: 100% 50%; }
    100% { background-position: 0%   50%; }
}

/* =============================================
   MOBILE MENU
   ============================================= */

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 8px;
    border-radius: 8px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    transition: all var(--transition-base);
}

.mobile-menu-toggle:hover {
    background: rgba(224,163,255,0.1);
    box-shadow: 0 0 15px rgba(224,163,255,0.3);
}

.hamburger-line {
    width: 25px;
    height: 3px;
    background: linear-gradient(45deg, var(--clr-primary), var(--clr-accent));
    margin: 3px 0;
    border-radius: 2px;
    transition: all var(--transition-base);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(1) { transform: rotate(45deg)  translate(9px, 9px); }
.mobile-menu-toggle.active .hamburger-line:nth-child(2) { opacity: 0; }
.mobile-menu-toggle.active .hamburger-line:nth-child(3) { transform: rotate(-45deg) translate(7px, -6px); }

.mobile-nav {
    position: fixed;
    top: 100px;
    left: 50%;
    transform: translateX(-50%) translateY(-15px);
    width: 90%;
    max-width: 400px;
    background: rgba(0,0,0,0.98);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid rgba(224,163,255,0.3);
    border-radius: var(--radius-lg);
    padding: 30px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.9);
    z-index: 9999;
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
    transition: opacity var(--transition-base), visibility var(--transition-base), transform var(--transition-base);
}

.mobile-nav.active {
    opacity: 1;
    pointer-events: auto;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.mobile-nav a {
    color: var(--clr-white);
    text-decoration: none;
    padding: 15px 20px;
    border-radius: 12px;
    background: rgba(224,163,255,0.08);
    border: 1px solid rgba(224,163,255,0.2);
    text-align: center;
    font-size: 1.1rem;
    transition: all var(--transition-base);
}

.mobile-nav a:hover {
    background: rgba(224,163,255,0.15);
    color: var(--clr-primary);
    box-shadow: 0 0 20px rgba(224,163,255,0.3);
    transform: translateY(-2px);
}

.mobile-nav a.active {
    background: linear-gradient(135deg, rgba(224,163,255,0.2), rgba(255,105,180,0.15));
    color: var(--clr-primary);
    border-color: rgba(224,163,255,0.4);
    box-shadow: 0 0 25px rgba(224,163,255,0.3), inset 0 1px 0 rgba(255,255,255,0.1);
    transform: translateY(-2px);
    text-shadow: 0 0 10px rgba(224,163,255,0.6);
}

/* =============================================
   HERO SECTION
   ============================================= */

.hero {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 50%; left: 50%;
    width: 60%; height: 60%;
    background: radial-gradient(circle, rgba(224,163,255,0.04) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    animation: heroGlow 10s ease-in-out infinite;
    z-index: -1;
}

@keyframes heroGlow {
    0%, 100% { transform: translate(-50%,-50%) scale(1)   rotate(0deg);   opacity: 0.6; }
    50%       { transform: translate(-50%,-50%) scale(1.3) rotate(180deg); opacity: 1; }
}

.hero-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: clamp(2rem, 4vw, 4rem);
    min-height: 100vh;
    max-width: 1400px;
    margin: 0 auto;
    padding: 120px clamp(20px, 4vw, 40px) 60px;
    width: 100%;
}

.hero-content {
    flex: 1;
    max-width: 800px;
    padding: clamp(10px, 2vw, 40px);
    animation: heroAppear 2.5s ease-out;
    position: relative;
}

@keyframes heroAppear {
    from { opacity: 0; transform: translateY(60px) scale(0.96); }
    to   { opacity: 1; transform: translateY(0)    scale(1); }
}

.hero-subtitle {
    font-size: clamp(0.75rem, 1.5vw, 0.9rem);
    color: var(--clr-primary);
    margin-bottom: 25px;
    opacity: 0;
    animation: slideInLeft 1.2s ease 0.3s forwards;
    text-transform: uppercase;
    letter-spacing: 0.4em;
    position: relative;
    display: inline-block;
    font-weight: 300;
}

.hero-subtitle::before,
.hero-subtitle::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 40px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--clr-primary), transparent);
    animation: linePulse 3s ease infinite;
}
.hero-subtitle::before { left: -60px; }
.hero-subtitle::after  { right: -60px; }

@keyframes linePulse {
    0%, 100% { opacity: 0.4; transform: scaleX(0.8); }
    50%       { opacity: 1;   transform: scaleX(1.2); }
}

@keyframes slideInLeft {
    from { opacity: 0; transform: translateX(-40px); }
    to   { opacity: 1; transform: translateX(0); }
}
@keyframes slideInRight {
    from { opacity: 0; transform: translateX(40px); }
    to   { opacity: 1; transform: translateX(0); }
}
@keyframes fadeInScale {
    from { opacity: 0; transform: scale(0.95); }
    to   { opacity: 1; transform: scale(1); }
}
@keyframes slideUpFade {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}

.hero h1 {
    font-size: clamp(2rem, 5.5vw, 4rem);
    margin-bottom: 30px;
    background: linear-gradient(135deg, var(--clr-primary) 0%, var(--clr-accent) 30%, var(--clr-secondary) 60%, var(--clr-primary) 100%);
    background-size: 300% 300%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1.15;
    letter-spacing: -0.02em;
    font-weight: 800;
    opacity: 0;
    animation: slideInRight 1.2s ease 0.6s forwards, gradientShift 8s ease 0.6s infinite;
}

.hero-description {
    max-width: 700px;
    margin: 40px auto 50px;
    opacity: 0;
    animation: fadeInScale 1.2s ease 0.9s forwards;
    text-align: center;
}

.hero-description p {
    font-size: clamp(1rem, 1.8vw, 1.2rem);
    color: var(--clr-text);
    line-height: 1.7;
    font-weight: 300;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: clamp(15px, 3vw, 40px);
    margin: 50px auto 40px;
    max-width: 600px;
    opacity: 0;
    animation: slideUpFade 1.2s ease 1.2s forwards;
}

.hero-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: clamp(12px, 2vw, 20px);
    background: linear-gradient(135deg, rgba(224,163,255,0.06), rgba(255,105,180,0.04));
    border: 1px solid rgba(224,163,255,0.15);
    border-radius: 12px;
    aspect-ratio: 1;
    transition: all var(--transition-smooth);
    backdrop-filter: blur(10px);
    text-align: center;
    overflow: hidden;
}

.hero-stat:hover {
    transform: translateY(-8px) scale(1.05);
    border-color: rgba(255,105,180,0.3);
    box-shadow: 0 20px 40px rgba(224,163,255,0.1);
}

.hero-stat img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    display: block;
    border-radius: 8px;
}

.hero-stat-number {
    font-size: clamp(1.2rem, 2.5vw, 1.8rem);
    font-weight: 700;
    color: var(--clr-primary);
    display: block;
    text-shadow: 0 0 15px rgba(224,163,255,0.4);
    margin-bottom: 6px;
}

.hero-stat-label {
    font-size: clamp(0.65rem, 1.2vw, 0.8rem);
    color: #999;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 400;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    opacity: 0;
    animation: slideUpFade 1.2s ease 1.5s forwards;
}

.cta-button {
    display: inline-block;
    padding: clamp(12px, 2vw, 16px) clamp(24px, 4vw, 40px);
    background: linear-gradient(135deg, var(--clr-primary), var(--clr-accent));
    color: #000;
    text-decoration: none;
    border-radius: var(--radius-pill);
    font-weight: 600;
    font-size: clamp(0.85rem, 1.5vw, 0.95rem);
    transition: all var(--transition-smooth);
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    box-shadow: 0 4px 15px rgba(224,163,255,0.2);
    white-space: nowrap;
}

.cta-button.secondary {
    background: transparent;
    border: 2px solid var(--clr-primary);
    color: var(--clr-primary);
    box-shadow: 0 4px 15px rgba(224,163,255,0.1);
}

.cta-button:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 12px 30px rgba(224,163,255,0.3);
}

.cta-button.secondary:hover {
    background: rgba(224,163,255,0.08);
    box-shadow: 0 12px 30px rgba(224,163,255,0.2);
}

/* =============================================
   HERO IMAGE — FOTO PERFIL (ÓVALO + SLIDER)
   ============================================= */

.hero-image {
    flex: 0 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

/* Halo de fondo animado detrás del óvalo */
.hero-image::before {
    content: '';
    position: absolute;
    width: clamp(260px, 38vw, 520px);
    height: clamp(320px, 46vw, 640px);
    background: linear-gradient(45deg, var(--clr-primary), var(--clr-accent), var(--clr-secondary), var(--clr-primary));
    background-size: 400% 400%;
    border-radius: 50% / 50%;
    z-index: 0;
    animation: gradientShift 6s ease-in-out infinite;
    filter: blur(22px);
    opacity: 0.55;
}

/* ── SLIDER DE FOTO DE PERFIL ── */
.profile-slider {
    position: relative;
    width: clamp(220px, 32vw, 460px);
    aspect-ratio: 3 / 4;
    border-radius: var(--photo-radius);
    overflow: hidden;
    border: 5px solid rgba(255,255,255,0.12);
    box-shadow:
        0 0 0 10px rgba(224,163,255,0.10),
        0 0 0 20px rgba(255,105,180,0.05),
        0 30px 60px rgba(0,0,0,0.5),
        inset 0 0 40px rgba(224,163,255,0.05);
    animation: floatImage 6s ease-in-out infinite;
    z-index: 1;
    transition: box-shadow 0.5s cubic-bezier(0.4,0,0.2,1),
                border-color 0.5s cubic-bezier(0.4,0,0.2,1);
    max-width: 100%;
    flex-shrink: 0;
}

.profile-slider:hover {
    border-color: rgba(224,163,255,0.35);
    box-shadow:
        0 0 0 10px rgba(224,163,255,0.20),
        0 0 0 20px rgba(255,105,180,0.10),
        0 40px 80px rgba(224,163,255,0.30),
        inset 0 0 60px rgba(224,163,255,0.10);
}

.profile-slider img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    opacity: 0;
    transition: opacity 1.2s ease-in-out;
    will-change: opacity;
}

.profile-slider img.active { opacity: 1; }

/* Fallback: img directo (si no se usa el slider) */
.hero-image > img {
    width: clamp(220px, 32vw, 460px);
    height: auto;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    object-position: top center;
    border-radius: var(--photo-radius);
    border: 5px solid rgba(255,255,255,0.12);
    box-shadow:
        0 0 0 10px rgba(224,163,255,0.10),
        0 0 0 20px rgba(255,105,180,0.05),
        0 30px 60px rgba(0,0,0,0.5),
        inset 0 0 40px rgba(224,163,255,0.05);
    animation: floatImage 6s ease-in-out infinite;
    position: relative;
    z-index: 1;
    transition: box-shadow 0.5s cubic-bezier(0.4,0,0.2,1),
                border-color 0.5s cubic-bezier(0.4,0,0.2,1);
    max-width: 100%;
}

.hero-image > img:hover {
    border-color: rgba(224,163,255,0.35);
    box-shadow:
        0 0 0 10px rgba(224,163,255,0.20),
        0 0 0 20px rgba(255,105,180,0.10),
        0 40px 80px rgba(224,163,255,0.30),
        inset 0 0 60px rgba(224,163,255,0.10);
}

@keyframes floatImage {
    0%, 100% { transform: translateY(0);     }
    50%       { transform: translateY(-18px); }
}

/* =============================================
   FEATURES SECTION
   ============================================= */

.features {
    padding: clamp(80px, 10vw, 150px) 0;
    position: relative;
    overflow: hidden;
}

.features::before {
    content: '';
    position: absolute;
    top: -50%; left: -50%;
    width: 200%; height: 200%;
    background: conic-gradient(from 0deg, transparent, rgba(0,255,255,0.1), transparent);
    animation: rotateSlow 20s linear infinite;
    z-index: -1;
}

@keyframes rotateSlow {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}

.section-title {
    text-align: center;
    font-size: clamp(1.8rem, 5vw, 4rem);
    margin-bottom: clamp(40px, 6vw, 80px);
    color: var(--clr-cyan);
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, var(--clr-cyan), #ff0080);
    border-radius: 2px;
}

.features-container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 clamp(15px, 4vw, 20px);
}

.diagonal-grid {
    display: flex;
    flex-direction: column;
    gap: clamp(15px, 2vw, 30px);
}

.feature-row {
    display: flex;
    align-items: center;
    gap: clamp(35px, 4vw, 70px);
    position: relative;
}

.feature-row:nth-child(even) { flex-direction: row-reverse; }

.feature-content {
    flex: 0.5;
    min-width: 220px;
    padding: clamp(16px, 2vw, 28px);
    transform: skew(-5deg);
    transition: all var(--transition-smooth);
}

.feature-content:hover {
    transform: skew(-5deg) translateY(-10px);
    box-shadow: 0 30px 60px rgba(0,255,255,0.2);
}

/* ── FEATURE VISUAL — MÁS GRANDE E IMPACTANTE ── */
.feature-visual {
    flex: 3.5;
    aspect-ratio: 16 / 9;
    height: clamp(280px, 46vw, 560px);
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all var(--transition-smooth);
    border: 1px solid rgba(224,163,255,0.15);
    box-shadow:
        0 0 0 1px rgba(224,163,255,0.08),
        0 20px 50px rgba(0,0,0,0.5),
        0 0 40px rgba(224,163,255,0.08);
}

.feature-visual:hover {
    transform: scale(1.04);
    box-shadow:
        0 0 0 2px rgba(224,163,255,0.3),
        0 30px 80px rgba(224,163,255,0.25),
        0 0 60px rgba(255,105,180,0.15);
    border-color: rgba(224,163,255,0.35);
}

/* Overlay con viñeta dramática */
.feature-visual::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(45deg, rgba(224,163,255,0.08), rgba(255,105,180,0.08)),
        radial-gradient(ellipse at center, transparent 40%, rgba(0,0,0,0.4) 100%);
    z-index: 1;
    transition: all var(--transition-smooth);
}

.feature-visual:hover::before {
    background:
        linear-gradient(45deg, rgba(224,163,255,0.15), rgba(255,105,180,0.15)),
        radial-gradient(ellipse at center, transparent 50%, rgba(0,0,0,0.2) 100%);
}

/* Sweep de luz en el borde superior al hacer hover */
.feature-visual::after {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 100%; height: 2px;
    background: linear-gradient(90deg, transparent, var(--clr-primary), var(--clr-accent), transparent);
    z-index: 2;
    transition: left 0.6s ease;
}

.feature-visual:hover::after { left: 100%; }

.feature-visual[style*="background-image"] {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.feature-icon {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 25px;
    background: linear-gradient(45deg, #ff0080, #8000ff);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.feature-content h3 {
    font-size: clamp(1.3rem, 3vw, 2.2rem);
    margin-bottom: 20px;
    color: var(--clr-white);
}

.feature-content p {
    font-size: clamp(0.95rem, 1.5vw, 1.1rem);
    color: #ccc;
    line-height: 1.8;
}

.feature-slider {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.3);
}

.feature-slider img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    opacity: 0;
    transition: opacity 1.2s ease-in-out;
    will-change: opacity;
    z-index: 0;
}

.feature-slider img.active { opacity: 1; z-index: 1; }

/* =============================================
   SHOWCASE / HEXAGONS
   ============================================= */

.showcase {
    padding: clamp(80px, 10vw, 150px) 0;
    position: relative;
}

.hexagon-container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: clamp(20px, 3vw, 40px);
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 clamp(15px, 4vw, 20px);
}

.hexagon {
    width: clamp(180px, 25vw, 220px);
    height: clamp(240px, 33vw, 290px);
    position: relative;
    margin: 10px;
    transition: all var(--transition-smooth);
}

.hexagon:hover { transform: scale(1.1); }

.hexagon-inner {
    width: 100%;
    height: 100%;
    position: relative;
    transform: rotate(30deg);
    border-radius: 25px;
    padding: clamp(30px, 5vw, 50px) clamp(15px, 3vw, 25px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    transition: all var(--transition-smooth);
}

.hexagon:hover .hexagon-inner {
    transform: rotate(0deg);
    border-radius: 15px;
}

.hexagon:nth-child(odd)  .hexagon-inner { background: linear-gradient(135deg,rgba(0,255,255,0.12),rgba(255,0,128,0.12));  border: 1px solid rgba(0,255,255,0.3); }
.hexagon:nth-child(even) .hexagon-inner { background: linear-gradient(135deg,rgba(255,0,128,0.12),rgba(128,0,255,0.12)); border: 1px solid rgba(255,0,128,0.3); }

.hexagon-icon {
    font-size: clamp(2rem, 4vw, 2.8rem);
    margin-bottom: 20px;
    filter: drop-shadow(0 0 10px currentColor);
    transform: rotate(-30deg);
    transition: all var(--transition-smooth);
}
.hexagon:hover .hexagon-icon { transform: rotate(0deg); }

.hexagon h4 {
    font-size: clamp(1rem, 2vw, 1.3rem);
    color: var(--clr-white);
    transform: rotate(-30deg);
    margin-bottom: 15px;
    font-weight: bold;
    text-shadow: 0 0 10px rgba(255,255,255,0.3);
    transition: all var(--transition-smooth);
}
.hexagon:hover h4 { transform: rotate(0deg); }

.hexagon p {
    font-size: clamp(0.8rem, 1.2vw, 0.95rem);
    color: #e0e0e0;
    transform: rotate(-30deg);
    line-height: 1.5;
    max-width: 140px;
    word-wrap: break-word;
    hyphens: auto;
    transition: all var(--transition-smooth);
}
.hexagon:hover p { transform: rotate(0deg); }

/* =============================================
   TIMELINE
   ============================================= */

.timeline {
    padding: clamp(60px, 8vw, 100px) 0;
    position: relative;
}

.timeline-container {
    max-width: 1100px;
    margin: 0 auto;
    position: relative;
    padding: 0 clamp(15px, 4vw, 20px);
}

.timeline-line {
    position: absolute;
    left: 50%;
    top: 0; bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, var(--clr-primary), var(--clr-accent), var(--clr-secondary));
    transform: translateX(-50%);
    border-radius: 2px;
    box-shadow: 0 0 20px rgba(224,163,255,0.3);
}

.timeline-item {
    display: flex;
    justify-content: flex-end;
    padding-right: 60px;
    position: relative;
    margin-bottom: 60px;
}

.timeline-item:nth-child(even) {
    justify-content: flex-start;
    padding-left: 60px;
    padding-right: 0;
}

.timeline-content {
    max-width: 450px;
    padding: clamp(25px, 4vw, 50px) clamp(20px, 3vw, 40px);
    position: relative;
    transform: perspective(1000px) rotateY(-5deg);
    transition: all var(--transition-smooth);
    background: rgba(224,163,255,0.08);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid rgba(224,163,255,0.15);
    border-radius: 25px;
    box-shadow: 0 12px 40px rgba(0,0,0,0.3), inset 0 1px 0 rgba(255,255,255,0.1);
}

.timeline-item:nth-child(even) .timeline-content {
    transform: perspective(1000px) rotateY(5deg);
}

.timeline-content:hover {
    transform: perspective(1000px) rotateY(0deg) translateZ(20px);
    box-shadow:
        0 25px 60px rgba(224,163,255,0.2),
        0 0 0 1px rgba(224,163,255,0.2),
        inset 0 1px 0 rgba(255,255,255,0.15);
    border-color: rgba(224,163,255,0.3);
}

.timeline-dot {
    position: absolute;
    left: 50%;
    top: 40px;
    transform: translateX(-50%);
    width: 20px;
    height: 20px;
    background: linear-gradient(135deg, var(--clr-accent), var(--clr-primary));
    border-radius: 50%;
    box-shadow: 0 0 25px rgba(255,105,180,0.6), 0 4px 15px rgba(0,0,0,0.3);
    z-index: 1;
    border: 3px solid rgba(255,255,255,0.2);
}

.timeline-year {
    font-size: clamp(1.2rem, 2.5vw, 1.8rem);
    color: var(--clr-primary);
    margin-bottom: 15px;
    font-weight: bold;
    text-shadow: 0 0 15px rgba(224,163,255,0.4);
}

.timeline-content h4 {
    font-size: clamp(1rem, 2vw, 1.5rem);
    color: var(--clr-white);
    margin-bottom: 15px;
    font-weight: 600;
}

.timeline-content p {
    color: var(--clr-text);
    line-height: 1.7;
    font-size: clamp(0.9rem, 1.3vw, 1rem);
}

/* =============================================
   CONTACT
   ============================================= */

.contact {
    padding: clamp(80px, 10vw, 150px) 0;
    position: relative;
}

.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 clamp(15px, 4vw, 20px);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(40px, 6vw, 80px);
    align-items: center;
}

.contact-info {
    padding: clamp(30px, 4vw, 60px) clamp(20px, 3vw, 40px);
    position: relative;
}

.contact-info::before {
    content: '';
    position: absolute;
    top: -50%; left: -50%;
    width: 200%; height: 200%;
    background: radial-gradient(circle, rgba(0,255,255,0.1), transparent 70%);
    animation: subtlePulse 4s ease-in-out infinite;
    z-index: -1;
}

@keyframes subtlePulse {
    0%, 100% { transform: scale(1);   opacity: 0.5; }
    50%       { transform: scale(1.1); opacity: 1; }
}

.contact-form { padding: clamp(25px, 4vw, 50px) clamp(20px, 3vw, 40px); }

.form-group { margin-bottom: 25px; }

.form-group input,
.form-group textarea {
    width: 100%;
    padding: clamp(12px, 2vw, 15px) clamp(15px, 2vw, 20px);
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: var(--radius-sm);
    color: var(--clr-white);
    font-family: inherit;
    font-size: clamp(0.9rem, 1.5vw, 1rem);
    backdrop-filter: blur(10px);
    transition: all var(--transition-base);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--clr-cyan);
    box-shadow: 0 0 20px rgba(0,255,255,0.3);
    background: rgba(255,255,255,0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder { color: #888; }

.submit-btn {
    width: 100%;
    padding: 18px;
    background: linear-gradient(45deg, var(--clr-cyan), #ff0080);
    border: none;
    border-radius: var(--radius-sm);
    color: #000;
    font-weight: bold;
    font-size: clamp(0.95rem, 1.5vw, 1.1rem);
    cursor: pointer;
    transition: all var(--transition-base);
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0,255,255,0.4);
}

.contact-info h3 {
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    color: var(--clr-cyan);
    margin-bottom: 25px;
}

.contact-info p {
    font-size: clamp(0.95rem, 1.5vw, 1.2rem);
    color: #ccc;
    line-height: 1.7;
    margin-bottom: 25px;
}

.social-links {
    display: flex;
    gap: 20px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: clamp(48px, 6vw, 60px);
    height: clamp(48px, 6vw, 60px);
    border-radius: 15px;
    color: var(--clr-cyan);
    text-decoration: none;
    font-size: clamp(1.2rem, 2vw, 1.5rem);
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.social-links a::before {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0,255,255,0.3), transparent);
    transition: left 0.5s ease;
}

.social-links a:hover::before { left: 100%; }

.social-links a:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 10px 25px rgba(0,255,255,0.4);
}

/* =============================================
   FOOTER
   ============================================= */

footer {
    text-align: center;
    padding: clamp(40px, 6vw, 60px) clamp(15px, 4vw, 20px) clamp(30px, 4vw, 40px);
    border-top: 1px solid rgba(224,163,255,0.2);
    background: rgba(0,0,0,0.5);
    backdrop-filter: blur(20px);
}

.footer-content { max-width: 1200px; margin: 0 auto; }

.footer-links {
    display: flex;
    justify-content: center;
    gap: clamp(15px, 3vw, 30px);
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.footer-links a {
    color: #ccc;
    text-decoration: none;
    font-size: clamp(0.8rem, 1.2vw, 0.9rem);
    transition: all var(--transition-base);
    position: relative;
    padding: 8px 0;
}

.footer-links a:hover {
    color: var(--clr-primary);
    text-shadow: 0 0 10px rgba(224,163,255,0.5);
}

.footer-links a::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 0; height: 1px;
    background: linear-gradient(90deg, var(--clr-primary), var(--clr-accent));
    transition: width var(--transition-base);
}

.footer-links a:hover::after { width: 100%; }

.footer-copyright {
    color: #888;
    font-size: clamp(0.8rem, 1.2vw, 0.9rem);
    margin-bottom: 15px;
}

.footer-design {
    color: #666;
    font-size: clamp(0.75rem, 1.1vw, 0.85rem);
    margin-top: 20px;
}

.footer-design a {
    color: var(--clr-primary);
    text-decoration: none;
    transition: all var(--transition-base);
}

.footer-design a:hover {
    color: var(--clr-accent);
    text-shadow: 0 0 8px rgba(255,105,180,0.5);
}

/* =============================================
   SCROLLBAR
   ============================================= */

::-webkit-scrollbar       { width: 8px; }
::-webkit-scrollbar-track { background: rgba(0,0,0,0.8); border-radius: 6px; }
::-webkit-scrollbar-thumb {
    background: linear-gradient(45deg, var(--clr-cyan), #ff0080);
    border-radius: 6px;
    box-shadow: 0 0 10px rgba(0,255,255,0.5);
}
::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(45deg, #ff0080, #8000ff);
    box-shadow: 0 0 15px rgba(255,0,128,0.7);
}

/* =============================================
   RECONOCIMIENTOS
   ============================================= */

.recognitions {
    padding: clamp(60px, 8vw, 100px) clamp(15px, 4vw, 20px);
    position: relative;
}

.recognitions-container { max-width: 1100px; margin: 0 auto; }

.award-card-outer { position: relative; margin-top: 48px; }

.award-particles {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
    border-radius: var(--radius-xl);
}

.award-particles span {
    position: absolute;
    display: block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--clr-primary), var(--clr-accent));
    opacity: 0;
    animation: floatParticle 6s ease-in-out infinite;
}

.award-particles span:nth-child(1) { left: 10%; animation-delay: 0s;   animation-duration: 7s; }
.award-particles span:nth-child(2) { left: 25%; animation-delay: 1.2s; animation-duration: 5s; }
.award-particles span:nth-child(3) { left: 50%; animation-delay: 0.5s; animation-duration: 8s; }
.award-particles span:nth-child(4) { left: 70%; animation-delay: 2s;   animation-duration: 6s; }
.award-particles span:nth-child(5) { left: 85%; animation-delay: 0.8s; animation-duration: 7.5s; }
.award-particles span:nth-child(6) { left: 38%; animation-delay: 3s;   animation-duration: 5.5s; }

@keyframes floatParticle {
    0%   { transform: translateY(100%) scale(0); opacity: 0; }
    20%  { opacity: 0.8; }
    80%  { opacity: 0.4; }
    100% { transform: translateY(-120px) scale(1.5); opacity: 0; }
}

.award-card {
    display: flex;
    gap: 48px;
    align-items: center;
    padding: 48px 52px;
    border-radius: var(--radius-xl);
    border: 1px solid rgba(224,163,255,0.2);
    background: linear-gradient(
        135deg,
        rgba(224,163,255,0.06) 0%,
        rgba(255,105,180,0.04) 50%,
        rgba(147,112,219,0.06) 100%
    );
    position: relative;
    overflow: hidden;
    transition: box-shadow var(--transition-smooth);
}

.award-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--clr-primary), var(--clr-accent), var(--clr-primary), transparent);
    background-size: 200% 100%;
    animation: shimmerLine 3s linear infinite;
    z-index: 2;
}

@keyframes shimmerLine {
    0%   { background-position: -200% 0; }
    100% { background-position:  200% 0; }
}

.award-card:hover {
    box-shadow:
        0 0 40px rgba(224,163,255,0.15),
        0 24px 64px rgba(0,0,0,0.4);
}

.award-visual { position: relative; flex-shrink: 0; }

.award-frame {
    position: relative;
    width: 380px;
    border-radius: 16px;
    overflow: hidden;
    border: 2px solid rgba(224,163,255,0.25);
    cursor: zoom-in;
}

.award-frame img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 14px;
    transition: transform 0.5s ease;
    object-fit: contain;
}

.award-card:hover .award-frame img { transform: scale(1.03); }

.award-frame-glow {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(224,163,255,0.12) 0%, transparent 60%, rgba(255,105,180,0.08) 100%);
    border-radius: 14px;
    pointer-events: none;
}

.award-frame::after {
    content: '🔍 Clic para ampliar';
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0,0,0,0.7);
    color: var(--clr-primary);
    font-size: 0.7rem;
    padding: 4px 12px;
    border-radius: 20px;
    white-space: nowrap;
    opacity: 0;
    transition: opacity var(--transition-base);
    pointer-events: none;
    z-index: 3;
}
.award-frame:hover::after { opacity: 1; }

.award-trophy-badge {
    position: absolute;
    bottom: -16px;
    right: -16px;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ffd700, #ffaa00);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 20px rgba(255,215,0,0.5), 0 0 40px rgba(255,215,0,0.2);
    animation: pulseTrophy 2.5s ease-in-out infinite;
    z-index: 2;
}

.trophy-icon { font-size: 1.6rem; line-height: 1; }

@keyframes pulseTrophy {
    0%, 100% { box-shadow: 0 0 20px rgba(255,215,0,0.5), 0 0 40px rgba(255,215,0,0.2); }
    50%       { box-shadow: 0 0 30px rgba(255,215,0,0.8), 0 0 60px rgba(255,215,0,0.35); }
}

.award-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.award-tag-row { display: flex; gap: 10px; flex-wrap: wrap; }

.award-pill {
    padding: 5px 14px;
    border-radius: 20px;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    background: rgba(224,163,255,0.1);
    border: 1px solid rgba(224,163,255,0.3);
    color: var(--clr-primary);
}

.award-pill.accent {
    background: rgba(255,105,180,0.1);
    border-color: rgba(255,105,180,0.4);
    color: var(--clr-accent);
}

.award-title {
    font-size: 1.85rem;
    font-weight: 800;
    line-height: 1.2;
    color: #f0f0f0;
    margin: 0;
}

.award-title-quote {
    display: block;
    font-size: 1.1rem;
    font-weight: 400;
    font-style: italic;
    color: var(--clr-primary);
    margin-top: 6px;
}

.award-desc {
    font-size: 0.92rem;
    line-height: 1.75;
    color: #bbb;
    margin: 0;
}

.award-desc strong { color: var(--clr-primary); font-weight: 600; }

.award-stats {
    display: flex;
    gap: 24px;
    padding: 18px 24px;
    background: rgba(224,163,255,0.05);
    border: 1px solid rgba(224,163,255,0.1);
    border-radius: 14px;
}

.award-stat {
    display: flex;
    flex-direction: column;
    gap: 4px;
    text-align: center;
    flex: 1;
}

.stat-value {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--clr-accent);
}

.stat-label {
    font-size: 0.67rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #888;
}

.award-org-row {
    display: flex;
    align-items: center;
    gap: 14px;
    padding-top: 4px;
    border-top: 1px solid rgba(224,163,255,0.1);
}

.award-org-logo { font-size: 2rem; line-height: 1; }
.award-org-name { font-size: 0.95rem; font-weight: 700; color: var(--clr-primary); }
.award-org-sub  { font-size: 0.75rem; color: #888; margin-top: 2px; }

/* Lightbox */
#award-lightbox {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(0,0,0,0.88);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    align-items: center;
    justify-content: center;
    animation: fadeInLB 0.25s ease;
}

#award-lightbox.open { display: flex; }

@keyframes fadeInLB {
    from { opacity: 0; }
    to   { opacity: 1; }
}

#award-lightbox img {
    max-width: 90vw;
    max-height: 88vh;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 18px;
    border: 2px solid rgba(224,163,255,0.4);
    box-shadow:
        0 0 60px rgba(224,163,255,0.25),
        0 32px 80px rgba(0,0,0,0.6);
    animation: zoomInLB 0.3s cubic-bezier(0.34,1.56,0.64,1);
}

@keyframes zoomInLB {
    from { transform: scale(0.8); opacity: 0; }
    to   { transform: scale(1);   opacity: 1; }
}

#award-lightbox .lb-close {
    position: absolute;
    top: 20px;
    right: 28px;
    font-size: 1.4rem;
    color: var(--clr-primary);
    cursor: pointer;
    background: rgba(224,163,255,0.1);
    border: 1px solid rgba(224,163,255,0.3);
    border-radius: 50%;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background var(--transition-fast), transform var(--transition-fast);
}

#award-lightbox .lb-close:hover {
    background: rgba(255,105,180,0.25);
    transform: rotate(90deg);
}

#award-lightbox .lb-hint {
    position: absolute;
    bottom: 22px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.75rem;
    color: #888;
    letter-spacing: 0.05em;
    white-space: nowrap;
}

/* =============================================
   BREAKPOINTS
   ============================================= */

@media (max-width: 1200px) {
    .hero-container { gap: 2.5rem; padding: 110px 30px 60px; }
    .profile-slider,
    .hero-image > img { width: clamp(200px, 34vw, 420px); }
}

@media (max-width: 1024px) {
    .hero-container {
        flex-direction: column-reverse;
        justify-content: center;
        gap: 2.5rem;
        padding: 110px 30px 60px;
        min-height: 100vh;
        text-align: center;
    }
    .hero-content     { max-width: 100%; padding: 0 20px; }
    .hero-description { margin-left: auto; margin-right: auto; }

    .profile-slider,
    .hero-image > img { width: clamp(180px, 48vw, 340px); }

    .feature-row,
    .feature-row:nth-child(even) { flex-direction: column; gap: 30px; }

    .feature-content {
        flex: 0 0 auto;
        transform: none !important;
        width: 100%;
    }
    .feature-content:hover { transform: translateY(-6px) !important; }

    .feature-visual {
        height: clamp(280px, 52vw, 460px);
        width: 100%;
        flex: 0 0 auto;
        aspect-ratio: 16 / 9;
    }

    .contact-container { grid-template-columns: 1fr; gap: 40px; }

    .timeline-line { left: 24px; }
    .timeline-item,
    .timeline-item:nth-child(even) { justify-content: flex-start; padding-left: 65px; padding-right: 0; }
    .timeline-dot     { left: 24px; }
    .timeline-content { max-width: 100%; }

    .award-card   { flex-direction: column; padding: 32px 24px; gap: 32px; }
    .award-frame  { width: 100%; max-width: 420px; margin: 0 auto; }
    .award-title  { font-size: 1.45rem; }
    .award-stats  { gap: 12px; padding: 14px 16px; }
    .stat-value   { font-size: 0.9rem; }
}

@media (max-width: 1000px) {
    .nav-links          { display: none; }
    .mobile-menu-toggle { display: flex; }
    header              { padding: 14px 22px; }
}

@media (max-width: 768px) {
    header { top: 10px; width: 94%; padding: 12px 18px; border-radius: 18px; }

    .hero-container { gap: 2rem; padding: 90px 18px 50px; min-height: 100svh; }
    .hero-content   { padding: 0; }
    .hero h1        { font-size: clamp(1.8rem, 7.5vw, 3rem); }
    .hero-description { margin: 25px auto 35px; }

    .hero-subtitle::before,
    .hero-subtitle::after { width: 20px; }
    .hero-subtitle::before { left: -30px; }
    .hero-subtitle::after  { right: -30px; }

    .hero-stats { grid-template-columns: repeat(2, 1fr); gap: 14px; margin: 30px auto; }

    .profile-slider,
    .hero-image > img { width: clamp(160px, 55vw, 280px); }

    .cta-buttons { flex-direction: column; align-items: center; gap: 14px; }
    .cta-button  { width: 100%; max-width: 260px; text-align: center; }

    .hexagon { width: clamp(160px, 60vw, 240px); height: clamp(210px, 78vw, 310px); margin: 5px; }
    .hexagon-inner   { padding: clamp(25px, 8vw, 50px) clamp(12px, 5vw, 30px); }
    .hexagon-icon    { font-size: clamp(2rem, 8vw, 3rem); }
    .hexagon h4      { font-size: clamp(1rem, 4.5vw, 1.4rem); }
    .hexagon p       { font-size: clamp(0.8rem, 3.5vw, 1rem); max-width: 160px; }
    .hexagon-container { gap: 10px; }

    .feature-visual { height: clamp(230px, 62vw, 380px); }

    .timeline-line  { left: 18px; }
    .timeline-item,
    .timeline-item:nth-child(even) { padding-left: 52px; }
    .timeline-dot   { left: 18px; top: 30px; width: 16px; height: 16px; }

    .contact-info,
    .contact-form { padding: 20px; }

    .footer-links { gap: 14px; }
}

@media (max-width: 480px) {
    header { top: 8px; width: 92%; padding: 11px 15px; border-radius: 14px; }
    .logo-icon { width: 30px; height: 30px; }

    .hero-container  { padding: 85px 15px 40px; }
    .hero-stats      { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .hero-stat-number{ font-size: 1.1rem; }
    .hero-stat-label { font-size: 0.6rem; }

    .profile-slider,
    .hero-image > img { width: min(220px, 72vw); }

    .hexagon { width: min(220px, 80vw); height: min(280px, 104vw); }

    .section-title { font-size: clamp(1.5rem, 7vw, 2rem); }

    .mobile-nav { top: 85px; width: 94%; padding: 20px; gap: 12px; }
    .mobile-nav a { padding: 12px 16px; font-size: 1rem; }

    .award-stats { flex-direction: column; gap: 8px; }
    .award-stat  { flex-direction: row; justify-content: space-between; text-align: left; }
    .stat-value  { font-size: 1rem; }
}

@media (max-width: 360px) {
    .hero-container { padding: 80px 12px 35px; }
    .hero-stats     { gap: 8px; }
    .cta-button     { max-width: 240px; padding: 11px 20px; }
    .profile-slider,
    .hero-image > img { width: min(190px, 78vw); }
}

/* =============================================
   ACCESIBILIDAD — Reduce motion
   ============================================= */

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
}
