/* ===== Adel Sarsour | REALTOR® ===== */

:root {
  --red: #B5121B;
  --red-dark: #8F0D14;
  --red-bright: #E3232D;
  --black: #0F0F10;
  --ink: #1A1A1A;
  --gray-700: #444;
  --gray-600: #5C5C5C;
  --gray-400: #9A9A9A;
  --gray-300: #D4D4D4;
  --gray-200: #E6E6E6;
  --gray-100: #F4F4F4;
  --white: #FFF;

  --font-head: "Montserrat", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;

  --radius: 18px;
  --shadow: 0 1px 2px rgba(0, 0, 0, .05), 0 10px 28px rgba(0, 0, 0, .07);
  --topbar-h: 60px;

  color-scheme: light;
}

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

html { -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { text-wrap: balance; }

.container {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 16px;
}
@media (min-width: 768px) {
  .container { padding: 0 24px; }
}

.icon {
  width: 1.1em;
  height: 1.1em;
  flex-shrink: 0;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.red { color: var(--red); }

:focus-visible {
  outline: 3px solid var(--red);
  outline-offset: 3px;
  border-radius: 6px;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 100;
  background: var(--black);
  color: var(--white);
  padding: 10px 14px;
  border-radius: 10px;
  text-decoration: none;
}
.skip-link:focus { top: 12px; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 15px;
  line-height: 1;
  padding: 13px 20px;
  border: 0;
  border-radius: 999px;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .2s, transform .2s;
}
.btn-red { background: var(--red); color: var(--white); }
.btn-red:hover { background: var(--red-dark); }
.btn-red:active { transform: translateY(1px); }
.btn-sm { font-size: 14px; padding: 10px 16px; }
.btn-lg { font-size: 16px; padding: 16px 24px; width: 100%; }
.btn[disabled] { opacity: .7; cursor: progress; }

/* ===== Top bar ===== */
.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--black);
  color: var(--white);
  border-bottom: 3px solid var(--red);
}
.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  height: var(--topbar-h);
}
.brand {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 16px;
  letter-spacing: .05em;
  text-decoration: none;
  white-space: nowrap;
}
.brand .red { color: var(--red-bright); }
.brand small {
  margin-left: 10px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .22em;
  color: #B9B9B9;
}
@media (max-width: 400px) {
  .brand small { display: none; }
}

/* ===== Header card ===== */
.hero { padding: 20px 0 8px; }

.hero-card {
  position: relative;
  overflow: hidden;
  padding: 40px 20px 52px;
  text-align: center;
  background: var(--gray-100);
  border-radius: 26px;
}
/* red corner, like the flyers */
.hero-card::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, var(--red-bright), var(--red-dark));
  clip-path: polygon(100% 0, 100% 100%, 0 100%);
}
.hero-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 56px;
  height: 56px;
  background: var(--black);
  clip-path: polygon(0 0, 100% 0, 0 100%);
}
@media (min-width: 768px) {
  .hero-card { padding: 52px 40px 48px; }
  .hero-card::after { width: 150px; height: 150px; }
  .hero-card::before { width: 90px; height: 90px; }
}

.headshot {
  position: relative;
  width: min(210px, 58vw);
  margin: 0 auto 30px;
}
.headshot::before {
  content: "";
  position: absolute;
  inset: 0;
  transform: translate(10px, 10px);
  background: var(--red);
  border-radius: 18px;
}
.headshot img {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 18px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .18);
}
@media (min-width: 768px) {
  .headshot { width: 240px; }
}

.name {
  margin: 0;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(32px, 9vw, 54px);
  line-height: 1.08;
  letter-spacing: .02em;
  color: var(--black);
}
.role {
  margin: 10px 0 0;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(17px, 4.6vw, 22px);
  color: var(--ink);
}
.role .bar { color: var(--red); margin: 0 .3em; }

.quick {
  list-style: none;
  margin: 22px auto 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  max-width: 760px;
}
.quick a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--gray-700);
  text-decoration: none;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 999px;
  transition: border-color .2s, color .2s;
}
.quick a:hover { border-color: var(--red); color: var(--red); }
.quick .icon { color: var(--red); }
.quick .short { display: none; }
/* phones: four compact buttons in a 2 x 2 grid */
@media (max-width: 559px) {
  .quick { display: grid; grid-template-columns: 1fr 1fr; max-width: 340px; }
  .quick a { justify-content: center; width: 100%; padding: 11px 10px; font-weight: 600; color: var(--ink); }
  .quick .long { display: none; }
  .quick .short { display: inline; }
}

.divider {
  max-width: 560px;
  height: 1px;
  margin: 28px auto;
  border: 0;
  background: var(--gray-300);
}

