/* The Roulette Properties Team — styles */
:root {
  --red: #b40101;
  --red-dark: #8c0101;
  --ink: #1a1a1a;
  --ink-soft: #4a4a4a;
  --paper: #ffffff;
  --paper-warm: #faf7f2;
  --line: #e8e2d8;
  --gold: #c9a227;
  --radius: 14px;
  --wrap: 1120px;
  --font: "Segoe UI", system-ui, -apple-system, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; border-radius: var(--radius); }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 22px; }
.wrap.narrow { max-width: 780px; }
.section { padding: 72px 0; }
.center { text-align: center; margin-top: 28px; }
.fine-print { font-size: 0.82rem; color: #777; }

h1, h2, h3 { line-height: 1.15; letter-spacing: -0.01em; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); margin-bottom: 14px; }
h2 span { color: var(--red); }
.section-sub { color: var(--ink-soft); margin-bottom: 30px; max-width: 640px; }

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--red);
  margin-bottom: 10px;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 13px 26px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease;
}
.btn:active { transform: scale(0.98); }
.btn-primary { background: var(--red); color: #fff; }
.btn-primary:hover { background: var(--red-dark); }
.btn-ghost { border-color: rgba(255,255,255,0.85); color: #fff; }
.btn-ghost:hover { background: rgba(255,255,255,0.14); }
.btn-call {
  background: var(--ink); color: #fff; padding: 10px 20px; font-size: 0.9rem;
  white-space: nowrap;
}
.btn-call:hover { background: #000; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex; align-items: center; gap: 26px;
  padding-top: 12px; padding-bottom: 12px;
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand-mark svg { width: 38px; height: 38px; display: block; }
.brand-text { font-size: 1.02rem; line-height: 1.2; }
.brand-text strong { display: block; }
.main-nav { display: flex; gap: 22px; margin-left: auto; }
.main-nav a { text-decoration: none; color: var(--ink-soft); font-weight: 600; font-size: 0.95rem; }
.main-nav a:hover { color: var(--red); }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 2.5px; background: var(--ink); margin: 5px 0; border-radius: 2px; }

/* Hero */
.hero { position: relative; color: #fff; padding: 110px 0 90px; overflow: hidden; background: #141414; }
.hero-bg {
  position: absolute; inset: 0;
  background: url("images/hero-waterfront.jpg") center/cover no-repeat;
  opacity: 0.55;
}
.hero-content { position: relative; max-width: 720px; }
.hero .eyebrow { color: #ffd9d9; }
.hero h1 { font-size: clamp(2.2rem, 5.4vw, 3.6rem); margin-bottom: 16px; }
.hero .lede { font-size: 1.12rem; color: #f2ece2; margin-bottom: 28px; max-width: 600px; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }

/* Stats */
.stats { background: var(--red); color: #fff; padding: 30px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; text-align: center; }
.stat-num { display: block; font-size: 1.9rem; font-weight: 800; }
.stat-label { font-size: 0.85rem; opacity: 0.9; }

/* About */
.about { background: var(--paper-warm); }
.about-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 44px; align-items: center; }
.about-copy p { margin-bottom: 14px; color: var(--ink-soft); }
.check-list { list-style: none; margin: 18px 0 24px; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 18px; }
.check-list li { position: relative; padding-left: 26px; font-weight: 600; font-size: 0.95rem; }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: 4px; width: 16px; height: 16px;
  background: var(--red);
  clip-path: polygon(14% 44%, 0 65%, 50% 100%, 100% 16%, 80% 0%, 43% 62%);
}

.brand-logo { height: 46px; width: auto; display: block; }

/* Team */
.team { background: #fafafa; }
.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 380px)); gap: 20px; justify-content: start; }
.team-card {
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; background: #fff;
  display: flex; flex-direction: column; gap: 10px; align-items: flex-start;
}
.team-card img { width: 140px; height: 140px; object-fit: cover; border-radius: 50%; }
.team-card h3 { font-size: 1.25rem; margin: 0; }
.team-role { font-weight: 700; color: var(--red); margin: 0; }
.team-card p { color: var(--ink-soft); }
.team-card .btn { margin-top: 6px; }

/* Portfolio */
.portfolio-note { margin-top: 20px; color: var(--ink-soft); }
.portfolio-note a { font-weight: 700; }
.portfolio-ctas { margin-top: 16px; display: flex; gap: 12px; flex-wrap: wrap; }

/* Listings */
.listing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; margin-bottom: 10px; }
.listing-card {
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px; background: #fff;
  display: flex; flex-direction: column; gap: 8px;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.listing-card:hover { box-shadow: 0 14px 34px rgba(0,0,0,0.10); transform: translateY(-3px); }
.listing-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.badge { font-size: 0.72rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.08em; padding: 4px 10px; border-radius: 999px; }
.badge-active { background: #e7f6ec; color: #157a3a; }
.badge-pending { background: #fdf3e3; color: #a86a08; }
.listing-price { font-size: 1.35rem; font-weight: 800; color: var(--red); }
.listing-card h3 { font-size: 1.1rem; }
.listing-loc { color: var(--ink-soft); font-size: 0.92rem; }
.listing-facts { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 0.9rem; color: var(--ink-soft); padding: 8px 0; border-top: 1px dashed var(--line); border-bottom: 1px dashed var(--line); }
.listing-cta { margin-top: auto; font-weight: 700; color: var(--red); text-decoration: none; font-size: 0.95rem; }
.listing-cta:hover { text-decoration: underline; }

/* Services */
.services { background: var(--ink); color: #fff; }
.services h2 { color: #fff; }
.services .eyebrow { color: var(--gold); }
.service-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; margin-top: 26px; }
.service-card { background: #242424; border: 1px solid #333; border-radius: var(--radius); padding: 26px 22px; }
.service-card h3 { color: var(--gold); margin-bottom: 8px; font-size: 1.1rem; }
.service-card p { color: #cfcfcf; font-size: 0.94rem; }

/* Communities */
.communities-grid { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: 44px; align-items: center; }
.area-list { list-style: none; margin-top: 18px; display: grid; gap: 10px; }
.area-list li { padding: 10px 14px; background: var(--paper-warm); border-left: 4px solid var(--red); border-radius: 0 8px 8px 0; font-size: 0.95rem; }

/* Testimonials */
.testimonials { background: var(--paper-warm); text-align: center; }
.review-placeholder {
  max-width: 560px; margin: 10px auto 0; background: #fff;
  border: 1px dashed var(--line); border-radius: var(--radius); padding: 36px 28px;
}
.review-placeholder p { color: var(--ink-soft); margin-bottom: 18px; }

/* FAQ */
.faq-list { display: grid; gap: 12px; margin-top: 22px; }
.faq-list details {
  border: 1px solid var(--line); border-radius: 10px; padding: 16px 20px; background: #fff;
}
.faq-list summary { font-weight: 700; cursor: pointer; list-style: none; position: relative; padding-right: 28px; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; position: absolute; right: 0; top: -2px; font-size: 1.4rem; color: var(--red); }
.faq-list details[open] summary::after { content: "–"; }
.faq-list details p { margin-top: 10px; color: var(--ink-soft); }

/* Contact */
.contact { background: var(--ink); color: #fff; }
.contact h2 { color: #fff; }
.contact .eyebrow { color: var(--gold); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: start; }
.contact-copy p { color: #cfcfcf; margin-bottom: 18px; }
.contact-lines { list-style: none; display: grid; gap: 10px; color: #e8e8e8; }
.contact-lines a { color: #fff; font-weight: 700; }
.contact-form { background: #fff; color: var(--ink); border-radius: var(--radius); padding: 28px; display: grid; gap: 14px; }
.hidden-field { display: none; }
.form-success { background: #e8f5e9; border: 1px solid #4caf50; color: #2e7d32; border-radius: var(--radius); padding: 12px 16px; font-weight: 600; margin: 0; }
.contact-form label { display: grid; gap: 6px; font-weight: 600; font-size: 0.9rem; }
.contact-form input, .contact-form select, .contact-form textarea {
  font: inherit; padding: 11px 13px; border: 1px solid var(--line);
  border-radius: 8px; background: #fbfaf8; width: 100%;
}
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus {
  outline: 2px solid var(--red); border-color: var(--red); background: #fff;
}

/* Footer */
.site-footer { background: #0e0e0e; color: #bdbdbd; padding: 40px 0; }
.footer-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.footer-brand { font-size: 1.05rem; color: #fff; margin-bottom: 10px; }
.site-footer .fine-print { color: #9a9a9a; }
.site-footer strong { color: #cfcfcf; }

/* Responsive */
@media (max-width: 860px) {
  .main-nav, .btn-call { display: none; }
  .nav-toggle { display: block; margin-left: auto; }
  .main-nav.open {
    display: flex; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; background: #fff; padding: 18px 22px 24px;
    border-bottom: 1px solid var(--line); gap: 14px;
  }
  .site-header { position: sticky; }
  .header-inner { position: relative; }
  .about-grid, .communities-grid, .contact-grid, .footer-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .section { padding: 54px 0; }
  .hero { padding: 80px 0 64px; }
}
