/* ============================================================
   PAVILION SQUARE — Editorial Magazine Design System
   ============================================================ */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;0,800;0,900;1,400;1,600&family=Inter:wght@300;400;500;600;700&family=Cormorant+Garamond:wght@400;500;600&display=swap');

:root {
  --ink:        #1a1f2e;
  --ink-soft:   #2c3142;
  --paper:      #f5f1ea;
  --paper-warm: #ece5d6;
  --sienna:     #c5573a;
  --sienna-dk:  #a8442b;
  --champagne:  #d4b896;
  --champagne-dk: #b5946d;
  --mute:       #8b8579;
  --rule:       rgba(26, 31, 46, 0.12);
  --rule-soft:  rgba(26, 31, 46, 0.06);
  --serif:      'Playfair Display', Georgia, serif;
  --logo-serif: 'Cormorant Garamond', Georgia, serif;
  --sans:       'Inter', -apple-system, sans-serif;
  --max:  1280px;
  --gutter: clamp(20px, 4vw, 64px);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  font-weight: 400;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  line-height: 1.6;
}
img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
button { font-family: var(--sans); cursor: pointer; border: none; background: none; color: inherit; }
ul { list-style: none; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.wrap-narrow { max-width: 880px; margin: 0 auto; padding: 0 var(--gutter); }

.eyebrow {
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--sienna);
  display: inline-flex;
  align-items: center;
  gap: 14px;
}
.eyebrow::before { content: ''; width: 28px; height: 1px; background: var(--sienna); }

.display {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.018em;
  color: var(--ink);
}
.display em { font-style: italic; font-weight: 400; color: var(--sienna); }

.lead {
  font-family: var(--sans);
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--ink-soft);
  font-weight: 400;
}

.btn {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--sans);
  font-size: 0.78rem; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase;
  padding: 18px 32px;
  transition: transform 0.3s cubic-bezier(.2,.7,.3,1), background 0.3s ease, color 0.3s ease;
  cursor: pointer;
}
.btn-ink { background: var(--ink); color: var(--paper); }
.btn-ink:hover { background: var(--sienna); transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--paper); border: 1px solid rgba(245,241,234,0.6); }
.btn-ghost:hover { background: var(--paper); color: var(--ink); transform: translateY(-2px); }
.btn-sienna { background: var(--sienna); color: #fff; }
.btn-sienna:hover { background: var(--sienna-dk); transform: translateY(-2px); }
.btn-outline { background: transparent; color: var(--ink); border: 1px solid var(--ink); }
.btn-outline:hover { background: var(--ink); color: var(--paper); transform: translateY(-2px); }
.btn .arrow {
  display: inline-block; width: 18px; height: 1px;
  background: currentColor; position: relative;
  transition: width 0.3s ease;
}
.btn .arrow::after {
  content: ''; position: absolute; right: -1px; top: 50%;
  width: 7px; height: 7px;
  border-top: 1px solid currentColor; border-right: 1px solid currentColor;
  transform: translateY(-50%) rotate(45deg);
}
.btn:hover .arrow { width: 26px; }

.reveal {
  opacity: 0; transform: translateY(40px);
  transition: opacity 1s cubic-bezier(.2,.7,.3,1), transform 1s cubic-bezier(.2,.7,.3,1);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal.delay-1 { transition-delay: 0.12s; }
.reveal.delay-2 { transition-delay: 0.24s; }
.reveal.delay-3 { transition-delay: 0.36s; }
.reveal.delay-4 { transition-delay: 0.48s; }

/* ============ NAV ============ */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 1000; padding: 18px 0;
  transition: background 0.35s ease, padding 0.35s ease, box-shadow 0.35s ease;
}
.nav.scrolled {
  background: rgba(245,241,234,0.96);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  padding: 12px 0;
  box-shadow: 0 1px 0 var(--rule);
}
.nav-inner {
  max-width: var(--max); margin: 0 auto;
  padding: 0 var(--gutter);
  display: flex; align-items: center; justify-content: space-between;
}
.nav-logo { display: flex; flex-direction: column; align-items: flex-start; line-height: 1; cursor: pointer; }
.nav-logo .l1, .nav-logo .l2 {
  font-family: var(--logo-serif); font-weight: 500;
  letter-spacing: 0.22em; font-size: 1.08rem;
  color: var(--ink); transition: color 0.3s ease;
}
.nav.hero-mode:not(.scrolled) .nav-logo .l1,
.nav.hero-mode:not(.scrolled) .nav-logo .l2,
.nav.hero-mode:not(.scrolled) .nav-logo .l3 { color: var(--paper); }
.nav-logo .l-rule {
  width: 100%; height: 1px; background: var(--champagne-dk);
  margin: 3px 0; transition: background 0.3s ease;
}
.nav.hero-mode:not(.scrolled) .nav-logo .l-rule { background: rgba(245,241,234,0.7); }
.nav-logo .l3 {
  font-family: var(--logo-serif); font-size: 0.56rem;
  letter-spacing: 0.4em; color: var(--ink);
}

.nav-links { display: flex; gap: 38px; align-items: center; }
.nav-link {
  font-size: 0.78rem; font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ink); padding: 6px 0;
  position: relative; transition: color 0.25s ease;
}
.nav.hero-mode:not(.scrolled) .nav-link { color: var(--paper); }
.nav-link::after {
  content: ''; position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 1px; background: var(--sienna);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.35s ease;
}
.nav-link:hover::after, .nav-link.active::after { transform: scaleX(1); }
.nav-link.active { color: var(--sienna); }
.nav.hero-mode:not(.scrolled) .nav-link.active { color: var(--champagne); }
.nav.hero-mode:not(.scrolled) .nav-link.active::after { background: var(--champagne); }

