/* ========================================
   NYC Condos — Static Site Styles
   ======================================== */

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

:root {
  --header-height: 87px;
  --color-black: #0f0f0f;
  --color-white: #ffffff;
  --color-gray-bg: #f5f5f5;
  --color-border: #cccccc;
  --color-text: #212121;
  --color-muted: #7a7a7a;
  --color-footer-text: #dadada;
  --color-footer-hover: #cfcfcf;
  --container: 1200px;
  --font-poppins: "Poppins", sans-serif;
  --font-roboto: "Roboto", sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
  font-family: var(--font-roboto);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  color: var(--color-muted);
  background: var(--color-white);
  -webkit-font-smoothing: antialiased;
}

body.no-scroll,
body.custom-nav-active {
  overflow: hidden;
  height: 100vh;
}

html.custom-nav-active {
  overflow: hidden;
}

img {
  max-width: 100%;
  height: auto;
  border: 0;
  display: block;
}

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

ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

h1,
h2,
h3,
h4,
p {
  margin: 0;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 15px;
}

/* ----------------------------------------
   Buttons
   ---------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background-color: var(--color-black);
  color: var(--color-white);
  font-family: var(--font-poppins);
  font-size: 15px;
  font-weight: 500;
  line-height: 1;
  border: 1px solid var(--color-black);
  border-radius: 6px;
  padding: 16px 22px;
  cursor: pointer;
  transition:
    background-color 0.4s ease,
    color 0.4s ease,
    border-color 0.4s ease,
    fill 0.4s ease;
  text-decoration: none;
  appearance: none;
  -webkit-appearance: none;
}

button.btn {
  margin: 0;
}

.btn svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
  transition: transform 0.3s ease;
  order: -1;
}

.btn:hover {
  background-color: transparent;
  color: var(--color-black);
  border-color: var(--color-black);
}

.btn--light:hover {
  color: var(--color-white);
  border-color: var(--color-white);
  background-color: transparent;
}

.btn--light:hover svg {
  transform: translateX(6px);
}

.btn:hover svg {
  transform: translateX(6px);
}

@media (max-width: 1024px) {
  .btn {
    font-size: 14px;
  }
}

/* ----------------------------------------
   Header
   ---------------------------------------- */
.site-header {
  position: relative;
  z-index: 10000;
}

.header-inner {
  position: relative;
  z-index: 10001;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--color-white);
  border-bottom: 0.5px solid #f2f3f4;
  box-shadow: rgba(149, 157, 165, 0.2) 0 8px 24px;
  padding: 5px 75px;
}

.logo {
  font-family: var(--font-poppins);
  font-size: 32px;
  font-weight: 600;
  line-height: 32px;
  color: var(--color-black);
}

.logo a {
  color: inherit;
}

.nav-desktop {
  display: flex;
  align-items: center;
  height: 80px;
}

.nav-desktop a {
  font-family: var(--font-poppins);
  font-size: 15px;
  color: var(--color-black);
  padding: 0 15px;
  transition: color 0.2s ease;
}

.nav-desktop a:hover,
.nav-desktop a.active {
  color: #2b2b2b;
}

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  position: relative;
  color: var(--color-black);
}

.menu-toggle svg {
  width: 30px;
  height: 30px;
  fill: currentColor;
  transition:
    transform 0.3s ease,
    opacity 0.3s ease;
}

.menu-toggle::before,
.menu-toggle::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 22px;
  height: 2px;
  background: var(--color-black);
  transform: translate(-50%, -50%) rotate(0deg);
  transition: all 0.3s ease;
  opacity: 0;
}

body.custom-nav-active .menu-toggle svg {
  transform: rotate(90deg);
  opacity: 0;
}

body.custom-nav-active .menu-toggle::before {
  transform: translate(-50%, -50%) rotate(45deg);
  opacity: 1;
}

body.custom-nav-active .menu-toggle::after {
  transform: translate(-50%, -50%) rotate(-45deg);
  opacity: 1;
}

.nav-mobile {
  position: fixed;
  top: var(--header-height);
  left: 0;
  width: 100%;
  background: #0f0f0f;
  transform: translateY(-110%) scale(0.98);
  opacity: 0;
  visibility: hidden;
  transition:
    transform 0.5s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.35s ease,
    visibility 0.35s ease;
  z-index: 9999;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  pointer-events: none;
}

