/* Cornerstone Investment Partners */

:root {
  --color-ink: #141a1f;
  --color-slate: #2a343e;
  --color-muted: #5f6b76;
  --color-cream: #f6f3ee;
  --color-cream-dark: #ebe6de;
  --color-surface: #ffffff;
  --color-border: rgba(20, 26, 31, 0.1);
  --color-accent: #9a7b52;
  --color-accent-dark: #7d6342;
  --color-accent-glow: rgba(154, 123, 82, 0.35);
  --color-highlight: #c9a87a;
  --gradient-warm: linear-gradient(135deg, #2a343e 0%, #1a2229 45%, #141a1f 100%);
  --gradient-gold: linear-gradient(135deg, #c9a87a 0%, #9a7b52 50%, #7d6342 100%);
  --gradient-hero: linear-gradient(
    115deg,
    rgba(20, 26, 31, 0.92) 0%,
    rgba(42, 52, 62, 0.78) 45%,
    rgba(20, 26, 31, 0.55) 100%
  );
  --font-display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-body: "Outfit", system-ui, sans-serif;
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 4px 20px rgba(20, 26, 31, 0.06);
  --shadow: 0 12px 40px rgba(20, 26, 31, 0.1);
  --shadow-lg: 0 24px 60px rgba(20, 26, 31, 0.14);
  --max-width: 1180px;
  --header-height: 92px;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--color-ink);
  background: var(--color-cream);
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  opacity: 0.4;
  background-image: radial-gradient(
      circle at 20% 10%,
      rgba(201, 168, 122, 0.12) 0%,
      transparent 40%
    ),
    radial-gradient(
      circle at 80% 90%,
      rgba(42, 52, 62, 0.06) 0%,
      transparent 45%
    );
}

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

a {
  color: var(--color-accent-dark);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: color 0.2s var(--ease-out);
}

a:hover {
  color: var(--color-accent);
}

.container {
  width: min(100% - 2.5rem, var(--max-width));
  margin-inline: auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Typography */
h1,
h2,
h3,
.page-header h1,
.hero h1,
.section-header h2,
.cta-band h2 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.02em;
}

.eyebrow {
  display: inline-block;
  margin: 0 0 1rem;
  padding: 0.35rem 0.85rem;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-highlight);
  background: rgba(201, 168, 122, 0.15);
  border: 1px solid rgba(201, 168, 122, 0.35);
  border-radius: 100px;
}

.section-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 0.5rem;
}

/* Header */
#site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  transition: background 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out),
    border-color 0.35s var(--ease-out);
}

#site-header.header--transparent {
  background: transparent;
  border-bottom: 1px solid transparent;
}

#site-header.header--transparent .nav-link {
  color: rgba(255, 255, 255, 0.85);
}

#site-header.header--transparent .nav-link:hover,
#site-header.header--transparent .nav-link.is-active {
  color: #fff;
  border-bottom-color: var(--color-highlight);
}

#site-header.header--transparent .logo {
  filter: brightness(0) invert(1);
}

#site-header.header--transparent .nav-toggle {
  border-color: rgba(255, 255, 255, 0.35);
}

#site-header.header--transparent .nav-toggle-bar {
  background: #fff;
}

#site-header.header--scrolled,
#site-header:not(.header--transparent) {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
}

#site-header.header--scrolled .logo,
#site-header:not(.header--transparent) .logo {
  filter: none;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-height);
  gap: 1rem;
}

.logo-link {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
  transition: transform 0.25s var(--ease-out);
}

.logo-link:hover {
  transform: scale(1.02);
}

.logo {
  height: 52px;
  width: auto;
  transition: filter 0.35s var(--ease-out);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 0.55rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  cursor: pointer;
}

.nav-toggle-bar {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--color-ink);
  border-radius: 1px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.35rem 1.75rem;
  flex-wrap: wrap;
}

.nav-link {
  text-decoration: none;
  color: var(--color-muted);
  font-weight: 500;
  font-size: 0.95rem;
  padding: 0.35rem 0;
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}

.nav-link:hover,
.nav-link.is-active {
  color: var(--color-ink);
  border-bottom-color: var(--color-accent);
}

.nav-cta {
  margin-left: 0.5rem;
  padding: 0.55rem 1.15rem !important;
  font-size: 0.9rem !important;
  border-bottom: none !important;
  border-radius: 100px;
  background: var(--gradient-gold);
  color: #fff !important;
  box-shadow: 0 4px 16px var(--color-accent-glow);
}

