/* ==========================================================
   HOMEPAGE (templates/page-home.php)
   Everything is scoped to .ajva-home so it cannot leak into
   Divi's header / footer or any other page.
========================================================== */

.ajva-home {
    --ah-orange: #ec6102;
    --ah-orange-dark: #ec6102;   /* same as the brand orange; kept as its own token for text and buttons */
    --ah-orange-hover: #d45600;
    --ah-orange-soft: #fdf1e8;
    --ah-navy: #0f1628;
    --ah-navy-2: #18223b;
    --ah-text: #424652;
    --ah-muted: #5a5e6b;
    --ah-line: rgba(66, 70, 82, .17);
    --ah-tint: #f6f7f9;
    --ah-radius: 18px;

    color: var(--ah-text);
    font-size: 16px;
    line-height: 1.7;
    overflow-x: clip;
}

.ajva-home *,
.ajva-home *::before,
.ajva-home *::after {
    box-sizing: border-box;
}

/* Divi adds bottom padding to headings and paragraphs; start from zero. */
.ajva-home h1,
.ajva-home h2,
.ajva-home h3,
.ajva-home p,
.ajva-home ul,
.ajva-home figure {
    margin: 0;
    padding: 0;
}

.ajva-home ul {
    list-style: none;
}

.ajva-home img {
    display: block;
    max-width: 100%;
    height: auto;
}

.ajva-home a {
    color: var(--ah-orange-dark);
    text-decoration: none;
}

.ajva-home p a:hover {
    text-decoration: underline;
    text-underline-offset: 3px;
}

.ajva-home :focus-visible {
    outline: 2px solid var(--ah-orange);
    outline-offset: 3px;
}

.ah-container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 20px;
}

.ah-section {
    padding: 90px 0;
}

.ah-section--tint {
    background: var(--ah-tint);
}

/* ---------- shared type ---------- */

.ah-eyebrow {
    display: block;
    margin-bottom: 14px !important;
    color: var(--ah-orange-dark);
    font-size: 13px;
    line-height: 20px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.ajva-home .ah-title {
    color: var(--ah-navy);
    font-size: clamp(26px, 2.6vw, 38px);
    line-height: 1.25;
    font-weight: 800;
    letter-spacing: -.01em;
}

.ajva-home .ah-title a {
    color: var(--ah-orange);
}

.ah-lead {
    margin-top: 16px !important;
    color: var(--ah-muted);
    font-size: 17px;
    line-height: 1.7;
}

.ah-head {
    max-width: 860px;
    margin-bottom: 48px;
}

.ah-head--center {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

/* ---------- buttons ---------- */

.ajva-home .ah-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 50px;
    padding: 12px 30px;
    border: 2px solid transparent;
    border-radius: 100px;
    font-size: 16px;
    line-height: 22px;
    font-weight: 600;
    text-decoration: none;
    transition: background .2s, color .2s, border-color .2s, transform .2s;
}

.ajva-home .ah-btn:hover {
    transform: translateY(-2px);
}

.ajva-home .ah-btn--primary {
    background: var(--ah-orange-dark);
    color: #fff;
}

.ajva-home .ah-btn--primary:hover {
    background: var(--ah-orange-hover);
}

.ajva-home .ah-btn--ghost {
    border-color: rgba(15, 22, 40, .22);
    background: #fff;
    color: var(--ah-navy);
}

.ajva-home .ah-btn--ghost:hover {
    border-color: var(--ah-orange);
    color: var(--ah-orange-dark);
}

.ajva-home .ah-btn--white {
    background: #fff;
    color: var(--ah-navy);
}

.ajva-home .ah-btn--outline-white {
    border-color: rgba(255, 255, 255, .7);
    color: #fff;
}

.ajva-home .ah-btn--outline-white:hover {
    background: rgba(255, 255, 255, .12);
}

.ajva-home .ah-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--ah-orange-dark);
    font-weight: 700;
}

.ajva-home .ah-link:hover {
    text-decoration: underline;
    text-underline-offset: 4px;
}

/* ==========================================================
   HERO SLIDER
========================================================== */

