/*
Theme Name: DigiWeb
Theme URI: https://digiweb.com.vn/
Author: DigiWeb
Author URI: https://digiweb.com.vn/
Description: DigiWeb base theme (ACF + qTranslate-XT ready)
Version: 1.0.0
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: digiweb
*/

:root {
  --sp-navy: #1b7e44;
  --sp-navy-2: #11582f;
  --sp-cyan: #e33f3a;
  --sp-bg: #f4faf5;
  --sp-card: #ffffff;
  --sp-text: #233428;
  --sp-muted: #6e816f;
  --sp-border: #d5e7d8;
  --sp-accent: #e33f3a;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: "Segoe UI", Roboto, Arial, sans-serif;
  color: var(--sp-text);
  background:
    radial-gradient(1000px 460px at 100% -20%, rgba(227, 63, 58, 0.08), transparent 70%),
    radial-gradient(900px 420px at 0% -30%, rgba(27, 126, 68, 0.1), transparent 70%),
    linear-gradient(180deg, #f8fcf8 0%, #eff7f0 100%);
}

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

.sp-wrap {
  width: min(1280px, calc(100% - 32px));
  margin: 0 auto;
}

.sp-wrap.sp-detail {
  width: min(1720px, calc(100vw - 40px));
}

.sp-header {
  position: relative;
  z-index: 20;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--sp-border);
}

.sp-header-inner {
  min-height: 96px;
  padding: 10px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.sp-logo-link {
  display: inline-flex;
  align-items: center;
  line-height: 1;
  flex-shrink: 0;
}

.sp-logo { height: 58px; width: auto; display: block; }

.sp-logo-text {
  font-size: 24px;
  font-weight: 800;
  color: var(--sp-navy);
}

.sp-nav-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  align-items: center;
  gap: 28px;
}

.sp-nav-list a {
  text-transform: uppercase;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: var(--sp-navy-2);
  position: relative;
}

.sp-nav-list a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--sp-cyan), var(--sp-navy));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}

.sp-nav-list a:hover::after,
.sp-nav-list .current-menu-item a::after,
.sp-nav-list .current_page_item a::after {
  transform: scaleX(1);
}

.sp-main {
  padding: 24px 0 48px;
  min-height: calc(100vh - 160px);
}

.sp-home-head {
  text-align: center;
  margin-bottom: 18px;
}

.sp-home-head h1 {
  margin: 6px 0 14px;
  font-size: 42px;
  line-height: 1.1;
  color: var(--sp-navy-2);
  letter-spacing: 0.02em;
}

.sp-filter-row {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1fr 1fr;
  gap: 10px;
}

.sp-filter-toggle {
  display: none;
}

.sp-filter-row input,
.sp-filter-row select {
  width: 100%;
  height: 44px;
  border-radius: 10px;
  border: 1px solid #c5d1e2;
  background: #fff;
  padding: 0 14px;
  font-size: 14px;
  color: var(--sp-text);
}

.sp-grid-wrap {
  display: block;
}

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

.sp-card {
  background: var(--sp-card);
  border: 1px solid var(--sp-border);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 10px 28px rgba(17, 88, 47, 0.08);
}

.sp-card-media {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #e3efe5;
}

.sp-card-media img,
.sp-gallery-grid img,
.sp-slide img,
.sp-sub-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.sp-card-placeholder { width: 100%; height: 100%; background: #e0ecdf; }

.sp-type-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  height: 28px;
  padding: 0 10px;
  border-radius: 7px;
  font-size: 12px;
  color: #fff;
  font-weight: 700;
}

