/* Estilos compartidos de 07founder.com (portada y guías) */

:root {
    --bg: #000;
    --surface: #0e0d0d;
    --surface-2: #171515;
    --surface-3: #1f1d1d;
    --line: rgba(255, 255, 255, 0.1);
    --line-strong: rgba(255, 255, 255, 0.18);
    --text: #ededed;
    --muted: rgba(237, 237, 237, 0.62);
    --faint: rgba(237, 237, 237, 0.32);
    --red: #db3b2b;
    --red-hover: #e9503f;
    --red-deep: #7a1f24;
    --radius: 18px;
    --radius-lg: 28px;
    --container: 1200px;
    --font-display: 'Sora', 'Manrope', sans-serif;
    --font-body: 'Manrope', system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 110px; }

body {
    margin: 0;
    font-family: var(--font-body);
    background: var(--bg);
    color: var(--text);
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, p { margin: 0; }

.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 20px;
}

.display {
    font-family: var(--font-display);
    font-weight: 300;
    letter-spacing: -0.03em;
    line-height: 1.12;
    color: #fff;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--muted);
}

.eyebrow .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--red);
    box-shadow: 0 0 0 0 rgba(219, 59, 43, 0.6);
    animation: ping 2.2s infinite;
}

@keyframes ping {
    0% { box-shadow: 0 0 0 0 rgba(219, 59, 43, 0.6); }
    70% { box-shadow: 0 0 0 10px rgba(219, 59, 43, 0); }
    100% { box-shadow: 0 0 0 0 rgba(219, 59, 43, 0); }
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 1rem;
    border-radius: var(--radius);
    padding: 0.85rem 1.5rem;
    border: 1px solid transparent;
    cursor: pointer;
    transition: background .25s ease, transform .25s ease, border-color .25s ease, color .25s ease;
    white-space: nowrap;
}

.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { background: var(--red-hover); transform: translateY(-2px); }

.btn-ghost { background: rgba(255, 255, 255, 0.04); color: #fff; border-color: var(--line-strong); }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.1); }

.link-arrow {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-weight: 700;
    font-size: 0.92rem;
    color: #fff;
}

.link-arrow i { transition: transform .25s ease; font-size: 0.8em; }
.link-arrow:hover i { transform: translateX(4px); }

/* ---------- Nav ---------- */
.nav-wrap {
    position: fixed;
    top: 16px;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 0 20px;
}

.nav {
    max-width: calc(var(--container) - 40px);
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 2rem;
    padding: 0.7rem 0.7rem 0.7rem 1.4rem;
    border-radius: 24px;
    background: rgba(20, 8, 9, 0.55);
    border: 1px solid rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(22px) saturate(160%);
    -webkit-backdrop-filter: blur(22px) saturate(160%);
    transition: background .3s ease;
}

.nav.scrolled { background: rgba(10, 9, 9, 0.82); }

.brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-shrink: 0;
}

.brand-mark {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.9rem;
    letter-spacing: -0.06em;
    color: var(--red);
    line-height: 1;
}

.brand-name {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
    font-weight: 700;
    font-size: 0.95rem;
    color: #fff;
}

.brand-name small {
    font-weight: 500;
    font-size: 0.72rem;
    color: var(--muted);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-links a {
    display: block;
    padding: 0.55rem 0.95rem;
    border-radius: 12px;
    font-weight: 500;
    font-size: 0.98rem;
    color: rgba(255, 255, 255, 0.86);
    transition: background .2s ease, color .2s ease;
}

.nav-links a:hover { background: rgba(255, 255, 255, 0.07); color: #fff; }

.nav-actions {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-actions .text-link {
    padding: 0.55rem 1rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.86);
}

.nav-actions .text-link:hover { color: #fff; }

.nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.04);
    color: #fff;
    font-size: 1.1rem;
    cursor: pointer;
}

.mobile-menu {
    display: none;
    max-width: calc(var(--container) - 40px);
    margin: 0.5rem auto 0;
    padding: 0.75rem;
    border-radius: 20px;
    background: rgba(14, 13, 13, 0.96);
    border: 1px solid var(--line);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.mobile-menu.open { display: grid; gap: 0.25rem; }

.mobile-menu a:not(.btn) {
    padding: 0.85rem 1rem;
    border-radius: 12px;
    font-weight: 600;
}

.mobile-menu a:not(.btn):hover { background: rgba(255, 255, 255, 0.06); }
.mobile-menu .btn { margin-top: 0.5rem; }

/* ---------- Sections ---------- */
section { position: relative; }

.section { padding: 110px 0; }

.section-head {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 3.5rem;
}

.section-head h2 { font-size: clamp(2rem, 4.2vw, 2.9rem); margin: 0.9rem 0 1rem; }
.section-head p { color: var(--muted); font-size: 1.1rem; }

.card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
}

/* ---------- Final CTA ---------- */
.final-cta {
    text-align: center;
    padding: 130px 0 120px;
    background: radial-gradient(50% 60% at 50% 100%, rgba(219, 59, 43, 0.28), transparent 70%), var(--bg);
}

.final-cta h2 { font-size: clamp(2.1rem, 4.6vw, 3.3rem); max-width: 820px; margin: 1rem auto; }
.final-cta p { color: var(--muted); font-size: 1.15rem; max-width: 560px; margin: 0 auto 2.2rem; }

.cta-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.75rem; }

