@font-face {
    font-family: 'New Title';
    src: url('NewTitle-Variable.ttf') format('truetype');
    font-weight: 100 900;
    font-display: swap;
}

:root {
    /* Paleta de colores PDF */
    --bg-dark: #000000;
    --primary: #75020f;
    --primary-dark: #51080d;
    --primary-darker: #2b0307;
    --primary-bright: #b80d22;
    --white: #ffffff;
    --text-light: #f0f4f5;
    --text-muted: #aaa;
    
    /* Tipografías */
    --font-sora: 'Sora', sans-serif;
    --font-new-title: 'New Title', 'Impact', sans-serif; 
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sora);
    background-color: #000000;
    color: var(--text-light);
    line-height: 1.6;
    min-height: 100vh;
    position: relative;
}

/* Efecto Spotlight Radial en el Cursor (Ubicado por DEBAJO de tarjetas y contenido) */
.cursor-spotlight {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 0;
    opacity: 0;
    transition: opacity 0.4s ease;
    background: radial-gradient(650px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(184, 13, 34, 0.35), rgba(117, 2, 15, 0.15) 40%, transparent 80%);
}

/* Las secciones y elementos quedan por encima del spotlight para mantener perfecta legibilidad */
section, header, footer {
    position: relative;
    z-index: 2;
}

/* Solo se activa en dispositivos que admiten hover / puntero fino */
@media (hover: hover) and (pointer: fine) {
    .cursor-spotlight {
        opacity: 1;
    }
}

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

.mt-5 {
    margin-top: 5rem !important;
}

.new-title-font {
    font-family: var(--font-new-title);
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Navegación */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    background-color: rgba(15, 10, 18, 0.75);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.logo-nav img {
    height: 40px;
    width: auto;
    display: block;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    position: relative;
    text-decoration: none;
    color: var(--text-light);
    font-weight: 500;
    font-size: 0.95rem;
    padding: 0.4rem 0;
    transition: color 0.3s;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-bright);
    box-shadow: 0 0 8px var(--primary-bright);
    transition: width 0.3s ease-in-out;
}

.nav-links a:hover {
    color: var(--white);
}

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

.hamburger {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-light);
}

/* Hero Section (Limpio y Estructurado) */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 8rem 0 4rem;
}

.hero-clean-layout {
    width: 100%;
}

.hero-top-grid {
    max-width: 900px;
}

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

.logo-hero {
    margin-bottom: 2rem;
}

.main-logo-img {
    height: 75px;
    width: auto;
}

.hero-title-stagger {
    font-family: var(--font-new-title);
    font-size: clamp(2.5rem, 5.5vw, 4.6rem);
    color: var(--white);
    margin-bottom: 1.5rem;
    line-height: 1.15;
    /* SIN TEXT GLOW / RESPLANDOR */
    text-shadow: none;
}