.nav-burger { display: none; flex-direction: column; gap: 5px; padding: 8px; }
.nav-burger span {
  width: 26px; height: 1.5px; background: var(--ink);
  transition: transform 0.3s ease, opacity 0.3s ease, background 0.3s ease;
}
.nav.hero-mode:not(.scrolled) .nav-burger span { background: var(--paper); }
.nav-burger.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; }
.nav-burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============ HERO ============ */
.hero {
  position: relative; min-height: 100vh;
  background: var(--ink); color: var(--paper);
  overflow: hidden;
  display: grid; grid-template-columns: 1fr 1.1fr;
}
.hero-text {
  display: flex; flex-direction: column; justify-content: center;
  padding: 120px var(--gutter) 80px;
  padding-left: max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter)));
  position: relative; z-index: 2;
}
.hero-eyebrow {
  font-size: 0.7rem; font-weight: 500;
  letter-spacing: 0.36em; text-transform: uppercase;
  color: var(--champagne);
  margin-bottom: 28px;
  display: flex; align-items: center; gap: 14px;
}
.hero-eyebrow::before { content: ''; width: 36px; height: 1px; background: var(--champagne); }
.hero-headline {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(2.4rem, 5.2vw, 5rem);
  line-height: 1.04; letter-spacing: -0.02em;
  color: var(--paper); margin-bottom: 32px;
}
.hero-headline em { font-style: italic; font-weight: 400; color: var(--champagne); }
.hero-sub {
  font-size: 1.02rem; line-height: 1.7;
  color: rgba(245,241,234,0.78);
  max-width: 440px; margin-bottom: 30px;
}
.hero-meta {
  font-size: 0.7rem; font-weight: 500;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: rgba(245,241,234,0.55);
  margin-bottom: 44px;
}
.hero-cta { display: flex; gap: 16px; flex-wrap: wrap; }

.hero-visual { position: relative; overflow: hidden; }
.hero-visual::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(90deg, var(--ink) 0%, transparent 35%);
  z-index: 2;
}
.hero-visual img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
  animation: heroZoom 14s ease-out forwards;
}
@keyframes heroZoom { from { transform: scale(1.12); } to { transform: scale(1); } }
.hero-tag {
  position: absolute; right: var(--gutter); bottom: 40px; z-index: 3;
  font-family: var(--logo-serif);
  font-size: 0.7rem; letter-spacing: 0.36em; text-transform: uppercase;
  color: rgba(245,241,234,0.7);
  writing-mode: vertical-rl;
}
.hero-scroll {
  position: absolute;
  left: max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter)));
  bottom: 32px; z-index: 3;
  font-size: 0.65rem; letter-spacing: 0.36em; text-transform: uppercase;
  color: rgba(245,241,234,0.55);
  display: flex; align-items: center; gap: 14px;
}
.hero-scroll::after {
  content: ''; width: 32px; height: 1px;
  background: rgba(245,241,234,0.5);
  animation: scrollLine 2.4s ease-in-out infinite;
}
@keyframes scrollLine {
  0%, 100% { transform: scaleX(1); opacity: 0.5; }
  50% { transform: scaleX(1.6); opacity: 1; }
}

