/* Nobat hero: booking card straddles green/white edge */

/* Never show theme preloader on booking site */
.preloader {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

.wow {
  visibility: visible !important;
}

:root {
  --nobat-header-h: var(--abanteb-header-h, 100px);
  --nobat-card-max-h: 230px;
}

body:has(.nobat-hero) {
  background: #fff;
}

/* First screen = header + hero; booking card lives INSIDE hero.
   overflow must stay visible so specialty/city combo panels can
   paint over the white results section below the banner. */
.nobat-hero {
  position: relative;
  z-index: 20;
  overflow: visible !important;
  justify-content: flex-start !important;
  gap: 8px;
}

/* Keep the whole banner above results/services while a combo is open */
.nobat-hero:has(.nobat-combo.is-open) {
  z-index: 100;
}

.nobat-hero > .container {
  flex: 1 1 auto !important;
  min-height: 0 !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

.nobat-hero > .container > .row {
  align-items: center !important;
  width: 100%;
  min-height: 0;
  height: 100%;
}

.nobat-hero .hero-content {
  margin-top: 0;
  padding-top: 0;
  padding-bottom: 8px;
  margin-bottom: 0;
}

.nobat-hero .section-title {
  margin-bottom: 10px;
}

.nobat-hero .section-title h3 {
  margin-bottom: 6px !important;
  font-size: 14px !important;
}

.nobat-hero .section-title h1 {
  margin-bottom: 8px !important;
  font-size: clamp(28px, 3.2vw, 42px) !important;
  line-height: 1.25 !important;
}

.nobat-hero .section-title p {
  margin-bottom: 0;
  font-size: 14px !important;
  line-height: 1.55 !important;
}

.nobat-hero .hero-content-footer {
  margin-top: 10px !important;
}

.nobat-hero .hero-content-footer h2 {
  margin-bottom: 8px !important;
}

.nobat-hero .hero-image {
  position: relative;
  z-index: 3;
  max-width: min(480px, 100%);
  width: 100%;
  margin-inline: auto 0;
  margin-bottom: 0;
  max-height: 100%;
}

.nobat-hero .hero-img,
.nobat-hero .hero-img figure {
  margin: 0;
  max-height: 100%;
  line-height: 0;
}

.nobat-hero .hero-img img {
  width: 100%;
  max-height: min(420px, calc(var(--abanteb-hero-min-h, 70vh) - var(--nobat-card-max-h) - 48px));
  height: auto;
  display: block;
  aspect-ratio: auto;
  object-fit: contain;
  object-position: center bottom;
}

/* Badge sits under hero copy (not over the woman image) */
.nobat-hero .company-experience {
  position: relative;
  inset: auto;
  bottom: auto;
  right: auto;
  left: auto;
  width: min(260px, 100%);
  margin: 8px 0 0;
  z-index: 1;
  padding: 10px 14px !important;
}

.nobat-hero .company-experience h3 {
  font-size: 22px !important;
  margin: 0 0 2px !important;
}

.nobat-hero .company-experience p {
  font-size: 12px !important;
  margin: 0 !important;
  line-height: 1.35 !important;
}

/* Card sits at bottom of banner — fully visible, no scroll into page 2 */
.nobat-booking-wrap {
  position: relative !important;
  left: auto !important;
  right: auto !important;
  top: auto !important;
  bottom: auto !important;
  z-index: 60;
  transform: none !important;
  margin: 0 !important;
  padding: 0 0 4px !important;
  pointer-events: auto;
  flex: 0 0 auto !important;
  width: 100%;
}

.nobat-booking-wrap .container {
  pointer-events: auto;
  position: relative;
  z-index: 61;
  overflow: visible;
}

.nobat-booking-card {
  position: relative;
  z-index: 62;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.16);
  padding: 12px 14px 10px;
  border: 1px solid rgba(226, 232, 240, 0.9);
  overflow: visible;
  max-height: none;
}

.nobat-booking-card__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}

.nobat-booking-card__head h2 {
  margin: 0 0 2px;
  font-size: 17px;
  color: #0f172a;
  line-height: 1.3;
}

.nobat-booking-card__head p {
  margin: 0;
  color: #64748b;
  font-size: 12px;
}

/* Next section starts cleanly below the first viewport */
.nobat-results-section {
  position: relative;
  z-index: 1;
  background: #fff;
  padding: 28px 0 8px;
}

.nobat-results-section:has(.nobat-search-results.is-open) {
  padding-bottom: 28px;
}

