/* ===== VARIABLES ===== */
:root {
    --color-navy-dark: #131F2E;
    --color-navy-darkest: #001B2F;
    --color-navy-mid: #28374A;
    --color-red: #722217;
    --color-red-hover: #63271E;
    --color-beige: #E9E8E3;
    --color-beige-hover: #D4D2C7;
    --color-grey: #969696;
    --color-white: #FFFFFF;

    --font-main: 'Libre Franklin', sans-serif;
}

/* ===== RESET ===== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-main);
    background-color: var(--color-navy-dark);
    color: var(--color-beige);
}

/* ===== NAVBAR ===== */
.navbar {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    padding: 50px 100px;
}

.navbar__logo img {
    display: block;
}

.navbar__nav {
    display: flex;
    align-items: center;
    gap: 28px;
}

.navbar__link {
    font-family: var(--font-main);
    font-size: 0.875rem;
    font-weight: 400;
    color: var(--color-beige);
    text-decoration: none;
    letter-spacing: 0;
    transition: opacity 0.2s;
}

.navbar__link:hover {
    opacity: 0.7;
}

/* Active nav link per page */
.page-home .navbar__link[href="index.html"],
.page-prices .navbar__link[href="prices.html"],
.page-contacts .navbar__link[href="contacts.html"] {
    text-decoration: underline;
    text-underline-offset: 4px;
}

/* ===== BUTTONS ===== */
.btn {
    font-family: var(--font-main);
    font-size: 0.875rem;
    font-weight: 700;
    border: none;
    cursor: pointer;
    padding: 8px 20px;
    transition: background-color 0.2s;
}

.btn--beige {
    background-color: var(--color-beige);
    color: var(--color-navy-dark);
}

.btn--beige:hover {
    background-color: var(--color-beige-hover);
}

.btn--grey {
    background-color: var(--color-grey);
    color: var(--color-white);
}

/* ===== BURGER (mobile only) ===== */
.navbar__burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.navbar__burger span {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--color-beige);
}

/* ===== HERO ===== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background-image: url('../assets/images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
}

.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background-color: rgba(19, 31, 46, 0.7);
}

.hero__content {
    position: relative;
    z-index: 1;
    padding: 340px 120px 0 120px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 52px;
}

/* 42px @ 768px → 75px @ 1440px */
.hero__title {
    font-size: clamp(2.625rem, 4.911vw + 0.268rem, 4.6875rem);
    font-weight: 500;
    line-height: 90px;
    letter-spacing: -0.04em;
    color: var(--color-beige);
}

.btn--red {
    background-color: var(--color-red);
    color: var(--color-beige);
    font-size: 0.875rem;
    font-weight: 500;
    padding: 8px 20px;
}

/* 14px @ 768px → 20px @ 1440px */
.hero__content .btn--red {
    font-size: clamp(0.875rem, 0.893vw + 0.446rem, 1.25rem);
    padding: 18px 40px;
}

.btn--red:hover {
    background-color: var(--color-red-hover);
}

/* ===== ABOUT ===== */
.about {
    background-color: var(--color-navy-mid);
    padding: 80px 100px;
    display: flex;
    flex-direction: row;
    gap: 116px;
    align-items: flex-start;
}

.about__label {
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--color-beige);
    white-space: nowrap;
    padding-top: 8px;
}

.about__text {
    display: flex;
    flex-direction: column;
    gap: 32px;
    max-width: 1029px;
}

/* 16px @ 768px → 32px @ 1440px */
.about__text p {
    font-size: clamp(1rem, 2.381vw - 0.143rem, 2rem);
    font-weight: 500;
    line-height: 35px;
    letter-spacing: -0.03em;
    color: var(--color-beige);
}

/* ===== SERVICES ===== */
.services {
    background-color: var(--color-navy-mid);
    padding: 0 100px 80px 100px;
    display: flex;
    flex-direction: column;
}

.services__item {
    display: grid;
    grid-template-columns: 212px 1fr;
    align-items: center;
    padding: 64px 0;
}

