/*
Theme Name: Casa do Ananás
Theme URI: https://frownworks.com
Author: FrownWorks
Description: Static-style WordPress theme for Casa do Ananas, prepared for Fluent Forms.
Version: 1.0.0
Text Domain: casa-do-ananas
*/

:root {
  --navy: #1B3A4A;
  --navy-dark: #12262F;
  --cream: #F3EEE2;
  --cream-light: #FAF7EF;
  --gold: #C4923C;
  --gold-dark: #A8792A;
  --text-dark: #2A2620;
  --text-muted: #6E6455;
  --line: #E2DBC8;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  color: var(--text-dark);
  background: var(--cream-light);
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 500;
  letter-spacing: .3px;
}

.container {
  max-width: 1600px;
  margin: 0 auto;
}

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

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

.eyebrow {
  font-family: 'Jost', sans-serif;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  font-size: .72rem;
  color: var(--gold-dark);
  font-weight: 600;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Jost', sans-serif;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-size: .78rem;
  font-weight: 600;
  padding: 15px 30px;
  border-radius: 2px;
  cursor: pointer;
  border: none;
  transition: all .25s ease;
}

.btn-gold {
  background: var(--gold);
  color: #fff;
}

.btn-gold:hover {
  background: var(--gold-dark);
}

.btn-outline {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, .5);
  color: #fff;
}

.btn-outline:hover {
  background: rgba(255, 255, 255, .12);
}

/* ---------- NAV ---------- */
header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: var(--navy);
}

header .container {

  padding: 18px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #fff;
}

.logo img {
  width: 34px;
  height: auto;
  object-fit: contain;
  flex-shrink: 0;
}

.logo-text .title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.3rem;
  letter-spacing: 1px;
  line-height: 1;
}

.logo-text .sub {
  font-family: 'Jost', sans-serif;
  font-size: .62rem;
  letter-spacing: 2px;
  color: #C9BFA8;
  margin-top: 3px;
}

nav ul {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 38px;
}

nav a {
  font-family: 'Jost', sans-serif;
  color: #EDE7D8;
  font-size: .8rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-weight: 500;
  padding-bottom: 4px;
  border-bottom: 1px solid transparent;
  transition: .2s;
}

nav a:hover,
nav a.active {
  border-color: var(--gold);
  color: #fff;
}

.nav-cta {
  margin-left: 10px;
}

.nav-lang {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-left: 4px;
}

.nav-lang button {
  border: 1px solid rgba(201, 191, 168, .35);
  background: transparent;
  color: #EDE7D8;
  font-family: 'Jost', sans-serif;
  font-size: .68rem;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  padding: 6px 8px;
  cursor: pointer;
  transition: .2s;
}

.nav-lang button:hover,
.nav-lang button.active {
  color: #fff;
  border-color: var(--gold);
  background: rgba(196, 146, 60, .16);
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: #fff;
  font-size: 1.6rem;
  cursor: pointer;
  margin-left: auto;
}

/* ---------- HERO ---------- */
.hero {
  position: relative;
  overflow: hidden;
  height: 92vh;
  min-height: 560px;
}

.hero .container {
  position: relative;
  height: 100%;
  overflow: hidden;
  color: #fff;
}

.hero img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(10, 25, 32, .72) 0%, rgba(10, 25, 32, .25) 45%, rgba(10, 25, 32, 0) 70%);
}

.hero-content {
  position: absolute;
  left: 0;
  bottom: 0;
  top: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: start;
  padding: 0 48px;
  max-width: 640px;
  z-index: 2;
}

.hero-content h1 {
  font-size: 3.4rem;
  line-height: 1.1;
  margin-bottom: 18px;
}

.hero-content p {
  font-size: 1.05rem;
  font-weight: 300;
  line-height: 1.6;
  margin-bottom: 30px;
  max-width: 440px;
  color: #EDE7D8;
}

.play-btn {
  position: absolute;
  top: 50%;
  left: 52%;
  transform: translate(-50%, -50%);
  width: 78px;
  height: 78px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .18);
  border: 1.5px solid rgba(255, 255, 255, .8);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 2;
  backdrop-filter: blur(2px);
  transition: .25s;
}

