/* Coastal Diaries — navy + orange brand */

:root {
  --navy: #0b2540;
  --navy-deep: #06182b;
  --navy-soft: #163a5f;
  --orange: #e85d04;
  --orange-bright: #f48c06;
  --orange-soft: #fff0e4;
  --sand: #f7f4ef;
  --sand-deep: #ece6dc;
  --sky: #e8f1f8;
  --ink: #142033;
  --muted: #5a6778;
  --white: #ffffff;
  --header-h: 5rem;
  --sticky-h: 3.75rem;
  --font-display: "Fraunces", Georgia, serif;
  --font-ui: "Manrope", "Segoe UI", sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --radius: 1.25rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-ui);
  font-weight: 400;
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--ink);
  background:
    radial-gradient(ellipse 80% 50% at 10% -10%, rgba(232, 93, 4, 0.08), transparent 55%),
    radial-gradient(ellipse 70% 40% at 100% 0%, rgba(11, 37, 64, 0.08), transparent 50%),
    linear-gradient(180deg, #fbfaf7 0%, var(--sand) 40%, #f3f0ea 100%);
  padding-bottom: 1.5rem;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--navy);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

a:hover {
  color: var(--orange);
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 650;
  line-height: 1.15;
  color: var(--navy);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--navy);
  color: var(--white);
  padding: 0.75rem 1rem;
  z-index: 1000;
}

.skip-link:focus {
  left: 0.5rem;
  top: 0.5rem;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(251, 250, 247, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(11, 37, 64, 0.08);
}

.site-header__inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0.55rem 1.25rem;
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.site-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

.site-logo img {
  display: block;
  width: auto;
  height: 72px;
  max-width: min(280px, 46vw);
  object-fit: contain;
  object-position: left center;
}

.nav-toggle {
  display: none;
  align-items: center;
  gap: 0.5rem;
  background: transparent;
  border: 1px solid rgba(11, 37, 64, 0.2);
  color: var(--navy);
  padding: 0.45rem 0.75rem;
  font-family: var(--font-ui);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
}

.nav-toggle__bar {
  width: 1.1rem;
  height: 2px;
  background: var(--navy);
  box-shadow: 0 -5px 0 var(--navy), 0 5px 0 var(--navy);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-left: auto;
  margin-right: 1rem;
}

.site-nav__list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav__list a {
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-decoration: none;
  color: var(--muted);
  font-weight: 600;
}

.site-nav__list a:hover,
.site-nav__list a[aria-current="page"] {
  color: var(--navy);
}

.header-contacts {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-shrink: 0;
}

.header-contact {
  display: flex;
  align-items: flex-start;
  gap: 0.45rem;
  text-decoration: none;
  color: var(--ink);
  min-width: 0;
}

.header-contact:hover {
  color: var(--ink);
}

.header-contact:hover .header-contact__phone {
  color: #128c7e;
}

.header-contact__icon {
  display: flex;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.header-contact__text {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
  min-width: 0;
}

.header-contact__phone {
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.header-contact__name {
  font-size: 0.82rem;
  font-weight: 500;
  color: #6b7280;
  white-space: nowrap;
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.85rem 1.4rem;
  font-family: var(--font-ui);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease), transform 0.3s var(--ease);
}

.btn:hover {
  transform: translateY(-1px);
}

.btn--navy {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}

.btn--navy:hover {
  background: var(--navy-soft);
  color: var(--white);
}

.btn--accent {
  background: var(--orange);
  color: var(--white);
  border-color: var(--orange);
}

.btn--accent:hover {
  background: var(--orange-bright);
  color: var(--white);
}

.btn--ghost {
  background: transparent;
  color: var(--navy);
  border-color: rgba(11, 37, 64, 0.25);
}

.btn--ghost:hover {
  border-color: var(--orange);
  color: var(--navy);
}

/* Hero */

.hero {
  position: relative;
  min-height: calc(92vh - var(--header-h));
  min-height: calc(92dvh - var(--header-h));
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2.5rem 1.5rem 4.5rem;
  overflow: hidden;
  background: var(--navy-deep);
}

.hero__slides {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__slide {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  transition: opacity 1s var(--ease);
}

.hero__slide.is-active {
  opacity: 1;
  z-index: 1;
}

.hero__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  transition: transform 5.5s ease;
}

.hero__slide.is-active img {
  transform: scale(1);
}

.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(6, 24, 43, 0.45) 0%, rgba(6, 24, 43, 0.55) 45%, rgba(6, 24, 43, 0.78) 100%),
    linear-gradient(90deg, rgba(6, 24, 43, 0.35), transparent 40%, rgba(6, 24, 43, 0.25));
  pointer-events: none;
}