.ah-hero {
    position: relative;
    background:
        radial-gradient(760px 420px at 92% 12%, rgba(236, 97, 2, .13), transparent 65%),
        radial-gradient(620px 380px at 0% 96%, rgba(236, 97, 2, .08), transparent 62%),
        linear-gradient(180deg, #fffaf6 0%, #fff 100%);
    color: var(--ah-text);
    overflow: hidden;
}

/* Faint grid that fades out towards every edge. */
.ah-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(15, 22, 40, .055) 1px, transparent 1px),
        linear-gradient(90deg, rgba(15, 22, 40, .055) 1px, transparent 1px);
    background-size: 56px 56px;
    -webkit-mask-image: radial-gradient(ellipse 62% 58% at 50% 46%, #000 0%, transparent 100%);
    mask-image: radial-gradient(ellipse 62% 58% at 50% 46%, #000 0%, transparent 100%);
    pointer-events: none;
}

.ah-hero__slider {
    position: relative;
    padding-bottom: 150px;
}

.ah-hero__slide {
    height: auto;
    display: flex;
    align-items: center;
}

.ah-hero__inner {
    display: grid;
    grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr);
    align-items: center;
    gap: 56px;
    padding-top: 64px;
    padding-bottom: 30px;
}

.ajva-home .ah-hero__title {
    color: var(--ah-navy);
    font-size: clamp(30px, 3.5vw, 48px);
    line-height: 1.18;
    font-weight: 800;
    letter-spacing: -.015em;
}

.ah-hero__title span {
    color: var(--ah-orange);
}

.ah-hero__lead {
    max-width: 590px;
    margin-top: 22px !important;
    color: var(--ah-text);
    font-size: 18px;
    line-height: 1.7;
}

.ah-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 34px;
}

.ah-hero__media {
    display: flex;
    justify-content: center;
}

.ah-hero__media img {
    width: 100%;
    max-width: 560px;
    filter: drop-shadow(0 26px 30px rgba(15, 22, 40, .16));
}

.ah-hero__media--photo img {
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border: 6px solid #fff;
    border-radius: 24px;
    filter: none;
    box-shadow: 0 26px 56px rgba(15, 22, 40, .16);
}

.ah-hero__media--card img {
    max-width: 480px;
    aspect-ratio: 4 / 3;
    object-fit: contain;
    padding: 28px;
    border-radius: 24px;
    border: 1px solid var(--ah-line);
    background: #fff;
    filter: none;
    box-shadow: 0 26px 56px rgba(15, 22, 40, .12);
}

.ah-hero__controls {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 92px;
    z-index: 5;
    display: flex;
    align-items: center;
    gap: 16px;
}

.ajva-home .ah-hero__nav {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid rgba(15, 22, 40, .2);
    border-radius: 50%;
    background: #fff;
    color: var(--ah-navy);
    font-size: 15px;
    cursor: pointer;
    transition: background .2s, border-color .2s, color .2s;
}

.ajva-home .ah-hero__nav:hover {
    border-color: var(--ah-orange);
    background: var(--ah-orange);
    color: #fff;
}

.ah-hero__dots {
    display: flex;
    align-items: center;
    gap: 8px;
    width: auto !important;
}

.ah-hero__dots .swiper-pagination-bullet {
    width: 26px;
    height: 4px;
    margin: 0 !important;
    border-radius: 4px;
    background: rgba(15, 22, 40, .18);
    opacity: 1;
    transition: width .3s, background .3s;
}

.ah-hero__dots .swiper-pagination-bullet-active {
    width: 46px;
    background: var(--ah-orange);
}

/* ==========================================================
   SEARCH BAND (overlaps the bottom of the hero)
========================================================== */

.ah-searchband {
    position: relative;
    z-index: 6;
    margin-top: -62px;
}

.ah-searchband__card {
    padding: 22px 26px 20px;
    border: 1px solid var(--ah-line);
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 20px 50px rgba(15, 22, 40, .1);
}

.ah-searchband .ajva-search {
    margin: 0;
}

.ah-searchband .ajva-search__label {
    margin-bottom: 10px;
    padding-left: 4px;
    font-size: 17px;
    font-weight: 700;
}

.ah-searchband .ajva-search__bar {
    background: var(--ah-tint);
}

.ah-searchband .ajva-search .ajva-search__submit {
    background: var(--ah-orange-dark);
}

