/* ════════════════════════════════════
   QARQARALY GO — Main Stylesheet
   ════════════════════════════════════ */

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: 'Nunito', sans-serif; background: #F2E8CF; color: #1a2e1a; overflow-x: hidden; }

/* ── Navbar ── */
#navbar { transition: background .3s, box-shadow .3s; }
#navbar.scrolled { background: rgba(56,102,65,.97) !important; box-shadow: 0 2px 20px rgba(0,0,0,.2); }

/* ── Mobile menu ── */
#mob-menu { transform: translateY(-100%); transition: transform .35s ease; }
#mob-menu.open { transform: translateY(0); }

/* ── Hero pattern — kazakh shanyrak motif ── */
.hero-pattern {
  background-image: url("data:image/svg+xml,%3Csvg width='80' height='80' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='%236A994E' stroke-width='1' opacity='0.13'%3E%3Ccircle cx='40' cy='40' r='16'/%3E%3Cline x1='40' y1='24' x2='40' y2='0'/%3E%3Cline x1='40' y1='56' x2='40' y2='80'/%3E%3Cline x1='24' y1='40' x2='0' y2='40'/%3E%3Cline x1='56' y1='40' x2='80' y2='40'/%3E%3Cline x1='28.7' y1='28.7' x2='11.7' y2='11.7'/%3E%3Cline x1='51.3' y1='51.3' x2='68.3' y2='68.3'/%3E%3Cline x1='51.3' y1='28.7' x2='68.3' y2='11.7'/%3E%3Cline x1='28.7' y1='51.3' x2='11.7' y2='68.3'/%3E%3Ccircle cx='40' cy='40' r='6'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 80px;
}

/* ── Kazakh ornament border — uses real ornament file ── */
.ornament-border {
  position: relative;
  height: 48px;
  overflow: hidden;
}
.ornament-border::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('img2/ornamernt-qaz-1.svg');
  background-repeat: repeat-x;
  background-size: auto 100%;
  background-position: center left;
  opacity: 0.12;
}

/* ── Marquee ── */
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.marquee-track { display: flex; gap: 40px; animation: marquee 20s linear infinite; white-space: nowrap; }

/* ── Float ── */
@keyframes floatY { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-10px)} }
.float { animation: floatY 4s ease-in-out infinite; }

/* ── Pulse CTA ── */
@keyframes pulse-btn { 0%,100%{box-shadow:0 0 0 0 rgba(226,149,120,.4)} 50%{box-shadow:0 0 0 12px rgba(226,149,120,0)} }
.pulse-btn { animation: pulse-btn 2s infinite; }

