/* © 2025-2026 RacketService Dublin (racketservicedublin.com). All rights reserved.
   Shared site parts used on every page: phone menu, footer, cookie notice. */

/* ---------- phone menu ---------- */
.m-menu.m-menu {
  position: fixed; inset: 0; z-index: 295; overflow-y: auto; -webkit-overflow-scrolling: touch;
  flex-direction: column; justify-content: flex-start; align-items: stretch; gap: 0;
  background: #fbfbf9;
  padding: calc(64px + env(safe-area-inset-top, 0px) + clamp(28px, 6vh, 56px)) max(28px, env(safe-area-inset-right, 0px)) calc(28px + env(safe-area-inset-bottom, 0px)) max(28px, env(safe-area-inset-left, 0px));
}
.sn-open .site-nav { z-index: 330; }
.m-eye { margin: 0 0 18px; font: 600 11px/1 'DM Sans', system-ui, sans-serif; letter-spacing: .2em; text-transform: uppercase; color: #8f9a93; }
.m-list { list-style: none; margin: 0; padding: 0; }
.m-list li { animation: m-in .55s cubic-bezier(.2, .7, .2, 1) both; }
.m-list li:nth-child(2) { animation-delay: .04s; }
.m-list li:nth-child(3) { animation-delay: .08s; }
.m-list li:nth-child(4) { animation-delay: .12s; }
.m-list li:nth-child(5) { animation-delay: .16s; }
.m-list li:nth-child(6) { animation-delay: .2s; }
.m-menu .m-list a {
  display: block; width: auto; margin: 0; padding: 12px 0; border: 0; background: none;
  font-family: 'Barlow Condensed', 'Arial Narrow', sans-serif; font-weight: 300; font-size: 34px; line-height: 1;
  letter-spacing: .015em; text-transform: uppercase; color: #111a14; text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}
.m-n, .m-go { display: none !important; }
.m-n { flex: 0 0 22px; align-self: flex-start; margin-top: 3px; font: 500 10.5px/1 'DM Sans', system-ui, sans-serif; letter-spacing: .08em; color: #a3ada6; }
.m-t { flex: 1 1 auto; min-width: 0; }
.m-go { flex: 0 0 auto; width: 18px; height: 18px; color: #c3cac5; transition: transform .25s ease, color .25s ease; }
.m-menu .m-list a:hover .m-go, .m-menu .m-list a:active .m-go { transform: translateX(3px); color: #1f7a4e; }
.m-menu .m-list a.is-active { color: #1f7a4e; }
.m-menu .m-list a.is-active .m-n { color: #1f7a4e; }
.m-foot { margin-top: auto; padding-top: 36px; display: grid; gap: 14px; animation: m-in .55s .22s cubic-bezier(.2, .7, .2, 1) both; }
.m-menu .m-foot .m-cta {
  display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; height: 54px; margin: 0; padding: 0;
  border: 0; border-radius: 100px; background: #111a14; color: #fff !important; text-decoration: none; text-transform: none;
  font: 600 15px/1 'DM Sans', system-ui, sans-serif; letter-spacing: .01em;
}
.m-cta svg { width: 18px; height: 18px; flex: 0 0 auto; }
.m-meta { margin: 0; text-align: center; font: 400 12.5px/1.6 'DM Sans', system-ui, sans-serif; letter-spacing: .02em; color: #8f9a93; }
@keyframes m-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .m-list li, .m-foot { animation: none; } }
@media (max-height: 640px) { .m-menu .m-list a { font-size: 28px; padding: 9px 0; } }

/* ---------- footer ---------- */
.site-foot {
  background: #111a14; color: rgba(255, 255, 255, .65); font-family: 'DM Sans', system-ui, sans-serif;
  padding: 4rem max(1.25rem, env(safe-area-inset-right, 0px)) calc(2.5rem + env(safe-area-inset-bottom, 0px)) max(1.25rem, env(safe-area-inset-left, 0px));
}
.site-foot .grid { max-width: 1100px; margin: 0 auto 3rem; display: grid; grid-template-columns: minmax(0, 1fr); gap: 2.5rem; }
@media (min-width: 760px) {
  .site-foot { padding-left: max(3rem, env(safe-area-inset-left, 0px)); padding-right: max(3rem, env(safe-area-inset-right, 0px)); }
  .site-foot .grid { grid-template-columns: 1.5fr 1fr 1fr; gap: 4rem; }
}
.site-foot .sn-logo { display: inline-block; font-family: 'Barlow Condensed', 'Arial Narrow', sans-serif; font-size: 1.55rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; line-height: 1; color: #fff; text-decoration: none; white-space: nowrap; }
.site-foot .sn-logo span { color: #52b788; }
.site-foot p { margin: .9rem 0 0; font-size: .88rem; line-height: 1.7; max-width: 34ch; color: rgba(255, 255, 255, .55); }
.site-foot h4 { margin: 0 0 1.2rem; font-family: 'DM Sans', system-ui, sans-serif; font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .4); }
.site-foot ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .7rem; font-size: .88rem; }
.site-foot a { color: rgba(255, 255, 255, .7); text-decoration: none; transition: color .2s; }
.site-foot a:hover { color: #52b788; }
.site-foot .foot-stars { color: rgba(255, 255, 255, .7); }
.site-foot .foot-stars b { color: #f5b942; font-weight: 400; letter-spacing: 1px; margin-right: .35rem; }
.foot-contact li a, .foot-contact li > span { display: inline-flex; align-items: center; gap: .6rem; }
.foot-contact svg { width: 16px; height: 16px; flex: 0 0 auto; color: #52b788; }
.site-foot .bottom { max-width: 1100px; margin: 0 auto; border-top: 1px solid rgba(255, 255, 255, .1); padding-top: 1.5rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: .6rem 2rem; font-size: .78rem; line-height: 1.6; color: rgba(255, 255, 255, .4); }
.site-foot .bottom a { color: rgba(255, 255, 255, .55); text-decoration: underline; text-underline-offset: 2px; }
.site-foot .bottom a:hover { color: #fff; }

/* ---------- WhatsApp icon in buttons ---------- */
.wa-ico { width: 18px; height: 18px; flex: 0 0 auto; }

/* ---------- cookie notice ---------- */
.ck {
  position: fixed; z-index: 1000; left: max(12px, env(safe-area-inset-left, 0px)); right: max(12px, env(safe-area-inset-right, 0px)); bottom: calc(12px + env(safe-area-inset-bottom, 0px));
  max-width: 400px; margin: 0; padding: 18px 18px 16px; border-radius: 18px; background: #fff; color: #111a14;
  border: 1px solid #e2e7e3; box-shadow: 0 18px 50px rgba(17, 26, 20, .16), 0 2px 8px rgba(17, 26, 20, .06);
  font: 400 13.5px/1.55 'DM Sans', system-ui, sans-serif; animation: ck-in .45s cubic-bezier(.2, .7, .2, 1) both;
}
.ck[hidden] { display: none !important; }
.ck p { margin: 0 0 14px; color: #3d4d43; }
.ck p b { color: #111a14; font-weight: 600; }
.ck p a { color: #1f7a4e; text-decoration: underline; text-underline-offset: 2px; }
.ck-row { display: flex; gap: 8px; }
.ck button {
  flex: 1 1 0; height: 42px; border-radius: 100px; cursor: pointer; font: 600 14px/1 'DM Sans', system-ui, sans-serif;
  border: 1px solid #111a14; background: #111a14; color: #fff; -webkit-tap-highlight-color: transparent;
}
.ck button.ck-no { background: #fff; color: #111a14; border-color: #d5dbd7; }
.ck button:focus-visible { outline: 2px solid #1f7a4e; outline-offset: 2px; }
@keyframes ck-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@media (min-width: 760px) { .ck { right: auto; left: max(20px, env(safe-area-inset-left, 0px)); bottom: 20px; } }
@media (prefers-reduced-motion: reduce) { .ck { animation: none; } }

/* ---------- small footer line in the String Lab ---------- */
.lab-foot { margin: 3rem 0 0; padding-top: 1.2rem; border-top: 1px solid rgba(17, 26, 20, .08); font-size: 12px; line-height: 1.7; color: #8a978f; }
.lab-foot a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.lab-foot a:hover { color: #111a14; }
