/* ==========================================================================
   19TEN / Plan a Visit
   1. Hero   2. Essentials (bento)   3. Kids Church   4. Weekly rhythm
   5. FAQ    6. Form + confirmation
   ========================================================================== */

/* 1. Hero ------------------------------------------------------------------ */
.pv-hero { padding: calc(var(--header-h) + clamp(48px, 7vw, 96px)) 0 clamp(64px, 8vw, 112px); }
.pv-hero__grid { display: grid; gap: clamp(56px, 7vw, 96px); align-items: center; }
@media (min-width: 900px) { .pv-hero__grid { grid-template-columns: 1.1fr .9fr; } }
.pv-hero__text .lead { margin: 1.8rem 0 2.4rem; max-width: 40ch; }
.pv-hero__media { position: relative; padding-bottom: 28px; }
.pv-hero__media .photo { aspect-ratio: 4 / 4.6; max-height: 72vh; width: 100%; }

.pv-next {
	position: absolute; left: -6%; bottom: 0; z-index: 2;
	min-width: 230px; padding: 20px 24px 22px; border-radius: 20px;
	background: var(--ink); color: var(--paper);
	box-shadow: 0 24px 50px -20px rgba(15, 15, 17, .5);
}
.pv-next p { margin: 0; }
.pv-next__label {
	display: flex; align-items: center; gap: 8px;
	font-size: var(--fs-label); font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted-dark);
}
.pv-next__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); animation: ring 2.4s var(--ease-out) infinite; }
@keyframes ring { 0% { box-shadow: 0 0 0 0 rgba(199, 158, 78, .55); } 100% { box-shadow: 0 0 0 12px rgba(199, 158, 78, 0); } }
.pv-next__date { font-family: var(--f-display); font-weight: 700; font-size: clamp(2.6rem, 4vw, 3.4rem); letter-spacing: -0.04em; line-height: 1; margin: 10px 0 6px !important; }
.pv-next__time { font-size: .95rem; color: var(--gold); }
@media (max-width: 899px) { .pv-next { left: 16px; } }

/* 2. Essentials (bento) ---------------------------------------------------- */
.pv-ess__head { margin-bottom: clamp(36px, 5vw, 64px); }
.pv-bento { display: grid; gap: 14px; grid-template-columns: 1fr; }
@media (min-width: 640px) {
	.pv-bento { grid-template-columns: 1fr 1fr; }
	.pv-card--time, .pv-card--map { grid-column: 1 / -1; }
}
@media (min-width: 1024px) {
	.pv-bento { grid-template-columns: repeat(4, 1fr); grid-auto-rows: minmax(210px, auto); }
	.pv-card--time { grid-column: 1; grid-row: 1 / span 2; }
	.pv-card--map { grid-column: 2 / span 3; }
}
.pv-card {
	display: flex; flex-direction: column; gap: 8px;
	padding: 28px; border-radius: var(--radius);
	background: var(--paper);
	transition: transform .6s var(--ease), box-shadow .6s var(--ease);
}
.pv-card:hover { transform: translateY(-4px); box-shadow: 0 24px 40px -28px rgba(15, 15, 17, .4); }
.pv-card p { margin: 0; }
.pv-card__label {
	display: inline-flex; align-items: center; gap: 8px; margin-bottom: auto !important; padding-bottom: 20px;
	font-size: var(--fs-label); font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted);
}
.pv-card__label .icon { color: var(--gold-text); }
.pv-card__title { font-family: var(--f-display); font-weight: 600; font-size: 1.55rem; letter-spacing: -0.02em; line-height: 1.1; }
.pv-card .muted { font-size: .98rem; line-height: 1.55; }