.hero__wash {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, transparent 55%, var(--sand) 100%),
    linear-gradient(120deg, rgba(11, 37, 64, 0.08), transparent 45%),
    radial-gradient(circle at 70% 30%, rgba(232, 93, 4, 0.18), transparent 42%);
  pointer-events: none;
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 40rem;
}

.hero__logo {
  width: min(380px, 84vw);
  height: auto;
  margin: 0 auto 1.25rem;
  filter: drop-shadow(0 12px 28px rgba(0, 0, 0, 0.35));
  animation: logoIn 1s var(--ease) both;
  background: rgba(255, 255, 255, 0.94);
  border-radius: 1rem;
  padding: 0.85rem 1.1rem;
}

@keyframes logoIn {
  from { opacity: 0; transform: translateY(18px) scale(0.97); }
  to { opacity: 1; transform: none; }
}

.hero__property {
  margin: 0 0 0.85rem;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  align-items: center;
}

.hero__property span {
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--orange-bright);
  font-weight: 700;
}

.hero__property a {
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 3.5vw, 2rem);
  font-weight: 650;
  color: var(--white);
  text-decoration: none;
}

.hero__property a:hover {
  color: var(--orange-bright);
}

.hero__support {
  margin: 0 auto 1.5rem;
  max-width: 30rem;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.05rem;
  font-weight: 500;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.35);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

.hero__controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  margin-top: 1.5rem;
}

.hero__nav {
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(6, 24, 43, 0.35);
  color: var(--white);
  cursor: pointer;
  font-size: 1rem;
  line-height: 1;
  transition: background 0.25s ease, border-color 0.25s ease;
}

.hero__nav:hover {
  background: var(--orange);
  border-color: var(--orange);
}

.hero__dots {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.35rem;
  max-width: 14rem;
}

.hero__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  transition: background 0.3s ease, transform 0.3s ease;
}

.hero__dot.is-active {
  background: var(--orange-bright);
  transform: scale(1.25);
}

.hero__scroll {
  position: absolute;
  bottom: 1.25rem;
  left: 50%;
  z-index: 2;
  transform: translateX(-50%);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.75);
  font-weight: 600;
  animation: bob 2.4s ease-in-out infinite;
}

.hero__scroll:hover {
  color: var(--orange-bright);
}

@keyframes bob {
  0%, 100% { transform: translateX(-50%) translateY(0); opacity: 0.65; }
  50% { transform: translateX(-50%) translateY(6px); opacity: 1; }
}

/* Properties grid */

.section-intro {
  text-align: center;
  padding: 3.5rem 1.5rem 1.75rem;
  max-width: 36rem;
  margin: 0 auto;
}

.section-intro__eyebrow {
  margin: 0 0 0.5rem;
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--orange);
  font-weight: 700;
}

.section-intro h2 {
  margin: 0 0 0.6rem;
  font-size: clamp(1.9rem, 4vw, 2.6rem);
}

.section-intro p {
  margin: 0;
  color: var(--muted);
}

.property-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 1.25rem 3rem;
}

