/* ==========================================================================
   Amigos.red — estilos de la landing
   ========================================================================== */
:root {
    --bg: #0a0a0f;
    --fg: #f5f5f5;
    --card: #0f0f1a;
    --muted: #1a1a2e;
    --muted-fg: #8b93a7;
    --border: #1d1f3e;

    --blue: 0 102 255;      /* #0066ff */
    --purple: 123 46 255;   /* #7b2eff */
    --magenta: 255 0 128;   /* #ff0080 */
    --cyan: 0 168 214;      /* #00a8d6 */

    --grad-brand: linear-gradient(135deg, rgb(var(--blue)), rgb(var(--purple)), rgb(var(--magenta)));
    --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --font-heading: "Space Grotesk", -apple-system, BlinkMacSystemFont, sans-serif;
    --header-h: 4rem;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); -webkit-text-size-adjust: 100%; }
body {
    margin: 0;
    background: var(--bg);
    color: var(--fg);
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, figure, blockquote { margin: 0; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.rel { position: relative; }
.ico { width: 1em; height: 1em; flex-shrink: 0; }
:focus-visible { outline: 2px solid rgb(var(--blue)); outline-offset: 3px; border-radius: 6px; }

/* ---------- Utilidades de texto degradado ---------- */
.text-gradient, .text-gradient-cyan, .text-gradient-bp, .text-gradient-bm {
    -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent;
}
.text-gradient { background-image: var(--grad-brand); }
.text-gradient-cyan { background-image: linear-gradient(135deg, rgb(var(--cyan)), rgb(var(--blue))); }
.text-gradient-bp { background-image: linear-gradient(135deg, rgb(var(--blue)), rgb(var(--purple))); }
.text-gradient-bm { background-image: linear-gradient(135deg, rgb(var(--blue)), rgb(var(--magenta))); }

/* ---------- Botones ---------- */
.btn-pill {
    display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
    border-radius: 999px; font-weight: 600; color: #fff; white-space: nowrap;
    transition: transform .2s ease, opacity .2s ease, box-shadow .2s ease;
}
.btn-pill:hover { transform: scale(1.05); }
.btn-gradient { background: var(--grad-brand); }
.btn-gradient:hover { opacity: .9; }
.btn-glow { box-shadow: 0 0 30px rgb(var(--blue) / .3); }
.btn-sm { padding: .5rem 1.25rem; font-size: .875rem; }
.btn-lg { padding: 1rem 2rem; font-size: 1rem; }
.btn-lg .ico { width: 18px; height: 18px; transition: transform .2s ease; }
.btn-lg:hover .ico { transform: translateX(4px); }
.btn-outline {
    border: 1px solid rgb(var(--blue) / .4); background: rgb(var(--blue) / .06); color: var(--fg);
}

/* ---------- Badges / tags ---------- */
.badge {
    display: inline-flex; align-items: center; gap: .5rem;
    padding: .375rem 1rem; border-radius: 999px; border: 1px solid;
    font-size: .75rem; font-weight: 600;
}
.badge-dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; animation: pulse 2s cubic-bezier(.4,0,.6,1) infinite; }
.badge-blue { background: rgb(var(--blue) / .12); border-color: rgb(var(--blue) / .3); color: rgb(var(--cyan)); margin-bottom: 2rem; }
.badge-magenta { background: rgb(var(--magenta) / .1); border-color: rgb(var(--magenta) / .3); color: rgb(var(--magenta)); margin-bottom: 1.5rem; }
@keyframes pulse { 50% { opacity: .5; } }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
    position: fixed; inset: 0 0 auto 0; z-index: 50;
    background: transparent; border-bottom: 1px solid transparent;
    transition: background .3s ease, border-color .3s ease, backdrop-filter .3s ease;
}
.site-header.scrolled, .site-header.menu-open {
    background: rgb(10 10 15 / .85);
    backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
    border-bottom-color: var(--border);
}
.header-inner {
    max-width: 80rem; margin: 0 auto; padding: 0 1.5rem; height: var(--header-h);
    display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.brand img { height: auto; max-height: 2.25rem; width: auto; }
.main-nav { display: none; gap: 2rem; }
.main-nav a, .mobile-nav a:not(.btn-pill) {
    font-size: .875rem; font-weight: 500; color: var(--muted-fg); transition: color .2s ease;
}
.main-nav a:hover, .mobile-nav a:not(.btn-pill):hover { color: var(--fg); }
.header-cta { display: none; }
.menu-toggle { padding: .5rem; color: var(--fg); }
.menu-toggle .ico { width: 22px; height: 22px; }
.menu-toggle .when-open, .site-header.menu-open .when-closed { display: none; }
.site-header.menu-open .when-open { display: block; }
.mobile-nav {
    display: none; flex-direction: column; gap: 1rem;
    padding: .5rem 1.5rem 1.5rem; border-top: 1px solid var(--border);
}
.site-header.menu-open .mobile-nav { display: flex; }
.mobile-nav .btn-pill { padding: .75rem 1.25rem; font-size: .875rem; margin-top: .5rem; }

@media (min-width: 768px) {
    .brand img { max-height: 2.75rem; }
    .main-nav, .header-cta { display: flex; }
    .menu-toggle, .site-header .mobile-nav { display: none !important; }
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
    position: relative; min-height: 100vh; min-height: 100svh;
    display: flex; align-items: center; justify-content: center;
    overflow: hidden; padding-top: var(--header-h); background: var(--bg);
}
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.hero-radials {
    position: absolute; inset: 0;
    background:
        radial-gradient(ellipse 80% 60% at 20% 30%, rgb(var(--blue) / .18) 0%, transparent 60%),
        radial-gradient(ellipse 60% 50% at 80% 20%, rgb(var(--purple) / .15) 0%, transparent 60%),
        radial-gradient(ellipse 50% 40% at 60% 80%, rgb(var(--magenta) / .12) 0%, transparent 60%);
}
.hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .6; }

