/**
 * Nordic Builders widgets — helper CSS only (the design system lives in
 * nordic-theme/assets/css/main.css). Keep this tiny.
 */

/* The homepage widgets wrap their markup in .nbh so the modern.html design wins
   via specificity. Make sure that wrapper never introduces its own box spacing. */
.elementor-widget-container > .nbh { margin: 0; padding: 0; }

/* Elementor editor: the design system's hover-reveal elements (service arrow,
   gallery label) rest at opacity:0 by design. Reveal them in the editor so a
   content admin can see/select them; the live site keeps the hover behaviour. */
body.elementor-editor-active .nbh .service-arrow,
body.elementor-editor-active .nbh .gallery-item .gallery-label {
	opacity: 1 !important;
}

/* Editor convenience: show the mobile burger only via the responsive preview,
   never in the desktop editing canvas. (Frontend rules in main.css are untouched.) */
body.elementor-editor-active .nav-burger { pointer-events: auto; }

/* ------------------------------------------------------------------ *
 * Inner: Contact — style the Elementor Pro Form (rendered by template
 * ID inside .contact-form-wrap) to match the approved static form
 * (.form-group / label / input / textarea / .btn-primary). Scoped to
 * .contact-form-wrap so no other Elementor form on the site is touched.
 * ------------------------------------------------------------------ */
.contact-form-wrap .elementor-form-fields-wrapper {
	margin: 0;
	--e-form-fields-column-gap: 0px;
	--e-form-fields-row-gap: 0px;
}
.contact-form-wrap .elementor-field-group {
	/* !important: Elementor emits a per-element rule with a dynamic
	   .elementor-element-<id> class (0,4,0) we cannot target statically. */
	margin: 0 0 20px 0 !important;
	padding: 0;
	width: 100%;
	flex-basis: 100%;
	max-width: 100%;
}
.contact-form-wrap .elementor-field-group > .elementor-field-label {
	display: block;
	padding: 0;
	margin-bottom: 7px;
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	line-height: 1.3;
	color: var(--navy);
}
.contact-form-wrap .elementor-mark-required .elementor-field-required > .elementor-field-label:after {
	color: var(--navy);
}
.contact-form-wrap .elementor-field-group .elementor-field.elementor-field-textual,
.contact-form-wrap .elementor-field-group textarea.elementor-field {
	box-sizing: border-box;
	width: 100%;
	height: auto;
	padding: 13px 16px;
	border: 1px solid var(--border);
	border-radius: 3px;
	background: var(--white);
	font-family: inherit;
	font-size: 14px;
	line-height: 1.4;
	color: var(--text);
	outline: none;
	box-shadow: none;
	transition: border-color .2s;
}
.contact-form-wrap .elementor-field-group .elementor-field.elementor-field-textual:focus,
.contact-form-wrap .elementor-field-group textarea.elementor-field:focus {
	border-color: var(--navy);
	box-shadow: none;
}
.contact-form-wrap .elementor-field-group textarea.elementor-field {
	/* !important: the shared textual/textarea rule above sets height:auto at the
	   same specificity; across LiteSpeed's split-combine the two rules can land in
	   different chunks and load out of source order, letting auto win. */
	height: 120px !important;
	resize: vertical;
}
.contact-form-wrap .elementor-field-type-submit {
	margin-bottom: 0 !important;
}
.contact-form-wrap .elementor-field-type-submit .elementor-button {
	width: 100%;
	justify-content: center;
	padding: 15px;
	border: none;
	border-radius: 2px;
	/* !important: ties Elementor's .elementor-widget-form .elementor-button[type=submit]
	   (0,3,0, global accent colour) which otherwise wins on source order. */
	background-color: var(--orange) !important;
	color: #fff !important;
	font-family: inherit;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	cursor: pointer;
	transition: background-color .2s;
}
.contact-form-wrap .elementor-field-type-submit .elementor-button:hover {
	background-color: var(--orange-dark) !important;
}
/* Success / validation messages tuned to the design system. */
.contact-form-wrap .elementor-message {
	font-family: inherit;
	font-size: 14px;
}
.contact-form-wrap .elementor-message.elementor-message-success {
	color: var(--navy);
}

/* ------------------------------------------------------------------ *
 * Inner: Location Map — a centred section header + an embedded Google
 * map. No static counterpart, so it is built from the design tokens to
 * sit cleanly between the other inner bands. GLOBAL (no .nbh).
 * ------------------------------------------------------------------ */
