/* Villa 5H: Contemporary Istrian Retreat. Mobile first. All colours are variables. */

:root {
	--ivory: #F9F6F1;
	--sand: #E9D9D1;
	--limestone: #C9B49A;
	--olive: #50624A;
	--charcoal: #2B2B27;
	--copper: #B8744F;

	/* Derived shades keep text contrast at WCAG AA. */
	--olive-deep: #2F3D2C;
	--olive-hover: #435340;
	--copper-text: #96583A;
	--copper-hover: #A6653F;
	--muted: #5C5B53;
	--line: #DFD6CA;
	--white: #FFFFFF;
	--scrim: rgba(24, 28, 22, .72);
	--scrim-soft: rgba(24, 28, 22, .42);
	--error: #A02C1F;

	--font-head: "Playfair Display", Georgia, "Times New Roman", serif;
	--font-body: Montserrat, "Helvetica Neue", Arial, sans-serif;

	--gutter: 20px;
	--wrap: 1240px;
	--space: clamp(56px, 8vw, 104px);
	--ease: cubic-bezier(.2, .7, .2, 1);
	--header-h: 68px;
}

@media (min-width: 720px) { :root { --gutter: 40px; } }
@media (min-width: 1100px) { :root { --header-h: 84px; } }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
	margin: 0;
	background: var(--ivory);
	color: var(--charcoal);
	font-family: var(--font-body);
	font-size: 16px;
	line-height: 1.7;
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}
html.v5-nav-open, html.v5-viewer-open { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
ul { margin: 0; padding: 0; list-style: none; }
p { margin: 0 0 1em; }
address { font-style: normal; }
h1, h2, h3, h4 { margin: 0; font-family: var(--font-head); font-weight: 500; line-height: 1.15; font-variant-numeric: lining-nums; }
:focus-visible { outline: 2px solid var(--copper); outline-offset: 3px; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.v5-skip { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--charcoal); color: var(--white); padding: 10px 16px; }
.v5-skip:focus { top: 12px; }

.v5-wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.v5-section { padding-block: var(--space); }
.v5-section__head { max-width: 680px; margin-bottom: clamp(28px, 4vw, 48px); }
.v5-section__head--row { max-width: none; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 20px; }
.v5-h2 { font-size: clamp(30px, 3.6vw, 44px); letter-spacing: -.005em; }
.v5-h3 { font-size: clamp(21px, 2vw, 25px); }
.v5-h3 a { text-decoration: none; }
.v5-h3 a:hover { color: var(--olive); }
.v5-label { font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--copper-text); margin-bottom: 12px; }
.v5-rule::after { content: ""; display: block; width: 56px; height: 2px; background: var(--copper); margin-top: 24px; }
.v5-body { margin-top: 20px; color: var(--muted); max-width: 62ch; }
.v5-body:empty { display: none; }
.v5-body p:last-child { margin-bottom: 0; }
.v5-note { font-size: 13px; line-height: 1.6; color: var(--muted); }
.v5-link { color: var(--olive); font-weight: 600; text-underline-offset: 4px; }

.v5-media { overflow: hidden; background: var(--sand); display: block; }
.v5-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
a.v5-media:hover img, .v5-card:hover .v5-media img { transform: scale(1.025); }

/* Buttons */
.v5-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 12px;
	min-height: 46px; padding: 12px 22px;
	border: 1px solid transparent; border-radius: 2px;
	font-family: var(--font-body); font-size: 14px; font-weight: 600; line-height: 1.2;
	text-decoration: none; cursor: pointer;
	transition: background-color .25s, color .25s, border-color .25s;
}
.v5-btn svg { flex: none; transition: transform .25s var(--ease); }
.v5-btn:hover svg { transform: translateX(3px); }
.v5-btn--primary { background: var(--olive); color: var(--white); }
.v5-btn--primary:hover { background: var(--olive-hover); }
.v5-btn--copper { background: var(--copper-text); color: var(--white); }
.v5-btn--copper:hover { background: var(--copper-hover); }
.v5-btn--ghost { border-color: var(--olive); color: var(--olive); background: transparent; }
.v5-btn--ghost:hover { background: var(--olive); color: var(--white); }

