
/* =========================================================
   DESIGN SYSTEM (heredado del HTML origen)
   ========================================================= */
:root {
    --bg: #000000;
    --panel: #000000;
    --panel2: #111111;
    --panel3: #1b2a42;
    --text: #f3f7fb;
    --muted: #a9b6c8;
    --line: rgba(255,255,255,.25);
    --green: #43b02a;
    --green2: #86bc25;
    --yellow: #f6c453;
    --red: #ff5d73;
    --shadow: 0 18px 50px rgba(0,0,0,.32);
    --radius: 18px;
}

* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth
}

body {
    margin: 0;
    font-family: Open Sans, Helvetica, Arial, sans-serif;
    background: var(--bg);
    color: var(--text);
}

/* =========================================================
   LAYOUT
   ========================================================= */
.container {
    width: min(1360px, 92vw);
    margin: 0 auto;
    padding: 28px 0 70px;
}

/* =========================================================
   HERO
   ========================================================= */
.hero {
    position: relative;
    padding: 36px;
    border-radius: var(--radius);
    background: linear-gradient(180deg, rgba(0,0,0,.75), rgba(0,0,0,.85)), center / cover no-repeat;
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.hero-top {
    display: flex;
    gap: 24px;
    justify-content: space-between;
    flex-wrap: wrap;
}

.badge {
    display: inline-flex;
    gap: 8px;
    align-items: center;
    padding: 10px 16px;
    border-radius: 999px;
    background: rgba(134,188,37,.15);
    border: 1px solid rgba(134,188,37,.30);
    color: #eaffc8;
    font-weight: 700;
    font-size: 13px;
    float: right;
}

.hero h1 {
    margin: 14px 0 10px;
    font-size: clamp(26px,4vw,40px);
    letter-spacing: -1px;
    color: var(--green2);
}

.hero p {
    max-width: 760px;
    line-height: 1.65;
    color: #d7dfeb;
}

.hero-side {
    min-width: 260px;
    background: rgba(0,0,0,.55);
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 18px;
    backdrop-filter: blur(8px);
}

.hero-side-title {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: .6px;
    color: #e6f3ff;
    margin-bottom: 10px;
}

.hero-point {
    display: flex;
    gap: 10px;
    font-size: 14px;
    color: #eaf1fb;
}

/* =========================================================
   NAV
   ========================================================= */
.top-nav {
    display: grid;
    grid-template-columns: repeat(5,1fr);
    gap: 14px;
    margin: 30px 0 38px;
}

.nav-card {
    background: linear-gradient(180deg,var(--panel),var(--panel2));
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 16px;
    box-shadow: var(--shadow);
    text-decoration: none;
    color: var(--text);
    transition: .2s ease;
}

    .nav-card:hover {
        transform: translateY(-2px);
        border-color: rgba(134,188,37,.5);
    }

.nav-kicker {
    color: var(--green2);
    font-weight: 800;
    font-size: 12px;
    margin-bottom: 6px;
}

.nav-title {
    font-weight: 700;
    font-size: 14px;
}

/* =========================================================
   SECTIONS
   ========================================================= */
.section-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 44px;
}


.section-icon {
    width: 46px;
    height: 46px;
    min-width: 46px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    background: rgba(134,188,37,.18);
    border: 1px solid rgba(134,188,37,.18);
    color: var(--green2);
}

    .section-icon svg {
        width: 22px;
        height: 22px;
        fill: var(--green2);
    }

h2 {
    color: var(--green2);
    margin: 0;
    font-size: 26px;
}

.section {
    margin-top: 16px;
    padding: 26px;
    background: linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.02));
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.subsection-card {
    margin-top: 18px;
    padding: 20px;
    background: rgba(255,255,255,.03);
    border: 1px solid var(--line);
    border-radius: 16px;
}

.subsection-head {
    display: flex;
    align-items: center;
    gap: 12px;
}

.subsection-bullet {
    width: 32px;
    height: 32px;
    border-radius: 10px;
    background: rgba(134,188,37,.20);
    display: grid;
    place-items: center;
    font-weight: 800;
    color: var(--green2);
}

