/*
Theme Name: Résidence Nael
Description: Thème one-page de la Résidence Nael, Saint-Sulpice (VD). Dérivé du thème Trinity Prilly.
Version: 1.0.0
Author: Justin Cappelle
Text Domain: residence-nael
*/

:root {
  --white: #fff;
  --black: #1a1a1a;
  --dark: #2C2C2C;
  --gold: #29694F;
  --green-dark: #1F4F3C;
  --green-soft: #EEF3F0;
  --gray: #888888;
  --gray-light: #999;
  --gray-bar: #616667;
  --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;
}

*, *::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: 'Hanken Grotesk', sans-serif;
  color: var(--black);
  background: var(--white);
}

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

ul {
  list-style: none;
}

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

.navbar {
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  padding: 0 80px;
}

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

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

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

.navbar-tagline {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-left: 28px;
}

.navbar-tagline-separator {
  display: none;
}

.navbar-tagline-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.navbar-tagline-main {
  font-size: 13px;
  font-weight: 500;
  color: var(--dark);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  line-height: 1.3;
}

.navbar-tagline-sub {
  font-size: 12px;
  font-weight: 300;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.navbar-links {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-left: auto;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  text-decoration: none;
  opacity: 0.7;
  transition: opacity 0.3s;
}

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

.nav-link-num {
  font-size: 11px;
  font-weight: 600;
  color: var(--gold);
  line-height: 1;
}

.nav-link-text {
  font-size: 13px;
  font-weight: 600;
  color: #616667;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  line-height: 1;
}

.navbar-separator {
  width: 1px;
  height: 28px;
  background: #ddd;
  flex-shrink: 0;
  margin: 0 20px;
}

.navbar-cta {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--black);
  color: var(--white);
  cursor: pointer;
  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;
}

.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: var(--black);
  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: var(--white);
}

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

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

.mobile-menu {
  position: fixed;
  top: 0; right: 0; bottom: 0; left: 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: var(--white);
}

.mobile-menu-close span {
  position: absolute;
  width: 18px;
  height: 1.5px;
  background: var(--white);
  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: var(--white);
  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: var(--white);
}

.mobile-menu-socials {
  display: flex;
  gap: 10px;
  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: var(--white);
}

.hero {
  width: 100%;
  padding-bottom: 20px;
}

.hero-image {
  position: relative;
  width: 100%;
  min-height: calc(100vh - 140px);
  min-height: calc(100svh - 140px);
  border-radius: 32px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-carousel {
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
}

.hero-slide {
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 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;
  top: 0; right: 0; bottom: 0; left: 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: relative;
  z-index: 2;
  padding: 40px 60px;
  width: 80%;
  color: var(--white);
}

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

.hero-seal {
  position: absolute;
  top: 40px;
  right: 40px;
  z-index: 2;
  width: 132px;
  height: 132px;
  transform: rotate(-8deg);
  filter: drop-shadow(0 6px 18px rgba(0, 0, 0, 0.25));
  animation: seal-in 0.9s cubic-bezier(0.16, 1, 0.3, 1) 1s both;
}

@keyframes seal-in {
  0% { opacity: 0; transform: rotate(-20deg) scale(0.85); }
  100% { opacity: 1; transform: rotate(-8deg) scale(1); }
}

.hero-seal-text {
  font-family: 'Hanken Grotesk', sans-serif;
  font-size: 10.5px;
  font-weight: 600;
  fill: var(--white);
}

.hero-subtitle {
  font-size: clamp(14px, 1.2vw, 18px);
  font-weight: 300;
  line-height: 1.6;
  color: var(--white);
  margin-bottom: 28px;
  max-width: 700px;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--white);
  color: var(--black);
  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: var(--white);
  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;
}

.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: var(--white);
}

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

.stat-label {
  font-size: 16px;
  font-weight: 300;
  color: var(--white);
}

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

.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: var(--white);
  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: var(--black);
}

.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: var(--black);
}

.agent-icon {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  color: var(--gold);
}

