/* Karwan-e-Taqi — Home offers section & modal */

.kth-offers-section {
  width: 100%;
  padding: 2.5rem clamp(1rem, 4vw, 3rem) 3rem;
  background: linear-gradient(180deg, #f4f8f5 0%, #fff 100%);
}

.kth-offers-section__inner {
  max-width: 1100px;
  margin: 0 auto;
}

.kth-offers-section__head {
  text-align: center;
  margin-bottom: 2rem;
}

.kth-offers-section__eyebrow {
  display: inline-block;
  margin: 0 0 0.5rem;
  padding: 0.35rem 0.9rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #9a7b1a;
  background: #f5e6b8;
  border-radius: 999px;
}

.kth-offers-section__title {
  margin: 0 0 0.75rem;
  font-family: "Libre Caslon Text", Georgia, serif;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: #0d4a2b;
}

.kth-offers-section__lead {
  margin: 0 auto;
  max-width: 620px;
  color: #5c6b63;
  font-size: 1rem;
  line-height: 1.6;
}

.kth-offers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
}

.kth-offer-card {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  background: linear-gradient(145deg, #08301c 0%, #0d4a2b 55%, #156b3f 100%);
  color: #fff;
  box-shadow: 0 18px 50px rgba(13, 74, 43, 0.22);
  transition: box-shadow 0.25s ease;
  max-width: 520px;
  margin: 0 auto;
}

.kth-offer-card:hover {
  box-shadow: 0 24px 60px rgba(13, 74, 43, 0.28);
}

.kth-offer-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23c9a227' fill-opacity='0.07'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.8;
  pointer-events: none;
}

.kth-offer-card__body {
  position: relative;
  z-index: 1;
  padding: 1.75rem 1.5rem 1.5rem;
}

.kth-offer-card__badge {
  display: inline-block;
  margin-bottom: 0.85rem;
  padding: 0.3rem 0.75rem;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #08301c;
  background: linear-gradient(135deg, #f5e6b8, #c9a227);
  border-radius: 999px;
}

.kth-offer-card__subtitle {
  margin: 0 0 0.35rem;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.75);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.kth-offer-card__title {
  margin: 0 0 1rem;
  font-family: "Libre Caslon Text", Georgia, serif;
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  line-height: 1.25;
  color: #fff !important;
}

.kth-offer-card__price-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.5rem;
}

.kth-offer-card__price-badge {
  flex-shrink: 0;
  width: 88px;
  height: 88px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #fff8e7, #f5e6b8);
  border: 3px solid #c9a227;
  color: #08301c;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.kth-offer-card__price-num {
  font-size: 1.35rem;
  font-weight: 800;
  line-height: 1;
}

.kth-offer-card__price-cur {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.kth-offer-card__tagline {
  margin: 0;
  font-size: 0.92rem;
  font-weight: 600;
  color: #f5e6b8;
  line-height: 1.45;
}

.kth-offer-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.25rem;
}

