/* Existing layout, colours, photographs and typography are preserved. */
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid #7a1f2b; outline-offset: 4px; }
footer :focus-visible { outline-color: #e8a0a8; }
section[id] { scroll-margin-top: 96px; }
#main:focus { outline: none; }
.sr-only { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }
.skip-link { position:fixed; top:8px; left:12px; z-index:100; padding:12px 18px; color:#fff; background:#7a1f2b; border-radius:8px; transform:translateY(-160%); }
.skip-link:focus { transform:translateY(0); }
header.sticky { -webkit-backdrop-filter:blur(8px); }
button, a, input, select, textarea { -webkit-tap-highlight-color:rgba(122,31,43,.14); }
button { cursor:pointer; }
button:disabled { cursor:wait; opacity:.65; }
#request-form input:not([type=checkbox]), #request-form select, #request-form textarea { min-width:0; transition:border-bottom-color 160ms ease; }
#request-form input:not([type=checkbox]):focus, #request-form select:focus, #request-form textarea:focus { outline:none; box-shadow:none; border-bottom-color:#7a1f2b; }
#request-form textarea { min-height:108px; }
#request-form [type=submit][aria-disabled="true"] { opacity:.45; }
#request-form [type=submit]:disabled { cursor:not-allowed; }
#request-form[aria-busy="true"] [type=submit] { cursor:wait; }
.consent-check { display:flex; align-items:flex-start; gap:10px; margin-top:22px; font-size:13px; line-height:1.6; cursor:pointer; }
.consent-check input { flex:0 0 19px; width:19px; height:19px; margin-top:3px; accent-color:#7a1f2b; appearance:auto; -webkit-appearance:checkbox; }
.consent-check span { min-width:0; }
.consent-check a, .form-note a, .cookie-notice a, .legal-document a:not(.legal-button) { color:#7a1f2b; text-decoration:underline; text-underline-offset:3px; }
.form-note { margin-top:12px; font-size:12px; line-height:1.6; color:#625b54; }
.form-error { margin-top:16px; padding:12px; border-left:3px solid #7a1f2b; background:#f6e6e5; color:#641927; font-size:14px; line-height:1.6; }
.form-trap { position:absolute; left:-10000px; width:1px; height:1px; overflow:hidden; }
.legal-footer { max-width:1280px; margin:0 auto; padding:0 20px 28px; color:#c0b8ad; font-size:12px; line-height:1.7; }
.legal-footer p + p { margin-top:6px; }
.legal-links { display:flex; flex-wrap:wrap; gap:6px 22px; padding-bottom:16px; font-size:13px; }
.legal-links a, .legal-links button { display:inline-flex; align-items:center; min-height:40px; text-decoration:underline; text-underline-offset:3px; text-align:left; }
.legal-links a:hover, .legal-links button:hover { color:#f5f2ec; }
.cookie-notice { position:fixed; z-index:70; bottom:16px; left:20px; right:20px; margin:auto; max-width:1100px; padding:20px 24px; background:#fffdf8; color:#1c1a18; border:1px solid #d1c8b9; border-radius:12px; box-shadow:0 8px 35px rgba(28,26,24,.18); display:flex; align-items:center; gap:22px; max-height:calc(100vh - 32px); overflow:auto; }
.cookie-notice > div:first-child { flex:1; }
.cookie-notice p { font-size:13px; line-height:1.6; }
.cookie-actions { display:flex; flex:0 0 auto; flex-direction:column; gap:8px; }
.legal-button { display:inline-flex; justify-content:center; align-items:center; min-height:44px; padding:10px 20px; border-radius:30px; border:1px solid #7a1f2b; background:#7a1f2b; color:#fff; font-size:13px; font-weight:700; line-height:1.5; text-decoration:none; }
.legal-button:hover { background:#5e1520; }
.legal-button.secondary { background:transparent; color:#7a1f2b; }
.legal-button.secondary:hover { background:#f5f2ec; }
.legal-page { background:#f5f2ec; color:#1c1a18; }
.legal-header { max-width:1160px; margin:auto; padding:20px 24px; border-bottom:1px solid #d7d1c7; display:flex; align-items:center; justify-content:space-between; gap:20px; }
.legal-header a { display:flex; align-items:center; gap:12px; font-size:14px; font-weight:700; }
.legal-header strong { font-size:22px; }
.legal-header svg { width:36px; height:36px; flex-shrink:0; }
.legal-document { max-width:860px; margin:0 auto; padding:48px 24px 72px; font-size:16px; line-height:1.8; overflow-wrap:anywhere; }
.legal-document .back-link { display:inline-block; margin-bottom:24px; font-size:14px; }
.legal-document h1 { margin-bottom:24px; font-size:40px; line-height:1.15; font-weight:800; letter-spacing:-.025em; }
.legal-document h2 { margin:32px 0 12px; font-size:24px; line-height:1.3; font-weight:800; }
.legal-document p, .legal-document ul { margin-bottom:16px; }
.legal-document ul { list-style:disc; padding-left:24px; }
.legal-document li + li { margin-top:12px; }
.legal-document code { font-size:.875em; }
.legal-page-footer { background:#1c1a18; padding-top:28px; }
.copyright { border-top:1px solid #3b3733; text-align:center; padding:18px; font-size:12px; color:#b9b0a5; }
.requisites dt { color:#625b54; font-size:14px; margin-top:20px; }
.requisites dd { font-weight:700; }
/* Natural-height FAQ animation also reverses smoothly after repeated taps. */
.faq-panel { display:grid; grid-template-rows:0fr; opacity:0; visibility:hidden; transition:grid-template-rows 320ms cubic-bezier(.22,.61,.36,1), opacity 240ms ease, visibility 0s 320ms; }
.faq-panel.is-open { grid-template-rows:1fr; opacity:1; visibility:visible; transition-delay:0s; }
.faq-panel-content { min-height:0; overflow:hidden; }
.faq-btn { border-radius:4px; transition:color 180ms ease, background-color 180ms ease; }
.faq-btn > span:first-child { transition:transform 180ms ease; }
.faq-btn .faq-plus { flex-shrink:0; transform:rotate(0); transform-origin:center; transition:transform 320ms cubic-bezier(.22,.61,.36,1), color 180ms ease; }
.faq-btn[aria-expanded="true"] .faq-plus { transform:rotate(45deg); }
.faq-btn:focus-visible { color:#7a1f2b; background:rgba(122,31,43,.045); }
@media (hover:hover) and (pointer:fine) {
  .faq-btn:hover { color:#7a1f2b; background:rgba(122,31,43,.045); }
  .faq-btn:hover > span:first-child { transform:translateX(3px); }
  .faq-btn:hover .faq-plus { color:#5e1520; }
}
.faq-btn:active { background:rgba(122,31,43,.09); }
@media (max-width:639px) {
  #request-form input:not([type=checkbox]), #request-form textarea, #request-form select { font-size:16px; }
  .cookie-notice { bottom:10px; left:10px; right:10px; padding:16px; display:block; }
  .cookie-actions { flex-direction:row; margin-top:12px; flex-wrap:wrap; }
  .cookie-actions button { flex:1 1 140px; }
  .legal-document { padding:32px 20px 48px; }
  .legal-document h1 { font-size:30px; }
  .legal-document h2 { font-size:21px; }
  .legal-header { padding:18px 20px; }
  .legal-header strong { font-size:18px; }
  .legal-header a { font-size:12px; }
  .legal-footer { padding-bottom:24px; }
  .legal-links { gap:4px 18px; }
}
@media (prefers-reduced-motion:reduce) {
  html { scroll-behavior:auto !important; }
  *, *::before, *::after { transition:none !important; animation:none !important; }
}
@media print {
  header, footer, .cookie-notice, .skip-link, .back-link { display:none !important; }
  .legal-document { max-width:none; padding:0; font-size:11pt; }
  .legal-document h1 { font-size:22pt; }
  .legal-document h2 { font-size:15pt; break-after:avoid; }
  .legal-page { background:white; color:black; }
}
/* Keep long job titles inside the menu on narrow phones. */
@media (max-width:479px) {
  .role-btn { grid-template-columns:minmax(0,1fr); row-gap:8px; }
  .role-btn > span { grid-column:1; min-width:0; }
  .role-btn > span:nth-child(2) { justify-content:space-between; }
}
/* The contact CTA opens the same form in a native, keyboard-accessible dialog. */
html.request-open, body.request-open { overflow:hidden; overscroll-behavior:none; }
.request-dialog:not([open]) { display:none; }
.request-dialog { position:fixed; inset:0; margin:auto; width:calc(100% - 32px); max-width:640px; max-height:calc(100vh - 32px); max-height:calc(100dvh - 32px); padding:0; border:0; border-top:8px solid #7a1f2b; background:#fffdf8; color:#1c1a18; box-shadow:0 20px 80px rgba(28,26,24,.3); overflow:hidden; }
.request-dialog[open] { display:flex; flex-direction:column; }
.request-dialog::backdrop { background:rgba(28,26,24,.65); }
.request-dialog-header { display:flex; align-items:center; justify-content:space-between; flex:0 0 auto; gap:16px; padding:12px 28px; border-bottom:1px solid #ded7cc; }
.request-dialog-header h2 { font-size:24px; font-weight:800; line-height:1.3; }
.request-dialog-header h2:focus { outline:none; }
.request-dialog-close { flex:0 0 44px; width:44px; height:44px; border-radius:50%; color:#7a1f2b; font-size:32px; line-height:1; }
.request-dialog-close:hover { background:#eee6dc; }
.request-dialog-body { min-height:0; overflow-y:auto; overscroll-behavior:contain; -webkit-overflow-scrolling:touch; }
.request-dialog #request-form { border-top:0; box-shadow:none; }
.request-dialog #form-done { box-shadow:none; }
.consent-dialog { max-width:480px; }
.consent-dialog-body { padding:24px 28px 28px; font-size:16px; line-height:1.65; }
.consent-dialog-body a { color:#7a1f2b; text-decoration:underline; text-underline-offset:3px; }
.consent-dialog-body .legal-button { width:100%; margin-top:24px; font-size:15px; }
.legal-header [data-request-open] { font-size:14px; font-weight:700; text-align:right; }
@media (max-width:639px) {
  .request-dialog { width:calc(100% - 20px); max-height:calc(100vh - 20px); max-height:calc(100dvh - 20px); }
  .request-dialog-header { padding:8px 16px; }
  .request-dialog-header h2 { font-size:21px; }
  .request-dialog #request-form, .request-dialog #form-done { padding:20px; }
  .consent-dialog-body { padding:20px; }
  .legal-header [data-request-open] { font-size:12px; }
}
