/* =========================================================================
   GlobAudit: design refinements
   Loaded after style.css / responsive.css / css.css, so it only overrides.

   Direction: an institutional audit firm. Deep navy from the logo, one warm
   brass accent, serif headlines, hairline borders instead of shadows,
   small radii, and no decoration that does not carry information.
   Armenian is the primary language, so every font stack pairs a Latin/
   Cyrillic face with a Noto Armenian face (per-glyph fallback).
   ========================================================================= */

:root {
    --navy-950: #000f32;
    --navy-900: #001a57;
    --navy-800: #0d2b6b;
    --navy-100: #e8edf7;
    --brass-500: #b08d57;
    --brass-600: #8a6c3a;
    --brass-300: #d3b98a;
    --ink: #101828;
    --body: #475467;
    --line: #e4e7ec;
    --paper: #f6f7f9;
    --white: #fff;

    --font-sans: 'Inter', 'Noto Sans Armenian', system-ui, -apple-system, 'Segoe UI', sans-serif;
    --font-serif: 'Source Serif 4', 'Noto Serif Armenian', Georgia, 'Times New Roman', serif;

    --radius: 2px;
    --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* ---------- Base typography ---------------------------------------------- */

body {
    font-family: var(--font-sans);
    font-size: 17px;
    line-height: 1.65;
    color: var(--body);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

body a,
.theme-button-one,
button,
input,
textarea {
    font-family: inherit;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-serif);
    color: var(--ink);
    letter-spacing: -0.005em;
}

h2 { font-size: clamp(1.75rem, 1.2rem + 1.6vw, 2.5rem); font-weight: 600; line-height: 1.2; }
h4 { font-size: 1.15rem; font-weight: 600; line-height: 1.35; }
h5 { font-size: 1.2rem; font-weight: 600; line-height: 1.35; }
p  { line-height: 1.7; }

::selection { background: var(--navy-900); color: var(--white); }

/* Visible keyboard focus (the theme removes outlines globally) */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
    outline: 2px solid var(--brass-500) !important;
    outline-offset: 3px;
}

/* ---------- Buttons ------------------------------------------------------- */

body .theme-button-one {
    background: var(--navy-900);
    color: var(--white);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.08em;
    line-height: 52px;
    padding: 0 34px;
    border-radius: var(--radius);
    transition: background-color 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease);
}

body .theme-button-one:hover {
    background: var(--brass-600);
    color: var(--white);
}

/* ---------- Section titles ------------------------------------------------ */

.theme-title-one h2 {
    text-transform: none;
    padding-bottom: 26px;
}

.theme-title-one h2:before {
    width: 48px;
    height: 2px;
    border-radius: 0;
    background: var(--brass-500);
    margin-left: -24px;
}

.theme-title-one p {
    max-width: 640px;
    margin: 0 auto;
}

/* ---------- Header: top bar ---------------------------------------------- */

.header-one .top-header {
    padding: 20px 0 30px;
}

.header-one .top-header > .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.header-one .top-header .logo {
    float: none;
    flex: 0 0 auto;
    width: auto;
}

.header-one .top-header .logo img {
    height: 76px;
    width: auto;
}

.header-one .top-header .address-wrapper ul {
    display: flex;
    align-items: center;
}

.header-one .top-header .address-wrapper .address {
    padding: 0 32px 0 50px;
    margin-right: 0;
}

.header-one .top-header .address-wrapper .address:first-child {
    margin-right: 0;
}

.header-one .top-header .address-wrapper .address:first-child:before {
    top: 4px;
    height: 36px;
}

.header-one .top-header .address-wrapper .address .icon {
    font-size: 32px;
    top: 0;
    color: var(--navy-900);
}

.header-one .top-header .address-wrapper .address h6 {
    font-family: var(--font-sans);
    font-size: 12.5px;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: var(--brass-600);
    line-height: 1.4;
}

.header-one .top-header .address-wrapper .address p {
    font-size: 15px;
    line-height: 1.4;
    color: var(--ink);
}

