/* =========================================================
   Casa de pe Vârf – stiluri
   ========================================================= */

:root {
  --forest: #1f3a2e;
  --forest-2: #2c5242;
  --accent: #c8642c;
  --accent-2: #b0521d;
  --cream: #f7f2ea;
  --sand: #efe6d8;
  --ink: #1d211f;
  --muted: #5e655f;
  --line: #e2d8c8;
  --white: #fff;
  --wa: #25d366;
  --wa-dark: #1ebe5b;

  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 10px 30px -12px rgba(20, 35, 28, .25);
  --shadow-lg: 0 24px 60px -20px rgba(20, 35, 28, .4);

  --font-head: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --header-h: 72px;
}

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

html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 500;
  line-height: 1.15;
  margin: 0 0 .5em;
  letter-spacing: -.01em;
}
h2 { font-size: clamp(2rem, 4vw, 2.9rem); }
h3 { font-size: 1.6rem; }

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .55em;
  padding: .9em 1.5em;
  border-radius: 999px;
  border: 2px solid transparent;
  font: 600 1rem/1 var(--font-body);
  text-decoration: none;
  cursor: pointer;
  transition: background .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn-sm { padding: .7em 1.2em; font-size: .92rem; }
.btn-accent { background: var(--accent); color: var(--white); box-shadow: 0 8px 20px -8px rgba(200, 100, 44, .7); }
.btn-accent:hover { background: var(--accent-2); }
.btn-primary { background: var(--forest); color: var(--white); }
.btn-primary:hover { background: var(--forest-2); }
.btn-outline { border-color: var(--forest); color: var(--forest); }
.btn-outline:hover { background: var(--forest); color: var(--white); }
.btn-ghost { border-color: rgba(255, 255, 255, .7); color: var(--white); backdrop-filter: blur(4px); background: rgba(255, 255, 255, .08); }
.btn-ghost:hover { background: rgba(255, 255, 255, .2); }
.btn-whatsapp { background: var(--wa); color: var(--white); width: 100%; justify-content: center; font-size: 1.05rem; }
.btn-whatsapp:hover { background: var(--wa-dark); }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  height: var(--header-h);
  transition: background .3s, box-shadow .3s;
}
.site-header.scrolled {
  background: rgba(247, 242, 234, .94);
  backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 var(--line);
}
.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand {
  display: flex;
  align-items: center;
  gap: .6rem;
  text-decoration: none;
  color: var(--white);
  transition: color .3s;
}
.scrolled .brand { color: var(--forest); }
.brand-mark { width: 36px; height: 36px; }
.brand-text { font-family: var(--font-head); font-size: 1.35rem; font-weight: 600; }

