.elementor-22 .elementor-element.elementor-element-2d1bd17{--display:flex;}.elementor-22 .elementor-element.elementor-element-949a316{--display:flex;}.elementor-22 .elementor-element.elementor-element-f3c5bd6{--display:flex;}.elementor-22 .elementor-element.elementor-element-fd8881d{--display:flex;}.elementor-widget-image .widget-image-caption{color:var( --e-global-color-text );font-family:var( --e-global-typography-text-font-family ), Sans-serif;font-weight:var( --e-global-typography-text-font-weight );}.elementor-22 .elementor-element.elementor-element-bdad23e{--display:flex;}.elementor-22 .elementor-element.elementor-element-82094cd{--display:flex;}.elementor-widget-heading .elementor-heading-title{font-family:var( --e-global-typography-primary-font-family ), Sans-serif;font-weight:var( --e-global-typography-primary-font-weight );color:var( --e-global-color-primary );}.elementor-22 .elementor-element.elementor-element-065787e{--display:flex;}.elementor-22 .elementor-element.elementor-element-26724d8{--display:flex;}.elementor-22 .elementor-element.elementor-element-a10873e{--display:flex;}.elementor-22 .elementor-element.elementor-element-e550086{--display:flex;}.elementor-22 .elementor-element.elementor-element-8a3fdf0{--display:flex;}.elementor-22 .elementor-element.elementor-element-58abcbe{--display:flex;}.elementor-22 .elementor-element.elementor-element-553e4f0{--display:flex;}.elementor-22 .elementor-element.elementor-element-d27e993{--display:flex;}.elementor-22 .elementor-element.elementor-element-253c38a{--display:flex;}.elementor-22 .elementor-element.elementor-element-423f3fc{--display:flex;}.elementor-widget-button .elementor-button{background-color:var( --e-global-color-accent );font-family:var( --e-global-typography-accent-font-family ), Sans-serif;font-weight:var( --e-global-typography-accent-font-weight );}.elementor-22 .elementor-element.elementor-element-1c75071{--display:flex;}.elementor-22 .elementor-element.elementor-element-2e8d0fe{--display:flex;}.elementor-22 .elementor-element.elementor-element-02d0fc1{--display:flex;}.elementor-22 .elementor-element.elementor-element-6b90cbe{--display:flex;}.elementor-22 .elementor-element.elementor-element-aa9648a{--display:flex;}.elementor-22 .elementor-element.elementor-element-8134c7e{--display:flex;}.elementor-22 .elementor-element.elementor-element-a3b4463{--display:flex;}.elementor-22 .elementor-element.elementor-element-3f13168{--display:flex;}.elementor-22 .elementor-element.elementor-element-856e55a{--display:flex;}.elementor-22 .elementor-element.elementor-element-ae28c4d{--display:flex;}.elementor-22 .elementor-element.elementor-element-7aeb53a{--display:flex;}.elementor-22 .elementor-element.elementor-element-9b7db97{--display:flex;}.elementor-22 .elementor-element.elementor-element-c8069b2{--display:flex;}.elementor-22 .elementor-element.elementor-element-3f1f5e0{--display:flex;}.elementor-theme-builder-content-area{height:400px;}.elementor-location-header:before, .elementor-location-footer:before{content:"";display:table;clear:both;}/* Start custom CSS *//* AVI Arquitectura Viñas · Elementor build 2026-10-14 */
/* ═══════════════════════════════════════════════════════════════════════
 * AVI · Elementor adapter (loaded BEFORE the design stylesheet)
 * Neutralises Elementor / Hello Elementor defaults so the design classes
 * render as in the Open Design prototype. Selectors use `:root body` to sit
 * above Elementor's generic rules and below per-element settings, so any
 * value edited in the Elementor panel still wins.
 * ═════════════════════════════════════════════════════════════════════ */
:root body {
  --kit-widget-spacing: 0px; --widgets-spacing: 0px 0px; --widgets-spacing-row: 0px; --widgets-spacing-column: 0px;
  --container-default-padding-top: 0px; --container-default-padding-right: 0px; --container-default-padding-bottom: 0px; --container-default-padding-left: 0px;
}
:root body .elementor { min-height: 0; }

/* containers = the original element */
:root body .e-con {
  display: block; position: static; width: auto; max-width: none; min-width: auto; min-height: 0;
  margin: 0; padding: 0; gap: normal; border: 0; border-radius: 0; overflow: visible; z-index: auto;
  flex: 0 1 auto; flex-direction: row; flex-wrap: nowrap; align-items: normal; align-content: normal; justify-content: normal;
  text-align: inherit; transition: none; color: inherit;
}
:root body .e-con::before, :root body .e-con::after {
  content: none; display: inline; position: static; inset: auto; width: auto; height: auto;
  border: 0; border-radius: 0; opacity: 1; mix-blend-mode: normal; transition: none;
}
:root body a.e-con { cursor: pointer; }

/* widgets */
:root body .elementor-widget { position: static; width: auto; max-width: none; min-width: auto; margin: 0; padding: 0; flex: 0 1 auto; color: inherit; font: inherit; }
:root body .elementor.elementor .e-con > .elementor-widget { max-width: none; }
:root body .elementor-widget-heading .elementor-heading-title {
  display: contents; margin: 0; padding: 0; font: inherit; color: inherit; letter-spacing: inherit; text-transform: inherit;
  line-height: inherit; text-align: inherit; text-wrap: inherit; text-decoration: inherit;
}
:root body .elementor-widget-heading .elementor-heading-title a { color: inherit; font: inherit; }
:root body .elementor-widget-text-editor { font: inherit; color: inherit; }
:root body .elementor-widget-text-editor.avi-rt,
:root body .elementor-widget-image.avi-img,
:root body .elementor-widget-button.avi-btn,
:root body .elementor-widget-html.avi-raw { display: contents; }
:root body .avi-img > img { display: block; max-width: 100%; height: auto; border-radius: 0; box-shadow: none; vertical-align: baseline; }
:root body .avi-btn > .elementor-button {
  display: inline-flex; align-items: center; width: auto; padding: 0; margin: 0; border: 0; border-radius: 0;
  background: none; color: inherit; font: inherit; line-height: normal; letter-spacing: inherit; text-transform: none;
  box-shadow: none; fill: currentColor; text-decoration: none; transition: none;
}
:root body .avi-btn .elementor-button-content-wrapper,
:root body .avi-btn .elementor-button-text { display: contents; }

/* inline originals (span / a / em …) stay inline */
:root body :is(.t-span, .t-a, .t-em, .t-b, .t-strong, .t-i, .t-small, .t-cite, .t-abbr, .t-time) { display: inline; }
:root body .t-label { display: inline; }
:root body .t-li { display: list-item; }

/* UA defaults for tags that are now divs (the prototype relied on them) */
:root body :is(.e-con, .elementor-widget):where(.t-p), :root body :where(p:not(.elementor-heading-title)) { margin-block: 1em; margin-inline: 0; }
:root body :is(.e-con, .elementor-widget):where(.t-ul, .t-ol), :root body :where(ul:not(.elementor-heading-title), ol:not(.elementor-heading-title)) { margin-block: 1em; padding-left: 40px; }
:root body :is(.e-con, .elementor-widget):where(.t-dl), :root body :where(dl:not(.elementor-heading-title)) { margin-block: 1em; }
:root body :is(.e-con, .elementor-widget):where(.t-dd), :root body :where(dd:not(.elementor-heading-title)) { margin-left: 40px; }
:root body :is(.e-con, .elementor-widget):where(.t-figure), :root body :where(figure:not(.elementor-heading-title)) { margin: 1em 40px; }
:root body :is(.e-con, .elementor-widget):where(.t-h1), :root body :where(h1:not(.elementor-heading-title)) { font-size: 2em; font-weight: bold; }
:root body :is(.e-con, .elementor-widget):where(.t-h2), :root body :where(h2:not(.elementor-heading-title)) { font-size: 1.5em; font-weight: bold; }
:root body :is(.e-con, .elementor-widget):where(.t-h3), :root body :where(h3:not(.elementor-heading-title)) { font-size: 1.17em; font-weight: bold; }
:root body :is(.e-con, .elementor-widget):where(.t-h4), :root body :where(h4:not(.elementor-heading-title)) { font-size: 1em; font-weight: bold; }
:root body :is(.e-con, .elementor-widget):where(.t-b, .t-strong), :root body :where(b, strong) { font-weight: bolder; }
:root body :is(.e-con, .elementor-widget):where(.t-em, .t-i), :root body :where(em, i) { font-style: italic; }
:root body :is(.e-con, .elementor-widget):where(.t-small) { font-size: smaller; }
:root body :is(.e-con, .elementor-widget):where(.t-text) { display: inline; }

