/* =============================================
   VALLEY VILLAS — Main Stylesheet
   ============================================= */

/* ---------- CSS Variables ---------- */
:root {
  --green-dark:   #1a4731;
  --green-mid:    #2d6a4f;
  --green-light:  #40916c;
  --gold:         #c9a84c;
  --gold-dark:    #a8893d;
  --charcoal:     #1e1e1e;
  --text:         #2c2c2c;
  --text-muted:   #6b7280;
  --white:        #ffffff;
  --beige:        #f7f3ec;
  --gray-light:   #f0ede8;
  --border:       #e2ddd6;
  --shadow-sm:    0 2px 8px rgba(0,0,0,0.08);
  --shadow-md:    0 8px 30px rgba(0,0,0,0.12);
  --shadow-lg:    0 20px 60px rgba(0,0,0,0.18);
  --radius:       8px;
  --radius-lg:    14px;
  --transition:   0.3s ease;
  --font-head:    'Playfair Display', Georgia, serif;
  --font-body:    'Inter', system-ui, sans-serif;
}

/* ---------- Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
  overflow-x: hidden;
}

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

a { color: inherit; text-decoration: none; }

button { cursor: pointer; font-family: inherit; border: none; background: none; }

ul { list-style: none; }

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

.section { padding: 96px 0; }

.img-wrap-1 {
  margin-top: 16px;
  margin-bottom: 40px;
}
.img-wrap-1 img { width: 100%; display: block; border-radius: 12px; }

.img-wrap-2 {
  margin-top: 20px;
  margin-bottom: 56px;
}
.img-wrap-2 img { width: 100%; display: block; border-radius: 12px; }

.section-image {
  margin-bottom: 56px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.section-image img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  display: block;
}

.section-header {
  text-align: center;
  margin-bottom: 56px;
}

.section-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 700;
  color: var(--charcoal);
  line-height: 1.2;
  margin-bottom: 16px;
}

.section-sub {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
}

.section-list {
  list-style: none;
  padding: 0;
  margin: 20px auto;
  max-width: 600px;
  text-align: left;
}
.section-list li {
  font-size: 1.05rem;
  color: var(--text-muted);
  padding: 8px 0 8px 28px;
  position: relative;
  border-bottom: 1px solid var(--border);
}
.section-list li:last-child { border-bottom: none; }
.section-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 12px;
  width: 14px; height: 14px;
  border: 2px solid var(--gold);
  border-radius: 50%;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  transition: all var(--transition);
  white-space: nowrap;
}

.btn-gold {
  background: var(--gold);
  color: var(--white);
}
.btn-gold:hover {
  background: var(--gold-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(201,168,76,0.4);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.7);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.12);
  border-color: var(--white);
}

.btn-sm {
  padding: 8px 18px;
  font-size: 0.85rem;
}

.btn-disabled {
  background: var(--gray-light);
  color: var(--text-muted);
  cursor: not-allowed;
  padding: 8px 18px;
  font-size: 0.85rem;
  border-radius: var(--radius);
  font-weight: 500;
}

.btn-full { width: 100%; justify-content: center; }

/* ---------- HEADER ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 20px 0;
  transition: background var(--transition), padding var(--transition), box-shadow var(--transition);
}

.site-header.scrolled {
  background: rgba(26, 71, 49, 0.97);
  backdrop-filter: blur(10px);
  padding: 12px 0;
  box-shadow: var(--shadow-md);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 32px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.logo img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
}

.logo span {
  font-family: var(--font-head);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.02em;
}

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

.nav-link {
  padding: 8px 16px;
  color: rgba(255,255,255,0.85);
  font-size: 0.9rem;
  font-weight: 500;
  border-radius: var(--radius);
  transition: all var(--transition);
  position: relative;
}

.nav-link:hover,
.nav-link.active {
  color: var(--white);
  background: rgba(255,255,255,0.1);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 4px; left: 50%;
  transform: translateX(-50%);
  width: 4px; height: 4px;
  background: var(--gold);
  border-radius: 50%;
}

.nav-cta { margin-left: 16px; }

.nav-lang-clone { display: none; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
  margin-left: auto;
}

.hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all var(--transition);
}

.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- HERO ---------- */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: -20%;
  background: url('../images/parceli-burgas-more-panorama.jpg') center/cover no-repeat;
  transform-origin: center;
  will-change: transform;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(26,71,49,0.72) 0%,
    rgba(0,0,0,0.5) 60%,
    rgba(0,0,0,0.3) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 780px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}
