﻿/*
Theme Name: AMV Theme
Theme URI: https://atlasmountainview.com
Author: Atlas Mountain View
Author URI: https://atlasmountainview.com
Description: Atlas Mountain View — Residences & Resort. Premium real estate theme for Marrakech.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 8.0
License: All Rights Reserved
License URI: https://atlasmountainview.com
Text Domain: amv-theme
Tags: real-estate, luxury, full-width-template, custom-colors, custom-menu
*/

/* ==========================================================================
   AMV — style.css
   Brand: #5f7e5d (Green) · White · #f7f7f5 (Off-white bg)
   Font: Barlow Condensed (headings/nav) · Barlow (body)
   Elementor-compatible: all rules are scoped to AMV classes,
   no overrides of Elementor's own selectors.
   ========================================================================== */

/* ── Reset & Custom Properties ──────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:          #f7f7f5;
  --cream:       #f0f0ed;
  --black:       #1a1a18;
  --green:       #5f7e5d;
  --green-dark:  #4a6348;
  --green-light: #7a9e78;
  --terra:       #5f7e5d;
  --terra-dark:  #4a6348;
  --sage:        #5f7e5d;
  --sage-dark:   #4a6348;
  --white:       #ffffff;
  --nav-h:       64px;

  --font-cond:   'Barlow Condensed', 'Arial Narrow', sans-serif;
  --font-body:   'Barlow', system-ui, sans-serif;

  --ease:        cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-out:    cubic-bezier(0.16, 1, 0.3, 1);
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--black);
  overflow-x: hidden;
  line-height: 1.5;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { display: block; max-width: 100%; }
button { cursor: pointer; }

/* ── NAV ────────────────────────────────────────────────────────────────── */
.amv-nav-wrap {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  padding: 0 36px;
  background: #5f7e5d;
  border-bottom: 1px solid rgba(255,255,255,0.12);
  transition: background 0.35s var(--ease), border-color 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.amv-nav-wrap.scrolled {
  box-shadow: 0 2px 24px rgba(0,0,0,0.15);
}

/* Homepage Transparent Nav at scroll top */
.amv-home .amv-nav-wrap {
  background: transparent;
  border-bottom-color: rgba(255,255,255,0.08);
}
.amv-home .amv-nav-wrap.scrolled {
  background: #5f7e5d;
  border-bottom-color: rgba(255,255,255,0.12);
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.amv-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.amv-nav-logo {
  display: flex;
  align-items: center;
  color: #fff;
  transition: opacity 0.2s;
}
.amv-nav-logo:hover { opacity: 0.7; }
.amv-nav-logo img {
  height: 56px;
  width: auto;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.amv-nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.amv-nav-link {
  font-family: var(--font-cond);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.85);
  position: relative;
  transition: color 0.2s;
}
.amv-nav-link::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0;
  width: 0; height: 2px;
  background: #fff;
  transition: width 0.3s var(--ease);
}
.amv-nav-link:hover { color: #fff; }
.amv-nav-link:hover::after { width: 100%; }
.amv-nav-link--active { color: #fff; }
.amv-nav-link--active::after { width: 100%; }

.amv-nav-sep {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.3);
  user-select: none;
}

.amv-nav-cta {
  background: #fff;
  color: #5f7e5d !important;
  padding: 9px 20px;
  font-family: var(--font-cond);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: background 0.2s;
}
.amv-nav-cta:hover { background: rgba(255,255,255,0.85) !important; color: #4a6348 !important; }
.amv-nav-cta::after { display: none !important; }

/* Hamburger */
.amv-nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 4px;
}
.amv-nav-burger span {
  display: block;
  width: 22px; height: 1.5px;
  background: #fff;
  transition: transform 0.35s var(--ease), opacity 0.2s;
}
.amv-nav-burger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.amv-nav-burger.open span:nth-child(2) { transform: translateY(-6.5px) rotate(-45deg); }

/* ── MOBILE OVERLAY ──────────────────────────────────────────────────────── */
.amv-mob-overlay {
  position: fixed;
  inset: 0;
  background: rgba(26, 26, 24, 0.98);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  z-index: 250;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s var(--ease-out), visibility 0.4s var(--ease-out);
  pointer-events: none;
}
.amv-mob-overlay.open {
  opacity: 1;
  visibility: visible;
  pointer-events: all;
}

/* Container to center and align nicely */
.amv-mob-container {
  width: 100%;
  height: 100%;
  padding: 40px 32px 48px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-sizing: border-box;
  overflow-y: auto;
  position: relative;
  z-index: 2;
}

/* Watermark */
.amv-mob-ghost {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  z-index: 1;
}
.amv-mob-ghost img {
  width: 65%;
  height: auto;
  opacity: 0.025;
  filter: brightness(0) invert(1);
}

.amv-mob-header-logo {
  text-align: left;
  margin-bottom: 24px;
}
.amv-mob-header-logo img {
  height: 48px;
  width: auto;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.amv-mob-close {
  position: absolute;
  top: 36px; right: 32px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  opacity: 0.85;
  transition: background 0.3s, border-color 0.3s, transform 0.3s;
  z-index: 260;
  cursor: pointer;
}
.amv-mob-close:hover {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.25);
  transform: rotate(90deg);
}

.amv-mob-links {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 32px;
  margin-bottom: 40px;
}
.amv-mob-link {
  font-family: var(--font-cond);
  font-size: clamp(2rem, 8vw, 3.2rem);
  font-weight: 800;
  letter-spacing: 0.02em;
  color: #fff;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 16px;
  opacity: 0;
  transform: translateX(-16px);
  transition: opacity 0.4s var(--ease) calc(var(--mi, 0) * 50ms + 250ms),
              transform 0.4s var(--ease) calc(var(--mi, 0) * 50ms + 250ms),
              color 0.2s;
  line-height: 1.1;
  text-decoration: none;
}
.amv-mob-overlay.open .amv-mob-link {
  opacity: 1;
  transform: translateX(0);
}
.amv-mob-num {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--green);
  opacity: 0.7;
  letter-spacing: 0.08em;
  border: 1px solid rgba(95,126,93,0.3);
  padding: 2px 6px;
  border-radius: 2px;
  line-height: 1;
}

.amv-mob-links li:nth-child(1) .amv-mob-link { --mi: 0; }
.amv-mob-links li:nth-child(2) .amv-mob-link { --mi: 1; }
.amv-mob-links li:nth-child(3) .amv-mob-link { --mi: 2; }
.amv-mob-links li:nth-child(4) .amv-mob-link { --mi: 3; }
.amv-mob-links li:nth-child(5) .amv-mob-link { --mi: 4; }
.amv-mob-links li:nth-child(6) .amv-mob-link { --mi: 5; }

.amv-mob-link:hover { color: var(--green); }

/* Mobile Footer Info Panel */
.amv-mob-footer {
  margin-top: auto;
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.5s var(--ease) 550ms, transform 0.5s var(--ease) 550ms;
}
.amv-mob-overlay.open .amv-mob-footer {
  opacity: 1;
  transform: translateY(0);
}
.amv-mob-footer__title {
  font-family: var(--font-body);
  font-size: 0.6rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  font-weight: 600;
}
.amv-mob-footer__phone {
  font-family: var(--font-cond);
  font-size: 1.35rem;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
}
.amv-mob-footer__email {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 300;
  color: rgba(255,255,255,0.5);
  text-decoration: none;
}
.amv-mob-socials {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 16px;
}
.amv-mob-social-link {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 400;
  color: rgba(255,255,255,0.4);
  text-decoration: none;
  transition: color 0.2s;
  letter-spacing: 0.04em;
}
.amv-mob-social-link:hover {
  color: #fff;
}
.amv-mob-social-sep {
  font-size: 0.6rem;
  color: rgba(255,255,255,0.15);
  user-select: none;
}

/* ═══════════════════════════════════════════════════════════════════════════
   HOME PAGE — FULLSCREEN SLIDER
   ═══════════════════════════════════════════════════════════════════════════ */
.amv-slider {
  position: relative;
  width: 100%;
  height: 100svh;
  overflow: hidden;
  background: var(--black);
}
.amv-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.9s var(--ease);
  will-change: opacity;
}
.amv-slide.active { opacity: 1; z-index: 2; }
.amv-slide.prev   { opacity: 0; z-index: 1; }

.amv-slide-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.amv-slide-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(26, 26, 24, 0.45) 0%,
    rgba(26, 26, 24, 0) 25%,
    rgba(26, 26, 24, 0) 75%,
    rgba(26, 26, 24, 0.55) 100%
  );
  z-index: 1;
  pointer-events: none;
}
.amv-slide-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 38%;
  transition: transform 8s linear;
  transform: scale(1.06);
}
.amv-slide.active .amv-slide-img { transform: scale(1); }

