/* ==========================================================================
   CTNE Child — CAST Testing & Engineering
   Brand system, header, footer and homepage component styling.
   Page content is built in Elementor; these classes style that content.
   ========================================================================== */

:root {
	--ctne-navy:      #142a5e;
	--ctne-navy-900:  #0e1f47;
	--ctne-navy-700:  #21407f;
	--ctne-green:     #1f9e6d;
	--ctne-green-600: #16855c;
	--ctne-slate:     #8fa0c8;
	--ctne-grey-50:   #f5f7fa;
	--ctne-grey-100:  #eef1f6;
	--ctne-grey-200:  #dfe4ec;
	--ctne-ink:       #1b2333;
	--ctne-muted:     #454d61;
	--ctne-white:     #ffffff;
	--ctne-header-h:  124px;
	--ctne-radius:    12px;
	--ctne-shadow:    0 22px 50px -20px rgba(16, 31, 71, 0.30);
	--ctne-shadow-sm: 0 10px 28px -16px rgba(16, 31, 71, 0.28);
	--ctne-maxw:      1260px;
	--ctne-font-head: 'Montserrat', 'Segoe UI', system-ui, sans-serif;
	--ctne-font-body: 'Inter', 'Segoe UI', system-ui, sans-serif;
}

/* ---------- Base ---------- */
body {
	font-family: var(--ctne-font-body);
	color: var(--ctne-ink);
	font-size: 17px;
	line-height: 1.65;
	overflow-x: hidden;
}
.ctne-site-content { overflow-x: clip; }

/* Elementor sections/columns don't accept custom classes in this build, so
   rely on native settings + widget classes. Ensure column rows wrap. */
.elementor-section .elementor-container { flex-wrap: wrap; }

/* Wider content container across all boxed sections. */
.elementor-section.elementor-section-boxed > .elementor-container { max-width: 1260px; }

.screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px;
	padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0,0,0,0);
	white-space: nowrap; border: 0;
}
.ctne-skip-link:focus {
	position: fixed; top: 8px; left: 8px; z-index: 100000;
	width: auto; height: auto; clip: auto;
	background: var(--ctne-navy); color: #fff;
	padding: 10px 16px; border-radius: 6px;
}

