/*
Theme Name: Terra Santa
Theme URI: https://terrasanta.com.br
Author: Terra Santa Condomínios
Author URI: https://terrasanta.com.br
Description: Tema WordPress futurista Neo-Orgânico para o Terra Santa - Condomínios de Lotes. Design premium com verde esmeralda e dourado, glassmorphism, animações scroll-triggered e layout responsivo.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: terra-santa
Tags: one-page, custom-background, custom-logo, featured-images, theme-options
*/

/* ========================================
   CSS VARIABLES & DESIGN TOKENS
   ======================================== */
:root {
  --emerald-deep: #0a2e1f;
  --emerald-mid: #1a5c3a;
  --emerald-light: #2d7850;
  --gold: #c8a45e;
  --gold-light: #d4b87a;
  --cream: #f5f2ec;
  --text-dark: #1a2e22;
  --text-mid: #3d5a47;
  --text-light: #6b8a74;
  --bg-main: #f7f5f0;
  --radius: 0.75rem;
  --radius-lg: 1rem;
  --radius-xl: 1.25rem;
  --font-display: 'Sora', system-ui, sans-serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
  --shadow-sm: 0 2px 8px rgba(10,46,31,0.06);
  --shadow-md: 0 4px 24px rgba(10,46,31,0.08);
  --shadow-lg: 0 8px 40px rgba(10,46,31,0.12);
  --shadow-xl: 0 12px 48px rgba(10,46,31,0.16);
}

/* ========================================
   RESET & BASE
   ======================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  background: var(--bg-main);
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.1;
}

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

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

ul, ol {
  list-style: none;
}

/* ========================================
   CONTAINER
   ======================================== */
.ts-container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}

@media (min-width: 640px) {
  .ts-container { padding: 0 1.5rem; }
}

@media (min-width: 1024px) {
  .ts-container { padding: 0 2rem; }
}

/* ========================================
   UTILITY CLASSES
   ======================================== */
.glass-card {
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.glass-card-dark {
  background: rgba(10, 46, 31, 0.6);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.glass-card-light {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.4);
}

.section-dark {
  background: linear-gradient(135deg, #0f2318, #163024);
}

.text-gradient {
  background: linear-gradient(135deg, var(--emerald-mid), var(--emerald-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-gradient-gold {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.topo-pattern {
  background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M50 10 Q70 30 50 50 Q30 70 50 90' fill='none' stroke='rgba(45,120,80,0.06)' stroke-width='0.5'/%3E%3Cpath d='M20 20 Q40 40 20 60 Q0 80 20 100' fill='none' stroke='rgba(45,120,80,0.04)' stroke-width='0.5'/%3E%3Cpath d='M80 0 Q100 20 80 40 Q60 60 80 80' fill='none' stroke='rgba(45,120,80,0.05)' stroke-width='0.5'/%3E%3C/svg%3E");
}

.btn-gold {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  border-radius: var(--radius-lg);
  font-size: 0.875rem;
  font-weight: 600;
  font-family: var(--font-body);
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--emerald-deep);
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 8px 32px rgba(200,164,94,0.3);
}

.btn-gold:hover {
  transform: scale(1.05);
  box-shadow: 0 12px 40px rgba(200,164,94,0.4);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.875rem 2rem;
  border-radius: var(--radius-lg);
  font-size: 0.875rem;
  font-weight: 600;
  font-family: var(--font-body);
  color: rgba(255,255,255,0.9);
  background: transparent;
  border: 1px solid rgba(255,255,255,0.2);
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-outline:hover {
  border-color: rgba(255,255,255,0.4);
  background: rgba(255,255,255,0.05);
  color: #fff;
}

.btn-emerald {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-lg);
  font-size: 0.875rem;
  font-weight: 600;
  font-family: var(--font-body);
  background: linear-gradient(135deg, var(--emerald-mid), var(--emerald-deep));
  color: #fff;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 16px rgba(10,46,31,0.2);
}

.btn-emerald:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 24px rgba(10,46,31,0.3);
}

/* Section label */
.section-label {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.section-label::before,
.section-label::after {
  content: '';
  width: 2.5rem;
  height: 1px;
  background: var(--gold);
}

.section-label span {
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.15em;
}

.section-label--light span { color: var(--emerald-light); }
.section-label--dark span { color: var(--gold); }
.section-label--center { justify-content: center; }

/* ========================================
   SCROLLBAR
   ======================================== */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #f0ede6; }
::-webkit-scrollbar-thumb { background: var(--emerald-light); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--emerald-mid); }

/* ========================================
   ANIMATIONS
   ======================================== */
.ts-animate {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.ts-animate.ts-visible {
  opacity: 1;
  transform: translateY(0);
}

.ts-animate-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.ts-animate-left.ts-visible {
  opacity: 1;
  transform: translateX(0);
}

.ts-animate-right {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.ts-animate-right.ts-visible {
  opacity: 1;
  transform: translateX(0);
}

.ts-animate-scale {
  opacity: 0;
  transform: scale(0.8);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.ts-animate-scale.ts-visible {
  opacity: 1;
  transform: scale(1);
}

/* Stagger delays */
.ts-delay-1 { transition-delay: 0.1s; }
.ts-delay-2 { transition-delay: 0.2s; }
.ts-delay-3 { transition-delay: 0.3s; }
.ts-delay-4 { transition-delay: 0.4s; }
.ts-delay-5 { transition-delay: 0.5s; }
.ts-delay-6 { transition-delay: 0.6s; }
.ts-delay-7 { transition-delay: 0.7s; }

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

/* SVG line draw */
@keyframes drawLine {
  from { stroke-dashoffset: 2000; }
  to { stroke-dashoffset: 0; }
}

/* ========================================
   TOP BANNER
   ======================================== */
.ts-top-banner {
  width: 100%;
  display: none;
  padding: 0.625rem 1rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(90deg, #132b1e, #1e4030, #132b1e);
  z-index: 60;
}

.ts-top-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.2;
  background-image: repeating-linear-gradient(90deg, transparent, transparent 50px, rgba(200,164,94,0.1) 50px, rgba(200,164,94,0.1) 51px);
}

.ts-top-banner p {
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--gold-light);
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.ts-top-banner .ts-sparkle {
  width: 16px;
  height: 16px;
  color: var(--gold);
}

.ts-top-banner .ts-hide-mobile {
  display: none;
}

@media (min-width: 640px) {
  .ts-top-banner .ts-hide-mobile { display: inline; }
}

/* ========================================
   NAVBAR
   ======================================== */
.ts-navbar {
  position: fixed;
  top: 0px;
  left: 0;
  right: 0;
  z-index: 50;
  padding: 1.25rem 0;
  transition: all 0.5s ease;
  background: rgba(10, 46, 31, 0.3);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.ts-navbar.scrolled {
  padding: 0.75rem 0;
  top:0;
  background: rgba(10, 46, 31, 0.85);
  box-shadow: 0 4px 24px rgba(0,0,0,0.2);
}

.ts-navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.ts-navbar__brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.ts-navbar__logo {
  width: clamp(96px, 11vw, 148px);
  height: clamp(48px, 6vw, 78px);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--emerald-deep);
  font-family: var(--font-display);
  overflow: hidden;
}

.ts-navbar__logo .custom-logo-link {
  display: flex;
  width: 100%;
  height: 100%;
}

.ts-navbar__logo .custom-logo {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.ts-navbar__logo span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
}

.ts-navbar__brand-text {
  display: none;
  flex-direction: column;
}

.ts-navbar__brand-name {
  color: #fff;
  font-weight: 600;
  font-size: 1.125rem;
  line-height: 1.2;
  letter-spacing: -0.01em;
  font-family: var(--font-display);
}

.ts-navbar__brand-sub {
  font-size: 0.625rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: rgba(255,255,255,0.6);
}

.ts-navbar__links {
  display: none;
  align-items: center;
  gap: 2rem;
}

@media (min-width: 1024px) {
  .ts-navbar__links { display: flex; }
}

.ts-navbar__link {
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255,255,255,0.8);
  position: relative;
}

.ts-navbar__link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width 0.3s ease;
}

.ts-navbar__link:hover {
  color: #fff;
}

.ts-navbar__link:hover::after {
  width: 100%;
}

.ts-navbar__cta {
  padding: 0.625rem 1.25rem;
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 600;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--emerald-deep);
  transition: all 0.3s ease;
}

.ts-navbar__cta:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 16px rgba(200,164,94,0.3);
}

/* Mobile menu toggle */
.ts-navbar__toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  color: #fff;
}

@media (min-width: 1024px) {
  .ts-navbar__toggle { display: none; }
}

.ts-navbar__toggle svg {
  width: 24px;
  height: 24px;
}

/* Mobile menu */
.ts-mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 45;
  padding: 6rem 1.5rem 2rem;
  background: rgba(10, 46, 31, 0.95);
  backdrop-filter: blur(20px);
  display: none;
  flex-direction: column;
  gap: 1.5rem;
}

.ts-mobile-menu.active {
  display: flex;
}

.ts-mobile-menu a {
  font-size: 1.5rem;
  font-weight: 600;
  color: rgba(255,255,255,0.9);
  font-family: var(--font-display);
}

.ts-mobile-menu a:hover {
  color: #fff;
}

.ts-mobile-menu .ts-mobile-cta {
  margin-top: 1rem;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  text-align: center;
  font-size: 1.125rem;
  font-weight: 600;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--emerald-deep);
}

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

