/* =========================================================
   RK DEVELOPERS
   PROJECT DETAILS PAGE
========================================================= */

/* BREADCRUMB */
.project-breadcrumb-section {
  padding: 18px 0;
  background: var(--bg-body);
  border-bottom: 1px solid var(--border-light);
}

.project-breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.72rem;
  line-height: 1.5;
}

.project-breadcrumb a {
  color: var(--text-secondary);
  transition: color var(--transition-fast);
}

.project-breadcrumb a:hover {
  color: var(--secondary-dark);
}

.project-breadcrumb i {
  color: var(--secondary);
  font-size: 0.5rem;
}

.project-breadcrumb span {
  color: var(--primary);
  font-weight: 600;
}

/* =========================================================
   TOP PROJECT GALLERY
========================================================= */

.project-top-gallery {
  padding: 26px 0 0;
}

.project-gallery-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.75fr) minmax(260px, 0.85fr);
  gap: 12px;
  height: 520px;
}

.project-gallery-main,
.project-gallery-side-item {
  position: relative;
  display: block;
  overflow: hidden;
  background: var(--bg-soft);
}

.project-gallery-main {
  border-radius: var(--radius-lg) 0 0 var(--radius-lg);
}

.project-gallery-side {
  display: grid;
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.project-gallery-side-item:first-child {
  border-radius: 0 var(--radius-lg) 0 0;
}

.project-gallery-side-item:last-child {
  border-radius: 0 0 var(--radius-lg) 0;
}

.project-gallery-main img,
.project-gallery-side-item img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.project-gallery-main:hover img,
.project-gallery-side-item:hover img {
  transform: scale(1.045);
}

.project-gallery-main-overlay {
  position: absolute;
  top: 20px;
  right: 20px;

  width: 42px;
  height: 42px;

  display: flex;
  align-items: center;
  justify-content: center;

  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;

  background: rgba(6, 23, 47, 0.72);
  backdrop-filter: blur(10px);

  color: #fff;
  font-size: 0.75rem;

  opacity: 0;
  transform: translateY(-5px);

  transition:
    opacity var(--transition),
    transform var(--transition);
}

.project-gallery-main:hover .project-gallery-main-overlay {
  opacity: 1;
  transform: translateY(0);
}

.project-gallery-more-overlay {
  position: absolute;
  inset: 0;

  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;

  gap: 8px;

  background: rgba(6, 23, 47, 0.52);

  color: #fff;
  text-align: center;

  transition: background var(--transition);
}

.project-gallery-more:hover .project-gallery-more-overlay {
  background: rgba(6, 23, 47, 0.72);
}

.project-gallery-more-overlay i {
  width: 50px;
  height: 50px;

  display: flex;
  align-items: center;
  justify-content: center;

  border: 1px solid rgba(225, 185, 87, 0.4);
  border-radius: 50%;

  background: rgba(201, 151, 46, 0.16);

  color: var(--secondary-light);
  font-size: 1rem;
}

.project-gallery-more-overlay strong {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 800;
}

/* =========================================================
   PROJECT TITLE
========================================================= */

.project-title-section {
  padding: 34px 0 0;
}

.project-title-layout {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;

  padding-bottom: 28px;

  border-bottom: 1px solid var(--border-light);
}

.project-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;

  margin-bottom: 12px;

  color: var(--success);

  font-size: 0.63rem;
  font-weight: 800;

  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.project-status-badge span {
  width: 7px;
  height: 7px;

  border-radius: 50%;

  background: var(--success);
  box-shadow: 0 0 0 4px rgba(25, 135, 84, 0.1);
}

.project-title-content h1 {
  margin: 0;

  color: var(--primary);

  font-family: var(--font-heading);

  font-size: clamp(2.2rem, 4vw, 3.5rem);

  line-height: 1.08;

  font-weight: 800;

  letter-spacing: -0.035em;
}

.project-title-location {
  display: flex;
  align-items: center;
  gap: 8px;

  margin-top: 12px;

  color: var(--text-secondary);

  font-size: 0.86rem;
}

.project-title-location i {
  color: var(--secondary-dark);
}

.project-price-box {
  flex: 0 0 auto;

  text-align: right;
}

.project-price-box small {
  display: block;

  margin-bottom: 4px;

  color: var(--text-light);

  font-size: 0.6rem;
  font-weight: 700;

  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.project-price-box strong {
  display: block;

  color: var(--secondary-dark);

  font-family: var(--font-heading);

  font-size: clamp(1.7rem, 3vw, 2.5rem);

  line-height: 1.1;

  font-weight: 800;
}

/* =========================================================
   QUICK FACTS
========================================================= */

.project-facts-section {
  padding: 0;
}

.project-facts {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));

  border-bottom: 1px solid var(--border-light);
}

