/*
Theme Name: Pontus Rotana
Theme URI: https://pontusrotana.com/
Author: Pontus Rotana Project
Description: Lightweight custom landing-page theme for Pontus Rotana Resort & Spa.
Version: 0.2.1
Text Domain: pontus-rotana
*/

/* Brandbook-derived preview values.
   Gold values are deterministic screen conversions of the supplied CMYK references.
   Replace with official digital RGB/HEX tokens if supplied before production launch. */
:root {
  --pr-gold: #D9B943;
  --pr-gold-deep: #BBA01B;
  --pr-gold-light: #EDD959;
  --pr-ink: #111111;
  --pr-ink-soft: #1B1B1B;
  --pr-white: #FFFFFF;
  --pr-bg: #F7F6F2;
  --pr-muted: #666666;
  --pr-line: #DDDAD1;
  --pr-success: #265426;
  --pr-danger: #6B142A;
  --pr-font: "TT Norms", Arial, Helvetica, sans-serif;
  --pr-container: 1240px;
  --pr-gutter: clamp(20px, 4vw, 56px);
  --pr-section: clamp(72px, 8vw, 132px);
  --pr-radius: 4px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--pr-white);
  color: var(--pr-ink);
  font-family: var(--pr-font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
button, .pr-button { min-height: 48px; }

.pr-container {
  width: min(calc(100% - (var(--pr-gutter) * 2)), var(--pr-container));
  margin-inline: auto;
}

.pr-site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(17,17,17,.96);
  color: var(--pr-white);
  border-bottom: 1px solid rgba(255,255,255,.1);
  backdrop-filter: blur(14px);
}
.pr-header-inner {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.pr-brand { display: inline-flex; align-items: center; text-decoration: none; }
.pr-brand img { width: clamp(150px, 15vw, 210px); max-height: 48px; object-fit: contain; }
.pr-brand-text { display: none; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.pr-nav { display: flex; align-items: center; gap: 22px; }
.pr-nav a { font-size: .9rem; text-decoration: none; opacity: .88; }
.pr-nav a:hover, .pr-nav a:focus-visible { opacity: 1; }
.pr-menu-toggle { display: none; border: 1px solid rgba(255,255,255,.28); color: white; background: transparent; padding: 8px 12px; border-radius: var(--pr-radius); }

.pr-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border: 1px solid var(--pr-gold);
  border-radius: var(--pr-radius);
  background: var(--pr-gold);
  color: #111;
  text-decoration: none;
  font-weight: 700;
  line-height: 1.2;
  cursor: pointer;
}
.pr-button:hover, .pr-button:focus-visible { filter: brightness(.97); }
.pr-button--ghost { background: transparent; color: var(--pr-white); border-color: rgba(255,255,255,.55); }
.pr-button--dark { background: var(--pr-ink); border-color: var(--pr-ink); color: var(--pr-white); }

.pr-hero {
  position: relative;
  background: var(--pr-white);
}
.pr-hero-stage {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  min-height: calc(100svh - 74px);
  display: flex;
  align-items: center;
  color: var(--pr-white);
  background-color: var(--pr-ink);
  background-image:
    linear-gradient(90deg, rgba(7,7,7,.72) 0%, rgba(7,7,7,.56) 31%, rgba(7,7,7,.22) 52%, rgba(7,7,7,.08) 72%, rgba(7,7,7,.06) 100%),
    var(--pr-hero-image);
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}
.pr-hero-stage::before,
.pr-hero-stage::after {
  content: "";
  position: absolute;
  pointer-events: none;
}
.pr-hero-stage::before {
  width: min(56vw, 760px);
  aspect-ratio: 1;
  right: -17vw;
  top: -31%;
  border: clamp(24px, 3.4vw, 50px) solid rgba(217,185,67,.14);
  transform: rotate(45deg);
  z-index: 0;
}
.pr-hero-stage::after {
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: rgba(255,255,255,.15);
}
.pr-hero-stage-inner {
  position: relative;
  z-index: 1;
  width: min(calc(100% - clamp(44px, 6vw, 112px)), 1540px);
  margin-inline: auto;
  padding-top: clamp(76px, 9vh, 118px);
  padding-bottom: clamp(156px, 18vh, 190px);
  padding-right: 0;
}
.pr-hero-copy {
  width: min(100%, 760px);
}
.pr-eyebrow {
  margin: 0 0 18px;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--pr-gold);
}
h1, h2, h3 { line-height: 1.08; margin-top: 0; }
h1 { font-size: clamp(2.3rem, 3.25vw, 3.5rem); letter-spacing: -.035em; max-width: 860px; margin-bottom: 24px; }
h2 { font-size: clamp(2rem, 4vw, 3.65rem); letter-spacing: -.035em; margin-bottom: 22px; }
h3 { font-size: clamp(1.2rem, 2vw, 1.55rem); }
.pr-hero h1 {
  max-width: 760px;
  margin-bottom: 22px;
  font-size: clamp(2.65rem, 3.35vw, 3.55rem);
  line-height: 1.03;
  letter-spacing: -.043em;
  text-wrap: balance;
}
.pr-lead {
  max-width: 700px;
  margin-bottom: 0;
  color: rgba(255,255,255,.84);
  font-size: clamp(1rem, 1.15vw, 1.18rem);
  line-height: 1.6;
}
.pr-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.pr-hero-facts {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  background: linear-gradient(90deg, rgba(8,8,8,.80), rgba(8,8,8,.58));
  border-top: 1px solid rgba(255,255,255,.18);
  backdrop-filter: blur(9px);
}
.pr-hero-facts-inner {
  width: min(calc(100% - clamp(44px, 6vw, 112px)), 1540px);
  margin-inline: auto;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.pr-hero-fact {
  min-height: 112px;
  padding: 22px clamp(18px, 2.4vw, 34px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-right: 1px solid rgba(255,255,255,.15);
}
.pr-hero-fact:first-child { padding-left: 0; }
.pr-hero-fact:last-child { border-right: 0; }
.pr-hero-fact strong {
  display: block;
  color: #fff;
  font-size: clamp(1.55rem, 2.1vw, 2.25rem);
  line-height: 1.05;
  letter-spacing: -.035em;
}
.pr-hero-fact span {
  display: block;
  margin-top: 6px;
  color: rgba(255,255,255,.68);
  font-size: .86rem;
  line-height: 1.35;
}
.pr-form-card {
  background: var(--pr-white);
  color: var(--pr-ink);
  padding: clamp(24px, 3vw, 38px);
  border-top: 3px solid var(--pr-gold);
  box-shadow: 0 24px 80px rgba(0,0,0,.28);
}
.pr-form-card--hero {
  width: 100%;
  padding: 28px 28px 27px;
  box-shadow: 0 22px 64px rgba(0,0,0,.30);
}
.pr-form-card h2 {
  font-size: clamp(1.75rem, 2.4vw, 2.45rem);
  letter-spacing: -.035em;
  margin-bottom: 8px;
}
.pr-form-card--hero h2 {
  max-width: 10ch;
  font-size: clamp(1.9rem, 2.05vw, 2.25rem);
  line-height: 1.02;
}
.pr-form-card h3 { margin-bottom: 10px; }
.pr-form-card p { color: var(--pr-muted); margin-top: 0; }
.pr-form-kicker {
  margin-bottom: 7px !important;
  color: #806b1e !important;
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.pr-form-intro { margin-bottom: 16px; font-size: .91rem; line-height: 1.42; }
.pr-form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.pr-field { display: grid; gap: 6px; margin-top: 12px; }
.pr-form-row .pr-field { margin-top: 0; }
.pr-form-row--secondary { margin-top: 14px; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: end; }
.pr-field label { font-size: .82rem; font-weight: 700; }
.pr-optional { color: var(--pr-muted); font-weight: 400; }
.pr-field input, .pr-field select, .pr-field textarea {
  width: 100%; min-height: 46px; border: 1px solid #d1d0cb; border-radius: 5px; padding: 10px 12px; background: #fff; color: #111;
}
.pr-field textarea { min-height: 88px; resize: vertical; }
.pr-consent { display: grid; grid-template-columns: 18px 1fr; gap: 8px; align-items: start; margin-top: 14px; font-size: .76rem; line-height: 1.42; color: var(--pr-muted); }
.pr-form-card--hero .pr-consent { margin-top: 13px; font-size: .72rem; }
.pr-consent input { margin-top: 3px; }
.pr-form-card .pr-button { width: 100%; margin-top: 15px; }
.pr-form-card--hero .pr-button { min-height: 50px; }
.pr-hp { position: absolute !important; left: -9999px !important; }
.pr-form-message { padding: 12px 14px; margin-bottom: 16px; border-left: 3px solid var(--pr-success); background: #f2f7f2; }
.pr-form-message--error { border-color: var(--pr-danger); background: #fbf3f5; }

.pr-facts { background: var(--pr-bg); border-bottom: 1px solid var(--pr-line); }
.pr-facts-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.pr-fact { padding: 30px clamp(18px, 3vw, 34px); border-right: 1px solid var(--pr-line); }
.pr-fact:last-child { border-right: 0; }
.pr-fact strong { display: block; font-size: clamp(1.45rem, 2.4vw, 2.2rem); line-height: 1.1; }
.pr-fact span { display: block; margin-top: 6px; color: var(--pr-muted); font-size: .9rem; }

.pr-section { padding-block: var(--pr-section); }
.pr-section--soft { background: var(--pr-bg); }
.pr-section--dark { background: var(--pr-ink); color: var(--pr-white); }
.pr-section--dark p { color: rgba(255,255,255,.74); }
.pr-section-copy { max-width: 760px; }
.pr-section-copy > p { font-size: clamp(1rem, 1.2vw, 1.15rem); color: var(--pr-muted); }
.pr-section--dark .pr-section-copy > p { color: rgba(255,255,255,.72); }

.pr-split { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: clamp(42px, 7vw, 100px); align-items: start; }
.pr-panel { border: 1px solid var(--pr-line); padding: clamp(24px, 4vw, 44px); background: var(--pr-white); }
.pr-panel--dark { border-color: rgba(255,255,255,.16); background: rgba(255,255,255,.035); }
.pr-panel p:last-child { margin-bottom: 0; }

.pr-infrastructure {
  background: var(--pr-white);
  overflow: hidden;
}
.pr-infrastructure-board {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  align-items: stretch;
}
.pr-infrastructure-intro {
  grid-column: span 2;
  min-height: 150px;
  padding: 2px 46px 12px 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}
.pr-infrastructure-intro .pr-eyebrow {
  margin-bottom: 8px;
  color: #4f4f4f;
}
.pr-infrastructure-intro h2 {
  margin-bottom: 14px;
  font-size: clamp(2.35rem, 3.6vw, 3.75rem);
  line-height: .98;
  font-weight: 400;
  letter-spacing: -.045em;
}
.pr-infrastructure-intro > p {
  max-width: 36ch;
  margin: 0;
  color: var(--pr-muted);
  font-size: clamp(.96rem, 1vw, 1.08rem);
  line-height: 1.5;
}
.pr-text-link {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: 10px;
  margin-top: 22px;
  color: var(--pr-ink);
  text-decoration: none;
  font-weight: 700;
  border-bottom: 1px solid var(--pr-ink);
  padding-bottom: 3px;
}
.pr-text-link span { transition: transform .2s ease; }
.pr-text-link:hover span, .pr-text-link:focus-visible span { transform: translateX(4px); }
.pr-infrastructure-card {
  position: relative;
  min-height: 150px;
  padding: 18px 16px 16px;
  display: flex;
  align-items: flex-end;
  background: #0d0d0d;
  color: var(--pr-white);
  overflow: hidden;
  isolation: isolate;
  transition: transform .2s ease, background-color .2s ease;
}
.pr-infrastructure-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: var(--amenity-image, none);
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.025);
  transition: opacity .28s ease, transform .35s ease;
  z-index: -2;
}
.pr-infrastructure-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.04) 28%, rgba(0,0,0,.78) 100%);
  opacity: 0;
  transition: opacity .28s ease;
  z-index: -1;
}
.pr-infrastructure-card:hover,
.pr-infrastructure-card:focus-within {
  background: #151515;
  transform: translateY(-1px);
}
.pr-infrastructure-card.has-image:hover::before,
.pr-infrastructure-card.has-image:focus-within::before,
.pr-infrastructure-card.has-image:hover::after,
.pr-infrastructure-card.has-image:focus-within::after {
  opacity: 1;
}
.pr-infrastructure-card.has-image:hover::before,
.pr-infrastructure-card.has-image:focus-within::before {
  transform: scale(1);
}
.pr-infrastructure-card strong {
  position: relative;
  z-index: 1;
  max-width: 15ch;
  font-size: clamp(.98rem, 1.05vw, 1.08rem);
  line-height: 1.2;
  font-weight: 400;
}

