/* Site footer. Styles the QS Skin footer design named "quicksocial" (Site Design > Footers).
   The design holds the content: six rows of blocks, each row a band in the markup, in this order:
   1 the three actions (a blue bar), 2 brand, 3 services, 4 company, 5 the office, 6 the legal line.
   This block arranges the bands and sets the type, in the look of the dark sections of the service pages: charcoal,
   hairlines, small labels in the brand blue. Every selector starts at the design's own footer element, so it touches
   no other footer and nothing in the page. Moving a row in Site Design moves its band here by position. Colours carry
   !important because the site stylesheet sets the older footer's colours and borders that way.
   The footer is kept low: the actions stand in one strip, the services in two columns, and the industries are not
   listed (the header menu links to every one of them on every page). */
#Form footer[data-qs-design="quicksocial"] {
  --f-bg: #0d0f12; --f-ink: #f5f6f7; --f-soft: #d3d8de; --f-body: #b5bac1; --f-line: rgba(255, 255, 255, .13); --f-blue: #00aeef; --f-lit: #7fd8fb;
  --f-edge: 4vw; --f-top: clamp(28px, 2.6vw, 58px); --f-bottom: clamp(26px, 2.4vw, 54px); --f-in: clamp(20px, 2.4vw, 56px); --f-step: clamp(8px, .7vw, 13px);
  --f-small: var(--font-body, "Inter", system-ui, sans-serif); --f-display: "QS Title", var(--font-display, "Outfit", system-ui, sans-serif);
  display: grid; grid-template-columns: repeat(24, minmax(0, 1fr)); margin: 0; padding: 0;
  background: var(--f-bg) !important; color: var(--f-ink) !important; box-shadow: inset 0 1px 0 var(--f-line);
  font-family: var(--font-body, "Inter", system-ui, sans-serif); font-size: 16px; line-height: 1.4;
}
#Form footer[data-qs-design="quicksocial"] > .qs-composed-band { min-width: 0; padding: var(--f-top) var(--f-in) var(--f-bottom); color: inherit; }
#Form footer[data-qs-design="quicksocial"] .qs-composed-row { display: flex; flex-flow: column nowrap; align-items: flex-start; justify-content: flex-start; gap: var(--f-step); max-width: none; margin: 0; padding: 0; }
/* A module placed in the footer pane would repeat what this footer already holds (the Home page still has its earlier footer block there). */
#Form footer[data-qs-design="quicksocial"] > .qs-footer__pane { display: none; }
#Form footer[data-qs-design="quicksocial"] h2 { margin: 0 0 clamp(2px, .3vw, 6px); padding: 0; font: 600 12px/1.3 var(--f-small); letter-spacing: .08em; text-transform: uppercase; color: var(--f-blue) !important; }
#Form footer[data-qs-design="quicksocial"] a { color: var(--f-ink) !important; text-decoration: none; transition: color .2s; }
#Form footer[data-qs-design="quicksocial"] a:focus-visible { outline: 2px solid var(--f-blue); outline-offset: 3px; }

/* 1. The actions: a bar in the brand blue across the top of the footer, with three links in dark ink, each with its
   icon and an arrow. The bar is laid on the same twenty-four tracks as the columns under it and each link takes
   eight, so the lines between the links stand exactly over the lines between the columns. The icon is chosen by
   where the link leads: the booking page, a telephone number, anything else (the inquiry). */
