/**
 * About page ("About Modern" design)
 * Loaded only on template-about.php (see functions/functions-about.php).
 * All rules are scoped under .about-page so nothing leaks to other pages.
 * Ported from the design's inline styles; colors match the theme brand
 * tokens, typography uses the site fonts (Big Caslon / Gotham).
 *
 * @format
 */

.about-page {
  --about-green: #284734;
  --about-gold: #c69214;
  --about-gold-lt: #e0b24a;
  --about-gold-dk: #a67910;
  --about-cream: #f7f5ef;
  padding: 0;
  background: #ffffff;
  color: #2c2c2c;
  font-family: var(--body-font-family, 'Gotham', sans-serif);
}

/* ---- Shared layout ---- */
.about-page .about-wrap {
  max-width: 1366px;
  margin: 0 auto;
  padding: 0px 40px;
}
.about-page section {
  padding: 84px 0;
}

/* ---- Shared type ---- */
.about-page .about-heading {
  font-family: var(--heading-font-family, 'Big Caslon', serif);
  color: var(--about-green);
  font-weight: 500;
  margin: 0;
}
.about-page .about-heading--lg {
  font-size: 55px;
  line-height: 66px;
  font-weight: 400;
}
.about-page .about-subheading {
  font-family: var(--heading-font-family, 'Big Caslon', serif);
  color: var(--about-green);
  font-weight: 700;
  margin: 0;
}
.about-page .about-rule {
  display: block;
  width: 60px;
  height: 3px;
  background: var(--about-gold);
  margin: 18px auto 0;
}
.about-page .about-rule--left {
  width: 54px;
  margin: 0 0 22px;
}
.about-page .about-section-head {
  text-align: center;
  margin-bottom: 56px;
}

/* ---- Buttons ---- */
.about-page .about-btn {
  display: inline-block;
  background: var(--about-gold);
  color: #fff;
  font-size: 16px;
  line-height: 19px;
  font-weight: 600;
  padding: 16px 20px;
  border-radius: 2px;
  text-decoration: none;
  transition: background 0.2s ease;
}
.about-page .about-btn:hover,
.about-page .about-btn:focus {
  background: var(--about-green);
  color: #fff;
}
.about-page .about-btn--sm {
  font-size: 11px;
  letter-spacing: 0.06em;
  padding: 11px 22px;
}

/* ---- Icon circle ---- */
.about-page .about-icon-circle {
  width: 74px;
  height: 74px;
  border: 1.5px solid var(--about-gold);
  border-radius: 50%;
  margin: 0 auto 22px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.about-page .about-icon-circle--sm {
  width: 56px;
  height: 56px;
  margin: 0;
}

/* =================== INTRO =================== */
.about-page .about-intro {
  padding: 90px 0;
}
.about-page .about-intro-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 70px;
  align-items: center;
}
.about-page .about-intro-heading {
  font-size: 60px;
  line-height: 72px;
  margin: 0 0 28px;
}
.about-page .about-intro-copy p {
  font-size: 1rem;
  color: #284734;
  line-height: 30px;
  margin: 0 0 20px;
}
.about-page .about-intro-copy p:last-child {
  margin-bottom: 34px;
}
.about-page .about-intro-media {
  position: relative;
  padding-bottom: 24px;
}
.about-page .about-intro-img-large {
  display: block;
  width: 100%;
  height: 380px;
  object-fit: cover;
  border-radius: 3px;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.18);
}
.about-page .about-intro-img-small {
  position: absolute;
  left: -34px;
  bottom: 44px;
  width: 150px;
  height: 180px;
  object-fit: cover;
  border: 6px solid #fff;
  border-radius: 3px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
}
.about-page .about-badge {
  position: absolute;
  left: -34px;
  bottom: -24px;
  background: var(--about-green);
  color: #fff;
  padding: 20px 26px;
  border-radius: 3px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.22);
}
.about-page .about-badge-number {
  font-family: var(--heading-font-family, 'Big Caslon', serif);
  font-size: 38px;
  line-height: 1;
  color: var(--about-gold-lt);
}
.about-page .about-badge-label {
  font-size: 10px;
  letter-spacing: 0.16em;
  font-weight: 600;
  margin: 4px 0 8px;
}
.about-page .about-badge-caption {
  font-size: 11px;
  line-height: 1.5;
  color: #d8d5c9;
  max-width: 150px;
}