body.custom-nav-active .nav-mobile {
  transform: translateY(0) scale(1);
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.nav-mobile-inner {
  width: 100%;
  padding: 40px 25px;
}

.nav-mobile a {
  display: block;
  color: var(--color-white);
  font-family: var(--font-poppins);
  font-size: 22px;
  font-weight: 500;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition:
    color 0.3s ease,
    transform 0.3s ease;
}

.nav-mobile a:hover {
  color: #cccccc;
  transform: translateX(6px);
}

.nav-mobile a:last-child {
  border-bottom: none;
}

@media (max-width: 1024px) {
  .header-inner {
    padding: 25px 20px;
  }

  .nav-desktop {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }
}

@media (min-width: 1025px) {
  .nav-mobile {
    display: none !important;
  }
}

/* ----------------------------------------
   Hero
   ---------------------------------------- */
.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  min-height: 91vh;
  padding: 0 15px;
  text-align: center;
  background-image: url("../images/hero-image.jpg");
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: #000000d9;
  opacity: 0.5;
  pointer-events: none;
  z-index: 0;
}

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

.hero__title {
  font-family: var(--font-poppins);
  font-size: 55px;
  font-weight: 600;
  line-height: 65px;
  color: var(--color-white);
}

.hero__subtitle {
  font-family: var(--font-poppins);
  font-size: 25px;
  font-weight: 600;
  line-height: 35px;
  color: var(--color-white);
}

@media (max-width: 1024px) {
  .hero__title {
    font-size: 38px;
    line-height: 46px;
  }
}

@media (max-width: 767px) {
  .hero__title {
    font-size: 32px;
    line-height: 38px;
    width: 100%;
  }

  .hero__subtitle {
    font-size: 16px;
    line-height: 24px;
  }
}

/* ----------------------------------------
   Service Cards (Buy / Rent / Sell)
   ---------------------------------------- */
.services {
  background: var(--color-gray-bg);
  padding: 80px 15px;
}

.services__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 20px 15px;
}

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

.service-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 10px;
  box-shadow: 0 5px 20px 0 rgba(0, 0, 0, 0.14);
  padding: 30px;
  text-align: center;
}

.service-card__image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 0;
}

.service-card__title {
  font-family: var(--font-roboto);
  font-size: 24px;
  font-weight: 600;
  color: #000000;
  margin-bottom: 20px;
}

.service-card__text {
  font-family: var(--font-roboto);
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  color: var(--color-muted);
}

@media (max-width: 767px) {
  .services {
    padding: 50px 15px;
  }

  .services__inner {
    padding: 50px 15px;
  }

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

/* ----------------------------------------
   Navigate / About snippet
   ---------------------------------------- */
.navigate {
  padding: 80px 15px;
}

.navigate__inner {
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  flex-direction: row;
  align-items: stretch;
  gap: 20px;
}

.navigate__media {
  flex: 1 1 50%;
  min-width: 0;
}

.navigate__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
}

.navigate__content {
  flex: 1 1 50%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 20px;
  padding: 10px;
  text-align: center;
}

.navigate__title {
  font-family: var(--font-roboto);
  font-size: 32px;
  font-weight: 600;
  line-height: 40px;
  color: var(--color-black);
  max-width: 780px;
  margin: 0 0 20px;
}

.navigate__text {
  font-family: var(--font-roboto);
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  color: var(--color-text);
  max-width: 780px;
}

@media (max-width: 767px) {
  .navigate {
    padding: 50px 15px;
  }

  .navigate__inner {
    flex-direction: column;
  }

  .navigate__title {
    font-size: 26px;
    line-height: 34px;
  }
}

/* ----------------------------------------
   Page Hero (inner pages)
   ---------------------------------------- */
.page-hero {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  min-height: 50vh;
  padding: 80px 15px;
  text-align: center;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: #000000d9;
  pointer-events: none;
}

.page-hero > * {
  position: relative;
  z-index: 1;
}

.page-hero__title {
  font-family: var(--font-poppins);
  font-size: 48px;
  font-weight: 600;
  line-height: 1.2;
  color: var(--color-white);
}

.page-hero__subtitle {
  font-family: var(--font-poppins);
  font-size: 18px;
  font-weight: 400;
  line-height: 1.5;
  color: var(--color-white);
  max-width: 700px;
}