/* Animación Slide Up Escalonada para el Título */
@keyframes slideUpStagger {
    from {
        opacity: 0;
        transform: translateY(35px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.slide-word {
    display: inline-block;
    opacity: 0;
    animation: slideUpStagger 0.6s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

.slide-word:nth-child(1) { animation-delay: 0.08s; }
.slide-word:nth-child(2) { animation-delay: 0.15s; }
.slide-word:nth-child(3) { animation-delay: 0.22s; }
.slide-word:nth-child(4) { animation-delay: 0.28s; }
.slide-word:nth-child(5) { animation-delay: 0.35s; }
.slide-word:nth-child(6) { animation-delay: 0.42s; }
.slide-word:nth-child(7) { animation-delay: 0.48s; }
.slide-word:nth-child(8) { animation-delay: 0.55s; }

.highlight-text {
    color: var(--primary-bright);
    text-shadow: none;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 2rem;
    font-weight: 300;
    max-width: 680px;
    line-height: 1.6;
}

.slogan-badge {
    display: inline-block;
    border: 1px solid rgba(255,255,255,0.18);
    padding: 0.7rem 1.8rem;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.03);
    margin-bottom: 2.2rem;
    font-size: 1.1rem;
    color: var(--text-light);
}

.slogan-badge strong {
    color: var(--white);
    font-weight: 700;
}

/* Botones de Acción en Hero */
.hero-action-buttons {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    align-items: center;
    margin-bottom: 4rem;
}

.btn-hero {
    padding: 0.9rem 2.2rem;
    border-radius: 50px;
    font-family: var(--font-sora);
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.35s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.btn-hero.btn-primary {
    background-color: var(--primary);
    color: var(--white);
    border: 2px solid var(--primary);
    box-shadow: 0 4px 15px rgba(117, 2, 15, 0.5);
}

.btn-hero.btn-primary:hover {
    background-color: var(--primary-bright);
    border-color: var(--primary-bright);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(184, 13, 34, 0.8);
}

.btn-hero.btn-secondary {
    background-color: transparent;
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.25);
}

.btn-hero.btn-secondary:hover {
    background-color: var(--primary);
    border-color: var(--primary);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(117, 2, 15, 0.6);
}

.hero-skills-bottom {
    width: 100%;
    margin-top: 5rem;
}

/* Bloque Tres Disciplinas con Fade-In y Parallax */
.disciplines-block {
    margin-top: 4rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 3rem;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
    will-change: transform, opacity;
}

.disciplines-block.visible {
    opacity: 1;
}

.disciplines-subtitle {
    font-family: var(--font-new-title);
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    color: var(--white);
    line-height: 1.25;
    text-shadow: none;
}

.disciplines-subtitle span {
    color: var(--primary-bright);
}

.disciplines-right p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-light);
    font-weight: 300;
}

@media (max-width: 992px) {
    .disciplines-block {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* Sección de Desafíos & Typewriter */
.typewriter-section {
    padding: 8rem 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.4) 0%, rgba(43, 3, 7, 0.5) 50%, rgba(0, 0, 0, 0.4) 100%);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

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

.typewriter-box {
    min-height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 2rem 0;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.quote-mark {
    font-size: 2.5rem;
    color: var(--primary-bright);
    font-family: var(--font-new-title);
    margin: 0 0.5rem;
}

.typewriter-output {
    font-family: var(--font-sora);
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    color: var(--white);
    font-weight: 600;
    line-height: 1.4;
}

.typewriter-cursor {
    font-size: 1.8rem;
    color: var(--primary-bright);
    font-weight: 800;
    animation: blinkCursor 0.8s infinite;
    margin-left: 4px;
}

@keyframes blinkCursor {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

.typewriter-connect-text {
    font-size: 1.25rem;
    color: var(--text-light);
    max-width: 750px;
    margin: 2.5rem auto 2.5rem;
    line-height: 1.7;
    font-weight: 300;
}

.typewriter-cta {
    display: flex;
    justify-content: center;
}

/* Servicios */
.services-section {
    padding: 8rem 0;
    background-color: rgba(0, 0, 0, 0.2);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

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

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

.service-card {
    position: relative;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    overflow: hidden;
    transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1), border-color 0.4s ease, box-shadow 0.4s ease, opacity 0.6s ease;
    opacity: 0;
    transform: translateY(40px);
}

.service-card.reveal-active {
    opacity: 1;
    transform: translateY(0);
}

.service-card:hover {
    transform: translateY(-10px) !important;
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.7);
}

/* Imágenes de Servicios en su Tamaño Original */
.service-img-wrapper {
    width: 100%;
    height: auto;
    overflow: hidden;
    position: relative;
    background: transparent;
}

.service-img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.6s ease;
    padding: 0;
}

.service-card:hover .service-img {
    transform: scale(1.1);
}

.service-body {
    padding: 2rem;
    text-align: center;
}

.service-body h3 {
    font-size: 1.5rem;
    margin-bottom: 0.8rem;
    color: var(--white);
    font-family: var(--font-new-title);
    letter-spacing: 1px;
}

.service-body p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Overlay al hacer Hover para las Tareas */
.service-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(15, 10, 18, 0.97) 0%, rgba(117, 2, 15, 0.97) 100%);
    backdrop-filter: blur(6px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    text-align: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
    z-index: 10;
}

.service-card:hover .service-overlay {
    opacity: 1;
    visibility: visible;
}

.service-overlay h4 {
    font-family: var(--font-new-title);
    font-size: 1.8rem;
    color: var(--white);
    margin-bottom: 1.2rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.service-overlay ul {
    list-style: none;
    padding: 0;
}

.service-overlay li {
    font-size: 0.95rem;
    color: var(--text-light);
    margin-bottom: 0.6rem;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 8px;
}

.service-overlay ul:not(.no-bullets-list) li::before {
    content: "★";
    color: #ffffff;
    font-size: 0.8rem;
    flex-shrink: 0;
}

/* Card Publicidad: sin estrellas, texto centrado */
.service-overlay .no-bullets-list li {
    display: block;
    text-align: center;
    justify-content: center;
}

/* Portafolio & Secciones de Proyectos */
.portfolio-section {
    padding: 8rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.portfolio-section.alt-bg {
    background: rgba(0, 0, 0, 0.25);
}

.portfolio-section .section-title {
    text-align: center;
    margin-bottom: 4rem;
    font-size: 3.5rem;
}

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

.projects-grid.single-col {
    grid-template-columns: 1fr;
    max-width: 850px;
    margin: 0 auto;
}

.featured-card .carousel-wrapper {
    height: 420px;
}

.sofasesorias-card .carousel-wrapper {
    height: 520px;
}

.sofasesorias-card .carousel-img {
    object-fit: contain;
    background-color: #0c0a0e;
}

/* Tarjeta de Proyecto */
.project-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
}

.project-card:hover {
    transform: translateY(-6px);
    border-color: var(--primary-bright);
    box-shadow: 0 10px 30px rgba(117, 2, 15, 0.3);
}

/* Carrusel de Imágenes */
.carousel-wrapper {
    position: relative;
    width: 100%;
    height: 320px;
    overflow: hidden;
    background-color: #121014;
}

.carousel-track {
    width: 100%;
    height: 100%;
    position: relative;
}

.carousel-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transform: scale(1);
    transition: opacity 0.5s ease-in-out, transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    pointer-events: none;
}

.carousel-img.active {
    opacity: 1;
    pointer-events: auto;
}

/* Zoom In al Hover de la Imagen */
.carousel-wrapper:hover .carousel-img.active {
    transform: scale(1.1);
}

/* Botones Laterales Rojos */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: var(--primary);
    color: var(--white);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    z-index: 10;
    opacity: 0.85;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0,0,0,0.5);
}