.header-one .top-header .address-wrapper .quotes a {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.08em;
    line-height: 46px;
    padding: 0 26px;
    border: 1px solid var(--navy-900);
    border-radius: var(--radius);
    transition: background-color 0.25s var(--ease), color 0.25s var(--ease);
}

.header-one .top-header .address-wrapper .quotes a:hover {
    background: var(--navy-900);
    color: var(--white);
}

/* ---------- Header: navigation bar --------------------------------------- */

.header-one .theme-menu-wrapper {
    margin-bottom: -37px;
}

.header-one .theme-menu-wrapper .bg-wrapper {
    background: var(--navy-950);
    border-top: 2px solid var(--brass-500);
    padding-left: 12px;
    box-shadow: 0 18px 40px -22px rgba(0, 15, 50, 0.55);
}

@media (min-width: 992px) {
    /* The theme floats menu + widgets, which wraps the widgets onto a second
       row whenever the labels are wider than expected (e.g. Armenian). */
    .header-one .theme-menu-wrapper .bg-wrapper {
        display: flex;
        align-items: stretch;
        justify-content: space-between;
    }

    .header-one .theme-menu-wrapper .bg-wrapper:before,
    .header-one .theme-menu-wrapper .bg-wrapper:after {
        display: none;
    }

    .header-one .theme-menu-wrapper .menu-wrapper,
    .header-one .theme-menu-wrapper .right-widget {
        float: none;
    }

    .header-one .theme-menu-wrapper .right-widget > ul {
        display: flex;
        align-items: stretch;
        height: 100%;
    }
}

#mega-menu-holder > ul > li > a {
    padding: 24px 18px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.07em;
    color: #b9c2d8;
    transition: color 0.2s var(--ease);
}

#mega-menu-holder > ul > li.has-submenu > a {
    padding-right: 34px;
}

#mega-menu-holder li .sub-toggle {
    right: 14px;
    line-height: 66px;
}

/* Replace the "/" separators with an underline that grows in */
#mega-menu-holder > ul > li > a:before {
    content: '';
    left: 18px;
    right: 18px;
    top: auto;
    bottom: 16px;
    height: 2px;
    line-height: 0;
    background: var(--brass-500);
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 0.3s var(--ease);
}

#mega-menu-holder > ul > li:last-child > a:before {
    display: block;
}

#mega-menu-holder > ul > li.has-submenu > a:before {
    right: 34px;
}

#mega-menu-holder > ul > li:hover > a:before,
#mega-menu-holder > ul > li.active > a:before {
    transform: scaleX(1);
}

#mega-menu-holder > ul > li.active > a,
#mega-menu-holder > ul > li:hover > a {
    color: var(--white);
}

#mega-menu-holder li > ul.dropdown {
    border-top: 2px solid var(--brass-500);
    border-radius: 0 0 var(--radius) var(--radius);
    min-width: 260px;
    padding: 6px 0;
    box-shadow: 0 24px 40px -18px rgba(0, 15, 50, 0.35);
}

#mega-menu-holder ul.dropdown li {
    border: none;
}

#mega-menu-holder ul.dropdown li a {
    padding: 0 20px;
    line-height: 42px;
    font-size: 12.5px;
    font-weight: 600;
    letter-spacing: 0.04em;
    color: var(--ink);
}

#mega-menu-holder ul.dropdown li a:before {
    background: var(--navy-100);
}

#mega-menu-holder ul.dropdown li:hover > a {
    color: var(--navy-900);
}

/* Right-hand widgets: language + search */
.theme-menu-wrapper .right-widget ul li {
    line-height: 1;
    display: flex;
    align-items: center;
}

.theme-menu-wrapper .right-widget .lang-switch {
    position: relative;
}

.lang-toggle {
    height: 100%;
    padding: 0 18px;
    background: transparent;
    color: #b9c2d8;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.08em;
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    transition: color 0.2s var(--ease), background-color 0.2s var(--ease);
}

.lang-toggle:after {
    content: '';
    display: inline-block;
    width: 5px;
    height: 5px;
    margin: 0 0 3px 9px;
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    transform: rotate(45deg);
}

