/* ==========================================================================
   Haya Al Tamayuz for Business Solutions — brand layer
   Loaded AFTER assets/css/style.css. Never edit style.css directly; every
   brand decision lives here so the base theme stays upgradeable.

   Palette is taken from the corporate mark (media/hayea-brand.png):
     navy    #0B4B79   primary / actions / headings accent
     red     #D3131C   secondary accent, used sparingly (eyebrows, rules, icons)
     silver  #B9C3CC   dividers, muted surfaces
     ink     #1C2539   headings (inherited from base theme)
   No layout, spacing or animation is changed here — colour and type only.
   ========================================================================== */

:root {
    /* --- Haya brand tokens --- */
    --haya-navy: #0B4B79;
    --haya-navy-deep: #073A5E;
    --haya-navy-light: #105F94;
    --haya-navy-tint: #EAF1F7;
    --haya-red: #D3131C;
    --haya-red-deep: #A80E15;
    --haya-red-tint: #FCEDEE;
    --haya-silver: #B9C3CC;
    --haya-silver-light: #E4E9EE;
    --haya-ink: #1C2539;

    /* --- Re-point the theme's own tokens at the brand --- */
    --color-primary: #0B4B79;
    --color-secondary: #1C2539;
    --color-blue: #0B4B79;
    --color-sky: #105F94;
    --color-heading-1: #1C2539;
    --color-border: #E4E9EE;

    /* Arabic face; harmless on the English page, used by haya-rtl.css */
    --font-arabic: "Tajawal", "Segoe UI", Tahoma, sans-serif;
}

/* --------------------------------------------------------------------------
   1. Buttons — navy fill, red sweep on hover (the theme's ::before wipe)
   -------------------------------------------------------------------------- */
.rts-btn.btn-primary {
    background: var(--haya-navy);
}

.rts-btn.btn-primary::before {
    background: var(--haya-red);
}

.rts-btn.btn-primary.btn-white {
    background: #fff;
    color: var(--haya-navy);
}

.rts-btn.btn-primary.btn-white:hover {
    color: #fff;
}

.rts-btn.btn-primary.btn-white::before {
    background: var(--haya-navy);
}

/* --------------------------------------------------------------------------
   2. Section headers
      The base theme sets a 150px outlined "ghost" word behind every heading,
      which collides with the title at narrow widths and reads as a rendering
      fault. It is toned down, pinned behind, and dropped entirely below 992px.
   -------------------------------------------------------------------------- */
.title-style-two {
    position: relative;
}

.title-style-two .pre {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--haya-red);
    font-weight: 600;
    margin-bottom: 14px;
}

/* Short red rule replaces the bare uppercase eyebrow */
.title-style-two .pre::before {
    content: "";
    width: 28px;
    height: 2px;
    background: var(--haya-red);
    flex: 0 0 28px;
}

.title-style-two.center .pre {
    justify-content: center;
}

.title-style-two .bg-content {
    color: transparent;
    -webkit-text-stroke-width: 1px;
    -webkit-text-stroke-color: rgba(11, 75, 121, .07);
    opacity: 1;
    z-index: -1;
    user-select: none;
}

.title-style-two .title,
.section-title .title,
.rts-breadcrumb-area .title-area-left .title {
    color: var(--haya-ink);
    letter-spacing: -0.01em;
}

@media only screen and (max-width: 991px) {
    .title-style-two .bg-content,
    .rts-breadcrumb-area .title-area-left .bg-title {
        display: none;
    }
}

/* --------------------------------------------------------------------------
   3. Iconography — the theme ships neutral-grey SVG icons. A hue-rotate
      filter recolours them to brand navy without re-authoring 20 files.
   -------------------------------------------------------------------------- */
.single-service-signle-wrapper .icons img,
.signle-consultancy .icon img,
.single-counter .icon img,
.single-service-menu .icon img {
    filter: brightness(0) saturate(100%) invert(21%) sepia(64%) saturate(1723%)
            hue-rotate(178deg) brightness(94%) contrast(96%);
    transition: var(--transition);
}

.single-service-signle-wrapper:hover .icons img {
    filter: brightness(0) saturate(100%) invert(100%);
}

.check-wrapper-area .single-check i,
.about-between-wrapper .single-check i {
    color: var(--haya-navy);
}

/* --------------------------------------------------------------------------
   4. Header
   -------------------------------------------------------------------------- */