.hero-title {
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 20px;
  text-align: center;
}

.hero-title em {
  font-style: italic;
  color: var(--gold);
}

.hero-sub {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.85);
  margin: 0 auto 36px;
  line-height: 1.7;
  max-width: 620px;
  text-align: center;
}

.hero-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
}

.scroll-arrow {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  color: rgba(255,255,255,0.6);
  width: 40px; height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: bounce 2s infinite;
  transition: color var(--transition);
}
.scroll-arrow:hover { color: var(--white); }
.scroll-arrow svg { width: 28px; height: 28px; }

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(8px); }
}

/* ---------- STATS BAR ---------- */
.stats-bar {
  background: var(--green-dark);
  padding: 48px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: center;
  gap: 0;
  text-align: center;
}

.stat-item { padding: 16px 24px; }

.stat-number {
  display: block;
  font-family: var(--font-head);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
}

.stat-plus {
  font-family: var(--font-head);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--gold);
}

.stat-label {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.7);
  margin-top: 6px;
  letter-spacing: 0.04em;
}

.stat-divider {
  width: 1px;
  height: 60px;
  background: rgba(255,255,255,0.15);
}

/* ---------- PARCELS ---------- */
.parcels-section { background: var(--beige); }

.parcels-pi-title {
  font-family: var(--font-head);
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--green-dark);
  margin: 48px 0 48px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--gold);
  text-align: center;
}

.table-controls {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 24px;
  padding: 20px 24px;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.filter-group {
  display: flex;
  align-items: center;
  gap: 10px;
}

.filter-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  white-space: nowrap;
}

.filter-group select {
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 8px 32px 8px 12px;
  font-size: 0.9rem;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E") right 8px center / 16px no-repeat;
  -webkit-appearance: none;
  cursor: pointer;
  transition: border-color var(--transition);
}

.filter-group select:focus {
  outline: none;
  border-color: var(--green-mid);
}

.results-count {
  margin-left: auto;
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
}

.table-wrapper {
  overflow-x: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  margin-top: 40px;
  background: var(--white);
}

.parcels-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
}

.parcels-table thead {
  background: var(--green-dark);
}

.parcels-table thead th {
  padding: 16px 18px;
  color: rgba(255,255,255,0.85);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-align: left;
  white-space: nowrap;
}

.parcels-table tbody tr {
  border-bottom: 1px solid var(--border);
  transition: background var(--transition);
}

.parcels-table tbody tr:last-child { border-bottom: none; }

.parcels-table tbody tr:hover { background: #f7faf8; }

.parcels-table tbody tr[data-status="sold"] { opacity: 0.55; }

.parcels-table td {
  padding: 15px 18px;
  color: var(--text);
  vertical-align: middle;
}

.parcels-table td:first-child { white-space: nowrap; }

.badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.badge-free     { background: #d1fae5; color: #065f46; }
.badge-reserved { background: #fef3c7; color: #92400e; }
.badge-sold     { background: #fee2e2; color: #991b1b; }

.table-note {
  margin-top: 14px;
  font-size: 0.8rem;
  color: var(--text-muted);
  font-style: italic;
}

/* ---------- GALLERY ---------- */
.gallery-section { background: var(--white); }

.gallery-grid {
  columns: 3;
  column-gap: 16px;
}

.gallery-item {
  position: relative;
  break-inside: avoid;
  margin-bottom: 16px;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  background: var(--gray-light);
}

.gallery-item img {
  width: 100%;
  display: block;
  transition: transform 0.5s ease;
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(26,71,49,0);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition);
}

.gallery-overlay svg {
  width: 40px; height: 40px;
  color: var(--white);
  opacity: 0;
  transform: scale(0.7);
  transition: all var(--transition);
}

.gallery-item:hover img,
.gallery-item:hover video { transform: scale(1.05); }
.gallery-item:hover .gallery-overlay { background: rgba(26,71,49,0.55); }
.gallery-item:hover .gallery-overlay svg { opacity: 1; transform: scale(1); }

.gallery-play-badge {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 2;
}
.gallery-play-badge svg {
  width: 56px; height: 56px;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,.4));
}

/* ---------- LIGHTBOX ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(0,0,0,0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
}

.lightbox.open {
  opacity: 1;
  pointer-events: all;
}

.lightbox-img-wrap {
  max-width: 90vw;
  max-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-img-wrap img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  color: var(--white);
  border-radius: 50%;
  width: 48px; height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition);
}

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

.lightbox-close { top: 20px; right: 20px; }
.lightbox-prev  { left: 20px; top: 50%; transform: translateY(-50%); }
.lightbox-next  { right: 20px; top: 50%; transform: translateY(-50%); }

.lightbox-close svg,
.lightbox-prev svg,
.lightbox-next svg { width: 22px; height: 22px; }

.lightbox-counter {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,0.6);
  font-size: 0.85rem;
}

/* ---------- ABOUT ---------- */
.about-section { background: var(--beige); }

.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 72px;
  align-items: start;
  max-width: 820px;
  margin: 0 auto;
}