/* Info bar */
.amv-slide-bar {
  position: absolute;
  left: 50%;
  top: 75%;
  transform: translate(-50%, -50%);
  z-index: 10;
  display: grid;
  grid-template-columns: 80px 1fr 80px;
  align-items: center;
  gap: 0;
  width: min(480px, 90vw);
  padding: 16px 20px;
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}
.amv-slide-bar--terra { background: var(--terra); }
.amv-slide-bar--sage  { background: var(--sage);  }

.amv-slide-bar__ms {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  overflow: hidden;
}
.amv-slide-bar__ms img {
  height: 26px;
  width: auto;
  object-fit: contain;
  filter: invert(1);
  opacity: 0.15;
}

.amv-slide-bar__left {
  display: flex;
  flex-direction: column;
  gap: 4px;
  position: relative;
  z-index: 1;
}
.amv-slide-bar__right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
  position: relative;
  z-index: 1;
}

.amv-bar-name {
  font-family: var(--font-cond);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--black);
  letter-spacing: 0.02em;
  line-height: 1;
}
.amv-bar-location {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 400;
  color: var(--black);
  opacity: 0.7;
  letter-spacing: 0.04em;
}
.amv-bar-arrow {
  font-size: 0.9rem;
  color: var(--black);
  line-height: 1;
}
.amv-bar-type {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 400;
  color: var(--black);
  opacity: 0.7;
  letter-spacing: 0.04em;
}
.amv-bar-year {
  font-family: var(--font-cond);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--black);
  letter-spacing: 0.06em;
}

a.amv-slide-bar {
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
a.amv-slide-bar:hover {
  transform: translate(-50%, calc(-50% - 6px));
  box-shadow: 0 12px 40px rgba(0,0,0,0.2);
}

/* Slider dots */
.amv-slider-dots {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 20;
  display: flex;
  gap: 8px;
}
.amv-slider-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  border: none;
  padding: 0;
  transition: background 0.3s, transform 0.3s;
  cursor: pointer;
}
.amv-slider-dot.active {
  background: var(--white);
  transform: scale(1.3);
}

/* Slider arrows */
.amv-slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 20;
  background: rgba(237,231,222,0.25);
  border: 1px solid rgba(255,255,255,0.3);
  color: var(--white);
  width: 44px; height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.25s, opacity 0.25s;
  opacity: 0;
}
.amv-slider:hover .amv-slider-arrow { opacity: 1; }
.amv-slider-arrow:hover { background: rgba(237,231,222,0.5); }
.amv-slider-arrow--prev { left: 20px; }
.amv-slider-arrow--next { right: 20px; }

/* ── STATS BAR ──────────────────────────────────────────────────────────── */
.amv-stats-bar {
  background: var(--green);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  position: relative;
}
.amv-stats-bar::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: rgba(255,255,255,0.18);
}
.amv-stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 48px 24px 44px;
  text-align: center;
  position: relative;
  transition: background .3s;
}
.amv-stat-item::after {
  content: '';
  position: absolute;
  right: 0; top: 28%; bottom: 28%;
  width: 1px;
  background: rgba(255,255,255,0.15);
}
.amv-stat-item:last-child::after { display: none; }
.amv-stat-item:hover { background: rgba(0,0,0,0.07); }
.amv-stat-item__num {
  font-family: var(--font-cond);
  font-size: clamp(2.6rem, 4vw, 4rem);
  font-weight: 900;
  color: #fff;
  letter-spacing: -0.02em;
  line-height: 1;
  display: block;
}
.amv-stat-item__line {
  display: block;
  width: 28px;
  height: 1px;
  background: rgba(255,255,255,0.35);
  margin: 16px auto 13px;
  transition: width .4s ease;
}
.amv-stat-item:hover .amv-stat-item__line { width: 52px; }
.amv-stat-item__label {
  font-family: var(--font-body);
  font-size: 0.6rem;
  font-weight: 500;
  color: rgba(255,255,255,0.6);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  display: block;
}

/* ── SECTION LABEL ──────────────────────────────────────────────────────── */
.amv-section-label {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--green);
  display: block;
  margin-bottom: 12px;
}

/* ── SECTION BASE ────────────────────────────────────────────────────────── */
.amv-section {
  padding: 96px 64px;
  background: var(--white);
}
.amv-section--alt   { background: var(--bg); }
.amv-section--dark  { background: var(--black); color: #fff; }
.amv-section--green { background: var(--green); color: #fff; }

.amv-section__inner {
  max-width: 1200px;
  margin: 0 auto;
}
.amv-section__heading {
  font-family: var(--font-cond);
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 900;
  color: var(--black);
  letter-spacing: -0.01em;
  line-height: 1;
  margin-bottom: 20px;
}
.amv-section--dark .amv-section__heading,
.amv-section--green .amv-section__heading { color: #fff; }

.amv-section__sub {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 300;
  color: rgba(26,26,24,0.65);
  line-height: 1.7;
  max-width: 560px;
}
.amv-section--dark .amv-section__sub  { color: rgba(255,255,255,0.6); }
.amv-section--green .amv-section__sub { color: rgba(255,255,255,0.75); }

.amv-section-hr {
  width: 48px;
  border: none;
  border-top: 3px solid #5f7e5d;
  margin: 20px 0 24px;
}
.amv-section-hr--center {
  margin-left: auto;
  margin-right: auto;
}

/* ── TWO-COLUMN LAYOUT ──────────────────────────────────────────────────── */
.amv-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.amv-two-col--flip { direction: rtl; }
.amv-two-col--flip > * { direction: ltr; }

/* ── CHECKLIST ──────────────────────────────────────────────────────────── */
.amv-checklist {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 28px;
}
.amv-checklist li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--black);
}
.amv-checklist li::before {
  content: '✓';
  color: var(--green);
  font-weight: 700;
  font-size: 0.85rem;
  flex-shrink: 0;
  margin-top: 2px;
}
.amv-checklist li strong { font-weight: 600; display: block; }
.amv-checklist li span   { opacity: 0.65; font-size: 0.82rem; }

/* ── CTA BUTTONS ────────────────────────────────────────────────────────── */
.amv-btn-green {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--green);
  color: #fff;
  font-family: var(--font-cond);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 14px 28px;
  border: none;
  text-decoration: none;
  transition: background 0.25s var(--ease), transform 0.2s;
  cursor: pointer;
}
.amv-btn-green:hover { background: var(--green-dark); transform: translateY(-1px); }

.amv-btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--green);
  font-family: var(--font-cond);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 13px 28px;
  border: 2px solid var(--green);
  text-decoration: none;
  transition: background 0.25s, color 0.25s;
  cursor: pointer;
}
.amv-btn-outline:hover { background: var(--green); color: #fff; }

/* ── EQUIPMENT Q&A ACCORDION ────────────────────────────────────────────── */
.amv-equip-qa-section { padding: 96px 0; background: var(--white); }

.amv-equip-qa-wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 48px;
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 80px;
  align-items: start;
}
.amv-equip-qa-header {
  position: sticky;
  top: calc(var(--nav-h) + 32px);
}
.amv-equip-qa-header .amv-section__heading {
  text-align: left;
  margin-top: 16px;
  font-size: clamp(2rem, 3.5vw, 3rem);
  line-height: 1.05;
}

.amv-equip-qa { border-top: 1px solid rgba(26,26,24,0.15); }
.amv-equip-qa__item { border-bottom: 1px solid rgba(26,26,24,0.12); }

.amv-equip-qa__q {
  display: flex;
  align-items: center;
  width: 100%;
  background: none;
  border: none;
  padding: 30px 0;
  cursor: pointer;
  gap: 20px;
  text-align: left;
  transition: opacity 0.2s;
}
.amv-equip-qa__q:hover { opacity: 0.7; }