/* ---------- Footer ---------- */
.footer {
    border-top: 1px solid var(--line);
    padding: 70px 0 40px;
    background: var(--bg);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1.3fr;
    gap: 2.5rem;
}

.footer .brand-mark { font-size: 2.4rem; }
.footer-about { color: var(--muted); margin: 1rem 0 1.4rem; max-width: 280px; font-size: 0.95rem; }

.socials { display: flex; gap: 0.5rem; }

.socials a {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    display: grid;
    place-items: center;
    background: var(--surface-2);
    border: 1px solid var(--line);
    color: rgba(255, 255, 255, 0.85);
    transition: background .2s ease, color .2s ease;
}

.socials a:hover { background: var(--red); color: #fff; border-color: var(--red); }

.footer h4 { font-size: 0.95rem; font-weight: 700; color: #fff; margin-bottom: 1rem; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.7rem; }
.footer ul a, .footer ul li { color: var(--muted); font-size: 0.95rem; }
.footer ul a:hover { color: #fff; }
.footer ul i { width: 18px; color: var(--faint); margin-right: 0.35rem; }

.footer-bottom {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 3.5rem;
    padding-top: 1.6rem;
    border-top: 1px solid var(--line);
    color: var(--faint);
    font-size: 0.88rem;
}

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s ease; }
.reveal.in { opacity: 1; transform: none; }


/* ---------- Tabs (estilo T1) ---------- */
.hero-tabs {
    display: flex;
    justify-content: center;
    max-width: 1020px;
    margin: 3rem auto 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
    overflow-x: auto;
    scrollbar-width: none;
}

.hero-tabs::-webkit-scrollbar { display: none; }

.hero-tab {
    flex: 1;
    min-width: max-content;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding: 1.05rem 1.4rem;
    background: none;
    border: 0;
    border-bottom: 3px solid transparent;
    margin-bottom: -1px;
    color: rgba(255, 255, 255, 0.5);
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    cursor: pointer;
    transition: color .25s ease, border-color .25s ease;
}

.hero-tab:hover { color: rgba(255, 255, 255, 0.8); }
.hero-tab[aria-selected="true"] { color: #fff; border-bottom-color: #fff; }
.hero-tab[aria-current="page"] { color: #fff; border-bottom-color: #fff; }

/* ---------- Chips ---------- */
.chips {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.6rem;
    margin-top: 1.6rem;
}

.chip {
    padding: 0.6rem 1.05rem;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.14);
    color: #fff;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: background .2s ease, border-color .2s ease;
}

.chip:hover { background: rgba(255, 255, 255, 0.12); border-color: rgba(255, 255, 255, 0.28); }
.chip.active { background: #fff; border-color: #fff; color: #000; }

/* ---------- Responsive ---------- */
.nav-links a, .nav-actions .text-link { white-space: nowrap; }

@media (max-width: 1099.98px) {
    .nav-links, .nav-actions .text-link, .nav-actions .btn { display: none; }
    .nav-toggle { display: inline-grid; place-items: center; }
    .nav { gap: 1rem; }
}

@media (max-width: 991.98px) {
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 575.98px) {
    .nav-wrap { top: 10px; padding: 0 12px; }
    .nav { padding: 0.55rem 0.55rem 0.55rem 1rem; }
    .brand-name small { display: none; }
    .container { padding: 0 16px; }
    .section { padding: 80px 0; }
    .hero-tab { padding: 0.9rem 0.55rem; font-size: 0.74rem; letter-spacing: 0.04em; }
    .hero-tab i { display: none; }
    .cta-row .btn { width: 100%; }
    .footer-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; }
    html { scroll-behavior: auto; }
    .reveal { opacity: 1; transform: none; }
}