.pr-source-list { display: grid; gap: 12px; margin-top: 24px; }
.pr-source-link { display: flex; justify-content: space-between; gap: 20px; padding: 16px 0; border-top: 1px solid var(--pr-line); text-decoration: none; }
.pr-source-link:last-child { border-bottom: 1px solid var(--pr-line); }
.pr-source-link span:last-child { color: var(--pr-muted); }

.pr-faq { display: grid; gap: 0; margin-top: 34px; border-top: 1px solid var(--pr-line); }
.pr-faq details { border-bottom: 1px solid var(--pr-line); padding: 20px 0; }
.pr-faq summary { cursor: pointer; font-weight: 700; }
.pr-faq p { max-width: 820px; color: var(--pr-muted); }

.pr-disclaimer { font-size: .82rem; color: var(--pr-muted); border-top: 1px solid var(--pr-line); padding-top: 20px; margin-top: 34px; }

.pr-contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 80px); align-items: start; }
.pr-contact-list { list-style: none; padding: 0; margin: 24px 0 0; }
.pr-contact-list li { margin: 10px 0; }

.pr-site-footer { background: #090909; color: rgba(255,255,255,.74); padding: 48px 0 28px; }
.pr-footer-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 40px; }
.pr-footer-title { color: var(--pr-white); font-weight: 700; }
.pr-footer-links { display: flex; flex-wrap: wrap; gap: 14px 22px; }
.pr-site-footer a { color: inherit; }
.pr-footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding-top: 22px; margin-top: 34px; font-size: .78rem; }


