:root {
    --color-bg-dark: #ffffff;
    --color-bg-card: #08152f;
    --color-bg-light: #f3f5f8;
    --color-accent-cyan: #00e0ff;
    --color-accent-magenta: #ff00c8;
    --color-text-main: #0f172a;
    --color-text-light: #ffffff;
    --color-muted: #94a3b8;
    --radius-card: 12px;
    --shadow-soft: 0 18px 35px rgba(15, 23, 42, 0.55);
    --transition-fast: 0.25s ease;
    --font-main: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-main);
    background: rgb(238, 238, 238);
    color: var(--color-text-main);
    font-size: 18px;
    line-height: 1.7;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 24px;
}

.page__frame {
    width: 100%;
    max-width: 2000px;
    background: var(--color-bg-dark);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
}

/* Header & navigation */

.site-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 40px;
    background: #ffffff;
    border-bottom: 1px solid rgba(148, 163, 184, 0.25);
    position: relative;
    z-index: 10;
}

.site-header__brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.site-header__logo {
    width: 44px;
    height: 44px;
    border-radius: 0;
    background: radial-gradient(circle at 30% 20%, var(--color-accent-cyan), var(--color-accent-magenta));
}

.site-header__brand-link {
    display: inline-flex;
    align-items: center;
}

.site-header__logo-img {
    height: 56px;
    width: auto;
    display: block;
}

.site-header__title {
    display: flex;
    flex-direction: column;
}

.site-header__name {
    font-size: 20px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-text-main);
}

.site-header__subtitle {
    font-size: 13px;
    color: var(--color-muted);
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 28px;
    font-size: 18px;
    font-weight: 500;
    color: var(--color-text-main);
    text-transform: none;
}

.site-nav__item {
    position: relative;
    cursor: pointer;
    padding-bottom: 2px;
}

.site-nav__item::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    border-radius: 0;
    background: linear-gradient(90deg, var(--color-accent-cyan), var(--color-accent-magenta));
    transition: width var(--transition-fast);
}

.site-nav__item:hover::after {
    width: 100%;
}

.site-nav__item:hover {
    color: var(--color-accent-cyan);
}

.site-header__actions {
    display: none;
    align-items: center;
    gap: 16px;
    color: var(--color-text-main);
}

.icon-button {
    width: 32px;
    height: 32px;
    border-radius: 0;
    border: 1px solid rgba(148, 163, 184, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text-main);
    font-size: 16px;
    cursor: pointer;
    background-color: rgba(148, 163, 184, 0.06);
    transition: background-color var(--transition-fast), border-color var(--transition-fast);
}

.icon-button:hover {
    background-color: rgba(148, 163, 184, 0.12);
    border-color: rgba(148, 163, 184, 0.75);
}

/* Hero */

.hero {
    position: relative;
    background:
        radial-gradient(circle at 20% 10%, rgba(59, 130, 246, 0.4) 0, transparent 55%),
        radial-gradient(circle at 80% 10%, rgba(236, 72, 153, 0.32) 0, transparent 55%),
        radial-gradient(circle at 50% 120%, rgba(56, 189, 248, 0.4) 0, transparent 60%),
        #020617;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 32px 0 56px;
}

.hero__frame {
    width: 72%;
    max-width: 1320px;
    aspect-ratio: 16 / 9;
    border-radius: 0;
    border: 1px solid rgba(148, 163, 184, 0.35);
    background: radial-gradient(circle at 50% 20%, rgba(125, 211, 252, 0.4), transparent 60%), #020617;
    position: relative;
    box-shadow: 0 30px 65px rgba(15, 23, 42, 0.9);
}

.hero__frame--image {
    padding: 0;
    border-radius: 0;
    overflow: hidden;
    border: none;
}

.hero__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hero__content {
    position: absolute;
    left: 6%;
    right: 6%;
    top: 30%;
    max-width: 480px;
    margin: auto;
    color: #f9fafb;
    text-shadow: 0 8px 24px rgba(15, 23, 42, 0.9);
}

