/* =========================================================
   บ้านพักป่าตอง — Stylesheet
   ดีไซน์: มินิมอล อบอุ่น โทนธรรมชาติ (ครีม / เขียว / ไม้ / ดินเผา)
   ========================================================= */

/* ---------- Design tokens ---------- */
:root {
  --cream: #faf6ef;
  --cream-2: #f3ebdd;
  --white: #fffdf9;
  --green: #2f5d50;
  --green-dark: #24483e;
  --green-soft: #e3ede6;
  --green-mid: #6e9278;
  --terracotta: #c97b5a;
  --terracotta-dark: #b06545;
  --terracotta-soft: #f6e3d8;
  --wood: #b08968;
  --ink: #2b2b26;
  --ink-soft: #5e5e54;
  --line: #e5dbc9;
  --line-strong: #d6c9b3;
  --danger: #b3402f;
  --shadow-sm: 0 2px 8px rgba(47, 93, 80, 0.06);
  --shadow-md: 0 12px 30px rgba(47, 93, 80, 0.12);
  --shadow-lg: 0 24px 60px rgba(47, 93, 80, 0.18);
  --radius: 22px;
  --radius-sm: 13px;
  --container: 1160px;
  --font: "IBM Plex Sans Thai", "Noto Sans Thai", "Segoe UI", system-ui,
    -apple-system, sans-serif;
}

/* ---------- Reset / base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.68;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}

body.no-scroll {
  overflow: hidden;
}

img {
  max-width: 100%;
  height: auto;
}

svg {
  display: block;
}

a {
  color: inherit;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

[hidden] {
  display: none !important;
}

:focus-visible {
  outline: 3px solid var(--terracotta);
  outline-offset: 2px;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding-inline: clamp(1rem, 4vw, 2rem);
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 1rem;
  z-index: 200;
  padding: 0.7rem 1.1rem;
  background: var(--green);
  color: #fff;
  border-radius: 0 0 12px 12px;
  text-decoration: none;
  font-weight: 600;
  transition: top 0.2s ease;
}

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

/* ---------- Typography ---------- */
h1,
h2,
h3,
h4 {
  margin: 0;
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: var(--ink);
}

h1 {
  font-size: clamp(2rem, 4.4vw, 3.35rem);
  font-weight: 700;
}

h2 {
  font-size: clamp(1.55rem, 3vw, 2.35rem);
  font-weight: 700;
}

h3 {
  font-size: clamp(1.15rem, 2vw, 1.4rem);
  font-weight: 600;
}