.ah-searchband .ajva-search .ajva-search__submit:hover {
    background: var(--ah-orange-hover);
}

.ah-searchband .ajva-search .ajva-search__hint {
    margin-top: 14px;
    padding-left: 4px;
}

/* ==========================================================
   KEY FACTS
========================================================== */

.ah-facts {
    padding: 44px 0 10px;
}

.ah-facts__list {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.ah-facts__list li {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 8px 24px;
    border-left: 1px solid var(--ah-line);
}

.ah-facts__list li:first-child {
    padding-left: 0;
    border-left: 0;
}

.ah-facts__list i {
    flex: 0 0 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: var(--ah-orange-soft);
    color: var(--ah-orange);
    font-size: 21px;
}

.ah-facts__list strong {
    display: block;
    color: var(--ah-navy);
    font-size: 19px;
    line-height: 26px;
    font-weight: 800;
}

.ah-facts__list span {
    display: block;
    color: var(--ah-muted);
    font-size: 14px;
    line-height: 20px;
}

/* ==========================================================
   BRANDS
========================================================== */

.ah-brands {
    padding: 46px 0 0;
}

.ajva-home .ah-brands__title {
    margin-bottom: 20px;
    color: var(--ah-muted);
    font-size: 13px;
    line-height: 20px;
    font-weight: 700;
    letter-spacing: .12em;
    text-align: center;
    text-transform: uppercase;
}

.ah-brands__list {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 14px;
}

.ah-brands__list a {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 74px;
    padding: 14px 18px;
    border: 1px solid var(--ah-line);
    border-radius: 14px;
    background: #fff;
    color: var(--ah-navy);
    font-size: 15px;
    line-height: 20px;
    font-weight: 700;
    text-align: center;
    transition: border-color .2s, box-shadow .2s, transform .2s;
}

.ah-brands__list a:hover {
    border-color: var(--ah-orange);
    box-shadow: 0 10px 24px rgba(15, 22, 40, .08);
    transform: translateY(-2px);
}

.ah-brands__list img {
    max-width: 100%;
    max-height: 42px;
    width: auto;
    object-fit: contain;
}

/* ==========================================================
   ABOUT
========================================================== */

.ah-about__inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: center;
    gap: 72px;
}

.ah-about__media {
    position: relative;
    padding: 0 44px 56px 0;
}

.ah-about__photo {
    width: 100%;
    object-fit: cover;
    border-radius: var(--ah-radius);
}

.ah-about__photo--main {
    aspect-ratio: 4 / 3;
}

.ah-about__photo--inset {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 50%;
    aspect-ratio: 4 / 3;
    border: 6px solid #fff;
    box-shadow: 0 18px 40px rgba(15, 22, 40, .18);
}

.ah-about__badge {
    position: absolute;
    left: 22px;
    top: 22px;
    padding: 12px 20px;
    border-radius: 14px;
    background: var(--ah-orange-dark);
    color: #fff;
    text-align: center;
    box-shadow: 0 12px 26px rgba(236, 97, 2, .3);
}

.ah-about__badge strong {
    display: block;
    font-size: 28px;
    line-height: 30px;
    font-weight: 800;
}

.ah-about__badge span {
    font-size: 12px;
    line-height: 18px;
    font-weight: 600;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.ah-about__text p:not(.ah-eyebrow) {
    margin-top: 18px;
}

.ah-about__text .ah-btn {
    margin-top: 30px;
}

.ah-checks {
    display: grid;
    gap: 10px;
    margin-top: 24px !important;
}

.ah-checks li {
    position: relative;
    padding-left: 34px;
    color: var(--ah-navy);
    font-weight: 600;
    line-height: 1.5;
}

.ah-checks li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 1px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--ah-orange-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 22'%3E%3Cpath d='M6.5 11.4l3 3 6-6.6' fill='none' stroke='%23ec6102' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 22px no-repeat;
}

/* ==========================================================
   PRODUCT RANGE
========================================================== */

.ah-range__head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 40px;
}

.ah-range__head > div:first-child {
    max-width: 720px;
}

.ah-tabs {
    flex: 0 0 auto;
    display: inline-flex;
    padding: 5px;
    border: 1px solid var(--ah-line);
    border-radius: 100px;
    background: #fff;
}

