@import url('/assets/vendor/fontawesome/css/all.min.css');

.oceidon-global-footer {
  position: relative;
  z-index: 2;
  margin: 0;
  padding: 96px 0 22px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(3, 35, 43, .76), rgba(3, 37, 44, .88)),
    url('/assets/images/oceidon/home/brand/footer-bg.jpg') center / cover no-repeat;
  color: #fff;
}

.oceidon-home-sea .oceidon-global-footer {
  margin-top: 0;
  padding-top: 96px;
}

.oceidon-global-footer::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: '';
  background:
    radial-gradient(circle at 50% 100%, rgba(95, 206, 192, .18), transparent 40%),
    linear-gradient(90deg, rgba(3, 34, 42, .22), transparent 44%, rgba(3, 34, 42, .2));
  pointer-events: none;
}

.oceidon-global-footer .oceidon-footer-section {
  position: relative;
  z-index: 1;
  padding: 0;
  background: transparent !important;
}

.oceidon-global-footer__container {
  width: min(1380px, calc(100% - 40px));
  margin-inline: auto;
}

/*
 * The homepage's final header pass lives in oceidon-home.css because that
 * page has legacy page styles loaded after the base site CSS. Keep the
 * same final pass here as well so internal pages render the exact homepage
 * header instead of inheriting the older beige/typographic variant.
 */
.site-header {
  font-family: var(--sans, 'Poppins', Arial, sans-serif);
  font-size: 16px;
  line-height: 1.625;
}

.site-header .nav-list {
  min-width: 0;
  list-style: none;
}

.site-header .nav-item { position: relative; }

.site-header .dropdown {
  top: calc(100% + 10px);
  left: 0;
  width: 258px;
  height: auto;
  min-height: 0;
  margin: 0;
  display: grid;
  overflow: visible;
}

