:root {
  --bg: #f4f1ec;
  --bg-soft: #f8f5f0;
  --surface: #ece7df;
  --card: rgba(255, 255, 255, 0.75);
  --text: #2f2f2b;
  --muted: #66635d;
  --accent: #8f7a5a;
  --accent-dark: #746246;
  --line: rgba(0, 0, 0, 0.07);
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --container: 1200px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

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

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

.container {
  width: min(var(--container), calc(100% - 32px));
  margin: 0 auto;
}

.section {
  padding: 88px 0;
}

.section-soft {
  background: rgba(255, 255, 255, 0.45);
}

.section-label {
  display: inline-block;
  margin-bottom: 16px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--accent);
}

h1,
h2,
h3 {
  line-height: 1.15;
}

h1 {
  font-size: clamp(2.6rem, 6vw, 4.8rem);
  font-weight: 700;
  letter-spacing: -0.03em;
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.03em;
}

h3 {
  font-size: 1.1rem;
  font-weight: 600;
}

p {
  color: var(--muted);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 24px;
  border-radius: 999px;
  font-weight: 600;
  transition: 0.25s ease;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 14px 30px rgba(143, 122, 90, 0.22);
}

.btn-primary:hover {
  background: var(--accent-dark);
}

.btn-secondary {
  border: 1px solid rgba(143, 122, 90, 0.18);
  background: rgba(255, 255, 255, 0.7);
  color: var(--text);
}

.btn-secondary:hover {
  background: #fff;
}

.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid var(--line);
  background: rgba(244, 241, 236, 0.88);
  backdrop-filter: blur(16px);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 84px;
  gap: 20px;
}

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

.logo-icon {
  width: 46px;
  height: 46px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-top {
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 700;
}

.logo-bottom {
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.desktop-nav a,
.mobile-nav a {
  font-size: 0.95rem;
  font-weight: 500;
  color: #474640;
}

.desktop-nav a:hover,
.mobile-nav a:hover {
  color: var(--accent);
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  cursor: pointer;
  padding: 10px;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--text);
  margin: 4px 0;
  transition: 0.25s ease;
}

.menu-toggle.active span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.mobile-menu {
  display: none;
  border-top: 1px solid var(--line);
  background: var(--bg-soft);
}

.mobile-menu.open {
  display: block;
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  padding: 18px 16px 22px;
  gap: 8px;
}

.mobile-nav a {
  padding: 12px 10px;
  border-radius: 14px;
}

.mobile-cta {
  margin-top: 8px;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 72px 0 88px;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top right, rgba(143, 122, 90, 0.18), transparent 28%),
    linear-gradient(to bottom, rgba(255,255,255,0.35), rgba(255,255,255,0));
  pointer-events: none;
}

.hero-grid,
.visual-grid,
.contact-grid,
.split-section {
  display: grid;
  gap: 40px;
  align-items: center;
}

.hero-grid {
  grid-template-columns: 1.05fr 0.95fr;
}

.hero-content p {
  max-width: 600px;
  margin-top: 22px;
  font-size: 1.05rem;
  line-height: 1.9;
}

.hero-actions {
  display: flex;
  gap: 16px;
  margin-top: 32px;
  flex-wrap: wrap;
}

