/* ═══════════════════════════════════════════════════════
   The Villa People — Modern Theme
   Mobile-first · Soft palette · Sophisticated
   ═══════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;1,300;1,400;1,500&display=swap');

/* ── Font Faces ──────────────────────────────────────── */
@font-face {
  font-family: 'Conv_PinyonScript-Regular';
  src: url('../fonts/PinyonScript-Regular.woff') format('woff'),
       url('../fonts/PinyonScript-Regular.ttf')  format('truetype');
  font-weight: normal; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Conv_FuturaCondensedMedium';
  src: url('../fonts/FuturaCondensedMedium.woff') format('woff'),
       url('../fonts/FuturaCondensedMedium.ttf')  format('truetype');
  font-weight: normal; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Conv_FuturaLight';
  src: url('../fonts/FuturaLight.woff') format('woff'),
       url('../fonts/FuturaLight.ttf')  format('truetype');
  font-weight: normal; font-style: normal; font-display: swap;
}

/* ── Design Tokens ───────────────────────────────────── */
:root {
  --bg:           #FAFAF7;
  --bg-warm:      #F5F0E8;
  --bg-card:      #EDE8DF;
  --text:         #2E2B27;
  --text-soft:    #7A7469;
  --text-light:   #ADA9A0;
  --sage:         #8A9B7A;
  --terra:        #BB7B63;
  --border:       #DDD8CF;
  --border-light: #EDE8DF;
  --header-bg:    #242120;
  --sidebar-bg:   #F8F4EE;

  --serif:     'Cormorant Garamond', Georgia, serif;
  --script:    'Conv_PinyonScript-Regular', cursive;
  --futura:    'Conv_FuturaLight', 'Futura', sans-serif;
  --condensed: 'Conv_FuturaCondensedMedium', 'Futura', sans-serif;

  --sidebar-w:  240px;
  --max-w:      1160px;
  --header-h:   auto;
  --r:          3px;
  --shadow:     0 2px 20px rgba(46, 43, 39, 0.09);
  --t:          0.22s ease;
}

/* ── Reset ───────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--futura);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; height: auto; border: none; display: block; }
a, a:link, a:visited { color: inherit; text-decoration: none; outline: none; }
a:hover { text-decoration: none; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, h5 {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.2;
  margin: 0 0 0.5em;
  color: var(--text);
}

/* ═══════════════════════════════════════════════════════
   HEADER — three zones: utility bar / logo band / nav bar
   ═══════════════════════════════════════════════════════ */
.tvp-header {
  position: sticky;
  top: 0;
  z-index: 900;
  background: #FDFAF6;
  border-bottom: 1px solid var(--border);
  box-shadow: 0 2px 18px rgba(46,43,39,0.07);
}

/* ── 1. Utility bar ──────────────────────────────────── */
.tvp-header__utility {
  border-bottom: 1px solid var(--border);
  background: #F5F0E8;
}
.tvp-header__utility-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 6px 24px;
}
.tvp-header__tagline {
  font-family: var(--futura);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-light);
}
.tvp-header__utility-right {
  display: flex;
  align-items: center;
  gap: 18px;
}
.tvp-header__contact-link {
  font-family: var(--futura);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--terra);
  transition: opacity var(--t);
}
.tvp-header__contact-link:hover { opacity: 0.7; }

/* Language switcher */
.tvp-lang {
  display: flex;
  align-items: center;
  gap: 4px;
}
.tvp-lang__link {
  font-family: var(--futura);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-light);
  padding: 2px 6px;
  border: 1px solid transparent;
  border-radius: 2px;
  transition: all var(--t);
  text-decoration: none;
}
.tvp-lang__link:hover {
  color: var(--text);
  border-color: var(--border);
  background: rgba(46,43,39,0.04);
}
.tvp-lang__link--active {
  color: var(--text);
  border-color: var(--border);
  cursor: default;
  pointer-events: none;
}
.tvp-lang__sep {
  color: var(--border);
  font-size: 10px;
  user-select: none;
}

/* ── 2. Logo band ────────────────────────────────────── */
.tvp-header__brand {
  display: flex;
  justify-content: center;
  padding: 18px 24px 14px;
}
.tvp-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  text-decoration: none;
  transition: opacity var(--t);
}
.tvp-logo:hover { opacity: 0.75; }