.sp-type-badge.is-low { background: #dc7821; }
.sp-type-badge.is-high { background: #1f9d55; }

.sp-card-body { padding: 12px 14px 14px; }

.sp-card-body h3 {
  margin: 0 0 5px;
  font-size: 21px;
  line-height: 1.25;
  color: #124f2c;
}

.sp-card-body p {
  margin: 0 0 7px;
  color: #3c5040;
  font-size: 14px;
  line-height: 1.45;
}

.sp-card-meta {
  font-size: 13px;
  color: #748b77;
}

.sp-sidebar { position: sticky; top: 92px; }

.sp-side-box {
  display: none;
  background: #fff;
  border: 1px solid var(--sp-border);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(17, 88, 47, 0.08);
}

.sp-side-box > h3 {
  margin: 0;
  padding: 14px 16px;
  font-size: 21px;
  color: #fff;
  text-align: center;
  background: linear-gradient(120deg, var(--sp-navy), var(--sp-cyan));
}

.sp-side-group {
  padding: 12px 16px;
  border-bottom: 1px solid var(--sp-border);
}

.sp-side-group:last-child { border-bottom: 0; }

.sp-side-group h4 {
  margin: 0 0 8px;
  font-size: 17px;
  color: #1a5a33;
}

.sp-side-group ul { list-style: none; margin: 0; padding: 0; }

.sp-side-group a {
  display: block;
  padding: 6px 0;
  font-size: 14px;
  color: #274031;
  border-top: 1px solid #edf5ee;
}

.sp-empty {
  grid-column: 1 / -1;
  background: #fff;
  border: 1px dashed #b7cbb8;
  border-radius: 12px;
  padding: 18px;
  text-align: center;
  font-size: 14px;
  color: var(--sp-muted);
}

.sp-breadcrumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  color: var(--sp-muted);
  font-size: 14px;
}

.sp-project-intro {
  background: #fff;
  border: 1px solid var(--sp-border);
  border-radius: 14px;
  padding: 16px 18px;
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 14px;
  box-shadow: 0 10px 28px rgba(17, 88, 47, 0.07);
}

.sp-project-intro h1 {
  margin: 0 0 8px;
  font-size: 21px;
  line-height: 1.25;
  color: #124f2c;
}

.sp-project-intro p {
  margin: 0;
  font-size: 14px;
  color: #3d4f41;
}

.sp-share-btn {
  border: 1px solid #c8ddcb;
  background: #f4faf5;
  color: #2f4d36;
  border-radius: 999px;
  height: 38px;
  padding: 0 14px;
  font-size: 13px;
  font-weight: 700;
}

.sp-tabs-nav {
  margin: 16px auto 8px;
  display: flex;
  flex-wrap: nowrap;
  gap: 4px;
  justify-content: center;
  position: static;
  z-index: 25;
  border: 1px solid #dce8de;
  border-radius: 18px;
  padding: 10px 12px;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  box-shadow: 0 16px 32px rgba(17, 88, 47, 0.08);
}

.sp-tabs-nav::-webkit-scrollbar {
  display: none;
}

.sp-tabs-nav button {
  border: 1px solid transparent;
  background: linear-gradient(180deg, #f7fbf7 0%, #eef6ef 100%);
  color: #2a4f33;
  font-size: 16px;
  font-weight: 700;
  min-height: 42px;
  padding: 10px 14px;
  border-radius: 14px;
  cursor: pointer;
  text-align: center;
  flex: 0 0 auto;
  white-space: nowrap;
  box-shadow: inset 0 0 0 1px rgba(17, 88, 47, 0.06);
}

.sp-tabs-nav button.is-active {
  color: #fff;
  border-color: #de5b57;
  background: linear-gradient(135deg, #ef5d59 0%, #d93f3a 100%);
  box-shadow: 0 12px 24px rgba(227, 63, 58, 0.22);
}

.sp-tabs-nav button:hover {
  border-color: #d5e7d8;
  transform: translateY(-1px);
}

.sp-tab-panel { padding: 6px 0; }

.sp-tab-panel--surface {
  background: #fff;
  border: 1px solid var(--sp-border);
  border-radius: 18px;
  padding: 20px;
  box-shadow: 0 10px 28px rgba(17, 88, 47, 0.05);
}

.sp-plan-wrap {
  background: #fff;
  border: 1px solid var(--sp-border);
  border-radius: 14px;
  padding: 14px;
}

.sp-plan-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.sp-plan-head h3 {
  margin: 0;
  font-size: 24px;
  color: var(--sp-navy-2);
  text-transform: uppercase;
}

.sp-plan-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.sp-plan-legend-item {
  height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  background: #f6f8fb;
  border: 1px solid var(--sp-border);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
  color: #233333;
}

.sp-plan-legend-item i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--dot-color, #1f4f84);
  display: inline-block;
}

.sp-plan-map {
  position: relative;
  --plan-marker-base-scale: 0.7;
  --plan-marker-width: 24px;
  --plan-marker-height: 40px;
  --plan-marker-line-width: 2px;
  --plan-marker-line-height: 24px;
  --plan-marker-dot-size: 18px;
  --plan-marker-dot-core-size: 14px;
  border-radius: 12px;
  border: 1px solid var(--sp-border);
  background: #f7f9fb;
  overflow: hidden;
}

.sp-plan-controls {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 5;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.sp-plan-controls button {
  width: 38px;
  height: 38px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  background: #fff;
  border-radius: 8px;
  font-size: 20px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  padding: 0;
}

.sp-plan-viewport {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  cursor: grab;
  touch-action: none;
  overscroll-behavior: contain;
}

.sp-plan-map.is-dragging .sp-plan-viewport {
  cursor: grabbing;
}

.sp-plan-stage {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  transform-origin: 0 0;
}

.sp-plan-stage > img {
  width: 100%;
  height: 100%;
  object-fit: fill;
  display: block;
  user-select: none;
  pointer-events: none;
}

.sp-plan-map.is-safari-plan .sp-plan-stage > img {
  image-rendering: auto;
}

.sp-plan-map.is-ios-touch-plan:not(.is-ios-chrome-plan) .sp-plan-stage,
.sp-plan-map.is-ios-touch-plan:not(.is-ios-chrome-plan) .sp-plan-stage > img,
.sp-plan-map.is-ios-touch-plan:not(.is-ios-chrome-plan) .sp-plan-markers,
.sp-plan-map.is-ios-touch-plan:not(.is-ios-chrome-plan) .sp-plan-polygons {
  -webkit-backface-visibility: visible;
  backface-visibility: visible;
  will-change: auto;
  transform-style: flat;
}

.sp-plan-map.is-ios-touch-plan:not(.is-ios-chrome-plan) .sp-plan-stage > img {
  image-rendering: auto;
}

.sp-plan-polygons,
.sp-plan-markers {
  position: absolute;
  inset: 0;
}

.sp-plan-polygons {
  pointer-events: none;
}

.sp-plan-marker {
  position: absolute;
  width: var(--plan-marker-width);
  height: var(--plan-marker-height);
  transform: translate(-50%, -100%) scale(calc(var(--plan-marker-base-scale, 1) * var(--marker-ui-scale, 1))) translateZ(0);
  transform-origin: 50% 100%;
  display: block;
  isolation: isolate;
  pointer-events: none;
}

.sp-plan-marker::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: var(--plan-marker-line-width);
  height: var(--plan-marker-line-height);
  background: rgba(18, 25, 37, 0.96);
  transform: translateX(-50%);
  z-index: 0;
}

.sp-plan-marker-dot {
  position: absolute;
  left: 50%;
  top: 0;
  width: var(--plan-marker-dot-size);
  height: var(--plan-marker-dot-size);
  aspect-ratio: 1 / 1;
  border-radius: 999px;
  border: 1px solid rgba(23, 31, 43, 0.95);
  padding: 0;
  margin: 0;
  appearance: none;
  -webkit-appearance: none;
  line-height: 0;
  overflow: visible;
  background: #ffffff;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.92);
  cursor: pointer;
  pointer-events: auto;
  transform: translateX(-50%);
  transform-origin: 50% 50%;
  z-index: 1;
}

.sp-plan-marker-dot::before,
.sp-plan-marker-dot::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  border-radius: 50%;
  pointer-events: none;
}

.sp-plan-marker-dot::before {
  width: var(--plan-marker-dot-core-size);
  height: var(--plan-marker-dot-core-size);
  transform: translate(-50%, -50%);
  background: var(--status-color, #1f4f84);
  border-radius: 50%;
  opacity: 1;
}

.sp-plan-marker-dot::after {
  display: none;
}

.sp-plan-polygon {
  animation: spPlanPulse 2.8s ease-in-out infinite;
  pointer-events: none;
  vector-effect: non-scaling-stroke;
  shape-rendering: geometricPrecision;
}

.sp-plan-polygon--webkit {
  animation: none;
  fill-opacity: 0;
}

.sp-inventory-wrap {
  background: #fff;
  border: 1px solid var(--sp-border);
  border-radius: 14px;
  padding: 18px;
}

.sp-inventory-head {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 16px;
  margin-bottom: 14px;
}

.sp-inventory-head h3 {
  margin: 0;
  font-size: 26px;
  color: var(--sp-navy-2);
  text-transform: uppercase;
}

.sp-inventory-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.sp-inventory-filters select,
.sp-inventory-filters input {
  height: 46px;
  border-radius: 10px;
  border: 1px solid #d9dfeb;
  background: #fff;
  padding: 0 14px;
  min-width: 180px;
  font-size: 14px;
}

.sp-inventory-filters {
  margin-bottom: 14px;
  flex-wrap: nowrap;
}

.sp-inventory-filters > * {
  flex: 1 1 0;
  min-width: 0;
}

.sp-inventory-table-wrap {
  overflow: auto;
}

.sp-inventory-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 980px;
}

.sp-inventory-table th,
.sp-inventory-table td {
  border: 1px solid #e6ebf2;
  padding: 14px 12px;
  text-align: center;
  font-size: 14px;
}

.sp-inventory-table th {
  background: #fbfcff;
  color: #143253;
  font-size: 15px;
}

.sp-inventory-table tbody tr {
  cursor: pointer;
}

.sp-inventory-table tbody tr:hover {
  background: #f8fbff;
}

.sp-code-pill {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 12px;
  border-radius: 10px;
  background: #dff7e5;
  color: #1ea84c;
  font-weight: 800;
}

.sp-status-pill {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 12px;
  border-radius: 10px;
  background: #dff7e5;
  color: #1ea84c;
  font-weight: 800;
}

.sp-inventory-empty {
  margin: 16px 0 0;
  color: var(--sp-muted);
}

.sp-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
}