/* =================== WHY CHOOSE =================== */
.about-page .about-why {
  background: var(--about-cream);
}
.about-page .about-why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 36px;
}
.about-page .about-why-card {
  text-align: center;
}
.about-page .about-why-card .about-subheading {
  font-size: 20px;
  font-weight: 500;
  font-family: var(--body-font-family, 'Gotham', sans-serif);
  margin: 0 0 12px;
}
.about-page .about-why-desc {
  font-size: 16px;
  font-weight: 400;
  font-family: var(--body-font-family, 'Gotham', sans-serif);
  line-height: 30px;
  color: #284734;
  margin: 0;
}

/* =================== ESTATE SERVICES =================== */
.about-page .about-estate-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 60px;
  align-items: start;
}
.about-page .about-estate-heading {
    font-size: 55px;
    line-height: 66px;
}
.about-page .about-estate-text {
  font-size: 18px;
  line-height: 30px;
  font-weight: 400;
  color: #284734;
  margin: 0;
}
.about-page .about-estate-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 15px;
}
.about-page .about-svc {
  background: var(--about-green);
  border-radius: 3px;
  overflow: hidden;
}
.about-page .about-svc summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 16px 18px;
  color: #f4f1e9;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.03em;
  outline: none;
}
.about-page .about-svc summary::-webkit-details-marker {
  display: none;
}
.about-page .about-svc-plus {
  color: var(--about-gold-lt);
  font-size: 20px;
  line-height: 1;
  transition: transform 0.2s ease;
}
.about-page .about-svc[open] .about-svc-plus {
  transform: rotate(45deg);
}
.about-page .about-svc-desc {
  margin: 0;
  padding: 0 18px 16px;
  color: #fff;
  font-size: 15px;
  line-height: 1.6;
}
.about-page .about-svc-desc p {
    color: #fff;
    font-size: 15px;
    line-height: 1.6;
}
/* =================== BUSINESS SERVICES =================== */
.about-page .about-business {
  background: var(--about-cream);
}

.about-page .about-business-heading {
  font-size: 55px;
  line-height: 66px;
  font-weight: 400;
  margin: 0 0 20px;
}
.about-page .about-business-text {
  font-size: 16px;
  line-height: 30px;
  font-weight: 400;
  color: #284734;
  margin: 0 0 30px;
  width: 100% !important;
}

.about-page .about-business-label {
  text-align: center;
}
.about-page .about-label-rule {
  display: block;
  height: 1px;
  background: #e0dccf;
  margin-bottom: 14px;
}
.about-page .about-label-text {
  display: block;
  font-size: 16px;
  font-weight: 600;
  color: var(--about-green);
  line-height: 1.4;
}

