/* =====================================================
   DE FARIA PROPERTIES
   Off-Market Static Landing — styles.css
   ===================================================== */

/* --- Reset & Base --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  background: #F7F3EE;
  color: #1A1411;
  overflow-x: hidden;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

/* --- Serif headings --- */
h1, h2, h3, .faq__q {
  font-family: Georgia, 'Times New Roman', serif;
  font-weight: 400;
}

/* =====================================================
   GLOBAL COMPONENTS
   ===================================================== */

/* Eyebrow label */
.eyebrow {
  display: block;
  font-size: 11px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: #C8A675;
  font-weight: 600;
  margin-bottom: 20px;
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

.eyebrow--centered {
  text-align: center;
}

/* Gold horizontal rule */
.gold-rule {
  width: 100%;
  height: 2px;
  background: #C8A675;
}

/* Pull quote */
.pull-quote {
  background: #0D0A08;
  color: #C8A675;
  font-size: 1.0625rem;
  font-style: italic;
  line-height: 1.65;
  padding: 26px 34px;
  max-width: 600px;
  border-left: 3px solid #C8A675;
  margin-top: 52px;
}

/* Section close / italic summary */
.section-close {
  margin-top: 80px;
  border-top: 1px solid rgba(200, 166, 117, 0.25);
  padding-top: 48px;
}

.section-close p {
  font-size: 1.1875rem;
  line-height: 1.72;
  color: rgba(200, 166, 117, 0.9);
  font-style: italic;
  font-weight: 500;
  max-width: 640px;
}

.section-close--dark p {
  color: #2A201A;
  font-style: italic;
  font-weight: 600;
}

/* =====================================================
   BUTTONS
   ===================================================== */
.btn {
  display: inline-block;
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none !important;
  cursor: pointer;
  transition: background 0.22s ease, color 0.22s ease, border-color 0.22s ease, transform 0.18s ease;
  white-space: nowrap;
  border-radius: 0;
  line-height: 1;
}

/* Ivory/cream primary (on dark bg) */
.btn--primary {
  background: #F5F0E8;
  color: #0D0D0D;
  padding: 14px 34px;
  border: 2px solid #F5F0E8;
}

.btn--primary:hover {
  background: #C8A675;
  border-color: #C8A675;
  color: #1A1411;
  transform: translateY(-1px);
}

/* Gold outline (on dark bg) */
.btn--outline {
  background: transparent;
  color: #C8A675;
  padding: 13px 33px;
  border: 1.5px solid #C8A675;
}

.btn--outline:hover {
  background: rgba(200, 166, 117, 0.14);
  border-color: #D4B07F;
  color: #D4B07F;
  transform: translateY(-1px);
}

/* Gold outline variant for CTA section */
.btn--outline-cta {
  background: transparent;
  color: #C8A675;
  padding: 13px 33px;
  border: 1.5px solid #C8A675;
}

.btn--outline-cta:hover {
  background: rgba(200, 166, 117, 0.14);
  border-color: #D4B07F;
  color: #D4B07F;
  transform: translateY(-1px);
}

/* Large size modifier */
.btn--lg {
  padding: 20px 44px;
  font-size: 13px;
}

/* =====================================================
   HERO
   ===================================================== */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 640px;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  overflow: hidden;
  background-color: #0A0908;
}

/* Trust line mobile break — hidden on desktop */
.trust-br { display: none; }

/* Background image layer */
.hero__bg {
  position: absolute;
  inset: 0;
  background-image: url('assets/hero-offmarket.webp');
  background-size: cover;
  background-position: center 28%;
  z-index: 0;
  will-change: transform;
}

/* Dark directional overlay — stronger on left for text legibility */
.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    108deg,
    rgba(8, 5, 2, 0.94) 0%,
    rgba(10, 7, 3, 0.82) 35%,
    rgba(14, 10, 5, 0.52) 62%,
    rgba(20, 14, 8, 0.18) 100%
  );
  z-index: 1;
}

/* Content container — sits at bottom left */
.hero__inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 40px 104px;
}

