/* Abagona header and footer: the parts of the design Astra's settings can't hold.
   Colours, fonts, sizes, layout and content are set in Appearance > Customize. */

/* ===================================================================== Header */
.abagona-site #masthead { position: sticky; top: 0; z-index: 999; transition: transform .45s cubic-bezier(.22,1,.36,1); }
.admin-bar.abagona-site #masthead { top: 32px; }
@media (max-width: 782px) { .admin-bar.abagona-site #masthead { top: 46px; } }
@media (max-width: 600px) { .admin-bar.abagona-site #masthead { top: 0; } }
.abagona-site #masthead.abg-header-hidden { transform: translateY(-100%); }

.abagona-site #masthead .ast-primary-header-bar {
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  transition: background-color .35s, box-shadow .35s; }
.abagona-site #masthead .site-primary-header-wrap,
.abagona-site #masthead .ast-primary-header-bar .ast-builder-grid-row { transition: min-height .35s cubic-bezier(.22,1,.36,1); }
.abagona-site #masthead.abg-header-scrolled .ast-primary-header-bar { background-color: #061b36f2; box-shadow: 0 12px 40px -18px #000000a6; }
@media (min-width: 922px) {
  .abagona-site #masthead.abg-header-scrolled .site-primary-header-wrap,
  .abagona-site #masthead.abg-header-scrolled .ast-primary-header-bar .ast-builder-grid-row { min-height: 70px; }
  .abagona-site #masthead.abg-header-scrolled .custom-logo-link img { max-width: 51px; }
}

/* Brand: icon + stacked name */
.abagona-site #masthead .site-branding { padding: 0; }
.abagona-site #masthead .custom-logo-link img { transition: max-width .35s cubic-bezier(.22,1,.36,1), transform .45s cubic-bezier(.22,1,.36,1), filter .45s; }
.abagona-site #masthead .custom-logo-link:hover img { transform: translateY(-2px) scale(1.04); filter: drop-shadow(0 6px 14px #d4a01759); }
.abagona-site .ast-header-html-1 .ast-builder-html-element p { margin: 0; }
.abagona-site .abg-brand-name { display: flex; flex-direction: column; gap: 6px; line-height: 1; color: #fff; text-decoration: none; }
.abagona-site .abg-brand-word { letter-spacing: .12em; color: #fff; }
.abagona-site .abg-brand-tag { font-family: 'Manrope', sans-serif; font-weight: 700; font-size: 8px; letter-spacing: .3em; color: #f1d47b; }

/* Desktop nav: tight items with a gold underline that draws on hover/active */
.abagona-site #ast-hf-menu-1 { gap: clamp(18px, 2.1vw, 32px); }
.abagona-site #ast-hf-menu-1 > .menu-item { line-height: 1.5; }
.abagona-site #ast-hf-menu-1 > .menu-item > .menu-link {
  background-image: linear-gradient(#d4a017, #d4a017); background-repeat: no-repeat;
  background-position: left bottom; background-size: 0% 1px;
  transition: color .25s, background-size .35s cubic-bezier(.22,1,.36,1); }
.abagona-site #ast-hf-menu-1 > .menu-item > .menu-link:hover,
.abagona-site #ast-hf-menu-1 > .current-menu-item > .menu-link,
.abagona-site #ast-hf-menu-1 > .current-menu-ancestor > .menu-link { background-size: 100% 1px; }
@media (min-width: 922px) and (max-width: 1050px) {
  .abagona-site #masthead .ast-primary-header-bar .site-primary-header-wrap { padding-left: 28px; padding-right: 28px; }
  .abagona-site #ast-hf-menu-1 { gap: 15px; }
  .abagona-site #ast-hf-menu-1 > .menu-item > .menu-link,
  .abagona-site #masthead .ast-header-button-1 .ast-custom-button { font-size: 9px; }
}

/* "Get in touch" button with its arrow */
.abagona-site #masthead .ast-header-button-1 .ast-custom-button {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  transition: background-color .25s, color .25s, border-color .25s; }
.abagona-site #masthead .ast-header-button-1 .ast-custom-button::after {
  content: ""; flex: 0 0 auto; width: 15px; height: 15px; background-color: currentColor;
  -webkit-mask: var(--abg-arrow-up-right) center / contain no-repeat; mask: var(--abg-arrow-up-right) center / contain no-repeat;
  transition: transform .25s; }
.abagona-site #masthead .ast-header-button-1 .ast-custom-button:hover::after { transform: translate(2px, -2px); }
.abagona-site {
  --abg-arrow-up-right: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 7h10v10'/%3E%3Cpath d='M7 17 17 7'/%3E%3C/svg%3E");
  --abg-arrow-up: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 7-7 7 7'/%3E%3Cpath d='M12 19V5'/%3E%3C/svg%3E");
  --abg-sparkles: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9.937 15.5A2 2 0 0 0 8.5 14.063l-6.135-1.582a.5.5 0 0 1 0-.962L8.5 9.936A2 2 0 0 0 9.937 8.5l1.582-6.135a.5.5 0 0 1 .963 0L14.063 8.5A2 2 0 0 0 15.5 9.937l6.135 1.581a.5.5 0 0 1 0 .964L15.5 14.063a2 2 0 0 0-1.437 1.437l-1.582 6.135a.5.5 0 0 1-.963 0z'/%3E%3Cpath d='M20 3v4'/%3E%3Cpath d='M22 5h-4'/%3E%3Cpath d='M4 17v2'/%3E%3Cpath d='M5 18H3'/%3E%3C/svg%3E");
}

/* Scroll progress under the bar */
.abg-scroll-progress { display: flex; height: 2px; background: #061b36; }
.abg-scroll-progress > span { flex: 1; background-image: linear-gradient(90deg, #d4a017, #f1d47b); transform-origin: left; transform: scaleX(0); }

/* Mobile and tablet (Astra's mobile header, up to 921px) */
.abagona-site .main-header-menu-toggle .ast-mobile-svg,
.abagona-site .main-header-menu-toggle .mobile-menu-toggle-icon { display: none; }
.abagona-site .main-header-menu-toggle { width: 44px; height: 44px; padding: 0; display: inline-flex; align-items: center; justify-content: center; }
.abg-burger { display: flex; flex-direction: column; gap: 6px; width: 22px; }
.abg-burger > i { display: block; height: 2px; background: currentColor; transition: transform .35s cubic-bezier(.22,1,.36,1), opacity .25s; }
.main-header-menu-toggle.toggled .abg-burger > i:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.main-header-menu-toggle.toggled .abg-burger > i:nth-child(2) { opacity: 0; }
.main-header-menu-toggle.toggled .abg-burger > i:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

.abagona-site .ast-mobile-header-content { padding: 8px 20px 24px; border-bottom: 1px solid #ffffff2e; box-shadow: 0 30px 50px -20px #000000a6; }
.abagona-site #ast-hf-mobile-menu > .menu-item { border-top: 0;
  animation: abg-menu-drop .35s cubic-bezier(.22,1,.36,1) both; }
.abagona-site #ast-hf-mobile-menu > .menu-item > .menu-link { display: flex; align-items: center; justify-content: space-between; min-height: 44px; }
.abagona-site #ast-hf-mobile-menu > .menu-item:nth-child(1) { animation-delay: .05s; }
.abagona-site #ast-hf-mobile-menu > .menu-item:nth-child(2) { animation-delay: .09s; }
.abagona-site #ast-hf-mobile-menu > .menu-item:nth-child(3) { animation-delay: .13s; }
.abagona-site #ast-hf-mobile-menu > .menu-item:nth-child(4) { animation-delay: .17s; }
.abagona-site #ast-hf-mobile-menu > .menu-item:nth-child(5) { animation-delay: .21s; }
.abagona-site #ast-hf-mobile-menu > .menu-item:nth-child(6) { animation-delay: .25s; }
.abagona-site #ast-hf-mobile-menu > .menu-item:nth-child(7) { animation-delay: .29s; }
.abagona-site .ast-mobile-header-content .ast-header-button-1,
.abagona-site .ast-mobile-header-content .ast-builder-button-wrap,
.abagona-site .ast-mobile-header-content .ast-custom-button-link { display: flex; width: 100%; }
.abagona-site .ast-mobile-header-content .ast-header-button-1 .ast-custom-button { width: 100%; min-height: 48px; }
@keyframes abg-menu-drop { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }

/* Back-to-top ring (replaces Astra's square button) */
.abg-to-top { position: fixed; right: 28px; bottom: 28px; z-index: 998; display: flex; align-items: center; justify-content: center;
  width: 52px; height: 52px; padding: 0; border: 0; border-radius: 50%; background: #0b274d; color: #d4a017;
  box-shadow: 0 14px 30px -10px #061b36a6; cursor: pointer; opacity: 0; visibility: hidden; transform: translateY(16px) scale(.9);
  transition: opacity .35s, visibility .35s, transform .35s cubic-bezier(.22,1,.36,1), background-color .25s, color .25s; }
.abg-to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.abg-to-top:hover, .abg-to-top:focus-visible { background: #d4a017; color: #0b274d; }
.abg-to-top svg { width: 100%; height: 100%; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.abg-to-top-track { stroke: #ffffff1f; stroke-width: 2; }
.abg-to-top-arc { stroke: #d4a017; stroke-width: 2; transition: stroke .25s; }
.abg-to-top:hover .abg-to-top-arc { stroke: #0b274d; }
.abg-to-top-arrow { stroke: currentColor; stroke-width: 2; transition: transform .25s; }
.abg-to-top:hover .abg-to-top-arrow { transform: translateY(-3px); }
@media (max-width: 767px) { .abg-to-top { right: 18px; bottom: 18px; width: 46px; height: 46px; } }

/* ===================================================================== Footer */
.abagona-site #colophon { position: relative; overflow: hidden; background: #061b36; }
.abagona-site #colophon .ast-builder-grid-row { width: min(1180px, 100% - 96px); max-width: none; margin-left: auto; margin-right: auto; padding: 0; }
.abagona-site #colophon .site-primary-footer-wrap .ast-builder-grid-row { grid-template-columns: 1.25fr .75fr .75fr .5fr; column-gap: 30px; }
@media (max-width: 1050px) { .abagona-site #colophon .ast-builder-grid-row { width: calc(100% - 56px); } }
@media (max-width: 921px) {
  .abagona-site #colophon .site-primary-footer-wrap .ast-builder-grid-row { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 48px; }
  .abagona-site #colophon .site-footer-primary-section-1 { grid-column: 1 / -1; }
}
@media (max-width: 767px) {
  .abagona-site #colophon .ast-builder-grid-row { width: calc(100% - 40px); }
  .abagona-site #colophon .site-primary-footer-wrap .ast-builder-grid-row { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 25px; }
  .abagona-site #colophon .site-footer-primary-section-4 { grid-column: 1 / -1; }
}
.abagona-site #colophon .footer-widget-area .widget { margin: 0; }
.abagona-site #colophon .widget-title { margin: 0 0 20px; letter-spacing: .16em; }
.abagona-site #colophon .widget_nav_menu ul.menu { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; margin: 0; padding: 0; list-style: none; }
.abagona-site #colophon .widget_nav_menu ul.menu li { margin: 0; padding: 0; }
.abagona-site #colophon .widget_nav_menu ul.menu a { display: inline-block; transition: color .25s, transform .25s; }
.abagona-site #colophon .widget_nav_menu ul.menu a:hover { transform: translateX(4px); }

.abagona-site .abg-footer-brand { display: inline-block; transition: transform .45s cubic-bezier(.22,1,.36,1), filter .45s; }
.abagona-site .abg-footer-brand:hover { transform: translateY(-3px); filter: drop-shadow(0 10px 24px #d4a01726); }
.abagona-site .abg-footer-logo { display: block; width: 210px; max-width: 100%; height: auto; }
.abagona-site #colophon .widget_media_image { margin-bottom: 22px; }
.abagona-site #colophon .abg-footer-tagline { margin: 0; }
@media (max-width: 767px) { .abagona-site .abg-footer-logo { width: 180px; } }

.abagona-site .abg-footer-mark { display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.abagona-site .abg-footer-mark-word { color: #d4a017; font-family: 'Cinzel', Georgia, serif; font-weight: 700; font-size: 40px; line-height: .8; letter-spacing: .04em; }
.abagona-site .abg-footer-mark-place { color: #ffffff94; font-size: 9px; font-weight: 400; letter-spacing: .16em; text-transform: uppercase; }
@media (max-width: 921px) { .abagona-site .abg-footer-mark { align-items: flex-start; } }

.abagona-site .abg-footer-sign { display: inline-flex; align-items: center; gap: 6px; }
.abagona-site .abg-footer-sign::after { content: ""; width: 12px; height: 12px; background-color: currentColor;
  -webkit-mask: var(--abg-sparkles) center / contain no-repeat; mask: var(--abg-sparkles) center / contain no-repeat; }
.abagona-site .abg-footer-top { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; text-decoration: none; transition: gap .25s; }
.abagona-site .abg-footer-top::after { content: ""; width: 15px; height: 15px; background-color: currentColor;
  -webkit-mask: var(--abg-arrow-up) center / contain no-repeat; mask: var(--abg-arrow-up) center / contain no-repeat; transition: transform .25s; }
.abagona-site .abg-footer-top:hover::after { transform: translateY(-3px); }
.abagona-site #colophon .site-below-footer-wrap p { margin: 0; }
@media (max-width: 767px) {
  .abagona-site #colophon .site-below-footer-wrap .ast-builder-grid-row { gap: 10px; }
  .abagona-site #colophon .site-below-footer-wrap .site-footer-section { justify-content: flex-start; }
}

/* Typography Astra's free settings don't output (family, weight, case, tracking) */
.abagona-site .abg-brand-word { font-family: 'Cinzel', Georgia, serif; font-weight: 700; }
.abagona-site #colophon { font-family: 'DM Sans', sans-serif; line-height: 1.5; }
.abagona-site #colophon .widget-title { font-family: 'DM Sans', sans-serif; font-weight: 600; text-transform: uppercase; }
.abagona-site #colophon .abg-footer-tagline { font-family: 'Manrope', sans-serif; font-weight: 500; letter-spacing: -0.03em; line-height: 1.55; }
.abagona-site #colophon .ast-footer-copyright,
.abagona-site #colophon .ast-footer-html-1,
.abagona-site #colophon .ast-footer-html-2 { font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }

.abagona-site #ast-hf-mobile-menu > .menu-item > .menu-link { font-family: 'DM Sans', sans-serif; font-weight: 600; font-size: 11px; letter-spacing: .04em; text-transform: uppercase; }

/* Outlined "ALH" watermark removed 2026-10-31 (left empty space below the copyright row) */
.abagona-site #colophon > * { position: relative; z-index: 1; }

/* Footer columns rise in one after another */
.abg-footer-reveal .site-primary-footer-wrap .site-footer-section { opacity: 0; transform: translateY(26px);
  transition: opacity .8s cubic-bezier(.22,1,.36,1), transform .8s cubic-bezier(.22,1,.36,1); }
.abg-footer-reveal .site-primary-footer-wrap .site-footer-section-2 { transition-delay: .08s; }
.abg-footer-reveal .site-primary-footer-wrap .site-footer-section-3 { transition-delay: .16s; }
.abg-footer-reveal .site-primary-footer-wrap .site-footer-section-4 { transition-delay: .24s; }
.abg-footer-reveal.is-in .site-primary-footer-wrap .site-footer-section { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .abagona-site #masthead, .abagona-site #masthead *, .abg-to-top, .abg-to-top *, .abagona-site #colophon * { transition: none !important; animation: none !important; }
  .abg-footer-reveal .site-primary-footer-wrap .site-footer-section { opacity: 1; transform: none; }
}
