/* ============================================================
   Бунгала Котвата Ахтопол
   ============================================================ */

:root {
  --pine: #123f31;
  --pine-2: #0c2f24;
  --sea: #0e6c85;
  --teal: #2f9db3;
  --foam: #bfe8df;
  --sand: #f4ead8;
  --cream: #fbf6ec;
  --paper: #fffdf7;
  --terra: #b6402f;
  --terra-2: #8f3222;
  --gold: #e9a13b;
  --ink: #122920;
  --muted: #5d6f66;
  --line: #e3dcc9;
  --shadow: 0 20px 50px -18px rgba(18, 63, 49, 0.28);
  --radius: 18px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  background: var(--cream);
  color: var(--ink);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }

h1, h2, h3, .cta-title, .section-title {
  font-family: "Playfair Display", Georgia, serif;
  line-height: 1.15;
}

.wrap { width: min(1180px, 92%); margin-inline: auto; }
.wrap-narrow { width: min(820px, 92%); }

/* ---------- scroll progress ---------- */
.progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 0;
  background: linear-gradient(90deg, var(--gold), var(--terra));
  z-index: 1001; transition: width 0.08s linear;
}

/* ---------- header ---------- */
.header {
  position: fixed; inset-inline: 0; top: 0; z-index: 1000;
  padding: 18px 0;
  transition: background 0.4s, padding 0.4s, box-shadow 0.4s;
}
.header.scrolled {
  background: rgba(12, 47, 36, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding: 10px 0;
  box-shadow: 0 10px 30px -12px rgba(0, 0, 0, 0.45);
}
.header-inner {
  width: min(1280px, 94%); margin-inline: auto;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
}
.logo {
  display: flex; align-items: center; gap: 10px; color: #fff;
}
.logo-svg { width: 34px; height: 34px; transition: transform 0.5s var(--ease); }
.logo:hover .logo-svg { transform: rotate(-12deg) scale(1.08); }
.logo-text {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.35rem; font-weight: 700; letter-spacing: 0.02em;
  display: flex; flex-direction: column; line-height: 1;
}
.logo-text small {
  font-family: "Inter", sans-serif; font-size: 0.62rem; font-weight: 500;
  letter-spacing: 0.34em; text-transform: uppercase; opacity: 0.75; margin-top: 4px;
}
.nav { display: flex; align-items: center; gap: 26px; }
.nav a:not(.nav-phone) {
  color: rgba(255, 255, 255, 0.88); font-size: 0.92rem; font-weight: 500;
  position: relative; padding: 6px 0;
}
.nav a:not(.nav-phone)::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 100%; height: 2px; background: var(--gold);
  transform: scaleX(0); transform-origin: right;
  transition: transform 0.35s var(--ease);
}
.nav a:not(.nav-phone):hover::after,
.nav a.active::after { transform: scaleX(1); transform-origin: left; }
.nav a.active { color: #fff; }
.nav-phone {
  color: var(--ink); background: var(--gold);
  padding: 10px 18px; border-radius: 999px;
  font-weight: 700; font-size: 0.92rem;
  box-shadow: 0 8px 20px -8px rgba(233, 161, 59, 0.8);
  transition: transform 0.3s var(--ease), box-shadow 0.3s;
}
.nav-phone:hover { transform: translateY(-2px); box-shadow: 0 12px 24px -8px rgba(233, 161, 59, 0.9); }

.burger { display: none; flex-direction: column; gap: 5px; padding: 8px; z-index: 1002; }
.burger span {
  width: 26px; height: 2.5px; background: #fff; border-radius: 2px;
  transition: transform 0.35s var(--ease), opacity 0.25s;
}
.burger.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ---------- hero ---------- */
.hero {
  position: relative; min-height: 100svh;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.hero-svg { position: absolute; inset: 0; z-index: 0; }
.hero-svg svg { width: 100%; height: 100%; object-fit: cover; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: radial-gradient(ellipse at 50% 35%, rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.42));
}
.hero-inner {
  position: relative; z-index: 2; text-align: center; color: #fff;
  padding: 130px 20px 180px; max-width: 900px;
}
.eyebrow {
  display: inline-block; font-size: 0.78rem; font-weight: 600;
  letter-spacing: 0.32em; text-transform: uppercase; color: var(--gold);
  margin-bottom: 18px;
}
.hero .eyebrow { color: #ffe3ae; }
.hero-title {
  font-size: clamp(2.6rem, 7vw, 5rem); font-weight: 800;
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.35);
  margin-bottom: 22px;
}
.hero-title .ch { display: inline-block; opacity: 0; transform: translateY(40px) rotate(4deg); }
.hero-sub {
  font-size: clamp(1rem, 2.2vw, 1.2rem); max-width: 640px; margin: 0 auto 34px;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
}
.hero-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-bottom: 26px; }

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 30px; border-radius: 999px;
  font-weight: 700; font-size: 1rem;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), background 0.3s, color 0.3s;
}
.btn .ico { width: 19px; height: 19px; }
.btn-solid {
  background: var(--gold); color: var(--ink);
  box-shadow: 0 14px 34px -12px rgba(233, 161, 59, 0.85);
  position: relative; overflow: hidden;
}
.btn-solid::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.5) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform 0.7s ease;
}
.btn-solid:hover::before { transform: translateX(120%); }
.btn-solid:hover { transform: translateY(-3px) scale(1.02); }
.btn-ghost {
  color: #fff; border: 1.5px solid rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.08); backdrop-filter: blur(6px);
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.2); transform: translateY(-3px); }
.btn-big { padding: 17px 34px; font-size: 1.05rem; }

