/* =============================================
   METALLOKONSTRUKTSII PAGE
   ============================================= */

/* ── HERO ── */
.mk-hero {
    position: relative;
    min-height: 480px;
    /*background: url('../images/mk-hero.jpg') center / cover no-repeat;
    background-color: #1a1a1a;*/
    display: flex;
    align-items: center;
}

.mk-hero__wrap {
    position: relative;
    min-height: 633px;
    border-radius: 30px;
    overflow: hidden;
    background: linear-gradient(0deg, rgba(0,0,0,0.2), rgba(0,0,0,0.2)),
    url('../images/met_hero.jpg') center / cover no-repeat;
    background-color: #1a1a1a;
    display: flex;
    align-items: center;
}

.mk-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0,0,0,0.72) 0%, rgba(0,0,0,0.35) 100%);
}

.mk-hero__inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: 48px;
    align-items: center;
    padding-top: 60px;
    padding-bottom: 60px;
}

.mk-hero__title {
    font-family: 'Roboto Slab', Georgia, serif;
    font-size: 46px;
    font-weight: 400;
    line-height: 1.2;
    color: #ffffff;
    margin-bottom: 16px;
}

.mk-hero__subtitle {
    font-family: 'Roboto', sans-serif;
    font-size: 20px;
    font-weight: 500;
    color: rgba(255,255,255,0.85);
}

.mk-hero__form {
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.18);
    border-radius: 12px;
    padding: 32px 28px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    backdrop-filter: blur(6px);
}

/* Тёмные инпуты для форм на тёмном фоне */
.form-input--dark {
    border-bottom-color: rgba(255,255,255,0.35) !important;
    color: #ffffff !important;
}
.form-input--dark::placeholder { color: rgba(255,255,255,0.4); }
.form-input--dark:focus { border-bottom-color: #C74338 !important; }

.form-label--light { color: rgba(255,255,255,0.7) !important; }
.form-note--light  { color: rgba(255,255,255,0.5) !important; }

/* ── CALC ── */
.mk-calc {
    padding: 60px 0;
    background: #fff;
}

.mk-calc__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    border: 2px solid #C74338;
    border-radius: 12px;
    padding: 40px 48px;
}

.mk-calc__title {
    font-family: 'Roboto Slab', Georgia, serif;
    font-size: 28px;
    font-weight: 400;
    color: #26130E;
    margin-bottom: 28px;
    line-height: 1.3;
}

.mk-calc__form {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.mk-calc__desc {
    font-family: 'Roboto', sans-serif;
    font-size: 20px;
    font-weight: 500;
    color: #26130E;
    margin-bottom: 12px;
    line-height: 1.4;
}

.mk-calc__note {
    font-size: 14px;
    color: #8a8a8a;
}

/* ── INFO BANNER ── */
.mk-banner {
    padding: 0 0 40px;
    background: #fff;
}

.mk-banner__inner {
    background: #000000;
    border-radius: 30px;
    min-height: 299px;
    display: flex;
    align-items: center;
    gap: 40px;
    padding: 40px 48px;
}

.mk-banner__icon {
    flex-shrink: 0;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Roboto', sans-serif;
    font-size: 100px;
    font-weight: 700;
    color: #C74338;
}

.mk-banner__text {
    font-family: 'Roboto', sans-serif;
    font-size: 30px;
    font-weight: 400;
    line-height: 35px;
    color: #ffffff;
    max-width: 1008px;
}

/* ── ADVANTAGES ── */
.mk-adv {
    padding: 60px 0 80px;
    background: #fff;
}

.mk-adv__cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 48px;
}

.mk-adv__card {
    border-radius: 16px;
    padding: 28px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 140px;
    text-align: center;
}

.mk-adv__card--red {
    background: #C74338;
    color: #fff;
}

.mk-adv__card-title {
    font-family: 'Roboto', sans-serif;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.3;
    color: #fff;
}

.mk-adv__card-icon {
    font-size: 32px;
}

.mk-adv__list {
    display: flex;
    flex-direction: column;
    gap: 24px;
    list-style: none;
    padding: 0;
    margin: 0;
}

/* ── CONSULT ── */
.mk-consult {
    background: #111111;
    padding: 60px 0;
}

.mk-consult__title {
    font-family: 'Roboto Slab', Georgia, serif;
    font-size: 36px;
    font-weight: 400;
    color: #ffffff;
    margin-bottom: 32px;
}

.mk-consult__form {
    display: flex;
    flex-direction: column;
    gap: 14px;
    max-width: 680px;
}