.location-map-section { padding: 88px 60px; background: var(--white); }
.location-map-head { max-width: 760px; margin: 0 auto 40px; text-align: center; }
.location-map-address { font-size: 15px; color: var(--text-mid); line-height: 1.7; margin-top: 12px; }
.location-map {
	position: relative;
	max-width: 1200px;
	height: 460px;
	margin: 0 auto;
	border-radius: 14px;
	overflow: hidden;
	border: 1px solid var(--border);
}
.location-map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; }
@media (max-width: 960px) {
	.location-map-section { padding: 56px 24px; }
	.location-map { height: 320px; }
}

/* ==================================================================== *
 * COMPREHENSIVE LOCATION PAGE  (widget: nordic-nb-location, scope .nbl)
 * Built from the nordic-theme tokens (navy/orange, 88px 60px rhythm,
 * orange section-labels, 2px radii) with richer polish: gradient hero +
 * trust strip, circular accent badge, hover-zoom gallery + image service
 * cards, numbered steps, navy stats + CTA bands. Buttons reuse the global
 * .btn-* classes from main.css so they match sitewide.
 * ==================================================================== */
.nbl { color: var(--text); }

/* Shared section rhythm + headings */
.nbl-section { padding: 88px 60px; background: var(--white); }
.nbl-label { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em; color: var(--orange); margin-bottom: 10px; }
.nbl-title { font-size: clamp(24px, 3vw, 36px); font-weight: 700; color: var(--navy); line-height: 1.2; margin-bottom: 16px; }
.nbl-body { font-size: 15px; color: var(--text-mid); line-height: 1.85; margin-bottom: 14px; }
.nbl-lede { font-size: 15px; color: var(--text-mid); line-height: 1.85; max-width: 640px; }
.nbl-head { max-width: 640px; margin-bottom: 44px; }
.nbl-head-center { max-width: 720px; margin-left: auto; margin-right: auto; text-align: center; }
.nbl-head-center .nbl-lede { margin-left: auto; margin-right: auto; }