:root body :where(.t-p, .t-ul, .t-ol, .t-dl, .t-figure):not(#avi-x) { margin-block-end: 1em; }

/* Hello Elementor resets that the prototype never had */
:root body :is(button, [type=button], [type=submit]) {
  border: 0; border-radius: 0; padding: 0; background-color: transparent; color: inherit; display: inline-block;
  font-weight: inherit; text-align: center; transition: none; white-space: normal; user-select: auto; text-transform: none;
}
:root body :is(button, [type=button], [type=submit]):is(:hover, :focus) { background-color: transparent; color: inherit; }
:root body label { display: inline; line-height: inherit; vertical-align: baseline; }
:root body details { display: block; }


/* ═══ Design system (Open Design · assets/site.css + home) ═══ */
/* ─────────────────────────────────────────────────────────────────────────
 * Avi Arquitectura Viñas · shared stylesheet for the inner pages.
 * Structure — Apple token contract (names verbatim, pasted at :root).
 * Palette — Avi brand (brand-spec.md). No purple, one accent per viewport.
 * Language is Spanish (es-ES); CA only swaps [data-i18n] strings.
 * ───────────────────────────────────────────────────────────────────────── */
:root {
  --bg: #ffffff;
  --surface: #f0edec;
  --surface-warm: #eff5f3;
  --fg: #000000;
  --fg-2: #262626;
  --muted: #5c5c5c;
  --meta: #8a8a8a;
  --border: #ddd8d4;
  --border-soft: #ebe7e4;
  --accent: #00263e;
  --accent-on: #ffffff;
  --accent-hover: #01324f;
  --accent-active: #001a2c;
  --accent-soft: color-mix(in oklab, var(--accent), var(--bg) 55%);
  --ink: #00263e;
  --success: #508876;
  --warn:    #d99a00;
  --danger:  #b22545;
  --font-display: "SF Pro Display", "SF Pro Icons", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-body: "SF Pro Text", "SF Pro Icons", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-mono: "SF Mono", ui-monospace, "JetBrains Mono", Menlo, Monaco, Consolas, monospace;
  --text-xs: 12px;
  --text-sm: 14px;
  --text-base: 17px;
  --text-lg: 21px;
  --text-xl: 28px;
  --text-2xl: 40px;
  --text-3xl: 56px;
  --text-4xl: 80px;
  --leading-body: 1.47;
  --leading-tight: 1.05;
  --tracking-display: -0.015em;
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-8: 32px;
  --space-12: 48px;
  --section-y-desktop: 100px;
  --section-y-tablet: 64px;
  --section-y-phone: 40px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-pill: 980px;
  --elev-flat: none;
  --elev-ring: 0 0 0 1px var(--border);
  --elev-raised: 0 12px 32px rgba(0, 0, 0, 0.08);
  --focus-ring: 0 0 0 4px color-mix(in oklab, var(--accent), transparent 65%);
  --motion-fast: 150ms;
  --motion-base: 220ms;
  --ease-standard: cubic-bezier(0.28, 0, 0.22, 1);
  --container-max: 1180px;
  --container-gutter-desktop: 22px;
  --container-gutter-tablet: 18px;
  --container-gutter-phone: 16px;
  --gutter: clamp(18px, 5.5vw, 84px);
  --spine-gap: clamp(20px, 3vw, 46px);
  --bar-h: 58px;
}

/* ─── base ──────────────────────────────────────────────────────────────── */
*,
*::before,
*::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
:root body { margin: 0; background: var(--surface); color: var(--fg); font-family: var(--font-body); font-size: var(--text-base); line-height: var(--leading-body); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden; }
:root body:not(#avi-x) {
  margin-block-end: 0;
}
:root body.nav-open { overflow: hidden; }
:root body img { display: block; max-width: 100%; }
:root body img:not(#avi-x) { max-width: 100%;
}
:root body a { color: inherit; text-decoration: none; }
:root body button { font: inherit; cursor: pointer; color: inherit; }
:root body :is(p,div):where(p:not(.elementor-heading-title),.t-p) { text-wrap: pretty; }
:root body :is(h1,div):where(h1:not(.elementor-heading-title),.t-h1),
:root body :is(h2,div):where(h2:not(.elementor-heading-title),.t-h2),
:root body :is(h3,div):where(h3:not(.elementor-heading-title),.t-h3),
:root body :is(h4,div):where(h4:not(.elementor-heading-title),.t-h4) { text-wrap: balance; margin: 0; }
:root body :is(h1,div):where(h1:not(.elementor-heading-title),.t-h1):not(#avi-x),
:root body :is(h2,div):where(h2:not(.elementor-heading-title),.t-h2):not(#avi-x),
:root body :is(h3,div):where(h3:not(.elementor-heading-title),.t-h3):not(#avi-x),
:root body :is(h4,div):where(h4:not(.elementor-heading-title),.t-h4):not(#avi-x) {
  margin-block-end: 0;
}
:root body ::selection { background: color-mix(in oklab, var(--accent), transparent 70%); }
:root body :focus-visible { outline: 0; box-shadow: var(--focus-ring); border-radius: var(--radius-sm); }
:root body .skip { position: absolute; left: 12px; top: -60px; z-index: 120; background: var(--ink); color: var(--bg); padding: 10px 16px; border-radius: var(--radius-pill); font-size: 14px; transition: top var(--motion-base) var(--ease-standard); }
:root body .skip:focus { top: 12px; }

/* ─── the spine ─────────────────────────────────────────────────────────── */
:root body .spine { position: fixed; top: 0; left: calc(var(--gutter) - 1px); height: 100vh; width: 1px; z-index: 65; pointer-events: none; --spine-color: var(--accent); }
:root body .spine.on-dark { --spine-color: var(--bg); }
:root body .spine::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(180deg, var(--spine-color) 0 3px, transparent 3px 9px); opacity: 0.30; transition: background var(--motion-base) var(--ease-standard); }
:root body .spine::after { content: ""; position: absolute; top: 0; left: 0; width: 1px; height: var(--progress, 0%); background: var(--spine-color); transition: background var(--motion-base) var(--ease-standard); }

/* ─── chapter scaffolding ──────────────────────────────────────────────── */
:root body .band { position: relative; padding-block: clamp(64px, 10vw, 132px); }
:root body .white { background: var(--bg); }
:root body .ink { background: var(--ink); color: var(--bg); }
:root body .ink .muted { color: color-mix(in oklab, var(--bg), transparent 42%); }
:root body .pad { padding-inline: var(--gutter); }
:root body .pad-spine { padding-left: calc(var(--gutter) + var(--spine-gap)); padding-right: var(--gutter); }
:root body .wrap { max-width: var(--container-max); margin-inline: auto; }
:root body .wrap:not(#avi-x) { max-width: var(--container-max);
}
:root body section[id] { scroll-margin-top: calc(var(--bar-h) + 12px); }
:root body .plate { display: flex; align-items: center; gap: 14px; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); }
:root body .plate .no { color: var(--fg); }
:root body .plate .ln { flex: 1; height: 1px; background: linear-gradient(90deg, color-mix(in oklab, var(--fg), transparent 55%), transparent); }
:root body .plate .for { color: var(--accent); }
:root body .ink .plate { color: color-mix(in oklab, var(--bg), transparent 45%); }
:root body .ink .plate .no { color: var(--bg); }
:root body .ink .plate .ln { background: linear-gradient(90deg, color-mix(in oklab, var(--bg), transparent 55%), transparent); }
:root body .ink .plate .for,
:root body .cta .plate .for { color: var(--accent-soft); }

/* ─── type ──────────────────────────────────────────────────────────────── */
:root body .eyebrow { font-family: var(--font-mono); font-size: var(--text-xs); letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); margin: 0; }
:root body .eyebrow:not(#avi-x) {
  margin-block-end: 0;
}
:root body .eyebrow :is(b,div):where(b:not(.elementor-heading-title),.t-b) { color: var(--accent); font-weight: 600; }
:root body .h2 { font-family: var(--font-display); font-size: clamp(34px, 6.4vw, 88px); font-weight: 800; line-height: 0.96; letter-spacing: -0.032em; text-transform: uppercase; }
:root body .h2 :is(em,div):where(em:not(.elementor-heading-title),.t-em) { font-style: normal; color: var(--muted); }
:root body .ink .h2 :is(em,div):where(em:not(.elementor-heading-title),.t-em) { color: color-mix(in oklab, var(--bg), transparent 58%); }
:root body .h3 { font-family: var(--font-display); font-size: clamp(20px, 2.4vw, 27px); font-weight: 700; letter-spacing: -0.02em; line-height: 1.12; }
:root body .lead { font-size: clamp(17px, 2vw, 21px); line-height: 1.45; color: var(--muted); max-width: 60ch; margin: 0; }
:root body .lead:not(#avi-x) { max-width: 60ch; margin-block-end: 0;
}
:root body .ink .lead { color: color-mix(in oklab, var(--bg), transparent 32%); }
:root body .body :is(p,div):where(p:not(.elementor-heading-title),.t-p) { color: var(--fg-2); margin: 0 0 15px; max-width: 58ch; }
:root body .body :is(p,div):where(p:not(.elementor-heading-title),.t-p):not(#avi-x) {
  margin-block-end: 15px; max-width: 58ch;
}
:root body .body :is(p,div):where(p:not(.elementor-heading-title),.t-p):last-child { margin-bottom: 0; }
:root body .body :is(p,div):where(p:not(.elementor-heading-title),.t-p):not(#avi-x):last-child {
  margin-block-end: 0;
}
:root body .ink .body :is(p,div):where(p:not(.elementor-heading-title),.t-p) { color: color-mix(in oklab, var(--bg), transparent 22%); }
:root body .mono { font-family: var(--font-mono); font-variant-numeric: tabular-nums; letter-spacing: 0.02em; }
:root body .prose { max-width: 66ch; }
:root body .prose:not(#avi-x) { max-width: 66ch;
}
:root body .prose :is(p,div):where(p:not(.elementor-heading-title),.t-p) { color: var(--fg-2); margin: 0 0 16px; }
:root body .prose :is(p,div):where(p:not(.elementor-heading-title),.t-p):not(#avi-x) {
  margin-block-end: 16px;
}
:root body .prose :is(p,div):where(p:not(.elementor-heading-title),.t-p):last-child { margin-bottom: 0; }
:root body .prose :is(p,div):where(p:not(.elementor-heading-title),.t-p):not(#avi-x):last-child {
  margin-block-end: 0;
}

/* ─── buttons ───────────────────────────────────────────────────────────── */
:root body .btn,
:root body .w-btn > .elementor-button { display: inline-flex; align-items: center; gap: 8px; min-height: 46px; padding: 0 22px; border-radius: var(--radius-pill); border: 1px solid transparent; background: transparent; font-size: 15px; font-weight: 500; letter-spacing: -0.01em; transition: background var(--motion-base) var(--ease-standard), color var(--motion-base) var(--ease-standard), border-color var(--motion-base) var(--ease-standard), transform var(--motion-fast) var(--ease-standard); }
:root body .btn:active,
:root body .w-btn > .elementor-button:active { transform: scale(0.975); }
:root body .btn-primary,
:root body .w-btn-primary > .elementor-button { background: var(--accent); color: var(--accent-on); }
:root body .btn-primary:hover,
:root body .w-btn-primary > .elementor-button:hover { background: var(--accent-hover); }
:root body .btn-primary:active,
:root body .w-btn-primary > .elementor-button:active { background: var(--accent-active); }
:root body .ink .btn-primary,
:root body .ink .w-btn-primary > .elementor-button,
:root body .cta .btn-primary,
:root body .cta .w-btn-primary > .elementor-button,
:root body .drawer .btn-primary,
:root body .drawer .w-btn-primary > .elementor-button,
:root body .loc-hero .btn-primary,
:root body .loc-hero .w-btn-primary > .elementor-button { background: var(--bg); color: var(--ink); }
:root body .ink .btn-primary:hover,
:root body .ink .w-btn-primary > .elementor-button:hover,
:root body .cta .btn-primary:hover,
:root body .cta .w-btn-primary > .elementor-button:hover,
:root body .drawer .btn-primary:hover,
:root body .drawer .w-btn-primary > .elementor-button:hover,
:root body .loc-hero .btn-primary:hover,
:root body .loc-hero .w-btn-primary > .elementor-button:hover { background: color-mix(in oklab, var(--bg), var(--ink) 12%); }
:root body .ink .btn-primary:active,
:root body .ink .w-btn-primary > .elementor-button:active,
:root body .cta .btn-primary:active,
:root body .cta .w-btn-primary > .elementor-button:active,
:root body .drawer .btn-primary:active,
:root body .drawer .w-btn-primary > .elementor-button:active,
:root body .loc-hero .btn-primary:active,
:root body .loc-hero .w-btn-primary > .elementor-button:active { background: color-mix(in oklab, var(--bg), var(--ink) 22%); }
:root body .btn-outline,
:root body .w-btn-outline > .elementor-button { border-color: currentColor; }
:root body .btn-outline:hover,
:root body .w-btn-outline > .elementor-button:hover { background: color-mix(in oklab, currentColor, transparent 88%); }
:root body .btn-sm,
:root body .w-btn-sm > .elementor-button { min-height: 40px; padding: 0 16px; font-size: 14px; }
:root body .btn-arrow::after,
:root body .w-btn-arrow > .elementor-button::after { content: "→"; transition: transform var(--motion-base) var(--ease-standard); }
:root body .btn-arrow:hover::after,
:root body .w-btn-arrow > .elementor-button:hover::after { transform: translateX(3px); }
:root body .textlink { display: inline-flex; align-items: center; gap: 6px; font-size: 15px; font-weight: 600; color: var(--accent); border-bottom: 1px solid color-mix(in oklab, var(--accent), transparent 55%); padding-bottom: 2px; }
:root body .textlink:hover { border-bottom-color: var(--accent); }

/* ─── topbar ────────────────────────────────────────────────────────────── */
:root body .topbar { position: absolute; inset: 0 0 auto 0; z-index: 80; --bar-fg: var(--bg); color: var(--bar-fg); border-bottom: 1px solid transparent; transition: background var(--motion-base) var(--ease-standard), color var(--motion-base) var(--ease-standard), border-color var(--motion-base) var(--ease-standard); }
:root body .topbar.solid,
:root body:has(.page-hero) .topbar { --bar-fg: var(--fg); background: color-mix(in oklab, var(--bg), transparent 12%); backdrop-filter: saturate(180%) blur(18px); -webkit-backdrop-filter: saturate(180%) blur(18px); border-bottom-color: var(--border); }
:root body .topbar-in { display: flex; align-items: center; justify-content: space-between; gap: var(--space-6); min-height: var(--bar-h); padding-inline: var(--gutter); }
:root body .brand { display: flex; align-items: baseline; gap: 10px; color: var(--bar-fg); }
:root body .brand-mark { font-family: var(--font-display); font-weight: 800; font-size: 24px; letter-spacing: -0.04em; }
:root body .brand-sub { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase; opacity: 0.72; }
:root body .brand-logo,
:root body .w-brand-logo > img { display: block; height: 28px; width: auto; }
:root body .topbar .brand-logo,
:root body .topbar .w-brand-logo > img { filter: brightness(0) invert(1); }
:root body .topbar.solid .brand-logo,
:root body .topbar.solid .w-brand-logo > img,
:root body:has(.page-hero) .topbar .brand-logo,
:root body:has(.page-hero) .topbar .w-brand-logo > img { filter: none; }
:root body .menu { display: flex; align-items: center; gap: clamp(14px, 2.4vw, 30px); }
:root body .menu a,
:root body .menu .menu-drop-btn { font-size: 14.5px; font-weight: 500; color: var(--bar-fg); position: relative; padding-block: 6px; }
:root body .menu a::after { content: ""; position: absolute; left: 0; bottom: 0; height: 1.5px; width: 0; background: var(--accent); transition: width var(--motion-base) var(--ease-standard); }
:root body .menu a:hover::after { width: 100%; }
:root body .menu a[aria-current="page"]::after { width: 100%; }
:root body .menu a[aria-current="page"] { font-weight: 600; }
:root body .topbar-right { display: flex; align-items: center; gap: 14px; }
:root body .lang { display: inline-flex; align-items: center; gap: 5px; background: transparent; border: 1px solid color-mix(in oklab, var(--bar-fg), transparent 62%); color: var(--bar-fg); border-radius: var(--radius-pill); padding: 6px 12px; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.08em; transition: border-color var(--motion-base) var(--ease-standard); }
:root body .lang:hover { border-color: var(--bar-fg); }
:root body .lang :is(span,div):where(span:not(.elementor-heading-title),.t-span)[data-lang] { opacity: 0.55; }
:root body .lang :is(span,div):where(span:not(.elementor-heading-title),.t-span).on { opacity: 1; font-weight: 700; }

/* ─── menu · Zonas dropdown ─────────────────────────────────────────────── */
:root body .menu-drop { position: relative; display: inline-flex; }
:root body .menu-drop-btn { display: inline-flex; align-items: center; gap: 6px; background: transparent; border: 0; }
:root body .menu-drop-btn .car { font-size: 10px; transition: transform var(--motion-base) var(--ease-standard); }
:root body .menu-drop.open .menu-drop-btn .car { transform: rotate(180deg); }
:root body .menu-drop-panel { position: absolute; top: calc(100% + 8px); left: 50%; transform: translateX(-50%) translateY(6px); min-width: 250px; background: var(--bg); color: var(--fg); border: 1px solid var(--border); border-radius: var(--radius-md); box-shadow: var(--elev-raised); padding: 8px; opacity: 0; visibility: hidden; transition: opacity var(--motion-base) var(--ease-standard), transform var(--motion-base) var(--ease-standard), visibility 0s linear var(--motion-base); z-index: 90; }
:root body .menu-drop.open .menu-drop-panel { opacity: 1; visibility: visible; transform: translateX(-50%); transition-delay: 0s; }
:root body .menu-drop-panel a { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding: 11px 12px; border-radius: var(--radius-sm); font-size: 14px; font-weight: 500; color: var(--fg); }
:root body .menu-drop-panel a::after { content: "→"; color: var(--accent); opacity: 0; transform: translateX(-4px); transition: opacity var(--motion-base), transform var(--motion-base); }
:root body .menu-drop-panel a:hover { background: var(--surface); }
:root body .menu-drop-panel a:hover::after { opacity: 1; transform: none; }
:root body .menu-drop-panel .md-head { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); padding: 8px 12px 4px; }

