/*
Theme Name: Trinity Prilly
Theme URI: https://trinity-lausanne.ch
Author: deRham Immobilier SA
Author URI: https://www.derham.ch
Description: Landing page pour la résidence Trinity à Prilly — 3 appartements neufs en PPE.
Version: 1.0.0
License: All Rights Reserved
Text Domain: trinity-prilly
*/

/* ========== MAINTENANCE GATE ========== */
#maintenance-gate {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
}

.maintenance-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  max-width: 400px;
  width: 90%;
  text-align: center;
}

.maintenance-logo {
  width: 180px;
  margin-bottom: 8px;
}

.maintenance-title {
  font-family: 'Geist', sans-serif;
  font-size: 28px;
  font-weight: 600;
  color: #1a1a1a;
}

.maintenance-text {
  font-family: 'Geist', sans-serif;
  font-size: 16px;
  font-weight: 300;
  color: #666;
}

.maintenance-form {
  display: flex;
  gap: 10px;
  width: 100%;
}

.maintenance-input {
  flex: 1;
  padding: 12px 16px;
  font-family: 'Geist', sans-serif;
  font-size: 16px;
  border: 1px solid #ddd;
  border-radius: var(--radius);
  outline: none;
  transition: border-color 0.2s;
}

.maintenance-input:focus {
  border-color: #1a1a1a;
}

.maintenance-btn {
  padding: 12px 28px;
  font-family: 'Geist', sans-serif;
  font-size: 16px;
  font-weight: 500;
  color: #fff;
  background: #1a1a1a;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background 0.2s;
  white-space: nowrap;
}

.maintenance-btn:hover {
  background: #333;
}

.maintenance-error {
  font-family: 'Geist', sans-serif;
  font-size: 14px;
  color: #e53e3e;
  min-height: 20px;
}

/* ========== VARIABLES ========== */
:root {
  --fs-title-desktop: 26px;
  --fs-title-tablet: 24px;
  --fs-title-mobile: 18px;
  --fs-text-desktop: 18px;
  --fs-text-tablet: 18px;
  --fs-text-mobile: 16px;
  --fw-title: 600;
  --fw-text: 300;
  --radius: 32px;
}

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

html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: 'Geist', sans-serif;
  color: #1a1a1a;
  background: #fff;
}

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

ul {
  list-style: none;
}

/* ========== PAGE ========== */
.page {
  max-width: 1920px;
  margin: 0 auto;
  padding: 0 80px;
}

/* ========== NAVBAR ========== */
.navbar {
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
  padding: 0 80px;
}

.navbar-inner {
  max-width: 1920px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

/* Logo */
.navbar-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-img {
  height: 48px;
  width: auto;
}

/* Nav links */
.navbar-links {
  display: flex;
  align-items: center;
  gap: 40px;
}

.nav-link {
  font-size: 18px;
  font-weight: 300;
  color: #2C2C2C;
  overflow: hidden;
  display: block;
  height: 22px;
  cursor: pointer;
  opacity: 0.75;
  transition: opacity 0.35s;
}

.nav-link span {
  display: block;
  line-height: 22px;
  transition: transform 0.35s cubic-bezier(0.76, 0, 0.24, 1);
}

.nav-link span::after {
  content: attr(data-text);
  display: block;
  line-height: 22px;
}

.nav-link:hover {
  opacity: 1;
}

.nav-link:hover span {
  transform: translateY(-22px);
}

/* CTA button */
.navbar-cta {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #1a1a1a;
  color: #fff;
  padding: 10px 10px 10px 20px;
  border-radius: 100px;
  font-size: 0.9rem;
  font-weight: 500;
  transition: background 0.2s;
}

.navbar-cta:hover {
  background: #333;
}

.cta-dot {
  width: 8px;
  height: 8px;
  background: #22c55e;
  border-radius: 50%;
  flex-shrink: 0;
}

.cta-text {
  white-space: nowrap;
}

.cta-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* Hamburger (hidden on desktop) */
.navbar-hamburger {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 1001;
  position: relative;
}

.navbar-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: #1a1a1a;
  border-radius: 2px;
  transition: transform 0.4s cubic-bezier(0.76, 0, 0.24, 1), opacity 0.3s, background 0.3s;
  transform-origin: center;
}

.navbar-hamburger.active span {
  background: #fff;
}

.navbar-hamburger.active span:first-child {
  transform: translateY(4px) rotate(45deg);
}