.tvp-logo__script {
  font-family: var(--script);
  font-size: clamp(32px, 5vw, 52px);
  color: var(--text);
  letter-spacing: 0.01em;
  line-height: 1;
  display: block;
}
.tvp-logo__rule {
  display: block;
  width: 90px;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--terra), transparent);
}
.tvp-logo__sub {
  font-family: var(--futura);
  font-size: 9px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--text-light);
  display: block;
}

/* ── 3. Nav bar ──────────────────────────────────────── */
.tvp-header__nav-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  border-top: 1px solid var(--border);
  background: #FDFAF6;
  padding: 0 24px;
  position: relative;
}

/* Top navigation */
.tvp-topnav {
  display: none;
  align-items: center;
  gap: 2px;
}
@media (min-width: 900px) { .tvp-topnav { display: flex; } }

.tvp-topnav > a,
.tvp-topnav > .has-sub > a {
  font-family: var(--futura);
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-soft);
  padding: 12px 14px;
  display: block;
  transition: color var(--t);
  position: relative;
}
.tvp-topnav > a::after,
.tvp-topnav > .has-sub > a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 14px; right: 14px;
  height: 1px;
  background: var(--terra);
  transform: scaleX(0);
  transition: transform var(--t);
}
.tvp-topnav > a:hover,
.tvp-topnav > .has-sub:hover > a {
  color: var(--text);
}
.tvp-topnav > a:hover::after,
.tvp-topnav > .has-sub:hover > a::after {
  transform: scaleX(1);
}

/* Dropdown arrow */
.tvp-topnav .has-sub > a > span::after,
.tvp-topnav .has-sub:first-child > a {
  /* arrow via padding trick */
}
.tvp-topnav .has-sub { position: relative; }
.tvp-topnav .has-sub > a { padding-right: 20px; }
.tvp-topnav .has-sub > a::before {
  content: '▾';
  position: absolute;
  right: 7px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 8px;
  color: var(--text-light);
}

.tvp-topnav .sub-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 190px;
  background: #FDFAF6;
  border: 1px solid var(--border);
  border-top: 2px solid var(--terra);
  padding: 6px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  transition: all var(--t);
  box-shadow: 0 12px 32px rgba(46,43,39,0.12);
  z-index: 10;
}
.tvp-topnav .has-sub:hover .sub-menu {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.tvp-topnav .sub-menu a {
  display: block;
  padding: 8px 18px;
  font-family: var(--futura);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-soft);
  transition: color var(--t), background var(--t);
}
.tvp-topnav .sub-menu a:hover {
  color: var(--terra);
  background: rgba(187, 123, 99, 0.05);
}

/* Hamburger (mobile only) */
.tvp-hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  padding: 6px;
  background: none;
  border: none;
  cursor: pointer;
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
}
@media (min-width: 900px) { .tvp-hamburger { display: none; } }

.tvp-hamburger span {
  display: block;
  width: 100%;
  height: 1.5px;
  background: var(--text-soft);
  border-radius: 1px;
  transition: transform 0.2s ease, opacity 0.15s ease;
}
body.menu-open .tvp-hamburger span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
body.menu-open .tvp-hamburger span:nth-child(2) { opacity: 0; transform: scaleX(0); }
body.menu-open .tvp-hamburger span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ═══════════════════════════════════════════════════════
   HERO SLIDER
   ═══════════════════════════════════════════════════════ */
.tvp-hero {
  position: relative;
  overflow: hidden;
  height: clamp(180px, 36vw, 440px);
  background: var(--bg-card);
}
.tvp-hero .flexslider {
  margin: 0; border: none; border-radius: 0;
  background: transparent; box-shadow: none;
}
.tvp-hero .flexslider .slides img {
  width: 100%;
  height: clamp(180px, 36vw, 440px);
  object-fit: cover;
  display: block;
}
.tvp-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(36, 33, 32, 0.18) 0%,
    transparent 35%,
    rgba(36, 33, 32, 0.08) 100%
  );
  pointer-events: none;
  z-index: 1;
}
/* FlexSlider nav arrows */
.tvp-hero .flex-direction-nav a {
  opacity: 0;
  z-index: 2;
  transition: opacity var(--t);
  text-shadow: none;
  color: rgba(245,240,232,0.8);
}
.tvp-hero:hover .flex-direction-nav a { opacity: 0.85; }