.header-top-area-wrapper {
    background: var(--haya-navy);
}

.header-top-one-wrapper .left a,
.header-top-one-wrapper .left p,
.header-top-one-wrapper .right .top-nav li a,
.header-top-one-wrapper .right .social-wrapper-one li a {
    color: #DCE7F0;
}

.header-top-one-wrapper .left a:hover,
.header-top-one-wrapper .right .top-nav li a:hover,
.header-top-one-wrapper .right .social-wrapper-one li a:hover {
    color: #fff;
}

header .nav-area ul li.main-nav > a:hover,
header .nav-area ul li.main-nav:hover > a {
    color: var(--haya-navy) !important;
}

.header-main-one-wrapper .thumbnail img,
.rts-sidebar-menu-desktop .logo-1 .logo {
    max-height: 58px;
    width: auto;
}

/* --- Logo lockup ----------------------------------------------------------
   An SVG loaded through <img> cannot use the page's webfonts — it falls back
   to a system font, which is why the Arabic wordmark rendered in the wrong
   face. The lockup is therefore real markup: an inline mark plus live text,
   so Tajawal applies and the script shapes correctly at any size.
   -------------------------------------------------------------------------- */
.haya-logo {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    line-height: 1;
}

.haya-logo__mark {
    flex: 0 0 auto;
    width: 46px;
    height: 46px;
}

.haya-logo__text {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.haya-logo__name {
    color: var(--haya-ink);
    font-family: var(--font-arabic);
    font-weight: 700;
    font-size: 23px;
    line-height: 1.25;
    white-space: nowrap;
}

.haya-logo__tagline {
    color: var(--haya-navy);
    font-family: var(--font-arabic);
    font-weight: 500;
    font-size: 12.5px;
    line-height: 1.2;
    white-space: nowrap;
}

/* On the white offcanvas panel the logo must stay dark, not light */
.side-bar .haya-logo__name {
    color: var(--haya-ink);
}

.side-bar .haya-logo__tagline {
    color: var(--haya-navy);
}

@media only screen and (max-width: 575px) {
    .haya-logo__mark { width: 38px; height: 38px; }
    .haya-logo__name { font-size: 19px; }
    .haya-logo__tagline { font-size: 11px; }
}

/* Language switcher — sits beside the header actions, mirrors .rts-btn sizing */
.haya-lang-switch {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 40px;
    padding: 0 14px;
    margin-left: 14px;
    border: 1px solid var(--haya-silver);
    border-radius: 10px;
    font-family: var(--font-primary);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: .4px;
    color: var(--haya-navy);
    background: #fff;
    transition: var(--transition);
    white-space: nowrap;
}

.haya-lang-switch:hover {
    background: var(--haya-navy);
    border-color: var(--haya-navy);
    color: #fff;
}

.haya-lang-switch i {
    font-size: 13px;
}

.header-top-one-wrapper .haya-lang-switch {
    height: 28px;
    padding: 0 10px;
    margin: 0 0 0 18px;
    background: transparent;
    border-color: rgba(255, 255, 255, .35);
    color: #fff;
    font-size: 13px;
}

.header-top-one-wrapper .haya-lang-switch:hover {
    background: #fff;
    color: var(--haya-navy);
}

/* --------------------------------------------------------------------------
   5. Banner / hero
   -------------------------------------------------------------------------- */
.rts-banner-area-two .banner-inner-two-content .pre-title span {
    color: #FF6B72;
}

/* The base theme lays hero copy straight onto the photograph, which fails
   contrast on the lighter slides. A brand-navy scrim fixes that; it is a flat
   overlay, so nothing here animates. */
.rts-banner-area-two::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background: linear-gradient(90deg,
                rgba(7, 58, 94, .88) 0%,
                rgba(11, 75, 121, .72) 45%,
                rgba(11, 75, 121, .28) 100%);
}

.rts-banner-area-two > .container,
.rts-banner-area-two .shape-area-start {
    position: relative;
    z-index: 2;
}

/* --------------------------------------------------------------------------
   6. Cards, links and hover states
   -------------------------------------------------------------------------- */
.single-service-signle-wrapper:hover {
    background: var(--haya-navy);
}

.single-service-signle-wrapper .information .arrow-right:hover,
.single-service-signle-wrapper .information .arrow-right i {
    color: var(--haya-red);
}

.project-style-one .inner-content .title:hover,
.single-blog-area-one .title:hover,
.team-single-one-start .single-details .title:hover {
    color: var(--haya-navy);
}