.sp-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(17, 27, 39, 0.46);
}

.sp-modal-dialog {
  position: relative;
  width: min(1200px, calc(100vw - 32px));
  margin: 5vh auto 0;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.24);
  overflow: hidden;
}

.sp-modal-dialog--wide {
  width: min(1240px, calc(100vw - 32px));
}

.sp-modal-dialog--unit {
  width: min(1030px, calc(100vw - 32px));
}

.sp-modal-dialog--unit.sp-modal-dialog--compact {
  width: min(760px, calc(100vw - 32px));
}

.sp-modal-dialog--image {
  width: fit-content;
  max-width: calc(100vw - 32px);
  background: transparent;
  box-shadow: none;
  overflow: visible;
}

.sp-modal-close {
  position: absolute;
  top: 10px;
  right: 12px;
  z-index: 2;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 999px;
  background: #f1f5fb;
  font-size: 24px;
  line-height: 1;
}

.sp-modal-content {
  max-height: 88vh;
  overflow: auto;
  padding: 14px;
}

.sp-modal-list h3 {
  margin: 0 0 14px;
  font-size: 28px;
  color: var(--sp-navy-2);
}

.sp-unit-modal {
  display: grid;
  grid-template-columns: minmax(320px, 42%) 1fr;
  gap: 14px;
}

.sp-unit-modal--no-media {
  grid-template-columns: 1fr;
}

.sp-unit-modal__media,
.sp-unit-modal__info {
  min-width: 0;
}

.sp-unit-modal__hero {
  width: 100%;
  height: auto;
  border-radius: 12px;
  display: block;
}

.sp-unit-modal__hero-button {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
}

.sp-unit-modal__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
  padding-right: 72px;
}

.sp-unit-modal__top h3 {
  margin: 0;
  font-size: 32px;
  color: #143253;
}

.sp-unit-modal__title-link {
  color: inherit;
  text-decoration: none;
}

.sp-unit-modal__title-link:hover,
.sp-unit-modal__title-link:focus {
  text-decoration: underline;
}

.sp-unit-modal__price {
  font-size: 26px;
  font-weight: 800;
  color: #e44646;
  margin-right: 8px;
}

.sp-unit-modal__prices {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 10px;
  margin-bottom: 10px;
}

.sp-unit-modal__price-card,
.sp-unit-modal__link-card,
.sp-unit-modal__support-card {
  background: #fbfcff;
  border: 1px solid #e6ebf2;
  border-radius: 12px;
  padding: 12px;
}

.sp-unit-modal__price-card strong,
.sp-unit-modal__link-card strong,
.sp-unit-modal__support-card strong {
  display: block;
  color: #6f7f98;
  font-size: 13px;
  margin-bottom: 6px;
}

.sp-unit-modal__price-card span,
.sp-unit-modal__support-card span {
  display: block;
  color: #143253;
  font-weight: 700;
  font-size: 24px;
  line-height: 1.15;
}

.sp-unit-modal__price-card:not(:first-child) span {
  font-size: 19px;
}

.sp-unit-modal__links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 10px;
}

.sp-unit-modal__link-card {
  display: flex;
  align-items: center;
  min-height: 84px;
}

.sp-unit-modal__link-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 44px;
  padding: 10px 14px;
  border-radius: 999px;
  background: #1ea84c;
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
}

.sp-unit-modal__link-button.is-disabled {
  background: #cbd5e1;
  color: #475569;
}

.sp-unit-modal__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 10px;
}

.sp-unit-modal__grid div {
  background: #fbfcff;
  border: 1px solid #e6ebf2;
  border-radius: 12px;
  padding: 10px 12px;
}

.sp-unit-modal__grid strong,
.sp-unit-modal__grid span {
  display: block;
}

.sp-unit-modal__grid strong {
  color: #6f7f98;
  font-size: 12px;
  margin-bottom: 4px;
}

.sp-unit-modal__grid span {
  color: #143253;
  font-weight: 700;
  font-size: 15px;
}

.sp-unit-modal__note {
  margin-top: 10px;
  padding: 12px;
  border-radius: 12px;
  background: #fff8eb;
  border: 1px solid #ffe3a9;
}

.sp-unit-modal__note p {
  margin: 0 0 8px;
}

.sp-unit-modal__note p:last-child {
  margin-bottom: 0;
}

.sp-unit-modal__support-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.sp-unit-modal__support-card span {
  font-size: 16px;
  margin-bottom: 6px;
}

.sp-unit-modal__support-card a {
  color: #2d2fd4;
  font-weight: 700;
  text-decoration: none;
}