.ajva-home .ah-tabs__tab {
    padding: 10px 24px;
    border: 0;
    border-radius: 100px;
    background: transparent;
    color: var(--ah-navy);
    font-family: inherit;
    font-size: 15px;
    line-height: 22px;
    font-weight: 700;
    white-space: nowrap;
    cursor: pointer;
    transition: background .2s, color .2s;
}

.ajva-home .ah-tabs__tab.is-active {
    background: var(--ah-navy);
    color: #fff;
}

.ah-range__panel[hidden] {
    display: none;
}

/* The carousel clips its overflow; this padding leaves room for a card's
   hover lift and shadow, and the negative margin keeps the layout unchanged. */
.ah-range__slider {
    margin: -12px -12px -24px;
    padding: 12px 12px 24px;
}

/* Sensible layout before Swiper has measured the slides. */
.ah-range__slider:not(.swiper-initialized) .swiper-slide {
    width: 224px;
    margin-right: 20px;
}

.ajva-home .ah-model {
    display: flex;
    flex-direction: column;
    height: auto;
    padding: 14px 14px 18px;
    border: 1px solid var(--ah-line);
    border-radius: 16px;
    background: #fff;
    color: var(--ah-navy);
    text-align: center;
    transition: border-color .2s, box-shadow .2s, transform .2s;
}

.ajva-home .ah-model:hover {
    border-color: var(--ah-orange);
    box-shadow: 0 8px 14px rgba(15, 22, 40, .07);
    transform: translateY(-3px);
}

.ah-model__image {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 140px;
    margin-bottom: 14px;
    border-radius: 10px;
    background: #fff;
}

.ah-model__image img {
    max-height: 100%;
    width: auto;
    object-fit: contain;
}

.ah-model__brand {
    color: var(--ah-orange-dark);
    font-size: 12px;
    line-height: 18px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.ah-model__name {
    margin-top: 2px;
    font-size: 15px;
    line-height: 22px;
    font-weight: 700;
}

.ah-range__foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-top: 30px;
}

.ah-range__nav {
    display: flex;
    gap: 10px;
}

.ajva-home .ah-range__nav button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid var(--ah-line);
    border-radius: 50%;
    background: #fff;
    color: var(--ah-navy);
    font-size: 15px;
    cursor: pointer;
    transition: background .2s, color .2s, border-color .2s;
}

.ajva-home .ah-range__nav button:hover {
    border-color: var(--ah-orange-dark);
    background: var(--ah-orange-dark);
    color: #fff;
}

.ajva-home .ah-range__nav button.swiper-button-disabled {
    opacity: .4;
    pointer-events: none;
}

/* ==========================================================
   TRUSTED MANUFACTURER AND EXPORTER
   Same look as the section on the previous (Divi) homepage.
========================================================== */

.ah-trusted {
    position: relative;
    padding: 30px 0;
    background-color: #000;
    /* The tractor fills the right half of the photo. On screens narrower than
       the photo, slide it right (up to the spare room beside the tractor) so
       it clears the text. */
    background-position: right calc(-1 * clamp(0px, 1676px - 100vw, 180px)) center;
    background-size: auto 100%;
    background-repeat: no-repeat;
}

/* Keeps the text readable where the photo runs underneath it. */
.ah-trusted::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, #000 0%, rgba(0, 0, 0, .85) 32%, rgba(0, 0, 0, 0) 58%);
    pointer-events: none;
}

.ah-trusted__frame {
    position: relative;
    width: 90%;
    max-width: 1260px;
    margin: 0 auto;
    padding: 80px 0 80px 30px;
    border: 2px solid transparent;
    border-image: linear-gradient(90deg, rgba(255, 255, 255, .3), rgba(255, 255, 255, 0)) 1;
}

.ajva-home .ah-trusted__title {
    max-width: 500px;
    margin-bottom: 25px;
    color: #fff;
    font-size: 26px;
    line-height: 1em;
    font-weight: 700;
}

.ah-trusted__text {
    max-width: 500px;
    margin-bottom: 40px;
    color: #ebf5ee;
}

.ah-trusted__text p + p {
    margin-top: 1em;
}

.ah-trusted__text strong {
    color: #fff;
}

