/**
 * summer-janna.ru — Salvato replica (Aura)
 * @see /var/www/SUMMER/AURADESIGN.md
 */

:root {
	--sv-light: #f7f5f1;
	--sv-viola: #58476d;
	--sv-plum: #534663;
	--sv-black: #3d3d3d;
	--sv-pink: #e0539e;
	--sv-yellow: #fed653;
	--sv-mint: #8cd1c7;
	--sv-purple: #673593;
	--sv-white: #ffffff;
	--sv-font-display: "Cormorant Garamond", "PT Serif", Georgia, serif;
	--sv-font-body: "Work Sans", system-ui, sans-serif;
	--sv-font-label: "Commissioner", "Work Sans", system-ui, sans-serif;
	--sv-max: 1320px;
	--sv-nav-h: 80px;
	--sv-pad: clamp(20px, 4vw, 48px);
	--sv-radius-card: 60px 20px;
	--sv-radius-drop: 216px 20px 216px 216px;
	--sv-radius-video: 20px 120px;
	--sv-radius-pill: 36px;
	--sv-border: 1px solid var(--sv-black);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
	margin: 0;
	background: var(--sv-light);
	color: var(--sv-black);
	font-family: var(--sv-font-body);
	font-size: 19px;
	font-weight: 300;
	line-height: 24px;
	-webkit-font-smoothing: antialiased;
}

img, video { max-width: 100%; display: block; }
a { color: inherit; }

.sv-container {
	width: min(var(--sv-max), 100%);
	margin-inline: auto;
	padding-inline: var(--sv-pad);
}

/* Typography */
.sv-display {
	font-family: var(--sv-font-display);
	font-weight: 400;
	color: var(--sv-viola);
	line-height: 1.08;
}

.sv-text {
	font-family: var(--sv-font-body);
	font-size: 19px;
	font-weight: 300;
	line-height: 24px;
	color: var(--sv-black);
	margin: 0 0 16px;
	max-width: 540px;
}

.sv-label {
	font-family: var(--sv-font-label);
	font-size: 13px;
	font-weight: 400;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--sv-black);
	margin: 0 0 12px;
}

.sv-section__head .sv-label {
	font-size: 18px;
	font-weight: 300;
	text-decoration: underline;
	text-underline-offset: 4px;
}

/* Pills / CTA */
.sv-pill {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 60px;
	padding: 0 32px;
	font-family: var(--sv-font-body);
	font-size: 18px;
	font-weight: 300;
	text-decoration: none;
	border-radius: var(--sv-radius-pill);
	border: 1px solid var(--sv-viola);
	transition: transform 0.2s, box-shadow 0.2s;
	position: relative;
	z-index: 2;
}
.sv-pill--primary {
	background: var(--sv-light);
	color: var(--sv-viola);
	box-shadow: 0 12px 32px rgba(140, 209, 199, 0.45);
}
.sv-pill--primary:hover { transform: translateY(-2px); }
.sv-pill--outline {
	background: transparent;
	color: var(--sv-viola);
}
.sv-pill--viola {
	background: var(--sv-viola);
	color: var(--sv-light);
	border-color: var(--sv-viola);
	min-height: 38px;
	padding: 0 24px;
	font-size: 13px;
	font-family: var(--sv-font-label);
	letter-spacing: 0.04em;
}
.sv-pill--sm { min-height: 44px; padding: 0 20px; font-size: 16px; }

/* Shapes */
.sv-drop { border-radius: 0 0 160px 20px; }
.sv-video-capsule { border-radius: var(--sv-radius-video); overflow: hidden; }

/* Sections */
.sv-section {
	padding-block: clamp(48px, 8vh, 96px);
	background: var(--sv-light);
	overflow: hidden;
}
.sv-section--pink { background: linear-gradient(135deg, rgba(224, 83, 158, 0.08), var(--sv-light)); }
.sv-section--yellow { background: linear-gradient(135deg, rgba(254, 214, 83, 0.12), var(--sv-light)); }
.sv-section--mint { background: linear-gradient(127deg, rgba(140, 209, 199, 0.15), var(--sv-light)); }

.sv-main { padding-top: var(--sv-nav-h); }

