html,
body {
    margin: 0;
    padding: 0;
    background-color: #f4f2ee;
    touch-action: manipulation;
    position: relative;
    max-width: 100%;
}

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700;800;900&display=swap');
.section-center {
    position: relative;
    top: auto;
    left: 0;
    display: block;
    width: 100%;
    padding: 0;
    margin: 0;
    z-index: 6;
    text-align: center;
    transform: translateY(-50%);
}

[type="checkbox"]:checked,
[type="checkbox"]:not(:checked) {
    position: absolute;
    left: -9999px;
}

.menu-icon:checked+label,
.menu-icon:not(:checked)+label {
    position: fixed;
    top: 63px;
    right: 75px;
    display: block;
    width: 30px;
    height: 30px;
    padding: 0;
    margin: 0;
    cursor: pointer;
    z-index: 10;
}

.menu-icon:checked+label:before,
.menu-icon:not(:checked)+label:before {
    position: absolute;
    content: '';
    display: block;
    width: 30px;
    height: 20px;
    z-index: 20;
    top: 0;
    left: 0;
    border-top: 2px solid #ececee;
    border-bottom: 2px solid #ececee;
    transition: border-width 100ms 1500ms ease,
        top 100ms 1600ms cubic-bezier(0.23, 1, 0.32, 1),
        height 100ms 1600ms cubic-bezier(0.23, 1, 0.32, 1),
        background-color 200ms ease,
        transform 200ms cubic-bezier(0.23, 1, 0.32, 1);
}

.menu-icon:checked+label:after,
.menu-icon:not(:checked)+label:after {
    position: absolute;
    content: '';
    display: block;
    width: 22px;
    height: 2px;
    z-index: 20;
    top: 10px;
    right: 4px;
    background-color: #ececee;
    margin-top: -1px;
    transition: width 100ms 1750ms ease,
        right 100ms 1750ms ease,
        margin-top 100ms ease,
        transform 200ms cubic-bezier(0.23, 1, 0.32, 1);
}

.menu-icon:checked+label:before {
    top: 10px;
    transform: rotate(45deg);
    height: 2px;
    background-color: #ececee;
    border-width: 0;
    transition: border-width 100ms 340ms ease,
        top 100ms 300ms cubic-bezier(0.23, 1, 0.32, 1),
        height 100ms 300ms cubic-bezier(0.23, 1, 0.32, 1),
        background-color 200ms 500ms ease,
        transform 200ms 1700ms cubic-bezier(0.23, 1, 0.32, 1);
}

.menu-icon:checked+label:after {
    width: 30px;
    margin-top: 0;
    right: 0;
    transform: rotate(-45deg);
    transition: width 100ms ease,
        right 100ms ease,
        margin-top 100ms 500ms ease,
        transform 200ms 1700ms cubic-bezier(0.23, 1, 0.32, 1);
}

.nav {
    pointer-events: none;
    position: fixed;
    top: 33px;
    right: 50px;
    display: block;
    width: 80px;
    height: 80px;
    padding: 0;
    margin: 0;
    z-index: 9;
    overflow: hidden;
    box-shadow: 0 8px 30px 0 rgba(0, 0, 0, 0.3);
    background-color: #353746;
    animation: border-transform 7s linear infinite;
    transition: top 350ms 1100ms cubic-bezier(0.23, 1, 0.32, 1),
        right 350ms 1100ms cubic-bezier(0.23, 1, 0.32, 1),
        transform 250ms 1100ms ease,
        width 650ms 400ms cubic-bezier(0.23, 1, 0.32, 1),
        height 650ms 400ms cubic-bezier(0.23, 1, 0.32, 1);
}

@keyframes border-transform{
    0%,100% { border-radius: 63% 37% 54% 46% / 55% 48% 52% 45%; } 
  14% { border-radius: 40% 60% 54% 46% / 49% 60% 40% 51%; } 
  28% { border-radius: 54% 46% 38% 62% / 49% 70% 30% 51%; } 
  42% { border-radius: 61% 39% 55% 45% / 61% 38% 62% 39%; } 
  56% { border-radius: 61% 39% 67% 33% / 70% 50% 50% 30%; } 
  70% { border-radius: 50% 50% 34% 66% / 56% 68% 32% 44%; } 
  84% { border-radius: 46% 54% 50% 50% / 35% 61% 39% 65%; } 
}

.menu-icon:checked~.nav {
    pointer-events: auto;
    animation-play-state: paused;
    top: 50%;
    right: 50%;
    transform: translate(50%, -50%);
    width: 200%;
    height: 200%;
    transition: top 350ms 700ms cubic-bezier(0.23, 1, 0.32, 1),
        right 350ms 700ms cubic-bezier(0.23, 1, 0.32, 1),
        transform 250ms 700ms ease,
        width 750ms 1000ms cubic-bezier(0.23, 1, 0.32, 1),
        height 750ms 1000ms cubic-bezier(0.23, 1, 0.32, 1);
}

