/* Concordia Enquiries — contact & thank-you pages */
.cg-enq, .cg-form-card, .cg-talk {
	--cg-navy: hsl(213 66% 13%);
	--cg-navy-ink: hsl(213 66% 16%);
	--cg-blue: hsl(225 72% 33%);
	--cg-blue-deep: hsl(224 62% 23%);
	--cg-orange: hsl(18 80% 50%);
	--cg-orange-hover: hsl(20 86% 57%);
	--cg-beige: hsl(22 33% 94%);
	--cg-ink: hsl(43 5% 16%);
	--cg-muted: hsl(215 10% 42%);
	--cg-line: hsl(215 16% 82%);
	--cg-white: #fff;
	--cg-display: var(--font-display, "Playfair Display", Georgia, serif);
	--cg-body: var(--font-body, "DM Sans", system-ui, sans-serif);
	font-family: var(--cg-body);
	box-sizing: border-box;
}
.cg-enq *, .cg-form-card *, .cg-talk * { box-sizing: border-box; }

.cg-wrap { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 24px; }
@media (min-width: 1024px) { .cg-wrap { padding: 0 48px; } }

/* ---------- Hero ---------- */
.cg-hero { background: var(--cg-navy); color: var(--cg-white); padding: 136px 0 72px; }
@media (min-width: 768px) { .cg-hero { padding: 168px 0 96px; } }
.cg-hero-grid { display: grid; gap: 40px; align-items: start; }
@media (min-width: 1024px) {
	.cg-hero-grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 56px; }
	.cg-hero-grid--ty { align-items: center; }
}

.cg-eyebrow { margin: 0 0 16px; font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--cg-orange); }
.cg-eyebrow--light { color: var(--cg-white); opacity: .9; font-size: 12px; }
.cg-eyebrow--blue { color: var(--cg-blue); margin-bottom: 6px; font-size: 12px; }

.cg-h1 { font-family: var(--cg-display); font-weight: 500; font-size: clamp(32px, 4.4vw, 50px); line-height: 1.15; margin: 0 0 24px; color: var(--cg-white); }
.cg-h1 em { font-style: italic; color: var(--cg-orange); }
.cg-lead { font-size: 18px; line-height: 1.6; color: hsl(213 30% 88%); margin: 0 0 32px; max-width: 34em; }

.cg-why { background: var(--cg-blue); border-radius: 8px; padding: 28px; }
@media (min-width: 768px) { .cg-why { padding: 32px 28px; } }
.cg-why-title { font-family: var(--cg-display); font-weight: 600; font-size: 22px; line-height: 1.3; margin: 0 0 14px; color: var(--cg-white); }
.cg-why p:not(.cg-eyebrow) { margin: 0 0 18px; line-height: 1.65; color: hsl(220 40% 88%); font-size: 15.5px; }
.cg-chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.cg-chips li { border: 1px solid hsl(220 60% 75% / .6); border-radius: 999px; padding: 5px 12px; font-size: 13px; color: var(--cg-white); }

/* ---------- Card & form ---------- */
.cg-card { background: var(--cg-white); color: var(--cg-ink); border-radius: 8px; padding: 28px 22px; box-shadow: 0 20px 50px -20px rgb(0 0 0 / .45); }
@media (min-width: 768px) { .cg-card { padding: 36px; } }
.cg-card-title { font-family: var(--cg-display); font-weight: 600; font-size: 28px; color: var(--cg-navy); margin: 0 0 24px; }

