/* NovaLink Core — polish layer for native Elementor widgets + styles of the NovaLink data widgets.
   Layout, spacing, colors and typography live in Elementor (containers + Global Colors/Fonts).
   Colors here always use --nl-* variables, which resolve to Elementor Global Colors. */

body.nl-site {
	--nl-r: 14px;
	--nl-shadow: 0 1px 2px rgba(12, 34, 51, .05), 0 10px 28px rgba(12, 34, 51, .08);
	--nl-shadow-lg: 0 2px 6px rgba(12, 34, 51, .05), 0 24px 60px rgba(12, 34, 51, .14);
	--nl-ff-h: var(--e-global-typography-primary-font-family, "Montserrat"), system-ui, sans-serif;
	-webkit-font-smoothing: antialiased;
}
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .nl-site *, .nl-site *::before { transition: none !important; animation: none !important; } }
.nl-site .site-main { max-width: none; padding: 0; }

/* ---------- Typography helpers ---------- */
.nl-eyebrow-w .elementor-heading-title { display: inline-flex; align-items: center; gap: 10px; }
.nl-eyebrow-w .elementor-heading-title::before { content: ""; width: 22px; height: 2px; border-radius: 2px; background: var(--nl-accent); flex: none; }
.nl-eyebrow-w[style*="center"] .elementor-heading-title, .elementor-widget-heading.elementor-align-center.nl-eyebrow-w .elementor-heading-title { justify-content: center; }
.nl-measure { max-width: 680px; }
.nl-center, .nl-center.elementor-widget { margin-left: auto !important; margin-right: auto !important; }
.nl-measure p:last-child, .nl-on-dark p:last-child { margin-bottom: 0; }
.nl-on-dark, .nl-on-dark .elementor-icon-list-text { opacity: .9; }
.nl-muted-dark { opacity: .72; }
.nl-head-c .elementor-widget-text-editor p { margin: 0; }
.nl-after-grid { margin-top: 36px !important; }
.nl-area .elementor-heading-title { font-size: 16px !important; }

/* ---------- Buttons (native Button widget) ---------- */
.nl-b .elementor-button { min-height: 50px; display: inline-flex; align-items: center; justify-content: center; transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease, color .18s ease, border-color .18s ease; white-space: nowrap; }
.nl-b .elementor-button.elementor-size-lg { min-height: 58px; padding: 16px 30px; font-size: 17px; }
.nl-b .elementor-button.elementor-size-sm { min-height: 44px; padding: 10px 18px; font-size: 15px; }
.nl-b .elementor-button-icon svg, .nl-b .elementor-button-icon i { transition: transform .18s ease; }
.nl-b--accent .elementor-button { box-shadow: 0 6px 18px color-mix(in srgb, var(--nl-accent) 32%, transparent); }
.nl-b--accent .elementor-button:hover { transform: translateY(-1px); box-shadow: 0 10px 26px color-mix(in srgb, var(--nl-primary) 30%, transparent); }
.nl-b .elementor-button:hover .elementor-button-icon svg, .nl-b .elementor-button:hover .elementor-button-icon i { transform: translateX(3px); }
.nl-b--ghost .elementor-button { backdrop-filter: blur(6px); }
.nl-b--link .elementor-button { min-height: 0; padding: 0; box-shadow: none; }
.nl-actions-c > .elementor-widget-button { width: auto; }
@media (max-width: 767px) {
	.nl-actions-c > .elementor-widget-button .elementor-button { width: 100%; }
}

/* ---------- Icon list ---------- */
.nl-checks-w .elementor-icon-list-item { align-items: flex-start !important; }
.nl-checks-w .elementor-icon-list-icon { margin-top: 3px; }
.nl-checks-w .elementor-icon-list-text { font-weight: 500; }
.nl-contact-list .elementor-icon-list-item a { color: inherit; }
.nl-contact-list .elementor-icon-list-icon { width: 40px; height: 40px; border-radius: 12px; display: inline-grid !important; place-items: center; background: color-mix(in srgb, var(--nl-primary) 9%, transparent); margin-top: 0 !important; flex: none; }
.nl-contact-list.nl-on-dark .elementor-icon-list-icon { width: 32px; height: 32px; border-radius: 9px; background: rgba(255, 255, 255, .08); }
.nl-contact-list .elementor-icon-list-item { align-items: center !important; }

/* ---------- Cards (containers) ---------- */
.nl-card-c { transition: transform .2s ease, box-shadow .2s ease, border-color .2s; }
.nl-card-c:hover { transform: translateY(-3px); box-shadow: var(--nl-shadow); }
.nl-card-c--dark:hover, .nl-step-c:hover { box-shadow: none; }
.nl-feature .elementor-icon-box-title { margin-top: 0; }
.nl-feature .elementor-icon-box-description { margin: 0; }
.nl-step-c { background: rgba(255, 255, 255, .05) !important; border: 1px solid rgba(255, 255, 255, .12) !important; }
.nl-step-n .elementor-heading-title { display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; background: var(--nl-accent); font-size: 15px !important; }

