/* Site-level styles use tokens.css for brand values — see tokens.css */

/* ── Privacy Policy Page ───────────────────────────────────── */
.privacy-page {
    padding: 60px 24px 80px;
}

.privacy-container {
    max-width: 860px;
    margin: 0 auto;
}

.privacy-title {
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    font-weight: 500;
    margin-bottom: 4px;
}

.privacy-updated {
    color: #888;
    font-size: 0.85rem;
    margin-bottom: 48px;
}

.privacy-section {
    margin-bottom: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid #e8e8e8;
}

.privacy-section:last-child {
    border-bottom: none;
}

.privacy-section h2 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 14px;
    color: #1c1c1c;
}

.privacy-section h3 {
    font-size: 1rem;
    font-weight: 600;
    margin: 20px 0 10px;
    color: #2c2c2c;
}

.privacy-section p,
.privacy-section li {
    font-size: 0.93rem;
    line-height: 1.75;
    color: #444;
}

.privacy-section ul {
    padding-left: 20px;
    margin-bottom: 14px;
}

.privacy-section li {
    margin-bottom: 6px;
}

.privacy-section address {
    font-style: normal;
    font-size: 0.93rem;
    line-height: 1.9;
    color: #444;
}

.privacy-section a {
    color: var(--brand-slate-gray);
}

/* ── Page Banner (About, Apartments, Commercial, Contact) ── */
.page-banner {
    position: relative;
    width: 100%;
    min-height: 40vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #2b2f2b;
}

.page-banner__bg {
    position: absolute;
    inset: -5%;
    background-size: cover;
    background-position: center;
    transition: transform 8s ease-out;
}

.page-banner:hover .page-banner__bg {
    transform: scale(1.04);
}

.page-banner__overlay {
    position: absolute;
    inset: 0;
    background: var(--overlay-banner);
}

.page-banner__content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 0 24px;
}

.page-banner__heading {
    color: #fff;
    font-size: clamp(2rem, 5vw, 3.4rem);
    font-weight: 500;
    letter-spacing: -0.02em;
    line-height: 1.2;
    text-shadow: 0 2px 20px rgba(0,0,0,0.4);
    margin: 0;
}

.page-banner + * {
    margin-top: 40px;
}

.page-banner__subheading {
    color: rgba(255,255,255,0.82);
    font-size: clamp(0.95rem, 2vw, 1.15rem);
    margin: 12px 0 0;
    text-shadow: 0 1px 8px rgba(0,0,0,0.3);
}

html {
  font-size: 14px;
}

/* ── Navbar ───────────────────────────────────────────────── */
header .navbar {
    min-height: 120px;
    padding-top: 10px;
    padding-bottom: 10px;
    margin-bottom: 0 !important;
}

header .navbar .container,
header .navbar .navbar-collapse,
header .navbar .navbar-nav {
    align-items: center;
}

.nav-btn-contact {
    display: inline-block;
    background: var(--brand-slate-gray);
    color: #fff !important;
    border-radius: var(--radius-md);
    padding: 20px 28px;
    font-size: 1rem;
    font-weight: 500;
    line-height: 1;
    text-decoration: none;
    transition: background 0.2s;
}
.nav-btn-contact:hover {
    background: var(--brand-black-olive);
    text-decoration: none;
}

/* ── Global Brand Typography ──────────────────────────────── */
body {
  font-family: var(--body-family);
  font-weight: var(--body-weight);
  line-height: var(--body-line-height);
  letter-spacing: var(--body-letter-spacing);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--heading-family);
  font-style: var(--heading-style);
  font-weight: var(--heading-weight);
  line-height: var(--heading-line-height);
  letter-spacing: var(--heading-letter-spacing);
}

h1 { font-size: var(--h1-size); }
h2 { font-size: var(--h2-size); }
h3 { font-size: var(--h3-size); }
h4 { font-size: var(--h4-size); }

p {
  font-size: var(--p2-size);
  font-family: var(--body-family);
  font-weight: var(--body-weight);
  line-height: var(--body-line-height);
  letter-spacing: var(--body-letter-spacing);
}

/* Paragraph size utility classes */
.p1 { font-size: var(--p1-size); }
.p2 { font-size: var(--p2-size); }
.p3 { font-size: var(--p3-size); }

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 0;
}

/* ============================================================
   Site Footer — Realtyr-style  (rf- prefix)
   ============================================================ */