.ts-hero__bg {
  position: absolute;
  inset: 0;
}

.ts-hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ts-hero__overlay-right {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(10,46,31,0.85) 0%, rgba(10,46,31,0.5) 50%, rgba(10,46,31,0.2) 100%);
}

.ts-hero__overlay-bottom {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,46,31,0.6) 0%, transparent 40%);
}

.ts-hero__topo-lines {
  position: absolute;
  inset: 0;
  opacity: 0.1;
}

.ts-hero__topo-lines svg {
  width: 100%;
  height: 100%;
}

.ts-hero__topo-lines path {
  stroke-dasharray: 2000;
  stroke-dashoffset: 2000;
  animation: drawLine 3s ease-in-out forwards;
}

.ts-hero__topo-lines path:nth-child(2) { animation-delay: 0.5s; }
.ts-hero__topo-lines path:nth-child(3) { animation-delay: 1s; }

.ts-hero__content {
  position: relative;
  z-index: 10;
  padding-top: 8rem;
  padding-bottom: 5rem;
}

.ts-hero__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.ts-hero__left {
  max-width: 640px;
}

.ts-hero__right {
  display: flex;
  justify-content: center;
}

.ts-hero__eyebrow {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.ts-hero__eyebrow-line {
  width: 3rem;
  height: 1px;
  background: var(--gold);
}

.ts-hero__eyebrow span {
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--gold);
}

.ts-hero__title {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
}

.ts-hero__title .ts-gold {
  color: var(--gold);
}

.ts-hero__subtitle {
  font-size: 1.125rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.6;
  margin-bottom: 2.5rem;
  max-width: 480px;
}

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

@media (min-width: 640px) {
  .ts-hero__buttons { flex-direction: row; }
}

.ts-hero__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 3rem;
}

.ts-hero__badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(10px);
}

.ts-hero__badge svg {
  width: 16px;
  height: 16px;
  color: var(--gold);
}

.ts-hero__badge span {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.8);
}

.ts-hero__scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  animation: bounce 2s infinite;
}

.ts-hero__scroll span {
  font-size: 0.625rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: rgba(255,255,255,0.4);
}

.ts-hero__scroll svg {
  width: 20px;
  height: 20px;
  color: rgba(255,255,255,0.4);
}

