/* Animaciones Profesionales */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

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

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

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

/* Clases de animación */
.animate-fade-up {
    animation: fadeInUp 0.8s ease-out forwards;
    opacity: 0;
}

.animate-fade-left {
    animation: fadeInLeft 0.8s ease-out forwards;
    opacity: 0;
}

.animate-fade-right {
    animation: fadeInRight 0.8s ease-out forwards;
    opacity: 0;
}

.animate-scale-in {
    animation: scaleIn 0.6s ease-out forwards;
    opacity: 0;
}

.animate-slide-up {
    animation: slideInUp 0.6s ease-out forwards;
    opacity: 0;
}

.animate-float {
    animation: float 3s ease-in-out infinite;
}

.animate-pulse {
    animation: pulse 2s ease-in-out infinite;
}

/* Variables de color y diseño */
:root {
    --primary-color: #8b0000;
    --primary-dark: #660000;
    --primary-light: #a30000;
    --secondary-color: #dc2626;
    --secondary-dark: #b91c1c;
    --accent-color: #dc2626;
    --text-primary: #000000; /* Negro para mejor contraste */
    --text-secondary: #000000; /* Negro para mejor contraste */
    --text-light: #333333; /* Gris oscuro para textos ligeros */
    --bg-light: #f9fafb;
    --bg-white: #ffffff;
    --border-color: #e5e7eb;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --gradient-primary: linear-gradient(135deg, #8b0000 0%, #dc2626 100%);
    --gradient-secondary: linear-gradient(135deg, #dc2626 0%, #ef4444 100%);
}

/* Estilos para asegurar que los elementos siempre sean visibles */
.cualidad-card,
.compromiso-item,
.perfil-card,
.stat-item,
.perfil-content,
.perfil-info,
.perfil-stats,
.section-content {
    opacity: 1 !important;
    transform: none !important;
    visibility: visible !important;
    display: block !important;
}

/* Efectos 3D profesionales para tarjetas de cualidades */
.cualidad-card {
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    transform-style: preserve-3d;
    position: relative;
    overflow: hidden;
}

.cualidad-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s ease;
}

.cualidad-card:hover::before {
    left: 100%;
}

.cualidad-card:hover {
    transform: translateY(-10px) rotateX(5deg) rotateY(5deg);
    box-shadow: 0 20px 40px rgba(139, 0, 0, 0.2), 0 0 20px rgba(220, 38, 38, 0.1);
}

.cualidad-card .cualidad-icon {
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    transform-origin: center;
}

.cualidad-card:hover .cualidad-icon {
    transform: scale(1.2) rotateZ(10deg);
    filter: drop-shadow(0 5px 15px rgba(220, 38, 38, 0.3));
}

.cualidad-card h3 {
    transition: all 0.3s ease;
    position: relative;
}

.cualidad-card:hover h3 {
    color: var(--primary-color);
    transform: translateY(-2px);
}

.cualidad-card p {
    transition: all 0.3s ease;
}

.cualidad-card:hover p {
    transform: translateY(-1px);
}
    transform: none !important;
    visibility: visible !important;
    display: block !important;
}

.animate-on-scroll,
.animado {
    opacity: 1 !important;
    transform: none !important;
    visibility: visible !important;
}

/* Reset y estilos base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-white);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header y Navegación */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(135deg, #8b0000 0%, #dc2626 100%);
    backdrop-filter: blur(10px);
    border-bottom: 2px solid #fbbf24;
    z-index: 1000;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(139, 0, 0, 0.3);
    min-height: 70px;
}

.navbar {
    padding: 0.8rem 0;
    width: 100%;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: nowrap;
}

.navbar {
    padding: 1rem 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo h2 {
    color: #ffffff;
    font-weight: 700;
    font-size: 1.5rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
    transition: all 0.3s ease;
}

.nav-logo h2:hover {
    text-shadow: 0 0 20px rgba(255,255,255,0.8);
}
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 1.5rem;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: #ffffff;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    text-shadow: 0 1px 2px rgba(0,0,0,0.5);
    padding: 0.5rem 1rem;
    white-space: nowrap;
}

