@charset "UTF-8";

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

:root {
    --primary: #10b981;
    --primary-dark: #059669;
    --primary-glow: rgba(16, 185, 129, 0.45);
    --secondary: #f59e0b;
    --accent: #3b82f6;
    --accent-glow: rgba(59, 130, 246, 0.35);
    --text-primary: #f9fafb;
    --text-secondary: #d1d5db;
    --text-light: #9ca3af;
    --bg-dark: #0c0f14;
    --bg-card: rgba(24, 31, 42, 0.72);
    --bg-card-solid: #181f2a;
    --bg-light: rgba(55, 65, 81, 0.55);
    --border-subtle: rgba(255, 255, 255, 0.08);
    --border-glow: rgba(255, 255, 255, 0.14);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.35);
    --shadow-md: 0 8px 32px rgba(0, 0, 0, 0.45);
    --shadow-lg: 0 24px 80px rgba(0, 0, 0, 0.55);
    --radius: 20px;
    --radius-sm: 12px;
    --font-display: 'Outfit', 'Inter', system-ui, sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

html {
    scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

body {
    font-family: var(--font-body), 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: var(--bg-dark);
    min-height: 100vh;
    padding: 0 20px 48px;
    line-height: 1.6;
    color: var(--text-primary);
    position: relative;
    overflow-x: hidden;
}

::selection {
    background: rgba(16, 185, 129, 0.35);
    color: var(--text-primary);
}

/* Fondo ambiental */
.ambient {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background:
        radial-gradient(ellipse 100% 80% at 10% -20%, rgba(16, 185, 129, 0.22), transparent 50%),
        radial-gradient(ellipse 80% 60% at 95% 10%, rgba(59, 130, 246, 0.18), transparent 45%),
        radial-gradient(ellipse 60% 50% at 50% 100%, rgba(245, 158, 11, 0.08), transparent 50%),
        linear-gradient(180deg, #0a0d12 0%, var(--bg-dark) 40%, #0a0c10 100%);
}

.grid-overlay {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, black 20%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, black 20%, transparent 70%);
}

.top-accent-bar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    z-index: 100;
    pointer-events: none;
    background: linear-gradient(
        90deg,
        var(--primary),
        var(--accent) 42%,
        var(--secondary) 78%,
        var(--primary)
    );
    background-size: 200% 100%;
    animation: accent-flow 14s linear infinite;
}

@keyframes accent-flow {
    0% { background-position: 0% 50%; }
    100% { background-position: 200% 50%; }
}

.noise-overlay {
    position: fixed;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    opacity: 0.035;
    mix-blend-mode: overlay;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.ambient::after {
    content: '';
    position: absolute;
    width: 140%;
    height: 100%;
    top: -20%;
    left: -20%;
    background:
        radial-gradient(ellipse at 30% 20%, rgba(16, 185, 129, 0.12), transparent 55%),
        radial-gradient(ellipse at 80% 60%, rgba(59, 130, 246, 0.1), transparent 50%);
    animation: aurora-drift 22s ease-in-out infinite alternate;
    pointer-events: none;
}

@keyframes aurora-drift {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(-4%, 3%) scale(1.05); }
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 40;
    max-width: 720px;
    margin: 0 auto;
    padding: 20px 0 8px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    transition:
        padding 0.35s ease,
        margin 0.35s ease,
        border-color 0.35s ease,
        box-shadow 0.35s ease,
        background 0.35s ease;
}

.site-header.masthead--scrolled {
    padding-top: 12px;
    padding-bottom: 12px;
    margin-bottom: 4px;
    background: rgba(10, 12, 17, 0.78);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-radius: 0 0 var(--radius-sm) var(--radius-sm);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-top: none;
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.45);
}

.brand-block {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: inherit;
    transition: opacity 0.2s;
}

.brand-block:hover {
    opacity: 0.92;
}

.brand-name {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 0.04em;
    background: linear-gradient(135deg, #ecfdf5, #a7f3d0);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.logo-mark {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 14px;
    letter-spacing: 0.06em;
    padding: 10px 14px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.2), rgba(59, 130, 246, 0.15));
    border: 1px solid var(--border-glow);
    color: var(--text-primary);
}