.placeholder-box {
  min-height: 420px;
  border-radius: var(--radius-xl);
  border: 1px dashed rgba(143, 122, 90, 0.28);
  background: linear-gradient(135deg, #ddd5ca, #f8f4ee);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 32px;
  box-shadow: var(--shadow);
}

.placeholder-box h3 {
  margin: 10px 0 10px;
  font-size: 1.8rem;
  color: #4d4a44;
}

.placeholder-label {
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.24em;
}

.small-box {
  min-height: 250px;
  border-radius: 0;
  box-shadow: none;
}

.section-heading {
  max-width: 420px;
}

.info-card,
.contact-card,
.reference-card,
.feature-card {
  border: 1px solid var(--line);
  background: var(--card);
  box-shadow: var(--shadow);
}

.info-card,
.contact-card {
  border-radius: var(--radius-xl);
  padding: 36px;
}

.info-card p,
.section-intro p,
.visual-content p,
.contact-item p,
.reference-body p,
.feature-card p {
  font-size: 1rem;
  line-height: 1.9;
}

.split-section {
  grid-template-columns: 0.9fr 1.1fr;
  align-items: start;
}

.section-intro {
  max-width: 760px;
}

.section-intro p {
  margin-top: 18px;
}

.feature-grid,
.reference-grid {
  display: grid;
  gap: 24px;
  margin-top: 42px;
}

.feature-grid {
  grid-template-columns: repeat(4, 1fr);
}

.feature-card {
  border-radius: var(--radius-lg);
  padding: 28px;
  background: #f8f5f0;
}

.feature-card h3 {
  margin-bottom: 12px;
}

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

.check-list {
  list-style: none;
  margin-top: 28px;
  display: grid;
  gap: 14px;
}

.check-list li {
  position: relative;
  padding-left: 24px;
  color: #4b4944;
  font-weight: 500;
}

.check-list li::before {
  content: "›";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--accent);
  font-size: 1.35rem;
  line-height: 1;
}

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

.reference-card {
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: #f8f5f0;
}

.reference-body {
  padding: 24px;
}

.reference-body h3 {
  margin-bottom: 10px;
}

.contact-grid {
  grid-template-columns: 0.95fr 1.05fr;
}

.contact-list {
  display: grid;
  gap: 24px;
  margin-top: 28px;
}

.contact-item h3 {
  margin-bottom: 8px;
}

.map-box {
  min-height: 520px;
}

.footer {
  border-top: 1px solid var(--line);
  background: var(--surface);
}

.footer-inner {
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.footer p {
  font-size: 0.95rem;
}

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

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

  .hero-grid,
  .visual-grid,
  .contact-grid,
  .split-section {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 860px) {
  .desktop-nav,
  .desktop-cta {
    display: none;
  }

  .menu-toggle {
    display: inline-block;
  }

  .hero {
    padding-top: 48px;
  }

  .placeholder-box,
  .map-box {
    min-height: 320px;
  }
}

@media (max-width: 640px) {
  .section {
    padding: 68px 0;
  }

  .container {
    width: min(var(--container), calc(100% - 24px));
  }

  .info-card,
  .contact-card,
  .feature-card,
  .reference-body {
    padding: 22px;
  }

  .feature-grid,
  .reference-grid {
    grid-template-columns: 1fr;
  }

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

  .btn {
    width: 100%;
  }

  .footer-inner {
    justify-content: center;
    text-align: center;
  }
}

/* ================================
   JK Residence - Technical section
================================ */

.technical-layout {
  margin-top: 42px;
}

.technical-main-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.technical-card {
  position: relative;
  padding: 32px;
  border-radius: 28px;
  background: #ffffff;
  border: 1px solid rgba(20, 20, 20, 0.08);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.06);
}

.technical-card-large {
  min-height: 100%;
}

.technical-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-bottom: 22px;
  border-radius: 999px;
  background: rgba(20, 20, 20, 0.06);
  color: var(--text-main);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.technical-card h3,
.technical-highlight-card h3 {
  margin: 0 0 14px;
  font-size: 25px;
  line-height: 1.2;
  letter-spacing: -0.04em;
  color: var(--text-main);
}

.technical-card p,
.technical-highlight-card p {
  margin: 0;
  color: var(--text-muted);
  line-height: 1.75;
}

.technical-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.technical-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(20, 20, 20, 0.045);
  color: var(--text-main);
  font-size: 14px;
  font-weight: 600;
}

.technical-feature-list {
  display: grid;
  gap: 16px;
  margin-top: 26px;
}

.technical-feature-list div {
  padding: 18px;
  border-radius: 20px;
  background: rgba(20, 20, 20, 0.035);
  border: 1px solid rgba(20, 20, 20, 0.06);
}

.technical-feature-list strong {
  display: block;
  margin-bottom: 6px;
  color: var(--text-main);
  font-size: 16px;
}

.technical-feature-list p {
  font-size: 14px;
  line-height: 1.65;
}

.technical-highlight-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-top: 24px;
}

.technical-highlight-card {
  display: flex;
  gap: 22px;
  align-items: flex-start;
  padding: 28px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(20, 20, 20, 0.08);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.045);
}