.project-fact {
  position: relative;

  min-height: 120px;

  display: flex;
  flex-direction: column;
  justify-content: center;

  padding: 20px 24px;

  border-right: 1px solid var(--border-light);
}

.project-fact:first-child {
  padding-left: 0;
}

.project-fact:last-child {
  border-right: 0;
}

.project-fact strong {
  display: block;

  margin-bottom: 6px;

  color: var(--primary);

  font-family: var(--font-heading);

  font-size: 0.88rem;
  line-height: 1.45;

  font-weight: 800;
}

.project-fact span {
  color: var(--text-light);

  font-size: 0.65rem;

  font-weight: 600;
}

/* =========================================================
   MAIN CONTENT LAYOUT
========================================================= */

.project-content-section {
  padding-top: 55px;
}

.project-content-layout {
  display: grid;

  grid-template-columns:
    minmax(0, 1fr)
    360px;

  gap: 55px;

  align-items: start;
}

.project-main-content {
  min-width: 0;
}

.project-sidebar {
  position: sticky;
  top: 110px;
}

/* =========================================================
   CONTENT BLOCK
========================================================= */

.project-content-block {
  padding: 0 0 25px;
  margin-bottom: 25px;

  border-bottom: 1px solid var(--border-light);
}

.project-content-block:last-child {
  margin-bottom: 0;
}

.project-block-heading {
  margin-bottom: 24px;
}

.project-block-heading > span {
  display: block;

  margin-bottom: 8px;

  color: var(--secondary-dark);

  font-size: 0.62rem;
  font-weight: 800;

  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.project-block-heading h2 {
  margin: 0;

  color: var(--primary);

  font-family: var(--font-heading);

  font-size: clamp(1.35rem, 2.2vw, 1.8rem);

  line-height: 1.25;

  font-weight: 800;
}

/* =========================================================
   PROPERTY INFORMATION
========================================================= */

.project-info-highlight {
  position: relative;

  padding: 24px 25px;
  margin-bottom: 25px;

  border-left: 3px solid var(--secondary);

  border-radius: 0 var(--radius-md) var(--radius-md) 0;

  background: var(--bg-light);

  color: var(--text-primary);

  font-size: 0.86rem;
  line-height: 1.8;
}

.project-description p {
  margin: 0 0 16px;

  color: var(--text-secondary);

  font-size: 0.82rem;
  line-height: 1.9;
}

.project-description p:last-child {
  margin-bottom: 0;
}

/* =========================================================
   CONFIGURATION TABLE
========================================================= */

.project-config-table-wrapper {
  overflow-x: auto;

  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);

  background: #fff;
}

.project-config-table {
  width: 100%;

  border-collapse: collapse;

  min-width: 680px;
}

.project-config-table th {
  padding: 15px 18px;

  background: var(--bg-light);

  color: var(--primary);

  border-bottom: 1px solid var(--border-light);

  font-family: var(--font-heading);

  font-size: 0.68rem;

  font-weight: 800;

  text-align: left;
}

.project-config-table td {
  padding: 16px 18px;

  border-bottom: 1px solid var(--border-light);

  color: var(--text-secondary);

  font-size: 0.7rem;

  line-height: 1.6;
}

.project-config-table tbody tr:last-child td {
  border-bottom: 0;
}

.project-config-table tbody tr:hover {
  background: rgba(201, 151, 46, 0.025);
}

