@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700;900&family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

:root {
    --text-color: #151515;
    --accent: #83610b;
    --accent-opaque: rgba(201, 156, 48, 0.33);
    --muted: #6c6c6c;
    --dark-brown: #221b04;
    --soft-bg: rgba(251, 240, 220, 0.1);
    --card-bg: #ffffff;
    --glass-bg: rgba(255, 255, 255, 0.48);
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

html, body {
    /*background-color: red;*/
    font-family: "Montserrat", sans-serif;
    /*height: 10000px;*/
    background-color: rgb(251 240 220 / 0.1);
}

a {
    text-decoration: none;
    color: var(--text-color);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    /*padding: 0 16px;*/
}

.main-header {
    position: fixed;
    width: 100%;
    z-index: 99;
    padding-top: 16px;
    top: 0;
}

.main-header .menu {
    background-color: #ffffff;
    display: flex;
    align-items: center;
    border-radius: 50px;
    padding: 0 60px;
    justify-content: space-between;
}

.main-header .menu .logo {
    text-decoration: none;

}

.main-header .menu .logo img {
    width: 72px;
}

.main-header .menu .menu-link {
    list-style: none;
    display: flex;
    gap: 1rem;
}

.main-header .menu .menu-link a {
    text-decoration: none;
    color: var(--text-color);
    transition: all .2s ease-in-out;
    background-color: transparent;
    padding: 8px 8px;
    border-radius: 14px;
    font-size: 0.8rem;
}

.main-header .menu .menu-link a:hover {
    color: #83610b;
    background-color: #c99c3054;
}


/*HERO BLOCK*/
.hero-block {
    width: 100%;
    height: 100vh;
    position: relative;
}

.hero-block .fon {
    width: 100%;
    height: 100%;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

.hero-block .info-block {
    position: absolute;
    z-index: 9;
    bottom: 40px;
    width: 100%;
}

.hero-block .info-block .container {
    background-color: #ffffff7a;
    padding: 30px;
    border-radius: 30px;
    backdrop-filter: blur(4px);
}

.hero-block .info-block .container h1 {
    margin-bottom: 1.5rem;
    text-align: center;
    color: #3c3207;
    font-size: 3rem;
}

.hero-block .info-block .container p {
    font-size: 1.5rem;
    color: #6c6c6c;
    text-align: center;
}

/*ABOUT BLOCK*/
.about {
    margin: 10rem auto;
}

.about h1 {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #221b04;
}

.about h2 {
    text-align: center;
    font-weight: 300;
    color: #6c6c6c;
    font-size: 1.5rem;
    margin-bottom: 2rem;
}

.about .philosophy-content {
    border: 1px solid rgb(131 97 11 / 0.5);
    padding: 30px;
    border-radius: 30px;
    background-color: rgb(251 240 220 / 0.4);
}

.about .philosophy-text {
    font-size: 1.2rem;
}

.about .features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.about .features-grid .icon-b {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #c99c3054;
}

.about .features-grid .icon-b i {
    color: #83610b;
    font-size: 22px;
}

.about .features-grid .item-block {
    background-color: #ffffff;
    padding: 30px;
    border-radius: 20px;
}

.about .features-grid .item-block h3 {
    margin-top: 1rem;
    margin-bottom: .5rem;
}

.about .features-grid .item-block p {
    color: #6c6c6c;
}

/*SERVICES BLOCK*/
.services {
    margin: 10rem auto;
}

.services h1 {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #221b04;
}

.services h2 {
    text-align: center;
    font-weight: 300;
    color: #6c6c6c;
    font-size: 1.5rem;
    margin-bottom: 2rem;
}

.services .services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(274px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.services .services-grid .service-card {
    background-color: #ffffff;
    padding: 30px;
    border-radius: 20px;
    text-align: center;
    border: 1px solid rgb(131 97 11 / 0.5);
}

.services .services-grid .service-card .service-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #c99c3054;
    margin: 0 auto;
}

.services .services-grid .service-card .service-icon i {
    color: #83610b;
    font-size: 22px;
}

.services .services-grid .service-card h3 {
    margin-top: 1rem;
    margin-bottom: .5rem;
    font-size: 1.2rem;
}

.services .services-grid .service-card p {
    color: #6c6c6c;
}

/*TEAM BLOCK*/

.team {
    margin: 10rem auto;
}

.team h1 {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #221b04;
}

.team h2 {
    text-align: center;
    font-weight: 300;
    color: #6c6c6c;
    font-size: 1.5rem;
    margin-bottom: 2rem;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.team-card {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.team-photo {
    width: 100%;
    height: 350px;
    object-fit: cover;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
}

.team-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
}

.team-info {
    padding: 1.5rem;
}

.team-name {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.team-position {
    color: #3c3207;
    font-weight: 500;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.team-experience {
    font-size: 0.85rem;
}

/*CONTACT BLOCK*/
.contact {
    margin: 10rem auto;
}

.contact h1 {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #221b04;
}

.contact h2 {
    text-align: center;
    font-weight: 300;
    color: #6c6c6c;
    font-size: 1.5rem;
    margin-bottom: 2rem;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-top: 3rem;
    overflow: hidden;
}

.contact-info {
    background: var(--white);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 2rem;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: #c99c3054;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #83610b;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.contact-details h3 {
    font-size: 1.1rem;
    margin-bottom: 0.3rem;
    color: var(--text);
}

.contact-details p {
    color: #6c6c6c;
    font-size: 0.95rem;
}

.contact-details a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
}

.map-container {
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    height: 100%;
    min-height: 400px;
    overflow: hidden;
}

.map-placeholder {
    width: 100%;
    height: 100%;
}

/* FOOTER */
.site-footer {
    background: #ffffff;
    color: #222222;
    padding: 48px 0;
    border-top: 1px solid #eee;
    margin-top: 4rem;
}

.site-footer .footer-content {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
    justify-content: space-between;
}

.site-footer .footer-col {
    flex: 1 1 240px;
}

.site-footer .footer-logo img {
    width: 72px;
    display: block;
    margin-bottom: .6rem;
}

.site-footer h4 {
    color: #111111;
    margin-bottom: .6rem;
    font-weight: 600;
}

.site-footer a {
    color: #111111;
    text-decoration: none;
}

.site-footer a:hover {
    color: #83610b;
}

.site-footer .footer-about {
    color: #555555;
    margin-top: .4rem;
    line-height: 1.4
}

.site-footer .work-hours {
    color: #555555;
    margin-top: .4rem
}

.site-footer .socials {
    margin-top: .6rem;
    display: flex;
    gap: .7rem
}

.site-footer .socials a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: #f5f5f5;
    color: #111111
}

.site-footer .socials a:hover {
    background: #e9d8b8;
    color: #83610b
}

.site-footer .copyright {
    margin-top: 1rem;
    color: #777777;
    font-size: .9rem
}

@media (max-width: 768px) {
    .site-footer .footer-content {
        flex-direction: column;
        gap: 1.2rem
    }

    .site-footer .socials a {
        width: 40px;
        height: 40px
    }
}

/* ==== Premium enhancements (using existing color palette) ==== */

/* Elevated header */
.main-header .menu {
    padding: 0 64px;
    border: 1px solid rgba(131, 97, 11, 0.06);
    box-shadow: 0 6px 30px rgba(0, 0, 0, 0.06);
}

/* Logo spacing */
.main-header .menu .logo img {
    width: 84px;
}

/* Menu links refined */
.main-header .menu .menu-link a {
    font-weight: 600;
    color: var(--text-color);
    letter-spacing: 0.2px;
    padding: 10px 18px;
}

.main-header .menu .menu-link a:hover {
    color: var(--accent);
    background-color: var(--accent-opaque);
    box-shadow: 0 8px 24px rgba(131, 97, 11, 0.08);
}

/* Primary button */
.btn-primary {
    display: inline-block;
    background: linear-gradient(180deg, var(--accent) 0%, #b27f06 100%);
    color: #ffffff;
    padding: 12px 28px;
    border-radius: 30px;
    box-shadow: 0 8px 24px rgba(131, 97, 11, 0.12);
    transition: transform .18s ease, box-shadow .18s ease, opacity .18s;
    border: none;
    font-weight: 700;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 40px rgba(131, 97, 11, 0.16);
}

/* Hero refinements */
.hero-block .info-block .container {
    background: var(--glass-bg);
    border: 1px solid rgba(255, 255, 255, 0.6);
    padding: 40px;
    max-width: 880px;
    margin: 0 auto;
}

.hero-block .info-block .container h1 {
    font-weight: 700;
    letter-spacing: -0.5px;
    color: var(--dark-brown);
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.hero-block .info-block .container p {
    font-size: 1.125rem;
}

/* Service cards */
.services .services-grid .service-card {
    transition: transform .35s cubic-bezier(.2, .9, .3, 1), box-shadow .35s;
    border: none;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(250, 248, 244, 0.98) 100%);
}

.services .services-grid .service-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.12);
}

.service-badge {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 999px;
    background: var(--accent-opaque);
    color: var(--accent);
    font-weight: 600;
    font-size: 0.9rem;
    border: 1px solid rgba(131, 97, 11, 0.12);
}

/* Team cards */
.team-card {
    border-radius: 18px;
    overflow: hidden;
}

.team-photo {
    height: 320px;
}

.team-info {
    padding: 1.8rem;
}

.team-name {
    font-size: 1.15rem;
}

/* Contact form inputs */
.contact form input, .contact form textarea {
    width: 100%;
    padding: 14px 16px;
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    background: #fff;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5);
    margin-bottom: 1rem;
    font-size: 1rem;
}

.contact form textarea {
    min-height: 140px;
    resize: vertical;
}

.contact .contact-info {
    padding: 3.6rem;
}

/* Prices page search form — match site design */
.search-form {
    margin-bottom: 1.5rem;
}

.search-row {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    align-items: center;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(250, 248, 244, 0.98) 100%);
    padding: 10px;
    border-radius: 18px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 8px 24px rgba(131, 97, 11, 0.05);
}

.search-row input[type="text"],
.search-row select {
    padding: 12px 14px;
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    background: #fff;
    font-size: 1rem;
    outline: none;
}

.search-row input[type="text"] {
    flex: 1 1 320px;
    min-width: 160px;
}

.search-row select {
    flex: 0 0 220px;
    min-width: 140px;
}

.search-row button {
    padding: 10px 18px;
    border-radius: 14px;
    border: none;
    background: linear-gradient(180deg, var(--accent) 0%, #b27f06 100%);
    color: #fff;
    font-weight: 700;
    cursor: pointer;
}

@media (max-width: 768px) {
    .search-row select {
        flex: 1 1 100%;
    }

    .search-row button {
        width: 100%;
    }
}

/* Map rounded */
.map-container {
    border-radius: 18px;
    overflow: hidden;
}

/* Footer subtle */
.site-footer {
    background: linear-gradient(180deg, #ffffff 0%, #fbf4e6 100%);
    border-top: 1px solid rgba(0, 0, 0, 0.03);
}

.site-footer .socials a {
    transition: transform .12s ease, box-shadow .12s ease;
}

.site-footer .socials a:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(131, 97, 11, 0.08);
}

/* Utility helpers */
.container--narrow {
    max-width: 960px;
    margin: 0 auto;
}

.center {
    text-align: center;
}

.lead {
    font-size: 1.125rem;
    color: var(--muted);
}

/* Small screens tweaks */
@media (max-width: 768px) {
    .main-header .menu {
        padding: 10px 18px;
    }

    /* Promotions grid responsive under mobile */
    .promotions-grid {
        grid-template-columns: 1fr !important;
    }
}

/* Promotions block styles */
.promotions {
    margin: 4rem auto;
}

.promotions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
    margin-top: 1.25rem;
}

.promo-card {
    overflow: hidden;
    border-radius: 14px;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.04);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
    text-align: center;
}

