:root {
  --bg: #1f2124;
  --bg-soft: #26292d;
  --surface: rgba(36, 39, 43, 0.82);
  --surface-strong: #31353a;
  --surface-dark: #16181b;
  --card: rgba(41, 45, 50, 0.82);
  --card-strong: #35393f;
  --text: #f2f0eb;
  --muted: #a5aca8;
  --muted-strong: #c5cbc7;
  --accent: #62b57d;
  --accent-dark: #459662;
  --accent-soft: rgba(98, 181, 125, 0.14);
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.14);
  --topbar-bg: rgba(24, 26, 29, 0.78);
  --topbar-safe-bg: #1c1e21;
  --shadow-lg: 0 28px 80px rgba(0, 0, 0, 0.34);
  --shadow-md: 0 18px 42px rgba(0, 0, 0, 0.24);
  --shadow-sm: 0 10px 24px rgba(0, 0, 0, 0.18);
  --radius-xl: 34px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 14px;
  --max: 1280px;
}

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

html {
  scroll-behavior: smooth;
  background-color: var(--topbar-safe-bg);
  overscroll-behavior-y: none;
}

body {
  min-height: 100vh;
  font-family: "Manrope", "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(98, 181, 125, 0.1), transparent 26%),
    radial-gradient(circle at right 20%, rgba(132, 144, 155, 0.12), transparent 24%),
    linear-gradient(180deg, #212326 0%, #1b1d20 52%, #181a1d 100%);
  color: var(--text);
  line-height: 1.65;
  overflow-x: hidden;
  overscroll-behavior-y: none;
}

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

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

ul {
  list-style: none;
}

.container {
  width: min(92%, var(--max));
  margin: 0 auto;
}

main {
  position: relative;
}

/* HEADER */
.topbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 18px 0;
  backdrop-filter: blur(18px);
  background: var(--topbar-bg);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.topbar-safe-area {
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  height: env(safe-area-inset-top, 0px);
  background: var(--topbar-safe-bg);
  backdrop-filter: blur(18px);
  pointer-events: none;
  z-index: 1001;
}

.topbar-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 18px 24px;
}

.header-tools {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
}

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

.logo {
  width: 62px;
  height: 62px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0;
  background: transparent;
  border: none;
  box-shadow: none;
  overflow: hidden;
}

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

.main-nav {
  justify-self: center;
}

.main-nav ul {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  box-shadow: var(--shadow-sm);
}

.main-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  border-radius: 999px;
  font-size: 0.96rem;
  font-weight: 600;
  color: var(--muted-strong);
  transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.main-nav a:hover,
.main-nav a.active {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  transform: translateY(-1px);
}

.contact-top {
  text-align: right;
  white-space: nowrap;
}

.theme-toggle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  cursor: pointer;
  transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.theme-toggle:hover {
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-1px);
}

.theme-toggle-track {
  position: relative;
  width: 38px;
  height: 22px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
}

.theme-toggle-thumb {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--accent);
  transition: transform 0.25s ease, background 0.25s ease;
}