.sp-cskh-block {
  margin-top: 12px;
  padding: 14px;
  border-radius: 14px;
  background: linear-gradient(180deg, #f7fbff 0%, #eef5ff 100%);
  border: 1px solid #d7e4f6;
}

.sp-cskh-block__title {
  margin: 0 0 15px;
  color: #1ea84c;
  font-size: 20px;
  font-weight: 800;
  text-align: center;
}

.sp-cskh-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.sp-cskh-card {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid #dde8f6;
  box-shadow: 0 8px 18px rgba(20, 50, 83, 0.06);
}

.sp-cskh-card__avatar {
  width: 56px;
  flex: 0 0 56px;
}

.sp-cskh-card__avatar img {
  display: block;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #eef5ff;
}

.sp-cskh-card__body h4 {
  margin: 0 0 3px;
  color: #143253;
  font-size: 15px;
  line-height: 1.25;
}

.sp-cskh-card__position,
.sp-cskh-card__meta {
  margin: 0;
  color: #607089;
  font-size: 12px;
}

.sp-cskh-card__position {
  font-weight: 700;
  color: #2b5b95;
}

.sp-cskh-block--unit .sp-cskh-card__body h4,
.sp-cskh-block--unit .sp-cskh-card__position {
  color: #1ea84c;
}

.sp-cskh-card__actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
}

.sp-cskh-card__actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  padding: 0;
  border-radius: 50%;
  background: transparent;
  color: transparent;
  text-decoration: none;
  border: 0;
  box-shadow: none;
}

.sp-cskh-card__actions a::before {
  content: "";
  width: 22px;
  height: 22px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  flex: 0 0 22px;
}

.sp-cskh-card__actions a.is-call::before {
  background-image: url("cta/icon_call.svg");
}

.sp-cskh-card__actions a.is-zalo::before {
  background-image: url("cta/icon_zalo.svg");
}

.sp-unit-detail-page {
  padding-bottom: 24px;
}

.sp-unit-detail {
  padding: 28px 0 8px;
}

.sp-unit-detail__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 20px;
}

.sp-unit-detail__project {
  margin: 0 0 8px;
  color: #2b5b95;
  font-size: 15px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.sp-unit-detail__head h1 {
  margin: 0 0 10px;
  font-size: 38px;
  line-height: 1.15;
  color: var(--sp-navy-2);
}

.sp-unit-detail__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 0;
  color: var(--sp-muted);
  font-weight: 600;
}

.sp-unit-detail__headline-price {
  flex: 0 0 auto;
  padding: 14px 18px;
  border-radius: 16px;
  background: linear-gradient(135deg, #fff4f0 0%, #ffe7e2 100%);
  color: #d94d3f;
  font-size: 30px;
  font-weight: 800;
  line-height: 1.1;
  margin-top: 20px;
}

.sp-unit-detail__layout {
  display: grid;
  grid-template-columns: minmax(320px, 42%) 1fr;
  gap: 18px;
}

.sp-unit-detail__layout--no-media {
  grid-template-columns: 1fr;
}

.sp-unit-detail__gallery,
.sp-unit-detail__content {
  min-width: 0;
}

.sp-unit-detail__hero img {
  display: block;
  width: 100%;
  border-radius: 18px;
}

.sp-unit-detail__thumbs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 10px;
}

.sp-unit-detail__thumb img {
  display: block;
  width: 100%;
  height: 130px;
  object-fit: cover;
  border-radius: 14px;
}

.sp-unit-detail__price-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 12px;
}

.sp-unit-detail__price-card,
.sp-unit-detail__info-card {
  padding: 14px;
  border-radius: 14px;
  background: #fbfcff;
  border: 1px solid #e6ebf2;
}

.sp-unit-detail__price-card strong,
.sp-unit-detail__info-card strong {
  display: block;
  margin-bottom: 6px;
  color: #6f7f98;
  font-size: 13px;
}

.sp-unit-detail__price-card span {
  display: block;
  color: #143253;
  font-size: 24px;
  font-weight: 800;
  line-height: 1.15;
}

.sp-unit-detail__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  background: #1ea84c;
  color: #fff;
  font-weight: 700;
  text-decoration: none;
}

.sp-unit-detail__info-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.sp-unit-detail__info-card span {
  display: block;
  color: #143253;
  font-size: 16px;
  font-weight: 700;
}

.sp-unit-detail__info-card .sp-unit-detail__link {
  margin-top: 10px;
}