.property-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--navy-deep);
  box-shadow: 0 18px 40px rgba(11, 37, 64, 0.12);
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease);
}

.property-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 50px rgba(11, 37, 64, 0.18);
}

.property-card__link {
  display: block;
  text-decoration: none;
  color: inherit;
  height: 100%;
}

.property-card__media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--navy);
}

.property-card__slides {
  position: absolute;
  inset: 0;
}

.property-card__slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity 0.9s var(--ease), transform 4.5s ease;
}

.property-card__slide.is-active {
  opacity: 1;
  transform: scale(1);
  z-index: 1;
}

.property-card__placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, var(--navy) 0%, var(--navy-soft) 100%);
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
}

.property-card__shade {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(180deg, transparent 35%, rgba(6, 24, 43, 0.88) 100%);
  pointer-events: none;
}

.property-card__dots {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  z-index: 3;
  display: flex;
  gap: 0.35rem;
}

.property-card__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  transition: background 0.3s ease, transform 0.3s ease;
}

.property-card__dot.is-active {
  background: var(--orange-bright);
  transform: scale(1.25);
}

.property-card__body {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 3;
  padding: 1.25rem 1.35rem 1.4rem;
  color: var(--white);
}

.property-card__location {
  margin: 0 0 0.25rem;
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--orange-bright);
  font-weight: 700;
}

.property-card__name {
  margin: 0 0 0.45rem;
  font-size: clamp(1.35rem, 2.5vw, 1.7rem);
  color: var(--white);
}

.property-card__cta {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.78);
}

.property-card:hover .property-card__cta {
  color: var(--orange-bright);
}

/* Property page */

.property-hero {
  padding: 3rem 1.5rem 2rem;
  text-align: center;
  border-bottom: 1px solid rgba(11, 37, 64, 0.08);
}

.property-hero__inner {
  max-width: 40rem;
  margin: 0 auto;
}

.property-hero__location {
  margin: 0 0 0.5rem;
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--orange);
  font-weight: 700;
}

.property-hero__title {
  margin: 0 0 0.75rem;
  font-size: clamp(2.1rem, 5vw, 3.2rem);
}

.property-hero__tagline {
  margin: 0 auto 1.5rem;
  color: var(--muted);
  max-width: 28rem;
}

.gallery-section {
  padding: 2rem 1rem 3rem;
  max-width: 1400px;
  margin: 0 auto;
}

.gallery-count {
  text-align: center;
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 1.5rem;
  font-weight: 600;
}

.gallery-grid {
  columns: 3 280px;
  column-gap: 0.75rem;
}

.gallery-grid__item {
  break-inside: avoid;
  margin: 0 0 0.75rem;
  padding: 0;
  border: 0;
  background: var(--sand-deep);
  cursor: zoom-in;
  width: 100%;
  overflow: hidden;
  display: block;
  border-radius: 0.65rem;
}

.gallery-grid__item img {
  width: 100%;
  height: auto;
  transition: transform 0.7s var(--ease), opacity 0.35s ease;
  opacity: 0.97;
}

.gallery-grid__item:hover img {
  transform: scale(1.03);
  opacity: 1;
}

.gallery-empty {
  text-align: center;
  padding: 4rem 1.5rem;
  color: var(--muted);
}

.gallery-empty__hint {
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}

.gallery-empty code {
  font-size: 0.85em;
  color: var(--navy);
}

.not-found {
  text-align: center;
  padding: 6rem 1.5rem;
}

/* Enquire band */

.enquire-band {
  text-align: center;
  padding: 4rem 1.5rem;
  margin: 0 1.25rem 2rem;
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(11, 37, 64, 0.04), rgba(232, 93, 4, 0.07));
  border: 1px solid rgba(11, 37, 64, 0.06);
}

.enquire-band--compact {
  padding: 2.75rem 1.5rem;
  margin-bottom: 2.5rem;
}

.enquire-band h2 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.7rem, 3vw, 2.25rem);
}