/* ─── hamburger + mobile drawer ────────────────────────────────────────── */
:root body .navtoggle { display: none; width: 44px; height: 44px; border: 1px solid color-mix(in oklab, var(--bar-fg), transparent 58%); border-radius: 50%; background: transparent; position: relative; }
:root body .navtoggle :is(span,div):where(span:not(.elementor-heading-title),.t-span) { position: absolute; left: 50%; margin-left: -9px; width: 18px; height: 1.6px; background: var(--bar-fg); transition: transform var(--motion-base) var(--ease-standard), opacity var(--motion-fast) linear; }
:root body .navtoggle :is(span,div):where(span:not(.elementor-heading-title),.t-span):nth-child(1) { top: 16px; }
:root body .navtoggle :is(span,div):where(span:not(.elementor-heading-title),.t-span):nth-child(2) { top: 21px; }
:root body .navtoggle :is(span,div):where(span:not(.elementor-heading-title),.t-span):nth-child(3) { top: 26px; }
:root body .navtoggle[aria-expanded="true"] :is(span,div):where(span:not(.elementor-heading-title),.t-span):nth-child(1) { transform: translateY(5px) rotate(45deg); }
:root body .navtoggle[aria-expanded="true"] :is(span,div):where(span:not(.elementor-heading-title),.t-span):nth-child(2) { opacity: 0; }
:root body .navtoggle[aria-expanded="true"] :is(span,div):where(span:not(.elementor-heading-title),.t-span):nth-child(3) { transform: translateY(-5px) rotate(-45deg); }
:root body .drawer { position: fixed; inset: var(--bar-h) 0 0 0; z-index: 75; background: var(--ink); color: var(--bg); opacity: 0; visibility: hidden; transform: translateY(-10px); transition: opacity var(--motion-base) var(--ease-standard), transform var(--motion-base) var(--ease-standard), visibility 0s linear var(--motion-base); overflow-y: auto; }
:root body .drawer.open { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
:root body .drawer-in { padding: 20px var(--gutter) 56px; display: flex; flex-direction: column; min-height: 100%; }
:root body .drawer-nav { display: flex; flex-direction: column; }
:root body .drawer-nav a { display: flex; align-items: baseline; gap: 14px; font-family: var(--font-display); font-weight: 800; text-transform: uppercase; letter-spacing: -0.02em; font-size: clamp(30px, 9vw, 46px); line-height: 1.02; padding: 16px 0; border-bottom: 1px solid color-mix(in oklab, var(--bg), transparent 86%); }
:root body .drawer-nav a .dn { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.14em; color: color-mix(in oklab, var(--bg), transparent 50%); }
:root body .drawer-nav a:hover { color: color-mix(in oklab, var(--bg), transparent 20%); }
:root body .drawer-sub { margin-top: 18px; display: flex; flex-direction: column; gap: 2px; }
:root body .drawer-sub .dh { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; color: color-mix(in oklab, var(--bg), transparent 50%); margin-bottom: 8px; }
:root body .drawer-sub .dh:not(#avi-x) {
  margin-block-end: 8px;
}
:root body .drawer-sub a { font-size: 15px; color: color-mix(in oklab, var(--bg), transparent 14%); padding: 5px 0; }
:root body .drawer-sub a:hover { color: var(--bg); }
:root body .drawer-foot { margin-top: auto; padding-top: 30px; display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
:root body .drawer-foot .lang { --bar-fg: var(--bg); }
:root body .readout { display: none; align-items: baseline; gap: 12px; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; opacity: 0.9; }
:root body .readout .ro-no { color: var(--accent); }

/* ─── page hero ────────────────────────────────────────────────────────── */
:root body .page-hero { position: relative; background: var(--bg); padding-block: calc(var(--bar-h) + clamp(46px, 8vw, 104px)) clamp(40px, 6vw, 76px); }
:root body .page-hero.surface { background: var(--surface); }
:root body .page-hero.ink { background: var(--ink); color: var(--bg); }
:root body .page-hero .h2 { margin-top: 22px; max-width: 18ch; }
:root body .page-hero .h2:not(#avi-x) { max-width: 18ch;
}
:root body .page-hero .lead { margin-top: 22px; }
:root body .crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-bottom: 18px; }
:root body .crumbs:not(#avi-x) {
  margin-block-end: 18px;
}
:root body .crumbs a:hover { color: var(--accent); }
:root body .crumbs .sep { opacity: 0.5; }
:root body .sec-head { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; padding-bottom: 18px; border-bottom: 1px solid var(--border); margin-bottom: clamp(28px, 4vw, 44px); }
:root body .sec-head:not(#avi-x) {
  margin-block-end: clamp(28px, 4vw, 44px);
}
:root body .sec-head .sh-t { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }

/* ─── local landing hero (image) ───────────────────────────────────────── */
:root body .loc-hero { position: relative; min-height: 66vh; display: flex; align-items: flex-end; background: var(--ink); color: var(--bg); overflow: hidden; }
:root body .loc-hero>img,
:root body .loc-hero>.avi-img > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 52%; }
:root body .loc-hero .scrim { position: absolute; inset: 0; background: linear-gradient(180deg, color-mix(in oklab, var(--ink), transparent 62%) 0%, color-mix(in oklab, var(--ink), transparent 30%) 52%, color-mix(in oklab, var(--ink), transparent 6%) 100%); }
:root body .loc-hero .in { position: relative; z-index: 2; width: 100%; padding-block: calc(var(--bar-h) + 40px) clamp(40px, 6vw, 72px); }
:root body .loc-hero .h2 { max-width: 16ch; margin-top: 22px; }
:root body .loc-hero .h2:not(#avi-x) { max-width: 16ch;
}
:root body .loc-hero .lead { color: color-mix(in oklab, var(--bg), transparent 20%); margin-top: 22px; }

/* ─── studio ───────────────────────────────────────────────────────────── */
:root body .studio-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; margin-top: clamp(36px, 5vw, 60px); }
:root body .stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); margin-top: 34px; }
:root body .stat { background: var(--surface); padding: 22px 20px; }
:root body .stat .n { font-family: var(--font-display); font-weight: 800; font-size: clamp(30px, 3.6vw, 46px); letter-spacing: -0.03em; line-height: 1; }
:root body .stat .l { color: var(--muted); font-size: 13.5px; line-height: 1.35; margin-top: 8px; }
:root body .studio-media { overflow: hidden; border: 1px solid var(--border); background: var(--surface); }
:root body .studio-media img { width: 100%; height: auto; }
:root body .team3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 3vw, 40px); margin-top: clamp(44px, 6vw, 68px); }
:root body .member { margin: 0; }
:root body .member:not(#avi-x) {
  margin-block-end: 0;
}
:root body .member .mimg { aspect-ratio: 3 / 4; overflow: hidden; background: var(--surface); border: 1px solid var(--border); }
:root body .member img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.04); transition: filter var(--motion-base) var(--ease-standard); }
:root body .member:hover img { filter: grayscale(0); }
:root body .member .nm { font-family: var(--font-display); font-weight: 750; font-size: 18px; letter-spacing: -0.01em; margin-top: 14px; }
:root body .member .rl { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-top: 5px; }

