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

:root {
    --primary-color: #0066ff;
    --secondary-color: #00a8ff;
    --accent-color: #ff4757;
    --text-color: #2c3e50;
    --text-light: #5a6c7d;
    --bg-white: #ffffff;
    --bg-light: #f8f9fa;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: var(--bg-white);
    color: var(--text-color);
    overflow-x: hidden;
    min-height: 100vh;
    position: relative;
}

.container {
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    position: relative;
    z-index: 1;
}

.content-wrapper {
    max-width: 1200px;
    width: 100%;
    text-align: center;
    position: relative;
}

/* Header y Logo */
.header {
    margin-bottom: 60px;
    position: relative;
    animation: fadeInDown 1s ease-out;
    padding: 40px 20px;
}

.header-decoration {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 600px;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.decoration-line {
    position: absolute;
    top: 50%;
    width: 120px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
    opacity: 0.4;
    animation: expandLine 1.5s ease-out 0.5s both;
}

.left-line {
    left: 0;
    transform-origin: left;
}

.right-line {
    right: 0;
    transform-origin: right;
}

.decoration-circle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
    background: var(--primary-color);
    border-radius: 50%;
    box-shadow: 0 0 20px rgba(0, 102, 255, 0.6);
    animation: pulse 2s ease-in-out infinite;
}

.logo-container {
    position: relative;
    display: inline-block;
    margin-bottom: 20px;
    z-index: 1;
}

.logo-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(0, 102, 255, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    animation: glowPulse 3s ease-in-out infinite;
    z-index: -1;
}

.logo {
    font-size: 4.5rem;
    font-weight: 800;
    letter-spacing: 3px;
    margin: 0;
    position: relative;
    z-index: 1;
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 5px;
}

.logo-text {
    background: linear-gradient(135deg, #1a1a1a 0%, #2c3e50 30%, #1a1a1a 60%, #000000 100%);
    background-size: 200% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 3s ease infinite;
    position: relative;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.logo-text::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #1a1a1a, #2c3e50, #1a1a1a);
    opacity: 0.4;
    animation: underlineExpand 1s ease-out 1s both;
}

.dot {
    color: var(--accent-color);
    font-size: 4.5rem;
    animation: dotPulse 2s ease-in-out infinite;
    display: inline-block;
}

.header-content {
    position: relative;
    z-index: 1;
    margin-top: 30px;
}

.tagline {
    font-size: 1.1rem;
    color: var(--text-light);
    letter-spacing: 4px;
    text-transform: uppercase;
    font-weight: 400;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    animation: fadeInUp 1s ease-out 0.8s both;
}

.tagline-icon {
    font-size: 1.2rem;
    animation: iconBounce 2s ease-in-out infinite;
    display: inline-block;
}

.slogan-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 25px;
    animation: fadeInUp 1s ease-out 1s both;
}

.slogan-line {
    width: 60px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
    opacity: 0.5;
    animation: expandLine 1s ease-out 1.2s both;
}

.slogan {
    font-size: 1.5rem;
    color: var(--primary-color);
    font-weight: 600;
    font-style: italic;
    letter-spacing: 2px;
    margin: 0;
    position: relative;
    padding: 0 15px;
    text-shadow: 0 2px 15px rgba(0, 102, 255, 0.2);
}

.slogan::before {
    content: '“';
    position: absolute;
    left: -10px;
    top: -10px;
    font-size: 2rem;
    color: var(--primary-color);
    opacity: 0.3;
    font-family: serif;
}

.slogan::after {
    content: '"';
    position: absolute;
    right: -10px;
    bottom: -15px;
    font-size: 2rem;
    color: var(--primary-color);
    opacity: 0.3;
    font-family: serif;
}

/* Animaciones del Header */
@keyframes expandLine {
    from {
        width: 0;
        opacity: 0;
    }
    to {
        width: 120px;
        opacity: 0.4;
    }
}

@keyframes pulse {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.5);
        opacity: 0.7;
    }
}

@keyframes glowPulse {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.15;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.2);
        opacity: 0.25;
    }
}

@keyframes gradientShift {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

@keyframes underlineExpand {
    from {
        width: 0;
    }
    to {
        width: 100%;
    }
}

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

@keyframes iconBounce {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    25% {
        transform: translateY(-5px) rotate(-10deg);
    }
    75% {
        transform: translateY(-5px) rotate(10deg);
    }
}

/* Video Container */
.video-container {
    position: relative;
    width: 100%;
    max-width: 900px;
    margin: 0 auto 50px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 102, 255, 0.15),
                0 0 0 2px rgba(0, 102, 255, 0.1);
    animation: fadeInUp 1s ease-out 0.3s both;
}