.single-blog-area-one p span {
    color: var(--haya-red);
}

/* Counter strip */
.counter-bg {
    background: linear-gradient(135deg, var(--haya-navy-deep) 0%, var(--haya-navy) 100%);
}

.single-counter .counter-details .title,
.single-counter .counter-details .disc {
    color: #fff;
}

.counter-about-area {
    background: var(--haya-navy);
}

/* Client / sector logo strip — greyscale at rest, full colour on hover */
.client-wrapper-one a img {
    filter: grayscale(1) opacity(.55);
    transition: var(--transition);
}

.client-wrapper-one a:hover img {
    filter: none;
}

/* --------------------------------------------------------------------------
   7. Forms
      The theme left input text inheriting an unset colour, so typed text came
      out near-black on a grey field with a placeholder at almost the same
      value — illegible either way. Fields are now explicitly specified.
   -------------------------------------------------------------------------- */
.single-input input,
.single-input textarea,
.appoinment-wrapper-one-start form .single-input-wrapper .single-input input,
.email-footer-area input,
.search-input-area .search-input {
    width: 100%;
    color: var(--haya-ink);
    background: #F7F9FB;
    border: 1px solid var(--haya-silver-light);
    border-radius: 10px;
    font-family: var(--font-secondary);
    font-size: 16px;
    line-height: 1.6;
    padding: 14px 20px;
    transition: var(--transition);
    -webkit-text-fill-color: var(--haya-ink);
}

.single-input textarea {
    min-height: 150px;
    resize: vertical;
}

/* Native select, styled to match the inputs */
.haya-select {
    width: 100%;
    color: var(--haya-ink);
    background-color: #F7F9FB;
    border: 1px solid var(--haya-silver-light);
    border-radius: 10px;
    font-family: var(--font-secondary);
    font-size: 16px;
    padding: 14px 44px 14px 20px;
    transition: var(--transition);
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath fill='%230B4B79' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 18px center;
    background-size: 12px 8px;
}

[dir="rtl"] .haya-select {
    padding: 14px 20px 14px 44px;
    background-position: left 18px center;
}

.haya-select:focus {
    background-color: #fff;
    border-color: var(--haya-navy);
    box-shadow: 0 0 0 3px rgba(11, 75, 121, .10);
    outline: none;
}

/* Accordion (contact FAQ) */
.accordion-item {
    margin-bottom: 14px;
    border: 1px solid var(--haya-silver-light) !important;
    border-radius: var(--radius) !important;
    overflow: hidden;
    background: #fff;
}

.accordion-button {
    color: var(--haya-ink);
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 17px;
    line-height: 1.6;
    padding: 20px 24px;
    background: #fff;
    box-shadow: none !important;
}

.accordion-button:not(.collapsed) {
    color: var(--haya-navy);
    background: var(--haya-navy-tint);
}

.accordion-button::after {
    filter: grayscale(1) brightness(.4);
}

.accordion-body {
    color: var(--color-body);
    line-height: 1.9;
    padding: 20px 24px 24px;
}

[dir="rtl"] .accordion-button {
    text-align: right;
}

[dir="rtl"] .accordion-button::after {
    margin-left: 0;
    margin-right: auto;
}

.single-input input::placeholder,
.single-input textarea::placeholder,
.email-footer-area input::placeholder,
.search-input-area .search-input::placeholder {
    color: #7A8494;
    opacity: 1;
}

.single-input input:focus,
.single-input textarea:focus,
.appoinment-wrapper-one-start form .single-input-wrapper .single-input input:focus,
.email-footer-area input:focus {
    background: #fff;
    border-color: var(--haya-navy);
    box-shadow: 0 0 0 3px rgba(11, 75, 121, .10);
    outline: none;
}

/* Autofill in Chrome repaints the field yellow and drops the text colour */
.single-input input:-webkit-autofill,
.single-input textarea:-webkit-autofill {
    -webkit-text-fill-color: var(--haya-ink);
    box-shadow: 0 0 0 1000px #F7F9FB inset;
}

/* Form fields sitting on a dark panel */
.map-information-2-footer .single-input input,
.footer-one-single-wized .single-input input {
    background: rgba(255, 255, 255, .08);
    border-color: rgba(255, 255, 255, .18);
    color: #fff;
    -webkit-text-fill-color: #fff;
}

