/* Hangar EligeVolar — design tokens (fuente única: /srv/http/NovoCMS/template-design.md) */

:root {
    --navy: #1B3A5C;
    --teal: #0097A7;
    --teal-dark: #00808E;
    --gold: #E8A020;
    --light: #F4F6F9;
    --ink: #1A1A1A;
    --muted-ink: #6B7280;
    --border: #E5E7EB;
    --destructive: #B91C1C;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--ink);
    background-color: var(--light);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizelegibility;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--navy);
    line-height: 1.2;
}

h1 { font-weight: 700; }
h2 { font-weight: 600; }
h3 { font-weight: 500; }

/* Focus global del template */
a:focus,
button:focus,
input:focus,
select:focus,
textarea:focus,
[tabindex]:focus {
    outline: 2px solid var(--teal);
    outline-offset: 2px;
}

/* Tipografía especial */
.eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-size: 0.7rem;
    font-weight: 500;
}

.tagline {
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-size: 0.6875rem;
    color: var(--muted-ink);
}

.link-teal {
    color: var(--teal);
    font-weight: 500;
}
.link-teal:hover {
    text-decoration: underline;
}

/* Logo */
.logo {
    text-transform: lowercase;
    line-height: 1;
    letter-spacing: -0.025em;
}
.logo .logo-light { font-weight: 500; }
.logo .logo-bold { font-weight: 700; }

/* Botones */
.btn-primary {
    background-color: var(--teal);
    color: #fff;
    font-weight: 600;
    padding: 0.75rem 1.25rem;
    border-radius: 0.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: background-color 0.2s ease;
}
.btn-primary:hover {
    background-color: var(--teal-dark);
}

.btn-secondary {
    border: 1px solid var(--navy);
    color: var(--navy);
    background-color: transparent;
    font-weight: 600;
    padding: 0.75rem 1.25rem;
    border-radius: 0.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: background-color 0.2s ease, color 0.2s ease;
}
.btn-secondary:hover {
    background-color: var(--navy);
    color: #fff;
}

/* Cards */
.card {
    border: 1px solid var(--border);
    border-radius: 0.5rem;
    background-color: #fff;
}

/* Formularios */
.form-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 0.25rem;
    color: var(--navy);
}

.form-input {
    width: 100%;
    border-radius: 0.375rem;
    border: 1px solid var(--border);
    padding: 0.5rem 0.75rem;
    font-size: 0.875rem;
    background-color: #fff;
    color: var(--ink);
}
.form-input::placeholder {
    color: #9CA3AF;
}

/* Alertas */
.alert-error {
    background-color: #FEF2F2;
    border: 1px solid #FECACA;
    color: var(--destructive);
    border-radius: 0.5rem;
    padding: 0.75rem 1rem;
    font-size: 0.875rem;
}

.alert-success {
    background-color: #F0FDFA;
    border: 1px solid #99F6E4;
    color: var(--teal-dark);
    border-radius: 0.5rem;
    padding: 0.75rem 1rem;
    font-size: 0.875rem;
}

/* Hero navy con decorativos */
.hero-navy {
    position: relative;
    background-color: var(--navy);
    overflow: hidden;
}
.hero-navy .hero-decor {
    position: absolute;
    pointer-events: none;
    opacity: 0.2;
}