.play-btn:hover {
  background: rgba(255, 255, 255, .3);
  transform: translate(-50%, -50%) scale(1.06);
}

.play-btn svg {
  width: 24px;
  height: 24px;
  margin-left: 4px;
}

/* ---------- AMENITIES STRIP ---------- */
.amenities {
  background: var(--cream);
}

.amenities .container {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  padding: 52px 40px;
}

.amenity {
  text-align: center;
  padding: 0 18px;
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.amenity:last-child {
  border-right: none;
}

.amenity svg {
  width: 34px;
  height: 34px;
  color: var(--gold-dark);
}

.amenity .name {
  font-family: 'Jost', sans-serif;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.amenity .desc {
  font-size: .82rem;
  color: var(--text-muted);
  line-height: 1.4;
}

/* ---------- STORY SECTION ---------- */
.story {
  background: var(--cream-light);
}

.story .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  padding: 100px 48px;
  align-items: center;
}

.story h2 {
  font-size: 2.6rem;
  line-height: 1.15;
  margin: 12px 0 22px;
}

.story .divider {
  width: 46px;
  height: 2px;
  background: var(--gold);
  margin: 14px 0 30px;
}

.story p {
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 22px;
  max-width: 480px;
}

.checklist {
  list-style: none;
  margin-bottom: 30px;
}

.checklist li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 0;
  font-size: .95rem;
}

.checklist svg {
  width: 19px;
  height: 19px;
  color: var(--gold-dark);
  flex-shrink: 0;
}

.learn-link {
  font-family: 'Jost', sans-serif;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-size: .78rem;
  font-weight: 600;
  color: var(--gold-dark);
  border-bottom: 1px solid var(--gold-dark);
  padding-bottom: 3px;
}

.story-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.story-gallery img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 2px;
}

/* ---------- QUOTE BANNER ---------- */
.quote-banner {
  /*background: var(--navy-dark);*/
  position: relative;
  background: #000;
  background-image: url('./imgs/ananas-bg.jpg');
  background-position: center right;
  background-repeat: no-repeat;
  background-size: 50%;

}

.quote-banner::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: #000;
  background: linear-gradient(90deg, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0) 100%);
  z-index: 0;
}

.quote-banner .container {
  position: relative;
  display: flex;
  height: 200px;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
  padding: 46px 48px;
  color: #fff;
  z-index: 1;
}

.quote-banner .quote-inner {
  display: flex;
  align-items: center;
  gap: 28px;
}

.quote-banner svg.pineapple {
  width: 56px;
  height: 56px;
  color: var(--gold);
  flex-shrink: 0;
}

.quote-banner blockquote {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 1.7rem;
  line-height: 1.3;
  max-width: 520px;
}

.quote-banner a {
  backdrop-filter: blur(15px);
}

/* ---------- BOOKING SECTION ---------- */
.booking {
  background: var(--cream);
}

.booking .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  padding: 100px 48px;
  align-items: start;
}

.booking h2 {
  font-size: 2.4rem;
  margin-bottom: 10px;
}

.booking>div:first-child .divider {
  width: 46px;
  height: 2px;
  background: var(--gold);
  margin: 16px 0 34px;
}

.booking-sub {
  color: var(--text-muted);
  margin-bottom: 36px;
}

.info-row {
  display: flex;
  gap: 36px;
  flex-wrap: wrap;
}

.info-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  max-width: 220px;
}

.info-item svg {
  width: 26px;
  height: 26px;
  color: var(--gold-dark);
  flex-shrink: 0;
  margin-top: 2px;
}

