/* ============================================
   АБСОЛЮТНЫЙ ОБНУЛЯЮЩИЙ СТИЛЬ (RESET)
   ============================================ */

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    border: 0;
    box-sizing: border-box;
}

html,
body,
div,
span,
applet,
object,
iframe,
h1, h2, h3, h4, h5, h6,
p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
    display: block;
}

ol,
ul {
    list-style: none;
}

a {
    text-decoration: none;
    color: inherit;
}

blockquote,
q {
    quotes: none;
}

blockquote::before,
blockquote::after,
q::before,
q::after {
    content: '';
    content: none;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

textarea {
    resize: none;
}

button {
    cursor: pointer;
}

h1, h2, h3, h4, h5, h6 {
    font-size: inherit;
    font-weight: inherit;
}

html {
    line-height: 1.15;
    -webkit-text-size-adjust: 100%;
    -moz-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

body {
    line-height: 1;
    font-family: Arial, Helvetica, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

[hidden] {
    display: none;
}

input[type="search"]::-webkit-search-decoration,
input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-results-button,
input[type="search"]::-webkit-search-results-decoration {
    -webkit-appearance: none;
}

input::-ms-clear,
input::-ms-reveal {
    display: none;
}

/* ============================================
   ПЕРЕМЕННЫЕ
   ============================================ */

:root {
    --color-primary: #000;
    --color-primary-light: #1a1919;
    --color-accent: #fff;
    --color-accent-hover: #141414;
    --color-gold: #ffd700;

    --font-family: Arial, Helvetica, sans-serif;
    --font-size-xs: 8px;
    --font-size-sm: 9px;
    --font-size-md: 10px;
    --font-size-base: 11px;
    --font-size-lg: 12px;
    --font-size-xl: 13px;
    --font-size-2xl: 14px;
    --font-size-3xl: 15px;
    --font-size-4xl: 16px;
    --font-size-5xl: 17px;
    --font-size-6xl: 18px;
    --font-size-7xl: 22px;
    --font-size-8xl: 24px;
    --font-size-9xl: 31px;
    --font-size-10xl: 39px;
    --font-size-emoji: 34px;
    --font-size-emoji-lg: 48px;

    --container-max: 1180px;
    --container-padding: 40px;
    --container-padding-mobile: 24px;
    --header-min-height: 82px;
    --header-min-height-tablet: 68px;
    --hero-min-height: 500px;
    --hero-min-height-mobile: 570px;
    --hero-min-height-small: 590px;
    --visual-height: 500px;
    --visual-height-mobile: 570px;
    --visual-height-small: 590px;

    --gap-xs: 6px;
    --gap-sm: 8px;
    --gap-md: 9px;
    --gap-base: 10px;
    --gap-lg: 15px;
    --gap-xl: 20px;
    --gap-2xl: 24px;
    --gap-3xl: 28px;
    --gap-4xl: 30px;
    --gap-5xl: 32px;
    --gap-6xl: 35px;
    --gap-7xl: 38px;

    --padding-xs: 4px;
    --padding-sm: 8px;
    --padding-base: 10px;
    --padding-md: 11px;
    --padding-lg: 14px;
    --padding-xl: 15px;
    --padding-2xl: 18px;
    --padding-3xl: 20px;
    --padding-4xl: 25px;
    --padding-5xl: 28px;
    --padding-6xl: 35px;
    --padding-7xl: 38px;
    --padding-8xl: 42px;
    --padding-9xl: 45px;
    --padding-10xl: 50px;
    --padding-11xl: 55px;
    --padding-12xl: 60px;
    --padding-13xl: 95px;

    --breakpoint-tablet: 900px;
    --breakpoint-mobile: 600px;
    --breakpoint-small: 390px;
}

/* ============================================
   ОБЩИЕ СТИЛИ
   ============================================ */

.wrapper {
    overflow: visible;
}

.container {
    margin: 0 auto;
    max-width: 1200px;
    padding: 0 20px;
}

/* ============================================
   HEADER (СТИКИ - РАБОТАЕТ)
   ============================================ */

.header {
    background: var(--color-primary);
    color: var(--color-accent);
    border-bottom: 1px solid var(--color-accent);
    z-index: 9999;
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
}

.header--item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 82px;
    margin: 0 auto;
    width: min(1180px, calc(100% - 40px));
    gap: 15px;
}

.logo {
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
}

.logo img {
    max-height: 50px;
    width: auto;
}

.logo__accent {
    font-size: 15px;
    font-weight: 800;
    color: var(--color-accent);
}

.logo__title {
    font-size: 17px;
    font-weight: 700;
    margin-top: 5px;
}

.burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    flex-shrink: 0;
}

.burger--line {
    display: block;
    width: 28px;
    height: 3px;
    background: var(--color-accent);
    border-radius: 3px;
    transition: 0.3s;
}

.nav {
    flex: 1;
}

.nav--item {
    display: flex;
    justify-content: center;
    gap: 6px;
}

.nav--link {
    font-size: var(--font-size-xl);
    text-decoration: none;
    border: 1px solid var(--color-accent);
    padding: 10px 14px;
    border-radius: 5px;
    white-space: nowrap;
    transition: all .3s;
}

.nav--link:hover {
    color: var(--color-primary);
    background: var(--color-accent);
}

.header--contacts {
    font-size: var(--font-size-base);
    text-align: right;
    line-height: 1.5;
    flex-shrink: 0;
}

.contact--info {
    font-size: var(--font-size-base);
}

.contact--btn {
    font-weight: 900;
    font-size: var(--font-size-lg);
    color: var(--color-accent);
    text-decoration: none;
}

.contact--btn:hover {
    text-decoration: underline;
}

.btn--white {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    border: 0;
    cursor: pointer;
    text-decoration: none;
    padding: 11px 18px;
    background: var(--color-accent);
    color: var(--color-primary);
    font-weight: 700;
    font-size: 13px;
    border-radius: 3px;
    flex-shrink: 0;
    white-space: nowrap;
    transition: background 0.3s;
}

.btn--white:hover {
    background: #e0e0e0;
}

/* ===== MODAL ===== */

.modal {
    width: 400px;
    height: 500px;
    margin: 10% auto;
    border-radius: 10px;
    position: fixed;
    top:100px;
    left: 0;
}

.modal-item {
    padding: 10%;
}

.title-medium {
    text-align: center;
    margin-bottom: 20px;
    font-weight: 700;
}

.close-modal {
    position: absolute;
    top: 0;
    right: auto;
    border: 0;
    cursor: pointer;
    text-decoration: none;
    padding: 11px 18px;
    background: var(--color-primary);
    color: var(--color-accent);
    font-weight: 700;
    font-size: 13px;
    border-radius: 3px;
    z-index: 1;
}

/* ============================================
   HERO (УБРАЛ background-attachment: fixed)
   ============================================ */

.section-hero {
    padding-top: 100px;
    padding-bottom: 60px;
    background: url(/img/fon.png) center center / cover no-repeat;
    color: var(--color-accent);
    min-height: 840px;
}

.hero__content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 10px;
}