@media (max-width: 767px) {
  .page-hero {
    min-height: 40vh;
    padding: 60px 15px;
  }

  .page-hero__title {
    font-size: 32px;
  }

  .page-hero__subtitle {
    font-size: 16px;
  }
}

/* ----------------------------------------
   Content sections
   ---------------------------------------- */
.section {
  padding: 80px 15px;
}

.section--gray {
  background: var(--color-gray-bg);
}

.section--dark {
  background: var(--color-black);
  color: var(--color-white);
}

.section__inner {
  max-width: var(--container);
  margin: 0 auto;
}

.section__title {
  font-family: var(--font-roboto);
  font-size: 32px;
  font-weight: 600;
  line-height: 40px;
  color: var(--color-black);
  margin-bottom: 20px;
  text-align: center;
}

.section__text {
  font-family: var(--font-roboto);
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  color: var(--color-text);
  text-align: center;
  max-width: 800px;
  margin: 0 auto 24px;
}

.section__text p + p {
  margin-top: 16px;
}

.split {
  display: flex;
  align-items: center;
  gap: 40px;
}

.split__media,
.split__content {
  flex: 1 1 50%;
  min-width: 0;
}

.split__media img {
  width: 100%;
  border-radius: 8px;
  object-fit: cover;
}

.split__content .section__title {
  text-align: left;
}

.split__content .section__text {
  text-align: left;
  margin-left: 0;
  margin-right: 0;
}

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

.feature-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 10px;
  padding: 30px;
  text-align: center;
}

.feature-card img {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  object-fit: contain;
}

.feature-card h3 {
  font-family: var(--font-roboto);
  font-size: 22px;
  font-weight: 600;
  color: #000;
  margin-bottom: 12px;
}

.feature-card p {
  font-size: 15px;
  line-height: 24px;
  color: var(--color-muted);
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  counter-reset: step;
}

.step {
  text-align: center;
  position: relative;
}

.step::before {
  counter-increment: step;
  content: counter(step);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: var(--color-black);
  color: var(--color-white);
  font-family: var(--font-poppins);
  font-weight: 600;
  font-size: 18px;
}

.step h3 {
  font-family: var(--font-roboto);
  font-size: 20px;
  font-weight: 600;
  color: #000;
  margin-bottom: 10px;
}

.step p {
  font-size: 15px;
  line-height: 24px;
  color: var(--color-muted);
}

.cta-band {
  background: linear-gradient(135deg, #f5f5f5, #e0e0e0, #cfcfcf, #bfbfbf);
  padding: 80px 15px;
  text-align: center;
}

.cta-band__title {
  font-family: var(--font-roboto);
  font-size: 32px;
  font-weight: 600;
  color: var(--color-black);
  margin-bottom: 16px;
}

.cta-band__text {
  font-size: 16px;
  line-height: 24px;
  color: var(--color-text);
  max-width: 640px;
  margin: 0 auto 28px;
}

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

  .split {
    flex-direction: column;
  }

  .split__content .section__title,
  .split__content .section__text {
    text-align: center;
  }
}

@media (max-width: 767px) {
  .section,
  .cta-band {
    padding: 50px 15px;
  }

  .section__title,
  .cta-band__title {
    font-size: 26px;
    line-height: 34px;
  }
}

/* ----------------------------------------
   Legal / prose pages
   ---------------------------------------- */
.prose {
  max-width: 900px;
  margin: 0 auto;
  padding: 80px 15px;
}

.prose h1 {
  font-family: var(--font-poppins);
  font-size: 40px;
  font-weight: 500;
  color: #0f0f0f;
  margin: 0 0 15px;
  text-align: center;
}

.prose h2,
.nyc-privacy-title {
  font-family: var(--font-roboto);
  font-size: 28px;
  font-weight: 600;
  color: var(--color-black);
  padding-bottom: 20px;
  margin: 32px 0 0;
}

.nyc-privacy-title {
  margin: 0;
}

.prose p {
  font-family: var(--font-poppins);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.7;
  color: #0f0f0f;
  margin-bottom: 16px;
}

.prose ul,
.nyc-privacy-points {
  padding-left: 20px;
  margin-bottom: 20px;
  list-style: disc;
}

.prose li {
  font-size: 16px;
  line-height: 1.7;
  color: var(--color-text);
  margin-bottom: 8px;
}