.header-tag {
    font-size: 12px;
    font-weight: 500;
    color: var(--text-light);
    letter-spacing: 0.02em;
}

.header-tag .sep {
    margin: 0 0.35em;
    color: var(--text-light);
    opacity: 0.7;
}

/* Iconos SVG (sin emojis: compatibles en cualquier servidor) */
.ico {
    flex-shrink: 0;
    display: block;
}

.ico-inline {
    vertical-align: middle;
}

.title-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.2), rgba(59, 130, 246, 0.12));
    border: 1px solid var(--border-glow);
    color: var(--primary);
}

.title-icon .ico {
    opacity: 0.95;
}

.container {
    position: relative;
    z-index: 10;
    max-width: 640px;
    margin: 0 auto;
    animation: fadeIn 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Entrada al hacer scroll (profesional, sin exceso) */
.js-reveal {
    opacity: 0;
    transform: translateY(1.75rem);
    transition:
        opacity 0.75s cubic-bezier(0.22, 1, 0.36, 1),
        transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
}

.js-reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.skip-link {
    position: absolute;
    top: -100px;
    left: 12px;
    z-index: 200;
    padding: 12px 20px;
    background: var(--primary);
    color: #052e26;
    font-weight: 700;
    font-size: 14px;
    border-radius: 8px;
    text-decoration: none;
    transition: top 0.2s ease;
}

.skip-link:focus {
    top: 12px;
    outline: 2px solid var(--accent);
    outline-offset: 3px;
}

.header-end {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.header-social {
    display: flex;
    align-items: center;
    gap: 6px;
}

.social-ico {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    color: var(--text-secondary);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-subtle);
    transition:
        background 0.2s ease,
        color 0.2s ease,
        border-color 0.2s ease,
        transform 0.2s ease;
}

.social-ico:hover {
    color: var(--primary);
    border-color: rgba(16, 185, 129, 0.45);
    background: rgba(16, 185, 129, 0.1);
    transform: translateY(-2px);
}

.social-ico:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

.hero-response {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    max-width: 34rem;
    margin: 18px auto 0;
    padding: 12px 16px;
    font-size: 13px;
    line-height: 1.5;
    color: var(--text-light);
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
}

.hero-response strong {
    color: #fcd34d;
    font-weight: 600;
}

.hero-response-ico {
    display: inline-flex;
    color: rgba(251, 191, 36, 0.85);
}

.section--compact {
    padding-bottom: 22px;
}

.section--highlight {
    border-color: rgba(16, 185, 129, 0.25);
    box-shadow:
        var(--shadow-md),
        0 0 0 1px rgba(16, 185, 129, 0.08) inset;
}

.trust-intro {
    text-align: center;
    font-size: 15px;
    line-height: 1.72;
    color: var(--text-secondary);
    margin-bottom: 20px;
    max-width: 52ch;
    margin-left: auto;
    margin-right: auto;
}

.trust-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.trust-chip {
    font-size: 13px;
    line-height: 1.45;
    color: var(--text-secondary);
    padding: 10px 14px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-subtle);
    background: var(--bg-light);
    max-width: 340px;
    text-align: left;
}

.trust-chip strong {
    color: var(--text-primary);
    font-weight: 600;
}

.process-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.process-step {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    padding: 18px;
    border-radius: var(--radius-sm);
    background: var(--bg-light);
    border: 1px solid var(--border-subtle);
    transition:
        border-color 0.25s ease,
        box-shadow 0.25s ease;
}

.process-step:hover {
    border-color: rgba(16, 185, 129, 0.28);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.28);
}

.process-num {
    flex-shrink: 0;
    width: 38px;
    height: 38px;
    border-radius: 11px;
    background: rgba(16, 185, 129, 0.16);
    border: 1px solid rgba(16, 185, 129, 0.42);
    color: var(--primary);
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.process-title {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 6px;
}

.process-desc {
    font-size: 14px;
    line-height: 1.65;
    color: var(--text-secondary);
}

.cases-lead {
    font-size: 14px;
    color: var(--text-light);
    text-align: center;
    margin-bottom: 22px;
    max-width: 48ch;
    margin-left: auto;
    margin-right: auto;
}

.case-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 14px;
}