.title-hero {
    font-size: var(--font-size-9xl);
    font-weight: 700;
}

.title-big {
    font-size: var(--font-size-10xl);
    font-weight: 700;
}

.hero-text,
.title-big {
    margin-bottom: var(--padding-4xl);
    max-width: 500px;
}

.stats {
    display: flex;
    gap: 50px;
}

.stats-info {
    display: flex;
    gap: 7px;
}

.stats-text {
    font-size: var(--font-size-9xl);
    font-weight: 600;
}

.text-small {
    font-size: var(--font-size-2xl);
}

.hero-ul {
    font-size: var(--font-size-6xl);
}

.hero__inner {
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    gap: 30px;
}

.hero__visual {
    background: var(--color-accent);
    color: #374052;
    width: 350px;
    min-height: 600px;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 8px 35px #0005;
    gap: 19px;
    font-size: 10px;
    flex-shrink: 0;
}

.order-form {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 10px;
}

/* ============================================
   FORMS
   ============================================ */

.form-row {
    display: flex;
    gap: 16px;
    margin-bottom: 14px;
}

.form-row--full {
    flex-direction: column;
    gap: 4px;
}

.form-row--double {
    display: flex;
    gap: 16px;
}

.form-row--double .form-group {
    flex: 1;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 4px;
    width: 100%;
}