.technical-highlight-card .technical-number {
  flex: 0 0 auto;
  margin-bottom: 0;
}


/* ================================
   JK Residence - PDF preview block
================================ */

.technical-pdf-card {
  width: 100%;
  margin-top: 48px;
  padding: 32px;
  border-radius: 28px;
  background: #ffffff;
  border: 1px solid rgba(20, 20, 20, 0.08);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.08);

  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 32px;
  align-items: stretch;
  overflow: hidden;
}

.technical-pdf-card > div:first-child {
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.technical-pdf-card h3 {
  margin: 10px 0 12px;
  font-size: 28px;
  line-height: 1.2;
  color: var(--text-main);
}

.technical-pdf-card p {
  margin: 0 0 22px;
  color: var(--text-muted);
  line-height: 1.7;
}

.pdf-preview {
  width: 100%;
  min-width: 0;
  height: 420px;
  border-radius: 22px;
  overflow: hidden;
  background: #f4f4f4;
  border: 1px solid rgba(20, 20, 20, 0.08);
}

.pdf-preview iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}


/* ================================
   Responsive
================================ */

@media (max-width: 900px) {
  .technical-main-grid,
  .technical-highlight-grid {
    grid-template-columns: 1fr;
  }

  .technical-card,
  .technical-highlight-card {
    padding: 24px;
  }

  .technical-pdf-card {
    grid-template-columns: 1fr;
    padding: 24px;
  }

  .pdf-preview {
    height: 360px;
  }
}

@media (max-width: 600px) {
  .technical-highlight-card {
    flex-direction: column;
    gap: 14px;
  }

  .technical-card h3,
  .technical-highlight-card h3 {
    font-size: 22px;
  }

  .technical-tags span {
    width: 100%;
    justify-content: flex-start;
  }

  .technical-pdf-card {
    padding: 22px;
  }

  .technical-pdf-card h3 {
    font-size: 22px;
  }

  .pdf-preview {
    display: none;
  }
}

/* ================================
   JK Residence - References
================================ */

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

.reference-card {
  overflow: hidden;
  border-radius: 28px;
  background: #ffffff;
  border: 1px solid rgba(20, 20, 20, 0.08);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.06);
}

.reference-image {
  position: relative;
  display: block;
  width: 100%;
  height: 250px;
  padding: 0;
  overflow: hidden;
  border: 0;
  background: #f4f4f4;
  cursor: pointer;
}

.reference-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.reference-image:hover img {
  transform: scale(1.05);
}

.reference-image-badge {
  position: absolute;
  left: 16px;
  bottom: 16px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--text-main);
  font-size: 13px;
  font-weight: 700;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.14);
}

.reference-body {
  padding: 24px;
}

.reference-meta {
  display: inline-flex;
  margin-bottom: 12px;
  padding: 7px 11px;
  border-radius: 999px;
  background: rgba(20, 20, 20, 0.06);
  color: var(--text-main);
  font-size: 13px;
  font-weight: 700;
}

.reference-body h3 {
  margin: 0 0 12px;
  font-size: 21px;
  line-height: 1.25;
  color: var(--text-main);
  letter-spacing: -0.03em;
}

.reference-body p {
  margin: 0;
  color: var(--text-muted);
  line-height: 1.7;
}


/* ================================
   JK Residence - Gallery modal
================================ */

.gallery-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  padding: 24px;
}

.gallery-modal.is-open {
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 10, 10, 0.78);
  backdrop-filter: blur(8px);
}

.gallery-dialog {
  position: relative;
  z-index: 1;
  width: min(1100px, 100%);
  max-height: calc(100vh - 48px);
  overflow: hidden;
  border-radius: 28px;
  background: #ffffff;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.35);
}

.gallery-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 3;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: #111111;
  font-size: 34px;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18);
}

.gallery-content {
  position: relative;
  height: min(72vh, 720px);
  background: #111111;
}

.gallery-image-wrap {
  width: 100%;
  height: 100%;
}

.gallery-image-wrap img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.gallery-nav {
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 52px;
  height: 52px;
  transform: translateY(-50%);
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  color: #111111;
  font-size: 42px;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.22);
}

