/* =========================================================
   Carpe Diem Apartamenty — Gdynia
   Autorski arkusz stylów strony informacyjno-reklamowej
   ========================================================= */

:root {
  --ink: #292929;
  --ink-deep: #1d1d1b;
  --cream: #f7f4ec;
  --paper: #fdfbf6;
  --sand: #ece5d7;
  --sand-deep: #dfd5c2;
  --white: #ffffff;
  --yellow: #fde221;
  --yellow-soft: #fff5a8;
  --blue: #010cff;
  --muted: #716c61;
  --muted-light: rgba(247, 244, 236, 0.66);
  --line: rgba(41, 41, 41, 0.15);
  --line-light: rgba(247, 244, 236, 0.2);
  --sans: "Manrope", "Segoe UI", sans-serif;
  --serif: "Cormorant Garamond", Georgia, serif;
  --container: 1280px;
  --header-h: 92px;
  --radius: 3px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

body.menu-open {
  overflow: hidden;
}

body,
input,
select,
textarea,
button {
  font-family: var(--sans);
}

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

img {
  height: auto;
}

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

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

p:last-child {
  margin-bottom: 0;
}

::selection {
  background: var(--yellow);
  color: var(--ink);
}

:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 4px;
}

.container {
  width: min(100% - 56px, var(--container));
  margin-inline: auto;
}

.icon-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.icon {
  display: inline-block;
  width: 1em;
  height: 1em;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.6;
  vertical-align: -0.12em;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 200;
  padding: 10px 16px;
  background: var(--ink);
  border-radius: 999px;
  color: var(--paper);
  font-size: 0.78rem;
  font-weight: 700;
  transform: translateY(-180%);
  transition: transform 0.2s ease;
}

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

/* ---------- Typography helpers ---------- */

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.17em;
  line-height: 1.4;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 8px;
  height: 8px;
  flex: 0 0 8px;
  background: var(--yellow);
  border: 1px solid var(--ink);
  border-radius: 50%;
  content: "";
}

.eyebrow--light {
  color: rgba(247, 244, 236, 0.61);
}

.eyebrow--light::before {
  border-color: transparent;
}

.section-title,
.page-title {
  margin-bottom: 0;
  font-family: var(--serif);
  font-size: clamp(2.9rem, 5.2vw, 5rem);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 0.96;
}

.section-title em,
.page-title em {
  color: var(--ink);
  font-style: italic;
  font-weight: 400;
}

.section-lead {
  max-width: 48ch;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.75;
}

.section {
  padding: 108px 0;
}

.section--sand {
  background: var(--sand);
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(240px, 0.75fr);
  align-items: end;
  gap: 44px;
  margin-bottom: 46px;
}

.section-head .section-title {
  max-width: 13ch;
}

