/* B / Rezonans — sector-led single-page website. */
.risada-spa { --focus: #873921; }
.risada-spa [id] { scroll-margin-top: 28px; }
.risada-spa .topbar { height: 104px; }
.risada-spa .nav { gap: 30px; }
.risada-spa .home-hero { padding-top: 40px; }
.risada-spa .home-hero h1 { max-width: 16ch; font-size: clamp(3.6rem, 6.4vw, 6.6rem); }
.risada-spa .home-hero p { max-width: 57ch; color: var(--muted); font-size: 1.05rem; }
.risada-spa .home-hero .art-frame { --art-height: 205px; --control-band: 56px; margin-top: 14px; height: calc(var(--art-height) - var(--control-band)); }
.risada-spa .home-hero .hero-art,
.risada-spa .home-hero .motion-canvas { height: var(--art-height); }
.risada-spa .sector-index { gap: 18px; padding: 30px 0 22px; font-size: .82rem; }
.risada-spa .sector-index > span { color: #8d9aab; }
.risada-spa .sector-section { padding-top: 76px; }
.risada-spa .section-head { margin-bottom: 46px; align-items: end; }
.risada-spa .section-head h2 { font-weight: 450; max-width: none; }
.risada-spa .section-head > p { color: var(--muted); max-width: 43ch; padding-bottom: 5px; }
.risada-spa .sector-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.risada-spa .sector-card { display: flex; flex-direction: column; padding: 32px 30px 30px; min-width: 0; }
.risada-spa .sector-card:first-child { padding-left: 0; }
.risada-spa .sector-card:last-child { padding-right: 0; }
.risada-spa .sector-card + .sector-card { border-left: 1px solid var(--line); }
.risada-spa .sector-heading { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 25px; font-size: .7rem; }
.risada-spa .sector-number { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: var(--paper); font-size: .69rem; }
.risada-spa .sector-type { color: var(--muted); }
.risada-spa .sector-card h3 { font-size: clamp(2.1rem, 3.1vw, 3rem); font-weight: 450; min-height: 2.36em; }
.risada-spa .sector-intro { margin-top: 18px; color: var(--muted); font-size: .9rem; min-height: 4.8em; max-width: 35ch; }
.risada-spa .flow-label { color: var(--muted); font-size: .68rem; letter-spacing: .025em; margin-top: 22px; }
.risada-spa .flow-list { list-style: none; padding: 0; margin: 10px 0 30px; flex: 1; }
.risada-spa .flow-list li { position: relative; padding: 20px 0 20px 19px; border-top: 1px solid var(--line); }
.risada-spa .flow-list li::before { content: ''; position: absolute; left: 0; top: 28px; width: 6px; height: 6px; border-radius: 50%; background: #a54730; }
.risada-spa .flow-list h4 { margin: 0 0 8px; font-size: .88rem; font-weight: 700; line-height: 1.45; letter-spacing: -.02em; }
.risada-spa .flow-list p { color: var(--muted); font-size: .835rem; line-height: 1.65; }
.risada-spa .sector-cta { font-size: .79rem; font-weight: 700; border-bottom: 1px solid var(--ink); align-self: start; padding-bottom: 4px; margin-top: auto; }
.risada-spa .sector-cta:hover { color: #873921; border-color: currentColor; }
.risada-spa .sector-note { display: flex; align-items: center; gap: 12px; margin-top: 27px; color: var(--muted); font-size: .83rem; }
.risada-spa .sector-note a { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }
.risada-spa .note-dot { width: 7px; height: 7px; flex: none; background: var(--accent); border-radius: 50%; }
.risada-spa .working-section { background: #dce5ef; }
.risada-spa .process h2 { max-width: 15ch; font-weight: 450; }
.risada-spa .process-intro { color: var(--muted); max-width: 43ch; }
.risada-spa .steps h3 { font-size: 1.8rem; font-weight: 450; }
.risada-spa .steps li { padding: 25px 0; }
.risada-spa .steps p { font-size: .91rem; }
.risada-spa .integration-note { margin-top: 30px; padding-left: 18px; border-left: 2px solid var(--accent); }
.risada-spa .integration-note > span { font-size: .82rem; font-weight: 700; }
.risada-spa .integration-note p { color: var(--muted); font-size: .84rem; margin-top: 8px; }
.risada-spa .story-strip { background: transparent; padding-top: 58px; padding-bottom: 58px; }
.risada-spa .story-strip h2 { font-weight: 450; font-size: 3.2rem; transform: translateX(-.03em); }
.risada-spa .story-strip .eyebrow { margin-bottom: 16px; }
.risada-spa .story-strip p { color: var(--muted); font-size: .93rem; margin: 0; }
.risada-spa .contact-layout { grid-template-columns: 1fr 1.15fr; gap: 7vw; align-items: start; }
.risada-spa .contact-layout h2 { font-weight: 450; font-size: clamp(2.6rem, 4.3vw, 4.5rem); max-width: 15ch; }
.risada-spa .contact-layout .intro { color: var(--muted); font-size: .94rem; max-width: 38ch; }
.risada-spa .contact-details { font-size: .91rem; }
.risada-spa .contact-email { font-weight: 650; border-bottom: 1px solid var(--ink); display: inline-block; }
.risada-spa .contact-address { margin-top: 28px; color: var(--muted); font-size: .86rem; font-style: normal; line-height: 1.7; }
.risada-spa .contact-address a { display: inline-block; color: var(--ink); font-weight: 650; }
.risada-spa .contact-address a:hover { text-decoration: underline; text-underline-offset: 4px; }
.risada-spa .contact-address span { display: block; margin-top: 3px; }
.risada-spa .contact-form { padding: 32px; border: 1px solid #cbd6e2; border-radius: 22px; background: #f4f7fa; box-shadow: 0 8px 28px #11263e05; }
.risada-spa .form-heading h3 { font-size: 2rem; font-weight: 450; letter-spacing: -.035em; }
.risada-spa .form-heading p { margin-top: 9px; color: var(--muted); font-size: .87rem; }
.risada-spa .required-note { margin: 24px 0 19px; color: var(--muted); font-size: .74rem; }
.risada-spa .form-grid { gap: 22px 18px; }
.risada-spa .contact-form .field { min-width: 0; }
.risada-spa .contact-form .field label { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; font-size: .8rem; font-weight: 650; line-height: 1.5; margin-bottom: 9px; }
.risada-spa .contact-form .optional { color: var(--muted); font-size: .65rem; font-weight: 450; white-space: nowrap; }
.risada-spa .contact-form .field input,
.risada-spa .contact-form .field select,
.risada-spa .contact-form .field textarea { display: block; width: 100%; min-height: 54px; padding: 14px 16px; border: 1px solid #7c8fa6; border-radius: 10px; background: #ffffffc9; color: var(--ink); font-size: 1rem; line-height: 1.5; box-shadow: none; transition: background .16s ease, border-color .16s ease, box-shadow .16s ease; }
.risada-spa .contact-form .field textarea { min-height: 120px; resize: vertical; }
.risada-spa .contact-form .field input::placeholder,
.risada-spa .contact-form .field textarea::placeholder { color: #6a798d; opacity: 1; }
.risada-spa .contact-form .field input:hover,
.risada-spa .contact-form .field select:hover,
.risada-spa .contact-form .field textarea:hover { border-color: #71869e; }
/* Keep the focus indicator attached to the field; no detached global outline. */
.risada-spa .contact-form .field input:focus,
.risada-spa .contact-form .field select:focus,
.risada-spa .contact-form .field textarea:focus { border-color: var(--ink); outline: 2px solid var(--ink); outline-offset: -1px; background: #fff; box-shadow: 0 0 0 4px #11263e0d; }
.risada-spa .contact-form .field [aria-invalid="true"] { border-color: #8d3926; background: #fffaf8; }
.risada-spa .contact-form .field [aria-invalid="true"]:focus { outline-color: #8d3926; box-shadow: 0 0 0 4px #8d392610; }
.risada-spa .select-field { position: relative; }
.risada-spa .select-field::after { content: ''; position: absolute; right: 19px; top: 23px; width: 7px; height: 7px; border-right: 1.5px solid var(--ink); border-bottom: 1.5px solid var(--ink); transform: rotate(45deg); pointer-events: none; }
.risada-spa .contact-form .field select { appearance: none; padding-right: 44px; cursor: pointer; }
.risada-spa .contact-form select:has(option[value=""]:checked) { color: #6a798d; }
.risada-spa .contact-form select option { color: var(--ink); background: #fff; }
.risada-spa .field-hint { margin-top: 9px; color: var(--muted); font-size: .74rem; line-height: 1.6; }
.risada-spa .field-error { margin-top: 8px; color: #8d3926; font-size: .76rem; line-height: 1.5; }
.risada-spa .form-actions { margin-top: 26px; }
.risada-spa .contact-form .form-actions .button { width: 100%; min-height: 54px; font-size: .9rem; }
.risada-spa .contact-form .form-actions .button:hover { transform: none; background: #203e5e; border-color: #203e5e; }
.risada-spa .contact-form .form-actions .button:disabled { opacity: .55; cursor: not-allowed; }
.risada-spa .contact-form .form-actions .button:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.risada-spa .footer-main { align-items: center; }
@media (min-width: 861px) and (max-width: 1180px) {
  .risada-spa .menu-toggle { display: none; }
  .risada-spa .nav { display: flex; position: static; flex-direction: row; align-items: center; padding: 0; border: 0; box-shadow: none; margin-left: auto; gap: 20px; font-size: .8rem; }
  .risada-spa .nav .button { align-self: auto; padding: 12px 17px; }
}
@media (min-width: 741px) and (max-width: 860px) {
  .risada-spa .sector-card { padding: 26px 20px; }
  .risada-spa .sector-card h3 { font-size: 2.1rem; }
  .risada-spa .sector-type { font-size: .65rem; }
  .risada-spa .story-strip { grid-template-columns: 75px .8fr 1.2fr; }
}
@media (max-width: 740px) {
  .risada-spa .topbar { height: 85px; }
  .risada-spa .home-hero { padding-top: 32px; }
  .risada-spa .home-hero h1 { font-size: clamp(2.7rem, 10.9vw, 4rem); max-width: none; }
  .risada-spa .home-hero p { font-size: .94rem; max-width: 37ch; }
  .risada-spa .home-hero .actions { margin-top: 27px; gap: 10px; }
  .risada-spa .home-hero .button { font-size: .8rem; padding: 13px 16px; }
  .risada-spa .sector-index { gap: 10px; font-size: .72rem; padding-top: 25px; }
  .risada-spa .home-hero .art-frame { --art-height: 145px; margin-top: 8px; }
  .risada-spa .sector-section { padding-top: 52px; }
  .risada-spa .section-head { margin-bottom: 30px; }
  .risada-spa .section-head > p { font-size: .92rem; max-width: 38ch; }
  .risada-spa .sector-grid { display: block; }
  .risada-spa .sector-card, .risada-spa .sector-card:first-child, .risada-spa .sector-card:last-child { padding: 29px 0 34px; }
  .risada-spa .sector-card + .sector-card { border-left: 0; border-top: 1px solid var(--line); }
  .risada-spa .sector-heading { margin-bottom: 19px; }
  .risada-spa .sector-card h3 { font-size: 2.75rem; min-height: 0; }
  .risada-spa .sector-card h3 br { display: none; }
  .risada-spa .sector-intro { min-height: 0; margin-top: 14px; max-width: 40ch; }
  .risada-spa .flow-label { margin-top: 23px; }
  .risada-spa .flow-list { margin: 10px 0 16px; }
  .risada-spa .flow-list li { padding-top: 18px; padding-bottom: 18px; }
  .risada-spa .flow-list li::before { top: 26px; }
  .risada-spa .flow-list p { font-size: .85rem; }
  .risada-spa .sector-note { align-items: start; font-size: .8rem; }
  .risada-spa .note-dot { margin-top: 7px; }
  .risada-spa .process h2 { font-size: 2.8rem; }
  .risada-spa .process-intro { font-size: .93rem; }
  .risada-spa .steps h3 { font-size: 1.65rem; }
  .risada-spa .story-strip h2 { font-size: 2.65rem; }
  .risada-spa .story-strip { padding-top: 38px; padding-bottom: 38px; }
  .risada-spa .contact-layout h2 { font-size: clamp(2.4rem, 10vw, 3.2rem); }
  .risada-spa .contact-layout { padding-bottom: 48px; }
  .risada-spa .contact-form { padding: 24px 20px; border-radius: 18px; }
  .risada-spa .form-heading h3 { font-size: 1.9rem; }
  .risada-spa .form-grid { grid-template-columns: 1fr; gap: 20px; }
  .risada-spa .contact-form .field label { font-size: .8rem; }
  .risada-spa .contact-form .optional { font-size: .65rem; }
  .risada-spa .footer-links { margin-top: 25px; line-height: 1.9; }
}
@media (max-width: 650px) {
  .risada-spa .home-hero .art-frame { --control-band: 52px; }
}
@media (max-width: 360px) {
  .risada-spa .sector-index > span { display: none; }
  .risada-spa .sector-index { gap: 12px; }
}