@media (max-width: 767px) {
  .prose {
    padding: 50px 15px;
  }

  .prose h1 {
    font-size: 34px;
  }

  .prose h2,
  .nyc-privacy-title {
    font-size: 24px;
  }
}

/* ----------------------------------------
   Contact form (page)
   ---------------------------------------- */
.contact-section {
  padding: 80px 15px;
  background: var(--color-gray-bg);
}

.contact-form-box {
  background: #f2f3f4;
  padding: 60px;
  border-radius: 10px;
  max-width: 600px;
  width: 100%;
  margin: 0 auto;
}

.contact-title {
  font-size: 42px;
  font-weight: 700;
  margin: 0 0 30px;
  color: #1a1a1a;
  font-family: var(--font-roboto);
  line-height: 1.2;
  text-transform: none;
}

.contact-form-box .form-group {
  margin-bottom: 25px;
  display: flex;
  flex-direction: column;
}

.contact-form-box .form-group label {
  display: block;
  margin-bottom: 8px;
  font-size: 16px;
  font-weight: 400;
  color: #000;
  text-transform: capitalize;
}

.contact-form-box .form-group input,
.contact-form-box .form-group textarea {
  width: 100%;
  background: #e9e9e9;
  border: 1px solid #ddd;
  padding: 14px 15px;
  border-radius: 6px;
  font-size: 15px;
  font-family: inherit;
  outline: none;
  transition: 0.3s;
}

.contact-form-box .form-group input:focus,
.contact-form-box .form-group textarea:focus {
  border-color: #000;
  background: #fff;
}

.contact-form-box .submit-btn {
  background-color: #212121;
  color: #ffffff;
  padding: 14px 35px;
  border-radius: 12px;
  border: 1px solid #212121;
  font-weight: 600;
  cursor: pointer;
  transition: 0.3s;
  font-family: inherit;
  font-size: 16px;
}

.contact-form-box .submit-btn:hover {
  background-color: #f2f2f2;
  color: #212121;
  border: 1px solid #212121;
}

.contact-form-box .loader {
  margin-top: 15px;
  font-size: 14px;
  display: none;
}

.contact-form-box .form-message {
  margin-top: 15px;
}

.contact-form-box .privacy-text {
  margin-top: 30px;
  font-size: 13px;
  color: #555;
}

.contact-form-box .privacy-text a {
  color: #000;
  text-decoration: underline;
}

@media (max-width: 880px) {
  .contact-form-box {
    padding: 20px;
    max-width: 100%;
    width: 100%;
  }
}

@media (max-width: 767px) {
  .contact-title {
    font-size: 30px;
    font-weight: 600;
  }
}

/* ----------------------------------------
   Footer
   ---------------------------------------- */
.site-footer {
  background: var(--color-black);
}

.footer-top {
  max-width: var(--container);
  margin: 0 auto;
  padding: 80px 15px 10px;
}

.footer-brand-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 0 0;
  margin-bottom: 10px;
}

.footer-logo {
  font-family: var(--font-poppins);
  font-size: 32px;
  font-weight: 600;
  line-height: 32px;
  color: var(--color-white);
}

.footer-logo a {
  color: inherit;
}

.footer-nav {
  display: flex;
  align-items: center;
  gap: 20px;
}

.footer-nav a {
  font-family: var(--font-poppins);
  font-size: 15px;
  font-weight: 500;
  color: var(--color-white);
  padding: 15px 7px;
  transition: color 0.2s ease;
}

.footer-nav a:hover {
  color: #ababab;
}

.footer-meta {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 5px 0 0;
  gap: 20px;
}

.footer-disclaimer {
  width: 33%;
  max-width: 33%;
  font-family: var(--font-poppins);
  font-size: 14px;
  font-weight: 400;
  color: var(--color-footer-text);
  line-height: 1.5;
}

.social-links {
  display: flex;
  align-items: center;
  gap: 5px;
}

.social-links a,
.social-links .social-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  color: var(--color-footer-text);
  transition: color 0.2s ease;
  background: transparent;
  border: 0;
  cursor: pointer;
  font: inherit;
}

.social-links a:hover,
.social-links .social-btn:hover {
  color: var(--color-footer-hover);
}

.social-links svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.footer-bottom {
  text-align: center;
  padding: 0 0 20px;
}

