/* ==========================================================================
   Asistir Estética — UI layer (mu-plugin). Scoped entirely to body.aui.
   Concept: "Precisión manual, calidez de madera".
   ========================================================================== */

/* ---------- fonts ---------- */
@font-face {
  font-family: "Cormorant Garamond"; font-style: normal; font-weight: 500;
  font-display: swap;
  src: url("fonts/cg-500.woff2") format("woff2");
}
@font-face {
  font-family: "Cormorant Garamond"; font-style: normal; font-weight: 600;
  font-display: swap;
  src: url("fonts/cg-600.woff2") format("woff2");
}
@font-face {
  font-family: "DM Sans"; font-style: normal; font-weight: 400 700;
  font-display: swap;
  src: url("fonts/dm-400-700.woff2") format("woff2");
}
@font-face { /* metric-adjusted serif fallback */
  font-family: "CG Fallback"; src: local("Georgia");
  size-adjust: 96.5%; ascent-override: 96%; descent-override: 25%;
}
@font-face { /* metric-adjusted sans fallback */
  font-family: "DM Fallback"; src: local("Arial");
  size-adjust: 103%; ascent-override: 96%; descent-override: 25%;
}

/* ---------- tokens ---------- */
body.aui {
  --ink: #231D1B; --ink-2: #5C514B;
  --paper: #FAF7F3; --sand: #F2EBE4; --clay: #E7DACE; --card: #FFF;
  --line: rgba(35,29,27,.12);
  --wine: #8A4558; --wine-hover: #6F3446; --wine-deep: #4A2230;
  --rose-300: #E8B4C2; --rose-100: #F6E3E8;
  --gold: #B58C57; --wa: #0E7C45;
  --sh-1: 0 1px 2px rgba(35,29,27,.06), 0 6px 16px rgba(35,29,27,.05);
  --sh-2: 0 2px 4px rgba(35,29,27,.06), 0 16px 36px rgba(35,29,27,.10);
  --e: cubic-bezier(.22,.61,.36,1);
  --gut: clamp(16px,4.5vw,64px);
  --serif: "Cormorant Garamond","CG Fallback",Georgia,serif;
  --sans: "DM Sans","DM Fallback",Arial,Helvetica,sans-serif;
}

/* ---------- base / neutralize WP block gaps ---------- */
body.aui {
  font-family: var(--sans);
  font-size: 1.0625rem; line-height: 1.65;
  color: var(--ink); background: var(--paper);
  overflow-x: clip;
}
body.aui .wp-site-blocks,
body.aui .wp-site-blocks > *,
body.aui .is-layout-flow > *,
body.aui .wp-block-post-content > *,
body.aui .entry-content > * {
  margin-block-start: 0 !important; margin-block-end: 0 !important;
}
body.aui .wp-site-blocks { padding-top: 0 !important; padding-bottom: 0 !important; max-width: 1920px; margin-inline: auto; }
body.aui .wp-block-template-part:empty { display: none; }
body.aui img { max-width: 100%; height: auto; }
body.aui a { color: var(--wine); }

body.aui .container {
  width: min(100% - 2 * var(--gut), 1240px);
  margin-inline: auto;
}
@media (min-width: 1700px) { body.aui .container { width: min(100% - 2 * var(--gut), 1320px); } }

/* ---------- typography ---------- */
body.aui h1, body.aui h2, body.aui h3 {
  font-family: var(--serif); font-weight: 500;
  letter-spacing: -0.015em; margin: 0;
}
body.aui h1, body.aui h2 { text-wrap: balance; }
body.aui h1 { font-size: clamp(2.5rem,5.4vw,5rem); line-height: 1.04; }
body.aui h2 { font-size: clamp(1.75rem,3.2vw,3.25rem); line-height: 1.08; max-width: 26ch; }
body.aui .section-localities h2 { max-width: 34ch; }
body.aui h3 { font-size: clamp(1.25rem,1.6vw,1.5rem); line-height: 1.2; }
body.aui p { max-width: 62ch; margin: 0; }
body.aui .section { padding-block: clamp(64px,8vw,112px); content-visibility: auto; contain-intrinsic-size: auto 900px; }
body.aui .section-heading { margin-bottom: clamp(32px,4vw,56px); }
body.aui .section-heading h2 + p { margin-top: 20px; }

body.aui .eyebrow, body.aui .section-kicker {
  display: flex; align-items: center; gap: 9px;
  margin: 0 0 16px;
  font-family: var(--sans); font-size: .75rem; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--wine); line-height: 1.35;
}
body.aui .eyebrow::before, body.aui .section-kicker::before {
  content: ""; flex: none; width: 12px; height: 12px;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20.6 13.4A8.8 8.8 0 0 1 10.6 3.4a.6.6 0 0 0-.8-.8 10.4 10.4 0 1 0 11.6 11.6.6.6 0 0 0-.8-.8z'/%3E%3C/svg%3E") center/contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20.6 13.4A8.8 8.8 0 0 1 10.6 3.4a.6.6 0 0 0-.8-.8 10.4 10.4 0 1 0 11.6 11.6.6.6 0 0 0-.8-.8z'/%3E%3C/svg%3E") center/contain no-repeat;
}
body.aui .section-dark .eyebrow, body.aui .section-dark .section-kicker,
body.aui .hero .eyebrow, body.aui .local-hero .eyebrow,
body.aui .contact-panel .section-kicker, body.aui .nearby-panel .section-kicker {
  color: var(--rose-300);
}

/* ---------- skip link ---------- */
body.aui .skip-link {
  position: fixed; left: -9999px; top: 8px; z-index: 999;
  background: var(--wine); color: #fff; padding: 10px 18px; border-radius: 10px;
  font-size: .875rem; text-decoration: none;
}
body.aui .skip-link:focus { left: 8px; }