.nav ul {
    position: absolute;
    top: 50%;
    left: 0;
    display: block;
    width: 100%;
    padding: 0;
    margin: 0;
    z-index: 6;
    text-align: center;
    transform: translateY(-50%);
    list-style: none;
}

.nav ul li {
    position: relative;
    display: block;
    width: 100%;
    padding: 0;
    margin: 10px 0;
    text-align: center;
    list-style: none;
    pointer-events: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(30px);
    transition: all 250ms linear;
}

.nav ul li:nth-child(1) {
    transition-delay: 250ms;
}

.nav ul li:nth-child(2) {
    transition-delay: 200ms;
}

.nav ul li:nth-child(3) {
    transition-delay: 150ms;
}

.nav ul li:nth-child(4) {
    transition-delay: 100ms;
}

.nav ul li:nth-child(5) {
    transition-delay: 50ms;
}

.nav ul li a {
    font-family: 'Montserrat', sans-serif;
    text-decoration: none;
    font-size: 3vh;
    text-transform: uppercase;
    line-height: 1.2;
    font-weight: 800;
    display: inline-block;
    position: relative;
    color: #ececee;
    transition: all 250ms linear;
}

.nav ul li a:hover {
    text-decoration: none;
    color: #ffeba7;
}

.nav ul li a:after {
    display: block;
    position: absolute;
    top: 50%;
    content: '';
    height: 2vh;
    margin-top: -1vh;
    width: 0;
    left: 0;
    background-color: #353746;
    opacity: 0.8;
    transition: width 250ms linear;
}

.nav ul li a:hover:after {
    width: 100%;
}

.menu-icon:checked~.nav ul li {
    pointer-events: auto;
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
    transition: opacity 350ms ease,
        transform 250ms ease;
}

.menu-icon:checked~.nav ul li:nth-child(1) {
    transition-delay: 1340ms;
}

.menu-icon:checked~.nav ul li:nth-child(2) {
    transition-delay: 1400ms;
}

.menu-icon:checked~.nav ul li:nth-child(3) {
    transition-delay: 1480ms;
}

.menu-icon:checked~.nav ul li:nth-child(4) {
    transition-delay: 1560ms;
}

.menu-icon:checked~.nav ul li:nth-child(5) {
    transition-delay: 1640ms;
}

@media screen and (max-width: 991px) {

    .menu-icon:checked+label,
    .menu-icon:not(:checked)+label {
        right: 55px;
    }

    .nav {
        right: 30px;
    }

    .nav ul li a {
        font-size: 3vh;
    }
}

.fon-image {
    background-image: url("studia.jpg");
    background-size: 100%;
}

#hero-text {
    font-family: 'Playfair Display', serif;
    white-space: nowrap;
    font-size: clamp(20px, 6vw, 50px);
    letter-spacing: 0.15em;
    border-top: 3px solid #f4f2ee;
    border-bottom: 3px solid #f4f2ee;
}

#hero-text.typing {
    animation: blink 0.7s steps(1) infinite;
}

@keyframes blink {
    0%, 50% { border-color: rgba(255, 255, 255, 0.8); }
    51%, 100% {border-color: transparent; }
}

.content {
    max-width: 600px;
    text-align: center;
    padding: 0 20px;
}

.title {
    font-size: 38px;
    font-weight: 400;
    letter-spacing: 4px;
    margin-bottom: 40px;
    text-transform: uppercase;
}

.description {
    font-size: 18px;
    line-height: 1.8;
    font-weight: 300;
    opacity: 0.9;
    text-align: center;
}

.studio-section {
    min-height: 100%;
    display: flex;
    align-items: center;
    padding: 20px;
}

.studio-section .Calendly {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

@media (min-width: 1024px) {
    .studio-section {
        padding: 80px 10%;
    }

    .studio-section .Calendly {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 70px;
    }

    .calendar-wripper {
        flex: 1.2;
        transform: scale(1);
    }

    .text {
        flex: 1;
        text-align: center;
        color: white;
    }

    .text h1 {
        font-size: 48px;
        margin-bottom: 30px;
        letter-spacing: 2px;
    }

    .text p {
        font-size: 18px;
        line-height: 1.6;
        max-width: 600px;
        margin: 0 auto;
    }
}

.calendly-inline-widget {
    margin: 40px auto;
}

.text {
    font-style: Arial, sans-serif;
    font-weight: 700;
    font-size: 15px;
    text-align: center;
    text-transform: uppercase;
    margin: 5px;
    color: #eee8dc;
}

.text h1 {
    letter-spacing: 2px;
}

.text p {
    letter-spacing: 0.13em;
    text-align: center;
}

.glass {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);

    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
}

.why-us {
    padding: 80px 30px;
    background: #eee8dc;
    text-align: center;
    margin: 0;
    margin-bottom: -50px;
    background-color: black;
}

.why-us h2 {
    font-size: 36px;
    margin-bottom: 50px;
    color: white;
}

.why-item {
    display: grid;
    grid-template-columns: repeat(3, 9fr);
    padding: 10px;
    margin: 0 auto;
    color: white;
}

.icon {
    color: white;
}

.why-item span {
    font-size: 20px;
    color: #111;
}

