/*
Theme Name: Salifluss
Theme URI: https://salifluss.co.uk/
Author: Kora Healthcare
Description: Custom theme for Salifluss.co.uk built from artwork T203405 (June 2026 v1.1). On activation it creates the Home, About Salifluss and Contact pages and the main menu. Includes a built-in contact form; no plugins required.
Version: 1.0.1
Requires at least: 6.3
Tested up to: 7.1
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: salifluss
*/

/* ---------- Fonts (self-hosted, SIL Open Font Licence) ---------- */
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 400; font-display: swap; src: url("assets/fonts/montserrat-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Montserrat"; font-style: italic; font-weight: 400; font-display: swap; src: url("assets/fonts/montserrat-latin-400-italic.woff2") format("woff2"); }
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 500; font-display: swap; src: url("assets/fonts/montserrat-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 600; font-display: swap; src: url("assets/fonts/montserrat-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 700; font-display: swap; src: url("assets/fonts/montserrat-latin-700-normal.woff2") format("woff2"); }
/* Stand-in for Louis George Café (the artwork's body font, not available as a web font). */
@font-face { font-family: "Didact Gothic"; font-style: normal; font-weight: 400; font-display: swap; src: url("assets/fonts/didact-gothic-latin-400-normal.woff2") format("woff2"); }

/* ---------- Tokens ---------- */
:root {
	--blue: #00a4e1;
	--teal: #1a94b3;
	--green: #00a659;
	--card: #eef5e3;
	--highlight: #f5f0b4;
	--text: #6d6f71;
	--text-dark: #4d4f51;
	--nav: #797d7c;
	--line: #3c9fc8;
	--font-head: "Montserrat", "Helvetica Neue", Arial, sans-serif;
	--font-body: "Louis George Cafe", "Didact Gothic", "Century Gothic", "Helvetica Neue", Arial, sans-serif;
	--gutter: clamp(20px, 4.8vw, 72px);
	--max: 1440px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	font-family: var(--font-body);
	font-size: 16px;
	line-height: 1.45;
	color: var(--text);
	background: #fff;
	display: flex;
	flex-direction: column;
	min-height: 100vh;
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible { outline: 3px solid #f5b400; outline-offset: 2px; }
p { margin: 0 0 .8em; }
h1, h2, h3 { margin: 0; font-weight: 700; }
sup { font-size: .6em; line-height: 0; vertical-align: super; position: relative; top: -.1em; margin-left: .1em; white-space: nowrap; }
.site-main { flex: 1 0 auto; }

.screen-reader-text {
	border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%);
	height: 1px; width: 1px; margin: -1px; overflow: hidden; padding: 0;
	position: absolute !important; word-wrap: normal !important;
}
.skip-link:focus {
	clip: auto; clip-path: none; height: auto; width: auto; margin: 0;
	left: 8px; top: 8px; z-index: 1000; padding: 10px 16px; background: #fff; color: #000; font-family: var(--font-head);
}

/* Brand name "Salifluss®" */
.brand { white-space: nowrap; }
.brand__accent { color: var(--blue); }
.brand__reg { color: var(--blue); font-size: .5em; top: -.35em; margin-left: .05em; }

/* ---------- Header ---------- */
.site-header {
	position: sticky; top: 0; z-index: 50;
	background: #fff;
	box-shadow: 0 4px 10px rgba(0, 0, 0, .14);
}
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 0; } }

.site-header__inner {
	max-width: var(--max); margin: 0 auto;
	padding: 0 var(--gutter) 0 calc(var(--gutter) * .55);
	height: 66px; display: flex; align-items: center; justify-content: space-between;
}
.site-logo img { width: auto; height: 27px; }

.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: clamp(14px, 1.7vw, 26px); }
.site-nav a {
	font-family: var(--font-head); font-weight: 600; font-size: 15px;
	color: var(--nav); text-decoration: none; padding: 2px 3px; border-radius: 2px;
	transition: color .15s, background-color .15s;
}
.site-nav a:hover { color: var(--text-dark); background: var(--highlight); }
.site-nav .current-menu-item > a,
.site-nav .current_page_item > a { color: var(--text-dark); background: var(--highlight); }

.nav-toggle { display: none; }