p {
  margin: 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.38rem 0.85rem;
  border-radius: 999px;
  background: var(--green-soft);
  color: var(--green-dark);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  line-height: 1.4;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.82rem 1.5rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font: inherit;
  font-size: 0.96rem;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color 0.2s ease, color 0.2s ease,
    border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.btn svg {
  flex: 0 0 auto;
}

.btn-sm {
  padding: 0.58rem 1.05rem;
  font-size: 0.86rem;
}

.btn-primary {
  background: var(--green);
  color: #fff;
  box-shadow: 0 8px 20px rgba(47, 93, 80, 0.22);
}

.btn-primary:hover {
  background: var(--green-dark);
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(47, 93, 80, 0.28);
}

.btn-whatsapp {
  background: #25d366;
  color: #0b3d24;
  box-shadow: 0 8px 20px rgba(37, 211, 102, 0.24);
}

.btn-whatsapp:hover {
  background: #1fbd5b;
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(37, 211, 102, 0.3);
}

.btn-outline {
  background: transparent;
  border-color: var(--line-strong);
  color: var(--ink);
}

.btn-outline:hover {
  border-color: var(--green);
  color: var(--green);
  background: rgba(47, 93, 80, 0.05);
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
}

.btn-ghost:hover {
  background: var(--green-soft);
  color: var(--green-dark);
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(250, 246, 239, 0.86);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: border-color 0.25s ease, box-shadow 0.25s ease,
    background-color 0.25s ease;
}

.site-header.scrolled {
  border-bottom-color: var(--line);
  background: rgba(250, 246, 239, 0.96);
  box-shadow: 0 6px 24px rgba(47, 93, 80, 0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  min-height: 76px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  flex-shrink: 0;
}

.brand-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 13px;
  background: var(--green);
  color: #f7f2e7;
  box-shadow: 0 6px 16px rgba(47, 93, 80, 0.2);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-text strong {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.brand-text small {
  font-size: 0.72rem;
  color: var(--ink-soft);
  letter-spacing: 0.06em;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  margin-left: auto;
}

.main-nav > a {
  padding: 0.5rem 0.72rem;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 500;
  text-decoration: none;
  color: var(--ink-soft);
  transition: color 0.2s ease, background-color 0.2s ease;
}

.main-nav > a:hover {
  color: var(--green-dark);
  background: var(--green-soft);
}

.nav-lang,
.nav-mobile-call {
  display: none;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-left: 0.25rem;
}

.lang-switch {
  display: inline-flex;
  padding: 3px;
  border-radius: 999px;
  background: var(--cream-2);
  border: 1px solid var(--line);
}

.lang-switch button {
  padding: 0.32rem 0.62rem;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--ink-soft);
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.lang-switch button.is-active {
  background: var(--green);
  color: #fff;
}

.lang-switch button:not(.is-active):hover {
  color: var(--green-dark);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  margin-left: auto;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  height: 2px;
  border-radius: 2px;
  background: var(--green-dark);
  transition: transform 0.25s ease, opacity 0.2s ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

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

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(2.5rem, 5vw, 4.5rem) clamp(2rem, 4vw, 3rem);
  background:
    radial-gradient(circle at 88% 12%, rgba(201, 123, 90, 0.13), transparent 34%),
    radial-gradient(circle at 8% 88%, rgba(110, 146, 120, 0.16), transparent 38%),
    linear-gradient(180deg, var(--cream) 0%, var(--cream-2) 100%);
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  align-items: center;
  gap: clamp(2rem, 5vw, 4.5rem);
}

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

.hero-copy h1 {
  margin-top: 1.1rem;
}

.hero-copy h1 .highlight {
  display: block;
  color: var(--green);
  position: relative;
  width: fit-content;
}

.hero-copy h1 .highlight::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0.15em;
  bottom: 0.06em;
  height: 0.22em;
  border-radius: 999px;
  background: rgba(201, 123, 90, 0.28);
  z-index: -1;
}

.hero-copy p {
  margin-top: 1.1rem;
  font-size: clamp(1rem, 1.4vw, 1.08rem);
  color: var(--ink-soft);
}

.hero-pricing {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  margin-top: 1.6rem;
  flex-wrap: wrap;
}

.price-block {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.price-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--ink-soft);
  letter-spacing: 0.02em;
}

.price-value {
  font-size: clamp(1.4rem, 2.6vw, 1.85rem);
  font-weight: 700;
  color: var(--green-dark);
  line-height: 1.2;
  white-space: nowrap;
}

.price-value small {
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--ink-soft);
}

.price-sale .price-value {
  color: var(--terracotta, #c97b5a);
}

.sale-note {
  display: block;
  margin-top: 0.6rem;
  padding: 0.6rem 0.85rem;
  border-radius: 12px;
  background: rgba(201, 123, 90, 0.12);
  border-left: 3px solid var(--terracotta, #c97b5a);
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.5;
}

.price-divider {
  width: 1px;
  height: 42px;
  background: var(--line-strong);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.7rem;
}

.hero-note {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: 1.1rem;
  font-size: 0.86rem;
  color: var(--ink-soft);
}

.hero-note::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green-mid);
}

.hero-visual {
  position: relative;
  width: 100%;
}

.hero-visual > img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  aspect-ratio: 5 / 4;
  object-fit: cover;
  border-radius: 28px;
  box-shadow: var(--shadow-lg);
  background: var(--cream-2);
}

.photo-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 3;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  background: rgba(255, 253, 249, 0.92);
  color: var(--green-dark);
  font-size: 0.76rem;
  font-weight: 600;
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(6px);
}

.float-card {
  position: absolute;
  left: -1.1rem;
  bottom: 1.4rem;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.75rem 1.05rem;
  border-radius: 16px;
  background: var(--white);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--line);
}

.float-card-icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--terracotta-soft);
  color: var(--terracotta-dark);
}

.float-card small {
  display: block;
  font-size: 0.7rem;
  color: var(--ink-soft);
  letter-spacing: 0.05em;
}

.float-card strong {
  display: block;
  font-size: 0.95rem;
  color: var(--green-dark);
}

