:root {
    --ink: #18342f;
    --deep: #102924;
    --paper: #f5f1e8;
    --sand: #e8dfd0;
    --cream: #fbf9f4;
    --accent: #c77d52;
    --muted: #6e7772;
    --line: rgba(24, 52, 47, .16);
    --serif: "Fraunces", Georgia, serif;
    --sans: "DM Sans", Arial, sans-serif;
    --shell: min(1240px, calc(100vw - 48px))
}

* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 110px
}

body {
    margin: 0;
    background: var(--cream);
    color: var(--ink);
    font-family: var(--sans);
    font-size: 16px;
    line-height: 1.7
}

body:has(dialog[open]) {
    overflow: hidden
}

img {
    display: block;
    max-width: 100%
}

a {
    color: inherit;
    text-decoration: none
}

button,
input,
textarea {
    font: inherit
}

.shell {
    width: var(--shell);
    margin-inline: auto
}

.skip-link {
    position: fixed;
    z-index: 999;
    top: 8px;
    left: 8px;
    padding: 10px 14px;
    background: #fff;
    transform: translateY(-150%)
}

.skip-link:focus {
    transform: none
}

.site-header {
    position: absolute;
    z-index: 20;
    top: 0;
    left: 0;
    width: 100%;
    color: white;
    border-bottom: 1px solid rgba(255, 255, 255, .2)
}

.header-inner {
    height: 98px;
    display: grid;
    grid-template-columns: 210px 1fr auto;
    align-items: center;
    gap: 32px
}

.brand img {
    width: auto;
    height: auto;
    filter: brightness(0) invert(1)
}

.main-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 36px
}

.main-nav a {
    position: relative;
    padding: 10px 0;
    font-size: .88rem;
    letter-spacing: .06em
}

.main-nav a:after {
    content: "";
    position: absolute;
    left: 0;
    right: 100%;
    bottom: 4px;
    height: 1px;
    background: currentColor;
    transition: right .25s
}

.main-nav a:hover:after,
.main-nav a[aria-current=page]:after {
    right: 0
}

.languages {
    display: flex;
    gap: 5px
}

.languages a {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border: 1px solid transparent;
    border-radius: 50%;
    font-size: .72rem;
    font-weight: 600
}

.languages a[aria-current=true] {
    border-color: rgba(255, 255, 255, .7)
}

.menu-toggle {
    display: none;
    border: 0;
    background: none;
    color: inherit
}

.hero {
    position: relative;
    min-height: 760px;
    height: 100svh;
    display: flex;
    align-items: center;
    color: #fff;
    overflow: hidden
}

.hero-media,
.hero-shade {
    position: absolute;
    inset: 0
}

.hero-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.03)
}

