/* Shared refinements for service navigation, reading and compact screens. */
.duck-page--service .flex-container { gap: 26px; align-items: flex-start; }
.duck-page--service .flex-l { flex: 0 0 245px; width: 245px; padding: 20px; border: 1px solid #e6ebef; border-radius: 20px; background: #f7f9fb; }
.duck-page--service .flex-r { flex: 1 1 0; min-width: 0; }
.duck-page--service .duck-sidebar-content a { display: inline-block; padding-block: 5px; font-size: 15px; line-height: 1.4; }
.duck-sidebar-toggle { display: none; }
.duck-page--service #pagetitle { margin: 0 0 24px; font-size: clamp(28px, 3vw, 42px); line-height: 1.12; letter-spacing: -.035em; }
.duck-page--service .section > .container { padding: 0; }
.duck-page--service .section__intro { max-width: 880px; color: #53606f; font-size: 18px; line-height: 1.65; text-align: left; }
.duck-page--service .text-justify { text-align: left !important; }
.duck-page--service .section h2 { margin-top: 30px; line-height: 1.2; }
.duck-page--service .section p, .duck-page--service .section li { line-height: 1.65; }
.duck-page--service .duck-section-hero { isolation: isolate; border-radius: 24px; padding: clamp(26px, 3vw, 38px); gap: 24px; box-shadow: 0 18px 46px rgba(23, 28, 38, .12); }
.duck-page--service .duck-section-hero--design { background: linear-gradient(130deg, #211b18, #77573d); }
.duck-page--service .duck-section-hero--electro { background: linear-gradient(130deg, #201b39, #786020); }
.duck-page--service .duck-section-hero--santech { background: linear-gradient(130deg, #34262a, #285d75); }
.duck-page--service .duck-section-hero--climate { background: linear-gradient(130deg, #153249, #2a697b); }
.duck-page--service .duck-section-hero--finish { background: linear-gradient(130deg, #3d3020, #766522); }
.duck-page--service .duck-section-hero h2 { font-size: clamp(28px, 3vw, 38px); letter-spacing: -.025em; }
.duck-page--service .duck-section-hero__logo { width: min(100%, 250px); padding: 16px; border-radius: 16px; background: rgba(255, 255, 255, .94); }
.duck-page--service .duck-button { border-radius: 999px; }
.duck-page--service .section > .container > p > .duck-button { color: #fff; background: #243846; padding-inline: 24px; }
.duck-page--service .section > .container > p > .duck-button:hover { background: #3a5365; }
.duck-page--service .duck-price-card, .duck-page--service .duck-work-card { padding: 22px; border-radius: 18px; border-color: #e6ebef; box-shadow: 0 8px 24px rgba(23, 28, 38, .04); }
.duck-page--service .duck-price-card h3 { font-size: 18px; line-height: 1.3; }
.duck-page--service .duck-price-card strong { font-size: clamp(20px, 2.2vw, 26px); overflow-wrap: anywhere; }
.duck-page--service .duck-price-card p { color: #657180; font-size: 14px; }
.duck-page--service .duck-brief { padding: 28px; border-radius: 24px; background: linear-gradient(135deg, #19232c, #274a5d); scroll-margin-top: 96px; }
.duck-page--service .duck-brief__field, .duck-page--service .duck-brief__choice { border-radius: 12px; }
.duck-page--service .duck-brief__field input, .duck-page--service .duck-brief__field select, .duck-page--service .duck-brief__field textarea { font-size: 16px; }
.duck-page--service .duck-content-flow { margin-block: 30px; }
.breadrant:has(.duck-breadcrumbs) { padding-top: 0; }
.breadrant:has(.duck-breadcrumbs) #navigation { margin-top: 0; }
.breadrant:has(.duck-breadcrumbs) > .container { padding-top: 0; }
.breadrant:has(.duck-breadcrumbs) .mb-4 { margin-bottom: 0 !important; }
.duck-breadcrumbs { padding-top: 28px; margin-bottom: 24px; row-gap: 6px; overflow-wrap: anywhere; }
.duck-breadcrumbs [aria-current="page"] { min-width: 0; }
.seo-news-card { isolation: isolate; }
.seo-news-card__date { position: relative; z-index: 1; margin-top: 8px; color: #677382; font-size: 13px; }
.seo-news-card--featured .seo-news-card__date { color: #e1d5bb; }
.seo-article .seo-article-hero h1 { line-height: 1.06; }
.seo-article .seo-article-section { scroll-margin-top: 90px; }
.seo-article .seo-article-body { overflow-wrap: anywhere; }
.seo-article .seo-article-faq summary { display: flex; justify-content: space-between; gap: 18px; line-height: 1.45; }
.seo-article .seo-article-faq summary::after { flex: 0 0 auto; float: none; }
.duck-reading { margin: 30px 0; padding: 28px; border: 1px solid #e6ebef; border-radius: 22px; background: #f7f9fb; }
.duck-reading h2 { margin: 0 0 8px; font-size: 28px; line-height: 1.15; letter-spacing: -.025em; }
.duck-reading > p { margin: 0 0 20px; color: #657180; }
.duck-reading__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.duck-reading__card { display: flex; flex-direction: column; gap: 10px; padding: 22px; border: 1px solid #e5eaf0; border-radius: 16px; color: #243443; background: #fff; text-decoration: none; }
.duck-reading__card strong { font-size: 20px; line-height: 1.25; }
.duck-reading__card span { color: #657180; font-size: 14px; line-height: 1.55; }
.duck-reading__card small { margin-top: auto; padding-top: 10px; color: #806300; font-weight: 700; }
.duck-reading__card:hover { border-color: #c4ae65; color: #806300; }
.duck-related-work { margin: 30px 0; padding: 28px; border: 1px solid #e6ebef; border-radius: 22px; background: #fff; }
.duck-related-work h2 { margin: 0 0 10px; color: #243443; font-size: 28px; line-height: 1.2; letter-spacing: -.025em; }
.duck-related-work > p { margin: 0 0 20px; color: #657180; line-height: 1.6; }
.duck-related-work__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; margin: 0; padding: 0; list-style: none; }
.duck-related-work__list li { min-width: 0; padding: 0; }
.duck-related-work a { color: #245e7a; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; overflow-wrap: anywhere; }
.duck-related-work a:hover { color: #806300; }
.duck-related-work a:focus-visible { outline: 3px solid #b39b2e; outline-offset: 4px; }
.duck-related-work__list p { margin: 9px 0 0; color: #657180; font-size: 14px; line-height: 1.6; }
.duck-related-work > .duck-related-work__parent { margin: 22px 0 0; padding-top: 18px; border-top: 1px solid #e6ebef; font-size: 14px; }
.duck-page--service .duck-service-grid--complete { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.duck-page--about .flex-l { display: none; }
.duck-page--about .flex-r { width: 100%; max-width: 1050px; margin: 0 auto 38px; color: #485463; font-size: 17px; line-height: 1.7; }
.duck-page--about #pagetitle { color: #171b22; font-size: clamp(32px, 4vw, 48px); letter-spacing: -.04em; line-height: 1.1; }
.duck-page--about .about-item, .duck-page--about .documents-card { border: 1px solid #e6ebef; border-radius: 20px; padding: 24px; background: #f8fafc; margin-bottom: 18px; }
.duck-page--about .duck-button { color: #fff; background: #263e50; border-radius: 999px; padding-inline: 24px; }
.duck-page--service a:focus-visible, .duck-sidebar-toggle:focus-visible { outline: 3px solid #b39b2e; outline-offset: 4px; }
@media (max-width: 1180px) and (min-width: 981px) {
    .duck-page--service .flex-l { flex-basis: 210px; width: 210px; padding: 16px; }
    .duck-page--service .duck-section-hero { grid-template-columns: 1fr; }
    .duck-page--service .duck-section-hero__logo { justify-self: start; max-height: 90px; width: 200px; }
    .duck-page--service .duck-price-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 980px) {
    .duck-related-work__list { grid-template-columns: 1fr; gap: 18px; }
    .duck-page--service .flex-container { display: flex; flex-direction: column; gap: 22px; }
    .duck-page--service .flex-l { flex: 0 0 auto; width: 100%; padding: 0; border-radius: 14px; }
    .duck-page--service .flex-r { width: 100%; }
    .duck-sidebar-toggle { display: flex; align-items: center; justify-content: space-between; gap: 16px; width: 100%; padding: 15px 18px; color: #3c4e5e; background: transparent; border: 0; font: inherit; font-weight: 700; text-align: left; cursor: pointer; }
    .duck-page--service .duck-sidebar-content { display: none; padding: 0 18px 18px; }
    .duck-sidebar-toggle[aria-expanded="true"] + .duck-sidebar-content { display: block; }
    .duck-page--service .duck-section-hero { grid-template-columns: 1fr; }
    .duck-page--service .duck-section-hero__logo { width: 200px; max-height: 90px; justify-self: start; }
    .duck-page--service .duck-price-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
    .duck-breadcrumbs { padding-top: 28px; margin-bottom: 22px; font-size: 13px; }
    .duck-page--service #pagetitle { font-size: 30px; margin-bottom: 20px; }
    .duck-page--service .duck-section-hero { min-height: 0; padding: 26px 22px; border-radius: 20px; }
    .duck-page--service .duck-section-hero__actions { align-items: stretch; }
    .duck-page--service .duck-section-hero__actions .duck-button { flex: 1 1 auto; }
    .duck-page--service .duck-price-grid { grid-template-columns: 1fr; gap: 12px; }
    .duck-page--service .duck-brief { padding: 22px 18px; }
    .duck-reading { padding: 24px 18px; }
    .duck-related-work { padding: 24px 18px; }
    .duck-page--service .duck-service-grid--complete { grid-template-columns: 1fr; }
    .duck-reading__grid { grid-template-columns: 1fr; }
    .seo-article .seo-article-hero h1 { font-size: clamp(30px, 8vw, 39px); line-height: 1.09; }
    .seo-article .seo-article-hero { padding: 28px 22px; }
    .seo-article .seo-article-section h2 { font-size: 27px; line-height: 1.15; }
    .duck-page--about .about-item { padding: 20px; }
}
