/* ============================================================
   CasketMart — Homepage (Direction B)
   assets/css/home.css
   ============================================================ */

/* ── HERO B ── */
.cm-heroB {
  background: var(--teal);
  padding: 64px 0 0;
  position: relative;
  overflow: hidden;
}
.cm-heroB__inner {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 54px;
  align-items: center;
  padding-bottom: 56px;
}
.cm-heroB__copy .eyebrow { margin-bottom: 22px; }
.cm-heroB__copy h1 { margin: 0 0 22px; }
.cm-heroB__lede {
  font-size: 18px;
  line-height: 1.6;
  color: #B7CFC9;
  max-width: 480px;
  margin-bottom: 30px;
}
.cm-heroB__cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 30px;
}
.cm-heroB__quick {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.cm-hb-quick {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,.06);
  border: 1px solid var(--teal-line);
  color: #E7F0EE;
  font-size: 14px;
  font-weight: 600;
  padding: 9px 15px;
  border-radius: 999px;
  transition: background .15s;
  text-decoration: none;
}
.cm-hb-quick span { color: var(--gold-bright); font-weight: 500; }
.cm-hb-quick:hover { background: rgba(255,255,255,.12); color: #fff; }

/* Hero card (right side) */
.cm-heroB__media { display: grid; place-items: center; }
.cm-heroB__card {
  position: relative;
  background: var(--cream);
  border-radius: var(--r-xl);
  padding: 30px 30px 22px;
  width: 100%;
  max-width: 420px;
  box-shadow: var(--sh-lg);
}
.cm-hb-tag {
  position: absolute;
  top: 18px; left: 18px;
  background: var(--gold);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 999px;
}
.cm-heroB__prod { padding: 18px 0; }
.cm-heroB__prod img {
  width: 100%;
  mix-blend-mode: multiply;
  filter: drop-shadow(0 20px 26px rgba(40,30,12,.18));
}
.cm-hb-info {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  border-top: 1px solid var(--line);
  padding-top: 18px;
}
.cm-hb-info-text { display: flex; flex-direction: column; gap: 2px; }
.cm-hb-info-line {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--gold);
}
.cm-hb-info-name {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 500;
  color: var(--ink);
}
.cm-hb-info strong {
  font-family: var(--serif);
  font-size: 26px;
  color: var(--ink);
}