.amv-equip-qa__num {
  font-family: var(--font-cond);
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--green);
  letter-spacing: 0.12em;
  flex-shrink: 0;
  min-width: 28px;
}
.amv-equip-qa__label {
  font-family: var(--font-cond);
  font-size: clamp(1.15rem, 1.8vw, 1.5rem);
  font-weight: 800;
  color: var(--black);
  letter-spacing: -0.01em;
  line-height: 1.15;
  flex: 1;
}
.amv-equip-qa__toggle {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border: 1px solid rgba(26,26,24,0.2);
  border-radius: 50%;
  position: relative;
  transition: background 0.25s, border-color 0.25s;
}
.amv-equip-qa__toggle span {
  position: absolute;
  background: var(--black);
  border-radius: 2px;
  transition: transform 0.3s cubic-bezier(0.16,1,0.3,1), opacity 0.3s;
}
.amv-equip-qa__toggle span:first-child {
  width: 10px; height: 1.5px;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
}
.amv-equip-qa__toggle span:last-child {
  width: 1.5px; height: 10px;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
}
.amv-equip-qa__item.open .amv-equip-qa__toggle {
  background: var(--black);
  border-color: var(--black);
}
.amv-equip-qa__item.open .amv-equip-qa__toggle span { background: #fff; }
.amv-equip-qa__item.open .amv-equip-qa__toggle span:last-child {
  transform: translate(-50%, -50%) rotate(90deg);
  opacity: 0;
}

.amv-equip-qa__a {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.45s cubic-bezier(0.16,1,0.3,1);
}
.amv-equip-qa__item.open .amv-equip-qa__a { max-height: 180px; }

.amv-equip-qa__a p {
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 300;
  color: var(--black);
  opacity: 0.62;
  line-height: 1.75;
  padding: 0 0 32px 48px;
  max-width: 58ch;
}

/* ── VILLA CARDS ────────────────────────────────────────────────────────── */
.amv-villa-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.amv-villa-card {
  background: var(--white);
  border: 1px solid rgba(95,126,93,0.12);
  overflow: hidden;
  transition: box-shadow 0.3s var(--ease), transform 0.3s;
  text-decoration: none;
  color: inherit;
  display: block;
}
.amv-villa-card:hover {
  box-shadow: 0 12px 48px rgba(0,0,0,0.12);
  transform: translateY(-4px);
}
.amv-villa-card__img-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 4/3;
  overflow: hidden;
}
.amv-villa-card__img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}
.amv-villa-card:hover .amv-villa-card__img { transform: scale(1.04); }

.amv-villa-card__badge {
  position: absolute;
  top: 16px; left: 16px;
  background: var(--green);
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 5px 10px;
}
.amv-villa-card__body { padding: 24px; }
.amv-villa-card__name {
  font-family: var(--font-cond);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 4px;
}
.amv-villa-card__sub {
  font-family: var(--font-body);
  font-size: 0.8rem;
  color: var(--green);
  font-style: italic;
  margin-bottom: 16px;
}
.amv-villa-card__stats {
  display: flex;
  gap: 24px;
  padding-top: 16px;
  border-top: 1px solid rgba(95,126,93,0.12);
  margin-top: 16px;
}
.amv-villa-stat { text-align: center; }
.amv-villa-stat__num {
  font-family: var(--font-cond);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--green);
  display: block;
}
.amv-villa-stat__label {
  font-family: var(--font-body);
  font-size: 0.6rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(26,26,24,0.45);
  display: block;
  margin-top: 2px;
}
.amv-villa-card__cta {
  display: block;
  width: 100%;
  padding: 14px;
  background: var(--green);
  color: #fff;
  text-align: center;
  font-family: var(--font-cond);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: background 0.25s;
}
.amv-villa-card:hover .amv-villa-card__cta { background: var(--green-dark); }