.ts-hero__curve {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
}

.ts-hero__curve svg {
  width: 100%;
  display: block;
}

/* Hero Contact Form */
.ts-hero__contact-form {
  margin-top: 0;
  padding: 1.5rem;
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 420px;
}

.ts-contact__form--hero {
  gap: 0.75rem;
}

.ts-contact__form--hero label {
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: rgba(255,255,255,0.7);
  display: block;
  margin-bottom: 0.35rem;
}

.ts-contact__form--hero input,
.ts-contact__form--hero select,
.ts-contact__form--hero textarea {
  width: 100%;
  padding: 0.65rem 0.875rem;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius);
  color: white;
  font-size: 0.8rem;
  font-family: var(--font-body);
  transition: all 0.2s ease;
}

.ts-contact__form--hero input::placeholder,
.ts-contact__form--hero textarea::placeholder {
  color: rgba(255,255,255,0.45);
}

.ts-contact__form--hero input:focus,
.ts-contact__form--hero select:focus,
.ts-contact__form--hero textarea:focus {
  outline: none;
  background: rgba(255,255,255,0.15);
  border-color: var(--gold);
  box-shadow: 0 0 0 2px rgba(200,164,94,0.15);
}

.ts-contact__form--hero select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='rgba(255,255,255,0.6)' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.65rem center;
  padding-right: 2rem;
}

.ts-contact__form--hero textarea {
  resize: vertical;
  min-height: 70px;
  max-height: 120px;
}

.ts-contact__form--hero .ts-contact__form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.ts-contact__form--hero .ts-contact__form-message {
  grid-column: 1 / -1;
}

.ts-contact__form--hero button {
  grid-column: 1 / -1;
  margin-top: 0.5rem;
  font-size: 0.875rem;
  padding: 0.65rem 1.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

@media (max-width: 768px) {
  .ts-hero__grid {
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: auto;
  }

  .ts-hero__right {
    justify-content: flex-start;
  }

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

  .ts-contact-form-hero__row:last-child {
    grid-template-columns: 1fr;
  }

  .ts-hero__contact-form {
    margin-top: 2rem;
    padding: 1.25rem;
    max-width: 100%;
  }
}

/* ========================================
   ABOUT SECTION
   ======================================== */
.ts-about {
  padding: 6rem 0 8rem;
}

.ts-about__grid {
  display: grid;
  gap: 4rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .ts-about__grid { grid-template-columns: 1fr 1fr; }
}

.ts-about__title {
  font-size: clamp(1.875rem, 4vw, 3rem);
  color: var(--text-dark);
  margin-bottom: 1.5rem;
  line-height: 1.15;
}

.ts-about__text {
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--text-mid);
  margin-bottom: 1.5rem;
}

.ts-about__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 2.5rem;
}

@media (max-width: 639px) {
  .ts-about__stats { grid-template-columns: 1fr; }
}

.ts-about__stat {
  padding: 1rem;
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,0.7);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.4);
}

.ts-about__stat-icon {
  width: 24px;
  height: 24px;
  color: var(--emerald-mid);
  margin-bottom: 0.5rem;
}

.ts-about__stat-label {
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--text-dark);
}

.ts-about__stat-desc {
  font-size: 0.75rem;
  color: var(--text-light);
  margin-top: 0.125rem;
}

.ts-about__stat-topics {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.75rem;
}

.ts-about__stat-topic-badge {
  display: inline-block;
  background: linear-gradient(135deg, rgba(10,46,31,0.08), rgba(200,164,94,0.1));
  color: var(--emerald-mid);
  font-size: 0.65rem;
  font-weight: 600;
  padding: 0.25rem 0.5rem;
  border-radius: 0.25rem;
  border: 1px solid rgba(10,46,31,0.1);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  white-space: nowrap;
}

.ts-about__image-wrap {
  position: relative;
}

.ts-about__image {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.ts-about__image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
}

@media (min-width: 1024px) {
  .ts-about__image img { height: 500px; }
}

.ts-about__image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,46,31,0.4) 0%, transparent 50%);
  border-radius: var(--radius-xl);
}

.ts-about__floating-stat {
  position: absolute;
  bottom: -1.5rem;
  left: -1.5rem;
  padding: 1.25rem;
  border-radius: var(--radius-lg);
  background: rgba(10,46,31,0.9);
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow-lg);
}

.ts-about__floating-number {
  font-size: 1.875rem;
  font-weight: 700;
  color: var(--gold);
  font-family: var(--font-display);
}

.ts-about__floating-label {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.7);
}

/* ========================================
   JOURNEY SECTION
   ======================================== */
.ts-journey {
  padding: 6rem 0 8rem;
  position: relative;
  overflow: hidden;
}

.ts-journey__bg {
  position: absolute;
  inset: 0;
}

.ts-journey__bg-topo {
  position: absolute;
  inset: 0;
  opacity: 0.05;
}

.ts-journey__grid {
  display: grid;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 10;
}

@media (min-width: 1024px) {
  .ts-journey__grid { grid-template-columns: 1fr 1fr; }
}

.ts-journey__title {
  font-size: clamp(1.875rem, 4vw, 3rem);
  color: #fff;
  margin-bottom: 1.5rem;
  line-height: 1.15;
}

.ts-journey__text {
  font-size: 1.125rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.7);
  margin-bottom: 1rem;
}

.ts-journey__text--muted {
  color: rgba(255,255,255,0.6);
}

.ts-journey__stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 2rem;
}

.ts-journey__stat-card {
  padding: 1.25rem;
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
}

.ts-journey__stat-number {
  font-size: 1.875rem;
  font-weight: 700;
  color: var(--gold);
  font-family: var(--font-display);
  margin-bottom: 0.25rem;
}

.ts-journey__stat-label {
  font-size: 0.875rem;
  font-weight: 600;
  color: rgba(255,255,255,0.9);
  margin-bottom: 0.25rem;
}