/* User-triggered inquiry modal. It never opens automatically for first-time visitors. */
.pr-modal[hidden] { display: none; }
.pr-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(5,5,5,.72);
  backdrop-filter: blur(5px);
}
.pr-modal-dialog {
  position: relative;
  width: min(100%, 720px);
  max-height: calc(100svh - 48px);
  overflow: auto;
  border-radius: 10px;
  box-shadow: 0 28px 100px rgba(0,0,0,.42);
}
.pr-modal-close {
  position: absolute;
  z-index: 3;
  top: 13px;
  right: 14px;
  width: 38px;
  height: 38px;
  display: inline-grid;
  place-items: center;
  border: 0;
  border-radius: 999px;
  background: #f1efe8;
  color: #111;
  font-size: 1.45rem;
  line-height: 1;
  cursor: pointer;
}
.pr-modal-close:hover,
.pr-modal-close:focus-visible { background: #e7e2d3; }
body.pr-modal-open { overflow: hidden; }
.pr-modal .pr-form-card--modal {
  width: 100%;
  padding: 34px 34px 32px;
  border-radius: 10px;
  box-shadow: none;
}
.pr-modal .pr-form-card--modal h2 {
  max-width: none;
  margin-bottom: 10px;
  font-size: clamp(2rem, 2.65vw, 2.45rem);
  line-height: 1.05;
  letter-spacing: -.035em;
  white-space: nowrap;
}
.pr-modal .pr-form-card--modal .pr-form-intro { max-width: 42ch; }
.pr-modal .pr-form-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.pr-modal .pr-field { min-width: 0; }
.pr-modal .pr-field input,
.pr-modal .pr-field select { min-height: 48px; height: 48px; }
.pr-modal .pr-form-row--secondary .pr-field label { min-height: 2.3em; display: flex; align-items: flex-end; }

:focus-visible { outline: 3px solid var(--pr-gold); outline-offset: 3px; }

@media (max-width: 1199px) {
  .pr-hero-stage {
    min-height: calc(100svh - 74px);
    background-position: center center;
  }
  .pr-hero-stage-inner {
    width: min(calc(100% - (var(--pr-gutter) * 2)), var(--pr-container));
    padding-right: 0;
  }
  .pr-hero-copy { width: min(100%, 700px); }
}

@media (max-width: 980px) {
  .pr-menu-toggle { display: inline-flex; }
  .pr-nav { display: none; position: absolute; left: 0; right: 0; top: 74px; flex-direction: column; align-items: stretch; padding: 20px var(--pr-gutter) 28px; background: #111; border-top: 1px solid rgba(255,255,255,.1); }
  .pr-nav.is-open { display: flex; }
  .pr-nav .pr-button { width: 100%; }
  .pr-split, .pr-contact-grid { grid-template-columns: 1fr; }
  .pr-form-card { max-width: 640px; }
  .pr-hero-facts-inner { width: min(calc(100% - (var(--pr-gutter) * 2)), var(--pr-container)); }
  .pr-hero-fact:first-child { padding-left: 0; }
  .pr-facts-grid { grid-template-columns: 1fr 1fr; }
  .pr-fact:nth-child(2) { border-right: 0; }
  .pr-fact:nth-child(-n+2) { border-bottom: 1px solid var(--pr-line); }
  .pr-infrastructure-board { grid-template-columns: repeat(3, minmax(0,1fr)); }
  .pr-infrastructure-intro { grid-column: 1 / -1; min-height: auto; max-width: 680px; padding-right: 0; padding-bottom: 24px; }
}

@media (max-width: 620px) {
  .pr-header-inner { min-height: 66px; }
  .pr-nav { top: 66px; }
  .pr-hero-stage {
    min-height: max(760px, calc(100svh - 66px));
    align-items: stretch;
    flex-direction: column;
    background-image:
      linear-gradient(180deg, rgba(0,0,0,.08) 0%, rgba(0,0,0,.30) 43%, rgba(0,0,0,.82) 100%),
      var(--pr-hero-image-mobile, var(--pr-hero-image));
    background-position: center top;
  }
  .pr-hero-stage::before {
    width: 86vw;
    right: -44vw;
    top: -14%;
    border-width: 24px;
    opacity: .72;
  }
  .pr-hero-stage-inner {
    width: min(calc(100% - 36px), 560px);
    min-height: 0;
    flex: 1 1 auto;
    display: flex;
    align-items: flex-end;
    padding: 116px 0 30px;
  }
  .pr-hero h1 {
    max-width: 12ch;
    margin-bottom: 16px;
    font-size: clamp(2.05rem, 10vw, 2.75rem);
    line-height: 1.01;
  }
  .pr-eyebrow { margin-bottom: 12px; font-size: .67rem; letter-spacing: .13em; }
  .pr-lead { font-size: .98rem; line-height: 1.5; }
  .pr-hero-actions { display: grid; grid-template-columns: 1fr; margin-top: 24px; }
  .pr-form-row { grid-template-columns: 1fr; gap: 0; }
  .pr-form-row--secondary { margin-top: 0; }
  .pr-form-row .pr-field + .pr-field { margin-top: 12px; }
  .pr-modal { place-items: end center; padding: 0; }
  .pr-modal-dialog { width: 100%; max-height: 92svh; border-radius: 12px 12px 0 0; }
  .pr-modal .pr-form-card--modal { padding: 30px 20px 24px; border-radius: 12px 12px 0 0; }
  .pr-modal .pr-form-card--modal h2 { max-width: none; font-size: 2rem; padding-right: 42px; white-space: normal; }
  .pr-modal .pr-form-row--secondary .pr-field label { min-height: 0; }
  .pr-modal-close { top: 10px; right: 10px; }
  .pr-hero-facts { position: static; width: 100%; flex: 0 0 auto; background: rgba(8,8,8,.72); }
  .pr-hero-facts-inner { width: 100%; grid-template-columns: 1fr 1fr; }
  .pr-hero-fact { min-height: 76px; padding: 14px 18px; border-right: 1px solid rgba(255,255,255,.13); border-bottom: 1px solid rgba(255,255,255,.13); }
  .pr-hero-fact:first-child { padding-left: 18px; }
  .pr-hero-fact:nth-child(2n) { border-right: 0; }
  .pr-hero-fact:nth-last-child(-n+2) { border-bottom: 0; }
  .pr-hero-fact strong { font-size: 1.35rem; }
  .pr-hero-fact span { margin-top: 3px; font-size: .74rem; }
  .pr-facts-grid, .pr-footer-grid { grid-template-columns: 1fr; }
  .pr-infrastructure-board { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 8px; }
  .pr-infrastructure-card { min-height: 118px; }
  .pr-fact { border-right: 0; border-bottom: 1px solid var(--pr-line); }
  .pr-fact:last-child { border-bottom: 0; }
}

@media (max-width: 420px) {
  .pr-hero-stage { min-height: max(740px, calc(100svh - 66px)); }
  .pr-hero-stage-inner { width: calc(100% - 30px); padding-bottom: 26px; }
  .pr-hero h1 { font-size: clamp(1.95rem, 9.6vw, 2.35rem); }
  .pr-hero-actions .pr-button { width: 100%; }

  .pr-infrastructure-board { grid-template-columns: 1fr; }
  .pr-infrastructure-intro { grid-column: auto; }
  .pr-infrastructure-card { min-height: 98px; }
}

@media (prefers-reduced-motion: reduce) {
  .pr-infrastructure-card, .pr-infrastructure-card::before, .pr-infrastructure-card::after, .pr-text-link span { transition: none; }
  .pr-infrastructure-card:hover { transform: none; }
}


/* v0.1.9: stronger post-hero property and resort sections. */
.pr-property-showcase {
  padding: clamp(72px, 7vw, 112px) 0;
  background: #f7f6f2;
  border-bottom: 1px solid var(--pr-line);
}
.pr-property-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(360px, .75fr);
  gap: clamp(42px, 6vw, 88px);
  align-items: center;
}
.pr-property-media {
  position: relative;
  margin: 0;
  min-height: 520px;
  overflow: hidden;
  background: #ddd8cd;
}
.pr-property-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform .7s ease;
}
.pr-property-media:hover img { transform: scale(1.018); }
.pr-property-media::after {
  content: '';
  position: absolute;
  inset: 50% 0 0;
  background: linear-gradient(180deg, transparent, rgba(0,0,0,.56));
  pointer-events: none;
}
.pr-property-media figcaption {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 20px;
  z-index: 1;
  color: rgba(255,255,255,.84);
  font-size: .78rem;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.pr-property-copy { max-width: 510px; }
.pr-property-copy .pr-eyebrow { color: #806b1e; margin-bottom: 12px; }
.pr-property-copy h2 {
  margin-bottom: 20px;
  font-size: clamp(2.25rem, 3.6vw, 4rem);
  line-height: .98;
}
.pr-property-lead {
  margin: 0;
  color: #4f4f4f;
  font-size: clamp(1.02rem, 1.1vw, 1.16rem);
  line-height: 1.62;
}
.pr-property-points {
  list-style: none;
  padding: 0;
  margin: 28px 0 30px;
  border-top: 1px solid #d7d3ca;
}
.pr-property-points li {
  position: relative;
  padding: 13px 0 13px 21px;
  border-bottom: 1px solid #d7d3ca;
  color: #292929;
  font-size: .93rem;
}
.pr-property-points li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 20px;
  width: 7px;
  height: 7px;
  background: var(--pr-gold);
}

.pr-resort {
  padding: clamp(78px, 7.5vw, 124px) 0;
  background: #0d0d0d;
  color: #fff;
}
.pr-resort-head {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(320px, .65fr);
  justify-content: space-between;
  gap: 48px;
  align-items: end;
  margin-bottom: clamp(34px, 4vw, 56px);
}
.pr-resort-head .pr-eyebrow { margin-bottom: 10px; }
.pr-resort-head h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(2.4rem, 4.2vw, 4.5rem);
  line-height: .96;
}
.pr-resort-head > p {
  max-width: 48ch;
  margin: 0 0 4px auto;
  color: rgba(255,255,255,.66);
  font-size: clamp(1rem, 1.08vw, 1.12rem);
  line-height: 1.6;
}
.pr-resort-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.pr-resort-card {
  position: relative;
  min-height: clamp(260px, 24vw, 370px);
  overflow: hidden;
  background: #181818;
}
.pr-resort-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .55s ease, filter .35s ease;
}
.pr-resort-card-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.05) 30%, rgba(0,0,0,.76) 100%);
}
.pr-resort-card h3 {
  position: absolute;
  z-index: 1;
  left: clamp(20px, 2vw, 30px);
  right: 20px;
  bottom: clamp(18px, 2vw, 28px);
  margin: 0;
  color: #fff;
  font-size: clamp(1.25rem, 1.55vw, 1.7rem);
  font-weight: 500;
  letter-spacing: -.02em;
}
.pr-resort-card:hover img { transform: scale(1.035); filter: brightness(1.04); }
.pr-resort-more {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 28px;
  margin-top: 38px;
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,.18);
}
.pr-resort-more > span {
  color: var(--pr-gold-light);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.pr-resort-more ul {
  display: flex;
  flex-wrap: wrap;
  gap: 7px 0;
  list-style: none;
  padding: 0;
  margin: 0;
}
.pr-resort-more li {
  color: rgba(255,255,255,.82);
  font-size: .94rem;
}
.pr-resort-more li:not(:last-child)::after {
  content: '·';
  display: inline-block;
  margin: 0 12px;
  color: rgba(255,255,255,.32);
}

@media (max-width: 980px) {
  .pr-property-layout { grid-template-columns: 1fr; }
  .pr-property-copy { max-width: 720px; }
  .pr-property-media { min-height: clamp(390px, 62vw, 560px); }
  .pr-resort-head { grid-template-columns: 1fr; gap: 16px; }
  .pr-resort-head > p { margin-left: 0; }
  .pr-resort-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pr-resort-more { grid-template-columns: 1fr; gap: 12px; }
}

@media (max-width: 620px) {
  .pr-property-showcase { padding: 56px 0 64px; }
  .pr-property-layout { gap: 32px; }
  .pr-property-media { min-height: 330px; margin-inline: calc(var(--pr-gutter) * -1); }
  .pr-property-media figcaption { left: 18px; right: 18px; bottom: 14px; font-size: .68rem; }
  .pr-property-copy h2 { font-size: clamp(2.05rem, 10vw, 2.7rem); }
  .pr-resort { padding: 64px 0 72px; }
  .pr-resort-grid { grid-template-columns: 1fr; gap: 10px; }
  .pr-resort-card { min-height: 260px; }
  .pr-resort-card h3 { font-size: 1.35rem; }
  .pr-resort-more { margin-top: 28px; padding-top: 22px; }
  .pr-resort-more ul { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 18px; }
  .pr-resort-more li:not(:last-child)::after { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .pr-property-media img, .pr-resort-card img { transition: none; }
  .pr-property-media:hover img, .pr-resort-card:hover img { transform: none; }
}

/* v0.2.0: heading hierarchy + editorial property slider. */
:root {
  --pr-h1: clamp(2.55rem, 3.4vw, 3.65rem);
  --pr-h2: clamp(1.95rem, 2.75vw, 2.9rem);
  --pr-h3: clamp(1.15rem, 1.6vw, 1.45rem);
}

h1 { font-size: var(--pr-h1); }
h2 { font-size: var(--pr-h2); }
h3 { font-size: var(--pr-h3); }
.pr-hero h1 { font-size: var(--pr-h1); }
.pr-property-copy h2,
.pr-resort-head h2,
.pr-infrastructure-intro h2 {
  font-size: var(--pr-h2);
  line-height: 1.02;
}

.pr-property-showcase {
  padding: clamp(82px, 8vw, 132px) 0;
  background: #f4f2ec;
}
.pr-property-layout {
  grid-template-columns: minmax(0, 1.18fr) minmax(360px, .82fr);
  gap: clamp(48px, 6vw, 96px);
  align-items: center;
}
.pr-property-copy { max-width: 520px; }
.pr-property-copy h2 { margin-bottom: 22px; }

.pr-property-slider {
  position: relative;
  min-width: 0;
}
.pr-property-slider-viewport {
  position: relative;
  aspect-ratio: 1.36 / 1;
  overflow: hidden;
  background: #d9d4c9;
  border-radius: 6px;
  box-shadow: 0 28px 70px rgba(27, 24, 17, .16);
  isolation: isolate;
}
.pr-property-slider-viewport::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 4;
  border: 1px solid rgba(255,255,255,.25);
  pointer-events: none;
}
.pr-property-slide {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  transform: scale(1.035);
  transition: opacity .65s ease, transform 1.05s cubic-bezier(.2,.7,.2,1), visibility .65s linear;
}
.pr-property-slide.is-active {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
  z-index: 1;
}
.pr-property-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
.pr-property-slider-vignette {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(0,0,0,.02) 38%, rgba(0,0,0,.55) 100%),
    linear-gradient(90deg, rgba(0,0,0,.14), transparent 38%);
}
.pr-property-slider-meta {
  position: absolute;
  z-index: 3;
  left: clamp(18px, 2.2vw, 30px);
  right: clamp(18px, 2.2vw, 30px);
  bottom: clamp(18px, 2.2vw, 28px);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  color: #fff;
  pointer-events: none;
}
.pr-property-slider-label {
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.pr-property-slider-count {
  margin-right: 92px;
  font-size: .72rem;
  letter-spacing: .08em;
  color: rgba(255,255,255,.78);
}
.pr-property-slider-controls {
  position: absolute;
  right: clamp(16px, 2vw, 24px);
  bottom: clamp(14px, 1.8vw, 20px);
  z-index: 5;
  display: flex;
  gap: 7px;
}
.pr-slider-button {
  width: 38px;
  height: 38px;
  padding: 0;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,.52);
  border-radius: 4px;
  background: rgba(12,12,12,.34);
  color: #fff;
  font: inherit;
  font-size: 1.1rem;
  line-height: 1;
  cursor: pointer;
  backdrop-filter: blur(7px);
  transition: background-color .2s ease, border-color .2s ease, transform .2s ease;
}
.pr-slider-button:hover,
.pr-slider-button:focus-visible {
  background: var(--pr-gold);
  border-color: var(--pr-gold);
  color: #111;
  transform: translateY(-1px);
}
.pr-property-slider-progress {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  margin-top: 10px;
}
.pr-property-slider-progress span {
  height: 2px;
  background: #d4d0c5;
  transition: background-color .3s ease, transform .3s ease;
  transform-origin: left center;
}
.pr-property-slider-progress span.is-active {
  background: var(--pr-gold-deep);
  transform: scaleY(1.5);
}