.ajva-home .ah-trusted__text a,
.ajva-home .ah-trusted__text a strong {
    color: #ff7a1f;
}

.ajva-home .ah-trusted__link a {
    color: #fff;
    font-weight: 600;
}

.ajva-home .ah-trusted__link a:hover {
    text-decoration: underline;
    text-underline-offset: 4px;
}

/* ==========================================================
   WHY AJVA
========================================================== */

.ah-why__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
}

.ah-card {
    padding: 30px 26px;
    border: 1px solid var(--ah-line);
    border-radius: var(--ah-radius);
    background: #fff;
    transition: border-color .2s, box-shadow .2s, transform .2s;
}

.ah-card:hover {
    border-color: var(--ah-orange);
    box-shadow: 0 18px 40px rgba(15, 22, 40, .08);
    transform: translateY(-4px);
}

.ah-card__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    margin-bottom: 22px;
    border-radius: 16px;
    background: var(--ah-orange-soft);
    color: var(--ah-orange);
    font-size: 22px;
}

.ajva-home .ah-card h3 {
    margin-bottom: 10px;
    color: var(--ah-navy);
    font-size: 19px;
    line-height: 1.35;
    font-weight: 700;
}

.ah-card p {
    font-size: 15px;
    line-height: 1.7;
}

/* ==========================================================
   GOOGLE REVIEWS
   Follows the factory photos on the same white background, so
   the top padding is dropped.
========================================================== */

.ah-reviews.ah-section {
    padding-top: 0;
    background: #fff;
}

.ah-reviews__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.ah-review {
    display: flex;
    flex-direction: column;
    padding: 28px 26px;
    border: 1px solid var(--ah-line);
    border-radius: var(--ah-radius);
    background: #fff;
}

.ah-review__stars {
    display: flex;
    gap: 4px;
    margin-bottom: 16px;
    color: var(--ah-orange);
    font-size: 16px;
}

.ajva-home .ah-review__text {
    flex: 1 1 auto;
    margin: 0 0 20px;
    padding: 0;
    border: 0;
    color: var(--ah-navy);
    font-size: 17px;
    line-height: 1.6;
    font-style: normal;
}

.ah-review__by {
    display: flex;
    flex-direction: column;
    padding-top: 16px !important;
    border-top: 1px solid var(--ah-line);
    font-size: 14px;
    line-height: 1.5;
}

.ah-review__name {
    color: var(--ah-navy);
    font-weight: 700;
}

.ah-review__date {
    color: var(--ah-muted);
}

.ah-reviews__more {
    margin-top: 36px !important;
    text-align: center;
}

.ajva-home .screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ==========================================================
   EXPORT NETWORK
   An illustration, not a map: the factory in the middle, the
   export markets around it.
========================================================== */

.ah-export {
    padding: 90px 0;
    background: var(--ah-tint);
    scroll-margin-top: 120px;
}

.ah-network {
    padding: 30px;
    border: 1px solid var(--ah-line);
    border-radius: 28px;
    background:
        radial-gradient(closest-side at 50% 50%, rgba(236, 97, 2, .09), transparent),
        #fffdfb;
    box-shadow: 0 20px 50px rgba(15, 22, 40, .05);
    overflow: hidden;
}

.ah-network__stage {
    position: relative;
    aspect-ratio: 1000 / 440;
}

.ah-network svg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: visible;
}

.ah-network__line {
    fill: none;
    stroke: #d99a6c;
    stroke-width: 1.5;
    stroke-dasharray: 6 7;
    stroke-linecap: round;
    vector-effect: non-scaling-stroke;
    animation: ah-flow 14s linear infinite;
    transition: stroke .2s;
}

.ah-network__line.is-hot {
    stroke: var(--ah-orange);
    stroke-width: 2.4;
}

/* The dashes drift slowly away from the factory. */
@keyframes ah-flow {
    to {
        stroke-dashoffset: -130;
    }
}

/* A small dot travelling slowly along each line, out from the factory. */
.ah-network__spark {
    display: none;
    fill: var(--ah-orange);
    offset-rotate: 0deg;
    animation: ah-travel 11s linear infinite;
}

@supports (offset-path: path("M0 0")) {
    .ah-network__spark {
        display: inline;
    }
}

