@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;1,300;1,400&family=Inter:wght@300;400;500&display=swap');

:root {
  --bg: #fafaf8;
  --text: #1a1a1a;
  --accent: #8b7355;
  --muted: #888;
  --border: #e8e4de;
  --heading: 'Cormorant Garamond', serif;
  --body: 'Inter', sans-serif;
  --nav-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

img {
  image-rendering: -webkit-optimize-contrast;
  image-rendering: auto;
  -ms-interpolation-mode: bicubic;
  max-width: 100%;
  height: auto;
}

/* Technical drawings — sharper rendering for plans/sections */
img.drawing {
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
  object-fit: contain;
  background: #fff;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { display: block; width: 100%; }

/* ─── NAV ─── */

nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 48px;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  z-index: 100;
  transition: box-shadow 0.3s;
}

nav.scrolled { box-shadow: 0 2px 20px rgba(0,0,0,0.06); }

.nav-logo {
  font-family: var(--heading);
  font-size: 18px;
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  gap: 40px;
  list-style: none;
}

.nav-links a {
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color 0.2s;
}

.nav-links a:hover,
.nav-links a.active { color: var(--text); }

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}

.nav-hamburger span {
  display: block;
  width: 24px;
  height: 1px;
  background: var(--text);
  transition: transform 0.3s, opacity 0.3s;
}

/* Mobile menu overlay */
.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--bg);
  z-index: 99;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 40px;
}

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

.nav-overlay a {
  font-family: var(--heading);
  font-size: 36px;
  font-weight: 300;
  letter-spacing: 0.05em;
  color: var(--text);
  transition: color 0.2s;
}

.nav-overlay a:hover { color: var(--accent); }

/* ─── HERO ─── */

.hero {
  min-height: 100vh;
  height: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--nav-h) 24px 80px;
  position: relative;
  overflow: visible;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, #f0ede8 0%, #fafaf8 60%);
  z-index: 0;
}

.hero-content { position: relative; z-index: 1; }

.hero-eyebrow {
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 24px;
}

.hero h1 {
  font-family: var(--heading);
  font-size: clamp(52px, 8vw, 96px);
  font-weight: 300;
  line-height: 1.05;
  letter-spacing: -0.01em;
  margin-bottom: 28px;
}

.hero h1 em {
  font-style: italic;
  font-weight: 300;
}

.hero-sub {
  font-size: 14px;
  font-weight: 300;
  letter-spacing: 0.06em;
  color: var(--muted);
  margin-bottom: 48px;
  max-width: 420px;
  margin-left: auto;
  margin-right: auto;
}

.btn {
  display: inline-block;
  padding: 14px 40px;
  border: 1px solid var(--text);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  transition: background 0.25s, color 0.25s;
}

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

