/* ===== HEADER CTA BUTTON ===== */
.btn-header-cta {
  margin-left: auto;
  padding: 10px 22px;
  font-size: 0.88rem;
  border-radius: 6px;
  white-space: nowrap;
  flex-shrink: 0;
}

/* ===== ACTIVE NAV ITEM ===== */
.active-item {
  color: var(--orange) !important;
  background: rgba(240, 124, 26, 0.06);
}

/* ===== PAGE HERO ===== */
.page-hero {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy-mid) 100%);
  padding: 48px 0 36px;
  text-align: center;
}
.page-hero h1 {
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  font-weight: 900;
  color: #fff;
  text-transform: uppercase;
  margin-bottom: 10px;
  letter-spacing: 1px;
}
.page-hero p {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.95rem;
}
.page-hero .breadcrumb {
  color: rgba(255, 255, 255, 0.55);
}
.page-hero .breadcrumb a {
  color: rgba(255, 255, 255, 0.75);
}
.page-hero .breadcrumb a:hover {
  color: var(--orange-light);
}

/* ===== DK SECTION ===== */
.dk-section {
  background: #f0f3fa;
  padding: 52px 0 64px;
  min-height: 70vh;
}

/* ===== LAYOUT ===== */
.dk-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 36px;
  align-items: stretch;
}

/* ===== FORM WRAP ===== */
.dk-form-wrap {
  background: #ffffff;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 12px 40px rgba(4, 14, 38, 0.16);
  overflow: visible;
}

.dk-form-header {
  background: var(--navy);
  padding: 22px 32px;
  display: flex;
  align-items: center;
  gap: 14px;
  border-bottom: 3px solid var(--orange);
  border-radius: 16px 16px 0 0;
}
.dk-form-header i {
  font-size: 1.5rem;
  color: var(--orange);
}
.dk-form-header h2 {
  font-size: 1.15rem;
  font-weight: 900;
  color: #fff;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin: 0;
}

