/* ==========================================================================
   HÔTEL BORSARI — new page, 11 Nov 2026
   Source: "Reworked SVG Layouts Only / Web 1920 – 11.svg" (1920 × 9808).
   Desktop (≥1180px) is built from the SVG's measured positions (--hu = one
   design pixel at 1920, scaling down with the viewport). Below that the page
   stacks; no tablet/phone design exists, so that part is an interpretation.
   Sections: hero · story · rooms & suites (carousels) · less. but. better ·
   Roman baths / local ambience · newsletter (shared) · footer (shared).
   ========================================================================== */
.page-borsari { --hu: min(1px, calc(100vw / 1920)); --ink: #231f20; --wine: #60323d; --c-ink: #231f20; --c-sec: #60323d; --cream: #fff6ed; }
.page-borsari main { background: var(--cream); color: var(--ink); }

/* ---------- Buttons used on this page ---------- */
.bor-btn { display: inline-flex; align-items: center; gap: 0; white-space: pre; height: calc(57 * var(--hu)); min-height: 44px; padding: 0 calc(29 * var(--hu)); font-family: var(--font); font-weight: 700; font-size: clamp(20px, calc(36 * var(--hu)), 36px); line-height: 1; border: 1.5px solid var(--cream); cursor: pointer; text-decoration: none; transition: background-color 400ms var(--ease-out), color 400ms var(--ease-out), transform 200ms var(--ease-out); }
.bor-btn.is-solid { background: var(--cream); color: var(--wine); }
.bor-btn.is-solid:hover, .bor-btn.is-solid:focus-visible { background: #fff; transform: translateY(-2px); }
.bor-btn.is-outline { color: var(--cream); background: transparent; }
.bor-btn.is-outline:hover, .bor-btn.is-outline:focus-visible { background: var(--cream); color: var(--wine); transform: translateY(-2px); }
.bor-btn.is-ink { color: var(--wine); border-color: var(--wine); background: transparent; }
.bor-btn.is-ink:hover, .bor-btn.is-ink:focus-visible { background: var(--wine); color: var(--cream); transform: translateY(-2px); }
.bor-btn:active { transform: scale(.98); }

/* ---------- Hero ---------- */
.bor-hero { position: relative; height: calc(991 * var(--hu)); min-height: 560px; overflow: hidden; color: var(--cream); }
.bor-hero_img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 51.4%; }
.bor-hero > :not(.bor-hero_img) { position: absolute; margin: 0; z-index: 1; left: calc(140 * var(--hu)); }
.bor-hero_kicker { top: calc(var(--k, 41) * var(--hu)); font-size: max(13px, calc(18 * var(--hu))); letter-spacing: .13em; text-transform: uppercase; line-height: 1; }
.bor-hero_title { top: calc(var(--t, 208) * var(--hu)); font-family: var(--font); font-weight: 600; font-size: clamp(64px, calc(142 * var(--hu)), 142px); line-height: .98; letter-spacing: -.015em; text-transform: uppercase; }
.bor-hero_intro { top: calc(var(--i, 485) * var(--hu)); font-weight: 600; font-size: clamp(20px, calc(32 * var(--hu)), 32px); line-height: 1.2; max-width: min(900px, 90vw); }
.bor-hero_member { top: calc(var(--m, 588) * var(--hu)); display: grid; row-gap: 0; font-size: max(13px, calc(18 * var(--hu))); line-height: 1; }
.bor-hero_member strong { display: block; font-weight: 700; font-size: clamp(22px, calc(38 * var(--hu)), 38px); letter-spacing: .06em; line-height: 1.2; margin: calc(12 * var(--hu)) 0 calc(var(--mb, 48) * var(--hu)); }
.bor-hero_member sup { font-size: .45em; }
.bor-hero_actions { top: calc(792 * var(--hu)); display: flex; gap: calc(14.6 * var(--hu)); flex-wrap: wrap; }
.bor-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(35,31,32,.28), rgba(35,31,32,0) 55%); pointer-events: none; }

