/* ============================================================
   Le Pic-Vert — modern responsive stylesheet
   ============================================================ */
:root {
  --green-900: #16302a;
  --green-800: #1e3d34;
  --green-700: #2c5448;
  --green-600: #3a6b5a;
  --green-100: #e4ede8;
  --sand-600: #a9713d;
  --sand-500: #c68d55;
  --sand-300: #e8c9a6;
  --sand-100: #f6ecdf;
  --cream: #faf7f0;
  --ink: #26302c;
  --ink-soft: #5b6a63;
  --line: #e3ded2;
  --white: #ffffff;
  --shadow-sm: 0 1px 3px rgba(22, 48, 42, .08), 0 1px 2px rgba(22, 48, 42, .06);
  --shadow-md: 0 10px 30px rgba(22, 48, 42, .12);
  --shadow-lg: 0 24px 60px rgba(22, 48, 42, .22);
  --radius: 14px;
  --radius-sm: 9px;
  --font-display: "Cormorant Garamond", "Palatino Linotype", Palatino, Georgia, serif;
  --font-body: "Inter", "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.02rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; }
a { color: var(--green-700); }
a:hover { color: var(--sand-600); }
h1, h2, h3, h4 { font-family: var(--font-display); color: var(--green-800); font-weight: 600; line-height: 1.15; margin: 0 0 .5em; }
h1 { font-size: clamp(1.9rem, 4.5vw, 3rem); }
h2 { font-size: clamp(1.5rem, 3.2vw, 2.15rem); }
h3 { font-size: clamp(1.15rem, 2.2vw, 1.45rem); }
p { margin: 0 0 1em; }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.wrap-narrow { max-width: 780px; margin: 0 auto; padding: 0 20px; }
.center { text-align: center; }
.muted { color: var(--ink-soft); }
.small { font-size: .85rem; }

/* ---------------- Header / nav ---------------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(250, 247, 240, .92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex; align-items: center; gap: 14px;
  max-width: 1180px; margin: 0 auto; padding: 10px 20px;
  flex-wrap: wrap;
}
.brand {
  display: flex; align-items: center; gap: 12px;
  text-decoration: none; margin-right: auto;
}
.brand-logo {
  height: 52px; width: auto; display: block;
  flex: 0 0 auto;
}
.brand-name {
  font-family: var(--font-display);
  font-size: 1.5rem; font-weight: 700; letter-spacing: .02em;
  color: var(--green-800); text-decoration: none; line-height: 1.05;
}
.brand-tag {
  display: block; font-family: var(--font-body);
  font-size: .66rem; letter-spacing: .18em; text-transform: uppercase;
  color: var(--sand-600); font-weight: 600;
}
.lang-switch { display: flex; gap: 2px; font-size: .82rem; font-weight: 600; }
.lang-switch a {
  padding: 4px 8px; border-radius: 999px; text-decoration: none;
  color: var(--ink-soft); letter-spacing: .03em;
}
.lang-switch a:hover { background: var(--green-100); color: var(--green-800); }
.lang-switch a[aria-current="page"] { background: var(--green-800); color: #fff; }
.btn-book {
  display: inline-block; text-decoration: none; white-space: nowrap;
  background: var(--green-700); color: #fff !important;
  font-weight: 600; font-size: .9rem; letter-spacing: .02em;
  padding: 10px 20px; border-radius: 999px;
  box-shadow: var(--shadow-sm);
  transition: background .15s, transform .15s;
}
.btn-book:hover { background: var(--sand-600); transform: translateY(-1px); }
.btn-book.secondary { background: var(--sand-500); }
.btn-book.ghost { background: transparent; color: var(--green-800) !important; border: 1.5px solid var(--green-700); }
.btn-book.ghost:hover { background: var(--green-100); }
.nav {
  flex-basis: 100%;
  display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none;
  padding-bottom: 4px;
}
.nav::-webkit-scrollbar { display: none; }
.nav a {
  text-decoration: none; color: var(--ink);
  font-size: .86rem; font-weight: 500; letter-spacing: .02em;
  padding: 7px 12px; border-radius: 999px; white-space: nowrap;
}
.nav a:hover { background: var(--green-100); color: var(--green-800); }
.nav a.active { background: var(--green-100); color: var(--green-800); font-weight: 600; }

/* ---------------- Hero ---------------- */
.hero { position: relative; background: var(--green-900); color: #fff; overflow: hidden; }
.hero-slider { position: relative; width: 100%; aspect-ratio: 16 / 7; min-height: 300px; max-height: 640px; }
.hero-slider .slide {
  position: absolute; inset: 0; opacity: 0; transition: opacity 1.1s ease;
  background-size: cover; background-position: center;
}
.hero-slider .slide.on { opacity: 1; }
.hero-slider::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(11, 28, 24, .15) 0%, rgba(11, 28, 24, .55) 78%, rgba(11, 28, 24, .82) 100%);
  pointer-events: none;
}
.hero-copy {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
  padding: 26px 20px 30px;
}
.hero-copy-inner { max-width: 1120px; margin: 0 auto; }
.hero-kicker {
  font-size: .78rem; letter-spacing: .3em; text-transform: uppercase;
  color: var(--sand-300); font-weight: 600; margin-bottom: 8px;
}
.hero h1 { color: #fff; margin: 0 0 10px; text-shadow: 0 2px 20px rgba(0,0,0,.35); }
.hero-meta { display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: .92rem; color: #e9f0ec; }
.hero-meta a { color: var(--sand-300); }
.hero-caption {
  position: absolute; top: 18px; right: 18px; z-index: 3;
  font-size: .78rem; letter-spacing: .08em; color: rgba(255,255,255,.85);
  background: rgba(11,28,24,.45); padding: 5px 12px; border-radius: 999px;
  backdrop-filter: blur(4px); max-width: 60%;
}
.hero-caption:empty { display: none; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 18px; }
/* paragraph that contains only buttons: wrap as a flush-left flex row */
p.btn-row, p.center.btn-row, div.btn-row {
  display: flex; flex-wrap: wrap; gap: 10px; align-items: center;
}
p.center.btn-row { justify-content: center; }
@media (max-width: 620px) {
  p.btn-row { gap: 8px; }
}
.slider-nav {
  position: absolute; z-index: 3; bottom: 40%; transform: translateY(50%);
  width: 42px; height: 42px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.5); background: rgba(11,28,24,.35);
  color: #fff; font-size: 1.3rem; line-height: 1; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background .15s;
}
.slider-nav:hover { background: rgba(11,28,24,.65); }
.slider-prev { left: 16px; } .slider-next { right: 16px; }
.slider-dots {
  position: absolute; z-index: 3; bottom: 12px; left: 50%; transform: translateX(-50%);
  display: flex; gap: 7px;
}
.slider-dots button {
  width: 8px; height: 8px; border-radius: 50%; border: none; cursor: pointer;
  background: rgba(255,255,255,.4); padding: 0;
}
.slider-dots button.on { background: var(--sand-300); transform: scale(1.25); }
.hero-static .hero-img { width: 100%; max-height: 520px; aspect-ratio: 16/6; object-fit: cover; display: block; }

/* ---------------- Sections ---------------- */
.section { padding: 64px 0; }
.section.alt { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section.green { background: var(--green-800); color: #eef4f1; }
.section.green h2, .section.green h3 { color: #fff; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 40px; }
.eyebrow {
  font-size: .76rem; letter-spacing: .28em; text-transform: uppercase;
  color: var(--sand-600); font-weight: 600; margin-bottom: 10px;
}
.section.green .eyebrow { color: var(--sand-300); }

/* Grids */
.grid { display: grid; gap: 26px; }
.grid.cols-2 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid.cols-3 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 26px 18px; box-shadow: var(--shadow-sm);
}
.section.green .card { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.14); box-shadow: none; color: #eef4f1; }
.section.green .card a { color: var(--sand-300); }
.card h3 { margin-top: 0; }
.card .card-lead { font-family: var(--font-display); font-size: 1.3rem; color: var(--green-700); }
.section.green .card .card-lead { color: var(--sand-300); }

/* Amenities checklist */
.amenities { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: 34px; }
.amenities li { break-inside: avoid; padding: 5px 0 5px 26px; position: relative; }
.amenities li::before {
  content: "✓"; position: absolute; left: 0; color: var(--sand-600); font-weight: 700;
}
.section.green .amenities li::before { color: var(--sand-300); }

/* Hosts / best-price card */
.hosts-card {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 0;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow-md); align-items: center;
}
.hosts-card img { width: 100%; height: 100%; object-fit: cover; min-height: 240px; }
.hosts-card .hosts-text { padding: 28px 30px; }
.hosts-card .hosts-text h3 { margin-bottom: .4em; }
.hosts-card ul { margin: 0 0 .5em; padding-left: 1.15rem; }
.hosts-card ul li { margin-bottom: .3em; }

/* Activity strip */
.strip-scroll {
  display: grid; grid-auto-flow: column; grid-auto-columns: 150px;
  gap: 14px; overflow-x: auto; padding: 4px 2px 14px;
  scroll-snap-type: x proximity; -webkit-overflow-scrolling: touch;
}
.strip-scroll figure { margin: 0; scroll-snap-align: start; }
.strip-scroll img {
  width: 100%; aspect-ratio: 1 / 1.08; object-fit: cover;
  border-radius: var(--radius-sm); box-shadow: var(--shadow-sm); display: block;
}
.strip-scroll figcaption {
  font-size: .78rem; text-align: center; color: var(--ink-soft); padding-top: 6px;
}
.section.green .strip-scroll figcaption { color: #c8d6cf; }

/* Price table */
table.prices { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
table.prices th, table.prices td { padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--line); }
table.prices th { background: var(--green-800); color: #fff; font-family: var(--font-body); font-weight: 600; font-size: .88rem; letter-spacing: .04em; }
table.prices tr:last-child td { border-bottom: none; }
table.prices td strong { color: var(--green-700); font-size: 1.05rem; }

/* Golf table */
.golf-grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.golf-card { border-left: 4px solid var(--sand-500); padding-left: 16px; }
.golf-card h3 { margin-bottom: 4px; }

/* Gallery */
.gallery { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); }
.gallery a { display: block; border-radius: var(--radius-sm); overflow: hidden; box-shadow: var(--shadow-sm); line-height: 0; }
.gallery img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/3; display: block; transition: transform .3s ease; }
.gallery a:hover img { transform: scale(1.04); }
.gallery h3 { grid-column: 1 / -1; margin: 18px 0 4px; }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 100; display: none;
  align-items: center; justify-content: center;
  background: rgba(10, 22, 18, .92); padding: 4vmin;
}
.lightbox.on { display: flex; }
.lightbox img { max-width: 92vw; max-height: 86vh; border-radius: 6px; box-shadow: var(--shadow-lg); }
.lightbox .lb-caption { position: absolute; bottom: 3vmin; left: 0; right: 0; text-align: center; color: #d8e2dd; font-size: .9rem; padding: 0 12vw; }
.lightbox .lb-close, .lightbox .lb-prev, .lightbox .lb-next {
  position: absolute; z-index: 2; background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.35); color: #fff; border-radius: 50%;
  width: 46px; height: 46px; font-size: 1.35rem; cursor: pointer; line-height: 1;
}
.lightbox .lb-close { top: 2vmin; right: 2vmin; }
.lightbox .lb-prev { left: 2vmin; top: 50%; transform: translateY(-50%); }
.lightbox .lb-next { right: 2vmin; top: 50%; transform: translateY(-50%); }
.lightbox .lb-close:hover, .lightbox .lb-prev:hover, .lightbox .lb-next:hover { background: rgba(255,255,255,.25); }

/* Badges & partners */
.badges { display: flex; flex-wrap: wrap; gap: 22px; align-items: center; justify-content: center; }
.badges img { height: 54px; width: auto; filter: grayscale(15%); opacity: .95; border-radius: 6px; }
.badges.big img { height: 84px; }
.partners { display: flex; flex-wrap: wrap; gap: 14px 26px; justify-content: center; align-items: center; font-size: .88rem; }
.partners img { height: 36px; width: auto; }
.partners a { text-decoration: none; }
.partner-logos { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; }
.partner-logos img { height: 36px; width: auto; }

/* Footer */
.site-footer {
  background: var(--green-900); color: #cfe0d8;
  padding: 56px 0 34px; font-size: .92rem; margin-top: 0;
}
.tel { white-space: nowrap; }
.site-footer ul { columns: 2; column-gap: 18px; }
.site-footer li { break-inside: avoid; }
@media (max-width: 520px) { .site-footer ul { columns: 1; } }
.site-footer a { color: var(--sand-300); }
.footer-grid { display: grid; gap: 34px; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.site-footer h4 { color: #fff; font-family: var(--font-display); font-size: 1.25rem; margin-bottom: .6em; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { padding: 3px 0; }
.footer-base {
  border-top: 1px solid rgba(255,255,255,.14); margin-top: 40px; padding-top: 20px;
  display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between;
  font-size: .82rem; color: #9db4aa;
}

/* Content page hero (subpages) */
.page-hero {
  background: linear-gradient(135deg, var(--green-800), var(--green-600));
  color: #fff; padding: 54px 0 48px;
}
.page-hero h1 { color: #fff; margin-bottom: .25em; }
.page-hero .hero-kicker { margin-bottom: 10px; }
.page-hero p.lede { font-size: 1.15rem; max-width: 700px; color: #dfeae4; }

/* Article */
.article p { max-width: 68ch; }
blockquote.pull {
  border-left: 4px solid var(--sand-500); margin: 1.4em 0; padding: .4em 0 .4em 1.1em;
  font-family: var(--font-display); font-size: 1.35rem; color: var(--green-700);
}

/* Notice pill */
.notice {
  display: inline-block; background: var(--sand-100); border: 1px solid var(--sand-300);
  color: var(--sand-600); border-radius: 999px; padding: 6px 16px; font-size: .84rem; font-weight: 600;
}

/* ---------------- Responsive ---------------- */
@media (max-width: 900px) {
  .hosts-card { grid-template-columns: 1fr; }
  .hosts-card img { min-height: 210px; max-height: 280px; }
  .amenities { columns: 1; }
  .hero-slider { aspect-ratio: 4 / 4.4; max-height: 480px; }
}
@media (max-width: 620px) {
  body { font-size: .97rem; }
  .section { padding: 44px 0; }
  .brand-name { font-size: 1.25rem; }
  .brand-tag { display: none; }
  .brand-logo { height: 40px; }
  .lang-switch { order: 3; width: 100%; justify-content: flex-start; }
  .header-inner { gap: 10px; }
  .hero-slider { aspect-ratio: 3 / 4.6; }
  .hero h1 { font-size: 1.7rem; }
  .slider-nav { display: none; }
  .card { padding: 20px 18px 14px; }
  .badges img { height: 44px; }
  .badges.big img { height: 62px; }
  .gallery { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 9px; }
  .strip-scroll { grid-auto-columns: 122px; }
}
@media print {
  .site-header, .site-footer, .hero-actions, .slider-nav, .slider-dots { display: none; }
}

/* Availability calendar iframe frame */
.cal-frame {
  position: relative; overflow: hidden;
  background: #faf7f0; border: 1px solid var(--line); border-radius: 14px;
  min-height: 420px; box-shadow: 0 1px 3px rgba(22,48,42,.08);
}
.cal-frame.cal-ready { overflow-x: auto; overflow-y: hidden; }
.cal-sizer { position: relative; }
.cal-frame iframe {
  position: absolute; top: 0; left: 0; width: 790px; border: 0;
  transform-origin: 0 0; -webkit-transform-origin: 0 0;
}
.cal-loading {
  position: absolute; top: 40px; left: 0; right: 0; text-align: center;
  color: var(--ink-soft);
}
.cal-frame.cal-ready .cal-loading { display: none; }