.services__body {
    display: grid;
    grid-template-columns: 245px 1fr;
    column-gap: 175px;
    align-items: center;
    border-top: 1px solid rgba(233, 232, 227, 0.3);
    padding-top: 64px;
    margin-top: -64px;
    padding-bottom: 64px;
    margin-bottom: -64px;
}

.services__item:last-child .services__body {
    border-bottom: 1px solid rgba(233, 232, 227, 0.3);
    padding-bottom: 64px;
}

/* 14px @ 768px → 20px @ 1440px */
.services__number {
    font-size: clamp(0.875rem, 0.893vw + 0.446rem, 1.25rem);
    font-weight: 500;
    line-height: 18px;
    color: var(--color-beige);
}

/* 20px @ 768px → 35px @ 1440px */
.services__name {
    font-size: clamp(1.25rem, 2.232vw + 0.179rem, 2.1875rem);
    font-weight: 700;
    line-height: 35px;
    letter-spacing: -0.03em;
    color: var(--color-beige);
}

/* 14px @ 768px → 20px @ 1440px */
.services__desc {
    font-size: clamp(0.875rem, 0.893vw + 0.446rem, 1.25rem);
    font-weight: 400;
    line-height: 20px;
    color: var(--color-beige);
}

/* ===== CTA ===== */
.cta {
    background-color: var(--color-navy-mid);
    padding: 80px 100px;
    display: flex;
    flex-direction: row;
    gap: 150px;
    align-items:center;
}

.cta__left {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0;
    width: 479px;
}

/* 16px @ 768px → 35px @ 1440px */
.cta__title {
    font-size: clamp(1rem, 2.827vw - 0.357rem, 2.1875rem);
    font-weight: 400;
    line-height: 35px;
    color: var(--color-beige);
    margin-bottom: 32px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    width: 100%;
}

.cta__title-line {
    display: block;
}

.cta__title-line--1 {
    align-self: flex-start;
}

.cta__title-line--2 {
    align-self: center;
}

.cta__title-line--3 {
    align-self: flex-end;
}

/* 14px @ 768px → 20px @ 1440px */
.cta__subtitle {
    display: none;
    /* font-size: clamp(0.875rem, 0.893vw + 0.446rem, 1.25rem);
    font-weight: 400;
    line-height: 20px;
    color: var(--color-beige);
    margin-bottom: 88px;
    text-align: right; */
}

.btn--red.cta__btn {
    display: none;
    /* font-size: clamp(0.875rem, 0.893vw + 0.446rem, 1.25rem);
    padding: 18px 40px;
    font-weight: 500; */
}

.cta__right img {
    width: 609px;
    height: 342px;
    object-fit: cover;
    display: block;
}

/* ===== FOOTER ===== */
footer {
    background-color: var(--color-navy-mid);
    padding: 60px 100px 40px 100px;
}

.footer__top {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 170px;
    margin-bottom: 32px;
}

.footer__logo img {
    display: block;
    width: 39px;
}

.footer__columns {
    display: flex;
    flex-direction: row;
    gap: 82px; /* fixed from 100px to match Figma */
    flex: 1;
}

/* 12px @ 768px → 14px @ 1440px */
.footer__col h4 {
    font-size: clamp(0.75rem, 0.298vw + 0.607rem, 0.875rem);
    font-weight: 700;
    line-height: 20px;
    color: var(--color-beige);
    margin-bottom: 4px;
}

.footer__col p,
.footer__col a {
    font-size: clamp(0.75rem, 0.298vw + 0.607rem, 0.875rem);
    font-weight: 400;
    line-height: 20px;
    color: var(--color-beige);
    text-decoration: none;
    display: block;
    white-space: nowrap; /* prevents phone number wrapping at mid-widths */
}

.footer__col a:hover {
    opacity: 0.7;
}