@media (min-width: 1051px) {
  .site-header:not(.is-sticky) .nav-link,
  .site-header:not(.is-sticky) .nav-toggle {
    color: #fff !important;
    text-shadow: 0 1px 14px rgba(0, 20, 27, .48);
  }

  .site-header.is-sticky .nav-link,
  .site-header.is-sticky .nav-toggle {
    color: var(--oceidon-ink, #1c2d31) !important;
    text-shadow: none;
  }
}

.site-header .nav-link:hover,
.site-header .nav-link:focus-visible,
.site-header .nav-toggle:hover,
.site-header .nav-toggle:focus-visible {
  color: #78e4dc !important;
}

.site-header.is-sticky .nav-link:hover,
.site-header.is-sticky .nav-link:focus-visible,
.site-header.is-sticky .nav-toggle:hover,
.site-header.is-sticky .nav-toggle:focus-visible {
  color: var(--oceidon-kelor, #12a0a0) !important;
}

.site-header .dropdown :is(a, button) {
  color: var(--oceidon-ink, #1c2d31) !important;
  text-shadow: none;
  display: flex;
  align-items: center;
  min-height: 44px;
}

.site-header .dropdown :is(a, button):hover,
.site-header .dropdown :is(a, button):focus-visible {
  color: #076f70 !important;
}

.site-header .dropdown a[aria-current="page"] {
  background: rgba(18,160,160,.12);
  color: #076f70 !important;
}

.site-header :is(.nav-link, .nav-toggle, .dropdown a, .dropdown button, .header-cta):focus-visible {
  outline: 3px solid #78e4dc;
  outline-offset: 3px;
}

.site-header .header-cta {
  min-height: 44px;
  padding: 11px 19px;
  border: 1px solid var(--oceidon-ink, #1c2d31) !important;
  border-radius: 999px;
  background: var(--oceidon-ink, #1c2d31) !important;
  color: #fff !important;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.5;
}

.site-header .header-cta:hover,
.site-header .header-cta:focus-visible {
  border-color: var(--oceidon-ink, #1c2d31) !important;
  background: #fff !important;
  color: var(--oceidon-ink, #1c2d31) !important;
}

.site-header .language-switch {
  box-sizing: border-box;
  position: relative;
  display: inline-grid;
  grid-template-columns: repeat(2, 44px);
  align-items: center;
  justify-content: center;
  width: 96px;
  height: 52px;
  padding: 4px;
  border: 1px solid rgba(16, 44, 49, .22);
  background: rgba(255, 255, 255, .18);
  line-height: 1;
  border-radius: 999px;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

/* Bubble animasi — default di kolom 1 (EN) */
.site-header .language-switch::after {
  content: "";
  position: absolute;
  top: 4px;
  left: 4px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 3px 10px rgba(2, 22, 28, 0.22);
  transform: translateX(0);
  transition: transform 260ms cubic-bezier(.34, 1.56, .64, 1), background-color 220ms ease, box-shadow 220ms ease;
  z-index: 0;
  pointer-events: none;
}

/* Saat ID (child ke-2) aktif → bubble geser ke kolom 2 */
.site-header .language-switch:has(:nth-child(2)[aria-current])::after {
  transform: translateX(48px);
}
/* Saat EN (child ke-1) aktif → tetap kolom 1 (eksplisit) */
.site-header .language-switch:has(:nth-child(1)[aria-current])::after {
  transform: translateX(0);
}

.site-header .language-switch :is(a, span) {
  position: relative;
  z-index: 1;
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  padding: 0;
  border-radius: 50%;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
  background: transparent;
  transition: color 220ms ease, opacity 220ms ease;
}

/* Aktif: teks gelap (di atas bubble putih) */
.site-header .language-switch :is(a, span)[aria-current] {
  color: var(--oceidon-ink, #1c2d31);
  opacity: 1;
}

/* Non-aktif: putih redup (header gelap, di atas backdrop) */
.site-header .language-switch :is(a, span)[aria-disabled="true"],
.site-header .language-switch :is(a, span):not([aria-current]) {
  color: rgba(255, 255, 255, 0.62);
  opacity: 0.85;
}

/* Hover opsi non-aktif yang dapat diklik */
.site-header .language-switch a:not([aria-current]):hover {
  color: #fff;
  opacity: 1;
}

/* === Header sticky (latar terang, scroll) — balikkan kontras === */
.site-header.is-sticky .language-switch {
  background: rgba(28, 45, 49, 0.08);
  border-color: rgba(28, 45, 49, 0.18);
}
.site-header.is-sticky .language-switch::after {
  background: var(--oceidon-ink, #1c2d31);
  box-shadow: 0 3px 10px rgba(28, 45, 49, 0.28);
}
.site-header.is-sticky .language-switch :is(a, span)[aria-current] {
  color: #fff;
}
.site-header.is-sticky .language-switch :is(a, span)[aria-disabled="true"],
.site-header.is-sticky .language-switch :is(a, span):not([aria-current]) {
  color: rgba(28, 45, 49, 0.5);
}
.site-header.is-sticky .language-switch a:not([aria-current]):hover {
  color: var(--oceidon-ink, #1c2d31);
  opacity: 1;
}

/* Kompatibilitas: selector .sticky lama (jika dipakai) ikut pola yang sama */
.site-header.sticky .language-switch {
  background: rgba(28, 45, 49, 0.08);
  border-color: rgba(28, 45, 49, 0.18);
}
.site-header.sticky .language-switch::after {
  background: var(--oceidon-ink, #1c2d31);
  box-shadow: 0 3px 10px rgba(28, 45, 49, 0.28);
}
.site-header.sticky .language-switch :is(a, span)[aria-current] { color: #fff; }
.site-header.sticky .language-switch :is(a, span):not([aria-current]) { color: rgba(28, 45, 49, 0.5); }

/* Keep the full desktop navigation inside the floating shell before the
   existing oceidon-mobile-menu breakpoint takes over at 1050px. */
@media (min-width: 1051px) and (max-width: 1160px) {
  .site-header .header-shell {
    width: calc(100% - 24px);
    grid-template-columns: 128px minmax(0, 1fr) auto;
    gap: 8px;
    padding-inline: 14px 10px;
  }

  .site-header .brand img { width: 104px; }
  .site-header .nav-list { gap: 0; }
  .site-header .nav-list > li > :is(.nav-link, .nav-toggle) {
    padding-inline: 6px;
    font-size: .7rem;
  }
  .site-header .language-switch { display: none; }
  .site-header .header-actions { gap: 6px; }
  .site-header .header-cta { padding-inline: 13px; font-size: 10px; }
}

.site-header .nav-list > li > :is(.nav-link, .nav-toggle) {
  display: inline-flex !important;
  min-height: 44px;
  height: 44px;
  align-items: center !important;
  padding: 10px 11px;
  font-family: var(--sans, 'Poppins', Arial, sans-serif) !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  line-height: 1.2 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
}

.site-header .nav-list > li > .nav-toggle svg {
  width: 11px;
  height: 11px;
  flex: 0 0 11px;
  stroke-width: 2;
}

@media (min-width: 768px) and (max-width: 1050px) {
  .site-header,
  .site-header.is-sticky { inset: 10px 0 auto; }

  .site-header .header-shell {
    width: calc(100% - 24px);
    min-height: 66px;
    padding: 7px 10px 7px 16px;
    gap: 10px;
    border-radius: 19px;
  }

  .site-header .brand img { width: 108px; }
  .site-header .header-actions { gap: 7px; }
  .site-header .header-cta {
    display: inline-flex;
    min-height: 40px;
    padding: 9px 15px;
    font-size: 11px;
  }
  .site-header .menu-button { width: 40px; height: 40px; }
  .site-header .main-nav { inset: 84px 12px auto; }
}

@media (max-width: 1050px) {
  .site-header .header-shell {
    grid-template-columns: minmax(0, 1fr) auto !important;
  }

  .site-header .brand { grid-column: 1; }
  .site-header .header-actions {
    grid-column: 2;
    justify-self: end;
    width: auto;
  }
  .site-header .main-nav { grid-column: 1 / -1; }
  .site-header .main-nav :is(.nav-link, .nav-toggle) {
    color: var(--oceidon-ink, #1c2d31) !important;
    text-shadow: none;
  }
  .site-header .main-nav {
    z-index: 1001;
    isolation: isolate;
    background: #fff !important;
  }
  .site-header .nav-list > li > :is(.nav-link, .nav-toggle) {
    min-height: 46px;
    height: auto;
    width: 100%;
    padding: 12px;
    font-size: 15px !important;
  }
  /*
   * The homepage still carries a higher-specificity legacy dropdown rule.
   * Keep the shared shell authoritative at compact widths: every submenu
   * becomes a normal one-column accordion row instead of an absolute card
   * that can sit on top of the next top-level item.
   */
  .site-header .main-nav .dropdown {
    position: static !important;
    inset: auto !important;
    display: none !important;
    grid-template-columns: minmax(0, 1fr) !important;
    grid-auto-flow: row !important;
    gap: 4px !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
    height: auto !important;
    padding: 6px 0 10px !important;
    margin: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    box-shadow: none !important;
    transition: none !important;
  }
  .site-header .nav-item.is-open > .dropdown {
    display: grid !important;
  }
  .site-header .dropdown > :is(a, button) {
    position: static !important;
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    min-height: 44px !important;
    height: auto !important;
    margin: 0 !important;
    padding: 10px 14px !important;
    border-radius: 12px;
    box-sizing: border-box;
    line-height: 1.35 !important;
    text-align: left !important;
    white-space: normal !important;
  }
  .site-header .dropdown > hr {
    grid-column: 1 / -1;
    width: 100% !important;
    margin: 4px 0 !important;
  }
  .site-header .dropdown small {
    display: block;
    margin-top: 3px;
    line-height: 1.35;
  }
}

@media (max-width: 767px) {
  .site-header .header-shell { gap: 8px; }
  .site-header .brand img { width: 104px; }
  .site-header .header-actions { gap: 7px; }
  .site-header .header-cta { min-height: 44px; padding-inline: 15px; }
  .site-header .main-nav :is(.nav-link, .nav-toggle, .dropdown a) { min-height: 44px; }
  .site-header .language-switch { display: none !important; }
}

.oceidon-global-footer__grid {
  display: grid;
  grid-template-columns: minmax(250px, 1fr) minmax(420px, 1.35fr) minmax(230px, .8fr);
  gap: clamp(34px, 5vw, 82px);
  align-items: stretch;
}

/* Footer grid cells fill their row for balanced proportions. */
.oceidon-global-footer__grid > .oceidon-footer-widget {
  height: 100%;
}

.oceidon-global-footer :is(ul, p, h2) {
  margin-top: 0;
}

.oceidon-global-footer ul {
  margin-bottom: 0;
  padding: 0;
  list-style: none;
}

.oceidon-global-footer .oceidon-footer-widget {
  min-width: 0;
  color: #fff;
}

/* The legacy theme adds margin-right to every `.text-center` footer widget.
   The global shell owns its column gap, so that rule must not change the
   homepage grid compared with inner pages. */
.oceidon-global-footer .oceidon-footer-widget.text-center {
  margin: 0;
}

/* Balanced footer columns: equal height across logo, inquiry, and links. */
.oceidon-global-footer .oceidon-footer-section .row {
  align-items: stretch;
}
.oceidon-global-footer .oceidon-footer-section .row > [class*="col-"] {
  display: flex;
}
.oceidon-global-footer .oceidon-footer-section .row > [class*="col-"] > .oceidon-footer-widget {
  width: 100%;
  height: 100%;
}

.oceidon-global-footer .oceidon-footer-widget .oceidon-sidebar-logo img {
  width: 138px;
  height: auto;
  max-height: none;
  object-fit: contain;
}

.oceidon-global-footer .oceidon-footer-description {
  width: min(100%, 390px);
  margin: 24px 0 26px;
  padding: 0;
  color: rgba(255, 255, 255, .9);
  font-family: var(--sans, 'Poppins', sans-serif);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.72;
}

.oceidon-global-footer .oceidon-footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.oceidon-global-footer .oceidon-footer-social li {
  margin: 0;
}

.oceidon-global-footer .oceidon-footer-social :is(a, .oceidon-social-icon) {
  position: relative;
  display: inline-flex;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 50%;
  background: rgba(255, 255, 255, .12);
  color: #fff;
  line-height: 1;
  transition: transform .2s ease, background .2s ease;
}

.oceidon-global-footer .oceidon-footer-social a:hover {
  transform: translateY(-2px);
  background: #12a0a0;
}

.oceidon-global-footer__signup {
  margin: 0;
  text-align: center;
}

.oceidon-global-footer .oceidon-footer-signup-title {
  max-width: 650px;
  margin: 0 auto 22px;
  color: #fff;
  font-family: var(--serif, 'Playfair Display', serif);
  font-size: clamp(27px, 2.5vw, 36px);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -.02em;
  text-wrap: balance;
}

.oceidon-global-footer .oceidon-form-input-group {
  position: relative;
  width: min(100%, 520px);
  margin-inline: auto;
}

.oceidon-global-footer .oceidon-form-input-group input {
  width: 100%;
  height: 56px;
  padding: 0 208px 0 56px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 999px;
  outline: 0;
  background: rgba(255, 255, 255, .16);
  color: #fff;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.oceidon-global-footer .oceidon-form-input-group input::placeholder {
  color: rgba(255, 255, 255, .82);
}

/* Envelope icon: pinned to the left, vertically centred on the field. */
.oceidon-global-footer .oceidon-form-input-group > span {
  position: absolute;
  top: 50%;
  left: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  color: rgba(255, 255, 255, .62);
  transform: translateY(-50%);
}

.oceidon-global-footer .oceidon-form-input-group > span i {
  display: inline-block;
  line-height: 1;
  font-size: 15px;
  transform: translateY(1px);
}

/* CTA lives inside the email field, anchored to the right edge. */
.oceidon-global-footer .oceidon-form-input-group button {
  position: absolute;
  inset: 0 0 0 auto;
  width: 200px;
  height: 100%;
  border: 0;
  border-radius: 0 999px 999px 0;
  background: #12a0a0;
  color: #fff;
  font-family: var(--sans, 'Poppins', sans-serif);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .06em;
  cursor: pointer;
  transition: background .2s ease;
}

.oceidon-global-footer .oceidon-form-input-group button:hover {
  background: #0b8588;
}

.oceidon-footer-form-status {
  min-height: 1.5em;
  margin: 10px 0 0;
  color: rgba(255, 255, 255, .74);
  font-size: 12px;
}

.oceidon-global-footer .oceidon-footer-title {
  position: relative;
  margin: 0 0 35px;
  color: #fff;
  font-family: var(--serif, 'Playfair Display', serif);
  font-size: clamp(28px, 2.3vw, 36px);
  font-weight: 600;
  letter-spacing: .02em;
  text-transform: uppercase;
}

.oceidon-global-footer .oceidon-footer-title::before {
  position: absolute;
  left: 0;
  bottom: -10px;
  width: 40px;
  height: 3px;
  border-radius: 99px;
  background: #12a0a0;
  content: '';
}

.oceidon-global-footer .oceidon-footer-menu {
  display: grid;
  gap: 13px;
}

.oceidon-global-footer .oceidon-footer-menu a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: #fff;
  font-family: var(--sans, 'Poppins', sans-serif);
  font-size: 16px;
  font-weight: 500;
  letter-spacing: .08em;
  transition: color .2s ease, transform .2s ease;
}

.oceidon-global-footer .oceidon-footer-menu a:hover {
  color: #5fcec0;
  transform: translateX(4px);
}

.oceidon-global-footer .oceidon-footer-bottom {
  margin-top: 44px;
}

.oceidon-global-footer .oceidon-footer-wordmark {
  display: grid;
  width: 100%;
  min-height: 1em;
  margin: 0;
  padding: .06em clamp(8px, 2vw, 30px) .1em;
  place-items: center;
  overflow: visible;
  color: #5fcec0;
  font-family: var(--sans, 'Poppins', sans-serif);
  font-size: clamp(58px, 15vw, 220px);
  font-weight: 300;
  line-height: 1;
  letter-spacing: clamp(1px, 1vw, 13px);
  text-align: center;
  text-transform: uppercase;
  white-space: nowrap;
}

/* Keep the animated wordmark identical on the homepage and every inner page.
   The fixed em-based box prevents the temporary empty text state from
   changing the footer height or pushing the document below it. */
.oceidon-global-footer .oceidon-footer-automation-title .oceidon-footer-wordmark {
  height: 1.16em;
  min-height: 1.16em;
  margin: 0;
  padding: .06em clamp(8px, 2vw, 30px) .1em;
  color: #5fcec0;
  font-family: var(--sans, 'Poppins', sans-serif);
  font-size: clamp(58px, 15vw, 220px);
  font-weight: 300;
  line-height: 1;
  letter-spacing: clamp(1px, 1vw, 13px);
  text-align: center;
  text-transform: uppercase;
  white-space: nowrap;
}

.oceidon-global-footer .oceidon-footer-wordmark > span {
  position: relative;
  display: inline-block;
  min-width: 7.4ch;
  text-align: left;
  color: #67d7d0;
  background: linear-gradient(180deg, #67d7d0 0%, #a3e6df 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.oceidon-global-footer .oceidon-footer-wordmark > span::after {
  position: absolute;
  top: .11em;
  width: .035em;
  height: .72em;
  margin-left: .035em;
  background: #78e4dc;
  content: '';
  animation: oceidonWordmarkCursor .76s steps(1, end) infinite;
}

.oceidon-home-sea .oceidon-footer-automation-title .oceidon-footer-wordmark::after {
  content: none !important;
}

@keyframes oceidonWordmarkCursor {
  50% { opacity: 0; }
}

.oceidon-global-footer .oceidon-footer-legal {
  margin: 18px 0 0;
  color: rgba(255, 255, 255, .76);
  font-family: var(--sans, 'Poppins', sans-serif);
  font-size: 12px;
  line-height: 1.65;
  text-align: center;
}

.oceidon-global-footer .oceidon-footer-legal a {
  color: #5fcec0;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.oceidon-global-footer .oceidon-sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 1050px) {
  .oceidon-global-footer__grid {
    grid-template-columns: 1fr 1fr;
  }

  .oceidon-global-footer__signup {
    grid-column: 1 / -1;
    grid-row: 1;
  }
}

@media (max-width: 700px) {
  .oceidon-global-footer,
  .oceidon-home-sea .oceidon-global-footer {
    margin-top: 0;
    padding: 78px 0 26px;
  }

  .oceidon-global-footer__container {
    width: min(100% - 32px, 560px);
  }

  .oceidon-global-footer__grid {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .oceidon-global-footer__signup {
    grid-column: auto;
    grid-row: auto;
  }

  .oceidon-global-footer :is(.oceidon-footer-widget, .oceidon-footer-description, .oceidon-footer-title) {
    text-align: center;
  }

  .oceidon-global-footer .oceidon-footer-widget .oceidon-sidebar-logo img,
  .oceidon-global-footer .oceidon-footer-description {
    margin-right: auto;
    margin-left: auto;
  }

  .oceidon-global-footer .oceidon-footer-social {
    justify-content: center;
  }

  .oceidon-global-footer .oceidon-footer-title::before {
    left: 50%;
    transform: translateX(-50%);
  }

  .oceidon-global-footer .oceidon-footer-menu a {
    justify-content: center;
  }

  .oceidon-global-footer .oceidon-footer-wordmark {
    font-size: clamp(52px, 14vw, 100px);
    letter-spacing: .02em;
  }

  .oceidon-global-footer .oceidon-footer-automation-title .oceidon-footer-wordmark {
    font-size: clamp(52px, 14vw, 100px);
    letter-spacing: .02em;
  }
}

@media (max-width: 480px) {
  .oceidon-global-footer .oceidon-form-input-group {
    display: grid;
    gap: 10px;
  }

  .oceidon-global-footer .oceidon-form-input-group input {
    padding: 0 20px 0 52px;
  }

  .oceidon-global-footer .oceidon-form-input-group button {
    position: static;
    width: 100%;
    height: 54px;
    border-radius: 999px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .oceidon-global-footer .oceidon-footer-wordmark > span::after {
    animation: none;
    opacity: 1;
  }
}
