/* RCCG House of Prayer — Registrations
   Scoped under .hop-scope so nothing leaks into (or gets overridden by) the Paroti theme.
   Palette: navy blue (from logo text) + gold accent. Validation errors use red per convention. */

.hop-scope {
	/* Brand tokens */
	--hop-primary:      #1a2a6b;
	--hop-primary-600:  #131f52;
	--hop-primary-700:  #0d174a;
	--hop-primary-050:  #e7ebf5;
	--hop-primary-100:  #d6dcee;
	--hop-navy:         #101a52;
	--hop-navy-deep:    #08103a;
	--hop-ink:          #040817;

	--hop-accent:       #c9a94e;
	--hop-accent-bright:#d4af37;
	--hop-accent-soft:  #f6e5a5;
	--hop-accent-glow:  rgba(201, 169, 78, 0.40);

	--hop-surface:      #f1f4fa;
	--hop-surface-alt:  #FFFFFF;
	--hop-text:         #1f2540;
	--hop-text-soft:    #55617a;
	--hop-text-muted:   #8f97ab;
	--hop-border:       #dfe4ee;
	--hop-border-soft:  #eef1f7;

	/* Red for form validation only. */
	--hop-error:        #dc2626;
	--hop-error-bg:     #fef2f2;
	--hop-error-glow:   rgba(220, 38, 38, 0.14);

	--hop-success:      #059669;
	--hop-success-bg:   #ecfdf5;

	--hop-radius-sm: 10px;
	--hop-radius-md: 14px;
	--hop-radius-lg: 20px;
	--hop-radius-xl: 28px;
	--hop-radius-pill: 999px;

	--hop-ease: cubic-bezier(.2, .8, .2, 1);
	--hop-dur-1: 180ms;
	--hop-dur-2: 320ms;

	--hop-shadow-sm:   0 1px 2px rgba(19,31,82,.06), 0 4px 12px -4px rgba(19,31,82,.08);
	--hop-shadow-md:   0 2px 4px rgba(19,31,82,.06), 0 16px 32px -12px rgba(19,31,82,.14);
	--hop-shadow-lg:   0 6px 12px rgba(19,31,82,.06), 0 32px 64px -20px rgba(19,31,82,.22);
	--hop-shadow-xl:   0 12px 24px rgba(19,31,82,.08), 0 48px 96px -28px rgba(19,31,82,.30);
	--hop-shadow-cta:  0 1px 2px rgba(26,42,107,.30) inset, 0 -1px 2px rgba(0,0,0,.15) inset, 0 8px 24px -6px rgba(26,42,107,.45), 0 2px 4px rgba(26,42,107,.20);
	--hop-shadow-cta-hover: 0 1px 2px rgba(26,42,107,.30) inset, 0 -1px 2px rgba(0,0,0,.15) inset, 0 14px 34px -6px rgba(26,42,107,.55), 0 2px 4px rgba(26,42,107,.20);

	font-family: 'Manrope', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
	color: var(--hop-text);
	line-height: 1.65;
	font-size: 16px;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
	box-sizing: border-box;
	background:
		radial-gradient(1200px 480px at 50% -240px, rgba(26,42,107,.05) 0%, transparent 70%),
		linear-gradient(180deg, #f6f8fc 0%, #ffffff 220px);
}
.hop-scope *,
.hop-scope *::before,
.hop-scope *::after { box-sizing: border-box; }
.hop-scope img { max-width: 100%; height: auto; display: block; }

/* --- Container -------------------------------------------------------- */
.hop-container { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 clamp(16px, 4vw, 32px); }
.hop-container--narrow { max-width: 820px; }

/* --- Page header (light, centered — replaces the old dark hero on form pages) --- */
.hop-page-header {
	padding: clamp(48px, 8vw, 96px) 0 clamp(28px, 4vw, 48px);
	text-align: center;
	position: relative;
}
.hop-page-header__title {
	font-family: inherit;
	font-weight: 800;
	font-size: clamp(32px, 5vw, 52px);
	line-height: 1.08;
	letter-spacing: -0.02em;
	color: var(--hop-primary);
	margin: 0 0 16px;
	text-wrap: balance;
}
.hop-page-header__title em {
	font-style: normal;
	background: linear-gradient(90deg, var(--hop-accent-bright) 0%, var(--hop-accent) 100%);
	-webkit-background-clip: text; background-clip: text;
	color: transparent;
}
.hop-page-header__lede {
	max-width: 640px; margin: 0 auto;
	font-size: clamp(15px, 1.4vw, 17px);
	color: var(--hop-text-soft);
	line-height: 1.65;
}

/* --- Section --------------------------------------------------------- */
.hop-section { padding: clamp(24px, 4vw, 48px) 0 clamp(56px, 8vw, 96px); position: relative; }
.hop-section--tight { padding-top: 8px; }
.hop-section--surface { background: var(--hop-surface); }

/* --- Buttons --------------------------------------------------------- */
.hop-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	padding: 14px 28px;
	font: inherit; font-weight: 700; font-size: 15px; letter-spacing: .01em;
	border-radius: var(--hop-radius-pill);
	border: 0; cursor: pointer;
	text-decoration: none;
	transition: transform var(--hop-dur-1) var(--hop-ease), box-shadow var(--hop-dur-2) var(--hop-ease), background var(--hop-dur-1) var(--hop-ease);
	will-change: transform;
}
.hop-btn--primary {
	background: linear-gradient(180deg, #2a3d8e 0%, var(--hop-primary) 55%, var(--hop-primary-600) 100%);
	color: #fff;
	box-shadow: var(--hop-shadow-cta);
}
.hop-btn--primary:hover, .hop-btn--primary:focus-visible {
	transform: translateY(-1px);
	box-shadow: var(--hop-shadow-cta-hover);
	background: linear-gradient(180deg, #324593 0%, #1e2f7a 55%, var(--hop-primary-700) 100%);
	outline: none;
}
.hop-btn--primary:active { transform: translateY(1px); box-shadow: 0 1px 2px rgba(26,42,107,.20) inset, 0 4px 10px -2px rgba(26,42,107,.35); }
.hop-btn--ghost {
	background: rgba(26,42,107,.06);
	color: var(--hop-primary);
	border: 1px solid transparent;
}
.hop-btn--ghost:hover { background: rgba(26,42,107,.10); }
.hop-btn--block { width: 100%; }
.hop-btn__spinner {
	display: none; width: 16px; height: 16px; border-radius: 50%;
	border: 2px solid rgba(255,255,255,.35); border-top-color: #fff;
	animation: hop-spin .7s linear infinite;
}
.hop-btn.is-loading { opacity: .85; cursor: progress; }
.hop-btn.is-loading .hop-btn__spinner { display: inline-block; }
@keyframes hop-spin { to { transform: rotate(360deg); } }

/* --- Panel (form container) ----------------------------------------- */
.hop-panel {
	background: var(--hop-surface-alt);
	border-radius: var(--hop-radius-xl);
	padding: clamp(28px, 4vw, 48px);
	box-shadow: var(--hop-shadow-lg);
	position: relative;
	border: 1px solid rgba(26,42,107,.04);
}

/* --- Fieldset (grouped section inside a form) ----------------------- */
.hop-fieldset { margin: 0 0 clamp(28px, 4vw, 40px); }
.hop-fieldset:last-of-type { margin-bottom: 0; }
.hop-fieldset__title {
	font-family: inherit; font-weight: 700; font-size: 12px;
	letter-spacing: .14em; text-transform: uppercase;
	color: var(--hop-primary);
	margin: 0 0 20px;
	padding-bottom: 12px;
	border-bottom: 1px solid var(--hop-border-soft);
	display: flex; align-items: center; gap: 8px;
}
.hop-fieldset__hint { color: var(--hop-text-muted); font-weight: 500; text-transform: none; letter-spacing: 0; font-size: 12px; }

/* --- Grid rows ------------------------------------------------------- */
.hop-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.hop-row-3 { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 20px; }
@media (max-width: 640px) {
	.hop-row-2, .hop-row-3 { grid-template-columns: 1fr; }
}

/* --- Form fields (the heart of the redesign) ------------------------ */
.hop-form { margin-top: 8px; }
.hop-form__intro { color: var(--hop-text-soft); font-size: 15px; margin: 0 0 24px; }

.hop-field {
	position: relative;
	margin-bottom: 20px;
	/* Clears sticky headers (e.g., Paroti theme nav) when the JS scrolls to the first error. */
	scroll-margin-top: 120px;
}
.hop-field__label {
	display: block;
	font-weight: 600; font-size: 13px; letter-spacing: .02em;
	color: var(--hop-text);
	margin-bottom: 8px;
}
.hop-field__label .hop-req { color: var(--hop-accent); margin-left: 3px; font-weight: 700; }
.hop-field__hint { display: block; font-size: 12px; color: var(--hop-text-muted); margin-top: 6px; }
.hop-field__error {
	display: none; font-size: 13px; font-weight: 500;
	color: var(--hop-error); margin-top: 6px;
	animation: hop-slide-down 220ms var(--hop-ease);
}
.hop-field.has-error .hop-field__error { display: block; }

/* Base input treatment — layered depth: gradient fill + inset highlight + soft ambient shadow. */
.hop-input,
.hop-textarea,
.hop-select {
	width: 100%;
	font: inherit; font-size: 15px; color: var(--hop-text);
	background: linear-gradient(180deg, #ffffff 0%, #f8faff 100%);
	border: 1px solid var(--hop-border);
	border-radius: var(--hop-radius-md);
	padding: 13px 16px;
	box-shadow:
		inset 0 1px 0 rgba(255,255,255,.9),
		inset 0 -1px 0 rgba(19,31,82,.02),
		0 1px 2px rgba(19,31,82,.03);
	transition:
		border-color var(--hop-dur-1) var(--hop-ease),
		box-shadow var(--hop-dur-2) var(--hop-ease),
		background var(--hop-dur-1) var(--hop-ease),
		transform var(--hop-dur-1) var(--hop-ease);
	appearance: none; -webkit-appearance: none; -moz-appearance: none;
}
.hop-input::placeholder,
.hop-textarea::placeholder { color: #a5adc4; }

/* Hover — subtle deepening. */
.hop-input:hover,
.hop-textarea:hover,
.hop-select:hover {
	border-color: #c4cde0;
	box-shadow:
		inset 0 1px 0 rgba(255,255,255,.9),
		inset 0 -1px 0 rgba(19,31,82,.02),
		0 2px 8px -2px rgba(19,31,82,.08);
}

/* Focus — the star. Deep tinted ring + crisp inner border + slight lift. */
.hop-input:focus,
.hop-textarea:focus,
.hop-select:focus {
	outline: none;
	border-color: var(--hop-primary);
	background: #ffffff;
	box-shadow:
		0 0 0 4px rgba(26,42,107,.14),
		0 0 0 1px var(--hop-primary),
		0 8px 24px -12px rgba(26,42,107,.35),
		inset 0 1px 0 rgba(255,255,255,.9);
	transform: translateY(-1px);
}

/* Error — red border + red ring. */
.hop-field.has-error .hop-input,
.hop-field.has-error .hop-textarea,
.hop-field.has-error .hop-select {
	border-color: var(--hop-error);
	background: linear-gradient(180deg, #fffafa 0%, #fff5f5 100%);
	box-shadow:
		0 0 0 4px var(--hop-error-glow),
		inset 0 1px 0 rgba(255,255,255,.9);
}
.hop-field.has-error .hop-input:focus,
.hop-field.has-error .hop-textarea:focus,
.hop-field.has-error .hop-select:focus {
	box-shadow:
		0 0 0 4px var(--hop-error-glow),
		0 0 0 1px var(--hop-error),
		0 8px 24px -12px rgba(220,38,38,.30);
}

.hop-textarea { min-height: 130px; resize: vertical; line-height: 1.55; }
.hop-select {
	background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'><path d='M1 1.5L6 6.5L11 1.5' stroke='%231a2a6b' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'/></svg>"),
	                  linear-gradient(180deg, #ffffff 0%, #f8faff 100%);
	background-repeat: no-repeat, no-repeat;
	background-position: right 16px center, 0 0;
	padding-right: 44px;
}

/* --- Checkbox group -------------------------------------------------- */
.hop-field--check-group { display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.hop-check {
	display: flex; align-items: center; gap: 10px;
	padding: 12px 14px;
	background: linear-gradient(180deg, #ffffff 0%, #f8faff 100%);
	border: 1px solid var(--hop-border);
	border-radius: var(--hop-radius-md);
	cursor: pointer;
	font-size: 14px; font-weight: 500;
	color: var(--hop-text);
	transition: all var(--hop-dur-1) var(--hop-ease);
}
.hop-check input { position: absolute; opacity: 0; pointer-events: none; }
.hop-check__box {
	width: 20px; height: 20px; border-radius: 6px; border: 1.5px solid var(--hop-border);
	background: #fff; flex: 0 0 20px;
	display: grid; place-items: center;
	transition: all var(--hop-dur-1) var(--hop-ease);
	box-shadow: inset 0 1px 2px rgba(19,31,82,.03);
}
.hop-check__box::after {
	content: ''; width: 10px; height: 10px; border-radius: 3px;
	background: var(--hop-primary);
	transform: scale(0);
	transition: transform var(--hop-dur-1) var(--hop-ease);
}
.hop-check input:checked ~ .hop-check__box { border-color: var(--hop-primary); }
.hop-check input:checked ~ .hop-check__box::after { transform: scale(1); }
.hop-check:has(input:checked) { border-color: var(--hop-primary); box-shadow: 0 0 0 3px rgba(26,42,107,.10); background: var(--hop-primary-050); }
.hop-check:hover { border-color: var(--hop-primary); }

/* --- Radio row + Yes/No pills --------------------------------------- */
.hop-field--radio-row { display: flex; gap: 10px; flex-wrap: wrap; }
.hop-radio {
	position: relative; cursor: pointer;
	padding: 12px 24px;
	border: 1px solid var(--hop-border);
	border-radius: var(--hop-radius-pill);
	background: linear-gradient(180deg, #ffffff 0%, #f8faff 100%);
	font-size: 14px; font-weight: 600;
	color: var(--hop-text-soft);
	transition: all var(--hop-dur-1) var(--hop-ease);
	box-shadow: inset 0 1px 0 rgba(255,255,255,.9);
	min-width: 92px;
	text-align: center;
}
.hop-radio input { position: absolute; opacity: 0; pointer-events: none; }
.hop-radio:hover { border-color: var(--hop-primary); color: var(--hop-primary); }
.hop-radio:has(input:checked) {
	color: #fff;
	background: linear-gradient(180deg, #2a3d8e 0%, var(--hop-primary) 100%);
	border-color: transparent;
	box-shadow: 0 6px 14px -4px rgba(26,42,107,.40), inset 0 1px 0 rgba(255,255,255,.20);
}

/* --- Month-Day picker (birthday/anniversary) ------------------------ */
.hop-md {
	display: grid;
	grid-template-columns: 1.4fr 1fr;
	gap: 10px;
}
.hop-md .hop-select { padding-left: 14px; }

/* --- Family / children rows ----------------------------------------- */
.hop-children { margin-top: 8px; }
.hop-child-row {
	display: grid;
	grid-template-columns: 1.4fr 1fr 44px;
	gap: 10px;
	align-items: start;
	margin-bottom: 10px;
	animation: hop-slide-down 250ms var(--hop-ease);
}
@media (max-width: 640px) {
	.hop-child-row { grid-template-columns: 1fr 44px; grid-template-areas: "name remove" "bday bday"; }
	.hop-child-row > input { grid-area: name; }
	.hop-child-row > .hop-md { grid-area: bday; }
	.hop-child-row > .hop-child-remove { grid-area: remove; }
}
.hop-child-remove {
	background: transparent;
	border: 1px solid var(--hop-border);
	color: var(--hop-text-muted);
	border-radius: var(--hop-radius-md);
	padding: 0; width: 44px; height: 44px;
	display: grid; place-items: center;
	cursor: pointer;
	transition: all var(--hop-dur-1) var(--hop-ease);
	align-self: center;
}
.hop-child-remove:hover { color: var(--hop-error); border-color: var(--hop-error); background: var(--hop-error-bg); }
.hop-add-child {
	display: inline-flex; align-items: center; gap: 8px;
	padding: 10px 18px;
	border-radius: var(--hop-radius-pill);
	background: var(--hop-primary-050);
	color: var(--hop-primary);
	font-family: inherit; font-weight: 700; font-size: 13px; letter-spacing: .02em;
	border: 1px dashed rgba(26,42,107,.35);
	cursor: pointer;
	transition: all var(--hop-dur-1) var(--hop-ease);
	margin-top: 6px;
}
.hop-add-child:hover { background: var(--hop-primary-100); border-color: var(--hop-primary); transform: translateY(-1px); }

/* --- Department picker ---------------------------------------------- */
.hop-dept-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; }
.hop-dept {
	position: relative;
	padding: 22px 20px;
	border-radius: var(--hop-radius-lg);
	background: linear-gradient(180deg, #ffffff 0%, #f6f8fc 100%);
	border: 1px solid var(--hop-border);
	cursor: pointer;
	overflow: hidden;
	transition: all var(--hop-dur-2) var(--hop-ease);
	text-align: left;
	box-shadow: 0 1px 2px rgba(19,31,82,.04);
}
.hop-dept::before {
	content:''; position:absolute; inset:0;
	background: radial-gradient(400px 200px at 100% 0%, rgba(201,169,78,.18) 0%, transparent 60%);
	opacity: 0; transition: opacity var(--hop-dur-2) var(--hop-ease);
}
.hop-dept input { position: absolute; opacity: 0; pointer-events: none; }
.hop-dept__icon { width: 40px; height: 40px; border-radius: 10px; background: var(--hop-primary-050); color: var(--hop-primary); display: grid; place-items: center; margin-bottom: 12px; transition: all var(--hop-dur-2) var(--hop-ease); }
.hop-dept__icon svg { width: 22px; height: 22px; }
.hop-dept__title { font-size: 14px; font-weight: 700; color: var(--hop-text); margin: 0; letter-spacing: -0.005em; }
.hop-dept:hover { transform: translateY(-3px); box-shadow: var(--hop-shadow-md); border-color: var(--hop-primary); }
.hop-dept:has(input:checked) {
	border-color: transparent;
	background: linear-gradient(180deg, #2a3d8e 0%, var(--hop-primary) 100%);
	color: #fff;
	box-shadow: var(--hop-shadow-lg);
	transform: translateY(-3px);
}
.hop-dept:has(input:checked)::before { opacity: 1; }
.hop-dept:has(input:checked) .hop-dept__icon { background: rgba(201,169,78,.20); color: var(--hop-accent-bright); }
.hop-dept:has(input:checked) .hop-dept__title { color: #fff; }
.hop-dept__check {
	position: absolute; top: 12px; right: 12px;
	width: 20px; height: 20px; border-radius: 50%;
	background: rgba(26,42,107,.08);
	display: grid; place-items: center;
	color: transparent;
	transition: all var(--hop-dur-1) var(--hop-ease);
}
.hop-dept:has(input:checked) .hop-dept__check { background: var(--hop-accent); color: var(--hop-navy-deep); }

/* --- Postscript (First-time worshipper end note) ---------------------- */
.hop-postscript {
	text-align: center; margin: 32px auto 0; max-width: 640px;
	color: var(--hop-text-soft); font-size: 15px; line-height: 1.7;
}
.hop-postscript em { color: var(--hop-primary); font-style: italic; }

/* --- Error banner (renders ONLY when there is a flash error) --------- */
.hop-banner {
	display: flex; gap: 14px; align-items: flex-start;
	padding: 16px 20px;
	border-radius: var(--hop-radius-md);
	margin-bottom: 24px;
	font-size: 14px; font-weight: 500;
}
.hop-banner--error {
	background: linear-gradient(180deg, #fef2f2 0%, #fee2e2 100%);
	color: #7f1d1d;
	border: 1px solid #fca5a5;
}
.hop-banner__icon { flex: 0 0 22px; color: var(--hop-error); }

/* --- Success modal --------------------------------------------------- */
.hop-modal {
	position: fixed; inset: 0; z-index: 100000;
	display: none; align-items: center; justify-content: center;
	padding: 24px;
	background: rgba(8, 16, 58, 0.55);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	animation: hop-fade 220ms var(--hop-ease);
}
.hop-modal[hidden] { display: none !important; }
.hop-modal.is-open { display: flex; }
.hop-modal__backdrop { position: absolute; inset: 0; cursor: pointer; }
.hop-modal__panel {
	position: relative;
	background: #ffffff;
	border-radius: var(--hop-radius-xl);
	padding: 48px 40px 40px;
	max-width: 480px; width: 100%;
	text-align: center;
	box-shadow: 0 24px 96px -24px rgba(8,16,58,0.55), 0 8px 32px -8px rgba(19,31,82,0.30);
	animation: hop-modal-pop 350ms var(--hop-ease);
	overflow: hidden;
}
.hop-modal__panel::before {
	content:''; position:absolute; top:0; left:0; right:0; height:3px;
	background: linear-gradient(90deg, var(--hop-accent-bright) 0%, var(--hop-accent) 50%, var(--hop-accent-bright) 100%);
}
.hop-modal__close {
	position: absolute; top: 16px; right: 16px;
	width: 36px; height: 36px; border-radius: 50%;
	background: transparent; border: 0; color: var(--hop-text-muted);
	display: grid; place-items: center; cursor: pointer;
	transition: all var(--hop-dur-1) var(--hop-ease);
}
.hop-modal__close:hover { background: var(--hop-primary-050); color: var(--hop-primary); }
.hop-modal__icon {
	width: 72px; height: 72px; border-radius: 50%;
	background: linear-gradient(180deg, #ecfdf5 0%, #d1fae5 100%);
	color: #059669;
	display: grid; place-items: center;
	margin: 8px auto 20px;
	box-shadow: 0 6px 20px -4px rgba(5,150,105,.35);
}
.hop-modal__title {
	font-family: inherit; font-weight: 800; font-size: 26px; letter-spacing: -0.01em;
	color: var(--hop-primary);
	margin: 0 0 12px;
}
.hop-modal__message {
	font-size: 15px; color: var(--hop-text-soft); line-height: 1.65;
	margin: 0 0 28px;
}
.hop-modal__done { min-width: 160px; }
@keyframes hop-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes hop-modal-pop { from { opacity: 0; transform: translateY(20px) scale(0.96); } to { opacity: 1; transform: none; } }
@keyframes hop-slide-down { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }

/* --- Hub cards (Get Involved overview) ------------------------------- */
.hop-hub-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 20px;
}
.hop-hub-card {
	position: relative;
	padding: 32px 28px 28px;
	border-radius: var(--hop-radius-xl);
	background: linear-gradient(180deg, #ffffff 0%, #f6f8fc 100%);
	border: 1px solid rgba(26,42,107,.06);
	box-shadow: var(--hop-shadow-md);
	text-decoration: none;
	color: var(--hop-text);
	transition: transform var(--hop-dur-2) var(--hop-ease), box-shadow var(--hop-dur-2) var(--hop-ease);
	overflow: hidden;
	display: flex; flex-direction: column;
	min-height: 240px;
}
.hop-hub-card__glow {
	position: absolute; top: -40%; right: -20%;
	width: 60%; height: 100%;
	background: radial-gradient(closest-side, rgba(201,169,78,.20) 0%, transparent 100%);
	opacity: 0; transition: opacity var(--hop-dur-2) var(--hop-ease);
	pointer-events: none;
}
.hop-hub-card__icon {
	width: 48px; height: 48px; border-radius: 12px;
	background: var(--hop-primary-050);
	color: var(--hop-primary);
	display: grid; place-items: center;
	margin-bottom: 20px;
	transition: all var(--hop-dur-2) var(--hop-ease);
}
.hop-hub-card__icon svg { width: 24px; height: 24px; }
.hop-hub-card__eyebrow {
	display: inline-block;
	padding: 4px 10px;
	border-radius: var(--hop-radius-pill);
	background: linear-gradient(90deg, var(--hop-accent-bright), var(--hop-accent));
	color: var(--hop-navy-deep);
	font-size: 11px; font-weight: 800; letter-spacing: .10em; text-transform: uppercase;
	margin-bottom: 16px;
	align-self: flex-start;
}
.hop-hub-card__title { font-family: inherit; font-weight: 800; font-size: 22px; color: var(--hop-primary); margin: 0 0 10px; letter-spacing: -0.01em; }
.hop-hub-card__body { color: var(--hop-text-soft); font-size: 14.5px; line-height: 1.6; margin: 0 0 24px; flex: 1; }
.hop-hub-card__cta {
	display: inline-flex; align-items: center; gap: 8px;
	color: var(--hop-primary); font-weight: 700; font-size: 14px;
	transition: gap var(--hop-dur-1) var(--hop-ease);
}
.hop-hub-card:hover {
	transform: translateY(-6px);
	box-shadow: var(--hop-shadow-xl);
}
.hop-hub-card:hover .hop-hub-card__glow { opacity: 1; }
.hop-hub-card:hover .hop-hub-card__cta { gap: 12px; }
.hop-hub-card:hover .hop-hub-card__icon { background: var(--hop-primary); color: #fff; transform: scale(1.06); }

/* Featured (First-time worshipper) — full navy fill for emphasis. */
.hop-hub-card--feature {
	background: linear-gradient(140deg, #2a3d8e 0%, var(--hop-primary) 40%, var(--hop-primary-600) 100%);
	color: #fff;
	border-color: transparent;
	box-shadow: var(--hop-shadow-lg);
}
.hop-hub-card--feature .hop-hub-card__title { color: #fff; }
.hop-hub-card--feature .hop-hub-card__body { color: rgba(255,255,255,.82); }
.hop-hub-card--feature .hop-hub-card__cta { color: var(--hop-accent-bright); }
.hop-hub-card--feature .hop-hub-card__glow {
	background: radial-gradient(closest-side, rgba(201,169,78,.30) 0%, transparent 100%);
	opacity: .6;
}
.hop-hub-card--feature:hover .hop-hub-card__glow { opacity: 1; }
@media (min-width: 900px) {
	/* Feature card takes the full first row on desktop for emphasis. */
	.hop-hub-grid > .hop-hub-card--feature { grid-column: 1 / -1; min-height: 200px; }
}

/* --- Honeypot -------------------------------------------------------- */
.hop-hp-wrap { position: absolute; left: -9999px; top: -9999px; width: 1px; height: 1px; opacity: 0; overflow: hidden; }

/* --- Motion-safety -------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
	.hop-btn, .hop-hub-card, .hop-dept, .hop-input, .hop-textarea, .hop-select { transition: none; }
	.hop-modal, .hop-modal__panel { animation: none; }
	.hop-child-row, .hop-field__error { animation: none; }
}

/* --- Utility -------------------------------------------------------- */
.hop-mt-lg { margin-top: 32px; }
.hop-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }
.hop-brand-lockup { display: flex; align-items: center; gap: 12px; }
.hop-brand-lockup img { height: 44px; width: auto; }

/* --- Footer strip --------------------------------------------------- */
.hop-foot {
	background: #f6f8fc; border-top: 1px solid var(--hop-border-soft);
	padding: 28px 0; text-align: center; font-size: 13px; color: var(--hop-text-muted);
	margin-top: 48px;
}
.hop-foot a { color: var(--hop-primary); text-decoration: none; font-weight: 600; }
.hop-foot a:hover { text-decoration: underline; }