@keyframes ah-travel {
    0% {
        offset-distance: 0%;
        opacity: 0;
    }
    12%,
    82% {
        opacity: 1;
    }
    100% {
        offset-distance: 100%;
        opacity: 0;
    }
}

/* Slow ripples around the factory. */
.ah-network__ring {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 150px;
    height: 150px;
    margin: -75px 0 0 -75px;
    border: 1.5px solid rgba(236, 97, 2, .4);
    border-radius: 50%;
    opacity: 0;
    animation: ah-ripple 9s ease-out infinite;
    pointer-events: none;
}

.ah-network__ring--2 {
    animation-delay: 3s;
}

.ah-network__ring--3 {
    animation-delay: 6s;
}

@keyframes ah-ripple {
    0% {
        opacity: .7;
        transform: scale(.45);
    }
    100% {
        opacity: 0;
        transform: scale(2.6);
    }
}

/* Flag labels */
.ajva-home .ah-flaglabel {
    position: absolute;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    width: max-content;
    padding: 6px 16px 6px 6px;
    border-radius: 100px;
    background: #fff;
    color: var(--ah-navy);
    font-size: 15px;
    line-height: 20px;
    font-weight: 600;
    white-space: nowrap;
    box-shadow: 0 8px 22px rgba(15, 22, 40, .1);
    translate: -50% -50%;
    animation: ah-float 7s ease-in-out infinite;
    transition: box-shadow .2s, color .2s;
}

/* Neighbouring labels bob out of step with each other. */
.ajva-home .ah-flaglabel:nth-of-type(odd) {
    animation-delay: -3.5s;
}

@keyframes ah-float {
    0%,
    100% {
        transform: translateY(-4px);
    }
    50% {
        transform: translateY(4px);
    }
}

.ah-flaglabel .ajva-flag {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 0 0 1px rgba(15, 22, 40, .1);
}

.ajva-home a.ah-flaglabel:hover,
.ajva-home .ah-flaglabel.is-hot {
    z-index: 4;
    color: var(--ah-orange-dark);
    box-shadow: 0 0 0 2px var(--ah-orange), 0 10px 24px rgba(236, 97, 2, .22);
}

.ajva-home .ah-flaglabel--origin {
    left: 50%;
    top: 50%;
    z-index: 5;
    padding: 9px 10px 9px 9px;
    background: var(--ah-navy);
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    box-shadow: 0 14px 34px rgba(15, 22, 40, .3);
    animation: none;
}

.ah-flaglabel__badge {
    padding: 4px 12px;
    border-radius: 100px;
    background: rgba(255, 255, 255, .13);
    color: #ffb27a;
    font-size: 11px;
    line-height: 16px;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
}

/* Market list under the illustration */
.ah-markets {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-top: 22px !important;
}

.ajva-home .ah-market {
    display: flex;
    align-items: center;
    gap: 14px;
    height: 100%;
    padding: 14px 18px;
    border: 1px solid var(--ah-line);
    border-radius: 14px;
    background: #fff;
    color: var(--ah-navy);
    transition: border-color .2s, box-shadow .2s, transform .2s;
}

.ajva-home .ah-market:hover,
.ajva-home .ah-market.is-hot {
    border-color: var(--ah-orange);
    box-shadow: 0 12px 26px rgba(15, 22, 40, .08);
    transform: translateY(-2px);
}

.ah-market .ajva-flag {
    flex: 0 0 34px;
    width: 34px;
    height: 23px;
    border-radius: 3px;
    object-fit: cover;
    box-shadow: 0 0 0 1px rgba(15, 22, 40, .08);
}

.ah-market__text {
    flex: 1 1 auto;
    min-width: 0;
}

.ah-market__text strong {
    display: block;
    font-size: 16px;
    line-height: 22px;
    font-weight: 700;
}

.ah-market__text span {
    display: block;
    color: var(--ah-muted);
    font-size: 13px;
    line-height: 19px;
}

.ah-market > i {
    flex: 0 0 auto;
    color: var(--ah-orange);
    font-size: 14px;
}

/* ==========================================================
   FACTORY
========================================================== */

.ah-factory__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
    grid-template-rows: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.ah-factory__item {
    position: relative;
    overflow: hidden;
    border-radius: var(--ah-radius);
    background: var(--ah-tint);
}

