/* CosmoLab — site.css
   Direction: "lab notebook × skincare editorial". Mineral paper, teal ink, one coral accent.
   Didone display (Bodoni Moda) for the beauty, mono (Plex) for the measurements, hairlines and ruler ticks everywhere.
   Fonts are self-hosted (OFL) — no third-party requests. */

@font-face { font-family: "Bodoni Moda"; src: url("../fonts/bodoni-moda.woff2") format("woff2"); font-weight: 400 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Bodoni Moda"; src: url("../fonts/bodoni-moda-italic.woff2") format("woff2"); font-weight: 400 900; font-style: italic; font-display: swap; }
@font-face { font-family: "Instrument Sans"; src: url("../fonts/instrument-sans.woff2") format("woff2"); font-weight: 400 700; font-style: normal; font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; src: url("../fonts/plex-mono-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; src: url("../fonts/plex-mono-500.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }

:root {
  --paper: #F4F2EC;
  --paper-2: #EAE7DE;
  --white: #FCFBF8;
  --ink: #0E2A2F;
  --ink-deep: #091E22;
  --ink-2: #31494D;
  --ink-3: #52666A;
  --teal: #1E7B78;
  --teal-deep: #145B59;
  --aqua: #CFE7E1;
  --aqua-2: #E3F1ED;
  --coral: #E4694C;
  --coral-deep: #B9462E;
  --line: rgba(14, 42, 47, .16);
  --line-soft: rgba(14, 42, 47, .07);
  --line-inv: rgba(244, 242, 236, .18);
  --muted-inv: rgba(244, 242, 236, .72);

  --f-display: "Bodoni Moda", "Didot", "Bodoni 72", Georgia, serif;
  --f-text: "Instrument Sans", "Helvetica Neue", Arial, sans-serif;
  --f-mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  --wrap: 1280px;
  --gut: clamp(20px, 4vw, 48px);
  --sec: clamp(72px, 10vw, 148px);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 400 1.0625rem/1.6 var(--f-text); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, p, ul, ol, dl, dd, figure, fieldset { margin: 0; padding: 0; }
ul, ol { list-style: none; }
fieldset { border: 0; min-width: 0; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; border-radius: 2px; }
::selection { background: var(--ink); color: var(--paper); }

.wrap { width: min(100% - 2 * var(--gut), var(--wrap)); margin-inline: auto; }
.icon { width: 1.25em; height: 1.25em; flex: none; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: var(--paper); padding: 10px 16px; border-radius: 4px; transition: top .2s; }
.skip:focus { top: 12px; }

/* ---------- type atoms ---------- */
.label, .eyebrow {
  font: 500 .72rem/1 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3);
  display: flex; align-items: center; gap: 14px;
}
.label__n { color: var(--ink); }
.label__n::after { content: ""; display: inline-block; width: 44px; height: 1px; background: currentColor; margin-left: 14px; vertical-align: middle; opacity: .5; }
.eyebrow::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--coral); flex: none; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; cursor: pointer;
  padding: 15px 24px; border-radius: 999px; border: 1px solid transparent;
  font: 600 .95rem/1 var(--f-text); letter-spacing: .005em; white-space: nowrap;
  transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease);
}
.btn .icon { width: 18px; height: 18px; transition: transform .3s var(--ease); }
.btn:hover .icon { transform: translateX(4px); }
.btn:active { transform: scale(.98); }
.btn--sm { padding: 11px 18px; font-size: .875rem; }
.btn--lg { padding: 18px 30px; font-size: 1rem; }
.btn--coral { background: var(--coral); color: var(--ink); }
.btn--coral:hover { background: var(--ink); color: var(--paper); }
.btn--ink { background: var(--ink); color: var(--paper); }
.btn--ink:hover { background: var(--teal-deep); }
.btn--ghost { border-color: var(--ink); color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--paper); }
.btn[disabled] { opacity: .6; cursor: progress; }