.tagline {
  max-width: 19ch;
  margin: 0 auto;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(21px, 5.4vw, 30px);
  line-height: 1.3;
  color: var(--black);
}

/* ===== Explore tiles ===== */
.explore { padding: 36px 0 52px; }
.explore-title {
  margin: 0 0 18px;
  text-align: center;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(22px, 5.6vw, 28px);
  color: var(--black);
}
.tiles {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
@media (min-width: 900px) {
  .tiles { grid-template-columns: repeat(4, 1fr); gap: 16px; }
}
.tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 150px;
  padding: 22px 10px 16px;
  text-align: center;
  text-decoration: none;
  color: var(--ink);
  background: var(--white);
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius);
  transition: border-color .2s, box-shadow .2s, transform .2s;
}
.tile:hover {
  border-color: var(--red);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}
.tile .icon-lg { width: 32px; height: 32px; color: var(--red); }
.tile-label {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(15px, 4.2vw, 18px);
  line-height: 1.25;
}
.tile .tap { width: 20px; height: 20px; color: var(--gray-400); transition: color .2s; }
.tile:hover .tap { color: var(--red); }

/* ===== Sections ===== */
.section {
  padding: 60px 0;
  scroll-margin-top: calc(var(--topbar-h) + 3px);
}
@media (min-width: 768px) {
  .section { padding: 80px 0; }
}
.section-alt { background: var(--gray-100); }

.section-head { margin-bottom: 30px; }
.eyebrow {
  margin: 0 0 8px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--red);
}
.section-title {
  margin: 0;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(28px, 7vw, 40px);
  line-height: 1.12;
  color: var(--black);
}
.section-title::after {
  content: "";
  display: block;
  width: 56px;
  height: 4px;
  margin-top: 14px;
  background: var(--red);
  border-radius: 2px;
}
.section-sub {
  max-width: 60ch;
  margin: 14px 0 0;
  font-size: 17px;
  font-style: italic;
  font-weight: 500;
  color: var(--gray-700);
}

/* ===== Property cards ===== */
.grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
@media (min-width: 640px) {
  .grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 960px) {
  .grid { grid-template-columns: repeat(3, 1fr); }
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
}
.property {
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.property-photo {
  position: relative;
  aspect-ratio: 4 / 3;
  background: var(--gray-200);
}
.property-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.badge {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 6px 11px;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 12px;
  letter-spacing: .16em;
  color: var(--white);
  background: var(--red);
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .25);
}
.property-body { padding: 16px 18px 18px; }
.property-body h3 {
  margin: 0 0 4px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 18px;
  color: var(--black);
}
.property-body p { margin: 0; font-size: 15px; color: var(--gray-600); }

/* ===== Featured Listings (empty state) ===== */
.empty {
  max-width: 620px;
  margin: 0 auto;
  padding: 40px 24px;
  text-align: center;
  background: var(--white);
  border: 1.5px dashed var(--gray-300);
  border-radius: var(--radius);
}
.empty-icon {
  display: inline-grid;
  place-items: center;
  width: 60px;
  height: 60px;
  margin-bottom: 14px;
  color: var(--white);
  background: radial-gradient(circle at 30% 30%, var(--red-bright), var(--red-dark));
  border-radius: 50%;
}
.empty-icon .icon { width: 28px; height: 28px; }
.empty h3 {
  margin: 0 0 8px;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 22px;
  color: var(--black);
}
.empty p { margin: 0 auto 22px; max-width: 44ch; color: var(--gray-600); }

/* ===== Steps ===== */
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  column-gap: 40px;
}
@media (min-width: 880px) {
  .steps { grid-template-columns: repeat(2, 1fr); }
}
.step {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid var(--gray-200);
}
.step-icon {
  display: grid;
  place-items: center;
  width: 60px;
  height: 60px;
  flex-shrink: 0;
  color: var(--white);
  background: radial-gradient(circle at 30% 30%, var(--red-bright), var(--red-dark));
  border-radius: 50%;
  box-shadow: 0 6px 14px rgba(143, 13, 20, .28);
}
.step-icon .icon { width: 28px; height: 28px; stroke-width: 1.8; }
.step-text {
  padding-left: 16px;
  border-left: 2px solid var(--gray-300);
}
.step-text h3 {
  margin: 0 0 4px;
  font-family: var(--font-head);
  font-style: italic;
  font-weight: 800;
  font-size: 18px;
  line-height: 1.3;
  color: var(--black);
}
.step-num {
  display: block;
  margin-bottom: 2px;
  font-size: 14px;
  letter-spacing: .04em;
  color: var(--red);
}
.step-text p { margin: 0; color: var(--gray-700); }

