Update landing page: simplified design, new color tokens, and improved responsive layout

This commit is contained in:
2026-03-09 19:47:40 -05:00
parent 0ce878f54f
commit c0a476cdb8

View File

@ -1,169 +1,138 @@
<template> <template>
<div class="landing"> <div class="page">
<!-- Navbar --> <!-- NAV -->
<nav class="nav" :class="{ 'nav--solid': scrolled }"> <nav class="nav" :class="{ 'nav--solid': scrolled }">
<div class="nav__inner"> <div class="nav__wrap">
<img src="/titulosib.png" alt="SIB" class="nav__logo" /> <img src="/titulosib.png" alt="SIB" class="nav__logo" />
<div class="nav__right"> <div class="nav__actions">
<button class="nav__link" @click="scrollToInstall">{{ t('landing.hero.howToInstall') }}</button> <button class="nav__link" @click="scrollToInstall">¿Cómo instalar?</button>
<button class="cta-pill cta-pill--sm" @click="launchApp"> <button class="btn-cta btn-cta--sm" @click="launchApp">Abrir app </button>
{{ t('landing.hero.launchApp') }} <span></span>
</button>
</div> </div>
</div> </div>
</nav> </nav>
<!-- Hero --> <!-- HERO -->
<header class="hero"> <header class="hero">
<!-- Background photo --> <img src="/landing-bg-bus.png" alt="" class="hero__img" />
<div class="hero__photo"> <div class="hero__overlay"></div>
<img src="/landing-bg-bus.png" alt="" />
<div class="hero__photo-scrim"></div>
</div>
<!-- Diagonal accent slash --> <div class="hero__content">
<div class="hero__slash"></div> <div class="hero__live">
<span class="hero__live-dot"></span>
<!-- Live badge --> En tiempo real
<div class="hero__badge" data-aos="fade-right">
<span class="hero__badge-dot"></span>
<span>{{ t('landing.hero.live') || 'EN VIVO' }}</span>
</div>
<!-- Main copy left-aligned, huge -->
<div class="hero__copy">
<h1 class="hero__h1" data-aos="fade-up">
<span class="hero__h1-outline">{{ t('landing.hero.titleLine1') || 'SABÉS' }}</span>
<span class="hero__h1-solid">{{ t('landing.hero.titleLine2') || 'DÓNDE' }}</span>
<span class="hero__h1-outline">{{ t('landing.hero.titleLine3') || 'ESTÁ' }}</span>
<span class="hero__h1-accent">{{ t('landing.hero.titleLine4') || 'TU BUS.' }}</span>
</h1>
<p class="hero__tagline" data-aos="fade-up" data-aos-delay="150">
{{ t('landing.hero.tagline') || 'GPS en tiempo real · Ofertas locales · Sin descarga' }}
</p>
<div class="hero__actions" data-aos="fade-up" data-aos-delay="280">
<button class="cta-pill cta-pill--lg" @click="launchApp">
{{ t('landing.hero.launchApp') }} <span class="cta-pill__arrow"></span>
</button>
<button class="ghost-btn" @click="scrollToInstall">
{{ t('landing.hero.howToInstall') }}
</button>
</div> </div>
</div>
<!-- Vertical route indicator decorative --> <h1 class="hero__title">
<div class="hero__route" aria-hidden="true"> Sabé dónde<br>está tu bus.
<div class="hero__route-dot hero__route-dot--top"></div> </h1>
<div class="hero__route-line"></div>
<div class="hero__route-dot hero__route-dot--bottom"></div> <p class="hero__desc">
Seguí las rutas en vivo, encontrá ofertas cerca de tu parada
y descargá la app sin pasar por la tienda.
</p>
<div class="hero__btns">
<button class="btn-cta btn-cta--lg" @click="launchApp">Abrir aplicación </button>
<button class="btn-outline" @click="scrollToInstall">¿Cómo instalarla?</button>
</div>
</div> </div>
</header> </header>
<!-- Ticker --> <!-- FEATURES -->
<div class="ticker" aria-hidden="true"> <section class="features">
<div class="ticker__track"> <div class="features__wrap">
<span v-for="i in 8" :key="i" class="ticker__item">
GPS EN VIVO <em>·</em> SIN DESCARGA <em>·</em> OFERTAS LOCALES <em>·</em>
</span>
</div>
</div>
<!-- Features --> <div class="feature">
<section class="feats"> <div class="feature__icon">
<div class="feats__inner"> <span class="material-icons">gps_fixed</span>
</div>
<!-- Label col --> <div class="feature__text">
<div class="feats__label" data-aos="fade-right"> <h3>GPS en tiempo real</h3>
<span class="tag">{{ t('landing.features.sectionTag') || 'FUNCIONALIDADES' }}</span> <p>Ves exactamente dónde está cada bus y cuánto tarda en llegar a tu parada.</p>
<h2 class="feats__h2"> </div>
{{ t('landing.features.heading1') || 'Todo lo' }}<br>
<em>{{ t('landing.features.heading2') || 'que necesitás' }}</em>
</h2>
</div> </div>
<!-- Items col --> <div class="feature">
<div class="feats__list"> <div class="feature__icon">
<div class="feat" data-aos="fade-up" data-aos-delay="0"> <span class="material-icons">local_offer</span>
<div class="feat__num">01</div>
<div class="feat__body">
<h3>{{ t('landing.features.realtime') || 'Tiempo real' }}</h3>
<p>{{ t('landing.features.realtimeDesc') || 'GPS de cada bus, actualizado al segundo.' }}</p>
</div>
<span class="material-icons feat__icon">explore</span>
</div> </div>
<div class="feat" data-aos="fade-up" data-aos-delay="80"> <div class="feature__text">
<div class="feat__num">02</div> <h3>Ofertas locales</h3>
<div class="feat__body"> <p>Descubrí descuentos y promociones de negocios cerca de las paradas.</p>
<h3>{{ t('landing.features.localOffers') || 'Ofertas locales' }}</h3>
<p>{{ t('landing.features.localOffersDesc') || 'Descuentos de negocios cerca de tu parada.' }}</p>
</div>
<span class="material-icons feat__icon">local_offer</span>
</div> </div>
<div class="feat" data-aos="fade-up" data-aos-delay="160"> </div>
<div class="feat__num">03</div>
<div class="feat__body"> <div class="feature">
<h3>{{ t('landing.features.noDownload') || 'Sin Play Store' }}</h3> <div class="feature__icon">
<p>{{ t('landing.features.noDownloadDesc') || 'Instalás como PWA directo desde el navegador.' }}</p> <span class="material-icons">download_done</span>
</div> </div>
<span class="material-icons feat__icon">phonelink_setup</span> <div class="feature__text">
<h3>Sin descargar nada</h3>
<p>Se instala directo desde el navegador como una app normal, sin Play Store ni App Store.</p>
</div> </div>
</div> </div>
</div> </div>
</section> </section>
<!-- Install --> <!-- INSTALL -->
<section id="install-guide" class="install"> <section id="install-guide" class="install">
<div class="install__bg"> <div class="install__wrap">
<img src="/landing-install-bg.png" alt="" />
<div class="install__bg-scrim"></div>
</div>
<div class="install__inner"> <div class="install__header">
<div class="install__header" data-aos="fade-up"> <p class="install__eyebrow">Instalación rápida</p>
<span class="tag tag--yellow">{{ t('landing.install.sectionTag') || 'INSTALACIÓN' }}</span> <h2 class="install__title">Listo en 30 segundos</h2>
<h2 class="install__h2"> <p class="install__sub">
{{ t('landing.install.heading1') || 'En menos de' }}<br> Seguí estos pasos según tu celular para agregar SIB a tu pantalla de inicio.
<em>{{ t('landing.install.heading2') || '30 segundos' }}</em> </p>
</h2>
</div> </div>
<div class="install__cols"> <div class="install__cards">
<div class="install-card" data-aos="fade-up" data-aos-delay="0">
<div class="install-card__platform"> <div class="icard">
<span class="material-icons">apple</span> iOS · Safari <div class="icard__head">
<span class="material-icons">apple</span>
<div>
<strong>iPhone</strong>
<span>Safari</span>
</div>
</div> </div>
<ol class="steps"> <ol class="icard__steps">
<li>{{ t('landing.install.iosStep1') || 'Abrí esta página en Safari' }}</li> <li>Abrí esta página en <strong>Safari</strong></li>
<li>{{ t('landing.install.iosStep2') || 'Tocá el botón Compartir ↑' }}</li> <li>Tocá el botón <strong>Compartir</strong> (cuadro con flecha )</li>
<li>{{ t('landing.install.iosStep3') || 'Elegí "Agregar a inicio"' }}</li> <li>Elegí <strong>"Agregar a inicio"</strong></li>
</ol> </ol>
</div> </div>
<div class="install-card" data-aos="fade-up" data-aos-delay="100">
<div class="install-card__platform"> <div class="icard">
<span class="material-icons">android</span> Android · Chrome <div class="icard__head">
<span class="material-icons">android</span>
<div>
<strong>Android</strong>
<span>Chrome</span>
</div>
</div> </div>
<ol class="steps"> <ol class="icard__steps">
<li>{{ t('landing.install.androidStep1') || 'Abrí esta página en Chrome' }}</li> <li>Abrí esta página en <strong>Chrome</strong></li>
<li>{{ t('landing.install.androidStep2') || 'Tocá el menú ⋮ arriba' }}</li> <li>Tocá el menú <strong></strong> arriba a la derecha</li>
<li>{{ t('landing.install.androidStep3') || 'Elegí "Instalar aplicación"' }}</li> <li>Elegí <strong>"Instalar aplicación"</strong></li>
</ol> </ol>
</div> </div>
</div> </div>
<div class="install__cta" data-aos="fade-up" data-aos-delay="180"> <div class="install__action">
<button class="cta-pill cta-pill--lg" @click="launchApp"> <button class="btn-cta btn-cta--lg" @click="launchApp">Abrir aplicación </button>
{{ t('landing.hero.launchApp') }} <span class="cta-pill__arrow"></span>
</button>
</div> </div>
</div> </div>
</section> </section>
<!-- Footer --> <!-- FOOTER -->
<footer class="footer"> <footer class="footer">
<img src="/titulosib.png" alt="SIB" class="footer__logo" /> <img src="/titulosib.png" alt="SIB" class="footer__logo" />
<p class="footer__copy">{{ t('landing.footer.rights') || '© 2025 SIB · Todos los derechos reservados' }}</p> <p class="footer__copy">© 2025 SIB · Todos los derechos reservados</p>
</footer> </footer>
</div> </div>
@ -172,466 +141,282 @@
<script setup lang="ts"> <script setup lang="ts">
import { ref, onMounted, onUnmounted } from 'vue' import { ref, onMounted, onUnmounted } from 'vue'
import { useRouter } from 'vue-router' import { useRouter } from 'vue-router'
import { useI18n } from 'vue-i18n'
const router = useRouter() const router = useRouter()
const { t } = useI18n()
const scrolled = ref(false) const scrolled = ref(false)
const handleScroll = () => { scrolled.value = window.scrollY > 50 } const onScroll = () => { scrolled.value = window.scrollY > 40 }
onMounted(() => { onMounted(() => {
window.addEventListener('scroll', handleScroll) window.addEventListener('scroll', onScroll)
const isStandalone = window.matchMedia('(display-mode: standalone)').matches const isStandalone =
|| (window.navigator as any).standalone === true window.matchMedia('(display-mode: standalone)').matches ||
(window.navigator as any).standalone === true
if (isStandalone) router.replace('/splash') if (isStandalone) router.replace('/splash')
}) })
onUnmounted(() => window.removeEventListener('scroll', handleScroll)) onUnmounted(() => window.removeEventListener('scroll', onScroll))
const launchApp = () => router.push('/splash') const launchApp = () => router.push('/splash')
const scrollToInstall = () => document.getElementById('install-guide')?.scrollIntoView({ behavior: 'smooth' }) const scrollToInstall = () =>
document.getElementById('install-guide')?.scrollIntoView({ behavior: 'smooth' })
</script> </script>
<style scoped> <style scoped>
/* ══ TOKENS ══════════════════════════════════════════════ */ /* ─── BASE ─────────────────────────────────────────── */
.landing { *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
--y: #fee715;
--y10: rgba(254,231,21,.10);
--y20: rgba(254,231,21,.20);
--ink: #060606;
--off: #0e0e0e;
--dim: rgba(255,255,255,.40);
--hr: rgba(255,255,255,.07);
background: var(--ink); .page {
color: #fff; --y: #FEE715;
font-family: 'Barlow Condensed', 'Arial Narrow', Arial, sans-serif; --ydark: #B8940A;
overflow-x: hidden; --ylight: #FFF8CC;
min-height: 100vh; --ink: #0A0A0A;
--white: #FFFFFF;
--gray: #888;
--muted: #BBBBBBB;
--bg: #F6F6F6;
--border: rgba(0,0,0,0.08);
font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
background: var(--white);
color: var(--ink);
-webkit-font-smoothing: antialiased;
} }
/* ══ NAV ═════════════════════════════════════════════════ */ /* ─── NAV ──────────────────────────────────────────── */
.nav { .nav {
position: fixed; top: 0; left: 0; right: 0; z-index: 200; position: fixed; top: 0; left: 0; right: 0; z-index: 100;
height: 72px; display: flex; align-items: center; padding: 0 32px; height: 64px; display: flex; align-items: center; padding: 0 24px;
transition: background .25s, border-color .25s; transition: background .2s, border-color .2s;
} }
.nav--solid { .nav--solid {
background: rgba(6,6,6,.90); background: rgba(255,255,255,.93);
backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
border-bottom: 1px solid var(--hr); border-bottom: 1px solid var(--border);
} }
.nav__inner { .nav__wrap {
max-width: 1280px; margin: 0 auto; width: 100%; max-width: 1100px; margin: 0 auto; width: 100%;
display: flex; justify-content: space-between; align-items: center; display: flex; justify-content: space-between; align-items: center;
} }
.nav__logo { height: 40px; width: auto; object-fit: contain; } .nav__logo { height: 30px; width: auto; object-fit: contain; }
.nav--solid .nav__logo { height: 32px; } .nav__actions { display: flex; align-items: center; gap: 20px; }
.nav__right { display: flex; align-items: center; gap: 24px; }
.nav__link { .nav__link {
background: none; border: none; color: var(--dim); background: none; border: none; font-family: inherit;
font-family: inherit; font-size: 1rem; font-weight: 600; font-size: .9rem; font-weight: 500; color: var(--gray); cursor: pointer;
letter-spacing: .04em; text-transform: uppercase; cursor: pointer; transition: color .15s;
transition: color .2s;
} }
.nav__link:hover { color: #fff; } .nav__link:hover { color: var(--ink); }
/* ══ CTA PILL ════════════════════════════════════════════ */ /* ─── BUTTONS ──────────────────────────────────────── */
.cta-pill { .btn-cta {
display: inline-flex; align-items: center; gap: 8px; display: inline-flex; align-items: center; justify-content: center;
background: var(--y); color: #000; gap: 6px; font-family: inherit; font-weight: 700;
font-family: inherit; font-weight: 800; text-transform: uppercase; background: var(--y); color: var(--ink);
letter-spacing: .06em; border: none; cursor: pointer; border: none; border-radius: 10px; cursor: pointer;
border-radius: 4px; transition: transform .18s, box-shadow .18s;
transition: transform .25s cubic-bezier(.34,1.56,.64,1), box-shadow .25s;
}
.cta-pill--sm { font-size: .85rem; padding: 9px 20px; }
.cta-pill--lg { font-size: 1.15rem; padding: 18px 42px; }
.cta-pill__arrow { display: inline-block; transition: transform .2s; }
.cta-pill:hover { transform: translateY(-3px); box-shadow: 0 18px 44px rgba(254,231,21,.28); }
.cta-pill:hover .cta-pill__arrow { transform: translate(3px,-3px); }
.ghost-btn {
background: none;
border: 1.5px solid var(--hr);
color: var(--dim);
font-family: inherit; font-size: 1rem; font-weight: 600;
text-transform: uppercase; letter-spacing: .06em;
padding: 17px 36px; border-radius: 4px; cursor: pointer;
transition: border-color .2s, color .2s;
}
.ghost-btn:hover { border-color: rgba(255,255,255,.3); color: #fff; }
/* ══ HERO ════════════════════════════════════════════════ */
.hero {
position: relative; min-height: 100vh;
display: flex; align-items: flex-end;
padding: 0 6vw 100px;
overflow: hidden;
}
/* Photo bg */
.hero__photo { position: absolute; inset: 0; }
.hero__photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; filter: saturate(.5); }
.hero__photo-scrim {
position: absolute; inset: 0;
background:
linear-gradient(to right, rgba(6,6,6,.92) 40%, rgba(6,6,6,.35) 100%),
linear-gradient(to top, rgba(6,6,6,.9) 0%, transparent 50%);
}
/* Diagonal slash accent */
.hero__slash {
position: absolute; bottom: -2px; right: -2px;
width: 55vw; height: 45vh;
background: var(--y);
clip-path: polygon(100% 0, 100% 100%, 0 100%);
opacity: .06;
pointer-events: none;
}
/* Live badge */
.hero__badge {
position: absolute; top: 110px; left: 6vw; z-index: 2;
display: inline-flex; align-items: center; gap: 8px;
border: 1px solid var(--y20);
background: var(--y10);
color: var(--y);
font-size: .72rem; font-weight: 700; letter-spacing: .16em;
text-transform: uppercase;
padding: 7px 16px; border-radius: 2px;
}
.hero__badge-dot {
width: 6px; height: 6px; border-radius: 50%;
background: var(--y);
animation: blink 1.8s ease-in-out infinite;
}
@keyframes blink {
0%,100% { opacity:1; } 50% { opacity:.25; }
}
/* Copy */
.hero__copy { position: relative; z-index: 2; max-width: 860px; }
.hero__h1 {
display: flex; flex-direction: column;
font-family: 'Barlow Condensed', 'Arial Narrow', Arial, sans-serif;
font-size: clamp(5rem, 14vw, 13rem);
font-weight: 800;
line-height: .88;
letter-spacing: -.02em;
text-transform: uppercase;
margin-bottom: 32px;
}
.hero__h1-outline {
-webkit-text-stroke: 2px rgba(255,255,255,.25);
color: transparent;
}
.hero__h1-solid { color: #fff; }
.hero__h1-accent {
color: var(--y);
-webkit-text-stroke: 0;
}
.hero__tagline {
font-size: clamp(.85rem, 1.8vw, 1.1rem);
font-weight: 500;
color: var(--dim);
letter-spacing: .12em;
text-transform: uppercase;
margin-bottom: 48px;
}
.hero__actions { display: flex; gap: 16px; flex-wrap: wrap; }
/* Route indicator (decorative) */
.hero__route {
position: absolute; right: 8vw; bottom: 90px; z-index: 2;
display: flex; flex-direction: column; align-items: center; gap: 0;
}
.hero__route-dot {
width: 12px; height: 12px; border-radius: 50%;
background: var(--y); border: 2px solid var(--ink);
}
.hero__route-line {
width: 2px; height: 80px;
background: linear-gradient(to bottom, var(--y), rgba(254,231,21,.1));
}
.hero__route-dot--bottom { background: rgba(254,231,21,.25); }
/* ══ TICKER ══════════════════════════════════════════════ */
.ticker {
overflow: hidden;
background: var(--y);
color: #000;
padding: 14px 0;
border-top: none;
}
.ticker__track {
display: flex; gap: 0;
animation: ticker 22s linear infinite;
white-space: nowrap; white-space: nowrap;
} }
.ticker__item { .btn-cta--sm { font-size: .88rem; padding: 9px 18px; }
font-family: 'Barlow Condensed', 'Arial Narrow', Arial, sans-serif; .btn-cta--lg { font-size: 1rem; padding: 15px 34px; }
font-size: 1rem; font-weight: 700; .btn-cta:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(254,231,21,.4); }
letter-spacing: .1em; text-transform: uppercase; .btn-cta:active { transform: translateY(0); box-shadow: none; }
padding: 0 40px; flex-shrink: 0;
.btn-outline {
display: inline-flex; align-items: center; justify-content: center;
font-family: inherit; font-weight: 500; font-size: 1rem;
background: none; border: 1.5px solid rgba(255,255,255,.25);
color: rgba(255,255,255,.7);
padding: 14px 30px; border-radius: 10px; cursor: pointer;
transition: border-color .18s, color .18s; white-space: nowrap;
} }
.ticker__item em { font-style: normal; opacity: .5; } .btn-outline:hover { border-color: rgba(255,255,255,.6); color: #fff; }
@keyframes ticker {
from { transform: translateX(0); } /* ─── HERO ─────────────────────────────────────────── */
to { transform: translateX(-50%); } .hero {
position: relative; min-height: 100svh;
display: flex; align-items: flex-end;
padding: 88px 24px 72px;
overflow: hidden;
} }
/* ══ FEATURES ════════════════════════════════════════════ */ .hero__img {
.feats { padding: 120px 6vw; }
.feats__inner {
max-width: 1280px; margin: 0 auto;
display: grid; grid-template-columns: 1fr 2fr; gap: 80px; align-items: start;
}
.feats__label { position: sticky; top: 120px; }
.tag {
display: inline-block;
font-size: .7rem; font-weight: 700; letter-spacing: .18em;
text-transform: uppercase; color: var(--dim);
border: 1px solid var(--hr); padding: 5px 12px; border-radius: 2px;
margin-bottom: 28px;
}
.tag--yellow { color: var(--y); border-color: var(--y20); }
.feats__h2 {
font-family: 'Barlow Condensed', 'Arial Narrow', Arial, sans-serif;
font-size: clamp(2.8rem, 5vw, 4.5rem);
font-weight: 800; line-height: .95;
letter-spacing: -.02em; text-transform: uppercase;
}
.feats__h2 em { font-style: normal; color: var(--y); }
.feats__list { display: flex; flex-direction: column; gap: 0; }
.feat {
display: grid; grid-template-columns: 72px 1fr 48px;
align-items: center; gap: 28px;
padding: 40px 0;
border-bottom: 1px solid var(--hr);
transition: background .2s;
}
.feat:first-child { border-top: 1px solid var(--hr); }
.feat:hover { background: rgba(255,255,255,.02); }
.feat__num {
font-family: 'Barlow Condensed', 'Arial Narrow', Arial, sans-serif;
font-size: 2.6rem; font-weight: 800;
color: rgba(255,255,255,.08); letter-spacing: -.03em;
}
.feat__body h3 {
font-family: 'Barlow Condensed', 'Arial Narrow', Arial, sans-serif;
font-size: 1.6rem; font-weight: 700;
letter-spacing: -.01em; text-transform: uppercase; margin-bottom: 6px;
}
.feat__body p { font-family: 'DM Sans', sans-serif; font-size: .95rem; color: var(--dim); line-height: 1.6; }
.feat__icon { font-size: 28px; color: var(--y); opacity: .5; }
.feat:hover .feat__icon { opacity: 1; }
/* ══ INSTALL ═════════════════════════════════════════════ */
.install {
position: relative; padding: 130px 6vw; overflow: hidden;
}
.install__bg { position: absolute; inset: 0; }
.install__bg img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.2) brightness(.25); }
.install__bg-scrim {
position: absolute; inset: 0; position: absolute; inset: 0;
background: linear-gradient(to bottom, rgba(6,6,6,.65), rgba(6,6,6,.95)); width: 100%; height: 100%;
object-fit: cover; object-position: center 35%;
}
.hero__overlay {
position: absolute; inset: 0;
background: linear-gradient(
to top,
rgba(10,10,10,.96) 0%,
rgba(10,10,10,.72) 45%,
rgba(10,10,10,.28) 100%
);
} }
.install__inner { position: relative; z-index: 1; max-width: 1000px; margin: 0 auto; } .hero__content {
.install__header { margin-bottom: 64px; } position: relative; z-index: 1;
.install__h2 { max-width: 640px; color: #fff;
font-family: 'Barlow Condensed', 'Arial Narrow', Arial, sans-serif;
font-size: clamp(2.8rem, 5vw, 4.5rem);
font-weight: 800; line-height: .95; letter-spacing: -.02em; text-transform: uppercase;
}
.install__h2 em { font-style: normal; color: var(--y); }
.install__cols {
display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
gap: 24px; margin-bottom: 64px;
} }
.install-card { .hero__live {
background: rgba(255,255,255,.04); display: inline-flex; align-items: center; gap: 8px;
border: 1px solid var(--hr); border-radius: 6px; padding: 44px 40px; font-size: .73rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
transition: border-color .3s; color: var(--y); margin-bottom: 20px;
} }
.install-card:hover { border-color: var(--y20); } .hero__live-dot {
width: 7px; height: 7px; border-radius: 50%; background: var(--y);
animation: dot 2s ease-in-out infinite;
}
@keyframes dot { 0%,100%{opacity:1} 50%{opacity:.25} }
.install-card__platform { .hero__title {
display: flex; align-items: center; gap: 12px; font-size: clamp(2.4rem, 6.5vw, 4.6rem);
font-family: 'Barlow Condensed', 'Arial Narrow', Arial, sans-serif; font-weight: 800; line-height: 1.06; letter-spacing: -.03em;
font-size: 1.15rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 18px;
color: var(--y); margin-bottom: 32px;
} }
.install-card__platform .material-icons { font-size: 24px; }
.steps { list-style: none; padding: 0; margin: 0; counter-reset: s; } .hero__desc {
.steps li { font-size: clamp(.92rem, 2vw, 1.05rem);
counter-increment: s; color: rgba(255,255,255,.58); line-height: 1.75;
position: relative; padding-left: 48px; margin-bottom: 36px;
margin-bottom: 20px;
font-family: 'DM Sans', sans-serif;
font-size: 1rem; color: rgba(255,255,255,.6); line-height: 1.55;
} }
.steps li::before {
content: counter(s); .hero__btns { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
position: absolute; left: 0; top: 0;
width: 30px; height: 30px; border-radius: 50%; /* ─── FEATURES ─────────────────────────────────────── */
background: var(--y10); border: 1px solid var(--y20); .features { padding: 72px 24px; border-bottom: 1px solid var(--border); }
color: var(--y); font-size: .8rem; font-weight: 800; .features__wrap {
max-width: 1100px; margin: 0 auto;
display: grid; grid-template-columns: repeat(3,1fr);
}
.feature {
display: flex; flex-direction: column; gap: 14px;
padding: 0 40px 0 0;
margin-right: 40px;
border-right: 1px solid var(--border);
}
.feature:last-child { border-right: none; padding-right: 0; margin-right: 0; }
.feature__icon {
width: 44px; height: 44px; border-radius: 11px;
background: var(--ylight);
display: flex; align-items: center; justify-content: center; display: flex; align-items: center; justify-content: center;
} }
.steps li:last-child { margin-bottom: 0; } .feature__icon .material-icons { font-size: 22px; color: var(--ydark); }
.install__cta { text-align: center; } .feature__text h3 { font-size: 1rem; font-weight: 700; margin-bottom: 6px; letter-spacing: -.01em; }
.feature__text p { font-size: .9rem; color: var(--gray); line-height: 1.65; }
/* ══ FOOTER ══════════════════════════════════════════════ */ /* ─── INSTALL ──────────────────────────────────────── */
.install { background: var(--bg); padding: 88px 24px; }
.install__wrap { max-width: 840px; margin: 0 auto; }
.install__header { text-align: center; margin-bottom: 52px; }
.install__eyebrow {
font-size: .72rem; font-weight: 700; letter-spacing: .14em;
text-transform: uppercase; color: var(--gray); margin-bottom: 10px;
}
.install__title {
font-size: clamp(1.7rem, 4vw, 2.6rem);
font-weight: 800; letter-spacing: -.03em; margin-bottom: 12px;
}
.install__sub { font-size: .93rem; color: var(--gray); line-height: 1.65; max-width: 400px; margin: 0 auto; }
.install__cards {
display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 44px;
}
.icard {
background: var(--white); border: 1px solid var(--border);
border-radius: 16px; padding: 32px 28px;
transition: box-shadow .2s;
}
.icard:hover { box-shadow: 0 6px 28px rgba(0,0,0,.07); }
.icard__head {
display: flex; align-items: center; gap: 12px;
padding-bottom: 20px; margin-bottom: 20px;
border-bottom: 1px solid var(--border);
}
.icard__head .material-icons { font-size: 26px; }
.icard__head div { display: flex; flex-direction: column; gap: 1px; }
.icard__head strong { font-size: .97rem; font-weight: 700; }
.icard__head span { font-size: .8rem; color: var(--gray); }
.icard__steps { list-style: none; counter-reset: s; display: flex; flex-direction: column; gap: 14px; }
.icard__steps li {
counter-increment: s;
display: flex; align-items: flex-start; gap: 12px;
font-size: .9rem; color: #444; line-height: 1.5;
}
.icard__steps li::before {
content: counter(s);
flex-shrink: 0; width: 24px; height: 24px; border-radius: 50%;
background: var(--bg); border: 1px solid var(--border);
color: var(--ink); font-size: .75rem; font-weight: 700;
display: flex; align-items: center; justify-content: center; margin-top: 1px;
}
.icard__steps li strong { color: var(--ink); }
.install__action { text-align: center; }
/* ─── FOOTER ───────────────────────────────────────── */
.footer { .footer {
display: flex; justify-content: space-between; align-items: center; background: var(--white); border-top: 1px solid var(--border);
padding: 48px 6vw; padding: 32px 24px;
border-top: 1px solid var(--hr); display: flex; align-items: center; justify-content: space-between;
flex-wrap: wrap; gap: 20px; flex-wrap: wrap; gap: 12px;
} }
.footer__logo { height: 28px; opacity: .4; transition: opacity .3s; } .footer__logo { height: 22px; opacity: .4; }
.footer__logo:hover { opacity: 1; } .footer__copy { font-size: .8rem; color: #ccc; }
.footer__copy { font-family: 'DM Sans', sans-serif; font-size: .82rem; color: rgba(255,255,255,.2); }
/* ══ RESPONSIVE — MOBILE FIRST ═══════════════════════════ */ /* ─── RESPONSIVE ───────────────────────────────────── */
/* ── Tablet ─────────────────────────────────────── 768px+ */ /* Tablet + */
@media (min-width: 768px) { @media (min-width: 768px) {
/* Nav */ .nav { padding: 0 40px; }
.nav { padding: 0 32px; } .hero { padding: 100px 48px 88px; }
.nav__logo { height: 40px; }
.nav__link { display: block; } .nav__link { display: block; }
/* Hero */
.hero { padding: 0 6vw 100px; align-items: flex-end; }
.hero__badge { top: 110px; left: 6vw; }
.hero__copy { max-width: 700px; }
.hero__h1 { font-size: clamp(5rem, 11vw, 10rem); }
.hero__tagline { font-size: 1rem; }
.hero__actions { flex-direction: row; flex-wrap: wrap; }
.hero__route { display: flex; }
/* Features */
.feats { padding: 120px 6vw; }
.feats__inner { grid-template-columns: 1fr 2fr; gap: 80px; }
.feats__label { position: sticky; top: 120px; }
.feat { grid-template-columns: 72px 1fr 48px; gap: 28px; }
.feat__icon { display: block; }
/* Install */
.install { padding: 130px 6vw; }
.install__cols { grid-template-columns: repeat(2, 1fr); }
.install-card { padding: 44px 40px; }
/* Footer */
.footer { flex-direction: row; text-align: left; }
} }
/* ── Desktop ────────────────────────────────────── 1024px+ */ /* Mobile */
@media (min-width: 1024px) {
.hero__h1 { font-size: clamp(7rem, 13vw, 13rem); }
.feats__h2 { font-size: 4.5rem; }
.install__h2 { font-size: 4.5rem; }
}
/* ── Base mobile styles (aplican a todos) ──────── < 768px */
@media (max-width: 767px) { @media (max-width: 767px) {
/* Nav */ /* Nav */
.nav { padding: 0 18px; height: 62px; } .nav { padding: 0 18px; height: 58px; }
.nav__logo { height: 32px; } .nav--solid { border-bottom: 1px solid var(--border); }
.nav--solid .nav__logo { height: 28px; } .nav__logo { height: 25px; }
.nav__link { display: none; } .nav__link { display: none; }
.nav__right { gap: 12px; } .btn-cta--sm { font-size: .82rem; padding: 8px 14px; border-radius: 8px; }
.cta-pill--sm { font-size: .8rem; padding: 8px 16px; }
/* Hero */ /* Hero */
.hero { .hero { padding: 72px 20px 56px; }
padding: 80px 18px 72px; .hero__title { font-size: clamp(2.1rem, 10.5vw, 3rem); }
align-items: flex-start; .hero__desc { font-size: .9rem; margin-bottom: 28px; }
min-height: 100svh; /* usa svh en mobile para respetar la barra del browser */ .hero__btns { flex-direction: column; }
justify-content: flex-end; .btn-cta--lg,
} .btn-outline { width: 100%; font-size: .97rem; }
.hero__badge { .btn-outline { border-color: rgba(255,255,255,.2); }
top: 80px; left: 18px;
font-size: .68rem; padding: 6px 13px;
}
.hero__copy { max-width: 100%; width: 100%; }
.hero__h1 {
font-size: clamp(3.4rem, 17vw, 5.5rem);
margin-bottom: 20px;
line-height: .9;
}
.hero__h1-outline { -webkit-text-stroke: 1.5px rgba(255,255,255,.22); }
.hero__tagline {
font-size: .75rem; letter-spacing: .1em;
margin-bottom: 32px;
}
.hero__actions { flex-direction: column; gap: 12px; width: 100%; }
.cta-pill--lg { width: 100%; justify-content: center; font-size: 1rem; padding: 16px 24px; }
.ghost-btn { width: 100%; text-align: center; font-size: .9rem; padding: 14px 24px; }
.hero__route { display: none; }
.hero__slash { width: 70vw; height: 30vh; }
/* Ticker */
.ticker { padding: 11px 0; }
.ticker__item { font-size: .85rem; padding: 0 28px; }
/* Features */ /* Features */
.feats { padding: 64px 18px; } .features { padding: 52px 20px; }
.feats__inner { .features__wrap { grid-template-columns: 1fr; gap: 0; }
grid-template-columns: 1fr; .feature {
gap: 36px; flex-direction: row; align-items: flex-start; gap: 16px;
padding: 24px 0; margin-right: 0;
border-right: none; border-bottom: 1px solid var(--border);
} }
.feats__label { position: static; } .feature:last-child { border-bottom: none; }
.feats__h2 { font-size: clamp(2.2rem, 9vw, 3.2rem); } .feature__icon { margin-top: 2px; flex-shrink: 0; }
.feats__list { gap: 0; }
.feat {
grid-template-columns: 44px 1fr;
gap: 16px;
padding: 28px 0;
}
.feat__num { font-size: 2rem; }
.feat__body h3 { font-size: 1.3rem; }
.feat__body p { font-size: .9rem; }
.feat__icon { display: none; }
/* Install */ /* Install */
.install { padding: 64px 18px; } .install { padding: 56px 20px; }
.install__header { margin-bottom: 44px; } .install__title { font-size: 1.75rem; }
.install__h2 { font-size: clamp(2.2rem, 9vw, 3.2rem); } .install__cards { grid-template-columns: 1fr; gap: 12px; }
.install__cols { .icard { padding: 24px 20px; border-radius: 12px; }
grid-template-columns: 1fr; .install__action .btn-cta--lg { width: 100%; }
gap: 16px;
margin-bottom: 44px;
}
.install-card { padding: 28px 22px; }
.install-card__platform { font-size: 1rem; margin-bottom: 24px; }
.steps li { font-size: .92rem; padding-left: 42px; margin-bottom: 16px; }
.steps li::before { width: 26px; height: 26px; font-size: .75rem; }
.install__cta .cta-pill--lg { width: 100%; justify-content: center; }
/* Footer */ /* Footer */
.footer { .footer { flex-direction: column; align-items: center; text-align: center; padding: 28px 20px; }
padding: 36px 18px;
flex-direction: column;
align-items: center;
text-align: center;
gap: 16px;
}
.footer__logo { height: 26px; }
.footer__copy { font-size: .78rem; }
} }
</style> </style>