/* Home — mobile-first (390) → desktop (1024+/1440). Shared section styles used by later templates live in main.css.
   Hollywood Smile: split hero · photo mosaic · team card · whitening price cards · thank-you cards. */

/* ---------- Hero (split) ---------- */
.hero { position: relative; overflow: hidden; background: var(--surface-ivory, var(--brand-50)); }
.hero__inner { padding-block: 22px 28px; }
.hero__title { letter-spacing: -.01em; }
html[lang^="th"] .hero__title { font-size: 29px; line-height: 1.4; letter-spacing: 0; }
.hero__tagline { margin-top: 10px; font-size: 22px; }
html[lang^="th"] .hero__tagline { font-size: 19px; }
.hero__lead { margin: 12px 0 0; color: var(--ink-muted); text-wrap: pretty; }
.hero__ctas { display: flex; flex-direction: column; gap: 10px; margin-top: 20px; }
.hero__ctas .btn { width: 100%; }
.ticks { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 20px; font-size: 14px; font-weight: 500; }
.ticks li { display: flex; align-items: center; gap: 8px; }
.ticks .icon { color: var(--gold-500, var(--brand-600)); stroke-width: 2.2; }
.hero__frame { position: relative; margin: 24px 0 0; padding: 8px; background: var(--white); border: 1px solid var(--gold-300, var(--line)); border-radius: 26px; }
.hero__frame img { width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 20px; }
.licence-badge { position: absolute; left: -6px; bottom: 22px; display: flex; align-items: center; gap: 10px; padding: 10px 14px; background: var(--white); border-radius: 16px; box-shadow: var(--shadow-card); line-height: 1.25; }
.licence-badge strong { display: block; font-size: 14px; }
.licence-badge > span:last-child > span { display: block; color: var(--ink-muted); font-size: 12px; }
.licence-badge__icon { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: var(--r-pill); background: var(--gold-100, var(--brand-100)); color: var(--gold-700, var(--brand-700)); }

/* ---------- Welcome (photo mosaic + text) ---------- */
.welcome__grid { display: grid; gap: 0; }
.welcome__text h2 { margin-bottom: 14px; }
.welcome__text p { margin: 12px 0 0; }
.welcome__video { margin: 20px 0 0; }
.welcome__video figcaption { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px; margin-top: 10px; color: var(--ink-muted); font-size: 14px; text-align: center; }
.welcome__photos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 12px; order: 3; }
.welcome__photos img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 14px; }
.welcome__quote { margin-top: 20px; order: 4; }
.quote-box--gold { margin-top: 20px; background: var(--surface-ivory, var(--brand-50)); border: 1px solid var(--line-gold, var(--line)); }
.quote-box--gold blockquote { font-family: var(--font-serif, inherit); font-style: italic; font-size: 21px; line-height: 1.35; }
html[lang^="th"] .quote-box--gold blockquote { font-family: var(--font-th-head); font-style: normal; font-size: 18px; font-weight: 500; }

/* ---------- Services ---------- */
.svc-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 20px; }
.svc-card { display: flex; flex-direction: column; overflow: hidden; background: var(--white); border-radius: 18px; color: var(--ink); text-decoration: none; transition: box-shadow .15s, transform .15s; }
.svc-card:hover { color: var(--ink); box-shadow: var(--shadow-card); transform: translateY(-2px); }
.svc-card img { width: 100%; height: 120px; object-fit: cover; }
.svc-card__title { padding: 10px 12px 12px; font-size: 15px; font-weight: 600; line-height: 1.3; }
html[lang^="th"] .svc-card__title { font-family: var(--font-th-head); font-weight: 500; }
.svc-card__short { display: none; }