.carousel-btn:hover {
    background: var(--primary-bright);
    opacity: 1;
    transform: translateY(-50%) scale(1.15);
    box-shadow: 0 6px 16px rgba(184, 13, 34, 0.6);
}

.prev-btn {
    left: 12px;
}

.next-btn {
    right: 12px;
}

/* Indicadores de Puntos */
.carousel-indicators {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.carousel-indicators .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    transition: all 0.3s ease;
    cursor: pointer;
}

.carousel-indicators .dot.active {
    background: var(--primary-bright);
    width: 24px;
    border-radius: 10px;
}

/* Overlay del Título */
.title-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to top, rgba(25, 23, 27, 0.95) 0%, rgba(25, 23, 27, 0.6) 60%, transparent 100%);
    padding: 2rem 1.5rem 1rem;
    z-index: 8;
    pointer-events: none;
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

.carousel-wrapper:hover .title-overlay {
    opacity: 1;
}

.title-overlay h3 {
    font-family: var(--font-new-title);
    font-size: 1.6rem;
    color: var(--white);
    letter-spacing: 1px;
    line-height: 1.2;
}

.title-overlay p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 300;
}

/* Información del Proyecto */
.project-info {
    padding: 1.8rem;
    display: flex;
    flex-direction: column;
    flex: 1;

}

.project-info h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--white);
}

.project-info p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.project-info .valor {
    color: var(--primary-bright);
    font-weight: 600;
    font-size: 0.88rem;
}

/* Badge Instagram para Manuales */
.project-instagram-tag {
    margin-top: 0.8rem;
}

.project-instagram-tag a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0.4rem 1rem;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50px;
    color: var(--white);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.project-instagram-tag a:hover {
    background: var(--primary);
    border-color: var(--primary-bright);
    color: var(--white);
    transform: translateY(-2px);
}

/* Botón de Like Estrella abajo de cada proyecto */
.project-footer-actions {
    margin-top: auto;
    padding-top: 1.2rem;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.star-like-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: var(--text-light);
    padding: 0.5rem 1.2rem;
    border-radius: 50px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-sora);
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.star-like-btn i {
    font-size: 1.1rem;
    transition: transform 0.3s ease, color 0.3s ease;
}

.star-like-btn:hover {
    border-color: #ffd700;
    background: rgba(255, 215, 0, 0.1);
    color: #ffd700;
}

.star-like-btn.liked {
    background: rgba(255, 215, 0, 0.15);
    border-color: #ffd700;
    color: #ffd700;
}