.btn-accent {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.btn-accent:hover { background: #7a6347; border-color: #7a6347; color: #fff; }

.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  z-index: 1;
}

.hero-scroll-line {
  width: 1px;
  height: 40px;
  background: var(--muted);
  animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {
  0%, 100% { transform: scaleY(1); opacity: 1; }
  50% { transform: scaleY(0.4); opacity: 0.3; }
}

/* ─── SECTIONS ─── */

section { padding: 100px 48px; }

.section-label {
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}

.section-title {
  font-family: var(--heading);
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 300;
  line-height: 1.1;
  margin-bottom: 48px;
}

.section-title em { font-style: italic; }

/* ─── PROJECT CARDS ─── */

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

.project-card {
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

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

.project-img {
  width: 100%;
  aspect-ratio: 3/4;
  background: #d9d4cc;
  transition: transform 0.6s ease;
  object-fit: cover;
}

.project-img.landscape { aspect-ratio: 4/3; }
.project-img.square { aspect-ratio: 1/1; }

/* CSS placeholder pattern */
.placeholder-img {
  width: 100%;
  background: linear-gradient(135deg, #e8e4de 25%, #d9d4cc 25%, #d9d4cc 50%, #e8e4de 50%, #e8e4de 75%, #d9d4cc 75%);
  background-size: 20px 20px;
  transition: transform 0.6s ease;
}

.placeholder-img.ratio-34 { aspect-ratio: 3/4; }
.placeholder-img.ratio-43 { aspect-ratio: 4/3; }
.placeholder-img.ratio-11 { aspect-ratio: 1/1; }
.placeholder-img.ratio-169 { aspect-ratio: 16/9; }
.placeholder-img.ratio-23 { aspect-ratio: 2/3; }

.project-info {
  padding: 20px 0 8px;
}

.project-info h3 {
  font-family: var(--heading);
  font-size: 20px;
  font-weight: 400;
  margin-bottom: 4px;
}

.project-meta {
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.06em;
}

/* ─── FEATURED SECTION (home) ─── */

.featured { background: var(--bg); }

.featured-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 48px;
}

.featured-header .section-title { margin-bottom: 0; }

/* ─── PORTFOLIO GRID ─── */

.portfolio-filter {
  display: flex;
  gap: 32px;
  margin-bottom: 48px;
  list-style: none;
}

.portfolio-filter button {
  background: none;
  border: none;
  font-family: var(--body);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  cursor: pointer;
  padding-bottom: 4px;
  border-bottom: 1px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}

.portfolio-filter button:hover,
.portfolio-filter button.active {
  color: var(--text);
  border-bottom-color: var(--text);
}

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

/* ─── ABOUT ─── */

.about-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-photo { position: relative; }

.about-photo .placeholder-img { max-height: 600px; }

.about-photo-caption {
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.08em;
  margin-top: 12px;
}

.about-text h2 {
  font-family: var(--heading);
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 300;
  line-height: 1.1;
  margin-bottom: 28px;
}

.about-text h2 em { font-style: italic; }

.about-text p {
  color: #444;
  margin-bottom: 20px;
  font-size: 15px;
  line-height: 1.75;
}

.about-values {
  margin-top: 48px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.value-item h4 {
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 6px;
}

.value-item p { font-size: 13px; color: var(--muted); }

/* ─── SERVICES ─── */

.services-intro {
  max-width: 600px;
  margin-bottom: 72px;
}

.services-intro p { font-size: 15px; color: #444; line-height: 1.8; }

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

.service-card {
  padding: 48px 40px;
  background: #f0ede8;
  transition: background 0.3s;
}

.service-card:hover { background: #e8e4de; }

.service-number {
  font-family: var(--heading);
  font-size: 48px;
  font-weight: 300;
  color: var(--border);
  line-height: 1;
  margin-bottom: 24px;
}

.service-card h3 {
  font-family: var(--heading);
  font-size: 26px;
  font-weight: 400;
  margin-bottom: 16px;
}

.service-card p {
  font-size: 14px;
  color: #555;
  line-height: 1.7;
  margin-bottom: 24px;
}

.service-card ul {
  list-style: none;
  font-size: 13px;
  color: var(--muted);
  line-height: 2;
}

.service-card ul li::before {
  content: '— ';
  color: var(--accent);
}

.services-cta {
  margin-top: 72px;
  text-align: center;
  padding: 72px 48px;
  background: var(--text);
  color: var(--bg);
}

.services-cta h2 {
  font-family: var(--heading);
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 300;
  margin-bottom: 16px;
}

.services-cta p { color: #aaa; margin-bottom: 40px; font-size: 15px; }

.btn-light {
  border-color: var(--bg);
  color: var(--bg);
}

.btn-light:hover { background: var(--bg); color: var(--text); }

/* ─── CONTACT ─── */

.contact-split {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
}

.contact-info h2 {
  font-family: var(--heading);
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 300;
  line-height: 1.1;
  margin-bottom: 24px;
}

.contact-info h2 em { font-style: italic; }

.contact-info p { font-size: 14px; color: #555; line-height: 1.75; margin-bottom: 40px; }

.contact-details { display: flex; flex-direction: column; gap: 16px; }

.contact-detail-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.contact-detail-item span:first-child {
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
}

.contact-detail-item span:last-child { font-size: 14px; }

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

.form-group { display: flex; flex-direction: column; gap: 8px; }

.form-group label {
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}

.form-group input,
.form-group textarea,
.form-group select {
  background: none;
  border: none;
  border-bottom: 1px solid var(--border);
  padding: 12px 0;
  font-family: var(--body);
  font-size: 14px;
  font-weight: 300;
  color: var(--text);
  outline: none;
  transition: border-color 0.2s;
  width: 100%;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus { border-bottom-color: var(--text); }

.form-group textarea { resize: none; height: 120px; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }

.form-success {
  display: none;
  padding: 20px;
  background: #f0ede8;
  text-align: center;
  font-size: 14px;
}

/* ─── FOOTER ─── */

footer {
  padding: 48px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: var(--muted);
}

.footer-logo {
  font-family: var(--heading);
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text);
}

.footer-links { display: flex; gap: 32px; }
.footer-links a { transition: color 0.2s; }
.footer-links a:hover { color: var(--text); }

/* ─── PAGE HEADER (inner pages) ─── */

.page-header {
  padding: 160px 48px 80px;
  border-bottom: 1px solid var(--border);
}

.page-header .section-label { margin-bottom: 20px; }

.page-header h1 {
  font-family: var(--heading);
  font-size: clamp(48px, 7vw, 80px);
  font-weight: 300;
  line-height: 1.05;
}

.page-header h1 em { font-style: italic; }

.page-header p {
  max-width: 500px;
  margin-top: 20px;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.7;
}

/* ─── PREVIEW GATE ─── */

.preview-gate {
  position: fixed;
  inset: 0;
  z-index: 150;
  background: linear-gradient(to bottom,
    transparent 0%,
    transparent 45%,
    rgba(250,250,248,0.6) 60%,
    rgba(250,250,248,0.97) 72%,
    rgba(250,250,248,1) 80%
  );
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  padding-bottom: 72px;
  pointer-events: none;
}

.preview-gate-box {
  pointer-events: all;
  text-align: center;
  max-width: 420px;
  width: calc(100% - 48px);
}

.preview-gate-label {
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}

.preview-gate-title {
  font-family: var(--heading);
  font-size: clamp(24px, 4vw, 36px);
  font-weight: 300;
  line-height: 1.1;
  margin-bottom: 8px;
}

.preview-gate-title em { font-style: italic; }

.preview-gate-sub {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 28px;
}

.preview-gate-form {
  display: flex;
  gap: 12px;
  align-items: center;
  border-bottom: 1px solid var(--border);
  margin-bottom: 12px;
  transition: border-color 0.2s;
}

.preview-gate-form:focus-within { border-bottom-color: var(--text); }

.preview-gate-input {
  flex: 1;
  background: none;
  border: none;
  padding: 12px 0;
  font-family: var(--body);
  font-size: 13px;
  font-weight: 300;
  color: var(--text);
  outline: none;
  letter-spacing: 0.15em;
  text-align: center;
}

.preview-gate-input::placeholder {
  color: var(--muted);
  letter-spacing: 0.2em;
  font-size: 10px;
  text-transform: uppercase;
}

.preview-gate-error {
  font-size: 11px;
  color: #a0522d;
  letter-spacing: 0.08em;
  display: none;
  margin-bottom: 8px;
}

.preview-gate-error.visible { display: block; }

/* ─── IMAGE WATERMARK ─── */

.project-card::after,
.img-protected::after {
  content: '© Izabela Ostatek';
  position: absolute;
  bottom: 68px;
  right: 14px;
  font-family: var(--body);
  font-size: 9px;
  font-weight: 400;
  color: rgba(255,255,255,0.55);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  pointer-events: none;
  text-shadow: 0 1px 5px rgba(0,0,0,0.8);
  z-index: 5;
}

.img-watermark-overlay {
  position: absolute;
  bottom: 14px;
  right: 14px;
  font-family: var(--body);
  font-size: 9px;
  font-weight: 400;
  color: rgba(255,255,255,0.55);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  pointer-events: none;
  text-shadow: 0 1px 5px rgba(0,0,0,0.8);
  z-index: 10;
}

/* ─── FADE IN ─── */

.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in.visible { opacity: 1; transform: none; }

/* ─── GHOST BUTTON ─── */

.btn-ghost {
  display: inline-block;
  padding: 14px 40px;
  border: 1px solid var(--border);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  transition: border-color 0.25s, color 0.25s;
}

.btn-ghost:hover { border-color: var(--text); color: var(--text); }

/* ─── RESPONSIVE ─── */

@media (max-width: 960px) {
  nav { padding: 0 24px; }
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }

  section { padding: 72px 24px; }
  .page-header { padding: 120px 24px 60px; }

  .projects-grid,
  .portfolio-grid { grid-template-columns: 1fr 1fr; }

  .about-split { grid-template-columns: 1fr; gap: 48px; }

  .services-grid { grid-template-columns: 1fr; gap: 2px; }

  .contact-split { grid-template-columns: 1fr; gap: 48px; }

  footer { flex-direction: column; gap: 24px; text-align: center; }
  footer { padding: 48px 24px; }
}

@media (max-width: 600px) {
  .projects-grid,
  .portfolio-grid { grid-template-columns: 1fr; }

  .featured-header { flex-direction: column; align-items: flex-start; gap: 24px; }

  .about-values { grid-template-columns: 1fr; }

  .form-row { grid-template-columns: 1fr; }

  .footer-links { flex-direction: column; gap: 16px; align-items: center; }
}

/* ─── MOBILE GLOBAL ─── */

html, body { overflow-x: hidden; }

/* Hamburger → X when menu open */
.nav-hamburger.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* Touch-friendly tap targets */
.btn, .btn-ghost, .btn-accent, .btn-light {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* ── Form inputs: prevent iOS zoom on focus ── */
input, textarea, select { font-size: 16px; }

@media (max-width: 768px) {

  /* ════════════════════════════════
     JAAL JA
  ════════════════════════════════ */
  .jj-hero { height: 70vh; }
  .jj-hero-overlay { padding: 32px 20px !important; }
  .jj-intro { grid-template-columns: 1fr !important; }
  .jj-intro-text { border-right: none !important; border-bottom: 1px solid var(--border); padding: 40px 20px !important; }
  .jj-stats { padding: 40px 20px !important; }
  .jj-full { height: auto !important; }
  .jj-full img { height: auto !important; object-fit: unset !important; }
  .jj-split { grid-template-columns: 1fr !important; }
  .jj-split-text { padding: 40px 20px !important; }
  .jj-split-img { border-left: none !important; border-top: 1px solid var(--border); }
  .jj-split-img img { min-height: 260px !important; }
  .jj-investment { grid-template-columns: 1fr !important; padding: 40px 20px !important; gap: 32px !important; }
  .jj-enquiry { grid-template-columns: 1fr !important; padding: 40px 20px !important; gap: 32px !important; }

  /* ════════════════════════════════
     LULA SANCTUARY
  ════════════════════════════════ */
  .lula-hero { height: 70vh; }
  .lula-hero-overlay { padding: 32px 20px !important; }
  .lula-full img { height: auto !important; }
  .lula-full-cover img { height: 50vh !important; }
  .lula-caption { padding: 12px 20px 20px !important; }
  .lula-intro { grid-template-columns: 1fr !important; padding: 48px 20px !important; gap: 32px !important; }
  .lula-section-head { padding: 48px 20px 36px !important; }
  .lula-gallery-2 { grid-template-columns: 1fr !important; }
  .lula-split { grid-template-columns: 1fr !important; }
  .lula-split-text { padding: 40px 20px !important; border-right: none !important; border-bottom: 1px solid var(--border); }
  .lula-split-img img { min-height: 260px !important; }
  .lula-text-2 { grid-template-columns: 1fr !important; padding: 48px 20px !important; gap: 32px !important; }
  .lula-location { grid-template-columns: 1fr !important; }
  .lula-location-text { padding: 48px 20px !important; }
  .lula-location-img img { min-height: 280px !important; }
  .lula-enquiry { grid-template-columns: 1fr !important; padding: 48px 20px !important; gap: 32px !important; }

  /* ════════════════════════════════
     ARDEH TULUM
  ════════════════════════════════ */
  .ardeh-hero { height: 70vh; }
  .ardeh-hero-overlay { padding: 32px 20px !important; }
  .ardeh-intro { grid-template-columns: 1fr !important; padding: 48px 20px !important; gap: 32px !important; }
  .ardeh-gallery-2 { grid-template-columns: 1fr !important; }
  .ardeh-split { grid-template-columns: 1fr !important; }
  .ardeh-split-text { padding: 40px 20px !important; border-right: none !important; border-bottom: 1px solid var(--border); }
  .ardeh-full img { height: auto !important; object-fit: unset !important; }
  .ardeh-section-head { padding: 48px 20px 36px !important; }
  .ardeh-investment { grid-template-columns: 1fr !important; padding: 40px 20px !important; gap: 32px !important; }
  .ardeh-enquiry { grid-template-columns: 1fr !important; padding: 40px 20px !important; gap: 32px !important; }
  .ardeh-location { grid-template-columns: 1fr !important; }
  .ardeh-location-text { padding: 48px 20px !important; }

  /* ════════════════════════════════
     OKOM
  ════════════════════════════════ */
  .okom-hero { height: 70vh; }
  .okom-hero-overlay { padding: 32px 20px !important; }
  .okom-intro { grid-template-columns: 1fr !important; padding: 48px 20px !important; gap: 32px !important; }
  .okom-gallery-2 { grid-template-columns: 1fr !important; }
  .okom-split { grid-template-columns: 1fr !important; }
  .okom-split-text { padding: 40px 20px !important; border-right: none !important; border-bottom: 1px solid var(--border); }
  .okom-full img { height: auto !important; object-fit: unset !important; }
  .okom-section-head { padding: 48px 20px 36px !important; }
  .okom-investment { grid-template-columns: 1fr !important; padding: 40px 20px !important; gap: 32px !important; }
  .okom-enquiry { grid-template-columns: 1fr !important; padding: 40px 20px !important; gap: 32px !important; }
  .okom-location { grid-template-columns: 1fr !important; }

  /* ════════════════════════════════
     CORAZÓN DE PLAYA
  ════════════════════════════════ */
  .cdp-hero { height: 70vh; }
  .cdp-hero-overlay { padding: 32px 20px !important; }
  .cdp-intro { grid-template-columns: 1fr !important; }
  .cdp-intro-text { border-right: none !important; border-bottom: 1px solid var(--border); padding: 40px 20px !important; }
  .cdp-stats { padding: 40px 20px !important; }
  .cdp-full img { height: auto !important; object-fit: unset !important; }
  .cdp-full-cover img { height: 50vh !important; }
  .cdp-caption { padding: 12px 20px 20px !important; }
  .cdp-section-head { padding: 48px 20px 36px !important; }
  .cdp-gallery-2 { grid-template-columns: 1fr !important; }
  .cdp-gallery-2 figure:last-child figcaption { border-right: none !important; }
  .cdp-split { grid-template-columns: 1fr !important; }
  .cdp-split-text { border-right: none !important; border-bottom: 1px solid var(--border); padding: 40px 20px !important; }
  .cdp-split-img img { min-height: 260px !important; }
  .cdp-investment { grid-template-columns: 1fr !important; padding: 40px 20px !important; gap: 32px !important; }
  .cdp-enquiry { grid-template-columns: 1fr !important; padding: 40px 20px !important; gap: 32px !important; }

  /* ════════════════════════════════
     TIERRA MADRE
  ════════════════════════════════ */
  .tm-hero { height: 70vh; }
  .tm-hero-overlay { padding: 32px 20px !important; }
  .tm-intro { grid-template-columns: 1fr !important; padding: 48px 20px !important; gap: 32px !important; }
  .tm-amenity-grid { grid-template-columns: 1fr 1fr !important; }
  .tm-split { grid-template-columns: 1fr !important; }
  .tm-split-text { padding: 40px 20px !important; border-right: none !important; border-bottom: 1px solid var(--border); }
  .tm-investment { grid-template-columns: 1fr !important; padding: 40px 20px !important; gap: 32px !important; }
  .tm-enquiry { grid-template-columns: 1fr !important; padding: 40px 20px !important; gap: 32px !important; }

  /* ════════════════════════════════
     SHARED — stat numbers
  ════════════════════════════════ */
  .jj-stat-num, .cdp-stat-num { font-size: 40px !important; }

  /* ════════════════════════════════
     SHARED — detail rows
  ════════════════════════════════ */
  .jj-detail-value, .cdp-detail-value, .ardeh-detail-value,
  .okom-detail-value, .tm-detail-value { font-size: 16px !important; }

  /* ════════════════════════════════
     FOOTER BACK LINK BAR
  ════════════════════════════════ */
  .back-bar {
    flex-direction: column !important;
    gap: 16px !important;
    padding: 32px 20px !important;
    text-align: center !important;
  }
}
