/* 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; }

/* v38: additive redesign; all original v37 declarations above remain verbatim. */
.site-footer .footer-grid { grid-template-columns: 1.15fr 1fr; gap: 3rem; }
.site-footer p { max-width: 58ch; }
.site-footer .btn { margin-bottom: 1rem; }
.site-footer a, .site-header a { min-height:44px;min-width:44px; }
.site-header .nav-links a { display:inline-flex;align-items:center; }
.site-footer .footer-bottom a.footer-small { display:inline-flex; align-items:center;min-width:44px;min-height:44px; }
.v38-page { --v38-gap:clamp(3rem,6vw,5rem); }
.v38-page .v38-section { padding:var(--v38-gap) 0; }
.v38-page .v38-title { padding:clamp(7rem,12vw,10rem) 0 3rem; }
.v38-page .v38-title h2:empty { display:none; }
.v38-page .v38-section p { max-width:62ch; }
.v38-page a { min-height:44px;min-width:44px;display:inline-flex;align-items:center; }
.v38-page .proof .proof-logo { min-height:44px; }
.v38-page .page-hero { max-width:1600px;margin-inline:auto; }
.v38-page h2 { max-width:24ch; }
.v38-page figure { margin:0; }
.v38-page .v38-section picture { display:block; }
@keyframes v38-rise { from { opacity:0;transform:translateY(12px); } to { opacity:1;transform:translateY(0); } }
.v38-page .hero-copy > *, .v38-page .hero-ctas, .v38-page .hero-note { animation-name:v38-rise; }
.v38-page img { display:block; width:100%; height:auto; }
.v38-page .hero img, .v38-page .page-hero img { height:100%; object-fit:cover; }
.v38-page .proof-logo img { width:auto; }
.v38-page figcaption { color:var(--ink-soft); font-size:.85rem; margin-top:.8rem; }
.v38-page .v38-home-picture { margin:clamp(4rem,10vw,8rem) 0; }
.v38-layout, .v38-two, .v38-inventory-grid, .v38-enquiry { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:clamp(1.5rem,4vw,3rem); align-items:start; }
.v38-layout { align-items:center; }
.v38-page .v38-card picture { aspect-ratio:4/3; margin-bottom:1.5rem; }
.v38-page .v38-card img { width:100%;height:100%;object-fit:cover; }
.v38-numbers { list-style:none; padding:0; display:grid; grid-template-columns:1fr 1fr; gap:1rem; font-family:var(--serif); font-size:1.7rem; color:var(--lagoon-deep); }
.v38-links { display:flex; flex-wrap:wrap; gap:.5rem 2rem; margin:0 0 1.5rem; }
.v38-links a { display:inline-flex; align-items:center; min-height:44px; }
.v38-inventory { list-style:none; padding:0; margin:0; }
.v38-inventory li { display:inline; }
.v38-inventory li:not(:last-child)::after { content:', '; }
.v38-tabs { display:flex; gap:2rem; border-bottom:1px solid var(--line); margin:2rem 0; }
.v38-tabs[hidden], .v38-price-panel[hidden] { display:none; }
.v38-tabs button { font:inherit; min-height:48px; background:transparent; border:0; border-bottom:3px solid transparent; color:var(--lagoon-deep); padding:.65rem .2rem; cursor:pointer; }
.v38-tabs button[aria-selected=true] { font-weight:600;border-bottom-color:var(--lagoon-deep); }
.v38-tabs button:focus-visible { outline:2px solid var(--lagoon);outline-offset:4px; }
.v38-price-panel table { font-variant-numeric:tabular-nums; }
.v38-price-panel + .v38-price-panel { margin-top:2rem; }
.v38-page .clean th, .v38-page .clean td { font-variant-numeric:tabular-nums; }
.v38-page .table-wrap { overflow-x:auto; }
.v38-three { display:grid; grid-template-columns:repeat(3,minmax(0,1fr));gap:2rem; }
.v38-four { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:1.1rem; margin:2rem 0; }
.v38-four picture { aspect-ratio:4/3; }
.v38-page .v38-four img { height:100%;object-fit:cover; }
.v38-four figure { max-width:343px; }
.v38-chips { display:flex; flex-wrap:wrap; gap:.8rem;list-style:none;padding:0; }
.v38-chips li { border:1px solid var(--line);padding:.6rem 1rem; }
.v38-distance-list { list-style:none;padding:0;max-width:62ch; }
.v38-distance-list li { border-bottom:1px solid var(--line);padding:1rem 0;font-variant-numeric:tabular-nums; }
.v38-page .v38-cta { padding:2rem 0; background:var(--lagoon-deep); }
.v38-page .map-frame iframe { display:block;width:100%;height:1010px;border:0;border-radius:1px;background:var(--cream); }
.v38-page details.fold summary { cursor:pointer;font-weight:600;color:var(--lagoon);padding:.7rem 0;min-height:44px; }
.v38-page details.fold summary:focus-visible { outline:2px solid var(--lagoon);outline-offset:3px; }
.v38-page #resort-map img { max-width:2000px; }
.faq-answer .fac-how { display:grid;gap:1rem;margin:1rem 0; }
.faq-answer .fac-how b, .faq-answer .fac-how span { display:block; }
.faq-answer .table-wrap { overflow-x:auto; }
@media(max-width:899px) { .v38-page .map-frame iframe { height:780px; } .v38-three { grid-template-columns:1fr; } }
@media(max-width:899px) { .v38-page #dates .wrap { padding-inline:8px; } }
@media(max-width:700px) {
  .v38-layout, .v38-two, .v38-inventory-grid, .v38-enquiry, .site-footer .footer-grid { grid-template-columns:1fr; }
  .v38-four { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .v38-page .clean { font-size:.82rem; }
  .v38-page .clean th, .v38-page .clean td { padding:.65rem .4rem; }
}
@media(prefers-reduced-motion:reduce) { .v38-page * { scroll-behavior:auto;animation:none;transition:none; } }