/* =================== LOCATIONS =================== */
.about-page .about-locations .about-section-head {
  margin-bottom: 0;
}
.about-page .about-locations-intro {
  font-size: 16px;
  color: #6a6a6a;
  margin: 14px 0 0;
}
.about-page .about-locations-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr) 1.1fr;
  gap: 22px;
  margin-top: 48px;
  align-items: stretch;
}
.about-page .about-office-card {
  border: 1px solid #e7e3d8;
  border-radius: 3px;
  padding: 30px 24px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.about-page .about-office-name {
  font-size: 20px;
  font-family: var(--body-font-family, 'Gotham', sans-serif);
  line-height: 24px;
  font-weight: 500;
}

.about-page .about-quote-card {
  background: var(--about-green);
  border-radius: 3px;
  padding: 32px 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.about-page .about-quote-mark {
  font-family: var(--heading-font-family, 'Big Caslon', serif);
  font-size: 52px;
  line-height: 0.6;
  color: var(--about-gold-lt);
}
.about-page .about-quote-text {
  font-size: 15px;
  line-height: 1.7;
  color: #eae7dc;
  margin: 0;
}

/* =================== STATS =================== */
.about-page .about-stats {
  background: var(--about-cream);
  padding: 76px 0;
}
.about-page .about-stats .about-section-head {
  margin-bottom: 52px;
}
.about-page .about-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  text-align: center;
}
.about-page .about-stat-number {
  font-family: var(--heading-font-family, 'Big Caslon', serif);
  font-size: 52px;
  line-height: 1;
  color: var(--about-gold);
}
.about-page .about-stat-label {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--about-green);
  margin: 8px 0 10px;
}
.about-page .about-stat-caption {
  font-size: 18px;
  line-height: 29px;
  color: #284734;
  font-family: var(--body-font-family, 'Gotham', sans-serif);
  margin: 0;
}

/* =================== CTA =================== */
.about-page .about-cta {
  position: relative;
  background: #708573;
  padding: 56px 0;
  overflow: hidden;
}
.about-page .about-cta-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.12;
}
.about-page .about-cta-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}
.about-page .about-cta-left {
  display: flex;
  align-items: flex-start;
  gap: 26px;
}
.about-page .about-cta-icon {
    flex: none;
    line-height: 0;
    padding-top: 10px;
}
.about-page .about-cta-heading {
    color: #fff;
    margin-bottom: 20px;
}
.about-page .about-cta-text, .about-page .about-cta-text p {
  color: #fff;
}
.about-page .about-cta-text a {
    color: #fff;
}
.about-estate-text p:last-child {
    margin: 0;
}
.about-cta-text {
    margin-bottom: 20px;
}
.about-page .about-cta .about-btn {
  flex: none;
}

/* =================== RESPONSIVE =================== */
@media screen and (max-width: 1024px) {
  .about-page .about-intro-grid,
  .about-page .about-estate-grid,
  .about-page .about-business-grid {
    grid-template-columns: 1fr;
    gap: 44px;
  }
  .about-page .about-why-grid,
  .about-page .about-stats-grid,
  .about-page .about-locations-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px 28px;
  }
  .about-page .about-intro-heading {
    font-size: 38px;
  }
}

@media screen and (max-width: 767px) {
  .about-page .about-wrap {
    padding: 0 22px;
  }
  .about-page .about-intro,
  .about-page .about-stats {
    padding: 56px 0;
  }
  .about-page .about-why,
  .about-page .about-estate,
  .about-page .about-business,
  .about-page .about-locations {
    padding: 60px 0;
  }
  .about-page .about-cta {
    padding: 44px 0;
  }
  .about-page .about-estate-list {
    grid-template-columns: 1fr;
  }
  .about-page .about-business-labels {
    grid-template-columns: repeat(2, 1fr);
  }
  .about-page .about-cta-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 26px;
  }
  .about-page .about-intro-heading {
    font-size: 28px;
            line-height: 1.4
  }
  .about-page .about-heading--lg {
    font-size: 28px;
            line-height: 1.4
  }
  .about-page .about-estate-heading {
    font-size: 28px;
    line-height: 1.4
  }
  .about-page .about-business-heading {
    font-size: 28px;
            line-height: 1.4
  }
  .about-page .about-cta-heading {
    font-size: 28px;
    line-height: 1.4;
}
}

@media screen and (max-width: 560px) {
  .about-page .about-why-grid,
  .about-page .about-stats-grid,
  .about-page .about-locations-grid {
    grid-template-columns: 1fr;
  }
  .about-page .about-business-labels {
    grid-template-columns: 1fr;
  }
  .about-page .about-intro-img-small,
  .about-page .about-badge {
    left: 0;
  }
}