/* ---------- buttons & links ---------- */
body.aui .button {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 28px; border-radius: 10px;
  font-family: var(--sans); font-size: .9375rem; font-weight: 600;
  text-decoration: none; border: 0; cursor: pointer;
  transition: transform .16s var(--e), background-color .16s var(--e), box-shadow .16s var(--e), color .16s var(--e);
}
@media (max-width: 767px) { body.aui .button { min-height: 52px; } }
body.aui .button:active { transform: scale(.98); }
body.aui .button-accent { background: var(--wine); color: #fff; }
body.aui .button-small { min-height: 40px; padding: 0 20px; font-size: .875rem; background: var(--wine); color: #fff; }
@media (hover:hover) {
  body.aui .button-accent:hover, body.aui .button-small:hover {
    background: var(--wine-hover); transform: translateY(-1px); box-shadow: var(--sh-1);
  }
}
/* primary on dark */
body.aui .section-dark .button-accent, body.aui .section-dark .button-dark,
body.aui .section-method .button-dark, body.aui .section-method .button-accent,
body.aui .contact-panel .button:not(.button-ghost), body.aui .nearby-panel .button:not(.button-ghost) {
  background: var(--rose-300); color: var(--ink);
}
@media (hover:hover) {
  body.aui .section-dark .button-accent:hover, body.aui .section-dark .button-dark:hover,
  body.aui .section-method .button-dark:hover, body.aui .section-method .button-accent:hover,
  body.aui .contact-panel .button:not(.button-ghost):hover, body.aui .nearby-panel .button:not(.button-ghost):hover {
    background: var(--rose-100); transform: translateY(-1px); box-shadow: var(--sh-1);
  }
}
body.aui .button-ghost {
  background: transparent; border: 1.5px solid rgba(255,255,255,.45); color: #fff;
}
@media (hover:hover) {
  body.aui .button-ghost:hover { border-color: #fff; transform: translateY(-1px); box-shadow: var(--sh-1); }
}
body.aui :is(a,button,summary,[tabindex]):focus-visible {
  outline: 2px solid var(--wine); outline-offset: 3px;
}
body.aui .section-dark :is(a,button,summary):focus-visible,
body.aui .section-method :is(a,button,summary):focus-visible,
body.aui .contact-panel :is(a,button,summary):focus-visible,
body.aui .nearby-panel :is(a,button,summary):focus-visible,
body.aui .site-footer :is(a,button,summary):focus-visible {
  outline-color: #fff;
}

/* text links with arrow */
body.aui .text-link {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--wine); font-size: .9375rem; font-weight: 600;
  text-decoration: none; border-bottom: 1px solid var(--wine); padding-bottom: 3px;
}
body.aui .text-link::after {
  content: ""; width: 12px; height: 12px; flex: none;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='currentColor' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round' d='M7 17 17 7M8 7h9v9'/%3E%3C/svg%3E") center/contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='currentColor' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round' d='M7 17 17 7M8 7h9v9'/%3E%3C/svg%3E") center/contain no-repeat;
  transition: transform .3s var(--e);
}
@media (hover:hover) { body.aui .text-link:hover::after { transform: translate(3px,-3px); } }
body.aui .text-link > span { display: none; } /* hides legacy ↘ glyph (own element, text untouched) */
body.aui .light-link { color: #fff; border-bottom-color: rgba(255,255,255,.6); }

/* ---------- header ---------- */
body.aui .site-header {
  position: sticky; top: 0; z-index: 300;
  height: 76px; background: var(--paper);
  border-bottom: 1px solid var(--line);
  transition: height .32s var(--e), box-shadow .32s var(--e);
}
body.admin-bar.aui .site-header { top: 32px; }
body.aui .site-header.aui-scrolled { height: 64px; box-shadow: var(--sh-1); }
body.aui .header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
body.aui .brand {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--serif); font-size: 1.3rem; font-weight: 600;
  color: var(--ink); text-decoration: none;
}
body.aui .brand img { width: 44px !important; height: 44px !important; object-fit: contain; }
body.aui .site-header nav { display: flex; align-items: center; gap: 28px; }
body.aui .site-header nav a:not(.button) {
  color: var(--ink-2); font-size: .9375rem; font-weight: 500; text-decoration: none;
  transition: color .16s var(--e);
}
@media (hover:hover) { body.aui .site-header nav a:not(.button):hover { color: var(--ink); } }

/* mobile header controls (JS-injected) */
body.aui .aui-burger {
  display: none; width: 44px; height: 44px; border: 1px solid var(--line);
  border-radius: 10px; background: transparent; cursor: pointer;
  flex-direction: column; align-items: center; justify-content: center; gap: 6px;
  padding: 0;
}
body.aui .aui-burger span { display: block; width: 18px; height: 2px; background: var(--ink); transition: transform .32s var(--e), opacity .2s; }
body.aui .aui-burger[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
body.aui .aui-burger[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
body.aui .aui-mwa {
  display: none; width: 44px; height: 44px; border-radius: 50%;
  background: var(--wa); color: #fff; align-items: center; justify-content: center;
}
@media (max-width: 899px) {
  body.aui .site-header { height: 64px; }
  body.aui .site-header nav { display: none; }
  body.aui .brand img { width: 36px !important; height: 36px !important; }
  body.aui .brand span { font-size: 1.15rem; }
  body.aui .aui-burger { display: inline-flex; }
  body.aui .aui-mwa { display: inline-flex; }
  body.aui .header-inner { gap: 10px; }
}
/* mobile menu overlay */
body.aui .aui-menu {
  position: fixed; inset: 0; z-index: 290;
  background: var(--paper); display: none;
}
body.aui .aui-menu.on { display: block; }
body.aui .aui-menu-in {
  box-sizing: border-box; height: 100%; display: flex; flex-direction: column;
  padding: calc(64px + 8px) var(--gut) calc(24px + env(safe-area-inset-bottom));
}
body.aui .aui-menu-in a:not(.button) {
  display: flex; align-items: center; min-height: 56px;
  font-family: var(--serif); font-size: 22px; color: var(--ink);
  text-decoration: none; border-bottom: 1px solid var(--line);
}
body.aui .aui-menu-in a.button { margin-top: auto; width: 100%; }
body.aui.aui-lock { overflow: hidden; }

/* ---------- hero (home + barrios) ---------- */
body.aui .hero, body.aui .local-hero {
  position: relative; overflow: clip;
  min-height: clamp(560px, calc(100svh - 76px), 820px);
  display: flex; flex-direction: column; justify-content: flex-end;
  background: var(--ink); color: #fff;
}
body.aui .hero-media, body.aui .local-hero-media { position: absolute; inset: 0; }
body.aui .hero-media picture, body.aui .local-hero-media picture { display: contents; }
body.aui .hero-media img, body.aui .local-hero-media img {
  width: 100%; height: 100%; object-fit: cover; object-position: center 32%;
}
body.aui .hero-scrim, body.aui .local-hero-scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(25,18,15,.70) 0%, rgba(25,18,15,.38) 40%, rgba(25,18,15,0) 70%),
    linear-gradient(180deg, rgba(25,18,15,0) 52%, rgba(25,18,15,.55) 100%);
}
body.aui .hero-content, body.aui .local-hero-content {
  position: relative; z-index: 1; padding-bottom: clamp(40px,6vh,72px);
}
body.aui .hero .eyebrow, body.aui .local-hero .eyebrow { color: var(--rose-300); }
body.aui .hero h1, body.aui .local-hero h1 { max-width: 720px; color: #fff; }
body.aui .hero-lead {
  max-width: 720px; margin-top: 20px;
  font-size: clamp(1.1875rem,1.4vw,1.25rem); line-height: 1.55;
  color: rgba(255,255,255,.88);
}
body.aui .hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 16px 22px; margin-top: 32px; }
body.aui .local-hero-content > .button { margin-top: 32px; }
body.aui .hero-proof {
  position: relative; z-index: 1;
  width: min(100% - 2 * var(--gut), 1240px); margin-inline: auto;
  display: flex; flex-wrap: wrap; gap: 10px 12px;
  padding-bottom: clamp(28px,4vh,44px);
}
body.aui .hero-proof > span {
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 44px; padding: 8px 16px; border-radius: 999px;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16);
  color: #fff; font-size: .875rem;
}
body.aui .hero-proof .aui-num {
  font-family: var(--serif); font-size: 1.45rem; line-height: 1; color: var(--rose-300);
}
@media (min-width: 1700px) { body.aui .hero-proof { width: min(100% - 2 * var(--gut), 1320px); } }
@media (max-width: 767px) {
  body.aui .hero, body.aui .local-hero { min-height: clamp(520px, calc(100svh - 64px), 700px); }
  body.aui .hero-media img, body.aui .local-hero-media img { object-position: 60% center; }
  body.aui .hero-proof > span { padding: 6px 12px; font-size: .82rem; }
}

/* ---------- intro ---------- */
body.aui .section-intro { background: var(--paper); padding-block: clamp(40px,5vw,72px); }
body.aui .intro-grid {
  display: grid; grid-template-columns: 5fr 7fr;
  gap: clamp(32px,4vw,56px); align-items: start;
}
body.aui .intro-copy .bluf { font-size: clamp(1.125rem,1.5vw,1.1875rem); line-height: 1.55; max-width: none; }
body.aui .intro-copy .bluf a { color: var(--wine); text-decoration: underline; text-underline-offset: 3px; }
body.aui .local-context { margin-top: 18px; color: var(--ink-2); font-size: .9375rem; }
body.aui .intro-copy .text-link { margin-top: 24px; }
@media (max-width: 767px) { body.aui .intro-grid { grid-template-columns: 1fr; } }

/* ---------- services ---------- */
body.aui .section-services { background: var(--sand); }
body.aui .section-services .section-heading {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 0 clamp(32px,4vw,56px); align-items: end;
}
body.aui .section-services .section-kicker { grid-column: 1; }
body.aui .section-services .section-heading h2 { grid-column: 1; }
body.aui .section-services .section-heading > p:last-child {
  grid-column: 2; grid-row: 1 / 3; align-self: end; margin-top: 0; color: var(--ink-2);
}
body.aui .treat-list {
  display: grid; grid-template-columns: repeat(3, minmax(0,1fr));
  gap: clamp(16px,2vw,28px); margin-top: 0;
}
body.aui .treat-item {
  display: flex; flex-direction: column; min-width: 0;
  background: var(--card); border-radius: 14px; overflow: hidden;
  box-shadow: var(--sh-1);
  transition: box-shadow .32s var(--e);
}
body.aui .treat-item > img {
  width: 100%; aspect-ratio: 16 / 11; object-fit: cover; display: block;
  filter: saturate(.92) contrast(1.02);
  transition: transform .7s var(--e);
}
body.aui .treat-item > div { padding: 18px 20px 22px; min-width: 0; }
body.aui .treat-item h3 { font-family: var(--serif); font-size: 1.375rem; font-weight: 600; margin: 0 0 6px; }
body.aui .treat-item p { font-size: .9375rem; color: var(--ink-2); line-height: 1.55; margin: 0; }
@media (hover:hover) {
  body.aui .treat-item:hover { box-shadow: var(--sh-2); }
  body.aui .treat-item:hover > img { transform: scale(1.03); }
}
@media (max-width: 767px) {
  body.aui .section-services .section-heading { grid-template-columns: 1fr; }
  body.aui .section-services .section-heading > p:last-child { grid-column: 1; grid-row: auto; margin-top: 20px; }
}
@media (min-width: 600px) and (max-width: 1023px) {
  body.aui .treat-list { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 599px) {
  body.aui .treat-list { grid-template-columns: 1fr; }
  body.aui .treat-item { flex-direction: row; align-items: center; padding: 14px; gap: 14px; }
  body.aui .treat-item > img { width: 96px; height: 96px; aspect-ratio: auto; border-radius: 12px; flex: none; }
  body.aui .treat-item > div { padding: 0; }
  body.aui .treat-item h3 { font-size: 1.125rem; }
}

/* ---------- method (dark) ---------- */
body.aui .section-method { background: var(--ink); color: var(--paper); }
body.aui .method-grid {
  display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr);
  gap: clamp(32px,5vw,72px); align-items: center;
}
body.aui .method-visual {
  position: relative; aspect-ratio: 4 / 5; overflow: clip;
  border: 1px solid rgba(255,255,255,.12); border-radius: 24px;
  background: #2a2320 url("https://asistirestetica.com.ar/wp-content/uploads/2026/10/metodo-manos-1200.webp") center / cover no-repeat;
  background: #2a2320 image-set(
    url("https://asistirestetica.com.ar/wp-content/uploads/2026/10/metodo-manos-1200.avif") type("image/avif"),
    url("https://asistirestetica.com.ar/wp-content/uploads/2026/10/metodo-manos-1200.webp") type("image/webp")
  ) center / cover no-repeat;
}
body.aui .method-visual img {
  position: absolute; left: 20px; bottom: 20px;
  width: 36%; max-width: 210px; aspect-ratio: 1 / 1; height: auto;
  object-fit: cover; border-radius: 14px;
  border: 3px solid rgba(250,247,243,.92); box-shadow: var(--sh-2);
}
@media (max-width: 767px) {
  body.aui .method-visual {
    background-image: url("https://asistirestetica.com.ar/wp-content/uploads/2026/10/metodo-manos-800.webp");
    background-image: image-set(
      url("https://asistirestetica.com.ar/wp-content/uploads/2026/10/metodo-manos-800.avif") type("image/avif"),
      url("https://asistirestetica.com.ar/wp-content/uploads/2026/10/metodo-manos-800.webp") type("image/webp")
    );
  }
}
@media (max-width: 600px) {
  body.aui .method-visual img { width: 34%; left: 14px; bottom: 14px; }
}
body.aui .method-content h2 { color: var(--paper); }
body.aui .method-content p { font-size: 1.125rem; color: #D8CEC6; margin-top: 18px; max-width: 56ch; }
body.aui .method-content .button { margin-top: 32px; }
@media (max-width: 899px) {
  body.aui .method-grid { grid-template-columns: 1fr; }
  body.aui .method-visual { max-width: 480px; margin-inline: auto; width: 100%; }
}

/* ---------- results ---------- */
body.aui .section-results { background: var(--paper); }
body.aui .section-results .section-heading > p:last-child { color: var(--ink-2); font-size: .97rem; }
body.aui .results-grid {
  display: grid; grid-template-columns: repeat(3, minmax(0,1fr));
  gap: clamp(16px,2vw,28px);
}
body.aui .result-card { margin: 0; min-width: 0; }
body.aui .result-card img {
  width: 100%; aspect-ratio: 4 / 5; object-fit: contain;
  border-radius: 14px; display: block; border: 1px solid var(--line);
}
body.aui .result-card:nth-child(1) img { background: #BAA599; }
body.aui .result-card:nth-child(2) img { background: #463D35; }
body.aui .result-card:nth-child(3) img { background: #D8CDBE; }
body.aui .result-card figcaption {
  margin-top: 10px; font-size: .875rem; color: var(--ink-2);
  display: flex; align-items: center; gap: 8px;
}
body.aui .result-card figcaption::before {
  content: ""; width: 10px; height: 10px; flex: none; background: var(--gold);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20.6 13.4A8.8 8.8 0 0 1 10.6 3.4a.6.6 0 0 0-.8-.8 10.4 10.4 0 1 0 11.6 11.6.6.6 0 0 0-.8-.8z'/%3E%3C/svg%3E") center/contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20.6 13.4A8.8 8.8 0 0 1 10.6 3.4a.6.6 0 0 0-.8-.8 10.4 10.4 0 1 0 11.6 11.6.6.6 0 0 0-.8-.8z'/%3E%3C/svg%3E") center/contain no-repeat;
}
@media (max-width: 767px) {
  body.aui .results-grid {
    display: flex; overflow-x: auto; scroll-snap-type: x mandatory;
    gap: 12px; padding: 4px var(--gut) 16px; margin-inline: calc(-1 * var(--gut));
    scrollbar-width: none;
  }
  body.aui .results-grid::-webkit-scrollbar { display: none; }
  body.aui .result-card { flex: 0 0 82%; scroll-snap-align: start; }
  body.aui .results-grid:focus-visible { outline: 2px solid var(--wine); outline-offset: 3px; }
}

/* ---------- localidades / CABA ---------- */
body.aui .section-localities { background: var(--clay); }
body.aui .section-localities .section-heading > p:last-child { color: var(--ink-2); }
body.aui .space-gallery {
  display: grid; grid-template-columns: repeat(12, 1fr);
  grid-template-rows: repeat(2, clamp(180px, 26vw, 330px));
  gap: clamp(16px,2vw,24px);
  margin: 28px 0 36px;
}
body.aui .space-gallery figure { position: relative; margin: 0; border-radius: 14px; overflow: hidden; }
body.aui .space-gallery figure:nth-child(1) { grid-column: 1 / 7; grid-row: 1 / 3; }
body.aui .space-gallery figure:nth-child(2) { grid-column: 7 / 10; }
body.aui .space-gallery figure:nth-child(3) { grid-column: 10 / 13; }
body.aui .space-gallery figure:nth-child(4) { grid-column: 7 / 13; grid-row: 2; }
body.aui .space-gallery img { width: 100%; height: 100%; object-fit: cover; display: block; }
body.aui .space-gallery figure::after {
  content: ""; position: absolute; inset-inline: 0; bottom: 0; height: 46%;
  background: linear-gradient(180deg, transparent, rgba(25,18,15,.72));
}
body.aui .space-gallery figcaption {
  position: absolute; left: 12px; bottom: 12px; z-index: 1;
  margin: 0; padding: 6px 12px; border-radius: 999px;
  background: rgba(25,18,15,.55); color: #fff; font-size: .78rem; line-height: 1.3;
}
@media (max-width: 767px) {
  body.aui .space-gallery { grid-template-columns: 1fr 1fr; grid-template-rows: none; }
  body.aui .space-gallery figure:nth-child(1) { grid-column: 1 / -1; grid-row: auto; aspect-ratio: 16/10; }
  body.aui .space-gallery figure:nth-child(2),
  body.aui .space-gallery figure:nth-child(3) { grid-column: auto; aspect-ratio: 4/5; }
  body.aui .space-gallery figure:nth-child(4) { grid-column: 1 / -1; grid-row: auto; aspect-ratio: 16/10; }
}

body.aui .locality-list {
  display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px;
}
body.aui .locality-list a {
  display: inline-flex; align-items: center; gap: 6px;
  min-height: 44px; padding: 10px 16px;
  border: 1px solid var(--line); border-radius: 999px;
  background: var(--card); color: var(--ink);
  font-size: .9375rem; text-decoration: none; line-height: 1;
  transition: background-color .16s var(--e), color .16s var(--e);
}
body.aui .locality-list a::after {
  content: ""; width: 10px; height: 10px; background: currentColor; flex: none;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='currentColor' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round' d='M7 17 17 7M8 7h9v9'/%3E%3C/svg%3E") center/contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='currentColor' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round' d='M7 17 17 7M8 7h9v9'/%3E%3C/svg%3E") center/contain no-repeat;
}
@media (hover:hover) {
  body.aui .locality-list a:hover { background: var(--ink); color: var(--paper); }
}

/* ---------- FAQ ---------- */
body.aui .section-faq { background: var(--paper); }
body.aui .faq-grid {
  display: grid; grid-template-columns: 5fr 7fr;
  gap: clamp(32px,4vw,56px); align-items: start;
}
body.aui .faq-grid .section-heading { position: sticky; top: 120px; margin-bottom: 0; }
body.aui .faq-list details { border-bottom: 1px solid var(--line); }
body.aui .faq-list summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 24px 0; min-height: 56px;
  font-size: 1.1875rem; font-weight: 600; color: var(--ink);
}
body.aui .faq-list summary::-webkit-details-marker { display: none; }
body.aui .faq-list summary::after {
  content: "+"; flex: none;
  width: 32px; height: 32px; border-radius: 50%;
  border: 1px solid var(--line); color: var(--wine);
  display: grid; place-items: center;
  font-size: 1.15rem; font-weight: 400; line-height: 1;
  transition: transform .32s var(--e), background-color .16s var(--e), color .16s var(--e);
}
body.aui .faq-list details[open] summary::after {
  transform: rotate(45deg); background: var(--wine); color: #fff; border-color: var(--wine);
}
body.aui .faq-list details p {
  margin: 0; padding: 0 48px 24px 0;
  font-size: 1.0625rem; color: var(--ink-2); max-width: 56ch;
}
@supports (interpolate-size: allow-keywords) {
  html { interpolate-size: allow-keywords; }
  body.aui .faq-list details::details-content {
    height: 0; overflow: hidden;
    transition: height .32s var(--e), content-visibility .32s allow-discrete;
  }
  body.aui .faq-list details[open]::details-content { height: auto; }
}
@media (max-width: 899px) {
  body.aui .faq-grid { grid-template-columns: 1fr; }
  body.aui .faq-grid .section-heading { position: static; margin-bottom: 8px; }
}

/* ---------- final CTA / nearby (wine-deep panels) ---------- */
body.aui .section-contact { background: var(--paper); }
body.aui .section-nearby { background: var(--paper); }
body.aui .contact-panel, body.aui .nearby-panel {
  position: relative; overflow: hidden;
  display: grid; grid-template-columns: 55fr 45fr; gap: 24px 40px; align-items: center;
  background: var(--wine-deep); color: #fff;
  border-radius: 24px; padding: clamp(32px,5vw,64px);
}
body.aui .contact-panel::before {
  content: ""; position: absolute; top: 0; right: 0; bottom: 0; width: 45%;
  background: linear-gradient(rgba(74,34,48,.35), rgba(74,34,48,.35)),
    url("https://asistirestetica.com.ar/wp-content/uploads/2026/10/espacio-salon.webp") center/cover;
  border-radius: 0 24px 24px 0;
}
body.aui .contact-panel > *, body.aui .nearby-panel > * { position: relative; z-index: 1; min-width: 0; }
body.aui .contact-panel > div:first-child, body.aui .nearby-panel > div:first-child { grid-column: 1; }
body.aui .contact-panel > .button, body.aui .nearby-panel > .button { grid-column: 1; justify-self: start; }
body.aui .contact-panel h2, body.aui .nearby-panel h2 { color: #fff; max-width: 34ch; }
body.aui .contact-panel p:not(.section-kicker), body.aui .nearby-panel p:not(.section-kicker) {
  color: #E4D6CF; margin-top: 20px; text-wrap: balance;
}
body.aui .aui-contact-links {
  grid-column: 1; display: flex; flex-direction: column; gap: 14px; align-items: flex-start;
}
body.aui .aui-tel {
  display: inline-flex; align-items: center; min-height: 48px;
  color: #fff; font-size: 1.0625rem; font-weight: 600; text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,.4); padding-bottom: 2px;
}
@media (hover:hover) { body.aui .aui-tel:hover { border-bottom-color: #fff; } }
@media (max-width: 767px) {
  body.aui .contact-panel, body.aui .nearby-panel { grid-template-columns: 1fr; padding-top: 0; overflow: hidden; }
  body.aui .contact-panel::before {
    position: relative; inset: auto; grid-column: 1; order: -1;
    width: calc(100% + 2 * clamp(32px,5vw,64px)); margin-inline: calc(-1 * clamp(32px,5vw,64px));
    aspect-ratio: 16 / 10; border-radius: 0; display: block; margin-bottom: 24px;
  }
  body.aui .contact-panel > .button, body.aui .nearby-panel > .button,
  body.aui .aui-contact-links { grid-column: 1; }
}

/* ---------- reviews (compact band) ---------- */
body.aui .section-reviews { background: var(--sand); padding-block: clamp(40px,5vw,64px); }
body.aui .reviews-panel {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(24px,4vw,56px); align-items: center;
}
body.aui .reviews-panel h2 { margin-bottom: 14px; }
body.aui .reviews-panel p:not(.section-kicker) { color: var(--ink-2); font-size: .97rem; }
body.aui .trustindex-slot { display: flex; align-items: center; justify-content: center; }
body.aui .trustindex-slot a {
  display: inline-flex; align-items: center; min-height: 48px; padding: 0 26px;
  border: 1.5px solid var(--ink); border-radius: 10px;
  color: var(--ink); font-size: .9375rem; font-weight: 600; text-decoration: none;
  transition: background-color .16s var(--e), color .16s var(--e), transform .16s var(--e);
}
@media (hover:hover) {
  body.aui .trustindex-slot a:hover { background: var(--ink); color: var(--paper); transform: translateY(-1px); }
}
@media (max-width: 767px) { body.aui .reviews-panel { grid-template-columns: 1fr; } }

/* ---------- footer ---------- */
body.aui .site-footer {
  background: var(--ink); color: #D8CEC6;
  padding: 64px 0 28px; font-size: .9375rem;
}
body.aui .footer-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr;
  gap: clamp(28px,4vw,56px);
}
body.aui .footer-brand { display: inline-flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font-family: var(--serif); font-size: 1.3rem; font-weight: 600; }
body.aui .footer-brand img { width: 40px !important; height: 40px !important; object-fit: contain; }
body.aui .footer-grid > div > strong {
  display: block; color: #fff; font-size: .8rem; font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase; margin-bottom: 14px;
}
body.aui .footer-grid p { color: #D8CEC6; font-size: .9375rem; line-height: 1.7; }
body.aui .footer-grid a { color: #F0E7E0; text-decoration: none; border-bottom: 1px solid rgba(255,255,255,.25); }
body.aui .footer-grid a[href^="tel"] { display: inline-flex; min-height: 48px; align-items: center; }
@media (hover:hover) { body.aui .footer-grid a:hover { border-bottom-color: #fff; color: #fff; } }
body.aui .footer-bottom {
  display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between;
  margin-top: 48px; padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,.1);
  font-size: .8125rem; color: #9C9089;
}
body.aui .footer-bottom a { color: #CFC4BC; }
@media (max-width: 767px) { body.aui .footer-grid { grid-template-columns: 1fr; } }

/* ---------- WhatsApp float + mobile bottom bar ---------- */
body.aui .whatsapp-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 190;
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--wa); color: #fff;
  display: grid; place-items: center;
  box-shadow: var(--sh-2);
  transition: transform .16s var(--e);
}
body.aui .whatsapp-float svg { width: 28px; height: 28px; }
@media (hover:hover) {
  body.aui .whatsapp-float:hover { transform: translateY(-2px) scale(1.04); }
  body.aui .whatsapp-float::after {
    content: attr(aria-label);
    position: absolute; right: 68px; top: 50%; transform: translateY(-50%);
    white-space: nowrap; padding: 7px 12px; border-radius: 8px;
    background: var(--ink); color: #fff; font-size: .78rem;
    opacity: 0; pointer-events: none; transition: opacity .16s var(--e);
  }
  body.aui .whatsapp-float:hover::after { opacity: 1; }
}
@media (max-width: 767px) { body.aui .whatsapp-float { display: none; } }

body.aui .aui-mobbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 200;
  display: none; align-items: center; gap: 10px;
  padding: 10px var(--gut) calc(10px + env(safe-area-inset-bottom));
  background: var(--paper); border-top: 1px solid var(--line);
  box-shadow: 0 -4px 18px rgba(35,29,27,.08);
  transform: translateY(110%); transition: transform .32s var(--e);
}
body.aui.aui-bar-on .aui-mobbar { transform: none; }
@media (max-width: 767px) {
  body.aui .aui-mobbar { display: flex; }
  body.aui { padding-bottom: calc(76px + env(safe-area-inset-bottom)); }
}
body.aui .aui-mobbar .aui-bar-cta { flex: 1; background: var(--wine); color: #fff; }
body.aui .aui-mobbar .aui-bar-tel {
  flex: none; width: 52px; height: 52px; border-radius: 10px;
  border: 1.5px solid var(--line); background: var(--card); color: var(--ink);
  display: inline-flex; align-items: center; justify-content: center;
}

/* ---------- motion ---------- */
/* hidden state only when JS is on (html.aui-js); default is fully visible.
   reveal-ready is added by the existing IntersectionObserver script. */
html.aui-js body.aui .reveal { opacity: 0; transform: translateY(16px); }
html.aui-js body.aui .reveal.reveal-ready {
  opacity: 1; transform: none;
  transition: opacity .6s var(--e), transform .6s var(--e);
}
@media (prefers-reduced-motion: reduce) {
  html.aui-js body.aui .reveal, body.aui .reveal { opacity: 1; transform: none; transition: none; }
}

/* ==========================================================================
   Asistir Estetica - V2 Warm Minimal Editorial (body.aui)
   Shape lock: panels 20px / cards 16px / pills 999px / inputs 12px
   ========================================================================== */

/* ---------- atmosphere: static ambient wash + film grain ---------- */
body.aui .wp-site-blocks {
  background-image:
    radial-gradient(1100px 540px at 88% -4%, rgba(232,180,194,.14), transparent 62%),
    radial-gradient(880px 520px at -8% 32%, rgba(181,140,87,.07), transparent 58%);
  background-repeat: no-repeat;
}
body.aui::before {
  content: ""; position: fixed; inset: 0; z-index: 450; pointer-events: none;
  opacity: .028;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='.6'/%3E%3C/svg%3E");
}
body.aui ::selection { background: var(--wine); color: #fff; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body.aui [id] { scroll-margin-top: 108px; }
body.aui { scrollbar-color: var(--clay) var(--paper); }
body.aui::-webkit-scrollbar { width: 10px; }
body.aui::-webkit-scrollbar-thumb { background: var(--clay); border-radius: 999px; border: 2px solid var(--paper); }
body.aui::-webkit-scrollbar-track { background: var(--paper); }

/* ---------- floating capsule navigation ---------- */
body.aui .site-header {
  top: 14px; height: 62px;
  width: min(100% - 2 * var(--gut), 1180px); margin-inline: auto;
  border: 1px solid var(--line); border-radius: 999px;
  background: rgba(250,247,243,.78);
  -webkit-backdrop-filter: blur(16px) saturate(1.35);
  backdrop-filter: blur(16px) saturate(1.35);
  box-shadow: 0 8px 28px rgba(35,29,27,.07);
}
body.admin-bar.aui .site-header { top: 46px; }
body.aui .site-header.aui-scrolled {
  height: 56px; background: rgba(250,247,243,.92); box-shadow: var(--sh-2);
}
body.aui .site-header nav a:not(.button) {
  position: relative; padding-block: 6px;
}
body.aui .site-header nav a:not(.button)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 1px; height: 1.5px;
  background: var(--wine); transform: scaleX(0); transform-origin: left;
  transition: transform .32s var(--e);
}
@media (hover:hover) {
  body.aui .site-header nav a:not(.button):hover::after { transform: scaleX(1); }
}
@media (prefers-reduced-transparency: reduce) {
  body.aui .site-header { background: var(--paper); backdrop-filter: none; -webkit-backdrop-filter: none; }
}
@media (max-width: 899px) {
  body.aui .site-header { top: 10px; height: 58px; }
  body.admin-bar.aui .site-header { top: 10px; }
}

/* mobile menu: frosted overlay + staggered items */
body.aui .aui-menu {
  background: rgba(250,247,243,.9);
  -webkit-backdrop-filter: blur(20px) saturate(1.3);
  backdrop-filter: blur(20px) saturate(1.3);
}
@media (prefers-reduced-transparency: reduce) {
  body.aui .aui-menu { background: var(--paper); backdrop-filter: none; -webkit-backdrop-filter: none; }
}
@media (prefers-reduced-motion: no-preference) {
  body.aui .aui-menu.on .aui-menu-in > * { animation: aui-menu-in .48s var(--e) both; }
  body.aui .aui-menu.on .aui-menu-in > *:nth-child(2) { animation-delay: .05s; }
  body.aui .aui-menu.on .aui-menu-in > *:nth-child(3) { animation-delay: .1s; }
  body.aui .aui-menu.on .aui-menu-in > *:nth-child(4) { animation-delay: .15s; }
  body.aui .aui-menu.on .aui-menu-in > *:nth-child(5) { animation-delay: .2s; }
  body.aui .aui-menu.on .aui-menu-in > *:nth-child(6) { animation-delay: .25s; }
}
@keyframes aui-menu-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* ---------- hero: slow drift + glass proof pills ---------- */
@media (prefers-reduced-motion: no-preference) {
  body.aui .hero-media img, body.aui .local-hero-media img {
    animation: aui-hero-drift 28s ease-in-out infinite alternate;
    transform-origin: center; will-change: transform;
  }
}
@keyframes aui-hero-drift { from { transform: scale(1); } to { transform: scale(1.06); } }
body.aui .hero-proof > span {
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

/* ---------- buttons: pill + inner highlight + micro-physics ---------- */
body.aui .button {
  border-radius: 999px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.16);
}
@media (hover:hover) {
  body.aui .button-accent:hover, body.aui .button-small:hover {
    box-shadow: var(--sh-1), inset 0 1px 0 rgba(255,255,255,.2);
  }
}
body.aui .button-ghost { border-radius: 999px; box-shadow: none; }

/* ---------- hero pills (content-generated) ---------- */
body.aui .hero-pills {
  display: flex; flex-wrap: wrap; gap: 10px;
  margin: 22px 0 4px;
}
body.aui .hero-pill {
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 38px; padding: 6px 15px; border-radius: 999px;
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.22);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  color: #fff; font-size: .82rem; font-weight: 500;
}

/* ---------- stat strip ---------- */
body.aui .stat-strip {
  display: grid; grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 18px 24px;
  background: linear-gradient(135deg, var(--wine-deep) 0%, #351822 100%);
  color: #fff;
  padding: clamp(22px,3vw,30px) clamp(22px,3.5vw,36px);
  border-radius: 20px; margin-top: 28px;
  border: 1px solid rgba(255,255,255,.08);
  box-shadow: var(--sh-2), inset 0 1px 0 rgba(255,255,255,.07);
}
body.aui .stat-strip > div { border-left: 1px solid rgba(255,255,255,.15); padding-left: 20px; }
body.aui .stat-strip > div:first-child { border-left: none; padding-left: 0; }
body.aui .stat-strip strong {
  display: block; font-family: var(--serif);
  font-size: clamp(1.7rem,2.5vw,2.25rem); font-weight: 600;
  color: var(--rose-300); line-height: 1.08; font-variant-numeric: tabular-nums;
}
body.aui .stat-strip span { display: block; font-size: .82rem; color: #E4D6CF; margin-top: 6px; line-height: 1.35; }
@media (max-width: 899px) {
  body.aui .stat-strip { grid-template-columns: repeat(2, minmax(0,1fr)); }
  body.aui .stat-strip > div:nth-child(3) { border-left: none; padding-left: 0; }
}
@media (max-width: 560px) {
  body.aui .stat-strip { grid-template-columns: 1fr; gap: 14px; }
  body.aui .stat-strip > div { border-left: none; padding-left: 0; border-top: 1px solid rgba(255,255,255,.12); padding-top: 12px; }
  body.aui .stat-strip > div:first-child { border-top: none; padding-top: 0; }
}

/* ---------- breadcrumb + E-E-A-T byline ---------- */
body.aui .breadcrumb-nav {
  display: flex; flex-wrap: wrap; align-items: center; gap: 4px;
  padding: 24px 0 0; font-size: .85rem; color: var(--ink-2);
}
body.aui .breadcrumb-nav a { color: var(--wine); font-weight: 600; text-decoration: none; }
body.aui .breadcrumb-nav a:hover { text-decoration: underline; text-underline-offset: 3px; }
body.aui .breadcrumb-nav span { margin: 0 6px; color: rgba(35,29,27,.35); }
body.aui .breadcrumb-nav strong { color: var(--ink); font-weight: 600; }

body.aui .eeat-byline {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 10px 24px; margin-top: 16px; padding: 14px 20px;
  background: var(--sand); border: 1px solid var(--line); border-radius: 16px;
  font-size: .83rem; color: var(--ink-2);
}
body.aui .eeat-byline strong { color: var(--ink); font-weight: 600; }
body.aui .eeat-byline a { color: var(--wine); font-weight: 600; }

/* ---------- double-bezel intro ---------- */
body.aui .bezel-shell {
  background: var(--sand); border: 1px solid var(--line);
  padding: 8px; border-radius: 20px; box-shadow: var(--sh-1);
}
body.aui .bezel-inner {
  background: var(--card); border: 1px solid rgba(35,29,27,.07);
  border-radius: 14px; padding: clamp(22px,3vw,34px) !important;
  display: grid; gap: 18px;
}
body.aui .bezel-inner .local-context {
  margin-top: 0; padding: 14px 16px;
  background: var(--paper);
  border-left: 3px solid var(--wine);
  border-radius: 0 10px 10px 0;
  font-size: .9375rem; color: var(--ink-2);
}
body.aui .bezel-inner .local-context strong { color: var(--ink); }

/* ---------- section heading: vertical stack (no split header) ---------- */
body.aui .section-services .section-heading { display: block; }
body.aui .section-services .section-heading > p:last-child {
  grid-column: auto; grid-row: auto; margin-top: 18px;
}

/* ---------- scenarios + step cards ---------- */
body.aui .scenario-grid {
  display: grid; grid-template-columns: repeat(2, minmax(0,1fr));
  gap: clamp(18px,2.4vw,28px); margin-top: 28px;
}
body.aui .scenario-card {
  background: var(--card); border: 1px solid var(--line);
  border-top: 2px solid var(--wine);
  border-radius: 16px; padding: clamp(22px,2.8vw,30px);
}
body.aui .scenario-card h2, body.aui .scenario-card h3 {
  font-family: var(--serif); font-size: clamp(1.35rem,2vw,1.65rem);
  font-weight: 600; color: var(--ink); margin: 0 0 12px; line-height: 1.2;
}
body.aui .scenario-card p { font-size: .95rem; color: var(--ink-2); line-height: 1.65; max-width: none; }

body.aui .steps-grid {
  display: grid; grid-template-columns: repeat(4, minmax(0,1fr));
  gap: clamp(16px,2vw,24px); margin-top: 28px;
}
body.aui .step-card {
  background: var(--sand); border: 1px solid var(--line);
  border-radius: 16px; padding: 24px 22px;
  transition: transform .28s var(--e), box-shadow .28s var(--e), background-color .28s var(--e);
}
@media (hover:hover) {
  body.aui .step-card:hover { background: var(--card); transform: translateY(-3px); box-shadow: var(--sh-2); }
}
body.aui .step-num {
  display: inline-block; font-size: .72rem; font-weight: 700; letter-spacing: .12em;
  color: var(--wine-deep); background: var(--rose-100);
  padding: 5px 12px; border-radius: 999px; margin-bottom: 14px;
  font-variant-numeric: tabular-nums;
}
body.aui .step-card h3 { font-family: var(--serif); font-size: 1.35rem; font-weight: 600; color: var(--ink); margin: 0 0 8px; }
body.aui .step-card p { font-size: .9rem; color: var(--ink-2); line-height: 1.55; }
@media (max-width: 960px) { body.aui .steps-grid { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 767px) {
  body.aui .scenario-grid, body.aui .steps-grid { grid-template-columns: 1fr; }
}

/* ---------- treatment cards ---------- */
body.aui .maso-cards {
  display: grid; grid-template-columns: repeat(3, minmax(0,1fr));
  gap: clamp(18px,2.2vw,28px); margin-top: 12px;
}
body.aui .maso-card {
  display: flex; flex-direction: column; min-width: 0;
  background: var(--card); border: 1px solid var(--line);
  border-radius: 16px; overflow: hidden;
  transition: transform .32s var(--e), box-shadow .32s var(--e);
}
@media (hover:hover) {
  body.aui .maso-card:hover { transform: translateY(-4px); box-shadow: var(--sh-2); }
  body.aui .maso-card:hover .maso-card-media img { transform: scale(1.04); }
}
body.aui .maso-card-media {
  display: block; width: 100%; aspect-ratio: 16 / 10;
  overflow: hidden; background: var(--clay);
}
body.aui .maso-card-media img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  filter: saturate(.94) contrast(1.02);
  transition: transform .65s var(--e);
}
body.aui .maso-tag {
  display: inline-flex; align-self: flex-start;
  background: var(--rose-100); color: var(--wine-deep);
  padding: 4px 12px; border-radius: 999px;
  font-size: .72rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase;
}
body.aui .maso-card-body {
  display: flex; flex-direction: column; flex: 1; gap: 10px;
  padding: 18px 22px 20px;
}
body.aui .maso-card h3 { font-family: var(--serif); font-size: 1.4rem; font-weight: 600; margin: 0; line-height: 1.2; }
body.aui .maso-card h3 a { color: var(--ink); text-decoration: none; }
body.aui .maso-card h3 a:hover { color: var(--wine); }
body.aui .maso-card p { font-size: .92rem; color: var(--ink-2); line-height: 1.55; margin: 0 0 8px; }
body.aui .maso-card-foot {
  margin-top: auto; padding-top: 14px;
  border-top: 1px solid var(--line);
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
body.aui .maso-card-more { font-size: .84rem; font-weight: 600; color: var(--ink-2); text-decoration: none; }
body.aui .maso-card-more:hover { color: var(--wine); }
@media (min-width: 600px) and (max-width: 1023px) {
  body.aui .maso-cards { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 599px) { body.aui .maso-cards { grid-template-columns: 1fr; } }

/* ---------- comparison table ---------- */
body.aui .subsec-title {
  font-family: var(--serif); font-size: clamp(1.75rem,2.8vw,2.5rem);
  font-weight: 500; color: var(--ink); margin: 56px 0 18px;
}
body.aui .comp-table-wrap {
  overflow-x: auto; background: var(--card);
  border: 1px solid var(--line); border-radius: 20px;
}
body.aui .comp-table {
  width: 100%; border-collapse: collapse;
  font-size: .92rem; text-align: left;
  font-variant-numeric: tabular-nums; min-width: 680px;
}
body.aui .comp-table caption {
  text-align: left; padding: 18px 24px;
  background: var(--wine-deep); color: #fff;
  font-family: var(--serif); font-size: 1.25rem; font-weight: 500;
}
body.aui .comp-table th {
  background: var(--sand); color: var(--ink);
  font-size: .76rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .08em;
  padding: 15px 20px; border-bottom: 1px solid var(--line);
}
body.aui .comp-table td {
  padding: 16px 20px; border-bottom: 1px solid var(--line);
  color: var(--ink-2); vertical-align: top; line-height: 1.5;
}
body.aui .comp-table tbody tr:nth-child(even) td { background: rgba(242,235,228,.35); }
@media (hover:hover) {
  body.aui .comp-table tbody tr:hover td { background: var(--rose-100); }
}
body.aui .comp-table tbody tr:last-child td { border-bottom: none; }
body.aui .comp-table td strong a { color: var(--wine); text-decoration: none; font-weight: 700; }
body.aui .comp-table td strong a:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- map + SILO ---------- */
body.aui .map-box {
  background: var(--card); border: 1px solid var(--line);
  border-radius: 20px; overflow: hidden; margin-top: 28px;
}
body.aui .map-head {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 12px; padding: 16px 22px;
  background: var(--sand); border-bottom: 1px solid var(--line);
  font-size: .92rem; color: var(--ink);
}
body.aui .map-head a { color: var(--wine); font-weight: 700; text-decoration: none; }
body.aui .map-head a:hover { text-decoration: underline; text-underline-offset: 3px; }
body.aui .map-iframe { width: 100%; height: clamp(300px,38vw,400px); border: 0; display: block; }

body.aui .silo-box {
  background: var(--sand); border: 1px solid var(--line);
  border-radius: 20px; padding: clamp(24px,3.5vw,38px); margin-top: 28px;
}
body.aui .silo-box h3 {
  font-family: var(--serif); font-size: clamp(1.4rem,2.2vw,1.85rem);
  font-weight: 600; color: var(--ink); margin: 4px 0 8px;
}
body.aui .silo-box > p:not(.section-kicker) { font-size: .9375rem; color: var(--ink-2); }
body.aui .silo-pills { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
body.aui .silo-pill {
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 44px; padding: 9px 18px; border-radius: 999px;
  background: var(--card); border: 1px solid var(--line);
  color: var(--ink); font-size: .9rem; font-weight: 500; text-decoration: none;
  transition: background-color .16s var(--e), color .16s var(--e), transform .16s var(--e);
}
@media (hover:hover) {
  body.aui .silo-pill:hover { background: var(--ink); color: var(--paper); transform: translateY(-2px); }
}
body.aui .silo-pill-accent { background: var(--wine); color: #fff; border-color: var(--wine); }
@media (hover:hover) {
  body.aui .silo-pill-accent:hover { background: var(--wine-hover); color: #fff; }
}

/* ---------- numbered locality index ---------- */
body.aui .locality-list { counter-reset: loc; }
body.aui .locality-list a::before {
  counter-increment: loc; content: counter(loc, decimal-leading-zero);
  font-size: .68rem; font-weight: 700; letter-spacing: .06em;
  color: var(--wine); font-variant-numeric: tabular-nums;
}
body.aui .locality-list a[style*="none"] { counter-increment: none; }

/* ---------- interactive search ---------- */
body.aui .quick-search-wrap {
  background: var(--card); border: 1px solid var(--line);
  border-radius: 16px; padding: 20px 24px; margin: 24px 0;
}
body.aui .quick-search-input {
  width: 100%; min-height: 48px; padding: 12px 18px;
  border: 1px solid var(--line); border-radius: 12px;
  font-family: var(--sans); font-size: .95rem;
  background: var(--paper); color: var(--ink);
  transition: border-color .16s var(--e), box-shadow .16s var(--e);
}
body.aui .quick-search-input:focus {
  outline: none; border-color: var(--wine);
  box-shadow: 0 0 0 3px rgba(138,69,88,.14);
}

/* ---------- space gallery: caption text, no pill ---------- */
body.aui .space-gallery figcaption {
  background: transparent; padding: 0; border-radius: 0;
  left: 14px; bottom: 14px;
  font-size: .8rem; font-weight: 500; letter-spacing: .02em;
}

/* ---------- reviews / verified Google card ---------- */
body.aui .trustindex-slot div[style*="f8d7da"],
body.aui .trustindex-slot .ti-error { display: none !important; }
body.aui .gmb-card {
  background: var(--card); border: 1px solid var(--line);
  border-radius: 20px; padding: clamp(24px,3.2vw,36px);
  box-shadow: var(--sh-1);
}
body.aui .gmb-card-head {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 10px; margin-bottom: 14px;
}
body.aui .gmb-stars { color: var(--gold); font-size: 1.2rem; letter-spacing: 3px; }
body.aui .gmb-badge {
  background: var(--rose-100); color: var(--wine-deep);
  font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  padding: 5px 12px; border-radius: 999px;
}
body.aui .gmb-card h3 {
  font-family: var(--serif); font-size: 1.55rem; font-weight: 600;
  color: var(--ink); margin: 0 0 10px;
}
body.aui .gmb-card > p { font-size: .95rem; color: var(--ink-2); line-height: 1.6; margin: 0 0 18px; }
body.aui .gmb-highlights {
  display: flex; flex-wrap: wrap; gap: 8px 12px; margin-bottom: 22px;
  font-size: .84rem; font-weight: 600; color: var(--ink);
}
body.aui .gmb-highlights span { background: var(--sand); padding: 6px 12px; border-radius: 999px; }
body.aui .gmb-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 22px; }

/* ---------- FAQ polish ---------- */
@media (hover:hover) {
  body.aui .faq-list summary:hover { color: var(--wine); }
}

/* ---------- contact panel radius lock ---------- */
body.aui .contact-panel, body.aui .nearby-panel { border-radius: 20px; }
body.aui .contact-panel::before { border-radius: 0 20px 20px 0; }

/* ---------- mobile bottom bar: frosted ---------- */
body.aui .aui-mobbar {
  background: rgba(250,247,243,.92);
  -webkit-backdrop-filter: blur(14px) saturate(1.3);
  backdrop-filter: blur(14px) saturate(1.3);
}
@media (prefers-reduced-transparency: reduce) {
  body.aui .aui-mobbar { background: var(--paper); backdrop-filter: none; -webkit-backdrop-filter: none; }
}

/* ---------- staggered reveal for grid children ---------- */
@media (prefers-reduced-motion: no-preference) {
  body.aui :is(.treat-list,.maso-cards,.steps-grid,.results-grid,.scenario-grid,.space-gallery) > .reveal:nth-child(2) { transition-delay: .06s; }
  body.aui :is(.treat-list,.maso-cards,.steps-grid,.results-grid,.scenario-grid,.space-gallery) > .reveal:nth-child(3) { transition-delay: .12s; }
  body.aui :is(.treat-list,.maso-cards,.steps-grid,.results-grid,.scenario-grid,.space-gallery) > .reveal:nth-child(4) { transition-delay: .18s; }
  body.aui :is(.treat-list,.maso-cards,.steps-grid,.results-grid,.scenario-grid,.space-gallery) > .reveal:nth-child(5) { transition-delay: .24s; }
  body.aui :is(.treat-list,.maso-cards,.steps-grid,.results-grid,.scenario-grid,.space-gallery) > .reveal:nth-child(6) { transition-delay: .3s; }
}

/* ---------- footer polish ---------- */
body.aui .site-footer { border-top: 1px solid rgba(255,255,255,.04); }
body.aui .footer-grid a { text-underline-offset: 3px; }