/* ---------- Images ---------- */
.nl-frame img { width: 100%; border-radius: 20px; object-fit: cover; box-shadow: var(--nl-shadow-lg); display: block; }
.nl-frame--tall img { aspect-ratio: 4 / 5; }
.nl-frame--hero img { aspect-ratio: 5 / 4; }
@media (max-width: 1024px) { .nl-frame--tall img, .nl-frame--hero img { aspect-ratio: 16 / 10; } }

/* ---------- Hero ---------- */
.nl-hero { position: relative; }
.nl-hero .nl-eyebrow-w .elementor-heading-title::before { background: var(--nl-accent); }

/* ---------- Header ---------- */
.nl-header { transition: box-shadow .2s ease; }
.nl-header.is-scrolled, .nl-header.elementor-sticky--effects { box-shadow: 0 1px 0 var(--nl-border), 0 10px 26px rgba(12, 34, 51, .07); }
.nl-site-logo img { max-height: 46px; width: auto !important; }
.nl-nav-w .elementor-nav-menu--main .elementor-item { font-weight: 600; }
.nl-nav-w .elementor-nav-menu--main .elementor-item:hover { background: var(--nl-surface); }
.nl-nav-w .elementor-nav-menu--dropdown { border: 1px solid var(--nl-border); box-shadow: var(--nl-shadow-lg); overflow: hidden; }
.nl-nav-w .elementor-nav-menu--main { display: flex; justify-content: center; }
.nl-header-phone-icon .elementor-button { width: 44px; height: 44px; min-height: 44px; padding: 0 !important; border-radius: 10px; }
.nl-header-phone-icon .elementor-button-text { display: none; }
@media (max-width: 1024px) {
	.nl-nav-w { order: 9; flex-grow: 0 !important; }
	.nl-nav-w .elementor-nav-menu--dropdown.elementor-nav-menu__container { margin-top: 12px !important; border-radius: 0 0 14px 14px; }
	.nl-nav-w .elementor-nav-menu--dropdown .elementor-item { font-size: 17px; padding: 15px 22px !important; border-bottom: 1px solid var(--nl-border); }
	.nl-header .elementor-widget-theme-site-logo { margin-right: auto; }
}

/* ---------- Footer ---------- */
.nl-foot-title .elementor-heading-title { font-size: 16px !important; }
.nl-foot-menu .elementor-nav-menu--main .elementor-item { padding-left: 0 !important; opacity: .8; }
.nl-foot-menu .elementor-nav-menu--main .elementor-item:hover { opacity: 1; }
.nl-foot-link .elementor-button { color: rgba(255, 255, 255, .7) !important; font-weight: 500; font-size: 14px; }
.nl-foot-bottom { border-top-color: rgba(255, 255, 255, .12) !important; }

/* ---------- Mobile sticky CTA (inside the Footer template) ---------- */
@media (max-width: 767px) {
	.nl-sticky-wrap { position: fixed !important; left: 0; right: 0; bottom: 0; z-index: 95; padding-bottom: calc(10px + env(safe-area-inset-bottom)) !important; box-shadow: 0 -6px 24px rgba(12, 34, 51, .12); transform: translateY(110%); transition: transform .25s ease; }
	.nl-sticky-wrap.is-visible { transform: none; }
	.nl-sticky-wrap > .elementor-widget-button { flex: 1 1 0; }
	.nl-sticky-wrap .elementor-button { width: 100%; min-height: 52px; padding: 12px 10px !important; font-size: 15px !important; }
	body.nl-site { padding-bottom: 76px; }
}

/* ---------- Service cards (Loop item) ---------- */
.nl-svc-card { overflow: hidden; height: 100%; transition: transform .22s ease, box-shadow .22s ease; }
.nl-svc-card:hover { transform: translateY(-4px); box-shadow: var(--nl-shadow-lg); }
.nl-svc-img { margin: 0 !important; overflow: hidden; }
.nl-svc-img img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; transition: transform .5s ease; border-radius: 0 !important; box-shadow: none !important; }
.nl-svc-card:hover .nl-svc-img img { transform: scale(1.04); }
.nl-svc-body { flex-grow: 1; }
.nl-svc-text { flex-grow: 1; }
.nl-svc-text p { margin: 0; }
.nl-svc-card .elementor-heading-title a { color: inherit; }
.nl-loop .e-loop-item { height: 100%; }

