/* Sunvillas Blue Lagoon: website v37 (2026-10-27). Loaded after main.css and changes nothing there.
   The streamlined menu and sun mark, the scores strip with the Superhost badge, the sub-menu on Resort & location,
   the folded price tables, and the click calendar on Rates & booking. Square corners, same gold and lagoon palette. */

html { scroll-padding-top: 5.4rem; }

/* ---- the sun mark before the name */
.brand .sun, .footer-brand .sun { flex: none; display: inline-block; }
.brand .sun { width: 1.9rem; height: 1.9rem; margin-right: 0.55rem; }
.footer-brand .sun { width: 1.45rem; height: 1.45rem; margin-right: 0.45rem; vertical-align: -0.28em; }

/* ---- Home: scores with the Superhost badge */
.proof { padding: clamp(2.2rem, 4vw, 3.4rem) 0 clamp(2rem, 3.6vw, 3rem); }
.proof .proof-row { list-style: none; margin: 0 0 1.2rem; padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 1.4rem 3.2rem; }
.proof .proof-item { display: flex; align-items: center; gap: 0.9rem; margin: 0; }
.proof .proof-score { font-family: var(--serif); font-size: clamp(2.5rem, 4.6vw, 3.2rem); line-height: 1; color: var(--lagoon-deep); }
.proof .proof-src { display: flex; flex-direction: column; font-size: 0.9rem; line-height: 1.3; color: var(--ink-soft); }
.proof .proof-src strong, .proof .proof-src a { font-size: 1.02rem; font-weight: 600; color: var(--ink); }
.proof .proof-src a { color: var(--lagoon); }
.proof .proof-item svg { flex: none; }
.proof .proof-logo { display: flex; align-items: center; align-self: flex-start; height: 36px; margin-bottom: 0.3rem; line-height: 0; }
.proof .proof-logo img { display: block; height: 22px; width: auto; }
.proof .proof-logo.agoda img { height: 36px; }
.proof .proof-note { margin: 0; font-size: 0.85rem; max-width: 62ch; }