.hero__title {
    margin: 0 0 10px;
    text-align: center;
    font-size: clamp(32px, 4vw, 42px);
    line-height: 1.2;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.hero__subtitle {
    margin: 0;
    font-size: 18px;
    line-height: 1.5;
    max-width: 460px;
}

.hero__door {
    position: absolute;
    inset: 12%;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.1), rgba(15, 23, 42, 0.9));
    border-radius: 0;
    border: 1px solid rgba(148, 163, 184, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero__portal {
    width: 38%;
    height: 80%;
    border-radius: 0;
    background:
        linear-gradient(180deg, #0ea5e9, #22c55e 60%, #f97316 100%);
    position: relative;
    box-shadow: 0 0 85px rgba(56, 189, 248, 0.8);
}

.hero__portal::before,
.hero__portal::after {
    content: "";
    position: absolute;
    inset: 10%;
    border-radius: inherit;
    border: 1px solid rgba(15, 23, 42, 0.6);
}

.hero__beam {
    position: absolute;
    inset-inline: -40%;
    top: 18%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--color-accent-cyan), transparent);
    opacity: 0.8;
}

.hero__beam--bottom {
    top: auto;
    bottom: 18%;
    background: linear-gradient(90deg, transparent, var(--color-accent-magenta), transparent);
}

.hero__particle-ring {
    position: absolute;
    inset: -6%;
    border-radius: 50%;
    border: 1px dashed rgba(148, 163, 184, 0.45);
    filter: blur(0.6px);
}

.hero__lines {
    position: absolute;
    inset: 14% 6%;
    display: flex;
    justify-content: space-between;
}

.hero__line {
    width: 4px;
    border-radius: 999px;
    background: linear-gradient(180deg, var(--color-accent-cyan), transparent);
}

.hero__line--magenta {
    background: linear-gradient(180deg, var(--color-accent-magenta), transparent);
}

/* Services section */

.section {
    padding: 64px 40px 72px;
    border-top: 1px solid rgba(148, 163, 184, 0.18);
}

.section--services {
    background: radial-gradient(circle at top left, rgba(56, 189, 248, 0.12), transparent 60%), var(--color-bg-light);
    padding: 48px 40px 60px;
}

.section--services.section {
    border-top: none;
}

.section__title {
    margin: 0 0 20px;
    font-size: 28px;
    font-weight: 600;
    color: #020617;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.section__title::after {
    content: "";
    display: block;
    margin-top: 10px;
    width: 72px;
    height: 3px;
    background: linear-gradient(90deg, var(--color-accent-cyan), var(--color-accent-magenta));
}

.section__intro {
    max-width: 720px;
    font-size: 18px;
    line-height: 1.7;
    color: #4b5563;
}

.section--columns {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    column-gap: 64px;
    row-gap: 28px;
}

.section--columns .section__title {
    grid-column: 1 / -1;
}

.section-columns__list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 12px;
    font-size: 17px;
    color: #4b5563;
}

.section-columns__badge {
    font-weight: 600;
    font-size: 16px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #0ea5e9;
    margin-bottom: 10px;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    margin-top: 24px;
}

.project-card {
    background: #020617;
    color: #e5e7eb;
    padding: 22px 22px 24px;
    box-shadow: 0 18px 35px rgba(15, 23, 42, 0.8);
}

.project-card__label {
    font-size: 13px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #38bdf8;
    margin-bottom: 8px;
}

.project-card__title {
    font-size: 20px;
    margin: 0 0 8px;
}

.project-card__desc {
    font-size: 16px;
    color: #9ca3af;
}

.contact-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    column-gap: 56px;
    row-gap: 28px;
    align-items: start;
}

.contact-card {
    background: #0b1120;
    color: #e5e7eb;
    padding: 22px 24px 26px;
}

.contact-card__row {
    margin-bottom: 12px;
    font-size: 16px;
}

.contact-form {
    display: grid;
    gap: 14px;
    font-size: 16px;
}

.contact-form__field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.contact-form__label {
    font-weight: 500;
    font-size: 16px;
    color: #111827;
}

.contact-form__input,
.contact-form__textarea {
    border: 1px solid rgba(148, 163, 184, 0.7);
    padding: 12px 14px;
    font-family: inherit;
    font-size: 16px;
    background: #f9fafb;
}

