/* Kontakt page - modern design */

:root {
    --ct-accent: #ff545a;
    --ct-accent-2: #f43032;
    --ct-mint: #22c55e;
    --ct-ink: #0b1220;
    --ct-muted: rgba(11, 18, 32, 0.72);
    --ct-line: rgba(15, 23, 42, 0.10);
    --ct-surface: rgba(255, 255, 255, 0.92);
    --ct-radius: 22px;
    --ct-shadow: 0 22px 70px rgba(0, 0, 0, 0.16);
}

.ct-page {
    color: var(--ct-ink);
}

.ct-hero {
    position: relative;
    overflow: hidden;
    padding: 72px 0 58px;
    background:
        radial-gradient(900px 520px at 20% 20%, rgba(255, 84, 90, 0.30), transparent 55%),
        radial-gradient(720px 520px at 80% 10%, rgba(34, 197, 94, 0.18), transparent 60%),
        linear-gradient(135deg, #0b1020 0%, #121b34 50%, #0e1326 100%);
}

.ct-hero::before {
    content: "";
    position: absolute;
    inset: -60px;
    background-image: radial-gradient(rgba(255, 255, 255, 0.18) 1px, transparent 1px);
    background-size: 22px 22px;
    opacity: 0.12;
    transform: rotate(-2deg);
    pointer-events: none;
}

.ct-hero .container {
    position: relative;
    z-index: 1;
    max-width: 1180px;
}

.ct-hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 22px;
    align-items: start;
}

.ct-kicker {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 14px;
    border-radius: 999px;
    font-weight: 900;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.92);
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(12px);
}

.ct-kicker::before {
    content: "";
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--ct-accent), var(--ct-mint));
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
}

.ct-hero-copy h1 {
    margin: 16px 0 12px;
    font-size: 52px;
    line-height: 1.04;
    letter-spacing: -0.03em;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.96);
}

.ct-hero-copy p {
    margin: 0;
    font-size: 16px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.78);
    max-width: 620px;
}

.ct-meta {
    margin-top: 18px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: flex-start;
}

.ct-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 12px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.86);
    background: rgba(255, 255, 255, 0.10);
    border: 1px solid rgba(255, 255, 255, 0.16);
    backdrop-filter: blur(10px);
}

.ct-links {
    margin-top: 18px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.ct-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border-radius: 999px;
    color: rgba(255, 255, 255, 0.92);
    text-decoration: none;
    font-weight: 900;
    font-size: 13px;
    background: rgba(255, 255, 255, 0.10);
    border: 1px solid rgba(255, 255, 255, 0.16);
    backdrop-filter: blur(10px);
}

.ct-link:hover,
.ct-link:focus {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.92);
    background: rgba(255, 255, 255, 0.14);
    transform: translateY(-1px);
}

.ct-hero-card {
    border-radius: calc(var(--ct-radius) + 6px);
    background: rgba(255, 255, 255, 0.10);
    border: 1px solid rgba(255, 255, 255, 0.16);
    backdrop-filter: blur(18px);
    box-shadow: 0 26px 90px rgba(0, 0, 0, 0.28);
    overflow: hidden;
}

.ct-card-head {
    padding: 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    background: radial-gradient(900px 180px at 20% 0%, rgba(255, 84, 90, 0.18), transparent 60%);
}

.ct-card-title {
    font-weight: 900;
    letter-spacing: 0.10em;
    text-transform: uppercase;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.88);
}

.ct-card-sub {
    margin-top: 10px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.74);
    line-height: 1.5;
}

.ct-card-body {
    padding: 16px 18px 18px;
}

.ct-alert {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    border-radius: 16px;
    background: rgba(34, 197, 94, 0.14);
    border: 1px solid rgba(34, 197, 94, 0.24);
    color: rgba(255, 255, 255, 0.92);
    font-weight: 900;
    margin-bottom: 12px;
}

.ct-form {
    display: block;
}

.ct-label {
    display: block;
    margin: 0 0 8px;
    font-weight: 900;
    font-size: 11px;
    letter-spacing: 0.10em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.74);
}

.ct-field {
    position: relative;
    margin-bottom: 14px;
}

.ct-field i {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255, 255, 255, 0.72);
}

.ct-field.textarea i {
    top: 16px;
    transform: none;
}

.ct-input,
.ct-textarea {
    width: 100%;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.92);
    padding: 12px 12px 12px 40px;
    outline: none;
    font-weight: 800;
}

