/* Fuentes EuclidCircularB */
@font-face {
    font-family: 'EuclidCircularB';
    src: url('fonts/EuclidCircularB-Regular.woff2') format('woff2'),
         url('fonts/EuclidCircularB-Regular.woff') format('woff');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'EuclidCircularB';
    src: url('fonts/EuclidCircularB-Medium.woff2') format('woff2'),
         url('fonts/EuclidCircularB-Medium.woff') format('woff');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'EuclidCircularB';
    src: url('fonts/EuclidCircularB-Semibold.woff2') format('woff2'),
         url('fonts/EuclidCircularB-Semibold.woff') format('woff');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'EuclidCircularB';
    src: url('fonts/EuclidCircularB-LightItalic.woff2') format('woff2'),
         url('fonts/EuclidCircularB-LightItalic.woff') format('woff');
    font-weight: 300;
    font-style: italic;
    font-display: swap;
}

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

body {
    margin: 0;
    padding: 0;
    color: white;
    font-family: 'EuclidCircularB', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    font-size: 160%;
    overflow: hidden;
    min-height: 100dvh;
    width: 100vw;
    background-color: #1A3657;
}

.container {
    position: relative;
    width: 100%;
    min-height: 100dvh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

/* Fondos divididos diagonalmente con gradientes - Azul como color principal */
.background-left {
    position: absolute;
    top: -10%;
    left: -10%;
    width: 120%;
    height: 120%;
    background-color: #1A3657;
    background-image: -webkit-linear-gradient(30deg, #1A3657 50%, #0F2A42 50%);
    background-image: linear-gradient(30deg, #1A3657 50%, #0F2A42 50%);
    z-index: 2;
    clip-path: polygon(0 0, 75% 0, 25% 100%, 0 100%);
}

.background-right {
    position: absolute;
    top: -10%;
    right: -10%;
    width: 120%;
    height: 120%;
    background-color: #F26522;
    background-image: -webkit-linear-gradient(150deg, #F26522 50%, #E55A1A 50%);
    background-image: linear-gradient(150deg, #F26522 50%, #E55A1A 50%);
    z-index: 1;
    clip-path: polygon(75% 0, 100% 0, 100% 100%, 25% 100%);
}

/* Formas abstractas decorativas con gradientes */
.abstract-shape {
    position: absolute;
    background-color: #708090;
    z-index: 2;
    opacity: 0.85;
}

.shape-1 {
    top: 0%;
    left: 40%;
    width: 70%;
    height: 100%;
    background-color: #708090;
    background-image: -webkit-linear-gradient(30deg, #708090 35%, #8a9ba8 35%);
    background-image: linear-gradient(30deg, #708090 35%, #8a9ba8 35%);
    clip-path: polygon(
        20% 0%,
        60% 0%,
        80% 30%,
        70% 60%,
        50% 80%,
        30% 70%,
        10% 50%,
        0% 20%
    );
    transform: rotate(-5deg);
}

.shape-2 {
    bottom: -8%;
    left: -3%;
    width: 25%;
    height: 35%;
    background-color: #708090;
    background-image: -webkit-linear-gradient(150deg, #708090 45%, #8a9ba8 45%);
    background-image: linear-gradient(150deg, #708090 45%, #8a9ba8 45%);
    border-radius: 50% 50% 0 50%;
    transform: rotate(20deg);
}

/* Contenedor de la Y grande */
.y-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    width: 140%;
    height: 140%;
    pointer-events: none;
    overflow: visible;
    will-change: transform;
}

.y-svg {
    width: 100%;
    height: 100%;
    object-fit: contain;
    opacity: 1;
    filter: drop-shadow(0 8px 30px rgba(0, 0, 0, 0.25));
    animation: float 6s ease-in-out infinite;
}

/* Animación de flotación */
@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

/* Contenido principal */
.content {
    position: relative;
    z-index: 20;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 4% 10% 2% 10%;
}

/* Círculo flotante */
.floating-circle {
    position: fixed;
    right: 3%;
    top: 50%;
    transform: translateY(-50%);
    z-index: 12;
    width: 280px;
    height: 280px;
    border-radius: 50%;
    background-color: rgba(26, 54, 87, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    animation: floatCircle 8s ease-in-out infinite;
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.floating-text {
    color: #ffffff;
    font-family: 'EuclidCircularB', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    font-size: 0.9rem;
    font-weight: 400;
    line-height: 1.6;
    text-align: center;
    margin: 0;
}

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

/* Footer */
.footer {
    position: relative;
    z-index: 15;
    width: 100%;
    background-color: rgba(26, 54, 87, 0.9);
    padding: 1.5rem 10%;
    flex-shrink: 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.contact-info {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: flex-start;
    align-items: center;
    flex: 1;
}

.footer-tagline {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.5rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #ffffff;
    font-size: 0.85rem;
    line-height: 1.5;
}

.contact-icon {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    stroke: #ffffff;
}

.contact-text {
    font-family: 'EuclidCircularB', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    font-weight: 400;
    color: #ffffff;
    white-space: nowrap;
}

.logo-container {
    margin-bottom: 1rem;
}

.logo {
    height: auto;
    width: 300px;
    max-width: 100%;
}

.tagline-container {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-tagline .tagline-line1,
.footer-tagline .tagline-line2 {
    text-align: right;
    margin: 0;
}

.tagline-line1,
.tagline-line2 {
    color: #ffffff;
    font-size: 10pt;
    font-weight: 400;
    letter-spacing: 0.05em;
    text-transform: none;
    line-height: 1.4;
    text-shadow: 0 2px 15px rgba(0, 0, 0, 0.3);
    font-family: 'EuclidCircularB', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

/* Responsive */
@media (max-width: 1024px) {
    .content {
        padding: 3% 8%;
        align-items: center;
    }
    
    .logo {
        width: 250px;
    }
    
    .tagline-line1,
    .tagline-line2 {
        font-size: 10pt;
        text-align: center;
    }
    
    .y-container {
        width: 140%;
        height: 140%;
    }
    
    .contact-info {
        gap: 1.5rem;
    }
    
    .contact-text {
        font-size: 0.8rem;
    }
    
    .floating-circle {
        width: 240px;
        height: 240px;
        right: 2%;
        padding: 1.5rem;
    }
    
    .floating-text {
        font-size: 0.8rem;
    }
}

@media (max-width: 768px) {
    .content {
        padding: 3% 6% calc(180px + env(safe-area-inset-bottom)) 6%;
        align-items: center;
    }
    
    .logo {
        width: 200px;
    }
    
    .footer-tagline .tagline-line1,
    .footer-tagline .tagline-line2 {
        font-size: 8.5pt;
        text-align: right;
    }
    
    .y-container {
        width: 150%;
        height: 150%;
    }
    
    .shape-1 {
        width: 70%;
        height: 70%;
    }
    
    .footer-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5rem;
    }
    
    .contact-info {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
        width: 100%;
    }
    
    .footer-tagline {
        align-items: flex-end;
        width: 100%;
    }
    
    .footer {
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        padding: 1.2rem 6% calc(1.2rem + env(safe-area-inset-bottom));
        z-index: 25;
    }
    
    .floating-circle {
        position: fixed;
        right: 1rem;
        bottom: calc(130px + env(safe-area-inset-bottom));
        top: auto;
        transform: none;
        width: 200px;
        height: 200px;
        padding: 1.2rem;
        animation: none;
        z-index: 24;
    }
    
    .floating-text {
        font-size: 0.75rem;
        line-height: 1.4;
    }
}

@media (max-width: 480px) {
    .content {
        padding: 4% 5% calc(160px + env(safe-area-inset-bottom));
        align-items: center;
    }
    
    .logo {
        width: 180px;
    }
    
    .footer-tagline .tagline-line1,
    .footer-tagline .tagline-line2 {
        font-size: 7.5pt;
        letter-spacing: 0.05em;
        text-align: right;
    }
    
    .y-container {
        width: 160%;
        height: 160%;
    }
    
    .footer {
        padding: 1rem 5% calc(1rem + env(safe-area-inset-bottom));
    }
    
    .footer-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .contact-info {
        flex-direction: column;
        gap: 0.8rem;
        width: 100%;
    }
    
    .footer-tagline {
        align-items: flex-end;
        width: 100%;
    }
    
    .contact-item {
        font-size: 0.75rem;
        gap: 0.6rem;
    }
    
    .contact-icon {
        width: 16px;
        height: 16px;
    }
    
    .contact-text {
        white-space: normal;
    }
    
    .floating-circle {
        position: fixed;
        right: 0.75rem;
        bottom: calc(120px + env(safe-area-inset-bottom));
        top: auto;
        transform: none;
        width: 180px;
        height: 180px;
        padding: 1rem;
        animation: none;
    }
    
    .floating-text {
        font-size: 0.7rem;
        line-height: 1.3;
    }
}

