/* =========================================================================
   LAMELL theme — WordPress layer on top of site.css (E „Antracitas“):
   header extras, inner page hero, inner page sections, prose, calculator
   shell, WooCommerce blocks. Same tokens as site.css.
   ========================================================================= */

/* ---------- header extras ---------- */
.cart { position: relative; }
.cart[hidden] { display: none; }
.cart__n {
  position: absolute; top: -3px; right: -4px; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 10px;
  background: var(--gold); color: var(--night); font: 700 11px/19px var(--f-t); text-align: center;
  box-shadow: 0 0 0 2px var(--paper);
}
.cart__n:empty { display: none; }
.hbtn.is-current { --s: 11px; color: #fff; }
.mnav__list a[aria-current="page"] { color: var(--gold-d); }
main [id] { scroll-margin-top: calc(var(--hdr) + 8px); }
.more-link {
  display: inline-flex; align-items: center; gap: 10px; margin-top: 18px; min-height: 44px;
  font: 600 15px/1.2 var(--f-t); color: var(--ink); text-decoration: none;
  background: linear-gradient(var(--gold), var(--gold)) 0 calc(100% - 8px) / 100% 1px no-repeat;
}
.more-link svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; transition: transform .4s var(--ease); }
.more-link:hover svg { transform: translateX(4px); }
.works__side .more-link { margin-top: 10px; }

/* works captions: title + place */
.w__cap { flex-wrap: wrap; row-gap: 2px; }
.w__place { flex-basis: 100%; padding-left: calc(2ch + 14px); font: 500 11px/1.4 var(--f-m); letter-spacing: .1em; text-transform: uppercase; color: var(--ink3); }

/* checklist with lamella bullets */
.checks { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 28px; margin-top: 28px; }
.checks li { position: relative; padding-left: 32px; font-weight: 600; font-size: 15.5px; line-height: 1.4; }
.checks li::before {
  content: ''; position: absolute; left: 0; top: .42em; width: 20px; height: 7px; border-radius: 3.5px;
  background: var(--anth-hi); box-shadow: inset 0 1px 0 rgba(230, 211, 170, .55);
}

/* ---------- front hero, 'band' fence: view from the house — lawn in front, fence on the lawn edge,
   street behind (site.js Louvre maps data-ftop/fbot through the photo's object-fit box) ---------- */
