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

:root {
    --bg-color: #f5f8ff;
    --text-primary: #343434;
    --text-secondary: #666;
    --color-pink: #fe4382;
    --color-lime: #b6ed21;
    --color-yellow: #f7ed31;
    --color-black-block: #1a1a1a;
}

body {
    font-family: 'Antonio', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--bg-color);
    color: var(--text-primary);
    overflow-x: hidden;
}

/* ===== INICIO: ESTILOS DEL NUEVO MENÚ ===== */
header {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    background: rgba(245, 248, 255, 0.5);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid rgba(10, 14, 39, 0.08);
    transition: all 0.3s ease;
}

header.scrolled {
    background: rgba(245, 248, 255, 0.75);
    backdrop-filter: blur(25px) saturate(180%);
    -webkit-backdrop-filter: blur(25px) saturate(180%);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
}

/* Logo en el header */
header .logo {
    display: block;
    height: 40px;
}

header .logo img {
    height: 100%;
    width: auto;
    object-fit: contain;
}

/* Logo desktop visible por defecto */
header .logo-desktop {
    display: block;
}

/* Logo móvil oculto por defecto */
header .logo-mobile {
    display: none;
}

/* ===== MEDIA QUERY PARA MÓVILES ===== */
@media (max-width: 768px) {
    header .logo {
        height: 30px;
    }
    
    /* Ocultamos el logo de escritorio */
    header .logo-desktop {
        display: none;
    }

    /* Mostramos el logo de móvil */
    header .logo-mobile {
        display: block;
    }
}

/* ===== CSS DE DIAGNÓSTICO PARA IMAGEN HERO ===== */
.hero-content-container {
    position: relative; 
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-main-image {
    max-width: 100%;
    max-height: 100vh;
    height: auto;
}

/* Para tablets y dispositivos medianos */
@media (max-width: 968px) {
    .hero-main-image {
        max-height: 70vh; /* Reduce la altura máxima en tablets */
        padding: 0 1rem;  /* Añade un pequeño espacio lateral */
    }
}

/* Para móviles */
@media (max-width: 480px) {
    .hero {
        /* Asegura que la sección hero no sea demasiado alta en móviles */
        min-height: auto; 
        padding-top: 8rem; /* Ajusta el espacio superior para el header fijo */
        padding-bottom: 4rem;
    }

    .hero-main-image {
        max-height: 60vh; /* Reduce aún más la altura para móviles */
        padding: 0;       /* Elimina el padding si no es necesario */
    }
}

/* Hamburger Button */
.menu-toggle {
    width: 44px;
    height: 44px;
    border: none;
    border-radius: 12px;
    background: transparent;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    position: relative;
    z-index: 1001;
}

.menu-toggle:hover {
    transform: scale(1.08) rotate(5deg);
}

.menu-toggle.active {
    transform: scale(0.95);
}

.hamburger {
    width: 20px;
    height: 2px;
    background: #343434;
    border-radius: 2px;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    position: relative;
}

.menu-toggle.active .hamburger:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
    background: linear-gradient(90deg, #fe4382 0%, #fd87eb 100%);
}

.menu-toggle.active .hamburger:nth-child(2) {
    opacity: 0;
    transform: translateX(-20px);
}

.menu-toggle.active .hamburger:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
    background: linear-gradient(90deg, #fe4382 0%, #fd87eb 100%);
}

/* Full Screen Menu */
.fullscreen-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: #f5f8ff;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.5s cubic-bezier(0.77, 0, 0.175, 1);
    z-index: 999;
}

.fullscreen-menu.active {
    opacity: 1;
    visibility: visible;
}

.menu-content {
    text-align: left;
    padding: 2rem;
}

.menu-item {
    overflow: hidden;
    margin-bottom: 1rem;
}

.menu-link {
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 300;
    color: #343434;
    text-decoration: none;
    display: inline-block;
    position: relative;
    transform: translateY(100%);
    opacity: 0;
    transition: all 0.6s cubic-bezier(0.77, 0, 0.175, 1);
}

.fullscreen-menu.active .menu-link {
    transform: translateY(0);
    opacity: 1;
}

.menu-link:nth-child(1) { transition-delay: 0.1s; }
.menu-link:nth-child(2) { transition-delay: 0.2s; }
.menu-link:nth-child(3) { transition-delay: 0.3s; }
.menu-link:nth-child(4) { transition-delay: 0.4s; }

.menu-number {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: rgba(10, 14, 39, 0.3);
    margin-left: 1rem;
    font-weight: 300;
}

.menu-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #fe4382 0%, #fd87eb 100%);
    transition: width 0.4s ease;
}

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