.map-information-2-footer .single-input input::placeholder,
.footer-one-single-wized .single-input input::placeholder {
    color: rgba(255, 255, 255, .6);
}

.email-footer-area button {
    background: var(--haya-red);
}

.email-footer-area button:hover {
    background: var(--haya-navy);
}

/* --------------------------------------------------------------------------
   8. Footer
   -------------------------------------------------------------------------- */
.bg-footer-two {
    background-color: var(--haya-ink);
}

.footer-one-single-wized.mid-bg {
    background: var(--haya-navy);
}

/* Footer contact panel.
   The theme styles this block for a LIGHT surface — the heading is #1C2539 and
   the icon discs are #F6F6F6 with dark glyphs. Putting it on a dark background
   made it dark-on-dark and effectively invisible. It is therefore a light
   panel, lifted with a subtle brand texture rather than flat white:
   a fine diagonal weave, a dot grid, and a soft navy corner wash. */
.map-information-2-footer {
    position: relative;
    z-index: 1;
    border-radius: var(--radius);
    background-color: #F4F7FA;
    background-image:
        /* soft navy corner wash */
        radial-gradient(120% 90% at 100% 0%, rgba(11, 75, 121, .09) 0%, rgba(11, 75, 121, 0) 60%),
        /* fine dot grid */
        radial-gradient(rgba(11, 75, 121, .10) 1px, transparent 1px),
        /* diagonal weave */
        repeating-linear-gradient(135deg,
            rgba(11, 75, 121, .035) 0px,
            rgba(11, 75, 121, .035) 1px,
            transparent 1px,
            transparent 9px);
    background-size: 100% 100%, 22px 22px, auto;
    background-position: 0 0, 0 0, 0 0;
    border: 1px solid var(--haya-silver-light);
    box-shadow: 0 18px 44px rgba(28, 37, 57, .07);
    overflow: hidden;
}

/* Brand rule along the leading edge */
.map-information-2-footer::before {
    content: "";
    position: absolute;
    inset-inline-start: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, var(--haya-red) 0%, var(--haya-navy) 100%);
}

.map-information-2-footer .title-main {
    color: var(--haya-ink);
}

.map-information-2-footer .contact-information-main-wrapper .signle-contact-information .icon {
    background: #fff;
    border: 1px solid var(--haya-silver-light);
    box-shadow: 0 4px 12px rgba(11, 75, 121, .08);
}

.map-information-2-footer .contact-information-main-wrapper .signle-contact-information .icon i {
    color: var(--haya-navy);
}

/* Label above each value */
.map-information-2-footer .contact-information-main-wrapper .signle-contact-information .information-wrapper span {
    font-size: 15px;
    font-weight: 500;
    letter-spacing: .2px;
    color: #6B7480;
}

.map-information-2-footer .contact-information-main-wrapper .signle-contact-information .information-wrapper .title {
    color: var(--haya-ink);
    font-weight: 600;
    transition: var(--transition);
}

.map-information-2-footer .contact-information-main-wrapper .signle-contact-information a:hover .title {
    color: var(--haya-navy);
}

/* The theme's 55px gaps overflow the panel once it has a border */
@media only screen and (max-width: 1399px) {
    .map-information-2-footer .contact-information-main-wrapper .signle-contact-information {
        margin-bottom: 34px;
        gap: 20px;
    }
    .map-information-2-footer .title-main {
        font-size: 32px;
    }
    .map-information-2-footer .contact-information-main-wrapper .signle-contact-information .information-wrapper .title {
        font-size: 19px;
    }
}

.footer-one-single-wized .quick-link-inner .links li a:hover {
    color: #6FB3DD;
}

.rts-copyright-area {
    border-top: 1px solid rgba(255, 255, 255, .1);
}

/* ==========================================================================
   9. Inner pages (services.html, contact.html and their Arabic twins)
      The theme's own inner-page hero depends on images that were never part of
      this capture, so these components are self-contained: brand gradient plus
      an image that does exist. Everything is flat — no animation is introduced.
   ========================================================================== */