/* ---------- Quick facts ---------- */
.quick-facts {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  margin: clamp(2.2rem, 4vw, 3.2rem) 0 0;
  padding: 0;
  list-style: none;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.quick-facts li {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding: 1.15rem 1.4rem;
  border-left: 1px solid var(--line);
}

.quick-facts li:first-child {
  border-left: 0;
}

.quick-facts strong {
  font-size: clamp(1.2rem, 2.2vw, 1.55rem);
  font-weight: 700;
  color: var(--green-dark);
  line-height: 1.2;
}

.quick-facts span {
  font-size: 0.8rem;
  color: var(--ink-soft);
}

.quick-facts .fact-rental strong {
  font-size: 1rem;
  padding-block: 0.2rem;
}

/* ---------- Sections ---------- */
.section {
  padding-block: clamp(3.5rem, 7vw, 6rem);
}

.section-alt {
  background: var(--cream-2);
}

.section-head {
  max-width: 720px;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}

.section-head.center {
  margin-inline: auto;
  text-align: center;
}

.section-head h2 {
  margin-top: 0.85rem;
}

.section-head p {
  margin-top: 0.85rem;
  color: var(--ink-soft);
  font-size: 1.02rem;
}

/* ---------- Highlights ---------- */
.highlight-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.highlight-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.15rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 15px;
  font-weight: 500;
  transition: transform 0.2s ease, box-shadow 0.2s ease,
    border-color 0.2s ease;
}

.highlight-item:hover {
  transform: translateY(-2px);
  border-color: var(--green-mid);
  box-shadow: var(--shadow-sm);
}

.highlight-check {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--green-soft);
  color: var(--green);
}

/* ---------- Details ---------- */
.details-layout {
  display: grid;
  grid-template-columns: 1.45fr 1fr;
  gap: clamp(1.5rem, 3vw, 2.5rem);
  align-items: start;
}

.details-card {
  padding: clamp(1.4rem, 3vw, 2rem);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.details-card h3 {
  margin-bottom: 1rem;
}

.detail-list {
  margin: 0;
}

.detail-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 0.75rem 0;
  border-bottom: 1px dashed var(--line);
}

.detail-row:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.detail-row dt {
  color: var(--ink-soft);
  font-size: 0.92rem;
  white-space: nowrap;
}

.detail-row dd {
  margin: 0;
  font-weight: 600;
  text-align: right;
}

.rates {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.rate-card {
  position: relative;
  padding: 1.5rem 1.6rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.rate-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 5px;
  background: var(--terracotta);
}

.rate-card.featured {
  background: linear-gradient(150deg, var(--green) 0%, var(--green-dark) 100%);
  border-color: transparent;
  color: #f6f1e6;
  box-shadow: 0 18px 40px rgba(47, 93, 80, 0.28);
}

.rate-card.featured::before {
  background: var(--terracotta);
}

.rate-label {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.rate-card.featured .rate-label,
.rate-card.featured .rate-sub {
  color: rgba(246, 241, 230, 0.78);
}

.rate-price {
  margin-top: 0.35rem;
  font-size: clamp(1.6rem, 3vw, 2.05rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--green-dark);
}

.rate-card.featured .rate-price {
  color: #fff;
}

.rate-price small {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--ink-soft);
}

.rate-card.featured .rate-price small {
  color: rgba(246, 241, 230, 0.8);
}

.rate-sub {
  margin-top: 0.35rem;
  font-size: 0.86rem;
  color: var(--ink-soft);
}

.rate-card.sale-card {
  border-color: #ddb59f;
  background: linear-gradient(180deg, #fffaf6, #f9f1ea);
}

.rate-card.sale-card .rate-label {
  color: #b86a4a;
}

.rate-card.sale-card .rate-price {
  color: #b85f3f;
  font-size: clamp(1.35rem, 2.5vw, 1.8rem);
}

.rate-card.sale-card .rate-sub {
  color: #7a5a4d;
  line-height: 1.55;
}

.rates-note {
  padding: 0.9rem 1.05rem;
  border-radius: 13px;
  background: var(--terracotta-soft);
  color: #7a452e;
  font-size: 0.86rem;
  line-height: 1.55;
}

/* ---------- Facilities ---------- */
.facility-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.facility-card {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 1rem 1.15rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 15px;
  font-weight: 500;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.facility-card:hover {
  border-color: var(--green-mid);
  transform: translateY(-2px);
}

.facility-icon {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--green-soft);
  color: var(--green);
}

.facility-icon svg {
  width: 21px;
  height: 21px;
}

/* ---------- Gallery ---------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: minmax(150px, auto);
  gap: 0.85rem;
}

.gallery-card {
  position: relative;
  display: block;
  padding: 0;
  border: 0;
  border-radius: 16px;
  overflow: hidden;
  cursor: zoom-in;
  background: var(--cream-2);
  aspect-ratio: 4 / 3;
}

.gallery-card:first-child {
  grid-column: span 2;
  grid-row: span 2;
  aspect-ratio: auto;
}

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

.gallery-card:hover img {
  transform: scale(1.04);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 52%, rgba(20, 36, 29, 0.62) 100%);
  opacity: 0.85;
  transition: opacity 0.25s ease;
}

.gallery-card:hover .gallery-overlay {
  opacity: 1;
}

.gallery-caption {
  position: absolute;
  left: 0.9rem;
  right: 0.9rem;
  bottom: 0.8rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: #fff;
  font-size: 0.86rem;
  font-weight: 600;
  text-align: left;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

.gallery-note {
  margin-top: 1.1rem;
  text-align: center;
  font-size: 0.82rem;
  color: var(--ink-soft);
}

/* ---------- Brochure / Flyer ---------- */
.brochure-layout {
  display: grid;
  grid-template-columns: 1fr 0.85fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}

.brochure-copy h2 {
  margin-top: 0.9rem;
}

.brochure-copy > p {
  margin-top: 0.9rem;
  color: var(--ink-soft);
}

.brochure-points {
  list-style: none;
  margin: 1.4rem 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.brochure-points li {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-weight: 500;
}

.brochure-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.6rem;
}

.brochure-note {
  margin-top: 0.9rem;
  font-size: 0.78rem;
  color: var(--ink-soft);
}

.brochure-preview {
  margin: 0;
  padding: 0.9rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
}

.brochure-thumb {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  border-radius: 14px;
  overflow: hidden;
  background: var(--cream-2);
  cursor: zoom-in;
}

.brochure-thumb img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 620px;
  object-fit: contain;
  margin-inline: auto;
  transition: transform 0.35s ease;
}

.brochure-thumb:hover img {
  transform: scale(1.015);
}

.brochure-preview figcaption {
  margin-top: 0.6rem;
  text-align: center;
  font-size: 0.8rem;
  color: var(--ink-soft);
}

/* ---------- Location ---------- */
.map-inner {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: clamp(1.2rem, 3vw, 2rem);
  align-items: stretch;
}

.map-card {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  min-height: 420px;
  background: var(--cream-2);
}

.map-card iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 420px;
  border: 0;
}

