.demo-hero {
  position: relative;
  min-height: 68vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 88px 24px 56px;
  overflow: hidden;
  isolation: isolate;
  /* background: radial-gradient(1200px 600px at 10% -10%, rgba(37, 211, 102, .18), transparent 60%),
    radial-gradient(900px 500px at 90% -20%, rgba(139, 92, 246, .14), transparent 60%),
    linear-gradient(180deg, #eef6ff 0%, #ffffff 70%); */
}

.demo-hero .demo-bg-video {
  position: absolute;
  inset: 0;
  z-index: -2;
  opacity: .25;
  filter: saturate(1.05) contrast(1.03) blur(.5px);
  pointer-events: none;
  overflow: hidden;
  display: none;
  /* hidden until ready */
}

.demo-hero.video-on .demo-bg-video {
  display: block;
}

.demo-hero .demo-bg-video iframe {
  width: 100vw;
  height: 56.25vw;
  min-height: 100%;
  min-width: 177.77vh;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border: 0;
}

.demo-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  /* background: linear-gradient(180deg, rgba(255, 255, 255, .55) 0%, rgba(255, 255, 255, .85) 65%, rgba(255, 255, 255, 1) 100%); */
  pointer-events: none;
}

.demo-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: #ffffffc9;
  color: #111827;
  font-weight: 700;
  letter-spacing: .2px;
  backdrop-filter: blur(8px)
}

.demo-hero h1 {
  margin-top: 18px;
  font-weight: 800;
  line-height: 1.1;
  font-size: clamp(30px, 5.6vw, 56px);
  background: linear-gradient(135deg, #0b1220 0%, var(--primary-dark) 40%, var(--secondary) 70%, var(--accent) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.demo-sub {
  margin: 12px auto 22px;
  max-width: 820px;
  color: var(--muted);
  font-size: clamp(15px, 1.6vw, 18px)
}

.demo-cta {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap
}

.demo-btn {
  border: none;
  cursor: pointer;
  font-weight: 800;
  letter-spacing: .2px;
  border-radius: 12px;
  padding: 14px 22px;
  transition: .25s ease;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none
}

.demo-btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #fff;
  box-shadow: 0 12px 28px rgba(37, 211, 102, .25)
}

.demo-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(37, 211, 102, .35)
}

.demo-btn-ghost {
  border: 1px solid var(--border);
  background: #fff;
  color: #111827
}

.demo-btn-ghost:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg)
}

/* =================== LAYOUT =================== */
.demo-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 52px 24px
}

.demo-section {
  margin: 52px 0
}

.demo-title {
  font-size: clamp(24px, 3.2vw, 36px);
  font-weight: 800;
  text-align: center;
  margin-bottom: 10px
}

.demo-section .demo-sub {
  text-align: center;
  max-width: 760px
}

.demo-stats{
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-top: 32px
}

/* =================== FEATURED VIDEO PANEL =================== */
.demo-panel {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow-lg)
}

.demo-ratio {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--border)
}

.demo-ratio iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0
}

.demo-video-meta {
  margin-top: 12px;
  text-align: center
}

.demo-video-meta h3 {
  font-size: 20px;
  font-weight: 800
}

.demo-video-meta p {
  color: var(--muted)
}

/* =================== BOOKING + BENEFITS =================== */
.demo-two-col {
 display: flex ;
 justify-content: center;
 align-items: center;
}

.demo-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow-lg)
}

.demo-card h3 {
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 6px
}

.demo-card p.demo-lead {
  color: var(--muted);
  margin-bottom: 14px
}

.demo-slots {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 16px
}

.demo-slot {
  position: relative;
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #fff;
  cursor: pointer;
  transition: .25s
}

.demo-slot:hover {
  border-color: var(--primary);
  background: #f5fff9;
  transform: translateY(-2px)
}

.demo-slot.selected {
  border-color: var(--primary);
  background: #ecfff4;
  box-shadow: 0 0 0 3px rgba(37, 211, 102, .12) inset;
}

.demo-slot.selected::after {
  content: "Selected";
  position: absolute;
  top: -10px;
  right: -10px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  padding: 4px 8px;
  border-radius: 999px;
  box-shadow: 0 6px 16px rgba(37, 211, 102, .28);
}

.demo-slot .t {
  font-weight: 800;
  color: #111827
}

.demo-slot .d {
  color: var(--muted);
  font-size: 13px
}

.demo-form-group {
  margin-bottom: 12px
}

.demo-form-group label {
  display: block;
  color: var(--muted);
  margin-bottom: 6px;
  font-weight: 700
}

.demo-form-group input {
  width: 100%;
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #fff;
  color: #111827
}

.demo-form-group input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(37, 211, 102, .16)
}

.demo-btn-book {
  width: 100%;
  margin-top: 6px
}

.demo-benefit {
  display: flex;
  gap: 12px;
  border: 1px dashed var(--border);
  border-radius: 14px;
  padding: 12px;
  background: #fff
}

