:root {
    --bg-main: #F4F6FB;
    --bg-card: #FFFFFF;
    --text-heading: #0B0F19;
    --text-body: #334155;
    --text-muted: #64748B;
    --accent-electric: #0284C7;
    --border-color: #CBD5E1;
}

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

html {
    scroll-behavior: smooth;
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: var(--bg-main);
    color: var(--text-heading);
    line-height: 1.6;
    letter-spacing: -0.01em;
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
}

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

/* HEADER & LOGO: TRANSPARENT, BLACK LINES, LARGE PRESENCE */
header {
    padding: 1.2rem 0;
    background: rgba(244, 246, 251, 0.92);
    backdrop-filter: blur(24px);
    border-bottom: 2px solid var(--text-heading);
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
    overflow-x: hidden;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 2rem;
}

.logo-link {
    display: inline-block;
    text-decoration: none;
    max-width: 70%;
}

.logo-img {
    height: 60px;
    width: auto;
    max-width: 100%;
    display: block;
    filter: drop-shadow(0 2px 8px rgba(11, 15, 25, 0.1));
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.logo-link:hover .logo-img {
    transform: scale(1.02);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

.nav-links a {
    color: var(--text-heading);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: color 0.2s;
}

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

.nav-cta {
    padding: 0.6rem 1.2rem;
    border: 1.5px solid var(--text-heading);
    border-radius: 4px;
    transition: all 0.2s ease !important;
}

.nav-cta:hover {
    background: var(--text-heading);
    color: #FFFFFF !important;
}

/* Botón Hamburguesa (Oculto en Escritorio) */
.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 28px;
    height: 20px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1001;
    flex-shrink: 0;
}

.nav-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--text-heading);
    transition: all 0.3s ease;
}

/* HERO: TECH BLUEPRINT GRID */
.hero {
    position: relative;
    padding: 10rem 0 8rem;
    background-color: #FFFFFF;
    border-bottom: 2px solid var(--text-heading);
    background-image: 
        radial-gradient(circle at 85% 15%, rgba(2, 132, 199, 0.25) 0%, transparent 50%),
        linear-gradient(rgba(2, 132, 199, 0.15) 1px, transparent 1px),
        linear-gradient(90deg, rgba(2, 132, 199, 0.15) 1px, transparent 1px);
    background-size: 100% 100%, 60px 60px, 60px 60px;
}

.hero-header-meta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #0B0F19;
    color: #FFFFFF;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 2rem;
}

.status-indicator {
    width: 8px;
    height: 8px;
    background-color: #00F2FE;
    border-radius: 50%;
    box-shadow: 0 0 10px #00F2FE;
    flex-shrink: 0;
}

.hero h1 {
    font-size: 4.4rem;
    font-weight: 900;
    line-height: 1.05;
    letter-spacing: -0.04em;
    color: var(--text-heading);
    max-width: 1050px;
    margin-bottom: 2rem;
    word-break: break-word;
}

.hero-lead {
    font-size: 1.35rem;
    color: var(--text-body);
    max-width: 780px;
    margin-bottom: 3rem;
    font-weight: 500;
    line-height: 1.6;
}

.hero-actions {
    display: flex;
    gap: 1.5rem;
    align-items: center;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 1.2rem 2.6rem;
    font-size: 0.95rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    text-align: center;
    justify-content: center;
}

.btn-primary {
    background: var(--text-heading);
    color: #FFFFFF;
    box-shadow: 0 10px 25px rgba(11, 15, 25, 0.2);
}

.btn-primary:hover {
    background: var(--accent-electric);
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(2, 132, 199, 0.3);
}

.btn-secondary {
    background: #FFFFFF;
    color: var(--text-heading);
    border: 2px solid var(--text-heading);
}

.btn-secondary:hover {
    background: var(--text-heading);
    color: #FFFFFF;
}

/* STATEMENT BAR */
.statement-bar {
    background-color: #0B0F19;
    color: #FFFFFF;
    padding: 3.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    background-image: 
        repeating-linear-gradient(-45deg, rgba(255, 255, 255, 0.04) 0, rgba(255, 255, 255, 0.04) 4px, transparent 4px, transparent 20px);
}

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

.statement-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
    border-left: 3px solid var(--accent-electric);
    padding-left: 1.5rem;
}

.statement-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-weight: 700;
}

.statement-val {
    font-size: 1.35rem;
    font-weight: 800;
    color: #FFFFFF;
}

/* ABOUT SECTION */
.about {
    position: relative;
    padding: 9rem 0;
    background-color: #F4F6FB;
    border-bottom: 2px solid var(--text-heading);
    overflow: hidden;
    background-image: 
        radial-gradient(rgba(11, 15, 25, 0.15) 2px, transparent 2px);
    background-size: 40px 40px;
}