/* ---------- top bar + header ---------- */
.topbar { background: var(--ink); color: var(--muted-inv); font: 400 .72rem/1 var(--f-mono); letter-spacing: .06em; }
.topbar__in { display: flex; justify-content: space-between; align-items: center; gap: 24px; min-height: 38px; }
.topbar__note { text-transform: uppercase; letter-spacing: .12em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.topbar__links { display: flex; gap: 22px; flex: none; }
.topbar__links a { display: inline-flex; align-items: center; gap: 8px; color: var(--paper); transition: color .2s; }
.topbar__links a:hover { color: var(--aqua); }
.topbar__links .icon { width: 14px; height: 14px; }

.header { position: sticky; top: 0; z-index: 50; background: rgba(244, 242, 236, .86); backdrop-filter: blur(14px) saturate(1.2); -webkit-backdrop-filter: blur(14px) saturate(1.2); border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s; }
.header.is-stuck { border-color: var(--line); }
.header__in { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 76px; }

.logo { display: inline-flex; align-items: center; color: #163E47; --logo-tint: #98BAB6; flex: none; }
.logo__svg { display: block; height: 32px; width: auto; }
.logo__back { fill: var(--logo-tint); transition: transform .6s var(--ease); transform-box: fill-box; transform-origin: center; }
.logo:hover .logo__back { transform: translateX(-14px); }

.nav { display: flex; align-items: center; gap: clamp(18px, 3vw, 44px); }
.nav__list { display: flex; gap: clamp(14px, 2vw, 30px); font-size: .93rem; font-weight: 500; }
.nav__list a { position: relative; padding: 8px 0; }
.nav__list a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.nav__list a:hover::after, .nav__list a[aria-current="page"]::after { transform: scaleX(1); }
.nav__extra { display: flex; align-items: center; gap: 18px; }
.lang { display: inline-flex; align-items: center; gap: 6px; font: 500 .75rem/1 var(--f-mono); letter-spacing: .1em; }
.lang__opt { padding: 6px 2px; color: var(--ink-3); border-bottom: 1px solid transparent; }
.lang__opt.is-active { color: var(--ink); border-color: var(--ink); }
.lang__opt:hover { color: var(--ink); }
.lang__sep { color: var(--ink-3); opacity: .6; }

.burger { display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 50%; background: none; cursor: pointer; position: relative; }
.burger span { position: absolute; left: 12px; right: 12px; height: 1.5px; background: var(--ink); transition: transform .3s var(--ease), top .3s var(--ease); }
.burger span:first-child { top: 17px; }
.burger span:last-child { top: 25px; }
.burger[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { top: 21px; transform: rotate(-45deg); }

/* ---------- hero ---------- */
.hero { position: relative; padding: clamp(40px, 6vw, 88px) 0 clamp(64px, 8vw, 120px); overflow: clip; }
.hero__grid-bg {
  position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(var(--line-soft) 1px, transparent 1px), linear-gradient(90deg, var(--line-soft) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 70% 80% at 72% 42%, #000 0%, transparent 72%);
  mask-image: radial-gradient(ellipse 70% 80% at 72% 42%, #000 0%, transparent 72%);
}
.hero__in { position: relative; display: grid; grid-template-columns: minmax(0, 1.18fr) minmax(0, .82fr); gap: clamp(32px, 5vw, 88px); align-items: center; }
.hero__title { font: 500 clamp(3rem, 6.5vw, 6.5rem)/.96 var(--f-display); letter-spacing: -.028em; margin: 26px 0 30px; }
.hero__line { display: block; white-space: nowrap; }
.hero__line--em { color: var(--teal-deep); padding-left: clamp(0px, 3vw, 48px); }
.hero__line--em em { font-style: italic; font-weight: 400; }
.hero__lead { max-width: 56ch; font-size: clamp(1.05rem, 1.25vw, 1.2rem); color: var(--ink-2); }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.hero__points { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); font: 400 .74rem/1.3 var(--f-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2); }
.hero__points li { display: inline-flex; align-items: center; gap: 8px; }
.hero__points .icon { width: 15px; height: 15px; color: var(--teal); }

.hero__visual { position: relative; justify-self: end; width: min(100%, 470px); }
.hero__visual::before { content: ""; position: absolute; inset: -12% -22% -8% -18%; background: radial-gradient(closest-side, var(--aqua) 0%, transparent 100%); opacity: .75; z-index: 0; }
.hero__arch { position: relative; z-index: 1; aspect-ratio: 4 / 5; border-radius: 999px 999px 10px 10px; overflow: hidden; background: linear-gradient(160deg, var(--aqua) 0%, var(--paper-2) 60%, #D9D3C4 100%); box-shadow: 0 40px 80px -40px rgba(14, 42, 47, .45); }
.hero__arch img { width: 100%; height: 100%; object-fit: cover; }
.hero__ruler { position: absolute; z-index: 2; right: -34px; top: 22%; bottom: 8%; width: 22px; display: flex; flex-direction: column; justify-content: space-between; align-items: flex-end; font: 400 .62rem/1 var(--f-mono); color: var(--ink-3); letter-spacing: .05em;
  background:
    repeating-linear-gradient(180deg, var(--ink-3) 0 1px, transparent 1px 40px) left / 12px 100% no-repeat,
    repeating-linear-gradient(180deg, var(--line) 0 1px, transparent 1px 8px) left / 6px 100% no-repeat; }
.hero__ruler span { transform: translate(26px, -4px); }

.ring { position: absolute; z-index: 3; left: -58px; top: 9%; width: 132px; height: 132px; border-radius: 50%; background: var(--paper); display: grid; place-items: center; box-shadow: 0 0 0 1px var(--line); }
.ring svg { width: 100%; height: 100%; animation: spin 26s linear infinite; }
.ring text { font: 500 12.6px var(--f-mono); letter-spacing: .08em; fill: var(--ink); text-transform: uppercase; }
.ring__core { position: absolute; width: 38px; height: 38px; border-radius: 50%; border: 1.5px solid var(--ink); }
.ring__core::after { content: ""; position: absolute; width: 9px; height: 9px; border-radius: 50%; background: var(--coral); top: -5px; left: 50%; margin-left: -4.5px; }

.sheet { position: absolute; z-index: 4; left: -112px; bottom: -7%; width: 292px; background: var(--white); border: 1px solid var(--line); border-radius: 6px; padding: 16px 18px 14px; font: 400 .7rem/1.4 var(--f-mono); color: var(--ink-2); transform: rotate(-2.5deg); box-shadow: 0 28px 50px -24px rgba(14, 42, 47, .4); }
.sheet__head span:last-child { white-space: nowrap; }
.sheet__head { display: flex; justify-content: space-between; gap: 12px; padding-bottom: 10px; margin-bottom: 8px; border-bottom: 1px dashed var(--line); text-transform: uppercase; letter-spacing: .08em; font-size: .6rem; color: var(--ink-3); }
.sheet__rows div { display: flex; justify-content: space-between; gap: 14px; padding: 5px 0; border-bottom: 1px solid var(--line-soft); }
.sheet__rows dt { color: var(--ink-3); }
.sheet__rows dd { color: var(--ink); font-weight: 500; text-align: right; }
.sheet__status { display: flex; align-items: center; gap: 8px; margin-top: 11px; color: var(--teal-deep); font-weight: 500; text-transform: uppercase; letter-spacing: .06em; font-size: .62rem; }
.sheet__led { width: 8px; height: 8px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 0 rgba(30, 123, 120, .5); animation: led 2.4s ease-out infinite; }

/* ---------- marquee ---------- */
.marquee { overflow: hidden; border-block: 1px solid var(--line); padding: 20px 0; background: var(--paper); }
.marquee__track { display: flex; align-items: center; width: max-content; animation: marquee 48s linear infinite; }
.marquee__w { font: italic 400 clamp(1.3rem, 2.2vw, 1.9rem)/1 var(--f-display); padding: 0 28px; white-space: nowrap; }
.marquee__dot { width: 10px; height: 10px; border-radius: 50%; border: 1.5px solid var(--teal); flex: none; }

/* ---------- sections ---------- */
.section { position: relative; padding: var(--sec) 0; }
.section--tight { padding-top: 0; }
.section--paper2 { background: var(--paper-2); }
.section--ink, .section--contact { background: var(--ink); color: var(--paper); }
.section--ink::before, .section--contact::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 14px; pointer-events: none;
  background:
    repeating-linear-gradient(90deg, rgba(244, 242, 236, .5) 0 1px, transparent 1px 60px) top / 100% 14px no-repeat,
    repeating-linear-gradient(90deg, rgba(244, 242, 236, .26) 0 1px, transparent 1px 12px) top / 100% 7px no-repeat;
}
.section--ink .label, .section--contact .label { color: var(--muted-inv); }
.section--ink .label__n, .section--contact .label__n { color: var(--paper); }

.shead { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; row-gap: 22px; margin-bottom: clamp(40px, 5vw, 72px); }
.shead .label { grid-column: 1 / -1; }
.shead__title { grid-column: 1 / span 8; font: 500 clamp(2rem, 4.3vw, 3.7rem)/1.04 var(--f-display); letter-spacing: -.02em; text-wrap: balance; }
.shead__lead { grid-column: 9 / -1; align-self: end; color: var(--ink-2); font-size: 1.02rem; }
.section--ink .shead__lead, .section--contact .shead__lead { color: var(--muted-inv); }
.quality__side .shead, .faq .shead, .contact__side .shead { display: block; }
.quality__side .shead > * + *, .faq .shead > * + *, .contact__side .shead > * + * { margin-top: 22px; }

/* ---------- services ---------- */
.svc { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.svc__item { position: relative; padding: clamp(24px, 2.6vw, 40px); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); transition: background .4s var(--ease); }
.svc__item::before { content: ""; position: absolute; left: -1px; right: -1px; top: -1px; height: 3px; background: var(--coral); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease); }
.svc__item:hover { background: var(--white); }
.svc__item:hover::before { transform: scaleX(1); }
.svc__n { font: 400 .7rem/1 var(--f-mono); letter-spacing: .12em; color: var(--ink-3); }
.svc__icon { display: grid; place-items: center; width: 58px; height: 58px; margin: 26px 0 24px; border-radius: 50%; background: var(--aqua-2); color: var(--teal-deep); transition: background .4s var(--ease), color .4s var(--ease), transform .6s var(--ease); }
.svc__icon .icon { width: 26px; height: 26px; }
.svc__item:hover .svc__icon { background: var(--ink); color: var(--aqua); transform: rotate(-8deg); }
.svc__title { font: 500 1.6rem/1.12 var(--f-display); letter-spacing: -.01em; margin-bottom: 12px; }
.svc__body { color: var(--ink-2); font-size: .98rem; }
.svc__points { margin-top: 22px; padding-top: 18px; border-top: 1px dashed var(--line); font: 400 .72rem/1.5 var(--f-mono); letter-spacing: .03em; color: var(--ink-2); display: grid; gap: 6px; }
.svc__points li::before { content: "+ "; color: var(--coral-deep); }

/* ---------- routes ---------- */
.routes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.route { position: relative; overflow: hidden; padding: clamp(28px, 3.6vw, 56px); border-radius: 10px; display: flex; flex-direction: column; min-height: 100%; }
.route::after { position: absolute; right: 10px; top: -48px; font: italic 600 clamp(12rem, 20vw, 19rem)/1 var(--f-display); pointer-events: none; }
.route--a { background: var(--paper-2); }
.route--a::after { content: "A"; color: rgba(14, 42, 47, .06); }
.route--b { background: var(--ink); color: var(--paper); }
.route--b::after { content: "B"; color: rgba(244, 242, 236, .07); }
.route__tag { font: 500 .72rem/1 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--teal-deep); }
.route--b .route__tag { color: var(--aqua); }
.route__title { font: 500 clamp(2.1rem, 3.4vw, 3rem)/1.02 var(--f-display); letter-spacing: -.02em; margin: 18px 0 16px; }
.route__body { max-width: 46ch; color: var(--ink-2); }
.route--b .route__body { color: var(--muted-inv); }
.route__points { margin: 28px 0 36px; display: grid; gap: 12px; font-size: .98rem; position: relative; z-index: 1; }
.route__points li { display: flex; gap: 12px; align-items: flex-start; }
.route__points .icon { width: 18px; height: 18px; margin-top: 4px; color: var(--teal); }
.route--b .route__points .icon { color: var(--coral); }
.route__cta { margin-top: auto; display: inline-flex; align-items: center; gap: 10px; align-self: flex-start; font-weight: 600; padding-bottom: 6px; border-bottom: 1px solid currentColor; position: relative; z-index: 1; }
.route__cta .icon { width: 18px; height: 18px; transition: transform .3s var(--ease); }
.route__cta:hover .icon { transform: translateX(5px); }

/* ---------- categories ---------- */
.cats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 2.6vw, 40px); }
.cat:nth-child(3n + 2) { margin-top: 64px; }
.cat__img { aspect-ratio: 4 / 5; overflow: hidden; border-radius: 999px 999px 8px 8px; background: linear-gradient(165deg, var(--aqua) 0%, var(--paper-2) 70%); }
.cat__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.cat:hover .cat__img img { transform: scale(1.06); }
.cat__txt { padding: 22px 4px 0; display: grid; grid-template-columns: auto 1fr; column-gap: 16px; }
.cat__n { grid-row: 1 / span 3; font: 400 .72rem/1 var(--f-mono); color: var(--ink-3); padding-top: 10px; letter-spacing: .1em; }
.cat__title { font: 500 1.55rem/1.1 var(--f-display); letter-spacing: -.01em; }
.cat__body { color: var(--ink-2); font-size: .96rem; margin-top: 8px; }
.cat__formats { margin-top: 12px; font: 400 .7rem/1.4 var(--f-mono); letter-spacing: .05em; text-transform: uppercase; color: var(--teal-deep); }

/* ---------- process ---------- */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(36px, 4vw, 64px) clamp(24px, 3vw, 48px); counter-reset: s; }
.step { position: relative; padding-top: 28px; border-top: 1px solid var(--line-inv); }
.step::before { content: ""; position: absolute; top: -4px; left: 0; width: 7px; height: 7px; border-radius: 50%; background: var(--coral); }
.step__n { font: italic 400 clamp(3.4rem, 5vw, 4.8rem)/1 var(--f-display); color: transparent; -webkit-text-stroke: 1px var(--aqua); letter-spacing: -.02em; }
.step__title { font: 500 1.5rem/1.15 var(--f-display); margin: 14px 0 10px; }
.step__body { color: var(--muted-inv); font-size: .97rem; }
.step__out { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 20px; font: 400 .7rem/1.3 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted-inv); }
.step__out .icon { width: 14px; height: 14px; color: var(--coral); }
.step__out strong { font-weight: 500; color: var(--aqua); }