/* ============ WHY — Icon boxes ============ */
.why {
  background: var(--paper);
  padding: clamp(80px, 12vw, 140px) 0;
  position: relative;
}
.why-head {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 70px;
}
.why-head .eyebrow { margin-bottom: 22px; }
.why-head h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2rem, 4.2vw, 3.4rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 22px;
}
.why-head h2 em { font-style: italic; color: var(--sienna); font-weight: 400; }
.why-head p {
  font-size: 0.98rem;
  line-height: 1.7;
  color: var(--ink-soft);
  max-width: 460px;
  margin: 0 auto;
}

.why-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.why-card {
  background: #fffdf9;
  border: 1px solid var(--rule-soft);
  padding: 40px 34px 36px;
  position: relative;
  transition: transform 0.4s cubic-bezier(.2,.7,.3,1), box-shadow 0.4s ease, border-color 0.4s ease;
}
.why-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(26,31,46,0.08);
  border-color: var(--rule);
}
.why-icon {
  width: 64px; height: 64px;
  color: var(--sienna);
  margin-bottom: 26px;
}
.why-icon svg { width: 100%; height: 100%; }
.why-num {
  position: absolute;
  top: 34px; right: 34px;
  font-family: var(--serif);
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--champagne-dk);
  letter-spacing: 0.05em;
}
.why-card-title {
  font-family: var(--serif);
  font-size: 1.4rem;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 14px;
  letter-spacing: -0.01em;
}
.why-card-text {
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--ink-soft);
}
.why-card-text em { font-style: italic; color: var(--sienna); font-weight: 500; }
.why-card-text strong { font-weight: 600; color: var(--ink); }

/* By-the-numbers strip */
.by-numbers {
  background: var(--ink);
  color: var(--paper);
  padding: 64px 0;
}
.by-numbers-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}
.bn-stat {
  text-align: left;
  position: relative;
  padding-left: 24px;
}
.bn-stat::before {
  content: '';
  position: absolute;
  left: 0; top: 8px; bottom: 8px;
  width: 1px;
  background: var(--champagne);
}
.bn-num {
  font-family: var(--serif);
  font-size: clamp(2.5rem, 5vw, 4.2rem);
  font-weight: 500;
  line-height: 1;
  color: var(--paper);
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}
.bn-num .sup {
  font-size: 0.5em;
  vertical-align: super;
  font-weight: 400;
  color: var(--champagne);
}
.bn-label {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(245,241,234,0.65);
}

@media (max-width: 820px) {
  .why-cards { grid-template-columns: 1fr 1fr; gap: 18px; }
  .by-numbers-grid { grid-template-columns: repeat(2, 1fr); gap: 36px; }
}
@media (max-width: 540px) {
  .why-cards { grid-template-columns: 1fr; }
}

/* ============ OVERVIEW — Editorial spec sheet ============ */
.overview {
  background: var(--paper);
  padding: clamp(80px, 12vw, 140px) 0;
}
.overview-head { text-align: center; margin-bottom: 70px; }
.overview-head .eyebrow { margin-bottom: 18px; }
.overview-head h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2.2rem, 4.5vw, 3.6rem);
  letter-spacing: -0.02em;
  color: var(--ink);
}
.overview-head h2 em { font-style: italic; color: var(--sienna); font-weight: 400; }

.overview-table {
  max-width: 940px; margin: 0 auto;
  border-top: 1px solid var(--rule);
}
.overview-row {
  display: grid;
  grid-template-columns: 240px 1fr 240px 1fr;
  gap: 30px;
  padding: 24px 0;
  border-bottom: 1px solid var(--rule);
  align-items: baseline;
}
.overview-row.single { grid-template-columns: 240px 1fr; }
.ov-key {
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--mute);
}
.ov-val {
  font-family: var(--serif);
  font-size: 1.3rem;
  font-weight: 500;
  color: var(--ink);
}

@media (max-width: 740px) {
  .overview-row, .overview-row.single { grid-template-columns: 1fr; gap: 4px; padding: 18px 0; }
  .ov-val { font-size: 1.15rem; }
}

/* ============ LOCATION — Map + accordion ============ */
.location {
  background: var(--paper-warm);
  padding: clamp(80px, 12vw, 140px) 0;
}
.location-head { text-align: center; margin-bottom: 60px; }
.location-head .eyebrow { margin-bottom: 18px; }
.location-head h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2.2rem, 4.5vw, 3.6rem);
  letter-spacing: -0.02em;
  color: var(--ink);
}
.location-head h2 em { font-style: italic; color: var(--sienna); font-weight: 400; }