.about-watermark {
    position: absolute;
    right: -2%;
    bottom: -10%;
    font-size: 16rem;
    font-weight: 900;
    color: rgba(11, 15, 25, 0.03);
    letter-spacing: -0.05em;
    pointer-events: none;
    user-select: none;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
    position: relative;
    z-index: 1;
}

.section-num {
    font-size: 0.85rem;
    font-weight: 800;
    color: var(--accent-electric);
    letter-spacing: 0.12em;
    display: block;
    margin-bottom: 1rem;
}

.about-title-col h2 {
    font-size: 3rem;
    font-weight: 900;
    line-height: 1.15;
    letter-spacing: -0.03em;
}

.about-body-col {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.about-highlight {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-heading);
    line-height: 1.5;
    background: rgba(255, 255, 255, 0.95);
    padding: 1.8rem;
    border-left: 4px solid var(--text-heading);
    border-radius: 0 8px 8px 0;
    box-shadow: 0 10px 30px rgba(11, 15, 25, 0.08);
}

.about-body-col p {
    font-size: 1.15rem;
    color: var(--text-body);
    font-weight: 500;
}

/* SERVICES SECTION */
.services {
    padding: 9rem 0;
    background-color: #FFFFFF;
    border-bottom: 2px solid var(--text-heading);
    background-image: 
        linear-gradient(30deg, rgba(2, 132, 199, 0.06) 12%, transparent 12.5%, transparent 87%, rgba(2, 132, 199, 0.06) 87.5%, rgba(2, 132, 199, 0.06)),
        linear-gradient(150deg, rgba(2, 132, 199, 0.06) 12%, transparent 12.5%, transparent 87%, rgba(2, 132, 199, 0.06) 87.5%, rgba(2, 132, 199, 0.06)),
        linear-gradient(30deg, rgba(2, 132, 199, 0.06) 12%, transparent 12.5%, transparent 87%, rgba(2, 132, 199, 0.06) 87.5%, rgba(2, 132, 199, 0.06)),
        linear-gradient(150deg, rgba(2, 132, 199, 0.06) 12%, transparent 12.5%, transparent 87%, rgba(2, 132, 199, 0.06) 87.5%, rgba(2, 132, 199, 0.06)),
        linear-gradient(60deg, rgba(2, 132, 199, 0.06) 25%, transparent 25.5%, transparent 75%, rgba(2, 132, 199, 0.06) 75%, rgba(2, 132, 199, 0.06)), 
        linear-gradient(60deg, rgba(2, 132, 199, 0.06) 25%, transparent 25.5%, transparent 75%, rgba(2, 132, 199, 0.06) 75%, rgba(2, 132, 199, 0.06));
    background-size: 80px 140px;
    background-position: 0 0, 0 0, 40px 70px, 40px 70px, 0 0, 40px 70px;
}

.section-title-wrapper {
    margin-bottom: 5rem;
}

.section-title-wrapper h2 {
    font-size: 3.2rem;
    font-weight: 900;
    letter-spacing: -0.03em;
    margin-bottom: 0.8rem;
    background: #FFFFFF;
    display: inline-block;
    padding: 0 1rem;
    max-width: 100%;
    word-break: break-word;
}

.section-title-wrapper p {
    font-size: 1.25rem;
    color: var(--text-muted);
    font-weight: 500;
    background: #FFFFFF;
    display: inline-block;
    padding: 0 1rem;
    max-width: 100%;
}

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

.service-card {
    background: rgba(248, 250, 252, 0.95);
    backdrop-filter: blur(10px);
    border: 2px solid var(--border-color);
    padding: 3rem 2.5rem;
    border-radius: 8px;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    box-shadow: 0 10px 25px -10px rgba(11, 15, 25, 0.1);
}

.highlight-card {
    background: #0B0F19;
    color: #FFFFFF;
    border-color: #0B0F19;
    background-image: radial-gradient(circle at 100% 0%, rgba(2, 132, 199, 0.4) 0%, transparent 60%);
}

.service-card:hover {
    transform: translateY(-6px);
    border-color: var(--text-heading);
    box-shadow: 0 25px 50px -12px rgba(11, 15, 25, 0.2);
}

.highlight-card:hover {
    border-color: var(--accent-electric);
    box-shadow: 0 25px 50px -12px rgba(2, 132, 199, 0.4);
}

.card-code {
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    color: var(--accent-electric);
    margin-bottom: 1.5rem;
    display: block;
}

.service-card h3 {
    font-size: 1.7rem;
    font-weight: 900;
    letter-spacing: -0.02em;
    margin-bottom: 1.8rem;
}

.highlight-card h3 {
    color: #FFFFFF;
}