.gallery-prev {
  left: 18px;
}

.gallery-next {
  right: 18px;
}

.gallery-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
}

.gallery-footer h3 {
  margin: 0;
  font-size: 20px;
  line-height: 1.3;
  color: var(--text-main);
}

.gallery-footer p {
  margin: 0;
  color: var(--text-muted);
  font-weight: 700;
}


/* ================================
   References responsive
================================ */

@media (max-width: 1100px) {
  .reference-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

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

  .reference-image {
    height: 230px;
  }

  .gallery-modal {
    padding: 12px;
  }

  .gallery-dialog {
    width: 100%;
    max-height: calc(100vh - 24px);
    border-radius: 22px;
  }

  .gallery-content {
    height: 68vh;
  }

  .gallery-nav {
    width: 44px;
    height: 44px;
    font-size: 34px;
  }

  .gallery-prev {
    left: 10px;
  }

  .gallery-next {
    right: 10px;
  }

  .gallery-footer {
    align-items: flex-start;
    flex-direction: column;
    padding: 16px;
  }

  .gallery-footer h3 {
    font-size: 17px;
  }

  .gallery-close {
    top: 10px;
    right: 10px;
    width: 40px;
    height: 40px;
    font-size: 30px;
  }
}

/* ================================
   JK Residence - Material PDF cards
================================ */

.material-pdf-section {
  margin-top: 48px;
}

.material-pdf-intro {
  margin-bottom: 28px;
}

.material-pdf-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.material-pdf-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 280px;
  padding: 28px;
  border-radius: 28px;
  background: #ffffff;
  border: 1px solid rgba(20, 20, 20, 0.08);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.06);
}

.material-pdf-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-bottom: 20px;
  border-radius: 999px;
  background: rgba(20, 20, 20, 0.06);
  color: var(--text-main);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.material-pdf-card h3 {
  margin: 0 0 12px;
  font-size: 23px;
  line-height: 1.25;
  color: var(--text-main);
  letter-spacing: -0.03em;
}

.material-pdf-card p {
  margin: 0;
  color: var(--text-muted);
  line-height: 1.7;
}

.material-pdf-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

@media (max-width: 1100px) {
  .material-pdf-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

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

  .material-pdf-card {
    min-height: auto;
    padding: 24px;
  }

  .material-pdf-card h3 {
    font-size: 21px;
  }

  .material-pdf-actions .btn {
    width: 100%;
  }
}

.hero-cover-image {
  position: relative;
  overflow: hidden;
  border-radius: 32px;
  background: #e8e1d7;
  box-shadow: 0 24px 70px rgba(15, 23, 42, 0.18);
  aspect-ratio: 16 / 10;
}

.hero-cover-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

@media (max-width: 1100px) {
  .hero-cover-image {
    aspect-ratio: 16 / 9;
  }
}

@media (max-width: 640px) {
  .hero-cover-image {
    border-radius: 24px;
    aspect-ratio: 4 / 3;
  }
}

.visual-section {
  background:
    radial-gradient(circle at top left, rgba(196, 164, 112, 0.12), transparent 34%),
    linear-gradient(180deg, #ffffff 0%, #f8f5ef 100%);
}

.visual-intro {
  max-width: 760px;
  margin-bottom: 42px;
}

.visual-showcase {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.65fr);
  gap: 28px;
  align-items: start;
}

.visual-feature-card {
  align-self: start;
}

.visual-feature-card,
.visual-small-card,
.visual-document-card {
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(148, 133, 105, 0.18);
  box-shadow: 0 24px 70px rgba(15, 23, 42, 0.10);
  overflow: hidden;
}

.visual-feature-card {
  border-radius: 32px;
}

.visual-feature-image {
  height: 460px;
  overflow: hidden;
}

.visual-feature-image img,
.visual-small-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.visual-feature-content {
  padding: 28px;
}

.visual-feature-content h3,
.visual-small-card h3,
.visual-document-card h3 {
  margin: 10px 0 12px;
  color: #1f2933;
}

.visual-feature-content p,
.visual-small-card p,
.visual-document-card p {
  color: #5f6b7a;
  line-height: 1.7;
}