.location-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(40px, 6vw, 90px);
  align-items: start;
}
.loc-map {
  position: relative;
  display: block;
  overflow: hidden;
  background: var(--paper);
  border: 1px solid var(--rule);
}
.loc-map img {
  width: 100%;
  transition: transform 1s cubic-bezier(.2,.7,.3,1);
}
.loc-map:hover img { transform: scale(1.05); }
.loc-map-label {
  position: absolute;
  top: 20px; left: 20px;
  background: var(--paper);
  padding: 8px 14px;
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink);
}

.loc-desc {
  font-size: 1.02rem;
  line-height: 1.7;
  color: var(--ink-soft);
  margin-bottom: 36px;
}
.loc-desc strong { color: var(--ink); font-weight: 600; }

.acc { border-top: 1px solid var(--rule); }
.acc-item { border-bottom: 1px solid var(--rule); }
.acc-head {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 0;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink);
  transition: color 0.25s ease;
}
.acc-head:hover { color: var(--sienna); }
.acc-item.open .acc-head { color: var(--sienna); }
.acc-sign {
  position: relative;
  width: 14px; height: 14px;
}
.acc-sign::before, .acc-sign::after {
  content: ''; position: absolute;
  background: currentColor;
  transition: transform 0.3s ease;
}
.acc-sign::before { left: 0; right: 0; top: 50%; height: 1px; }
.acc-sign::after { top: 0; bottom: 0; left: 50%; width: 1px; }
.acc-item.open .acc-sign::after { transform: scaleY(0); }
.acc-body {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.45s cubic-bezier(.2,.7,.3,1);
}
.acc-item.open .acc-body { max-height: 320px; }
.acc-body ul {
  padding: 4px 0 22px 0;
  columns: 1;
}
.acc-body li {
  font-size: 0.95rem;
  color: var(--ink-soft);
  padding: 5px 0;
  position: relative;
  padding-left: 22px;
}
.acc-body li::before {
  content: '';
  position: absolute;
  left: 0; top: 13px;
  width: 10px; height: 1px;
  background: var(--champagne-dk);
}

.loc-cta { margin-top: 32px; }

@media (max-width: 820px) {
  .location-grid { grid-template-columns: 1fr; gap: 36px; }
}

/* ============ SLIDER — Editorial gallery ============ */
.slider-sec {
  background: var(--ink);
  padding: clamp(70px, 10vw, 110px) 0;
  color: var(--paper);
}
.slider-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 40px;
  gap: 30px;
}
.slider-head .eyebrow { color: var(--champagne); margin-bottom: 12px; }
.slider-head .eyebrow::before { background: var(--champagne); }
.slider-head h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1.9rem, 3.6vw, 2.8rem);
  letter-spacing: -0.018em;
  color: var(--paper);
}
.slider-head h2 em { font-style: italic; color: var(--champagne); font-weight: 400; }
.slider-counter {
  font-family: var(--serif);
  font-size: 1.3rem;
  color: rgba(245,241,234,0.7);
  letter-spacing: 0.08em;
  white-space: nowrap;
}
.slider-counter .cur { color: var(--champagne); }

.slider-stage {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
}
.slide-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity 0.9s ease, transform 1.2s ease;
}
.slide-img.active { opacity: 1; transform: scale(1); }

.slider-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 30px;
  gap: 20px;
}
.slider-arrows { display: flex; gap: 8px; }
.slider-arrow {
  width: 48px; height: 48px;
  border: 1px solid rgba(245,241,234,0.35);
  color: var(--paper);
  font-size: 1.3rem;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}
.slider-arrow:hover {
  background: var(--paper);
  color: var(--ink);
  border-color: var(--paper);
}
.slider-thumbs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  flex: 1;
  scrollbar-width: none;
}
.slider-thumbs::-webkit-scrollbar { display: none; }
.thumb {
  flex: 0 0 80px;
  height: 50px;
  overflow: hidden;
  opacity: 0.42;
  transition: opacity 0.3s ease, transform 0.3s ease;
  position: relative;
}
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb.active { opacity: 1; }
.thumb.active::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 2px solid var(--champagne);
}
.thumb:hover { opacity: 0.8; }

@media (max-width: 720px) {
  .slider-head { flex-direction: column; align-items: flex-start; }
  .slider-thumbs { display: none; }
}

