:root {
    --sf-primary: #12263a;
    --sf-accent: #e07a3d;
    --sf-bg: #f7f4f0;
    --sf-surface: #ffffff;
    --sf-text: #151515;
    --sf-muted: #5c5c5c;
    --sf-header: #12263a;
    --sf-footer: #0c1824;
}
* { box-sizing: border-box; }
body {
    margin: 0;
    font-family: Outfit, system-ui, sans-serif;
    background: var(--sf-bg);
    color: var(--sf-text);
    line-height: 1.6;
}
img, video { max-width: 100%; height: auto; }
a { color: var(--sf-accent); }
.wrap { width: min(1140px, calc(100% - 32px)); margin-inline: auto; }
.site-header { background: var(--sf-header); color: #fff; }
.site-top { position: relative; }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 68px; gap: 16px; }
.brand { color: #fff; text-decoration: none; font-weight: 700; font-size: 1.25rem; display: flex; align-items: center; }
.brand img { max-height: var(--sf-logo-size, 36px); height: var(--sf-logo-size, 36px); width: auto; object-fit: contain; }
.site-nav { display: flex; gap: 16px; }
.site-nav a { color: #fff; text-decoration: none; font-weight: 600; opacity: .9; }
.site-nav a[aria-current="page"] { opacity: 1; box-shadow: inset 0 -2px 0 var(--sf-accent); }
.site-nav a.nav-auth {
    opacity: 1;
    border: 1px solid #ffffff55;
    border-radius: 999px;
    padding: 4px 12px;
    box-shadow: none;
}
.site-nav a.nav-auth-primary {
    background: var(--sf-accent);
    color: #12102a;
    border-color: transparent;
}
.nav-toggle { display: none; }
.site-main { min-height: 60vh; padding: 0 0 72px; }
.is-page .site-main { padding-top: 40px; }
.content-home .sf-block-text:first-child {
    background: var(--sf-primary);
    color: #fff;
    padding: 72px 8vw 64px;
    margin: 0 0 32px;
}
.content-home .sf-block-text:first-child a { color: #ffd7b8; }
.content-home .sf-prose h1 { font-size: clamp(2.4rem, 5vw, 4rem); margin: 0 0 .6rem; letter-spacing: -.03em; }
.content-page { width: min(800px, 100%); }
.sf-block { margin: 2rem auto; width: min(1000px, calc(100% - 32px)); }
.content-home .sf-block-slideshow,
.content-home .sf-block-image.sf-image-full { width: 100%; margin: 0 0 32px; }
.sf-prose h1, .sf-prose h2, .sf-prose h3 { line-height: 1.15; margin: 0 0 .5rem; }
.sf-prose p { font-size: 1.08rem; }
.sf-block-text { overflow-x: auto; }
.sf-prose table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.2rem 0;
}
.sf-prose th, .sf-prose td {
    border: 1px solid color-mix(in srgb, var(--sf-text) 16%, transparent);
    padding: .55rem .75rem;
    text-align: left;
    vertical-align: top;
}
.sf-prose th {
    background: color-mix(in srgb, var(--sf-primary) 12%, transparent);
    font-weight: 700;
}
.sf-prose .ql-table-menus-container,
.sf-prose .ql-table-properties-form,
.sf-prose .ql-operate-line-container,
.sf-prose .ql-operate-block,
.sf-prose .ql-table-select-container,
.sf-prose .ql-operate-drag-table {
    display: none !important;
}
.sf-block-image img { width: 100%; display: block; }
.sf-embed { position: relative; padding-top: 56.25%; background: #000; }
.sf-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.sf-video video { width: 100%; background: #000; }
.sf-slideshow { position: relative; overflow: hidden; background: #000; }
.sf-slide { display: none; margin: 0; position: relative; }
.sf-slide.is-active { display: block; }
.sf-slide img { width: 100%; height: min(72vh, 680px); object-fit: cover; display: block; }
.sf-slide figcaption { position: absolute; left: 24px; bottom: 24px; color: #fff; margin: 0; font-size: 1.1rem; }
.sf-slideshow-btn {
    position: absolute; top: 50%; transform: translateY(-50%);
    width: 44px; height: 44px; border: 0; border-radius: 0; background: var(--sf-accent); color: #fff;
    font-size: 1.4rem; cursor: pointer;
}
.sf-slideshow-btn.prev { left: 0; }
.sf-slideshow-btn.next { right: 0; }
.sf-slideshow-dots { position: absolute; bottom: 12px; left: 50%; transform: translateX(-50%); display: flex; gap: 6px; }
.sf-slideshow-dots button { width: 10px; height: 10px; border: 0; background: #fff6; cursor: pointer; }
.sf-slideshow-dots button.is-on { background: #fff; }
.sf-contact { background: var(--sf-surface); padding: 32px; box-shadow: 0 12px 40px rgba(18,38,58,.08); }
.sf-form label { display: block; font-weight: 600; margin: 12px 0 6px; }
.sf-form input, .sf-form textarea { width: 100%; padding: 12px; border: 1px solid #ddd; font: inherit; }
.sf-form button { margin-top: 14px; background: var(--sf-accent); color: #fff; border: 0; padding: 12px 22px; font: inherit; font-weight: 700; cursor: pointer; }
.sf-hp { position: absolute; left: -9999px; }
.sf-notice { padding: 10px 12px; }
.sf-notice-ok { background: #e7f6ec; }
.sf-notice-err { background: #fde8e4; }
.site-footer { background: var(--sf-footer); color: #d7dee6; padding: 28px 0; }
.footer-inner { display: flex; justify-content: space-between; gap: 16px; align-items: center; flex-wrap: wrap; }
.site-footer a { color: #fff; margin-right: 12px; text-decoration: none; }
@media (max-width: 760px) {
    .nav-toggle { display: block; background: transparent; color: #fff; border: 1px solid #fff5; padding: 6px 10px; }
    .site-nav { display: none; flex-direction: column; position: absolute; left: 0; right: 0; top: 100%; background: var(--sf-header); padding: 12px 16px 18px; }
    .site-nav.is-open { display: flex; }
    .site-header { position: relative; }
}