.case-card {
    padding: 20px;
    border-radius: var(--radius-sm);
    background: var(--bg-light);
    border: 1px solid var(--border-subtle);
    transition:
        transform 0.25s ease,
        border-color 0.25s ease;
}

.case-card:hover {
    transform: translateY(-3px);
    border-color: rgba(59, 130, 246, 0.35);
}

.case-meta {
    font-family: var(--font-display);
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 12px;
}

.case-card p {
    font-size: 13px;
    line-height: 1.65;
    color: var(--text-secondary);
}

.case-card p + p {
    margin-top: 8px;
}

.case-stack {
    opacity: 0.95;
}

.no-fit-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.no-fit-list li {
    font-size: 14px;
    line-height: 1.72;
    color: var(--text-secondary);
    padding: 11px 0 11px 22px;
    position: relative;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.no-fit-list li:last-child {
    border-bottom: none;
}

.no-fit-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 1.05em;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(248, 113, 113, 0.9);
}

.cta-sub-muted {
    display: inline;
    color: var(--text-light);
    font-weight: 500;
}

.cta-code {
    font-family: ui-monospace, Consolas, monospace;
    font-size: 11px;
    padding: 2px 6px;
    border-radius: 4px;
    background: rgba(0, 0, 0, 0.35);
    color: #a7f3d0;
}

.footer-legal {
    margin-top: 14px;
    font-size: 13px;
}

.footer-legal a {
    color: var(--text-light);
    font-weight: 500;
    text-decoration: none;
}

.footer-legal a:hover {
    color: var(--primary);
    text-decoration: underline;
}

.footer-micro {
    margin-top: 10px;
    font-size: 12px;
    color: var(--text-light);
    opacity: 0.82;
}

