@layer sections {
  .mcb-footer {
    --mcb-green: #176B52;
    --mcb-green-deep: #0F4D3B;
    --mcb-mint: #EAF7F1;
    --mcb-cream: #FFFDF8;
    --mcb-blush: #F9E8E4;
    --mcb-rose: #E86F86;
    --mcb-gold: #B98E60;
    background:
      radial-gradient(circle at 7% 17%, rgba(232,111,134,.09), transparent 22%),
      radial-gradient(circle at 93% 14%, rgba(23,107,82,.08), transparent 22%),
      linear-gradient(180deg, #fffdf9 0%, #fffaf4 100%);
    color: #173B31;
    border-top: 1px solid rgba(23,107,82,.14);
    overflow: hidden;
  }

  .mcb-footer__shell {
    max-width: 1500px;
    margin: 0 auto;
    padding: 46px 5vw 20px;
  }

  .mcb-footer__main {
    display: grid;
    grid-template-columns: 1.08fr .82fr .9fr;
    align-items: center;
    gap: clamp(28px, 5vw, 78px);
  }

  .mcb-footer__brand {
    text-align: right;
    min-width: 0;
  }

  .mcb-footer__brand-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--mcb-green-deep);
  }

  .mcb-footer__brand-name {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: clamp(34px, 4vw, 58px);
    font-weight: 700;
    letter-spacing: -.03em;
    line-height: 1;
  }

  .mcb-footer__brand-heart,
  .mcb-footer__bottom-heart {
    color: var(--mcb-rose);
    font-size: 32px;
    transform: rotate(-10deg);
  }

  .mcb-footer__tagline {
    margin: 18px 0 0;
    font-size: clamp(25px, 2.6vw, 40px);
    font-weight: 500;
    color: #6F644F;
    line-height: 1.35;
  }

  .mcb-footer__tagline span { color: var(--mcb-rose); }

  .mcb-footer__description {
    margin: 16px 0 26px;
    font-size: clamp(16px, 1.35vw, 21px);
    color: #263F37;
  }

  .mcb-footer__social {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
  }

  .mcb-social {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 7px;
    color: #193B31;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: transform .18s ease, opacity .18s ease;
  }

  .mcb-social:hover { transform: translateY(-3px); }

  .mcb-social svg {
    width: 29px;
    height: 29px;
    color: white;
  }

  .mcb-social::before {
    content: '';
    position: absolute;
  }

  .mcb-social > svg {
    box-sizing: content-box;
    padding: 15px;
    border-radius: 50%;
    box-shadow: 0 8px 22px rgba(16, 58, 46, .12);
  }

  .mcb-social--instagram > svg {
    background: linear-gradient(135deg, #FEDA75 0%, #D62976 45%, #4F5BD5 100%);
  }
  .mcb-social--tiktok > svg { background: #101516; }
  .mcb-social--facebook > svg { background: #3478D4; }

  .mcb-footer__links {
    border-inline: 1px solid rgba(185,142,96,.27);
    padding-inline: clamp(22px, 3vw, 48px);
  }

  .mcb-footer__links h3 {
    width: fit-content;
    margin: 0 0 18px auto;
    padding: 8px 24px;
    border-radius: 999px;
    background: linear-gradient(135deg, #E6F1E9, #F1F6ED);
    color: var(--mcb-green-deep);
    font-size: clamp(21px, 1.7vw, 28px);
  }

  .mcb-footer__links a {
    display: grid;
    grid-template-columns: 48px 1fr 20px;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    text-decoration: none;
    color: #173B31;
    font-size: clamp(17px, 1.3vw, 21px);
    border-bottom: 1px solid rgba(23,107,82,.06);
  }

  .mcb-footer__link-icon {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: linear-gradient(135deg, #FCECE5, #EFF7EF);
    color: var(--mcb-green-deep);
  }

  .mcb-footer__chevron {
    font-size: 27px;
    color: var(--mcb-green-deep);
  }

  .mcb-footer__visual {
    min-width: 0;
  }

  .mcb-footer__visual-card {
    position: relative;
    min-height: 320px;
    max-width: 430px;
    margin-inline: auto;
  }

  .mcb-footer__spiral-book,
  .mcb-footer__sample-sheet {
    position: absolute;
    border-radius: 10px;
    background: white;
    box-shadow: 0 18px 36px rgba(21, 67, 54, .18);
    overflow: hidden;
  }

  .mcb-footer__spiral-book {
    width: 49%;
    right: 10%;
    top: 8px;
    transform: rotate(-7deg);
    z-index: 3;
    padding-left: 10px;
  }

  .mcb-footer__spiral-book img,
  .mcb-footer__sample-sheet img {
    width: 100%;
    height: auto;
    display: block;
  }

  .mcb-footer__spiral {
    position: absolute;
    left: -1px;
    top: 4%;
    width: 17px;
    height: 92%;
    z-index: 5;
    background:
      radial-gradient(circle at 8px 8px, transparent 0 4px, #242A28 4.5px 6px, transparent 6.5px) 0 0/16px 20px repeat-y;
    filter: drop-shadow(1px 1px 1px rgba(0,0,0,.15));
  }

  .mcb-footer__sample-sheet {
    width: 43%;
    left: 10%;
    top: 38px;
    transform: rotate(8deg);
    z-index: 1;
    border: 8px solid white;
  }

  .mcb-footer__pencils {
    position: absolute;
    right: 2%;
    bottom: 4%;
    z-index: 4;
    display: flex;
    gap: 6px;
    transform: rotate(-20deg);
  }

  .mcb-footer__pencils i {
    display: block;
    width: 8px;
    height: 92px;
    border-radius: 8px 8px 2px 2px;
    box-shadow: inset 0 0 0 1px rgba(0,0,0,.08), 0 2px 3px rgba(0,0,0,.08);
  }
  .mcb-footer__pencils i:nth-child(1) { background: #E76F51; }
  .mcb-footer__pencils i:nth-child(2) { background: #2A9D8F; }
  .mcb-footer__pencils i:nth-child(3) { background: #E9C46A; }

  .mcb-footer__trust {
    margin-top: 34px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    background: rgba(255,255,255,.82);
    border: 1px solid rgba(23,107,82,.16);
    border-radius: 22px;
    box-shadow: 0 10px 30px rgba(22, 82, 64, .07);
  }

  .mcb-footer__trust-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: 82px;
    padding: 16px 20px;
    font-size: clamp(15px, 1.25vw, 20px);
    text-align: center;
  }

  .mcb-footer__trust-item + .mcb-footer__trust-item {
    border-inline-start: 1px solid rgba(23,107,82,.14);
  }

  .mcb-footer__trust-icon {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    border-radius: 50%;
    background: linear-gradient(135deg, #FBEAE7, #E6F3ED);
    font-size: 24px;
  }

  .mcb-footer__bottom {
    margin-top: 22px;
    padding-top: 18px;
    border-top: 1px solid rgba(185,142,96,.32);
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: center;
    color: #6B716E;
    font-size: 14px;
  }

  @media (max-width: 980px) {
    .mcb-footer__main {
      grid-template-columns: 1fr 1fr;
    }
    .mcb-footer__visual { grid-column: 1 / -1; }
    .mcb-footer__visual-card { min-height: 300px; }
    .mcb-footer__links { border-inline-end: 0; }
  }

  @media (max-width: 680px) {
    .mcb-footer__shell { padding: 34px 18px 90px; }
    .mcb-footer__main { grid-template-columns: 1fr; gap: 30px; }
    .mcb-footer__brand { text-align: center; }
    .mcb-footer__social { justify-content: center; }
    .mcb-footer__links {
      border: 0;
      padding: 0;
      background: rgba(255,255,255,.68);
      border-radius: 20px;
      padding: 18px;
    }
    .mcb-footer__links h3 { margin: 0 auto 12px; }
    .mcb-footer__visual { grid-column: auto; }
    .mcb-footer__visual-card { min-height: 260px; max-width: 350px; }
    .mcb-footer__trust { grid-template-columns: 1fr; }
    .mcb-footer__trust-item { min-height: 62px; justify-content: flex-start; text-align: right; }
    .mcb-footer__trust-item + .mcb-footer__trust-item { border-inline-start: 0; border-top: 1px solid rgba(23,107,82,.12); }
    .mcb-footer__tagline { font-size: 28px; }
    .mcb-footer__description { font-size: 16px; }
    .mcb-footer__spiral-book { width: 48%; right: 9%; }
    .mcb-footer__sample-sheet { width: 42%; left: 8%; }
  }
}
@media (max-width:680px){
  .mcb-footer__shell{padding:26px 14px 82px!important}
  .mcb-footer__main{gap:20px!important}
  .mcb-footer__brand-name{font-size:36px!important}
  .mcb-footer__tagline{font-size:23px!important;margin-top:12px!important}
  .mcb-footer__description{font-size:14px!important;margin:10px 0 18px!important}
  .mcb-social>svg{padding:10px!important;width:24px!important;height:24px!important}
  .mcb-social{font-size:11px!important;gap:5px!important}
  .mcb-footer__links{padding:12px 14px!important;border-radius:14px!important}
  .mcb-footer__links h3{font-size:19px!important;margin-bottom:7px!important;padding:6px 18px!important}
  .mcb-footer__links a{grid-template-columns:34px 1fr 16px!important;gap:8px!important;padding:8px 0!important;font-size:14px!important}
  .mcb-footer__link-icon{width:32px!important;height:32px!important}
  .mcb-footer__visual-card{min-height:190px!important;max-width:300px!important}
  .mcb-footer__pencils i{height:58px!important;width:6px!important}
  .mcb-footer__trust{grid-template-columns:repeat(3,1fr)!important;margin-top:14px!important;border-radius:14px!important}
  .mcb-footer__trust-item{min-height:72px!important;justify-content:center!important;text-align:center!important;flex-direction:column!important;gap:4px!important;padding:8px 5px!important;font-size:10px!important}
  .mcb-footer__trust-item+.mcb-footer__trust-item{border-top:0!important;border-inline-start:1px solid rgba(23,107,82,.12)!important}
  .mcb-footer__trust-icon{width:34px!important;height:34px!important;font-size:17px!important}
  .mcb-footer__bottom{margin-top:14px!important;padding-top:12px!important;font-size:11px!important}
}

/* V25 footer polish */
.mcb-footer__trust-icon svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
@media(max-width:680px){.mcb-footer__shell{padding-top:22px!important}.mcb-footer__brand-name{font-size:34px!important}.mcb-footer__tagline{font-size:21px!important}.mcb-footer__description{font-size:13px!important}.mcb-footer__links{box-shadow:0 7px 20px rgba(18,63,50,.035)}.mcb-footer__visual-card{min-height:175px!important}.mcb-footer__trust{margin-top:10px!important}.mcb-footer__bottom{margin-top:10px!important}}

/* v33: slightly larger social icons */
.mcb-social > svg{
  width:32px!important;
  height:32px!important;
  padding:16px!important;
}
@media (max-width:680px){
  .mcb-social>svg{
    width:30px!important;
    height:30px!important;
    padding:12px!important;
  }
  .mcb-social{
    font-size:12px!important;
    gap:6px!important;
  }
  .mcb-footer__social{
    gap:16px!important;
  }
}
