:root {
  --deep: #0e3b43;
  --pool: #2a9d9f;
  --sand: #f3ece1;
  --stone: #2b2b2b;
  --gold: #b98b4a;
  --bs-body-font-family: 'Hanken Grotesk', system-ui, sans-serif;
  --bs-body-color: var(--stone)
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 70px
}

h1,
h2,
h3,
.brand {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 400
}

.navbar {
  transition: background .4s, box-shadow .4s
}

.navbar.solid {
  background: rgba(14, 59, 67, .97) !important;
  box-shadow: 0 2px 14px rgba(0, 0, 0, .25)
}

.navbar .nav-link {
  color: #fff;
  opacity: .85
}

.navbar .nav-link:hover {
  opacity: 1
}

.brand {
  color: #fff;
  font-size: 1.25rem;
  text-decoration: none
}

.btn-pool {
  background: var(--pool);
  color: #fff;
  border: 0;
  padding: .7rem 1.6rem
}

.btn-pool:hover {
  background: #238587;
  color: #fff
}

/* hero */
.hero {
  position: relative;
  min-height: 95vh;
  display: flex;
  align-items: center;
  color: #fff;
  overflow: hidden;
  background: var(--deep)
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: url('../images/banner.jpg') center no-repeat;
  /* animation: drift 22s ease-out forwards;
      transform: scale(1.15) */
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(14, 59, 67, .35), rgba(14, 59, 67, .9))
}

.hero .container {
  position: relative;
  z-index: 2;
  padding-bottom: 6rem
}

.hero h1 {
  font-size: clamp(2.4rem, 7vw, 3.5rem);
  line-height: 1.05;
  color:#c6b275;
}

.hero .l {
  opacity: 0;
  transform: translateY(28px);
  animation: rise .9s cubic-bezier(.2, .7, .2, 1) forwards
}

.hero .l:nth-child(2) {
  animation-delay: .25s
}

.hero .l:nth-child(3) {
  animation-delay: .5s
}

.hero .l:nth-child(4) {
  animation-delay: .75s
}

@keyframes rise {
  to {
    opacity: 1;
    transform: none
  }
}

@keyframes drift {
  to {
    transform: scale(1)
  }
}

.price {
  font-family: 'Fraunces', serif;
  font-size: 1.5rem;
  color: #f0d9a8
}

.scroll-cue {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  z-index: 2;
  width: 22px;
  height: 36px;
  border: 2px solid #fff;
  border-radius: 12px;
  translate: -50% 0;
  opacity: .8
}

.scroll-cue::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 6px;
  width: 4px;
  height: 7px;
  background: #fff;
  border-radius: 2px;
  translate: -50% 0;
  animation: dot 1.6s infinite
}

@keyframes dot {
  60% {
    top: 18px;
    opacity: 0
  }
}

/* sections */
section {
  padding: 5.5rem 0
}

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

h2 {
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  color: var(--deep)
}

.stat {
  border-left: 3px solid var(--gold);
  padding-left: 1rem
}

.stat b {
  display: block;
  font-family: 'Fraunces', serif;
  font-size: 2rem;
  color: var(--deep);
  font-weight: 400
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .8s, transform .8s
}

.reveal.in {
  opacity: 1;
  transform: none
}

.amen {
  background: #fff;
  border-radius: 6px;
  padding: 1.5rem 1rem;
  text-align: center;
  height: 100%;
  transition: transform .3s, box-shadow .3s
}

.amen:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 28px rgba(14, 59, 67, .15)
}

.amen img {
  width: 56px;
  height: 56px;
  object-fit: contain;
  margin-bottom: .8rem
}

.plan {
  display: block;
  background: #fff;
  border: 1px solid #e3dccf;
  overflow: hidden;
  cursor: zoom-in
}

.plan img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: contain;
  transition: transform .5s
}

.plan:hover img {
  transform: scale(1.06)
}

.config {
  background: var(--deep);
  color: #fff
}

