:root {
  --maha-footer-ink: #041a28;
  --maha-footer-deep: #020d17;
  --maha-footer-blue: #0d4166;
  --maha-footer-ivory: #f8f3e9;
  --maha-footer-mist: #b9cbd2;
  --maha-footer-laterite: #c65a3a;
  --maha-footer-brass: #e2b96f;
}

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

.maha-footer {
  position: relative;
  overflow: hidden;
  margin: 0;
  color: var(--maha-footer-ivory);
  background: var(--maha-footer-deep);
  font-family: "Inter", sans-serif;
}

.maha-footer::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  z-index: 4;
  height: 5px;
  background: repeating-linear-gradient(90deg, #f8f3e9 0 16px, #246b99 16px 32px, #f8f3e9 32px 48px, #c65a3a 48px 64px);
}

.maha-footer-shell {
  position: relative;
  z-index: 2;
  width: min(1480px, calc(100% - 56px));
  margin: 0 auto;
}

.maha-footer-scene {
  position: relative;
  min-height: 720px;
  display: flex;
  align-items: end;
  isolation: isolate;
  scroll-margin-top: 90px;
  background: var(--maha-footer-deep);
}

.maha-footer-scene::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background: url("/assets/mahaexpo-footer-goa-seamless-panorama-v4-1600.webp") center center / cover no-repeat;
  filter: saturate(1.02) contrast(1.035) brightness(1.04);
  transform: scale(1.001);
}

.maha-footer-scene::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(2, 13, 23, .92) 0%, rgba(2, 13, 23, .72) 28%, rgba(2, 13, 23, .2) 57%, rgba(2, 13, 23, .06) 100%),
    linear-gradient(180deg, rgba(2, 13, 23, .02) 0%, rgba(2, 13, 23, .1) 51%, rgba(2, 13, 23, .86) 100%);
}

.maha-footer-scene-content {
  width: min(680px, 100%);
  padding: 128px 0 34px;
}

.maha-footer-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  color: var(--maha-footer-brass);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .17em;
  text-transform: uppercase;
}

.maha-footer-kicker::before {
  content: "";
  width: 30px;
  height: 1px;
  background: currentColor;
}

.maha-footer-scene h2 {
  max-width: 15ch;
  margin: 0;
  color: #fff;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(2.55rem, 4.25vw, 4.35rem);
  font-weight: 700;
  letter-spacing: -.045em;
  line-height: .94;
}

.maha-footer-scene p {
  max-width: 58ch;
  margin: 22px 0 0;
  color: rgba(235, 243, 244, .75);
  font-size: 14px;
  line-height: 1.75;
}

.maha-footer-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.maha-footer-action {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 4px 16px 4px 16px;
  color: #fff;
  background: rgba(255, 255, 255, .07);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: .03em;
  text-decoration: none;
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
}

.maha-footer-action.is-primary {
  border-color: transparent;
  background: linear-gradient(135deg, #ff6b1f, #d60d1d);
  box-shadow: 0 14px 32px rgba(214, 13, 29, .24);
}

.maha-footer-action:hover {
  color: #fff;
  border-color: rgba(226, 185, 111, .7);
  background-color: rgba(255, 255, 255, .12);
  transform: translateY(-2px);
}

.maha-footer-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  margin-top: 38px;
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: 4px 18px 4px 18px;
  background: rgba(255, 255, 255, .12);
}

.maha-footer-facts span {
  padding: 15px 17px;
  background: rgba(4, 26, 40, .7);
  color: rgba(235, 243, 244, .58);
  font-size: 11px;
  line-height: 1.45;
}

.maha-footer-facts b {
  display: block;
  margin-bottom: 4px;
  color: #fff;
  font-size: 14px;
}

.maha-footer-route {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: center;
  gap: 28px;
  margin: 0 0 38px;
  padding: 15px 20px;
  border-top: 1px solid rgba(255, 255, 255, .24);
  border-bottom: 1px solid rgba(255, 255, 255, .16);
  background: linear-gradient(90deg, rgba(2, 13, 23, .72), rgba(2, 13, 23, .36) 58%, rgba(2, 13, 23, .18));
  box-shadow: 0 22px 60px rgba(0, 0, 0, .16);
  backdrop-filter: blur(10px);
}

.maha-footer-route::before {
  content: "";
  position: absolute;
  left: 30px;
  right: 30px;
  top: 26px;
  height: 1px;
  background: linear-gradient(90deg, rgba(226, 185, 111, .7), rgba(255, 255, 255, .28), rgba(226, 185, 111, .7));
}

.maha-footer-route-stop {
  position: relative;
  min-width: 0;
  display: grid;
  grid-template-columns: 14px auto;
  grid-template-rows: auto auto;
  column-gap: 10px;
  align-items: center;
}