.section-head .section-lead {
  justify-self: end;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding-bottom: 4px;
  border-bottom: 1px solid currentColor;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1.4;
  text-transform: uppercase;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.text-link .icon {
  width: 14px;
  height: 14px;
  transition: transform 0.2s ease;
}

.text-link:hover {
  color: var(--muted);
}

.text-link:hover .icon {
  transform: translateX(4px);
}

.btn {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 11px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  font-size: 0.71rem;
  font-weight: 800;
  letter-spacing: 0.075em;
  line-height: 1.1;
  text-align: center;
  text-transform: uppercase;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.btn .icon {
  width: 15px;
  height: 15px;
}

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

.btn--dark {
  background: var(--ink);
  color: var(--paper);
}

.btn--dark:hover {
  background: var(--ink-deep);
  box-shadow: 0 12px 22px rgba(41, 41, 41, 0.16);
}

.btn--yellow {
  background: var(--yellow);
  border-color: var(--ink);
  color: var(--ink);
}

.btn--yellow:hover {
  background: var(--yellow-soft);
  box-shadow: 0 12px 22px rgba(41, 41, 41, 0.14);
}

.btn--light {
  background: var(--paper);
  border-color: var(--paper);
  color: var(--ink);
}

.btn--light:hover {
  background: var(--yellow);
  border-color: var(--yellow);
}

.btn--outline {
  background: transparent;
  border-color: var(--line);
  color: var(--ink);
}

.btn--outline:hover {
  border-color: var(--ink);
  background: var(--paper);
}

.btn--outline-light {
  background: transparent;
  border-color: rgba(247, 244, 236, 0.35);
  color: var(--paper);
}

.btn--outline-light:hover {
  background: var(--paper);
  border-color: var(--paper);
  color: var(--ink);
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  background: rgba(247, 244, 236, 0.93);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.site-header.is-scrolled {
  background: rgba(247, 244, 236, 0.98);
  border-bottom-color: var(--line);
  box-shadow: 0 8px 30px rgba(41, 41, 41, 0.05);
}

.header-inner {
  display: flex;
  min-height: var(--header-h);
  align-items: center;
  gap: 34px;
}

.brand {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
}

.brand img {
  width: auto;
  height: 58px;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-left: auto;
}

.nav-link {
  position: relative;
  color: var(--ink);
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  line-height: 1.4;
  text-transform: uppercase;
}

.nav-link::after {
  position: absolute;
  right: 0;
  bottom: -8px;
  left: 0;
  height: 1px;
  background: var(--ink);
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.25s ease;
}

.nav-link:hover::after,
.nav-link.is-active::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-link.is-active {
  color: var(--ink);
}

.header-cta {
  display: inline-flex;
  min-height: 44px;
  flex: 0 0 auto;
  align-items: center;
  gap: 9px;
  padding: 0 18px;
  background: var(--yellow);
  border: 1px solid var(--ink);
  border-radius: 999px;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  line-height: 1;
  text-transform: uppercase;
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.header-cta .icon {
  width: 13px;
  height: 13px;
}

.header-cta:hover {
  background: var(--yellow-soft);
  box-shadow: 3px 3px 0 var(--ink);
  transform: translate(-1px, -1px);
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  margin-left: auto;
  padding: 0;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 50%;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 1.5px;
  margin: 5px auto;
  background: var(--ink);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle[aria-expanded="true"] span:first-child {
  transform: translateY(3.25px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:last-child {
  transform: translateY(-3.25px) rotate(-45deg);
}

.nav-mobile-cta,
.nav-mobile-contact {
  display: none;
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  padding: 54px 0 24px;
  overflow: hidden;
}

.hero::before {
  position: absolute;
  top: 7%;
  right: -10%;
  width: 560px;
  height: 560px;
  border: 1px solid rgba(41, 41, 41, 0.07);
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(360px, 0.96fr);
  align-items: center;
  gap: clamp(46px, 6vw, 94px);
}

.hero-copy {
  padding: 20px 0;
}

.hero h1 {
  max-width: 9.5ch;
  margin-bottom: 28px;
  font-family: var(--serif);
  font-size: clamp(4rem, 7.2vw, 7.1rem);
  font-weight: 500;
  letter-spacing: -0.055em;
  line-height: 0.86;
}

.hero h1 em {
  display: block;
  color: var(--ink);
  font-style: italic;
  font-weight: 400;
}

.hero-lead {
  max-width: 47ch;
  margin-bottom: 30px;
  color: var(--muted);
  font-size: clamp(0.98rem, 1.3vw, 1.11rem);
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 15px 24px;
  margin-bottom: 42px;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 24px 38px;
  margin: 0;
  padding: 22px 0 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.hero-stat {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.hero-stat strong {
  font-family: var(--serif);
  font-size: 1.75rem;
  font-weight: 600;
  line-height: 0.9;
}

.hero-stat span {
  color: var(--muted);
  font-size: 0.59rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1.4;
  text-transform: uppercase;
}

.hero-media {
  position: relative;
  min-height: 620px;
}

.hero-photo {
  position: absolute;
  top: 0;
  right: 0;
  width: calc(100% - 28px);
  height: 594px;
  overflow: hidden;
  background: var(--sand);
  border-radius: 210px 2px 2px 2px;
  box-shadow: 18px 22px 0 var(--yellow);
}

.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-photo::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 54%, rgba(29, 29, 27, 0.42) 100%);
  content: "";
}

.hero-photo-label {
  position: absolute;
  right: 22px;
  bottom: 20px;
  left: 22px;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: var(--white);
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-photo-label span:last-child {
  color: var(--yellow);
}

.hero-quote {
  position: absolute;
  bottom: 16px;
  left: 0;
  z-index: 2;
  width: min(290px, 75%);
  padding: 20px 22px;
  background: var(--paper);
  border: 1px solid var(--ink);
  box-shadow: 9px 9px 0 var(--ink);
}

.hero-quote-rating {
  display: flex;
  align-items: baseline;
  gap: 5px;
  margin-bottom: 9px;
  color: var(--ink);
  font-size: 0.67rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-quote-rating strong {
  font-family: var(--serif);
  font-size: 1.7rem;
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 0.8;
}

.hero-quote p {
  margin-bottom: 11px;
  font-family: var(--serif);
  font-size: 1.06rem;
  font-style: italic;
  line-height: 1.25;
}

.hero-quote span {
  color: var(--muted);
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.hero-seal {
  position: absolute;
  top: 38px;
  left: -14px;
  z-index: 2;
  display: grid;
  width: 104px;
  height: 104px;
  place-content: center;
  background: var(--yellow);
  border: 1px solid var(--ink);
  border-radius: 50%;
  text-align: center;
  transform: rotate(-8deg);
}

.hero-seal strong {
  display: block;
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 600;
  line-height: 0.8;
}

.hero-seal span {
  display: block;
  margin-top: 6px;
  font-size: 0.47rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  line-height: 1.3;
  text-transform: uppercase;
}

/* ---------- Booking bar ---------- */

.booking-wrap {
  position: relative;
  z-index: 3;
  margin-top: 62px;
}

.booking-bar {
  display: grid;
  grid-template-columns: 1fr 1fr 0.72fr 1.25fr auto;
  align-items: stretch;
  background: var(--paper);
  border: 1px solid var(--ink);
  box-shadow: 9px 9px 0 var(--sand-deep);
}

.booking-field {
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: center;
  padding: 15px 17px;
  border-right: 1px solid var(--line);
}

.booking-field label {
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 0.55rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  line-height: 1.2;
  text-transform: uppercase;
}

.booking-control {
  width: 100%;
  min-width: 0;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.4;
}

.booking-control:focus {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
}

.booking-submit {
  min-height: 62px;
  border: 0;
  border-radius: 0;
  cursor: pointer;
}

.booking-caption {
  margin: 15px 0 0;
  color: var(--muted);
  font-size: 0.66rem;
  line-height: 1.5;
}

/* ---------- About ---------- */

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: center;
  gap: clamp(48px, 7vw, 100px);
}

.about-copy .section-title {
  max-width: 12ch;
  margin-bottom: 28px;
}

.about-copy p {
  max-width: 48ch;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.8;
}

.about-copy p + p {
  margin-top: 15px;
}

.about-signature {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-top: 30px;
  font-family: var(--serif);
  font-size: 1.4rem;
  font-style: italic;
  line-height: 1;
}

.about-signature span {
  padding-left: 13px;
  border-left: 1px solid var(--line);
  color: var(--muted);
  font-family: var(--sans);
  font-size: 0.59rem;
  font-style: normal;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.about-media {
  position: relative;
  min-height: 550px;
}

.about-img-main {
  position: absolute;
  top: 0;
  right: 0;
  width: 83%;
  height: 470px;
  margin: 0;
  overflow: hidden;
  border-radius: 145px 2px 2px 2px;
}

.about-img-main img,
.about-img-small img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-img-small {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 48%;
  height: 250px;
  margin: 0;
  overflow: hidden;
  border: 8px solid var(--cream);
}

.about-badge {
  position: absolute;
  right: 9%;
  bottom: 30px;
  z-index: 2;
  display: flex;
  width: 132px;
  height: 132px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--yellow);
  border: 1px solid var(--ink);
  border-radius: 50%;
  text-align: center;
  transform: rotate(7deg);
}

.about-badge strong {
  font-family: var(--serif);
  font-size: 2.6rem;
  font-weight: 600;
  line-height: 0.8;
}

.about-badge span {
  margin-top: 7px;
  font-size: 0.52rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  line-height: 1.4;
  text-transform: uppercase;
}

/* ---------- Apartment cards ---------- */

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

.apartment-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.apartment-media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--sand);
  border-radius: var(--radius);
}

.apartment-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.2, 0.65, 0.2, 1);
}

.apartment-card:hover .apartment-media img {
  transform: scale(1.035);
}

.apartment-media::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 52%, rgba(29, 29, 27, 0.42));
  content: "";
}

.status-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 10px;
  background: var(--yellow);
  border: 1px solid var(--ink);
  border-radius: 999px;
  font-size: 0.54rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  line-height: 1;
  text-transform: uppercase;
}

.status-badge::before {
  width: 5px;
  height: 5px;
  background: var(--ink);
  border-radius: 50%;
  content: "";
}

.status-badge--soon {
  background: var(--paper);
}

.status-badge--soon::before {
  background: var(--muted);
}

.apartment-index {
  position: absolute;
  right: 15px;
  bottom: 12px;
  z-index: 1;
  color: var(--paper);
  font-family: var(--serif);
  font-size: 1.7rem;
  line-height: 1;
}

.apartment-content {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 21px 0 0;
  border-top: 1px solid var(--ink);
  margin-top: 16px;
}

.apartment-location {
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  line-height: 1.4;
  text-transform: uppercase;
}

.apartment-content h3 {
  margin-bottom: 8px;
  font-family: var(--serif);
  font-size: 2.25rem;
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 0.9;
}

.apartment-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 5px 10px;
  margin-bottom: 14px;
  color: var(--muted);
  font-size: 0.67rem;
  font-weight: 600;
  line-height: 1.5;
}

.apartment-meta span + span::before {
  margin-right: 10px;
  color: var(--line);
  content: "/";
}

.apartment-desc {
  margin-bottom: 22px;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.7;
}

.apartment-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: auto;
  padding-top: 13px;
  border-top: 1px solid var(--line);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1.4;
  text-transform: uppercase;
}