.about-text .section-title { text-align: center; }
.about-text .section-tag  { display: block; text-align: center; }

.about-text p {
  color: var(--text-muted);
  margin-bottom: 16px;
  line-height: 1.75;
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 32px;
}

.about-feature {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.feature-icon {
  flex-shrink: 0;
  width: 44px; height: 44px;
  background: var(--green-dark);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-icon svg {
  width: 22px; height: 22px;
  color: var(--gold);
}

.about-feature strong {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--charcoal);
  margin-bottom: 3px;
}

.about-feature p {
  font-size: 0.83rem;
  color: var(--text-muted);
  margin: 0;
}

/* Testimonials */
.testimonials {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  box-shadow: var(--shadow-md);
}

.testimonials-title {
  font-family: var(--font-head);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--charcoal);
  margin-bottom: 24px;
}

.testimonial { display: none; }
.testimonial.active { display: block; }

.testimonial-text {
  font-size: 0.97rem;
  color: var(--text);
  line-height: 1.75;
  font-style: italic;
  margin-bottom: 20px;
  position: relative;
  padding-left: 20px;
  border-left: 3px solid var(--gold);
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.author-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--green-dark);
  color: var(--white);
  font-weight: 700;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.testimonial-author strong {
  display: block;
  font-size: 0.9rem;
  color: var(--charcoal);
}

.testimonial-author span {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.testimonial-dots {
  display: flex;
  gap: 8px;
  margin-top: 20px;
  justify-content: center;
}

.dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--border);
  transition: all var(--transition);
  border: none;
}

.dot.active {
  background: var(--gold);
  width: 24px;
  border-radius: 4px;
}

/* ---------- CTA SECTION ---------- */
.cta-section {
  background: linear-gradient(135deg, var(--green-dark) 0%, var(--green-mid) 100%);
  padding: 72px 0;
}

.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

.cta-text h2 {
  font-family: var(--font-head);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 10px;
}

.cta-text p {
  color: rgba(255,255,255,0.75);
  font-size: 1rem;
}

.cta-contact {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cta-phones {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.cta-phone, .cta-email {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--white);
  font-size: 1.05rem;
  font-weight: 500;
  transition: color var(--transition);
}

.cta-phone:hover, .cta-email:hover { color: var(--gold); }

.cta-phone svg, .cta-email svg {
  width: 20px; height: 20px;
  flex-shrink: 0;
  color: var(--gold);
}

/* ---------- FOOTER ---------- */
.site-footer {
  background: var(--charcoal);
  padding: 64px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
}

.footer-brand p {
  color: rgba(255,255,255,0.5);
  font-size: 0.88rem;
  margin-top: 14px;
  line-height: 1.7;
}

.logo-footer span {
  font-family: var(--font-head);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--white);
}

.logo-footer img {
  width: 40px; height: 40px;
  border-radius: 50%;
  object-fit: cover;
}

.footer-nav h4,
.footer-contact h4 {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: 16px;
}

.footer-nav a {
  display: block;
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
  padding: 5px 0;
  transition: color var(--transition);
}

.footer-nav a:hover { color: var(--gold); }

.footer-contact p {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
  padding: 5px 0;
}

.footer-contact svg {
  width: 16px; height: 16px;
  flex-shrink: 0;
  color: var(--gold);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 20px 24px;
  text-align: center;
}

.footer-bottom p {
  color: rgba(255,255,255,0.35);
  font-size: 0.82rem;
}

/* ---------- INQUIRY MODAL ---------- */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  z-index: 1500;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
  backdrop-filter: blur(3px);
}

.modal-overlay.open {
  opacity: 1;
  pointer-events: all;
}

.modal {
  position: fixed;
  top: 50%; left: 50%;
  transform: translate(-50%, -48%) scale(0.96);
  z-index: 1600;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px 36px;
  width: 90%;
  max-width: 480px;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  pointer-events: none;
  transition: all var(--transition);
}