.info-item .label {
  font-family: 'Jost', sans-serif;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.info-item .value {
  font-size: .85rem;
  color: var(--text-muted);
  margin-top: 3px;
}

.booking-form {
  background: var(--cream-light);
  border: 1px solid var(--line);
  border-radius: 3px;
  padding: 38px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 16px;
  margin-bottom: 20px;
}

.field label {
  display: block;
  font-family: 'Jost', sans-serif;
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.field input,
.field select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: #fff;
  font-family: 'Inter', sans-serif;
  font-size: .9rem;
  color: var(--text-dark);
}

.field input:focus,
.field select:focus {
  outline: 2px solid var(--gold);
  outline-offset: 1px;
}

.field.full {
  grid-column: 1/-1;
  margin-bottom: 20px;
}

.booking-form .btn-gold {
  width: 100%;
  justify-content: center;
  margin-top: 6px;
}

/* Fluent Forms skin to match booking form style */
#bookingFormWrap .frm-fluent-form {
  margin: 0;
}

#bookingFormWrap .ff-el-group {
  margin-bottom: 20px;
}

#bookingFormWrap .ff-t-container {
  display: grid !important;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 16px;
  margin-bottom: 20px;
}

#bookingFormWrap .ff-t-container .ff-t-cell {
  flex-basis: auto !important;
  width: 100%;
  min-width: 0;
}

#bookingFormWrap .ff-el-input--label label {
  display: block;
  font-family: 'Jost', sans-serif;
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 8px;
}

#bookingFormWrap .ff-el-form-control,
#bookingFormWrap .ff-el-form-control[type="text"],
#bookingFormWrap .ff-el-form-control[type="email"],
#bookingFormWrap .ff-el-form-control[type="number"] {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: #fff;
  font-family: 'Inter', sans-serif;
  font-size: .9rem;
  color: var(--text-dark);
  line-height: 1.25;
}

#bookingFormWrap .ff-el-form-control:focus {
  outline: 2px solid var(--gold);
  outline-offset: 1px;
}

#bookingFormWrap .ff_submit_btn_wrapper {
  margin-top: 6px;
  margin-bottom: 0;
}

#bookingFormWrap .ff-btn.ff-btn-submit {
  width: 100%;
  justify-content: center;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Jost', sans-serif;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-size: .78rem;
  font-weight: 600;
  padding: 15px 30px;
  border-radius: 2px;
  border: none;
  cursor: pointer;
  transition: all .25s ease;
  background: var(--gold);
  color: #fff;
}

#bookingFormWrap .ff-btn.ff-btn-submit:hover {
  background: var(--gold-dark);
}

#bookingFormWrap .ff-message-success,
#bookingFormWrap .ff-message-error {
  margin-top: 12px;
  border-radius: 2px;
  font-size: .88rem;
}

/* ---------- LEGAL PAGE ---------- */
.legal-page {
  background: var(--cream-light);
}

.legal-content {
  max-width: 980px;
  padding: 80px 48px;
}

.legal-content h1 {
  font-size: 2.5rem;
  margin-bottom: 18px;
}

.legal-content h2 {
  font-size: 1.45rem;
  margin-top: 32px;
  margin-bottom: 12px;
}

.legal-content p {
  line-height: 1.75;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.legal-content ul {
  margin: 0 0 14px 20px;
  color: var(--text-muted);
}

.legal-content li {
  margin-bottom: 8px;
  line-height: 1.65;
}

/* ---------- FOOTER ---------- */
footer {
  background: var(--navy-dark);
}

footer .container {
  color: #C9BFA8;
  padding: 34px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
}

.footer-left {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
}

.footer-menu a {
  color: #fff;
  font-size: .8rem;
}
.footer-menu a:hover{
  color: var(--gold);
}
.footer-menu {
  display: flex;
  gap: 20px;
  align-items: center;
}

footer .logo-text .title {
  color: #fff;
}

footer .foot-links {
  font-size: .8rem;
  display: flex;
  gap: 24px;
  align-items: center;
}

footer .dev-credit a {
  color: #fff;
  border-bottom: 1px solid rgba(201, 191, 168, .45);
  padding-bottom: 1px;
  transition: .2s;
}

footer .dev-credit a:hover {
  color: var(--gold);
  border-bottom-color: var(--gold);
}

footer svg.insta {
  width: 20px;
  height: 20px;
  color: #C9BFA8;
}

/* ---------- REVIEW BUBBLE WIDGET ---------- */
#review-widget {
  position: fixed;
  bottom: 26px;
  right: 26px;
  z-index: 500;
  font-family: 'Inter', sans-serif;
}