/* Header */
.v5-header { position: sticky; top: 0; z-index: 100; background: var(--ivory); border-bottom: 1px solid var(--line); transition: background-color .3s, border-color .3s, box-shadow .3s; }
.has-overlay-header .v5-header { position: fixed; left: 0; right: 0; background: transparent; border-color: transparent; color: var(--white); }
.has-overlay-header .v5-header.is-stuck, .v5-nav-open .has-overlay-header .v5-header { background: var(--olive-deep); }
.v5-canvas > :first-child { margin-top: 0; }
.v5-header__inner { display: flex; align-items: center; gap: 24px; min-height: var(--header-h); }
.v5-logo { font-family: var(--font-body); font-size: 25px; font-weight: 300; letter-spacing: .04em; text-transform: uppercase; text-decoration: none; white-space: nowrap; position: relative; z-index: 2; }
.v5-logo em { font-style: normal; font-weight: 500; color: var(--copper); }
.has-overlay-header .v5-logo em, .v5-footer .v5-logo em { color: var(--limestone); }
.v5-header__actions { margin-left: auto; display: flex; align-items: center; gap: 12px; position: relative; z-index: 2; }
.v5-header__actions > .v5-btn { display: none; }

.v5-nav { position: fixed; inset: 0; z-index: 1; display: flex; flex-direction: column; padding: calc(var(--header-h) + 24px) var(--gutter) 32px; background: var(--olive-deep); color: var(--white); visibility: hidden; opacity: 0; transition: opacity .25s, visibility .25s; overflow-y: auto; }
.v5-nav-open .v5-nav { visibility: visible; opacity: 1; }
.v5-nav__list a { display: block; padding: 11px 0; font-family: var(--font-head); font-size: 26px; text-decoration: none; }
.v5-nav__mobile-extra { margin-top: auto; padding-top: 28px; }
.v5-langlist { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.v5-langlist a { font-size: 14px; text-decoration: none; opacity: .8; display: inline-block; padding: 8px 0; }
.v5-langlist [aria-current] { opacity: 1; border-bottom: 1px solid var(--limestone); }

.v5-burger { width: 44px; height: 44px; padding: 0 10px; background: none; border: 0; color: inherit; cursor: pointer; display: flex; flex-direction: column; justify-content: center; gap: 7px; }
.v5-nav-open .v5-burger { color: var(--white); }
.v5-nav-open .v5-logo { color: var(--white); }
.v5-burger span[aria-hidden] { display: block; height: 1.5px; background: currentColor; transition: transform .25s; }
.v5-burger[aria-expanded="true"] span[aria-hidden]:nth-of-type(2) { transform: translateY(4.25px) rotate(45deg); }
.v5-burger[aria-expanded="true"] span[aria-hidden]:nth-of-type(3) { transform: translateY(-4.25px) rotate(-45deg); }

.v5-lang { position: relative; display: none; font-size: 13px; font-weight: 500; }
.v5-lang summary { display: flex; align-items: center; gap: 7px; min-height: 44px; padding: 0 6px; cursor: pointer; list-style: none; }
.v5-lang summary::-webkit-details-marker { display: none; }
.v5-lang ul { position: absolute; right: 0; top: 100%; min-width: 150px; background: var(--white); color: var(--charcoal); box-shadow: 0 10px 30px var(--scrim-soft); padding: 6px; }
.v5-lang a { display: block; padding: 8px 12px; text-decoration: none; }
.v5-lang a:hover, .v5-lang [aria-current] { background: var(--ivory); }

@media (min-width: 1100px) {
	.v5-nav { position: static; flex-direction: row; flex: 1; padding: 0; background: none; color: inherit; visibility: visible; opacity: 1; overflow: visible; justify-content: flex-end; }
	.v5-nav__list { display: flex; gap: clamp(16px, 2vw, 30px); }
	.v5-nav__list a { font-family: var(--font-body); font-size: 14px; font-weight: 500; padding: 8px 0; border-bottom: 1px solid transparent; transition: border-color .25s; white-space: nowrap; }
	.v5-nav__list a:hover, .v5-nav__list .current-menu-item > a { border-color: currentColor; }
	.v5-nav__mobile-extra, .v5-burger { display: none; }
	.v5-header__actions { margin-left: 20px; }
	.v5-header__actions > .v5-btn { display: inline-flex; }
	.v5-lang { display: block; }
}

/* Hero */
.v5-hero { position: relative; display: flex; color: var(--white); min-height: min(92svh, 860px); background: var(--olive-deep); }
.v5-hero__media { position: absolute; inset: 0; overflow: hidden; }
.v5-hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 50%; }
.v5-hero__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--scrim) 0%, var(--scrim-soft) 45%, transparent 75%), linear-gradient(180deg, var(--scrim-soft) 0%, transparent 22%); }
.v5-hero__inner { position: relative; align-self: flex-end; padding-top: calc(var(--header-h) + 32px); padding-bottom: clamp(28px, 4vw, 44px); }
.v5-hero__eyebrow { font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 14px; }
.v5-hero__title { font-weight: 500; }
.v5-hero__name { display: block; font-size: clamp(50px, 7vw, 84px); line-height: 1; }
.v5-hero__name em { font-style: normal; color: var(--limestone); }
.v5-hero__headline { display: block; margin-top: 16px; max-width: 16em; font-family: var(--font-head); font-size: clamp(24px, 2.6vw, 32px); line-height: 1.22; }
.v5-hero__sub { max-width: 34em; margin: 16px 0 24px; font-size: 15px; }
.v5-hero__facts { display: flex; flex-wrap: wrap; gap: 12px 0; margin-top: 30px; }
.v5-hero__facts li { padding-inline: 18px; border-left: 1px solid rgba(255,255,255,.4); text-align: center; line-height: 1.3; font-size: 13px; }
.v5-hero__facts li:first-child { border: 0; padding-left: 0; }
.v5-hero__facts strong { display: block; font-size: 20px; font-weight: 500; }
.v5-hero__facts .is-text strong { font-size: 13px; font-weight: 400; padding-top: 1px; }
.v5-hero__facts .is-text span { display: block; }
@media (max-width: 899px) {
	.v5-hero__media::after { background: linear-gradient(180deg, var(--scrim-soft) 0%, var(--scrim) 45%, var(--scrim) 100%); }
	.v5-hero__facts { display: grid; grid-template-columns: repeat(4, auto); justify-content: start; }
	.v5-hero__facts li { padding-inline: 10px; font-size: 12px; }
}