.why-item h3 {
    font-size: 18px;
}

.why-item p {
    font-size: 16px;
    color: #666;
    line-height: 1.6;
    font-weight: 900;
}

@media (max-width: 900px) {
  .why-item {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .why-item {
    grid-template-columns: 1fr;
  }
}

.why-item {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.why-item.from-left {
    transform: translateX(-30px);
}

.why-item.from-right {
    transform: translateX(30px);
}

.why-item.show {
    opacity: 1;
    transform: translateY(0);
}

.footer {
    background-color: rgb(82, 71, 71);
    color: white;
    padding: 10px;
    margin-top: 20px;
}

.footer-main {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    text-align: center;
}

.footer-brand img {
    width: 180px;
    margin-top: -80px;
    margin-bottom: -100px;
    mix-blend-mode: multiply;
}

.footer-brand P {
    max-width: 300px;
    line-height: 1.5;
    opacity: 0.9;
    margin-top: 0;
}

.footer-socials {
    display: flex;
    gap: 20px;
}

.footer-socials img {
    width: 40px;
}

.footer-contacts {
    margin-top: 50px;
    text-align: center;
}

.footer-contacts h3 {
    margin-bottom: 15px;
    font-weight: 500;
}

.footer-contacts p {
    margin: 5px 0;
    font-size: 20px;
}

.panel {
    margin-top: 18px;
    padding: 18px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 18px 55px rgba(0, 0, 0, 0.48);
    backdrop-filter: blur(10px);
}

.panel__head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 12px;
}

.panel__head h2 {
    text-align: center;
    margin: 0;
    font-size: 20px;
    letter-spacing: 2px;
}

.panel__head p {
    margin: 0;
    opacity: 0.7;
    font-size: 16px;
    text-align: right;
    max-width: 52ch;
}


@media (max-width: 720px) {
    .panel__head {
        flex-direction: column;
        align-items: flex-start;
    }

    .panel__head p {
        text-align: left;
    }

    .hero__stats {
        grid-template-columns: 1fr;
    }
}

.strip {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    padding: 10px 2px;
}


.strip a {
    text-decoration: none;
}

.trace {
    --c: #7c3aed;
    position: relative;
    height: 56px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(10, 12, 20, 0.5);
    color: rgba(255, 255, 255, 0.9);
    cursor: pointer;
    outline: none;
    padding: 0 14px;
    display: flex;
    align-items: center;
    gap: 10px;
    overflow: hidden;
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.45),
        inset 0 1px 0 rgba(255, 255, 255, 0.06);
    transition: transform 220ms cubic-bezier(0.2, 0.9, 0.2, 1),
        box-shadow 220ms ease, border-color 220ms ease;
}

.trace i {
    width: 30px;
    height: 30px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.trace span {
    font-weight: 800;
    letter-spacing: 0.2px;
    opacity: 0.9;
}

.trace::before {
    content: "";
    position: absolute;
    inset: -2px;
    border-radius: 18px;
    background: conic-gradient(from 180deg,
            transparent,
            color-mix(in oklab, var(--c) 55%, white 10%),
            transparent 35%,
            color-mix(in oklab, var(--c) 40%, transparent),
            transparent);
    opacity: 0;
    filter: blur(0.3px);
    transition: opacity 200ms ease;
    animation: spin 1.1s linear infinite;
    pointer-events: none;
}

.trace::after {
    content: "";
    position: absolute;
    inset: 1px;
    border-radius: 15px;
    background: rgba(10, 12, 20, 0.62);
    pointer-events: none;
}

.trace>* {
    position: relative;
    z-index: 2;
}

.trace__spark {
    position: absolute;
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: color-mix(in oklab, var(--c) 70%, white 10%);
    box-shadow: 0 0 16px color-mix(in oklab, var(--c) 45%, transparent);
    opacity: 0;
    pointer-events: none;
    z-index: 3;
}

.trace:hover {
    transform: translateY(-2px);
    border-color: color-mix(in oklab, var(--c) 45%, rgba(255, 255, 255, 0.15));
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.55),
        0 0 0 4px color-mix(in oklab, var(--c) 16%, transparent),
        0 0 30px color-mix(in oklab, var(--c) 26%, transparent);
}

.trace:hover::before {
    opacity: 1;
}

.trace:hover .trace__spark {
    opacity: 1;
    animation: spark 900ms ease-in-out infinite;
}

.trace:active {
    transform: translateY(0) scale(0.99);
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

@keyframes spark {
    0% {
        transform: translate(18px, -12px) scale(0.9);
        opacity: 0;
    }

    25% {
        opacity: 1;
    }

    50% {
        transform: translate(160px, 0px) scale(1.05);
    }

    75% {
        opacity: 1;
    }

    100% {
        transform: translate(18px, 12px) scale(0.9);
        opacity: 0;
    }
}

.private {
    background-color: black;
    color: white;
    text-align: center;
    font-weight: 900;
    font-size: 15px;
    padding: 10px;
    margin-top: 0;
    padding-top: 20px;
    letter-spacing: 1px;
    text-transform: uppercase;
}