/* HERO */
.nbl-hero { position: relative; min-height: 600px; display: flex; flex-direction: column; justify-content: flex-end; background-size: cover; background-position: center; background-color: var(--navy-dark); overflow: hidden; }
.nbl-hero-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10,20,46,0.94) 0%, rgba(10,20,46,0.7) 50%, rgba(10,20,46,0.35) 100%); }
.nbl-hero-inner { position: relative; z-index: 2; padding: 120px 60px 56px; max-width: 820px; }
.nbl-crumbs { font-size: 12px; color: rgba(255,255,255,0.5); margin-bottom: 18px; letter-spacing: 0.05em; display: flex; flex-wrap: wrap; align-items: center; }
.nbl-crumbs a { color: rgba(255,255,255,0.5); transition: color .2s; }
.nbl-crumbs a:hover { color: #C2AE94; }
.nbl-crumb-sep { margin: 0 8px; opacity: 0.5; }
.nbl-hero-eyebrow { display: inline-flex; align-items: center; gap: 10px; background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.22); padding: 8px 16px; border-radius: 2px; margin-bottom: 20px; font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.9); }
.nbl-hero-title { font-size: clamp(32px, 4.6vw, 58px); font-weight: 700; color: #fff; line-height: 1.12; margin-bottom: 20px; }
.nbl-hero-sub { font-size: 16px; color: rgba(255,255,255,0.72); max-width: 560px; line-height: 1.8; margin-bottom: 32px; font-weight: 300; }
.nbl-hero-actions { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.nbl-hero-trust { position: relative; z-index: 2; background: rgba(10,20,46,0.7); backdrop-filter: blur(6px); border-top: 1px solid rgba(255,255,255,0.12); display: flex; justify-content: center; flex-wrap: wrap; }
.nbl-trust-item { padding: 18px 34px; border-right: 1px solid rgba(255,255,255,0.1); text-align: center; min-width: 130px; }
.nbl-trust-item:last-child { border-right: none; }
.nbl-trust-value { font-size: 24px; font-weight: 700; color: #fff; line-height: 1; }
.nbl-trust-label { font-size: 11px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: rgba(255,255,255,0.6); margin-top: 6px; }

/* LOCAL INTRO — split + circular accent badge */
.nbl-intro { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; background: var(--off-white); }
.nbl-intro-text .nbl-title { margin-bottom: 20px; }
.nbl-check { margin: 24px 0 32px; display: grid; grid-template-columns: 1fr 1fr; gap: 2px 28px; }
.nbl-check li { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; font-weight: 600; color: var(--navy); padding: 9px 0; border-bottom: 1px solid var(--border); }
.nbl-check li::before { content: "\2713"; color: var(--orange); font-weight: 700; font-size: 15px; flex-shrink: 0; }
.nbl-intro-media { position: relative; }
.nbl-intro-img { height: 500px; background-size: cover; background-position: center; background-color: var(--light-gray); border-radius: 2px; }
.nbl-badge { position: absolute; bottom: -26px; right: -26px; width: 132px; height: 132px; border-radius: 50%; background: var(--orange); color: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; box-shadow: 0 12px 30px rgba(158,125,79,0.4); }
.nbl-badge-num { font-size: 34px; font-weight: 700; line-height: 1; }
.nbl-badge-label { font-size: 10px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; margin-top: 5px; opacity: 0.9; max-width: 92px; }

/* LOCAL GALLERY — hover-zoom + caption overlay */
.nbl-gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 3px; }
.nbl-gallery-item { position: relative; overflow: hidden; height: 300px; margin: 0; background: var(--light-gray); }
.nbl-gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s cubic-bezier(.16,1,.3,1); }
.nbl-gallery-item:hover img { transform: scale(1.06); }
.nbl-gallery-ph { position: absolute; inset: 0; background: linear-gradient(135deg, var(--light-gray), var(--border)); }
.nbl-gallery-cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 18px; font-size: 13px; font-weight: 700; letter-spacing: 0.04em; color: #fff; background: linear-gradient(0deg, rgba(10,20,46,0.85), transparent); z-index: 2; }

/* SERVICES — image cards */
.nbl-services { background: var(--off-white); }
.nbl-services-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 3px; }
.nbl-svc-card { position: relative; overflow: hidden; height: 340px; display: block; }
.nbl-svc-bg { position: absolute; inset: 0; background-size: cover; background-position: center; background-color: var(--navy); transition: transform .5s cubic-bezier(.16,1,.3,1); }
.nbl-svc-card:hover .nbl-svc-bg { transform: scale(1.05); }
.nbl-svc-overlay { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(10,20,46,0.9) 0%, rgba(10,20,46,0.3) 60%, rgba(10,20,46,0.1) 100%); }
.nbl-svc-info { position: absolute; left: 0; right: 0; bottom: 0; padding: 32px; z-index: 2; }
.nbl-svc-title { display: block; font-size: 22px; font-weight: 700; color: #fff; margin-bottom: 8px; }
.nbl-svc-desc { display: block; font-size: 14px; color: rgba(255,255,255,0.75); line-height: 1.7; max-width: 440px; }
.nbl-svc-arrow { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; font-size: 11px; font-weight: 700; color: #C2AE94; letter-spacing: 0.08em; text-transform: uppercase; transition: gap .25s ease; }
.nbl-svc-card:hover .nbl-svc-arrow { gap: 12px; }
.nbl-svc-arrow span { font-size: 15px; }

/* PROCESS — numbered steps */
.nbl-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.nbl-step { background: var(--white); border: 1px solid var(--border); border-top: 3px solid var(--navy); padding: 40px 32px; transition: transform .3s cubic-bezier(.16,1,.3,1), box-shadow .3s ease, border-color .25s ease; }
.nbl-step:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(17,34,77,0.1); border-top-color: var(--orange); }
.nbl-step-num { width: 52px; height: 52px; border-radius: 50%; background: var(--navy); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 20px; font-weight: 700; margin-bottom: 22px; transition: background .25s ease; }
.nbl-step:hover .nbl-step-num { background: var(--orange); }
.nbl-step-title { font-size: 18px; font-weight: 700; color: var(--navy); margin-bottom: 12px; }
.nbl-step-body { font-size: 14px; color: var(--text-mid); line-height: 1.85; }

/* STATS BAND — navy, hairline separators */
.nbl-stats { background: var(--navy); }
.nbl-stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: rgba(255,255,255,0.1); }
.nbl-stat { background: var(--navy); padding: 28px 24px; text-align: center; }
.nbl-stat-num { font-size: clamp(30px, 4vw, 44px); font-weight: 700; color: #fff; line-height: 1; }
.nbl-stat-label { font-size: 12px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: rgba(255,255,255,0.6); margin-top: 10px; }

/* REVIEWS */
.nbl-reviews-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: 44px; }
.nbl-reviews-head .nbl-title { margin-bottom: 0; }
.nbl-rating { display: flex; align-items: center; gap: 14px; }
.nbl-rating-num { font-size: 48px; font-weight: 700; color: var(--navy); line-height: 1; }
.nbl-rating-right { display: flex; flex-direction: column; }
.nbl-stars { color: #C2AE94; letter-spacing: 2px; }
.nbl-rating .nbl-stars { font-size: 20px; }
.nbl-rating-count { font-size: 12px; color: var(--text-light); margin-top: 3px; }
.nbl-reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.nbl-review { background: var(--off-white); border: 1px solid var(--border); padding: 32px 28px; border-radius: 2px; transition: transform .3s cubic-bezier(.16,1,.3,1), box-shadow .3s ease; }
.nbl-review:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(17,34,77,0.12); }
.nbl-review .nbl-stars { font-size: 16px; margin-bottom: 14px; display: block; }
.nbl-review-body { font-size: 14px; color: var(--text-mid); line-height: 1.85; margin-bottom: 20px; font-style: italic; }
.nbl-review-author { font-size: 13px; font-weight: 700; color: var(--navy); }
.nbl-review-meta { font-size: 11px; color: var(--text-light); margin-top: 3px; }

