/* Oura Travel site footer. Tokens follow the active "Oura Travel Teal Route" design. */

.oa-footer {
  --oa-ink: #111B19;
  --oa-accent: #00BB98;
  --oa-accent-dark: #05977C;
  --oa-accent-deep: #046B58;
  --oa-gold: #FBB102;
  --oa-whatsapp: #25D366;
  --oa-heading: "Poppins", "Jost", "Segoe UI", system-ui, sans-serif;
  --oa-text: "Montserrat", "Poppins", "Segoe UI", system-ui, sans-serif;
  --oa-on-dark: rgba(255, 255, 255, 0.76);
  --oa-on-dark-muted: rgba(255, 255, 255, 0.52);
  --oa-hair: rgba(255, 255, 255, 0.12);

  position: relative;
  isolation: isolate;
  display: flow-root;
  margin: 0;
  padding: 0 0 28px;
  background: var(--oa-ink);
  color: var(--oa-on-dark);
  font-family: var(--oa-text);
  font-size: 15px;
  line-height: 1.6;
}

.oa-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background: var(--oa-img) center 40% / cover no-repeat;
  opacity: 0.28;
}

.oa-footer::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(17, 27, 25, 0.35) 0%, rgba(17, 27, 25, 0.9) 42%, var(--oa-ink) 100%);
}

.oa-footer__shell {
  display: flow-root;
  width: min(1200px, 100% - 40px);
  margin: 0 auto;
}

.oa-footer a { color: inherit; text-decoration: none; transition: color 0.2s, border-color 0.2s, transform 0.2s; }

/* ------------------------------------------------------------------ */
/* Call to action card, lifted across the top edge of the footer        */
/* ------------------------------------------------------------------ */
.oa-footer__cta {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) auto;
  align-items: center;
  gap: 28px 40px;
  margin: -72px 0 0;
  padding: 40px clamp(24px, 4vw, 52px);
  border-radius: 26px;
  background: linear-gradient(135deg, var(--oa-accent) 0%, var(--oa-accent-deep) 100%);
  box-shadow: 0 24px 60px rgba(0, 187, 152, 0.28), 0 2px 6px rgba(17, 27, 25, 0.2);
  color: #FFFFFF;
}

.oa-footer .oa-footer__cta-title {
  margin: 0 0 8px !important;
  font-family: var(--oa-heading) !important;
  font-weight: 600 !important;
  font-size: clamp(24px, 2.6vw, 34px) !important;
  line-height: 1.1 !important;
  letter-spacing: -0.01em;
  color: #FFFFFF !important;
}

.oa-footer .oa-footer__cta-copy {
  margin: 0 !important;
  font-size: 16px !important;
  color: rgba(255, 255, 255, 0.88) !important;
}

.oa-footer__cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.oa-footer .oa-fbtn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 24px;
  border-radius: 999px;
  font-family: var(--oa-heading);
  font-weight: 600;
  font-size: 15px;
  line-height: 1;
  white-space: nowrap;
  transition: transform 0.2s, box-shadow 0.2s;
}

.oa-footer .oa-fbtn:hover { transform: translateY(-3px); }

.oa-footer .oa-fbtn--whatsapp { background: var(--oa-whatsapp); color: var(--oa-ink) !important; box-shadow: 0 10px 24px rgba(37, 211, 102, 0.32); }
.oa-footer .oa-fbtn--light { background: #FFFFFF; color: var(--oa-accent-deep) !important; box-shadow: 0 10px 24px rgba(17, 27, 25, 0.18); }

.oa-footer .oa-fbtn:focus-visible { outline: none; box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.5); }

/* ------------------------------------------------------------------ */
/* Columns                                                              */
/* ------------------------------------------------------------------ */
.oa-footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.35fr);
  gap: 40px 36px;
  padding: 72px 0 0;
}

.oa-footer__logo {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.oa-footer__mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #FFFFFF;
  box-shadow: 0 8px 20px rgba(17, 27, 25, 0.35);
  flex: 0 0 auto;
}

.oa-footer__mark img { width: 40px; height: 40px; display: block; }

.oa-footer__wordmark {
  display: flex;
  flex-direction: column;
  font-family: var(--oa-heading);
  font-weight: 600;
  font-size: 22px;
  line-height: 1.1;
  color: #FFFFFF;
}