.sp-unit-detail__info-card--links {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.sp-unit-detail__inline-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.sp-unit-detail__section {
  margin-top: 16px;
  padding: 18px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid #e6ebf2;
}

.sp-unit-detail__note {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid #e6ebf2;
}

@media (max-width: 980px) {
  .sp-unit-detail__head {
    flex-direction: column;
    gap: 12px;
  }

  .sp-unit-detail__layout {
    grid-template-columns: 1fr;
  }

  .sp-unit-detail__headline-price {
    font-size: 22px;
    padding: 12px 16px;
    margin-top: 0;
  }

  .sp-unit-detail__price-grid,
  .sp-unit-detail__thumbs {
    grid-template-columns: 1fr;
  }

  .sp-unit-detail__head h1 {
    font-size: 30px;
    line-height: 1.1;
  }

  .sp-unit-detail__price-grid {
    grid-template-columns: 1.15fr 1fr 1fr;
    gap: 8px;
    margin-bottom: 8px;
  }

  .sp-unit-detail__price-card,
  .sp-unit-detail__info-card {
    padding: 10px;
    border-radius: 10px;
  }

  .sp-unit-detail__price-card strong,
  .sp-unit-detail__info-card strong {
    font-size: 12px;
    margin-bottom: 4px;
  }

  .sp-unit-detail__price-card span {
    font-size: 18px;
  }

  .sp-unit-detail__info-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .sp-unit-detail__info-card span {
    font-size: 14px;
  }

  .sp-unit-detail__link {
    min-height: 36px;
    padding: 6px 10px;
    font-size: 12px;
  }

  .sp-unit-detail__inline-links {
    gap: 8px;
  }

  .sp-unit-modal {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .sp-modal-dialog--unit {
    width: min(94vw, 560px);
  }

  .sp-unit-modal__top {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
    gap: 8px;
    margin-bottom: 8px;
    padding-right: 44px;
  }

  .sp-unit-modal__top h3 {
    font-size: 22px;
    line-height: 1.05;
  }

  .sp-unit-modal__price {
    font-size: 18px;
    line-height: 1.05;
    margin-right: 0;
    text-align: right;
    white-space: nowrap;
  }

  .sp-unit-modal__prices {
    grid-template-columns: 1.15fr 1fr 1fr;
  }

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

  .sp-unit-modal__support-grid,
  .sp-cskh-list {
    grid-template-columns: 1fr;
  }

  .sp-unit-modal__price-card,
  .sp-unit-modal__link-card,
  .sp-unit-modal__support-card,
  .sp-unit-modal__grid div {
    padding: 10px;
    border-radius: 10px;
  }

  .sp-unit-modal__price-card strong,
  .sp-unit-modal__link-card strong,
  .sp-unit-modal__support-card strong {
    font-size: 12px;
    margin-bottom: 4px;
  }

  .sp-unit-modal__price-card span,
  .sp-unit-modal__support-card span {
    font-size: 18px;
  }

  .sp-unit-modal__price-card:not(:first-child) span {
    font-size: 16px;
  }

  .sp-unit-modal__link-card {
    min-height: 58px;
  }

  .sp-unit-modal__link-button {
    min-height: 36px;
    padding: 6px 10px;
    font-size: 12px;
  }

  .sp-unit-modal__grid {
    gap: 8px;
    margin-bottom: 8px;
  }

  .sp-unit-modal__grid span {
    font-size: 14px;
  }

  .sp-image-lightbox__actions {
    justify-content: center;
  }
}

.sp-caption-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.sp-caption-gallery__item {
  margin: 0;
}

.sp-caption-gallery__trigger {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
}

.sp-caption-gallery__trigger img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
  border-radius: 14px;
}

.sp-caption-gallery__caption {
  margin-top: 10px;
  color: var(--sp-muted);
  font-size: 14px;
  line-height: 1.6;
  text-align: center;
}

.sp-caption-gallery__content {
  margin-top: 28px;
}

.sp-image-lightbox {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  width: auto;
  max-width: 100%;
  padding: 16px;
  border-radius: 18px;
  background: #fff;
  text-align: center;
}

.sp-image-lightbox__actions {
  display: flex;
  justify-content: flex-start;
  width: 100%;
  margin-bottom: 12px;
}

.sp-image-lightbox__download {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 16px;
  border-radius: 999px;
  background: #143253;
  color: #fff;
  font-weight: 700;
  text-decoration: none;
}

.sp-image-lightbox img {
  width: auto;
  max-width: min(78vw, 1100px);
  max-height: calc(88vh - 120px);
  object-fit: contain;
  display: block;
}

.sp-image-lightbox__caption {
  margin: 16px 0 0;
  color: var(--sp-muted);
  font-size: 15px;
  line-height: 1.6;
}

@keyframes spPlanPulse {
  0% {
    fill-opacity: 0.14;
    stroke-opacity: 0.28;
  }
  50% {
    fill-opacity: 0.23;
    stroke-opacity: 0.42;
  }
  100% {
    fill-opacity: 0.14;
    stroke-opacity: 0.28;
  }
}

.sp-hero-slider {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--sp-border);
  background: #fff;
}

.sp-slide { display: none; }
.sp-slide.is-active { display: block; }

.sp-slider-prev,
.sp-slider-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 0;
  background: rgba(17, 88, 47, 0.55);
  color: #fff;
  font-size: 26px;
  cursor: pointer;
}

.sp-slider-prev { left: 12px; }
.sp-slider-next { right: 12px; }

.sp-slider-dots {
  position: absolute;
  left: 50%;
  bottom: 12px;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
}

.sp-slider-dots button {
  width: 10px;
  height: 10px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.55);
}

.sp-slider-dots button.is-active { background: #1f9d55; }

.sp-gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.sp-gallery-grid img {
  border-radius: 10px;
  border: 1px solid var(--sp-border);
}

.sp-gallery-single { grid-template-columns: 1fr; }

.sp-flex-sections {
  display: grid;
  gap: 54px;
}

.sp-flex-section {
  display: grid;
  gap: 26px;
  align-items: center;
}

.sp-flex-section--split-left,
.sp-flex-section--split-right {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}

.sp-flex-content h3 {
  margin: 0 0 14px;
  font-size: 30px;
  line-height: 1.2;
  color: #153d2a;
}

.sp-rich-content {
  color: #2a3b30;
  font-size: 17px;
  line-height: 1.75;
}

.sp-rich-content > *:first-child { margin-top: 0; }

.sp-rich-content > *:last-child { margin-bottom: 0; }

.sp-flex-media img,
.sp-flex-media iframe {
  width: 100%;
  display: block;
  border-radius: 18px;
  border: 1px solid var(--sp-border);
  background: #fff;
}

.sp-flex-media--image img {
  min-height: 420px;
  object-fit: cover;
}

.sp-flex-media--gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.sp-flex-media--gallery img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.sp-flex-media--embed iframe {
  min-height: 520px;
}

.sp-progress-layout {
  display: grid;
  grid-template-columns: 340px minmax(0, 1fr);
  gap: 36px;
}

.sp-progress-timeline h3 {
  margin: 0 0 18px;
  font-size: 22px;
  color: #143d29;
  text-transform: uppercase;
}

.sp-progress-list {
  position: relative;
  display: grid;
  gap: 14px;
  padding-left: 24px;
}

.sp-progress-list::before {
  content: "";
  position: absolute;
  left: 8px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: #2b7bd3;
}

.sp-progress-item {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  text-align: left;
  border: 0;
  background: #efefef;
  border-radius: 16px;
  padding: 16px 18px 16px 0;
  cursor: pointer;
}

.sp-progress-item.is-active {
  background: #f3f7ff;
  box-shadow: inset 0 -4px 0 #2b7bd3;
}

.sp-progress-item__dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #2b7bd3;
  border: 4px solid #fff;
  box-shadow: 0 0 0 1px #2b7bd3;
  margin-left: -8px;
  flex: 0 0 auto;
}

.sp-progress-item__text strong {
  display: block;
  font-size: 18px;
  color: #26323d;
}

.sp-progress-item__text small {
  display: block;
  margin-top: 4px;
  color: #6f7f8f;
  font-size: 14px;
}

.sp-progress-panel__head h4 {
  margin: 0 0 12px;
  font-size: 28px;
  color: #143d29;
}

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

.sp-progress-grid img {
  width: 100%;
  display: block;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 16px;
  border: 1px solid var(--sp-border);
}

.sp-doc-list--cards li {
  background: #fff;
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  align-items: center;
}

.sp-doc-list--cards a {
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0;
  padding: 15px;
  text-decoration: none;
  color: inherit;
}

.sp-doc-list--cards strong {
  color: var(--sp-accent);
}

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