.hero-shade {
    background: linear-gradient(90deg, rgb(0 0 0 / 78%) 0%, rgba(7, 29, 25, .28) 58%, rgba(7, 29, 25, .08)), linear-gradient(0deg, rgb(0 0 0 / 55%), #00000003 45%)
}

.hero-content {
    position: relative;
    z-index: 1;
    padding-bottom: 75px
}

.eyebrow {
    margin: 0 0 18px;
    text-transform: uppercase;
    letter-spacing: .22em;
    font-size: .72rem;
    font-weight: 600;
    color: var(--accent)
}

.eyebrow.light {
    color: #f1d8c7
}

.hero h1,
.page-hero h1 {
    max-width: 840px;
    margin: 0;
    font-family: var(--serif);
    font-size: clamp(3.6rem, 7.4vw, 7rem);
    font-weight: 500;
    line-height: .98;
    letter-spacing: -.025em
}

.hero-copy {
    max-width: 570px;
    margin: 30px 0;
    color: rgba(255, 255, 255, .83);
    font-size: 1.1rem
}

.hero-actions {
    display: flex;
    gap: 32px;
    align-items: center
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 54px;
    padding: 0 25px;
    border: 0;
    cursor: pointer;
    font-size: .82rem;
    font-weight: 600;
    letter-spacing: .05em
}

.button-light {
    background: #fff;
    color: var(--ink)
}

.button-dark {
    background: var(--deep);
    color: white
}

.button:hover {
    transform: translateY(-2px)
}

.text-link {
    font-size: .85rem;
    font-weight: 600
}

.text-link span {
    margin-left: 10px;
    font-size: 1.15rem
}

.hero-facts {
    position: absolute;
    z-index: 2;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-top: 1px solid rgba(255, 255, 255, .25)
}

.hero-facts div {
    padding: 20px 28px;
    border-right: 1px solid rgba(255, 255, 255, .18)
}

.hero-facts div:first-child {
    border-left: 1px solid rgba(255, 255, 255, .18)
}

.hero-facts small,
.hero-facts strong {
    display: block
}

.hero-facts small {
    opacity: .65;
    font-size: .68rem;
    text-transform: uppercase;
    letter-spacing: .15em
}

.hero-facts strong {
    font-family: var(--serif);
    font-weight: 500
}

.section {
    padding-block: 120px
}

.welcome-section {
    display: grid;
    grid-template-columns: 100px minmax(280px, .85fr) 1.15fr;
    gap: 48px;
    border-bottom: 1px solid var(--line)
}

.section-index {
    font-family: var(--serif);
    color: var(--accent);
    font-size: .9rem
}

.welcome-title h2,
.section-heading h2,
.destination h2,
.contact-details h2 {
    margin: 0;
    font-family: var(--serif);
    font-weight: 500;
    font-size: clamp(2.6rem, 4.5vw, 4.6rem);
    line-height: 1.05;
    letter-spacing: -.035em
}

.welcome-copy p {
    margin: 0 0 22px;
    color: #52615c
}

.welcome-copy p:first-child {
    font-size: 1.16rem;
    color: var(--ink)
}

.signature {
    font-family: var(--serif);
    font-size: 1.3rem !important;
    color: var(--accent) !important
}

.units-preview {
    background: var(--paper)
}

.section-heading.split {
    display: grid;
    grid-template-columns: 1.3fr .7fr;
    gap: 60px;
    align-items: end;
    margin-bottom: 55px
}

.section-heading.split>p {
    max-width: 450px;
    margin: 0;
    color: var(--muted)
}

.preview-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 310px;
    gap: 14px
}

.preview-card {
    position: relative;
    overflow: hidden;
    color: #fff
}

.preview-card-wide {
    grid-column: span 2;
    grid-row: span 2
}

.preview-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .7s cubic-bezier(.2, .8, .2, 1)
}

.preview-card:hover img {
    transform: scale(1.045)
}

.preview-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(8, 28, 24, .72), transparent 58%)
}

.preview-info {
    position: absolute;
    left: 24px;
    bottom: 22px
}

.preview-info b,
.preview-info small {
    display: block
}

.preview-info b {
    font-family: var(--serif);
    font-size: 1.7rem;
    font-weight: 500
}

.preview-info small {
    opacity: .75
}

.preview-arrow {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, .6);
    border-radius: 50%
}

.booking-rating-section {
    padding: 55px 0;
    background: #fff
}

.booking-rating {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px
}

.booking-brand {
    color: #003b95;
    font-size: 1.05rem;
    font-weight: 700
}

.booking-rating-score {
    display: grid;
    place-items: center;
    width: 58px;
    height: 58px;
    border-radius: 12px 12px 12px 2px;
    background: #003b95;
    color: #fff;
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: -.02em
}

.booking-rating strong {
    color: var(--ink);
    font-family: var(--serif);
    font-size: 1.45rem;
    font-weight: 500
}

.salt-room-section {
    background: var(--deep);
    color: #fff
}

.salt-room-copy {
    display: grid;
    grid-template-columns: .8fr 1.2fr;
    gap: 70px;
    align-items: end;
    margin-bottom: 55px
}

.salt-room-copy .eyebrow {
    grid-column: 1;
    margin-bottom: 0;
    color: #e6b99c
}

.salt-room-copy h2 {
    grid-column: 1;
    margin: 0;
    font-family: var(--serif);
    font-size: clamp(3rem, 5vw, 5rem);
    font-weight: 500;
    line-height: 1
}

.salt-room-copy>p:last-child {
    grid-column: 2;
    grid-row: 1 / 3;
    max-width: 580px;
    margin: 0;
    color: rgba(255, 255, 255, .68)
}

.salt-room-gallery {
    display: grid;
    grid-template-columns: 1.25fr .75fr .75fr;
    grid-template-rows: repeat(2, 260px);
    gap: 12px
}