.lang-toggle:hover,
.lang-toggle[aria-expanded="true"] {
    color: var(--white);
    background: rgba(255, 255, 255, 0.05);
}

.theme-menu-wrapper .right-widget .lang-switch ul.lang-menu {
    position: absolute;
    top: 100%;
    right: 0;
    z-index: 1000;
    min-width: 132px;
    display: block;
    padding: 6px 0;
    background: var(--white);
    border-top: 2px solid var(--brass-500);
    box-shadow: 0 24px 40px -18px rgba(0, 15, 50, 0.35);
}

.theme-menu-wrapper .right-widget .lang-switch ul.lang-menu[hidden] {
    display: none;
}

.theme-menu-wrapper .right-widget .lang-switch ul.lang-menu li {
    display: block;
}

.lang-menu a {
    display: block;
    padding: 10px 20px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.06em;
    color: var(--ink);
}

.lang-menu a:hover {
    background: var(--navy-100);
    color: var(--navy-900);
}

.theme-menu-wrapper .right-widget .search-option .dropdown-toggle {
    height: 100%;
    width: 56px;
    color: #b9c2d8;
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    transition: color 0.2s var(--ease), background-color 0.2s var(--ease);
}

.theme-menu-wrapper .right-widget .search-option .dropdown-toggle:hover {
    color: var(--white);
    background: rgba(255, 255, 255, 0.05);
}

.theme-menu-wrapper .right-widget .search-option .dropdown {
    height: 100%;
}

.theme-menu-wrapper .right-widget .search-option form button {
    background: var(--navy-900);
    border-color: var(--navy-900);
}

.theme-menu-wrapper.fixed {
    background: var(--navy-950);
    box-shadow: 0 12px 32px -14px rgba(0, 15, 50, 0.5);
}

/* ---------- Hero ---------------------------------------------------------- */

#theme-main-banner .camera_caption h1 {
    font-family: var(--font-serif);
    font-size: clamp(1.55rem, 0.9rem + 3.4vw, 3.75rem);
    font-weight: 600;
    line-height: 1.14;
    letter-spacing: -0.012em;
    text-transform: none;
    max-width: 13em;
    padding: 0 0 36px;
}

#theme-main-banner .camera_caption p {
    font-family: var(--font-sans);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.16em;
    line-height: 1.5;
    text-transform: uppercase;
    color: var(--brass-600);
    display: flex;
    align-items: center;
    gap: 14px;
}

#theme-main-banner .camera_caption p:empty {
    display: none;
}

#theme-main-banner .camera_caption p:before {
    content: '';
    width: 36px;
    height: 2px;
    background: var(--brass-500);
}

#theme-main-banner .camera_caption .theme-button-one {
    background: var(--navy-900);
    color: var(--white);
}

#theme-main-banner .camera_caption .theme-button-one:hover {
    background: var(--brass-600);
}

#theme-main-banner .camera_pag .camera_pag_ul li {
    border-color: var(--navy-900);
}

/* Hero supporting line + actions */
.hero-services {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 0;
    margin: 0 0 32px;
    font-size: 16px;
    font-weight: 500;
    color: var(--navy-800);
}

.hero-services li {
    display: inline-flex;
    align-items: center;
}

.hero-services li + li:before {
    content: '';
    width: 5px;
    height: 5px;
    margin: 0 14px;
    background: var(--brass-500);
    transform: rotate(45deg);
}

#theme-main-banner .hero-services {
    margin-bottom: 32px;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 14px;
}

.hero-call,
.mobile-contact {
    display: none;
}

/* ---------- Service strip (owl carousel of four) -------------------------- */

.top-feature .main-content {
    background: var(--paper);
    padding: 44px 12%;
    border-bottom: 2px solid transparent;
    border-right: 1px solid var(--white);
    transition: background-color 0.3s var(--ease), border-color 0.3s var(--ease);
}

.top-feature .main-content:hover {
    background: var(--white);
    border-bottom-color: var(--brass-500);
}

.top-feature .main-content img {
    width: 56px;
    height: auto;
}