.hero[data-fence="band"] .hero__photo {
  object-position: 57% 50%;
  -webkit-mask: linear-gradient(90deg, transparent 0, #000 240px); mask: linear-gradient(90deg, transparent 0, #000 240px);
}
.hero[data-fence="band"] .hero__fade { display: none; }
@media (max-width: 900px) {
  .hero[data-fence="band"] .hero__photo { object-position: 57% 50%; -webkit-mask: linear-gradient(180deg, transparent 0, #000 60px); mask: linear-gradient(180deg, transparent 0, #000 60px); }
}

/* ---------- form extras ---------- */
.form__hp { position: absolute !important; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.form__status { margin: 0 0 18px; padding: 12px 14px; border: 1px solid var(--err); border-radius: 2px; color: var(--err); font-size: 14.5px; line-height: 1.45; }
.form__status a { color: inherit; }
.form__send[disabled] { opacity: .75; cursor: progress; }
.fld--check label a { color: inherit; text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 3px; }
.done a { color: var(--gold-hi); }

/* =========================================================================
   Inner page hero: warm stone, photo with a static RAL 7016 fence over its lower part
   ========================================================================= */
.phero {
  position: relative; isolation: isolate; overflow: hidden;
  background: radial-gradient(120% 90% at 0% 0%, #F3F1EC 0%, var(--paper) 55%, #E5E1D8 100%);
  padding-top: calc(var(--hdr) + clamp(26px, 3.6vw, 52px));
}
.phero::before { content: ''; position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: .5; background-image: var(--grain-d); }
.phero__in {
  position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 11fr) minmax(0, 12fr);
  gap: clamp(28px, 4.4vw, 72px); align-items: center; padding-bottom: clamp(40px, 5vw, 76px);
}
.crumbs {
  display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin: 0 0 26px;
  font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink3);
}
.crumbs a { color: var(--ink2); text-decoration: none; min-height: 28px; display: inline-flex; align-items: center; }
.crumbs a:hover { color: var(--ink); text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 4px; }
.crumbs [aria-current] { color: var(--ink); }
.crumbs__sep { color: var(--gold-lo); }
.phero__eyebrow { margin-bottom: 20px; color: var(--ink2); }
.phero__h { font: 800 clamp(34px, 4.5vw, 70px)/1 var(--f-d); letter-spacing: -.032em; margin: 0 0 24px; max-width: 15ch; text-wrap: balance; }
.phero__lead { font-size: clamp(17px, 1.3vw, 20px); line-height: 1.58; color: var(--ink2); max-width: 46ch; margin: 0 0 32px; }
.phero__cta { display: flex; flex-wrap: wrap; gap: 12px; }
.phero__cta .btn--line { background: var(--paper2); }
.js:not(.capture) .phero__copy > * { opacity: 0; transform: translateY(18px); transition: opacity .9s var(--ease), transform 1.1s var(--ease); }
.js:not(.capture) .phero__copy > :nth-child(2) { transition-delay: .06s; }
.js:not(.capture) .phero__copy > :nth-child(3) { transition-delay: .12s; }
.js:not(.capture) .phero__copy > :nth-child(4) { transition-delay: .2s; }
.js:not(.capture) .phero__copy > :nth-child(5) { transition-delay: .28s; }
.js.is-ready .phero__copy > * { opacity: 1; transform: none; }

.phero__vis {
  position: relative; margin: 0; aspect-ratio: 4 / 3.15; overflow: hidden; background: var(--anth);
  box-shadow: 0 50px 90px -60px rgba(20, 26, 36, .75);
}
.phero__vis img { width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, 50% 50%); }
.phero__vis::before { content: ''; position: absolute; left: 0; top: 0; width: 72px; height: 3px; z-index: 4; background: var(--gold-grad); }
.js.is-ready .phero__vis .blinds i { transform: scaleY(0); }

/* the fence: slats (highlight edge, body, shadow, gap) + top rail + posts with caps */
.phero__fence {
  position: absolute; left: 0; right: 0; bottom: 0; height: 47%; z-index: 2;
  background: repeating-linear-gradient(180deg,
    #69717A 0 1.5px, #4A5157 1.5px 5px, #3D4348 5px 15px, #2D3236 15px 21px, #1A1D21 21px 22.5px, #0E1013 22.5px 25px);
  box-shadow: 0 -22px 34px -22px rgba(0, 0, 0, .5);
}
.phero__fence::after { /* travelling gold glint (C detail) */
  content: ''; position: absolute; inset: 0; pointer-events: none; mix-blend-mode: screen;
  background: linear-gradient(100deg, transparent 0, rgba(230, 211, 170, 0) 38%, rgba(230, 211, 170, .26) 46%, rgba(255, 241, 214, .5) 50%, rgba(230, 211, 170, .26) 54%, rgba(230, 211, 170, 0) 62%, transparent 100%) -140% 0 / 60% 100% no-repeat;
  animation: pheroGlint 11s var(--ease-io) 2.2s infinite;
}
@keyframes pheroGlint { 0% { background-position: -140% 0; } 30%, 100% { background-position: 240% 0; } }
.phero__fence i { position: absolute; display: block; }
.phero__rail {
  left: 0; right: 0; top: -9px; height: 9px;
  background: linear-gradient(#737B82, #4B5258 55%, #1E2226); box-shadow: 0 2px 4px rgba(0, 0, 0, .35);
}
.phero__rail::after { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: rgba(230, 211, 170, .7); }
.phero__post { top: -18px; bottom: 0; width: 12px; background: linear-gradient(90deg, #15181B, #4A5157 45%, #262A2E); box-shadow: 1px 0 0 rgba(0, 0, 0, .3); }
.phero__post::before { content: ''; position: absolute; left: -2px; right: -2px; top: -3px; height: 4px; background: #5A6268; border-radius: 1px; }
.phero__fence i:nth-child(2) { left: 7%; }
.phero__fence i:nth-child(3) { left: calc(50% - 6px); }
.phero__fence i:nth-child(4) { right: 7%; }
.js:not(.capture) .phero__fence { clip-path: inset(100% 0 0 0); transition: clip-path 1.3s var(--ease) .35s; }
.js.is-ready .phero__fence { clip-path: inset(-30px 0 0 0); }

.phero__facts { position: relative; z-index: 2; }

/* compact variant (legal, cart, checkout, ES parama, 404): no photo, lamella rule at the bottom */
.phero--compact .phero__in { grid-template-columns: minmax(0, 1fr); padding-bottom: clamp(34px, 4vw, 56px); }
.phero--compact .phero__h { font-size: clamp(30px, 3.6vw, 54px); max-width: 22ch; margin-bottom: 16px; }
.phero--compact .phero__lead { margin-bottom: 0; max-width: 62ch; }
.phero--compact .phero__cta { margin-top: 28px; }
.phero--compact::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 13px; z-index: 1;
  background: repeating-linear-gradient(180deg, #4A5157 0 1px, #383E42 1px 3px, #23272B 3px 4px, transparent 4px 5px);
}
.phero--404 .phero__in { min-height: 46vh; align-items: center; }
.phero__404 {
  position: absolute; right: 0; bottom: -.14em; z-index: -1; pointer-events: none;
  font: 800 clamp(120px, 24vw, 340px)/.8 var(--f-d); letter-spacing: -.05em; color: rgba(42, 47, 52, .07);
}

/* calculator page hero: compact, facts on the right */
.phero--calc { padding-top: calc(var(--hdr) + 22px); }
.phero--calc .phero__in { grid-template-columns: minmax(0, 1fr) auto; align-items: end; padding-bottom: 26px; gap: 20px 40px; }
.phero--calc .crumbs { margin-bottom: 14px; }
.phero--calc .phero__h { font-size: clamp(26px, 2.8vw, 42px); max-width: none; margin-bottom: 10px; }
.phero--calc .phero__lead { margin: 0; font-size: 16.5px; max-width: 60ch; }
.calc-facts { list-style: none; display: flex; gap: 0; border: 1px solid var(--alu); background: var(--paper2); }
.calc-facts li { display: flex; flex-direction: column; gap: 4px; padding: 12px 18px; font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink3); }
.calc-facts li + li { border-left: 1px solid var(--alu); }
.calc-facts b { font: 600 14.5px/1.25 var(--f-t); letter-spacing: 0; text-transform: none; color: var(--ink); }
.calcsec { position: relative; background: #F4F6F8; border-top: 1px solid var(--alu); }
.calcsec::before { content: ''; position: absolute; left: 0; top: -1px; width: 72px; height: 3px; background: var(--gold-grad); }
/* only the calculator itself uses the full window width (more room for the drawing);
   header and page title keep the normal 1440 px layout (Martynas 2026-11-05) */
.calcsec__in { max-width: none; margin: 0; }
/* calculator chrome tinted to the anthracite / gold brand (inner drawing stays as validated) */
#lamellCalcRoot { --ink: #141A24; --blue: #2A2F34; font-family: var(--f-t); }

/* =========================================================================
   Inner page sections
   ========================================================================= */

/* /tvoros/: knowledge text + support cards */
.know { background: var(--paper2); }
.know__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(40px, 6vw, 104px); align-items: start; }
.know__aside { position: sticky; top: 108px; }
.supp { list-style: none; display: grid; gap: 14px; }
.supp__i { position: relative; padding: 22px 22px 22px 24px; background: var(--white); border: 1px solid var(--alu); border-radius: 3px; }
.supp__i::before { content: ''; position: absolute; left: -1px; top: -1px; bottom: -1px; width: 3px; background: var(--gold-grad); }
.supp__n { font-size: 11.5px; color: var(--gold-d); }
.supp__i h3 { font: 800 18px/1.2 var(--f-d); letter-spacing: -.01em; margin: 8px 0 6px; }
.supp__i p { color: var(--ink2); font-size: 15.5px; line-height: 1.55; }
.supp__cta { width: 100%; margin-top: 18px; }

/* /tvoros/: construction drawings from the client's DXF (assembled / exploded) */
.build { background: var(--paper); }
.build__grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(36px, 5vw, 96px); align-items: center; }
.build__seg { margin-top: 28px; width: fit-content; }
.build__fig {
  position: relative; margin: 0; display: grid; height: min(80vh, 760px); min-height: 420px;
  grid-template: minmax(0, 1fr) / minmax(0, 1fr); /* the drawing must fit the frame, not size it */
  padding: clamp(16px, 2.4vw, 32px) clamp(16px, 2.4vw, 32px) 54px;
  background: var(--paper2); border: 1px solid var(--alu);
  background-image: linear-gradient(rgba(42, 47, 52, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(42, 47, 52, .045) 1px, transparent 1px);
  background-size: 24px 24px;
}
.build__fig::before { content: ''; position: absolute; left: -1px; top: -1px; width: 72px; height: 3px; background: var(--gold-grad); }
.build__img { grid-area: 1 / 1; width: 100%; height: 100%; min-width: 0; min-height: 0; max-height: 100%; object-fit: contain; transition: opacity .6s var(--ease), transform .9s var(--ease); }
.build__img { opacity: 0; transform: scale(.985); pointer-events: none; }
.build__fig[data-view="all"] .build__img--all,
.build__fig[data-view="parts"] .build__img--parts,
.build__fig[data-view="profile"] .build__img--profile { opacity: 1; transform: none; }
/* zoom & pan viewport (site.js resizes .build__stage; images never take pointer events) */
.build__viewport { grid-area: 1 / 1; position: relative; overflow: hidden; min-height: 0; cursor: zoom-in; touch-action: pan-y; }
.build__stage { position: absolute; left: 0; top: 0; width: 100%; height: 100%; }
.build__stage .build__img { position: absolute; inset: 0; pointer-events: none; user-select: none; -webkit-user-drag: none; }
.build__fig.is-zoomed .build__viewport { cursor: grab; }
.build__fig.is-dragging .build__viewport { cursor: grabbing; }
.build__zoom { position: absolute; right: 12px; top: 12px; z-index: 3; display: flex; flex-direction: column; gap: 6px; }
.build__zb {
  width: 38px; height: 38px; display: grid; place-items: center; padding: 0; cursor: pointer;
  border: 1px solid var(--alu); border-radius: 2px; background: var(--paper2); color: var(--ink);
  font: 600 19px/1 var(--f-t); transition: background-color .25s, color .25s, border-color .25s;
}
.build__zb:hover, .build__zb:focus-visible { background: var(--anth); color: #fff; border-color: var(--anth); }
.build__zb svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.build__hint--touch { display: none; }
@media (hover: none) and (pointer: coarse) {
  .build__hint--mouse { display: none; }
  .build__hint--touch { display: inline; }
}
.build__cap {
  position: absolute; left: 0; right: 0; bottom: 0; display: flex; justify-content: space-between; gap: 12px;
  padding: 12px 16px; border-top: 1px solid var(--alu); background: var(--paper2);
  font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink3);
}
.build__cap-v { color: var(--gold-d); }

/* profile card drawn from the client's DXF (Diamond Plius): real section + oblique 3D piece */
.pv-sec { fill: rgba(90, 98, 104, .3); stroke: #D9DEE4; stroke-width: 2.2; stroke-linejoin: round; stroke-linecap: round; }
.pv-sec--3d { fill: none; stroke-width: 1.5; }
.pv-end { fill: #161B22; }
.pv-face { stroke: rgba(233, 237, 242, .32); stroke-width: .6; stroke-linejoin: round; }
.pv-face--hi { fill: #6B737A; }
.pv-face--mid { fill: #4A5157; }
.pv-face--lo { fill: #2D3236; }
.pv-diamond { transition: opacity .9s var(--ease) .15s, transform 1.1s var(--ease) .15s; }
.js:not(.capture) .pf-card:not(.in) .pv-diamond { opacity: 0; transform: translateY(10px); }

/* profile cards link to /tvoros/<profilis>/ — the whole card is the hit area (stretched link) */
/* z-index:auto too — .pf-card is flex, so a flex item with z-index would trap the overlay below the drawing */
.pf-card > .pf-card__name { position: static; z-index: auto; }
.pf-card__link { color: inherit; text-decoration: none; }
.pf-card__link::after { content: ''; position: absolute; inset: 0; z-index: 3; border-radius: inherit; }
.pf-card__link:focus-visible { outline: none; }
.pf-card:has(.pf-card__link:focus-visible) { outline: 2px solid var(--gold-hi); outline-offset: 3px; }
.pf-card:has(.pf-card__link):hover { border-color: rgba(198, 168, 119, .6); }
.pf-card__more { display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; font: 600 14px/1.2 var(--f-t); color: var(--gold-hi); }
.pf-card__more svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; transition: transform .4s var(--ease); }
.pf-card:hover .pf-card__more svg { transform: translateX(4px); }

/* profile page */
.phero--profile .phero__in { grid-template-columns: minmax(0, 11fr) minmax(0, 10fr); }
.prof-panel { position: relative; background: transparent; }
.prof-panel::after { display: none; }
.pf-card--hero { box-shadow: 0 50px 90px -55px rgba(11, 14, 20, .9); }
.pf-card--hero .pf-card__name { font-size: clamp(26px, 2.4vw, 34px); }
.pf-card--hero .pf-card__viz { height: clamp(240px, 26vw, 330px); }
.js:not(.capture) .prof-panel .pf-card { opacity: 1; transform: none; }
.pinfo { background: var(--paper2); }
.pinfo__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(40px, 6vw, 104px); align-items: start; }
.pinfo__specs { position: sticky; top: 108px; padding: 24px 24px 26px; background: var(--white); border: 1px solid var(--alu); border-radius: 3px; }
.pinfo__specs::before { content: ''; position: absolute; left: -1px; top: -1px; width: 72px; height: 3px; background: var(--gold-grad); }
.pinfo__k { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink3); margin-bottom: 10px; }
.specs { margin: 0; border-top: 2px solid var(--ink); }
.specs > div { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--alu); }
.specs dt { font: 500 11px/1.4 var(--f-m); letter-spacing: .08em; text-transform: uppercase; color: var(--ink3); padding-top: 2px; }
.specs dd { margin: 0; font-weight: 600; font-size: 15.5px; line-height: 1.4; }
.pinfo__cta { width: 100%; margin-top: 20px; }
.pinfo__photo { position: relative; margin: clamp(48px, 6vw, 88px) 0 0; aspect-ratio: 16 / 7; overflow: hidden; background: var(--anth); }
.pinfo__photo img { width: 100%; height: 100%; object-fit: cover; }
.others { background: linear-gradient(180deg, var(--graphite) 0%, #0F141C 100%); }
.others__list { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 14px; margin: clamp(32px, 4vw, 52px) 0 10px; }
.other {
  position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; grid-template-areas: "n name arr" "n chip arr";
  align-items: center; column-gap: 16px; row-gap: 4px; padding: 18px 20px; min-height: 84px;
  border: 1px solid var(--alu); border-radius: 3px; text-decoration: none; color: var(--text);
  background: linear-gradient(180deg, rgba(233, 237, 242, .035), rgba(233, 237, 242, 0)); transition: border-color .35s, background-color .35s;
}
.other:hover, .other:focus-visible { border-color: rgba(198, 168, 119, .6); }
.other__n { grid-area: n; font-size: 12px; color: var(--gold); }
.other__name { grid-area: name; font: 800 19px/1.15 var(--f-d); letter-spacing: -.01em; }
.other__chip { grid-area: chip; font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink3); }
.other__arr { grid-area: arr; width: 20px; height: 20px; fill: none; stroke: var(--gold-hi); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; transition: transform .4s var(--ease); }
.other:hover .other__arr { transform: translateX(4px); }
.others .more-link { color: var(--text); }

/* prose (long texts, legal pages) */
.prose { max-width: 72ch; color: var(--ink2); font-size: 17px; line-height: 1.72; }
.prose > * + * { margin-top: 1.05em; }
.prose h2 { font: 800 clamp(23px, 2.1vw, 31px)/1.15 var(--f-d); letter-spacing: -.02em; color: var(--ink); margin-top: 1.9em; text-wrap: balance; }
.prose h3 { font: 800 clamp(18px, 1.45vw, 22px)/1.25 var(--f-d); letter-spacing: -.012em; color: var(--ink); margin-top: 1.7em; }
.prose h4 { font: 700 13px/1.4 var(--f-m); letter-spacing: .1em; text-transform: uppercase; color: var(--ink); margin-top: 1.6em; }
.prose > :first-child { margin-top: 0; }
.prose a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--gold); text-decoration-thickness: 1px; text-underline-offset: 3px; }
.prose a:hover { text-decoration-thickness: 2px; }
.prose strong, .prose b { color: var(--ink); }
.prose ul, .prose ol { padding-left: 1.4em; }
.prose li + li { margin-top: .45em; }
.prose ul li::marker { color: var(--gold-lo); }
.prose ol li::marker { color: var(--gold-d); font-family: var(--f-m); font-size: .85em; }
.prose blockquote { margin-left: 0; padding: 4px 0 4px 20px; border-left: 3px solid var(--gold); color: var(--ink); }
.prose table { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 1.5; }
.prose th, .prose td { text-align: left; vertical-align: top; padding: 10px 12px 10px 0; border-bottom: 1px solid var(--alu); }
.prose th { color: var(--ink); font-weight: 600; }
.prose hr { border: 0; height: 1px; background: var(--alu); margin: 2em 0; }
.prose img { height: auto; }
.pg { background: var(--paper2); padding-top: clamp(48px, 6vw, 88px); }
.prose--page { margin: 0; }

/* /apie/: values (dark) */
.values { background: linear-gradient(180deg, var(--graphite) 0%, #0F141C 100%); }
.values__head .h2 { max-width: 22ch; }
.vcards { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; margin-top: clamp(40px, 5vw, 64px); }
.vcard { padding: 0 0 26px; border: 1px solid var(--alu); border-radius: 3px; background: linear-gradient(180deg, rgba(233, 237, 242, .035), rgba(233, 237, 242, 0)); overflow: hidden; transition: border-color .4s; }
.vcard:hover { border-color: rgba(198, 168, 119, .45); }
.vcard > * { position: relative; z-index: 2; }
.vcard__img { position: relative; margin: 0 0 22px; aspect-ratio: 16 / 10; overflow: hidden; background: var(--anth); }
.vcard__img img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.85) brightness(.92); }
.vcard__n { display: block; padding: 0 24px; font-size: 11.5px; color: var(--gold); }
.vcard h3 { padding: 0 24px; font: 800 clamp(20px, 1.7vw, 25px)/1.15 var(--f-d); letter-spacing: -.015em; margin: 8px 0 10px; }
.vcard p { padding: 0 24px; color: var(--ink2); font-size: 15.5px; line-height: 1.6; }

/* /apie/: what we do */
.services { background: var(--paper); }
.svc { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; margin-top: clamp(40px, 5vw, 64px); }
.svc__img { margin: 0 0 16px; aspect-ratio: 4 / 5; overflow: hidden; background: var(--anth); }
.svc__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.svc__i:hover .svc__img img { transform: scale(1.04); }
.svc__k { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-d); }
.svc__i h3 { font: 800 clamp(17px, 1.4vw, 20px)/1.2 var(--f-d); letter-spacing: -.012em; margin: 8px 0 8px; }
.svc__i p { color: var(--ink2); font-size: 15px; line-height: 1.55; }

/* /kontaktai/: visit + map */
.visit { background: var(--paper2); }
.visit__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(36px, 5vw, 88px); align-items: center; }
.visit__addr { font-style: normal; display: flex; flex-direction: column; gap: 2px; margin: 8px 0 22px; padding: 18px 0; border-top: 2px solid var(--ink); border-bottom: 1px solid var(--alu); }
.visit__addr .mono { font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink3); margin-bottom: 6px; }
.visit__addr strong { font: 800 clamp(22px, 2vw, 28px)/1.15 var(--f-d); letter-spacing: -.015em; }
.visit__addr span:last-child { color: var(--ink2); }
.visit__list { list-style: none; display: grid; gap: 12px; margin-bottom: 18px; }
.visit__list li { display: flex; align-items: center; gap: 12px; font-weight: 600; }
.visit__list svg { width: 22px; height: 22px; flex: none; fill: none; stroke: var(--gold-d); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.visit__list a { text-decoration: none; background: linear-gradient(var(--gold), var(--gold)) 0 100% / 0 1px no-repeat; transition: background-size .45s var(--ease); }
.visit__list a:hover { background-size: 100% 1px; }
.visit__note { color: var(--ink2); font-size: 15.5px; margin-bottom: 22px; }
.visit__map { position: relative; aspect-ratio: 4 / 3; background: var(--alu2); border: 1px solid var(--alu); overflow: hidden; }
.visit__map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(.45) contrast(1.02); }
.visit__pin { position: absolute; left: 14px; top: 14px; display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; background: var(--graphite); color: var(--text); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; pointer-events: none; }
.visit__pin svg { width: 16px; height: 16px; fill: none; stroke: var(--gold); stroke-width: 1.6; }

/* /es-parama/ */
.esp { background: var(--paper2); padding-top: clamp(48px, 6vw, 88px); }
.esp__list { list-style: none; display: grid; gap: 22px; }
.esp__i { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(20px, 4vw, 64px); padding: clamp(24px, 3vw, 40px); background: var(--white); border: 1px solid var(--alu); border-radius: 3px; position: relative; }
.esp__i::before { content: ''; position: absolute; left: -1px; top: -1px; width: 72px; height: 3px; background: var(--gold-grad); }
.esp__n { font-size: 12px; color: var(--gold-d); }
.esp__t { font: 800 clamp(20px, 1.8vw, 26px)/1.15 var(--f-d); letter-spacing: -.015em; margin: 10px 0 12px; }
.esp__sum { display: inline-flex; align-items: center; min-height: 32px; padding: 0 12px; border: 1px solid var(--gold); background: rgba(198, 168, 119, .12); font: 600 14px/1 var(--f-t); border-radius: 2px; }
.esp__body p { color: var(--ink2); line-height: 1.68; }
.esp__body p + p { margin-top: 14px; }
.esp__prog { font-size: 15px; }
.esp__logos { list-style: none; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 30px; margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--alu); }
.esp__logo { width: auto; height: auto; max-height: 52px; max-width: 220px; }
.cta { background: linear-gradient(180deg, var(--graphite) 0%, #0F141C 100%); padding: clamp(56px, 7vw, 96px) 0; }
.cta__in { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px 48px; flex-wrap: wrap; }
.cta .h2 { margin-bottom: 0; }

/* =========================================================================
   WooCommerce (cart / checkout blocks, classic My account)
   ========================================================================= */
.pg--woo { padding-top: clamp(28px, 4vw, 52px); }
.woo { font-size: 16px; color: var(--ink); }
.woo h2, .woo h3, .woo .wc-block-components-title, .woo .wc-block-components-checkout-step__title {
  font-family: var(--f-d) !important; font-weight: 800 !important; letter-spacing: -.012em;
}
.woo a:not(.wc-block-components-button):not(.button) { color: var(--ink); text-decoration-color: var(--gold); text-underline-offset: 3px; }
.woo .wc-block-components-button:not(.is-link),
.woo .wc-block-cart__submit-button,
.woo .wc-block-components-checkout-place-order-button,
.woo .button, .woo button.button, .woo input.button {
  background: var(--anth) !important; color: #fff !important; border: 0 !important; border-radius: 2px !important;
  min-height: 52px; font: 600 15px/1.1 var(--f-t) !important; letter-spacing: .01em; box-shadow: none !important;
  transition: background-color .3s, color .3s;
}
.woo .wc-block-components-button:not(.is-link):hover,
.woo .wc-block-cart__submit-button:hover,
.woo .wc-block-components-checkout-place-order-button:hover,
.woo .button:hover { background: var(--gold) !important; color: var(--night) !important; }
.woo .wc-block-components-text-input input,
.woo .wc-block-components-textarea,
.woo .wc-blocks-components-select .wc-blocks-components-select__select,
.woo .wc-block-components-combobox .wc-block-components-combobox-control input,
.woo input.input-text, .woo select, .woo textarea {
  border-radius: 2px !important; border-color: #A9A396 !important;
}
.woo .wc-block-components-text-input input:focus,
.woo .wc-block-components-textarea:focus,
.woo input.input-text:focus, .woo select:focus, .woo textarea:focus {
  border-color: var(--ink) !important; box-shadow: 0 0 0 3px rgba(198, 168, 119, .45) !important; outline: none;
}
.woo .wc-block-components-radio-control__input:checked, .woo .wc-block-components-checkbox__input:checked { background-color: var(--anth) !important; border-color: var(--anth) !important; }
.woo .wc-block-components-sidebar .wc-block-components-panel,
.woo .wp-block-woocommerce-checkout-order-summary-block,
.woo .wc-block-cart__sidebar .wc-block-components-totals-wrapper:first-child { border-color: var(--alu) !important; }
.woo .wp-block-woocommerce-checkout-order-summary-block { background: var(--white); border-radius: 3px; }
.woo .wc-block-components-totals-footer-item .wc-block-components-totals-item__label,
.woo .wc-block-components-totals-footer-item .wc-block-components-totals-item__value { font-weight: 800; }
.woo .wc-block-components-notice-banner { border-radius: 2px; }
.woo .wc-block-cart-items__header, .woo .wc-block-cart-items th { font: 500 11.5px/1.3 var(--f-m) !important; letter-spacing: .1em; text-transform: uppercase; color: var(--ink3); }
/* plugin links (Lamell_Woo): back to the calculator */
.woo .lamell-cart-more a { border: 1.5px solid var(--ink); border-radius: 2px; color: var(--ink); background: var(--paper2); font-weight: 600; }
.woo .lamell-cart-more a:hover { background: var(--anth); border-color: var(--anth); color: #fff; }
/* classic My account */
.woo .woocommerce-MyAccount-navigation ul { list-style: none; padding: 0; margin: 0 0 28px; display: flex; flex-wrap: wrap; gap: 8px; }
.woo .woocommerce-MyAccount-navigation a { display: inline-flex; min-height: 40px; align-items: center; padding: 0 14px; border: 1px solid var(--alu); background: var(--white); text-decoration: none; font-weight: 600; font-size: 14.5px; }
.woo .woocommerce-MyAccount-navigation .is-active a { background: var(--anth); color: #fff; border-color: var(--anth); }
.woo .woocommerce-MyAccount-navigation, .woo .woocommerce-MyAccount-content { float: none !important; width: auto !important; }
.woo .woocommerce form .form-row label { font-weight: 600; font-size: 14px; }
.woo .woocommerce-message, .woo .woocommerce-info, .woo .woocommerce-error { border-top-color: var(--gold) !important; background: var(--white); }
.woo .woocommerce-message::before, .woo .woocommerce-info::before { color: var(--gold-d) !important; }

/* =========================================================================
   Responsive
   ========================================================================= */
@media (max-width: 1100px) {
  .svc { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .vcards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .vcards .vcard:last-child { grid-column: 1 / -1; }
}
@media (max-width: 900px) {
  .phero__in { grid-template-columns: minmax(0, 1fr); }
  .phero__vis { aspect-ratio: 16 / 10.5; }
  .phero__h { max-width: 18ch; }
  .know__grid, .visit__grid, .build__grid, .pinfo__grid, .phero--profile .phero__in { grid-template-columns: minmax(0, 1fr); }
  .pinfo__specs { position: relative; top: auto; }
  .pinfo__photo { aspect-ratio: 4 / 3; }
  .build__fig { max-width: 640px; width: 100%; height: auto; min-height: 0; aspect-ratio: 1000 / 1190; }
  .know__aside { position: static; }
  .esp__i { grid-template-columns: minmax(0, 1fr); }
  .phero--calc .phero__in { grid-template-columns: minmax(0, 1fr); align-items: start; }
  .calc-facts { flex-wrap: wrap; }
}
@media (max-width: 640px) {
  .phero { padding-top: calc(var(--hdr) + 22px); }
  .phero__in { gap: 26px; padding-bottom: 32px; }
  .crumbs { margin-bottom: 16px; font-size: 10.5px; }
  .phero__h { font-size: clamp(30px, 8.6vw, 38px); margin-bottom: 16px; }
  .phero__lead { font-size: 16.5px; margin-bottom: 24px; }
  .phero__cta .l-btn { padding: 0 17px; }
  .phero__vis { aspect-ratio: 4 / 3; margin: 0 calc(var(--g) * -1); }
  .phero__fence { height: 45%; }
  .phero--compact .phero__h { font-size: clamp(27px, 7.6vw, 34px); }
  .phero--calc .phero__h { font-size: 25px; }
  .phero--calc .phero__lead { font-size: 15px; }
  .calc-facts { display: grid; grid-template-columns: 1fr 1fr; }
  .calc-facts li { padding: 10px 12px; }
  .calc-facts li:nth-child(3) { grid-column: 1 / -1; border-left: 0; border-top: 1px solid var(--alu); }
  .checks { grid-template-columns: minmax(0, 1fr); }
  .vcards { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .vcards .vcard:last-child { grid-column: auto; }
  .svc { gap: 18px 12px; }
  .svc__i h3 { font-size: 15.5px; }
  .svc__i p { font-size: 13.5px; }
  .visit__map { aspect-ratio: 1 / 1; margin: 0 calc(var(--g) * -1); border-left: 0; border-right: 0; }
  .esp__i { padding: 20px 18px; }
  .esp__logo { max-height: 40px; max-width: 150px; }
  .prose { font-size: 16px; }
  .cta__in { align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  .phero__fence::after { animation: none; }
  .js .phero__fence, .js .phero__copy > * { clip-path: none !important; opacity: 1 !important; transform: none !important; transition: none !important; }
}
.capture .phero__fence::after { animation: none; }
.capture .phero__fence { clip-path: none !important; }
