﻿.site-footer {
  --footer-bg: #0d3437;
  --footer-bg-deep: #092d30;
  --footer-line: rgba(177, 214, 196, .2);
  --footer-text: #e8f0ec;
  --footer-muted: #b9cbc5;
  --footer-green: #79bd08;
  overflow: hidden;
  background: radial-gradient(ellipse at 77% 30%, #164448 0, var(--footer-bg) 52%, #0b3033 100%);
  color: var(--footer-text);
  font-family: "Open Sans", sans-serif;
}

.footer-newsletter-wrap { padding: 14px 2%; }
.footer-newsletter { display: grid; grid-template-columns: 84px minmax(310px, 1fr) minmax(350px, .95fr) minmax(210px, .58fr); align-items: center; gap: 24px; min-height: 112px; padding: 20px 34px; border: 1px solid rgba(142, 207, 166, .3); border-radius: 19px; background: rgba(0, 48, 46, .66); box-shadow: inset 0 1px rgba(255,255,255,.04); }
.newsletter-icon { display: grid; width: 70px; height: 70px; place-items: center; border-radius: 50%; background: #1c614a; color: #f8c92e; font-size: 1.8rem; }
.newsletter-copy h2 { margin: 0 0 5px; color: #fff; font-family: "Raleway", serif; font-size: clamp(1.2rem, 2vw, 1.65rem); font-weight: 800; }
.newsletter-copy p { margin: 0; color: var(--footer-text); font-size: .92rem; }
.newsletter-form { display: flex; min-width: 0; height: 54px; align-items: center; overflow: hidden; padding-left: 17px; border-radius: 999px; background: #fff; color: #84928f; }
.newsletter-form > i { flex: 0 0 auto; margin-right: 12px; font-size: 1.1rem; }
.newsletter-form input { width: 100%; min-width: 0; height: 100%; border: 0; outline: 0; color: #243a39; font-size: .88rem; }
.newsletter-form button { align-self: stretch; flex: 0 0 auto; padding: 0 27px; border: 0; border-radius: 999px; background: #70b900; color: #fff; font-weight: 700; }
.newsletter-form button:hover { background: #609f00; }
.newsletter-promise { display: flex; align-items: center; gap: 12px; margin: 0; padding-left: 22px; border-left: 1px solid rgba(214, 235, 223, .35); color: #e7efeb; font-family: Georgia, serif; font-size: .93rem; }
.newsletter-promise i { color: #81ce36; font-size: 1.8rem; }

.footer-main { display: grid; grid-template-columns: 1.2fr 1fr 1.05fr 1fr .85fr; gap: 0; max-width: 1920px; margin: 0 auto; padding: 28px 2.5% 30px; }
.footer-brand, .footer-links, .footer-art { min-width: 0; padding: 0 24px; }
.footer-brand { padding-left: 0; }
.footer-links, .footer-art { border-left: 1px solid var(--footer-line); }
.footer-wordmark { display: flex; align-items: center; color: #f4b51c; font-family: Georgia, serif; font-size: clamp(1.55rem, 2.2vw, 2.2rem); font-weight: 700; letter-spacing: -.06em; line-height: 1; text-decoration: none; white-space: nowrap; }
.footer-wordmark span:last-of-type { color: #75bd08; }
.footer-wordmark i { margin-left: 8px; color: #81ca36; font-size: 1.8rem; }
.footer-wordmark:hover { color: #f4b51c; }
.footer-tagline { margin: 7px 0 18px; color: #e8f0ec; font-family: Georgia, serif; font-size: .94rem; letter-spacing: .2em; }
.footer-brand-copy { max-width: 390px; margin: 0 0 19px; color: var(--footer-muted); font-family: Georgia, serif; font-size: .98rem; line-height: 1.56; }
.footer-social { display: flex; gap: 10px; }
.footer-social span { display: grid; width: 39px; height: 39px; place-items: center; border-radius: 50%; background: #0875df; color: #fff; font-size: 1.05rem; }
.footer-social span:nth-child(2) { background: #071b20; }
.footer-social span:nth-child(3) { background: #e3262e; }
.footer-social span:nth-child(4) { background: #c52b9b; }
.footer-social span:nth-child(5) { background: #0878b9; }
.footer-links h2 { position: relative; min-height: 2.4em; margin: 0 0 17px; padding-bottom: 11px; color: #fff; font-family: Georgia, serif; font-size: clamp(1rem, 1.3vw, 1.25rem); font-weight: 700; line-height: 1.2; white-space: normal; overflow-wrap: anywhere; }
.footer-links h2::after { position: absolute; bottom: 0; left: 0; width: 49px; height: 3px; background: var(--footer-green); content: ""; }
.footer-links > a { display: grid; grid-template-columns: 28px minmax(0, 1fr) 13px; align-items: center; gap: 10px; min-height: 39px; color: #f1f5f3; font-size: .82rem; text-decoration: none; }
.footer-links > a:hover { color: #9cdb42; }
.footer-links > a > i:first-child { font-size: 1.15rem; }
.footer-links > a > i:last-child { color: #b8cbc6; font-size: .62rem; }
.footer-icon-green { color: #78d150; }.footer-icon-gold { color: #ffca24; }.footer-icon-orange { color: #ff8b23; }.footer-icon-gray { color: #b8c8c8; }.footer-icon-blue { color: #28aef1; }.footer-icon-purple { color: #a66af0; }.footer-icon-pink { color: #f45c88; }
.footer-purchase-note { margin: 15px 0 0; color: var(--footer-muted); font-size: .76rem; line-height: 1.55; }
.footer-art { display: flex; flex-direction: column; align-items: center; justify-content: center; padding-right: 0; }
.book-stack { position: relative; display: block; width: min(100%, 270px); height: 220px; flex: 0 0 auto; background: url("../img/footer-book-stack.webp") center / 100% auto no-repeat; filter: drop-shadow(0 12px 10px rgba(0,0,0,.22)); }
.stack-book { position: relative; display: block; width: 138px; height: 27px; margin-top: -3px; border: 2px solid rgba(255,255,255,.35); border-radius: 5px 9px 6px 4px; box-shadow: inset 0 -5px rgba(0,0,0,.15), inset 0 3px rgba(255,255,255,.18); transform: skewY(-5deg); }
.stack-book::after { position: absolute; top: 4px; left: 14px; width: 2px; height: 15px; background: rgba(255,255,255,.6); content: ""; }
.stack-book-green { width: 112px; background: linear-gradient(90deg, #416f53, #8ab678 80%, #34563d); }
.stack-book-orange { width: 145px; background: linear-gradient(90deg, #b95c16, #f2a137 80%, #8c4317); transform: skewY(4deg); }
.stack-book-blue { width: 133px; background: linear-gradient(90deg, #31558e, #7195c7 80%, #233d69); transform: skewY(-3deg); }
.stack-book-purple { width: 150px; background: linear-gradient(90deg, #55477c, #a084ba 80%, #42345f); transform: skewY(3deg); }
.stack-plant { position: absolute; top: -1px; left: 48px; color: #78bd3c; font-size: 2.5rem; transform: rotate(-28deg); }
.stack-plant::after { position: absolute; top: 0; left: 27px; color: #a6d855; content: "\f06c"; font-family: "Font Awesome 5 Free"; font-weight: 900; transform: rotate(55deg); }
.book-stack > .stack-book, .book-stack > .stack-plant { display: none; }
.footer-art > p { margin: 8px 0 12px; color: #edf3f0; font-family: Georgia, serif; font-size: .98rem; font-style: italic; line-height: 1.5; text-align: center; }
.footer-art-rule { width: 50px; height: 3px; background: var(--footer-green); }

.footer-benefits { border-top: 1px solid var(--footer-line); border-bottom: 1px solid var(--footer-line); background: rgba(1, 31, 34, .25); }
.footer-benefits > .container-fluid { display: grid; grid-template-columns: repeat(4, 1fr); max-width: 1920px; margin: 0 auto; padding: 20px 2.5%; }
.benefit-item { display: flex; align-items: center; justify-content: center; gap: 16px; min-width: 0; padding: 0 18px; border-right: 1px solid rgba(219, 237, 227, .24); }
.benefit-item:first-child { justify-content: flex-start; padding-left: 0; }
.benefit-item:last-child { justify-content: flex-end; padding-right: 0; border-right: 0; }
.benefit-icon { display: grid; width: 56px; height: 56px; flex: 0 0 56px; place-items: center; border-radius: 50%; background: #66aa00; color: #fff; font-size: 1.4rem; }
.benefit-item p { display: grid; gap: 2px; margin: 0; }
.benefit-item strong { color: #fff; font-family: Georgia, serif; font-size: .98rem; }
.benefit-item p span { color: #d5e1dc; font-size: .84rem; line-height: 1.45; }
.footer-bottom > .container-fluid { display: flex; max-width: 1920px; min-height: 62px; align-items: center; justify-content: space-between; gap: 20px; margin: 0 auto; padding: 12px 2.5%; }
.footer-bottom p { margin: 0; color: #f1f4f2; font-family: Georgia, serif; font-size: .88rem; }
.footer-bottom p a { color: #7fbe13; font-weight: 700; text-decoration: none; }
.footer-bottom nav { display: flex; flex-wrap: wrap; align-items: center; gap: 0; }
.footer-bottom nav a { padding: 0 15px; border-right: 1px solid rgba(222, 238, 228, .55); color: #f0f3f1; font-family: Georgia, serif; font-size: .82rem; text-decoration: none; white-space: nowrap; }
.footer-bottom nav a:hover { color: #9cdb42; }
.footer-bottom nav a:last-child { padding-right: 0; border: 0; }

@media (max-width: 1199.98px) {
  .footer-newsletter { grid-template-columns: 64px 1fr 1.1fr; gap: 18px; }
  .newsletter-icon { width: 58px; height: 58px; font-size: 1.45rem; }
  .newsletter-promise { grid-column: 2 / -1; padding: 0; border: 0; }
  .footer-main { grid-template-columns: 1.2fr 1fr 1fr; row-gap: 32px; }
  
  .footer-art { min-height: 190px; }
  .footer-bottom > .container-fluid { align-items: flex-start; flex-direction: column; }
  .footer-bottom nav a:first-child { padding-left: 0; }
}
@media (max-width: 767.98px) {
  .footer-newsletter-wrap { padding: 12px; }
  .footer-newsletter { grid-template-columns: 52px 1fr; padding: 18px; }
  .newsletter-icon { width: 48px; height: 48px; font-size: 1.2rem; }
  .newsletter-copy h2 { font-size: 1.15rem; }
  .newsletter-copy p { font-size: .8rem; line-height: 1.45; }
  .newsletter-form, .newsletter-promise { grid-column: 1 / -1; }
  .newsletter-form { height: 48px; }
  .newsletter-form button { padding: 0 17px; font-size: .82rem; }
  .newsletter-promise { font-size: .8rem; }
  .newsletter-promise i { font-size: 1.35rem; }
  .footer-main { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 0; padding: 28px 20px; }
  .footer-brand { grid-column: 1 / -1; padding: 0 0 24px; border-bottom: 1px solid var(--footer-line); }
  .footer-brand-copy { max-width: 520px; }
  .footer-links, .footer-art { padding: 0 12px; }
  .footer-links { padding-left: 0; border-left: 0; }
  .footer-links h2 { white-space: normal; }
  .footer-links > a { grid-template-columns: 23px minmax(0, 1fr) 10px; gap: 7px; font-size: .75rem; }
  .footer-art { grid-column: 1 / -1; min-height: 200px; border-top: 1px solid var(--footer-line); border-left: 0; }
  .footer-benefits > .container-fluid { grid-template-columns: repeat(2, 1fr); gap: 0; padding: 10px 16px; }
  .benefit-item, .benefit-item:first-child, .benefit-item:last-child { justify-content: flex-start; min-height: 82px; padding: 10px; border-right: 0; }
  .benefit-item:nth-child(odd) { border-right: 1px solid rgba(219, 237, 227, .2); }
  .benefit-item:nth-child(-n+2) { border-bottom: 1px solid rgba(219, 237, 227, .2); }
  .benefit-icon { width: 42px; height: 42px; flex-basis: 42px; font-size: 1.05rem; }
  .benefit-item strong { font-size: .78rem; }
  .benefit-item p span { font-size: .7rem; }
  .footer-bottom > .container-fluid { padding: 16px 20px; }
  .footer-bottom nav { gap: 8px 0; }
  .footer-bottom nav a { padding: 0 9px; font-size: .72rem; }
}
@media (max-width: 420px) {
  .footer-main { grid-template-columns: 1fr; }
  .footer-links { padding: 0; border-left: 0; }
  .footer-art { grid-column: auto; }
  .footer-benefits > .container-fluid { grid-template-columns: 1fr; }
  .benefit-item, .benefit-item:first-child, .benefit-item:last-child { border-right: 0; border-bottom: 1px solid rgba(219, 237, 227, .2); }
  .benefit-item:last-child { border-bottom: 0; }
  .newsletter-form { padding-left: 12px; }
  .newsletter-form > i { margin-right: 8px; }
  .newsletter-form input { font-size: .74rem; }
  .newsletter-form button { padding: 0 12px; font-size: .74rem; }
}