.top-feature .main-content h4 {
    padding-bottom: 0;
    margin: 20px 0 0;
    font-size: 1.1rem;
}

.top-feature .main-content h4:before {
    display: none;
}

.top-feature .main-content h4 a {
    font-family: var(--font-serif);
}

/* Equal-height cells (owl items are sized by their own content) */
.top-features-slide .owl-stage {
    display: flex;
}

.top-features-slide .owl-item {
    display: flex;
}

.top-features-slide .owl-item .item {
    display: flex;
    width: 100%;
}

.top-features-slide .owl-item .main-content {
    width: 100%;
}

.top-features-slide .owl-item .main-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
}

/* ---------- About --------------------------------------------------------- */

.about-compnay img {
    border-radius: var(--radius);
}

.about-compnay .theme-title-one {
    text-align: left;
}

.about-compnay .theme-title-one h2:before {
    left: 0;
    margin-left: 0;
}

.about-compnay .theme-title-one p {
    margin: 0;
    max-width: none;
}

.about-compnay .mission-goal {
    border-top: 1px solid var(--line);
}

.about-compnay .mission-goal li .icon {
    font-size: 44px;
    color: var(--navy-900);
}

.about-compnay .mission-goal li:nth-child(2) {
    border-left: 1px solid var(--line);
    border-right: 1px solid var(--line);
}

.about-compnay .mission-goal li h4 {
    font-size: 1rem;
    padding: 4px 8px 0;
}

/* ---------- International standards (new) --------------------------------- */

.standards .standards-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
    margin-top: 48px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
}

.standards .standards-list li + li {
    border-left: 1px solid var(--line);
}

.standard-card {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 40px 36px 36px;
    transition: background-color 0.3s var(--ease);
}

.standard-card:before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: -1px;
    height: 2px;
    background: var(--brass-500);
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 0.4s var(--ease);
}

.standard-card:hover {
    background: var(--paper);
}

.standard-card:hover:before {
    transform: scaleX(1);
}

.standard-code {
    font-family: var(--font-serif);
    font-size: clamp(2.25rem, 1.6rem + 1.6vw, 3rem);
    font-weight: 600;
    line-height: 1;
    letter-spacing: -0.01em;
    color: var(--navy-900);
}

.standard-name {
    margin-top: 18px;
    font-size: 15.5px;
    line-height: 1.55;
    color: var(--body);
}

.standard-arrow {
    margin-top: auto;
    padding-top: 28px;
    font-size: 18px;
    color: var(--brass-600);
    transition: transform 0.3s var(--ease);
}

.standard-card:hover .standard-arrow {
    transform: translateX(6px);
}

/* ---------- Feature banner (call to action) ------------------------------- */

.feature-banner .opacity {
    background: linear-gradient(0deg, rgba(0, 15, 50, 0.86), rgba(0, 26, 87, 0.8));
    padding: 88px 0 92px;
}

.feature-banner .opacity h2 {
    font-size: clamp(1.6rem, 1.1rem + 1.6vw, 2.5rem);
    line-height: 1.3;
    max-width: 22em;
    margin: 0 auto 36px;
    padding: 0;
    color: var(--white);
}

.feature-banner .theme-button-one {
    background: var(--white);
    color: var(--navy-900);
}

.feature-banner .theme-button-one:hover {
    background: var(--brass-500);
    color: var(--white);
}

/* ---------- Services grid ------------------------------------------------- */

.service-style-one .single-service {
    padding-left: 104px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
    transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease), transform 0.3s var(--ease);
}

.service-style-one .single-service .text {
    border: none;
    padding: 22px 20px 20px 26px;
    min-height: 100%;
}

.service-style-one .single-service .img-box {
    width: 104px;
    border-radius: 0;
    background: var(--navy-900);
}

.service-style-one .single-service .img-box img {
    height: 100%;
    object-fit: cover;
    border-radius: 0;
    opacity: 0.9;
    transition: opacity 0.3s var(--ease), transform 0.5s var(--ease);
}