.visual-tag {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(166, 124, 82, 0.12);
  color: #8a6339;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.visual-side-grid {
  display: grid;
  gap: 28px;
}

.visual-small-card {
  border-radius: 28px;
}

.visual-small-card img {
  height: 220px;
}

.visual-small-card div {
  padding: 22px;
}

.visual-document-card {
  margin-top: 30px;
  border-radius: 28px;
  padding: 28px;
  display: flex;
  justify-content: space-between;
  gap: 28px;
  align-items: center;
}

.visual-document-card > div:first-child {
  max-width: 680px;
}

.visual-document-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

@media (max-width: 980px) {
  .visual-showcase {
    grid-template-columns: 1fr;
  }

  .visual-feature-image {
    height: 360px;
  }

  .visual-document-card {
    flex-direction: column;
    align-items: flex-start;
  }

  .visual-document-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 640px) {
  .visual-feature-image {
    height: 260px;
  }

  .visual-feature-content,
  .visual-small-card div,
  .visual-document-card {
    padding: 22px;
  }

  .visual-small-card img {
    height: 190px;
  }
}

.map-embed {
  min-height: 520px;
  overflow: hidden;
  border-radius: var(--radius-xl);
  border: 1px solid var(--line);
  background: #ffffff;
  box-shadow: var(--shadow);
  padding: 0;
}

.map-embed iframe {
  display: block;
  width: 100%;
  height: 520px;
  border: 0;
}

@media (max-width: 860px) {
  .map-embed {
    min-height: 360px;
  }

  .map-embed iframe {
    height: 360px;
  }
}

/* ================================
   JK Residence - About section
================================ */

.about-section {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at top left, rgba(143, 122, 90, 0.12), transparent 34%),
    linear-gradient(180deg, #f4f1ec 0%, #ffffff 100%);
}

.about-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: 38px;
  align-items: stretch;
  padding: 38px;
  border-radius: 34px;
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid rgba(143, 122, 90, 0.16);
  box-shadow: 0 24px 70px rgba(15, 23, 42, 0.08);
}

.about-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.about-content h2 {
  margin-bottom: 22px;
}

.about-content p {
  max-width: 680px;
  font-size: 1.03rem;
  line-height: 1.9;
}

.about-lead {
  margin-bottom: 18px;
  color: #3f3d38;
  font-weight: 500;
}

.about-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 32px;
}

.about-project-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 320px;
  padding: 30px;
  border-radius: 28px;
  background:
    linear-gradient(135deg, rgba(143, 122, 90, 0.14), rgba(255, 255, 255, 0.86));
  border: 1px solid rgba(143, 122, 90, 0.18);
}

.about-project-label {
  width: fit-content;
  padding: 8px 13px;
  border-radius: 999px;
  background: rgba(143, 122, 90, 0.12);
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.about-project-card h3 {
  margin: 28px 0 14px;
  font-size: 32px;
  line-height: 1.15;
  color: #1f2933;
  letter-spacing: -0.04em;
}

.about-project-card p {
  color: #5f6b7a;
  line-height: 1.75;
}

.about-project-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 28px;
}

.about-project-meta div {
  padding: 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid rgba(143, 122, 90, 0.12);
}

.about-project-meta span {
  display: block;
  margin-bottom: 6px;
  color: #8a8172;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.about-project-meta strong {
  display: block;
  color: #2f2f2b;
  font-size: 15px;
}

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

  .about-project-card {
    min-height: auto;
  }
}

@media (max-width: 640px) {
  .about-panel {
    padding: 24px;
    border-radius: 28px;
  }

  .about-project-card {
    padding: 24px;
  }

  .about-project-card h3 {
    font-size: 26px;
  }

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

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

  .about-actions .btn {
    width: 100%;
  }
}

/* ================================
   Footer legal links
================================ */

