:root {
    --aghf-cream: #fbf7ef;
    --aghf-dark: #0f2113;
    --aghf-dark-2: #d4a033;
    --aghf-gold: #d4a033;
    --aghf-text: #20251f;
    --aghf-light: #f2ebdd;
    --aghf-frame-bg: url('../images/agnim-global-bg-frame.png');
    --aghf-footer-frame-bg: url('../images/agnim-global-footer-bg-frame.png');
}

.aghf-canvas-page {
    margin: 0;
    background: #fbf7ef;
}

.aghf-canvas-content {
    width: 100%;
    min-height: 40vh;
    overflow: hidden;
}

.aghf-header,
.aghf-footer,
.aghf-header *,
.aghf-footer * {
    box-sizing: border-box;
}

/* Component-state reset: keep theme/Elementor default hover colors from leaking in. */
.aghf-header a,
.aghf-header a:hover,
.aghf-header a:focus,
.aghf-header a:active,
.aghf-header a:visited,
.aghf-footer a,
.aghf-footer a:hover,
.aghf-footer a:focus,
.aghf-footer a:active,
.aghf-footer a:visited {
    text-decoration: none;
}

.aghf-header__toggle,
.aghf-header__toggle:hover,
.aghf-header__toggle:focus,
.aghf-header__toggle:active {
    appearance: none;
    -webkit-appearance: none;
    border: 0 !important;
    background-color: transparent !important;
    box-shadow: none !important;
    color: inherit;
}

.aghf-header a:focus-visible,
.aghf-footer a:focus-visible,
.aghf-header__toggle:focus-visible {
    outline: 2px solid var(--aghf-gold);
    outline-offset: 3px;
}

/* Header */
.aghf-header {
    position: relative;
    z-index: 999;
    width: 100%;
    background-color: var(--aghf-cream);
    background-image: var(--aghf-frame-bg);
    background-repeat: no-repeat;
    background-position: center center;
    background-size: 100% 100%;
    border-bottom: 1px solid rgba(54, 44, 28, .08);
}

.aghf-header--sticky {
    position: sticky;
    top: 0;
}

.aghf-header__inner {
    width: 100%;
    max-width: 1320px;
    min-height: 92px;
    margin: 0 auto;
    padding: 10px 24px;
    display: flex;
    align-items: center;
    gap: 28px;
}

.aghf-header__logo {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    line-height: 0;
    text-decoration: none;
}

.aghf-header__logo img {
    display: block;
    width: 165px;
    max-height: 70px;
    object-fit: contain;
    object-position: left center;
}

.aghf-header__nav {
    margin-left: auto;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 34px;
}

.aghf-header__nav a {
    position: relative;
    display: inline-flex;
    align-items: center;
    min-height: 42px;
    color: var(--aghf-text);
    text-decoration: none;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.3;
    letter-spacing: .01em;
    white-space: nowrap;
    transition: color .2s ease;
}

.aghf-header__nav a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 3px;
    height: 2px;
    background: transparent;
    transform: scaleX(0);
    transform-origin: center;
    transition: transform .2s ease, background-color .2s ease;
}

.aghf-header__nav a:hover,
.aghf-header__nav a:focus,
.aghf-header__nav a:active,
.aghf-header__nav a.is-active {
    color: #c89116;
}

.aghf-header__nav a:hover::after,
.aghf-header__nav a.is-active::after {
    background: var(--aghf-gold);
    transform: scaleX(1);
}

.aghf-header__cta {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 14px 21px;
    border-radius: 4px;
    background: #c78e13;
    color: #fff;
    text-decoration: none;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: .02em;
    transition: transform .2s ease, background-color .2s ease, color .2s ease;
}

.aghf-header__cta:hover,
.aghf-header__cta:focus,
.aghf-header__cta:active {
    transform: translateY(-1px);
    background: #123225;
    color: #fff;
    text-decoration: none;
}

.aghf-header__nav .aghf-header__cta--mobile {
    display: none;
}

.aghf-header__cta-arrow {
    font-size: 18px;
    line-height: 1;
}

