/* =========================================================
   NEWSPAPER BOOKING SECTION
========================================================= */

.booking-section {
  --booking-primary: #0875be;
  --booking-primary-dark: #05629f;
  --booking-text: #18212b;
  --booking-muted: #697586;
  --booking-border: #e3e7ec;
  --booking-surface: #ffffff;

  padding: 76px 24px;
  /* background: #f8f9fb; */
  color: var(--booking-text);
  font-family: inherit;
}

.booking-section {
  font-family: 'DM Sans', sans-serif;
}

.booking-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;

  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 40px;

  align-items: center;
}

/* =========================================================
   LEFT CONTENT
========================================================= */

.booking-intro {
  /* max-width: 940px; */
}

.booking-eyebrow {
  display: inline-block;
  margin-bottom: 22px;

  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.6px;

  color: var(--booking-primary);
}

.booking-intro h1 {
  margin: 0 0 20px;

  font-size: clamp(32px, 3.4vw, 46px);
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -1.5px;

  color: var(--booking-text);
}

.booking-description {
  max-width: 410px;
  margin: 0;

  font-size: 16px;
  line-height: 1.8;

  color: var(--booking-muted);
}

/* Benefits */

.booking-benefits {
  display: flex;
  flex-direction: column;
  gap: 26px;

  margin-top: 48px;
}

.booking-benefit {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.booking-benefit-icon {
  width: 42px;
  height: 42px;
  flex-shrink: 0;

  display: flex;
  align-items: center;
  justify-content: center;

  /* background: #eef5fa; */
  border-radius: 9px;

  color: var(--booking-primary);
}

.booking-benefit-icon svg {
  width: 21px;
  height: 21px;
}

.booking-benefit h3 {
  margin: 0 0 5px;

  font-size: 15px;
  font-weight: 600;
}

.booking-benefit p {
  margin: 0;

  font-size: 13px;
  line-height: 1.6;

  color: var(--booking-muted);
}

/* Contact */

.booking-contact {
  margin-top: 48px;
  padding-top: 24px;

  border-top: 1px solid var(--booking-border);
}

.booking-contact-label {
  margin: 0 0 16px;

  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;

  color: var(--booking-muted);
}

.booking-contact-link {
  display: flex;
  flex-direction: column;
  gap: 4px;

  width: fit-content;
  margin-bottom: 15px;

  text-decoration: none !important;
}

.booking-contact-link span {
  font-size: 12px;
  color: var(--booking-muted);
}

.booking-contact-link strong {
  font-size: 15px;
  font-weight: 600;
  color: var(--booking-text);

  transition: color 0.2s ease;
}

.booking-contact-link:hover strong {
  color: var(--booking-primary);
}
.booking-contact-link:last-child:hover strong {
  color: rgb(6, 143, 35) !important;
}

/* =========================================================
   FORM CARD
========================================================= */

.booking-form-card {
  padding: 38px 40px;

  /* background: url('/unicom-advertising/booking/assets/images/bg-1.png') no-repeat center center / cover
    var(--booking-surface); */

  border: 1px solid #e9edf1;
  border-radius: 18px;

  box-shadow: 0 8px 25px rgba(25, 40, 55, 0.15);

  position: relative;
}

.booking-form-card::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1; /* Pushes the image behind the text */

  /* Apply your background image and opacity here */
  background: url('/booking/assets/images/bg-1.png') no-repeat center center / cover;
  opacity: 0.35; /* Adjust this value (0.0 to 1.0) for your desired transparency */

  /* Optional: keeps your background surface color underneath the faded image */
  background-color: var(--booking-surface);
}

.booking-form-header {
  margin-bottom: 30px;
}

.booking-form-step {
  display: inline-block;
  margin-bottom: 12px;

  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.2px;

  color: var(--booking-primary);
}

.booking-form-header h2 {
  margin: 0 0 8px;

  font-size: 27px;
  font-weight: 600;
  letter-spacing: -0.6px;

  color: var(--booking-text);
}

.booking-form-header p {
  margin: 0;

  font-size: 14px;
  color: var(--booking-muted);
}

/* =========================================================
   FORM FIELDS
========================================================= */

.booking-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px 18px;
}

.booking-field {
  min-width: 0;
}

.booking-field.full-width {
  grid-column: 1 / -1;
}

.booking-field > label,
.booking-newspaper-heading > label {
  display: block;
  margin-bottom: 9px;

  font-size: 13px;
  font-weight: 700;

  color: #303b48;
}

.booking-field label > span,
.booking-newspaper-heading label > span {
  /* color: #d64a4a; */
}