.salt-room-gallery button {
    padding: 0;
    border: 0;
    overflow: hidden;
    background: #081b17;
    cursor: zoom-in
}

.salt-room-gallery button:first-child {
    grid-row: span 2
}

.salt-room-gallery button:last-child {
    grid-column: 2 / 4
}

.salt-room-gallery img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .6s, opacity .6s
}

.salt-room-gallery button:hover img {
    transform: scale(1.03);
    opacity: .88
}

.garden-band {
    position: relative;
    min-height: 600px;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding: 70px max(24px, calc((100vw - 1240px)/2))
}

.garden-band>img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover
}

.garden-card {
    position: relative;
    max-width: 530px;
    padding: 65px;
    background: rgba(251, 249, 244, .95)
}

.garden-card blockquote {
    margin: 0 0 20px;
    font-family: var(--serif);
    font-size: 2.35rem;
    line-height: 1.25
}

.garden-card cite {
    font-style: normal;
    color: var(--muted);
    font-size: .85rem
}

.page-hero {
    min-height: 500px;
    padding-top: 150px;
    display: flex;
    align-items: center;
    color: white;
    background-size: cover;
    background-position: center;
    position: relative
}

.page-hero:before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgb(0 0 0 / 78%), rgb(0 0 0 / 16%));
}

.page-hero .shell {
    position: relative
}

.page-hero h1 {
    font-size: clamp(4rem, 8vw, 7.5rem)
}

.page-hero p:last-child {
    font-size: 1.15rem;
    opacity: .82
}

.apartments-hero {
    background-image: url('../../images/ap_2_narancasti/Villa-Sukara-Apartman-Bura_9.jpg')
}

.makarska-hero {
    background-image: url('../../images/makarska/makarska1.webp');
    background-position: center 48%
}

.contact-hero {
    background-image: url('../../images/biokovo/Villa-Sukara-Apartman-Biokovo_36.jpg')
}

.apartment-tabs-wrap {
    position: sticky;
    z-index: 10;
    top: 0;
    background: rgba(251, 249, 244, .94);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--line)
}

.apartment-tabs {
    display: flex;
    justify-content: center;
    gap: 46px;
    overflow: auto
}

.apartment-tabs a {
    padding: 18px 4px;
    text-transform: uppercase;
    letter-spacing: .14em;
    font-size: .69rem;
    font-weight: 600
}

.breadcrumbs {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-top: 24px;
    color: var(--muted);
    font-size: .75rem
}

.breadcrumbs a:hover {
    color: var(--accent)
}

.breadcrumbs span[aria-current="page"] {
    color: var(--ink)
}

.apartment-listing {
    padding: 100px 0
}

.apartment-listing.alternate {
    background: var(--paper)
}

.apartment-listing-layout {
    display: grid;
    grid-template-columns: 1.2fr .8fr;
    gap: 80px;
    align-items: center
}

.apartment-listing.alternate .apartment-listing-image {
    order: 2
}

.apartment-listing-image {
    position: relative;
    display: block;
    height: 520px;
    overflow: hidden
}

.apartment-listing-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .6s
}

.apartment-listing-image:hover img {
    transform: scale(1.025)
}

.apartment-listing-image span {
    position: absolute;
    right: 18px;
    bottom: 18px;
    padding: 10px 14px;
    background: rgba(251, 249, 244, .94);
    color: var(--ink);
    font-size: .75rem;
    font-weight: 600
}

.apartment-listing-copy {
    position: relative
}

.apartment-listing-copy h2 {
    margin: 0;
    font-family: var(--serif);
    font-size: clamp(3.2rem, 6vw, 6rem);
    line-height: 1;
    font-weight: 500
}

.apartment-listing-copy h2 a {
    transition: color .2s
}

.apartment-listing-copy h2 a:hover {
    color: var(--accent)
}

.apartment-teaser {
    max-width: 520px;
    margin: 0 0 30px;
    color: var(--muted);
    line-height: 1.75
}

.apartment-more {
    width: fit-content
}

.apartment-section {
    padding: 110px 0 50px
}

.apartment-section.alternate {
    background: var(--paper)
}

.apartment-layout {
    display: grid;
    grid-template-columns: 1.2fr .8fr;
    gap: 80px;
    align-items: center
}

