@import url("https://fonts.googleapis.com/css2?family=DM+Serif+Display:opsz@9..40&family=Manrope:wght@400;600;700;800&display=swap");

:root {
  --ink: #17212b;
  --muted: #58636d;
  --paper: #f4f7ec;
  --white: #ffffff;
  --line: rgba(23, 33, 43, 0.14);
  --sea: #007b83;
  --sea-dark: #004f57;
  --terracotta: #d85f2f;
  --sun: #f0bd45;
  --olive: #32784d;
  --leaf: #1f8a5b;
  --sky: #9edfe0;
  --cream: #fff7e8;
  --shadow: 0 22px 70px rgba(23, 33, 43, 0.18);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 14% 10%, rgba(240, 189, 69, 0.18), transparent 28%),
    radial-gradient(circle at 88% 28%, rgba(31, 138, 91, 0.14), transparent 24%),
    linear-gradient(180deg, #fff8ea 0%, #f4f7ec 42%, #fff3e1 100%);
  font-family:
    Manrope, Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

a {
  color: inherit;
}

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

button,
input {
  font: inherit;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 10;
  padding: 10px 14px;
  background: var(--ink);
  color: var(--white);
  transform: translateY(-180%);
}

.skip-link:focus {
  transform: translateY(0);
}

@keyframes heroBreath {
  from {
    transform: translate3d(0, var(--hero-drift, 0), 0) scale(1.04);
  }

  to {
    transform: translate3d(0, calc(var(--hero-drift, 0) - 12px), 0) scale(1.1);
  }
}

@keyframes gradientCurrent {
  0% {
    background-position: 0% 50%;
  }

  100% {
    background-position: 100% 50%;
  }
}

@keyframes softPulse {
  0%,
  100% {
    transform: translateY(0) scale(1);
  }

  50% {
    transform: translateY(-2px) scale(1.015);
  }
}

.motion-reveal {
  opacity: 0;
  transform: translateY(28px) scale(0.985);
  transition:
    opacity 760ms ease,
    transform 760ms cubic-bezier(0.2, 0.8, 0.2, 1);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}

.motion-reveal.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.hero {
  position: relative;
  min-height: 760px;
  color: var(--white);
  overflow: hidden;
  background: #0c3238;
}

.hero--home {
  min-height: 640px;
  color: var(--ink);
  background: #eef7f6;
}

.hero__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.04);
  transform: translate3d(0, var(--hero-drift, 0), 0) scale(1.04);
  transform-origin: center;
  will-change: transform;
  animation: heroBreath 24s ease-in-out infinite alternate;
}

.hero__scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7, 24, 29, 0.82), rgba(7, 24, 29, 0.48) 48%, rgba(7, 24, 29, 0.78)),
    linear-gradient(180deg, rgba(7, 24, 29, 0.28), rgba(7, 24, 29, 0.72));
}

.hero--home .hero__image {
  object-position: center 48%;
  filter: saturate(1.14) brightness(1.12) contrast(1.02);
}

.hero--home .hero__scrim {
  background:
    linear-gradient(90deg, rgba(251, 248, 241, 0.9), rgba(251, 248, 241, 0.62) 42%, rgba(251, 248, 241, 0.16) 76%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(251, 248, 241, 0.58));
}

.topbar {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 24px 0;
}

.topbar__brand {
  font-weight: 800;
  text-decoration: none;
  letter-spacing: 0;
}

.topbar__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px 18px;
  font-size: 0.92rem;
}

.topbar__links a {
  color: rgba(255, 255, 255, 0.86);
  text-decoration: none;
  transition:
    color 180ms ease,
    transform 180ms ease;
}

.topbar__links a:hover {
  color: var(--white);
  transform: translateY(-1px);
}

.hero--home .topbar__brand {
  color: var(--ink);
}

.hero--home .topbar__links a {
  color: rgba(23, 33, 43, 0.76);
}

.hero--home .topbar__links a:hover,
.hero--home .topbar__links a[aria-current="page"] {
  color: var(--sea-dark);
}

.hero__content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 430px);
  align-items: end;
  gap: 48px;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 96px 0 70px;
}

.hero__content--compact {
  padding-top: 64px;
  padding-bottom: 58px;
}

.hero__copy {
  max-width: 720px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--terracotta);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hero .eyebrow,
.weather .eyebrow {
  color: #ffd38c;
}

.hero--home .eyebrow,
.hero--home .weather .eyebrow {
  color: var(--terracotta);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 760px;
  margin-bottom: 22px;
  font-family:
    "DM Serif Display", Georgia, "Times New Roman", serif;
  font-size: clamp(3rem, 8vw, 6.8rem);
  line-height: 0.92;
  letter-spacing: 0;
}

.hero__lead {
  max-width: 680px;
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1.05rem, 2vw, 1.28rem);
}

.hero--home .hero__lead {
  color: rgba(23, 33, 43, 0.78);
}

.hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero__stats span {
  min-width: 142px;
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(14px);
  color: rgba(255, 255, 255, 0.86);
  transition:
    transform 220ms ease,
    border-color 220ms ease,
    background 220ms ease;
}

.hero__stats span:hover {
  border-color: rgba(255, 255, 255, 0.44);
  background: rgba(255, 255, 255, 0.16);
  transform: translateY(-3px);
}

.hero--home .hero__stats span {
  border-color: rgba(0, 109, 119, 0.2);
  background: rgba(255, 255, 255, 0.66);
  color: rgba(23, 33, 43, 0.76);
  box-shadow: 0 14px 36px rgba(23, 33, 43, 0.1);
}

.hero__stats strong {
  display: block;
  color: var(--white);
  font-size: 1.35rem;
}

.hero--home .hero__stats strong {
  color: var(--sea-dark);
}

.hero__actions,
.apartment__actions,
.contact__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 6px;
  color: var(--white);
  padding: 0 16px;
  font-weight: 850;
  text-decoration: none;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease,
    border-color 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(23, 33, 43, 0.16);
}

