/* ============================================================
   NEXSYAN — Sitio público
   Corporate Dashboard (dark, corporate blue, wordmark siempre)
   ============================================================ */

:root {
    /* Superficies */
    --bg: #0F1823;
    --bg-elev: #182232;
    --bg-hover: #1F2B3F;
    --bg-deeper: #0A121C;
    --surface-grad: linear-gradient(135deg, #283649 0%, #1D2733 100%);

    /* Texto */
    --text: #F5F7FA;
    --text-mute: #B7C0CE;
    --text-soft: #8B96A8;
    --text-faint: #5E697A;

    /* Corporativo */
    --brand: #4BA3E3;
    --brand-soft: #3A92D2;
    --brand-glow: rgba(75, 163, 227, 0.18);
    --brand-fade: rgba(75, 163, 227, 0.08);
    --primary-dark: #283649;
    --primary-darker: #1D2733;

    /* Estados */
    --success: #3DD68C;
    --danger: #F47575;

    /* Bordes */
    --border: #1F2A3E;
    --border-strong: #2B384F;

    /* Tipo */
    --font: -apple-system, BlinkMacSystemFont, "Segoe UI", "Inter", Roboto, "Helvetica Neue", Arial, sans-serif;
    --font-mono: ui-monospace, "Cascadia Code", "SF Mono", Menlo, Consolas, monospace;

    /* Radios */
    --r: 10px;
    --r-sm: 6px;
    --r-lg: 14px;
    --r-xl: 20px;

    --t: 200ms cubic-bezier(0.2, 0, 0, 1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: var(--font);
    font-size: 15.5px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; display: block; }

a { color: var(--brand); text-decoration: none; transition: color var(--t); }
a:hover { color: var(--brand-soft); }

::selection { background: var(--brand); color: #fff; }

.shell {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 28px;
}

@media (max-width: 768px) { .shell { padding: 0 20px; } }

/* ============================================================
   Navbar
   ============================================================ */

.nav {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(15, 24, 35, 0.85);
    backdrop-filter: saturate(160%) blur(12px);
    -webkit-backdrop-filter: saturate(160%) blur(12px);
    border-bottom: 1px solid var(--border);
}

.nav__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 68px;
}

.nav__brand {
    display: flex;
    align-items: center;
    height: 100%;
}

.nav__brand img {
    height: 30px;
    width: auto;
}

.nav__links {
    display: flex;
    align-items: center;
    gap: 6px;
}

.nav__link {
    color: var(--text-mute);
    font-size: 14px;
    font-weight: 500;
    padding: 9px 14px;
    border-radius: var(--r-sm);
    transition: all var(--t);
}

.nav__link:hover {
    color: var(--text);
    background: var(--bg-hover);
}

.nav__cta {
    background: var(--brand);
    color: #fff !important;
    padding: 10px 18px;
    border-radius: var(--r-sm);
    font-size: 14px;
    font-weight: 600;
    margin-left: 10px;
    transition: all var(--t);
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.15);
}

.nav__cta:hover {
    background: var(--brand-soft);
    color: #fff !important;
    transform: translateY(-1px);
}

@media (max-width: 860px) {
    .nav__links .nav__link { display: none; }
}

/* ============================================================
   Hero
   ============================================================ */

.hero {
    padding: 96px 0 0;
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid var(--border);
}

.hero__inner {
    position: relative;
    padding-bottom: 72px;
}

/* ===== Diálogo: Dolor ↔ Respuesta ===== */

.hero__dialog {
    display: grid;
    grid-template-columns: 1fr 1.25fr;
    gap: 64px;
    align-items: start;
    position: relative;
}

.hero__dialog::before {
    content: "";
    position: absolute;
    left: calc((100% - 64px) * (1 / 2.25) + 32px);
    top: 8px;
    bottom: 8px;
    width: 1px;
    background: linear-gradient(to bottom, transparent 0%, var(--border-strong) 18%, var(--border-strong) 82%, transparent 100%);
}

.hero__col {
    display: flex;
    flex-direction: column;
}

.hero__col-label {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--text-faint);
    margin-bottom: 22px;
}

