/*
=====================================================
MFHA About Page Styles v1.0
Optimized global CSS for About page HTML.
=====================================================
*/

html { scroll-behavior: smooth; }

.mfha-about-page,
.mfha-about-page * { box-sizing: border-box; }

.mfha-about-page {
  width: 100%;
  overflow: hidden;
  font-family: Arial, sans-serif;
  color: #0f172a;
}

.mfha-about-intro {
  position: relative;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  overflow: hidden;
  background: linear-gradient(105deg, #041442 0%, #0a215e 100%);
  padding: 70px 40px;
}

.mfha-about-intro::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("https://myfloridahomeappraisal.com/wp-content/uploads/2026/03/pattern-bg.webp");
  background-repeat: repeat;
  background-size: 280px;
  opacity: .05;
  pointer-events: none;
}

.mfha-about-intro::after {
  content: "";
  position: absolute;
  width: 520px;
  height: 520px;
  right: -160px;
  top: -170px;
  border-radius: 50%;
  background: rgba(216,177,109,.12);
  filter: blur(5px);
  pointer-events: none;
}

.mfha-about-intro-container {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
}

.mfha-about-intro-content {
  flex: 1;
  min-width: 0;
  max-width: 760px;
  position: relative;
  z-index: 3;
}

.mfha-about-eyebrow {
  display: inline-block;
  color: #d8b16d !important;
  font-size: 13px !important;
  font-weight: 800 !important;
  letter-spacing: 3px !important;
  text-transform: uppercase;
  margin-bottom: 12px !important;
}

.mfha-about-intro-content h1 {
  color: #ffffff !important;
  font-size: clamp(42px, 6vw, 76px) !important;
  line-height: 1.05 !important;
  font-weight: 900 !important;
  letter-spacing: -1px !important;
  margin: 0 0 10px !important;
}

.mfha-about-intro-content h2 {
  color: #d8b16d !important;
  font-size: clamp(19px, 3vw, 30px) !important;
  line-height: 1.3 !important;
  font-weight: 800 !important;
  margin: 0 0 18px !important;
}

.mfha-about-intro-content > p {
  color: rgba(255,255,255,.88) !important;
  font-size: 17px !important;
  line-height: 1.6 !important;
  margin: 0 !important;
  max-width: 700px;
}

.mfha-about-service-cards {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 12px !important;
  margin-top: 26px !important;
  max-width: 700px !important;
}

.mfha-about-service-card {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  min-height: 82px !important;
  background: rgba(255,255,255,.04) !important;
  border: 1px solid rgba(216,177,109,.25) !important;
  border-radius: 12px !important;
  padding: 10px 12px !important;
  transition: .2s ease !important;
}

.mfha-about-service-card:hover {
  transform: translateY(-1px) !important;
  border-color: rgba(216,177,109,.65) !important;
  background: rgba(255,255,255,.08) !important;
}

.mfha-about-card-icon {
  width: 36px !important;
  height: 36px !important;
  min-width: 36px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  border-radius: 10px !important;
  background: rgba(216,177,109,.10) !important;
}

.mfha-about-card-icon svg {
  width: 21px !important;
  height: 21px !important;
  stroke: #d8b16d !important;
  stroke-width: 1.5 !important;
  stroke-linecap: round !important;
  stroke-linejoin: round !important;
}

.mfha-about-service-card h3 {
  color: #ffffff !important;
  font-size: 16px !important;
  line-height: 1.2 !important;
  font-weight: 800 !important;
  margin: 0 0 4px 0 !important;
}

.mfha-about-service-card p {
  color: rgba(255,255,255,.68) !important;
  font-size: 10.5px !important;
  line-height: 1.25 !important;
  font-weight: 400 !important;
  margin: 0 !important;
}

.mfha-about-buttons,
.mfha-about-cta-button-wrap {
  display: flex;
  gap: 14px;
  margin-top: 26px;
  flex-wrap: wrap;
}

.mfha-about-btn-primary,
.mfha-about-btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none !important;
  min-height: 42px;
  padding: 0 26px;
  border-radius: 40px;
  font-size: 13px !important;
  font-weight: 800 !important;
  transition: .2s ease;
  white-space: nowrap;
}