.review-toggle {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--gold);
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(0, 0, 0, .25);
  transition: transform .2s ease;
}

.review-toggle:hover {
  transform: scale(1.07);
}

.review-toggle svg {
  width: 26px;
  height: 26px;
}

.review-toggle .dot {
  position: absolute;
  top: -2px;
  right: -2px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--gold);
  border: 2px solid var(--cream-light);
}

.review-card {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 320px;
  background: var(--cream-light);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, .2);
  padding: 22px 22px 20px;
  opacity: 0;
  transform: translateY(12px) scale(.97);
  pointer-events: none;
  transition: opacity .25s ease, transform .25s ease;
}

.review-card.open {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.review-card .rc-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.review-card .rc-title {
  font-family: 'Jost', sans-serif;
  font-size: .7rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gold-dark);
  font-weight: 600;
}

.review-card .rc-close {
  background: none;
  border: none;
  font-size: 1.1rem;
  color: var(--text-muted);
  cursor: pointer;
  line-height: 1;
  padding: 2px 4px;
}

.review-card .rc-close:hover {
  color: var(--text-dark);
}

.stars {
  color: var(--gold);
  font-size: .85rem;
  margin-bottom: 10px;
  letter-spacing: 2px;
}

.review-body {
  min-height: 96px;
}

.review-quote {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 1.05rem;
  line-height: 1.45;
  color: var(--text-dark);
  opacity: 0;
  transition: opacity .3s ease;
}

.review-quote.show {
  opacity: 1;
}

.review-name {
  margin-top: 12px;
  font-size: .78rem;
  color: var(--text-muted);
  font-weight: 500;
}

.review-dots {
  display: flex;
  gap: 10px;
  margin-top: 16px;
  justify-content: center;
  align-items: center;
}

.review-arrow {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--text-dark);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: .95rem;
  line-height: 1;
  transition: all .2s ease;
}

.review-arrow:hover {
  border-color: var(--gold);
  color: var(--gold-dark);
}

/* ---------- RESPONSIVE ---------- */
@media (max-width:980px) {
  .amenities {
    grid-template-columns: repeat(3, 1fr);
    row-gap: 34px;
  }

  .amenity {
    border-right: none;
  }

  .story,
  .booking {
    grid-template-columns: 1fr;
    padding: 70px 0px;
    gap: 44px;
  }

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

  #bookingFormWrap .ff-t-container {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width:760px) {
  header {
    padding: 16px 0px;
  }

  nav ul {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: var(--navy);
    flex-direction: column;
    align-items: flex-start;
    padding: 20px 28px;
    gap: 20px;
    transform: translateY(-130%);
    transition: transform .25s ease;
  }

  nav ul.open {
    transform: translateY(0);
  }

  .menu-toggle {
    display: block;
  }

  .nav-cta {
    margin-left: 0;
  }

  .nav-lang {
    margin-left: 0;
  }

  .hero-content {
    padding: 0 24px;
    max-width: 100%;
  }

  .hero-content h1 {
    font-size: 2.3rem;
  }

  .amenities {
    grid-template-columns: 1fr 1fr;
    padding: 40px 24px;
  }

  .story-gallery img {
    height: 150px;
  }

  .quote-banner {
    padding: 34px 24px;
  }

  .quote-banner blockquote {
    font-size: 1.3rem;
  }

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

  #bookingFormWrap .ff-t-container {
    grid-template-columns: 1fr;
  }

  footer {
    flex-direction: column;
    text-align: center;
  }

  #review-widget {
    right: 16px;
    bottom: 16px;
  }

  .review-card {
    width: min(300px, calc(100vw - 32px));
  }
}

/* ============================================================
     PAGE 2 — LOCALIZAÇÃO
  ============================================================ */
.location {
  background: var(--cream-light);
}

.location .container {
  display: grid;
  grid-template-columns: 0.85fr 1.6fr;
  gap: 56px;
  padding: 100px 48px;
  align-items: start;
}

.location h2 {
  font-size: 2.2rem;
  margin-bottom: 4px;
}

.location .divider {
  width: 46px;
  height: 2px;
  background: var(--gold);
  margin: 14px 0 30px;
}