.hero__col--answer .hero__col-label {
    color: var(--brand);
}

.hero__questions {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.hero__questions li {
    font-size: clamp(1.0625rem, 1.4vw, 1.1875rem);
    line-height: 1.4;
    color: var(--text-mute);
    font-weight: 500;
    padding-left: 0;
    position: relative;
    letter-spacing: -0.005em;
}

.hero__questions li + li {
    padding-top: 14px;
    border-top: 1px solid var(--border);
}

.hero__answer {
    font-family: inherit;
    font-size: clamp(1.5rem, 2.6vw, 2rem);
    line-height: 1.28;
    color: var(--text);
    margin: 0 0 32px;
    font-weight: 600;
    letter-spacing: -0.018em;
    max-width: 32ch;
}

@media (max-width: 900px) {
    .hero__dialog { grid-template-columns: 1fr; gap: 40px; }
    .hero__dialog::before { display: none; }
    .hero__col--questions { padding-bottom: 36px; border-bottom: 1px solid var(--border); }
}

.hero__cta {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 36px;
}

.hero__trust {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 28px;
    padding-top: 22px;
    border-top: 1px solid var(--border);
    font-size: 13.5px;
    color: var(--text-soft);
    max-width: 64ch;
}

.hero__trust span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.hero__trust i { color: var(--brand); font-size: 15px; }

/* Banda institucional al pie del hero (pie de imprenta) */
.hero__imprint {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: stretch;
    border-top: 1px solid var(--border);
    background: var(--bg-deeper);
    position: relative;
    z-index: 1;
}

.hero__imprint-mark {
    background: var(--surface-grad);
    padding: 18px 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-right: 1px solid var(--border);
    min-width: 220px;
}

.hero__imprint-mark img {
    height: 28px;
    width: auto;
}

.hero__imprint-data {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    margin: 0;
    padding: 0;
}

.hero__imprint-data > div {
    padding: 18px 24px;
    border-right: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero__imprint-data > div:last-child { border-right: none; }

.hero__imprint-data dt {
    font-size: 10.5px;
    font-weight: 700;
    color: var(--text-faint);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin: 0 0 4px;
}

.hero__imprint-data dd {
    font-size: 14px;
    color: var(--text);
    margin: 0;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 6px;
}

.hero__imprint-data dd .dot {
    display: inline-block;
    width: 6px;
    height: 6px;
    background: var(--success);
    border-radius: 50%;
    box-shadow: 0 0 0 3px rgba(61, 214, 140, 0.18);
}

@media (max-width: 960px) {
    .hero { padding: 64px 0 0; }
    .hero__inner { padding-bottom: 56px; }
    .hero__imprint { grid-template-columns: 1fr; }
    .hero__imprint-mark { border-right: none; border-bottom: 1px solid var(--border); padding: 22px; }
    .hero__imprint-data { grid-template-columns: repeat(2, 1fr); }
    .hero__imprint-data > div:nth-child(2) { border-right: none; }
    .hero__imprint-data > div:nth-child(1),
    .hero__imprint-data > div:nth-child(2) { border-bottom: 1px solid var(--border); }
}

@media (max-width: 500px) {
    .hero__imprint-data { grid-template-columns: 1fr; }
    .hero__imprint-data > div { border-right: none; border-bottom: 1px solid var(--border); }
    .hero__imprint-data > div:last-child { border-bottom: none; }
}

/* ============================================================
   Botones
   ============================================================ */

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 20px;
    font-family: var(--font);
    font-size: 14px;
    font-weight: 600;
    border-radius: var(--r-sm);
    border: 1px solid transparent;
    cursor: pointer;
    transition: all var(--t);
    text-decoration: none;
    line-height: 1.3;
}

.btn i { font-size: 15px; }

.btn--primary {
    background: var(--brand);
    color: #fff;
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.15), 0 6px 20px -6px var(--brand-glow);
}