.map-info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: clamp(1.4rem, 3vw, 2rem);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.map-info h3 {
  margin-top: 0.8rem;
}

.map-info > p {
  margin-top: 0.7rem;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.distance-list {
  list-style: none;
  margin: 1.2rem 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  width: 100%;
}

.distance-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.92rem;
}

.distance-list svg {
  flex: 0 0 auto;
  margin-top: 0.22rem;
  color: var(--terracotta);
}

.distance-note {
  margin-top: 0.9rem;
  font-size: 0.78rem;
  color: var(--ink-soft);
}

.map-info .btn {
  margin-top: auto;
  padding-top: 0.82rem;
}

.map-info .btn {
  margin-top: 1.3rem;
}

/* ---------- Contact ---------- */
.contact {
  background:
    radial-gradient(circle at 90% 10%, rgba(201, 123, 90, 0.12), transparent 34%),
    var(--cream-2);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

.contact-copy h2 {
  margin-top: 0.9rem;
}

.contact-intro {
  margin-top: 0.9rem;
  color: var(--ink-soft);
}

.contact-list {
  list-style: none;
  margin: 1.7rem 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
}

.contact-icon {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  border-radius: 13px;
  background: var(--white);
  border: 1px solid var(--line);
  color: var(--green);
}

.contact-list .label {
  display: block;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.contact-list a,
.contact-list .value {
  display: inline-block;
  margin-top: 0.1rem;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  word-break: break-word;
}

.contact-list a:hover {
  color: var(--green);
  text-decoration: underline;
}

.contact-note {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin-top: 1.7rem;
  padding: 0.8rem 1rem;
  border-radius: 13px;
  background: var(--green-soft);
  color: var(--green-dark);
  font-size: 0.88rem;
  font-weight: 500;
}

.contact-note svg {
  flex: 0 0 auto;
}

/* ---------- Form ---------- */
.form-card {
  padding: clamp(1.4rem, 3vw, 2.1rem);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
}

.form-card h3 {
  font-size: 1.3rem;
}

.form-intro {
  margin-top: 0.35rem;
  font-size: 0.9rem;
  color: var(--ink-soft);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.9rem;
  margin-top: 1.2rem;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.32rem;
}

.field.span-2 {
  grid-column: span 2;
}

.field label {
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--ink);
}

.field .req {
  color: var(--terracotta);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 0.68rem 0.85rem;
  border: 1px solid var(--line-strong);
  border-radius: 11px;
  background: var(--cream);
  font-size: 0.94rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease,
    background-color 0.2s ease;
}

.field textarea {
  resize: vertical;
  min-height: 96px;
}

.field input::placeholder,
.field textarea::placeholder {
  color: #9a9487;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--green);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(47, 93, 80, 0.14);
}

.field.has-error input,
.field.has-error select,
.field.has-error textarea {
  border-color: var(--danger);
  background: #fdf1ee;
}

.field-error {
  margin: 0;
  font-size: 0.78rem;
  color: var(--danger);
}

.form-submit {
  width: 100%;
  margin-top: 1.2rem;
}

.form-note {
  margin-top: 0.7rem;
  font-size: 0.78rem;
  color: var(--ink-soft);
  text-align: center;
  line-height: 1.55;
}

.form-result {
  margin-top: 1.1rem;
  padding: 1rem;
  border-radius: 13px;
  background: var(--green-soft);
  border: 1px solid #cfe0d4;
}

.form-result > p {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--green-dark);
}