.oa-footer__wordmark small {
  margin-top: 4px;
  font-family: var(--oa-text);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--oa-gold);
}

.oa-footer .oa-footer__about {
  max-width: 34ch;
  margin: 20px 0 22px !important;
  font-size: 15px !important;
  line-height: 1.65 !important;
  color: var(--oa-on-dark) !important;
}

.oa-footer__social {
  display: flex;
  gap: 10px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.oa-footer__social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--oa-hair);
  border-radius: 50%;
  color: #FFFFFF;
  transition: background-color 0.2s, border-color 0.2s, transform 0.2s;
}

.oa-footer__social a:hover { background: var(--oa-accent); border-color: var(--oa-accent); color: var(--oa-ink); transform: translateY(-3px); }

.oa-footer .oa-footer__h {
  margin: 6px 0 18px !important;
  font-family: var(--oa-heading) !important;
  font-weight: 600 !important;
  font-size: 15px !important;
  line-height: 1.2 !important;
  color: #FFFFFF !important;
}

.oa-footer .oa-footer__links,
.oa-footer .oa-footer__contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 11px;
}

.oa-footer .oa-footer__links li { margin: 0; padding: 0; }

.oa-footer .oa-footer__links a {
  display: inline-block;
  font-size: 15px;
  color: var(--oa-on-dark);
  border-bottom: 1px solid transparent;
}

.oa-footer .oa-footer__links a:hover { color: #FFFFFF; border-color: var(--oa-accent); }

.oa-footer .oa-footer__contact-list li {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  font-size: 15px;
  line-height: 1.55;
  color: var(--oa-on-dark);
}

.oa-footer .oa-footer__contact-list svg { margin-top: 3px; color: var(--oa-accent); }

.oa-footer .oa-footer__contact-list a { color: #FFFFFF; border-bottom: 1px solid transparent; }
.oa-footer .oa-footer__contact-list a:hover { border-color: var(--oa-accent); }

/* ------------------------------------------------------------------ */
/* Legal + bottom bar                                                   */
/* ------------------------------------------------------------------ */
.oa-footer .oa-footer__legal {
  max-width: 100ch;
  margin: 56px 0 0 !important;
  padding: 28px 0 0;
  border-top: 1px solid var(--oa-hair);
  font-size: 12.5px !important;
  line-height: 1.65 !important;
  color: var(--oa-on-dark-muted) !important;
}

.oa-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 10px 24px;
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid var(--oa-hair);
}

.oa-footer .oa-footer__copy,
.oa-footer .oa-footer__secure {
  margin: 0 !important;
  font-size: 13px !important;
  color: var(--oa-on-dark-muted) !important;
}

.oa-footer .oa-footer__secure { display: inline-flex; align-items: center; gap: 8px; }
.oa-footer .oa-footer__secure svg { color: var(--oa-accent); }

/* ------------------------------------------------------------------ */
/* Responsive                                                           */
/* ------------------------------------------------------------------ */
@media (max-width: 1100px) {
  .oa-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 32px; }
  .oa-footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 900px) {
  .oa-footer__cta { grid-template-columns: 1fr; }
}

@media (max-width: 767px) {
  .oa-footer__cta { margin-top: -56px; padding: 28px 22px; border-radius: 18px; }
  .oa-footer .oa-fbtn { width: 100%; }
  .oa-footer__cta-actions { width: 100%; }
  .oa-footer__grid { grid-template-columns: 1fr; gap: 32px; padding-top: 56px; }
  .oa-footer .oa-footer__legal { margin-top: 40px !important; }
  .oa-footer__bottom { flex-direction: column; align-items: flex-start; padding-right: 72px; }
}

@media (min-width: 768px) and (max-width: 1100px) {
  .oa-footer__bottom { padding-right: 72px; }
}
/* Tap targets: contact links are at least 24px tall with breathing room (WCAG 2.2, 2.5.8). */
.oa-footer .oa-footer__contact-list a { display: inline-block; padding: 3px 0; min-height: 24px; line-height: 1.5; }
.oa-footer .oa-footer__contact-list span > a + br + a { margin-top: 2px; }
