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

:root {
    /* Paleta inspirada en el logo: blanco + negro + rojo (tema claro) */
    --brand-red: #d10000;
    --brand-black: #111111;
    --brand-white: #ffffff;

    --bg: #ffffff;
    --bg-soft: #f6f7f9;
    --surface: #ffffff;
    --surface-2: #fbfbfc;

    --text: rgba(17, 17, 17, 0.92);
    --text-muted: rgba(17, 17, 17, 0.66);
    --border: rgba(17, 17, 17, 0.12);
    --shadow: 0 18px 60px rgba(17, 17, 17, 0.10);
    --radius-lg: 26px;
    --radius-md: 18px;
    --radius-sm: 14px;
    --container: 1200px;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Work Sans", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
    background:
        radial-gradient(1100px 720px at 10% 0%, rgba(209, 0, 0, 0.10), transparent 58%),
        radial-gradient(900px 620px at 100% 22%, rgba(209, 0, 0, 0.06), transparent 52%),
        linear-gradient(180deg, var(--bg) 0%, var(--bg-soft) 55%, var(--bg) 100%);
    color: var(--text);
    overflow-x: hidden;
    min-height: 100vh;
}

.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 20px;
}

.skip-link {
    position: absolute;
    left: 12px;
    top: -80px;
    z-index: 9999;
    padding: 10px 14px;
    border-radius: 999px;
    background: var(--brand-white);
    color: #000;
    text-decoration: none;
    transition: top 0.2s ease;
}

.skip-link:focus {
    top: 12px;
}

/* Header */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.82);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(17, 17, 17, 0.08);
    box-shadow: 0 10px 40px rgba(17, 17, 17, 0.06);
}

.header-inner {
    max-width: var(--container);
    margin: 0 auto;
    padding: 14px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.brand-logo {
    height: 38px;
    width: auto;
    display: block;
}

.nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    border: 1px solid rgba(17, 17, 17, 0.14);
    background: rgba(255, 255, 255, 0.70);
    color: var(--text);
    align-items: center;
    justify-content: center;
    padding: 10px;
    cursor: pointer;
}

.nav-toggle span {
    display: block;
    height: 2px;
    background: rgba(17, 17, 17, 0.80);
    margin: 6px 0;
    border-radius: 2px;
}

.nav {
    display: flex;
    align-items: center;
    gap: 18px;
}

.nav a {
    text-decoration: none;
    color: rgba(17, 17, 17, 0.72);
    font-weight: 600;
    letter-spacing: 0.2px;
    padding: 10px 10px;
    border-radius: 12px;
    transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.nav a:hover {
    color: rgba(17, 17, 17, 0.92);
    background: rgba(17, 17, 17, 0.05);
    transform: translateY(-1px);
}

.header-cta {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 16px;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 700;
    letter-spacing: 0.2px;
    transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, border-color 0.18s ease;
    border: 1px solid transparent;
    white-space: nowrap;
}

.btn-big {
    padding: 14px 22px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--brand-red) 0%, #ff3b3b 100%);
    color: var(--brand-white);
    box-shadow: 0 18px 60px rgba(209, 0, 0, 0.18);
    border-color: rgba(209, 0, 0, 0.18);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 26px 80px rgba(209, 0, 0, 0.30);
}

.btn-ghost {
    background: rgba(255, 255, 255, 0.90);
    color: rgba(17, 17, 17, 0.92);
    border-color: rgba(17, 17, 17, 0.14);
}

.btn-ghost:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 1);
    border-color: rgba(17, 17, 17, 0.22);
}

/* Main layout spacing for fixed header */
main {
    padding-top: 86px;
}

