/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

* { cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 32 32'%3E%3Ctext y='28' font-size='26'%3E%F0%9F%9A%80%3C/text%3E%3C/svg%3E") 4 4, auto !important; }

:root {
    --bg:         #0a0a0a;
    --bg2:        #101010;
    --surface:    #161616;
    --surface-2:  #1c1c1c;
    --accent:     #06b6d4;
    --accent-glow:rgba(6,182,212,0.30);
    --accent-2:   #22d3ee;
    --text:       #d4d4d4;
    --text-muted: #6b6b6b;
    --border:     #2a2a2a;
    --white:      #ffffff;
    --font:       'Inter', sans-serif;
    --radius:     14px;
}

html { scroll-behavior: smooth; overflow-x: hidden; }
body { font-family: var(--font); background: var(--bg); color: var(--text); line-height: 1.6; overflow-x: hidden; }
a { color: var(--accent); text-decoration: none; transition: color .2s; }
a:hover { color: var(--accent-2); }
ul { list-style: none; }
img { max-width: 100%; display: block; }
.container { max-width: 1160px; margin: 0 auto; padding: 0 28px; }

/* ===== NAVBAR ===== */
.site-header {
    position: fixed; top: 0; width: 100%; z-index: 100;
    transition: background .3s, box-shadow .3s;
}
.site-header.scrolled {
    background: rgba(10,10,15,0.96);
    backdrop-filter: blur(16px);
    box-shadow: 0 1px 0 var(--border);
}

.navbar .container {
    display: flex; align-items: center; justify-content: space-between;
    height: 72px;
}

.brand { display: flex; align-items: center; }
.brand-logo {
    height: 52px;
    width: auto;
    object-fit: contain;
    transition: filter 0.3s ease;
}
.brand-logo:hover {
    filter: drop-shadow(0 0 14px rgba(6,182,212,0.5));
}
.brand-jp     { color: var(--accent); }
.brand-market { color: var(--white); }

.nav-links { display: flex; gap: 36px; }
.nav-links a { color: var(--text-muted); font-weight: 500; font-size: .92rem; letter-spacing: .3px; transition: color .2s; }
.nav-links a:hover { color: var(--white); }

.nav-cta { background: var(--accent); color: var(--white) !important; padding: 9px 22px !important; border-radius: 50px !important; font-weight: 600 !important; transition: box-shadow .2s, opacity .2s !important; }
.nav-cta:hover { opacity: .9 !important; box-shadow: 0 0 20px var(--accent-glow) !important; color: var(--white) !important; }
.nav-admin { font-size: 1rem; opacity: .45; transition: opacity .2s !important; padding: 6px 10px !important; border-radius: 8px !important; }
.nav-admin:hover { opacity: 1 !important; background: rgba(6,182,212,0.1) !important; }

.nav-toggle { display: none; background: none; border: 1px solid var(--border); color: var(--text); padding: 8px 12px; border-radius: 8px; cursor: pointer; font-size: 1rem; }

/* ===== HERO ===== */
.hero {
    min-height: 100vh;
    display: flex; align-items: center; justify-content: center;
    text-align: center;
    padding: 140px 28px 100px;
    position: relative;
    overflow: hidden;
    background-color: var(--bg);
    background-image: radial-gradient(rgba(6,182,212,.045) 1px, transparent 1px);
    background-size: 28px 28px;
}
.hero::after {
    content: '';
    position: absolute; bottom: 0; left: 0; right: 0; height: 1px;
    background: linear-gradient(90deg, transparent, var(--border), transparent);
}

/* Orbes animados */
.hero-bg { position: absolute; inset: 0; pointer-events: none; overflow: hidden; z-index: 0; }
.hbg-orb { position: absolute; border-radius: 50%; filter: blur(72px); }

.hbg-orb--1 {
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(6,182,212,.22) 0%, transparent 70%);
    top: -160px; left: -140px;
    animation: orbDrift1 14s ease-in-out infinite alternate;
}
.hbg-orb--2 {
    width: 480px; height: 480px;
    background: radial-gradient(circle, rgba(6,182,212,.14) 0%, transparent 70%);
    bottom: -120px; right: -100px;
    animation: orbDrift2 11s ease-in-out infinite alternate;
}
.hbg-orb--3 {
    width: 320px; height: 320px;
    background: radial-gradient(circle, rgba(34,211,238,.1) 0%, transparent 70%);
    top: 40%; left: 55%;
    animation: orbDrift3 18s ease-in-out infinite alternate;
}

@keyframes orbDrift1 {
    from { transform: translate(0,0) scale(1);          opacity: .7; }
    to   { transform: translate(40px,-30px) scale(1.12); opacity: 1; }
}
@keyframes orbDrift2 {
    from { transform: translate(0,0) scale(1);           opacity: .6; }
    to   { transform: translate(-30px,25px) scale(1.1);  opacity: .9; }
}
@keyframes orbDrift3 {
    from { transform: translate(0,0) scale(1);             opacity: .5; }
    to   { transform: translate(-20px,-20px) scale(1.15);  opacity: .8; }
}