/* ─── análisis del lugar ───────────────────────────────────────────────── */
:root body .anal { list-style: none; margin: 32px 0 0; padding: 0; display: grid; gap: 1px; background: var(--border); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
:root body .anal:not(#avi-x) {
  margin-block-end: 0;
}
:root body .anal :is(li,div):where(li:not(.elementor-heading-title),.t-li) { background: var(--surface); padding: 18px 4px; display: grid; grid-template-columns: 54px 1fr; gap: 16px; align-items: baseline; }
:root body .anal .an-i { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.12em; color: var(--accent); }
:root body .anal :is(h3,div):where(h3:not(.elementor-heading-title),.t-h3) { font-family: var(--font-display); font-size: 19px; font-weight: 700; letter-spacing: -0.015em; }
:root body .anal :is(p,div):where(p:not(.elementor-heading-title),.t-p) { margin: 5px 0 0; font-size: 14.5px; line-height: 1.42; color: var(--muted); max-width: 46ch; }
:root body .anal :is(p,div):where(p:not(.elementor-heading-title),.t-p):not(#avi-x) {
  margin-block-end: 0; max-width: 46ch;
}

/* ─── sostenibilidad · diagrams ────────────────────────────────────────── */
:root body .sost-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(28px, 5vw, 80px); align-items: center; margin-top: clamp(40px, 6vw, 72px); }
:root body .sost-grid .anal { background: color-mix(in oklab, var(--bg), transparent 84%); border-color: color-mix(in oklab, var(--bg), transparent 84%); }
:root body .sost-grid .anal :is(li,div):where(li:not(.elementor-heading-title),.t-li) { background: var(--ink); }
:root body .sost-grid .anal :is(h3,div):where(h3:not(.elementor-heading-title),.t-h3) { color: var(--bg); }
:root body .sost-grid .anal :is(p,div):where(p:not(.elementor-heading-title),.t-p) { color: color-mix(in oklab, var(--bg), transparent 40%); }
:root body .solar { width: 100%; height: auto; }
:root body .solar-grid-l { fill: none; stroke: color-mix(in oklab, var(--bg), transparent 88%); stroke-width: 1; }
:root body .solar-arc { fill: none; stroke: color-mix(in oklab, var(--bg), transparent 52%); stroke-width: 1.3; stroke-dasharray: 5 5; }
:root body #solarArc { stroke-dasharray: 320 !important; stroke-dashoffset: 320; transition: stroke-dashoffset 1500ms var(--ease-standard) 200ms; }
:root body #sostenibilidad.drawn #solarArc { stroke-dashoffset: 0; }
:root body .solar-sun { fill: var(--accent-soft); }
:root body .solar-ray { stroke: color-mix(in oklab, var(--bg), transparent 30%); stroke-width: 1.4; opacity: 0.3; animation: ray 3.2s ease-in-out infinite; }
:root body .solar-ray:nth-child(2) { animation-delay: 0.35s; }
:root body .solar-ray:nth-child(3) { animation-delay: 0.7s; }
@keyframes ray { 0%, 100% { opacity: 0.22; } 50% { opacity: 1; } }
:root body .solar-house { fill: none; stroke: var(--bg); stroke-width: 1.8; }
:root body .solar-hfill { fill: color-mix(in oklab, var(--bg), transparent 93%); }
:root body .solar-ground { fill: none; stroke: color-mix(in oklab, var(--bg), transparent 46%); stroke-width: 1.4; }
:root body .solar-hatch { stroke: color-mix(in oklab, var(--bg), transparent 68%); stroke-width: 1; }
:root body .solar-dim { stroke: color-mix(in oklab, var(--bg), transparent 46%); stroke-width: 1; }
:root body .solar-t { font-family: var(--font-mono); font-size: 15px; letter-spacing: 0.08em; fill: color-mix(in oklab, var(--bg), transparent 34%); }
:root body .solar-t-sm { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.16em; fill: color-mix(in oklab, var(--bg), transparent 44%); }
:root body .raiz-radial { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); grid-template-rows: auto auto auto; align-items: center; justify-items: center; gap: clamp(18px, 3vw, 46px); margin-top: clamp(48px, 6vw, 84px); }
:root body .sec-draw { width: 100%; height: auto; }
:root body .dr path,
:root body .dr circle { fill: none; stroke: var(--bg); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 2200; stroke-dashoffset: 2200; transition: stroke-dashoffset 1600ms var(--ease-standard); }
:root body .dr .dash { stroke-dasharray: 5 7; stroke-dashoffset: 0; opacity: 0.5; }
:root body #sostenibilidad.drawn .dr path,
:root body #sostenibilidad.drawn .dr circle { stroke-dashoffset: 0; }
:root body #sostenibilidad.drawn .dr.dr-sun path,
:root body #sostenibilidad.drawn .dr.dr-sun circle { transition-delay: 500ms; }
:root body #sostenibilidad.drawn .dr.dr-air path { transition-delay: 900ms; }
:root body #sostenibilidad.drawn .dr.dr-mass path { transition-delay: 1200ms; }
:root body #sostenibilidad.drawn .dr-air { animation: flow 3.4s ease-in-out infinite 2.4s; }
@keyframes flow { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(10px); } }
:root body .sec-hatch { fill: url(#massHatch); stroke: none; opacity: 0; transition: opacity 900ms var(--ease-standard) 1000ms; }
:root body #sostenibilidad.drawn .sec-hatch { opacity: 1; }
:root body .sec-anno { fill: none; stroke: color-mix(in oklab, var(--bg), transparent 46%); stroke-width: 1; }
:root body .sec-hatch-l { stroke: color-mix(in oklab, var(--bg), transparent 72%); stroke-width: 1; }
:root body .sec-anno-t { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.14em; fill: color-mix(in oklab, var(--bg), transparent 40%); }
:root body .sec-anno-t.dot { fill: var(--accent-soft); }
:root body .raiz-lead path { fill: none; stroke: color-mix(in oklab, var(--bg), transparent 40%); stroke-width: 1.3; }
:root body .raiz-num circle { fill: var(--bg); }
:root body .raiz-num text { fill: var(--fg); font-family: var(--font-mono); font-size: 13px; font-weight: 700; text-anchor: middle; }
:root body .raiz-core { grid-area: 2 / 2; width: clamp(300px, 44vw, 620px); margin: 0; text-align: center; }
:root body .raiz-core:not(#avi-x) {
  margin-block-end: 0;
}
:root body .raiz-core :is(figcaption,div):where(figcaption:not(.elementor-heading-title),.t-figcaption) { margin-top: 14px; }
:root body .cota { max-width: 250px; }
:root body .cota:not(#avi-x) { max-width: 250px;
}
:root body .cota--top { grid-area: 1 / 2; text-align: center; }
:root body .cota--bottom { grid-area: 3 / 2; text-align: center; }
:root body .cota--left { grid-area: 2 / 1; text-align: right; justify-self: end; }
:root body .cota--right { grid-area: 2 / 3; text-align: left; justify-self: start; }
:root body .cota .cl { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: color-mix(in oklab, var(--bg), transparent 34%); }
:root body .cota--left .cl { flex-direction: row-reverse; }
:root body .cota .cl :is(b,div):where(b:not(.elementor-heading-title),.t-b) { display: inline-flex; align-items: center; justify-content: center; width: 22px; height: 22px; flex: none; border: 1px solid color-mix(in oklab, var(--bg), transparent 55%); border-radius: 50%; color: var(--bg); font-size: 11px; line-height: 1; }
:root body .cota .cv { font-family: var(--font-display); font-weight: 700; font-size: clamp(18px, 1.8vw, 23px); letter-spacing: -0.01em; margin-top: 10px; }
:root body .cota .cs { font-size: 13.5px; line-height: 1.42; color: color-mix(in oklab, var(--bg), transparent 38%); margin: 5px 0 0; }
:root body .cota .cs:not(#avi-x) {
  margin-block-end: 0;
}
:root body .raiz-dim { grid-area: 4 / 1 / 5 / 4; width: min(560px, 100%); margin-top: clamp(6px, 1.4vw, 18px); }
:root body .dim { display: flex; align-items: center; gap: 16px; }
:root body .dim .line { position: relative; flex: 1; height: 1px; background: linear-gradient(90deg, transparent, color-mix(in oklab, var(--bg), transparent 62%) 50%, transparent); }
:root body .dim .line::before,
:root body .dim .line::after { content: ""; position: absolute; top: -4px; width: 1px; height: 9px; background: color-mix(in oklab, var(--bg), transparent 50%); }
:root body .dim .line::before { left: 0; }
:root body .dim .line::after { right: 0; }
:root body .dim .lbl { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: color-mix(in oklab, var(--bg), transparent 44%); white-space: nowrap; }

/* ─── proyectos · filtros + slider + fichas ────────────────────────────── */
:root body .chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
:root body .chip { border: 1px solid var(--border); background: transparent; color: var(--fg-2); border-radius: var(--radius-pill); padding: 10px 18px; font-size: 14px; font-weight: 500; transition: background var(--motion-fast) var(--ease-standard), color var(--motion-fast) var(--ease-standard), border-color var(--motion-fast) var(--ease-standard); }
:root body .chip:hover { border-color: var(--fg); color: var(--fg); }
:root body .chip.on { background: var(--accent); border-color: var(--accent); color: var(--accent-on); }
:root body .cat-note { margin-top: 20px; font-size: 15px; line-height: 1.45; color: var(--muted); max-width: 76ch; min-height: 44px; }
:root body .cat-note:not(#avi-x) { max-width: 76ch;
}
:root body .pf-slider { --pf-gap: clamp(14px, 2vw, 26px); position: relative; margin-top: clamp(36px, 5vw, 56px); }
:root body .pf-track { display: flex; gap: var(--pf-gap); overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding-bottom: 4px; scrollbar-width: none; -ms-overflow-style: none; }
:root body .pf-track::-webkit-scrollbar { display: none; }
:root body .pf-track .pcard { flex: 0 0 calc((100% - 2 * var(--pf-gap)) / 3); scroll-snap-align: start; }
:root body .pf-nav { display: flex; align-items: center; gap: clamp(14px, 2vw, 22px); margin-top: 24px; }
:root body .pf-arrow { width: 48px; height: 48px; flex: none; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--border); border-radius: 50%; background: var(--bg); color: var(--fg); font-size: 18px; transition: background var(--motion-base) var(--ease-standard), color var(--motion-base) var(--ease-standard), border-color var(--motion-base) var(--ease-standard); }
:root body .pf-arrow:hover { background: var(--ink); color: var(--bg); border-color: var(--ink); }
:root body .pf-arrow:active { transform: scale(0.96); }
:root body .pf-arrow:disabled { color: var(--meta); border-color: var(--border-soft); background: var(--bg); cursor: default; }
:root body .pf-dots { display: flex; align-items: center; gap: 8px; flex: 1; }
:root body .pf-dot { width: 9px; height: 9px; padding: 0; border: 0; border-radius: 50%; background: var(--border); transition: background var(--motion-base) var(--ease-standard), transform var(--motion-base) var(--ease-standard); }
:root body .pf-dot:hover { background: var(--muted); }
:root body .pf-dot.on { background: var(--accent); transform: scale(1.3); }
:root body .pcard { position: relative; display: block; width: 100%; padding: 0; border: 1px solid var(--border); background: var(--ink); overflow: hidden; text-align: left; color: var(--bg); }
:root body .pcard[hidden] { display: none; }
:root body .pcard .pimg { display: block; position: relative; aspect-ratio: 4 / 5; overflow: hidden; }
:root body .pcard .pimg img { width: 100%; height: 100%; object-fit: cover; transition: transform 800ms var(--ease-standard), filter 500ms var(--ease-standard); filter: grayscale(0.2); }
:root body .pcard:hover .pimg img,
:root body .pcard:focus-visible .pimg img { transform: scale(1.04); filter: grayscale(0); }
:root body .pcard .pov { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; gap: 12px; padding: clamp(16px, 2vw, 24px); background: linear-gradient(0deg, color-mix(in oklab, var(--ink), transparent 6%) 0%, color-mix(in oklab, var(--ink), transparent 46%) 46%, color-mix(in oklab, var(--ink), transparent 78%) 100%); }
:root body .pcard .ptags { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: color-mix(in oklab, var(--bg), transparent 22%); }
:root body .pcard .pt { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; letter-spacing: -0.02em; line-height: 0.98; font-size: clamp(22px, 2.6vw, 30px); }
:root body .pcard .pm { font-family: var(--font-mono); font-size: 12px; color: color-mix(in oklab, var(--bg), transparent 26%); }
:root body .pcard .pbtn { align-self: flex-start; margin-top: 4px; display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 18px; border: 1px solid color-mix(in oklab, var(--bg), transparent 30%); border-radius: var(--radius-pill); font-size: 14px; font-weight: 600; color: var(--bg); transition: background var(--motion-base) var(--ease-standard), color var(--motion-base) var(--ease-standard), border-color var(--motion-base) var(--ease-standard), transform var(--motion-fast) var(--ease-standard); }
:root body .pcard:hover .pbtn,
:root body .pcard:focus-visible .pbtn { background: var(--bg); color: var(--fg); border-color: var(--bg); }
:root body .pcard .pbtn::after { content: "→"; transition: transform var(--motion-base) var(--ease-standard); }
:root body .pcard:hover .pbtn::after { transform: translateX(3px); }
:root body .pcard .pimg .pnoimg { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: var(--ink); color: color-mix(in oklab, var(--bg), transparent 55%); font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; }
:root body .pf-note { margin-top: clamp(30px, 4vw, 48px); max-width: 72ch; font-size: 13.5px; color: var(--muted); }
:root body .pf-note:not(#avi-x) { max-width: 72ch;
}
:root body .ficha { width: min(940px, calc(100vw - 2 * var(--gutter))); max-height: 88vh; padding: 0; border: 0; border-radius: var(--radius-lg); background: var(--bg); color: var(--fg); overflow: hidden; }
:root body .ficha::backdrop { background: color-mix(in oklab, var(--ink), transparent 45%); }
:root body .ficha[open] { animation: fichaIn 320ms var(--ease-standard) both; }
@keyframes fichaIn { from { opacity: 0; transform: translateY(14px) scale(0.985); } to { opacity: 1; transform: none; } }
:root body .ficha-x { position: absolute; top: 14px; right: 14px; z-index: 4; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--border); background: color-mix(in oklab, var(--bg), transparent 8%); font-size: 15px; line-height: 1; display: flex; align-items: center; justify-content: center; }
:root body .ficha-x:hover { background: var(--surface); }
:root body .ficha-grid { display: grid; grid-template-columns: 0.95fr 1.05fr; max-height: 88vh; }
:root body .ficha-media { position: relative; background: var(--surface); }
:root body .ficha-media img { width: 100%; height: 100%; object-fit: cover; }
:root body .ficha-media .fnoimg { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: var(--ink); color: color-mix(in oklab, var(--bg), transparent 45%); font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.24em; text-transform: uppercase; }
:root body .ficha-media .fnoimg[hidden] { display: none; }
:root body .ficha-body { padding: clamp(24px, 3.4vw, 44px); overflow-y: auto; }
:root body .ficha-tag { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent); margin: 0; }
:root body .ficha-tag:not(#avi-x) {
  margin-block-end: 0;
}
:root body .ficha-title { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; letter-spacing: -0.03em; line-height: 0.98; font-size: clamp(28px, 4vw, 44px); margin: 14px 0 0; }
:root body .ficha-title:not(#avi-x) {
  margin-block-end: 0;
}
:root body .ficha-meta { font-family: var(--font-mono); font-size: 12.5px; color: var(--muted); margin: 10px 0 0; }
:root body .ficha-meta:not(#avi-x) {
  margin-block-end: 0;
}
:root body .ficha-body :is(dl,div):where(dl:not(.elementor-heading-title),.t-dl) { margin: 26px 0 0; display: grid; gap: 18px; }
:root body .ficha-body :is(dl,div):where(dl:not(.elementor-heading-title),.t-dl):not(#avi-x) {
  margin-block-end: 0;
}
:root body .ficha-body :is(dt,div):where(dt:not(.elementor-heading-title),.t-dt) { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
:root body .ficha-body :is(dd,div):where(dd:not(.elementor-heading-title),.t-dd) { margin: 6px 0 0; font-size: 15.5px; line-height: 1.45; color: var(--fg-2); }
:root body .ficha-body :is(dd,div):where(dd:not(.elementor-heading-title),.t-dd):not(#avi-x) {
  margin-block-end: 0;
}
:root body .ficha-cta { margin-top: 30px; }

/* ─── CTA ──────────────────────────────────────────────────────────────── */
:root body .cta { position: relative; min-height: 72vh; display: flex; align-items: center; background: var(--ink); color: var(--bg); overflow: hidden; }
:root body .cta-bg,
:root body .w-cta-bg > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 42%; }
:root body .cta-scrim { position: absolute; inset: 0; background: linear-gradient(90deg, color-mix(in oklab, var(--ink), transparent 18%) 0%, color-mix(in oklab, var(--ink), transparent 58%) 62%, color-mix(in oklab, var(--ink), transparent 26%) 100%); }
:root body .cta-in { position: relative; z-index: 2; }
:root body .cta :is(h2,div):where(h2:not(.elementor-heading-title),.t-h2) { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; letter-spacing: -0.035em; line-height: 0.92; font-size: clamp(38px, 7.5vw, 112px); max-width: 15ch; }
:root body .cta :is(h2,div):where(h2:not(.elementor-heading-title),.t-h2):not(#avi-x) { max-width: 15ch;
}
:root body .cta :is(p,div):where(p:not(.elementor-heading-title),.t-p) { max-width: 44ch; margin: 24px 0 30px; color: color-mix(in oklab, var(--bg), transparent 20%); font-size: clamp(16px, 1.7vw, 20px); }
:root body .cta :is(p,div):where(p:not(.elementor-heading-title),.t-p):not(#avi-x) { max-width: 44ch; margin-block-end: 30px;
}

/* ─── zonas · pills + mapa ─────────────────────────────────────────────── */
:root body .zpills { display: flex; flex-wrap: nowrap; gap: 10px; margin-top: clamp(28px, 3.5vw, 40px); overflow-x: auto; padding: 6px 2px 12px; scroll-snap-type: x proximity; scrollbar-width: none; -ms-overflow-style: none; }
:root body .zpills::-webkit-scrollbar { display: none; }
:root body .zpill { display: inline-flex; align-items: baseline; gap: 8px; flex: none; scroll-snap-align: start; white-space: nowrap; padding: 8px 14px; border: 1px solid var(--border); border-radius: var(--radius-pill); background: var(--bg); color: var(--fg); transition: background var(--motion-base) var(--ease-standard), color var(--motion-base) var(--ease-standard), border-color var(--motion-base) var(--ease-standard), transform var(--motion-fast) var(--ease-standard); }
:root body .zpill:hover,
:root body .zpill:focus-visible { background: var(--ink); border-color: var(--ink); color: var(--bg); transform: translateY(-2px); }
:root body .zpill .zname { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; letter-spacing: -0.02em; font-size: 14px; line-height: 1; }
:root body .zpill .zmeta { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase; opacity: 0.62; }
:root body .zpill .zo { font-size: 14px; opacity: 0; transform: translateX(-5px); transition: opacity var(--motion-base) var(--ease-standard), transform var(--motion-base) var(--ease-standard); }
:root body .zpill:hover .zo,
:root body .zpill:focus-visible .zo { opacity: 1; transform: none; }
:root body .zmap { margin-top: clamp(36px, 5vw, 56px); background: var(--bg); border: 1px solid var(--border); overflow-x: auto; }
:root body .zmap svg { display: block; width: 100%; min-width: 720px; height: auto; }
:root body .zmap .m-grid { fill: none; stroke: color-mix(in oklab, var(--fg), transparent 93%); stroke-width: 1; }
:root body .zmap .m-sea line { stroke: color-mix(in oklab, var(--fg), transparent 90%); stroke-width: 1; }
:root body .zmap .m-coast { fill: none; stroke: color-mix(in oklab, var(--fg), transparent 42%); stroke-width: 2; stroke-dasharray: 2600; stroke-dashoffset: 2600; transition: stroke-dashoffset 1800ms var(--ease-standard); }
:root body #zonas.drawn .m-coast { stroke-dashoffset: 0; }
:root body .zmap .m-link { fill: none; stroke: color-mix(in oklab, var(--fg), transparent 62%); stroke-width: 1; stroke-dasharray: 5 6; animation: march 5s linear infinite; }
@keyframes march { to { stroke-dashoffset: -22; } }
:root body .zmap .m-contour { fill: none; stroke: color-mix(in oklab, var(--fg), transparent 88%); stroke-width: 1; stroke-dasharray: 3 5; }
:root body .zmap .m-node { fill: var(--bg); stroke: var(--fg); stroke-width: 1.5; transform-box: fill-box; transform-origin: center; }
:root body .zmap .m-node-a { fill: var(--accent); stroke: var(--accent); stroke-width: 1.5; transform-box: fill-box; transform-origin: center; animation: pulse 2.6s ease-in-out infinite; }
:root body .zmap .m-place { cursor: pointer; }
:root body .zmap .m-place:focus { outline: none; }
:root body .zmap .m-hit { fill: transparent; }
:root body .zmap .m-place:hover .m-node,
:root body .zmap .m-place:hover .m-node-a,
:root body .zmap .m-place:focus-visible .m-node,
:root body .zmap .m-place:focus-visible .m-node-a { stroke: var(--accent); }
:root body .zmap .m-place:hover .m-lbl,
:root body .zmap .m-place:focus-visible .m-lbl { fill: var(--accent); }
:root body .zmap .m-tip { opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity var(--motion-base) var(--ease-standard), transform var(--motion-base) var(--ease-standard), visibility 0s linear var(--motion-base); pointer-events: none; }
:root body .zmap .m-place:hover .m-tip,
:root body .zmap .m-place:focus-visible .m-tip { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
:root body .zmap .m-tip-bg { fill: var(--bg); stroke: var(--fg); stroke-width: 1.5; }
:root body .zmap .m-tip-name { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; letter-spacing: -0.01em; font-size: 20px; fill: var(--fg); }
:root body .zmap .m-tip-meta { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; fill: var(--muted); }
:root body .zmap .m-tip-go { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.06em; fill: var(--accent); }
:root body #zonas.drawn .m-node { animation: nodePop 520ms var(--ease-standard) both; animation-delay: var(--d, 0ms); }
@keyframes nodePop { from { transform: scale(0); } to { transform: scale(1); } }
@keyframes pulse { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.4); opacity: 0.5; } }
:root body .zmap .m-lbl,
:root body .zmap .m-lbl-sm { opacity: 0; transform: translateY(6px); transition: opacity 700ms var(--ease-standard) 700ms, transform 700ms var(--ease-standard) 700ms; }
:root body #zonas.drawn .m-lbl,
:root body #zonas.drawn .m-lbl-sm { opacity: 1; transform: none; }
:root body .zmap .m-lbl { font-family: var(--font-mono); font-size: 16px; letter-spacing: 0.06em; fill: var(--fg); }
:root body .zmap .m-lbl-sm { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.1em; fill: var(--muted); }
:root body .zmap .m-sea-lbl { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.3em; fill: var(--muted); }
:root body .zmap .m-block-bg { fill: var(--bg); stroke: var(--border); stroke-width: 1; }
:root body .zmap .m-block-t { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.1em; fill: var(--fg); }
:root body .zmap .m-block-s { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.1em; fill: var(--muted); }
:root body .zmap .m-block-rule { fill: none; stroke: color-mix(in oklab, var(--fg), transparent 42%); stroke-width: 1.5; }
:root body .zmap :is(figcaption,div):where(figcaption:not(.elementor-heading-title),.t-figcaption) { margin: 0; padding: 12px 16px; border-top: 1px solid var(--border); font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.06em; color: var(--muted); }
:root body .zmap :is(figcaption,div):where(figcaption:not(.elementor-heading-title),.t-figcaption):not(#avi-x) {
  margin-block-end: 0;
}

