/*
 * homepage.css — Move With Brent homepage template styles
 * Loaded only on template/template-homepage-custom.php
 * All selectors scoped to #swb-homepage to avoid Houzez conflicts.
 */

/* ── RESET & SHARED ──────────────────────────────────────────── */

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

.page-template-template-template-homepage-custom-php {
  background: var(--swb-light-grey);
}

#swb-homepage {
  font-family: var(--swb-sans);
  font-size: 15px;
  font-weight: 300;
  line-height: 24px;
  color: var(--swb-charcoal);
  overflow-x: hidden;
}

#swb-homepage h1,
#swb-homepage h2,
#swb-homepage h3,
#swb-homepage h4 {
  font-family: var(--swb-serif);
  font-weight: 400;
  margin: 0;
}

#swb-homepage a {
  text-decoration: none;
  color: var(--swb-gold);
  transition: color 0.2s;
}

#swb-homepage a:hover {
  color: var(--swb-gold-hover);
}

/* ── LAYOUT HELPERS ─────────────────────────────────────────── */

.swb-section {
  padding: 6rem 2rem;
}

.swb-container {
  max-width: 1210px;
  margin: 0 auto;
}

.swb-eyebrow {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--swb-gold);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.swb-eyebrow--line::before {
  content: '';
  display: block;
  width: 28px;
  height: 1px;
  background: var(--swb-gold);
  flex-shrink: 0;
}

.swb-section-title {
  font-size: clamp(1.8rem, 2.5vw, 2.6rem);
  color: var(--swb-charcoal);
  margin-bottom: 1.25rem;
  line-height: 1.2;
}

.swb-section-body {
  font-size: 1rem;
  color: var(--swb-mid-grey);
  font-weight: 300;
  line-height: 1.85;
  max-width: 580px;
}

.swb-section-body p + p {
  margin-top: 1rem;
}

/* ── BUTTONS ────────────────────────────────────────────────── */

.swb-btn-gold {
  display: inline-block;
  background: var(--swb-gold);
  color: #fff !important;
  border: none;
  padding: 0.85rem 2rem;
  font-family: var(--swb-sans);
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 3px;
  transition: background 0.2s;
  cursor: pointer;
}

.swb-btn-gold:hover {
  background: var(--swb-charcoal) !important;
  color: #fff !important;
}

.swb-btn-navy {
  display: inline-block;
  border: 1px solid var(--swb-navy);
  color: var(--swb-navy) !important;
  background: transparent;
  padding: 0.8rem 1.8rem;
  font-family: var(--swb-sans);
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 3px;
  transition: all 0.2s;
}

.swb-btn-navy:hover {
  background: var(--swb-navy) !important;
  color: #fff !important;
}

/* ── HERO ───────────────────────────────────────────────────── */

.swb-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: unset;
}

.swb-hero-left {
  background: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 5rem 4rem 5rem 5rem;
}

.swb-hero h1 {
  font-size: clamp(2.4rem, 3.5vw, 3.6rem);
  color: var(--swb-charcoal);
  line-height: 1.15;
  margin-bottom: 1.5rem;
  letter-spacing: -0.01em;
}

.swb-hero h1 em {
  font-style: italic;
  color: var(--swb-navy);
}

.swb-hero-sub {
  font-size: 1rem;
  color: var(--swb-mid-grey);
  font-weight: 300;
  line-height: 1.8;
  max-width: 440px;
  margin-bottom: 2.5rem;
}

.swb-hero-actions {
  display: flex;
  gap: 1rem;
  align-items: center;
  flex-wrap: wrap;
}

.swb-hero-stats {
  display: flex;
  gap: 2.5rem;
  margin-top: 3.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--swb-border);
}

.swb-stat-num {
  font-family: var(--swb-serif);
  font-size: 1.9rem;
  color: var(--swb-navy);
  line-height: 1;
  margin-bottom: 0.25rem;
}

.swb-stat-label {
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--swb-mid-grey);
}

.swb-hero-right {
  position: relative;
  overflow: hidden;
  max-height: 700px;
}

.swb-hero-photo-area {
  width: 100%;
  height: 100%;
  min-height: 500px;
  max-height: 700px;
  overflow: hidden;
}

.swb-hero-photo-area img {
  width: 100%;
  height: 100%;
  max-height: 700px;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.swb-hero-badge {
  position: absolute;
  bottom: 2.5rem;
  left: 0;
  background: #fff;
  border-left: 3px solid var(--swb-gold);
  padding: 1.1rem 1.4rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  max-width: 240px;
}

.swb-badge-label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--swb-mid-grey);
  margin-bottom: 0.3rem;
}

.swb-badge-val {
  font-family: var(--swb-serif);
  font-size: 1rem;
  color: var(--swb-charcoal);
  line-height: 1.5;
}

/* ── ABOUT ──────────────────────────────────────────────────── */

.swb-about {
  background: #fff;
}

.swb-about-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 5rem;
  align-items: center;
}

.swb-about-photo {
  aspect-ratio: 3 / 4;
  background: var(--swb-light-grey);
  border: 1px solid var(--swb-border);
  overflow: hidden;
  position: relative;
}

.swb-about-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 15%;
  display: block;
  position: absolute;
  top: 0;
  left: 0;
}

.swb-about-content .swb-section-body {
  max-width: 100%;
}

.swb-creds {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-top: 1.75rem;
}

.swb-cred {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 14px;
  color: var(--swb-charcoal);
}

.swb-cred-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--swb-gold);
  flex-shrink: 0;
  margin-top: 6px;
}

/* ── WHY ────────────────────────────────────────────────────── */