.footer__bottom {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

.footer__legal {
    display: flex;
    gap: 24px;
}

/* 8px @ 768px → 10px @ 1440px */
.footer__legal a {
    font-size: clamp(0.5rem, 0.298vw + 0.357rem, 0.625rem);
    font-weight: 400;
    line-height: 35px;
    color: var(--color-beige);
    text-decoration: none;
}

.footer__legal a:hover {
    opacity: 0.7;
}

.footer__copyright {
    font-size: clamp(0.5rem, 0.298vw + 0.357rem, 0.625rem);
    font-weight: 400;
    line-height: 35px;
    color: var(--color-beige);
}

/* ===== PRICES PAGE ===== */

.page-prices {
    background-color: var(--color-beige);
}

.page-prices main,
.page-prices footer {
    background-color: var(--color-beige);
}

.hero--prices::after {
    display: none;
}

.hero__title--dark {
    color: var(--color-navy-dark);
}

.navbar__link--dark {
    color: var(--color-navy-dark);
}

.btn--navy {
    background-color: var(--color-navy-mid);
    color: var(--color-beige);
    font-size: 0.875rem;
    font-weight: 500;
    padding: 8px 20px;
}

.hero__content .btn--navy {
    font-size: clamp(0.875rem, 0.893vw + 0.446rem, 1.25rem);
    font-weight: 500;
    padding: 18px 40px;
}

.btn--navy:hover {
    background-color: #001B2F;
}

/* ===== PRICES GRID ===== */

.prices-hero {
    padding: 240px 100px 0 180px;
    background-color: var(--color-beige);
    position: relative;
}

.prices-hero__content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.prices-cta-btn {
    padding: 40px 100px 60px 100px;
    background-color: var(--color-beige);
    display: flex;
    justify-content: center;
}

.prices-cta-btn .btn--navy {
    font-size: clamp(0.875rem, 0.893vw + 0.446rem, 1.25rem);
    font-weight: 500;
    padding: 18px 40px;
}

.prices-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px 32px;
    padding: 60px 100px;
}

.prices-grid__item {
    background-color: var(--color-beige-hover);
    padding: 30px 34px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

/* 14px @ 768px → 20px @ 1440px */
.prices-grid__name {
    font-size: clamp(0.875rem, 0.893vw + 0.446rem, 1.25rem);
    font-weight: 500;
    line-height: 20px;
    letter-spacing: -0.03em;
    color: #000000;
}

.prices-grid__price {
    font-size: clamp(0.875rem, 0.893vw + 0.446rem, 1.25rem);
    font-weight: 800;
    line-height: 20px;
    letter-spacing: -0.03em;
    color: #000000;
    white-space: nowrap;
}

.page-prices .cta__subtitle {
    margin-bottom: 16px;
}

.page-prices .cta__address {
    margin-bottom: 32px;
}

.cta__address {
    font-size: clamp(0.875rem, 0.893vw + 0.446rem, 1.25rem);
    font-weight: 400;
    line-height: 24px;
    color: var(--color-red);
    text-align: right;
}

.cta__right iframe {
    display: block;
    width: 609px;
    height: 342px;
    filter: grayscale(100%);
}

.page-prices .cta {
    background-color: transparent;
}

.page-prices .cta__title {
    color: var(--color-navy-darkest);
}

.page-prices .cta__subtitle {
    display: none; 
}

.page-prices .cta__title-line {
    color: var(--color-navy-darkest);
}

.page-prices footer h4,
.page-prices footer p,
.page-prices footer a,
.page-prices .footer__copyright {
    color: var(--color-navy-darkest);
}

/* ===== CONTACTS PAGE ===== */
.hero--contacts {
    background-image: url('../assets/images/hero-bg-contacts.jpg');
    background-blend-mode: multiply;
}

.hero--contacts::after {
    background-color: rgba(114, 34, 23, 0.15);
}

.hero__content .btn--beige {
    font-size: clamp(0.875rem, 0.893vw + 0.446rem, 1.25rem);
    font-weight: 600;
    padding: 18px 40px;
    color: var(--color-red);
}

.btn--outline:hover {
    background-color: rgba(233, 232, 227, 0.1);
}

/* ===== CONTACTS INFO SECTION ===== */
.contacts-info {
    background-color: var(--color-red);
    padding: 100px 100px;
    display: flex;
    flex-direction: row;
    gap: 80px;
    align-items: flex-end;
}

.contacts-info__left {
    display: flex;
    flex-direction: column;
    gap: 48px;
    flex: 1;
}

/* 16px @ 768px → 35px @ 1440px */
.contacts-info__title {
    font-size: clamp(1rem, 2.827vw - 0.357rem, 2.1875rem);
    font-weight: 400;
    line-height: 35px;
    letter-spacing: -0.03em;
    color: var(--color-beige);
}

/* 16px @ 768px → 20px @ 1440px */
.contacts-info__block h3 {
    font-size: clamp(1rem, 2.827vw - 0.357rem, 2.1875rem);
    font-weight: 500;
    line-height: 24px;
    color: var(--color-beige);
    margin-bottom: 8px;
}

.contacts-info__block p {
    font-size: clamp(1rem, 0.595vw + 0.714rem, 1.25rem);
    font-weight: 400;
    line-height: 28px;
    color: var(--color-beige);
}

.contacts-info__right {
    width: 700px;
    height: 405px;
    flex-shrink: 0;
}

.contacts-info__right iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
    filter: grayscale(100%);
}