.service-style-one .single-service h5 {
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.service-style-one .single-service h5 a {
    font-family: var(--font-serif);
}

.service-style-one .single-service .text .read-more {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.1em;
    color: var(--brass-600);
    background: none;
}

.service-style-one .single-service:hover {
    border-color: var(--navy-900);
    box-shadow: 0 18px 36px -22px rgba(0, 15, 50, 0.4);
    transform: translateY(-2px);
}

.service-style-one .single-service:hover .text {
    border-color: transparent;
}

.service-style-one .single-service:hover .img-box img {
    opacity: 1;
    transform: scale(1.04);
}

.service-style-one .single-service .text .read-more i {
    transition: transform 0.3s var(--ease);
}

.service-style-one .single-service:hover .read-more i {
    transform: translateX(4px);
}

.service-style-one .contact-text h4 {
    font-weight: 500;
}

.service-style-one .contact-text h5,
.service-style-one .contact-text h5 a {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    color: var(--navy-900);
    background: none;
}

/* Equal-height service cards */
.service-style-one .wrapper .row > [class*="col-"] {
    display: flex;
}

.service-style-one .single-service {
    width: 100%;
}

.service-style-one .contact-text {
    padding-top: 28px;
}

.service-style-one .contact-text h5:before {
    display: none;
}

.service-style-one .contact-text h5 a {
    display: inline;
    border-bottom: 1px solid transparent;
    transition: border-color 0.2s var(--ease);
}

.service-style-one .contact-text h5 a:hover {
    border-bottom-color: var(--brass-500);
}

/* ---------- Inner-page title banner --------------------------------------- */

.theme-inner-banner,
.short-banner {
    background-color: var(--navy-900);
    background-attachment: scroll;
}

.theme-inner-banner .overlay,
.short-banner .overlay {
    background: linear-gradient(180deg, rgba(13, 43, 107, 0.9), rgba(0, 26, 87, 0.92));
    padding: 92px 0 60px;
}

.theme-inner-banner .overlay h2,
.short-banner .overlay h2 {
    width: auto;
    max-width: 90%;
    margin: 0 auto;
    color: var(--white);
    font-size: clamp(1.6rem, 1.1rem + 1.6vw, 2.5rem);
    line-height: 1.25;
    text-transform: none;
}

@media (max-width: 575px) {
    .theme-inner-banner .overlay,
    .short-banner .overlay {
        padding: 48px 0 40px;
    }

    .theme-inner-banner .overlay h2,
    .short-banner .overlay h2 {
        font-size: 1.45rem;
        text-wrap: balance;
    }
}

/* Document tables (ISA / IFRS / IAS / laws / reports) */
.container .file-table {
    margin: 48px 0 96px;
    border: 1px solid var(--line);
}

.container .file-table th,
.container .file-table td {
    border: none;
    border-bottom: 1px solid var(--line);
    padding: 14px 16px;
    font-size: 15px;
}

.container .file-table th {
    background: var(--paper);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.08em;
    color: var(--ink);
}

.container .file-table tbody tr:hover td {
    background: var(--paper);
}

.container .file-table .file-link {
    color: var(--navy-900);
    font-weight: 500;
}

.container .file-table .file-link:hover {
    color: var(--brass-600);
}

/* ---------- Consultation form --------------------------------------------- */

.consultation-form .main-content {
    box-shadow: none;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
}

.consultation-form .img-box {
    border-radius: 0;
}

.consultation-form .form-wrapper {
    border-radius: 0;
    padding: 64px 44px 0;
}

.theme-form-one input,
.theme-form-one .form-control,
.theme-form-one textarea {
    border-bottom: 1px solid #c7ccd6;
    font-size: 16px;
    color: var(--ink);
    transition: border-color 0.2s var(--ease);
}

.theme-form-one input:focus,
.theme-form-one textarea:focus {
    border-bottom-color: var(--navy-900);
}

.theme-form-one ::placeholder {
    color: #667085;
    opacity: 1;
}

/* ---------- Partners ------------------------------------------------------ */

.partner-section.bg-color {
    background: var(--paper);
    border-top: 1px solid var(--line);
}

.partner-section h6 {
    font-family: var(--font-sans);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.12em;
    color: var(--brass-600);
}

.partner-slider .owl-stage {
    display: flex;
    align-items: center;
}

.partner-section .item img {
    filter: grayscale(1);
    opacity: 0.7;
    transition: filter 0.3s var(--ease), opacity 0.3s var(--ease);
}

.partner-section .item:hover img {
    filter: none;
    opacity: 1;
}

/* ---------- Footer -------------------------------------------------------- */

.theme-footer-one .top-footer {
    background: var(--navy-950);
    border-top: 2px solid var(--brass-500);
}

.theme-footer-one .top-footer .title {
    font-family: var(--font-sans);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--brass-300);
}

