/*
 * GAS Executive Theme — Premium Footer
 * v37.4.2
 * Final layer: deliberately isolated from the legacy footer styles.
 */

:root {
  --gas-footer-ink: #130f0c;
  --gas-footer-ink-2: #1b140f;
  --gas-footer-panel: rgba(255,255,255,.035);
  --gas-footer-line: rgba(218,179,103,.22);
  --gas-footer-gold: #d3aa5c;
  --gas-footer-gold-soft: #efd58f;
  --gas-footer-ivory: #f6f0e6;
  --gas-footer-muted: rgba(246,240,230,.62);
}

#base-contacts {
  scroll-margin-top: 118px;
}

.site-footer.site-footer--premium {
  position: relative;
  isolation: isolate;
  margin: 0 !important;
  overflow: hidden;
  background:
    radial-gradient(circle at 82% 8%, rgba(173,118,49,.14), transparent 32%),
    radial-gradient(circle at 8% 58%, rgba(128,81,31,.08), transparent 30%),
    linear-gradient(180deg, #17110d 0%, #100c09 58%, #0c0907 100%) !important;
  color: var(--gas-footer-ivory) !important;
}

.site-footer.site-footer--premium::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .34;
  background-image: radial-gradient(rgba(239,213,143,.34) .5px, transparent .5px);
  background-size: 38px 38px;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 22%, #000 66%, transparent 100%);
  mask-image: linear-gradient(to bottom, transparent 0, #000 22%, #000 66%, transparent 100%);
}

.site-footer--premium .gas-container,
.site-footer--premium .site-footer__shell {
  width: min(1580px, calc(100vw - 64px)) !important;
  max-width: none !important;
  margin-inline: auto !important;
}

.gas-footer-hero {
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(218,179,103,.23);
  border-bottom: 1px solid rgba(218,179,103,.16);
}

.gas-footer-hero::after {
  content: "";
  position: absolute;
  right: clamp(24px, 8vw, 150px);
  top: 50%;
  width: clamp(250px, 32vw, 570px);
  aspect-ratio: 2.3 / 1;
  transform: translateY(-50%);
  pointer-events: none;
  opacity: .24;
  background:
    linear-gradient(120deg, transparent 31%, rgba(238,205,133,.22) 31.3%, transparent 31.8%),
    linear-gradient(119deg, transparent 50%, rgba(238,205,133,.12) 50.2%, transparent 50.7%);
  clip-path: polygon(0 47%, 84% 0, 100% 7%, 55% 52%, 100% 92%, 84% 100%);
}

.gas-footer-hero__glow {
  position: absolute;
  width: 460px;
  height: 460px;
  right: 9%;
  top: -280px;
  border-radius: 50%;
  background: rgba(194,139,62,.16);
  filter: blur(90px);
  pointer-events: none;
}

.gas-footer-hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(380px, .75fr);
  align-items: end;
  gap: clamp(50px, 8vw, 140px);
  padding-block: clamp(72px, 7.4vw, 124px) !important;
}

.gas-footer-kicker {
  margin: 0 0 18px !important;
  color: var(--gas-footer-gold) !important;
  font-size: .69rem !important;
  font-weight: 800 !important;
  line-height: 1.2 !important;
  letter-spacing: .22em !important;
  text-transform: uppercase;
}

.gas-footer-hero__copy h2 {
  max-width: 850px;
  margin: 0 !important;
  color: var(--gas-footer-ivory) !important;
  font-family: Georgia, 'Times New Roman', serif !important;
  font-size: clamp(3.2rem, 5.2vw, 6.8rem) !important;
  font-weight: 400 !important;
  line-height: .9 !important;
  letter-spacing: -.045em !important;
}

.gas-footer-hero__copy > p:last-child {
  max-width: 690px;
  margin: 28px 0 0 !important;
  color: var(--gas-footer-muted) !important;
  font-size: clamp(1rem, 1.16vw, 1.22rem) !important;
  line-height: 1.7 !important;
}

.gas-footer-hero__actions {
  display: grid;
  gap: 12px;
  align-self: center;
}

.gas-footer-btn {
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 64px;
  padding: 16px 20px !important;
  border: 1px solid var(--gas-footer-line);
  color: var(--gas-footer-ivory) !important;
  font-size: .78rem !important;
  font-weight: 800 !important;
  letter-spacing: .12em !important;
  text-transform: uppercase;
  text-decoration: none !important;
  transition: transform 220ms ease, border-color 220ms ease, background 220ms ease;
}