.hero--home .button {
  border-color: rgba(23, 33, 43, 0.18);
  background: rgba(255, 255, 255, 0.62);
  color: var(--ink);
  box-shadow: 0 10px 26px rgba(23, 33, 43, 0.1);
}

.button--primary {
  border-color: var(--terracotta);
  background: var(--terracotta);
  color: var(--white);
}

.hero--home .button--primary {
  border-color: var(--sea);
  background: var(--sea);
  color: var(--white);
}

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

.button--ghost {
  border-color: rgba(255, 255, 255, 0.4);
  background: transparent;
  color: var(--white);
}

.apartment .button,
.contact .button {
  border-color: var(--line);
  color: var(--ink);
}

.apartment .button--dark,
.contact .button--dark {
  color: var(--white);
}

.availability-card {
  align-self: end;
  border: 1px solid rgba(0, 109, 119, 0.18);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 24px 58px rgba(23, 33, 43, 0.14);
  backdrop-filter: blur(18px);
  color: var(--ink);
  padding: 24px;
  transition:
    transform 260ms ease,
    box-shadow 260ms ease;
}

.availability-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 30px 72px rgba(23, 33, 43, 0.2);
}

.availability-card h2 {
  margin-bottom: 12px;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  line-height: 1;
}

.availability-card p:not(.eyebrow) {
  margin-bottom: 18px;
  color: var(--muted);
}

.availability-card__facts {
  display: grid;
  gap: 8px;
  margin: 18px 0 20px;
}

.availability-card__facts span {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  border: 1px solid rgba(0, 109, 119, 0.13);
  border-radius: 6px;
  background: rgba(251, 248, 241, 0.76);
  color: var(--muted);
  padding: 11px 12px;
}

.availability-card__facts strong {
  color: var(--sea-dark);
}

.availability-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.availability-card .button {
  border-color: rgba(23, 33, 43, 0.18);
  background: var(--white);
  color: var(--ink);
  box-shadow: none;
}

.availability-card .button--primary {
  border-color: var(--sea);
  background: var(--sea);
  color: var(--white);
}

.weather {
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius);
  background: rgba(7, 24, 29, 0.58);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
  padding: 22px;
}

.weather__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.weather h2 {
  margin-bottom: 0;
  font-size: 1.45rem;
}

.weather__status {
  flex: 0 0 auto;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.78rem;
  font-weight: 700;
}

.weather__current {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 12px;
  margin: 20px 0 16px;
}

.weather__temp {
  font-size: 3.2rem;
  font-weight: 850;
  line-height: 1;
}

.weather__summary {
  color: rgba(255, 255, 255, 0.84);
}

.weather__days {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 10px;
  min-height: 112px;
}

.weather-day {
  min-width: 0;
  display: grid;
  align-content: start;
  gap: 5px;
  min-height: 114px;
  padding: 12px 10px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.12);
  text-align: center;
  transition:
    transform 200ms ease,
    border-color 200ms ease,
    box-shadow 200ms ease;
}

.weather-day:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 28px rgba(23, 33, 43, 0.12);
}

.weather-day__name {
  display: block;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
}

.weather-day__icon {
  display: block;
  margin: 4px 0;
  font-size: 1.15rem;
  font-weight: 900;
  line-height: 1;
}

.weather-day__temp {
  display: block;
  font-size: 0.85rem;
  font-weight: 800;
}

.weather-day__rain {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 6px;
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.72rem;
  line-height: 1.2;
}

.weather-day__rainbar {
  display: flex;
  align-items: flex-end;
  flex: 0 0 10px;
  height: 30px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
}

.weather-day__rainbar span {
  display: block;
  width: 100%;
  height: var(--rain-level, 0%);
  border-radius: inherit;
  background: linear-gradient(180deg, #c8f3ff, #63c5d7);
}

.weather__advice {
  margin: 16px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.95rem;
}

.weather--light,
.weather--home {
  border-color: rgba(23, 33, 43, 0.12);
  background: rgba(255, 255, 255, 0.9);
  color: var(--ink);
  box-shadow: 0 24px 58px rgba(23, 33, 43, 0.12);
}

.weather--light .eyebrow,
.weather--home .eyebrow {
  color: var(--terracotta);
}

.weather--light .weather__status,
.weather--home .weather__status {
  background: rgba(0, 109, 119, 0.1);
  color: var(--sea-dark);
}

.weather--light .weather__summary,
.weather--light .weather__advice,
.weather--home .weather__summary,
.weather--home .weather__advice {
  color: var(--muted);
}

.weather--light .weather-day,
.weather--home .weather-day {
  border: 1px solid rgba(0, 109, 119, 0.12);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(167, 215, 216, 0.2)),
    var(--white);
}

.weather--light .weather-day__icon,
.weather--home .weather-day__icon {
  color: var(--sea-dark);
}

.weather--light .weather-day__temp,
.weather--home .weather-day__temp {
  color: var(--ink);
}

.weather--light .weather-day__name,
.weather--light .weather-day__rain,
.weather--home .weather-day__name,
.weather--home .weather-day__rain {
  color: rgba(23, 33, 43, 0.64);
}

.weather--light .weather-day__rainbar,
.weather--home .weather-day__rainbar {
  border-color: rgba(0, 109, 119, 0.2);
  background: rgba(0, 109, 119, 0.08);
}