.star-like-btn.liked i {
    color: #ffd700;
    animation: starPop 0.4s ease;
}

@keyframes starPop {
    0% { transform: scale(1); }
    50% { transform: scale(1.4) rotate(15deg); }
    100% { transform: scale(1) rotate(0deg); }
}

/* Títulos de Sección Globales con Efecto Reveal */
.section-title {
    text-align: center;
    font-family: var(--font-new-title);
    font-size: clamp(2.8rem, 6vw, 4rem);
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--white);
    margin-bottom: 4rem;
    position: relative;
    opacity: 0;
    transform: translateY(30px) scale(0.95);
    transition: opacity 0.8s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.section-title.title-active {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* Skills & Tools (Original Layout Centrado) */
.skills-wrapper {
    text-align: center;
    padding-top: 5rem;
    width: 100%;
}

.skills-wrapper .section-subtitle {
    margin-bottom: 3rem;
    font-size: 2rem;
}

.skills-grid {
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 3rem;
    max-width: 800px;
    margin: 0 auto;
}

.skills-list, .tools-list {
    flex: 1;
}

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

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

.skills-list ul, .tools-list ul {
    list-style: none;
    padding: 0;
}

.skills-list li, .tools-list li {
    font-size: 1.15rem;
    margin-bottom: 1rem;
    font-weight: 600;
    color: var(--text-light);
}

.divider {
    width: 2px;
    background-color: rgba(255, 255, 255, 0.25);
}

/* Sobre Mí */
.about-section {
    padding: 8rem 0;
    background: linear-gradient(135deg, rgba(43, 3, 7, 0.4) 0%, transparent 100%);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.about-grid-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.narrative-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 1.2rem;
    font-weight: 300;
}

.narrative-text strong {
    color: var(--primary-bright);
    font-weight: 600;
}

.narrative-text em {
    display: block;
    margin-top: 1.5rem;
    font-size: 1.25rem;
    color: var(--white);
    font-weight: 600;
    font-style: normal;
    border-left: 3px solid var(--primary-bright);
    padding-left: 1rem;
}

/* Video en Proporción Original de Reel de Instagram (9:16) */
.about-video-wrapper {
    position: relative;
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
    aspect-ratio: 9/16;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.7), 0 0 20px rgba(117, 2, 15, 0.3);
    background-color: #000000;
}

