/* INTERLAB v7: loaded after styles.css. The home is two photographic doors, farma and textil, joined by an "&"
   on the seam; every page shares the floating pill nav, the night footer and the serif accent. */

:root {
  --night: #060a12;
  --night-2: #0c1220;
  --paper: #f4f3ef;
  --ink-v7: #111318;
  --serif: "Instrument Serif", "Times New Roman", serif;
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  --font-display: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  --ease-v7: cubic-bezier(0.22, 1, 0.36, 1);
  --spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}
html:has(body.home), body.home { background: var(--night); }
::selection { background: rgba(0, 113, 227, 0.25); }
html { scroll-padding-top: 84px; }

/* ---------- nav: a floating pill on every page ---------- */
.nav { position: fixed; top: 12px; left: 0; right: 0; margin: 0; background: none; -webkit-backdrop-filter: none; backdrop-filter: none; pointer-events: none; }
.nav::after { content: none; }
.nav-inner { position: relative; pointer-events: auto; width: min(1180px, calc(100% - 24px)); max-width: none; height: 52px; padding: 0 8px 0 22px; border-radius: 999px; background: rgba(255, 255, 255, 0.76); -webkit-backdrop-filter: blur(20px) saturate(180%); backdrop-filter: blur(20px) saturate(180%); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.5), 0 1px 2px rgba(0, 0, 0, 0.06), 0 8px 24px rgba(0, 0, 0, 0.1); }
.home .nav-inner { background: rgba(255, 255, 255, 0.9); }
.nav-links { gap: 26px; }
.nav-links a { font-size: 0.84375rem; font-weight: 500; letter-spacing: -0.01em; color: rgba(17, 19, 24, 0.74); }
.nav-cta.pill-sm { height: 36px; padding: 0 18px; font-size: 0.875rem; font-weight: 600; }
@media (max-width: 960px) {
  .nav-inner { padding: 0 6px 0 18px; }
  .nav-toggle { margin-right: 0; }
  .nav-links { top: calc(100% + 8px); left: 0; right: 0; padding: 6px 22px 14px; border-radius: 24px; background: #fff; -webkit-backdrop-filter: none; backdrop-filter: none; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06), 0 16px 40px rgba(0, 0, 0, 0.16); }
  .nav-links a { font-size: 1.125rem; font-weight: 600; color: var(--ink-v7); }
}

/* ---------- shared type ---------- */
.v7-h2 { font-weight: 500; font-size: clamp(2.25rem, 1.1rem + 3.2vw, 4.25rem); line-height: 1.02; letter-spacing: -0.045em; text-wrap: balance; color: var(--ink-v7); }
.v7-h2 em, .hx-h em { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 1.1em; letter-spacing: -0.015em; }
.v7-h2 em { color: #6b6d74; }
/* Inner pages take the home's type: medium weight, tight tracking, one serif word per heading. */
.h2, .hero-h { font-weight: 500; letter-spacing: -0.045em; }
.h2 em, .hero-h em { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 1.1em; letter-spacing: -0.015em; color: color-mix(in srgb, currentColor 66%, transparent); }
.page-head-wine .h2 em { color: var(--wine); }

/* ---------- hero: two doors ---------- */
.hx { height: 100vh; height: 100svh; min-height: 600px; padding: 12px; background: var(--night); }
.hx-stage { position: relative; display: flex; height: 100%; border-radius: 28px; overflow: hidden; background: var(--night-2); }
.hx-door { --pad: 24px; position: relative; flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; padding: 0 var(--pad) 40px; container-type: inline-size; transition: flex-grow 900ms var(--ease-v7); }
.hx-media { position: absolute; inset: 0; overflow: hidden; }
.hx-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1400ms var(--ease-v7); }
.hx-farma .hx-media img { object-position: 50% 36%; }
.hx-textil .hx-media img { object-position: 60% 50%; }
.hx-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(6, 10, 18, 0.9) 0%, rgba(6, 10, 18, 0.7) 32%, rgba(7, 18, 38, 0.36) 58%, rgba(5, 13, 30, 0.9) 100%); }
.hx-textil .hx-media::after { background: linear-gradient(180deg, rgba(6, 10, 18, 0.9) 0%, rgba(10, 6, 12, 0.7) 32%, rgba(40, 8, 22, 0.32) 58%, rgba(34, 6, 18, 0.9) 100%); }
.hx-textil { box-shadow: inset 1px 0 rgba(255, 255, 255, 0.16); }
.hx-place { position: absolute; left: 24px; bottom: 18px; z-index: 1; font-size: 0.6875rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255, 255, 255, 0.56); }