.ct-textarea {
    resize: vertical;
}

.ct-input::placeholder,
.ct-textarea::placeholder {
    color: rgba(255, 255, 255, 0.55);
    font-weight: 600;
}

.ct-input:focus,
.ct-textarea:focus {
    border-color: rgba(255, 84, 90, 0.55);
    box-shadow: 0 0 0 4px rgba(255, 84, 90, 0.14);
}

.ct-submit {
    width: 100%;
    height: 46px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.20);
    cursor: pointer;
    font-weight: 900;
    letter-spacing: 0.02em;
    color: rgba(11, 18, 32, 0.92);
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 18px 55px rgba(0, 0, 0, 0.22);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.ct-submit:hover {
    filter: brightness(1.02);
    transform: translateY(-2px);
}

.ct-body {
    padding: 44px 0 90px;
    background:
        radial-gradient(900px 520px at 18% 8%, rgba(255, 84, 90, 0.08), transparent 60%),
        radial-gradient(720px 560px at 84% 18%, rgba(34, 197, 94, 0.06), transparent 55%),
        linear-gradient(180deg, #ffffff 0%, #f7f8fb 100%);
}

.ct-body .container {
    max-width: 1180px;
}

.ct-section-head {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 18px;
}

.ct-section-head h2 {
    margin: 0;
    font-size: 22px;
    font-weight: 900;
    letter-spacing: -0.02em;
    color: rgba(11, 18, 32, 0.92);
}

.ct-section-head p {
    margin: 10px 0 0;
    color: rgba(11, 18, 32, 0.64);
    font-weight: 800;
}

.ct-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.ct-card {
    border-radius: calc(var(--ct-radius) + 6px);
    background: var(--ct-surface);
    border: 1px solid var(--ct-line);
    box-shadow: 0 18px 55px rgba(0, 0, 0, 0.10);
    overflow: hidden;
}

.ct-card:hover {
    border-color: rgba(244, 48, 50, 0.18);
    box-shadow: var(--ct-shadow);
    transform: translateY(-3px);
}

.ct-media {
    position: relative;
    background: #eef2f6;
}

.ct-media img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    aspect-ratio: 16 / 10;
    transform: scale(1.01);
}

.ct-card:hover .ct-media img {
    transform: scale(1.05);
}

.ct-media-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 35%, rgba(0, 0, 0, 0.58) 100%);
    pointer-events: none;
}

.ct-card-content {
    padding: 16px;
}

.ct-card-h {
    margin: 0 0 10px;
    font-size: 18px;
    line-height: 1.2;
    font-weight: 900;
    letter-spacing: -0.02em;
    color: rgba(11, 18, 32, 0.92);
}

.ct-card-p {
    margin: 0;
    color: rgba(11, 18, 32, 0.72);
    font-size: 14px;
    line-height: 1.7;
    display: -webkit-box;
    -webkit-line-clamp: 6;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.ct-empty {
    max-width: 760px;
    margin: 0 auto;
    text-align: center;
    padding: 64px 26px;
    border-radius: calc(var(--ct-radius) + 6px);
    border: 1px solid rgba(15, 23, 42, 0.10);
    background: rgba(255, 255, 255, 0.86);
    backdrop-filter: blur(10px);
    box-shadow: 0 18px 55px rgba(0, 0, 0, 0.10);
}

.ct-empty-icon {
    width: 78px;
    height: 78px;
    margin: 0 auto 18px;
    border-radius: 22px;
    display: grid;
    place-items: center;
    color: #ffffff;
    background: linear-gradient(135deg, var(--ct-accent), var(--ct-mint));
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.14);
    font-size: 28px;
}

.ct-empty h3 {
    margin: 0 0 10px;
    font-size: 22px;
    font-weight: 900;
    color: var(--ct-ink);
}

.ct-empty p {
    margin: 0;
    font-size: 16px;
    color: var(--ct-muted);
}

@media (max-width: 992px) {
    .ct-hero-grid {
        grid-template-columns: 1fr;
    }

    .ct-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .ct-hero-copy h1 {
        font-size: 40px;
    }
}

@media (max-width: 576px) {
    .ct-grid {
        grid-template-columns: 1fr;
    }

    .ct-hero {
        padding: 58px 0 46px;
    }

    .ct-hero-copy h1 {
        font-size: 32px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .ct-link:hover,
    .ct-submit:hover,
    .ct-card:hover {
        transform: none;
    }
}
