/* =========================================
   БАЗОВЫЕ СТИЛИ
========================================= */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: #172033;
    background: #ffffff;
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

body.menu-open {
    overflow: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font: inherit;
}

img {
    display: block;
    max-width: 100%;
}

.container {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
}


/* =========================================
   HEADER
========================================= */

.header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid #e5e7eb;
    backdrop-filter: blur(12px);
}

.header__inner {
    min-height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 19px;
    font-weight: 700;
    flex-shrink: 0;
}

.logo__icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    background: #2563eb;
    border-radius: 10px;
    font-size: 14px;
}

.navigation {
    display: flex;
    align-items: center;
    gap: 26px;
}

.navigation a {
    color: #374151;
    font-size: 15px;
    font-weight: 600;
    transition: color 0.2s ease;
}

.navigation a:hover {
    color: #2563eb;
}

.menu-button {
    display: none;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 0;
    border-radius: 8px;
    background: transparent;
    cursor: pointer;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.menu-button span {
    display: block;
    width: 24px;
    height: 2px;
    background: #111827;
    transition: transform 0.2s ease, opacity 0.2s ease;
}


/* =========================================
   HERO
========================================= */

.hero {
    padding: 100px 0 110px;
    background:
        radial-gradient(circle at 80% 20%, rgba(37, 99, 235, 0.12), transparent 35%),
        linear-gradient(135deg, #eff6ff 0%, #ffffff 65%);
}

.hero__content {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(300px, 0.7fr);
    align-items: center;
    gap: 70px;
}

.section-label {
    display: block;
    margin-bottom: 12px;
    color: #2563eb;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hero h1 {
    max-width: 850px;
    margin: 0 0 25px;
    color: #111827;
    font-size: clamp(38px, 6vw, 68px);
    line-height: 1.05;
    letter-spacing: -2px;
}

.hero__text > p {
    max-width: 720px;
    margin: 0 0 32px;
    color: #4b5563;
    font-size: 20px;
}

.hero__card {
    padding: 35px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 18px;
    box-shadow: 0 25px 70px rgba(15, 23, 42, 0.1);
}

.hero__card-icon {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    color: #ffffff;
    background: #2563eb;
    border-radius: 16px;
    font-size: 22px;
    font-weight: 700;
}

.hero__card h2 {
    margin: 0 0 12px;
    font-size: 25px;
}

.hero__card p {
    margin: 0;
    color: #64748b;
}


/* =========================================
   PAGE ICONS (4 иконки)
========================================= */

.page-icons {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    width: 100%;
    max-width: 650px;
    margin: 22px 0;
}

.page-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 56px;
    padding: 8px 10px;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    background: #ffffff;
    color: #111827;
    text-decoration: none;
    transition: border-color 0.2s ease, background 0.2s ease,
                transform 0.2s ease, box-shadow 0.2s ease;
}

.page-icon:hover {
    border-color: #2563eb;
    background: #f8faff;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(37, 99, 235, 0.08);
}

.page-icon[aria-current="page"] {
    border-color: #2563eb;
    background: #eff6ff;
}

.page-icon__image {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 30px;
    width: 30px;
    height: 30px;
}

.page-icon__image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.page-icon__title {
    font-size: 13px;
    font-weight: 600;
    line-height: 1.15;
}


/* =========================================
   HERO FORM
========================================= */

.hero-form {
    width: 100%;
    max-width: 650px;
    margin: 25px 0;
}

.hero-form label {
    display: block;
    margin-bottom: 8px;
    color: #111827;
    font-size: 15px;
    font-weight: 600;
}

.hero-form__row {
    display: flex;
    align-items: stretch;
    gap: 10px;
    width: 100%;
}

.hero-form input {
    /* flex: 1; */
    min-width: 0px;
    height: 54px;
    padding: 0 18px;
    border: 1px solid #d1d5db;
    border-radius: 10px;
    background: #ffffff;
    color: #111827;
    font-family: inherit;
    font-size: 16px;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    width: 100%;
}

.hero-form input::placeholder {
    color: #9ca3af;
}

.hero-form input:focus {
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

.hero-form button {
    height: 54px;
    padding: 0 28px;
    border: none;
    border-radius: 10px;
    background: #2563eb;
    color: #ffffff;
    font-family: inherit;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.hero-form button:hover {
    background: #1d4ed8;
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(37, 99, 235, 0.2);
}

.hero-form button:active {
    transform: translateY(0);
}


/* =========================================
   SECTIONS
========================================= */

.section {
    padding: 100px 0;
}

.section--gray {
    background: #f8fafc;
}

.section h2 {
    margin: 0 0 20px;
    color: #111827;
    font-size: clamp(32px, 4vw, 46px);
    line-height: 1.15;
    letter-spacing: -1px;
}

.section-intro {
    max-width: 750px;
    margin: 0 0 45px;
    color: #64748b;
    font-size: 18px;
}


/* =========================================
   SERVICES
========================================= */

.services {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.service-card {
    padding: 32px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    border-color: #bfdbfe;
    box-shadow: 0 20px 45px rgba(15, 23, 42, 0.08);
}

.service-card__number {
    color: #2563eb;
    font-size: 14px;
    font-weight: 800;
}

.service-card h3 {
    margin: 15px 0 12px;
    font-size: 24px;
}

.service-card p {
    margin: 0;
    color: #64748b;
}

.service-link {
    display: inline-block;
    margin-top: 20px;
    color: #2563eb;
    font-weight: 700;
}

.service-link:hover {
    text-decoration: underline;
}


/* =========================================
   ADVANTAGES
========================================= */

.advantages {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 35px 50px;
}

.advantage {
    display: grid;
    grid-template-columns: 60px 1fr;
    gap: 20px;
    padding-top: 25px;
    border-top: 1px solid #e5e7eb;
}

.advantage__icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #2563eb;
    background: #dbeafe;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 800;
}

.advantage h3 {
    margin: 0 0 8px;
    font-size: 21px;
}

.advantage p {
    margin: 0;
    color: #64748b;
}


/* =========================================
   TECHNOLOGIES
========================================= */

.technologies {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.technologies span {
    padding: 12px 18px;
    color: #1e3a8a;
    background: #dbeafe;
    border-radius: 8px;
    font-weight: 700;
}


/* =========================================
   PORTFOLIO
========================================= */

.portfolio {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 25px;
}

.portfolio-card {
    overflow: hidden;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 15px;
}

.portfolio-card__image {
    min-height: 260px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    background: linear-gradient(135deg, #2563eb, #60a5fa);
    font-size: 28px;
    font-weight: 800;
}

.portfolio-card__image--dark {
    background: linear-gradient(135deg, #111827, #334155);
}

.portfolio-card__content {
    padding: 28px;
}

.portfolio-card__content > span {
    color: #2563eb;
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
}

.portfolio-card h3 {
    margin: 8px 0;
    font-size: 24px;
}

.portfolio-card p {
    margin: 0;
    color: #64748b;
}


/* =========================================
   PROCESS
========================================= */

.process {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 20px;
}

.process-step {
    padding-top: 20px;
    border-top: 2px solid #2563eb;
}

.process-step > span {
    color: #2563eb;
    font-size: 14px;
    font-weight: 800;
}

.process-step h3 {
    margin: 12px 0 8px;
    font-size: 19px;
}

.process-step p {
    margin: 0;
    color: #64748b;
    font-size: 15px;
}


/* =========================================
   FAQ
========================================= */

.faq-container {
    max-width: 900px;
}

.faq details {
    border-bottom: 1px solid #e5e7eb;
}

.faq summary {
    padding: 22px 0;
    cursor: pointer;
    font-size: 18px;
    font-weight: 700;
    list-style: none;
}

.faq summary::-webkit-details-marker {
    display: none;
}

.faq summary::after {
    content: "+";
    float: right;
    color: #2563eb;
    font-size: 24px;
}

.faq details[open] summary::after {
    content: "−";
}

.faq p {
    max-width: 750px;
    margin: 0 0 22px;
    color: #64748b;
}


/* =========================================
   CONTACTS
========================================= */

.contact-section {
    background: linear-gradient(135deg, #eff6ff, #ffffff);
}

.contact-section > .container > p {
    max-width: 650px;
    color: #64748b;
    font-size: 18px;
}

.contacts {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
    margin-top: 30px;
}

.contacts a {
    color: #2563eb;
    font-size: 20px;
    font-weight: 800;
}

.contacts a:hover {
    text-decoration: underline;
}


/* =========================================
   FOOTER
========================================= */

.footer {
    padding: 60px 0 25px;
    color: #cbd5e1;
    background: #0f172a;
}

.footer__inner {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 50px;
}

.logo--footer {
    color: #ffffff;
}

.footer__company p {
    max-width: 350px;
    color: #94a3b8;
}

.footer__links {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
}

.footer__links h3 {
    margin: 0 0 8px;
    color: #ffffff;
    font-size: 16px;
}

.footer__links a {
    color: #94a3b8;
    transition: color 0.2s ease;
}

.footer__links a:hover {
    color: #ffffff;
}

.footer__bottom {
    margin-top: 45px;
    padding-top: 20px;
    border-top: 1px solid #1e293b;
}

.footer__bottom p {
    margin: 0;
    color: #64748b;
    font-size: 14px;
}


/* =========================================
   COOKIE NOTICE
========================================= */

.cookie-notice {
    position: fixed;
    left: 20px;
    right: 20px;
    bottom: 20px;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 18px;
    max-width: 980px;
    margin: 0 auto;
    padding: 18px 22px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.15);
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.cookie-notice.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.cookie-notice__text {
    flex: 1 1 460px;
    color: #374151;
    font-size: 14px;
    line-height: 1.5;
}

.cookie-notice__text strong {
    color: #111827;
}

.cookie-notice__text a {
    color: #2563eb;
    text-decoration: underline;
}

.cookie-notice__actions {
    display: flex;
    gap: 10px;
    flex: 0 0 auto;
}

.cookie-notice__btn {
    height: 42px;
    padding: 0 20px;
    border-radius: 8px;
    border: 1px solid transparent;
    font: inherit;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.cookie-notice__btn--accept {
    background: #2563eb;
    color: #ffffff;
}

.cookie-notice__btn--accept:hover {
    background: #1d4ed8;
}

.cookie-notice__btn--decline {
    background: transparent;
    color: #374151;
    border-color: #d1d5db;
}

.cookie-notice__btn--decline:hover {
    background: #f3f4f6;
}


/* =========================================
   TRUST
========================================= */

.trust {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
    margin-top: 35px;
}

.trust__item {
    padding: 22px 20px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    text-align: center;
}

.trust__value {
    display: block;
    margin-bottom: 6px;
    color: #2563eb;
    font-size: 28px;
    font-weight: 800;
    line-height: 1;
}

.trust__label {
    color: #64748b;
    font-size: 13px;
    font-weight: 600;
}


/* =========================================
   PRICING
========================================= */

.pricing {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    margin-top: 40px;
}

.price-card {
    display: flex;
    flex-direction: column;
    padding: 32px 28px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 18px;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.price-card:hover {
    transform: translateY(-4px);
    border-color: #bfdbfe;
    box-shadow: 0 20px 45px rgba(15, 23, 42, 0.08);
}

.price-card--featured {
    border-color: #2563eb;
    box-shadow: 0 20px 50px rgba(37, 99, 235, 0.12);
    position: relative;
}

.price-card--featured::before {
    content: "Популярный";
    position: absolute;
    top: -12px;
    left: 28px;
    padding: 4px 12px;
    background: #2563eb;
    color: #ffffff;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
}

.price-card__title {
    margin: 0 0 8px;
    font-size: 22px;
}

.price-card__desc {
    margin: 0 0 20px;
    color: #64748b;
    font-size: 15px;
}

.price-card__amount {
    color: #111827;
    font-size: 34px;
    font-weight: 800;
    line-height: 1;
}

.price-card__amount span {
    color: #64748b;
    font-size: 15px;
    font-weight: 600;
}

.price-card__list {
    margin: 24px 0 28px;
    padding: 0;
    list-style: none;
    flex: 1;
}

.price-card__list li {
    position: relative;
    padding-left: 26px;
    margin-bottom: 10px;
    color: #374151;
    font-size: 15px;
}

.price-card__list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    color: #10b981;
    font-weight: 800;
}

.price-card .button {
    width: 100%;
}


/* =========================================
   BUTTON
========================================= */

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 0 25px;
    color: #ffffff;
    background: #2563eb;
    border: 2px solid #2563eb;
    border-radius: 8px;
    font-weight: 700;
    text-decoration: none;
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.button:hover {
    background: #1d4ed8;
    border-color: #1d4ed8;
    transform: translateY(-2px);
}

.button--outline {
    color: #2563eb;
    background: transparent;
}

.button--outline:hover {
    color: #ffffff;
}


/* =========================================
   BLOG
========================================= */

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    margin-top: 40px;
}

.blog-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.blog-card:hover {
    transform: translateY(-4px);
    border-color: #bfdbfe;
    box-shadow: 0 20px 45px rgba(15, 23, 42, 0.08);
}

.blog-card__image {
    min-height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 22px;
    font-weight: 800;
    background: linear-gradient(135deg, #2563eb, #60a5fa);
}

.blog-card__body {
    padding: 22px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.blog-card__date {
    color: #64748b;
    font-size: 13px;
    margin-bottom: 8px;
}

.blog-card h3 {
    margin: 0 0 10px;
    font-size: 19px;
    line-height: 1.3;
}

.blog-card p {
    margin: 0 0 16px;
    color: #64748b;
    font-size: 15px;
    flex: 1;
}

.blog-card__link {
    color: #2563eb;
    font-weight: 700;
    font-size: 15px;
}

.blog-card__link:hover {
    text-decoration: underline;
}


/* =========================================
   ARTICLE
========================================= */

.article {
    max-width: 800px;
    margin: 0 auto;
}

.article h1 {
    margin: 0 0 16px;
    font-size: clamp(30px, 4.5vw, 44px);
    line-height: 1.15;
    letter-spacing: -1px;
}

.article__meta {
    margin-bottom: 30px;
    color: #64748b;
    font-size: 14px;
}

.article h2 {
    margin: 40px 0 16px;
    font-size: 26px;
}

.article h3 {
    margin: 30px 0 12px;
    font-size: 20px;
}

.article p,
.article li {
    color: #374151;
    font-size: 17px;
    line-height: 1.7;
}

.article ul,
.article ol {
    padding-left: 22px;
}

.article blockquote {
    margin: 25px 0;
    padding: 18px 22px;
    background: #eff6ff;
    border-left: 4px solid #2563eb;
    border-radius: 8px;
    color: #1e3a8a;
}


/* =========================================
   CONTACTS PAGE
========================================= */

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 40px;
}

.contact-card {
    padding: 30px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
}

.contact-card h3 {
    margin: 0 0 18px;
    font-size: 22px;
}

.contact-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.contact-list li {
    margin-bottom: 14px;
    color: #374151;
    font-size: 16px;
}

.contact-list a {
    color: #2563eb;
    font-weight: 700;
}

.contact-list a:hover {
    text-decoration: underline;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact-form label {
    display: block;
    margin-bottom: 6px;
    font-size: 14px;
    font-weight: 600;
    color: #111827;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #d1d5db;
    border-radius: 10px;
    background: #ffffff;
    color: #111827;
    font-family: inherit;
    font-size: 15px;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.contact-form textarea {
    min-height: 130px;
    resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

.contact-form .button {
    align-self: flex-start;
}


/* =========================================
   SEO TEXT
========================================= */

.seo-text {
    max-width: 900px;
    margin: 0 auto;
}

.seo-text h2 {
    margin: 0 0 18px;
    font-size: clamp(26px, 3.5vw, 36px);
}

.seo-text h3 {
    margin: 32px 0 12px;
    font-size: 20px;
    color: #111827;
}

.seo-text p {
    margin: 0 0 16px;
    color: #374151;
    font-size: 16px;
    line-height: 1.75;
}

.seo-text ul,
.seo-text ol {
    margin: 0 0 18px;
    padding-left: 22px;
    color: #374151;
}

.seo-text li {
    margin-bottom: 8px;
    line-height: 1.7;
}


/* =========================================
   LEGAL
========================================= */

.legal {
    max-width: 800px;
    margin: 0 auto;
}

.legal h2 {
    margin: 35px 0 14px;
    font-size: 24px;
}

.legal p,
.legal li {
    color: #374151;
    font-size: 16px;
}


/* =========================================
   ACCESSIBILITY
========================================= */

a:focus-visible,
button:focus-visible,
summary:focus-visible {
    outline: 3px solid #93c5fd;
    outline-offset: 3px;
}


/* =========================================
   TABLET
========================================= */

@media (max-width: 950px) {

    .navigation {
        gap: 16px;
    }

    .navigation a {
        font-size: 14px;
    }

    .hero__content {
        grid-template-columns: 1fr;
        gap: 45px;
    }

    .hero__card {
        max-width: 500px;
    }

    .process {
        grid-template-columns: repeat(3, 1fr);
    }

    .footer__inner {
        grid-template-columns: 1fr 1fr;
    }

    .pricing {
        grid-template-columns: 1fr;
    }

    .blog-grid {
        grid-template-columns: 1fr;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

}


/* =========================================
   MOBILE MENU
========================================= */

@media (max-width: 780px) {

    .header__inner {
        min-height: 70px;
    }

    .menu-button {
        display: flex;
    }

    .navigation {
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        display: none;
        padding: 20px;
        background: #ffffff;
        border-bottom: 1px solid #e5e7eb;
        box-shadow: 0 15px 30px rgba(15, 23, 42, 0.08);
        flex-direction: column;
        align-items: stretch;
        gap: 0;
    }

    .navigation.is-open {
        display: flex;
    }

    .navigation a {
        padding: 14px 10px;
        border-bottom: 1px solid #f1f5f9;
        font-size: 16px;
    }

    .navigation a:last-child {
        border-bottom: 0;
    }

    .hero {
        padding: 75px 0 80px;
    }

    .hero h1 {
        letter-spacing: -1px;
    }

    .services,
    .advantages,
    .portfolio {
        grid-template-columns: 1fr;
    }

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

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

}


/* =========================================
   SMALL MOBILE
========================================= */

@media (max-width: 520px) {

    .container {
        width: min(100% - 30px, 1180px);
    }

    .section {
        padding: 70px 0;
    }

    .hero {
        padding: 60px 0 70px;
    }

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

    .hero__text > p {
        font-size: 17px;
    }

    .hero__card {
        padding: 25px;
    }

    .process {
        grid-template-columns: 1fr;
    }

    .footer__inner {
        grid-template-columns: 1fr;
    }

    .cookie-notice {
        left: 12px;
        right: 12px;
        bottom: 12px;
        padding: 16px;
    }

    .cookie-notice__actions {
        width: 100%;
    }

    .cookie-notice__btn {
        flex: 1;
    }

    .hero-form__row {
        flex-direction: column;
    }

    .hero-form input,
    .hero-form button {
        width: 100%;
    }

    .page-icons {
        grid-template-columns: repeat(4, 1fr);
        gap: 5px;
    }

    .page-icon {
        flex-direction: column;
        gap: 4px;
        min-height: 70px;
        padding: 7px 3px;
    }

    .page-icon__image {
        flex: 0 0 25px;
        width: 25px;
        height: 25px;
    }

    .page-icon__title {
        font-size: 9px;
        line-height: 1.1;
        text-align: center;
    }

}
/* =========================================
   PAGE HEADER (для новых страниц)
========================================= */

.page-header {
    padding: 80px 0 60px;
    background:
        radial-gradient(circle at 80% 20%, rgba(37, 99, 235, 0.1), transparent 35%),
        linear-gradient(135deg, #eff6ff 0%, #ffffff 65%);
}

.page-header h1 {
    max-width: 900px;
    margin: 0 0 20px;
    color: #111827;
    font-size: clamp(34px, 5vw, 56px);
    line-height: 1.1;
    letter-spacing: -1.5px;
}

.page-header .section-intro {
    margin: 0;
}

@media (max-width: 600px) {
    .page-header {
        padding: 55px 0 40px;
    }
}
/* =========================================
   CONTACT SUCCESS
========================================= */

.contact-success {
    display: block;
    padding: 40px 32px;
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    border-radius: 16px;
    text-align: center;
    animation: contactSuccessIn 0.4s ease-out;
}

.contact-success[hidden] {
    display: none;
}

@keyframes contactSuccessIn {
    from {
        opacity: 0;
        transform: translateY(15px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.contact-success__icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #10b981;
    color: #ffffff;
    font-size: 36px;
    font-weight: 800;
    border-radius: 50%;
    box-shadow: 0 10px 25px rgba(16, 185, 129, 0.25);
}

.contact-success__title {
    margin: 0 0 12px;
    color: #065f46;
    font-size: 26px;
    font-weight: 800;
    line-height: 1.2;
}

.contact-success__text {
    margin: 0 auto 28px;
    max-width: 480px;
    color: #065f46;
    font-size: 16px;
    line-height: 1.6;
}

.contact-success__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

@media (max-width: 600px) {
    .contact-success {
        padding: 30px 22px;
    }

    .contact-success__title {
        font-size: 22px;
    }

    .contact-success__actions {
        flex-direction: column;
    }

    .contact-success__actions .button {
        width: 100%;
        box-sizing: border-box;
    }
}