.capability-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.capability-list li {
    font-size: 1.05rem;
    color: var(--text-body);
    position: relative;
    padding-left: 1.5rem;
    line-height: 1.5;
    font-weight: 500;
    word-break: break-word;
}

.highlight-card .capability-list li {
    color: #CBD5E1;
}

.capability-list li::before {
    content: "■";
    font-size: 0.65rem;
    color: var(--accent-electric);
    position: absolute;
    left: 0;
    top: 0.25rem;
}

/* ADVANTAGES */
.advantages {
    padding: 7rem 0;
    background-color: #F4F6FB;
    border-bottom: 2px solid var(--text-heading);
    background-image: 
        linear-gradient(0deg, transparent 24%, rgba(11, 15, 25, 0.15) 25%, rgba(11, 15, 25, 0.15) 26%, transparent 27%, transparent 74%, rgba(11, 15, 25, 0.15) 75%, rgba(11, 15, 25, 0.15) 76%, transparent 77%, transparent),
        linear-gradient(90deg, transparent 24%, rgba(11, 15, 25, 0.15) 25%, rgba(11, 15, 25, 0.15) 26%, transparent 27%, transparent 74%, rgba(11, 15, 25, 0.15) 75%, rgba(11, 15, 25, 0.15) 76%, transparent 77%, transparent);
    background-size: 50px 50px;
}

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

.adv-num {
    font-size: 3rem;
    font-weight: 900;
    color: var(--accent-electric);
    margin-bottom: 0.5rem;
    background: #F4F6FB;
    display: inline-block;
    padding-right: 1rem;
}

.adv-item h4 {
    font-size: 1.35rem;
    font-weight: 900;
    margin-bottom: 0.8rem;
    background: #F4F6FB;
    display: inline;
    padding: 2px 0;
}

.adv-item p {
    color: var(--text-body);
    font-size: 1.05rem;
    font-weight: 500;
    background: #F4F6FB;
    padding: 10px;
    border-radius: 4px;
    margin-top: 10px;
}

/* CONTACT SECTION */
.contact {
    padding: 10rem 0;
    background-color: #0B0F19;
    color: #FFFFFF;
    text-align: center;
    position: relative;
    background-image: 
        radial-gradient(circle at 50% 0%, rgba(2, 132, 199, 0.5) 0%, transparent 70%),
        linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 100% 100%, 40px 40px, 40px 40px;
}

.contact-tag {
    font-size: 0.85rem;
    font-weight: 800;
    color: var(--accent-electric);
    letter-spacing: 0.15em;
    margin-bottom: 1.5rem;
    display: block;
}

.contact h2 {
    font-size: 3.8rem;
    font-weight: 900;
    letter-spacing: -0.03em;
    max-width: 900px;
    margin: 0 auto 1.5rem;
    line-height: 1.1;
    word-break: break-word;
}

.contact p {
    color: #94A3B8;
    font-size: 1.35rem;
    max-width: 700px;
    margin: 0 auto 3.5rem;
    font-weight: 500;
}

.btn-contact {
    background: #FFFFFF;
    color: #0B0F19;
    padding: 1.3rem 3rem;
    font-size: 1.05rem;
    width: 100%;
    max-width: 320px;
}

.btn-contact:hover {
    background: var(--accent-electric);
    color: #FFFFFF;
}

/* FOOTER */
footer {
    padding: 2.5rem 0;
    background: #06080E;
    color: #64748B;
    font-size: 0.95rem;
    font-weight: 500;
    border-top: 1px solid #1E293B;
    width: 100%;
    overflow-x: hidden;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 2rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-left, .footer-right {
    max-width: 100%;
    word-break: break-word;
}

/* --- REGLAS RESPONSIVE Y MENÚ MÓVIL --- */
@media (max-width: 900px) {
    .hero h1 { font-size: 2.8rem; }
    .about-grid, .advantages-grid, .statement-grid { grid-template-columns: 1fr; }
    .contact h2 { font-size: 2.6rem; }
    
    /* Activación del Menú Hamburguesa en Móviles y Tablets */
    .nav-toggle {
        display: flex;
    }

    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        max-width: 100vw;
        background: rgba(244, 246, 251, 0.98);
        backdrop-filter: blur(24px);
        flex-direction: column;
        align-items: center;
        padding: 2rem 1rem;
        gap: 1.5rem;
        border-bottom: 2px solid var(--text-heading);
        clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
        transition: clip-path 0.4s ease-in-out;
        overflow-x: hidden;
    }

    .nav-links.active {
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    }

    .nav-toggle.open span:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }
    .nav-toggle.open span:nth-child(2) {
        opacity: 0;
    }
    .nav-toggle.open span:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }

    .hero-actions {
        flex-direction: column;
        width: 100%;
    }

    .btn {
        width: 100%;
    }

    .footer-container {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }
}