.weather--light .weather-day__rainbar span,
.weather--home .weather-day__rainbar span {
  background: linear-gradient(180deg, #8bd9e2, var(--sea));
}

.weather--wide {
  width: 100%;
  max-width: none;
  padding: 26px;
}

.weather--wide .weather__header {
  align-items: center;
}

.weather--wide .weather__days {
  gap: 12px;
  min-height: 0;
}

.weather--wide .weather-day {
  grid-template-areas:
    "name icon"
    "temp temp"
    "rain rain";
  grid-template-columns: minmax(0, 1fr) auto;
  min-height: 138px;
  padding: 14px;
  text-align: left;
}

.weather--wide .weather-day__name {
  grid-area: name;
}

.weather--wide .weather-day__icon {
  grid-area: icon;
  margin: 0;
  font-size: 1.25rem;
}

.weather--wide .weather-day__temp {
  grid-area: temp;
  font-size: 1.08rem;
}

.weather--wide .weather-day__rain {
  grid-area: rain;
  align-items: center;
  justify-content: flex-start;
  font-size: 0.78rem;
}

.weather--wide .weather-day__rainbar {
  flex-basis: 12px;
  height: 44px;
}

.weather-section {
  padding-top: 38px;
  padding-bottom: 28px;
}

.page-header {
  background:
    linear-gradient(90deg, rgba(7, 24, 29, 0.92), rgba(7, 24, 29, 0.76)),
    url("assets/trsat.jpg") center / cover;
  color: var(--white);
}

.page-header--planning {
  background:
    linear-gradient(90deg, rgba(7, 24, 29, 0.9), rgba(7, 24, 29, 0.72)),
    url("assets/ucka-mountain.jpg") center / cover;
}

.page-header--contact {
  background:
    linear-gradient(90deg, rgba(7, 24, 29, 0.9), rgba(7, 24, 29, 0.72)),
    url("assets/opatija.jpg") center / cover;
}

.page-header--apartment {
  background:
    linear-gradient(90deg, rgba(7, 24, 29, 0.78), rgba(7, 24, 29, 0.42)),
    url("assets/hero2-image.jpg") center / cover;
}

.topbar--page {
  padding-bottom: 42px;
}

.topbar a[aria-current="page"] {
  color: var(--white);
  font-weight: 900;
}

.page-header__content {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 8px 0 72px;
}

.page-header__content h1 {
  margin-bottom: 16px;
  font-size: clamp(3rem, 8vw, 6.2rem);
}

.page-header__content p:not(.eyebrow) {
  max-width: 720px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.12rem;
}

.section {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 66px 0;
}

.section__heading {
  max-width: 760px;
  margin-bottom: 26px;
}

.section__heading--inline {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  max-width: none;
}

.section h2 {
  margin-bottom: 0;
  font-family:
    "DM Serif Display", Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 0.98;
  letter-spacing: 0;
}

.intro {
  padding-bottom: 34px;
}

.home-intro {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 1.08fr);
  gap: 30px;
  padding-bottom: 36px;
}

.apartment-preview {
  padding-top: 50px;
  padding-bottom: 30px;
}

.apartment-preview__layout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
  gap: 28px;
  align-items: stretch;
}

.apartment-preview__media {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-rows: repeat(2, 190px);
  gap: 10px;
}

.apartment-photo,
.gallery-button {
  position: relative;
  display: block;
  overflow: hidden;
  border: 1px solid rgba(23, 33, 43, 0.12);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--white);
  text-decoration: none;
  box-shadow: 0 14px 38px rgba(23, 33, 43, 0.08);
  transition:
    transform 260ms ease,
    box-shadow 260ms ease,
    border-color 260ms ease;
}

.apartment-photo--large {
  grid-column: span 2;
  grid-row: span 2;
}

.apartment-photo img,
.gallery-button img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 220ms ease;
}

.apartment-photo:hover img,
.gallery-button:hover img {
  transform: scale(1.07);
}

.apartment-photo:hover,
.gallery-button:hover {
  border-color: rgba(216, 95, 47, 0.38);
  box-shadow: 0 24px 54px rgba(23, 33, 43, 0.16);
  transform: translateY(-5px);
}

.apartment-photo::after,
.gallery-button::after {
  position: absolute;
  inset: auto 0 0;
  height: 42%;
  background: linear-gradient(180deg, transparent, rgba(7, 24, 29, 0.72));
  content: "";
}

.apartment-photo span,
.gallery-button span {
  position: absolute;
  right: 12px;
  bottom: 12px;
  left: 12px;
  z-index: 1;
  font-size: 0.84rem;
  font-weight: 900;
}

.apartment-preview__copy {
  align-self: center;
  border-left: 4px solid var(--terracotta);
  padding-left: 24px;
}

.apartment-preview__copy p {
  color: var(--muted);
  font-size: 1.04rem;
}

.apartment-preview__facts,
.apartment-overview__facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 22px;
}

.apartment-preview__facts span,
.apartment-overview__facts article {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.78);
  padding: 14px;
}

.apartment-preview__facts strong,
.apartment-overview__facts strong {
  display: block;
  color: var(--sea-dark);
  font-size: 1.05rem;
}

.home-intro__copy {
  border-left: 4px solid var(--terracotta);
  padding-left: 24px;
}

.home-intro__copy h2 {
  margin-bottom: 16px;
}

.home-intro__copy p:not(.eyebrow) {
  color: var(--muted);
  font-size: 1.05rem;
}

.home-intro__mood {
  position: relative;
  overflow: hidden;
  margin: 28px 0 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 14px 36px rgba(23, 33, 43, 0.08);
}

.home-intro__mood img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  transition: transform 650ms ease;
}

.home-intro__mood:hover img {
  transform: scale(1.06);
}

.home-intro__mood::after {
  position: absolute;
  inset: auto 0 0;
  height: 46%;
  background: linear-gradient(180deg, transparent, rgba(7, 24, 29, 0.68));
  content: "";
}

.home-intro__mood figcaption {
  position: absolute;
  right: 16px;
  bottom: 14px;
  left: 16px;
  z-index: 1;
  color: var(--white);
  font-weight: 900;
}

.home-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.home-facts article {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 12px 30px rgba(23, 33, 43, 0.06);
  transition:
    transform 240ms ease,
    box-shadow 240ms ease,
    border-color 240ms ease;
}

.home-facts article:hover {
  border-color: rgba(31, 138, 91, 0.3);
  box-shadow: 0 24px 58px rgba(23, 33, 43, 0.14);
  transform: translateY(-6px);
}

.home-fact img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  transition: transform 380ms ease;
}

.home-facts article:hover img {
  transform: scale(1.06);
}

.home-fact__body {
  padding: 16px;
}