.apartment-footer .icon {
  width: 14px;
  height: 14px;
}

.apartment-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.apartment-link:hover {
  color: var(--muted);
}

.apartment-card--soon .apartment-media img {
  filter: saturate(0.6) brightness(0.9);
}

.apartment-card--soon .apartment-content {
  border-top-color: var(--line);
}

.apartment-card--soon .apartment-footer {
  color: var(--muted);
}

/* ---------- Features ---------- */

.features {
  padding: 82px 0;
  background: var(--sand);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--ink);
}

.feature {
  padding: 24px 24px 0 0;
  border-right: 1px solid var(--line);
}

.feature + .feature {
  padding-left: 24px;
}

.feature:last-child {
  border-right: 0;
}

.feature-icon {
  display: grid;
  width: 40px;
  height: 40px;
  margin-bottom: 29px;
  place-items: center;
  background: var(--yellow);
  border: 1px solid var(--ink);
  border-radius: 50%;
}

.feature-icon .icon {
  width: 18px;
  height: 18px;
}

.feature h3 {
  margin-bottom: 10px;
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1;
}

.feature p {
  color: var(--muted);
  font-size: 0.75rem;
  line-height: 1.65;
}

/* ---------- Location ---------- */

.location {
  background: var(--ink);
  color: var(--paper);
}

.location-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  min-height: 650px;
}

.location-media {
  position: relative;
  min-height: 500px;
  overflow: hidden;
}

.location-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.location-media::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(29, 29, 27, 0.06), rgba(29, 29, 27, 0.65));
  content: "";
}

.location-media-caption {
  position: absolute;
  right: 28px;
  bottom: 26px;
  left: 28px;
  z-index: 1;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  color: var(--paper);
}

.location-media-caption strong {
  font-family: var(--serif);
  font-size: 2.1rem;
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 0.9;
}

.location-media-caption span {
  color: var(--yellow);
  font-size: 0.59rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.location-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 76px 64px;
}

.location-content .section-title {
  max-width: 12ch;
  margin-bottom: 24px;
  color: var(--paper);
}

.location-content .section-title em {
  color: var(--yellow);
}

.location-content > p {
  max-width: 47ch;
  margin-bottom: 38px;
  color: var(--muted-light);
  font-size: 0.91rem;
  line-height: 1.8;
}

.location-list {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line-light);
}

.location-item {
  display: grid;
  grid-template-columns: 0.64fr 1.36fr;
  gap: 22px;
  padding: 21px 0;
  border-bottom: 1px solid var(--line-light);
}

.location-item h3 {
  margin-bottom: 5px;
  font-family: var(--serif);
  font-size: 1.8rem;
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1;
}

.location-item p {
  color: var(--muted-light);
  font-size: 0.76rem;
  line-height: 1.65;
}

.location-item a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 7px;
  color: var(--yellow);
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.location-item a .icon {
  width: 12px;
  height: 12px;
}

.location-item a:hover {
  color: var(--paper);
}

/* ---------- Reviews ---------- */

.reviews-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr);
  gap: clamp(40px, 7vw, 100px);
  align-items: start;
}

.reviews-intro .section-title {
  max-width: 10ch;
  margin-bottom: 20px;
}

.reviews-intro p {
  max-width: 36ch;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.75;
}

.rating-block {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-top: 32px;
}

.rating-block strong {
  font-family: var(--serif);
  font-size: 5.5rem;
  font-weight: 500;
  letter-spacing: -0.065em;
  line-height: 0.7;
}

.rating-block span {
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 700;
  line-height: 1.5;
}

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

.review-card {
  position: relative;
  display: flex;
  min-height: 265px;
  flex-direction: column;
  margin: 0;
  padding: 24px 22px;
  background: var(--paper);
  border: 1px solid var(--line);
}

.review-card::before {
  display: block;
  margin-bottom: 18px;
  color: var(--yellow);
  content: "„";
  font-family: var(--serif);
  font-size: 3.8rem;
  line-height: 0.45;
}

.review-card blockquote {
  margin-bottom: 24px;
  font-family: var(--serif);
  font-size: 1.18rem;
  line-height: 1.3;
}

.review-card footer {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.59rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1.5;
  text-transform: uppercase;
}

/* ---------- Seasons ---------- */

.seasons {
  position: relative;
  overflow: hidden;
  padding: 86px 0;
  background: var(--yellow);
}

.seasons::after {
  position: absolute;
  right: -120px;
  bottom: -280px;
  width: 620px;
  height: 620px;
  border: 1px solid rgba(41, 41, 41, 0.18);
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

.seasons-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  align-items: center;
  gap: clamp(40px, 7vw, 100px);
}

.seasons .section-title {
  max-width: 9ch;
  margin-bottom: 20px;
}

.seasons-copy p {
  max-width: 39ch;
  font-size: 0.88rem;
  line-height: 1.8;
}

.season-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

.season-item {
  padding-top: 17px;
  border-top: 1px solid rgba(41, 41, 41, 0.35);
}

.season-item > span {
  display: block;
  margin-bottom: 18px;
  font-family: var(--serif);
  font-size: 1.6rem;
  line-height: 1;
}