.footer-bottom p {
  font-family: var(--font-poppins);
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  color: var(--color-footer-text);
  margin: 0;
}

@media (max-width: 1024px) {
  .footer-bottom {
    padding: 0 10px 20px;
  }
}

@media (max-width: 767px) {
  .footer-top {
    padding: 50px 15px 10px;
  }

  .footer-brand-row {
    flex-direction: column;
    text-align: center;
    gap: 10px;
  }

  .footer-logo {
    text-align: center;
  }

  .footer-nav {
    flex-wrap: wrap;
    justify-content: center;
    gap: 0 10px;
  }

  .footer-meta {
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 0 15px;
  }

  .footer-disclaimer {
    width: 100%;
    max-width: 100%;
    text-align: center;
  }
}

/* ----------------------------------------
   Browse popup form
   ---------------------------------------- */
.browse-form-wrapper {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 10000;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.2s ease-out,
    visibility 0.2s ease-out;
  font-family: var(--font-poppins);
  overflow-y: auto;
  padding: 20px;
}

.browse-form-wrapper.active {
  opacity: 1;
  visibility: visible;
}

.page-overlay {
  display: none;
}

#browseForm {
  width: 600px;
  max-width: 90%;
  padding: 45px 50px;
  border-radius: 0;
  background: #ffffff;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
  color: #000000;
  height: auto;
  max-height: 100vh;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}

.form-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 35px;
  border-bottom: 1px solid #000;
  padding-bottom: 15px;
}

.form-header h3 {
  font-size: 24px;
  font-weight: 400;
  letter-spacing: -0.5px;
  margin: 0 !important;
  color: #000;
}

.arch-close-btn {
  width: 32px;
  height: 32px;
  min-width: 32px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  background: transparent;
  border: none;
  transition: transform 0.15s ease-out;
}

.arch-close-btn:hover {
  transform: rotate(90deg);
}

.arch-close-btn svg {
  width: 16px;
  height: 16px;
  stroke: #000000;
  stroke-width: 1.5;
}

.form-name-field {
  display: flex;
  gap: 15px;
}

.browse-form-wrapper .form-group {
  margin-bottom: 25px;
  width: 100%;
}

.browse-form-wrapper .form-group label,
.interest-label {
  display: block;
  font-size: 14px;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
  color: #000000;
}

.browse-form-wrapper .form-group span {
  color: #000000;
}

.floating-group input {
  width: 100%;
  padding: 14px 15px;
  border-radius: 0;
  border: 1px solid #d1d1d1;
  background: #fafafa;
  font-size: 15px;
  color: #000;
  transition: all 0.15s ease-out;
  box-sizing: border-box;
  font-family: inherit;
}

.floating-group input:focus {
  outline: none;
  border-color: #000000;
  background: #ffffff;
}

.interest-label {
  margin-bottom: 15px !important;
}

.radio-group {
  display: flex;
  flex-direction: row;
  gap: 25px;
}

.radio-group label {
  font-size: 14px;
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  color: #000;
  margin-bottom: 0 !important;
}

.radio-group input[type="radio"] {
  width: 16px;
  height: 16px;
  accent-color: #000000;
  cursor: pointer;
  margin: 0;
}

.privacy-policy-wrapper {
  position: relative;
  margin-top: 25px;
  padding-top: 15px;
  border-top: 1px solid #eeeeee;
}

.privacy-policy-wrapper label {
  color: #666666;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.5;
  text-transform: none;
  letter-spacing: 0;
}

.privacy-policy-wrapper a {
  color: #000000;
  font-weight: 400;
  text-decoration: none;
  border-bottom: 1px solid #000;
  padding-bottom: 1px;
  transition: opacity 0.15s ease-out;
}

.privacy-policy-wrapper a:hover {
  opacity: 0.8;
}

#submitBtn {
  width: 100%;
  margin-top: 25px !important;
  padding: 18px;
  border-radius: 0;
  border: none;
  background: #000000;
  color: #ffffff;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  cursor: pointer;
  transition:
    background 0.15s ease-out,
    color 0.15s ease-out;
  font-family: inherit;
}

#submitBtn:hover {
  background: #333333;
}

#submitBtn:disabled {
  background: #cccccc;
  color: #888888;
  cursor: not-allowed;
}

.field-error {
  margin-top: 8px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  color: red;
  letter-spacing: 0.5px;
}