/* ===== Contact ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
@media (min-width: 880px) {
  .contact-grid { grid-template-columns: 5fr 7fr; gap: 28px; align-items: start; }
}

.contact-card {
  position: relative;
  overflow: hidden;
  padding: 32px 24px;
  color: var(--white);
  background: var(--black);
  border-radius: var(--radius);
}
.contact-card::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  width: 90px;
  height: 90px;
  background: linear-gradient(135deg, var(--red-bright), var(--red-dark));
  clip-path: polygon(100% 0, 100% 100%, 0 100%);
}
@media (min-width: 768px) {
  .contact-card { padding: 40px 32px; }
}
.eyebrow-light { color: #FF6B72; }
.section-title-light { color: var(--white); }
.contact-intro { margin: 16px 0 24px; color: #CFCFCF; }

.contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.contact-list a {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px;
  margin: 0 -10px;
  text-decoration: none;
  border-radius: 12px;
  transition: background-color .2s;
  overflow-wrap: anywhere;
}
.contact-list a:hover { background: rgba(255, 255, 255, .07); }
.contact-list small {
  display: block;
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #9E9E9E;
}
.contact-list a > span:last-child { font-weight: 600; font-size: 16px; }
.ci {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  background: var(--red);
  border-radius: 50%;
}

.contact-form {
  padding: 26px 20px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
@media (min-width: 768px) {
  .contact-form { padding: 32px; }
}
.row-2 { display: grid; grid-template-columns: 1fr; column-gap: 14px; }
@media (min-width: 560px) {
  .row-2 { grid-template-columns: 1fr 1fr; }
}
.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 0 0 16px;
}
.field label, .field legend {
  font-weight: 600;
  font-size: 14px;
  color: var(--ink);
}
.field input, .field textarea {
  width: 100%;
  padding: 12px 14px;
  font: inherit;
  color: var(--ink);
  background: var(--white);
  border: 1.5px solid var(--gray-300);
  border-radius: 12px;
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field textarea:focus {
  outline: none;
  border-color: var(--black);
  box-shadow: 0 0 0 3px rgba(181, 18, 27, .18);
}

.choices { border: 0; padding: 0; min-width: 0; }
.choices legend { padding: 0; margin-bottom: 8px; }
.chip-row { display: flex; flex-wrap: wrap; gap: 8px; }
.chip-row input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}
.chip-row label {
  padding: 10px 18px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  border: 1.5px solid var(--gray-300);
  border-radius: 999px;
  transition: background-color .15s, color .15s, border-color .15s;
}
.chip-row label:hover { border-color: var(--black); }
.chip-row input:checked + label {
  color: var(--white);
  background: var(--black);
  border-color: var(--black);
}
.chip-row input:focus-visible + label {
  outline: 3px solid var(--red);
  outline-offset: 2px;
}

.honey { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

.form-status { margin: 14px 0 0; min-height: 1.5em; font-weight: 600; text-align: center; }
.form-status.ok { color: #1D7A3A; }
.form-status.err { color: var(--red); }

/* ===== Footer ===== */
.footer {
  padding: 44px 0 84px; /* room so the back-to-top button never covers text */
  color: #CFCFCF;
  background: var(--black);
  border-top: 4px solid var(--red);
}
.footer p { margin: 0; }
.footer-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 28px;
  border-bottom: 1px solid #2A2A2A;
}
.footer-name {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 22px;
  letter-spacing: .04em;
  color: var(--white);
}
.footer-name .red { color: var(--red-bright); }
.footer-role { margin-top: 6px !important; font-weight: 500; }
.footer-license { margin-top: 4px !important; font-size: 14px; color: #A8A8A8; }
.placeholder { color: #FF9AA0; border-bottom: 1px dashed currentColor; }

.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-links a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  overflow-wrap: anywhere;
}
.footer-links a:hover { color: var(--white); }
.footer-links .icon { color: var(--red-bright); }

.footer-legal {
  display: grid;
  gap: 8px;
  padding-top: 20px;
  font-size: 13px;
  color: #8F8F8F;
}
.footer-legal .eho { display: flex; align-items: flex-start; gap: 8px; }
.footer-legal .icon { width: 18px; height: 18px; margin-top: 1px; }

/* ===== Back to top ===== */
.to-top {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 40;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  color: var(--white);
  background: var(--black);
  border: 2px solid var(--red);
  border-radius: 50%;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .25);
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity .25s, transform .25s;
}
.to-top.show { opacity: 1; pointer-events: auto; transform: none; }
.to-top .icon { width: 22px; height: 22px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
}
