
@font-face {
    font-family: 'Denmark';
    src: url('../fonts/denmark.TTF') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

html {
    scroll-behavior: smooth;
}

:root {
    --spacing-sm: 0.75rem;
    --spacing-md: 1.1rem;
    --spacing-lg: 1.8rem;
    --color-border: #d8dfed;
}

#quienes,
#servicios,
#seguimiento,
#clientes,
#contacto {
    scroll-margin-top: 105px;
}

body {
    font-family: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
    margin: 0;
    padding: 0;
    background: #f4f4f4;
    color: #222;
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Denmark', 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.2;
}

header {
    background: #fff;
    padding: 1rem 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}
.container {
    width: 90%;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}
.logo {
    height: 60px;
}

.menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: 1px solid #d7def1;
    border-radius: 10px;
    background: #fff;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
}

.menu-toggle span {
    width: 20px;
    height: 2px;
    background: #2C2C86;
    border-radius: 999px;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.menu-toggle.is-active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.menu-toggle.is-active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.is-active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

nav ul {
    list-style: none;
    display: flex;
    gap: 1rem;
}
nav a {
    color: #2C2C86;
    text-decoration: none;
    font-weight: bold;
}
nav a:hover {
    color: #E10073;
}
.hero {
    background: url('../img/zil.jpg') no-repeat center center/cover;
    color: #fff;
    padding: 100px 20px;
    text-align: center;
}
.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    text-shadow: 0 6px 18px rgba(0, 0, 0, 0.45), 0 2px 6px rgba(0, 0, 0, 0.35);
}
.hero-content {
    max-width: 900px;
    margin: 0 auto;
}
.hero-flag {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.3rem 0.9rem;
    border-radius: 999px;
    background: rgba(225, 0, 115, 0.12);
    color: #E10073;
    font-weight: 700;
    letter-spacing: 0.05em;
    margin-bottom: 0.4rem;
}
.hero-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}
.hero-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 1.6rem;
    border-radius: 999px;
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.hero-action.primary {
    background: #E10073;
    color: #fff;
    box-shadow: 0 6px 16px rgba(225, 0, 115, 0.3);
}
.hero-action.secondary {
    border: 1px solid #E10073;
    color: #E10073;
}
.hero-action:hover {
    transform: translateY(-2px);
}
.hero-content p {
    font-size: 1.3rem;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.page-layout {
    display: flex;
    justify-content: center;
    gap: 1rem;
    padding-bottom: 3rem;
}

.layout-side {
    flex: 0 0 20%;
    max-width: 20%;
}

.layout-center {
    flex: 1 1 60%;
    max-width: 60%;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

@media (max-width: 1024px) {
    .layout-side {
        display: none;
    }

    .layout-center {
        max-width: 100%;
    }
}
.info-section {
    padding: 3rem 2rem;
    background: #fff;
}
.info-section.alt {
    background: #eaeaea;
}
.services {
    background: #fff;
    padding: 3rem 2rem;
}
.service-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(220px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

#resultados .service-grid {
    grid-template-columns: repeat(2, minmax(240px, 1fr));
}

#seguimiento .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (max-width: 960px) {
    .service-grid {
        grid-template-columns: repeat(2, minmax(220px, 1fr));
    }
}

@media (max-width: 640px) {
    .service-grid {
        grid-template-columns: 1fr;
    }

    #seguimiento .service-grid,
    #resultados .service-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 900px) {
    header .container {
        position: relative;
    }

    .menu-toggle {
        display: inline-flex;
    }

    .main-nav {
        position: absolute;
        top: calc(100% + 10px);
        right: 0;
        width: min(290px, 92vw);
        background: #fff;
        border: 1px solid #d9e0f2;
        border-radius: 12px;
        box-shadow: 0 14px 30px rgba(23, 37, 84, 0.15);
        padding: 0.55rem;
        display: none;
        z-index: 1100;
    }

    .main-nav.is-open {
        display: block;
    }

    .main-nav ul {
        display: flex;
        flex-direction: column;
        gap: 0.2rem;
        margin: 0;
        padding: 0;
    }

    .main-nav a {
        display: block;
        border-radius: 8px;
        padding: 0.7rem 0.75rem;
    }

    .main-nav a:hover {
        background: #f3f6ff;
    }
}
.card {
    background: #f9f9f9;
    padding: 2rem;
    text-align: center;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    min-width: 210px;
}
.card i {
    font-size: 2rem;
    color: #E10073;
    margin-bottom: 0.5rem;
}

.clients {
    position: relative;
}

.clients p {
    margin-top: 0.4rem;
    color: #3a4666;
}

.client-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(120px, 1fr));
    gap: 0.85rem;
    margin-top: 1.4rem;
}

.client-item {
    background: #fff;
    border: 1px solid #e2e8f3;
    border-radius: 12px;
    min-height: 92px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.65rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.client-item--on-dark {
    background: linear-gradient(135deg, #1a2554 0%, #26367c 100%);
    border-color: #30448f;
}

.client-item--on-dark .client-logo {
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.35));
}

.client-item--uninet {
    overflow: hidden;
}

.client-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 22px rgba(29, 44, 95, 0.12);
}

.client-logo {
    max-width: 100%;
    max-height: 48px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: saturate(0.96) contrast(1.04);
}

.client-item--double {
    grid-column: span 2;
}

.client-logo--double {
    max-height: 54px;
}