.gas-footer-btn:hover {
  transform: translateY(-2px);
}

.gas-footer-btn--gold {
  background: linear-gradient(135deg, #d4ad63, #b9853f) !important;
  border-color: rgba(243,214,151,.45) !important;
  color: #1a120c !important;
}

.gas-footer-btn--gold:hover {
  background: linear-gradient(135deg, #e1bd75, #c79246) !important;
}

.gas-footer-btn--ghost {
  background: rgba(255,255,255,.025) !important;
}

.gas-footer-btn--ghost span:last-child {
  color: var(--gas-footer-gold-soft);
  letter-spacing: .04em;
  white-space: nowrap;
}

.site-footer--premium .site-footer__shell {
  position: relative;
  z-index: 1;
  padding: 0 0 26px !important;
}

.gas-footer-overview {
  display: grid;
  grid-template-columns: minmax(280px, .9fr) minmax(360px, 1.15fr) minmax(320px, 1fr);
  gap: clamp(30px, 4.6vw, 78px);
  align-items: start;
  padding: 52px 0 46px;
  border-bottom: 1px solid rgba(218,179,103,.16);
}

.gas-footer-brand__eyebrow {
  display: inline-flex;
  margin-bottom: 13px;
  color: var(--gas-footer-gold) !important;
  font-size: .68rem;
  font-weight: 900;
  letter-spacing: .28em;
}

.gas-footer-brand strong {
  display: block;
  color: var(--gas-footer-ivory) !important;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(1.48rem, 1.8vw, 2.15rem);
  font-weight: 400;
  line-height: 1.08;
}

.gas-footer-brand p {
  margin: 12px 0 0 !important;
  color: var(--gas-footer-muted) !important;
  font-size: .9rem !important;
  line-height: 1.55 !important;
}

.gas-footer-nav__list,
.site-footer--premium .gas-footer-nav__list {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 8px 10px !important;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

.site-footer--premium .gas-footer-nav__list li {
  margin: 0 !important;
  padding: 0 !important;
}

.site-footer--premium .gas-footer-nav__list a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 8px 12px;
  border: 1px solid rgba(239,213,143,.14);
  color: rgba(246,240,230,.8) !important;
  font-size: .77rem !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
  text-decoration: none !important;
  transition: border-color 180ms ease, color 180ms ease, background 180ms ease;
}

.site-footer--premium .gas-footer-nav__list a:hover {
  border-color: rgba(239,213,143,.5);
  background: rgba(211,170,92,.07);
  color: #fff !important;
}

.gas-footer-status {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 1px;
  background: rgba(218,179,103,.16);
  border: 1px solid rgba(218,179,103,.16);
}

.gas-footer-status > div {
  min-width: 0;
  padding: 16px 14px 15px;
  background: #120e0b;
}

.gas-footer-status strong {
  display: block;
  color: var(--gas-footer-gold-soft) !important;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 1.4rem;
  font-weight: 400;
  line-height: 1;
}

.gas-footer-status span {
  display: block;
  margin-top: 8px;
  color: rgba(246,240,230,.54) !important;
  font-size: .59rem;
  font-weight: 800;
  line-height: 1.35;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.gas-footer-contacts {
  padding: clamp(42px, 4.4vw, 68px) 0 clamp(52px, 5.6vw, 86px) !important;
}

.gas-footer-section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 30px;
}

.gas-footer-section-heading h3 {
  margin: 0 !important;
  color: var(--gas-footer-ivory) !important;
  font-family: Georgia, 'Times New Roman', serif !important;
  font-size: clamp(2rem, 3vw, 3.55rem) !important;
  font-weight: 400 !important;
  line-height: .98 !important;
  letter-spacing: -.035em !important;
}

.site-footer--premium .gas-footer-section-heading > a {
  flex: 0 0 auto;
  padding-bottom: 5px;
  border-bottom: 1px solid rgba(211,170,92,.5);
  color: var(--gas-footer-gold-soft) !important;
  font-size: .68rem !important;
  font-weight: 800 !important;
  letter-spacing: .12em;
  text-transform: uppercase;
  text-decoration: none !important;
}

.gas-footer-directory {
  display: grid;
  grid-template-columns: repeat(5, minmax(0,1fr));
  gap: 10px;
}

.gas-footer-base {
  position: relative;
  min-width: 0;
  min-height: 164px;
  padding: 18px 18px 16px;
  overflow: hidden;
  border: 1px solid rgba(218,179,103,.15);
  background:
    linear-gradient(145deg, rgba(255,255,255,.055), rgba(255,255,255,.018) 55%),
    rgba(255,255,255,.015);
  box-shadow: none !important;
  transition: transform 220ms ease, border-color 220ms ease, background 220ms ease;
  transition-delay: var(--gas-footer-delay, 0ms);
}

.gas-footer-base::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  transform: scaleX(0);
  transform-origin: left;
  background: linear-gradient(90deg, var(--gas-footer-gold), transparent);
  transition: transform 260ms ease;
}

.gas-footer-base:hover {
  transform: translateY(-3px);
  border-color: rgba(218,179,103,.38);
  background: rgba(211,170,92,.055);
}

.gas-footer-base:hover::after {
  transform: scaleX(1);
}

.gas-footer-base__top {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: flex-start;
}

.gas-footer-base__code {
  display: block;
  margin-bottom: 7px;
  color: var(--gas-footer-gold) !important;
  font-size: .59rem;
  font-weight: 900;
  line-height: 1;
  letter-spacing: .18em;
}

.gas-footer-base h4 {
  margin: 0 !important;
  color: var(--gas-footer-ivory) !important;
  font-size: .98rem !important;
  font-weight: 700 !important;
  line-height: 1.18 !important;
}

.site-footer--premium .gas-footer-base__open {
  display: inline-grid;
  place-items: center;
  flex: 0 0 30px;
  width: 30px;
  height: 30px;
  border: 1px solid rgba(218,179,103,.18);
  color: var(--gas-footer-gold-soft) !important;
  font-size: .84rem !important;
  text-decoration: none !important;
}

.gas-footer-base__details {
  margin-top: 24px;
}

.site-footer--premium .gas-footer-base__mail {
  display: block;
  max-width: 100%;
  margin-bottom: 10px;
  overflow: hidden;
  color: rgba(246,240,230,.56) !important;
  font-size: .69rem !important;
  line-height: 1.35 !important;
  text-overflow: ellipsis;
  text-decoration: none !important;
  white-space: nowrap;
}

.gas-footer-base__phones {
  display: grid;
  gap: 4px;
}

.site-footer--premium .gas-footer-base__phones a {
  width: max-content;
  max-width: 100%;
  color: rgba(246,240,230,.88) !important;
  font-size: .76rem !important;
  font-weight: 650 !important;
  line-height: 1.35 !important;
  text-decoration: none !important;
  white-space: nowrap;
}

.site-footer--premium .gas-footer-base__phones a:hover,
.site-footer--premium .gas-footer-base__mail:hover {
  color: var(--gas-footer-gold-soft) !important;
}

/* Optional WordPress footer widgets. If active, they replace the automatic directory. */
.gas-footer-widgets {
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 12px;
}

.gas-footer-widget-column {
  min-width: 0;
}

.site-footer--premium .footer-widget {
  height: 100%;
  margin: 0 !important;
  padding: 22px !important;
  border: 1px solid rgba(218,179,103,.16) !important;
  border-radius: 0 !important;
  background: rgba(255,255,255,.025) !important;
  box-shadow: none !important;
}

.site-footer--premium .footer-widget-title,
.site-footer--premium .footer-widget h2,
.site-footer--premium .footer-widget h3,
.site-footer--premium .footer-widget h4 {
  margin: 0 0 14px !important;
  color: var(--gas-footer-ivory) !important;
  font-family: Georgia, 'Times New Roman', serif !important;
  font-size: 1.3rem !important;
  font-weight: 400 !important;
}

.site-footer--premium .footer-widget p,
.site-footer--premium .footer-widget li,
.site-footer--premium .footer-widget a {
  overflow-wrap: anywhere;
  color: rgba(246,240,230,.67) !important;
  font-size: .79rem !important;
  line-height: 1.6 !important;
}

.site-footer--premium .footer-widget a:hover {
  color: var(--gas-footer-gold-soft) !important;
}

.gas-footer-meta {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  padding: 20px 0;
  border-top: 1px solid rgba(218,179,103,.14);
  border-bottom: 1px solid rgba(218,179,103,.14);
}

.gas-footer-meta__links,
.gas-footer-meta__social {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
}

.site-footer--premium .gas-footer-meta a {
  color: rgba(246,240,230,.56) !important;
  font-size: .68rem !important;
  font-weight: 700 !important;
  line-height: 1.35 !important;
  letter-spacing: .07em;
  text-decoration: none !important;
  text-transform: uppercase;
}

.site-footer--premium .gas-footer-meta a:hover {
  color: var(--gas-footer-gold-soft) !important;
}

.site-footer--premium .site-footer__bottom {
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin: 0 !important;
  padding: 22px 0 0 !important;
  border: 0 !important;
}

.site-footer--premium .site-info,
.site-footer--premium .gas-footer-signoff {
  margin: 0 !important;
  color: rgba(246,240,230,.38) !important;
  font-size: .64rem !important;
  font-weight: 700 !important;
  line-height: 1.4 !important;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.site-footer--premium .gas-footer-signoff {
  color: rgba(211,170,92,.62) !important;
}

/* Theme-managed primary-menu footer anchor. */
.main-navigation .gas-menu-base-contacts > a {
  color: #8f6a32 !important;
}

@media (min-width: 1241px) and (max-width: 1500px) {
  .gas-footer-hero__inner {
    grid-template-columns: minmax(0, 1.15fr) minmax(330px, .72fr);
    gap: 50px;
  }

  .gas-footer-directory {
    grid-template-columns: repeat(5, minmax(0,1fr));
  }

  .gas-footer-base {
    min-height: 154px;
    padding: 16px 15px 14px;
  }

  .site-footer--premium .gas-footer-base__phones a {
    font-size: .7rem !important;
  }
}

@media (max-width: 1240px) {
  #base-contacts {
    scroll-margin-top: 94px;
  }

  .site-footer--premium .gas-container,
  .site-footer--premium .site-footer__shell {
    width: min(100% - 38px, 1120px) !important;
  }

  .gas-footer-hero__inner {
    grid-template-columns: minmax(0,1fr) minmax(300px,.7fr);
    gap: 36px;
    padding-block: 72px !important;
  }

  .gas-footer-hero__copy h2 {
    font-size: clamp(3rem, 6.6vw, 5.2rem) !important;
  }

  .gas-footer-overview {
    grid-template-columns: 1fr 1.25fr;
  }

  .gas-footer-status {
    grid-column: 1 / -1;
  }

  .gas-footer-directory {
    grid-template-columns: repeat(2, minmax(0,1fr));
  }

  .gas-footer-widgets {
    grid-template-columns: repeat(2, minmax(0,1fr));
  }
}

@media (max-width: 760px) {
  #base-contacts {
    scroll-margin-top: 80px;
  }

  .site-footer--premium .gas-container,
  .site-footer--premium .site-footer__shell {
    width: calc(100% - 28px) !important;
  }

  .gas-footer-hero__inner {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 34px;
    padding-block: 58px !important;
  }

  .gas-footer-hero__copy h2 {
    max-width: 11ch;
    font-size: clamp(2.85rem, 14vw, 4.5rem) !important;
  }

  .gas-footer-hero__copy > p:last-child {
    margin-top: 20px !important;
    font-size: .96rem !important;
  }

  .gas-footer-hero__actions {
    width: 100%;
  }

  .gas-footer-btn {
    min-height: 58px;
  }

  .gas-footer-overview {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 38px 0 34px;
  }

  .gas-footer-status {
    grid-column: auto;
  }

  .gas-footer-section-heading {
    align-items: flex-start;
    flex-direction: column;
    margin-bottom: 24px;
  }

  .gas-footer-directory,
  .gas-footer-widgets {
    grid-template-columns: 1fr;
  }

  .gas-footer-base {
    min-height: 0;
    padding: 17px 16px;
  }

  .gas-footer-base__details {
    margin-top: 18px;
  }

  .gas-footer-meta,
  .site-footer--premium .site-footer__bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .gas-footer-meta {
    gap: 18px;
  }

  .gas-footer-meta__links,
  .gas-footer-meta__social {
    gap: 8px 16px;
  }
}

@media (max-width: 420px) {
  .site-footer--premium .gas-container,
  .site-footer--premium .site-footer__shell {
    width: calc(100% - 20px) !important;
  }

  .gas-footer-hero__inner {
    padding-block: 48px !important;
  }

  .gas-footer-hero__copy h2 {
    font-size: clamp(2.5rem, 13vw, 3.5rem) !important;
  }

  .gas-footer-btn {
    min-height: 56px;
    padding-inline: 15px !important;
    font-size: .7rem !important;
  }

  .gas-footer-btn--ghost span:last-child {
    font-size: .66rem;
  }

  .gas-footer-status > div {
    padding-inline: 10px;
  }

  .gas-footer-status span {
    font-size: .52rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .site-footer--premium *,
  .site-footer--premium *::before,
  .site-footer--premium *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }
}
