/**
 * Mac Angelo — How We Work Page Styles
 * Covers: page-how-we-work.php
 *
 * BEM prefix: .ma-hww-*
 *
 * @package mac-angelo-child
 * @version 1.0.0
 */

/* ============================================================
   S1 — HERO
   ============================================================ */
.ma-hww-hero {
  background: var(--ma-offwhite, #F9F9F6);
  padding: clamp(52px, 7vw, 88px) 0 clamp(40px, 5vw, 64px);
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(0,0,0,0.06);
}

.ma-hww-hero__geo-tl {
  position: absolute;
  top: 0; left: 0;
  width: clamp(180px, 22vw, 360px);
  height: clamp(120px, 15vw, 240px);
  background: linear-gradient(135deg, rgba(201,168,76,0.09) 0%, transparent 70%);
  clip-path: polygon(0 0, 100% 0, 0 100%);
  pointer-events: none;
}
.ma-hww-hero__geo-br {
  position: absolute;
  bottom: 0; right: 0;
  width: clamp(160px, 18vw, 280px);
  height: clamp(100px, 12vw, 200px);
  background: linear-gradient(315deg, rgba(26,159,159,0.07) 0%, transparent 70%);
  clip-path: polygon(100% 0, 100% 100%, 0 100%);
  pointer-events: none;
}

.ma-hww-hero__inner {
  max-width: 800px;
  margin-inline: auto;
  padding-inline: clamp(20px, 5vw, 80px);
  position: relative;
  z-index: 1;
  text-align: center;
}

.ma-hww-hero__headline {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 800;
  color: #1A1A1A;
  line-height: 1.1;
  letter-spacing: -0.025em;
  margin: 0.5em 0 0.6em;
}
.ma-hww-hero__headline br { display: block; }

.ma-hww-hero__sub {
  font-family: 'Inter', sans-serif;
  font-size: clamp(15px, 2vw, 18px);
  color: #6B6B6B;
  line-height: 1.7;
  max-width: 600px;
  margin: 0 auto 2rem;
}

.ma-hww-hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.ma-hww-hero__trust {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 24px;
}
.ma-hww-hero__trust li {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  color: #6B6B6B;
  display: flex;
  align-items: center;
  gap: 5px;
}
.ma-hww-hero__trust span {
  color: #1A9F9F;
  font-weight: 700;
}

/* ============================================================
   S2 — PROCESS STEPS
   ============================================================ */
.ma-hww-process {
  background: #fff;
  padding: clamp(56px, 7vw, 96px) 0;
}
.ma-hww-process__inner {
  max-width: 1280px;
  margin-inline: auto;
  padding-inline: clamp(20px, 5vw, 80px);
}

.ma-hww-steps {
  margin-top: clamp(40px, 5vw, 64px);
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* Individual step */
.ma-hww-step {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 0 40px;
  padding: clamp(32px, 4vw, 48px) 0;
  border-top: 1px solid rgba(0,0,0,0.07);
  position: relative;
}
.ma-hww-step--last {
  border-bottom: 1px solid rgba(0,0,0,0.07);
}

/* Alternating background on even steps */
.ma-hww-step--alt {
  background: var(--ma-offwhite, #F9F9F6);
  margin-inline: calc(-1 * clamp(20px, 5vw, 80px));
  padding-inline: clamp(20px, 5vw, 80px);
}

/* Left column: number + connector line */
.ma-hww-step__left {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 6px;
}

.ma-hww-step__number {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 900;
  color: #C9A84C;
  line-height: 1;
  width: 72px;
  height: 72px;
  border-radius: 18px;
  background: rgba(201,168,76,0.10);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.ma-hww-step__line {
  width: 2px;
  flex: 1;
  background: repeating-linear-gradient(
    to bottom,
    #C9A84C 0px,
    #C9A84C 6px,
    transparent 6px,
    transparent 12px
  );
  margin-top: 12px;
  opacity: 0.35;
  min-height: 32px;
}

/* Right column: content */
.ma-hww-step__content {
  padding-bottom: 8px;
}

.ma-hww-step__badge {
  display: inline-block;
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #C9A84C;
  background: rgba(201,168,76,0.10);
  border-radius: 4px;
  padding: 3px 10px;
  margin-bottom: 10px;
}

.ma-hww-step__title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(20px, 2.5vw, 28px);
  font-weight: 700;
  color: #1A1A1A;
  line-height: 1.2;
  margin: 0 0 0.75em;
}

.ma-hww-step__body {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  color: #4A4A4A;
  line-height: 1.75;
  margin: 0 0 1.25rem;
  max-width: 680px;
}

.ma-hww-step__details {
  list-style: none;
  margin: 0 0 1.25rem;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 8px 24px;
}
.ma-hww-step__details li {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  color: #4A4A4A;
  display: flex;
  align-items: center;
  gap: 8px;
}
.ma-hww-step__details .fa-check {
  color: #1A9F9F;
  font-size: 12px;
  flex-shrink: 0;
}

.ma-hww-step__duration {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  color: #6B6B6B;
  background: rgba(0,0,0,0.04);
  border-radius: 6px;
  padding: 6px 12px;
}
.ma-hww-step__duration .fa-clock {
  color: #C9A84C;
  font-size: 12px;
}

/* ============================================================
   S3 — THE MAC ANGELO PROMISE
   ============================================================ */
.ma-hww-promise {
  background: var(--ma-offwhite, #F9F9F6);
  padding: clamp(56px, 7vw, 96px) 0;
  border-top: 1px solid rgba(0,0,0,0.06);
}
.ma-hww-promise__inner {
  max-width: 1280px;
  margin-inline: auto;
  padding-inline: clamp(20px, 5vw, 80px);
}

.ma-hww-promise__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin-top: clamp(32px, 4vw, 48px);
}

.ma-hww-promise-card {
  background: #fff;
  border: 1px solid rgba(0,0,0,0.07);
  border-radius: 16px;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.ma-hww-promise-card:hover {
  box-shadow: 0 6px 24px rgba(0,0,0,0.08);
  transform: translateY(-2px);
}

.ma-hww-promise-card__icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(201,168,76,0.10);
  color: #C9A84C;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.ma-hww-promise-card__title {
  font-family: 'DM Sans', sans-serif;
  font-size: 17px;
  font-weight: 700;
  color: #1A1A1A;
  margin: 0;
}

.ma-hww-promise-card__desc {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  color: #6B6B6B;
  line-height: 1.65;
  margin: 0;
}

/* ============================================================
   S4 — WHAT WE NEED FROM YOU
   ============================================================ */
.ma-hww-partnership {
  background: #fff;
  padding: clamp(56px, 7vw, 96px) 0;
  border-top: 1px solid rgba(0,0,0,0.06);
}
.ma-hww-partnership__inner {
  max-width: 1280px;
  margin-inline: auto;
  padding-inline: clamp(20px, 5vw, 80px);
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 64px;
  align-items: start;
}

.ma-hww-partnership__left .ma-section-heading {
  margin-top: 0.4em;
}
.ma-hww-partnership__body {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  color: #4A4A4A;
  line-height: 1.75;
  margin: 1rem 0 1.5rem;
}

.ma-hww-partnership__items {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.ma-hww-partnership__item {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 0 20px;
  padding: 24px 0;
  border-bottom: 1px solid rgba(0,0,0,0.07);
  align-items: start;
}
.ma-hww-partnership__item:first-child {
  border-top: 1px solid rgba(0,0,0,0.07);
}

.ma-hww-partnership__item-num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 20px;
  font-weight: 900;
  color: #6B3FA0;
  padding-top: 3px;
}

.ma-hww-partnership__item-title {
  font-family: 'DM Sans', sans-serif;
  font-size: 17px;
  font-weight: 700;
  color: #1A1A1A;
  margin: 0 0 6px;
}
.ma-hww-partnership__item-desc {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  color: #6B6B6B;
  line-height: 1.65;
  margin: 0;
}

/* ============================================================
   S5 — FAQ
   ============================================================ */
.ma-hww-faq {
  background: var(--ma-offwhite, #F9F9F6);
  padding: clamp(56px, 7vw, 96px) 0;
  border-top: 1px solid rgba(0,0,0,0.06);
}
.ma-hww-faq__inner {
  max-width: 1280px;
  margin-inline: auto;
  padding-inline: clamp(20px, 5vw, 80px);
}

.ma-hww-faq__grid {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 48px;
  align-items: start;
  margin-top: clamp(32px, 4vw, 48px);
}

/* FAQ accordion — uses global .ma-accordion styles from header-footer.css */
/* No custom accordion CSS needed here */

/* Sidebar card */
.ma-hww-faq__sidebar {
  position: sticky;
  top: calc(var(--header-h, 72px) + 24px);
}

.ma-hww-faq__sidebar-card {
  background: #fff;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 16px;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-align: center;
}

.ma-hww-faq__sidebar-icon {
  font-size: 32px;
  color: #C9A84C;
  margin-bottom: 4px;
}
.ma-hww-faq__sidebar-title {
  font-family: 'DM Sans', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: #1A1A1A;
  margin: 0;
}
.ma-hww-faq__sidebar-body {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  color: #6B6B6B;
  line-height: 1.6;
  margin: 0;
}
.ma-hww-faq__sidebar-link {
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: #6B6B6B;
  text-decoration: none;
  display: block;
}
.ma-hww-faq__sidebar-link:hover {
  color: #C9A84C;
}

/* ============================================================
   RESPONSIVE BREAKPOINTS
   ============================================================ */
@media (max-width: 960px) {
  .ma-hww-partnership__inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .ma-hww-faq__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .ma-hww-faq__sidebar {
    position: static;
    order: -1;
  }
  .ma-hww-faq__sidebar-card {
    text-align: left;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px 20px;
  }
  .ma-hww-faq__sidebar-icon {
    margin-bottom: 0;
  }
}

@media (max-width: 720px) {
  .ma-hww-step {
    grid-template-columns: 64px 1fr;
    gap: 0 24px;
  }
  .ma-hww-step__number {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    font-size: 22px;
  }
  .ma-hww-step__details {
    grid-template-columns: 1fr;
  }
  .ma-hww-hero__headline br {
    display: none;
  }
  .ma-hww-promise__grid {
    grid-template-columns: 1fr;
  }
}