.haya-page-hero {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    min-height: 420px;
    padding: 140px 0 70px;
    background-image: linear-gradient(90deg, rgba(7, 58, 94, .94) 0%, rgba(11, 75, 121, .80) 100%),
                      url(../images/banner/24.webp);
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

@media only screen and (max-width: 767px) {
    .haya-page-hero {
        min-height: 300px;
        padding: 110px 0 50px;
    }
}

.haya-page-hero .title,
.haya-page-hero .disc,
.haya-page-hero .haya-breadcrumb,
.haya-page-hero .haya-breadcrumb a {
    color: #fff;
}

.haya-page-hero .title {
    font-size: clamp(30px, 5vw, 52px);
    line-height: 1.25;
    margin-bottom: 16px;
}

.haya-page-hero .disc {
    max-width: 720px;
    color: rgba(255, 255, 255, .85);
    font-size: 17px;
    line-height: 1.85;
    margin: 0 auto;
}

.haya-page-hero .haya-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
    color: #FF7B82;
    font-weight: 600;
    font-size: 15px;
}

.haya-page-hero .haya-eyebrow::before {
    content: "";
    width: 28px;
    height: 2px;
    background: #FF7B82;
}

.haya-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 26px;
    font-size: 15px;
    color: rgba(255, 255, 255, .7);
}

.haya-breadcrumb a {
    opacity: .8;
    transition: var(--transition);
}

.haya-breadcrumb a:hover {
    opacity: 1;
    text-decoration: underline;
}

.haya-breadcrumb [aria-current="page"] {
    color: #fff;
    font-weight: 600;
}

/* --- Service detail blocks ------------------------------------------------ */

.haya-service-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    padding: 60px 0;
    border-bottom: 1px solid var(--haya-silver-light);
}

.haya-service-block:last-child {
    border-bottom: 0;
}

@media only screen and (max-width: 991px) {
    .haya-service-block {
        grid-template-columns: 1fr;
        gap: 32px;
        padding: 40px 0;
    }
}

/* Alternate the image side on wide screens only */
@media only screen and (min-width: 992px) {
    .haya-service-block:nth-child(even) .haya-service-media {
        order: -1;
    }
}

.haya-service-media img {
    width: 100%;
    height: 100%;
    max-height: 380px;
    object-fit: cover;
    border-radius: var(--radius);
}

.haya-service-index {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    margin-bottom: 20px;
    border-radius: 14px;
    background: var(--haya-navy-tint);
    color: var(--haya-navy);
    font-family: var(--font-primary);
    font-weight: 700;
    font-size: 20px;
}

.haya-service-body .title {
    color: var(--haya-ink);
    font-size: clamp(23px, 3vw, 32px);
    line-height: 1.35;
    margin-bottom: 14px;
}

.haya-service-body .disc {
    color: var(--color-body);
    line-height: 1.9;
    margin-bottom: 22px;
}

.haya-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 24px;
    margin: 0 0 26px;
    padding: 0;
    list-style: none;
}

@media only screen and (max-width: 575px) {
    .haya-list {
        grid-template-columns: 1fr;
    }
}

.haya-list li {
    position: relative;
    padding-left: 26px;
    color: var(--color-body);
    line-height: 1.7;
}

.haya-list li::before {
    content: "\f00c";
    font-family: "Font Awesome 6 Pro", var(--font-3);
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 1px;
    color: var(--haya-navy);
    font-size: 13px;
}

[dir="rtl"] .haya-list li {
    padding-left: 0;
    padding-right: 26px;
}

[dir="rtl"] .haya-list li::before {
    left: auto;
    right: 0;
}

/* --- Engagement process --------------------------------------------------- */

.haya-steps {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 26px;
}