.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 {
  background: var(--white);
  padding: 80px 0 0;
}

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

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

.architect-right {
  flex: 1;
  position: relative;
}

.architect-title {
  font-size: 36px;
  font-weight: 500;
  letter-spacing: 0.01em;
  line-height: 1.1;
  color: var(--dark);
  text-transform: uppercase;
}

.architect-quote-icon {
  position: absolute;
  top: -20px;
  left: -16px;
  width: 80px;
  height: 80px;
  opacity: 0.08;
  pointer-events: none;
}

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

.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: var(--gray);
  text-transform: uppercase;
  letter-spacing: 2px;
}

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

.services {
  width: 100%;
  padding: 80px 0;
}

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

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 0;
  background: none;
  border: none;
  border-radius: 0;
  font-size: 14px;
  font-weight: 600;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 24px;
}

.section-tag::before {
  content: '';
  display: inline-block;
  width: 3px;
  height: 18px;
  background: var(--gray-bar);
  border-radius: 0;
  flex-shrink: 0;
}

.section-heading {
  font-size: 36px;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.1;
  color: var(--dark);
  margin-bottom: 16px;
}

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

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

.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: var(--gold);
  margin-bottom: 16px;
}

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

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

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

.services-link:hover {
  gap: 10px;
  border-color: var(--gray);
}

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

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

.services-info-slide .property-plan-btn {
  margin-top: 24px;
}

.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;
  top: 0; right: 0; bottom: 0; left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  -webkit-clip-path: inset(0 100% 0 0);
  clip-path: inset(0 100% 0 0);
  transition: -webkit-clip-path 0.6s cubic-bezier(0.76, 0, 0.24, 1), clip-path 0.6s cubic-bezier(0.76, 0, 0.24, 1);
}

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

.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: var(--white);
  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: var(--black);
  line-height: 1;
}

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

.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 {
  display: none;
}

.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;
  cursor: pointer;
}

.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: var(--white);
  color: var(--dark);
  font-size: 14px;
  font-weight: var(--fw-text);
  padding: 8px 16px;
  border-radius: 100px;
}

.property-badge--reserved {
  background: var(--dark);
  color: var(--white);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.tag-reserved {
  display: inline-block;
  vertical-align: middle;
  margin-left: 12px;
  background: var(--dark);
  color: var(--white);
  font-size: 12px;
  font-weight: var(--fw-text);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 100px;
  line-height: 1.2;
}

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

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

.property-location-icon {
  width: 14px;
  height: 14px;
  color: var(--gold);
}

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

.property-stats {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 14px;
  font-weight: var(--fw-text);
  color: var(--gray);
  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: var(--dark);
}

.property-plan-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  padding: 8px 16px;
  font-family: 'Hanken Grotesk', sans-serif;
  font-size: 13px;
  font-weight: 500;
  color: var(--gold);
  text-decoration: none;
  border: 1px solid var(--gold);
  border-radius: var(--radius);
  transition: background 0.2s, color 0.2s;
}

.property-plan-btn:hover {
  background: var(--gold);
  color: var(--white);
}

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

.properties-brochure {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 48px;
}

.properties-brochure-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  font-family: 'Hanken Grotesk', sans-serif;
  font-size: 16px;
  font-weight: 500;
  color: var(--black);
  text-decoration: none;
  border: 1px solid #1a1a1a;
  border-radius: var(--radius);
  transition: background 0.2s, color 0.2s;
}

.properties-brochure-link:hover {
  background: var(--black);
  color: var(--white);
}

.properties-calc-link {
  background: var(--green-dark);
  color: var(--white);
  border-color: var(--green-dark);
}

.properties-calc-link:hover {
  background: #163a2c;
  color: var(--white);
}

.properties-calc-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.properties-calc-disclaimer {
  font-size: 12px;
  font-weight: 300;
  font-style: italic;
  color: var(--gray);
  margin-top: 6px;
}

.properties-brochure-icon,
.properties-brochure-arrow {
  width: 18px;
  height: 18px;
}

