:root{
  --green-900:#0d3322;
  --green-700:#145c3c;
  --gold-500:#f2c94c;
  --gold-600:#e1b628;
  --ink:#0f1214;
  --muted:#7a8894;
  --glass:rgba(255,255,255,0.06);
  --radius:20px;
  --shadow:0 10px 30px rgba(0,0,0,0.25);
}

*{box-sizing:border-box}
html,body{
  margin:0;padding:0;
  font-family:'Poppins',sans-serif;
  background:linear-gradient(180deg,#0b1a12,#0d1f16 35%,#0f1f18);
  color:#e7ecef;
}

.container{width:min(1200px,94%);margin-inline:auto}
.section-space{padding:48px 0}
body.index-bg {
  background: 
    linear-gradient(rgba(255, 255, 255, 0.1), rgba(0, 0, 0, 0.6)),
    url('assets/kansas-bg.jpg') center center / cover no-repeat;
  background-attachment: fixed;
}
/* Make background image fill full screen height */
body.site-bg {
  --bg-img: url('assets/kansas-bg.jpg');
  background:
    linear-gradient(rgba(0,0,0,0.45), rgba(0,0,0,0.55)),
    var(--bg-img) center center / cover no-repeat fixed;
  background-attachment: fixed;
  min-height: 100vh; /* ensures it covers full visible height */
  display: flex;
  flex-direction: column;
}

/* Make sure main content stretches */
main {
  flex: 1; /* pushes footer to the bottom */
}

/* HEADER AREA */
.site-header{
  position:relative;
  padding-top:20px;
  padding-bottom:60px;
  overflow:hidden;
}
.header-gradient{
  position:absolute;inset:0;
  background:linear-gradient(135deg,var(--green-700),var(--gold-600));
  z-index:-2;
}

/* NAVIGATION */
.nav{
  position:sticky; top:14px;
  display:flex; align-items:center; justify-content:space-between;
  width:min(1100px,94%);
  margin:0 auto;
  padding:14px 22px;
  border-radius:26px;
  background:rgba(5,10,8,0.45);
  backdrop-filter:blur(10px);
  box-shadow:0 10px 30px rgba(0,0,0,0.25);
  border:1px solid rgba(255,255,255,0.08);
}

/* BRAND BLOCK = title on top, tagline directly underneath */
.brand-block{
  display:flex;
  flex-direction:column;
  align-items:flex-start;   /* keeps tagline under the title on the left */
  gap:2px;                  /* tiny space between title and tagline */
  min-width:0;
}

.brand-title{
  text-decoration:none;
  color:#fff;
  font-weight:800;
  font-size:26px;
  letter-spacing:0.3px;
  line-height:1.1;
  display:inline-block;
}

.brand-subhead{
  color:#ffffffcc;          /* slightly softer than pure white */
  font-weight:500;
  font-size:15px;
  letter-spacing:0.3px;
  line-height:1.2;
  margin:0;
}

/* BRAND + SUBHEAD INLINE */
.brand-wrap{
  display:flex;
  align-items:baseline;
  gap:10px;
  flex-wrap:wrap;
}

.brand{
  text-decoration:none;
  color:#fff;
  font-weight:800;
  font-size:26px;
  letter-spacing:0.3px;
}

.subhead{
  color:#fff;
  font-weight:500;
  font-size:15px;
  opacity:0.9;
  letter-spacing:0.4px;
  margin-top:2px;
}

/* NAV LINKS */
.nav-links{
  list-style:none; display:flex; gap:12px; margin:0; padding:0;
}
.btn-nav{
  display:inline-block; padding:10px 18px; border-radius:999px;
  text-decoration:none; color:#0a120e; font-weight:600; font-size:15px;
  background:linear-gradient(135deg,#ffe9a0,#f2c94c);
  border:1px solid rgba(0,0,0,0.15);
  box-shadow:0 6px 14px rgba(226,179,37,0.35);
  transition:transform .15s ease, box-shadow .2s ease, background .2s ease;
}
.btn-nav:hover{ transform:translateY(-1px); box-shadow:0 10px 22px rgba(226,179,37,0.45); }

/* Burger visibility for small screens */
.nav-burger{ display:none; background:none; border:none; padding:8px; border-radius:10px }
.nav-burger span{ display:block; width:24px; height:2px; background:#fff; margin:4px 0 }

/* Responsive: keep brand stacked on small screens too */
@media (max-width: 820px){
  .nav-links{ display:none; }
  .nav-burger{ display:block; }
}
@media (max-width: 520px){
  .brand-title{ font-size:22px; }
  .brand-subhead{ font-size:13px; }
  .btn-nav{ padding:10px 16px; font-size:14px; }
}

/* BURGER MENU */
.nav-burger{display:none;background:none;border:none;padding:8px;border-radius:10px}
.nav-burger span{display:block;width:24px;height:2px;background:#fff;margin:4px 0}

/* HERO */
.glass {
  background: rgba(18, 24, 20, 0.65); /* dark greenish tint */
  border: 1px solid rgba(255, 255, 255, 0.10);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.4);
  color: #f6f9f8; /* light text */
}


.hero-card{
  display:grid;
  grid-template-columns:1.3fr 1fr;
  gap:30px;
  padding:28px;
  min-height:260px;
}
.hero-copy h1{margin:0 0 10px;font-size:34px;line-height:1.1}
.hero-copy p{margin:0;color:#cfd8de;font-size:16px;line-height:1.5}
.hero-actions{margin-top:20px;display:flex;gap:12px;flex-wrap:wrap}

.btn-cta,.btn-ghost{
  display:inline-block;
  padding:12px 20px;
  border-radius:14px;
  font-weight:700;
  text-decoration:none;
  transition:all .2s ease;
  font-size:16px;
}
.btn-cta{
  color:#0b0f0c;
  background:linear-gradient(135deg,#ffe9a0,var(--gold-500));
  border:1px solid rgba(0,0,0,0.15);
}
.btn-cta:hover{transform:translateY(-1px)}
.btn-ghost{
  color:#e9f1f3;
  border:1px solid rgba(255,255,255,0.18);
  background:rgba(255,255,255,0.03);
}
.btn-ghost:hover{background:rgba(255,255,255,0.06)}

.hero-art{
  position:relative;
  min-height:220px;
  border-radius:16px;
  overflow:hidden;
  background:radial-gradient(1200px 400px at 120% -10%,rgba(255,255,255,0.25),transparent 40%),
             radial-gradient(1000px 500px at -10% 120%,rgba(255,255,255,0.18),transparent 40%),
             linear-gradient(135deg,#0c2b1c,#0f3b27);
}
.orb{position:absolute;width:160px;height:160px;border-radius:999px;filter:blur(20px);opacity:0.75;mix-blend-mode:screen;}
.orb-1{background:#ffe082;top:20px;right:18px;}
.orb-2{background:#64ffda;bottom:-20px;left:-10px;}
.orb-3{background:#90caf9;top:55%;left:50%;transform:translate(-50%,-50%);}

/* SERVICES */
.section-title{font-size:24px;margin:0 0 16px;font-weight:700}
.services-list{
  list-style:none;
  padding:0;
  margin:0;
  display:flex;
  flex-direction:column;
  gap:10px;
}
.service-item{
  display:grid;
  grid-template-columns:72px 1fr;
  gap:14px;
  padding:12px;
  border-radius:16px;
  background: rgba(0, 0, 0, 0.35);
  border:5px solid rgba(48, 45, 45, 0.712);
  transition:transform .12s ease;
}
.service-item:hover{transform:translateY(-1px)}
.svc-thumb{width:72px;height:72px;object-fit:cover;border-radius:12px;background:#1a2420}
.svc-info h3{margin:0 0 4px;font-size:16px}
.svc-info p{margin:0;color:#ffffff;font-size:15px}

/* OFFICE */
.office-card{display:grid;grid-template-columns:1.2fr 1fr;gap:24px;padding:24px;}
.office-photo{
  border-radius:14px;height:260px;
  background:linear-gradient(180deg,rgba(0,0,0,0.2),rgba(0,0,0,0.35)),
             url('assets/office.jpg') center/cover no-repeat;
  border:1px solid rgba(255,255,255,0.09);
}
.office-copy h2{margin:0 0 10px;font-size:24px}
.office-copy p{font-size:15px;line-height:1.5}
.office-actions{margin-top:14px;display:flex;gap:12px;flex-wrap:wrap}

/* REVIEWS */
.reviews-empty{padding:20px;text-align:center}
.reviews-empty-inner{padding:24px}
.star-row{font-size:26px;letter-spacing:2px;color:#d7dce0;opacity:0.5}

/* FOOTER */
.site-footer{
  text-align:center;
  color:#9fb0bb;
  padding:28px 12px;
  font-size:14px;
}

@media (max-width: 820px){
  .nav-links{ display:none; }
  .nav-burger{ display:block; }
}
@media (max-width: 520px){
  .brand-title{ font-size:22px; }
  .brand-subhead{ font-size:13px; }
  .btn-nav{ padding:10px 16px; font-size:14px; }
}

/* background */ 
/* Global site background (applies when .site-bg is on <body>) */
body.site-bg{
  /* swap to your image path */
  --bg-img: url('assets/kansas-bg.jpg');

  background:
    linear-gradient(rgba(0,0,0,0.45), rgba(0,0,0,0.55)),
    var(--bg-img) center center / cover no-repeat fixed;
  background-attachment: fixed;
  color: #f5f7f6; /* ensures text is readable by default */
}

/* Optional: if you’re using “glass” cards, they’ll sit clearer on the photo */
.glass, .glass-dark{
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

/* background end*/

/* mobile dropdown fix */

/* === Mobile nav panel === */
@media (max-width: 900px){
  .nav { position: relative; z-index: 50; }
  .nav-burger { display: inline-flex; gap:6px; flex-direction:column; justify-content:center;
    width:42px; height:42px; padding:0; border:1px solid rgba(255,255,255,.18);
    background: rgba(0,0,0,.25); border-radius:10px; cursor:pointer;
  }
  .nav-burger span{ display:block; width:22px; height:2px; background:#fff; border-radius:2px; margin:0 auto; transition:transform .25s, opacity .2s; }
  .nav-burger.is-open span:nth-child(1){ transform: translateY(6px) rotate(45deg); }
  .nav-burger.is-open span:nth-child(2){ opacity:0; }
  .nav-burger.is-open span:nth-child(3){ transform: translateY(-6px) rotate(-45deg); }

  /* Hide desktop list and turn into slide-over */
  .nav-links{
    list-style:none; margin:0; padding:16px; display:block;
    position: fixed; top:0; right:0; bottom:0; width:min(84vw, 320px);
    transform: translateX(100%); transition: transform .28s ease;
    background: rgba(18,24,20,.95); backdrop-filter: blur(10px);
    border-left: 1px solid rgba(255,255,255,.12);
    overflow-y:auto;
  }
  .nav-links.is-open{ transform: translateX(0); }
  .nav-links li{ margin:8px 0; }
  .nav-links .btn-nav{ display:block; padding:12px 10px; border-radius:10px; }
  body.menu-open{ overflow:hidden; } /* lock background scroll */
}

/* Desktop keeps inline list */
@media (min-width: 901px){
  .nav-burger{ display:none; }
  .nav-links{ display:flex; gap:10px; position:static; transform:none !important; background:none; border:0; }
  .nav-links li{ margin:0; }
}








/* =====================================================
   GET A QUOTE PAGE — CLEAN, BALANCED, AND FIXED
   ===================================================== */

.quote-shell {
  position: relative;
  border-radius: 24px;
  border: 2px solid transparent;
  background:
    linear-gradient(rgba(28,38,32,0.85), rgba(28,38,32,0.85)) padding-box,
    linear-gradient(135deg, #e8c247, #145c3c) border-box;
  box-shadow: 0 10px 30px rgba(0,0,0,0.4);
  backdrop-filter: blur(20px);
  color: #f6f9f8;
}

.quote-decor.orb {
  position: absolute;
  filter: blur(30px);
  opacity: .5;
  z-index: 0;
}
.quote-decor.orb.a {
  width: 180px; height: 180px;
  top: -40px; right: -30px;
  background: #ffe082;
}
.quote-decor.orb.b {
  width: 220px; height: 220px;
  bottom: -60px; left: -40px;
  background: #64ffda;
}

.quote-head {
  position: relative; z-index: 1;
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; padding: 26px 26px 10px;
}
.quote-title h1 {
  margin: 0 0 6px;
  font-size: 30px;
  line-height: 1.1;
  font-weight: 800;
  color: #fff;
}
.quote-title p {
  margin: 0;
  color: #d2dad7;
  font-size: 15px;
}
.bundle-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 999px;
  color: #0a120e;
  font-weight: 700;
  font-size: 14px;
  background: linear-gradient(135deg, #f2d76b, #eac547);
  border: 1px solid rgba(0,0,0,0.15);
  box-shadow: 0 8px 18px rgba(226,179,37,0.35);
  white-space: nowrap;
}
.bundle-pill .dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #0a120e;
  display: inline-block;
  opacity: .75;
}

/* ========== FORM GRID ========== */
.quote-grid {
  position: relative; z-index: 1;
  padding: 12px 26px 26px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 16px 16px;
}

/* FIELD BASE */
.field {
  position: relative;
}
.field.wide { grid-column: 1 / -1; }
.field.tall textarea { min-height: 140px; }

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 18px 14px 14px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.25);
  background: rgba(255,255,255,0.1);
  color: #fff;
  outline: none;
  transition: background-color .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.field textarea { resize: vertical; }

.field input:focus,
.field select:focus,
.field textarea:focus {
  background-color: rgba(255,255,255,0.15);
  border-color: #f2c94c;
  box-shadow: 0 0 0 3px rgba(242,201,76,0.25);
}

/* FLOATING LABELS */
.field label {
  position: absolute;
  left: 12px; top: 50%;
  transform: translateY(-50%);
  padding: 0 6px;
  background: transparent;
  color: #b7c1bd;
  font-size: 14px;
  pointer-events: none;
  transition: all .15s ease;
}
.field:focus-within label,
.field input:not(:placeholder-shown) + label,
.field textarea:not(:placeholder-shown) + label,
.field select:valid + label {
  top: -8px;
  transform: none;
  background: #1b2a22;
  border-radius: 8px;
  font-size: 12px;
  color: #f2c94c;
  padding: 2px 6px;
}

/* SWITCH (BUNDLE & SAVE) */
.switch {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.1);
}
.switch input { display: none; }
.switch .slider {
  width: 44px; height: 26px;
  border-radius: 999px; position: relative;
  background: #243a2f;
  border: 1px solid rgba(255,255,255,0.2);
  transition: background .2s ease;
}
.switch .slider::after {
  content: "";
  position: absolute;
  top: 50%; left: 3px;
  transform: translateY(-50%);
  width: 20px; height: 20px;
  border-radius: 50%;
  background: #f2c94c;
  transition: left .2s ease, box-shadow .2s ease;
  box-shadow: 0 4px 10px rgba(226,179,37,0.35);
}
.switch input:checked + .slider { background: #2e5b45; }
.switch input:checked + .slider::after { left: 21px; }
.switch .switch-label { font-weight: 700; color: #fff; }

/* ACTIONS */
.actions {
  display: flex; gap: 12px; flex-wrap: wrap; margin-top: 6px;
}
.actions .btn-cta {
  padding: 12px 20px;
  background: linear-gradient(135deg, #f2c94c, #e1b628);
  color: #0b0f0c;
}
.actions .btn-ghost {
  padding: 12px 20px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  color: #fff;
}

/* ========== FIXED CUSTOM SELECT (ONLY FOR POLICY TYPE) ========== */
/* ========= High-contrast Policy Type dropdown ========= */
#policyType{
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  cursor: pointer;

  /* darker, opaque-ish base so white text pops */
  background-color: #16261e;                  /* was rgba(255,255,255,0.1) */
  border: 1px solid rgba(255,255,255,0.28);
  color: #ffffff;
  text-shadow: 0 1px 0 rgba(0,0,0,0.35);      /* subtle readability boost */
  border-radius: 14px;
  padding: 14px 46px 14px 14px;
  transition: background-color .2s ease, border-color .2s ease, box-shadow .2s ease;

  /* toned-down gold chevron arrow (smaller & less bright) */
  background-image: url("data:image/svg+xml;utf8,\
<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'>\
<path fill='%23d8b33a' d='M7 10l5 5 5-5z'/></svg>");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 14px 14px;
}

#policyType:hover{
  background-color: #1b2f26;
  border-color: rgba(255,255,255,0.45);
}
#policyType:focus{
  outline: none;
  border-color: #f2c94c;
  box-shadow: 0 0 0 3px rgba(242,201,76,0.25);
}

/* Make the OPENED menu dark with light text (desktop browsers) */
#policyType option{
  background-color: #0f1914;  /* dark menu */
  color: #ffffff;             /* readable text */
}

/* Windows high-contrast / forced colors: fall back to system look */
@media (forced-colors: active){
  #policyType{
    appearance: auto;
    background-image: none;
    text-shadow: none;
  }
}


/* RESPONSIVE */
@media (max-width: 900px) {
  .quote-grid { grid-template-columns: 1fr; }
  .bundle-pill { display: none; }
}

/* ========= MEET THE TEAM ========= */
.team-head h1{ margin:0 0 6px; font-size:32px; }
.team-head .muted{ color:#cfd8de; margin:0; }

.team-section{ margin-top:28px; }
.team-section-title{ font-size:24px; margin:0 0 12px; }
.team-subtitle{ font-size:16px; color:#cfd8de; margin:12px 0; }

.team-grid{
  display:grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap:16px;
}
@media (max-width:1000px){ .team-grid{ grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width:640px){ .team-grid{ grid-template-columns: 1fr; } }

.member-card{
  display:grid; grid-template-columns: 120px 1fr;
  gap:14px; padding:14px; border-radius:16px;
  background: rgba(255,255,255,0.06);
  border:1px solid rgba(255,255,255,0.1);
  box-shadow: 0 10px 22px rgba(0,0,0,0.25);
}
.member-card.simple{ grid-template-columns: 100px 1fr; }

.member-photo{
  width:100%; height:100%;
  min-height:110px; border-radius:12px;
  background:
    linear-gradient(180deg, rgba(0,0,0,0.15), rgba(0,0,0,0.35)),
    var(--img, url('assets/team/placeholder.jpg')) center/cover no-repeat;
  border:1px solid rgba(255,255,255,0.12);
}

.member-body{ display:flex; flex-direction:column; gap:8px; }
.role-tag{
  display:inline-block; padding:6px 10px; border-radius:999px;
  background: rgba(255,255,255,0.08); border:1px solid rgba(255,255,255,0.12);
  font-size:12px; font-weight:700; color:#e9f1f3;
}
.member-name{ margin:0; font-size:18px }
.member-blurb{ margin:0; color:#aeb9c2; font-size:14px }
.member-actions{ display:flex; gap:10px; flex-wrap:wrap; }

.btn-pill{ border-radius:999px; padding:10px 14px; font-size:14px }

/* =========================================
   UNIFORM, FIXED IMAGE SIZES (SITE-WIDE)
   ========================================= */

/* Global helpers (works for <img> tags if you use them) */
img.img-cover { width:100%; height:100%; object-fit:cover; display:block; }
.square { aspect-ratio: 1 / 1; }

/* Centralize sizes here for easy tuning */
:root{
  /* Services list thumbnails */
  --svc-thumb-size: 96px;

  /* Team cards (Meet the Team) */
  --team-photo-size: 140px;

  /* Profile pages (hero headshot) */
  --profile-photo-size: 320px;

  /* Profile slider height */
  --profile-slide-height: 300px;

  /* Office / other large photo rows */
  --office-photo-height: 280px; /* already close to this in your CSS */
}

/* ---------- Services thumbnails (vertical list on Home) ---------- */
.svc-thumb{
  width: var(--svc-thumb-size) !important;
  height: var(--svc-thumb-size) !important;
  object-fit: cover;
  border-radius: 14px;
}
.service-item{
  grid-template-columns: var(--svc-thumb-size) 1fr; /* keeps rows aligned */
}

/* Hide footer on pages that opt out */
.no-footer .site-footer{ display:none !important; }












/* ================================
   MEET THE TEAM — CLEAN ALIGNMENT
   ================================ */

/* Grid: equal-height rows, cards stretch to the tallest in each row */
.team-grid{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  align-items: stretch; /* every card fills row height */
}
@media (max-width: 1000px){ .team-grid{ grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 640px){  .team-grid{ grid-template-columns: 1fr; } }

/* Card: two columns (fixed photo + flexible content) and full height */
:root{ --team-photo-size: 140px; } /* tweak once, applies to all */
.member-card{
  display: grid;
  grid-template-columns: var(--team-photo-size) 1fr;
  gap: 14px;
  padding: 14px;
  height: 100%; /* stretches to match tallest in the row */
  border-radius: 16px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.10);
  box-shadow: 0 10px 22px rgba(0,0,0,0.25);
}
.member-card.simple{ grid-template-columns: var(--team-photo-size) 1fr; }

/* Fixed, uniform photo column so rows align perfectly */
.member-photo{
  width: var(--team-photo-size);
  height: var(--team-photo-size);
  border-radius: 14px;
  background:
    linear-gradient(180deg, rgba(0,0,0,0.15), rgba(0,0,0,0.35)),
    var(--img, url('assets/team/placeholder.jpg')) center/cover no-repeat;
  border: 1px solid rgba(255,255,255,0.12);
}

/* Content column uses flex so buttons pin to bottom */
.member-body{
  display: flex;
  flex-direction: column;
  min-width: 0;   /* prevents text overflow */
  min-height: 100%;
}

/* Role chip, name, blurb */
.role-tag{
  align-self: flex-start;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  font-size: 12px; font-weight: 700; color: #e9f1f3;
  margin-bottom: 6px;
}

.member-name{
  margin: 0 0 6px;
  font-size: 18px;
  line-height: 1.25;
  word-break: break-word;     /* handles extremely long names cleanly */
  overflow-wrap: anywhere;    /* safe wrap without breaking layout */
}

.member-blurb{
  margin: 0;
  color: #aeb9c2;
  font-size: 14px;
  line-height: 1.45;
  /* no clamps -> box can grow naturally when copy is longer */
}

/* Actions area always sits at the bottom of the card */
.member-actions{
  margin-top: auto;           /* pushes actions to the bottom */
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

/* Buttons normalized so they look aligned even when text wraps */
:root{
  --btn-h: 44px;
  --btn-pad-x: 18px;
  --btn-font: 15px;
}
.member-actions .btn-cta,
.member-actions .btn-ghost{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: var(--btn-h);
  padding: 0 var(--btn-pad-x);
  font-size: var(--btn-font);
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  border-radius: 999px;
}

/* Tighter sizes on small screens, keeps rows tidy */
@media (max-width: 640px){
  :root{ --team-photo-size: 120px; --btn-h: 42px; --btn-font: 14px; }
  .member-card{ grid-template-columns: var(--team-photo-size) 1fr; }
}

/* Center the single profile button neatly */
.member-actions {
  justify-content: center;
}












/* =========================================
   AGENT PROFILE — CLEAN, SPACED LAYOUT
   (scoped to .profile-page)
   ========================================= */
.profile-page .agent-wrap{
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 20px;
  padding: 18px;
  border-radius: 20px;
  background: rgba(18,24,20,0.72);               /* darker, solid glass */
  border: 1px solid rgba(255,255,255,0.14);
  color: #f6f9f8;
  box-shadow: 0 12px 30px rgba(0,0,0,0.45);
}
@media (max-width: 980px){
  .profile-page .agent-wrap{ grid-template-columns: 1fr; }
}

/* Photo card */
.profile-page .agent-card{
  margin: 0;
  position: relative;
}
.profile-page .agent-photo-frame{
  background: linear-gradient(135deg, #e8c247, #145c3c);
  padding: 10px;
  border-radius: 20px;
  box-shadow: 0 16px 32px rgba(0,0,0,.35);
}
.profile-page .agent-photo{
  display: block;
  width: 100%;
  height: 320px;
  object-fit: cover;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.15);
  background: #0f1513;
}
@media (max-width: 640px){
  .profile-page .agent-photo{ height: 260px; }
}
.profile-page .role-chip{
  position: absolute;
  left: 14px;
  bottom: -10px;
  transform: translateY(100%);
  background: #f2d76b;
  color: #0b1d14;
  border: 1px solid rgba(0,0,0,0.15);
  border-radius: 999px;
  font-weight: 800;
  font-size: 12px;
  padding: 6px 10px;
}

/* Bio card */
.profile-page .agent-copy{
  background: rgba(12,16,14,0.55);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 16px;
  padding: 18px 20px;        /* spacing so text never touches sides */
  box-shadow: 0 8px 22px rgba(0,0,0,0.35);
}
.profile-page .agent-copy h1{
  margin: 0 0 6px;
  font-size: 28px;
  line-height: 1.15;
}
.profile-page .agent-copy .lead{
  margin: 0 0 12px;
  color: #cfe0dc;
}
.profile-page .agent-copy p{
  margin: 0 0 10px;
  line-height: 1.55;
  color: #eaf2ef;
}
.profile-page .agent-actions{
  margin-top: 12px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

/* Gallery */
.profile-page .agent-gallery{
  margin-top: 35px;
  border-radius: 16px;
  padding: 16px;
  background: rgba(18,24,20,0.72);
  border: 1px solid rgba(255,255,255,0.14);
  box-shadow: 0 12px 30px rgba(0,0,0,0.45);
}
.profile-page .gallery-head{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}
.profile-page .gallery-head h2{
  margin: 0;
  font-size: 20px;
}
.profile-page .gallery-nav{
  display: flex; gap: 8px;
}
.profile-page .gallery-btn{
  appearance: none;
  border: 1px solid rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.08);
  color: #fff;
  padding: 6px 10px;
  border-radius: 10px;
  cursor: pointer;
}
.profile-page .gallery-viewport{
  overflow: hidden;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(0,0,0,0.15);
}
.profile-page .gallery-rail{
  display: flex;
  gap: 12px;
  padding: 10px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
}
.profile-page .gallery-item{
  min-width: clamp(220px, 40vw, 420px);
  scroll-snap-align: start;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 18px rgba(0,0,0,0.35);
}
.profile-page .gallery-item img{
  width: 100%;
  height: 160px;
  object-fit: cover;
  display: block;
}
.profile-page .gallery-item figcaption{
  margin: 0; padding: 8px 10px;
  font-size: 13px; color: #d8e3df;
  background: rgba(0,0,0,0.25);
  border-top: 1px solid rgba(255,255,255,0.08);
}











  






/* =========================================================
   UTILITIES (no webkit-line-clamp)
   Multi-line trim using line-height + max-height + overflow
   ========================================================= */
.truncate-2 {
  --lh: 1.25;
  line-height: var(--lh);
  max-height: calc(var(--lh) * 2em);
  overflow: hidden;
}
.truncate-3 {
  --lh: 1.45;
  line-height: var(--lh);
  max-height: calc(var(--lh) * 3em);
  overflow: hidden;
}

/* =========================================================
   MEET THE TEAM — CLEAN ALIGNMENT (no vendor clamps)
   ========================================================= */
.team-grid{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  align-items: stretch; /* every card fills tallest in its row */
}
@media (max-width: 1000px){ .team-grid{ grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 640px){  .team-grid{ grid-template-columns: 1fr; } }

:root{ --team-photo-size: 140px; }
.member-card{
  display: grid;
  grid-template-columns: var(--team-photo-size) 1fr;
  gap: 14px;
  padding: 14px;
  height: 100%;
  border-radius: 16px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.10);
  box-shadow: 0 10px 22px rgba(0,0,0,0.25);
}
.member-card.simple{ grid-template-columns: var(--team-photo-size) 1fr; }

.member-photo{
  width: var(--team-photo-size);
  height: var(--team-photo-size);
  border-radius: 14px;
  background:
    linear-gradient(180deg, rgba(0,0,0,0.15), rgba(0,0,0,0.35)),
    var(--img, url('assets/team/placeholder.jpg')) center/cover no-repeat;
  border: 1px solid rgba(255,255,255,0.12);
}

.member-body{
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 100%;
}

.role-tag{
  align-self: flex-start;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  font-size: 12px; font-weight: 700; color: #e9f1f3;
  margin-bottom: 6px;
}

/* Allow long names to grow but stay tidy in layout */
.member-name{
  margin: 0 0 6px;
  font-size: 18px;
  word-break: break-word;
  overflow-wrap: anywhere;
  line-height: 1.25;
  /* optional soft trim to 2 lines without -webkit-line-clamp */
  /* remove .truncate-2 if you want truly unlimited lines */
}
/* add class in HTML if you want the 2-line trim: <h3 class="member-name truncate-2">... */

.member-blurb{
  margin: 0;
  color: #aeb9c2;
  font-size: 14px;
  line-height: 1.45;
  /* optional 3-line trim: add 'truncate-3' to the element in HTML */
  /* <p class="member-blurb truncate-3">... */
}

.member-actions{
  margin-top: auto;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

/* Button normalization for perfect alignment */
:root{
  --btn-h: 44px;
  --btn-pad-x: 18px;
  --btn-font: 15px;
}
.member-actions .btn-cta,
.member-actions .btn-ghost{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: var(--btn-h);
  padding: 0 var(--btn-pad-x);
  font-size: var(--btn-font);
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  border-radius: 999px;
}

@media (max-width: 640px){
  :root{ --team-photo-size: 120px; --btn-h: 42px; --btn-font: 14px; }
  .member-card{ grid-template-columns: var(--team-photo-size) 1fr; }
}

/* =========================================================
   SERVICES — UNIFORM CARDS (no vendor clamps)
   ========================================================= */
.services-head h1{ margin:0 0 6px; font-size:32px; }
.services-head .muted{ margin:0; color:#cfd8de; }

:root{
  --svc-card-img-h: 160px;
  --svc-card-min-h: 340px;
}

.services-grid{
  display:grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap:16px;
  align-items: stretch;
}
@media (max-width:1000px){ .services-grid{ grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width:640px){  .services-grid{ grid-template-columns: 1fr; } }

.svc-card{
  display:flex;
  flex-direction:column;
  border-radius:16px;
  overflow:hidden;
  min-height: var(--svc-card-min-h);
}

.svc-media{
  height: var(--svc-card-img-h);
  background:
    linear-gradient(180deg, rgba(0,0,0,0.15), rgba(0,0,0,0.35)),
    var(--img, url('assets/services/placeholder.jpg')) center/cover no-repeat;
  border-bottom:1px solid rgba(255,255,255,0.08);
}

.svc-body{
  display:flex; flex-direction:column;
  padding:14px;
  gap:8px;
  min-height: 0;
  flex:1;
}

.svc-title{
  margin:0;
  font-size:18px;
  line-height:1.2;
  word-break: break-word;
  overflow-wrap: anywhere;
  /* optional 2-line trim without webkit:
     add 'truncate-2' in HTML if you want tighter rows */
  /* <h3 class="svc-title truncate-2">... */
}

.svc-blurb{
  margin:0;
  color:#aeb9c2;
  font-size:14px;
  line-height:1.45;
  /* optional 3-line trim without webkit:
     add 'truncate-3' in HTML */
}

.svc-actions{
  margin-top:auto;
  display:flex; gap:10px; flex-wrap:wrap;
}
.svc-actions .btn-pill{
  border-radius:999px; padding:10px 14px; font-size:14px;
}

/* Hover lift */
.svc-card{ transition: transform .15s ease; }
.svc-card:hover{ transform: translateY(-2px); }

/* Service detail hero (lint-safe) */
.svc-hero{
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 16px;
  padding: 16px;
}
@media (max-width: 900px){
  .svc-hero{ grid-template-columns: 1fr; }
}

/* Default image via custom property; no url() fallback in var() */
.svc-hero-media{
  --img: url('../assets/services/placeholder.jpg'); /* change path if needed */
  height: 220px;
  border-radius: 14px;

  /* Use explicit background-* props instead of the shorthand */
  background-image:
    linear-gradient(180deg, rgba(0,0,0,0.15), rgba(0,0,0,0.35)),
    var(--img);
  background-position: center, center;
  background-size: cover, cover;
  background-repeat: no-repeat, no-repeat;

  border: 1px solid rgba(255,255,255,0.12);
}

/* Headline + subhead */
.svc-hero-copy h1{
  margin: 0 0 6px;
  font-size: 28px;
}
.svc-hero-copy .muted{
  margin: 0;
  color: #cfd8de;
}

/* Detail body */
.svc-detail{
  margin-top: 16px;
  padding: 16px;
}
.svc-detail h2{ margin: 0 0 8px; }
.svc-detail h3{ margin: 14px 0 6px; }

/* Actions */
.svc-cta{
  margin-top: 14px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.btn-pill{
  border-radius: 999px;
  padding: 10px 14px;
  font-size: 14px;
}




/* ========= REVIEWS (styled like Get a Quote) ========= */
.reviews-shell{
  position: relative;
  border-radius: 24px;
  border: 2px solid transparent;
  background:
    linear-gradient(rgba(28,38,32,0.85), rgba(28,38,32,0.85)) padding-box,
    linear-gradient(135deg, #e8c247, #145c3c) border-box;
  box-shadow: 0 10px 30px rgba(0,0,0,0.4);
  backdrop-filter: blur(20px);
  color:#f6f9f8;
}

.reviews-decor.orb{
  position:absolute; filter:blur(30px); opacity:.5; z-index:0;
}
.reviews-decor.orb.a{ width:180px;height:180px;top:-40px;right:-30px;background:#ffe082; }
.reviews-decor.orb.b{ width:220px;height:220px;bottom:-60px;left:-40px;background:#64ffda; }

.reviews-head{
  position:relative; z-index:1;
  display:flex; align-items:center; justify-content:space-between;
  gap:16px; padding:26px 26px 10px;
}
.reviews-title h1{ margin:0 0 6px; font-size:30px; line-height:1.1; font-weight:800; color:#fff; }
.reviews-title p{ margin:0; color:#d2dad7; font-size:15px; }
.rating-pill{
  display:inline-flex; align-items:center; gap:8px;
  padding:10px 14px; border-radius:999px;
  background:linear-gradient(135deg,#f2d76b,#eac547);
  color:#0a120e; font-weight:800; border:1px solid rgba(0,0,0,0.15);
  box-shadow:0 8px 18px rgba(226,179,37,0.35);
}
.rating-pill .small{ font-weight:700; font-size:12px; opacity:.8; }

/* Reviews grid */
.reviews-grid{
  position:relative; z-index:1;
  padding: 12px 26px 10px;
  display:grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap:16px;
}
@media (max-width:1000px){ .reviews-grid{ grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width:640px){ .reviews-grid{ grid-template-columns: 1fr; } }

.review-card{
  display:flex; flex-direction:column; gap:10px;
  padding:14px; border-radius:14px;
  background: rgba(255,255,255,0.06);
  border:1px solid rgba(255,255,255,0.12);
  box-shadow:0 8px 20px rgba(0,0,0,0.25);
  min-height: 160px;
}
.review-meta{ display:flex; align-items:center; gap:10px; }
.avatar{
  width:42px; height:42px; border-radius:50%;
  background: var(--img, url('assets/avatars/placeholder.jpg')) center/cover no-repeat;
  border:1px solid rgba(255,255,255,0.25);
  flex:0 0 42px;
}
.name{ font-weight:700; }
.stars{ color:#f2c94c; font-weight:800; letter-spacing:1px; }
.review-text{ margin:0; color:#dee6e2; line-height:1.45; }
.review-tags{ display:flex; gap:8px; flex-wrap:wrap; margin-top:auto; }
.tag{
  padding:4px 10px; border-radius:999px; font-size:12px; font-weight:700;
  background: rgba(255,255,255,0.08); border:1px solid rgba(255,255,255,0.12);
  color:#e9f1f3;
}

/* Form (shares field styles from your site) */
.reviews-form{
  position:relative; z-index:1;
  padding: 6px 26px 26px;
  display:grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap:16px;
}
.reviews-form .form-heading{
  grid-column: 1 / -1; margin: 6px 0 0; font-size:20px; font-weight:800;
}
.reviews-form .field.wide{ grid-column: 1 / -1; }
.reviews-form .actions{ grid-column: 1 / -1; }

/* Rating input (stars you can click) */
.rating-field{
  grid-column: 1 / -1;
  display:flex; align-items:center; gap:10px; flex-wrap:wrap;
  margin-top:4px; margin-bottom:-6px; /* snugs it up */
  border:1px dashed rgba(255,255,255,0.14);
  border-radius:12px; padding:10px 12px;
  background: rgba(255,255,255,0.04);
}
.rating-legend{ font-weight:700; margin:0; }
.star-inputs{
  display:inline-flex; flex-direction: row-reverse; gap:4px;
}
.star-inputs input{ display:none; }
.star-inputs label{
  font-size:22px; cursor:pointer; user-select:none; line-height:1;
  color: rgba(255,255,255,0.35); transition: color .15s ease, transform .05s ease;
}
.star-inputs label:hover,
.star-inputs label:hover ~ label{
  color: #f2c94c;
}
.star-inputs input:checked ~ label{
  color: #f2c94c;
}
.star-inputs label:active{ transform: scale(0.96); }

/* Responsive */
@media (max-width: 900px){
  .reviews-form{ grid-template-columns: 1fr; }
  .rating-pill{ display:none; }
}
/* Reviews: small helpers */
.review-date {
  margin-top: 6px;
  font-size: 12px;
  color: #b7c1bd;
}
.reviews-empty{
  position: relative; z-index: 1;
  margin: 0 26px 26px;
  padding: 18px;
  border-radius: 12px;
  text-align: center;
  background: rgba(255,255,255,0.06);
  border: 1px dashed rgba(255,255,255,0.18);
  color: #dfe7e4;
}

.review-date { display: none !important; }









/* ========= CONTACT (Get-a-Quote look) ========= */
.contact-shell{
  position: relative;
  border-radius: 24px;
  border: 2px solid transparent;
  background:
    linear-gradient(rgba(28,38,32,0.85), rgba(28,38,32,0.85)) padding-box,
    linear-gradient(135deg, #e8c247, #145c3c) border-box;
  box-shadow: 0 10px 30px rgba(0,0,0,0.4);
  backdrop-filter: blur(20px);
  color:#f6f9f8;
}
.contact-decor.orb{
  position:absolute; filter:blur(30px); opacity:.5; z-index:0;
}
.contact-decor.orb.a{ width:180px;height:180px;top:-40px;right:-30px;background:#ffe082; }
.contact-decor.orb.b{ width:220px;height:220px;bottom:-60px;left:-40px;background:#64ffda; }

.contact-head{
  position:relative; z-index:1;
  display:flex; align-items:center; justify-content:space-between;
  gap:16px; padding:26px 26px 10px;
}
.contact-head h1{ margin:0 0 6px; font-size:30px; font-weight:800; }
.contact-head .muted{ margin:0; color:#d2dad7; }
.contact-cta-bar{ display:flex; gap:10px; flex-wrap:wrap; }

.contact-grid{
  position:relative; z-index:1;
  padding: 12px 26px 26px;
  display:grid;
  grid-template-columns: 1.1fr .9fr;
  gap:16px;
}
@media (max-width: 980px){
  .contact-grid{ grid-template-columns: 1fr; }
}

.contact-card, .info-card{
  border-radius:16px; padding:16px;
  background: rgba(255,255,255,0.06);
  border:1px solid rgba(255,255,255,0.12);
  box-shadow:0 8px 20px rgba(0,0,0,0.25);
}
.contact-card .form-heading{ margin:0 0 10px; font-size:20px; font-weight:800; }

/* Fields share your global .field styles; ensure wide/tall work nicely */
.contact-card .field.wide{ grid-column: 1 / -1; }
.contact-card .field.tall textarea{ min-height: 140px; }

/* Preferred contact radios */
.pref-field{
  display:flex; align-items:center; gap:12px; flex-wrap:wrap;
  padding:10px 12px; border-radius:12px;
  border:1px dashed rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.04);
}
.pref-field legend{ font-weight:700; margin-right:4px; }
.pref-opt{ display:inline-flex; align-items:center; gap:6px; }

/* Honeypot hidden (for bots) */
.field.hp{ position:absolute; left:-9999px; width:1px; height:1px; overflow:hidden; }

/* Info card sections */
.info-section + .info-section{ margin-top:14px; }
.info-section h3{ margin:0 0 8px; font-size:16px; }
.info-section .muted{ color:#cfd8de; margin:0; }
.link{ color:#fff; text-decoration:underline; }
.quick-actions{ display:flex; gap:10px; margin-top:10px; }

.hours ul{ list-style:none; padding:0; margin:0; display:grid; gap:6px; }
.hours li{ display:flex; justify-content:space-between; gap:10px; }
.hours li span:first-child{ color:#dbe4e0; }
.hours li span:last-child{ color:#f0f7f5; }

/* Map */
.map-embed{
  margin-top:10px; border-radius:12px; overflow:hidden;
  border:1px solid rgba(255,255,255,0.12);
  background: rgba(0,0,0,0.2);
}
.map-embed iframe{ width:100%; height:220px; display:block; }

/* Buttons borrow your btn-cta / btn-ghost; ensure pills */
.btn-pill{ border-radius:999px; padding:10px 14px; font-size:14px; }

/* Small-screen tweaks */
@media (max-width: 640px){
  .contact-head{ flex-direction:column; align-items:flex-start; gap:10px; }
  .map-embed iframe{ height:200px; }
}


/* Slim footer style */
.site-footer{
  padding: 8px 0;                 /* was probably larger */
  background: transparent;        /* remove the bar feel */
  border-top: 1px solid rgba(255,255,255,0.12);
  color: #cfd8de;
  text-align: center;
  box-shadow: none;
}

/* BIG BAR FIX */

/* --- Fix: unwanted green bar at the bottom --- */

/* Make sure the header gradient stays at the TOP only */
.site-header { position: relative; overflow: hidden; }
.header-gradient{
  position: absolute !important;
  top: 0; left: 0; right: 0;
  bottom: auto !important;
  height: 120px;               /* adjust if your header is taller */
  background: linear-gradient(180deg, rgba(20,92,60,0.55), rgba(20,92,60,0) 70%);
  pointer-events: none;
}

/* If any page has a bottom gradient helper, kill it on these pages */
.no-bottom-bar .page-bottom-gradient,
.no-bottom-bar .bottom-gradient,
.no-bottom-bar .footer-bar {
  display: none !important;
}

/* Remove unwanted color bar at bottom */
html, body {
  margin: 0;
  padding: 0;
  background-color: transparent !important;
}

.site-footer {
  background: transparent !important;
  box-shadow: none !important;
  border: none !important;
  padding: 0 !important;
  height: auto !important;
}

/* ===== CONTACT REASON DROPDOWN STYLING ===== */
#cReason {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background:
    rgba(255,255,255,0.12) /* dark glass tone */
    url("data:image/svg+xml;utf8,<svg fill='white' height='12' width='12' viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/></svg>")
    no-repeat right 14px center;
  background-size: 14px;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 12px;
  padding: 10px 38px 10px 14px;
  font-family: inherit;
  font-size: 15px;
  color: #f6f9f8;
  cursor: pointer;
  transition: all 0.25s ease;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

/* Hover and focus states */
#cReason:hover {
  border-color: rgba(232,194,71,0.6);
  background-color: rgba(18,24,20,0.85);
}

#cReason:focus {
  outline: none;
  border-color: #e8c247;
  box-shadow: 0 0 0 2px rgba(232,194,71,0.4);
}

/* Text color for selected item */
#cReason option {
  background-color: #1a231e;
  color: #f6f9f8;
}

/* Dropdown list on open (for browsers that support it) */
select#cReason::-webkit-dropdown {
  background-color: rgba(18,24,20,0.95);
  color: #f6f9f8;
}



/* about */

/* ============ ABOUT ============ */
.about-shell { position: relative; }

.about-hero{
  display:grid; grid-template-columns: 1.1fr .9fr;
  gap:18px; padding:18px; border-radius:20px;
  box-shadow: 0 12px 30px rgba(0,0,0,.45);
}
@media (max-width: 980px){ .about-hero{ grid-template-columns:1fr; } }

.about-copy h1{ margin:0 0 8px; font-size:30px; line-height:1.15; }
.about-copy .lead{ margin:0 0 14px; color:#cfe0dc; }
.about-highlights{ display:grid; grid-template-columns:repeat(3,1fr); gap:12px; }
@media (max-width: 780px){ .about-highlights{ grid-template-columns:1fr; } }
.hl{ background: rgba(12,16,14,.55); border:1px solid rgba(255,255,255,.12); border-radius:14px; padding:12px; }
.hl-title{ font-weight:800; margin-bottom:6px; }

.about-media img{
  width:100%; height:100%; min-height:280px; object-fit:cover;
  border-radius:18px; border:1px solid rgba(255,255,255,.12);
}

/* Values */
.about-values{ margin-top:16px; padding:16px; border-radius:16px; }
.about-values h2{ margin:0 0 10px; }
.values-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:12px; }
@media (max-width: 780px){ .values-grid{ grid-template-columns:1fr; } }
.vcard{
  background: rgba(12,16,14,.55);
  border:1px solid rgba(255,255,255,.12);
  border-radius:14px; padding:14px;
}
.vcard h3{ margin:0 0 6px; }

/* Testimonials */
.testimonials{ margin-top:16px; padding:16px; border-radius:16px; }
.testi-head{ display:flex; align-items:center; justify-content:space-between; margin-bottom:8px; }
.testi-nav{ display:flex; gap:8px; }
.testi-btn{
  appearance:none; border:1px solid rgba(255,255,255,.2);
  background: rgba(255,255,255,.08); color:#fff; padding:6px 10px; border-radius:10px; cursor:pointer;
}

.testi-viewport{
  overflow:hidden; border-radius:12px; border:1px solid rgba(255,255,255,.1);
  background: rgba(0,0,0,.15);
}
.testi-rail{
  display:flex; gap:12px; padding:10px; overflow-x:auto;
  scroll-snap-type:x mandatory; scroll-behavior:smooth;
}
.testi-card{
  min-width: clamp(260px, 40vw, 420px);
  background: rgba(18,24,20,.72);
  border:1px solid rgba(255,255,255,.14);
  border-radius:12px; padding:14px;
  box-shadow: 0 8px 20px rgba(0,0,0,.35);
  scroll-snap-align:start;
}
.testi-meta{ display:flex; gap:10px; align-items:center; margin-bottom:8px; }
.testi-meta .avatar{
  width:40px; height:40px; border-radius:50%;
  background: var(--img, url('assets/avatars/default.jpg')) center/cover no-repeat;
  border:1px solid rgba(255,255,255,.18);
}
.testi-card .name{ font-weight:700; }
.testi-card .stars{ color:#f7d86b; letter-spacing:1px; }
.testi-card .quote{ margin:6px 0 8px; line-height:1.5; color:#eaf2ef; }
.tags{ display:flex; gap:6px; flex-wrap:wrap; }
.tag{
  font-size:12px; padding:4px 8px; border-radius:999px;
  background: rgba(255,255,255,.08); border:1px solid rgba(255,255,255,.16);
}

/* CTA */
.about-cta{ margin-top:16px; text-align:center; padding:18px; border-radius:16px; }
.about-cta h2{ margin:0 0 6px; }
.about-cta p{ margin:0 0 12px; color:#cfe0dc; }
.about-cta .cta-row{ display:flex; gap:10px; justify-content:center; flex-wrap:wrap; }


/* Mobile nav slide-over (patch) */
@media (max-width: 900px){
  .nav { position: relative; z-index: 50; }
  .nav-burger{ display:inline-flex; gap:6px; flex-direction:column; justify-content:center;
    width:42px; height:42px; border:1px solid rgba(255,255,255,.18);
    background: rgba(0,0,0,.25); border-radius:10px; cursor:pointer; position:relative; z-index:60;
  }
  .nav-burger span{ display:block; width:22px; height:2px; background:#fff; border-radius:2px;
    margin:0 auto; transition:transform .25s, opacity .2s;
  }
  .nav-burger.is-open span:nth-child(1){ transform: translateY(6px) rotate(45deg); }
  .nav-burger.is-open span:nth-child(2){ opacity:0; }
  .nav-burger.is-open span:nth-child(3){ transform: translateY(-6px) rotate(-45deg); }

  /* Panel */
  .nav-links{
    list-style:none; margin:0; padding:16px;
    position: fixed; top:0; right:0; bottom:0; width:min(84vw, 320px);
    transform: translateX(100%); transition: transform .28s ease;
    background: rgba(18,24,20,.95); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
    border-left: 1px solid rgba(255,255,255,.12);
    overflow-y:auto; z-index:55;
  }
  .nav-links.is-open{ transform: translateX(0); }
  .nav-links li{ margin:8px 0; }
  .nav-links .btn-nav{ display:block; padding:12px 10px; border-radius:10px; }

  body.menu-open{ overflow:hidden; } /* lock background scroll */
}

/* Desktop stays inline */
@media (min-width: 901px){
  .nav-burger{ display:none !important; }
  .nav-links{ display:flex !important; gap:10px; position:static; transform:none !important; background:none; border:0; }
}