.footer-inner-extended {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.footer-brand p {
  margin: 0;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.footer-links a {
  color: inherit;
  opacity: 0.78;
  text-decoration: none;
  font-size: 14px;
  transition: opacity 0.2s ease, color 0.2s ease;
}

.footer-links a:hover {
  opacity: 1;
  color: #ffffff;
}

/* ================================
   Map link card
================================ */

.map-link-box {
  min-height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    linear-gradient(135deg, rgba(17, 24, 39, 0.92), rgba(31, 41, 55, 0.88)),
    url("./assets/hero-0.jpg") center/cover no-repeat;
  border-radius: 28px;
  overflow: hidden;
  padding: 32px;
}

.map-link-content {
  width: 100%;
  max-width: 460px;
  padding: 34px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 24px 70px rgba(15, 23, 42, 0.22);
  backdrop-filter: blur(12px);
}

.map-link-content h3 {
  margin: 12px 0 12px;
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.1;
  color: #111827;
}

.map-link-content p {
  margin: 0 0 24px;
  color: #4b5563;
  line-height: 1.7;
}

/* ================================
   Legal pages
================================ */

.legal-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(229, 231, 235, 0.9);
  backdrop-filter: blur(16px);
}

.legal-header-inner {
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.legal-page {
  background:
    radial-gradient(circle at top left, rgba(201, 166, 107, 0.14), transparent 34%),
    linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  min-height: 70vh;
}

.legal-hero {
  padding: 86px 0 46px;
}

.legal-hero h1 {
  max-width: 880px;
  margin: 14px 0 18px;
  font-size: clamp(38px, 6vw, 68px);
  line-height: 0.98;
  letter-spacing: -0.05em;
  color: #111827;
}

.legal-hero p {
  max-width: 760px;
  margin: 0;
  font-size: 18px;
  line-height: 1.8;
  color: #4b5563;
}

.legal-section {
  padding: 20px 0 96px;
}

.legal-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.legal-content {
  display: grid;
  gap: 24px;
  max-width: 980px;
}

.legal-card {
  padding: clamp(24px, 4vw, 42px);
  border: 1px solid rgba(229, 231, 235, 0.92);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 24px 70px rgba(15, 23, 42, 0.06);
}

.legal-card h2 {
  margin: 0 0 18px;
  font-size: clamp(22px, 3vw, 34px);
  line-height: 1.15;
  letter-spacing: -0.035em;
  color: #111827;
}

.legal-card p {
  margin: 0 0 16px;
  color: #4b5563;
  line-height: 1.8;
}

.legal-card p:last-child {
  margin-bottom: 0;
}

.legal-card a {
  color: #9a6a2f;
  font-weight: 700;
  text-decoration: none;
}

.legal-card a:hover {
  text-decoration: underline;
}

.legal-card-highlight {
  grid-column: 1 / -1;
  background:
    linear-gradient(135deg, rgba(17, 24, 39, 0.96), rgba(31, 41, 55, 0.96));
  border-color: rgba(17, 24, 39, 0.1);
}

.legal-card-highlight h2,
.legal-card-highlight p {
  color: #ffffff;
}

.legal-card-highlight p {
  opacity: 0.86;
}

.legal-card-highlight a {
  color: #f7d28b;
}

.legal-data-list {
  display: grid;
  gap: 14px;
}

.legal-data-list div {
  display: grid;
  gap: 5px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(229, 231, 235, 0.9);
}

.legal-data-list div:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.legal-data-list span {
  font-size: 13px;
  font-weight: 700;
  color: #9ca3af;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.legal-data-list strong {
  font-size: 16px;
  color: #111827;
  line-height: 1.6;
}

.legal-note {
  margin: 18px 0;
  padding: 18px 20px;
  border-left: 4px solid #c9a66b;
  border-radius: 16px;
  background: #fffbeb;
  color: #4b5563;
  line-height: 1.7;
}

.legal-note strong {
  color: #111827;
}

/* ================================
   Responsive legal pages
================================ */

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

  .legal-header-inner {
    min-height: auto;
    padding: 18px 0;
    align-items: flex-start;
    flex-direction: column;
  }

  .legal-hero {
    padding: 58px 0 34px;
  }

  .map-link-box {
    min-height: 340px;
    padding: 20px;
  }

  .map-link-content {
    padding: 26px;
  }
}

@media (max-width: 640px) {
  .footer-inner-extended {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-links {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .legal-card {
    border-radius: 22px;
  }

  .legal-header .btn {
    width: 100%;
    justify-content: center;
  }
}