.sp-docs-showcase {
  background: #fff;
  border: 1px solid var(--sp-border);
  border-radius: 18px;
  overflow: hidden;
}

.sp-docs-showcase__head {
  padding: 22px 24px 10px;
  text-align: center;
}

.sp-docs-showcase__head h3 {
  margin: 0;
  font-size: 34px;
  color: var(--sp-navy-2);
  text-transform: uppercase;
}

.sp-doc-list--cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  background: transparent;
  border: 0;
  border-radius: 0;
}

.sp-doc-list--cards li {
  border-top: 1px solid var(--sp-border);
  border-right: 1px solid var(--sp-border);
  min-height: 58px;
}

.sp-doc-list--cards li:nth-child(3n) {
  border-right: 0;
}

.sp-doc-list__index {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(180deg, #d39a19, #b87b00);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  text-align: center;
  font-size: 15px;
  font-weight: 700;
  margin-left: 15px;
  place-self: center;
}

.sp-doc-list__title {
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  min-height: 36px;
  font-size: 18px;
  font-weight: 700;
  color: #243444;
}

.sp-iframe-wrap iframe {
  width: 100%;
  min-height: 720px;
  border: 1px solid var(--sp-border);
  border-radius: 12px;
  background: #fff;
}

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

.sp-sub-card {
  background: #fff;
  border: 1px solid var(--sp-border);
  border-radius: 14px;
  overflow: hidden;
}

.sp-sub-head { padding: 12px 12px 8px; }

.sp-sub-head small {
  color: #7a869a;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.sp-sub-head h3 {
  margin: 5px 0 0;
  font-size: 21px;
  color: #145530;
}

.sp-sub-media {
  aspect-ratio: 16 / 9;
  background: #e2ecdf;
}

.sp-sub-foot { padding: 10px 12px 12px; }

.sp-sub-foot small {
  display: block;
  color: #7b8698;
  font-size: 11px;
}

.sp-sub-foot strong {
  font-size: 16px;
  color: #145530;
}

.sp-doc-list {
  margin: 0;
  padding: 0;
  list-style: none;
  background: #fff;
  border: 1px solid var(--sp-border);
  border-radius: 12px;
}

.sp-doc-list li + li { border-top: 1px solid var(--sp-border); }

.sp-doc-list a,
.sp-doc-list span {
  display: block;
  padding: 12px 14px;
  font-size: 14px;
}

.sp-rich {
  background: #fff;
  border: 1px solid var(--sp-border);
  border-radius: 12px;
  padding: 30px;
  font-size: 15px;
  line-height: 1.6;
}

.sp-footer {
  border-top: 1px solid var(--sp-border);
  background: #fff;
}

.sp-footer-inner {
  height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #64748a;
  font-size: 13px;
}

@media (max-width: 1200px) {
  .sp-inventory-filters {
    flex-wrap: wrap;
  }

  .sp-tabs-nav {
    justify-content: flex-start;
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .sp-tabs-nav::-webkit-scrollbar {
    display: none;
  }

  .sp-tabs-nav button {
    flex: 0 0 auto;
    white-space: nowrap;
  }

  .sp-inventory-filters > * {
    flex: 1 1 calc(33.333% - 10px);
    min-width: 200px;
  }

  .sp-filter-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sp-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .sp-subdivision-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sp-doc-list--cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sp-doc-list--cards li:nth-child(3n) { border-right: 1px solid var(--sp-border); }
  .sp-doc-list--cards li:nth-child(2n) { border-right: 0; }
  .sp-progress-layout { grid-template-columns: 1fr; }
  .sp-progress-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sp-news-project-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sp-flex-section--split-left,
  .sp-flex-section--split-right { grid-template-columns: 1fr; }
  .sp-flex-content h3 { font-size: 24px; }
  .sp-flex-media--image img { min-height: 320px; }
  .sp-flex-media--embed iframe { min-height: 420px; }
}

@media (max-width: 768px) {
  .sp-wrap { width: calc(100% - 20px); }
  .sp-wrap.sp-detail { width: calc(100% - 20px); }

  .sp-main {
    padding: 18px 0 36px;
  }

  .sp-header-inner {
    height: auto;
    padding: 10px 0;
    flex-direction: column;
    align-items: center;
  }

  .sp-logo { height: 50px; }

  .sp-nav {
    width: 100%;
    overflow-x: auto;
    scrollbar-width: none;
    display: flex;
    justify-content: center;
  }
  .sp-nav::-webkit-scrollbar {
    display: none;
  }
  .sp-nav-list {
    gap: 16px;
    min-width: max-content;
    justify-content: center;
  }
  .sp-nav-list a { font-size: 15px; }

  .sp-home-head h1 { font-size: 28px; }
  .sp-breadcrumbs {
    flex-wrap: wrap;
    row-gap: 4px;
    font-size: 13px;
  }
  .sp-filter-row {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    align-items: start;
  }
  .sp-filter-row .sp-input-wrap {
    grid-column: span 4;
  }
  .sp-filter-row .sp-filter-toggle {
    grid-column: span 2;
  }
  .sp-filter-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 44px;
    border: 1px solid #c5d1e2;
    border-radius: 10px;
    background: #f5f6fb;
    color: var(--sp-navy-2);
    font-size: 14px;
    font-weight: 700;
  }
  .sp-filter-toggle::after {
    content: "▾";
    font-size: 15px;
    line-height: 1;
  }
  .sp-filter-toggle[aria-expanded="true"]::after {
    content: "▴";
  }
  .sp-filter-row select {
    display: none;
  }
  .sp-filter-row.is-open select {
    display: block;
    width: 100%;
  }
  .sp-filter-row.is-open #spFilterDeveloper,
  .sp-filter-row.is-open #spFilterRegion,
  .sp-filter-row.is-open #spFilterType,
  .sp-filter-row.is-open #spFilterStatus {
    min-width: 0;
    width: 100%;
    grid-column: span 3;
  }
  .sp-filter-row.is-open #spFilterDeveloper,
  .sp-filter-row.is-open #spFilterRegion {
    grid-row: 2;
  }
  .sp-filter-row.is-open #spFilterType,
  .sp-filter-row.is-open #spFilterStatus {
    grid-row: 3;
  }
  .sp-grid { grid-template-columns: 1fr; }
  .sp-inventory-filters > * { flex-basis: 100%; min-width: 0; }
  .sp-inventory-filters [data-filter-order="search"] { order: 1; }
  .sp-inventory-filters [data-filter-order="sort"] { order: 2; }
  .sp-inventory-filters [data-filter-order="type"] { order: 3; }
  .sp-inventory-filters [data-filter-order="direction"] { order: 4; }
  .sp-inventory-filters [data-filter-order="subdivision"] { order: 5; }
  .sp-inventory-filters [data-filter-order="building"] { order: 6; }
  .sp-project-intro {
    flex-direction: column;
    padding: 14px;
  }
  .sp-project-intro h1 { font-size: 22px; }
  .sp-project-intro p {
    font-size: 13px;
    line-height: 1.55;
  }
  .sp-share-btn {
    width: 100%;
    justify-content: center;
  }
  .sp-tabs-nav {
    justify-content: flex-start;
    flex-wrap: nowrap;
    overflow-x: auto;
    position: static;
    padding: 6px;
    border-radius: 14px;
    scrollbar-width: none;
  }
  .sp-tabs-nav::-webkit-scrollbar {
    display: none;
  }
  .sp-tabs-nav button {
    flex: 0 0 auto;
    min-height: 40px;
    padding: 9px 12px;
    font-size: 14px;
    white-space: nowrap;
  }
  .sp-tab-panel--surface {
    padding: 10px;
    border-radius: 14px;
  }
  .sp-plan-wrap {
    padding: 6px;
  }
  .sp-plan-head h3 {
    font-size: 20px;
  }
  .sp-plan-legend-item {
    height: 30px;
    padding: 0 10px;
    font-size: 12px;
  }
  .sp-plan-controls {
    top: auto;
    bottom: 10px;
    left: 10px;
    flex-direction: row;
  }
  .sp-plan-controls button {
    width: 34px;
    height: 34px;
    font-size: 18px;
  }
  .sp-inventory-wrap {
    padding: 8px;
  }
  .sp-inventory-head h3 {
    font-size: 22px;
  }
  .sp-inventory-filters {
    gap: 8px;
  }
  .sp-plan-map {
    --plan-marker-width: 24px;
    --plan-marker-height: 40px;
    --plan-marker-line-width: 1px;
    --plan-marker-line-height: 24px;
    --plan-marker-dot-size: 18px;
    --plan-marker-dot-core-size: 14px;
  }
  .sp-plan-viewport {
    aspect-ratio: auto;
    min-height: clamp(360px, 72svh, 610px);
  }
  .sp-plan-stage > img {
    object-fit: cover;
  }
  .sp-plan-controls button {
    font-size: 28px;
  }
  .sp-inventory-filters input,
  .sp-inventory-filters select {
    height: 42px;
    font-size: 14px;
  }
  .sp-subdivision-grid,
  .sp-gallery-grid,
  .sp-caption-gallery { grid-template-columns: 1fr; }
  .sp-docs-showcase__head h3 { font-size: 28px; }
  .sp-doc-list--cards { grid-template-columns: 1fr; }
  .sp-doc-list--cards li,
  .sp-doc-list--cards li:nth-child(2n),
  .sp-doc-list--cards li:nth-child(3n) { border-right: 0; }
  .sp-progress-grid,
  .sp-news-project-grid { grid-template-columns: 1fr; }
  .sp-flex-sections { gap: 24px; }
  .sp-flex-media--gallery { grid-template-columns: 1fr; }
  .sp-iframe-wrap iframe { min-height: 420px; }
  .sp-single-head h1,
  .sp-unit-detail__head h1 {
    font-size: 28px;
  }
  .sp-unit-detail__head {
    gap: 12px;
    margin-bottom: 16px;
  }
  .sp-unit-detail__price-card span {
    font-size: 20px;
  }
  .sp-unit-detail__info-card span {
    font-size: 15px;
  }
  .sp-unit-detail__section {
    padding: 14px;
  }
  .sp-cskh-block {
    padding: 12px;
  }
  .sp-cskh-card {
    padding: 9px;
  }
}