/* ---------- quality ---------- */
.quality { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 110px); align-items: start; }
.quality__side { position: sticky; top: 120px; }
.origin { margin-top: 8px; padding: 28px; border-radius: 10px; background: var(--aqua-2); border: 1px solid rgba(30, 123, 120, .18); }
.origin__coords { font: 400 .7rem/1 var(--f-mono); letter-spacing: .1em; color: var(--teal-deep); }
.origin__title { font: 500 1.7rem/1.1 var(--f-display); margin: 14px 0 8px; }
.origin p:last-child { color: var(--ink-2); font-size: .96rem; }
.q { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 28px; padding: 34px 0; border-top: 1px solid var(--line); }
.q:last-child { border-bottom: 1px solid var(--line); }
.q__k { justify-self: start; align-self: start; font: 500 .72rem/1 var(--f-mono); letter-spacing: .08em; padding: 9px 13px; border: 1px solid var(--ink); border-radius: 999px; white-space: nowrap; }
.q__title { font: 500 1.6rem/1.12 var(--f-display); letter-spacing: -.01em; margin-bottom: 8px; }
.q__body { color: var(--ink-2); max-width: 58ch; }

/* ---------- clients ---------- */
.clients { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); }
.client { padding-top: 22px; border-top: 1px solid var(--ink); }
.client__n { font: 400 .72rem/1 var(--f-mono); letter-spacing: .1em; color: var(--ink-3); }
.client__title { font: 500 1.4rem/1.15 var(--f-display); margin: 16px 0 10px; }
.client p:last-child { color: var(--ink-2); font-size: .96rem; }