.theme-toggle-label {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-top small {
  display: block;
  margin-bottom: 4px;
  font-size: 0.74rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.contact-top strong {
  font-size: 1rem;
  font-weight: 700;
}

/* HERO */
.hero,
.page-hero {
  padding: 44px 0 26px;
}

.hero-card,
.page-hero-box,
.info-box,
.contact-card,
.detail-card,
.service-card,
.cta-panel,
.value-band,
.about-card {
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: var(--surface);
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(12px);
}

.hero-card,
.page-hero-box,
.info-box,
.contact-card,
.cta-panel {
  border-radius: var(--radius-xl);
}

.hero-card {
  position: relative;
  overflow: hidden;
  padding: 30px;
}

.hero-card::before {
  content: "";
  position: absolute;
  inset: auto -12% -24% auto;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(98, 181, 125, 0.16), transparent 70%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: 32px;
  align-items: stretch;
}

.hero-text,
.page-hero-box {
  position: relative;
  z-index: 1;
}

.eyebrow,
.section-kicker,
.value-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  color: var(--accent);
  font-size: 1.4rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.18em;
}

.hero-text h1,
.page-hero-box h1,
.section-head h2,
.cta-panel h2 {
  font-family: "Manrope", "Segoe UI", sans-serif;
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 0.98;
}

.hero-text h1 {
  max-width: 11ch;
  margin-bottom: 16px;
  font-size: clamp(2.2rem, 3.5vw, 3.85rem);
}

.page-hero-box h1 {
  max-width: 12ch;
  margin-bottom: 18px;
  font-size: clamp(2.3rem, 3.6vw, 3.95rem);
  overflow-wrap: normal;
  word-break: normal;
  hyphens: manual;
}

.hero-text p,
.page-hero-box p,
.section-head p,
.service-content p,
.info-box p,
.contact-card p,
.about-card p,
.value-band-item strong,
.footer-brand p,
.footer-col a,
.footer-col p {
  color: var(--muted-strong);
}

.page-hero-box p,
.legal-card p,
.legal-card h2,
.legal-card h3 {
  overflow-wrap: anywhere;
  word-break: break-word;
  hyphens: auto;
}

.hero-text p,
.page-hero-box p {
  max-width: 50ch;
  margin-bottom: 22px;
  font-size: 1rem;
}

.hero-buttons,
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero-note {
  max-width: 48ch;
  margin-top: 18px;
  color: var(--muted);
  font-size: 0.95rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 700;
  transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease, color 0.25s ease;
  cursor: pointer;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 16px 30px rgba(47, 122, 82, 0.18);
}

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

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  border-color: rgba(255, 255, 255, 0.08);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
}

.hero-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 28px;
}

.hero-fact {
  padding: 18px 18px 20px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
}

.hero-fact strong {
  display: block;
  margin-bottom: 6px;
  font-size: 0.98rem;
}

.hero-fact span {
  display: block;
  color: var(--muted);
  font-size: 0.92rem;
}

.hero-media {
  position: relative;
  min-height: 520px;
}

.hero-slideshow {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 28px;
  background: #202327;
  box-shadow: var(--shadow-lg);
}

@media (min-width: 1181px) {
  .hero-grid {
    grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
    gap: 60px;
  }

  .hero-text {
    padding-right: 18px;
  }

  .hero-text h1 {
    max-width: 9.6ch;
  }
}

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

.hero-slideshow::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(12, 14, 16, 0.04), rgba(12, 14, 16, 0.34));
  pointer-events: none;
}

.hero-slide-btn {
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 48px;
  height: 48px;
  border: none;
  border-radius: 50%;
  background: rgba(17, 19, 21, 0.78);
  color: var(--text);
  font-size: 1.1rem;
  transform: translateY(-50%);
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, background 0.25s ease;
}

.hero-slide-btn:hover {
  background: rgba(28, 31, 34, 0.95);
  transform: translateY(-50%) scale(1.05);
}

.hero-slide-prev {
  left: 18px;
}

.hero-slide-next {
  right: 18px;
}

.hero-slide-dots {
  position: absolute;
  left: 26px;
  bottom: 24px;
  z-index: 2;
  display: flex;
  gap: 10px;
}

.hero-slide-dot {
  width: 10px;
  height: 10px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease;
}

.hero-slide-dot.is-active {
  transform: scale(1.2);
  background: var(--accent);
}

.page-hero-box {
  padding: 40px 42px;
}

.page-hero-meta,
.contact-note {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.page-hero-meta span,
.contact-note span {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--muted-strong);
  font-size: 0.9rem;
  font-weight: 600;
}

/* CONTENT */
.preview-section,
.page-section,
.services {
  padding: 20px 0 88px;
}

.value-band {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  padding: 24px;
  margin-bottom: 34px;
  border-radius: 28px;
}

.value-band-item {
  padding: 10px 4px;
}

.value-band-item strong {
  display: block;
  font-size: 1rem;
  font-weight: 700;
}

.section-head {
  max-width: 720px;
  margin-bottom: 34px;
}

.section-head h2 {
  margin-bottom: 14px;
  font-size: clamp(2.3rem, 4vw, 4rem);
}

.section-head p {
  font-size: 1.05rem;
}

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

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

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

.property-filters {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 28px;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 28px;
  background: var(--surface);
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(12px);
}