.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: var(--green-soft);
  border-radius: 20px;
  padding: 40px 32px;
  text-align: left;
}

.why-choose-icon {
  width: 60px;
  height: 60px;
  padding: 16px;
  background: var(--white);
  border-radius: 50%;
  color: var(--gold);
  margin-bottom: 24px;
}

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

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

.gallery {
  width: 100%;
  padding: 80px 0;
}

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

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  display: block;
}


.gallery-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);
}

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

.gallery-disclaimer {
  display: flex;
  justify-content: flex-start;
  font-size: 14px;
  font-weight: 400;
  color: var(--dark);
  margin-top: 16px;
  font-style: italic;
}

.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%;
  position: relative;
  min-height: 480px;
  background: var(--green-soft);
}

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

.situation-map iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.situation-address {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: var(--fs-text-desktop);
  font-weight: var(--fw-title);
  color: var(--dark);
}

.situation-address i,
.situation-address svg {
  width: 20px;
  height: 20px;
  color: var(--gold);
  flex-shrink: 0;
}

.situation-list li > div {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.situation-list strong {
  font-weight: var(--fw-title);
}

.situation-list small {
  font-size: 15px;
  color: var(--gray);
  line-height: 1.5;
}

.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: var(--black);
  margin-bottom: 20px;
}

.situation-group-icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  color: var(--gold);
}

.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: var(--dark);
  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: var(--black);
  white-space: nowrap;
}

.faq {
  padding: 80px 0;
}

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

.faq-left {
  flex: 0 0 30%;
  position: -webkit-sticky;
  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: 'Hanken Grotesk', sans-serif;
  font-size: 26px;
  font-weight: var(--fw-title);
  color: var(--dark);
  text-align: left;
  gap: 20px;
}

.faq-icon {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  color: var(--gold);
  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: var(--gray);
  line-height: 1.6;
}

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

.contact-sky {
  background: #29694F;
  padding: 100px 80px;
}

.contact .section-tag {
  color: var(--white);
}

.contact .section-tag::before {
  background: rgba(255, 255, 255, 0.5);
}

.contact-heading {
  color: var(--white);
}

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

.contact-agent {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  margin: 40px auto 0;
  padding: 28px 40px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  max-width: 480px;
  text-align: center;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.contact-agent-photo {
  position: relative;
  flex-shrink: 0;
}

.contact-agent-photo img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(255, 255, 255, 0.15);
}

.contact-agent-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.contact-agent-name {
  font-size: 18px;
  font-weight: 600;
  color: var(--white);
}

.contact-agent-role {
  font-size: 12px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}

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

.contact-agent-links a {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: color 0.2s;
}

.contact-agent-links a:hover {
  color: var(--white);
}

.contact-agent-logo {
  margin-top: 16px;
  display:block;
}

.contact-agent-icon {
  width: 13px;
  height: 13px;
  color: rgba(255, 255, 255, 0.8);
}

.contact-form {
  position: relative;
  z-index: 2;
  margin: 0;
  background: var(--white);
  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: 600px;
  overflow: hidden;
}

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

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

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

.contact-input {
  flex: 1;
  border: none;
  border-bottom: 1px solid #e0e0e0;
  padding: 16px 0;
  font-family: 'Hanken Grotesk', sans-serif;
  font-size: 16px;
  font-weight: var(--fw-text);
  color: var(--black);
  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: var(--black);
}

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

.contact-calc-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  font-family: 'Hanken Grotesk', sans-serif;
  font-size: 15px;
  font-weight: 500;
  color: var(--white);
  text-decoration: none;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: var(--radius);
  transition: background 0.2s, border-color 0.2s;
  margin-top: 16px;
  margin-bottom: 8px;
}

.contact-calc-link:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.5);
}

.contact-calc-link svg {
  width: 18px;
  height: 18px;
}

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

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

.contact-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.contact-status {
  padding: 14px 20px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.5;
  text-align: center;
}