.promo-card img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    display: block;
}

.promo-title {
    padding: 10px 12px;
    font-weight: 700;
    color: var(--dark-brown);
}

.hero-block .info-block .container {
    padding: 22px;
}

}

/* ==== Hero breathing & premium typography ==== */

/* Make hero feel alive with slow-moving soft gradients and subtle scale (breathing) */
.hero-block {
    position: relative;
    overflow: hidden;
}

/* Use different hero image on mobile: keep original on desktop */
.hero-block .fon-mobile {
    display: none;
}

@media (max-width: 768px) {
    /* hide desktop bg and show mobile bg */
    .hero-block .fon-desktop {
        display: none;
    }

    .hero-block .fon-mobile {
        display: block;
        background-size: cover;
        background-position: center;
        min-height: 320px; /* ensure visible area on small screens */
    }
}

.hero-block:hover .fon {
    /*transform: scale(1.03);*/
}

@keyframes breathe {
    0% {
        transform: scale(1);
        opacity: 0.96
    }
    50% {
        transform: scale(1.015);
        opacity: 1
    }
    100% {
        transform: scale(1);
        opacity: 0.96
    }
}

@keyframes bgMove {
    0% {
        background-position: 0% 50%, 100% 50%, 50% 50%;
    }
    50% {
        background-position: 100% 50%, 0% 50%, 50% 50%;
    }
    100% {
        background-position: 0% 50%, 100% 50%, 50% 50%;
    }
}