.home-fact__kicker {
  display: block;
  margin-bottom: 8px;
  color: var(--terracotta);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.home-facts strong {
  display: block;
  margin-bottom: 6px;
  font-size: 1.08rem;
}

.home-facts p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.apartment__layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 1.05fr);
  gap: 28px;
}

.apartment-overview {
  padding-bottom: 30px;
}

.apartment-overview__layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(420px, 1.05fr);
  gap: 34px;
  align-items: center;
}

.apartment-overview__copy {
  border-left: 4px solid var(--terracotta);
  padding-left: 24px;
}

.apartment-overview__copy h2 {
  margin-bottom: 16px;
}

.apartment-overview__copy p:not(.eyebrow) {
  color: var(--muted);
  font-size: 1.05rem;
}

.apartment-overview__facts {
  margin-top: 0;
}

.apartment-overview__facts article {
  min-height: 124px;
}

.apartment-overview__facts span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
}

.apartment__copy {
  border-left: 4px solid var(--terracotta);
  padding-left: 24px;
  color: var(--muted);
  font-size: 1.05rem;
}

.apartment__copy strong {
  color: var(--ink);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.feature-grid article {
  min-height: 164px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  padding: 20px;
  box-shadow: 0 12px 30px rgba(23, 33, 43, 0.06);
  transition:
    transform 230ms ease,
    border-color 230ms ease,
    box-shadow 230ms ease;
}

.feature-grid article:hover {
  border-color: rgba(31, 138, 91, 0.3);
  box-shadow: 0 24px 54px rgba(23, 33, 43, 0.14);
  transform: translateY(-5px);
}

.feature-grid strong {
  display: block;
  margin-bottom: 12px;
  font-size: 1.15rem;
}

.feature-grid span {
  color: var(--muted);
}

.nearby-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto 24px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.nearby-strip div {
  min-height: 112px;
  border-right: 1px solid var(--line);
  padding-left: 22px;
  padding-right: 22px;
  padding-top: 22px;
  padding-bottom: 22px;
  background: rgba(255, 255, 255, 0.72);
  transition:
    transform 220ms ease,
    background 220ms ease,
    color 220ms ease;
}

.nearby-strip div:hover {
  background: var(--sea-dark);
  color: var(--white);
  transform: translateY(-4px);
}

.nearby-strip div:hover span {
  color: rgba(255, 255, 255, 0.72);
}

.nearby-strip div:last-child {
  border-right: 0;
}

.nearby-strip span,
.segment-card__body span {
  display: block;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 850;
  text-transform: uppercase;
}

.nearby-strip strong {
  display: block;
  margin-top: 8px;
  font-size: clamp(1.2rem, 3vw, 2rem);
  line-height: 1;
}

.essentials {
  padding-top: 42px;
}

.essentials__layout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(340px, 0.8fr);
  gap: 18px;
  align-items: stretch;
}

.essentials__map-wrap {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 14px 38px rgba(23, 33, 43, 0.08);
}

.essentials__map {
  position: relative;
  height: 100%;
  min-height: 520px;
  overflow: hidden;
  background:
    radial-gradient(circle at 42% 36%, rgba(255, 255, 255, 0.28), transparent 24%),
    linear-gradient(135deg, rgba(0, 109, 119, 0.9), rgba(96, 114, 63, 0.64)),
    #0f656d;
}

.map-fallback {
  position: absolute;
  inset: 24px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius);
  color: var(--white);
  padding: 24px;
  pointer-events: none;
}

.map-fallback strong {
  max-width: 420px;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1;
}

.map-fallback span {
  max-width: 460px;
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.82);
}

.static-map-pin,
.tt-pin {
  position: absolute;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 2px solid var(--white);
  border-radius: 999px;
  background: var(--pin, var(--sea-dark));
  color: var(--white);
  font-size: 0.82rem;
  font-weight: 900;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.24);
  transition:
    transform 180ms ease,
    box-shadow 180ms ease;
}

.static-map-pin:hover,
.tt-pin:hover {
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.3);
  transform: translateY(-2px) scale(1.04);
}

.static-map-pin--home,
.tt-pin--home {
  left: 50%;
  top: 50%;
  width: 42px;
  height: 42px;
  background: #17212b;
  transform: translate(-50%, -50%);
}

.static-map-pin--home:hover {
  transform: translate(-50%, -50%) scale(1.04);
}

.tt-pin {
  position: relative;
}

.tt-pin--place {
  width: 26px;
  height: 26px;
  font-size: 0.72rem;
}

.tt-pin--place::after {
  display: none;
}

.tt-pin--home {
  transform: none;
}

.essentials__panel {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
}

.essentials__legend {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.legend-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  color: var(--ink);
  padding: 0 12px;
  font-weight: 850;
  cursor: pointer;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease,
    color 180ms ease,
    box-shadow 180ms ease;
}

.legend-chip:hover {
  border-color: rgba(0, 123, 131, 0.28);
  box-shadow: 0 12px 28px rgba(23, 33, 43, 0.1);
  transform: translateY(-2px);
}

.legend-chip span {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--pin);
}

.legend-chip em {
  color: var(--muted);
  font-style: normal;
}

.legend-chip[aria-pressed="true"] {
  border-color: var(--sea-dark);
  background: var(--sea-dark);
  color: var(--white);
}

.legend-chip[aria-pressed="true"] em {
  color: rgba(255, 255, 255, 0.72);
}

.essentials__list {
  display: grid;
  gap: 10px;
}

.essential-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  padding: 14px;
  transition:
    transform 190ms ease,
    border-color 190ms ease,
    box-shadow 190ms ease;
}

.essential-item:hover {
  border-color: rgba(0, 123, 131, 0.28);
  box-shadow: 0 16px 36px rgba(23, 33, 43, 0.1);
  transform: translateX(4px);
}

.essential-item strong {
  display: block;
  margin-bottom: 4px;
}

.essential-item span {
  display: block;
  color: var(--muted);
  font-size: 0.9rem;
}

.essential-item__actions {
  display: flex;
  gap: 6px;
}