/* ---------- faq ---------- */
.faq { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 110px); align-items: start; }
.faq__item { border-top: 1px solid var(--line); }
.faq__item:last-child { border-bottom: 1px solid var(--line); }
.faq__item summary { display: flex; justify-content: space-between; align-items: center; gap: 24px; cursor: pointer; list-style: none; padding: 24px 0; font: 500 1.3rem/1.25 var(--f-display); letter-spacing: -.005em; transition: color .2s; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary:hover { color: var(--teal-deep); }
.faq__item summary .icon { width: 22px; height: 22px; padding: 9px; box-sizing: content-box; border: 1px solid var(--line); border-radius: 50%; transition: transform .4s var(--ease), background .3s, color .3s; }
.faq__item[open] summary .icon { transform: rotate(45deg); background: var(--ink); color: var(--paper); }
.faq__item p { padding: 0 64px 28px 0; color: var(--ink-2); max-width: 64ch; }

/* ---------- contact ---------- */
.contact { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 88px); align-items: start; }
.direct { display: grid; gap: 0; margin-bottom: 30px; }
.direct__row { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 16px; align-items: center; padding: 16px 0; border-top: 1px solid var(--line-inv); }
.direct__row:last-child { border-bottom: 1px solid var(--line-inv); }
.direct__ic { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-inv); color: var(--aqua); }
.direct__ic .icon { width: 19px; height: 19px; }
.direct__k { font: 400 .66rem/1 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted-inv); margin-bottom: 7px; }
.direct__v { font-size: 1.12rem; line-height: 1.3; overflow-wrap: anywhere; }
.direct__v a { border-bottom: 1px solid transparent; transition: border-color .2s, color .2s; }
.direct__v a:hover { color: var(--aqua); border-color: var(--aqua); }
.section--contact .btn--ghost { border-color: rgba(244, 242, 236, .4); color: var(--paper); }
.section--contact .btn--ghost:hover { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.btn--wa .icon { width: 19px; height: 19px; }
.btn--wa:hover .icon { transform: none; }

.formcard { background: var(--white); color: var(--ink); border-radius: 12px; padding: clamp(22px, 3.2vw, 48px); box-shadow: 0 50px 100px -50px rgba(0, 0, 0, .6); }
.form__title { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding-bottom: 18px; margin-bottom: 26px; border-bottom: 1px dashed var(--line); font: 500 1.5rem/1.1 var(--f-display); }
.form__ref { font: 400 .64rem/1 var(--f-mono); letter-spacing: .14em; color: var(--ink-3); }
.form__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 20px; margin-bottom: 18px; }
.field { display: grid; gap: 8px; align-content: start; }
.field label, .chips legend { font: 500 .68rem/1.2 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); }
.req { color: var(--coral-deep); margin-left: 4px; }
.opt { margin-left: 8px; font-weight: 400; color: var(--ink-3); text-transform: none; letter-spacing: .02em; }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 14px; border: 1px solid var(--line); border-radius: 6px; background: var(--paper);
  font-size: 1rem; line-height: 1.35; transition: border-color .2s, box-shadow .2s, background .2s; appearance: none; -webkit-appearance: none;
}
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%230E2A2F' stroke-width='1.5'%3E%3Cpath d='m1 1.5 5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 38px; }
.field textarea { resize: vertical; min-height: 132px; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: rgba(14, 42, 47, .4); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(30, 123, 120, .18); background: var(--white); }
.field.is-invalid input, .field.is-invalid select, .field.is-invalid textarea { border-color: var(--coral-deep); box-shadow: 0 0 0 3px rgba(185, 70, 46, .12); }
.field__err, .consent__err { font-size: .82rem; color: var(--coral-deep); }
.hint { font-size: .84rem; color: var(--ink-3); }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.chips { margin-bottom: 20px; }
.chips legend { margin-bottom: 10px; }
.chips__row { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.chip span { display: inline-block; padding: 9px 15px; border: 1px solid var(--line); border-radius: 999px; font-size: .9rem; line-height: 1.2; transition: background .2s, color .2s, border-color .2s; }
.chip:hover span { border-color: var(--ink); }
.chip input:checked + span { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.chip input:focus-visible + span { outline: 2px solid var(--teal); outline-offset: 2px; }

.consent { margin: 22px 0 26px; font-size: .9rem; color: var(--ink-2); }
.consent label { display: flex; gap: 12px; align-items: flex-start; cursor: pointer; }
.consent input { width: 19px; height: 19px; margin: 2px 0 0; accent-color: var(--teal-deep); flex: none; }
.consent a { color: var(--teal-deep); text-decoration: underline; text-underline-offset: 3px; }
.form__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; }
.form__note { flex: 1 1 220px; font-size: .84rem; color: var(--ink-3); }
.form__status { margin-top: 18px; padding: 14px 16px; border-radius: 6px; background: #FBE9E4; color: #8A2F1C; font-size: .94rem; }
.sent { text-align: center; padding: clamp(32px, 6vw, 80px) 12px; }
.sent:focus { outline: none; }
.sent__ic { display: inline-grid; place-items: center; width: 72px; height: 72px; border-radius: 50%; background: var(--aqua-2); color: var(--teal-deep); margin-bottom: 24px; }
.sent__ic .icon { width: 32px; height: 32px; }
.sent h3 { font: 400 2.4rem/1.05 var(--f-display); margin-bottom: 12px; }
.sent p { color: var(--ink-2); max-width: 44ch; margin-inline: auto; }
[hidden] { display: none !important; }

/* ---------- footer ---------- */
.footer { background: var(--ink-deep); color: var(--muted-inv); padding: clamp(56px, 7vw, 96px) 0 28px; font-size: .95rem; overflow: hidden; }
.footer .logo { color: var(--paper); --logo-tint: #4F8F8B; }
.footer__grid { display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr)); gap: clamp(28px, 4vw, 64px); }
.footer__brand p { margin-top: 18px; max-width: 34ch; }
.footer__h { font: 500 .68rem/1 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--paper); margin-bottom: 18px; }
.footer__list { display: grid; gap: 10px; }
.footer__list a { transition: color .2s; }
.footer__list a:hover { color: var(--aqua); }
.footer__addr { font-size: .88rem; }
.footer__word { margin: clamp(40px, 6vw, 80px) 0 clamp(24px, 3vw, 44px); color: rgba(244, 242, 236, .075); --logo-tint: rgba(244, 242, 236, .035); user-select: none; }
.footer__word .logo__svg { width: 100%; height: auto; }
.footer__base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px 24px; padding-top: 22px; border-top: 1px solid var(--line-inv); font: 400 .72rem/1.5 var(--f-mono); letter-spacing: .04em; }
.footer__top { display: inline-flex; align-items: center; gap: 8px; color: var(--paper); }
.footer__top .icon { width: 15px; height: 15px; transition: transform .3s var(--ease); }
.footer__top:hover .icon { transform: translateY(-3px); }

