/* casa-team.css — the "talk to a person" consultant cards.
   Loaded only by the pages that carry a CM:TEAM block (contact, showroom).
   New filename on purpose: css is served immutable/1yr, so content changes
   ship as a new ?v= from tools/build-team.py. */

.team-sec{padding:clamp(64px,9vw,110px) 0;border-top:1px solid var(--line)}
.team-sec .eyebrow{display:block;margin-bottom:16px}
.team-sec h2{font-family:var(--font-head);font-weight:500;font-size:clamp(28px,3.4vw,46px);line-height:1.04;color:var(--ink);margin:0 0 14px}
.team-sec h2 em{font-style:italic;color:var(--green)}
.team-lead{color:var(--muted);font-size:16px;line-height:1.6;margin:0 0 clamp(30px,4vw,46px);max-width:56ch}

.team-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(215px,1fr));gap:clamp(16px,2vw,24px)}

.tcard{background:var(--paper);border:1px solid var(--line);border-radius:14px;
  padding:28px 22px 24px;text-align:center;display:flex;flex-direction:column;align-items:center;
  box-shadow:0 10px 26px rgba(27,45,39,.05);transition:transform .3s var(--ease,ease),box-shadow .3s var(--ease,ease)}
.tcard:hover{transform:translateY(-3px);box-shadow:0 18px 38px rgba(27,45,39,.09)}

.tavatar{width:66px;height:66px;border-radius:50%;display:flex;align-items:center;justify-content:center;
  background:var(--warm);color:var(--green);border:1px solid var(--line);
  font-family:var(--font-ui);font-size:19px;font-weight:500;letter-spacing:.06em;margin-bottom:16px}

.tname{font-family:var(--font-head);font-weight:500;font-size:22px;line-height:1.2;color:var(--ink);margin:0}
.trole{font-family:var(--font-ui);font-size:11.5px;letter-spacing:.17em;text-transform:uppercase;
  color:var(--accent-ink);margin:8px 0 20px}

/* margin-top:auto pins the button to the card's bottom edge. Grid already makes
   the cards in a row equal height, but a name that wraps to two lines ("Stephanie
   Monreal" at 390px) otherwise pushes that card's button out of line with its
   neighbour's. Bottom-aligning the actions keeps the row reading as one bar. */
.tbtn{display:inline-flex;align-items:center;justify-content:center;gap:9px;width:100%;
  margin-top:auto;min-height:46px;padding:0 18px;border-radius:var(--radius-pill,999px);
  background:var(--green);color:#fff;text-decoration:none;
  font-family:var(--font-ui);font-size:13.5px;font-weight:500;letter-spacing:.02em;
  transition:background .22s ease,transform .22s ease,box-shadow .22s ease}
.tbtn:hover{background:var(--green-dark,#2b8257);transform:translateY(-1px);box-shadow:0 12px 24px rgba(51,153,102,.28)}
.tbtn svg{width:17px;height:17px;flex:none}

.tcall{margin-top:12px;font-size:13.5px;color:var(--muted);text-decoration:none;letter-spacing:.01em}
.tcall:hover{color:var(--green)}

/* Standalone WhatsApp call-to-action, same family as the card buttons but at
   full .btn size — for a section CTA row rather than inside a card.
   Replaces .btn-ghost in those rows: btn-ghost is white text on a translucent
   white fill, built for a dark hero, and is invisible on the cream page body. */
.btn-wa{background:var(--green);color:#fff;border-color:var(--green);gap:10px}
.btn-wa:hover{background:var(--green-dark,#2b8257);color:#fff;transform:translateY(-2px);box-shadow:0 14px 30px rgba(51,153,102,.3)}
.btn-wa svg{width:19px;height:19px;flex:none}

/* The quiet partner to a filled button, on a light background. */
.btn-outline{background:transparent;border:1px solid var(--line);color:var(--ink)}
.btn-outline:hover{background:var(--ink);border-color:var(--ink);color:#fff;transform:translateY(-2px)}

.team-note{margin:clamp(28px,3.5vw,40px) 0 0;font-size:14.5px;color:var(--muted)}
.team-note a{color:var(--green);text-decoration:none;border-bottom:1px solid rgba(51,153,102,.35)}
.team-note a:hover{border-bottom-color:var(--green)}

@media(max-width:520px){
  .team-grid{grid-template-columns:1fr 1fr;gap:14px}
  .tcard{padding:22px 14px 20px}
  .tavatar{width:56px;height:56px;font-size:17px;margin-bottom:13px}
  .tname{font-size:19px}
  .trole{margin:6px 0 16px}
  .tbtn{font-size:12.5px;padding:0 12px;gap:7px}
}
