/* Shared polish for the classic theme; the existing palette and templates remain editable. */
:root { --ns-ink: #063846; --ns-accent: #087ca3; --ns-focus: #f5b846; }
html { scroll-behavior: auto; }
body { overflow-x: clip; }
.skip-link { position: fixed; z-index: 10000; inset-block-start: .75rem; inset-inline-start: .75rem; padding: .65rem 1rem; background: #fff; color: var(--ns-ink); transform: translateY(-160%); border-radius: .5rem; }
.skip-link:focus { transform: translateY(0); }
:where(a, button, input, select, textarea):focus-visible { outline: 3px solid var(--ns-focus); outline-offset: 3px; }
.maingallery-content .button { color: #fff !important; background: var(--ns-accent); border-color: var(--ns-accent); min-height: 44px; display: inline-flex; align-items: center; justify-content: center; text-align: center; }
.maingallery-content .button:hover { background: #086686; border-color: #086686; }
.maingallery-title { line-height: 1.45; overflow-wrap: anywhere; }
.home .serviceitems-wrap { padding-block: clamp(2.5rem, 5vw, 4.5rem); background: linear-gradient(160deg,#f4f9fb 0%,#fff 66%); }
.home .serviceitems-wrap .ser-wrap { padding-block: 0; align-items: center; }
.home .service-content { padding-block: 1rem; }
.home .servicebox { background: transparent; padding: 0 15px; border-radius: 0; }
.home .servicebox > .row { gap: 12px 0; }
.home .serviceitem { text-align: center; padding: 5px 8px; }
.home .serviceitem-img { display: flex; align-items: center; justify-content: center; width: 100%; height: 124px; min-height: 0; padding: 1.1rem; background: #fff; border: 1px solid #dce9ed; border-radius: 1.25rem; filter: none; box-shadow: 0 12px 32px rgba(5,56,70,.045); transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease; }
.home a.serviceitem-img:hover { transform: translateY(-4px); border-color: #66b6cf; box-shadow: 0 16px 32px rgba(5, 56, 70, .12); }
.home .serviceitem-img img { max-height: 82px; width: auto; object-fit: contain; }
.home .service-sub { font-size: clamp(.9rem, 1.1vw, 1.1rem); line-height: 1.7; margin-block: .65rem .8rem; }
.home .service-sub a { color: var(--ns-ink) !important; }
.home .service-content .title-site { font-size: clamp(1.55rem, 2.2vw, 2.25rem); line-height: 1.5; }
.home .service-content p { line-height: 2; }
.wow { visibility: visible !important; animation: none !important; }
.home .mainbox .gall-imgbox { aspect-ratio: 3 / 2; }
.home .mainbox .gall-imgbox img { width: 100%; height: 100%; object-fit: cover; }
.home .feature-item { height: 100%; border-radius: 1.15rem; }
.home .requestitem h3 { font-size: 1rem; line-height: 1.7; text-align: center; color: #022e3b; }
.page-template-template-home .faq-wrap .title-site { color: #fff; }
.editor-content :where(img, video, iframe) { max-width: 100%; height: auto; }
.editor-content { overflow-wrap: break-word; }
.form-response:empty { display: none; }
.form-response:not(:empty) { padding: .8rem 1rem; border-radius: .6rem; margin-block: .5rem 1rem; }
.form-response.error-alert { color: #8c1822; background: #fff0f0; }
.form-response.success-alert { color: #145a39; background: #eaf8ef; }
#nomenumobile { background: transparent; border: 0; cursor: pointer; min-width: 44px; min-height: 44px; }
@media (max-width: 767px) {
  .maingallery-bf { padding: 1.4rem; border-radius: 1.3rem; }
  .maingallery-content .button { width: 100%; white-space: normal; }
  .editor-content { line-height: 1.85; }
  .home .serviceitems-wrap { padding-block: 2.5rem; }
  .home .serviceitem-img { height: 104px; }
  .home .servicebox { padding-inline: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  .home .serviceitem-img { transition: none; }
  .home a.serviceitem-img:hover { transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