.filter-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.filter-field label {
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.filter-field select {
  width: 100%;
  min-height: 50px;
  padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  font: inherit;
  outline: none;
  appearance: none;
  color-scheme: dark;
}

.filter-field select option {
  background: #1f2124;
  color: #f2f0eb;
}

.filter-actions {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.filter-action-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.filter-result {
  color: var(--muted-strong);
  font-weight: 700;
}

.company-section {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  align-items: stretch;
}

.company-section > * {
  height: 100%;
}

.company-photo-card {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 22px;
  min-height: 100%;
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: var(--radius-xl);
  background: var(--surface);
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(12px);
}

.company-photo-stage {
  flex: 1;
  width: 100%;
  min-height: 100%;
  overflow: hidden;
  border-radius: calc(var(--radius-xl) - 10px);
  background: rgba(255, 255, 255, 0.02);
  display: flex;
  align-items: center;
  justify-content: center;
}

.company-photo-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.service-card,
.detail-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 28px;
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.service-card:hover,
.detail-card:hover,
.about-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(255, 255, 255, 0.14);
}

.service-img {
  position: relative;
  aspect-ratio: 1 / 1.08;
  overflow: hidden;
}

.detail-card .service-img {
  aspect-ratio: 1.2 / 0.82;
}

.service-img::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(24, 32, 30, 0), rgba(24, 32, 30, 0.18));
}

.service-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.service-card:hover .service-img img,
.detail-card:hover .service-img img {
  transform: scale(1.05);
}

.service-content {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 24px;
}

.service-content h2,
.service-content h3,
.contact-card h2,
.info-box h3,
.footer-col h4 {
  font-family: "Manrope", "Segoe UI", sans-serif;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.service-content h2,
.service-content h3 {
  margin-bottom: 12px;
  font-size: 1.65rem;
  line-height: 1.05;
}

.service-content p {
  font-size: 0.98rem;
}

.property-card .service-img {
  aspect-ratio: 1.12 / 0.82;
}

.property-card .service-content {
  gap: 14px;
}

.property-card .service-content h2 {
  margin-bottom: 0;
  font-size: 1.4rem;
}

.property-card.is-hidden {
  display: none !important;
}

.property-facts {
  display: grid;
  gap: 10px;
}

.property-facts li {
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--muted-strong);
  font-size: 0.95rem;
}

.property-facts li:last-child {
  padding-bottom: 0;
  border-bottom: none;
}

.property-facts strong {
  color: var(--text);
  font-weight: 700;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  padding-top: 18px;
  color: var(--text);
  font-weight: 700;
}

.text-link::after {
  content: "↗";
  transition: transform 0.25s ease;
}

.text-link:hover::after {
  transform: translate(2px, -2px);
}

.project-showcase {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
  margin-top: 40px;
  align-items: stretch;
}

.project-copy {
  padding: 4px 4px 0;
}

.project-copy h2 {
  max-width: 100%;
  margin-bottom: 16px;
  font-family: "Manrope", "Segoe UI", sans-serif;
  font-size: clamp(1.8rem, 2.7vw, 2.9rem);
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 1;
}

.project-copy p {
  max-width: 100%;
  margin-bottom: 14px;
  color: var(--muted-strong);
  font-size: 1rem;
}

.before-after-card {
  padding: 20px;
  border-radius: 30px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: var(--surface);
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(12px);
}

.before-after-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}

.before-after-item {
  position: relative;
  overflow: hidden;
  width: 100%;
  height: 100%;
  min-height: 380px;
  aspect-ratio: 16 / 11;
  border-radius: 24px;
  margin: 0;
  background: #202327;
}

.before-after-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 11, 12, 0.02), rgba(10, 11, 12, 0.34));
  pointer-events: none;
}