.hero-inner { position: relative; z-index: 1; max-width: 780px; margin: 0 auto; }

.hero-badge {
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(6,182,212,0.07); border: 1px solid rgba(6,182,212,0.25);
    color: var(--accent-2); padding: 7px 20px; border-radius: 50px;
    font-size: .8rem; font-weight: 600; letter-spacing: 2px; text-transform: uppercase;
    margin-bottom: 36px;
}
.hero-badge::before { content: '●'; font-size: .5rem; animation: pulse 2s infinite; }
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:.4} }

.hero h1 {
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 900; line-height: 1.0; letter-spacing: -3px;
    margin-bottom: 16px;
    background: linear-gradient(135deg, #00e5ff 0%, #06b6d4 30%, #2563eb 70%, #1d4ed8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 32px rgba(6,182,212,.35));
}
.hero h1 .jp { -webkit-text-fill-color: transparent; }

.hero-slogan {
    font-size: clamp(.9rem, 2vw, 1.1rem);
    color: var(--text-muted); font-weight: 400;
    letter-spacing: 4px; text-transform: uppercase;
    margin-bottom: 28px;
}

.hero-desc {
    font-size: 1.1rem; color: var(--text-muted); line-height: 1.8;
    margin-bottom: 52px; max-width: 520px; margin-left: auto; margin-right: auto;
}

.hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-bottom: 72px; }

.btn-primary {
    display: inline-flex; align-items: center; gap: 8px;
    background: var(--accent); color: var(--white);
    padding: 15px 34px; border-radius: 50px; font-weight: 700; font-size: 1rem;
    transition: all .25s; border: none; cursor: pointer;
}
.btn-primary:hover { background: #2563eb; box-shadow: 0 0 32px var(--accent-glow); color: var(--white); transform: translateY(-2px); }

.btn-ghost {
    display: inline-flex; align-items: center; gap: 8px;
    background: transparent; border: 1px solid var(--border); color: var(--text);
    padding: 15px 34px; border-radius: 50px; font-weight: 600; font-size: 1rem;
    transition: all .25s; cursor: pointer;
}
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }

.hero-stats {
    display: flex; gap: 48px; justify-content: center; flex-wrap: wrap;
    border-top: 1px solid var(--border); padding-top: 40px;
}
.hero-stat-val  { font-size: 1.8rem; font-weight: 800; color: var(--white); }
.hero-stat-val span { color: var(--accent); }
.hero-stat-lbl  { font-size: .8rem; color: var(--text-muted); margin-top: 2px; letter-spacing: 1px; text-transform: uppercase; }

/* ===== CLIENTES BAND ===== */
.clients-band {
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 32px 0;
    background: var(--bg2);
}
.clients-label {
    text-align: center;
    font-size: .72rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 22px;
}
.clients-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    flex-wrap: wrap;
}
.client-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 40px;
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: .5px;
    color: var(--text);
    opacity: .75;
    transition: opacity .2s, color .2s;
}
.client-logo:hover { opacity: 1; color: var(--accent); }
.client-dot {
    width: 7px; height: 7px; border-radius: 50%;
    background: var(--accent);
    flex-shrink: 0;
}
.clients-sep {
    width: 1px; height: 28px;
    background: var(--border);
}

/* Partners row */
.partners-row {
    display: flex; align-items: center; justify-content: center;
    gap: 20px; flex-wrap: wrap;
    margin-top: 28px;
    padding-top: 22px;
    border-top: 1px solid var(--border);
}
.partners-label {
    font-size: .7rem; letter-spacing: 2px; text-transform: uppercase;
    color: var(--text-muted); font-weight: 600;
}
.partners-list {
    display: flex; align-items: center; gap: 6px; flex-wrap: wrap;
}
.partner-badge {
    display: inline-flex; align-items: center; gap: 10px;
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(255,255,255,.09);
    border-radius: 10px;
    padding: 10px 18px;
    transition: border-color .2s, background .2s;
}
.partner-badge:hover {
    background: rgba(255,255,255,.07);
    border-color: rgba(255,255,255,.18);
}
.partner-badge svg { flex-shrink: 0; }
.partner-name {
    font-size: .78rem; font-weight: 700; color: var(--text);
    letter-spacing: .3px; white-space: nowrap;
}
.partner-sep { width: 1px; height: 36px; background: var(--border); margin: 0 4px; }

