/* Westlake v5 footer (Scott's v4 board note: the Superside footer). Shared by every v5 page, including the
   inner pages that still use v3's site.css, so everything here is scoped to footer.sfoot and self-contained. */
footer.sfoot { position: relative; isolation: isolate; overflow: hidden; background: #000000; color: rgba(255,255,255,.72); padding: 110px 0 44px; font: 400 15px/1.5 "Inter Tight", "Inter", Arial, sans-serif; border: 0; }
footer.sfoot .sbg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% 30%; z-index: -2; }
footer.sfoot::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0,0,0,.55) 0%, rgba(0,0,0,.86) 38%, rgba(0,0,0,.96) 100%); }
footer.sfoot .wrap { display: block; max-width: 1240px; margin: 0 auto; padding: 0 40px; }
footer.sfoot a { color: inherit; text-decoration: none; }
footer.sfoot .scta { text-align: center; margin-bottom: 110px; }
footer.sfoot .scta h2 { font-family: "Archivo", "Inter Tight", Arial, sans-serif; font-stretch: 112%; font-weight: 500; letter-spacing: -.02em; font-size: 76px; line-height: 1.02; color: #fff; margin: 0 0 30px; }
footer.sfoot .scta h2 em { font-family: "Instrument Serif", Georgia, serif; font-style: italic; font-stretch: normal; letter-spacing: 0; color: #fff; }
footer.sfoot .scta .btn { display: inline-flex; align-items: center; padding: 15px 26px; border-radius: 999px; background: #C6F4FD; color: #000000; font-weight: 600; font-size: 15px; transition: transform .2s, box-shadow .2s; }
footer.sfoot .scta .btn:hover { transform: translateY(-2px); box-shadow: 0 12px 24px -12px rgba(198,244,253,.8); }
footer.sfoot .sgroups { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; }
footer.sfoot .sgroup { border-top: 1px solid rgba(255,255,255,.45); padding-top: 22px; }
footer.sfoot h5 { margin: 0 0 40px; font-size: 17px; font-weight: 600; color: #fff; letter-spacing: 0; text-transform: none; }
footer.sfoot .scols { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
footer.sfoot h6 { margin: 0 0 12px; font-family: "Archivo", "Inter Tight", Arial, sans-serif; font-stretch: 112%; font-weight: 600; font-size: 19px; color: #fff; letter-spacing: 0; text-transform: none; }
footer.sfoot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; }
footer.sfoot ul a { color: rgba(255,255,255,.68); transition: color .2s; }
footer.sfoot ul a:hover { color: #fff; }
footer.sfoot .sbot { display: grid; grid-template-columns: auto 1fr auto; align-items: end; gap: 30px; margin-top: 100px; }
footer.sfoot .sbrand { display: grid; gap: 6px; }
footer.sfoot .sbrand img { width: 300px; max-width: 70vw; display: block; margin-left: -6px; }
footer.sfoot .sbrand span { color: #fff; font-size: 15px; margin-top: -6px; }
footer.sfoot .sbrand small { font-size: 13px; color: rgba(255,255,255,.6); }
footer.sfoot .slegal { display: flex; flex-wrap: wrap; gap: 8px 22px; justify-content: center; font-size: 12.5px; }
footer.sfoot .slegal a { text-decoration: underline; text-underline-offset: 3px; color: rgba(255,255,255,.65); }
footer.sfoot .social { display: flex; gap: 10px; margin: 0; }
footer.sfoot .social a { width: 46px; height: 46px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.75); display: grid; place-items: center; color: #fff; transition: background .2s, color .2s, transform .2s; }
footer.sfoot .social a:hover { background: #C6F4FD; color: #000000; border-color: #C6F4FD; transform: translateY(-2px); }
footer.sfoot .social svg { width: 20px; height: 20px; }
@media (max-width: 900px) {
  footer.sfoot .sgroups { grid-template-columns: 1fr; }
  footer.sfoot .sbot { grid-template-columns: 1fr; justify-items: start; }
  footer.sfoot .slegal { justify-content: flex-start; }
  footer.sfoot .scta h2 { font-size: 46px; }
}
@media (max-width: 600px) {
  footer.sfoot { padding-top: 80px; } footer.sfoot .wrap { padding: 0 20px; }
  footer.sfoot .scta { margin-bottom: 70px; } footer.sfoot .scta h2 { font-size: 38px; }
  footer.sfoot .scols { gap: 20px; } footer.sfoot h6 { font-size: 21px; }
}
/* Mask Dental v2: round logo, not the wide Westlake one */
footer.sfoot .sbrand.md img { width: 157px; height: auto; margin-left: 0; }  /* 20% smaller than the original 196px (Scott, 2026-11-15) */  /* the Mask Dental Studio wordmark */

/* Scott, Oct 28: the headline on one line, 30% smaller; Book button like the header's (rounded rectangle), light-blue outline only */
footer.sfoot .scta h2 { font-size: 53px !important; white-space: nowrap; }
footer.sfoot .scta h2 { letter-spacing: -.075em !important; }  /* Scott, Oct 28: "Rock your smile" tighter */
footer.sfoot .scta .btn { background: transparent !important; color: #C6F4FD !important; border: 1.5px solid #C6F4FD !important; border-radius: 10px !important; box-shadow: none !important; }
footer.sfoot .scta .btn:hover { background: rgba(198,244,253,.12) !important; }
@media (max-width: 900px) { footer.sfoot .scta h2 { white-space: normal; font-size: 38px !important; } }
/* Scott, 2026-11-15: lighter shading toward the bottom so Dr. Mask's guitar shows through */
footer.sfoot::before { background: linear-gradient(180deg, rgba(0,0,0,.55) 0%, rgba(0,0,0,.8) 38%, rgba(0,0,0,.9) 100%) !important; }  /* darker again, a touch lighter than the original */

/* Scott, 2026-11-15: group titles (Dental care, Patients) larger; column titles (About Us, Services, Patient Information, Visit) smaller */
footer.sfoot h5 { font-family: "Archivo", "Inter Tight", Arial, sans-serif; font-stretch: 112%; font-weight: 500; font-size: 26px !important; letter-spacing: -.01em; margin-bottom: 34px; }
footer.sfoot h6 { font-size: 15px !important; font-weight: 600; letter-spacing: .02em; }
/* Scott, 2026-11-15: Privacy Policy and Terms of Service on the same line as "All rights reserved" */
footer.sfoot .sline { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 22px; }
footer.sfoot .sline small { font-size: 13px; color: rgba(255,255,255,.6); }
footer.sfoot .sline .slegal { justify-content: flex-start; font-size: 13px; gap: 6px 18px; }
/* Scott, 2026-11-16: "Rock your smile" 25% larger (53px to 66px) on two lines, a little lower, less room under it */
footer.sfoot { padding-top: 140px !important; }
footer.sfoot .scta h2 { font-size: 66px !important; white-space: normal !important; margin-bottom: 22px !important; }
@media (max-width: 900px) { footer.sfoot { padding-top: 96px !important; } footer.sfoot .scta h2 { font-size: 47px !important; } }
/* Scott, 2026-11-16: "Rock your smile, with Mask Dental" on ONE line at every width; Book an appointment button light blue */
footer.sfoot .scta h2 { white-space: nowrap !important; font-size: min(66px, 9.4vw) !important; }
@media (max-width: 900px) { footer.sfoot .scta h2 { font-size: min(47px, 9.4vw) !important; } }
footer.sfoot .scta .btn { background: #C6F4FD !important; color: #000 !important; border: 1.5px solid #C6F4FD !important; font-weight: 600; }
footer.sfoot .scta .btn:hover { background: #fff !important; border-color: #fff !important; color: #000 !important; }

/* Scott, 2026-11-16: no underlined links */
footer.sfoot a, footer.sfoot .slegal a { text-decoration: none !important; }

/* Scott, 2026-11-16: Instagram and Facebook circles a little smaller (46px to 40px); icons stay the same size */
footer.sfoot .social a { width: 40px !important; height: 40px !important; }

/* Scott, 2026-11-17: "with Mask Dental" light blue; Instagram and Facebook under About Us (below Our Standards) */
footer.sfoot .scta h2 em { color: #C6F4FD !important; }
footer.sfoot .social.fsoc { margin-top: 18px; }

/* Scott, 2026-11-17: Book an appointment to the right of "Rock your smile, with Mask Dental"; less room above and below */
footer.sfoot { padding-top: 84px !important; }
footer.sfoot .scta { display: flex; align-items: center; justify-content: center; gap: 18px 40px; flex-wrap: wrap; margin-bottom: 64px !important; }
footer.sfoot .scta h2 { margin: 0 !important; }
@media (max-width: 900px) { footer.sfoot { padding-top: 64px !important; } footer.sfoot .scta { margin-bottom: 48px !important; } }

/* Scott, 2026-11-17: headline and button about 20% smaller, left-aligned */
footer.sfoot .scta { justify-content: flex-start !important; text-align: left !important; }
footer.sfoot .scta h2 { font-size: min(53px, 7.5vw) !important; }
footer.sfoot .scta .btn { padding: 12px 21px !important; font-size: 12px !important; }
@media (max-width: 900px) { footer.sfoot .scta h2 { font-size: min(38px, 7.5vw) !important; } }

/* Scott, 2026-11-17: headline and button 20% larger again; button is a light blue outline, not filled */
footer.sfoot .scta h2 { font-size: min(64px, 9vw) !important; }
footer.sfoot .scta .btn { padding: 14px 25px !important; font-size: 14.5px !important; background: transparent !important; color: #C6F4FD !important; border: 1.5px solid #C6F4FD !important; }
footer.sfoot .scta .btn:hover { background: #C6F4FD !important; border-color: #C6F4FD !important; color: #000 !important; }
@media (max-width: 900px) { footer.sfoot .scta h2 { font-size: min(46px, 9vw) !important; } }
/* Scott, 2026-11-18, phones: the guitar wall behind the footer (not Dr. Mask), and "Rock your smile," / "with Mask Dental" on two lines */
@media (max-width: 760px) {
  footer.sfoot .sbg { object-position: 61% 45% !important; }  /* the bass he is touching, him out of frame */
  footer.sfoot .scta h2 em { display: block; }
}
