:root {
  --teal: #0f4c5c;
  --teal-dark: #082f38;
  --sand: #f3e8d3;
  --warm: #fffdf8;
  --charcoal: #1e1e1e;
  --coral: #e76f51;
  --pool: #4fb3c5;
  --gold: #d6a84f;
  --green: #3a7d44;
  --line: rgba(15, 76, 92, 0.15);
  --shadow: 0 24px 60px rgba(8, 47, 56, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--warm);
  color: var(--charcoal);
  font-family: "Inter", system-ui, sans-serif;
  line-height: 1.55;
  overflow-x: hidden;
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

.site-header {
  position: fixed;
  z-index: 40;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(20px, 5vw, 72px);
  background: rgba(255, 253, 248, 0.91);
  border-bottom: 1px solid rgba(15, 76, 92, 0.1);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--teal);
  color: white;
  font-family: "Playfair Display", serif;
  font-weight: 800;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  color: var(--teal-dark);
  line-height: 1.1;
}

.brand small {
  color: rgba(30, 30, 30, 0.62);
  font-size: 0.78rem;
}

.desktop-nav {
  display: flex;
  gap: 22px;
  font-size: 0.92rem;
  font-weight: 700;
}

.desktop-nav a:hover {
  color: var(--coral);
}

.nav-button,
.primary-button,
.secondary-button,
.payment-grid button,
.chat-form button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border: 0;
  border-radius: 8px;
  padding: 0 20px;
  font-weight: 800;
  cursor: pointer;
}

.nav-button,
.primary-button {
  background: var(--teal);
  color: white;
}

.secondary-button {
  background: var(--sand);
  color: var(--teal-dark);
}

.nav-button:hover,
.primary-button:hover,
.payment-grid button:hover,
.chat-form button:hover {
  background: var(--coral);
}

.secondary-button:hover {
  background: var(--gold);
}

.hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(330px, 460px);
  align-items: end;
  gap: clamp(24px, 4vw, 56px);
  padding: 150px clamp(20px, 5vw, 72px) 80px;
  overflow: hidden;
}

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

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

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(8, 47, 56, 0.88), rgba(8, 47, 56, 0.54) 48%, rgba(8, 47, 56, 0.16)),
    linear-gradient(0deg, rgba(8, 47, 56, 0.76), rgba(8, 47, 56, 0.12) 54%);
}

.hero-content,
.booking-card {
  position: relative;
  z-index: 1;
}

.hero-content {
  max-width: 810px;
  color: white;
  padding-bottom: 24px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--gold);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  color: inherit;
  font-family: "Playfair Display", Georgia, serif;
  line-height: 0.98;
  letter-spacing: 0;
}

h1 {
  max-width: 11.6ch;
  font-size: clamp(3.2rem, 8vw, 7.6rem);
}

h2 {
  font-size: clamp(2.2rem, 5vw, 4.8rem);
}

h3 {
  font-size: clamp(1.45rem, 3vw, 2rem);
}

.hero-copy {
  max-width: 730px;
  margin: 24px 0 0;
  font-size: clamp(1.02rem, 1.4vw, 1.28rem);
  color: rgba(255, 255, 255, 0.9);
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}

.trust-row span {
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  padding: 9px 14px;
  background: rgba(255, 255, 255, 0.12);
  color: white;
  font-weight: 700;
}

.booking-card,
.review-form,
.chat-card,
.map-card,
.payment-grid article,
.faq details {
  border: 1px solid var(--line);
  background: rgba(255, 253, 248, 0.96);
  box-shadow: var(--shadow);
}

.booking-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  padding: 24px;
  border-radius: 18px;
  color: var(--charcoal);
}

.card-heading,
.full {
  grid-column: 1 / -1;
}

.card-heading h2 {
  color: var(--teal-dark);
  font-size: 2.2rem;
}

label span {
  display: block;
  margin-bottom: 6px;
  color: rgba(30, 30, 30, 0.75);
  font-size: 0.82rem;
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid rgba(15, 76, 92, 0.2);
  border-radius: 8px;
  padding: 12px 13px;
  background: white;
  color: var(--charcoal);
}

textarea {
  resize: vertical;
}