/* ─── formulario ───────────────────────────────────────────────────────── */
:root body .encargo-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(30px, 5vw, 80px); margin-top: clamp(36px, 5vw, 64px); align-items: start; }
:root body .sheet { display: grid; gap: 26px; }
:root body .field { display: flex; flex-direction: column; gap: 6px; }
:root body .field :is(label,div):where(label:not(.elementor-heading-title),.t-label) { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
:root body .field input,
:root body .field select,
:root body .field textarea { width: 100%; padding: 10px 2px; border: 0; border-bottom: 1.5px solid var(--fg); border-radius: 0; background: transparent; color: var(--fg); font: inherit; font-size: 16px; transition: border-color var(--motion-fast) var(--ease-standard); }
:root body .field input:hover,
:root body .field select:hover,
:root body .field textarea:hover { border-bottom-color: var(--accent); }
:root body .field input:focus-visible,
:root body .field select:focus-visible,
:root body .field textarea:focus-visible { outline: 0; box-shadow: none; border-bottom-color: var(--accent); border-bottom-width: 2.5px; }
:root body .field textarea { min-height: 96px; resize: vertical; line-height: 1.5; }
:root body .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
:root body .check { display: flex; gap: 11px; align-items: flex-start; font-size: 13.5px; color: var(--muted); }
:root body .check input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--accent); flex: none; }
:root body .check a { color: var(--accent-active); text-decoration: underline; }
:root body .form-done { display: none; border: 1px solid var(--border); padding: 26px; background: var(--bg); }
:root body .form-done.show { display: block; }
:root body .form-done .tick { font-family: var(--font-mono); color: var(--success); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; }
:root body .encargo-aside { border-top: 2px solid var(--fg); padding-top: 22px; }
:root body .encargo-aside :is(dl,div):where(dl:not(.elementor-heading-title),.t-dl) { margin: 0; display: grid; gap: 20px; }
:root body .encargo-aside :is(dl,div):where(dl:not(.elementor-heading-title),.t-dl):not(#avi-x) {
  margin-block-end: 0;
}
:root body .encargo-aside :is(dt,div):where(dt:not(.elementor-heading-title),.t-dt) { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.13em; text-transform: uppercase; color: var(--muted); }
:root body .encargo-aside :is(dd,div):where(dd:not(.elementor-heading-title),.t-dd) { margin: 5px 0 0; font-size: 16px; color: var(--fg); }
:root body .encargo-aside :is(dd,div):where(dd:not(.elementor-heading-title),.t-dd):not(#avi-x) {
  margin-block-end: 0;
}
:root body .encargo-aside :is(dd,div):where(dd:not(.elementor-heading-title),.t-dd) a:hover { color: var(--accent); }
:root body .encargo-tag { font-family: var(--font-display); font-weight: 700; text-transform: uppercase; letter-spacing: -0.01em; font-size: 18px; line-height: 1.18; margin-top: 32px; }

/* ─── colophon footer ──────────────────────────────────────────────────── */
:root body .colophon { background: var(--ink); color: var(--bg); padding-block: clamp(56px, 7vw, 96px) 30px; }
:root body .tblock { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(18px, 3vw, 40px); border-top: 1px solid color-mix(in oklab, var(--bg), transparent 80%); padding-top: 28px; }
:root body .tb-col :is(h4,div):where(h4:not(.elementor-heading-title),.t-h4) { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase; color: color-mix(in oklab, var(--bg), transparent 50%); margin: 0 0 14px; font-weight: 500; }
:root body .tb-col :is(h4,div):where(h4:not(.elementor-heading-title),.t-h4):not(#avi-x) {
  margin-block-end: 14px;
}
:root body .tb-col :is(p,div):where(p:not(.elementor-heading-title),.t-p),
:root body .tb-col a { display: block; font-size: 14.5px; color: color-mix(in oklab, var(--bg), transparent 14%); margin: 0 0 8px; }
:root body .tb-col :is(p,div):where(p:not(.elementor-heading-title),.t-p):not(#avi-x),
:root body .tb-col a:not(#avi-x) {
  margin-block-end: 8px;
}
:root body .tb-col a:hover { color: var(--bg); }
:root body .col-mark { font-family: var(--font-display); font-weight: 800; font-size: clamp(40px, 8vw, 96px); letter-spacing: -0.045em; line-height: 0.9; text-transform: uppercase; }
:root body .col-sub { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: color-mix(in oklab, var(--bg), transparent 48%); margin-top: 14px; }
:root body .col-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px; margin-top: clamp(40px, 5vw, 64px); padding-top: 22px; border-top: 1px solid color-mix(in oklab, var(--bg), transparent 86%); font-size: 12px; color: color-mix(in oklab, var(--bg), transparent 46%); }
:root body .col-bottom a { text-decoration: underline; }

/* ─── cards / related ──────────────────────────────────────────────────── */
:root body .cardgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 3vw, 34px); margin-top: clamp(32px, 4vw, 52px); }
:root body .acard { display: flex; flex-direction: column; border: 1px solid var(--border); background: var(--bg); }
:root body .acard .aimg { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--ink); }
:root body .acard .aimg img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(0.2); transition: transform 800ms var(--ease-standard), filter 500ms var(--ease-standard); }
:root body .acard:hover .aimg img { transform: scale(1.04); filter: grayscale(0); }
:root body .acard .aimg .pnoimg { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: var(--ink); color: color-mix(in oklab, var(--bg), transparent 55%); font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; }
:root body .acard .abody { padding: 18px 18px 22px; display: flex; flex-direction: column; gap: 8px; }
:root body .acard .atags { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); }
:root body .acard .at { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; letter-spacing: -0.02em; font-size: 24px; line-height: 1; }
:root body .acard .am { font-family: var(--font-mono); font-size: 12px; color: var(--muted); }
:root body .acard .al { margin-top: 6px; font-size: 14.5px; color: var(--muted); }
:root body .steps { counter-reset: step; display: grid; gap: 1px; background: var(--border); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); margin-top: clamp(30px, 4vw, 48px); list-style: none; padding: 0; }
:root body .steps :is(li,div):where(li:not(.elementor-heading-title),.t-li) { background: var(--bg); padding: 22px 8px; display: grid; grid-template-columns: 64px 1fr; gap: 18px; align-items: baseline; }
:root body .steps :is(li,div):where(li:not(.elementor-heading-title),.t-li)::before { counter-increment: step; content: "0" counter(step); font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.12em; color: var(--accent); }
:root body .steps :is(h3,div):where(h3:not(.elementor-heading-title),.t-h3) { font-family: var(--font-display); font-size: 19px; font-weight: 700; letter-spacing: -0.015em; }
:root body .steps :is(p,div):where(p:not(.elementor-heading-title),.t-p) { margin: 5px 0 0; font-size: 14.5px; line-height: 1.42; color: var(--muted); max-width: 52ch; }
:root body .steps :is(p,div):where(p:not(.elementor-heading-title),.t-p):not(#avi-x) {
  margin-block-end: 0; max-width: 52ch;
}
:root body .split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: start; margin-top: clamp(32px, 4vw, 52px); }
:root body .split-media { overflow: hidden; border: 1px solid var(--border); background: var(--surface); }
:root body .split-media img { width: 100%; height: auto; }
:root body .tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
:root body .tag { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); border: 1px solid var(--border); border-radius: var(--radius-pill); padding: 6px 12px; }
:root body .rntags { display: flex; flex-wrap: wrap; gap: 10px; }
:root body .rntag { font-family: var(--font-display); font-weight: 700; text-transform: uppercase; letter-spacing: -0.01em; font-size: 15px; line-height: 1; color: var(--fg); border: 1px solid var(--border); border-radius: var(--radius-pill); padding: 13px 20px; }
:root body .photo { margin: clamp(40px, 6vw, 72px) 0 0; }
:root body .photo:not(#avi-x) {
  margin-block-end: 0;
}
:root body .photo .pimg { overflow: hidden; border: 1px solid var(--border); background: var(--surface); }
:root body .photo img { width: 100%; height: auto; display: block; filter: grayscale(0.12); transition: filter 600ms var(--ease-standard); }
:root body .photo.banner img { height: clamp(280px, 46vw, 520px); object-fit: cover; object-position: center 42%; }
:root body .photo:hover img { filter: grayscale(0); }
:root body .photo :is(figcaption,div):where(figcaption:not(.elementor-heading-title),.t-figcaption) { margin-top: 12px; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.06em; color: var(--muted); display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
:root body .ink .photo .pimg { border-color: color-mix(in oklab, var(--bg), transparent 84%); background: transparent; }
:root body .ink .photo :is(figcaption,div):where(figcaption:not(.elementor-heading-title),.t-figcaption) { color: color-mix(in oklab, var(--bg), transparent 42%); }

/* ─── reveal + text reveal ─────────────────────────────────────────────── */
:root.js body .reveal { opacity: 0; transform: translateY(16px); transition: opacity 700ms var(--ease-standard), transform 700ms var(--ease-standard); }
:root.js body .reveal.in { opacity: 1; transform: none; }
:root body .tx { --stagger: 38ms; }
:root.js body .reveal.tx { opacity: 1; transform: none; transition: none; }
:root body .tx .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: 0.16em; margin-bottom: -0.16em; }
:root body .tx .w:not(#avi-x) {
  margin-block-end: -0.16em;
}
:root body .tx .w>.wi { display: inline-block; transform: translateY(118%); opacity: 0; transition: transform 780ms var(--ease-standard), opacity 520ms linear; transition-delay: calc(var(--i, 0) * var(--stagger)); will-change: transform, opacity; }
:root body .tx.in .w>.wi { transform: none; opacity: 1; }
:root body .plate.tx { --stagger: 24ms; }
:root body .col-mark.tx { --stagger: 34ms; }