.alternate .apartment-cover {
    order: 2
}

.gallery-trigger {
    position: relative;
    width: 100%;
    height: 620px;
    padding: 0;
    border: 0;
    background: none;
    cursor: zoom-in;
    overflow: hidden
}

.gallery-trigger img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .6s
}

.gallery-trigger:hover img {
    transform: scale(1.025)
}

.gallery-trigger span {
    position: absolute;
    right: 18px;
    bottom: 18px;
    padding: 10px 14px;
    background: rgba(251, 249, 244, .94);
    color: var(--ink);
    font-size: .75rem;
    font-weight: 600
}

.apartment-content {
    position: relative
}

.apartment-number {
    position: absolute;
    right: 0;
    top: 0;
    margin: 0;
    font-family: var(--serif);
    font-size: 1.2rem;
    color: var(--accent)
}

.apartment-content h2 {
    margin: 0;
    font-family: var(--serif);
    font-size: clamp(3.2rem, 6vw, 6rem);
    line-height: 1;
    font-weight: 500
}

.capacity {
    margin: 10px 0 38px;
    color: var(--accent)
}

.apartment-content h3 {
    font-family: var(--serif);
    font-size: 1.45rem;
    font-weight: 500
}

.amenities {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px 18px;
    padding: 0;
    margin: 0;
    list-style: none
}

.amenities li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: .85rem
}

.amenities li span {
    display: grid;
    place-items: center;
    flex: 0 0 24px;
    height: 24px;
    border-radius: 50%;
    background: #dbe7df;
    color: #1c5a46;
    font-size: .75rem;
    font-weight: 700
}

.amenities li.no {
    color: #a09f98
}

.amenities li.no span {
    background: #e7e3dc;
    color: #8e8a83
}

.apartment-notes {
    margin-top: 30px;
    padding-top: 22px;
    border-top: 1px solid var(--line);
    font-size: .78rem;
    color: var(--muted)
}

.apartment-notes p {
    margin: 5px 0
}

.apartment-overview {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px 20px;
    margin: 0 0 18px
}

.apartment-overview div {
    padding-bottom: 12px;
    border-bottom: 1px solid var(--line)
}

.apartment-overview dt {
    margin-bottom: 3px;
    color: var(--muted);
    font-size: .68rem;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase
}

.apartment-overview dd {
    margin: 0;
    font-size: .88rem
}

.guest-capacity {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin: 0 0 18px;
    color: var(--accent);
    font-size: .8rem;
    font-weight: 600
}

.guest-capacity strong {
    font-size: .95rem
}

.guest-icons {
    display: inline-flex;
    gap: 3px;
    height: 20px;
}

.guest-icon {
    width: 15px;
    height: 20px;
    fill: currentColor
}

.guest-icon-child {
    width: 12px;
    height: 16px;
    margin-top: 4px
}

.guest-separator {
    margin-inline: 2px;
    font-size: 1rem
}

.listing-guest-capacity {
    margin-top: -22px;
    margin-bottom: 20px
}

.apartment-description {
    margin: 0;
    color: var(--muted);
    font-size: .88rem;
    line-height: 1.7
}

.apartment-details {
    padding-top: 65px
}

.apartment-details-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px
}

.apartment-detail-card {
    padding: 28px;
    background: rgba(255, 255, 255, .58);
    border: 1px solid var(--line)
}

.apartment-detail-card.is-wide {
    grid-column: 1 / -1
}

.apartment-detail-card h3 {
    margin: 0 0 20px;
    font-family: var(--serif);
    font-size: 1.35rem;
    font-weight: 500
}

.apartment-detail-card ul {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px 24px;
    margin: 0;
    padding: 0;
    list-style: none
}

.apartment-detail-card.is-wide ul {
    grid-template-columns: repeat(3, minmax(0, 1fr))
}

.apartment-detail-card li {
    display: flex;
    gap: 9px;
    align-items: flex-start;
    font-size: .82rem
}

.apartment-detail-card li span {
    color: var(--accent);
    font-weight: 700
}

.smoking-policy {
    margin: 18px 0 0;
    padding: 18px 22px;
    background: var(--deep);
    color: #fff;
    font-size: .85rem
}

.thumb-strip {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-top: 30px;
    padding-bottom: 20px;
    scrollbar-width: thin
}

