:root {
  --color-deep-blue: #174a68;
  --color-ocean: #1f6f8b;
  --color-seafoam: #dcefed;
  --color-sand: #f5eddb;
  --color-palm: #6f8f3f;
  --color-palm-dark: #4f6d2a;
  --color-ink: #1f2a2e;
  --color-muted: #65747a;
  --color-white: #ffffff;

  --shadow-soft: 0 18px 45px rgba(20, 45, 55, 0.16);
  --shadow-card: 0 10px 30px rgba(20, 45, 55, 0.12);

  --radius-lg: 24px;
  --radius-md: 16px;

  --container: 1120px;
  --header-height: 78px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--color-ink);
  background: #f8fbfb;
  line-height: 1.6;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

.container {
  width: min(var(--container), calc(100% - 40px));
  margin-inline: auto;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(31, 111, 139, 0.12);
}

.header-inner {
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.site-logo {
  text-decoration: none;
  display: grid;
  line-height: 1.05;
}

.site-logo span {
  font-size: 0.9rem;
  color: var(--color-ocean);
  font-weight: 700;
}

.site-logo strong {
  font-size: clamp(1.25rem, 3vw, 2rem);
  color: var(--color-palm-dark);
  letter-spacing: -0.04em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 0.95rem;
  font-weight: 700;
}

.site-nav a {
  text-decoration: none;
  color: var(--color-deep-blue);
}

.site-nav a:hover {
  color: var(--color-palm-dark);
}

.nav-cta {
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--color-palm);
  color: var(--color-white) !important;
}

/* Hero */

.hero {
  position: relative;
  min-height: calc(92vh - var(--header-height));
  display: grid;
  align-items: center;
  overflow: hidden;
  background:
    linear-gradient(rgba(10, 35, 45, 0.36), rgba(10, 35, 45, 0.52)),
    url("../img/hero_masthead.jpg") center / cover no-repeat;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 180px;
  background: linear-gradient(transparent, #f8fbfb);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 740px;
  padding-block: 90px;
  color: var(--color-white);
}

.eyebrow,
.section-kicker {
  margin: 0 0 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
}

.eyebrow {
  color: #e7f9ff;
}

.hero h1 {
  margin: 0;
  font-size: clamp(3rem, 9vw, 6.8rem);
  line-height: 0.92;
  letter-spacing: -0.08em;
  text-wrap: balance;
}

.hero-copy {
  max-width: 620px;
  margin: 24px 0 0;
  font-size: clamp(1.1rem, 2vw, 1.35rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 24px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 800;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  background: var(--color-palm);
  color: var(--color-white);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.22);
}

.button-secondary {
  background: rgba(255, 255, 255, 0.9);
  color: var(--color-deep-blue);
}

/* Quick Facts */

.quick-facts {
  position: relative;
  z-index: 5;
  margin-top: -52px;
}

.quick-facts-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--color-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.quick-facts article {
  padding: 26px 22px;
  border-right: 1px solid rgba(31, 111, 139, 0.12);
}

.quick-facts article:last-child {
  border-right: 0;
}

.fact-value {
  display: block;
  font-size: clamp(1.25rem, 2vw, 1.7rem);
  line-height: 1.1;
  font-weight: 900;
  color: var(--color-deep-blue);
}

.fact-label {
  display: block;
  margin-top: 6px;
  color: var(--color-muted);
  font-weight: 700;
  font-size: 0.9rem;
}

/* Sections */

.section {
  padding-block: clamp(70px, 9vw, 110px);
}

.two-column,
.image-feature-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(32px, 6vw, 70px);
  align-items: center;
}

.section-kicker {
  color: var(--color-palm-dark);
}

h2 {
  margin: 0;
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 1;
  letter-spacing: -0.06em;
  color: var(--color-deep-blue);
  text-wrap: balance;
}

h3 {
  margin-top: 0;
  color: var(--color-deep-blue);
  font-size: 1.35rem;
}

p {
  font-size: 1rem;
}

.rental-details {
  background:
    radial-gradient(circle at top left, rgba(220, 239, 237, 0.9), transparent 34%),
    #f8fbfb;
}

.details-card,
.location-card {
  padding: clamp(26px, 4vw, 38px);
  border-radius: var(--radius-lg);
  background: var(--color-white);
  box-shadow: var(--shadow-card);
}

.feature-list {
  padding: 0;
  margin: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}

.feature-list li {
  position: relative;
  padding-left: 28px;
  font-weight: 700;
}

.feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--color-palm);
  box-shadow: 0 0 0 5px rgba(111, 143, 63, 0.16);
}

/* Image Feature */

.image-feature {
  background: var(--color-seafoam);
}

.image-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transform: rotate(-1.5deg);
}

.image-frame img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

/* Gallery */

.gallery-section {
  background: #f8fbfb;
  overflow: hidden;
}

.gallery-heading {
  margin-bottom: 24px;
}

.gallery-heading p {
  max-width: 760px;
}

.gallery-coverflow {
  position: relative;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  padding-block: 20px 70px;
  overflow: hidden;
}

.coverflow-viewport {
  width: 100%;
  overflow: hidden;
  padding-block: 90px;
}

.coverflow-track {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.2vw, 34px);
  width: max-content;
  will-change: transform;
  transition: transform 700ms ease;
}

