/* Only page-o-nas.php loads these scoped rules; common header/footer styles stay intact. */
@font-face {
    font-family: 'FC About Inter';
    src: url('fonts/inter-v20-cyrillic_latin-regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'FC About Manrope';
    src: url('fonts/manrope-v20-cyrillic_latin-700.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}
.fc-about-page { --fc-font-body: 'FC About Inter', system-ui, sans-serif; --fc-font-head: 'FC About Manrope', system-ui, sans-serif; background: white; color: var(--fc-text); font-size: 15px; line-height: 1.65; }
.fc-about-page *, .fc-about-page *::before, .fc-about-page *::after { box-sizing: border-box; }
.fc-about-page h1, .fc-about-page h2, .fc-about-page h3 { font-weight: 700; }
.fc-about-page h2 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); line-height: 1.3; margin: 0 0 24px; }
.fc-about-page h3 { font-size: 16px; line-height: 1.4; margin: 0 0 10px; }
.fc-about-page p { color: #4b5563; margin: 0 0 14px; }
.fc-about-page .fc-page-hero { padding: 44px 0; background: var(--fc-navy); text-align: left; }
.fc-about-page .fc-page-hero__title { font-size: clamp(1.8rem, 3vw, 2.5rem); margin: 0 0 16px; }
.fc-about-page .fc-page-hero__subtitle { color: #e1e8f1; max-width: 900px; margin: 0; font-size: 16px; }
.fc-about-page .fc-about-section { padding: 48px 0; }
.fc-about-page .fc-about-story { max-width: 900px; }
.fc-about-page .fc-about-story p:last-child { margin-bottom: 0; }
.fc-about-page .fc-about-figures { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin: 30px 0 0; }
.fc-about-page .fc-about-figures > div { min-width: 0; padding: 20px; border: 1px solid var(--fc-border); border-radius: 10px; background: var(--fc-bg); }
.fc-about-page .fc-about-figures dt { margin: 0 0 8px; color: var(--fc-navy); font-family: var(--fc-font-head) !important; font-size: clamp(18px, 1.8vw, 24px); line-height: 1.35; font-weight: 700; }
.fc-about-page .fc-about-figures dd { margin: 0; color: #4b5563; font-size: 13px; }
.fc-about-page .fc-about-photographs { background: var(--fc-bg); }
.fc-about-page .fc-about-photo-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.fc-about-page .fc-about-photo-grid figure { min-width: 0; margin: 0; border: 1px solid var(--fc-border); border-radius: 10px; overflow: hidden; background: white; }
.fc-about-page .fc-about-photo-grid img { display: block; width: 100%; height: 230px !important; object-fit: cover; }
.fc-about-page .fc-about-photo-grid figcaption { padding: 12px 16px; color: var(--fc-navy); font-size: 13px; }
.fc-about-page .fc-about-benefits { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.fc-about-page .fc-about-benefits article { padding: 22px 20px; border: 1px solid var(--fc-border); border-radius: 10px; min-width: 0; }
.fc-about-page .fc-about-benefits p { font-size: 14px; margin: 0; }
.fc-about-page .fc-about-calculation { background: var(--fc-bg); }
.fc-about-page .fc-about-form-layout { display: grid; grid-template-columns: .85fr 1.15fr; gap: 48px; align-items: start; }
.fc-about-page .fc-about-form-layout h2 { margin-bottom: 16px; }
.fc-about-page .fc-about-form-box { min-width: 0; padding: 24px; background: white; border: 1px solid var(--fc-border); border-radius: 10px; }
.fc-about-page .fc-about-form-box label { display: block; color: var(--fc-navy); font-size: 14px; }
.fc-about-page .fc-about-form-box :is(input:not([type=submit]):not([type=checkbox]):not([type=radio]), select, textarea) { width: 100%; min-width: 0; max-width: 100%; padding: 11px 12px; margin: 6px 0 0; border: 1px solid var(--fc-border); border-radius: 7px; background: white; color: var(--fc-text); font-size: 16px; line-height: 1.4; }
.fc-about-page .fc-about-form-box textarea { height: 110px; min-height: 110px; resize: vertical; }
.fc-about-page .fc-about-form-box input[type=file] { font-size: 13px !important; overflow: hidden; }
.fc-about-page .fc-about-form-box :is(.fc-cf7, .fc-home-fields) { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 16px; }
.fc-about-page .fc-about-form-box .fc-cf7__row { margin: 0; min-width: 0; }
.fc-about-page .fc-about-form-box :is(.fc-cf7__row:nth-child(n + 3), .fc-cf7__policy, .fc-home-field-wide) { grid-column: 1 / -1; }
.fc-about-page .fc-about-form-box :is(.fc-cf7__row p, .fc-home-fields > p) { margin: 0; min-width: 0; }
.fc-about-page .fc-about-form-box .fc-cf7__policy { margin: 0; font-size: 12px; line-height: 1.5; }
.fc-about-page .fc-about-form-box .fc-cf7__policy a { color: var(--fc-red-dark); text-decoration: underline !important; }
.fc-about-page .fc-about-form-box input[type=submit] { display: block !important; width: 100% !important; max-width: none !important; min-height: 48px; margin: 0 !important; padding: 12px 18px !important; border: 0; border-radius: 7px !important; background: var(--fc-red-dark) !important; color: white; font-size: 15px !important; font-weight: 700; line-height: 1.4; white-space: normal; cursor: pointer; }
.fc-about-page .fc-about-form-box input[type=submit]:hover { background: #a5222e !important; transform: none !important; box-shadow: none !important; }
.fc-about-page .fc-about-form-box input[type=submit]:disabled { opacity: .6; cursor: wait; }
.fc-about-page .fc-about-form-box .wpcf7-spinner { display: block; margin: 6px auto 0; }
.fc-about-page .fc-about-form-box .wpcf7-list-item { margin-left: 0; }
.fc-about-page .fc-about-form-box .wpcf7-not-valid-tip { font-size: 12px; }
.fc-about-page .fc-about-form-box .wpcf7-response-output { margin: 16px 0 0; padding: 12px; font-size: 14px; }
.fc-about-page :is(a, button, input, select, textarea):focus-visible { outline: 3px solid var(--fc-red-dark) !important; outline-offset: 4px; }
@media (max-width: 1024px) {
    .fc-about-page .fc-about-figures, .fc-about-page .fc-about-benefits { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .fc-about-page .fc-about-form-layout { gap: 28px; }
    .fc-about-page .fc-about-photo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 768px) {
    .fc-about-page .fc-page-hero { padding: 32px 0; }
    .fc-about-page .fc-about-section { padding: 36px 0; }
    .fc-about-page .fc-about-form-layout { grid-template-columns: minmax(0, 1fr); gap: 24px; }
    .fc-about-page .fc-about-form-box { padding: 20px; }
    .fc-about-page .fc-about-form-box :is(.fc-cf7, .fc-home-fields) { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 540px) {
    .fc-about-page .fc-about-figures, .fc-about-page .fc-about-benefits, .fc-about-page .fc-about-photo-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
    .fc-about-page * { transition: none !important; animation: none !important; }
}