.dk-form {
  padding: 32px 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* ===== FIELDS ===== */
.dk-field {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.dk-field label {
  font-size: 0.88rem;
  font-weight: 600;
  color: #17356f;
  letter-spacing: 0.2px;
}
.dk-field .req {
  color: var(--orange);
}

.dk-field input,
.dk-field textarea,
.dk-field select {
  width: 100%;
  padding: 13px 16px;
  background: #f7f9fc;
  border: 1.5px solid rgba(19, 45, 98, 0.12);
  border-radius: 8px;
  color: #17356f;
  font-size: 0.92rem;
  font-family: inherit;
  transition: border-color 0.2s, background 0.2s;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
}
.dk-field input::placeholder,
.dk-field textarea::placeholder {
  color: rgba(23, 53, 111, 0.45);
}
.dk-field select option {
  background: var(--navy);
  color: #fff;
}
.dk-field input:focus,
.dk-field textarea:focus,
.dk-field select:focus {
  border-color: var(--orange);
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(240, 124, 26, 0.12);
}
.dk-field textarea {
  resize: vertical;
  min-height: 110px;
}

/* ===== SUBMIT ===== */
.dk-submit {
  width: 100%;
  padding: 15px 24px;
  background: var(--orange);
  color: #fff;
  font-size: 1rem;
  font-weight: 800;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  margin-top: 4px;
}
.dk-submit:hover {
  background: var(--orange-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(240, 124, 26, 0.45);
}
.dk-submit:active {
  transform: translateY(0);
}

.dk-submit:disabled,
.dk-submit.is-loading {
  opacity: 0.75;
  cursor: wait;
  transform: none;
  box-shadow: none;
}

.dk-success {
  background: rgba(34, 197, 94, 0.12);
  border: 1.5px solid rgba(34, 197, 94, 0.35);
  color: #7ee2a1;
  border-radius: 8px;
  padding: 14px 18px;
  font-size: 0.9rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
  text-align: center;
}
.dk-success i {
  font-size: 1.2rem;
  flex-shrink: 0;
}

.dk-success.is-error {
  background: rgba(239, 68, 68, 0.12);
  border-color: rgba(239, 68, 68, 0.3);
  color: #b91c1c;
}

.dk-popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(7, 18, 41, 0.62);
  opacity: 0;
  visibility: hidden;
  transition: 0.25s ease;
  z-index: 9998;
}

.dk-popup-modal {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: 0.25s ease;
  z-index: 9999;
}

.dk-popup-overlay.active,
.dk-popup-modal.active {
  opacity: 1;
  visibility: visible;
}

.dk-popup-dialog {
  position: relative;
  width: min(460px, 100%);
  background: #fff;
  border-radius: 24px;
  padding: 34px 28px 28px;
  text-align: center;
  box-shadow: 0 28px 60px rgba(10, 31, 68, 0.28);
}

.dk-popup-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 38px;
  height: 38px;
  border: none;
  border-radius: 50%;
  background: #eef3fb;
  color: #4b5d7a;
  cursor: pointer;
}

.dk-popup-icon {
  width: 74px;
  height: 74px;
  margin: 0 auto 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #22c55e, #16a34a);
  color: #fff;
  font-size: 2rem;
  box-shadow: 0 14px 30px rgba(34, 197, 94, 0.24);
}

.dk-popup-title {
  margin: 0 0 12px;
  color: var(--navy);
  font-size: 1.75rem;
  font-weight: 900;
}

.dk-popup-text {
  margin: 0;
  color: #475569;
  font-size: 1rem;
  line-height: 1.7;
}

.dk-popup-button {
  margin-top: 24px;
  min-width: 150px;
  min-height: 48px;
  padding: 0 24px;
  border: none;
  border-radius: 12px;
  background: var(--orange);
  color: #fff;
  font-size: 0.95rem;
  font-weight: 800;
  cursor: pointer;
}

/* ===== CONTACT BOX ===== */
.dk-contact-wrap {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-self: stretch;
}

.dk-contact-box {
  background: #ffffff;
  border-radius: 16px;
  border: 1.5px solid rgba(19, 45, 98, 0.1);
  box-shadow: 0 12px 32px rgba(10, 31, 68, 0.12);
  overflow: hidden;
  min-height: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.dk-contact-title {
  background: var(--navy);
  padding: 18px 24px;
  font-size: 0.95rem;
  font-weight: 800;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 3px solid var(--orange);
}
.dk-contact-title i {
  color: var(--orange);
}

.dk-contact-desc {
  font-size: 0.82rem;
  color: #6f7c97;
  padding: 16px 20px 4px;
  line-height: 1.55;
}

.dk-contact-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 20px;
  border-bottom: 1px solid rgba(19, 45, 98, 0.08);
  transition: background 0.15s;
  text-decoration: none;
  color: inherit;
  flex: 1 1 0;
}
.dk-contact-item:hover {
  background: #f8faff;
}
.dk-contact-item:last-of-type {
  border-bottom: none;
}

.dk-contact-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.1rem;
  overflow: hidden;
}
.dk-contact-icon img {
  width: 42px;
  height: 42px;
  object-fit: contain;
  display: block;
}
.dk-icon-phone { background: rgba(240, 124, 26, 0.15); color: var(--orange); }
.dk-icon-zalo  { background: transparent; }
.dk-icon-fb    { background: rgba(24, 119, 242, 0.15); color: #1877f2; }
.dk-icon-mail  { background: rgba(19, 45, 98, 0.08); color: #5f6e8d; }
.dk-icon-map   { background: rgba(19, 45, 98, 0.08); color: #5f6e8d; }

.dk-contact-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.dk-contact-label {
  font-size: 0.72rem;
  color: #7f8aa3;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}
.dk-contact-val {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--navy);
  transition: color 0.15s;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
a.dk-contact-val:hover { color: var(--orange-light); }

.dk-contact-hours {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 20px;
  background: #ffffff;
  border-top: 1px solid rgba(19, 45, 98, 0.08);
  transition: background 0.15s;
  flex: 1 1 0;
}
.dk-contact-hours:hover {
  background: #f8faff;
}
.dk-contact-hours i {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(240, 124, 26, 0.15);
  color: var(--orange);
  flex-shrink: 0;
  font-size: 1.1rem;
  margin-top: 0;
}
.dk-contact-hours div {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.dk-contact-hours strong {
  font-size: 0.72rem;
  color: #7f8aa3;
  display: block;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  font-weight: 500;
}
.dk-contact-hours span {
  font-size: 0.92rem;
  color: var(--navy);
  display: block;
  font-weight: 700;
}

/* ===== WHY BOX ===== */
.dk-why-box {
  display: none;
  background: #ffffff;
  border-radius: 14px;
  border: 1.5px solid rgba(19, 45, 98, 0.1);
  overflow: hidden;
  box-shadow: 0 8px 28px rgba(10, 31, 68, 0.12);
}
.dk-why-title {
  background: var(--navy);
  padding: 14px 20px;
  font-size: 0.88rem;
  font-weight: 800;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 3px solid var(--orange);
}
.dk-why-title i { color: var(--orange); }

.dk-why-list {
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.dk-why-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  color: var(--navy);
}
.dk-why-list .fa-check-circle {
  color: var(--orange);
  font-size: 1rem;
  flex-shrink: 0;
}

/* ===== FLOATING CONTACT BUTTONS ===== */
.float-contacts {
  position: fixed;
  right: 20px;
  bottom: 80px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 998;
}

.float-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.2s;
}
.float-btn:hover {
  transform: scale(1.12) translateY(-3px);
}

.float-btn img {
  width: 58px;
  height: 58px;
  display: block;
  border-radius: 50%;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.35);
  animation: float-pulse 2.8s ease-in-out infinite;
}
.float-zalo img {
  animation-delay: 1.4s;
}
@keyframes float-pulse {
  0%, 100% { box-shadow: 0 4px 18px rgba(0,0,0,0.35); }
  50% { box-shadow: 0 8px 32px rgba(0,0,0,0.5), 0 0 0 7px rgba(255,255,255,0.07); }
}

/* ===== CUSTOM DROPDOWN ===== */
.dk-custom-select {
  position: relative;
  user-select: none;
}

.dk-select-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 16px;
  background: rgba(255, 255, 255, 0.07);
  border: 1.5px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.35);
  font-size: 0.92rem;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}
.dk-custom-select.has-value .dk-select-trigger {
  color: #fff;
}
.dk-custom-select.open .dk-select-trigger {
  border-color: var(--orange);
  background: rgba(240, 124, 26, 0.06);
  color: #fff;
}

.dk-select-val {
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dk-select-arrow {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.5);
  transition: transform 0.25s, color 0.2s;
  flex-shrink: 0;
  margin-left: 10px;
}
.dk-custom-select.open .dk-select-arrow {
  transform: rotate(180deg);
  color: var(--orange);
}

.dk-select-list {
  position: absolute;
  top: calc(100% + 6px);
  left: 0; right: 0;
  background: #0f2550;
  border: 1.5px solid rgba(255, 255, 255, 0.14);
  border-radius: 10px;
  overflow: hidden;
  z-index: 50;
  box-shadow: 0 12px 40px rgba(4, 14, 38, 0.55);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
  list-style: none;
  margin: 0; padding: 6px 0;
}
.dk-custom-select.open .dk-select-list {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dk-select-list li {
  padding: 11px 16px;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.75);
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
  display: flex;
  align-items: center;
  gap: 10px;
}
.dk-select-list li:hover {
  background: rgba(240, 124, 26, 0.1);
  color: #fff;
}
.dk-select-list li.selected {
  color: var(--orange-light);
  font-weight: 600;
  background: rgba(240, 124, 26, 0.08);
}
.dk-select-list li.selected::after {
  content: '\f00c';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  font-size: 0.72rem;
  color: var(--orange);
  margin-left: auto;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .dk-layout {
    grid-template-columns: 1fr 320px;
    gap: 24px;
  }
}

@media (max-width: 820px) {
  .dk-layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .dk-contact-wrap {
    position: static;
  }
  .float-contacts {
    right: 14px;
    bottom: 70px;
    gap: 10px;
  }
  .float-btn img {
    width: 50px;
    height: 50px;
  }
}

@media (max-width: 540px) {
  .dk-form {
    padding: 22px 18px 20px;
    gap: 16px;
  }
  .dk-form-header {
    padding: 18px 20px;
  }
  .dk-form-header h2 {
    font-size: 1rem;
  }
  .dk-section {
    padding: 36px 0 48px;
  }
  .btn-header-cta {
    display: none;
  }
  .float-contacts {
    right: 10px;
    bottom: 60px;
    gap: 8px;
  }
  .float-btn img {
    width: 46px;
    height: 46px;
  }
}