/* Page header */
.v5-pagehero { position: relative; display: flex; color: var(--white); min-height: 58svh; background: var(--olive-deep); }
.v5-pagehero--plain { min-height: 0; }
.v5-pagehero--plain .v5-pagehero__inner { padding-top: calc(var(--header-h) + 56px); padding-bottom: 56px; }
.v5-pagehero__inner { position: relative; align-self: flex-end; padding-top: calc(var(--header-h) + 40px); padding-bottom: clamp(36px, 5vw, 64px); }
.v5-pagehero__title { font-size: clamp(36px, 5vw, 62px); max-width: 15em; }
.v5-pagehero__text { margin: 16px 0 0; max-width: 38em; }
@media (min-width: 900px) {
	/* Page heroes can be bright interiors, so the header and title need a firmer backing. */
	.v5-pagehero .v5-hero__media::after { background: linear-gradient(90deg, var(--scrim) 0%, var(--scrim-soft) 55%, rgba(24, 28, 22, .2) 100%), linear-gradient(180deg, var(--scrim) 0%, transparent 32%); }
}

/* Introduction */
.v5-intro__grid { display: grid; gap: 32px; }
.v5-intro__media { aspect-ratio: 3 / 2; }
@media (min-width: 900px) {
	.v5-intro__grid { grid-template-columns: 5fr 8fr; gap: clamp(32px, 4vw, 64px); align-items: center; }
}