/* Hero */
.hero {
    position: relative;
    min-height: calc(78vh - 86px);
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-media {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(920px 640px at 10% 22%, rgba(209, 0, 0, 0.18), transparent 60%),
        radial-gradient(900px 620px at 92% 30%, rgba(209, 0, 0, 0.10), transparent 56%),
        radial-gradient(700px 520px at 55% 85%, rgba(17, 17, 17, 0.06), transparent 65%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.92) 0%, rgba(246, 247, 249, 0.88) 55%, rgba(255, 255, 255, 0.96) 100%);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.55) 0%, rgba(255, 255, 255, 0.42) 55%, rgba(255, 255, 255, 0.60) 100%),
        repeating-linear-gradient(
            135deg,
            rgba(17, 17, 17, 0.03) 0px,
            rgba(17, 17, 17, 0.03) 1px,
            transparent 1px,
            transparent 10px
        );
}

.hero-content {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 18px;
    padding: 34px 0 44px;
}

.hero-kicker {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--text-muted);
    font-weight: 600;
    background: rgba(255, 255, 255, 0.86);
    border: 1px solid rgba(17, 17, 17, 0.10);
    padding: 10px 14px;
    border-radius: 999px;
    width: fit-content;
}

.kicker-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--brand-red);
    box-shadow: 0 0 0 6px rgba(209, 0, 0, 0.18);
}

.hero-title {
    font-family: "Fraunces", Georgia, serif;
    font-size: clamp(2.2rem, 4.1vw, 3.4rem);
    line-height: 1.04;
    letter-spacing: 0.2px;
}

.hero-subtitle {
    max-width: 760px;
    color: var(--text-muted);
    font-size: 1.07rem;
    line-height: 1.65;
}

.hero-highlights {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-top: 6px;
}

.highlight {
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(17, 17, 17, 0.10);
    border-radius: var(--radius-sm);
    padding: 12px 12px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.highlight-icon {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    background: rgba(209, 0, 0, 0.18);
    border: 1px solid rgba(209, 0, 0, 0.25);
    color: rgba(17, 17, 17, 0.90);
    font-weight: 800;
    letter-spacing: 0.3px;
}

.highlight-text {
    color: rgba(17, 17, 17, 0.90);
    font-weight: 700;
    font-size: 0.98rem;
}

.hero-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 6px;
}

.hero-proof {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-top: 12px;
    color: var(--text-muted);
    font-weight: 600;
    flex-wrap: wrap;
}

.proof-divider {
    width: 1px;
    height: 34px;
    background: rgba(17, 17, 17, 0.14);
}

.proof-value {
    color: rgba(17, 17, 17, 0.92);
    font-weight: 800;
}

/* Sections */
.section {
    padding: 84px 0;
    position: relative;
    background: transparent;
}

.section-services,
.section-trust,
.section-faq {
    background: linear-gradient(180deg, rgba(246, 247, 249, 0.92) 0%, rgba(246, 247, 249, 0.70) 100%);
    border-top: 1px solid rgba(17, 17, 17, 0.06);
    border-bottom: 1px solid rgba(17, 17, 17, 0.06);
}

.section-partners {
    background: linear-gradient(180deg, rgba(255, 255, 255, 1) 0%, rgba(246, 247, 249, 0.85) 100%);
    border-top: 1px solid rgba(17, 17, 17, 0.06);
    padding: 56px 0;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 10px;
    align-items: stretch;
    margin-top: 10px;
}

.partner {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(17, 17, 17, 0.10);
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 12px 40px rgba(17, 17, 17, 0.08);
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
    text-decoration: none;
    min-height: 58px;
}

.partner:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 56px rgba(17, 17, 17, 0.10);
    border-color: rgba(209, 0, 0, 0.22);
}

.partner-logo {
    width: auto;
    max-width: 105px;
    height: 22px;
    max-height: 22px;
    object-fit: contain;
    filter: saturate(1.02);
}

.partner-logo-eset {
    max-width: 124px;
    height: 28px;
    max-height: 28px;
}

.partner-logo-hiopos {
    max-width: 112px;
    height: 24px;
    max-height: 24px;
}

.partner-logo-timepro {
    max-width: 116px;
    height: 24px;
    max-height: 24px;
}

.partner-hiopos {
    background: #2b3342;
    border-color: rgba(43, 51, 66, 0.55);
}