.swb-why {
  background: var(--swb-navy);
}

.swb-why .swb-eyebrow {
  color: var(--swb-gold-hover);
}

.swb-why .swb-section-title {
  color: #fff;
  max-width: 560px;
}

.swb-why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: 3.5rem;
  background: rgba(255, 255, 255, 0.06);
}

.swb-why-card {
  background: var(--swb-navy);
  padding: 2.25rem 2rem;
  border: 1px solid rgba(255, 255, 255, 0.07);
  transition: background 0.2s;
}

.swb-why-card:hover {
  background: #01306e;
}

.swb-why-num {
  font-family: var(--swb-serif);
  font-size: 2.5rem;
  color: rgba(255, 255, 255, 0.05);
  line-height: 1;
  margin-bottom: 1.25rem;
}

.swb-why-line {
  width: 28px;
  height: 2px;
  background: var(--swb-gold);
  margin-bottom: 1.1rem;
}

.swb-why-card h3 {
  font-family: var(--swb-serif);
  font-size: 1.15rem;
  color: #fff;
  margin-bottom: 0.65rem;
}

.swb-why-card p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.45);
  font-weight: 300;
  line-height: 1.75;
  margin: 0;
}

/* ── APPRAISAL / CONTACT ────────────────────────────────────── */

.swb-appraisal {
  background: var(--swb-light-grey);
}

.swb-appraisal-inner {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
}

.swb-appraisal-inner .swb-section-title {
  margin-left: auto;
  margin-right: auto;
}

.swb-appraisal-sub {
  font-size: 15px;
  color: var(--swb-mid-grey);
  font-weight: 300;
  margin-bottom: 2.5rem;
}

.swb-form-card {
  background: #fff;
  padding: 2.75rem;
  border: 1px solid var(--swb-border);
  border-radius: 3px;
  text-align: left;
}

.swb-form-card .gform_wrapper label,
.swb-form-card .gfield_label {
  font-size: 11px !important;
  font-weight: 500 !important;
  letter-spacing: 0.1em !important;
  text-transform: uppercase !important;
  color: var(--swb-charcoal) !important;
}

.swb-form-card input[type="text"],
.swb-form-card input[type="email"],
.swb-form-card input[type="tel"],
.swb-form-card select,
.swb-form-card textarea {
  border: 1px solid #ccc !important;
  border-radius: 3px !important;
  padding: 0.7rem 0.9rem !important;
  font-family: var(--swb-sans) !important;
  font-size: 14px !important;
  font-weight: 300 !important;
  color: var(--swb-charcoal) !important;
  width: 100% !important;
  transition: border-color 0.2s !important;
}

.swb-form-card input:focus,
.swb-form-card select:focus,
.swb-form-card textarea:focus {
  border-color: var(--swb-gold) !important;
  outline: none !important;
}

.swb-form-card textarea {
  min-height: 110px !important;
  resize: vertical !important;
}

.swb-form-card .gform_footer input[type="submit"],
.swb-form-card .gform_button {
  width: 100% !important;
  background: var(--swb-gold) !important;
  color: #fff !important;
  border: none !important;
  padding: 1rem !important;
  font-family: var(--swb-sans) !important;
  font-size: 15px !important;
  font-weight: 400 !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
  border-radius: 3px !important;
  cursor: pointer !important;
  transition: background 0.2s !important;
}

.swb-form-card .gform_footer input[type="submit"]:hover,
.swb-form-card .gform_button:hover {
  background: var(--swb-charcoal) !important;
}

/* ── ANIMATIONS ─────────────────────────────────────────────── */

@keyframes swbFadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}

.swb-fade-up { animation: swbFadeUp 0.65s ease forwards; }
.swb-d1 { animation-delay: 0.05s; opacity: 0; }
.swb-d2 { animation-delay: 0.2s;  opacity: 0; }
.swb-d3 { animation-delay: 0.35s; opacity: 0; }
.swb-d4 { animation-delay: 0.5s;  opacity: 0; }

/* ── RESPONSIVE ─────────────────────────────────────────────── */

@media (max-width: 900px) {
  .swb-hero { grid-template-columns: 1fr; }
  .swb-hero-right { display: none; }
  .swb-hero-left { padding: 4rem 2rem; }
  .swb-about-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .swb-about-photo { aspect-ratio: 4 / 3; }
  .swb-why-grid { grid-template-columns: 1fr 1fr; }
  .swb-section { padding: 5rem 2rem; }
  .swb-psrg-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .swb-psrg-cover { display: none; }
}

@media (max-width: 600px) {
  .swb-why-grid { grid-template-columns: 1fr; }
  .swb-section { padding: 4rem 1.25rem; }
  .swb-hero-left

  
  /* ── PSRG DOWNLOAD ──────────────────────────────────────────── */

.swb-psrg {
  background: var(--swb-light-grey);
}

.swb-psrg-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 5rem;
  align-items: center;
}

.swb-psrg-cover {
  display: flex;
  justify-content: center;
}

.swb-psrg-cover-inner {
  background: var(--swb-navy);
  width: 220px;
  padding: 2.5rem 2rem;
  border-left: 4px solid var(--swb-gold);
  box-shadow: 8px 8px 0 rgba(197,179,88,0.2);
}

.swb-psrg-cover-title {
  font-family: var(--swb-serif);
  font-size: 1.4rem;
  color: #fff;
  line-height: 1.3;
  margin-bottom: 2rem;
}

.swb-psrg-cover-logo {
  font-size: 1rem;
  color: var(--swb-gold);
  letter-spacing: 0.05em;
}