.input-error {
  border-color: #000000 !important;
  border-width: 2px !important;
}

@media (max-width: 767px) {
  .form-name-field {
    flex-direction: column;
    gap: 0;
  }

  #browseForm {
    padding: 35px 25px;
  }

  .radio-group {
    flex-direction: column;
    gap: 12px;
  }

  .browse-form-wrapper {
    padding: 0 !important;
  }
}

/* ----------------------------------------
   Guides pages (Buy, Sell, Rent)
   Matches Elementor post-1038 / 1046 / 1054
   ---------------------------------------- */
.guides-intro {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 25px;
  max-width: var(--container);
  margin: 0 auto;
  padding: 80px 15px 40px;
  text-align: center;
}

.guides-intro__title {
  font-family: var(--font-roboto);
  font-size: 36px;
  font-weight: 600;
  line-height: 40px;
  color: var(--color-black);
  margin: 0;
}

.guides-intro__text {
  font-family: var(--font-roboto);
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  color: var(--color-text);
  width: 80%;
  max-width: 80%;
  margin: 0 auto;
}

.guides-list {
  display: flex;
  flex-direction: column;
  gap: 45px;
  max-width: var(--container);
  margin: 0 auto;
  padding: 40px 15px 80px;
}

.guide-row {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  align-self: center;
  width: 75%;
  max-width: 75%;
  background-color: #f5f5f5;
  border-radius: 12px;
  overflow: hidden;
  gap: 0;
}

.guide-row__media {
  width: 50%;
  flex: 0 0 50%;
  min-width: 0;
}

.guide-row__media img {
  width: 100%;
  max-width: 100%;
  height: 300px;
  object-fit: cover;
  object-position: center center;
  display: block;
}

.guide-row--image-left .guide-row__media img {
  border-radius: 12px 0 0 12px;
}

.guide-row--image-right .guide-row__media img {
  border-radius: 0 12px 12px 0;
  height: 300px;
}

.guide-row--image-left.guide-row--tall-image .guide-row__media img {
  height: 100%;
  border-radius: 12px 0 0 12px;
}

.guide-row__content {
  width: 50%;
  flex: 0 0 50%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 20px;
  padding: 25px;
  min-width: 0;
}

.guide-row__title {
  font-family: var(--font-roboto);
  font-size: 28px;
  font-weight: 600;
  line-height: 36px;
  color: var(--color-black);
  margin: 0;
}

.guide-row__text {
  font-family: var(--font-roboto);
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  color: var(--color-text);
  margin: 0;
}

.guide-row__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-direction: row;
  gap: 8px;
  align-self: flex-start;
  margin-top: auto;
  background-color: #0f0f0f;
  color: #ffffff;
  fill: #ffffff;
  font-family: var(--font-poppins);
  font-size: 15px;
  font-weight: 500;
  line-height: 1;
  text-decoration: none;
  border: 1px solid #0f0f0f;
  border-radius: 35px;
  padding: 14px 26px;
  transition:
    background-color 0.4s,
    color 0.4s,
    border-color 0.4s,
    fill 0.4s;
  cursor: pointer;
}

.guide-row__btn svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
  order: 2;
}

.guide-row__btn span {
  order: 1;
}

.guide-row__btn:hover,
.guide-row__btn:focus {
  background-color: transparent;
  color: #0f0f0f;
  border-color: #0f0f0f;
  fill: #0f0f0f;
}

@media (max-width: 1024px) {
  .guide-row__title {
    font-size: 22px;
    line-height: 30px;
  }

  .guide-row--tall-image .guide-row__media img {
    height: 270px;
  }
}

@media (max-width: 880px) {
  .guide-row {
    flex-direction: column;
    gap: 0;
  }

  .guide-row__media,
  .guide-row__content {
    width: 100%;
    flex: 0 0 auto;
  }

  .guide-row--image-right .guide-row__media {
    order: -1;
  }

  .guide-row__media img,
  .guide-row--image-left .guide-row__media img,
  .guide-row--image-right .guide-row__media img,
  .guide-row--tall-image .guide-row__media img {
    height: 300px;
    border-radius: 12px 12px 0 0;
  }

  .guide-row__content {
    gap: 15px;
  }
}

