/* NexGen Rank pages: layout for pages built by the NexGen Rank pages plugin. Uses the theme's colour tokens. */

/* ---------- Sections ---------- */
.ngrp-sec { --ngrp-ink: var(--ngr-ink, #0B1F45); }
.ngrp-sec--white { background: #fff; }
.ngrp-sec--mist { background: var(--ngr-mist, #EEF3FB); }
.ngrp-sec--hero { background: linear-gradient(180deg, var(--ngr-mist, #EEF3FB) 0%, #fff 100%); position: relative; }
.ngrp-sec--hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--ngr-grad); }
.ngrp-center, .ngrp-center .elementor-heading-title { text-align: center; }
.ngrp-center p { margin-inline: auto; }

/* ---------- Type ---------- */
.ngrp-h .elementor-heading-title { font-family: var(--ngr-font); color: var(--ngr-ink); font-weight: 800; letter-spacing: -0.015em; }
.ngrp-h1 .elementor-heading-title { font-size: clamp(2.1rem, 1.4rem + 2.6vw, 3.25rem); line-height: 1.1; }
.ngrp-h2 .elementor-heading-title { font-size: 35px; line-height: 1.2; }
.ngrp-h3 .elementor-heading-title, .ngrp-h3size .elementor-heading-title { font-size: 1.4rem; line-height: 1.3; }
@media (max-width: 1024px) { .ngrp-h2 .elementor-heading-title { font-size: 30px; } }
@media (max-width: 767px) { .ngrp-h2 .elementor-heading-title { font-size: 26px; } }
.ngrp-text { font-size: 1.05rem; line-height: 1.7; color: var(--ngr-text); }
.ngrp-text p:last-child, .ngrp-text ul:last-child { margin-bottom: 0; }
.ngrp-text a { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.ngrp-text ul:not([class]) { padding-left: 1.2em; margin: 0 0 1em; }
.ngrp-text ul:not([class]) li { margin-bottom: .55em; }
.ngrp-text li::marker { color: var(--ngr-blue); }
.ngrp-lead { font-size: 1.2rem; line-height: 1.6; max-width: 40em; }
.ngrp-lead-sm { font-size: 1.08rem; color: var(--ngr-muted); }
.ngrp-lead-sm p { max-width: 46em; }
.ngrp-small { font-size: .98rem; color: var(--ngr-muted); }

/* ---------- Breadcrumb ---------- */
.ngrp-crumbs { display: flex; flex-wrap: wrap; gap: 6px; font-size: .88rem; color: var(--ngr-muted); }
body .ngrp-crumbs a { color: var(--ngr-muted); text-decoration: none !important; }
.ngrp-crumbs a:hover { color: var(--ngr-blue); }
.ngrp-crumbs span:not([aria-current]) { color: #9AA8C2; }

/* ---------- Buttons (override Elementor's site-wide button style) ---------- */
body .elementor .ngrp-btn .elementor-button {
	padding: 15px 26px; border-radius: 10px; border: 2px solid transparent;
	font-family: var(--ngr-font); font-size: 1rem; font-weight: 700; line-height: 1.2;
	transition: background-color .15s, color .15s, border-color .15s;
}
body .elementor .ngrp-btn--amber .elementor-button { background: var(--ngr-amber); color: var(--ngr-navy-deep); }
body .elementor .ngrp-btn--amber .elementor-button:hover, body .elementor .ngrp-btn--amber .elementor-button:focus { background: var(--ngr-amber-dark); color: var(--ngr-navy-deep); }
body .elementor .ngrp-btn--primary .elementor-button { background: var(--ngr-blue); color: #fff; }
body .elementor .ngrp-btn--primary .elementor-button:hover { background: var(--ngr-navy); color: #fff; }
body .elementor .ngrp-btn--ghost .elementor-button { background: #fff; color: var(--ngr-ink); border-color: var(--ngr-line); }
body .elementor .ngrp-btn--ghost .elementor-button:hover { border-color: var(--ngr-blue); color: var(--ngr-blue); background: #fff; }
.ngrp-buttons.e-con { --gap: 12px; --flex-wrap: wrap; }
.ngrp-buttons > .elementor-widget { width: auto; }

/* ---------- Hero ---------- */
.ngrp-hero.e-con { --align-items: flex-start; }
.ngrp-hero__text { padding-top: 8px; }
.ngrp-ticks { list-style: none; margin: 6px 0 0; padding: 0; display: grid; gap: 10px; }
.ngrp-ticks li { position: relative; padding-left: 32px; font-weight: 600; color: var(--ngr-ink); }
.ngrp-ticks li::before {
	content: ""; position: absolute; left: 0; top: 2px; width: 22px; height: 22px; border-radius: 50%;
	background: var(--ngr-blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4L18 8'/%3E%3C/svg%3E") center / 14px no-repeat;
}
.ngrp-crosses { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ngrp-crosses li { position: relative; padding-left: 32px; font-weight: 600; color: var(--ngr-ink); }
.ngrp-crosses li::before {
	content: ""; position: absolute; left: 0; top: 2px; width: 22px; height: 22px; border-radius: 50%;
	background: #C9D3E4 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230B1F45' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M8 8l8 8M16 8l-8 8'/%3E%3C/svg%3E") center / 12px no-repeat;
}

/* ---------- Form box and forms (Elementor Pro form widget) ---------- */
.ngrp-formbox.e-con {
	background: #fff; border: 1px solid var(--ngr-line); border-radius: 24px;
	box-shadow: 0 1px 2px rgba(11, 31, 69, .06), 0 24px 48px -24px rgba(11, 31, 69, .25);
	--gap: 10px;
}
.ngrp-formbox__title .elementor-heading-title { font-size: 1.6rem; text-align: center; color: var(--ngr-blue); }
.ngrp-formbox__lead { text-align: center; color: var(--ngr-muted); font-size: .98rem; }
.ngrp-form .elementor-form-fields-wrapper { margin-left: -6px; margin-right: -6px; }
.ngrp-form .elementor-field-group { padding-left: 6px; padding-right: 6px; margin-bottom: 12px; }
.ngrp-form .elementor-field-group .elementor-field-textual,
.ngrp-form .elementor-field-group .elementor-select-wrapper select {
	min-height: 50px; padding: 12px 16px; border: 1px solid var(--ngr-line); border-radius: 10px;
	background: #fff; color: var(--ngr-ink); font-family: var(--ngr-font); font-size: 1rem; line-height: 1.4;
	transition: border-color .15s, box-shadow .15s;
}
.ngrp-form .elementor-field-group textarea.elementor-field-textual { min-height: 110px; }
.ngrp-form .elementor-field-group .elementor-field-textual:focus,
.ngrp-form .elementor-field-group select:focus { border-color: var(--ngr-blue); box-shadow: 0 0 0 3px rgba(36, 89, 194, .16); outline: none; }
.ngrp-form .elementor-field-textual::placeholder { color: #7C89A3; }
.ngrp-form .elementor-field-type-select > label { font-weight: 700; color: var(--ngr-ink); font-size: .92rem; margin-bottom: 6px; }
body .elementor .ngrp-form .elementor-button {
	width: 100%; min-height: 54px; border: 0; border-radius: 10px; background: var(--ngr-blue); color: #fff;
	font-family: var(--ngr-font); font-size: 1.02rem; font-weight: 800;
}
body .elementor .ngrp-form .elementor-button:hover { background: var(--ngr-navy); color: #fff; }
body .elementor .ngrp-form--full .elementor-button { background: var(--ngr-amber); color: var(--ngr-navy-deep); }
body .elementor .ngrp-form--full .elementor-button:hover { background: var(--ngr-amber-dark); color: var(--ngr-navy-deep); }
.ngrp-form .elementor-message { font-weight: 600; }
.ngrp-hurry { text-align: center; font-size: .95rem; color: var(--ngr-muted); }
.ngrp-hurry a { font-weight: 700; color: var(--ngr-blue); }

/* ---------- In short ---------- */
.ngrp-short { position: relative; padding: 26px 30px 26px 34px; border-radius: 16px; background: #fff; border: 1px solid var(--ngr-line); max-width: 920px; margin: 0 auto; }
.ngrp-short::before { content: ""; position: absolute; left: 0; top: 18px; bottom: 18px; width: 4px; border-radius: 0 4px 4px 0; background: var(--ngr-grad); }
.ngrp-short__label { font-weight: 800; color: var(--ngr-blue); margin: 0 0 6px !important; }
.ngrp-short p:last-child { margin: 0; color: var(--ngr-ink); font-size: 1.08rem; }

/* ---------- Media ---------- */
.ngrp-img img { width: 100%; height: auto; border-radius: 24px; display: block; }
.ngrp-media img { box-shadow: 0 30px 60px -32px rgba(11, 31, 69, .45); }
.ngrp-row--center.e-con { --align-items: center; }

/* ---------- Problem cards ---------- */
.ngrp-cards4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin-top: 8px; }
.ngrp-cards4 > div { padding: 24px; border-radius: 16px; border: 1px solid var(--ngr-line); border-top: 4px solid var(--ngr-blue); background: #fff; }
.ngrp-cards4 h3 { font-size: 1.15rem; margin: 0 0 8px; }
.ngrp-cards4 p { margin: 0; font-size: .98rem; color: var(--ngr-muted); }
@media (max-width: 1024px) { .ngrp-cards4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .ngrp-cards4 { grid-template-columns: 1fr; } }

/* ---------- Chips and link lists ---------- */
.ngrp-chips { list-style: none !important; margin: 0; padding: 0 !important; display: flex; flex-wrap: wrap; gap: 10px; }
.ngrp-chips li { margin: 0 !important; }
body .ngrp-chips a, body .ngrp-chips span {
	display: inline-block; padding: 9px 15px; border-radius: 999px; background: #fff; border: 1px solid var(--ngr-line);
	font-size: .93rem; font-weight: 600; color: var(--ngr-ink); text-decoration: none !important; line-height: 1.3;
}
body .ngrp-chips a:hover { border-color: var(--ngr-blue); color: var(--ngr-blue); }
.ngrp-chips--plain span { background: transparent; border-style: dashed; font-weight: 500; }
.ngrp-panel.e-con { background: #fff; border: 1px solid var(--ngr-line); border-radius: 24px; }
body .ngrp-sec--white .ngrp-chips a { background: var(--ngr-mist); border-color: transparent; }
body .ngrp-sec--white .ngrp-chips a:hover { background: #fff; border-color: var(--ngr-blue); }

/* ---------- Promises ---------- */
.ngrp-promise { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; max-width: 960px; margin: 8px auto 0; }
.ngrp-promise > div { padding: 30px; border-radius: 24px; border: 1px solid var(--ngr-line); }
.ngrp-promise > div:first-child { background: var(--ngr-mist); border-color: transparent; }
.ngrp-promise h3 { margin: 0 0 16px; font-size: 1.3rem; }
@media (max-width: 767px) { .ngrp-promise { grid-template-columns: 1fr; } }

/* ---------- Proposal ---------- */
.ngrp-proposal.e-con {
	border: 1px solid var(--ngr-line); border-radius: 24px; background: #fff;
	--align-items: center; max-width: 1080px; margin: 8px auto 0;
}
.ngrp-proposal__image img { border-radius: 20px; }
@media (max-width: 1024px) {
	.ngrp-proposal__image { max-width: 420px; margin: 0 auto; }
}
@media (max-width: 767px) { .ngrp-proposal__image { display: none; } }

/* ---------- Hero extras ---------- */
.ngrp-hero__kicker { display: inline-block; margin: 0 !important; padding: 6px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--ngr-line); color: var(--ngr-blue); font-weight: 700; font-size: .9rem; }
.ngrp-hero__title--home .elementor-heading-title { font-size: clamp(2.3rem, 1.5rem + 3vw, 3.75rem); }

/* ---------- Panels, quotes, centred chips ---------- */
.ngrp-panel--mist.e-con { background: var(--ngr-mist); border-color: transparent; }
.ngrp-quote { padding: 34px 32px; border-radius: 24px; background: var(--ngr-navy); color: #C9D5EC; position: relative; overflow: hidden; }
.ngrp-quote::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: var(--ngr-grad); }
.ngrp-quote p { margin: 0 0 10px; }
.ngrp-quote p:last-child { margin: 0; }
.ngrp-quote__big { color: #fff; font-size: clamp(1.5rem, 1.1rem + 1.3vw, 2.1rem); font-weight: 800; line-height: 1.2; letter-spacing: -0.015em; }
.ngrp-chips--center { justify-content: center; }

/* ---------- Lidora CRM (Lidora's own colours: teal, dark teal, coral, lagoon) ---------- */
.ngrp-sec--lidora { --lid-teal: #0E4A52; --lid-dark: #08343A; --lid-coral: #FF6B5A; --lid-lagoon: #7FC4C9; background: radial-gradient(120% 120% at 100% 0%, #13606A 0%, var(--lid-teal) 45%, var(--lid-dark) 100%); color: #CFE6E8; }
.ngrp-sec--lidora .ngrp-text, .ngrp-sec--lidora p { color: #CFE6E8; }
.ngrp-lidora__brand { display: inline-flex; align-items: center; gap: 10px; margin: 0 !important; color: #fff !important; font-weight: 800; font-size: 1.15rem; letter-spacing: -0.01em; }
.ngrp-lidora__mark { width: 28px; height: 28px; border-radius: 9px; background: linear-gradient(135deg, var(--lid-coral), #FF9A7A); box-shadow: inset 0 0 0 6px rgba(255, 255, 255, .25); }
.ngrp-lidora__by { font-weight: 600; font-size: .85rem; color: var(--lid-lagoon); }
.ngrp-sec--lidora .ngrp-lidora__title .elementor-heading-title { color: #fff; }
.ngrp-lidora__lead p { font-size: 1.15rem; line-height: 1.6; }
.ngrp-ticks--coral li { color: #fff; font-weight: 600; }
.ngrp-ticks--coral li::before { background-color: var(--lid-coral); }
.ngrp-lidora__small p { font-size: .92rem; color: var(--lid-lagoon) !important; margin: 0; }
.ngrp-lidora__media img { border-radius: 24px; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .55); }
body .elementor .ngrp-btn--coral .elementor-button { background: var(--lid-coral, #FF6B5A); color: #fff; border-color: transparent; }
body .elementor .ngrp-btn--coral .elementor-button:hover { background: #FF8573; color: #fff; }
body .elementor .ngrp-btn--outline-light .elementor-button { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .45); }
body .elementor .ngrp-btn--outline-light .elementor-button:hover { background: rgba(255, 255, 255, .1); color: #fff; border-color: #fff; }
.ngrp-lidora__features .ngr-services { --w-tile: rgba(255, 255, 255, .06); --w-line: rgba(255, 255, 255, .14); --w-chip: rgba(255, 107, 90, .18); --w-chip-ink: #FF8A7C; --w-text: #CFE6E8; }
.ngrp-sec--lidora-band .ngrp-lidora__title .elementor-heading-title { font-size: 30px; }
.ngrp-lidora__actions.e-con { --align-items: flex-end; }
@media (max-width: 1024px) { .ngrp-lidora__actions.e-con { --align-items: flex-start; } }

/* ---------- Booking page and contact cards ---------- */
.ngrp-booking-box.e-con { background: #fff; border: 1px solid var(--ngr-line); border-radius: 24px; box-shadow: 0 1px 2px rgba(11, 31, 69, .06), 0 24px 48px -24px rgba(11, 31, 69, .25); overflow: hidden; }
.ngrp-booking iframe { width: 100%; min-height: 720px; border: 0; display: block; border-radius: 16px; }
.ngrp-contact-cards .ngr-service__title { font-size: 1.15rem; }
.ngrp-contact-cards .ngr-service__text { word-break: break-word; font-weight: 600; color: var(--ngr-ink); }