.ah-factory__item--wide {
    grid-row: span 2;
}

.ah-factory__item img {
    width: 100%;
    height: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    transition: transform .5s;
}

.ah-factory__item:hover img {
    transform: scale(1.04);
}

.ah-factory__item figcaption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 46px 22px 16px;
    background: linear-gradient(180deg, transparent, rgba(15, 22, 40, .85));
    color: #fff;
    font-size: 15px;
    line-height: 22px;
    font-weight: 600;
}

/* ==========================================================
   FAQ
========================================================== */

.ah-faq__inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.7fr);
    align-items: start;
    gap: 64px;
}

.ah-faq__intro {
    position: sticky;
    top: 140px;
}

.ah-faq__intro .ah-btn {
    margin-top: 28px;
}

.ah-faq__list {
    display: grid;
    gap: 12px;
}

.ah-faq__item {
    border: 1px solid var(--ah-line);
    border-radius: 14px;
    background: #fff;
    transition: border-color .2s, box-shadow .2s;
}

.ah-faq__item[open] {
    border-color: var(--ah-orange);
    box-shadow: 0 12px 30px rgba(15, 22, 40, .06);
}

.ah-faq__item summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 18px 22px;
    list-style: none;
    cursor: pointer;
}

.ah-faq__item summary::-webkit-details-marker {
    display: none;
}

.ajva-home .ah-faq__item h3 {
    color: var(--ah-navy);
    font-size: 17px;
    line-height: 1.45;
    font-weight: 700;
}

.ah-faq__item summary i {
    flex: 0 0 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--ah-orange-soft);
    color: var(--ah-orange-dark);
    font-size: 13px;
    transition: transform .25s, background .25s, color .25s;
}

.ah-faq__item[open] summary i {
    background: var(--ah-orange-dark);
    color: #fff;
    transform: rotate(45deg);
}

.ah-faq__item > p {
    padding: 0 22px 20px;
    font-size: 16px;
    line-height: 1.7;
}

/* ==========================================================
   CTA
========================================================== */

.ah-cta {
    padding: 64px 0;
    background:
        radial-gradient(600px 300px at 100% 0%, rgba(255, 255, 255, .14), transparent 60%),
        var(--ah-orange-dark);
    color: #fff;
}

.ah-cta__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.ah-cta__inner > div:first-child {
    max-width: 760px;
}

.ajva-home .ah-cta__title {
    color: #fff;
    font-size: clamp(24px, 2.4vw, 34px);
    line-height: 1.25;
    font-weight: 800;
}

.ah-cta p {
    margin-top: 12px;
    font-size: 17px;
}

