/* ============================================================
   NAPIER REI — main.css  v4
   Clone of napierrei.com/qr  |  All bugs fixed
   ============================================================ */
:root {
  --black:   #000000;
  --white:   #ffffff;
  --orange:  #e8801f;
  --gold:    #fcb93d;
  --cream:   #f6f4f3;
  --font:    'Noto Sans', 'Open Sans', Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background-color: var(--black);
  color: var(--white);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
p { margin: 0 0 1em; }
h1,h2,h3,h4 { line-height: 1.15; margin: 0 0 .75em; }

.skip-link {
  position: absolute; top: -40px; left: 0;
  background: var(--orange); color: var(--white);
  padding: 8px 16px; z-index: 9999;
}
.skip-link:focus { top: 0; }

.container {
  width: 100%; max-width: 1100px;
  margin: 0 auto; padding: 0 20px;
}

/* ── HEADER ── */
.site-header {
  background-color: var(--black);
  width: 100%;
  text-align: center;
  padding: 14px 20px;
}
.brand-logo {
  max-width: 180px;
  width: 100%;
  margin: 0 auto;
  display: block;
}

/* ── CTA BUTTON ── */
.btn-cta {
  display: inline-block;
  background-color: var(--orange);
  color: var(--white);
  font-family: var(--font);
  font-size: 15px;
  font-weight: 700;
  padding: 16px 32px;
  border: 1px solid var(--white);
  cursor: pointer;
  text-align: center;
  line-height: 1.3;
  transition: background-color .2s;
  margin-top: 16px;
}
.btn-cta:hover { background-color: #c96a10; }
.btn-cta span {
  display: block;
  font-size: 12px;
  font-weight: 400;
  opacity: .85;
  margin-top: 2px;
}

/* ── SECTIONS ── */
.section { background-color: var(--black); padding: 60px 0; }
.section-dark { background-color: var(--black); padding: 60px 0; }
.section-dark-diamond { background-color: #0a0a0a; padding: 60px 0; }

/* ── HERO ── */
.hero {
  position: relative;
  background-color: var(--black);
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  padding: 60px 0 40px;
  overflow: hidden;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: rgba(0,0,0,0.45);
  pointer-events: none;
}
.hero-grid {
  position: relative; z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}
.eyebrow {
  font-size: 13px; font-weight: 700;
  letter-spacing: 2px; text-transform: uppercase;
  color: var(--white); margin-bottom: 12px; display: block;
}
.hero-copy h1 {
  font-size: clamp(26px, 4vw, 46px);
  font-weight: 900; color: var(--white);
  text-transform: uppercase; margin-bottom: 20px;
}
.hero-lede { font-size: 15px; color: var(--white); margin-bottom: 1em; }
.hero-collage { display: block; }
.hero-collage img { width: 100%; object-fit: contain; }

/* ── ABOUT ── */
.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px; align-items: start;
}
.about-copy h2 { font-size: clamp(22px,3vw,32px); color: var(--white); }
.divider { width: 60px; height: 3px; background: var(--orange); margin: 0 0 24px; }
.divider.center { margin: 0 auto 24px; }
.check-list li {
  padding: 6px 0 6px 26px; position: relative;
  color: var(--white); font-size: 15px;
}
.check-list li::before {
  content: '\2714'; position: absolute; left: 0;
  color: var(--orange); font-size: 13px;
}
.tagline-bold { font-weight: 700; color: var(--white); font-size: 15px; margin-top: 12px; }
.about-img img { width: 100%; object-fit: cover; }
.why-box {
  margin-top: 20px;
  padding: 16px 0;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.why-box h3 { font-size: 18px; color: var(--orange); margin-bottom: 10px; }

/* ── WHO I WORK WITH ── */
.who-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px; align-items: center;
}
.who-copy h2 {
  font-size: clamp(22px,3vw,36px);
  font-weight: 900; color: var(--white); text-transform: uppercase;
}
.section-sub { font-size: 15px; color: var(--white); margin-bottom: 16px; font-weight: 600; }
.icon-list li {
  padding: 8px 0;
  color: var(--white); font-size: 15px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.icon-list li:last-child { border-bottom: none; }
/* who-img: house photo with transparent bg — contain it properly */
.who-img {
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  max-height: 400px;
}
.who-img img {
  width: 100%;
  max-width: 400px;
  object-fit: contain;
  display: block;
}

/* ── POHM ADVANTAGE ── */
/* FIX: HTML uses section-pohm, CSS must match */
.section-pohm {
  background: linear-gradient(357deg, #fff 0%, #e8801f 14%, #fcb93d 100%);
  padding: 60px 0;
}
.pohm-grid {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 40px; align-items: center;
}
.pohm-logo img { max-width: 120px; width: 100%; }
.pohm-copy h2 {
  font-size: clamp(22px,3vw,36px);
  font-weight: 900; color: var(--black); text-transform: uppercase; margin-bottom: 16px;
}
.pohm-copy p { font-size: 15px; color: var(--black); line-height: 1.8; }

/* ── WHY WORK WITH US ── */
.section-dark-bg {
  position: relative;
  background-color: var(--black);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 60px 0; overflow: hidden;
}
.dark-overlay {
  position: absolute; inset: 0;
  background: rgba(0,0,0,0.65);
  pointer-events: none;
}
.why-container { position: relative; z-index: 1; }
.why-container h2 {
  font-size: clamp(24px,3vw,40px);
  font-weight: 900; color: var(--white);
  margin-bottom: 24px; text-align: center; text-transform: uppercase;
}
.icon-list-lg li {
  padding: 10px 0;
  font-size: 16px; font-weight: 600; color: var(--white);
}
.noise-tagline {
  text-align: center; margin-top: 32px;
  font-size: 15px; color: var(--white); line-height: 2;
}

/* ── LET'S BE CLEAR ── */
.clear-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px; align-items: start;
}
.clear-copy h2 {
  font-size: clamp(22px,3vw,34px);
  font-weight: 900; color: var(--white); margin-bottom: 16px;
}
.clear-img {
  overflow: hidden;
  max-height: 480px;
}
.clear-img img { width: 100%; height: 100%; object-fit: cover; }
.goal-box {
  border-left: 4px solid var(--orange);
  padding: 16px 20px; margin-top: 24px;
  background: rgba(255,255,255,0.04);
}
.goal-box h3 { font-size: 18px; color: var(--white); margin-bottom: 8px; }
.goal-box p { font-size: 15px; color: var(--white); line-height: 1.8; }
.no-fluff { font-weight: 700; margin-top: 8px; }

/* ── RECENT DEALS ── */
.section-title-center {
  text-align: center;
  font-size: clamp(22px,3vw,36px);
  font-weight: 900; color: var(--white); text-transform: uppercase; margin-bottom: 8px;
}
.deals-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px; margin-top: 32px;
}
.deal-card { background: #111; overflow: hidden; border-radius: 2px; }
.deal-imgs { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
.deal-imgs img { width: 100%; height: 140px; object-fit: cover; }
.deal-card h3 { font-size: 17px; color: var(--white); padding: 16px 16px 6px; margin: 0; }
.deal-card p { font-size: 14px; color: #ccc; padding: 0 16px 8px; margin: 0; line-height: 1.6; }
.profit-tag { font-weight: 700; color: #4caf50 !important; font-style: italic; padding-bottom: 16px !important; }

/* ── BOOK / CONTACT ── */
.book-container { max-width: 860px; margin: 0 auto; text-align: center; }
.section-lede-center { color: var(--white); font-size: 15px; max-width: 600px; margin: 0 auto 32px; }
.contact-row {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: stretch;
  gap: 20px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}
.contact-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.15);
  padding: 24px 20px;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 8px; text-align: center;
  min-width: 200px;
  flex: 1;
  max-width: 280px;
}
.contact-icon { font-size: 1.6rem; }
.contact-card strong { color: var(--white); font-size: 13px; letter-spacing: .05em; text-transform: uppercase; }
.contact-card a { color: var(--orange); font-size: 16px; font-weight: 600; }
.contact-card .btn-cta { margin-top: 0; width: 100%; }

/* ── CALENDAR — white background so iframe renders correctly ── */
.calendar-wrap {
  background: #ffffff;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 16px;
  padding: 4px;
}
.calendar-wrap iframe {
  width: 100%;
  min-height: 600px;
  border: none;
  display: block;
  background: #ffffff;
}
.calendar-fallback { font-size: 13px; color: #888; text-align: center; margin-top: 8px; }
.calendar-fallback a { color: var(--orange); }

/* ── MAP ── */
.map-wrap { max-width: 700px; margin: 24px auto 0; }
.map-wrap img { width: 100%; }
.map-cta { text-align: center; margin-top: 24px; }

/* ── FOOTER ── */
.site-footer {
  background-color: var(--black);
  border-top: 1px solid #222;
  padding: 32px 20px; text-align: center;
}
.footer-inner { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.footer-logo { max-width: 140px; margin: 0 auto; }
.footer-copy { font-size: 13px; color: #888; }
.footer-copy a { color: var(--orange); }

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .hero-grid, .about-grid, .who-grid,
  .pohm-grid, .clear-grid { grid-template-columns: 1fr; gap: 24px; }
  .deals-grid { grid-template-columns: 1fr; }
  .contact-row { flex-direction: column; align-items: center; }
  .contact-card { max-width: 100%; width: 100%; }
  .pohm-grid { text-align: center; }
  .pohm-logo img { margin: 0 auto; }
  .brand-logo { max-width: 160px; }
  .who-img { max-height: 280px; }
  .clear-img { max-height: 300px; }
  .calendar-wrap iframe { min-height: 500px; }
}
@media (max-width: 480px) {
  .hero { padding: 32px 0 24px; }
  .section, .section-dark, .section-dark-diamond, .section-pohm, .section-dark-bg { padding: 40px 0; }
  .hero-copy h1 { font-size: 22px; }
  .btn-cta { padding: 14px 24px; font-size: 14px; }
  .deal-imgs img { height: 100px; }
  .brand-logo { max-width: 140px; }
}