h3 {
    margin: 0;
    color: #fff;
}

/* =========================================================
   FORM ELEMENTS
   ========================================================= */
label {
    display: block;
    margin: 16px 0 6px;
    font-weight: 700;
    color: #e8f0fb;
}

input, textarea, select {
    width: 100%;
    padding: 13px 14px;
    border-radius: 12px;
    background: rgba(255,255,255,.06);
    color: var(--text);
    border: 1px solid rgba(255,255,255,.12);
    font-size: 14px;
}

    select option {
        color: white;
        background-color: #8b8c8e; /* importante */
    }

    input:focus, textarea:focus, select:focus {
        border-color: rgba(134,188,37,.6);
        box-shadow: 0 0 0 4px rgba(0,255,204,.12);
        outline: none;
    }

textarea {
    min-height: 120px;
    resize: vertical;
}

/* =========================================================
   TABLES
   ========================================================= */
.table-wrap {
    overflow-x: auto;
    margin-top: 12px;
}

table {
    width: 100%;
    min-width: 900px;
    border-collapse: collapse;
    background: rgba(255,255,255,.03);
    border-radius: 14px;
    overflow: hidden;
}

th, td {
    padding: 12px;
    border: 1px solid rgba(255,255,255,.08);
}

th {
    background: rgba(255,255,255,.05);
    font-size: 12px;
    color: #dff0ff;
    text-transform: uppercase;
}

/* =========================================================
   BUTTONS
   ========================================================= */
button {
    margin-top: 14px;
    padding: 14px 18px;
    border: none;
    border-radius: 12px;
    font-weight: 900;
    font-size: 14px;
    color: #000;
    cursor: pointer;
    background: linear-gradient(90deg,var(--green),var(--green2));
    transition: .18s ease;
}

    button:hover {
        transform: translateY(-1px)
    }

.secondary-btn {
    background: rgba(255,255,255,.06);
    color: var(--text);
    border: 1px solid rgba(255,255,255,.12);
}

/* =========================================================
   FEEDBACK
   ========================================================= */
.helper {
    color: var(--muted);
    font-size: 13px;
}

.green-note {
    color: var(--green2);
    font-weight: 700;
    margin-top: 8px;
}

.validation-banner,
.success-banner {
    display: none;
    margin-top: 18px;
    padding: 14px 16px;
    border-radius: 12px;
    font-size: 14px;
    line-height: 1.5;
}

.validation-banner {
    background: var(--red-soft);
    border: 1px solid rgba(255,90,90,0.25);
    color: #ffd0d0;
}

.success-banner {
    background: rgba(134,188,37,.18);
    border: 1px solid rgba(134,188,37,.35);
    color: #f1ffd0;
    padding: 14px;
    border-radius: 14px;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media(max-width:980px) {
    .top-nav {
        grid-template-columns: 1fr 1fr;
    }
}

@media(max-width:640px) {
    .top-nav {
        grid-template-columns: 1fr;
    }

    .hero {
        padding: 24px;
    }
}

.slider-container {
    display: flex;
    align-items: center;
    gap: 12px;
}

.slider-value {
    min-width: 28px;
    text-align: center;
    font-weight: 800;
    color: #86BC25;
}

input[type=range] {
    width: 100%;
    accent-color: #86BC25;
}

.invalid-field {
    border-color: var(--red) !important;
    box-shadow: 0 0 0 3px rgba(255,90,90,0.12) !important;
    background: rgba(255,90,90,0.06) !important;
}

.action-bar {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 28px;
}

.footer-note {
    margin-top: 34px;
    text-align: center;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.6;
}

.logo {
    display: inline-block;
}

.styled-select {
    margin-top: 0;
}

.w42 {
    width: 42%;
}

.w28 {
    width: 28%;
}

.w30 {
    width: 30%;
}

.mtop18 {
    margin-top: 18px;
}

.w70 {
    width: 70%;
}