.config h2 {
  color: #fff
}

.config .box {
  border: 1px solid rgba(255, 255, 255, .25);
  padding: 2rem;
  height: 100%;
  transition: background .3s
}

.config .box:hover {
  background: rgba(255, 255, 255, .08)
}

.form-control,
.form-select {
  border-radius: 0;
  padding: .75rem
}

.filters .btn {
  border-radius: 0;
  border: 1px solid var(--deep);
  color: var(--deep);
  padding: .45rem 1.2rem
}

.filters .btn.active {
  background: var(--deep);
  color: #fff
}

.gal {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 4/3;
  background: #e9e2d4;
  cursor: zoom-in;
  animation: pop .5s both
}

.gal img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s
}

.gal.icon img {
  object-fit: contain;
  padding: 2.2rem
}

.gal.plan-t img {
  object-fit: contain;
  background: #fff
}

.gal:hover img {
  transform: scale(1.08)
}

.gal span {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: .6rem .9rem;
  color: #fff;
  font-size: .85rem;
  background: linear-gradient(transparent, rgba(9, 42, 48, .85));
  transform: translateY(100%);
  transition: transform .3s
}

.gal:hover span,
.gal:focus span {
  transform: none
}

@keyframes pop {
  from {
    opacity: 0;
    transform: scale(.94)
  }
}

.nearby h3 {
  font-size: 1.15rem;
  color: var(--deep)
}

.nearby li {
  padding: .55rem 0;
  border-bottom: 1px solid #e3dccf
}

.nearby .card {
  border: 0;
  border-top: 3px solid var(--pool);
  border-radius: 0;
  background: var(--sand);
  height: 100%
}

#lb .modal-content {
  background: #000;
  border: 0;
  border-radius: 0
}

#lb img {
  max-height: 80vh;
  object-fit: contain
}

#lb .nav-b {
  position: absolute;
  top: 50%;
  translate: 0 -50%;
  z-index: 5;
  background: rgba(255, 255, 255, .85);
  border: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%
}

.ptabs {
  border: 0;
  gap: .5rem;
  flex-wrap: wrap
}

.ptabs .nav-link {
  border: 1px solid var(--deep);
  border-radius: 0;
  color: var(--deep);
  padding: .6rem 1.6rem;
  font-family: 'Fraunces', serif
}

.ptabs .nav-link.active {
  background: var(--deep);
  color: #fff
}

.pimg {
  display: block;
  background: #fff;
  border: 1px solid #e3dccf;
  padding: 1rem;
  cursor: zoom-in;
  position: relative
}

.pimg img {
  width: 100%;
  max-height: 460px;
  object-fit: contain
}

.pimg small {
  position: absolute;
  right: .8rem;
  bottom: .6rem;
  color: #777
}

.pdet {
  background: var(--deep);
  color: #fff;
  padding: 2rem;
  height: 100%
}

.pdet h3 {
  font-size: 2rem;
  color: #fff
}

.pdet .big {
  font-family: 'Fraunces', serif;
  font-size: 1.9rem;
  color: #f0d9a8
}

.pdet table {
  --bs-table-bg: transparent;
  --bs-table-color: #fff;
  --bs-table-border-color: rgba(255, 255, 255, .2)
}

.pdet ul {
  padding-left: 1.1rem
}

.pdet li {
  margin-bottom: .35rem
}

.tab-pane.show .pimg,
.tab-pane.show .pdet {
  animation: pop .6s both
}

footer {
  background: #092a30;
  color: #cfd9da;
  font-size: .85rem;
  padding: 2.5rem 0
}

.fab {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 50;
  display: flex;
  flex-direction: column;
  gap: 10px
}

.fab a {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(0, 0, 0, .3)
}

@media (prefers-reduced-motion:reduce) {
  * {
    animation: none !important;
    transition: none !important
  }

  .hero .l,
  .reveal {
    opacity: 1;
    transform: none
  }

  .hero-bg {
    transform: none
  }
}