/* ═══════════════════════════════════════════════════════
   BODY LAYOUT: Sidebar + Main
   ═══════════════════════════════════════════════════════ */
.tvp-wrap {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  min-height: 55vh;
}
@media (min-width: 768px) {
  .tvp-wrap {
    grid-template-columns: var(--sidebar-w) 1fr;
    align-items: start;
  }
}

/* ── Sidebar (desktop) ───────────────────────────────── */
.tvp-aside {
  display: none;
  background: var(--sidebar-bg);
  border-right: 1px solid var(--border);
}
@media (min-width: 768px) {
  .tvp-aside {
    display: block;
    position: sticky;
    top: 0;
    max-height: 100vh;
    overflow-y: auto;
  }
}

/* ── Mobile Drawer ───────────────────────────────────── */
.tvp-drawer {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: min(270px, 82vw);
  background: var(--sidebar-bg);
  border-right: 1px solid var(--border);
  z-index: 980;
  overflow-y: auto;
  transform: translateX(-100%);
  transition: transform 0.28s cubic-bezier(0.4, 0, 0.2, 1);
}
@media (min-width: 768px) { .tvp-drawer { display: none; } }
body.menu-open .tvp-drawer { transform: translateX(0); }

/* Overlay */
.tvp-overlay {
  position: fixed;
  inset: 0;
  background: rgba(36, 33, 32, 0.48);
  z-index: 970;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--t), visibility var(--t);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}
@media (min-width: 768px) { .tvp-overlay { display: none; } }
body.menu-open .tvp-overlay { opacity: 1; visibility: visible; }

/* ── Sidebar Navigation ──────────────────────────────── */
.tvp-sidenav {
  padding: 24px 0 40px;
}

.tvp-sidenav__label {
  display: block;
  font-family: var(--futura);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-light);
  padding: 0 22px 14px;
  border-bottom: 1px solid var(--border-light);
  margin-bottom: 6px;
}

.tvp-sidenav__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 22px;
  font-family: var(--futura);
  font-size: 18px;
  color: var(--text-soft);
  border-left: 2px solid transparent;
  transition: color var(--t), background var(--t),
              border-color var(--t), padding-left var(--t);
}
.tvp-sidenav__link::after {
  content: '→';
  font-size: 13px;
  opacity: 0;
  transition: opacity var(--t), transform var(--t);
}
.tvp-sidenav__link:hover {
  color: var(--text);
  background: var(--bg-warm);
  border-left-color: var(--terra);
  padding-left: 27px;
}
.tvp-sidenav__link:hover::after {
  opacity: 1;
  transform: translateX(3px);
}

/* ═══════════════════════════════════════════════════════
   MAIN CONTENT AREA
   ═══════════════════════════════════════════════════════ */
.tvp-main {
  padding: 32px 22px 64px;
  animation: tvpFadeUp 0.35s ease both;
}
@media (min-width: 600px)  { .tvp-main { padding: 38px 32px 72px; } }
@media (min-width: 900px)  { .tvp-main { padding: 44px 48px 80px; } }
@media (min-width: 1100px) { .tvp-main { padding: 48px 56px 88px; } }

@keyframes tvpFadeUp {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ═══════════════════════════════════════════════════════
   HOMEPAGE
   ═══════════════════════════════════════════════════════ */
.tvp-home-title {
  font-family: var(--script);
  font-size: clamp(36px, 6vw, 58px);
  color: var(--text-soft);
  line-height: 1.05;
  margin-bottom: 20px;
}

.tvp-home-lead {
  max-width: 600px;
  font-size: 16px;
  color: var(--text-soft);
  line-height: 1.8;
  margin-bottom: 0;
}

.tvp-home-founders {
  margin: 28px 0 0;
  padding: 22px 24px;
  background: var(--bg-warm);
  border-left: 2px solid var(--terra);
  border-radius: 0 var(--r) var(--r) 0;
  max-width: 560px;
}
.tvp-home-founders p {
  font-style: italic;
  font-size: 15px;
  color: var(--text-soft);
  margin: 0;
}

.tvp-home-about {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  margin-top: 40px;
  padding-top: 40px;
  border-top: 1px solid var(--border-light);
}
@media (min-width: 640px) {
  .tvp-home-about { grid-template-columns: 1fr 220px; align-items: start; }
}

.tvp-home-about__text p {
  font-size: 15.5px;
  color: var(--text-soft);
  line-height: 1.8;
  margin-bottom: 1em;
}

.tvp-home-about__img img {
  width: 100%;
  border-radius: var(--r);
  box-shadow: var(--shadow);
}

/* Country grid */
.tvp-section-label {
  font-family: var(--futura);
  font-size: 9.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.tvp-section-label::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border-light);
}