/* Added by JS only, so the section remains usable if JS is unavailable. */
.pr-property-slider.is-reveal-pending {
  opacity: 0;
  transform: translateY(34px);
  clip-path: inset(0 0 8% 0 round 6px);
}
.pr-property-slider.is-revealed {
  opacity: 1;
  transform: translateY(0);
  clip-path: inset(0 0 0 0 round 6px);
  transition: opacity .75s ease, transform .8s cubic-bezier(.2,.7,.2,1), clip-path .9s cubic-bezier(.2,.7,.2,1);
}
.pr-property-copy.is-reveal-pending {
  opacity: 0;
  transform: translateY(24px);
}
.pr-property-copy.is-revealed {
  opacity: 1;
  transform: translateY(0);
  transition: opacity .65s ease .12s, transform .72s cubic-bezier(.2,.7,.2,1) .12s;
}

@media (max-width: 980px) {
  .pr-property-layout { grid-template-columns: 1fr; }
  .pr-property-slider { max-width: 820px; }
  .pr-property-slider-viewport { aspect-ratio: 16 / 10; }
  .pr-property-copy { max-width: 700px; }
}

@media (max-width: 620px) {
  :root {
    --pr-h1: clamp(2.05rem, 9.3vw, 2.65rem);
    --pr-h2: clamp(1.8rem, 8vw, 2.25rem);
    --pr-h3: clamp(1.1rem, 5vw, 1.3rem);
  }
  .pr-property-showcase { padding: 58px 0 68px; }
  .pr-property-layout { gap: 34px; }
  .pr-property-slider { margin-inline: calc(var(--pr-gutter) * -1); }
  .pr-property-slider-viewport { aspect-ratio: 1.08 / 1; border-radius: 0; box-shadow: none; }
  .pr-property-slider-label { font-size: .66rem; }
  .pr-property-slider-count { margin-right: 84px; }
  .pr-property-slider-progress { margin-inline: 0; }
  .pr-property-copy h2 { font-size: var(--pr-h2); }
  .pr-resort-head h2 { font-size: var(--pr-h2); }
}

