:root {
    --blue: #123b7a;
    --blue-deep: #082653;
    --blue-dark: #071f45;
    --blue-soft: #eef6ff;
    --blue-line: #d8e7f7;
    --yellow: #f5c843;
    --yellow-soft: #fff4cf;
    --success: #1f9d61;
    --warning: #9a6a00;
    --page: #f6f9fc;
    --white: #ffffff;
    --text: #253247;
    --muted: #667085;
    --benefit: #727b8a;
    --shadow-subtle: 0 14px 34px rgba(12, 43, 89, 0.08);
    --shadow-hover: 0 22px 48px rgba(12, 43, 89, 0.14);
    --radius-card: 18px;
    --radius-soft: 14px;
    --footer-height: 134px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 118px;
}

body {
    margin: 0;
    min-height: 100vh;
    padding-top: 94px;
    padding-bottom: 0;
    background: var(--page);
    color: var(--text);
    font-family: "Source Sans 3", Arial, sans-serif;
}

img,
svg {
    display: block;
}

img {
    max-width: 100%;
}

a {
    color: inherit;
}

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    width: 100%;
    background: linear-gradient(135deg, var(--blue-deep), var(--blue));
    box-shadow: 0 14px 36px rgba(7, 31, 69, 0.22);
    transition: box-shadow 0.2s ease, background 0.2s ease;
}

.navbar.is-scrolled {
    background: linear-gradient(135deg, #061d40, var(--blue-deep));
    box-shadow: 0 16px 40px rgba(7, 31, 69, 0.28);
}

.nav-container {
    width: min(1180px, calc(100% - 34px));
    min-height: 94px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: 34px;
}

.brand {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.nav-logo {
    width: clamp(150px, 15vw, 205px);
    max-height: 58px;
    object-fit: contain;
}

.main-nav ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    align-items: center;
    gap: 12px 28px;
}

.main-nav a {
    position: relative;
    display: inline-flex;
    padding: 12px 0;
    color: var(--white);
    text-decoration: none;
    font-family: "Montserrat", Arial, sans-serif;
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
}

.main-nav a::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 4px;
    width: 70%;
    height: 2px;
    background: var(--yellow);
    border-radius: 999px;
    transform: translateX(-50%) scaleX(0);
    transform-origin: center;
    transition: transform 0.22s ease;
}

.main-nav a:hover::after,
.main-nav a:focus-visible::after {
    transform: translateX(-50%) scaleX(1);
}

.section {
    padding: 58px 0 70px;
}

.soft-section {
    background: linear-gradient(180deg, #f8fbff 0%, #f4f8fc 100%);
}

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

.section-heading {
    width: min(1180px, calc(100% - 34px));
    margin: 0 auto 42px;
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: center;
    gap: 12px;
    text-align: center;
}

.section-heading img {
    flex: 0 0 auto;
    width: 36px;
    height: 36px;
    object-fit: contain;
    border-radius: 50%;
}

.section-heading h2 {
    position: relative;
    min-width: 0;
    margin: 0;
    color: var(--blue);
    font-family: "Montserrat", Arial, sans-serif;
    font-size: clamp(2rem, 4vw, 2.5rem);
    font-weight: 700;
    line-height: 1.08;
}

.section-heading h2::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -13px;
    width: 78%;
    max-width: 150px;
    height: 4px;
    background: var(--yellow);
    border-radius: 999px;
    transform: translateX(-50%);
}

.hero-section {
    position: relative;
    min-height: calc(100vh - 250px);
    overflow: hidden;
    padding-top: 22px;
    padding-bottom: 34px;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.88), rgba(238, 246, 255, 0.74)),
        linear-gradient(120deg, #dcecff 0%, #f6fbff 45%, #e8f3ff 100%);
}

.hero-section .section-heading {
    margin-bottom: 20px;
}

.hero-section::before,
.hero-section::after {
    content: "";
    position: absolute;
    pointer-events: none;
    border: 1px solid rgba(18, 59, 122, 0.1);
    transform: rotate(18deg);
}

