/*
Theme Name: SMART General Practice 2026
Theme URI: https://smartgeneralpractice.co.uk/
Author: Smart General Practice Ltd
Author URI: https://smartgeneralpractice.co.uk/
Description: Block theme built from the SGP website draft — hero with floating product chips, the four-product grid, how it works, results, testimonial, team, integrations and FAQ. A single-page site: the whole design renders on the front page, section by section, with each section also available as a pattern.
Version: 1.0.0
Requires at least: 6.4
Tested up to: 6.6
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: smart-general-practice
Tags: full-site-editing, block-patterns, one-column, wide-blocks, custom-colors, custom-logo, custom-menu, editor-style, featured-images, translation-ready, accessibility-ready
*/

/* -----------------------------------------------------------------
   Most styling lives in theme.json. This file holds only what
   theme.json cannot express.
   ----------------------------------------------------------------- */

/* --- Eyebrow labels above headings --- */
.smart-eyebrow {
	text-transform: uppercase;
	letter-spacing: 0.12em;
	font-weight: 700;
	font-size: 0.75rem;
}

/* --- Pill: the small rounded label, e.g. "GP designed. Built for better care" --- */
.smart-pill {
	display: inline-block;
	border-radius: 999px;
	padding: 0.5em 1.2em;
	font-weight: 600;
}

/* --- Product chips floating over the hero image --- */
.smart-chip {
	display: inline-flex;
	align-items: center;
	gap: 0.75em;
	background: #fff;
	border-radius: 14px;
	padding: 0.65em 1.1em 0.65em 0.65em;
	box-shadow: 0 10px 30px rgba(14, 59, 56, 0.14);
	max-width: 22em;
}

.smart-chip > p {
	margin: 0;
}

.smart-chip__mark,
.smart-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	color: #fff;
	flex: none;
	font-weight: 700;
}

.smart-chip__mark {
	width: 2.4em;
	height: 2.4em;
	font-size: 0.85em;
}

.smart-icon {
	width: 3.4rem;
	height: 3.4rem;
	font-size: 1.25rem;
}

/* On wide screens the chips sit over the image; on small screens they
   stack underneath it, which is why they are a normal flow list here. */
@media (min-width: 900px) {
	.smart-chips-overlay {
		position: absolute;
		inset: 0;
		pointer-events: none;
	}

	.smart-chips-overlay .smart-chip {
		pointer-events: auto;
	}
}

/* --- Cards --- */
.smart-card {
	height: 100%;
}

.smart-card--product p:last-child {
	margin-bottom: 0;
}

/* Thin rule inside the product cards, between tagline and detail. */
.smart-card__rule {
	border: 0;
	border-top: 1px solid currentColor;
	opacity: 0.18;
	margin: 1.1rem 0;
}

/* --- Numbered step badge --- */
.smart-step {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.1rem;
	height: 2.1rem;
	border-radius: 50%;
	font-weight: 700;
	font-size: 0.9rem;
}

/* --- Big stat figures --- */
.smart-stat {
	font-weight: 800;
	letter-spacing: -0.04em;
	line-height: 1;
}

/* --- Integration pills --- */
.smart-tag {
	display: inline-block;
	border-radius: 999px;
	padding: 0.45em 1.1em;
	font-weight: 600;
	font-size: 0.9rem;
	background: #fff;
	border: 1px solid var(--wp--preset--color--rule);
}

/* --- Placeholder boxes standing in for photography --- */
.smart-placeholder {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 220px;
	text-align: center;
	font-weight: 600;
}

/* --- FAQ cards --- */
.smart-faq {
	background: #fff;
	border-radius: 12px;
	padding: 1.15rem 1.35rem;
}

.smart-faq h3 {
	font-size: 1rem;
	margin: 0 0 0.4rem;
}

.smart-faq p {
	margin: 0;
	font-size: 0.9375rem;
}

/* --- Call demo: laptop screen, phone and chat bubbles --- */
.smart-screen,
.smart-phone {
	box-shadow: 0 18px 44px rgba(14, 59, 56, 0.18);
}

.smart-phone {
	max-width: 280px;
	margin-inline: auto;
}

.smart-label {
	text-transform: uppercase;
	letter-spacing: 0.1em;
	font-weight: 700;
	opacity: 0.55;
	margin-bottom: 0.25rem;
}

.smart-bubble {
	border-radius: 14px 14px 14px 4px;
	padding: 0.7rem 1rem;
	max-width: 80%;
}

.smart-bubble--caller {
	border-radius: 14px 14px 4px 14px;
	margin-left: auto;
}

.smart-mini {
	border-radius: 10px;
	padding: 0.55rem 0.7rem;
	line-height: 1.35;
}

/* --- Large logo lockup --- */
.smart-lockup__mark {
	font-weight: 900;
	letter-spacing: -0.045em;
	line-height: 1;
	margin: 0;
}

.smart-lockup__name {
	font-weight: 500;
	line-height: 1;
	margin: 0;
}

.smart-lockup__rule {
	width: 1px;
	align-self: stretch;
	min-height: 2.5rem;
	background: var(--wp--preset--color--rule);
	margin: 0;
}

/* --- Header --- */
.smart-header {
	border-bottom: 1px solid var(--wp--preset--color--rule);
}

/* --- Accessibility --- */
.skip-link:focus {
	position: fixed;
	top: 12px;
	left: 12px;
	z-index: 100000;
	display: block;
	padding: 12px 20px;
	background: #fff;
	color: var(--wp--preset--color--contrast);
	font-weight: 700;
	border-radius: 8px;
	box-shadow: 0 4px 14px rgba(14, 59, 56, 0.3);
	clip: auto;
	clip-path: none;
	width: auto;
	height: auto;
}

:where(a, button, input, textarea, select, summary):focus-visible {
	outline: 3px solid var(--wp--preset--color--contrast);
	outline-offset: 2px;
}

.has-contrast-background-color :where(a, button):focus-visible {
	outline-color: var(--wp--preset--color--base);
}

@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		transition-duration: 0.01ms !important;
	}
}
