/* Reign Property Holdings — shared styles */

:root {
  --blue-600: #0d6efd;
  --blue-700: #0b5cd1;
  --blue-50: #eef5ff;
  --ink-900: #1a1a1a;
  --ink-700: #3a3d42;
  --ink-500: #5f6368;
  --ink-300: #9aa0a6;
  --line: #e2e5e9;
  --bg: #ffffff;
  --bg-alt: #f6f8fa;
  --radius: 10px;
  --shadow-sm: 0 1px 2px rgba(16, 24, 40, 0.06), 0 1px 3px rgba(16, 24, 40, 0.08);
  --shadow-md: 0 4px 10px rgba(16, 24, 40, 0.08), 0 2px 4px rgba(16, 24, 40, 0.06);
  --shadow-lg: 0 12px 28px rgba(16, 24, 40, 0.14);
  --container: 1180px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink-900);
  background: var(--bg);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

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

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

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

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.05s ease, box-shadow 0.15s ease, background-color 0.15s ease;
  white-space: nowrap;
}

.btn:active { transform: translateY(1px); }

.btn-primary {
  background: var(--blue-600);
  color: #fff;
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover { background: var(--blue-700); }

.btn-outline {
  background: #fff;
  color: var(--ink-900);
  border-color: var(--line);
}
.btn-outline:hover { border-color: var(--ink-300); background: var(--bg-alt); }

.btn-white {
  background: #fff;
  color: var(--blue-700);
}
.btn-white:hover { background: var(--blue-50); }

.btn-block { width: 100%; }
.btn-lg { padding: 14px 28px; font-size: 1rem; }

/* ---------- Top nav ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: -0.01em;
  color: var(--ink-900);
  white-space: nowrap;
}

.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--blue-600), #063f9e);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1rem;
}

.brand-sub {
  display: block;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-500);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--ink-700);
  padding: 8px 0;
  border-bottom: 2px solid transparent;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--blue-700);
  border-bottom-color: var(--blue-600);
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 14px;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink-900);
  margin: 5px 0;
}

.mobile-panel {
  display: none;
  border-top: 1px solid var(--line);
  padding: 12px 0 20px;
}
.mobile-panel a {
  display: block;
  padding: 12px 4px;
  font-weight: 600;
  color: var(--ink-700);
  border-bottom: 1px solid var(--line);
}
.mobile-panel.open { display: block; }

@media (max-width: 860px) {
  .nav-links { display: none; }
  .nav-toggle { display: block; }
}

@media (max-width: 480px) {
  .nav-cta .btn-primary { display: none; }
}

@media (max-width: 480px) {
  .brand > span:not(.brand-mark) { display: none; }
  .brand-mark { width: 38px; height: 38px; font-size: 1.1rem; }
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  color: #fff;
  padding: 110px 0 90px;
  background-size: cover;
  background-position: center;
  background-color: #10233f;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(9, 20, 38, 0.72) 0%, rgba(9, 20, 38, 0.82) 60%, rgba(9, 20, 38, 0.92) 100%);
}

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

.eyebrow {
  display: inline-block;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.28);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.hero h1 {
  font-size: clamp(2rem, 4.2vw, 3.3rem);
  line-height: 1.12;
  margin: 0 0 18px;
  font-weight: 800;
  letter-spacing: -0.01em;
  max-width: 720px;
}

.hero p.lead {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.86);
  max-width: 560px;
  margin: 0 0 34px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 56px;
  flex-wrap: wrap;
}

.hero-stat strong {
  display: block;
  font-size: 1.8rem;
  font-weight: 800;
}
.hero-stat span {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
}

/* ---------- Page header (non-home hero) ---------- */

.page-header {
  background: var(--bg-alt);
  border-bottom: 1px solid var(--line);
  padding: 48px 0;
}
.page-header h1 {
  margin: 0 0 8px;
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  font-weight: 800;
  letter-spacing: -0.01em;
}
.page-header p {
  color: var(--ink-500);
  margin: 0;
  max-width: 640px;
}
.breadcrumb {
  font-size: 0.85rem;
  color: var(--ink-500);
  margin-bottom: 14px;
}
.breadcrumb a { color: var(--blue-700); font-weight: 600; }

/* ---------- Sections ---------- */

section { padding: 72px 0; }
.section-tight { padding: 48px 0; }
.section-alt { background: var(--bg-alt); }

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}

.section-head h2 {
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  font-weight: 800;
  margin: 0 0 6px;
  letter-spacing: -0.01em;
}
.section-head p {
  color: var(--ink-500);
  margin: 0;
  max-width: 560px;
}

.kicker {
  color: var(--blue-700);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 10px;
  display: block;
}

/* ---------- Value grid ---------- */

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

.value-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
}

.value-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--blue-50);
  color: var(--blue-700);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  font-size: 1.3rem;
}

.value-card h3 {
  margin: 0 0 8px;
  font-size: 1.05rem;
  font-weight: 700;
}
.value-card p {
  margin: 0;
  color: var(--ink-500);
  font-size: 0.94rem;
}

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

@media (max-width: 860px) {
  .value-grid { grid-template-columns: 1fr; }
}

/* ---------- Property cards ---------- */

.property-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

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

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
  display: flex;
  flex-direction: column;
}

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

.card-photo {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--bg-alt);
}
.card-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(20, 24, 30, 0.78);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 5px 11px;
  border-radius: 999px;
  letter-spacing: 0.02em;
}

.card-photo-count {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: rgba(20, 24, 30, 0.72);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 999px;
}