.contact-status-success {
  background: rgba(34, 139, 34, 0.08);
  color: #1a7a1a;
  border: 1px solid rgba(34, 139, 34, 0.15);
}

.contact-status-error {
  background: rgba(220, 60, 60, 0.08);
  color: #b33;
  border: 1px solid rgba(220, 60, 60, 0.15);
}

.footer {
  background: var(--black);
  color: var(--white);
  padding: 80px 80px 40px;
}

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

.footer-top {
  display: grid;
  grid-template-columns: 1.6fr 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: var(--gray-light);
  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: var(--gray-light);
  transition: border-color 0.2s, color 0.2s;
}

.footer-social:hover {
  border-color: var(--white);
  color: var(--white);
}

.footer-contact-col {
  display: flex;
  flex-direction: column;
}

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

.footer-contact-role {
  font-size: 13px;
  font-weight: var(--fw-text);
  color: var(--gray-light);
  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-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: var(--white);
}

.footer-contact-link:hover {
  color: var(--white);
}

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

.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--lg {
  height: 36px;
}

.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;
}

.footer-bottom {
  text-align: center;
}

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

@media (max-width: 1500px) {
  .navbar-tagline {
    display: none;
  }

  .navbar-links {
    display: none;
  }

  .navbar-separator {
    display: none;
  }

  .navbar-cta {
    display: none;
  }

  .navbar-hamburger {
    display: flex;
  }
}

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

  .navbar {
    padding: 0 40px;
  }

  .architect {
    padding: 48px 0 0;
  }

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

  .hero {
    padding-bottom: 16px;
  }

  .hero-content {
    width: 100%;
    padding-left: 40px;
    padding-right: 40px;
  }

  .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);
  }

  .gallery {
    padding: 48px 0;
  }

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

  .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;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }

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

  .contact-form {
    padding: 24px;
  }

  .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;
    justify-content: flex-end;
  }

  .hero-content {
    width: auto;
    padding: 24px;
    padding-top: 60px;
  }

  .hero-seal {
    top: 16px;
    right: 16px;
    width: 88px;
    height: 88px;
  }

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

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

  .hero-stats {
    gap: 16px;
    flex-wrap: wrap;
  }

  .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: var(--white);
    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;
    min-height: 320px;
  }

  .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);
  }
}

.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(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

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

.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); }
}

[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);
}

[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; }

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

[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);
}

/* ─── Property Modals ─── */

.prop-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.prop-modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.prop-modal {
  background: var(--white);
  border-radius: 20px;
  overflow: hidden;
  max-width: 520px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  transform: translateY(20px) scale(0.97);
  transition: transform 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.25);
}

.prop-modal-overlay.active .prop-modal {
  transform: translateY(0) scale(1);
}

.prop-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 2;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.prop-modal-close:hover {
  background: var(--white);
  transform: scale(1.1);
}

.prop-modal-close svg {
  width: 18px;
  height: 18px;
  color: var(--dark);
}

.prop-modal-img {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.prop-modal-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.prop-modal-img .property-badge {
  top: 16px;
  left: 16px;
  right: auto;
}

.prop-modal-body {
  padding: 28px 28px 32px;
}

.prop-modal-ref {
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gold);
  margin-bottom: 8px;
  display: block;
}

.prop-modal-title {
  font-size: 22px;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 4px;
}

.prop-modal-price {
  font-size: 20px;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: 24px;
}

.prop-modal-specs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 20px;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid #eee;
}

.prop-modal-spec {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 400;
  color: var(--dark);
}

.prop-modal-spec svg {
  width: 16px;
  height: 16px;
  color: var(--gold);
  flex-shrink: 0;
}

.prop-modal-desc {
  font-size: 14px;
  font-weight: 300;
  line-height: 1.6;
  color: #666;
  margin-bottom: 24px;
}

.prop-modal-actions {
  display: flex;
  gap: 12px;
  margin-bottom: 20px;
}

.prop-modal-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 20px;
  background: var(--dark);
  color: var(--white);
  border-radius: 12px;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: background 0.2s ease, transform 0.2s ease;
  cursor: pointer;
}