.ts-journey__stat-desc {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.5);
}

.ts-journey__image-wrap {
  position: relative;
}

.ts-journey__image {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.ts-journey__image img {
  width: 100%;
  height: 450px;
  object-fit: cover;
}

@media (min-width: 1024px) {
  .ts-journey__image img { height: 550px; }
}

.ts-journey__image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,46,31,0.5) 0%, transparent 40%);
  border-radius: var(--radius-xl);
}

.ts-journey__quote {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  right: 1.5rem;
  padding: 1rem;
  border-radius: var(--radius-lg);
  background: rgba(10,46,31,0.85);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.1);
}

.ts-journey__quote p {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.9);
  font-weight: 500;
}

/* ========================================
   TESTIMONIALS SECTION
   ======================================== */
.ts-testimonials {
  padding: 6rem 0 8rem;
}

.ts-testimonials__grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .ts-testimonials__grid { grid-template-columns: repeat(3, 1fr); }
}

.ts-testimonial-card {
  padding: 2rem;
  border-radius: var(--radius-xl);
  background: rgba(255,255,255,0.7);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(10,46,31,0.08);
  box-shadow: var(--shadow-sm);
  transition: all 0.5s ease;
}

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

.ts-testimonial-card__quote-icon {
  width: 32px;
  height: 32px;
  color: var(--emerald-mid);
  opacity: 0.2;
  margin-bottom: 1rem;
}

.ts-testimonial-card__text {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-mid);
  font-style: italic;
  margin-bottom: 2rem;
}

.ts-testimonial-card__author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.ts-testimonial-card__avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, var(--emerald-mid), var(--emerald-light));
  overflow: hidden;
  flex-shrink: 0;
}

.ts-testimonial-card__avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ts-testimonial-card__name {
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--text-dark);
}

.ts-testimonial-card__role {
  font-size: 0.75rem;
  color: var(--text-light);
}

/* Mobile carousel dots */
.ts-testimonials__dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.5rem;
}

@media (min-width: 768px) {
  .ts-testimonials__dots { display: none; }
}

.ts-testimonials__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  background: #c8d5cc;
  transition: all 0.3s ease;
}

.ts-testimonials__dot.active {
  background: var(--emerald-mid);
}

/* ========================================
   BENEFITS SECTION
   ======================================== */
.ts-benefits {
  padding: 6rem 0 8rem;
  position: relative;
  overflow: hidden;
}

.ts-benefits__grid {
  display: grid;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 10;
}

@media (min-width: 1024px) {
  .ts-benefits__grid { grid-template-columns: 1fr 1fr; }
}

.ts-benefits__title {
  font-size: clamp(1.875rem, 4vw, 2.5rem);
  color: #fff;
  margin-bottom: 2.5rem;
}

.ts-benefits__cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

@media (max-width: 639px) {
  .ts-benefits__cards { grid-template-columns: 1fr; }
}

.ts-benefit-card {
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  transition: all 0.5s ease;
}

.ts-benefit-card:hover {
  transform: translateY(-4px);
}

.ts-benefit-card__icon {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(200,164,94,0.15);
  margin-bottom: 1rem;
  transition: transform 0.3s ease;
}

.ts-benefit-card:hover .ts-benefit-card__icon {
  transform: scale(1.1);
}

.ts-benefit-card__icon svg {
  width: 20px;
  height: 20px;
  color: var(--gold);
}

.ts-benefit-card__title {
  font-weight: 600;
  color: #fff;
  margin-bottom: 0.375rem;
  font-size: 1rem;
}

.ts-benefit-card__desc {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.6;
}

.ts-benefits__image {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  position: relative;
}

.ts-benefits__image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
}

@media (min-width: 1024px) {
  .ts-benefits__image img { height: 520px; }
}

.ts-benefits__image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,46,31,0.4) 0%, transparent 50%);
  border-radius: var(--radius-xl);
}

/* ========================================
   LEISURE SECTION
   ======================================== */
.ts-leisure {
  padding: 6rem 0 8rem;
}

.ts-leisure__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  grid-auto-rows: 180px;
}

@media (min-width: 768px) {
  .ts-leisure__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .ts-leisure__grid {
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 200px;
  }
}

.ts-leisure-card {
  border-radius: var(--radius-xl);
  overflow: hidden;
  position: relative;
  transition: all 0.5s ease;
}

.ts-leisure-card:hover {
  transform: translateY(-4px);
}

.ts-leisure-card--featured {
  grid-row: span 2;
}

.ts-leisure-card--simple {
  background: rgba(255,255,255,0.7);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(10,46,31,0.08);
  box-shadow: var(--shadow-sm);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.ts-leisure-card--featured img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}

.ts-leisure-card--featured:hover img {
  transform: scale(1.05);
}

.ts-leisure-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,46,31,0.85) 0%, rgba(10,46,31,0.2) 50%, transparent 100%);
}

.ts-leisure-card__content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.5rem;
  z-index: 10;
}

.ts-leisure-card__content svg {
  width: 24px;
  height: 24px;
  color: var(--gold);
  margin-bottom: 0.5rem;
}

.ts-leisure-card__content h3 {
  font-size: 1.125rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.25rem;
}

.ts-leisure-card__content p {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.7);
}

.ts-leisure-card--simple .ts-leisure-icon-wrap {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(10,46,31,0.06);
  margin-bottom: 0.75rem;
  transition: transform 0.3s ease;
}

.ts-leisure-card--simple:hover .ts-leisure-icon-wrap {
  transform: scale(1.1);
}

.ts-leisure-card--simple .ts-leisure-icon-wrap svg {
  width: 20px;
  height: 20px;
  color: var(--emerald-mid);
}

.ts-leisure-card--simple h3 {
  font-weight: 600;
  font-size: 1rem;
  color: var(--text-dark);
  margin-bottom: 0.25rem;
}