.tvp-section-title {
  font-family: var(--script);
  font-size: clamp(32px, 5vw, 48px);
  color: var(--text-soft);
  line-height: 1;
  margin-bottom: 28px;
}

.tvp-country-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
@media (min-width: 480px) { .tvp-country-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 900px) { .tvp-country-grid { grid-template-columns: repeat(4, 1fr); } }

.tvp-country-tile {
  position: relative;
  border-radius: var(--r);
  overflow: hidden;
  aspect-ratio: 4/3;
  display: block;
}
.tvp-country-tile img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.42s ease;
  display: block;
}
.tvp-country-tile:hover img { transform: scale(1.06); }
.tvp-country-tile::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(transparent 40%, rgba(36,33,32,0.62) 100%);
}
.tvp-country-tile__name {
  position: absolute;
  bottom: 11px;
  left: 13px;
  z-index: 1;
  font-family: var(--futura);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(245,240,232,0.95);
}

/* ═══════════════════════════════════════════════════════
   DESTINATION LIST (component)
   ═══════════════════════════════════════════════════════ */
.tvp-page-heading {
  font-family: var(--script);
  font-size: clamp(34px, 5vw, 50px);
  color: var(--text-soft);
  line-height: 1;
  margin-bottom: 30px;
}

.tvp-dest-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
@media (min-width: 520px) { .tvp-dest-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 860px) { .tvp-dest-grid { grid-template-columns: repeat(3, 1fr); } }

.tvp-dest-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--r);
  overflow: hidden;
  transition: transform var(--t), box-shadow var(--t);
}
.tvp-dest-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}
.tvp-dest-card__thumb {
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--bg-card);
}
.tvp-dest-card__thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.38s ease;
  display: block;
}
.tvp-dest-card:hover .tvp-dest-card__thumb img { transform: scale(1.05); }
.tvp-dest-card__body { padding: 16px 18px 20px; }
.tvp-dest-card__name {
  font-family: var(--futura);
  font-size: 17px;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: var(--text);
  margin-bottom: 7px;
}
.tvp-dest-card__desc {
  font-size: 15px;
  color: var(--text-soft);
  line-height: 1.65;
}
.tvp-dest-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 13px;
  font-family: var(--futura);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--terra);
  transition: gap var(--t);
}
.tvp-dest-card__cta:hover { gap: 11px; text-decoration: none; }

/* ═══════════════════════════════════════════════════════
   DESTINATION DETAIL (component)
   ═══════════════════════════════════════════════════════ */
.tvp-dest-detail__hd {
  font-family: var(--script);
  font-size: clamp(34px, 5vw, 50px);
  color: var(--text-soft);
  line-height: 1;
  margin-bottom: 24px;
}

/* Destination photos */
.tvp-dest-photos {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
}
.tvp-dest-photos a {
  flex: 1 1 100px;
  max-width: 170px;
  border-radius: var(--r);
  overflow: hidden;
  aspect-ratio: 4/3;
  display: block;
}
.tvp-dest-photos img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}
.tvp-dest-photos a:hover img { transform: scale(1.06); }

.tvp-dest-desc {
  max-width: 680px;
  font-size: 15.5px;
  color: var(--text-soft);
  line-height: 1.8;
  margin-bottom: 32px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--border-light);
}

/* Villa count */
.tvp-villa-count {
  font-family: var(--futura);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 22px;
}
.tvp-villa-count strong { color: var(--text-soft); }

/* Villa cards */
.tvp-villa-list { display: flex; flex-direction: column; gap: 22px; }

.tvp-villa-card {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--r);
  overflow: hidden;
  transition: box-shadow var(--t);
}
@media (min-width: 560px) {
  .tvp-villa-card { grid-template-columns: 180px 1fr; }
}
.tvp-villa-card:hover { box-shadow: var(--shadow); }

.tvp-villa-card__thumb {
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--bg-card);
}
@media (min-width: 560px) { .tvp-villa-card__thumb { aspect-ratio: auto; } }
.tvp-villa-card__thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.38s ease;
  display: block;
}
.tvp-villa-card:hover .tvp-villa-card__thumb img { transform: scale(1.05); }

.tvp-villa-card__body { padding: 20px 22px 22px; }

.tvp-villa-card__name {
  font-family: var(--futura);
  font-size: 17px;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: var(--text);
  margin-bottom: 8px;
}
.tvp-villa-card__name a {
  color: inherit;
  transition: color var(--t);
}
.tvp-villa-card__name a:hover { color: var(--terra); }

.tvp-villa-card__desc {
  font-size: 15.5px;
  color: var(--text-soft);
  line-height: 1.65;
  margin-bottom: 12px;
}

.tvp-villa-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--border-light);
}
.tvp-villa-card__meta-item {
  font-family: var(--futura);
  font-size: 10.5px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--text-soft);
}
.tvp-villa-card__meta-item strong {
  display: block;
  font-size: 9px;
  letter-spacing: 0.14em;
  color: var(--text-light);
  margin-bottom: 2px;
}

.tvp-villa-card__details {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--border-light);
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
@media (min-width: 480px) {
  .tvp-villa-card__details { grid-template-columns: 1fr 1fr; }
}
.tvp-villa-card__detail-section { font-size: 13px; color: var(--text-soft); line-height: 1.55; }
.tvp-villa-card__detail-section > strong {
  display: block;
  font-family: var(--futura);
  font-size: 9px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 4px;
  font-weight: 400;
}

/* ═══════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════ */
.tvp-footer {
  background: var(--header-bg);
  padding: 52px 20px 30px;
  margin-top: 40px;
}

.tvp-footer__inner {
  max-width: var(--max-w);
  margin: 0 auto;
}