@media (min-width: 900px) {
    .container {
        max-width: 720px;
    }

    .site-header {
        max-width: 720px;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(16px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Hero */
.hero {
    position: relative;
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: var(--radius);
    padding: 36px 28px 40px;
    text-align: center;
    box-shadow: var(--shadow-lg), 0 0 0 1px var(--border-subtle) inset;
    margin-bottom: 24px;
    overflow: hidden;
    border: 1px solid var(--border-glow);
}

.hero-glow {
    position: absolute;
    top: -40%;
    left: 50%;
    transform: translateX(-50%);
    width: 120%;
    height: 70%;
    background: radial-gradient(ellipse at center, var(--primary-glow) 0%, transparent 65%);
    opacity: 0.5;
    pointer-events: none;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(
        90deg,
        transparent,
        var(--primary) 20%,
        var(--accent) 50%,
        var(--secondary) 80%,
        transparent
    );
    background-size: 200% 100%;
    animation: shimmer 8s ease-in-out infinite;
}

@keyframes shimmer {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.kicker {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.04em;
    color: #a7f3d0;
    margin-bottom: 20px;
    padding: 10px 16px;
    border-radius: 999px;
    background: rgba(16, 185, 129, 0.14);
    border: 1px solid rgba(16, 185, 129, 0.35);
    max-width: 100%;
    text-wrap: balance;
}

.ico-kicker {
    color: var(--primary);
    filter: drop-shadow(0 0 6px var(--primary-glow));
}

.avatar-container {
    position: relative;
    z-index: 1;
    display: inline-block;
    margin-bottom: 18px;
}

.avatar {
    width: 108px;
    height: 108px;
    border-radius: 50%;
    background: linear-gradient(145deg, var(--primary) 0%, var(--accent) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow:
        0 12px 40px rgba(0, 0, 0, 0.4),
        0 0 0 1px rgba(255, 255, 255, 0.12) inset,
        0 0 48px var(--primary-glow);
    animation: float 4s ease-in-out infinite;
    overflow: hidden;
    border: 3px solid rgba(255, 255, 255, 0.18);
}

.avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.avatar svg {
    width: 80px;
    height: 80px;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

.status-badge {
    position: absolute;
    bottom: 4px;
    right: 4px;
    width: 18px;
    height: 18px;
    background: var(--primary);
    border: 3px solid var(--bg-card-solid);
    border-radius: 50%;
    box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.4);
}

.name {
    position: relative;
    z-index: 1;
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 2.5rem);
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 6px;
    letter-spacing: -0.03em;
    background: linear-gradient(135deg, #fff 0%, #e5e7eb 50%, #cbd5e1 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.title {
    position: relative;
    z-index: 1;
    font-size: 1.05rem;
    color: var(--text-secondary);
    font-weight: 500;
    margin-bottom: 10px;
    max-width: 36ch;
    margin-left: auto;
    margin-right: auto;
}

.title-brand {
    color: var(--text-light);
    font-weight: 600;
}

.dev-stripe {
    position: relative;
    z-index: 1;
    font-family: ui-monospace, 'Cascadia Code', 'Segoe UI Mono', Consolas, monospace;
    font-size: 12px;
    color: var(--text-light);
    margin: 4px auto 14px;
    max-width: 36rem;
    letter-spacing: 0.04em;
    opacity: 0.9;
    line-height: 1.5;
}

.dev-stripe-prompt {
    color: var(--primary);
    font-weight: 600;
    margin-right: 2px;
}

.dev-stripe-text {
    color: #94a3b8;
}

.dev-stripe-caret {
    display: inline-block;
    width: 6px;
    height: 1.05em;
    margin-left: 3px;
    background: var(--primary);
    vertical-align: text-bottom;
    border-radius: 1px;
    animation: caret-blink 1.05s step-end infinite;
}

@keyframes caret-blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
    .dev-stripe-caret {
        animation: none;
        opacity: 0.75;
    }

    .top-accent-bar,
    .ambient::after {
        animation: none;
    }
}

.location {
    position: relative;
    z-index: 1;
    font-size: 14px;
    color: var(--text-light);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 4px;
}

.location::before {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--secondary);
    box-shadow: 0 0 10px rgba(245, 158, 11, 0.6);
}

.phone-section {
    position: relative;
    z-index: 1;
    margin-top: 22px;
    padding-top: 22px;
    border-top: 1px solid var(--border-subtle);
}

.phone-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: clamp(1.1rem, 3vw, 1.35rem);
    font-weight: 700;
    font-family: var(--font-display);
    color: var(--primary);
    text-decoration: none;
    transition: color 0.25s, transform 0.25s, box-shadow 0.25s, background 0.25s;
    padding: 14px 22px;
    background: rgba(16, 185, 129, 0.1);
    border-radius: 14px;
    border: 1px solid rgba(16, 185, 129, 0.45);
}

.phone-number .ico {
    opacity: 0.9;
}

.phone-number:hover {
    background: rgba(16, 185, 129, 0.2);
    color: #ecfdf5;
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(16, 185, 129, 0.25);
}

.phone-number:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 3px;
}

/* Info Grid (legacy) */
.info-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
    margin-bottom: 20px;
}

.info-card-full {
    grid-column: 1 / -1;
}

.info-card {
    background: var(--bg-card);
    border-radius: var(--radius-sm);
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: var(--shadow-md);
    transition: transform 0.2s, box-shadow 0.2s;
    border: 1px solid var(--border-subtle);
}

.info-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(16, 185, 129, 0.35);
}

.info-icon {
    font-size: 32px;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-light);
    border-radius: 12px;
}