.before-after-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.before-after-tag {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(16, 18, 20, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.info-box,
.contact-card,
.cta-panel {
  padding: 34px;
}

.info-box h3 {
  margin-bottom: 14px;
  font-size: 2rem;
}

.info-box p {
  margin-bottom: 16px;
  font-size: 1.02rem;
}

.about-points {
  display: grid;
  gap: 18px;
}

.review-carousel {
  display: grid;
  gap: 20px;
}

.review-carousel-header {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

.review-nav-btn {
  position: relative;
  z-index: 2;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  font-size: 1rem;
  cursor: pointer;
  pointer-events: auto;
  transition: background 0.25s ease, transform 0.25s ease, opacity 0.25s ease;
}

.review-nav-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-1px);
}

.review-nav-btn:disabled {
  opacity: 0.45;
  cursor: default;
  transform: none;
}

.review-viewport {
  overflow: hidden;
}

.review-track {
  display: flex;
  flex-wrap: nowrap;
  align-items: stretch;
  gap: 20px;
  transition: transform 0.35s ease;
}

.review-card {
  display: flex;
  flex: 0 0 calc((100% - 60px) / 4);
  min-width: 0;
  flex-direction: column;
  gap: 14px;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 28px;
  background: var(--surface);
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(12px);
}

.review-stars {
  color: var(--accent);
  font-size: 1rem;
  letter-spacing: 0.2em;
}

.review-card p {
  color: var(--muted-strong);
  font-size: 0.98rem;
  white-space: pre-line;
}

.review-card strong {
  font-size: 1.02rem;
}

.review-card span {
  color: var(--muted);
  font-size: 0.92rem;
}

.review-source {
  margin-top: auto;
  color: var(--accent);
  font-weight: 700;
  font-size: 0.92rem;
}

.review-source:hover {
  color: var(--text);
}

.review-note {
  margin-top: 20px;
  color: var(--muted);
  font-size: 0.95rem;
}

.review-note a {
  color: var(--accent);
  font-weight: 700;
}

body.light-mode .review-nav-btn {
  background: rgba(255, 255, 255, 0.82);
  border-color: rgba(24, 32, 30, 0.08);
  color: #18201e;
}

body.light-mode .review-nav-btn:hover {
  background: #ffffff;
}

.about-card {
  padding: 22px 24px;
  border-radius: 22px;
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.about-card strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1.05rem;
}

.about-card p {
  font-size: 0.97rem;
}

/* CONTACT */
.contact-layout {
  display: grid;
  grid-template-columns: 0.84fr 1.16fr;
  gap: 24px;
}

.contact-layout-single {
  grid-template-columns: minmax(0, 1fr);
}

.contact-card h2 {
  margin-bottom: 18px;
  font-size: 1.9rem;
}

.contact-card p {
  margin-bottom: 18px;
  font-size: 1rem;
}

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

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  border-radius: 16px;
  padding: 15px 16px;
  font: inherit;
  outline: none;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #909894;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: rgba(98, 181, 125, 0.4);
  background: rgba(255, 255, 255, 0.07);
  box-shadow: 0 0 0 4px rgba(98, 181, 125, 0.08);
}

.cta-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.cta-panel h2 {
  max-width: 18ch;
  font-size: clamp(1.8rem, 2.7vw, 3rem);
}

.legal-card {
  padding: 34px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-xl);
  background: var(--surface);
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(12px);
}