.kth-offer-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.75rem 1.25rem;
  border: none;
  border-radius: 999px;
  font: inherit;
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.kth-offer-btn--primary {
  background: linear-gradient(135deg, #c9a227, #f5e6b8);
  color: #08301c;
  box-shadow: 0 6px 18px rgba(201, 162, 39, 0.35);
}

.kth-offer-btn--ghost {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border: 1px solid rgba(201, 162, 39, 0.55);
}

.kth-offer-btn:hover {
  transform: translateY(-1px);
  text-decoration: none;
}

/* Override Elementor global button styles inside offer cards */
.kth-offer-card .kth-offer-btn {
  font-family: "Inter", Arial, sans-serif !important;
  font-size: 0.9rem !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  padding: 0.75rem 1.25rem !important;
  min-height: 0 !important;
  border-radius: 999px !important;
}

.kth-offer-card .kth-offer-btn--primary {
  background: linear-gradient(135deg, #c9a227, #f5e6b8) !important;
  color: #08301c !important;
  border: none !important;
  box-shadow: 0 6px 18px rgba(201, 162, 39, 0.35) !important;
}

.kth-offer-card .kth-offer-btn--ghost {
  background: rgba(255, 255, 255, 0.14) !important;
  color: #fff !important;
  border: 1px solid rgba(255, 255, 255, 0.45) !important;
}

.kth-offer-card .kth-offer-btn--ghost:hover,
.kth-offer-card .kth-offer-btn--primary:hover {
  color: inherit;
}

/* Modal */
.kth-offer-modal {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.kth-offer-modal.is-open {
  opacity: 1;
  visibility: visible;
}

.kth-offer-modal.is-intro .kth-offer-modal__dialog {
  animation: kthOfferPopIn 0.55s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

.kth-offer-modal.is-intro .kth-offer-modal__price-float {
  animation: kthOfferPulse 1.2s ease-in-out 0.4s 2;
}

@keyframes kthOfferPopIn {
  0% {
    opacity: 0;
    transform: translateY(40px) scale(0.88);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes kthOfferPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.08); box-shadow: 0 0 0 6px rgba(201, 162, 39, 0.25); }
}

.kth-offer-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 48, 28, 0.72);
  backdrop-filter: blur(4px);
}

.kth-offer-modal__dialog {
  position: relative;
  width: min(500px, 100%);
  max-height: 90vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
  transform: translateY(24px) scale(0.96);
  transition: transform 0.25s ease;
}

.kth-offer-modal.is-open .kth-offer-modal__dialog {
  transform: translateY(0) scale(1);
}

.kth-offer-modal__header {
  position: relative;
  flex-shrink: 0;
  padding: 1.35rem 1.35rem 1.25rem;
  background: linear-gradient(135deg, #06402b, #0d4a2b);
  color: #fff;
  border-radius: 24px 24px 0 0;
  overflow: visible;
}

.kth-offer-modal__header::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23c9a227' fill-opacity='0.08'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}

.kth-offer-modal__header-bar {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-shrink: 0;
  min-height: 40px;
  margin-bottom: 0.85rem;
}

.kth-offer-modal__eyebrow {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #f5e6b8;
}

.kth-offer-modal__header-main {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

#kth-offer-modal .kth-offer-modal__close {
  position: relative;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex: 0 0 36px !important;
  width: 36px !important;
  min-width: 36px !important;
  max-width: 36px !important;
  height: 36px !important;
  min-height: 36px !important;
  max-height: 36px !important;
  padding: 0 !important;
  margin: 0 !important;
  border: 1px solid rgba(255, 255, 255, 0.45) !important;
  border-radius: 50% !important;
  background: rgba(255, 255, 255, 0.28) !important;
  color: #fff !important;
  cursor: pointer !important;
  box-shadow: none !important;
  font-family: Arial, Helvetica, sans-serif !important;
  font-size: 16px !important;
  font-weight: 400 !important;
  line-height: 1 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  overflow: visible !important;
  -webkit-appearance: none !important;
  appearance: none !important;
}

#kth-offer-modal .kth-offer-modal__close::before,
#kth-offer-modal .kth-offer-modal__close::after {
  content: none !important;
  display: none !important;
}

#kth-offer-modal .kth-offer-modal__close-icon {
  display: block !important;
  font-size: 1.65rem !important;
  line-height: 1 !important;
  color: #fff !important;
  font-weight: 400 !important;
  opacity: 1 !important;
  transform: none !important;
  pointer-events: none;
  margin-top: -1px;
}