.nav { display: flex; align-items: center; gap: 1.6rem; }
.nav a:not(.btn) {
  color: var(--white);
  text-decoration: none;
  font-weight: 500;
  font-size: .95rem;
  position: relative;
  transition: color .3s;
}
.scrolled .nav a:not(.btn) { color: var(--ink); }
.nav a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -4px;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transition: transform .25s;
}
.nav a:not(.btn):hover::after,
.nav a.active::after { transform: scaleX(1); }

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  font-size: 1.5rem;
  color: var(--white);
  cursor: pointer;
  padding: .4rem;
}
.scrolled .nav-toggle { color: var(--forest); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: var(--white);
  padding: calc(var(--header-h) + 40px) 0 40px;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 60%;
  transform: scale(1.06);
  animation: heroZoom 18s ease-out forwards;
}
@keyframes heroZoom { to { transform: scale(1); } }
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(10, 20, 15, .55) 0%, rgba(10, 20, 15, .05) 30%, rgba(10, 20, 15, .15) 55%, rgba(10, 20, 15, .8) 100%);
}
.hero-content { position: relative; max-width: 1200px; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .5em;
  font-size: .85rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  margin: 0 0 1rem;
  opacity: .95;
}
.eyebrow i { color: #f0a273; }
.hero h1 {
  font-size: clamp(3rem, 9vw, 6.5rem);
  font-weight: 500;
  margin: 0 0 1.2rem;
  text-shadow: 0 4px 30px rgba(0, 0, 0, .3);
}
.hero-lead { max-width: 580px; font-size: clamp(1.05rem, 1.8vw, 1.25rem); margin: 0 0 2rem; opacity: .95; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; }

.hero-facts {
  position: relative;
  list-style: none;
  margin: 3.5rem 0 0;
  padding: 1.2rem 1.5rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: var(--radius);
  backdrop-filter: blur(12px);
}
.hero-facts li { display: flex; align-items: center; gap: .8rem; font-size: .95rem; line-height: 1.3; }
.hero-facts i { font-size: 1.35rem; color: #f0a273; width: 1.6rem; text-align: center; }
.hero-facts strong { font-weight: 700; }

/* ---------- Sections ---------- */
.section { padding: clamp(70px, 10vw, 120px) 0; }
.section-alt { background: var(--sand); }
.section-dark { background: var(--forest); color: var(--cream); }
.section-head { max-width: 680px; margin: 0 auto 3rem; text-align: center; }
.section-head p { color: var(--muted); margin: 0; }
.section-dark .section-head p { color: rgba(247, 242, 234, .75); }
.kicker {
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 .8rem !important;
}
.section-dark .kicker { color: #f0a273; }

/* ---------- About ---------- */
.about { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.about-text p { color: #3b423d; }
.badges { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2rem; }
.badge {
  display: flex;
  align-items: center;
  gap: .9rem;
  padding: .9rem 1.3rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}
.badge-score {
  font-family: var(--font-head);
  font-size: 2rem;
  font-weight: 600;
  color: var(--white);
  background: var(--forest);
  border-radius: 10px;
  padding: .2rem .6rem;
  line-height: 1.2;
}
.badge-icon { font-size: 2rem; color: var(--accent); }
.badge-label { font-weight: 700; line-height: 1.25; }
.badge-label small { font-weight: 500; color: var(--muted); font-size: .85rem; }

.about-media { position: relative; padding-bottom: 3rem; }
.about-img-main {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}
.about-img-small {
  position: absolute;
  width: 42%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  left: -2rem;
  bottom: 0;
  border-radius: var(--radius);
  border: 6px solid var(--cream);
  box-shadow: var(--shadow);
}

/* ---------- Rooms ---------- */
.rooms { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; }
.room {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}
.room-slider { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: #ddd; }
.slides { display: flex; height: 100%; transition: transform .5s cubic-bezier(.2, .7, .2, 1); }
.slides img { flex: 0 0 100%; width: 100%; height: 100%; object-fit: cover; }
.slide-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px; height: 42px;
  border-radius: 50%;
  border: 0;
  background: rgba(255, 255, 255, .88);
  color: var(--forest);
  cursor: pointer;
  opacity: 0;
  transition: opacity .2s, background .2s;
}
.room-slider:hover .slide-btn,
.slide-btn:focus-visible { opacity: 1; }
.slide-btn:hover { background: var(--white); }
.slide-btn.prev { left: 12px; }
.slide-btn.next { right: 12px; }
.slide-dots { position: absolute; bottom: 12px; left: 0; right: 0; display: flex; justify-content: center; gap: 6px; }
.slide-dots button {
  width: 8px; height: 8px;
  border-radius: 50%;
  border: 0;
  padding: 0;
  background: rgba(255, 255, 255, .55);
  cursor: pointer;
  transition: background .2s, width .2s;
}
.slide-dots button.active { background: var(--white); width: 22px; border-radius: 4px; }
.room-count {
  position: absolute;
  top: 14px; left: 14px;
  background: var(--accent);
  color: var(--white);
  font-weight: 700;
  font-size: .9rem;
  padding: .3rem .75rem;
  border-radius: 999px;
}
.room-body { padding: 1.8rem; display: flex; flex-direction: column; flex: 1; }
.room-meta { list-style: none; padding: 0; margin: 0 0 1rem; display: flex; flex-wrap: wrap; gap: .5rem; }
.room-meta li {
  font-size: .88rem;
  font-weight: 600;
  background: var(--cream);
  border-radius: 999px;
  padding: .35rem .85rem;
  color: var(--forest);
}
.room-meta i { color: var(--accent); margin-right: .25rem; }
.room-desc { color: var(--muted); font-size: .97rem; margin: 0 0 1.5rem; }
.room-foot {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--line);
}
.price { margin: 0; line-height: 1.2; }
.price strong { font-family: var(--font-head); font-size: 1.9rem; font-weight: 600; color: var(--forest); }
.price-from, .price-unit { font-size: .85rem; color: var(--muted); }

/* ---------- Whole house ---------- */
.whole-house {
  margin-top: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 2rem 2.4rem;
  background: var(--forest);
  color: var(--cream);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.whole-house h3 { color: var(--white); margin-bottom: .4rem; }
.whole-house-text p:last-child { margin: 0; opacity: .85; max-width: 620px; }
.whole-house .kicker { color: #f0a273; }
.whole-house-price { flex: none; display: flex; flex-direction: column; align-items: flex-end; gap: .9rem; }
.whole-house .price strong { color: var(--white); font-size: 2.4rem; }
.whole-house .price-unit { color: rgba(247, 242, 234, .75); }

/* ---------- Features ---------- */
.features {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.features li {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.1rem 1.2rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: .95rem;
  line-height: 1.3;
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.features li:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: transparent; }
.features i {
  flex: none;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: rgba(200, 100, 44, .1);
  color: var(--accent);
  font-size: 1.2rem;
}
.note { text-align: center; color: var(--muted); font-size: .92rem; margin: 2rem 0 0; }
.note i { color: var(--accent); margin-right: .4rem; }

/* ---------- Gallery ---------- */
.filters { display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem; margin-bottom: 2.5rem; }
.filter {
  font: 600 .92rem var(--font-body);
  padding: .6rem 1.2rem;
  border-radius: 999px;
  border: 1px solid rgba(247, 242, 234, .35);
  background: transparent;
  color: var(--cream);
  cursor: pointer;
  transition: background .2s, color .2s;
}
.filter:hover { background: rgba(247, 242, 234, .12); }
.filter.active { background: var(--cream); color: var(--forest); border-color: var(--cream); }

.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-flow: dense; gap: 14px; }
.gallery-item {
  border-radius: var(--radius-sm);
  overflow: hidden;
  cursor: zoom-in;
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  padding: 0;
  border: 0;
  background: rgba(255, 255, 255, .06);
}
.gallery-item.wide { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s, filter .3s; }
.gallery-item:hover img { transform: scale(1.05); filter: brightness(1.05); }
.gallery-item::after {
  content: "\f00e";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: var(--white);
  font-size: 1.5rem;
  background: rgba(15, 30, 22, .35);
  opacity: 0;
  transition: opacity .3s;
}
.gallery-item:hover::after { opacity: 1; }
.gallery-item.hide { display: none; }

/* ---------- Video ---------- */
.video-section {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 85% 20%, rgba(200, 100, 44, .14), transparent 45%),
    radial-gradient(circle at 10% 90%, rgba(31, 58, 46, .10), transparent 50%),
    var(--sand);
}
.video-layout { display: flex; flex-direction: column; gap: 3.5rem; }
.video-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 1rem clamp(2rem, 6vw, 5rem);
  align-items: center;
}
.video-intro-head p { color: #3b423d; max-width: 480px; margin-bottom: 0; }
.video-points { list-style: none; padding: 0; margin: 0 0 1.6rem; display: grid; gap: .9rem; }
.video-points li { display: flex; gap: 1rem; align-items: center; line-height: 1.45; color: #3b423d; }
.video-points i {
  flex: none;
  width: 42px; height: 42px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--white);
  color: var(--accent);
  box-shadow: 0 6px 16px -10px rgba(20, 35, 28, .4);
}
.video-points strong { color: var(--forest); }

.videos { display: flex; justify-content: center; gap: clamp(1rem, 2.5vw, 2rem); align-items: flex-start; }
.video-card { margin: 0; width: 250px; }
.video-card:nth-child(odd) { margin-top: 3.5rem; }
.phone {
  position: relative;
  padding: 10px;
  background: #15211b;
  border-radius: 36px;
  box-shadow: var(--shadow-lg), inset 0 0 0 2px rgba(255, 255, 255, .06);
}
.phone::before {
  content: "";
  position: absolute;
  top: 18px; left: 50%;
  width: 64px; height: 6px;
  transform: translateX(-50%);
  border-radius: 6px;
  background: rgba(255, 255, 255, .18);
  z-index: 1;
  pointer-events: none;
}
.phone video {
  display: block;
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  background: #111;
  border-radius: 27px;
}
.video-card figcaption { margin-top: 1rem; text-align: center; font-weight: 700; color: var(--forest); font-size: .95rem; }
.video-card figcaption i { color: var(--accent); margin-right: .4rem; }

/* ---------- Reviews ---------- */
.reviews { display: grid; grid-template-columns: .8fr 1fr 1fr; gap: 1.5rem; align-items: stretch; }
.score-card {
  background: var(--forest);
  color: var(--cream);
  border-radius: var(--radius);
  padding: 2rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.score { font-family: var(--font-head); font-size: 4.5rem; line-height: 1; font-weight: 600; }
.stars { color: #f0a273; margin: .8rem 0; letter-spacing: .15em; }
.score-card p { margin: 0; opacity: .85; }
.review {
  margin: 0;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2rem;
  display: flex;
  flex-direction: column;
}
.review > i { color: var(--accent); font-size: 1.6rem; opacity: .6; }
.review p { font-family: var(--font-head); font-size: 1.2rem; line-height: 1.5; margin: 1rem 0 1.5rem; }
.review footer { margin-top: auto; font-weight: 700; color: var(--forest); font-size: .95rem; }
.review footer::before { content: "— "; }

/* ---------- Location ---------- */
.location { display: grid; grid-template-columns: 1fr 1.3fr; gap: 3rem; align-items: center; }
.location-info p { color: #3b423d; }
address {
  font-style: normal;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  background: var(--white);
  padding: 1.2rem 1.4rem;
  border-radius: var(--radius-sm);
  margin: 1.5rem 0;
  font-weight: 600;
  line-height: 1.5;
}
address i { color: var(--accent); font-size: 1.4rem; margin-top: .15rem; }
.nav-links { display: flex; flex-wrap: wrap; gap: .8rem; }
.map {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 3;
  background: #dcd5c8;
}
.map iframe { width: 100%; height: 100%; border: 0; display: block; }

/* ---------- Contact ---------- */
.contact-section { position: relative; color: var(--white); overflow: hidden; }
.contact-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}
.contact-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(18, 36, 28, .92) 0%, rgba(18, 36, 28, .78) 50%, rgba(18, 36, 28, .55) 100%);
}
.contact { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.contact-info .kicker { color: #f0a273; }
.contact-info p { opacity: .9; max-width: 460px; }
.contact-list { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; gap: .9rem; }
.contact-list a,
.contact-list span {
  display: inline-flex;
  align-items: center;
  gap: .8rem;
  color: var(--white);
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
}
.contact-list i {
  width: 44px; height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, .12);
  font-size: 1.1rem;
  flex: 0 0 44px;
}
.contact-list a:hover i { background: var(--accent); }

.booking {
  background: var(--cream);
  color: var(--ink);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow-lg);
}
.booking h3 { margin-bottom: .2rem; color: var(--forest); }
.form-hint { color: var(--muted); font-size: .92rem; margin: 0 0 1.4rem; }
.form-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1rem; }
.form-grid label { min-width: 0; display: flex; flex-direction: column; gap: .35rem; font-size: .85rem; font-weight: 700; color: var(--forest); }
.form-grid .full { grid-column: 1 / -1; }
.form-grid input,
.form-grid select,
.form-grid textarea {
  font: 500 1rem var(--font-body);
  color: var(--ink);
  padding: .75rem .9rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--white);
  width: 100%;
  min-width: 0;
  transition: border-color .2s, box-shadow .2s;
}
.form-grid textarea { resize: vertical; }
/* iOS Safari: câmpurile de dată au lățime/înălțime proprie */
.form-grid input[type="date"] {
  -webkit-appearance: none;
  appearance: none;
  display: block;
  max-width: 100%;
  height: 3.1rem;
  line-height: 1.3;
  text-align: left;
}
.form-grid input[type="date"]::-webkit-date-and-time-value { text-align: left; margin: 0; }
.form-grid input[type="date"]::-webkit-calendar-picker-indicator { opacity: .6; cursor: pointer; }
.form-grid input:focus,
.form-grid select:focus,
.form-grid textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(200, 100, 44, .18);
}
.form-error { color: #b42318; font-size: .9rem; font-weight: 600; min-height: 1.3em; margin: .8rem 0; }

/* ---------- Footer ---------- */
.site-footer { background: #142820; color: rgba(247, 242, 234, .75); padding: 4rem 0 0; font-size: .95rem; }
.footer-inner { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 2rem; padding-bottom: 3rem; }
.site-footer h4 { color: var(--cream); font-family: var(--font-body); font-size: .8rem; letter-spacing: .15em; text-transform: uppercase; font-weight: 700; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--white); }
.brand-footer { color: var(--cream); margin-bottom: 1rem; }
.footer-bottom { border-top: 1px solid rgba(247, 242, 234, .12); padding: 1.4rem 24px; font-size: .85rem; }
.footer-bottom p { margin: 0; }

/* ---------- Floating contact buttons ---------- */
.float-contact {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 60;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
}
.float-btn {
  position: relative;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--white);
  font-size: 1.6rem;
  text-decoration: none;
  box-shadow: 0 10px 25px -6px rgba(0, 0, 0, .35);
  transition: transform .2s, box-shadow .2s;
}
.float-btn:hover { transform: scale(1.08); box-shadow: 0 14px 30px -6px rgba(0, 0, 0, .45); }
.float-wa { background: var(--wa); font-size: 2rem; }
.float-wa::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--wa);
  z-index: -1;
  animation: pulse 2.4s ease-out infinite;
}
@keyframes pulse {
  0% { transform: scale(1); opacity: .6; }
  100% { transform: scale(1.6); opacity: 0; }
}
.float-phone { background: var(--accent); }
.float-contact { transition: opacity .25s, transform .25s; }
.float-label {
  position: absolute;
  right: calc(100% + 12px);
  white-space: nowrap;
  background: var(--ink);
  color: var(--white);
  font: 600 .85rem var(--font-body);
  padding: .45rem .8rem;
  border-radius: 8px;
  opacity: 0;
  transform: translateX(6px);
  pointer-events: none;
  transition: opacity .2s, transform .2s;
}
.float-btn:hover .float-label,
.float-btn:focus-visible .float-label { opacity: 1; transform: none; }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(8, 14, 11, .95);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 4.5rem;
  animation: fadeIn .25s;
}
.lightbox[hidden] { display: none; }
@keyframes fadeIn { from { opacity: 0; } }
.lightbox figure { margin: 0; max-width: 100%; max-height: 100%; display: flex; flex-direction: column; align-items: center; }
.lightbox img { max-width: 100%; max-height: calc(100vh - 7rem); border-radius: 8px; object-fit: contain; }
.lightbox figcaption { color: rgba(255, 255, 255, .8); margin-top: .9rem; font-size: .95rem; text-align: center; }
.lb-close,
.lb-nav {
  position: absolute;
  background: rgba(255, 255, 255, .1);
  border: 0;
  color: var(--white);
  width: 50px; height: 50px;
  border-radius: 50%;
  font-size: 1.3rem;
  cursor: pointer;
  transition: background .2s;
}
.lb-close:hover,
.lb-nav:hover { background: rgba(255, 255, 255, .22); }
.lb-close { top: 20px; right: 20px; }
.lb-prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 16px; top: 50%; transform: translateY(-50%); }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s ease; }
.reveal.visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-bg, .float-wa::before { animation: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .features { grid-template-columns: repeat(3, 1fr); }
  .reviews { grid-template-columns: 1fr 1fr; }
  .score-card { grid-column: 1 / -1; }
  .gallery { grid-template-columns: repeat(3, 1fr); }
  .gallery-item.wide:first-child { grid-column: span 3; }
}