.enquire-band p {
  margin: 0 auto 1.5rem;
  color: var(--muted);
  max-width: 28rem;
}

.contact-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
  width: min(100%, 680px);
  margin: 1.5rem auto 0;
}

.contact-list--center {
  margin-top: 1.25rem;
}

.contact-card {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding: 0.95rem 1rem;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(11, 37, 64, 0.08);
  text-decoration: none;
  color: var(--navy);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.contact-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(11, 37, 64, 0.08);
  border-color: rgba(232, 93, 4, 0.22);
}

.contact-card__phone {
  font-weight: 800;
  letter-spacing: 0.01em;
}

.contact-card__name {
  color: var(--muted);
  font-size: 0.96rem;
}

/* Footer */

.site-footer {
  margin-top: 3rem;
  padding: 3.5rem 1.5rem 2.5rem;
  background:
    linear-gradient(180deg, transparent 0%, rgba(11, 37, 64, 0.04) 100%),
    radial-gradient(ellipse 70% 80% at 50% 100%, rgba(232, 93, 4, 0.06), transparent 60%);
  border-top: 1px solid rgba(11, 37, 64, 0.08);
}

.site-footer__inner {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.65rem;
}

.site-footer__name {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 4vw, 2.35rem);
  font-weight: 650;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--navy);
}

.site-footer__tagline {
  margin: 0;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
}

.site-footer__contacts {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
  gap: 1.5rem 2.25rem;
  margin-top: 1.35rem;
}

.site-footer__contacts .header-contact {
  text-align: left;
}

.site-footer__copy {
  margin: 1.75rem 0 0;
  font-size: 0.78rem;
  color: var(--muted);
  letter-spacing: 0.02em;
}

@media (max-width: 520px) {
  .site-footer__contacts {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }

  .site-footer__contacts .header-contact {
    text-align: left;
  }
}

/* Sticky CTA */

.sticky-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 90;
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: var(--sticky-h);
  box-shadow: 0 -10px 30px rgba(11, 37, 64, 0.14);
}

.sticky-cta__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.sticky-cta__btn--call {
  background: var(--navy);
  color: var(--white);
}

.sticky-cta__btn--accent {
  background: var(--orange);
  color: var(--white);
}

.sticky-cta__btn:hover {
  filter: brightness(1.06);
  color: var(--white);
}

/* Lightbox */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(6, 24, 43, 0.94);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem 1rem;
  opacity: 0;
  transition: opacity 0.35s var(--ease);
}

.lightbox.is-open {
  opacity: 1;
}

.lightbox[hidden] {
  display: none;
}

.lightbox__figure {
  margin: 0;
  max-width: min(1100px, 100%);
  max-height: 85vh;
}

.lightbox__figure img {
  max-height: 85vh;
  width: auto;
  max-width: 100%;
  margin: 0 auto;
  object-fit: contain;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
}

.lightbox__close,
.lightbox__nav {
  position: absolute;
  background: transparent;
  border: 0;
  color: var(--sand);
  cursor: pointer;
  font-size: 2rem;
  line-height: 1;
  padding: 0.5rem;
  opacity: 0.85;
}

.lightbox__close:hover,
.lightbox__nav:hover {
  opacity: 1;
  color: var(--orange-bright);
}

.lightbox__close {
  top: 0.75rem;
  right: 1rem;
  font-size: 2.4rem;
}

.lightbox__nav--prev {
  left: 0.5rem;
  top: 50%;
  transform: translateY(-50%);
}

.lightbox__nav--next {
  right: 0.5rem;
  top: 50%;
  transform: translateY(-50%);
}

.lightbox__counter {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  margin: 0;
  color: rgba(247, 244, 239, 0.7);
  font-size: 0.8rem;
  letter-spacing: 0.12em;
}

/* Reveal */

