/* Variant 1 footer on inner pages (light, 12-col grid, newsletter, fish-hover invert) */
.inner .site-footer{padding:56px 5% 32px;border-top:1px solid #000;background:#fff;color:#000;font-size:18px;line-height:1.5;transition:background .3s ease,color .3s ease}
.inner .site-footer a{color:inherit;border:0;text-decoration:none;transition:color .3s,border-color .3s}
.inner .site-footer a:hover{color:#FF8827}
.inner .site-footer .f-grid{display:grid;grid-template-columns:repeat(12,1fr);gap:48px 24px;align-items:start}
.inner .site-footer .f-brand{grid-column:1/4;display:flex;flex-direction:column;gap:20px}
.inner .site-footer .f-brand a{display:flex;align-items:center;gap:12px;font-size:19px;font-weight:800;letter-spacing:-.01em;line-height:1;align-self:flex-start}.inner .site-footer .f-brand img{width:40px;height:auto;display:block;transition:transform .5s ease}.inner .site-footer .f-brand a:hover img{transform:rotateY(180deg)}.inner .site-footer .f-brand a:hover{color:inherit}
.inner .site-footer .f-brand p{margin:0;font-size:15px;line-height:1.5;color:#333;max-width:30ch}
.inner .site-footer .f-menu{grid-column:4/6;display:flex;flex-direction:column;gap:6px;font-size:15px;line-height:1.4}
.inner .site-footer .f-menu .f-label{font-size:12px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:#555;margin-bottom:6px}
.inner .site-footer .f-menu a{align-self:flex-start}
.inner .site-footer dl{grid-column:6/9;margin:0;font-size:15px;line-height:1.4;display:flex;flex-direction:column;gap:18px}
.inner .site-footer dl div{display:flex;flex-direction:column;gap:4px}
.inner .site-footer dt,.inner .site-footer label{font-size:12px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:#555}
.inner .site-footer dd{margin:0}.inner .site-footer dd a{border-bottom:1px solid #000}
.inner .site-footer form{grid-column:9/13;display:flex;flex-direction:column;gap:12px}
.inner .site-footer .f-field{display:flex;border-bottom:1px solid #000}
.inner .site-footer input{flex:1;min-width:0;border:0;padding:12px 0;font:inherit;font-size:18px;background:transparent;color:#000;outline-offset:4px}
.inner .site-footer input::placeholder{color:#666}
/* Subscribe: text link with a bold arrow (no pill) */
.inner .site-footer .f-field button{display:inline-flex;align-items:center;gap:8px;border:0;border-radius:0;background:none;color:inherit;min-height:44px;padding:0 0 0 16px;margin:0;align-self:center;font:inherit;font-size:13px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;line-height:1;cursor:pointer;white-space:nowrap;transition:color .3s}
.inner .site-footer .f-field button:hover{color:#FF8827}
.inner .site-footer .f-field button:focus-visible{outline:2px solid #FF8827;outline-offset:3px}
.inner .site-footer .f-arrow{display:block;flex-shrink:0;transition:transform .3s}
.inner .site-footer .f-field button:hover .f-arrow{transform:translateX(3px)}
/* External links (Instagram): bold diagonal arrow */
.inner .site-footer .f-ext{display:inline-flex;align-items:center;gap:5px}
.inner .site-footer .f-ext:hover .f-arrow{transform:translate(2px,-2px)}
.inner .site-footer .f-bottom{display:flex;justify-content:space-between;align-items:center;gap:16px 32px;flex-wrap:wrap;margin-top:64px;padding-top:20px;border-top:1px solid #000;font-size:13px;color:#555}
.inner .site-footer .f-bottom>div{display:flex;align-items:center;gap:24px;flex-wrap:wrap}
.inner .site-footer .f-bottom>div:last-child{gap:32px}
.inner .site-footer .f-made{display:inline-flex;align-items:center;gap:8px}.inner .site-footer .f-made:hover{color:#F34141}.inner .site-footer .f-made img{width:18px;height:18px;display:block}
.inner .site-footer .f-lang{display:flex;gap:10px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:#000}
.inner .site-footer .f-lang button{padding:4px 0;font-size:13px;letter-spacing:inherit;border-bottom:2px solid transparent}
.inner .site-footer .f-lang button[aria-pressed=true]{border-bottom-color:#000}
/* fish hover inverts the whole footer */
.inner .site-footer:has(.f-brand a:hover){background:#000;color:#fff}
.inner .site-footer:has(.f-brand a:hover) *{color:#fff!important;border-color:#fff!important}
.inner .site-footer:has(.f-brand a:hover) img{filter:invert(1)}
.inner .site-footer:has(.f-brand a:hover) img[alt="ScaleMeUp"]{filter:none}
.inner .site-footer:has(.f-brand a:hover) input::placeholder{color:#bbb}
.inner.theme-blue .site-footer{border-top-color:rgba(255,255,255,.25)}
@media(max-width:800px){.inner .site-footer{padding:34px 6% 22px}.inner .site-footer .f-grid{grid-template-columns:1fr 1fr;gap:26px 24px}.inner .site-footer .f-brand,.inner .site-footer form{grid-column:1/-1}.inner .site-footer .f-brand{gap:14px}.inner .site-footer .f-menu{grid-column:1/2}.inner .site-footer dl{grid-column:2/3;gap:14px}.inner .site-footer .f-bottom{flex-direction:column;align-items:flex-start;margin-top:32px}}

/* Cookie notice (shared choice with the homepage: localStorage rybalab_cookies) */
.cookie-notice{position:fixed;left:24px;right:24px;bottom:24px;z-index:50;display:flex;align-items:center;justify-content:space-between;gap:24px 48px;padding:20px 24px;background:#fff;color:#000;border:1px solid #000;box-shadow:0 24px 48px rgba(0,0,0,.18);max-width:1120px;margin:0 auto;font-family:'Inter Tight',system-ui,sans-serif}
.cookie-notice[hidden]{display:none}
.cookie-notice p{margin:0;font-size:15px;line-height:1.45;max-width:64ch;color:#000}
.cookie-actions{display:flex;align-items:center;gap:12px;flex-shrink:0}
.cookie-actions button{font:inherit;font-size:14px;min-height:44px;padding:0 20px;border-radius:999px;cursor:pointer;white-space:nowrap;border:1px solid #000;background:none;color:#000;transition:background .3s,color .3s,border-color .3s}
.cookie-actions button:hover{background:#000;color:#fff}.cookie-actions button:focus-visible{outline:2px solid #FF8827;outline-offset:3px}
.cookie-actions button[data-cookie=all]{background:#000;color:#fff}.cookie-actions button[data-cookie=all]:hover{background:#FF8827;color:#000;border-color:#FF8827}
@media(max-width:800px){.cookie-notice{flex-direction:column;align-items:flex-start;left:12px;right:12px;bottom:12px;padding:18px}}

/* Footer spans the full width like the header: same side padding (48px, 3.4% below 1024px),
   brand left, newsletter pinned right, bottom rule edge to edge, legal links to the right edge. */
.inner .site-footer{--fpad:48px;padding:56px var(--fpad) 32px}
.inner .site-footer .f-grid{grid-template-columns:minmax(0,1.2fr) auto auto minmax(0,1fr);column-gap:clamp(32px,5vw,96px)}
.inner .site-footer .f-brand{grid-column:1}
.inner .site-footer .f-menu{grid-column:2}
.inner .site-footer dl{grid-column:3}
.inner .site-footer form{grid-column:4;justify-self:end;width:100%;max-width:520px}
.inner .site-footer .f-bottom{margin-left:calc(-1 * var(--fpad));margin-right:calc(-1 * var(--fpad));padding:20px var(--fpad) 0}
@media(max-width:1023px){
  .inner .site-footer{--fpad:3.4vw}
  .inner .site-footer .f-grid{grid-template-columns:repeat(3,auto)}
  .inner .site-footer form{grid-column:1/-1;justify-self:stretch;max-width:none}
}
@media(max-width:800px){
  .inner .site-footer{padding:34px var(--fpad) 22px}
  .inner .site-footer .f-grid{grid-template-columns:1fr 1fr}
  .inner .site-footer .f-brand,.inner .site-footer form{grid-column:1/-1}
  .inner .site-footer .f-menu{grid-column:1}
  .inner .site-footer dl{grid-column:2}
  .inner .site-footer .f-bottom>div:last-child{gap:10px 24px}
}
/* Mobile: legal links on one line first, © and Developed by last */
@media(max-width:800px){
  .inner .site-footer .f-bottom>div:last-child{order:-1;flex-wrap:nowrap;gap:18px;white-space:nowrap;font-size:clamp(11px,3.3vw,13px)}
  .inner .site-footer .f-bottom>div:last-child:lang(uk){gap:14px;font-size:min(2.8vw,13px)}
}

/* Form states (design_handoff_form_states) */

/* ---------- Subscribe (footer .f-field, Open Call .oc-field) ---------- */
.f-field:focus-within,.oc-field:focus-within{border-bottom-color:#FF8827}
.f-field.is-invalid,.oc-field.is-invalid{border-bottom-color:#c34d00!important}
.f-field.is-busy,.oc-field.is-busy{opacity:.55;pointer-events:none}
.f-field button:disabled,.oc-field button:disabled{cursor:default;color:inherit}
.f-msg{margin:-4px 0 0;font-size:14px;line-height:1.4}            /* footer: form gap is 12px → 8px under the rule */
.oc-form .f-msg{margin:8px 0 0}                                   /* open call: form gap is 4px */
.f-msg[hidden]{display:none}
.f-msg--error{color:#c34d00}
.f-msg--notice{color:#14305F}
.f-msg a{color:inherit;border-bottom:1px solid currentColor;text-decoration:none}
.f-done{margin:0;display:flex;align-items:center;gap:12px;min-height:49px;border-bottom:1px solid currentColor;font-size:18px;line-height:1.3}
.f-done .f-check{flex-shrink:0}
.inner .site-footer .f-done{color:#000}
.oc-form .f-done{color:var(--blue)}
/* footer inverted hover: keep error red, everything else goes white via existing rule */
.inner .site-footer:has(.f-brand a:hover) .f-msg--error,.inner .site-footer:has(.f-brand a:hover) .f-field.is-invalid{color:#c34d00!important;border-color:#c34d00!important}

/* ---------- Spinner (shared) ---------- */
.f-spin{display:inline-block;width:14px;height:14px;border-radius:50%;border:2.5px solid currentColor;border-right-color:transparent;animation:f-spin .8s linear infinite;flex-shrink:0}
@keyframes f-spin{to{transform:rotate(360deg)}}
@media(prefers-reduced-motion:reduce){.f-spin{animation:none;border-right-color:currentColor;opacity:.5}}

/* ---------- Contact / Let's talk (.apply-form) ---------- */
.apply-form input:focus,.apply-form textarea:focus{border-bottom-color:#FF8827}
.apply-form .is-invalid input,.apply-form .is-invalid textarea{border-bottom-color:#c34d00}
.f-error{margin:0;font-size:14px;line-height:1.4;color:#c34d00}.f-error[hidden]{display:none}
.apply-form.is-busy input,.apply-form.is-busy textarea{pointer-events:none}
.apply-form .oc-button:disabled{cursor:default}
.apply-form.is-busy .oc-button{opacity:.6}
.apply-form.is-blocked .oc-button{opacity:.4}
.apply-form .oc-button:disabled:hover{background:var(--blue);color:#fff;border-color:var(--blue)}
.f-status{margin:0;font-size:14px;line-height:1.4;flex:1;min-width:200px}
.f-status[hidden]{display:none}
.f-status--error{color:#c34d00}
.f-status--notice{color:var(--blue)}
.f-status a{color:inherit;border-bottom:1px solid currentColor;text-decoration:none}
/* success panel replaces the <form>; min-height = measured form height to avoid a page jump */
.f-sent{display:flex;flex-direction:column;justify-content:center;gap:20px;padding:32px;background:#fff;color:var(--blue);min-height:var(--form-h,380px)}
.sup-form .f-sent{background:#e8edf0}       /* Support page sits on paper, so the panel is grey */
.f-sent h3{margin:0;font-size:32px;font-weight:500;letter-spacing:-.03em;line-height:1.05}
.f-sent p{margin:0;font-size:18px;line-height:1.5;color:var(--ink);max-width:36ch;text-wrap:pretty}
.f-sent p strong{font-weight:600}
.f-sent .f-again{align-self:flex-start;display:inline-flex;align-items:center;gap:8px;margin-top:8px;font-size:13px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:var(--blue);border:0;background:none;padding:0;cursor:pointer;font-family:inherit;transition:color .3s}
.f-sent .f-again:hover{color:#FF8827}.f-sent .f-again:hover .f-arrow{transform:translateX(3px)}
.f-sent .f-arrow{transition:transform .3s}
@media(max-width:800px){.f-sent{padding:24px}.f-sent h3{font-size:28px}}
.f-field[hidden],.oc-field[hidden],.apply-form[hidden]{display:none!important}
.apply-form .f-spin,.f-field .f-spin,.oc-field .f-spin{margin-left:2px}
.f-sent:focus,.f-status:focus{outline:none}