.mfha-about-btn-primary {
  background: #d8b16d !important;
  color: #000000 !important;
  box-shadow: 0 6px 16px rgba(216,177,109,.25);
}

.mfha-about-btn-primary:hover {
  background: #e2bf80 !important;
  color: #000000 !important;
  transform: translateY(-1px);
}

.mfha-about-btn-secondary {
  border: 1.5px solid rgba(255,255,255,.35);
  color: #ffffff !important;
  background: transparent !important;
}

.mfha-about-btn-secondary:hover {
  border-color: #d8b16d;
  background: rgba(216,177,109,.08);
  transform: translateY(-1px);
}

.mfha-about-photo-wrapper {
  flex: 0 0 auto;
  width: clamp(315px, 31vw, 440px);
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  z-index: 2;
}

.mfha-about-photo-wrapper::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  max-width: 420px;
  max-height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(216,177,109,.24) 0%, transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  filter: blur(25px);
  z-index: 1;
  pointer-events: none;
}

.mfha-about-photo {
  position: relative;
  z-index: 2;
  width: 100%;
  height: auto;
  aspect-ratio: 340 / 480;
  object-fit: cover;
  object-position: center 20%;
  border-radius: 24px;
  display: block;
  outline: 3px solid #d8b16d;
  outline-offset: 4px;
  box-shadow: 0 25px 45px rgba(0,0,0,.4);
  transition: transform .3s ease;
}

.mfha-about-photo:hover { transform: scale(1.01); }

.mfha-about-profile {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  background: #ffffff;
  padding: 85px 32px;
}

.mfha-about-profile-container { max-width: 1180px; margin: 0 auto; }

.mfha-about-profile-heading {
  text-align: center;
  max-width: 880px;
  margin: 0 auto 38px;
}