.hero-chip {
  display: inline-flex; align-items: center; gap: 12px;
  background: rgba(255, 255, 255, 0.14); backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 11px 22px; border-radius: 999px;
  font-size: 0.9rem; font-weight: 500;
}
.chip-pulse {
  width: 9px; height: 9px; border-radius: 50%; background: #7ef0b2;
  position: relative; flex: none;
}
.chip-pulse::after {
  content: ""; position: absolute; inset: -5px; border-radius: 50%;
  border: 2px solid rgba(126, 240, 178, 0.7);
  animation: pulse 1.8s ease-out infinite;
}
@keyframes pulse {
  0% { transform: scale(0.6); opacity: 1; }
  100% { transform: scale(1.6); opacity: 0; }
}

.scroll-hint {
  position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%);
  z-index: 3; width: 26px; height: 44px;
  border: 2px solid rgba(255, 255, 255, 0.75); border-radius: 14px;
  display: flex; justify-content: center; padding-top: 9px;
}
.scroll-dot {
  width: 4px; height: 9px; border-radius: 4px; background: #fff;
  animation: drop 1.6s ease-in-out infinite;
}
@keyframes drop {
  0% { transform: translateY(0); opacity: 1; }
  70% { transform: translateY(14px); opacity: 0; }
  100% { transform: translateY(0); opacity: 0; }
}

