:root {
  --nexus-bg-glass: rgba(0, 0, 0, 0.46);
  --nexus-bg-glass-strong: rgba(0, 0, 0, 0.62);
  --nexus-border: rgba(73, 222, 197, 0.24);
  --nexus-border-strong: rgba(73, 222, 197, 0.5);
  --nexus-text: #d8fbff;
  --nexus-text-soft: rgba(216, 251, 255, 0.88);
  --nexus-accent: #49dec5;
  --nexus-accent-2: #91f5ff;
  --nexus-shadow: 0 0 30px rgba(73, 222, 197, 0.12);
  --nexus-radius: 26px;
  --nexus-width: min(1180px, 92vw);
}

body.page-template-page-booking,
body.page-template-page-booking-php,
body.page-booking {
  background: #000;
  overflow-x: clip;
}

body.page-template-page-booking #booking-page-content,
body.page-template-page-booking-php #booking-page-content,
body.page-booking #booking-page-content {
  position: relative;
  width: 100%;
  z-index: 1;
}

body.page-template-page-booking #menu,
body.page-template-page-booking-php #menu,
body.page-booking #menu {
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.92), rgba(0, 0, 0, 0.72));
  backdrop-filter: blur(10px);
}

body.admin-bar.page-template-page-booking #menu,
body.admin-bar.page-template-page-booking-php #menu,
body.admin-bar.page-booking #menu {
  top: 32px;
}

.nexus-booking-page .content-padding {
  width: var(--nexus-width);
  margin-left: auto !important;
  margin-right: auto !important;
  padding: 0;
  text-align: center;
  background: transparent;
}

.nexus-booking-page .section-shell {
  position: relative;
  width: 100%;
}

.nexus-booking-page h1,
.nexus-booking-page h2,
.nexus-booking-page h3,
.nexus-booking-page h4,
.nexus-booking-page p,
.nexus-booking-page li,
.nexus-booking-page a,
.nexus-booking-page span,
.nexus-booking-page label,
.nexus-booking-page button {
  color: var(--nexus-text);
}

.nexus-section-kicker {
  color: var(--nexus-accent);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.82rem;
  font-weight: 600;
}

.nexus-section-title {
  font-size: clamp(2.25rem, 5vw, 4.1rem);
  line-height: 1.04;
  font-weight: 700;
  margin: 0.4rem 0 1rem;
  justify-content: center;
}

.nexus-section-text {
  max-width: 860px;
  margin: 0 auto;
  font-size: clamp(1rem, 1.5vw, 1.18rem);
  line-height: 1.72;
  color: var(--nexus-text-soft);
}

.nexus-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 0.95rem 1.5rem;
  border-radius: 999px;
  border: 1px solid var(--nexus-border-strong);
  text-decoration: none;
  font-size: 1rem;
  font-weight: 600;
  transition:
    transform 0.22s ease,
    background 0.22s ease,
    border-color 0.22s ease,
    box-shadow 0.22s ease,
    color 0.22s ease;
}

.nexus-button:hover {
  transform: translateY(-2px);
}

.nexus-button--primary {
  background: linear-gradient(135deg, rgba(73, 222, 197, 0.22), rgba(145, 245, 255, 0.1));
  box-shadow: var(--nexus-shadow);
}

.nexus-button--primary:hover {
  background: linear-gradient(135deg, rgba(73, 222, 197, 0.34), rgba(145, 245, 255, 0.16));
  border-color: rgba(145, 245, 255, 0.72);
}

.nexus-button--secondary {
  background: rgba(0, 0, 0, 0.34);
  backdrop-filter: blur(8px);
}

.nexus-button--secondary:hover {
  background: rgba(73, 222, 197, 0.1);
}

.nexus-booking-hero {
  padding: 8rem 0 1.15rem;
}

.nexus-booking-hero__inner {
  max-width: 1100px;
  margin: 0 auto;
}

.nexus-booking-hero__title {
  max-width: 13ch;
  margin-left: auto;
  margin-right: auto;
}

.nexus-booking-hero__text {
  max-width: 820px;
}

.nexus-booking-hero__actions {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 1.35rem;
}

.nexus-booking-hero__form-shell {
  max-width: 1020px;
  margin: 1.9rem auto 0;
}

.nexus-booking-card--hero-form {
  text-align: left;
  overflow: hidden;
}

.nexus-booking-card--hero-form > * {
  min-width: 0;
}

.nexus-booking-intro {
  padding: 1rem 0 2rem;
}

.nexus-booking-intro__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.2rem;
}

