/* ==========================================================================
   Avex Not Alex — Property Reviews site stylesheet
   ========================================================================== */

:root {
  --primary: #7a5a14;
  --primary-dark: #5f4510;
  --primary-light: #f7ecd8;
  --primary-light-border: #e8d2a0;
  --whatsapp: #25d366;
  --whatsapp-dark: #1ebe5d;
  --text: #1c1a17;
  --text-light: #6f6960;
  --border: #e6e0d6;
  --bg: #f2ede3;
  --white: #faf7f1;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
}

a {
  color: inherit;
}

img {
  max-width: 100%;
  display: block;
}

/* ---------------- Header ---------------- */

header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.logo {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text);
  white-space: nowrap;
  text-decoration: none;
}

.logo span {
  color: var(--primary);
  font-weight: 500;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.nav-links a {
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text);
  transition: color 0.15s ease;
}

.nav-links a:hover {
  color: var(--primary);
}

.whatsapp-btn {
  background: var(--whatsapp);
  color: var(--white) !important;
  padding: 10px 20px;
  border-radius: 999px;
  font-weight: 700;
  transition: background 0.15s ease, transform 0.15s ease;
}

.whatsapp-btn:hover {
  background: var(--whatsapp-dark);
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 34px;
  height: 34px;
  padding: 0;
  background: none;
  border: none;
  cursor: pointer;
  flex-shrink: 0;
}

.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ---------------- Hero ---------------- */

.hero {
  padding: 120px 24px 96px;
  text-align: left;
  background:
    linear-gradient(115deg, rgba(8, 12, 26, 0.92) 15%, rgba(8, 12, 26, 0.7) 55%, rgba(8, 12, 26, 0.4) 100%),
    url('hero-bg.jpg');
  background-size: cover;
  background-position: center;
  color: #f5f1e8;
}

.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.hero-eyebrow {
  color: #d4af6a;
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.hero h1 {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 3.2rem;
  font-weight: 700;
  line-height: 1.15;
  margin: 0 0 28px;
  color: #f5f1e8;
}

.hero h1 .accent {
  display: block;
  font-size: 0.42em;
  font-weight: 600;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  letter-spacing: 0.5px;
  color: #d4af6a;
  margin-top: 14px;
}

.hero p {
  font-size: 1.05rem;
  color: #c9cddb;
  max-width: 560px;
  margin: 0 0 36px;
}

.hero-cta-row {
  display: flex;
  gap: 16px;
  justify-content: flex-start;
  flex-wrap: wrap;
}

.hero-btn-primary,
.hero-btn-secondary {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 8px;
  font-weight: 700;
  text-decoration: none;
  font-size: 0.95rem;
  transition: all 0.15s ease;
}

.hero-btn-primary {
  background: var(--primary);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(122, 90, 20, 0.3);
}

.hero-btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
}

.hero-btn-secondary {
  background: transparent;
  color: #f5f1e8;
  border: 2px solid rgba(245, 241, 232, 0.5);
}

.hero-btn-secondary:hover {
  border-color: #f5f1e8;
  background: rgba(245, 241, 232, 0.08);
}

.hero-reassure {
  margin-top: 18px;
  font-size: 0.88rem;
  color: #c9cddb;
}

/* CTA pair under the homepage About block */

.about-cta-row {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 18px;
}

.about-cta-primary {
  display: inline-block;
  background: var(--whatsapp);
  color: var(--white);
  padding: 11px 22px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  transition: background 0.15s ease, transform 0.15s ease;
}

.about-cta-primary:hover {
  background: var(--whatsapp-dark);
  transform: translateY(-1px);
}

.about-cta-link {
  color: var(--primary);
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
}

.about-cta-link:hover {
  text-decoration: underline;
}

/* ---------------- About ---------------- */

.about-section {
  padding: 64px 24px;
  background: var(--white);
}

.about-inner {
  max-width: 960px;
  margin: 0 auto;
  display: flex;
  gap: 40px;
  align-items: flex-start;
}

.about-photo {
  flex-shrink: 0;
  width: 300px;
  height: auto;
  aspect-ratio: 4 / 5;
  border-radius: 14px;
  object-fit: cover;
  object-position: center 22%;
  box-shadow: 0 10px 30px rgba(28, 26, 23, 0.14);
}