.form-group label {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    color: #1a1a1a;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 9px 12px;
    font-size: 14px;
    font-family: inherit;
    color: #1a1a1a;
    background: #ffffff;
    border: 1px solid #cccccc;
    border-radius: 6px;
    transition: border-color 0.2s, box-shadow 0.2s;
    outline: none;
    box-sizing: border-box;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: #000000;
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.08);
}

.form-group textarea {
    min-height: 60px;
    resize: vertical;
}

.form-group select {
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%231a1a1a' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    cursor: pointer;
}

.form-row--file input[type="file"] {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

.form-row--file small {
    display: block;
    margin-top: 4px;
    font-size: 11px;
    color: #777;
}

.form-row--checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
}

.form-row--checkbox input[type="checkbox"] {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    accent-color: #000000;
    cursor: pointer;
}

.form-row--checkbox label {
    font-size: 12px;
    font-weight: 400;
    text-transform: none;
    color: #333;
    cursor: pointer;
}

.btn--black {
    display: inline-block;
    width: 100%;
    padding: 12px 20px;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    text-align: center;
    color: #ffffff !important;
    background: #1a1a1a !important;
    border: 1px solid #1a1a1a !important;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.25s, transform 0.1s;
    box-sizing: border-box;
    text-decoration: none;
}

.btn--black:hover {
    background: #000000 !important;
    border-color: #000000 !important;
}

.btn--black:active {
    transform: scale(0.97);
}

/* ============================================
   SERVICE
   ============================================ */

.section-service {
    height: auto;
    padding: 50px 0;
}

.title-service {
    font-size: var(--font-size-9xl);
    font-weight: 700;
    text-align: center;
    margin-top: 50px;
    margin-bottom: 40px;
}

.service-item {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 3fr));
    grid-template-rows: auto auto;
    gap: 10px;
}

.service-block {
    display: flex;
    flex-direction: column;
    background: #ffffff;
    border-radius: 5px;
    padding: 28px 22px 24px;
    box-shadow: 0 8px 35px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.service-block:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 45px rgba(0, 0, 0, 0.15);
}

.service-block img {
    width: 170px;
    height: 100px;
    object-fit: contain;
    margin: 0 auto 16px;
}

.title-small {
    font-size: 1rem;
    font-weight: 600;
    color: #0b1a33;
    margin-bottom: 10px;
    line-height: 1.3;
}

.service-text {
    font-size: 0.85rem;
    line-height: 1.6;
    color: #5a6a7e;
    margin-bottom: 8px;
    flex: 1;
}

.service-price {
    font-size: 1.1rem;
    font-weight: 600;
    color: #0b1a33;
    margin-bottom: 18px;
    display: block;
}

.service-link {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    border: 0;
    cursor: pointer;
    text-decoration: none;
    padding: 11px 18px;
    background: var(--color-primary);
    color: var(--color-accent);
    font-weight: 600;
    font-size: 13px;
    border-radius: 3px;
    transition: background 0.3s, transform 0.1s;
    width: 100%;
    text-align: center;
}

.service-link:hover {
    background: var(--color-primary-light);
}

.service-link:active {
    transform: scale(0.97);
}

/* ============================================
   HOW TO ORDER
   ============================================ */