/* ---- Home: one line each to the Sheraton and to the prices */
.line-pair { display: grid; gap: 2.2rem 4rem; }
@media (min-width: 760px) { .line-pair { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.line-pair p { max-width: 46ch; font-size: 1.1rem; margin-bottom: 0; }

/* ---- Resort & location: the sub-menu under the picture */
.subnav-bar { background: var(--cream-warm); border-bottom: 1px solid var(--line); }
.subnav { display: flex; flex-wrap: wrap; gap: 0.5rem; padding: 1rem 0; }
.subnav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0.5rem 1.05rem; border: 1px solid rgba(11, 79, 96, 0.3); border-radius: 1px; background: transparent; color: var(--lagoon-deep); font-size: 0.9rem; font-weight: 600; letter-spacing: 0.03em; transition: background 0.2s, color 0.2s; }
.subnav a:hover { background: var(--lagoon-deep); color: var(--cream); border-color: var(--lagoon-deep); }

/* ---- Rates & booking: the three price tables folded under one title */
details.price-fold { margin-top: 2.2rem; border: 1px solid var(--line-gold); background: var(--cream); }
details.price-fold > summary { cursor: pointer; list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 56px; padding: 0.8rem 1.3rem; font-weight: 600; font-size: 1.05rem; color: var(--lagoon-deep); }
details.price-fold > summary::-webkit-details-marker { display: none; }
details.price-fold > summary::after { content: "+"; font-family: var(--serif); font-size: 1.8rem; line-height: 1; color: var(--gold-deep); }
details.price-fold[open] > summary::after { content: "\2212"; }
details.price-fold > summary:hover { color: var(--gold-deep); }
details.price-fold .fold-body { padding: 0 1.3rem 1.6rem; }
@media (max-width: 480px) {
  details.price-fold > summary { padding: 0.7rem 1rem; }
  details.price-fold .fold-body { padding: 0 1rem 1.4rem; }
}

/* ---- Rates & booking: the click calendar */
#dates { padding: clamp(2.2rem, 4vw, 3.4rem) 0 clamp(2.6rem, 5vw, 4rem); }
#dates .cal-lede { max-width: 62ch; margin-bottom: 1.8rem; }
.stay-cal { background: var(--cream); border: 1px solid var(--line-gold); box-shadow: var(--shadow-soft); padding: clamp(0.9rem, 3vw, 1.8rem); }
.stay-cal .cal-fallback { margin: 0; }
.sc-area { position: relative; }
.sc-bar { display: flex; align-items: center; justify-content: space-between; gap: 0.6rem; margin-bottom: 0.5rem; }
.sc-title { flex: 1; text-align: center; font-family: var(--serif); font-size: 1.5rem; font-weight: 600; color: var(--lagoon-deep); font-variant-numeric: lining-nums; }
.sc-nav { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0; border: 1px solid rgba(11, 79, 96, 0.3); border-radius: 1px; background: transparent; color: var(--lagoon-deep); font-size: 1.5rem; line-height: 1; cursor: pointer; }
.sc-nav:hover:not(:disabled) { background: var(--lagoon-deep); color: var(--cream); }
.sc-nav:disabled { opacity: 0.3; cursor: default; }
.sc-months { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.6rem 2.4rem; }
.sc-mh { display: none; margin: 0 0 0.4rem; text-align: center; font-size: 1.35rem; color: var(--lagoon-deep); font-variant-numeric: lining-nums; }
@media (min-width: 720px) {
  .sc-months { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sc-bar { position: absolute; top: 0; left: 0; right: 0; z-index: 2; margin: 0; pointer-events: none; }
  .sc-bar .sc-nav { pointer-events: auto; background: var(--cream); }
  .sc-title { display: none; }
  .sc-mh { display: flex; align-items: center; justify-content: center; min-height: 44px; }
}
.sc-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 2px; }
.sc-dow { text-align: center; padding: 0.35rem 0; font-size: 0.68rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-soft); }
.sc-day { font: inherit; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px; min-width: 0; min-height: 52px; padding: 4px 1px; border: 1px solid transparent; border-radius: 1px; background: #fff; color: var(--ink); cursor: pointer; }
.sc-day .n { font-size: 0.95rem; font-weight: 600; line-height: 1.1; }
.sc-day .p { font-size: 0.66rem; line-height: 1.1; white-space: nowrap; color: var(--ink-soft); }
.sc-day.hi { background: var(--cream-warm); }
.sc-day.hi .p { color: var(--gold-text); font-weight: 600; }
.sc-day:hover:not(:disabled) { border-color: var(--gold); }
.sc-day:disabled { background: transparent; opacity: 0.4; cursor: default; }
.sc-day.today { border-color: var(--line-gold); }
.sc-day.mid { background: var(--water-deep); }
.sc-day.is-in, .sc-day.is-out { background: var(--lagoon-deep); border-color: var(--lagoon-deep); color: var(--cream); }
.sc-day.is-in .p, .sc-day.is-out .p { color: var(--cream); opacity: 0.85; }
.sc-blank { min-height: 1px; }
.sc-legend { display: flex; flex-wrap: wrap; align-items: center; gap: 0.4rem 1.2rem; margin: 1rem 0 0; font-size: 0.82rem; color: var(--ink-soft); max-width: none; }
.sc-legend i { display: inline-block; width: 14px; height: 14px; margin-right: 0.4rem; vertical-align: -2px; border: 1px solid var(--line-gold); }
.sc-legend .l1 { background: #fff; }
.sc-legend .l2 { background: var(--cream-warm); }
.sc-legend .l3 { background: var(--lagoon-deep); border-color: var(--lagoon-deep); }
.sc-result { margin-top: 1.4rem; padding-top: 1.4rem; border-top: 1px solid var(--line-gold); min-height: 4rem; }
.sc-hint { margin: 0; color: var(--ink-soft); }
.sc-msg { margin: 0 0 1rem; max-width: 60ch; font-size: 1.05rem; color: var(--ink); }
.sc-ask { margin: 0.8rem 0 0; }
.sc-clearrow { margin: 0.3rem 0 0; }
.sc-clear { display: inline-flex; align-items: center; min-height: 44px; padding: 0; border: 0; background: none; font: inherit; font-size: 0.95rem; font-weight: 600; color: var(--lagoon); text-decoration: underline; text-decoration-color: var(--line-gold); text-decoration-thickness: 1px; text-underline-offset: 0.3em; cursor: pointer; }
.sc-clear:hover { color: var(--gold-deep); }
.sc-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 19rem), 26rem)); gap: 1.2rem; justify-content: start; }
.sc-card { display: flex; flex-direction: column; min-width: 0; padding: 1.4rem 1.3rem 1.5rem; border: 1px solid var(--line); border-top: 2px solid var(--gold); background: #fff; box-shadow: var(--shadow-soft); }
.sc-card h3 { margin: 0 0 0.2rem; font-size: 1.35rem; }
.sc-side { margin: 0 0 1rem; font-size: 0.8rem; letter-spacing: 0.06em; color: var(--ink-soft); }
.sc-total { margin: 0; font-family: var(--serif); font-size: clamp(2.3rem, 7vw, 3rem); line-height: 1.05; color: var(--lagoon-deep); }
.sc-total small { font-size: 0.42em; letter-spacing: 0.14em; color: var(--gold-deep); }
.sc-per { margin: 0.4rem 0 1rem; font-size: 0.97rem; color: var(--ink); }
.sc-how { margin: 0 0 1.2rem; font-size: 0.93rem; color: var(--ink-soft); }
.sc-how summary { display: flex; align-items: center; min-height: 44px; cursor: pointer; font-weight: 600; color: var(--lagoon); }
.sc-how ul { margin: 0.2rem 0 0; padding-left: 1.2rem; }
.sc-card .btn { display: block; width: 100%; margin-top: auto; text-align: center; }
.sc-foot { margin: 1.1rem 0 0; max-width: 90ch; font-size: 0.93rem; }
@media (max-width: 480px) {
  .stay-cal { padding: 0.8rem 0.6rem 1rem; }
  .sc-day { min-height: 50px; }
}

/* ---- the gold "Check dates" button in the top bar and in the phone menu */
.site-header .btn.gold, .mobile-nav .btn.gold { color: var(--night); }
.site-header .btn.gold:hover { background: var(--lagoon-deep); border-color: var(--lagoon-deep); color: var(--cream); }

/* ---- Resort & location: the notice sits above the gym section's two columns */
#sheraton .note-box + .split { margin-top: 3rem; }

/* ---- links inside the dark picture headers and the closing band; two buttons side by side */
.page-hero .lede a { color: #E8CD90; border-bottom: 1px solid rgba(232, 205, 144, 0.55); }
.cta-block a:not(.btn) { color: #E8CD90; border-bottom: 1px solid rgba(232, 205, 144, 0.5); }
.cta-actions { display: flex; flex-wrap: wrap; gap: 0.8rem 1rem; justify-content: center; }