/* ===== SECCIÓN BASE ===== */
.section { padding: 110px 0; }
.section-alt { background: var(--bg2); }
.section-inner { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

.section-tag {
    display: inline-block; color: var(--accent); background: rgba(6,182,212,0.07);
    border: 1px solid rgba(6,182,212,0.2);
    font-size: .75rem; font-weight: 700; letter-spacing: 2.5px; text-transform: uppercase;
    padding: 5px 14px; border-radius: 50px; margin-bottom: 20px;
}
.section-title {
    font-size: clamp(2rem, 4.5vw, 3rem); font-weight: 800;
    letter-spacing: -1.5px; color: var(--white); margin-bottom: 20px; line-height: 1.1;
}
.section-title span {
    background: linear-gradient(135deg, #00e5ff 0%, #06b6d4 40%, #3b82f6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.section-lead  { font-size: 1.05rem; color: var(--text-muted); line-height: 1.85; max-width: 480px; }

/* ===== NOSOTROS ===== */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 100px; align-items: center; }

.about-list { margin-top: 40px; display: flex; flex-direction: column; gap: 28px; }
.about-item { display: flex; gap: 18px; align-items: flex-start; }
.about-icon {
    width: 46px; height: 46px; flex-shrink: 0; border-radius: 12px;
    background: rgba(6,182,212,0.08); border: 1px solid rgba(6,182,212,0.2);
    display: grid; place-items: center; font-size: 1.2rem;
}
.about-item h4 { font-weight: 700; font-size: 1rem; margin-bottom: 5px; color: var(--white); }
.about-item p  { font-size: .9rem; color: var(--text-muted); line-height: 1.7; }

.about-card {
    background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
    padding: 48px; display: flex; flex-direction: column; gap: 28px;
}
.about-card-stat { text-align: center; }
.about-card-stat .num { font-size: 3.5rem; font-weight: 900; color: var(--accent); line-height: 1; }
.about-card-stat .lbl { font-size: .85rem; color: var(--text-muted); margin-top: 6px; }
.divider { height: 1px; background: var(--border); }

/* ===== SERVICIOS ===== */
.services-header { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 60px; flex-wrap: wrap; gap: 24px; }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }

@keyframes cardReveal3D {
    0%   { opacity: 0; transform: perspective(800px) rotateX(35deg) translateY(70px) scale(.88); }
    60%  { opacity: 1; }
    100% { opacity: 1; transform: perspective(800px) rotateX(0deg) translateY(0) scale(1); }
}

.services-grid { perspective: 1200px; }

.service-card {
    background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
    padding: 36px 32px; transition: border-color .25s, box-shadow .25s;
    position: relative; overflow: hidden;
    opacity: 0;
    transform-style: preserve-3d;
    will-change: transform;
}
.service-card.revealed {
    animation: cardReveal3D .7s cubic-bezier(.22,.68,0,1.1) forwards;
}
.service-card::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
    background: linear-gradient(90deg, var(--accent), transparent);
    opacity: 0; transition: opacity .3s;
}
.service-card:hover { border-color: rgba(6,182,212,0.3); transform: translateY(-4px); box-shadow: 0 12px 40px rgba(6,182,212,0.08); }
.service-card:hover::before { opacity: 1; }

.service-num  { font-size: .75rem; color: var(--accent); font-weight: 700; letter-spacing: 2px; margin-bottom: 20px; }
.service-icon { font-size: 1.8rem; margin-bottom: 18px; }
.service-card h3 { font-size: 1.1rem; font-weight: 700; color: var(--white); margin-bottom: 12px; }
.service-card p  { font-size: .9rem; color: var(--text-muted); line-height: 1.75; }

/* ===== TESTIMONIOS ===== */
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 60px; }

.testimonial-card {
    background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
    padding: 32px; display: flex; flex-direction: column; gap: 20px;
    transition: border-color .25s;
}
.testimonial-card:hover { border-color: rgba(6,182,212,0.25); }