.section-how-to-order {
    background: var(--color-primary);
    padding: 60px 0 50px;
    color: var(--color-accent);
    scroll-margin-top: 80px;
}

.how-to-order-iner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.title-how-to-order {
    font-size: var(--font-size-9xl);
    font-weight: 700;
    text-align: center;
    margin-bottom: 50px;
    color: var(--color-accent);
}

.how-to-order-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 50px;
}

.how-to-order-block {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 5px;
    padding: 30px 25px;
    text-align: center;
    transition: background 0.3s, transform 0.3s;
}

.how-to-order-block:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-4px);
}

.how-to-order-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.how-to-order-icon svg {
    width: 40px;
    height: 40px;
}

.how-to-order-title {
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 10px;
    color: var(--color-accent);
}

.how-to-order-text {
    font-size: 0.9rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.7);
}

.how-to-order-steps {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 50px;
    padding: 30px 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.how-to-order-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.step-number {
    font-size: 1.5rem;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.15);
}

.step-text {
    font-size: 0.85rem;
    font-weight: 400;
    color: var(--color-accent);
    letter-spacing: 0.3px;
}

.how-to-order-payment {
    text-align: center;
}

.payment-title {
    font-size: 1.2rem;
    font-weight: 500;
    margin-bottom: 20px;
    color: var(--color-accent);
}

.payment-methods {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.payment-method {
    padding: 10px 28px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 5px;
    font-size: 0.9rem;
    font-weight: 400;
    color: var(--color-accent);
    transition: background 0.3s;
}

.payment-method:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* ============================================
   ABOUT
   ============================================ */

.section-about {
    padding: 60px 0 50px;
    background: #f9fafb;
    scroll-margin-top: 80px;
}

.about__inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.title-about {
    font-size: var(--font-size-9xl);
    font-weight: 700;
    color: #0b1a33;
    text-align: center;
    margin-bottom: 40px;
}

.about-content {
    max-width: 900px;
    margin: 0 auto;
}

.about-text {
    font-size: 1rem;
    line-height: 1.8;
    color: #333;
    margin-bottom: 30px;
}

.about-text p {
    margin-bottom: 16px;
}

.about-text-bold {
    font-size: 1.1rem;
    font-weight: 700;
    color: #0b1a33;
}

.about-text strong {
    font-weight: 700;
    color: #0b1a33;
}

.about-benefits {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 10px 30px;
    margin-bottom: 30px;
    background: #ffffff;
    border-radius: 5px;
    padding: 25px 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.about-benefit {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
    line-height: 1.5;
    color: #333;
}

.about-benefit-icon {
    color: #0b1a33;
    font-weight: 900;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.about-slogan {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #e5e7eb;
}

.about-slogan p {
    font-size: 1.2rem;
    font-weight: 700;
    color: #0b1a33;
    letter-spacing: 0.5px;
}

/* ============================================
   LANGUAGES
   ============================================ */

.about-languages {
    margin-top: 50px;
    padding-top: 40px;
    border-top: 1px solid #e5e7eb;
}

.title-languages {
    font-size: var(--font-size-8xl);
    font-weight: 700;
    color: #0b1a33;
    text-align: center;
    margin-bottom: 35px;
}

.title-languages br {
    display: block;
}

.title-languages-all {
    text-align: center;
    font-size: 1.15rem;
    font-weight: 700;
    color: #0b1a33;
    margin: 40px 0 25px;
}

.flags {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    max-width: 720px;
    margin: 0 auto;
    gap: 25px 30px;
    text-align: center;
}

.flag-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.flag-emoji {
    font-size: 36px;
    display: block;
}

.flag-name {
    display: block;
    font-size: 9px;
    font-weight: 600;
    color: #5a6a7e;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.language-columns {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    max-width: 900px;
    margin: 0 auto;
    gap: 25px;
}

.language-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.language-list li {
    font-size: 10px;
    color: #5a6a7e;
    line-height: 1.9;
    padding: 2px 0;
    border-bottom: 1px solid #f0f0f0;
}

.language-list li:last-child {
    border-bottom: none;
}

/* ============================================
   REVIEWS
   ============================================ */

.section-reviews {
    padding: 60px 0 50px;
    background: #f9fafb;
    scroll-margin-top: 80px;
}

.reviews__inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.title-reviews {
    font-size: var(--font-size-9xl);
    font-weight: 700;
    color: #0b1a33;
    text-align: center;
    margin-bottom: 40px;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 20px;
}

.review-card {
    background: #ffffff;
    border-radius: 5px;
    padding: 25px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    transition: transform 0.3s, box-shadow 0.3s;
}

.review-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
}

.review-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 10px;
}

.review-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #0b1a33;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 700;
    flex-shrink: 0;
}

