#animated-word {
  display: inline-block;
  transition:
    transform 0.4s ease,
    opacity 0.4s ease;
  transform-origin: center;
}

.flip {
  transform: rotateX(90deg);
  opacity: 0;
}

.reveal-delay-1 {
  transition-delay: 0.1s;
}

/* ══ HERO ═══════════════════════════════════════════ */
#hero {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
#hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.hero-gradient {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      ellipse 70% 60% at 50% 60%,
      rgba(61, 90, 128, 0.35) 0%,
      transparent 70%
    ),
    linear-gradient(180deg, rgba(11, 22, 40, 0) 0%, rgba(11, 22, 40, 0.85) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 20px;
  max-width: 820px;
}
.hero-eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
  opacity: 0;
  animation: fadeUp 0.8s 0.3s forwards;
}
.hero-headline {
  font-family: "Playfair Display", serif;
  font-size: clamp(2.8rem, 6vw, 5.2rem);
  line-height: 1.1;
  color: var(--white);
  margin-bottom: 24px;
  opacity: 0;
  animation: fadeUp 0.8s 0.55s forwards;
}
.hero-headline em {
  font-style: italic;
  color: var(--gold);
}
.hero-sub {
  font-size: 1.05rem;
  color: rgba(245, 240, 232, 0.7);
  line-height: 1.7;
  margin-bottom: 44px;
  opacity: 0;
  animation: fadeUp 0.8s 0.8s forwards;
}
.hero-search {
  display: flex;
  align-items: stretch;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(201, 168, 76, 0.3);
  border-radius: 3px;
  overflow: hidden;
  max-width: 600px;
  margin: 0 auto;
  opacity: 0;
  animation: fadeUp 0.8s 1s forwards;
}
.hero-search input {
  flex: 1;
  background: transparent;
  border: none;
  padding: 18px 24px;
  font-family: "Inter", sans-serif;
  font-size: 0.95rem;
  color: var(--white);
  outline: none;
}
.hero-search input::placeholder {
  color: rgba(255, 255, 255, 0.35);
}
.hero-search button {
  background: var(--gold);
  border: none;
  padding: 0 30px;
  font-family: "Inter", sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--navy);
  cursor: pointer;
  transition: background 0.2s;
}
.hero-search button:hover {
  background: var(--gold-lt);
}
.hero-scroll-hint {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  opacity: 0;
  animation: fadeIn 1s 1.5s forwards;
}
.scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  animation: scrollPulse 2s infinite;
}
.scroll-label {
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
}

/* ══ AGENT PROFILE ══════════════════════════════════ */
#agent-profile {
  background: var(--navy2);
  border-top: 1px solid rgba(201, 168, 76, 0.12);
  border-bottom: 1px solid rgba(201, 168, 76, 0.12);
  padding: 60px 60px;
  display: flex;
  align-items: center;
  gap: 48px;
}
.agent-photo {
  flex-shrink: 0;
  border-radius: 6px;
  background: var(--slate);
  border: 3px solid rgba(201, 168, 76, 0.4);
}
.agent-photo img {
  display: block;
}

.agent-info {
  flex: 1;
}

.agent-tag {
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
}
.agent-name-big {
  font-size: 1.9rem;
  color: var(--white);
  margin-bottom: 6px;
}
.agent-bio {
  font-size: 1.1rem;
  color: var(--sub);
  line-height: 1.7; /* max-width: 560px; */
}
.agent-stats {
  display: flex;
  gap: 48px;
  flex-shrink: 0;
}
.a-stat {
  text-align: center;
}
.a-stat-num {
  font-family: "Playfair Display", serif;
  font-size: 2.2rem;
  color: var(--gold);
  display: block;
  line-height: 1;
}
.a-stat-label {
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--sub);
  margin-top: 6px;
  display: block;
}
.agent-contact-btn {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}
.btn-whatsapp {
  display: flex;
  align-items: center;
  background: #25d366;
  color: #fff;
  padding: 12px 22px;
  border-radius: 2px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-decoration: none;
  transition: opacity 0.2s;
}
.btn-whatsapp:hover {
  opacity: 0.88;
}
.btn-call {
  display: flex;
  align-items: center;
  background: transparent;
  color: var(--cream);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 12px 22px;
  border-radius: 2px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-decoration: none;
  transition: border-color 0.2s;
}
.btn-call:hover {
  border-color: rgba(201, 168, 76, 0.5);
  color: var(--gold);
}

