/* Industry micro-site layouts. */

.smd-profile-hero {
	background: var(--smd-sector-gradient, linear-gradient(145deg, #072838, var(--smd-accent, #0e7480)));
	color: #fff;
	padding: 2.4rem 0 2rem;
}
.smd-profile-hero__inner { display: grid; gap: 0.7rem; }
.smd-profile-hero__title { font-family: var(--smd-display, Outfit, sans-serif); font-size: clamp(2rem, 4vw, 3.4rem); line-height: 1.1; margin: 0; }
.smd-profile--legal .smd-profile-hero__title,
.smd-profile--corporate .smd-profile-hero__title { font-family: "Cormorant Garamond", Georgia, serif; font-weight: 600; }
.smd-profile-hero__lead { max-width: 68ch; color: rgba(255,255,255,.88); margin: 0; }
.smd-profile-hero__kicker { margin: 0; font-weight: 800; letter-spacing: 0.02em; }
.smd-profile-hero__meta { display: flex; flex-wrap: wrap; gap: 0.45rem; list-style: none; padding: 0; margin: 0; }
.smd-profile-hero__meta li { background: rgba(255,255,255,.14); border-radius: 999px; padding: 0.2rem 0.7rem; font-size: 0.85rem; }
.smd-breadcrumbs { display: flex; flex-wrap: wrap; gap: 0.4rem; font-size: 0.85rem; }
.smd-breadcrumbs a { color: #fff; }
.smd-profile-hero__media img { width: 100%; max-height: 420px; object-fit: cover; display: block; }
.smd-profile-hero--hospitality .smd-profile-hero__media img,
.smd-profile-hero--restaurant .smd-profile-hero__media img { border-radius: 0 0 28px 28px; }

.smd-profile__layout { display: grid; gap: 1.2rem; padding: 1.6rem 0 3rem; }
.smd-profile-block h2, .smd-contact-card h2 { font-family: var(--smd-display, Outfit, sans-serif); color: var(--smd-navy, #0a3d50); margin-top: 0; }
.smd-profile-block { background: #fff; border: 1px solid rgba(10,61,80,.1); border-radius: 18px; padding: 1.2rem; margin-bottom: 1rem; }
.smd-profile-tags, .smd-socials { display: flex; flex-wrap: wrap; gap: 0.4rem; list-style: none; padding: 0; }
.smd-profile-tags li, .smd-socials a { background: #e7f4f5; color: #0e7480; border-radius: 999px; padding: 0.2rem 0.65rem; text-decoration: none; font-weight: 700; }

.smd-service-grid, .smd-gallery { display: grid; gap: 0.8rem; }
.smd-service-card { border: 1px solid rgba(10,61,80,.1); border-inline-start: 4px solid var(--smd-accent, #0e7480); border-radius: 14px; padding: 0.9rem 1rem; }
.smd-service-card h3 { margin: 0 0 0.3rem; }
.smd-service-card p { margin: 0; color: #5c6f78; }
.smd-service-card__price { display: inline-block; margin-top: 0.45rem; color: var(--smd-accent, #0e7480); }
.smd-profile--restaurant .smd-service-card { display: grid; grid-template-columns: 1fr auto; column-gap: 1rem; }
.smd-profile--restaurant .smd-service-card p { grid-column: 1 / -1; }
.smd-profile--commerce .smd-service-grid { grid-template-columns: 1fr; }

.smd-highlight-list { margin: 0; padding-inline-start: 1.1rem; }
.smd-highlight-list li { margin: 0.35rem 0; }
.smd-profile--corporate .smd-highlight-list { list-style: none; padding: 0; display: grid; gap: 0.6rem; }
.smd-profile--corporate .smd-highlight-list li { background: #f4f8f8; border-radius: 12px; padding: 0.75rem 0.9rem; }

.smd-hours { white-space: pre-wrap; font-family: inherit; margin: 0; background: #f7fbfb; border-radius: 12px; padding: 0.8rem; }
.smd-gallery a { display: block; border-radius: 14px; overflow: hidden; }
.smd-gallery img { width: 100%; height: 180px; object-fit: cover; display: block; }
.smd-faq__item { border-top: 1px solid rgba(10,61,80,.1); padding: 0.6rem 0; }
.smd-faq__item summary { cursor: pointer; font-weight: 750; }

.smd-contact-card { padding: 1.1rem; position: sticky; top: 92px; display: grid; gap: 0.55rem; }
.smd-profile-actions { display: flex; flex-wrap: wrap; gap: 0.45rem; }
.smd-profile-actions--side { display: grid; }
.smd-claim-link { background: none; border: 0; padding: 0; color: #0e7480; text-align: start; cursor: pointer; font-weight: 700; }

.smd-profile--medical .smd-profile-hero { background: linear-gradient(160deg, #f8fffe 0%, #e6fffb 40%, #ccfbf1 100%); color: #134e4a; }
.smd-profile--medical .smd-profile-hero a,
.smd-profile--medical .smd-breadcrumbs a { color: #0f766e; }
.smd-profile--medical .smd-service-card { background: #f0fdfa; }

.smd-profile--legal .smd-profile-hero { background: #0f172a; }
.smd-profile--legal .smd-profile-hero__title { border-bottom: 2px solid #c9a227; display: inline-block; padding-bottom: 0.3rem; }
.smd-profile--legal .smd-profile-block { border-radius: 4px; }

.smd-profile--hospitality .smd-profile-hero { padding-bottom: 0; }
.smd-profile--hospitality .smd-profile-hero__media img { min-height: 280px; }

.smd-profile--restaurant .smd-profile-hero { background: linear-gradient(145deg, #7c2d12, #ea580c 55%, #f59e0b); }
.smd-profile--restaurant .smd-service-card { background: #fff7ed; border-radius: 0; border-inline-start: 0; border-bottom: 1px dashed #fdba74; }

.smd-profile--commerce .smd-service-card { background: #fff; box-shadow: 0 8px 24px rgba(10,61,80,.06); border-inline-start-width: 0; text-align: center; }
.smd-profile--commerce .smd-profile-hero { background: linear-gradient(145deg, #831843, #db2777); }

.smd-profile--artisan .smd-profile-hero { background: #f5efe6; color: #78350f; }
.smd-profile--artisan .smd-profile-hero a,
.smd-profile--artisan .smd-breadcrumbs a { color: #92400e; }
.smd-profile--artisan .smd-profile-block { background: #fffaf3; }

.smd-profile--corporate .smd-profile-hero { background: #0f172a; }
.smd-profile--corporate .smd-highlight-list { grid-template-columns: 1fr; }

.smd-profile--general .smd-profile-hero { background: linear-gradient(160deg, var(--smd-navy, #0a3d50), var(--smd-accent, #0e7480)); }

/* — Dental: bright clinical, treatment cards with a price pill. — */
.smd-profile--dental .smd-profile-hero { background: linear-gradient(150deg, #f0f9ff 0%, #e0f2fe 55%, #bae6fd 100%); color: #0c4a6e; }
.smd-profile--dental .smd-profile-hero a,
.smd-profile--dental .smd-breadcrumbs a { color: #0369a1; }
.smd-profile--dental .smd-profile-hero__lead { color: #075985; }
.smd-profile--dental .smd-service-card { background: #fff; border: 1px solid #e0f2fe; border-inline-start: 0; border-radius: 20px; box-shadow: 0 12px 30px rgba(3,105,161,.08); }
.smd-profile--dental .smd-service-card__price { background: #e0f2fe; border-radius: 999px; padding: 0.15rem 0.7rem; font-weight: 800; }

/* — Maternity: warm, soft, rounded, serif headings. — */
.smd-profile--maternity .smd-profile-hero { background: linear-gradient(160deg, #fff1f2 0%, #ffe4e6 60%, #fecdd3 100%); color: #881337; }
.smd-profile--maternity .smd-profile-hero a,
.smd-profile--maternity .smd-breadcrumbs a { color: #be123c; }
.smd-profile--maternity .smd-profile-hero__lead { color: #9f1239; }
.smd-profile--maternity .smd-profile-hero__title,
.smd-profile--maternity .smd-profile-block h2 { font-family: "Cormorant Garamond", Georgia, serif; font-weight: 600; }
.smd-profile--maternity .smd-profile-block { border-radius: 26px; border-color: #ffe4e6; }
.smd-profile--maternity .smd-service-card { background: #fff5f6; border-inline-start-color: #fb7185; border-radius: 22px; }

/* — Beauty: editorial cream page, hairline list with prices. — */
.smd-profile--beauty .smd-profile-hero { background: #faf7f2; color: #1c1917; }
.smd-profile--beauty .smd-profile-hero a,
.smd-profile--beauty .smd-breadcrumbs a { color: #7c2d12; }
.smd-profile--beauty .smd-profile-hero__lead { color: #44403c; }
.smd-profile--beauty .smd-profile-hero__title { font-family: "Cormorant Garamond", Georgia, serif; font-weight: 600; letter-spacing: -0.01em; }
.smd-profile--beauty .smd-profile-block { border-radius: 2px; border-color: rgba(28,25,23,.12); background: #fffdf9; }
.smd-profile--beauty .smd-profile-block h2 { text-transform: uppercase; letter-spacing: 0.14em; font-size: 0.95rem; }
.smd-profile--beauty .smd-service-card { border: 0; border-bottom: 1px solid rgba(28,25,23,.12); border-radius: 0; padding-inline: 0; display: grid; grid-template-columns: 1fr auto; column-gap: 1rem; }
.smd-profile--beauty .smd-service-card p { grid-column: 1 / -1; }
.smd-profile--beauty .smd-service-card__price { margin-top: 0; }

/* — Fitness: dark, bold, membership cards. — */
.smd-profile--fitness .smd-profile-hero { background: linear-gradient(135deg, #0b0f14 0%, #111827 55%, var(--smd-accent, #dc2626) 140%); }
.smd-profile--fitness .smd-profile-hero__title { text-transform: uppercase; letter-spacing: -0.02em; font-weight: 800; }
.smd-profile--fitness .smd-profile-hero__kicker { text-transform: uppercase; letter-spacing: 0.16em; font-size: 0.8rem; }
.smd-profile--fitness .smd-service-card { background: #111827; color: #f9fafb; border: 1px solid rgba(255,255,255,.08); border-radius: 18px; }
.smd-profile--fitness .smd-service-card p { color: #d1d5db; }
.smd-profile--fitness .smd-service-card__price { font-size: 1.25rem; color: #fbbf24; }
.smd-profile--fitness .smd-highlight-list li { background: #111827; color: #f9fafb; border-radius: 12px; padding: 0.7rem 0.9rem; }

/* — Education: friendly, numbered steps. — */
.smd-profile--education .smd-profile-hero { background: linear-gradient(150deg, #eff6ff 0%, #dbeafe 60%, #bfdbfe 100%); color: #1e3a8a; }
.smd-profile--education .smd-profile-hero a,
.smd-profile--education .smd-breadcrumbs a { color: #1d4ed8; }
.smd-profile--education .smd-profile-hero__lead { color: #1e40af; }
.smd-profile--education .smd-service-card { border-inline-start: 4px solid #f59e0b; background: #f8fafc; border-radius: 16px; }
.smd-profile--education .smd-highlight-list { list-style: none; padding: 0; counter-reset: smd-step; display: grid; gap: 0.6rem; }
.smd-profile--education .smd-highlight-list li { counter-increment: smd-step; background: #fff; border: 1px solid #dbeafe; border-radius: 14px; padding: 0.7rem 0.9rem; padding-inline-start: 2.6rem; position: relative; }
.smd-profile--education .smd-highlight-list li::before { content: counter(smd-step); position: absolute; inset-inline-start: 0.7rem; top: 0.6rem; width: 1.5rem; height: 1.5rem; border-radius: 999px; background: #1d4ed8; color: #fff; font-weight: 800; font-size: 0.8rem; display: grid; place-items: center; }

/* — Repair & trades: urgent, call-first layout. — */
.smd-profile--trades .smd-profile-hero { background: linear-gradient(145deg, #111827 0%, #1f2937 55%, #b45309 130%); }
.smd-profile--trades .smd-profile-hero__title { text-transform: uppercase; letter-spacing: -0.01em; }
.smd-profile--trades .smd-service-card { border-radius: 12px; background: #fffbeb; border-inline-start-color: #d97706; }
.smd-profile--trades .smd-service-card__price { background: #111827; color: #fde68a; border-radius: 8px; padding: 0.1rem 0.6rem; }
.smd-profile--trades .smd-hours { background: #111827; color: #fde68a; }

/* — Automotive: graphite workshop. — */
.smd-profile--automotive .smd-profile-hero { background:
	repeating-linear-gradient(135deg, rgba(255,255,255,.05) 0 12px, transparent 12px 24px),
	linear-gradient(145deg, #18181b 0%, #27272a 60%, var(--smd-accent, #ea580c) 150%); }
.smd-profile--automotive .smd-profile-hero__title { text-transform: uppercase; font-weight: 800; }
.smd-profile--automotive .smd-service-card { background: #fafafa; border: 1px solid #e4e4e7; border-inline-start: 0; border-top: 3px solid var(--smd-accent, #ea580c); border-radius: 4px 4px 14px 14px; }
.smd-profile--automotive .smd-service-card__price { background: #f4f4f5; border-radius: 6px; padding: 0.1rem 0.55rem; }

/* — Tech & digital: glass cards on an indigo page. — */
.smd-profile--tech .smd-profile-hero { background: linear-gradient(145deg, #1e1b4b 0%, #4338ca 60%, #6366f1 100%); }
.smd-profile--tech .smd-profile-hero__title { letter-spacing: -0.02em; }
.smd-profile--tech .smd-profile-block { border-radius: 20px; border-color: rgba(67,56,202,.14); box-shadow: 0 10px 34px rgba(30,27,75,.06); }
.smd-profile--tech .smd-service-card { background: linear-gradient(180deg, #ffffff, #f5f3ff); border: 1px solid rgba(67,56,202,.16); border-inline-start: 0; border-radius: 16px; }
.smd-profile--tech .smd-highlight-list li { background: #eef2ff; border-radius: 10px; padding: 0.55rem 0.8rem; }

@media (min-width: 900px) {
	.smd-profile--dental .smd-service-grid,
	.smd-profile--maternity .smd-service-grid,
	.smd-profile--education .smd-service-grid,
	.smd-profile--fitness .smd-service-grid,
	.smd-profile--automotive .smd-service-grid,
	.smd-profile--tech .smd-service-grid { grid-template-columns: 1fr 1fr; }
	.smd-profile--beauty .smd-service-grid { grid-template-columns: 1fr; }
}

@media (min-width: 900px) {
	.smd-profile__layout { grid-template-columns: minmax(0, 1fr) 320px; align-items: start; }
	.smd-profile-hero--hospitality .smd-profile-hero__inner,
	.smd-profile-hero--artisan .smd-profile-hero__inner { width: min(1180px, calc(100% - 2rem)); margin-inline: auto; }
	.smd-service-grid, .smd-gallery { grid-template-columns: 1fr 1fr; }
	.smd-profile--commerce .smd-service-grid { grid-template-columns: repeat(3, 1fr); }
	.smd-profile--medical .smd-service-grid { grid-template-columns: 1fr; }
	.smd-profile--corporate .smd-highlight-list { grid-template-columns: 1fr 1fr 1fr; }
}
.smd-profile--medical .smd-profile-hero__lead,
.smd-profile--artisan .smd-profile-hero__lead { color: inherit; }