/* ============ FACILITY — Big editorial pull-quote ============ */
.facility {
  background: var(--ink);
  color: var(--paper);
  padding: clamp(80px, 12vw, 140px) 0;
  border-top: 1px solid rgba(245,241,234,0.08);
}
.facility-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(40px, 6vw, 90px);
  align-items: start;
}
.facility-image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/5;
}
.facility-image img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1.2s ease;
}
.facility-image:hover img { transform: scale(1.04); }
.facility-tag {
  position: absolute;
  top: 24px; left: 24px;
  background: var(--champagne);
  color: var(--ink);
  padding: 8px 14px;
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.facility-copy { padding-top: 20px; }
.facility-copy .eyebrow { color: var(--champagne); margin-bottom: 22px; }
.facility-copy .eyebrow::before { background: var(--champagne); }
.facility-quote {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1.5rem, 2.6vw, 2.2rem);
  line-height: 1.35;
  letter-spacing: -0.012em;
  color: var(--paper);
  margin-bottom: 30px;
}
.facility-quote em { font-style: italic; color: var(--champagne); font-weight: 400; }
.facility-body {
  font-size: 1rem;
  line-height: 1.75;
  color: rgba(245,241,234,0.75);
  margin-bottom: 32px;
}
.facility-body strong { color: var(--champagne); font-weight: 600; }

.facility-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  padding-top: 32px;
  border-top: 1px solid rgba(245,241,234,0.15);
}
.fs-num {
  font-family: var(--serif);
  font-size: 1.8rem;
  font-weight: 500;
  color: var(--champagne);
  line-height: 1;
  margin-bottom: 8px;
}
.fs-label {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(245,241,234,0.6);
}

@media (max-width: 820px) {
  .facility-grid { grid-template-columns: 1fr; gap: 40px; }
  .facility-stats { grid-template-columns: 1fr 1fr; }
}

/* ============ AGENT — Editorial side-by-side ============ */
.agent {
  background: var(--paper);
  padding: clamp(80px, 12vw, 140px) 0;
}
.agent-head { text-align: center; margin-bottom: 70px; }
.agent-head .eyebrow { margin-bottom: 18px; }
.agent-head h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2.2rem, 4.5vw, 3.6rem);
  letter-spacing: -0.02em;
}
.agent-head h2 em { font-style: italic; color: var(--sienna); font-weight: 400; }

.agent-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  max-width: 1040px;
  margin: 0 auto;
}
.agent-card {
  padding-top: 36px;
  border-top: 2px solid var(--ink);
}
.agent-card .label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--sienna);
  margin-bottom: 18px;
}
.agent-card h3 {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 500;
  line-height: 1.3;
  color: var(--ink);
  margin-bottom: 14px;
}
.agent-card .lines {
  margin-bottom: 22px;
}
.agent-card .lines p {
  font-size: 0.95rem;
  color: var(--ink-soft);
  margin-bottom: 4px;
}
.agent-card .note {
  font-size: 0.92rem;
  line-height: 1.7;
  color: var(--mute);
  font-style: italic;
}

@media (max-width: 720px) {
  .agent-grid { grid-template-columns: 1fr; gap: 40px; }
}

/* ============ LAYOUT — Editorial floor plans ============ */
.layout-sec {
  background: var(--paper-warm);
  padding: clamp(80px, 12vw, 140px) 0;
}
.layout-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: end;
  margin-bottom: 50px;
}
.layout-head-left .eyebrow { margin-bottom: 18px; }
.layout-head-left h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2.2rem, 4.5vw, 3.6rem);
  letter-spacing: -0.02em;
  line-height: 1.05;
}
.layout-head-left h2 em { font-style: italic; color: var(--sienna); font-weight: 400; }
.layout-head-right {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--ink-soft);
  max-width: 460px;
  justify-self: end;
}

.layout-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  margin-bottom: 50px;
  border-bottom: 1px solid var(--rule);
}
.layout-filter {
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--mute);
  padding: 14px 22px 18px;
  position: relative;
  transition: color 0.25s ease;
}
.layout-filter:hover { color: var(--ink); }
.layout-filter.active { color: var(--ink); }
.layout-filter.active::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 2px;
  background: var(--sienna);
}