.stars { color: #facc15; font-size: .9rem; letter-spacing: 2px; }
.testimonial-quote { font-size: .95rem; color: var(--text-muted); line-height: 1.8; font-style: italic; flex: 1; }
.testimonial-quote::before { content: '"'; color: var(--accent); font-size: 1.5rem; font-style: normal; font-weight: 900; display: block; margin-bottom: 8px; line-height: 1; }

.testimonial-author { display: flex; align-items: center; gap: 14px; }
.author-avatar {
    width: 44px; height: 44px; border-radius: 50%; background: linear-gradient(135deg, #0e7490, #06b6d4, #22d3ee);
    display: grid; place-items: center; font-weight: 700; font-size: .9rem; color: white; flex-shrink: 0;
}
.author-name { font-weight: 700; font-size: .9rem; color: var(--white); }
.author-role { font-size: .8rem; color: var(--text-muted); }

/* ===== CONTACTO ===== */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 80px; align-items: start; }
.contact-info { display: flex; flex-direction: column; gap: 32px; margin-top: 36px; }
.contact-items-row {
    display: flex; align-items: center; justify-content: center;
    gap: 0; flex-wrap: wrap;
    background: var(--surface); border: 1px solid var(--border);
    border-radius: 16px; padding: 0 8px;
    max-width: 700px; margin: 0 auto;
}
.contact-items-row .contact-item {
    display: flex; align-items: center; gap: 16px;
    padding: 28px 32px; flex: 1; min-width: 180px;
}
.contact-item-sep { width: 1px; height: 48px; background: var(--border); flex-shrink: 0; }
@media (max-width: 640px) {
    .contact-items-row { flex-direction: column; padding: 8px 0; }
    .contact-items-row .contact-item { width: 100%; padding: 20px 24px; }
    .contact-item-sep { width: 80%; height: 1px; }
}
.contact-item { display: flex; gap: 16px; align-items: flex-start; }
.contact-item-icon {
    width: 42px; height: 42px; flex-shrink: 0; border-radius: 10px;
    background: rgba(6,182,212,0.07); border: 1px solid rgba(6,182,212,0.15);
    display: grid; place-items: center; font-size: 1rem;
}
.contact-item h4 { font-size: .85rem; font-weight: 700; color: var(--white); margin-bottom: 4px; }
.contact-item p  { font-size: .9rem; color: var(--text-muted); }

.contact-form-box {
    background: var(--surface); border: 1px solid var(--border);
    border-radius: var(--radius); padding: 44px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 18px; }
.form-group label {
    display: block; font-size: .75rem; font-weight: 700; color: var(--text-muted);
    text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 8px;
}
.form-group input,
.form-group textarea {
    width: 100%; background: var(--bg); border: 1px solid var(--border);
    border-radius: 8px; padding: 12px 16px; color: var(--text);
    font-family: var(--font); font-size: .95rem; transition: border-color .2s, box-shadow .2s;
}
.form-group input:focus,
.form-group textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(6,182,212,0.08); }
.form-group input::placeholder, .form-group textarea::placeholder { color: var(--text-muted); opacity: .7; }
.form-group textarea { resize: vertical; min-height: 120px; }
.btn-submit {
    width: 100%; background: var(--accent); color: white; border: none;
    border-radius: 50px; padding: 14px; font-weight: 700; font-size: 1rem;
    cursor: pointer; transition: all .25s; margin-top: 6px;
}
.btn-submit:hover { background: #2563eb; box-shadow: 0 0 28px var(--accent-glow); }

/* ===== LEAD FORM ===== */
.lead-section { background: var(--bg); }
.lead-header { text-align: center; max-width: 620px; margin: 0 auto 56px; }

.lead-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 48px;
    max-width: 900px;
    margin: 0 auto;
}

.lead-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 20px;
}

.lead-group { display: flex; flex-direction: column; gap: 8px; }
.lead-group--full { grid-column: 1 / -1; margin-bottom: 20px; }

.lead-group label {
    font-size: .82rem;
    font-weight: 600;
    color: var(--text);
    letter-spacing: .3px;
}
.req { color: var(--accent); }
.lead-hint { font-size: .78rem; color: var(--text-muted); margin-bottom: 14px; }

.lead-group input,
.lead-group select {
    background: var(--surface-2);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 12px 16px;
    color: var(--text);
    font-family: var(--font);
    font-size: .92rem;
    transition: border-color .2s, box-shadow .2s;
    appearance: none;
}
.lead-group input::placeholder { color: var(--text-muted); }
.lead-group input:focus,
.lead-group select:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(6,182,212,0.12);
}

/* Budget cards */
.budget-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}
.budget-card { cursor: pointer; }
.budget-card input { display: none; }
.budget-card-inner {
    position: relative;
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 20px 16px;
    text-align: center;
    transition: border-color .2s, background .2s, transform .15s;
    background: var(--surface-2);
}
.budget-card input:checked + .budget-card-inner {
    border-color: var(--accent);
    background: rgba(6,182,212,0.08);
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(6,182,212,0.15);
}
.budget-card:hover .budget-card-inner { border-color: rgba(6,182,212,0.4); }
.budget-amount { font-size: 1.35rem; font-weight: 800; color: var(--white); }
.budget-label  { font-size: .72rem; color: var(--text-muted); margin: 2px 0 10px; text-transform: uppercase; letter-spacing: 1px; }
.budget-desc   { font-size: .76rem; color: var(--text-muted); line-height: 1.4; }
.budget-badge  {
    position: absolute; top: -10px; left: 50%; transform: translateX(-50%);
    background: var(--accent); color: #000;
    font-size: .65rem; font-weight: 800; letter-spacing: 1px;
    padding: 2px 10px; border-radius: 20px;
}
.budget-card--top .budget-card-inner { border-color: rgba(6,182,212,0.3); }