/* Elegant heading using Playfair Display */
.hero-block .info-block .container h1 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    letter-spacing: -0.6px;
    font-size: clamp(2.2rem, 4.2vw, 4rem);
    color: var(--dark-brown);
}

.hero-block .info-block .container h1::after {
    content: '';
    display: block;
    width: 92px;
    height: 6px;
    margin: 14px auto 0;
    border-radius: 6px;
    background: linear-gradient(90deg, rgba(131, 97, 11, 0.95), rgba(201, 156, 48, 0.85));
    box-shadow: 0 8px 24px rgba(131, 97, 11, 0.12);
}

.hero-block .info-block .container p {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(1rem, 1.6vw, 1.25rem);
    color: var(--muted);
}

/* Hero CTA */
.hero-ctas {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 1.25rem;
}

.hero-ctas .btn-primary {
    font-size: 1rem;
    padding: 12px 26px;
}

.hero-ctas .btn-outline {
    background: transparent;
    color: var(--dark-brown);
    border: 1px solid rgba(0, 0, 0, 0.06);
    padding: 12px 24px;
    border-radius: 30px;
    font-weight: 600;
}

/* Soft floating accents (ornamental shapes) */
.hero-accent {
    position: absolute;
    z-index: 0;
    width: 320px;
    height: 320px;
    right: -80px;
    top: -40px;
    background: radial-gradient(circle at 30% 30%, rgba(201, 156, 48, 0.06), transparent 35%);
    filter: blur(30px);
    transform: rotate(12deg);
    animation: floatSlow 18s ease-in-out infinite;
}