.section-head {
    margin-bottom: 26px;
}

.section-title {
    font-family: "Fraunces", Georgia, serif;
    font-size: clamp(1.7rem, 2.6vw, 2.2rem);
    margin-bottom: 10px;
}

.section-subtitle {
    color: var(--text-muted);
    line-height: 1.65;
    max-width: 860px;
}

/* Cards grid */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.card {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(251, 251, 252, 0.98) 100%);
    border: 1px solid rgba(17, 17, 17, 0.10);
    border-radius: var(--radius-lg);
    padding: 20px;
    box-shadow: 0 12px 44px rgba(17, 17, 17, 0.10);
    transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.service-card:hover {
    transform: translateY(-6px);
    border-color: rgba(209, 0, 0, 0.35);
    background: linear-gradient(180deg, rgba(209, 0, 0, 0.06) 0%, rgba(255, 255, 255, 0.98) 100%);
}

.service-icon {
    width: 54px;
    height: 54px;
    border-radius: 18px;
    background: rgba(209, 0, 0, 0.14);
    border: 1px solid rgba(209, 0, 0, 0.28);
    display: grid;
    place-items: center;
    color: rgba(17, 17, 17, 0.90);
    margin-bottom: 12px;
}

.service-icon svg {
    width: 26px;
    height: 26px;
}

.card h3 {
    font-size: 1.02rem;
    margin-bottom: 8px;
    font-weight: 800;
}

.card-desc {
    color: var(--text-muted);
    line-height: 1.6;
    font-size: 0.97rem;
    margin-bottom: 12px;
}

.card-list {
    list-style: none;
    display: grid;
    gap: 8px;
}

.card-list li {
    position: relative;
    padding-left: 18px;
    color: rgba(17, 17, 17, 0.90);
    font-weight: 600;
    font-size: 0.93rem;
}

.card-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.6em;
    width: 9px;
    height: 2px;
    background: var(--brand-red);
    border-radius: 2px;
    transform: translateY(-50%);
}

/* Steps */
.steps {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.step {
    border-radius: var(--radius-lg);
    padding: 18px;
    border: 1px solid rgba(17, 17, 17, 0.10);
    background: rgba(255, 255, 255, 0.92);
    min-height: 210px;
}

.step-index {
    width: 46px;
    height: 46px;
    border-radius: 18px;
    background: rgba(209, 0, 0, 0.16);
    border: 1px solid rgba(209, 0, 0, 0.30);
    display: grid;
    place-items: center;
    font-weight: 900;
    margin-bottom: 14px;
}

.step h3 {
    font-weight: 900;
    margin-bottom: 10px;
    font-size: 1.02rem;
}

.step p {
    color: var(--text-muted);
    line-height: 1.65;
    font-size: 0.98rem;
}

/* Trust */
.trust-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.trust-block {
    border-radius: var(--radius-lg);
    padding: 22px;
    border: 1px solid rgba(17, 17, 17, 0.10);
    background: rgba(255, 255, 255, 0.92);
}

.trust-icon {
    width: 58px;
    height: 58px;
    border-radius: 20px;
    background: rgba(209, 0, 0, 0.16);
    border: 1px solid rgba(209, 0, 0, 0.30);
    display: grid;
    place-items: center;
    font-weight: 900;
    margin-bottom: 14px;
}

.trust-block h3 {
    font-weight: 900;
    margin-bottom: 10px;
}

.trust-block p {
    color: var(--text-muted);
    line-height: 1.65;
}

/* Examples */
.examples-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.example-item {
    padding: 20px;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(17, 17, 17, 0.10);
    background: rgba(255, 255, 255, 0.92);
}

.example-tag {
    display: inline-block;
    margin-bottom: 10px;
    font-weight: 800;
    color: rgba(17, 17, 17, 0.90);
    background: rgba(209, 0, 0, 0.15);
    border: 1px solid rgba(209, 0, 0, 0.26);
    padding: 8px 12px;
    border-radius: 999px;
    font-size: 0.93rem;
}

.example-item h3 {
    font-weight: 900;
    margin-bottom: 10px;
    font-size: 1.05rem;
}

.example-item p {
    color: var(--text-muted);
    line-height: 1.65;
}

.examples-note {
    margin-top: 18px;
    color: var(--text-muted);
    font-weight: 600;
    line-height: 1.65;
}

/* FAQ */
.faq-list {
    display: grid;
    gap: 10px;
    max-width: 900px;
}

.faq-item {
    border-radius: var(--radius-lg);
    border: 1px solid rgba(17, 17, 17, 0.10);
    background: rgba(255, 255, 255, 0.92);
    overflow: hidden;
}

.faq-item summary {
    cursor: pointer;
    padding: 18px 20px;
    list-style: none;
    font-weight: 900;
    color: var(--text);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: "+";
    color: rgba(17, 17, 17, 0.90);
    font-weight: 900;
    width: 28px;
    height: 28px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(17, 17, 17, 0.12);
    flex: 0 0 auto;
}

.faq-item[open] summary::after {
    content: "–";
}

.faq-body {
    padding: 0 20px 18px 20px;
    color: var(--text-muted);
    line-height: 1.7;
}

/* Contact */
.contact-card {
    border-radius: var(--radius-lg);
    border: 1px solid rgba(209, 0, 0, 0.28);
    background: linear-gradient(135deg, rgba(209, 0, 0, 0.12) 0%, rgba(255, 255, 255, 0.04) 100%);
    padding: 26px;
}

.contact-head .section-title {
    margin-bottom: 10px;
}

.contact-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin: 14px 0 10px;
}