@media (max-width: 1366px) and (orientation: landscape) {
  .sp-plan-map {
    height: 200vh;
    min-height: 200vh;
    height: 200dvh;
    min-height: 200dvh;
  }
  .sp-plan-viewport {
    height: 100%;
    min-height: 100%;
  }
}

@media (max-width: 560px) {
  .sp-wrap {
    width: calc(100% - 16px);
  }

  .sp-wrap.sp-detail {
    width: calc(100% - 20px);
  }

  .sp-main {
    padding: 14px 0 28px;
  }

  .sp-header-inner {
    gap: 12px;
    padding: 8px 0;
  }

  .sp-logo {
    height: 44px;
  }

  .sp-home-head {
    margin-bottom: 14px;
  }

  .sp-home-head h1 {
    font-size: 24px;
  }

  .sp-project-intro,
  .sp-tab-panel--surface,
  .sp-plan-wrap,
  .sp-inventory-wrap,
  .sp-unit-detail__section {
    padding: 8px;
  }

  .sp-project-intro h1,
  .sp-single-head h1,
  .sp-unit-detail__head h1 {
    font-size: 24px;
  }

  .sp-tabs-nav {
    margin-top: 12px;
    padding: 4px;
  }

  .sp-tabs-nav button {
    min-height: 38px;
    padding: 8px 10px;
    border-radius: 12px;
    font-size: 13px;
  }

  .sp-plan-head h3,
  .sp-inventory-head h3 {
    font-size: 18px;
  }

  .sp-unit-detail__headline-price {
    width: 100%;
    text-align: center;
    font-size: 22px;
  }

  .sp-unit-detail__head h1 {
    font-size: 22px;
  }

  .sp-unit-detail__price-grid {
    grid-template-columns: 1.15fr 1fr 1fr;
  }

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

  .sp-unit-detail__inline-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .sp-unit-detail__thumb img {
    height: 110px;
  }

  .sp-cskh-card__avatar,
  .sp-cskh-card__avatar img {
    width: 48px;
    height: 48px;
    flex-basis: 48px;
  }

  .sp-cskh-card__body h4 {
    font-size: 14px;
  }

  .sp-cskh-card__position {
    font-size: 11px;
  }
}

/* About Page */
.sp-about-page {
  padding-bottom: 26px;
}

.sp-about-hero {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 16px;
  align-items: stretch;
  margin-bottom: 16px;
}

.sp-about-hero-content {
  background: linear-gradient(145deg, rgba(27, 126, 68, 0.08), rgba(227, 63, 58, 0.08));
  border: 1px solid var(--sp-border);
  border-radius: 16px;
  padding: 24px;
}

