/**
 * NC Call Booking Pro — front-end booking experience.
 *
 * Performance-first redesign:
 *  - No web fonts or icon CDNs (system font stack + inline SVG icons).
 *  - All rules scoped under .nc-landing-wrapper so themes can't clash and our
 *    styles win without !important.
 *  - Animations use transform/opacity only, and respect prefers-reduced-motion.
 *  - Imagery reserves space (aspect-ratio) to avoid layout shift (CLS).
 */

.nc-landing-wrapper {
	--nc-graphite: #1a1d21;
	--nc-graphite-2: #2a2f36;
	--nc-green: #84bd00;
	--nc-green-dark: #6fa000;
	--nc-ink: #1d2327;
	--nc-muted: #6b7280;
	--nc-line: #e6e8eb;
	--nc-surface: #f6f7f8;
	--nc-danger: #e02424;
	--nc-radius: 16px;
	--nc-radius-sm: 10px;
	--nc-shadow: 0 10px 30px rgba(16, 24, 40, .08);
	--nc-shadow-lg: 0 24px 50px rgba(16, 24, 40, .12);
	--nc-ring: 0 0 0 4px rgba(132, 189, 0, .22);
	--nc-font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Helvetica Neue", Arial, sans-serif;

	max-width: 1120px;
	margin: 40px auto;
	padding: 0 20px;
	font-family: var(--nc-font);
	color: var(--nc-ink);
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

.nc-landing-wrapper *,
.nc-landing-wrapper *::before,
.nc-landing-wrapper *::after { box-sizing: border-box; }

/* ============================ Section heading ============================ */
.nc-section-title { text-align: center; margin-bottom: 34px; }
.nc-section-title h2 { font-size: clamp(22px, 3vw, 30px); color: var(--nc-graphite); text-transform: uppercase; letter-spacing: .6px; font-weight: 800; margin: 0; }
.nc-section-title span { color: var(--nc-green); }

/* ============================ Trust cards ============================ */
.nc-why-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; margin-bottom: 44px; }
.nc-why-card { background: #fff; padding: 30px 26px; border: 1px solid var(--nc-line); border-radius: var(--nc-radius); text-align: center; box-shadow: var(--nc-shadow); transition: transform .25s ease, box-shadow .25s ease; }
.nc-why-card:hover { transform: translateY(-6px); box-shadow: var(--nc-shadow-lg); }
.nc-why-ico { width: 54px; height: 54px; margin: 0 auto 16px; border-radius: 14px; display: grid; place-items: center; background: rgba(132, 189, 0, .12); color: var(--nc-green); }
.nc-why-ico svg { width: 28px; height: 28px; }
.nc-why-card h4 { font-size: 16px; margin: 0 0 8px; color: var(--nc-graphite); text-transform: uppercase; font-weight: 700; letter-spacing: .3px; }
.nc-why-card p { font-size: 14px; color: var(--nc-muted); line-height: 1.6; margin: 0; }

/* ============================ Form shell ============================ */
.nc-main-wrapper { display: grid; grid-template-columns: 1.05fr 1fr; background: #fff; border: 1px solid var(--nc-line); border-radius: calc(var(--nc-radius) + 4px); overflow: hidden; box-shadow: var(--nc-shadow-lg); margin-bottom: 48px; }

.nc-image-col { position: relative; background: var(--nc-graphite); min-height: 100%; aspect-ratio: 4 / 5; }
.nc-image-col img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .92; }
.nc-image-col::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(26, 29, 33, .1) 0%, rgba(26, 29, 33, .72) 100%); }
.nc-image-badge { position: absolute; left: 22px; bottom: 22px; right: 22px; z-index: 1; color: #fff; }
.nc-image-badge strong { display: block; font-size: 18px; font-weight: 700; }
.nc-image-badge span { font-size: 13px; opacity: .85; }

.nc-form-col { padding: clamp(26px, 4vw, 48px); display: flex; flex-direction: column; justify-content: center; }

/* ============================ Stepper ============================ */
.nc-stepper { position: relative; margin-bottom: 26px; }
.nc-stepper-line { position: absolute; top: 16px; left: 17px; right: 17px; height: 3px; background: var(--nc-line); border-radius: 999px; overflow: hidden; }
.nc-stepper-fill { display: block; height: 100%; width: 0; background: var(--nc-green); border-radius: 999px; transition: width .35s ease; }
.nc-stepper-list { position: relative; z-index: 1; display: flex; justify-content: space-between; list-style: none; margin: 0; padding: 0; }
.nc-stepper-item { display: flex; flex-direction: column; align-items: center; gap: 7px; flex: 1; }
.nc-stepper-dot { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: #fff; border: 2px solid var(--nc-line); color: var(--nc-muted); font-size: 13px; font-weight: 700; transition: background .25s ease, border-color .25s ease, color .25s ease, transform .25s ease; }
.nc-stepper-label { font-size: 11px; font-weight: 600; letter-spacing: .3px; text-transform: uppercase; color: var(--nc-muted); }
.nc-stepper-item.is-active .nc-stepper-dot { border-color: var(--nc-green); color: var(--nc-green); transform: scale(1.06); box-shadow: var(--nc-ring); }
.nc-stepper-item.is-done .nc-stepper-dot { background: var(--nc-green); border-color: var(--nc-green); color: #fff; cursor: pointer; }
.nc-stepper-item.is-active .nc-stepper-label { color: var(--nc-graphite); }

/* ============================ Steps / fields ============================ */
#nc-booking-form h3 { font-size: 20px; font-weight: 800; color: var(--nc-graphite); margin: 0 0 6px; letter-spacing: .2px; }
.nc-step-intro { color: var(--nc-muted); font-size: 14px; margin: 0 0 18px; }
.nc-step { display: none; }
.nc-step.active { display: block; animation: ncFade .35s ease; }

.form-group { margin-bottom: 16px; }
.nc-landing-wrapper .form-group label { display: block; margin-bottom: 7px; font-weight: 600; color: var(--nc-ink); font-size: 12.5px; text-transform: uppercase; letter-spacing: .3px; }
.nc-landing-wrapper .form-control { width: 100%; height: 50px; padding: 0 14px; border: 1.5px solid var(--nc-line); border-radius: var(--nc-radius-sm); font-size: 15px; font-family: inherit; color: var(--nc-ink); background: #fff; transition: border-color .2s ease, box-shadow .2s ease; appearance: none; }
.nc-landing-wrapper textarea.form-control { height: auto; padding: 12px 14px; min-height: 90px; resize: vertical; }
.nc-landing-wrapper select.form-control { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%236b7280' d='M6 8 0 2l1.4-1.4L6 5.2 10.6.6 12 2z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px; }
.nc-landing-wrapper .form-control:focus { border-color: var(--nc-green); outline: none; box-shadow: var(--nc-ring); }
.nc-landing-wrapper .form-control::placeholder { color: #9aa1ab; }

/* ============================ Buttons ============================ */
.nc-btn-wrap { display: flex; gap: 12px; margin-top: 22px; }
.nc-landing-wrapper .btn-next,
.nc-landing-wrapper .btn-submit,
.nc-landing-wrapper .btn-prev { height: 52px; padding: 0 22px; border: none; border-radius: var(--nc-radius-sm); cursor: pointer; font-weight: 700; font-size: 14px; letter-spacing: .3px; font-family: inherit; transition: transform .15s ease, box-shadow .2s ease, background .2s ease; display: inline-flex; align-items: center; justify-content: center; gap: 8px; }
.nc-landing-wrapper .btn-next,
.nc-landing-wrapper .btn-submit { flex: 1; background: var(--nc-green); color: #fff; box-shadow: 0 8px 18px rgba(132, 189, 0, .28); }
.nc-landing-wrapper .btn-next:hover,
.nc-landing-wrapper .btn-submit:hover { background: var(--nc-green-dark); transform: translateY(-1px); }
.nc-landing-wrapper .btn-next:active,
.nc-landing-wrapper .btn-submit:active { transform: translateY(0); }
.nc-landing-wrapper .btn-prev { flex: 0 0 auto; background: transparent; color: var(--nc-graphite); border: 1.5px solid var(--nc-line); box-shadow: none; }
.nc-landing-wrapper .btn-prev:hover { background: var(--nc-surface); }
.nc-landing-wrapper .btn-submit:disabled { opacity: .75; cursor: progress; transform: none; }
.nc-landing-wrapper .btn-submit svg { width: 18px; height: 18px; }

/* ============================ Validation / states ============================ */
.nc-landing-wrapper .form-control.nc-invalid { border-color: var(--nc-danger); box-shadow: 0 0 0 4px rgba(224, 36, 36, .12); }
.nc-field-error { display: block; margin-top: 6px; color: var(--nc-danger); font-size: 12px; font-weight: 600; }
.nc-alert { padding: 12px 15px; border-radius: var(--nc-radius-sm); font-size: 13.5px; margin-bottom: 16px; }
.nc-alert-error { background: #fdecec; color: #a12020; border: 1px solid #f5c2c2; }
.nc-fineprint { font-size: 12px; color: #9aa1ab; margin: 6px 0 0; }
.nc-hidden { display: none; }

/* Honeypot — off-screen, not display:none (bots skip display:none). */
.nc-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

/* Spinner */
.nc-spinner { width: 16px; height: 16px; border: 2px solid rgba(255, 255, 255, .55); border-top-color: #fff; border-radius: 50%; animation: ncSpin .7s linear infinite; }

/* Success */
.nc-success { text-align: center; padding: 18px 0; animation: ncFade .35s ease; }
.nc-success-check { width: 74px; height: 74px; border-radius: 50%; background: var(--nc-green); margin: 0 auto 18px; position: relative; animation: ncPop .4s ease; box-shadow: 0 10px 24px rgba(132, 189, 0, .35); }
.nc-success-check::after { content: ""; position: absolute; left: 28px; top: 15px; width: 12px; height: 26px; border: solid #fff; border-width: 0 4px 4px 0; transform: rotate(45deg); }
.nc-success h3 { margin: 0 0 8px; }
.nc-success p { color: var(--nc-muted); font-size: 15px; line-height: 1.6; margin: 0; }

/* Accessibility helper */
.nc-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ============================ Process section ============================ */
.nc-process-wrap { background: var(--nc-graphite); padding: clamp(40px, 6vw, 60px) 30px; border-radius: calc(var(--nc-radius) + 4px); color: #fff; text-align: center; }
.nc-process-title { margin: 0; text-transform: uppercase; letter-spacing: 1px; font-weight: 800; font-size: clamp(20px, 3vw, 26px); }
.nc-process-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 26px; margin-top: 36px; }
.nc-step-num { width: 48px; height: 48px; background: var(--nc-green); color: #fff; border-radius: 50%; display: grid; place-items: center; margin: 0 auto 16px; font-weight: 800; font-size: 19px; box-shadow: 0 0 0 6px rgba(132, 189, 0, .15); }
.nc-process-item h4 { color: var(--nc-green); margin: 0 0 8px; font-size: 15px; text-transform: uppercase; font-weight: 700; }
.nc-process-item p { font-size: 13px; opacity: .8; line-height: 1.55; margin: 0; }

/* ============================ Animations ============================ */
@keyframes ncFade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
@keyframes ncSpin { to { transform: rotate(360deg); } }
@keyframes ncPop { 0% { transform: scale(0); } 70% { transform: scale(1.1); } 100% { transform: scale(1); } }

/* ============================ Responsive ============================ */
@media (max-width: 820px) {
	.nc-main-wrapper { grid-template-columns: 1fr; }
	.nc-image-col { aspect-ratio: 16 / 9; }
	.nc-stepper-label { display: none; }
}

@media (prefers-reduced-motion: reduce) {
	.nc-landing-wrapper *,
	.nc-landing-wrapper *::before,
	.nc-landing-wrapper *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}