.info-content {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.info-label {
    font-size: 12px;
    color: var(--text-light);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.info-value {
    font-size: 15px;
    color: var(--text-primary);
    font-weight: 600;
}

/* Sections */
.section {
    background: var(--bg-card);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: var(--radius);
    padding: 28px 26px;
    margin-bottom: 24px;
    box-shadow: var(--shadow-md), 0 0 0 1px var(--border-subtle) inset;
    border: 1px solid var(--border-glow);
    transition: border-color 0.3s, box-shadow 0.3s;
}

.section:hover {
    border-color: rgba(255, 255, 255, 0.12);
    box-shadow: var(--shadow-lg), 0 0 0 1px rgba(255, 255, 255, 0.06) inset;
}

.section-title {
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 22px;
    display: flex;
    align-items: center;
    gap: 14px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--border-subtle);
}

.profile-content {
    background: var(--bg-light);
    border-radius: var(--radius-sm);
    padding: 22px;
    border-left: 3px solid var(--primary);
    box-shadow: 0 0 24px rgba(16, 185, 129, 0.06) inset;
}

.profile-text {
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.75;
}

.experience-block {
    margin-top: 22px;
    padding-top: 22px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.experience-lead {
    font-family: var(--font-display);
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 16px;
    letter-spacing: 0.02em;
}

.experience-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
}

@media (min-width: 560px) {
    .experience-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.experience-item {
    padding: 16px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-subtle);
    background: rgba(0, 0, 0, 0.2);
}

.experience-item--public {
    border-left: 3px solid var(--primary);
}

.experience-item--private {
    border-left: 3px solid var(--accent);
}

.experience-label {
    font-family: var(--font-display);
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-light);
    margin-bottom: 8px;
}

.experience-desc {
    font-size: 14px;
    line-height: 1.7;
    color: var(--text-secondary);
}

.experience-desc strong {
    color: var(--text-primary);
    font-weight: 600;
}

.highlight-brand {
    color: #a7f3d0;
    font-weight: 600;
}

/* Skills */
.skills-grid {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.skill-category {
    background: var(--bg-light);
    border-radius: var(--radius-sm);
    padding: 20px;
    border: 1px solid var(--border-subtle);
}

.category-title {
    font-family: var(--font-display);
    font-size: 11px;
    font-weight: 600;
    color: var(--text-light);
    margin-bottom: 14px;
    text-transform: uppercase;
    letter-spacing: 0.14em;
}

.skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tag {
    padding: 9px 16px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 500;
    transition: transform 0.2s, box-shadow 0.2s;
    cursor: default;
    border: 1px solid transparent;
}

.tag-primary {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.95) 0%, var(--primary-dark) 100%);
    color: white;
    box-shadow: 0 4px 16px rgba(16, 185, 129, 0.35);
    border-color: rgba(255, 255, 255, 0.12);
}

.tag-secondary {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: white;
    box-shadow: 0 4px 16px rgba(245, 158, 11, 0.3);
    border-color: rgba(255, 255, 255, 0.1);
}