.layout-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 50px 40px;
}
.plan {
  position: relative;
  transition: transform 0.4s ease;
}
.plan.hide { display: none; }
.plan-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--rule);
}
.plan-type {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.plan-cat {
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--sienna);
}
.plan-img {
  display: block;
  background: var(--paper);
  padding: 18px;
  overflow: hidden;
  cursor: zoom-in;
  position: relative;
}
.plan-img img {
  width: 100%;
  transition: transform 0.5s ease;
}
.plan-img:hover img { transform: scale(1.05); }
.plan-img::after {
  content: '⌕';
  position: absolute;
  top: 14px; right: 14px;
  width: 32px; height: 32px;
  background: var(--ink);
  color: var(--paper);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.plan-img:hover::after { opacity: 1; }

.layout-cta {
  margin-top: 60px;
  text-align: center;
}

@media (max-width: 900px) {
  .layout-head { grid-template-columns: 1fr; gap: 24px; }
  .layout-head-right { justify-self: start; }
  .layout-grid { grid-template-columns: 1fr 1fr; gap: 36px 26px; }
}
@media (max-width: 540px) {
  .layout-grid { grid-template-columns: 1fr; gap: 36px; }
}

/* Lightbox */
.lb {
  position: fixed; inset: 0;
  background: rgba(26,31,46,0.94);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
}
.lb.show { display: flex; animation: fadeIn 0.3s ease; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.lb figure {
  max-width: 820px;
  background: var(--paper);
  padding: 24px;
}
.lb img { width: 100%; max-height: 76vh; object-fit: contain; }
.lb figcaption {
  text-align: center;
  margin-top: 14px;
  font-family: var(--serif);
  font-size: 1.1rem;
  color: var(--ink);
}
.lb-close {
  position: absolute;
  top: 24px; right: 30px;
  font-size: 2.2rem;
  color: var(--paper);
  line-height: 1;
}

/* ============ DEVELOPMENTS — Editorial grid ============ */
.devs {
  background: var(--paper);
  padding: clamp(80px, 12vw, 140px) 0;
}
.devs-head { text-align: center; margin-bottom: 60px; }
.devs-head .eyebrow { margin-bottom: 18px; }
.devs-head h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2.2rem, 4.5vw, 3.6rem);
  letter-spacing: -0.02em;
}
.devs-head h2 em { font-style: italic; color: var(--sienna); font-weight: 400; }
.devs-head p {
  font-size: 1rem;
  color: var(--ink-soft);
  max-width: 580px;
  margin: 18px auto 0;
  line-height: 1.7;
}

.devs-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.dev {
  position: relative;
  overflow: hidden;
}
.dev-img {
  aspect-ratio: 3/4;
  overflow: hidden;
}
.dev-img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1s cubic-bezier(.2,.7,.3,1);
}
.dev:hover .dev-img img { transform: scale(1.08); }
.dev-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(26,31,46,0.85) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 26px 22px;
  color: var(--paper);
}
.dev-overlay .num {
  font-family: var(--serif);
  font-size: 0.82rem;
  color: var(--champagne);
  margin-bottom: 8px;
  letter-spacing: 0.08em;
}
.dev-overlay h3 {
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 500;
}

.devs-cta { text-align: center; margin-top: 50px; }

@media (max-width: 900px) {
  .devs-grid { grid-template-columns: 1fr 1fr; gap: 18px; }
}

/* ============ DISCLAIMER ============ */
.disclaimer {
  background: var(--paper-warm);
  padding: 60px 0;
  border-top: 1px solid var(--rule);
}
.disc-inner {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}
.disc-inner .eyebrow {
  justify-content: center;
  margin-bottom: 20px;
}
.disc-inner .eyebrow::before { display: none; }
.disc-inner p {
  font-size: 0.86rem;
  line-height: 1.7;
  color: var(--mute);
  margin-bottom: 10px;
}

/* ============ CONTACT INFO ============ */
.contact-info {
  background: var(--paper);
  padding: 80px 0;
}
.contact-head {
  text-align: center;
  margin-bottom: 50px;
}
.contact-head .eyebrow { margin-bottom: 18px; }
.contact-head h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2rem, 3.8vw, 2.8rem);
  letter-spacing: -0.018em;
}
.contact-head h2 em { font-style: italic; color: var(--sienna); font-weight: 400; }

.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  max-width: 900px;
  margin: 0 auto;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.contact-cell {
  padding: 32px 24px;
  text-align: center;
  border-right: 1px solid var(--rule);
}
.contact-cell:last-child { border-right: none; }
.contact-cell .label {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--sienna);
  margin-bottom: 12px;
}
.contact-cell .value {
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.5;
}
.contact-cell .sub {
  font-size: 0.82rem;
  color: var(--mute);
  margin-top: 4px;
}

@media (max-width: 760px) {
  .contact-grid { grid-template-columns: 1fr; }
  .contact-cell { border-right: none; border-bottom: 1px solid var(--rule); }
  .contact-cell:last-child { border-bottom: none; }
}

