/* --------------------------------------------------------------------------
   Buttons, forms, packages, FAQ
   -------------------------------------------------------------------------- */

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.55rem;
	min-height: 2.45rem;
	padding: 0.48rem 1.15rem;
	border: 1px solid transparent;
	border-radius: var(--rm-radius);
	font-family: var(--rm-font-sans);
	font-size: 0.72rem;
	font-weight: 500;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	cursor: pointer;
	transition: background 0.22s ease, color 0.22s ease, border-color 0.22s ease;
}

.btn__arrow {
	display: inline-block;
	transition: transform 0.25s var(--rm-ease);
}

.btn:hover .btn__arrow,
.btn:focus-visible .btn__arrow {
	transform: translateX(4px);
}

.btn:focus-visible {
	outline: 2px solid var(--rm-sage);
	outline-offset: 3px;
}

.btn--forest {
	background: var(--rm-champagne);
	color: var(--rm-forest);
	border-color: var(--rm-champagne);
}

.btn--forest:hover {
	background: var(--rm-sand);
	border-color: var(--rm-sand);
	color: var(--rm-forest-deep);
}

.btn--sage {
	background: var(--rm-sage);
	color: var(--rm-ivory);
}

.btn--sage:hover {
	background: var(--rm-olive);
}

.btn--ivory {
	background: var(--rm-ivory);
	color: var(--rm-forest);
}

.btn--ivory:hover {
	background: var(--rm-white);
}

.btn--ghost {
	background: transparent;
	color: var(--rm-ivory);
	border-color: rgba(244, 240, 232, 0.55);
}

.btn--ghost:hover {
	background: rgba(244, 240, 232, 0.1);
	border-color: var(--rm-ivory);
}

.btn--outline {
	background: transparent;
	color: var(--rm-forest);
	border-color: var(--rm-forest);
}

.btn--outline:hover {
	background: var(--rm-forest);
	color: var(--rm-ivory);
}

.btn--pill {
	border-radius: 0;
	padding-inline: 1.05rem;
}

.btn--small {
	min-height: 2.25rem;
	padding: 0.32rem 1rem;
	font-size: 0.72rem;
}

.btn--ink,
.btn--light {
	/* Back-compat aliases used in remaining templates */
}

.btn--ink {
	background: var(--rm-champagne);
	color: var(--rm-forest);
}

.btn--ink:hover {
	background: var(--rm-sand);
}

.btn--light {
	background: var(--rm-ivory);
	color: var(--rm-forest);
}

.contact-form {
	display: grid;
	gap: 1rem;
	width: 100%;
	max-width: 100%;
	min-width: 0;
}

.contact-form--compact {
	gap: 0.65rem 1rem;
}

.contact-form__field {
	display: grid;
	gap: 0.28rem;
	margin: 0;
	min-width: 0;
	max-width: 100%;
}

.contact-form--compact .contact-form__field--full,
.contact-form--compact .contact-form__submit {
	grid-column: 1 / -1;
}

.contact-form label {
	font-size: 0.72rem;
	font-weight: 500;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--rm-sage);
}

.form-hint {
	display: block;
	margin-top: 0.2rem;
	font-size: 0.8rem;
	letter-spacing: 0;
	text-transform: none;
	font-weight: 400;
	color: var(--rm-muted);
	min-height: 0;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
	width: 100%;
	max-width: 100%;
	min-width: 0;
	padding: 0.8rem 0.9rem;
	border: 1px solid var(--rm-line);
	border-radius: var(--rm-radius);
	background: var(--rm-white);
	color: var(--rm-ink);
	box-sizing: border-box;
}

.contact-form input[type="date"] {
	display: block;
	width: 100%;
	max-width: 100%;
	min-width: 0;
}

.contact-form input[type="date"]::-webkit-datetime-edit {
	min-width: 0;
	max-width: 100%;
}

.contact-form--compact input,
.contact-form--compact textarea,
.contact-form--compact select {
	padding: 0.48rem 0.7rem;
	min-height: 2.35rem;
	font-size: 0.92rem;
}

