﻿/* CHECK-IN Acreditaciones - landing page (brand palette shared with the touchscreen kiosk) */

:root {
    --bs-primary: #443835;
    --bs-secondary: #ec9d29;
    --bs-primary-rgb: 68, 56, 53;
    --bs-secondary-rgb: 236, 157, 41;
    --bs-link-color: #443835;
    --bs-link-hover-color: #2c2422;
}

.text-brand {
    color: #443835;
}

.text-gradient {
    background: linear-gradient(90deg, #f4c274, #ec9d29);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.btn-brand {
    background: linear-gradient(180deg, #f0ad4e, #ec9d29);
    border: none;
    color: #fff;
    box-shadow: 0 3px 10px rgba(236, 157, 41, 0.35);
}

.btn-brand:hover {
    color: #fff;
    filter: brightness(1.05);
}

.btn-outline-brand {
    border: 2px solid #443835;
    color: #443835;
    background: transparent;
}

.btn-outline-brand:hover {
    background: #443835;
    color: #fff;
}

.landing-navbar {
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

/* Hero */
.hero-panel {
    background: linear-gradient(135deg, #2c2422 0%, #443835 55%, #5a4a45 100%);
    border-radius: 28px;
    padding: 64px 48px;
    color: #fff;
    overflow: hidden;
    position: relative;
}

.hero-eyebrow {
    display: inline-block;
    background: rgba(236, 157, 41, 0.18);
    color: #f4c274;
    border: 1px solid rgba(236, 157, 41, 0.4);
    border-radius: 50rem;
    padding: 6px 18px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 22px;
}

.hero-panel h1 {
    color: #fff;
}

.hero-panel .lead {
    color: rgba(255, 255, 255, 0.78);
}

/* Credential card mockup (pure CSS/SVG, no stock imagery) */
.credential-card {
    background: #fff;
    border-radius: 20px;
    padding: 26px;
    width: 300px;
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.35);
    color: #2c2422;
    position: relative;
    z-index: 2;
}

.credential-card .credential-brand {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #ec9d29;
    margin-bottom: 14px;
}

.credential-card .credential-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, #443835, #6b5a54);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.3rem;
    margin-bottom: 14px;
}

.credential-card .credential-name {
    font-weight: 700;
    font-size: 1.05rem;
    margin-bottom: 2px;
}

.credential-card .credential-role {
    font-size: 0.8rem;
    color: #857c78;
    margin-bottom: 18px;
}

.credential-card .credential-qr {
    width: 100%;
    aspect-ratio: 1;
    border-radius: 12px;
    background-image:
        linear-gradient(90deg, #2c2422 25%, transparent 25%, transparent 75%, #2c2422 75%),
        linear-gradient(#2c2422 25%, transparent 25%, transparent 75%, #2c2422 75%);
    background-size: 20px 20px;
    background-color: #f4f2f1;
    border: 1px solid #e2ddda;
}

.hero-floating-badge {
    position: absolute;
    background: #fff;
    border-radius: 14px;
    padding: 10px 16px;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.25);
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 0.85rem;
    color: #2c2422;
    z-index: 3;
}

.hero-floating-badge i {
    color: #ec9d29;
}

.hero-badge-1 {
    top: 6%;
    right: -6%;
}

.hero-badge-2 {
    bottom: 8%;
    left: -8%;
}

.hero-visual {
    position: relative;
    min-height: 380px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Capability strip */
.capability-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 28px;
    margin-top: 20px;
}

.capability-strip .capability-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 600;
    font-size: 0.9rem;
}

.capability-strip .capability-item i {
    color: #ec9d29;
}

/* Section headings */
.section-eyebrow {
    color: #ec9d29;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-size: 0.8rem;
}

/* How it works */
.process-step {
    position: relative;
    padding: 30px 24px;
    height: 100%;
    border-radius: 18px;
    background: #f9f7f6;
    border: 1px solid #ede8e6;
}

.process-step .process-number {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: linear-gradient(180deg, #f0ad4e, #ec9d29);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    margin-bottom: 18px;
}

/* Feature cards */
.feature-card {
    height: 100%;
    padding: 28px 24px;
    border-radius: 18px;
    border: 1px solid #ede8e6;
    background: #fff;
    transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 32px rgba(44, 36, 34, 0.1);
    border-color: #e2ddda;
}

.feature-card .feature-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: rgba(68, 56, 53, 0.06);
    color: #443835;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    margin-bottom: 18px;
}

/* CTA banner */
.cta-banner {
    background: linear-gradient(135deg, #2c2422, #443835);
    border-radius: 28px;
    padding: 56px 48px;
    color: #fff;
}

/* Event cards */
.event-card {
    display: flex;
    flex-direction: column;
    border-radius: 18px;
    border: 1px solid #ede8e6;
    background: #fff;
    overflow: hidden;
    transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}

.event-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 32px rgba(44, 36, 34, 0.1);
    border-color: #e2ddda;
}

.event-card-img {
    height: 170px;
    background-color: #f4f2f1;
    background-size: cover;
    background-position: center;
}

.event-card-body {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    padding: 22px 24px 24px;
}

.event-card-date {
    color: #ec9d29;
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 0.02em;
    margin-bottom: 8px;
}

.event-card-location {
    color: #857c78;
    font-size: 0.85rem;
    margin-bottom: 10px;
}

.event-card-desc {
    font-size: 0.9rem;
    margin-bottom: 18px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.event-card-actions {
    margin-top: auto;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

/* Status / message panel (used across public confirmation & error pages) */
.message-panel {
    padding: 56px 32px;
    border-radius: 18px;
    margin: 40px 0;
}

.message-panel-icon {
    font-size: 64px;
    display: block;
    margin-bottom: 20px;
}

.message-panel-text {
    font-size: 1.15rem;
}

.message-panel-footer {
    margin-top: 18px;
    margin-bottom: 0;
    color: inherit;
    opacity: .85;
}

.message-panel-success {
    background-color: #eaf7ee;
    color: #1e7e34;
}

.message-panel-danger {
    background-color: #fbebec;
    color: #a71d2a;
}

.message-panel-warning {
    background-color: #fdf3e3;
    color: #92650a;
}

.message-panel-info {
    background-color: #f4f2f1;
    color: #443835;
}

/* Event banner (used on the public registration / edit-registration flows) */
.event-banner {
    border-radius: 18px;
    padding: 40px 40px;
}

.event-banner-eyebrow {
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    font-size: 0.8rem;
    opacity: .75;
    margin-bottom: 10px;
}

.event-banner-img {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 14px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.event-banner-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    font-weight: 600;
    opacity: .9;
}

/* Contact */
.contact-panel {
    border-radius: 18px;
    border: 1px solid #ede8e6;
    padding: 36px;
    background: #fff;
}

/* Footer */
.landing-footer {
    background: #2c2422;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.65);
    text-decoration: none;
}

.footer-links a:hover {
    color: #ec9d29;
}

.footer-divider {
    border-color: rgba(255, 255, 255, 0.12);
}

@media (max-width: 991.98px) {
    .hero-panel {
        padding: 40px 28px;
        text-align: center;
    }

    .hero-visual {
        margin-top: 40px;
    }

    .hero-badge-1, .hero-badge-2 {
        display: none;
    }

    .capability-strip {
        justify-content: center;
    }
}