.aghf-header__toggle {
    display: none;
    width: 44px;
    height: 44px;
    margin-left: auto;
    padding: 9px;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.aghf-header__toggle span {
    display: block;
    width: 100%;
    height: 2px;
    margin: 5px 0;
    border-radius: 10px;
    background: #183126;
    transition: transform .2s ease, opacity .2s ease;
}

.aghf-header.aghf-menu-open .aghf-header__toggle span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.aghf-header.aghf-menu-open .aghf-header__toggle span:nth-child(2) {
    opacity: 0;
}
.aghf-header.aghf-menu-open .aghf-header__toggle span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.aghf-header.aghf-is-mobile .aghf-header__inner {
    position: relative;
    flex-wrap: wrap;
}

.aghf-header.aghf-is-mobile .aghf-header__toggle {
    display: block;
}

.aghf-header.aghf-is-mobile .aghf-header__nav {
    position: absolute;
    top: 100%;
    left: 14px;
    right: 14px;
    z-index: 20;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin: 0;
    padding: 10px;
    background: var(--aghf-cream);
    border: 1px solid rgba(20, 38, 29, .1);
    border-radius: 7px;
    box-shadow: 0 18px 45px rgba(10, 26, 19, .14);
}

.aghf-header.aghf-is-mobile.aghf-menu-open .aghf-header__nav {
    display: flex;
}

.aghf-header.aghf-is-mobile .aghf-header__nav a {
    width: 100%;
    padding: 11px 12px;
    min-height: 42px;
}

.aghf-header.aghf-is-mobile .aghf-header__nav a::after {
    display: none;
}

.aghf-header.aghf-is-mobile .aghf-header__cta--desktop {
    display: none !important;
}

.aghf-header.aghf-is-mobile .aghf-header__nav .aghf-header__cta--mobile {
    display: inline-flex !important;
    width: 100%;
    min-height: 46px;
    margin-top: 8px;
    padding: 14px 18px;
    justify-content: center;
    color: #fff;
}

.aghf-header.aghf-is-mobile .aghf-header__nav .aghf-header__cta--mobile:hover,
.aghf-header.aghf-is-mobile .aghf-header__nav .aghf-header__cta--mobile:focus,
.aghf-header.aghf-is-mobile .aghf-header__nav .aghf-header__cta--mobile:active {
    color: #fff;
}

@media (max-width: 640px) {
    .aghf-header__inner {
        min-height: 72px;
        padding: 8px 16px;
        gap: 12px;
    }

    .aghf-header__logo img {
        width: 118px;
        max-height: 54px;
    }
}

/* Footer */
.aghf-footer {
    width: 100%;
    min-height: 254px;
    background-color: #233d14;
    background-image: var(--aghf-footer-frame-bg);
    background-repeat: no-repeat;
    background-position: center center;
    background-size: 100% 100%;
    color: var(--aghf-light);
    font-family: Georgia, 'Times New Roman', serif;
    overflow: hidden;
    position: relative;
}

.aghf-footer__inner {
    width: 100%;
    max-width: 1816px;
    margin: 0 auto;
    min-height: 206px;
    padding: 16px 128px 16px;
    display: grid;
    grid-template-columns: minmax(340px, 390px) 1px minmax(345px, 390px) 1px minmax(560px, 1fr);
    column-gap: clamp(36px, 3.1vw, 58px);
    row-gap: 20px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.aghf-footer__brand,
.aghf-footer__column,
.aghf-footer__contact,
.aghf-footer__visual {
    min-width: 0;
}

.aghf-footer__brand img {
    display: block;
    width: 330px;
    max-width: 100%;
    max-height: 145px;
    object-fit: contain;
    object-position: left center;
    margin: 0 0 8px;
    border-radius: 2px;
}

.aghf-footer__brand p {
    max-width: 370px;
    margin: 0;
    font-size: 24px;
    font-style: italic;
    line-height: 1.35;
    color: inherit;
}

.aghf-footer__divider {
    width: 1px;
    height: 163px;
    background: rgba(212, 160, 51, .9);
    justify-self: center;
}

.aghf-footer h4 {
    margin: 0 0 18px;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: .04em;
}

.aghf-footer__column > a,
.aghf-footer__column > span,
.aghf-footer__contact a,
.aghf-footer__contact span {
    color: inherit;
    overflow-wrap: anywhere;
}

.aghf-footer__column > a,
.aghf-footer__column > span {
    display: block;
    margin: 0 0 9px;
    font-size: 13px;
    line-height: 1.45;
    text-decoration: none;
}

.aghf-footer__column > a:hover,
.aghf-footer__column > a:focus,
.aghf-footer__column > a:active,
.aghf-footer__contact a:hover,
.aghf-footer__contact a:focus,
.aghf-footer__contact a:active,
.aghf-footer__legal a:hover,
.aghf-footer__legal a:focus,
.aghf-footer__legal a:active {
    color: var(--aghf-gold);
}

.aghf-footer__social {
    display: none;
    flex-wrap: wrap;
    align-items: center;
    gap: 9px;
}

.aghf-footer__social a {
    --aghf-social-box-size: 34px;
    --aghf-social-icon-size: 14px;
    --aghf-social-color: var(--aghf-gold);
    --aghf-social-hover-color: var(--aghf-dark);
    --aghf-social-bg: transparent;
    --aghf-social-hover-bg: var(--aghf-gold);
    --aghf-social-border: var(--aghf-gold);
    --aghf-social-hover-border: var(--aghf-gold);
    --aghf-social-border-width: 1px;
    --aghf-social-radius: 50%;

    width: var(--aghf-social-box-size);
    height: var(--aghf-social-box-size);
    flex: 0 0 var(--aghf-social-box-size);
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    padding: 0 !important;
    border-width: var(--aghf-social-border-width) !important;
    border-style: solid !important;
    border-color: var(--aghf-social-border) !important;
    border-radius: var(--aghf-social-radius) !important;
    background-color: var(--aghf-social-bg) !important;
    color: var(--aghf-social-color) !important;
    font-size: var(--aghf-social-icon-size) !important;
    line-height: 1 !important;
    text-decoration: none !important;
    transition: background-color .2s ease, color .2s ease, border-color .2s ease, transform .2s ease;
}

.aghf-footer__social a:hover,
.aghf-footer__social a:focus,
.aghf-footer__social a:active {
    transform: translateY(-2px);
    background-color: var(--aghf-social-hover-bg) !important;
    border-color: var(--aghf-social-hover-border) !important;
    color: var(--aghf-social-hover-color) !important;
    text-decoration: none !important;
}

.aghf-footer__social a i,
.aghf-footer__social a svg {
    display: block;
    width: 1em !important;
    height: 1em !important;
    min-width: 1em;
    color: inherit !important;
    fill: currentColor !important;
    font-size: inherit !important;
    line-height: 1 !important;
    opacity: 1 !important;
    visibility: visible !important;
    transition: none !important;
}

.aghf-footer__social a svg *,
.aghf-footer__social a:hover svg *,
.aghf-footer__social a:focus svg *,
.aghf-footer__social a:active svg * {
    fill: currentColor !important;
    color: inherit !important;
    opacity: 1 !important;
    visibility: visible !important;
}

.aghf-footer__social a:hover i,
.aghf-footer__social a:focus i,
.aghf-footer__social a:active i,
.aghf-footer__social a:hover svg,
.aghf-footer__social a:focus svg,
.aghf-footer__social a:active svg {
    color: inherit !important;
    fill: currentColor !important;
    opacity: 1 !important;
    visibility: visible !important;
}

.aghf-contact-item {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 20px;
    /* Keep every contact icon aligned to the first text line.
       This prevents multi-line addresses from pulling the icon into the vertical middle. */
    align-items: start;
    margin: 0 0 20px;
    font-size: 24px;
    line-height: 1.25;
}

.aghf-contact-item:last-child {
    margin-bottom: 0;
}

.aghf-contact-item a {
    text-decoration: none;
}

.aghf-contact-icon {
    color: #f4eadb;
    line-height: 1;
    font-size: 32px;
    text-align: center;
    align-self: start;
    display: inline-flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 0.08em;
}

.aghf-contact-icon i,
.aghf-contact-icon svg {
    width: 1em !important;
    height: 1em !important;
    color: inherit !important;
    fill: currentColor !important;
}

.aghf-footer__visual {
    display: grid;
    grid-template-columns: minmax(310px, 360px) minmax(300px, 1fr);
    align-items: center;
    gap: clamp(42px, 4.8vw, 88px);
}

.aghf-footer__map {
    display: block;
    width: 100%;
    max-width: 360px;
    height: auto;
    opacity: .34;
    filter: saturate(0) sepia(.55) hue-rotate(12deg) brightness(1.08);
}

.aghf-footer__message {
    margin: 0;
    color: #efe6d7;
    font-size: 28px;
    line-height: 1.28;
    text-align: center;
}

.aghf-footer__bottom-wrap {
    background: transparent;
    position: relative;
    z-index: 1;
}

.aghf-footer__bottom {
    width: 100%;
    max-width: 1816px;
    margin: 0 auto;
    padding: 4px 80px 18px;
    border-top: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    font-size: 18px;
    line-height: 1.4;
    color: #efe6d7;
    text-align: center;
}

.aghf-footer__bottom a {
    color: inherit;
    text-decoration: none;
}

.aghf-footer__legal {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 11px;
}

.aghf-footer__separator {
    opacity: .6;
}

@media (max-width: 1100px) {
    .aghf-footer__inner {
        grid-template-columns: minmax(0, 1fr) 1px minmax(0, 1.15fr);
        padding-left: 56px;
        padding-right: 56px;
    }

    .aghf-footer__brand p {
        max-width: 360px;
    }

    .aghf-footer__divider:nth-of-type(2) {
        display: none;
    }

    .aghf-footer__visual {
        grid-column: 1 / -1;
        grid-template-columns: minmax(190px, 1fr) minmax(220px, 1fr);
        max-width: 680px;
        justify-self: center;
    }
}

@media (max-width: 767px) {
    .aghf-footer {
        min-height: 0;
        background-image: none !important;
        background-color: #233d14 !important;
    }

    .aghf-footer__inner {
        min-height: 0;
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 38px 34px 20px;
        text-align: center;
    }

    .aghf-footer__brand {
        grid-column: auto;
    }

    .aghf-footer__brand img {
        margin-left: auto;
        margin-right: auto;
    }

    .aghf-footer__brand p {
        max-width: 500px;
        margin-left: auto;
        margin-right: auto;
    }

    .aghf-footer__divider {
        display: none;
    }

    .aghf-contact-item {
        max-width: 330px;
        margin-left: auto;
        margin-right: auto;
        text-align: left;
    }

    .aghf-footer__visual {
        grid-column: auto;
        grid-template-columns: 1fr;
        gap: 8px;
        max-width: 360px;
        justify-self: center;
    }

    .aghf-footer__map {
        max-width: 280px;
        margin: 0 auto;
    }

    .aghf-footer__message {
        font-size: 22px;
    }

    .aghf-footer__bottom {
        padding: 10px 24px 16px;
        flex-direction: column;
        align-items: center;
        gap: 8px;
    }
}

@media (max-width: 560px) {
    .aghf-footer__inner {
        grid-template-columns: 1fr;
        gap: 18px;
        padding: 34px 22px 20px;
    }

    .aghf-footer__brand {
        grid-column: auto;
    }

    .aghf-footer__brand p {
        max-width: none;
        font-size: 17px;
    }

    .aghf-footer h4 {
        margin-bottom: 13px;
    }

    .aghf-footer__column > a,
    .aghf-footer__column > span,
    .aghf-contact-item {
        font-size: 17px;
    }

    .aghf-footer__bottom {
        padding: 10px 18px 15px;
        font-size: 13px;
    }

    .aghf-footer__legal {
        gap: 8px;
    }
}

@media (max-width: 380px) {
    .aghf-footer__inner {
        padding-left: 14px;
        padding-right: 14px;
    }

    .aghf-footer__social {
        gap: 7px;
    }

    .aghf-footer__bottom {
        padding-left: 14px;
        padding-right: 14px;
    }
}

/* ==========================================================
 * v1.0.8 visual refinement
 * - Reference-matched desktop footer
 * - Modern premium header CTA
 * ========================================================== */

/* Header CTA: retain layout/content, modernize only the button. */
.aghf-header__cta {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    min-height: 46px;
    padding: 13px 18px 13px 22px;
    gap: 12px;
    border: 1px solid rgba(255,255,255,.34);
    border-radius: 10px;
    background-color: #c78e13;
    background-image: linear-gradient(135deg,#dda91e 0%,#cf930e 52%,#bf7d06 100%);
    box-shadow: 0 7px 18px rgba(138,92,5,.18), inset 0 1px 0 rgba(255,255,255,.28);
    transform: translateZ(0);
    transition: transform .25s ease, box-shadow .25s ease, filter .25s ease, color .25s ease;
}

.aghf-header__cta::before {
    content: "";
    position: absolute;
    z-index: -1;
    top: -60%;
    left: -45%;
    width: 34%;
    height: 220%;
    background: linear-gradient(90deg,transparent,rgba(255,255,255,.28),transparent);
    transform: rotate(18deg) translateX(-180%);
    transition: transform .65s ease;
}

.aghf-header__cta:hover,
.aghf-header__cta:focus,
.aghf-header__cta:active {
    transform: translateY(-2px);
    background-color: #c78e13;
    background-image: linear-gradient(135deg,#e2ae24 0%,#d0910a 52%,#b97605 100%);
    box-shadow: 0 11px 24px rgba(138,92,5,.24), inset 0 1px 0 rgba(255,255,255,.35);
    color: #fff;
    filter: saturate(1.03);
}

.aghf-header__cta:hover::before,
.aghf-header__cta:focus::before {
    transform: rotate(18deg) translateX(500%);
}

.aghf-header__cta > span:first-child {
    position: relative;
    z-index: 1;
}

.aghf-header__cta-arrow {
    position: relative;
    z-index: 1;
    width: 27px;
    height: 27px;
    flex: 0 0 27px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255,255,255,.28);
    border-radius: 999px;
    background: rgba(255,255,255,.12);
    font-size: 16px;
    transition: transform .25s ease, background-color .25s ease;
}

.aghf-header__cta:hover .aghf-header__cta-arrow,
.aghf-header__cta:focus .aghf-header__cta-arrow {
    transform: translateX(2px);
    background: rgba(255,255,255,.2);
}

/* Desktop footer: match the supplied heritage reference proportions. */
@media (min-width: 1101px) {
    .aghf-footer {
        min-height: 208px;
        height: auto;
        background-color: #304719;
        background-image: var(--aghf-footer-frame-bg);
        background-repeat: no-repeat;
        background-position: center center;
        background-size: 100% 100%;
    }

    .aghf-footer__inner {
        width: calc(100% - 160px);
        max-width: 1320px;
        min-height: 170px;
        padding: 13px 20px 7px;
        display: grid;
        grid-template-columns: minmax(280px,320px) 1px minmax(280px,310px) 1px minmax(430px,1fr);
        column-gap: 36px;
        row-gap: 0;
        align-items: center;
    }

    .aghf-footer__brand {
        align-self: center;
        padding-top: 0;
    }

    .aghf-footer__brand img {
        width: 270px;
        max-width: 100%;
        max-height: 112px;
        margin: 0 0 3px;
        object-fit: contain;
        object-position: left center;
    }

    .aghf-footer__brand p {
        max-width: 300px;
        margin: 0;
        font-size: 17px;
        line-height: 1.18;
        font-style: italic;
        color: #eee5d3;
        white-space: nowrap;
    }

    .aghf-footer__divider {
        width: 1px;
        height: 136px;
        background: rgba(211,160,52,.95);
        align-self: center;
    }

    .aghf-footer__contact {
        align-self: center;
    }

    .aghf-contact-item {
        grid-template-columns: 32px minmax(0,1fr);
        gap: 12px;
        margin: 0 0 10px;
        font-size: 17px;
        line-height: 1.2;
    }

    .aghf-contact-item:last-child { margin-bottom: 0; }

    .aghf-contact-icon {
        font-size: 25px;
        color: #f3ead9;
    }

    .aghf-footer__contact a,
    .aghf-footer__contact span {
        color: #eee5d3;
        font-size: 17px;
        font-weight: 400;
    }

    .aghf-footer__visual {
        grid-template-columns: minmax(245px,280px) minmax(190px,1fr);
        gap: 34px;
        align-items: center;
    }

    .aghf-footer__map {
        width: 100%;
        max-width: 280px;
        opacity: .28;
        filter: sepia(.38) saturate(.65) hue-rotate(24deg) brightness(1.05);
    }

    .aghf-footer__message {
        margin: 0;
        color: #eee5d3;
        font-size: 19px;
        line-height: 1.28;
        text-align: center;
    }

    .aghf-footer__bottom-wrap {
        height: 38px;
        min-height: 38px;
        background: transparent;
    }

    .aghf-footer__bottom {
        width: calc(100% - 160px);
        max-width: 1320px;
        min-height: 38px;
        padding: 3px 20px 7px;
        font-size: 14px;
        line-height: 1.25;
        color: #eee5d3;
    }
}

/* Keep the target footer elegant at common laptop widths. */
@media (min-width: 1101px) and (max-width: 1360px) {
    .aghf-footer__inner,
    .aghf-footer__bottom { width: calc(100% - 90px); }
    .aghf-footer__inner {
        grid-template-columns: minmax(250px,285px) 1px minmax(250px,285px) 1px minmax(390px,1fr);
        column-gap: 26px;
    }
    .aghf-footer__brand img { width: 245px; max-height: 105px; }
    .aghf-footer__brand p { font-size: 15px; }
    .aghf-contact-item,
    .aghf-footer__contact a,
    .aghf-footer__contact span { font-size: 15px; }
    .aghf-contact-icon { font-size: 22px; }
    .aghf-footer__visual { grid-template-columns: minmax(210px,245px) minmax(175px,1fr); gap: 24px; }
    .aghf-footer__map { max-width: 245px; }
    .aghf-footer__message { font-size: 17px; }
}

@media (max-width: 900px) {
    .aghf-header__cta { border-radius: 9px; }
    .aghf-header__cta-arrow { width: 25px; height: 25px; flex-basis: 25px; }
}

@media (prefers-reduced-motion: reduce) {
    .aghf-header__cta,
    .aghf-header__cta::before,
    .aghf-header__cta-arrow { transition: none; }
}