/* ---------- mobile action bar ---------- */
.mbar { display: none; }

/* ---------- legal page ---------- */
.legal { padding: clamp(56px, 8vw, 110px) 0 var(--sec); }
.legal__in { max-width: 780px; }
.legal__title { font: 400 clamp(2.6rem, 6vw, 4.6rem)/1 var(--f-display); letter-spacing: -.025em; margin: 24px 0 48px; }
.legal section { padding: 28px 0; border-top: 1px solid var(--line); }
.legal h2 { font: 500 1.5rem/1.2 var(--f-display); margin-bottom: 12px; }
.legal p + p { margin-top: 12px; }
.legal section p { color: var(--ink-2); }
.legal section a { color: var(--teal-deep); text-decoration: underline; text-underline-offset: 3px; }
.legal .route__cta { margin-top: 40px; }

/* ---------- motion ---------- */
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes led { 0% { box-shadow: 0 0 0 0 rgba(30, 123, 120, .55); } 70%, 100% { box-shadow: 0 0 0 9px rgba(30, 123, 120, 0); } }
@keyframes rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }

.js [data-load] { animation: rise 1s var(--ease) both; }
.js [data-load="1"] { animation-delay: .05s; }
.js [data-load="2"] { animation-delay: .15s; }
.js [data-load="3"] { animation-delay: .27s; }
.js [data-load="4"] { animation-delay: .42s; }
.js [data-load="5"] { animation-delay: .52s; }
.js [data-load="6"] { animation-delay: .62s; }
.js [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: calc(var(--d, 0) * 90ms); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js [data-reveal], .js [data-load] { opacity: 1; transform: none; }
}

