@font-face {
    font-family: 'TBC Contractica Caps';
    src: url('TBCContracticaCAPS-Black.ttf') format('truetype');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'TBC Contractica Medium';
    src: url('TBCContractica-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

:root {
    --primary: #e70500;
    --primary-dark: #a80300;
    --primary-soft: #fff0f0;
    --accent: #ff3b30;
    --accent-soft: #fff7f7;
    --bg: #f8f7f8;
    --white: #ffffff;
    --text: #1a1f2b;
    --muted: #646b78;
    --line: #f1d6d6;
    --success-bg: #eafaf0;
    --success-text: #1f7a46;
    --error-bg: #fff0f0;
    --error-text: #b42318;
    --shadow: 0 24px 60px rgba(231, 5, 0, 0.10);
}

*,
*::before,
*::after {
    box-sizing: border-box;
    min-width: 0;
}

html,
body {
    margin: 0;
    padding: 0;
    width: 100%;
    overflow-x: hidden;
}

body {
    font-family: 'Noto Sans Georgian', system-ui, sans-serif;
    color: var(--text);
    background:
        linear-gradient(180deg, rgba(231,5,0,0.08) 0%, rgba(231,5,0,0.04) 50%, rgba(231,5,0,0.02) 100%),
        radial-gradient(circle at top left, rgba(231,5,0,0.12), transparent 30%),
        radial-gradient(circle at top right, rgba(231,5,0,0.10), transparent 28%);
    position: relative;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(231,5,0,0.25) 0%, rgba(231,5,0,0.12) 40%, rgba(231,5,0,0.05) 70%, rgba(231,5,0,0.02) 100%),
        url('cover.jpg') center bottom / cover no-repeat;
    opacity: 1;
    pointer-events: none;
    z-index: 0;
}



img {
    max-width: 100%;
    height: auto;
    display: block;
}


h1,
h2,
h3,
.hero-chip,
.mini-label,
.point-item strong,
.field label,
button {
    font-family: 'TBC Contractica Medium', 'Noto Sans Georgian', system-ui, sans-serif;
}

.lead,
.point-item span,
.info-box ul,
.section-head p,
input,
select,
textarea,
.check-wrap,
.alert {
    font-family: 'Noto Sans Georgian', system-ui, sans-serif;
}


@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(18px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes logoFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-4px); }
}

@keyframes softPulse {
    0%, 100% { box-shadow: 0 18px 40px rgba(231, 5, 0, 0.10); }
    50% { box-shadow: 0 24px 52px rgba(231, 5, 0, 0.16); }
}


.page-wrap {
    position: relative;
    z-index: 1;
    width: min(1140px, calc(100% - 32px));
    margin: 32px auto;
    display: grid;
    gap: 24px;
}

.hero-card,
.form-card {
    background:#ffffff;
    border: 1px solid rgba(231, 5, 0, 0.08);
    border-radius: 28px;
    box-shadow: var(--shadow);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.hero-card {
    padding: 30px;
    position: relative;
    overflow: hidden;
}

.hero-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(135deg, rgba(231, 5, 0, 0.05), transparent 34%),
        radial-gradient(circle at 100% 0%, rgba(255, 59, 48, 0.12), transparent 24%);
    pointer-events: none;
}

.hero-top,
.hero-copy,
.hero-points,
.hero-grid {
    position: relative;
    z-index: 1;
}

.hero-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    flex-wrap: wrap;
}

.logo-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 0;
    min-height: auto;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    max-width: 100%;
    animation: fadeUp .7s ease both, logoFloat 4s ease-in-out infinite;
}

.brand-logo {
    display: block;
    max-width: 260px;
    width: 100%;
    max-height: 56px;
    object-fit: contain;
    filter: drop-shadow(0 10px 24px rgba(231, 5, 0, 0.12));
}

