/* Agencia de Software Colombia — estilos del sitio */
:root {
    --bg-deep: #16181D;
    --bg-surface: #3F424D;
    --bg-surface-2: #24262D;
    --bg-field: #2B2E37;
    --bg-footer: #101217;
    --text-primary: #E9E9ED;
    --text-muted: #B2B6CA;
    --rule: #75798C;
    --green: #3F9C5F;
    --green-bright: #4bb56f;
    --brown: #8A5220;
    --brown-light: #B87333;
    --brown-deep: #2A1A0E;
    --radius: 12px;
    --ease: cubic-bezier(.2, .7, .2, 1);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
    font-family: 'Karla', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg-deep);
    color: var(--text-primary);
    line-height: 1.65;
    overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
img, svg { max-width: 100%; display: block; }
button { font: inherit; }
.container { max-width: 1180px; margin: 0 auto; padding: 0 1.5rem; }
.eyebrow {
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-size: 0.78rem;
    color: var(--text-muted);
}
.rule { width: 56px; height: 2px; background: linear-gradient(90deg, var(--green), var(--brown)); margin-top: 0.6rem; }
.rule.center { margin-inline: auto; }
section { padding: 5.5rem 0; }
.section-head { text-align: center; margin-bottom: 3.25rem; }
.section-title {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: clamp(1.6rem, 3vw, 2.3rem);
    margin-top: 0.75rem;
    text-wrap: balance;
}
.section-sub { color: var(--text-muted); max-width: 560px; margin: 0.9rem auto 0; }

/* Botones */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 0.92rem;
    background: var(--green);
    color: #0f1710;
    padding: 0.9rem 1.9rem;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: transform .15s, box-shadow .15s, background .15s;
}
.btn:hover { background: var(--green-bright); transform: translateY(-2px); box-shadow: 0 10px 24px rgba(63,156,95,0.28); }
.btn.ghost { background: transparent; border: 1px solid var(--rule); color: var(--text-primary); }
.btn.ghost:hover { background: rgba(255,255,255,0.05); box-shadow: none; }
.btn-sm { padding: 0.6rem 1.15rem; font-size: 0.82rem; }
.btn-block { width: 100%; }
.btn-icon svg { width: 18px; height: 18px; }
.btn-row { display: flex; gap: 1rem; flex-wrap: wrap; }