.orb { position: absolute; border-radius: 50%; pointer-events: none; animation: float 10s ease-in-out infinite; }
.orb-blue    { width: 400px; height: 400px; left: -5%; top: 10%; background: radial-gradient(circle, rgb(var(--blue) / .15) 0%, transparent 70%); }
.orb-purple  { width: 300px; height: 300px; left: 70%; top: -5%; background: radial-gradient(circle, rgb(var(--purple) / .15) 0%, transparent 70%); animation-delay: -2s; animation-duration: 10s; }
.orb-magenta { width: 250px; height: 250px; left: 80%; top: 60%; background: radial-gradient(circle, rgb(var(--magenta) / .15) 0%, transparent 70%); animation-delay: -4s; animation-duration: 9s; }
.orb-cyan    { width: 200px; height: 200px; left: 30%; top: 70%; background: radial-gradient(circle, rgb(var(--cyan) / .15) 0%, transparent 70%); animation-delay: -6s; animation-duration: 11s; }
@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(15px, -30px) scale(1.05); }
}

.hero-network {
    position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; pointer-events: none;
}
.hero-network svg { width: 100%; max-width: 42rem; height: 24rem; opacity: .4; }
.net-node { animation: node-pulse 3s ease-in-out infinite; animation-delay: var(--d, 0s); transform-box: fill-box; transform-origin: center; }
@keyframes node-pulse { 50% { opacity: .5; transform: scale(1.4); } }

.hero-content { position: relative; z-index: 10; width: 100%; max-width: 64rem; margin: 0 auto; padding: 0 1.5rem; text-align: center; }
.hero-title {
    font-family: var(--font-heading); font-weight: 700;
    font-size: clamp(3rem, 8vw, 6rem); line-height: 1.25; letter-spacing: -.025em;
    margin-bottom: 1.5rem;
}
.hero-lead {
    font-size: 1.125rem; line-height: 1.625; color: var(--muted-fg);
    max-width: 42rem; margin: 0 auto 2.5rem;
}
.hero-actions { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1rem; }
.hero-stats { margin-top: 4rem; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 2rem; }
.stat { text-align: center; }
.stat-value { font-size: 1.5rem; font-weight: 700; line-height: 1.3; }
.stat-label { font-size: .75rem; color: var(--muted-fg); margin-top: .25rem; }
.hero-fade { position: absolute; inset: auto 0 0 0; height: 8rem; pointer-events: none; background: linear-gradient(to bottom, transparent, var(--bg)); }