.essential-item__actions a {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--ink);
  padding: 0 9px;
  font-size: 0.82rem;
  font-weight: 850;
  text-decoration: none;
}

.essential-item__actions a:first-child {
  border-color: var(--sea-dark);
  background: var(--sea-dark);
  color: var(--white);
}

.essentials__note {
  color: var(--muted);
  font-size: 0.9rem;
}

.intro__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 40px;
  color: var(--muted);
  font-size: 1.05rem;
}

.controls {
  display: grid;
  grid-template-columns: minmax(260px, 390px) minmax(0, 1fr);
  align-items: end;
  gap: 24px;
  padding-top: 24px;
  padding-bottom: 34px;
}

.search label {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 800;
  text-transform: uppercase;
}

.search input {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--ink);
  padding: 0 14px;
  outline: none;
}

.search input:focus {
  border-color: var(--sea);
  box-shadow: 0 0 0 3px rgba(0, 109, 119, 0.15);
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip {
  min-height: 38px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.64);
  color: var(--ink);
  padding: 0 14px;
  cursor: pointer;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease,
    color 180ms ease,
    box-shadow 180ms ease;
}

.chip:hover {
  border-color: rgba(216, 95, 47, 0.32);
  box-shadow: 0 10px 24px rgba(23, 33, 43, 0.08);
  transform: translateY(-2px);
}

.chip[aria-pressed="true"] {
  border-color: var(--sea-dark);
  background: var(--sea-dark);
  color: var(--white);
}

.portal-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.portal-card {
  display: block;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--ink);
  text-decoration: none;
  box-shadow: 0 18px 44px rgba(23, 33, 43, 0.1);
  transition:
    transform 260ms ease,
    box-shadow 260ms ease,
    border-color 260ms ease;
}

.portal-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 30px 68px rgba(23, 33, 43, 0.18);
}

.portal-card:nth-child(1) {
  border-color: rgba(216, 95, 47, 0.28);
}

.portal-card:nth-child(2) {
  border-color: rgba(50, 120, 77, 0.28);
}

.portal-card:nth-child(3) {
  border-color: rgba(0, 123, 131, 0.28);
}

.portal-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  transition: transform 520ms ease;
}

.portal-card:hover img {
  transform: scale(1.08);
}

.portal-card span,
.portal-card strong,
.portal-card p {
  margin-left: 18px;
  margin-right: 18px;
}

.portal-card span {
  display: block;
  margin-top: 18px;
  color: var(--terracotta);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.portal-card strong {
  display: block;
  margin-top: 6px;
  font-size: 1.3rem;
}

.portal-card p {
  margin-top: 8px;
  margin-bottom: 20px;
  color: var(--muted);
}

.home-cta {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  align-items: stretch;
  gap: 28px;
  overflow: hidden;
  width: min(1180px, calc(100% - 40px));
  margin-top: 22px;
  margin-bottom: 66px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 10% 12%, rgba(240, 189, 69, 0.28), transparent 28%),
    linear-gradient(135deg, #053c42 0%, #006d77 48%, #2f7d4b 100%);
  background-size: 180% 180%;
  color: var(--white);
  box-shadow: 0 28px 78px rgba(0, 79, 89, 0.28);
  padding: clamp(24px, 4vw, 44px);
  animation: gradientCurrent 12s ease-in-out infinite alternate;
}

.home-cta__copy {
  position: relative;
  z-index: 1;
  max-width: 760px;
}

.home-cta p:not(.eyebrow) {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: 1.12rem;
}

.home-cta .eyebrow {
  color: #ffb36f;
}

.home-cta h2 {
  max-width: 760px;
  margin-bottom: 18px;
  color: var(--white);
  font-size: clamp(2.6rem, 5vw, 5rem);
}

.home-cta__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 10px;
  margin-top: 24px;
}

.home-cta .button:not(.button--dark) {
  border-color: rgba(255, 255, 255, 0.32);
  color: var(--white);
}

.home-cta .button--primary {
  border-color: #ff8a3d;
  background: #ff8a3d;
  color: #20140c;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.18);
  animation: softPulse 3.6s ease-in-out infinite;
}

.home-cta__points {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}

.home-cta__points span {
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.9);
  padding: 8px 12px;
  font-size: 0.86rem;
  font-weight: 850;
}

.home-cta__image {
  position: relative;
  min-height: 320px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius);
  margin: 0;
  background: #092d31;
}

.home-cta__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.16) contrast(1.03);
  transform: scale(1.02);
  transition: transform 650ms ease;
}

.home-cta:hover .home-cta__image img {
  transform: scale(1.08);
}

.home-cta__image::after {
  position: absolute;
  inset: auto 0 0;
  height: 48%;
  background: linear-gradient(180deg, transparent, rgba(5, 60, 66, 0.78));
  content: "";
}

.home-cta__image figcaption {
  position: absolute;
  right: 16px;
  bottom: 14px;
  left: 16px;
  z-index: 1;
  color: var(--white);
  font-weight: 900;
}

.property-gallery {
  padding-top: 34px;
}

.property-gallery__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: 190px;
  gap: 12px;
}

.gallery-button {
  width: 100%;
  height: 100%;
  border-color: var(--line);
  padding: 0;
  cursor: pointer;
  font: inherit;
  text-align: left;
}

.gallery-button--large {
  grid-column: span 2;
  grid-row: span 2;
}

.gallery-button--portrait {
  grid-row: span 2;
}

.gallery-button:focus-visible {
  outline: 3px solid rgba(0, 109, 119, 0.32);
  outline-offset: 3px;
}

.gallery-dialog {
  width: min(1120px, calc(100% - 32px));
  max-width: none;
  border: 0;
  border-radius: var(--radius);
  background: transparent;
  padding: 0;
}

.gallery-dialog::backdrop {
  background: rgba(7, 24, 29, 0.78);
}

.gallery-dialog__chrome {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background: #07181d;
  color: var(--white);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.38);
}

.gallery-dialog figure {
  margin: 0;
}