.ts-leisure-card--simple p {
  font-size: 0.875rem;
  color: var(--text-light);
  line-height: 1.5;
}

/* ========================================
   FUNDAMENTO SECTION
   ======================================== */
.ts-fundamento {
  padding: 6rem 0 8rem;
  position: relative;
  overflow: hidden;
}

.ts-fundamento__title {
  font-size: clamp(1.875rem, 4vw, 3rem);
  color: #fff;
}

.ts-fundamento__subtitle {
  font-size: 1.125rem;
  color: rgba(255,255,255,0.6);
  margin-top: 1rem;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.ts-fundamento__grid {
  display: grid;
  gap: 1.5rem;
  margin-top: 4rem;
}

@media (min-width: 768px) {
  .ts-fundamento__grid { grid-template-columns: repeat(3, 1fr); }
}

.ts-fundamento-card {
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  transition: all 0.5s ease;
}

.ts-fundamento-card:hover {
  transform: translateY(-4px);
}

.ts-fundamento-card__image {
  position: relative;
  height: 208px;
  overflow: hidden;
}

.ts-fundamento-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}

.ts-fundamento-card:hover .ts-fundamento-card__image img {
  transform: scale(1.1);
}

.ts-fundamento-card__image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,46,31,0.6) 0%, transparent 60%);
}

.ts-fundamento-card__icon {
  position: absolute;
  top: 1rem;
  left: 1rem;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(10,46,31,0.7);
  backdrop-filter: blur(8px);
}

.ts-fundamento-card__icon svg {
  width: 20px;
  height: 20px;
  color: var(--gold);
}

.ts-fundamento-card__body {
  padding: 1.5rem;
}

.ts-fundamento-card__title {
  font-weight: 700;
  font-size: 1.125rem;
  color: #fff;
  margin-bottom: 0.5rem;
}

.ts-fundamento-card__desc {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.6;
}

/* ========================================
   MASTERPLAN SECTION
   ======================================== */
.ts-masterplan {
  padding: 6rem 0 8rem;
}

.ts-masterplan__map {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: linear-gradient(135deg, #e8ede9, #e5e0d6);
  border: 1px solid rgba(10,46,31,0.1);
  box-shadow: var(--shadow-lg);
}

.ts-masterplan__map-area {
  position: relative;
  width: 100%;
  padding-bottom: 50%;
}

.ts-masterplan__topo {
  position: absolute;
  inset: 0;
  opacity: 0.15;
}

.ts-masterplan__topo svg {
  width: 100%;
  height: 100%;
}

.ts-masterplan__blobs {
  position: absolute;
  inset: 0;
}

.ts-masterplan__blob {
  position: absolute;
  border-radius: 50%;
  opacity: 0.2;
  background: var(--emerald-light);
}

.ts-masterplan__blob--1 { width: 160px; height: 160px; top: 20%; left: 10%; filter: blur(40px); }
.ts-masterplan__blob--2 { width: 224px; height: 224px; top: 40%; left: 40%; filter: blur(50px); opacity: 0.15; }
.ts-masterplan__blob--3 { width: 144px; height: 144px; top: 15%; right: 15%; filter: blur(35px); }

.ts-masterplan__pin {
  position: absolute;
  display: flex;
  align-items: center;
  cursor: pointer;
  z-index: 10;
  transform: translate(-50%, -50%);
  transition: transform 0.3s ease;
}

.ts-masterplan__pin:hover {
  transform: translate(-50%, -50%) scale(1.15);
}

.ts-masterplan__pin-circle {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.25rem;
  box-shadow: 0 6px 18px rgba(0,0,0,0.22);
  transition: all 0.3s ease;
}

.ts-masterplan__pin:hover .ts-masterplan__pin-circle {
  background: var(--gold) !important;
  box-shadow: 0 0 22px rgba(200,164,94,0.55);
}

.ts-masterplan__pin-circle img {
  width: 100%;
  height: 100%;
  border-radius: 999px;
  background: rgba(255,255,255,0.92);
  object-fit: cover;
}

.ts-masterplan__roads {
  position: absolute;
  inset: 0;
}

.ts-masterplan__roads svg {
  width: 100%;
  height: 100%;
}

.ts-masterplan__legend {
  padding: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  border-top: 1px solid rgba(10,46,31,0.08);
}

.ts-masterplan__legend-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.375rem 0.75rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 500;
  background: rgba(10,46,31,0.05);
  color: var(--text-mid);
  cursor: pointer;
  transition: all 0.3s ease;
}

.ts-masterplan__legend-item:hover {
  background: var(--emerald-deep);
  color: #fff;
  transform: scale(1.05);
}

.ts-masterplan__legend-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

/* ========================================
   CONDOMINIOS SECTION
   ======================================== */
.ts-condominios {
  padding: 6rem 0 8rem;
}

.ts-condominios__list {
  display: flex;
  flex-direction: column;
  gap: 6rem;
}

/* ========================================
   CONDOMINIO DETAIL PAGE
   ======================================== */
.ts-condo-page {
  min-height: 100vh;
  padding: 8rem 0 6rem;
  background: radial-gradient(circle at 20% 10%, rgba(45,120,80,0.1), transparent 45%), radial-gradient(circle at 80% 20%, rgba(200,164,94,0.12), transparent 40%), var(--bg-main);
}

.ts-condo-page__hero {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
  margin-bottom: 3rem;
}

.ts-condo-page__breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
  font-size: 0.875rem;
  color: var(--text-light);
  margin-bottom: 1.5rem;
}

.ts-condo-page__breadcrumbs a {
  color: var(--text-mid);
}

.ts-condo-page__grid {
  display: grid;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.ts-condo-page__hero-card,
.ts-condo-page__map-card,
.ts-condo-page__content,
.ts-condo-page__gallery {
  border-radius: var(--radius-xl);
  padding: 1.5rem;
  background: rgba(255,255,255,0.78);
  border: 1px solid rgba(10,46,31,0.08);
  box-shadow: var(--shadow-sm);
}

.ts-condo-page__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}