.btn--primary:hover {
    background: var(--brand-soft);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 2px 0 rgba(0, 0, 0, 0.15), 0 10px 24px -6px var(--brand-glow);
}

.btn--ghost {
    background: transparent;
    color: var(--text);
    border-color: var(--border-strong);
}

.btn--ghost:hover {
    background: var(--bg-hover);
    border-color: var(--text-soft);
    color: var(--text);
}

/* ============================================================
   Sección
   ============================================================ */

.section {
    padding: 88px 0;
    border-bottom: 1px solid var(--border);
    position: relative;
}

.section--alt { background: var(--bg-deeper); }

.section__head {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 56px;
}

.section__eyebrow {
    display: inline-block;
    font-size: 12.5px;
    font-weight: 700;
    color: var(--brand);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 12px;
}

.section__title {
    font-size: clamp(1.625rem, 3vw, 2.25rem);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: var(--text);
    margin: 0 0 14px;
}

.section__lede {
    font-size: 1rem;
    color: var(--text-mute);
    margin: 0;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .section { padding: 64px 0; }
    .section__head { margin-bottom: 40px; }
}

/* ============================================================
   Pilares (3 col)
   ============================================================ */

.pillars {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.pillar {
    background: var(--bg-elev);
    border: 1px solid var(--border);
    border-radius: var(--r);
    padding: 28px 26px;
    transition: all var(--t);
    position: relative;
    overflow: hidden;
}

.pillar::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--brand), transparent);
    opacity: 0;
    transition: opacity var(--t);
}

.pillar:hover {
    border-color: var(--brand);
    background: var(--bg-hover);
    transform: translateY(-2px);
}

.pillar:hover::before { opacity: 1; }

.pillar__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: var(--brand-fade);
    color: var(--brand);
    border-radius: var(--r-sm);
    font-size: 20px;
    margin-bottom: 18px;
}

.pillar__title {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--text);
    margin: 0 0 8px;
    letter-spacing: -0.01em;
}

.pillar__text {
    font-size: 14.5px;
    line-height: 1.6;
    color: var(--text-mute);
    margin: 0;
}

@media (max-width: 900px) {
    .pillars { grid-template-columns: 1fr; gap: 14px; }
}

/* ============================================================
   Módulos (3x2)
   ============================================================ */

.modules {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

.modules__sub-label {
    font-size: 12px;
    font-weight: 700;
    color: var(--text-soft);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin: 36px 0 16px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border);
}

.module {
    background: var(--bg-elev);
    border: 1px solid var(--border);
    border-radius: var(--r);
    padding: 26px 24px;
    transition: all var(--t);
    display: flex;
    flex-direction: column;
}

.module:hover {
    border-color: var(--brand);
    background: var(--bg-hover);
    transform: translateY(-2px);
}

/* Módulo principal — destacado */
.module--core {
    background: var(--surface-grad);
    border: 1px solid var(--border-strong);
    padding: 36px 36px;
    margin-bottom: 8px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 12px 36px -16px rgba(0, 0, 0, 0.4);
}

.module--core::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 60%;
    height: 100%;
    background: radial-gradient(ellipse at top right, var(--brand-glow) 0%, transparent 60%);
    pointer-events: none;
}

.module--core:hover {
    border-color: var(--brand);
    background: var(--surface-grad);
    transform: none;
}

.module--core .module__title {
    font-size: 1.5rem;
    margin-bottom: 12px;
    position: relative;
}

.module--core .module__text {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.82);
    max-width: 78ch;
    position: relative;
}

.module__icon--core {
    width: 52px !important;
    height: 52px !important;
    background: rgba(75, 163, 227, 0.18) !important;
    color: var(--brand) !important;
    font-size: 24px !important;
    margin-bottom: 18px !important;
    position: relative;
}

.module__tag {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    color: var(--brand);
    background: rgba(75, 163, 227, 0.12);
    border: 1px solid rgba(75, 163, 227, 0.3);
    padding: 4px 10px;
    border-radius: 999px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 18px;
    position: relative;
}

.module__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--brand-fade);
    color: var(--brand);
    border-radius: var(--r-sm);
    font-size: 18px;
    margin-bottom: 16px;
}