@media (prefers-reduced-motion: reduce) {
  .pr-property-slide,
  .pr-property-slider,
  .pr-property-copy,
  .pr-slider-button,
  .pr-property-slider-progress span {
    transition: none !important;
  }
  .pr-property-slider.is-reveal-pending,
  .pr-property-copy.is-reveal-pending {
    opacity: 1;
    transform: none;
    clip-path: none;
  }
}


/* v0.2.1: property section alignment pass. */
.pr-property-layout {
  align-items: stretch;
}
.pr-property-media-column,
.pr-property-copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
}
.pr-property-media-eyebrow,
.pr-property-copy > .pr-eyebrow {
  margin: 0 0 14px;
  min-height: 1em;
  color: #806b1e;
}
.pr-property-slider {
  flex: 1 1 auto;
}
.pr-property-copy {
  max-width: 560px;
}
.pr-property-copy h2 {
  font-size: clamp(2.05rem, 2.35vw, 2.55rem);
  line-height: 1.04;
  max-width: 560px;
  margin-bottom: 22px;
}
.pr-property-cta {
  margin-top: auto;
  align-self: flex-start;
}
.pr-property-slider-meta {
  justify-content: flex-end;
}
.pr-property-slider-count {
  margin-right: 92px;
}

@media (max-width: 1100px) {
  .pr-property-copy h2 {
    font-size: clamp(2rem, 3.4vw, 2.4rem);
  }
}

@media (max-width: 980px) {
  .pr-property-media-column { order: 1; }
  .pr-property-copy { order: 2; }
  .pr-property-copy h2 { max-width: 680px; }
  .pr-property-cta { margin-top: 8px; }
}

@media (max-width: 620px) {
  .pr-property-media-eyebrow,
  .pr-property-copy > .pr-eyebrow {
    margin-bottom: 10px;
  }
  .pr-property-copy h2 {
    font-size: clamp(1.85rem, 8vw, 2.2rem);
  }
}