/* ── CTA Section ──────────────────────────────────────────── */
/* Bottom 52% is black so footer appears seamless below the card */
.rf-cta-section {
    background-image: linear-gradient(180deg, transparent 52%, #181A14 52%, #181A14);
    padding: 0 24px;
}

.rf-cta-section .rf-container {
    max-width: 1336px;
    margin: 0 auto;
    padding: 0 0 0;
}

.rf-cta-wrap {
    position: relative;
    aspect-ratio: 1296 / 450;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 56px 60px;
}

/* Animated background image layer */
.rf-cta-bg {
    position: absolute;
    inset: -5%;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    animation: rf-bg-drift 12s ease-in-out infinite alternate;
    will-change: transform;
}

@keyframes rf-bg-drift {
    0%   { transform: scale(1.08) translate(0%,   0%); }
    100% { transform: scale(1.08) translate(-1.5%, -1%); }
}

/* Dark gradient overlay */
.rf-cta-overlay {
    position: absolute;
    inset: 0;
    background: var(--overlay-cta);
}

.rf-cta-inner {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
    color: #fff;
    text-align: center;
    max-width: 700px;
    width: 100%;
}

.rf-cta-title {
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    font-weight: 400;
    line-height: 1.4;
    color: #fff;
    margin: 0 0 8px;
    text-shadow: 0 1px 8px rgba(0,0,0,0.7), 0 2px 24px rgba(0,0,0,0.5);
}

.rf-cta-inner > div > p {
    font-size: 17px;
    line-height: 1.6;
    color: rgba(255,255,255,0.82);
    margin: 0;
    text-shadow: 0 1px 6px rgba(0,0,0,0.65);
}

.rf-cta-inner > div > p.rf-cta-address {
    font-size: clamp(1rem, 2vw, 1.35rem);
    color: rgba(255,255,255,0.9);
}

.rf-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #fff;
    color: #000;
    border: 1px solid #fff;
    border-radius: 8px;
    padding: 14px 22px;
    font-size: 14px;
    font-weight: 500;
    line-height: 1;
    text-decoration: none;
    transition: background 0.25s, color 0.25s;
}
.rf-cta-btn:hover {
    background: transparent;
    color: #fff;
    text-decoration: none;
}
.rf-cta-btn svg { transition: transform 0.2s; }
.rf-cta-btn:hover svg { transform: translateX(4px); }

/* ── Footer Body (black) ──────────────────────────────────── */
.rf-footer {
    background-color: #181A14;
    color: #999;
    display: flex;
    flex-direction: column;
    gap: 0;
    padding-top: 80px;
}

.rf-footer .rf-container,
.rf-footer-bottom .rf-container {
    max-width: 1336px;
    margin: 0 auto;
    padding: 0 24px;
    box-sizing: border-box;
}

.rf-footer-wrap {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 80px;
    padding-bottom: 60px;
}

.rf-footer-wrap > :nth-child(1) { justify-self: start; }
.rf-footer-wrap > :nth-child(2) { justify-self: center; }
.rf-footer-wrap > :nth-child(3) { justify-self: end; }

/* ── Link columns ─────────────────────────────────────────── */

.rf-footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.rf-footer-head {
    color: #fff;
    font-size: 16px;
    font-weight: 500;
    line-height: 1;
    margin-bottom: 6px;
}

.rf-footer-link {
    color: #fff;
    font-size: 14px;
    line-height: 1.5;
    text-decoration: none;
    transition: color 0.25s;
    display: block;
}

.rf-footer-link:hover { color: #999; text-decoration: none; }

/* ── Footer Logo ──────────────────────────────────────────── */
.rf-footer-logo {
    display: flex;
    align-items: flex-start;
}

.rf-footer-logo img {
    max-height: 80px;
    width: auto;
}

/* ── Footer Bottom Bar ────────────────────────────────────── */
.rf-footer-bottom {
    background-color: #181A14;
    border-top: 1px solid rgba(255,255,255,0.12);
    padding: 18px 0;
}

.rf-footer-bottom-wrap {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
}

.rf-footer-bottom-wrap > :first-child {
    justify-self: start;
}

.rf-footer-bottom-wrap > :nth-child(2) {
    justify-self: center;
}

.rf-footer-bottom-credit {
    justify-self: end;
    color: rgba(255,255,255,0.5);
    font-size: 0.8rem;
}

.rf-footer-bottom-link {
    color: rgba(255,255,255,0.5);
    font-size: 0.8rem;
    text-decoration: none;
    transition: color 0.2s;
}

.rf-footer-bottom-link:hover {
    color: rgba(255,255,255,0.85);
    text-decoration: none;
}

.rf-footer-socials {
    display: flex;
    align-items: center;
    gap: 8px;
}

.rf-footer-social {
    color: #999;
    font-size: 13px;
    text-decoration: none;
    transition: color 0.2s;
}
.rf-footer-social:hover { color: #fff; }

.rf-footer-dot {
    background: #444;
    border-radius: 50%;
    width: 4px; height: 4px;
    display: inline-block;
}

.rf-footer-brand {
    color: #fff;
    font-size: 18px;
    font-weight: 600;
    line-height: 1;
    text-decoration: none;
    text-align: center;
    display: block;
    transition: color 0.2s;
}
.rf-footer-brand:hover { color: #999; text-decoration: none; }

.rf-footer-right {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 8px;
}

.rf-footer-right span {
    color: #999;
    font-size: 13px;
}

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 1024px) {
    .rf-cta-wrap { aspect-ratio: auto; min-height: 340px; padding: 48px 32px; }
}

@media (max-width: 768px) {
    .rf-cta-section { background-image: linear-gradient(180deg, transparent 60%, #181A14 60%, #181A14); }
    .rf-footer-wrap  { grid-template-columns: 1fr; gap: 40px; padding-bottom: 40px; }
    .rf-footer-bottom-wrap { grid-template-columns: 1fr; text-align: center; gap: 8px; }
    .rf-footer-bottom-wrap > * { justify-self: center; }
    .rf-footer-socials { justify-content: center; }
    .rf-footer-right  { justify-content: center; }
    .rf-cta-wrap { padding: 40px 24px; }
}