.about-text h2 {
  font-size: 1.7rem;
  margin: 0 0 16px;
}

.about-text p {
  color: var(--text-light);
  margin: 0 0 16px;
}

.ren-badge {
  display: inline-block;
  background: var(--primary-light);
  color: var(--primary);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 700;
}

/* ---------------- Shared section heads ---------------- */

.why-eyebrow,
.videos-eyebrow {
  color: var(--primary);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.why-heading,
.videos-heading {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.25;
  margin: 0 0 16px;
}

.videos-sub {
  color: var(--text-light);
  font-size: 1.05rem;
  line-height: 1.7;
  max-width: 580px;
  margin: 0 0 36px;
}

/* ---------------- Why work with me ---------------- */

.why-section {
  padding: 72px 24px;
  background: var(--bg);
}

.why-inner {
  max-width: 1000px;
  margin: 0 auto;
}

.why-heading {
  margin-bottom: 20px;
  max-width: 640px;
}

.why-lede {
  font-size: 1.02rem;
  line-height: 1.75;
  color: var(--text-light);
  max-width: 680px;
  margin: 0 0 44px;
}

.journey {
  position: relative;
  max-width: 640px;
}

.journey::before {
  content: "";
  position: absolute;
  top: 6px;
  bottom: 6px;
  left: 17px;
  width: 1px;
  background: var(--border);
}

.journey-step {
  position: relative;
  display: flex;
  gap: 24px;
  padding-bottom: 36px;
}

.journey-step:last-child {
  padding-bottom: 0;
}

.journey-num {
  position: relative;
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--white);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 700;
  font-size: 1rem;
  color: var(--primary);
}

.journey-text h3 {
  font-size: 1.02rem;
  font-weight: 700;
  margin: 4px 0 8px;
}

.journey-text p {
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text-light);
  margin: 0;
}

/* ---------------- Videos ---------------- */

.videos-section {
  padding: 72px 24px;
  background: var(--bg);
}

.videos-inner {
  max-width: 1000px;
  margin: 0 auto;
}

.videos-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

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

.video-card {
  text-decoration: none;
  color: inherit;
}

.video-thumb {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  background: var(--border);
  aspect-ratio: 16 / 9;
}

.video-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.25s ease;
}

.video-card:hover .video-thumb img {
  transform: scale(1.04);
}

.video-play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  color: #ffffff;
  background: rgba(20, 18, 15, 0.28);
  transition: background 0.2s ease;
}

.video-card:hover .video-play {
  background: rgba(20, 18, 15, 0.12);
}

/* ---------------- Market Notes ---------------- */

.news-item {
  border-top: 1px solid var(--border);
  padding: 36px 0 8px;
}

.news-item:first-child {
  border-top: none;
  padding-top: 8px;
}

.news-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.news-meta time {
  font-size: 0.9rem;
  color: var(--text-light);
}

.news-item h2 {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.65rem;
  font-weight: 700;
  line-height: 1.3;
  margin: 0 0 18px;
  max-width: 700px;
}

.news-item p {
  color: var(--text-light);
  line-height: 1.75;
  max-width: 700px;
  margin: 0 0 16px;
}

.news-take {
  background: var(--primary-light);
  border: 1px solid var(--primary-light-border);
  border-radius: 12px;
  padding: 18px 22px;
  max-width: 700px;
  margin: 22px 0 18px;
}

.news-take strong {
  display: block;
  color: var(--primary);
  font-size: 0.82rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.news-take p {
  color: var(--text);
  margin: 0;
}

.news-sources {
  font-size: 0.88rem;
  color: var(--text-light);
  line-height: 1.7;
  max-width: 700px;
}

.news-sources a {
  color: var(--primary);
}

@media (max-width: 640px) {
  .news-item h2 {
    font-size: 1.3rem;
  }
}

.related-videos {
  margin-bottom: 8px;
}

.related-videos .video-card h3 {
  font-size: 0.95rem;
}

.video-card h3 {
  font-size: 1.08rem;
  font-weight: 700;
  line-height: 1.45;
  margin: 14px 0 0;
}

.videos-btn {
  display: inline-block;
  padding: 13px 28px;
  border: 2px solid var(--text);
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  color: var(--text);
  transition: all 0.15s ease;
}

.videos-btn:hover {
  background: var(--text);
  color: var(--white);
}

/* ---------------- Projects ---------------- */

.projects-section {
  padding: 64px 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.search-bar {
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
}

.search-input {
  width: 100%;
  max-width: 420px;
  padding: 12px 18px;
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 0.95rem;
  font-family: inherit;
  color: var(--text);
  background: var(--white);
}

.search-input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-light);
}