.module__title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text);
    margin: 0 0 8px;
    letter-spacing: -0.005em;
}

.module__text {
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-mute);
    margin: 0;
}

@media (max-width: 900px) { .modules { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .modules { grid-template-columns: 1fr; } }

/* ============================================================
   Sectores (chips)
   ============================================================ */

.sectors {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.sector {
    display: flex;
    align-items: center;
    gap: 14px;
    background: var(--bg-elev);
    border: 1px solid var(--border);
    border-radius: var(--r-sm);
    padding: 16px 18px;
    transition: all var(--t);
}

.sector:hover {
    border-color: var(--brand);
    background: var(--bg-hover);
}

.sector i {
    color: var(--brand);
    font-size: 20px;
    flex-shrink: 0;
}

.sector span {
    font-size: 14.5px;
    font-weight: 500;
    color: var(--text);
}

@media (max-width: 768px) { .sectors { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 500px) { .sectors { grid-template-columns: 1fr; } }

/* ============================================================
   Seguridad — panel destacado
   ============================================================ */

.security {
    display: grid;
    grid-template-columns: 1fr 1.25fr;
    gap: 56px;
    background: var(--surface-grad);
    border: 1px solid var(--border-strong);
    border-radius: var(--r-lg);
    padding: 56px;
    position: relative;
    overflow: hidden;
}

.security::before {
    content: "";
    position: absolute;
    top: -30%;
    right: -20%;
    width: 60%;
    height: 160%;
    background: radial-gradient(ellipse at center, var(--brand-glow) 0%, transparent 55%);
    pointer-events: none;
}

.security__head { align-self: center; position: relative; z-index: 1; }

.security__eyebrow {
    display: inline-block;
    font-size: 12.5px;
    font-weight: 700;
    color: var(--brand);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 12px;
}

.security__title {
    font-size: clamp(1.625rem, 3vw, 2.25rem);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: #fff;
    margin: 0 0 14px;
}

.security__lede {
    font-size: 1rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.78);
    margin: 0 0 24px;
    max-width: 38ch;
}

.security__list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
    position: relative;
    z-index: 1;
}

.security__item {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.security__item i {
    color: var(--brand);
    font-size: 20px;
    flex-shrink: 0;
    margin-top: 2px;
    background: rgba(75, 163, 227, 0.15);
    border-radius: var(--r-sm);
    padding: 6px;
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
}

.security__item-title {
    font-size: 14.5px;
    font-weight: 600;
    color: #fff;
    margin: 0 0 3px;
}

.security__item-text {
    font-size: 13.5px;
    color: rgba(255, 255, 255, 0.68);
    line-height: 1.55;
    margin: 0;
}

.security .btn--primary {
    background: #fff;
    color: var(--primary-darker);
    box-shadow: 0 4px 14px -4px rgba(0, 0, 0, 0.4);
}

.security .btn--primary:hover {
    background: rgba(255, 255, 255, 0.9);
    color: var(--primary-darker);
}

@media (max-width: 960px) {
    .security { grid-template-columns: 1fr; gap: 32px; padding: 36px; }
    .security__list { grid-template-columns: 1fr; gap: 14px; }
}

@media (max-width: 500px) {
    .security { padding: 28px 22px; }
}

/* ============================================================
   CTA final
   ============================================================ */

.cta {
    padding: 80px 0;
    text-align: center;
    border-bottom: 1px solid var(--border);
}

.cta__title {
    font-size: clamp(1.625rem, 3vw, 2.25rem);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: var(--text);
    margin: 0 auto 14px;
    max-width: 22ch;
}

.cta__text {
    font-size: 1rem;
    color: var(--text-mute);
    margin: 0 auto 28px;
    max-width: 52ch;
    line-height: 1.6;
}

/* ============================================================
   Footer
   ============================================================ */

.foot {
    background: var(--bg-deeper);
    border-top: 1px solid var(--border);
    padding: 56px 0 24px;
}

.foot__top {
    display: grid;
    grid-template-columns: 1.8fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 36px;
    border-bottom: 1px solid var(--border);
}

.foot__brand {
    display: block;
    margin-bottom: 14px;
}

.foot__brand img {
    height: 32px;
    width: auto;
}

.foot__about {
    color: var(--text-mute);
    font-size: 14px;
    line-height: 1.6;
    margin: 0 0 12px;
    max-width: 36ch;
}

.foot__about strong { color: var(--text); font-weight: 600; }

.foot__meta {
    font-size: 12.5px;
    color: var(--text-faint);
    margin: 0;
}

.foot__col-title {
    font-size: 12.5px;
    font-weight: 700;
    color: var(--text);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin: 4px 0 16px;
}

.foot ul { list-style: none; padding: 0; margin: 0; }
.foot ul li { margin-bottom: 8px; }

.foot ul a {
    color: var(--text-mute);
    font-size: 14px;
    transition: color var(--t);
}

.foot ul a:hover { color: var(--text); }

.foot__bottom {
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 13px;
    color: var(--text-faint);
}

.foot__bottom-right a {
    color: var(--text-mute);
    margin-left: 14px;
}

.foot__bottom-right a:hover { color: var(--text); }

@media (max-width: 900px) {
    .foot__top { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 500px) {
    .foot__top { grid-template-columns: 1fr; }
    .foot__bottom { flex-direction: column; align-items: flex-start; }
    .foot__bottom-right a:first-child { margin-left: 0; }
}

/* ============================================================
   Páginas internas
   ============================================================ */

.page-head {
    padding: 72px 0 56px;
    border-bottom: 1px solid var(--border);
    position: relative;
    overflow: hidden;
}

.page-head::before {
    content: "";
    position: absolute;
    top: -50%;
    right: -10%;
    width: 50%;
    height: 200%;
    background: radial-gradient(ellipse at center, var(--brand-fade) 0%, transparent 60%);
    pointer-events: none;
}

.page-head__eyebrow {
    display: inline-block;
    font-size: 12.5px;
    font-weight: 700;
    color: var(--brand);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 12px;
    position: relative;
}

.page-head__title {
    font-size: clamp(1.875rem, 4vw, 2.75rem);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.025em;
    color: var(--text);
    margin: 0 0 14px;
    max-width: 22ch;
    position: relative;
}

.page-head__lede {
    font-size: 1.0625rem;
    line-height: 1.6;
    color: var(--text-mute);
    max-width: 60ch;
    margin: 0;
    position: relative;
}

.page-body {
    padding: 56px 0 80px;
}

.prose-grid {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 56px;
    align-items: start;
}

.prose-aside {
    position: sticky;
    top: 92px;
}

.prose-aside__title {
    font-size: 12.5px;
    font-weight: 700;
    color: var(--text);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 14px;
}

.prose-aside ul { list-style: none; padding: 0; margin: 0; }
.prose-aside li { margin-bottom: 8px; }

.prose-aside a {
    color: var(--text-mute);
    font-size: 14px;
    display: block;
    padding: 4px 0;
    transition: color var(--t);
}

.prose-aside a:hover { color: var(--text); }

.prose { max-width: 720px; }

.prose h2 {
    font-size: 1.375rem;
    font-weight: 700;
    line-height: 1.3;
    color: var(--text);
    margin: 40px 0 12px;
    letter-spacing: -0.01em;
}

.prose h2:first-child { margin-top: 0; }

.prose h3 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text);
    margin: 24px 0 8px;
}

.prose p {
    font-size: 15px;
    line-height: 1.65;
    color: var(--text-mute);
    margin: 0 0 14px;
}

.prose ul, .prose ol {
    color: var(--text-mute);
    padding-left: 20px;
    margin: 0 0 16px;
}

.prose ul li, .prose ol li {
    margin-bottom: 8px;
    font-size: 15px;
    line-height: 1.6;
}

.prose strong { color: var(--text); font-weight: 600; }

.prose a {
    color: var(--brand);
    border-bottom: 1px solid rgba(75, 163, 227, 0.3);
    transition: all var(--t);
}

.prose a:hover { color: var(--brand-soft); border-bottom-color: var(--brand-soft); }

/* El botón dentro del prose no debe heredar subrayado ni color de link */
.prose a.btn {
    border-bottom: none;
}

.prose a.btn--primary { color: #fff; }
.prose a.btn--primary:hover { color: #fff; border-bottom-color: transparent; }

.prose a.btn--ghost { color: var(--text); }
.prose a.btn--ghost:hover { color: var(--text); border-bottom-color: transparent; }

.prose code {
    font-family: var(--font-mono);
    font-size: 0.875em;
    color: var(--brand);
    background: var(--bg-elev);
    padding: 2px 7px;
    border-radius: 4px;
    border: 1px solid var(--border);
}

.prose blockquote {
    border-left: 3px solid var(--brand);
    padding: 4px 18px;
    margin: 20px 0;
    color: var(--text);
    font-style: italic;
    background: var(--brand-fade);
    border-radius: 0 var(--r-sm) var(--r-sm) 0;
}

.prose .meta-block {
    background: var(--bg-elev);
    border: 1px solid var(--border);
    border-radius: var(--r-sm);
    padding: 14px 18px;
    margin-bottom: 32px;
    font-size: 13px;
    color: var(--text-mute);
    display: flex;
    flex-wrap: wrap;
    gap: 10px 24px;
}

.prose .meta-block strong { color: var(--text); font-weight: 600; }

@media (max-width: 900px) {
    .prose-grid { grid-template-columns: 1fr; gap: 32px; }
    .prose-aside { position: static; }
    .page-body { padding: 40px 0 64px; }
}

/* ============================================================
   Sobre — data card
   ============================================================ */

/* ===== Prose con markers (sobre-nosotros, etc.) ===== */

.prose--marked h2 {
    position: relative;
    padding-left: 18px;
    margin-top: 48px;
    font-size: 1.5rem;
}

.prose--marked h2::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.32em;
    width: 4px;
    height: calc(100% - 0.5em);
    background: var(--brand);
    border-radius: 1px;
}

.prose--marked h2:first-child { margin-top: 0; }

/* ===== Misión y visión: 2 cards ===== */

.mv-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin: 0 0 16px;
}

.mv-card {
    background: var(--bg-elev);
    border: 1px solid var(--border);
    border-radius: var(--r);
    padding: 22px 22px 24px;
    transition: all var(--t);
}

.mv-card:hover {
    border-color: var(--brand);
    background: var(--bg-hover);
}

.mv-card__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: var(--brand-fade);
    color: var(--brand);
    border-radius: var(--r-sm);
    font-size: 17px;
    margin-bottom: 14px;
}