.nobat-search-form {
  width: 100%;
  max-width: none;
}

.nobat-search-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1.4fr auto;
  gap: 8px;
  align-items: end;
  background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 10px;
  overflow: visible;
}

.nobat-search-field {
  display: flex;
  flex-direction: column;
  gap: 7px;
  min-width: 0;
}

.nobat-search-field--grow {
  min-width: 0;
}

.nobat-search-field label {
  color: #334155;
  font-size: 13px;
  font-weight: 600;
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.nobat-search-field label i {
  color: #0284c7;
  font-size: 13px;
}

.nobat-search-field input {
  height: 42px;
  border-radius: 12px;
  border: 1px solid #cbd5e1;
  background: #fff;
  color: #0f172a;
  padding: 0 12px;
  font-size: 14px;
  width: 100%;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.nobat-search-field input::placeholder {
  color: #94a3b8;
}

.nobat-search-field input:focus {
  outline: none;
  border-color: #38bdf8;
  box-shadow: 0 0 0 4px rgba(14, 165, 233, 0.18);
}

.nobat-combo {
  position: relative;
  z-index: 1;
}

.nobat-combo.is-open {
  z-index: 80;
}

.nobat-combo__control {
  position: relative;
  display: flex;
  align-items: center;
}

.nobat-combo__trigger {
  width: 100%;
  height: 42px;
  border-radius: 12px;
  border: 1px solid #cbd5e1;
  background: #fff;
  color: #0f172a;
  padding: 0 42px 0 14px;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  cursor: pointer;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.nobat-combo.has-value .nobat-combo__trigger {
  padding-left: 40px;
}

.nobat-combo__trigger:hover,
.nobat-combo.is-open .nobat-combo__trigger {
  border-color: #38bdf8;
  box-shadow: 0 0 0 4px rgba(14, 165, 233, 0.18);
}

.nobat-combo__value {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  text-align: right;
  flex: 1;
}

.nobat-combo__value[data-placeholder="true"] {
  color: #94a3b8;
}

.nobat-combo__chevron {
  color: #64748b;
  font-size: 12px;
  transition: transform 0.15s ease;
  flex-shrink: 0;
}

.nobat-combo.is-open .nobat-combo__chevron {
  transform: rotate(180deg);
}

.nobat-combo__clear {
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 26px;
  height: 26px;
  border: 0;
  border-radius: 50%;
  background: #fee2e2;
  color: #b91c1c;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  line-height: 1;
}

.nobat-combo__clear:hover,
.nobat-combo__clear:focus-visible {
  background: #fecaca;
  outline: none;
}

.nobat-combo__clear i {
  font-size: 12px;
}

.nobat-combo__panel {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  left: 0;
  z-index: 90;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.16);
  overflow: hidden;
}

.nobat-combo__search {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border-bottom: 1px solid #eef2f7;
  background: #f8fafc;
}

.nobat-combo__search i {
  color: #94a3b8;
  font-size: 13px;
}

.nobat-combo__search input {
  height: 36px !important;
  border: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
  padding: 0 !important;
  font-size: 14px !important;
}

.nobat-combo__list {
  list-style: none;
  margin: 0;
  padding: 6px;
  max-height: 220px;
  overflow-y: auto;
}

.nobat-combo__option {
  padding: 10px 12px;
  border-radius: 10px;
  cursor: pointer;
  color: #0f172a;
  font-size: 14px;
}

.nobat-combo__option:hover,
.nobat-combo__option:focus-visible {
  background: #f0f9ff;
  outline: none;
}

.nobat-combo__option.is-selected {
  background: #e0f2fe;
  color: #0369a1;
  font-weight: 700;
}

.nobat-combo__empty {
  padding: 14px 12px;
  text-align: center;
  color: #94a3b8;
  font-size: 13px;
}

.nobat-search-btn {
  height: 42px !important;
  min-width: 190px;
  white-space: nowrap;
  margin: 0 !important;
  border-radius: 12px !important;
  padding: 0 14px !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 8px;
  overflow: hidden;
  line-height: 1.2 !important;
}

.nobat-search-btn::before,
.nobat-search-btn::after {
  display: none !important;
  content: none !important;
}

.nobat-search-btn__icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.nobat-search-btn__icon i {
  font-size: 14px;
  color: #fff;
  line-height: 1;
}

.nobat-search-btn__text {
  position: relative;
  z-index: 1;
  font-size: 14px;
  font-weight: 700;
}

.nobat-specialty-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
  max-width: none;
  max-height: 34px;
  overflow: hidden;
}

@media (max-width: 991px) {
  .nobat-hero > .container {
    justify-content: flex-end;
  }

  .nobat-hero .hero-image {
    max-width: 420px;
    margin-inline: auto;
  }

  .nobat-hero .hero-img img {
    max-height: min(360px, calc(var(--abanteb-hero-min-h, 70vh) - 260px));
  }

  .nobat-search-grid {
    grid-template-columns: 1fr 1fr;
  }

  .nobat-search-btn {
    grid-column: 1 / -1;
    width: 100%;
  }
}

@media (max-width: 767px) {
  .nobat-hero {
    padding-top: 4px !important;
  }

  .nobat-hero .hero-content {
    padding-bottom: 28px;
  }

  .nobat-hero .company-experience {
    width: min(260px, 100%);
  }

  .nobat-hero .hero-image {
    max-width: 320px;
  }

  .nobat-hero .hero-img img {
    max-height: min(280px, 40vh);
  }

  .nobat-booking-card {
    border-radius: 16px;
    padding: 12px;
    max-height: none;
  }

  .nobat-booking-card__head {
    flex-direction: column;
  }

  .nobat-search-grid {
    grid-template-columns: 1fr;
  }

  .nobat-result-item {
    flex-wrap: wrap;
  }

  .nobat-result-cta {
    width: 100%;
    text-align: center;
  }
}

.nobat-specialty-chip {
  border: 1px solid #dbeafe;
  background: #eff6ff;
  color: #075985;
  border-radius: 999px;
  padding: 5px 10px;
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}

.nobat-specialty-chip:hover,
.nobat-specialty-chip:focus-visible {
  background: #dbeafe;
  border-color: #7dd3fc;
  outline: none;
  transform: translateY(-1px);
}

.nobat-search-results {
  margin-top: 0;
  max-width: none;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
  border: 1px solid #e2e8f0;
  overflow: hidden;
  color: #1e293b;
}

.nobat-search-results[hidden] {
  display: none !important;
}

.nobat-search-results.is-open {
  display: block;
}

.nobat-result-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border-bottom: 1px solid #eef2f7;
  text-decoration: none;
  color: inherit;
  transition: background 0.15s ease;
}