/* Facts */
.v5-facts { background: var(--sand); }
.v5-facts__numbers { display: grid; grid-template-columns: repeat(2, 1fr); margin: 0; border-top: 1px solid var(--limestone); }
.v5-facts__numbers > div { padding: 22px 0; border-bottom: 1px solid var(--limestone); display: flex; flex-direction: column-reverse; gap: 2px; }
.v5-facts__numbers dt { font-size: 13px; color: var(--muted); }
.v5-facts__numbers dd { margin: 0; font-family: var(--font-head); font-variant-numeric: lining-nums; font-size: clamp(32px, 4vw, 46px); line-height: 1.1; }
.v5-facts__list { display: grid; gap: 4px 32px; margin-top: 28px; }
.v5-facts__list li { padding-left: 20px; position: relative; }
.v5-facts__list li::before, .v5-list li::before { content: ""; position: absolute; left: 0; top: .75em; width: 9px; height: 1.5px; background: var(--copper-text); }
@media (min-width: 720px) {
	.v5-facts__numbers { grid-template-columns: repeat(4, 1fr); }
	.v5-facts__numbers > div { padding-left: 24px; border-left: 1px solid var(--limestone); }
	.v5-facts__numbers > div:first-child { padding-left: 0; border-left: 0; }
	.v5-facts__list { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1100px) { .v5-facts__list { grid-template-columns: repeat(4, 1fr); } }

/* Image and text */
.v5-feature { display: grid; }
.v5-feature__media { display: grid; gap: 12px; min-width: 0; }
.v5-feature__media > * { min-width: 0; }
.v5-feature__media .v5-media { aspect-ratio: 3 / 2; }
.v5-feature__text { padding: clamp(40px, 6vw, 72px) var(--gutter); max-width: 620px; align-self: center; }
.v5-feature__text .v5-btn { margin-top: 24px; }
.v5-list { margin-top: 18px; }
.v5-list li { position: relative; padding-left: 20px; }
.v5-tone-sand { background: var(--sand); }
.v5-tone-dark { background: var(--olive-deep); color: var(--ivory); }
.v5-tone-dark .v5-body { color: var(--sand); }
.v5-tone-dark .v5-label { color: var(--limestone); }
.v5-tone-dark .v5-media { background: var(--charcoal); }
.v5-tone-sand .v5-body { color: var(--charcoal); }
.v5-tone-sand .v5-label { color: var(--copper-text); }
.v5-feature--textonly .v5-feature__text { margin-inline: auto; text-align: center; padding-block: var(--space); }
.v5-feature--textonly .v5-body { margin-inline: auto; }
@media (min-width: 900px) {
	.v5-feature { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: center; }
	.v5-feature--textonly { grid-template-columns: 1fr; }
	.v5-feature--media-right { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
	.v5-feature--media-right .v5-feature__media { order: 2; }
	.v5-feature__media .v5-media { aspect-ratio: 16 / 10; width: 100%; }
	.v5-feature--media-right .v5-feature__text { justify-self: end; padding-right: clamp(32px, 4vw, 64px); padding-left: max(var(--gutter), calc((100vw - var(--wrap)) / 2)); max-width: none; }
	.v5-feature--media-left .v5-feature__text { padding-left: clamp(32px, 4vw, 64px); padding-right: var(--gutter); }
	.v5-feature--pair .v5-feature__media { grid-template-columns: 5fr 4fr; align-items: stretch; }
	.v5-feature--pair .v5-media { aspect-ratio: 4 / 3; }
}
.v5-tone-light.v5-feature + .v5-tone-light.v5-feature { margin-top: 0; }
.v5-canvas > .v5-feature:not(.v5-tone-sand):not(.v5-tone-dark) { padding-block: clamp(12px, 2vw, 28px); }

/* Cards */
.v5-cards__grid { display: grid; gap: 40px 24px; }
.v5-card__media { aspect-ratio: 3 / 2; margin-bottom: 18px; }
.v5-card__media.is-empty { display: flex; align-items: center; justify-content: center; text-align: center; padding: 20px; background: var(--sand); font-family: var(--font-head); font-size: 25px; color: var(--olive); }
.v5-card p { margin: 8px 0 0; font-size: 15px; color: var(--muted); }
@media (min-width: 720px) {
	.v5-cards__grid--2, .v5-cards__grid--4 { grid-template-columns: repeat(2, 1fr); }
	.v5-cards__grid--3 { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1100px) { .v5-cards__grid--4 { grid-template-columns: repeat(4, 1fr); } }

/* Destinations, compact */
.v5-places { display: grid; background: var(--ivory); }
.v5-places__media { aspect-ratio: 16 / 9; }
.v5-places__text { padding: clamp(44px, 6vw, 72px) var(--gutter); }
.v5-places--noimage { background: var(--sand); }
.v5-places--noimage .v5-places__text { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin-inline: auto; }
.v5-places--noimage .v5-body { color: var(--charcoal); }
.v5-places__list { display: grid; gap: 18px; margin: 28px 0; }
.v5-places__list strong { display: block; font-family: var(--font-head); font-weight: 500; font-size: 21px; line-height: 1.25; }
.v5-places__list span { font-size: 14px; color: var(--muted); }
.v5-places--noimage .v5-places__list span { color: var(--charcoal); }
@media (min-width: 720px) {
	.v5-places__list { grid-template-columns: repeat(3, 1fr); gap: 0; }
	.v5-places__list li { padding-inline: 24px; border-left: 1px solid var(--copper); }
	.v5-places__list li:first-child { padding-left: 0; border: 0; }
}
@media (min-width: 900px) {
	.v5-places:not(.v5-places--noimage) { grid-template-columns: 7fr 6fr; align-items: center; }
	.v5-places__media { aspect-ratio: auto; height: 100%; min-height: 380px; }
	.v5-places:not(.v5-places--noimage) .v5-places__text { padding-inline: clamp(32px, 4vw, 64px) var(--gutter); }
}

/* Destinations, full */
.v5-placelist__group { padding-top: 32px; margin-top: 32px; border-top: 1px solid var(--line); }
.v5-placelist__title { font-family: var(--font-body); font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--copper-text); margin-bottom: 24px; line-height: 1.5; }
.v5-placelist__items { display: grid; gap: 32px; }
.v5-place .v5-media { aspect-ratio: 3 / 2; margin-bottom: 16px; }
.v5-place p { margin: 8px 0 0; color: var(--muted); font-size: 15px; }
.v5-place .v5-place__km { color: var(--copper-text); font-weight: 600; font-size: 14px; }
@media (min-width: 720px) { .v5-placelist__items { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .v5-placelist__items { grid-template-columns: repeat(3, 1fr); } }

/* Gallery */
.v5-gallery__tabs { display: flex; gap: 8px; margin-bottom: 28px; overflow-x: auto; padding-bottom: 6px; scrollbar-width: thin; }
.v5-gallery__tabs button { flex: none; min-height: 44px; padding: 8px 16px; background: none; border: 1px solid var(--line); color: var(--charcoal); font: 500 14px var(--font-body); cursor: pointer; transition: background-color .2s, color .2s; }
.v5-gallery__tabs button:hover { border-color: var(--olive); }
.v5-gallery__tabs .is-active { background: var(--olive); border-color: var(--olive); color: var(--white); }
.v5-gallery__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.v5-gallery__grid li[hidden] { display: none; }
.v5-gallery__grid .v5-media { aspect-ratio: 4 / 3; }
.v5-gallery--preview .v5-gallery__grid li:first-child { grid-column: 1 / -1; }
.v5-gallery--preview .v5-gallery__grid li:first-child .v5-media { aspect-ratio: 16 / 9; }
@media (min-width: 900px) {
	.v5-gallery__grid { grid-template-columns: repeat(3, 1fr); gap: 12px; }
	.v5-gallery--preview .v5-gallery__grid { grid-template-columns: repeat(4, 1fr); }
	.v5-gallery--preview .v5-gallery__grid li:first-child { grid-column: span 2; grid-row: span 2; }
	.v5-gallery--preview .v5-gallery__grid li:first-child .v5-media { aspect-ratio: auto; height: 100%; }
}
.v5-viewer { width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: var(--charcoal); color: var(--white); overflow: hidden; }
.v5-viewer[open] { display: flex; align-items: center; justify-content: center; }
.v5-viewer::backdrop { background: var(--charcoal); }
.v5-viewer img { max-width: 100%; max-height: 100%; object-fit: contain; }
.v5-viewer button { position: absolute; width: 52px; height: 52px; background: var(--scrim); color: var(--white); border: 0; font-size: 28px; line-height: 1; cursor: pointer; }
.v5-viewer__close { top: 12px; right: 12px; }
.v5-viewer__prev { left: 12px; top: 50%; translate: 0 -50%; }
.v5-viewer__next { right: 12px; top: 50%; translate: 0 -50%; }
.v5-viewer__count { position: absolute; bottom: 12px; left: 50%; translate: -50% 0; margin: 0; padding: 2px 10px; background: var(--scrim); font-size: 13px; }

/* Reviews */
.v5-reviews { background: var(--sand); }
.v5-reviews__grid { display: grid; gap: 20px; }
.v5-review { margin: 0; padding: 28px; background: var(--ivory); display: flex; flex-direction: column; }
.v5-review__rating { font-family: var(--font-head); font-size: 22px; color: var(--copper-text); margin-bottom: 10px; }
.v5-review blockquote { margin: 0 0 18px; flex: 1; }
.v5-review figcaption { font-size: 13px; color: var(--muted); display: flex; flex-wrap: wrap; gap: 2px 10px; }
.v5-review figcaption strong { width: 100%; color: var(--charcoal); font-size: 15px; font-weight: 600; }
@media (min-width: 900px) { .v5-reviews__grid { grid-template-columns: repeat(3, 1fr); } }

/* Booking bar */
.v5-bar-section { padding-block: clamp(28px, 4vw, 44px); }
.v5-bar { position: relative; overflow: hidden; background: var(--olive-deep); color: var(--white); padding: clamp(28px, 4vw, 40px) clamp(20px, 4vw, 52px); border-radius: 3px; display: grid; gap: 24px; }
.v5-bar .v5-h2 { font-size: clamp(27px, 2.8vw, 34px); }
.v5-bar__text p { margin: 10px 0 0; font-size: 14px; color: var(--sand); }
.v5-bar__form { display: grid; gap: 10px; }
.v5-bar__form label { display: block; background: var(--white); color: var(--charcoal); padding: 8px 12px; border-radius: 2px; }
.v5-bar__form label span { display: block; font-size: 12px; color: var(--muted); }
.v5-bar__form input, .v5-bar__form select { display: block; width: 100%; padding: 2px 0; border: 0; background: transparent; color: var(--charcoal); font: 500 15px var(--font-body); min-height: 28px; }
.v5-bar__form input:focus, .v5-bar__form select:focus { outline: none; }
.v5-bar__form label:focus-within { outline: 2px solid var(--limestone); outline-offset: 2px; }
.v5-bar__form .v5-btn { min-height: 54px; }
@media (min-width: 720px) {
	.v5-bar__form { grid-template-columns: 1fr 1fr 1fr; }
	.v5-bar__form .v5-btn { grid-column: 1 / -1; }
}
@media (min-width: 1100px) {
	.v5-bar { grid-template-columns: 3fr 7fr; align-items: center; gap: 32px; }
	.v5-bar__form { grid-template-columns: 1.1fr 1.1fr .8fr auto; }
	.v5-bar__form .v5-btn { grid-column: auto; }
}

/* Calendar and form */
.v5-booking__grid { display: grid; gap: 40px; align-items: start; }
@media (min-width: 1000px) { .v5-booking__grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 56px; } }
.v5-cal { position: relative; background: var(--white); border: 1px solid var(--line); padding: 16px; }
.v5-cal__nav { position: absolute; left: 10px; right: 10px; top: 10px; display: flex; justify-content: space-between; pointer-events: none; }
.v5-cal__nav button { pointer-events: auto; width: 44px; height: 44px; background: none; border: 0; font-size: 24px; color: var(--olive); cursor: pointer; }
.v5-cal__nav button:disabled { opacity: .25; cursor: default; }
.v5-cal__months { display: grid; gap: 24px; }
@media (min-width: 720px) { .v5-cal__months { grid-template-columns: 1fr 1fr; } .v5-cal { padding: 20px; } }
.v5-cal__month h4 { text-align: center; font-size: 18px; line-height: 44px; margin-bottom: 6px; text-transform: capitalize; }
.v5-cal__grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; }
.v5-cal__dow { text-align: center; font-size: 11px; font-weight: 600; color: var(--muted); padding: 4px 0; text-transform: uppercase; }
.v5-cal__day { aspect-ratio: 1; min-height: 40px; width: 100%; padding: 0; background: var(--ivory); border: 0; color: var(--charcoal); font: 500 14px var(--font-body); cursor: pointer; transition: background-color .15s; }
.v5-cal__day:hover:not(:disabled) { background: var(--sand); }
.v5-cal__day:disabled { cursor: not-allowed; }
.v5-cal__day.is-past { background: transparent; color: var(--limestone); }
.v5-cal__day.is-blocked { background: var(--line); color: var(--muted); text-decoration: line-through; }
.v5-cal__day.is-checkout { text-decoration: none; background: linear-gradient(135deg, var(--ivory) 50%, var(--line) 50%); color: var(--charcoal); }
.v5-cal__day.is-range { background: var(--sand); }
.v5-cal__day.is-edge, .v5-cal__day.is-edge:hover:not(:disabled) { background: var(--olive); color: var(--white); text-decoration: none; }
.v5-cal__status { min-height: 1.7em; margin: 14px 0 8px; font-weight: 600; }
.v5-cal__legend { display: flex; flex-wrap: wrap; gap: 6px 20px; margin-bottom: 14px; font-size: 13px; }
.v5-cal__legend[hidden] { display: none; }
.v5-cal__legend li { display: flex; align-items: center; gap: 8px; }
.v5-cal__legend li::before { content: ""; width: 14px; height: 14px; border: 1px solid var(--line); background: var(--ivory); }
.v5-cal__legend .is-blocked::before { background: var(--line); }
.v5-cal__legend .is-picked::before { background: var(--olive); border-color: var(--olive); }

.v5-form { background: var(--white); border: 1px solid var(--line); padding: clamp(20px, 3vw, 32px); }
.v5-form .v5-h3 { margin-bottom: 20px; }
.v5-form__row { display: grid; gap: 0 14px; }
@media (min-width: 480px) { .v5-form__row { grid-template-columns: 1fr 1fr; } }
.v5-field { margin: 0 0 14px; }
.v5-field label { display: block; margin-bottom: 4px; font-size: 13px; font-weight: 600; }
.v5-field input:not([type="checkbox"]), .v5-field select, .v5-field textarea { width: 100%; min-height: 46px; padding: 10px 12px; border: 1px solid var(--limestone); border-radius: 2px; background: var(--white); color: var(--charcoal); font: 400 16px/1.4 var(--font-body); }
.v5-field input:focus, .v5-field select:focus, .v5-field textarea:focus { outline: 2px solid var(--olive); outline-offset: 0; border-color: var(--olive); }
.v5-field [aria-invalid="true"] { border-color: var(--error); }
.v5-field__error { display: block; margin-top: 4px; color: var(--error); font-size: 13px; font-weight: 500; }
.v5-field--check label { display: flex; gap: 10px; font-weight: 400; line-height: 1.5; }
.v5-field--check input { flex: none; width: 20px; height: 20px; margin-top: 1px; accent-color: var(--olive); }
.v5-form .v5-btn { width: 100%; }
.v5-form__msg { margin: 14px 0; font-weight: 500; }
.v5-form__msg:empty { margin: 0; }
.v5-form__msg.is-error { color: var(--error); }
.v5-form__msg.is-success { padding: 12px 14px; background: var(--sand); }
.v5-form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Map */
.v5-map__grid { display: grid; gap: 32px; align-items: center; }
.v5-map__address { margin: 20px 0 12px; }
.v5-map__frame { aspect-ratio: 4 / 3; background: var(--sand); }
.v5-map__frame iframe { width: 100%; height: 100%; border: 0; display: block; }
.v5-map__consent { height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; padding: 24px; text-align: center; font-size: 14px; }
@media (min-width: 900px) { .v5-map__grid.has-map { grid-template-columns: 5fr 7fr; gap: 56px; } }

/* CTA */
.v5-cta { background: var(--sand); padding-block: var(--space); text-align: center; }
.v5-cta__inner { display: flex; flex-direction: column; align-items: center; }
.v5-cta p { margin: 14px 0 26px; }

/* Text pages */
.v5-prose-page { max-width: 800px; padding-block: clamp(48px, 7vw, 88px); }
.v5-pagetitle { font-size: clamp(34px, 4.6vw, 52px); margin-bottom: 28px; }
.v5-prose h2 { font-size: 27px; margin: 2em 0 .5em; }
.v5-prose h3 { font-size: 21px; margin: 1.6em 0 .5em; }
.v5-prose a { color: var(--olive); }
.v5-prose ul, .v5-prose ol { padding-left: 1.2em; margin-bottom: 1em; list-style: revert; }
.v5-postitem { padding: 20px 0; border-bottom: 1px solid var(--line); }

/* Footer */
.v5-footer { background: var(--olive-deep); color: var(--ivory); padding-block: 48px 24px; font-size: 14px; }
.v5-footer a { text-decoration: none; }
.v5-footer a:hover { text-decoration: underline; text-underline-offset: 3px; }
.v5-footer .v5-btn:hover { text-decoration: none; }
.v5-footer h2 { font-family: var(--font-body); font-size: 14px; font-weight: 600; margin-bottom: 12px; }
.v5-footer address { margin-top: 12px; }
.v5-footer__grid { display: grid; gap: 32px; }
.v5-footer__nav ul { columns: 2; column-gap: 24px; line-height: 2; }
.v5-footer__contact p { margin: 0 0 6px; }
.v5-footer__contact .v5-btn { margin-top: 10px; }
.v5-footer__social { display: flex; gap: 8px; }
.v5-footer__social a { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; }
.v5-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin-top: 36px; padding-top: 20px; font-size: 12px; }
.v5-footer__bottom::before { content: ""; flex: 0 0 100%; height: 1px; background: rgba(255,255,255,.2); margin-bottom: 8px; }
.v5-footer__bottom p { margin: 0; }
.v5-footer__legal { display: flex; flex-wrap: wrap; gap: 4px 18px; }
@media (min-width: 720px) { .v5-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .v5-footer__grid { grid-template-columns: 3fr 3fr 3fr auto; } }

/* Mobile booking button */
.v5-mobilecta { position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 90; box-shadow: 0 8px 24px var(--scrim-soft); }
.v5-nav-open .v5-mobilecta { display: none; }
.v5-footer { padding-bottom: 88px; }
@media (min-width: 1100px) {
	.v5-mobilecta { display: none; }
	.v5-footer { padding-bottom: 24px; }
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { transition: none !important; }
}