.thumb-strip button {
    flex: 0 0 115px;
    height: 78px;
    padding: 0;
    border: 0;
    background: none;
    cursor: zoom-in;
    overflow: hidden
}

.thumb-strip img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity .2s
}

.thumb-strip button:hover img {
    opacity: .72
}

.stay-notes-section {
    padding: 100px 0;
    background: #8a8782;
    color: #fff
}

.stay-notes-layout {
    display: block
}

.stay-notes-title {
    margin-bottom: 28px;
    color: #fff;
    font-size: .9rem
}

.stay-notes-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 42px;
    margin: 0;
    padding: 0;
    list-style: none
}

.stay-notes-list li {
    position: relative;
    padding: 16px 0 16px 27px;
    border-bottom: 1px solid rgba(255, 255, 255, .14);
    color: rgba(255, 255, 255, .76)
}

.stay-notes-list li:before {
    content: "";
    position: absolute;
    left: 0;
    top: 27px;
    width: 8px;
    height: 8px;
    border: 1px solid #b0b0b0;
    border-radius: 50%
}

.destination {
    display: grid;
    grid-template-columns: .8fr 1.2fr;
    gap: 100px
}

.destination-intro {
    position: sticky;
    top: 100px;
    align-self: start
}

.destination-stories article {
    display: grid;
    grid-template-columns: 50px 1fr;
    gap: 5px 22px;
    padding: 0 0 45px;
    margin-bottom: 45px;
    border-bottom: 1px solid var(--line)
}

.destination-stories article>span {
    grid-row: 1/3;
    color: var(--accent);
    font-family: var(--serif)
}

.destination-stories h3 {
    margin: 0;
    font-family: var(--serif);
    font-size: 2rem;
    font-weight: 500
}

.destination-stories p {
    margin: 10px 0 0;
    color: var(--muted)
}

.makarska-gallery {
    display: grid;
    grid-template-columns: 1.3fr .7fr .7fr;
    grid-auto-rows: 300px;
    gap: 12px;
    padding-bottom: 120px
}

.makarska-gallery button {
    padding: 0;
    border: 0;
    overflow: hidden;
    cursor: zoom-in
}

.makarska-gallery button:first-child {
    grid-row: span 2
}

.makarska-gallery button:nth-child(4) {
    grid-column: span 2
}

.makarska-gallery img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .6s
}

.makarska-gallery button:hover img {
    transform: scale(1.03)
}

.contact-section {
    display: grid;
    grid-template-columns: .75fr 1.25fr;
    gap: 100px
}

.contact-details dl {
    margin-top: 45px
}

.contact-details dl div {
    display: grid;
    grid-template-columns: 120px 1fr;
    padding: 15px 0;
    border-bottom: 1px solid var(--line)
}

.contact-details dt {
    text-transform: uppercase;
    letter-spacing: .12em;
    font-size: .65rem;
    color: var(--muted)
}

.contact-details dd {
    margin: 0
}

.contact-details a {
    text-decoration: underline;
    text-decoration-color: rgba(24, 52, 47, .25);
    text-underline-offset: 4px
}

.form-card {
    padding: 54px;
    background: var(--paper)
}

.field-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px
}

.field {
    display: block;
    margin-bottom: 24px
}

.field span {
    display: block;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: .12em;
    font-size: .65rem;
    font-weight: 600
}

.field input,
.field textarea {
    width: 100%;
    padding: 13px 0;
    border: 0;
    border-bottom: 1px solid #9ca49e;
    border-radius: 0;
    background: transparent;
    outline: none
}

.field textarea {
    resize: vertical
}

.field input:focus,
.field textarea:focus {
    border-color: var(--accent)
}

.field input[aria-invalid=true],
.field textarea[aria-invalid=true] {
    border-color: #a53e32
}

.captcha-field {
    max-width: 180px
}

.form-status {
    margin-bottom: 25px;
    padding: 14px 18px;
    font-size: .86rem
}

.form-status.success {
    background: #dbe7df
}

.form-status.error {
    background: #f1d9d4;
    color: #7d2f26
}

.honeypot {
    position: absolute !important;
    left: -9999px !important
}

.map-section iframe {
    display: block;
    width: 100%;
    height: 500px;
    border: 0;
    filter: saturate(.7)
}