.theme-footer-one .top-footer .about-widget p {
    color: #aab4cc;
    line-height: 1.75;
}

.theme-footer-one .top-footer .footer-list ul li a,
.theme-footer-one .top-footer .about-widget .queries a {
    color: #d5dbea;
}

.theme-footer-one .top-footer .footer-list ul li a:hover,
.theme-footer-one .top-footer .about-widget .queries a:hover {
    color: var(--white);
}

.theme-footer-one .top-footer .footer-list ul li {
    line-height: 1.5;
    padding: 5px 0 5px 22px;
}

.theme-footer-one .top-footer .footer-list ul li:before {
    content: '';
    width: 10px;
    height: 1px;
    top: 17px;
    background: var(--brass-500);
}

.theme-footer-one .top-footer .footer-list ul li a {
    font-family: var(--font-sans);
    font-size: 16px;
}

.theme-footer-one .top-footer .about-widget p,
.theme-footer-one .top-footer .about-widget .queries {
    font-size: 16px;
}

.theme-footer-one .top-footer .about-widget .queries a {
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.9;
}

.theme-footer-one .top-footer .footer-newsletter input {
    border-radius: var(--radius);
}

.theme-footer-one .top-footer .footer-newsletter .theme-button-one {
    background: var(--brass-500);
    color: var(--navy-950);
}

.theme-footer-one .top-footer .footer-newsletter .theme-button-one:hover {
    background: var(--white);
    color: var(--navy-950);
}

.theme-footer-one .bottom-footer {
    background: #000a24;
}

.theme-footer-one .bottom-footer p {
    font-size: 14px;
    color: #8a95b0;
}

.scroll-top {
    border-radius: var(--radius);
    background: var(--navy-900);
}

/* ---------- Responsive ---------------------------------------------------- */

@media (max-width: 1199px) {
    .header-one .top-header .address-wrapper .address {
        padding-right: 20px;
    }
}

