/* =========================================
   DHARMA TATTOO - RESPONSIVE
========================================= */

@media (max-width: 1200px) {
    .container {
    width: min(94%, var(--container));
    margin: 0 auto;
}

    .hero-main-content {
        grid-template-columns: minmax(280px, 420px) minmax(340px, 1fr);
        gap: 34px;
        margin-top: 90px;
    }

    .hero-image {
        max-width: 440px;
    }
}

@media (max-width: 900px) {
    .nav-mobile-more {
    display: block !important;
}

.nav-desktop-only,
.social-desktop {
    display: none !important;
}
    .container {
    width: min(94%, var(--container));
    margin: 0 auto;

    }

    .site-header {
        position: sticky;
        top: 0;
    }

    .header-container {
        min-height: auto;
        padding: 14px 0;
        display: grid;
        grid-template-columns: 1fr;
        gap: 0;
        align-items: center;
    }

    .main-navigation {
        width: 100%;
    }

    .nav-list {
        display: grid;
        grid-template-columns: 1fr 1fr auto;
        align-items: center;
        gap: 10px;
        width: 100%;
    }

    .nav-item-home,
    .nav-item-gallery,
    .nav-mobile-more {
        display: block;
    }

    .nav-desktop-only,
    .social-desktop {
        display: none !important;
    }

    .nav-item,
    .nav-cta-item {
        width: 100%;
    }

    .nav-link,
    .nav-more-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        min-height: 48px;
        width: 100%;
        padding: 10px 14px;
        border: 1px solid rgba(198, 161, 91, 0.16);
        border-radius: 14px;
        background: rgba(0, 0, 0, 0.58);
        color: #fff;
        font-size: 0.94rem;
        font-weight: 600;
        text-align: center;
    }

    .nav-more-toggle {
        cursor: pointer;
        font: inherit;
    }

    .nav-item.dropdown {
        position: relative;
    }

    .dropdown-menu {
        position: absolute;
        top: calc(100% + 8px);
        left: 0;
        min-width: 100%;
        width: 100%;
        padding: 8px 0;
        border-radius: 14px;
        background: rgba(8, 8, 8, 0.97);
        border: 1px solid rgba(198, 161, 91, 0.16);
        box-shadow: 0 16px 40px rgba(0, 0, 0, 0.3);
        opacity: 0;
        visibility: hidden;
        transform: translateY(10px);
        transition: 0.25s ease;
        z-index: 50;
    }

    .nav-item.dropdown.active .dropdown-menu {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .dropdown-menu li {
        list-style: none;
    }

    .dropdown-menu li a {
        display: block;
        width: 100%;
        padding: 11px 14px;
        text-align: center;
        color: var(--text-soft);
        font-size: 0.93rem;
    }

    .dropdown-menu li a:hover {
        background: rgba(198, 161, 91, 0.08);
        color: var(--gold-light);
    }

    .mobile-more-panel {
        display: none;
        width: 100%;
        border-top: 1px solid rgba(198, 161, 91, 0.14);
        background: rgba(4, 4, 4, 0.98);
    }

    .mobile-more-panel.active {
        display: block;
    }

    .mobile-more-panel-inner {
        padding-top: 14px;
        padding-bottom: 16px;
        display: flex;
        flex-direction: column;
        gap: 10px;
    }

    .mobile-more-link {
        display: flex;
        align-items: center;
        justify-content: center;
        min-height: 48px;
        width: 100%;
        padding: 10px 14px;
        border: 1px solid rgba(198, 161, 91, 0.12);
        border-radius: 14px;
        background: rgba(198, 161, 91, 0.03);
        color: #fff;
        text-align: center;
    }

    .mobile-more-cta {
        display: flex;
        align-items: center;
        justify-content: center;
        min-height: 50px;
        width: 100%;
        padding: 10px 16px;
        border-radius: 999px;
        background: linear-gradient(135deg, var(--gold-dark), var(--gold));
        color: #0b0b0b;
        font-weight: 700;
        text-align: center;
    }

    

    .social-box {
        width: 42px;
        height: 42px;
        flex: 0 0 42px;
        border-radius: 10px;
    }

    .hero-section {
        padding-top: 70px;
        padding-bottom: 70px;
    }

    .hero-section::before {
        height: 520px;
        background-position: center top;
    }

    .hero-top-row {
        grid-template-columns: 1fr;
        gap: 14px;
        margin-bottom: 26px;
    }
    .hero-top-row {
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* ПОДРЕЖДАНЕ */
.hero-top-left {
    order: 2; /* бутонът отива под заглавието */
}

.hero-top-center {
    order: 1;
}

.hero-top-right {
    order: 3;
}

/* Центриране на бутона */
.hero-top-left,
.hero-top-right {
    justify-content: center;
    width: 100%;
}

.top-phone-button {
    margin-top: 10px;
}

    .hero-top-left,
    .hero-top-right,
    .hero-top-center {
        justify-content: center;
    }

    .top-phone-button,
    .top-consultation-button {
        width: 100%;
        max-width: 320px;
        margin: 0 auto;
    }

    .hero-main-content {
        grid-template-columns: 1fr;
        gap: 24px;
        margin-top: 30px;
        justify-items: center;
    }

    .hero-text-block,
    .hero-image-block {
        width: 100%;
        max-width: 680px;
    }

    .hero-text-block {
        padding: 24px 18px;
    }

    .hero-text-block h1 {
        font-size: 1.95rem;
        text-align: center;
    }

    .hero-small-text,
    .hero-description {
        text-align: center;
    }

    .hero-image {
        max-width: 360px;
        width: 100%;
        margin: 0 auto;
        display: block;
    }

    main section {
        padding: 65px 0;
    }

    .service-cards,
    .about-main-grid,
    .about-middle-grid,
    .about-extra-grid,
    .contact-page-grid,
    .consultation-layout,
    .gallery-dynamic-grid,
    .footer-container {
        grid-template-columns: 1fr !important;
    }
}

@media (max-width: 560px) {
    .container {
    width: min(94%, var(--container));
    margin: 0 auto;
}

    .header-container {
        padding: 12px 0;
    }

    .nav-list {
        grid-template-columns: 1fr 1fr auto;
        gap: 8px;
    }

    .nav-link,
    .nav-more-toggle {
        min-height: 44px;
        padding: 8px 10px;
        font-size: 0.88rem;
        border-radius: 12px;
    }

    .dropdown-menu {
        top: calc(100% + 6px);
    }

    .dropdown-menu li a {
        padding: 10px 10px;
        font-size: 0.9rem;
    }

    .mobile-more-link {
        min-height: 44px;
        font-size: 0.92rem;
        border-radius: 12px;
    }

    .mobile-more-cta {
        min-height: 46px;
        font-size: 0.92rem;
    }

    .social-box {
        width: 50px;
        height: 50px;
        flex: 0 0 40px;
    }

    .hero-section {
        padding-top: 90px;
        padding-bottom: 60px;
    }

    .hero-section::before {
        height: 430px;
    }

    .hero-main-content {
        margin-top: 22px;
        gap: 18px;
    }

    .hero-text-block {
        padding: 20px 14px;
        border-radius: 18px;
    }

    .hero-text-block h1 {
        font-size: 1.55rem;
        line-height: 1.15;
    }

    .hero-description {
        font-size: 0.93rem;
    }

    .top-phone-button,
    .top-consultation-button,
    .consultation-button {
        min-height: 48px;
        padding: 0 16px;
        font-size: 0.92rem;
    }

    .hero-image {
        max-width: 290px;
    }

    .section-heading h2,
    .gallery-page-title,
    .contact-page-title,
    .about-page-title {
        font-size: 1.55rem;
    }

    .gallery-dynamic-card,
    .gallery-dynamic-card img {
        min-height: 260px;
    }

    .map-embed-wrapper,
    .map-embed-wrapper iframe {
        min-height: 320px;
        height: 320px;
    }
}
@media (max-width: 900px) {
    .main-navigation {
        width: 100%;
        display: block;
    }

    .nav-list {
        display: grid !important;
        grid-template-columns: 1fr 1fr auto !important;
        align-items: center;
        gap: 8px;
        width: 100%;
        margin: 0;
        padding: 0;
        list-style: none;
    }

    .nav-item-home,
    .nav-item-gallery,
    .nav-mobile-more {
        display: block !important;
        width: 100%;
        min-width: 0;
    }

    .nav-mobile-more {
        opacity: 1 !important;
        visibility: visible !important;
    }

    .nav-more-toggle {
        display: flex !important;
        align-items: center;
        justify-content: center;
        min-height: 48px;
        width: 100%;
        padding: 10px 14px;
        border: 1px solid rgba(198, 161, 91, 0.16);
        border-radius: 14px;
        background: rgba(0, 0, 0, 0.58);
        color: #fff;
        font-size: 0.94rem;
        font-weight: 600;
        text-align: center;
        cursor: pointer;
        opacity: 1 !important;
        visibility: visible !important;
        appearance: none;
        -webkit-appearance: none;
    }

    .nav-desktop-only,
    .social-desktop {
        display: none !important;
    }
}

@media (max-width: 560px) {
    .nav-list {
        grid-template-columns: 1fr 1fr auto !important;
    }

    .nav-more-toggle {
        min-height: 44px;
        padding: 8px 10px;
        font-size: 0.88rem;
        border-radius: 12px;
    }
}
@media (max-width: 900px) {
    .reviews-slider-wrapper {
        grid-template-columns: 1fr !important;
    }

    .slider-arrow {
        display: none !important;
    }
}
@media (max-width: 900px) {
    .hero-brand-box {
        max-width: 430px;
        padding: 16px 18px 14px;
        border-radius: 18px;
    }

    .hero-logo-wrap {
        width: 66px;
        height: 66px;
        margin-bottom: 10px;
    }

    .hero-logo {
        max-width: 46px;
    }

    .hero-brand-title {
        font-size: 1.55rem;
        letter-spacing: 1px;
    }

    .hero-brand-subtitle {
        font-size: 0.78rem;
        letter-spacing: 1.5px;
    }
}

@media (max-width: 560px) {
    .hero-brand-box {
        max-width: 320px;
        padding: 14px 14px 12px;
        border-radius: 16px;
    }

    .hero-logo-wrap {
        width: 58px;
        height: 58px;
        margin-bottom: 8px;
    }

    .hero-logo {
        max-width: 40px;
    }

    .hero-brand-title {
        font-size: 1.2rem;
        line-height: 1.08;
    }

    .hero-brand-subtitle {
        font-size: 0.7rem;
        letter-spacing: 1.2px;
    }
}
/* =========================================
   CONTACT / LOCATION MOBILE OVERFLOW FIX
========================================= */

@media (max-width: 900px) {
    html,
    body {
        overflow-x: hidden;
    }

    .contact-page-section {
        overflow-x: hidden;
    }

    .contact-page-section .container {
        width: min(92%, 100%);
        max-width: 100%;
        overflow-x: hidden;
    }

    .contact-page-grid {
        grid-template-columns: 1fr !important;
        gap: 18px;
        width: 100%;
    }

    .contact-page-grid > * {
        min-width: 0;
        width: 100%;
        max-width: 100%;
    }

    .contact-info-card,
    .contact-map-card {
        width: 100%;
        max-width: 100%;
        min-width: 0;
        padding: 22px 16px;
        box-sizing: border-box;
    }

    .contact-info-list,
    .contact-info-item,
    .contact-value,
    .contact-label,
    .contact-socials-block,
    .contact-cta-box {
        min-width: 0;
        max-width: 100%;
        overflow-wrap: break-word;
        word-wrap: break-word;
    }

    .contact-social-links {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
        width: 100%;
        max-width: 100%;
    }

    .contact-social-links a {
        flex: 1 1 calc(50% - 8px);
        min-width: 0;
        max-width: 100%;
        white-space: normal;
        text-align: center;
        padding: 10px 8px;
    }

    .map-embed-wrapper {
        width: 100%;
        max-width: 100%;
        min-width: 0;
        min-height: 300px;
        height: 300px;
        overflow: hidden;
        border-radius: 16px;
        box-sizing: border-box;
    }

    .map-embed-wrapper iframe {
        display: block;
        width: 100%;
        max-width: 100%;
        height: 100%;
        border: 0;
    }

    .map-note-box {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
}

@media (max-width: 560px) {
    .contact-page-section .container {
        width: min(90%, 100%);
    }

    .contact-info-card,
    .contact-map-card {
        padding: 18px 14px;
    }

    .contact-social-links a {
        flex: 1 1 100%;
    }

    .map-embed-wrapper {
        min-height: 260px;
        height: 260px;
    }
}

/* =========================================
   MOBILE/TABLET SOCIAL ICONS INSIDE "Oще"
========================================= */

@media (max-width: 900px) {
    .mobile-more-panel .social-mobile {
        display: flex !important;
        justify-content: center;
        align-items: center;
        flex-wrap: wrap;
        gap: 10px;
        margin-top: 6px;
        padding-top: 12px;
        border-top: 1px solid rgba(198, 161, 91, 0.14);
    }

    .mobile-more-panel .social-mobile .social-box {
        width: 42px;
        height: 42px;
        flex: 0 0 42px;
        border-radius: 10px;
        border: 1px solid rgba(198, 161, 91, 0.22);
        background: rgba(198, 161, 91, 0.05);
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .mobile-more-panel .social-mobile .social-box img {
        width: 50px;
        height: 50px;
        object-fit: contain;
    }
}

@media (max-width: 560px) {
    .mobile-more-panel .social-mobile {
        gap: 8px;
        padding-top: 10px;
    }

    .mobile-more-panel .social-mobile .social-box {
        width: 40px;
        height: 40px;
        flex: 0 0 40px;
    }

    .mobile-more-panel .social-mobile .social-box img {
        width: 50px;
        height: 50px;
        object-fit: contain;
    }
}
@media (max-width: 900px) {
    .mobile-more-panel.active .social-mobile {
        display: flex !important;
        justify-content: center;
        align-items: center;
        flex-wrap: wrap;
        gap: 10px;
        margin-top: 10px;
        padding-top: 12px;
        border-top: 1px solid rgba(198, 161, 91, 0.14);
    }

    .mobile-more-panel.active .social-mobile .social-box {
        width: 42px;
        height: 42px;
        flex: 0 0 42px;
        border-radius: 10px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .mobile-more-panel .social-mobile .social-box img {
        width: 50px;
        height: 50px;
        object-fit: contain;
    }
}

@media (max-width: 560px) {
    .mobile-more-panel.active .social-mobile {
        gap: 8px;
        padding-top: 10px;
    }

    .mobile-more-panel.active .social-mobile .social-box {
        width: 40px;
        height: 40px;
        flex: 0 0 40px;
    }

    .mobile-more-panel .social-mobile .social-box img {
        width: 50px;
        height: 50px;
        object-fit: contain;
    }
}
@media (min-width: 901px) {
    
}

@media (max-width: 900px) {
    

    .mobile-more-panel.active .social-mobile {
        display: flex !important;
        justify-content: center;
        align-items: center;
        flex-wrap: wrap;
        gap: 10px;
        margin-top: 10px;
        padding-top: 12px;
        border-top: 1px solid rgba(198, 161, 91, 0.14);
    }

    .mobile-more-panel.active .social-mobile .social-box {
        width: 42px;
        height: 42px;
        flex: 0 0 42px;
        border-radius: 10px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .mobile-more-panel .social-mobile .social-box img {
        width: 50px;
        height: 50px;
        object-fit: contain;
    }
}

@media (max-width: 560px) {
    .mobile-more-panel.active .social-mobile {
        gap: 8px;
        padding-top: 10px;
    }

    .mobile-more-panel.active .social-mobile .social-box {
        width: 40px;
        height: 40px;
        flex: 0 0 40px;
    }

    .mobile-more-panel .social-mobile .social-box img {
        width: 50px;
        height: 50px;
        object-fit: contain;
    }
}
/* MOBILE SOCIALS FIX */

@media (min-width: 901px) {
    .social-mobile {
        display: none !important;
    }
}

@media (max-width: 900px) {
    .social-mobile {
        display: none;
    }

    .mobile-more-panel.active .social-mobile {
        display: flex !important;
        justify-content: center;
        align-items: center;
        gap: 10px;
        margin-top: 12px;
        padding-top: 12px;
        border-top: 1px solid rgba(198, 161, 91, 0.14);
    }

    .mobile-more-panel.active .social-mobile .social-box {
        width: 42px;
        height: 42px;
        flex: 0 0 42px;
    }

    .mobile-more-panel .social-mobile .social-box img {
        width: 50px;
        height: 50px;
        object-fit: contain;
    }
}