[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.85s var(--ease), transform 0.85s var(--ease);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

/* Responsive */

@media (max-width: 900px) {
  .gallery-grid {
    columns: 2 160px;
  }
}

@media (max-width: 720px) {
  .contact-list {
    grid-template-columns: 1fr;
  }

  .property-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    background: rgba(251, 250, 247, 0.98);
    border-bottom: 1px solid rgba(11, 37, 64, 0.08);
    padding: 1rem 1.25rem 1.25rem;
    gap: 1rem;
    display: none;
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav__list {
    flex-direction: column;
    gap: 0.85rem;
  }

  .header-contacts {
    gap: 0.65rem;
  }

  .header-contact__phone {
    font-size: 0.78rem;
  }

  .header-contact__name {
    font-size: 0.72rem;
  }

  .header-contact__icon svg {
    width: 18px;
    height: 18px;
  }

  .site-logo img {
    height: 58px;
    max-width: min(220px, 58vw);
  }
}

@media (max-width: 1100px) {
  .header-contact__name {
    display: none;
  }
}

@media (max-width: 520px) {
  .header-contacts {
    gap: 0.4rem;
  }

  .header-contact__phone {
    font-size: 0.7rem;
  }

  .header-contact__icon svg {
    width: 16px;
    height: 16px;
  }

  .gallery-grid {
    columns: 1;
  }

  .hero__actions {
    flex-direction: column;
  }

  .hero__actions .btn {
    width: 100%;
  }
}

@media (min-width: 1100px) {
  .property-card__media {
    aspect-ratio: 16 / 11;
  }
}

/* Detailed property listing (Salt Wind) */

.btn--block {
  width: 100%;
}

.listing-hero {
  padding: 2.5rem 1.25rem 1.5rem;
  border-bottom: 1px solid rgba(11, 37, 64, 0.08);
}

.listing-hero__inner {
  max-width: 980px;
  margin: 0 auto;
}

.listing-hero__type {
  margin: 0 0 0.5rem;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--orange);
  font-weight: 700;
}

.listing-hero__title {
  margin: 0 0 0.85rem;
  font-size: clamp(1.9rem, 4vw, 2.8rem);
}

.listing-hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 1rem;
  margin-bottom: 1.25rem;
  color: var(--muted);
  font-weight: 600;
  font-size: 0.95rem;
}

.listing-hero__stats span:not(:last-child)::after {
  content: "·";
  margin-left: 1rem;
  color: rgba(11, 37, 64, 0.25);
}

/* Photo tour (Airbnb-style, per folder) */

.photo-tour {
  max-width: 1120px;
  margin: 0 auto 2.5rem;
  padding: 0 1.5rem;
}

.photo-tour__top {
  margin-bottom: 1rem;
}

.photo-tour__title {
  margin: 0;
  font-family: var(--font-ui);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--ink);
}

.photo-tour__nav {
  display: flex;
  gap: 0.65rem;
  overflow-x: auto;
  padding: 0.25rem 0 1rem;
  margin-bottom: 0.5rem;
  scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
}

.photo-tour__tab {
  flex: 0 0 auto;
  width: 88px;
  text-decoration: none;
  color: var(--ink);
  border-radius: 0.65rem;
  overflow: hidden;
  border: 2px solid transparent;
  transition: border-color 0.2s ease;
}

.photo-tour__tab img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
}

.photo-tour__tab span {
  display: block;
  padding: 0.4rem 0.25rem 0.5rem;
  font-size: 0.72rem;
  font-weight: 600;
  text-align: center;
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.photo-tour__tab:hover,
.photo-tour__tab.is-active {
  border-color: var(--ink);
}

.photo-tour__sections {
  display: grid;
  gap: 3rem;
}

.photo-tour__section {
  scroll-margin-top: calc(var(--header-h) + 5.5rem);
}

.photo-tour__section-head {
  margin-bottom: 1rem;
}

.photo-tour__section-head h3 {
  margin: 0 0 0.35rem;
  font-family: var(--font-ui);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--ink);
}