/* ---------- Buttons ---------- */
.btn-order {
	display: inline-flex; align-items: center; justify-content: center;
	padding: .8em 1.6em; border-radius: 999px;
	background: linear-gradient(90deg, var(--green) 0%, #00a4db 100%);
	color: #fff; text-decoration: none; text-align: center;
	font-family: var(--font-head); font-weight: 700; font-size: clamp(17px, 1.55vw, 22px); line-height: 1.2;
	box-shadow: 0 2px 6px rgba(0, 0, 0, .12);
	transition: filter .15s, transform .15s;
}
.btn-order:hover { filter: brightness(1.07) saturate(1.1); transform: translateY(-1px); }

/* ---------- Home ---------- */
.hero {
	max-width: var(--max); margin: 0 auto;
	padding: 0 var(--gutter);
	display: grid;
	grid-template-columns: minmax(210px, 24%) 1fr minmax(240px, 32%);
	grid-template-areas: "media product claim";
	column-gap: clamp(20px, 4vw, 70px);
}
.hero__media { grid-area: media; }
.hero__head { width: 100%; max-width: 300px; }
.hero__order { margin-top: 16px; min-width: min(100%, 280px); }

.hero__product {
	grid-area: product; align-self: start; justify-self: end;
	margin-top: clamp(80px, 11vw, 150px);
	text-align: right; max-width: 360px;
}
.hero__title img { width: 100%; max-width: 330px; margin-left: auto; }
.hero__strapline {
	font-family: var(--font-head); font-size: 12.5px; line-height: 1.35; color: #77787b;
	margin: 4px 0 0 auto; max-width: 300px; text-align: right;
}
.hero__tagline {
	font-size: clamp(19px, 1.75vw, 24px); line-height: 1.45; color: var(--text);
	margin: 26px 0 0 auto; max-width: 300px;
}

.hero__claim { grid-area: claim; display: flex; justify-content: center; align-items: flex-start; padding-top: clamp(36px, 4.6vw, 64px); }
.claim-circle {
	width: clamp(220px, 18vw, 250px); aspect-ratio: 1; border-radius: 50%;
	background: var(--blue); color: #fff; margin: 0;
	display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
	padding: 0 22px;
	font-family: var(--font-head); font-size: clamp(16px, 1.35vw, 19px); line-height: 1.38;
}
.claim-circle strong { display: block; font-weight: 700; }

.page-notes {
	max-width: var(--max); margin: 0 auto;
	padding: clamp(20px, 2.4vw, 32px) var(--gutter) clamp(12px, 1.4vw, 20px);
	display: grid; grid-template-columns: minmax(0, 36%) minmax(0, 1fr); gap: clamp(20px, 6vw, 96px); align-items: start;
}
.ae-box {
	border: 1.5px solid #555; padding: 6px 10px;
	font-family: var(--font-head); font-size: 11.5px; line-height: 1.45; color: #6b6d6f;
}
.ae-box p { margin: 0; }
.ae-box a { color: inherit; }

/* References */
.references { font-family: var(--font-head); font-size: 10.5px; line-height: 1.4; color: #6b6d6f; }
.references__title { margin: 0 0 .1em; }
.references__list { margin: 0; padding-left: 1.4em; }
.references__list li { padding-left: .1em; overflow-wrap: anywhere; }
.references a { color: inherit; }

/* ---------- About ---------- */
.about {
	max-width: var(--max); margin: 0 auto;
	padding: clamp(32px, 4.6vw, 64px) var(--gutter) clamp(16px, 2vw, 28px);
	display: grid; grid-template-columns: 1.15fr 1fr .85fr; gap: clamp(28px, 6.5vw, 96px); align-items: start;
}
.about__col .references { margin-top: 26px; }

.how-box {
	border: 1.5px solid var(--line); border-radius: 26px;
	padding: 16px 18px 8px; font-size: 15.5px; line-height: 1.35;
	box-shadow: 0 1px 2px rgba(0, 0, 0, .05);
}
.how-box__title { font-family: var(--font-head); font-size: 15px; color: var(--text); margin-bottom: 12px; }
.how-box__title .brand { font-family: var(--font-body); font-weight: 400; font-size: 1.05em; }
.how-box p { margin-bottom: .75em; }

.benefits { list-style: none; margin: 26px 15% 0; padding: 8px 10px; border-radius: 12px; }
.benefits li { display: flex; align-items: center; gap: 12px; padding: 4px 0; }
.benefits .icon { flex: 0 0 auto; width: 46px; height: 46px; }
.benefits--solid { background: var(--teal); color: #fff; font-family: var(--font-head); font-weight: 700; font-size: 13.5px; line-height: 1.25; box-shadow: 0 2px 6px rgba(0, 0, 0, .15); }
.benefits--outline { margin-top: 12px; border: 4px solid var(--teal); background: #fff; font-size: 15px; line-height: 1.3; box-shadow: 6px 8px 18px rgba(0, 0, 0, .14); }

.pill-heading {
	background: var(--teal); color: #fff; text-align: center;
	font-family: var(--font-head); font-size: 13px; border-radius: 999px; padding: 4px 12px; width: 70%;
}
.use-intro { margin: 12px 0 10px; font-size: 14px; line-height: 1.35; }
.use-intro strong { font-family: var(--font-head); font-size: 13.5px; color: var(--text-dark); }

.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; }
.step {
	position: relative; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 4px 8px;
	background: var(--card); border-radius: 14px; padding: 8px 10px 8px 6px;
	box-shadow: 2px 3px 6px rgba(0, 0, 0, .22);
	font-size: 13px; line-height: 1.32; color: var(--text-dark);
}
.step__text p { margin: 0 0 .6em; }
.step__text p:last-child { margin: 0; }
.step__num { font-family: var(--font-head); font-weight: 700; font-size: 86px; line-height: .8; color: var(--teal); min-width: .62em; text-align: center; letter-spacing: -.04em; }
.step__img { align-self: center; }
.step__img--1 { width: 56px; }
.step__img--2 { width: 92px; }
.step__img--3 { width: 104px; }
.footnote { font-family: var(--font-head); font-style: italic; font-size: 10.5px; text-align: center; margin: 14px 0 0; }

.free-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.free-list li { display: flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 64px; }
.free-list__label { font-size: 15px; line-height: 1.3; color: #77797c; }
.free-list__label--strong { font-family: var(--font-head); font-weight: 700; color: #8a8c8f; font-size: 14px; }
.free-list .icon { flex: 0 0 auto; width: 62px; height: 62px; }

/* ---------- Contact ---------- */
.contact {
	max-width: var(--max); margin: 0 auto;
	padding: clamp(18px, 2vw, 28px) var(--gutter) 0;
	display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 6vw, 90px);
}
.contact__intro { font-size: 16.5px; margin-bottom: 12px; }
.contact-form__box { background: var(--blue); padding: 18px clamp(18px, 3.4vw, 46px) 30px; }
.contact-form__row { border: 0; margin: 0 0 10px; padding: 0; min-width: 0; }
.contact-form__label { display: block; color: #fff; font-size: 16px; padding: 0; margin-bottom: 4px; }
.contact-form__pair { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(16px, 3.4vw, 42px); }
.contact-form .contact-form__row--half input { width: calc(50% - clamp(8px, 1.7vw, 21px)); }
.contact-form input, .contact-form textarea {
	width: 100%; border: 0; border-radius: 0; background: #fff; color: #333;
	font: 16px/1.3 var(--font-head); padding: 10px 12px; min-height: 42px;
}
.contact-form input::placeholder { color: #b5b8bb; font-size: 13px; }
.contact-form textarea { min-height: 120px; resize: vertical; }
.contact-form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.contact-form__actions { display: flex; justify-content: flex-end; margin-top: 12px; }
.contact-form__send {
	border: 0; cursor: pointer; background: var(--blue); color: #fff;
	font-family: var(--font-head); font-weight: 700; font-size: 14px;
	min-width: 116px; padding: 8px 24px; transition: filter .15s;
}
.contact-form__send:hover { filter: brightness(1.08); }
.form-notice { padding: 12px 16px; margin-bottom: 14px; font-family: var(--font-head); font-size: 15px; border-left: 5px solid; }
.form-notice--success { background: #e7f6ed; border-color: var(--green); color: #1b5e3a; }
.form-notice--error { background: #fdecec; border-color: #d63638; color: #8a1f1f; }

.contact__product { padding-top: clamp(36px, 4.4vw, 60px); }
.contact__brand { max-width: 300px; margin: 0 auto; text-align: right; }
.contact__brand img { width: 100%; }
.contact__buy { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 18px; }
.contact__pack { width: clamp(120px, 12vw, 170px); }
.contact__buy .btn-order { flex: 0 1 auto; }

/* ---------- Generic pages ---------- */
.content-page { max-width: 820px; margin: 0 auto; padding: 48px var(--gutter) 40px; color: var(--text-dark); }
.content-page__title { font-family: var(--font-head); color: var(--blue); font-size: 30px; margin-bottom: 20px; }
.content-page__body a { color: var(--blue); }

/* ---------- Footer ---------- */
.site-footer { background: var(--blue); color: #fff; margin-top: clamp(16px, 2vw, 28px); flex-shrink: 0; }
.site-footer__inner {
	max-width: var(--max); margin: 0 auto;
	padding: 26px var(--gutter) 34px;
	display: grid; grid-template-columns: auto auto auto auto auto; justify-content: space-between; align-items: start; gap: 24px clamp(18px, 3vw, 44px);
	font-size: 14px; line-height: 1.45; word-spacing: -.03em;
}
.site-footer__logo img { width: 150px; }
.site-footer p, .site-footer address { margin: 0; font-style: normal; }
.site-footer__intro { max-width: 160px; padding-top: 12px; }
.site-footer__address, .site-footer__contact, .site-footer__meta { padding-top: 10px; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.site-footer__legal { max-width: var(--max); margin: 0 auto !important; padding: 0 var(--gutter) 18px; font-size: 12px; opacity: .9; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
	.about { grid-template-columns: 1fr 1fr; }
	.about__col--free { grid-column: 1 / -1; }
	.free-list { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); column-gap: 48px; }
	.site-footer__inner { grid-template-columns: auto 1fr 1fr; }
	.site-footer__intro { grid-column: span 2; }
}

@media (max-width: 900px) {
	.nav-toggle {
		display: inline-flex; flex-direction: column; justify-content: center; gap: 5px;
		width: 44px; height: 44px; padding: 10px; border: 0; background: transparent; cursor: pointer;
	}
	.nav-toggle__bar { display: block; height: 2px; width: 24px; background: var(--nav); transition: transform .2s, opacity .2s; }
	.nav-open .nav-toggle__bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
	.nav-open .nav-toggle__bar:nth-child(2) { opacity: 0; }
	.nav-open .nav-toggle__bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
	.site-nav {
		display: none; position: absolute; left: 0; right: 0; top: 100%;
		background: #fff; box-shadow: 0 8px 12px rgba(0, 0, 0, .12); padding: 8px var(--gutter) 16px;
	}
	.nav-open .site-nav { display: block; }
	.site-nav ul { flex-direction: column; gap: 4px; }
	.site-nav a { display: block; padding: 10px 6px; font-size: 17px; }

	.hero {
		grid-template-columns: 1fr 1fr;
		grid-template-areas: "product product" "claim media";
		row-gap: 28px; padding-top: 28px;
	}
	.hero__product { justify-self: center; margin-top: 0; }
	.hero__media { display: flex; flex-direction: column; align-items: center; }
	.hero__claim { padding-top: 20px; }
	.page-notes { grid-template-columns: 1fr; }
	.page-notes .references { order: 2; }

	.about { grid-template-columns: 1fr; }
	.contact { grid-template-columns: 1fr; }
	.contact__product { padding-top: 8px; }
}

@media (max-width: 560px) {
	.site-logo img { height: 24px; }
	.hero { grid-template-columns: 1fr; grid-template-areas: "product" "claim" "media"; }
	.hero__product { text-align: center; }
	.hero__strapline, .hero__tagline { margin-left: auto; margin-right: auto; text-align: center; }
	.hero__title img { margin: 0 auto; }
	.hero__head { max-width: 220px; }
	.benefits { margin-left: 0; margin-right: 0; }
	.step { grid-template-columns: auto 1fr; }
	.step__img { grid-column: 2; justify-self: end; }
	.step__num { font-size: 64px; }
	.contact-form__pair { grid-template-columns: 1fr; gap: 10px; }
	.contact-form .contact-form__row--half input { width: 100%; }
	.contact__buy { flex-direction: column; }
	.site-footer__inner { grid-template-columns: 1fr; }
	.site-footer__intro { grid-column: auto; }
}

@media (prefers-reduced-motion: reduce) {
	* { transition: none !important; }
}