/* ---------- Buttons ---------- */
.ctne-btn {
	display: inline-flex; align-items: center; justify-content: center;
	gap: .5em;
	font-family: var(--ctne-font-head);
	font-weight: 700; font-size: .95rem; letter-spacing: .01em;
	line-height: 1; text-decoration: none;
	padding: 14px 26px; border-radius: 8px;
	border: 2px solid transparent; cursor: pointer;
	transition: transform .18s ease, background .18s ease, color .18s ease, border-color .18s ease;
}
.ctne-btn--quote { background: var(--ctne-green); color: #fff; }
.ctne-btn--quote:hover { background: var(--ctne-green-600); color:#fff; transform: translateY(-2px); }

/* ==========================================================================
   HEADER
   ========================================================================== */
.ctne-header {
	position: sticky; top: 0; z-index: 999;
	background: rgba(255,255,255,0.98);
	border-bottom: 1px solid var(--ctne-grey-200);
	backdrop-filter: saturate(140%) blur(6px);
	transition: box-shadow .2s ease, padding .2s ease;
}
.ctne-header.is-scrolled { box-shadow: 0 8px 24px -14px rgba(16,31,71,.35); }
.ctne-header__inner {
	max-width: var(--ctne-maxw); margin: 0 auto;
	display: flex; align-items: center; justify-content: space-between;
	gap: 24px; padding: 6px 24px; min-height: var(--ctne-header-h);
}
.ctne-logo { display: inline-flex; align-items: center; }
/* Compact header logo: CTE mark only, sized by width (~152px desktop), vertically centred. */
.ctne-logo img {
	width: 160px; height: auto; display: block;
	transition: width .2s ease;
}
.ctne-header.is-scrolled .ctne-logo img { width: 122px; }

.ctne-nav { display: flex; align-items: center; gap: 28px; }
.ctne-menu {
	display: flex; align-items: center; gap: 26px;
	list-style: none; margin: 0; padding: 0;
}
.ctne-menu a {
	font-family: var(--ctne-font-head);
	font-weight: 600; font-size: .95rem;
	color: var(--ctne-navy); text-decoration: none;
	padding: 8px 2px; position: relative;
	transition: color .18s ease;
}
.ctne-menu a::after {
	content: ""; position: absolute; left: 0; right: 0; bottom: 0;
	height: 2px; background: var(--ctne-green);
	transform: scaleX(0); transform-origin: left; transition: transform .2s ease;
}
.ctne-menu a:hover { color: var(--ctne-green-600); }
.ctne-menu a:hover::after { transform: scaleX(1); }

.ctne-menu-toggle {
	display: none; width: 46px; height: 42px;
	background: transparent; border: 0; cursor: pointer;
	padding: 8px; border-radius: 6px;
}
.ctne-menu-toggle__bar {
	display: block; width: 26px; height: 3px; margin: 4px auto;
	background: var(--ctne-navy); border-radius: 2px;
	transition: transform .25s ease, opacity .2s ease;
}
.ctne-menu-toggle[aria-expanded="true"] .ctne-menu-toggle__bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.ctne-menu-toggle[aria-expanded="true"] .ctne-menu-toggle__bar:nth-child(2) { opacity: 0; }
.ctne-menu-toggle[aria-expanded="true"] .ctne-menu-toggle__bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav */
@media (max-width: 992px) {
	:root { --ctne-header-h: 100px; }
	.ctne-logo img { width: 128px; }
	.ctne-header.is-scrolled .ctne-logo img { width: 108px; }
	.ctne-menu-toggle { display: block; }
	.ctne-nav {
		position: fixed; inset: var(--ctne-header-h) 0 auto 0;
		flex-direction: column; align-items: stretch; gap: 0;
		background: #fff; border-bottom: 1px solid var(--ctne-grey-200);
		padding: 8px 20px 20px;
		transform: translateY(-12px); opacity: 0; pointer-events: none;
		max-height: calc(100vh - var(--ctne-header-h)); overflow-y: auto;
		box-shadow: 0 24px 40px -20px rgba(16,31,71,.4);
		transition: opacity .2s ease, transform .2s ease;
	}
	.ctne-nav.is-open { transform: translateY(0); opacity: 1; pointer-events: auto; }
	.ctne-menu { flex-direction: column; align-items: stretch; gap: 0; width: 100%; }
	.ctne-menu li { border-bottom: 1px solid var(--ctne-grey-100); }
	.ctne-menu a { display: block; padding: 15px 4px; font-size: 1.05rem; }
	.ctne-menu a::after { display: none; }
	.ctne-nav__cta { margin-top: 16px; width: 100%; }
	body.ctne-nav-open { overflow: hidden; }
}
@media (max-width: 600px) {
	:root { --ctne-header-h: 88px; }
	.ctne-logo img,
	.ctne-header.is-scrolled .ctne-logo img { width: 108px; }
}

/* ==========================================================================
   SHARED SECTION HELPERS (applied via Elementor CSS classes)
   ========================================================================== */
.ctne-eyebrow .elementor-heading-title,
.ctne-eyebrow {
	font-family: var(--ctne-font-head);
	font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
	font-size: .9rem; color: var(--ctne-green) !important; margin-bottom: 6px;
}
.ctne-section-title .elementor-heading-title {
	font-family: var(--ctne-font-head);
	font-weight: 800; color: var(--ctne-navy) !important;
	font-size: clamp(2rem, 3vw, 2.7rem);
	line-height: 1.14; letter-spacing: -0.012em;
}
.ctne-on-dark .elementor-heading-title { color: #fff !important; }
.ctne-lead .elementor-widget-container,
.ctne-lead { color: var(--ctne-muted); font-size: 1.12rem; line-height: 1.75; }
.ctne-lead p { text-wrap: balance; }

/* Accent underline under headings */
.ctne-title-accent .elementor-heading-title::after {
	content: ""; display: block; width: 72px; height: 4px;
	background: var(--ctne-green); border-radius: 3px; margin-top: 18px;
}
.ctne-title-accent.ctne-center .elementor-heading-title::after { margin-left: auto; margin-right: auto; }

/* Alternate section-header treatment (dark "Why Choose" band only): the eyebrow
   is flanked by short hairlines instead of the title carrying an underline. */
#why-choose .ctne-eyebrow .elementor-heading-title {
	display: inline-flex; align-items: center; gap: 16px;
}
#why-choose .ctne-eyebrow .elementor-heading-title::before,
#why-choose .ctne-eyebrow .elementor-heading-title::after {
	content: ""; width: 30px; height: 2px; border-radius: 2px;
	background: rgba(143, 240, 198, 0.55);
}

/* ---------- HERO ---------- */
.ctne-hero { position: relative; }
.ctne-hero-title .elementor-heading-title {
	font-family: var(--ctne-font-head);
	font-weight: 800; color: #fff !important;
	font-size: clamp(2.6rem, 5.2vw, 4rem); line-height: 1.06;
	letter-spacing: -0.015em;
	margin-bottom: 10px;
}
.ctne-hero-eyebrow .elementor-heading-title {
	color: #8ff0c6 !important; letter-spacing: .2em; text-transform: uppercase;
	font-weight: 700; font-size: .92rem; font-family: var(--ctne-font-head);
}
.ctne-hero-sub { color: rgba(255,255,255,.92) !important; font-size: 1.25rem; line-height: 1.8; width: 100%; }
.ctne-hero-sub .elementor-widget-container { color: rgba(255,255,255,.92); max-width: 660px; }

/* ---------- Fact chips ---------- */
.ctne-chips .elementor-widget-container { display: flex; flex-wrap: wrap; gap: 10px; }
.ctne-chip { }
.ctne-chip .elementor-icon-list-items { display: flex; flex-wrap: wrap; gap: 10px; }

/* ---------- Service cards (icon-box) ---------- */
.ctne-service-card {
	background: #fff; border: 1px solid var(--ctne-grey-200);
	border-radius: var(--ctne-radius); padding: 40px 32px; height: 100%;
	box-shadow: var(--ctne-shadow-sm);
	transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.ctne-service-card:hover { transform: translateY(-8px); box-shadow: var(--ctne-shadow); border-color: var(--ctne-green); }
/* Flex column so titles align and the Learn More link pins to the card bottom. */
.ctne-service-card .elementor-widget-container { height: 100%; }
.ctne-service-card .elementor-icon-box-wrapper { text-align: left; display: flex; flex-direction: column; height: 100%; }
.ctne-service-card .elementor-icon-box-content { display: flex; flex-direction: column; flex: 1 1 auto; }
.ctne-service-card .elementor-icon-box-icon { margin-bottom: 22px; text-align: left; }
.ctne-service-card .elementor-icon {
	display: inline-flex; align-items: center; justify-content: center;
	width: 74px; height: 74px; border-radius: 16px;
	background: var(--ctne-grey-100); color: var(--ctne-navy) !important;
	font-size: 33px; transition: background .22s ease, color .22s ease;
}
.ctne-service-card:hover .elementor-icon { background: var(--ctne-navy); color:#fff !important; }
.ctne-service-card .elementor-icon svg { width: 36px; height: 36px; fill: currentColor; }
.ctne-service-card .elementor-icon-box-title {
	font-family: var(--ctne-font-head); font-weight: 700;
	font-size: 1.32rem; line-height: 1.28; min-height: 3.38rem;
	color: var(--ctne-navy) !important; margin-bottom: 12px;
}
.ctne-service-card .elementor-icon-box-content { text-align: left; }
.ctne-service-card .elementor-icon-box-description {
	color: var(--ctne-muted); line-height: 1.65; font-size: 1.02rem; margin-bottom: 0;
	display: flex; flex-direction: column; flex: 1 1 auto;
}
.ctne-service-card .elementor-icon-box-description::after {
	content: "Learn More \2192"; display: block; width: fit-content; margin-top: auto; padding-top: 20px;
	color: var(--ctne-green); font-family: var(--ctne-font-head); font-weight: 700; font-size: .95rem;
	letter-spacing: .01em; transition: transform .2s ease, color .2s ease;
}
.ctne-service-card:hover .elementor-icon-box-description::after { color: var(--ctne-green-600); transform: translateX(4px); }
.ctne-service-card a { text-decoration: none; }

/* ---------- Capability cards (image-box) ---------- */
.ctne-cap-card {
	background: #fff; border-radius: var(--ctne-radius); overflow: hidden;
	border: 1px solid var(--ctne-grey-200); height: 100%;
	box-shadow: var(--ctne-shadow-sm);
	transition: transform .22s ease, box-shadow .22s ease;
}
.ctne-cap-card:hover { transform: translateY(-6px); box-shadow: var(--ctne-shadow); }
.ctne-cap-card .elementor-image-box-wrapper { display: flex; flex-direction: column; height: 100%; margin: 0; }
/* Uniform image panel: identical area/aspect on every card, light navy-grey
   background, equipment images centred and contained with equal padding, and a
   very light navy overlay to unify colour temperature without hiding detail. */
.ctne-cap-card .elementor-image-box-img {
	margin: 0 0 0 0 !important; width: 100% !important; max-width: 100% !important;
	aspect-ratio: 3 / 2; overflow: hidden; display: block; position: relative;
	background: #e9edf4; border-bottom: 1px solid var(--ctne-grey-200);
}
.ctne-cap-card .elementor-image-box-img::after {
	content: ""; position: absolute; inset: 0; pointer-events: none;
	background: rgba(20, 42, 94, 0.05);
}
.ctne-cap-card .elementor-image-box-img img {
	width: 100% !important; height: 100% !important; object-fit: contain; object-position: center;
	padding: 20px; box-sizing: border-box;
	border-radius: 0; display: block; transition: transform .45s ease;
}
.ctne-cap-card:hover .elementor-image-box-img img { transform: scale(1.04); }
.ctne-cap-card .elementor-image-box-content { padding: 24px 24px 26px; text-align: left; display: flex; flex-direction: column; flex: 1 1 auto; }
.ctne-cap-card .elementor-image-box-title {
	font-family: var(--ctne-font-head); font-weight: 700; font-size: 1.18rem; line-height: 1.3;
	min-height: 3.05rem; color: var(--ctne-navy) !important; margin: 0 0 8px;
}
.ctne-cap-card .elementor-image-box-title::before {
	content: ""; display: inline-block; width: 22px; height: 3px; border-radius: 2px;
	background: var(--ctne-green); margin-right: 10px; vertical-align: middle;
}
.ctne-cap-card .elementor-image-box-description { color: var(--ctne-muted); font-size: 1rem; line-height: 1.6; margin: 0; }

/* ---------- Why choose (icon-box on dark) ---------- */
.ctne-why-item { padding: 8px 10px; }
.ctne-why-item .elementor-icon-box-icon { margin-bottom: 20px; }
.ctne-why-item .elementor-icon {
	width: 72px; height: 72px; border-radius: 16px;
	background: rgba(143,240,198,.12); color: #8ff0c6 !important;
	display: inline-flex; align-items: center; justify-content: center; font-size: 33px;
	border: 1px solid rgba(143,240,198,.18);
}
.ctne-why-item .elementor-icon svg { width: 36px; height: 36px; fill: currentColor; }
.ctne-why-item .elementor-icon-box-title { font-family: var(--ctne-font-head); font-weight: 700; color:#fff !important; font-size: 1.28rem; line-height: 1.25; min-height: 3.2rem; margin-bottom: 12px; display: flex; align-items: center; justify-content: center; }
.ctne-why-item .elementor-icon-box-description { color: rgba(255,255,255,.78) !important; line-height: 1.65; font-size: 1.02rem; }

/* ---------- Licence badges ---------- */
.ctne-badges .elementor-widget-container { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.ctne-badge .elementor-button,
a.ctne-badge {
	background: #fff !important; color: var(--ctne-navy) !important;
	border: 1.5px solid var(--ctne-grey-200) !important;
	font-family: var(--ctne-font-head); font-weight: 700; letter-spacing: .04em;
	border-radius: 40px; padding: 12px 26px; pointer-events: none;
	box-shadow: 0 6px 16px -12px rgba(16,31,71,.4);
}

/* ---------- Contact CTA ---------- */
.ctne-contact-cta .ctne-contact-line .elementor-heading-title,
.ctne-contact-line { color: #fff !important; }
.ctne-contact-detail .elementor-icon-list-item a,
.ctne-contact-detail .elementor-icon-list-text { color: #fff !important; font-size: 1.15rem; font-weight: 600; font-family: var(--ctne-font-head); }
.ctne-contact-detail .elementor-icon-list-icon svg,
.ctne-contact-detail .elementor-icon-list-icon i { color: #7fe3bb !important; }

/* ==========================================================================
   FOOTER
   ========================================================================== */
/* Clear boundary between the navy Contact CTA and the footer: a thin green
   keyline over a slightly deeper navy. */
.ctne-footer { background: #0a1838; color: rgba(255,255,255,.85); border-top: 3px solid var(--ctne-green); }
.ctne-footer__inner {
	max-width: var(--ctne-maxw); margin: 0 auto;
	display: grid; grid-template-columns: 1.6fr 1fr 1.4fr; gap: 56px;
	padding: 68px 24px 48px;
}
/* Full reversed lockup on the dark footer: no box/background, sized by width. */
.ctne-footer__logo { width: 260px; height: auto; max-width: 100%; margin-bottom: 24px; display: block; }
.ctne-footer__desc { font-size: 1rem; line-height: 1.75; max-width: 400px; color: rgba(255,255,255,.82); }
.ctne-footer__heading {
	font-family: var(--ctne-font-head); color: #fff; font-size: 1.08rem;
	font-weight: 700; letter-spacing: .05em; text-transform: uppercase;
	margin: 0 0 22px; padding-bottom: 14px; position: relative;
}
.ctne-footer__heading::after { content:""; position:absolute; left:0; bottom:0; width:42px; height:3px; background: var(--ctne-green); border-radius:2px; }
.ctne-footer__nav { list-style: none; margin: 0; padding: 0; }
.ctne-footer__nav li { margin-bottom: 14px; }
.ctne-footer__nav a, .ctne-footer__contact a { color: rgba(255,255,255,.85); text-decoration: none; transition: color .18s ease; font-size: 1.02rem; }
.ctne-footer__nav a:hover, .ctne-footer__contact a:hover { color: var(--ctne-green); }
.ctne-footer__company { color:#fff; font-weight:600; margin: 0 0 12px; font-family: var(--ctne-font-head); font-size: 1.08rem; }
.ctne-footer__address { font-style: normal; line-height: 1.7; font-size: 1rem; margin-bottom: 18px; color: rgba(255,255,255,.82); }
.ctne-footer__line { margin: 8px 0; font-size: 1.02rem; }
.ctne-footer__line span { color: rgba(255,255,255,.55); margin-right: 6px; }
.ctne-footer__bar { border-top: 1px solid rgba(255,255,255,.12); }
.ctne-footer__copy { max-width: var(--ctne-maxw); margin: 0 auto; padding: 24px; font-size: .95rem; text-align: center; color: rgba(255,255,255,.7); }

@media (max-width: 860px) {
	.ctne-footer__inner { grid-template-columns: 1fr 1fr; gap: 32px; }
	.ctne-footer__about { grid-column: 1 / -1; }
	.ctne-footer__logo { width: 200px; }
}
@media (max-width: 560px) {
	.ctne-footer__inner { grid-template-columns: 1fr; }
	.ctne-footer__logo { width: 185px; }
}

/* ==========================================================================
   RESPONSIVE CARD GRIDS (override Elementor column widths predictably)
   ========================================================================== */
.ctne-grid-4 > .elementor-container,
.ctne-grid-3 > .elementor-container,
.ctne-grid-2 > .elementor-container { flex-wrap: wrap; }

.ctne-grid-4 .elementor-column,
.ctne-grid-3 .elementor-column,
.ctne-grid-2 .elementor-column { padding: 12px; }

.ctne-grid-4 .elementor-column { width: 25%; }
.ctne-grid-3 .elementor-column { width: 33.333%; }
.ctne-grid-2 .elementor-column { width: 50%; }

@media (max-width: 1024px) {
	.ctne-grid-4 .elementor-column { width: 50%; }
	.ctne-grid-3 .elementor-column { width: 50%; }
}
@media (max-width: 640px) {
	.ctne-grid-4 .elementor-column,
	.ctne-grid-3 .elementor-column,
	.ctne-grid-2 .elementor-column { width: 100%; }
}

/* ---------- Elementor CTA buttons ---------- */
.ctne-cta-primary .elementor-button,
.ctne-cta-secondary .elementor-button {
	display: inline-flex; align-items: center; justify-content: center;
	font-family: var(--ctne-font-head); font-weight: 700; font-size: 1.05rem; line-height: 1;
	min-height: 58px; padding: 0 36px; border-radius: 9px; border: 2px solid transparent;
	box-sizing: border-box;
	transition: transform .18s ease, background .18s ease, color .18s ease, border-color .18s ease;
}
.ctne-cta-primary .elementor-button { background: var(--ctne-green) !important; color: #fff !important; }
.ctne-cta-primary .elementor-button:hover { background: var(--ctne-green-600) !important; transform: translateY(-2px); }
.ctne-cta-secondary .elementor-button { background: transparent !important; color: #fff !important; border-color: rgba(255,255,255,.6) !important; }
.ctne-cta-secondary .elementor-button:hover { background: #fff !important; color: var(--ctne-navy) !important; border-color:#fff !important; transform: translateY(-2px); }

/* ---------- Anchor offset for sticky header ---------- */
html { scroll-behavior: smooth; }
.elementor-section[id], .ctne-hero { scroll-margin-top: calc(var(--ctne-header-h) + 16px); }

/* ---------- Hero content + actions ---------- */
.ctne-hero-sub .elementor-widget-container { margin-bottom: 10px; }
/* Inline buttons: the two hero buttons sit on their own row, below the
   paragraph, aligned to its left edge, side by side on desktop. */
.ctne-inline { width: auto !important; flex: 0 0 auto; display: inline-flex !important;
	margin: 18px 14px 0 0; max-width: none; }
.ctne-inline .elementor-button { width: 100%; }

/* ---------- About: true two-column, vertically centred (targeted via #about) ---------- */
#about > .elementor-container { flex-wrap: wrap; align-items: center; }
#about > .elementor-container > .elementor-column:nth-child(1) { width: 55%; }
#about > .elementor-container > .elementor-column:nth-child(2) { width: 45%; }
@media (max-width: 900px) {
	#about > .elementor-container > .elementor-column:nth-child(1),
	#about > .elementor-container > .elementor-column:nth-child(2) { width: 100%; }
	#about > .elementor-container > .elementor-column:nth-child(2) { margin-top: 32px; }
}

/* ---------- Card gutters via section ids ---------- */
#services > .elementor-container > .elementor-column,
#equipment > .elementor-container > .elementor-column,
#why-choose > .elementor-container > .elementor-column { padding: 14px; }
/* keep the section heading (first, full-width column) flush */
#services > .elementor-container > .elementor-column:first-child,
#equipment > .elementor-container > .elementor-column:first-child,
#why-choose > .elementor-container > .elementor-column:first-child { padding-top: 0; padding-bottom: 22px; }

/* ---------- Intro image + fact chips ---------- */
.ctne-intro-img { width: 100%; }
.ctne-intro-img img {
	border-radius: 14px; box-shadow: var(--ctne-shadow);
	width: 100%; height: auto; display: block;
	aspect-ratio: 4 / 3; object-fit: cover;
}
.ctne-facts .elementor-widget-container { display: flex; flex-wrap: wrap; gap: 12px 14px; margin-top: 26px; }
.ctne-fact {
	display: inline-flex; align-items: center; gap: 8px;
	background: var(--ctne-grey-100); color: var(--ctne-navy);
	font-family: var(--ctne-font-head); font-weight: 600; font-size: .95rem;
	padding: 11px 20px; border-radius: 40px; border: 1px solid var(--ctne-grey-200);
}
.ctne-fact::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--ctne-green); }

/* ---------- Licence pills ---------- */
.ctne-badges .elementor-widget-container { display: flex; flex-wrap: wrap; gap: 18px; justify-content: center; max-width: 900px; margin: 0 auto; }
.ctne-pill {
	display: inline-flex; align-items: center;
	background: #fff; color: var(--ctne-navy);
	border: 1.5px solid var(--ctne-grey-200);
	font-family: var(--ctne-font-head); font-weight: 700; letter-spacing: .05em;
	border-radius: 44px; padding: 16px 34px; font-size: 1.1rem;
	box-shadow: var(--ctne-shadow-sm);
	transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.ctne-pill:hover { transform: translateY(-3px); border-color: var(--ctne-green); box-shadow: var(--ctne-shadow); }
.ctne-pill::before { content: ""; width: 11px; height: 11px; border-radius: 50%; background: var(--ctne-green); margin-right: 12px; }

/* ---------- Contact CTA details (icon list) ---------- */
.ctne-contact-list .elementor-icon-list-items {
	display: flex; flex-wrap: wrap; gap: 18px 26px; justify-content: center;
}
.ctne-contact-list .elementor-icon-list-item {
	margin: 0 !important; padding: 14px 26px !important;
	background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12);
	border-radius: 50px; transition: background .2s ease, border-color .2s ease;
}
.ctne-contact-list .elementor-icon-list-item:hover { background: rgba(143,240,198,.12); border-color: rgba(143,240,198,.4); }
.ctne-contact-list .elementor-icon-list-item > a,
.ctne-contact-list .elementor-icon-list-item { display: inline-flex; align-items: center; }
.ctne-contact-list .elementor-icon-list-icon { margin-right: 12px; }
.ctne-contact-list .elementor-icon-list-icon i,
.ctne-contact-list .elementor-icon-list-icon svg { color: #8ff0c6 !important; font-size: 22px; width: 22px; height: 22px; }
.ctne-contact-list .elementor-icon-list-text {
	color: #fff !important; font-family: var(--ctne-font-head);
	font-weight: 600; font-size: 1.2rem; letter-spacing: .01em;
}
.ctne-contact-list a:hover .elementor-icon-list-text { color: #8ff0c6 !important; }
#contact .elementor-widget-icon-list { margin-top: 32px; margin-bottom: 36px; }
#contact .ctne-lead .elementor-widget-container { margin-top: 8px; }

/* Licences spacing */
#licences .ctne-badges { margin-top: 30px; margin-bottom: 22px; }
#licences .ctne-lead .elementor-widget-container { margin-top: 6px; }

/* ---------- Section rhythm ---------- */
.ctne-disclaimer .elementor-widget-container { color: var(--ctne-muted); font-size: .86rem; text-align: center; }

/* ==========================================================================
   REQUEST A QUOTE (section + Contact Form 7)
   ========================================================================== */
/* Two-column: info panel (left) + form card (right); stacks on tablet/mobile. */
#request-quote > .elementor-container { align-items: flex-start; }
#request-quote > .elementor-container > .elementor-column:nth-child(1) { width: 42%; }
#request-quote > .elementor-container > .elementor-column:nth-child(2) { width: 58%; }
.ctne-quote-info { padding-right: 30px; }
.ctne-quote-info .ctne-lead .elementor-widget-container { margin-top: 6px; }
.ctne-quote-contact .elementor-widget-container { margin-top: 26px; }
.ctne-quote-contact .elementor-icon-list-items { display: flex; flex-direction: column; gap: 14px; }
.ctne-quote-contact .elementor-icon-list-item { margin: 0 !important; }
.ctne-quote-contact .elementor-icon-list-icon i,
.ctne-quote-contact .elementor-icon-list-icon svg { color: var(--ctne-green) !important; font-size: 18px; width: 20px; height: 18px; }
.ctne-quote-contact .elementor-icon-list-text { color: var(--ctne-navy) !important; font-family: var(--ctne-font-head); font-weight: 600; font-size: 1.08rem; }
.ctne-quote-contact a:hover .elementor-icon-list-text { color: var(--ctne-green-600) !important; }
.ctne-quote-reassure .elementor-widget-container { margin-top: 22px; }
.ctne-quote-reassure p { color: var(--ctne-muted); font-size: .96rem; line-height: 1.6; margin: 0; }

/* Form card */
.ctne-quote-form .wpcf7 {
	background: #fff; border: 1px solid var(--ctne-grey-200);
	border-radius: var(--ctne-radius); box-shadow: var(--ctne-shadow-sm);
	padding: 34px 32px;
}
.ctne-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; }
.ctne-form-field { display: flex; flex-direction: column; min-width: 0; }
.ctne-form-field-full { grid-column: 1 / -1; }
.ctne-form-field label {
	font-family: var(--ctne-font-head); font-weight: 600; font-size: .9rem; letter-spacing: .01em;
	color: var(--ctne-navy); margin-bottom: 8px;
}
.ctne-form-field label span { color: var(--ctne-green); margin-left: 3px; }

/* Inputs */
.ctne-quote-form .wpcf7-form-control-wrap { display: block; width: 100%; }
.ctne-quote-form input[type="text"],
.ctne-quote-form input[type="email"],
.ctne-quote-form input[type="tel"],
.ctne-quote-form select,
.ctne-quote-form textarea {
	width: 100%; box-sizing: border-box;
	font-family: var(--ctne-font-body); font-size: 1rem; color: var(--ctne-ink);
	background: #fff; border: 1.5px solid var(--ctne-grey-200); border-radius: 8px;
	padding: 0 14px; min-height: 48px; line-height: 1.4;
	transition: border-color .16s ease, box-shadow .16s ease;
}
.ctne-quote-form textarea { min-height: 140px; padding: 12px 14px; line-height: 1.55; resize: vertical; }
.ctne-quote-form select {
	appearance: none; -webkit-appearance: none; -moz-appearance: none; cursor: pointer; padding-right: 42px;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23142a5e' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
	background-repeat: no-repeat; background-position: right 14px center; background-size: 14px;
}
.ctne-quote-form ::placeholder { color: #9aa4bb; opacity: 1; }
.ctne-quote-form input:hover,
.ctne-quote-form select:hover,
.ctne-quote-form textarea:hover { border-color: var(--ctne-slate); }
.ctne-quote-form input:focus,
.ctne-quote-form select:focus,
.ctne-quote-form textarea:focus {
	outline: none; border-color: var(--ctne-green); box-shadow: 0 0 0 3px rgba(31, 158, 109, .18);
}

/* Submit */
.ctne-form-actions { margin-top: 4px; }
.ctne-quote-form input[type="submit"] {
	background: var(--ctne-green); color: #fff; border: 0; border-radius: 8px;
	font-family: var(--ctne-font-head); font-weight: 700; font-size: 1.02rem; letter-spacing: .01em;
	min-height: 52px; padding: 0 38px; cursor: pointer;
	transition: background .18s ease, transform .18s ease;
}
.ctne-quote-form input[type="submit"]:hover { background: var(--ctne-green-600); transform: translateY(-2px); }
.ctne-quote-form input[type="submit"]:focus-visible { outline: 3px solid rgba(31, 158, 109, .45); outline-offset: 2px; }

/* Privacy notice */
.ctne-form-privacy { margin-top: 2px; }
.ctne-form-privacy p { color: var(--ctne-muted); font-size: .84rem; line-height: 1.55; margin: 0; }

/* Validation + response messages (kept visible, never clipped) */
.ctne-quote-form .wpcf7-not-valid-tip { color: #c0392b; font-size: .82rem; font-weight: 600; margin-top: 6px; display: block; }
.ctne-quote-form .wpcf7-not-valid { border-color: #c0392b !important; }
.ctne-quote-form .wpcf7-response-output {
	margin: 20px 0 0 !important; padding: 13px 16px !important; border-radius: 8px; border-width: 1.5px !important;
	font-family: var(--ctne-font-body); font-size: .92rem; line-height: 1.5;
}
.ctne-quote-form form.invalid .wpcf7-response-output,
.ctne-quote-form form.unaccepted .wpcf7-response-output { border-color: #e0a800 !important; background: #fff8e6; color: #7a5b00; }
.ctne-quote-form form.sent .wpcf7-response-output { border-color: var(--ctne-green) !important; background: #e9f7f0; color: var(--ctne-green-600); }
.ctne-quote-form form.failed .wpcf7-response-output,
.ctne-quote-form form.aborted .wpcf7-response-output,
.ctne-quote-form form.spam .wpcf7-response-output { border-color: #c0392b !important; background: #fdecea; color: #a5281b; }
.ctne-quote-form .wpcf7-spinner { margin: 0 0 0 14px; }

@media (max-width: 900px) {
	#request-quote > .elementor-container > .elementor-column:nth-child(1),
	#request-quote > .elementor-container > .elementor-column:nth-child(2) { width: 100%; }
	.ctne-quote-info { padding-right: 0; margin-bottom: 32px; }
}
@media (max-width: 600px) {
	.ctne-form-grid { grid-template-columns: 1fr; }
	.ctne-quote-form .wpcf7 { padding: 26px 20px; }
	.ctne-quote-form input[type="submit"] { width: 100%; }
}

/* ==========================================================================
   Elementor spacing safety on small screens
   ========================================================================== */
@media (max-width: 767px) {
	/* Shorter hero so the next section appears sooner, with a stronger overlay. */
	.ctne-hero { min-height: auto !important; padding-top: 96px !important; padding-bottom: 84px !important; }
	.ctne-hero > .elementor-background-overlay { opacity: .85 !important; }
	.ctne-hero-title .elementor-heading-title { font-size: clamp(1.9rem, 8vw, 2.4rem); }
	.ctne-hero-sub { font-size: .96rem; }
	.ctne-hero-sub .elementor-widget-container { line-height: 1.55; max-width: 430px; margin-bottom: 4px; }
	/* Equal-width stacked buttons with a ~12px gap. !important overrides
	   Elementor's default .elementor-widget:not(:last-child) bottom margin. */
	.ctne-inline { display: flex !important; width: 100% !important; margin-right: 0; }
	.ctne-inline .elementor-button { width: 100%; }
	.ctne-cta-primary.ctne-inline { margin-top: 18px !important; margin-bottom: 0 !important; }
	.ctne-cta-secondary.ctne-inline { margin-top: 12px !important; margin-bottom: 0 !important; }
}
@media (max-width: 900px) {
	.ctne-intro-img { margin-top: 28px; }
}
