/* ============================================
   Variables de Colores - CYC Technology
   ============================================ */
:root {
    --primary-color: oklch(55.8% 0.288 302.321);
    --primary-hover: oklch(50% 0.25 302.321);
    --dark-text: #1a1d23;
    --medium-text: #4a5568;
    --light-bg: #ffffff;
    --white: #ffffff;
    --border-color: #e2e8f0;
}

/* ============================================
   Estilos Generales
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--dark-text);
    line-height: 1.6;
    background-color: var(--white);
}

/* ============================================
   Logo Construido con Divs
   ============================================ */
.cyc-logo-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
}

.cyc-logo-css {
    display: flex;
    align-items: center;
    gap: 6px;
}

.logo-box {
    background-color: var(--primary-color);
    border-radius: 6px;
    transition: all 0.3s ease;
}

/* Tamaños según la imagen */
.box-1 { width: 14px; height: 14px; opacity: 0.4; }
.box-2 { width: 22px; height: 22px; opacity: 0.8; }
.box-3 { width: 28px; height: 28px; opacity: 1; }

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.logo-text .brand-name {
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--primary-color);
}

.logo-text .brand-sub {
    font-size: 0.7rem;
    color: var(--medium-text);
    font-weight: 400;
}

/* ============================================
   Navbar
   ============================================ */
.navbar {
    background-color: var(--white);
    padding: 15px 0;
    border-bottom: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.navbar-nav .nav-link {
    color: var(--medium-text) !important;
    font-weight: 500;
    margin: 0 15px;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--primary-color) !important;
}

.btn-contactar {
    background-color: var(--primary-color);
    color: var(--white) !important;
    border-radius: 10px;
    padding: 10px 25px !important;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-contactar:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(168, 85, 247, 0.3);
}

/* ============================================
   Hero Section
   ============================================ */
.hero-section {
    padding: 100px 0;
    text-align: center;
    background-color: var(--white);
}

.hero-logo-container {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
}

.hero-logo-container .logo-box {
    border-radius: 8px;
    margin: 0 4px;
}

.hero-logo-container .box-1 { width: 25px; height: 25px; }
.hero-logo-container .box-2 { width: 35px; height: 35px; }
.hero-logo-container .box-3 { width: 45px; height: 45px; }

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    color: var(--dark-text);
    line-height: 1.1;
    margin-bottom: 25px;
}

.hero-title span {
    color: var(--primary-color);
}

.hero-description {
    font-size: 1.2rem;
    color: var(--medium-text);
    max-width: 800px;
    margin: 0 auto 45px;
}

.hero-btns {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.btn-main {
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 12px;
    padding: 15px 35px;
    font-weight: 600;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.btn-main:hover {
    background-color: var(--primary-hover);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(168, 85, 247, 0.3);
    color: var(--white);
}

.btn-outline {
    background-color: transparent;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
    border-radius: 12px;
    padding: 15px 35px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: var(--white);
    transform: translateY(-3px);
}

/* ============================================
   Animaciones
   ============================================ */
.animate-boxes .logo-box {
    animation: boxEntrance 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275) both;
}

.animate-boxes .box-1 { animation-delay: 0.1s; }
.animate-boxes .box-2 { animation-delay: 0.3s; }
.animate-boxes .box-3 { animation-delay: 0.5s; }

@keyframes boxEntrance {
    0% {
        opacity: 0;
        transform: translateY(30px) scale(0.5);
    }
    100% {
        opacity: inherit;
        transform: translateY(0) scale(1);
    }
}

/* ============================================
   Secciones Adicionales (Nosotros y Contacto)
   ============================================ */
.section-padding {
    padding: 100px 0;
}

.section-title-alt {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 30px;
    color: var(--dark-text);
}

.section-title-alt span {
    color: var(--primary-color);
}

/* Nosotros */
.about-content p {
    font-size: 1.1rem;
    color: var(--medium-text);
    margin-bottom: 20px;
}

.about-card {
    background: #f8fafc;
    padding: 30px;
    border-radius: 20px;
    border: 1px solid var(--border-color);
    height: 100%;
    transition: transform 0.3s ease;
}

.about-card:hover {
    transform: translateY(-10px);
}

.about-card i {
    color: var(--primary-color);
    margin-bottom: 20px;
}

/* Contacto */
.contact-wrapper {
    background: #ffffff;
    padding: 50px;
    border-radius: 30px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.05);
    border: 1px solid var(--border-color);
}

.form-label {
    font-weight: 500;
    color: var(--dark-text);
}

.form-control {
    padding: 12px 20px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    background-color: #f8fafc;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(168, 85, 247, 0.1);
    background-color: #ffffff;
}
.contact-link {
  text-decoration: none;
  color: inherit;
  display: block;
}


.contact-info-item {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
}

.contact-info-icon {
    width: 60px;
    height: 60px;
    background: rgba(168, 85, 247, 0.1);
    color: var(--primary-color);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    .hero-btns {
        flex-direction: column;
        align-items: center;
    }
    .btn-main, .btn-outline {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
}