/* ── FULL-BG SECTION ────────────────────────────────────────────────────── */
.amv-fullbg {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.amv-fullbg__img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  filter: brightness(0.42);
}
.amv-fullbg__content {
  position: relative;
  z-index: 1;
  max-width: 640px;
  padding: 80px 64px;
  color: #fff;
}
.amv-fullbg__label {
  font-family: var(--font-body);
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  margin-bottom: 16px;
}
.amv-fullbg__heading {
  font-family: var(--font-cond);
  font-size: clamp(2.2rem, 4.5vw, 3.8rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.01em;
  color: #fff;
  margin-bottom: 20px;
}
.amv-fullbg__text {
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.7;
  margin-bottom: 32px;
}

/* ── VIDEO SECTION ──────────────────────────────────────────────────────── */
.amv-video-wrap {
  position: relative;
  width: 100%;
  max-width: 900px;
  margin: 0;
  overflow: hidden;
  border-radius: 4px;
}
.amv-video-wrap video {
  width: 100%;
  height: auto;
  display: block;
}

/* ── LOCATION MAP ───────────────────────────────────────────────────────── */
.amv-location-map {
  width: 100%;
  overflow: hidden;
  aspect-ratio: 4/3;
}
.amv-location-map img {
  width: 100%; height: 100%;
  object-fit: cover;
}

/* ── BROCHURE CTA BAND ──────────────────────────────────────────────────── */
.amv-brochure-band {
  background: var(--bg);
  border-top: 1px solid rgba(95,126,93,0.1);
  border-bottom: 1px solid rgba(95,126,93,0.1);
  padding: 56px 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.amv-brochure-band__text { flex: 1; }
.amv-brochure-band__heading {
  font-family: var(--font-cond);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 6px;
}
.amv-brochure-band__sub {
  font-family: var(--font-body);
  font-size: 0.82rem;
  color: rgba(26,26,24,0.55);
  letter-spacing: 0.04em;
}
.amv-brochure-band__btns {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
}

/* ── CONTACT SECTION ────────────────────────────────────────────────────── */
.amv-contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  min-height: 520px;
}
.amv-contact-grid__left {
  background: var(--green);
  padding: 64px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 32px;
}
.amv-contact-grid__right {
  background: var(--white);
  padding: 64px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.amv-contact-heading {
  font-family: var(--font-cond);
  font-size: 2rem;
  font-weight: 900;
  color: #fff;
}
.amv-contact-subtext {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.7;
}
.amv-contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.amv-contact-info-item__icon {
  width: 44px; height: 44px;
  background: rgba(255,255,255,0.12);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.amv-contact-info-item__label {
  font-family: var(--font-body);
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  display: block;
  margin-bottom: 3px;
}
.amv-contact-info-item__value {
  font-family: var(--font-cond);
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
  text-decoration: none;
}
.amv-contact-info-item__value:hover { opacity: 0.8; }
.amv-contact-note {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.35);
  margin-top: 8px;
}

.amv-contact-form-heading {
  font-family: var(--font-cond);
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 24px;
}

/* Contact form */
.amv-contact-form { display: flex; flex-direction: column; gap: 16px; }
.amv-form-row     { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.amv-form-group   { display: flex; flex-direction: column; gap: 6px; }
.amv-form-group label {
  font-family: var(--font-body);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(26,26,24,0.5);
}
.amv-form-group input,
.amv-form-group textarea,
.amv-form-group select {
  padding: 12px 14px;
  border: 1px solid rgba(95,126,93,0.2);
  background: var(--bg);
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--black);
  outline: none;
  transition: border-color 0.2s;
  width: 100%;
}
.amv-form-group input:focus,
.amv-form-group textarea:focus { border-color: var(--green); }
.amv-form-group textarea { resize: none; min-height: 110px; }

/* ── AOS — scroll reveal ─────────────────────────────────────────────── */
[data-amv-aos] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.75s var(--ease-out), transform 0.75s var(--ease-out);
}
[data-amv-aos].aos-in {
  opacity: 1;
  transform: translateY(0);
}

/* Scroll reveal utilities */
.amv-reveal-img { overflow: hidden; display: block; }
.amv-reveal-img img {
  transform: scale(1.08) translateY(20px);
  opacity: 0;
  transition: transform 1.1s cubic-bezier(0.16,1,0.3,1), opacity 0.9s cubic-bezier(0.16,1,0.3,1);
  will-change: transform, opacity;
}
.amv-reveal-img.is-visible img {
  transform: scale(1) translateY(0);
  opacity: 1;
}
.amv-reveal-text {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s cubic-bezier(0.16,1,0.3,1), transform 0.8s cubic-bezier(0.16,1,0.3,1);
}
.amv-reveal-text.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Page transition ─────────────────────────────────────────────────── */
.amv-page-transition {
  position: fixed;
  inset: 0;
  background: var(--bg);
  z-index: 9000;
  transform: scaleY(1);
  transform-origin: top;
  animation: amvCurtainDown 0.7s var(--ease-out) forwards;
}
@keyframes amvCurtainDown {
  from { transform: scaleY(1); }
  to   { transform: scaleY(0); }
}
.amv-page-transition.out {
  transform-origin: bottom;
  animation: amvCurtainUp 0.55s var(--ease) forwards;
}
@keyframes amvCurtainUp {
  from { transform: scaleY(0); }
  to   { transform: scaleY(1); }
}

@keyframes amvFadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── WHATSAPP FLOAT ──────────────────────────────────────────── */
@keyframes amv-wa-pulse {
  0%   { transform: scale(1);   opacity: .6; }
  70%  { transform: scale(1.55); opacity: 0; }
  100% { transform: scale(1.55); opacity: 0; }
}
.amv-wa-float {
  position: fixed;
  bottom: 28px; right: 28px;
  z-index: 500;
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  /* Pill shape on hover, circle at rest */
  transition: padding .3s ease, border-radius .3s ease, box-shadow .3s ease, transform .25s ease;
  padding: 0;
  border-radius: 50%;
  overflow: hidden;
}
/* The main circle */
.amv-wa-float__icon {
  flex-shrink: 0;
  width: 62px; height: 62px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 24px rgba(37,211,102,0.4);
  padding: 18px;
  box-sizing: border-box;
  transition: box-shadow .3s, transform .25s;
  position: relative;
  z-index: 1;
}
/* Pulse ring */
.amv-wa-float__ring {
  position: absolute;
  right: 28px; bottom: 28px;
  width: 62px; height: 62px;
  border-radius: 50%;
  border: 2px solid rgba(37,211,102,0.7);
  animation: amv-wa-pulse 2.2s ease-out infinite;
  pointer-events: none;
  z-index: 499;
}
/* Tooltip label */
.amv-wa-float__label {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: .04em;
  color: #fff;
  background: #25D366;
  white-space: nowrap;
  max-width: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-width .35s ease, opacity .25s ease, padding .3s ease;
  border-radius: 0 30px 30px 0;
  padding: 0;
  display: flex;
  align-items: center;
  height: 62px;
  box-shadow: 0 6px 24px rgba(37,211,102,0.4);
}
/* Hover state — pill expands to show label */
.amv-wa-float:hover .amv-wa-float__label {
  max-width: 140px;
  opacity: 1;
  padding: 0 20px 0 8px;
}
.amv-wa-float:hover .amv-wa-float__icon {
  border-radius: 50% 0 0 50%;
  box-shadow: none;
}
.amv-wa-float:hover {
  transform: translateY(-2px);
}
/* Footer social WhatsApp color */
.amv-footer-social--wa:hover { background: #25D366 !important; border-color: #25D366 !important; }

/* ── FOOTER ──────────────────────────────────────────────────────────────── */
.amv-footer {
  background: var(--black);
  padding: 64px 64px 32px;
  border-top: 1px solid rgba(255,255,255,0.05);
}
.amv-footer__top {
  display: grid;
  grid-template-columns: 2.5fr 1fr 1fr 1.5fr;
  gap: 56px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.amv-footer-col__brand-logo {
  height: 60px;
  width: auto;
  object-fit: contain;
  filter: brightness(0) invert(1);
  margin-bottom: 24px;
  display: block;
}
.amv-footer-col__desc {
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.8;
  max-width: 320px;
  font-weight: 300;
}
.amv-footer-col__title {
  font-family: var(--font-cond);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  margin-bottom: 24px;
}
.amv-footer-col__links { display: flex; flex-direction: column; gap: 14px; }
.amv-footer-col__link {
  font-family: var(--font-body);
  font-size: 0.82rem;
  color: rgba(255,255,255,0.5);
  text-decoration: none;
  transition: color 0.3s, transform 0.3s;
  display: inline-flex;
  align-items: center;
  position: relative;
  width: fit-content;
}
.amv-footer-col__link::after {
  content: '';
  position: absolute;
  left: 0; bottom: -2px;
  width: 0; height: 1px;
  background: #fff;
  transition: width 0.3s ease;
}
.amv-footer-col__link:hover { color: #fff; transform: translateX(4px); }
.amv-footer-col__link:hover::after { width: 100%; }
.amv-footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 32px;
  gap: 16px;
  flex-wrap: wrap;
}
.amv-footer__bottom-left {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.amv-footer__legal {
  display: flex;
  align-items: center;
  gap: 12px;
}
.amv-footer__legal a {
  font-family: var(--font-body);
  font-size: 0.72rem;
  color: rgba(255,255,255,0.4);
  text-decoration: none;
  transition: color 0.3s;
}
.amv-footer__legal a:hover {
  color: var(--green);
}
.amv-footer__sep {
  color: rgba(255,255,255,0.15);
  font-size: 0.72rem;
}
.amv-footer__copy {
  font-family: var(--font-body);
  font-size: 0.72rem;
  color: rgba(255,255,255,0.35);
  letter-spacing: 0.02em;
}
.amv-footer__socials { display: flex; gap: 12px; }
.amv-footer-social {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: rgba(255,255,255,0.04);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  transition: background 0.3s, color 0.3s, transform 0.3s;
}
.amv-footer-social:hover { background: var(--green); color: #fff; transform: translateY(-3px); }

/* ── WHATSAPP FLOAT ──────────────────────────────────────────────────────── */
.amv-wa-float {
  position: fixed;
  bottom: 28px; right: 28px;
  z-index: 500;
  width: 54px; height: 54px;
  background: #25D366;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,0.35);
  text-decoration: none;
  font-size: 1.4rem;
  transition: transform 0.2s, box-shadow 0.2s;
}
.amv-wa-float:hover { transform: scale(1.08); box-shadow: 0 6px 28px rgba(37,211,102,0.45); }

/* ── PROJETS PAGE ────────────────────────────────────────────────────────── */
.amv-proj-hero {
  padding: calc(var(--nav-h) + 60px) 28px 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 80vh;
  position: relative;
}
.amv-proj-hero__title {
  font-family: var(--font-cond);
  font-size: clamp(3rem, 9vw, 7.5rem);
  font-weight: 900;
  letter-spacing: -0.01em;
  line-height: 0.95;
  color: var(--black);
  text-transform: uppercase;
  margin-bottom: 48px;
  opacity: 0;
  transform: translateY(30px);
  animation: amvFadeUp 0.9s var(--ease-out) 0.1s forwards;
}

/* ── HORIZONTAL SCROLL DETAIL (villa pages) ──────────────────────────────── */
.amv-hpage {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  width: 100vw;
  height: 100svh;
  overflow-x: scroll;
  overflow-y: hidden;
  scrollbar-width: none;
  padding-top: var(--nav-h);
  box-sizing: border-box;
  -webkit-overflow-scrolling: touch;
}
.amv-hpage::-webkit-scrollbar { display: none; }

.amv-hsl-info {
  flex: 0 0 50vw;
  width: 50vw;
  height: 100%;
  display: flex;
  flex-direction: column;
  padding: 28px 40px 40px;
  box-sizing: border-box;
  overflow: hidden;
}
.amv-hsl-thumb {
  width: 100%;
  height: 220px;
  overflow: hidden;
  margin-bottom: 20px;
  flex-shrink: 0;
}
.amv-hsl-thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
.amv-hsl-meta {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-body);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  color: var(--black);
  opacity: 0.6;
  margin-bottom: 16px;
  flex-shrink: 0;
}
.amv-hsl-tagline {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 300;
  color: var(--black);
  opacity: 0.65;
  line-height: 1.6;
  margin-bottom: 24px;
  margin-top: 10px;
  flex-shrink: 0;
}
.amv-hsl-services {
  list-style: none;
  border-top: 1px solid rgba(26,26,24,0.2);
  margin-bottom: 0;
  flex-shrink: 0;
}
.amv-hsl-services li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 11px 0;
  border-bottom: 1px solid rgba(26,26,24,0.12);
  gap: 12px;
}
.amv-hsl-services .amv-svc-left {
  display: flex;
  align-items: center;
  gap: 10px;
}
.amv-hsl-services .amv-svc-dot {
  font-size: 0.56rem;
  color: var(--black);
  opacity: 0.35;
  flex-shrink: 0;
}
.amv-hsl-services .amv-svc-name {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 300;
  color: var(--black);
}
.amv-hsl-services .amv-svc-num {
  font-family: var(--font-cond);
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--black);
  opacity: 0.28;
  flex-shrink: 0;
}
.amv-hsl-stat {
  margin-top: auto;
  padding-top: 16px;
  display: flex;
  align-items: baseline;
  gap: 4px;
  flex-shrink: 0;
}
.amv-hsl-stat__n {
  font-family: var(--font-cond);
  font-size: clamp(4.5rem, 9vw, 8rem);
  font-weight: 900;
  color: var(--black);
  line-height: 0.88;
  letter-spacing: -0.02em;
}
.amv-hsl-stat__u {
  font-family: var(--font-cond);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700;
  color: var(--black);
  opacity: 0.5;
}
.amv-hsl-title {
  font-family: var(--font-cond);
  font-size: clamp(2.8rem, 5.5vw, 5rem);
  font-weight: 900;
  color: var(--black);
  letter-spacing: -0.01em;
  line-height: 0.92;
  margin-top: 4px;
  flex-shrink: 0;
}
.amv-hsl-back {
  font-family: var(--font-cond);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--black);
  opacity: 0.4;
  text-decoration: none;
  margin-top: 14px;
  display: inline-block;
  transition: opacity 0.2s;
  flex-shrink: 0;
}
.amv-hsl-back:hover { opacity: 1; }

/* Image panels */
.amv-hsl-panel {
  flex: 0 0 auto;
  height: 100%;
  position: relative;
  overflow: hidden;
}
.amv-hsl-panel--full  { width: 55vw; }
.amv-hsl-panel--wide  { width: 70vw; }
.amv-hsl-panel--port {
  width: 40vw;
  background: #f5f3f0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
  box-sizing: border-box;
}
.amv-hsl-panel--port .amv-hsl-img {
  object-fit: contain;
  width: 100%;
  height: 100%;
}
.amv-hsl-gap {
  flex: 0 0 8px;
  background: var(--bg);
}
.amv-hsl-panel--photo { width: 40vw; }
.amv-hsl-panel--photo .amv-hsl-img { object-fit: cover; }
.amv-hsl-panel--photo:hover .amv-hsl-img { transform: scale(1.035); }

.amv-hsl-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 1.1s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}
.amv-hsl-panel--full:hover .amv-hsl-img,
.amv-hsl-panel--wide:hover .amv-hsl-img,
.amv-hsl-panel--next:hover .amv-hsl-img { transform: scale(1.035); }

