/* Vetminar.ro — Stiluri publice */
:root {
    --vm-primary:    #1a6b3c;
    --vm-primary-dk: #134f2d;
    --vm-accent:     #2ecc71;
    --vm-text:       #1c2b22;
    --vm-muted:      #5a7a65;
    --vm-bg:         #f6faf7;
    --vm-card-bg:    #ffffff;
    --vm-border:     #d4e8da;
    --vm-radius:     12px;
    --vm-shadow:     0 2px 12px rgba(26,107,60,.10);
}

/* ─── Reset & base ─── */
*,*::before,*::after { box-sizing: border-box; }
body {
    background: var(--vm-bg);
    color: var(--vm-text);
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    font-size: 1rem;
    line-height: 1.6;
    margin: 0;
}
a { color: var(--vm-primary); text-decoration: none; }
a:hover { text-decoration: underline; color: var(--vm-primary-dk); }
img { max-width: 100%; height: auto; }

/* ─── Nav ─── */
.vm-nav {
    background: var(--vm-primary);
    padding: .75rem 0;
    box-shadow: 0 2px 6px rgba(0,0,0,.18);
    position: sticky; top: 0; z-index: 100;
}
.vm-nav-inner {
    max-width: 1100px; margin: 0 auto;
    display: flex; align-items: center; justify-content: space-between;
    padding: 0 1rem;
    flex-wrap: wrap; gap: .5rem;
}
.vm-logo { font-size: 1.5rem; font-weight: 700; color: #fff; letter-spacing: -.5px; }
.vm-logo span { color: var(--vm-accent); }
.vm-nav-links { display: flex; gap: 1.25rem; }
.vm-nav-links a { color: rgba(255,255,255,.88); font-size: .93rem; }
.vm-nav-links a:hover { color: #fff; text-decoration: none; }

/* ─── Hero ─── */
.vm-hero {
    background: linear-gradient(135deg, var(--vm-primary-dk) 0%, var(--vm-primary) 100%);
    color: #fff; text-align: center;
    padding: 3.5rem 1rem 2.5rem;
}
.vm-hero h1 { font-size: clamp(1.6rem, 4vw, 2.6rem); margin: 0 0 .75rem; font-weight: 800; }
.vm-hero p  { font-size: 1.1rem; opacity: .88; max-width: 600px; margin: 0 auto; }

/* ─── Section headings ─── */
.vm-section { max-width: 1100px; margin: 0 auto; padding: 2.5rem 1rem; }
.vm-section-title {
    font-size: 1.5rem; font-weight: 700;
    color: var(--vm-primary);
    margin: 0 0 1.5rem;
    padding-bottom: .5rem;
    border-bottom: 3px solid var(--vm-accent);
    display: inline-block;
}

/* ─── Webinar cards grid ─── */
.vm-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
    gap: 1.5rem;
}
.vm-card {
    background: var(--vm-card-bg);
    border: 1px solid var(--vm-border);
    border-radius: var(--vm-radius);
    box-shadow: var(--vm-shadow);
    overflow: hidden;
    display: flex; flex-direction: column;
    transition: transform .18s, box-shadow .18s;
}
.vm-card:hover { transform: translateY(-3px); box-shadow: 0 6px 24px rgba(26,107,60,.14); }
.vm-card-img { width: 100%; height: 100%; object-fit: cover; }
.vm-card-img-placeholder {
    width: 100%; height: 190px;
    background: linear-gradient(135deg, #c8e6d4 0%, #a5d6b7 100%);
    display: flex; align-items: center; justify-content: center;
    font-size: 3rem; color: var(--vm-primary);
}
.vm-card-body { padding: 1.25rem 1.25rem .75rem; flex: 1; display: flex; flex-direction: column; }
.vm-card-meta {
    font-size: .82rem; color: var(--vm-muted);
    display: flex; flex-wrap: wrap; gap: .4rem .8rem;
    margin-bottom: .6rem;
}
.vm-card-meta svg { vertical-align: -3px; }
.vm-card-title { font-size: 1.1rem; font-weight: 700; margin: 0 0 .5rem; color: var(--vm-text); }
.vm-card-desc  { font-size: .9rem; color: var(--vm-muted); margin: 0 0 .8rem; }
.vm-card-footer { padding: .75rem 1.25rem 1.25rem; margin-top: auto; }
.vm-card-sponsor {
    font-size: .78rem; color: var(--vm-muted);
    border-top: 1px solid var(--vm-border);
    padding: .5rem 1.25rem .75rem;
}
.vm-card-sponsor img { height: 22px; vertical-align: middle; margin-right: 4px; }

/* ─── Badges ─── */
.vm-badge {
    display: inline-block;
    padding: .18rem .55rem;
    border-radius: 999px;
    font-size: .75rem;
    font-weight: 600;
    letter-spacing: .02em;
}
.vm-badge-open    { background: #d4f3e3; color: #1a6b3c; }
.vm-badge-closed  { background: #fde8cc; color: #8a5000; }
.vm-badge-limited { background: #fff3cd; color: #7a5000; }
.vm-badge-waitlist{ background: #e0f0ff; color: #1565c0; }

/* ─── Buttons ─── */
.vm-btn {
    display: inline-block;
    padding: .6rem 1.4rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: .95rem;
    cursor: pointer;
    border: none;
    transition: background .15s, transform .1s;
    text-align: center;
    width: 100%;
}
.vm-btn-primary { background: var(--vm-primary); color: #fff; }
.vm-btn-primary:hover { background: var(--vm-primary-dk); color: #fff; text-decoration: none; transform: translateY(-1px); }
.vm-btn-outline {
    background: transparent;
    color: var(--vm-primary);
    border: 2px solid var(--vm-primary);
}
.vm-btn-outline:hover { background: var(--vm-primary); color: #fff; }

/* ─── Webinar detail page ─── */
.vm-webinar-wrap {
    max-width: 960px; margin: 2rem auto; padding: 0 1rem;
    display: grid; grid-template-columns: 1fr 340px; gap: 2rem; align-items: start;
}
@media (max-width: 768px) {
    .vm-webinar-wrap { grid-template-columns: 1fr; }
}
.vm-webinar-cover { width: 100%; border-radius: 12px; margin-bottom: 1.5rem; }
.vm-webinar-title { font-size: clamp(1.4rem, 3vw, 2rem); font-weight: 800; margin: 0 0 .5rem; }
.vm-webinar-meta  { color: var(--vm-muted); margin-bottom: 1.5rem; display: flex; flex-direction: column; gap: .3rem; }
.vm-webinar-meta span { display: flex; align-items: center; gap: .4rem; }
.vm-webinar-section { margin-bottom: 1.75rem; }
.vm-webinar-section h2 {
    font-size: 1.1rem; font-weight: 700;
    color: var(--vm-primary);
    margin: 0 0 .6rem;
    padding-bottom: .3rem;
    border-bottom: 2px solid var(--vm-border);
}

/* ─── Presenter ─── */
.vm-presenter {
    display: flex; align-items: flex-start; gap: .9rem; margin-bottom: 1rem;
}
.vm-presenter-photo {
    width: 56px; height: 56px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}
.vm-presenter-initials {
    width: 56px; height: 56px;
    border-radius: 50%;
    background: var(--vm-primary);
    color: #fff; font-weight: 700; font-size: 1.2rem;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.vm-presenter-name  { font-weight: 700; margin: 0; }
.vm-presenter-title { font-size: .85rem; color: var(--vm-muted); }
.vm-presenter-bio   { font-size: .88rem; margin-top: .3rem; }

/* ─── Sponsor block ─── */
.vm-sponsor-block {
    background: #f0f9f4;
    border: 1px solid var(--vm-border);
    border-radius: 10px;
    padding: 1rem 1.25rem;
    margin-bottom: 1.5rem;
}
.vm-sponsor-block h3 { font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; color: var(--vm-muted); margin: 0 0 .6rem; }
.vm-sponsor-block img { max-height: 48px; margin-bottom: .5rem; }
.vm-sponsor-name { font-weight: 700; margin: 0 0 .3rem; }
.vm-sponsor-msg  { font-size: .88rem; color: var(--vm-muted); margin: 0; }

/* ─── Registration sidebar card ─── */
.vm-reg-card {
    background: var(--vm-card-bg);
    border: 1px solid var(--vm-border);
    border-radius: var(--vm-radius);
    box-shadow: var(--vm-shadow);
    padding: 1.5rem;
    position: sticky; top: 80px;
}
.vm-reg-card h2 { font-size: 1.1rem; font-weight: 700; margin: 0 0 1rem; }

/* ─── Form ─── */
.vm-form-group  { margin-bottom: 1rem; }
.vm-form-group label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: .3rem; }
.vm-form-control {
    width: 100%; padding: .55rem .85rem;
    border: 1.5px solid var(--vm-border);
    border-radius: 7px; font-size: .95rem;
    transition: border-color .15s;
    background: #fff;
}
.vm-form-control:focus { outline: none; border-color: var(--vm-primary); box-shadow: 0 0 0 3px rgba(26,107,60,.15); }
.vm-form-control.is-invalid { border-color: #dc3545; }
.vm-invalid-feedback { font-size: .82rem; color: #dc3545; margin-top: .25rem; }
.vm-check { display: flex; gap: .55rem; align-items: flex-start; margin-bottom: .6rem; }
.vm-check input { margin-top: .22rem; flex-shrink: 0; accent-color: var(--vm-primary); }
.vm-check label { font-size: .88rem; line-height: 1.4; }
.vm-check-required { font-weight: 600; }
.vm-spot-counter { font-size: .85rem; color: var(--vm-muted); text-align: center; margin-bottom: .8rem; }

/* ─── Alert ─── */
.vm-alert {
    padding: .9rem 1.1rem; border-radius: 8px; margin-bottom: 1.25rem; font-size: .93rem;
}
.vm-alert-success { background: #d4f3e3; color: #145a32; border: 1px solid #a9dfbf; }
.vm-alert-danger  { background: #fde8e8; color: #7b1818; border: 1px solid #f5c6c6; }
.vm-alert-info    { background: #d6eaf8; color: #1a5276; border: 1px solid #a9cce3; }
.vm-alert-warning { background: #fef9e7; color: #7d6608; border: 1px solid #f7dc6f; }

/* ─── Empty state ─── */
.vm-empty { text-align: center; padding: 3rem 1rem; color: var(--vm-muted); }
.vm-empty svg { opacity: .3; margin-bottom: 1rem; }
.vm-empty h3 { font-size: 1.2rem; margin-bottom: .5rem; }

/* ─── Archive ─── */
.vm-archive-item {
    background: var(--vm-card-bg);
    border: 1px solid var(--vm-border);
    border-radius: var(--vm-radius);
    padding: 1.25rem;
    margin-bottom: 1rem;
    box-shadow: var(--vm-shadow);
}
.vm-archive-item h3 { margin: 0 0 .35rem; font-size: 1.05rem; }
.vm-archive-item .meta { font-size: .82rem; color: var(--vm-muted); margin-bottom: .6rem; }

/* ─── Footer ─── */
.vm-footer {
    background: var(--vm-primary-dk); color: rgba(255,255,255,.75);
    text-align: center; padding: 1.5rem 1rem;
    font-size: .85rem; margin-top: 3rem;
}
.vm-footer a { color: rgba(255,255,255,.85); }

/* ─── About strip ─── */
.vm-about-strip {
    background: #fff;
    border-bottom: 1px solid var(--vm-border);
    padding: 2.5rem 1rem;
}
.vm-about-inner {
    max-width: 1100px; margin: 0 auto;
    display: flex; gap: 2.5rem; align-items: flex-start;
    flex-wrap: wrap;
}
.vm-about-text {
    flex: 1; min-width: 260px;
}
.vm-about-text h2 {
    font-size: 1.35rem; color: var(--vm-primary);
    margin: 0 0 .75rem; font-weight: 700;
}
.vm-about-text p {
    color: #3d5448; font-size: .95rem; margin: 0 0 .65rem; line-height: 1.65;
}
.vm-about-badge {
    flex-shrink: 0;
    display: flex; align-items: center; justify-content: center;
}
.vm-softvet-badge {
    display: flex; flex-direction: column; align-items: center;
    gap: .25rem;
    background: var(--vm-bg);
    border: 2px solid var(--vm-border);
    border-radius: 14px;
    padding: 1.25rem 1.75rem;
    text-align: center;
}
.vm-softvet-label {
    font-size: .78rem; color: var(--vm-muted); text-transform: uppercase;
    letter-spacing: .07em;
}
.vm-softvet-link {
    font-size: 1.6rem; font-weight: 800;
    color: var(--vm-primary); text-decoration: none;
    letter-spacing: -.5px;
}
.vm-softvet-link:hover { color: var(--vm-primary-dk); text-decoration: none; }
.vm-softvet-sub {
    font-size: .75rem; color: var(--vm-muted); max-width: 160px;
    line-height: 1.35; text-align: center;
}

/* ─── How it works strip ─── */
.vm-how-strip {
    background: linear-gradient(180deg, #f0f8f3 0%, var(--vm-bg) 100%);
    border-bottom: 1px solid var(--vm-border);
    padding: 2rem 1rem;
}
.vm-how-inner {
    max-width: 900px; margin: 0 auto;
    display: flex; gap: 0; flex-wrap: wrap;
}
.vm-how-step {
    flex: 1; min-width: 200px;
    text-align: center;
    padding: 1.25rem 1rem;
    position: relative;
}
.vm-how-step:not(:last-child)::after {
    content: '→';
    position: absolute; right: -10px; top: 50%;
    transform: translateY(-50%);
    font-size: 1.4rem; color: var(--vm-border);
}
.vm-how-icon {
    font-size: 2rem; margin-bottom: .6rem;
    display: block;
}
.vm-how-step h3 {
    font-size: .97rem; font-weight: 700;
    color: var(--vm-primary); margin: 0 0 .35rem;
}
.vm-how-step p {
    font-size: .85rem; color: var(--vm-muted);
    margin: 0; line-height: 1.45;
}

/* ─── Responsive ─── */
@media (max-width: 576px) {
    .vm-nav-links { gap: .75rem; font-size: .85rem; }
    .vm-hero { padding: 2rem 1rem 1.5rem; }
    .vm-reg-card { position: static; }
    .vm-about-inner { flex-direction: column; gap: 1.5rem; }
    .vm-about-badge { width: 100%; }
    .vm-how-step:not(:last-child)::after { display: none; }
    .vm-how-step { flex: 0 0 100%; padding: .75rem 1rem; }
}

/* ─── Pagina Despre ─── */
.vm-hero--small { padding: 3rem 1rem 2.5rem; }
.vm-hero--small h1 { font-size: 2rem; }

.vm-about { max-width: 860px; margin: 0 auto; padding: 0 1rem 3rem; }

.vm-about-section { padding: 2.5rem 0; border-bottom: 1px solid #e9ecef; }
.vm-about-section:last-child { border-bottom: none; }
.vm-about-section--alt { background: none; }
.vm-about-section h2 { font-size: 1.35rem; color: var(--vm-primary); margin-bottom: 1.1rem; font-weight: 700; }

/* Steps */
.vm-steps { display: flex; flex-direction: column; gap: 1.1rem; }
.vm-step { display: flex; align-items: flex-start; gap: 1rem; }
.vm-step-num {
    flex-shrink: 0;
    width: 2.2rem; height: 2.2rem;
    border-radius: 50%;
    background: var(--vm-primary);
    color: #fff;
    font-weight: 700; font-size: 1rem;
    display: flex; align-items: center; justify-content: center;
}
.vm-step-body strong { display: block; font-size: .97rem; margin-bottom: .2rem; }
.vm-step-body p { margin: 0; color: var(--vm-muted); font-size: .88rem; line-height: 1.5; }

/* Audience grid */
.vm-audience-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1.2rem;
    margin-top: .5rem;
}
.vm-audience-card {
    background: var(--vm-bg-light, #f8f9fa);
    border-radius: 10px;
    padding: 1.3rem 1rem;
    text-align: center;
    border: 1px solid #e9ecef;
}
.vm-audience-icon { font-size: 2rem; margin-bottom: .5rem; display: block; }
.vm-audience-card strong { display: block; font-size: .95rem; margin-bottom: .4rem; color: var(--vm-primary); }
.vm-audience-card p { margin: 0; font-size: .82rem; color: var(--vm-muted); line-height: 1.45; }

/* Topics list */
.vm-topics-list { list-style: none; padding: 0; margin: 0; }
.vm-topics-list li {
    padding: .55rem 0 .55rem 1.6rem;
    position: relative;
    font-size: .92rem;
    border-bottom: 1px solid #f0f0f0;
    color: #444;
}
.vm-topics-list li:last-child { border-bottom: none; }
.vm-topics-list li::before {
    content: "✓";
    position: absolute; left: 0;
    color: var(--vm-primary);
    font-weight: 700;
}

/* Contact block */
.vm-contact-block { font-size: .97rem; }
.vm-contact-block p { margin-bottom: .75rem; }
.vm-contact-block a { color: var(--vm-primary); }

@media (max-width: 576px) {
    .vm-hero--small h1 { font-size: 1.5rem; }
    .vm-audience-grid { grid-template-columns: 1fr 1fr; }
}

/* ─── Notify-me strip ─── */
.vm-notify-strip {
    background: var(--vm-primary);
    padding: 2.5rem 1rem;
}
.vm-notify-inner {
    max-width: 760px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}
.vm-notify-text {
    flex: 1;
    min-width: 200px;
    color: #fff;
}
.vm-notify-text h2 {
    font-size: 1.3rem;
    font-weight: 700;
    margin: 0 0 .35rem;
    color: #fff;
}
.vm-notify-text p {
    margin: 0;
    font-size: .95rem;
    opacity: .9;
}
.vm-notify-form {
    display: flex;
    gap: .5rem;
    flex-wrap: wrap;
    flex: 1;
    min-width: 260px;
}
.vm-notify-form .vm-form-control {
    flex: 1;
    min-width: 180px;
}
.vm-notify-form .vm-btn {
    width: auto;
    background: #fff;
    color: var(--vm-primary);
    border-color: #fff;
}
.vm-notify-form .vm-btn:hover {
    background: #f0faf4;
    border-color: #f0faf4;
}

/* ─── Legal pages (termeni, gdpr) ─── */
.vm-legal-content {
    line-height: 1.75;
    color: var(--vm-text);
}
.vm-legal-content h2 {
    font-size: 1.15rem;
    font-weight: 700;
    margin: 2rem 0 .6rem;
    color: var(--vm-primary-dark, #1a7a4a);
    border-bottom: 2px solid var(--vm-border, #e5e7eb);
    padding-bottom: .35rem;
}
.vm-legal-content h2:first-child {
    margin-top: 0;
}
.vm-legal-content p {
    margin: 0 0 .9rem;
}
.vm-legal-content ul {
    margin: 0 0 .9rem 1.5rem;
}
.vm-legal-content ul li {
    margin-bottom: .4rem;
}
.vm-legal-content a {
    color: var(--vm-primary);
    text-decoration: underline;
}
.vm-legal-note {
    background: #fffbeb;
    border: 1px solid #fcd34d;
    border-radius: 8px;
    padding: 1rem 1.25rem;
    margin-top: 2rem;
    font-size: .9rem;
    color: #78350f;
}