.nav-link:hover {
    color: #fbbf24;
    text-shadow: 0 0 15px rgba(251, 191, 36, 0.8);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, #fbbf24, #f59e0b);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link:hover {
    color: #fbbf24;
    text-shadow: 0 0 15px rgba(251, 191, 36, 0.8);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, #fbbf24, #f59e0b);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #ffffff;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    min-height: calc(100vh - 70px);
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #8b0000 0%, #dc2626 50%, #ef4444 100%);
    position: relative;
    overflow: hidden;
    padding-top: 70px;
    background-attachment: fixed;
    transform: translateZ(0);
    will-change: transform;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-primary);
    opacity: 0.95;
    z-index: 1;
    animation: shimmer 2s infinite;
    background-image: linear-gradient(135deg, #8b0000 0%, #dc2626 50%, #ef4444 100%);
}

/* Animación de entrada para el hero */
.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
    animation: slideInUp 1s ease-out;
}

.hero-title {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #ffffff 0%, #fbbf24 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 4px 8px rgba(0,0,0,0.3);
    animation: fadeInLeft 1s ease-out 0.2s both;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.3));
}

.hero-subtitle {
    display: block;
    font-size: 1.5rem;
    font-weight: 300;
    color: #ffffff !important; /* Blanco puro para mejor contraste sobre fondo rojo */
    margin-top: 0.5rem;
    animation: fadeInRight 1s ease-out 0.4s both;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
    opacity: 0.95;
}

.hero-description {
    font-size: 1.25rem;
    margin: 2rem 0;
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.7;
    max-width: 800px;
    animation: fadeInUp 1s ease-out 0.6s both;
}
    text-shadow: 0 1px 4px rgba(0,0,0,0.3);
    animation: fadeInLeft 1s ease-out 0.4s both;
}

.hero-description {
    font-size: 1.25rem;
    margin: 2rem 0;
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.7;
    text-shadow: 0 1px 3px rgba(0,0,0,0.4);
    animation: fadeInUp 1s ease-out 0.6s both;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    animation: fadeInUp 1s ease-out 0.8s both;
}

.hero-photo {
    animation: fadeInRight 1s ease-out 0.5s both;
}

/* Asegurar que todas las secciones sean siempre visibles */
section {
    opacity: 1 !important;
    visibility: visible !important;
    display: block !important;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><polygon fill="rgba(255,255,255,0.1)" points="0,1000 1000,0 1000,1000"/></svg>');
    background-size: cover;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-text {
    color: white;
    text-shadow: 0 2px 8px rgba(0,0,0,0.5);
    z-index: 2;
    position: relative;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.hero-subtitle {
    display: block;
    font-size: 1.5rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.95);
    margin-top: 0.5rem;
    text-shadow: 0 1px 4px rgba(0,0,0,0.3);
}

.hero-description {
    font-size: 1.25rem;
    margin: 2rem 0;
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.7;
    text-shadow: 0 1px 3px rgba(0,0,0,0.4);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    border: none;
    cursor: pointer;
    font-size: 1rem;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.6s ease;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    color: #7c2d12;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(251, 191, 36, 0.4);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #f59e0b 0%, #fbbf24 100%);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 25px rgba(251, 191, 36, 0.6);
}

.btn-primary:active {
    transform: translateY(-1px) scale(1);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    overflow: hidden;
}

.btn-secondary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.6s ease;
}

.btn-secondary:hover::before {
    left: 100%;
}

.btn-secondary:hover {
    background: white;
    color: var(--primary-color);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.3);
}