.card-body {
  padding: 20px 22px 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.card-specs {
  display: flex;
  gap: 16px;
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 10px;
  color: var(--ink-900);
}
.card-specs span { font-weight: 400; color: var(--ink-500); font-size: 0.85rem; margin-left: 4px; }

.card-address {
  color: var(--ink-700);
  font-size: 0.95rem;
  margin-bottom: 14px;
}

.card-tags {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.tag {
  background: var(--bg-alt);
  border: 1px solid var(--line);
  color: var(--ink-700);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 5px 10px;
  border-radius: 999px;
}

.card-footer {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.card-link {
  font-weight: 700;
  color: var(--blue-700);
  font-size: 0.92rem;
}
.card-link:hover { text-decoration: underline; }

/* ---------- Property detail ---------- */

.gallery {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 10px;
  border-radius: var(--radius);
  overflow: hidden;
}

.gallery-main {
  aspect-ratio: 16 / 11;
  overflow: hidden;
  background: var(--bg-alt);
}
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }

.gallery-thumbs {
  display: grid;
  grid-template-rows: repeat(4, 1fr);
  gap: 10px;
}

.gallery-thumbs button {
  border: 2px solid transparent;
  padding: 0;
  border-radius: 6px;
  overflow: hidden;
  cursor: pointer;
  background: none;
  aspect-ratio: 4/3;
}
.gallery-thumbs button img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumbs button.active { border-color: var(--blue-600); }

@media (max-width: 780px) {
  .gallery { grid-template-columns: 1fr; }
  .gallery-thumbs { grid-template-rows: unset; grid-template-columns: repeat(4, 1fr); }
}

.detail-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 48px;
  align-items: start;
  margin-top: 40px;
}
.detail-layout > * { min-width: 0; }

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

.detail-title-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 6px;
}

.detail-title-row h1 {
  font-size: clamp(1.5rem, 2.6vw, 2.1rem);
  font-weight: 800;
  margin: 0;
}

.detail-address {
  color: var(--ink-500);
  font-size: 1.02rem;
  margin-bottom: 22px;
}

.spec-strip {
  display: flex;
  gap: 28px;
  padding: 20px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.spec-strip div strong {
  display: block;
  font-size: 1.3rem;
  font-weight: 800;
}
.spec-strip div span {
  font-size: 0.82rem;
  color: var(--ink-500);
}

.detail-section { margin-bottom: 36px; }
.detail-section h2 {
  font-size: 1.15rem;
  font-weight: 800;
  margin: 0 0 14px;
}
.detail-section p { color: var(--ink-700); margin: 0 0 12px; }

.fact-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px 24px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.fact-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  color: var(--ink-700);
}
.fact-list li .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--blue-600);
  flex-shrink: 0;
}

.sidebar-card {
  position: sticky;
  top: 96px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow-md);
}
.sidebar-card h3 {
  margin: 0 0 6px;
  font-size: 1.1rem;
  font-weight: 800;
}
.sidebar-card p {
  color: var(--ink-500);
  font-size: 0.9rem;
  margin: 0 0 20px;
}
.sidebar-contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-top: 1px solid var(--line);
}
.sidebar-contact-item:first-of-type { border-top: none; }
.sidebar-contact-item .icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: var(--blue-50);
  color: var(--blue-700);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.sidebar-contact-item > div { min-width: 0; }
.sidebar-contact-item strong { display: block; font-size: 0.95rem; overflow-wrap: break-word; }
.sidebar-contact-item span { font-size: 0.82rem; color: var(--ink-500); }

.sidebar-card .btn { margin-top: 18px; }

/* ---------- Forms ---------- */

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.form-grid > div { min-width: 0; }
.form-grid .full { grid-column: 1 / -1; }

@media (max-width: 640px) {
  .form-grid { grid-template-columns: 1fr; }
}

label {
  display: block;
  font-weight: 600;
  font-size: 0.88rem;
  margin-bottom: 6px;
  color: var(--ink-700);
}

input, textarea, select {
  width: 100%;
  min-width: 0;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 0.95rem;
  font-family: inherit;
  color: var(--ink-900);
  background: #fff;
}
input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: var(--blue-600);
  box-shadow: 0 0 0 3px var(--blue-50);
}

/* ---------- CTA band ---------- */

.cta-band {
  background: linear-gradient(135deg, #0b2545, #123a73);
  color: #fff;
  border-radius: 16px;
  padding: 52px;
  text-align: center;
}
.cta-band h2 { font-size: clamp(1.5rem, 2.8vw, 2.1rem); margin: 0 0 12px; font-weight: 800; }
.cta-band p { color: rgba(255,255,255,0.82); margin: 0 0 28px; max-width: 520px; margin-left: auto; margin-right: auto; }
.cta-band .hero-actions { justify-content: center; }

/* ---------- Footer ---------- */

.site-footer {
  background: #0e1a2b;
  color: rgba(255, 255, 255, 0.7);
  padding: 56px 0 28px;
  margin-top: 40px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
@media (max-width: 780px) {
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
}
.footer-grid h4 {
  color: #fff;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin: 0 0 14px;
}
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-grid a:hover { color: #fff; }
.footer-brand p { max-width: 320px; font-size: 0.92rem; }
.footer-bottom {
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.82rem;
}

/* ---------- Misc ---------- */

.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.note {
  background: var(--blue-50);
  border: 1px solid #cfe3ff;
  color: var(--ink-700);
  border-radius: 8px;
  padding: 14px 16px;
  font-size: 0.9rem;
}