/* Goal chips */
.goal-grid { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 4px; }
.goal-chip { cursor: pointer; }
.goal-chip input { display: none; }
.goal-chip span {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 50px;
    border: 1px solid var(--border);
    background: var(--surface-2);
    color: var(--text-muted);
    font-size: .88rem;
    font-weight: 500;
    transition: all .2s;
}
.goal-chip input:checked + span {
    border-color: var(--accent);
    color: var(--accent);
    background: rgba(6,182,212,0.08);
}
.goal-chip:hover span { border-color: rgba(6,182,212,0.35); color: var(--text); }

/* Submit */
.lead-submit-row {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-top: 32px;
    padding-top: 28px;
    border-top: 1px solid var(--border);
}
.btn-lead-submit {
    background: var(--accent);
    color: #000;
    font-weight: 700;
    font-size: 1rem;
    padding: 16px 36px;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all .25s;
    white-space: nowrap;
}
.btn-lead-submit:hover { background: var(--accent-2); box-shadow: 0 0 40px rgba(6,182,212,0.6), 0 0 80px rgba(6,182,212,0.2); transform: translateY(-2px); letter-spacing: .5px; }

/* Botón WhatsApp flotante */
.fab-whatsapp {
    position: fixed; bottom: 32px; right: 28px; z-index: 999;
    width: 54px; height: 54px; border-radius: 50%;
    background: #25d366;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 4px 20px rgba(37,211,102,0.5);
    transition: transform .2s, box-shadow .2s;
    text-decoration: none;
}
.fab-whatsapp:hover { transform: scale(1.1); box-shadow: 0 6px 28px rgba(37,211,102,0.7); }
.fab-whatsapp svg { width: 28px; height: 28px; fill: #fff; }

/* Botón scroll-to-top flotante */
.fab-top {
    position: fixed; bottom: 32px; left: 28px; z-index: 999;
    width: 54px; height: 54px; border-radius: 50%;
    background: var(--surface); border: 1px solid var(--border);
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; transition: all .2s;
    opacity: 0; pointer-events: none;
    color: var(--accent); font-size: 1.2rem;
}
.fab-top.visible { opacity: 1; pointer-events: auto; }
.fab-top:hover { background: rgba(6,182,212,0.1); border-color: var(--accent); box-shadow: 0 0 16px var(--accent-glow); }
.lead-privacy { font-size: .78rem; color: var(--text-muted); }

@media (max-width: 768px) {
    .lead-row { grid-template-columns: 1fr; }
    .budget-grid { grid-template-columns: repeat(2, 1fr); }
    .lead-card { padding: 28px 20px; }
    .lead-submit-row { flex-direction: column; align-items: flex-start; }
}

/* ===== FOOTER ===== */
.site-footer { border-top: 1px solid var(--border); padding: 64px 0 28px; background: var(--bg2); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 48px; }
.footer-brand .brand { font-size: 1.3rem; }
.footer-desc { font-size: .88rem; color: var(--text-muted); margin-top: 14px; line-height: 1.7; max-width: 240px; }
.footer-col h4 { font-size: .8rem; font-weight: 700; color: var(--white); text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 18px; }
.footer-col ul li { margin-bottom: 11px; }
.footer-col ul li a { font-size: .88rem; color: var(--text-muted); transition: color .2s; }
.footer-col ul li a:hover { color: var(--white); }
.footer-bottom { border-top: 1px solid var(--border); padding-top: 24px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.footer-bottom p { font-size: .82rem; color: var(--text-muted); }
.footer-slogan { font-size: .82rem; color: var(--accent); font-style: italic; }

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
    .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 48px; }
    .services-grid, .testimonials-grid { grid-template-columns: 1fr 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
    .nav-links { display: none; flex-direction: column; position: absolute;
        top: 72px; left: 0; width: 100%; background: rgba(10,10,15,0.98);
        border-bottom: 1px solid var(--border); padding: 20px 28px; gap: 20px; }
    .nav-links.open { display: flex; }
    .nav-toggle { display: block; }
    .services-grid, .testimonials-grid { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .hero-stats { gap: 28px; }
    .footer-bottom { flex-direction: column; text-align: center; }
}

/* ===== EQUIPO FUNDADOR ===== */
:root { --purple: #a89060; --purple-glow: rgba(168,144,96,0.35); }

.founder-section { background: var(--bg); position: relative; overflow: clip; }
.founder-section::before {
    content: '';
    position: absolute; top: -10%; left: 20%;
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(6,182,212,0.04) 0%, transparent 60%);
    pointer-events: none;
}
.founder-section::after {
    content: '';
    position: absolute; bottom: -10%; right: 15%;
    width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(139,92,246,0.06) 0%, transparent 60%);
    pointer-events: none;
}

/* Duo layout */
.founders-duo {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 0;
    align-items: start;
}

.founders-divider {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 60px 32px 0;
    gap: 16px;
}
.founders-divider-line { width: 1px; height: 120px; background: var(--border); }
.founders-divider-line--glow {
    background: linear-gradient(to bottom, transparent, var(--accent), transparent);
    box-shadow: 0 0 12px var(--accent-glow);
    height: 180px;
}
.founders-divider-icon {
    font-size: 1.4rem; font-weight: 900; color: var(--text-muted);
    background: var(--surface); border: 1px solid var(--border);
    width: 44px; height: 44px; border-radius: 50%;
    display: grid; place-items: center;
}

/* Founder card */
.founder-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 40px;
    display: flex;
    flex-direction: column;
    gap: 22px;
    transition: border-color .3s;
}
.founder-card:hover { border-color: rgba(6,182,212,0.25); }
.founder-card:last-child:hover { border-color: rgba(168,144,96,0.3); }