.hero-section::before {
    width: 520px;
    height: 520px;
    top: -190px;
    right: -170px;
    border-radius: 42px;
}

.hero-section::after {
    width: 260px;
    height: 260px;
    left: -90px;
    bottom: 40px;
    border-radius: 32px;
}

.hero-content {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.8fr);
    align-items: center;
    gap: 32px;
}

.hero-copy h1 {
    max-width: 780px;
    margin: 0;
    color: var(--blue);
    font-family: "Montserrat", Arial, sans-serif;
    font-size: clamp(2.2rem, 3.72vw, 3.7rem);
    font-weight: 800;
    line-height: 1.05;
}

.lead {
    max-width: 690px;
    margin: 14px 0 0;
    color: #3d4b5f;
    font-size: clamp(1.16rem, 2vw, 1.42rem);
    line-height: 1.6;
}

.cta-copy {
    margin: 16px 0 0;
    color: var(--blue-deep);
    font-family: "Montserrat", Arial, sans-serif;
    font-size: clamp(1.1rem, 1.6vw, 1.28rem);
    font-weight: 700;
}

.button-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px;
    margin-top: 14px;
}

.button-row.centered {
    justify-content: center;
}

.btn {
    min-height: 50px;
    padding: 0 30px;
    border: 1px solid transparent;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--blue-deep);
    background: var(--yellow);
    box-shadow: 0 10px 24px rgba(245, 200, 67, 0.22);
    cursor: pointer;
    text-decoration: none;
    font-family: "Montserrat", Arial, sans-serif;
    font-size: 0.96rem;
    font-weight: 700;
    line-height: 1;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.btn:disabled {
    cursor: wait;
    opacity: 0.78;
    transform: none;
}

.btn:hover,
.btn:focus-visible {
    color: var(--white);
    background: var(--blue);
    border-color: var(--blue);
    box-shadow: 0 16px 30px rgba(18, 59, 122, 0.24);
    transform: translateY(-2px);
}

.btn-outline {
    color: var(--blue);
    background: rgba(255, 255, 255, 0.72);
    border-color: rgba(18, 59, 122, 0.28);
    box-shadow: none;
}

.btn-outline:hover,
.btn-outline:focus-visible {
    color: var(--white);
    background: var(--blue);
}

.hero-visual {
    position: relative;
    min-height: 270px;
    display: grid;
    place-items: center;
}

.hero-mark {
    position: relative;
    z-index: 2;
    width: min(235px, 70vw);
    aspect-ratio: 1;
    padding: 30px;
    display: grid;
    place-items: center;
    border-radius: 34px;
    background: rgba(255, 255, 255, 0.76);
    border: 1px solid rgba(18, 59, 122, 0.1);
    box-shadow: var(--shadow-subtle);
}

.hero-mark img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.hero-orbit {
    position: absolute;
    border: 1px solid rgba(18, 59, 122, 0.12);
    border-radius: 38px;
    transform: rotate(-16deg);
}

.hero-orbit-one {
    width: 270px;
    height: 270px;
}

.hero-orbit-two {
    width: 188px;
    height: 188px;
    background: rgba(245, 200, 67, 0.08);
}