.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 22px var(--color-accent-glow);
  color: #fff !important;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.5rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.25;
  text-decoration: none;
  border-radius: 100px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out),
    background 0.25s, color 0.25s, border-color 0.25s;
}

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

.btn-primary {
  background: var(--gradient-gold);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 6px 24px var(--color-accent-glow);
}

.btn-primary:hover {
  color: #fff;
  box-shadow: 0 10px 32px var(--color-accent-glow);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(8px);
}

.btn-secondary:hover {
  background: #fff;
  color: var(--color-ink);
  border-color: #fff;
}

.btn-ghost {
  background: transparent;
  color: var(--color-ink);
  border-color: var(--color-border);
}

.btn-ghost:hover {
  background: var(--color-surface);
  border-color: var(--color-accent);
  color: var(--color-accent-dark);
}

.btn-text {
  background: rgba(255, 255, 255, 0.95);
  border: none;
  padding: 0.5rem 1rem;
  font: inherit;
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--color-ink);
  cursor: pointer;
  border-radius: 100px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s, box-shadow 0.2s;
}

.btn-text:hover {
  transform: scale(1.03);
  box-shadow: var(--shadow);
  color: var(--color-ink);
}

.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

/* Hero */
.hero {
  position: relative;
  min-height: min(92vh, 880px);
  display: flex;
  align-items: flex-end;
  color: #fff;
  overflow: hidden;
  padding-top: var(--header-height);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: var(--color-slate)
    url("../assets/general/hero-rental.jpg")
    center / cover no-repeat;
  animation: heroKenBurns 22s ease-in-out infinite alternate;
}

@keyframes heroKenBurns {
  from {
    transform: scale(1);
  }
  to {
    transform: scale(1.08);
  }
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--gradient-hero);
  z-index: 1;
}

.hero::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 180px;
  background: linear-gradient(to top, var(--color-cream), transparent);
  z-index: 2;
  pointer-events: none;
}

.hero .container {
  position: relative;
  z-index: 3;
  padding-block: 5rem 7rem;
  width: min(100% - 2.5rem, var(--max-width));
  margin-inline: auto;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3rem;
  align-items: end;
}

.hero h1 {
  margin: 0 0 1.25rem;
  font-size: clamp(2.5rem, 5.5vw, 4.25rem);
  font-weight: 600;
  line-height: 1.08;
  max-width: 14ch;
}

.hero h1 em {
  font-style: italic;
  color: var(--color-highlight);
}

.hero-lead {
  margin: 0 0 2rem;
  font-size: 1.15rem;
  max-width: 36rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.88);
}

.hero-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
}

.hero-card h2 {
  margin: 0 0 1rem;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-highlight);
}

.hero-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.hero-stats li {
  padding-top: 0.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.hero-stats strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 0.2rem;
}

.hero-stats span {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.7);
}

.hero .btn-primary {
  background: #fff;
  color: var(--color-ink);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

.hero .btn-primary:hover {
  background: var(--color-cream);
  color: var(--color-ink);
}

/* Quick actions */
.quick-actions {
  margin-top: 1.25rem;
  position: relative;
  z-index: 10;
  padding-top: 0.5rem;
  padding-bottom: 1.5rem;
}

.quick-actions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.action-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 220px;
  padding: 1.75rem;
  border-radius: var(--radius-lg);
  overflow: hidden;
  text-decoration: none;
  color: #fff;
  box-shadow: var(--shadow);
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out);
}

.action-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  color: #fff;
}

.action-card-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.6s var(--ease-out);
}

.action-card:hover .action-card-bg {
  transform: scale(1.06);
}

.action-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(20, 26, 31, 0.92) 0%,
    rgba(20, 26, 31, 0.35) 60%,
    rgba(20, 26, 31, 0.15) 100%
  );
  z-index: 1;
}

.action-card-content {
  position: relative;
  z-index: 2;
}

.action-card h3 {
  margin: 0 0 0.35rem;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
}

.action-card p {
  margin: 0;
  font-size: 0.9rem;
  opacity: 0.85;
}

.action-card-arrow {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  z-index: 2;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  font-size: 1.1rem;
  transition: background 0.25s;
}

.action-card:hover .action-card-arrow {
  background: var(--color-highlight);
  color: var(--color-ink);
}