.contact-form__textarea {
    min-height: 110px;
    resize: vertical;
}

.contact-form__submit {
    margin-top: 4px;
    width: fit-content;
    padding: 12px 24px;
    border: none;
    background: #0f172a;
    color: #f9fafb;
    font-size: 16px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    cursor: pointer;
}

.contact-form__submit:hover {
    background: var(--color-accent-cyan);
}

.about-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
    column-gap: 56px;
    row-gap: 24px;
    align-items: center;
}

.about-layout__text {
    display: grid;
    gap: 16px;
}

.about-highlights {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 8px;
    font-size: 16px;
    color: #4b5563;
}

.image-placeholder {
    border: 1px dashed rgba(148, 163, 184, 0.7);
    background: repeating-linear-gradient(
        45deg,
        rgba(148, 163, 184, 0.15),
        rgba(148, 163, 184, 0.15) 10px,
        rgba(148, 163, 184, 0.05) 10px,
        rgba(148, 163, 184, 0.05) 20px
    );
    display: flex;
    align-items: center;
    justify-content: center;
    color: #64748b;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.16em;
}

.image-placeholder--about {
    aspect-ratio: 4 / 3;
}

.project-card__thumb {
    margin-bottom: 12px;
    aspect-ratio: 16 / 9;
}

.project-card__thumb-image {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.section--about {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at top right, rgba(244, 114, 182, 0.12), transparent 60%),
        #ffffff;
}

.section--about::before {
    content: "";
    position: absolute;
    inset: -40px auto -40px 0;
    width: 5px;
    background: linear-gradient(180deg, #f97316, #facc15);
}

.section--about .section__intro {
    position: relative;
}

.section--offer {
    background:
        radial-gradient(circle at top, rgba(14, 165, 233, 0.12), transparent 65%),
        #f1f5f9;
}

.section--projects {
    background:
        radial-gradient(circle at top right, rgba(56, 189, 248, 0.14), transparent 55%),
        #f9fafb;
}

.projects-grid .project-card:nth-child(2) {
    background: radial-gradient(circle at top left, rgba(236, 72, 153, 0.26), transparent 55%), #020617;
}

.projects-grid .project-card:nth-child(3) {
    background: radial-gradient(circle at bottom right, rgba(56, 189, 248, 0.26), transparent 55%), #020617;
}

.section--contact {
    position: relative;
    background:
        radial-gradient(circle at bottom left, rgba(0, 0, 0, 0.07), transparent 55%),
        var(--color-bg-light);
}

.section--contact::before {
    content: "";
    position: absolute;
    right: 8%;
    top: -60px;
    width: 160px;
    height: 160px;
    opacity: 0.45;
    pointer-events: none;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.service-card {
    background: var(--color-bg-card);
    border-radius: 0;
    padding: 18px 18px 20px;
    color: var(--color-text-light);
    box-shadow: 0 14px 30px rgba(15, 23, 42, 0.65);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 12px;
    cursor: pointer;
    transition: transform var(--transition-fast), box-shadow var(--transition-fast), translate var(--transition-fast);
}

.service-card::before {
    content: "";
    position: absolute;
    inset-inline: 0;
    bottom: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--color-accent-cyan), var(--color-accent-magenta));
    opacity: 0.45;
    transition: opacity var(--transition-fast);
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 22px 45px rgba(15, 23, 42, 0.85);
}

.service-card:hover::before {
    opacity: 1;
}