.booking-field input,
.booking-field select {
  width: 100%;
  height: 49px;

  padding: 0 14px;

background: rgb(255, 255, 255, 0.85);

  border: 1px solid var(--booking-border);
  border-radius: 12px;

  outline: none;

  font-family: inherit;
  font-size: 15px;
  color: var(--booking-text);

  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.booking-field input::placeholder {
  color: #a0a9b4;
}

.booking-field input:focus,
.booking-field select:focus {
  border-color: var(--booking-primary);

  box-shadow: 0 0 0 3px rgba(8, 117, 190, 0.09);
}

.booking-field select {
  cursor: pointer;
  color: var(--booking-text);
}

/* Phone */

.booking-phone-input {
  display: flex;
  align-items: center;

  height: 49px;

  border: 1px solid var(--booking-border);
  border-radius: 12px;

  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.booking-phone-input:focus-within {
  border-color: var(--booking-primary);
  box-shadow: 0 0 0 3px rgba(8, 117, 190, 0.09);
}

.booking-phone-prefix {
  padding: 0 12px;

  border-right: 1px solid var(--booking-border);

  font-size: 15px;
  font-weight: 600;
  color: #596575;
}

.booking-phone-input input {
  height: 100%;
  border: none;
  box-shadow: none !important;
}

/* =========================================================
   NEWSPAPER SELECTOR
========================================================= */

.booking-newspaper-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;

  margin-bottom: 12px;
}

.booking-newspaper-heading > label {
  margin: 0;
}

.booking-newspaper-heading > span {
  font-size: 12.8px;
  color: var(--booking-muted);
}

.booking-newspaper-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.booking-newspaper-card {
  position: relative;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  min-width: 0;
  min-height: 108px;

  padding: 14px 12px;

  border: 1px solid var(--booking-border);
  border-radius: 12px;

background: rgb(255, 255, 255, 0.85);

  cursor: pointer;

  transition:
    border-color 0.2s ease,
    background 0.2s ease,
    box-shadow 0.2s ease;
}

.booking-newspaper-card:hover {
  border-color: #a7c9e1;
  background: #fafcfe;
}

.booking-newspaper-card:has(input:checked) {
  border: 1.5px solid var(--booking-primary);
  background: #f4f9fd;

  box-shadow: 0 0 0 2px rgba(8, 117, 190, 0.07);
}

.booking-newspaper-card:has(input:focus-visible) {
  outline: 2px solid var(--booking-primary);
  outline-offset: 3px;
}

.booking-newspaper-card input {
  position: absolute;

  width: 1px;
  height: 1px;

  opacity: 0;
  pointer-events: none;
}

.booking-newspaper-logo {
  display: flex;
  align-items: center;
  justify-content: center;

  width: 100%;
  height: 46px;

  margin-bottom: 8px;
}

.booking-newspaper-logo img {
  display: block;

  max-width: 160px;
  max-height: 56px;

  width: auto;
  height: auto;

  object-fit: contain;
}

.booking-newspaper-name {
  font-size: 12px;
  font-weight: 600;
  text-align: center;

  color: #465262;
}

.booking-newspaper-check {
  position: absolute;
  top: 9px;
  right: 9px;

  display: flex;
  align-items: center;
  justify-content: center;

  width: 17px;
  height: 17px;

  border: 1px solid #cbd3dc;
  border-radius: 50%;

  background: #fff;

  color: #fff;

  transition: all 0.2s ease;
}

.booking-newspaper-check svg {
  width: 11px;
  height: 11px;

  opacity: 0;
}

.booking-newspaper-card:has(input:checked) .booking-newspaper-check {
  background: var(--booking-primary);
  border-color: var(--booking-primary);
}

.booking-newspaper-card:has(input:checked) .booking-newspaper-check svg {
  opacity: 1;
}

/* =========================================================
   SUBMIT
========================================================= */

.booking-submit {
  margin-top: 28px;
}

.booking-submit button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;

  width: 100%;
  min-height: 52px;

  padding: 12px 20px;

  border: none;
  border-radius: 12px;

  background: var(--booking-primary);
  color: #fff;

  font-family: inherit;
  font-size: 15px;
  font-weight: 600;

  cursor: pointer;

  transition: background 0.2s ease;
}

.booking-submit button:hover {
  background: var(--booking-primary-dark);
}

.booking-submit button:focus-visible {
  outline: 3px solid rgba(8, 117, 190, 0.25);
  outline-offset: 3px;
}

.booking-submit button svg {
  width: 19px;
  height: 19px;
}

.booking-submit button:disabled {
  opacity: 0.7;
  cursor: wait;
}