/* Pay Rent & Contact — custom card art (same card size as photo card) */
.action-card--pay::before,
.action-card--contact::before {
  background: linear-gradient(
    to top,
    rgba(20, 26, 31, 0.95) 0%,
    rgba(20, 26, 31, 0.55) 38%,
    transparent 58%
  );
}

.action-card--pay .action-card-bg,
.action-card--contact .action-card-bg {
  background-image: none;
  background: linear-gradient(
    180deg,
    #ebe6de 0%,
    #e0d9cf 38%,
    #4a5560 72%,
    #2a343e 100%
  );
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.15rem 1rem 5.25rem;
}

.action-card--pay:hover .action-card-bg,
.action-card--contact:hover .action-card-bg {
  transform: none;
}

.payment-logos {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.45rem;
  width: 100%;
  align-self: flex-start;
  margin-top: 0.15rem;
}

.action-card--pay .payment-logos {
  grid-template-columns: repeat(5, 1fr);
  gap: 0.35rem;
}

.payment-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0.4rem 0.35rem;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(20, 26, 31, 0.1);
}

.action-card--pay .payment-logo {
  min-height: 34px;
  padding: 0.35rem 0.3rem;
}

.payment-logo img {
  display: block;
  width: 100%;
  max-width: 52px;
  max-height: 20px;
  object-fit: contain;
}

.action-card--pay .payment-logo img {
  max-width: 100%;
  max-height: 18px;
}

.action-card-brand-logo {
  max-width: 72%;
  max-height: 88px;
  width: auto;
  height: auto;
  object-fit: contain;
  align-self: center;
  margin-top: 0.25rem;
  filter: drop-shadow(0 4px 12px rgba(20, 26, 31, 0.12));
}

/* Sections */
.section {
  padding-block: 5.5rem;
}

.section-alt {
  background: var(--color-surface);
  position: relative;
}

.section-alt::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--color-cream-dark),
    transparent
  );
}

.section-header {
  margin-bottom: 3rem;
  max-width: 36rem;
}

.section-header h2 {
  margin: 0 0 0.75rem;
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  line-height: 1.15;
  color: var(--color-ink);
}

.section-header p {
  margin: 0;
  color: var(--color-muted);
  font-size: 1.1rem;
}

/* About split */
.about-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-visual {
  position: relative;
  min-height: 420px;
}

.about-img-main {
  width: 78%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  object-fit: cover;
  aspect-ratio: 4/5;
}

.about-img-accent {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 52%;
  border-radius: var(--radius);
  border: 4px solid var(--color-cream);
  box-shadow: var(--shadow);
  object-fit: cover;
  aspect-ratio: 1;
}

.about-deco {
  position: absolute;
  top: -12px;
  left: -12px;
  width: 80px;
  height: 80px;
  border: 2px solid var(--color-accent);
  border-radius: var(--radius);
  opacity: 0.5;
}

.about-content p {
  color: var(--color-muted);
  font-size: 1.05rem;
}

.about-content p:first-of-type {
  font-size: 1.15rem;
  color: var(--color-slate);
}

.about-quote {
  margin-top: 2rem;
  padding: 1.5rem 1.75rem;
  border-left: 3px solid var(--color-accent);
  background: linear-gradient(90deg, rgba(154, 123, 82, 0.08), transparent);
  border-radius: 0 var(--radius) var(--radius) 0;
}

.about-quote p {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-style: italic;
  color: var(--color-slate) !important;
  line-height: 1.45;
}

/* Trust cards */
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.trust-card {
  position: relative;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out),
    border-color 0.35s;
  overflow: hidden;
}

.trust-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease-out);
}

.trust-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: rgba(154, 123, 82, 0.25);
}

.trust-card:hover::before {
  transform: scaleX(1);
}

.trust-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  background: linear-gradient(135deg, rgba(201, 168, 122, 0.2), rgba(154, 123, 82, 0.1));
  border-radius: var(--radius-sm);
  color: var(--color-accent-dark);
}

.trust-icon svg {
  width: 24px;
  height: 24px;
}

.trust-card h3 {
  margin: 0 0 0.5rem;
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--color-ink);
}