.ts-condo-page__meta-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: rgba(45,120,80,0.08);
  color: var(--text-mid);
  font-size: 0.75rem;
  font-weight: 600;
}

.ts-condo-page__map-wrap,
.ts-condo-page__single-image {
  overflow: hidden;
  border-radius: var(--radius-lg);
}

.ts-condo-page__map-trigger {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
}

.ts-condo-page__map-hint {
  position: absolute;
  right: 0.75rem;
  bottom: 0.75rem;
  background: rgba(10,46,31,0.82);
  color: #fff;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.35rem 0.7rem;
  letter-spacing: 0.02em;
}

.ts-condo-page__map-wrap img,
.ts-condo-page__single-image img,
.ts-condo-page__slide img {
  width: 100%;
  display: block;
  object-fit: cover;
}

.ts-condo-page__map-wrap img {
  min-height: 280px;
}

.ts-condo-page__gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1rem;
  grid-auto-flow: dense;
}

.ts-condo-page__gallery-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin: 0.75rem 0 1rem;
}

.ts-condo-page__gallery-head p {
  color: var(--text-mid);
  font-size: 0.95rem;
}

.ts-condo-page__gallery-head strong {
  color: var(--emerald-deep);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: rgba(45,120,80,0.12);
}

.ts-condo-page__gallery-item {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: transparent;
  cursor: zoom-in;
  box-shadow: var(--shadow-sm);
  aspect-ratio: 1 / 1;
  isolation: isolate;
}

.ts-condo-page__gallery-item::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(4,18,13,0.68) 0%, rgba(4,18,13,0) 55%);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 1;
}

.ts-condo-page__gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

.ts-condo-page__gallery-item:hover img {
  transform: scale(1.07);
}

.ts-condo-page__gallery-item:hover::before,
.ts-condo-page__gallery-item:focus-visible::before {
  opacity: 1;
}

.ts-condo-page__gallery-item:focus-visible {
  outline: 3px solid rgba(45,120,80,0.35);
  outline-offset: 2px;
}

.ts-condo-page__gallery-item-badge {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  background: rgba(10,46,31,0.86);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  z-index: 2;
}

.ts-condo-page__gallery-item-overlay {
  position: absolute;
  left: 0.75rem;
  bottom: 0.75rem;
  z-index: 2;
  color: #fff;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 700;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.ts-condo-page__gallery-item:hover .ts-condo-page__gallery-item-overlay,
.ts-condo-page__gallery-item:focus-visible .ts-condo-page__gallery-item-overlay {
  opacity: 1;
  transform: translateY(0);
}

@media (min-width: 768px) {
  .ts-condo-page__gallery-item--wide {
    grid-column: span 2;
    aspect-ratio: 16 / 10;
  }
}

@media (min-width: 992px) {
  .ts-condo-page__gallery-item--tall {
    grid-row: span 2;
    aspect-ratio: 3 / 4;
  }
}

.ts-map-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(5, 15, 11, 0.92);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem;
}

.ts-map-lightbox.is-open {
  display: flex;
}

.ts-map-lightbox__inner {
  width: min(96vw, 1400px);
  max-height: 92vh;
  overflow: hidden;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(255,255,255,0.25);
  box-shadow: var(--shadow-xl);
  background: #0a2017;
}

.ts-map-lightbox__image {
  width: 100%;
  max-height: 92vh;
  object-fit: contain;
  display: block;
  cursor: zoom-in;
  transition: transform 0.25s ease;
  transform: scale(1);
}

.ts-map-lightbox__image.is-zoomed {
  transform: scale(2);
  cursor: zoom-out;
}

.ts-map-lightbox__close {
  position: absolute;
  top: 0.75rem;
  right: 1rem;
  width: 52px;
  height: 52px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.35);
  background: rgba(0, 0, 0, 0.45);
  color: #fff;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
}

.ts-gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(4, 12, 9, 0.96);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 2rem 4rem;
}

.ts-gallery-lightbox.is-open {
  display: flex;
}

.ts-gallery-lightbox__inner {
  width: min(100%, 1400px);
  max-height: 88vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ts-gallery-lightbox__image {
  max-width: 100%;
  max-height: 88vh;
  object-fit: contain;
  display: block;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  cursor: zoom-in;
  transition: opacity 0.3s ease, transform 0.3s ease;
  transform: scale(1);
  opacity: 1;
}

.ts-gallery-lightbox__image.is-transitioning {
  opacity: 0;
  transform: scale(0.95);
}

.ts-gallery-lightbox__image.is-zoomed {
  transform: scale(2);
  cursor: zoom-out;
}

.ts-gallery-lightbox__close,
.ts-gallery-lightbox__nav {
  position: absolute;
  border: 0;
  color: #fff;
  background: rgba(10,46,31,0.82);
  cursor: pointer;
}

.ts-gallery-lightbox__close {
  top: 1rem;
  right: 1rem;
  width: 52px;
  height: 52px;
  border-radius: 999px;
  font-size: 2rem;
  line-height: 1;
  transition: all 0.2s ease;
}

.ts-gallery-lightbox__close:hover {
  background: rgba(10,46,31,0.95);
  transform: scale(1.1);
}

.ts-gallery-lightbox__nav {
  top: 50%;
  width: 52px;
  height: 52px;
  border-radius: 999px;
  transform: translateY(-50%);
  font-size: 2rem;
  line-height: 1;
  transition: all 0.2s ease;
}

.ts-gallery-lightbox__nav:hover {
  background: rgba(10,46,31,0.95);
  transform: translateY(-50%) scale(1.1);
}

.ts-gallery-lightbox__nav--prev {
  left: 1rem;
}

.ts-gallery-lightbox__nav--next {
  right: 1rem;
}

.ts-gallery-lightbox__counter {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  color: #fff;
  background: rgba(10,46,31,0.82);
  font-size: 0.8rem;
  font-weight: 700;
}

.ts-no-scroll {
  overflow: hidden;
}

.ts-condo-page__carousel {
  position: relative;
  overflow: hidden;
}

.ts-condo-page__carousel-track {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding-bottom: 0.5rem;
}

.ts-condo-page__slide {
  flex: 0 0 85%;
  scroll-snap-align: start;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.ts-condo-page__carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 2.5rem;
  height: 2.5rem;
  border: 0;
  border-radius: 999px;
  background: rgba(10,46,31,0.9);
  color: #fff;
  cursor: pointer;
}

.ts-condo-page__carousel-btn--prev { left: 0.75rem; }
.ts-condo-page__carousel-btn--next { right: 0.75rem; }

@media (min-width: 768px) {
  .ts-condo-page__grid {
    grid-template-columns: 1.2fr 0.8fr;
  }

  .ts-condo-page__slide {
    flex-basis: 48%;
  }
}

.ts-condo-page__logo {
  width: 96px;
  height: 96px;
  border-radius: 999px;
  padding: 0.4rem;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  box-shadow: var(--shadow-md);
  margin-bottom: 1rem;
}

.ts-condo-page__logo img {
  width: 100%;
  height: 100%;
  border-radius: 999px;
  object-fit: cover;
  background: #fff;
}

.ts-condo-page__name {
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--emerald-deep);
  margin-bottom: 0.75rem;
}