.demo-benefit i {
  color: var(--primary);
  font-size: 20px;
  margin-top: 2px
}

.demo-benefit h4 {
  font-size: 15px;
  margin-bottom: 4px
}

.demo-benefit p {
  color: var(--muted);
  font-size: 14px
}

/* =================== CAROUSEL =================== */
.demo-carousel {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow-lg)
}

.demo-viewport {
  overflow: hidden;
  position: relative
}

.demo-track {
  display: flex;
  gap: 16px;
  transition: transform .5s ease
}

.demo-item {
  min-width: 320px;
  flex-shrink: 0
}

.demo-thumb {
  position: relative;
  padding-bottom: 56.25%;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: #fff;
  box-shadow: 0 8px 20px rgba(16, 24, 40, .08)
}

.demo-thumb iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0
}

.demo-item h5 {
  margin-top: 10px;
  font-size: 16px;
  font-weight: 800;
  color: #0f172a
}

.demo-item p {
  color: var(--muted);
  font-size: 14px
}

.demo-controls {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 16px
}

.demo-cbtn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: #fff;
  color: #111827;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: .2s
}

.demo-cbtn:hover {
  background: var(--primary);
  color: #fff;
  transform: translateY(-2px)
}

/* =================== FEATURES =================== */
.demo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
  margin-top: 16px
}

.demo-feature {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 18px;
  text-align: left;
  transition: .25s;
  box-shadow: 0 8px 20px rgba(16, 24, 40, .08)
}

.demo-feature:hover {
  transform: translateY(-4px)
}

.demo-ico {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ecfff4;
  color: var(--primary);
  margin-bottom: 10px;
  font-size: 18px
}

.demo-feature h4 {
  font-size: 16px;
  margin-bottom: 6px
}

.demo-feature p {
  color: var(--muted);
  font-size: 14px
}

/* =================== MODAL =================== */
.demo-modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(15, 23, 42, .45);
  z-index: 1200
}

.demo-modal.show {
  display: flex
}

.demo-modal-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 24px;
  max-width: 520px;
  text-align: center;
  box-shadow: var(--shadow-lg)
}

.demo-modal-card .big {
  font-size: 40px;
  margin-bottom: 8px
}

.demo-modal-card h3 {
  font-size: 20px;
  margin-bottom: 6px;
  font-weight: 800
}

.demo-modal-card p {
  color: var(--muted);
  margin-bottom: 14px
}

/* =================== RESPONSIVE =================== */
@media (max-width: 1024px) {
  .demo-two-col {
    grid-template-columns: 1fr
  }

  .demo-item {
    min-width: 300px
  }
}

@media (max-width: 640px) {
  .demo-hero {
    padding: 74px 18px 44px
  }

  .demo-item {
    min-width: 260px
  }

  .demo-btn {
    padding: 12px 18px
  }
}

/* =================== Contact Pro =================== */
.contact-pro {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  box-shadow: 0 12px 32px rgba(16, 24, 40, .08);
  padding: 24px;
}

.cp-head {
  margin-bottom: 18px
}

.cp-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #f1f5f9;
  color: #0f172a;
  border: 1px solid #e2e8f0;
  padding: 6px 10px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 12px;
}

.cp-kicker i {
  color: #25d366
}

.cp-title {
  margin: 10px 0 6px;
  font-size: 24px;
  font-weight: 800;
  color: #0f172a
}

.cp-sub {
  color: #64748b;
  font-size: 14px
}

.cp-form {
  margin-top: 6px
}

.cp-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.cp-field {
  display: flex;
  flex-direction: column;
  gap: 6px
}

.cp-span-2 {
  grid-column: 1 / -1
}

.cp-field label {
  font-size: 13px;
  font-weight: 800;
  color: #0f172a;
  display: flex;
  align-items: center;
  gap: 8px;
}

.cp-field label i {
  color: #25d366
}

.cp-field input,
.cp-field textarea,
.cp-field select {
  padding: 12px 14px;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  background: #fff;
  color: #0f172a;
  font-size: 14px;
  transition: border-color .2s, box-shadow .2s, transform .06s;
}

.cp-field input:focus,
.cp-field textarea:focus,
.cp-field select:focus {
  outline: none;
  border-color: #25d366;
  box-shadow: 0 0 0 4px rgba(37, 211, 102, .16);
}

.cp-field input:hover,
.cp-field textarea:hover,
.cp-field select:hover {
  border-color: #d1d5db;
}

.cp-field input:active {
  transform: translateY(0px)
}

.cp-field textarea {
  resize: vertical;
  min-height: 110px
}

.cp-hint {
  color: #94a3b8;
  font-size: 12px;
  margin-top: -2px
}

#schedule_time {
  background:
    linear-gradient(180deg, #fff, #fff) padding-box,
    linear-gradient(135deg, rgba(37, 211, 102, .35), rgba(18, 140, 126, .2)) border-box;
  border: 1px solid transparent;
}