/* H1 */
.hero__h1 {
  font-size: clamp(2.75rem, 5.5vw, 4.75rem);
  line-height: 1.05;
  font-weight: 300;
  color: #F5F0E8;
  letter-spacing: 0.025em;
  margin-bottom: 1.625rem;
  max-width: 720px;
}

/* Lead paragraph */
.hero__lead {
  font-size: 1.0625rem;
  line-height: 1.82;
  color: rgba(196, 186, 170, 0.9);
  max-width: 520px;
  margin-bottom: 2.25rem;
  font-style: italic;
}

/* CTA button row */
.hero__ctas {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 2rem;
  align-items: center;
}

/* Trust / positioning line below buttons */
.hero__trust {
  font-size: 0.775rem;
  letter-spacing: 0.09em;
  line-height: 1.7;
  color: rgba(195, 180, 158, 0.96);
  padding-top: 1.25rem;
  border-top: 1px solid rgba(110, 92, 62, 0.65);
  max-width: 520px;
}

/* =====================================================
   SECTIONS — BASE
   ===================================================== */
.sec {
  padding: 100px 40px;
  width: 100%;
}

/* Content constrainer */
.sec__in {
  max-width: 1100px;
  margin: 0 auto;
}

.sec__in--center {
  text-align: center;
}