/* ---------- Story ---------- */
.bor-story { position: relative; height: calc(1427 * var(--hu)); }
.bor-story > * { position: absolute; margin: 0; }
.bor-story_a { left: calc(140 * var(--hu)); top: 0; width: calc(760 * var(--hu)); }
.bor-story_h, .bor-story_h2 { font-family: var(--font); font-weight: 700; text-transform: uppercase; }
.bor-story_h { position: absolute; top: calc(var(--sh, 150) * var(--hu)); left: 0; font-size: clamp(44px, calc(80 * var(--hu)), 80px); line-height: calc(78 * var(--hu)); letter-spacing: -.015em; color: var(--wine); }
.bor-story_lead { position: absolute; left: 0; top: calc(var(--sl, 344) * var(--hu)); font-weight: 600; font-size: max(17px, calc(24 * var(--hu))); line-height: calc(40 * var(--hu)); width: calc(900 * var(--hu)); color: var(--ink); }
.bor-story_body { position: absolute; left: 0; top: calc(var(--sb, 448) * var(--hu)); font-size: max(15px, calc(20 * var(--hu))); line-height: calc(40 * var(--hu)); width: calc(900 * var(--hu)); color: var(--ink); }
.bor-story_photo { left: calc(968 * var(--hu)); top: calc(143 * var(--hu)); width: calc(812 * var(--hu)); height: calc(707 * var(--hu)); overflow: hidden; }
.bor-story_photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.bor-story_b { left: calc(968 * var(--hu)); top: calc(var(--sbt, 977) * var(--hu)); width: calc(820 * var(--hu)); }
.bor-story_h2 { position: static; margin: 0; font-size: clamp(36px, calc(64 * var(--hu)), 64px); line-height: calc(67 * var(--hu)); color: rgba(0,0,0,.85); margin-left: calc(3 * var(--hu)); }
.bor-story_copy { margin: calc(var(--cm, 18) * var(--hu)) 0 calc(var(--cb, 26) * var(--hu)); font-size: max(16px, calc(26 * var(--hu))); line-height: calc(39 * var(--hu)); color: var(--wine); }