.page-contacts footer {
    background-color: var(--color-red);
}

/* ===== MODAL ===== */
.modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 1000;
    justify-content: center;
    align-items: flex-start;
    padding: 60px 0;
    overflow-y: auto;
}

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

.modal__overlay {
    position: fixed;
    inset: 0;
    background-color: rgba(19, 31, 46, 0.6);
}

.modal__content {
    position: relative;
    z-index: 1;
    background-color: #E9E8E3;
    padding: 62px 77px;
    width: 700px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.modal__close {
    position: absolute;
    top: 16px;
    right: 20px;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--color-navy-darkest);
    line-height: 1;
}

/* 24px @ 768px → 35px @ 1440px */
.modal__title {
    font-size: clamp(1.5rem, 1.637vw + 0.714rem, 2.1875rem);
    font-weight: 500;
    line-height: 35px;
    color: var(--color-navy-darkest);
    text-transform: uppercase;
}

.modal__title span {
    display: block;
    text-align: right;
}

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

.modal__field {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.modal__field label {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--color-navy-darkest);
    text-transform: uppercase;
}

.modal__field input,
.modal__field select {
    font-family: var(--font-main);
    font-size: 0.875rem;
    width: 100%;
    height: 45px;
    border: 0.8px solid #001B2F;
    background: transparent;
    padding: 0 12px;
    color: var(--color-navy-darkest);
    appearance: none;
}

.modal__field select {
    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='%23001B2F' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 36px;
}

.modal__checkbox {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 8px;
}

.modal__checkbox input[type="checkbox"] {
    width: 18px;
    height: 18px;
    min-width: 18px;
    margin-top: 2px;
    cursor: pointer;
    accent-color: var(--color-navy-darkest);
}

.modal__checkbox label {
    font-size: 0.75rem;
    font-weight: 400;
    line-height: 16px;
    color: var(--color-navy-darkest);
    cursor: pointer;
}

/* 16px @ 768px → 20px @ 1440px */
.modal__submit {
    width: 100%;
    padding: 18px;
    font-size: clamp(1rem, 0.595vw + 0.714rem, 1.25rem);
    font-weight: 500;
    margin-top: 8px;
}

/* ===== SUCCESS TOAST ===== */
.success-toast {
    position: fixed;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--color-navy-dark);
    color: var(--color-beige);
    padding: 16px 32px;
    font-size: 1rem;
    z-index: 2000;
    animation: fadeInOut 4s ease forwards;
}

@keyframes fadeInOut {
    0% { opacity: 0; transform: translateX(-50%) translateY(10px); }
    15% { opacity: 1; transform: translateX(-50%) translateY(0); }
    75% { opacity: 1; }
    100% { opacity: 0; }
}