.coverflow-track.is-jumping {
  transition: none;
}

.coverflow-slide {
  flex: 0 0 clamp(260px, 22vw, 420px);
  margin: 0;
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--color-white);
  box-shadow: var(--shadow-card);
  transform: scale(0.76);
  opacity: 0.48;
  filter: saturate(0.78);
  transition:
    transform 700ms ease,
    opacity 700ms ease,
    filter 700ms ease,
    box-shadow 700ms ease;
}

.coverflow-track.is-jumping,
.coverflow-track.is-jumping .coverflow-slide {
  transition: none !important;
}

.coverflow-slide img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.coverflow-slide figcaption {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 2;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--color-deep-blue);
  font-size: 0.92rem;
  font-weight: 900;
  text-align: center;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.2);
}

.coverflow-slide.is-near {
  transform: scale(0.96);
  opacity: 0.85;
  filter: saturate(0.95);
}

.coverflow-slide.is-center {
  z-index: 5;
  transform: scale(1.34);
  opacity: 1;
  filter: saturate(1);
  box-shadow: 0 28px 70px rgba(20, 45, 55, 0.34);
}

.coverflow-button {
  position: absolute;
  top: 50%;
  z-index: 20;
  width: 56px;
  height: 56px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.95);
  color: var(--color-deep-blue);
  font-size: 2.75rem;
  line-height: 1;
  font-weight: 700;
  cursor: pointer;
  box-shadow: var(--shadow-card);
  transform: translateY(-50%);
  transition: transform 160ms ease, background 160ms ease;
}

.coverflow-button:hover {
  background: var(--color-white);
  transform: translateY(-50%) scale(1.05);
}

.coverflow-prev {
  left: 28px;
}

.coverflow-next {
  right: 28px;
}

@media (max-width: 1000px) {
  .coverflow-slide {
    flex-basis: clamp(240px, 34vw, 360px);
  }

  .coverflow-slide.is-center {
    transform: scale(1.18);
  }
}

@media (max-width: 650px) {
  .gallery-coverflow {
    padding-block: 10px 48px;
  }

  .coverflow-viewport {
    padding-block: 36px;
  }

  .coverflow-track {
    gap: 14px;
  }

  .coverflow-slide {
    flex-basis: 78vw;
    transform: scale(0.88);
  }

  .coverflow-slide.is-near,
  .coverflow-slide.is-center {
    transform: scale(1);
    opacity: 1;
  }

  .coverflow-button {
    width: 42px;
    height: 42px;
    font-size: 2rem;
  }

  .coverflow-prev {
    left: 12px;
  }

  .coverflow-next {
    right: 12px;
  }
}

/* Location */

.location-section {
  background:
    linear-gradient(rgba(245, 237, 219, 0.9), rgba(245, 237, 219, 0.9)),
    url("../img/hero_masthead.jpg") center / cover fixed no-repeat;
}

/* Contact */

.contact-section {
  background: var(--color-deep-blue);
  color: var(--color-white);
}

.contact-section h2,
.contact-section h3,
.contact-section .section-kicker {
  color: var(--color-white);
}

.contact-card {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: center;
  padding: clamp(30px, 5vw, 52px);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.12), transparent),
    rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow-soft);
}

.contact-info {
  min-width: min(100%, 320px);
  padding: 26px;
  border-radius: var(--radius-md);
  background: var(--color-sand);
  color: var(--color-ink);
}

.contact-info h3 {
  margin-bottom: 4px;
}

.contact-info p {
  margin-top: 0;
  color: var(--color-muted);
}

.contact-info a {
  display: block;
  margin-top: 10px;
  color: var(--color-deep-blue);
  font-weight: 900;
  text-decoration: none;
}

.contact-info a:hover {
  text-decoration: underline;
}

/* Footer */

.site-footer {
  padding-block: 28px;
  background: #102f42;
  color: rgba(255, 255, 255, 0.78);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  font-size: 0.9rem;
}

.footer-inner p {
  margin: 0;
}

.footer-inner a {
  color: var(--color-white);
  text-decoration: none;
  font-weight: 800;
}

/* Mobile CTA */

.mobile-cta {
  display: none;
}

/* Responsive */

@media (max-width: 900px) {
  .site-nav {
    display: none;
  }

  .hero {
    min-height: 760px;
  }

  .quick-facts-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .quick-facts article {
    border-bottom: 1px solid rgba(31, 111, 139, 0.12);
  }

  .two-column,
  .image-feature-grid,
  .contact-card {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .location-section {
    background-attachment: scroll;
  }
}

@media (max-width: 560px) {
  .container {
    width: min(100% - 28px, var(--container));
  }

  .hero {
    min-height: 700px;
  }

  .hero-content {
    padding-block: 64px;
  }

  .quick-facts {
    margin-top: -36px;
  }

  .quick-facts-grid {
    grid-template-columns: 1fr;
  }

  .quick-facts article {
    border-right: 0;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    flex-direction: column;
  }

  .mobile-cta {
    display: block;
    position: fixed;
    z-index: 80;
    left: 14px;
    right: 14px;
    bottom: 14px;
  }

  .mobile-cta a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    border-radius: 999px;
    background: var(--color-palm);
    color: var(--color-white);
    font-weight: 900;
    text-decoration: none;
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.28);
  }

  body {
    padding-bottom: 78px;
  }
}