/* ---------- Forms (Elementor Pro Form) ---------- */
.nl-form-card { position: relative; }
.nl-form-title .elementor-heading-title { font-size: 22px !important; }
.nl-form-sub p, .nl-form-foot p { margin: 0; }
.nl-form-foot { opacity: .75; text-align: center; }
.nl-form-w .elementor-field-textual { min-height: 50px; padding: 12px 14px; font-size: 16px !important; transition: border-color .15s, box-shadow .15s; }
.nl-form-w textarea.elementor-field-textual { min-height: 88px; }
.nl-form-w .elementor-field-textual:focus { border-color: var(--nl-primary) !important; box-shadow: 0 0 0 4px color-mix(in srgb, var(--nl-primary) 14%, transparent); outline: none; }
.nl-form-w .elementor-field-label { font-weight: 600; }
.nl-form-w .elementor-button { min-height: 56px; box-shadow: 0 6px 18px color-mix(in srgb, var(--nl-accent) 32%, transparent); }
.nl-form-w .elementor-button:hover { transform: translateY(-1px); }
.nl-form-w .elementor-field-type-html { padding-bottom: 0 !important; }
.nl-form-note { margin: 0; font-size: 13px; opacity: .8; }
.nl-form-w .elementor-message { font-size: 15px; margin-top: 12px; }
.nl-form-w .elementor-field-group .elementor-field-textual.elementor-error, .nl-form-w .elementor-error .elementor-field-textual { border-color: #C62828 !important; }

/* ---------- Accordion (general FAQ) ---------- */
.nl-acc .elementor-accordion-item { border: 1px solid var(--nl-border) !important; border-radius: var(--nl-r); margin-bottom: 12px; overflow: hidden; background: var(--nl-bg); transition: box-shadow .2s; }
.nl-acc .elementor-accordion-item:has(.elementor-active) { box-shadow: var(--nl-shadow); border-color: transparent !important; }
.nl-acc .elementor-tab-title { border: 0 !important; }
.nl-acc .elementor-tab-content { border: 0 !important; padding-top: 0 !important; }
.nl-acc .elementor-tab-content p { margin: 0; }

/* ---------- Final CTA / band ---------- */
.nl-call-box .elementor-widget-heading p { margin: 0; }
.nl-band .nl-actions-c { justify-content: flex-end; }
@media (max-width: 1024px) { .nl-band .nl-actions-c { justify-content: flex-start; } }

/* ---------- Gallery (Pro Gallery with ACF) ---------- */
.nl-gallery-w .e-gallery-image { border-radius: var(--nl-r); }

/* ---------- Thank you ---------- */
.nl-ty .elementor-widget-icon { margin-bottom: 4px; }
.nl-ty-card { width: 100%; max-width: 520px; margin: 10px auto 0; }

/* =====================================================
   NovaLink data widgets (ACF repeaters / optional data)
   ===================================================== */
.nl-ico { width: 1.15em; height: 1.15em; fill: currentColor; flex: none; display: inline-block; vertical-align: middle; }
.nl-empty-note { padding: 14px 16px; border: 1px dashed var(--nl-border); border-radius: 10px; font-size: 13px; background: var(--nl-surface); }
.nl-h2 { font-family: var(--nl-ff-h); font-size: clamp(28px, 3.2vw, 42px); line-height: 1.15; font-weight: 700; color: var(--nl-secondary); margin: 0 0 16px; letter-spacing: -.02em; }
.nl-h3 { font-family: var(--nl-ff-h); font-size: clamp(22px, 2.2vw, 28px); line-height: 1.2; font-weight: 700; color: var(--nl-secondary); margin: 0 0 14px; letter-spacing: -.01em; }
.nl-eyebrow { font-family: var(--nl-ff-h); font-weight: 600; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--nl-primary); margin: 0 0 14px; display: inline-flex; align-items: center; gap: 10px; }
.nl-eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--nl-accent); border-radius: 2px; }
.nl-head { margin-bottom: clamp(28px, 4vw, 48px); }

.nl-cards { display: grid; gap: 22px; }
.nl-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.nl-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.nl-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1024px) { .nl-cols-3, .nl-cols-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .nl-cols-2, .nl-cols-3, .nl-cols-4 { grid-template-columns: 1fr; } .nl-cards { gap: 14px; } }
.nl-card { background: var(--nl-bg); border: 1px solid var(--nl-border); border-radius: var(--nl-r); padding: 28px; transition: transform .2s ease, box-shadow .2s ease; height: 100%; }
.nl-card:hover { transform: translateY(-3px); box-shadow: var(--nl-shadow); }
.nl-cards--surface .nl-card { background: var(--nl-surface); border-color: transparent; }
.nl-card__ico { width: 50px; height: 50px; border-radius: 12px; display: grid; place-items: center; background: var(--nl-surface); color: var(--nl-primary); margin-bottom: 18px; }
.nl-cards--surface .nl-card__ico { background: var(--nl-bg); }
.nl-card__ico .nl-ico { width: 24px; height: 24px; }
.nl-card__title { font-family: var(--nl-ff-h); font-size: 20px; line-height: 1.3; font-weight: 700; color: var(--nl-secondary); margin: 0 0 8px; }
.nl-card__text { margin: 0; font-size: 16px; line-height: 1.6; color: var(--nl-text); }