/* Text / quote panel */
.amv-hsl-panel--text {
  flex: 0 0 42vw;
  width: 42vw;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 60px 56px;
  box-sizing: border-box;
  background: var(--black);
}
.amv-hsl-text-label {
  font-family: var(--font-body);
  font-size: 0.62rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  margin-bottom: 28px;
}
.amv-hsl-text-quote {
  font-family: var(--font-cond);
  font-size: clamp(1.8rem, 3.2vw, 3rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.1;
  letter-spacing: -0.01em;
  margin-bottom: 32px;
}
.amv-hsl-text-quote em {
  font-style: italic;
  color: rgba(255,255,255,0.75);
  font-weight: 400;
}
.amv-hsl-text-body {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 300;
  color: rgba(255,255,255,0.82);
  line-height: 1.7;
  max-width: 34ch;
}

/* Next project panel */
.amv-hsl-panel--next {
  width: 55vw;
  cursor: pointer;
  display: block;
  text-decoration: none;
}
.amv-hsl-panel--next .amv-hsl-img { filter: brightness(0.48); }
.amv-hsl-panel--next:hover .amv-hsl-img {
  transform: scale(1.04);
  filter: brightness(0.36);
}
.amv-hsl-next-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  text-align: center;
  padding: 20px;
  pointer-events: none;
}
.amv-hsl-next-label {
  font-family: var(--font-body);
  font-size: 0.62rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
}
.amv-hsl-next-name {
  font-family: var(--font-cond);
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 900;
  color: #fff;
  letter-spacing: -0.01em;
  line-height: 0.9;
  transition: letter-spacing 0.4s;
}
.amv-hsl-panel--next:hover .amv-hsl-next-name { letter-spacing: 0.05em; }
.amv-hsl-next-sub {
  font-family: var(--font-body);
  font-size: 0.7rem;
  color: rgba(255,255,255,0.45);
  letter-spacing: 0.08em;
}

/* Lightbox */
#amv-lb-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.92);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s ease;
}
#amv-lb-overlay.lb-visible {
  opacity: 1;
  pointer-events: all;
}
#amv-lb-img {
  max-width: 92vw;
  max-height: 88vh;
  object-fit: contain;
  border-radius: 2px;
  box-shadow: 0 24px 80px rgba(0,0,0,0.6);
  transform: scale(0.96);
  transition: transform 0.28s ease;
}
#amv-lb-overlay.lb-visible #amv-lb-img { transform: scale(1); }
#amv-lb-close {
  position: absolute;
  top: 20px; right: 24px;
  background: none;
  border: none;
  color: rgba(255,255,255,0.7);
  font-size: 1.4rem;
  cursor: pointer;
  line-height: 1;
  padding: 8px;
  transition: color 0.2s;
  z-index: 1;
}
#amv-lb-close:hover { color: #fff; }

/* Progress bar */
.amv-hsl-progress {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: rgba(26,26,24,0.06);
  z-index: 200;
  pointer-events: none;
}
.amv-hsl-progress-fill {
  height: 100%;
  background: rgba(26,26,24,0.4);
  width: 0%;
  transition: width 0.08s linear;
}

/* ── CONTACT PAGE (full-screen split) ───────────────────────────────────── */
.amv-contact-page-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  height: 100svh;
  padding-top: var(--nav-h);
  box-sizing: border-box;
}
.amv-contact-photo {
  position: relative;
  overflow: hidden;
}
.amv-contact-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 9s linear;
}
.amv-contact-photo:hover img { transform: scale(1.04); }

.amv-contact-brochure {
  position: absolute;
  bottom: 48px;
  left: 40px;
  background: var(--cream);
  padding: 24px 28px 28px;
  width: min(260px, 80%);
  z-index: 2;
}
.amv-contact-brochure__title {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: var(--black);
  margin-bottom: 20px;
}
.amv-brochure-form { display: flex; flex-direction: column; }
.amv-brochure-input-row {
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(26,26,24,0.3);
  padding-bottom: 8px;
  gap: 8px;
}
.amv-brochure-input {
  flex: 1;
  border: none;
  background: transparent;
  font-family: var(--font-body);
  font-size: 0.68rem;
  color: var(--black);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  outline: none;
  opacity: 0.5;
}
.amv-brochure-input::placeholder { opacity: 1; }
.amv-brochure-btn {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--black);
  font-size: 1rem;
  padding: 0;
  transition: transform 0.2s;
}
.amv-brochure-btn:hover { transform: translate(3px, -3px); }

.amv-contact-info-panel {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 80px 64px;
  overflow: hidden;
  background: var(--bg);
}
.amv-contact-amv-ghost {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}
.amv-contact-amv-ghost img {
  width: clamp(200px, 40%, 340px);
  opacity: 0.04;
  filter: brightness(0);
}
.amv-contact-block {
  position: relative;
  z-index: 1;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}
.amv-contact-eyebrow {
  font-family: var(--font-body);
  font-size: 0.62rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 20px;
}
.amv-contact-headline {
  font-family: var(--font-cond);
  font-size: clamp(2.8rem, 4.5vw, 4.2rem);
  font-weight: 900;
  color: var(--black);
  letter-spacing: -0.02em;
  line-height: 0.92;
  margin-bottom: 40px;
}
.amv-contact-divider {
  width: 40px;
  height: 1px;
  background: rgba(26,26,24,0.25);
  margin: 0 auto 36px;
}
.amv-contact-details {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
}
.amv-contact-link {
  display: block;
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 300;
  color: var(--black);
  text-decoration: none;
  letter-spacing: 0.04em;
  opacity: 0.7;
  transition: opacity 0.2s;
}
.amv-contact-link:hover { opacity: 1; }
.amv-contact-address {
  font-family: var(--font-cond);
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--black);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.4;
  line-height: 1.6;
  margin-bottom: 36px;
}
.amv-contact-cta {
  display: inline-block;
  font-family: var(--font-cond);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--black);
  text-decoration: none;
  border: 1px solid rgba(26,26,24,0.3);
  padding: 14px 32px;
  transition: background 0.25s, color 0.25s, border-color 0.25s;
}
.amv-contact-cta:hover {
  background: var(--black);
  color: var(--cream);
  border-color: var(--black);
}
.amv-contact-social {
  display: flex;
  gap: 24px;
  margin-top: 36px;
}
.amv-contact-social-link {
  font-family: var(--font-body);
  font-size: 0.65rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--black);
  opacity: 0.4;
  text-decoration: none;
  transition: opacity 0.2s;
}
.amv-contact-social-link:hover { opacity: 1; }
.amv-contact-footer-row {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 18px 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(26,26,24,0.09);
}
.amv-contact-footer-left { display: flex; gap: 20px; align-items: center; }
.amv-contact-footer-link {
  font-family: var(--font-body);
  font-size: 0.6rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--black);
  opacity: 0.38;
  text-decoration: none;
  transition: opacity 0.2s;
}
.amv-contact-footer-link:hover { opacity: 0.85; }