/* ─── responsive ───────────────────────────────────────────────────────── */
@media (max-width: 680px) {
  :root body .menu { display: none; }
  :root body .navtoggle { display: inline-flex; }
  :root body .readout { display: flex; }
}
@media (max-width: 1000px) {
  :root body .sost-grid,
:root body .studio-grid,
:root body .encargo-grid,
:root body .ficha-grid,
:root body .split { grid-template-columns: 1fr; }
  :root body .pf-track .pcard { flex-basis: calc((100% - var(--pf-gap)) / 2); }
  :root body .ficha-media img { max-height: 320px; }
}
@media (max-width: 860px) {
  :root body .spine { display: none; }
  :root body .pad-spine { padding-left: var(--gutter); }
  :root body .brand-sub { display: none; }
  :root body .readout { display: none; }
  :root body .sost-grid,
:root body .studio-grid,
:root body .encargo-grid,
:root body .row2,
:root body .cardgrid,
:root body .split,
:root body .ficha-grid { grid-template-columns: 1fr; }
  :root body .raiz-radial { grid-template-columns: 1fr; grid-template-rows: auto; gap: 26px; }
  :root body .raiz-core,
:root body .cota,
:root body .cota--top,
:root body .cota--right,
:root body .cota--bottom,
:root body .cota--left,
:root body .raiz-dim { grid-area: auto; }
  :root body .raiz-core { width: 100%; }
  :root body .cota,
:root body .cota--top,
:root body .cota--right,
:root body .cota--bottom,
:root body .cota--left { text-align: left; justify-self: center; max-width: 520px; }
  :root body .cota:not(#avi-x),
:root body .cota--top:not(#avi-x),
:root body .cota--right:not(#avi-x),
:root body .cota--bottom:not(#avi-x),
:root body .cota--left:not(#avi-x) { max-width: 520px;
  }
  :root body .cota--left .cl { flex-direction: row; }
  :root body .team3 { grid-template-columns: repeat(3, 1fr); gap: 12px; }
  :root body .member .nm { font-size: 14px; }
  :root body .member .rl { font-size: 9px; }
  :root body .tblock { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 620px) {
  :root body .row2 { grid-template-columns: 1fr; }
  :root body .team3 { grid-template-columns: 1fr; }
  :root body .anal :is(li,div):where(li:not(.elementor-heading-title),.t-li) { grid-template-columns: 40px 1fr; }
  :root body .pf-track .pcard { flex-basis: 84%; }
  :root body .tblock { grid-template-columns: 1fr; }
  :root body .lang { display: none; }
  :root body .drawer-foot .lang { display: inline-flex; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  :root.js body .reveal { opacity: 1; transform: none; transition: none; }
  :root body .tx .w>.wi { transform: none !important; opacity: 1 !important; transition: none !important; }
  :root body .dr path,
:root body .dr circle { stroke-dashoffset: 0 !important; transition: none !important; }
  :root body .sec-hatch { opacity: 1 !important; transition: none !important; }
  :root body #solarArc { stroke-dashoffset: 0 !important; transition: none !important; }
  :root body #sostenibilidad.drawn .dr-air,
:root body .zmap .m-link,
:root body .zmap .m-node-a,
:root body .solar-ray { animation: none !important; }
  :root body .zmap .m-node { animation: none !important; }
  :root body .zmap .m-lbl,
:root body .zmap .m-lbl-sm { opacity: 1 !important; transform: none !important; transition: none !important; }
  :root body .zmap .m-tip { transition: none !important; }
  :root body .pcard .pimg img,
:root body .acard .aimg img { transition: none; }
  * { scroll-behavior: auto !important; }
}

/* ═══════════════════════════════════════════════════════════════════════
 * Inner-page depth · components
 * Editorial, schematic vocabulary: big index numbers, hairline rules,
 * bento fields, ledgers. Deliberately not stacks of basic cards.
 * ═════════════════════════════════════════════════════════════════════ */

/* ─── process stream (método · cómo empezar) ───────────────────────────── */
:root body .stream { list-style: none; margin: clamp(34px, 5vw, 58px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); border-top: 1px solid var(--border); }
:root body .stream:not(#avi-x) {
  margin-block-end: 0;
}
:root body .stp { position: relative; padding: 26px 24px 6px 0; }
:root body .stp:not(:first-child) { padding-left: 24px; border-left: 1px solid var(--border); }
:root body .stp::before { content: ""; position: absolute; top: -5px; left: 0; width: 9px; height: 9px; border-radius: 50%; background: var(--accent); }
:root body .stp:not(:first-child)::before { left: 24px; }
:root body .stp-n { display: block; font-family: var(--font-display); font-weight: 800; font-size: clamp(30px, 3vw, 44px); letter-spacing: -0.04em; line-height: 1; color: var(--border); }
:root body .stp-t { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; letter-spacing: -0.02em; font-size: clamp(16px, 1.5vw, 20px); line-height: 1.04; margin-top: 16px; }
:root body .stp-d { font-size: 13.5px; line-height: 1.45; color: var(--muted); margin: 9px 0 0; max-width: 25ch; }
:root body .stp-d:not(#avi-x) {
  margin-block-end: 0; max-width: 25ch;
}
:root body .stream.cols-3 { grid-template-columns: repeat(3, 1fr); }
:root body .stream.cols-4 { grid-template-columns: repeat(4, 1fr); }

/* ─── ledger (servicios · materiales) ──────────────────────────────────── */
:root body .ledger { list-style: none; margin: clamp(28px, 4vw, 46px) 0 0; padding: 0; border-top: 1px solid var(--border); }
:root body .ledger:not(#avi-x) {
  margin-block-end: 0;
}
:root body .lrow { display: grid; grid-template-columns: 56px minmax(180px, 1fr) 1.5fr 26px; gap: clamp(14px, 3vw, 44px); align-items: baseline; padding: clamp(18px, 2.2vw, 26px) 6px; border-bottom: 1px solid var(--border); transition: background var(--motion-base) var(--ease-standard), padding-left var(--motion-base) var(--ease-standard); }
:root body .lrow:hover { background: color-mix(in oklab, var(--accent), transparent 95%); padding-left: 16px; }
:root body .lr-i { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.14em; color: var(--accent); }
:root body .lr-t { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; letter-spacing: -0.02em; font-size: clamp(20px, 2.5vw, 30px); line-height: 1; }
:root body .lr-d { font-size: 14.5px; line-height: 1.45; color: var(--muted); max-width: 54ch; }
:root body .lr-d:not(#avi-x) { max-width: 54ch;
}
:root body .lr-g { justify-self: end; color: var(--muted); transition: transform var(--motion-base) var(--ease-standard), color var(--motion-base) var(--ease-standard); }
:root body .lrow:hover .lr-g { color: var(--accent); transform: translateX(4px); }
:root body .ink .ledger,
:root body .ledger.ink { border-color: color-mix(in oklab, var(--bg), transparent 82%); }
:root body .ink .lrow,
:root body .ledger.ink .lrow { border-color: color-mix(in oklab, var(--bg), transparent 86%); }
:root body .ink .lrow:hover,
:root body .ledger.ink .lrow:hover { background: color-mix(in oklab, var(--bg), transparent 92%); }
:root body .ink .lr-t,
:root body .ledger.ink .lr-t { color: var(--bg); }
:root body .ink .lr-d,
:root body .ledger.ink .lr-d { color: color-mix(in oklab, var(--bg), transparent 40%); }
:root body .ink .lr-g,
:root body .ledger.ink .lr-g { color: color-mix(in oklab, var(--bg), transparent 40%); }

/* ─── bento strategies / tipologías ────────────────────────────────────── */
:root body .strat { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); margin-top: clamp(34px, 5vw, 56px); }
:root body .str { background: var(--bg); padding: clamp(22px, 2.6vw, 36px); grid-column: span 2; position: relative; display: flex; flex-direction: column; }
:root body .str.big { grid-column: span 4; }
:root body .str.full { grid-column: 1 / -1; }
:root body .str-i { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.16em; color: var(--accent); }
:root body .str-t { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; letter-spacing: -0.02em; font-size: clamp(19px, 2vw, 26px); line-height: 1.02; margin-top: clamp(22px, 3vw, 42px); }
:root body .str.big .str-t { font-size: clamp(23px, 2.9vw, 36px); }
:root body .str-d { font-size: 14px; line-height: 1.45; color: var(--muted); margin: 10px 0 0; max-width: 46ch; }
:root body .str-d:not(#avi-x) {
  margin-block-end: 0; max-width: 46ch;
}
:root body .str.big .str-d { font-size: 15.5px; max-width: 58ch; }
:root body .str.big .str-d:not(#avi-x) { max-width: 58ch;
}
:root body .str-cta,
:root body .w-str-cta > .elementor-button { margin-top: auto; padding-top: 22px; align-self: flex-start; }
:root body .strat--sm { margin-top: clamp(24px, 3vw, 36px); }
:root body .strat--sm .str { padding: clamp(16px, 1.8vw, 24px); }
:root body .strat--sm .str-t { font-size: clamp(15px, 1.5vw, 18px); margin-top: 14px; }
:root body .strat--sm .str-d { font-size: 12.5px; margin-top: 8px; }
:root body .strat--sm .str-cta,
:root body .strat--sm .w-str-cta > .elementor-button { padding-top: 14px; }
:root body .ink .str .btn-outline,
:root body .ink .str .w-btn-outline > .elementor-button { color: var(--bg); }
:root body .str .ticks { display: flex; gap: 3px; margin-top: auto; padding-top: 22px; }
:root body .str .ticks :is(i,div):where(i:not(.elementor-heading-title),.t-i) { flex: 1; height: 6px; background: var(--border); }
:root body .str .ticks :is(i,div):where(i:not(.elementor-heading-title),.t-i).on { background: var(--accent); }
:root body .ink .strat { background: color-mix(in oklab, var(--bg), transparent 82%); border-color: color-mix(in oklab, var(--bg), transparent 82%); }
:root body .ink .str { background: var(--ink); }
:root body .ink .str-t { color: var(--bg); }
:root body .ink .str-d { color: color-mix(in oklab, var(--bg), transparent 40%); }
:root body .ink .str-i { color: color-mix(in oklab, var(--bg), transparent 30%); }
:root body .ink .str .ticks :is(i,div):where(i:not(.elementor-heading-title),.t-i) { background: color-mix(in oklab, var(--bg), transparent 82%); }
:root body .ink .str .ticks :is(i,div):where(i:not(.elementor-heading-title),.t-i).on { background: var(--bg); }

/* ─── statement (principios) ───────────────────────────────────────────── */
:root body .statement-grid { display: grid; grid-template-columns: 1.35fr 0.9fr; gap: clamp(28px, 5vw, 80px); align-items: end; }
:root body .stmt { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; letter-spacing: -0.03em; line-height: 0.98; font-size: clamp(28px, 4.6vw, 64px); max-width: 20ch; margin: clamp(24px, 3vw, 40px) 0 0; }
:root body .stmt:not(#avi-x) { max-width: 20ch; margin-block-end: 0;
}
:root body .stmt :is(em,div):where(em:not(.elementor-heading-title),.t-em) { font-style: normal; color: color-mix(in oklab, var(--bg), transparent 55%); }
:root body .principles { list-style: none; margin: 0; padding: 0; border-top: 1px solid color-mix(in oklab, var(--bg), transparent 82%); }
:root body .principles:not(#avi-x) {
  margin-block-end: 0;
}
:root body .principles :is(li,div):where(li:not(.elementor-heading-title),.t-li) { display: grid; grid-template-columns: auto 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid color-mix(in oklab, var(--bg), transparent 86%); font-size: 15px; color: color-mix(in oklab, var(--bg), transparent 20%); }
:root body .principles :is(li,div):where(li:not(.elementor-heading-title),.t-li) :is(b,div):where(b:not(.elementor-heading-title),.t-b) { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.14em; color: color-mix(in oklab, var(--bg), transparent 48%); font-weight: 600; }
:root body .ledger.ink .lr-i { color: color-mix(in oklab, var(--bg), transparent 30%); }

/* ─── index strip (indicadores) ────────────────────────────────────────── */
:root body .index-strip { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); margin-top: clamp(30px, 4vw, 48px); }
:root body .ix { padding: clamp(20px, 2.4vw, 30px) 18px; border-left: 1px solid var(--border); }
:root body .ix:first-child { border-left: 0; }
:root body .ix-v { display: block; font-family: var(--font-display); font-weight: 800; letter-spacing: -0.03em; line-height: 0.95; font-size: clamp(22px, 2.8vw, 36px); text-transform: uppercase; }
:root body .ix-l { display: block; margin-top: 10px; font-size: 13px; color: var(--muted); max-width: 24ch; }
:root body .ix-l:not(#avi-x) { max-width: 24ch;
}
:root body .ink .index-strip { border-color: color-mix(in oklab, var(--bg), transparent 80%); }
:root body .ink .ix { border-color: color-mix(in oklab, var(--bg), transparent 80%); }
:root body .ink .ix-v { color: var(--bg); }
:root body .ink .ix-l { color: color-mix(in oklab, var(--bg), transparent 42%); }

/* ─── feature (proyecto destacado) ─────────────────────────────────────── */
:root body .feature { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(28px, 5vw, 72px); align-items: center; margin-top: clamp(40px, 6vw, 72px); }
:root body .feature-media { position: relative; overflow: hidden; border: 1px solid var(--border); background: var(--ink); }
:root body .feature-media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; filter: grayscale(0.15); transition: filter 600ms var(--ease-standard), transform 900ms var(--ease-standard); }
:root body .feature:hover .feature-media img { filter: grayscale(0); transform: scale(1.02); }
:root body .feature-no { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent); }
:root body .feature-t { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; letter-spacing: -0.03em; line-height: 0.94; font-size: clamp(34px, 5.4vw, 72px); margin-top: 16px; }
:root body .feature-d { font-size: clamp(16px, 1.7vw, 20px); color: var(--muted); margin-top: 20px; max-width: 48ch; }
:root body .feature-d:not(#avi-x) { max-width: 48ch;
}
:root body .feature-spec { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 1px; background: var(--border); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
:root body .feature-spec:not(#avi-x) {
  margin-block-end: 0;
}
:root body .feature-spec :is(li,div):where(li:not(.elementor-heading-title),.t-li) { display: grid; grid-template-columns: minmax(120px, 0.5fr) 1fr; gap: 16px; padding: 12px 2px; background: var(--bg); font-size: 14.5px; }
:root body .feature-spec .fs-k { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }

/* ─── faq ──────────────────────────────────────────────────────────────── */
:root body .faq { margin-top: clamp(28px, 4vw, 46px); border-top: 1px solid var(--border); }
:root body .qa { border-bottom: 1px solid var(--border); }
:root body .qa summary { list-style: none; cursor: pointer; display: flex; align-items: baseline; justify-content: space-between; gap: 20px; padding: 22px 4px; font-family: var(--font-display); font-weight: 700; letter-spacing: -0.015em; font-size: clamp(17px, 1.8vw, 22px); }
:root body .qa summary::-webkit-details-marker { display: none; }
:root body .qa summary::after { content: "+"; font-family: var(--font-mono); color: var(--accent); font-size: 22px; line-height: 1; transition: transform var(--motion-base) var(--ease-standard); }
:root body .qa[open] summary::after { transform: rotate(45deg); }
:root body .qa-a { padding: 0 4px 24px; max-width: 72ch; color: var(--muted); font-size: 15.5px; }
:root body .qa-a:not(#avi-x) { max-width: 72ch;
}
:root body .qa-a :is(p,div):where(p:not(.elementor-heading-title),.t-p) { margin: 0; }
:root body .qa-a :is(p,div):where(p:not(.elementor-heading-title),.t-p):not(#avi-x) {
  margin-block-end: 0;
}

/* ─── facts strip (landings locales) ───────────────────────────────────── */
:root body .facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); margin-top: clamp(28px, 4vw, 44px); }
:root body .fact { background: var(--bg); padding: 24px 22px; margin: 0; }
:root body .fact:not(#avi-x) {
  margin-block-end: 0;
}
:root body .fact :is(dt,div):where(dt:not(.elementor-heading-title),.t-dt) { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
:root body .fact :is(dd,div):where(dd:not(.elementor-heading-title),.t-dd) { margin: 12px 0 0; font-family: var(--font-display); font-weight: 750; font-size: clamp(17px, 1.8vw, 22px); letter-spacing: -0.015em; line-height: 1.12; }
:root body .fact :is(dd,div):where(dd:not(.elementor-heading-title),.t-dd):not(#avi-x) {
  margin-block-end: 0;
}

/* ─── responsive for the new components ────────────────────────────────── */
@media (max-width: 1000px) {
  :root body .stream { grid-template-columns: repeat(2, 1fr); }
  :root body .stream.cols-3,
:root body .stream.cols-4 { grid-template-columns: repeat(2, 1fr); }
  :root body .stp:not(:first-child) { padding-left: 0; border-left: 0; }
  :root body .stp:nth-child(even) { padding-left: 24px; border-left: 1px solid var(--border); }
  :root body .stp:nth-child(even)::before { left: 24px; }
  :root body .stp:nth-child(n+3) { border-top: 1px solid var(--border); padding-top: 26px; }
  :root body .stp:nth-child(n+3)::before { top: 20px; }
  :root body .statement-grid,
:root body .feature { grid-template-columns: 1fr; }
  :root body .strat { grid-template-columns: repeat(2, 1fr); }
  :root body .str { grid-column: span 1; }
  :root body .str.big,
:root body .str.full { grid-column: span 2; }
}
@media (max-width: 860px) {
  :root body .lrow { grid-template-columns: 40px 1fr; gap: 10px 16px; padding-left: 2px; }
  :root body .lrow:hover { padding-left: 8px; }
  :root body .lr-d { grid-column: 2; }
  :root body .lr-g { display: none; }
  :root body .index-strip { grid-template-columns: repeat(2, 1fr); }
  :root body .ix:nth-child(3) { border-left: 0; }
  :root body .ix:nth-child(n+3) { border-top: 1px solid var(--border); }
  :root body .facts { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  :root body .stream,
:root body .stream.cols-3,
:root body .stream.cols-4 { grid-template-columns: 1fr; }
  :root body .stp { padding: 22px 0 6px 20px !important; border-left: 1px solid var(--border) !important; border-top: 0 !important; }
  :root body .stp::before,
:root body .stp:nth-child(even)::before { left: -5px; top: 26px; }
  :root body .stp:first-child { border-top: 0 !important; }
  :root body .strat { grid-template-columns: 1fr; }
  :root body .str,
:root body .str.big,
:root body .str.full { grid-column: 1 / -1; }
  :root body .index-strip { grid-template-columns: 1fr; }
  :root body .ix,
:root body .ix:nth-child(3) { border-left: 0; }
  :root body .ix:not(:first-child) { border-top: 1px solid var(--border); }
}
@media (prefers-reduced-motion: reduce) {
  :root body .feature-media img { transition: none; }
}

/* ═══════════════════════════════════════════════════════════════════════
 * Projects grid · gallery · media popup · project pages
 * ═════════════════════════════════════════════════════════════════════ */

/* projects as a grid (replaces the slider) */
:root body .pf-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2vw, 26px); margin-top: clamp(36px, 5vw, 56px); }
:root body .pf-grid .pcard { width: 100%; }
:root body .pf-grid .pcard--w2 { grid-column: span 2; }
:root body .pf-grid .pcard--w2 .pimg { aspect-ratio: 8 / 5; }
:root body .pf-grid .pcard--full { grid-column: 1 / -1; }
:root body .pf-grid .pcard--full .pimg { aspect-ratio: 16 / 9; }
@media (max-width: 1000px) { :root body .pf-grid { grid-template-columns: repeat(2, 1fr); } :root body .pf-grid .pcard--w2,
:root body .pf-grid .pcard--full { grid-column: span 1; } :root body .pf-grid .pcard--w2 .pimg,
:root body .pf-grid .pcard--full .pimg { aspect-ratio: 4 / 5; } }
@media (max-width: 620px) { :root body .pf-grid { grid-template-columns: 1fr; } }

/* "Ver ficha" affordance inside related cards */
:root body .card-cta { margin-top: 12px; display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); transition: gap var(--motion-base) var(--ease-standard); }
:root body .acard:hover .card-cta { gap: 11px; }