.loc-list {
  list-style: none;
  margin-bottom: 30px;
}

.loc-list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.loc-list li:last-child {
  border-bottom: none;
}

.loc-list svg {
  width: 20px;
  height: 20px;
  color: var(--gold-dark);
  flex-shrink: 0;
  margin-top: 2px;
}

.loc-list .loc-name {
  font-size: .92rem;
  font-weight: 500;
}

.loc-list .loc-detail {
  font-size: .8rem;
  color: var(--text-muted);
  margin-top: 2px;
}

.btn-line {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Jost', sans-serif;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-size: .75rem;
  font-weight: 600;
  padding: 13px 24px;
  border: 1px solid var(--gold);
  color: var(--gold-dark);
  border-radius: 2px;
  cursor: pointer;
  background: transparent;
  transition: .2s;
}

.btn-line:hover {
  background: var(--gold);
  color: #fff;
}

.btn-line svg {
  width: 16px;
  height: 16px;
}

.map-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 14px;
}

.map-main {
  position: relative;
  border-radius: 3px;
  overflow: hidden;
  height: 100%;
  min-height: 340px;
}

.map-main iframe {
  width: 100%;
  height: 100%;
}

.map-pin {
  position: absolute;
  top: 44%;
  left: 46%;
  transform: translate(-50%, -100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  filter: drop-shadow(0 4px 6px rgba(0, 0, 0, .35));
}

.map-pin .pin-circle {
  width: 38px;
  height: 38px;
  border-radius: 50% 50% 50% 0;
  background: var(--gold);
  transform: rotate(-45deg);
  display: flex;
  align-items: center;
  justify-content: center;
}

.map-pin svg {
  width: 18px;
  height: 18px;
  color: #fff;
  transform: rotate(45deg);
}

.map-side {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.map-side figure {
  position: relative;
  border-radius: 3px;
  overflow: hidden;
  flex: 1;
  min-height: 150px;
  margin: 0;
}

.map-side img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.map-side figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 10px 14px;
  background: linear-gradient(0deg, rgba(10, 25, 32, .75), transparent);
  color: #fff;
  font-family: 'Jost', sans-serif;
  font-size: .72rem;
  letter-spacing: .5px;
}

/* ============================================================
     PAGE 2 — SEASONAL RATES
  ============================================================ */
.rates {
  background: var(--cream);
}

.rates>div {
  display: flex;
  align-items: center;
  padding-left: max(0px, calc((100vw - 1600px) / 2));
  justify-content: space-between;
  position: relative;
}

.rates-text {
  width: 40%;
  padding: 100px 0px 100px 48px;
}

.rates-text .eyebrow {
  margin-bottom: 10px;
}

.rates-text h2 {
  font-size: 2.3rem;
  margin-bottom: 10px;
}

.rates-text .divider {
  width: 46px;
  height: 2px;
  background: var(--gold);
  margin: 14px 0 30px;
}

.rates-text .rates-sub {
  color: var(--text-muted);
  margin-bottom: 32px;
  max-width: 420px;
}

table.rate-table {
  width: 100%;
  border-collapse: collapse;
  max-width: 100%;
}

table.rate-table thead th {
  font-family: 'Jost', sans-serif;
  font-size: .68rem;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--text-muted);
  text-align: left;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--gold);
  font-weight: 600;
}

table.rate-table thead th:not(:first-child) {
  text-align: right;
}

table.rate-table td {
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
  font-size: .88rem;
}

table.rate-table td:not(:first-child) {
  text-align: right;
  color: var(--text-muted);
}

table.rate-table tr:last-child td {
  border-bottom: none;
}

table.rate-table td.season-name {
  font-weight: 500;
  color: var(--text-dark);
}

.rates-card-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  left: 47%;
  z-index: 2;
}

.rates-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 32px 26px;
  box-shadow: 0 20px 40px -18px rgba(20, 30, 20, .25);
  width: 100%;
  max-width: 400px;
}

.rates-card .rc-item {
  display: flex;
  gap: 12px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
  align-items: flex-start;
}