.hero-accent.small {
    width: 180px;
    height: 180px;
    left: -60px;
    bottom: -40px;
    top: auto;
    right: auto;
    opacity: 0.9;
}

@keyframes floatSlow {
    0% {
        transform: translateY(0) rotate(12deg);
    }
    50% {
        transform: translateY(10px) rotate(12deg);
    }
    100% {
        transform: translateY(0) rotate(12deg);
    }
}

/* Responsive tweaks */
@media (max-width: 768px) {
    .hero-accent {
        display: none;
    }

    .hero-block::before {
        background-size: 250% 250%, 200% 200%, 100% 100%;
        filter: none;
        backdrop-filter: blur(0px);
    }
}

/* Hero entrance specifics */
.hero-block .fon.animate {
    opacity: 0;
    transform: scale(1.02) translateY(8px);
    transition: opacity 1.2s ease, transform 1.8s cubic-bezier(.2, .9, .3, 1);
}

.hero-block .fon.in-view {
    opacity: 1;
    transform: scale(1.03) translateY(0);
}

.hero-accent.animate {
    opacity: 0;
    transform: translateY(16px) scale(.98) rotate(12deg);
    transition: opacity 1.4s ease .18s, transform 1.6s cubic-bezier(.2, .9, .3, 1) .18s;
}

.hero-accent.animate.in-view {
    opacity: 1;
    transform: translateY(0) scale(1) rotate(12deg);
}

.hero-ctas .btn-primary.animate, .hero-ctas .btn-outline.animate {
    opacity: 0;
    transform: translateY(8px) scale(.995);
    transition: opacity 1.1s ease, transform 1.1s cubic-bezier(.2, .9, .3, 1);
}

.hero-ctas .btn-primary.animate.in-view, .hero-ctas .btn-outline.animate.in-view {
    opacity: 1;
    transform: none;
}

.info-block .container.animate {
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 1.3s ease, transform 1.3s cubic-bezier(.2, .9, .3, 1);
}

.info-block .container.animate.in-view {
    opacity: 1;
    transform: none;
}

.philosophy-content.animate {
    opacity: 0;
    transform: translateY(12px) scale(.997);
    transition: opacity 1.4s ease, transform 1.4s cubic-bezier(.2, .9, .3, 1);
}

.philosophy-content.animate.in-view {
    opacity: 1;
    transform: none;
}

/* End hero breathing & premium typography */

