html, body, #root { margin: 0; min-height: 100%; }
body { background: #001838; }

/* ===== Landing shell: full-bleed campaign surface inside the File card ===== */
.landing {
    margin: -24px;
    font-family: 'Poppins', system-ui, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
    background: #001838;
    color: #fff;
    -webkit-font-smoothing: antialiased;
}
@media (min-width: 768px) { .landing { margin: -36px; } }

/* ===== Top nav ===== */
.topnav {
    position: sticky;
    top: 0;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 20px;
    background: rgba(0, 24, 56, 0.92);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.wordmark {
    font-weight: 900;
    font-size: 15px;
    white-space: nowrap;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #fff;
}
.wordmark b { color: #fbb724; }
.topnav-right { display: flex; align-items: center; gap: 14px; }
.topnav-date {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.12em;
    color: rgba(255, 255, 255, 0.75);
}
@media (max-width: 480px) { .topnav-date { display: none; } }
.back-link {
    font-size: 13px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
}
.back-link:hover { color: #fbb724; }

/* ===== Yellow CTA button (overrides kit primary) ===== */
.cta { display: inline-flex; }
.cta a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 54px;
    padding: 0 34px;
    border-radius: 999px;
    font-family: 'Poppins', system-ui, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
    font-size: 16px;
    font-weight: 800;
    letter-spacing: 0.02em;
    background: #fbb724 !important;
    color: #002551 !important;
    border: none;
    box-shadow: 0 10px 30px rgba(251, 183, 36, 0.35);
    transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
    text-decoration: none;
}
.cta a:hover { background: #ffc93f !important; transform: translateY(-2px); box-shadow: 0 14px 34px rgba(251, 183, 36, 0.45); }
.cta-small a { min-height: 38px; padding: 0 16px; font-size: 12px; }

/* ===== Pill tags ===== */
.pill-tag {
    display: inline-block;
    padding: 8px 18px;
    border-radius: 999px;
    background: #fbb724;
    color: #002551;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}
.pill-navy { background: #002551; color: #fbb724; }

/* ===== Hero ===== */
.hero {
    position: relative;
    overflow: hidden;
    padding: 56px 24px 48px;
    background:
        radial-gradient(90% 70% at 85% 0%, rgba(1, 58, 114, 0.9) 0%, rgba(0, 37, 81, 0) 60%),
        linear-gradient(160deg, #002551 0%, #001838 70%);
}
.hero::after {
    content: '';
    position: absolute;
    left: -15%;
    bottom: -40%;
    width: 70%;
    height: 80%;
    background: radial-gradient(closest-side, rgba(251, 183, 36, 0.14), transparent);
    pointer-events: none;
}
.hero-grid { position: relative; display: flex; flex-direction: column; gap: 32px; }
.hero-inner { position: relative; z-index: 1; }
.hero-title {
    margin: 20px 0 0;
    font-weight: 900;
    font-size: clamp(40px, 14.5vw, 110px);
    line-height: 0.94;
    letter-spacing: -0.02em;
    text-transform: uppercase;
}
.hero-line { display: block; color: #fff; white-space: nowrap; }
.hero-line-yellow { color: #fbb724; }
.hero-date {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 22px 0 0;
    font-size: 16px;
    font-weight: 700;
    color: #fff;
}
.hero-date-bar { width: 34px; height: 4px; border-radius: 2px; background: #fbb724; flex: none; }
.hero-intro {
    margin: 14px 0 28px;
    max-width: 460px;
    font-size: 15px;
    line-height: 1.65;
    color: rgba(223, 232, 242, 0.92);
}
.hero-art { position: relative; z-index: 1; }
.hero-art img {
    display: block;
    width: 100%;
    border-radius: 20px;
    border: 3px solid rgba(251, 183, 36, 0.85);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
}
@media (min-width: 900px) {
    .hero { padding: 72px 48px 64px; }
    .hero-grid { flex-direction: row; align-items: center; gap: 48px; }
    .hero-inner { flex: 1.15; }
    .hero-art { flex: 1; }
    .hero-art img { transform: rotate(1.5deg); }
}

/* ===== Generic sections ===== */
.section { padding: 64px 24px; text-align: center; }
.section.light { background: #fff; color: #002551; }
.section.dark { background: linear-gradient(180deg, #001838 0%, #002551 60%, #001838 100%); color: #fff; }
.section-title {
    margin: 18px auto 0;
    max-width: 760px;
    font-weight: 800;
    font-size: clamp(30px, 7.5vw, 52px);
    line-height: 1.08;
    letter-spacing: -0.02em;
    color: #002551;
}
.section-title-light { color: #fff; }
.section-title .hero-line-yellow { white-space: nowrap; }
.section-sub {
    margin: 14px auto 0;
    max-width: 520px;
    font-size: 15px;
    line-height: 1.6;
    color: rgba(223, 232, 242, 0.85);
}
.hl { position: relative; white-space: nowrap; }
.hl::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0.08em;
    height: 0.28em;
    background: rgba(251, 183, 36, 0.55);
    z-index: -1;
    border-radius: 2px;
}
.section.light p {
    max-width: 640px;
    margin: 16px auto 0;
    font-size: 15px;
    line-height: 1.7;
    color: #3c4d68;
}
.section.light .lead { font-size: 17px; font-weight: 600; color: #002551; }
@media (min-width: 900px) { .section { padding: 88px 48px; } }

/* ===== Valor cards (mensaje) ===== */
.valor-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
    margin: 36px auto 0;
    max-width: 900px;
    text-align: left;
}
.valor-card {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 20px 22px;
    border-radius: 16px;
    background: #f4f7fb;
    border: 1px solid #e3eaf4;
    font-size: 14px;
    line-height: 1.55;
    font-weight: 500;
    color: #002551;
}
.valor-check {
    flex: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #fbb724;
    color: #002551;
    font-size: 13px;
    font-weight: 900;
}
@media (min-width: 768px) { .valor-grid { grid-template-columns: repeat(3, 1fr); } }

/* ===== Team: renglón blocks (dark) ===== */
.team-list {
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin: 36px auto 0;
    max-width: 960px;
    text-align: left;
}
.renglon-block {
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.04);
    padding: 16px;
}
.renglon-head { display: flex; align-items: baseline; gap: 10px; margin: 0 2px 12px; }
.renglon-label {
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(223, 232, 242, 0.7);
}
.renglon-num {
    font-size: 44px;
    font-weight: 900;
    line-height: 1;
    color: #fbb724;
}
.renglon-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.renglon-slot { min-width: 0; }
.slot-tag {
    display: block;
    margin: 0 2px 8px;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}
.slot-tag.is-principal { color: #fbb724; }
.slot-tag.is-suplente { color: rgba(223, 232, 242, 0.6); }
.person-card {
    display: flex;
    flex-direction: column;
    width: 100%;
    padding: 0;
    border-radius: 18px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    font: inherit;
    color: inherit;
    text-align: left;
    cursor: pointer;
    transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}
.person-card:hover {
    transform: translateY(-4px);
    border-color: rgba(251, 183, 36, 0.8);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
}
.person-card.is-open { border-color: #fbb724; box-shadow: 0 0 0 1px #fbb724; }
.person-photo-wrap { position: relative; display: block; }
.person-photo {
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    background: #0a2f5e;
}
.person-info { display: flex; flex-direction: column; gap: 4px; padding: 12px; flex: 1; }
.person-name { font-size: 13.5px; font-weight: 700; line-height: 1.3; color: #fff; }
.person-company { font-size: 11px; line-height: 1.4; color: rgba(223, 232, 242, 0.7); }
.person-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: auto;
    padding-top: 10px;
}
.person-more { margin-left: auto; }
.logo-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 10px;
    border-radius: 10px;
    background: #fff;
    max-width: 128px;
}
.logo-chip img { display: block; max-width: 112px; max-height: 32px; object-fit: contain; }
.person-more { font-size: 11px; font-weight: 700; color: #fbb724; white-space: nowrap; }
@media (min-width: 900px) {
    .renglon-pair { grid-template-columns: repeat(2, minmax(0, 320px)); justify-content: center; gap: 20px; }
    .person-name { font-size: 15px; }
}

/* ===== Cámara section ===== */
.camara-figure { margin: 32px auto 0; max-width: 860px; }
.camara-figure img {
    display: block;
    width: 100%;
    max-height: 560px;
    object-fit: cover;
    object-position: 50% 42%;
    border-radius: 24px;
    box-shadow: 0 24px 60px rgba(0, 37, 81, 0.25);
}
.camara-figure figcaption { margin-top: 12px; font-size: 12.5px; color: #6b7c93; }
.fact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
    margin: 28px auto 0;
    max-width: 860px;
    text-align: left;
}
.fact-card {
    padding: 20px 22px;
    border-radius: 16px;
    background: #f4f7fb;
    border: 1px solid #e3eaf4;
    border-top: 4px solid #fbb724;
}
.fact-label {
    display: block;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #6b7c93;
}
.fact-value { display: block; margin-top: 6px; font-size: 15px; font-weight: 700; line-height: 1.4; color: #002551; }
@media (min-width: 768px) { .fact-grid { grid-template-columns: repeat(3, 1fr); } }

/* ===== Final CTA ===== */
.final { padding-top: 80px; padding-bottom: 80px; }
.final-title {
    margin: 0;
    font-weight: 900;
    font-size: clamp(44px, 11vw, 88px);
    line-height: 0.98;
    letter-spacing: -0.02em;
    text-transform: uppercase;
    color: #fff;
}
.final-title-sm { font-size: clamp(34px, 8vw, 60px); }
.final-sub { margin: 16px auto 0; font-size: 16px; color: rgba(223, 232, 242, 0.9); }
.final-date {
    display: inline-block;
    margin: 18px 0 30px;
    padding: 8px 20px;
    border-radius: 999px;
    border: 1px solid rgba(251, 183, 36, 0.5);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: #fbb724;
}

/* ===== Footer ===== */
.foot {
    padding: 28px 24px 40px;
    background: #001226;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.foot p { margin: 4px 0; font-size: 12px; line-height: 1.6; color: rgba(223, 232, 242, 0.55); }

/* ===== Inline profile panel ===== */
.profile-panel {
    position: relative;
    margin-top: 14px;
    padding: 20px;
    border-radius: 16px;
    background: #001226;
    border: 1px solid rgba(251, 183, 36, 0.45);
    border-left: 4px solid #fbb724;
    animation: profile-in 0.25s ease;
}
@keyframes profile-in {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: none; }
}
.profile-close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.25);
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    font-size: 14px;
    cursor: pointer;
}
.profile-close:hover { border-color: #fbb724; color: #fbb724; }
.profile-pill { margin: 0 40px 14px 0; font-size: 9.5px; padding: 6px 12px; }
.profile-head { display: flex; gap: 16px; align-items: center; }
.profile-photo {
    flex: none;
    width: 96px;
    height: 120px;
    object-fit: cover;
    border-radius: 14px;
    border: 2px solid rgba(251, 183, 36, 0.85);
}
.profile-id { min-width: 0; }
.profile-name {
    margin: 0;
    font-weight: 800;
    font-size: 19px;
    line-height: 1.2;
    letter-spacing: -0.01em;
    color: #fff;
}
.profile-company { margin: 4px 0 0; font-size: 12.5px; font-weight: 600; color: #fbb724; }
.logo-chip-big { margin-top: 10px; padding: 8px 14px; border-radius: 12px; max-width: none; }
.logo-chip-big img { max-width: 190px; max-height: 50px; }
.profile-brief { margin: 16px 0 0; }
.profile-brief p { margin: 10px 0 0; font-size: 14px; line-height: 1.65; color: rgba(223, 232, 242, 0.92); }
.profile-brief p:first-child { margin-top: 0; }
.profile-panel .cta { margin-top: 16px; }
@media (min-width: 768px) {
    .renglon-block { padding: 20px 22px; }
    .team-list { gap: 22px; }
    .profile-panel { padding: 26px 28px; }
    .profile-photo { width: 140px; height: 175px; }
    .profile-name { font-size: 24px; }
    .profile-company { font-size: 14px; }
}

/* Overrides hosting estatico (sin tarjeta de Files) */
.landing { margin: 0 !important; }