/* Header */
.sv-header {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 1000;
	height: var(--sv-nav-h);
	background: var(--sv-light);
	border-bottom: var(--sv-border);
}
.sv-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: 100%;
	gap: 24px;
}
.sv-header__logo-text {
	font-size: 31.2px;
	letter-spacing: 0.03em;
	line-height: 1;
	color: var(--sv-viola);
	text-decoration: none;
	margin: 0;
	white-space: nowrap;
}
.sv-header__cta { white-space: nowrap; }
.sv-header__nav {
	display: flex;
	gap: 24px;
}
.sv-header__nav a {
	text-decoration: none;
	color: var(--sv-black);
}
.sv-header__nav a:hover { color: var(--sv-pink); }
.sv-header__toggle {
	display: none;
	flex-direction: column;
	gap: 5px;
	background: none;
	border: none;
	cursor: pointer;
	padding: 8px;
}
.sv-header__toggle span {
	display: block;
	width: 22px;
	height: 2px;
	background: var(--sv-black);
}

/* Hero */
.sv-hero {
	min-height: calc(100vh - var(--sv-nav-h));
	display: flex;
	align-items: stretch;
	padding-block: 0;
	margin-bottom: -40px;
	overflow: visible;
}
.sv-hero__inner {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	align-items: center;
	column-gap: clamp(24px, 3vw, 40px);
	width: 100%;
	min-height: calc(100vh - var(--sv-nav-h));
	padding-block: 40px;
}
.sv-hero__visual {
	position: relative;
	display: flex;
	align-items: flex-end;
	justify-content: center;
	min-height: calc(100vh - var(--sv-nav-h) - 80px);
	height: 100%;
	overflow: visible;
	margin-left: 0;
}
.sv-hero__orb {
	position: absolute;
	width: min(1000px, 100%);
	height: min(1000px, 100%);
	left: 50%;
	bottom: 0;
	right: auto;
	transform: translateX(-50%);
	background: linear-gradient(40deg, var(--sv-pink), var(--sv-yellow));
	filter: blur(90px);
	opacity: 0.55;
	z-index: 0;
	border-radius: 50%;
}
.sv-hero__portrait {
	position: relative;
	z-index: 2;
	height: min(calc(100vh - var(--sv-nav-h) - 16px), 1080px);
	width: auto;
	max-width: min(1100px, 88vw);
	object-fit: contain;
	object-position: bottom center;
}
.sv-hero__copy {
	padding-top: 0;
	padding-bottom: 0;
	align-self: center;
	max-width: 560px;
	justify-self: start;
}
.sv-hero__title {
	font-size: 31.2px;
	letter-spacing: 0.03em;
	line-height: 1.15;
	color: var(--sv-viola);
	font-weight: 400;
	margin-bottom: 24px;
	max-width: 580px;
}
.sv-hero__sub {
	font-size: clamp(20px, 2.5vw, 28px);
	line-height: 1.15;
	color: var(--sv-plum);
	max-width: 520px;
}
.sv-hero__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 12px 20px;
	list-style: none;
	padding: 0;
	margin: 24px 0;
}
.sv-hero__meta .sv-label { margin: 0; font-size: 11px; }
.sv-hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
	margin-top: 32px;
}

/* Cards */
.sv-card--treatment {
	border: var(--sv-border);
	border-radius: var(--sv-radius-card);
	padding: 24px;
	background: var(--sv-white);
}
.sv-card__title {
	font-size: clamp(22px, 2.5vw, 28px);
	margin-bottom: 12px;
}

/* Pain */
.sv-pain__inner {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: 32px;
	align-items: start;
}
.sv-pain__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px;
	margin-top: 24px;
}
.sv-pain__card { padding: 20px; }
.sv-pain__num {
	font-family: var(--sv-font-label);
	font-size: 13px;
	opacity: 0.6;
	display: block;
	margin-bottom: 8px;
}
.sv-pain__visual {
	position: relative;
	min-height: 360px;
}
.sv-pain__drop {
	width: 100%;
	max-height: 480px;
	object-fit: cover;
	border-radius: var(--sv-radius-drop);
	background: linear-gradient(135deg, var(--sv-mint), var(--sv-purple));
	min-height: 320px;
}

/* Quiz */
.sv-quiz__inner {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: 32px;
}
.sv-quiz__aside {
	position: sticky;
	top: calc(var(--sv-nav-h) + 24px);
	border-radius: 120px 20px;
	background: linear-gradient(160deg, rgba(224, 83, 158, 0.15), rgba(140, 209, 199, 0.2));
	min-height: 280px;
	padding: 32px;
	display: flex;
	align-items: flex-end;
}
.sv-quiz__progress {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 20px;
	font-size: 13px;
	text-transform: uppercase;
	letter-spacing: 0.08em;
}
.sv-quiz__bar {
	flex: 1;
	height: 4px;
	background: rgba(61, 61, 61, 0.2);
	border-radius: 2px;
}
.sv-quiz__fill {
	height: 100%;
	background: var(--sv-pink);
	border-radius: 2px;
	transition: width 0.3s;
}
.sv-quiz__opts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.sv-quiz__result {
	margin-top: 20px;
	padding: 24px;
	border: var(--sv-border);
	border-radius: var(--sv-radius-card);
}