.btn-outline {
    background: transparent;
    color: #dc2626;
    border: 2px solid #dc2626;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.btn-outline:hover {
    background: #dc2626;
    color: white;
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 25px rgba(220, 38, 38, 0.4);
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-photo {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border: 5px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

.hero-photo:hover {
    transform: scale(1.05);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4);
}

.hero-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.hero-photo:hover img {
    transform: scale(1.1);
}

.hero-scroll {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
}

.scroll-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: white;
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.scroll-indicator:hover {
    opacity: 1;
}

.scroll-indicator span {
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.scroll-indicator i {
    font-size: 1.2rem;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

/* Section Styles */
section {
    padding: 5rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #8b0000;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.2rem;
    color: #000000 !important; /* Negro puro para mejor contraste */
    font-weight: 400;
    line-height: 1.6;
    margin-bottom: 1rem;
}

/* Asegurar que todos los subtítulos y textos introductorios sean negros */
.section-header p,
.perfil-intro,
.cualidades-intro,
.compromiso-intro,
.galeria-intro,
.contacto-intro,
.section-subtitle,
.section-header .section-subtitle {
    color: #000000 !important;
    font-weight: 400;
}

/* Textos descriptivos adicionales */
.perfil-content p,
.cualidades-grid p,
.compromiso-item p,
.galeria-item p,
.contacto-text p {
    color: #000000 !important;
}

/* Perfil Section */
.perfil {
    background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%);
}

.perfil-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    align-items: center;
}

.perfil-image {
    display: flex;
    justify-content: center;
}

.perfil-photo {
    width: 250px;
    height: 250px;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    border: 4px solid var(--primary-color);
    transition: all 0.3s ease;
}

.perfil-photo:hover {
    transform: scale(1.05);
    box-shadow: 0 25px 50px rgba(30, 58, 138, 0.3);
}

.perfil-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.perfil-photo:hover img {
    transform: scale(1.1);
}

.perfil-card {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    margin-bottom: 2rem;
}

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

.perfil-card p {
    color: #000000; /* Negro para mejor contraste */
    margin-bottom: 1rem;
    line-height: 1.7;
}

.perfil-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    text-align: center;
}

.stat-item {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow-md);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #dc2626; /* Rojo más brillante para mejor contraste */
    margin-bottom: 0.5rem;
}

.stat-label {
    color: #000000; /* Negro para mejor contraste */
    font-size: 0.9rem;
}

/* Cualidades Section */
.cualidades {
    background: linear-gradient(135deg, #ffffff 0%, #fef2f2 100%);
}

.cualidades-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

/* Tarjetas con animaciones profesionales */
.cualidad-card {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    text-align: center;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    border: 1px solid var(--border-color);
    opacity: 0;
    transform: translateY(30px);
    animation: slideInUp 0.8s ease-out forwards;
}

.cualidad-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-color);
}

.cualidad-card:nth-child(1) { animation-delay: 0.1s; }
.cualidad-card:nth-child(2) { animation-delay: 0.2s; }
.cualidad-card:nth-child(3) { animation-delay: 0.3s; }
.cualidad-card:nth-child(4) { animation-delay: 0.4s; }
.cualidad-card:nth-child(5) { animation-delay: 0.5s; }
.cualidad-card:nth-child(6) { animation-delay: 0.6s; }

.cualidad-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, #8b0000 0%, #dc2626 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: white;
    transition: all 0.4s ease;
    transform: scale(1);
}

.cualidad-card:hover .cualidad-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 8px 25px rgba(139, 0, 0, 0.3);
}

.cualidad-card h3 {
    color: #dc2626; /* Rojo más brillante para mejor contraste */
    font-size: 1.3rem;
    margin-bottom: 1rem;
    transition: color 0.3s ease;
}

.cualidad-card:hover h3 {
    color: #8b0000;
}

.cualidad-card p {
    color: #000000; /* Negro para mejor contraste */
    line-height: 1.7;
    transition: all 0.3s ease;
}

/* Compromiso Section */
.compromiso {
    background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%);
}

.compromiso-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
}

.compromiso-intro p {
    font-size: 1.2rem;
    color: #000000; /* Negro para mejor contraste */
    line-height: 1.7;
}

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

.compromiso-item {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
    transform: translateY(0);
}

.compromiso-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(139, 0, 0, 0.05) 0%, rgba(220, 38, 38, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.compromiso-item:hover::before {
    opacity: 1;
}

.compromiso-item:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(139, 0, 0, 0.15), 0 0 30px rgba(220, 38, 38, 0.1);
}

.compromiso-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #7c2d12;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    z-index: 1;
}

