.hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 100px;
  padding: 50px 40px;
  position: relative;
  background-color: var(--backgroundbackground-4);
}

.hero-section .content {
  display: inline-flex;
  height: 800px;
  align-items: center;
  gap: 100px;
  position: relative;
  flex: 0 0 auto;
}

.hero-section .image {
  position: relative;
  width: 510px;
  height: 510px;
  border-radius: 20px;
  background-image: url(../assets/booking.png);
  background-size: cover;
  background-position: 50% 50%;
}

.hero-section .div {
  display: flex;
  flex-direction: column;
  width: 590px;
  align-items: flex-start;
  justify-content: center;
  gap: 50px;
  position: relative;
  align-self: stretch;
}

.hero-section .text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: relative;
  align-self: stretch;
  width: 100%;
  flex: 0 0 auto;
}

.hero-section .text-wrapper {
  position: relative;
  width: 501.21px;
  margin-top: -1.00px;
  font-family: var(--heading-2-font-family);
  font-weight: var(--heading-2-font-weight);
  color: var(--dividertextparagraph);
  font-size: var(--heading-2-font-size);
  letter-spacing: var(--heading-2-letter-spacing);
  line-height: var(--heading-2-line-height);
  font-style: var(--heading-2-font-style);
}

.hero-section .text-2 {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  position: relative;
  align-self: stretch;
  width: 100%;
  flex: 0 0 auto;
}

.hero-section .e-ryan {
  position: relative;
  align-self: stretch;
  margin-top: -1.00px;
  font-family: var(--paragraph-font-family);
  font-weight: var(--paragraph-font-weight);
  color: var(--dividertextparagraph);
  font-size: var(--paragraph-font-size);
  letter-spacing: var(--paragraph-letter-spacing);
  line-height: var(--paragraph-line-height);
  font-style: var(--paragraph-font-style);
}

.hero-section .span {
  font-family: var(--paragraph-font-family);
  font-weight: var(--paragraph-font-weight);
  color: #071f95;
  font-size: var(--paragraph-font-size);
  letter-spacing: var(--paragraph-letter-spacing);
  line-height: var(--paragraph-line-height);
  font-style: var(--paragraph-font-style);
}

.hero-section .t {
  position: relative;
  align-self: stretch;
  font-family: var(--paragraph-font-family);
  font-weight: var(--paragraph-font-weight);
  color: var(--dividertextparagraph);
  font-size: var(--paragraph-font-size);
  letter-spacing: var(--paragraph-letter-spacing);
  line-height: var(--paragraph-line-height);
  font-style: var(--paragraph-font-style);
}

.hero-section .button-on-dark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 12px;
  position: relative;
  flex: 0 0 auto;
  background-color: var(--dividertextparagraph);
  border-radius: 51.57px;
}

.hero-section .connect-with-our {
  position: relative;
  width: fit-content;
  margin-top: -0.39px;
  font-family: var(--label-1-font-family);
  font-weight: var(--label-1-font-weight);
  color: var(--dividertexton-accent-1);
  font-size: var(--label-1-font-size);
  letter-spacing: var(--label-1-letter-spacing);
  line-height: var(--label-1-line-height);
  white-space: nowrap;
  font-style: var(--label-1-font-style);
}

/* ---------- Booking Form Embed ---------- */
.booking-form {
  width: 100%;
  max-width: 100%;
  padding: 48px 16px;              /* mobile-friendly side padding */
  box-sizing: border-box;
  display: flex;
  justify-content: center;
}

.booking-form-frame-wrapper {
  width: 100%;
  max-width: 100%;                 /* matches Google default; adjust as desired */
  position: relative;
  border: 0;
}

.booking-form-frame-wrapper iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  background: #fff;                 /* prevents flash on load */
}

/* Give taller viewport room on larger screens */
@media (min-width: 768px) {
  .booking-form {
    padding: 80px 24px;
  }
  .booking-form-frame-wrapper {
    aspect-ratio: auto;
    height: 1000px;                 /* enough vertical space so no scroll cut-off */
  }
}

/* Utility: visually-hidden heading for accessibility */
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}


/* ─────────────────────────  BOOKING – Mobile ≤950px  ───────────────────────── */
@media (max-width: 950px) {

  .hero-section {
    padding: 48px 24px 96px;          /* room above + below like mock */
    gap: 48px;                        /* tighter vertical rhythm */
    background-color: var(--backgroundbackground-4);
  }

  .hero-section .content {
    display: flex;
    flex-direction: column;           /* stack image over text block */
    align-items: center;
    justify-content: flex-start;
    gap: 48px;
    height: auto;                     /* kill fixed 800px height */
    width: 100%;
  }

  .hero-section .image {
    width: 100%;
    max-width: 480px;                 /* keeps from getting *too* wide on phablets */
    aspect-ratio: 1/1;                /* square feel like mock; adjust as needed */
    height: auto;
    border-radius: 32px;              /* big soft corners per screenshot */
    background-size: cover;
    background-position: center;
  }

  .hero-section .div {
    width: 100%;
    max-width: 480px;
    align-items: flex-start;
    text-align: left;
    gap: 32px;
  }

  .hero-section .text-wrapper {
    width: 100%;
    margin: 0;
    font-size: clamp(2rem, 8vw, 3rem);  /* responsive headline */
    line-height: 1.1;
  }

  .hero-section .text-2 {
    gap: 8px;
  }

  .hero-section .e-ryan,
  .hero-section .t {
    font-size: 1rem;
    line-height: 1.4;
  }

  .hero-section .span {
    color: var(--dividertextparagraph); /* label "E:" / "T:" same tone */
    font-weight: 600;
  }

  .hero-section .button-on-dark {
    align-self: flex-start;           /* button left‑aligned */
    padding: 16px 32px;
    border-radius: 9999px;
    background: var(--backgroundbackground-1);
  }

  .hero-section .button-on-dark .connect-with-our {
    color: #fff;
  }

  /* allow headline to wrap on multiple lines */
  .hero-section .text-wrapper {
    white-space: normal !important;   /* override global nowrap              */
    word-break: normal;               /* respect word boundaries             */
    overflow-wrap: anywhere;          /* wrap if absolutely necessary        */
    hyphens: auto;                    /* optional: hyphenate long words      */
    display: block;
    text-align: left;                 /* or center; your mock shows left     */
    margin: 0;
    line-height: 1.1;
    font-size: clamp(2rem, 8vw, 3rem); /* from earlier snippet; adjust if diff */
  }

  /* be sure the container isn't constraining width weirdly */
  .hero-section .text {
    width: 100%;
    max-width: 480px;
  }

  .booking-form {
    width: 100%;
    padding: 0;
    background: var(--backgroundbackground-2);
  }

  .booking-form-frame-wrapper {
    width: 100%;
    height: 1600px;     /* tune after testing */
    position: relative;
  }

  .booking-form-frame-wrapper iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
    background: #fff;
  }

}