.modal.open {
  opacity: 1;
  pointer-events: all;
  transform: translate(-50%, -50%) scale(1);
}

.modal-close {
  position: absolute;
  top: 16px; right: 16px;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--gray-light);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition);
}

.modal-close:hover { background: var(--border); }
.modal-close svg { width: 18px; height: 18px; color: var(--text-muted); }

.modal h3 {
  font-family: var(--font-head);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--charcoal);
  margin-bottom: 6px;
}

.modal #modal-subtitle {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 24px;
}

.inquiry-form { display: flex; flex-direction: column; gap: 16px; }

.form-group { display: flex; flex-direction: column; gap: 6px; }

.form-group label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}

.form-group input,
.form-group textarea {
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 12px 14px;
  font-size: 0.92rem;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  transition: border-color var(--transition);
  resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--green-mid);
}

.form-group input.error,
.form-group textarea.error { border-color: #ef4444; }

.form-success {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 20px 0;
  text-align: center;
  color: var(--green-dark);
}

.form-success svg {
  width: 56px; height: 56px;
  color: var(--green-mid);
}

.form-success p {
  font-size: 1rem;
  font-weight: 500;
  color: var(--charcoal);
}

/* ---------- PAGE HERO (inner pages) ---------- */
.page-hero {
  position: relative;
  height: 380px;
  display: flex;
  align-items: flex-end;
  padding-bottom: 56px;
  overflow: hidden;
}

.page-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.04);
  transition: transform 6s ease;
}

.page-hero:hover .page-hero-bg { transform: scale(1); }

.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(26,71,49,0.45) 0%,
    rgba(10,30,20,0.75) 100%
  );
}

.page-hero-content {
  position: relative;
  z-index: 2;
}

.page-hero-title {
  font-family: var(--font-head);
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 10px;
}

.page-hero-sub {
  font-size: 1rem;
  color: rgba(255,255,255,0.8);
  max-width: 560px;
  line-height: 1.65;
}

/* ---------- LOCATION SECTION ---------- */
/* ---------- LANG SWITCHER ---------- */
.lang-switcher {
  display: flex;
  gap: 4px;
  align-items: center;
}
.lang-btn {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: #000;
  padding: 3px 7px;
  border-radius: 4px;
  text-decoration: none;
  transition: all var(--transition);
  border: 1px solid transparent;
}
.lang-btn:hover { color: var(--gold); border-color: var(--gold); }
.lang-btn.active { color: var(--gold); border-color: var(--gold); background: rgba(185,147,73,.08); }

/* ---------- DOCUMENTS ---------- */
.docs-pi-block { margin-bottom: 56px; }

.docs-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 780px;
  margin: 0 auto;
}

.doc-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 20px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  text-decoration: none;
  color: var(--dark);
  transition: border-color var(--transition), box-shadow var(--transition);
}
.doc-item:hover {
  border-color: var(--gold);
  box-shadow: var(--shadow-sm);
}
.doc-icon { font-size: 1.4rem; flex-shrink: 0; }
.doc-title { flex: 1; font-size: 0.95rem; font-weight: 500; }
.doc-ext {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--gold);
  background: #fdf6e3;
  padding: 2px 7px;
  border-radius: 4px;
  flex-shrink: 0;
}
.docs-empty {
  text-align: center;
  color: var(--text-muted);
  padding: 32px 0;
  font-style: italic;
}

/* ---------- PHASES ---------- */
.section-list--nested {
  margin: 8px 0 0 0;
  max-width: 100%;
}
.section-list--nested li {
  font-size: 0.97rem;
  border-bottom: none;
  padding-top: 4px;
  padding-bottom: 4px;
}
.section-list--nested li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 14px;
  width: 10px;
  height: 2px;
  background: var(--gold);
  border: none;
  border-radius: 0;
}

.section-list--sub {
  margin: 6px 0 0 0;
  max-width: 100%;
}
.section-list--sub li {
  font-size: 0.93rem;
  border-bottom: none;
  padding-top: 3px;
  padding-bottom: 3px;
  padding-left: 20px;
}
.section-list--sub li::before {
  content: '›';
  position: absolute;
  left: 0;
  top: 3px;
  width: auto;
  height: auto;
  background: none;
  border: none;
  color: var(--gold);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.4;
}

.price-note {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-style: italic;
  margin: 8px auto 0;
  max-width: 600px;
  text-align: left;
}