.nl-rows { display: grid; gap: clamp(48px, 7vw, 96px); }
.nl-row { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.nl-row--rev .nl-row__media { order: -1; }
.nl-row--text { grid-template-columns: 1fr; max-width: 820px; }
.nl-row__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 18px; display: block; }
.nl-rich { color: var(--nl-text); font-size: 17px; line-height: 1.7; }
.nl-rich p { margin: 0 0 14px; }
.nl-rich ul { list-style: none; padding: 0; margin: 0 0 16px; }
.nl-rich li { position: relative; padding-left: 30px; margin-bottom: 10px; }
.nl-rich li::before { content: ""; position: absolute; left: 0; top: .35em; width: 18px; height: 18px; border-radius: 50%; background: color-mix(in srgb, var(--nl-accent) 16%, transparent); }
.nl-rich li::after { content: ""; position: absolute; left: 6px; top: calc(.35em + 4px); width: 5px; height: 9px; border: solid var(--nl-accent); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.nl-rich strong { color: var(--nl-secondary); }
@media (max-width: 900px) { .nl-row { grid-template-columns: 1fr; } .nl-row--rev .nl-row__media { order: 0; } }

.nl-faq { display: grid; gap: 12px; }
.nl-faq__item { background: var(--nl-bg); border: 1px solid var(--nl-border); border-radius: var(--nl-r); transition: box-shadow .2s, border-color .2s; }
.nl-faq__item[open] { border-color: transparent; box-shadow: var(--nl-shadow); }
.nl-faq__q { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 22px; cursor: pointer; font-family: var(--nl-ff-h); font-weight: 700; font-size: 18px; color: var(--nl-secondary); line-height: 1.4; }
.nl-faq__q::-webkit-details-marker { display: none; }
.nl-faq__q .nl-ico { width: 30px; height: 30px; padding: 6px; border-radius: 50%; background: var(--nl-surface); color: var(--nl-primary); transition: transform .2s, background .2s, color .2s; }
.nl-faq__item[open] .nl-faq__q .nl-ico { transform: rotate(45deg); background: var(--nl-primary); color: #fff; }
.nl-faq__a { padding: 0 22px 20px; color: var(--nl-text); }
.nl-faq__a p { margin: 0; line-height: 1.7; }

.nl-social { display: flex; gap: 10px; flex-wrap: wrap; }
.nl-social a { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; transition: .15s; }
.nl-social svg { width: 20px; height: 20px; fill: currentColor; }
.nl-social--dark a { background: rgba(255, 255, 255, .08); color: #fff; }
.nl-social--dark a:hover { background: var(--nl-accent); }
.nl-social--light a { background: var(--nl-surface); color: var(--nl-secondary); }
.nl-social--light a:hover { background: var(--nl-primary); color: #fff; }

.nl-trust-c:not(:has(.nl-trust, .nl-projects-block)) { display: none; }
.nl-trust { padding: 56px 0 8px; }
.nl-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 22px; margin-bottom: 30px; }
.nl-fact strong { display: block; font-family: var(--nl-ff-h); font-size: clamp(30px, 3vw, 42px); color: var(--nl-primary); line-height: 1.1; }
.nl-fact span { font-size: 15px; }
.nl-trust__label { text-align: center; font-weight: 600; opacity: .7; margin: 0 0 18px; }
.nl-logos { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 28px 44px; }
.nl-logos__img { max-height: 42px; width: auto; filter: grayscale(1); opacity: .7; transition: .2s; }
.nl-logos__img:hover { filter: none; opacity: 1; }
.nl-projects-block { padding: 96px 0; }
.nl-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.nl-gallery__item { margin: 0; border-radius: var(--nl-r); overflow: hidden; aspect-ratio: 4 / 3; }
.nl-gallery__item img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (max-width: 767px) { .nl-gallery { grid-template-columns: 1fr 1fr; gap: 10px; } .nl-projects-block { padding: 64px 0; } }

/* Reveal (opt-in via class nl-reveal on any element) */
@media (prefers-reduced-motion: no-preference) {
	.nl-js .nl-reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
	.nl-js .nl-reveal.is-in { opacity: 1; transform: none; }
}
.elementor-editor-active .nl-reveal { opacity: 1 !important; transform: none !important; }

.e-loop-item > .e-con.nl-svc-card, .e-loop-item .nl-svc-card { height: 100%; }
.nl-svc-more { margin-top: auto; }