/* ═══════════════════════════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .amv-two-col            { grid-template-columns: 1fr; gap: 40px; }
  .amv-two-col--flip      { direction: ltr; }
  .amv-villa-grid         { grid-template-columns: repeat(2, 1fr); }
  .amv-equip-qa-wrap      { grid-template-columns: 1fr; gap: 40px; padding: 0 32px; }
  .amv-equip-qa-header    { position: static; }
  .amv-stats-bar          { grid-template-columns: repeat(2, 1fr); }
  .amv-stats-bar .amv-stat-item { padding: 36px 20px 32px; }
  .amv-stats-bar .amv-stat-item:nth-child(2)::after,
  .amv-stats-bar .amv-stat-item:nth-child(4)::after { display: none; }
  .amv-stats-bar .amv-stat-item:nth-child(1),
  .amv-stats-bar .amv-stat-item:nth-child(2) {
    border-bottom: 1px solid rgba(255,255,255,0.12);
  }
  .amv-contact-grid       { grid-template-columns: 1fr; }
  .amv-footer__top        { grid-template-columns: 1fr 1fr; gap: 32px; }
  .amv-brochure-band      { flex-direction: column; align-items: flex-start; }
  .amv-contact-page-wrap  { grid-template-columns: 1fr; height: auto; }
  .amv-contact-photo      { height: 65vw; min-height: 280px; }
  .amv-contact-info-panel { padding: 60px 28px 80px; }
}

@media (max-width: 768px) {
  .amv-nav-links  { display: none; }
  .amv-nav-burger { display: flex; }

  .amv-slider-arrow { display: none; }

  /* ── Horizontal rail → vertical stack on mobile ── */
  .amv-hpage {
    flex-direction: column;
    height: auto;
    overflow-x: hidden;
    overflow-y: auto;
  }

  /* Info panel — keep natural light background, only adjust padding */
  .amv-hsl-info {
    width: 100%;
    flex: none;
    height: auto;
    min-height: auto;
    padding: 80px 24px 40px;
    border-right: none;
    overflow: visible;
  }
  .amv-hsl-meta {
    margin-bottom: 16px;
    font-size: 0.65rem;
  }
  .amv-hsl-thumb {
    width: 100%;
    height: 56vw;
    max-height: 280px;
    margin-bottom: 20px;
  }
  .amv-hsl-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  .amv-hsl-title {
    font-size: clamp(2rem, 9vw, 3.2rem);
    margin-bottom: 10px;
  }
  .amv-hsl-tagline {
    font-size: 0.78rem;
    margin-bottom: 20px;
    opacity: 0.7;
  }
  .amv-hsl-services {
    margin: 0 0 24px;
  }
  .amv-hsl-services li {
    padding: 11px 0;
    font-size: 0.75rem;
  }
  .amv-hsl-stat {
    margin-bottom: 24px;
  }
  .amv-hsl-stat__n {
    font-size: clamp(3rem, 16vw, 5rem);
  }
  .amv-hsl-back {
    font-size: 0.68rem;
    margin-top: 0;
  }

  /* All panels → full-width blocks */
  .amv-hsl-gap { height: 4px; width: 100%; min-width: 0; }
  .amv-hsl-progress { display: none; }

  .amv-hsl-panel {
    width: 100% !important;
    min-width: 0 !important;
    height: 72vw;
    min-height: 260px;
    flex-shrink: 0;
  }
  /* Full-screen hero panel */
  .amv-hsl-panel--full {
    height: 78vw;
    min-height: 280px;
  }

  /* Wide panels */
  .amv-hsl-panel--wide {
    height: 65vw;
    min-height: 240px;
  }

  /* Portrait panels — cover, no white bands */
  /* Portrait panels: contain pour montrer les plans en entier */
  .amv-hsl-panel--port {
    height: auto;
    min-height: 260px;
    max-height: 90vw;
    padding: 0;
    background: #f4f3f0;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .amv-hsl-panel--port .amv-hsl-img {
    object-fit: contain !important;
    width: 100%;
    height: auto;
    max-height: 90vw;
  }

  /* Photo panels */
  .amv-hsl-panel--photo {
    height: 70vw;
    min-height: 240px;
  }

  /* Text / citation panel */
  .amv-hsl-panel--text {
    width: 100% !important;
    height: auto !important;
    min-height: auto !important;
    padding: 52px 24px 56px;
    box-sizing: border-box;
    background: #111;
  }
  .amv-hsl-text-label {
    font-size: 0.6rem;
    letter-spacing: .12em;
    margin-bottom: 20px;
    display: block;
    color: rgba(255,255,255,0.6);
  }
  .amv-hsl-text-quote {
    font-size: clamp(1.6rem, 7.5vw, 2.4rem);
    line-height: 1.2;
    margin-bottom: 20px;
    word-break: break-word;
    color: #fff;
  }
  .amv-hsl-text-quote em {
    color: rgba(255,255,255,0.8);
  }
  .amv-hsl-text-body {
    font-size: 0.84rem;
    line-height: 1.75;
    color: rgba(255,255,255,0.9);
    opacity: 1;
    max-width: none;
  }

  /* Amenity badges in text panel */
  .amv-hsl-panel--text ul {
    gap: 6px !important;
    margin-top: 24px !important;
  }
  .amv-hsl-panel--text ul li {
    font-size: 0.62rem !important;
    padding: 4px 12px !important;
    color: rgba(255,255,255,0.85) !important;
    border-color: rgba(255,255,255,0.25) !important;
  }

  /* Next panel */
  .amv-hsl-panel--next {
    height: 78vw;
    min-height: 280px;
  }
  .amv-hsl-next-label {
    font-size: 0.55rem;
  }
  .amv-hsl-next-name {
    font-size: clamp(1.6rem, 8vw, 2.4rem);
  }
}


@media (max-width: 640px) {
  .amv-section          { padding: 64px 24px; }
  .amv-villa-grid       { grid-template-columns: 1fr; }
  .amv-equip-qa-wrap    { padding: 0 24px; gap: 28px; }
  .amv-equip-qa__a p   { padding-left: 0; }
  .amv-stats-bar        { grid-template-columns: repeat(2, 1fr); }
  .amv-stats-bar .amv-stat-item { padding: 28px 16px 24px; }
  .amv-stats-bar .amv-stat-item::after { display: none; }
  .amv-stats-bar .amv-stat-item:nth-child(1),
  .amv-stats-bar .amv-stat-item:nth-child(2) {
    border-bottom: 1px solid rgba(255,255,255,0.1);
  }
  .amv-stats-bar .amv-stat-item:nth-child(odd) {
    border-right: 1px solid rgba(255,255,255,0.1);
  }
  .amv-stat-item__line { margin: 12px auto 10px; width: 20px; }
  .amv-stat-item:hover .amv-stat-item__line { width: 36px; }
  .amv-form-row         { grid-template-columns: 1fr; }
  .amv-footer           { padding: 40px 24px 24px; }
  .amv-footer__top      { grid-template-columns: 1fr; }
  .amv-fullbg__content  { padding: 48px 24px; }
  .amv-brochure-band    { padding: 40px 24px; }
  .amv-contact-grid__left,
  .amv-contact-grid__right { padding: 40px 24px; }
}

/* ── BLOG PAGES (Premium Design System) ────────────────────────────────── */
.amv-blog-hero {
  position: relative;
  height: 48vh;
  min-height: 360px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--black);
}
.amv-blog-hero__bg {
  position: absolute;
  inset: 0;
}
.amv-blog-hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
  transition: transform 10s ease-out;
}
.amv-blog-hero:hover .amv-blog-hero__img {
  transform: scale(1.04);
}
.amv-blog-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(26, 26, 24, 0.45) 0%,
    rgba(26, 26, 24, 0.1) 50%,
    rgba(26, 26, 24, 0.6) 100%
  );
  z-index: 1;
}

.amv-blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 40px 30px;
  margin-top: 48px;
}

.amv-blog-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid rgba(95,126,93,0.12);
  overflow: hidden;
  transition: box-shadow 0.3s var(--ease), transform 0.3s;
}
.amv-blog-card:hover {
  box-shadow: 0 12px 48px rgba(0,0,0,0.12);
  transform: translateY(-4px);
}

.amv-blog-card__img-link {
  position: relative;
  width: 100%;
  height: 230px;
  overflow: hidden;
  display: block;
}
.amv-blog-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.1s cubic-bezier(0.16, 1, 0.3, 1);
}
.amv-blog-card:hover .amv-blog-card__img {
  transform: scale(1.04);
}
.amv-blog-card__badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background: var(--green);
  color: #ffffff;
  font-family: var(--font-cond);
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 5px 10px;
  border-radius: 2px;
  z-index: 2;
}
.amv-blog-card__body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.amv-blog-card__meta {
  font-family: var(--font-body);
  font-size: 0.72rem;
  color: var(--black);
  opacity: 0.45;
  margin-bottom: 12px;
  letter-spacing: 0.04em;
}
.amv-blog-card__title {
  font-family: var(--font-cond);
  font-size: 1.35rem;
  font-weight: 700;
  text-transform: uppercase;
  line-height: 1.25;
  margin-bottom: 12px;
  color: var(--black);
  transition: color 0.3s;
}
.amv-blog-card__title a {
  color: inherit;
  text-decoration: none;
  display: block;
}
.amv-blog-card__title a:hover {
  color: var(--green);
}
.amv-blog-card__excerpt {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 300;
  line-height: 1.65;
  color: var(--black);
  opacity: 0.6;
  margin-bottom: 20px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.amv-blog-card__more {
  margin-top: auto;
  font-family: var(--font-cond);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--green);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: color 0.3s;
}
.amv-blog-card__more span {
  font-size: 1rem;
  line-height: 1;
  transition: transform 0.3s var(--ease);
}
.amv-blog-card:hover .amv-blog-card__more {
  color: var(--green-dark);
}
.amv-blog-card:hover .amv-blog-card__more span {
  transform: translateX(4px);
}