.gallery-dialog img {
  width: 100%;
  max-height: 78vh;
  object-fit: contain;
  background: #07181d;
}

.gallery-dialog figcaption {
  min-height: 48px;
  padding: 14px 18px;
  color: rgba(255, 255, 255, 0.82);
  font-weight: 800;
}

.gallery-dialog__close,
.gallery-dialog__controls button {
  min-height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  padding: 0 14px;
  font-weight: 850;
  cursor: pointer;
}

.gallery-dialog__close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  background: rgba(7, 24, 29, 0.78);
}

.gallery-dialog__controls {
  position: absolute;
  right: 14px;
  bottom: 14px;
  display: flex;
  gap: 8px;
}

.plans {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.segment-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.segment-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 14px 38px rgba(23, 33, 43, 0.07);
  transition:
    transform 250ms ease,
    box-shadow 250ms ease,
    border-color 250ms ease;
}

.segment-card:hover {
  border-color: rgba(31, 138, 91, 0.28);
  box-shadow: 0 28px 64px rgba(23, 33, 43, 0.15);
  transform: translateY(-7px);
}

.segment-card__image {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--sea-dark);
}

.segment-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 520ms ease;
}

.segment-card:hover .segment-card__image img {
  transform: scale(1.08);
}

.segment-card__body {
  padding: 18px;
}

.segment-card__body span {
  color: var(--terracotta);
}

.segment-card h3 {
  margin: 7px 0 10px;
  font-size: 1.28rem;
}

.segment-card p {
  color: var(--muted);
}

.distance {
  padding-top: 34px;
}

.distance-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.distance-card {
  overflow: hidden;
  border-top: 4px solid var(--olive);
  border-radius: var(--radius);
  background: var(--white);
  padding: 0 0 20px;
  box-shadow: 0 12px 30px rgba(23, 33, 43, 0.06);
  transition:
    transform 230ms ease,
    border-color 230ms ease,
    box-shadow 230ms ease;
}

.distance-card:hover {
  border-top-color: var(--terracotta);
  box-shadow: 0 24px 56px rgba(23, 33, 43, 0.14);
  transform: translateY(-5px);
}

.distance-card__media,
.plan__image {
  position: relative;
  overflow: hidden;
  background: var(--sea-dark);
}

.distance-card__media {
  aspect-ratio: 16 / 10;
  margin-bottom: 18px;
}

.distance-card__media img,
.plan__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.08) contrast(1.02);
  transition: transform 650ms ease;
}

.distance-card:hover .distance-card__media img,
.plan:hover .plan__image img {
  transform: scale(1.08);
}

.distance-card__icon,
.plan__icon,
.note__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 58px;
  min-height: 34px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 999px;
  background: rgba(7, 24, 29, 0.64);
  color: var(--white);
  font-size: 0.74rem;
  font-weight: 900;
  text-transform: uppercase;
  backdrop-filter: blur(10px);
}

.distance-card__icon,
.plan__icon {
  position: absolute;
  right: 12px;
  bottom: 12px;
}

.distance-card h3 {
  padding: 0 20px;
  margin-bottom: 10px;
  font-size: 1.08rem;
}

.distance-card p {
  padding: 0 20px;
  color: var(--muted);
}

.distance-card .plan__stops {
  padding: 0 20px;
}

.trip-map-section {
  padding-top: 28px;
}

.trip-map {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(330px, 0.82fr);
  gap: 18px;
  align-items: stretch;
}

.trip-map__canvas {
  position: relative;
  min-height: 560px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 35% 30%, rgba(255, 255, 255, 0.24), transparent 26%),
    linear-gradient(135deg, rgba(0, 109, 119, 0.92), rgba(96, 114, 63, 0.68)),
    #0f656d;
  box-shadow: 0 14px 38px rgba(23, 33, 43, 0.08);
}

.trip-map__panel {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
}

.trip-map__tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.trip-map__tab {
  min-height: 38px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  color: var(--ink);
  padding: 0 12px;
  font-size: 0.86rem;
  font-weight: 850;
  cursor: pointer;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease,
    color 180ms ease;
}

.trip-map__tab:hover {
  border-color: rgba(0, 123, 131, 0.3);
  transform: translateY(-2px);
}

.trip-map__tab::before {
  content: "";
  display: inline-block;
  width: 9px;
  height: 9px;
  margin-right: 7px;
  border-radius: 999px;
  background: var(--pin);
}

.trip-map__tab[aria-pressed="true"] {
  border-color: var(--sea-dark);
  background: var(--sea-dark);
  color: var(--white);
}

.trip-map__panel p {
  margin: 0;
  color: var(--muted);
}

.trip-map__list {
  display: grid;
  gap: 10px;
}

.trip-map-place {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  padding: 13px;
  text-decoration: none;
  transition:
    transform 190ms ease,
    border-color 190ms ease,
    box-shadow 190ms ease;
}

.trip-map-place:hover {
  border-color: rgba(216, 95, 47, 0.3);
  box-shadow: 0 16px 36px rgba(23, 33, 43, 0.1);
  transform: translateX(4px);
}

.trip-map-place__pin {
  display: grid;
  place-items: center;
  width: 31px;
  height: 31px;
  border-radius: 999px;
  background: var(--pin);
  color: var(--white);
  font-size: 0.82rem;
  font-weight: 900;
}

.trip-map-place strong,
.trip-map-place em {
  display: block;
}

.trip-map-place em {
  color: var(--muted);
  font-size: 0.86rem;
  font-style: normal;
}

.trip-map-place b {
  color: var(--sea-dark);
  font-size: 0.82rem;
}

.plan {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  padding: 0 0 20px;
  transition:
    transform 230ms ease,
    box-shadow 230ms ease,
    border-color 230ms ease;
}

.plan:hover {
  border-color: rgba(216, 95, 47, 0.28);
  box-shadow: 0 22px 48px rgba(23, 33, 43, 0.12);
  transform: translateY(-5px);
}

.plan__image {
  aspect-ratio: 16 / 10;
  margin-bottom: 18px;
}

