/* Good Sam / Book Your Site — live HTML over the approved 1639 × 960 artwork.
   The art is rail-aligned with the hero; every visible word and control is HTML. */

.gsb {
  --frame: 1900px;
  --rail: 170px;
  --paper: #faf6ef;
  --art-paper: #f9f6f0;
  --navy: #073b57;
  --sand: #917658;
  --teal: #08b69c;
  --u: calc((min(100cqw, var(--frame)) - 2 * var(--rail)) / 1639);
  --review-heading-unit: calc(min(100cqw, var(--frame)) * 900 / 1900 / 818);
  position: relative;
  display: flow-root;
  container-type: inline-size;
  width: 100%;
  margin: 0;
  padding: 150px 0;
  overflow: hidden;
  border: 0;
  background: var(--paper);
  color: var(--navy);
}

/* Keep this section's own top padding at the requested fixed value, including
   when the stacked responsive composition takes over. */
.gsb { padding-top: 150px !important; }

.gsb__stage {
  position: relative;
  display: block;
  width: min(100%, var(--frame));
  height: calc(960 * var(--u));
  margin: 0 auto;
  padding: 0;
}

.gsb__picture { display: contents; }

.gsb__plate {
  position: absolute;
  z-index: 0;
  left: var(--rail);
  top: 0;
  display: block;
  width: calc(1639 * var(--u));
  height: calc(960 * var(--u));
  max-width: none;
  margin: 0;
  object-fit: fill;
  -webkit-mask-image:
    linear-gradient(to right, transparent 0, #000 2.4%, #000 97.6%, transparent 100%),
    linear-gradient(to bottom, transparent 0, #000 2.4%, #000 97.6%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image:
    linear-gradient(to right, transparent 0, #000 2.4%, #000 97.6%, transparent 100%),
    linear-gradient(to bottom, transparent 0, #000 2.4%, #000 97.6%, transparent 100%);
  mask-composite: intersect;
  pointer-events: none;
  user-select: none;
  -webkit-user-drag: none;
}

/* The live card precisely covers the card embedded in the approved comp. */
.gsb__card {
  position: absolute;
  z-index: 2;
  left: calc(var(--rail) + 975 * var(--u));
  right: auto;
  top: calc(160 * var(--u));
  display: block;
  width: calc(516 * var(--u));
  height: calc(174 * var(--u));
  margin: 0;
  padding: 0;
  border-radius: calc(17 * var(--u));
  background: #fff;
  box-shadow: 0 calc(12 * var(--u)) calc(28 * var(--u)) calc(-14 * var(--u)) rgba(20, 48, 43, .22);
}

.gsb__card::after {
  content: "";
  position: absolute;
  left: calc(135 * var(--u));
  top: calc(119 * var(--u));
  width: calc(353 * var(--u));
  height: 1px;
  background: rgba(15, 46, 42, .14);
}

.gsb__shield {
  position: absolute;
  left: calc(29 * var(--u));
  top: calc(35 * var(--u));
  width: calc(85 * var(--u));
  height: auto;
  filter: drop-shadow(0 calc(6 * var(--u)) calc(7 * var(--u)) rgba(20, 40, 15, .22));
}

.gsb__card h2 {
  position: absolute;
  left: calc(135 * var(--u));
  top: calc(28 * var(--u));
  margin: 0;
  color: #0f3531;
  font: 400 calc(29 * var(--u))/1 "PHA Bauer Bodoni", Georgia, serif;
  letter-spacing: 0;
  word-spacing: calc(1 * var(--u));
  white-space: nowrap;
}

.gsb__ratings {
  position: absolute;
  left: calc(135 * var(--u));
  top: calc(72 * var(--u));
  display: flex;
  align-items: baseline;
  gap: calc(23 * var(--u));
  margin: 0;
  padding: 0;
}

.gsb__rating {
  position: static;
  display: flex;
  width: auto;
  margin: 0;
  flex-direction: row-reverse;
  align-items: baseline;
  gap: calc(7 * var(--u));
  text-align: left;
}

.gsb__rating dd,
.gsb__rating dt {
  position: static;
  margin: 0;
  padding: 0;
  white-space: nowrap;
}

.gsb__rating dd,
.gsb__rating:nth-child(-n + 2) dd {
  color: #0b3a31;
  font: 400 calc(29 * var(--u))/1 "PHA Bauer Bodoni", Georgia, serif;
  letter-spacing: calc(-1 * var(--u));
}

.gsb__rating dt {
  color: #737475;
  font: 400 calc(14 * var(--u))/1 "Univers Next", Arial, sans-serif;
  letter-spacing: calc(-.15 * var(--u));
}

.gsb__card p {
  position: absolute;
  left: calc(135 * var(--u));
  top: calc(137 * var(--u));
  margin: 0;
  color: #686d70;
  font: 400 calc(14 * var(--u))/1.25 "Univers Next", Arial, sans-serif;
  letter-spacing: 0;
  word-spacing: 0;
  white-space: nowrap;
}

/* Booking content follows the new reference coordinates. */
.gsb__copy {
  position: absolute;
  z-index: 2;
  left: calc(var(--rail) + 984 * var(--u));
  right: auto;
  top: calc(378 * var(--u));
  width: calc(560 * var(--u));
  height: calc(408 * var(--u));
  margin: 0;
  padding: 0;
  color: var(--navy);
  isolation: isolate;
}

/* Soft-edged paper hides the reference lettering without producing a box seam. */
.gsb__copy::before {
  content: "";
  position: absolute;
  z-index: -1;
  left: calc(-14 * var(--u));
  top: calc(-18 * var(--u));
  width: calc(546 * var(--u));
  height: calc(420 * var(--u));
  border-radius: calc(14 * var(--u));
  background: var(--art-paper);
  box-shadow: 0 0 calc(24 * var(--u)) calc(18 * var(--u)) var(--art-paper);
  pointer-events: none;
}

.gsb__wave,
.gsb__gulls { display: none; }

/* Exact type family and scale used by “Guest reviews.” */
.gsb__copy h2 {
  position: static;
  display: block;
  margin: 0;
  color: var(--navy);
  font-family: "PHA Bauer Bodoni", Georgia, serif;
  font-size: calc(78 * var(--review-heading-unit));
  font-weight: 400;
  line-height: .9;
  letter-spacing: calc(-.78 * var(--review-heading-unit));
  word-spacing: 0;
  white-space: nowrap;
}

.gsb__copy h2 span {
  display: block;
  white-space: nowrap;
}

.gsb__copy h2 em {
  position: static;
  display: inline-block;
  margin: 0 0 0 calc(6 * var(--review-heading-unit));
  color: var(--sand);
  font-family: "PHA Snell Roundhand", Georgia, serif;
  font-size: calc(86 * var(--review-heading-unit));
  font-weight: 400;
  font-style: normal;
  line-height: .72;
  letter-spacing: 0;
  word-spacing: 0;
  vertical-align: calc(-1 * var(--review-heading-unit));
  transform: rotate(-1.5deg);
  transform-origin: left center;
  -webkit-text-stroke: calc(.2 * var(--review-heading-unit)) currentColor;
}

.gsb__lead {
  position: absolute;
  left: 0;
  top: calc(214 * var(--u));
  margin: 0;
  color: #626a70;
  font: 400 clamp(16px, calc(19.4 * var(--u)), 20px)/1.55 "Univers Next", Arial, sans-serif;
  letter-spacing: 0;
  white-space: nowrap;
}

.gsb__actions {
  position: absolute;
  left: 0;
  top: calc(317 * var(--u));
  display: flex;
  gap: calc(18 * var(--u));
  margin: 0;
}

.gsb__btn {
  display: inline-flex;
  align-items: center;
  box-sizing: border-box;
  height: calc(69 * var(--u));
  border-radius: 999px;
  font: 400 clamp(16px, calc(19 * var(--u)), 20px)/1 "Univers Next", Arial, sans-serif;
  text-decoration: none;
  white-space: nowrap;
}

.gsb__btn--book {
  justify-content: space-between;
  width: calc(232 * var(--u));
  padding: 0 calc(24 * var(--u)) 0 calc(39 * var(--u));
  border: 0;
  background: var(--teal);
  color: #fff;
  letter-spacing: calc(.35 * var(--u));
}

.gsb__btn--book i {
  display: grid;
  width: calc(36 * var(--u));
  height: calc(36 * var(--u));
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, .18);
}

.gsb__btn--book svg {
  width: calc(13 * var(--u));
  height: calc(10 * var(--u));
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.gsb__btn--call {
  justify-content: center;
  width: calc(196 * var(--u));
  padding: 0 calc(22 * var(--u));
  border: calc(1.5 * var(--u)) solid #55c4b0;
  background: var(--art-paper);
  color: #0b7160;
  letter-spacing: calc(.3 * var(--u));
}

.gsb__btn--book:hover,
.gsb__btn--book:focus-visible { background: #049679; }

.gsb__btn--call:hover,
.gsb__btn--call:focus-visible {
  border-color: #0b7160;
  background: #0b7160;
  color: #fff;
}

.gsb__btn:focus-visible {
  outline: 2px solid var(--navy);
  outline-offset: 4px;
}

@media (max-width: 1450px) {
  .gsb { --rail: clamp(80px, 8.947vw, 170px); }

  .gsb__copy h2 { font-size: clamp(58px, 5.25vw, 76px); }
  .gsb__copy h2 em { font-size: 1.1em; }
}

/* Medium and small screens use the clean art plate, then stack the live content. */
@media (max-width: 1200px) {
  .gsb {
    --rail: clamp(80px, 8.947vw, 107px);
    padding: 150px 0;
  }

  .gsb__stage {
    display: flex;
    width: 100%;
    height: auto;
    flex-direction: column;
    margin: 0;
    padding: 0 var(--rail);
  }

  .gsb__plate {
    position: relative;
    order: 1;
    left: auto;
    top: auto;
    width: calc(100% + 2 * var(--rail));
    height: clamp(300px, 66.7vw, 760px);
    margin: 0 calc(-1 * var(--rail));
    object-fit: cover;
    object-position: left center;
    -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 7%, #000 93%, transparent 100%);
    mask-image: linear-gradient(to bottom, transparent 0, #000 7%, #000 93%, transparent 100%);
  }

  .gsb__card {
    position: relative;
    order: 2;
    left: auto;
    right: auto;
    top: auto;
    display: grid;
    width: 100%;
    height: auto;
    grid-template-columns: 64px 1fr;
    margin-top: 28px;
    padding: 24px 20px 20px;
    column-gap: 18px;
    border-radius: 20px;
    box-shadow: 0 14px 30px -14px rgba(20, 48, 43, .34);
  }

  .gsb__card::after { display: none; }

  .gsb__shield {
    position: static;
    width: 64px;
    grid-row: 1 / span 2;
    align-self: start;
    margin-top: 2px;
  }

  .gsb__card h2 {
    position: static;
    grid-column: 2;
    font-size: 26px;
    line-height: 1.1;
    white-space: normal;
  }

  .gsb__ratings {
    position: static;
    display: flex;
    grid-column: 1 / -1;
    justify-content: space-around;
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid rgba(20, 48, 43, .1);
  }

  .gsb__rating {
    flex-direction: column-reverse;
    align-items: center;
    gap: 6px;
  }

  .gsb__rating dd,
  .gsb__rating:nth-child(-n + 2) dd {
    font-size: 29px;
    letter-spacing: -1px;
  }

  .gsb__rating dt {
    font-size: 13px;
    letter-spacing: 0;
  }

  .gsb__card p {
    position: static;
    grid-column: 1 / -1;
    margin-top: 16px;
    font-size: 15px;
    line-height: 1.5;
    white-space: normal;
  }

  .gsb__copy {
    position: relative;
    order: 3;
    left: auto;
    right: auto;
    top: auto;
    width: 100%;
    height: auto;
    margin-top: 48px;
    padding: 0;
  }

  .gsb__copy::before { display: none; }

  .gsb__lead {
    position: static;
    margin-top: 38px;
    font-size: 17px;
    line-height: 1.55;
    white-space: normal;
  }

  .gsb__lead br { display: none; }

  .gsb__actions {
    position: static;
    margin-top: 26px;
    flex-wrap: wrap;
    gap: 12px;
  }

  .gsb__btn {
    width: auto;
    height: 56px;
    font-size: 16px;
  }

  .gsb__btn--book {
    gap: 18px;
    padding: 0 10px 0 23px;
  }

  .gsb__btn--book i {
    width: 36px;
    height: 36px;
  }

  .gsb__btn--book svg {
    width: 13px;
    height: 10px;
  }

  .gsb__btn--call {
    padding-inline: 24px;
    border-width: 1.5px;
  }
}

@media (max-width: 1100px) {
  .gsb__copy h2 {
    font-size: clamp(40px, 12.2vw, 56px);
    line-height: 1.12;
    letter-spacing: -.01em;
  }

  .gsb__copy h2 em {
    margin-left: .08em;
    font-size: 1.1em;
    vertical-align: -.02em;
    -webkit-text-stroke: .2px currentColor;
  }
}

@media (max-width: 900px) {
  .gsb { --rail: 24px; }
}