.sp-about-kicker {
  margin: 0 0 8px;
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--sp-cyan);
  font-weight: 700;
}

.sp-about-hero-content h1 {
  margin: 0 0 10px;
  font-size: 34px;
  line-height: 1.15;
  color: var(--sp-navy-2);
}

.sp-about-lead {
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
  color: #2d4a33;
}

.sp-about-hero-media {
  border: 1px solid var(--sp-border);
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
}

.sp-about-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.sp-about-content h2,
.sp-single-content h2 {
  margin: 1.3em 0 0.5em;
  font-size: 26px;
  line-height: 1.3;
  color: var(--sp-navy-2);
  border-left: 4px solid var(--sp-cyan);
  padding-left: 12px;
}

.sp-about-content h3,
.sp-single-content h3 {
  margin: 1.1em 0 0.45em;
  font-size: 21px;
  color: var(--sp-navy);
}

.sp-about-content p,
.sp-about-content li,
.sp-single-content p,
.sp-single-content li {
  font-size: 15px;
  line-height: 1.75;
}

/* News Module */
.sp-news-home {
  margin-top: 24px;
}

.sp-news-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 14px;
  margin-bottom: 12px;
}

.sp-news-head h2,
.sp-news-head h1 {
  margin: 0;
  font-size: 36px;
  line-height: 1.2;
  color: var(--sp-navy-2);
}

.sp-news-head a {
  color: var(--sp-cyan);
  font-weight: 700;
  font-size: 16px;
}

.sp-news-slider {
  overflow: hidden;
  width: 100%;
  border-radius: 14px;
}

.sp-news-track {
  display: flex;
  width: max-content;
  gap: 14px;
  animation: sp-news-marquee 42s linear infinite;
}

.sp-news-slider:hover .sp-news-track {
  animation-play-state: paused;
}

@keyframes sp-news-marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.sp-news-card {
  flex: 0 0 300px;
  width: 300px;
  border: 1px solid var(--sp-border);
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 8px 24px rgba(17, 88, 47, 0.08);
}

.sp-news-image-wrap {
  position: relative;
  aspect-ratio: 16 / 10;
  background: #e4eee5;
}

.sp-news-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.sp-news-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  height: 28px;
  padding: 0 12px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  background: linear-gradient(120deg, #ef9940, #dc7821);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
}

.sp-news-body {
  padding: 12px;
}

.sp-news-body h3 {
  margin: 0 0 10px;
  font-size: 20px;
  line-height: 1.35;
  color: #193e2a;
  min-height: 52px;
}

.sp-news-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  font-size: 13px;
}

.sp-news-meta time {
  color: #7b8e7b;
}

.sp-news-meta span {
  color: #2f4a2f;
  font-weight: 700;
  text-decoration: underline;
}

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

.sp-news-archive,
.sp-single-news {
  padding-bottom: 24px;
}

.sp-pagination {
  margin-top: 16px;
}

.sp-single-head h1 {
  margin: 0 0 6px;
  font-size: 34px;
  line-height: 1.2;
  color: var(--sp-navy-2);
}

.sp-single-head p {
  margin: 0 0 14px;
  color: var(--sp-muted);
}

.sp-single-thumb {
  margin: 0 0 16px;
}

.sp-single-thumb img {
  width: 100%;
  border-radius: 12px;
}

.sp-single-content img,
.sp-rich-content img {
  max-width: 100%;
  height: auto;
}

/* Footer */
.sp-footer-modern {
  position: relative;
  background:
    radial-gradient(700px 320px at 20% 18%, rgba(255, 255, 255, 0.08), transparent 70%),
    radial-gradient(500px 280px at 90% 90%, rgba(227, 63, 58, 0.22), transparent 75%),
    linear-gradient(160deg, #0d3f21, #0d2e52 60%, #202f89);
  color: #f3f7ff;
  border-top: 0;
  margin-top: 36px;
}

.sp-footer-grid {
  display: grid;
  grid-template-columns: 1.7fr 0.8fr 0.7fr;
  gap: 22px;
  padding: 44px 0 28px;
}

.sp-footer-grid--compact {
  grid-template-columns: 1.7fr 0.9fr;
}

.sp-foot-col h4 {
  margin: 0 0 14px;
  font-size: 25px;
  color: #fff;
}

.sp-foot-logo img {
  width: 220px;
  max-width: 100%;
  margin-bottom: 10px;
}

.sp-foot-brand p {
  margin: 0 0 14px;
  font-size: 19px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.92);
}

.sp-foot-contact {
  list-style: none;
  margin: 0;
  padding: 0;
}

.sp-foot-contact li {
  margin-bottom: 9px;
  font-size: 18px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.95);
}

.sp-foot-contact strong {
  color: #a8d1ff;
}

.sp-foot-menu {
  list-style: none;
  margin: 0;
  padding: 0;
}

.sp-foot-menu li + li {
  margin-top: 8px;
}

.sp-foot-menu a {
  color: rgba(255, 255, 255, 0.94);
  font-size: 18px;
}

.sp-social-links {
  display: flex;
  gap: 10px;
}

.sp-social-links a {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #fff;
  font-weight: 700;
  font-size: 20px;
}

.sp-footer-copy {
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  padding: 16px 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.sp-footer-copy p {
  margin: 0;
  color: rgba(245, 250, 255, 0.92);
  font-size: 17px;
}

.sp-footer-copy a {
  color: inherit;
  text-decoration: none;
}

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

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

  .sp-footer-copy {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 768px) {
  .sp-about-hero {
    grid-template-columns: 1fr;
  }

  .sp-news-head h2,
  .sp-news-head h1 {
    font-size: 26px;
  }

  .sp-news-slider .sp-news-card {
    flex-basis: 260px;
    width: 260px;
  }

  .sp-news-grid .sp-news-card {
    width: 100%;
  }

  .sp-news-grid,
  .sp-footer-grid {
    grid-template-columns: 1fr;
  }

  .sp-plan-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .sp-foot-col h4 {
    font-size: 22px;
  }

  .sp-foot-brand p,
  .sp-foot-contact li,
  .sp-foot-menu a,
  .sp-footer-copy p {
    font-size: 15px;
  }

  .sp-single-content img,
  .sp-rich-content img {
    width: auto;
    max-width: 100%;
    height: auto !important;
  }
}