.nexus-booking-info-card,
.nexus-booking-card {
  border: 1px solid var(--nexus-border);
  border-radius: 30px;
  background: var(--nexus-bg-glass);
  backdrop-filter: blur(10px);
  box-shadow: var(--nexus-shadow);
}

.nexus-booking-info-card {
  padding: 1.45rem 1.25rem;
  text-align: left;
}

.nexus-booking-info-card h3 {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  margin: 0 0 0.8rem;
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  line-height: 1.15;
  color: var(--nexus-accent-2);
}

.nexus-booking-info-card p {
  margin: 0;
  line-height: 1.7;
  color: var(--nexus-text-soft);
}

.nexus-booking-main {
  padding: 0.85rem 0 4.5rem;
}

.nexus-booking-main__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: 1.2rem;
  align-items: start;
}

.nexus-booking-card {
  padding: 1.7rem 1.5rem;
  text-align: left;
}

.nexus-booking-card__header {
  margin-bottom: 1.3rem;
}

.nexus-booking-card__title {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  margin: 0 0 0.9rem;
  font-size: clamp(1.7rem, 2.8vw, 2.5rem);
  line-height: 1.05;
  color: var(--nexus-accent-2);
}

.nexus-booking-card__text,
.nexus-booking-card p {
  line-height: 1.72;
  color: var(--nexus-text-soft);
}

.nexus-booking-side-column {
  display: grid;
  gap: 1.2rem;
}

.nexus-booking-side-meta {
  grid-template-columns: 1fr;
  gap: 0.9rem;
  max-width: none;
  margin: 0;
}

.nexus-booking-side-meta .nexus-page-hero__meta-card {
  min-height: auto;
}

.nexus-booking-card--side h3 {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  margin: 0 0 1rem;
  font-size: clamp(1.45rem, 2.1vw, 2rem);
  line-height: 1.06;
  color: var(--nexus-accent-2);
}

.nexus-booking-card--side h3 svg {
  flex: 0 0 auto;
  margin-top: 0.08rem;
}

.nexus-booking-card--cta h3 {
  max-width: 8.8ch;
  font-size: clamp(1.35rem, 1.85vw, 1.85rem);
}

.nexus-booking-card--cta p {
  max-width: 30ch;
}

.nexus-bullet-list {
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.65rem;
}

.nexus-bullet-list li {
  position: relative;
  padding-left: 1.15rem;
  line-height: 1.6;
  color: var(--nexus-text-soft);
}

.nexus-bullet-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--nexus-accent);
  box-shadow: 0 0 12px rgba(73, 222, 197, 0.4);
}

.nexus-booking-steps {
  display: grid;
  gap: 1rem;
}

.nexus-booking-step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.9rem;
  align-items: start;
}

.nexus-step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 46px;
  min-height: 46px;
  border-radius: 999px;
  border: 1px solid var(--nexus-border-strong);
  background: rgba(73, 222, 197, 0.12);
  color: var(--nexus-accent-2);
  font-weight: 700;
  letter-spacing: 0.08em;
}

.nexus-booking-step h4 {
  margin: 0 0 0.25rem;
  font-size: 1rem;
  color: var(--nexus-accent-2);
}

.nexus-booking-step p {
  margin: 0;
}

.nexus-booking-side-actions {
  display: grid;
  gap: 0.8rem;
  margin-top: 1.1rem;
}

.nexus-booking-side-actions .nexus-button {
  width: 100%;
}