.review-author {
    display: flex;
    flex-direction: column;
}

.review-name {
    font-weight: 700;
    color: #0b1a33;
    font-size: 1rem;
}

.review-date {
    font-size: 0.8rem;
    color: #999;
}

.review-stars {
    color: #ffd700;
    font-size: 1.1rem;
    margin-bottom: 10px;
    letter-spacing: 2px;
}

.review-text {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #555;
    margin: 0;
}

/* ============================================
   CONTACTS
   ============================================ */

.section-contacts {
    padding: 60px 0 50px;
    background: #ffffff;
    scroll-margin-top: 80px;
}

.contacts__inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.title-contacts {
    font-size: var(--font-size-9xl);
    font-weight: 700;
    color: #0b1a33;
    text-align: center;
    margin-bottom: 40px;
}

.contacts-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.contacts-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 18px 20px;
    background: #f9fafb;
    border-radius: 5px;
    transition: background 0.3s;
}

.contact-item:hover {
    background: #f0f2f5;
}

.contact-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    margin-top: 2px;
}

.contact-detail {
    display: flex;
    flex-direction: column;
}

.contact-label {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    color: #999;
    letter-spacing: 0.5px;
}

.contact-value {
    font-size: 1rem;
    font-weight: 600;
    color: #0b1a33;
    text-decoration: none;
}

.contact-value:hover {
    text-decoration: underline;
}

.contacts-map {
    background: #f0f2f5;
    border-radius: 5px;
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.map-placeholder {
    text-align: center;
    color: #999;
}

.map-placeholder span {
    display: block;
    font-size: 3rem;
    margin-bottom: 10px;
}

.map-placeholder p {
    font-size: 0.9rem;
    color: #777;
}

/* ============================================
   FOOTER
   ============================================ */

.footer {
    background: #000000;
    color: rgba(255, 255, 255, 0.8);
    padding: 50px 0 20px;
}

.footer__inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 30px;
}

.footer-logo img {
    max-height: 50px;
    width: auto;
}

.footer-description {
    font-size: 0.9rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 12px;
}

.footer-title {
    font-size: 1rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 16px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 8px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #ffffff;
}

.footer-middle {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 16px 0;
    margin-bottom: 20px;
}

.footer-legal {
    display: flex;
    justify-content: center;
    gap: 40px;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.4);
}

.footer-legal span {
    letter-spacing: 0.3px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.3);
}

.footer-socials {
    display: flex;
    gap: 20px;
}

.social-link {
    color: rgba(255, 255, 255, 0.4);
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.3s;
}

.social-link:hover {
    color: #ffffff;
}

/* ============================================
   ЛИПКИЕ ИКОНКИ СОЦСЕТЕЙ
   ============================================ */

.social-sticky {
    position: fixed;
    right: 20px;
    bottom: 100px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 9998;
}

.social-sticky-link {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #000000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    text-decoration: none;
}

.social-sticky-link:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
}

.social-sticky-link svg {
    width: 24px;
    height: 24px;
    fill: white;
}

/* ============================================
   АДАПТИВ
   ============================================ */

