:root {
  --ink: #152521;
  --ink-soft: #4f5d59;
  --forest: #173730;
  --forest-dark: #0d2722;
  --forest-light: #2c5148;
  --stone: #c7a96f;
  --stone-light: #e4d7bd;
  --cream: #f5f1e9;
  --cream-dark: #e9e1d3;
  --white: #ffffff;
  --aqua: #54b3b0;
  --shadow-sm: 0 12px 35px rgba(15, 39, 33, 0.1);
  --shadow-lg: 0 28px 70px rgba(11, 32, 27, 0.2);
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 32px;
  --transition: 260ms cubic-bezier(0.2, 0.7, 0.3, 1);
}

* {
  box-sizing: border-box;
}

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

body {
  position: relative;
  overflow-x: hidden;
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: "DM Sans", sans-serif;
  font-size: 1rem;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

body.lightbox-open {
  overflow: hidden;
}

::selection {
  color: var(--white);
  background: var(--forest-light);
}

img {
  max-width: 100%;
}

a {
  color: inherit;
}

h1,
h2,
h3,
.brand-mark,
.rating-number {
  font-family: "Playfair Display", serif;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h2 {
  margin-bottom: 1.5rem;
  font-size: clamp(2.55rem, 5vw, 4.75rem);
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: -0.04em;
}

h3 {
  font-size: 1.3rem;
  font-weight: 600;
  line-height: 1.25;
}

.skip-link {
  position: fixed;
  z-index: 2000;
  top: -100px;
  left: 1rem;
  padding: 0.7rem 1rem;
  color: var(--white);
  background: var(--forest);
  border-radius: 0 0 8px 8px;
  transition: top var(--transition);
}

.skip-link:focus {
  top: 0;
}

.section {
  padding: 8rem 0;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.2rem;
  color: var(--forest-light);
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 30px;
  height: 1px;
  content: "";
  background: currentColor;
}

.section-lead {
  margin-bottom: 1.4rem;
  color: var(--ink);
  font-size: clamp(1.12rem, 1.6vw, 1.35rem);
  line-height: 1.6;
}

.btn {
  position: relative;
  overflow: hidden;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  transition:
    color var(--transition),
    background-color var(--transition),
    border-color var(--transition),
    transform var(--transition),
    box-shadow var(--transition);
}

.btn i {
  margin-left: 0.45rem;
  transition: transform var(--transition);
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:hover i {
  transform: translate(2px, -2px);
}

.btn-lg {
  min-height: 58px;
  padding: 1rem 1.65rem;
}

.btn-primary {
  color: var(--forest-dark);
  background: var(--stone);
  border-color: var(--stone);
  box-shadow: 0 12px 25px rgba(199, 169, 111, 0.22);
}

.btn-primary:hover,
.btn-primary:focus {
  color: var(--forest-dark);
  background: #d8bd86;
  border-color: #d8bd86;
  box-shadow: 0 16px 35px rgba(199, 169, 111, 0.3);
}

.btn-light {
  color: var(--forest-dark);
  background: var(--white);
  border-color: var(--white);
}

.btn-light:hover,
.btn-light:focus {
  color: var(--forest-dark);
  background: var(--stone-light);
  border-color: var(--stone-light);
}

.btn-outline-dark {
  padding-right: 1.8rem;
  padding-left: 1.8rem;
  color: var(--forest);
  border-color: rgba(23, 55, 48, 0.4);
}

.btn-outline-dark:hover,
.btn-outline-dark:focus {
  color: var(--white);
  background: var(--forest);
  border-color: var(--forest);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-top: 1rem;
  padding-bottom: 0.25rem;
  color: var(--forest);
  border-bottom: 1px solid var(--stone);
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
}

.text-link i {
  transition: transform var(--transition);
}

.text-link:hover i {
  transform: translateX(5px);
}

/* Header */
.site-header {
  padding: 1rem 0;
  border-bottom: 1px solid transparent;
  transition:
    padding var(--transition),
    background-color var(--transition),
    border-color var(--transition),
    box-shadow var(--transition);
}

.site-header.is-scrolled,
.site-header.is-open {
  padding: 0.65rem 0;
  background: rgba(13, 39, 34, 0.96);
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 12px 35px rgba(5, 18, 15, 0.16);
  backdrop-filter: blur(14px);
}

.navbar {
  padding: 0;
}

.navbar-brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0;
  color: var(--white);
  text-decoration: none;
}

.navbar-brand:hover,
.navbar-brand:focus,
.footer-brand:hover,
.footer-brand:focus {
  color: var(--white);
}

.brand-mark {
  display: inline-grid;
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
  color: var(--forest-dark);
  background: var(--stone);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 50%;
  place-items: center;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.05em;
  line-height: 1;
}

.brand-mark--small {
  flex-basis: 40px;
  width: 40px;
  height: 40px;
  font-size: 0.86rem;
}

.brand-copy,
.footer-brand > span:last-child {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-copy strong,
.footer-brand strong {
  font-family: "Playfair Display", serif;
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.brand-copy small,
.footer-brand small {
  margin-top: 0.25rem;
  color: rgba(255, 255, 255, 0.64);
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.navbar-nav {
  gap: 0.25rem;
}

.navbar .nav-link {
  position: relative;
  padding: 0.7rem 0.75rem !important;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.navbar .nav-link::after {
  position: absolute;
  right: 0.75rem;
  bottom: 0.45rem;
  left: 0.75rem;
  height: 1px;
  content: "";
  background: var(--stone);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform var(--transition);
}

.navbar .nav-link:hover,
.navbar .nav-link:focus,
.navbar .nav-link.active {
  color: var(--white);
}

.navbar .nav-link:hover::after,
.navbar .nav-link:focus::after,
.navbar .nav-link.active::after {
  transform: scaleX(1);
  transform-origin: left;
}

.btn-header {
  padding: 0.65rem 1.15rem;
  color: var(--forest-dark);
  background: var(--stone);
  border: 1px solid var(--stone);
}

.btn-header:hover,
.btn-header:focus {
  color: var(--forest-dark);
  background: #d8bd86;
  border-color: #d8bd86;
}

.navbar-toggler {
  display: flex;
  width: 46px;
  height: 42px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 50%;
  box-shadow: none !important;
}

.navbar-toggler span {
  width: 18px;
  height: 1px;
  background: var(--white);
  transition: transform var(--transition), opacity var(--transition);
}

.navbar-toggler[aria-expanded="true"] span:first-child {
  transform: translateY(6px) rotate(45deg);
}

.navbar-toggler[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.navbar-toggler[aria-expanded="true"] span:last-child {
  transform: translateY(-6px) rotate(-45deg);
}

/* Hero */
.hero {
  position: relative;
  display: flex;
  min-height: 92vh;
  min-height: 760px;
  align-items: flex-end;
  overflow: hidden;
  color: var(--white);
}

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

.hero-media {
  background:
    url("../assets/img/villa-billubium-791357477.webp")
    center 48% / cover no-repeat;
  transform: scale(1.02);
  animation: hero-breathe 14s ease-out both;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(5, 21, 18, 0.82) 0%, rgba(7, 26, 22, 0.49) 50%, rgba(7, 26, 22, 0.17) 78%),
    linear-gradient(0deg, rgba(7, 25, 21, 0.66) 0%, transparent 45%);
}

@keyframes hero-breathe {
  from {
    transform: scale(1.09);
  }
  to {
    transform: scale(1.02);
  }
}

.hero-content {
  position: relative;
  z-index: 2;
  padding-top: 9rem;
  padding-bottom: 7rem;
}

.hero .eyebrow {
  margin-bottom: 1.4rem;
  text-shadow: 0 1px 14px rgba(0, 0, 0, 0.22);
}

.hero h1 {
  max-width: 900px;
  margin-bottom: 1.5rem;
  font-size: clamp(4rem, 8vw, 7.8rem);
  font-weight: 600;
  line-height: 0.88;
  letter-spacing: -0.06em;
  text-wrap: balance;
  text-shadow: 0 7px 35px rgba(0, 0, 0, 0.14);
}

.hero-lead {
  max-width: 700px;
  margin-bottom: 2.2rem;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(1.08rem, 1.7vw, 1.35rem);
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.btn-link-light {
  padding: 1rem 0.8rem;
  color: rgba(255, 255, 255, 0.92);
  border: 0;
  text-decoration: none;
}

.btn-link-light:hover,
.btn-link-light:focus {
  color: var(--white);
}

.btn-link-light:hover i {
  transform: translateY(4px);
}

.hero-rating {
  position: absolute;
  top: 9.5rem;
  right: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.55rem 1rem 0.55rem 0.55rem;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  backdrop-filter: blur(12px);
}

.hero-rating .score {
  display: grid;
  width: 42px;
  height: 42px;
  color: var(--forest-dark);
  background: var(--stone);
  border-radius: 50%;
  place-items: center;
  font-size: 0.92rem;
  font-weight: 800;
}

.hero-rating > span:last-child {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}

.hero-rating strong {
  font-size: 0.74rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.hero-rating small {
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.65rem;
}

.hero-scroll {
  position: absolute;
  z-index: 3;
  right: 2.5rem;
  bottom: 2.4rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-decoration: none;
  text-transform: uppercase;
  transform: rotate(90deg);
  transform-origin: bottom right;
}

.hero-scroll i {
  font-size: 1rem;
  animation: nudge 1.8s ease-in-out infinite;
}

@keyframes nudge {
  50% {
    transform: translateY(5px);
  }
}

/* Quick facts */
.fact-bar {
  position: relative;
  z-index: 4;
  color: var(--white);
  background: var(--forest);
}

.fact-item {
  display: flex;
  min-height: 120px;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 1.5rem;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.fact-item:last-child {
  border-right: 0;
}

.fact-item > i {
  color: var(--stone);
  font-size: 1.75rem;
}

.fact-item > span {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}

.fact-item strong {
  font-family: "Playfair Display", serif;
  font-size: 1.1rem;
  font-weight: 600;
}

.fact-item small {
  margin-top: 0.25rem;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* Villa */
.villa-section {
  overflow: hidden;
  background:
    radial-gradient(circle at 92% 8%, rgba(199, 169, 111, 0.12), transparent 27%),
    var(--white);
}

.image-composition {
  position: relative;
  min-height: 650px;
  padding-right: 12%;
  padding-bottom: 12%;
}

.image-main {
  width: 100%;
  height: 590px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.image-float {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 42%;
  height: 310px;
  object-fit: cover;
  border: 8px solid var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
}

.image-note {
  position: absolute;
  bottom: 2.5rem;
  left: -1.5rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 1rem 1.25rem;
  background: var(--white);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
}

.note-icon {
  display: grid;
  width: 44px;
  height: 44px;
  color: var(--forest);
  background: var(--cream);
  border-radius: 50%;
  place-items: center;
  font-size: 1.25rem;
}

.image-note > span:last-child {
  display: flex;
  flex-direction: column;
  line-height: 1.3;
}

.image-note strong {
  font-size: 0.82rem;
}

.image-note small {
  color: var(--ink-soft);
  font-size: 0.68rem;
}

.detail-list {
  display: grid;
  gap: 0.55rem;
  margin: 2rem 0 1.2rem;
  color: var(--ink-soft);
  font-size: 0.93rem;
}

.detail-list div {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.detail-list i {
  margin-top: 0.15rem;
  color: var(--forest-light);
  font-size: 1.05rem;
}

/* Amenities */
.amenities-section {
  background: var(--cream);
}

.section-heading {
  max-width: 710px;
  margin-bottom: 4rem;
}

.section-heading .eyebrow {
  justify-content: center;
}

.section-heading p:last-child {
  color: var(--ink-soft);
  font-size: 1.08rem;
}

.amenity-card {
  height: 100%;
  min-height: 280px;
  padding: 2rem 1.8rem;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(23, 55, 48, 0.08);
  border-radius: var(--radius-md);
  transition:
    transform var(--transition),
    background-color var(--transition),
    border-color var(--transition),
    box-shadow var(--transition);
}

.amenity-card:hover {
  background: var(--white);
  border-color: rgba(199, 169, 111, 0.55);
  box-shadow: var(--shadow-sm);
  transform: translateY(-7px);
}

.amenity-icon {
  display: grid;
  width: 58px;
  height: 58px;
  margin-bottom: 2rem;
  color: var(--forest);
  background: var(--stone-light);
  border-radius: 50%;
  place-items: center;
  font-size: 1.45rem;
  transition: color var(--transition), background-color var(--transition);
}

.amenity-card:hover .amenity-icon {
  color: var(--white);
  background: var(--forest);
}

.amenity-card h3 {
  margin-bottom: 0.9rem;
}

.amenity-card p {
  margin-bottom: 0;
  color: var(--ink-soft);
  font-size: 0.9rem;
  line-height: 1.7;
}

/* Parallax banner */
.escape-banner {
  position: relative;
  display: flex;
  min-height: 760px;
  align-items: center;
  padding: 8rem 0;
  color: var(--white);
  background:
    url("../assets/img/villa-billubium-791357500.webp")
    center / cover fixed no-repeat;
}

.escape-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7, 28, 23, 0.89) 0%, rgba(7, 28, 23, 0.6) 52%, rgba(7, 28, 23, 0.18) 100%),
    linear-gradient(0deg, rgba(7, 28, 23, 0.4), transparent);
}

.escape-banner h2 {
  margin-bottom: 1.6rem;
  color: var(--white);
  font-size: clamp(3.25rem, 6.5vw, 6rem);
}

.escape-banner p:not(.eyebrow) {
  max-width: 640px;
  margin-bottom: 2.2rem;
  color: rgba(255, 255, 255, 0.77);
  font-size: 1.15rem;
}

/* Gallery */
.gallery-section {
  background: var(--white);
}

.gallery-intro {
  margin-bottom: 0.4rem;
  color: var(--ink-soft);
  font-size: 1.05rem;
}

.gallery-grid {
  display: grid;
  grid-auto-flow: dense;
  grid-auto-rows: 280px;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.85rem;
}

.gallery-item {
  position: relative;
  display: block;
  overflow: hidden;
  width: 100%;
  height: 100%;
  padding: 0;
  background: var(--cream-dark);
  border: 0;
  border-radius: var(--radius-sm);
  cursor: zoom-in;
}

.gallery-item--wide {
  grid-column: span 2;
}

.gallery-item--tall {
  grid-row: span 2;
}

.gallery-item.is-hidden {
  display: none;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 700ms cubic-bezier(0.2, 0.7, 0.3, 1), filter var(--transition);
}

.gallery-item::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(0deg, rgba(6, 24, 20, 0.3), transparent 48%);
  opacity: 0;
  transition: opacity var(--transition);
}

.gallery-item:hover img,
.gallery-item:focus img {
  transform: scale(1.055);
}

.gallery-item:hover::after,
.gallery-item:focus::after {
  opacity: 1;
}

.gallery-zoom {
  position: absolute;
  z-index: 2;
  right: 1rem;
  bottom: 1rem;
  display: grid;
  width: 42px;
  height: 42px;
  color: var(--forest);
  background: rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  opacity: 0;
  place-items: center;
  transform: translateY(8px);
  transition: opacity var(--transition), transform var(--transition);
  backdrop-filter: blur(8px);
}

.gallery-item:hover .gallery-zoom,
.gallery-item:focus .gallery-zoom {
  opacity: 1;
  transform: translateY(0);
}

/* Reviews */
.reviews-section {
  overflow: hidden;
  background:
    radial-gradient(circle at 95% 0%, rgba(84, 179, 176, 0.16), transparent 35%),
    var(--forest);
  color: var(--white);
}

.reviews-section .eyebrow {
  color: var(--stone);
}

.reviews-section .section-lead {
  color: rgba(255, 255, 255, 0.7);
}

.rating-summary {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 2.5rem;
}

.rating-number {
  display: grid;
  width: 88px;
  height: 88px;
  color: var(--forest-dark);
  background: var(--stone);
  border-radius: 50%;
  place-items: center;
  font-size: 2.25rem;
  font-weight: 700;
}

.rating-summary > span:last-child {
  display: flex;
  flex-direction: column;
}

.rating-summary strong {
  font-size: 1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.rating-summary small {
  margin-top: 0.2rem;
  color: rgba(255, 255, 255, 0.56);
  font-size: 0.75rem;
}

.review-card {
  position: relative;
  margin: 0;
  padding: clamp(2rem, 5vw, 4.5rem);
  color: var(--ink);
  background: var(--cream);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.review-card > i {
  position: absolute;
  top: 1.25rem;
  right: 2rem;
  color: rgba(199, 169, 111, 0.36);
  font-size: 5rem;
  line-height: 1;
}

.review-card blockquote {
  position: relative;
  z-index: 1;
  margin: 0 0 2rem;
  font-family: "Playfair Display", serif;
  font-size: clamp(1.55rem, 3vw, 2.4rem);
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: -0.02em;
}

.review-card figcaption {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.review-avatar {
  display: grid;
  width: 46px;
  height: 46px;
  color: var(--white);
  background: var(--forest);
  border-radius: 50%;
  place-items: center;
  font-weight: 700;
}

.review-card figcaption > span:last-child {
  display: flex;
  flex-direction: column;
  line-height: 1.35;
}

.review-card figcaption strong {
  font-size: 0.85rem;
}

.review-card figcaption small {
  color: var(--ink-soft);
  font-size: 0.72rem;
}

/* Location */
.location-section {
  overflow: hidden;
}

.location-address {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 2rem 0;
  padding: 1.2rem 1.4rem;
  background: var(--cream);
  border-radius: var(--radius-sm);
}

.location-address > span {
  display: grid;
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  color: var(--white);
  background: var(--forest);
  border-radius: 50%;
  place-items: center;
  font-size: 1.2rem;
}

.location-address div {
  display: flex;
  flex-direction: column;
  line-height: 1.45;
}

.location-address small {
  color: var(--ink-soft);
}

.nearby-list {
  margin-bottom: 1.4rem;
}

.nearby-list div {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  padding: 0.9rem 0;
  border-bottom: 1px solid rgba(21, 37, 33, 0.1);
  font-size: 0.88rem;
}

.nearby-list strong {
  color: var(--forest-light);
  white-space: nowrap;
}

.map-wrap {
  position: relative;
  min-height: 590px;
  padding: 1rem;
  background: var(--cream);
  border-radius: var(--radius-lg);
}

.map-wrap iframe {
  display: block;
  width: 100%;
  height: 558px;
  border: 0;
  border-radius: calc(var(--radius-lg) - 8px);
  filter: saturate(0.68) contrast(1.05);
}

.map-card {
  position: absolute;
  right: 2.5rem;
  bottom: 2.5rem;
  left: 2.5rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 1rem 1.2rem;
  background: rgba(255, 255, 255, 0.94);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(10px);
}

.map-card > span:last-child {
  display: flex;
  flex-direction: column;
  line-height: 1.35;
}

.map-card strong {
  font-family: "Playfair Display", serif;
}

.map-card small {
  color: var(--ink-soft);
  font-size: 0.7rem;
}

/* FAQ */
.faq-section {
  background: var(--cream);
}

.faq-section .col-lg-4 > p:last-child {
  color: var(--ink-soft);
}

.accordion {
  --bs-accordion-bg: transparent;
  --bs-accordion-border-color: rgba(21, 37, 33, 0.13);
  --bs-accordion-btn-focus-box-shadow: none;
  --bs-accordion-active-bg: transparent;
  --bs-accordion-active-color: var(--forest);
}

.accordion-button {
  padding: 1.6rem 0;
  color: var(--ink);
  font-family: "Playfair Display", serif;
  font-size: 1.2rem;
  font-weight: 600;
}

.accordion-button::after {
  width: 2.25rem;
  height: 2.25rem;
  background-color: rgba(23, 55, 48, 0.08);
  background-position: center;
  background-size: 0.9rem;
  border-radius: 50%;
}

.accordion-body {
  padding: 0 3.5rem 1.7rem 0;
  color: var(--ink-soft);
  font-size: 0.92rem;
}

/* Booking CTA */
.booking-section {
  position: relative;
  display: flex;
  min-height: 680px;
  align-items: center;
  padding: 8rem 0;
  color: var(--white);
  background:
    url("../assets/img/villa-billubium-791357516.webp")
    center 62% / cover no-repeat;
}

.booking-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(0deg, rgba(5, 25, 21, 0.88), rgba(7, 27, 23, 0.58)),
    radial-gradient(circle, transparent 0, rgba(4, 20, 17, 0.4) 82%);
}

.booking-section .eyebrow {
  justify-content: center;
}

.booking-section h2 {
  margin-bottom: 1.4rem;
  color: var(--white);
  font-size: clamp(3.3rem, 7vw, 6.3rem);
}

.booking-section p:not(.eyebrow) {
  max-width: 620px;
  margin: 0 auto 2.3rem;
  color: rgba(255, 255, 255, 0.76);
  font-size: 1.1rem;
}

.booking-assurances {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.4rem 2.2rem;
  margin-top: 2.2rem;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.booking-assurances i {
  margin-right: 0.35rem;
  color: var(--stone);
  font-size: 0.95rem;
}

/* Footer */
.site-footer {
  padding: 5rem 0 1.5rem;
  color: var(--white);
  background: var(--forest-dark);
}

.footer-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
  padding-bottom: 4rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.8rem 1.5rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-decoration: none;
  transition: color var(--transition);
}

.footer-links a:hover,
.footer-links a:focus {
  color: var(--stone);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.5rem;
  color: rgba(255, 255, 255, 0.42);
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  font-size: 0.68rem;
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.68);
  text-decoration-color: rgba(199, 169, 111, 0.45);
  text-underline-offset: 3px;
}

.footer-bottom a:hover,
.footer-bottom a:focus {
  color: var(--stone);
}

/* Lightbox */
.lightbox {
  position: fixed;
  z-index: 3000;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5rem 7rem 2.5rem;
  color: var(--white);
  background: rgba(4, 18, 15, 0.96);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
  backdrop-filter: blur(12px);
}

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

.lightbox figure {
  display: flex;
  width: 100%;
  height: 100%;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 0;
}

.lightbox figure img {
  display: block;
  max-width: 100%;
  max-height: calc(100vh - 10rem);
  object-fit: contain;
  border-radius: 6px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.38);
  transform: scale(0.97);
  transition: transform var(--transition);
}

.lightbox.is-active figure img {
  transform: scale(1);
}

.lightbox figcaption {
  display: flex;
  width: min(100%, 1200px);
  justify-content: space-between;
  gap: 2rem;
  padding: 1rem 0;
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.76rem;
}

.lightbox-close,
.lightbox-nav {
  position: absolute;
  z-index: 2;
  display: grid;
  width: 52px;
  height: 52px;
  padding: 0;
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
  place-items: center;
  transition: color var(--transition), background-color var(--transition), transform var(--transition);
}

.lightbox-close:hover,
.lightbox-nav:hover,
.lightbox-close:focus,
.lightbox-nav:focus {
  color: var(--forest-dark);
  background: var(--stone);
  transform: scale(1.05);
}

.lightbox-close {
  top: 1.3rem;
  right: 1.5rem;
}

.lightbox-prev {
  left: 1.5rem;
}

.lightbox-next {
  right: 1.5rem;
}

/* Responsive */
@media (min-width: 1400px) {
  .container {
    max-width: 1320px;
  }
}

@media (max-width: 1199.98px) {
  .gallery-grid {
    grid-auto-rows: 240px;
  }

  .image-main {
    height: 530px;
  }

  .image-composition {
    min-height: 590px;
  }
}

@media (max-width: 991.98px) {
  .section {
    padding: 6.5rem 0;
  }

  .site-header,
  .site-header.is-scrolled,
  .site-header.is-open {
    padding: 0.7rem 0;
    background: rgba(13, 39, 34, 0.96);
    backdrop-filter: blur(14px);
  }

  .navbar-collapse {
    max-height: calc(100vh - 80px);
    padding: 1.5rem 0 0.75rem;
    overflow-y: auto;
  }

  .navbar-nav {
    align-items: stretch !important;
    gap: 0.2rem;
  }

  .navbar .nav-link {
    padding: 0.8rem 0 !important;
    font-size: 0.9rem;
  }

  .navbar .nav-link::after {
    right: auto;
    bottom: 0.55rem;
    left: 0;
    width: 28px;
  }

  .btn-header {
    display: block;
    margin-top: 0.7rem;
    text-align: center;
  }

  .hero {
    min-height: 720px;
  }

  .hero-content {
    padding-top: 10rem;
    padding-bottom: 5rem;
  }

  .hero-rating {
    position: static;
    width: max-content;
    margin-bottom: 2rem;
  }

  .hero h1 {
    font-size: clamp(4rem, 12vw, 6.6rem);
  }

  .hero-scroll {
    display: none;
  }

  .fact-item:nth-child(2) {
    border-right: 0;
  }

  .fact-item:nth-child(-n + 2) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .image-composition {
    max-width: 700px;
    margin: 0 auto 1rem;
  }

  .gallery-grid {
    grid-auto-rows: 250px;
    grid-template-columns: repeat(2, 1fr);
  }

  .escape-banner {
    min-height: 680px;
    background-attachment: scroll;
  }

  .map-wrap {
    min-height: 520px;
  }

  .map-wrap iframe {
    height: 488px;
  }

  .footer-main {
    align-items: flex-start;
  }

  .footer-links {
    max-width: 380px;
  }
}

@media (max-width: 767.98px) {
  body {
    line-height: 1.68;
  }

  h2 {
    font-size: clamp(2.5rem, 12vw, 3.6rem);
  }

  .section {
    padding: 5.5rem 0;
  }

  .brand-copy small {
    display: none;
  }

  .hero {
    min-height: 720px;
    align-items: flex-end;
  }

  .hero-media {
    background-position: 62% center;
  }

  .hero-overlay {
    background:
      linear-gradient(0deg, rgba(5, 22, 18, 0.88) 0%, rgba(7, 26, 22, 0.55) 60%, rgba(7, 26, 22, 0.25) 100%);
  }

  .hero-content {
    padding-top: 8rem;
    padding-bottom: 4rem;
  }

  .hero h1 {
    margin-bottom: 1.3rem;
    font-size: clamp(3.7rem, 17vw, 5.5rem);
  }

  .hero-lead {
    font-size: 1rem;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
    gap: 0.65rem;
  }

  .hero-actions .btn-primary {
    width: 100%;
  }

  .btn-link-light {
    align-self: flex-start;
  }

  .fact-item {
    min-height: 105px;
    justify-content: flex-start;
    gap: 0.75rem;
    padding: 1.2rem 0.9rem;
  }

  .fact-item > i {
    font-size: 1.4rem;
  }

  .fact-item strong {
    font-size: 0.95rem;
  }

  .fact-item small {
    font-size: 0.58rem;
  }

  .image-composition {
    min-height: 500px;
    padding-right: 8%;
    padding-bottom: 14%;
  }

  .image-main {
    height: 450px;
    border-radius: var(--radius-md);
  }

  .image-float {
    width: 44%;
    height: 210px;
    border-width: 5px;
  }

  .image-note {
    bottom: 1.7rem;
    left: -0.4rem;
    padding: 0.8rem;
  }

  .note-icon {
    width: 38px;
    height: 38px;
    font-size: 1rem;
  }

  .image-note strong {
    max-width: 145px;
    font-size: 0.7rem;
  }

  .image-note small {
    font-size: 0.59rem;
  }

  .amenity-card {
    min-height: 0;
  }

  .escape-banner {
    min-height: 620px;
    padding: 6rem 0;
    background-position: 63% center;
  }

  .escape-overlay {
    background: linear-gradient(90deg, rgba(7, 28, 23, 0.91), rgba(7, 28, 23, 0.52));
  }

  .escape-banner h2 {
    font-size: clamp(3rem, 14vw, 4.5rem);
  }

  .gallery-grid {
    grid-auto-rows: 220px;
    gap: 0.6rem;
  }

  .gallery-item--wide {
    grid-column: span 2;
  }

  .gallery-item--tall {
    grid-row: span 1;
  }

  .gallery-zoom {
    right: 0.65rem;
    bottom: 0.65rem;
    width: 36px;
    height: 36px;
    opacity: 1;
    transform: none;
  }

  .rating-summary {
    margin-bottom: 1rem;
  }

  .review-card {
    border-radius: var(--radius-md);
  }

  .review-card > i {
    top: 0.8rem;
    right: 1.2rem;
    font-size: 4rem;
  }

  .map-wrap {
    min-height: 440px;
    padding: 0.65rem;
    border-radius: var(--radius-md);
  }

  .map-wrap iframe {
    height: 418px;
    border-radius: calc(var(--radius-md) - 6px);
  }

  .map-card {
    right: 1.4rem;
    bottom: 1.4rem;
    left: 1.4rem;
  }

  .booking-section {
    min-height: 640px;
    padding: 6rem 0;
  }

  .booking-section h2 {
    font-size: clamp(3rem, 14vw, 4.8rem);
  }

  .booking-section .btn {
    width: 100%;
  }

  .footer-main {
    align-items: flex-start;
    flex-direction: column;
    padding-bottom: 3rem;
  }

  .footer-links {
    justify-content: flex-start;
  }

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

  .lightbox {
    padding: 4.5rem 1rem 5.8rem;
  }

  .lightbox figure img {
    max-height: calc(100vh - 11rem);
  }

  .lightbox figcaption {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.2rem;
  }

  .lightbox-nav {
    top: auto;
    bottom: 1rem;
    width: 48px;
    height: 48px;
  }

  .lightbox-prev {
    left: calc(50% - 58px);
  }

  .lightbox-next {
    right: calc(50% - 58px);
  }

  .lightbox-close {
    top: 0.8rem;
    right: 0.8rem;
    width: 46px;
    height: 46px;
  }
}

@media (max-width: 459.98px) {
  .navbar-brand {
    gap: 0.55rem;
  }

  .brand-mark {
    flex-basis: 42px;
    width: 42px;
    height: 42px;
    font-size: 0.92rem;
  }

  .brand-copy strong {
    font-size: 0.93rem;
  }

  .gallery-grid {
    display: grid;
    grid-auto-rows: 235px;
    grid-template-columns: 1fr;
  }

  .gallery-item--wide {
    grid-column: span 1;
  }

  .nearby-list div {
    gap: 1rem;
    font-size: 0.8rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .escape-banner {
    background-attachment: scroll;
  }
}