@media (min-width: 640px) { .hero-actions { flex-direction: row; } }
@media (min-width: 768px) {
    .hero-lead { font-size: 1.25rem; }
    .hero-stats { gap: 4rem; }
    .stat-value { font-size: 1.875rem; }
}

/* ==========================================================================
   Secciones genéricas
   ========================================================================== */
.section { padding: 4rem 1.5rem; position: relative; overflow: hidden; background: var(--bg); }
.section-card { background: var(--card); }
.container-6xl { max-width: 72rem; margin: 0 auto; }
.container-3xl { max-width: 48rem; margin: 0 auto; }
.section-head { text-align: center; margin-bottom: 4rem; }
#faq .section-head { margin-bottom: 3.5rem; }
.section-title {
    font-family: var(--font-heading); font-weight: 700; font-size: 2.25rem; line-height: 1.15;
    color: var(--fg); margin-bottom: 1rem;
}
.section-sub { font-size: 1.125rem; color: var(--muted-fg); }
.section-sub.narrow { max-width: 36rem; margin: 0 auto; }
@media (min-width: 768px) { .section-title { font-size: 3rem; } }

.section-glow-sides::before, .section-glow-edges::before {
    content: ""; position: absolute; inset: 0; pointer-events: none;
}
.section-glow-sides::before {
    background:
        radial-gradient(ellipse 60% 40% at 10% 50%, rgb(var(--purple) / .08) 0%, transparent 60%),
        radial-gradient(ellipse 50% 40% at 90% 50%, rgb(var(--blue) / .08) 0%, transparent 60%);
}
.section-glow-edges::before {
    background:
        radial-gradient(ellipse 50% 60% at 0% 50%, rgb(var(--blue) / .07) 0%, transparent 60%),
        radial-gradient(ellipse 40% 50% at 100% 50%, rgb(var(--purple) / .07) 0%, transparent 60%);
}

/* ---------- Tarjetas ---------- */
.card {
    position: relative; overflow: hidden;
    background: var(--card); border: 1px solid rgb(var(--blue) / .2); border-radius: 1.5rem;
    backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
}
.top-line {
    position: absolute; inset: 0 0 auto 0; height: 1px;
    background: linear-gradient(90deg, transparent, rgb(var(--blue) / .4), transparent);
}
.top-line-bp { background: linear-gradient(90deg, transparent, rgb(var(--blue) / .5), rgb(var(--purple) / .5), transparent); }

/* ==========================================================================
   Características (bento)
   ========================================================================== */
.features-grid { display: grid; grid-template-columns: 1fr; gap: 1rem; }
.feature { padding: 1.5rem; }
.feature-lg { padding: 2rem; }
.feature.tone-blue    { --tone: var(--blue);    border-color: rgb(var(--blue) / .2); }
.feature.tone-purple  { --tone: var(--purple);  border-color: rgb(var(--purple) / .2); }
.feature.tone-cyan    { --tone: var(--cyan);    border-color: rgb(var(--cyan) / .2); }
.feature.tone-magenta { --tone: var(--magenta); border-color: rgb(var(--magenta) / .2); }
.card-hover {
    position: absolute; inset: 0; opacity: 0; pointer-events: none; transition: opacity .5s ease;
    background: radial-gradient(ellipse at 50% 50%, rgb(var(--tone) / .08), transparent 70%);
}
.feature:hover .card-hover { opacity: 1; }

.feature-icon {
    width: 2.75rem; height: 2.75rem; border-radius: .75rem; margin-bottom: 1rem;
    display: flex; align-items: center; justify-content: center;
    background: rgb(var(--ic) / .1); border: 1px solid rgb(var(--ic) / .25); color: rgb(var(--ic));
}
.feature-icon .ico { width: 20px; height: 20px; }
.icon-blue    { --ic: var(--blue); }
.icon-purple  { --ic: var(--purple); }
.icon-cyan    { --ic: var(--cyan); }
.icon-magenta { --ic: var(--magenta); }
.feature-lg .feature-icon { width: 3.5rem; height: 3.5rem; border-radius: 1rem; margin-bottom: 1.5rem; }
.feature-lg .feature-icon .ico { width: 26px; height: 26px; }
.tone-blue.feature-lg .feature-icon {
    background: linear-gradient(135deg, rgb(var(--blue) / .2), rgb(var(--purple) / .2)); border-color: rgb(var(--blue) / .3);
}
.tone-purple.feature-lg .feature-icon {
    background: linear-gradient(135deg, rgb(var(--purple) / .2), rgb(var(--magenta) / .2)); border-color: rgb(var(--purple) / .3);
}
.feature-lg.tone-blue .card-hover   { background: radial-gradient(ellipse at 30% 50%, rgb(var(--blue) / .08), transparent 70%); }
.feature-lg.tone-purple .card-hover { background: radial-gradient(ellipse at 70% 30%, rgb(var(--purple) / .1), transparent 70%); }