.mv-card__label {
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--text-faint);
    margin-bottom: 6px;
}

.mv-card__text {
    font-size: 14.5px;
    line-height: 1.6;
    color: var(--text-mute);
    margin: 0;
}

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

/* ===== Lista de diferenciadores con check markers ===== */

.edges-list {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 0 8px !important;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.edges-list li {
    display: grid !important;
    grid-template-columns: 28px 1fr;
    gap: 14px;
    align-items: start;
    padding: 12px 14px !important;
    background: var(--bg-elev);
    border: 1px solid var(--border);
    border-radius: var(--r-sm);
    margin-bottom: 0 !important;
    transition: all var(--t);
}

.edges-list li:hover {
    border-color: var(--brand);
    background: var(--bg-hover);
}

.edges-list__mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    background: var(--brand-fade);
    color: var(--brand);
    border-radius: 50%;
    font-size: 14px;
    flex-shrink: 0;
}

.edges-list li > div {
    font-size: 14.5px;
    line-height: 1.55;
    color: var(--text-mute);
    padding-top: 2px;
}

.edges-list li > div strong {
    color: var(--text);
    font-weight: 600;
}

/* ===== Data card ===== */

.data-card {
    background: var(--bg-elev);
    border: 1px solid var(--border);
    border-radius: var(--r);
    padding: 22px 22px;
    margin-top: 24px;
}