#schedule_time:focus {
  border-color: #25d366
}

.cp-checks {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  background: #f8fafc;
  border: 1px dashed #e2e8f0;
  border-radius: 12px;
  padding: 10px 12px;
}

.cp-check {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #334155;
  font-weight: 600;
  font-size: 13px
}

.cp-check input {
  transform: translateY(1px)
}

.cp-btn {
  margin-top: 14px;
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 18px;
  border: none;
  border-radius: 12px;
  background: linear-gradient(135deg, #25d366, #128c7e);
  color: #fff;
  font-weight: 800;
  letter-spacing: .2px;
  cursor: pointer;
  transition: transform .2s, box-shadow .2s;
  box-shadow: 0 12px 28px rgba(37, 211, 102, .25);
}

.cp-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(37, 211, 102, .35)
}

.cp-btn:disabled {
  opacity: .6;
  cursor: not-allowed
}

.cp-alert {
  display: none;
  margin-top: 12px;
  padding: 12px 14px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 14px;
}

.cp-alert.show {
  display: block
}

.cp-alert.success {
  background: #ecfff4;
  border: 1px solid #b7f0cf;
  color: #065f46
}

.cp-alert.error {
  background: #fff1f2;
  border: 1px solid #fecdd3;
  color: #991b1b
}

/* Responsive */
@media (max-width:768px) {
  .cp-grid {
    grid-template-columns: 1fr
  }

  .cp-title {
    font-size: 22px
  }
}

/* Popup shell */
.leadpop {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(15, 23, 42, .45);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.leadpop.is-open {
  display: flex;
  animation: lpFade .18s ease-out
}

@keyframes lpFade {
  from {
    opacity: 0
  }

  to {
    opacity: 1
  }
}

.leadpop__card {
  width: min(640px, 96vw);
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
  padding: 22px 20px 18px;
  position: relative;
  animation: lpUp .2s ease-out;
}

@keyframes lpUp {
  from {
    transform: translateY(8px);
    opacity: .96
  }

  to {
    transform: none;
    opacity: 1
  }
}

.leadpop__close {
  position: absolute;
  top: 10px;
  right: 10px;
  border: 0;
  background: transparent;
  cursor: pointer;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: inline-grid;
  place-items: center;
  color: var(--gray-700);
}

.leadpop__close:hover {
  background: var(--gray-50)
}

.leadpop__head {
  padding: 6px 4px 8px
}

.leadpop__kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--primary-light);
  color: #0b3d2f;
  border: 1px solid var(--primary-200);
  font-weight: 700;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: .9rem;
}

.leadpop__title {
  margin: 10px 0 4px;
  font-size: 1.6rem
}

.leadpop__sub {
  margin: 0;
  color: var(--gray-700)
}

.leadpop__mini {
  margin: 10px 4px 0;
  color: var(--gray-600);
  font-size: .9rem
}

.leadpop__grid {
  margin-top: 12px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.leadpop .form-group {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 6px
}

.leadpop label {
  font-weight: 600;
  color: var(--gray-900);
  font-size: .95rem
}

.leadpop .form-input,
.leadpop select,
.leadpop textarea {
  width: 100%;
  padding: 12px 12px;
  border-radius: 12px;
  border: 1px solid var(--gray-200);
  background: #fff;
  color: var(--gray-900);
  font: inherit;
  transition: border-color .2s ease, box-shadow .2s ease;
}

.leadpop .form-input:focus,
.leadpop select:focus,
.leadpop textarea:focus {
  outline: none;
  border-color: var(--primary-dark);
  box-shadow: var(--focus)
}

.leadpop .checkbox-group {
  grid-column: 1 / -1;
  display: flex;
  align-items: flex-start;
  gap: 10px
}

.leadpop .checkbox-label a {
  color: var(--secondary-dark);
  text-decoration: none
}

.leadpop .submit-btn {
  margin-top: 8px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  border-radius: 999px;
  border: 0;
  cursor: pointer;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #fff;
  font-weight: 700;
  box-shadow: 0 6px 18px rgba(37, 211, 102, .25);
}

.leadpop .submit-btn:disabled {
  opacity: .7;
  cursor: not-allowed
}

.leadpop .form-messages {
  margin-top: 10px
}

.leadpop #successMessage,
.leadpop #errorMessage {
  display: none;
  font-weight: 600;
  padding: 10px 12px;
  border-radius: 10px
}

.leadpop #successMessage {
  background: var(--primary-100);
  color: #0b3d2f;
  border: 1px solid var(--primary-200)
}

.leadpop #errorMessage {
  background: #fee2e2;
  color: #7f1d1d;
  border: 1px solid #fecaca
}

.leadpop .field-error {
  color: #b91c1c;
  font-size: 12px;
  font-weight: 700;
  margin-top: 4px
}

@media (max-width:720px) {
  .leadpop__grid {
    grid-template-columns: 1fr
  }
}