.ah-cta__actions {
    flex: 0 0 auto;
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

/* ==========================================================
   RESPONSIVE
========================================================== */

@media (max-width: 1100px) {
    .ah-why__grid,
    .ah-reviews__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .ah-brands__list {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .ah-about__inner {
        gap: 48px;
    }
}

@media (max-width: 980px) {
    .ah-section,
    .ah-export {
        padding: 64px 0;
    }

    .ah-hero__inner {
        grid-template-columns: minmax(0, 1fr);
        gap: 36px;
        padding-top: 52px;
    }

    .ah-hero__media img {
        max-width: 440px;
    }

    .ah-facts__list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 22px 0;
    }

    .ah-facts__list li:nth-child(odd) {
        padding-left: 0;
        border-left: 0;
    }

    .ah-about__inner,
    .ah-faq__inner {
        grid-template-columns: minmax(0, 1fr);
    }

    .ah-faq__inner {
        gap: 36px;
    }

    .ah-faq__intro {
        position: static;
    }

    .ah-range__head {
        flex-direction: column;
        align-items: flex-start;
        gap: 24px;
    }

    .ah-network {
        padding: 20px;
    }

    .ah-network__stage {
        aspect-ratio: 1000 / 620;
    }

    .ajva-home .ah-flaglabel {
        padding: 5px 12px 5px 5px;
        font-size: 13px;
    }

    .ah-markets {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .ah-trusted__frame {
        padding: 50px 0 50px 30px;
    }

    .ah-cta__inner {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 767px) {
    .ah-section,
    .ah-export {
        padding: 52px 0;
    }

    .ah-head {
        margin-bottom: 32px;
    }

    .ah-lead {
        font-size: 16px;
    }

    .ah-hero__slider {
        padding-bottom: 136px;
    }

    .ah-hero__lead {
        font-size: 16px;
    }

    .ajva-home .ah-hero__actions .ah-btn {
        flex: 1 1 auto;
        padding: 12px 20px;
    }

    .ah-hero__controls {
        bottom: 84px;
    }

    .ah-searchband {
        margin-top: -56px;
    }

    .ah-searchband__card {
        padding: 16px 14px;
        border-radius: 18px;
    }

    .ah-searchband .ajva-search__label {
        font-size: 15px;
    }

    .ah-facts {
        padding-top: 34px;
    }

    .ah-facts__list li {
        gap: 12px;
        padding: 0 0 0 14px;
    }

    .ah-facts__list i {
        flex-basis: 42px;
        width: 42px;
        height: 42px;
        border-radius: 12px;
        font-size: 17px;
    }

    .ah-facts__list strong {
        font-size: 16px;
        line-height: 22px;
    }

    .ah-facts__list span {
        font-size: 13px;
        line-height: 18px;
    }

    .ah-brands__list {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 10px;
    }

    .ah-brands__list a {
        height: 60px;
        padding: 10px;
        font-size: 13px;
    }

    .ah-about__media {
        padding: 0 24px 40px 0;
    }

    .ah-about__badge {
        left: 14px;
        top: 14px;
        padding: 8px 14px;
    }

    .ah-about__badge strong {
        font-size: 22px;
        line-height: 26px;
    }

    .ah-range__foot {
        flex-wrap: wrap;
    }

    .ah-trusted::before {
        background: rgba(0, 0, 0, .74);
    }

    .ah-trusted__frame {
        padding: 30px 0 30px 20px;
    }

    .ajva-home .ah-trusted__title {
        max-width: 450px;
        font-size: 22px;
        line-height: 1.2;
        margin-bottom: 15px;
    }

    .ah-trusted__text {
        max-width: 450px;
        margin-bottom: 30px;
        font-size: 14px;
        line-height: 20px;
    }

    .ah-why__grid,
    .ah-reviews__grid,
    .ah-markets {
        grid-template-columns: minmax(0, 1fr);
    }

    .ah-card,
    .ah-review {
        padding: 24px 20px;
    }

    .ah-network {
        padding: 14px;
        border-radius: 18px;
    }

    .ah-network__stage {
        aspect-ratio: 1000 / 900;
    }

    .ajva-home a.ah-flaglabel {
        padding: 4px;
    }

    .ajva-home a.ah-flaglabel > span {
        display: none;
    }

    .ah-flaglabel .ajva-flag {
        width: 32px;
        height: 32px;
    }

    .ajva-home .ah-flaglabel--origin {
        gap: 6px;
        padding: 6px 12px 6px 6px;
        font-size: 13px;
    }

    .ah-flaglabel--origin .ajva-flag {
        width: 22px;
        height: 22px;
    }

    .ah-flaglabel__badge {
        display: none;
    }

    .ah-network__ring {
        width: 90px;
        height: 90px;
        margin: -45px 0 0 -45px;
    }

    .ah-factory__grid {
        grid-template-columns: minmax(0, 1fr);
        grid-template-rows: none;
    }

    .ah-factory__item--wide {
        grid-row: auto;
    }

    .ah-faq__item summary {
        padding: 14px 16px;
    }

    .ajva-home .ah-faq__item h3 {
        font-size: 15px;
    }

    .ah-faq__item > p {
        padding: 0 16px 16px;
        font-size: 15px;
    }

    .ah-cta {
        padding: 48px 0;
    }

    .ajva-home .ah-cta__actions .ah-btn {
        flex: 1 1 auto;
    }
}

@media (prefers-reduced-motion: reduce) {
    .ah-network__line,
    .ah-network__ring,
    .ajva-home .ah-flaglabel {
        animation: none;
    }

    .ah-network .ah-network__spark {
        display: none;
    }

    .ajva-home .ah-btn,
    .ah-card,
    .ah-factory__item img,
    .ajva-home .ah-model {
        transition: none;
    }
}