.form-note,
.form-status {
  margin: 0;
  color: rgba(30, 30, 30, 0.68);
  font-size: 0.86rem;
}

.form-status {
  display: block;
  min-height: 22px;
  color: var(--green);
  font-weight: 800;
}

.section {
  padding: clamp(72px, 10vw, 132px) clamp(20px, 5vw, 72px);
}

.intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 560px);
  gap: clamp(24px, 6vw, 80px);
  align-items: end;
  background: var(--warm);
}

.intro h2,
.section-heading h2,
.location h2,
.assistant-copy h2,
.review-summary h2,
.contact h2 {
  color: var(--teal-dark);
}

.intro p:last-child,
.section-heading p,
.location p,
.assistant-copy p,
.review-summary p,
.contact p {
  color: rgba(30, 30, 30, 0.72);
  font-size: 1.06rem;
}

.section-heading {
  max-width: 790px;
  margin-bottom: 36px;
}

.section-heading.compact {
  max-width: 720px;
}

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

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

.apartment-card {
  overflow: hidden;
  border: 1px solid rgba(15, 76, 92, 0.14);
  border-radius: 18px;
  background: var(--warm);
  box-shadow: var(--shadow);
}

.apartment-card img {
  height: 340px;
  object-fit: cover;
}

.apartment-card div {
  padding: 26px;
}

.apartment-card h3 {
  color: var(--teal-dark);
}

.apartment-card p,
.apartment-card li {
  color: rgba(30, 30, 30, 0.72);
}

.apartment-card ul {
  margin: 18px 0 0;
  padding-left: 20px;
}

.image-band {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr;
  gap: 12px;
  padding: 12px;
  background: var(--teal-dark);
}

.image-band img {
  height: 420px;
  object-fit: cover;
  border-radius: 10px;
}

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

.amenity-grid article {
  min-height: 128px;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 18px;
  background: white;
}

.amenity-grid span {
  display: inline-grid;
  place-items: center;
  min-width: 58px;
  height: 34px;
  margin-bottom: 18px;
  border-radius: 999px;
  background: rgba(79, 179, 197, 0.16);
  color: var(--teal);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.amenity-grid strong {
  display: block;
  color: var(--teal-dark);
  font-size: 1.05rem;
}

.location {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, 420px);
  gap: 40px;
  align-items: center;
  background: linear-gradient(135deg, rgba(15, 76, 92, 0.07), rgba(79, 179, 197, 0.13));
}

.location-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 24px 0;
}

.location-list span {
  border-radius: 999px;
  padding: 9px 13px;
  background: white;
  color: var(--teal-dark);
  font-weight: 800;
}

.map-card {
  min-height: 380px;
  display: flex;
  flex-direction: column;
  justify-content: end;
  border-radius: 20px;
  padding: 30px;
  background:
    linear-gradient(180deg, rgba(15, 76, 92, 0.08), rgba(15, 76, 92, 0.72)),
    url("assets/balcony.jpg") center / cover;
  color: white;
}

.map-card h3,
.map-card p {
  color: white;
}

.concierge {
  background: var(--teal-dark);
  color: white;
}

.assistant-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 480px);
  gap: 36px;
  align-items: center;
}

.assistant-copy h2,
.assistant-copy p {
  color: white;
}

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

.prompt-grid button {
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.08);
  color: white;
  font-weight: 800;
  text-align: left;
  cursor: pointer;
}

.prompt-grid button:hover {
  background: rgba(231, 111, 81, 0.8);
}

.chat-card {
  border-radius: 18px;
  overflow: hidden;
  color: var(--charcoal);
}

.chat-top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 18px;
  background: var(--teal);
  color: white;
}

.chat-top span {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.84rem;
  font-weight: 800;
}

.chat-log {
  height: 290px;
  overflow: auto;
  padding: 18px;
  background: #f8f4ea;
}

.chat-log p {
  margin: 0 0 12px;
  border-radius: 12px;
  padding: 12px;
  background: white;
}

.chat-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 92px;
  gap: 8px;
  padding: 14px;
  background: white;
}

.chat-form button,
.payment-grid button {
  background: var(--teal);
  color: white;
}