/* hero svg animation */
.sun-rays { animation: spin 40s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.cloud { animation: drift linear infinite; }
.cloud-1 { animation-duration: 46s; }
.cloud-2 { animation-duration: 68s; animation-delay: -30s; }
@keyframes drift {
  0% { transform: translateX(-120px); }
  100% { transform: translateX(1560px); }
}
.birds { animation: fly 14s ease-in-out infinite alternate; }
@keyframes fly { from { transform: translate(0, 0); } to { transform: translate(60px, -18px); } }
.boat { animation: bob 5s ease-in-out infinite alternate; }
@keyframes bob { from { transform: translate(0, 0); } to { transform: translate(8px, 5px); } }
.wave-a { animation: wave-a-move 13s linear infinite; }
.wave-b { animation: wave-b-move 9s linear infinite reverse; }
.wave-c { animation: wave-c-move 16s linear infinite; }
@keyframes wave-a-move {
  from { transform: translateX(0); }
  to { transform: translateX(-480px); }
}
@keyframes wave-b-move {
  from { transform: translateX(-360px); }
  to { transform: translateX(0); }
}
@keyframes wave-c-move {
  from { transform: translateX(0); }
  to { transform: translateX(-440px); }
}

/* ---------- marquee ---------- */
.marquee {
  background: var(--pine-2); color: var(--foam);
  padding: 15px 0; overflow: hidden; position: relative;
}
.marquee-track {
  display: flex; align-items: center; gap: 26px; white-space: nowrap;
  animation: marquee 30s linear infinite; width: max-content;
}
.marquee-track span { font-size: 0.85rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; }
.marquee-track i { color: var(--gold); font-style: normal; font-size: 0.5rem; }
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------- stats ---------- */
.stats { background: var(--cream); padding: 80px 0 30px; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.stat { text-align: center; padding: 26px 14px; border-radius: var(--radius); background: var(--paper); border: 1px solid var(--line); transition: transform 0.35s var(--ease), box-shadow 0.35s; }
.stat:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.stat-num {
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(2.4rem, 5vw, 3.4rem); font-weight: 800; color: var(--pine);
  display: block; line-height: 1;
}
.stat-unit { display: block; font-size: 0.8rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--terra); font-weight: 700; margin-top: 8px; }
.stat-label { display: block; font-size: 0.9rem; color: var(--muted); margin-top: 8px; }

/* ---------- sections ---------- */
.section { padding: 96px 0; }
.section-title { font-size: clamp(2rem, 4.6vw, 3rem); font-weight: 800; color: var(--pine); margin-bottom: 16px; }
.section-sub { color: var(--muted); max-width: 640px; margin: 0 auto 48px; }
.eyebrow { text-align: left; }
.section .wrap > .eyebrow, .section .wrap-narrow > .eyebrow { text-align: center; }
.section .section-title, .section .section-sub { text-align: center; }
.location .section-title, .location .section-sub, .location .eyebrow { text-align: left; }
.location .section-sub { margin-inline: 0; }

/* ---------- bungalow cards ---------- */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 26px; }
.card {
  background: var(--paper); border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line);
  transition: transform 0.2s ease-out, box-shadow 0.35s;
  transform-style: preserve-3d; will-change: transform;
}
.card:hover { box-shadow: var(--shadow); }
.card-art svg { width: 100%; height: auto; }
.card-body { padding: 22px 24px 26px; }
.card-body h3 { font-size: 1.25rem; color: var(--pine); margin-bottom: 12px; }
.ticks li {
  font-size: 0.92rem; color: var(--muted); padding-left: 24px; position: relative; margin-bottom: 6px;
}
.ticks li::before {
  content: "✓"; position: absolute; left: 0; top: 0;
  color: #2e8b57; font-weight: 700;
}
.card-price { margin-top: 14px; font-size: 0.95rem; color: var(--muted); }
.card-price strong { color: var(--terra); font-size: 1.3rem; margin-right: 4px; }