/* Barra superior */
.topbar { background: var(--bg-footer); font-size: 0.8rem; color: var(--text-muted); border-bottom: 1px solid #23252c; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding-block: 0.5rem; }
.topbar-items { display: flex; align-items: center; gap: 1.4rem; }
.topbar-items > a, .topbar-items > span { display: inline-flex; align-items: center; gap: 0.4rem; transition: color .15s; }
.topbar-items > a:hover { color: var(--text-primary); }
.topbar svg { width: 15px; height: 15px; flex-shrink: 0; }
.topbar-wa { color: #7fd99c; font-weight: 700; }
.lang-switch { display: flex; align-items: center; gap: 0.4rem; font-family: 'Outfit', sans-serif; font-weight: 600; font-size: 0.78rem; }
.lang-switch a { color: var(--text-muted); }
.lang-switch a.active { color: var(--text-primary); }
.lang-switch span { color: var(--rule); }

/* Logo */
.lockup { display: flex; align-items: center; gap: 0.85rem; }
.lockup .mark { width: 34px; height: 34px; flex-shrink: 0; }
.lockup .word { font-family: 'Outfit', sans-serif; font-weight: 600; font-size: 0.92rem; letter-spacing: 0.14em; text-transform: uppercase; line-height: 1.3; }
.lockup .tag {
    font-family: 'Outfit', sans-serif; font-weight: 500; font-size: 0.62rem; letter-spacing: 0.16em; text-transform: uppercase;
    color: var(--text-muted); border-top: 1px solid var(--rule); margin-top: 0.25rem; padding-top: 0.2rem; display: inline-block;
}

/* Encabezado */
.site-header {
    position: sticky; top: 0; z-index: 100;
    background: rgba(63, 66, 77, 0.92);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: box-shadow .2s, background .2s;
}
.site-header.scrolled { background: rgba(36, 38, 45, 0.95); box-shadow: 0 8px 28px rgba(0,0,0,0.35); }
.site-header .container { display: flex; align-items: center; gap: 1.5rem; padding-block: 0.8rem; }
.site-header nav { margin-left: auto; }
.site-header nav > ul { list-style: none; display: flex; gap: 1.6rem; }
.site-header nav a { font-family: 'Outfit', sans-serif; font-weight: 500; font-size: 0.86rem; color: var(--text-muted); transition: color .15s; }
.site-header nav a:hover { color: var(--text-primary); }
.has-sub { position: relative; }
.has-sub > a::after { content: '▾'; font-size: 0.7em; margin-left: 0.3rem; }
.sub {
    list-style: none; position: absolute; top: calc(100% + 0.9rem); left: -1rem; min-width: 250px;
    background: var(--bg-surface-2); border: 1px solid #33363f; border-radius: 10px; padding: 0.5rem;
    box-shadow: 0 18px 40px rgba(0,0,0,0.4);
    opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .15s, transform .15s, visibility .15s;
}
.sub::before { content: ''; position: absolute; inset: -1rem 0 auto; height: 1rem; }
.has-sub:hover .sub, .has-sub:focus-within .sub { opacity: 1; visibility: visible; transform: none; }
.sub a { display: block; padding: 0.55rem 0.8rem; border-radius: 6px; }
.sub a:hover { background: var(--bg-field); }
.menu-toggle { display: none; background: none; border: 0; cursor: pointer; width: 40px; height: 40px; margin-left: auto; padding: 9px; }
.menu-toggle span { display: block; height: 2px; background: var(--text-primary); margin: 5px 0; border-radius: 2px; transition: transform .2s, opacity .2s; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Hero */
.hero { position: relative; overflow: hidden; padding: 5rem 0 5.5rem; }
.hero::before {
    content: ''; position: absolute; inset: 0; pointer-events: none;
    background:
        radial-gradient(600px 400px at 10% 10%, rgba(63,156,95,0.14), transparent 70%),
        radial-gradient(500px 380px at 90% 90%, rgba(138,82,32,0.16), transparent 70%);
}
.hero-bean { position: absolute; top: 50%; left: 38%; transform: translateY(-50%); width: 560px; opacity: 0.06; pointer-events: none; }
.hero .container { position: relative; display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 3.5rem; align-items: center; }
.pill {
    display: inline-flex; align-items: center; gap: 0.55rem;
    font-family: 'Outfit', sans-serif; font-weight: 500; font-size: 0.8rem; color: var(--text-muted);
    background: rgba(255,255,255,0.04); border: 1px solid #3a3d47; border-radius: 999px; padding: 0.35rem 0.9rem; margin-bottom: 1.4rem;
}
.pill .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(63,156,95,0.2); animation: pulse 2.4s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 7px rgba(63,156,95,0.05); } }
.hero h1 {
    font-family: 'Outfit', sans-serif; font-weight: 800;
    font-size: clamp(2.2rem, 4.6vw, 3.5rem); line-height: 1.1; text-wrap: balance; margin-bottom: 1.25rem;
}
.hero h1 em { font-style: normal; background: linear-gradient(90deg, var(--green-bright), var(--green)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { color: var(--text-muted); font-size: 1.1rem; max-width: 520px; margin-bottom: 1.6rem; }
.checks { list-style: none; display: grid; gap: 0.55rem; margin-bottom: 2rem; }
.checks li { display: flex; gap: 0.65rem; align-items: center; font-size: 0.95rem; }
.checks li::before {
    content: '✓'; flex-shrink: 0; width: 22px; height: 22px; border-radius: 50%;
    display: grid; place-items: center; font-size: 0.72rem; font-weight: 700;
    background: rgba(63,156,95,0.18); color: var(--green-bright);
}

/* Formulario */
.quote-form {
    background: var(--bg-surface-2); border: 1px solid #33363f; border-radius: 16px; padding: 2rem;
    display: grid; gap: 0.95rem; box-shadow: 0 30px 60px rgba(0,0,0,0.35);
    position: relative;
}
.quote-form::before {
    content: ''; position: absolute; inset: 0 0 auto; height: 4px; border-radius: 16px 16px 0 0;
    background: linear-gradient(90deg, var(--green), var(--brown));
}
.quote-head h2 { font-family: 'Outfit', sans-serif; font-size: 1.35rem; font-weight: 700; }
.quote-head p { color: var(--text-muted); font-size: 0.86rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.9rem; }
label { font-family: 'Outfit', sans-serif; font-size: 0.78rem; font-weight: 600; color: var(--text-muted); margin-bottom: 0.3rem; display: block; }
input, select, textarea {
    width: 100%; padding: 0.7rem 0.85rem; border: 1px solid #4a4d59; border-radius: 6px;
    font-family: 'Karla', sans-serif; font-size: 0.92rem; background: var(--bg-field); color: var(--text-primary);
    transition: border-color .15s, box-shadow .15s;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px rgba(63,156,95,0.2); }
input::placeholder, textarea::placeholder { color: #7c8092; }
textarea { resize: vertical; }
.checkbox-row { display: flex; align-items: flex-start; gap: 0.5rem; font-family: 'Karla', sans-serif; font-weight: 400; font-size: 0.78rem; color: var(--text-muted); margin: 0; }
.checkbox-row input { width: auto; margin-top: 0.2rem; accent-color: var(--green); }
.checkbox-row a { color: var(--green-bright); text-decoration: underline; }
.form-alert { border-radius: 6px; padding: 0.85rem 1rem; font-size: 0.88rem; }
.form-alert--ok { background: rgba(63,156,95,0.15); color: #7fd99c; border: 1px solid rgba(63,156,95,0.35); }
.form-alert--error { background: rgba(200,80,60,0.15); color: #e59a8a; border: 1px solid rgba(200,80,60,0.35); }

/* Franja de logos */
.logo-strip { padding: 2.25rem 0; background: var(--bg-surface-2); border-block: 1px solid #2d3038; }
.strip-label { text-align: center; font-family: 'Outfit', sans-serif; font-size: 0.78rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 1.4rem; }
.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; gap: 3.5rem; width: max-content; animation: marquee 32s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-item { display: inline-flex; align-items: center; gap: 0.75rem; font-family: 'Outfit', sans-serif; font-weight: 600; color: var(--text-muted); white-space: nowrap; opacity: 0.85; transition: opacity .15s, color .15s; }
.marquee-item:hover { opacity: 1; color: var(--text-primary); }
.marquee-item img { height: 36px; width: auto; }
.marquee-item .mi-icon { width: 36px; border-radius: 9px; background: #fff; padding: 3px; }
@keyframes marquee { to { transform: translateX(calc(-50% - 1.75rem)); } }

/* Servicios */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.service-card {
    position: relative; display: flex; flex-direction: column;
    background: var(--bg-surface-2); border-radius: var(--radius); padding: 2rem;
    border: 1px solid #2d3038; overflow: hidden;
    transition: transform .25s var(--ease), border-color .25s, box-shadow .25s;
}
.service-card::after {
    content: ''; position: absolute; inset: 0 0 auto; height: 3px; background: var(--service-accent, var(--green));
    transform: scaleX(0.25); transform-origin: left; transition: transform .35s var(--ease);
}
.service-card:hover { transform: translateY(-6px); border-color: color-mix(in srgb, var(--service-accent) 50%, transparent); box-shadow: 0 20px 40px rgba(0,0,0,0.3); }
.service-card:hover::after { transform: scaleX(1); }
.service-icon {
    width: 52px; height: 52px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 1.25rem;
    color: var(--service-accent, var(--green));
    background: color-mix(in srgb, var(--service-accent, var(--green)) 16%, transparent);
}
.service-icon svg { width: 26px; height: 26px; }
.service-icon.lg { width: 64px; height: 64px; margin-bottom: 1.25rem; }
.service-icon.lg svg { width: 32px; height: 32px; }
.service-card .num { position: absolute; top: 1.6rem; right: 1.8rem; font-family: 'Outfit', sans-serif; font-weight: 800; font-size: 2.2rem; color: rgba(255,255,255,0.05); }
.service-card h3 { font-family: 'Outfit', sans-serif; margin-bottom: 0.5rem; font-size: 1.15rem; }
.service-card p { color: var(--text-muted); font-size: 0.93rem; margin-bottom: 1.25rem; flex-grow: 1; }
.service-card .more { font-family: 'Outfit', sans-serif; font-weight: 600; font-size: 0.86rem; color: var(--service-accent, var(--green)); filter: brightness(1.3); }
.service-card .more span { display: inline-block; transition: transform .2s; }
.service-card:hover .more span { transform: translateX(4px); }
.services-grid.compact .service-card { padding: 1.6rem; }

/* Nosotros + cifras */
.about { background: var(--bg-surface-2); }
.about .container { display: grid; grid-template-columns: 1fr 1fr; gap: 3.5rem; align-items: center; }
.about h2 { font-family: 'Outfit', sans-serif; font-weight: 700; font-size: clamp(1.7rem, 3vw, 2.2rem); margin: 0.75rem 0 1rem; }
.about p { color: var(--text-muted); margin-bottom: 1.2rem; }
.about .btn { margin-top: 0.5rem; }
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }
.stat { background: var(--bg-deep); border: 1px solid #2d3038; border-radius: var(--radius); padding: 2rem 1.25rem; text-align: center; }
.stat .num { font-family: 'Outfit', sans-serif; font-weight: 800; font-size: clamp(2.2rem, 4vw, 3rem); line-height: 1; color: var(--brown-light); font-variant-numeric: tabular-nums; }
.stat:nth-child(2n) .num { color: var(--green-bright); }
.stat .label { font-size: 0.86rem; color: var(--text-muted); margin-top: 0.6rem; }

/* Proyectos */
.filters { display: flex; justify-content: center; flex-wrap: wrap; gap: 0.6rem; margin: -1.5rem 0 2.5rem; }
.chip {
    font-family: 'Outfit', sans-serif; font-weight: 600; font-size: 0.84rem; cursor: pointer;
    background: transparent; color: var(--text-muted); border: 1px solid #3a3d47; border-radius: 999px; padding: 0.5rem 1.15rem;
    transition: background .15s, color .15s, border-color .15s;
}
.chip:hover { color: var(--text-primary); border-color: var(--rule); }
.chip.active { background: var(--green); border-color: var(--green); color: #0f1710; }
.projects-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.project-card {
    display: flex; flex-direction: column; background: var(--bg-surface-2); border: 1px solid #2d3038; border-radius: var(--radius); overflow: hidden;
    transition: transform .25s var(--ease), box-shadow .25s, border-color .25s;
}
.project-card:hover { transform: translateY(-6px); box-shadow: 0 22px 44px rgba(0,0,0,0.35); border-color: #3e414b; }
.project-card.is-hidden { display: none; }
.project-visual { position: relative; height: 170px; display: grid; place-items: center; overflow: hidden; background: var(--bg-field); }
.project-blur { position: absolute; inset: -30%; width: 160%; height: 160%; max-width: none; object-fit: cover; filter: blur(40px) saturate(1.4); opacity: 0.45; transition: transform .6s var(--ease); }
.project-icon {
    position: relative; width: 84px; height: 84px; border-radius: 20px; object-fit: contain; background: #fff; padding: 8px;
    box-shadow: 0 14px 30px rgba(0,0,0,0.4); transition: transform .35s var(--ease);
}
.project-card:hover .project-icon { transform: scale(1.08) rotate(-3deg); }
.project-card:hover .project-blur { transform: scale(1.1); }
.project-body { padding: 1.5rem; display: flex; flex-direction: column; flex-grow: 1; }
.tags { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-bottom: 0.8rem; }
.tag-chip { font-family: 'Outfit', sans-serif; font-size: 0.7rem; font-weight: 600; letter-spacing: 0.04em; color: var(--text-muted); background: var(--bg-field); border-radius: 999px; padding: 0.2rem 0.65rem; }
.project-card h3 { font-family: 'Outfit', sans-serif; font-size: 1.1rem; margin-bottom: 0.4rem; }
.project-card p { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 1rem; flex-grow: 1; }
.project-links { display: flex; flex-wrap: wrap; gap: 0.4rem 1.1rem; }
.project-card .more { font-family: 'Outfit', sans-serif; font-weight: 600; font-size: 0.84rem; color: var(--green-bright); transition: opacity .15s; }
.project-card .more:hover { opacity: 0.75; }

/* Proceso */
.steps { background: var(--bg-surface-2); }
.steps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.75rem; position: relative; }
.steps-grid::before { content: ''; position: absolute; top: 52px; left: 12%; right: 12%; height: 1px; background: repeating-linear-gradient(90deg, var(--rule) 0 6px, transparent 6px 12px); opacity: 0.5; }
.step { position: relative; background: var(--bg-surface); border-radius: var(--radius); padding: 2rem 1.5rem; }
.step-icon {
    font-family: 'Outfit', sans-serif; font-weight: 700; font-size: 0.85rem;
    width: 44px; height: 44px; border: 1px solid var(--green); color: var(--green-bright); background: var(--bg-surface);
    border-radius: 50%; display: flex; align-items: center; justify-content: center; margin-bottom: 1.25rem;
}
.step h3 { font-family: 'Outfit', sans-serif; font-size: 1.05rem; margin-bottom: 0.6rem; }
.step p { color: var(--text-muted); font-size: 0.92rem; }

/* Testimonios */
.carousel { position: relative; }
.carousel-track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 3rem) / 3); gap: 1.5rem; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 0.5rem; }
.carousel-track::-webkit-scrollbar { display: none; }
.testimonial { scroll-snap-align: start; background: var(--bg-surface-2); border: 1px solid #2d3038; border-radius: var(--radius); padding: 2rem; display: flex; flex-direction: column; gap: 1.2rem; }
.stars { color: #f2b544; letter-spacing: 0.15em; }
.testimonial blockquote { color: var(--text-primary); font-size: 0.98rem; flex-grow: 1; }
.testimonial figcaption { display: flex; align-items: center; gap: 0.8rem; }
.testimonial figcaption b { display: block; font-family: 'Outfit', sans-serif; }
.testimonial figcaption small { color: var(--text-muted); }
.avatar { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.initials { display: grid; place-items: center; font-family: 'Outfit', sans-serif; font-weight: 700; background: linear-gradient(135deg, var(--green), var(--brown)); color: #fff; }
.carousel-nav { display: flex; justify-content: center; gap: 0.75rem; margin-top: 1.75rem; }
.carousel-nav button { width: 44px; height: 44px; border-radius: 50%; border: 1px solid #3a3d47; background: transparent; color: var(--text-primary); cursor: pointer; transition: background .15s, border-color .15s; }
.carousel-nav button:hover { background: var(--green); border-color: var(--green); color: #0f1710; }

/* Equipo */
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; justify-content: center; }
.team-grid.team-count-1 { grid-template-columns: minmax(0, 300px); }
.team-grid.team-count-2 { grid-template-columns: repeat(2, minmax(0, 280px)); }
.team-grid.team-count-3 { grid-template-columns: repeat(3, minmax(0, 280px)); }
.member { background: var(--bg-surface-2); border: 1px solid #2d3038; border-radius: var(--radius); padding: 2rem 1.5rem; text-align: center; transition: transform .25s var(--ease); }
.member:hover { transform: translateY(-5px); }
.member-photo { width: 120px; height: 120px; border-radius: 50%; object-fit: cover; margin: 0 auto 1.1rem; border: 3px solid var(--bg-field); box-shadow: 0 0 0 2px var(--green); }
.member-photo.initials { font-size: 2.1rem; }
.member h3 { font-family: 'Outfit', sans-serif; font-size: 1.08rem; }
.member p { color: var(--text-muted); font-size: 0.88rem; }

/* Tecnologías */
.tech { background: var(--bg-surface-2); }
.tech-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0.9rem; }
.tech-badge {
    background: var(--bg-surface); border-radius: 10px; padding: 1.25rem 0.5rem 1rem; text-align: center;
    font-family: 'Outfit', sans-serif; font-weight: 600; font-size: 0.8rem;
    display: flex; flex-direction: column; align-items: center; gap: 0.65rem;
    border: 1px solid transparent; transition: transform .15s, background .15s, border-color .15s, box-shadow .15s;
}
.tech-badge:hover {
    transform: translateY(-3px); background: var(--bg-field);
    border-color: color-mix(in srgb, var(--tech-color) 55%, transparent);
    box-shadow: 0 10px 22px color-mix(in srgb, var(--tech-color) 20%, transparent);
}
.tech-badge img { width: 28px; height: 28px; }

/* Páginas de servicio */
.page-hero { padding-top: 3.5rem; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 0.5rem; font-size: 0.82rem; color: var(--text-muted); margin-bottom: 1.6rem; }
.breadcrumb a:hover { color: var(--text-primary); }
.breadcrumb [aria-current] { color: var(--text-primary); }
.features-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }
.feature { display: flex; gap: 1rem; background: var(--bg-surface-2); border: 1px solid #2d3038; border-radius: var(--radius); padding: 1.6rem; }
.feature-check {
    flex-shrink: 0; width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; font-weight: 700;
    color: var(--service-accent); background: color-mix(in srgb, var(--service-accent) 18%, transparent); filter: brightness(1.2);
}
.feature h3 { font-family: 'Outfit', sans-serif; font-size: 1.05rem; margin-bottom: 0.3rem; }
.feature p { color: var(--text-muted); font-size: 0.92rem; }

/* CTA final */
.cta-band { position: relative; overflow: hidden; background: linear-gradient(135deg, #1d2a22 0%, var(--bg-surface-2) 45%, #2a2019 100%); border-top: 1px solid #2d3038; }
.cta-bean { position: absolute; right: -80px; bottom: -120px; width: 380px; opacity: 0.08; pointer-events: none; }
.cta-band .container { position: relative; display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 3rem; align-items: center; }
.cta-copy h2 { font-family: 'Outfit', sans-serif; font-weight: 800; font-size: clamp(1.8rem, 3.5vw, 2.6rem); line-height: 1.15; margin: 0.75rem 0 1rem; text-wrap: balance; }
.cta-copy p { color: var(--text-muted); margin-bottom: 1.8rem; max-width: 520px; }
.cta-contact { list-style: none; display: grid; gap: 1rem; }
.cta-contact li { display: flex; gap: 0.9rem; align-items: center; background: rgba(0,0,0,0.2); border: 1px solid #33363f; border-radius: var(--radius); padding: 1rem 1.2rem; font-size: 0.92rem; }
.cta-contact b { display: block; font-family: 'Outfit', sans-serif; font-size: 0.78rem; color: var(--text-muted); font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; }
.cta-contact a:hover { color: var(--green-bright); }
.ci { width: 40px; height: 40px; flex-shrink: 0; border-radius: 10px; display: grid; place-items: center; background: rgba(63,156,95,0.16); color: var(--green-bright); }
.ci svg { width: 20px; height: 20px; }

/* Footer */
footer { background: var(--bg-footer); padding: 3.5rem 0 1.5rem; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 0.8fr 1.1fr; gap: 2rem; margin-bottom: 2.5rem; }
footer p.desc { color: var(--text-muted); font-size: 0.88rem; margin-top: 1rem; max-width: 280px; }
footer h4 { font-family: 'Outfit', sans-serif; font-size: 0.82rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 1rem; }
footer ul { list-style: none; }
footer ul li { margin-bottom: 0.6rem; font-size: 0.88rem; }
footer ul li a { color: var(--text-primary); transition: color .15s; }
footer ul li a:hover { color: var(--green-bright); }
footer ul.plain li a { color: var(--green-bright); font-weight: 600; }
.socials { display: flex; gap: 0.6rem; margin-top: 1.25rem; }
.socials a { width: 38px; height: 38px; border-radius: 50%; background: var(--bg-surface-2); display: grid; place-items: center; transition: background .15s, transform .15s; }
.socials a:hover { background: var(--green); color: #0f1710; transform: translateY(-2px); }
.socials svg { width: 18px; height: 18px; }
.footer-bottom { border-top: 1px solid #23252c; padding-top: 1.5rem; text-align: center; font-size: 0.8rem; color: var(--text-muted); }
.footer-bottom a { color: var(--text-muted); text-decoration: underline; }

/* WhatsApp flotante */
.wa-float {
    position: fixed; right: 22px; bottom: 22px; z-index: 200; width: 58px; height: 58px; border-radius: 50%;
    display: grid; place-items: center; background: #25D366; color: #fff; box-shadow: 0 10px 28px rgba(37,211,102,0.4);
    transition: transform .2s;
}
.wa-float::before { content: ''; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #25D366; animation: ring 2.4s infinite; }
@keyframes ring { from { transform: scale(1); opacity: 0.7; } to { transform: scale(1.5); opacity: 0; } }
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 30px; height: 30px; }
.wa-tip {
    position: absolute; right: 70px; white-space: nowrap; background: #fff; color: #16181D; font-family: 'Outfit', sans-serif; font-weight: 600; font-size: 0.82rem;
    padding: 0.45rem 0.8rem; border-radius: 8px; box-shadow: 0 6px 18px rgba(0,0,0,0.3); opacity: 0; transform: translateX(6px); transition: opacity .2s, transform .2s; pointer-events: none;
}
.wa-float:hover .wa-tip { opacity: 1; transform: none; }

/* Animación de aparición */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .js .reveal { opacity: 1; transform: none; transition: none; }
    .marquee-track, .pill .dot, .wa-float::before { animation: none; }
}

/* Responsive */
@media (max-width: 1024px) {
    .site-header nav > ul { gap: 1.1rem; }
    .projects-grid { grid-template-columns: repeat(2, 1fr); }
    .carousel-track { grid-auto-columns: calc((100% - 1.5rem) / 2); }
}
@media (max-width: 900px) {
    section { padding: 4.25rem 0; }
    .menu-toggle { display: block; }
    .nav-cta { display: none; }
    .site-header nav {
        position: absolute; top: 100%; left: 0; right: 0; margin: 0;
        background: var(--bg-surface-2); border-top: 1px solid #33363f; box-shadow: 0 20px 40px rgba(0,0,0,0.4);
        max-height: 0; overflow: hidden; transition: max-height .3s var(--ease);
    }
    .site-header nav.open { max-height: 80vh; overflow-y: auto; }
    .site-header nav > ul { flex-direction: column; gap: 0; padding: 0.5rem 1.5rem 1.25rem; }
    .site-header nav > ul > li > a { display: block; padding: 0.8rem 0; font-size: 1rem; border-bottom: 1px solid #2d3038; }
    .has-sub > a::after { content: none; }
    .sub { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; background: none; padding: 0.25rem 0 0.5rem 1rem; min-width: 0; }
    .sub a { padding: 0.45rem 0; font-size: 0.92rem; }
    .hero .container, .about .container, .cta-band .container, .footer-grid { grid-template-columns: 1fr; }
    .hero-bean { left: auto; right: -200px; }
    .steps-grid, .services-grid, .features-grid { grid-template-columns: repeat(2, 1fr); }
    .steps-grid::before { display: none; }
    .tech-grid { grid-template-columns: repeat(3, 1fr); }
    .team-grid { grid-template-columns: repeat(2, minmax(0, 280px)) !important; }
    .team-grid.team-count-1 { grid-template-columns: minmax(0, 300px) !important; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .hide-sm { display: none !important; }
}
@media (max-width: 600px) {
    .container { padding: 0 1rem; }
    .topbar-items { gap: 0.9rem; }
    .topbar-items > a:first-child span { display: none; }
    .hero { padding: 3rem 0 4rem; }
    .form-row { grid-template-columns: 1fr; }
    .quote-form { padding: 1.5rem 1.25rem; }
    .steps-grid, .services-grid, .features-grid, .projects-grid, .footer-grid { grid-template-columns: 1fr; }
    .stats { gap: 0.8rem; }
    .carousel-track { grid-auto-columns: 88%; }
    .team-grid { grid-template-columns: 1fr !important; }
    .wa-float { right: 16px; bottom: 16px; width: 52px; height: 52px; }
}