/* Hero stats strip */
.cm-heroB__stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  border-top: 1px solid var(--teal-line);
  padding: 26px 0 30px;
}
.cm-hb-stat { display: flex; flex-direction: column; gap: 3px; }
.cm-hb-stat strong {
  font-family: var(--serif);
  font-size: 30px;
  color: #fff;
  font-weight: 600;
}
.cm-hb-stat span { font-size: 13.5px; color: #9DBAB4; }

@media (max-width: 900px) {
  .cm-heroB__inner { grid-template-columns: 1fr; gap: 32px; }
  .cm-heroB__card  { max-width: 100%; }
  .cm-heroB__stats { grid-template-columns: 1fr 1fr; gap: 20px; }
}

/* ── SHOP BY CATEGORY ── */
.cm-cat-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 34px;
}
.cm-cat-head h2 { font-size: clamp(28px, 3.2vw, 40px); margin-top: 12px; }
.cm-cat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.cm-cat-tile {
  text-align: left;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  cursor: pointer;
  transition: transform .2s, box-shadow .25s, border-color .2s;
  text-decoration: none;
  color: inherit;
  display: block;
}
.cm-cat-tile:hover {
  transform: translateY(-4px);
  box-shadow: var(--sh-lg);
  border-color: var(--line-2);
  color: inherit;
}
.cm-cat-media {
  background: linear-gradient(180deg, #fff, var(--cream));
  padding: 14px;
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.cm-cat-media img {
  max-height: 100%;
  width: auto;
  mix-blend-mode: multiply;
}
.cm-cat-info { padding: 18px 20px 20px; }
.cm-cat-info h3 { font-size: 19px; margin-bottom: 6px; }
.cm-cat-info p  { font-size: 14px; color: var(--ink-2); line-height: 1.5; margin-bottom: 10px; }
.cm-cat-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  color: var(--ink-3);
  font-weight: 600;
}
.cm-cat-meta .from { color: var(--gold); }

@media (max-width: 960px) { .cm-cat-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .cm-cat-grid { grid-template-columns: 1fr; } }

/* ── PRODUCT CARD (shared, used on home + shop) ── */
.cm-pcard {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  transition: transform .2s ease, box-shadow .25s ease, border-color .2s;
  text-decoration: none;
  color: inherit;
}
.cm-pcard:hover {
  transform: translateY(-4px);
  box-shadow: var(--sh-lg);
  border-color: var(--line-2);
  color: inherit;
}
.cm-pcard-media {
  position: relative;
  padding: 18px 18px 6px;
  background: linear-gradient(180deg, #fff, var(--cream));
  min-height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cm-pcard-media img {
  max-height: 180px;
  width: auto;
  mix-blend-mode: multiply;
  filter: drop-shadow(0 8px 16px rgba(40,30,12,.12));
}
.cm-pcard-tag {
  position: absolute;
  top: 14px; left: 14px;
  z-index: 2;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .04em;
  padding: 5px 11px;
  border-radius: 999px;
  background: var(--teal);
  color: #fff;
  white-space: nowrap;
}
.cm-pcard-tag.is-save {
  background: var(--gold-tint);
  color: var(--gold-deep);
}
.cm-pcard-body {
  padding: 6px 20px 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.cm-pcard-line {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--gold);
}
.cm-pcard-name {
  font-family: var(--serif);
  font-size: 22px;
  margin: 5px 0 4px;
  color: var(--ink);
}
.cm-pcard-meta { font-size: 13px; color: var(--ink-3); margin-bottom: 16px; }
.cm-pcard-foot {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.cm-pcard-price {
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 600;
  color: var(--ink);
}
.cm-pcard-add {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 14px;
  font-weight: 600;
  color: var(--teal);
  border: 1.5px solid var(--line-2);
  padding: 9px 16px;
  border-radius: 999px;
  transition: all .15s;
  background: none;
  cursor: pointer;
  font-family: var(--sans);
}
.cm-pcard-add:hover {
  background: var(--teal);
  color: #fff;
  border-color: var(--teal);
}

/* Product grid */
.cm-prod-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
@media (max-width: 960px) { .cm-prod-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .cm-prod-grid { grid-template-columns: 1fr; } }

/* ── PRICING COMPARISON ── */
.cm-compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.cm-compare__copy h2 { color: #fff; font-size: clamp(28px, 3.2vw, 40px); margin: 14px 0 20px; }
.cm-compare__copy h2 em { font-style: italic; color: var(--gold-bright); }
.cm-compare__copy p { color: #B0CAC5; font-size: 17px; line-height: 1.65; margin-bottom: 22px; }
.cm-compare__cta { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 28px; }

.cm-compare__card {
  background: var(--paper);
  border-radius: var(--r-xl);
  padding: 28px;
  box-shadow: var(--sh-lg);
}
.cm-compare__card h3 {
  font-size: 15px;
  font-weight: 700;
  color: var(--ink-2);
  margin-bottom: 24px;
  letter-spacing: .04em;
  text-transform: uppercase;
  font-family: var(--sans);
}
.cm-compare-row { margin-bottom: 22px; }
.cm-compare-row:last-child { margin-bottom: 0; }
.cm-compare-label {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink-2);
  margin-bottom: 10px;
}
.cm-compare-bars { display: flex; flex-direction: column; gap: 6px; }
.cm-bar-wrap { display: flex; align-items: center; gap: 10px; }
.cm-bar-lbl {
  font-size: 12px;
  font-weight: 700;
  width: 100px;
  flex-shrink: 0;
  color: var(--ink-2);
}
.cm-bar-track {
  flex: 1;
  height: 8px;
  background: var(--cream-2);
  border-radius: 999px;
  overflow: hidden;
}
.cm-bar-fill {
  height: 100%;
  border-radius: 999px;
  width: 0; /* animated via JS */
  transition: width 1.1s cubic-bezier(.4,0,.2,1);
}
.cm-bar-fill.cm { background: var(--teal); }
.cm-bar-fill.fh { background: var(--cream-3); border: 1px solid var(--line-2); }
.cm-bar-val {
  font-size: 13px;
  font-weight: 700;
  width: 70px;
  text-align: right;
  flex-shrink: 0;
}
.cm-bar-val.cm { color: var(--teal); }
.cm-bar-val.fh { color: var(--ink-3); }
.cm-compare-save {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
  font-size: 13px;
  font-weight: 700;
  color: var(--gold-deep);
  background: var(--gold-tint);
  padding: 5px 12px;
  border-radius: 999px;
}
.cm-compare-foot {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  color: var(--ink-3);
  line-height: 1.5;
}

@media (max-width: 860px) {
  .cm-compare { grid-template-columns: 1fr; gap: 36px; }
}

/* ── VALUE PROPS ── */
.cm-vp-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.cm-vp-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 30px 26px;
  box-shadow: var(--sh-sm);
}
.cm-vp-ic {
  width: 54px; height: 54px;
  border-radius: 14px;
  background: var(--gold-tint);
  color: var(--gold-deep);
  display: grid;
  place-items: center;
  margin-bottom: 20px;
}
.cm-vp-ic svg { width: 26px; height: 26px; }
.cm-vp-card h3 { font-size: 21px; margin-bottom: 10px; }
.cm-vp-card p  { font-size: 14.5px; line-height: 1.6; color: var(--ink-2); }

@media (max-width: 960px) { .cm-vp-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .cm-vp-grid { grid-template-columns: 1fr; } }

/* ── GOOGLE REVIEWS ── */
.cm-reviews-head {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}
.cm-reviews-score {
  display: flex;
  align-items: baseline;
  gap: 6px;
}
.cm-reviews-score strong {
  font-family: var(--serif);
  font-size: 52px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1;
}
.cm-reviews-meta { display: flex; flex-direction: column; gap: 4px; }
.cm-reviews-meta p { font-size: 14px; color: var(--ink-2); }
.cm-reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.cm-review-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 24px;
  box-shadow: var(--sh-sm);
}
.cm-review-top {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}
.cm-review-avatar {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--teal-tint);
  color: var(--teal);
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 15px;
  flex-shrink: 0;
}
.cm-review-name { font-weight: 600; font-size: 15px; color: var(--ink); }
.cm-review-loc  { font-size: 13px; color: var(--ink-3); }
.cm-review-text {
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--ink-2);
  font-style: italic;
  font-family: var(--serif);
}

@media (max-width: 860px) { .cm-reviews-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .cm-reviews-grid { grid-template-columns: 1fr; } }

/* ── SUPPORT CTA ── */
.cm-support {
  background: linear-gradient(135deg, var(--teal) 0%, var(--teal-2) 100%);
  border-radius: var(--r-xl);
  padding: 52px 56px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 48px;
  align-items: center;
}
.cm-support h2 { color: #fff; font-size: clamp(26px, 3vw, 36px); margin-bottom: 12px; }
.cm-support__sub { font-size: 16px; color: #9DBAB4; margin-bottom: 24px; }
.cm-support__phones {
  background: rgba(255,255,255,.06);
  border: 1px solid var(--teal-line);
  border-radius: var(--r-lg);
  padding: 24px 28px;
  min-width: 240px;
  flex-shrink: 0;
}
.cm-support__phones h4 {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #9DBAB4;
  margin-bottom: 14px;
}
.cm-sp-num {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 600;
  color: #fff;
  display: block;
  text-decoration: none;
  transition: color .15s;
}
.cm-sp-num:hover { color: var(--gold-bright); }
.cm-sp-num.alt { font-size: 17px; color: #C9DAD6; margin-top: 4px; }
.cm-sp-hours {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--teal-line);
  font-size: 13px;
  color: #9DBAB4;
  display: flex;
  align-items: center;
  gap: 7px;
}
.cm-sp-hours svg { color: var(--gold-bright); width: 15px; height: 15px; }

@media (max-width: 820px) {
  .cm-support { grid-template-columns: 1fr; padding: 36px 28px; gap: 28px; }
  .cm-support__phones { min-width: 0; }
}

/* ── FAQ ── */
.cm-faq {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 64px;
  align-items: start;
}
.cm-faq__left h2 { font-size: clamp(28px, 3.2vw, 40px); margin-bottom: 16px; }
.cm-faq__left p  { font-size: 16px; color: var(--ink-2); margin-bottom: 28px; }
.cm-faq__items { display: flex; flex-direction: column; }
.cm-faq-item {
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.cm-faq-item:first-child { border-top: 1px solid var(--line); }
.cm-faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  padding: 20px 0;
  font-size: 17px;
  font-weight: 600;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
  background: none;
  border: none;
  font-family: var(--sans);
}
.cm-faq-q:hover { color: var(--gold-deep); }
.cm-faq-chevron {
  width: 24px; height: 24px;
  border-radius: 50%;
  border: 1.5px solid var(--line-2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform .25s, background .2s, border-color .2s;
  color: var(--ink-3);
}
.cm-faq-chevron svg { width: 14px; height: 14px; }
.cm-faq-item.is-open .cm-faq-chevron {
  transform: rotate(180deg);
  background: var(--gold-tint);
  border-color: var(--gold-tint-2);
  color: var(--gold-deep);
}
.cm-faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease, padding .35s ease;
}
.cm-faq-a-inner {
  font-size: 15.5px;
  line-height: 1.7;
  color: var(--ink-2);
  padding-bottom: 20px;
}
.cm-faq-item.is-open .cm-faq-a { max-height: 400px; }

@media (max-width: 820px) {
  .cm-faq { grid-template-columns: 1fr; gap: 32px; }
}

/* ── ECO BAND ── */
.cm-eco {
  background: var(--cream-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.cm-eco__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 28px 0;
  text-align: center;
}
.cm-eco__ic {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: #E8F5EE;
  color: var(--green);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.cm-eco__ic svg { width: 24px; height: 24px; }
.cm-eco__text {
  font-size: 17px;
  font-weight: 600;
  color: var(--ink);
  font-family: var(--serif);
}
.cm-eco__text em { font-style: italic; color: var(--green); }