/* Reveal / scroll animations */
.animate {
    opacity: 0;
    transform: translateY(14px) scale(.995);
    transition: opacity 1.2s cubic-bezier(.2, .9, .3, 1), transform 1.2s cubic-bezier(.2, .9, .3, 1);
    will-change: opacity, transform;
}

.animate.in-view {
    opacity: 1;
    transform: none;
}

/* Stagger support: parent with .stagger */
.stagger .animate {
    transition-delay: calc(var(--stagger-index, 0) * 160ms);
}

/* Simple fade/scale for icons */
.icon-b, .service-icon, .team-photo img {
    transition: transform .6s cubic-bezier(.2, .9, .3, 1), box-shadow .6s;
}

.animate.in-view .icon-b, .animate.in-view .service-icon, .animate.in-view .team-photo img {
    transform: translateY(0) scale(1.02);
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
    .animate, .hero-block::before, .hero-accent {
        animation: none !important;
        transition: none !important;
    }
}

/* Prices page styles */

.prices-grid {
    margin-top: 2.5rem;
    display: grid;
    gap: 2.5rem;
}

.price-category-header {
    margin-bottom: 0.5rem;
}

.price-category__title {
    margin-bottom: 0.75rem;
    font-size: 1.5rem;
    color: var(--dark-brown);
}

.services-grid {
    display: grid;
    gap: 0.9rem;
    position: relative;
}

.service-row {
    display: grid;
    grid-template-columns: 1fr 6fr 3fr;
    /*align-items: center;*/
    /*justify-content: space-between;*/
    gap: 1rem;
    padding: 18px 24px;
    border-radius: 14px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(250, 248, 244, 0.98));
    border: 1px solid var(--accent-opaque);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.04);
}

.sticy-f {
    position: sticky;
    top: 94px;
    z-index: 30;
}

.service-info {
    flex: 1;
}

.service-title {
    margin: 0 0 6px 0;
    font-size: 1.05rem;
}

.service-desc {
    margin: 0;
    color: var(--muted);
}

.service-meta {
    flex: 0 0 160px;
    text-align: right;
}

.service-duration {
    color: var(--muted);
    font-size: 0.95rem;
    margin-bottom: 6px;
}

.service-price {
    font-weight: 700;
    font-size: 1.125rem;
    color: var(--dark-brown);
    display: flex;
    flex-direction: column;
}

@media (max-width: 768px) {
    .service-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .service-meta {
        text-align: left;
    }
}

/* Mobile & tablet responsive: hamburger menu and side paddings */
.hamburger {
    display: none;
    background: transparent;
    border: none;
    font-size: 22px;
    cursor: pointer;
    color: var(--text-color);
    padding: 12px;
}

.hamburger i {
    pointer-events: none;
}

.mobile-menu {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: flex-start;
    justify-content: flex-end;
    opacity: 0;
    pointer-events: none;
    transition: opacity .25s ease;
    z-index: 9999;
    -webkit-overflow-scrolling: touch;
}

.mobile-menu .mobile-menu-inner {
    width: 86%;
    max-width: 420px;
    background: #fff;
    height: 100%;
    padding: 20px;
    box-shadow: -8px 0 40px rgba(0, 0, 0, 0.12);
    overflow-y: auto;
    border-radius: 20px;
}

.mobile-menu.open {
    opacity: 1;
    pointer-events: auto;
    padding: 20px 0;
}