.contact-form--compact textarea {
	min-height: 6.5rem;
	padding-top: 0.55rem;
}

.contact-form--compact .contact-form__submit {
	margin-top: 0.25rem;
	min-width: 0;
	max-width: 100%;
}

.contact-form--compact .btn {
	max-width: 100%;
}

@media (min-width: 901px) {
	.contact-form--compact {
		grid-template-columns: 1fr 1fr;
		align-items: start;
	}
}

.form-notice {
	padding: 0.9rem 1rem;
	margin-bottom: 1rem;
}

.form-notice--ok {
	background: #e7eee6;
	color: var(--rm-forest);
}

.form-notice--error {
	background: #f3e6e2;
	color: #6d322c;
}

.pkg-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 0;
	align-items: stretch;
}

.pkg {
	position: relative;
	display: flex;
	flex-direction: column;
	padding: 2.2rem 1.8rem 1.8rem;
	background: transparent;
	border: 0;
	border-right: 1px solid var(--rm-line);
}

.pkg:last-child {
	border-right: 0;
}

.pkg--featured {
	background: var(--rm-paper);
	color: inherit;
	border-right-color: var(--rm-line);
}

.pkg--featured h3,
.pkg--featured .pkg__price {
	color: var(--rm-forest);
}

.pkg--featured .pkg__meta,
.pkg--featured .pkg__price span {
	color: var(--rm-sage);
}

.pkg--featured .pkg__list li {
	border-bottom-color: var(--rm-line);
}

.pkg--featured .info-tip {
	border-color: var(--rm-line);
	color: var(--rm-muted);
}

.pkg--featured .btn {
	background: var(--rm-champagne);
	color: var(--rm-forest);
}

.pkg__badge {
	margin: 0 0 0.45rem;
	font-family: var(--rm-font-sans);
	font-size: 0.62rem;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--rm-forest);
	background: transparent;
	display: inline-block;
	align-self: flex-start;
	width: auto;
	padding: 0;
}

.pkg__meta {
	color: var(--rm-muted);
	margin-bottom: 0.35rem;
	letter-spacing: 0.04em;
}

.pkg__price {
	font-family: var(--rm-font-serif);
	font-size: 1.85rem;
	font-weight: 400;
	margin-bottom: 1.2rem;
	color: var(--rm-forest);
}

.pkg__price span {
	display: block;
	font-family: var(--rm-font-sans);
	font-size: 0.78rem;
	color: var(--rm-muted);
	letter-spacing: 0;
}

.pkg__list {
	display: grid;
	gap: 0.55rem;
	margin: 0 0 1.5rem;
	flex: 1;
	font-size: 0.95rem;
}

.pkg__list li {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 0.5rem;
	padding-bottom: 0.5rem;
	border-bottom: 1px solid var(--rm-line);
}

.info-tip {
	flex-shrink: 0;
	width: 1.35rem;
	height: 1.35rem;
	border: 1px solid var(--rm-line);
	background: transparent;
	color: var(--rm-muted);
	cursor: pointer;
	line-height: 1;
	border-radius: 50%;
}

.info-tip__panel {
	display: none;
	width: 100%;
	flex-basis: 100%;
	margin-top: 0.35rem;
	font-size: 0.88rem;
	color: var(--rm-muted);
}

.info-tip[aria-expanded="true"] + .info-tip__panel,
.info-tip__panel.is-open {
	display: block;
}

@media (min-width: 901px) {
	.pkg__list li {
		position: relative;
	}

	.info-tip__panel {
		position: absolute;
		right: 0;
		top: calc(100% - 0.2rem);
		z-index: 3;
		width: min(18rem, 70vw);
		padding: 0.75rem 0.85rem;
		background: var(--rm-forest);
		color: var(--rm-ivory);
	}

	.info-tip[aria-expanded="true"] + .info-tip__panel {
		display: block;
	}
}

.faq__item {
	border-top: 1px solid var(--rm-line);
	padding: 1rem 0;
}