.booking-privacy-note {
  margin: 13px 0 0;

  font-size: 11px;
  line-height: 1.6;
  text-align: center;

  color: var(--booking-muted);
}

/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 900px) {
  .booking-container {
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .booking-form-card {
    padding: 30px 25px;
  }

  .booking-intro h1 {
    font-size: 34px;
  }
}

@media (max-width: 680px) {
  .booking-section {
    padding: 45px 5px;
  }

  .booking-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .booking-intro {
    max-width: 100%;
  }

  .booking-intro h1 {
    font-size: 34px;
    letter-spacing: -1px;
  }

  .booking-benefits {
    margin-top: 30px;
    gap: 20px;
  }

  .booking-contact {
    margin-top: 30px;
  }

  .booking-form-card {
    padding: 26px 20px;
    border-radius: 9px;
  }

  .booking-form-header h2 {
    font-size: 24px;
  }

  .booking-fields {
    gap: 19px 12px;
  }
}

@media (max-width: 420px) {
  .booking-fields {
    grid-template-columns: 1fr;
  }

  .booking-field.full-width {
    grid-column: auto;
  }

  .booking-form-card {
    padding: 23px 16px;
  }

  .booking-newspaper-card {
    min-height: 100px;
    padding: 12px 8px;
  }

  .booking-newspaper-logo img {
    max-width: 120px;
  }
}

/* =========================================================
   BOOKING CONTACT DETAILS
========================================================= */

.booking-contact {
  margin-top: 30px;
  padding-top: 25px;
  border-top: 1px solid var(--booking-border);
}

.booking-contact > .booking-contact-label {
  margin-bottom: 18px;

  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.1px;
  color: var(--booking-muted);
}

.booking-contact-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px 14px;
}

.booking-contact-link {
  display: flex;
  align-items: center;
  gap: 11px;

  min-width: 0;
  text-decoration: none;
}

.booking-contact-icon {
  display: none;
  align-items: center;
  justify-content: center;

  width: 36px;
  height: 36px;
  flex-shrink: 0;

  border-radius: 8px;
  background: #f0f4f8;

  color: #526477;

  transition: all 0.2s ease;
}

.booking-contact-icon svg {
  width: 17px;
  height: 17px;
}

.booking-contact-info {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.booking-contact-label-text {
  font-size: 13px;
  color: var(--booking-muted);
}

.booking-contact-info strong {
  font-size: 14.6px;
  font-weight: 600;
  color: var(--booking-text);

  overflow-wrap: anywhere;
  transition: color 0.2s ease;
}

.booking-contact-link:hover .booking-contact-info strong {
  color: var(--booking-primary);
}

.booking-contact-link--whatsapp .booking-contact-icon {
  background: #edf7f0;
  color: #26864b;
}

.booking-contact-link--whatsapp:hover .booking-contact-icon {
  background: #26864b;
  color: #fff;
}

@media (max-width: 680px) {
  .booking-contact-list {
    grid-template-columns: 1fr;
    gap: 17px;
  }
}

.booking-highlight {
  color: var(--booking-primary);
}

.booking-progress__video {
  /* width: 100%; */
  width: 210px;
  margin: 24px auto;
  overflow: hidden;
}

.booking-progress__video video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.booking-progress__status {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-top: 26px;
  color: #0875be;
  font-size: 14px;
  font-weight: 600;
}

.booking-progress__status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #0875be;
  animation: bookingPulse 1.4s infinite;
}

.booking-progress__quote {
  margin-top: 28px;
  padding: 24px 10px 10px;
  border-top: 1px solid #edf0f3;
  text-align: center;
}

.booking-progress__quote-label {
  color: #8994a3;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.3px;
}

.booking-progress__quote p {
  margin: 13px auto 10px;
  max-width: 340px;
  color: #243448;
  font-size: 17px;
  line-height: 1.55;
  font-weight: 600;
  font-style: italic;
}

.booking-progress__quote-author {
  color: #8994a3;
  font-size: 11px;
}

.booking-progress__footer {
  margin-top: 20px;
  color: #8994a3;
  font-size: 12px;
}

#bookingStatusText,
.booking-progress__quote p,
.booking-progress__quote-author {
  transition: opacity 0.3s ease;
}

#bookingStatusText.is-changing,
.booking-progress__quote .is-changing {
  opacity: 0;
}

@media (max-width: 480px) {
  .booking-progress__video {
    height: 140px;
  }

  .booking-progress__quote p {
    font-size: 15px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .booking-progress__status-dot {
    animation: none;
  }

  #bookingStatusText,
  .booking-progress__quote p,
  .booking-progress__quote-author {
    transition: none;
  }
}