/* ===== ПЛАНШЕТЫ (до 1048px) ===== */
@media (max-width: 1048px) {
    .header--item {
        gap: 10px;
        width: min(1180px, calc(100% - 20px));
    }

    .nav--link {
        font-size: var(--font-size-base);
        padding: 8px 10px;
    }

    .btn--white {
        padding: 8px 12px;
        font-size: 11px;
    }

    .header--contacts {
        font-size: var(--font-size-xs);
    }

    .contact--info {
        font-size: var(--font-size-xs);
    }

    .contact--btn {
        font-size: var(--font-size-base);
    }
}

/* ===== ПЛАНШЕТЫ (до 900px) ===== */
@media (max-width: 900px) {
    /* HEADER */
    .header--item {
        flex-wrap: wrap;
        min-height: 68px;
        gap: 10px;
    }

    .logo img {
        max-height: 40px;
    }

    .burger {
        display: flex;
        order: 2;
    }

    .nav {
        display: none;
        width: 100%;
        order: 5;
        flex-basis: 100%;
    }

    .nav.active {
        display: block;
    }

    .nav--item {
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
        padding: 15px 0;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }

    .nav--list {
        width: 100%;
    }

    .nav--link {
        width: 100%;
        display: block;
        text-align: center;
        padding: 12px 20px;
        font-size: var(--font-size-2xl);
        white-space: normal;
        border-radius: 5px;
        border: 1px solid var(--color-accent);
    }

    .header--contacts {
        order: 3;
        text-align: right;
        font-size: var(--font-size-sm);
        flex: 1;
    }

    .btn--white {
        order: 4;
        padding: 9px 14px;
        font-size: 11px;
        white-space: nowrap;
    }

    .contact--btn {
        font-size: var(--font-size-base);
    }

    /* BURGER ACTIVE */
    .burger.active .burger--line:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .burger.active .burger--line:nth-child(2) {
        opacity: 0;
    }

    .burger.active .burger--line:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }

    /* HERO */
    .hero__inner {
        flex-direction: column;
        align-items: center;
        gap: 30px;
    }

    .hero__visual {
        width: 100%;
        max-width: 450px;
        height: auto;
        min-height: 500px;
    }

    .section-hero {
        height: auto;
        padding-bottom: 60px;
        min-height: auto;
    }

    .title-hero,
    .title-big {
        text-align: center;
    }

    .hero-text,
    .title-big {
        max-width: 100%;
        text-align: center;
    }

    .hero-ul {
        padding-left: 20px;
        font-size: var(--font-size-4xl);
    }

    .hero-li {
        margin-bottom: 10px;
    }

    .stats {
        justify-content: center;
        gap: 30px;
        flex-wrap: wrap;
    }

    /* HOW TO ORDER */
    .how-to-order-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .how-to-order-steps {
        flex-wrap: wrap;
        justify-content: center;
    }

    .how-to-order-step {
        min-width: 80px;
    }

    /* FOOTER */
    .footer-top {
        grid-template-columns: 1fr 1fr;
    }

    .footer-legal {
        flex-wrap: wrap;
        gap: 15px 30px;
        justify-content: center;
        text-align: center;
    }

    /* CONTACTS */
    .contacts-grid {
        grid-template-columns: 1fr;
    }

    /* LANGUAGES */
    .flags {
        grid-template-columns: repeat(4, 1fr);
        max-width: 100%;
    }

    .language-columns {
        grid-template-columns: repeat(3, 1fr);
    }

    .title-languages {
        font-size: var(--font-size-7xl);
    }

    /* SERVICE */
    .service-item {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 16px;
    }

    .service-block {
        padding: 22px 18px 20px;
    }

    .service-block img {
        width: 140px;
        height: 85px;
    }

    /* SOCIAL STICKY */
    .social-sticky {
        right: 12px;
        bottom: 80px;
        gap: 8px;
    }

    .social-sticky-link {
        width: 42px;
        height: 42px;
    }

    .social-sticky-link svg {
        width: 20px;
        height: 20px;
    }
}

