/* WowSmile home page (template-home.php). Tokens come from wowsmile.css. */

.wsh { color: var(--ws-ink-soft); }
.wsh-wrap { width: min(1200px, calc(100% - 40px)); margin: 0 auto; }
.wsh h1, .wsh h2 { font-family: var(--ws-font-h); color: var(--ws-ink); letter-spacing: -.02em; }
.wsh h2 { font-size: clamp(28px, 3.4vw, 44px); line-height: 1.08; font-weight: 700; margin: 0 0 20px; }
.wsh p { font-size: 17px; line-height: 1.7; max-width: 58ch; }
.wsh-sec { padding: 96px 0; }

.wsh-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 56px; padding: 0 34px; border-radius: 999px; background: var(--ws-accent); color: #fff; font: 600 17px var(--ws-font-h); text-decoration: none; transition: background .2s ease, transform .2s ease; }
.wsh-btn:hover { background: var(--ws-accent-dark); color: #fff; }
.wsh-btn:active { transform: translateY(1px); }
.wsh-btn--light { background: #fff; color: var(--ws-accent); }
.wsh-btn--light:hover { background: var(--ws-surface-2); color: var(--ws-accent-dark); }
.wsh-link { color: var(--ws-accent); font: 600 16px var(--ws-font-h); text-decoration: none; border-bottom: 2px solid var(--ws-surface-2); padding-bottom: 2px; transition: border-color .2s ease; }
.wsh-link:hover { border-color: var(--ws-accent); }

.wsh-ph { display: grid; place-items: center; width: 100%; height: 100%; color: var(--ws-accent); background: linear-gradient(135deg, var(--ws-surface) 0%, var(--ws-surface-2) 100%); }
.wsh-ph svg { width: 34%; opacity: .5; }

/* Hero */
.wsh-hero { padding: 56px 0 72px; background: linear-gradient(180deg, var(--ws-surface) 0%, #fff 100%); overflow: hidden; }
.wsh-hero__grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 64px; align-items: center; }
.wsh-hero h1 { font-size: clamp(36px, 4.4vw, 58px); line-height: 1.04; font-weight: 700; margin: 0 0 22px; }
.wsh-hero h1 em { font-style: normal; color: var(--ws-accent); }
.wsh-hero p { font-size: 19px; margin: 0 0 32px; }
.wsh-hero__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 28px; }
.wsh-hero__media { position: relative; }
.wsh-hero__img { aspect-ratio: 1 / 1; border-radius: 28px; overflow: hidden; background: var(--ws-surface-2); }
.wsh-hero__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.wsh-hero__chip { position: absolute; left: -36px; bottom: 36px; display: grid; gap: 2px; min-width: 240px; max-width: 280px; padding: 18px 22px; border-radius: 18px; background: #fff; box-shadow: var(--ws-shadow); text-decoration: none; transition: transform .2s ease; }
.wsh-hero__chip:hover { transform: translateY(-2px); }
.wsh-hero__chip-k { font: 600 11px var(--ws-font-h); letter-spacing: .08em; text-transform: uppercase; color: var(--ws-accent); }
.wsh-hero__chip strong { font: 600 16px/1.3 var(--ws-font-h); color: var(--ws-ink); }
.wsh-hero__chip-p { font: 700 18px var(--ws-font-h); color: var(--ws-ink); }

/* Trust strip */
.wsh-trust { border-top: 1px solid var(--ws-line); border-bottom: 1px solid var(--ws-line); }
.wsh-trust ul { list-style: none; margin: 0 auto; padding: 22px 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.wsh-trust li { display: grid; gap: 2px; padding-left: 18px; border-left: 3px solid var(--ws-accent); }
.wsh-trust strong { font: 600 15px var(--ws-font-h); color: var(--ws-ink); }
.wsh-trust span { font-size: 14px; }

/* Products bento */
.wsh-head { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; margin-bottom: 28px; }
.wsh-head h2 { margin: 0; }
.wsh-bento { display: grid; grid-template-columns: 1.3fr 1fr 1fr; grid-template-rows: auto auto; gap: 18px; }
.wsh-card { display: flex; flex-direction: column; border: 1px solid var(--ws-line); border-radius: 20px; overflow: hidden; background: #fff; text-decoration: none; color: inherit; transition: box-shadow .25s ease, transform .25s ease, border-color .25s ease; }
.wsh-card:hover { box-shadow: var(--ws-shadow); border-color: transparent; transform: translateY(-3px); color: inherit; }
.wsh-card__img { display: block; aspect-ratio: 4 / 3; background: var(--ws-surface); overflow: hidden; }
.wsh-card__img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s ease; }
.wsh-card:hover .wsh-card__img img { transform: scale(1.03); }
.wsh-card__body { display: flex; flex-direction: column; gap: 6px; padding: 20px 22px 22px; flex: 1; }
.wsh-card__body .ws-badge { align-self: flex-start; margin-bottom: 4px; }
.wsh-card__name { font: 600 19px/1.25 var(--ws-font-h); color: var(--ws-ink); }
.wsh-card__line { font-size: 14px; line-height: 1.5; }
.wsh-card__foot { display: flex; justify-content: space-between; align-items: center; margin-top: auto; padding-top: 14px; }
.wsh-card__price { font: 700 19px var(--ws-font-h); color: var(--ws-ink); }
.wsh-card__go { font: 600 14px var(--ws-font-h); color: var(--ws-accent); }
.wsh-card__go::after { content: ' \2192'; }
.wsh-card--hero { grid-row: span 2; background: var(--ws-surface); border-color: var(--ws-surface); }
.wsh-card--hero .wsh-card__img { aspect-ratio: auto; flex: 1; min-height: 360px; }
.wsh-card--hero .wsh-card__name { font-size: 26px; }
.wsh-card--hero .wsh-card__body { padding: 26px 28px 28px; flex: 0; }
.wsh-bento > .wsh-card:nth-child(4) { grid-column: 2 / span 2; flex-direction: row; }
.wsh-bento > .wsh-card:nth-child(4) .wsh-card__img { aspect-ratio: auto; width: 42%; flex: 0 0 42%; }

/* Why */
.wsh-why { background: var(--ws-surface); }
.wsh-why__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.wsh-why__media { aspect-ratio: 4 / 5; border-radius: 28px; overflow: hidden; margin-left: calc((100vw - min(1200px, 100vw - 40px)) / -2); border-radius: 0 28px 28px 0; }
.wsh-why__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.wsh-why .ws-ticks li { font-size: 16px; }

/* Band */
.wsh-band { padding: 0; background: var(--ws-accent); }
.wsh-band__grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.wsh-band__grid div { padding: 56px 24px; text-align: center; color: #d6e6f2; border-left: 1px solid rgba(255, 255, 255, .15); }
.wsh-band__grid div:first-child { border-left: 0; }
.wsh-band__grid strong { display: block; font: 700 clamp(40px, 5vw, 64px)/1 var(--ws-font-h); color: #fff; margin-bottom: 10px; }
.wsh-band__grid span { font-size: 15px; }

/* Steps */
.wsh-steps ol { list-style: none; counter-reset: s; margin: 40px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--ws-line); }
.wsh-steps li { counter-increment: s; padding: 32px 32px 0 0; }
.wsh-steps li + li { padding-left: 32px; border-left: 1px solid var(--ws-line); }
.wsh-steps li::before { content: '0' counter(s); display: block; font: 700 15px var(--ws-font-h); color: var(--ws-accent); margin-bottom: 18px; }
.wsh-steps li strong { display: block; font: 600 21px/1.3 var(--ws-font-h); color: var(--ws-ink); margin-bottom: 10px; }
.wsh-steps li span { font-size: 16px; line-height: 1.6; }

/* Guarantee */
.wsh-guarantee { display: grid; grid-template-columns: 96px 1fr; gap: 32px; align-items: center; padding: 48px; border-radius: 28px; border: 1px solid var(--ws-line); }
.wsh-guarantee h2 { font-size: clamp(24px, 2.6vw, 32px); margin-bottom: 8px; }
.wsh-guarantee p { margin: 0; }
.wsh-guarantee .ws-guarantee__seal { width: 96px; height: 96px; }
.wsh-sec + .wsh-sec:not(.wsh-why):not(.wsh-band) { padding-top: 0; }
.wsh-band + .wsh-sec, .wsh-why + .wsh-sec:not(.wsh-band) { padding-top: 96px !important; }

/* FAQ */
.wsh-faq__grid { display: grid; grid-template-columns: 1fr 1.6fr; gap: 64px; align-items: start; }
.wsh-faq .ws-faq { max-width: none; }

/* Final CTA */
.wsh-final { background: var(--ws-accent); padding: 80px 0; }
.wsh-final__in { display: flex; justify-content: space-between; align-items: center; gap: 32px; }
.wsh-final h2 { color: #fff; margin: 0; max-width: 16ch; }

@media (max-width: 999px) {
	.wsh-sec { padding: 72px 0; }
	.wsh-hero__grid, .wsh-why__grid, .wsh-faq__grid { grid-template-columns: 1fr; gap: 40px; }
	.wsh-hero__chip { left: 16px; bottom: 16px; }
	.wsh-bento { grid-template-columns: 1fr 1fr; }
	.wsh-card--hero { grid-column: 1 / -1; grid-row: auto; }
	.wsh-bento > .wsh-card:nth-child(4) { grid-column: 1 / -1; }
	.wsh-why__media { margin-left: 0; border-radius: 28px; aspect-ratio: 4 / 3; }
	.wsh-faq__grid { gap: 12px; }
}
@media (max-width: 689px) {
	.wsh-sec { padding: 56px 0; }
	.wsh-band + .wsh-sec, .wsh-why + .wsh-sec:not(.wsh-band) { padding-top: 56px !important; }
	.wsh-hero { padding: 32px 0 48px; }
	.wsh-hero p { font-size: 17px; }
	.wsh-hero__cta .wsh-btn { width: 100%; }
	.wsh-hero__cta { gap: 18px; justify-content: center; }
	.wsh-hero__chip { min-width: 0; max-width: calc(100% - 32px); padding: 14px 16px; }
	.wsh-trust ul { grid-template-columns: 1fr; gap: 14px; }
	.wsh-bento { grid-template-columns: 1fr 1fr; gap: 12px; }
	.wsh-bento .wsh-card__body { padding: 14px; }
	.wsh-bento .wsh-card__name { font-size: 15px; }
	.wsh-bento .wsh-card__line, .wsh-bento .wsh-card__go { display: none; }
	.wsh-bento .wsh-card__price { font-size: 16px; }
	.wsh-bento .ws-badge { font-size: 10px; padding: 4px 8px; }
	.wsh-bento .wsh-card--hero .wsh-card__name { font-size: 22px; }
	.wsh-bento .wsh-card--hero .wsh-card__line, .wsh-bento .wsh-card--hero .wsh-card__go { display: inline; }
	.wsh-bento .wsh-card--hero .wsh-card__body { padding: 20px; }
	.wsh-bento > .wsh-card:nth-child(4) .wsh-card__img { width: 40%; flex: 0 0 40%; }
	.wsh-card--hero .wsh-card__img { min-height: 0; aspect-ratio: 4 / 3; flex: none; }
	.wsh-band__grid div { padding: 32px 8px; }
	.wsh-band__grid strong { font-size: 34px; }
	.wsh-band__grid span { font-size: 12px; }
	.wsh-steps ol { grid-template-columns: 1fr; }
	.wsh-steps li, .wsh-steps li + li { padding: 24px 0; border-left: 0; border-bottom: 1px solid var(--ws-line); }
	.wsh-guarantee { grid-template-columns: 1fr; padding: 28px; }
	.wsh-guarantee .ws-guarantee__seal { width: 64px; height: 64px; }
	.wsh-final__in { flex-direction: column; align-items: flex-start; }
	.wsh-final .wsh-btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
	.wsh-card, .wsh-card__img img, .wsh-hero__chip, .wsh-btn { transition: none; }
}

/* Band fixes */
.wsh-sec.wsh-band { padding: 0; }
.wsh-band__grid strong { white-space: nowrap; }
.wsh-band__grid span { display: block; line-height: 1.4; }
@media (max-width: 689px) { .wsh-band__grid strong { font-size: 28px; } .wsh-band__grid div { padding: 28px 6px; } }