.video-container video {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 20px;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        to bottom,
        rgba(255, 255, 255, 0.1) 0%,
        transparent 30%,
        transparent 70%,
        rgba(255, 255, 255, 0.1) 100%
    );
    pointer-events: none;
    border-radius: 20px;
}

/* Mensaje Principal */
.main-message {
    margin-bottom: 50px;
    animation: fadeInUp 1s ease-out 0.6s both;
}

.construction-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 5px;
}

.letter {
    display: inline-block;
    animation: bounceIn 0.6s ease-out both;
    color: var(--text-color);
}

.space {
    width: 10px;
}

.subtitle {
    font-size: 1.5rem;
    color: var(--text-light);
    margin-bottom: 30px;
    font-weight: 300;
}

/* Progress Bar */
.progress-bar {
    width: 100%;
    max-width: 400px;
    height: 6px;
    background: rgba(0, 102, 255, 0.1);
    border-radius: 10px;
    margin: 0 auto;
    overflow: hidden;
    position: relative;
}

.progress-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-radius: 10px;
    animation: progressAnimation 3s ease-in-out infinite;
    box-shadow: 0 0 15px rgba(0, 102, 255, 0.4);
}

/* Información de Contacto */
.contact-info {
    animation: fadeInUp 1s ease-out 0.9s both;
}

.coming-soon {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 25px;
    font-weight: 300;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.contact-link {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-color);
    text-decoration: none;
    padding: 12px 24px;
    border: 2px solid rgba(0, 102, 255, 0.2);
    border-radius: 50px;
    transition: all 0.3s ease;
    background: rgba(0, 102, 255, 0.05);
}

.contact-link svg {
    width: 20px;
    height: 20px;
    stroke: var(--primary-color);
}

.contact-link:hover {
    border-color: var(--primary-color);
    background: rgba(0, 102, 255, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 102, 255, 0.2);
    color: var(--primary-color);
}

.contact-link span {
    font-size: 0.95rem;
}

/* Servicios */
.services-section {
    margin-top: 100px;
    padding: 60px 20px;
    animation: fadeInUp 1s ease-out 1.2s both;
}

.services-header {
    text-align: center;
    margin-bottom: 50px;
}

.services-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.services-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-radius: 2px;
}

.services-subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-top: 30px;
    font-weight: 300;
}

.services-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 40px;
}

.service-card {
    background: linear-gradient(135deg, rgba(0, 102, 255, 0.03) 0%, rgba(0, 168, 255, 0.03) 100%);
    border: 2px solid rgba(0, 102, 255, 0.1);
    border-radius: 20px;
    padding: 40px 25px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: default;
    position: relative;
    overflow: hidden;
}

.service-card::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.5s;
}

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

.service-card:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: var(--primary-color);
    box-shadow: 0 15px 40px rgba(0, 102, 255, 0.2);
    background: linear-gradient(135deg, rgba(0, 102, 255, 0.08) 0%, rgba(0, 168, 255, 0.08) 100%);
}

.service-icon-wrapper {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, rgba(0, 102, 255, 0.1) 0%, rgba(0, 168, 255, 0.1) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s ease;
    position: relative;
}

.service-card:hover .service-icon-wrapper {
    transform: rotate(360deg) scale(1.1);
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    box-shadow: 0 10px 30px rgba(0, 102, 255, 0.3);
}

.service-svg {
    width: 40px;
    height: 40px;
    stroke: var(--primary-color);
    transition: all 0.4s ease;
}

.service-card:hover .service-svg {
    stroke: white;
    transform: scale(1.1);
}

.service-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-color);
    margin: 0;
    line-height: 1.4;
    transition: color 0.3s ease;
}

.service-card:hover .service-title {
    color: var(--primary-color);
}

/* Servicio Destacado (Fichajes) */
.service-featured {
    margin-top: 50px;
    display: flex;
    justify-content: center;
    width: 100%;
}

.service-card-featured {
    max-width: 300px;
    width: 100%;
}

/* Sección ESET */
.eset-section {
    margin-top: 100px;
    padding: 60px 20px;
    background: linear-gradient(135deg, rgba(0, 102, 255, 0.05) 0%, rgba(0, 168, 255, 0.05) 100%);
    border-radius: 30px;
    animation: fadeInUp 1s ease-out 1.5s both;
}

.eset-header {
    text-align: center;
    margin-bottom: 40px;
}

.eset-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 20px;
}

.eset-logo-wrapper {
    display: inline-block;
    padding: 15px 40px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-radius: 50px;
    box-shadow: 0 10px 30px rgba(0, 102, 255, 0.3);
}