.rates-card .rc-item:last-of-type {
  border-bottom: none;
}

.rates-card svg {
  width: 20px;
  height: 20px;
  color: var(--gold-dark);
  flex-shrink: 0;
  margin-top: 1px;
}

.rates-card .rc-label {
  font-family: 'Jost', sans-serif;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .8px;
  text-transform: uppercase;
}

.rates-card .rc-value {
  font-size: .8rem;
  color: var(--text-muted);
  margin-top: 3px;
  line-height: 1.5;
}

.rates-card .rc-note {
  font-size: .78rem;
  color: var(--text-muted);
  margin-top: 16px;
  line-height: 1.5;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.rates-photo {
  position: relative;
  max-height: 700px;
  height: 100%;
  width: 50%;
  display: flex;
}

.rates-photo img {
  width: 100%;
  max-height: 100%;
  object-fit: cover;
}

/* ============================================================
     PAGE 2 — GALLERY
  ============================================================ */
.gallery-section {
  background: var(--cream-light);
}

.gallery-section .container {
  padding: 100px 48px;
}

.gallery-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 36px;
}

.gallery-head h2 {
  font-size: 2rem;
}

.gallery-head .divider {
  width: 46px;
  height: 2px;
  background: var(--gold);
  margin-top: 10px;
}

.gallery-filters {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
}

.gallery-filters button {
  background: none;
  border: none;
  cursor: pointer;
  font-family: 'Jost', sans-serif;
  font-size: .75rem;
  letter-spacing: 1.3px;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 500;
  padding-bottom: 6px;
  border-bottom: 2px solid transparent;
  transition: .2s;
}

.gallery-filters button:hover {
  color: var(--text-dark);
}

.gallery-filters button.active {
  color: var(--gold-dark);
  border-color: var(--gold);
  font-weight: 600;
}

.gallery-carousel {
  display: grid;
  grid-template-columns: 48px 1fr 48px;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}

.gallery-viewport {
  --slides-per-view: 5;
  overflow: hidden;
}

.gallery-grid {
  display: flex;
  gap: 12px;
  transition: transform .35s ease;
  will-change: transform;
}

.gallery-grid figure {
  margin: 0;
  position: relative;
  flex: 0 0 calc((100% - (12px * (var(--slides-per-view) - 1))) / var(--slides-per-view));
  aspect-ratio: 1/1;
  overflow: hidden;
  border-radius: 2px;
  cursor: pointer;
}

.gallery-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s ease;
}

.gallery-grid figure:hover img {
  transform: scale(1.06);
}

.gallery-grid figure.hidden-item {
  display: none;
}

.gallery-nav {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--text-dark);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  transition: all .2s ease;
}

.gallery-nav:hover:not(:disabled) {
  border-color: var(--gold);
  color: var(--gold-dark);
}

.gallery-nav:disabled {
  opacity: .35;
  cursor: not-allowed;
}

.gallery-count {
  text-align: center;
  color: var(--text-muted);
  font-family: 'Jost', sans-serif;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-size: .72rem;
  margin: 0;
}

.gallery-status {
  width: 100%;
  text-align: center;
  color: var(--text-muted);
  font-size: .92rem;
  padding: 18px 0;
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(10, 18, 22, .92);
  z-index: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease;
  padding: 40px;
}

.lightbox.open {
  opacity: 1;
  pointer-events: auto;
}

.lightbox img {
  max-width: min(90vw, 1100px);
  max-height: 82vh;
  object-fit: contain;
  border-radius: 3px;
}

.lightbox-close {
  position: absolute;
  top: 26px;
  right: 32px;
  background: none;
  border: none;
  color: #fff;
  font-size: 1.8rem;
  cursor: pointer;
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .4);
  color: #fff;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.3rem;
}

.lightbox-nav:hover {
  background: rgba(255, 255, 255, .25);
}

.lightbox-prev {
  left: 24px;
}

.lightbox-next {
  right: 24px;
}