/* ── Shift card hover ── */
.shift-card { transition: transform .25s, box-shadow .25s; }
.shift-card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(0,0,0,.18); }
.shift-card.active-shift { border-color: #A7C957 !important; }

/* ── FAQ ── */
.faq-body { max-height: 0; overflow: hidden; transition: max-height .4s ease; }
.faq-item.open .faq-body { max-height: 400px; }
.faq-icon { transition: transform .3s; display: inline-block; }
.faq-item.open .faq-icon { transform: rotate(45deg); }

/* ── Benefit card ── */
.benefit-card { transition: transform .25s, box-shadow .25s; }
.benefit-card:hover { transform: translateY(-6px); box-shadow: 0 20px 48px rgba(56,102,65,.15); }

/* ── Form input ── */
.field { background: rgba(255,255,255,.15); border: 1.5px solid rgba(255,255,255,.3); border-radius: 12px; color: #fff; width: 100%; padding: 14px 18px; font-family: inherit; font-size: 15px; font-weight: 500; outline: none; transition: border-color .2s; }
.field::placeholder { color: rgba(255,255,255,.55); }
.field:focus { border-color: #A7C957; }

/* ── Scrollbar ── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #F2E8CF; }
::-webkit-scrollbar-thumb { background: #6A994E; border-radius: 3px; }

/* ── Lightbox ── */
#lightbox { display: none; }
#lightbox.open { display: flex; }
.lb-thumb { cursor: zoom-in; transition: transform .2s, opacity .2s; }
.lb-thumb:hover { transform: scale(1.03); opacity: .9; }

/* ════════════════════════════════════
   SendPulse form — responsive overrides
   ════════════════════════════════════ */

/* Outer wrapper — fixed box so the form can never overflow viewport */
.sp-wrap {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
}
.sp-wrap .sp-form-outer { width: 100% !important; max-width: 100% !important; }

/* Form root */
.sp-form {
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  border: none !important;
  padding: 0 !important;
  margin: 0 !important;
  background: transparent !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  font-family: 'Nunito', sans-serif !important;
  box-sizing: border-box !important;
}
.sp-form *, .sp-form *::before, .sp-form *::after { box-sizing: border-box !important; }

/* Fields wrapper — single column, full width */
.sp-form .sp-form-fields-wrapper {
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 0 !important;
}
.sp-form .sp-element-container {
  width: 100% !important;
  max-width: 100% !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 0 !important;
}

/* Each field block */
.sp-form .sp-field {
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  float: none !important;
  padding: 0 !important;
  margin: 0 0 16px 0 !important;
}
.sp-form .sp-field:last-child { margin-bottom: 0 !important; }

/* Inputs & selects */
.sp-form .sp-form-control {
  background: rgba(255,255,255,.09) !important;
  border: 1.5px solid rgba(255,255,255,.22) !important;
  border-radius: 12px !important;
  color: #fff !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  height: 52px !important;
  line-height: 1.3 !important;
  padding: 0 16px !important;
  font-size: 15px !important;
  font-weight: 500 !important;
  font-family: 'Nunito', sans-serif !important;
  transition: border-color .2s, background .2s, box-shadow .2s !important;
  box-sizing: border-box !important;
  box-shadow: none !important;
}
.sp-form .sp-form-control:hover {
  background: rgba(255,255,255,.12) !important;
  border-color: rgba(255,255,255,.32) !important;
}
.sp-form .sp-form-control:focus {
  background: rgba(255,255,255,.14) !important;
  border-color: #A7C957 !important;
  outline: none !important;
  box-shadow: 0 0 0 3px rgba(167,201,87,.18) !important;
}
.sp-form .sp-form-control::placeholder {
  color: rgba(255,255,255,.5) !important;
  font-weight: 400 !important;
}

/* Phone field — hide country code selector injected by SendPulse runtime */
.sp-wrap .iti,
.sp-form .iti { width: 100% !important; display: block !important; }

.sp-wrap .iti__flag-container,
.sp-wrap .iti__selected-flag,
.sp-wrap .iti__selected-dial-code,
.sp-wrap .iti__dial-code,
.sp-wrap .iti__country-list,
.sp-wrap .iti__arrow,
.sp-form .iti__flag-container,
.sp-form .iti__selected-flag,
.sp-form .iti__selected-dial-code,
.sp-form .iti__dial-code,
.sp-form .iti__country-list,
.sp-form .iti__arrow { display: none !important; }

.sp-wrap .iti--allow-dropdown input,
.sp-wrap .iti--allow-dropdown input[type=tel],
.sp-wrap input[type=tel],
.sp-form .iti--allow-dropdown input,
.sp-form .iti--allow-dropdown input[type=tel],
.sp-form input[type=tel] {
  padding-left: 16px !important;
}

/* Labels */
.sp-form .sp-control-label {
  color: rgba(255,255,255,.75) !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: .06em !important;
  font-family: 'Nunito', sans-serif !important;
  display: block !important;
  margin: 0 0 8px 2px !important;
}
.sp-form .sp-control-label strong {
  color: #e29578 !important;
  margin-left: 3px !important;
  font-weight: 700 !important;
}

/* Submit button container */
.sp-form .sp-button-container {
  text-align: center !important;
  width: 100% !important;
  padding: 0 !important;
  margin-top: 6px !important;
}

/* Submit button */
.sp-form .sp-button {
  background: linear-gradient(180deg, #e8a085 0%, #e29578 100%) !important;
  background-color: #e29578 !important;
  border-radius: 14px !important;
  width: 100% !important;
  max-width: 100% !important;
  min-height: 56px !important;
  padding: 16px 24px !important;
  font-size: 16px !important;
  font-weight: 800 !important;
  font-family: 'Nunito', sans-serif !important;
  letter-spacing: .01em !important;
  color: #fff !important;
  text-shadow: 0 1px 0 rgba(0,0,0,.08) !important;
  border: none !important;
  box-shadow: 0 10px 24px -8px rgba(226,149,120,.55), inset 0 1px 0 rgba(255,255,255,.2) !important;
  cursor: pointer !important;
  transition: transform .15s ease, box-shadow .2s ease, background-color .2s !important;
}
.sp-form .sp-button:hover {
  background: linear-gradient(180deg, #e8a085 0%, #d08267 100%) !important;
  background-color: #d08267 !important;
  box-shadow: 0 14px 30px -8px rgba(226,149,120,.7), inset 0 1px 0 rgba(255,255,255,.25) !important;
  transform: translateY(-1px) !important;
}
.sp-form .sp-button:active {
  transform: translateY(0) !important;
  box-shadow: 0 6px 16px -6px rgba(226,149,120,.5), inset 0 1px 0 rgba(255,255,255,.2) !important;
}
.sp-form .sp-button:focus-visible {
  outline: 2px solid #A7C957 !important;
  outline-offset: 3px !important;
}

/* Text / messages inside the form */
.sp-form p {
  color: rgba(255,255,255,.6) !important;
  font-size: 12px !important;
  line-height: 1.55 !important;
  font-family: 'Nunito', sans-serif !important;
  margin: 0 !important;
  overflow-wrap: break-word !important;
  word-wrap: break-word !important;
}
.sp-form strong span,
.sp-form strong {
  color: #fff !important;
  font-family: 'Nunito', sans-serif !important;
}
.sp-form .sp-field-full-width { margin-top: 10px !important; }
.sp-form .sp-field-full-width p {
  font-size: 14px !important;
  font-weight: 600 !important;
  line-height: 1.5 !important;
  color: rgba(255,255,255,.75) !important;
  margin-bottom: 4px !important;
}

/* Validation messages */
.sp-form .sp-message { margin-bottom: 12px !important; }
.sp-form .sp-message-success,
.sp-form .sp-message-error {
  border-radius: 12px !important;
  padding: 14px 16px !important;
  font-size: 14px !important;
  font-family: 'Nunito', sans-serif !important;
}
.sp-form .sp-field-error-message,
.sp-form .sp-error {
  color: #ffb4a2 !important;
  font-size: 12px !important;
  margin-top: 6px !important;
}

/* Brand link at bottom — keep muted */
.sp-form .sp-link-wrapper { text-align: center !important; margin-top: 12px !important; }
.sp-form .sp-link-wrapper a { color: rgba(255,255,255,.4) !important; font-size: 11px !important; }

/* Mobile tweaks — guarantee fit inside viewport */
@media (max-width: 480px) {
  .sp-wrap { padding: 0 !important; }
  .sp-form .sp-form-control {
    font-size: 14px !important;
    height: 50px !important;
    padding: 0 14px !important;
  }
  .sp-form .iti--allow-dropdown input,
  .sp-form .iti--allow-dropdown input[type=tel],
  .sp-form input[type=tel] {
    padding-left: 14px !important;
  }
  .sp-form .sp-button {
    font-size: 15px !important;
    min-height: 54px !important;
    padding: 15px 20px !important;
  }
  .sp-form .sp-control-label {
    font-size: 11px !important;
    letter-spacing: .05em !important;
  }
  .sp-form .sp-field { margin-bottom: 14px !important; }
}