#Form footer[data-qs-design="quicksocial"] > .qs-composed-band:nth-child(1) { grid-column: 1 / -1; padding: 0; background: var(--f-blue) !important; box-shadow: none; }
#Form footer[data-qs-design="quicksocial"] > .qs-composed-band:nth-child(1) .qs-composed-row { display: grid; grid-template-columns: repeat(24, minmax(0, 1fr)); gap: 0; align-items: stretch; }
#Form footer[data-qs-design="quicksocial"] > .qs-composed-band:nth-child(1) a {
  --f-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 10h34v24H22l-9 8v-8H7z'/%3E%3Cpath d='M15 19h18M15 26h11'/%3E%3C/svg%3E");
  grid-column: span 8; position: relative; display: flex; align-items: center; gap: clamp(10px, .9vw, 20px); min-height: clamp(54px, 3.8vw, 84px); padding: 0 var(--f-in);
  color: #06131d !important; font: 700 clamp(15px, 1.05vw, 21px)/1.2 var(--f-display); letter-spacing: -.005em; box-shadow: inset 1px 0 0 rgba(6, 19, 29, .22); transition: background-color .2s;
}
#Form footer[data-qs-design="quicksocial"] > .qs-composed-band:nth-child(1) a:first-child { padding-left: var(--f-edge); box-shadow: none; }
#Form footer[data-qs-design="quicksocial"] > .qs-composed-band:nth-child(1) a:last-child { padding-right: var(--f-edge); white-space: nowrap; }
#Form footer[data-qs-design="quicksocial"] > .qs-composed-band:nth-child(1) a[href*="Book-an-Appointment"] { --f-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='7' y='10' width='34' height='31' rx='3'/%3E%3Cpath d='M7 19h34M16 6v8M32 6v8M17 29l5 5 9-9'/%3E%3C/svg%3E"); }
#Form footer[data-qs-design="quicksocial"] > .qs-composed-band:nth-child(1) a[href^="tel:"] { --f-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 6h7l3 9-5 3a22 22 0 0 0 11 11l3-5 9 3v7a4 4 0 0 1-4 4C21 38 10 27 10 10a4 4 0 0 1 4-4z'/%3E%3C/svg%3E"); }
#Form footer[data-qs-design="quicksocial"] > .qs-composed-band:nth-child(1) a::before { content: ""; flex: 0 0 auto; width: clamp(20px, 1.5vw, 30px); aspect-ratio: 1; background: #06131d; -webkit-mask: var(--f-icon) center / contain no-repeat; mask: var(--f-icon) center / contain no-repeat; }
#Form footer[data-qs-design="quicksocial"] > .qs-composed-band:nth-child(1) a::after { content: "\2197"; margin-left: auto; color: #06131d; font: 400 .85em/1 var(--f-small); transition: translate .25s; }
#Form footer[data-qs-design="quicksocial"] > .qs-composed-band:nth-child(1) a:is(:hover, :focus-visible) { background-color: rgba(6, 19, 29, .12); }
#Form footer[data-qs-design="quicksocial"] > .qs-composed-band:nth-child(1) a:focus-visible { outline: 2px solid #06131d; outline-offset: -4px; }
#Form footer[data-qs-design="quicksocial"] > .qs-composed-band:nth-child(1) a:is(:hover, :focus-visible)::after { translate: 3px -3px; }

/* Columns under the strip. Twenty-four tracks: brand 8, services 8 (its links in two columns), company 4, the office 4. A hairline stands left of each. */
#Form footer[data-qs-design="quicksocial"] > .qs-composed-band:nth-child(2) { grid-column: 1 / 9; padding-left: var(--f-edge); padding-right: clamp(24px, 3.4vw, 80px); }
#Form footer[data-qs-design="quicksocial"] > .qs-composed-band:nth-child(3) { grid-column: 9 / 17; }
#Form footer[data-qs-design="quicksocial"] > .qs-composed-band:nth-child(4) { grid-column: 17 / 21; }
#Form footer[data-qs-design="quicksocial"] > .qs-composed-band:nth-child(5) { grid-column: 21 / 25; padding-right: var(--f-edge); }
#Form footer[data-qs-design="quicksocial"] > .qs-composed-band:is(:nth-child(3), :nth-child(4), :nth-child(5)) { box-shadow: inset 1px 0 0 var(--f-line); }

/* 2. Brand: the logo, a statement, the email address and the social profiles. Every item takes a line of its own
   except the profile links, which share the last one. The site logo has black lettering: on this background its
   picture is replaced by the version with white lettering, and the logo's own image stays in place, unseen, so its
   link and its text for screen readers are kept. */
