/* ================================================================
   PAGES.CSS — interior page styles for Apex Construxive
   ================================================================ */

/* ---------- active nav link ---------- */
.menu a.is-current { color: var(--red); border-bottom: 2px solid var(--red); }

/* ================================================================
   PAGE HERO — compact title slab
   ================================================================ */
.pg-hero {
  background: var(--bone);
  color: var(--black);
  padding: clamp(3rem, 6vw, 5rem) var(--pad-x) clamp(2rem, 4vw, 3rem);
  border-bottom: 3px solid var(--black);
}
.pg-hero--dark {
  background: var(--black);
  color: var(--bone);
  border-bottom-color: var(--bone);
}
.pg-hero--red {
  background: var(--red);
  color: var(--bone);
  border-bottom-color: var(--black);
}
.pg-hero__title {
  font-size: clamp(3rem, 8vw, 7rem);
  line-height: 0.85;
}
.pg-hero__sub {
  font-family: var(--f-body);
  font-size: 1.1rem;
  font-weight: 500;
  margin-top: 2rem;
  max-width: 48ch;
  color: inherit;
  opacity: 0.8;
}

/* ================================================================
   SERVICE DETAIL — full-width alternating slabs
   ================================================================ */
.svc-detail {
  background: var(--bone);
  color: var(--black);
  border-bottom: 2px solid var(--black);
}
.svc-detail--alt {
  background: var(--black);
  color: var(--bone);
}
.svc-detail__inner {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 0;
}
.svc-detail--alt .svc-detail__inner {
  direction: rtl;
}
.svc-detail--alt .svc-detail__inner > * {
  direction: ltr;
}
.svc-detail__img {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--black);
  border-right: 2px solid var(--black);
}
.svc-detail--alt .svc-detail__img {
  border-right: 0;
  border-left: 2px solid var(--bone);
}
.svc-detail__img img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.svc-detail__img--ph {
  display: grid;
  place-items: center;
  background: repeating-linear-gradient(135deg, #181513 0 14px, #0c0c0c 14px 28px);
  color: rgba(245,243,238,0.4);
  font-family: var(--f-display);
  font-size: 0.95rem;
  letter-spacing: 0.16em;
  text-align: center;
  line-height: 1.6;
}
.svc-detail__body {
  padding: clamp(2rem, 5vw, 4rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.5rem;
}
.svc-detail__name {
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 0.92;
}
.svc-detail--alt .svc-detail__name { color: var(--bone); }
.svc-detail__desc {
  font-family: var(--f-body);
  font-size: 1.05rem;
  font-weight: 500;
  line-height: 1.55;
  max-width: 52ch;
}
.svc-detail--alt .svc-detail__desc { color: rgba(245,243,238,0.8); }
.svc-detail__scope {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  border-top: 1px solid currentColor;
  padding-top: 1.25rem;
}
.svc-detail--alt .svc-detail__scope { border-color: rgba(245,243,238,0.3); }
.svc-detail__scope li {
  font-family: var(--f-display);
  font-size: 1.05rem;
  letter-spacing: 0.04em;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.svc-detail__scope li::before {
  content: "";
  width: 18px;
  height: 2px;
  background: var(--red);
  flex-shrink: 0;
}
.svc-detail__cta {
  font-family: var(--f-display);
  font-size: 1.1rem;
  letter-spacing: 0.08em;
  color: var(--red);
  display: inline-block;
  border-bottom: 2px solid var(--red);
  padding-bottom: 4px;
  width: max-content;
  transition: color 0.3s ease, border-color 0.3s ease;
}
.svc-detail__cta:hover { color: var(--bone); border-color: var(--bone); }
.svc-detail .svc-detail__cta:hover { color: var(--black); border-color: var(--black); }

@media (max-width: 760px) {
  .svc-detail__inner { grid-template-columns: 1fr; }
  .svc-detail--alt .svc-detail__inner { direction: ltr; }
  .svc-detail__img { border-right: 0; border-bottom: 2px solid var(--black); }
  .svc-detail--alt .svc-detail__img { border-left: 0; border-bottom: 2px solid var(--bone); }
  .svc-detail__body { padding: 2rem var(--pad-x); }
}

/* ================================================================
   COMPACT CTA — smaller version for interior pages
   ================================================================ */
.call--compact {
  padding: clamp(3rem, 7vw, 6rem) var(--pad-x);
}
.call--compact .call__title {
  font-size: clamp(2.5rem, 6vw, 5rem);
}

/* ================================================================
   GALLERY — masonry-ish grid
   ================================================================ */
.gallery {
  background: var(--black);
  color: var(--bone);
  padding: clamp(2rem, 5vw, 4rem) var(--pad-x);
}
.gallery__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3px;
}
.gallery__item {
  position: relative;
  overflow: hidden;
}
.gallery__item--wide {
  grid-column: span 2;
}
.gallery__img {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--black-2);
}
.gallery__item--wide .gallery__img {
  aspect-ratio: 16 / 7;
}
.gallery__img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.gallery__item:hover .gallery__img img { transform: scale(1.05); }
.gallery__img--ph {
  display: grid;
  place-items: center;
  background: repeating-linear-gradient(135deg, #1a1a1a 0 16px, #0c0c0c 16px 32px);
  color: rgba(245,243,238,0.4);
  font-family: var(--f-display);
  font-size: 0.85rem;
  letter-spacing: 0.14em;
  text-align: center;
  line-height: 1.6;
}
.gallery__meta {
  display: flex;
  justify-content: space-between;
  padding: 0.65rem 0.85rem;
  font-family: var(--f-display);
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  color: rgba(245,243,238,0.65);
  background: var(--black-2);
  border-top: 2px solid var(--red);
}
@media (max-width: 900px) {
  .gallery__grid { grid-template-columns: repeat(2, 1fr); }
  .gallery__item--wide { grid-column: span 2; }
}
@media (max-width: 560px) {
  .gallery__grid { grid-template-columns: 1fr; }
  .gallery__item--wide { grid-column: span 1; }
  .gallery__item--wide .gallery__img { aspect-ratio: 4 / 3; }
}

/* ================================================================
   ABOUT — bio + values + quote
   ================================================================ */
.about-bio {
  background: var(--bone);
  color: var(--black);
  padding: var(--pad-y) var(--pad-x);
}
.about-bio__inner {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 0;
  border: 3px solid var(--black);
}
.about-bio__portrait {
  aspect-ratio: 4 / 5;
  background: var(--bone-2);
  border-right: 3px solid var(--black);
  overflow: hidden;
}
.about-bio__portrait img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center top;
}
.about-bio__portrait--ph {
  display: grid;
  place-items: center;
  background: repeating-linear-gradient(45deg, var(--bone-2) 0 14px, #d6d2c5 14px 28px);
  font-family: var(--f-display);
  font-size: 0.95rem;
  letter-spacing: 0.16em;
  color: var(--black-2);
  text-align: center;
  line-height: 1.6;
}
.about-bio__body {
  padding: clamp(2rem, 5vw, 3.5rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.5rem;
}
.about-bio__name {
  font-size: clamp(2.5rem, 6vw, 5.5rem);
  line-height: 0.85;
}
.about-bio__role {
  font-family: var(--f-display);
  font-size: 1rem;
  letter-spacing: 0.16em;
  color: var(--red);
}
.about-bio__text {
  font-family: var(--f-body);
  font-size: 1.05rem;
  font-weight: 500;
  line-height: 1.6;
  max-width: 52ch;
  color: var(--black-2);
}
@media (max-width: 760px) {
  .about-bio__inner { grid-template-columns: 1fr; }
  .about-bio__portrait { border-right: 0; border-bottom: 3px solid var(--black); aspect-ratio: 4 / 3; }
}

.about-values {
  background: var(--black);
  color: var(--bone);
  padding: var(--pad-y) var(--pad-x);
}
.about-values__title {
  font-size: clamp(2.5rem, 6vw, 5rem);
  line-height: 0.88;
  margin-bottom: clamp(2rem, 4vw, 3rem);
  border-bottom: 3px solid var(--bone);
  padding-bottom: 2rem;
}
.about-values__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 2px solid var(--bone);
  border-left: 2px solid var(--bone);
}
.about-values__item {
  padding: 2rem 1.75rem;
  border-right: 2px solid var(--bone);
  border-bottom: 2px solid var(--bone);
}
.about-values__item h3 {
  font-family: var(--f-display);
  font-size: 1.5rem;
  letter-spacing: 0.04em;
  margin-bottom: 0.75rem;
  color: var(--bone);
}
.about-values__item p {
  font-family: var(--f-body);
  font-size: 0.95rem;
  font-weight: 500;
  color: rgba(245,243,238,0.75);
  line-height: 1.5;
}
@media (max-width: 900px) { .about-values__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .about-values__grid { grid-template-columns: 1fr; } }

.about-quote {
  background: var(--red);
  color: var(--bone);
  padding: clamp(4rem, 10vw, 8rem) var(--pad-x);
  text-align: center;
}
.about-quote blockquote {
  font-family: var(--f-display);
  font-size: clamp(1.5rem, 4vw, 3.5rem);
  line-height: 1.05;
  max-width: 28ch;
  margin: 0 auto 1.5rem;
}
.about-quote cite {
  font-family: var(--f-display);
  font-size: 0.95rem;
  letter-spacing: 0.16em;
  font-style: normal;
  color: var(--bone);
  opacity: 0.8;
}

/* ================================================================
   CONTACT — split layout
   ================================================================ */
.contact {
  background: var(--bone);
  color: var(--black);
  padding: var(--pad-y) var(--pad-x);
}
.contact__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
}
.contact__phone {
  display: block;
  font-family: var(--f-display);
  font-size: clamp(2.5rem, 6vw, 5rem);
  line-height: 0.9;
  color: var(--black);
  border-bottom: 4px solid var(--black);
  padding-bottom: 0.5rem;
  width: max-content;
  max-width: 100%;
  margin-bottom: 0.5rem;
}
.contact__phone:hover { color: var(--red); border-color: var(--red); }

.contact__rows {
  display: flex;
  flex-direction: column;
  margin-top: 3rem;
  border-top: 2px solid var(--black);
}
.contact__row {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 1.25rem;
  padding: 1.1rem 0;
  border-bottom: 2px solid var(--black);
  align-items: baseline;
  font-family: var(--f-display);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.contact__row > span:first-child {
  font-size: 0.85rem;
  letter-spacing: 0.16em;
  color: var(--red);
}
.contact__row a, .contact__row p {
  font-size: 1rem;
  color: var(--black);
}
.contact__row a:hover { color: var(--red); }

.contact__right {
  border: 3px solid var(--black);
  padding: 2.5rem;
}
.contact__form-title {
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  margin-bottom: 2rem;
  border-bottom: 3px solid var(--black);
  padding-bottom: 1.25rem;
}
.contact__form-ph {
  display: grid;
  place-items: center;
  min-height: 300px;
  background: repeating-linear-gradient(45deg, var(--bone-2) 0 14px, var(--bone) 14px 28px);
  border: 2px dashed var(--black);
  font-family: var(--f-display);
  font-size: 1.1rem;
  letter-spacing: 0.14em;
  text-align: center;
  line-height: 1.6;
  padding: 2rem;
}
.contact__form-ph p {
  font-family: var(--f-body);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--black-2);
  margin-top: 0.5rem;
}

@media (max-width: 760px) {
  .contact__inner { grid-template-columns: 1fr; }
}

/* ================================================================
   CONTACT SERVICE AREA — compact city list
   ================================================================ */
.contact-service-area {
  background: var(--black);
  color: var(--bone);
  padding: var(--pad-y) var(--pad-x);
}
.contact-service-area__title {
  font-size: clamp(2rem, 6vw, 5rem);
  line-height: 0.9;
  margin-bottom: 1.5rem;
}
.contact-service-area__sub {
  font-family: var(--f-body);
  font-size: 1.05rem;
  font-weight: 500;
  color: rgba(245,243,238,0.7);
  margin-bottom: 3rem;
}
.contact-service-area__cities {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  font-family: var(--f-display);
  font-size: clamp(1.1rem, 2vw, 1.6rem);
  letter-spacing: 0.06em;
}
.contact-service-area__cities li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.contact-service-area__cities li::before {
  content: "→";
  color: var(--red);
  font-size: 0.85em;
}

/* ================================================================
   PROPERTY MANAGERS — pitch + scopes + process
   ================================================================ */
.pm-pitch {
  background: var(--bone);
  color: var(--black);
  padding: var(--pad-y) var(--pad-x);
}
.pm-pitch__inner { max-width: 760px; }
.pm-pitch__title {
  font-size: clamp(2.5rem, 7vw, 6rem);
  line-height: 0.88;
  margin-bottom: 2.5rem;
}
.pm-pitch__title-cut {
  display: inline-block;
  background: var(--black);
  color: var(--bone);
  padding: 0.05em 0.3em 0.1em;
}
.pm-pitch__copy {
  font-family: var(--f-body);
  font-size: 1.1rem;
  font-weight: 500;
  line-height: 1.6;
  max-width: 60ch;
  color: var(--black-2);
  margin-bottom: 1.5rem;
}

.pm-scopes {
  background: var(--black);
  color: var(--bone);
  padding: var(--pad-y) var(--pad-x);
}
.pm-scopes__title {
  font-size: clamp(3rem, 9vw, 8rem);
  line-height: 0.85;
  margin-bottom: clamp(3rem, 6vw, 5rem);
  border-bottom: 3px solid var(--bone);
  padding-bottom: 2rem;
}
.pm-scopes__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border-top: 2px solid var(--bone);
  border-left: 2px solid var(--bone);
}
.pm-scopes__item {
  padding: 2.25rem 2rem;
  border-right: 2px solid var(--bone);
  border-bottom: 2px solid var(--bone);
}
.pm-scopes__item h3 {
  font-family: var(--f-display);
  font-size: 1.6rem;
  letter-spacing: 0.04em;
  margin-bottom: 0.85rem;
  color: var(--bone);
}
.pm-scopes__item > p {
  font-family: var(--f-body);
  font-size: 0.95rem;
  font-weight: 500;
  color: rgba(245,243,238,0.75);
  line-height: 1.5;
  margin-bottom: 1.25rem;
}
.pm-scopes__item ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  border-top: 1px solid rgba(245,243,238,0.2);
  padding-top: 1rem;
}
.pm-scopes__item li {
  font-family: var(--f-display);
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  display: flex;
  align-items: center;
  gap: 0.65rem;
}
.pm-scopes__item li::before {
  content: "";
  width: 14px; height: 2px;
  background: var(--red);
  flex-shrink: 0;
}
@media (max-width: 640px) {
  .pm-scopes__grid { grid-template-columns: 1fr; }
}