/* ══ SECTIONS ═══════════════════════════════════════ */
section {
  padding: 100px 24px;
}
section + section {
  padding-top: 50px;
}
section:has(+ section) {
  padding-bottom: 50px;
}

.section-eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}
.section-title {
  font-family: "Playfair Display", serif;
  font-size: clamp(2rem, 3.5vw, 3rem);
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 16px;
}
.section-sub {
  font-size: 1.1rem;
  color: var(--sub);
  line-height: 1.7;
  max-width: 480px;
}
.listings-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 32px;
}
.view-all {
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  text-decoration: none;
  border-bottom: 1px solid rgba(201, 168, 76, 0.3);
  padding-bottom: 2px;
  transition: border-color 0.2s;
}
.view-all:hover {
  border-color: var(--gold);
}

/* ══ CATEGORIES ═════════════════════════════════════ */
#categories {
  background: var(--navy2);
}
.cat-header {
  margin-bottom: 52px;
}
.cat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.cat-card {
  text-decoration: none;
  position: relative;
  height: 220px;
  border-radius: 4px;
  overflow: hidden;
  cursor: pointer;
  opacity: 0;
  transform: translateY(40px) scale(0.96);
  transition:
    opacity 0.55s,
    transform 0.55s cubic-bezier(0.22, 0.68, 0, 1.2);
}
.cat-card.revealed {
  opacity: 1;
  transform: translateY(0) scale(1);
}
.cat-card:hover .cat-overlay {
  opacity: 1;
}
.cat-card:hover img {
  transform: scale(1.08);
}
.cat-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}
.cat-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(11, 22, 40, 0.85) 0%,
    rgba(61, 90, 128, 0.3) 100%
  );
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 22px;
  opacity: 0.8;
  transition: opacity 0.3s;
}
.cat-label {
  font-family: "Playfair Display", serif;
  font-size: 1.15rem;
  color: var(--white);
  margin-bottom: 4px;
}
.cat-count {
  font-size: 0.75rem;
  color: var(--gold);
  letter-spacing: 0.1em;
}
.cat-card:nth-child(2) {
  transition-delay: 0.08s;
}
.cat-card:nth-child(3) {
  transition-delay: 0.16s;
}
.cat-card:nth-child(4) {
  transition-delay: 0.24s;
}

/* ══ TESTIMONIALS ═══════════════════════════════════ */
#testimonials {
  background: var(--navy);
}
.testi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 52px;
}
.testi-card {
  background: var(--navy2);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 4px;
  padding: 28px;
  opacity: 0;
  transform: translateY(36px);
  transition:
    opacity 0.55s,
    transform 0.55s cubic-bezier(0.22, 0.68, 0, 1.2);
}
.testi-card.revealed {
  opacity: 1;
  transform: translateY(0);
}
.testi-card:nth-child(2) {
  transition-delay: 0.1s;
}
.testi-card:nth-child(3) {
  transition-delay: 0.2s;
}
.testi-stars {
  color: var(--gold);
  font-size: 0.9rem;
  margin-bottom: 14px;
}
.testi-quote {
  font-size: 0.9rem;
  color: rgba(245, 240, 232, 0.8);
  line-height: 1.75;
  margin-bottom: 20px;
  font-style: italic;
}
.testi-author {
  font-size: 0.8rem;
  color: var(--sub);
}
.testi-author strong {
  color: var(--cream);
  font-style: normal;
  display: block;
}