.client-logo--uninet {
    max-height: 70px;
    transform: scale(1.2);
}

@media (max-width: 1080px) {
    .client-grid {
        grid-template-columns: repeat(4, minmax(120px, 1fr));
    }
}

@media (max-width: 760px) {
    .client-grid {
        grid-template-columns: repeat(2, minmax(120px, 1fr));
    }

    .client-item--double {
        grid-column: span 2;
    }
}

@media (max-width: 430px) {
    .client-grid {
        grid-template-columns: 1fr;
    }

    .client-item--double {
        grid-column: span 1;
    }
}

.contact {
    padding: 3rem 2rem 3.5rem;
    background: linear-gradient(135deg, #1F2F7B 0%, #2C2C86 55%, #24306D 100%);
    color: #fff;
}

.contact-shell {
    margin-top: 1.2rem;
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 1.5rem;
    align-items: stretch;
}

.contact-intro p {
    margin-top: 0.4rem;
    margin-bottom: 1.2rem;
    color: rgba(255, 255, 255, 0.88);
    max-width: 56ch;
}

.contact-actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.contact-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.7rem 1.1rem;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 700;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.contact-btn.primary {
    background: #E10073;
    color: #fff;
    box-shadow: 0 8px 20px rgba(225, 0, 115, 0.32);
}

.contact-btn.secondary {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.28);
}

.contact-btn:hover {
    transform: translateY(-2px);
}

.contact-card {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 14px;
    padding: 1.1rem;
    backdrop-filter: blur(2px);
}

.contact-item {
    display: flex;
    gap: 0.8rem;
    align-items: flex-start;
    padding: 0.75rem 0.2rem;
}

.contact-item + .contact-item {
    border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.contact-item i {
    color: #FF62B1;
    margin-top: 0.22rem;
    width: 1.1rem;
    text-align: center;
}

.contact-label {
    display: block;
    font-size: 0.8rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.72);
    margin-bottom: 0.2rem;
}

.contact-value {
    margin: 0;
    color: #fff;
    font-weight: 600;
    text-decoration: none;
}

.contact a {
    color: #E10073;
}

.contact-card a.contact-value {
    color: #fff;
}

.contact-card a.contact-value:hover {
    color: #FFD3EA;
}

@media (max-width: 900px) {
    .contact-shell {
        grid-template-columns: 1fr;
    }
}
footer {
    background: #1a1a1a;
    color: #fff;
    padding: 1rem 0;
}

.footer-bottom {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    gap: 0.5rem;
    text-align: center;
}

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

.footer-links-row a {
    color: #fff;
    text-decoration: none;
    font-weight: 600;
}

.footer-links-row a:hover {
    color: #E10073;
}

.section-img {
    width: 100%;
    max-height: 250px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.legal-page {
    background: radial-gradient(circle at 12% -10%, #ffffff 0%, #f2f5fb 52%, #e7ecf8 100%);
}

.legal-main {
    padding: 2rem 0 3.5rem;
}

.legal-container {
    display: block;
    max-width: 980px;
}

.legal-content {
    background: #fff;
    border: 1px solid #dbe2f2;
    border-radius: 18px;
    padding: clamp(1.2rem, 2.2vw, 2.2rem);
    box-shadow: 0 18px 40px rgba(27, 42, 93, 0.08);
}

.legal-content h1 {
    margin: 0;
    color: #1f2f7b;
    letter-spacing: 0.02em;
    font-size: clamp(1.8rem, 3vw, 2.5rem);
}

.legal-kicker {
    margin-top: 0.45rem;
    margin-bottom: var(--spacing-lg);
    color: #556386;
}

.legal-content h2 {
    margin: 0;
    margin-top: 0.3rem;
    color: #2c2c86;
    font-size: clamp(1.2rem, 2vw, 1.45rem);
}

.legal-content h3,
.legal-subtitle {
    margin-bottom: 0.5rem;
    color: #313f72;
    font-size: 1.05rem;
}

.legal-subtitle {
    margin-top: var(--spacing-lg);
}

.legal-content p,
.legal-content li {
    color: #24304b;
    line-height: 1.72;
}

.legal-content ul {
    margin: 0.45rem 0 0;
    padding-left: 1.2rem;
}

.legal-sublist {
    margin-top: var(--spacing-sm);
}

.legal-content hr {
    margin: var(--spacing-lg) 0;
    border: 0;
    border-top: 1px solid var(--color-border);
}

.legal-content a {
    color: #e10073;
    text-decoration: none;
    font-weight: 600;
}

.legal-content a:hover {
    text-decoration: underline;
}

.company-info,
.highlight-box {
    background: #f8fafe;
    border: 1px solid #dfe6f5;
    border-left: 4px solid #e10073;
    border-radius: 12px;
    padding: 0.95rem 1rem;
}

.company-info p,
.highlight-box p {
    margin: 0.25rem 0;
}

.legal-lead {
    margin-top: var(--spacing-md);
    font-weight: 700;
    color: #1b2f67;
}

.legal-note {
    margin-top: var(--spacing-md);
    font-size: 0.9rem;
    color: #4c5977;
}

.legal-block-space {
    margin-top: var(--spacing-lg);
}

@media (max-width: 768px) {
    .legal-main {
        padding: 1rem 0 2rem;
    }

    .legal-content {
        border-radius: 14px;
    }
}