.compromiso-item:hover .compromiso-icon {
    transform: scale(1.1) rotateY(360deg);
    box-shadow: 0 10px 25px rgba(251, 191, 36, 0.4);
}

.compromiso-item h3 {
    color: #dc2626;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.compromiso-item:hover h3 {
    color: #8b0000;
    transform: translateY(-2px);
}

.compromiso-item p {
    color: #000000;
    line-height: 1.7;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.compromiso-item:hover p {
    transform: translateY(-1px);
}
}

/* Galería Section */
.galeria {
    background: var(--bg-white);
}

.galeria-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.galeria-item {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    aspect-ratio: 1;
    background: var(--bg-light);
    box-shadow: var(--shadow-md);
    transform: translateY(0) scale(1);
}

.galeria-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(139, 0, 0, 0.8) 0%, rgba(220, 38, 38, 0.8) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 2;
}

.galeria-item:hover::before {
    opacity: 1;
}

.galeria-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.galeria-item:hover img {
    transform: scale(1.15);
}

.galeria-item:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(139, 0, 0, 0.2), 0 0 30px rgba(220, 38, 38, 0.1);
}

/* Anulación de animaciones problemáticas */
.cualidad-card,
.compromiso-item,
.perfil-card,
.stat-item,
.fade-in-up {
    opacity: 1 !important;
    transform: none !important;
    visibility: visible !important;
}

/* Botones con efectos profesionales mejorados */
.btn-primary {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    color: #7c2d12;
    font-weight: 600;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    transition: left 0.6s ease;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #f59e0b 0%, #fbbf24 100%);
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 12px 30px rgba(251, 191, 36, 0.5), 0 0 20px rgba(245, 158, 11, 0.3);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.btn-secondary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.6s ease;
}

.btn-secondary:hover::before {
    left: 100%;
}

.btn-secondary:hover {
    background: white;
    color: var(--primary-color);
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 12px 30px rgba(255, 255, 255, 0.4);
}

.galeria-item:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-lg);
}

.galeria-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: var(--text-light);
    background: linear-gradient(135deg, #f3f4f6 0%, #e5e7eb 100%);
}

/* Efecto ripple para botones */
.ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.6);
    transform: scale(0);
    animation: ripple-animation 0.6s linear;
    pointer-events: none;
}

@keyframes ripple-animation {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

/* Efectos adicionales para botones */
.btn {
    position: relative;
    overflow: hidden;
}

.galeria-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.9));
    color: white;
    padding: 2rem;
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    height: 100%;
    text-align: center;
}

.galeria-overlay h3 {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
    transform: translateY(20px);
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.1s;
}

.galeria-overlay p {
    font-size: 0.95rem;
    opacity: 0.9;
    transform: translateY(20px);
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.2s;
}

.galeria-item:hover .galeria-overlay {
    transform: translateY(0);
}

.galeria-item:hover .galeria-overlay h3,
.galeria-item:hover .galeria-overlay p {
    transform: translateY(0);
}

.galeria-item:hover .galeria-overlay {
    transform: translateY(0);
}

.galeria-controls {
    text-align: center;
}

/* Contacto Section */
.contacto {
    background: var(--bg-light);
}

.contacto-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
}

.contacto-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contacto-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    background: white;
    padding: 1.5rem;
    border-radius: 15px;
    box-shadow: var(--shadow-md);
}

.contacto-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, #8b0000 0%, #dc2626 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: white;
}

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

.contacto-text p {
    color: #000000; /* Negro para mejor contraste */
}

.redes-sociales {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    text-align: center;
}

.redes-sociales h3 {
    color: #dc2626; /* Rojo más brillante para mejor contraste */
    margin-bottom: 1.5rem;
}

.redes-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.redes-link {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.redes-link:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.facebook { background: #1877f2; }
.twitter { background: #1da1f2; }
.instagram { background: linear-gradient(45deg, #f09433 0%,#e6683c 25%,#dc2743 50%,#cc2366 75%,#bc1888 100%); }
.linkedin { background: #0077b5; }

/* Footer */
.footer {
    background: linear-gradient(135deg, #660000 0%, #8b0000 100%);
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: var(--secondary-color);
}

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

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

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

/* Utility Classes */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }