
:root {
  --vm-olive: #4a4b29;
  --vm-olive-dark: #3a3b20;
  --vm-bg: #fafafa;
  --vm-muted: #717171;
  --vm-black: #000000;
  --vm-white: #ffffff;

  --vm-card-border: rgba(175, 169, 135, 0.08);
  --vm-card-gradient: linear-gradient(47.42deg, #ffffff 38.378%, #fffdee 92.913%);
  --vm-btn-outline: rgba(113, 113, 113, 0.6);

  --vm-radius: 8px;
  --vm-shadow-card: 0 14px 17px rgba(15, 23, 42, 0.08);
  --vm-shadow-search: -4px 7px 4px rgba(0, 0, 0, 0.1);
  --vm-shadow-badge: 0 8px 9px rgba(0, 0, 0, 0.1);

  /* 1440 canvas with 120px side margins => 1200px content */
  --vm-container: 1200px;
}

/* --------------------------------------------------------------------------
   Base
   -------------------------------------------------------------------------- */

body {
  font-family: "Barlow", system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--vm-black);
  background: var(--vm-white);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: "Playfair Display", Georgia, serif;
}

/* The Figma file uses "Rage Italic" for the script wordmark. It is a licensed
   font and cannot be webfont-linked, so Yellowtail stands in. Swap the
   font-family here if the licensed file gets added to assets/fonts. */
.vm-script {
  font-family: "Yellowtail", "Rage Italic", cursive;
  color: var(--vm-olive);
}

.vm-container {
  max-width: calc(var(--vm-container) + 2 * 12px);
}

a { text-decoration: none; }

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */

.vm-btn-primary {
  background: var(--vm-olive);
  color: var(--vm-white);
  font-weight: 600;
  font-size: 16px;
  padding: 14px 46px;
  border: 0;
  border-radius: var(--vm-radius);
  white-space: nowrap;
  transition: background-color 0.15s ease-in-out;
}
.vm-btn-primary:hover,
.vm-btn-primary:focus-visible {
  background: var(--vm-olive-dark);
  color: var(--vm-white);
}

.vm-btn-outline {
  border: 0.5px solid var(--vm-btn-outline);
  border-radius: var(--vm-radius);
  background: transparent;
  color: var(--vm-black);
  font-weight: 600;
  font-size: 16px;
  padding: 10px 14px;
  min-width: 129px;
  transition: border-color 0.15s ease-in-out, background-color 0.15s ease-in-out;
}
.vm-btn-outline:hover,
.vm-btn-outline:focus-visible {
  background: var(--vm-olive);
  border-color: var(--vm-olive);
  color: var(--vm-white);
}

.vm-link-olive {
  color: var(--vm-olive);
  font-weight: 600;
  font-size: 16px;
}

/* --------------------------------------------------------------------------
   Header  (Figma 1:14 — 1440x131)
   -------------------------------------------------------------------------- */

.vm-header {
  height: 131px;
  background: var(--vm-white);
}

.vm-logo {
  width: 222px;
  height: 74px;
  object-fit: contain;
}

.vm-nav .nav-link {
  font-weight: 600;
  font-size: 16px;
  color: var(--vm-black);
  padding: 0;
  transition: color 0.15s ease-in-out;
}
.vm-nav .nav-link:hover,
.vm-nav .nav-link.active {
  color: var(--vm-olive);
}

/* 52px gap between nav items on the 1440 canvas */
.vm-nav {
  gap: 52px;
}

.vm-meta-select {
  font-weight: 500;
  font-size: 14px;
  color: var(--vm-black);
  background: transparent;
  border: 0;
  gap: 2px;
  cursor: pointer;
}

.vm-icon-14 { width: 14px; height: 14px; }
.vm-icon-16 { width: 16px; height: 16px; }
.vm-icon-20 { width: 20px; height: 20px; flex: 0 0 20px; }

/* the chevron asset points up; the header controls point down */
.vm-chevron-down { transform: rotate(180deg); }

/* --------------------------------------------------------------------------
   Hero  (Figma 1:31 — 1440x661)
   -------------------------------------------------------------------------- */

.vm-hero {
  background: var(--vm-bg);
  position: relative;
  padding-block: 50px 0;
}

.vm-hero-copy { max-width: 498px; }

.vm-hero-script { font-size: 38px; line-height: 1.1; }

.vm-hero-title {
  font-weight: 700;
  font-size: 60px;
  line-height: 68px;
  letter-spacing: -1px;
  color: var(--vm-black);
}

.vm-hero-lede {
  font-size: 16px;
  line-height: 24px;
  color: var(--vm-black);
}

.vm-hero-img {
  width: 626px;
  height: 661px;
  object-fit: cover;
}

/* --------------------------------------------------------------------------
   Search bar  (Figma 1:41 — overlaps the hero bottom on desktop)
   -------------------------------------------------------------------------- */

.vm-search {
  background: var(--vm-white);
  border-radius: var(--vm-radius) 0 0 var(--vm-radius);
  box-shadow: var(--vm-shadow-search);
  padding: 40px 28px;
}

.vm-search-label {
  font-weight: 500;
  font-size: 16px;
  line-height: 14px;
  letter-spacing: -0.3px;
  color: var(--vm-black);
}

.vm-search-value {
  font-weight: 500;
  font-size: 12px;
  line-height: 20px;
  color: var(--vm-muted);
  background: transparent;
  border: 0;
  cursor: pointer;
}

@media (min-width: 992px) {
  .vm-hero { padding-bottom: 0; }
  /* pull the bar up so it straddles the hero/next-section boundary */
  .vm-search-wrap {
    position: relative;
    margin-top: -167px;
    z-index: 3;
  }
}

/* --------------------------------------------------------------------------
   Section headings
   -------------------------------------------------------------------------- */

.vm-eyebrow {
  font-weight: 600;
  font-size: 14px;
  color: var(--vm-olive);
  letter-spacing: 0.02em;
}

.vm-section-title {
  font-weight: 600;
  font-size: 34px;
  line-height: 40px;
  letter-spacing: -1px;
  color: var(--vm-black);
}

.vm-section-lede {
  font-size: 16px;
  line-height: 24px;
  color: var(--vm-muted);
  max-width: 673px;
}

/* --------------------------------------------------------------------------
   Villa card  (Figma 106:552)
   -------------------------------------------------------------------------- */

.vm-villa-card {
  background: var(--vm-card-gradient);
  border: 1px solid var(--vm-card-border);
  border-radius: var(--vm-radius);
  box-shadow: var(--vm-shadow-card);
  padding: 16px;
  height: 100%;
}

.vm-villa-media {
  position: relative;
  border-radius: var(--vm-radius);
  overflow: hidden;
  background: var(--vm-white);
  aspect-ratio: 560 / 340;
}

.vm-villa-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.vm-badge-featured {
  position: absolute;
  top: 39px;
  left: 16px;
  background: var(--vm-white);
  color: var(--vm-olive);
  font-weight: 700;
  font-size: 12px;
  line-height: 12px;
  letter-spacing: 0.4px;
  padding: 8px 12px;
  border-radius: var(--vm-radius);
  box-shadow: var(--vm-shadow-badge);
}

.vm-villa-title {
  font-weight: 700;
  font-size: 18px;
  line-height: 24px;
  letter-spacing: 0.4px;
  color: var(--vm-black);
}

.vm-villa-sub {
  font-weight: 600;
  font-size: 14px;
  line-height: 20px;
  color: var(--vm-muted);
}

.vm-villa-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
}

.vm-villa-meta span {
  font-weight: 500;
  font-size: 14px;
  line-height: 20px;
  color: var(--vm-muted);
}

.vm-price {
  font-weight: 700;
  font-size: 20px;
  line-height: 24px;
  letter-spacing: 0.2px;
  color: var(--vm-black);
}

.vm-price-sub {
  font-weight: 500;
  font-size: 14px;
  line-height: 20px;
  color: var(--vm-muted);
}

/* ==========================================================================
   Sections below pulled from the Figma REST API (exact node values).
   carousel 1:271 | stats 1:302 | how-it-works 1:364 | strip 98:4
   faq 1:420 | journal 1:492 | footer 1:458
   ========================================================================== */

:root {
  --vm-cream: #fffdee;
  --vm-sand: #afa987;          /* card stroke */
  --vm-hairline: #dddddd;      /* step + accordion rules */
  --vm-place-line: #eeeeee;
  --vm-panel-plain: #fbfdff;
  --vm-footer-bg: #20261f;
  --vm-rose: #ff385c;          /* journal card accent */
  --vm-card-fill: linear-gradient(135deg, #ffffff 0%, #fffdee 100%);
  --vm-card-glow:
    radial-gradient(circle at 0% 0%,     rgba(175,169,135,0.13) 0%, rgba(175,169,135,0) 36%),
    radial-gradient(circle at 100% 100%, rgba(175,169,135,0.07) 0%, rgba(175,169,135,0) 30%);
}

/* --------------------------------------------------------------------------
   Resort carousel — Figma 1:271 (1200x560, r8)
   -------------------------------------------------------------------------- */

.vm-resort {
  position: relative;
  border-radius: var(--vm-radius);
  overflow: hidden;
  height: 560px;
  background: var(--vm-white);
}
.vm-resort .carousel,
.vm-resort .carousel-inner,
.vm-resort .carousel-item { height: 100%; }
.vm-resort img { width: 100%; height: 100%; object-fit: cover; }

.vm-resort-scrim {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0.18) 55%, rgba(0,0,0,0.3) 100%);
}

.vm-resort-title {
  position: absolute; top: 50%; left: 90px;
  transform: translateY(-50%);
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 700;
  font-size: 60px;
  line-height: 1.06;
  color: var(--vm-white);
  text-shadow: 0 2px 14px rgba(0,0,0,0.32);
  margin: 0;
  z-index: 2;
}

/* 42x42, white @16%, 1px white stroke, fully round */
.vm-resort-nav {
  position: absolute; top: 50%;
  transform: translateY(-50%);
  width: 42px; height: 42px;
  border-radius: 999px;
  border: 1px solid var(--vm-white);
  background: rgba(255,255,255,0.16);
  backdrop-filter: blur(4px);
  color: var(--vm-white);
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; line-height: 1;
  z-index: 3;
  transition: background-color 0.15s ease-in-out;
}
.vm-resort-nav:hover { background: rgba(255,255,255,0.34); }
.vm-resort-nav.prev { left: 24px; }
.vm-resort-nav.next { right: 24px; }

/* three 82x51 chips, white @11%, r14, gap 10 */
.vm-resort-chips {
  position: absolute; right: 28px; bottom: 28px;
  display: flex; gap: 10px; z-index: 3;
}
.vm-chip {
  width: 82px; height: 51px;
  background: rgba(255,255,255,0.11);
  border: 1px solid var(--vm-white);
  border-radius: 14px;
  padding: 12px 10px;
  color: var(--vm-white);
  display: flex; flex-direction: column; gap: 4px;
  align-items: center; justify-content: center;
}
.vm-chip strong { font-size: 14px; font-weight: 800; line-height: 14px; }
.vm-chip span   { font-size: 10px; font-weight: 700; line-height: 10px; opacity: 0.9; }

/* 4 dots, active pill 22x7, rest 7x7 white @45%, gap 6 */
.vm-resort .carousel-indicators { margin: 0 0 18px; gap: 6px; z-index: 3; }
.vm-resort .carousel-indicators [data-bs-target] {
  width: 7px; height: 7px; border-radius: 999px;
  border: 0; margin: 0; opacity: 1;
  background: rgba(255,255,255,0.45);
  transition: width 0.2s ease-in-out;
}
.vm-resort .carousel-indicators .active { width: 22px; background: var(--vm-white); }

/* --------------------------------------------------------------------------
   Costa Cálida stats + places — Figma 1:302 (1440x606, white)
   -------------------------------------------------------------------------- */

.vm-stats { background: var(--vm-white); }

/* 224x122, white->cream gradient, 1px sand stroke, r8 */
.vm-stat-card {
  position: relative;
  background: var(--vm-card-fill);
  border: 1px solid var(--vm-sand);
  border-radius: var(--vm-radius);
  padding: 20px;
  height: 122px;
  display: flex; flex-direction: column; justify-content: center;
  overflow: hidden;
}
.vm-stat-card::before {
  content: ""; position: absolute; inset: 0;
  background: var(--vm-card-glow);
  pointer-events: none;
}
.vm-stat-value { position: relative; font-weight: 700; font-size: 28px; line-height: 34px; color: var(--vm-black); }
.vm-stat-label { position: relative; font-weight: 500; font-size: 13px; line-height: 18px; color: var(--vm-muted); margin: 0; }

.vm-body-copy { font-size: 16px; line-height: 24px; color: var(--vm-muted); }

/* 391x70, white, 1px #eee, r8 */
.vm-place-card {
  background: var(--vm-white);
  border: 1px solid var(--vm-place-line);
  border-radius: var(--vm-radius);
  padding: 14px 18px;
  height: 70px;
  display: flex; flex-direction: column; justify-content: center;
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}
.vm-place-card:hover { border-color: var(--vm-sand); box-shadow: var(--vm-shadow-card); }
.vm-place-name { font-weight: 700; font-size: 14px; line-height: 20px; color: var(--vm-black); margin: 0; }
.vm-place-sub  { font-weight: 400; font-size: 13px; line-height: 18px; color: var(--vm-muted); margin: 0; }

/* --------------------------------------------------------------------------
   How It Works / Why Book — Figma 1:364 (two 586x575 panels, gap 28)
   -------------------------------------------------------------------------- */

.vm-panel {
  border-radius: var(--vm-radius);
  padding: 26px;
  height: 100%;
  position: relative;
  overflow: hidden;
}
.vm-panel-plain { background: var(--vm-panel-plain); border: 1px solid var(--vm-hairline); }
.vm-panel-cream { background: var(--vm-white); border: 1px solid var(--vm-sand); }
.vm-panel-cream::before {
  content: ""; position: absolute; inset: 0;
  background: var(--vm-card-glow);
  pointer-events: none;
}
.vm-panel > * { position: relative; }

/* steps: 94px tall, 18px inset, divided by #ddd rules */
.vm-step { padding: 18px; border-top: 1px solid var(--vm-hairline); }
.vm-step:first-of-type { border-top: 0; }
.vm-step h4 { font-family: "Barlow", sans-serif; font-weight: 700; font-size: 16px; line-height: 22px; color: var(--vm-black); margin: 0 0 6px; }
.vm-step p  { font-size: 14px; line-height: 20px; color: var(--vm-muted); margin: 0; }

.vm-feature {
  background: rgba(255,255,255,0.55);
  border: 1px solid rgba(175,169,135,0.35);
  border-radius: var(--vm-radius);
  padding: 20px;
  height: 100%;
}
.vm-feature-icon {
  width: 34px; height: 34px; border-radius: 6px;
  background: rgba(74,75,41,0.08);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 24px;
}
.vm-feature-icon img { width: 16px; height: 16px; }
.vm-feature h4 { font-family: "Barlow", sans-serif; font-weight: 700; font-size: 16px; line-height: 22px; color: var(--vm-black); margin: 0 0 6px; }
.vm-feature p  { font-size: 14px; line-height: 20px; color: var(--vm-muted); margin: 0; }

/* --------------------------------------------------------------------------
   Photo strip — Figma 98:4 (5 x 300x300, r4, gap 8, full-bleed 1532)
   -------------------------------------------------------------------------- */

.vm-strip { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.vm-strip img { width: 100%; height: 300px; object-fit: cover; border-radius: 4px; display: block; }

/* --------------------------------------------------------------------------
   FAQ — Figma 1:420 (1440x578, #fafafa)
   -------------------------------------------------------------------------- */

.vm-faq-section { background: var(--vm-bg); }

.vm-faq .accordion-item { border: 0; border-top: 1px solid var(--vm-hairline); background: transparent; }
.vm-faq .accordion-item:first-of-type { border-top: 0; }
.vm-faq .accordion-button {
  background: transparent; box-shadow: none;
  padding: 18px 0;
  font-weight: 700; font-size: 16px; line-height: 22px;
  color: var(--vm-black);
}
.vm-faq .accordion-button::after {
  width: 22px; height: 22px; flex: 0 0 22px;
  border-radius: 50%;
  border: 1px solid var(--vm-hairline);
  background-size: 9px; background-position: center; background-repeat: no-repeat;
}
.vm-faq .accordion-button:not(.collapsed)::after {
  background-color: var(--vm-black);
  border-color: var(--vm-black);
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath d='M2 7h12v2H2z'/%3e%3c/svg%3e");
  transform: none;
}
.vm-faq .accordion-button.collapsed::after {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23717171'%3e%3cpath d='M7 2h2v12H7z'/%3e%3cpath d='M2 7h12v2H2z'/%3e%3c/svg%3e");
}
.vm-faq .accordion-body { padding: 0 0 18px; font-weight: 500; font-size: 14px; line-height: 21px; color: var(--vm-muted); }

.vm-faq-img { width: 100%; height: 579px; object-fit: cover; border-radius: var(--vm-radius); }

/* --------------------------------------------------------------------------
   Journal — Figma 1:492 (4 x 278x349 cards, rose accent @8%)
   -------------------------------------------------------------------------- */

.vm-news-card {
  position: relative;
  background: var(--vm-white);
  border: 1px solid rgba(255, 56, 92, 0.08);
  border-radius: var(--vm-radius);
  padding: 12px;
  height: 100%;
  display: flex; flex-direction: column; gap: 12px;
  overflow: hidden;
}
.vm-news-card::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(circle at 0% 0%,     rgba(255,56,92,0.13) 0%, rgba(255,56,92,0) 36%),
    radial-gradient(circle at 100% 100%, rgba(255,56,92,0.07) 0%, rgba(255,56,92,0) 30%);
}
.vm-news-card > * { position: relative; }
.vm-news-card img { width: 100%; height: 188px; object-fit: cover; border-radius: var(--vm-radius); display: block; }
.vm-news-date  { font-weight: 500; font-size: 13px; color: var(--vm-muted); margin: 0; }
.vm-news-title { font-weight: 700; font-size: 16px; line-height: 22px; color: var(--vm-black); margin: 0; }
.vm-news-btn {
  border: 1px solid rgba(255, 56, 92, 0.18);
  border-radius: 6px;
  background: transparent;
  color: var(--vm-black);
  font-weight: 600; font-size: 14px;
  padding: 9px; width: 100%;
  margin-top: auto;
  transition: background-color 0.15s ease-in-out, color 0.15s ease-in-out, border-color 0.15s ease-in-out;
}
.vm-news-btn:hover { background: var(--vm-olive); border-color: var(--vm-olive); color: var(--vm-white); }

/* --------------------------------------------------------------------------
   Footer — Figma 1:458 (1440x336, #20261f)
   -------------------------------------------------------------------------- */

.vm-footer { background: var(--vm-footer-bg); color: var(--vm-white); padding-block: 56px 24px; }
.vm-footer-script { font-size: 38px; color: var(--vm-white); font-family: "Yellowtail", "Rage Italic", cursive; }
.vm-footer-copy { font-weight: 500; font-size: 14px; line-height: 22px; color: rgba(255,255,255,0.62); max-width: 379px; }
.vm-footer h5 {
  font-family: "Barlow", sans-serif;
  font-size: 16px; font-weight: 500;
  letter-spacing: 1px;
  color: var(--vm-white);
  margin-bottom: 22px;
}
.vm-footer a { color: rgba(255,255,255,0.62); font-weight: 500; font-size: 14px; line-height: 30px; transition: color 0.15s ease-in-out; }
.vm-footer a:hover { color: var(--vm-white); }
.vm-footer-social { display: flex; gap: 14px; margin-top: 20px; }
.vm-footer-social a { width: 28px; height: 28px; display: flex; align-items: center; justify-content: center; color: var(--vm-white); }
.vm-footer-divider { border-top: 1px solid rgba(255,255,255,0.12); margin-top: 40px; padding-top: 20px; }
.vm-footer-legal { font-weight: 500; font-size: 14px; color: rgba(255,255,255,0.4); margin: 0; }

@media (max-width: 991.98px) {
  .vm-resort { height: 380px; }
  .vm-resort-title { font-size: 34px; left: 24px; }
  .vm-resort-chips { display: none; }
  .vm-panel { padding: 22px; }
  .vm-faq-img { height: 320px; }
  .vm-stat-card, .vm-place-card { height: auto; min-height: 92px; }
  .vm-strip { grid-template-columns: repeat(3, 1fr); }
  .vm-strip img { height: 200px; }
  .vm-strip > :nth-child(n+4) { display: none; }
}

/* ==========================================================================
   Inner pages — villas / about / contact / blog / blog-detail / legal
   Values from the Figma REST API (nodes 94:497, 94:751, 94:811, 94:958,
   94:1144, 94:1208). Generated by tools/build_pages.py.
   ========================================================================== */

/* 1200x400 page banner */
.vm-banner {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: var(--vm-radius);
  display: block;
}

/* long-form copy column */
.vm-prose-wrap { max-width: 1200px; }
.vm-prose {
  font-size: 18px;
  line-height: 30px;
  color: var(--vm-muted);
  margin-bottom: 22px;
}
.vm-prose:last-child { margin-bottom: 0; }

.vm-title-medium { font-weight: 500; }

/* arrow asset points right; "Back To Blogs" needs it pointing left */
.vm-flip { transform: rotate(180deg); }

/* --- contact ------------------------------------------------------------ */

.vm-contact-lede {
  font-weight: 500;
  font-size: 18px;
  line-height: 28px;
  color: var(--vm-black);
  max-width: 900px;
}

.vm-contact-card {
  background: var(--vm-card-fill);
  border: 1px solid var(--vm-sand);
  border-radius: var(--vm-radius);
  padding: 24px;
  height: 100%;
}
.vm-contact-label {
  font-weight: 500;
  font-size: 18px;
  line-height: 24px;
  color: var(--vm-muted);
  margin: 0 0 6px;
}
.vm-contact-value {
  font-weight: 500;
  font-size: 20px;
  line-height: 28px;
  color: var(--vm-black);
  display: block;
}
a.vm-contact-value:hover { color: var(--vm-olive); }

/* --- contact form ------------------------------------------------------- */

.vm-form { max-width: 800px; }

.vm-form-label {
  font-weight: 500;
  font-size: 14px;
  color: var(--vm-black);
  margin-bottom: 8px;
  display: block;
}

.vm-input {
  width: 100%;
  font-size: 16px;
  font-weight: 400;
  color: var(--vm-black);
  background: var(--vm-white);
  border: 1px solid var(--vm-hairline);
  border-radius: var(--vm-radius);
  padding: 13px 16px;
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}
.vm-input::placeholder { color: var(--vm-muted); }
.vm-input:focus {
  outline: 0;
  border-color: var(--vm-olive);
  box-shadow: 0 0 0 3px rgba(74, 75, 41, 0.1);
}
textarea.vm-input { resize: vertical; min-height: 140px; }

/* --- legal pages -------------------------------------------------------- */

.vm-legal-section { margin-bottom: 34px; }
.vm-legal-section:last-child { margin-bottom: 0; }
.vm-legal-heading {
  font-family: "Barlow", sans-serif;
  font-weight: 700;
  font-size: 20px;
  line-height: 28px;
  color: var(--vm-black);
  margin-bottom: 10px;
}

@media (max-width: 991.98px) {
  .vm-banner { height: 260px; }
  .vm-prose { font-size: 16px; line-height: 26px; }
  .vm-contact-lede { font-size: 16px; line-height: 26px; }
}

/* ==========================================================================
   Villa details — Figma 94:33
   ========================================================================== */

.vm-subhead {
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 500;
  font-size: 24px;
  line-height: 32px;
  color: var(--vm-black);
}

.vm-icon-action {
  font-weight: 700;
  font-size: 14px;
  color: var(--vm-black);
  background: transparent;
  border: 0;
  padding: 0;
  transition: color 0.15s ease-in-out;
}
.vm-icon-action:hover { color: var(--vm-olive); }

.vm-stat-label-bold { font-weight: 700; }

/* --- gallery (558x428 hero + 4 x 313x210) ------------------------------- */

.vm-gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.vm-gallery-main img {
  width: 100%; height: 428px; object-fit: cover;
  border-radius: var(--vm-radius); display: block;
}
.vm-gallery-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.vm-gallery-grid img {
  width: 100%; height: 210px; object-fit: cover;
  border-radius: var(--vm-radius); display: block;
}
.vm-gallery-last { position: relative; }
.vm-gallery-all {
  position: absolute; right: 12px; bottom: 12px;
  background: var(--vm-white);
  color: var(--vm-black);
  font-weight: 700; font-size: 12px;
  padding: 8px 12px;
  border-radius: 6px;
  box-shadow: var(--vm-shadow-badge);
}
.vm-gallery-all:hover { background: var(--vm-olive); color: var(--vm-white); }

/* --- overview ----------------------------------------------------------- */

.vm-clamp {
  display: -webkit-box;
  -webkit-line-clamp: 4;
  line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.vm-promo {
  background: var(--vm-card-fill);
  border: 1px solid var(--vm-sand);
  border-radius: var(--vm-radius);
  padding: 16px;
  height: 100%;
}
.vm-promo-title { font-weight: 700; font-size: 16px; color: var(--vm-black); }
.vm-promo-sub   { font-weight: 700; font-size: 13px; color: var(--vm-muted); }

/* --- booking panel ------------------------------------------------------ */

.vm-booking {
  background: var(--vm-white);
  border: 1px solid var(--vm-sand);
  border-radius: var(--vm-radius);
  box-shadow: var(--vm-shadow-card);
  padding: 24px;
  position: sticky;
  top: 24px;
}
.vm-booking-flag {
  background: rgba(74, 75, 41, 0.06);
  border-radius: 6px;
  padding: 12px 14px;
}
.vm-booking-flag-title { font-weight: 600; font-size: 16px; color: var(--vm-olive); }

.vm-guest-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 0;
  border-bottom: 1px solid var(--vm-hairline);
}
.vm-guest-label { font-weight: 600; font-size: 16px; color: var(--vm-black); }
.vm-guest-sub   { font-weight: 600; font-size: 14px; color: var(--vm-muted); }

.vm-stepper { display: flex; align-items: center; gap: 14px; }
.vm-stepper button {
  width: 30px; height: 30px;
  border-radius: 50%;
  border: 1px solid var(--vm-hairline);
  background: transparent;
  color: var(--vm-black);
  line-height: 1;
  transition: border-color 0.15s ease-in-out, color 0.15s ease-in-out;
}
.vm-stepper button:hover { border-color: var(--vm-olive); color: var(--vm-olive); }
.vm-stepper span { font-weight: 600; font-size: 16px; min-width: 12px; text-align: center; }

.vm-total { display: flex; align-items: center; justify-content: space-between; padding-top: 18px; }
.vm-total-value { font-weight: 800; font-size: 18px; color: var(--vm-black); }

/* --- reviews ------------------------------------------------------------ */

.vm-review {
  background: var(--vm-white);
  border: 1px solid var(--vm-place-line);
  border-radius: var(--vm-radius);
  padding: 18px;
  height: 100%;
}
.vm-avatar {
  width: 34px; height: 34px; flex: 0 0 34px;
  border-radius: 50%;
  background: var(--vm-olive);
  color: var(--vm-white);
  font-weight: 800; font-size: 12px;
  display: flex; align-items: center; justify-content: center;
}
.vm-review-name { font-weight: 700; font-size: 14px; color: var(--vm-black); }
.vm-review-date { font-weight: 400; font-size: 12px; color: var(--vm-muted); }
.vm-review-body {
  font-weight: 500; font-size: 13px; line-height: 20px; color: var(--vm-muted);
  display: -webkit-box; -webkit-line-clamp: 4; line-clamp: 4;
  -webkit-box-orient: vertical; overflow: hidden;
}
.vm-review-more {
  font-weight: 600; font-size: 12px; color: var(--vm-olive);
}
.vm-review-more:hover { text-decoration: underline; }

/* --- amenities + rules --------------------------------------------------- */

.vm-amenity {
  display: flex; align-items: center; gap: 10px;
  background: var(--vm-white);
  border: 1px solid var(--vm-place-line);
  border-radius: var(--vm-radius);
  padding: 14px 16px;
  font-weight: 600; font-size: 16px; color: var(--vm-black);
  height: 100%;
}

.vm-rules { max-width: 900px; }
.vm-rule {
  font-weight: 600; font-size: 16px; color: var(--vm-black);
  padding: 12px 0 12px 22px;
  border-bottom: 1px solid var(--vm-hairline);
  position: relative;
}
.vm-rule::before {
  content: ""; position: absolute; left: 4px; top: 20px;
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--vm-olive);
}

/* --- map ---------------------------------------------------------------- */

.vm-map {
  position: relative;
  border-radius: var(--vm-radius);
  overflow: hidden;
  border: 1px solid var(--vm-place-line);
}
.vm-map img,
.vm-map iframe { width: 100%; height: 480px; display: block; border: 0; }
.vm-map img { object-fit: cover; }

@media (max-width: 991.98px) {
  .vm-gallery { grid-template-columns: 1fr; }
  .vm-gallery-main img { height: 280px; }
  .vm-gallery-grid img { height: 140px; }
  .vm-booking { position: static; }
  .vm-map img { height: 300px; }
}

/* ==========================================================================
   Booking flow — Figma 125:2 / 125:213 / 125:382 / 125:542
   ========================================================================== */

/* 1441x72 strip under the header */
.vm-stepper-bar {
  background: #fffdf1;
  height: 72px;
  display: flex;
  align-items: center;
}
.vm-steps { display: flex; gap: 16px; align-items: center; }

.vm-step-item { display: flex; align-items: center; gap: 6px; }
.vm-step-num {
  width: 24px; height: 24px; flex: 0 0 24px;
  border-radius: 50%;
  background: rgba(74, 75, 41, 0.12);
  color: var(--vm-olive);
  font-weight: 600; font-size: 14px;
  display: flex; align-items: center; justify-content: center;
}
.vm-step-text { font-weight: 500; font-size: 14px; color: var(--vm-muted); white-space: nowrap; }

.vm-step-item.is-active .vm-step-num { background: var(--vm-olive); color: var(--vm-white); }
.vm-step-item.is-active .vm-step-text { color: var(--vm-black); font-weight: 600; }
.vm-step-item.is-done .vm-step-num { background: var(--vm-olive); color: var(--vm-white); opacity: 0.55; }

/* 777px content cards + 383px summary rail */
.vm-book-card {
  background: var(--vm-white);
  border: 1px solid var(--vm-sand);
  border-radius: var(--vm-radius);
  padding: 20px;
  margin-bottom: 24px;
}
.vm-book-card:last-child { margin-bottom: 0; }

.vm-caps { text-transform: uppercase; letter-spacing: 0.4px; font-size: 12px; font-weight: 600; }

.vm-ro-value { font-weight: 500; font-size: 13px; color: var(--vm-muted); }

.vm-book-hint { font-weight: 600; font-size: 12px; color: var(--vm-muted); }
.vm-book-hint a { color: var(--vm-olive); text-decoration: underline; }

.vm-summary {
  background: var(--vm-white);
  border: 1px solid var(--vm-sand);
  border-radius: var(--vm-radius);
  padding: 20px;
  position: sticky;
  top: 24px;
}
.vm-summary-villa { font-weight: 500; font-size: 12px; color: var(--vm-muted); }
.vm-summary-line {
  display: flex; align-items: center; justify-content: space-between;
  padding: 8px 0;
}
.vm-summary-line span   { font-weight: 500; font-size: 14px; color: var(--vm-muted); }
.vm-summary-line strong { font-weight: 600; font-size: 14px; color: var(--vm-black); }

/* villa picker */
.vm-mini-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }

.vm-mini-villa {
  display: block;
  border: 1px solid var(--vm-place-line);
  border-radius: var(--vm-radius);
  overflow: hidden;
  cursor: pointer;
  position: relative;
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}
.vm-mini-villa img { width: 100%; height: 120px; object-fit: cover; display: block; }
.vm-mini-villa input {
  position: absolute; top: 10px; right: 10px;
  accent-color: var(--vm-olive);
  width: 16px; height: 16px;
}
.vm-mini-villa:has(input:checked) {
  border-color: var(--vm-olive);
  box-shadow: 0 0 0 2px rgba(74, 75, 41, 0.12);
}
.vm-mini-body { padding: 12px; }
.vm-mini-title { font-weight: 700; font-size: 12px; color: var(--vm-black); }
.vm-mini-sub   { font-weight: 600; font-size: 10px; color: var(--vm-muted); }
.vm-mini-meta  { display: flex; flex-wrap: wrap; gap: 4px 10px; margin-bottom: 8px; }
.vm-mini-meta span { font-weight: 500; font-size: 10px; color: var(--vm-muted); }
.vm-mini-price { font-weight: 700; font-size: 12px; color: var(--vm-black); }
.vm-mini-price span { font-weight: 700; font-size: 10px; color: var(--vm-muted); }

/* confirmation card — 777x606, centred */
.vm-confirm {
  max-width: 777px;
  background: var(--vm-white);
  border: 1px solid var(--vm-sand);
  border-radius: var(--vm-radius);
  padding: 40px;
}

@media (max-width: 991.98px) {
  .vm-summary { position: static; }
  .vm-mini-grid { grid-template-columns: 1fr; }
  .vm-confirm { padding: 24px; }
  .vm-stepper-bar { height: auto; padding-block: 14px; }
  .vm-steps { flex-wrap: wrap; gap: 10px 14px; }
  .vm-step-text { font-size: 13px; }
}

/* --------------------------------------------------------------------------
   Responsive fallbacks — the Figma file only specifies the 1440 desktop frame,
   so the breakpoints below are a reasonable scale-down, not a design spec.
   -------------------------------------------------------------------------- */

@media (max-width: 1199.98px) {
  .vm-hero-title { font-size: 48px; line-height: 56px; }
  .vm-hero-img { width: 100%; height: 100%; }
}

@media (max-width: 991.98px) {
  .vm-header { height: auto; padding-block: 16px; }
  .vm-hero { padding-block: 40px; }
  .vm-hero-title { font-size: 40px; line-height: 48px; }
  .vm-hero-script { font-size: 32px; }
  .vm-hero-img { height: 380px; }
  .vm-search {
    border-radius: var(--vm-radius);
    padding: 24px 20px;
  }
  .vm-section-title { font-size: 28px; line-height: 34px; }
}

@media (max-width: 575.98px) {
  .vm-hero-title { font-size: 32px; line-height: 40px; }
  .vm-villa-meta { gap: 12px 16px; }
  .vm-btn-primary { width: 100%; }
}

/* --------------------------------------------------------------------------
   Laravel additions — dynamic states the static build never needed
   -------------------------------------------------------------------------- */

.vm-rich h2 {
  font-family: "Barlow", sans-serif;
  font-weight: 700;
  font-size: 20px;
  line-height: 28px;
  color: var(--vm-black);
  margin: 34px 0 10px;
}
.vm-rich h3 {
  font-family: "Barlow", sans-serif;
  font-weight: 700;
  font-size: 17px;
  color: var(--vm-black);
  margin: 26px 0 8px;
}
.vm-rich p,
.vm-rich li { font-size: 18px; line-height: 30px; color: var(--vm-muted); }
.vm-rich p { margin-bottom: 22px; }
.vm-rich ul, .vm-rich ol { margin-bottom: 22px; padding-left: 22px; }
.vm-rich a { color: var(--vm-olive); text-decoration: underline; }
.vm-rich blockquote {
  border-left: 3px solid var(--vm-sand);
  padding-left: 18px;
  margin: 0 0 22px;
  font-style: italic;
}
.vm-rich > :first-child { margin-top: 0; }
.vm-rich > :last-child { margin-bottom: 0; }

.vm-error { color: #dc3545; font-size: 12px; margin: 6px 0 0; }
.vm-input.is-invalid { border-color: #dc3545; }

.vm-empty {
  background: var(--vm-white);
  border: 1px dashed var(--vm-sand);
  border-radius: var(--vm-radius);
  padding: 40px;
  text-align: center;
  color: var(--vm-muted);
}
.vm-empty a { color: var(--vm-olive); text-decoration: underline; }

.vm-alert { border-radius: var(--vm-radius); padding: 14px 16px; font-size: 14px; }
.vm-alert-success { background: rgba(74,75,41,0.08); border: 1px solid var(--vm-sand); color: var(--vm-olive); }
.vm-alert-error   { background: rgba(255,56,92,0.06); border: 1px solid rgba(255,56,92,0.3); color: #b3143a; }
.vm-alert ul { padding-left: 18px; margin: 0; }

/* stepper inputs are number fields now, not static text */
.vm-stepper input[type="number"] {
  width: 34px;
  border: 0;
  background: transparent;
  text-align: center;
  font-weight: 600;
  font-size: 16px;
  -moz-appearance: textfield;
}
.vm-stepper input[type="number"]::-webkit-outer-spin-button,
.vm-stepper input[type="number"]::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.vm-pagination ul { display: flex; gap: 6px; list-style: none; padding: 0; margin: 0; flex-wrap: wrap; justify-content: center; }
.vm-pagination a, .vm-pagination span {
  display: flex; align-items: center; justify-content: center;
  min-width: 38px; height: 38px; padding: 0 12px;
  border: 1px solid var(--vm-place-line);
  border-radius: 6px;
  background: var(--vm-white);
  color: var(--vm-black);
  font-size: 14px; font-weight: 600;
}
.vm-pagination a:hover { border-color: var(--vm-olive); color: var(--vm-olive); }
.vm-pagination .is-active { background: var(--vm-olive); border-color: var(--vm-olive); color: var(--vm-white); }
.vm-pagination .is-disabled { color: #c4c4c4; background: transparent; }

/* --------------------------------------------------------------------------
   Header dropdowns — villas list, language, currency
   -------------------------------------------------------------------------- */

.vm-nav-drop .dropdown-toggle::after {
  border-top-color: currentColor;
  margin-left: 6px;
  vertical-align: 2px;
}

.vm-dropdown {
  border: 1px solid var(--vm-place-line);
  border-radius: var(--vm-radius);
  box-shadow: 0 14px 28px rgba(15, 23, 42, 0.12);
  padding: 6px;
  min-width: 210px;
  margin-top: 10px;
}

.vm-dropdown .dropdown-item {
  border-radius: 6px;
  padding: 9px 12px;
  font-size: 14px;
  font-weight: 500;
  color: var(--vm-black);
  display: flex;
  align-items: baseline;
  gap: 8px;
  white-space: nowrap;
}
.vm-dropdown .dropdown-item:hover,
.vm-dropdown .dropdown-item:focus {
  background: rgba(74, 75, 41, 0.08);
  color: var(--vm-olive);
}
.vm-dropdown .dropdown-item.is-active {
  background: var(--vm-olive);
  color: var(--vm-white);
}
.vm-dropdown .dropdown-item.is-active .vm-dropdown-sub { color: rgba(255, 255, 255, 0.7); }

.vm-dropdown-sub {
  font-size: 12px;
  font-weight: 400;
  color: var(--vm-muted);
  margin-left: auto;
}

.vm-dropdown-all { font-weight: 600; color: var(--vm-olive); }
.vm-dropdown .dropdown-divider { margin: 6px 4px; border-color: var(--vm-place-line); }

/* the header buttons are 14px; keep the caret from inflating the row */
.vm-meta-select { white-space: nowrap; }

@media (max-width: 991.98px) {
  .vm-dropdown { box-shadow: none; margin-top: 4px; }
}

/* --------------------------------------------------------------------------
   Hover-open nav dropdown (desktop only)
   Bootstrap opens on click; on pointer devices with hover we open on hover too.
   Touch and keyboard keep the click behaviour, so nothing becomes unreachable.
   -------------------------------------------------------------------------- */

@media (min-width: 992px) and (hover: hover) and (pointer: fine) {
  .vm-nav-drop:hover > .dropdown-menu,
  .vm-nav-drop:focus-within > .dropdown-menu {
    display: block;
  }
  /* bridge the gap between the link and the panel so the menu does not close
     while the pointer travels down to it */
  .vm-nav-drop > .dropdown-menu::before {
    content: "";
    position: absolute;
    top: -12px; left: 0; right: 0;
    height: 12px;
  }
}

/* honeypot — off-screen rather than display:none, which some bots detect */
.vm-hp {
  position: absolute !important;
  left: -9999px !important;
  width: 1px; height: 1px;
  overflow: hidden;
}

/* --------------------------------------------------------------------------
   Toasts — shared by the public site and the admin
   -------------------------------------------------------------------------- */

.vm-toasts {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 1090;
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: min(400px, calc(100vw - 40px));
  pointer-events: none;
}

.vm-toast {
  pointer-events: auto;
  display: flex;
  align-items: flex-start;
  gap: 11px;
  background: #fff;
  border: 1px solid var(--vm-place-line);
  border-left: 3px solid var(--vm-olive);
  border-radius: 10px;
  box-shadow: 0 12px 32px rgba(16, 24, 40, 0.16);
  padding: 13px 14px;
  /* start off-screen; JS adds .is-in so the entrance can be staggered */
  transform: translateX(120%);
  opacity: 0;
  transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.24s ease;
}
.vm-toast.is-in { transform: translateX(0); opacity: 1; }
.vm-toast.is-leaving {
  transform: translateX(120%);
  opacity: 0;
  transition: transform 0.26s ease-in, opacity 0.2s ease-in;
}

.vm-toast-icon {
  width: 20px; height: 20px; flex: 0 0 20px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin-top: 1px;
}
.vm-toast-icon svg { width: 11px; height: 11px; }

.vm-toast-body {
  font-size: 14px;
  line-height: 20px;
  font-weight: 500;
  color: var(--vm-black);
  flex: 1;
  word-break: break-word;
}

.vm-toast-close {
  background: transparent;
  border: 0;
  color: var(--vm-muted);
  font-size: 19px;
  line-height: 1;
  padding: 0 2px;
  flex-shrink: 0;
  transition: color 0.14s;
}
.vm-toast-close:hover { color: var(--vm-black); }

.vm-toast.is-success { border-left-color: var(--vm-olive); }
.vm-toast.is-success .vm-toast-icon { background: rgba(74, 75, 41, 0.12); color: var(--vm-olive); }

.vm-toast.is-error { border-left-color: #e11d48; }
.vm-toast.is-error .vm-toast-icon { background: rgba(225, 29, 72, 0.12); color: #e11d48; }

.vm-toast.is-warning { border-left-color: #d69e2e; }
.vm-toast.is-warning .vm-toast-icon { background: rgba(214, 158, 46, 0.16); color: #8a5c00; }

@media (max-width: 575.98px) {
  .vm-toasts { top: auto; bottom: 16px; left: 16px; right: 16px; max-width: none; }
  .vm-toast { transform: translateY(140%); }
  .vm-toast.is-in { transform: translateY(0); }
  .vm-toast.is-leaving { transform: translateY(140%); }
}

@media (prefers-reduced-motion: reduce) {
  .vm-toast, .vm-toast.is-in, .vm-toast.is-leaving { transition: opacity 0.15s ease; transform: none; }
}

/* --------------------------------------------------------------------------
   Review carousel (Splide) + stars
   splide-core.min.css is loaded on the villa page; everything visual is ours,
   so the carousel matches the Figma design rather than Splide's default theme.
   -------------------------------------------------------------------------- */

.vm-splide { position: relative; padding-bottom: 34px; }
.vm-splide .splide__track { padding: 4px 2px; }
.vm-splide .splide__list { align-items: stretch; }
.vm-splide .splide__slide { height: auto; }
.vm-splide .splide__slide > .vm-review { height: 100%; }

.vm-splide .splide__arrow {
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1px solid var(--vm-place-line);
  background: var(--vm-white);
  box-shadow: 0 6px 18px rgba(16, 24, 40, 0.12);
  opacity: 1;
  transition: background-color 0.14s, border-color 0.14s, opacity 0.14s;
}
.vm-splide .splide__arrow svg { width: 15px; height: 15px; fill: var(--vm-black); transition: fill 0.14s; }
.vm-splide .splide__arrow:hover:not(:disabled) { background: var(--vm-olive); border-color: var(--vm-olive); }
.vm-splide .splide__arrow:hover:not(:disabled) svg { fill: var(--vm-white); }
.vm-splide .splide__arrow:disabled { opacity: 0.3; }
.vm-splide .splide__arrow--prev { left: -18px; }
.vm-splide .splide__arrow--next { right: -18px; }

.vm-splide .splide__pagination {
  bottom: 0;
  gap: 6px;
  padding: 0;
}
.vm-splide .splide__pagination__page {
  width: 7px; height: 7px;
  margin: 0;
  background: var(--vm-place-line);
  opacity: 1;
  transition: width 0.2s, background-color 0.2s;
}
.vm-splide .splide__pagination__page.is-active {
  width: 22px;
  border-radius: 999px;
  background: var(--vm-olive);
  transform: none;
}

.vm-review { display: flex; flex-direction: column; height: 100%; }
.vm-review-body {
  display: -webkit-box;
  -webkit-line-clamp: 4;
  line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
/* JS adds this when the guest expands a review */
.vm-review-body.is-expanded {
  display: block;
  -webkit-line-clamp: unset;
  line-clamp: unset;
  overflow: visible;
}
.vm-review-more {
  background: transparent;
  border: 0;
  padding: 0;
  margin-top: auto;
  align-self: flex-start;
  font-weight: 600;
  font-size: 12px;
  color: var(--vm-olive);
}
.vm-review-more:hover { text-decoration: underline; }

.vm-stars { display: inline-flex; gap: 2px; }
.vm-star { color: var(--vm-place-line); font-size: 15px; line-height: 1; }
.vm-star.is-on { color: #e8b309; }
.vm-stars-sm .vm-star { font-size: 12px; }
.vm-review-score .vm-stars { justify-content: flex-end; }

}

@media (max-width: 991.98px) {
  .vm-splide .splide__arrow--prev { left: -6px; }
  .vm-splide .splide__arrow--next { right: -6px; }
}
@media (max-width: 575.98px) {
  .vm-review-score .vm-stars { justify-content: flex-start; }
}