@media (max-width: 991px) {
    /* ---- Header: one compact white bar -------------------------------
       The theme hides the whole top bar below 992px (logo included) and
       stacks a separate menu strip. Here the logo sits on the left of the
       same 60px bar that carries language, search and the menu button. */
    .main-page-wrapper {
        overflow-x: clip;
    }

    .header-one {
        position: sticky;
        top: 0;
        z-index: 999;
        background: var(--white);
        box-shadow: 0 1px 0 var(--line);
    }

    .header-one .top-header {
        display: block;
        position: absolute;
        top: 0;
        left: 0;
        z-index: 100;
        padding: 0;
        width: auto;
        background: transparent;
    }

    .header-one .top-header > .container {
        display: block;
        padding: 0 16px;
    }

    .header-one .top-header .address-wrapper {
        display: none;
    }

    .header-one .top-header .logo {
        display: flex;
        align-items: center;
        height: 60px;
    }

    .header-one .top-header .logo img {
        height: 38px;
        margin: 0;
    }

    .header-one .theme-menu-wrapper,
    .header-one .theme-menu-wrapper.fixed {
        position: relative !important;
        margin: 0;
        background: transparent;
        box-shadow: none;
        animation: none;
    }

    .header-one .theme-menu-wrapper .bg-wrapper {
        display: flex;
        justify-content: flex-end;
        background: transparent;
        border-top: none;
        box-shadow: none;
        padding: 0;
        min-height: 60px;
    }

    .header-one .theme-menu-wrapper .bg-wrapper:before,
    .header-one .theme-menu-wrapper .bg-wrapper:after {
        display: none;
    }

    .header-one .theme-menu-wrapper > .container {
        padding: 0;
    }

    /* Menu button on the far right; the list opens full width below */
    .header-one .menu-wrapper {
        position: absolute;
        left: 0;
        right: 0;
        top: 0;
        width: 100%;
    }

    .header-one .menu-collapser {
        margin: 0;
        height: 60px;
    }

    .header-one .collapse-button {
        float: right;
        height: 60px;
        padding: 0 16px;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .header-one .collapse-button .icon-bar {
        background: var(--navy-900);
        width: 24px;
        margin-top: 5px;
    }

    .header-one .collapse-button .icon-bar:first-child {
        margin-top: 0;
    }

    .header-one .theme-menu-wrapper .right-widget {
        margin-right: 56px;
    }

    .theme-menu-wrapper .right-widget .lang-toggle,
    .theme-menu-wrapper .right-widget .search-option .dropdown-toggle {
        color: var(--navy-900);
        border-left: none;
    }

    .theme-menu-wrapper .right-widget .lang-toggle:hover,
    .theme-menu-wrapper .right-widget .lang-toggle[aria-expanded="true"],
    .theme-menu-wrapper .right-widget .search-option .dropdown-toggle:hover {
        color: var(--navy-900);
        background: var(--navy-100);
    }

    .theme-menu-wrapper .right-widget .search-option .dropdown-toggle {
        width: 48px;
        font-size: 16px;
    }

    .theme-menu-wrapper .right-widget .search-option .dropdown-menu {
        position: fixed !important; /* Popper writes an inline position:absolute */
        top: 60px !important;
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        box-shadow: 0 18px 30px -18px rgba(0, 15, 50, 0.4);
    }

    #mega-menu-holder {
        border-top: 1px solid var(--line);
        max-height: calc(100vh - 60px);
    }

    .theme-menu-wrapper .right-widget .lang-toggle,
    .theme-menu-wrapper .right-widget .search-option .dropdown-toggle {
        height: 60px;
    }

    .theme-menu-wrapper .right-widget > ul {
        display: flex;
        align-items: center;
    }

    #mega-menu-holder > ul > li > a {
        line-height: 1.3;
    }

    #mega-menu-holder > ul > li > a {
        font-size: 13px;
        color: var(--ink);
    }

    #mega-menu-holder > ul > li > a:before {
        display: none;
    }

    #mega-menu-holder > ul > li.active > a,
    #mega-menu-holder > ul > li:hover > a {
        color: var(--navy-900);
        background: var(--navy-100);
    }

    .standards .standards-list {
        grid-template-columns: 1fr;
    }

    .standards .standards-list li + li {
        border-left: none;
        border-top: 1px solid var(--line);
    }

    .standard-card {
        padding: 28px 24px;
    }

    .feature-banner {
        background-attachment: scroll;
    }

    .feature-banner .opacity {
        padding: 64px 0;
    }
}

/* ---- Phones: hero as photo + navy scrim, with the message on top --------
   The 1920x780 slide is shown cropped to the person (right side of the photo)
   instead of its empty left third, and the text sits on a dark gradient. */
