@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700&family=Outfit:wght@500;600;700;800&display=swap');

:root {
    --red: #c0181f;
    --red-dark: #961018;
    --black: #0a0a0b;
    --black-soft: #141416;
    --white: #ffffff;
    --gray-50: #fafafa;
    --gray-100: #f3f3f5;
    --gray-200: #e8e8ec;
    --gray-400: #6f6f78;
    --gray-600: #4a4a52;
    --container: 1140px;
    --radius: 16px;
    --radius-sm: 10px;
    --shadow: 0 12px 40px rgba(10, 10, 11, 0.1);
    --font-body: 'DM Sans', system-ui, sans-serif;
    --font-display: 'Outfit', 'DM Sans', sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    font-size: 1.05rem;
    line-height: 1.65;
    color: var(--gray-600);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
}

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

a { color: var(--red); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--red-dark); }

h1, h2, h3, h4 {
    font-family: var(--font-display);
    font-weight: 700;
    letter-spacing: -0.025em;
    color: var(--black);
    line-height: 1.15;
}

.container { width: min(100% - 2.5rem, var(--container)); margin-inline: auto; }

/* Proveho demo banner */
.demo-banner {
    background: #0f172a;
    color: #94a3b8;
    text-align: center;
    padding: 0.55rem 1rem;
    font-size: 0.82rem;
    font-weight: 500;
    border-bottom: 1px solid #1e293b;
}
.demo-banner a { color: #93c5fd; font-weight: 600; }
.demo-banner a:hover { text-decoration: underline; color: #bfdbfe; }
.demo-banner strong { color: #e2e8f0; }

/* Header */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(10, 10, 11, 0.92);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.65rem 0;
}
.site-brand {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    color: var(--white);
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.95rem;
    line-height: 1.2;
}
.site-brand:hover { color: var(--white); opacity: 0.95; }
.site-brand img { width: 40px; height: 40px; border-radius: 9px; }
.site-brand span { max-width: 11rem; }

.nav-toggle {
    display: none;
    background: transparent;
    border: 1px solid rgba(255,255,255,0.2);
    color: var(--white);
    border-radius: 8px;
    padding: 0.45rem 0.65rem;
    font-size: 1.1rem;
    cursor: pointer;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 0.25rem 1.25rem;
    flex-wrap: wrap;
}
.site-nav a {
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.9rem;
    font-weight: 600;
    padding: 0.35rem 0;
}
.site-nav a:hover,
.site-nav a.is-active { color: var(--white); }

/* Hero */
.hero {
    position: relative;
    min-height: clamp(420px, 62vh, 560px);
    display: flex;
    align-items: center;
    color: var(--white);
    background: var(--black-soft) center/cover no-repeat;
}
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(115deg, rgba(10,10,11,0.88) 0%, rgba(10,10,11,0.55) 55%, rgba(192,24,31,0.35) 100%);
}
.hero__inner { position: relative; padding: 4rem 0; max-width: 640px; }
.eyebrow {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #ffb4b8;
    margin-bottom: 0.75rem;
}
.hero h1 {
    color: var(--white);
    font-size: clamp(2rem, 5vw, 3.25rem);
    margin-bottom: 1rem;
}
.hero__lead {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.88);
    margin-bottom: 1.75rem;
    max-width: 34rem;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }

.page-hero {
    background: linear-gradient(135deg, var(--black) 0%, var(--black-soft) 60%, var(--red-dark) 100%);
    color: var(--white);
    padding: 3.5rem 0 3rem;
}
.page-hero h1 { color: var(--white); font-size: clamp(1.75rem, 4vw, 2.75rem); margin-top: 0.35rem; }
.page-hero p { color: rgba(255,255,255,0.85); max-width: 36rem; margin-top: 0.75rem; }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.35rem;
    border-radius: 999px;
    font-weight: 700;
    font-size: 0.92rem;
    border: 2px solid transparent;
    cursor: pointer;
    transition: transform 0.15s, background 0.15s;
}
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--red); color: var(--white); }
.btn--primary:hover { background: var(--red-dark); color: var(--white); }
.btn--secondary {
    background: transparent;
    color: var(--white);
    border-color: rgba(255,255,255,0.45);
}
.btn--secondary:hover { background: rgba(255,255,255,0.08); color: var(--white); }
.btn--dark { background: var(--black); color: var(--white); }
.btn--dark:hover { background: var(--black-soft); color: var(--white); }