.form-result-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 0.75rem;
}

.form-result-actions .btn {
  flex: 1 1 140px;
  font-size: 0.88rem;
  padding-block: 0.66rem;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--green-dark);
  color: #e9e2d3;
  padding-top: clamp(2.5rem, 5vw, 4rem);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1.25fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  padding-bottom: 2.5rem;
}

.brand-footer .brand-icon {
  background: rgba(255, 255, 255, 0.1);
  color: #f7f2e7;
  box-shadow: none;
}

.brand-footer .brand-text strong {
  color: #fff;
}

.brand-footer .brand-text small {
  color: rgba(233, 226, 211, 0.7);
}

.footer-brand p {
  margin-top: 1rem;
  max-width: 360px;
  font-size: 0.9rem;
  color: rgba(233, 226, 211, 0.78);
  line-height: 1.7;
}

.footer-col h4 {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(233, 226, 211, 0.62);
  margin-bottom: 0.9rem;
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-col a,
.footer-col span {
  font-size: 0.9rem;
  text-decoration: none;
  color: rgba(233, 226, 211, 0.86);
  transition: color 0.2s ease;
  word-break: break-word;
}

.footer-col a:hover {
  color: #fff;
  text-decoration: underline;
}

.footer-contact li {
  line-height: 1.5;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding-block: 1.2rem;
  border-top: 1px solid rgba(233, 226, 211, 0.16);
  font-size: 0.8rem;
  color: rgba(233, 226, 211, 0.66);
}

/* ---------- Floating contact ---------- */
.floating-contact {
  position: fixed;
  right: clamp(0.9rem, 3vw, 1.6rem);
  bottom: clamp(0.9rem, 3vw, 1.6rem);
  z-index: 80;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.float-btn {
  position: relative;
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  color: #fff;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(36, 72, 62, 0.24);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.float-btn:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 14px 30px rgba(36, 72, 62, 0.32);
}

.float-whatsapp {
  background: #25d366;
  color: #fff;
}

.float-call {
  background: var(--terracotta);
}

.float-tooltip {
  position: absolute;
  right: calc(100% + 0.6rem);
  top: 50%;
  transform: translateY(-50%) translateX(6px);
  padding: 0.35rem 0.7rem;
  border-radius: 8px;
  background: var(--green-dark);
  color: #fff;
  font-size: 0.76rem;
  font-weight: 500;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.float-btn:hover .float-tooltip,
.float-btn:focus-visible .float-tooltip {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 150;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(1rem, 4vw, 2.5rem);
  background: rgba(18, 30, 26, 0.9);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.lightbox-figure {
  margin: 0;
  max-width: min(1100px, 92vw);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.85rem;
}

.lightbox-figure img {
  display: block;
  max-width: 100%;
  max-height: 78vh;
  object-fit: contain;
  border-radius: 14px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
  background: #12201b;
}

.lightbox-figure figcaption {
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.9rem;
  text-align: center;
}

.lightbox-close,
.lightbox-nav {
  position: absolute;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

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

.lightbox-close {
  top: clamp(1rem, 3vw, 1.8rem);
  right: clamp(1rem, 3vw, 1.8rem);
}

.lightbox-nav {
  top: 50%;
  transform: translateY(-50%);
}

.lightbox-nav:hover {
  transform: translateY(-50%) scale(1.05);
}

.lightbox-nav.prev {
  left: clamp(0.8rem, 3vw, 1.8rem);
}

.lightbox-nav.next {
  right: clamp(0.8rem, 3vw, 1.8rem);
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .main-nav > a {
    padding-inline: 0.55rem;
    font-size: 0.88rem;
  }

  .highlight-grid,
  .facility-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .header-actions {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0.15rem;
    margin: 0;
    padding: 1rem clamp(1rem, 4vw, 2rem) 1.4rem;
    background: var(--cream);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 18px 40px rgba(47, 93, 80, 0.12);
  }

  .main-nav.open {
    display: flex;
  }

  .main-nav > a {
    padding: 0.75rem 0.5rem;
    border-radius: 10px;
    font-size: 1rem;
  }

  .nav-lang {
    display: flex;
    gap: 0.5rem;
    margin-top: 0.8rem;
    padding-top: 0.9rem;
    border-top: 1px solid var(--line);
  }

  .nav-lang button {
    flex: 1;
    padding: 0.55rem;
    border: 1px solid var(--line-strong);
    border-radius: 999px;
    background: var(--white);
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
  }

  .nav-lang button.is-active {
    background: var(--green);
    border-color: var(--green);
    color: #fff;
  }

  .nav-mobile-call {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.5rem;
    padding: 0.75rem 0.5rem;
    font-weight: 600;
    color: var(--green-dark);
    text-decoration: none;
  }

  .hero-inner {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    max-width: 640px;
  }

  .hero-visual {
    max-width: 640px;
    margin-inline: auto;
  }

  .float-card {
    left: 0.8rem;
  }

  .quick-facts {
    grid-template-columns: repeat(3, 1fr);
  }

  .quick-facts li:nth-child(4) {
    border-left: 0;
  }

  .quick-facts li:nth-child(n + 4) {
    border-top: 1px solid var(--line);
  }

  .quick-facts .fact-rental {
    grid-column: span 2;
  }

  .details-layout,
  .map-inner,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .brochure-layout {
    grid-template-columns: 1fr;
  }

  .brochure-preview {
    max-width: 460px;
    margin-inline: auto;
    width: 100%;
  }

  .map-card,
  .map-card iframe {
    min-height: 360px;
  }

  .map-info .btn {
    margin-top: 1.3rem;
  }

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

  .footer-brand {
    grid-column: span 2;
  }
}

@media (max-width: 720px) {
  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gallery-card:first-child {
    grid-column: span 2;
    grid-row: span 1;
    aspect-ratio: 16 / 10;
  }

  .gallery-card:nth-child(2),
  .gallery-card:nth-child(3) {
    grid-row: span 1;
  }

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

  .field.span-2 {
    grid-column: span 1;
  }

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

  .footer-brand {
    grid-column: span 1;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.35rem;
  }
}

@media (max-width: 560px) {
  .brand-text strong {
    font-size: 0.94rem;
  }

  .hero-pricing {
    gap: 1rem;
  }

  .price-divider {
    display: none;
  }

  .hero-actions .btn,
  .brochure-actions .btn {
    flex: 1 1 100%;
  }

  .quick-facts {
    grid-template-columns: repeat(2, 1fr);
  }

  .quick-facts li {
    padding: 0.9rem 1.05rem;
    border-left: 1px solid var(--line);
  }

  .quick-facts li:nth-child(odd) {
    border-left: 0;
  }

  .quick-facts li:nth-child(n + 3) {
    border-top: 1px solid var(--line);
  }

  .quick-facts li:nth-child(4) {
    border-left: 0;
  }

  .quick-facts .fact-rental {
    grid-column: span 2;
    border-left: 0;
  }

  .highlight-grid,
  .facility-grid {
    grid-template-columns: 1fr;
  }

  .detail-row {
    flex-direction: column;
    gap: 0.15rem;
  }

  .detail-row dd {
    text-align: left;
  }

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

  .gallery-card:first-child {
    grid-column: span 1;
    aspect-ratio: 4 / 3;
  }

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

  .lightbox-nav.prev {
    left: 0.4rem;
  }

  .lightbox-nav.next {
    right: 0.4rem;
  }

  .float-btn {
    width: 50px;
    height: 50px;
  }

  .float-tooltip {
    display: none;
  }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}
