/* HaykDental Armenian-only typography: no changes to shared English/Russian CSS. */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+Armenian:wght@400;500;600;700;800&display=swap');

html[lang="hy"] body,
html[lang="hy"] h1,
html[lang="hy"] h2,
html[lang="hy"] h3,
html[lang="hy"] h4,
html[lang="hy"] h5,
html[lang="hy"] h6,
html[lang="hy"] .urbanist-font {
    font-family: "Noto Sans Armenian", "Arial Unicode MS", Arial, sans-serif;
}



html[lang="hy"] .heading-title-con h2 {
    line-height: 1.3;
}

.hayk-language-nav {
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

.hayk-language-nav .nav-link {
    font-weight: 700;
    font-size: 13px;
}

.hayk-language-nav span[aria-current] {
    opacity: .65;
}

.hayk-form-notice {
    margin-top: 12px;
    color: #fff;
    font-size: 14px;
    line-height: 1.65;
}

.hayk-form-notice a {
    color: inherit;
    text-decoration: underline;
}

@media(max-width:991px) {
    .hayk-language-nav {
        padding: 10px 0;
    }
}




/* Armenian desktop header spacing */
@media (min-width: 992px) {

    /* Prevent navigation from occupying extra space */
    html[lang="hy"] .header-con #navbarSupportedContent {
        flex-grow: 0;
        flex-basis: auto;
        width: auto;
    }

    /* Remove automatic left spacing */
    html[lang="hy"] .header-con .navbar-nav.ml-auto {
        margin-left: 0 !important;
    }

    /* Reduce space before appointment button */
    html[lang="hy"] .header-con .header-contact {
        margin-left: 12px !important;
    }
}



/* ARMENIAN FOOTER IMPROVEMENTS */

html[lang="hy"] .footer-con {
    padding-top: 65px;
}

html[lang="hy"] .footer-con .middle_portion {
    padding-bottom: 65px;
}

/* Logo centered, text left aligned */
html[lang="hy"] .footer-con .logo-content {
    padding-right: 12px;
    text-align: left;
}

html[lang="hy"] .footer-con .footer-logo {
    display: block;
    text-align: center;
    margin-bottom: 20px;
}

html[lang="hy"] .footer-con .footer-logo img {
    max-width: 100%;
    height: auto;
}

/* Improve text readability */
html[lang="hy"] .footer-con .middle_portion
.links li a,
html[lang="hy"] .footer-con .middle_portion
.contact a,
html[lang="hy"] .footer-con .middle_portion
.contact p {
    font-size: 15px;
    line-height: 1.55;
}

html[lang="hy"] .footer-con .middle_portion
.text-size-20 {
    font-size: 19px;
    line-height: 1.4;
}

/* Mobile spacing */
@media (max-width: 767px) {
    html[lang="hy"] .footer-con {
        padding-top: 45px;
    }

    html[lang="hy"] .footer-con .middle_portion {
        padding-bottom: 45px;
    }
}




/* ARMENIAN MOBILE HEADER — menu | centered logo | phone number */
/* Keep this section at the END of hy.css, after all other header rules. */
html[lang="hy"] .header-con .hayk-mobile-call {
    display: none;
}

@media (max-width: 991px) {
    /* Grid keeps all three elements on a single row without overlap. */
    html[lang="hy"] .header-con .navbar {
        display: grid !important;
        grid-template-columns: 42px minmax(0, 1fr) max-content;
        align-items: center;
        justify-items: stretch;
        column-gap: 8px;
        row-gap: 0;
        width: 100%;
        min-width: 0;
        padding: 12px 10px !important;
        position: relative;
    }

    /* 1. Hamburger: reset absolute positioning from template CSS. */
    html[lang="hy"] .header-con .navbar-toggler {
        display: flex !important;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 4px;
        grid-column: 1;
        grid-row: 1;
        justify-self: start;
        position: static !important;
        inset: auto !important;
        transform: none !important;
        float: none !important;
        width: 40px;
        min-width: 40px;
        height: 40px;
        margin: 0 !important;
        padding: 5px !important;
        z-index: 2;
    }

    /* 2. Logo: keep visible and centered in available space. */
    html[lang="hy"] .header-con .navbar-brand {
        display: flex !important;
        grid-column: 2;
        grid-row: 1;
        align-items: center;
        justify-content: center;
        justify-self: center;
        position: static !important;
        inset: auto !important;
        transform: none !important;
        float: none !important;
        width: auto !important;
        min-width: 0;
        margin: 0 !important;
        padding: 0 !important;
    }

    html[lang="hy"] .header-con .navbar-brand figure {
        margin: 0 !important;
        padding: 0 !important;
    }

    html[lang="hy"] .header-con .main-logo {
        display: block !important;
        width: 140px !important;
        max-width: 100% !important;
        height: auto !important;
        position: static !important;
        transform: none !important;
    }

    /* 3. Phone: plain icon + number, aligned to the right. */
    html[lang="hy"] .header-con .hayk-mobile-call {
        display: inline-flex !important;
        grid-column: 3;
        grid-row: 1;
        justify-self: end;
        align-items: center;
        justify-content: flex-end;
        gap: 4px;
        position: static !important;
        inset: auto !important;
        transform: none !important;
        float: none !important;
        width: auto !important;
        margin: 0 !important;
        padding: 0 !important;
        border: 0 !important;
        background: transparent !important;
        color: #151515;
        font-size: 20px;
        line-height: 1.3;
        font-weight: 700;
        white-space: nowrap;
        text-decoration: none;
        z-index: 2;
    }

    html[lang="hy"] .header-con .hayk-mobile-call i {
        flex: 0 0 auto;
        color: #3eaeaf;
        font-size: 13px;
    }

    html[lang="hy"] .header-con .hayk-mobile-call:hover,
    html[lang="hy"] .header-con .hayk-mobile-call:focus {
        color: #268c8e;
        text-decoration: none;
    }

    /* The expanded mobile menu opens BELOW the first row. */
    html[lang="hy"] .header-con #navbarSupportedContent {
        grid-column: 1 / -1;
        grid-row: 2;
        position: static !important;
        inset: auto !important;
        transform: none !important;
        width: 100% !important;
        min-width: 0;
        margin: 0;
    }

    /* Desktop appointment/phone area is replaced by the compact mobile number. */
    html[lang="hy"] .header-con .header-contact {
        display: none !important;
    }
}