@media only screen and (max-width: 991px) {
    .haya-steps {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media only screen and (max-width: 575px) {
    .haya-steps {
        grid-template-columns: 1fr;
    }
}

.haya-step {
    padding: 32px 28px;
    border: 1px solid var(--haya-silver-light);
    border-radius: var(--radius);
    background: #fff;
    transition: var(--transition);
}

.haya-step:hover {
    border-color: var(--haya-navy);
    box-shadow: 0 12px 30px rgba(11, 75, 121, .08);
}

.haya-step .num {
    display: block;
    margin-bottom: 14px;
    color: var(--haya-red);
    font-family: var(--font-primary);
    font-weight: 700;
    font-size: 15px;
}

.haya-step .title {
    margin-bottom: 10px;
    color: var(--haya-ink);
    font-size: 19px;
}

.haya-step .disc {
    color: var(--color-body);
    font-size: 15px;
    line-height: 1.8;
    margin: 0;
}

/* --- Contact cards -------------------------------------------------------- */

.haya-contact-cards {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 26px;
}

@media only screen and (max-width: 991px) {
    .haya-contact-cards {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media only screen and (max-width: 575px) {
    .haya-contact-cards {
        grid-template-columns: 1fr;
    }
}

.haya-contact-card {
    padding: 34px 28px;
    border: 1px solid var(--haya-silver-light);
    border-radius: var(--radius);
    background: #fff;
    transition: var(--transition);
}

.haya-contact-card:hover {
    border-color: var(--haya-navy);
    box-shadow: 0 12px 30px rgba(11, 75, 121, .08);
}

.haya-contact-card .icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    margin-bottom: 18px;
    border-radius: 14px;
    background: var(--haya-navy-tint);
    color: var(--haya-navy);
    font-size: 19px;
}

.haya-contact-card .title {
    margin-bottom: 8px;
    color: var(--haya-ink);
    font-size: 18px;
}

.haya-contact-card p,
.haya-contact-card a {
    color: var(--color-body);
    font-size: 15px;
    line-height: 1.8;
    margin: 0;
    word-break: break-word;
}

.haya-contact-card a:hover {
    color: var(--haya-navy);
}

/* --- Form panel ----------------------------------------------------------- */

.haya-form-panel {
    padding: 44px;
    border: 1px solid var(--haya-silver-light);
    border-radius: var(--radius);
    background: #fff;
    box-shadow: 0 16px 40px rgba(28, 37, 57, .05);
}

@media only screen and (max-width: 767px) {
    .haya-form-panel {
        padding: 26px;
    }
}

.haya-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

@media only screen and (max-width: 767px) {
    .haya-form-grid {
        grid-template-columns: 1fr;
    }
}

.haya-form-grid .full {
    grid-column: 1 / -1;
}

.haya-field-label {
    display: block;
    margin-bottom: 8px;
    color: var(--haya-ink);
    font-weight: 600;
    font-size: 14px;
}

.haya-field-label .req {
    color: var(--haya-red);
}

.haya-consent {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 6px 0 24px;
    color: var(--color-body);
    font-size: 14px;
    line-height: 1.7;
}

.haya-consent input {
    width: 17px;
    height: 17px;
    margin-top: 3px;
    flex: 0 0 17px;
    accent-color: var(--haya-navy);
}

.haya-map-embed {
    width: 100%;
    height: 100%;
    min-height: 420px;
    border: 0;
    border-radius: var(--radius);
}

/* --- Section rhythm on inner pages ---------------------------------------- */

.haya-section {
    padding: 100px 0;
}

@media only screen and (max-width: 767px) {
    .haya-section {
        padding: 64px 0;
    }
}

.haya-section.alt {
    background: #F7F9FB;
}

/* --------------------------------------------------------------------------
   10. Utilities
   -------------------------------------------------------------------------- */
.progress-wrap::after {
    color: var(--haya-navy);
}

.progress-wrap svg.progress-circle path {
    stroke: var(--haya-red);
}

/* Preloader — uses the supplied haya-preloader.gif */
.haya-preloader {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    transition: opacity .4s ease, visibility .4s ease;
}

.haya-preloader img {
    width: 180px;
    height: auto;
}

.haya-preloader.is-hidden {
    opacity: 0;
    visibility: hidden;
}

/* The demo-only RTL/LTR float button ships with the theme; the real site uses
   a proper /ar page instead, so hide it. */
.rtl-ltr-switcher-btn {
    display: none !important;
}

/* Visually-hidden labels (neither the theme nor the stripped Bootstrap build
   ships this utility, and the forms rely on it for accessible names). */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Keyboard skip link */
.haya-skip-link {
    position: absolute;
    left: 16px;
    top: -60px;
    z-index: 10000;
    padding: 10px 18px;
    border-radius: 0 0 10px 10px;
    background: var(--haya-navy);
    color: #fff;
    font-weight: 600;
    transition: top .2s ease;
}

.haya-skip-link:focus {
    top: 0;
    color: #fff;
}

[dir="rtl"] .haya-skip-link {
    left: auto;
    right: 16px;
}

/* Respect reduced-motion preferences — the theme animates unconditionally */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: .001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .001ms !important;
        scroll-behavior: auto !important;
    }
}

/* Images must never overflow their column on small screens */
img,
svg,
iframe {
    max-width: 100%;
}

img {
    height: auto;
}

/* Accessible focus ring, missing from the base theme */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
    outline: 2px solid var(--haya-red);
    outline-offset: 2px;
}