/* Stats */
.stats {
    background: var(--black);
    color: var(--white);
    border-bottom: 1px solid rgba(255,255,255,0.06);
}
.stats__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: rgba(255,255,255,0.08);
}
.stat {
    background: var(--black-soft);
    padding: 1.35rem 1rem;
    text-align: center;
}
.stat strong {
    display: block;
    font-family: var(--font-display);
    font-size: 1.05rem;
    color: var(--white);
    margin-bottom: 0.2rem;
}
.stat span { font-size: 0.82rem; color: rgba(255,255,255,0.65); }

/* Sections */
.section { padding: 4rem 0; }
.section--gray { background: var(--gray-50); }
.section__head { margin-bottom: 2rem; }
.section__head--center { text-align: center; max-width: 640px; margin-inline: auto; margin-bottom: 2.5rem; }
.section__title { font-size: clamp(1.5rem, 3vw, 2rem); margin-top: 0.35rem; }
.section__sub { color: var(--gray-400); margin-top: 0.5rem; }

.split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    align-items: center;
}
.split__media {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    aspect-ratio: 4/3;
    background: var(--gray-200);
}
.split__media img { width: 100%; height: 100%; object-fit: cover; }
.split__content p { margin-bottom: 1rem; }
.text-link { font-weight: 700; color: var(--red); }
.text-link:hover { color: var(--red-dark); }

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}
.feature {
    display: block;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    padding: 1.5rem;
    color: inherit;
    transition: box-shadow 0.2s, border-color 0.2s, transform 0.2s;
}
.feature:hover {
    border-color: rgba(192, 24, 31, 0.25);
    box-shadow: var(--shadow);
    transform: translateY(-2px);
    color: inherit;
}
.feature__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    margin-bottom: 0.85rem;
    border-radius: 12px;
    background: rgba(192, 24, 31, 0.08);
    color: var(--red);
    flex-shrink: 0;
}

.feature__icon svg {
    width: 22px;
    height: 22px;
    display: block;
}
.feature h3 { font-size: 1.05rem; margin-bottom: 0.4rem; color: var(--black); }
.feature p { font-size: 0.92rem; color: var(--gray-400); margin-bottom: 0.75rem; }
.feature__cta { font-size: 0.85rem; font-weight: 700; color: var(--red); }

.checklist { list-style: none; margin: 1rem 0 1.25rem; }
.checklist li {
    padding-left: 1.5rem;
    position: relative;
    margin-bottom: 0.5rem;
}
.checklist li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--red);
    font-weight: 700;
}

/* News */
.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}
.news-card {
    display: flex;
    flex-direction: column;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--white);
    color: inherit;
    transition: box-shadow 0.2s, transform 0.2s;
}
.news-card:hover {
    box-shadow: var(--shadow);
    transform: translateY(-2px);
    color: inherit;
}
.news-card__body { padding: 1.25rem; flex: 1; display: flex; flex-direction: column; }
.news-card time { font-size: 0.78rem; color: var(--gray-400); font-weight: 600; text-transform: uppercase; letter-spacing: 0.04em; }
.news-card h3 { font-size: 1.05rem; margin: 0.5rem 0; color: var(--black); }
.news-card p { font-size: 0.92rem; color: var(--gray-400); flex: 1; }
.news-card__link { font-weight: 700; font-size: 0.85rem; color: var(--red); margin-top: 0.75rem; }

.news-list { display: flex; flex-direction: column; gap: 0.85rem; }
.news-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.15rem;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-sm);
    background: var(--white);
    color: inherit;
    flex-wrap: wrap;
}
.news-row:hover { border-color: rgba(192,24,31,0.3); color: inherit; }
.news-row h3 { font-size: 1rem; color: var(--black); }
.news-row time { font-size: 0.8rem; color: var(--gray-400); white-space: nowrap; }