.cg-form { display: block; margin: 0; }
.cg-grid-2 { display: grid; gap: 0 16px; }
@media (min-width: 640px) { .cg-grid-2 { grid-template-columns: 1fr 1fr; } }
.cg-field { margin: 0 0 14px; }
.cg-field label { display: block; font-size: 14px; font-weight: 600; color: var(--cg-navy); margin: 0 0 7px; }
.cg-req { color: var(--cg-navy); }
.cg-form input[type=text], .cg-form input[type=email], .cg-form input[type=tel], .cg-form select, .cg-form textarea {
	width: 100%; font: inherit; font-size: 15px; color: var(--cg-ink); background: var(--cg-white);
	border: 1px solid var(--cg-line); border-radius: 4px; padding: 12px 13px; min-height: 48px;
	transition: border-color .15s, box-shadow .15s; -webkit-appearance: none; appearance: none;
}
.cg-form textarea { min-height: 110px; resize: vertical; line-height: 1.5; }
.cg-form select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%230b2138' stroke-width='2.5'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 10px center; padding-right: 30px; cursor: pointer; }
.cg-form ::placeholder { color: hsl(215 10% 55%); }
.cg-form input:focus, .cg-form select:focus, .cg-form textarea:focus { outline: none; border-color: var(--cg-blue); box-shadow: 0 0 0 3px hsl(225 72% 33% / .15); }
.cg-form .is-invalid { border-color: #c62828 !important; }
.cg-phone { display: flex; gap: 8px; }
.cg-phone select { width: 92px; flex: 0 0 92px; }
.cg-phone input { flex: 1; min-width: 0; }
.cg-err { margin: 6px 0 0; font-size: 13px; color: #c62828; min-height: 0; }
.cg-err:empty { display: none; }
.cg-alert { background: #fdecea; color: #8e1c14; border-radius: 4px; padding: 10px 14px; font-size: 14px; margin: 0 0 16px; }
.cg-alert[hidden] { display: none; }
.cg-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

.cg-check { display: flex; gap: 10px; align-items: flex-start; margin: 4px 0 12px; font-size: 14px; color: var(--cg-muted); line-height: 1.45; cursor: pointer; }
.cg-check input { width: 18px; height: 18px; margin: 1px 0 0; flex: 0 0 18px; accent-color: var(--cg-navy); }
.cg-check a { color: var(--cg-navy); text-decoration: underline; }
.cg-form > .cg-err[data-for=privacy_consent] { margin: -6px 0 12px 28px; }

/* ---------- Buttons ---------- */
.cg-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-family: var(--cg-body); font-weight: 600; font-size: 15px; line-height: 1; border-radius: 4px; padding: 14px 20px; text-decoration: none !important; cursor: pointer; border: 1px solid transparent; transition: background-color .15s, border-color .15s, color .15s; }
.cg-btn--primary { background: var(--cg-orange); color: var(--cg-white); font-size: 18px; padding: 17px 24px; margin-top: 8px; }
.cg-btn--primary:hover { background: var(--cg-orange-hover); }
.cg-btn--primary:disabled { opacity: .7; cursor: progress; }
.cg-btn--block { width: 100%; }
.cg-btn--ghost { background: transparent; color: var(--cg-white) !important; border-color: hsl(213 30% 60% / .55); }
.cg-btn--ghost:hover { border-color: var(--cg-white); background: rgb(255 255 255 / .06); }
.cg-ico { flex: 0 0 auto; }
.cg-spinner { display: none; width: 18px; height: 18px; border: 2px solid rgb(255 255 255 / .5); border-top-color: #fff; border-radius: 50%; animation: cg-spin .7s linear infinite; }
.is-sending .cg-spinner { display: inline-block; }
@keyframes cg-spin { to { transform: rotate(360deg); } }
.cg-form-note { text-align: center; font-size: 14px; color: var(--cg-muted); margin: 12px 0 0; }

/* ---------- Prefer to talk now ---------- */
.cg-talk { margin-top: 28px; color: var(--cg-white); }
.cg-talk-title { font-weight: 700; font-size: 16px; margin: 0 0 14px; }
.cg-talk-btns { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 18px; }
.cg-talk-btns .cg-btn { flex: 1 1 auto; }
@media (min-width: 640px) { .cg-talk-btns .cg-btn { flex: 0 0 auto; } }
.cg-meta { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; color: hsl(213 30% 85%); margin: 0 0 10px; line-height: 1.45; }
.cg-meta .cg-ico { margin-top: 1px; }

/* ---------- What happens next ---------- */
.cg-next { background: var(--cg-beige); padding: 64px 0 72px; }
@media (min-width: 768px) { .cg-next { padding: 88px 0 96px; } }
.cg-h2 { font-family: var(--cg-display); font-weight: 500; font-size: clamp(28px, 3vw, 36px); color: var(--cg-navy); margin: 0 0 32px; }
.cg-steps { display: grid; gap: 20px; }
@media (min-width: 768px) { .cg-steps { grid-template-columns: repeat(3, 1fr); gap: 24px; } }
.cg-step { background: var(--cg-white); border: 1px solid hsl(22 20% 88%); border-radius: 6px; padding: 28px; }
.cg-step h3 { font-family: var(--cg-body); font-size: 19px; font-weight: 700; color: var(--cg-navy); margin: 0 0 12px; line-height: 1.3; }
.cg-step p { margin: 0; color: hsl(215 12% 38%); line-height: 1.6; font-size: 16px; }
.cg-step-num { display: block; font-family: var(--cg-display); font-size: 34px; color: var(--cg-orange); margin-bottom: 16px; line-height: 1; }
.cg-steps--status .cg-step { border-top: 4px solid hsl(215 16% 85%); }
.cg-steps--status .cg-step.is-done { border-top-color: var(--cg-orange); }
.cg-step-tag { display: block; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: hsl(215 15% 35%); margin-bottom: 10px; }
.cg-step.is-done .cg-step-tag { color: var(--cg-blue); }

/* ---------- Thank you ---------- */
.cg-done { display: inline-flex; align-items: center; justify-content: center; width: 56px; height: 56px; border-radius: 50%; background: var(--cg-orange); color: #fff; margin-bottom: 26px; }
.cg-done .cg-ico { width: 24px; height: 24px; stroke-width: 3; }
.cg-ty-card { background: var(--cg-blue-deep); border-radius: 8px; padding: 28px; color: var(--cg-white); }
.cg-ty-label { font-size: 14px; color: hsl(220 30% 85%); margin: 0 0 6px; }
.cg-ty-ref { font-weight: 700; font-size: 18px; letter-spacing: .02em; margin: 0 0 18px; }
.cg-ty-card hr { border: 0; border-top: 1px solid hsl(220 40% 70% / .3); margin: 0 0 18px; }
.cg-ty-card .cg-btn { margin: 4px 0 18px; padding: 15px 18px; }

/* ---------- Homepage form (inside the existing navy section) ---------- */
#contact .cg-form-card { margin-top: 8px; }
#cg-enquiry { scroll-margin-top: 110px; }