/* ============ REGISTER — Editorial form ============ */
.register {
  position: relative;
  background-size: cover;
  background-position: center;
  padding: clamp(80px, 12vw, 140px) 0;
}
.register-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(26,31,46,0.92) 0%, rgba(26,31,46,0.78) 100%);
}
.register-inner {
  position: relative;
  z-index: 2;
  max-width: 720px;
  margin: 0 auto;
  color: var(--paper);
}
.register-head { text-align: center; margin-bottom: 50px; }
.register-head .eyebrow { color: var(--champagne); justify-content: center; margin-bottom: 22px; }
.register-head .eyebrow::before { background: var(--champagne); }
.register-head h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2.2rem, 4.5vw, 3.6rem);
  letter-spacing: -0.02em;
  color: var(--paper);
  margin-bottom: 22px;
}
.register-head h2 em { font-style: italic; color: var(--champagne); font-weight: 400; }
.register-head p {
  font-size: 1.02rem;
  line-height: 1.7;
  color: rgba(245,241,234,0.8);
  max-width: 560px;
  margin: 0 auto 14px;
}
.register-head strong { color: var(--champagne); font-weight: 600; }

.register-form {
  background: transparent;
  border-top: 1px solid rgba(245,241,234,0.18);
  padding-top: 40px;
}
.rf-label {
  display: block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(245,241,234,0.78);
  margin: 18px 0 8px;
}
.rf-label-block { margin-top: 30px; }
.req { color: var(--champagne); }

.rf-input, .rf-select {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(245,241,234,0.3);
  padding: 12px 0;
  font-size: 1rem;
  font-family: var(--sans);
  color: var(--paper);
  outline: none;
  transition: border-color 0.3s ease;
}
.rf-input:focus, .rf-select:focus { border-bottom-color: var(--champagne); }
.rf-input.err { border-bottom-color: #ff8266; }
.rf-input::placeholder { color: rgba(245,241,234,0.4); }
.rf-select { -webkit-appearance: none; appearance: none; cursor: pointer; }
.rf-select option { background: var(--ink); color: var(--paper); }

.rf-row { display: grid; grid-template-columns: 180px 1fr; gap: 28px; }
.rf-error {
  display: block;
  color: #ffaa92;
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  margin-top: 6px;
  min-height: 2px;
}

.rf-checks {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 12px 22px;
  margin-top: 12px;
}
.rf-check {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  cursor: pointer;
  color: rgba(245,241,234,0.85);
}
.rf-check input {
  width: 15px; height: 15px;
  accent-color: var(--champagne);
  cursor: pointer;
}
.rf-hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

.rf-submit {
  margin-top: 40px;
  width: 100%;
  background: var(--champagne);
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 20px;
  transition: background 0.3s ease, color 0.3s ease;
}
.rf-submit:hover { background: var(--paper); }
.rf-submit:disabled { opacity: 0.5; cursor: default; }
.rf-msg {
  margin-top: 18px;
  font-size: 0.88rem;
  text-align: center;
  line-height: 1.5;
}
.rf-msg.ok { color: #bce8c4; }
.rf-msg.bad { color: #ffaa92; }

@media (max-width: 600px) {
  .rf-row { grid-template-columns: 1fr; gap: 0; }
  .rf-checks { grid-template-columns: 1fr 1fr; }
}

/* ============ FOOTER ============ */
.footer {
  background: var(--ink);
  color: rgba(245,241,234,0.65);
  padding: 70px 0 40px;
}
.footer-inner {
  max-width: 980px;
  margin: 0 auto;
}
.footer-logo-wrap {
  text-align: center;
  margin-bottom: 36px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(245,241,234,0.12);
}
.footer-logo {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  line-height: 1;
}
.footer-logo .l1, .footer-logo .l2 {
  font-family: var(--logo-serif);
  font-weight: 500;
  letter-spacing: 0.22em;
  font-size: 1.4rem;
  color: var(--champagne);
}
.footer-logo .l-rule {
  width: 100%; height: 1px;
  background: var(--champagne); margin: 4px 0;
}
.footer-logo .l3 {
  font-family: var(--logo-serif);
  font-size: 0.6rem;
  letter-spacing: 0.4em;
  color: var(--champagne);
}

.footer p {
  font-size: 0.78rem;
  line-height: 1.7;
  margin-bottom: 14px;
  color: rgba(245,241,234,0.55);
}
.footer-strong { color: rgba(245,241,234,0.85); font-weight: 500; }
.footer-bottom {
  margin-top: 30px;
  padding-top: 24px;
  border-top: 1px solid rgba(245,241,234,0.12);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.74rem;
  color: rgba(245,241,234,0.5);
}
.footer-bottom a {
  color: rgba(245,241,234,0.7);
  transition: color 0.2s ease;
}
.footer-bottom a:hover { color: var(--champagne); }
.footer-bottom .sep { margin: 0 10px; }

/* ============ WHATSAPP FLOAT ============ */
.wa {
  position: fixed;
  right: 28px;
  bottom: 28px;
  width: 58px; height: 58px;
  border-radius: 50%;
  background: #25d366;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1500;
  box-shadow: 0 8px 22px rgba(0,0,0,0.25);
  transition: transform 0.3s ease;
  animation: waPulse 2.4s ease-in-out infinite;
}
.wa:hover { transform: scale(1.1); }
@keyframes waPulse {
  0%, 100% { box-shadow: 0 8px 22px rgba(0,0,0,0.25), 0 0 0 0 rgba(37,211,102,0.5); }
  50% { box-shadow: 0 8px 22px rgba(0,0,0,0.25), 0 0 0 14px rgba(37,211,102,0); }
}

/* ============ LEGAL PAGES ============ */
.legal-hero {
  background: var(--ink);
  color: var(--paper);
  padding: 140px 24px 80px;
  text-align: center;
}
.legal-hero .legal-logo {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  line-height: 1;
  margin-bottom: 30px;
}
.legal-hero .l1, .legal-hero .l2 {
  font-family: var(--logo-serif);
  font-weight: 500;
  letter-spacing: 0.22em;
  font-size: 1.4rem;
  color: var(--champagne);
}
.legal-hero .l-rule {
  width: 100%; height: 1px;
  background: var(--champagne); margin: 4px 0;
}
.legal-hero .l3 {
  font-family: var(--logo-serif);
  font-size: 0.6rem;
  letter-spacing: 0.4em;
  color: var(--champagne);
}
.legal-hero .eyebrow {
  color: var(--champagne);
  justify-content: center;
  margin-bottom: 18px;
  display: flex;
}
.legal-hero .eyebrow::before { background: var(--champagne); }
.legal-hero h1 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2rem, 4.5vw, 3.4rem);
  letter-spacing: -0.02em;
  color: var(--paper);
  margin-bottom: 20px;
}
.legal-back {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--champagne);
  transition: gap 0.3s ease;
}
.legal-back:hover { gap: 16px; }

