/* Otofon Signature */
:root {
  --oto-navy: #0a2449;
  --oto-ink: #152e4e;
  --oto-muted: #4d6280;
  --oto-blue: #145498;
  --oto-aqua: #2068ab;
  --oto-orange: #f4a769;
  --oto-soft: #f3f7fc;
  --oto-line: #d7e3f3;
  --oto-wrap: 1240px;
  --oto-shadow-soft: 0 8px 30px rgba(16, 44, 65, .07);
}

#main-content [hidden] { display: none !important; }
:where(a, button, input, select, textarea, summary):focus-visible {
  outline: 3px solid #178196;
  outline-offset: 4px;
}

.oto-product, .oto-center, .oto-service, .oto-article-card { border-radius: 18px; box-shadow: var(--oto-shadow-soft); }
.oto-product__media { background: #eaf2f3; }
.oto-product__media::after { content: none; }
.oto-product__body h2, .oto-product__body h3 { line-height: 1.2; }
.oto-filters .oto-filter { min-height: 44px; }
.oto-catalog-search { display: flex; flex-wrap: wrap; align-items: end; gap: 12px 24px; margin-bottom: 16px; }
.oto-catalog-search label { display: grid; flex: 0 1 360px; gap: 5px; color: var(--oto-navy); font-weight: 700; }
.oto-catalog-search input { width: 100%; min-height: 48px; padding: 8px 14px; color: var(--oto-ink); background: white; border: 1px solid #8fa6ae; border-radius: 9px; }
.oto-catalog-search p { margin: 0 0 11px; color: var(--oto-muted); font-size: .93rem; }
.oto-message-preview { padding: 12px 14px; background: #f1f7f7; border: 1px solid var(--oto-line); border-radius: 10px; }
.oto-message-preview summary { cursor: pointer; font-weight: 700; }
.oto-message-preview pre { margin-bottom: 0; white-space: pre-wrap; overflow-wrap: anywhere; font: inherit; }

.oto-profile-hero, .oto-home-about { background: linear-gradient(115deg, #f5f9ff 35%, #e4effd); }
.oto-about-pair { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); align-items: center; gap: clamp(26px, 5.6vw, 78px); }
.oto-about-copy h1, .oto-about-copy h2 { margin-bottom: .38em; max-width: 19ch; text-wrap: balance; }
.oto-about-copy h1 { font-size: clamp(2.8rem, 5vw, 5.1rem); }
.oto-about-copy p:not(.oto-profile-label) { max-width: 61ch; }
.oto-about-copy > p:not(.oto-lead, .oto-profile-label) { color: var(--oto-muted); }
.oto-profile-label { display: flex; gap: .65rem; align-items: center; margin-bottom: 14px; color: var(--oto-blue); font-size: .79rem; font-weight: 800; letter-spacing: .12em; line-height: 1.4; text-transform: uppercase; }
.oto-profile-label::before { content: ""; flex: 0 0 21px; height: 2px; background: currentColor; }
.oto-profile-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 20px; margin-top: 25px; }
.oto-profile-actions .oto-link { min-height: 44px; align-items: center; }
.oto-profile-heading { margin-bottom: 26px; }
.oto-about-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 17px; }
.oto-about-steps article { padding: clamp(20px, 3vw, 33px); background: #f5f9ff; border: 1px solid var(--oto-line); border-radius: 16px; }
.oto-about-steps h3 { margin: 18px 0 8px; }
.oto-about-steps p { margin: 0; color: var(--oto-muted); }
.oto-about-editor { border-top: 1px solid var(--oto-line); }

.oto-portrait, .oto-about-clinic { width: 100%; max-width: 470px; margin: 0 auto; overflow: hidden; background: #fff; border: 1px solid #cbddef; border-radius: 20px; box-shadow: var(--oto-shadow-soft); }
.oto-portrait__frame { width: 100%; aspect-ratio: 4 / 3; background: radial-gradient(ellipse at 53% 36%, #f5faff 2%, #d8e8f8 53%, #bacfe9); }
.oto-portrait__frame img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.oto-portrait figcaption, .oto-about-clinic figcaption { padding: 13px 20px 15px; font-size: .94rem; }
.oto-portrait figcaption strong { display: block; font-size: 1.08rem; color: var(--oto-navy); }
.oto-portrait figcaption span, .oto-about-clinic figcaption { color: var(--oto-muted); }
.oto-about-clinic img { width: 100%; aspect-ratio: 4 / 3; height: auto; object-fit: cover; }
.oto-location-line { display: inline-flex; align-items: baseline; gap: 9px; }
.oto-location-line svg { display: inline-block; width: 1.05em; height: 1.05em; vertical-align: -.12em; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }

@media (max-width: 780px) {
  .oto-about-pair, .oto-about-steps { grid-template-columns: minmax(0, 1fr); }
  .oto-about-copy h1, .oto-about-copy h2 { text-wrap: initial; }
  .oto-portrait, .oto-about-clinic { margin-inline: 0; }
}