.ts-condo-page__title {
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  color: var(--text-mid);
  margin-bottom: 1rem;
}

.ts-condo-page__desc {
  max-width: 62ch;
  color: var(--text-mid);
}

.ts-condo-page__stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.ts-condo-page__stat-card {
  border-radius: var(--radius-lg);
  padding: 0.9rem 1rem;
  background: rgba(10,46,31,0.04);
  border: 1px solid rgba(10,46,31,0.06);
}

.ts-condo-page__stat-label {
  display: block;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--text-light);
  margin-bottom: 0.35rem;
}

.ts-condo-page__stat-value {
  color: var(--emerald-deep);
  font-size: 1rem;
}

.ts-condo-page__image-wrap {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(10,46,31,0.08);
}

.ts-condo-page__image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ts-condo-page__content {
  border-radius: var(--radius-xl);
  padding: 2rem;
  background: rgba(255,255,255,0.76);
  border: 1px solid rgba(10,46,31,0.08);
  box-shadow: var(--shadow-sm);
}

.ts-condo-page__gallery-note {
  margin-top: 1rem;
  font-size: 0.875rem;
  color: var(--text-light);
}

.ts-condo-page__list {
  display: grid;
  gap: 0.85rem;
  margin-bottom: 2rem;
}

.ts-condo-page__list-item {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  color: var(--text-dark);
}

.ts-condo-page__list-dot {
  width: 0.65rem;
  height: 0.65rem;
  border-radius: 999px;
  margin-top: 0.45rem;
  background: var(--gold);
}

.ts-condo-page__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

@media (min-width: 992px) {
  .ts-condo-page__hero {
    grid-template-columns: 1.1fr 0.9fr;
  }
}

@media (min-width: 1024px) {
  .ts-condominios__list { gap: 8rem; }
}

@media (max-width: 767px) {
  .ts-condo-page__stats {
    grid-template-columns: 1fr;
  }
}

.ts-condo {
  display: grid;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .ts-condo { grid-template-columns: 1fr 1fr; gap: 4rem; }
}

.ts-condo__image-wrap {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.ts-condo__image-wrap img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  transition: transform 0.7s ease;
}

@media (min-width: 1024px) {
  .ts-condo__image-wrap img { height: 400px; }
}

.ts-condo__image-wrap:hover img {
  transform: scale(1.05);
}

.ts-condo__image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,46,31,0.4) 0%, transparent 50%);
}

.ts-condo__badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  padding: 0.375rem 1rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  background: rgba(10,46,31,0.75);
  backdrop-filter: blur(8px);
  color: var(--gold);
}

.ts-condo__label {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.ts-condo__label-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, var(--emerald-mid), var(--emerald-light));
}

.ts-condo__label span {
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--emerald-light);
}

.ts-condo__title {
  font-size: clamp(1.5rem, 3vw, 1.875rem);
  color: var(--text-dark);
  margin-bottom: 1rem;
}

.ts-condo__desc {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-mid);
  margin-bottom: 1.5rem;
}

.ts-condo__bullets {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.ts-condo__bullet {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.ts-condo__bullet-check {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
  background: rgba(10,46,31,0.08);
}

.ts-condo__bullet-check svg {
  width: 12px;
  height: 12px;
  color: var(--emerald-mid);
}

.ts-condo__bullet span {
  font-size: 0.875rem;
  color: var(--text-mid);
}

/* Reversed layout */
@media (min-width: 1024px) {
  .ts-condo--reversed .ts-condo__image-wrap { order: 2; }
  .ts-condo--reversed .ts-condo__text { order: 1; }
}

/* ========================================
   CONTACT SECTION
   ======================================== */
.ts-contact {
  padding: 6rem 0 8rem;
  position: relative;
  overflow: hidden;
}

.ts-contact__bg-topo {
  position: absolute;
  inset: 0;
  opacity: 0.05;
}

.ts-contact__grid {
  display: grid;
  gap: 2.5rem;
  position: relative;
  z-index: 10;
}

@media (min-width: 1024px) {
  .ts-contact__grid { grid-template-columns: 3fr 2fr; }
}

.ts-contact__form {
  padding: 2rem;
  border-radius: var(--radius-xl);
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  backdrop-filter: blur(12px);
}

.ts-contact__form-row {
  display: grid;
  gap: 1rem;
  margin-bottom: 1rem;
}

@media (min-width: 640px) {
  .ts-contact__form-row { grid-template-columns: 1fr 1fr; }
}

.ts-contact__form label {
  display: block;
  white-space: nowrap;
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255,255,255,0.7);
  margin-bottom: 0.375rem;
}

.ts-contact__form input,
.ts-contact__form select,
.ts-contact__form textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-lg);
  font-size: 0.875rem;
  font-family: var(--font-body);
  color: #fff;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  outline: none;
  transition: all 0.3s ease;
}