.nobat-result-item:last-child {
  border-bottom: 0;
}

.nobat-result-item:hover,
.nobat-result-item:focus-visible {
  background: #f0f9ff;
  outline: none;
}

.nobat-result-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  background: linear-gradient(135deg, #0ea5e9, #0369a1);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  flex-shrink: 0;
}

.nobat-result-avatar img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}

.nobat-result-meta {
  flex: 1;
  min-width: 0;
}

.nobat-result-meta h4 {
  margin: 0 0 4px;
  font-size: 16px;
  color: #0f172a;
}

.nobat-result-meta p {
  margin: 0;
  font-size: 13px;
  color: #64748b;
}

.nobat-result-cta {
  font-size: 13px;
  font-weight: 700;
  color: #0284c7;
  white-space: nowrap;
  background: #e0f2fe;
  border-radius: 999px;
  padding: 8px 12px;
}

.nobat-search-status {
  padding: 20px 16px;
  text-align: center;
  color: #64748b;
  font-size: 14px;
}

.nobat-search-status--error {
  color: #b91c1c;
}

/* ---- Patient service cards (Doctoreto-style strip) ---- */
.nobat-services {
  position: relative;
  z-index: 1;
  background: #fff;
  padding: 0 0 72px;
  overflow: hidden;
}

.nobat-services__band {
  position: absolute;
  inset: 0 0 auto;
  height: 280px;
  background:
    radial-gradient(circle at 12% 40%, rgba(255, 255, 255, 0.12) 0 2px, transparent 3px),
    radial-gradient(circle at 48% 70%, rgba(255, 255, 255, 0.1) 0 1.5px, transparent 2.5px),
    radial-gradient(circle at 82% 28%, rgba(255, 255, 255, 0.12) 0 2px, transparent 3px),
    linear-gradient(135deg, #0e7490 0%, #0369a1 48%, #0f766e 100%);
  opacity: 1;
}

.nobat-services__band::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='72' height='72' viewBox='0 0 72 72'%3E%3Cg fill='none' stroke='%23ffffff' stroke-opacity='0.12' stroke-width='1.4'%3E%3Cpath d='M24 18h8v8h8v8h-8v8h-8v-8h-8v-8h8z'/%3E%3Ccircle cx='52' cy='48' r='6'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 72px 72px;
  opacity: 0.9;
  pointer-events: none;
}