.navbar-hamburger.active span:last-child {
  transform: translateY(-4px) rotate(-45deg);
}

/* ========== MOBILE MENU ========== */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: #111;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s cubic-bezier(0.76, 0, 0.24, 1), visibility 0.5s;
}

.mobile-menu.open {
  opacity: 1;
  visibility: visible;
}

.mobile-menu-close {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 44px;
  height: 44px;
  background: none;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.3s;
}

.mobile-menu-close:hover {
  border-color: #fff;
}

.mobile-menu-close span {
  position: absolute;
  width: 18px;
  height: 1.5px;
  background: #fff;
  border-radius: 1px;
}

.mobile-menu-close span:first-child {
  transform: rotate(45deg);
}

.mobile-menu-close span:last-child {
  transform: rotate(-45deg);
}

.mobile-menu-inner {
  width: 100%;
  max-width: 480px;
  padding: 0 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
}

.mobile-menu-nav {
  display: flex;
  flex-direction: column;
  gap: 0;
  flex: 1;
  justify-content: center;
}

.mobile-menu-link {
  display: flex;
  align-items: baseline;
  gap: 16px;
  text-decoration: none;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  transform: translateY(30px);
  opacity: 0;
  transition: transform 0.6s cubic-bezier(0.76, 0, 0.24, 1), opacity 0.6s cubic-bezier(0.76, 0, 0.24, 1);
}

.mobile-menu.open .mobile-menu-link {
  transform: translateY(0);
  opacity: 1;
}

.mobile-menu.open .mobile-menu-link:nth-child(1) { transition-delay: 0.1s; }
.mobile-menu.open .mobile-menu-link:nth-child(2) { transition-delay: 0.15s; }
.mobile-menu.open .mobile-menu-link:nth-child(3) { transition-delay: 0.2s; }
.mobile-menu.open .mobile-menu-link:nth-child(4) { transition-delay: 0.25s; }
.mobile-menu.open .mobile-menu-link:nth-child(5) { transition-delay: 0.3s; }

.mobile-menu-index {
  font-size: 12px;
  font-weight: 400;
  color: #555;
  font-variant-numeric: tabular-nums;
  min-width: 24px;
}

.mobile-menu-text {
  font-size: 36px;
  font-weight: 500;
  color: #fff;
  letter-spacing: -0.5px;
  transition: color 0.3s;
}

.mobile-menu-link:hover .mobile-menu-text {
  color: #888;
}

.mobile-menu-footer {
  padding: 32px 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transform: translateY(20px);
  opacity: 0;
  transition: transform 0.6s cubic-bezier(0.76, 0, 0.24, 1) 0.35s, opacity 0.6s cubic-bezier(0.76, 0, 0.24, 1) 0.35s;
}

.mobile-menu.open .mobile-menu-footer {
  transform: translateY(0);
  opacity: 1;
}

.mobile-menu-contact {
  font-size: 14px;
  font-weight: 300;
  color: #666;
  text-decoration: none;
  transition: color 0.2s;
}

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

.mobile-menu-socials {
  display: flex;
  gap: 20px;
  margin-top: 12px;
}

.mobile-menu-socials a {
  font-size: 12px;
  font-weight: 400;
  color: #444;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: color 0.2s;
}

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

/* ========== HERO ========== */
.hero {
  width: 100%;
  height: calc(100vh - 120px);
  padding-bottom: 20px;
}

.hero-image {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 32px;
  overflow: hidden;
}

.hero-carousel {
  position: absolute;
  inset: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: 0;
  transition: opacity 1.2s ease;
  transform: scale(1);
}

.hero-slide.active {
  opacity: 1;
  animation: kenburns 6s ease forwards;
}

@keyframes kenburns {
  0% { transform: scale(1); }
  100% { transform: scale(1.08); }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.8) 0%,
    rgba(0, 0, 0, 0.5) 50%,
    rgba(0, 0, 0, 0.2) 100%
  );
}

.hero-content {
  position: absolute;
  top: 50%;
  left: 60px;
  transform: translateY(-50%);
  width: 60%;
  color: #fff;
}

.hero-content h1 {
  font-size: 80px;
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.01em;
  margin-bottom: 20px;
  text-transform: uppercase;
}

.hero-subtitle {
  font-size: 18px;
  font-weight: 300;
  line-height: 1.6;
  color: #fff;
  margin-bottom: 28px;
  max-width: 700px;
}