.mk-consult__fields {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

/* ── PROJECTS ── */
.mk-projects {
    padding: 60px 0 80px;
    background: #fff;
}

.mk-projects__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.mk-projects__item {
    border-radius: 12px;
    overflow: hidden;
}

.mk-projects__img-placeholder {
    height: 260px;
    background: #e0e0e0;
    border-radius: 12px;
}

/* ── ORDER BOTTOM ── */
.mk-order {
    background: #111111;
    padding: 60px 0;
}

.mk-order__form {
    display: flex;
    flex-direction: column;
    gap: 14px;
    max-width: 680px;
    margin: 0 auto;
    align-items: center;
    text-align: center;
}

.mk-order__fields {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    width: 100%;
}

.mk-form-result {
    min-height: 20px;
    font-size: 14px;
}

/* ── RESPONSIVE ── */
@media (max-width: 960px) {
    .mk-hero__inner    { grid-template-columns: 1fr; min-height: auto; align-items: flex-start; }
    .mk-hero__text     { padding-bottom: 0; }
    .mk-hero__title    { font-size: 42px; line-height: 56px; }
    .mk-hero__subtitle { font-size: 22px; }
    .mk-hero__form     { align-self: auto; width: 100%; align-items: stretch; }
    .mk-calc__inner    { grid-template-columns: 1fr; gap: 32px; padding: 28px 24px; }
    .mk-adv__cards     { grid-template-columns: repeat(2, 1fr); }
    .mk-consult__fields,
    .mk-order__fields  { grid-template-columns: 1fr; }
    .mk-projects__grid { grid-template-columns: 1fr 1fr; }
    .mk-banner__icon   { width: 100px; height: 100px; font-size: 60px; }
    .mk-banner__text   { font-size: 22px; }
}

@media (max-width: 600px) {
    .mk-hero__title    { font-size: 28px; line-height: 38px; }
    .mk-hero__form     { gap: 24px; }
    .mk-adv__cards     { grid-template-columns: repeat(2, 1fr); }
    .mk-projects__grid { grid-template-columns: 1fr; }
    .mk-calc__inner    { padding: 20px 16px; }
    .mk-banner__inner  { flex-direction: column; padding: 28px 24px; }
    .mk-banner__icon   { width: 70px; height: 70px; font-size: 40px; }
    .mk-banner__text   { font-size: 18px; line-height: 28px; }
}

.mk-hero__wrap {
    align-items: flex-end;
}

.mk-hero__inner {
    grid-template-columns: 1fr 553px;
    align-items: flex-end;
    padding: 40px;
}

.mk-hero__title {
    font-family: 'Roboto Slab', Georgia, serif !important;
    font-size: 70px !important;
    font-weight: 500 !important;
    line-height: 92px !important;
}

.mk-hero__subtitle {
    font-size: 30px !important;
    font-weight: 500 !important;
    line-height: 35px !important;
}

.mk-hero__form {
    background: rgba(0,0,0,0.62) !important;
    border: none !important;
    border-radius: 30px !important;
    padding: 30px 20px !important;
    align-self: flex-end;
}

.mk-hero__text {
    align-self: center;
    padding-bottom: 140px;
}

.mk-hero__inner {
    grid-template-columns: 1fr 460px !important;
    padding-right: 40px !important;
    align-items: center !important;
}

.mk-hero__form {
    margin-bottom: 40px;
    width: 100%;
}


.mk-calc__title {
    font-family: 'Roboto Slab', Georgia, serif !important;
    font-size: 50px !important;
    font-weight: 500 !important;
    line-height: 35px !important;
    color: #26130E !important;
    margin-bottom: 24px !important;
}

.mk-calc__inner {
    border: 5px solid #C74338 !important;
    border-radius: 30px !important;
    padding: 27px 53px !important;
    min-height: 299px !important;
    gap: 0 !important;
    grid-template-columns: 555px 1fr !important;
    align-items: center !important;
}

.mk-calc__form {
    gap: 5px !important;
}

.mk-calc__desc {
    font-size: 30px !important;
    font-weight: 500 !important;
    line-height: 35px !important;
    text-align: right !important;
    color: #26130E !important;
}

.mk-calc__note {
    font-size: 18px !important;
    text-align: right !important;
    color: #26130E !important;
}


/* ── CONSULT overrides ── */
.mk-consult {
    background: #000000 !important;
    padding: 20px 0 60px !important;
}

.mk-consult__title {
    font-family: 'Roboto Slab', Georgia, serif !important;
    font-size: 50px !important;
    font-weight: 400 !important;
    line-height: 100% !important;
    color: #ffffff !important;
    margin-bottom: 40px !important;
    padding-left: 40px;
}

.mk-consult__form {
    background: #ffffff;
    border-radius: 30px;
    padding: 30px !important;
    max-width: 726px !important;
    margin: 0 auto;
    align-items: center !important;
    gap: 20px !important;
}

.mk-consult__fields {
    grid-template-columns: 1fr 1fr !important;
    gap: 10px !important;
    width: 100%;
}

.mk-consult__fields .form-group {
    background: #000000;
    border-radius: 10px;
    padding: 10px;
    flex-direction: row !important;
    align-items: center !important;
    gap: 10px;
}

.mk-consult__fields .form-label {
    color: #ffffff !important;
    font-size: 18px !important;
    font-weight: 500 !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
    white-space: nowrap;
    margin-bottom: 0 !important;
}

.mk-consult__fields .form-input {
    background: transparent !important;
    border-bottom: none !important;
    color: rgba(255,255,255,0.3) !important;
    font-size: 18px !important;
    padding: 0 !important;
    flex: 1;
}

.mk-consult__fields .form-input::placeholder {
    color: rgba(255,255,255,0.3) !important;
}

.mk-consult .form-note {
    color: rgba(0,0,0,0.3) !important;
    font-size: 12px !important;
    text-align: center !important;
    width: 100%;
}

.mk-consult .btn {
    width: 322px !important;
}

/* ── ORDER overrides ── */
.mk-order {
    background: #fff !important;
    padding: 0 0 40px !important;
}

.mk-order__form {
    background: #000000;
    border-radius: 30px;
    padding: 40px 0 !important;
    max-width: 1360px !important;
    width: 100%;
    gap: 20px !important;
}

.mk-order__fields {
    grid-template-columns: 1fr 1fr !important;
    gap: 10px !important;
    width: 900px !important;
}

.mk-order__fields .form-group {
    background: #ffffff;
    border-radius: 10px;
    padding: 10px;
    flex-direction: row !important;
    align-items: center !important;
    gap: 10px;
}

.mk-order__fields .form-label {
    color: #000000 !important;
    font-size: 18px !important;
    font-weight: 500 !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
    white-space: nowrap;
    margin-bottom: 0 !important;
}

.mk-order__fields .form-input {
    background: transparent !important;
    border-bottom: none !important;
    color: rgba(0,0,0,0.3) !important;
    font-size: 18px !important;
    padding: 0 !important;
    flex: 1;
}

.mk-order__fields .form-input::placeholder {
    color: rgba(0,0,0,0.3) !important;
}

.mk-order .form-note {
    color: rgba(255,255,255,0.4) !important;
    font-size: 12px !important;
    text-align: center !important;
    width: 660px;
}

.mk-order .btn {
    width: 322px !important;
}

/* ── PROJECTS overrides ── */
.mk-projects__grid {
    grid-template-columns: repeat(3, 1fr) !important;
}

.mk-projects__img-placeholder {
    height: 438px !important;
    border-radius: 30px !important;
    background: #DADADA !important;
}

.mk-projects .section-title {
    font-family: 'Roboto Slab', Georgia, serif !important;
    font-size: 50px !important;
    font-weight: 500 !important;
    line-height: 66px !important;
    color: #000000 !important;
}

.mk-order__form {
    max-width: 100% !important;
}

/* ── ADV overrides ── */
.mk-adv .section-title {
    font-family: 'Roboto Slab', Georgia, serif !important;
    font-size: 50px !important;
    font-weight: 500 !important;
    line-height: 66px !important;
    color: #000000 !important;
}

.mk-adv__card {
    background: #AF3025 !important;
    border-radius: 30px !important;
    height: 188px !important;
    min-height: 188px !important;
    padding: 30px 20px !important;
    gap: 10px !important;
}

.mk-adv__card-title {
    font-size: 30px !important;
    font-weight: 400 !important;
    line-height: 35px !important;
}

.mk-adv__card-icon img {
    width: 48px !important;
    height: 48px !important;
}

.mk-adv__list {
    gap: 0 !important;
}

.mk-adv__list .materials__item {
    border-bottom: 2px solid #000000 !important;
    padding: 10px !important;
    font-size: 18px !important;
    line-height: 21px !important;
    gap: 20px !important;
    align-items: center !important;
}

.mk-adv__list .materials__item:last-child {
    border-bottom: 2px solid #000000 !important;
}