.feature h3 { font-size: 1rem; font-weight: 700; margin-bottom: .5rem; }
.feature p { font-size: .875rem; line-height: 1.625; color: var(--muted-fg); }
.feature-lg h3 { font-size: 1.25rem; margin-bottom: .75rem; }
.feature-lg p { font-size: 1rem; }
@media (min-width: 768px) {
    .features-grid { grid-template-columns: repeat(3, 1fr); }
    .span-2 { grid-column: span 2; }
}

/* ==========================================================================
   Testimonios
   ========================================================================== */
.testimonials-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 768px) { .testimonials-grid { grid-template-columns: repeat(3, 1fr); } }
.testimonial { padding: 1.75rem; border-color: rgb(var(--blue) / .15); }
.stars { display: flex; gap: 2px; color: #facc15; }
.stars .ico { width: 14px; height: 14px; fill: currentColor; }
.testimonial blockquote { margin: 1rem 0 1.5rem; font-size: .875rem; line-height: 1.625; opacity: .9; }
.testimonial figcaption { display: flex; align-items: center; gap: .75rem; }
.avatar {
    width: 2.5rem; height: 2.5rem; border-radius: 50%; flex-shrink: 0;
    display: flex; align-items: center; justify-content: center;
    font-size: .875rem; font-weight: 700; color: #fff;
    background: linear-gradient(135deg, rgb(var(--blue)), rgb(var(--purple)));
}
.t-name { display: block; font-size: .875rem; font-weight: 600; }
.t-role { display: block; font-size: .75rem; color: var(--muted-fg); }

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq-list { display: flex; flex-direction: column; gap: .75rem; }
.faq-item {
    background: var(--card); border: 1px solid var(--border); border-radius: 1rem; overflow: hidden;
    transition: border-color .3s ease;
}
.faq-item.open { border-color: rgb(var(--blue) / .4); }
.faq-q {
    width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem;
    padding: 1.25rem 1.5rem; text-align: left;
    font-weight: 600; font-size: .875rem; line-height: 1.375;
}
.faq-chevron { color: rgb(var(--blue)); display: flex; transition: transform .3s ease; }
.faq-chevron .ico { width: 18px; height: 18px; }
.faq-item.open .faq-chevron { transform: rotate(180deg); }
.faq-a { display: grid; grid-template-rows: 0fr; opacity: 0; transition: grid-template-rows .3s ease, opacity .3s ease; }
.faq-a > div { overflow: hidden; }
.faq-item.open .faq-a { grid-template-rows: 1fr; opacity: 1; }
.faq-a p { padding: 0 1.5rem 1.25rem; font-size: .875rem; line-height: 1.625; color: var(--muted-fg); }
@media (min-width: 768px) { .faq-q { font-size: 1rem; } }

/* ==========================================================================
   Netcity
   ========================================================================== */
.netcity-grid { display: grid; grid-template-columns: 1fr; gap: 3rem; align-items: center; }
@media (min-width: 1024px) { .netcity-grid { grid-template-columns: 1fr 1fr; } }
.tag {
    display: inline-block; padding: .25rem .75rem; margin-bottom: 1.25rem; border-radius: 999px;
    font-size: .75rem; font-weight: 600; color: rgb(var(--cyan));
    background: rgb(var(--blue) / .1); border: 1px solid rgb(var(--blue) / .25);
}
.netcity-title { font-family: var(--font-heading); font-size: 1.875rem; font-weight: 700; line-height: 1.25; margin-bottom: 1rem; }
@media (min-width: 768px) { .netcity-title { font-size: 2.25rem; } }
.netcity-tagline { font-size: 1.125rem; font-weight: 500; margin-bottom: 1rem; }
.netcity-text { color: var(--muted-fg); line-height: 1.625; margin-bottom: 2rem; }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 2rem; }
.chip {
    padding: .375rem .75rem; border-radius: 999px; font-size: .75rem; font-weight: 500;
    background: var(--muted); border: 1px solid var(--border);
}
.contact-list { display: flex; flex-direction: column; gap: .75rem; }
.contact-row { display: flex; align-items: center; gap: .75rem; font-size: .875rem; }
.contact-row.align-start { align-items: flex-start; }
.contact-ico {
    width: 2rem; height: 2rem; border-radius: .5rem; flex-shrink: 0;
    display: flex; align-items: center; justify-content: center;
    background: rgb(var(--ic) / .12); border: 1px solid rgb(var(--ic) / .25); color: rgb(var(--ic));
}
.contact-ico .ico { width: 14px; height: 14px; }
.icon-blue-cyan { --ic: var(--blue); color: rgb(var(--cyan)); }
.contact-txt { color: var(--muted-fg); line-height: 1.625; transition: color .2s ease; }
a.contact-row:hover .contact-txt { color: var(--fg); }