.nobat-services > .container {
  position: relative;
  z-index: 2;
  padding-top: 36px;
}

.nobat-services__intro {
  max-width: 720px;
  margin: 0 auto 28px;
  text-align: center;
  color: #fff;
}

.nobat-services__intro h2 {
  margin: 0 0 10px;
  font-size: clamp(22px, 2.4vw, 32px);
  font-weight: 800;
  line-height: 1.35;
  color: #fff;
}

.nobat-services__intro p {
  margin: 0 auto 18px;
  max-width: 560px;
  font-size: 14px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.9);
}

.nobat-services__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  padding: 10px 22px;
  border-radius: 999px;
  background: #fff;
  color: #0f766e !important;
  font-size: 15px;
  font-weight: 800;
  text-decoration: none !important;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.18);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.nobat-services__cta:hover {
  transform: translateY(-2px);
  background: #ecfeff;
  box-shadow: 0 14px 28px rgba(15, 23, 42, 0.22);
  color: #115e59 !important;
}

.nobat-services__cta i {
  font-size: 13px;
}

.nobat-services__grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
}

.nobat-svc-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  text-decoration: none !important;
  background: #fff;
  border-radius: 18px;
  padding: 14px 12px 18px;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.1);
  border: 1px solid rgba(226, 232, 240, 0.95);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  color: inherit;
}

.nobat-svc-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.14);
}

.nobat-svc-card__media {
  width: 100%;
  aspect-ratio: 1.25 / 1;
  border-radius: 14px;
  display: grid;
  place-items: center;
  margin-bottom: 14px;
  font-size: 34px;
  color: #fff;
}

.nobat-svc-card__media--teal {
  background: linear-gradient(145deg, #2dd4bf, #0f766e);
}
.nobat-svc-card__media--blue {
  background: linear-gradient(145deg, #38bdf8, #0284c7);
}
.nobat-svc-card__media--violet {
  background: linear-gradient(145deg, #c4b5fd, #7c3aed);
}
.nobat-svc-card__media--rose {
  background: linear-gradient(145deg, #fda4af, #e11d48);
}
.nobat-svc-card__media--amber {
  background: linear-gradient(145deg, #fcd34d, #d97706);
}
.nobat-svc-card__media--cyan {
  background: linear-gradient(145deg, #67e8f9, #0891b2);
}
.nobat-svc-card__media--green {
  background: linear-gradient(145deg, #86efac, #16a34a);
}
.nobat-svc-card__media--orange {
  background: linear-gradient(145deg, #fdba74, #ea580c);
}
.nobat-svc-card__media--indigo {
  background: linear-gradient(145deg, #a5b4fc, #4f46e5);
}
.nobat-svc-card__media--sky {
  background: linear-gradient(145deg, #7dd3fc, #0369a1);
}

.nobat-svc-card h3 {
  margin: 0 0 6px;
  font-size: 15px;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.35;
}

.nobat-svc-card p {
  margin: 0;
  font-size: 12px;
  color: #64748b;
  line-height: 1.5;
}

.nobat-svc-card__badge {
  position: absolute;
  top: 8px;
  left: 8px;
  background: #e11d48;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 999px;
  box-shadow: 0 4px 10px rgba(225, 29, 72, 0.35);
}

@media (max-width: 1199px) {
  .nobat-services__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 991px) {
  .nobat-services__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .nobat-services__band {
    height: 260px;
  }

  .nobat-services__intro h2 {
    font-size: 22px;
  }

  .nobat-services__intro p {
    font-size: 13px;
  }
}

@media (max-width: 767px) {
  .nobat-services {
    padding-bottom: 48px;
  }

  .nobat-services > .container {
    padding-top: 40px;
  }

  .nobat-services__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .nobat-svc-card {
    padding: 12px 10px 14px;
    border-radius: 14px;
  }

  .nobat-svc-card__media {
    font-size: 28px;
    border-radius: 12px;
    margin-bottom: 10px;
  }

  .nobat-svc-card h3 {
    font-size: 13px;
  }
}

@media (max-width: 420px) {
  .nobat-services__grid {
    grid-template-columns: 1fr;
  }
}

/* Match home footer logo (same asset + treatment as synaps-home.css) */
.footer-logo img {
  height: 56px;
  width: auto;
  max-width: 200px;
  object-fit: contain;
}

.main-footer .footer-logo img {
  filter: brightness(0) invert(1);
  opacity: 0.95;
}