.maha-footer-route-stop:nth-child(2) { justify-self: center; }
.maha-footer-route-stop:nth-child(3) { justify-self: end; }

.maha-footer-route-stop::before {
  content: "";
  z-index: 1;
  grid-row: 1 / 3;
  width: 9px;
  height: 9px;
  border: 2px solid var(--maha-footer-brass);
  border-radius: 50%;
  background: var(--maha-footer-deep);
  box-shadow: 0 0 0 4px rgba(226, 185, 111, .1);
}

.maha-footer-route-stop span {
  z-index: 1;
  color: var(--maha-footer-brass);
  font-size: 8px;
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.maha-footer-route-stop strong {
  z-index: 1;
  color: #fff;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 18px;
  line-height: 1;
}

.maha-footer-main {
  position: relative;
  padding: 58px 0 24px;
  background:
    radial-gradient(circle at 8% 16%, rgba(36, 107, 153, .18), transparent 24%),
    linear-gradient(145deg, #041a28, #020d17 72%);
}

.maha-footer-main::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .08;
  pointer-events: none;
  background-image:
    linear-gradient(45deg, transparent 46%, #fff 47% 53%, transparent 54%),
    linear-gradient(-45deg, transparent 46%, #fff 47% 53%, transparent 54%);
  background-size: 22px 22px;
  mask-image: linear-gradient(90deg, #000, transparent 38%);
}

.maha-footer-grid {
  display: grid;
  grid-template-columns: 1.25fr .7fr .8fr 1.35fr;
  gap: clamp(28px, 4vw, 58px);
  align-items: start;
}

.maha-footer-mobile-actions {
  display: none;
}

.maha-footer-disclosure details {
  margin: 0;
}

.maha-footer-disclosure summary {
  margin: 5px 0 18px;
  color: var(--maha-footer-brass);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .16em;
  line-height: 1.35;
  text-transform: uppercase;
  cursor: pointer;
  list-style: none;
}

.maha-footer-disclosure summary::-webkit-details-marker {
  display: none;
}

.maha-footer-brand-card {
  max-width: 340px;
}

.maha-footer-logo-shell {
  min-height: 88px;
  width: 222px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 17px;
  border-radius: 3px 18px 3px 18px;
  background: #fff;
  box-shadow: 0 18px 46px rgba(0, 0, 0, .3), 0 0 0 1px rgba(255, 255, 255, .78), 0 0 30px rgba(255, 255, 255, .12);
}

.maha-footer-logo-shell img {
  display: block;
  max-width: 100%;
  height: 67px;
  object-fit: contain;
  filter: saturate(1.08) contrast(1.08);
}

.maha-footer-brand-card p {
  margin: 18px 0 0;
  color: var(--maha-footer-mist);
  font-size: 13px;
  line-height: 1.7;
}

.maha-footer-social {
  display: flex;
  gap: 8px;
  margin-top: 20px;
}

.maha-footer-social a {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 50%;
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  text-decoration: none;
}

.maha-footer-social svg {
  width: 19px;
  height: 19px;
  display: block;
  fill: currentColor;
}

.maha-footer-column h3,
.maha-footer-concierge h3 {
  margin: 5px 0 18px;
  color: var(--maha-footer-brass);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.maha-footer-links {
  margin: 0;
  padding: 0;
  display: grid;
  gap: 2px;
  list-style: none;
}

.maha-footer-links a {
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  color: var(--maha-footer-mist);
  font-size: 13px;
  text-decoration: none;
}

.maha-footer-links a::after {
  content: "↗";
  color: rgba(226, 185, 111, .45);
}

.maha-footer-links a:hover {
  color: #fff;
}

.maha-footer-concierge {
  padding: 24px;
  border: 1px solid rgba(226, 185, 111, .22);
  border-radius: 4px 22px 4px 22px;
  background: linear-gradient(145deg, rgba(13, 65, 102, .66), rgba(2, 13, 23, .84));
  box-shadow: 0 24px 55px rgba(0, 0, 0, .22);
}

.maha-footer-concierge > p {
  margin: 0 0 17px;
  color: var(--maha-footer-mist);
  font-size: 12px;
  line-height: 1.65;
}

.maha-footer-contact-list {
  display: grid;
  gap: 7px;
}

.maha-footer-contact-list a {
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.maha-footer-contact-list a span:first-child {
  color: rgba(226, 185, 111, .75);
  font-size: 10px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.maha-footer-map {
  min-height: 46px;
  margin-top: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0 15px;
  border-radius: 3px 14px 3px 14px;
  color: #fff;
  background: var(--maha-footer-laterite);
  font-size: 12px;
  font-weight: 850;
  text-decoration: none;
}

.maha-footer-bottom {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 46px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, .1);
  color: rgba(185, 203, 210, .58);
  font-size: 11px;
}

.maha-footer a:focus-visible {
  outline: 3px solid var(--maha-footer-brass);
  outline-offset: 3px;
}

@media (max-width: 1020px) {
  .maha-footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .maha-footer-brand-card {
    max-width: none;
  }
}

@media (max-width: 680px) {
  .maha-footer-shell {
    width: min(100% - 28px, 1480px);
  }

  .maha-footer-scene {
    min-height: 760px;
  }

  .maha-footer-scene::before {
    background-position: 58% center;
    background-size: cover;
  }

  .maha-footer-scene::after {
    background:
      linear-gradient(180deg, rgba(2, 13, 23, .14), rgba(2, 13, 23, .63) 46%, rgba(2, 13, 23, .94)),
      linear-gradient(90deg, rgba(2, 13, 23, .54), rgba(2, 13, 23, .08));
  }

  .maha-footer-scene-content {
    padding: 92px 0 36px;
  }

  .maha-footer-scene h2 {
    max-width: 12ch;
    font-size: clamp(2.75rem, 13vw, 4.2rem);
  }

  .maha-footer-actions,
  .maha-footer-grid,
  .maha-footer-facts {
    grid-template-columns: 1fr;
  }

  .maha-footer-route {
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
    padding: 15px 17px;
  }

  .maha-footer-route::before {
    left: 23px;
    right: auto;
    top: 24px;
    bottom: 24px;
    width: 1px;
    height: auto;
    background: linear-gradient(180deg, rgba(226, 185, 111, .7), rgba(255, 255, 255, .24), rgba(226, 185, 111, .7));
  }

  .maha-footer-route-stop {
    width: 100%;
    justify-self: auto !important;
  }

  .maha-footer-route-stop strong {
    font-size: 17px;
  }

  .maha-footer-logo-shell {
    width: 154px;
    min-height: 64px;
    padding: 6px 10px;
  }

  .maha-footer-logo-shell img {
    height: 48px;
  }

  .maha-footer-actions {
    display: grid;
  }

  .maha-footer-action {
    width: 100%;
  }

  .maha-footer-main {
    padding-top: 32px;
  }

  .maha-footer-grid {
    gap: 12px;
  }

  .maha-footer-brand-card p {
    margin-top: 12px;
    font-size: 12px;
    line-height: 1.55;
  }

  .maha-footer-social {
    margin-top: 14px;
  }

  .maha-footer-social a {
    width: 38px;
    height: 38px;
  }

  .maha-footer-mobile-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin: 10px 0 4px;
  }

  .maha-footer-mobile-actions a {
    min-height: 44px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: 4px 13px 4px 13px;
    color: #fff;
    font-size: 12px;
    font-weight: 850;
    text-decoration: none;
  }

  .maha-footer-mobile-actions a:first-child {
    border-color: transparent;
    background: linear-gradient(135deg, #ff6b1f, #d60d1d);
  }

  .maha-footer-disclosure {
    border: 1px solid rgba(255, 255, 255, .11);
    border-radius: 3px 13px 3px 13px;
    background: rgba(255, 255, 255, .035);
  }

  .maha-footer-disclosure summary {
    min-height: 50px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 0;
    padding: 0 15px;
    color: #fff;
    font-size: 12px;
    letter-spacing: .06em;
    scroll-margin-top: 88px;
  }

  .maha-footer-disclosure summary::after {
    content: "+";
    color: var(--maha-footer-brass);
    font-size: 20px;
    font-weight: 500;
  }

  .maha-footer-disclosure details[open] summary {
    border-bottom: 1px solid rgba(255, 255, 255, .1);
  }

  .maha-footer-disclosure details[open] summary::after {
    content: "−";
  }

  .maha-footer-disclosure .maha-footer-links {
    padding: 4px 15px 10px;
  }

  .maha-footer-disclosure .maha-footer-links a {
    min-height: 39px;
    font-size: 12px;
  }

  .maha-footer-concierge {
    padding: 0;
    box-shadow: none;
  }

  .maha-footer-concierge-content {
    padding: 0 15px 15px;
  }

  .maha-footer-concierge > p {
    margin: 0 0 14px;
  }

  .maha-footer-map {
    margin-top: 12px;
  }

  .maha-footer-bottom {
    gap: 7px;
    margin-top: 22px;
    padding-top: 15px;
  }

  .maha-footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }

}

@media (prefers-reduced-motion: reduce) {
  .maha-footer * {
    transition-duration: .01ms !important;
  }
}