.tvp-footer__cols {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px 20px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
@media (min-width: 560px)  { .tvp-footer__cols { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 800px)  { .tvp-footer__cols { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 1000px) { .tvp-footer__cols { grid-template-columns: repeat(7, 1fr); } }

.tvp-footer__col-title {
  font-family: var(--futura);
  font-size: 9.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.tvp-footer__col-title a {
  color: rgba(245,240,232,0.85);
  transition: color var(--t);
}
.tvp-footer__col-title a:hover { color: #F5F0E8; }

.tvp-footer__col ul li { margin-bottom: 4px; }
.tvp-footer__col ul li a {
  font-family: var(--futura);
  font-size: 12px;
  color: rgba(245,240,232,0.38);
  line-height: 1.6;
  transition: color var(--t);
}
.tvp-footer__col ul li a:hover { color: rgba(245,240,232,0.78); }

.tvp-footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 24px;
  font-family: var(--futura);
  font-size: 9.5px;
  letter-spacing: 0.1em;
  color: rgba(245,240,232,0.25);
}
.tvp-footer__bottom a {
  color: rgba(245,240,232,0.25);
  transition: color var(--t);
}
.tvp-footer__bottom a:hover { color: rgba(245,240,232,0.55); }

.tvp-footer__social { display: flex; align-items: center; gap: 10px; }
.tvp-footer__social a { opacity: 0.35; transition: opacity var(--t); }
.tvp-footer__social a:hover { opacity: 0.75; }
.tvp-footer__social img { width: 17px; height: 17px; display: inline-block; }

/* ═══════════════════════════════════════════════════════
   STATIC PAGE STYLES  (backward compat)
   ═══════════════════════════════════════════════════════ */
/* Generic page heading from old templates */
.searcvilla-hd,
.concierge-hd,
.thevilla-hd,
.gallery-hd {
  font-family: var(--script) !important;
  font-size: 46px !important;
  font-weight: normal !important;
  color: var(--text-soft) !important;
  line-height: 1;
  margin-bottom: 20px;
}

.concierge-wrap,
.thevilla-wrap,
.searcvilla-wrap,
.gallery-wrap {
  max-width: 100%;
}
.concierge-wrap p,
.thevilla-wrap p,
.searcvilla-wrap p {
  font-size: 15.5px;
  color: var(--text-soft);
  line-height: 1.8;
  margin-bottom: 1.2em;
}
.concierge-wrap img,
.thevilla-wrap img,
.searcvilla-wrap img {
  border-radius: var(--r);
  box-shadow: var(--shadow);
  border: none !important;
}

/* Inner layout helpers from old pages */
.inner-main { max-width: 100%; }
.thevilla-left { width: auto; float: none; }
.thevilla-right { width: auto; float: none; }

/* Contact / form-ish pages */
.contact-bx,
.cmt-bx { max-width: 100%; }
input[type="text"],
input[type="email"],
textarea {
  font-family: var(--futura);
  font-size: 14px;
  color: var(--text);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 10px 14px;
  width: 100%;
  outline: none;
  transition: border-color var(--t);
}
input[type="text"]:focus,
input[type="email"]:focus,
textarea:focus { border-color: var(--sage); }

/* Destination list page wrapper (country-listing.htm) */
.dest-intro {
  max-width: 680px;
  font-size: 15.5px;
  color: var(--text-soft);
  line-height: 1.8;
  margin-bottom: 28px;
}

/* ═══════════════════════════════════════════════════════
   LIGHTBOX / FLEXSLIDER OVERRIDES
   ═══════════════════════════════════════════════════════ */
.flexslider { margin: 0; border: none; border-radius: 0; box-shadow: none; background: none; }
.lightboxOverlay { opacity: 0.88 !important; }
/* Lightbox: undo global img rules that distort the modal image.
   max-width:none lets the JS set the real width; height:auto lets the
   browser keep the aspect ratio so the JS reads the correct proportions
   when calculating sizeContainer(). */
.lb-image {
  max-width: none !important;
  height: auto !important;
  width: auto;
}

/* ═══════════════════════════════════════════════════════
   UTILITIES
   ═══════════════════════════════════════════════════════ */
.tvp-divider {
  height: 1px;
  background: var(--border-light);
  margin: 32px 0;
}
.clear { clear: both; height: 0; line-height: 0; font-size: 0; margin: 0; padding: 0; }

/* ═══════════════════════════════════════════════════════
   VILLA DETAIL PAGE
   ═══════════════════════════════════════════════════════ */

/* Breadcrumb */
.tvp-breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  font-family: var(--futura);
  font-size: 10.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 24px;
}
.tvp-breadcrumb a {
  color: var(--text-light);
  transition: color var(--t);
}
.tvp-breadcrumb a:hover { color: var(--terra); }
.tvp-breadcrumb span:last-child { color: var(--text-soft); }

/* Villa name + location */
.tvp-villa-detail__name {
  font-family: var(--script);
  font-size: clamp(38px, 6vw, 62px);
  color: var(--text-soft);
  line-height: 1;
  margin-bottom: 8px;
}

.tvp-villa-detail__location {
  font-family: var(--futura);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 28px;
}

/* Photo gallery — main image left, scrollable thumbnail strip right */
.tvp-villa-detail__gallery {
  display: flex;
  gap: 8px;
  margin-bottom: 36px;
  align-items: stretch;
}

.tvp-villa-detail__gallery-main {
  flex: 1 1 0;
  min-width: 0;
  display: block;
  position: relative;
  border-radius: var(--r);
  overflow: hidden;
  aspect-ratio: 4/3;
}
.tvp-villa-detail__gallery-main img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
  display: block;
}
.tvp-villa-detail__gallery-main:hover img { transform: scale(1.03); }

.tvp-villa-detail__gallery-thumbs {
  flex: 0 0 110px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  overflow-y: auto;
  max-height: 420px;
  scrollbar-width: thin;
  scrollbar-color: var(--border) transparent;
  padding-right: 2px;
}
.tvp-villa-detail__gallery-thumbs::-webkit-scrollbar { width: 4px; }
.tvp-villa-detail__gallery-thumbs::-webkit-scrollbar-track { background: transparent; }
.tvp-villa-detail__gallery-thumbs::-webkit-scrollbar-thumb { background: var(--border); border-radius: 2px; }

.tvp-villa-detail__gallery-thumbs a {
  flex: 0 0 auto;
  display: block;
  border-radius: calc(var(--r) - 1px);
  overflow: hidden;
  aspect-ratio: 4/3;
  opacity: 0.82;
  transition: opacity 0.2s, transform 0.2s;
}
.tvp-villa-detail__gallery-thumbs a:hover {
  opacity: 1;
  transform: scale(1.03);
}
.tvp-villa-detail__gallery-thumbs img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}

/* Photo count badge — visible on mobile only */
.tvp-villa-detail__photo-count {
  display: none;
  position: absolute;
  bottom: 10px;
  right: 10px;
  background: rgba(0,0,0,0.52);
  color: #fff;
  font-family: var(--futura);
  font-size: 11px;
  letter-spacing: 0.08em;
  padding: 4px 9px 4px 7px;
  border-radius: 20px;
  align-items: center;
  gap: 5px;
  pointer-events: none;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

@media (max-width: 600px) {
  .tvp-villa-detail__gallery-thumbs {
    display: none;
  }
  .tvp-villa-detail__gallery-main {
    aspect-ratio: 16/9;
  }
  .tvp-villa-detail__photo-count {
    display: flex;
  }
}

/* Body layout: main content + sidebar */
.tvp-villa-detail__body {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  align-items: start;
}
@media (min-width: 700px) {
  .tvp-villa-detail__body {
    grid-template-columns: 1fr 240px;
  }
}

/* Highlights bar */
.tvp-villa-detail__highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  background: var(--bg-warm);
  border: 1px solid var(--border);
  border-radius: var(--r);
  overflow: hidden;
  margin-bottom: 32px;
}
.tvp-villa-detail__highlight {
  flex: 1 1 140px;
  padding: 16px 22px;
  border-right: 1px solid var(--border);
}
.tvp-villa-detail__highlight:last-child { border-right: none; }
.tvp-villa-detail__highlight-label {
  display: block;
  font-family: var(--futura);
  font-size: 9.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 5px;
}
.tvp-villa-detail__highlight-value {
  display: block;
  font-family: var(--futura);
  font-size: 16px;
  color: var(--text);
}

/* Content sections */
.tvp-villa-detail__section {
  margin-bottom: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--border-light);
}
.tvp-villa-detail__section:last-child {
  border-bottom: none;
  margin-bottom: 0;
}
.tvp-villa-detail__section-title {
  font-family: var(--futura);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-light);
  font-weight: 400;
  margin-bottom: 14px;
}
.tvp-villa-detail__text {
  font-size: 17px;
  color: var(--text-soft);
  line-height: 1.8;
}
.tvp-villa-detail__text p { margin-bottom: 0.9em; }
.tvp-villa-detail__text ul,
.tvp-villa-detail__text ol {
  padding-left: 18px;
  list-style: disc;
}
.tvp-villa-detail__text li { margin-bottom: 4px; }

/* Sidebar */
.tvp-villa-detail__sidebar {
  position: sticky;
  top: 24px;
}

.tvp-villa-detail__enquire {
  background: var(--header-bg);
  border-radius: var(--r);
  padding: 24px;
  margin-bottom: 14px;
  text-align: center;
}
.tvp-villa-detail__enquire-label {
  font-family: var(--futura);
  font-size: 10.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(245,240,232,0.5);
  margin-bottom: 14px;
}
.tvp-villa-detail__enquire-btn {
  display: inline-block;
  background: var(--terra);
  color: #F5F0E8;
  font-family: var(--futura);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 12px 22px;
  border-radius: var(--r);
  transition: background var(--t), transform var(--t);
}
.tvp-villa-detail__enquire-btn:hover {
  background: #a96d56;
  transform: translateY(-1px);
}

.tvp-villa-detail__back {
  text-align: center;
}
.tvp-villa-detail__back a {
  font-family: var(--futura);
  font-size: 10.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-light);
  transition: color var(--t);
}
.tvp-villa-detail__back a:hover { color: var(--text-soft); }