.mobile-menu .mobile-menu-inner ul {
    list-style: none;
    padding: 56px 8px 16px 8px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.mobile-menu .mobile-menu-inner a {
    display: block;
    padding: 14px 16px;
    border-radius: 12px;
    color: var(--text-color);
    background: transparent;
    font-weight: 600;
    font-size: 1rem;
}

.mobile-menu .mobile-menu-inner a:hover {
    background: var(--accent-opaque);
    color: var(--accent);
}

/* Ensure images and media are responsive */
img, picture, video, iframe {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Fluid typography and spacing */
h1 {
    font-size: clamp(1.6rem, 4.6vw, 3rem);
}

h2 {
    font-size: clamp(1.2rem, 3.6vw, 1.8rem);
}

p, a, li, button {
    font-size: clamp(0.95rem, 2.4vw, 1rem);
}

/* Improve header for small screens */
@media (max-width: 992px) {
    .main-header {
        padding-top: 8px;
    }

    .main-header .menu {
        padding: 10px 12px;
        border-radius: 14px;
        align-items: center;
        gap: 8px;
    }

    .main-header .menu .menu-link {
        display: none !important;
    }

    .hamburger {
        display: block;
    }

    .main-header .menu .logo img {
        width: 64px;
        height: auto;
    }

    .container {
        padding: 0 18px;
    }
}

/* Tablet and mobile layout adjustments */
@media (max-width: 768px) {
    /* Make header compact and not overlay content */
    .main-header {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
    }

    .main-header .menu {
        padding: 8px 10px;
        border-radius: 12px;
        margin: 8px;
        box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
    }

    body {
        padding-top: calc(72px + 8px);
    }

    /* reserve space for fixed header */
    /* Make hero use content flow on small screens */
    .hero-block {
        height: auto;
        min-height: 56vh;
        padding-top: 12px;
        padding-bottom: 24px;
        overflow: inherit;
    }

    .hero-block .fon {
        height: 340px;

    }

    .hero-block .info-block {
        position: absolute;
        bottom: -220px;
        /*padding-top: 8px;*/
    }

    .hero-block .info-block .container {
        margin: 0 auto;
        padding: 18px;
        border-radius: 18px;
        max-width: 100%;
    }

    /* Stack contact grid & service rows */
    .contact-grid, .services .services-grid, .team-grid, .prices-grid {
        grid-template-columns: 1fr !important;
        gap: 1rem;
        padding: 0;
    }

    .contact .contact-info, .services .services-grid .service-card, .team-card, .about .philosophy-content {
        /*padding: 18px;*/
        border-radius: 14px;
    }

    /* Buttons and CTAs */
    .hero-ctas {
        flex-direction: column;
        gap: 12px;
        align-items: stretch;
    }

    .hero-ctas .btn-primary, .hero-ctas .btn-outline {
        width: 100%;
        text-align: center;
        padding: 12px 16px;
    }

    /* Increase tap targets */
    .main-header .menu .menu-link a {
        padding: 12px 14px;
        border-radius: 10px;
    }

    .mobile-menu .mobile-menu-inner a {
        padding-left: 18px;
    }

    /* Footer stacking */
    .site-footer .footer-content {
        flex-direction: column;
        gap: 1rem;
        padding: 20px;
    }

    .about-m {
        margin-top: 20rem;
    }
}

/* Very small phones */
@media (max-width: 420px) {
    .about-m {
        margin-top: 20rem;
    }

    .container {
        padding: 0 12px;
    }

    .main-header .menu .logo img {
        width: 56px;
    }

    .hero-block .info-block .container h1 {
        font-size: clamp(1.4rem, 7.5vw, 2.2rem);
    }

    .hero-block .info-block .container p {
        font-size: 0.95rem;
    }

    .hero-block {
        min-height: 48vh;
    }
}

/* Accessibility: focus states */
a:focus, button:focus {
    outline: 3px solid rgba(131, 97, 11, 0.18);
    outline-offset: 2px;
}

body.mobile-menu-open .main-header .menu .menu-link {
    display: none !important;
}

body.mobile-menu-open .main-header .menu .hamburger {
    display: block !important;
}


.apparat-cards {
    display: grid;
    grid-template-columns:repeat(3, 1fr);
    gap: 24px;
    margin-top: 24px
}

.apparat-card {
    background: #fff;
    border-radius: 20px;
    border: 1px solid var(--accent-opaque);
    padding: 18px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
    display: flex;
    flex-direction: column;
    min-height: 320px
}

.card-media img {
    width: 100%;
    height: 210px;
    border-radius: 10px;
    display: block;
    margin-bottom: 12px;
    object-fit: cover;
}

.card-title {
    margin: 0 0 6px;
    font-size: 1.15rem
}

.card-sub {
    margin: 0 0 10px;
    color: #666
}

.card-intro {
    margin-bottom: 10px
}

.apparat-card h4 {
    margin: 10px 0 6px;
    font-size: 1rem
}

.apparat-card ul {
    margin: 0 0 8px 18px
}

@media (max-width: 1100px) {
    .apparat-cards {
        grid-template-columns:repeat(2, 1fr)
    }
}

@media (max-width: 700px) {
    .apparat-cards {
        grid-template-columns:1fr
    }

    .apparat-card {
        min-height: auto
    }
}

/* End premium enhancements */

/* Apparatus cards: details toggle button and animated reveal */
.toggle-details {
    display: inline-block;
    padding: 8px 14px;
    border-radius: 8px;
    background: var(--accent);
    color: #fff;
    border: 1px solid rgba(0, 0, 0, 0.06);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: background-color 180ms ease, transform 140ms ease;
}

.toggle-details:hover {
    background: color-mix(in srgb, var(--accent) 85%, black 15%);
    transform: translateY(-1px);
}

.toggle-details:active {
    transform: translateY(0);
}

.card-details {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transform: translateY(-6px);
    transition: max-height 320ms ease, opacity 260ms ease, transform 260ms ease;
}

.card-details.expanded {
    /* generous max-height to allow internal content to expand */
    max-height: 1300px;
    opacity: 1;
    transform: translateY(0);
}

/* small visual tweak so the details block has comfortable spacing when expanded */
.card-details > *:first-child {
    margin-top: 8px;
}

/* align button with card subtitle */
.card-sub + .toggle-details {
    margin-top: 8px;
}

/* Prices page mobile adjustments */
@media (max-width: 768px) {
    /* container padding + smaller gaps */
    .prices-page {
        padding-left: 16px;
        padding-right: 16px;
    }

    .prices-grid {
        gap: 1rem;
        margin-top: 1rem;
    }

    /* Search form stacks vertically on small screens */
    .search-row {
        display: flex;
        flex-direction: column;
        gap: 8px;
        align-items: stretch;
    }

    .search-row input[type="text"],
    .search-row select,
    .search-row .btn-primary {
        width: 100%;
        box-sizing: border-box;
        flex: none;
    }

    /* Each service becomes a vertical card */
    .service-row {
        display: grid;
        grid-template-columns: 1fr;
        gap: 8px;
        padding: 12px;
        border-radius: 12px;
    }

    /* Make meta (price/duration) sit under the description and align left */
    .service-meta {
        text-align: left;
        display: flex;
        justify-content: space-between;
        gap: 12px;
        flex-wrap: wrap;
        width: 100%;
    }

    /* Ensure duration and price share a line when possible */
    .service-duration {
        margin-bottom: 0;
        color: var(--muted);
    }

    .service-price {
        font-size: 1.05rem;
    }

    /* Reduce sticky header behaviour on mobile */
    .sticy-f {
        position: static;
        top: auto;
        display: none;
    }

    /* Tweak typography for compact view */
    .price-category__title {
        font-size: 1.25rem;
    }

    .service-title {
        font-size: 1.02rem;
    }
}

/* Extra small phones */
@media (max-width: 420px) {
    .service-row {
        padding: 10px;
    }

    .search-row input[type="text"] {
        padding: 10px 12px;
    }

    .btn-primary {
        padding: 10px 14px;
    }
}

/* End of apparatus styles */

/* Interior gallery styles */
.interior {
    margin: 3rem auto;
}

.interior h2 {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 3rem;
    color: #221b04;
}

.interior-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 1rem;
    align-items: stretch;
}

.interior-thumb {
    display: block;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
    border: 1px solid var(--accent-opaque);
}

.interior-thumb img {
    width: 100%;
    height: 140px;
    object-fit: cover;
    display: block;
    transition: transform .28s ease;
}

.interior-thumb:hover img {
    transform: scale(1.04);
}

/* Modal / lightbox */
.gallery-modal {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.7);
    z-index: 20000;
}

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

.gallery-inner {
    max-width: 92%;
    max-height: 82vh;
    padding: 8px;
    display: contents;
}

.gallery-inner img {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
    object-fit: contain;
}

.gallery-close, .gallery-prev, .gallery-next {
    position: absolute;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    color: var(--dark-brown);
    font-size: 1.6rem;
    padding: 8px 12px;
    border-radius: 10px;
    cursor: pointer;
}

.gallery-close {
    top: 20px;
    right: 20px;
}

.gallery-prev {
    left: 20px;
}

.gallery-next {
    right: 20px;
}

@media (max-width: 768px) {
    .interior-grid {
        gap: 8px;
    }

    .interior-thumb img {
        height: 120px;
    }

    .gallery-prev, .gallery-next {
        display: none;
    }
}

.feedback h1{
    text-align: center;
    font-size: 3rem;
    margin-bottom: 3rem;
    color: #221b04;
}


.dnk-soft {
    padding-top: 1rem;
    text-align: center;
    font-size: .8rem;
    color: #6c6c6c;
}
/* End interior gallery styles */