.eset-logo {
    font-size: 2.5rem;
    font-weight: 900;
    color: white;
    letter-spacing: 5px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.eset-banner-container {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
    padding: 20px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

/* Partículas Decorativas */
.particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--primary-color);
    border-radius: 50%;
    box-shadow: 0 0 8px rgba(0, 102, 255, 0.4);
    animation: float 15s infinite ease-in-out;
    opacity: 0.6;
}

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

.particle:nth-child(2) {
    left: 30%;
    animation-delay: 2s;
    animation-duration: 18s;
}

.particle:nth-child(3) {
    left: 50%;
    animation-delay: 4s;
    animation-duration: 22s;
}

.particle:nth-child(4) {
    left: 70%;
    animation-delay: 1s;
    animation-duration: 19s;
}

.particle:nth-child(5) {
    left: 90%;
    animation-delay: 3s;
    animation-duration: 21s;
}

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

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

@keyframes bounceIn {
    0% {
        opacity: 0;
        transform: scale(0.3) translateY(-50px);
    }
    50% {
        opacity: 1;
        transform: scale(1.1);
    }
    70% {
        transform: scale(0.9);
    }
    100% {
        transform: scale(1);
    }
}

@keyframes progressAnimation {
    0% {
        width: 0%;
    }
    50% {
        width: 70%;
    }
    100% {
        width: 0%;
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(100vh) translateX(0) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100vh) translateX(100px) rotate(360deg);
        opacity: 0;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .header {
        padding: 30px 15px;
        margin-bottom: 40px;
    }

    .logo {
        font-size: 2.8rem;
        letter-spacing: 2px;
    }

    .logo-text {
        font-size: 2.8rem;
    }

    .dot {
        font-size: 2.8rem;
    }

    .logo-glow {
        width: 200px;
        height: 200px;
    }

    .decoration-line {
        width: 80px;
    }

    .tagline {
        font-size: 0.9rem;
        letter-spacing: 2px;
        gap: 10px;
    }

    .tagline-icon {
        font-size: 1rem;
    }

    .slogan {
        font-size: 1.2rem;
        padding: 0 10px;
        letter-spacing: 1px;
    }

    .slogan-line {
        width: 40px;
    }

    .slogan-wrapper {
        gap: 15px;
    }

    .construction-title {
        font-size: 2.5rem;
    }

    .subtitle {
        font-size: 1.2rem;
    }

    .video-container {
        margin-bottom: 30px;
    }

    .contact-link {
        padding: 10px 20px;
        font-size: 0.9rem;
    }

    .services-section {
        margin-top: 50px;
        padding: 40px 15px;
    }

    .services-title {
        font-size: 1.8rem;
    }

    .services-subtitle {
        font-size: 1rem;
    }

    .services-container {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
        gap: 20px;
        padding-top: 30px;
    }

    .service-card {
        padding: 30px 20px;
    }

    .service-icon-wrapper {
        width: 70px;
        height: 70px;
        margin-bottom: 15px;
    }

    .service-svg {
        width: 35px;
        height: 35px;
    }

    .service-title {
        font-size: 1rem;
    }

    .eset-section {
        margin-top: 60px;
        padding: 40px 15px;
    }

    .eset-title {
        font-size: 1.5rem;
    }

    .eset-logo {
        font-size: 2rem;
        letter-spacing: 3px;
    }

    .eset-logo-wrapper {
        padding: 12px 30px;
    }
}

@media (max-width: 480px) {
    .header {
        padding: 20px 10px;
    }

    .logo {
        font-size: 2rem;
        letter-spacing: 1px;
    }

    .logo-text {
        font-size: 2rem;
    }

    .dot {
        font-size: 2rem;
    }

    .logo-glow {
        width: 150px;
        height: 150px;
    }

    .decoration-line {
        width: 50px;
    }

    .tagline {
        font-size: 0.75rem;
        letter-spacing: 1px;
        gap: 8px;
        flex-wrap: wrap;
    }

    .tagline-icon {
        font-size: 0.9rem;
    }

    .slogan {
        font-size: 1rem;
        padding: 0 8px;
        letter-spacing: 0.5px;
    }

    .slogan-line {
        width: 30px;
    }

    .slogan-wrapper {
        gap: 10px;
    }

    .construction-title {
        font-size: 2rem;
    }

    .letter {
        font-size: 1.8rem;
    }

    .services-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .service-card {
        padding: 30px 20px;
    }

    .services-title {
        font-size: 1.5rem;
    }

    .eset-logo {
        font-size: 1.5rem;
        letter-spacing: 2px;
    }
}

/* Efectos adicionales */
.content-wrapper::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 102, 255, 0.05) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
    pointer-events: none;
    z-index: -1;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