@media (max-width: 767px) {
  .guides-intro {
    padding: 50px 15px 40px;
  }

  .guides-intro__title {
    font-size: 26px;
    line-height: 34px;
  }

  .guides-intro__text {
    width: 100%;
    max-width: 100%;
  }

  .guides-list {
    padding: 30px 15px 50px;
  }

  .guide-row {
    width: 100%;
    max-width: 100%;
  }
}

@media (min-width: 768px) and (max-width: 880px) {
  .guide-row {
    width: 75%;
    max-width: 75%;
  }

  .guide-row__media,
  .guide-row__content {
    width: 100%;
  }
}

/* ----------------------------------------
   About page
   ---------------------------------------- */
.about-hero-split {
  max-width: var(--container);
  margin: 0 auto;
  padding: 80px 15px;
  display: flex;
  align-items: center;
  gap: 40px;
}

.about-hero-split__media,
.about-hero-split__content {
  flex: 1 1 50%;
  min-width: 0;
}

.about-hero-split__media img {
  width: 100%;
  border-radius: 8px;
  object-fit: cover;
}

.about-hero-split__title {
  font-family: var(--font-roboto);
  font-size: 32px;
  font-weight: 600;
  line-height: 40px;
  color: var(--color-black);
  margin-bottom: 20px;
}

.about-hero-split__content p {
  font-size: 16px;
  line-height: 26px;
  color: var(--color-text);
  margin-bottom: 16px;
}

.mission-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 15px 80px;
}

.mission-card {
  background: var(--color-gray-bg);
  border-radius: 10px;
  padding: 36px 30px;
  text-align: center;
}

.mission-card img {
  width: 72px;
  height: 72px;
  object-fit: contain;
  margin: 0 auto 20px;
}

.mission-card h2 {
  font-family: var(--font-roboto);
  font-size: 26px;
  font-weight: 600;
  color: var(--color-black);
  margin-bottom: 14px;
}

.mission-card p {
  font-size: 15px;
  line-height: 24px;
  color: var(--color-text);
}

.why-choose {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 15px 80px;
  display: flex;
  align-items: center;
  gap: 40px;
}

.why-choose__content,
.why-choose__media {
  flex: 1 1 50%;
  min-width: 0;
}

.why-choose__media img {
  width: 100%;
  border-radius: 8px;
  object-fit: cover;
}

.why-choose__title {
  font-family: var(--font-roboto);
  font-size: 32px;
  font-weight: 600;
  color: var(--color-black);
  margin-bottom: 14px;
}

.why-choose__text {
  font-size: 16px;
  line-height: 26px;
  color: var(--color-text);
  margin-bottom: 20px;
}

.check-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 16px;
  line-height: 24px;
  color: var(--color-text);
  margin-bottom: 12px;
}

.check-list svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  margin-top: 1px;
}

@media (max-width: 1024px) {
  .about-hero-split {
    padding-top: 60px;
    padding-bottom: 60px;
  }

  .mission-grid,
  .why-choose {
    padding-bottom: 60px;
  }
}