.phase-label {
  display: block;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 4px;
}

.phase-period {
  font-weight: 400;
  color: var(--gold);
  font-size: 0.9em;
}

/* ---------- LOCATION ---------- */
.location-section { background: var(--white); }

.location-cards {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 0;
  margin-top: 48px;
  align-items: stretch;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  margin-bottom: 32px;
}

.location-divider-v {
  width: 1px;
  background: var(--border);
  margin: 32px 0;
}

.location-card {
  padding: 48px 44px;
}

.location-card h3 {
  font-family: var(--font-head);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--charcoal);
  margin: 16px 0 12px;
  line-height: 1.3;
}

.location-card p {
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 20px;
}

.location-card--sea  { background: #f0f7f4; }
.location-card--spa  { background: #fdf8ee; }

.location-card-icon {
  width: 56px; height: 56px;
  border-radius: var(--radius);
  background: var(--green-dark);
  display: flex;
  align-items: center;
  justify-content: center;
}

.location-card-icon--gold { background: var(--gold); }

.location-card-icon svg {
  width: 28px; height: 28px;
  color: var(--white);
}

.location-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.location-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--text);
  font-weight: 500;
}

.location-list svg {
  width: 16px; height: 16px;
  flex-shrink: 0;
  color: var(--green-mid);
}

.location-map {
  margin: 40px 0 0;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.location-map iframe {
  display: block;
}

.location-map-band {
  display: flex;
  align-items: center;
  gap: 20px;
  background: var(--green-dark);
  border-radius: var(--radius-lg);
  padding: 24px 32px;
  flex-wrap: wrap;
}

.map-band-icon {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.map-band-icon svg {
  width: 22px; height: 22px;
  color: var(--gold);
}

.map-band-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.map-band-text strong {
  color: var(--white);
  font-size: 0.95rem;
}

.map-band-text span {
  color: rgba(255,255,255,0.6);
  font-size: 0.82rem;
}

/* ---------- FEATURED PARCELS ---------- */
.featured-section { background: var(--beige); }

.featured-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 40px;
}

.featured-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}

.featured-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.featured-card-img {
  height: 200px;
  background-size: cover;
  background-position: center;
  transition: transform 0.5s ease;
}

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

.featured-card-body {
  padding: 20px 22px;
}

.featured-card-body h4 {
  font-family: var(--font-head);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--charcoal);
  margin: 8px 0 4px;
}

.featured-card-body > p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.featured-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.featured-card-footer strong {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--green-dark);
}

.featured-cta {
  text-align: center;
}