/* ═══════════════════════════════════════════════════════════════════════════
   RESIDENCES — Cards Grid (Homepage Section)
   ═══════════════════════════════════════════════════════════════════════════ */
.amv-res-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 32px 24px;
}

.amv-res-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid rgba(95,126,93,0.12);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: box-shadow 0.35s var(--ease), transform 0.35s var(--ease);
  position: relative;
}
.amv-res-card:hover {
  box-shadow: 0 16px 56px rgba(0,0,0,0.13);
  transform: translateY(-6px);
}
.amv-res-card__img-wrap {
  position: relative;
  width: 100%;
  height: 220px;
  overflow: hidden;
}
.amv-res-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.1s cubic-bezier(0.16, 1, 0.3, 1);
}
.amv-res-card:hover .amv-res-card__img { transform: scale(1.06); }
.amv-res-card__badge {
  position: absolute;
  top: 14px; left: 14px;
  background: var(--green);
  color: #fff;
  font-family: var(--font-cond);
  font-size: 0.62rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 4px 10px;
  border-radius: 2px;
  z-index: 2;
}
.amv-res-card__body {
  padding: 22px 24px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.amv-res-card__name {
  font-family: var(--font-cond);
  font-size: 1.3rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--black);
  letter-spacing: 0.02em;
  line-height: 1.1;
  margin: 0;
}
.amv-res-card__sub {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 300;
  color: var(--black);
  opacity: 0.6;
  line-height: 1.55;
  margin: 0;
}
.amv-res-card__stats {
  display: flex;
  gap: 16px;
  margin-top: 8px;
  padding-top: 14px;
  border-top: 1px solid rgba(26,26,24,0.08);
  flex-wrap: wrap;
}
.amv-res-stat { display: flex; flex-direction: column; gap: 2px; }
.amv-res-stat__num {
  font-family: var(--font-cond);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--black);
  line-height: 1;
}
.amv-res-stat__label {
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-weight: 400;
  color: var(--black);
  opacity: 0.45;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.amv-res-card__cta {
  display: block;
  padding: 14px 24px;
  font-family: var(--font-cond);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--green);
  border-top: 1px solid rgba(95,126,93,0.12);
  transition: background 0.25s, color 0.25s;
}
.amv-res-card:hover .amv-res-card__cta { background: var(--green); color: #fff; }
.amv-res-card--static .amv-res-card__cta { color: rgba(26,26,24,0.4); }
.amv-res-card--static:hover .amv-res-card__cta { background: rgba(26,26,24,0.06); color: rgba(26,26,24,0.5); }

/* ═══════════════════════════════════════════════════════════════════════════
   SINGLE RESIDENCE PAGE
   ═══════════════════════════════════════════════════════════════════════════ */
.amv-res-hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-position: center 35%;
  background-repeat: no-repeat;
  overflow: hidden;
}
.amv-res-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(26,26,24,0.35) 0%, rgba(26,26,24,0.15) 35%, rgba(26,26,24,0.55) 100%);
  z-index: 1;
}
.amv-res-hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: calc(var(--nav-h) + 48px) 32px 100px;
  max-width: 900px;
  margin: 0 auto;
}
.amv-res-hero__badge {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
  border: 1px solid rgba(255,255,255,0.3);
  padding: 5px 14px;
  border-radius: 2px;
  margin-bottom: 20px;
}
.amv-res-hero__title {
  font-family: var(--font-cond);
  font-size: clamp(2.8rem, 7vw, 6rem);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  line-height: 0.93;
  color: #fff;
  margin-bottom: 24px;
  animation: amvFadeUp 0.9s var(--ease-out) 0.1s both;
}
.amv-res-hero__tagline {
  font-family: var(--font-body);
  font-size: clamp(0.85rem, 1.5vw, 1.05rem);
  font-weight: 300;
  color: rgba(255,255,255,0.75);
  letter-spacing: 0.04em;
  margin-bottom: 40px;
  animation: amvFadeUp 0.9s var(--ease-out) 0.25s both;
}
.amv-res-hero__stats {
  display: flex;
  gap: 0;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 32px;
  animation: amvFadeUp 0.9s var(--ease-out) 0.4s both;
}
.amv-res-hero__stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 16px 28px;
  border-right: 1px solid rgba(255,255,255,0.2);
  background: rgba(26,26,24,0.45);
  backdrop-filter: blur(8px);
}
.amv-res-hero__stat:last-child { border-right: none; }
.amv-res-hero__stat-num {
  font-family: var(--font-cond);
  font-size: 1.4rem;
  font-weight: 800;
  color: #fff;
  line-height: 1;
  letter-spacing: 0.01em;
}
.amv-res-hero__stat-label {
  font-family: var(--font-body);
  font-size: 0.6rem;
  font-weight: 400;
  color: rgba(255,255,255,0.55);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-top: 4px;
}

/* Scroll cue */
.amv-res-hero__scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-items: center;
}
.amv-res-hero__scroll span {
  display: block;
  width: 1px;
  height: 20px;
  background: rgba(255,255,255,0.5);
  animation: amvScrollPulse 1.6s ease-in-out infinite;
}
.amv-res-hero__scroll span:nth-child(2) { animation-delay: 0.2s; }
.amv-res-hero__scroll span:nth-child(3) { animation-delay: 0.4s; }
@keyframes amvScrollPulse {
  0%, 100% { opacity: 0.2; transform: scaleY(0.6); }
  50% { opacity: 1; transform: scaleY(1); }
}

/* Breadcrumb */
.amv-res-breadcrumb {
  padding: 16px var(--section-pad);
  font-family: var(--font-body);
  font-size: 0.72rem;
  color: var(--black);
  opacity: 0.5;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid rgba(26,26,24,0.06);
  max-width: var(--max-w);
  margin: 0 auto;
}
.amv-res-breadcrumb a { color: inherit; text-decoration: none; transition: color 0.2s; }
.amv-res-breadcrumb a:hover { color: var(--green); opacity: 1; }
.amv-res-breadcrumb span:last-child { color: var(--green); opacity: 1; font-weight: 500; }

/* Description & address */
.amv-res-full-desc {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 300;
  line-height: 1.75;
  color: var(--black);
  opacity: 0.7;
  margin-top: 16px;
}
.amv-res-address {
  font-family: var(--font-body);
  font-size: 0.78rem;
  color: var(--black);
  opacity: 0.55;
  margin-top: 20px;
  letter-spacing: 0.03em;
}