.filter-bar {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.result-count {
  text-align: center;
  font-size: 0.88rem;
  color: var(--text-light);
  margin-bottom: 16px;
}

.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin: 32px 0 8px;
}

.page-btn {
  min-width: 44px;
  height: 44px;
  padding: 0 8px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  cursor: pointer;
  font-weight: 700;
  font-size: 0.95rem;
  font-family: inherit;
  color: var(--text);
  transition: all 0.15s ease;
}

.page-btn:hover:not(:disabled) {
  border-color: var(--primary);
  color: var(--primary);
}

.page-btn.active {
  background: var(--text);
  border-color: var(--text);
  color: var(--white);
}

.page-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.page-arrow {
  font-size: 1.1rem;
}

.page-ellipsis {
  color: var(--text-light);
  padding: 0 4px;
  font-weight: 700;
}

.filter-chip {
  background: var(--white);
  border: 1px solid var(--border);
  padding: 10px 22px;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.95rem;
  font-family: inherit;
  color: var(--text);
  transition: all 0.15s ease;
}

.filter-chip:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.filter-chip.active {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}

.empty-state {
  text-align: center;
  padding: 48px 24px;
  color: var(--text-light);
  font-size: 1rem;
  background: var(--bg);
  border: 1px dashed var(--border);
  border-radius: 12px;
  margin-bottom: 8px;
}

.empty-state a {
  color: var(--primary);
  font-weight: 700;
}

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

/* 2 across on tablets, 1 on phones — 3 fixed columns only on desktop */
@media (max-width: 1000px) {
  .project-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

.project-card {
  display: block;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.project-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(17, 24, 39, 0.08);
  border-color: var(--primary-light-border);
}

.card-image {
  position: relative;
  height: 215px;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
  font-size: 0.9rem;
  overflow: hidden;
}

/* The photo sits on top of the placeholder. If the file isn't there yet,
   the img removes itself and the "Photo coming soon" text shows through. */
.card-image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.25s ease;
}

.project-card:hover .card-image img {
  transform: scale(1.04);
}

.card-image-placeholder {
  color: var(--text-light);
}

.card-body {
  padding: 20px;
}

.card-area {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 0.5px;
  margin-bottom: 6px;
}

.card-title {
  font-size: 1.28rem;
  font-weight: 800;
  margin-bottom: 14px;
}

.card-facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 16px;
  font-size: 0.88rem;
  color: var(--text-light);
  margin-bottom: 16px;
}

.card-facts strong {
  display: block;
  font-size: 1rem;
  color: var(--text);
  font-weight: 700;
}

.card-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.card-tag {
  font-size: 0.78rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 6px;
}

.tag-lh {
  background: #fef3c7;
  color: #92400e;
}

.tag-fh {
  background: #dcfce7;
  color: #166534;
}

.tag-video {
  background: var(--text);
  color: var(--white);
}

.tag-note {
  background: #fef3c7;
  color: #7a4a00;
}

/* ---------------- Mid-page CTA band ---------------- */

.cta-band {
  background: var(--white);
  border-top: 1px solid var(--border);
  padding: 72px 24px;
}