.hx-copy { position: absolute; z-index: 5; top: clamp(84px, 13svh, 120px); left: 48px; right: 48px; display: flex; flex-direction: column; align-items: center; text-align: center; color: #fff; pointer-events: none; }
.hx-copy a { pointer-events: auto; }
.hx-h { max-width: 24ch; font-weight: 500; font-size: clamp(2.5rem, 0.6rem + 3.6vw, 4.25rem); line-height: 1; letter-spacing: -0.045em; text-wrap: balance; text-shadow: 0 16px 38px rgba(0, 0, 0, 0.32); }
.hx-h em { color: rgba(255, 255, 255, 0.8); }
@media (min-width: 1101px) { .hx-h { max-width: none; } .hx-h > span { display: block; white-space: nowrap; } }
.hx-sub { max-width: 52rem; margin-top: 18px; text-wrap: balance; font-size: clamp(1rem, 0.9rem + 0.3vw, 1.125rem); line-height: 1.5; color: rgba(255, 255, 255, 0.8); text-shadow: 0 2px 18px rgba(0, 0, 0, 0.42); }
.hx-ctas { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px 26px; margin-top: 26px; }
.hx-cta { display: inline-flex; align-items: center; gap: 12px; height: 50px; padding: 0 8px 0 24px; border-radius: 999px; background: #fff; color: var(--ink-v7); font-size: 1rem; font-weight: 600; letter-spacing: -0.01em; text-decoration: none; box-shadow: 0 4px 14px rgba(0, 0, 0, 0.16); transition: transform 150ms ease-out, background-color 200ms ease; }
.hx-cta-arrow { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--ink-v7); color: #fff; transition: transform 300ms var(--ease-v7); }
.hx-cta-arrow svg { width: 16px; height: 16px; }
.hx-cta:active { transform: scale(0.97); }
.hx-cta-dark { background: var(--ink-v7); color: #fff; box-shadow: none; }
.hx-cta-dark .hx-cta-arrow { background: #fff; color: var(--ink-v7); }
.hx-wa { color: #fff; font-size: 1rem; font-weight: 600; text-shadow: 0 2px 16px rgba(0, 0, 0, 0.3); }
@media (hover: hover) and (pointer: fine) {
  .hx-cta:hover .hx-cta-arrow { transform: translateX(3px); }
  .hx-cta:hover { background: #f1f1f3; }
  .hx-cta-dark:hover { background: #262a33; }
}

/* The credentials keep their v6 materials: navy glass for COFEPRIS, wine glass for the ema. */
.hx-card { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; width: min(392px, 100%); padding: 22px 26px 16px; border-radius: 26px; text-align: center; color: #fff; -webkit-backdrop-filter: blur(20px) saturate(180%); backdrop-filter: blur(20px) saturate(180%); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.16), inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.06), 0 10px 30px rgba(0, 0, 0, 0.14), 0 30px 80px rgba(0, 0, 0, 0.2); transition: background-color 200ms ease; }
.hx-card-navy { background: rgba(11, 31, 58, 0.2); }
.hx-card-wine { background: rgba(90, 14, 45, 0.32); }
/* Both logos get the same box so the two cards come out the same height. */
.hx-logo { width: min(240px, 100%); height: 102px; margin: -16px 0 2px; object-fit: contain; }
.hx-label { font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.01em; color: rgba(255, 255, 255, 0.74); }
.hx-card-wine .hx-label { color: #f6b8d0; }
.hx-id { margin-top: 4px; font-weight: 700; font-size: clamp(1.75rem, 1rem + 1.6vw, 2.5rem); line-height: 1; letter-spacing: -0.035em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.hx-row { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 12px; }
.hx-row .status { margin-top: 0; }
.hx-go { font-size: 0.875rem; font-weight: 600; color: #fff; text-decoration: none; white-space: nowrap; }
.hx-go::after { content: ""; position: absolute; inset: 0; z-index: 0; border-radius: inherit; }
.hx-go:focus-visible { outline: none; }
.hx-go:focus-visible::after { outline: 2px solid #fff; outline-offset: 3px; }
.hx-fact { position: relative; z-index: 1; display: flex; align-items: baseline; justify-content: center; gap: 8px; align-self: stretch; margin-top: 14px; padding-top: 12px; border-top: 1px solid rgba(255, 255, 255, 0.14); font-size: 0.8125rem; font-weight: 500; color: rgba(255, 255, 255, 0.74); text-decoration: none; }
.hx-fact strong { font-size: 1.375rem; font-weight: 600; letter-spacing: -0.025em; color: #fff; font-variant-numeric: tabular-nums; }
a.hx-fact { color: #fff; }
@media (hover: hover) and (pointer: fine) {
  a.hx-fact:hover { text-decoration: underline; text-underline-offset: 3px; }
  .hx-card-navy:hover { background: rgba(11, 31, 58, 0.36); }
  .hx-card-wine:hover { background: rgba(90, 14, 45, 0.46); }
  .hx-card:has(.hx-go:hover) .hx-go { text-decoration: underline; text-underline-offset: 3px; }
}


/* On a desktop, the door under the pointer opens wider. */
@media (hover: hover) and (pointer: fine) and (min-width: 1101px) {
  .hx-stage:has(.hx-door:hover) .hx-door:hover, .hx-door:focus-within { flex-grow: 1.24; }
  .hx-door:hover .hx-media img { transform: scale(1.03); }
}

/* Entrance: nav, headline, sub, actions, then the doors settle and the cards rise. The rest state is the final state. */
@keyframes v7-rise { from { opacity: 0; transform: translateY(24px); filter: blur(8px); } to { opacity: 1; transform: none; filter: none; } }
@keyframes v7-drop { from { opacity: 0; transform: translateY(-12px); } to { opacity: 1; transform: none; } }
@keyframes v7-settle { from { transform: scale(1.06); } to { transform: none; } }
@media (prefers-reduced-motion: no-preference) {
  .home .nav-inner { animation: v7-drop 700ms var(--ease-v7) both; }
  .hx-h { animation: v7-rise 900ms var(--ease-v7) 150ms both; }
  .hx-sub { animation: v7-rise 900ms var(--ease-v7) 300ms both; }
  .hx-ctas { animation: v7-rise 900ms var(--ease-v7) 420ms both; }
  .hx-media { animation: v7-settle 1800ms var(--ease-v7) both; }
  .hx-farma .hx-card { animation: v7-rise 900ms var(--ease-v7) 560ms both; }
  .hx-textil .hx-card { animation: v7-rise 900ms var(--ease-v7) 680ms both; }
}

/* Short laptop screens: the same composition, tighter. */
@media (min-width: 641px) and (max-height: 820px) {
  .hx-copy { top: 84px; }
  .hx-sub { margin-top: 14px; }
  .hx-ctas { margin-top: 22px; }
  .hx-cta { height: 46px; }
  .hx-door { padding-bottom: 32px; }
  .hx-card { padding: 18px 24px 14px; }
  .hx-row { margin-top: 10px; }
  .hx-fact { margin-top: 12px; padding-top: 10px; }
}
@media (min-width: 641px) and (max-height: 680px) {
  .hx-copy { top: 78px; }
  .hx-h { font-size: clamp(2.25rem, 0.4rem + 3.4vw, 3.25rem); }
  .hx-sub { margin-top: 12px; font-size: 1rem; }
  .hx-ctas { margin-top: 18px; }
  .hx-door { padding-bottom: 28px; }
  .hx-card { padding: 14px 22px 10px; }
  .hx-logo { width: min(180px, 100%); height: 76px; margin-top: -12px; }
  .hx-id { font-size: 2rem; }
  .hx-row { margin-top: 8px; }
  .hx-fact { margin-top: 10px; padding-top: 8px; }
}

@media (max-width: 960px) {
  .hx-copy { left: 28px; right: 28px; }
}

/* Phones: copy on top, both credentials side by side at the bottom. */
@media (max-width: 640px) {
  .hx { padding: 6px; }
  .hx-stage { border-radius: 22px; }
  .hx-door { --pad: 6px; padding: 0 var(--pad) 30px; }
  .hx-copy { top: 72px; left: 18px; right: 18px; align-items: flex-start; text-align: left; }
  .hx-h { max-width: none; font-size: clamp(1.875rem, 1rem + 4.4vw, 2.375rem); line-height: 1.04; letter-spacing: -0.04em; text-wrap: pretty; }
  .hx-sub { margin-top: 12px; font-size: 0.9375rem; }
  .hx-ctas { justify-content: flex-start; gap: 12px 20px; margin-top: 18px; }
  .hx-cta { height: 46px; padding-left: 20px; font-size: 0.9375rem; }
  .hx-cta-arrow { width: 30px; height: 30px; }
  .hx-wa { font-size: 0.9375rem; }
  .hx-card { padding: 12px 8px 10px; border-radius: 20px; }
  .hx-logo { width: min(124px, 100%); height: 52px; margin: 0 0 4px; object-fit: contain; }
  .hx-label { min-height: 2.5em; font-size: 0.6875rem; line-height: 1.25; text-wrap: balance; }
  .hx-id { margin-top: 2px; font-size: 1.25rem; letter-spacing: -0.02em; }
  .hx-textil .hx-id { font-size: 0.9375rem; line-height: 1.33; }
  .hx-row { flex-direction: column; gap: 4px; margin-top: 8px; }
  .hx-row .status { padding: 3px 10px; font-size: 0.6875rem; }
  .hx-go { font-size: 0.75rem; }
  .hx-fact { flex-direction: column; align-items: center; gap: 0; margin-top: 8px; padding-top: 6px; font-size: 0.6875rem; line-height: 1.25; }
  .hx-fact strong { font-size: 1.125rem; }
  .hx-long { display: none; }
  .hx-place { left: 0; right: 0; bottom: 9px; text-align: center; font-size: 0.6875rem; letter-spacing: 0.08em; }
}
@media (max-width: 640px) and (max-height: 700px) {
  .hx-copy { top: 66px; }
  .hx-h { font-size: 1.75rem; }
  .hx-sub { font-size: 0.875rem; line-height: 1.4; }
  .hx-ctas { margin-top: 14px; }
  .hx-logo { height: 40px; }
}
/* Phones held sideways: let the hero scroll instead of crushing it. */
@media (max-height: 500px) and (orientation: landscape) {
  .hx { height: auto; min-height: 0; }
  .hx-stage { height: 720px; }
}

/* ---------- areas: an index of the three lines ---------- */
.ix-areas { padding-block: clamp(88px, 10vw, 144px); background: #fff; }
.ix-areas-inner, .ix-sedes-inner, .clients-inner { max-width: var(--wide); margin-inline: auto; padding-inline: var(--gutter); }
.ix-areas-list { margin-top: clamp(36px, 4vw, 56px); border-bottom: 1px solid rgba(17, 19, 24, 0.1); }
.ix-area { display: grid; grid-template-columns: 56px minmax(0, 1fr) minmax(0, 1.05fr) 200px 44px; align-items: center; gap: 32px; padding: 26px 16px; margin-inline: -16px; border-top: 1px solid rgba(17, 19, 24, 0.1); border-radius: 22px; color: var(--ink-v7); text-decoration: none; transition: background-color 250ms ease; }
/* The hairlines sit on the items, so the rounded hover fill never bends them. */
.ix-areas-list li { border-top: 1px solid rgba(17, 19, 24, 0.1); }
.ix-areas-list .ix-area { border-top: 0; margin-block: 6px; }
.ix-area-n { align-self: center; font-family: var(--serif); font-style: italic; font-size: 1.75rem; line-height: 1; color: #9a9ca3; }
.ix-area-t { font-weight: 500; font-size: clamp(1.75rem, 1rem + 2.1vw, 3rem); line-height: 1.05; letter-spacing: -0.04em; }
.ix-area-d { font-size: 1.0625rem; line-height: 1.5; color: #4d5058; }
.ix-area-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.ix-area-chips span { padding: 4px 11px; border-radius: 999px; box-shadow: inset 0 0 0 1px rgba(17, 19, 24, 0.14); font-size: 0.8125rem; font-weight: 500; color: #3a3d44; }
.ix-area-img { width: 200px; height: 136px; border-radius: 18px; object-fit: cover; transition: transform 700ms var(--ease-v7); }
.ix-area-draw { display: grid; place-items: center; background: var(--navy); color: rgba(255, 255, 255, 0.72); }
.ix-area-draw svg { width: 100%; height: 100%; }
.ix-area-go { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(17, 19, 24, 0.18); transition: background-color 250ms ease, color 250ms ease, box-shadow 250ms ease, transform 300ms var(--ease-v7); }
.ix-area-go svg { width: 16px; height: 16px; }
.ix-area:active { transform: scale(0.995); }
@media (hover: hover) and (pointer: fine) {
  .ix-area:hover { background: #f5f5f3; }
  .ix-area:hover .ix-area-img { transform: scale(1.04); }
  .ix-area:hover .ix-area-go { background: var(--ink-v7); color: #fff; box-shadow: none; transform: translateX(2px); }
  .ix-area-wine:hover .ix-area-go { background: var(--wine); }
}
@media (max-width: 960px) {
  .ix-area { grid-template-columns: 40px minmax(0, 1fr) 160px; grid-template-areas: "n t img" "n d img"; gap: 6px 24px; }
  .ix-area-n { grid-area: n; }
  .ix-area-t { grid-area: t; }
  .ix-area-d { grid-area: d; }
  .ix-area-img { grid-area: img; width: 160px; height: 120px; }
  .ix-area-go { display: none; }
}
@media (max-width: 640px) {
  .ix-area { grid-template-columns: minmax(0, 1fr) 92px; grid-template-areas: "t img" "d d"; gap: 14px 16px; padding: 22px 12px; margin-inline: -12px; }
  .ix-area-n { display: none; }
  .ix-area-img { width: 92px; height: 72px; border-radius: 14px; }
  .ix-area-d { font-size: 1rem; }
}

/* ---------- clients ---------- */
.clients { padding-block: 64px; background: var(--night); color: #fff; }
.clients-inner { display: grid; grid-template-columns: 200px minmax(0, 1fr); align-items: center; gap: 40px; }
.clients-h { font-size: 0.75rem; font-weight: 600; line-height: 1.5; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255, 255, 255, 0.56); }
.clients .marquee-track span { font-family: var(--font); font-weight: 500; font-size: 1.375rem; letter-spacing: -0.02em; color: rgba(255, 255, 255, 0.5); }
@media (max-width: 760px) { .clients-inner { grid-template-columns: 1fr; gap: 20px; } }

/* ---------- sedes ---------- */
.ix-sedes { padding-block: clamp(88px, 10vw, 144px); background: var(--paper); }
.ix-sedes-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: clamp(36px, 4vw, 56px); }
.ix-sede { overflow: hidden; border-radius: 28px; background: #fff; box-shadow: 0 0 0 1px rgba(17, 19, 24, 0.05), 0 4px 16px rgba(0, 0, 0, 0.05); }
.ix-sede-img { width: 100%; aspect-ratio: 16 / 8; object-fit: cover; }
.ix-sede-body { padding: clamp(24px, 3vw, 36px); }
.ix-sede-place { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--blue); }
.ix-sede-wine .ix-sede-place { color: var(--wine); }
.ix-sede h3 { margin-top: 8px; font-weight: 500; font-size: clamp(1.625rem, 1.2rem + 1vw, 2.125rem); line-height: 1.1; letter-spacing: -0.035em; }
.ix-sede-tels { display: flex; flex-wrap: wrap; gap: 4px 24px; margin-top: 18px; }
.ix-sede-tels a { font-weight: 600; font-size: clamp(1.5rem, 1.2rem + 0.8vw, 1.875rem); letter-spacing: -0.03em; color: var(--ink-v7); text-decoration: none; font-variant-numeric: tabular-nums; }
.ix-sede-mail { margin-top: 10px; overflow-wrap: anywhere; }
.ix-sede-mail a { color: var(--link); text-decoration: none; }
.ix-sede-addr { margin-top: 10px; font-size: 0.9375rem; line-height: 1.5; color: #4d5058; }
.ix-sede-addr a { color: inherit; text-decoration: none; }
@media (hover: hover) and (pointer: fine) { .ix-sede-mail a:hover, .ix-sede-addr a:hover, .ix-sede-tels a:hover { text-decoration: underline; text-underline-offset: 3px; } }
.ix-sedes-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px; margin-top: 28px; color: #4d5058; }
@media (max-width: 760px) { .ix-sedes-grid { grid-template-columns: 1fr; } }

/* ---------- inner pages ---------- */
:root { --gray: #f4f3ef; }

/* Photo heroes sit in the same 12px night frame as the home. */
.hero-page, .hero-wine { padding: 12px; background: var(--night); }
.hero-page .hero-photo { inset: 12px; border-radius: 28px; }
.hero-page .hero-inner { padding-inline: calc(var(--gutter) + 12px); }
.hero-page .hero-h { margin-top: 14px; }
.v7-eyebrow { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255, 255, 255, 0.64); }


/* Text heads become a framed panel, unless the band below shares their colour; then they stay full width and merge with it. */
.page-head { margin: 12px 12px 0; border-radius: 28px; background: var(--paper); padding: clamp(108px, 10vw, 140px) 0 clamp(44px, 4.5vw, 72px); }
.page-head-wine { background: #f8f1f4; }
.page-head-dark { background: var(--night); }
.page-head-dark, .page-head:has(+ main > :is(.band-wine, .band-dark, .band-gray):first-child) { margin: 0; border-radius: 0; }
.page-head-inner { padding-inline: calc(var(--gutter) + 12px); }
.page-head .h2 { max-width: 20ch; font-size: clamp(2.5rem, 1.3rem + 3.3vw, 4.5rem); line-height: 1.02; }
.page-head + main > .band:first-child, .page-head-wine + main > .band:first-child:not(.band-wine) { padding-top: clamp(48px, 5vw, 72px); }
.page-head:has(+ main > :is(.band-wine, .band-dark, .band-gray):first-child) + main > .band:first-child { padding-top: 8px; }
.crumbs { font-weight: 500; }
.page-head-dark, .band-dark { background: var(--night); }

/* Full-colour bands and the photo contact block become framed panels too. */
.field-wide, .visit { margin-inline: 12px; border-radius: 28px; }
.visit { overflow: hidden; }
.field-wide-inner { padding-inline: calc(var(--gutter) + 12px); }
@media (max-width: 640px) {
  .field-wide, .visit { margin-inline: 6px; border-radius: 22px; }
  .field-wide-inner { padding-inline: calc(var(--gutter) + 4px); }
}

/* Large buttons carry the home's arrow chip (not the WhatsApp one, which has its logo). */
.pill { font-weight: 600; letter-spacing: -0.01em; }
.pill-lg:not(.pill-green) { gap: 12px; padding-right: 8px; }
.pill-lg:not(.pill-green)::after { content: ""; flex: none; width: 34px; height: 34px; border-radius: 50%; background: rgba(255, 255, 255, 0.2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 8h9M8.5 4.5 12 8l-3.5 3.5' fill='none' stroke='white' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 16px no-repeat; transition: transform 300ms var(--ease-v7); }
.pill-lg.pill-white::after { background-color: var(--ink-v7); }
@media (hover: hover) and (pointer: fine) { .pill-lg:not(.pill-green):hover::after { transform: translateX(3px); } }

@media (max-width: 640px) {
  .hero-page, .hero-wine { padding: 6px; }
  .hero-page .hero-photo { inset: 6px; border-radius: 22px; }
  .hero-page .hero-inner, .page-head-inner { padding-inline: calc(var(--gutter) + 4px); }
  .page-head { margin: 6px 6px 0; border-radius: 22px; padding-top: 92px; }
}

/* The UPLC-MS/MS schematic stands in for the instrument (there is no photograph of our own). */
.tq { display: block; width: 100%; height: auto; }
.tq text { font-family: var(--font); }
.cap-photo-contain .tq { position: absolute; inset: 0; height: 100%; padding: 7% 8%; }
.cap-photo-contain { background: #fff; box-shadow: inset 1px 0 rgba(17, 19, 24, 0.06); }
.cap-photo .tq-h { display: none; }
/* When the photo sits above the text (narrow screens), the wide schematic fits better. */
@media (max-width: 1100px) {
  .cap-photo .tq-v { display: none; }
  .cap-photo .tq-h { display: block; padding: 4% 5%; }
  .cap-photo-contain { box-shadow: inset 0 -1px rgba(17, 19, 24, 0.06); }
}
.eq-stats dt { white-space: nowrap; }
.eq-stats > div:last-child dt { font-size: clamp(2.25rem, 1.4rem + 2.2vw, 3.75rem); }
.instrument .tq { position: relative; padding: 7% 5%; border-radius: 36px; background: #fff; }

/* Service tiles: an arrow chip on the photo says the whole tile opens its detail. */
.farma-serv .tile::before { content: ""; position: absolute; top: 14px; right: 14px; z-index: 1; width: 40px; height: 40px; border-radius: 50%; background: rgba(255, 255, 255, 0.86) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 8h9M8.5 4.5 12 8l-3.5 3.5' fill='none' stroke='%23111318' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 16px no-repeat; -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); box-shadow: 0 4px 14px rgba(0, 0, 0, 0.16); transition: transform 300ms var(--ease-v7); }
.farma-serv .tile img { transition: transform 700ms var(--ease-v7); }
@media (hover: hover) and (pointer: fine) { .farma-serv .tile:hover::before { transform: translateX(3px); } }

/* Big figures read lighter and larger, each under a hairline. */
.eq-stats > div { padding-top: 18px; border-top: 1px solid rgba(17, 19, 24, 0.14); }
.eq-stats dt { font-weight: 300; font-size: clamp(2.75rem, 1.8rem + 3vw, 4.75rem); letter-spacing: -0.045em; }
.bd-num { font-weight: 300; letter-spacing: -0.05em; background: none; color: #fff; }
.bd { background: #12161f; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06); }

/* Photos uncover from the bottom as they scroll in (the rest state is uncovered). */
@media (prefers-reduced-motion: no-preference) {
  .js .tile[data-reveal] img, .js .split-photo[data-reveal] img { clip-path: inset(0 0 14% 0); transform: scale(1.04); transition: clip-path 900ms var(--ease-v7), transform 1200ms var(--ease-v7); }
  .js .tile.is-in img, .js .split-photo.is-in img { clip-path: inset(0); transform: none; }
}
@media (prefers-reduced-motion: no-preference) and (hover: hover) and (pointer: fine) {
  .js .tile.is-in:hover img { transform: scale(1.03); transition-duration: 900ms, 700ms; }
}

/* ---------- footer: night on every page ---------- */
.footer { background: var(--night); color: rgba(255, 255, 255, 0.62); border-top: 0; }
.footer-cols h2 { color: #fff; }
.footer-cols a { color: rgba(255, 255, 255, 0.8); transition: color 150ms ease; }
.footer-hours { color: rgba(255, 255, 255, 0.56); }
.fine-print { color: rgba(255, 255, 255, 0.5); border-color: rgba(255, 255, 255, 0.1); }
.footer-row { color: rgba(255, 255, 255, 0.5); border-color: rgba(255, 255, 255, 0.1); }
/* The plain WhatsApp link in the farma contact card gets a full-size tap area without moving the text. */
.visit-rows dd.visit-plain a { display: inline-block; padding-block: 12px; margin-block: -12px; }
@media (hover: hover) and (pointer: fine) { .footer-cols a:hover { color: #fff; } }

@media (prefers-reduced-transparency: reduce) {
  .nav-inner, .nav-links { background: #fff; -webkit-backdrop-filter: none; backdrop-filter: none; }
  .hx-card-navy { background: var(--navy); }
  .hx-card-wine { background: var(--wine-deep); }
}

/* ---------- the lab's own footage ---------- */
/* Hero loops: cut from the lab's video, cropped above its captions; they fade in over the still once playing. */
.hero-photo video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 900ms var(--ease-v7); will-change: transform; }
.hero-photo video.is-playing { opacity: 1; }
.v7-eyebrow a { color: inherit; text-decoration: none; }
@media (hover: hover) and (pointer: fine) { .v7-eyebrow a:hover { color: #fff; } }

/* The tour: poster, one play button, native controls once it plays. */
.tour { display: grid; margin: 0; }
.tour video, .tour-play { grid-area: 1 / 1; }
.tour video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; border-radius: 28px; background: var(--night); object-fit: cover; }
.tour figcaption { margin-top: 14px; padding-inline: 4px; font-size: 0.875rem; line-height: 1.45; color: #6b6d74; }
.tour-play { display: none; }
.js .tour-play { z-index: 1; display: inline-flex; align-items: center; gap: 12px; align-self: end; justify-self: start; height: 56px; margin: 16px; padding: 0 22px 0 8px; border: 0; border-radius: 999px; background: rgba(255, 255, 255, 0.92); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); box-shadow: 0 8px 28px rgba(0, 0, 0, 0.18); font: 600 0.9375rem/1 var(--font); letter-spacing: -0.01em; color: var(--ink-v7); cursor: pointer; transition: transform 160ms ease-out, opacity 300ms ease; }
.tour-play:active { transform: scale(0.97); }
.tour-play:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
.tour-ico { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--blue); }
.tour-ico svg { width: 18px; height: 18px; margin-left: 2px; fill: #fff; }
.tour-label span { margin-left: 6px; font-weight: 500; color: #6b6d74; font-variant-numeric: tabular-nums; }
.tour.is-playing .tour-play { opacity: 0; pointer-events: none; }
@media (max-width: 640px) { .tour video { border-radius: 22px; } .js .tour-play { height: 48px; margin: 10px; padding-right: 18px; } .tour-ico { width: 34px; height: 34px; } }

/* Textile tour: text beside the video, so the 480p copy shows near its own size. */
.tx-tour { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(32px, 5vw, 72px); align-items: center; max-width: var(--wide); margin-inline: auto; padding-inline: var(--gutter); }
.tx-tour .h2 { font-size: clamp(2rem, 1.3rem + 1.7vw, 2.75rem); }
.tx-tour .lede { max-width: 40ch; }
.tx-tour .link-arrow { margin-top: 22px; }
.section + .tx-tour-sec { padding-top: 0; }
.tour-wine .tour-ico { background: var(--wine); }
.tour-wine .tour-play:focus-visible { outline-color: var(--wine); }
@media (max-width: 960px) { .tx-tour { grid-template-columns: minmax(0, 1fr); } }

/* Equipment gallery: the clip sits over its photo and fades in once it plays. */
.tx-equip li { position: relative; }
.tx-equip video { position: absolute; top: 0; left: 0; width: 100%; aspect-ratio: 1; object-fit: cover; opacity: 0; pointer-events: none; transition: opacity 600ms var(--ease-v7); }
.tx-equip video.is-playing { opacity: 1; }
/* Six instruments: six, three or two per row (the base grid in styles.css), so every row closes. */

/* ---------- catalogue: microbiology in three groups ---------- */
.group.group-sub { margin-top: 0; }
.group-sub + .group-sub { margin-top: 28px; }
.sub-h { margin-bottom: 12px; padding-left: 4px; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-v7); }
.sub-h span { margin-left: 8px; font-size: 0.875rem; font-weight: 400; letter-spacing: 0; text-transform: none; color: #6b6d74; }

/* ---------- one page per pharma service ---------- */
.svc-intro-grid { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: clamp(32px, 6vw, 96px); align-items: start; max-width: var(--wide); margin-inline: auto; padding-inline: var(--gutter); }
.svc-intro .lede { max-width: 40ch; }
.svc-facts > div { display: grid; grid-template-columns: 9rem minmax(0, 1fr); gap: 6px 24px; padding-block: 18px; border-top: 1px solid rgba(17, 19, 24, 0.12); }
.svc-facts > div:last-child { border-bottom: 1px solid rgba(17, 19, 24, 0.12); }
.svc-facts dt { padding-top: 4px; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: #6b6d74; }
.svc-facts dd { font-size: 1.0625rem; line-height: 1.5; color: var(--ink-v7); text-wrap: pretty; }
.svc-facts .tags { margin-top: 0; }
.svc-intro .more-link { margin-top: clamp(40px, 5vw, 64px); }
.svc-intro + .section { padding-top: 0; }

.svc-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; max-width: var(--wide); margin-inline: auto; padding-inline: var(--gutter); }
.svc-card { padding: clamp(24px, 3vw, 36px); border-radius: 28px; background: var(--gray); }
.svc-card svg { width: 48px; height: 48px; fill: none; stroke: var(--blue); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.svc-card h3 { margin-top: 22px; font-weight: 500; font-size: clamp(1.375rem, 1.2rem + 0.5vw, 1.625rem); line-height: 1.15; letter-spacing: -0.03em; }
.svc-card p { margin-top: 10px; line-height: 1.5; color: #4d5058; }

.svc-lectura { margin: 0 12px 12px; padding-block: clamp(64px, 8vw, 112px); border-radius: 28px; background: linear-gradient(160deg, #13294a 0%, var(--navy) 46%, #071427 100%); color: #fff; }
.svc-lectura-inner { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 80px); align-items: start; max-width: var(--wide); margin-inline: auto; padding-inline: calc(var(--gutter) + 12px); }
.svc-lectura .lede { margin-top: 6px; max-width: 46ch; color: rgba(255, 255, 255, 0.8); }
.svc-lectura .tags li { background: rgba(255, 255, 255, 0.12); color: #fff; }

/* Service-page filters: on a phone the counts go and the long label shortens, so every option shows without scrolling. */
.segmented button .seg-x { margin-left: 0; color: inherit; }
@media (max-width: 640px) { .segmented-compact button { padding-inline: 10px; } .segmented-compact button > span:last-child, .segmented-compact .seg-x { display: none; } }
.svc-conds dd strong { font-weight: 600; color: var(--ink-v7); }
.svc-conds .eq-stats > div:last-child dt { font-size: clamp(2.75rem, 1.8rem + 3vw, 4.75rem); }
/* Pharma intro: the tour gets the wider column. */
@media (min-width: 961px) { .farma-intro .split { grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); } }

.svc-next { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; max-width: var(--wide); margin-inline: auto; padding-inline: var(--gutter); }
.svc-next a { position: relative; isolation: isolate; overflow: hidden; display: flex; align-items: flex-end; min-height: 240px; padding: 24px; border-radius: 24px; background: var(--night-2); color: #fff; text-decoration: none; font-weight: 500; font-size: clamp(1.25rem, 1.1rem + 0.5vw, 1.5rem); line-height: 1.15; letter-spacing: -0.03em; }
.svc-next img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform 700ms var(--ease-v7); }
.svc-next a::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(0, 0, 0, 0.78) 0%, rgba(0, 0, 0, 0.3) 45%, rgba(0, 0, 0, 0) 70%); }
.svc-next a::before { content: ""; position: absolute; top: 14px; right: 14px; width: 40px; height: 40px; border-radius: 50%; background: rgba(255, 255, 255, 0.86) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 8h9M8.5 4.5 12 8l-3.5 3.5' fill='none' stroke='%23111318' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 16px no-repeat; transition: transform 300ms var(--ease-v7); }
.svc-next a:active { transform: scale(0.99); }
.svc-next a:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
@media (hover: hover) and (pointer: fine) { .svc-next a:hover img { transform: scale(1.04); } .svc-next a:hover::before { transform: translateX(3px); } }

/* The general services page: each card's heading now opens that service's page. */
.card-go { color: inherit; text-decoration: none; }
.card-go::after { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: inherit; }
.card-go::before { content: ""; position: absolute; top: 14px; right: 14px; z-index: 2; width: 40px; height: 40px; border-radius: 50%; background: rgba(255, 255, 255, 0.86) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 8h9M8.5 4.5 12 8l-3.5 3.5' fill='none' stroke='%23111318' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 16px no-repeat; transition: transform 300ms var(--ease-v7); }
.card-light .card-go::before { background-color: #fff; }
.card:has(.card-go:focus-visible) { outline: 2px solid var(--blue); outline-offset: 3px; }
.card-go:focus-visible { outline: none; }
@media (hover: hover) and (pointer: fine) { .card:has(.card-go):hover .card-go::before { transform: translateX(3px); } }

@media (max-width: 960px) {
  .svc-intro-grid, .svc-lectura-inner { grid-template-columns: minmax(0, 1fr); }
  .svc-cards, .svc-next { grid-template-columns: minmax(0, 1fr); }
  .svc-next a { min-height: 150px; }
}
@media (max-width: 640px) {
  .svc-lectura { margin: 0 6px 6px; border-radius: 22px; }
  .svc-lectura-inner { padding-inline: calc(var(--gutter) + 4px); }
  .svc-facts > div { grid-template-columns: minmax(0, 1fr); padding-block: 14px; }
}

/* ---------- complaints form and privacy notice ---------- */
.claim, .legal { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.6fr); gap: clamp(20px, 3vw, 40px); align-items: start; max-width: var(--wide); margin-inline: auto; padding-inline: calc(var(--gutter) + 12px); }
.claim-form { padding: clamp(22px, 3vw, 40px); border-radius: 28px; background: var(--paper); }
.claim-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 16px; }
.fld { display: grid; gap: 6px; }
.fld-wide { grid-column: 1 / -1; }
.fld > span { font-size: 0.875rem; font-weight: 600; color: var(--ink-v7); }
.fld :is(input, select, textarea) { width: 100%; min-height: 48px; padding: 12px 14px; border: 0; border-radius: 12px; background: #fff; box-shadow: inset 0 0 0 1px rgba(17, 19, 24, 0.16); font: inherit; font-size: 1rem; color: var(--ink-v7); transition: box-shadow 150ms ease; }
.fld textarea { min-height: 168px; resize: vertical; line-height: 1.5; }
.fld select { appearance: none; padding-right: 40px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m4 6 4 4 4-4' fill='none' stroke='%236e6e73' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 14px center / 16px; }
.fld :is(input, select, textarea):focus-visible { outline: none; box-shadow: inset 0 0 0 1px var(--blue), 0 0 0 3px rgba(0, 113, 227, 0.24); }
.fld :is(input, select, textarea):user-invalid { box-shadow: inset 0 0 0 1px #c4314b; }
.check { display: flex; gap: 10px; align-items: flex-start; margin-top: 22px; font-size: 0.9375rem; color: var(--ink-v7); }
.check input { flex: none; width: 20px; height: 20px; margin-top: 1px; accent-color: var(--blue); }
.check a { color: var(--link); }
.claim-send { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 24px; }
.claim-note { max-width: 34ch; font-size: 0.875rem; color: var(--ink-2); }
.claim-status { margin-top: 18px; padding: 12px 16px; border-radius: 12px; background: var(--blue-wash); font-size: 0.9375rem; color: var(--ink-v7); }
.claim-status:empty { display: none; }
.claim-aside { position: sticky; top: 104px; padding: clamp(22px, 2.6vw, 32px); border-radius: 28px; background: var(--navy); color: #fff; }
.claim-aside h2 { font-size: 1.25rem; font-weight: 600; letter-spacing: -0.02em; }
.claim-aside p { margin-top: 10px; color: rgba(255, 255, 255, 0.78); font-size: 0.9375rem; }
.claim-mail { display: inline-block; margin-top: 6px; color: #8fc1ff; font-weight: 600; text-decoration: none; overflow-wrap: anywhere; }
.claim-aside ul { display: grid; gap: 14px; margin-top: 22px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, 0.16); }
.claim-aside li { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 14px; }
.claim-aside li span { flex-basis: 100%; font-size: 0.8125rem; color: rgba(255, 255, 255, 0.64); }
.claim-aside li a { color: #fff; font-size: 1.125rem; font-weight: 600; text-decoration: none; }
.claim-aside .claim-hours { margin-top: 20px; font-size: 0.8125rem; color: rgba(255, 255, 255, 0.64); }
@media (hover: hover) and (pointer: fine) { .claim-mail:hover, .claim-aside li a:hover { text-decoration: underline; } }
.legal-text { max-width: 68ch; color: var(--ink-v7); font-size: 1.0625rem; line-height: 1.65; }
.legal-text p + p, .legal-text ul + p, .legal-text p + ul { margin-top: 1.1em; }
.legal-text ul { display: grid; gap: 0.7em; padding-left: 1.2em; list-style: disc; }
.legal-text a { color: var(--link); font-weight: 500; overflow-wrap: anywhere; }
@media (max-width: 960px) {
  .claim, .legal { grid-template-columns: minmax(0, 1fr); }
  .claim-aside { position: static; }
}
@media (max-width: 640px) {
  .claim, .legal { padding-inline: calc(var(--gutter) + 4px); }
  .claim-grid { grid-template-columns: minmax(0, 1fr); }
  .claim-form { margin-inline: -8px; border-radius: 22px; }
}

/* ---------- inspection requirements: items that apply to one firm only; two routes after a rejection ---------- */
.firm-tag { display: inline-flex; align-items: center; gap: 6px; margin-right: 8px; padding: 4px 10px; border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 1px rgba(17, 19, 24, 0.1); vertical-align: middle; white-space: nowrap; }
.firm-tag span { font-size: 0.75rem; font-weight: 600; color: var(--ink-2); }
.firm-tag img { display: block; width: auto; height: 16px; }
@media (min-width: 641px) { .ins-paths { grid-template-columns: repeat(2, 1fr); } }
.ins-times dd .firm-tag { display: flex; width: fit-content; margin: 0 0 8px; }
.ins-alt strong { color: var(--wine); font-weight: 700; }
.ins-alt { display: block; margin-top: 10px; padding-top: 10px; border-top: 1px solid rgba(138, 23, 69, 0.16); }

/* ---------- environmental monitoring: four ways to sample, in one row, two rows of two, or one column on phones ---------- */
.svc-cards-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1100px) { .svc-cards-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .svc-cards-4 { grid-template-columns: minmax(0, 1fr); } }

/* Pharma equipment figures: four in a row, two by two on tablets, stacked on phones (styles.css). */
.eq-stats-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 960px) { .eq-stats-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .eq-stats-4 { grid-template-columns: minmax(0, 1fr); } }
.eq-stats-4 > div:last-child dt { font-size: clamp(1.75rem, 0.9rem + 1.7vw, 2.75rem); }

/* Textile firms: names in type, as on the home page, instead of logos. */
.firms-names { gap: 12px 32px; }
.firms-names li { height: auto; font-weight: 600; font-size: clamp(1.25rem, 1.1rem + 0.35vw, 1.375rem); letter-spacing: -0.02em; color: var(--ink); white-space: nowrap; }

/* ---------- online forms: analysis request (F-GCA-085) and textile contact, sent to api/*.php ---------- */
.req-intro { margin-bottom: 8px; font-size: 0.9375rem; color: var(--ink-2); }
.req-set { margin: 0; padding: 0; border: 0; min-width: 0; }
.req-set + .req-set { margin-top: 30px; padding-top: 26px; border-top: 1px solid rgba(17, 19, 24, 0.1); }
.req-set legend { padding: 0; margin-bottom: 16px; font-size: 1.125rem; font-weight: 700; letter-spacing: -0.02em; color: var(--ink-v7); }
.req-choice { display: flex; flex-wrap: wrap; gap: 4px 24px; margin: 18px 0; }
.req-choice[hidden], .req-stab[hidden], .req-other[hidden] { display: none; }
.req-choice .check { margin-top: 6px; }
.req-q { flex-basis: 100%; font-size: 0.875rem; font-weight: 600; color: var(--ink-v7); }
.req-other { flex-basis: 100%; max-width: 420px; margin-top: 8px; }
.req-hint, .fld small { font-size: 0.8125rem; color: var(--ink-2); }
.req-hint { margin-top: 12px; }
.fld > span i { font-style: normal; font-weight: 400; color: var(--ink-2); }
.req-trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.claim-status.is-error { background: #fdecee; color: #8a1c2b; }
.claim-status.is-ok { background: #e8f5ec; color: #14532d; }
.claim-status a { color: inherit; font-weight: 600; }
.claim-form button[aria-busy=true] { opacity: 0.6; pointer-events: none; }
.claim-h { margin-bottom: 8px; font-size: clamp(1.75rem, 1.3rem + 1.4vw, 2.5rem); }
.claim-form-wine .fld :is(input, select, textarea):focus-visible { box-shadow: inset 0 0 0 1px var(--wine), 0 0 0 3px rgba(138, 23, 69, 0.2); }
.claim-form-wine .check input { accent-color: var(--wine); }
.claim-aside-blue .pill { margin-top: 18px; }
/* A legend sits on its fieldset border unless it floats; floated, the section rule stays above it. */
.req-set legend { float: left; width: 100%; }
.req-set legend + * { clear: both; }
.req-form .claim-grid, #contacto-textil .claim-grid { align-items: start; }

/* Nitrosaminas: the lab's own UPLC-MS/MS, large, above the stages. */
.xevo-show { max-width: var(--wide); margin: 0 auto clamp(40px, 5vw, 64px); padding-inline: var(--gutter); }
.xevo-show img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; object-position: 50% 58%; border-radius: 32px; }
.xevo-show figcaption { margin-top: 14px; max-width: 60ch; font-size: 0.9375rem; color: rgba(255, 255, 255, 0.72); }
.xevo-show figcaption strong { display: block; font-size: 1.125rem; color: #fff; }
@media (max-width: 640px) { .xevo-show img { aspect-ratio: 4 / 3; border-radius: 22px; } }