.trust-card p {
  margin: 0;
  color: var(--color-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* CTA band */
.cta-band {
  position: relative;
  text-align: center;
  padding: 5rem 1.5rem;
  background: var(--gradient-warm);
  color: #fff;
  overflow: hidden;
}

.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.8;
}

.cta-band .container {
  position: relative;
  z-index: 1;
}

.cta-band h2 {
  margin: 0 0 0.75rem;
  font-size: clamp(2rem, 4vw, 2.75rem);
}

.cta-band p {
  margin: 0 0 2rem;
  font-size: 1.1rem;
  opacity: 0.88;
  max-width: 32rem;
  margin-inline: auto;
}

.cta-band .btn-primary {
  background: #fff;
  color: var(--color-ink);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
}

.cta-band .btn-primary:hover {
  background: var(--color-cream);
}

.cta-band .btn-secondary {
  border-color: rgba(255, 255, 255, 0.5);
}

/* Page header */
.page-header {
  position: relative;
  padding-block: 8rem 4rem;
  margin-top: 0;
  color: #fff;
  overflow: hidden;
  background: var(--color-slate);
}

.page-header-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.45;
}

.page-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--gradient-hero);
  z-index: 1;
}

.page-header .container {
  position: relative;
  z-index: 2;
}

.page-header h1 {
  margin: 0 0 0.75rem;
  font-size: clamp(2.25rem, 4vw, 3.25rem);
  line-height: 1.1;
}

.page-header p {
  margin: 0;
  font-size: 1.1rem;
  max-width: 38rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.65;
}

/* Property cards */
.property-card {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 0;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  margin-bottom: 2.5rem;
  transition: box-shadow 0.35s var(--ease-out), transform 0.35s var(--ease-out);
}

.property-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

.property-gallery {
  position: relative;
  min-height: 340px;
  background: var(--color-cream-dark);
  overflow: hidden;
}

.property-main-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 340px;
  transition: transform 0.6s var(--ease-out);
}

.property-card:hover .property-main-photo {
  transform: scale(1.04);
}

.property-rent-badge {
  position: absolute;
  top: 1.25rem;
  left: 1.25rem;
  z-index: 2;
  padding: 0.5rem 1rem;
  font-weight: 700;
  font-size: 1.1rem;
  color: #fff;
  background: var(--gradient-gold);
  border-radius: 100px;
  box-shadow: 0 4px 16px var(--color-accent-glow);
}

.gallery-trigger {
  position: absolute;
  bottom: 1.25rem;
  right: 1.25rem;
  z-index: 2;
}

.property-details {
  padding: 2.25rem 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.property-address {
  margin: 0 0 0.35rem;
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 600;
  line-height: 1.2;
}

.property-location {
  margin: 0 0 1.25rem;
  color: var(--color-muted);
  font-size: 0.95rem;
}

.property-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  list-style: none;
  margin: 0 0 1.25rem;
  padding: 0;
}

.property-meta li {
  padding: 0.4rem 0.85rem;
  font-size: 0.88rem;
  font-weight: 500;
  background: var(--color-cream);
  border-radius: 100px;
  color: var(--color-slate);
}

.property-meta li strong {
  color: var(--color-accent-dark);
}

.property-description {
  margin: 0 0 1.5rem;
  color: var(--color-muted);
  line-height: 1.65;
}

.property-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.property-actions .btn-secondary {
  background: transparent;
  color: var(--color-ink);
  border-color: var(--color-border);
}

.property-actions .btn-secondary:hover {
  background: var(--color-cream);
  border-color: var(--color-accent);
  color: var(--color-accent-dark);
}

.empty-state {
  text-align: center;
  padding: 4rem 2rem;
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  border: 2px dashed var(--color-cream-dark);
}

.empty-state h2 {
  font-family: var(--font-display);
  margin-top: 0;
}

/* Pay rent */
.simple-page-card {
  max-width: 32rem;
  margin: 3rem auto 5rem;
  padding: 3rem 2.5rem;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.simple-page-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-gold);
}

.simple-page-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(201, 168, 122, 0.25), rgba(154, 123, 82, 0.1));
  border-radius: 50%;
  color: var(--color-accent-dark);
}

.simple-page-card h2 {
  font-family: var(--font-display);
  font-size: 1.75rem;
  margin: 0 0 1rem;
}

.simple-page-card p {
  color: var(--color-muted);
  margin: 0 0 1.5rem;
}

/* Contact */
.contact-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 3rem;
  padding-bottom: 5rem;
  align-items: start;
}

.contact-info {
  padding: 2rem;
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
}

.contact-info h2 {
  margin-top: 0;
  font-family: var(--font-display);
  font-size: 1.75rem;
}

.contact-info ul {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem;
}

.contact-info li {
  margin-bottom: 1.25rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--color-border);
}