.lightbox-caption {
  position: absolute;
  bottom: 28px;
  left: 0;
  right: 0;
  text-align: center;
  color: #EDE7D8;
  font-family: 'Jost', sans-serif;
  font-size: .78rem;
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* ============================================================
     PAGE 2 — RESPONSIVE
  ============================================================ */
@media (max-width:1080px) {
  .rates {
    grid-template-columns: 1fr;
  }

  .rates-photo {
    min-height: 260px;
  }

  .rates-card-wrap {
    padding: 40px 48px 80px;
  }

  .gallery-viewport {
    --slides-per-view: 3;
  }
}

@media (max-width:980px) {
  .location {
    grid-template-columns: 1fr;
    padding: 70px 0px;
    gap: 36px;
  }

  .map-grid {
    grid-template-columns: 1fr;
  }

  .map-side {
    flex-direction: row;
  }

  .gallery-viewport {
    --slides-per-view: 2;
  }

}

@media (max-width:760px) {
  .rates-text {
    padding: 60px 24px 40px;
  }

  .gallery-section {
    padding: 60px 0px;
  }

  .gallery-carousel {
    grid-template-columns: 40px 1fr 40px;
    gap: 10px;
  }

  .gallery-viewport {
    --slides-per-view: 1;
  }

  table.rate-table {
    font-size: .8rem;
  }

  .lightbox-nav {
    width: 38px;
    height: 38px;
  }

  .lightbox-prev {
    left: 10px;
  }

  .lightbox-next {
    right: 10px;
  }
}

/* ============================================================
   RESPONSIVE FIXES (GLOBAL)
============================================================ */

.container {
  width: 100%;
}

.quote-banner .container {
  height: auto;
  min-height: 200px;
}

@media (max-width:1280px) {
  header .container {
    padding: 16px 32px;
  }

  nav ul {
    gap: 24px;
  }

  .hero-content {
    max-width: 560px;
  }

  .story .container,
  .booking .container,
  .location .container,
  .gallery-section .container {
    padding-left: 32px;
    padding-right: 32px;
  }

  .rates>div {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    padding-left: 0;
  }

  .rates-text,
  .rates-photo {
    width: 100%;
  }

  .rates-text {
    padding: 84px 32px 34px;
    max-width: 980px;
  }

  .rates-card-wrap {
    position: relative;
    left: auto;
    justify-content: flex-start;
    padding: 0 32px 42px;
  }

  .rates-card {
    position: absolute;
    top: 0;
    width: 560px;
    max-width: 90%;
  }

  .rates-photo {
    height: 60vh;
    min-height: 500px;
  }
}

@media (max-width:980px) {
  header .container {
    padding: 14px 28px;
  }

  .menu-toggle {
    display: block;
    z-index: 280;
  }

  nav {
    position: relative;
  }

  nav ul {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    left: auto;
    width: fit-content;
    background: var(--navy);
    border-radius: 0 0 8px 8px;
    padding: 16px 18px;
    flex-direction: column;
    align-items: flex-end;
    gap: 14px;
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: opacity .2s ease, transform .2s ease;
  }

  nav ul.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-cta {
    margin-left: 0;
    margin-top: 4px;
  }

  .nav-lang {
    margin-left: 0;
  }

  .logo-text .title {
    font-size: 1.15rem;
  }

  .logo-text .sub {
    letter-spacing: 1.5px;
  }

  .amenities .container {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    padding: 42px 28px;
    row-gap: 28px;
  }

  .amenity {
    border-right: none;
  }

  .story .container,
  .booking .container,
  .location .container,
  .gallery-section .container {
    grid-template-columns: 1fr;
    padding: 72px 28px;
    gap: 40px;
  }

  .story h2,
  .booking h2,
  .location h2,
  .rates-text h2,
  .gallery-head h2 {
    font-size: 2.1rem;
  }

  .map-grid {
    grid-template-columns: 1fr;
  }

  .map-side {
    flex-direction: row;
  }

  .map-side figure {
    min-height: 130px;
  }

  .rates-text {
    padding: 72px 28px 28px;
  }

  .rates-card-wrap {
    padding: 0 28px 38px;
  }

  .quote-banner .container {
    padding: 38px 28px;
  }

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

  #bookingFormWrap .ff-t-container {
    grid-template-columns: 1fr 1fr;
  }

  footer .container {
    padding: 30px 28px;
  }

  .legal-content {
    padding: 68px 28px;
  }

  .legal-content h1 {
    font-size: 2.15rem;
  }
}