/* ===== МОБИЛЬНЫЕ (до 600px) ===== */
@media (max-width: 600px) {
    /* HEADER */
    .header--item {
        min-height: 60px;
        gap: 8px;
        width: min(1180px, calc(100% - 16px));
    }

    .logo img {
        max-height: 35px;
    }

    .burger--line {
        width: 24px;
        height: 2.5px;
    }

    .header--contacts {
        font-size: var(--font-size-xs);
        line-height: 1.3;
    }

    .contact--info {
        font-size: var(--font-size-xs);
    }

    .contact--btn {
        font-size: var(--font-size-base);
    }

    .btn--white {
        padding: 6px 10px;
        font-size: 9px;
        white-space: nowrap;
    }

    .nav--item {
        gap: 8px;
    }

    .nav--link {
        font-size: var(--font-size-xl);
        padding: 10px 16px;
    }

    /* HERO */
    .section-hero {
        padding-top: 60px;
        padding-bottom: 40px;
    }

    .title-hero {
        font-size: var(--font-size-7xl);
    }

    .title-big {
        font-size: var(--font-size-8xl);
    }

    .hero-text {
        font-size: var(--font-size-3xl);
    }

    .hero-ul {
        font-size: var(--font-size-3xl);
        padding-left: 15px;
    }

    .hero__visual {
        padding: 15px;
        min-height: 450px;
    }

    .order-form {
        gap: 6px;
    }

    .stats-text {
        font-size: var(--font-size-7xl);
    }

    .text-small {
        font-size: var(--font-size-xl);
    }

    .stats {
        gap: 20px;
    }

    /* SERVICE */
    .service-item {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .service-block {
        padding: 20px 16px 18px;
    }

    .service-block img {
        width: 120px;
        height: 75px;
    }

    .title-small {
        font-size: 0.95rem;
    }

    .service-text {
        font-size: 0.8rem;
    }

    .service-price {
        font-size: 1rem;
    }

    .service-link {
        padding: 10px 16px;
        font-size: 12px;
    }

    .title-service {
        font-size: var(--font-size-7xl);
        margin-top: 30px;
        margin-bottom: 25px;
    }

    /* HOW TO ORDER */
    .how-to-order-grid {
        grid-template-columns: 1fr;
    }

    .title-how-to-order {
        font-size: var(--font-size-7xl);
        margin-bottom: 30px;
    }

    .how-to-order-title {
        font-size: 1rem;
        font-weight: 500;
    }

    .how-to-order-text {
        font-size: 0.85rem;
    }

    .how-to-order-steps {
        gap: 15px;
        padding: 20px 10px;
    }

    .step-text {
        font-size: 0.8rem;
        font-weight: 400;
    }

    .payment-methods {
        gap: 15px;
        flex-direction: column;
        align-items: center;
    }

    .payment-method {
        width: 100%;
        max-width: 250px;
        text-align: center;
        padding: 8px 20px;
        font-size: 0.85rem;
        font-weight: 400;
    }

    /* ABOUT */
    .section-about {
        padding: 40px 0;
    }

    .title-about {
        font-size: var(--font-size-7xl);
        margin-bottom: 30px;
    }

    .about-text {
        font-size: 0.9rem;
    }

    .about-benefits {
        grid-template-columns: 1fr;
        padding: 16px 20px;
    }

    .about-benefit {
        font-size: 0.85rem;
    }

    .about-slogan p {
        font-size: 1rem;
    }

    /* LANGUAGES */
    .flags {
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
    }

    .flag-emoji {
        font-size: 28px;
    }

    .flag-name {
        font-size: 8px;
    }

    .language-columns {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .language-list li {
        font-size: 9px;
        line-height: 1.7;
    }

    .title-languages {
        font-size: var(--font-size-6xl);
    }

    .title-languages-all {
        font-size: 1rem;
    }

    /* REVIEWS */
    .section-reviews {
        padding: 40px 0;
    }

    .title-reviews {
        font-size: var(--font-size-7xl);
        margin-bottom: 30px;
    }

    .reviews-grid {
        grid-template-columns: 1fr;
    }

    .review-card {
        padding: 18px;
    }

    .review-text {
        font-size: 0.85rem;
    }

    /* CONTACTS */
    .section-contacts {
        padding: 40px 0;
    }

    .title-contacts {
        font-size: var(--font-size-7xl);
        margin-bottom: 30px;
    }

    .contact-item {
        padding: 14px 16px;
    }

    .contact-icon {
        width: 20px;
        height: 20px;
    }

    .contact-value {
        font-size: 0.9rem;
    }

    .contacts-map {
        min-height: 200px;
    }

    /* FOOTER */
    .footer {
        padding: 35px 0 15px;
    }

    .footer-top {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .footer-description {
        font-size: 0.85rem;
    }

    .footer-title {
        font-size: 0.95rem;
    }

    .footer-links a {
        font-size: 0.85rem;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 12px;
        text-align: center;
        font-size: 0.75rem;
    }

    .footer-socials {
        flex-wrap: wrap;
        justify-content: center;
        gap: 12px;
    }

    .social-link {
        font-size: 0.75rem;
    }

    .footer-legal {
        flex-direction: column;
        gap: 6px;
        font-size: 0.75rem;
    }

    /* FORMS */
    .order-form {
        padding: 0;
    }

    .form-row--double {
        flex-direction: column;
        gap: 10px;
    }

    .form-row {
        gap: 10px;
        margin-bottom: 10px;
    }

    .modal {
        width: 95%;
        height: auto;
        min-height: 500px;
        margin: 5% auto;
    }

    .modal-item {
        padding: 6%;
    }

    .title-medium {
        font-size: var(--font-size-3xl);
    }

    /* SOCIAL STICKY */
    .social-sticky {
        right: 10px;
        bottom: 60px;
        gap: 6px;
    }

    .social-sticky-link {
        width: 36px;
        height: 36px;
    }

    .social-sticky-link svg {
        width: 18px;
        height: 18px;
    }
}

/* ===== МАЛЕНЬКИЕ ТЕЛЕФОНЫ (до 390px) ===== */
@media (max-width: 390px) {
    .header--item {
        min-height: 54px;
        gap: 5px;
    }

    .logo img {
        max-height: 30px;
    }

    .burger--line {
        width: 20px;
        height: 2px;
    }

    .header--contacts {
        font-size: 7px;
    }

    .contact--info {
        font-size: 7px;
    }

    .contact--btn {
        font-size: var(--font-size-sm);
    }

    .btn--white {
        padding: 4px 8px;
        font-size: 8px;
    }

    .nav--item {
        gap: 6px;
    }

    .nav--link {
        font-size: var(--font-size-lg);
        padding: 8px 14px;
    }

    .title-hero {
        font-size: var(--font-size-6xl);
    }

    .title-big {
        font-size: var(--font-size-7xl);
    }

    .hero-ul {
        font-size: var(--font-size-2xl);
    }

    .stats-text {
        font-size: var(--font-size-6xl);
    }

    .service-block img {
        width: 100px;
        height: 65px;
    }

    .title-small {
        font-size: 0.9rem;
    }

    .service-text {
        font-size: 0.75rem;
    }

    .service-price {
        font-size: 0.9rem;
    }

    .service-link {
        font-size: 11px;
        padding: 8px 14px;
    }

    .social-sticky {
        right: 8px;
        bottom: 50px;
        gap: 5px;
    }

    .social-sticky-link {
        width: 32px;
        height: 32px;
    }

    .social-sticky-link svg {
        width: 16px;
        height: 16px;
    }
}