@font-face {
    font-family: 'Montserrat';
    src: url('./fonts/Montserrat-VariableFont_wght.ttf') format('truetype');
    font-weight: 100 900;
    font-style: normal;
}

@font-face {
    font-family: 'Montserrat';
    src: url('./fonts/Montserrat-Italic-VariableFont_wght.ttf') format('truetype');
    font-weight: 100 900;
    font-style: italic;
}

@font-face {
    font-family: 'Floriselscript';
    src: url('./fonts/Floriselscript.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

* {
    padding: 0;
    margin: 0;
    font-family: "Montserrat", sans-serif;
}

html {
    overflow-x: hidden;
    font-size: 17px;
}

body {
    overflow-x: hidden;
    margin: 0;
    padding: 0;
    font-size: 1rem;
    line-height: 1.5;
}

a {
    text-decoration: none;
}

header {
    justify-content: center;
    display: flex;
    padding: 10px;
    width: 100%;
    box-sizing: border-box;
    transition: padding 0.2s ease;
    position: relative;
    z-index: 1001;
    margin: 0;
}
nav {
    padding: 10px;
    background-color: rgb(236, 236, 236);
    border-radius: 15px;
    width: 95%;
    justify-content: space-between;
    display: flex;
    align-items: center;
    transition: width 0.2s ease, border-radius 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

header.header--pinned {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    padding: 0;
}

header.header--pinned nav {
    width: 100%;
    border-radius: 0;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
}

.nav--logo {
    display: flex;
    align-items: center;
}

.nav--logo a {
    display: flex;
    align-items: center;
    gap: 10px;
    color: black;
}

.nav--logo--image {
    border-radius: 50%;
    width: 65px;
    height: 65px;
    object-fit: cover;
    display: block;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}
.nav--logo--text {
    font-size: 27px;
}

.nav--toggle {
    display: none;
}

.nav--menu ul {
    display: flex;
    align-items: center;
    gap: 10px;
    list-style: none;
    padding: 0;
}

.nav--menu li {
    display: flex;
}

.nav--menu a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 18px;
    border-radius: 6px;
    background-color: rgb(212, 212, 212);
    color: black;
    font-size: 17px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: background-color 0.2s ease, box-shadow 0.2s ease;
}

.nav--menu a:hover {
    background-color: rgb(224, 224, 224);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.nav--menu a.active {
    background-color: rgb(231,233,0);
    box-shadow: 0 3px 10px rgba(231, 233, 0, 0.3);
}

.nav--menu a.active:hover {
    background-color: rgb(241, 243, 72);
    box-shadow: 0 5px 14px rgba(231, 233, 0, 0.4);
}

main {
    position: relative;
    margin: 0;
    padding: 0;
}

.main--container--main {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 5%;
    overflow: visible;
    margin-top: -120px;
    padding-top: 120px;
}

.main--container--main--content {
    background-color: rgba(0, 0, 0, 0.6);
    padding: 30px 40px;
    border-radius: 12px;
    max-width: 600px;
    position: relative;
    z-index: 0;
}

.main--container--main h1 {
    font-size: clamp(48px, 7.5vw, 94px);
    line-height: 0.95;
    color: white;
    margin: 0;
}

.main--title--accent {
    color: rgb(231, 233, 0);
    text-shadow: 0 4px 20px rgba(231, 233, 0, 0.6);
}

.main--container--main p {
    margin-top: 18px;
    font-size: clamp(21px, 2.2vw, 30px);
    color: white;
}

.main--container--main::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url('./src/background.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: -3;
}

.main--container--main--blur-edge {
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 100%;
    height: 240px;
    background: linear-gradient(
        to bottom,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.3) 40%,
        rgba(255, 255, 255, 0.8) 80%,
        rgba(255, 255, 255, 1) 100%
    );
    /* Progressive blur using CSS masks */
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    mask-image: linear-gradient(to bottom, transparent 0%, black 100%);
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 100%);
    z-index: -2;
    pointer-events: none;
}

.main--planet-container {
    position: absolute;
    right: -210px;
    bottom: -210px;
    width: 660px;
    height: 660px;
    z-index: -1;
    overflow: visible;
}

.planet--scene {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Earth Image Planet Wrapper & Image */
.planet--wrapper {
    position: absolute;
    width: 660px;
    height: 660px;
    border-radius: 50%;
    overflow: hidden;
    z-index: 2;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    /* Atmospheric glow matching the blue/green planet */
    box-shadow: 0 0 45px rgba(0, 149, 255, 0.35);
}

.planet--image {
    width: 120%;
    height: 120%;
    object-fit: cover;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    user-select: none;
    pointer-events: none;
}

/* Orbiting Trucks (2D) */
.orbit--container {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    z-index: 3; /* Always in front of the Earth */
}

.orbit--truck {
    position: absolute;
    width: 48px;
    height: 32px;
    pointer-events: none;
    user-select: none;
}

/* 1st truck: CCW, fast */
.orbit--container-1 {
    animation: spin-ccw 7s linear infinite;
}
.orbit--container-1 .orbit--truck {
    transform: translate(-50%, -50%) translateY(-350px);
}

/* 2nd truck: CW, medium-fast */
.orbit--container-2 {
    animation: spin-cw 10s linear infinite;
}
.orbit--container-2 .orbit--truck {
    /* scaleX(-1) flips the truck so it faces forward (right) when moving clockwise */
    transform: translate(-50%, -50%) translateY(-350px) scaleX(-1);
}

/* 3rd truck: CCW, medium */
.orbit--container-3 {
    animation: spin-ccw 13s linear infinite;
}
.orbit--container-3 .orbit--truck {
    transform: translate(-50%, -50%) translateY(-350px);
}

/* 4th truck: CW, medium-slow */
.orbit--container-4 {
    animation: spin-cw 16s linear infinite;
}
.orbit--container-4 .orbit--truck {
    transform: translate(-50%, -50%) translateY(-350px) scaleX(-1);
}

/* 5th truck: CCW, slow */
.orbit--container-5 {
    animation: spin-ccw 19s linear infinite;
}
.orbit--container-5 .orbit--truck {
    transform: translate(-50%, -50%) translateY(-350px);
}

/* 6th truck: CW, very slow */
.orbit--container-6 {
    animation: spin-cw 22s linear infinite;
}
.orbit--container-6 .orbit--truck {
    transform: translate(-50%, -50%) translateY(-350px) scaleX(-1);
}

/* Spin Animations */
@keyframes spin-ccw {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(-360deg);
    }
}

@keyframes spin-cw {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.about--section {
    padding: 0 5% 80px;
    box-sizing: border-box;
}

.about--card {
    display: grid;
    grid-template-columns: minmax(240px, 0.82fr) minmax(0, 1.18fr);
    min-height: 360px;
    background-color: white;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.about--card.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.about--media {
    min-height: 360px;
    background-image: url('./src/truck_photo.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}



.about--content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 40px 46px;
}

.about--content h3 {
    margin-top: 18px;
    font-size: clamp(32px, 3.8vw, 48px);
    line-height: 1.05;
}

.about--content p {
    max-width: 760px;
    margin-top: 18px;
    font-size: 18px;
    line-height: 1.55;
}

.about--facts {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-top: 26px;
}

.about--fact {
    padding: 16px;
    border-radius: 12px;
    background-color: rgb(246, 246, 246);
}

.about--fact strong {
    display: block;
    font-size: 21px;
    line-height: 1.2;
}

.about--fact span {
    display: block;
    margin-top: 8px;
    font-size: 14px;
    line-height: 1.35;
    color: rgb(80, 80, 80);
}

.main--container--services {
    min-height: auto;
    padding: 0 5% 100px;
    display: flex;
    flex-direction: row;
    gap: 30px;
    align-items: stretch;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

.services--intro h2 {
    margin-top: 12px;
    font-size: clamp(36px, 4.2vw, 58px);
    line-height: 1;
}

.services--eyebrow {
    display: inline-flex;
    padding: 8px 14px;
    border-radius: 999px;
    background-color: rgb(231, 233, 0);
    font-size: 15px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.services--lead {
    margin-top: 18px;
    max-width: 420px;
    font-size: 19px;
    line-height: 1.5;
}

.services--viewer {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.services--control {
    position: absolute;
    top: 50%;
    z-index: 2;
    width: 52px;
    height: 52px;
    border: 0;
    border-radius: 999px;
    background-color: rgb(222, 222, 222);
    color: black;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.services--control:hover {
    background-color: rgb(232, 232, 232);
}

.services--control--prev {
    left: -18px;
    transform: translate(-100%, -50%);
}

.services--control--next {
    right: -18px;
    transform: translate(100%, -50%);
}

.services--cards {
    display: flex;
    flex-direction: row;
    gap: 24px;
}

.services--navigation {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    width: 100%;
}

.services--dots {
    display: flex;
    align-items: center;
    gap: 10px;
}

.services--dot {
    width: 12px;
    height: 12px;
    border: 0;
    border-radius: 50%;
    background-color: rgb(205, 205, 205);
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.services--dot.is-active {
    background-color: rgb(231, 233, 0);
    transform: scale(1.15);
}

.services--card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex: 1 1 0;
    min-width: 0;
    width: 100%;
    min-height: auto;
    padding: 32px;
    background-color: white;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-radius: 20px;
    margin-top: 0;
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.6s ease, transform 0.6s ease;
    box-sizing: border-box;
    max-width: 100%;
}

.services--card.is-active {
    opacity: 1;
    transform: translateY(0);
}

.services--card.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.services--divider {
    position: relative;
    padding: 100px 5%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.services--divider--line {
    position: absolute;
    left: 5%;
    right: 5%;
    height: 2px;
    background: linear-gradient(to right, black 0%, black calc(50% - 200px), transparent calc(50% - 200px), transparent calc(50% + 200px), black calc(50% + 200px), black 100%);
}

.services--divider--line--full {
    background: black;
}

.services--divider--circle {
    position: absolute;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgb(231, 233, 0);
    border: 2px solid black;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    z-index: 1;
}

.services--divider--title {
    position: relative;
    z-index: 2;
    font-size: clamp(40px, 5vw, 60px);
    background-color: rgb(231, 233, 0);
    padding: 20px 40px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.about--divider {
    padding: 76px 5% 64px;
}

.services--card.is-active {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.services--card--badge {
    display: inline-flex;
    align-self: flex-start;
    padding: 8px 12px;
    border-radius: 999px;
    background-color: rgb(242, 242, 242);
    font-size: 14px;
    font-weight: 600;
}

.services--card h3 {
    margin-top: 22px;
    font-size: clamp(24px, 2.3vw, 34px);
    line-height: 1.15;
    overflow-wrap: break-word;
    word-break: normal;
    hyphens: auto;
}

.services--card p {
    margin-top: 18px;
    font-size: 19px;
    line-height: 1.5;
}

.services--card ul {
    margin-top: 26px;
    padding-left: 22px;
    font-size: 18px;
    line-height: 1.7;
}

.services--price {
    margin-top: 26px;
    font-size: 18px;
    font-weight: 600;
    color: rgb(50, 50, 50);
}

.services--card--compact {
    justify-content: space-between !important;
}

.services--card--compact h3 {
    margin-top: 22px !important;
    font-size: clamp(22px, 2vw, 30px) !important;
}

.services--card--compact p {
    margin-top: 18px !important;
}

.services--card--compact .services--price {
    margin-top: 18px !important;
    margin-bottom: auto !important;
}

.services--card--compact .services--card--button {
    margin-top: auto !important;
}

.services--card--button {
    margin-top: 24px;
    padding: 14px 28px;
    background-color: rgb(231, 233, 0);
    color: black;
    border: none;
    border-radius: 8px;
    font-size: 17px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    align-self: flex-start;
    text-decoration: none;
    display: inline-block;
}

.services--card--button:hover {
    background-color: rgb(241, 243, 72);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.reviews--container {
    padding: 100px 0;
    overflow: hidden;
    position: relative;
}

.reviews--track {
    display: flex;
    gap: 20px;
    animation: scroll-left 90s linear infinite;
    width: max-content;
}

@keyframes scroll-left {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.review--card {
    min-width: 400px;
    max-width: 400px;
    padding: 30px;
    background-color: white;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    gap: 16px;
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.review--card.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.review--header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
}

.review--name {
    font-size: 19px;
    font-weight: 600;
    margin: 0;
}

.review--company {
    font-size: 15px;
    color: rgb(100, 100, 100);
    margin: 4px 0 0 0;
}

.review--rating {
    font-size: 21px;
    color: rgb(231, 233, 0);
    white-space: nowrap;
}

.review--text {
    font-size: 16px;
    line-height: 1.6;
    color: rgb(50, 50, 50);
    margin: 0;
}

.review--date {
    font-size: 14px;
    color: rgb(120, 120, 120);
    margin: 0;
}

.review--button {
    margin-top: 8px;
    padding: 12px 24px;
    background-color: rgb(231, 233, 0);
    color: black;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.review--button:hover {
    background-color: rgb(241, 243, 72);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

footer {
    padding: 60px 5%;
    background-color: rgb(77, 44, 98);
    color: white;
}

.footer--content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 48px;
    max-width: 1200px;
    margin: 0 auto;
}

.footer--section h4 {
    font-size: 20px;
    margin-bottom: 16px;
    color: rgb(231, 233, 0);
}

.footer--section p,
.footer--section a {
    font-size: 16px;
    line-height: 1.8;
    color: rgb(200, 200, 200);
}

.footer--section a {
    display: block;
    transition: color 0.2s ease;
}

.footer--section a:hover {
    color: rgb(231, 233, 0);
}

.footer--bottom {
    margin-top: 48px;
    padding-top: 24px;
    border-top: 1px solid rgb(60, 60, 60);
    text-align: center;
    font-size: 15px;
    color: rgb(150, 150, 150);
}

.footer--signature {
    margin-top: 16px;
    font-size: 32px;
    color: rgb(231, 233, 0);
    letter-spacing: 2px;
    font-family: 'Floriselscript', cursive;
}

.footer--signature span {
    display: inline-block;
    opacity: 0;
    animation: fadeInOut 3.5s ease-in-out infinite;
}

@keyframes fadeInOut {
    0%, 100% {
        opacity: 0;
        transform: translateY(10px);
    }
    14%, 86% {
        opacity: 1;
        transform: translateY(0);
    }
}

.signature--section {
    padding: 80px 5%;
    text-align: center;
    background-color: rgb(250, 250, 250);
}

.signature--text {
    font-size: 48px;
    color: rgb(231, 233, 0);
    letter-spacing: 3px;
    margin: 0;
    overflow: hidden;
    border-right: 3px solid rgb(231, 233, 0);
    white-space: nowrap;
    animation: typing 3s steps(10, end), blink-caret 0.75s step-end infinite;
    display: inline-block;
}

@keyframes typing {
    from {
        width: 0;
    }
    to {
        width: 100%;
    }
}

@keyframes blink-caret {
    from, to {
        border-color: transparent;
    }
    50% {
        border-color: rgb(231, 233, 0);
    }
}

.contacts--section {
    padding: 80px 5% 120px;
}

.contacts--content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.contact--card {
    background-color: white;
    padding: 35px 25px;
    border-radius: 24px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease, opacity 0.6s ease;
    opacity: 0;
    transform: translateY(50px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
}

.contact--card.animate-in {
    opacity: 1;
    transform: translateY(0);
}

/*.contact--card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
}*/

.contact--icon {
    font-size: 44px;
    margin-bottom: 14px;
}

.contact--card h3 {
    font-size: 23px;
    margin-bottom: 8px;
    color: rgb(30, 30, 30);
    font-weight: 700;
}

.contact--card span {
    display: inline-block;
    font-size: 17px;
    color: rgb(100, 100, 100);
    margin-bottom: 20px;
    word-break: break-word;
}

.contact--button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: auto;
    min-width: 140px;
    padding: 11px 24px;
    background-color: rgb(231, 233, 0);
    color: rgb(20, 20, 20);
    font-size: 16px;
    font-weight: 700;
    border-radius: 12px;
    text-decoration: none;
    transition: background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 4px 14px rgba(231, 233, 0, 0.35);
    margin-top: auto;
}

.contact--button:hover {
    background-color: rgb(245, 247, 50);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(231, 233, 0, 0.5);
}

@media (max-width: 1400px) {
    .main--container--services {
        flex-direction: column;
        gap: 20px;
    }
    
    .services--card--compact {
        justify-content: flex-start !important;
    }
    
    .services--card--compact .services--price {
        margin-bottom: 0 !important;
    }
    
    .services--card--compact .services--card--button {
        margin-top: 16px !important;
    }
}

@media (max-width: 900px) {
    .about--card {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .about--media {
        min-height: 240px;
    }

    .about--content {
        padding: 40px;
    }

    .main--container--services {
        flex-direction: column;
        gap: 30px;
        padding: 0 5% 100px;
    }

    .footer--content {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .contacts--content {
        /* Let repeat(auto-fit) naturally layout cards, only switch to 1col at smaller screen sizes */
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    }
}

@media (max-width: 1024px) {
    /* Header & Nav Reset to prevent floating on mobile */
    header {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        padding: 0 !important;
        margin: 0 !important;
        z-index: 1000 !important;
    }
    
    header nav {
        width: 100% !important;
        border-radius: 0 !important;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08) !important;
        padding: 10px 20px !important;
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
    }

    /* Mobile Toggle Button */
    .nav--toggle {
        display: flex !important;
        flex-direction: column !important;
        justify-content: space-between !important;
        width: 25px;
        height: 18px;
        background: transparent !important;
        border: none !important;
        cursor: pointer !important;
        padding: 0 !important;
        z-index: 1010 !important;
    }

    .nav--toggle span {
        display: block !important;
        width: 100% !important;
        height: 3px !important;
        background-color: black !important;
        border-radius: 2px !important;
        transition: transform 0.3s cubic-bezier(0.77,0.2,0.05,1.0),
                    opacity 0.3s ease,
                    background-color 0.3s ease;
    }

    /* Transform to X when open */
    nav.nav--open .nav--toggle span:nth-child(1) {
        transform: translateY(7px) rotate(45deg) !important;
    }
    nav.nav--open .nav--toggle span:nth-child(2) {
        opacity: 0 !important;
    }
    nav.nav--open .nav--toggle span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg) !important;
    }

    .nav--menu {
        position: fixed !important;
        top: 0 !important;
        right: -100% !important;
        width: 100% !important;
        height: 100vh !important;
        background-color: rgba(236, 236, 236, 0.96) !important;
        backdrop-filter: blur(15px) !important;
        -webkit-backdrop-filter: blur(15px) !important;
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        transition: right 0.4s cubic-bezier(0.77,0.2,0.05,1.0) !important;
        z-index: 1005 !important;
        box-sizing: border-box !important;
    }

    nav.nav--open .nav--menu {
        right: 0 !important;
    }

    .nav--menu ul {
        flex-direction: column !important;
        gap: 25px !important;
        align-items: center !important;
        width: 100% !important;
        padding: 0 !important;
        list-style: none !important;
    }

    .nav--menu li {
        width: 80% !important;
        display: flex !important;
        justify-content: center !important;
    }

    .nav--menu a {
        width: 100% !important;
        font-size: 20px !important;
        font-weight: 600 !important;
        padding: 15px 0 !important;
        min-height: auto !important;
        border-radius: 12px !important;
        background-color: rgba(212, 212, 212, 0.5) !important;
        color: black !important;
        box-shadow: none !important;
        text-align: center !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        transition: all 0.2s ease !important;
    }

    .nav--menu a.active {
        background-color: rgb(231, 233, 0) !important;
        box-shadow: 0 4px 15px rgba(231, 233, 0, 0.4) !important;
    }
    
    .nav--logo--image {
        width: 50px !important;
        height: 50px !important;
    }
    
    .nav--logo--text {
        font-size: 20px !important;
    }
    
    .main--container--main {
        min-height: 80vh !important;
        padding: 0 5% !important;
        margin-top: -100px !important;
        padding-top: 100px !important;
        overflow: visible !important; /* Allow the planet to overlap the next section naturally */
    }

    .main--planet-container {
        right: -240px !important;
        bottom: -240px !important;
        transform: scale(0.7) !important;
        transform-origin: center center !important;
    }
    
    .main--container--main--content {
        padding: 20px 25px !important;
    }
    
    .main--container--main h1 {
        font-size: clamp(32px, 8vw, 60px) !important;
    }
    
    .main--container--main p {
        font-size: clamp(18px, 3vw, 24px) !important;
    }
    
    .services--divider {
        padding: 60px 5% !important;
    }
    
    .services--divider--title {
        font-size: clamp(32px, 6vw, 48px) !important;
        padding: 15px 30px !important;
    }

    .about--divider {
        padding: 50px 5% !important;
    }

    .about--section {
        padding: 0 5% 52px !important;
    }

    .about--content {
        padding: 28px 24px !important;
    }

    .about--content h3 {
        font-size: clamp(24px, 5vw, 34px) !important;
    }

    .about--content p {
        font-size: 15px !important;
    }

    .about--facts {
        grid-template-columns: 1fr !important;
        gap: 8px !important;
        margin-top: 18px !important;
    }

    .about--fact {
        padding: 14px 16px !important;
    }
    
    .main--container--services {
        padding: 0 5% 60px !important;
        flex-direction: column !important;
        gap: 20px !important;
    }
    
    .services--card {
        padding: 24px !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    
    .services--card--compact {
        justify-content: flex-start !important;
    }
    
    .services--card--compact .services--price {
        margin-bottom: 0 !important;
    }
    
    .services--card--compact .services--card--button {
        margin-top: 16px !important;
    }
    
    .services--card h3 {
        font-size: clamp(20px, 4vw, 26px) !important;
        overflow-wrap: break-word !important;
    }
    
    .services--card p {
        font-size: 15px !important;
    }
    
    .services--card ul {
        font-size: 14px !important;
        margin-top: 16px !important;
    }
    
    .services--card--button {
        margin-top: 16px !important;
        padding: 12px 24px !important;
        font-size: 15px !important;
    }
    
    .review--card {
        min-width: 300px !important;
        max-width: 300px !important;
        padding: 20px !important;
    }
    
    .review--name {
        font-size: 16px !important;
    }
    
    .review--rating {
        font-size: 18px !important;
    }
    
    .review--text {
        font-size: 14px !important;
    }
    
    .contacts--section {
        padding: 60px 5% 80px !important;
    }
    
    .contact--card {
        padding: 30px 20px !important;
    }
    
    .contact--icon {
        font-size: 40px !important;
    }
    
    .contact--card h3 {
        font-size: 20px !important;
    }
    
    .contact--card span {
        font-size: 16px !important;
    }
    
    footer {
        padding: 40px 5% !important;
    }
}

@media (max-width: 480px) {
    .main--planet-container {
        right: -260px !important;
        bottom: -260px !important;
        transform: scale(0.55) !important;
        transform-origin: center center !important;
    }

    .about--media {
        min-height: 190px !important;
    }
    
    .services--divider--line {
        background: black !important;
    }
    
    .services--divider--circle {
        display: none !important;
    }
    
    .review--card {
        min-width: 280px !important;
        max-width: 280px !important;
    }
    
    .contacts--content {
        gap: 20px !important;
        grid-template-columns: 1fr !important;
    }
}

/* Fullscreen Modal Popup */
.modal--overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 99999;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal--overlay.is-open {
    opacity: 1;
    visibility: visible;
}

.modal--container {
    background: #ffffff;
    width: 100%;
    max-width: 460px;
    border-radius: 24px;
    padding: 36px 28px 32px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.35);
    position: relative;
    text-align: center;
    transform: scale(0.85) translateY(30px);
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-sizing: border-box;
}

.modal--overlay.is-open .modal--container {
    transform: scale(1) translateY(0);
}

.modal--close {
    position: absolute;
    top: 16px;
    right: 18px;
    background: rgb(240, 240, 240);
    border: none;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
    color: rgb(50, 50, 50);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease, transform 0.2s ease;
}

.modal--close:hover {
    background: rgb(220, 220, 220);
    transform: scale(1.1);
}

.modal--icon {
    font-size: 44px;
    margin-bottom: 10px;
}

.modal--title {
    font-size: 24px;
    font-weight: 800;
    color: rgb(20, 20, 20);
    margin-bottom: 6px;
}

.modal--subtitle {
    font-size: 15px;
    color: rgb(110, 110, 110);
    margin-bottom: 24px;
    line-height: 1.4;
}

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

.modal--info-card {
    background: rgb(248, 248, 248);
    border-radius: 18px;
    padding: 18px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    border: 1px solid rgb(232, 232, 232);
}

.modal--label {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgb(130, 130, 130);
}

.modal--phone-number {
    font-size: 22px;
    font-weight: 800;
    color: rgb(20, 20, 20);
    text-decoration: none;
    transition: color 0.2s ease;
}

.modal--phone-number:hover {
    color: rgb(180, 180, 0);
}

.modal--avito-desc {
    font-size: 15px;
    color: rgb(60, 60, 60);
    margin: 0;
}

.modal--btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 13px 20px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s ease;
    box-sizing: border-box;
}

.modal--btn-phone {
    background-color: rgb(231, 233, 0);
    color: rgb(20, 20, 20);
    box-shadow: 0 4px 14px rgba(231, 233, 0, 0.4);
}

.modal--btn-phone:hover {
    background-color: rgb(245, 247, 50);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(231, 233, 0, 0.55);
}

.modal--btn-avito {
    background-color: rgb(30, 30, 30);
    color: white;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
}

.modal--btn-avito:hover {
    background-color: rgb(50, 50, 50);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}