@media (max-width:760px) {
  header .container {
    padding: 14px 12px;
  }

  nav ul {
    top: 30px;
    right: 0;
    width: fit-content;
    z-index: 260;
    max-height: calc(100vh - 68px);
    overflow-y: auto;
    padding: 18px 20px 24px;
    gap: 16px;
  }

  nav a {
    font-size: .74rem;
    letter-spacing: 1.2px;
  }

  .hero {
    min-height: 460px;
    height: 78vh;
  }

  .hero-content {
    max-width: 100%;
    padding: 0 12px 34px;
    justify-content: flex-end;
  }

  .hero-content h1 {
    font-size: 2.15rem;
    margin-bottom: 12px;
  }

  .hero-content p {
    font-size: .95rem;
    line-height: 1.55;
    margin-bottom: 22px;
  }

  .play-btn {
    display: none;
  }

  .amenities .container {
    grid-template-columns: 1fr 1fr;
    padding: 36px 20px;
    row-gap: 24px;
  }

  .amenity {
    padding: 0 10px;
  }

  .story .container,
  .booking .container,
  .location .container,
  .gallery-section .container {
    padding: 58px 12px;
    gap: 30px;
  }

  .story h2,
  .booking h2,
  .location h2,
  .rates-text h2,
  .gallery-head h2 {
    font-size: 1.9rem;
  }

  .story-gallery {
    gap: 10px;
  }

  .quote-banner .container {
    padding: 30px 12px;
  }

  .story-gallery img {
    height: 138px;
  }

  .quote-banner {
    background-size: cover;
    background-position: center;
  }

  .quote-banner::before {
    background: linear-gradient(180deg, rgba(0, 0, 0, .85) 0%, rgba(0, 0, 0, .65) 100%);
  }

  .quote-banner .container {
    min-height: 0;
    padding: 30px 20px;
    align-items: flex-start;
  }

  .quote-banner blockquote {
    font-size: 1.25rem;
    max-width: none;
  }

  .map-main {
    min-height: 260px;
  }

  .map-side {
    flex-direction: column;
  }

  .rates-text {
    padding: 58px 12px 24px;
  }

  .rates-card-wrap {
    padding: 0 20px 32px;
  }

  .rates-card {
    max-width: 90%;
    padding: 24px 18px;
    left: 5%;
  }

  table.rate-table {
    font-size: .8rem;
  }

  .booking-sub {
    margin-bottom: 24px;
  }

  .info-row {
    gap: 16px;
  }

  .info-item {
    max-width: none;
  }

  .booking-form {
    padding: 22px 16px;
  }

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

  #bookingFormWrap .ff-t-container {
    grid-template-columns: 1fr;
  }

  .gallery-filters {
    gap: 16px;
  }

  .gallery-filters button {
    font-size: .7rem;
  }

  .gallery-carousel {
    grid-template-columns: 36px 1fr 36px;
    gap: 8px;
  }

  .gallery-nav {
    width: 36px;
    height: 36px;
    font-size: 1.3rem;
  }

  footer .container {
    flex-direction: column;
    text-align: center;
    padding: 24px 12px;
  }

  footer .foot-links {
    justify-content: center;
    flex-wrap: wrap;
    gap: 14px;
  }

  #review-widget {
    right: 12px;
    bottom: 12px;
  }

  .review-card {
    width: min(320px, calc(100vw - 24px));
  }

  .legal-content {
    padding: 52px 20px;
  }

  .legal-content h1 {
    font-size: 1.95rem;
  }

  .legal-content h2 {
    font-size: 1.25rem;
    margin-top: 26px;
  }
}

@media (max-width:520px) {
  .amenities .container {
    grid-template-columns: 1fr;
  }

  .hero-content h1 {
    font-size: 1.95rem;
  }

  .btn,
  .btn-line {
    font-size: .7rem;
    padding: 12px 16px;
  }

  .review-card {
    right: 0;
  }
}