.photo-tour__features {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

.photo-tour__gallery {
  display: grid;
  gap: 0.5rem;
}

.photo-tour__lead {
  padding: 0;
  border: 0;
  border-radius: 0.75rem;
  overflow: hidden;
  cursor: zoom-in;
  background: var(--sand-deep);
}

.photo-tour__lead img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
  transition: transform 0.45s var(--ease);
}

.photo-tour__lead:hover img {
  transform: scale(1.02);
}

.photo-tour__thumbs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.5rem;
}

.photo-tour__thumb {
  padding: 0;
  border: 0;
  border-radius: 0.65rem;
  overflow: hidden;
  cursor: zoom-in;
  background: var(--sand-deep);
}

.photo-tour__thumb img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
  transition: transform 0.45s var(--ease);
}

.photo-tour__thumb:hover img {
  transform: scale(1.03);
}

@media (min-width: 768px) {
  .photo-tour__tab {
    width: 100px;
  }

  .photo-tour__thumbs {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 960px) {
  .photo-tour__gallery {
    grid-template-columns: 1fr;
  }

  .photo-tour__lead img {
    aspect-ratio: 16 / 8;
    max-height: 480px;
  }
}

.listing-details {
  padding: 0 1.25rem 3rem;
}

.listing-details__grid {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 2rem;
  align-items: start;
}

.listing-details__main {
  display: grid;
  gap: 1rem;
}

.detail-card {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(11, 37, 64, 0.08);
  border-radius: var(--radius);
  padding: 1.35rem 1.4rem;
}

.detail-card h2 {
  margin: 0 0 0.85rem;
  font-size: 1.35rem;
}

.detail-card p {
  margin: 0 0 0.85rem;
  color: var(--muted);
}

.detail-card p:last-child {
  margin-bottom: 0;
}

.detail-list {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--muted);
}

.detail-list li + li {
  margin-top: 0.45rem;
}

.detail-list--columns {
  columns: 2;
  column-gap: 1.5rem;
}

.detail-list--highlights li {
  font-weight: 600;
  color: var(--navy);
}

.listing-details__aside {
  position: sticky;
  top: calc(var(--header-h) + 1rem);
}

.booking-card {
  background: var(--white);
  border: 1px solid rgba(11, 37, 64, 0.1);
  border-radius: var(--radius);
  padding: 1.35rem;
  box-shadow: 0 18px 40px rgba(11, 37, 64, 0.08);
  display: grid;
  gap: 0.85rem;
}

.booking-card__label {
  margin: 0;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--orange);
  font-weight: 700;
}

.booking-card h3 {
  margin: 0;
  font-size: 1.35rem;
}

.booking-card__facts {
  margin: 0;
  padding-left: 1rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.booking-card__facts li + li {
  margin-top: 0.35rem;
}

.contact-list--stack {
  grid-template-columns: 1fr;
  margin-top: 0.25rem;
}

@media (max-width: 960px) {
  .listing-details__grid {
    grid-template-columns: 1fr;
  }

  .listing-details__aside {
    position: static;
  }

  .detail-list--columns {
    columns: 1;
  }
}

@media (max-width: 640px) {
  .photo-tour__thumbs {
    grid-template-columns: 1fr;
  }
}

.page-airbnb {
  background: var(--white);
  padding-bottom: 1.5rem;
}

.page-home.page-airbnb {
  background: var(--white);
}

.site-header__inner {
  max-width: 1280px;
}

/* ── Home (Airbnb-style) ── */

.home-listings {
  max-width: 1280px;
  margin: 0 auto;
  padding: 1.75rem 1.5rem 3rem;
}

.home-listings__title {
  margin: 0 0 0.35rem;
  font-size: clamp(1.5rem, 3.5vw, 1.85rem);
  font-family: var(--font-ui);
  font-weight: 700;
  color: var(--ink);
}

.home-listings__tagline {
  margin: 0 0 1.25rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.stay-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.5rem 1.25rem;
}

.stay-card__link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.stay-card__media {
  aspect-ratio: 1 / 0.95;
  border-radius: 0.85rem;
  overflow: hidden;
  background: var(--sand-deep);
  margin-bottom: 0.75rem;
}

.stay-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s var(--ease);
}