.netcity-card { padding: 2rem; }
.corner-glow {
    position: absolute; top: 0; right: 0; width: 12rem; height: 12rem; pointer-events: none;
    background: radial-gradient(circle at top right, rgb(var(--purple) / .12), transparent 70%);
}
.netcity-name { font-family: var(--font-heading); font-size: 2.25rem; font-weight: 700; margin-bottom: .25rem; }
.netcity-motto { font-size: .875rem; font-weight: 500; margin-bottom: 1.5rem; }
.info-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.info-box { padding: 1rem; border-radius: .75rem; background: var(--muted); border: 1px solid var(--border); }
.info-label { font-size: .75rem; color: var(--muted-fg); margin-bottom: .25rem; }
.info-value { font-size: .875rem; font-weight: 600; }

/* ==========================================================================
   CTA / Contacto
   ========================================================================== */
.section-cta { position: relative; overflow: hidden; padding: 6rem 1.5rem; }
.cta-bg {
    position: absolute; inset: 0; pointer-events: none;
    background:
        linear-gradient(135deg, rgb(var(--blue) / .15) 0%, rgb(var(--purple) / .2) 50%, rgb(var(--magenta) / .15) 100%),
        var(--bg);
}
.cta-orb { position: absolute; top: 50%; transform: translateY(-50%); border-radius: 50%; pointer-events: none; filter: blur(40px); }
.cta-orb-blue { left: 25%; width: 24rem; height: 24rem; background: radial-gradient(circle, rgb(var(--blue) / .15), transparent 70%); }
.cta-orb-magenta { right: 25%; width: 20rem; height: 20rem; background: radial-gradient(circle, rgb(var(--magenta) / .12), transparent 70%); }
.cta-content { position: relative; max-width: 42rem; margin: 0 auto; text-align: center; }
.cta-title {
    font-family: var(--font-heading); font-size: 2.25rem; font-weight: 700; line-height: 1.25; margin-bottom: 1.25rem;
}
@media (min-width: 768px) { .cta-title { font-size: 3.75rem; } }
.cta-lead { font-size: 1.125rem; line-height: 1.625; color: var(--muted-fg); margin-bottom: 2.5rem; }
.cta-form { display: flex; flex-direction: column; gap: .75rem; max-width: 28rem; margin: 0 auto; }
@media (min-width: 640px) { .cta-form { flex-direction: row; } }
.cta-form input {
    flex: 1; min-width: 0; padding: .875rem 1.25rem; border-radius: 999px; font: inherit; font-size: .875rem;
    color: var(--fg); background: rgb(245 245 245 / .05); border: 1px solid rgb(var(--blue) / .3); outline: none;
    transition: border-color .2s ease;
}
.cta-form input::placeholder { color: var(--muted-fg); }
.cta-form input:focus { border-color: rgb(var(--blue) / .7); }
.cta-form input[aria-invalid="true"] { border-color: rgb(var(--magenta) / .7); }
.cta-form button { padding: .875rem 1.5rem; font-size: .875rem; box-shadow: 0 0 25px rgb(var(--blue) / .35); }
.cta-note { margin-top: 1rem; font-size: .75rem; color: var(--muted-fg); }
.cta-sent {
    max-width: 28rem; margin: 0 auto; padding: 1.5rem 2rem; border-radius: 1rem; text-align: center;
    background: rgb(var(--blue) / .1); border: 1px solid rgb(var(--blue) / .3);
    animation: pop-in .35s ease-out;
}
.cta-sent[hidden], .cta-form[hidden] { display: none; }
.cta-sent-check { font-size: 1.5rem; margin-bottom: .5rem; }
.cta-sent-title { font-weight: 600; }
.cta-sent-text { font-size: .875rem; color: var(--muted-fg); margin-top: .25rem; }
@keyframes pop-in { from { opacity: 0; transform: scale(.9); } to { opacity: 1; transform: scale(1); } }
.cta-footer { margin-top: 2.5rem; padding-top: 2rem; border-top: 1px solid var(--border); }
.cta-footer p { font-size: .75rem; color: var(--muted-fg); }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { position: relative; overflow: hidden; background: var(--card); border-top: 1px solid var(--border); }
.footer-line {
    position: absolute; inset: 0 0 auto 0; height: 1px;
    background: linear-gradient(90deg, transparent, rgb(var(--blue)), rgb(var(--purple)), rgb(var(--magenta)), transparent);
}
.footer-glow {
    position: absolute; bottom: 0; left: 50%; transform: translateX(-50%);
    width: 24rem; height: 12rem; opacity: .1; pointer-events: none;
    background: radial-gradient(ellipse, rgb(var(--blue)), transparent 70%);
}
.footer-inner { position: relative; max-width: 80rem; margin: 0 auto; padding: 3.5rem 1.5rem; }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; }
@media (min-width: 768px) {
    .footer-grid { grid-template-columns: repeat(4, 1fr); }
    .footer-brand { grid-column: span 2; }
}
.footer-brand .brand { display: inline-flex; margin-bottom: 1rem; }
.footer-brand .brand img { max-height: 2.25rem; }
.footer-brand p { font-size: .875rem; line-height: 1.625; color: var(--muted-fg); max-width: 20rem; }
.footer-dev { margin-top: 1.25rem; display: flex; align-items: center; gap: .5rem; font-size: .75rem; color: var(--muted-fg); }
.footer-dev .ico { width: 14px; height: 14px; color: rgb(var(--blue)); }
.footer-dev a { font-weight: 600; color: rgb(var(--blue)); }
.footer-title {
    font-size: .75rem; font-weight: 600; text-transform: uppercase; letter-spacing: .1em;
    color: var(--muted-fg); margin-bottom: 1rem;
}
.footer-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .75rem; }
.footer-list a { font-size: .875rem; color: var(--muted-fg); transition: color .2s ease; }
.footer-list a:hover { color: var(--fg); }
.footer-list .with-icon { display: inline-flex; align-items: center; gap: .5rem; }
.footer-list .ico { width: 14px; height: 14px; }
.footer-bottom {
    margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--border);
    display: flex; flex-direction: column; align-items: center; justify-content: space-between; gap: .75rem;
}
.footer-bottom p { font-size: .75rem; color: var(--muted-fg); }
.footer-bottom a:hover { color: rgb(var(--blue)); }
@media (min-width: 768px) { .footer-bottom { flex-direction: row; } }

/* ==========================================================================
   Animaciones de aparición (las activa site.js agregando .js al <html>)
   ========================================================================== */
.js .reveal {
    opacity: 0; transform: translateY(30px);
    transition: opacity .7s ease, transform .7s cubic-bezier(.22,1,.36,1);
    transition-delay: var(--delay, 0s);
}
.js .reveal.from-left { transform: translateX(-30px); }
.js .reveal.from-right { transform: translateX(30px); }
.js .reveal.visible { opacity: 1; transform: none; }

/* Con "reducir movimiento" se apagan las animaciones continuas, pero los
   elementos siguen apareciendo al hacer scroll con un fundido suave sin desplazamiento. */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation: none !important; }
    .js .reveal, .js .reveal.from-left, .js .reveal.from-right {
        transform: none;
        transition: opacity .6s ease;
        transition-delay: var(--delay, 0s);
    }
}