/* ---------- GALLERY FILTER BAR ---------- */
.gallery-filter-bar {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.gallery-filter-btn {
  padding: 9px 20px;
  border-radius: 20px;
  font-size: 0.87rem;
  font-weight: 600;
  color: var(--text-muted);
  background: var(--gray-light);
  border: 1.5px solid transparent;
  transition: all var(--transition);
  cursor: pointer;
}

.gallery-filter-btn:hover {
  color: var(--green-dark);
  background: #e2f0e8;
}

.gallery-filter-btn.active {
  background: var(--green-dark);
  color: var(--white);
  border-color: var(--green-dark);
}

.gallery-item.hidden {
  display: none;
}

/* ---------- CONTACT SECTION ---------- */
.contact-section { background: var(--white); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 64px;
  align-items: start;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.contact-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.contact-icon {
  flex-shrink: 0;
  width: 48px; height: 48px;
  border-radius: var(--radius);
  background: var(--green-dark);
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-icon svg {
  width: 22px; height: 22px;
  color: var(--gold);
}

.contact-item strong {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 4px;
}

.contact-item a,
.contact-item span {
  font-size: 0.95rem;
  color: var(--text);
  line-height: 1.5;
  display: block;
}

.contact-item a:hover { color: var(--green-mid); }

.contact-form {
  background: var(--beige);
  border-radius: var(--radius-lg);
  padding: 40px 36px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.contact-form select {
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 12px 14px;
  font-size: 0.92rem;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  width: 100%;
  transition: border-color var(--transition);
  -webkit-appearance: none;
}

.contact-form select:focus {
  outline: none;
  border-color: var(--green-mid);
}

/* =============================================
   RESPONSIVE
   ============================================= */

/* Tablet */
@media (max-width: 1024px) {
  .about-grid      { gap: 48px; }
  .footer-grid     { grid-template-columns: 1fr 1fr; }
  .footer-brand    { grid-column: 1 / -1; }
  .featured-cards  { grid-template-columns: 1fr 1fr; }
  .contact-grid    { gap: 40px; }
  .location-card   { padding: 36px 28px; }
}

@media (max-width: 900px) {
  .gallery-grid    { columns: 2; }
  .about-grid      { grid-template-columns: 1fr; gap: 48px; }
  .location-cards  { grid-template-columns: 1fr; }
  .location-divider-v { display: none; }
  .stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }
  .stat-divider { display: none; }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-form { padding: 32px 24px; }
}

/* Mobile */
@media (max-width: 768px) {
  .section { padding: 64px 0; }

  /* Header */
  .header-inner { gap: 16px; }
  .hamburger { display: flex; }
  .logo span { font-size: 1.05rem; }
  .nav-cta   { display: none; }

  /* Lang switcher stays in header; also cloned into nav panel via JS */
  .lang-switcher { margin-left: auto; }

  /* Clone inside the nav panel */
  .nav-lang-clone {
    display: flex;
    gap: 10px;
    padding: 0 16px 16px;
    border-bottom: 1px solid rgba(255,255,255,0.12);
    margin-bottom: 8px;
    width: 100%;
  }
  .nav-lang-clone .lang-btn {
    color: rgba(255,255,255,0.75);
    border-color: rgba(255,255,255,0.2);
    padding: 5px 10px;
    font-size: 0.78rem;
  }
  .nav-lang-clone .lang-btn.active,
  .nav-lang-clone .lang-btn:hover { color: var(--gold); border-color: var(--gold); background: rgba(185,147,73,.1); }

  .main-nav {
    position: fixed;
    top: 0; right: -100%;
    width: 280px; height: 100vh;
    background: var(--green-dark);
    flex-direction: column;
    align-items: flex-start;
    padding: 28px 32px 32px;
    gap: 4px;
    transition: right var(--transition);
    box-shadow: var(--shadow-lg);
    z-index: 999;
    margin-left: 0;
  }

  .main-nav.open { right: 0; }

  .nav-link {
    width: 100%;
    padding: 14px 16px;
    font-size: 1rem;
  }

  /* Hero */
  .hero { height: auto; min-height: 100svh; padding: 120px 0 60px; align-items: flex-start; }
  .hero-bg { inset: 0; }
  .hero-btns { flex-direction: column; align-items: center; }
  .hero-btns .btn { width: 100%; max-width: 280px; justify-content: center; }

  /* Page Hero */
  .page-hero { height: 280px; padding-bottom: 36px; }

  /* Stats */
  .stats-grid { grid-template-columns: 1fr 1fr; }

  /* Gallery */
  .gallery-grid { columns: 1; }

  /* Featured */
  .featured-cards { grid-template-columns: 1fr; }

  /* Location */
  .location-card { padding: 28px 22px; }
  .location-map-band { flex-direction: column; align-items: flex-start; gap: 14px; }

  /* About */
  .about-features { grid-template-columns: 1fr; }

  /* Contact */
  .form-row { grid-template-columns: 1fr; }

  /* CTA */
  .cta-inner { flex-direction: column; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }

  /* Table */
  .parcels-table { font-size: 0.82rem; }
  .parcels-table td,
  .parcels-table th { padding: 12px 12px; }

  /* Modal */
  .modal { padding: 28px 22px; }
}

@media (max-width: 480px) {
  .stats-grid      { grid-template-columns: 1fr; }
  .gallery-grid    { columns: 1; }
  .table-controls  { flex-direction: column; align-items: flex-start; }
  .results-count   { margin-left: 0; }
  .featured-cards  { grid-template-columns: 1fr; }

  /* Header fit */
  .container       { padding: 0 16px; }
  .header-inner    { gap: 10px; }
  .logo img        { width: 38px; height: 38px; }
  .logo span       { font-size: 0.95rem; }
  .lang-switcher   { gap: 2px; }
  .lang-btn        { padding: 3px 5px; font-size: 0.7rem; }
}

/* =============================================
   ANIMATIONS
   ============================================= */

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

.fade-in-up {
  opacity: 0;
  animation: fadeInUp 0.7s ease forwards;
}

.fade-in-up.delay-1 { animation-delay: 0.1s; }
.fade-in-up.delay-2 { animation-delay: 0.2s; }
.fade-in-up.delay-3 { animation-delay: 0.3s; }
.fade-in-up.delay-4 { animation-delay: 0.5s; }
