/* SomGeek Kontakt */

.sg-info-page--kontakt .sg-info-contact-box {
    display: none;
}

.sg-contact-form-section {
    margin-top: 34px;
    padding: clamp(22px, 4vw, 38px);
    background:
        linear-gradient(145deg, rgba(226, 170, 22, 0.045), transparent 42%),
        linear-gradient(180deg, #10151a, #090d11);
    border: 1px solid #2a323b;
    border-left: 4px solid var(--sg-gold, #e2aa16);
    box-shadow: 0 18px 46px rgba(0, 0, 0, 0.28);
}

.sg-contact-form-heading {
    max-width: 760px;
    margin-bottom: 24px;
}

.sg-contact-form-heading > span {
    display: inline-flex;
    padding: 5px 9px;
    margin-bottom: 10px;
    background: var(--sg-gold, #e2aa16);
    color: #07090b;
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.sg-contact-form-heading h2 {
    margin: 0 0 8px;
    color: #fff;
    font-family: "Bahnschrift Condensed", "Arial Narrow", Impact, sans-serif;
    font-size: clamp(2rem, 4vw, 3.25rem);
    line-height: 1;
    text-transform: uppercase;
}

.sg-contact-form-heading p {
    margin: 0;
    color: #b9c0c7;
}

.sg-contact-form {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.sg-contact-field {
    min-width: 0;
}

.sg-contact-field--full {
    grid-column: 1 / -1;
}

.sg-contact-field label,
.sg-contact-consent {
    color: #e4e7ea;
    font-size: 0.86rem;
    font-weight: 800;
}

.sg-contact-field label {
    display: block;
    margin-bottom: 7px;
}

.sg-contact-field label span {
    color: var(--sg-gold-bright, #ffc52b);
}

/*
 * Vyššia špecificita a !important zabránia rodičovskej téme CoverNews,
 * aby prepísala tmavé polia vlastným bielym pozadím.
 */
.sg-info-page--kontakt .sg-contact-form .sg-contact-field input[type="text"],
.sg-info-page--kontakt .sg-contact-form .sg-contact-field input[type="email"],
.sg-info-page--kontakt .sg-contact-form .sg-contact-field select,
.sg-info-page--kontakt .sg-contact-form .sg-contact-field textarea {
    width: 100%;
    border: 1px solid #3a444e !important;
    border-radius: 0 !important;
    background-color: #080c10 !important;
    background-image: none !important;
    color: #eef1f4 !important;
    caret-color: var(--sg-gold-bright, #ffc52b);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.025) !important;
    outline: none !important;
    -webkit-text-fill-color: #eef1f4;
    transition: border-color 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
}

.sg-info-page--kontakt .sg-contact-form .sg-contact-field input[type="text"],
.sg-info-page--kontakt .sg-contact-form .sg-contact-field input[type="email"],
.sg-info-page--kontakt .sg-contact-form .sg-contact-field select {
    min-height: 48px;
    padding: 0 14px !important;
}

.sg-info-page--kontakt .sg-contact-form .sg-contact-field textarea {
    min-height: 190px;
    padding: 13px 14px !important;
    resize: vertical;
}

.sg-info-page--kontakt .sg-contact-form .sg-contact-field select {
    color-scheme: dark;
}

.sg-info-page--kontakt .sg-contact-form .sg-contact-field select option {
    background: #080c10;
    color: #eef1f4;
}

.sg-info-page--kontakt .sg-contact-form .sg-contact-field input::placeholder,
.sg-info-page--kontakt .sg-contact-form .sg-contact-field textarea::placeholder {
    color: #747f89 !important;
    opacity: 1;
}

.sg-info-page--kontakt .sg-contact-form .sg-contact-field input[type="text"]:hover,
.sg-info-page--kontakt .sg-contact-form .sg-contact-field input[type="email"]:hover,
.sg-info-page--kontakt .sg-contact-form .sg-contact-field select:hover,
.sg-info-page--kontakt .sg-contact-form .sg-contact-field textarea:hover {
    border-color: #56616c !important;
    background-color: #0a0f14 !important;
}

.sg-info-page--kontakt .sg-contact-form .sg-contact-field input[type="text"]:focus,
.sg-info-page--kontakt .sg-contact-form .sg-contact-field input[type="email"]:focus,
.sg-info-page--kontakt .sg-contact-form .sg-contact-field select:focus,
.sg-info-page--kontakt .sg-contact-form .sg-contact-field textarea:focus {
    border-color: var(--sg-gold, #e2aa16) !important;
    background-color: #0b1015 !important;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.035),
        0 0 0 3px rgba(226, 170, 22, 0.12) !important;
}

/* Chrome a Edge po automatickom doplnení nesmú zafarbiť pole nabielo. */
.sg-info-page--kontakt .sg-contact-form input:-webkit-autofill,
.sg-info-page--kontakt .sg-contact-form input:-webkit-autofill:hover,
.sg-info-page--kontakt .sg-contact-form input:-webkit-autofill:focus {
    -webkit-text-fill-color: #eef1f4 !important;
    -webkit-box-shadow: 0 0 0 1000px #080c10 inset !important;
    box-shadow: 0 0 0 1000px #080c10 inset !important;
    caret-color: var(--sg-gold-bright, #ffc52b);
    transition: background-color 9999s ease-out 0s;
}

.sg-contact-consent {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 13px 14px;
    background: #0a0f14;
    border: 1px solid #2e3740;
    cursor: pointer;
    transition: border-color 160ms ease, background-color 160ms ease;
}

.sg-contact-consent:hover,
.sg-contact-consent:focus-within {
    background: #0c1218;
    border-color: #4a5560;
}

.sg-contact-consent input {
    width: 18px;
    height: 18px;
    flex: 0 0 auto;
    margin-top: 2px;
    accent-color: var(--sg-gold, #e2aa16);
}

.sg-contact-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px;
}

.sg-contact-actions button {
    min-height: 48px;
    padding: 0 24px;
    border: 1px solid var(--sg-gold, #e2aa16);
    background: var(--sg-gold, #e2aa16);
    color: #07090b;
    font-weight: 900;
    letter-spacing: 0.035em;
    text-transform: uppercase;
    transition: transform 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.sg-contact-actions button:hover,
.sg-contact-actions button:focus {
    transform: translateY(-2px);
    background: var(--sg-gold-bright, #ffc52b);
    box-shadow: 0 12px 28px rgba(226, 170, 22, 0.22);
}

.sg-contact-actions small {
    color: #818b95;
}

.sg-contact-notice {
    padding: 13px 15px;
    margin-bottom: 20px;
    border: 1px solid;
    font-weight: 700;
}

.sg-contact-notice--success {
    background: rgba(44, 180, 94, 0.1);
    border-color: rgba(44, 180, 94, 0.55);
    color: #9de3b4;
}

.sg-contact-notice--error {
    background: rgba(236, 49, 49, 0.1);
    border-color: rgba(236, 49, 49, 0.55);
    color: #ffb0b0;
}

.sg-contact-honeypot {
    position: absolute !important;
    left: -10000px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}

@media (max-width: 680px) {
    .sg-contact-form-section {
        margin-top: 24px;
        padding: 22px 18px;
    }

    .sg-contact-form {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .sg-contact-field--full {
        grid-column: auto;
    }

    .sg-contact-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .sg-contact-actions button {
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .sg-contact-field input,
    .sg-contact-field select,
    .sg-contact-field textarea,
    .sg-contact-consent,
    .sg-contact-actions button {
        transition: none;
    }

    .sg-contact-actions button:hover,
    .sg-contact-actions button:focus {
        transform: none;
    }
}