.legal-body {
  max-width: 820px;
  margin: 0 auto;
  padding: 70px 24px 90px;
}
.legal-body .legal-intro {
  font-family: var(--serif);
  font-size: 1.25rem;
  line-height: 1.55;
  color: var(--ink);
  margin-bottom: 40px;
  font-weight: 500;
}
.legal-body h2 {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--ink);
  margin: 44px 0 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--rule);
  letter-spacing: -0.01em;
}
.legal-body h3 {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--sienna);
  margin: 26px 0 10px;
}
.legal-body p {
  font-size: 0.96rem;
  line-height: 1.8;
  color: var(--ink-soft);
  margin-bottom: 16px;
}
.legal-body ul { margin: 0 0 18px 0; }
.legal-body ul li {
  position: relative;
  font-size: 0.94rem;
  line-height: 1.75;
  color: var(--ink-soft);
  padding-left: 24px;
  margin-bottom: 10px;
}
.legal-body ul li::before {
  content: '';
  position: absolute;
  left: 0; top: 13px;
  width: 12px; height: 1px;
  background: var(--sienna);
}
.legal-body strong { color: var(--ink); font-weight: 600; }
.legal-contact {
  margin-top: 36px;
  padding: 26px 28px;
  background: var(--paper-warm);
  border-left: 3px solid var(--sienna);
}
.legal-contact p { margin-bottom: 4px; }

/* ============ MOBILE NAV ============ */
@media (max-width: 880px) {
  .nav-burger { display: flex; }
  .nav-links {
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--paper);
    flex-direction: column;
    gap: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(.2,.7,.3,1);
    box-shadow: 0 10px 24px rgba(0,0,0,0.1);
  }
  .nav-links.is-open { max-height: 360px; }
  .nav-link {
    width: 100%;
    text-align: center;
    padding: 18px 0;
    color: var(--ink) !important;
    border-bottom: 1px solid var(--rule-soft);
  }
  .nav-link::after { display: none; }
}

/* ============ MOBILE - HERO ============ */
@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .hero-visual {
    height: 50vh;
    order: -1;
    position: relative;
  }
  .hero-visual::before {
    background: linear-gradient(180deg, rgba(26,31,46,0.2) 0%, var(--ink) 100%);
  }
  .hero-text {
    padding: 30px var(--gutter) 80px;
  }
  .hero-tag, .hero-scroll { display: none; }
}