/* drawn plan plate */
:root body .gplano { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; text-align: center; padding: 16px;
  background:
    repeating-linear-gradient(0deg, transparent 0 30px, color-mix(in oklab, var(--bg), transparent 90%) 30px 31px),
    repeating-linear-gradient(90deg, transparent 0 30px, color-mix(in oklab, var(--bg), transparent 90%) 30px 31px),
    var(--ink); color: var(--bg); }
:root body .gplano::after { content: ""; position: absolute; inset: 14px; border: 1px dashed color-mix(in oklab, var(--bg), transparent 74%); pointer-events: none; }
:root body .gplano .gp-l { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; color: color-mix(in oklab, var(--bg), transparent 42%); }
:root body .gplano .gp-t { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; letter-spacing: -0.02em; font-size: clamp(18px, 2vw, 26px); line-height: 1; }

/* gallery on project pages */
:root body .gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: clamp(28px, 4vw, 44px); }
:root body .gitem { position: relative; overflow: hidden; border: 1px solid var(--border); background: var(--ink); aspect-ratio: 4 / 3; }
:root body .gitem { grid-column: span 1; }
:root body .gitem.wide { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; min-height: 260px; }
:root body .gitem img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(0.12); transition: transform 800ms var(--ease-standard), filter 500ms var(--ease-standard); }
:root body .gitem:hover img { transform: scale(1.03); filter: grayscale(0); }
:root body a.gitem { display: block; text-decoration: none; color: inherit; }
:root body a.gitem:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
:root body .gcap { position: absolute; left: 0; right: 0; bottom: 0; padding: 14px 16px 12px; display: flex; flex-direction: column; gap: 4px; background: linear-gradient(0deg, color-mix(in oklab, var(--ink), transparent 6%) 0%, color-mix(in oklab, var(--ink), transparent 70%) 78%, transparent 100%); color: var(--bg); }
:root body .gcap :is(b,div):where(b:not(.elementor-heading-title),.t-b) { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; letter-spacing: -0.01em; font-size: 17px; line-height: 1; }
:root body .gcap :is(i,div):where(i:not(.elementor-heading-title),.t-i) { font-style: normal; font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; opacity: 0.72; }
@media (max-width: 860px) {
  :root body .gallery { grid-template-columns: repeat(2, 1fr); }
  :root body .gitem.wide { grid-column: span 2; grid-row: auto; aspect-ratio: 4 / 3; min-height: 0; }
}

/* media popup: main view + thumbnails */
:root body .ficha-media { display: flex; flex-direction: column; background: var(--surface); }
:root body .ficha-main { position: relative; flex: 1; min-height: 240px; overflow: hidden; background: var(--ink); }
:root body .ficha-main img { width: 100%; height: 100%; object-fit: cover; }
:root body .ficha-thumbs { display: flex; gap: 8px; padding: 12px; background: var(--bg); border-top: 1px solid var(--border); overflow-x: auto; scrollbar-width: none; }
:root body .ficha-thumbs::-webkit-scrollbar { display: none; }
:root body .ficha-thumb { position: relative; flex: none; width: 68px; height: 50px; padding: 0; border: 1px solid var(--border); background: var(--ink); overflow: hidden; cursor: pointer; transition: border-color var(--motion-base) var(--ease-standard); }
:root body .ficha-thumb img { width: 100%; height: 100%; object-fit: cover; }
:root body .ficha-thumb .gplano { padding: 4px; gap: 0; }
:root body .ficha-thumb .gplano::after { inset: 5px; }
:root body .ficha-thumb .gplano .gp-l { font-size: 7.5px; letter-spacing: 0.08em; }
:root body .ficha-thumb .gplano .gp-t { display: none; }
:root body .ficha-thumb:hover { border-color: var(--fg); }
:root body .ficha-thumb.on { border-color: var(--accent); box-shadow: 0 0 0 2px color-mix(in oklab, var(--accent), transparent 60%); }
@media (max-width: 1000px) {
  :root body .ficha-main { min-height: 220px; }
  :root body .ficha-main img { max-height: 320px; }
}

/* single-image variant (home-style ficha, used on zone landings) */
:root body .ficha-media--single { position: relative; display: block; }
:root body .ficha-media--single img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 1000px) { :root body .ficha-media--single img { max-height: 320px; } }

/* project page */
:root body .proj-body { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(28px, 5vw, 72px); align-items: start; margin-top: clamp(30px, 4vw, 48px); }
:root body .proj-body .body :is(p,div):where(p:not(.elementor-heading-title),.t-p) { font-size: 17px; }
:root body .proj-body .body :is(strong,div):where(strong:not(.elementor-heading-title),.t-strong) { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); display: block; margin-bottom: 4px; font-weight: 600; }
:root body .proj-body .body :is(strong,div):where(strong:not(.elementor-heading-title),.t-strong):not(#avi-x) {
  margin-block-end: 4px;
}
:root body .proj-body .body :is(p,div):where(p:not(.elementor-heading-title),.t-p) { margin-bottom: 22px; }
:root body .proj-body .body :is(p,div):where(p:not(.elementor-heading-title),.t-p):not(#avi-x) {
  margin-block-end: 22px;
}
@media (max-width: 1000px) { :root body .proj-body { grid-template-columns: 1fr; } }

/* ═══ project story — ficha individual (text guides the gallery) ══════════ */
:root body .proj-story { background: var(--bg); }
:root body .proj-story>.wrap { padding-block: clamp(56px, 8vw, 120px); }
:root body .chap { margin-top: clamp(64px, 10vw, 140px); }
:root body .chap:first-child { margin-top: 0; }
:root body .chap-head { max-width: 76ch; margin-bottom: clamp(28px, 4.5vw, 52px); }
:root body .chap-head:not(#avi-x) { max-width: 76ch; margin-block-end: clamp(28px, 4.5vw, 52px);
}
:root body .chap-head .plate { margin-bottom: 24px; }
:root body .chap-head .plate:not(#avi-x) {
  margin-block-end: 24px;
}
:root body .chap-head .h2 { font-size: clamp(30px, 4.6vw, 64px); line-height: 0.98; }
:root body .chap-head .lead { margin-top: 20px; font-size: clamp(17px, 1.8vw, 21px); max-width: 60ch; }
:root body .chap-head .lead:not(#avi-x) { max-width: 60ch;
}
:root body .figs { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(14px, 2vw, 24px); }
:root body .fig { position: relative; grid-column: span 6; margin: 0; }
:root body .fig:not(#avi-x) {
  margin-block-end: 0;
}
:root body .fig--full { grid-column: span 12; }
:root body .fig--tall { grid-column: span 4; }
:root body .fig-media { position: relative; overflow: hidden; background: var(--ink); border: 1px solid var(--border); }
:root body .fig-media img,
:root body .fig-media video { display: block; width: 100%; height: 100%; object-fit: cover; filter: grayscale(0.14); transition: transform 900ms var(--ease-standard), filter 600ms var(--ease-standard); }
:root body .fig:hover .fig-media img,
:root body .fig:hover .fig-media video { transform: scale(1.035); filter: grayscale(0); }
:root body .fig .fig-media { aspect-ratio: 4 / 3; }
:root body .fig--full .fig-media { aspect-ratio: 16 / 9; }
:root body .fig--tall .fig-media { aspect-ratio: 3 / 4; }
:root body .fig-cap { display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin-top: 10px; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.06em; color: var(--muted); }
:root body .fig-cap :is(b,div):where(b:not(.elementor-heading-title),.t-b) { font-weight: 600; color: var(--fg); }
:root body .fig-cap :is(i,div):where(i:not(.elementor-heading-title),.t-i) { font-style: normal; }
/* text laid over the image */
:root body .fig--overlay .fig-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, color-mix(in oklab, var(--ink), transparent 4%) 0%, transparent 58%); }
:root body .fig--overlay .fig-cap { position: absolute; left: 0; right: 0; bottom: 0; margin: 0; padding: clamp(20px, 3vw, 36px); color: var(--bg); flex-direction: column; gap: 6px; }
:root body .fig--overlay .fig-cap:not(#avi-x) {
  margin-block-end: 0;
}
:root body .fig--overlay .fig-cap :is(b,div):where(b:not(.elementor-heading-title),.t-b) { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; letter-spacing: -0.015em; font-size: clamp(19px, 2.6vw, 32px); line-height: 1; color: var(--bg); }
:root body .fig--overlay .fig-cap :is(i,div):where(i:not(.elementor-heading-title),.t-i) { color: color-mix(in oklab, var(--bg), transparent 24%); }
/* video affordance */
:root body .fig--video .fig-play { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; pointer-events: none; z-index: 2; }
:root body .fig--video .fig-play::before { content: ""; width: clamp(56px, 6vw, 76px); height: clamp(56px, 6vw, 76px); border-radius: 50%; background: color-mix(in oklab, var(--ink), transparent 26%); border: 1px solid color-mix(in oklab, var(--bg), transparent 62%); }
:root body .fig--video .fig-play::after { content: ""; position: absolute; left: 50%; top: 50%; width: 0; height: 0; border-left: 15px solid var(--bg); border-top: 9px solid transparent; border-bottom: 9px solid transparent; margin: -9px 0 0 -5px; }
@media (max-width: 860px) {
  :root body .figs { grid-template-columns: 1fr; }
  :root body .fig,
:root body .fig--full,
:root body .fig--tall { grid-column: span 1; }
  :root body .fig--tall .fig-media,
:root body .fig--full .fig-media { aspect-ratio: 4 / 3; }
}


/* ═══ Home («Sección») · rules that only exist on the home ═══ */