.pm-process {
  background: var(--bone);
  color: var(--black);
  padding: var(--pad-y) var(--pad-x);
}
.pm-process__title {
  font-size: clamp(3rem, 9vw, 8rem);
  line-height: 0.85;
  margin-bottom: clamp(3rem, 6vw, 5rem);
  border-bottom: 4px solid var(--black);
  padding-bottom: 2rem;
}
.pm-process__steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 2px solid var(--black);
  border-left: 2px solid var(--black);
}
.pm-process__step {
  padding: 2rem 1.5rem;
  border-right: 2px solid var(--black);
  border-bottom: 2px solid var(--black);
}
.pm-process__step h3 {
  font-family: var(--f-display);
  font-size: 1.5rem;
  letter-spacing: 0.04em;
  margin-bottom: 0.75rem;
}
.pm-process__step p {
  font-family: var(--f-body);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--black-2);
  line-height: 1.5;
}
@media (max-width: 900px) { .pm-process__steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .pm-process__steps { grid-template-columns: 1fr; } }

/* ================================================================
   SERVICE AREA — intro + city cards
   ================================================================ */
.sa-intro {
  background: var(--bone);
  color: var(--black);
  padding: var(--pad-y) var(--pad-x);
}
.sa-intro__inner { max-width: 760px; }
.sa-intro__title {
  font-size: clamp(2.5rem, 7vw, 6rem);
  line-height: 0.88;
  margin-bottom: 2.5rem;
}
.sa-intro__title-cut {
  display: inline-block;
  background: var(--black);
  color: var(--bone);
  padding: 0.05em 0.3em 0.1em;
}
.sa-intro__copy {
  font-family: var(--f-body);
  font-size: 1.1rem;
  font-weight: 500;
  line-height: 1.6;
  max-width: 60ch;
  color: var(--black-2);
  margin-bottom: 1.5rem;
}

