/* ==========================================================================
   RESET & ISOLASI LAYOUT (MENCEGAH FOOTER NAIK KE SAMPING)
   ========================================================================== */
html, body {
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow-x: hidden !important;
}

body {
  display: flex !important;
  flex-direction: column !important;
  min-height: 100vh !important;
}

.citra-home-page,
#content,
#page,
.site-content,
main {
  width: 100% !important;
  flex: 1 0 auto !important;
  clear: both !important;
  float: none !important;
}

/* ==========================================================================
   FOOTER CONTAINER (STANDALONE OCEWYN)
   ========================================================================== */
footer.ocewyn-footer {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  flex-shrink: 0 !important;
  clear: both !important;
  float: none !important;
  position: relative !important;
  z-index: 99 !important;
  box-sizing: border-box !important;
  background-color: #e5eff1 !important;
  color: #0d2830 !important;
  padding: 80px 20px 90px !important;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
}

.ocewyn-footer * {
  box-sizing: border-box;
}

.ocewyn-footer-container {
  max-width: 1240px;
  margin: 0 auto;
  width: 100%;
}

.ocewyn-footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

/* BARIS 1: LOGO & NAVIGASI */
.ocewyn-row-top {
  align-items: flex-end;
  padding-bottom: 25px;
}

.ocewyn-footer-logo img {
  display: block;
  max-height: 46px;
  width: auto;
  border: none;
}

.ocewyn-nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 30px;
}

.ocewyn-nav-list li {
  margin: 0;
  padding: 0;
}

.ocewyn-nav-list li a {
  text-decoration: none;
  color: #0d2830;
  font-weight: 500;
  font-size: 16px;
  transition: opacity 0.2s ease;
}

.ocewyn-nav-list li a:hover {
  opacity: 0.7;
}

/* GARIS PEMBATAS */
.ocewyn-divider {
  border: none !important;
  border-top: 1px solid #738b93 !important;
  margin: 0 !important;
  width: 100% !important;
  height: 0 !important;
}

/* BARIS 2: KONTAK & NEWSLETTER */
.ocewyn-row-middle {
  padding: 45px 0 50px;
  align-items: flex-start;
  gap: 40px;
}

.ocewyn-info-group {
  display: flex;
  gap: 60px;
  flex: 1;
}

.ocewyn-col-address p {
  margin: 0;
  color: #435b62;
  font-size: 15px;
  line-height: 1.6;
  max-width: 260px;
}

.ocewyn-phone {
  margin: 0 0 6px 0;
  font-size: 20px;
  font-weight: 800;
  color: #0d2830;
  letter-spacing: -0.2px;
}

.ocewyn-email {
  color: #435b62;
  text-decoration: none;
  font-size: 15px;
  display: inline-block;
  transition: opacity 0.2s ease;
}

.ocewyn-email:hover {
  opacity: 0.7;
}

/* NEWSLETTER FORM */
.ocewyn-newsletter-col {
  width: 100%;
  max-width: 440px;
}

.ocewyn-newsletter-title {
  font-size: 22px;
  font-weight: 800;
  color: #0d2830;
  margin: 0 0 16px 0;
  letter-spacing: -0.4px;
}

.ocewyn-newsletter-form {
  position: relative;
  display: flex;
  align-items: center;
  background-color: transparent;
  border: 1.5px solid #9bb5bc;
  border-radius: 50px;
  padding: 6px 8px 6px 24px;
  transition: border-color 0.2s ease;
  width: 100%;
}

.ocewyn-newsletter-form:focus-within {
  border-color: #0d2830;
}

.ocewyn-newsletter-input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: #0d2830;
  font-size: 15px;
  font-family: inherit;
  min-width: 0;
}

.ocewyn-newsletter-input::placeholder {
  color: #9cb5bc;
}

.ocewyn-newsletter-btn {
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #38b6c4;
  transition: transform 0.2s ease, color 0.2s ease;
  flex-shrink: 0;
}

.ocewyn-newsletter-btn svg {
  width: 34px;
  height: 34px;
}

.ocewyn-newsletter-btn:hover {
  transform: translateX(2px);
  color: #249da9;
}

/* BARIS 3: TAGLINE & SOSIAL MEDIA */
.ocewyn-row-bottom {
  padding-top: 40px;
  align-items: flex-end;
}

.ocewyn-footer-tagline h2 {
  font-size: 32px;
  font-weight: 800;
  color: #0d2830;
  line-height: 1.25;
  margin: 0;
  letter-spacing: -0.5px;
}

.ocewyn-footer-socials {
  display: flex;
  gap: 12px;
}

.ocewyn-social-link {
  width: 36px;
  height: 36px;
  background-color: #38b6c4;
  color: #0d2830;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.ocewyn-social-link svg {
  width: 17px;
  height: 17px;
}

.ocewyn-social-link:hover {
  background-color: #269ca8;
  transform: translateY(-2px);
}

/* ==========================================================================
   RESPONSIVE TABLET & MOBILE
   ========================================================================== */
@media (max-width: 900px) {
  .ocewyn-row-middle {
    flex-direction: column;
  }
  .ocewyn-newsletter-col {
    max-width: 100%;
  }
  .ocewyn-footer-tagline h2 {
    font-size: 26px;
  }
}

@media (max-width: 650px) {
  footer.ocewyn-footer {
    padding: 60px 20px !important;
  }
  .ocewyn-row-top {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }
  .ocewyn-nav-list {
    flex-wrap: wrap;
    gap: 18px 24px;
  }
  .ocewyn-info-group {
    flex-direction: column;
    gap: 25px;
  }
  .ocewyn-row-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 30px;
  }
}