.data-card__title {
    font-size: 13px;
    font-weight: 700;
    color: var(--text);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin: 0 0 14px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border);
}

.data-card__row {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 12px 0;
    font-size: 13.5px;
    border-bottom: 1px solid var(--border);
}

.data-card__row:last-child { border-bottom: none; }

.data-card__key {
    color: var(--text-faint);
    font-family: var(--font-mono);
    font-size: 10.5px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.data-card__val {
    color: var(--text);
    word-break: break-word;
    font-size: 14px;
    line-height: 1.4;
}

.data-card__val a { color: var(--brand); border-bottom: 1px solid rgba(75, 163, 227, 0.3); }
.data-card__val a:hover { color: var(--brand-soft); }

/* ============================================================
   Contacto — info cards y form
   ============================================================ */

.contact-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin-bottom: 40px;
}

.contact-card {
    background: var(--bg-elev);
    border: 1px solid var(--border);
    border-radius: var(--r);
    padding: 24px;
    transition: all var(--t);
}

.contact-card:hover {
    border-color: var(--brand);
    background: var(--bg-hover);
}

.contact-card__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--brand-fade);
    color: var(--brand);
    border-radius: var(--r-sm);
    font-size: 18px;
    margin-bottom: 16px;
}

.contact-card__label {
    font-size: 11.5px;
    color: var(--text-faint);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 4px;
}