.card {
    border-radius: var(--radius-card);
    background: var(--white);
    border: 1px solid var(--blue-line);
    box-shadow: var(--shadow-subtle);
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.card:hover {
    border-color: rgba(18, 59, 122, 0.18);
    box-shadow: var(--shadow-hover);
    transform: translateY(-5px);
}

.eyebrow {
    display: inline-flex;
    margin-bottom: 12px;
    color: var(--benefit);
    font-family: "Montserrat", Arial, sans-serif;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.about-content,
.services-content {
    display: grid;
    gap: 38px;
}

.about-intro {
    padding: 34px;
}

.about-intro h3,
.news-panel h3,
.contact-info-panel h3,
.contact-form-panel h3 {
    margin: 0 0 16px;
    color: var(--blue);
    font-family: "Montserrat", Arial, sans-serif;
    font-size: clamp(1.8rem, 3vw, 2.35rem);
    font-weight: 700;
    line-height: 1.15;
}

.about-intro p,
.identity-card p,
.text-list li,
.news-panel p,
.contact-info-panel p,
.contact-form-text,
.service-block p,
.contact-points span {
    color: var(--muted);
    font-size: 1.04rem;
    line-height: 1.68;
}

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

.identity-card {
    padding: 24px;
}

.media-title,
.service-card-title {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: center;
    gap: 12px;
    text-align: center;
}

.media-title img {
    flex: 0 0 auto;
    width: 38px;
    height: 38px;
    object-fit: cover;
    border-radius: 10px;
}

.media-title h3 {
    min-width: 0;
    margin: 0;
    color: var(--blue);
    font-family: "Montserrat", Arial, sans-serif;
    font-size: 1.4rem;
    font-weight: 700;
}

.identity-card p,
.identity-card .text-list li {
    font-size: 0.98rem;
}

.text-list {
    margin: 18px 0 0;
    padding-left: 20px;
}

.text-list li + li {
    margin-top: 10px;
}

.service-group {
    display: grid;
    gap: 24px;
}

.service-group-title {
    margin: 0;
    color: var(--blue-deep);
    font-family: "Montserrat", Arial, sans-serif;
    font-size: 1.55rem;
    font-weight: 800;
    text-align: center;
    text-transform: uppercase;
}

.service-cards {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: stretch;
    gap: 24px;
}

.service-card {
    padding: 26px;
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.service-card-title img {
    flex: 0 0 auto;
    width: 36px;
    height: 36px;
    object-fit: contain;
    border-radius: 50%;
}

.service-card-title h4 {
    min-width: 0;
    margin: 0;
    color: var(--blue);
    font-family: "Montserrat", Arial, sans-serif;
    font-size: clamp(1.86rem, 3vw, 2.1rem);
    font-weight: 700;
    line-height: 1.12;
}

.service-image {
    width: 100%;
    height: 240px;
    object-fit: cover;
    border-radius: 16px;
    border: 1px solid var(--blue-line);
}

.service-block {
    display: grid;
    gap: 10px;
    padding-top: 2px;
}

.service-block h5 {
    position: relative;
    margin: 0;
    padding-left: 16px;
    color: var(--blue-deep);
    font-family: "Montserrat", Arial, sans-serif;
    font-size: 1.25rem;
    font-weight: 600;
    line-height: 1.3;
}

.service-block h5::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.18em;
    width: 4px;
    height: 22px;
    background: var(--yellow);
    border-radius: 999px;
}

.service-block p {
    margin: 0;
    font-size: 1.02rem;
}

.benefits-title {
    color: #343d4e;
    font-family: "Montserrat", Arial, sans-serif;
    font-size: 1rem;
    font-weight: 700;
}

.benefits-list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 8px;
}

.benefits-list li {
    display: grid;
    grid-template-columns: 18px 1fr;
    gap: 8px;
    align-items: start;
    color: var(--benefit);
    font-size: 1rem;
    line-height: 1.4;
}

.check-icon {
    width: 18px;
    height: 18px;
    display: inline-grid;
    place-items: center;
    border-radius: 50%;
    color: var(--white);
    background: var(--blue);
    font-size: 0.72rem;
    font-weight: 800;
    line-height: 1;
}

.cta-panel {
    padding: 32px 24px;
    display: grid;
    justify-items: center;
    text-align: center;
    border-radius: var(--radius-card);
    background: linear-gradient(135deg, #eaf4ff, #f8fbff);
    border: 1px solid var(--blue-line);
    box-shadow: var(--shadow-subtle);
}

.cta-panel p {
    margin: 0;
    color: var(--blue-deep);
    font-family: "Montserrat", Arial, sans-serif;
    font-size: clamp(1.3rem, 2.4vw, 1.8rem);
    font-weight: 700;
    line-height: 1.28;
}

.news-panel {
    padding: 34px;
    text-align: center;
}

.news-content {
    display: grid;
    gap: 24px;
}

.news-card {
    max-width: 920px;
    margin: 0 auto;
    padding: 28px;
    display: grid;
    gap: 22px;
}

.news-card-image {
    width: auto;
    max-width: min(100%, 560px);
    max-height: 340px;
    margin: 0 auto;
    object-fit: contain;
    border-radius: 16px;
    border: 1px solid var(--blue-line);
    background: #f8fbff;
}

.news-card-body {
    display: grid;
    gap: 14px;
}

.news-card h3 {
    position: relative;
    margin: 0;
    padding-left: 16px;
    color: var(--blue);
    font-family: "Montserrat", Arial, sans-serif;
    font-size: clamp(1.7rem, 3vw, 2.1rem);
    font-weight: 700;
    line-height: 1.18;
}

.news-card h3::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.16em;
    width: 4px;
    height: 24px;
    background: var(--yellow);
    border-radius: 999px;
}

.news-card p {
    margin: 0;
    color: var(--muted);
    font-size: 1.04rem;
    line-height: 1.68;
}

.contact-section {
    padding-bottom: 92px;
}

.contact-intro {
    max-width: 820px;
    margin: 0 auto 34px;
    text-align: center;
}

.contact-intro p {
    margin: 0;
    color: var(--text);
    font-size: clamp(1.16rem, 2vw, 1.38rem);
    line-height: 1.55;
}

.contact-layout {
    display: grid;
    grid-template-columns: minmax(280px, 0.82fr) minmax(340px, 1.18fr);
    gap: 26px;
    align-items: stretch;
}

.contact-info-panel {
    padding: 34px;
    border-radius: var(--radius-card);
    color: var(--white);
    background: linear-gradient(150deg, var(--blue-deep), var(--blue));
    box-shadow: 0 18px 42px rgba(7, 31, 69, 0.18);
}

.contact-info-panel h3,
.contact-info-panel p {
    color: var(--white);
}

.contact-points {
    margin-top: 26px;
    display: grid;
    gap: 14px;
}

.contact-points div {
    padding: 15px 16px;
    display: grid;
    gap: 5px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.contact-points strong {
    color: var(--yellow);
    font-family: "Montserrat", Arial, sans-serif;
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
}

.contact-points span {
    color: rgba(255, 255, 255, 0.88);
    font-size: 0.98rem;
}

.contact-form-panel {
    padding: 34px;
    scroll-margin-top: 124px;
}

.form-logo {
    width: min(100%, 300px);
    max-height: 112px;
    margin: 0 auto 22px;
    object-fit: contain;
}

.contact-form {
    display: grid;
    gap: 18px;
}

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

.form-field {
    display: grid;
    gap: 8px;
}

.form-field label {
    color: var(--blue-deep);
    font-family: "Montserrat", Arial, sans-serif;
    font-size: 0.92rem;
    font-weight: 700;
}

.form-field input,
.form-field textarea {
    width: 100%;
    border: 1px solid #d4dfec;
    border-radius: 14px;
    padding: 14px 15px;
    color: var(--text);
    background: var(--white);
    font: inherit;
    font-size: 1rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.form-field textarea {
    min-height: 150px;
    resize: vertical;
}

.form-field input:focus,
.form-field textarea:focus {
    outline: none;
    border-color: var(--blue);
    box-shadow: 0 0 0 4px rgba(18, 59, 122, 0.12);
}

.form-field input.field-error,
.form-field textarea.field-error {
    border-color: #d69700;
    background: #fffaf0;
}

.contact-submit {
    width: fit-content;
}

.form-alert {
    margin: 0 0 18px;
    padding: 14px 16px;
    display: grid;
    grid-template-columns: 28px 1fr;
    gap: 10px;
    align-items: center;
    border-radius: 14px;
    animation: alertIn 0.25s ease;
}

.form-alert[hidden] {
    display: none;
}

.form-alert span {
    width: 28px;
    height: 28px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: var(--white);
    font-weight: 800;
}

.form-alert p {
    margin: 0;
    font-weight: 700;
    line-height: 1.45;
}

.form-alert.success {
    background: rgba(31, 157, 97, 0.12);
    border: 1px solid rgba(31, 157, 97, 0.22);
    color: #12663d;
}

.form-alert.success span {
    background: var(--success);
}

.form-alert.error {
    background: var(--yellow-soft);
    border: 1px solid rgba(245, 200, 67, 0.56);
    color: var(--warning);
}

.form-alert.error span {
    background: #d69700;
}

@keyframes alertIn {
    from {
        opacity: 0;
        transform: translateY(-4px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.whatsapp-float {
    position: fixed;
    right: 22px;
    bottom: 26px;
    z-index: 1002;
    width: 58px;
    height: 58px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #25d366;
    color: var(--white);
    box-shadow: 0 16px 34px rgba(15, 89, 48, 0.24);
    transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.whatsapp-float svg {
    width: 34px;
    height: 34px;
    fill: currentColor;
}

.whatsapp-float:hover,
.whatsapp-float:focus-visible {
    transform: translateY(-3px) scale(1.03);
    filter: saturate(1.08);
    box-shadow: 0 20px 40px rgba(15, 89, 48, 0.32);
}

.site-footer {
    position: relative;
    z-index: 1;
    min-height: var(--footer-height);
    padding: 16px 0;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, var(--blue-dark), var(--blue-deep));
    color: rgba(255, 255, 255, 0.88);
    box-shadow: 0 -14px 34px rgba(7, 31, 69, 0.18);
}

.footer-inner {
    width: min(1180px, calc(100% - 34px));
    display: grid;
    justify-items: center;
    gap: 5px;
    text-align: center;
}

.footer-brand-row {
    display: grid;
    align-items: center;
    justify-content: center;
    justify-items: center;
    gap: 4px;
}

.footer-symbol {
    width: 28px;
    height: 28px;
    object-fit: contain;
    border-radius: 50%;
}

.footer-phrase {
    margin: 0;
    color: var(--white);
    font-family: "Montserrat", Arial, sans-serif;
    font-size: 0.9rem;
    font-weight: 700;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 4px 14px;
}

.footer-links a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: rgba(255, 255, 255, 0.82);
    text-decoration: none;
    font-size: 0.84rem;
    transition: color 0.18s ease, transform 0.18s ease;
}

.footer-links a:hover,
.footer-links a:focus-visible {
    color: var(--yellow);
    transform: translateY(-1px);
}

.footer-links svg {
    width: 15px;
    height: 15px;
    fill: currentColor;
}

.copyright {
    margin: 0;
    color: rgba(255, 255, 255, 0.62);
    font-size: 0.74rem;
}

@media (max-width: 1020px) {
    :root {
        --footer-height: 142px;
    }

    body {
        padding-top: 128px;
    }

    html {
        scroll-padding-top: 150px;
    }

    .nav-container {
        min-height: 128px;
        grid-template-columns: 1fr;
        justify-items: center;
        gap: 12px;
        padding: 16px 0;
    }

    .main-nav ul {
        justify-content: center;
    }

    .hero-content,
    .identity-grid,
    .service-cards,
    .contact-layout,
    .form-grid {
        grid-template-columns: 1fr;
    }

    .hero-copy {
        text-align: center;
    }

    .hero-copy h1,
    .lead {
        margin-left: auto;
        margin-right: auto;
    }

    .button-row {
        justify-content: center;
    }

    .hero-visual {
        min-height: 290px;
    }

    .hero-mark {
        width: min(250px, 68vw);
    }

    .hero-orbit-one {
        width: 290px;
        height: 290px;
    }

    .hero-orbit-two {
        width: 200px;
        height: 200px;
    }
}

@media (max-width: 680px) {
    :root {
        --footer-height: 128px;
    }

    body {
        padding-top: 112px;
    }

    html {
        scroll-padding-top: 130px;
    }

    .nav-container {
        min-height: 112px;
        gap: 8px;
        padding: 10px 0 12px;
    }

    .main-nav ul {
        width: 100%;
        flex-wrap: nowrap;
        justify-content: center;
        gap: clamp(7px, 2.4vw, 14px);
    }

    .main-nav a {
        padding: 6px 0;
        font-size: clamp(0.58rem, 2.7vw, 0.74rem);
        white-space: nowrap;
    }

    .section {
        padding: 42px 0 54px;
    }

    .section-heading {
        margin-bottom: 32px;
        gap: 10px;
    }

    .section-heading img,
    .service-card-title img {
        width: 32px;
        height: 32px;
    }

    .section-heading h2 {
        font-size: clamp(1.72rem, 7.4vw, 2.08rem);
    }

    .hero-section {
        padding-top: 36px;
        padding-bottom: 54px;
    }

    .hero-content {
        gap: 26px;
    }

    .hero-copy h1 {
        font-size: clamp(2.05rem, 10vw, 3rem);
    }

    .lead {
        font-size: 1.08rem;
    }

    .btn {
        width: 100%;
        min-height: 50px;
        padding-inline: 24px;
    }

    .about-intro,
    .identity-card,
    .service-card,
    .news-panel,
    .news-card,
    .contact-info-panel,
    .contact-form-panel {
        padding: 24px 20px;
    }

    .news-card-image {
        max-width: 100%;
        max-height: 240px;
    }

    .news-card p {
        font-size: 0.98rem;
    }

    .service-card-title h4 {
        font-size: clamp(1.48rem, 7vw, 1.72rem);
    }

    .service-image {
        height: clamp(180px, 52vw, 220px);
    }

    .media-title,
    .service-card-title {
        align-items: center;
        gap: 10px;
    }

    .whatsapp-float {
        right: 20px;
        bottom: 24px;
    }

    .site-footer {
        min-height: auto;
        padding: 14px 0;
    }

    .footer-inner {
        width: min(100% - 28px, 380px);
        grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
        grid-template-areas:
            "symbol symbol"
            "phrase links"
            "copy links";
        justify-items: stretch;
        align-items: center;
        gap: 6px 14px;
        text-align: center;
    }

    .footer-brand-row {
        display: contents;
    }

    .footer-symbol {
        grid-area: symbol;
        justify-self: center;
        width: 22px;
        height: 22px;
    }

    .footer-phrase {
        grid-area: phrase;
        align-self: end;
        font-size: 0.82rem;
        line-height: 1.2;
    }

    .footer-links {
        grid-area: links;
        width: 100%;
        display: grid;
        grid-template-columns: 1fr;
        justify-self: center;
        gap: 5px;
    }

    .footer-links a {
        justify-content: flex-start;
        gap: 5px;
        font-size: 0.8rem;
        line-height: 1.15;
        white-space: nowrap;
    }

    .footer-links svg {
        width: 14px;
        height: 14px;
    }

    .copyright {
        grid-area: copy;
        align-self: start;
        font-size: 0.7rem;
        line-height: 1.15;
    }
}

@media (max-width: 430px) {
    :root {
        --footer-height: 130px;
    }

    .nav-logo {
        width: 168px;
        max-height: 52px;
    }

    .main-nav ul {
        max-width: none;
        gap: clamp(5px, 1.7vw, 9px);
    }

    .main-nav a {
        font-size: clamp(0.52rem, 2.55vw, 0.66rem);
    }

    .footer-links {
        gap: 4px;
    }

    .footer-links a {
        font-size: 0.72rem;
    }

    .footer-phrase {
        font-size: 0.72rem;
    }

    .copyright {
        font-size: 0.64rem;
    }
}
