:root {
    --wp-bg: #0d1b2a;
    --wp-bg-alt: #10243a;
    --wp-accent: #4fd1c5;
    --wp-accent-2: #38b2ac;
    --wp-text: #e2e8f0;
    --wp-text-muted: #a7b6c6;
    --wp-shadow-sm: 0 0.35rem 1rem rgba(13, 27, 42, 0.08);
    --wp-shadow-lg: 0 1rem 2.5rem rgba(13, 27, 42, 0.14);
}

html {
    scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    *, *::before, *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
    }
}

body {
    background-color: #f7fafc;
    color: #1a202c;
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

main {
    padding-top: 70px;
}

a {
    color: var(--wp-bg);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
.nav-link:focus-visible {
    outline: 3px solid var(--wp-accent);
    outline-offset: 2px;
}

/* Header */
.navbar {
    background-color: var(--wp-bg);
}

.navbar-brand {
    color: #fff !important;
    letter-spacing: 0.5px;
}

.nav-link {
    color: var(--wp-text-muted) !important;
}

.nav-link:hover,
.nav-link:focus {
    color: #fff !important;
}

/* Hero */
.hero {
    position: relative;
    background: linear-gradient(135deg, var(--wp-bg) 0%, var(--wp-bg-alt) 100%);
    color: var(--wp-text);
    overflow: hidden;
    padding-bottom: 2.5rem;
}

.hero-grid {
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(rgba(79, 209, 197, 0.16) 1px, transparent 1px);
    background-size: 26px 26px;
    mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.9) 0%, transparent 85%);
    pointer-events: none;
}

.hero-eyebrow {
    color: var(--wp-accent);
    letter-spacing: 2px;
}

.hero-art {
    position: relative;
    display: inline-block;
}

.hero-icon {
    font-size: 12rem;
    color: rgba(79, 209, 197, 0.22);
}

.hero-icon--float-1 {
    position: absolute;
    top: 0.5rem;
    right: -0.5rem;
    font-size: 3rem;
    color: rgba(226, 232, 240, 0.5);
}

.hero-icon--float-2 {
    position: absolute;
    bottom: 1rem;
    left: -0.5rem;
    font-size: 2.5rem;
    color: var(--wp-accent);
    opacity: 0.7;
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.35rem 0.85rem;
    border: 1px solid rgba(226, 232, 240, 0.25);
    border-radius: 50rem;
    font-size: 0.8125rem;
    color: var(--wp-text-muted);
    background-color: rgba(255, 255, 255, 0.04);
}

.hero-divider {
    position: relative;
    display: block;
    width: 100%;
    line-height: 0;
    color: #f7fafc;
}

.hero-divider svg {
    width: 100%;
    height: 3.5rem;
    display: block;
    fill: currentColor;
}

.hero-divider--top svg {
    height: 2.5rem;
}

.error-hero {
    min-height: calc(100vh - 70px);
    display: flex;
    align-items: center;
}

.error-icon {
    font-size: 4.5rem;
    color: var(--wp-accent);
}

/* Section titles */
.section-kicker {
    color: var(--wp-accent-2);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.8125rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

/* Servicios */
.bg-alt {
    background-color: #eef2f6;
}

.service-card {
    border: 1px solid #e2e8f0;
    border-radius: 1rem;
    box-shadow: var(--wp-shadow-sm);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.service-card:hover,
.service-card:focus-within {
    transform: translateY(-6px);
    box-shadow: var(--wp-shadow-lg);
    border-color: rgba(79, 209, 197, 0.4);
}

.service-icon-circle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3.25rem;
    height: 3.25rem;
    border-radius: 1rem;
    font-size: 1.5rem;
    color: #fff;
    background: linear-gradient(135deg, var(--wp-bg) 0%, var(--wp-bg-alt) 100%);
}

.service-card--b .service-icon-circle,
.service-card--e .service-icon-circle {
    background: linear-gradient(135deg, var(--wp-accent-2) 0%, var(--wp-bg) 100%);
}

.service-card--c .service-icon-circle,
.service-card--f .service-icon-circle {
    background: linear-gradient(135deg, #1a365d 0%, var(--wp-bg-alt) 100%);
}

.tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-top: 0.75rem;
}

.tag-pill {
    font-size: 0.8125rem;
    color: #2d3748;
    background-color: #eef2f6;
    border: 1px solid #e2e8f0;
    border-radius: 50rem;
    padding: 0.25rem 0.7rem;
}

/* Por qué wpinto */
.why-card {
    background-color: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 1rem;
    padding: 1.75rem 1.25rem;
    box-shadow: var(--wp-shadow-sm);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.why-card:hover,
.why-card:focus-within {
    transform: translateY(-4px);
    box-shadow: var(--wp-shadow-lg);
}

.why-icon-circle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 50%;
    font-size: 1.5rem;
    color: var(--wp-bg);
    background-color: rgba(79, 209, 197, 0.16);
}

/* Metodología */
.methodology-row {
    position: relative;
}

.step-card {
    position: relative;
    background-color: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 1rem;
    padding: 1.75rem 1.5rem;
    box-shadow: var(--wp-shadow-sm);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.step-card:hover,
.step-card:focus-within {
    transform: translateY(-4px);
    box-shadow: var(--wp-shadow-lg);
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--wp-bg) 0%, var(--wp-bg-alt) 100%);
    color: #fff;
    font-weight: 700;
}

.step-icon {
    float: right;
    font-size: 1.5rem;
    color: rgba(79, 209, 197, 0.6);
}

/* CTA */
.cta-section {
    position: relative;
    background: linear-gradient(135deg, var(--wp-bg) 0%, var(--wp-bg-alt) 100%);
    color: var(--wp-text);
}

.cta-section p {
    color: var(--wp-text-muted);
}

/* Formulario */
.honeypot-field {
    position: absolute;
    left: -9999px;
    top: -9999px;
}

/* Footer */
.site-footer {
    background-color: var(--wp-bg);
    color: var(--wp-text-muted);
}

.footer-link {
    color: var(--wp-text-muted);
    text-decoration: none;
}

.footer-link:hover,
.footer-link:focus {
    color: #fff;
    text-decoration: underline;
}
