/* ============================================================
   /data/css/ui/frontpage.css
   - Front page section styles
   ============================================================ */

.hero-section {
    padding: 1rem 0 1.5rem;
}

.hero-wrap {
    position: relative;
    overflow: hidden;
    padding: 2.2rem;
    border: 1px solid var(--bw-border);
    border-radius: 2rem;
    background:
        linear-gradient(135deg, rgba(1, 116, 189, 0.14), transparent 42%),
        linear-gradient(180deg, var(--bw-surface) 0%, var(--bw-surface-2) 100%);
    box-shadow: var(--bw-shadow);
}

.hero-kicker {
    margin-bottom: 1rem;
    color: var(--bw-accent);
    font-size: 0.9rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.hero-title {
    max-width: 16ch;
}

.hero-text {
    max-width: 58ch;
    font-size: 1.05rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
    margin-top: 2rem;
}

.hero-points {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
    margin-top: 2rem;
}

.hero-point {
    display: inline-flex;
    align-items: center;
    padding: 0.55rem 0.9rem;
    border: 1px solid var(--bw-border);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.04);
    color: var(--bw-text);
    font-size: 0.92rem;
    font-weight: 600;
}

:root[data-theme="light"] .hero-point {
    background: rgba(44, 44, 42, 0.04);
}

.hero-media {
    position: relative;
    overflow: hidden;
    min-height: 100%;
    border-radius: 1.7rem;
    border: 1px solid var(--bw-border);
    box-shadow: var(--bw-shadow);
}

.hero-image {
    width: 100%;
    height: 100%;
    min-height: 420px;
    object-fit: cover;
}

.hero-media-badge {
    position: absolute;
    right: 1rem;
    bottom: 1rem;
    padding: 0.7rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 999px;
    background: rgba(22, 22, 22, 0.72);
    color: #ffffff;
    font-size: 0.92rem;
    font-weight: 700;
    backdrop-filter: blur(12px);
}

.gallery-preview-card {
    position: relative;
    display: block;
    overflow: hidden;
    border: 1px solid var(--bw-border);
    border-radius: 1.4rem;
    background: var(--bw-surface);
    box-shadow: var(--bw-shadow);
    aspect-ratio: 1 / 1;
}

.gallery-preview-card:hover {
    transform: translateY(-3px);
}

.gallery-preview-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-preview-label {
    position: absolute;
    left: 0.9rem;
    right: 0.9rem;
    bottom: 0.9rem;
    padding: 0.7rem 0.9rem;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 0.9rem;
    background: rgba(22, 22, 22, 0.74);
    color: #ffffff;
    font-size: 0.92rem;
    font-weight: 700;
    text-align: center;
    backdrop-filter: blur(10px);
}

:root[data-theme="light"] .gallery-preview-label {
    border-color: rgba(44, 44, 42, 0.10);
    background: rgba(255, 255, 255, 0.82);
    color: #2c2c2a;
}

.contact-cta {
    padding: 2.2rem;
    border: 1px solid var(--bw-border);
    border-radius: 2rem;
    background:
        linear-gradient(135deg, rgba(1, 116, 189, 0.10), transparent 38%),
        linear-gradient(180deg, var(--bw-surface) 0%, var(--bw-surface-2) 100%);
    box-shadow: var(--bw-shadow);
}

.tilaajavastuu-logo {
    margin-top: 1.2rem;
}

.tilaajavastuu-logo a {
    display: inline-block;
}

.tilaajavastuu-logo img {
    max-width: 220px;
    height: auto;
    display: block;
    border-radius: 10px;
}