.founder-card-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    text-align: center;
}

.founder-avatar {
    width: 200px; height: 200px;
    border-radius: 24px;
    display: grid; place-items: center;
    font-size: 3rem; font-weight: 900; color: white;
    letter-spacing: -2px; flex-shrink: 0;
    overflow: hidden;
}
.founder-avatar img {
    width: 120%; height: 120%;
    object-fit: cover;
    object-position: center top;
    transform: scale(1.15);
}
.founder-avatar--blue  { background: linear-gradient(135deg,#0e7490,#06b6d4,#22d3ee); box-shadow: 0 0 30px rgba(6,182,212,0.35); }
.founder-avatar--purple{ background: linear-gradient(135deg,#5c4a20,#a89060,#d4b896); box-shadow: 0 0 30px rgba(168,144,96,0.3); }

.founder-name { font-size: 1.2rem; font-weight: 800; color: var(--white); margin-bottom: 4px; }

.founder-role-badge {
    display: inline-block; font-size: .75rem; font-weight: 700;
    color: var(--accent); background: rgba(6,182,212,0.07);
    border: 1px solid rgba(6,182,212,0.2);
    padding: 3px 12px; border-radius: 50px; margin-bottom: 8px;
}
.founder-role-badge--purple {
    color: var(--purple); background: rgba(168,144,96,0.1);
    border-color: rgba(139,92,246,0.25);
}

.founder-status {
    display: inline-flex; align-items: center; gap: 6px;
    font-size: .78rem; color: var(--text-muted);
}
.status-dot { width: 7px; height: 7px; border-radius: 50%; animation: pulse-dot 2s infinite; }
.status-dot--green { background: #22c55e; box-shadow: 0 0 6px #22c55e; }
.status-dot--blue  { background: var(--accent); box-shadow: 0 0 6px var(--accent); }
@keyframes pulse-dot { 0%,100%{opacity:1} 50%{opacity:.4} }

.founder-quote {
    border-left: 3px solid var(--accent);
    padding: 14px 20px;
    background: rgba(6,182,212,0.04);
    border-radius: 0 10px 10px 0;
    font-size: .92rem; color: var(--text);
    font-style: italic; line-height: 1.7; margin: 0;
}
.founder-quote--purple {
    border-left-color: var(--purple);
    background: rgba(139,92,246,0.06);
}

.founder-bio {
    font-size: .9rem; color: var(--text-muted); line-height: 1.85; margin: 0;
}
.founder-bio strong { color: var(--text); font-weight: 600; }

.founder-tags-row { display: flex; flex-wrap: wrap; gap: 7px; }
.tag {
    background: rgba(6,182,212,0.05); border: 1px solid rgba(6,182,212,0.15);
    color: var(--accent-2); padding: 4px 12px; border-radius: 50px;
    font-size: .74rem; font-weight: 600; letter-spacing: .4px;
}
.tag--purple {
    background: rgba(139,92,246,0.08); border-color: rgba(139,92,246,0.2);
    color: #d4b896;
}

.founder-mini-stats {
    display: flex; gap: 0;
    border: 1px solid var(--border); border-radius: 10px; overflow: hidden;
}
.founder-mini-stats div {
    flex: 1; padding: 14px 12px; text-align: center;
    border-right: 1px solid var(--border);
    display: flex; flex-direction: column; gap: 4px;
}
.founder-mini-stats div:last-child { border-right: none; }
.founder-mini-stats strong { font-size: 1.3rem; font-weight: 800; color: var(--white); line-height: 1; }
.founder-mini-stats span   { font-size: .7rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 1px; }
.founder-tagline {
    margin-top: 16px;
    font-size: .88rem;
    color: var(--text-muted);
    line-height: 1.6;
    border-left: 2px solid var(--accent);
    padding-left: 12px;
}
.founder-tagline strong { color: var(--accent); font-weight: 700; }
.founder-tagline--purple { border-left-color: #a855f7; }
.founder-tagline--purple strong { color: #a855f7; }

/* Founders responsive — placed AFTER base CSS so it correctly overrides */
@media (max-width: 900px) {
    .founders-duo {
        display: flex !important;
        flex-direction: column !important;
        gap: 28px;
    }
    .founders-divider { display: none !important; }
    .founder-card { width: 100%; box-sizing: border-box; }
    .founder-avatar { width: 120px; height: 120px; }
    .founder-card-header { flex-direction: row; align-items: center; text-align: left; gap: 20px; }
}
@media (max-width: 640px) {
    .founder-card { padding: 24px; }
    .founder-avatar { width: 80px; height: 80px; border-radius: 16px; font-size: 1.6rem; }
    .founder-name { font-size: 1.1rem; }
    .founder-mini-stats { gap: 0; }
    .founder-mini-stats div { padding: 8px 10px; }
}

/* ====== PORTFOLIO ====== */
.pf-filters {
    display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 40px;
}
.pf-pill {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 9px 20px; border-radius: 50px;
    border: 1px solid var(--border);
    background: var(--surface); color: var(--text-muted);
    font-size: .82rem; font-weight: 600; cursor: pointer;
    transition: all .25s; font-family: var(--font);
}
.pf-pill span {
    background: rgba(255,255,255,.07); color: var(--text);
    padding: 1px 8px; border-radius: 50px; font-size: .7rem;
}
.pf-pill--active, .pf-pill:hover {
    border-color: rgba(212,160,23,.6); color: #f0b429;
    background: rgba(212,160,23,.07);
}
.pf-pill--active span, .pf-pill:hover span { background: rgba(212,160,23,.18); color: #f0b429; }

.pf-grid {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 20px;
}
@media (max-width: 1024px) { .pf-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 600px)  { .pf-grid { grid-template-columns: 1fr; } }

/* ── Card shell ── */
.pf-card {
    border-radius: 20px; overflow: hidden;
    background: #0e0e0e;
    border: 1px solid rgba(255,255,255,.07);
    transition: transform .35s cubic-bezier(.25,.8,.25,1),
                box-shadow .35s,
                border-color .35s;
    position: relative;
    will-change: transform;
}
.pf-card--amber:hover { border-color: rgba(245,158,11,.4); box-shadow: 0 30px 70px rgba(245,158,11,.18); }
.pf-card--blue:hover  { border-color: rgba(59,130,246,.4);  box-shadow: 0 30px 70px rgba(59,130,246,.18); }
.pf-card--green:hover { border-color: rgba(34,197,94,.4);   box-shadow: 0 30px 70px rgba(34,197,94,.18); }

/* Screenshot browser frame */
.pf-visual--screenshot { padding: 20px 14px 0; align-items: flex-end; justify-content: center; }

.pf-browser-frame {
    width: 100%;
    border-radius: 10px 10px 0 0;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.12);
    border-bottom: none;
    box-shadow: 0 12px 40px rgba(0,0,0,.7);
    transition: transform .4s ease;
    position: relative; z-index: 1;
}
.pf-card:hover .pf-browser-frame { transform: translateY(-8px) scale(1.02); }

.pf-browser-bar {
    display: flex; align-items: center; gap: 5px;
    background: #1e2028; padding: 9px 14px;
    border-bottom: 1px solid rgba(255,255,255,.07);
    flex-shrink: 0;
}
.pf-bdot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; flex-shrink: 0; }
.pf-bdot--r { background: #ff5f57; }
.pf-bdot--y { background: #ffbd2e; }
.pf-bdot--g { background: #28c840; }
.pf-browser-url {
    margin-left: 8px; font-size: .62rem; font-family: monospace;
    color: #555; overflow: hidden; white-space: nowrap; text-overflow: ellipsis;
}

.pf-browser-screen {
    height: 220px; overflow: hidden; background: #111;
}
.pf-browser-screen img {
    width: 100%; display: block;
    object-fit: cover; object-position: top;
    transition: transform 7s ease;
    transform-origin: top center;
}
.pf-card:hover .pf-browser-screen img { transform: translateY(-40%); }

/* Glare layer */
.pf-glare {
    position: absolute; inset: 0;
    border-radius: 20px;
    pointer-events: none;
    opacity: 0;
    z-index: 10;
    transition: opacity .4s ease;
}

/* ── Visual area ── */
.pf-visual {
    display: block; position: relative;
    height: 290px; overflow: hidden;
    text-decoration: none;
    /* Dot grid */
    background-image: radial-gradient(rgba(255,255,255,.055) 1px, transparent 1px);
    background-size: 20px 20px;
    transition: background-position .8s ease;
}
.pf-card--amber .pf-visual { background-color: #080500; }
.pf-card--blue  .pf-visual { background-color: #010510; }
.pf-card--green .pf-visual { background-color: #010802; }
.pf-card:hover .pf-visual  { background-position: 10px 10px; }

/* Glow */
.pf-glow {
    position: absolute; inset: 0; pointer-events: none;
    opacity: .7; transition: opacity .4s;
}
.pf-card--amber .pf-glow { background: radial-gradient(ellipse 70% 70% at 50% 55%, rgba(245,158,11,.28) 0%, transparent 70%); }
.pf-card--blue  .pf-glow { background: radial-gradient(ellipse 70% 70% at 50% 55%, rgba(59,130,246,.28)  0%, transparent 70%); }
.pf-card--green .pf-glow { background: radial-gradient(ellipse 70% 70% at 50% 55%, rgba(34,197,94,.28)   0%, transparent 70%); }
.pf-card:hover  .pf-glow  { opacity: 1; }

/* Outline initials */
.pf-initial {
    position: absolute; top: 50%; left: 50%;
    transform: translate(-50%, -54%) scale(1);
    font-size: 6.5rem; font-weight: 900;
    letter-spacing: -5px; line-height: 1;
    -webkit-text-stroke: 1.5px; text-stroke: 1.5px;
    color: transparent; user-select: none;
    transition: transform .5s cubic-bezier(.25,.8,.25,1), opacity .4s;
    opacity: .55;
}
.pf-card--amber .pf-initial { -webkit-text-stroke-color: rgba(245,158,11,.6); }
.pf-card--blue  .pf-initial { -webkit-text-stroke-color: rgba(59,130,246,.6); }
.pf-card--green .pf-initial { -webkit-text-stroke-color: rgba(34,197,94,.6); }
.pf-card:hover  .pf-initial { transform: translate(-50%, -54%) scale(1.1); opacity: .75; }

/* Domain pill */
.pf-domain {
    position: absolute; bottom: 18px; left: 50%;
    transform: translateX(-50%);
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(0,0,0,.55);
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 50px; padding: 6px 16px;
    font-size: .72rem; font-family: monospace;
    color: rgba(255,255,255,.55);
    backdrop-filter: blur(10px);
    white-space: nowrap;
    transition: color .3s, border-color .3s, background .3s;
    z-index: 2;
}
.pf-card:hover .pf-domain {
    color: rgba(255,255,255,.85);
    border-color: rgba(255,255,255,.25);
    background: rgba(0,0,0,.7);
}

/* Pulsing live dot */
.pf-live {
    display: inline-block; width: 7px; height: 7px;
    border-radius: 50%; flex-shrink: 0;
    animation: pfPulse 2s ease-in-out infinite;
}
.pf-card--amber .pf-live { background: #f59e0b; box-shadow: 0 0 6px #f59e0b; }
.pf-card--blue  .pf-live { background: #60a5fa; box-shadow: 0 0 6px #60a5fa; }
.pf-card--green .pf-live { background: #4ade80; box-shadow: 0 0 6px #4ade80; }
@keyframes pfPulse {
    0%,100% { opacity: 1; transform: scale(1); }
    50%      { opacity: .4; transform: scale(.7); }
}

/* Separator */
.pf-card::after {
    content: ''; display: block; height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,.07) 30%, rgba(255,255,255,.07) 70%, transparent);
}

/* ── Card body ── */
.pf-body { padding: 22px 22px 26px; }

.pf-cat {
    font-size: .62rem; font-weight: 800;
    letter-spacing: .14em; text-transform: uppercase;
    margin-bottom: 10px;
}
.pf-card--amber .pf-cat { color: #f59e0b; }
.pf-card--blue  .pf-cat { color: #60a5fa; }
.pf-card--green .pf-cat { color: #4ade80; }

.pf-name { font-size: 1.3rem; font-weight: 800; color: #fff; margin: 0 0 6px; line-height: 1.2; }
.pf-loc  { font-size: .76rem; color: var(--text-muted); margin-bottom: 16px; }

.pf-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 20px; }
.pf-tags span {
    font-size: .68rem; font-weight: 600; color: #888;
    border: 1px solid #222; border-radius: 6px;
    padding: 3px 10px; background: rgba(255,255,255,.02);
    transition: border-color .2s, color .2s;
}
.pf-card--amber:hover .pf-tags span { border-color: rgba(245,158,11,.2); color: #aaa; }
.pf-card--blue:hover  .pf-tags span { border-color: rgba(59,130,246,.2);  color: #aaa; }
.pf-card--green:hover .pf-tags span { border-color: rgba(34,197,94,.2);   color: #aaa; }

.pf-cta {
    font-size: .83rem; font-weight: 700; text-decoration: none;
    display: inline-flex; align-items: center; gap: 6px;
}
.pf-cta span { transition: transform .25s; }
.pf-cta:hover span { transform: translateX(4px); }
.pf-card--amber .pf-cta { color: #f59e0b; }
.pf-card--blue  .pf-cta { color: #60a5fa; }
.pf-card--green .pf-cta { color: #4ade80; }