/* SPF */
.sv-spf__inner {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: 32px;
	align-items: start;
}
.sv-spf__features {
	list-style: none;
	padding: 0;
	margin: 20px 0;
}
.sv-spf__features li {
	padding: 10px 0;
	border-bottom: var(--sv-border);
	font-weight: 400;
}
.sv-spf__tool label {
	display: block;
	margin-bottom: 8px;
	font-size: 13px;
	text-transform: uppercase;
	letter-spacing: 0.08em;
}
.sv-spf__actions { margin-top: 16px; }
.sv-spf__textarea {
	width: 100%;
	min-height: 120px;
	padding: 14px;
	font-family: var(--sv-font-body);
	font-size: 16px;
	border: var(--sv-border);
	border-radius: 20px;
	background: var(--sv-white);
	resize: vertical;
}

/* Reveal (scroll) */
.reveal {
	opacity: 1;
	transform: none;
}
@media (prefers-reduced-motion: no-preference) {
	.reveal {
		opacity: 0;
		transform: translateY(16px);
		transition: opacity 0.6s ease, transform 0.6s ease;
	}
	.reveal.is-visible {
		opacity: 1;
		transform: none;
	}
}
.sv-spf__error { color: #b00020; font-size: 14px; }
.sv-spf__visual {
	min-height: 320px;
	border-radius: var(--sv-radius-video);
	background: linear-gradient(135deg, var(--sv-mint), var(--sv-purple));
	opacity: 0.85;
}

/* Path / Program grids */
.sv-path__steps,
.sv-program__days {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 16px;
	margin-top: 24px;
}
.sv-program__mods {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 16px;
	margin-top: 24px;
}
.sv-path__num {
	font-size: 13px;
	opacity: 0.55;
	display: block;
	margin-bottom: 8px;
}

.sv-demo__grid {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 12px;
	margin-top: 24px;
}

/* Author */
.sv-author__inner {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: 32px;
	align-items: center;
	min-height: min(80vh, 720px);
}
.sv-author__visual {
	position: relative;
	display: flex;
	justify-content: center;
	align-items: flex-end;
}
.sv-author__orb {
	position: absolute;
	width: 520px;
	height: 520px;
	background: linear-gradient(135deg, var(--sv-mint), var(--sv-purple));
	filter: blur(80px);
	opacity: 0.5;
	border-radius: 50%;
}
.sv-author__photo {
	position: relative;
	z-index: 2;
	max-width: 520px;
	max-height: 600px;
	object-fit: contain;
}
.sv-author__bio { padding-left: clamp(0px, 4vw, 60px); }
.sv-author__quote { font-style: italic; color: var(--sv-plum); }

/* Social */
.sv-social__featured {
	display: grid;
	grid-template-columns: 1.2fr 1fr;
	gap: 16px;
	margin-top: 24px;
}
.sv-social__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 16px;
	margin-top: 16px;
}
.sv-social__card { display: flex; flex-direction: column; gap: 12px; }

/* Proof */
.sv-proof__stats {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 16px;
	margin: 24px 0;
}
.sv-proof__stat {
	text-align: center;
	padding: 24px;
	border: var(--sv-border);
	border-radius: var(--sv-radius-card);
	background: var(--sv-white);
}
.sv-proof__num {
	display: block;
	font-size: clamp(32px, 4vw, 48px);
	line-height: 1;
	margin-bottom: 8px;
}
.sv-proof__quote {
	font-size: clamp(24px, 3vw, 36px);
	font-weight: 300;
	line-height: 1.2;
	margin: 24px 0 0;
	padding: 0;
	border: none;
	max-width: 900px;
}

/* Video */
.sv-video__head { margin-bottom: 24px; }
.sv-video__player {
	width: 100%;
	max-height: min(72vh, 640px);
	background: #000;
}