/* Citation card */
.amv-res-citation-card {
  background: var(--black);
  padding: 40px 36px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.amv-res-citation {
  font-family: var(--font-cond);
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.25;
  letter-spacing: 0.01em;
  margin: 0;
}
.amv-res-citation__mark {
  font-size: 5rem;
  color: var(--green);
  line-height: 0.5;
  font-family: Georgia, serif;
  display: block;
  margin-bottom: 12px;
}
.amv-res-citation em { color: rgba(255,255,255,0.55); font-style: italic; }
.amv-res-facts { display: flex; gap: 20px; flex-wrap: wrap; }
.amv-res-fact { display: flex; flex-direction: column; gap: 4px; border-left: 2px solid var(--green); padding-left: 14px; }
.amv-res-fact__num { font-family: var(--font-cond); font-size: 1.4rem; font-weight: 800; color: #fff; line-height: 1; }
.amv-res-fact__label { font-family: var(--font-body); font-size: 0.62rem; color: rgba(255,255,255,0.45); text-transform: uppercase; letter-spacing: 0.1em; }

/* Amenities grid */
.amv-res-amenities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 20px;
  margin-top: 40px;
  text-align: left;
}
.amv-res-amenity {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  border: 1px solid rgba(95,126,93,0.15);
  background: rgba(95,126,93,0.03);
  transition: background 0.25s, border-color 0.25s;
}
.amv-res-amenity:hover { background: rgba(95,126,93,0.08); border-color: rgba(95,126,93,0.3); }
.amv-res-amenity__icon { font-size: 1.4rem; line-height: 1; flex-shrink: 0; }
.amv-res-amenity__label { font-family: var(--font-body); font-size: 0.78rem; font-weight: 400; color: var(--black); line-height: 1.3; }

/* Gallery */
.amv-res-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 12px;
  margin-top: 40px;
}
.amv-res-gallery__item { display: block; position: relative; overflow: hidden; aspect-ratio: 4/3; }
.amv-res-gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.amv-res-gallery__item:hover img { transform: scale(1.05); }
.amv-res-gallery__overlay {
  position: absolute;
  inset: 0;
  background: rgba(26,26,24,0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s;
}
.amv-res-gallery__item:hover .amv-res-gallery__overlay { opacity: 1; }
.amv-res-gallery__overlay span { font-size: 1.8rem; color: #fff; font-weight: 300; }

/* ── Mobile Responsive for Residences ── */
@media (max-width: 768px) {
  .amv-res-hero__stats { flex-direction: column; gap: 0; }
  .amv-res-hero__stat { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.15); width: 100%; }
  .amv-res-hero__stat:last-child { border-bottom: none; }
  .amv-res-citation-card { padding: 32px 24px; }
  .amv-res-amenities-grid { grid-template-columns: repeat(2, 1fr); }
  .amv-res-gallery { grid-template-columns: repeat(2, 1fr); }
  .amv-res-cards-grid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .amv-res-amenities-grid { grid-template-columns: 1fr; }
  .amv-res-gallery { grid-template-columns: 1fr; }
  .amv-res-breadcrumb { padding: 12px 24px; }
}

/* ══════════════════════════════════════════════════════════════════
   SINGLE RESIDENCE — Specific UI components
   ══════════════════════════════════════════════════════════════════ */

/* Badge in info panel (light bg context) */
.amv-res-info-badge {
  display: inline-block;
  width: auto;
  font-family: var(--font-body);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--green);
  border: 1px solid rgba(95,126,93,0.5);
  padding: 4px 12px;
  margin-bottom: 16px;
  border-radius: 2px;
  white-space: nowrap;
}

/* Brochure link in services list */
.amv-hsl-brochure-link {
  color: var(--black);
  font-family: var(--font-body);
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  text-decoration: underline;
  opacity: .6;
  transition: opacity .2s;
}
.amv-hsl-brochure-link:hover { opacity: 1; }

/* Amenities tags in text panel */
.amv-res-amenities-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 28px;
}
.amv-res-tag {
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.88);
  border: 1px solid rgba(255,255,255,0.22);
  padding: 5px 14px;
  border-radius: 2px;
  transition: border-color .2s, color .2s;
}
.amv-res-tag:hover {
  border-color: rgba(255,255,255,0.55);
  color: #fff;
}

/* ── Mobile overrides for residence-specific components ── */
@media (max-width: 768px) {
  .amv-res-badge-tag {
    font-size: 0.58rem;
    padding: 4px 12px;
    margin-bottom: 14px;
  }
  .amv-res-amenities-tags {
    gap: 6px;
    margin-top: 20px;
  }
  .amv-res-tag {
    font-size: 0.6rem;
    padding: 4px 11px;
    color: rgba(255,255,255,0.92);
    border-color: rgba(255,255,255,0.3);
  }
  .amv-hsl-brochure-link {
    color: rgba(255,255,255,0.7);
    opacity: 1;
  }
  /* Info panel on mobile — ensure natural bg and proper top padding for nav */
  .amv-residence-detail .amv-hsl-info {
    padding-top: 84px;
  }
  /* Stat block */
  .amv-residence-detail .amv-hsl-stat {
    margin: 20px 0 28px;
  }
  /* Badge in info panel — inline, not full width */
  .amv-residence-detail .amv-hsl-info span[style] {
    display: inline-block !important;
    width: auto !important;
  }
}


/* ------------------------------------------------------------------
   ARCHIVE RESIDENCE � /residences/
   ------------------------------------------------------------------ */

.amv-res-archive-hero {
  background: var(--black);
  padding: 100px 48px 80px;
  text-align: center;
}
.amv-res-archive-hero__inner { max-width: 760px; margin: 0 auto; }
.amv-res-archive-hero__title {
  font-family: var(--font-cond);
  font-size: clamp(3rem, 6vw, 5.5rem);
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.02em;
  margin: 12px 0 20px;
}
.amv-res-archive-hero__sub {
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.75;
  font-weight: 300;
}
.amv-res-archive-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 48px;
}
.amv-res-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  text-decoration: none;
  border: 1px solid rgba(26,26,24,0.1);
  overflow: hidden;
  transition: box-shadow 0.35s, transform 0.35s;
}
.amv-res-card:hover {
  box-shadow: 0 20px 60px rgba(26,26,24,0.18);
  transform: translateY(-4px);
}
.amv-res-card__img-wrap {
  position: relative;
  overflow: hidden;
  height: 260px;
  flex-shrink: 0;
}
.amv-res-card__img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}
.amv-res-card:hover .amv-res-card__img { transform: scale(1.05); }
.amv-res-card__badge {
  position: absolute;
  bottom: 12px; left: 12px;
  background: var(--black);
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.55rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  padding: 5px 12px;
}
.amv-res-card__body {
  padding: 24px 24px 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.amv-res-card__name {
  font-family: var(--font-cond);
  font-size: 1.55rem;
  font-weight: 700;
  color: var(--black);
  letter-spacing: -0.01em;
  margin-bottom: 6px;
}
.amv-res-card__sub {
  font-family: var(--font-body);
  font-size: 0.75rem;
  color: var(--black);
  opacity: 0.55;
  line-height: 1.55;
  margin-bottom: 16px;
  font-weight: 300;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.amv-res-card__stats {
  display: flex;
  gap: 20px;
  border-top: 1px solid rgba(26,26,24,0.1);
  border-bottom: 1px solid rgba(26,26,24,0.1);
  padding: 12px 0;
  margin-bottom: 14px;
}
.amv-res-card__stat { display: flex; flex-direction: column; }
.amv-res-card__stat-num {
  font-family: var(--font-cond);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--black);
}
.amv-res-card__stat-label {
  font-family: var(--font-body);
  font-size: 0.58rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--black);
  opacity: 0.45;
  margin-top: 3px;
}
.amv-res-card__amenities {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 18px;
  flex: 1;
}
.amv-res-card__amenities span {
  font-family: var(--font-body);
  font-size: 0.6rem;
  color: var(--black);
  opacity: 0.65;
  background: rgba(26,26,24,0.06);
  padding: 3px 10px;
  letter-spacing: .05em;
}
.amv-res-card__cta {
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--black);
  margin-top: auto;
  transition: letter-spacing 0.25s;
}
.amv-res-card:hover .amv-res-card__cta { letter-spacing: .18em; }
@media (max-width: 1024px) {
  .amv-res-archive-grid { grid-template-columns: repeat(2, 1fr); padding: 0 32px; }
}
@media (max-width: 640px) {
  .amv-res-archive-grid { grid-template-columns: 1fr; padding: 0 20px; gap: 20px; }
  .amv-res-archive-hero { padding: 70px 20px 50px; }
  .amv-res-card__img-wrap { height: 220px; }
}

/* ── LEGAL PAGES (Terms & Privacy) ───────────────────────────────────────── */
.amv-legal-wrap {
  max-width: 900px;
  margin: 0 auto;
  padding: calc(var(--nav-h) + 80px) 32px 100px;
  background: #f9f8f5;
}
.amv-legal-header {
  text-align: center;
  margin-bottom: 60px;
  border-bottom: 1px solid rgba(0,0,0,0.1);
  padding-bottom: 40px;
}
.amv-legal-header h1 {
  font-family: var(--font-cond);
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 900;
  text-transform: uppercase;
  color: var(--black);
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}
.amv-legal-header p {
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: #666;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.amv-legal-content {
  font-family: var(--font-body);
  color: #444;
  line-height: 1.8;
  font-size: 1.05rem;
  font-weight: 300;
}
.amv-legal-content h2 {
  font-family: var(--font-cond);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--green);
  margin: 48px 0 20px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.amv-legal-content p {
  margin-bottom: 24px;
}
.amv-legal-content ul {
  margin: 0 0 32px 24px;
  padding: 0;
}
.amv-legal-content ul li {
  margin-bottom: 12px;
  position: relative;
  list-style-type: none;
}
.amv-legal-content ul li::before {
  content: '→';
  color: var(--green);
  position: absolute;
  left: -24px;
  font-weight: bold;
}