/* ===== FORM VALIDATION STATES ===== */
.modal__field input.invalid,
.modal__field select.invalid {
    border-color: var(--color-red);
    border-width: 1.5px;
}

.modal__field input.valid,
.modal__field select.valid {
    border-color: #4a7c59;
    border-width: 1.5px;
}

/* ===== LEGAL PAGES ===== */
.legal__hero {
    padding: 280px 100px 80px 100px;
    background-color: var(--color-navy-mid);
}

/* 42px @ 768px → 75px @ 1440px */
.legal__title {
    font-size: clamp(2.625rem, 4.911vw + 0.268rem, 4.6875rem);
    font-weight: 500;
    line-height: 80px;
    letter-spacing: -0.04em;
    color: var(--color-beige);
}

.legal__body {
    padding: 80px 100px;
    display: flex;
    flex-direction: column;
    gap: 48px;
    max-width: 900px;
}

.legal__section h2 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-beige);
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.legal__section p {
    font-size: 1rem;
    font-weight: 400;
    line-height: 26px;
    color: var(--color-beige);
    margin-bottom: 12px;
}

.legal__section ul {
    padding-left: 20px;
    margin-bottom: 12px;
}

.legal__section ul li {
    font-size: 1rem;
    line-height: 26px;
    color: var(--color-beige);
    margin-bottom: 4px;
}

.legal__section a {
    color: var(--color-beige);
    text-decoration: underline;
}

.legal__section a:hover {
    opacity: 0.7;
}

/* ===== 404 PAGE ===== */
.page-404 {
    background-color: var(--color-beige);
}

.page-404 footer {
    background-color: var(--color-beige);
}

.page-404 footer h4,
.page-404 footer p,
.page-404 footer a,
.page-404 .footer__copyright {
    color: var(--color-navy-darkest);
}

.not-found {
    min-height: calc(100vh - 200px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 100px;
}

.not-found__content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
}

/* 120px @ 768px → 250px @ 1440px */
.not-found__number {
    font-size: clamp(7.5rem, 19.345vw - 1.786rem, 15.625rem);
    font-weight: 500;
    line-height: 250px;
    color: var(--color-navy-darkest);
    letter-spacing: -0.04em;
    margin-top: 120px;
}

/* 20px @ 768px → 35px @ 1440px */
.not-found__label {
    font-size: clamp(1.25rem, 2.232vw + 0.179rem, 2.1875rem);
    font-weight: 400;
    line-height: 35px;
    color: var(--color-navy-darkest);
    margin-bottom: 64px;
}

/* 14px @ 768px → 20px @ 1440px */
.not-found__btn {
    font-size: clamp(0.875rem, 0.893vw + 0.446rem, 1.25rem);
    font-weight: 700;
    padding: 18px 40px;
    text-decoration: none;
    display: inline-block;
}

.mobile-menu {
    display: none;
}

.mobile-menu.is-open {
    display: flex;
}

/* ===== FLOATING BUTTONS ===== */
.floating-buttons {
    /* position: absolute;
    top: calc(100vh - 72px); */
    position: fixed;
    bottom: 100px;
    right: 100px;
    z-index: 90;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.floating-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    background-color: var(--color-red);
    color: var(--color-beige);
    border-radius: 50%;
    text-decoration: none;
    text-align: center;
    transition: background-color 0.2s;
}

.floating-btn:hover {
    background-color: var(--color-red-hover);
}

.page-contacts .floating-btn:hover {
    background-color: var(--color-beige-hover);
}

.page-prices .floating-btn:hover {
    background-color: var(--color-red-hover); 
}

.floating-btn--book {
    width: 118px;
    height: 118px;
    flex-shrink: 0;
    font-size: 34px;
    /* font-weight: 500;
    line-height: 24px;
    padding: 8px; */
}

.floating-btn--instagram {
    display:none;
}

.page-contacts .floating-btn {
    background-color: var(--color-beige);
    color: var(--color-red);
}