.plan__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0 20px;
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
}

.plan h3 {
  padding: 0 20px;
  margin-bottom: 12px;
  font-size: 1.05rem;
}

.plan p {
  padding: 0 20px;
  margin-bottom: 18px;
  color: var(--muted);
}

.plan__stops {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 0 20px;
}

.plan__stops span,
.plan__stops a {
  display: inline-flex;
  border-radius: 999px;
  background: rgba(183, 90, 55, 0.12);
  color: #7d3b25;
  padding: 5px 8px;
  font-size: 0.78rem;
  font-weight: 800;
  text-decoration: none;
  transition:
    transform 170ms ease,
    background 170ms ease,
    color 170ms ease;
}

.plan__stops a:hover {
  background: rgba(0, 109, 119, 0.13);
  color: var(--sea-dark);
  transform: translateY(-1px);
}

.result-count {
  flex: 0 0 auto;
  margin: 0;
  color: var(--muted);
  font-weight: 800;
}

.attraction-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.attraction-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 14px 38px rgba(23, 33, 43, 0.07);
  transition:
    transform 260ms ease,
    box-shadow 260ms ease,
    border-color 260ms ease;
}

.attraction-card:hover {
  border-color: rgba(216, 95, 47, 0.28);
  box-shadow: 0 30px 68px rgba(23, 33, 43, 0.16);
  transform: translateY(-7px);
}

.image-frame {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(0, 109, 119, 0.88), rgba(231, 179, 74, 0.72)),
    #0f656d;
}

.image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.attraction-card:hover .image-frame img {
  transform: scale(1.08);
}

.image-frame.is-placeholder {
  display: grid;
  place-items: center;
  padding: 24px;
}

.image-frame__label {
  display: none;
  max-width: 260px;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 850;
  text-align: center;
}

.image-frame.is-placeholder .image-frame__label {
  display: block;
}

.rank {
  position: absolute;
  top: 12px;
  left: 12px;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  font-weight: 900;
}

.attraction-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 18px;
}

.attraction-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 12px;
}

.badge {
  border-radius: 999px;
  background: rgba(0, 109, 119, 0.1);
  color: var(--sea-dark);
  padding: 5px 8px;
  font-size: 0.74rem;
  font-weight: 850;
}

.badge--warm {
  background: rgba(231, 179, 74, 0.22);
  color: #7b5210;
}

.attraction-card h3 {
  margin-bottom: 8px;
  font-size: 1.28rem;
  line-height: 1.15;
}

.attraction-card__location {
  margin-bottom: 12px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 700;
}

.attraction-card__summary {
  color: var(--muted);
}

.detail-list {
  display: grid;
  gap: 10px;
  margin: 4px 0 18px;
  padding: 0;
  list-style: none;
}

.detail-list li {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 10px;
  color: var(--muted);
  font-size: 0.92rem;
}

.detail-list strong {
  color: var(--ink);
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: auto;
  padding-top: 4px;
}

.tag-row span {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px 7px;
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 750;
}

.actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 16px;
}

.actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--ink);
  font-weight: 800;
  text-decoration: none;
  transition:
    transform 170ms ease,
    border-color 170ms ease,
    background 170ms ease,
    box-shadow 170ms ease;
}

.actions a:first-child {
  border-color: var(--sea-dark);
  background: var(--sea-dark);
  color: var(--white);
}

.actions a:hover {
  transform: translateY(-1px);
}

.bonus {
  padding-top: 34px;
}

.bonus-trip {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 18px 46px rgba(23, 33, 43, 0.08);
  transition:
    transform 260ms ease,
    box-shadow 260ms ease,
    border-color 260ms ease;
}

.bonus-trip:hover {
  border-color: rgba(31, 138, 91, 0.3);
  box-shadow: 0 30px 72px rgba(23, 33, 43, 0.16);
  transform: translateY(-6px);
}

.bonus-trip__image {
  min-height: 420px;
  background:
    linear-gradient(135deg, rgba(0, 109, 119, 0.8), rgba(96, 114, 63, 0.7)),
    #0f656d;
}

.bonus-trip__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 650ms ease;
}

.bonus-trip:hover .bonus-trip__image img {
  transform: scale(1.06);
}

.bonus-trip__body {
  padding: clamp(24px, 4vw, 42px);
}

.bonus-trip__body h3 {
  margin: 16px 0 12px;
  font-size: clamp(1.8rem, 4vw, 3rem);
  line-height: 1;
}

.bonus-trip__body p {
  color: var(--muted);
}

.food,
.practical,
.contact {
  width: 100%;
  max-width: none;
  background: #eef4ef;
}

.food > *,
.practical > *,
.contact > * {
  width: min(1180px, calc(100% - 40px));
  margin-left: auto;
  margin-right: auto;
}

.food__grid,
.notes {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.food article,
.notes article {
  overflow: hidden;
  border: 1px solid rgba(23, 33, 43, 0.12);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.74);
  transition:
    transform 230ms ease,
    border-color 230ms ease,
    background 230ms ease,
    box-shadow 230ms ease;
}

.food article:hover,
.notes article:hover {
  border-color: rgba(0, 123, 131, 0.28);
  background: var(--white);
  box-shadow: 0 22px 50px rgba(23, 33, 43, 0.12);
  transform: translateY(-5px);
}

.food__image {
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--sea-dark);
}

.food__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.1) contrast(1.02);
  transition: transform 650ms ease;
}

.food article:hover .food__image img {
  transform: scale(1.08);
}

.food__body,
.notes article {
  padding: 20px;
}

