/* Ansora Approvals theme. 1:1 port of the Bricks + Automatic.css site (measured 2026-11-11, RECON/DESIGN.md).
   Tokens copy the ACSS values (fluid 360 to 1440). Root stays 100% (1rem = 16px). */

@layer reset, base, layout, components, utilities;

@font-face {
  font-family: "Manrope";
  src: url("/assets/fonts/manrope-latin.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
  ascent-override: 104.3%;
  descent-override: 32.3%;
  line-gap-override: 0%;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Manrope";
  src: url("/assets/fonts/manrope-latin-ext.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
  ascent-override: 104.3%;
  descent-override: 32.3%;
  line-gap-override: 0%;
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --primary: #a18563;
  --primary-hover: #a58a69;
  --action-hover: #493c2c;
  --ultra-light: #f5f3ef;
  --ultra-dark: #201a13;
  --base: #292929;
  --base-dark: #404040;
  --base-ultra-dark: #1a1a1a;
  --base-light: #d9d9d9;
  --base-ultra-light: #f2f2f2;
  --muted: #a6a6a6;
  --tint: rgb(161 133 99 / .1);
  --teal-80: rgb(8 38 45 / .8);
  --line: rgb(0 0 0 / .1);
  --wa: #2db742;

  --h1: clamp(2.625rem, 2.7778vw + 2rem, 4.5rem);
  --h2: clamp(1.44rem, 0.82815vw + 1.2537rem, 1.999rem);
  --h3: clamp(1.2rem, 0.44389vw + 1.1001rem, 1.4996rem);
  --h4: clamp(1rem, 0.18519vw + .9583rem, 1.125rem);
  --display: clamp(1.8738rem, 3.316vw + 1.0656rem, 4.05rem);
  --content-h1: clamp(2.1rem, 2.2222vw + 1.6rem, 3.6rem);
  --text-xs: clamp(.75rem, 0.0463vw + .7396rem, .7812rem);
  --text-s: clamp(.8125rem, 0.18519vw + .7708rem, .9375rem);
  --text-m: clamp(1rem, 0.18519vw + .9583rem, 1.125rem);
  --text-l: clamp(1.2rem, 0.22222vw + 1.15rem, 1.35rem);
  --text-xl: clamp(1.44rem, 0.26667vw + 1.38rem, 1.62rem);
  --text-card: clamp(.9375rem, 0.143vw + .9025rem, 1.0312rem);

  --space-xs: clamp(.8333rem, .8478rem - 0.01606vw, .8442rem);
  --space-s: clamp(1.1253rem, 0.18477vw + 1.0837rem, 1.25rem);
  --space-m: clamp(1.5rem, 0.55556vw + 1.375rem, 1.875rem);
  --space-l: clamp(1.9995rem, 1.20444vw + 1.7285rem, 2.8125rem);
  --space-xl: clamp(2.6653rem, 2.30136vw + 2.1475rem, 4.2188rem);
  --space-xxl: clamp(3.5529rem, 4.11146vw + 2.6278rem, 6.3281rem);
  --section-s: clamp(3.3758rem, 2.40616vw + 2.8345rem, 5rem);
  --section-m: clamp(4.5rem, 4.44444vw + 3.5rem, 7.5rem);
  --section-l: clamp(5.9985rem, 7.78vw + 4.248rem, 11.25rem);
  --section-xl: clamp(7.996rem, 13.15407vw + 5.0363rem, 16.875rem);
  --gutter: var(--space-m);
  --grid-gap: var(--space-m);
  --content-gap: var(--space-m);
  --container-gap: var(--space-xl);
  --content-width: 90rem;
  --width-m: 36rem;
  --width-l: 54rem;
  --width-xl: 72rem;

  --transition: background-color .3s ease-in-out, color .3s ease-in-out, border-color .3s ease-in-out;
  --ease-drawer: cubic-bezier(.79, .14, .15, .86);
  --focus: var(--primary);
  --header-offset: 0px;
}

/* ---------- reset ---------- */
@layer reset {
  *, *::before, *::after { box-sizing: border-box; }
  html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
  body, h1, h2, h3, h4, p, figure, blockquote, ul, ol { margin: 0; }
  ul[class], ol[class] { padding: 0; list-style: none; }
  img, svg { display: block; max-width: 100%; }
  img { height: auto; }
  button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
  a { color: inherit; }
}

/* ---------- base ---------- */
@layer base {
  html { scroll-padding-top: var(--header-offset); }
  @media (prefers-reduced-motion: no-preference) {
    html:not(.lenis) { scroll-behavior: smooth; }
  }
  html.lenis { scroll-behavior: auto; }
  html.lenis, html.lenis body { height: auto; }
  .lenis.lenis-stopped { overflow: clip; }

  body {
    font-family: "Manrope", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
    font-size: var(--text-m);
    line-height: 1.5;
    color: #000;
    background: #fff;
    overflow-x: clip;
  }
  h1, h2, h3, h4 { font-weight: 500; line-height: 1.2; color: var(--base); text-wrap: pretty; }
  h1 { font-size: var(--h1); }
  h2 { font-size: var(--h2); }
  h3 { font-size: var(--h3); }
  h4 { font-size: var(--h4); }
  p, li, figcaption, blockquote { text-wrap: pretty; }
  :where(p, li, figcaption, blockquote):has(br) { text-wrap: wrap; }
  strong, b { font-weight: 700; }
  a { color: var(--primary); text-decoration: none; transition: var(--transition); }
  a[href^="tel:"], a[href^="mailto:"] { white-space: nowrap; }

  :focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
  :focus:not(:focus-visible) { outline: none; }
  main:focus { outline: none; }
  [id] { scroll-margin-top: 0; }

  ::selection { background: var(--primary); color: #fff; }
}

/* ---------- layout ---------- */
@layer layout {
  .skip-link {
    position: absolute; left: var(--gutter); top: .625rem; z-index: 2000;
    background: #fff; color: var(--base); padding: .625rem 1rem;
    transform: translateY(-200%);
  }
  .skip-link:focus-visible { transform: none; }
  .skip-link__text { display: block; text-box: trim-both cap alphabetic; }

  .sr-only {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0;
  }
  .nowrap { white-space: nowrap; }
}

/* ---------- components ---------- */
@layer components {

  /* buttons: label trimmed to the caps, padding keeps the live 45px box (.75em block padding on a 1em line) */
  .btn {
    --btn-bg: var(--base); --btn-bg-hover: var(--base-dark); --btn-color: var(--base-ultra-light);
    display: inline-flex; align-items: center; justify-content: center; gap: .625rem;
    min-inline-size: 9.375rem;
    padding: calc(.75em + (1em - 1cap) / 2) 1.5em;
    font-size: var(--text-m); font-weight: 500; line-height: 1;
    background: var(--btn-bg); color: var(--btn-color);
    border-radius: 0;
    transition: var(--transition);
  }
  .btn__text { display: block; text-box: trim-both cap alphabetic; }
  @media (hover: hover) { .btn:hover { background: var(--btn-bg-hover); color: var(--btn-color); } }

  .display {
    font-size: var(--display); font-weight: 300; line-height: 1.2; color: var(--base);
    text-wrap: balance;
  }
  .display strong { font-weight: 700; }

  .mark { display: block; width: 100%; height: 100%; object-fit: contain; }

  /* ===== header ===== */
  .header {
    position: relative; z-index: 50;
    background: var(--base);
    padding: var(--space-s) var(--gutter);
  }
  .header__container {
    position: relative;
    max-width: var(--content-width); margin-inline: auto;
    display: flex; align-items: center; justify-content: space-between;
  }
  .header__logo { display: block; flex: none; }
  .header__logo img { width: clamp(9.375rem, 2.679vw + 8.8394rem, 11.25rem); height: auto; }

  .nav__list { display: flex; align-items: center; gap: var(--space-m); padding-right: 4rem; }
  .nav__link {
    display: inline-flex; align-items: center; gap: 1rem;
    font-size: var(--text-m); font-weight: 400; line-height: 1.5;
    color: #fff; transition: var(--transition);
  }
  .nav__link[aria-current="page"], .nav__link[data-current] { color: var(--primary); }
  @media (hover: hover) { .nav__link:hover { color: var(--base-light); } }
  .nav__caret { width: 1.125rem; height: 1.125rem; flex: none; transition: transform .2s ease-in-out; }
  .nav__mega-toggle[aria-expanded="true"] .nav__caret { transform: rotateX(180deg); }

  .nav__cta {
    display: inline-flex; align-items: center; justify-content: center; gap: .5em;
    min-inline-size: 12.5rem;
    padding: calc(.75em + (1em - 1cap) / 2) 1.5em;
    font-size: var(--text-m); font-weight: 500; line-height: 1;
    background: var(--primary); color: var(--ultra-light);
    transition: var(--transition);
  }
  .nav__cta-icon { width: 1em; height: 1em; flex: none; }
  .nav__cta-text { display: block; text-box: trim-both cap alphabetic; white-space: nowrap; }
  @media (hover: hover) { .nav__cta:hover { background: var(--base-dark); color: var(--ultra-light); } }

  .nav__open, .nav__bar { display: none; }
  .has-drawer .header { z-index: 1100; }
  html.has-drawer { overflow: hidden; }

  /* mega menu (desktop): white panel the width of the header container, fades in moving up 8px */
  .mega {
    position: absolute; left: 0; right: 0;
    top: calc(100% + var(--space-s) + 1px);
    z-index: 60;
    background: #fff;
    padding: var(--space-m);
    box-shadow: 119px 360px 152px rgb(0 0 0 / .01), 67px 203px 128px rgb(0 0 0 / .05), 30px 90px 95px rgb(0 0 0 / .09), 7px 23px 52px rgb(0 0 0 / .1);
    opacity: 0; visibility: hidden; transform: translateY(8px);
    transition: opacity .2s, transform .2s, visibility .2s;
  }
  .nav__item--mega.is-open .mega { opacity: 1; visibility: visible; transform: none; }
  .mega__col { display: flex; flex-direction: column; gap: var(--space-xs); }
  .mega__heading { font-size: var(--text-l); font-weight: 500; color: var(--base-dark); }
  .mega__divider { height: 1px; background: var(--base-light); }
  .mega__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .mega__item {
    position: relative;
    display: flex; align-items: flex-start; gap: .5em;
    padding: var(--space-xs);
    transition: background-color .2s ease-in-out;
  }
  .mega__item:has(.mega__link[aria-current="page"]) { background: var(--tint); }
  @media (hover: hover) { .mega__item:hover { background: var(--tint); } }
  .mega__item:focus-within { background: var(--tint); }
  .mega__icon { flex: none; width: 2.5rem; height: 1.875rem; margin-top: .1875rem; }
  .mega__content { display: flex; flex-direction: column; gap: .25em; min-width: 0; }
  .mega__title { font-size: var(--text-l); font-weight: 500; color: var(--base); line-height: 1.2; }
  .mega__link { color: inherit; }
  .mega__link::after { content: ""; position: absolute; inset: 0; }
  .mega__link:focus-visible { outline: none; }
  .mega__link:focus-visible::after { outline: 2px solid var(--focus); outline-offset: -2px; }
  .mega__desc { font-size: var(--text-s); color: var(--base-dark); }
  @media (width <= 991px) { .mega__list { grid-template-columns: minmax(0, 1fr); } }

  /* drawer (<=1100px, live breakpoint of the mega-menu snippet) */
  @media (width <= 1100px) {
    .nav__open {
      display: flex; width: 2.25rem; height: 2.25rem; color: var(--primary);
      transition: opacity .15s linear;
    }
    .nav__open .icon { width: 100%; height: 100%; }
    .nav__panel {
      position: fixed; inset: 0; z-index: 1001;
      display: flex; flex-direction: column;
      background: #fff;
      transform: translateX(100%); visibility: hidden;
      transition: transform .2s var(--ease-drawer), visibility 0s linear .2s;
    }
    .nav.is-open .nav__panel { transform: none; visibility: visible; transition: transform .2s var(--ease-drawer), visibility 0s; }
    .nav__bar {
      display: flex; align-items: center; justify-content: space-between; gap: var(--space-s);
      padding: var(--space-m) var(--gutter);
      border-bottom: 1px solid var(--base-light);
      min-block-size: calc(1.875rem + 2 * var(--space-m) + 1px);
    }
    .nav__bar-logo img { height: 1.875rem; width: auto; }
    .nav.is-sub .nav__bar-logo { display: none; }
    .nav__close { display: flex; width: 1.625rem; height: 1.625rem; margin-left: auto; color: #000; }
    .nav__close .icon { width: 100%; height: 100%; }
    .nav__back { display: inline-flex; align-items: center; gap: .4em; font-size: 1.0156rem; color: #000; line-height: 1; }
    .nav__back[hidden] { display: none; }
    .nav__back-icon { width: .875rem; height: .875rem; transform: rotate(90deg); }
    .nav__back-text { display: block; text-box: trim-both cap alphabetic; }
    .nav__body { position: relative; flex: 1; min-height: 0; overflow: hidden; overflow: clip; }
    .nav__list {
      flex-direction: column; align-items: stretch; gap: 0; padding: 0;
      height: 100%; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: none;
    }
    .nav__list::-webkit-scrollbar { display: none; }
    .nav__item:not(.nav__item--cta) { border-bottom: 1px solid var(--base-light); }
    .nav__link {
      display: flex; width: 100%; justify-content: space-between;
      padding: calc(var(--space-m) / 1.6) var(--gutter);
      color: var(--base); font-weight: 500;
    }
    .nav__link:focus-visible { outline-offset: -2px; }
    @media (hover: hover) { .nav__link:hover { background: var(--base); color: #fff; } }
    .nav__link[aria-current="page"] { color: var(--primary); }
    .nav__caret { transform: rotate(-90deg); }
    .nav__mega-toggle[aria-expanded="true"] .nav__caret { transform: rotate(-90deg); }
    .nav__item--cta { padding: var(--space-m) var(--gutter); }
    .nav__cta:focus-visible { outline-offset: 2px; }
    .mega {
      position: absolute; inset: 0; top: 0; z-index: 2;
      padding: var(--space-m) var(--gutter);
      box-shadow: none;
      overflow-y: auto; overscroll-behavior: contain; scrollbar-width: none;
      opacity: 0; visibility: hidden; transform: translateX(100%);
      transition: transform .2s var(--ease-drawer), opacity .2s var(--ease-drawer), visibility .2s var(--ease-drawer);
    }
    .mega::-webkit-scrollbar { display: none; }
    .mega__link:focus-visible::after { outline-offset: -2px; }
  }
  @media (width > 1100px) {
    .nav__panel, .nav__body { display: contents; }
  }

  /* ===== home: hero ===== */
  .bg-pattern { position: relative; isolation: isolate; }
  .bg-pattern::before {
    content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
    background-image: radial-gradient(circle, var(--base-ultra-dark) 1.5px, transparent 1.5px);
    background-size: 1.5625rem 1.5625rem;
    opacity: .08;
  }
  .hero {
    --hero-overlap: 181px;
    --pillar-border: 34px;
    --pillar-height: 47.625rem;
    padding: 0 var(--gutter);
    overflow-x: clip;
  }
  .hero__top {
    position: relative; z-index: 1;
    max-width: var(--content-width); margin-inline: auto;
    display: flex; justify-content: space-between; gap: var(--space-m);
  }
  .hero__intro {
    flex: 0 1 55.625rem; min-width: 0;
    display: flex; flex-direction: column; gap: var(--space-m);
    margin-top: var(--section-l);
    padding-bottom: calc(var(--hero-overlap) + var(--space-m));
  }
  .hero__aside { position: relative; flex: 0 0 22.375rem; }
  .hero__pillar {
    display: flex; align-items: flex-end;
    height: var(--pillar-height);
    padding: 0 var(--space-xs) var(--space-s);
    background: var(--base);
    border: var(--pillar-border) solid #fff; border-top: 0;
    border-radius: 0 0 400px 400px;
  }
  .hero__badge { display: block; width: 100%; border-radius: 50%; }
  .hero__badge-img { width: 100%; height: auto; }
  .hero__rating {
    position: absolute; top: 22%; left: -170px;
    max-width: 85%;
    display: flex; flex-direction: column; align-items: flex-start; row-gap: .25em;
    padding: var(--space-xs) var(--space-m);
    background: var(--ultra-light);
    border-radius: 60px;
  }
  .hero__stars { display: flex; gap: .25em; color: var(--primary); }
  .hero__star { width: var(--text-xs); height: var(--text-xs); }
  .hero__rating-text { font-size: var(--text-s); font-weight: 600; line-height: 1.3; color: rgb(64 64 64 / .7); }

  .hero__media {
    max-width: var(--content-width);
    margin: calc(var(--hero-overlap) * -1) auto 0;
    display: flex; flex-direction: column; align-items: flex-start;
  }
  .hero__image { width: 100%; height: 25rem; object-fit: cover; }

  .services-panel {
    position: relative;
    width: 76.875rem; max-width: 100%;
    display: flex; flex-wrap: wrap; gap: var(--grid-gap);
    padding: var(--section-m);
    background: var(--base);
  }
  .services-panel__item {
    position: relative;
    flex: 0 1 28.875rem; min-width: 0;
    display: flex; align-items: center; gap: var(--space-xs);
  }
  .services-panel__icon {
    flex: none; display: flex;
    padding: var(--space-xs);
    background: rgb(255 255 255 / .1);
    border-radius: 50vw;
  }
  .services-panel__mark { width: 1.375rem; height: 1.375rem; }
  .services-panel__content { display: flex; flex-direction: column; row-gap: calc(var(--space-xs) / 3); min-width: 0; }
  .services-panel__title {
    font-size: clamp(1.125rem, .476vw + 1.0088rem, 1.4375rem); font-weight: 500; line-height: 1.3;
    color: var(--ultra-light); text-transform: capitalize;
  }
  .services-panel__link { color: inherit; }
  .services-panel__link::after { content: ""; position: absolute; inset: 0; }
  .services-panel__link:focus-visible { outline: none; }
  .services-panel__link:focus-visible::after { outline: 2px solid var(--focus); outline-offset: 4px; }
  .services-panel__text { font-size: var(--text-card); color: var(--base-light); }
  .services-panel__word {
    position: absolute; z-index: 10;
    right: -23px; bottom: -23px;
    width: 7.875rem; height: auto;
    filter: contrast(0%) brightness(200%);
    pointer-events: none;
  }

  /* ===== home: about ===== */
  .about-block {
    padding: clamp(2.9625rem, 12.629vw - .1156rem, 11.25rem) var(--gutter);
    overflow-x: clip;
  }
  .about-block__container {
    max-width: var(--content-width); margin-inline: auto;
    display: flex; align-items: center; column-gap: var(--section-l);
  }
  .about-block__content {
    position: relative;
    width: 55%; min-width: 0;
    display: flex; flex-direction: column; align-items: flex-start; row-gap: var(--space-m);
  }
  .about-block__text { display: flex; flex-direction: column; gap: .5em; }
  .about-block__cta { position: relative; z-index: 1; margin-top: var(--space-s); }
  .about-block__vector { position: absolute; right: 80px; bottom: -49px; width: 14.9375rem; height: auto; pointer-events: none; }
  .about-block__media { width: 48%; min-width: 0; }
  .about-block__image { width: 100%; height: 100%; object-fit: cover; object-position: 100% 30%; }

  /* ===== home: authorities ===== */
  .authorities { padding: var(--section-m) var(--gutter); background: var(--tint); }
  .authorities__container {
    max-width: var(--content-width); margin-inline: auto;
    display: flex; flex-direction: column; align-items: center; row-gap: var(--container-gap);
  }
  .authorities__info {
    width: var(--width-l); max-width: 100%;
    display: flex; flex-direction: column; align-items: center; row-gap: var(--space-xs);
    text-align: center;
  }
  .authorities__text { width: calc(var(--width-m) * 1.1); max-width: 100%; }
  .authorities__grid {
    width: 100%;
    display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
    border-top: 1px solid var(--line); border-left: 1px solid var(--line);
  }
  .authorities__cell {
    display: flex; align-items: center; justify-content: center;
    aspect-ratio: 16 / 9;
    border-right: 1px solid var(--line); border-bottom: 1px solid var(--line);
  }
  .authorities__logo { width: 13.75rem; max-width: 90%; height: auto; }

  /* ===== home: who we are ===== */
  .who { padding: var(--section-m) var(--gutter); }
  .who__container {
    max-width: var(--content-width); margin-inline: auto;
    display: flex; gap: var(--container-gap);
  }
  .who__lead { flex: 0 0 45%; display: flex; flex-direction: column; row-gap: var(--space-xl); }
  .who__image { width: 100%; max-height: 34.375rem; object-fit: cover; }
  .who__features { flex: 1; min-width: 0; display: flex; flex-direction: column; row-gap: var(--space-xl); }
  .feature {
    display: flex; flex-direction: column; align-items: flex-start; row-gap: var(--space-s);
    border-top: 1px solid var(--primary);
  }
  .feature__tag {
    min-width: 10.3125rem;
    padding: calc(8px + (1.2em - 1cap) / 2) 38px calc(7px + (1.2em - 1cap) / 2);
    background: var(--primary);
    font-size: clamp(.875rem, 0.1905vw + .8286rem, 1rem); font-weight: 300; line-height: 1.2;
    text-transform: uppercase; color: #fff; text-align: center;
  }
  .feature__tag-text { display: block; text-box: trim-both cap alphabetic; }
  .feature__row { display: flex; align-items: center; column-gap: var(--space-xxl); margin-left: var(--space-l); }
  .feature__icon { flex: 0 1 auto; min-width: 0; width: 4.6875rem; height: 4.6875rem; }
  .feature__content { display: flex; flex-direction: column; row-gap: var(--space-s); }
  .feature__title { font-size: var(--h2); font-weight: 500; line-height: 1.2; }
  .feature__text { font-size: var(--text-card); color: var(--teal-80); max-width: 25rem; }

  /* ===== home: testimonials ===== */
  .testimonials { padding: var(--section-m) var(--gutter) var(--section-xl); background: var(--tint); }
  .testimonials__container {
    max-width: var(--content-width); margin-inline: auto;
    display: flex; flex-direction: column; align-items: center;
  }
  .testimonials__title { text-align: center; }

  .slider { width: 100%; margin-top: var(--space-xl); }
  .slider__viewport { overflow: hidden; overflow: clip; overflow-clip-margin: 2px; touch-action: pan-y; cursor: grab; }
  .slider__viewport:active, .slider.is-dragging .slider__viewport { cursor: grabbing; }
  .slider__track { --per: 3; display: flex; gap: var(--space-m); will-change: transform; }
  .slider__slide { flex: 0 0 calc((100% - (var(--per) - 1) * var(--space-m)) / var(--per)); min-width: 0; }
  .slider.is-dragging .slider__slide { user-select: none; }
  .slider__dots { display: flex; justify-content: center; flex-wrap: wrap; margin-top: calc(var(--space-l) - 5px); }
  .slider__dot {
    position: relative;
    width: 10px; height: 10px; margin: 7px; /* 24px pitch: WCAG 2.2 target spacing */
    border-radius: 100%;
    background: rgb(32 26 19 / .2);
    transition: background-color .2s linear;
  }
  .slider__dot::before { content: ""; position: absolute; inset: -7px; }
  .slider__dot[aria-current="true"] { background: var(--primary); }
  @media (width <= 991px) { .slider__track { --per: 1; } }

  .review { display: flex; flex-direction: column; align-items: center; row-gap: var(--space-m); }
  .slider__slide > .review { margin: 0; block-size: 100%; }
  .review__quote {
    position: relative; flex: 1; width: 100%;
    display: flex; flex-direction: column; align-items: flex-start; row-gap: var(--space-xs);
    padding: var(--space-m);
    background: #fff;
  }
  .review__quote::after {
    content: ""; position: absolute; left: 1.875rem; top: 100%;
    width: 1.5rem; height: .875rem;
    background: #fff;
    clip-path: polygon(0 0, 100% 0, 50% 100%);
  }
  .review__heading { font-size: var(--text-xl); font-weight: 400; color: #000; line-height: 1.2; }
  .review__text { font-size: var(--text-card); }
  .review__author {
    align-self: stretch;
    display: flex; align-items: center; column-gap: var(--space-xs);
    margin-left: var(--space-s);
  }
  .review__avatar { width: 1.875rem; height: 1.875rem; border-radius: 50%; object-fit: cover; flex: none; }
  .review__name { font-size: var(--text-s); font-weight: 700; color: #000; }
  .review__verified { margin-left: auto; display: flex; flex-direction: column; align-items: flex-end; gap: .2em; }
  .review__verified-text { font-size: var(--text-xs); line-height: 1; color: rgb(0 0 0 / .6); }
  .review__google { width: 3rem; height: auto; }

  /* ===== footer + CTA card ===== */
  .footer { display: flow-root; background: var(--base); color: var(--base-light); }
  .cta-card {
    --focus: var(--base);
    position: relative;
    width: var(--width-xl); max-width: calc(100% - 2 * var(--gutter));
    margin: calc(var(--section-s) * -1) auto var(--section-s);
    display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: var(--grid-gap);
    padding: var(--space-m);
    background: var(--primary); color: var(--base);
  }
  .cta-card__main { display: flex; flex-direction: column; justify-content: center; row-gap: var(--space-xs); }
  .cta-card__heading { font-size: var(--h2); color: #fff; }
  .cta-card__text { font-size: var(--text-card); }
  .cta-card__email { color: var(--base); }
  @media (hover: hover) { .cta-card__email:hover { color: var(--base-dark); } }
  .cta-card__side { display: flex; flex-direction: column; justify-content: center; align-items: flex-end; }
  .cta-card__btn {
    width: 100%;
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .55em;
    padding: calc(.75em + .15em) 1.5em;
    font-size: var(--text-xl); font-weight: 500; line-height: 1.3; text-align: center;
    background: var(--base); color: var(--base-ultra-light);
    transition: var(--transition);
  }
  .cta-card__btn-label { display: block; font-size: var(--text-m); line-height: 1.2; text-box: trim-both cap alphabetic; }
  .cta-card__btn-phone { display: block; white-space: nowrap; text-box: trim-both cap alphabetic; }
  @media (hover: hover) { .cta-card__btn:hover { background: var(--base-dark); color: var(--base-ultra-light); } }

  .footer__inner {
    max-width: var(--content-width); margin-inline: auto;
    padding: 0 var(--gutter) var(--section-m);
    box-sizing: content-box;
    display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2.7fr); gap: var(--space-xxl);
  }
  .footer__about { display: flex; flex-direction: column; row-gap: var(--content-gap); }
  .footer__logo { display: block; width: fit-content; }
  .footer__logo img { width: 11.25rem; height: auto; }
  .footer__text { font-size: var(--text-s); display: flex; flex-direction: column; gap: .5em; }
  .footer__label { color: var(--base-light); }
  .footer__email { color: var(--primary); }
  @media (hover: hover) { .footer__email:hover { color: var(--ultra-light); } }
  .footer__nav { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: var(--space-xl); }
  .footer__col { display: flex; flex-direction: column; row-gap: var(--content-gap); }
  .footer__heading { font-size: var(--h4); font-weight: 500; color: var(--base-light); }
  .footer__list--services { column-count: 2; column-gap: var(--space-m); }
  .footer__li {
    display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: .5em;
    margin-bottom: var(--space-s); line-height: 1.3;
    break-inside: avoid;
  }
  .footer__icon { width: var(--text-l); height: var(--text-l); }
  .footer__link { color: var(--ultra-light); font-size: var(--text-m); }
  @media (hover: hover) { .footer__link:hover { color: var(--primary); } }

  .subfooter { background: var(--base-ultra-dark); padding: var(--space-s) var(--gutter); color: var(--muted); }
  .subfooter__inner { max-width: var(--content-width); margin-inline: auto; display: flex; align-items: center; justify-content: space-between; gap: var(--space-s); }
  .subfooter__copy { font-size: var(--text-xs); }

  /* ===== about + service: content page ===== */
  .content-page { padding: var(--section-m) var(--gutter) var(--section-l); }
  .content-page__inner {
    max-width: var(--content-width); margin-inline: auto;
    display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: calc(var(--grid-gap) * 2);
    align-items: stretch;
  }
  .content-page__sticky { position: sticky; top: var(--space-s); display: flex; flex-direction: column; row-gap: var(--content-gap); }
  .content-page__title { font-size: var(--content-h1); font-weight: 500; line-height: 1; }
  .content-page__lede { font-style: italic; }

  .toc { width: 100%; }
  .toc__header {
    width: 100%;
    display: flex; align-items: center; justify-content: space-between; gap: .625rem;
    padding: calc(10px + (1em - 1cap) / 2) 10px;
    font-size: var(--text-l); font-weight: 500; line-height: 1; color: var(--primary);
    background: var(--tint);
    text-align: left;
  }
  .toc__header:focus-visible { outline-offset: -2px; }
  .toc__header-text { display: block; text-box: trim-both cap alphabetic; }
  .toc__chevron { width: .8em; height: .8em; flex: none; transform: rotateX(180deg); transition: transform .4s ease; }
  .toc__header[aria-expanded="false"] .toc__chevron { transform: none; }
  .toc__body { display: grid; grid-template-rows: 1fr; transition: grid-template-rows .3s ease; }
  .toc__body.is-collapsed { grid-template-rows: 0fr; }
  @media (width <= 767px) { .js .toc__body:not(.is-expanded) { grid-template-rows: 0fr; } .js .toc__body:not(.is-expanded) .toc__clip { visibility: hidden; } }
  .toc__clip { min-height: 0; overflow: hidden; overflow: clip; overflow-clip-margin: 3px; }
  .toc__body.is-collapsed .toc__clip { visibility: hidden; transition: visibility 0s linear .3s; }
  .toc__list { padding-top: var(--space-xs) !important; }
  .toc__link {
    position: relative; display: block;
    padding: 3px 10px;
    color: #000;
  }
  .toc__link::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 2px; background: #eee; transition: background-color .2s; }
  .toc__link.is-active { font-weight: 700; }
  .toc__link.is-active::before { background: var(--primary); }
  .toc__link:focus-visible { outline-offset: -2px; }

  .prose > * + * { margin-top: .5em; }
  .prose h2, .prose h3 { margin-top: 1em; }
  .prose > :first-child { margin-top: 0; }
  .prose h2[id], .prose h3[id] { scroll-margin-top: 22px; }
  .prose ul, .prose ol { padding-left: 2.25rem; margin-block: 1.125rem; }
  .prose li + li { margin-top: .5em; }
  .prose a { color: var(--primary); font-weight: 600; }

  /* ===== contact ===== */
  .contact {
    position: relative; isolation: isolate;
    padding: var(--section-m) var(--gutter) var(--section-l);
  }
  .contact__bg { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; object-fit: cover; object-position: 50%; }
  .contact__overlay { position: absolute; inset: 0; z-index: -1; background: rgb(0 0 0 / .5); }
  .contact__container {
    max-width: var(--content-width); margin-inline: auto;
    display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: calc(var(--content-gap) * 4);
  }
  .contact__info { display: flex; flex-direction: column; row-gap: var(--content-gap); }
  .contact__intro { display: flex; flex-direction: column; row-gap: var(--space-xs); }
  .contact__title { color: var(--base-light); }
  .contact__text { font-size: var(--text-m); color: rgb(255 255 255 / .8); }
  .contact__list { display: flex; flex-direction: column; row-gap: var(--space-xs); }
  .contact__item { display: flex; align-items: center; column-gap: var(--space-xs); }
  .contact__address { display: flex; align-items: center; column-gap: var(--space-xs); }
  .contact__icon { flex: none; width: 1.125em; height: 1em; color: #fff; font-size: var(--text-m); }
  .contact__item-text { color: rgb(255 255 255 / .8); }
  .contact__map { color: var(--primary); font-weight: 700; }
  @media (hover: hover) { .contact__map:hover { color: var(--primary-hover); } }

  /* ===== post, listing, 404 ===== */
  .post-header {
    display: flex; flex-direction: column; justify-content: center;
    min-height: 50vh; margin-bottom: 60px;
  }
  .post-header__inner { width: 100%; max-width: 90rem; margin-inline: auto; padding-inline: 15px; }
  .post-header__title { font-size: calc(var(--text-m) * 3); color: var(--base); margin: 0; }
  .post-header__meta { display: flex; flex-wrap: wrap; align-items: center; column-gap: 20px; font-size: calc(var(--text-m) * 1.2); }
  .post-header__item { white-space: nowrap; }
  .post-header__sep { margin-right: 20px; }
  .post { max-width: 90rem; margin-inline: auto; padding: 0 15px var(--section-l); }
  .post__body h2 { margin-top: 1em; }
  .post-author { display: flex; align-items: center; gap: 15px; margin: 60px 0; }
  .post-author__avatar { width: 60px; height: 60px; border-radius: 50%; flex: none; }
  .post-author__name { font-size: var(--h2); }
  .post-author__name a { color: inherit; }
  @media (hover: hover) { .post-author__name a:hover { color: var(--primary); } }
  .post__meta-wrap { display: flex; align-items: center; justify-content: space-between; margin: 30px 0; padding: 30px 0; border-block: 1px solid #dddedf; }
  .share { display: flex; flex-wrap: wrap; gap: 10px; }
  .share__link { display: flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 50%; color: #fff; transition: opacity .3s ease-in-out; }
  .share__link svg { width: 1em; height: 1em; fill: currentColor; }
  @media (hover: hover) { .share__link:hover { opacity: .85; color: #fff; } }
  .share__link--facebook { background: #3b5998; }
  .share__link--twitter { background: #4cc2ff; }
  .share__link--linkedin { background: #4875b4; }
  .share__link--pinterest { background: #c91a22; }
  .share__link--email { background: #9e9e9e; }

  .listing { padding: var(--section-m) var(--gutter) var(--section-l); }
  .listing__inner { max-width: var(--content-width); margin-inline: auto; display: flex; flex-direction: column; row-gap: var(--space-l); }
  .listing__list { display: flex; flex-direction: column; row-gap: var(--space-l); }
  .listing__item { display: flex; flex-direction: column; row-gap: var(--space-xs); padding-bottom: var(--space-l); border-bottom: 1px solid var(--base-light); }
  .listing__item-title a { color: var(--base); }
  @media (hover: hover) { .listing__item-title a:hover { color: var(--primary); } }
  .listing__date { font-size: var(--text-s); color: var(--base-dark); }

  .not-found { padding: var(--section-m) var(--gutter) var(--section-l); }
  .not-found__inner { max-width: var(--content-width); margin-inline: auto; display: flex; flex-direction: column; align-items: center; row-gap: var(--space-m); text-align: center; }

  /* ===== WhatsApp widget ===== */
  .wa { --focus: var(--base); position: fixed; right: 30px; bottom: 30px; z-index: 900; }
  .wa__btn {
    position: relative;
    width: 56px; height: 56px; border-radius: 50%;
    display: grid; place-items: center;
    background: var(--wa); color: #fff;
    box-shadow: 0 4px 12px rgb(0 0 0 / .15);
    transition: transform .3s ease, box-shadow .3s ease;
  }
  @media (hover: hover) { .wa__btn:hover { box-shadow: 0 6px 18px rgb(0 0 0 / .25); } }
  .wa__btn-icon { grid-area: 1 / 1; width: 32px; height: 32px; transition: opacity .4s, transform .4s; }
  .wa__btn-icon--close { width: 26px; height: 26px; opacity: 0; transform: rotate(-90deg) scale(.6); }
  .wa.is-open .wa__btn-icon--open { opacity: 0; transform: rotate(90deg) scale(.6); }
  .wa.is-open .wa__btn-icon--close { opacity: 1; transform: none; }
  .wa__popup {
    position: absolute; right: 0; bottom: 72px;
    width: min(21.9375rem, calc(100vw - 60px));
    background: #fff;
    border-radius: 5px 5px 8px 8px;
    box-shadow: 0 10px 10px 4px rgb(0 0 0 / .04), 0 0 0 1px rgb(0 0 0 / .04);
    overflow: hidden;
    opacity: 0; visibility: hidden; transform: translateY(20px);
    transition: opacity .4s, transform .4s, visibility .4s;
  }
  .wa.is-open .wa__popup { opacity: 1; visibility: visible; transform: none; }
  .js .wa__popup[hidden] { display: block; }
  .wa__head { display: flex; align-items: flex-start; gap: 1rem; padding: 1.25rem; background: var(--wa); color: #fff; }
  .wa__head-icon { width: 2.125rem; height: 2.125rem; flex: none; }
  .wa__title { font-size: 1.125rem; line-height: 1.3; color: #fff; }
  .wa__intro { margin-top: .25rem; font-size: .8125rem; line-height: 1.5; color: #d9ebc6; }
  .wa__intro strong { color: #fff; }
  .wa__body { padding: .875rem 1.25rem 1.25rem; }
  .wa__notice { font-size: .75rem; color: #6b6b6b; margin-bottom: .75rem; }
  .wa__account {
    display: flex; align-items: center; gap: .75rem;
    padding: .75rem .875rem;
    background: #f5f7f9; border-left: 2px solid var(--wa);
    color: #000;
    transition: background-color .3s;
  }
  @media (hover: hover) { .wa__account:hover { background: #ebeef1; color: #000; } }
  .wa__account:focus-visible { outline-offset: -2px; }
  .wa__avatar { flex: none; display: grid; place-items: center; width: 3rem; height: 3rem; border-radius: 50%; background: var(--wa); color: #fff; }
  .wa__avatar .icon { width: 1.75rem; height: 1.75rem; }
  .wa__info { display: flex; flex-direction: column; min-width: 0; flex: 1; }
  .wa__name { font-size: .9375rem; color: #000; }
  .wa__role { font-size: .75rem; color: #6b6b6b; }
  .wa__go { width: 1.375rem; height: 1.375rem; color: var(--wa); flex: none; }

  /* ===== entrance animations (animate.css keyframes, 2s, once) ===== */
  @keyframes fadeInRight { from { opacity: 0; transform: translate3d(100%, 0, 0); } to { opacity: 1; transform: translateZ(0); } }
  @keyframes zoomIn { from { opacity: 0; transform: scale3d(.3, .3, .3); } 50% { opacity: 1; } }
  @keyframes spin { to { transform: rotate(360deg); } }
  @media (prefers-reduced-motion: no-preference) {
    .js [data-reveal]:not(.is-revealed) { opacity: 0; }
    .js [data-reveal="fade-in-right"].is-revealed { animation: fadeInRight 2s ease both; }
    .js [data-reveal="zoom-in"].is-revealed { animation: zoomIn 2s ease both; }

    /* hero badge: one full turn over the first 80% of the page scroll (live: paused spin, delay = -scroll) */
    .hero__badge-img {
      animation: spin .8s linear both paused;
      animation-delay: calc(var(--scroll, 0) * -1s);
      animation-iteration-count: 1;
    }
    @supports (animation-timeline: scroll()) {
      .hero__badge-img {
        animation: spin linear both;
        animation-timeline: scroll(root block);
        animation-range: 0% 80%;
      }
    }
  }
}

/* ---------- responsive (live Bricks breakpoints: 1280, 991, 767, 478) ---------- */
@layer components {
  @media (width <= 1280px) {
    .services-panel__word { top: 50px; right: 20px; bottom: auto; width: 6.25rem; }
  }
  @media (width <= 1100px) {
    .nav__open { margin-left: var(--space-s); }
  }
  @media (width <= 991px) {
    .hero { --hero-overlap: 100px; --pillar-border: 20px; --pillar-height: 34.375rem; }
    .hero__intro { gap: var(--space-s); }
    .hero__aside { flex: 0 0 clamp(13.75rem, 28vw, 17.5rem); }
    .hero__rating { top: 20%; left: 0; max-width: 100%; padding: 10px; border-radius: 16px; row-gap: 8px; }
    .hero__rating-text { font-size: .875rem; }
    .services-panel { padding: var(--space-xl) var(--space-l); column-gap: 45px; }
    .services-panel__icon { padding: 32px 30px; }
    .services-panel__word { width: 100px; }
    .about-block__container { column-gap: var(--space-l); align-items: flex-start; }
    .about-block__cta { margin-top: 12px; }
    .about-block__vector { right: 0; bottom: -15px; width: 150px; }
    .authorities__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .authorities__cell { aspect-ratio: 1; }
    .feature__row { column-gap: var(--space-s); }
    .feature__text { max-width: none; }
    .footer__inner { grid-template-columns: minmax(0, 1fr); }
  }
  @media (width <= 767px) {
    .hero { --hero-overlap: 40px; --pillar-border: 12px; --pillar-height: 26.25rem; }
    .hero__intro { margin-top: var(--space-l); }
    .hero__rating { top: 18%; }
    .hero__rating-text { margin-inline: 16px; text-align: center; }
    .services-panel { padding: var(--space-l) var(--space-m); row-gap: 45px; }
    .services-panel__word { width: 60px; }
    .about-block__container { flex-direction: column-reverse; row-gap: var(--space-xl); }
    .about-block__content, .about-block__media { width: 100%; }
    .about-block__media { height: 25rem; }
    .about-block__vector { right: 200px; }
    .who__container { flex-direction: column; gap: var(--space-xl); }
    .who__lead { flex: none; row-gap: var(--space-m); }
    .who__image { height: 18.75rem; object-position: 100% 0; }
    .cta-card { grid-template-columns: minmax(0, 1fr); }
    .cta-card__side { align-items: center; }
    .content-page__inner { grid-template-columns: minmax(0, 1fr); gap: var(--content-gap); }
    .content-page__sticky { position: static; }
    .contact__container { grid-template-columns: minmax(0, 1fr); }
  }
  @media (478px < width <= 991px) {
    .contact__title { text-align: center; }
  }
  @media (width <= 478px) {
    .hero { --hero-overlap: 0px; }
    .hero__top { gap: 0; }
    .hero__intro { flex: 1 1 100%; margin-top: var(--space-xxl); padding-bottom: 25px; }
    .hero__aside { display: none; }
    .hero__image { height: 200px; }
    .services-panel__icon { padding: 4px; }
    .about-block__container { row-gap: var(--space-l); }
    .about-block__vector { right: 0; bottom: 0; }
    .authorities__info, .authorities__text { text-align: left; align-items: flex-start; }
    .authorities__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .feature__row { margin-left: 0; }
    .testimonials__container { align-items: flex-start; }
    .testimonials__title { text-align: left; }
    .footer__nav { grid-template-columns: minmax(0, 1fr); }
    .footer__list--services { column-count: 1; }
  }
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .hero__badge-img { animation: none !important; }
}