@media (max-width: 375px) {
    html[lang="hy"] .header-con .navbar {
        grid-template-columns: 38px minmax(0, 1fr) max-content;
        column-gap: 5px;
        padding-left: 7px !important;
        padding-right: 7px !important;
    }

    html[lang="hy"] .header-con .navbar-toggler {
        width: 36px;
        min-width: 36px;
        height: 38px;
        padding: 3px !important;
    }

    html[lang="hy"] .header-con .main-logo {
        width: 108px !important;
    }

    html[lang="hy"] .header-con .hayk-mobile-call {
        font-size: 10px;
        gap: 3px;
    }
}



/* ARMENIAN TOP BAR - MATCH ENGLISH HEIGHT */

@media (min-width: 992px) {

    html[lang="hy"] .topbar-con {
        padding: 4px 0 !important;
    }

    html[lang="hy"] .topbar-con
    .top-bar-inner-content {
        min-height: 28px;
        padding-top: 0 !important;
        padding-bottom: 0 !important;
        align-items: center;
    }

    html[lang="hy"] .topbar-con
    .top-bar-inner-content p {
        font-size: 14px;
        line-height: 24px !important;
        margin-top: 0 !important;
        margin-bottom: 0 !important;
    }

    html[lang="hy"] .topbar-con
    .topbar-address,
    html[lang="hy"] .topbar-con
    .topbar-address a {
        line-height: 24px !important;
        margin-top: 0 !important;
        margin-bottom: 0 !important;
    }
}
  



/* FIX ARMENIAN MOBILE HAMBURGER POSITION */

@media (max-width: 991px) {

    html[lang="hy"] .header-con .navbar > .navbar-toggler {
        grid-column: 1 !important;
        grid-row: 1 !important;

        align-self: center !important;
        justify-self: center !important;

        position: relative !important;
        inset: auto !important;
        transform: none !important;

        width: 40px !important;
        height: 40px !important;
        min-width: 40px !important;

        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 5px !important;

        margin: 0 !important;
        padding: 0 !important;

        background: transparent !important;
        border: 0 !important;
        z-index: 100;
        cursor: pointer;
    }

    html[lang="hy"] .header-con
    .navbar-toggler .navbar-toggler-icon {
        display: block !important;
        position: static !important;

        width: 24px !important;
        height: 2px !important;
        min-width: 24px !important;

        padding: 0 !important;
        margin: 0 !important;

        background: #151515 !important;
        background-image: none !important;
        border: 0 !important;
        border-radius: 2px;

        flex: 0 0 2px !important;
        transform: none !important;
        transition: transform 0.2s ease, opacity 0.2s ease;
    }

    html[lang="hy"] .header-con
    .navbar-toggler-icon::before,
    html[lang="hy"] .header-con
    .navbar-toggler-icon::after {
        content: none !important;
    }

    /* Open state - X icon */
    html[lang="hy"] .header-con
    .navbar-toggler:not(.collapsed)
    .navbar-toggler-icon:nth-child(1) {
        transform: translateY(7px) rotate(45deg) !important;
    }

    html[lang="hy"] .header-con
    .navbar-toggler:not(.collapsed)
    .navbar-toggler-icon:nth-child(2) {
        opacity: 0 !important;
    }

    html[lang="hy"] .header-con
    .navbar-toggler:not(.collapsed)
    .navbar-toggler-icon:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg) !important;
    }
}



html {
    scroll-behavior: smooth;
}

#appointment {
    scroll-margin-top: 30px;
}




/* BOOKING BUTTON IN NAVIGATION */

html[lang="hy"] .header-con .hayk-booking-nav {
    display: flex;
    align-items: center;
    justify-content: center;
}

html[lang="hy"] .header-con .hayk-booking-nav .contact-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;

    background: #3eaeaf;
    color: #ffffff !important;
    padding: 12px 18px;
    border-radius: 30px;

    font-size: 13px;
    font-weight: 600;
    line-height: 1.4;
    white-space: nowrap;
    text-decoration: none;
    transition: background 0.2s ease;
}

html[lang="hy"] .header-con .hayk-booking-nav .contact-btn:hover {
    background: #215657;
    color: #ffffff !important;
}

/* DESKTOP */
@media (min-width: 992px) {

    html[lang="hy"] .header-con .hayk-booking-nav {
        margin-left: 12px;
        margin-right: 12px;
    }
}

/* MOBILE NAVIGATION */
@media (max-width: 991px) {

    html[lang="hy"] .header-con .hayk-booking-nav {
        display: flex !important;
        justify-content: flex-start;
        width: 100%;
    }

    html[lang="hy"] .header-con .hayk-booking-nav .contact-btn {
        padding: 12px 20px;
        font-size: 14px;
        min-height: 44px;
    }

    html[lang="hy"] .header-con .hayk-language-nav {
        margin-top: 8px;
    }
}