/* Hero CTA */
.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  color: #1a1a1a;
  padding: 10px 10px 10px 24px;
  border-radius: 100px;
  font-size: 0.9rem;
  font-weight: 300;
  cursor: pointer;
  transition: background 0.2s;
  margin-bottom: 40px;
}

.hero-ctas {
  display: flex;
  gap: 12px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.hero-cta {
  margin-bottom: 0;
}

.hero-cta:hover {
  background: #f0f0f0;
}

.hero-cta--outline {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.4);
}

.hero-cta--outline:hover {
  background: rgba(255, 255, 255, 0.15);
}

.hero-cta-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Stats */
.hero-stats {
  display: flex;
  gap: 48px;
}

.hero-stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.stat-number {
  font-size: 48px;
  font-weight: 300;
  line-height: 1;
  color: #fff;
}

.stat-number sup {
  font-size: 0.5em;
  font-weight: 300;
  vertical-align: super;
}

.stat-label {
  font-size: 16px;
  font-weight: 300;
  color: #fff;
}

.hero-corner-top-right {
  position: absolute;
  top: 0;
  right: 0;
  width: 32px;
  height: 32px;
  z-index: 2;
  transform: rotate(180deg);
}

/* Agents badge */
.hero-agents-wrapper {
  position: absolute;
  bottom: 0;
  right: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.hero-corner-top {
  display: block;
  width: 32px;
  height: 32px;
  margin-left: auto;
}

.hero-agents-row {
  display: flex;
  align-items: flex-end;
}

.hero-corner-bottom-left {
  display: block;
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  align-self: flex-end;
  transform: rotate(180deg);
}

.hero-agents {
  display: flex;
  align-items: center;
  gap: 16px;
  background: #fff;
  padding: 16px 20px 0 16px;
  border-top-left-radius: 32px;
}

.agent-avatar {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.agent-details {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.agent-role {
  font-size: 12px;
  font-weight: var(--fw-text);
  color: #666;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.agent-name {
  font-size: 16px;
  font-weight: 600;
  color: #1a1a1a;
}

.agent-contact a {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 300;
  color: #555;
  transition: color 0.2s;
  min-height: 28px;
  padding: 2px 0;
}

.agent-details {
  gap: 0;
}

.agent-contact a:hover {
  color: #1a1a1a;
}

.agent-icon {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

/* ========== MARQUEE ========== */
.marquee {
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  overflow: hidden;
  padding: 40px 0;
  -webkit-mask-image: linear-gradient(
    to right,
    transparent 0%,
    black 8%,
    black 92%,
    transparent 100%
  );
  mask-image: linear-gradient(
    to right,
    transparent 0%,
    black 8%,
    black 92%,
    transparent 100%
  );
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee-scroll 30s linear infinite;
}

.marquee-track:hover {
  animation-play-state: paused;
}

.marquee-slide {
  display: flex;
  gap: 20px;
  padding-right: 20px;
}

.marquee-item {
  flex-shrink: 0;
  width: 420px;
  height: 280px;
  border-radius: 16px;
  overflow: hidden;
}

.marquee-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.marquee-item:hover img {
  transform: scale(1.05);
}

@keyframes marquee-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ========== ARCHITECT ========== */
.architect {
  background: #fff;
  padding: 80px 0 0;
}

.architect-layout {
  display: flex;
  gap: 80px;
  align-items: flex-start;
}

.architect-left {
  flex: 0 0 42%;
}

.architect-right {
  flex: 1;
}

.architect-title {
  font-size: 42px;
  font-weight: var(--fw-text);
  font-style: italic;
  color: #2C2C2C;
  line-height: 1.3;
}

.architect-quote {
  font-size: var(--fs-text-desktop);
  font-weight: var(--fw-text);
  color: #888888;
  line-height: 1.8;
  margin-bottom: 20px;
}

.architect-footer {
  margin-top: 48px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.architect-logo {
  height: 36px;
  width: auto;
  opacity: 0.8;
}

.architect-author {
  font-size: 12px;
  font-weight: 500;
  color: #888888;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.architect-author span {
  margin: 0 8px;
  color: #ccc;
}

/* ========== SERVICES ========== */
.services {
  width: 100%;
  padding: 80px 0;
}

.services-header {
  margin-bottom: 60px;
}

.section-tag {
  display: inline-block;
  padding: 8px 20px;
  background: #f5f5f5;
  border: 1px solid #e5e5e5;
  border-radius: 100px;
  font-size: 14px;
  font-weight: var(--fw-text);
  color: #2C2C2C;
  margin-bottom: 24px;
}

.section-heading {
  font-size: 36px;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.1;
  color: #2C2C2C;
  margin-bottom: 16px;
}

.section-text {
  font-size: var(--fs-text-desktop);
  font-weight: var(--fw-text);
  color: #2C2C2C;
  line-height: 1.6;
  max-width: 700px;
}

.services-showcase {
  display: flex;
  align-items: stretch;
  height: 500px;
  position: relative;
}

/* Left info */
.services-info {
  flex: 0 0 30%;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-right: 40px;
  padding-bottom: 20px;
}

.services-info-slide {
  position: absolute;
  bottom: 20px;
  left: 0;
  right: 40px;
  opacity: 0;
  pointer-events: none;
}

.services-info-slide.active {
  opacity: 1;
  pointer-events: auto;
}

.services-icon {
  width: 40px;
  height: 40px;
  color: #1a1a1a;
  margin-bottom: 16px;
}

.services-title {
  font-size: var(--fs-title-desktop);
  font-weight: var(--fw-title);
  color: #1a1a1a;
  margin-bottom: 12px;
}

.services-desc {
  font-size: var(--fs-text-desktop);
  font-weight: var(--fw-text);
  color: #2C2C2C;
  line-height: 1.6;
}

.services-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  font-size: var(--fs-text-desktop);
  font-weight: var(--fw-title);
  color: #2C2C2C;
  text-decoration: none;
  border-bottom: 1.5px solid #2C2C2C;
  padding-bottom: 4px;
  transition: gap 0.3s ease, border-color 0.3s ease;
}

.services-link:hover {
  gap: 10px;
  border-color: #888888;
}

.services-link-icon {
  width: 16px;
  height: 16px;
  transition: transform 0.3s ease;
}

.services-link:hover .services-link-icon {
  transform: translate(2px, -2px);
}

/* Center image — 80% of the 70% right part = 56% total */
.services-image-wrapper {
  flex: 0 0 50%;
  position: relative;
  height: 100%;
}

.services-image {
  display: block;
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: var(--radius);
  overflow: hidden;
}

.services-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  clip-path: inset(0 100% 0 0);
  transition: clip-path 0.6s cubic-bezier(0.76, 0, 0.24, 1);
}

.services-img.active {
  clip-path: inset(0 0 0 0);
}

/* Image label (bottom-right concave) */
.services-image-label-wrapper {
  position: absolute;
  bottom: 0;
  right: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.services-corner-top {
  display: block;
  width: 32px;
  height: 32px;
}

.services-image-label-row {
  display: flex;
  align-items: flex-end;
}

.services-corner-left {
  display: block;
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  align-self: flex-end;
  transform: rotate(180deg);
}

.services-image-label {
  background: #fff;
  padding: 16px 24px 0 20px;
  border-top-left-radius: var(--radius);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.label-number {
  font-size: 36px;
  font-weight: var(--fw-text);
  color: #1a1a1a;
  line-height: 1;
}

.label-text {
  font-size: 14px;
  font-weight: var(--fw-title);
  color: #1a1a1a;
}

/* Tab ordering handled by JS via style.order */

.services-tab {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  padding: 20px 16px;
  border-right: 1px solid #c7c7c7;
  cursor: pointer;
  color: #c7c7c7;
  flex: 0 0 10%;
}

.tab-arrow {
  width: 35px;
  height: 35px;
  flex-shrink: 0;
}

.tab-text {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  display: flex;
  align-items: center;
  gap: 12px;
  white-space: nowrap;
}

.tab-number {
  font-size: 48px;
  font-weight: var(--fw-text);
  line-height: 1;
}

.tab-name {
  font-size: var(--fs-title-desktop);
  font-weight: var(--fw-title);
  text-transform: uppercase;
}

/* ========== SERVICES MOBILE ========== */
.services-mobile {
  display: none;
}

/* ========== PROPERTIES ========== */
.properties {
  padding: 80px 0;
}

.properties-header {
  margin-bottom: 60px;
}

.properties-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.property-card {
  text-decoration: none;
  color: inherit;
  display: block;
}

.property-img {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 16px;
}

.property-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.property-card:hover .property-img img {
  transform: scale(1.05);
}

.property-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  background: #fff;
  color: #2C2C2C;
  font-size: 14px;
  font-weight: var(--fw-text);
  padding: 8px 16px;
  border-radius: 100px;
}

.property-info {
  padding: 4px 0;
}

.property-location {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 14px;
  font-weight: var(--fw-text);
  color: #2C2C2C;
  margin-bottom: 8px;
}

.property-location-icon {
  width: 14px;
  height: 14px;
}

.property-name {
  font-size: var(--fs-title-desktop);
  font-weight: var(--fw-title);
  color: #2C2C2C;
  margin-bottom: 12px;
}

.property-stats {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 14px;
  font-weight: var(--fw-text);
  color: #888888;
  margin-bottom: 12px;
}

.property-stats span {
  display: flex;
  align-items: center;
  gap: 6px;
}

.property-stat-icon {
  width: 16px;
  height: 16px;
}

.property-price {
  font-size: var(--fs-text-desktop);
  font-weight: var(--fw-title);
  color: #2C2C2C;
}

/* ========== WHY CHOOSE US ========== */
.why-choose {
  width: 100%;
  padding: 80px 0;
  text-align: center;
}

.why-choose-header {
  margin-bottom: 60px;
}

.why-choose-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.why-choose-card {
  background: #f5f5f5;
  border-radius: 20px;
  padding: 40px 32px;
  text-align: left;
}

.why-choose-icon {
  width: 60px;
  height: 60px;
  padding: 16px;
  background: #fff;
  border-radius: 50%;
  color: #1a1a1a;
  margin-bottom: 24px;
}

.why-choose-title {
  font-size: var(--fs-title-desktop);
  font-weight: var(--fw-title);
  color: #2C2C2C;
  margin-bottom: 12px;
}

.why-choose-desc {
  font-size: var(--fs-text-desktop);
  font-weight: var(--fw-text);
  color: #2C2C2C;
  line-height: 1.6;
}

/* ========== SITUATION ========== */
.situation {
  width: 100%;
  padding: 80px 0;
}

.situation-header {
  margin-bottom: 60px;
}

.situation-content {
  display: flex;
  gap: 0;
  align-items: stretch;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid #e5e5e5;
}

.situation-map {
  flex: 0 0 55%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  overflow: hidden;
  cursor: zoom-in;
}

.situation-details-wrapper {
  flex: 1;
  background: #f5f5f5;
}

.situation-map img {
  width: 100%;
  max-width: 500px;
  height: auto;
  display: block;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  transform-origin: var(--zoom-x, 50%) var(--zoom-y, 50%);
}

.situation-map:hover img {
  transform: scale(1.8);
}

.situation-details {
  display: flex;
  flex-direction: column;
  gap: 40px;
  padding: 48px;
  justify-content: center;
}

.situation-group-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: var(--fs-title-desktop);
  font-weight: var(--fw-title);
  color: #1a1a1a;
  margin-bottom: 20px;
}

.situation-group-icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

.situation-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.situation-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: var(--fs-text-desktop);
  font-weight: var(--fw-text);
  color: #2C2C2C;
  padding-bottom: 14px;
  border-bottom: 1px solid #e0e0e0;
}

.situation-list li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.situation-time {
  font-weight: var(--fw-title);
  color: #1a1a1a;
  white-space: nowrap;
}

/* FAQ */
.faq {
  padding: 80px 0;
}

.faq-layout {
  display: flex;
  gap: 80px;
}

.faq-left {
  flex: 0 0 30%;
  position: sticky;
  top: 120px;
  align-self: flex-start;
}

.faq-right {
  flex: 1;
}

.faq-item {
  border-bottom: 1px solid #888888;
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 28px 0;
  background: none;
  border: none;
  cursor: pointer;
  font-family: 'Geist', sans-serif;
  font-size: 26px;
  font-weight: var(--fw-title);
  color: #2C2C2C;
  text-align: left;
  gap: 20px;
}

.faq-icon {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  color: #888888;
  transition: transform 0.3s ease;
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.faq-answer p {
  padding-bottom: 28px;
  font-size: var(--fs-text-desktop);
  font-weight: var(--fw-text);
  color: #888888;
  line-height: 1.6;
}

/* ========== CONTACT ========== */
.contact {
  width: 100vw;
  margin-left: calc(-50vw + 50%);
}

.contact-sky {
  background: #028FD3;
  padding: 80px 80px 0;
  text-align: center;
}

.contact .section-tag {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.4);
  color: #fff;
}

.contact-heading {
  color: #fff;
}

.contact-subtitle {
  font-size: var(--fs-text-desktop);
  font-weight: var(--fw-text);
  color: #fff;
  line-height: 1.6;
  max-width: 600px;
  margin: 16px auto 0;
}

.contact-form {
  position: relative;
  z-index: 2;
  max-width: 680px;
  margin: 40px auto -200px;
  background: #fff;
  border-radius: 24px;
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  text-align: left;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

.contact-img {
  position: relative;
  width: 100%;
  height: 900px;
  overflow: hidden;
}

.contact-img::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 150px;
  background: linear-gradient(to bottom, #028FD3, transparent);
  z-index: 1;
  pointer-events: none;
}

.contact-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.contact-row {
  display: flex;
  gap: 24px;
}

.contact-input {
  flex: 1;
  border: none;
  border-bottom: 1px solid #e0e0e0;
  padding: 16px 0;
  font-family: 'Geist', sans-serif;
  font-size: 16px;
  font-weight: var(--fw-text);
  color: #1a1a1a;
  background: transparent;
  outline: none;
  transition: border-color 0.2s;
}

.contact-input::placeholder,
.contact-textarea::placeholder {
  color: #bbb;
}

.contact-input:focus,
.contact-textarea:focus {
  border-color: #1a1a1a;
}

.contact-textarea {
  width: 100%;
  border: none;
  border-bottom: 1px solid #e0e0e0;
  padding: 16px 0;
  font-family: 'Geist', sans-serif;
  font-size: 16px;
  font-weight: var(--fw-text);
  color: #1a1a1a;
  background: transparent;
  outline: none;
  resize: vertical;
  min-height: 100px;
  transition: border-color 0.2s;
}

.contact-submit {
  width: 100%;
  padding: 18px;
  background: #1a1a1a;
  color: #fff;
  border: none;
  border-radius: 100px;
  font-family: 'Geist', sans-serif;
  font-size: 16px;
  font-weight: var(--fw-title);
  cursor: pointer;
  transition: background 0.2s;
}

.contact-submit:hover {
  background: #333;
}

/* ========== FOOTER ========== */
.footer {
  background: #1a1a1a;
  color: #fff;
  padding: 80px 80px 40px;
}

.footer-inner {
  max-width: 1920px;
  margin: 0 auto;
}

/* Top row: brand + nav + 2 contacts */
.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.footer-brand {
  display: flex;
  flex-direction: column;
}

.footer-logo-img {
  height: 48px;
  filter: brightness(0) invert(1);
  margin-bottom: 20px;
}

.footer-tagline {
  font-size: 14px;
  font-weight: var(--fw-text);
  color: #999;
  line-height: 1.7;
  margin-bottom: 24px;
}

.footer-socials {
  display: flex;
  gap: 10px;
}

.footer-social {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid #444;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #999;
  transition: border-color 0.2s, color 0.2s;
}

.footer-social:hover {
  border-color: #fff;
  color: #fff;
}

/* Contact columns */
.footer-contact-col {
  display: flex;
  flex-direction: column;
}

.footer-col-title {
  font-size: 14px;
  font-weight: var(--fw-title);
  color: #fff;
  margin-bottom: 4px;
}

.footer-contact-role {
  font-size: 13px;
  font-weight: var(--fw-text);
  color: #999;
  margin-bottom: 16px;
}

.footer-contact-link {
  font-size: 14px;
  font-weight: var(--fw-text);
  color: #aaa;
  text-decoration: none;
  line-height: 1.4;
  padding: 8px 0;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: color 0.2s;
}

.footer-contact-icon {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  opacity: 0.6;
}

/* Footer nav */
.footer-nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.footer-nav-list a {
  font-size: 14px;
  font-weight: var(--fw-text);
  color: #aaa;
  text-decoration: none;
  padding: 6px 0;
  display: block;
  transition: color 0.2s;
}

.footer-nav-list a:hover {
  color: #fff;
}

.footer-contact-link:hover {
  color: #fff;
}

/* Divider */
.footer-divider {
  height: 1px;
  background: #333;
  margin: 40px 0;
}

/* Partners */
.footer-partners-section {}

.footer-partners-label {
  font-size: 11px;
  font-weight: 500;
  color: #888;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 24px;
}

.footer-partners-grid {
  display: flex;
  align-items: flex-start;
  gap: 48px;
}

.footer-partner {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-partner-label {
  font-size: 11px;
  font-weight: var(--fw-text);
  color: #888;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.footer-partner-link {
  opacity: 0.7;
  transition: opacity 0.3s;
}

.footer-partner-link:hover {
  opacity: 1;
}

.footer-partner-logo {
  height: 24px;
  width: auto;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.7;
  transition: opacity 0.3s;
}

.footer-partner-logo:hover {
  opacity: 1;
}

.footer-partner-logo--dark {
  filter: brightness(0) invert(0.7);
  opacity: 1;
}

.footer-partner-logo--dark:hover {
  filter: brightness(0) invert(1);
}

.footer-partner-logos {
  display: flex;
  align-items: center;
  gap: 20px;
}

/* Bottom */
.footer-bottom {
  text-align: center;
}

.footer-copy {
  font-size: 12px;
  font-weight: var(--fw-text);
  color: #999;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
  .page {
    padding: 0 40px;
  }

  .navbar {
    padding: 0 40px;
  }

  .navbar-links {
    gap: 24px;
  }

  .architect {
    padding: 48px 0 0;
  }

  .architect-title {
    font-size: 34px;
  }

  .hero {
    padding-bottom: 16px;
  }

  .hero-content {
    left: 40px;
  }

  .hero-content h1 {
    font-size: 64px;
  }

  .hero-subtitle {
    font-size: 18px;
  }

  .hero-stats {
    gap: 32px;
  }

  .services {
    padding: 48px 0;
  }

  .services-title {
    font-size: var(--fs-title-tablet);
  }

  .services-desc,
  .section-text {
    font-size: var(--fs-text-tablet);
  }

  .services-info {
    flex: 0 0 28%;
    padding-right: 24px;
  }

  .tab-number {
    font-size: 48px;
  }

  .tab-name {
    font-size: var(--fs-title-tablet);
  }

  .section-heading {
    font-size: 32px;
  }

  .properties {
    padding: 48px 0;
  }

  .property-name {
    font-size: var(--fs-title-tablet);
  }

  .property-price {
    font-size: var(--fs-text-tablet);
  }

  .why-choose {
    padding: 48px 0;
  }

  .why-choose-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .situation {
    padding: 48px 0;
  }

  .situation-map {
    flex: 0 0 50%;
  }

  .situation-details {
    padding: 40px;
  }

  .faq {
    padding: 48px 0;
  }

  .faq-question {
    font-size: 24px;
  }
}

@media (max-width: 768px) {
  .page {
    padding: 0 20px;
  }

  .navbar {
    padding: 0 20px;
  }

  .architect {
    padding: 40px 0 0;
  }

  .architect-layout {
    flex-direction: column;
    gap: 32px;
  }

  .architect-title {
    font-size: 28px;
  }

  .marquee {
    padding: 24px 0;
  }

  .marquee-item {
    width: 300px;
    height: 200px;
  }

  .marquee-slide {
    gap: 12px;
    padding-right: 12px;
  }

  .contact-sky {
    padding: 40px 20px 0;
  }

  .contact-form {
    padding: 24px;
    margin-bottom: -150px;
  }

  .contact-img {
    height: 400px;
  }

  .contact-row {
    flex-direction: column;
    gap: 24px;
  }

  .footer {
    padding: 48px 20px 32px;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-partners-grid {
    flex-wrap: wrap;
    gap: 24px;
  }

  .navbar-links a {
    font-size: 16px;
  }

  .navbar-links {
    display: none;
  }

  .navbar-cta {
    display: none;
  }

  .navbar-hamburger {
    display: flex;
  }

  .hero {
    padding-bottom: 12px;
  }

  .hero-image {
    border-radius: 16px;
  }

  .hero-content {
    left: 24px;
    width: auto;
    right: 24px;
  }

  .hero-content h1 {
    font-size: 36px;
  }

  .hero-subtitle {
    font-size: 16px;
  }

  .stat-number {
    font-size: 36px;
  }

  .stat-label {
    font-size: 14px;
  }

  .hero-stats {
    gap: 24px;
  }

  .hero-agents-wrapper {
    display: none;
  }

  .services {
    padding: 40px 0;
  }

  .services-showcase {
    display: none;
  }

  .services-mobile {
    display: flex;
    flex-direction: column;
    gap: 40px;
  }

  .services-mobile-item {
    display: flex;
    flex-direction: column;
  }

  .services-mobile-img-wrap {
    position: relative;
    width: 100%;
    height: 300px;
    border-radius: 20px;
    overflow: hidden;
  }

  .services-mobile-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }

  .services-mobile-label {
    position: absolute;
    bottom: 0;
    right: 0;
    background: #fff;
    padding: 12px 16px 0 16px;
    border-top-left-radius: 20px;
    display: flex;
    flex-direction: column;
    gap: 2px;
  }

  .services-mobile-label .label-number {
    font-size: 28px;
    color: #c7c7c7;
  }

  .services-mobile-label .label-text {
    font-size: 13px;
    color: #c7c7c7;
  }

  .services-mobile-info {
    padding: 20px 0;
  }

  .services-mobile-info-head {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
  }

  .services-mobile-info-head .services-icon {
    margin-bottom: 0;
  }

  .services-title {
    font-size: var(--fs-title-mobile);
  }

  .services-desc,
  .section-text {
    font-size: var(--fs-text-mobile);
  }

  .section-heading {
    font-size: 22px;
  }

  .properties {
    padding: 40px 0;
  }

  .properties-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .property-name {
    font-size: var(--fs-title-mobile);
  }

  .property-price {
    font-size: var(--fs-text-mobile);
  }

  .why-choose {
    padding: 40px 0;
  }

  .why-choose-grid {
    grid-template-columns: 1fr;
  }

  .why-choose-card {
    text-align: center;
    align-items: center;
    display: flex;
    flex-direction: column;
  }

  .why-choose-icon {
    width: 44px;
    height: 44px;
    padding: 10px;
    margin-bottom: 16px;
  }

  .why-choose-title {
    font-size: var(--fs-title-mobile);
  }

  .why-choose-desc {
    font-size: var(--fs-text-mobile);
  }

  .situation {
    padding: 40px 0;
  }

  .situation-content {
    flex-direction: column;
    gap: 0;
  }

  .situation-map {
    flex: none;
  }

  .situation-details {
    padding: 24px;
  }

  .faq {
    padding: 40px 0;
  }

  .faq-layout {
    flex-direction: column;
    gap: 40px;
  }

  .faq-left {
    position: static;
  }

  .faq-question {
    font-size: 18px;
    padding: 20px 0;
  }

  .faq-icon {
    width: 22px;
    height: 22px;
  }

  .faq-answer p {
    padding-bottom: 20px;
    font-size: var(--fs-text-mobile);
  }
}

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

/* Hero intro — dezoom */
.hero-image {
  animation: hero-dezoom 1.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes hero-dezoom {
  0% {
    transform: scale(1.15);
    opacity: 0;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

.hero-content {
  animation: hero-content-in 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.4s both;
}

@keyframes hero-content-in {
  0% {
    opacity: 0;
    transform: translateY(-40%) translateX(-20px);
  }
  100% {
    opacity: 1;
    transform: translateY(-50%) translateX(0);
  }
}

.hero-agents-wrapper {
  animation: fade-up 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.8s both;
}

/* Navbar fade in */
.navbar {
  animation: fade-down 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.2s both;
}

@keyframes fade-down {
  0% { opacity: 0; transform: translateY(-10px); }
  100% { opacity: 1; transform: translateY(0); }
}

/* Scroll reveal base */
[data-reveal] {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-reveal].revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger children */
[data-reveal-stagger] > * {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-reveal-stagger].revealed > * {
  opacity: 1;
  transform: translateY(0);
}

[data-reveal-stagger].revealed > *:nth-child(1) { transition-delay: 0s; }
[data-reveal-stagger].revealed > *:nth-child(2) { transition-delay: 0.08s; }
[data-reveal-stagger].revealed > *:nth-child(3) { transition-delay: 0.16s; }
[data-reveal-stagger].revealed > *:nth-child(4) { transition-delay: 0.24s; }
[data-reveal-stagger].revealed > *:nth-child(5) { transition-delay: 0.32s; }
[data-reveal-stagger].revealed > *:nth-child(6) { transition-delay: 0.40s; }

/* Fade up keyframe for reuse */
@keyframes fade-up {
  0% { opacity: 0; transform: translateY(24px); }
  100% { opacity: 1; transform: translateY(0); }
}

/* Scale in for images */
[data-reveal="scale"] {
  opacity: 0;
  transform: scale(0.95);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-reveal="scale"].revealed {
  opacity: 1;
  transform: scale(1);
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  [data-reveal], [data-reveal-stagger] > * {
    opacity: 1 !important;
    transform: none !important;
  }
}