.season-item h3 {
  margin-bottom: 10px;
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1;
}

.season-item p {
  color: rgba(41, 41, 41, 0.68);
  font-size: 0.74rem;
  line-height: 1.65;
}

.season-action {
  grid-column: 1 / -1;
  margin-top: 8px;
}

.season-action--side {
  display: flex;
  align-self: center;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  grid-column: auto;
  justify-self: start;
  margin-top: 0;
}

/* ---------- Gallery preview ---------- */

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

.preview-item {
  position: relative;
  display: block;
  overflow: hidden;
  background: var(--sand);
}

.preview-item:first-child {
  grid-column: span 2;
  grid-row: span 2;
}

.preview-item:nth-child(4) {
  grid-column: span 2;
}

.preview-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.65s cubic-bezier(0.2, 0.65, 0.2, 1);
}

.preview-item::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 52%, rgba(29, 29, 27, 0.55));
  content: "";
}

.preview-item:hover img {
  transform: scale(1.04);
}

.preview-item span {
  position: absolute;
  right: 16px;
  bottom: 14px;
  left: 16px;
  z-index: 1;
  color: var(--paper);
  font-size: 0.59rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  line-height: 1.3;
  text-transform: uppercase;
}

/* ---------- Final CTA ---------- */

.cta-final {
  position: relative;
  overflow: hidden;
  padding: 116px 0;
  background: var(--ink);
  color: var(--paper);
}

.cta-final::before {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(29, 29, 27, 0.94), rgba(29, 29, 27, 0.55)), url("../assets/images/beach-pier-night.webp") center / cover;
  content: "";
}

.cta-final::after {
  position: absolute;
  top: -230px;
  right: 7%;
  width: 580px;
  height: 580px;
  border: 1px solid rgba(253, 226, 33, 0.25);
  border-radius: 50%;
  content: "";
}

.cta-final .container {
  position: relative;
  z-index: 1;
}

.cta-final-inner {
  max-width: 680px;
}

.cta-final .eyebrow {
  color: rgba(247, 244, 236, 0.65);
}

.cta-final .section-title {
  max-width: 12ch;
  margin-bottom: 22px;
  color: var(--paper);
}

.cta-final .section-title em {
  color: var(--yellow);
}

.cta-final p {
  max-width: 41ch;
  margin-bottom: 30px;
  color: var(--muted-light);
  font-size: 0.94rem;
  line-height: 1.8;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 24px;
}

.cta-phone {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--paper);
  font-size: 0.75rem;
  font-weight: 700;
}

.cta-phone .icon {
  width: 15px;
  height: 15px;
  color: var(--yellow);
}

.cta-phone:hover {
  color: var(--yellow);
}

.cta-phone--dark {
  color: var(--ink);
}

.cta-phone--dark .icon {
  color: var(--ink);
}

.cta-phone--dark:hover {
  color: var(--ink-deep);
}

/* ---------- Page hero ---------- */

.page-hero {
  padding: 68px 0 56px;
  border-bottom: 1px solid var(--line);
}

.page-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(250px, 0.9fr);
  align-items: end;
  gap: 56px;
}

.page-title {
  max-width: 10ch;
  margin-bottom: 0;
  font-size: clamp(3.5rem, 6.5vw, 6.3rem);
}

.page-hero .section-lead {
  justify-self: end;
  margin-bottom: 8px;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 30px;
  color: var(--muted);
  font-size: 0.59rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.5;
  text-transform: uppercase;
}

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

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

.breadcrumbs span.separator {
  color: rgba(41, 41, 41, 0.35);
}

/* ---------- Accommodation listing page ---------- */

.apartments-page {
  padding: 52px 0 108px;
}

.apartments-page .apartment-grid {
  gap: 44px 24px;
}

.compare-wrap {
  margin-top: 92px;
}

.compare-wrap h2 {
  margin-bottom: 24px;
  font-family: var(--serif);
  font-size: clamp(2.1rem, 3.4vw, 3.3rem);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1;
}

.compare-table-wrap {
  overflow-x: auto;
  border-top: 1px solid var(--ink);
}

.compare-table {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
  font-size: 0.78rem;
  line-height: 1.5;
}

.compare-table th,
.compare-table td {
  padding: 16px 14px 16px 0;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.compare-table th:first-child,
.compare-table td:first-child {
  color: var(--muted);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.compare-table thead th {
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.compare-table td:not(:first-child) {
  padding-right: 24px;
}

.compare-table strong {
  font-weight: 700;
}

.compare-hint {
  display: none;
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 0.64rem;
  line-height: 1.5;
}

/* ---------- Detail pages ---------- */

.detail-hero {
  padding: 48px 0 38px;
}

.detail-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.65fr);
  align-items: end;
  gap: 48px;
}

.detail-heading .page-title {
  max-width: 11ch;
  margin-bottom: 13px;
}

.detail-subtitle {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  line-height: 1.5;
  text-transform: uppercase;
}

.detail-status {
  justify-self: end;
  width: min(100%, 320px);
  padding: 18px 20px;
  background: var(--paper);
  border: 1px solid var(--line);
}

.detail-status .status-badge {
  position: static;
  margin-bottom: 10px;
}

.detail-status p {
  color: var(--muted);
  font-size: 0.75rem;
  line-height: 1.6;
}

.detail-gallery-section {
  padding: 0 0 74px;
}

.detail-gallery {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-auto-rows: 185px;
  gap: 11px;
}

.gallery-photo {
  position: relative;
  display: block;
  overflow: hidden;
  padding: 0;
  background: var(--sand);
  border: 0;
  cursor: zoom-in;
}

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

.gallery-photo:nth-child(2),
.gallery-photo:nth-child(3) {
  grid-column: span 5;
}

.gallery-photo:nth-child(n + 4) {
  grid-column: span 3;
}

.gallery-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease, filter 0.3s ease;
}

.gallery-photo:hover img {
  filter: brightness(0.88);
  transform: scale(1.025);
}

.gallery-photo::after {
  position: absolute;
  right: 12px;
  bottom: 12px;
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  background: var(--yellow);
  border: 1px solid var(--ink);
  border-radius: 50%;
  color: var(--ink);
  content: "+";
  font-size: 1rem;
  line-height: 1;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.gallery-photo:hover::after {
  opacity: 1;
}

.detail-body {
  padding: 0 0 112px;
}

.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(290px, 375px);
  align-items: start;
  gap: clamp(40px, 7vw, 96px);
}