:root body .topbar .btn-primary,
:root body .topbar .w-btn-primary > .elementor-button,
:root body .hero .btn-primary,
:root body .hero .w-btn-primary > .elementor-button,
:root body .cta .btn-primary,
:root body .cta .w-btn-primary > .elementor-button,
:root body .drawer .btn-primary,
:root body .drawer .w-btn-primary > .elementor-button { background: var(--bg); color: var(--ink); }
:root body .topbar .btn-primary:hover,
:root body .topbar .w-btn-primary > .elementor-button:hover,
:root body .hero .btn-primary:hover,
:root body .hero .w-btn-primary > .elementor-button:hover,
:root body .cta .btn-primary:hover,
:root body .cta .w-btn-primary > .elementor-button:hover,
:root body .drawer .btn-primary:hover,
:root body .drawer .w-btn-primary > .elementor-button:hover { background: color-mix(in oklab, var(--bg), var(--ink) 12%); }
:root body .topbar .btn-primary:active,
:root body .topbar .w-btn-primary > .elementor-button:active,
:root body .hero .btn-primary:active,
:root body .hero .w-btn-primary > .elementor-button:active,
:root body .cta .btn-primary:active,
:root body .cta .w-btn-primary > .elementor-button:active,
:root body .drawer .btn-primary:active,
:root body .drawer .w-btn-primary > .elementor-button:active { background: color-mix(in oklab, var(--bg), var(--ink) 22%); }
:root body .hero { position: relative; min-height: 100vh; display: flex; align-items: flex-end; background: var(--ink); color: var(--bg); overflow: hidden; }
:root body .hero-bg,
:root body .w-hero-bg > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 56%; }
:root.js body .hero-bg,
:root.js body .w-hero-bg > img { animation: heroSettle 1600ms var(--ease-standard) both; }
@keyframes heroSettle { from { transform: scale(1.07); } to { transform: scale(1); } }
:root body .hero-scrim { position: absolute; inset: 0; background: linear-gradient(180deg, color-mix(in oklab, var(--ink), transparent 74%) 0%, color-mix(in oklab, var(--ink), transparent 40%) 46%, color-mix(in oklab, var(--ink), transparent 4%) 100%); }
:root body .hero-inner { position: relative; z-index: 3; width: 100%; padding-block: clamp(96px, 14vh, 150px) clamp(40px, 6vw, 68px); }
:root body .hero-kicker { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: color-mix(in oklab, var(--bg), transparent 34%); }
:root body .hero-kicker .blip { width: 8px; height: 8px; border-radius: 50%; background: var(--accent-soft); }
:root body .hero-title { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; letter-spacing: -0.04em; line-height: 0.86; font-size: clamp(34px, 9vw, 140px); margin: clamp(16px, 3vw, 30px) 0 0; color: var(--bg); }
:root body .hero-title:not(#avi-x) {
  margin-block-end: 0;
}
:root body .hero-title :is(em,div):where(em:not(.elementor-heading-title),.t-em) { font-style: normal; color: color-mix(in oklab, var(--bg), transparent 58%); }
:root body .hero-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: clamp(24px, 5vw, 72px); align-items: end; margin-top: clamp(28px, 4vw, 48px); padding-left: var(--spine-gap); }
:root body .hero-sub { max-width: 44ch; margin: 0; font-size: clamp(16px, 1.7vw, 20px); line-height: 1.45; color: color-mix(in oklab, var(--bg), transparent 22%); }
:root body .hero-sub:not(#avi-x) { max-width: 44ch; margin-block-end: 0;
}
:root body .hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
:root body .hero-datum { display: flex; align-items: flex-end; gap: 26px; margin-top: clamp(36px, 5vw, 60px); padding-left: calc(var(--gutter) + var(--spine-gap)); font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: color-mix(in oklab, var(--bg), transparent 46%); }
:root body .hero-datum .ag { flex: 1; display: flex; align-items: center; gap: 0; max-width: 520px; }
:root body .hero-datum .ag:not(#avi-x) { max-width: 520px;
}
:root body .hero-datum .ag :is(i,div):where(i:not(.elementor-heading-title),.t-i) { flex: 1; height: 6px; border-right: 1px solid currentColor; }
:root body .hero-datum .ag :is(i,div):where(i:not(.elementor-heading-title),.t-i):last-child { border-right: 0; }
:root body .hero-feature { position: absolute; right: clamp(18px, 4vw, 56px); bottom: clamp(64px, 9vh, 110px); z-index: 3; width: clamp(210px, 25vw, 326px); aspect-ratio: 16 / 9; display: block; overflow: hidden; text-decoration: none; color: var(--bg); background: var(--ink); border: 1px solid color-mix(in oklab, var(--bg), transparent 68%); box-shadow: 0 22px 60px color-mix(in oklab, var(--ink), transparent 55%); transition: transform var(--motion-base) var(--ease-standard), box-shadow var(--motion-base) var(--ease-standard); }
:root body .hero-feature:hover,
:root body .hero-feature:focus-visible { transform: translateY(-6px); box-shadow: 0 30px 74px color-mix(in oklab, var(--ink), transparent 45%); }
:root body .hero-feature:focus-visible { outline: 2px solid var(--bg); outline-offset: 3px; }
:root body .hero-feature .hf-media { position: absolute; inset: 0; }
:root body .hero-feature .hf-media img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(0.15); transition: transform 900ms var(--ease-standard), filter 500ms var(--ease-standard); }
:root body .hero-feature:hover .hf-media img,
:root body .hero-feature:focus-visible .hf-media img { transform: scale(1.05); filter: grayscale(0); }
:root body .hero-feature .hf-body { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; gap: 5px; padding: clamp(12px, 1.3vw, 17px); background: linear-gradient(0deg, color-mix(in oklab, var(--ink), transparent 8%) 0%, color-mix(in oklab, var(--ink), transparent 48%) 52%, color-mix(in oklab, var(--ink), transparent 80%) 100%); }
:root body .hero-feature .hf-tag { font-family: var(--font-mono); font-size: 8.5px; letter-spacing: 0.15em; text-transform: uppercase; color: color-mix(in oklab, var(--bg), transparent 22%); }
:root body .hero-feature .hf-title { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; letter-spacing: -0.02em; line-height: 1; font-size: clamp(17px, 1.7vw, 22px); }
:root body .hero-feature .hf-meta { font-family: var(--font-mono); font-size: 10.5px; color: color-mix(in oklab, var(--bg), transparent 26%); }
:root body .hero-feature .hf-cta { align-self: flex-start; margin-top: 3px; display: inline-flex; align-items: center; gap: 7px; min-height: 32px; padding: 0 13px; border: 1px solid color-mix(in oklab, var(--bg), transparent 30%); border-radius: var(--radius-pill); font-family: var(--font-mono); font-size: 10px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--bg); transition: background var(--motion-base) var(--ease-standard), color var(--motion-base) var(--ease-standard), border-color var(--motion-base) var(--ease-standard); }
:root body .hero-feature:hover .hf-cta,
:root body .hero-feature:focus-visible .hf-cta { background: var(--bg); color: var(--fg); border-color: var(--bg); }
:root body .hero-feature .hf-cta::after { content: "→"; transition: transform var(--motion-base) var(--ease-standard); }
:root body .hero-feature:hover .hf-cta::after { transform: translateX(3px); }
:root body .hero-title.tx { --stagger: 60ms; }
:root body .hero .tx.in .w>.wi { transition-delay: calc(240ms + var(--i, 0) * var(--stagger)); }
:root body .cta .tx.in .w>.wi { transition-delay: calc(120ms + var(--i, 0) * var(--stagger)); }
@media (max-width: 860px) {
  :root body .pad-spine,
:root body .hero-row,
:root body .hero-datum { padding-left: var(--gutter); }
  :root body .hero-feature { display: none; }
}
@media (max-width: 620px) {
  :root body .hero-row { grid-template-columns: 1fr; align-items: start; }
}
@media (prefers-reduced-motion: reduce) {
  :root.js body .hero-bg,
:root.js body .w-hero-bg > img { animation: none; }
}

/* ═══════════════════════════════════════════════════════════════════════
 * AVI · native Elementor widgets styled with the design vocabulary
 * (loaded AFTER the design stylesheet)
 * ═════════════════════════════════════════════════════════════════════ */

/* ─── Home («Sección») values that differ from the inner pages ───────── */
:root body .avi-home.band { padding-block: clamp(72px, 11vw, 152px); }
:root body .avi-home .studio-grid { margin-top: clamp(40px, 6vw, 68px); }
:root body .avi-home .team3 { margin-top: clamp(48px, 6vw, 72px); }
:root body .avi-home.cta { min-height: 78vh; }
:root body .avi-home .encargo-grid { margin-top: clamp(40px, 6vw, 68px); }
:root body .topbar:not(.solid) .menu a::after { background: var(--accent-soft); }
:root body .topbar:not(.solid) .readout .ro-no { color: var(--accent-soft); }
/* the home's light-on-dark header button only applies to the transparent bar */
:root body:not(:has(.avi-home)) .topbar .w-btn-primary > .elementor-button { background: var(--accent); color: var(--accent-on); }
:root body:not(:has(.avi-home)) .topbar .w-btn-primary > .elementor-button:hover { background: var(--accent-hover); }
:root body:not(:has(.avi-home)) .topbar .w-btn-primary > .elementor-button:active { background: var(--accent-active); }
/* project cards were <button>s in the prototype: content is vertically centred */
:root body a.pcard.avi-was-button { display: flex; flex-direction: column; justify-content: center; }

/* ─── Formulario (Elementor Pro Form) = .sheet ───────────────────────── */
:root body .avi-form { display: block; }
:root body .avi-form .elementor-form-fields-wrapper { align-items: flex-start; }
:root body .avi-form .elementor-field-group { flex-direction: column; align-items: stretch; gap: 6px; }
:root body .avi-form .elementor-field-group > .elementor-field-label {
  font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted);
  font-weight: 400; line-height: 1.47; padding: 0; margin: 0;
}
:root body .avi-form .elementor-field-group .elementor-field:not(.elementor-select-wrapper):not([type=checkbox]),
:root body .avi-form .elementor-field-group .elementor-select-wrapper select {
  width: 100%; min-height: 0; padding: 10px 2px; border: 0; border-bottom: 1.5px solid var(--fg); border-radius: 0;
  background: transparent; color: var(--fg); font: inherit; font-family: var(--font-body); font-size: 16px; line-height: 1.47;
  box-shadow: none; transition: border-color var(--motion-fast) var(--ease-standard);
}
:root body .avi-form .elementor-field-group .elementor-select-wrapper { width: 100%; padding: 0; border: 0; background: none; }
:root body .avi-form .elementor-field-group .elementor-select-wrapper select { line-height: normal; }
:root body .avi-form .elementor-field-group .elementor-select-wrapper::before { color: var(--fg); font-size: 12px; }
:root body .avi-form .elementor-field-group .elementor-field:hover,
:root body .avi-form .elementor-field-group .elementor-select-wrapper select:hover { border-bottom-color: var(--accent); }
:root body .avi-form .elementor-field-group .elementor-field:focus,
:root body .avi-form .elementor-field-group .elementor-select-wrapper select:focus { outline: 0; box-shadow: none; border-bottom-color: var(--accent); border-bottom-width: 2.5px; }
:root body .avi-form .elementor-field-group textarea.elementor-field:not(.elementor-select-wrapper):not([type=checkbox]) { min-height: 96px; resize: vertical; line-height: 1.5; }
:root body .avi-form .elementor-field::placeholder { color: var(--meta); opacity: 1; }
:root body .avi-form .elementor-field-type-acceptance .elementor-field-subgroup { display: flex; }
:root body .avi-form .elementor-field-type-acceptance .elementor-field-option { display: flex; gap: 11px; align-items: flex-start; font-size: 13.5px; color: var(--muted); }
:root body .avi-form .elementor-field-type-acceptance .elementor-field-option label { display: block; flex: 1; font-size: 13.5px; color: var(--muted); line-height: 1.47; padding: 0; }
:root body .avi-form .elementor-field-type-acceptance input[type=checkbox] { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--accent); flex: none; }
:root body .avi-form .elementor-field-type-acceptance a { color: var(--accent-active); text-decoration: underline; }
:root body .avi-form .elementor-field-group.elementor-field-type-submit { flex-direction: row; justify-content: flex-start; align-items: center; }
:root body .avi-form .elementor-field-type-submit .elementor-button { flex: none; }
:root body .avi-form .elementor-field-type-acceptance input[type=checkbox] { margin-bottom: 3px; }
@media (max-width: 860px) { :root body .avi-form .elementor-field-group.elementor-col-50 { width: 100%; } }
:root body .avi-form .elementor-field-type-submit .elementor-button {
  display: inline-flex; align-items: center; gap: 8px; width: auto; min-height: 46px; padding: 0 22px; border: 1px solid transparent;
  border-radius: var(--radius-pill); background: var(--accent); color: var(--accent-on); font-family: var(--font-body);
  font-size: 15px; font-weight: 500; letter-spacing: -0.01em; text-transform: none; line-height: 1;
  transition: background var(--motion-base) var(--ease-standard), transform var(--motion-fast) var(--ease-standard);
}
:root body .avi-form .elementor-field-type-submit .elementor-button:hover { background: var(--accent-hover); }
:root body .avi-form .elementor-field-type-submit .elementor-button:active { background: var(--accent-active); transform: scale(0.975); }
:root body .avi-form .elementor-field-type-submit .elementor-button::after { content: "→"; transition: transform var(--motion-base) var(--ease-standard); }
:root body .avi-form .elementor-field-type-submit .elementor-button:hover::after { transform: translateX(3px); }
:root body .avi-form .elementor-field-type-submit .elementor-button .elementor-button-content-wrapper { display: contents; }
:root body .avi-form .elementor-message { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; margin-top: 16px; }
:root body .avi-form .elementor-message.elementor-message-success { color: var(--success); }
:root body .avi-form .elementor-message.elementor-message-danger, :root body .avi-form .elementor-error .elementor-field { color: var(--danger); border-bottom-color: var(--danger); }
:root body .avi-form .elementor-message::before { content: none; }

/* ─── FAQ (Elementor Nested Accordion) = .faq / .qa ──────────────────── */
:root body .avi-faq .e-n-accordion { display: block; }
:root body .avi-faq .e-n-accordion-item { border-bottom: 1px solid var(--border); margin: 0; }
:root body .avi-faq .e-n-accordion-item-title {
  list-style: none; cursor: pointer; display: flex; align-items: baseline; justify-content: space-between; gap: 20px;
  padding: 22px 4px; border: 0; border-radius: 0; background: none; color: var(--fg);
  font-family: var(--font-display); font-weight: 700; letter-spacing: -0.015em; font-size: clamp(17px, 1.8vw, 22px); line-height: var(--leading-body);
}
:root body .avi-faq .e-n-accordion-item-title::-webkit-details-marker { display: none; }
:root body .avi-faq .e-n-accordion-item-title-header, :root body .avi-faq .e-n-accordion-item-title-text { display: contents; font: inherit; color: inherit; }
:root body .avi-faq .e-n-accordion-item-title-icon { display: none; }
:root body .avi-faq .e-n-accordion-item-title::after { content: "+"; font-family: var(--font-mono); font-weight: 400; color: var(--accent); font-size: 22px; line-height: 1; transition: transform var(--motion-base) var(--ease-standard); }
:root body .avi-faq .e-n-accordion-item[open] > .e-n-accordion-item-title::after { transform: rotate(45deg); }
:root body .avi-faq .e-n-accordion-item-title:focus-visible { box-shadow: var(--focus-ring); }
:root body .avi-faq .qa-pane { display: block; }

/* ─── Editor: keep everything visible and editable ───────────────────── */
:root body.elementor-editor-active .reveal,
:root body.elementor-editor-active .tx .w > .wi { opacity: 1 !important; transform: none !important; }
:root body.single-elementor_library .topbar { position: relative; background: var(--ink); }
:root body.single-elementor_library .drawer { position: relative; inset: auto; opacity: 1; visibility: visible; transform: none; }
:root body.single-elementor_library .spine { display: none; }
:root body.elementor-editor-active .elementor-widget-text-editor.avi-rt,
:root body.elementor-editor-active .elementor-widget-image.avi-img,
:root body.elementor-editor-active .elementor-widget-button.avi-btn,
:root body.elementor-editor-active .elementor-widget-html.avi-raw { display: contents; }

@media (prefers-reduced-motion: reduce) {
  :root body .avi-form .elementor-field-type-submit .elementor-button,
  :root body .avi-faq .e-n-accordion-item-title::after { transition: none; }
}/* End custom CSS */