.services-grid .service-card:nth-child(1) {
    background: linear-gradient(145deg, #020617, #0b1120);
}

.services-grid .service-card:nth-child(2) {
    background: linear-gradient(145deg, #020617, #111827);
}

.services-grid .service-card:nth-child(3) {
    background: linear-gradient(145deg, #020617, #020617);
}

.services-grid .service-card:nth-child(4) {
    background: linear-gradient(145deg, #020617, #1f2937);
}

.service-card__icon {
    width: 128px;
    height: 128px;
    margin: 0 auto 12px;
    background-image: url("../img/icons.png");
    background-repeat: no-repeat;
    background-size: 256px 256px;
    background-position: 0 0;
}

.service-card__icon--web {
    background-position: 0 0;
}

.service-card__icon--dev {
    background-position: -128px 0;
}

.service-card__icon--cms {
    background-position: 0 -128px;
}

.service-card__icon--support {
    background-position: -128px -128px;
}

.service-card__title {
    font-size: 18px;
    font-weight: 600;
}

.service-card__desc {
    font-size: 15px;
    color: var(--color-muted);
}

/* Form response pages */

body.response-body {
    min-height: 100vh;
    margin: 0;
    background:
        radial-gradient(circle at top left, rgba(56, 189, 248, 0.2), transparent 55%),
        radial-gradient(circle at bottom right, rgba(236, 72, 153, 0.18), transparent 55%),
        #020617;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 18px;
}

.form-response {
    width: 100%;
    max-width: 640px;
}

.form-response__card {
    background: rgba(2, 6, 23, 0.9);
    border: 1px solid rgba(148, 163, 184, 0.2);
    padding: 48px 42px;
    color: #e5e7eb;
    text-align: center;
    box-shadow: 0 30px 65px rgba(15, 23, 42, 0.85);
    position: relative;
    overflow: hidden;
    z-index: 0;
}

.form-response__card::after {
    content: "";
    position: absolute;
    inset: 10px;
    border: 1px solid rgba(148, 163, 184, 0.15);
    pointer-events: none;
    z-index: -1;
}

.form-response__status-icon {
    width: 68px;
    height: 68px;
    border-radius: 50%;
    margin: 0 auto 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: 600;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.65);
}

.form-response__status-icon--success {
    background: linear-gradient(135deg, var(--color-accent-cyan), #22c55e);
    color: #020617;
}

.form-response__status-icon--error {
    background: linear-gradient(135deg, #f97316, var(--color-accent-magenta));
    color: #fef2f2;
}

.form-response__eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.24em;
    font-size: 13px;
    color: #38bdf8;
    margin: 0 0 10px;
}

.form-response__title {
    margin: 0 0 12px;
    font-size: 28px;
}

.form-response__subtitle {
    margin: 0 auto 22px;
    max-width: 480px;
    color: #cbd5f5;
}

.form-response__list {
    list-style: none;
    padding: 0;
    margin: 0 0 24px;
    display: grid;
    gap: 10px;
    text-align: left;
    color: #f87171;
}

.form-response__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    justify-content: center;
}

.form-response__primary,
.form-response__secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    font-size: 13px;
    border: 1px solid transparent;
    transition: background-color var(--transition-fast), color var(--transition-fast), border-color var(--transition-fast);
}

.form-response__primary {
    background: #f8fafc;
    color: #020617;
}

.form-response__primary:hover {
    background: var(--color-accent-cyan);
}

.form-response__secondary {
    border-color: rgba(148, 163, 184, 0.4);
    color: #e5e7eb;
}

.form-response__secondary:hover {
    border-color: rgba(148, 163, 184, 0.8);
    color: var(--color-accent-cyan);
}

.form-response__card a {
    text-decoration: none;
}

@media (max-width: 640px) {
    body.response-body {
        padding: 24px 16px;
    }

    .form-response__card {
        padding: 36px 24px;
    }

    .form-response__actions {
        flex-direction: column;
    }
}

/* Inline popup for AJAX feedback */

body.has-popup {
    overflow: hidden;
}

.form-popup {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    z-index: 2000;
}

.form-popup[hidden] {
    display: none;
}

.form-popup__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(2, 6, 23, 0.8);
    backdrop-filter: blur(4px);
}

.form-popup__card {
    position: relative;
    width: min(480px, 100%);
    background: rgba(2, 6, 23, 0.95);
    border: 1px solid rgba(148, 163, 184, 0.25);
    padding: 34px 32px;
    color: #e2e8f0;
    text-align: center;
    box-shadow: 0 30px 65px rgba(15, 23, 42, 0.85);
    z-index: 1;
}

.form-popup__close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid rgba(148, 163, 184, 0.35);
    background: transparent;
    color: #e2e8f0;
    font-size: 20px;
    cursor: pointer;
    transition: border-color var(--transition-fast), color var(--transition-fast);
}