/* ---------- responsive ---------- */
@media (max-width: 1180px) {
  .ring { left: -30px; width: 112px; height: 112px; }
  .sheet { left: -48px; }
  .hero__ruler { right: -26px; }
}
@media (max-width: 1020px) {
  .burger { display: block; }
  .nav { position: fixed; inset: 0; top: 0; z-index: -1; flex-direction: column; align-items: flex-start; justify-content: center; gap: 36px; padding: 120px var(--gut) 48px; background: var(--paper); opacity: 0; visibility: hidden; transform: translateY(-12px); transition: opacity .35s var(--ease), transform .35s var(--ease), visibility .35s; height: 100dvh; }
  .nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .nav__list { flex-direction: column; gap: 6px; font: 400 clamp(2rem, 7vw, 3rem)/1.15 var(--f-display); }
  .nav__extra { flex-wrap: wrap; }
  .header { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--paper); }
  body.nav-open { overflow: hidden; }

  .hero__in { grid-template-columns: 1fr; }
  .hero__visual { justify-self: center; width: min(78%, 420px); margin-top: 24px; }
  .shead__title { grid-column: 1 / -1; }
  .shead__lead { grid-column: 1 / -1; max-width: 62ch; }
  .svc, .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cat:nth-child(3n + 2) { margin-top: 0; }
  .cat:nth-child(2n) { margin-top: 48px; }
  .quality, .faq, .contact { grid-template-columns: 1fr; }
  .quality__side { position: static; }
  .clients { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  body { padding-bottom: 64px; }
  .topbar__note { display: none; }
  .topbar__in { justify-content: center; }
  .topbar__links a + a { display: none; }
  .routes { grid-template-columns: 1fr; }
  .mbar { position: fixed; z-index: 60; left: 0; right: 0; bottom: 0; display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; background: var(--ink); color: var(--paper); border-top: 1px solid var(--line-inv); padding-bottom: env(safe-area-inset-bottom); }
  .mbar a { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 58px; font: 600 .86rem/1 var(--f-text); border-right: 1px solid var(--line-inv); }
  .mbar a:last-child { border-right: 0; }
  .mbar .icon { width: 17px; height: 17px; }
  .mbar__main { background: var(--coral); color: var(--ink); }
  .q { grid-template-columns: 1fr; gap: 16px; }
  .faq__item p { padding-right: 0; }
}
@media (max-width: 620px) {
  .hero__title { font-size: clamp(2.9rem, 14.5vw, 4.4rem); }
  .hero__line--em { padding-left: 0; }
  .hero__visual { width: min(84%, 360px); margin-left: auto; margin-right: 8%; }
  .ring { left: -34px; top: 4%; width: 96px; height: 96px; }
  .ring__core { width: 28px; height: 28px; }
  .sheet { left: -22px; bottom: -9%; width: 226px; font-size: .64rem; padding: 12px 14px; }
  .hero__ruler { display: none; }
  .btn { white-space: normal; text-align: center; }
  .hero__cta .btn { flex: 1 1 100%; }
  .svc, .steps, .cats, .clients, .form__grid { grid-template-columns: 1fr; }
  .cat:nth-child(2n) { margin-top: 0; }
  .cat__img { aspect-ratio: 1 / 1; border-radius: 200px 200px 8px 8px; }
  .footer__grid { grid-template-columns: 1fr; }
  .form__title { flex-direction: column; gap: 8px; }
  .faq__item summary { font-size: 1.14rem; }
}

/* ---------- per-language fit: longer headlines need a smaller display size ---------- */
html[lang="es"] .hero__title { font-size: clamp(2.5rem, 5.4vw, 5.4rem); }
@media (max-width: 620px) { html[lang="es"] .hero__title { font-size: clamp(2.1rem, 10.4vw, 3.4rem); } }

/* ==========================================================================
   Inner pages — /formulas/ · /packaging/ · /mockup/ (+ the home "explore" cards)
   ========================================================================== */
.phead { position: relative; padding: clamp(48px, 7vw, 104px) 0 clamp(40px, 5vw, 76px); overflow: clip; }
.phead__in { position: relative; }
.phead__title { font: 500 clamp(2.6rem, 6vw, 5.4rem)/1 var(--f-display); letter-spacing: -.026em; margin: 26px 0 28px; max-width: 17ch; text-wrap: balance; }
.phead__lead { max-width: 64ch; font-size: clamp(1.05rem, 1.25vw, 1.2rem); color: var(--ink-2); }
.phead__note { display: flex; align-items: center; gap: 10px; margin-top: 22px; font: 400 .72rem/1.5 var(--f-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--teal-deep); }
.phead__note::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--coral); flex: none; }
.section--flush { padding-top: 0; padding-bottom: clamp(56px, 7vw, 104px); }
.section--band { padding: 0 0 var(--sec); }

.cta-band { position: relative; overflow: hidden; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 48px; padding: clamp(30px, 4.4vw, 64px); border-radius: 12px; background: var(--ink); color: var(--paper); }
.cta-band::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 12px; background: repeating-linear-gradient(90deg, rgba(244, 242, 236, .45) 0 1px, transparent 1px 60px) top / 100% 12px no-repeat, repeating-linear-gradient(90deg, rgba(244, 242, 236, .24) 0 1px, transparent 1px 12px) top / 100% 6px no-repeat; }
.cta-band__title { font: 500 clamp(1.8rem, 3vw, 2.7rem)/1.05 var(--f-display); letter-spacing: -.02em; }
.cta-band p { margin-top: 12px; max-width: 58ch; color: var(--muted-inv); }
.cta-band .btn--coral:hover { background: var(--paper); color: var(--ink); }