.prop-modal-btn:hover {
  background: #1a1a1a;
  transform: translateY(-1px);
}

.prop-modal-btn svg {
  width: 16px;
  height: 16px;
}

.prop-modal-btn-outline {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 20px;
  background: transparent;
  color: var(--dark);
  border: 1px solid #ddd;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
  cursor: pointer;
}

.prop-modal-btn-outline:hover {
  border-color: var(--gold);
  background: rgba(41, 105, 79, 0.05);
  transform: translateY(-1px);
}

.prop-modal-btn-outline svg {
  width: 16px;
  height: 16px;
}

.prop-modal-contact {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding-top: 16px;
  border-top: 1px solid #eee;
  text-align: center;
}

.prop-modal-contact span {
  font-size: 13px;
  font-weight: 500;
  color: var(--dark);
}

.prop-modal-contact a {
  font-size: 13px;
  font-weight: 400;
  color: var(--gold);
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.prop-modal-contact a:hover {
  opacity: 0.7;
}

@media (max-width: 768px) {
  .prop-modal-overlay {
    padding: 16px;
    align-items: flex-end;
  }

  .prop-modal {
    max-height: 85vh;
    border-radius: 20px 20px 0 0;
    max-width: 100%;
    transform: translateY(100%);
  }

  .prop-modal-overlay.active .prop-modal {
    transform: translateY(0);
  }

  .prop-modal-body {
    padding: 20px 20px 28px;
  }

  .prop-modal-specs {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .prop-modal-actions {
    flex-direction: column;
  }

  .prop-modal-title {
    font-size: 20px;
  }

  .prop-modal-price {
    font-size: 18px;
  }
}

@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;
  }
}

/* ─── Résidence Nael : contenus à venir ─── */

.placeholder-media {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  height: 100%;
  min-height: 100%;
  padding: 24px;
  background:
    repeating-linear-gradient(135deg, rgba(41, 105, 79, 0.06) 0 12px, transparent 12px 24px),
    var(--green-soft);
  color: var(--gold);
  text-align: center;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.placeholder-media i,
.placeholder-media svg {
  width: 28px;
  height: 28px;
}

.marquee-item .placeholder-media,
.gallery-item .placeholder-media {
  position: absolute;
  inset: 0;
}

.is-pending {
  opacity: 0.55;
  cursor: not-allowed;
  pointer-events: none;
}

.pending-note {
  font-size: 12px;
  font-weight: 300;
  font-style: italic;
  color: var(--gray);
  margin-top: 6px;
}

.hero-cta.is-pending {
  opacity: 0.6;
}

.price-note {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  font-weight: var(--fw-text);
  color: var(--gray);
}

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

.property-status {
  position: absolute;
  top: 16px;
  left: 16px;
  background: var(--gold);
  color: var(--white);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 100px;
}

.enosi-intro {
  margin-top: 80px;
  padding-top: 80px;
  border-top: 1px solid #e5e5e5;
}

.enosi-intro-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 40px;
}

.enosi-intro-logo {
  width: 150px;
  height: auto;
}

.enosi-intro-cta {
  background: var(--gold);
  color: var(--white);
}

.enosi-intro-cta:hover {
  background: var(--green-dark);
}

.agent-logo {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: var(--green-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  padding: 12px;
}

.agent-logo img {
  width: 100%;
  height: auto;
}

.contact-agent-logo-img {
  width: 140px;
  height: auto;
  margin-top: 16px;
}

.contact-agent-people {
  display: flex;
  gap: 24px;
  margin-top: 8px;
  font-size: 13px;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.85);
}

.contact-agent-people a {
  color: inherit;
}

.contact-select {
  -webkit-appearance: none;
  appearance: none;
  cursor: pointer;
  background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23888' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right center;
}

.contact-select:invalid {
  color: #bbb;
}

.contact-actions {
  display: flex;
  gap: 12px;
}

