/* ---------- Footer (Dec 2026, owner: "redesign the footer entirely") ----------
   No photos (owner). The big line and the two actions, then one sheet of real frosted glass divided by thin
   lines into address, projects (with their ORERA numbers), pages and contact. Behind the glass: the Archid Builders
   brand pattern (brand guidelines, page 14: up and down chevrons from the logo, #0848a5 on navy #0b3682), fading
   into the dark base, so the glass has something to bend. Square edges only.
   Markup: scratchpad build_footer.py; loaded on every page after glass.css. */
.af {
  --af-ink: 5, 7, 13;
  position: relative; isolation: isolate; overflow: hidden;
  padding: clamp(80px, 9vw, 140px) 0 0;
  background: rgb(var(--af-ink)); color: rgba(255, 255, 255, .74);
  font-family: var(--ab-font, "Montserrat", sans-serif); font-weight: 300;
  border-top: 3px solid var(--af-pat, #0848a5);
}
.postid-5495 .af { --af-ink: 9, 24, 36; }
.postid-6679 .af { --af-ink: 24, 58, 87; }
.af a { text-decoration: none; }
.af a:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }

/* behind the glass: the brand pattern on navy, fading into the dark base */
.af { --af-ground: 11, 54, 130; --af-pat: #0848a5; --af-pat-o: 1;
  background: linear-gradient(180deg, rgb(var(--af-ground)) 0%, rgba(var(--af-ground), .55) 38%, rgb(var(--af-ink)) 78%) rgb(var(--af-ink)); }