.nexus-booking-plugin-shell {
  margin-top: 0.5rem;
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

.nexus-booking-plugin-shell,
.nexus-booking-plugin-shell *,
.nexus-booking-plugin-shell *::before,
.nexus-booking-plugin-shell *::after {
  box-sizing: border-box;
}

.nexus-booking-plugin-shell .nb-booking-wrap,
.nexus-booking-plugin-shell .nb-booking-form,
.nexus-booking-plugin-shell .nb-field,
.nexus-booking-plugin-shell .nb-field-grid,
.nexus-booking-plugin-shell .nb-slot-picker,
.nexus-booking-plugin-shell .nb-slot-grid,
.nexus-booking-plugin-shell .nb-actions,
.nexus-booking-plugin-shell .nb-turnstile-wrap {
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

.nexus-booking-plugin-shell .nb-field label,
.nexus-booking-plugin-shell .nb-timezone-note,
.nexus-booking-plugin-shell .nb-slot-empty {
  overflow-wrap: anywhere;
}

.nexus-booking-plugin-shell form {
  display: grid;
  gap: 1rem;
}

.nexus-booking-plugin-shell label {
  display: grid;
  gap: 0.45rem;
  font-weight: 500;
}

.nexus-booking-plugin-shell input[type="text"],
.nexus-booking-plugin-shell input[type="email"],
.nexus-booking-plugin-shell input[type="tel"],
.nexus-booking-plugin-shell input[type="url"],
.nexus-booking-plugin-shell input[type="date"],
.nexus-booking-plugin-shell input[type="time"],
.nexus-booking-plugin-shell select,
.nexus-booking-plugin-shell textarea {
  width: 100%;
  min-height: 54px;
  padding: 0.9rem 1rem;
  border-radius: 18px;
  border: 1px solid rgba(145, 245, 255, 0.18);
  background: rgba(0, 0, 0, 0.34);
  color: var(--nexus-text);
  font: inherit;
  transition: border-color 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
}

.nexus-booking-plugin-shell textarea {
  min-height: 150px;
  resize: vertical;
}

.nexus-booking-plugin-shell .nb-booking-form select,
.nexus-booking-plugin-shell .nb-booking-form input[type="date"],
.nexus-booking-plugin-shell .nb-booking-form input[type="text"],
.nexus-booking-plugin-shell .nb-booking-form input[type="email"],
.nexus-booking-plugin-shell .nb-booking-form input[type="tel"],
.nexus-booking-plugin-shell .nb-booking-form input[type="url"],
.nexus-booking-plugin-shell .nb-booking-form textarea,
.nexus-booking-plugin-shell .nb-readonly-field {
  display: block;
  max-width: 100%;
  min-width: 0;
}

.nexus-booking-plugin-shell .cf-turnstile,
.nexus-booking-plugin-shell .cf-turnstile iframe {
  max-width: 100%;
}

.nexus-booking-plugin-shell input:focus,
.nexus-booking-plugin-shell select:focus,
.nexus-booking-plugin-shell textarea:focus {
  outline: none;
  border-color: rgba(145, 245, 255, 0.65);
  box-shadow: 0 0 0 3px rgba(145, 245, 255, 0.08);
  background: rgba(0, 0, 0, 0.48);
}

.nexus-booking-plugin-shell button,
.nexus-booking-plugin-shell input[type="submit"],
.nexus-booking-plugin-shell .button,
.nexus-booking-plugin-shell .wp-element-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 0.95rem 1.5rem;
  border-radius: 999px;
  border: 1px solid var(--nexus-border-strong);
  background: linear-gradient(135deg, rgba(73, 222, 197, 0.22), rgba(145, 245, 255, 0.1));
  box-shadow: var(--nexus-shadow);
  color: var(--nexus-text);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  transition:
    transform 0.22s ease,
    background 0.22s ease,
    border-color 0.22s ease,
    box-shadow 0.22s ease,
    color 0.22s ease;
}

.nexus-booking-plugin-shell button:hover,
.nexus-booking-plugin-shell input[type="submit"]:hover,
.nexus-booking-plugin-shell .button:hover,
.nexus-booking-plugin-shell .wp-element-button:hover {
  transform: translateY(-2px);
  background: linear-gradient(135deg, rgba(73, 222, 197, 0.34), rgba(145, 245, 255, 0.16));
  border-color: rgba(145, 245, 255, 0.72);
}

.nexus-booking-plugin-shell .availability-message,
.nexus-booking-plugin-shell .nexus-booking-message,
.nexus-booking-plugin-shell .notice,
.nexus-booking-plugin-shell .form-message {
  padding: 1rem 1rem;
  border-radius: 18px;
  border: 1px solid rgba(145, 245, 255, 0.18);
  background: rgba(73, 222, 197, 0.08);
  color: var(--nexus-text-soft);
}

.nexus-booking-plugin-fallback {
  padding: 1rem;
  border-radius: 18px;
  border: 1px solid rgba(145, 245, 255, 0.18);
  background: rgba(0, 0, 0, 0.3);
}

@media (max-width: 1100px) {
  .nexus-booking-intro__grid,
  .nexus-booking-main__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .nexus-booking-side-column {
    grid-template-columns: 1fr 1fr;
  }

  .nexus-booking-side-meta {
    grid-column: 1 / -1;
  }
}

@media (max-width: 768px) {
  body.admin-bar.page-template-page-booking #menu-mobile,
  body.admin-bar.page-template-page-booking-php #menu-mobile,
  body.admin-bar.page-booking #menu-mobile {
    top: 46px;
  }

  .nexus-booking-hero {
    padding: 6.35rem 0 0.85rem;
  }

  .nexus-booking-hero__title {
    max-width: none;
    font-size: clamp(2.05rem, 9vw, 3rem);
    margin-bottom: 0.75rem;
  }

  .nexus-booking-hero__text {
    max-width: 34ch;
    line-height: 1.65;
    font-size: 0.98rem;
  }

  .nexus-booking-hero__actions .nexus-button {
    width: 100%;
    max-width: 360px;
  }

  .nexus-booking-hero__actions {
    gap: 0.75rem;
    margin-top: 1rem;
  }

  .nexus-booking-hero__form-shell {
    margin-top: 1.15rem;
  }

  .nexus-booking-main__grid,
  .nexus-booking-side-column {
    grid-template-columns: 1fr;
  }

  .nexus-booking-side-meta {
    gap: 0.8rem;
  }

  .nexus-booking-info-card,
  .nexus-booking-card {
    border-radius: 22px;
  }

  .nexus-booking-card {
    padding: 1.2rem 1.05rem;
  }

  .nexus-booking-card__header {
    margin-bottom: 1rem;
  }

  .nexus-booking-card__title {
    font-size: clamp(1.45rem, 7.5vw, 2rem);
    margin-bottom: 0.7rem;
  }

  .nexus-booking-card__text,
  .nexus-booking-card p,
  .nexus-bullet-list li {
    font-size: 0.95rem;
    line-height: 1.6;
  }

  .nexus-booking-plugin-shell input[type="text"],
  .nexus-booking-plugin-shell input[type="email"],
  .nexus-booking-plugin-shell input[type="tel"],
  .nexus-booking-plugin-shell input[type="url"],
  .nexus-booking-plugin-shell input[type="date"],
  .nexus-booking-plugin-shell input[type="time"],
  .nexus-booking-plugin-shell select,
  .nexus-booking-plugin-shell textarea {
    min-height: 50px;
    padding: 0.82rem 0.9rem;
    border-radius: 16px;
  }

  .nexus-booking-plugin-shell form {
    gap: 0.85rem;
  }

  .nexus-booking-plugin-shell label,
  .nexus-booking-plugin-shell .nb-field {
    gap: 0.35rem;
  }

  .nexus-booking-plugin-shell .nb-actions {
    margin-top: 0.35rem;
  }

  .nexus-booking-main {
    padding: 0.45rem 0 3.3rem;
  }

  .nexus-booking-main__grid {
    gap: 0.9rem;
  }

  .nexus-booking-side-actions {
    gap: 0.65rem;
    margin-top: 0.9rem;
  }

  .nexus-booking-card--cta h3 {
    max-width: none;
    font-size: 1.45rem;
  }

  .nexus-booking-card--cta p {
    max-width: none;
  }
}