.cta-inner {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.cta-eyebrow {
  color: var(--primary);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.cta-band h2 {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.25;
  margin: 0 0 18px;
  color: var(--text);
}

.cta-band p {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-light);
  max-width: 560px;
  margin: 0 auto 32px;
}

.cta-row {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

.cta-btn-primary,
.cta-btn-secondary {
  display: inline-block;
  padding: 15px 32px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  transition: all 0.15s ease;
}

.cta-btn-primary {
  background: var(--whatsapp);
  color: #ffffff;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.22);
}

.cta-btn-primary:hover {
  background: var(--whatsapp-dark);
  transform: translateY(-2px);
}

.cta-btn-secondary {
  background: transparent;
  color: var(--text);
  border: 2px solid var(--border);
}

.cta-btn-secondary:hover {
  border-color: var(--text);
  background: var(--white);
}

.cta-reassure {
  margin-top: 20px;
  font-size: 0.9rem;
  color: var(--text-light);
}

/* ---------------- Project detail page ---------------- */

.detail-loading {
  padding: 120px 24px;
  text-align: center;
  color: var(--text-light);
}

.detail-notfound {
  max-width: 480px;
  margin: 0 auto;
  padding: 120px 24px;
  text-align: center;
}

.detail-notfound h1 {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.8rem;
  margin-bottom: 12px;
}

.detail-notfound p {
  color: var(--text-light);
  margin-bottom: 28px;
}

.detail-hero {
  background: linear-gradient(135deg, #12182b 0%, #1e2742 55%, #35241a 100%);
  color: #f5f1e8;
  padding: 48px 24px 40px;
}

.detail-hero-inner {
  max-width: 1000px;
  margin: 0 auto;
}

.detail-back {
  display: inline-block;
  color: #c9cddb;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 20px;
}

.detail-back:hover {
  color: #f5f1e8;
}

.detail-breadcrumb {
  color: #d4af6a;
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.detail-hero h1 {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 2.2rem;
  font-weight: 700;
  margin: 0 0 18px;
  color: #f5f1e8;
}

.detail-body {
  max-width: 1000px;
  margin: 0 auto;
  padding: 48px 24px 80px;
}

.detail-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 32px;
  margin-bottom: 40px;
}

.detail-photo {
  border-radius: 14px;
  overflow: hidden;
  background: var(--bg);
  min-height: 280px;
  display: flex;
}

.detail-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.detail-photo-placeholder {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
  padding: 80px 24px;
}

.detail-facts-panel {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  height: fit-content;
}

.detail-fact {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 0.95rem;
  color: var(--text-light);
  border-bottom: 1px solid var(--border);
  padding-bottom: 12px;
}

.detail-fact:last-of-type {
  border-bottom: none;
  padding-bottom: 0;
}

.detail-fact strong {
  color: var(--text);
  font-size: 0.95rem;
  font-weight: 700;
}

.detail-cta {
  text-align: center;
  margin-top: 8px;
}

.detail-subheading {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.4rem;
  font-weight: 700;
  margin: 0 0 18px;
  color: var(--text);
}

.detail-note {
  background: #fef3c7;
  color: #7a4a00;
  border-radius: 10px;
  padding: 14px 18px;
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 40px;
}

/* ---------------- Registration gate ---------------- */

html.gate-locked,
html.gate-locked body {
  overflow: hidden;
  height: 100%;
}

/* Blur and mute the page behind the gate so visitors can see there's real
   content here, without being able to read it. */
html.gate-locked body > header,
html.gate-locked body > section,
html.gate-locked body > main,
html.gate-locked body > footer,
html.gate-locked body > .floating-whatsapp {
  filter: blur(7px);
  pointer-events: none;
  user-select: none;
}

.gate-overlay {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(20, 26, 44, 0.82);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  overflow-y: auto;
}

.gate-card {
  background: var(--white);
  border-radius: 18px;
  padding: 40px 36px 30px;
  max-width: 460px;
  width: 100%;
  text-align: center;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
  margin: auto;
}

.gate-agent {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 18px;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--border);
  text-align: left;
}

.gate-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
  flex-shrink: 0;
  border: 2px solid var(--primary-light-border);
}

.gate-agent-text {
  display: flex;
  flex-direction: column;
  line-height: 1.35;
}

.gate-agent-text strong {
  font-size: 0.95rem;
  color: var(--text);
}

.gate-agent-text span {
  font-size: 0.8rem;
  color: var(--primary);
  font-weight: 600;
  letter-spacing: 0.01em;
}

.gate-preview {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  margin: 0 0 22px;
  border-radius: 10px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to bottom, #000 55%, transparent);
  mask-image: linear-gradient(to bottom, #000 55%, transparent);
}

.gate-preview img {
  width: 100%;
  height: 62px;
  object-fit: cover;
  border-radius: 6px;
}

.gate-card h2 {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.55rem;
  font-weight: 700;
  margin: 0 0 10px;
  color: var(--text);
  line-height: 1.25;
}

.gate-sub {
  font-size: 0.98rem;
  color: var(--text-light);
  line-height: 1.6;
  margin: 0 0 22px;
}

.gate-points {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  text-align: left;
  display: inline-block;
}

.gate-points li {
  font-size: 0.95rem;
  color: var(--text);
  padding: 5px 0 5px 24px;
  position: relative;
}

.gate-points li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: 700;
}

#gateForm input[type="text"],
#gateForm input[type="tel"],
#gateForm input[type="email"] {
  width: 100%;
  padding: 13px 16px;
  margin-bottom: 11px;
  border: 1px solid var(--border);
  border-radius: 10px;
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--text);
  background: var(--white);
}