.postid-5495 .af { --af-ground: 20, 44, 62; --af-pat: #b98630; --af-pat-o: .28; }
.postid-6679 .af { --af-ground: 33, 76, 112; --af-pat: #a8c5e3; --af-pat-o: .2; }
.af::before, .af::after { display: block !important; position: absolute !important; }  /* the theme clearfix makes footer ::before/::after tables */
.af::before { content: ""; inset: 0; z-index: -1; pointer-events: none; opacity: var(--af-pat-o);
  background-color: var(--af-pat);
  -webkit-mask-image: url("/assets/pattern-brand.svg"), linear-gradient(180deg, #000 0%, rgba(0, 0, 0, .85) 30%, transparent 72%);
  mask-image: url("/assets/pattern-brand.svg"), linear-gradient(180deg, #000 0%, rgba(0, 0, 0, .85) 30%, transparent 72%);
  -webkit-mask-size: 160px 40px, 100% 100%; mask-size: 160px 40px, 100% 100%;
  -webkit-mask-repeat: repeat, no-repeat; mask-repeat: repeat, no-repeat;
  -webkit-mask-composite: source-in; mask-composite: intersect; }
/* a soft shade so the line stays easy to read over the pattern */
.af::after { content: ""; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(60% 55% at 22% 18%, rgba(var(--af-ink), .55), rgba(var(--af-ink), 0) 70%); }
@supports not ((mask-composite: intersect) or (-webkit-mask-composite: source-in)) { .af::before { display: none !important; } }
.af__in { position: relative; }

/* the line and the actions */
.af__lead { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 28px 56px; }
.af__kicker { margin: 0 0 14px; font-size: 11px; font-weight: 500; letter-spacing: .28em; text-transform: uppercase; color: rgba(255, 255, 255, .8); }
.af__title { max-width: 15ch; margin: 0; font-size: clamp(36px, 5vw, 76px); font-weight: 300; line-height: 1.04; letter-spacing: -.015em; color: #fff;
}
.af__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.af .ab-btn--white { background-color: #fff; border-color: #fff; color: var(--ab-black) !important; }
.af .ab-btn--white:hover, .af .ab-btn--white:focus-visible { border-color: var(--ab-navy); color: #fff !important; }

/* the glass sheet: one pane, divided by thin lines */
.af__sheet { position: relative; display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1.25fr) minmax(0, .9fr) minmax(0, 1.25fr);
  margin-top: clamp(48px, 6vw, 88px);
  background: linear-gradient(180deg, rgba(255, 255, 255, .1), rgba(255, 255, 255, .02) 40%), rgba(var(--af-ink), .42);
  -webkit-backdrop-filter: blur(26px) saturate(170%); backdrop-filter: blur(26px) saturate(170%);
  border: 1px solid rgba(255, 255, 255, .2);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .28), 0 40px 80px -40px rgba(0, 0, 0, .8); }
.af__sheet::before { content: ""; position: absolute; inset: -1px -1px auto; height: 1px; pointer-events: none;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0) 2%, rgba(255, 255, 255, .75) 22%, rgba(255, 255, 255, .15) 60%, rgba(255, 255, 255, 0) 90%); }
.af__cell { padding: 36px 32px 34px; }
.af__cell + .af__cell { border-left: 1px solid rgba(255, 255, 255, .14); }

.af__logo { display: inline-block; }
.af__logo img { display: block; width: 150px; height: auto; }
.af address { margin: 24px 0 0; max-width: 270px; font-style: normal; font-size: 14px; line-height: 1.75; }
.af__more, .af__group { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font-size: 11px; font-weight: 500; letter-spacing: .2em;
  text-transform: uppercase; color: #fff !important; }
.af__more { margin-top: 10px; }
.af__more svg, .af__group svg { transition: transform .3s var(--ab-ease, ease); }
.af__more:hover svg, .af__group:hover svg, .af__more:focus-visible svg, .af__group:focus-visible svg { transform: translateX(4px); }

.af h2.af__h { margin: 0 0 16px; font-family: inherit; font-size: 11px; font-weight: 500; line-height: 1.4; letter-spacing: .26em; text-transform: uppercase; color: #fff; }
.af__list { margin: 0; padding: 0; list-style: none; }
.af__list a { position: relative; display: flex; flex-direction: column; justify-content: center; min-height: 40px; padding: 7px 0;
  font-size: 15px; line-height: 1.45; color: rgba(255, 255, 255, .8) !important; transition: color .2s ease; }
.af__list a::after { content: ""; position: absolute; left: 0; bottom: 5px; width: 100%; height: 1px; background: #fff;
  transform: scaleX(0); transform-origin: 0 50%; transition: transform .35s var(--ab-ease, ease); }
.af__list a:hover, .af__list a:focus-visible { color: #fff !important; }
.af__list a:hover::after, .af__list a:focus-visible::after { transform: scaleX(1); }
.af__list small { margin-top: 2px; font-size: 11px; letter-spacing: .06em; color: rgba(255, 255, 255, .55); }
.af__list--mail small { order: -1; margin: 0 0 2px; letter-spacing: .16em; text-transform: uppercase; font-size: 10px; }
.af__list--tel a { font-size: 17px; letter-spacing: .02em; color: #fff !important; }
.af__list--mail { margin-top: 12px; padding-top: 12px; border-top: 1px solid rgba(255, 255, 255, .12); }

/* last row of the sheet: socials and the group */
.af__row { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; padding: 0 32px;
  border-top: 1px solid rgba(255, 255, 255, .14); }
.af__follow { margin: 0; font-size: 11px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: rgba(255, 255, 255, .6); }
.af__social { display: flex; margin: 0; padding: 0; list-style: none; border-left: 1px solid rgba(255, 255, 255, .14); }
.af__social li { border-right: 1px solid rgba(255, 255, 255, .14); }
.af__soc { display: flex; align-items: center; justify-content: center; width: 56px; height: 56px; color: #fff !important; transition: background-color .25s ease; }
.af__soc svg { width: 15px; height: 15px; fill: currentColor; }
.af__soc:hover, .af__soc:focus-visible { background-color: var(--ab-navy); }
.af__group { margin-left: auto; }

/* the small print */
.af__base { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 32px; padding: 22px 0 26px;
  font-size: 12px; line-height: 1.6; letter-spacing: .04em; color: rgba(255, 255, 255, .56); }
.af__base p { margin: 0; }
.af__base p span { margin-left: 14px; padding-left: 14px; border-left: 1px solid rgba(255, 255, 255, .2); white-space: nowrap; }
.af__base ul { display: flex; flex-wrap: wrap; gap: 0 24px; margin: 0; padding: 0; list-style: none; }
.af__base ul a { display: inline-flex; align-items: center; min-height: 44px; color: rgba(255, 255, 255, .72) !important; }
.af__base ul a:hover, .af__base ul a:focus-visible { color: #fff !important; }
@media (min-width: 768px) { .af__base { padding-right: 120px; } }  /* clear of WhatsApp and Back to top */

/* tablets */
@media (max-width: 1100px) {
  .af__sheet { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .af__cell--brand { grid-column: 1 / -1; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px 40px;
    border-bottom: 1px solid rgba(255, 255, 255, .14); }
  .af__cell--brand address { margin: 0; max-width: none; }
  .af__cell--brand .af__more { margin: 0; }
  .af__cell--brand + .af__cell { border-left: 0; }
}
/* phones */
@media (max-width: 767px) {
  .af { padding-top: 64px; }
  .af__lead { grid-template-columns: 1fr; }
  .af__actions .ab-btn { flex: 1 1 100%; justify-content: center; }
  .af__sheet { grid-template-columns: 1fr 1fr; margin-top: 40px; }
  .af__cell { padding: 26px 20px; }
  .af__cell--brand { display: block; }
  .af__cell--brand address { margin-top: 18px; }
  .af__cell--brand .af__more { margin-top: 8px; }
  .af__cell:last-of-type { grid-column: 1 / -1; border-left: 0; border-top: 1px solid rgba(255, 255, 255, .14); }
  .af__row { padding: 16px 20px 20px; }
  .af__follow { flex: 1 1 100%; }
  .af__social { flex-wrap: wrap; border-top: 1px solid rgba(255, 255, 255, .14); }
  .af__soc { width: 48px; height: 48px; }
  .af__group { margin-left: 0; }
  .af__base { flex-direction: column; align-items: flex-start; }
  .af__base p span { display: block; margin: 4px 0 0; padding: 0; border: 0; }
}

/* without blur: a solid sheet */
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) { .af__sheet { background: rgba(var(--af-ink), .94); } }
@media (prefers-reduced-motion: reduce) { .af__list a::after, .af__more svg, .af__group svg, .af__soc { transition: none; } }

/* Archid Group mark before "A company of Archid Group" (owner, 4 Dec 2026): the nine-arch mark from the group
   brand kit, shown in white like the Archid Builders logo above */
.af__group-mark { display: block; width: auto; height: 30px; margin-right: 4px; }
@media (max-width: 767px) { .af__group-mark { height: 28px; } }
/* phones: the contact cell takes the full width (the old :last-of-type rule matched the socials row, not this cell) */
@media (max-width: 767px) { .af__sheet > .af__cell:nth-last-child(2) { grid-column: 1 / -1; border-left: 0; border-top: 1px solid rgba(255, 255, 255, .14); } }