@media (max-width: 520px) {
  .nexus-section-title {
    font-size: clamp(1.75rem, 8.5vw, 2.5rem);
  }

  .nexus-booking-hero__text {
    max-width: 31ch;
    font-size: 0.95rem;
  }

  .nexus-booking-hero__actions .nexus-button,
  .nexus-booking-side-actions .nexus-button {
    min-height: 52px;
  }

  .nexus-booking-card--cta h3 {
    font-size: 1.3rem;
  }

  .nexus-booking-info-card h3,
  .nexus-booking-card h3 {
    font-size: 1.3rem;
  }

  .nexus-booking-step {
    grid-template-columns: 1fr;
  }

  .nexus-booking-side-meta {
    gap: 0.7rem;
  }
}

@media (max-width: 640px) {
  .nexus-booking-page .content-padding {
    width: min(100%, calc(100vw - 0.5rem));
  }

  .nexus-booking-card {
    padding: 0.95rem 0.72rem;
  }

  .nexus-booking-plugin-shell .nb-field-grid,
  .nexus-booking-plugin-shell .nb-slot-grid {
    grid-template-columns: 1fr;
  }

  .nexus-booking-plugin-shell .nb-booking-form select,
  .nexus-booking-plugin-shell .nb-booking-form input[type="date"],
  .nexus-booking-plugin-shell .nb-booking-form input[type="text"],
  .nexus-booking-plugin-shell .nb-booking-form input[type="email"],
  .nexus-booking-plugin-shell .nb-booking-form input[type="tel"],
  .nexus-booking-plugin-shell .nb-booking-form input[type="url"],
  .nexus-booking-plugin-shell .nb-booking-form textarea,
  .nexus-booking-plugin-shell .nb-readonly-field,
  .nexus-booking-plugin-shell .nb-slot-empty {
    min-height: 48px;
    padding: 0.74rem 0.85rem;
  }
}

@media (max-width: 360px) {
  .nexus-booking-plugin-shell .nb-turnstile-wrap {
    overflow: hidden;
    min-height: 62px;
  }

  .nexus-booking-plugin-shell .cf-turnstile {
    transform: scale(0.92);
    transform-origin: left top;
  }
}