/* FAQ — reuses global .faq-item/.faq-q/.faq-a/.faq-icon */
.nbl-faq { background: var(--off-white); }
.nbl-faq-list { max-width: 820px; margin-left: auto; margin-right: auto; }

/* MAP */
.nbl-map { background: var(--white); }
.nbl-map-address { font-size: 15px; color: var(--text-mid); line-height: 1.7; margin-top: 12px; }
.nbl-map-frame { position: relative; height: 460px; border-radius: 14px; overflow: hidden; border: 1px solid var(--border); box-shadow: 0 18px 40px rgba(17,34,77,0.08); }
.nbl-map-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; }

/* CLOSING CTA — navy band, centred */
.nbl-cta { background: var(--navy); }
.nbl-cta-inner { max-width: 780px; margin: 0 auto; text-align: center; }
.nbl-cta-eyebrow { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em; color: var(--orange); margin-bottom: 14px; }
.nbl-cta-heading { font-size: clamp(26px, 3.4vw, 40px); font-weight: 700; color: #fff; line-height: 1.2; margin-bottom: 16px; }
.nbl-cta-sub { font-size: 15px; color: rgba(255,255,255,0.68); line-height: 1.8; margin-bottom: 32px; }
.nbl-cta-actions { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; }

/* Responsive */
@media (max-width: 960px) {
	.nbl-section { padding: 56px 24px; }
	.nbl-hero { min-height: 520px; }
	.nbl-hero-inner { padding: 96px 24px 40px; }
	.nbl-trust-item { padding: 14px 20px; min-width: 50%; }
	.nbl-intro { grid-template-columns: 1fr; gap: 44px; }
	.nbl-intro-img { height: 360px; }
	.nbl-badge { width: 104px; height: 104px; right: 16px; bottom: -20px; }
	.nbl-badge-num { font-size: 26px; }
	.nbl-check { grid-template-columns: 1fr; }
	.nbl-gallery-grid { grid-template-columns: repeat(2, 1fr); }
	.nbl-services-grid { grid-template-columns: 1fr; }
	.nbl-svc-card { height: 300px; }
	.nbl-steps { grid-template-columns: 1fr; }
	.nbl-stats-grid { grid-template-columns: repeat(2, 1fr); }
	.nbl-reviews-grid { grid-template-columns: 1fr; }
	.nbl-reviews-head { flex-direction: column; align-items: flex-start; }
	.nbl-map-frame { height: 320px; }
}
@media (max-width: 560px) {
	.nbl-gallery-grid { grid-template-columns: 1fr; }
	.nbl-trust-item { min-width: 100%; border-right: none; border-bottom: 1px solid rgba(255,255,255,0.1); }
}