.sa-cities {
  background: var(--black);
  color: var(--bone);
  padding: var(--pad-y) var(--pad-x);
}
.sa-cities__title {
  font-size: clamp(3rem, 9vw, 8rem);
  line-height: 0.85;
  margin-bottom: clamp(3rem, 6vw, 5rem);
  border-bottom: 3px solid var(--bone);
  padding-bottom: 2rem;
}
.sa-cities__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 2px solid var(--bone);
  border-left: 2px solid var(--bone);
}
.sa-city {
  padding: 1.75rem 1.5rem;
  border-right: 2px solid var(--bone);
  border-bottom: 2px solid var(--bone);
  transition: background 0.3s ease;
}
.sa-city:hover { background: var(--black-2); }
.sa-city h3 {
  font-family: var(--f-display);
  font-size: 1.4rem;
  letter-spacing: 0.04em;
  margin-bottom: 0.55rem;
  color: var(--bone);
}
.sa-city:hover h3 { color: var(--red); }
.sa-city p {
  font-family: var(--f-body);
  font-size: 0.88rem;
  font-weight: 500;
  color: rgba(245,243,238,0.65);
  line-height: 1.45;
}
.sa-cities__note {
  margin-top: 3rem;
  font-family: var(--f-body);
  font-size: 1rem;
  font-weight: 500;
  color: rgba(245,243,238,0.7);
}
.sa-cities__note a { color: var(--red); border-bottom: 2px solid var(--red); }
@media (max-width: 900px) { .sa-cities__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .sa-cities__grid { grid-template-columns: 1fr; } }