.stay-card:hover .stay-card__media img {
  transform: scale(1.04);
}

.stay-card__placeholder {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-size: 0.85rem;
}

.stay-card__title {
  margin: 0;
  font-family: var(--font-ui);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.35;
}

.stay-card__location {
  margin: 0.15rem 0 0;
  font-size: 0.9rem;
  color: var(--muted);
}

.stay-card__meta {
  margin: 0.25rem 0 0;
  font-size: 0.9rem;
  color: var(--ink);
  font-weight: 500;
}

/* ── Property detail (Airbnb-style) ── */

.pdp {
  max-width: 1120px;
  margin: 0 auto;
  padding: 1.25rem 1.5rem 3rem;
}

.pdp-header {
  margin-bottom: 1.25rem;
}

.pdp-header__title {
  margin: 0;
  font-family: var(--font-ui);
  font-size: clamp(1.5rem, 3.5vw, 1.75rem);
  font-weight: 600;
  color: var(--ink);
  line-height: 1.25;
}

.pdp-mosaic-wrap {
  position: relative;
  margin-bottom: 2rem;
  overflow: hidden;
  border-radius: 0.85rem;
}

.pdp-mosaic {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 0.5rem;
  height: min(42vw, 400px);
  min-height: 240px;
  overflow: hidden;
}

.pdp-mosaic__item {
  padding: 0;
  border: 0;
  background: var(--sand-deep);
  cursor: pointer;
  overflow: hidden;
  min-height: 0;
  min-width: 0;
  height: 100%;
  display: block;
}

.pdp-mosaic__item--main {
  grid-column: 1;
  grid-row: 1 / 3;
}

.pdp-mosaic__item:nth-child(2) {
  grid-column: 2;
  grid-row: 1;
}

.pdp-mosaic__item:nth-child(3) {
  grid-column: 3;
  grid-row: 1;
}

.pdp-mosaic__item:nth-child(4) {
  grid-column: 2;
  grid-row: 2;
}

.pdp-mosaic__item:nth-child(5) {
  grid-column: 3;
  grid-row: 2;
}

.pdp-mosaic__item:nth-child(n+6) {
  display: none;
}

.pdp-mosaic__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: filter 0.25s ease;
}

.pdp-mosaic__item:hover img {
  filter: brightness(0.92);
}

.pdp-mosaic__all {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  padding: 0.5rem 0.85rem;
  border: 1px solid var(--ink);
  border-radius: 0.5rem;
  background: var(--white);
  font-family: var(--font-ui);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

.pdp-mosaic__all:hover {
  background: #f7f7f7;
}

.pdp-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 4rem;
  align-items: start;
}

.pdp-main {
  min-width: 0;
}

.pdp-summary h2 {
  margin: 0 0 0.35rem;
  font-family: var(--font-ui);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--ink);
}

.pdp-summary__stats {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.pdp-divider {
  border: 0;
  border-top: 1px solid #ebebeb;
  margin: 1.25rem 0;
}

.pdp-block {
  margin-bottom: 1.35rem;
}

.pdp-block h2 {
  margin: 0 0 0.65rem;
  font-family: var(--font-ui);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--ink);
}

.pdp-block--text p {
  margin: 0 0 0.55rem;
  color: var(--muted);
  line-height: 1.55;
  font-size: 0.95rem;
}

.pdp-block--text p:last-child {
  margin-bottom: 0;
}

.pdp-feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.pdp-feature-card {
  border: 1px solid #ebebeb;
  border-radius: 0.75rem;
  padding: 0.85rem 0.9rem;
  background: #fafafa;
}