.menu-link:hover {
    background: linear-gradient(90deg, #fe4382 0%, #fd87eb 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Social Links */
.menu-footer {
    position: absolute;
    bottom: 3rem;
    left: 2rem;
    display: flex;
    gap: 2rem;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease 0.5s;
}

.fullscreen-menu.active .menu-footer {
    opacity: 1;
    transform: translateY(0);
}

.social-link {
    color: rgba(10, 14, 39, 0.5);
    text-decoration: none;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: all 0.3s ease;
    position: relative;
}

.social-link::after {
    content: '↗';
    margin-left: 0.5rem;
    opacity: 0;
    transition: all 0.3s ease;
}

.social-link:hover {
    color: #343434;
}

.social-link:hover::after {
    opacity: 1;
    transform: translate(3px, -3px);
}

/* Animated Background */
.bg-gradient {
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: linear-gradient(45deg, #667eea, #764ba2);
    opacity: 0.1;
    filter: blur(100px);
    pointer-events: none;
    animation: float 8s ease-in-out infinite;
}

.bg-gradient:nth-child(2) {
    top: 60%;
    right: 10%;
    animation-delay: 2s;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(50px, 50px) scale(1.1); }
}
/* ===== FIN: ESTILOS DEL NUEVO MENÚ ===== */

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 3rem;
    position: relative;
}

/* ... (El resto de tu CSS original de styles.css va aquí sin cambios) ... */
.hero-left {
    flex: 1;
    max-width: 600px;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease forwards 0.3s;
}

.hero-title {
    font-size: clamp(4rem, 10vw, 12rem);
    font-weight: 900;
    line-height: 0.9;
    letter-spacing: -0.02em;
}

.hero-right {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    animation: fadeIn 1.2s ease forwards 0.6s;
}

.hero-image {
    width: 100%;
    max-width: 500px;
    perspective: 1000px;
}

.card-3d {
    width: 90%;
    height: 700px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transform-style: preserve-3d;
    transition: transform 0.5s ease;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

.card-3d:hover {
    transform: rotateY(5deg) rotateX(5deg);
}

/* Current Section */
.current-section {
    position: absolute;
    bottom: 3rem;
    left: 3rem;
    font-size: 0.85rem;
    line-height: 1.8;
    opacity: 0;
    animation: fadeIn 1s ease forwards 0.9s;
}

.current-label {
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.current-text {
    color: var(--text-secondary);
    max-width: 400px;
}

/* About Section */
.section {
    padding: 4rem 3rem;
    position: relative;
}

.about-section {
    min-height: 100vh;
}

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

.section-content {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease;
}

.section-content.visible {
    opacity: 1;
    transform: translateY(0);
}

.section-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    display: block;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 300;
    line-height: 1.2;
    margin-bottom: 2rem;
    font-family: 'Antonio', sans-serif; /* Usar la fuente audaz */
}

.section-text {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.section-image {
    width: 100%;
    height: 500px;
    background: #1a1a1a;
    border-radius: 12px;
    object-fit: cover;
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: scale(0.95);
    transition: all 0.8s ease;
}

.section-image.visible {
    opacity: 1;
    transform: scale(1);
}

.section-image::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200px;
    height: 200px;
    background: linear-gradient(45deg, #333, #555);
    border-radius: 50%;
    opacity: 0.3;
}

/* ---------------------------------------------------- */
/* STEPS SECTION - NUEVA VERSIÓN */
/* ---------------------------------------------------- */
.steps-section {
    min-height: 100vh;
    padding-top: 4rem; /* Reduce el espacio superior a la mitad */
    padding-bottom: 8rem; /* Mantiene el espacio inferior original */
    background: #343434;
    position: relative;
}

.steps-container-wrapper {
    max-width: 1600px;
    margin: 0 auto;
}

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

.steps-section-title {
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 900;
    line-height: 1;
    margin-bottom: 1.5rem;
    font-family: 'Antonio', sans-serif;
    color: #f5f8ff;
}

.steps-section-subtitle {
    font-size: 1.2rem;
    color: #f5f8ff;
    font-weight: 300;
}

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

.step-column {
    position: relative;
    overflow: visible;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    transition: all 0.5s ease;
    opacity: 0;
    transform: translateY(80px);
}

.step-column.visible {
    opacity: 1;
    transform: translateY(0);
}

.step-column-1.visible { transition-delay: 0.1s; }
.step-column-2.visible { transition-delay: 0.3s; }
.step-column-3.visible { transition-delay: 0.5s; }

.step-column:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.step-column-1 {
    border: 12px solid #fe4382;
    border-radius: 30px;
}

.step-column-2 {
    border: 12px solid #52d8c8;
    border-radius: 30px;
}

.step-column-3 {
    border: 12px solid #b6ed21;
    border-radius: 30px;
}

.step-number-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 3.5rem;
    font-weight: 900;
    z-index: 20;
    font-family: 'Antonio', sans-serif;
}

.step-column-1 .step-number-badge { color: #fe4382; }
.step-column-2 .step-number-badge { color: #52d8c8; }
.step-column-3 .step-number-badge { color: #b6ed21; }

.star-decoration {
    position: absolute;
    top: -60px;
    right: -28px;
    z-index: 30;
    filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.2));
}

.star-decoration img {
    width: 140px;
    height: 140px;
    object-fit: contain;
    display: block;
}

.step-column-2 .star-decoration img {
    width: 150px;
    height: 150px;
}

.step-image-container {
    width: 100%;
    height: 320px;
    background: #2a2a2a;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
    border-radius: 20px 20px 0 0;
}

.step-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%);
}

.step-info {
    padding: 2.5rem;
    background: white;
    border-radius: 0 0 20px 20px;
}

.step-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #343434;
    font-family: 'Antonio', sans-serif;
    line-height: 1.2;
    text-transform: uppercase;
}