@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .nav {
    position: fixed;
    top: var(--header-h);
    left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--cream);
    padding: .5rem 24px 1.5rem;
    box-shadow: 0 20px 30px -20px rgba(0, 0, 0, .3);
    transform: translateY(-120%);
    visibility: hidden;
    transition: transform .3s, visibility .3s;
  }
  .nav.open { transform: none; visibility: visible; }
  .nav a:not(.btn) { color: var(--ink); padding: .9rem 0; border-bottom: 1px solid var(--line); }
  .nav a:not(.btn)::after { display: none; }
  .nav-cta { margin-top: 1rem; justify-content: center; }
  .site-header.menu-open { background: var(--cream); }
  .site-header.menu-open .brand,
  .site-header.menu-open .nav-toggle { color: var(--forest); }

  .hero-facts { grid-template-columns: 1fr 1fr; }
  .about,
  .location,
  .contact { grid-template-columns: 1fr; }
  .about-media { max-width: 560px; margin: 0 auto; padding-left: 1.5rem; }
  .about-img-small { left: 0; }
  .rooms { grid-template-columns: 1fr; max-width: 640px; margin: 0 auto; }
  .video-intro { grid-template-columns: 1fr; text-align: center; }
  .video-intro-head p, .video-points { margin-left: auto; margin-right: auto; max-width: 480px; }
  .video-points li { text-align: left; }
  .videos { flex-wrap: wrap; max-width: 600px; margin: 0 auto; }
  .video-card { width: 250px; }
  .video-card:nth-child(odd) { margin-top: 0; }
  .whole-house { flex-direction: column; align-items: flex-start; max-width: 640px; margin: 2rem auto 0; padding: 1.6rem; }
  .whole-house-price { align-items: flex-start; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-inner > :first-child { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .container { padding: 0 16px; }
  .footer-bottom { padding: 1.4rem 16px; }
  .hero-facts { padding: 1rem; gap: .9rem; margin-top: 2.5rem; }
  .hero-facts li { font-size: .85rem; }
  .hero-actions .btn { flex: 1 1 100%; justify-content: center; }
  .features { grid-template-columns: 1fr 1fr; gap: .7rem; }
  .features li { flex-direction: column; text-align: center; padding: 1rem .7rem; gap: .6rem; font-size: .88rem; }
  .reviews { grid-template-columns: 1fr; }
  .videos { flex-direction: column; align-items: center; }
  .video-card { width: min(100%, 320px); }
  .video-card:nth-child(odd) { margin-top: 0; }
  .gallery { grid-template-columns: 1fr 1fr; gap: 10px; }
  .gallery-item.wide:first-child { grid-column: span 2; }
  .form-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: .8rem; }
  .booking { padding: 1.4rem; }
  .room-body { padding: 1.4rem; }
  .room-foot { flex-wrap: wrap; }
  .slide-btn { opacity: 1; width: 36px; height: 36px; }
  .lightbox { padding: 1rem; }
  .lb-nav { top: auto; bottom: 20px; transform: none; }
  .lb-prev { left: calc(50% - 60px); }
  .lb-next { right: calc(50% - 60px); }
  .lightbox img { max-height: calc(100vh - 10rem); }
  .float-contact { right: 14px; bottom: 14px; }
  .float-btn { width: 54px; height: 54px; font-size: 1.4rem; }
  .float-wa { font-size: 1.8rem; }
  .float-label { display: none; }
  .float-contact.over-form { opacity: 0; transform: translateY(20px); pointer-events: none; }
}

@media (max-width: 370px) {
  .form-grid { grid-template-columns: minmax(0, 1fr); }
}
