/* Section Hero Styles - Organic Biophilic Sanctuary & 3D WebGL Canvas */
.section-hero {
  position: relative;
  background-color: var(--dark);
  background-image: linear-gradient(125deg, rgba(15, 35, 32, 0.92) 0%, rgba(27, 59, 54, 0.85) 55%, rgba(39, 82, 75, 0.78) 100%), url('_assets/hero.jpg');
  background-size: cover;
  background-position: center;
  padding: 85px 0 95px;
  color: #ffffff;
  overflow: hidden;
}

.three-bg-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.hero-sanctuary-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: 54px;
  align-items: center;
  margin-bottom: 58px;
}

.hero-poetic-col {
  display: flex;
  flex-direction: column;
}

.sanctuary-pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  align-self: flex-start;
  padding: 6px 18px 6px 8px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(232, 184, 138, 0.45);
  border-radius: 30px;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 1.4px;
  color: #f6d5b5;
  backdrop-filter: blur(8px);
  margin-bottom: 24px;
}

.pill-leaf {
  width: 28px;
  height: 28px;
  background: var(--accent);
  color: #ffffff;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
}

.hero-sanctuary-title {
  font-family: var(--font-title);
  font-size: 3.1rem;
  font-weight: 600;
  line-height: 1.2;
  color: #ffffff;
  margin: 0 0 22px;
}

.hero-sanctuary-title em {
  display: block;
  font-style: italic;
  font-weight: 500;
  color: #f6d5b5;
  margin-top: 6px;
}

.hero-sanctuary-desc {
  font-size: 1.06rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.85);
  margin: 0 0 34px;
  max-width: 610px;
}

.hero-action-pills {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 42px;
}

.hero-nature-metrics {
  display: flex;
  align-items: center;
  gap: 24px;
  padding-top: 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.nature-stat strong {
  display: block;
  font-family: var(--font-title);
  font-size: 1.65rem;
  color: #f6d5b5;
  line-height: 1.15;
}

.nature-stat span {
  font-size: 0.84rem;
  color: rgba(255, 255, 255, 0.74);
}

.nature-dot {
  color: rgba(232, 184, 138, 0.5);
  font-size: 1.2rem;
}

/* Organic Blob Visual Column */
.hero-visual-col {
  position: relative;
  display: flex;
  justify-content: center;
}

.hero-organic-blob {
  width: 100%;
  max-width: 470px;
  height: 490px;
  border-radius: var(--radius-blob);
  overflow: hidden;
  border: 6px solid rgba(255, 255, 255, 0.22);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.45);
  transition: border-radius 0.8s ease;
}

.hero-organic-blob:hover {
  border-radius: 48% 52% 44% 56% / 55% 42% 58% 45%;
}

.hero-organic-blob img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.floating-villa-spotlight {
  position: absolute;
  bottom: 24px;
  left: -10px;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  color: var(--text);
  padding: 14px 18px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: 0 20px 40px rgba(15, 35, 32, 0.35);
  border: 1px solid var(--border);
}

.mini-villa-thumb {
  width: 64px;
  height: 64px;
  border-radius: 14px;
  object-fit: cover;
  flex-shrink: 0;
}

.mini-kicker {
  display: block;
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--accent-hover);
  text-transform: uppercase;
}

.mini-villa-info h4 {
  font-family: var(--font-title);
  font-size: 1.05rem;
  color: var(--primary);
  margin: 2px 0;
}

.mini-villa-info p {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin: 0;
}

/* Interactive Booking Dock */
.sanctuary-booking-dock {
  position: relative;
  z-index: 3;
  background: #ffffff;
  color: var(--text);
  border-radius: 24px;
  padding: 24px 28px;
  box-shadow: 0 24px 55px rgba(15, 35, 32, 0.35);
  border: 1px solid var(--border);
  width: 100%;
  max-width: 100%;
  overflow: hidden;
}

.booking-dock-form {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  width: 100%;
  max-width: 100%;
}

.dock-field {
  display: flex;
  flex-direction: column;
  min-width: 0;
  width: 100%;
  padding-right: 16px;
  border-right: 1px solid var(--border);
}

.dock-label {
  font-size: 0.76rem;
  font-weight: 800;
  color: var(--accent-hover);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.dock-select {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  border: 1px solid transparent;
  background: transparent;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--primary);
  outline: none;
  cursor: pointer;
  padding: 6px 4px 6px 0;
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
}

.dock-estimate-box {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding-left: 2px;
}

.est-label {
  font-size: 0.74rem;
  color: var(--text-muted);
  line-height: 1.35;
}

.est-price {
  font-family: var(--font-title);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--primary);
  white-space: nowrap;
}

.dock-submit {
  display: flex;
  align-items: center;
  min-width: 0;
}

@media (max-width: 1100px) {
  .booking-dock-form {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }
  .dock-field {
    border-right: none;
    border-bottom: 1px solid var(--border);
    padding-right: 0;
    padding-bottom: 12px;
  }
  .dock-estimate-box {
    border-bottom: 1px solid var(--border);
    padding-left: 0;
    padding-bottom: 12px;
  }
  .dock-submit {
    grid-column: 1 / -1;
    width: 100%;
  }
  .dock-submit .btn {
    width: 100%;
  }
}

@media (max-width: 991px) {
  .hero-sanctuary-grid {
    grid-template-columns: 1fr;
    gap: 44px;
  }
  .hero-sanctuary-title {
    font-size: 2.4rem;
  }
  .hero-organic-blob {
    height: 390px;
  }
}

@media (max-width: 640px) {
  .section-hero {
    padding: 55px 0 65px;
  }
  .hero-sanctuary-title {
    font-size: 1.95rem;
  }
  .hero-nature-metrics {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }
  .nature-dot {
    display: none;
  }
  .hero-visual-col {
    flex-direction: column;
    align-items: center;
  }
  .hero-organic-blob {
    height: 320px;
  }
  .floating-villa-spotlight {
    position: static;
    width: 100%;
    margin-top: 16px;
  }
  .sanctuary-pill-badge {
    font-size: 0.7rem;
    letter-spacing: 0.8px;
    padding: 6px 14px 6px 8px;
  }
  .sanctuary-booking-dock {
    padding: 20px 18px;
    border-radius: 20px;
  }
  .booking-dock-form {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
  }
  .dock-field {
    padding-right: 0;
    padding-bottom: 12px;
    border-right: none;
    border-bottom: 1px solid var(--border);
  }
  .dock-select {
    font-size: 0.88rem;
    padding: 10px 12px;
    background: var(--light);
    border: 1px solid var(--border);
    border-radius: 12px;
  }
  .dock-estimate-box {
    border-bottom: none;
    padding: 4px 0;
  }
  .dock-submit {
    grid-column: span 1;
    width: 100%;
  }
  .dock-submit .btn {
    width: 100%;
    white-space: normal;
  }
}