.tag-accent {
    background: linear-gradient(135deg, var(--accent) 0%, #2563eb 100%);
    color: white;
    box-shadow: 0 4px 16px var(--accent-glow);
    border-color: rgba(255, 255, 255, 0.1);
}

.tag:hover {
    transform: translateY(-3px);
    filter: brightness(1.08);
}

/* Projects (legacy) */
.projects {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.project-card {
    background: var(--bg-light);
    border-radius: var(--radius-sm);
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    transition: all 0.2s;
    border: 2px solid transparent;
}

.project-card:hover {
    border-color: rgba(16, 185, 129, 0.4);
    transform: translateX(4px);
}

.project-icon {
    font-size: 36px;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-card-solid);
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
}

.project-info {
    flex: 1;
}

.project-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.project-desc {
    font-size: 13px;
    color: var(--text-light);
}

/* CTA */
.cta-section {
    display: flex;
    gap: 14px;
    margin-bottom: 24px;
}

.btn {
    position: relative;
    flex: 1;
    padding: 16px 22px;
    border: none;
    border-radius: var(--radius-sm);
    font-size: 15px;
    font-weight: 600;
    font-family: var(--font-display);
    cursor: pointer;
    transition: transform 0.25s, box-shadow 0.25s, background 0.25s, color 0.25s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-decoration: none;
    text-align: center;
}

.btn:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 3px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    box-shadow: 0 8px 28px rgba(16, 185, 129, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 36px rgba(16, 185, 129, 0.45);
}

.btn-primary:active {
    transform: translateY(-1px);
}

.btn-secondary {
    background: rgba(24, 31, 42, 0.8);
    color: var(--primary);
    border: 1px solid rgba(16, 185, 129, 0.45);
    box-shadow: var(--shadow-sm);
    backdrop-filter: blur(8px);
}

.btn-secondary:hover {
    background: rgba(16, 185, 129, 0.15);
    color: #ecfdf5;
    transform: translateY(-3px);
    border-color: var(--primary);
}

.btn-secondary:active {
    transform: translateY(-1px);
}

.cta-sub {
    text-align: center;
    margin: -12px 0 28px;
    font-size: 13px;
    color: var(--text-light);
}

.cta-sub a {
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s;
}

.cta-sub a:hover {
    color: #a7f3d0;
    text-decoration: underline;
}

.cta-sub-sep {
    margin: 0 0.55em;
    opacity: 0.65;
}

/* Footer */
.footer {
    text-align: center;
    padding: 8px 16px 0;
    color: var(--text-light);
    font-size: 13px;
    letter-spacing: 0.02em;
}

.footer strong {
    color: var(--text-secondary);
    font-weight: 600;
}

.footer-contact {
    margin-top: 10px;
    font-size: 13px;
}

.footer-contact a {
    color: var(--primary);
    font-weight: 500;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-contact a:hover {
    color: #a7f3d0;
    text-decoration: underline;
}

.footer .sep {
    margin: 0 0.4em;
}

/* Specialization */
.specialization-section {
    background: var(--bg-card);
}

#portafolio {
    scroll-margin-top: 1.25rem;
}

.specialization-intro {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.75;
    margin-bottom: 28px;
    text-align: center;
    padding: 0 6px;
    max-width: 52ch;
    margin-left: auto;
    margin-right: auto;
}

.specialization-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 18px;
}

.specialization-card {
    position: relative;
    background: var(--bg-light);
    border-radius: var(--radius-sm);
    padding: 24px;
    border: 1px solid var(--border-subtle);
    transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
    overflow: hidden;
}

.specialization-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), transparent);
    opacity: 0;
    transition: opacity 0.3s;
}

.specialization-card:hover {
    border-color: rgba(16, 185, 129, 0.35);
    transform: translateY(-4px);
    box-shadow:
        0 16px 48px rgba(0, 0, 0, 0.38),
        0 0 0 1px rgba(16, 185, 129, 0.12),
        0 0 52px rgba(16, 185, 129, 0.1);
}

.specialization-card:hover::before {
    opacity: 1;
}

.spec-icon-box {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

.spec-icon-box .ico-lg {
    color: inherit;
}

.spec-icon--mint {
    background: linear-gradient(145deg, rgba(16, 185, 129, 0.35), rgba(16, 185, 129, 0.08));
    color: #6ee7b7;
}

.spec-icon--sky {
    background: linear-gradient(145deg, rgba(59, 130, 246, 0.35), rgba(59, 130, 246, 0.08));
    color: #93c5fd;
}

.spec-icon--amber {
    background: linear-gradient(145deg, rgba(245, 158, 11, 0.35), rgba(245, 158, 11, 0.08));
    color: #fcd34d;
}

.spec-title {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 14px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(16, 185, 129, 0.35);
}

.spec-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.spec-list li {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.75;
    padding: 7px 0 7px 22px;
    position: relative;
    transition: color 0.2s, padding-left 0.2s;
}

.spec-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    border-radius: 2px;
    background: var(--primary);
    box-shadow: 0 0 8px var(--primary-glow);
}

.spec-list li:hover {
    color: var(--text-primary);
    padding-left: 26px;
}

/* Responsive */
@media (max-width: 640px) {
    body {
        padding: 0 14px 40px;
    }

    .site-header {
        padding-top: 16px;
    }

    .hero {
        padding: 28px 20px 32px;
    }

    .section {
        padding: 22px 18px;
    }

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

    .cta-section {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }

    .site-header {
        flex-wrap: wrap;
        gap: 12px;
    }

    .header-end {
        width: 100%;
        justify-content: space-between;
    }

    .trust-chip {
        max-width: none;
        width: 100%;
    }

    .cta-sub {
        line-height: 1.65;
    }
}