/* ================================================================
   FAQ — accordion with <details>
   ================================================================ */
.faq-section {
  background: var(--bone);
  color: var(--black);
  padding: var(--pad-y) var(--pad-x);
}
.faq-list {
  max-width: 860px;
  border-top: 3px solid var(--black);
}
.faq {
  border-bottom: 2px solid var(--black);
}
.faq__q {
  font-family: var(--f-display);
  font-size: clamp(1.2rem, 2.5vw, 1.85rem);
  letter-spacing: 0.02em;
  padding: 1.75rem 3rem 1.75rem 0;
  cursor: pointer;
  position: relative;
  list-style: none;
}
.faq__q::-webkit-details-marker { display: none; }
.faq__q::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--f-display);
  font-size: 2rem;
  color: var(--red);
  transition: transform 0.3s ease;
}
.faq[open] .faq__q::after {
  content: "−";
}
.faq__a {
  padding: 0 0 2rem 0;
}
.faq__a p {
  font-family: var(--f-body);
  font-size: 1.02rem;
  font-weight: 500;
  line-height: 1.6;
  color: var(--black-2);
  max-width: 60ch;
  margin-bottom: 1rem;
}
.faq__a p:last-child { margin-bottom: 0; }
.faq__a a { color: var(--red); border-bottom: 1px solid var(--red); }
.faq__a ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 1rem;
  padding-left: 0;
}
.faq__a li {
  font-family: var(--f-body);
  font-size: 0.98rem;
  font-weight: 500;
  color: var(--black-2);
  display: flex;
  align-items: center;
  gap: 0.65rem;
}
.faq__a li::before {
  content: "";
  width: 14px; height: 2px;
  background: var(--red);
  flex-shrink: 0;
}