.legal-card h2,
.legal-card h3 {
  font-family: "Manrope", "Segoe UI", sans-serif;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.legal-card h2 {
  margin-bottom: 14px;
  font-size: 1.8rem;
}

.legal-card h3 {
  margin: 28px 0 12px;
  font-size: 1.12rem;
}

.legal-card p {
  margin-bottom: 14px;
  color: var(--muted-strong);
  font-size: 1rem;
}

.legal-note {
  margin-top: 20px;
  color: var(--muted);
  font-size: 0.92rem;
}

.legal-section-intro {
  padding-top: 0;
}

/* FOOTER */
footer {
  padding-top: 14px;
}

.footer-main {
  padding: 52px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.8fr 0.8fr 1fr;
  gap: 30px;
  padding: 34px;
  border-radius: 32px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(20, 22, 25, 0.96);
  box-shadow: var(--shadow-lg);
}

.footer-brand .mini-logo {
  width: 68px;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  background: transparent;
}

.footer-brand p,
.footer-col a,
.footer-col p {
  color: rgba(240, 236, 227, 0.72);
}

.footer-col h4 {
  margin-bottom: 16px;
  color: #fff;
  font-size: 1.5rem;
}

.footer-col a,
.footer-col p {
  display: block;
  margin-bottom: 10px;
  font-size: 0.98rem;
}

.footer-col a:hover {
  color: #fff;
}

.footer-bottom {
  padding: 0 0 28px;
  text-align: center;
  color: var(--muted);
  font-size: 0.92rem;
}

/* MOBILE MENU */
.menu-btn {
  display: none;
  width: 52px;
  height: 52px;
  margin-left: auto;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.05);
  box-shadow: var(--shadow-sm);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.menu-btn span {
  width: 20px;
  height: 2px;
  border-radius: 999px;
  background: var(--text);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

body.light-mode,
html.light-mode {
  --bg: #f3efe7;
  --bg-soft: #ebe5db;
  --surface: rgba(255, 252, 246, 0.82);
  --surface-strong: #fffdf8;
  --surface-dark: #1e2423;
  --card: rgba(255, 255, 255, 0.72);
  --card-strong: #ffffff;
  --text: #18201e;
  --muted: #64706b;
  --muted-strong: #49534f;
  --accent: #2f7a52;
  --accent-dark: #245b3d;
  --accent-soft: rgba(47, 122, 82, 0.12);
  --line: rgba(24, 32, 30, 0.08);
  --line-strong: rgba(24, 32, 30, 0.14);
  --topbar-bg: rgba(248, 244, 236, 0.78);
  --topbar-safe-bg: #f4efe6;
  --shadow-lg: 0 28px 80px rgba(30, 36, 35, 0.12);
  --shadow-md: 0 18px 42px rgba(30, 36, 35, 0.08);
  --shadow-sm: 0 10px 24px rgba(30, 36, 35, 0.06);
}

body.light-mode {
  background:
    radial-gradient(circle at top left, rgba(47, 122, 82, 0.12), transparent 26%),
    radial-gradient(circle at right 20%, rgba(186, 158, 108, 0.14), transparent 24%),
    linear-gradient(180deg, #f8f4ec 0%, #f0ebe2 52%, #ece6dc 100%);
}

body.light-mode .topbar {
  border-bottom-color: rgba(24, 32, 30, 0.06);
}

body.light-mode .logo {
  background: transparent;
  border: none;
}

body.light-mode .main-nav ul,
body.light-mode .theme-toggle,
body.light-mode .menu-btn {
  background: rgba(255, 255, 255, 0.62);
  border-color: rgba(24, 32, 30, 0.08);
}

body.light-mode .main-nav a:hover,
body.light-mode .main-nav a.active {
  background: var(--surface-strong);
}

body.light-mode .theme-toggle:hover,
body.light-mode .btn-secondary:hover {
  background: rgba(255, 255, 255, 0.88);
}

body.light-mode .theme-toggle-track {
  background: rgba(24, 32, 30, 0.12);
}

body.light-mode .theme-toggle-thumb {
  background: var(--accent-dark);
}

body.light-mode .btn-secondary,
body.light-mode .page-hero-meta span,
body.light-mode .contact-note span,
body.light-mode .hero-fact,
body.light-mode .contact-form input,
body.light-mode .contact-form textarea {
  background: rgba(255, 255, 255, 0.68);
  border-color: rgba(24, 32, 30, 0.08);
}

body.light-mode .property-facts li {
  border-bottom-color: rgba(24, 32, 30, 0.08);
}

body.light-mode .property-filters,
body.light-mode .filter-field select {
  border-color: rgba(24, 32, 30, 0.08);
}

body.light-mode .filter-field select {
  background: rgba(255, 255, 255, 0.68);
  color: #18201e;
  color-scheme: light;
}

body.light-mode .filter-field select option {
  background: #ffffff;
  color: #18201e;
}

body.light-mode .legal-card {
  border-color: rgba(24, 32, 30, 0.08);
}

body.light-mode .hero-slideshow,
body.light-mode .before-after-item {
  background: #d9d2c6;
}

.company-image-frame {
  background: transparent;
}

body.light-mode .before-after-card {
  background: rgba(255, 255, 255, 0.74);
  border-color: rgba(24, 32, 30, 0.08);
}

body.light-mode .hero-slideshow::after,
body.light-mode .before-after-item::after {
  background: linear-gradient(180deg, rgba(24, 32, 30, 0.04), rgba(24, 32, 30, 0.26));
}

body.light-mode .before-after-tag {
  background: rgba(255, 255, 255, 0.82);
  border-color: rgba(24, 32, 30, 0.08);
  color: var(--text);
}

body.light-mode .hero-slide-btn {
  background: rgba(255, 255, 255, 0.82);
}

body.light-mode .hero-slide-btn:hover {
  background: #fff;
}

body.light-mode .hero-slide-dot {
  background: rgba(24, 32, 30, 0.22);
}

body.light-mode .footer-grid {
  border-color: rgba(24, 32, 30, 0.08);
  background: rgba(30, 36, 35, 0.95);
}

body.light-mode .menu-btn span {
  background: var(--text);
}

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

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

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

/* ANIMATION */
.fade-up {
  opacity: 0;
  transform: translateY(26px);
  transition: 0.7s ease;
}

.fade-up.show {
  opacity: 1;
  transform: translateY(0);
}

/* RESPONSIVE */
@media (max-width: 980px) {
  .topbar-inner {
    grid-template-columns: auto minmax(0, 1fr) auto;
  }

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

  .review-card {
    flex-basis: calc((100% - 20px) / 2);
  }

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

  .property-filters {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-grid,
  .contact-layout,
  .about-layout {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .company-section {
    grid-template-columns: 1fr;
  }

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

  .hero-media {
    min-height: 480px;
  }
}

@media (max-width: 920px) {
  .topbar-inner {
    position: relative;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 14px;
  }

  .logo-wrap {
    min-width: auto;
  }

  .menu-btn {
    display: inline-flex;
    order: 3;
  }

  .header-tools {
    order: 2;
  }

  .contact-top {
    text-align: right;
  }

  .contact-top small {
    font-size: 0.64rem;
    margin-bottom: 2px;
  }

  .contact-top strong {
    font-size: 0.86rem;
  }

  .main-nav {
    position: absolute;
    top: calc(100% + 12px);
    left: 0;
    right: 0;
    width: 100%;
    display: none;
    z-index: 20;
  }

  .main-nav.open {
    display: block;
  }

  .main-nav ul {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    padding: 14px;
    border-radius: 24px;
    background: rgba(24, 26, 29, 0.96);
    backdrop-filter: blur(18px);
    box-shadow: var(--shadow-md);
  }

  .main-nav a {
    justify-content: flex-start;
    min-height: 46px;
    padding: 0 14px;
  }

  .hero-card,
  .page-hero-box,
  .info-box,
  .contact-card,
  .cta-panel {
    padding: 28px;
  }

  .hero-text {
    order: 2;
  }

  .hero-media {
    order: 1;
  }

  .value-band,
  .cta-panel,
  .hero-facts,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .before-after-grid {
    grid-template-columns: 1fr;
  }

  .cta-panel {
    align-items: flex-start;
  }

  .hero-media {
    min-height: 420px;
  }
}

@media (max-width: 920px) {
  body.light-mode .main-nav ul {
    background: rgba(255, 255, 255, 0.96);
  }
}

@media (max-width: 640px) {
  .container {
    width: min(94%, var(--max));
  }

  .logo {
    width: 56px;
    height: 56px;
    border-radius: 18px;
  }

  .hero,
  .page-hero {
    padding-top: 28px;
  }

  .topbar {
    padding: 14px 0;
  }

  .topbar-inner {
    gap: 10px 12px;
  }

  .header-tools {
    gap: 8px;
  }

  .contact-top small {
    display: none;
  }

  .contact-top strong {
    font-size: 0.78rem;
    line-height: 1.2;
  }

  .theme-toggle {
    min-height: 40px;
    padding: 0 10px;
  }

  .theme-toggle-label {
    display: none;
  }

  .menu-btn {
    width: 48px;
    height: 48px;
  }

  .grid-4,
  .grid-2,
  .property-grid,
  .about-layout,
  .company-section,
  .contact-layout,
  .form-row,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .property-filters {
    grid-template-columns: 1fr;
  }

  .review-card {
    flex-basis: 100%;
  }

  .filter-actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero-text h1 {
    max-width: 100%;
  }

  .hero-media {
    min-height: 320px;
  }

  .hero-slide-btn {
    width: 42px;
    height: 42px;
  }

  .hero-slide-dots {
    left: 18px;
    bottom: 18px;
  }

  .page-hero-box {
    padding: 24px 22px;
  }

  .page-hero-box h1 {
    max-width: 100%;
    font-size: clamp(2rem, 8vw, 2.8rem);
    line-height: 1.02;
    overflow-wrap: anywhere;
    word-break: break-word;
    hyphens: auto;
  }

  .page-hero-box p {
    max-width: 100%;
  }

  .page-hero-meta span {
    min-height: 34px;
    padding: 0 12px;
    font-size: 0.82rem;
  }

  .legal-card {
    padding: 24px 22px;
  }

  .section-head h2,
  .cta-panel h2,
  .info-box h3,
  .contact-card h2 {
    max-width: 100%;
  }
}