.contact-info li:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.contact-info a {
  font-weight: 600;
  font-size: 1.15rem;
  text-decoration: none;
  color: var(--color-ink);
}

.contact-info a:hover {
  color: var(--color-accent);
}

.contact-note {
  color: var(--color-muted);
  font-size: 0.95rem;
}

.contact-form-wrap {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  box-shadow: var(--shadow);
}

.contact-form-wrap h2 {
  margin: 0 0 1.5rem;
  font-family: var(--font-display);
  font-size: 1.5rem;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.4rem;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--color-slate);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.75rem 1rem;
  font: inherit;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: var(--color-cream);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px var(--color-accent-glow);
  background: var(--color-surface);
}

.form-group textarea {
  min-height: 150px;
  resize: vertical;
}

.form-hint {
  margin: 0.75rem 0 0;
  font-size: 0.85rem;
  color: var(--color-muted);
}

.form-success {
  margin: 0 0 1.25rem;
  padding: 0.85rem 1rem;
  font-size: 0.95rem;
  color: var(--color-slate);
  background: rgba(154, 123, 82, 0.12);
  border-radius: var(--radius-sm);
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(20, 26, 31, 0.94);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.3s var(--ease-out);
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.lightbox-open {
  overflow: hidden;
}

.lightbox-image {
  max-height: 85vh;
  max-width: 90vw;
  object-fit: contain;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  font-size: 1.75rem;
  line-height: 1;
  padding: 0.6rem 1rem;
  cursor: pointer;
  border-radius: var(--radius-sm);
  transition: background 0.2s;
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
  background: rgba(255, 255, 255, 0.22);
}

.lightbox-close {
  top: 1.5rem;
  right: 1.5rem;
}

.lightbox-prev {
  left: 1.5rem;
  top: 50%;
  transform: translateY(-50%);
}

.lightbox-next {
  right: 1.5rem;
  top: 50%;
  transform: translateY(-50%);
}

.lightbox-caption {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.8);
  margin: 0;
  font-size: 0.9rem;
}

/* Footer */
#site-footer {
  position: relative;
  background: var(--color-ink);
  color: rgba(255, 255, 255, 0.75);
  margin-top: auto;
  overflow: hidden;
}

#site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-gold);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 3rem;
  padding-block: 3.5rem;
}

.footer-logo {
  height: 52px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.95;
  margin-bottom: 1rem;
}

.footer-tagline {
  margin: 0;
  font-size: 1rem;
  line-height: 1.6;
  opacity: 0.8;
  max-width: 22rem;
}

.footer-heading {
  margin: 0 0 1rem;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--color-highlight);
}

.footer-contact a,
.footer-links a {
  color: #fff;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-contact a:hover,
.footer-links a:hover {
  color: var(--color-highlight);
}

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

.footer-links li {
  margin-bottom: 0.55rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-block: 1.25rem;
  font-size: 0.875rem;
  opacity: 0.6;
}

.footer-bottom p {
  margin: 0;
}

/* Layout & motion */
.site-body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
}

body.has-hero main {
  padding-top: 0;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 {
  transition-delay: 0.1s;
}
.reveal-delay-2 {
  transition-delay: 0.2s;
}
.reveal-delay-3 {
  transition-delay: 0.3s;
}

/* Responsive */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-card {
    max-width: 400px;
  }

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

  .quick-actions-grid {
    grid-template-columns: 1fr;
  }

  .about-split {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .about-visual {
    min-height: 320px;
    max-width: 480px;
    margin-inline: auto;
  }
}

@media (max-width: 900px) {
  .property-card {
    grid-template-columns: 1fr;
  }

  .property-details {
    padding: 1.75rem;
  }

  .contact-layout {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

@media (max-width: 720px) {
  .nav-toggle {
    display: flex;
  }

  .nav-cta {
    display: none;
  }

  .site-nav {
    display: none;
    position: absolute;
    top: var(--header-height);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    background: var(--color-surface);
    border-bottom: 1px solid var(--color-border);
    padding: 1rem 1.5rem 1.25rem;
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: flex;
  }

  #site-header.header--transparent .site-nav.is-open .nav-link {
    color: var(--color-ink);
  }

  .nav-link {
    padding: 0.65rem 0;
  }

  #site-header .header-inner {
    position: relative;
    flex-wrap: wrap;
  }

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

  .hero h1 {
    max-width: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .hero-bg {
    animation: none;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
