:root {
	--green: #71c42b;
	--navy: #01243b;
	--muted: #6e7f89;
	--paper: #eceeef;
	--body: #e3e8e8;
	--header-h: 100px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
	margin: 0;
	font-family: Nunito, sans-serif;
	font-size: 18px;
	color: var(--muted);
	background: #fff;
	line-height: 1.78;
}
img { max-width: 100%; height: auto; }
a { color: var(--navy); }
h1, h2, h3 { color: var(--navy); line-height: 1.25; font-weight: 700; }
h2 { font-size: 30px; }
h3 { font-size: 20px; }
p { margin: 0 0 1em; }
.wrap { width: min(1100px, calc(100% - 48px)); margin: 0 auto; }
.narrow { width: min(820px, calc(100% - 48px)); }
.center { text-align: center; }
.hp { position: absolute; left: -9999px; }

.site-header {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 30;
	height: var(--header-h);
	background: #fff;
	display: flex;
	align-items: center;
	transition: height .3s;
}
.header-bar { display: flex; align-items: center; justify-content: space-between; width: min(1100px, calc(100% - 48px)); }
.logo img { display: block; height: 60px; width: auto; transition: height .3s; }
.site-nav { display: flex; align-items: center; gap: 4px; }
.site-nav > a {
	color: var(--navy);
	text-decoration: none;
	font-weight: 700;
	font-size: 16px;
	padding: 14px 16px;
}
.header-tools { display: none; align-items: center; gap: 2px; }
.lang-switch { display: inline-flex; align-items: center; justify-content: center; padding: 14px 12px; }
.lang-switch img { display: block; width: 18px; height: 12px; }
.account-btn {
	background: var(--green) !important;
	color: #fff !important;
	border-radius: 6px;
	padding: 12px 22px !important;
	margin-left: 8px;
	text-transform: uppercase;
	font-size: 15px !important;
	letter-spacing: .02em;
}
.nav-toggle {
	display: none;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 0;
	background: transparent;
	cursor: pointer;
	align-items: center;
	justify-content: center;
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
	display: block;
	width: 22px;
	height: 2px;
	background: var(--navy);
	border-radius: 2px;
	position: relative;
	transition: transform .2s ease, top .2s ease, background .2s ease;
}
.nav-toggle span::before,
.nav-toggle span::after {
	content: "";
	position: absolute;
	left: 0;
}
.nav-toggle span::before { top: -7px; }
.nav-toggle span::after { top: 7px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { top: 0; transform: rotate(-45deg); }

.hero {
	min-height: 787px;
	background-size: cover;
	background-position: center center;
	display: flex;
	align-items: flex-start;
	padding: 136px 0 19px;
}
.hero-grid { display: grid; grid-template-columns: 2fr 1fr; align-items: center; }
.hero h1 { font-size: 32px; line-height: 1.2; margin: 0 0 27px; }
.hero h1 span { color: var(--green); }
.hero-copy { color: var(--muted); }
.hero-copy strong { color: var(--navy); }
.hero-copy p, .hero-copy ul { margin: 0 0 27px; }
.hero-copy ul { padding-left: 22px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; }
.btn, button.btn, #loginform .button-primary {
	display: inline-block;
	background: var(--navy);
	color: #fff !important;
	text-decoration: none;
	border: 0;
	border-radius: 6px;
	padding: 15px 30px;
	font-weight: 700;
	font-size: 15px;
	font-family: inherit;
	text-transform: uppercase;
	cursor: pointer;
	letter-spacing: .02em;
	line-height: 1;
}
.btn:hover, button.btn:hover { background: #02385c; }

.phone {
	position: relative;
	width: 250px;
	aspect-ratio: 1000 / 1800;
	margin: 0 auto;
	background: url("../img/phone-6-white-real.png") center / 100% 100% no-repeat;
}
.phone img {
	position: absolute;
	top: 12.3889%;
	left: 12.5%;
	width: 75%;
	height: 74.1111%;
	display: block;
	object-fit: cover;
	object-position: center;
	border-radius: 0;
}
.phone .phone-over {
	z-index: 2;
	opacity: 0;
	transition: opacity .45s ease;
}
.phone .phone-over.is-in { opacity: 1; }
.phone .phone-over.is-instant { transition: none; }
.hero-phone { position: relative; display: flex; flex-direction: column; align-items: center; justify-self: end; }
.hero-phone .phone-dots { position: absolute; top: 100%; left: 0; right: 0; margin-top: 16px; }
.hero-phone .phone {
	width: 331px;
	margin-top: 10px;
	filter: drop-shadow(0 10px 16px rgba(0, 0, 0, .45)) drop-shadow(0 2px 4px rgba(0, 0, 0, .35));
}
.phone-dots { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 16px; }
.phone-dot {
	width: 8px;
	height: 8px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: rgba(0, 0, 0, .22);
	cursor: pointer;
}
.phone-dot.is-active {
	width: 10px;
	height: 10px;
	background: transparent;
	border: 1px solid var(--green);
}

.reveal { opacity: 0; }
.reveal.is-in {
	animation: vetaid-afc .7s cubic-bezier(.78, .13, .15, .86) both;
	animation-delay: var(--reveal-delay, 0s);
}
@keyframes vetaid-afc {
	from { opacity: 0; transform: scale(.2); }
	to { opacity: 1; transform: scale(1); }
}
@media (prefers-reduced-motion: reduce) {
	.reveal { opacity: 1; animation: none; }
	.phone img { transition: none; }
}

.band { padding: 80px 0; background: #fff; }
.video-band { background: var(--paper); }
.video-band h2 { margin-top: 0; }
.video-frame { position: relative; padding-top: 56.25%; background: #000; margin-top: 28px; }
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.split-screen { display: grid; grid-template-columns: 1fr 1fr; }
.split-copy { padding: 72px 8vw; }
.split-green {
	background: var(--green);
	color: #fff;
	align-self: stretch;
}
.split-sticky { position: sticky; top: var(--header-h); transition: top .3s; }
.team-screen .split-sticky { top: calc(var(--header-h) + 72px); background: #fff; }
.team-screen .split-sticky h2 { margin-top: 0; }
.phones-panel { padding: 0; }
.phones-panel .split-sticky {
	min-height: calc(100vh - var(--header-h));
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 28px;
	padding: 24px;
}
.phones-panel .phone { width: min(210px, 46%); }
.counters { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 24px; margin: 10px 0 28px; }
.counters strong { display: block; color: var(--green); font-size: 54px; line-height: 1; font-weight: 700; }
.counters span { display: block; color: var(--navy); font-size: 16px; font-weight: 700; margin-top: 6px; }
.split-copy h3 { color: var(--green); font-size: 26px; }

.team-panel {
	display: grid;
	grid-template-columns: 1fr 1fr;
	align-content: center;
	gap: 28px 12px;
	padding: 64px 6vw;
}
.team-panel figure { margin: 0; text-align: center; color: #fff; }
.team-panel figure.is-center { grid-column: 1 / -1; justify-self: center; width: 50%; }
.team-panel img { width: 150px; height: 150px; object-fit: cover; border-radius: 50%; }
.team-panel figcaption { margin-top: 8px; font-size: 16px; line-height: 1.3; }
.team-panel strong { display: block; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 36px; text-align: center; }
.step-icon {
	width: 74px;
	height: 74px;
	margin: 0 auto 14px;
	border-radius: 50%;
	background: var(--green);
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
}
.steps h3 { font-size: 18px; }
.stores { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.stores img { width: 150px; height: auto; }

.page-head, .account-bar { background: var(--green); padding: 136px 0 36px; }
.page-head h1, .account-bar h1 { color: #fff; margin: 0; font-size: 22px; font-weight: 700; }
.notice { background: #fff8d8; border-left: 4px solid #e0b000; padding: 14px 16px; }
.ordre-notice { background: #fff2b2; color: #846534; padding: 27px; border: 0; }
.ordre-form { margin-top: 27px; }
.ordre-form .btn { background: var(--green); }
.ordre-form .btn:hover { background: #62ad24; }
.notice.is-ok { background: #eef8e4; border-color: var(--green); }
.notice.is-error { background: #fdecea; border-color: #c0392b; }
.legal { color: var(--muted); }
.legal p { margin: 0 0 1em; }
.stack-form, #loginform { display: grid; gap: 14px; }
.stack-form label, #loginform label { display: grid; gap: 6px; color: var(--muted); font-weight: 400; }
#loginform .login-remember label { display: flex; align-items: center; justify-content: flex-start; gap: 8px; }
#loginform .login-remember input { width: 16px; height: 16px; margin: 0; flex: 0 0 auto; }
.stack-form input, .stack-form textarea, #loginform input[type="text"], #loginform input[type="password"] {
	font: inherit;
	padding: 12px 14px;
	border: 0;
	border-radius: 2px;
	background: #eceeef;
	width: 100%;
	color: var(--navy);
}
.stack-form .check { display: flex; gap: 8px; align-items: flex-start; }
.stack-form .check input {
	width: auto;
	height: 13px;
	padding: 0;
	margin-top: calc((1lh - 13px) / 2);
}
.contact-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 48px; align-items: start; }
.social-icons { display: flex; gap: 10px; }
.social-icons a {
	width: 48px;
	height: 48px;
	border: 1px solid #d5dadd;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #8aa0ab;
	text-decoration: none;
	font-weight: 800;
}

.account-layout { display: grid; grid-template-columns: 240px 1fr; gap: 28px; }
.account-content.wide { grid-column: 1 / -1; max-width: 640px; }
.account-nav { display: grid; align-content: start; background: #fff; border: 1px solid #e3e8e8; }
.account-nav a { padding: 12px 14px; text-decoration: none; border-bottom: 1px solid #e3e8e8; font-weight: 700; color: var(--navy); }
.account-nav a.is-active, .account-nav a:hover { background: var(--green); color: #fff; }
.video-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.hello { font-size: 1.15rem; color: var(--navy); }

.site-footer { background: var(--navy); color: #fff; padding: 28px 0 18px; }
.footer-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 28px; text-align: center; }
.footer-nav a, .vetaid-footer-credit a { color: #fff; text-decoration: none; }
.vetaid-footer-credit { text-align: center; font-size: 14px; padding: 16px 0 4px; font-family: Inter, sans-serif; }
.vetaid-footer-credit a { display: inline-block; margin-left: 4px; font-size: 16px; font-weight: 900; }
.vetaid-footer-credit a span { font-size: 12px; font-weight: 200; text-transform: uppercase; letter-spacing: .02em; }

.to-top {
	position: fixed;
	z-index: 40;
	right: 15px;
	bottom: 15px;
	width: 50px;
	height: 50px;
	padding: 0;
	border: 0;
	border-radius: 4px;
	background: rgba(0, 0, 0, .3);
	color: #fff;
	cursor: pointer;
	opacity: 0;
	pointer-events: none;
	transform: translateY(20px);
	transition: opacity .25s, transform .25s;
}
.to-top.is-visible { opacity: 1; pointer-events: auto; transform: none; }
.to-top svg { display: block; margin: 0 auto; }

@media (min-width: 981px) {
	body.is-compact { --header-h: 60px; }
	body.is-compact .logo img { height: 50px; }
}
@media (max-width: 980px) {
	:root { --header-h: 76px; }
	.hero { min-height: 0; padding: 112px 0 48px; }
	.hero-grid { grid-template-columns: 1fr; }
	.hero-phone { width: min(270px, 100%); justify-self: center; }
	.hero-phone .phone { width: 100%; }
	.hero-phone .phone-dots { position: static; margin-top: 16px; }
	.page-head, .account-bar { padding: 112px 0 28px; }
	.header-tools { display: flex; }
	.header-tools .lang-switch { width: 44px; height: 44px; padding: 0; }
	.header-tools .lang-switch img { width: 22px; height: 15px; }
	.site-nav .lang-switch { display: none; }
	.nav-toggle { display: inline-flex; }
	.site-nav {
		display: none;
		position: absolute;
		left: 0;
		right: 0;
		top: var(--header-h);
		background: #fff;
		padding: 8px 0 20px;
		flex-direction: column;
		align-items: stretch;
		box-shadow: 0 16px 32px rgba(1, 36, 59, .12);
		border-top: 1px solid #e6ecec;
	}
	.site-nav.is-open { display: flex; }
	.site-nav > a { padding: 14px 24px; font-size: 18px; }
	.site-nav .account-btn { margin: 12px 24px 0; text-align: center; }
	.footer-nav { flex-direction: column; align-items: center; gap: 12px; }
	.hero-grid, .split-screen, .steps, .contact-grid, .account-layout, .video-grid, .counters { grid-template-columns: 1fr; }
	.split-sticky, .phones-panel .split-sticky { position: static; min-height: 0; }
	.phones-panel .split-sticky { padding: 36px 16px; }
	.team-panel figure.is-center { width: auto; }
	.phones-panel .split-sticky { padding: 36px 16px; }
}