#Form footer[data-qs-design="quicksocial"] > .qs-composed-band:nth-child(2) .qs-composed-row { flex-flow: row wrap; align-items: baseline; gap: 0 clamp(14px, 1.2vw, 24px); }
#Form footer[data-qs-design="quicksocial"] > .qs-composed-band:nth-child(2) .qs-composed-row > * { flex: 0 0 100%; }
#Form footer[data-qs-design="quicksocial"] .qs-skin-object--logo { line-height: 0; }
#Form footer[data-qs-design="quicksocial"] .qs-skin-object--logo a { display: block; width: clamp(170px, 13vw, 290px); max-width: 100%; aspect-ratio: 1200 / 264; background: url("/Portals/0/QS_Studio/brand/qs-logo-on-dark.png") 0 50% / contain no-repeat; }
#Form footer[data-qs-design="quicksocial"] .qs-skin-object--logo .qs-logo { display: block; width: 100%; height: 100%; opacity: 0; }
#Form footer[data-qs-design="quicksocial"] > .qs-composed-band:nth-child(2) span { margin-top: clamp(12px, 1vw, 22px); max-width: 24em; color: var(--f-body) !important; font-size: clamp(15px, calc(.22vw + 11.8px), 17px); line-height: 1.5; }
#Form footer[data-qs-design="quicksocial"] > .qs-composed-band:nth-child(2) a[href^="mailto:"] { margin-top: clamp(8px, .7vw, 14px); font-size: clamp(15px, calc(.22vw + 11.8px), 17px); text-decoration: underline; text-decoration-color: var(--f-blue); text-decoration-thickness: 1px; text-underline-offset: .32em; }
#Form footer[data-qs-design="quicksocial"] > .qs-composed-band:nth-child(2) a[href^="mailto:"]:is(:hover, :focus-visible) { color: var(--f-lit) !important; text-decoration-thickness: 2px; }
/* The social profiles are icons: square outlined tiles, the name of each kept as the link's text for screen readers. */
#Form footer[data-qs-design="quicksocial"] > .qs-composed-band:nth-child(2) .qs-composed-row > a[href^="http"] { flex: 0 0 auto; position: relative; width: 38px; height: 38px; margin-top: clamp(12px, 1vw, 22px); margin-right: -6px; overflow: hidden; border: 1px solid var(--f-line); font-size: 0; line-height: 0; color: transparent !important; transition: background-color .2s, border-color .2s; }
#Form footer[data-qs-design="quicksocial"] > .qs-composed-band:nth-child(2) .qs-composed-row > a[href^="http"]::before { content: ""; position: absolute; inset: 9px; background: var(--f-soft); -webkit-mask: var(--f-social) center / contain no-repeat; mask: var(--f-social) center / contain no-repeat; transition: background-color .2s; }
#Form footer[data-qs-design="quicksocial"] > .qs-composed-band:nth-child(2) .qs-composed-row > a[href^="http"]:is(:hover, :focus-visible) { border-color: var(--f-blue); background: var(--f-blue); }
#Form footer[data-qs-design="quicksocial"] > .qs-composed-band:nth-child(2) .qs-composed-row > a[href^="http"]:is(:hover, :focus-visible)::before { background: #06131d; }
#Form footer[data-qs-design="quicksocial"] > .qs-composed-band:nth-child(2) a[href*="linkedin.com"] { --f-social: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23000'%3E%3Cpath d='M5 3.5a2.3 2.3 0 1 1 0 4.6 2.3 2.3 0 0 1 0-4.6zM3 9.7h4V21H3zM9.6 9.7h3.8v1.6c.7-1.1 2-1.9 3.7-1.9 3.4 0 4.3 2.2 4.3 5.4V21h-4v-5.4c0-1.5-.5-2.5-1.8-2.5-1.4 0-2 1-2 2.5V21h-4z'/%3E%3C/svg%3E"); }
#Form footer[data-qs-design="quicksocial"] > .qs-composed-band:nth-child(2) a[href*="facebook.com"] { --f-social: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23000'%3E%3Cpath d='M13.6 21v-7.6h2.5l.4-3h-2.9V8.5c0-.9.3-1.5 1.5-1.5h1.6V4.3c-.3 0-1.2-.1-2.3-.1-2.3 0-3.9 1.4-3.9 4v2.2H8v3h2.5V21z'/%3E%3C/svg%3E"); }
#Form footer[data-qs-design="quicksocial"] > .qs-composed-band:nth-child(2) a[href*="instagram.com"] { --f-social: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3.5' y='3.5' width='17' height='17' rx='5'/%3E%3Ccircle cx='12' cy='12' r='4'/%3E%3Ccircle cx='17.3' cy='6.7' r='.6'/%3E%3C/svg%3E"); }
#Form footer[data-qs-design="quicksocial"] > .qs-composed-band:nth-child(2) a:is([href*="twitter.com"], [href*="//x.com"]) { --f-social: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 4l16 16M20 4L4 20'/%3E%3C/svg%3E"); }
#Form footer[data-qs-design="quicksocial"] > .qs-composed-band:nth-child(2) a[href*="youtube.com"] { --f-social: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23000'%3E%3Cpath fill-rule='evenodd' d='M6.5 6h11a4 4 0 0 1 4 4v4a4 4 0 0 1-4 4h-11a4 4 0 0 1-4-4v-4a4 4 0 0 1 4-4zM10 9.2v5.6l5-2.8z'/%3E%3C/svg%3E"); }