.detail-content {
  max-width: 720px;
}

.detail-content .section-title {
  max-width: 13ch;
  margin-bottom: 22px;
}

.detail-content > p {
  max-width: 62ch;
  color: var(--muted);
  font-size: 0.91rem;
  line-height: 1.82;
}

.detail-content h2 {
  margin: 54px 0 19px;
  font-family: var(--serif);
  font-size: clamp(2.15rem, 3.4vw, 3.2rem);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 0.98;
}

.detail-content h2:first-child {
  margin-top: 0;
}

.amenities {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 32px;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.amenity {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.5;
}

.amenity .icon {
  width: 15px;
  height: 15px;
  margin-top: 2px;
  color: var(--ink);
}

.info-list {
  margin: 0;
  border-top: 1px solid var(--line);
}

.info-row {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 20px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.78rem;
  line-height: 1.6;
}

.info-row dt {
  color: var(--muted);
  font-weight: 700;
}

.info-row dd {
  margin: 0;
}

.detail-location-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 28px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.detail-location-list li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.78rem;
}

.detail-location-list strong {
  color: var(--ink);
  font-weight: 700;
}

.booking-card {
  position: sticky;
  top: 115px;
  padding: 28px;
  background: var(--paper);
  border: 1px solid var(--ink);
  box-shadow: 9px 9px 0 var(--sand-deep);
}

.booking-card .eyebrow {
  margin-bottom: 15px;
}

.booking-card h2 {
  margin-bottom: 13px;
  font-family: var(--serif);
  font-size: 2.25rem;
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 0.95;
}

.booking-card > p {
  margin-bottom: 21px;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.7;
}

.booking-card .btn {
  width: 100%;
  margin-bottom: 9px;
}

.booking-card .btn:last-of-type {
  margin-bottom: 0;
}

.booking-contact {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-top: 23px;
  padding-top: 17px;
  border-top: 1px solid var(--line);
}

.booking-contact span {
  color: var(--muted);
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.booking-contact a {
  font-family: var(--serif);
  font-size: 1.5rem;
  line-height: 1.2;
}

.booking-contact a:hover {
  color: var(--muted);
}

.booking-card-note {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 0.63rem;
  line-height: 1.55;
}

.availability-banner {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 42px;
  padding: 17px 20px;
  background: var(--yellow-soft);
  border: 1px solid rgba(41, 41, 41, 0.22);
}

.availability-banner .icon {
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  margin-top: 1px;
}

.availability-banner strong {
  display: block;
  margin-bottom: 4px;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.availability-banner p {
  color: var(--muted);
  font-size: 0.76rem;
  line-height: 1.65;
}

/* ---------- Gallery page ---------- */

.gallery-page {
  padding: 58px 0 112px;
}

.gallery-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 30px;
}

.filter-btn {
  min-height: 35px;
  padding: 0 15px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  cursor: pointer;
  font-size: 0.61rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  line-height: 1;
  text-transform: uppercase;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.filter-btn:hover {
  border-color: var(--ink);
  color: var(--ink);
}

.filter-btn.is-active {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
}

.photo-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-flow: dense;
  gap: 11px;
}

.gallery-tile {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  padding: 0;
  background: var(--sand);
  border: 0;
  cursor: zoom-in;
}

.gallery-tile--wide {
  grid-column: span 2;
}

.gallery-tile--tall {
  grid-row: span 2;
  aspect-ratio: auto;
}

.gallery-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.65s ease, filter 0.3s ease;
}

.gallery-tile:hover img {
  filter: brightness(0.86);
  transform: scale(1.035);
}

.gallery-tile-caption {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 34px 14px 13px;
  background: linear-gradient(180deg, transparent, rgba(29, 29, 27, 0.75));
  color: var(--paper);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.4;
  text-align: left;
}

.gallery-tile::after {
  position: absolute;
  top: 12px;
  right: 12px;
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  background: var(--yellow);
  border: 1px solid var(--ink);
  border-radius: 50%;
  color: var(--ink);
  content: "+";
  font-size: 0.95rem;
  line-height: 1;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.gallery-tile:hover::after {
  opacity: 1;
}

.gallery-tile[hidden] {
  display: none;
}

/* Lightbox */

.lightbox {
  width: min(100% - 32px, 1120px);
  max-width: none;
  max-height: none;
  padding: 0;
  background: var(--ink-deep);
  border: 0;
  color: var(--paper);
}

.lightbox::backdrop {
  background: rgba(15, 15, 14, 0.85);
}

.lightbox-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 65vh;
  padding: 42px 72px 34px;
}

.lightbox-image {
  max-width: 100%;
  max-height: 74vh;
  width: auto;
  object-fit: contain;
}

.lightbox-caption {
  margin: 0;
  padding: 0 80px 25px;
  color: rgba(247, 244, 236, 0.7);
  font-size: 0.7rem;
  line-height: 1.5;
  text-align: center;
}

.lightbox-close,
.lightbox-nav {
  position: absolute;
  display: grid;
  width: 40px;
  height: 40px;
  padding: 0;
  place-items: center;
  background: transparent;
  border: 1px solid rgba(247, 244, 236, 0.3);
  border-radius: 50%;
  color: var(--paper);
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.lightbox-close {
  top: 18px;
  right: 18px;
}

.lightbox-nav {
  top: 50%;
  transform: translateY(-50%);
}

.lightbox-prev {
  left: 18px;
}

.lightbox-next {
  right: 18px;
}

.lightbox-close:hover,
.lightbox-nav:hover {
  background: var(--yellow);
  border-color: var(--yellow);
  color: var(--ink);
}

.lightbox-close .icon,
.lightbox-nav .icon {
  width: 16px;
  height: 16px;
}

/* ---------- Contact page ---------- */

.contact-page {
  padding: 64px 0 104px;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(290px, 0.75fr) minmax(0, 1.25fr);
  align-items: start;
  gap: clamp(34px, 6vw, 78px);
}

.contact-panel {
  position: relative;
  overflow: hidden;
  padding: 36px 32px;
  background: var(--ink);
  color: var(--paper);
}

.contact-panel::after {
  position: absolute;
  right: -65px;
  bottom: -95px;
  width: 250px;
  height: 250px;
  border: 1px solid rgba(253, 226, 33, 0.28);
  border-radius: 50%;
  content: "";
}

.contact-panel .eyebrow {
  color: rgba(247, 244, 236, 0.62);
}

.contact-panel h2 {
  margin-bottom: 16px;
  font-family: var(--serif);
  font-size: 2.3rem;
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 0.95;
}

.contact-panel > p {
  margin-bottom: 26px;
  color: var(--muted-light);
  font-size: 0.8rem;
  line-height: 1.7;
}

.contact-methods {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line-light);
}