.project-config-table td strong {
  color: var(--primary);

  font-size: 0.72rem;
}

.config-status {
  display: inline-flex;

  padding: 5px 9px;

  border-radius: var(--radius-pill);

  background: rgba(25, 135, 84, 0.08);

  color: var(--success);

  font-size: 0.58rem;

  font-weight: 800;
}

/* =========================================================
   AMENITIES
========================================================= */

.project-amenities {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.project-amenity {
  display: inline-flex;
  align-items: center;
  gap: 9px;

  min-height: 42px;

  padding: 8px 15px;

  border: 1px solid var(--border-light);

  border-radius: var(--radius-pill);

  background: var(--bg-light);

  color: var(--text-primary);

  font-size: 0.7rem;

  transition:
    transform var(--transition),
    border-color var(--transition),
    background var(--transition);
}

.project-amenity:hover {
  transform: translateY(-2px);

  border-color: rgba(201, 151, 46, 0.35);

  background: rgba(201, 151, 46, 0.06);
}

.project-amenity i {
  color: var(--secondary-dark);

  font-size: 0.7rem;
}

/* =========================================================
   SPECIFICATIONS
========================================================= */

.project-specifications {
  display: grid;

  grid-template-columns: repeat(2, minmax(0, 1fr));

  gap: 12px;
}

.project-specification {
  display: flex;
  align-items: flex-start;
  gap: 13px;

  padding: 17px;

  border: 1px solid var(--border-light);

  border-radius: var(--radius-md);

  background: #fff;

  transition:
    transform var(--transition),
    box-shadow var(--transition),
    border-color var(--transition);
}

.project-specification:hover {
  transform: translateY(-3px);

  border-color: rgba(201, 151, 46, 0.3);

  box-shadow: var(--shadow-sm);
}

.project-specification-icon {
  width: 38px;
  height: 38px;

  flex: 0 0 38px;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 9px;

  background: rgba(201, 151, 46, 0.09);

  color: var(--secondary-dark);

  font-size: 0.7rem;
}

.project-specification strong {
  display: block;

  margin-bottom: 4px;

  color: var(--primary);

  font-family: var(--font-heading);

  font-size: 0.72rem;
}

.project-specification p {
  margin: 0;

  color: var(--text-secondary);

  font-size: 0.65rem;

  line-height: 1.6;
}

/* =========================================================
   WALKTHROUGH
========================================================= */

.project-video {
  overflow: hidden;

  border-radius: var(--radius-lg);

  background: var(--primary-dark);

  box-shadow: var(--shadow-md);

  aspect-ratio: 16 / 9;
}

.project-video video {
  width: 100%;
  height: 100%;

  display: block;

  object-fit: cover;
}

/* =========================================================
   LOCATION MAP
========================================================= */

.project-map-wrapper {
  overflow: hidden;

  height: 390px;

  border: 1px solid var(--border-light);

  border-radius: var(--radius-lg);

  background: var(--bg-soft);

  box-shadow: var(--shadow-sm);
}

.project-map-wrapper iframe {
  width: 100%;
  height: 100%;

  display: block;

  border: 0;
}

.project-map-address {
  display: flex;
  align-items: center;
  gap: 9px;

  padding-top: 14px;
}

.project-map-address > i {
  color: var(--secondary-dark);
}

.project-map-address span {
  color: var(--text-secondary);

  font-size: 0.72rem;
}

.project-map-address a {
  margin-left: auto;

  display: inline-flex;
  align-items: center;
  gap: 6px;

  color: var(--secondary-dark);

  font-size: 0.68rem;

  font-weight: 700;
}

.project-map-address a:hover {
  color: var(--primary);
}

/* =========================================================
   LOCATION ADVANTAGES
========================================================= */

.project-location-advantages {
  display: grid;

  grid-template-columns: repeat(2, minmax(0, 1fr));

  gap: 12px;
}

.project-location-advantage {
  display: flex;
  align-items: flex-start;
  gap: 13px;

  padding: 18px;

  border: 1px solid var(--border-light);

  border-radius: var(--radius-md);

  background: var(--bg-light);
}

.project-location-icon {
  width: 38px;
  height: 38px;

  flex: 0 0 38px;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 50%;

  background: rgba(201, 151, 46, 0.1);

  color: var(--secondary-dark);

  font-size: 0.7rem;
}

.project-location-advantage strong {
  display: block;

  margin-bottom: 4px;

  color: var(--primary);

  font-size: 0.72rem;

  font-weight: 800;
}

.project-location-advantage p {
  margin: 0;

  color: var(--text-secondary);

  font-size: 0.65rem;

  line-height: 1.6;
}

/* =========================================================
   SIDEBAR ENQUIRY CARD
========================================================= */

.project-enquiry-card {
  padding: 18px;

  border: 1px solid var(--border-light);

  border-radius: var(--radius-lg);

  background: #fff;

  box-shadow: var(--shadow-md);
}

.project-consultant {
  display: flex;
  align-items: center;
  gap: 12px;

  padding-bottom: 10px;

  margin-bottom: 10px;

  border-bottom: 1px solid var(--border-light);
}

.consultant-avatar {
  width: 48px;
  height: 48px;

  flex: 0 0 48px;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 50%;

  background: var(--gradient-primary);

  color: var(--secondary-light);

  font-family: var(--font-heading);

  font-size: 0.8rem;

  font-weight: 800;
}

.project-consultant span {
  display: block;

  margin-bottom: 4px;

  color: var(--primary);

  font-family: var(--font-heading);

  font-size: 0.78rem;

  font-weight: 800;
}

.project-consultant strong {
  display: block;

  color: var(--text-light);

  font-size: 0.62rem;

  font-weight: 600;
}

.project-enquiry-heading {
  margin-bottom: 10px;
}

.project-enquiry-heading > span {
  display: block;

  margin-bottom: 6px;

  color: var(--secondary-dark);

  font-size: 0.56rem;

  font-weight: 800;

  letter-spacing: 0.13em;
}

.project-enquiry-heading h3 {
  margin: 0;

  color: var(--primary);

  font-family: var(--font-heading);

  font-size: 1.05rem;

  line-height: 1.4;

  font-weight: 800;
}

/* =========================================================
   SIDEBAR FORM
========================================================= */

.sidebar-form-group {
  margin-bottom: 10px;
}

.sidebar-form-group label {
  position: absolute;

  width: 1px;
  height: 1px;

  overflow: hidden;

  clip: rect(0, 0, 0, 0);
}

.sidebar-form-group input,
.sidebar-form-group textarea {
  width: 100%;

  border: 1px solid var(--border-light);

  border-radius: 8px;

  background: #fff;

  color: var(--text-primary);

  font-family: var(--font-body);

  font-size: 0.72rem;

  outline: none;

  transition:
    border-color var(--transition),
    box-shadow var(--transition);
}

.sidebar-form-group input {
  height: 53px;

  padding: 0 15px;
}

.sidebar-form-group textarea {
  min-height: 105px;

  padding: 14px 15px;

  resize: vertical;
}

.sidebar-form-group input::placeholder,
.sidebar-form-group textarea::placeholder {
  color: var(--text-light);
}

.sidebar-form-group input:focus,
.sidebar-form-group textarea:focus {
  border-color: var(--secondary);

  box-shadow: 0 0 0 3px rgba(201, 151, 46, 0.08);
}

.project-enquiry-submit {
  width: 100%;

  min-height: 53px;

  display: flex;
  align-items: center;
  justify-content: center;

  gap: 9px;

  margin-top: 4px;

  border: 0;
  border-radius: 8px;

  background: var(--gradient-gold);

  color: var(--primary-dark);

  font-family: var(--font-heading);

  font-size: 0.72rem;

  font-weight: 800;

  cursor: pointer;

  box-shadow: var(--shadow-gold);

  transition:
    transform var(--transition),
    box-shadow var(--transition);
}

.project-enquiry-submit:hover {
  transform: translateY(-2px);

  box-shadow: 0 16px 35px rgba(201, 151, 46, 0.25);
}

/* =========================================================
   SIDEBAR CALL / WHATSAPP
========================================================= */

.project-sidebar-actions {
  display: grid;

  grid-template-columns: 0.8fr 1.2fr;

  gap: 9px;

  margin-top: 12px;
}

.project-sidebar-actions a {
  min-height: 50px;

  display: flex;
  align-items: center;
  justify-content: center;

  gap: 8px;

  border-radius: 8px;

  color: #fff;

  font-size: 0.7rem;

  font-weight: 800;

  transition:
    transform var(--transition),
    box-shadow var(--transition);
}

.project-sidebar-actions a:hover {
  transform: translateY(-2px);
}

.sidebar-call {
  background: var(--primary);
}

.sidebar-whatsapp {
  background: #20c968;
}

.sidebar-call:hover {
  box-shadow: 0 10px 25px rgba(11, 35, 70, 0.2);
}

.sidebar-whatsapp:hover {
  box-shadow: 0 10px 25px rgba(32, 201, 104, 0.2);
}

/* =========================================================
   BOTTOM GALLERY
========================================================= */

.project-bottom-gallery {
  display: grid;

  grid-template-columns: repeat(3, minmax(0, 1fr));

  gap: 10px;
}

.project-bottom-gallery-item {
  position: relative;

  height: 190px;

  overflow: hidden;

  border-radius: 10px;

  background: var(--bg-soft);
}

.project-bottom-gallery-item:first-child {
  grid-column: span 2;
}

.project-bottom-gallery-item img {
  width: 100%;
  height: 100%;

  display: block;

  object-fit: cover;

  transition: transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.project-bottom-gallery-item:hover img {
  transform: scale(1.07);
}

.project-bottom-gallery-item > span {
  position: absolute;

  right: 12px;
  bottom: 12px;

  width: 34px;
  height: 34px;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 50%;

  background: rgba(6, 23, 47, 0.75);

  color: #fff;

  font-size: 0.62rem;

  opacity: 0;

  transition: opacity var(--transition);
}

.project-bottom-gallery-item:hover > span {
  opacity: 1;
}


.project-final-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-top: 26px;
}

.project-final-actions .btn {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;

  gap: 8px;
}

/* =========================================================
   1199px
========================================================= */

@media (max-width: 1199px) {
  .project-gallery-layout {
    height: 470px;
  }

  .project-content-layout {
    grid-template-columns:
      minmax(0, 1fr)
      330px;

    gap: 35px;
  }

  .project-fact {
    padding: 18px;
  }

  .project-fact:first-child {
    padding-left: 0;
  }

  .project-fact strong {
    font-size: 0.78rem;
  }
}

/* =========================================================
   991px
========================================================= */

@media (max-width: 991px) {
  .project-gallery-layout {
    height: 430px;

    grid-template-columns:
      minmax(0, 1.5fr)
      minmax(220px, 0.8fr);
  }

  .project-title-layout {
    gap: 25px;
  }

  .project-title-content h1 {
    font-size: 2.6rem;
  }

  .project-price-box strong {
    font-size: 1.8rem;
  }

  .project-facts {
    grid-template-columns: repeat(3, 1fr);
  }

  .project-fact {
    border-bottom: 1px solid var(--border-light);
  }

  .project-fact:nth-child(3) {
    border-right: 0;
  }

  .project-fact:nth-child(4) {
    padding-left: 0;
  }

  .project-fact:nth-child(4),
  .project-fact:nth-child(5) {
    border-bottom: 0;
  }

  .project-content-layout {
    grid-template-columns: 1fr;
  }

  .project-sidebar {
    position: static;
    order: -1;
  }

  .project-enquiry-card {
    max-width: 100%;
  }

  .project-sidebar-form {
    display: grid;

    grid-template-columns: repeat(2, 1fr);

    gap: 12px;
  }

  .sidebar-form-group {
    margin-bottom: 0;
  }

  .sidebar-form-group:nth-child(3),
  .sidebar-form-group:nth-child(4),
  .project-enquiry-submit {
    grid-column: 1 / -1;
  }

  .project-sidebar-actions {
    max-width: 500px;
  }

  .project-specifications {
    grid-template-columns: 1fr;
  }

  .project-location-advantages {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* =========================================================
   767px
========================================================= */

@media (max-width: 767px) {
  .project-breadcrumb-section {
    padding: 14px 0;
  }

  .project-breadcrumb {
    font-size: 0.64rem;
  }

  .project-top-gallery {
    padding-top: 15px;
  }

  .project-gallery-layout {
    height: auto;

    display: grid;

    grid-template-columns: 1fr;

    gap: 8px;
  }

  .project-gallery-main {
    height: 310px;

    border-radius: var(--radius-md);
  }

  .project-gallery-side {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: 150px;

    gap: 8px;
  }

  .project-gallery-side-item:first-child {
    border-radius: 0 0 0 var(--radius-md);
  }

  .project-gallery-side-item:last-child {
    border-radius: 0 0 var(--radius-md) 0;
  }

  .project-gallery-main-overlay {
    opacity: 1;
    transform: none;
  }

  .project-gallery-more-overlay i {
    width: 38px;
    height: 38px;

    font-size: 0.8rem;
  }

  .project-gallery-more-overlay strong {
    font-size: 0.68rem;
  }

  .project-title-section {
    padding-top: 27px;
  }

  .project-title-layout {
    flex-direction: column;
    align-items: flex-start;

    gap: 18px;
  }

  .project-title-content h1 {
    font-size: clamp(2rem, 9vw, 2.8rem);
  }

  .project-title-location {
    font-size: 0.76rem;
  }

  .project-price-box {
    text-align: left;
  }

  .project-price-box strong {
    font-size: 1.65rem;
  }

  .project-facts {
    grid-template-columns: repeat(2, 1fr);
  }

  .project-fact {
    min-height: 90px;

    padding: 15px;

    border-right: 1px solid var(--border-light);
  }

  .project-fact:first-child {
    padding-left: 15px;
  }

  .project-fact:nth-child(2n) {
    border-right: 0;
  }

  .project-fact:nth-child(4) {
    padding-left: 15px;
  }

  .project-fact:nth-child(4),
  .project-fact:nth-child(5) {
    border-bottom: 1px solid var(--border-light);
  }

  .project-fact:last-child {
    grid-column: 1 / -1;

    border-right: 0;
    border-bottom: 0;
  }

  .project-content-section {
    padding-top: 40px;
  }

  .project-content-block {
    padding-bottom: 40px;
    margin-bottom: 40px;
  }

  .project-info-highlight {
    padding: 18px;

    font-size: 0.76rem;
  }

  .project-description p {
    font-size: 0.75rem;
  }

  .project-config-table-wrapper {
    border-radius: 10px;
  }

  .project-config-table {
    min-width: 0;
  }

  .project-config-table thead {
    display: none;
  }

  .project-config-table,
  .project-config-table tbody,
  .project-config-table tr,
  .project-config-table td {
    display: block;
    width: 100%;
  }

  .project-config-table tr {
    padding: 17px;

    border-bottom: 1px solid var(--border-light);
  }

  .project-config-table tr:last-child {
    border-bottom: 0;
  }

  .project-config-table td {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;

    padding: 6px 0;

    border: 0;

    text-align: right;
  }

  .project-config-table td::before {
    content: attr(data-label);

    flex: 0 0 100px;

    color: var(--text-light);

    font-size: 0.62rem;

    font-weight: 700;

    text-align: left;
  }

  .project-config-table td:first-child {
    padding-top: 0;
  }

  .project-config-table td:last-child {
    padding-bottom: 0;
  }

  .project-amenities {
    gap: 8px;
  }

  .project-amenity {
    min-height: 38px;

    padding: 7px 11px;

    font-size: 0.64rem;
  }

  .project-specification {
    padding: 15px;
  }

  .project-map-wrapper {
    height: 330px;
  }

  .project-map-address {
    flex-wrap: wrap;
  }

  .project-map-address a {
    width: 100%;

    margin-left: 0;

    margin-top: 5px;
  }

  .project-location-advantages {
    grid-template-columns: 1fr;
  }

  .project-sidebar-form {
    grid-template-columns: 1fr;
  }

  .sidebar-form-group:nth-child(3),
  .sidebar-form-group:nth-child(4),
  .project-enquiry-submit {
    grid-column: auto;
  }

  .project-enquiry-card {
    padding: 20px;
  }

  .project-sidebar-actions {
    grid-template-columns: 1fr 1fr;
  }

  .project-bottom-gallery {
    grid-template-columns: repeat(2, 1fr);
  }

  .project-bottom-gallery-item {
    height: 160px;
  }

  .project-bottom-gallery-item:first-child {
    grid-column: 1 / -1;
  }

  .project-bottom-gallery-item > span {
    opacity: 1;
  }

  .project-final-actions {
    flex-direction: column;
  }

  .project-final-actions .btn {
    width: 100%;
    max-width: 290px;
  }
}

/* =========================================================
   480px
========================================================= */

@media (max-width: 480px) {
  .project-gallery-main {
    height: 245px;
  }

  .project-gallery-side {
    grid-template-rows: 115px;
  }

  .project-gallery-more-overlay strong {
    font-size: 0.58rem;
  }

  .project-gallery-more-overlay i {
    width: 32px;
    height: 32px;

    font-size: 0.7rem;
  }

  .project-title-content h1 {
    font-size: 1.9rem;
  }

  .project-title-location {
    font-size: 0.68rem;
  }

  .project-price-box strong {
    font-size: 1.45rem;
  }

  .project-fact {
    min-height: 82px;

    padding: 12px;
  }

  .project-fact:first-child {
    padding-left: 12px;
  }

  .project-fact:nth-child(4) {
    padding-left: 12px;
  }

  .project-fact strong {
    font-size: 0.67rem;
  }

  .project-fact span {
    font-size: 0.57rem;
  }

  .project-block-heading h2 {
    font-size: 1.3rem;
  }

  .project-info-highlight {
    font-size: 0.7rem;
    line-height: 1.7;
  }

  .project-description p {
    font-size: 0.7rem;
    line-height: 1.8;
  }

  .project-specification {
    gap: 10px;
  }

  .project-specification-icon {
    width: 34px;
    height: 34px;
    flex-basis: 34px;
  }

  .project-specification strong {
    font-size: 0.66rem;
  }

  .project-specification p {
    font-size: 0.59rem;
  }

  .project-video {
    border-radius: 10px;
  }

  .project-map-wrapper {
    height: 280px;

    border-radius: 10px;
  }

  .project-location-advantage {
    padding: 14px;
  }

  .project-enquiry-card {
    padding: 17px;
  }

  .project-consultant {
    padding-bottom: 16px;
    margin-bottom: 16px;
  }

  .consultant-avatar {
    width: 42px;
    height: 42px;
    flex-basis: 42px;
  }

  .project-enquiry-heading h3 {
    font-size: 0.92rem;
  }

  .sidebar-form-group input {
    height: 49px;
  }

  .sidebar-form-group textarea {
    min-height: 90px;
  }

  .project-sidebar-actions {
    gap: 6px;
  }

  .project-sidebar-actions a {
    min-height: 46px;

    font-size: 0.63rem;
  }

  .project-bottom-gallery {
    gap: 7px;
  }

  .project-bottom-gallery-item {
    height: 125px;
  }
}

/* =========================================================
   REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {
  .project-gallery-main img,
  .project-gallery-side-item img,
  .project-bottom-gallery-item img,
  .project-amenity,
  .project-specification,
  .project-enquiry-submit,
  .project-sidebar-actions a {
    transition: none;
  }
}




/* =========================================================
   PROJECT GALLERY LIGHTBOX
========================================================= */

.project-lightbox {
    position: fixed;
    z-index: 99999;
    inset: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    visibility: hidden;
    opacity: 0;

    padding: 30px;

    transition:
        opacity 0.3s ease,
        visibility 0.3s ease;
}


/* ACTIVE */

.project-lightbox.is-active {
    visibility: visible;
    opacity: 1;
}


/* BACKDROP */

.project-lightbox-backdrop {
    position: absolute;
    inset: 0;

    background: rgba(3, 12, 26, 0.94);

    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);

    cursor: pointer;
}


/* CONTENT */

.project-lightbox-content {
    position: relative;
    z-index: 2;

    display: flex;
    align-items: center;
    justify-content: center;

    width: min(100%, 1200px);
    height: min(90vh, 850px);
}


/* IMAGE WRAPPER */

.project-lightbox-image-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;

    width: calc(100% - 140px);
    height: calc(100% - 70px);

    overflow: hidden;
}


/* IMAGE */

.project-lightbox-image-wrapper img {
    display: block;

    max-width: 100%;
    max-height: 100%;

    width: auto;
    height: auto;

    object-fit: contain;

    border-radius: 6px;

    box-shadow:
        0 20px 70px rgba(0, 0, 0, 0.45);

    user-select: none;
}


/* =========================================================
   CLOSE BUTTON
========================================================= */

.project-lightbox-close {
    position: absolute;
    z-index: 5;

    top: 0;
    right: 0;

    display: grid;

    width: 48px;
    height: 48px;

    place-items: center;

    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 50%;

    color: #fff;
    background: rgba(255, 255, 255, 0.08);

    cursor: pointer;

    font-size: 20px;

    transition:
        background 0.25s ease,
        transform 0.25s ease;
}


.project-lightbox-close:hover {
    background: var(--secondary);
    color: var(--primary-dark);

    transform: rotate(90deg);
}


/* =========================================================
   NAVIGATION BUTTONS
========================================================= */

.project-lightbox-nav {
    position: absolute;
    z-index: 5;

    display: grid;

    width: 52px;
    height: 52px;

    place-items: center;

    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;

    color: #fff;
    background: rgba(255, 255, 255, 0.08);

    cursor: pointer;

    font-size: 18px;

    transition:
        background 0.25s ease,
        transform 0.25s ease,
        opacity 0.25s ease;
}


.project-lightbox-nav:hover:not(:disabled) {
    color: var(--primary-dark);
    background: var(--secondary);

    transform: scale(1.08);
}


.project-lightbox-nav:disabled {
    opacity: 0.25;

    cursor: not-allowed;
}


.project-lightbox-prev {
    left: 0;
}


.project-lightbox-next {
    right: 0;
}


/* =========================================================
   COUNTER
========================================================= */

.project-lightbox-counter {
    position: absolute;

    left: 50%;
    bottom: 0;

    transform: translateX(-50%);

    color: rgba(255, 255, 255, 0.8);

    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
}


/* =========================================================
   CAPTION
========================================================= */

.project-lightbox-caption {
    position: absolute;

    left: 50%;
    bottom: 32px;

    max-width: 60%;

    transform: translateX(-50%);

    color: rgba(255, 255, 255, 0.8);

    font-size: 12px;
    text-align: center;
}


/* =========================================================
   BODY LOCK
========================================================= */

body.lightbox-open {
    overflow: hidden;
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 767px) {

    .project-lightbox {
        padding: 20px 12px;
    }


    .project-lightbox-content {
        width: 100%;
        height: 85vh;
    }


    .project-lightbox-image-wrapper {
        width: 100%;
        height: calc(100% - 70px);
    }


    .project-lightbox-close {
        top: -5px;
        right: 0;

        width: 42px;
        height: 42px;

        font-size: 17px;
    }


    .project-lightbox-nav {
        bottom: 0;

        width: 44px;
        height: 44px;

        font-size: 15px;
    }


    .project-lightbox-prev {
        left: 10px;
    }


    .project-lightbox-next {
        right: 10px;
    }


    .project-lightbox-counter {
        bottom: 13px;

        font-size: 11px;
    }


    .project-lightbox-caption {
        display: none;
    }

}


/* =========================================================
   REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {

    .project-lightbox,
    .project-lightbox *,
    .project-lightbox *::before,
    .project-lightbox *::after {
        transition: none !important;
    }

}