/* ---------- prices ---------- */
.prices { background: var(--pine-2); color: var(--foam); }
.prices .eyebrow { color: var(--gold); }
.prices .section-title { color: #fff; }
.prices .section-sub { color: rgba(191, 232, 223, 0.75); }

.offer-banner {
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap; justify-content: center;
  background: linear-gradient(120deg, rgba(233, 161, 59, 0.18), rgba(182, 64, 47, 0.22));
  border: 1px solid rgba(233, 161, 59, 0.45);
  padding: 18px 28px; border-radius: var(--radius);
  margin: 0 auto 42px; max-width: 720px; text-align: center;
}
.offer-star { color: var(--gold); font-size: 1.4rem; animation: star-spin 6s ease-in-out infinite; }
@keyframes star-spin { 0%, 100% { transform: rotate(0) scale(1); } 50% { transform: rotate(20deg) scale(1.2); } }
.offer-banner p { font-size: 1.05rem; }
.offer-call { color: var(--gold); font-weight: 700; text-decoration: underline; text-underline-offset: 4px; }

.tabs {
  display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-bottom: 34px;
}
.tab {
  padding: 12px 26px; border-radius: 999px;
  border: 1px solid rgba(191, 232, 223, 0.3);
  color: rgba(191, 232, 223, 0.8);
  display: flex; align-items: center; gap: 10px;
  transition: background 0.3s, color 0.3s, transform 0.3s var(--ease), border-color 0.3s;
}
.tab:hover { transform: translateY(-2px); border-color: var(--gold); }
.tab.active { background: var(--gold); color: var(--ink); border-color: var(--gold); font-weight: 700; }
.tab-tag {
  font-size: 0.66rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  background: rgba(18, 41, 32, 0.18); padding: 3px 9px; border-radius: 999px;
}

.price-wrap { overflow-x: auto; }
.price-table {
  width: 100%; max-width: 760px; margin-inline: auto;
  border-collapse: collapse; background: rgba(255, 253, 247, 0.04);
  border-radius: var(--radius); overflow: hidden;
}
.price-table th, .price-table td { padding: 16px 20px; text-align: left; }
.price-table thead th {
  background: rgba(233, 161, 59, 0.14); color: #fff;
  font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase;
}
.price-table tbody tr { border-top: 1px solid rgba(191, 232, 223, 0.12); transition: background 0.25s; }
.price-table tbody tr:hover { background: rgba(255, 255, 255, 0.05); }
.price-table td { font-size: 1.02rem; }
.pnum {
  font-family: "Playfair Display", Georgia, serif; font-weight: 700; font-size: 1.25rem;
  color: var(--gold); display: inline-block; min-width: 3.2ch;
}
.pnum.tick { animation: num-in 0.55s var(--ease); }
@keyframes num-in {
  0% { opacity: 0; transform: translateY(14px) scale(0.85); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}
.price-note { text-align: center; color: rgba(191, 232, 223, 0.6); font-size: 0.88rem; margin-top: 20px; }

/* ---------- amenities ---------- */
.amenities { background: var(--sand); }
.amenity-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; }
.amenity {
  display: flex; gap: 16px; align-items: flex-start;
  background: var(--paper); padding: 24px; border-radius: var(--radius);
  border: 1px solid var(--line);
  transition: transform 0.35s var(--ease), box-shadow 0.35s;
}
.amenity:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.am-ico {
  flex: none; width: 52px; height: 52px; border-radius: 14px;
  background: linear-gradient(135deg, var(--pine), var(--sea));
  color: #ffe3ae; display: grid; place-items: center;
  transition: transform 0.4s var(--ease);
}
.amenity:hover .am-ico { transform: rotate(-8deg) scale(1.1); }
.am-ico svg { width: 26px; height: 26px; }
.amenity h3 { font-size: 1.05rem; color: var(--pine); margin-bottom: 4px; }
.amenity p { font-size: 0.9rem; color: var(--muted); }

/* ---------- gallery ---------- */
.gallery-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 18px;
}
.g-item {
  border-radius: var(--radius); overflow: hidden; position: relative;
  cursor: zoom-in; margin: 0;
  box-shadow: 0 8px 22px -12px rgba(18, 63, 49, 0.35);
  transition: transform 0.35s var(--ease), box-shadow 0.35s;
}
.g-item::after {
  content: "⤢"; position: absolute; top: 12px; right: 12px;
  width: 34px; height: 34px; border-radius: 10px;
  background: rgba(12, 47, 36, 0.55); color: #fff;
  display: grid; place-items: center; font-size: 1rem;
  opacity: 0; transform: scale(0.6); transition: all 0.3s var(--ease);
}
.g-item:hover { transform: translateY(-6px) scale(1.015); box-shadow: var(--shadow); }
.g-item:hover::after { opacity: 1; transform: scale(1); }
.g-item img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform 0.6s var(--ease); }
.g-item:hover img { transform: scale(1.07); }
.g-item figcaption {
  position: absolute; inset-inline: 0; bottom: 0; padding: 30px 16px 14px;
  background: linear-gradient(transparent, rgba(12, 47, 36, 0.85));
  color: #fff; font-size: 0.88rem; font-weight: 500;
  opacity: 0; transform: translateY(8px); transition: all 0.35s var(--ease);
}
.g-item:hover figcaption { opacity: 1; transform: translateY(0); }

/* lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 2000;
  background: rgba(8, 24, 19, 0.92); backdrop-filter: blur(10px);
  display: grid; place-items: center;
  opacity: 0; pointer-events: none; transition: opacity 0.35s;
}
.lightbox.open { opacity: 1; pointer-events: auto; }
.lb-figure { max-width: min(880px, 90vw); text-align: center; margin: 0; }
.lb-figure img {
  max-width: 100%; max-height: 78vh; margin-inline: auto; border-radius: 14px;
  box-shadow: 0 40px 90px -30px rgba(0, 0, 0, 0.8);
  transform: scale(0.92); transition: transform 0.35s var(--ease);
}
.lightbox.open .lb-figure img { transform: scale(1); }
.lb-figure figcaption { color: var(--foam); margin-top: 16px; font-size: 1rem; }
.lb-close, .lb-prev, .lb-next {
  position: fixed; color: #fff; background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.25); border-radius: 50%;
  width: 46px; height: 46px; font-size: 1.3rem;
  display: grid; place-items: center;
  transition: background 0.25s, transform 0.25s;
}
.lb-close:hover, .lb-prev:hover, .lb-next:hover { background: var(--gold); color: var(--ink); transform: scale(1.08); }
.lb-close { top: 22px; right: 24px; }
.lb-prev { left: 18px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 18px; top: 50%; transform: translateY(-50%); }

/* ---------- location ---------- */
.location { background: var(--cream); }
.location-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 54px; align-items: center; }
.dist-list { margin: 26px 0 30px; }
.dist-list li {
  display: flex; justify-content: space-between; align-items: baseline; gap: 14px;
  padding: 13px 4px; border-bottom: 1px dashed var(--line);
  transition: padding 0.25s;
}
.dist-list li:hover { padding-left: 12px; }
.dist-list span { color: var(--muted); }
.dist-list strong { color: var(--terra); font-weight: 700; }
.map-card {
  background: var(--paper); border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line); box-shadow: var(--shadow);
  transition: transform 0.5s var(--ease);
}
.map-card:hover { transform: translateY(-8px) rotate(-0.6deg); }
.map-card svg { width: 100%; display: block; }
.map-label { font-family: "Inter", sans-serif; font-size: 15px; font-weight: 700; fill: var(--pine); }
.map-label-sea { fill: #e8f4f8; font-size: 17px; letter-spacing: 0.2em; }
.map-label-forest { fill: #3c6b4a; font-size: 14px; letter-spacing: 0.14em; }
.map-pin { animation: pin-bounce 2.4s ease-in-out infinite; }
@keyframes pin-bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-9px); }
}
.map-note {
  padding: 15px 20px; font-weight: 600; color: var(--pine);
  border-top: 1px solid var(--line); background: var(--paper);
}

/* ---------- faq ---------- */
.faq { background: var(--sand); }
.acc {
  background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--radius); margin-bottom: 12px; overflow: hidden;
  transition: box-shadow 0.3s;
}
.acc.open { box-shadow: var(--shadow); }
.acc-btn {
  width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 18px;
  padding: 20px 24px; text-align: left; font-weight: 600; font-size: 1.02rem; color: var(--pine);
}
.acc-icon {
  flex: none; width: 30px; height: 30px; border-radius: 50%; position: relative;
  background: var(--sand); transition: transform 0.4s var(--ease), background 0.3s;
}
.acc-icon::before, .acc-icon::after {
  content: ""; position: absolute; top: 50%; left: 50%;
  width: 12px; height: 2.2px; background: var(--terra); border-radius: 2px;
  transform: translate(-50%, -50%); transition: transform 0.4s var(--ease);
}
.acc-icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.acc.open .acc-icon { background: var(--gold); transform: rotate(180deg); }
.acc.open .acc-icon::after { transform: translate(-50%, -50%) rotate(0deg); }
.acc-panel { max-height: 0; overflow: hidden; transition: max-height 0.5s var(--ease); }
.acc-panel p { padding: 0 24px 22px; color: var(--muted); }