.contact-method {
  padding: 15px 0;
  border-bottom: 1px solid var(--line-light);
}

.contact-method span {
  display: block;
  margin-bottom: 4px;
  color: rgba(247, 244, 236, 0.47);
  font-size: 0.56rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.contact-method a,
.contact-method p {
  margin: 0;
  color: var(--paper);
  font-size: 0.83rem;
  font-weight: 600;
  line-height: 1.5;
}

.contact-method a:hover {
  color: var(--yellow);
}

.contact-addresses {
  display: grid;
  gap: 0;
  margin-top: 28px;
  border-top: 1px solid var(--line);
}

.contact-address {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: start;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.contact-address h3 {
  margin-bottom: 3px;
  font-family: var(--serif);
  font-size: 1.3rem;
  font-weight: 600;
  line-height: 1;
}

.contact-address p {
  color: var(--muted);
  font-size: 0.72rem;
  line-height: 1.55;
}

.contact-address a {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.contact-address a:hover {
  color: var(--ink);
}

.inquiry-card {
  padding: 35px 38px 38px;
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: 12px 12px 0 var(--sand-deep);
}

.inquiry-card .section-title {
  margin-bottom: 10px;
  font-size: clamp(2.4rem, 4vw, 3.65rem);
}

.inquiry-intro {
  max-width: 50ch;
  margin-bottom: 27px;
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.65;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 17px 16px;
}

.form-row {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.form-row--full {
  grid-column: 1 / -1;
}

.form-row label {
  color: var(--ink);
  font-size: 0.59rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  line-height: 1.3;
  text-transform: uppercase;
}

.form-row label span {
  color: var(--muted);
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
}

.form-control {
  width: 100%;
  min-height: 45px;
  padding: 10px 12px;
  background: var(--cream);
  border: 1px solid rgba(41, 41, 41, 0.23);
  border-radius: 0;
  color: var(--ink);
  font-size: 0.82rem;
  line-height: 1.5;
  transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-control::placeholder {
  color: #9c968b;
  opacity: 1;
}

.form-control:hover {
  border-color: rgba(41, 41, 41, 0.45);
}

.form-control:focus {
  background: var(--white);
  border-color: var(--ink);
  box-shadow: 0 0 0 3px rgba(253, 226, 33, 0.4);
  outline: 0;
}

textarea.form-control {
  min-height: 120px;
  resize: vertical;
}

select.form-control {
  appearance: none;
  padding-right: 34px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='m1 1 5 5 5-5' fill='none' stroke='%23292929' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
}

.form-consent {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  grid-column: 1 / -1;
  color: var(--muted);
  font-size: 0.68rem;
  line-height: 1.55;
}

.form-consent input {
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  margin-top: 2px;
  accent-color: var(--ink);
}

.form-consent a {
  border-bottom: 1px solid rgba(41, 41, 41, 0.35);
  color: var(--ink);
}

.form-consent a:hover {
  border-color: var(--ink);
}

.form-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  margin-top: 25px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.form-note {
  max-width: 35ch;
  margin: 0;
  color: var(--muted);
  font-size: 0.64rem;
  line-height: 1.55;
}

.form-status {
  display: none;
  margin: 18px 0 0;
  padding: 13px 15px;
  background: var(--yellow-soft);
  border: 1px solid rgba(41, 41, 41, 0.22);
  color: var(--ink);
  font-size: 0.74rem;
  line-height: 1.55;
}

.form-status.is-visible {
  display: block;
}

.form-status a {
  border-bottom: 1px solid var(--ink);
  font-weight: 700;
}

/* Legal page */

.legal-page {
  padding: 58px 0 108px;
}

.legal-page .detail-content {
  max-width: 800px;
}

.legal-page .detail-content > p {
  margin-bottom: 16px;
}

.legal-page .detail-content > p:last-child {
  margin-bottom: 0;
}

.legal-page .detail-content ul {
  margin: 0 0 18px;
  padding-left: 20px;
  color: var(--muted);
  font-size: 0.91rem;
  line-height: 1.82;
}

.legal-page .detail-content li {
  margin-bottom: 3px;
}

.legal-page .text-link {
  display: inline;
  border-bottom: 1px solid currentColor;
  color: var(--ink);
  font-size: inherit;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
}

/* FAQ */

.faq {
  padding: 0 0 108px;
}

.faq-grid {
  display: grid;
  grid-template-columns: minmax(240px, 0.7fr) minmax(0, 1.3fr);
  gap: 56px;
}

.faq-grid .section-title {
  max-width: 10ch;
}

.faq-list {
  border-top: 1px solid var(--ink);
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 0;
  cursor: pointer;
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 600;
  line-height: 1.15;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  flex: 0 0 auto;
  color: var(--muted);
  content: "+";
  font-family: var(--sans);
  font-size: 1.2rem;
  font-weight: 400;
  line-height: 1;
  transition: transform 0.2s ease;
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-item p {
  max-width: 63ch;
  padding: 0 0 20px;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.75;
}

/* ---------- Footer ---------- */

.site-footer {
  background: var(--ink-deep);
  color: var(--paper);
}

.footer-main {
  display: grid;
  grid-template-columns: minmax(260px, 1.3fr) minmax(140px, 0.55fr) minmax(185px, 0.62fr) minmax(190px, 0.58fr);
  gap: 42px;
  padding: 64px 0 52px;
}

.footer-brand img {
  width: auto;
  height: 75px;
  margin-bottom: 18px;
}

.footer-brand p {
  max-width: 31ch;
  margin-bottom: 17px;
  color: var(--muted-light);
  font-size: 0.76rem;
  line-height: 1.65;
}

.footer-social {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--yellow);
  font-size: 0.61rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.footer-social .icon {
  width: 13px;
  height: 13px;
}

.footer-social:hover {
  color: var(--paper);
}

.footer-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}

.footer-heading {
  margin-bottom: 10px;
  color: rgba(247, 244, 236, 0.46);
  font-size: 0.57rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  line-height: 1.5;
  text-transform: uppercase;
}

.footer-col a,
.footer-col p {
  color: var(--muted-light);
  font-size: 0.74rem;
  line-height: 1.55;
}

.footer-col a:hover {
  color: var(--yellow);
}

.footer-col a.footer-strong {
  color: var(--paper);
  font-family: var(--serif);
  font-size: 1.3rem;
  line-height: 1.2;
}

.footer-col a.footer-strong:hover {
  color: var(--yellow);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 0 22px;
  border-top: 1px solid var(--line-light);
  color: rgba(247, 244, 236, 0.4);
  font-size: 0.58rem;
  line-height: 1.5;
}

.footer-privacy {
  margin-left: 7px;
  border-bottom: 1px solid rgba(247, 244, 236, 0.3);
  color: rgba(247, 244, 236, 0.55);
  transition: color 0.2s ease, border-color 0.2s ease;
}

.footer-privacy:hover {
  color: var(--yellow);
  border-color: var(--yellow);
}

.footer-bottom a {
  color: var(--yellow);
  font-weight: 700;
}

.footer-bottom a:hover {
  color: var(--paper);
}

.to-top {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.to-top .icon {
  width: 12px;
  height: 12px;
}

/* ---------- Responsive ---------- */

@media (max-width: 1160px) {
  .hero-grid {
    gap: 44px;
  }

  .hero-media {
    min-height: 560px;
  }

  .hero-photo {
    height: 534px;
  }

  .hero h1 {
    font-size: clamp(3.7rem, 7vw, 5.9rem);
  }

  .booking-bar {
    grid-template-columns: 1fr 1fr 0.8fr 1.2fr;
  }

  .booking-submit {
    grid-column: 1 / -1;
    min-height: 54px;
  }

  .booking-field:nth-child(4) {
    border-right: 0;
  }

  .feature {
    padding-right: 16px;
  }

  .feature + .feature {
    padding-left: 16px;
  }

  .location-content {
    padding: 60px 42px;
  }

  .footer-main {
    gap: 28px;
  }
}

@media (max-width: 960px) {
  .container {
    width: min(100% - 40px, var(--container));
  }

  body.menu-open::before {
    position: fixed;
    inset: 0;
    z-index: 70;
    background: var(--cream);
    content: "";
  }

  .header-inner {
    min-height: 82px;
    gap: 22px;
  }

  .brand img {
    height: 50px;
  }

  .header-cta {
    display: none;
  }

  .nav-toggle {
    display: block;
  }

  .primary-nav {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    z-index: 2;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin: 0;
    padding: 10px 20px 24px;
    background: var(--cream);
    border-bottom: 1px solid var(--ink);
    box-shadow: 0 20px 30px rgba(41, 41, 41, 0.08);
  }

  .primary-nav.is-open {
    display: flex;
  }

  .nav-link {
    padding: 16px 0;
    border-bottom: 1px solid var(--line);
    font-size: 0.72rem;
  }

  .nav-link::after {
    display: none;
  }

  .nav-mobile-cta {
    display: inline-flex;
    min-height: 46px;
    align-items: center;
    justify-content: center;
    margin-top: 16px;
    background: var(--yellow);
    border: 1px solid var(--ink);
    border-radius: 999px;
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.09em;
    text-transform: uppercase;
  }

  .nav-mobile-contact {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
    margin-top: 28px;
    padding-top: 20px;
    border-top: 1px solid var(--line);
  }

  .nav-mobile-contact p {
    margin-bottom: 6px;
    color: var(--muted);
    font-size: 0.58rem;
    font-weight: 800;
    letter-spacing: 0.11em;
    line-height: 1.5;
    text-transform: uppercase;
  }

  .nav-mobile-contact a {
    font-family: var(--serif);
    font-size: 1.2rem;
    line-height: 1.25;
  }

  .nav-mobile-contact a:last-child {
    font-family: var(--sans);
    font-size: 0.72rem;
    font-weight: 600;
  }

  .hero {
    padding-top: 40px;
  }

  .hero-grid,
  .page-hero-grid,
  .about-grid,
  .reviews-grid,
  .seasons-grid,
  .contact-grid,
  .faq-grid {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    max-width: 11ch;
    font-size: clamp(4rem, 12vw, 6.2rem);
  }

  .hero-media {
    width: min(100%, 680px);
    min-height: 570px;
    margin-left: auto;
  }

  .hero-photo {
    height: 540px;
  }

  .hero-lead {
    max-width: 55ch;
  }

  .booking-wrap {
    margin-top: 48px;
  }

  .section-head {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .section-head .section-lead {
    justify-self: start;
  }

  .about-media {
    width: min(100%, 650px);
  }

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

  .apartment-grid .apartment-card:last-child {
    grid-column: 1 / -1;
    width: calc(50% - 12px);
  }

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

  .feature:nth-child(2) {
    border-right: 0;
  }

  .feature:nth-child(n + 3) {
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid var(--line);
  }

  .location-grid {
    grid-template-columns: 1fr;
  }

  .location-media {
    min-height: 390px;
  }

  .location-content {
    padding: 60px 40px 70px;
  }

  .reviews-intro {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: start;
    gap: 20px;
  }

  .reviews-intro .section-title,
  .reviews-intro p {
    grid-column: 1;
  }

  .rating-block {
    grid-column: 2;
    grid-row: 1 / span 3;
    margin-top: 8px;
  }

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

  .detail-heading {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .detail-status {
    justify-self: start;
  }

  .detail-layout {
    grid-template-columns: 1fr;
  }

  .booking-card {
    position: static;
    width: min(100%, 430px);
    margin-top: 18px;
  }

  .detail-gallery {
    grid-auto-rows: 150px;
  }

  .gallery-photo:first-child {
    grid-column: span 8;
  }

  .gallery-photo:nth-child(2),
  .gallery-photo:nth-child(3) {
    grid-column: span 4;
  }

  .gallery-photo:nth-child(n + 4) {
    grid-column: span 3;
  }

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

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

  .gallery-preview .preview-item:first-child {
    grid-column: span 2;
  }

  .gallery-preview .preview-item:nth-child(4) {
    grid-column: span 2;
  }

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

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 700px) {
  .container {
    width: min(100% - 32px, var(--container));
  }

  .site-header {
    position: sticky;
    top: 0;
    z-index: 80;
  }

  .brand img {
    height: 43px;
  }

  .hero {
    padding: 34px 0 18px;
  }

  .hero h1 {
    font-size: clamp(3.5rem, 15vw, 5.2rem);
  }

  .hero-lead {
    font-size: 0.96rem;
  }

  .hero-actions {
    margin-bottom: 33px;
  }

  .hero-stats {
    gap: 18px 25px;
  }

  .hero-stat strong {
    font-size: 1.5rem;
  }

  .hero-media {
    min-height: 480px;
  }

  .hero-photo {
    width: calc(100% - 12px);
    height: 435px;
    border-radius: 135px 2px 2px 2px;
    box-shadow: 10px 12px 0 var(--yellow);
  }

  .hero-quote {
    bottom: 0;
    width: min(285px, 88%);
    padding: 16px 18px;
    box-shadow: 6px 6px 0 var(--ink);
  }

  .hero-quote p {
    font-size: 0.96rem;
  }

  .hero-seal {
    top: 16px;
    left: 0;
    width: 84px;
    height: 84px;
  }

  .hero-seal strong {
    font-size: 1.65rem;
  }

  .booking-wrap {
    margin-top: 36px;
  }

  .booking-bar {
    grid-template-columns: 1fr 1fr;
    box-shadow: 6px 6px 0 var(--sand-deep);
  }

  .booking-field {
    min-height: 66px;
    padding: 12px 13px;
  }

  .booking-field:nth-child(2) {
    border-right: 0;
  }

  .booking-field:nth-child(3) {
    border-top: 1px solid var(--line);
  }

  .booking-field:nth-child(4) {
    border-top: 1px solid var(--line);
    border-right: 0;
  }

  .booking-submit {
    grid-column: 1 / -1;
    min-height: 53px;
  }

  .section {
    padding: 78px 0;
  }

  .section-title {
    font-size: clamp(2.65rem, 12vw, 4.2rem);
  }

  .about-media {
    min-height: 430px;
  }

  .about-img-main {
    width: calc(100% - 12px);
    height: 360px;
    border-radius: 100px 2px 2px 2px;
  }

  .about-img-small {
    width: 49%;
    height: 180px;
    border-width: 6px;
  }

  .about-badge {
    right: 3%;
    bottom: 8px;
    width: 102px;
    height: 102px;
  }

  .about-badge strong {
    font-size: 2rem;
  }

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

  .apartment-grid .apartment-card:last-child {
    grid-column: auto;
    width: auto;
  }

  .apartment-content h3 {
    font-size: 2.1rem;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .feature,
  .feature + .feature {
    padding: 20px 0;
    border-right: 0;
  }

  .feature:nth-child(n + 2) {
    border-top: 1px solid var(--line);
  }

  .feature:nth-child(n + 3) {
    margin-top: 0;
    padding-top: 20px;
  }

  .feature-icon {
    margin-bottom: 17px;
  }

  .location-media {
    min-height: 320px;
  }

  .location-content {
    padding: 48px 22px 56px;
  }

  .location-item {
    grid-template-columns: 1fr;
    gap: 7px;
    padding: 17px 0;
  }

  .reviews-intro {
    display: block;
  }

  .rating-block {
    margin-top: 24px;
  }

  .rating-block strong {
    font-size: 4.4rem;
  }

  .review-grid {
    grid-template-columns: 1fr;
  }

  .review-card {
    min-height: auto;
  }

  .seasons {
    padding: 64px 0;
  }

  .season-list {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .season-action {
    grid-column: auto;
    margin-top: 4px;
  }

  .gallery-preview {
    grid-auto-rows: 160px;
  }

  .gallery-preview .preview-item:nth-child(4) {
    grid-column: span 2;
  }

  .cta-final {
    padding: 78px 0;
  }

  .page-hero {
    padding: 44px 0 40px;
  }

  .page-title {
    font-size: clamp(3.1rem, 14vw, 4.8rem);
  }

  .page-hero .section-lead {
    justify-self: start;
  }

  .apartments-page {
    padding-top: 40px;
  }

  .compare-wrap {
    margin-top: 66px;
  }

  .compare-hint {
    display: block;
  }

  .detail-hero {
    padding-top: 38px;
  }

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

  .gallery-photo:first-child,
  .gallery-photo:nth-child(2),
  .gallery-photo:nth-child(3),
  .gallery-photo:nth-child(n + 4) {
    grid-column: span 1;
    grid-row: span 1;
  }

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

  .detail-content .section-title {
    font-size: clamp(2.45rem, 11vw, 3.7rem);
  }

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

  .info-row {
    grid-template-columns: 0.9fr 1.1fr;
    gap: 12px;
  }

  .detail-location-list {
    grid-template-columns: 1fr;
  }

  .detail-body {
    padding-bottom: 78px;
  }

  .gallery-page {
    padding-top: 42px;
  }

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

  .gallery-tile--wide {
    grid-column: span 2;
  }

  .lightbox-inner {
    min-height: 55vh;
    padding: 44px 16px 24px;
  }

  .lightbox-image {
    max-height: 65vh;
  }

  .lightbox-caption {
    padding: 0 24px 20px;
  }

  .lightbox-nav {
    top: auto;
    bottom: 12px;
    transform: none;
  }

  .lightbox-prev {
    left: 16px;
  }

  .lightbox-next {
    right: 16px;
  }

  .contact-page {
    padding-top: 42px;
  }

  .contact-panel,
  .inquiry-card {
    padding: 25px 21px;
  }

  .inquiry-card {
    box-shadow: 7px 7px 0 var(--sand-deep);
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .form-row--full,
  .form-consent {
    grid-column: auto;
  }

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

  .form-footer .btn {
    width: 100%;
  }

  .faq {
    padding-bottom: 78px;
  }

  .faq-grid {
    gap: 30px;
  }

  .footer-main {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 46px 0 36px;
  }

  .footer-brand {
    grid-column: auto;
  }

  .footer-brand img {
    height: 64px;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }
}

@media (max-width: 350px) {
  .hero h1 {
    font-size: 3.45rem;
  }

  .hero-photo {
    height: 390px;
  }

  .hero-media {
    min-height: 435px;
  }

  .hero-seal {
    display: none;
  }

  .booking-field {
    padding-inline: 10px;
  }

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

  .gallery-preview .preview-item:first-child,
  .gallery-preview .preview-item:nth-child(4) {
    grid-column: auto;
    grid-row: auto;
  }

  .gallery-preview .preview-item:nth-child(n + 3) {
    display: none;
  }

  .photo-grid {
    grid-template-columns: 1fr;
  }

  .gallery-tile--wide {
    grid-column: auto;
  }

  .hero-photo {
    height: 360px;
  }

  .hero-media {
    min-height: 405px;
  }
}

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

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