.page-prices .floating-btn {
    background-color: var(--color-red);
    color: var(--color-beige);
}


/* ===== MOBILE ===== */
@media (max-width: 768px) {

    .floating-buttons {
        position: fixed;
        top: auto;
        bottom: 68px;
        right: 30px;
        gap: 12px;
    }

    .floating-btn--book {
        width: 56px;
        height: 56px;
        font-size: 28px;
    }

    .floating-btn--instagram {
        display: flex;
        width: 56px;
        height: 56px;
        font-size: 28px;
    }

    /* NAVBAR */

    .navbar {
        padding: 16px 20px;
        align-items: center;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        z-index: 100;
        background-color: transparent;
        transition: background-color 0.3s ease;
    }

    .navbar.is-scrolled {
        background-color: var(--color-navy-dark);
    }

    .page-prices .navbar.is-scrolled,
    .page-404 .navbar.is-scrolled {
        background-color: var(--color-beige-hover);
    }

    .page-contacts .navbar.is-scrolled {
        background-color: var(--color-red-hover);
    }

    .navbar__logo img {
        width: 32px;
    }

    .navbar__nav {
        display: none;
    }

    .navbar__burger {
        display: flex;
        flex-direction: row;
        align-items: center;
        gap: 10px;
        background: none;
        border: none;
        color: var(--color-beige);
        font-size: 0.875rem;
        font-weight: 400;
        font-family: var(--font-main);
        text-transform: uppercase;
        cursor: pointer;
        padding: 0;
    }

    .navbar__burger i {
        font-size: 1.25rem;
        color: var(--color-beige);
        display: block;
    }

    .page-prices .navbar__burger,
    .page-404 .navbar__burger {
        color: var(--color-red);
    }

    .page-prices .navbar__burger i,
    .page-404 .navbar__burger i {
        color: var(--color-red);
    }

    /* MOBILE MENU OVERLAY */
    .mobile-menu {
        display: none;
        position: fixed;
        inset: 0;
        background-color: var(--color-red);
        z-index: 200;
        flex-direction: column;
        padding: 16px 20px;
    }

    .mobile-menu.is-open {
        display: flex;
    }

    .mobile-menu__top {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: auto;
    }

    .mobile-menu__close {
        display: flex;
        align-items: center;
        gap: 10px;
        background: none;
        border: none;
        color: var(--color-beige);
        font-size: 0.875rem;
        font-family: var(--font-main);
        text-transform: uppercase;
        cursor: pointer;
    }

    .mobile-menu__close i {
        font-size: 1.25rem;
    }

    .mobile-menu__nav {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 32px;
        margin-top: 110px;
    }

    .mobile-menu__nav a {
        font-size: 1.25rem;
        font-weight: 400;
        color: var(--color-beige);
        text-decoration: none;
        text-transform: uppercase;
        transition: opacity 0.2s;
    }

    .mobile-menu__nav a:hover {
        opacity: 0.7;
    }

    .mobile-menu__nav a.active {
        text-decoration: underline;
        text-underline-offset: 4px;
    }

    .mobile-menu__buttons {
        display: flex;
        justify-content: center;
        gap: 32px;
        margin-top: auto;
        padding-bottom: 40px;
    }

    .page-home .mobile-menu__nav a[href="index.html"],
    .page-prices .mobile-menu__nav a[href="prices.html"],
    .page-contacts .mobile-menu__nav a[href="contacts.html"] {
        text-decoration: underline;
        text-underline-offset: 4px;
    }

    .navbar__burger i,
    .mobile-menu__close i {
        transition: transform 0.3s ease;
    }

    .navbar__burger:hover i {
        transform: rotate(90deg);
    }

    .mobile-menu__close:hover i {
        transform: rotate(90deg);
    }

    /* HERO */
    .page-home .hero {
        background-image: url('../assets/images/hero-bg-mobile.jpg');
        min-height: 100svh;
    }

    .hero__content {
        padding: 120px 20px 70px 20px;
        justify-content: flex-start;
        min-height: 100svh;
        gap: 60px;
    }

    .hero__title {
        line-height: 44px;
        letter-spacing: -0.05em;
    }

    .hero__content .btn--red,
    .hero__content .btn--beige,
    .hero__content .btn--navy {
        font-weight: 700;
        padding: 12px 20px;
    }

    /* ABOUT */
    .about {
        flex-direction: column;
        padding: 48px 20px 64px 20px;
        gap: 18px;
    }

    .about__text {
        gap: 18px;
    }

    .about__text p {
        line-height: 16px;
        letter-spacing: -0.03em;
        text-align: justify;
    }

    /* SERVICES */
    .services {
        padding: 0 20px 40px 20px;
    }

    .services__item {
        padding: 0;
        align-items: flex-start;
        grid-template-columns: 52px 1fr;
    }

    .services__body {
        grid-template-columns: 1fr;
        gap: 10px;
        border-bottom: 1px solid rgba(233, 232, 227, 0.3);
        border-top: none;
        padding: 24px 0;
        margin-top: 0;
        margin-bottom: 0;
    }

    .services__item:last-child .services__body {
        padding: 24px 0;
    }

    .services__number {
        line-height: 20px;
        padding-top: 24px;
        padding-bottom: 0;
    }

    .services__name {
        line-height: 20px;
        letter-spacing: -0.03em;
    }

    .services__desc {
        line-height: 16px;
        letter-spacing: -0.03em;
    }

    /* CTA */
    .cta {
        flex-direction: column;
        padding: 40px 20px;
        gap: 16px;
        align-items: flex-start;
    }

    .cta__left {
        display: grid;
        grid-template-columns: 1fr auto;
        grid-template-rows: auto auto;
        gap: 16px;
        width: 100%;
        align-items: end;
    }

    .cta__title {
        line-height: 16px;
        margin-bottom: 0;
        grid-column: 1;
        grid-row: 1;
        max-width: 240px;
    }

    .cta__title-line--1 {
        align-self: flex-start;
    }

    .cta__title-line--2 {
        align-self: center;
    }

    .cta__title-line--3 {
        align-self: flex-end;
    }

    .cta__subtitle {
        display: none;
        /* line-height: 14px;
        text-align: left;
        margin-bottom: 0;
        grid-column: 1 / -1;
        grid-row: 2; */
    }

    .cta__right {
        width: 100%;
    }

    .btn--red.cta__btn {
        display: none;
        /* padding: 8px 20px;
        align-self: start;
        grid-column: 2;
        grid-row: 1; */
    }

    .cta__right img {
        width: 100%;
        height: auto;
    }

    .cta__right iframe {
        width: 100%;
        height: 200px;
    }

    /* FOOTER */
    footer {
        padding: 40px 20px;
    }

    .footer__top {
        flex-direction: row;
        align-items: flex-start;
        gap: 64px;
    }

    .footer__logo img {
        width: 27px;
    }

    .footer__columns {
        flex-direction: column;
        gap: 16px;
    }

    .footer__col h4 {
        line-height: 18px;
    }

    .footer__col p,
    .footer__col a {
        line-height: 18px;
        white-space: normal; 
    }

    .footer__bottom {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        gap: 8px;
        margin-top: 32px;
    }

    .footer__legal {
        gap: 16px;
    }

    /* PRICES PAGE */
    .prices-hero {
        padding: 120px 20px 0 20px;
    }

    .prices-cta-btn {
        display: flex;
        justify-content: center;
        padding: 24px 20px 40px 20px;
    }

    .prices-cta-btn .btn--navy {
        font-size: 0.875rem;
        padding: 12px 20px;
    }

    .hero--contacts {
        background-position: left center;
    }

    .prices-grid {
        grid-template-columns: 1fr;
        gap: 16px;
        padding: 40px 20px;
    }

    .prices-grid__item {
        padding: 16px 20px;
        background-color: var(--color-beige-hover);
        box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
    }

    .prices-grid__name {
        line-height: 20px;
        letter-spacing: -0.03em;
    }

    .prices-grid__price {
        line-height: 20px;
        letter-spacing: -0.03em;
    }

    .page-prices .cta__address {
        display: none;
    }

    /* CONTACTS INFO */
    .contacts-info {
        flex-direction: column;
        padding: 40px 20px;
        gap: 24px;
        align-items: flex-start;
    }

    .contacts-info__left {
        gap: 24px;
    }

    .contacts-info__block h3 {
        font-weight: 500;
        line-height: 20px;
        margin-bottom: 4px;
    }

    .contacts-info__block p {
        font-weight: 300;
        line-height: 20px;
    }

    .contacts-info__right {
        width: 100%;
        height: 200px;
    }

    /* LEGAL PAGES */
    .legal__hero {
        padding: 120px 20px 40px 20px;
    }

    .legal__title {
        line-height: 48px;
        font-size: 34px;
    }

    .legal__body {
        padding: 40px 20px;
    }

    /* 404 PAGE */
    .not-found {
        min-height: 100svh;
        padding: 200px 20px 60px 20px;
        justify-content: flex-start;
        flex-direction: column;
        align-items: center;
    }

    .not-found__content {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .not-found__number {
        line-height: 120px;
        margin-top: 0;
    }

    .not-found__label {
        line-height: 24px;
        margin-bottom: 0;
    }

    .not-found__btn {
        padding: 8px 20px;
        margin-top: 300px;
    }

    /* MODAL */
    .modal {
        padding: 20px;
        align-items: center;
    }

    .modal__content {
        width: 100%;
        padding: 40px 24px;
    }

    .modal__title {
        line-height: 28px;
    }

    .modal__submit {
        padding: 14px;
    }

    .modal__field input,
    .modal__field select {
        height: 40px;
    }
}

/* ===== TABLET ===== */
@media (min-width: 769px) and (max-width: 1024px) {

    /* NAVBAR */
    .navbar {
        padding: 30px 40px;
    }

    /* HERO */
    .hero__content {
        padding: 200px 60px 0 60px;
    }

    .hero__title {
        line-height: 60px;
    }

    /* ABOUT */
    .about {
        padding: 60px 40px;
        gap: 60px;
    }

    .about__text p {
        line-height: 28px;
    }

    /* SERVICES */
    .services {
        padding: 0 40px 60px 40px;
    }

    .services__item {
        padding: 40px 0;
    }

    .services__body {
        padding-top: 40px;
        margin-top: -40px;
        padding-bottom: 40px;
        margin-bottom: -40px;
        column-gap: 16px;
    }

    .services__item:last-child .services__body {
        padding-bottom: 40px;
    }

    .services__name {
        line-height: 24px;
    }

    .services__desc {
        line-height: 20px;
    }

    /* CTA */
    .cta {
        padding: 60px 40px;
        gap: 60px;
    }

    .cta__left {
        width: 340px;
    }

    .cta__title {
        line-height: 24px;
        margin-bottom: 20px;
    }

    .cta__subtitle {
        line-height: 20px;
        margin-bottom: 48px;
    }

    .btn--red.cta__btn {
        padding: 14px 28px;
    }

    .cta__right img {
        width: 400px;
        height: auto;
    }

    .cta__right iframe {
        width: 400px;
        height: 250px;
    }

    /* PRICES */
    .prices-grid {
        padding: 40px;
    }

    .prices-hero {
        padding: 200px 40px 0 140px;
    }

    .prices-cta-btn {
        padding: 32px 40px 48px 40px;
    }

    /* CONTACTS */
    .contacts-info {
        padding: 60px 40px;
    }

    .contacts-info__right {
        width: 400px;
        height: 300px;
    }

    /* FOOTER */
    footer {
        padding: 40px;
    }

    .footer__top {
        gap: 60px;
    }

    .footer__columns {
        gap: 40px;
    }

    /* LEGAL */
    .legal__hero {
        padding: 180px 40px 60px 40px;
    }

    .legal__body {
        padding: 60px 40px;
    }
}