.article { max-width: 720px; margin: 0 auto; padding: 3rem 0 4rem; }
.article__meta { font-size: 0.85rem; color: var(--gray-400); margin-bottom: 1.5rem; }
.article h1 { font-size: clamp(1.75rem, 4vw, 2.35rem); margin-bottom: 1rem; }
.article p { margin-bottom: 1rem; }
.article a.back { display: inline-block; margin-bottom: 1.5rem; font-weight: 600; }

/* Training / info cards */
.info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
}
.info-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    padding: 1.5rem;
}
.info-card--featured {
    background: linear-gradient(145deg, var(--black) 0%, var(--black-soft) 100%);
    color: rgba(255,255,255,0.88);
    border: none;
}
.info-card--featured h3 { color: var(--white); }
.info-card h3 { font-size: 1.05rem; margin-bottom: 0.5rem; }
.info-card p, .info-card li { font-size: 0.92rem; }
.info-card ul { margin-left: 1.1rem; }

.schedule-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.92rem;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-sm);
    overflow: hidden;
}
.schedule-table th,
.schedule-table td {
    padding: 0.85rem 1rem;
    text-align: left;
    border-bottom: 1px solid var(--gray-200);
}
.schedule-table th {
    background: var(--black-soft);
    color: var(--white);
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.schedule-table tr:last-child td { border-bottom: none; }

.map-embed {
    border: 0;
    border-radius: var(--radius);
    width: 100%;
    height: 280px;
    box-shadow: var(--shadow);
}

/* Contact */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 2rem;
    align-items: start;
}
.contact-form label {
    display: block;
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--black);
    margin-bottom: 0.4rem;
    margin-top: 1rem;
}
.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 0.85rem 1rem;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-sm);
    font: inherit;
    background: var(--white);
}
.contact-form textarea { min-height: 140px; resize: vertical; }
.contact-form button { margin-top: 1.25rem; }
.form-feedback {
    margin-top: 1rem;
    padding: 0.85rem 1rem;
    border-radius: var(--radius-sm);
    font-size: 0.92rem;
}
.form-feedback--ok { background: #ecfdf5; color: #065f46; border: 1px solid #a7f3d0; }
.form-feedback--err { background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; }

/* CTA band */
.cta-band {
    background: var(--black);
    color: rgba(255,255,255,0.88);
    padding: 3.5rem 0;
}
.cta-band__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
}
.cta-band h2 { color: var(--white); font-size: 1.5rem; margin-bottom: 0.4rem; }
.cta-band__actions { display: flex; gap: 0.75rem; flex-wrap: wrap; }

/* Footer */
.site-footer {
    background: var(--black-soft);
    color: rgba(255,255,255,0.65);
    padding: 2.5rem 0;
    font-size: 0.88rem;
}
.site-footer a { color: #ffb4b8; }
.site-footer a:hover { color: var(--white); }
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}
.footer-grid h4 { color: var(--white); font-size: 0.9rem; margin-bottom: 0.75rem; }
.footer-grid ul { list-style: none; }
.footer-grid li { margin-bottom: 0.35rem; }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding-top: 1.25rem;
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    font-size: 0.8rem;
}
.proveho-note { opacity: 0.7; }

@media (max-width: 900px) {
    .stats__grid { grid-template-columns: repeat(2, 1fr); }
    .split, .feature-grid, .news-grid, .contact-grid, .info-grid, .footer-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .nav-toggle { display: block; }
    .site-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: stretch;
        background: var(--black);
        padding: 1rem 1.25rem 1.25rem;
        border-bottom: 1px solid rgba(255,255,255,0.08);
    }
    .site-nav.is-open { display: flex; }
    .site-header { position: relative; }
    .site-header.sticky-wrap { position: sticky; top: 0; }
    .cta-band__inner { flex-direction: column; align-items: flex-start; }
}