.pv-card--time { background: var(--ink); color: var(--paper); justify-content: flex-end; }
.pv-card--time .pv-card__label { color: var(--muted-dark); }
.pv-card--time .pv-card__label .icon { color: var(--gold); }
.pv-card__big { font-family: var(--f-display); font-weight: 700; font-size: clamp(3.2rem, 5.4vw, 5.2rem); letter-spacing: -0.045em; line-height: .9; }
.pv-card__sub { font-family: var(--f-serif); font-style: italic; font-size: 1.6rem; color: var(--gold); }
.pv-card__note { margin-top: 14px !important; font-size: .95rem; color: var(--muted-dark); line-height: 1.5; }

.pv-card--map { padding: 10px; display: grid; gap: 10px; }
@media (min-width: 640px) { .pv-card--map { grid-template-columns: 1.4fr 1fr; } }
.pv-card__map { min-height: 240px; border-radius: 16px; overflow: hidden; background: var(--bone); }
.pv-card__map iframe { width: 100%; height: 100%; min-height: 240px; border: 0; filter: grayscale(1) contrast(1.05); }
.pv-card__mapinfo { display: flex; flex-direction: column; gap: 6px; padding: 18px 18px 18px 12px; }
.pv-card__link { margin-top: 14px; font-weight: 600; align-self: flex-start; }

/* 3. Kids Church ----------------------------------------------------------- */
.pv-kids__grid { display: grid; gap: clamp(48px, 6vw, 96px); align-items: center; }
@media (min-width: 900px) { .pv-kids__grid { grid-template-columns: 1fr 1fr; } }
.pv-kids__text .lead { margin: 1.8rem 0 2rem; max-width: 46ch; }
.pv-promises { list-style: none; margin: 0; padding: 0; max-width: 46ch; }
.pv-promises li {
	display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: baseline;
	padding: 18px 0; border-top: 1px solid var(--line);
}
.pv-promises li:last-child { border-bottom: 1px solid var(--line); }
.pv-promises__n { font-size: var(--fs-label); font-weight: 600; letter-spacing: .1em; color: var(--gold-text); }
.pv-promises strong { font-family: var(--f-display); font-size: 1.15rem; letter-spacing: -0.01em; }
.pv-kids__media { position: relative; }
.pv-kids__main .photo { aspect-ratio: 4 / 4.4; }
.pv-kids__tag {
	position: absolute; top: 18px; left: 18px; z-index: 3; margin: 0;
	padding: 8px 14px; border-radius: 999px;
	background: var(--gold); color: var(--ink);
	font-size: .8rem; font-weight: 600; letter-spacing: .04em;
}
.pv-kids__tag mark.ph { background: rgba(15, 15, 17, .12); color: var(--ink); }

/* 4. Weekly rhythm (dark) -------------------------------------------------- */
.pv-rhythm__head { display: grid; gap: 20px; align-items: end; margin-bottom: clamp(40px, 5vw, 72px); }
@media (min-width: 900px) { .pv-rhythm__head { grid-template-columns: 1.4fr 1fr; } .pv-rhythm__head .eyebrow { grid-column: 1 / -1; margin-bottom: 0; } }
.pv-rhythm__head p { margin: 0; max-width: 34ch; }
.pv-rhythm__list { border-bottom: 1px solid var(--line-dark); }
.pv-rhythm__row {
	display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 24px;
	padding: clamp(20px, 2.6vw, 30px) 0; border-top: 1px solid var(--line-dark);
}
.pv-rhythm__name {
	font-family: var(--f-display); font-weight: 600; letter-spacing: -0.03em;
	font-size: clamp(1.7rem, 4vw, 3.2rem); line-height: 1;
	transition: transform .6s var(--ease), color .4s;
}
.pv-rhythm__when { font-size: clamp(1rem, 1.4vw, 1.2rem); color: var(--muted-dark); transition: color .4s; }
.pv-rhythm__row:first-child .pv-rhythm__name { color: var(--gold); }
.pv-rhythm__row:hover .pv-rhythm__name { transform: translateX(10px); color: var(--gold); }
.pv-rhythm__row:hover .pv-rhythm__when { color: var(--paper); }