.site-footer {
    background: var(--deep);
    color: #e7e4dc;
    padding: 75px 0 25px
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 60px;
    padding-bottom: 65px
}

.footer-logo {
    width: 185px;
    filter: brightness(0) invert(1);
    margin-bottom: 18px
}

.footer-grid p {
    color: rgba(255, 255, 255, .55);
    font-size: .85rem
}

.footer-grid nav,
.footer-contact {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    font-size: .85rem
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, .15);
    font-size: .7rem;
    color: rgba(255, 255, 255, .5);
    text-transform: uppercase;
    letter-spacing: .12em
}

.lightbox {
    width: 100vw;
    max-width: none;
    height: 100vh;
    max-height: none;
    margin: 0;
    padding: 28px;
    border: 0;
    background: rgba(5, 15, 13, .96);
    color: #fff
}

.lightbox::backdrop {
    background: rgba(5, 15, 13, .96)
}

.lightbox[open] {
    display: grid;
    grid-template-columns: 70px 1fr 70px;
    align-items: center
}

.lightbox figure {
    margin: 0;
    height: calc(100vh - 56px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center
}

.lightbox figure img {
    max-height: calc(100vh - 105px);
    max-width: 100%;
    object-fit: contain
}

.lightbox figcaption {
    margin-top: 12px;
    font-size: .72rem;
    letter-spacing: .1em;
    color: rgba(255, 255, 255, .7)
}

.lightbox-close,
.lightbox-nav {
    border: 0;
    background: transparent;
    color: white;
    cursor: pointer
}

.lightbox-close {
    position: absolute;
    right: 28px;
    top: 16px;
    font-size: 2.5rem;
    font-weight: 200
}

.lightbox-nav {
    font-family: var(--serif);
    font-size: 4rem
}

.lightbox-nav:hover,
.lightbox-close:hover {
    color: #e4b899
}

@media (max-width:1000px) {
    :root {
        --shell: min(100% - 36px, 900px)
    }

    .header-inner {
        grid-template-columns: 1fr auto auto
    }

    .main-nav {
        position: absolute;
        top: 98px;
        left: 0;
        right: 0;
        display: none;
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
        padding: 25px;
        background: var(--deep)
    }

    .main-nav.open {
        display: flex
    }

    .main-nav a {
        width: 100%;
        font-size: 1rem
    }

    .menu-toggle {
        display: flex;
        align-items: center;
        flex-direction: column;
        justify-content: center;
        width: 44px;
        height: 44px;
        gap: 5px
    }

    .menu-toggle span {
        width: 24px;
        height: 1px;
        background: currentColor
    }

    .menu-toggle b {
        position: absolute;
        overflow: hidden;
        width: 1px;
        height: 1px;
        clip: rect(0, 0, 0, 0)
    }

    .welcome-section {
        grid-template-columns: 50px 1fr
    }

    .welcome-copy {
        grid-column: 2
    }

    .preview-grid {
        grid-template-columns: 1fr 1fr;
        grid-auto-rows: 280px
    }

    .apartment-layout {
        grid-template-columns: 1fr;
        gap: 45px
    }

    .apartment-listing-layout {
        grid-template-columns: 1fr;
        gap: 45px
    }

    .apartment-listing.alternate .apartment-listing-image {
        order: 0
    }

    .alternate .apartment-cover {
        order: 0
    }

    .gallery-trigger {
        height: min(650px, 70vw)
    }

    .apartment-detail-card.is-wide ul {
        grid-template-columns: repeat(2, minmax(0, 1fr))
    }

    .salt-room-copy {
        grid-template-columns: 1fr;
        gap: 38px
    }

    .salt-room-copy .eyebrow,
    .salt-room-copy h2,
    .salt-room-copy>p:last-child {
        grid-column: 1;
        grid-row: auto
    }

    .destination {
        grid-template-columns: 1fr;
        gap: 60px
    }

    .destination-intro {
        position: static
    }

    .contact-section {
        grid-template-columns: 1fr;
        gap: 60px
    }

}

@media (max-width:680px) {
    :root {
        --shell: calc(100% - 30px)
    }

    body {
        overflow-x: hidden
    }

    .header-inner {
        position: relative;
        height: 78px;
        display: block
    }

    .brand {
        position: absolute;
        left: 12px;
        top: 18px
    }

    .brand img {
        width: 128px
    }

    .menu-toggle {
        position: absolute;
        right: 4px;
        top: 17px
    }

    .languages {
        position: absolute;
        right: 54px;
        top: 26px
    }

    .main-nav {
        top: 78px
    }

    .languages a {
        width: 24px;
        height: 24px;
        font-size: .56rem
    }

    .hero {
        min-height: 690px
    }

    .hero-content {
        padding-bottom: 120px
    }

    .hero h1 {
        font-size: 3.35rem
    }

    .hero-copy {
        font-size: .98rem
    }

    .hero-actions {
        align-items: flex-start;
        flex-direction: column;
        gap: 18px
    }

    .hero-facts {
        grid-template-columns: 1fr 1fr
    }

    .hero-facts div {
        padding: 10px 12px
    }

    .hero-facts strong {
        font-size: .85rem
    }

    .hero-facts small {
        font-size: .55rem
    }

    .section {
        padding-block: 78px
    }

    .welcome-section {
        display: block
    }

    .welcome-section .section-index {
        margin-bottom: 30px
    }

    .welcome-copy {
        margin-top: 35px
    }

    .section-heading.split {
        display: block
    }

    .section-heading.split>p {
        margin-top: 20px
    }

    .preview-grid {
        display: block
    }

    .preview-card {
        display: block;
        height: 350px;
        margin-bottom: 10px
    }

    .garden-card {
        padding: 40px 28px
    }

    .garden-card blockquote {
        font-size: 1.8rem
    }

    .page-hero {
        min-height: 440px;
        padding-top: 100px;
        overflow: hidden
    }

    .page-hero .shell {
        width: calc(100vw - 30px);
        min-width: 0;
        margin-inline: 15px
    }

    .page-hero h1 {
        font-size: 3.35rem
    }

    .page-hero p:last-child {
        width: 100%;
        max-width: 100%;
        font-size: 1rem
    }

    .apartment-tabs {
        justify-content: flex-start;
        gap: 26px
    }

    .apartment-section {
        padding-top: 75px
    }

    .apartment-listing {
        padding: 75px 0
    }

    .apartment-listing-image {
        height: 78vw
    }

    .gallery-trigger {
        height: 78vw
    }

    .apartment-content h2,
    .apartment-listing-copy h2 {
        font-size: 3.6rem
    }

    .amenities {
        grid-template-columns: 1fr
    }

    .apartment-overview,
    .apartment-details-grid,
    .apartment-detail-card ul,
    .apartment-detail-card.is-wide ul {
        grid-template-columns: 1fr
    }

    .apartment-detail-card.is-wide {
        grid-column: auto
    }

    .apartment-details {
        padding-top: 45px
    }

    .thumb-strip button {
        flex-basis: 92px;
        height: 65px
    }

    .salt-room-gallery {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: repeat(2, 210px)
    }

    .salt-room-gallery button:first-child,
    .salt-room-gallery button:last-child {
        grid-column: auto;
        grid-row: auto
    }

    .stay-notes-section {
        padding: 75px 0
    }

    .stay-notes-list {
        grid-template-columns: 1fr
    }

    .makarska-gallery {
        grid-template-columns: 1fr 1fr;
        grid-auto-rows: 210px;
        padding-bottom: 75px
    }

    .makarska-gallery button:first-child {
        grid-row: span 1;
        grid-column: span 2
    }

    .makarska-gallery button:nth-child(4) {
        grid-column: span 1
    }

    .contact-section {
        padding-top: 75px
    }

    .form-card {
        padding: 32px 22px
    }

    .field-row {
        grid-template-columns: 1fr;
        gap: 0
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px
    }

    .footer-bottom {
        gap: 20px
    }

    .lightbox {
        padding: 10px
    }

    .lightbox[open] {
        grid-template-columns: 42px 1fr 42px
    }

    .lightbox figure {
        height: calc(100vh - 20px)
    }

    .lightbox-nav {
        font-size: 3rem
    }

    .lightbox-close {
        right: 14px;
        top: 4px
    }

}

@media (prefers-reduced-motion:reduce) {
    html {
        scroll-behavior: auto
    }

    *,
    *:before,
    *:after {
        transition: none !important;
        animation: none !important
    }

}