.faq__item summary {
	cursor: pointer;
	font-family: var(--rm-font-serif);
	font-size: 1.35rem;
	list-style: none;
	color: var(--rm-forest);
}

.faq__item summary::-webkit-details-marker {
	display: none;
}

.faq__body {
	padding-top: 0.7rem;
	color: var(--rm-muted);
}

.quote-card {
	margin: 0;
	padding-top: 1rem;
	border-top: 1px solid var(--rm-line);
}

.quote-card p {
	font-family: var(--rm-font-serif);
	font-size: 1.45rem;
	font-style: italic;
	color: var(--rm-forest);
}

.quote-card footer {
	margin-top: 0.8rem;
	font-size: 0.88rem;
}

.quote-card cite {
	font-style: normal;
	font-weight: 600;
}

.quotes-plain {
	display: grid;
	gap: 1.8rem;
}

@media (max-width: 900px) {
	.pkg-grid {
		grid-template-columns: 1fr;
	}

	.pkg,
	.pkg:last-child {
		border-right: 0;
		border-bottom: 1px solid var(--rm-line);
	}

	.pkg--featured {
		border-bottom-color: transparent;
	}
}

/* Quiet editorial Scripture Moment — album pause, no frame or icon */
.scripture-moment {
	width: min(100% - 2.5rem, 38rem);
	margin: 0 auto;
	padding-block: clamp(3.125rem, 5vw, 4.5rem);
	padding-inline: 0;
	text-align: center;
	background: transparent;
	border: 0;
}

.scripture-moment__quote {
	margin: 0;
}

.scripture-moment__quote p {
	margin: 0 auto;
	max-width: 36rem;
	font-family: var(--rm-font-serif);
	font-style: italic;
	font-size: clamp(1.08rem, 1.65vw, 1.32rem);
	line-height: 1.5;
	color: var(--rm-sage);
	font-weight: 400;
}

.scripture-moment__cite {
	display: block;
	margin-top: 0.7rem;
	font-family: var(--rm-font-sans);
	font-style: normal;
	font-size: 0.66rem;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--rm-taupe);
}

.scripture-moment--cite {
	padding-block: clamp(2rem, 3.5vw, 2.75rem);
}

.finale--text .scripture-moment {
	width: auto;
	max-width: 18ch;
	margin: 3rem 0 0;
	padding: 0;
}

.finale--text .scripture-moment__quote p {
	max-width: none;
	font-size: clamp(1.05rem, 1.6vw, 1.28rem);
	line-height: 1.35;
}

@media (max-width: 700px) {
	.scripture-moment {
		width: min(100% - 2rem, 38rem);
		padding-block: clamp(2.5rem, 8vw, 3.25rem);
	}

	.scripture-moment--cite {
		padding-block: 2rem;
	}

	.finale--text .scripture-moment {
		margin-top: 1.75rem;
	}
}

/* --------------------------------------------------------------------------
   Consent banner (analytics only)
   -------------------------------------------------------------------------- */

.rm-consent {
	position: fixed;
	right: 1rem;
	bottom: 1rem;
	left: 1rem;
	z-index: 80;
	width: min(36rem, calc(100% - 2rem));
	margin-inline: auto;
	padding: 1rem 1.15rem 1.05rem;
	background: var(--rm-paper);
	color: var(--rm-ink);
	border: 1px solid var(--rm-line);
	box-shadow: 0 12px 40px rgba(24, 37, 28, 0.12);
}

.rm-consent__inner {
	display: grid;
	gap: 0.85rem;
}

.rm-consent__text {
	margin: 0;
	font-family: var(--rm-font-body);
	font-size: 0.92rem;
	line-height: 1.55;
	color: var(--rm-muted);
}

.rm-consent__text a {
	color: var(--rm-forest);
}

.rm-consent__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.55rem;
}

.rm-consent__actions .btn {
	flex: 1 1 9rem;
	min-width: 0;
}

@media (max-width: 360px) {
	.rm-consent {
		right: 0.65rem;
		bottom: 0.65rem;
		left: 0.65rem;
		width: auto;
		padding: 0.9rem;
	}
}