/* 3 and 4. The lists. The services stand in two columns under their label, so the footer stays low. */
#Form footer[data-qs-design="quicksocial"] > .qs-composed-band:nth-child(3) .qs-composed-row { display: grid; grid-template-columns: repeat(2, max-content); grid-template-rows: auto repeat(4, auto); grid-auto-flow: column; column-gap: clamp(26px, 3.4vw, 84px); row-gap: var(--f-step); }
#Form footer[data-qs-design="quicksocial"] > .qs-composed-band:nth-child(3) h2 { grid-column: 1 / -1; }
#Form footer[data-qs-design="quicksocial"] > .qs-composed-band:is(:nth-child(3), :nth-child(4)) .qs-composed-row > a {
  color: var(--f-soft) !important; font-size: clamp(15px, calc(.22vw + 11.8px), 17px); line-height: 1.35; padding-block: 1px;
  background: linear-gradient(var(--f-blue), var(--f-blue)) 0 100% / 0 1px no-repeat; transition: color .2s, background-size .3s cubic-bezier(.2, .7, .2, 1);
}
#Form footer[data-qs-design="quicksocial"] > .qs-composed-band:is(:nth-child(3), :nth-child(4)) .qs-composed-row > a:is(:hover, :focus-visible) { color: #fefefe !important; background-size: 100% 1px; }

/* 5. The office */
#Form footer[data-qs-design="quicksocial"] > .qs-composed-band:nth-child(5) .qs-composed-row { gap: clamp(6px, .5vw, 10px); }
#Form footer[data-qs-design="quicksocial"] > .qs-composed-band:nth-child(5) span:first-child { margin-bottom: clamp(2px, .3vw, 6px); font: 600 12px/1.3 var(--f-small); letter-spacing: .08em; text-transform: uppercase; color: var(--f-blue) !important; }
#Form footer[data-qs-design="quicksocial"] > .qs-composed-band:nth-child(5) a { font: 700 clamp(18px, 1.3vw, 28px)/1.2 var(--f-display); letter-spacing: -.01em; }
#Form footer[data-qs-design="quicksocial"] > .qs-composed-band:nth-child(5) a:is(:hover, :focus-visible) { color: var(--f-lit) !important; }
#Form footer[data-qs-design="quicksocial"] > .qs-composed-band:nth-child(5) span:last-child { max-width: 22em; font-size: clamp(14px, calc(.18vw + 11.6px), 16px); line-height: 1.5; color: var(--f-body) !important; }