.hero-chip,
.mini-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 14px;
    border-radius: 999px;
    background: var(--primary-soft);
    color: var(--primary);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.55px;
    text-transform: uppercase;
    white-space: normal;
    text-align: center;
    max-width: 100%;
    line-height: 1.4;
}

.hero-copy {
    margin-top: 22px;
}

h1,
h2,
h3 {
    margin: 0;
    word-break: break-word;
}

h1 {
    margin-top: 14px;
    font-size: clamp(18px, 2.5vw, 32px);
    line-height: 1.12;
    letter-spacing: 0.005em;
    white-space: nowrap;
}

h2 {
    font-size: clamp(22px, 3vw, 29px);
    line-height: 1.18;
    margin-top: 10px;
}

.lead {
    margin: 16px 0 0;
    max-width: 860px;
    color: var(--muted);
    font-size: 16px;
    line-height: 1.85;
    letter-spacing: 0.01em;
    word-break: break-word;
}

.hero-points {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin-top: 26px;
}

.point-item {
    display: grid;
    gap: 6px;
    padding: 18px 20px;
    border-radius: 20px;
    background: linear-gradient(180deg, #ffffff 0%, #fff7f7 100%);
    border: 1px solid rgba(231, 5, 0, 0.10);
    min-width: 0;
}

.point-item strong {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--primary);
    line-height: 1.45;
}

.point-item span {
    color: var(--text);
    font-weight: 700;
    line-height: 1.5;
    word-break: break-word;
}

.hero-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    margin-top: 24px;
}