.about-video-player {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

/* Contacto */
.contact-section {
    padding: 8rem 0;
    background-color: rgba(0, 0, 0, 0.1);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

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

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

.contact-lead {
    font-size: 1.3rem;
    margin-bottom: 0;
    font-weight: 300;
    line-height: 1.7;
}

.social-links-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-link {
    color: var(--text-light);
    text-decoration: none;
    font-size: 1.15rem;
    display: flex;
    align-items: center;
    gap: 15px;
    transition: color 0.3s;
}

.contact-link i {
    width: 25px;
    color: var(--primary-bright);
}

.contact-link:hover {
    color: var(--primary-bright);
}

/* Tarjeta de Contacto por WhatsApp */
.contact-whatsapp-card {
    position: relative;
    background: rgba(15, 10, 18, 0.85);
    border: 2px solid var(--primary-bright);
    padding: 3.5rem 2rem;
    border-radius: 18px;
    box-shadow: 0 0 25px rgba(184, 13, 34, 0.6), inset 0 0 20px rgba(184, 13, 34, 0.3);
    overflow: hidden;
    backdrop-filter: blur(12px);
    text-align: center;
}

.contact-whatsapp-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(transparent, var(--primary-bright), transparent 30%);
    animation: rotateNeon 8s linear infinite;
    z-index: 0;
    opacity: 0.5;
    pointer-events: none;
}

.contact-whatsapp-card::after {
    content: '';
    position: absolute;
    inset: 2px;
    background: rgba(12, 8, 14, 0.95);
    border-radius: 16px;
    z-index: 1;
    pointer-events: none;
}

.whatsapp-card-content {
    position: relative;
    z-index: 2;
}

.whatsapp-card-icon {
    font-size: 3.8rem;
    color: #25d366;
    margin-bottom: 1.2rem;
    filter: drop-shadow(0 0 12px rgba(37, 211, 102, 0.6));
}

.whatsapp-card-content h3 {
    font-family: var(--font-new-title);
    font-size: 2rem;
    color: var(--white);
    margin-bottom: 1rem;
    letter-spacing: 1px;
}

.whatsapp-card-content p {
    color: var(--text-light);
    font-size: 1.05rem;
    margin-bottom: 2.2rem;
    max-width: 450px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.btn-whatsapp-large {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 1.1rem 2.2rem;
    background-color: #25d366;
    color: #ffffff;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.4s ease;
    box-shadow: 0 0 20px rgba(37, 211, 102, 0.4);
}

.btn-whatsapp-large:hover {
    background-color: #1ebd56;
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 0 35px rgba(37, 211, 102, 0.85);
}

@keyframes rotateNeon {
    100% {
        transform: rotate(360deg);
    }
}

/* Acciones para el video de presentación */
.video-actions {
    padding: 1rem;
    background: rgba(15, 10, 18, 0.9);
    display: flex;
    justify-content: flex-end;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

/* Burbuja Flotante de WhatsApp */
.whatsapp-float-bubble {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.6), 0 0 20px rgba(37, 211, 102, 0.7);
    z-index: 9999;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-decoration: none;
}

.whatsapp-float-bubble:hover {
    transform: scale(1.15);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.8), 0 0 30px rgba(37, 211, 102, 0.95);
    background-color: #1ebd56;
}

/* Footer con Logo y Redes Sociales */
.footer {
    padding: 4rem 0 2.5rem;
    background-color: #000000;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    text-align: center;
}

.footer-logo {
    height: 50px;
    width: auto;
    opacity: 0.9;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.footer-logo:hover {
    opacity: 1;
    transform: scale(1.05);
}

.footer-socials {
    display: flex;
    gap: 1.2rem;
    margin: 0.5rem 0;
}

.footer-socials a {
    color: var(--text-light);
    font-size: 1.3rem;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-decoration: none;
}

.footer-socials a:hover {
    color: var(--white);
    background: var(--primary-bright);
    border-color: var(--primary-bright);
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(184, 13, 34, 0.6);
}

.footer-copy {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Rendering Performance: content-visibility auto para secciones offscreen */
.services-section,
.portfolio-section,
.typewriter-section,
.about-section,
.contact-section {
    content-visibility: auto;
    contain-intrinsic-size: auto 800px;
}

/* Responsividad Avanzada para Móviles y Tablets */
@media (max-width: 992px) {
    .about-grid-layout, 
    .contact-grid, 
    .hero-top-grid, 
    .disciplines-block {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .hero-clean-layout {
        padding-top: 7rem;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 1.25rem;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: rgba(15, 10, 18, 0.98);
        flex-direction: column;
        padding: 2rem 0;
        text-align: center;
        box-shadow: 0 10px 25px rgba(0,0,0,0.8);
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .hamburger {
        display: block;
    }
    
    .hero-action-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .btn-hero {
        width: 100%;
        text-align: center;
    }

    .skills-grid {
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
    }
    
    .skills-list, .tools-list {
        text-align: center;
    }
    
    .divider {
        width: 100px;
        height: 2px;
        margin: 0.5rem 0;
    }

    .section-title {
        font-size: 2.2rem;
        margin-bottom: 2.5rem;
    }

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

    .typewriter-box {
        font-size: 1.25rem;
        padding: 0 0.5rem;
    }

    .typewriter-connect-text {
        font-size: 1.05rem;
    }

    .about-video-wrapper {
        max-width: 280px;
    }

    .contact-whatsapp-card {
        padding: 2.5rem 1.5rem;
    }

    .whatsapp-card-content h3 {
        font-size: 1.6rem;
    }

    .btn-whatsapp-large {
        width: 100%;
        padding: 1rem 1.5rem;
        font-size: 1rem;
    }

    .whatsapp-float-bubble {
        bottom: 20px;
        right: 20px;
        width: 54px;
        height: 54px;
        font-size: 1.8rem;
    }
}

@media (max-width: 480px) {
    .main-title {
        font-size: 2rem;
    }

    .hero-tagline {
        font-size: 1.1rem;
    }

    .disciplines-subtitle {
        font-size: 1.6rem;
    }

    .carousel-btn {
        width: 34px;
        height: 34px;
        font-size: 0.85rem;
    }

    .prev-btn {
        left: 6px;
    }

    .next-btn {
        right: 6px;
    }

    .footer-socials {
        gap: 0.8rem;
    }

    .footer-socials a {
        width: 38px;
        height: 38px;
        font-size: 1.1rem;
    }
}