.contact-form-placeholder {
    margin-top: 14px;
    padding: 14px 16px;
    border-radius: var(--radius-md);
    border: 1px dashed rgba(17, 17, 17, 0.22);
    background: rgba(255, 255, 255, 0.80);
    color: var(--text-muted);
    line-height: 1.6;
    font-weight: 600;
}

/* Footer */
.site-footer {
    padding: 40px 0;
    border-top: 1px solid rgba(17, 17, 17, 0.08);
    background: rgba(255, 255, 255, 0.85);
}

.footer-inner {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 1fr;
    gap: 18px;
    align-items: start;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 900;
    color: var(--text);
}

.footer-logo {
    height: 32px;
    width: auto;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a {
    text-decoration: none;
    color: var(--text-muted);
    font-weight: 700;
}

.footer-links a:hover {
    color: var(--text);
}

.footer-meta {
    color: var(--text-muted);
    line-height: 1.7;
    font-weight: 600;
}

.footer-meta a {
    color: var(--text);
    text-decoration: none;
}

.footer-small {
    color: rgba(17, 17, 17, 0.55);
    font-weight: 600;
}

/* Responsive */
@media (max-width: 1080px) {
    .cards-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

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

    .hero-highlights {
        grid-template-columns: 1fr;
    }

    .trust-grid {
        grid-template-columns: 1fr;
    }

    .footer-inner {
        grid-template-columns: 1fr;
    }

    .partners-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 760px) {
    .nav-toggle {
        display: inline-flex;
    }

    .nav {
        position: absolute;
        top: 70px;
        left: 20px;
        right: 20px;
        flex-direction: column;
        padding: 12px;
        border-radius: var(--radius-lg);
        border: 1px solid rgba(17, 17, 17, 0.14);
        background: rgba(255, 255, 255, 0.96);
        display: none;
    }

    .nav-open {
        display: flex;
    }

    .header-cta {
        display: none;
    }
}

@media (max-width: 520px) {
    .section {
        padding: 62px 0;
    }

    .cards-grid {
        grid-template-columns: 1fr;
    }

    .steps {
        grid-template-columns: 1fr;
    }

    .hero-title {
        font-size: 2.05rem;
    }

    .partners-grid {
        grid-template-columns: 1fr;
    }

    .partner {
        min-height: 64px;
    }
}