.kth-offer-modal__price-float {
  flex-shrink: 0;
  width: 84px;
  height: 84px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #fff8e7, #f5e6b8);
  border: 3px solid #c9a227;
  color: #08301c;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

.kth-offer-modal__price-float strong {
  font-size: 1.2rem;
  line-height: 1;
}

.kth-offer-modal__price-float span {
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-align: center;
  line-height: 1.2;
  padding: 0 0.25rem;
}

.kth-offer-modal__header-content {
  flex: 1;
  min-width: 0;
}

.kth-offer-modal__header h3 {
  margin: 0 0 0.4rem;
  font-family: "Libre Caslon Text", Georgia, serif;
  font-size: clamp(1.25rem, 3vw, 1.55rem);
  line-height: 1.25;
  color: #fff;
}

.kth-offer-modal__header p {
  margin: 0;
  color: #f5e6b8;
  font-weight: 600;
  font-size: 0.92rem;
  line-height: 1.45;
}

.kth-offer-modal__body {
  padding: 1.25rem 1.35rem;
  overflow-y: auto;
  flex: 1 1 auto;
  min-height: 0;
}

.kth-offer-modal__section-title {
  margin: 0 0 0.85rem;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #9a7b1a;
}

.kth-offer-docs {
  list-style: none;
  margin: 0 0 1.25rem;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}

.kth-offer-docs li {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.65rem 0.85rem;
  background: #f4f8f5;
  border-radius: 10px;
  border-left: 3px solid #c9a227;
  font-size: 0.92rem;
  color: #1a2e24;
}

.kth-offer-docs li::before {
  content: "✓";
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #0d4a2b;
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
}

.kth-offer-modal__desc {
  margin: 0 0 1.25rem;
  color: #5c6b63;
  line-height: 1.6;
  font-size: 0.92rem;
  white-space: pre-line;
}

.kth-offer-modal__footer {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  flex-shrink: 0;
  padding: 0 1.35rem 1rem;
  background: #fff;
}

.kth-offer-modal__footer .kth-offer-btn {
  flex: 1;
  min-width: 140px;
  text-align: center;
  border: none;
  cursor: pointer;
}

.kth-offer-modal__footer .kth-offer-modal__later {
  background: #f4f8f5;
  color: #0d4a2b;
  border: 1px solid rgba(13, 74, 43, 0.18) !important;
}

.kth-offer-modal__contact-hint {
  margin: 0;
  padding: 0 1.5rem 1.25rem;
  text-align: center;
  font-size: 0.85rem;
  color: #5c6b63;
}

.kth-offer-modal__contact-hint a {
  color: #0d4a2b;
  font-weight: 600;
  text-decoration: none;
}

.kth-offer-modal__contact-hint a:hover {
  text-decoration: underline;
}

.kth-offers-empty {
  text-align: center;
  padding: 2rem;
  color: #5c6b63;
}

.kth-order-page {
  min-height: 60vh;
  padding: 2rem clamp(1rem, 4vw, 2rem) 3rem;
  background: linear-gradient(180deg, #f4f8f5 0%, #fff 100%);
}

.kth-order-page__inner {
  max-width: 680px;
  margin: 0 auto;
}

.kth-order-card {
  background: #fff;
  border-radius: 24px;
  border: 1px solid rgba(13, 74, 43, 0.12);
  box-shadow: 0 20px 56px rgba(13, 74, 43, 0.12);
  overflow: hidden;
}

.kth-offer-detail__hero {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  padding: 2rem 1.75rem 1.5rem;
  background: linear-gradient(135deg, #06402b, #0d4a2b);
  color: #fff;
  overflow: hidden;
}

.kth-offer-detail__hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23c9a227' fill-opacity='0.08'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/svg%3E");
}

.kth-offer-detail__hero-text {
  position: relative;
  z-index: 1;
  flex: 1;
  min-width: 0;
}

.kth-offer-detail__badge {
  display: inline-block;
  margin: 0 0 0.5rem;
  padding: 0.25rem 0.65rem;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #08301c;
  background: linear-gradient(135deg, #f5e6b8, #c9a227);
  border-radius: 999px;
}

.kth-offer-detail__hero h1 {
  margin: 0 0 0.35rem;
  font-family: "Libre Caslon Text", Georgia, serif;
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  line-height: 1.25;
}

.kth-offer-detail__tagline {
  margin: 0;
  color: #f5e6b8;
  font-weight: 600;
  font-size: 0.95rem;
}

.kth-offer-detail__price {
  position: relative;
  z-index: 1;
  flex-shrink: 0;
  width: 88px;
  height: 88px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #fff8e7, #f5e6b8);
  border: 3px solid #c9a227;
  color: #08301c;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.kth-offer-detail__price strong {
  font-size: 1.25rem;
  line-height: 1;
}

.kth-offer-detail__price span {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-align: center;
}

.kth-offer-detail__info {
  padding: 1.5rem 1.75rem 0.5rem;
}

.kth-offer-detail__form-wrap {
  padding: 1.25rem 1.75rem 1.75rem;
  border-top: 1px solid rgba(13, 74, 43, 0.1);
  background: #fafcfa;
}

.kth-offer-detail__form-title {
  margin: 0 0 1rem;
  font-family: "Libre Caslon Text", Georgia, serif;
  font-size: 1.25rem;
  color: #0d4a2b;
}

.kth-offer-detail__submit {
  width: 100%;
  border: none;
  cursor: pointer;
  margin-top: 0.25rem;
}

.kth-offer-detail-page__contact {
  text-align: center;
  margin-top: 1.5rem;
  color: #5c6b63;
  font-size: 0.92rem;
}

.kth-offer-detail-page__contact a {
  color: #0d4a2b;
  font-weight: 600;
  text-decoration: none;
}

.kth-offer-detail-page__contact a:hover {
  text-decoration: underline;
}

.kth-order-form {
  padding: 0;
  display: grid;
  gap: 0.85rem;
}

.kth-order-form__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
}

.kth-order-field label {
  display: block;
  margin-bottom: 0.35rem;
  font-weight: 600;
  font-size: 0.88rem;
  color: #1a2e24;
}

.kth-order-field input:not([type="checkbox"]),
.kth-order-field textarea {
  width: 100%;
  box-sizing: border-box;
  padding: 0.72rem 0.85rem;
  border: 1px solid #d8e0dc;
  border-radius: 10px;
  font: inherit;
  background: #fff;
  color: #1a2e24;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.kth-order-field input:not([type="checkbox"]):focus,
.kth-order-field textarea:focus {
  outline: none;
  border-color: #0d4a2b;
  box-shadow: 0 0 0 3px rgba(13, 74, 43, 0.12);
}

.kth-order-field textarea {
  min-height: 96px;
  resize: vertical;
}

.kth-order-checkbox {
  display: flex !important;
  align-items: center;
  gap: 0.65rem;
  margin: 0;
  padding: 0.75rem 0.85rem;
  background: #f4f8f5;
  border: 1px solid #e2ebe6;
  border-radius: 10px;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.9rem;
  color: #1a2e24;
}

.kth-order-checkbox input[type="checkbox"] {
  width: 18px;
  height: 18px;
  min-width: 18px;
  margin: 0;
  flex-shrink: 0;
  accent-color: #0d4a2b;
}

.kth-order-checkbox span {
  line-height: 1.4;
}

.kth-order-status {
  margin-top: 0.75rem;
  padding: 0.75rem 1rem;
  border-radius: 10px;
  font-size: 0.92rem;
  display: none;
}

.kth-order-status--success {
  display: block;
  background: #dcfae6;
  color: #067647;
}

.kth-order-status--error {
  display: block;
  background: #fdecea;
  color: #b42318;
}

@media (max-width: 767px) {
  .kth-offer-modal {
    padding: 0;
    align-items: flex-end;
    justify-content: center;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .kth-offer-modal__dialog {
    width: 100%;
    max-height: min(92dvh, 720px);
    margin: 0;
    border-radius: 18px 18px 0 0;
    transform: none !important;
  }

  .kth-offer-modal.is-open .kth-offer-modal__dialog {
    transform: none !important;
  }

  .kth-offer-modal__header {
    padding: max(0.85rem, env(safe-area-inset-top, 0px)) 1rem 1rem;
    border-radius: 18px 18px 0 0;
  }

  .kth-offer-modal__header-bar {
    margin-bottom: 0.75rem;
  }

  .kth-offer-modal__header-main {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.75rem;
  }

  .kth-offer-modal__header-content {
    width: 100%;
  }

  .kth-offer-modal__header h3 {
    font-size: 1.35rem;
  }

  .kth-offer-modal__price-float {
    width: 80px;
    height: 80px;
  }

  .kth-offer-modal__footer {
    flex-direction: column;
    flex-shrink: 0;
    padding: 0.85rem 1rem 1rem;
    border-top: 1px solid rgba(13, 74, 43, 0.08);
    background: #fff;
  }

  .kth-offer-modal__footer .kth-offer-btn {
    width: 100%;
    min-width: 0;
  }

  .kth-offer-modal__contact-hint {
    padding: 0 1rem 1rem;
    flex-shrink: 0;
  }

  .kth-order-form__grid {
    grid-template-columns: 1fr;
  }

  .kth-offer-detail__hero {
    flex-direction: column;
    align-items: flex-start;
  }

  .kth-order-page {
    padding-top: 1.25rem;
  }
}