@media (max-width: 880px) {
  .about-hero-split {
    flex-direction: column;
  }

  .why-choose {
    flex-direction: column-reverse;
  }

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

@media (max-width: 767px) {
  .about-hero-split,
  .mission-grid,
  .why-choose {
    padding-bottom: 50px;
  }

  .about-hero-split {
    padding-top: 50px;
  }

  .about-hero-split__title,
  .why-choose__title,
  .mission-card h2 {
    font-size: 26px;
    line-height: 34px;
  }

  .about-hero-split__content,
  .mission-card,
  .why-choose__content {
    text-align: center;
  }

  .check-list li {
    justify-content: center;
  }
}

/* ----------------------------------------
   Contact page layout
   ---------------------------------------- */
.contact-layout {
  max-width: var(--container);
  margin: 0 auto;
  padding: 80px 15px;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 30px;
}

.contact-info {
  flex: 1 1 0;
  min-width: 0;
}

.contact-info h1,
.contact-info h2 {
  font-family: var(--font-roboto);
  font-size: 32px;
  font-weight: 600;
  line-height: 40px;
  color: #0f0f0f;
  margin: 0 0 10px;
  text-align: start;
}

.contact-info p {
  font-family: var(--font-roboto);
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  color: #212121;
  margin: 0;
  text-align: start;
}

.contact-info__email {
  margin-top: 20px;
}

.contact-info a.email-link {
  color: #000;
  text-decoration: none;
  font-family: var(--font-roboto);
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
}

.contact-form-wrap {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  justify-content: center;
}

@media (max-width: 767px) {
  .contact-layout {
    flex-direction: column;
    flex-wrap: wrap;
    gap: 30px;
  }

  .contact-info h1,
  .contact-info h2,
  .contact-info p,
  .contact-info__email {
    text-align: center;
  }

  .contact-info h1,
  .contact-info h2 {
    font-size: 26px;
    line-height: 34px;
  }

  .contact-form-wrap {
    width: 100%;
  }
}

/* ----------------------------------------
   Article / guide detail pages
   (Urbanist + Inter match live Elementor)
   ---------------------------------------- */
.article {
  max-width: var(--container);
  margin: 0 auto;
  padding: 80px 15px 0;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.article__title {
  font-family: "Urbanist", sans-serif;
  font-size: 40px;
  font-weight: 600;
  line-height: 48px;
  color: #212121;
  margin: 0;
}

.article__hero {
  width: 100%;
}

.article__hero img {
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  object-position: center center;
  border-radius: 12px;
}

.article__body {
  font-family: "Inter", sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 26px;
  color: #191919;
}

.article__body h2 {
  font-family: "Urbanist", sans-serif;
  font-size: 24px;
  font-weight: 600;
  line-height: 32px;
  color: #212121;
  margin: 28px 0 12px;
}

.article__body h2:first-child {
  margin-top: 0;
}

.article__body p {
  margin: 0 0 20px;
}

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

.article__body ul {
  margin: 0 0 20px;
  padding-left: 1.25em;
}

.article__body li {
  margin-bottom: 8px;
}

.article-split {
  max-width: var(--container);
  margin: 0 auto;
  padding: 40px 15px;
  display: flex;
  flex-direction: row;
  align-items: stretch;
  gap: 40px;
}

.article-split__media {
  flex: 1 1 50%;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.article-split__media img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  object-fit: cover;
}

.article-split__content {
  flex: 1 1 50%;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 20px;
}

.article-split__title {
  font-family: "Urbanist", sans-serif;
  font-size: 24px;
  font-weight: 600;
  line-height: 40px;
  color: #161616;
  margin: 0;
}

.article-split__text {
  font-family: "Inter", sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 26px;
  color: #191919;
  margin: 0;
}

@media (max-width: 1200px) {
  .article-split__media {
    justify-content: center;
    align-items: center;
  }
}

@media (max-width: 767px) {
  .article {
    gap: 30px;
    padding: 50px 15px 0;
  }

  .article__title {
    font-size: 28px;
    line-height: 40px;
  }

  .article-split {
    flex-direction: column;
    flex-wrap: wrap;
  }

  .article-split__media,
  .article-split__content {
    flex: 1 1 100%;
  }

  .article-split__title {
    font-size: 25px;
    line-height: 36px;
  }
}
/* Thank You Page */
.thank-you-page {
  min-height: calc(100vh - var(--header-height, 80px));
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 20px;
  background: #f8fafc;
  text-align: center;
}

.thank-you-content {
  width: 100%;
  max-width: 100%;
}

.thank-you-content h1 {
  margin: 0 0 20px;
  font-family: "Urbanist", sans-serif;
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 600;
  line-height: 1.1;
  color: #0f172a;
}

.thank-you-content p {
  margin: 0 auto 32px;
  max-width: 600px;
  font-family: "Inter", sans-serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.7;
  color: #475569;
}

.thank-you-content .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 28px;
  border-radius: 6px;
  background: #0f172a;
  color: #ffffff;
  font-family: "Inter", sans-serif;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  transition:
    background 0.25s ease,
    transform 0.25s ease;
}

.thank-you-content .btn:hover {
  background: #1e293b;
  transform: translateY(-2px);
}

/* Mobile */
@media (max-width: 767px) {
  .thank-you-page {
    min-height: calc(100vh - var(--header-height, 70px));
    padding: 50px 16px;
  }

  .thank-you-content {
    padding: 45px 24px;
    border-radius: 12px;
  }

  .thank-you-content h1 {
    font-size: 36px;
    margin-bottom: 16px;
  }

  .thank-you-content p {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 28px;
  }

  .thank-you-content .btn {
    width: 100%;
  }
}