.food__mark {
  display: block;
  margin-bottom: 10px;
  color: var(--terracotta);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.food h3,
.notes h3 {
  margin-bottom: 10px;
  font-size: 1.08rem;
}

.food p,
.notes p {
  margin-bottom: 0;
  color: var(--muted);
}

.notes article {
  position: relative;
  display: grid;
  align-content: start;
  min-height: 190px;
  background:
    radial-gradient(circle at 90% 8%, rgba(240, 189, 69, 0.18), transparent 32%),
    rgba(255, 255, 255, 0.78);
}

.note__icon {
  align-self: start;
  width: max-content;
  min-width: 66px;
  margin-bottom: 24px;
  border-color: rgba(0, 123, 131, 0.2);
  background: var(--sea-dark);
}

.contact {
  background: #f7efe6;
}

.contact--standalone {
  background: var(--paper);
}

.contact__panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border: 1px solid rgba(23, 33, 43, 0.12);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.7);
  padding: 24px;
  box-shadow: 0 12px 30px rgba(23, 33, 43, 0.06);
  transition:
    transform 240ms ease,
    border-color 240ms ease,
    box-shadow 240ms ease,
    background 240ms ease;
}

.contact__panel:hover {
  border-color: rgba(216, 95, 47, 0.28);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 24px 58px rgba(23, 33, 43, 0.14);
  transform: translateY(-4px);
}

.contact__panel h3 {
  margin-bottom: 6px;
  font-size: 1.3rem;
}

.contact__pending {
  margin-bottom: 0;
  color: var(--terracotta);
  font-weight: 800;
}

.contact__actions {
  justify-content: flex-end;
  max-width: 430px;
}

.feature-grid--wide {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.feature-grid--wide article {
  min-height: 138px;
}

.credits-page .button {
  color: var(--white);
}

.footer {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  padding: 32px max(20px, calc((100% - 1180px) / 2));
  background:
    linear-gradient(135deg, #101b23, #053c42 62%, #18482f);
  color: rgba(255, 255, 255, 0.82);
}

.footer p {
  margin: 6px 0 0;
}

.footer__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px;
}

.footer__links a {
  color: var(--white);
  font-weight: 750;
  text-decoration: none;
}

.credits-page {
  min-height: 100vh;
}

.credits-page h1 {
  max-width: 900px;
  color: var(--ink);
  font-size: clamp(2.8rem, 8vw, 5.5rem);
}

.credits-list {
  display: grid;
  gap: 10px;
  margin: 28px 0;
}

.credits-list article {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  padding: 14px;
}

.credits-list span {
  color: var(--muted);
}

@media (max-width: 1120px) {
  .feature-grid--wide {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  .hero {
    min-height: auto;
  }

  .hero__content {
    grid-template-columns: 1fr;
    padding-top: 58px;
  }

  .weather {
    max-width: 620px;
  }

  .weather--wide {
    max-width: none;
  }

  .controls,
  .intro__grid {
    grid-template-columns: 1fr;
  }

  .plans,
  .segment-grid,
  .portal-grid,
  .home-facts,
  .food__grid,
  .notes {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .attraction-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .bonus-trip {
    grid-template-columns: 1fr;
  }

  .bonus-trip__image {
    min-height: 300px;
  }

  .apartment__layout,
  .apartment-overview__layout,
  .home-intro,
  .essentials__layout,
  .trip-map,
  .nearby-strip,
  .distance-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .apartment-preview__layout {
    grid-template-columns: 1fr;
  }

  .property-gallery__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .home-cta {
    grid-template-columns: 1fr;
  }

  .home-cta__actions {
    justify-content: flex-start;
  }

  .home-cta__image {
    min-height: 280px;
  }
}

@media (max-width: 680px) {
  .topbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero__content,
  .section,
  .topbar {
    width: min(100% - 28px, 1180px);
  }

  .hero__content {
    padding: 40px 0 34px;
  }

  h1 {
    font-size: clamp(3rem, 17vw, 4.4rem);
  }

  .hero__stats span {
    flex: 1 1 140px;
  }

  .weather {
    padding: 16px;
  }

  .weather__days {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .weather--wide .weather__days {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .weather--wide .weather-day {
    min-height: 124px;
  }

  .section {
    padding: 44px 0;
  }

  .section__heading--inline {
    align-items: flex-start;
    flex-direction: column;
  }

  .plans,
  .segment-grid,
  .portal-grid,
  .attraction-grid,
  .apartment__layout,
  .apartment-overview__layout,
  .home-intro,
  .essentials__layout,
  .trip-map,
  .feature-grid,
  .home-facts,
  .nearby-strip,
  .distance-grid,
  .food__grid,
  .notes {
    grid-template-columns: 1fr;
  }

  .apartment-preview__media {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: repeat(3, 150px);
    min-height: 0;
  }

  .apartment-photo--large {
    grid-column: span 2;
    grid-row: span 2;
  }

  .apartment-preview__facts,
  .apartment-overview__facts {
    grid-template-columns: 1fr;
  }

  .property-gallery__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: 150px;
  }

  .gallery-button--large,
  .gallery-button--portrait {
    grid-column: span 1;
    grid-row: span 1;
  }

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

  .gallery-dialog {
    width: calc(100% - 18px);
  }

  .gallery-dialog__controls {
    position: static;
    justify-content: space-between;
    padding: 0 12px 12px;
  }

  .home-cta {
    width: min(100% - 28px, 1180px);
    margin-bottom: 44px;
    padding: 22px;
  }

  .home-cta h2 {
    font-size: clamp(2.4rem, 13vw, 3.7rem);
  }

  .home-cta__image {
    min-height: 230px;
  }

  .nearby-strip div,
  .nearby-strip div:first-child,
  .nearby-strip div:not(:first-child) {
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding: 20px 14px;
  }

  .contact__panel {
    align-items: flex-start;
    flex-direction: column;
  }

  .contact__actions {
    justify-content: flex-start;
    max-width: none;
  }

  .essentials__map {
    min-height: 380px;
  }

  .trip-map__canvas {
    min-height: 420px;
  }

  .essential-item,
  .trip-map-place {
    grid-template-columns: 1fr;
  }

  .credits-list article {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .detail-list li {
    grid-template-columns: 1fr;
    gap: 2px;
  }

  .footer {
    flex-direction: column;
  }

  .footer__links {
    justify-content: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  .motion-reveal {
    opacity: 1;
    transform: none;
  }

  .hero__image {
    transform: none;
  }
}