.form-popup__close:hover {
    border-color: #f8fafc;
    color: #f8fafc;
}

.form-popup__status-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin: 0 auto 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    font-weight: 600;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.65);
    background: var(--color-accent-cyan);
    color: #020617;
}

.form-popup--success .form-popup__status-icon {
    background: linear-gradient(135deg, var(--color-accent-cyan), #22c55e);
    color: #020617;
}

.form-popup--error .form-popup__status-icon {
    background: linear-gradient(135deg, #f59e0b, var(--color-accent-magenta));
    color: #fef2f2;
}

.form-popup__title {
    margin: 0 0 10px;
    font-size: 22px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #f8fafc;
}

.form-popup__message {
    margin: 0;
    color: #cbd5f5;
    line-height: 1.5;
    white-space: pre-line;
}

@media (max-width: 640px) {
    .form-popup__card {
        padding: 28px 22px;
    }
}

/* Footer */

.site-footer {
    display: grid;
    grid-template-columns: 1.2fr 1.6fr 1.2fr;
    gap: 40px;
    padding: 30px 40px 34px;
    background: #020617;
    color: var(--color-text-light);
    font-size: 14px;
}

.site-footer__copy {
    grid-column: 1 / -1;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid rgba(148, 163, 184, 0.3);
    text-align: center;
    font-size: 12px;
    color: #9ca3af;
}

.footer-brand__logo {
    width: 160px;
    height: 160px;
    border-radius: 0;
    overflow: hidden;
    margin-bottom: 0;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.footer-brand__logo-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.footer-brand__name {
    font-size: 18px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 4px;
}

.footer-brand__tagline {
    color: var(--color-muted);
    font-size: 11px;
}

.footer-process__timeline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.footer-process__step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    color: var(--color-muted);
    font-size: 13px;
}

.footer-process__bullet {
    width: 22px;
    height: 22px;
    border-radius: 0;
    border: 1px solid rgba(148, 163, 184, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-process__connector {
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, rgba(148, 163, 184, 0.4), rgba(148, 163, 184, 0.1));
}

.footer-nav__title {
    font-weight: 600;
    margin-bottom: 10px;
    font-size: 15px;
}

.footer-nav__group {
    margin-bottom: 14px;
}

.footer-nav__list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 4px;
    font-size: 14px;
    color: var(--color-muted);
}

.footer-nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 32px;
}

.footer-socials {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.footer-socials__icon {
    width: 24px;
    height: 24px;
    border-radius: 0;
    border: 1px solid rgba(148, 163, 184, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
}

.footer-socials__icon:hover {

}

/* Responsiveness */

@media (max-width: 960px) {
    .page {
        padding: 24px 10px;
    }

    .site-header {
        padding-inline: 20px;
        gap: 16px;
    }

    .site-header__actions {
        display: flex;
    }

    .site-nav {
        position: absolute;
        left: 0;
        right: 0;
        top: 100%;
        padding: 12px 20px 16px;
        background: #ffffff;
        border-bottom: 1px solid rgba(148, 163, 184, 0.25);
        box-shadow: 0 10px 24px rgba(15, 23, 42, 0.12);
        display: none;
        flex-direction: column;
        gap: 12px;
    }

    .site-nav.site-nav--open {
        display: flex;
    }

      .hero__frame {
          width: 90%;
      }

    .hero__title {
        font-size: 30px;
    }

    .hero__subtitle {
        font-size: 17px;
    }

    .section--services {
        padding-inline: 20px;
    }

    .services-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .section--columns {
        grid-template-columns: 1fr;
    }

    .projects-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .about-layout {
        grid-template-columns: 1fr;
        row-gap: 20px;
    }

    .about-layout__media {
        order: -1;
    }

    .site-footer {
        grid-template-columns: 1fr;
        gap: 24px;
        padding-inline: 20px;
    }
}

@media (max-width: 640px) {
    .hero__frame {
        width: 100%;
        border-radius: 0;
    }

    .projects-grid {
        grid-template-columns: 1fr;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }
}