/* ---------- Why + team card ---------- */
.why__list { display: flex; flex-direction: column; gap: 12px; margin-top: 20px; }
.why__item { display: flex; gap: 14px; padding: 16px; border: 1px solid var(--line); border-radius: 18px; }
.why__item h3 { font-size: 16px; }
.why__item p { margin: 4px 0 0; color: var(--ink-muted); font-size: 14px; }
.icon-tile { flex: none; display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 14px; background: var(--brand-100); color: var(--brand-700); }
.why__grid { display: grid; gap: 32px; }
.team-card { padding: 22px 20px; background: var(--surface-dark); color: var(--white); border-radius: 24px; }
.team-card__eyebrow { margin: 0 0 6px; color: var(--gold-300, var(--line-strong)); font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
html[lang^="th"] .team-card__eyebrow { letter-spacing: 0; text-transform: none; }
.team-card__title { color: var(--white); font-size: 22px; }
.team-card { min-width: 0; }
/* Team carousel: one 2×2 page (4 dentists) per view; swipe or arrows */
.team-card__carousel { position: relative; min-width: 0; margin-top: 20px; }
.team-card__track { display: flex; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.team-card__track::-webkit-scrollbar { display: none; }
.team-card__track > .team-card__list { flex: 0 0 100%; min-width: 0; margin: 0; padding: 0; list-style: none; scroll-snap-align: start; }
.team-card__arrow { position: absolute; top: 50%; z-index: 2; display: flex; align-items: center; justify-content: center; width: 32px; height: 48px; padding: 0; border: 0; background: none; color: var(--white); cursor: pointer; transform: translateY(-50%); transition: opacity .2s; }
.team-card__arrow--prev { left: -20px; }
.team-card__arrow--next { right: -20px; }
.team-card__arrow--prev .icon { transform: rotate(90deg); }
.team-card__arrow--next .icon { transform: rotate(-90deg); }
.team-card__arrow:hover { color: var(--brand-300); }
.team-card__arrow:disabled { opacity: 0; pointer-events: none; }
.team-card__carousel.is-static .team-card__arrow { display: none; }
.team-card__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 12px; }
.team-card__list .avatar { flex: none; width: 112px; height: 112px; }
.team-card__list li { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; line-height: 1.3; }
.team-card__list strong { display: block; color: var(--white); font-size: 14px; font-weight: 600; }
.team-card__list li > span > span { display: block; color: var(--on-dark-faint); font-size: 12px; }
.avatar { display: block; width: 76px; height: 76px; aspect-ratio: 1 / 1; border: 3px solid var(--gold-300, var(--brand-300)); border-radius: var(--r-pill); object-fit: cover; object-position: top; }
.avatar.avatar--ph { display: flex; align-items: flex-end; justify-content: center; overflow: hidden; background: var(--brand-50); color: var(--brand-300); }
.avatar.avatar--ph .avatar__person { width: 86%; height: auto; fill: currentColor; }
.team-card .btn { display: flex; width: 100%; margin-top: 22px; }

/* ---------- Scrollers (promos / reviews / notes) ---------- */
.container--bleed { padding-right: 0; }
.scroller { display: flex; gap: 12px; margin-top: 18px; padding-right: var(--gutter); padding-bottom: 6px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: thin; -webkit-overflow-scrolling: touch; }
.scroller > * { flex: none; scroll-snap-align: start; }
.promo-poster { width: 240px; display: block; border-radius: 18px; box-shadow: 0 6px 18px rgba(0, 63, 122, .12); overflow: hidden; }
.promo-poster img { width: 100%; height: 300px; object-fit: cover; }

/* ---------- Laser whitening: price cards ---------- */
.section--ivory { background: var(--surface-ivory, var(--brand-50)); }
.whiten__grid { display: grid; gap: 24px; }
.whiten__text p { margin: 12px 0 0; }
.whiten__text .btn { margin-top: 18px; }
.price-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.price-card { display: flex; flex-direction: column; gap: 4px; padding: 16px 14px; background: var(--white); border: 1px solid var(--line); border-radius: 18px; }
.price-card--best { border-color: var(--gold-300, var(--brand-300)); }
.price-card__badge { align-self: flex-start; padding: 2px 10px; border-radius: var(--r-pill); background: var(--gold-100, var(--brand-100)); color: var(--gold-700, var(--brand-800)); font-size: 11px; font-weight: 600; }
.price-card__name { font-size: 15px; font-weight: 600; line-height: 1.3; }
html[lang^="th"] .price-card__name { font-family: var(--font-th-head); font-weight: 500; }
.price-card__desc { color: var(--ink-muted); font-size: 13px; line-height: 1.45; }
.price-card__price { margin-top: auto; padding-top: 8px; color: var(--gold-700, var(--brand-700)); font-size: 21px; font-weight: 700; }
.whiten__prices .small { margin-top: 12px; }

/* ---------- Reviews ---------- */
.reviews__head h2 { text-wrap: balance; }
.rating-badge { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 16px; padding: 16px; background: var(--white); border: 1px solid var(--line); border-radius: 22px; }
.rating-badge__num { margin: 0; font-size: 36px; font-weight: 700; line-height: 1; }
.rating-badge .small { margin: 4px 0 0; }
.stars { display: flex; gap: 2px; color: var(--gold-500, #F5A623); }
.scroller--reviews { margin-top: 16px; }
.review-card { width: 280px; display: flex; flex-direction: column; gap: 10px; padding: 20px; background: var(--white); border: 1px solid var(--line); border-radius: 22px; }
.review-card__who { display: flex; align-items: center; gap: 10px; line-height: 1.3; }
.initial { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; flex: none; border-radius: var(--r-pill); background: var(--brand-100); color: var(--brand-800); font-weight: 600; }
.review-card__name { margin: 0; font-size: 15px; font-weight: 600; }
img.initial { object-fit: cover; }
.review-card__name a { color: inherit; text-decoration: none; }
.review-card__name a:hover { text-decoration: underline; }
.review-card__when { margin: 0; color: var(--ink-muted); font-size: 12px; }
.review-card__text { margin: 0; font-size: 15px; line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 6; -webkit-box-orient: vertical; overflow: hidden; }
.review-card__link { margin-top: auto; font-size: 14px; font-weight: 600; text-decoration: none; }
.review-more { flex-direction: column; justify-content: center; gap: 10px; padding: 24px; background: var(--brand-700); border-radius: 22px; color: var(--white); text-decoration: none; }
.review-more:hover { background: var(--brand-800); color: var(--white); }
.review-more__num { font-size: 40px; font-weight: 700; line-height: 1; }
.review-more__txt { color: #E3F0FC; font-size: 17px; }
.review-more__btn { display: inline-flex; align-items: center; gap: 8px; margin-top: 6px; font-weight: 600; }
.notes__title { margin-top: 28px; font-size: 16px; }
.note-card { width: 240px; margin: 0; overflow: hidden; background: var(--white); border: 1px solid var(--line); border-radius: 20px; }
.note-card img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; object-position: top; }
.note-card figcaption { padding: 14px 16px 16px; }
.note-card blockquote { margin: 0; font-size: 15px; line-height: 1.5; }
.note-card p { margin: 8px 0 0; color: var(--ink-muted); font-size: 12px; }
.center-cta { margin-top: 20px; text-align: center; }
.center-cta .btn { width: 100%; }
.center-cta p { margin: 10px 0 0; }

/* ---------- ≥1024px ---------- */
@media (min-width: 1024px) {
	.hero__inner { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: center; gap: 56px; padding-block: 72px; }
	.hero__title { line-height: 1.12; letter-spacing: -.02em; }
	html[lang^="th"] .hero__title { font-size: 46px; line-height: 1.35; }
	.hero__tagline { margin-top: 14px; font-size: 30px; }
	html[lang^="th"] .hero__tagline { font-size: 26px; }
	.hero__lead { margin-top: 18px; font-size: 19px; }
	.hero__ctas { flex-direction: column; align-items: flex-start; gap: 12px; margin-top: 28px; }
	.hero__ctas .btn { width: auto; }
	.ticks { gap: 10px 22px; margin-top: 32px; font-size: 15px; }
	.hero__frame { margin: 0; padding: 10px; border-radius: 30px; }
	.hero__frame img { aspect-ratio: 4 / 3; border-radius: 22px; }
	.licence-badge { left: -24px; bottom: 32px; padding: 14px 18px; }
	.licence-badge strong { font-size: 15px; }
	.licence-badge > span:last-child > span { font-size: 13px; }

	.welcome__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-areas: "video text" "video quote" "photos photos"; column-gap: 56px; }
	.welcome__text { grid-area: text; align-self: end; }
	.welcome__text p { margin-top: 18px; }
	.welcome__text p + p { margin-top: 14px; }
	.welcome__video { grid-area: video; align-self: center; margin: 0; }
	.welcome__video figcaption { justify-content: flex-start; margin-top: 14px; font-size: 15px; text-align: left; }
	.welcome__quote { grid-area: quote; align-self: start; margin-top: 26px; }
	.welcome__photos { grid-area: photos; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin-top: 48px; }
	.welcome__photos img { border-radius: 22px; }
	.welcome__photos, .welcome__quote { order: 0; }
	.quote-box--gold { margin-top: 26px; }
	.quote-box--gold blockquote { font-size: 26px; }
	html[lang^="th"] .quote-box--gold blockquote { font-size: 21px; }

	.svc-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin-top: 36px; }
	.svc-card { border-radius: 22px; }
	.svc-card img { height: 190px; }
	.svc-card__title { padding: 16px 18px 4px; font-size: 18px; }
	.svc-card__short { display: block; padding: 0 18px 18px; color: var(--ink-muted); font-size: 14px; }

	.why__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: center; gap: 48px; }
	.why__list { gap: 14px; margin-top: 28px; }
	.why__item { gap: 16px; padding: 20px; border-radius: 20px; }
	.why__item h3 { font-size: 18px; }
	.why__item p { font-size: 15px; }
	.icon-tile { width: 48px; height: 48px; }
	.team-card { padding: 32px; border-radius: 28px; }
	.team-card__eyebrow { font-size: 14px; }
	.team-card__title { font-size: 28px; }
	.team-card__carousel { margin-top: 28px; }
	.team-card__arrow--prev { left: -32px; }
	.team-card__arrow--next { right: -32px; }
	.team-card__list { gap: 22px 24px; }
	.team-card__list .avatar { width: 108px; height: 108px; }
	.team-card__list li { flex-direction: row; gap: 16px; text-align: left; }
	.team-card__list strong { font-size: 16px; }
	.team-card__list li > span > span { font-size: 14px; }
	.avatar { width: 88px; height: 88px; }
	.team-card .btn { display: inline-flex; width: auto; margin-top: 28px; }

	.container--bleed { padding-right: var(--gutter); }
	.scroller { overflow: visible; padding: 0; margin-top: 32px; scroll-snap-type: none; }

	.whiten__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: center; gap: 56px; }
	.whiten__text p { margin-top: 16px; }
	.whiten__text .btn { margin-top: 28px; }
	.price-cards { gap: 16px; }
	.price-card { padding: 22px; border-radius: 22px; }
	.price-card__name { font-size: 18px; }
	.price-card__desc { font-size: 14px; }
	.price-card__price { padding-top: 14px; font-size: 26px; }

	.scroller--promos { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
	.promo-poster { width: auto; border-radius: 22px; box-shadow: 0 10px 28px rgba(0, 63, 122, .12); }
	.promo-poster img { height: auto; aspect-ratio: 4 / 5; }

	.reviews__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px 48px; }
	.rating-badge { margin-top: 0; padding: 18px 22px; }
	.rating-badge__num { font-size: 44px; }
					.scroller--reviews { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; margin-top: 24px; } /* 3 reviews (+ the "more" tile on Testimonials) on one row */
	.review-card { width: auto; }
	.review-card__text { -webkit-line-clamp: 5; }
	.notes__title { margin-top: 48px; font-size: 20px; }
	.scroller--notes { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin-top: 20px; }
	.note-card { width: auto; border-radius: 22px; }
	.note-card figcaption { padding: 18px 20px 22px; }
	.note-card blockquote { font-size: 16px; }
	.note-card p { font-size: 13px; }
	.center-cta { margin-top: 36px; }
	.center-cta .btn { width: auto; min-height: 54px; padding: 0 30px; }
	.center-cta p { margin-top: 16px; }
}