/* Checkout */
.sv-checkout__inner {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: 48px;
	align-items: start;
}
.sv-checkout__includes {
	list-style: none;
	padding: 0;
	margin: 16px 0;
}
.sv-checkout__includes li {
	padding: 8px 0;
	border-bottom: var(--sv-border);
}
.sv-checkout__price {
	font-size: clamp(32px, 4vw, 44px);
	margin: 16px 0;
}
.sv-checkout__consent label {
	display: flex;
	gap: 10px;
	align-items: flex-start;
	cursor: pointer;
}

/* FAQ */
.sv-faq__list { margin-top: 24px; }
.sv-menu-row {
	border-bottom: var(--sv-border);
}
.sv-faq__item summary {
	padding: 20px 0;
	cursor: pointer;
	list-style: none;
	font-size: clamp(20px, 2.5vw, 28px);
}
.sv-faq__item summary::-webkit-details-marker { display: none; }
.sv-faq__answer { padding-bottom: 20px; max-width: 720px; }

/* Club */
.sv-club__inner {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 24px;
}

/* Footer */
.sv-footer {
	background: linear-gradient(127deg, rgba(140, 209, 199, 0.1), var(--sv-light));
	border-top: var(--sv-border);
	padding-block: 48px;
}
.sv-footer__inner {
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	gap: 24px;
	align-items: start;
}
.sv-footer__nav {
	display: flex;
	flex-direction: column;
	gap: 8px;
}
.sv-footer__nav a { text-decoration: none; }
.sv-footer__legal { text-align: right; font-size: 14px; }
.sv-footer__legal .sv-text { font-size: 14px; max-width: none; }

/* SPF report (JS) */
.summer-spf-report {
	margin-top: 20px;
	padding: 24px;
	border: var(--sv-border);
	border-radius: var(--sv-radius-card);
	background: var(--sv-white);
	font-size: 16px;
}
.summer-spf-report__h {
	font-family: var(--sv-font-display);
	font-size: 22px;
	margin: 16px 0 8px;
	color: var(--sv-viola);
}
.summer-spf-bar__track {
	height: 6px;
	background: rgba(61, 61, 61, 0.15);
	border-radius: 3px;
	margin: 6px 0 12px;
}
.summer-spf-bar__fill {
	height: 100%;
	background: var(--sv-pink);
	border-radius: 3px;
	transition: width 0.6s ease;
}

.screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	border: 0;
}

/* Responsive */
@media (max-width: 1024px) {
	.sv-hero__inner,
	.sv-pain__inner,
	.sv-quiz__inner,
	.sv-spf__inner,
	.sv-author__inner,
	.sv-checkout__inner { grid-template-columns: 1fr; }
	.sv-hero__inner { grid-template-columns: 1fr; column-gap: 0; align-items: start; }
	.sv-hero__copy { padding-top: 24px; order: 1; max-width: none; }
	.sv-hero__visual { order: 2; min-height: 420px; justify-content: center; align-items: flex-end; margin-left: 0; }
	.sv-hero__portrait { height: min(70vh, 720px); width: auto; max-width: 100%; object-position: bottom center; margin-inline: auto; }
	.sv-hero__orb { left: 50%; right: auto; transform: translateX(-50%); width: min(800px, 90vw); height: min(800px, 90vw); }
	.sv-path__steps,
	.sv-program__days { grid-template-columns: repeat(2, 1fr); }
	.sv-program__mods,
	.sv-demo__grid,
	.sv-proof__stats,
	.sv-social__grid { grid-template-columns: repeat(2, 1fr); }
	.sv-social__featured { grid-template-columns: 1fr; }
	.sv-author__bio { padding-left: 0; }
}

@media (max-width: 640px) {
	.sv-header__nav, .sv-header__cta { display: none; }
	.sv-header__logo-text,
	.sv-hero__title { font-size: clamp(18px, 5.6vw, 31.2px); }
	.sv-header__toggle { display: flex; }
	.sv-header.is-open .sv-header__nav {
		display: flex;
		flex-direction: column;
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		background: var(--sv-light);
		padding: var(--sv-pad);
		border-bottom: var(--sv-border);
	}
	.sv-pain__grid,
	.sv-path__steps,
	.sv-program__days,
	.sv-program__mods,
	.sv-demo__grid,
	.sv-proof__stats,
	.sv-social__grid { grid-template-columns: 1fr; }
	.sv-hero__actions { flex-direction: column; }
	.sv-pill { width: 100%; }
	.sv-footer__inner { grid-template-columns: 1fr; }
	.sv-footer__legal { text-align: left; }
}

:focus-visible {
	outline: 2px solid var(--sv-pink);
	outline-offset: 2px;
}
