/* Dermasome theme — brand colours from the logo */
:root {
	--navy: #052652;
	--green: #138f14;
	--blue: #008dd6;
	--ink: #22303f;
	--muted: #5c6b7a;
	--bg: #ffffff;
	--bg-alt: #f4f8fb;
	--border: #e3eaf1;
	--radius: 8px;
	--shadow: 0 10px 30px rgba(27, 58, 107, 0.08);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
	margin: 0;
	font-family: 'Manrope', 'Segoe UI', sans-serif;
	color: var(--ink);
	background: var(--bg);
	line-height: 1.6;
}

img { max-width: 100%; height: auto; }

a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }

.container {
	max-width: 1140px;
	margin: 0 auto;
	padding: 0 24px;
}

/* ---------- Header ---------- */
.site-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: rgba(255, 255, 255, 0.96);
	backdrop-filter: blur(8px);
	border-bottom: 1px solid var(--border);
}

.header-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	padding-top: 10px;
	padding-bottom: 10px;
}

.site-logo img { display: block; height: 52px; width: auto; }

.site-nav {
	display: flex;
	align-items: center;
	gap: 28px;
}

.nav-menu {
	display: flex;
	gap: 26px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.nav-menu a {
	color: var(--ink);
	font-weight: 600;
	font-size: 15px;
}

.nav-menu a:hover { color: var(--green); text-decoration: none; }

.nav-actions {
	display: flex;
	align-items: center;
	gap: 18px;
}

.lang-switch { font-size: 14px; color: var(--muted); }
.lang-switch a { color: var(--muted); font-weight: 600; }
.lang-switch strong { color: var(--navy); }
.lang-sep { opacity: 0.4; }

.nav-toggle {
	display: none;
	flex-direction: column;
	gap: 5px;
	background: none;
	border: 0;
	cursor: pointer;
	padding: 8px;
}

.nav-toggle span {
	width: 24px;
	height: 2px;
	background: var(--navy);
	border-radius: 2px;
}

/* ---------- Buttons ---------- */
.btn {
	display: inline-block;
	padding: 14px 30px;
	border-radius: 999px;
	font-weight: 700;
	font-size: 16px;
	transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn:hover { transform: translateY(-2px); text-decoration: none; }

.btn-primary {
	background: var(--green);
	color: #fff;
	box-shadow: 0 8px 20px rgba(58, 167, 109, 0.35);
}

.btn-primary:hover { background: #33915f; color: #fff; }

.btn-outline {
	border: 2px solid var(--navy);
	color: var(--navy);
}

.btn-outline:hover { background: var(--navy); color: #fff; }

.btn-light {
	background: #fff;
	color: var(--navy);
}

.btn-small { padding: 10px 20px; font-size: 14px; }

/* ---------- Hero ---------- */
.hero {
	background: linear-gradient(160deg, #f4f8fb 0%, #eaf4ee 60%, #e8f3fb 100%);
	padding: 90px 0 100px;
	overflow: hidden;
}

.hero-inner {
	display: grid;
	grid-template-columns: 1.1fr 0.9fr;
	gap: 60px;
	align-items: center;
}

.hero-badge {
	display: inline-block;
	background: #fff;
	border: 1px solid var(--border);
	color: var(--green);
	font-weight: 700;
	font-size: 13px;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	padding: 7px 16px;
	border-radius: 999px;
	margin-bottom: 22px;
}

.hero h1 {
	font-size: clamp(34px, 4.6vw, 54px);
	line-height: 1.12;
	color: var(--navy);
	margin: 0 0 20px;
	font-weight: 800;
}

.hero-subtitle {
	font-size: 19px;
	color: var(--muted);
	max-width: 540px;
	margin: 0 0 32px;
}

.hero-cta { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 34px; }

.hero-points {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 10px;
}

.hero-points li {
	position: relative;
	padding-left: 30px;
	font-weight: 600;
	color: var(--ink);
}

.hero-points li::before {
	content: '✓';
	position: absolute;
	left: 0;
	top: 0;
	color: var(--green);
	font-weight: 800;
}

/* Hero visual: abstract app cards */
.hero-visual {
	position: relative;
	min-height: 380px;
}

.hero-card {
	position: absolute;
	background: #fff;
	border-radius: var(--radius);
	box-shadow: var(--shadow);
	padding: 22px;
}

.hero-card-calendar { top: 0; left: 0; width: 230px; border-top: 4px solid var(--blue); }
.hero-card-patient { top: 120px; right: 0; width: 250px; border-top: 4px solid var(--green); }
.hero-card-sms { bottom: 0; left: 60px; width: 210px; display: flex; gap: 12px; align-items: center; border-top: 4px solid var(--navy); }

.hero-card-title { font-size: 26px; font-weight: 800; color: var(--navy); margin-bottom: 10px; }

.hero-card-line {
	height: 10px;
	border-radius: 5px;
	background: var(--bg-alt);
	margin-bottom: 10px;
}

.w-40 { width: 40%; } .w-50 { width: 50%; } .w-60 { width: 60%; }
.w-70 { width: 70%; } .w-80 { width: 80%; }

.hero-avatar {
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: linear-gradient(135deg, var(--green), var(--blue));
	margin-bottom: 12px;
}

.hero-pill {
	display: inline-block;
	width: 74px;
	height: 24px;
	border-radius: 999px;
	background: rgba(58, 167, 109, 0.15);
	border: 1px solid var(--green);
}

.hero-dot {
	width: 14px;
	height: 14px;
	border-radius: 50%;
	background: var(--green);
	flex: none;
}

/* ---------- Sections ---------- */
.section { padding: 90px 0; }

.section-alt { background: var(--bg-alt); }

.section-title {
	font-size: clamp(28px, 3.4vw, 40px);
	color: var(--navy);
	text-align: center;
	margin: 0 0 14px;
	font-weight: 800;
}

.section-subtitle {
	text-align: center;
	color: var(--muted);
	font-size: 18px;
	max-width: 640px;
	margin: 0 auto 54px;
}

/* Features */
.feature-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 24px;
}

.feature-card {
	background: #fff;
	border: 1px solid var(--border);
	border-radius: var(--radius);
	padding: 28px 24px;
	transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.feature-card:hover {
	transform: translateY(-4px);
	box-shadow: var(--shadow);
	border-color: var(--green);
}

.feature-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 52px;
	height: 52px;
	border-radius: 14px;
	background: rgba(43, 159, 216, 0.1);
	font-size: 24px;
	margin-bottom: 16px;
}

.feature-card h3 {
	font-size: 18px;
	color: var(--navy);
	margin: 0 0 10px;
}

.feature-card p { font-size: 14.5px; color: var(--muted); margin: 0; }

/* Split (patient portal) */
.split {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 60px;
	align-items: center;
}

.split-copy h2 {
	font-size: clamp(26px, 3vw, 36px);
	color: var(--navy);
	margin: 0 0 18px;
	font-weight: 800;
}

.split-copy p { color: var(--muted); font-size: 17px; }

.check-list { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 12px; }

.check-list li {
	position: relative;
	padding-left: 32px;
	font-weight: 600;
}

.check-list li::before {
	content: '✓';
	position: absolute;
	left: 0;
	color: var(--green);
	font-weight: 800;
}

.portal-mock {
	background: #fff;
	border-radius: var(--radius);
	box-shadow: var(--shadow);
	padding: 30px;
	border-top: 4px solid var(--green);
}

.portal-mock-bar {
	height: 12px;
	border-radius: 6px;
	background: linear-gradient(90deg, var(--navy), var(--blue));
	margin-bottom: 22px;
}

/* Benefits */
.benefit-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
	margin-top: 44px;
}

.benefit-card {
	background: var(--bg-alt);
	border-radius: var(--radius);
	padding: 32px 28px;
	border-left: 4px solid var(--green);
}

.benefit-card h3 { color: var(--navy); margin: 0 0 10px; font-size: 20px; }
.benefit-card p { color: var(--muted); margin: 0; }

/* Future / mobile app */
.section-future {
	background: linear-gradient(135deg, var(--navy), #274e8f);
	color: #fff;
	text-align: center;
}

.future-inner { max-width: 720px; }

.future-badge {
	display: inline-block;
	background: rgba(255, 255, 255, 0.15);
	border: 1px solid rgba(255, 255, 255, 0.4);
	padding: 6px 16px;
	border-radius: 999px;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	margin-bottom: 20px;
}

.section-future h2 { font-size: clamp(26px, 3vw, 36px); margin: 0 0 16px; }
.section-future p { color: rgba(255, 255, 255, 0.85); font-size: 17px; margin: 0; }

/* CTA */
.section-cta { text-align: center; }

.cta-inner { max-width: 680px; }

.cta-inner h2 {
	font-size: clamp(28px, 3.4vw, 40px);
	color: var(--navy);
	margin: 0 0 16px;
	font-weight: 800;
}

.cta-inner > p { color: var(--muted); font-size: 18px; margin: 0 0 30px; }

.cta-contact { margin-top: 26px; color: var(--muted); font-size: 15px; }
.cta-contact strong { color: var(--navy); }

/* ---------- Footer ---------- */
.site-footer {
	background: var(--navy);
	color: rgba(255, 255, 255, 0.85);
	padding-top: 56px;
}

.footer-inner {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	gap: 40px;
	flex-wrap: wrap;
	padding-bottom: 40px;
}

.footer-brand img {
	height: 44px;
	width: auto;
	background: #fff;
	border-radius: 8px;
	padding: 4px 10px;
	margin-bottom: 14px;
}

.footer-brand p { max-width: 300px; margin: 0; font-size: 14.5px; }

.footer-contact p { margin: 0 0 10px; }
.footer-contact a { color: #fff; font-weight: 600; }
.footer-icon { margin-right: 8px; }

.footer-menu { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer-menu a { color: rgba(255, 255, 255, 0.85); }

.footer-bar {
	border-top: 1px solid rgba(255, 255, 255, 0.15);
	padding: 18px 0;
	font-size: 13.5px;
}

.footer-bar p { margin: 0; }

/* ---------- Content pages ---------- */
.content-area { max-width: 780px; }

.entry { margin-bottom: 40px; }
.entry-title { color: var(--navy); font-size: 30px; }
.entry-title a { color: inherit; }
.entry-meta { color: var(--muted); font-size: 14px; }
.entry-content { font-size: 17px; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
	.hero-inner, .split { grid-template-columns: 1fr; }
	.hero-visual { min-height: 320px; }
	.feature-grid { grid-template-columns: repeat(2, 1fr); }
	.benefit-grid { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
	.nav-toggle { display: flex; }

	.site-nav {
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		background: #fff;
		flex-direction: column;
		align-items: stretch;
		padding: 20px 24px;
		border-bottom: 1px solid var(--border);
		display: none;
	}

	.site-nav.is-open { display: flex; }

	.nav-menu { flex-direction: column; gap: 14px; }
	.nav-actions { justify-content: space-between; }
	.feature-grid { grid-template-columns: 1fr; }
	.section { padding: 64px 0; }
	.hero { padding: 60px 0 70px; }
}

/* Revised logo identity and photograph-led dermatology layout */
:root { --hero-wash: linear-gradient(90deg,rgba(255,255,255,.98),rgba(255,255,255,.90) 36%,rgba(255,255,255,.28) 68%,rgba(255,255,255,0)); --notice-bg:#edf8ee; --notice-error:#ad2929; }
body { overflow-wrap:break-word; }
.brand-prefix { color:var(--navy); } .brand-suffix { color:var(--green); }
.hero { position:relative; background:var(--bg-alt); padding:80px 0; min-height:600px; }
.hero:after { content:''; position:absolute; inset:0; background:var(--hero-wash); }
.hero-photo { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; object-position:center; }
.hero-inner { position:relative; z-index:1; display:block; }
.hero-copy { max-width:555px; } .hero h1 { font-size:60px; letter-spacing:0; }
.hero-subtitle { color:var(--ink); }
.hero-badge,.future-badge { letter-spacing:0; }
.hero-card,.hero-visual { display:none; }
.btn { border-radius:6px; border:0; cursor:pointer; font:inherit; font-weight:700; }
.btn-outline { border:2px solid var(--navy); }
.btn-primary:hover { background:var(--navy); }
.section-title { font-size:38px; } .split-copy h2,.section-future h2,.cta-inner h2 { font-size:34px; }
.header-inner { gap:16px; } .site-nav { gap:20px; } .nav-menu { gap:16px; }
.site-logo { flex-shrink:0; } .site-logo img { height:60px; width:auto; max-width:260px; object-fit:contain; }
.nav-menu a { font-size:13px; } .nav-actions { gap:12px; } .nav-actions>.btn { display:none; }
.lang-switch { display:flex; gap:10px; white-space:nowrap; } .lang-switch [aria-current] { color:var(--green); text-decoration:underline; text-underline-offset:5px; }
.editorial-photo { width:100%; aspect-ratio:3/2; object-fit:cover; border-radius:8px; }
.feature-icon { border-radius:6px; font-size:20px; font-weight:800; color:var(--blue); }
.feature-card p { font-size:15px; }
.maker { display:inline-block; font-weight:800; color:var(--green); margin-bottom:15px; }
.pricing-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:24px; }
.price-card { border:1px solid var(--border); border-top:4px solid var(--green); border-radius:8px; padding:28px; display:flex; flex-direction:column; }
.price-card h3 { font-size:20px; margin:0 0 22px; } .price { font-size:38px; font-weight:800; line-height:1.2; color:var(--navy); } .price-unit { color:var(--muted); font-size:14px; } .price-card>.btn { margin-top:auto; text-align:center; }
.contact-form { text-align:left; } .form-grid { display:grid; grid-template-columns:1fr 1fr; gap:18px; }
.contact-form label { display:block; font-weight:600; margin:0 0 18px; }
.contact-form input:not([type=checkbox]),.contact-form textarea { display:block; width:100%; min-width:0; margin-top:6px; padding:13px; font:inherit; color:var(--ink); background:var(--bg); border:1px solid var(--border); border-radius:6px; }
.contact-form input:focus,.contact-form textarea:focus { outline:2px solid var(--blue); outline-offset:2px; }
.contact-form textarea { resize:vertical; } .contact-form .consent { display:flex; gap:12px; font-size:14px; align-items:flex-start; } .consent input { margin-top:5px; }
.honeypot { position:absolute; width:1px; height:1px; overflow:hidden; clip-path:inset(50%); }
.form-notice { padding:16px; background:var(--notice-bg); border-left:4px solid var(--green); text-align:left; margin-bottom:24px; } .form-notice.error { border-color:var(--notice-error); }
.footer-bar .brand-prefix { color:var(--bg); } .footer-bar .brand-suffix { color:var(--bg); text-decoration:underline; }
@media(max-width:1100px) { .nav-toggle{display:flex;} .site-nav{display:none;position:absolute;top:100%;left:0;right:0;background:var(--bg);padding:22px;flex-direction:column;align-items:stretch;border-bottom:1px solid var(--border);} .site-nav.is-open{display:flex;} .nav-menu{flex-direction:column;} .nav-menu a{font-size:16px;} }
@media(max-width:760px) { .hero{padding:52px 0;min-height:650px;} .hero h1{font-size:44px;} .hero:after{background:rgba(255,255,255,.86);} .hero-copy{max-width:100%;} .hero-subtitle{font-size:18px;} .section-title,.split-copy h2,.cta-inner h2{font-size:29px;} .pricing-grid,.form-grid{grid-template-columns:1fr;} .split{gap:32px;} .hero-badge{font-size:11px;padding:7px 10px;} .site-logo img{max-width:230px;} .hero-cta .btn{padding:12px 18px;} }
@media(prefers-reduced-motion:reduce) { html{scroll-behavior:auto;} *,*:before,*:after{transition:none!important;animation:none!important;} }
@media(max-width:760px) { .pricing-grid,.form-grid { grid-template-columns:minmax(0,1fr); } .price-card { min-width:0; } .price { overflow-wrap:anywhere; font-size:32px; } }