/* 6. The legal line, a shade darker */
#Form footer[data-qs-design="quicksocial"] > .qs-composed-band:nth-child(6) { grid-column: 1 / -1; padding: clamp(14px, 1.1vw, 24px) var(--f-edge); color: var(--f-body) !important; font-size: 14px; box-shadow: inset 0 1px 0 var(--f-line); }
#Form footer[data-qs-design="quicksocial"] > .qs-composed-band:nth-child(6) .qs-composed-row { flex-flow: row wrap; align-items: center; gap: 8px clamp(18px, 1.6vw, 34px); }
#Form footer[data-qs-design="quicksocial"] > .qs-composed-band:nth-child(6) .qs-skin-object--copyright { margin-right: auto; }
#Form footer[data-qs-design="quicksocial"] > .qs-composed-band:nth-child(6) :is(a, span) { color: var(--f-body) !important; font-size: 14px; }
#Form footer[data-qs-design="quicksocial"] > .qs-composed-band:nth-child(6) a:is(:hover, :focus-visible) { color: #fefefe !important; }
#Form footer[data-qs-design="quicksocial"] > .qs-composed-band:nth-child(6) .qs-skin-object:empty { display: none; }

/* Laptop and tablet: the brand runs across; the lists and the office share the row below. */
@media (max-width: 1179px) {
  #Form footer[data-qs-design="quicksocial"] { grid-template-columns: repeat(12, minmax(0, 1fr)); --f-edge: 6vw; }
  #Form footer[data-qs-design="quicksocial"] > .qs-composed-band:nth-child(1) .qs-composed-row { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  #Form footer[data-qs-design="quicksocial"] > .qs-composed-band:nth-child(1) a { grid-column: auto; padding-inline: clamp(12px, 2vw, 24px); }
  #Form footer[data-qs-design="quicksocial"] > .qs-composed-band:nth-child(1) a:first-child { padding-left: var(--f-edge); }
  #Form footer[data-qs-design="quicksocial"] > .qs-composed-band:nth-child(2) { grid-column: 1 / -1; padding-right: var(--f-edge); padding-bottom: 6px; }
  #Form footer[data-qs-design="quicksocial"] > .qs-composed-band:nth-child(3) { grid-column: 1 / 7; padding-left: var(--f-edge); box-shadow: none; }
  #Form footer[data-qs-design="quicksocial"] > .qs-composed-band:nth-child(4) { grid-column: 7 / 10; }
  #Form footer[data-qs-design="quicksocial"] > .qs-composed-band:nth-child(5) { grid-column: 10 / 13; }
}
/* Phone: one column. The actions stand one under the other; the company list and the office share a row. */
@media (max-width: 699px) {
  #Form footer[data-qs-design="quicksocial"] > .qs-composed-band:nth-child(1) a { grid-column: 1 / -1; min-height: 52px; padding-inline: var(--f-edge); box-shadow: inset 0 1px 0 rgba(6, 19, 29, .22); font-size: 16px; }
  #Form footer[data-qs-design="quicksocial"] > .qs-composed-band:nth-child(1) a:first-child { box-shadow: none; }
  #Form footer[data-qs-design="quicksocial"] > .qs-composed-band:nth-child(3) { grid-column: 1 / -1; padding-right: var(--f-edge); padding-bottom: 10px; }
  #Form footer[data-qs-design="quicksocial"] > .qs-composed-band:nth-child(4) { grid-column: 1 / 6; padding-left: var(--f-edge); box-shadow: none; }
  #Form footer[data-qs-design="quicksocial"] > .qs-composed-band:nth-child(5) { grid-column: 6 / 13; }
  #Form footer[data-qs-design="quicksocial"] > .qs-composed-band:is(:nth-child(3), :nth-child(4)) .qs-composed-row > a { padding-block: 4px; }
  #Form footer[data-qs-design="quicksocial"] > .qs-composed-band:nth-child(5) a { padding-block: 3px; }
  #Form footer[data-qs-design="quicksocial"] > .qs-composed-band:nth-child(6) .qs-skin-object--copyright { flex: 0 0 100%; }
  #Form footer[data-qs-design="quicksocial"] > .qs-composed-band:nth-child(6) a { display: inline-block; padding-block: 5px; }
}
@media (prefers-reduced-motion: reduce) { #Form footer[data-qs-design="quicksocial"] a, #Form footer[data-qs-design="quicksocial"] a::after { transition: none !important; } }