.info-box {
    background: linear-gradient(180deg, #fff 0%, var(--accent-soft) 100%);
    border: 1px solid var(--line);
    border-radius: 22px;
    padding: 24px;
    min-width: 0;
}

.accent-box {
    background: linear-gradient(180deg, #fafdff 0%, #edf7fc 100%);
    border-color: rgba(231, 5, 0, 0.16);
}

.info-box h3 {
    font-size: 19px;
    margin-bottom: 12px;
    line-height: 1.35;
}

.info-box ul {
    margin: 0;
    padding-left: 18px;
    line-height: 1.85;
    color: #3d5567;
}

.info-box li {
    word-break: break-word;
}

.form-card {
    padding: 30px;
}

.section-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 18px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.section-head p {
    max-width: 470px;
    margin: 0;
    color: var(--muted);
    line-height: 1.8;
}

.vacancy-form {
    display: grid;
    gap: 18px;
}

.grid {
    display: grid;
    gap: 18px;
}

.grid.two {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid.three {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.field {
    display: grid;
    gap: 8px;
    min-width: 0;
}

.field label {
    font-weight: 700;
    font-size: 13px;
    line-height: 1.5;
    letter-spacing: 0.02em;
}

.field label span {
    color: #d92d20;
}

input,
select,
textarea {
    letter-spacing: 0.01em;
    width: 100%;
    max-width: 100%;
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 14px 16px;
    font: inherit;
    font-size: 15px;
    line-height: 1.5;
    color: var(--text);
    background: #fff;
    transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
    appearance: none;
    -webkit-appearance: none;
}

input::placeholder,
textarea::placeholder {
    color: #90a0ad;
}

input:focus,
select:focus,
textarea:focus {
    border-color: rgba(231, 5, 0, 0.55);
    box-shadow: 0 0 0 4px rgba(231, 5, 0, 0.10);
    outline: none;
    transform: translateY(-1px);
}

textarea {
    resize: vertical;
    min-height: 110px;
}

.checkbox-field {
    align-content: end;
}

.check-wrap {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 14px 16px;
    min-height: 54px;
    background: #fffafa;
    width: 100%;
}

.check-wrap input[type="checkbox"] {
    appearance: auto;
    -webkit-appearance: checkbox;
    width: 20px;
    min-width: 20px;
    height: 20px;
    margin-top: 2px;
    padding: 0;
    border-radius: 6px;
    flex-shrink: 0;
    accent-color: #22c55e;
    cursor: pointer;
}

.check-wrap input[type="checkbox"]:checked {
    accent-color: #22c55e;
}

.check-wrap label,
.check-wrap span,
.check-wrap p {
    word-break: break-word;
}

.actions {
    display: flex;
    justify-content: flex-end;
    margin-top: 8px;
    width: 100%;
}

button {
    letter-spacing: 0.03em;
    border: 0;
    border-radius: 16px;
    background: linear-gradient(180deg, var(--accent) 0%, var(--primary-dark) 100%);
    color: #fff;
    padding: 15px 26px;
    font: inherit;
    font-weight: 800;
    font-size: 15px;
    line-height: 1.2;
    cursor: pointer;
    box-shadow: 0 18px 34px rgba(231, 5, 0, 0.18);
    transition: transform .2s ease, box-shadow .2s ease;
    max-width: 100%;
    text-align: center;
}

button:hover {
    transform: translateY(-1px);
    box-shadow: 0 22px 38px rgba(231, 5, 0, 0.22);
}

button:active {
    transform: translateY(0);
}

.alert {
    margin-bottom: 18px;
    border-radius: 18px;
    padding: 14px 16px;
    font-weight: 600;
    line-height: 1.55;
    word-break: break-word;
}

.alert.success {
    background: var(--success-bg);
    color: var(--success-text);
}

.alert.error {
    background: var(--error-bg);
    color: var(--error-text);
}

/* Tablet */
@media (max-width: 900px) {
    .page-wrap {
        width: min(100% - 20px, 1140px);
        margin: 16px auto 24px;
        gap: 18px;
    }

    .hero-card,
    .form-card {
        padding: 22px;
        border-radius: 22px;
    }

    .hero-top {
        flex-direction: column;
        align-items: stretch;
    }

    .logo-badge {
        width: 100%;
        justify-content: center;
    }

    .brand-logo {
        max-width: 220px;
        max-height: 52px;
    }

    .hero-points,
    .hero-grid,
    .grid.two,
    .grid.three {
        grid-template-columns: 1fr;
    }

    .section-head {
        display: grid;
        grid-template-columns: 1fr;
        align-items: start;
        gap: 12px;
    }

    h1 {
        font-size: 31px;
    }

    h2 {
        font-size: 25px;
    }

    .lead {
        font-size: 15px;
        line-height: 1.7;
    }

    .actions {
        justify-content: stretch;
    }

    button {
        width: 100%;
    }
}

/* Mobile */
@media (max-width: 560px) {
    .page-wrap {
        width: calc(100% - 16px);
        margin: 10px auto 20px;
        gap: 14px;
    }

    .hero-card,
    .form-card {
        padding: 16px;
        border-radius: 18px;
    }

    .logo-badge {
        padding: 12px 14px;
        min-height: 74px;
        border-radius: 18px;
    }

    .brand-logo {
        max-width: 180px;
        max-height: 46px;
    }

    .hero-chip,
    .mini-label {
        width: 100%;
        justify-content: center;
        padding: 8px 12px;
        font-size: 11px;
        letter-spacing: 0.4px;
    }

    h1 {
        margin-top: 12px;
        font-size: 19px;
        line-height: 1.12;
        letter-spacing: 0;
    }

    h2 {
        font-size: 22px;
        line-height: 1.18;
    }

    .lead {
        font-size: 14px;
        line-height: 1.65;
    }

    .point-item,
    .info-box {
        padding: 16px;
    }

    .point-item,
    .info-box,
    .check-wrap,
    input,
    select,
    textarea,
    button {
        border-radius: 14px;
    }

    .point-item strong {
        font-size: 12px;
    }

    .point-item span {
        font-size: 14px;
    }

    .info-box h3 {
        font-size: 17px;
    }

    .info-box ul {
        padding-left: 16px;
        line-height: 1.7;
        font-size: 14px;
    }

    .vacancy-form,
    .grid {
        gap: 14px;
    }

    .field {
        gap: 6px;
    }

    .field label {
        font-size: 13px;
    }

    input,
    select,
    textarea {
        padding: 12px 14px;
        font-size: 14px;
    }

    textarea {
        min-height: 96px;
    }

    .check-wrap {
        padding: 12px 14px;
    }

    .actions {
        margin-top: 4px;
    }

    button {
        padding: 14px 18px;
        font-size: 14px;
    }

    .alert {
        border-radius: 14px;
        padding: 12px 14px;
        font-size: 14px;
    }
}

/* Small phones */
@media (max-width: 400px) {
    .page-wrap {
        width: calc(100% - 12px);
        margin: 8px auto 16px;
        gap: 12px;
    }

    .hero-card,
    .form-card {
        padding: 14px;
        border-radius: 16px;
    }

    .logo-badge {
        padding: 10px 12px;
        min-height: 66px;
        border-radius: 16px;
    }

    .brand-logo {
        max-width: 155px;
        max-height: 40px;
    }

    .hero-copy {
        margin-top: 16px;
    }

    .hero-points {
        margin-top: 18px;
        gap: 12px;
    }

    .hero-grid {
        margin-top: 18px;
        gap: 12px;
    }

    h1 {
        font-size: 17px;
        line-height: 1.12;
        letter-spacing: 0;
    }

    h2 {
        font-size: 20px;
    }

    .lead {
        margin-top: 12px;
        font-size: 13px;
        line-height: 1.6;
    }

    .hero-chip,
    .mini-label {
        font-size: 10px;
        padding: 7px 10px;
    }

    .point-item,
    .info-box {
        padding: 14px;
    }

    .info-box h3 {
        font-size: 16px;
        margin-bottom: 10px;
    }

    .info-box ul {
        font-size: 13px;
        line-height: 1.65;
    }

    .section-head {
        margin-bottom: 16px;
        gap: 10px;
    }

    .section-head p {
        font-size: 13px;
        line-height: 1.65;
    }

    .vacancy-form,
    .grid {
        gap: 12px;
    }

    .field label {
        font-size: 12.5px;
    }

    input,
    select,
    textarea {
        padding: 11px 12px;
        font-size: 13px;
        border-radius: 12px;
    }

    textarea {
        min-height: 88px;
    }

    .check-wrap {
        padding: 10px 12px;
        border-radius: 12px;
        gap: 8px;
    }

    .check-wrap input {
        width: 16px;
        min-width: 16px;
        height: 16px;
    }

    button {
        padding: 13px 16px;
        font-size: 13px;
        border-radius: 12px;
    }

    .alert {
        padding: 10px 12px;
        font-size: 13px;
        border-radius: 12px;
    }
}

/* Very small devices */
@media (max-width: 340px) {
    .page-wrap {
        width: calc(100% - 10px);
    }

    h1 {
        font-size: 15px;
        line-height: 1.1;
        letter-spacing: 0;
    }

    h2 {
        font-size: 18px;
    }

    .lead,
    .section-head p,
    .info-box ul,
    input,
    select,
    textarea,
    button,
    .alert {
        font-size: 12.5px;
    }

    .point-item span {
        font-size: 13px;
    }

    .brand-logo {
        max-width: 140px;
    }
}
.hero-copy {
    animation: fadeUp .85s ease both;
}

.hero-chip {
    animation: fadeUp .85s ease both, softPulse 3.6s ease-in-out infinite;
}

.point-item,
.info-box,
.form-card {
    animation: fadeUp .95s ease both;
}

.point-item,
.info-box,
button,
input,
select,
textarea {
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease, background-color .25s ease;
}

.point-item:hover,
.info-box:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 44px rgba(231, 5, 0, 0.10);
}

@media (prefers-reduced-motion: reduce) {
    .logo-badge,
    .hero-copy,
    .hero-chip,
    .point-item,
    .info-box,
    .form-card {
        animation: none !important;
    }

    .point-item,
    .info-box,
    button,
    input,
    select,
    textarea {
        transition: none !important;
    }
}