@media (max-width: 767px) {
    #theme-main-banner,
    #theme-main-banner .camera_fakehover,
    #theme-main-banner .camera_target,
    #theme-main-banner .camera_overlayer,
    #theme-main-banner .camera_caption {
        height: 520px !important;
    }

    #theme-main-banner {
        background: var(--navy-950);
    }

    /* style.css hides .imgLoaded below 768px; show it, cropped to the person */
    #theme-main-banner .camera_target img.imgLoaded {
        display: block !important;
        left: auto !important;
        right: -170px !important;
        width: auto !important;
        height: 520px !important;
        margin: 0 !important;
        max-width: none;
    }

    #theme-main-banner .camera_overlayer {
        opacity: 1 !important;
        background: linear-gradient(180deg, rgba(0, 15, 50, 0) 26%, rgba(0, 15, 50, 0.78) 58%, rgba(0, 15, 50, 0.96) 100%);
    }

    #theme-main-banner .container {
        position: absolute;
        top: auto;
        left: 0;
        right: 0;
        bottom: 0;
        transform: none;
        padding: 0 20px 62px;
    }

    #theme-main-banner .camera_caption h1 {
        color: var(--white);
        font-size: min(2.2rem, 7vw); /* longest Armenian word must fit down to ~320px */
        overflow-wrap: break-word;
        line-height: 1.16;
        padding: 0 0 14px;
        max-width: none;
    }

    #theme-main-banner .camera_caption p {
        color: var(--brass-300);
    }

    #theme-main-banner .hero-services {
        gap: 8px;
        margin: 0 0 24px;
        font-size: 13px;
        color: #d5dbea;
    }

    .hero-services li {
        padding: 5px 12px;
        border: 1px solid rgba(255, 255, 255, 0.28);
        border-radius: 999px;
    }

    .hero-services li + li:before {
        display: none;
    }

    .hero-actions {
        flex-wrap: wrap;
        gap: 10px;
    }

    #theme-main-banner .camera_caption .theme-button-one {
        background: var(--white);
        color: var(--navy-900);
        line-height: 48px;
        padding: 0 26px;
    }

    #theme-main-banner .camera_caption .theme-button-one:hover {
        background: var(--brass-500);
        color: var(--white);
    }

    .hero-call {
        display: inline-flex;
        align-items: center;
        gap: 10px;
        height: 50px;
        padding: 0 20px;
        border: 1px solid rgba(255, 255, 255, 0.45);
        border-radius: var(--radius);
        color: var(--white);
        font-size: 14px;
        font-weight: 600;
        letter-spacing: 0.02em;
    }

    body a.hero-call:hover {
        border-color: var(--white);
        color: var(--white);
    }

    /* Pagination: dots along the bottom instead of the left edge */
    #theme-main-banner .camera_pag {
        left: 0;
        right: 0;
        top: auto;
        bottom: 22px;
        height: auto;
    }

    #theme-main-banner .camera_pag .camera_pag_ul {
        top: 0;
        transform: none;
        display: flex;
        justify-content: center;
        gap: 6px;
        padding: 0;
    }

    #theme-main-banner .camera_pag .camera_pag_ul li {
        margin: 0;
        width: 22px;
        height: 3px;
        border-radius: 0;
        border: none;
        background: rgba(255, 255, 255, 0.35);
    }

    #theme-main-banner .camera_pag .camera_pag_ul li.cameracurrent,
    #theme-main-banner .camera_pag .camera_pag_ul li:hover {
        background: var(--brass-500);
    }

    #theme-main-banner .camera_pag .camera_pag_ul li span {
        background: transparent;
    }

    /* Contact strip right under the hero */
    .mobile-contact {
        display: block;
        background: var(--navy-950);
        border-top: 1px solid rgba(255, 255, 255, 0.08);
        padding: 6px 0;
    }

    .mobile-contact .container {
        padding: 0 20px;
    }

    .mobile-contact-item {
        display: flex;
        align-items: center;
        gap: 14px;
        padding: 11px 0;
        font-size: 15px;
        line-height: 1.4;
        color: #d5dbea;
    }

    body a.mobile-contact-item:hover {
        color: var(--white);
    }

    .mobile-contact-item + .mobile-contact-item {
        border-top: 1px solid rgba(255, 255, 255, 0.07);
    }

    .mobile-contact-item i {
        flex: 0 0 18px;
        text-align: center;
        font-size: 16px;
        color: var(--brass-300);
    }

    .top-feature.section-spacing {
        margin-top: 0;
    }
}

@media (max-width: 575px) {
    .service-style-one .single-service {
        padding-left: 84px;
    }

    .service-style-one .single-service .img-box {
        width: 84px;
    }

    .consultation-form .form-wrapper {
        padding: 36px 20px 0;
    }
}

/* ---------- Motion preferences ------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
    *,
    *:before,
    *:after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}