.mfha-about-eyebrow-dark {
  display: inline-block;
  color: #b88432 !important;
  font-size: 13px !important;
  font-weight: 900 !important;
  letter-spacing: 3px !important;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.mfha-about-profile-heading h2 {
  color: #071b4d !important;
  font-size: clamp(34px, 4vw, 56px) !important;
  line-height: 1.08 !important;
  margin: 0 0 12px !important;
  font-weight: 900 !important;
}

.mfha-about-profile-heading h3 {
  color: #1f3c88 !important;
  font-size: clamp(20px, 2.5vw, 30px) !important;
  margin: 0 !important;
  font-weight: 800 !important;
}

.mfha-about-profile-content {
  max-width: 950px;
  margin: 0 auto;
  background: #f8fafc;
  border: 1px solid #e5e7eb;
  border-radius: 24px;
  padding: 34px;
  box-shadow: 0 18px 48px rgba(7,27,77,.08);
}

.mfha-about-profile-content p {
  color: #334155 !important;
  font-size: 17px !important;
  line-height: 1.75 !important;
  margin: 0 0 18px !important;
}

.mfha-about-profile-content p:last-child { margin-bottom: 0 !important; }

.mfha-about-stats {
  margin: 36px auto 0;
  max-width: 920px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.mfha-about-stat {
  text-align: center;
  background: #071b4d;
  color: #ffffff;
  border-radius: 20px;
  padding: 24px 18px;
  box-shadow: 0 14px 36px rgba(7,27,77,.16);
}

.mfha-about-stat strong {
  display: block;
  color: #d8b16d;
  font-size: 34px;
  line-height: 1;
  margin-bottom: 8px;
  font-weight: 900;
}

.mfha-about-stat span { font-size: 14px; font-weight: 800; }

.mfha-about-details {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  background: #f1f5f9;
  padding: 75px 32px;
}

.mfha-about-details-container {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.mfha-about-detail-box {
  background: #ffffff;
  border-radius: 22px;
  padding: 28px;
  border-top: 5px solid #d8b16d;
  box-shadow: 0 18px 44px rgba(7,27,77,.08);
}

.mfha-about-detail-box h3 {
  color: #071b4d !important;
  font-size: 24px !important;
  font-weight: 900 !important;
  margin: 0 0 18px !important;
}

.mfha-about-detail-box ul { margin: 0; padding-left: 20px; }

.mfha-about-detail-box li {
  color: #334155;
  font-size: 16px;
  line-height: 1.65;
  margin-bottom: 8px;
}

.mfha-about-cta {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  background: linear-gradient(105deg, #041442 0%, #0a215e 100%);
  padding: 85px 32px;
  position: relative;
  overflow: hidden;
}

.mfha-about-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("https://myfloridahomeappraisal.com/wp-content/uploads/2026/03/pattern-bg.webp");
  background-repeat: repeat;
  background-size: 280px;
  opacity: .05;
  pointer-events: none;
}

.mfha-about-cta-container {
  position: relative;
  z-index: 2;
  max-width: 1080px;
  margin: 0 auto;
  text-align: center;
}

.mfha-about-cta h2 {
  color: #ffffff !important;
  font-size: clamp(34px, 4vw, 56px) !important;
  line-height: 1.1 !important;
  font-weight: 900 !important;
  margin: 0 0 18px !important;
}

.mfha-about-cta p {
  color: rgba(255,255,255,.88) !important;
  font-size: 18px !important;
  line-height: 1.7 !important;
  max-width: 880px;
  margin: 0 auto 32px !important;
}

.mfha-about-contact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin: 30px 0;
}

.mfha-about-contact-grid div {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(216,177,109,.22);
  border-radius: 18px;
  padding: 18px 14px;
}

.mfha-about-contact-grid strong {
  display: block;
  color: #d8b16d;
  font-size: 13px;
  line-height: 1.35;
  margin-bottom: 7px;
  font-weight: 900;
}

.mfha-about-contact-grid a,
.mfha-about-contact-grid span {
  color: #ffffff !important;
  font-size: 14px;
  line-height: 1.35;
  font-weight: 700;
  text-decoration: none !important;
}

.mfha-about-cta-button-wrap { justify-content: center; margin-top: 26px; }

@media (max-width: 1100px) {
  .mfha-about-intro { padding: 58px 24px; }
  .mfha-about-intro-container { flex-direction: column; text-align: center; gap: 35px; }
  .mfha-about-intro-content { max-width: 100%; text-align: center; }
  .mfha-about-intro-content > p { margin-left: auto !important; margin-right: auto !important; max-width: 620px; }
  .mfha-about-service-cards { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; max-width: 700px !important; margin-left: auto !important; margin-right: auto !important; }
  .mfha-about-service-card { text-align: left !important; }
  .mfha-about-buttons { justify-content: center; }
  .mfha-about-photo-wrapper { width: 335px; }
  .mfha-about-contact-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 920px) {
  .mfha-about-details-container { grid-template-columns: 1fr; }
  .mfha-about-stats { grid-template-columns: 1fr; max-width: 420px; }
}

@media (max-width: 768px) {
  .mfha-about-intro { padding: 46px 18px; }
  .mfha-about-service-cards { grid-template-columns: 1fr !important; max-width: 380px !important; }
  .mfha-about-photo-wrapper { width: 285px; }
  .mfha-about-photo { outline-width: 2.5px; outline-offset: 3px; }
  .mfha-about-service-card h3 { font-size: 15px !important; }
  .mfha-about-service-card p { font-size: 10px !important; }
  .mfha-about-profile,
  .mfha-about-details,
  .mfha-about-cta { padding: 60px 20px; }
  .mfha-about-profile-content { padding: 24px 20px; border-radius: 18px; }
  .mfha-about-contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .mfha-about-photo-wrapper { width: 250px; }
  .mfha-about-service-card { padding: 8px 10px !important; }
  .mfha-about-card-icon { width: 32px !important; height: 32px !important; min-width: 32px !important; }
  .mfha-about-card-icon svg { width: 18px !important; height: 18px !important; }
  .mfha-about-btn-primary,
  .mfha-about-btn-secondary { width: 100%; white-space: normal; text-align: center; }
}