.ts-contact__form input::placeholder,
.ts-contact__form textarea::placeholder {
  color: rgba(255,255,255,0.3);
}

.ts-contact__form input:focus,
.ts-contact__form select:focus,
.ts-contact__form textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(200,164,94,0.15);
}

.ts-contact__form select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='rgba(255,255,255,0.5)' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
}

.ts-contact__form select option {
  background: var(--emerald-deep);
  color: #fff;
}

.ts-contact__form textarea {
  resize: none;
  min-height: 100px;
}

.ts-contact__form-message {
  margin-bottom: 1.5rem;
}

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

.ts-contact__info-card {
  padding: 1.25rem;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
}

.ts-contact__info-icon {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: rgba(200,164,94,0.15);
}

.ts-contact__info-icon svg {
  width: 20px;
  height: 20px;
  color: var(--gold);
}

.ts-contact__info-title {
  font-weight: 600;
  font-size: 0.875rem;
  color: #fff;
  margin-bottom: 0.125rem;
}

.ts-contact__info-desc {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.6);
  white-space: pre-line;
}

.ts-contact__whatsapp {
  display: block;
  padding: 1.25rem;
  border-radius: var(--radius-lg);
  text-align: center;
  background: linear-gradient(135deg, #25D366, #128C7E);
  box-shadow: 0 8px 24px rgba(37,211,102,0.3);
  transition: all 0.3s ease;
}

.ts-contact__whatsapp:hover {
  transform: scale(1.02);
}

.ts-contact__whatsapp-title {
  font-weight: 700;
  font-size: 0.875rem;
  color: #fff;
}

.ts-contact__whatsapp-desc {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.8);
  margin-top: 0.25rem;
}

/* ========================================
   FOOTER
   ======================================== */
.ts-footer {
  position: relative;
  overflow: hidden;
  background: #0f1f17;
}

.ts-footer__accent {
  height: 1px;
  width: 100%;
  background: linear-gradient(to right, transparent, var(--gold), transparent);
}

.ts-footer__inner {
  padding: 4rem 0;
}

.ts-footer__grid {
  display: grid;
  gap: 2.5rem;
}

@media (min-width: 768px) {
  .ts-footer__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .ts-footer__grid { grid-template-columns: 1.5fr 1fr 1fr 1fr; }
}

.ts-footer__brand-name {
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  font-family: var(--font-display);
  margin-bottom: 0.5rem;
}

.ts-footer__brand-name .ts-gold { color: var(--gold); }

.ts-footer__brand-desc {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.4);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.ts-footer__socials {
  display: flex;
  gap: 0.75rem;
}

.ts-footer__social {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  transition: all 0.3s ease;
}

.ts-footer__social:hover {
  transform: scale(1.1);
  background: rgba(255,255,255,0.1);
}

.ts-footer__social svg {
  width: 16px;
  height: 16px;
  color: rgba(255,255,255,0.6);
}

.ts-footer__col-title {
  font-size: 0.75rem;
  font-weight: 600;
  color: rgba(255,255,255,0.8);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
}

.ts-footer__col ul {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.ts-footer__col a {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.4);
  transition: color 0.3s ease;
}

.ts-footer__col a:hover {
  color: rgba(255,255,255,0.8);
}

.ts-footer__contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  margin-bottom: 0.75rem;
}

.ts-footer__contact-item svg {
  width: 16px;
  height: 16px;
  color: var(--gold);
  flex-shrink: 0;
  margin-top: 2px;
}

.ts-footer__contact-item span {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.4);
}

.ts-footer__bottom {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.06);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
}

@media (min-width: 768px) {
  .ts-footer__bottom { flex-direction: row; justify-content: space-between; }
}

.ts-footer__copyright {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.3);
}

.ts-footer__legal {
  display: flex;
  gap: 1.5rem;
}

.ts-footer__legal a {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.3);
}

.ts-footer__legal a:hover {
  color: rgba(255,255,255,0.6);
}

/* ========================================
   SECTION HEADINGS (reusable)
   ======================================== */
.ts-section-heading {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 4rem;
}

.ts-section-heading h2 {
  font-size: clamp(1.875rem, 4vw, 3rem);
  letter-spacing: -0.02em;
}

.ts-section-heading p {
  margin-top: 1rem;
  font-size: 1rem;
  line-height: 1.6;
}

.ts-section-heading--light h2 { color: var(--text-dark); }
.ts-section-heading--light p { color: var(--text-light); }
.ts-section-heading--dark h2 { color: #fff; }
.ts-section-heading--dark p { color: rgba(255,255,255,0.6); }

/* ========================================
   WORDPRESS SPECIFIC OVERRIDES
   ======================================== */
.wp-block-image img { border-radius: var(--radius-lg); }
.entry-content p { margin-bottom: 1.5rem; }
.screen-reader-text {
  clip: rect(1px, 1px, 1px, 1px);
  position: absolute !important;
  height: 1px;
  width: 1px;
  overflow: hidden;
}

/* Form success message */
.ts-form-success {
  display: none;
  padding: 1rem;
  border-radius: var(--radius-lg);
  background: rgba(37,211,102,0.15);
  border: 1px solid rgba(37,211,102,0.3);
  color: #25D366;
  font-size: 0.875rem;
  font-weight: 500;
  text-align: center;
  margin-top: 1rem;
}

.ts-form-success.show {
  display: block;
}