.contact-card__value {
    font-size: 15px;
    font-weight: 500;
    color: var(--text);
    word-break: break-word;
}

.contact-card__value a { color: var(--text); }
.contact-card__value a:hover { color: var(--brand); }

@media (max-width: 768px) {
    .contact-cards { grid-template-columns: 1fr; }
}

/* Form */
.form-block {
    background: var(--bg-elev);
    border: 1px solid var(--border);
    border-radius: var(--r);
    padding: 32px;
    max-width: 680px;
    margin: 0 auto;
}

.form-block__title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text);
    margin: 0 0 6px;
    letter-spacing: -0.01em;
}

.form-block__sub {
    font-size: 14.5px;
    color: var(--text-mute);
    margin: 0 0 22px;
}

.form-row { margin-bottom: 16px; }

.form-row--split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.form-label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 6px;
}

.form-input, .form-textarea {
    width: 100%;
    padding: 11px 13px;
    background: var(--bg);
    border: 1px solid var(--border-strong);
    border-radius: var(--r-sm);
    color: var(--text);
    font-family: var(--font);
    font-size: 14px;
    transition: all var(--t);
}

.form-input:focus, .form-textarea:focus {
    outline: none;
    border-color: var(--brand);
    box-shadow: 0 0 0 3px var(--brand-fade);
}

.form-input::placeholder, .form-textarea::placeholder {
    color: var(--text-faint);
}

.form-textarea { min-height: 120px; resize: vertical; }

.form-honeypot {
    position: absolute;
    left: -10000px;
    opacity: 0;
    pointer-events: none;
}

.form-note {
    font-size: 12.5px;
    color: var(--text-faint);
    margin-top: 14px;
}

.form-note a { color: var(--brand); }

.alert-ok, .alert-err {
    padding: 12px 14px;
    border-radius: var(--r-sm);
    margin-bottom: 18px;
    font-size: 13.5px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.alert-ok {
    background: rgba(61, 214, 140, 0.08);
    border: 1px solid var(--success);
    color: var(--success);
}

.alert-err {
    background: rgba(244, 117, 117, 0.08);
    border: 1px solid var(--danger);
    color: var(--danger);
}

@media (max-width: 600px) {
    .form-block { padding: 24px 20px; }
    .form-row--split { grid-template-columns: 1fr; }
}

/* ============================================================
   Animación entrada
   ============================================================ */

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.fade-up { animation: fadeUp 600ms ease backwards; }
.fade-up-1 { animation-delay: 80ms; }
.fade-up-2 { animation-delay: 160ms; }
.fade-up-3 { animation-delay: 240ms; }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
}