.step-desc {
    font-size: 0.95rem;
    line-height: 1.7;
    color: #666;
    margin-bottom: 1.5rem;
}

.step-link-button {
    display: inline-block;
    padding: 12px 28px;
    color: white;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.step-column-1 .step-link-button { background: #fe4382; }
.step-column-2 .step-link-button { background: #52d8c8; color: white; }
.step-column-3 .step-link-button { background: #b6ed21; color: #343434; }

.step-link-button:hover {
    transform: translateX(5px);
}

.step-column-1 .step-link-button:hover { background: #e33970; }
.step-column-2 .step-link-button:hover { background: #00b8b8; }
.step-column-3 .step-link-button:hover { background: #a0d61e; }

/* Services Section (manteniendo los estilos originales) */
.services-section {
    background: #d8d8d8;
}

/* ESTILOS DE INSIGHTS ACTUALIZADOS */
.insights-section {
    min-height: 100vh;
    background: #f5f8ff;
    padding: 8rem 3rem;
    position: relative;
    display: flex;
    align-items: center;
}

.insights-container {
    max-width: 1600px;
    margin: 0 auto;
    width: 100%;
}

.insights-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: flex-start;
    margin-bottom: 6rem;
}

.insights-left {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.insights-citation-large {
    font-size: clamp(3rem, 6vw, 5rem);
    font-weight: 700;
    color: #343434;
    font-family: 'Antonio', sans-serif;
    line-height: 1;
}

.insights-citation-box {
    font-size: 1.2rem;
    font-weight: 700;
    color: #343434;
    font-family: 'Antonio', sans-serif;
    padding: 0.8rem 1.5rem;
    display: inline-block;
    border-radius: 8px;
    width: fit-content;
}

.insights-source-italic {
    font-size: 1rem;
    font-style: italic;
    color: #666;
}

.insights-right {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.insights-main-text {
    font-size: clamp(1.3rem, 2.5vw, 2rem);
    font-weight: 400;
    line-height: 1.5;
    color: #343434;
    font-family: 'Antonio', sans-serif;
}

.insights-source-bottom {
    font-size: 1rem;
    font-style: italic;
    color: #666;
}

/* Phone Cards Section */
.insights-cards-section {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 3rem;
    max-width: 1600px;
    margin: 0 auto;
}

.cards-section-title {
    font-size: clamp(2rem, 5vw, 4rem);
    font-weight: 900;
    line-height: 1;
    color: #343434;
    font-family: 'Antonio', sans-serif;
    margin: 4rem 0 0 0;
    padding: 0;
    width: 100%;
}

.insights-cards-wrapper {
    display: flex;
    align-items: center;
    gap: 2rem;
    width: 100%;
    position: relative;
    min-height: 750px;
}

.insights-cards-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    width: 100%;
    overflow: visible;
    position: relative;
    min-height: 700px;
    align-items: center;
}

.card-hidden {
    display: none;
}

.insight-card-phone {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInCard 0.6s ease forwards;
}

.insight-card-phone:nth-child(1) { animation-delay: 0.1s; }
.insight-card-phone:nth-child(2) { animation-delay: 0.2s; }
.insight-card-phone:nth-child(3) { animation-delay: 0.3s; }


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

.card-nav-button {
    width: 60px; height: 60px; border-radius: 50%; border: none;
    background: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
    color: #1a1a1a; display: flex; align-items: center; justify-content: center;
    cursor: pointer; transition: all 0.3s ease; flex-shrink: 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.card-nav-button:hover {
    background: rgba(255, 255, 255, 0.5); transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}
.card-nav-button:active { transform: scale(0.95); }
.card-nav-button svg { width: 24px; height: 24px; stroke: #1a1a1a; stroke-width: 2.5; }

.insight-card-phone {
    width: 100%; max-width: 400px; height: 650px;
    position: relative; margin: 0 auto; perspective: 1500px;
}

.phone-card-inner {
    position: relative; width: 100%; height: 100%;
    transition: transform 0.8s; transform-style: preserve-3d;
}

.insight-card-phone:hover .phone-card-inner { transform: rotateY(180deg); }

.phone-card-front, .phone-card-back {
    position: absolute; width: 100%; height: 100%;
    backface-visibility: hidden; border-radius: 45px;
    overflow: hidden; box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.phone-card-front { background:#f5f8ff; }

.phone-card-back {
    transform: rotateY(180deg);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    position: relative;
    overflow: hidden;
    background: #f5f8ff;
}

.phone-back-image-full {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Mismo que en el frontal */
    object-position: center;
    position: absolute;
    top: 0;
    left: 0;
}

.insight-card-phone-1 .phone-card-front, .insight-card-phone-1 .phone-card-back { border: 9px solid #fe4382; }
.insight-card-phone-2 .phone-card-front, .insight-card-phone-2 .phone-card-back { border: 9px solid #52d8c8; }
.insight-card-phone-3 .phone-card-front, .insight-card-phone-3 .phone-card-back { border: 9px solid #f7ed31; }
.insight-card-phone-4 .phone-card-front, .insight-card-phone-4 .phone-card-back { border: 9px solid #b6ed21; }
.insight-card-phone-5 .phone-card-front, .insight-card-phone-5 .phone-card-back { border: 9px solid #5139ff; }
.insight-card-phone-6 .phone-card-front, .insight-card-phone-6 .phone-card-back { border:9px solid #fd87eb; }

.phone-image {
    width: 100%;
    height: 100%;
    background: #f5f8ff;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.phone-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
}

.phone-image::before {
    display: none;
}

/* Navigation Dots */
.insights-navigation-dots { display: flex; gap: 0.8rem; justify-content: center; }
.nav-dot { width: 14px; height: 14px; border-radius: 50%; background: #c0c0c0; cursor: pointer; transition: all 0.3s ease; }
.nav-dot:hover { background: #999; transform: scale(1.1); }
.nav-dot.active-dot { background: #fe4382; transform: scale(1.2); }
/* FIN DE ESTILOS ACTUALIZADOS */

/* Card 3D Background Images */
.card-3d {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

#card-1 { background-image: url('images/Reflexion.png'); }
#card-2 { background-image: url('images/Rotacion.png'); }
#card-3 { background-image: url('images/Traslacion.png'); }

.card-3d::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    border-radius: 20px;
    z-index: 1;
    transition: background 0.3s ease;
}

.card-3d:hover::before {
    background: rgba(0, 0, 0, 0.2);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    margin-top: 4rem;
}

.service-column .hero-right {
    margin-bottom: 2rem;
}

.service-item {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease;
}

.service-item.visible {
    opacity: 1;
    transform: translateY(0);
}

.service-number {
    font-size: 1.5rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.service-title {
    font-size: 1.3rem;
    font-weight: 500;
    margin-bottom: 1rem;
}

.service-desc {
    color: var(--text-secondary);
    line-height: 1.8;
    font-size: 0.95rem;
}

/* Footer Styles */
.final-footer {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: #343434;
    color: #f5f8ff;
    padding: 5rem 3rem;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.footer-content-container {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.footer-brand-title {
    font-size: clamp(4rem, 15vw, 12rem);
    font-weight: 900;
    line-height: 1;
    margin-bottom: 2rem;
    order: 2;
    font-family: 'Antonio', sans-serif;
}

.footer-cta-text {
    font-size: 1.5rem;
    opacity: 0.8;
    margin-bottom: 2.5rem;
    max-width: 600px;
}

.footer-button {
    display: inline-block;
    padding: 1rem 2.5rem;
    border: 2px solid #f5f8ff;
    border-radius: 50px;
    color: #f5f8ff;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    transition: all 0.3s ease;
}

.footer-button:hover {
    background: #f5f8ff;
    color: #1a1a1a;
}

.footer-svg-graphic {
    margin-bottom: 2rem;
    order: 1;
}

.footer-svg-graphic .path {
    stroke-dasharray: 1000;
    stroke-dashoffset: 1000;
    animation: draw 2s cubic-bezier(0.25, 1, 0.5, 1) forwards 0.5s;
}

.footer-svg-graphic .circle {
    transform-origin: center;
    transform: scale(0);
    animation: scale-up 0.6s cubic-bezier(0.5, 0, 0.5, 1) forwards 1.5s;
}

.footer-bottom-bar {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: absolute;
    bottom: 0;
    left: 0;
    padding: 1.5rem 3rem;
    border-top: 1px solid rgba(245, 248, 255, 0.2);
}

.footer-copy {
    font-size: 0.9rem;
    opacity: 0.6;
}

.footer-links {
    display: flex;
    gap: 1.5rem;
}

.footer-links a {
    font-size: 0.9rem;
    color: #e8e8e8;
    text-decoration: none;
    opacity: 0.6;
    transition: opacity 0.3s ease;
}

.footer-links a:hover {
    opacity: 1;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

@keyframes draw {
    to { stroke-dashoffset: 0; }
}

@keyframes scale-up {
    to { transform: scale(1); }
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1200px) {
    .menu-content { padding: 1rem; }
    .menu-footer { flex-direction: column; gap: 1rem; }
}

/* Responsive para Steps Section */
@media (max-width: 1200px) {
    .steps-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2.5rem;
    }
    
    .step-column-3 {
        grid-column: 1 / -1;
        max-width: 50%;
        margin: 0 auto;
    }
}

@media (max-width: 968px) {
    header { padding: 1.5rem 2rem; }
    .hero { flex-direction: column; padding: 6rem 2rem 2rem; }
    .section-grid { grid-template-columns: 1fr; gap: 3rem; }
    .services-grid { grid-template-columns: 1fr; }
    .footer-bottom-bar { flex-direction: column; gap: 1rem; position: relative; padding: 2rem 1.5rem; border-top: none; }
    .final-footer { padding-bottom: 8rem; }
    
    /* Steps responsive */
    .steps-section { padding: 5rem 2rem; }
    .steps-section-header { margin-bottom: 4rem; }
    .steps-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .step-column-3 {
        grid-column: 1;
        max-width: 100%;
    }
    
    .step-image-container {
        height: 250px;
    }

    .step-column {
        border-width: 8px;
    }
}

/* Responsive para Insights Cards */
@media (max-width: 1200px) {
    .insights-cards-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    
    .insight-card-phone {
        max-width: 350px;
        height: 600px;
    }
    
    .insights-cards-wrapper {
        min-height: 650px;
    }
}

@media (max-width: 968px) {
    .insights-section {
        padding: 5rem 2rem;
    }
    
    .insights-layout {
        grid-template-columns: 1fr;
        gap: 3rem;
        margin-bottom: 4rem;
    }
    
    .insights-cards-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .insight-card-phone {
        max-width: 320px;
        height: 550px;
    }
    
    .insights-cards-wrapper {
        min-height: auto;
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .card-nav-button {
        position: static;
        transform: none;
        order: 2;
        display: none; /* Ocultar botones en móvil */
    }
    
    .insights-cards-container {
        order: 1;
    }
    
    .insights-navigation-dots {
        order: 3;
        margin-top: 1rem;
        display: none; /* Ocultar dots en móvil */
    }
}

@media (max-width: 480px) {
    .insights-section {
        padding: 4rem 1.5rem;
    }
    
    .insight-card-phone {
        max-width: 280px;
        height: 500px;
    }
    
    .phone-card-front, .phone-card-back {
        border-radius: 35px;
        border-width: 6px;
    }
    
    .insights-cards-wrapper {
        gap: 1rem;
    }
    
    .insights-cards-container {
        gap: 1.5rem;
    }
}

/* ===== ANIMACIONES DE DESPLAZAMIENTO PARA LAS TARJETAS ===== */

/* Animaciones de desplazamiento para las tarjetas - VERSIÓN SIMPLIFICADA */
.insight-card-phone {
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Estados de animación */
.card-sliding-out-left {
    transform: translateX(-100px);
    opacity: 0;
}

.card-sliding-out-right {
    transform: translateX(100px);
    opacity: 0;
}

.card-sliding-in-left {
    animation: slideInFromLeft 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

.card-sliding-in-right {
    animation: slideInFromRight 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

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

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

/* Efecto de click en botones de navegación */
.card-nav-button.button-click {
    transform: scale(0.95);
    background: rgba(255, 255, 255, 0.6);
    transition: all 0.2s ease;
}