/* ---------- Rooms & suites ---------- */
.bor-rooms { position: relative; height: calc(3886 * var(--hu)); background: #e8e2d7; text-align: center; }
.bor-rooms_h { position: absolute; left: 0; right: 0; top: calc(var(--rh, 103) * var(--hu)); font-family: var(--font); font-weight: 700; font-size: clamp(44px, calc(80 * var(--hu)), 80px); line-height: 1; letter-spacing: .005em; text-transform: uppercase; margin: 0; }
.bor-rooms_sub { position: absolute; left: 0; right: 0; top: calc(var(--rs, 202) * var(--hu)); font-weight: 600; font-size: clamp(18px, calc(32 * var(--hu)), 32px); line-height: 1.2; margin: 0; }
.room { position: absolute; width: calc(536 * var(--hu)); text-align: left; --x: 140; --y: 1204; --ctm: 13; --gm: 22; --tm: 20; --dm: 20; --dw: 400; --df: 20; --dcol: var(--c-ink); left: calc(var(--x) * var(--hu)); top: calc(var(--y) * var(--hu)); }
.room:nth-of-type(1) { --x: 692; --y: 331; }
.room:nth-of-type(2) { --x: 140; --y: 1204; }
.room:nth-of-type(3) { --x: 692; --y: 1204; }
.room:nth-of-type(4) { --x: 1244; --y: 1204; }
.room:nth-of-type(5) { --x: 416; --y: 2052; }
.room:nth-of-type(6) { --x: 968; --y: 2052; }
.room:nth-of-type(7) { --x: 692; --y: 2949; }
.room_window { width: 100%; height: calc(402 * var(--hu)); overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch; background: #d8d0c2; outline-offset: 4px; }
.room_window::-webkit-scrollbar { display: none; }
.room_track { display: flex; width: 100%; height: 100%; margin: 0; padding: 0; list-style: none; }
.room_slide { flex: 0 0 100%; height: 100%; scroll-snap-align: start; overflow: hidden; }
.room_slide img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 900ms var(--ease-out); }
@media (hover: hover) { .room_window:hover .room_slide img { transform: scale(1.03); } }
.room_controls { position: relative; display: flex; align-items: center; justify-content: space-between; height: calc(59 * var(--hu)); min-height: 44px; margin-top: calc(var(--ctm, 13) * var(--hu)); }
.room_btn { width: calc(67 * var(--hu)); min-width: 44px; height: 100%; display: grid; place-items: center; background: transparent; border: 1px solid var(--wine); color: var(--wine); font-family: var(--font); font-size: clamp(20px, calc(38 * var(--hu)), 38px); line-height: 1; cursor: pointer; transition: background-color 300ms var(--ease-out), color 300ms var(--ease-out), transform 200ms var(--ease-out); }
.room_btn:hover:not(:disabled), .room_btn:focus-visible { background: var(--wine); color: var(--cream); }
.room_btn:active:not(:disabled) { transform: scale(.94); }
.room_btn:disabled { opacity: .35; cursor: default; }
.room_btn span { display: block; transition: transform 300ms var(--ease-out); }
.room_btn.is-prev:hover:not(:disabled) span { transform: translateX(-4px); }
.room_btn.is-next:hover:not(:disabled) span { transform: translateX(4px); }
.room_count { font-size: clamp(15px, calc(24 * var(--hu)), 24px); color: var(--wine); }
.room_guests { margin: calc(var(--gm, 26) * var(--hu)) 0 0; font-size: clamp(13px, calc(19 * var(--hu)), 19px); letter-spacing: .06em; text-transform: uppercase; color: var(--wine); line-height: 1; }
.room_title { margin: calc(var(--tm, 14) * var(--hu)) 0 0; font-family: var(--font); font-weight: 700; font-size: clamp(26px, calc(40 * var(--hu)), 40px); line-height: 1.1; color: var(--ink); }
.room_desc { min-height: calc(100.5 * var(--hu)); margin: calc(var(--dm, 14) * var(--hu)) 0 0; font-size: max(15px, calc(var(--df, 20) * var(--hu))); line-height: calc(33.5 * var(--hu)); color: var(--dcol, var(--ink)); max-width: calc(var(--dw, 440) * var(--hu)); }
.room_cta { margin-top: calc(var(--cm2, 24) * var(--hu)); height: calc(52 * var(--hu)); min-height: 44px; min-width: calc(255 * var(--hu)); padding: 0 calc(20 * var(--hu)); color: var(--wine); font-size: clamp(16px, calc(24 * var(--hu)), 24px); --outline-fg: var(--wine); }
.room.is-family .room_guests { margin-top: calc((var(--ctm) + 59 + var(--gm)) * var(--hu)); }

/* ---------- Less. But. Better ---------- */
.bor-detail { position: relative; height: calc(1016 * var(--hu)); background: #ede8e9; }
.bor-detail_h { position: absolute; left: calc(140 * var(--hu)); top: calc(var(--dh, 47) * var(--hu)); margin: 0; font-family: var(--font); font-weight: 700; font-size: clamp(44px, calc(80 * var(--hu)), 80px); line-height: 1; letter-spacing: .005em; text-transform: uppercase; }
.bor-detail_p { position: absolute; left: calc(140 * var(--hu)); top: calc(var(--dp, 166) * var(--hu)); margin: 0; font-weight: 600; font-size: max(17px, calc(24 * var(--hu))); line-height: calc(28 * var(--hu)); width: calc(900 * var(--hu)); }
.bor-detail_row { position: absolute; left: calc(140 * var(--hu)); top: calc(319 * var(--hu)); display: flex; gap: calc(12 * var(--hu)); margin: 0; padding: 0; list-style: none; }
.bor-detail_row li { width: calc(402 * var(--hu)); height: calc(515 * var(--hu)); overflow: hidden; }
.bor-detail_row img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 1100ms var(--ease-out); }
@media (hover: hover) { .bor-detail_row li:hover img { transform: scale(1.05); } }

/* ---------- Roman baths / local ambience ---------- */
.bor-local { position: relative; height: calc(1092 * var(--hu)); background: #e8e2d7; }
.bor-local_a, .bor-local_b { position: absolute; top: 0; }
.bor-local_a { left: calc(278 * var(--hu)); }
.bor-local_b { left: calc(839 * var(--hu)); }
.bor-local h2 { position: absolute; top: calc(var(--lh, 181) * var(--hu)); left: calc(var(--lx, 9) * var(--hu)); margin: 0; font-family: var(--font); font-weight: 700; font-size: clamp(40px, calc(80 * var(--hu)), 80px); line-height: calc(92 * var(--hu)); letter-spacing: .005em; text-transform: uppercase; white-space: nowrap; }
.bor-local_a p { width: calc(480 * var(--hu)); }
.bor-local_b h2 { left: calc(-8 * var(--hu)); }
.bor-local p { position: absolute; top: calc(var(--lp, 377) * var(--hu)); left: 0; margin: 0; font-size: max(15px, calc(20 * var(--hu))); line-height: calc(23 * var(--hu)); width: calc(520 * var(--hu)); }
.bor-local img { position: absolute; top: calc(494 * var(--hu)); display: block; width: calc(389 * var(--hu)); height: calc(389 * var(--hu)); object-fit: cover; transition: transform 1100ms var(--ease-out); }
.bor-local_a, .bor-local_b { width: calc(540 * var(--hu)); height: 100%; }
.bor-local_a img { left: 0; }
.bor-local_pair { position: absolute; left: 0; top: 0; width: 100%; height: 100%; }
.bor-local_pair img:first-child { left: 0; }
.bor-local_pair img:last-child { left: calc(414 * var(--hu)); }
.page-borsari .newsletter { background: #cca449; }

/* ---------- Below 1180px: stacked interpretation ---------- */
@media (max-width: 1179px) {
  .bor-hero { height: auto; min-height: 0; padding: 120px 24px 64px; display: grid; gap: 20px; align-content: end; min-height: 640px; }
  .bor-hero > :not(.bor-hero_img) { position: relative; left: auto; top: auto; }
  .bor-hero::after { background: linear-gradient(0deg, rgba(35,31,32,.72), rgba(35,31,32,.25) 70%, rgba(35,31,32,.1)); }
  .bor-hero_title { font-size: clamp(56px, 16vw, 110px); }
  .bor-hero_actions { margin-top: 12px; }
  .bor-btn { height: 52px; padding: 0 22px; font-size: 22px; }
  .bor-story { height: auto; padding: 56px 24px; display: grid; gap: 28px; }
  .bor-story > *, .bor-story_h, .bor-story_lead, .bor-story_body { position: static; width: auto; }
  .bor-story_photo { height: auto; aspect-ratio: 812 / 707; }
  .bor-story_h { font-size: clamp(40px, 11vw, 72px); line-height: 1; margin: 0; }
  .bor-story_lead, .bor-story_body { line-height: 1.5; }
  .bor-story_h2 { font-size: clamp(34px, 9vw, 56px); line-height: 1.05; }
  .bor-story_copy { line-height: 1.5; }
  .bor-rooms { height: auto; padding: 56px 24px; display: grid; gap: 48px; justify-items: center; }
  .bor-rooms_h, .bor-rooms_sub { position: static; }
  .room, .room:nth-of-type(n) { position: relative; left: auto; top: auto; width: min(100%, 560px); }
  .room_window { height: auto; aspect-ratio: 536 / 402; }
  .room_btn { width: 56px; } .room.is-family .room_guests { margin-top: calc(var(--gm) * var(--hu)); }
  .room_desc { min-height: 0; }
  .room_desc { max-width: none; line-height: 1.45; }
  .bor-detail { height: auto; padding: 56px 24px; display: grid; gap: 20px; }
  .bor-detail_h, .bor-detail_p, .bor-detail_row { position: static; width: auto; }
  .bor-detail_p { line-height: 1.5; }
  .bor-detail_row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .bor-detail_row li { width: auto; height: auto; aspect-ratio: 402 / 515; }
  .bor-local { height: auto; padding: 56px 24px; display: grid; gap: 56px; }
  .bor-local_a, .bor-local_b { position: static; width: auto; height: auto; display: grid; gap: 16px; }
  .bor-local h2, .bor-local p, .bor-local img, .bor-local_pair { position: static; width: auto; height: auto; line-height: 1.05; }
  .bor-local p { line-height: 1.5; }
  .bor-local_pair { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
  .bor-local img { aspect-ratio: 1; width: 100%; height: auto; }
}
@media (prefers-reduced-motion: reduce) { .room_slide img, .bor-detail_row img, .bor-btn, .room_btn { transition: none !important; } .room_window:hover .room_slide img { transform: none; } }

/* Quick fixes 24 Nov 2026 (Thomas Reymond): practical information block; Family Cuvée is a normal 4-photo carousel */
.bor-practical { padding: calc(80 * var(--hu)) calc(140 * var(--hu)); color: var(--wine); }
.bor-practical .practical_heading { font-size: clamp(36px, calc(64 * var(--hu)), 64px); line-height: 1; text-transform: uppercase; margin: 0 0 calc(28 * var(--hu)); }
.bor-practical p { font-size: max(16px, calc(24 * var(--hu))); line-height: 1.45; margin: 0 0 calc(10 * var(--hu)); max-width: calc(1100 * var(--hu)); color: var(--ink); }
.bor-practical p.bor-practical_contact { margin-top: calc(24 * var(--hu)); font-weight: 700; color: var(--wine); }
@media (max-width: 1179px) { .bor-practical { padding: 48px 24px; } .bor-practical p { max-width: none; } }
/* "Less. But. Better." keeps 2 photos (washbasin + bottle removed): wider tiles on desktop so the row is not half empty */
@media (min-width: 1180px) { .bor-detail_row li { width: calc(600 * var(--hu)); } }