/* ---------- home: explore cards ---------- */
.xcards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(18px, 2.4vw, 36px); }
.xcards > li { display: flex; }
.xcard { display: flex; flex-direction: column; width: 100%; padding: 14px 14px 26px; border-radius: 14px; background: var(--white); border: 1px solid var(--line-soft); transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.xcard:hover { transform: translateY(-6px); box-shadow: 0 34px 60px -38px rgba(14, 42, 47, .45); }
.xcard__img { display: block; aspect-ratio: 4 / 3; border-radius: 9px; overflow: hidden; background: #EFEDE6; }
.xcard__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.xcard:hover .xcard__img img { transform: scale(1.05); }
.xcard__n { margin: 22px 12px 0; font: 400 .7rem/1 var(--f-mono); letter-spacing: .12em; color: var(--ink-3); }
.xcard__title { margin: 12px 12px 8px; font: 500 1.75rem/1.08 var(--f-display); letter-spacing: -.01em; }
.xcard__body { margin: 0 12px 22px; color: var(--ink-2); font-size: .97rem; }
.xcard__cta { margin: auto 12px 0; display: inline-flex; align-items: center; gap: 10px; font-weight: 600; color: var(--teal-deep); }
.xcard__cta .icon { width: 18px; height: 18px; transition: transform .3s var(--ease); }
.xcard:hover .xcard__cta .icon { transform: translateX(5px); }

/* ---------- formulas ---------- */
.fcards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(32px, 3.6vw, 60px) clamp(28px, 3.4vw, 56px); }
.fcard { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(18px, 2.2vw, 34px); align-items: start; padding-top: 30px; border-top: 1px solid var(--line); scroll-margin-top: 110px; }
.fcard__img { aspect-ratio: 4 / 5; border-radius: 999px 999px 8px 8px; overflow: hidden; background: linear-gradient(165deg, var(--aqua) 0%, var(--paper-2) 70%); }
.fcard__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.fcard:hover .fcard__img img { transform: scale(1.05); }
.fcard__meta { display: flex; justify-content: space-between; gap: 12px; font: 400 .7rem/1.2 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
.fcard__meta span:last-child { color: var(--teal-deep); }
.fcard__title { font: 500 clamp(1.6rem, 2.2vw, 2.15rem)/1.06 var(--f-display); letter-spacing: -.012em; margin: 14px 0 10px; }
.fcard__body { color: var(--ink-2); font-size: .98rem; }
.fcard__specs { display: grid; gap: 14px; margin: 20px 0 24px; padding-top: 18px; border-top: 1px dashed var(--line); }
.fcard__specs dt { font: 500 .64rem/1 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 8px; }
.fcard__specs dd { font-size: .92rem; color: var(--ink-2); }
.fcard__packs { display: flex; flex-wrap: wrap; gap: 6px; }
.fcard__packs a { display: inline-flex; align-items: baseline; gap: 7px; padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px; font-size: .85rem; color: var(--ink); transition: border-color .2s, background .2s; }
.fcard__packs a:hover { border-color: var(--ink); background: var(--white); }
.fcard__packs a span { font: 400 .66rem/1 var(--f-mono); color: var(--ink-3); }

/* ---------- packaging ---------- */
.pgrid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(28px, 3vw, 44px) clamp(18px, 2vw, 32px); }
.pcard { display: flex; flex-direction: column; scroll-margin-top: 110px; }
.pcard__img { aspect-ratio: 1 / 1; border-radius: 10px; overflow: hidden; background: #EFEDE6; border: 1px solid var(--line-soft); }
.pcard__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.pcard:hover .pcard__img img { transform: scale(1.04); }
.pcard:target .pcard__img { outline: 2px solid var(--coral); outline-offset: 4px; }
.pcard__txt { display: flex; flex-direction: column; flex: 1; padding: 18px 2px 0; }
.pcard__title { font: 500 1.4rem/1.12 var(--f-display); letter-spacing: -.01em; }
.pcard__sizes, .pcard__for { font: 400 .7rem/1.5 var(--f-mono); letter-spacing: .04em; color: var(--ink); }
.pcard__sizes { margin-top: 8px; }
.pcard__sizes span, .pcard__for span { color: var(--ink-3); text-transform: uppercase; letter-spacing: .1em; margin-right: 8px; }
.pcard__body { margin: 10px 0; color: var(--ink-2); font-size: .94rem; }
.pcard__try { margin-top: auto; padding-top: 14px; display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: .9rem; color: var(--teal-deep); }
.pcard__try .icon { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.pcard__try:hover .icon { transform: translateX(4px); }
.pnote { margin: 0 0 clamp(48px, 6vw, 88px); padding-top: 20px; border-top: 1px solid var(--line); font: 400 .74rem/1.6 var(--f-mono); letter-spacing: .04em; color: var(--ink-3); }

/* ---------- mockup studio ---------- */
.studio { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(24px, 3.6vw, 60px); align-items: start; }
.studio__stage { position: sticky; top: 100px; }
.studio__canvas { border-radius: 14px; overflow: hidden; background: #EFEDE6; border: 1px solid var(--line-soft); box-shadow: 0 44px 80px -54px rgba(14, 42, 47, .5); }
.studio__canvas canvas { display: block; width: 100%; height: auto; }
.studio__disclaimer { margin-top: 12px; font-size: .8rem; color: var(--ink-3); }
.studio__panel { display: grid; gap: 28px; }
.sstep { border: 0; padding: 0 0 28px; border-bottom: 1px solid var(--line); min-width: 0; }
.sstep legend, .sstep__legend { display: flex; align-items: center; gap: 12px; padding: 0; margin-bottom: 18px; font: 500 1.4rem/1.1 var(--f-display); }
.sstep legend span, .sstep__legend span { display: grid; place-items: center; width: 27px; height: 27px; border-radius: 50%; border: 1px solid var(--ink); font: 500 .7rem/1 var(--f-mono); }
.spacks { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px 8px; }
.spack { position: relative; display: block; cursor: pointer; }
.spack input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.spack__img { display: block; aspect-ratio: 1 / 1; border-radius: 9px; overflow: hidden; background: #EFEDE6; border: 1px solid var(--line); transition: box-shadow .25s var(--ease), border-color .25s; }
.spack__img img { width: 100%; height: 100%; object-fit: cover; }
.spack:hover .spack__img { border-color: var(--ink); }
.spack input:checked + .spack__img { border-color: var(--ink); box-shadow: 0 0 0 2px var(--ink); }
.spack input:focus-visible + .spack__img { outline: 2px solid var(--teal); outline-offset: 3px; }
.spack__name { display: block; margin-top: 7px; font-size: .68rem; line-height: 1.25; color: var(--ink-2); }
.drop { position: relative; display: grid; justify-items: center; gap: 8px; padding: 28px 18px; text-align: center; border: 1.5px dashed rgba(14, 42, 47, .36); border-radius: 12px; background: var(--white); cursor: pointer; transition: border-color .25s, background .25s; }
.drop:hover, .drop.is-over, .drop:focus-within { border-color: var(--teal); background: var(--aqua-2); }
.drop input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.drop .icon { width: 26px; height: 26px; color: var(--teal-deep); }
.drop__txt { font-weight: 500; }
.drop__hint { max-width: 42ch; font-size: .8rem; color: var(--ink-3); }
.drop__file { font: 500 .74rem/1.4 var(--f-mono); color: var(--teal-deep); overflow-wrap: anywhere; }
.studio__err { margin-top: 12px; padding: 12px 14px; border-radius: 6px; background: #FBE9E4; color: #8A2F1C; font-size: .9rem; }
.sfield { display: grid; grid-template-columns: 104px minmax(0, 1fr); align-items: center; gap: 14px; margin-bottom: 14px; }
.sfield label { font: 500 .68rem/1.2 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); }
.sfield input[type="range"] { width: 100%; accent-color: var(--teal-deep); cursor: pointer; }
.sactions { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 4px; }
.slink { padding: 0; border: 0; background: none; font-size: .86rem; color: var(--teal-deep); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.studio__cta { display: flex; flex-wrap: wrap; gap: 10px; }
.studio__cta .btn .icon { width: 18px; height: 18px; }
.studio__cta .btn--ink:hover .icon { transform: translateY(2px); }
.studio__privacy { display: flex; align-items: flex-start; gap: 10px; font-size: .84rem; color: var(--ink-3); }
.studio__privacy .icon { width: 17px; height: 17px; margin-top: 2px; color: var(--teal-deep); }
.studio__nojs { grid-column: 1 / -1; padding: 16px; border-radius: 8px; background: var(--paper-2); }

@media (max-width: 1180px) {
  .nav { gap: 18px; }
  .nav__list { gap: 16px; font-size: .88rem; }
  .pgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 1020px) {
  .xcards { grid-template-columns: 1fr; }
  .xcard { display: grid; grid-template-columns: minmax(0, 34%) minmax(0, 1fr); column-gap: 22px; align-items: start; padding: 14px; }
  .xcard__img { grid-row: 1 / span 4; aspect-ratio: 1 / 1; }
  .xcard__n { margin: 8px 0 0; }
  .xcard__title { margin: 10px 0 8px; }
  .xcard__body { margin: 0 0 14px; }
  .xcard__cta { margin: 0; }
  .fcards { grid-template-columns: 1fr; }
  .studio { grid-template-columns: 1fr; }
  .studio__stage { top: 76px; z-index: 5; padding: 10px 0; background: var(--paper); }
  .studio__canvas { max-width: min(62vh, 520px); margin-inline: auto; }
  .studio__disclaimer { text-align: center; }
}
@media (max-width: 760px) {
  .pgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cta-band .btn { width: 100%; }
}
@media (max-width: 620px) {
  .fcard { grid-template-columns: 104px minmax(0, 1fr); }
  .fcard__img { border-radius: 60px 60px 6px 6px; }
  .spacks { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .studio__canvas { max-width: min(44vh, 340px); }
  .sfield { grid-template-columns: 88px minmax(0, 1fr); }
  .studio__cta .btn { flex: 1 1 100%; }
  .xcard { grid-template-columns: 96px minmax(0, 1fr); column-gap: 14px; }
  .xcard__title { font-size: 1.35rem; }
}

.pcard--ask a { display: flex; flex-direction: column; justify-content: flex-end; gap: 10px; height: 100%; min-height: 280px; padding: 26px; border-radius: 10px; border: 1.5px dashed rgba(14, 42, 47, .32); transition: border-color .25s, background .25s; }
.pcard--ask a:hover { border-color: var(--teal); background: var(--aqua-2); }
.pcard--ask .pcard__title { font: 500 1.6rem/1.1 var(--f-display); }
.pcard--ask .pcard__body { margin: 0; }
.pcard--ask .pcard__try { margin-top: 6px; padding-top: 0; }

/* ---------- nav: seven links + language + CTA need room → the menu collapses earlier than the layout ---------- */
.nav__list a { white-space: nowrap; }
@media (max-width: 1320px) {
  .burger { display: block; }
  .nav { position: fixed; inset: 0; z-index: -1; flex-direction: column; align-items: flex-start; justify-content: center; gap: 36px; padding: 120px var(--gut) 48px; background: var(--paper); opacity: 0; visibility: hidden; transform: translateY(-12px); transition: opacity .35s var(--ease), transform .35s var(--ease), visibility .35s; height: 100dvh; }
  .nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .nav__list { flex-direction: column; gap: 6px; font: 400 clamp(1.9rem, 6vw, 2.8rem)/1.15 var(--f-display); }
  .nav__list a { white-space: normal; }
  .nav__extra { flex-wrap: wrap; }
  .header { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--paper); }
  body.nav-open { overflow: hidden; }
}

/* ---------- certification seals (ACENE) ---------- */
.seals { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 28px; margin-top: 22px; padding: 22px 24px; border-radius: 10px; background: var(--white); border: 1px solid var(--line-soft); }
.seals__row { display: flex; gap: 10px; flex: none; }
.seals__row img { width: 84px; height: 84px; mix-blend-mode: multiply; }
.seals > div { flex: 1 1 220px; }
.seals__title { font: 500 1.25rem/1.15 var(--f-display); margin-bottom: 6px; }
.seals__body { font-size: .92rem; color: var(--ink-2); max-width: 46ch; }
.seals--page { margin: -8px 0 clamp(36px, 4vw, 56px); }
@media (max-width: 620px) { .seals__row img { width: 68px; height: 68px; } }