#gateForm input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-light);
}

.gate-error {
  background: #fdecec;
  color: #a32d2d;
  border-radius: 8px;
  padding: 9px 12px;
  font-size: 0.88rem;
  margin: 0 0 12px;
  text-align: left;
}

.gate-btn {
  width: 100%;
  background: var(--primary);
  color: var(--white);
  border: none;
  border-radius: 10px;
  padding: 15px 20px;
  font-family: inherit;
  font-weight: 700;
  font-size: 0.98rem;
  cursor: pointer;
  transition: background 0.15s ease;
}

.gate-btn:hover:not(:disabled) {
  background: var(--primary-dark);
}

.gate-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.gate-foot {
  font-size: 0.82rem;
  color: var(--text-light);
  margin: 16px 0 0;
  line-height: 1.55;
}

.gate-foot a {
  color: var(--primary);
  font-weight: 600;
}

@media (max-width: 520px) {
  .gate-card {
    padding: 32px 24px 24px;
  }

  .gate-card h2 {
    font-size: 1.35rem;
  }
}

/* ---------------- About page ---------------- */

.about-page-grid {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 40px;
  align-items: start;
  margin-bottom: 48px;
}

.about-page-photo img {
  width: 100%;
  height: auto;
  /* Fixed 4:5 crop so a tall portrait photo doesn't stretch the whole column.
     object-position keeps the face in frame rather than centring on the chest. */
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center 22%;
  border-radius: 14px;
  border: 1px solid var(--border);
}

.about-page-text p {
  color: var(--text-light);
  line-height: 1.8;
  margin: 0 0 18px;
}

.about-page-text strong {
  color: var(--text);
}

.about-page-cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 8px;
}

@media (max-width: 760px) {
  .about-page-grid {
    grid-template-columns: 1fr;
  }

  .about-page-photo {
    max-width: 260px;
    margin: 0 auto;
  }
}

/* ---------------- MM2H page ---------------- */

.nav-active {
  color: var(--primary) !important;
  font-weight: 800;
}

.mm2h-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: 14px;
  margin-bottom: 14px;
  background: var(--bg);
}

.mm2h-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
  min-width: 640px;
}

.mm2h-table th {
  text-align: left;
  padding: 14px 16px;
  background: var(--text);
  color: var(--white);
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  white-space: nowrap;
}

.mm2h-table td {
  padding: 14px 16px;
  border-top: 1px solid var(--border);
  color: var(--text);
}

.mm2h-table tbody tr:nth-child(even) {
  background: rgba(255, 255, 255, 0.5);
}

.mm2h-note,
.mm2h-lede {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.7;
  margin: 0 0 32px;
}

.mm2h-lede {
  margin-bottom: 20px;
}

.mm2h-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}

.mm2h-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 22px;
}

.mm2h-card-label {
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-light);
  font-weight: 700;
  margin-bottom: 8px;
}

.mm2h-card-figure {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 10px;
}

.mm2h-card p {
  margin: 0;
  font-size: 0.86rem;
  color: var(--text-light);
  line-height: 1.6;
}

.mm2h-list {
  margin: 0 0 40px;
  padding-left: 22px;
  color: var(--text-light);
  font-size: 1rem;
  line-height: 1.8;
}

.mm2h-list li {
  margin-bottom: 10px;
}

.mm2h-list strong {
  color: var(--text);
}

.mm2h-disclaimer {
  font-size: 0.8rem;
  color: var(--text-light);
  line-height: 1.7;
  border-top: 1px solid var(--border);
  padding-top: 20px;
  margin-top: 40px;
}

