/* =========================================================
   HOW IT WORKS PAGE
   This stylesheet affects only how-it-works.html.
   Shared navigation, hero, pre-footer and footer are inherited
   from the completed Why 10K Club page.
   ========================================================= */

.how-page{
  background:#f6f5f2;
}

.how-page .hero h1{
  max-width:650px;
}

.how-page .hero-lead{
  max-width:620px;
}

.how-page .hero-lead strong{
  color:#f0a52d;
}

/* Main content */
.how-container{
  width:min(1240px,calc(100% - 48px));
}

.concierge-section,
.concierge-services{
  background:
    radial-gradient(circle at 50% 0,rgba(255,255,255,.92),rgba(255,255,255,0) 44%),
    linear-gradient(180deg,#faf9f6 0%,#f3f1ec 100%);
}

.concierge-section{
  padding:34px 0 20px;
}

.concierge-services{
  padding:18px 0 48px;
}

.how-heading{
  text-align:center;
  max-width:1050px;
  margin:0 auto 18px;
}

.how-heading-row{
  display:grid;
  grid-template-columns:minmax(70px,1fr) auto minmax(70px,1fr);
  align-items:center;
  gap:28px;
}

.how-heading-row>span{
  height:2px;
  background:linear-gradient(90deg,transparent,#d88a12);
}

.how-heading-row>span:last-child{
  background:linear-gradient(90deg,#d88a12,transparent);
}

.how-heading h2{
  margin:0;
  color:#071d3e;
  font-size:clamp(25px,2.1vw,34px);
  line-height:1.04;
  text-transform:uppercase;
  letter-spacing:.025em;
  font-weight:900;
}

.how-heading>p{
  margin:9px auto 0;
  max-width:850px;
  color:#26384c;
  font-size:15px;
}

/* Concierge vs property management */
.role-compare{
  display:grid;
  grid-template-columns:1fr 112px 1fr;
  align-items:center;
  margin-top:22px;
}

.role-card{
  min-height:395px;
  border-radius:16px;
  padding:30px 34px 28px;
  display:flex;
  flex-direction:column;
}

.role-card-primary{
  color:#fff;
  background:
    radial-gradient(circle at 15% 10%,rgba(45,103,151,.28),transparent 30%),
    linear-gradient(145deg,#032648 0%,#04172b 78%);
  border:2px solid #d99a2b;
  box-shadow:0 16px 34px rgba(7,25,43,.12);
}

.role-card-secondary{
  color:#071d3e;
  background:linear-gradient(145deg,#fbfbfa,#f0f0ed);
  border:1px solid #bfc5ca;
}

.role-card-head{
  display:flex;
  align-items:flex-start;
  gap:22px;
}

.role-icon{
  width:96px;
  height:96px;
  flex:0 0 96px;
  border:3px solid currentColor;
  border-radius:50%;
  padding:17px;
  color:#071d3e;
}

.role-icon-gold{
  color:#e5a32c;
}

.role-card h3{
  margin:2px 0 7px;
  color:inherit;
  font-size:27px;
  line-height:.98;
  text-transform:uppercase;
  font-style:normal;
}

.role-card h3 em{
  color:#e5a32c;
  font-style:normal;
}

.role-card-head strong{
  display:block;
  font-size:18px;
}

.role-list{
  list-style:none;
  padding:0;
  margin:25px 0 0;
  display:grid;
  gap:12px;
}

.role-list li{
  position:relative;
  padding-left:37px;
  font-size:15px;
  line-height:1.35;
}

.role-list li::before{
  position:absolute;
  left:0;
  top:-1px;
  width:22px;
  height:22px;
  display:grid;
  place-items:center;
  border-radius:50%;
  font-size:13px;
  font-weight:900;
}

.role-list-check li::before{
  content:"✓";
  color:#f2aa2d;
  border:2px solid #f2aa2d;
}

.role-list-x li::before{
  content:"×";
  color:#fff;
  background:#071d3e;
  border:2px solid #071d3e;
}

.not-same{
  position:relative;
  z-index:3;
  width:108px;
  height:108px;
  margin:0 auto;
  display:grid;
  place-items:center;
  border:8px solid #e2ad4b;
  border-radius:50%;
  background:#fff;
  color:#071d3e;
  box-shadow:0 8px 18px rgba(7,29,62,.12);
  text-align:center;
}

.not-same strong{
  text-transform:uppercase;
  font-size:17px;
  line-height:1.08;
}

.chevrons{
  position:absolute;
  top:50%;
  transform:translateY(-55%);
  color:#d99a2b;
  font-size:58px;
  line-height:1;
  letter-spacing:-11px;
  font-family:Georgia,serif;
  font-weight:400;
}

.chevrons-left{
  right:calc(100% + 10px);
}

.chevrons-right{
  left:calc(100% + 1px);
}

/* Local property manager */
.manager-card{
  display:grid;
  grid-template-columns:1.15fr 1px .85fr;
  align-items:center;
  gap:28px;
  margin-top:24px;
  padding:24px 30px;
  border:1.5px solid #071d3e;
  border-radius:14px;
  background:rgba(255,255,255,.62);
}

.manager-intro{
  display:grid;
  grid-template-columns:150px 1fr;
  align-items:center;
  gap:20px;
}

.manager-icon{
  width:145px;
  height:105px;
  color:#071d3e;
}

.manager-intro h3,
.manager-duties h4{
  color:#071d3e;
  text-transform:uppercase;
  font-weight:900;
}

.manager-intro h3{
  margin:0 0 8px;
  font-size:22px;
  line-height:1.05;
}

.manager-intro p{
  margin:0;
  max-width:500px;
  color:#b47a13;
  font-size:14px;
  line-height:1.5;
  font-weight:650;
}

.manager-divider{
  align-self:stretch;
  width:1px;
  background:#071d3e;
  opacity:.72;
}

.manager-duties h4{
  margin:0 0 10px;
  font-size:15px;
}

.manager-duties ul{
  list-style:none;
  padding:0;
  margin:0;
  display:grid;
  gap:7px;
}

.manager-duties li{
  position:relative;
  padding-left:30px;
  color:#152b47;
  font-size:13px;
}

.manager-duties li::before{
  content:"✓";
  position:absolute;
  left:0;
  top:0;
  width:18px;
  height:18px;
  display:grid;
  place-items:center;
  color:#fff;
  background:#071d3e;
  border-radius:50%;
  font-size:10px;
  font-weight:900;
}

/* Services */
.services-heading{
  margin-bottom:22px;
}

.service-grid{
  display:grid;
  grid-template-columns:repeat(6,1fr);
  row-gap:30px;
}

.service-item{
  position:relative;
  min-height:120px;
  padding:0 14px;
  display:flex;
  flex-direction:column;
  align-items:center;
  text-align:center;
  color:#071d3e;
}

.service-item:not(:nth-child(6n))::after{
  content:"";
  position:absolute;
  right:0;
  top:24px;
  width:1px;
  height:72px;
  background:#d6d6d2;
}

.service-item:nth-child(n+7){
  grid-column:span 1;
}

.service-grid .service-item:nth-child(7){
  grid-column:1 / 2;
  margin-left:50%;
}

.service-grid .service-item:nth-child(11){
  margin-right:-50%;
}

.service-icon{
  width:62px;
  height:62px;
  margin-bottom:8px;
  color:#c78a1e;
  display:block;
}

.service-icon-circle svg{
  fill:#c78a1e;
  stroke:#c78a1e;
}

.service-icon-circle svg path{
  fill:none;
  stroke:#fff;
}

.service-item strong{
  text-transform:uppercase;
  font-size:12px;
  line-height:1.35;
}

.why-matters{
  display:grid;
  grid-template-columns:110px 280px 1fr;
  align-items:center;
  gap:24px;
  margin-top:28px;
  padding:16px 28px;
  border:1px solid #e0bd77;
  border-radius:14px;
  background:#fbf7ee;
}

.why-icon{
  width:72px;
  height:72px;
  color:#071d3e;
}

.why-matters h3{
  margin:0;
  color:#071d3e;
  text-transform:uppercase;
  font-size:24px;
  font-weight:900;
}

.why-matters p{
  margin:0;
  color:#172e4d;
  font-size:14px;
}

.why-matters p strong{
  color:#c18416;
}

/* Responsive */
@media(max-width:1050px){
  .role-compare{
    grid-template-columns:1fr 88px 1fr;
  }

  .role-card{
    padding:24px;
  }

  .role-icon{
    width:78px;
    height:78px;
    flex-basis:78px;
    padding:14px;
  }

  .role-card h3{
    font-size:22px;
  }

  .manager-intro{
    grid-template-columns:115px 1fr;
  }

  .manager-icon{
    width:110px;
  }

  .service-grid{
    grid-template-columns:repeat(4,1fr);
  }

  .service-item:not(:nth-child(6n))::after{
    display:none;
  }

  .service-grid .service-item:nth-child(7),
  .service-grid .service-item:nth-child(11){
    grid-column:auto;
    margin:0;
  }
}

@media(max-width:860px){
  .how-page .hero h1{
    max-width:560px;
  }

  .role-compare{
    grid-template-columns:1fr;
    gap:18px;
  }

  .not-same{
    width:88px;
    height:88px;
    border-width:6px;
  }

  .not-same strong{
    font-size:14px;
  }

  .chevrons{
    display:none;
  }

  .manager-card{
    grid-template-columns:1fr;
  }

  .manager-divider{
    width:100%;
    height:1px;
  }

  .service-grid{
    grid-template-columns:repeat(3,1fr);
  }

  .why-matters{
    grid-template-columns:80px 1fr;
  }

  .why-matters p{
    grid-column:1 / -1;
  }
}

@media(max-width:620px){
  .how-container{
    width:min(100% - 30px,760px);
  }

  .concierge-section{
    padding-top:28px;
  }

  .how-heading-row{
    grid-template-columns:38px 1fr 38px;
    gap:10px;
  }

  .how-heading h2{
    font-size:23px;
  }

  .how-heading>p{
    font-size:13px;
  }

  .role-card{
    min-height:0;
    padding:22px 20px;
  }

  .role-card-head{
    gap:14px;
  }

  .role-icon{
    width:64px;
    height:64px;
    flex-basis:64px;
    padding:12px;
  }

  .role-card h3{
    font-size:20px;
  }

  .role-card-head strong{
    font-size:15px;
  }

  .role-list li{
    font-size:13px;
  }

  .manager-card{
    padding:20px;
  }

  .manager-intro{
    grid-template-columns:76px 1fr;
    gap:14px;
  }

  .manager-icon{
    width:76px;
    height:76px;
  }

  .manager-intro h3{
    font-size:18px;
  }

  .service-grid{
    grid-template-columns:repeat(2,1fr);
    gap:22px 8px;
  }

  .service-item{
    padding:0 8px;
  }

  .service-icon{
    width:54px;
    height:54px;
  }

  .why-matters{
    grid-template-columns:60px 1fr;
    gap:14px;
    padding:16px;
  }

  .why-icon{
    width:56px;
    height:56px;
  }

  .why-matters h3{
    font-size:20px;
  }
}


/* =========================================================
   HOW IT WORKS PAGE ONLY — section spacing
   Add 50px top and bottom padding to both main white sections.
   ========================================================= */
.how-page .concierge-section{
  padding-top:50px !important;
  padding-bottom:50px !important;
}

.how-page .concierge-services{
  padding-top:50px !important;
  padding-bottom:50px !important;
}


/* =========================================================
   INSIDE PAGE SECTION HEADINGS — EXACT SHARED TREATMENT
   ========================================================= */
.benefits-page .benefits-section-heading,
.how-page .how-heading-row,
.best-deals-page .deal-heading-row{
  display:grid !important;
  grid-template-columns:minmax(45px,1fr) auto minmax(45px,1fr) !important;
  align-items:center !important;
  gap:25px !important;
  width:100% !important;
  max-width:780px !important;
  margin-left:auto !important;
  margin-right:auto !important;
}

.benefits-page .benefits-section-heading .heading-line,
.how-page .how-heading-row > span,
.best-deals-page .deal-heading-row > span{
  width:100% !important;
  height:2px !important;
  background:linear-gradient(90deg,transparent,#cf8d20) !important;
}

.benefits-page .benefits-section-heading .heading-line:last-child,
.how-page .how-heading-row > span:last-child,
.best-deals-page .deal-heading-row > span:last-child{
  background:linear-gradient(90deg,#cf8d20,transparent) !important;
}

.benefits-page .benefits-section-heading h2,
.how-page .how-heading h2,
.best-deals-page .deal-section-heading h2{
  margin:0 !important;
  color:#071d3e !important;
  font-size:clamp(25px,2vw,34px) !important;
  font-weight:900 !important;
  line-height:1 !important;
  letter-spacing:.035em !important;
  text-transform:uppercase !important;
}

@media (max-width:760px){
  .benefits-page .benefits-section-heading,
  .how-page .how-heading-row,
  .best-deals-page .deal-heading-row{
    grid-template-columns:28px minmax(0,1fr) 28px !important;
    gap:10px !important;
    max-width:100% !important;
  }

  .benefits-page .benefits-section-heading h2,
  .how-page .how-heading h2,
  .best-deals-page .deal-section-heading h2{
    white-space:normal !important;
    font-size:23px !important;
    line-height:1.08 !important;
  }
}


/* HOW IT WORKS HERO ONLY — keep second hero line together */
@media (min-width:861px){
  .how-page main > .hero#overview h1 span{
    white-space:nowrap !important;
  }
}


/* =========================================================
   INNER PAGE SECTION HEADINGS — FINAL SHARED SYSTEM
   Exact same side-line geometry and title typography.
   ========================================================= */
.benefits-page .benefits-section-heading,
.how-page .how-heading-row,
.best-deals-page .deal-heading-row{
  display:grid !important;
  grid-template-columns:minmax(90px,1fr) auto minmax(90px,1fr) !important;
  align-items:center !important;
  column-gap:28px !important;
  width:100% !important;
  max-width:1040px !important;
  margin-left:auto !important;
  margin-right:auto !important;
}

.benefits-page .benefits-section-heading .heading-line,
.how-page .how-heading-row > span,
.best-deals-page .deal-heading-row > span{
  display:block !important;
  width:100% !important;
  height:2px !important;
  min-width:0 !important;
  background:linear-gradient(90deg,transparent 0%,#cf8d20 100%) !important;
}

.benefits-page .benefits-section-heading .heading-line:last-child,
.how-page .how-heading-row > span:last-child,
.best-deals-page .deal-heading-row > span:last-child{
  background:linear-gradient(90deg,#cf8d20 0%,transparent 100%) !important;
}

.benefits-page .benefits-section-heading h2,
.how-page .how-heading h2,
.best-deals-page .deal-section-heading h2{
  margin:0 !important;
  color:#071d3e !important;
  font-size:34px !important;
  font-weight:900 !important;
  line-height:1 !important;
  letter-spacing:.025em !important;
  text-transform:uppercase !important;
  white-space:nowrap !important;
  text-align:center !important;
}

/* How It Works headings must remain one line on desktop. */
.how-page .how-heading-row h2{
  white-space:nowrap !important;
}

/* Let the shared line container be wide enough for the longer How It Works title. */
.how-page .how-heading{
  max-width:1180px !important;
}

@media (max-width:1000px){
  .benefits-page .benefits-section-heading,
  .how-page .how-heading-row,
  .best-deals-page .deal-heading-row{
    grid-template-columns:minmax(45px,1fr) auto minmax(45px,1fr) !important;
    column-gap:18px !important;
    max-width:100% !important;
  }

  .benefits-page .benefits-section-heading h2,
  .how-page .how-heading h2,
  .best-deals-page .deal-section-heading h2{
    font-size:28px !important;
  }
}

@media (max-width:760px){
  .benefits-page .benefits-section-heading,
  .how-page .how-heading-row,
  .best-deals-page .deal-heading-row{
    grid-template-columns:28px minmax(0,1fr) 28px !important;
    column-gap:10px !important;
  }

  .benefits-page .benefits-section-heading h2,
  .how-page .how-heading h2,
  .best-deals-page .deal-section-heading h2{
    white-space:normal !important;
    font-size:23px !important;
    line-height:1.08 !important;
  }
}


/* =========================================================
   INNER PAGE SECTION HEADINGS — EXACT SAME SIDE-LINE LENGTH
   Why 10K Club / How It Works / Best Deals
   ========================================================= */
.benefits-page .benefits-section-heading,
.how-page .how-heading-row,
.best-deals-page .deal-heading-row{
  display:grid !important;
  grid-template-columns:100px auto 100px !important;
  align-items:center !important;
  column-gap:28px !important;
  width:max-content !important;
  max-width:100% !important;
  margin-left:auto !important;
  margin-right:auto !important;
}

.benefits-page .benefits-section-heading .heading-line,
.how-page .how-heading-row > span,
.best-deals-page .deal-heading-row > span{
  display:block !important;
  width:100px !important;
  min-width:100px !important;
  max-width:100px !important;
  height:2px !important;
}

.benefits-page .benefits-section-heading .heading-line,
.how-page .how-heading-row > span,
.best-deals-page .deal-heading-row > span{
  background:linear-gradient(90deg,transparent 0%,#cf8d20 100%) !important;
}

.benefits-page .benefits-section-heading .heading-line:last-child,
.how-page .how-heading-row > span:last-child,
.best-deals-page .deal-heading-row > span:last-child{
  background:linear-gradient(90deg,#cf8d20 0%,transparent 100%) !important;
}

@media (max-width:760px){
  .benefits-page .benefits-section-heading,
  .how-page .how-heading-row,
  .best-deals-page .deal-heading-row{
    grid-template-columns:28px minmax(0,1fr) 28px !important;
    width:100% !important;
    column-gap:10px !important;
  }

  .benefits-page .benefits-section-heading .heading-line,
  .how-page .how-heading-row > span,
  .best-deals-page .deal-heading-row > span{
    width:28px !important;
    min-width:28px !important;
    max-width:28px !important;
  }
}
