* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html, body {
    height: 100%;
}

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: #0f172a;
    color: #e5e7eb;
    line-height: 1.6;
}

a {
    color: inherit;
    text-decoration: none;
}

.site-header {
    position: sticky;
    top: -80px;
    z-index: 1000;
    background: linear-gradient(to bottom, rgba(15,23,42,0.95), rgba(15,23,42,0.9), transparent);
    backdrop-filter: blur(6px);
    border-bottom: 1px solid rgba(148,163,184,0.3);
}

.header-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.logo-title {
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.logo-subtitle {
    font-size: 0.75rem;
    color: #9ca3af;
    margin-top: 0.1rem;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: flex-end;
}

nav a {
    font-size: 0.9rem;
    padding: 0.4rem 0.8rem;
    border-radius: 999px;
    border: 1px solid transparent;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
    white-space: nowrap;
}

nav a:hover,
nav a:focus {
    background: rgba(148,163,184,0.15);
    border-color: rgba(148,163,184,0.5);
    outline: none;
}

/* Layout general */

.page-wrapper {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
}

.section-hero {
    padding: 6rem 1.5rem 3rem;
    background: radial-gradient(circle at top, #1f2937 0, #020617 55%);
}

.section-standard {
    padding: 5rem 1.5rem 3rem;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
}

.hero-tagline {
    font-size: 0.85rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #9ca3af;
    margin-bottom: 0.75rem;
}

.hero-title {
    font-size: 2rem;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.hero-highlight {
    color: #38bdf8;
}

.hero-intro {
    font-size: 1rem;
    color: #cbd5f5;
    max-width: 48rem;
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 2.2fr) minmax(0, 1.5fr);
    gap: 2.5rem;
    margin-top: 2rem;
}

.hero-panel {
    background: linear-gradient(145deg, rgba(15,23,42,0.98), rgba(15,23,42,0.9));
    border-radius: 1.25rem;
    border: 1px solid rgba(148,163,184,0.35);
    padding: 1.75rem;
    box-shadow: 0 18px 45px rgba(15,23,42,0.9);
}

.hero-panel h2 {
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
}

.hero-panel p {
    font-size: 0.95rem;
    color: #d1d5db;
    margin-bottom: 0.75rem;
}

.hero-panel p:last-child {
    margin-bottom: 0;
}

.hero-side-box {
    border-radius: 1.25rem;
    border: 1px dashed rgba(148,163,184,0.5);
    padding: 1.5rem;
    background: radial-gradient(circle at top right, rgba(56,189,248,0.12), transparent 60%);
    font-size: 0.9rem;
    color: #d1d5db;
}

.hero-side-box strong {
    color: #38bdf8;
    font-weight: 600;
}

/* Contenido estándar */

.page-title {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.page-lead {
    font-size: 0.98rem;
    color: #cbd5f5;
    margin-bottom: 1.5rem;
    max-width: 50rem;
}

.text-block {
    font-size: 0.96rem;
    color: #e5e7eb;
    max-width: 52rem;
}

.text-block p {
    margin-bottom: 1rem;
}

.text-block p:last-child {
    margin-bottom: 0;
}

.text-block h2,
.text-block h3 {
    margin-top: 1.8rem;
    margin-bottom: 0.7rem;
}

.text-block h2 {
    font-size: 1.2rem;
}

.text-block h3 {
    font-size: 1.05rem;
    color: #bfdbfe;
}

.text-block ul {
    margin: 0.5rem 0 1.2rem 1.2rem;
    padding-left: 0.5rem;
}

.text-block li {
    margin-bottom: 0.4rem;
}

/* Listas de preguntas frecuentes */

.faq-list {
    list-style: none;
    max-width: 52rem;
}

.faq-item {
    border-radius: 0.75rem;
    border: 1px solid rgba(148,163,184,0.4);
    padding: 1rem 1.2rem;
    margin-bottom: 1rem;
    background: radial-gradient(circle at top left, rgba(56,189,248,0.12), transparent 60%);
}

.faq-question {
    font-weight: 600;
    margin-bottom: 0.4rem;
}

.faq-answer {
    font-size: 0.96rem;
    color: #e5e7eb;
}

/* Footer */

.site-footer {
    border-top: 1px solid rgba(148,163,184,0.35);
    padding: 1.5rem 1.5rem 2rem;
    background: #020617;
    color: #9ca3af;
}

.footer-inner {
    max-width: 1100px;
    margin: 0 auto;
    font-size: 0.8rem;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.footer-note-strong {
    font-weight: 600;
}

/* Responsivo */

@media (max-width: 900px) {
    .hero-grid {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 720px) {
    .header-inner {
        flex-direction: column;
        align-items: flex-start;
    }

    nav ul {
        justify-content: flex-start;
        gap: 0.6rem;
        row-gap: 0.4rem;
    }

    .section-hero,
    .section-standard {
        padding: 5rem 1rem 2.5rem;
    }
}