/* ══ CTA ════════════════════════════════════════════ */
#cta {
  background: linear-gradient(135deg, var(--slate) 0%, #1a3a5c 100%);
  padding: 80px 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
#cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' xmlns='http://www.w3.org/2000/svg'%3E%3Crect x='29.5' y='29.5' width='1' height='1' fill='rgba(255,255,255,0.06)'/%3E%3C/svg%3E");
}
.cta-content {
  position: relative;
}
.cta-title {
  font-family: "Playfair Display", serif;
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  color: var(--white);
  margin-bottom: 14px;
}
.cta-sub {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 36px;
}
.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}
.btn-primary {
  background: var(--gold);
  color: var(--navy);
  padding: 16px 36px;
  border: none;
  border-radius: 2px;
  font-family: "Inter", sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition:
    background 0.2s,
    transform 0.2s;
  text-decoration: none;
}
.btn-primary:hover {
  background: var(--gold-lt);
  transform: translateY(-2px);
}
.btn-outline {
  background: transparent;
  color: var(--white);
  padding: 16px 36px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 2px;
  font-family: "Inter", sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition:
    border-color 0.2s,
    background 0.2s;
  text-decoration: none;
}
.btn-outline:hover {
  border-color: rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.06);
}

/* ══ OWNER CONTACT FORM ══════════════════════════════*/
#list-property {
  background: var(--navy2);
  padding: 100px 60px;
  position: relative;
  overflow: hidden;
}
#list-property::before {
  content: "";
  position: absolute;
  top: -120px;
  right: -120px;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(201, 168, 76, 0.07) 0%,
    transparent 70%
  );
  pointer-events: none;
}
.lp-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
  position: relative;
}
.lp-perks {
  list-style: none;
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.lp-perks li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.88rem;
  color: var(--sub);
  line-height: 1.55;
}
.lp-perk-icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(201, 168, 76, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 10px;
  margin-top: 1px;
}
.lp-form-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(201, 168, 76, 0.18);
  border-radius: 6px;
  padding: 40px 36px;
  opacity: 0;
  transform: translateX(40px);
  transition:
    opacity 0.7s,
    transform 0.7s cubic-bezier(0.22, 0.68, 0, 1.2);
}
.lp-form-card.revealed {
  opacity: 1;
  transform: translateX(0);
}
.lp-form-title {
  font-family: "Playfair Display", serif;
  font-size: 1.35rem;
  color: var(--white);
  margin-bottom: 6px;
}
.lp-form-sub {
  font-size: 0.82rem;
  color: var(--sub);
  margin-bottom: 28px;
}
.form-row {
  display: flex;
  gap: 14px;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-bottom: 16px;
  flex: 1;
}
.form-group label {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--sub);
}
.form-group input,
.form-group select,
.form-group textarea {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 2px;
  padding: 12px 14px;
  font-family: "Inter", sans-serif;
  font-size: 0.88rem;
  color: var(--cream);
  outline: none;
  transition: border-color 0.2s;
  width: 100%;
}
.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(255, 255, 255, 0.2);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: rgba(201, 168, 76, 0.5);
}
.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='7' viewBox='0 0 12 7'%3E%3Cpath d='M1 1l5 5 5-5' stroke='rgba(90,122,148,0.8)' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  cursor: pointer;
}
.form-group select option {
  background: #132236;
  color: var(--cream);
}
.form-group textarea {
  resize: vertical;
  min-height: 90px;
}
.form-submit {
  width: 100%;
  background: var(--gold);
  color: var(--navy);
  border: none;
  padding: 15px;
  border-radius: 2px;
  font-family: "Inter", sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition:
    background 0.2s,
    transform 0.2s;
  margin-top: 4px;
}
.form-submit:hover {
  background: var(--gold-lt);
  transform: translateY(-1px);
}