/* Section backgrounds */
.sec--ivory      { background: #F7F3EE; }
.sec--near-white { background: #FEFCF9; }
.sec--dark-brown { background: #1E160D; }
.sec--dark       { background: #1A1411; }
.sec--near-black { background: #0D0A08; }
.sec--cta        { background: #110D0B; padding: 84px 40px; }

/* Section H2 */
.sec__h2 {
  font-size: clamp(1.875rem, 3.5vw, 3rem);
  line-height: 1.13;
  color: #1A1411;
  margin-bottom: 28px;
  max-width: 780px;
  font-weight: 400;
}

.sec__h2--light {
  color: #FFFFFF;
}

.sec__h2--cta {
  color: #FFFFFF;
  max-width: none;
  font-size: clamp(2.5rem, 5vw, 3.75rem);
  margin-bottom: 20px;
  line-height: 1.08;
}

/* Lead paragraph with gold left border */
.sec__lead {
  font-size: 1.125rem;
  line-height: 1.78;
  color: #4A4035;
  max-width: 700px;
  margin-bottom: 24px;
  border-left: 3px solid #C8A675;
  padding-left: 24px;
}

/* Body paragraph */
.sec__body {
  font-size: 1.0625rem;
  line-height: 1.78;
  color: #54483C;
  max-width: 700px;
  margin-bottom: 52px;
}

.sec__body--indent {
  padding-left: 27px;
}

/* Sub heading */
.sec__sub {
  font-size: 1.1875rem;
  line-height: 1.72;
  margin-bottom: 64px;
  max-width: 600px;
}

.sec__sub--light { color: rgba(255, 255, 255, 0.68); }
.sec__sub--dark  { color: #54483C; }

/* Narrow header block for process section */
.sec__hdr {
  max-width: 640px;
  margin-bottom: 80px;
}

.sec__intro {
  font-size: 1.0625rem;
  line-height: 1.78;
}

.sec__intro--light {
  color: rgba(255, 255, 255, 0.7);
}

/* =====================================================
   S2 — WHO THIS IS FOR
   Dark 2×2 grid of buyer profile cards
   ===================================================== */
.grid--2x2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
}

.card--dark {
  background: rgba(255, 255, 255, 0.04);
  border-top: 1px solid rgba(200, 166, 117, 0.25);
  padding: 40px;
  transition: background 0.26s ease, border-color 0.26s ease, transform 0.26s ease;
}

.card--dark:hover {
  background: rgba(255, 255, 255, 0.08);
  border-top-color: rgba(200, 166, 117, 0.58);
  transform: translateY(-5px);
}

.card__num {
  display: block;
  font-size: 11px;
  letter-spacing: 3px;
  color: #C8A675;
  font-weight: 700;
  margin-bottom: 16px;
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

.card__h3 {
  font-size: 1.375rem;
  font-weight: 600;
  color: #FFFFFF;
  margin-bottom: 14px;
  line-height: 1.22;
}

.card__p {
  font-size: 0.9375rem;
  line-height: 1.78;
  color: rgba(220, 215, 200, 0.82);
}

/* =====================================================
   S3 — WHY BUYERS GO OFF-MARKET
   2-column numbered grid
   ===================================================== */
.grid--numbered {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 52px 80px;
  margin-bottom: 0;
}

.numbered-item {
  border-top: 1px solid rgba(200, 166, 117, 0.35);
  padding-top: 36px;
  transition: border-color 0.26s ease;
}

.numbered-item:hover {
  border-top-color: rgba(200, 166, 117, 0.72);
}

.numbered-item:hover .numbered-item__h3 {
  color: #C8A675;
}

.numbered-item__n {
  display: block;
  font-size: 11px;
  letter-spacing: 4px;
  color: #C8A675;
  font-weight: 700;
  margin-bottom: 14px;
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

.numbered-item__h3 {
  font-size: 1.3125rem;
  font-weight: 600;
  color: #1A1411;
  margin-bottom: 12px;
  line-height: 1.28;
  transition: color 0.26s ease;
}

.numbered-item__p {
  font-size: 0.9375rem;
  line-height: 1.78;
  color: #524638;
}

/* =====================================================
   S4 — HOW IT WORKS
   Vertical timeline with gold line
   ===================================================== */
.timeline {
  position: relative;
}

.timeline__line {
  position: absolute;
  left: 19px;
  top: 20px;
  bottom: 20px;
  width: 1px;
  background: linear-gradient(
    to bottom,
    #C8A675 0%,
    rgba(200, 166, 117, 0.08) 100%
  );
  pointer-events: none;
}

.timeline__step {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 0 44px;
  padding: 40px 0;
  position: relative;
}

.timeline__step:not(:last-child) {
  border-bottom: 1px solid rgba(200, 166, 117, 0.12);
}

.timeline__marker {
  position: relative;
  padding-top: 0;
}

.timeline__dot {
  position: absolute;
  left: 14px;
  top: 4px;
  width: 10px;
  height: 10px;
  background: #C8A675;
  border-radius: 50%;
  z-index: 2;
}

.timeline__num {
  display: block;
  font-size: 11px;
  letter-spacing: 3px;
  color: #C8A675;
  font-weight: 700;
  padding-left: 30px;
  padding-top: 1px;
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  position: relative;
  z-index: 2;
}

.timeline__content h3 {
  font-size: 1.3125rem;
  font-weight: 600;
  color: #FFFFFF;
  margin-bottom: 12px;
  line-height: 1.28;
}

.timeline__content p {
  font-size: 0.9375rem;
  line-height: 1.78;
  color: rgba(220, 215, 200, 0.82);
  max-width: 680px;
}

.timeline__step:hover .timeline__content h3 {
  color: #C8A675;
  transition: color 0.25s ease;
}

/* =====================================================
   S5 — WHAT WE DO NOT PROMISE
   Arrow list
   ===================================================== */
.promise-list {
  list-style: none;
  margin-bottom: 0;
}

.promise-list li {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  font-size: 1rem;
  line-height: 1.78;
  color: #2A201A;
  padding: 22px 0;
  border-bottom: 1px solid rgba(200, 166, 117, 0.2);
}

.promise-list li:first-child {
  border-top: 1px solid rgba(200, 166, 117, 0.2);
}

.promise-list__arrow {
  color: #C8A675;
  font-weight: 700;
  font-size: 1.0625rem;
  flex-shrink: 0;
  margin-top: 2px;
}

/* =====================================================
   S6 — AREAS WE MONITOR
   4-column area tile grid
   ===================================================== */
.area-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 48px;
}

.area-card {
  background: rgba(200, 166, 117, 0.07);
  border: 1px solid rgba(200, 166, 117, 0.22);
  padding: 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  transition: background 0.24s ease, border-color 0.24s ease, transform 0.24s ease;
}

.area-card:hover {
  background: rgba(200, 166, 117, 0.14);
  border-color: rgba(200, 166, 117, 0.50);
  transform: translateY(-4px);
}

.area-card strong {
  display: block;
  font-size: 0.875rem;
  font-weight: 700;
  color: #FFFFFF;
  letter-spacing: 0.3px;
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

.area-card span {
  display: block;
  font-size: 0.75rem;
  color: rgba(200, 166, 117, 0.68);
}

.areas-note {
  font-size: 0.9375rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.5);
  font-style: italic;
  border-top: 1px solid rgba(200, 166, 117, 0.2);
  padding-top: 36px;
  max-width: 640px;
}

/* =====================================================
   S7 — BUYER RISK INTELLIGENCE
   3-column risk grid with gold border-left
   ===================================================== */
.risk-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 52px 56px;
}

.risk-item {
  border-left: 3px solid rgba(200, 166, 117, 0.65);
  padding-left: 24px;
  transition: border-left-color 0.24s ease;
}

.risk-item:hover {
  border-left-color: #C8A675;
}

.risk-item:hover h3 {
  color: #8B6E3E;
}

.risk-item h3 {
  font-size: 1.0625rem;
  font-weight: 700;
  color: #1A1411;
  margin-bottom: 10px;
  line-height: 1.3;
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  transition: color 0.24s ease;
}

.risk-item p {
  font-size: 0.875rem;
  line-height: 1.75;
  color: #5A5045;
}

/* =====================================================
   S8 — FAQ
   Dark Q&A pairs
   ===================================================== */
.faq {
  margin-top: 56px;
}

.faq__item {
  border-top: 1px solid rgba(200, 166, 117, 0.2);
  padding: 36px 0;
  transition: background 0.22s ease;
}

.faq__item:hover {
  background: rgba(200, 166, 117, 0.04);
}

.faq__item:hover .faq__q {
  color: rgba(200, 166, 117, 0.92);
}

.faq__item:last-child {
  border-bottom: 1px solid rgba(200, 166, 117, 0.2);
}

.faq__q {
  font-size: 1.1875rem;
  font-weight: 600;
  color: #FFFFFF;
  margin-bottom: 16px;
  line-height: 1.35;
  transition: color 0.22s ease;
}

.faq__a p {
  font-size: 0.9375rem;
  line-height: 1.78;
  color: rgba(220, 215, 200, 0.82);
}

/* =====================================================
   S9 — FINAL CTA
   Darkest, centered
   ===================================================== */
.cta__p {
  font-size: 1.25rem;
  line-height: 1.72;
  color: rgba(255, 255, 255, 0.68);
  margin: 0 auto 52px;
  max-width: 580px;
}

.cta__btns {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 52px;
}

.cta__foot {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.32);
  letter-spacing: 0.5px;
  font-style: italic;
  line-height: 1.85;
}

.cta__foot a {
  color: rgba(255, 255, 255, 0.32);
  text-decoration: none;
  transition: color 0.2s ease;
}

.cta__foot a:hover {
  color: rgba(255, 255, 255, 0.6);
}

/* =====================================================
   RESPONSIVE — Tablet (≤900px)
   ===================================================== */
@media (max-width: 900px) {
  .area-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .risk-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 36px 40px;
  }

  .sec--cta {
    padding: 64px 40px;
  }
}

/* =====================================================
   RESPONSIVE — Mobile (≤768px)
   ===================================================== */
@media (max-width: 768px) {
  /* Hero */
  .hero {
    height: 100vh;
    height: 100svh;
    min-height: 560px;
    align-items: center;
  }

  .hero__bg {
    background-position: 58% center;
  }

  .hero__inner {
    padding: 20vh 24px 0;
  }

  .hero__h1 {
    font-size: clamp(2.1rem, 8vw, 2.8rem);
    letter-spacing: 0.01em;
    margin-bottom: 1.25rem;
  }

  .hero__lead {
    font-size: 0.9375rem;
    max-width: 100%;
    margin-bottom: 1.75rem;
  }

  .hero__ctas {
    flex-direction: column;
    gap: 10px;
    margin-bottom: 1.5rem;
  }

  .hero__ctas .btn {
    width: 100%;
    text-align: center;
    padding: 15px 24px;
    white-space: normal;
  }

  .hero__trust {
    font-size: 0.75rem;
    letter-spacing: 0.07em;
    line-height: 1.85;
    color: rgba(200, 185, 162, 0.97);
  }

  .trust-br { display: inline; }

  /* Sections */
  .sec {
    padding: 64px 24px;
  }

  .sec--cta {
    padding: 56px 24px;
  }

  /* Section headings */
  .sec__h2 {
    font-size: clamp(1.75rem, 6.5vw, 2.2rem);
    margin-bottom: 20px;
  }

  .sec__h2--cta {
    font-size: clamp(2rem, 8vw, 2.75rem);
  }

  /* Lead */
  .sec__lead {
    font-size: 1rem;
    border-left: none;
    padding-left: 0;
    border-top: 2px solid #C8A675;
    padding-top: 18px;
  }

  .sec__body--indent {
    padding-left: 0;
  }

  .sec__sub {
    font-size: 1rem;
    margin-bottom: 40px;
  }

  .sec__hdr {
    margin-bottom: 48px;
  }

  /* Pull quote */
  .pull-quote {
    padding: 20px 22px;
    font-size: 1rem;
    margin-top: 36px;
  }

  /* Section close */
  .section-close {
    margin-top: 48px;
    padding-top: 32px;
  }

  .section-close p {
    font-size: 1.0625rem;
  }

  /* S2 — Who this is for */
  .grid--2x2 {
    grid-template-columns: 1fr;
    gap: 2px;
  }

  .card--dark {
    padding: 28px 20px;
  }

  .card__h3 {
    font-size: 1.1875rem;
  }

  /* S3 — Why buyers */
  .grid--numbered {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .numbered-item__h3 {
    font-size: 1.125rem;
  }

  /* S4 — Timeline */
  .timeline__step {
    grid-template-columns: 52px 1fr;
    gap: 0 20px;
    padding: 32px 0;
  }

  .timeline__line {
    left: 14px;
  }

  .timeline__dot {
    left: 9px;
    width: 9px;
    height: 9px;
  }

  .timeline__num {
    padding-left: 24px;
    font-size: 10px;
  }

  .timeline__content h3 {
    font-size: 1.125rem;
  }

  .timeline__content p {
    font-size: 0.875rem;
  }

  /* S5 — Promises */
  .promise-list li {
    font-size: 0.9375rem;
    gap: 16px;
    padding: 18px 0;
  }

  /* S6 — Areas */
  .area-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }

  .area-card {
    padding: 16px 18px;
  }

  .areas-note {
    font-size: 0.875rem;
    padding-top: 28px;
  }

  /* S7 — Risk */
  .risk-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .risk-item h3 {
    font-size: 1rem;
  }

  /* S8 — FAQ */
  .faq {
    margin-top: 40px;
  }

  .faq__item {
    padding: 28px 0;
  }

  .faq__q {
    font-size: 1.0625rem;
  }

  .faq__a p {
    font-size: 0.875rem;
  }

  /* S9 — CTA */
  .cta__p {
    font-size: 1.0625rem;
    margin-bottom: 40px;
  }

  .cta__btns {
    flex-direction: column;
    align-items: center;
    gap: 12px;
    margin-bottom: 40px;
  }

  .cta__btns .btn {
    width: 100%;
    max-width: 380px;
    text-align: center;
    white-space: normal;
  }

  .btn--lg {
    padding: 17px 28px;
    font-size: 12px;
  }

  .cta__foot {
    font-size: 0.75rem;
  }
}

/* =====================================================
   RESPONSIVE — Small mobile (≤480px)
   ===================================================== */
@media (max-width: 480px) {
  .hero__h1 {
    font-size: 2rem;
  }

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

  .sec {
    padding: 56px 20px;
  }

  .sec--cta {
    padding: 48px 20px;
  }
}