/* ---------- cta ---------- */
.cta {
  position: relative; padding: 130px 0;
  background: linear-gradient(160deg, var(--pine-2), var(--sea));
  overflow: hidden; text-align: center; color: var(--foam);
}
.cta::before, .cta::after {
  content: ""; position: absolute; border-radius: 50%;
  background: radial-gradient(circle, rgba(233, 161, 59, 0.28), transparent 70%);
}
.cta::before { width: 480px; height: 480px; top: -160px; left: -140px; animation: float-a 11s ease-in-out infinite alternate; }
.cta::after {
  width: 380px; height: 380px; bottom: -140px; right: -100px;
  background: radial-gradient(circle, rgba(47, 157, 179, 0.35), transparent 70%);
  animation: float-a 9s ease-in-out infinite alternate-reverse;
}
@keyframes float-a { from { transform: translate(0, 0); } to { transform: translate(46px, 34px); } }
.cta .wrap { position: relative; z-index: 1; }
.cta .eyebrow { color: var(--gold); }
.cta-title { font-size: clamp(2.4rem, 6vw, 4rem); color: #fff; margin-bottom: 18px; }
.cta-sub { max-width: 560px; margin: 0 auto 38px; color: rgba(191, 232, 223, 0.85); }
.cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-bottom: 30px; }
.cta-fb { color: rgba(191, 232, 223, 0.7); font-size: 0.95rem; }
.cta-fb a { color: var(--gold); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- footer ---------- */
.footer { background: var(--pine-2); color: rgba(191, 232, 223, 0.8); padding: 60px 0 0; }
.footer-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-bottom: 46px;
}
.footer-name { font-family: "Playfair Display", Georgia, serif; color: #fff; font-size: 1.3rem; font-weight: 700; margin-bottom: 8px; }
.footer-line { font-size: 0.92rem; }
.footer-nav { display: flex; flex-direction: column; gap: 10px; }
.footer-nav a { transition: color 0.25s, padding-left 0.25s; }
.footer-nav a:hover { color: var(--gold); padding-left: 8px; }
.footer-contacts p { margin-bottom: 8px; font-size: 0.92rem; }
.footer-contacts a:hover { color: var(--gold); }
.footer-bottom { border-top: 1px solid rgba(191, 232, 223, 0.15); padding: 20px 0 26px; }
.footer-bottom p { font-size: 0.82rem; opacity: 0.65; }

/* ---------- to top ---------- */
.to-top {
  position: fixed; right: 26px; bottom: 26px; z-index: 900;
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--gold); color: var(--ink); font-size: 1.2rem; font-weight: 700;
  box-shadow: 0 14px 30px -10px rgba(233, 161, 59, 0.7);
  opacity: 0; transform: translateY(18px) scale(0.8); pointer-events: none;
  transition: opacity 0.35s, transform 0.35s var(--ease), background 0.25s;
}
.to-top.show { opacity: 1; transform: translateY(0) scale(1); pointer-events: auto; }
.to-top:hover { background: #fff; }

/* ---------- reveals ---------- */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal.d1 { transition-delay: 0.1s; }
.reveal.d2 { transition-delay: 0.2s; }
.reveal.d3 { transition-delay: 0.3s; }
.reveal.d4 { transition-delay: 0.4s; }

/* ---------- responsive ---------- */
@media (max-width: 1000px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .location-grid { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 820px) {
  .nav {
    position: fixed; inset: 0; flex-direction: column; justify-content: center; gap: 24px;
    background: rgba(12, 47, 36, 0.97); backdrop-filter: blur(18px);
    opacity: 0; pointer-events: none; transition: opacity 0.4s;
  }
  .nav.open { opacity: 1; pointer-events: auto; }
  .nav a:not(.nav-phone) { font-size: 1.25rem; }
  .burger { display: flex; }
  .section { padding: 70px 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .lb-prev { left: 8px; } .lb-next { right: 8px; }
}
@media (max-width: 520px) {
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
  .stat { padding: 18px 8px; }
  .price-table th, .price-table td { padding: 12px 12px; font-size: 0.9rem; }
  .hero-actions { flex-direction: column; align-items: center; }
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}