.contact-actions .contact-submit {
  flex: 1;
}

.contact-submit--outline {
  background: transparent;
  color: var(--black);
  border: 1px solid var(--black);
}

.contact-submit--outline:hover {
  background: var(--black);
  color: var(--white);
}

.footer-legal {
  font-size: 12px;
  font-weight: var(--fw-text);
  color: var(--gray-light);
  line-height: 1.6;
  max-width: 820px;
  margin: 0 auto 12px;
}

.footer-partner-logo--z2 {
  height: 40px;
}

@media (max-width: 1024px) {
  .properties-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .properties-grid {
    grid-template-columns: 1fr;
  }

  .enosi-intro {
    margin-top: 48px;
    padding-top: 48px;
  }

  .contact-actions {
    flex-direction: column;
  }
}

.services-img.placeholder-media {
  position: absolute;
}

/* ─── Icônes Hugeicons (police) ─── */

.hgi-stroke {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  flex-shrink: 0;
}

.agent-icon, .property-location-icon, .property-plan-icon, .footer-contact-icon { font-size: 14px; }
.contact-agent-icon { font-size: 15px; }
.services-link-icon, .property-stat-icon,
.prop-modal-spec .hgi-stroke, .prop-modal-btn .hgi-stroke, .prop-modal-btn-outline .hgi-stroke { font-size: 17px; color: inherit; }
.prop-modal-spec .hgi-stroke { color: var(--gold); }
.prop-modal-close .hgi-stroke { font-size: 18px; color: var(--dark); }
.properties-brochure-icon, .properties-brochure-arrow { font-size: 18px; }
.situation-group-icon, .situation-address .hgi-stroke { font-size: 22px; }
.faq-icon, .placeholder-media .hgi-stroke { font-size: 28px; }
.tab-arrow { font-size: 35px; }
.services-icon { font-size: 40px; }
.why-choose-icon { font-size: 28px; }
.architect-quote-icon { font-size: 80px; color: var(--gold); }

/* ─── Situation pleine largeur ─── */

.situation-header .section-text {
  max-width: none;
}

/* ─── Contact ─── */

.contact-grid {
  max-width: 1760px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 96px;
  align-items: start;
}

.contact-intro .contact-heading {
  font-size: 44px;
  line-height: 1.05;
}

.contact-intro .contact-subtitle {
  max-width: none;
  margin: 20px 0 0;
  color: rgba(255, 255, 255, 0.85);
}

.contact-intro .contact-agent {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 24px;
  max-width: none;
  margin: 48px 0 0;
  padding: 32px;
  text-align: left;
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.16);
}

.contact-agent-head {
  display: flex;
  align-items: center;
  gap: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.contact-agent-head > div {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.contact-agent-head .contact-agent-logo-img {
  width: 150px;
  margin: 0;
}

.contact-agent-head .contact-agent-role {
  margin: 0;
}

.contact-intro .contact-agent-links {
  flex-wrap: wrap;
  gap: 12px 32px;
}

.contact-intro .contact-agent-links a {
  font-size: 16px;
  color: var(--white);
}

.contact-intro .contact-agent-people {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 0;
}

.contact-person {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 16px 20px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.08);
  transition: background 0.2s;
}

.contact-person:hover {
  background: rgba(255, 255, 255, 0.14);
}

.contact-person-name {
  font-size: 15px;
  font-weight: 600;
  color: var(--white);
}

.contact-person-phone {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.8);
}

.contact-form-title {
  font-size: var(--fs-title-desktop);
  font-weight: var(--fw-title);
  color: var(--dark);
}

.contact-img::before {
  height: 220px;
}

@media (max-width: 1200px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

}

@media (max-width: 768px) {
  .contact-sky {
    padding: 56px 20px;
  }

  .contact-intro .contact-heading {
    font-size: 28px;
  }

  .contact-intro .contact-agent {
    padding: 24px;
  }

  .contact-agent-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .contact-intro .contact-agent-people {
    grid-template-columns: 1fr;
  }
}