.pdp-feature-card h3 {
  margin: 0 0 0.55rem;
  font-family: var(--font-ui);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--ink);
}

.pdp-chips {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.pdp-chips li {
  display: inline-flex;
  align-items: center;
  padding: 0.28rem 0.55rem;
  border-radius: 999px;
  background: var(--white);
  border: 1px solid #e5e5e5;
  color: var(--ink);
  font-size: 0.78rem;
  line-height: 1.3;
  font-weight: 500;
}

.pdp-chips--rules li {
  border-radius: 0.45rem;
  background: #fff8f2;
  border-color: rgba(232, 93, 4, 0.18);
}

.pdp-amenities,
.pdp-rules {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.4rem 1rem;
}

.pdp-amenities li,
.pdp-rules li {
  position: relative;
  padding-left: 1.1rem;
  color: var(--ink);
  font-size: 0.88rem;
  line-height: 1.35;
}

.pdp-amenities li::before,
.pdp-rules li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--orange);
  font-weight: 700;
  font-size: 0.75rem;
}

.pdp-photos h2 {
  margin: 0 0 1.25rem;
  font-family: var(--font-ui);
  font-size: 1.2rem;
  font-weight: 600;
}

.pdp-photos__section + .pdp-photos__section {
  margin-top: 2rem;
}

.pdp-photos__section h3 {
  margin: 0 0 0.75rem;
  font-family: var(--font-ui);
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink);
}

.pdp-photos__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.5rem;
}

.pdp-photos__item {
  padding: 0;
  border: 0;
  border-radius: 0.65rem;
  overflow: hidden;
  cursor: zoom-in;
  background: var(--sand-deep);
}

.pdp-photos__item img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.pdp-aside {
  position: sticky;
  top: calc(var(--header-h) + 1.5rem);
}

.pdp-book {
  border: 1px solid #ddd;
  border-radius: 0.85rem;
  padding: 1.5rem;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
  background: var(--white);
  display: grid;
  gap: 0.85rem;
}

.pdp-book__lead {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ink);
}

.pdp-book__name {
  margin: 0;
  font-family: var(--font-ui);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--ink);
}

.pdp-book__location {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.pdp-book__facts {
  margin: 0;
  padding-left: 1rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.pdp-book__facts li + li {
  margin-top: 0.3rem;
}

.pdp-book__contacts {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-top: 0.25rem;
  padding-top: 0.35rem;
}

.pdp-map__address {
  margin: 0 0 0.85rem;
  color: var(--muted);
  font-size: 0.98rem;
}

.pdp-map {
  position: relative;
  width: 100%;
  border-radius: 0.85rem;
  overflow: hidden;
  border: 1px solid rgba(11, 37, 64, 0.1);
  background: var(--sky);
  aspect-ratio: 16 / 10;
  min-height: 240px;
}

.pdp-map iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.pdp-map__link {
  margin: 0.75rem 0 0;
  font-size: 0.92rem;
}

.pdp-map__link a {
  color: var(--navy);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.pdp-map__link a:hover {
  color: var(--orange);
}

@media (max-width: 1100px) {
  .stay-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 960px) {
  .pdp-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .pdp-aside {
    position: static;
    order: -1;
  }

  .pdp-amenities,
  .pdp-rules {
    grid-template-columns: 1fr;
  }

  .pdp-feature-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .stay-grid {
    grid-template-columns: 1fr;
  }

  .pdp-mosaic {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    height: auto;
  }

  .pdp-mosaic__item--main {
    grid-column: 1;
    grid-row: auto;
    aspect-ratio: 16 / 10;
  }

  .pdp-mosaic__item:not(.pdp-mosaic__item--main) {
    display: none;
  }

  .pdp-photos__grid {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  [data-reveal] {
    opacity: 1;
    transform: none;
  }
  .property-card__slide {
    transition: none;
  }
}