.reviews {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(330px, 1.08fr);
  gap: 32px;
  background: var(--sand);
}

.ratings {
  display: grid;
  gap: 10px;
  margin-top: 24px;
}

.ratings span {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid rgba(15, 76, 92, 0.16);
  padding-bottom: 10px;
  font-weight: 800;
}

.review-form {
  border-radius: 18px;
  padding: 26px;
}

.review-form h3 {
  margin-bottom: 18px;
  color: var(--teal-dark);
}

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

.checkbox {
  display: flex;
  align-items: center;
  gap: 10px;
}

.checkbox input {
  width: auto;
}

.review-form .primary-button {
  margin-top: 18px;
}

.payments {
  background: var(--warm);
}

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

.payment-grid article {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 280px;
  border-radius: 16px;
  padding: 22px;
  box-shadow: none;
}

.payment-grid h3 {
  color: var(--teal-dark);
  font-size: 1.45rem;
}

.payment-grid p,
.payment-grid dd {
  color: rgba(30, 30, 30, 0.68);
}

.payment-grid button {
  margin-top: auto;
}

dl {
  margin: 0;
}

dt {
  color: var(--teal);
  font-weight: 900;
}

dd {
  margin: 0 0 10px;
}

.status-track {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}

.status-track span {
  border-radius: 999px;
  padding: 9px 13px;
  background: var(--sand);
  color: var(--teal-dark);
  font-size: 0.84rem;
  font-weight: 800;
}

.faq {
  background: linear-gradient(180deg, rgba(243, 232, 211, 0.72), var(--warm));
}

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

.faq details {
  border-radius: 14px;
  padding: 18px;
  box-shadow: none;
}

.faq summary {
  color: var(--teal-dark);
  font-weight: 900;
  cursor: pointer;
}

.faq p {
  margin: 12px 0 0;
  color: rgba(30, 30, 30, 0.7);
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  background: var(--teal-dark);
  color: white;
}

.contact h2,
.contact p {
  color: white;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 32px clamp(20px, 5vw, 72px);
  background: #06252c;
  color: white;
}

.site-footer p {
  margin: 6px 0 0;
  color: rgba(255, 255, 255, 0.68);
}

.site-footer div:last-child {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-weight: 800;
}

.floating-cta {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 45;
  display: grid;
  place-items: center;
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: var(--coral);
  color: white;
  box-shadow: 0 18px 34px rgba(8, 47, 56, 0.22);
  font-weight: 900;
}

@media (max-width: 1080px) {
  .desktop-nav {
    display: none;
  }

  .hero,
  .intro,
  .location,
  .assistant-panel,
  .reviews,
  .contact {
    grid-template-columns: 1fr;
  }

  .booking-card {
    max-width: 680px;
  }

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

@media (max-width: 720px) {
  .site-header {
    position: sticky;
    padding: 12px 16px;
  }

  .brand small,
  .nav-button {
    display: none;
  }

  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    padding: 78px 20px 34px;
  }

  .hero-media img {
    object-position: 50% 20%;
  }

  .hero-content {
    padding-top: 36vh;
  }

  h1 {
    max-width: 8.8ch;
    font-size: clamp(2.72rem, 13vw, 3.45rem);
    word-break: normal;
    overflow-wrap: normal;
  }

  .hero-copy {
    max-width: 30ch;
  }

  .hero-actions,
  .contact-actions {
    flex-direction: column;
  }

  .trust-row {
    display: grid;
    grid-template-columns: 1fr;
    width: min(100%, 260px);
  }

  .trust-row span {
    min-width: 0;
    padding: 9px 10px;
    font-size: 0.88rem;
    text-align: center;
  }

  .booking-card,
  .form-grid,
  .apartment-grid,
  .faq-grid,
  .prompt-grid,
  .payment-grid,
  .amenity-grid {
    grid-template-columns: 1fr;
  }

  .image-band {
    grid-template-columns: 1fr;
  }

  .image-band img {
    height: 300px;
  }

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

  .site-footer {
    flex-direction: column;
  }

  .floating-cta {
    width: 64px;
    height: 64px;
    right: 14px;
    bottom: 14px;
  }
}