@media (max-width: 900px) {
  .mm2h-cards {
    grid-template-columns: 1fr;
  }
}

.detail-map-wrap {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg);
  margin-bottom: 14px;
}

.detail-map {
  width: 100%;
  height: 320px;
  border: 0;
  display: block;
}

.detail-map-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--primary);
  text-decoration: none;
  margin-bottom: 40px;
}

.detail-map-link:hover {
  text-decoration: underline;
}

.floorplan-tabs {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.floorplan-tab {
  background: var(--white);
  border: 1px solid var(--border);
  padding: 9px 20px;
  border-radius: 999px;
  font-family: inherit;
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--text);
  cursor: pointer;
  transition: all 0.15s ease;
}

.floorplan-tab:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.floorplan-tab.active {
  background: var(--text);
  border-color: var(--text);
  color: var(--white);
}

.floorplan-panels {
  margin-bottom: 40px;
}

.floorplan-panel {
  display: none;
  text-align: center;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 24px;
}

.floorplan-panel.active {
  display: block;
}

.floorplan-panel img {
  max-width: 100%;
  max-height: 480px;
  margin: 0 auto 16px;
  border-radius: 8px;
  cursor: zoom-in;
}

.floorplan-caption {
  font-size: 0.88rem;
  color: var(--text-light);
  font-weight: 600;
}

.floorplan-zoom-hint {
  display: inline-block;
  margin-left: 10px;
  font-weight: 500;
  font-size: 0.8rem;
  color: var(--text-light);
  opacity: 0.75;
}

.lightbox-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(20, 16, 10, 0.92);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  cursor: zoom-out;
}

.lightbox-overlay.open {
  display: flex;
}

.lightbox-img {
  max-width: 100%;
  max-height: 100%;
  border-radius: 8px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
  cursor: default;
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 24px;
  background: var(--white);
  border: none;
  border-radius: 999px;
  width: 40px;
  height: 40px;
  font-size: 1.1rem;
  cursor: pointer;
  color: var(--text);
}

.lightbox-close:hover {
  background: var(--primary-light);
}

.detail-video {
  margin-bottom: 40px;
}

.detail-video iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  border: none;
  border-radius: 14px;
}

.detail-review {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--text);
  white-space: pre-line;
}

.detail-review-empty {
  background: var(--bg);
  border: 1px dashed var(--border);
  border-radius: 12px;
  padding: 28px;
  color: var(--text-light);
  font-size: 0.95rem;
}

.detail-review-empty a {
  color: var(--primary);
  font-weight: 700;
}

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

  .detail-hero h1 {
    font-size: 1.7rem;
  }
}

/* ---------------- Footer ---------------- */

footer {
  background: var(--text);
  color: var(--white);
  padding: 48px 24px;
  text-align: center;
}

footer div {
  margin-bottom: 14px;
  font-size: 0.95rem;
}

footer a {
  color: var(--white);
  text-decoration: underline;
}

.footer-whatsapp {
  display: inline-block;
  background: var(--whatsapp);
  color: var(--white) !important;
  padding: 12px 30px;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none !important;
  margin: 4px 0 20px;
  transition: background 0.15s ease;
}

.footer-whatsapp:hover {
  background: var(--whatsapp-dark);
}

/* ---------------- Floating WhatsApp button ---------------- */

.floating-whatsapp {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 58px;
  height: 58px;
  background: var(--whatsapp);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  text-decoration: none;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
  z-index: 200;
  transition: transform 0.15s ease;
}

.floating-whatsapp:hover {
  transform: scale(1.08);
}

/* ---------------- Responsive ---------------- */

@media (max-width: 640px) {
  .hero h1 {
    font-size: 2rem;
  }

  .about-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .about-photo {
    width: 200px;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--white);
    border: 1px solid var(--border);
    border-top: none;
    padding: 8px 24px 16px;
    box-shadow: 0 12px 20px rgba(28, 26, 23, 0.08);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a:not(.whatsapp-btn) {
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
  }

  .whatsapp-btn {
    text-align: center;
    margin-top: 10px;
  }

  .why-heading,
  .videos-heading,
  .cta-band h2 {
    font-size: 1.6rem;
  }

  .journey::before {
    left: 15px;
  }

  .journey-step {
    gap: 18px;
  }
}