/* 5. FAQ ------------------------------------------------------------------- */
.pv-faq__grid { display: grid; gap: 48px; }
@media (min-width: 900px) {
	.pv-faq__grid { grid-template-columns: 5fr 7fr; gap: 6vw; align-items: start; }
	.pv-faq__head { position: sticky; top: calc(var(--header-h) + 40px); }
}
.pv-faq__head p { margin-top: 1.6rem; max-width: 36ch; }
.pv-faq__list { border-bottom: 1px solid var(--line); }
.pv-faq__item { border-top: 1px solid var(--line); }
.pv-faq__item summary {
	display: flex; align-items: center; justify-content: space-between; gap: 24px;
	padding: 24px 0; cursor: pointer; list-style: none;
	font-family: var(--f-display); font-weight: 600; font-size: clamp(1.15rem, 1.7vw, 1.4rem); letter-spacing: -0.015em; line-height: 1.25;
	transition: color .3s;
}
.pv-faq__item summary::-webkit-details-marker { display: none; }
.pv-faq__item summary:hover { color: var(--gold-text); }
.pv-faq__icon {
	position: relative; flex: none; width: 40px; height: 40px; border-radius: 50%;
	border: 1px solid var(--line); transition: background-color .4s, border-color .4s, transform .6s var(--ease);
}
.pv-faq__icon::before, .pv-faq__icon::after {
	content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 1.5px; margin: -.75px 0 0 -7px;
	background: currentColor; transition: transform .6s var(--ease);
}
.pv-faq__icon::after { transform: rotate(90deg); }
.pv-faq__item[open] .pv-faq__icon { background: var(--ink); border-color: var(--ink); color: var(--paper); transform: rotate(180deg); }
.pv-faq__item[open] .pv-faq__icon::after { transform: rotate(0deg); }
.pv-faq__answer { overflow: hidden; }
.pv-faq__answer p { margin: 0; padding: 0 64px 26px 0; color: var(--muted); max-width: 62ch; }

/* 6. Form + confirmation --------------------------------------------------- */
.pv-form__grid { display: grid; gap: 48px; align-items: start; }
@media (min-width: 1000px) { .pv-form__grid { grid-template-columns: 5fr 7fr; gap: 6vw; } }
.pv-form__intro .lead { margin: 1.6rem 0 2rem; max-width: 36ch; }
.pv-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.pv-steps li { display: flex; align-items: center; gap: 14px; font-weight: 500; }
.pv-steps span {
	flex: none; width: 36px; height: 36px; border-radius: 50%;
	display: grid; place-items: center;
	border: 1px solid var(--gold); color: var(--gold-text); font-size: .85rem; font-weight: 700;
}
.pv-form__card {
	position: relative; overflow: hidden;
	padding: clamp(24px, 4vw, 48px); border-radius: 28px;
	background: var(--paper);
	box-shadow: 0 40px 80px -50px rgba(15, 15, 17, .45);
}
/* Fluent's own success text is replaced by the designed confirmation below. */
[data-plan-form] .ff-message-success { display: none !important; }

.pv-done { text-align: center; padding: clamp(16px, 4vw, 40px) 0; }
.pv-done[hidden] { display: none; }
.pv-done:focus { outline: none; }
.pv-done__check { width: 84px; height: 84px; margin: 0 auto 24px; color: var(--gold); }
.pv-done__check circle { stroke-dasharray: 227; stroke-dashoffset: 227; }
.pv-done__check path { stroke-dasharray: 52; stroke-dashoffset: 52; }
.pv-done.is-in .pv-done__check circle { stroke-dashoffset: 0; transition: stroke-dashoffset 1s var(--ease); }
.pv-done.is-in .pv-done__check path { stroke-dashoffset: 0; transition: stroke-dashoffset .6s var(--ease) .7s; }
.pv-done h3 { margin-bottom: 1rem; }
.pv-done p { max-width: 40ch; margin: 0 auto 2rem; }
.pv-done .btn-row { justify-content: center; }
.pv-done [data-done-cal][hidden] { display: none; }
