/* Tipografija ir forma – iš alytauspramone.lt (Outfit, „pill“ mygtukai); spalvos – iš renginio vizualo */

:root {
	--accent: #f2b22e;      /* geltona iš vizualo */
	--accent-ink: #0e6b55;  /* žalia – akcentai ant šviesaus fono */
	--green: #0e4a3e;
	--black: #081c25;       /* tamsi vizualo mėlyna */
	--white: #fff;
	--sand: #f7efe2;        /* kreminė iš vizualo */
	--muted: rgba(8, 28, 37, .6);
	--line: rgba(8, 28, 37, .12);
	--container: 1300px;
	--gutter: clamp(20px, 5vw, 60px);
	--section: clamp(60px, 9vw, 130px);
	--strip-h: 68px;
	--header-h: 62px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
	margin: 0;
	font-family: "Outfit", system-ui, sans-serif;
	font-size: 17px;
	line-height: 26px;
	color: var(--black);
	background: var(--white);
	-webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }

h1 {
	font-size: clamp(42px, 6.4vw, 90px);
	line-height: 1.1;
	font-weight: 600;
	letter-spacing: -.03em;
}
h1 span { color: var(--accent-ink); }

h2 {
	font-size: clamp(30px, 3.6vw, 52px);
	line-height: 1.1;
	font-weight: 300;
	letter-spacing: -.03em;
}

h3 {
	font-size: clamp(22px, 2vw, 28px);
	line-height: 1.2;
	font-weight: 500;
	letter-spacing: -.03em;
}

.container {
	width: 100%;
	max-width: calc(var(--container) + var(--gutter) * 2);
	margin: 0 auto;
	padding: 0 var(--gutter);
}

/* Header, įžanga ir įmonių juosta – per visą ekrano plotį, prie kraštų */
.container--wide { max-width: none; }

.eyebrow {
	margin-bottom: 14px;
	font-size: 14px;
	line-height: 1;
	font-weight: 500;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: var(--accent-ink);
}
.contacts /* Header, įžanga ir įmonių juosta – per visą ekrano plotį, prie kraštų */
.container--wide { max-width: none; }

.eyebrow { color: var(--accent); }

.btn {
	display: inline-block;
	padding: 14px 30px;
	border-radius: 200px;
	background: var(--accent);
	color: var(--black);
	font-size: 16px;
	font-weight: 500;
	text-decoration: none;
	transition: background .25s, color .25s;
}
.btn:hover { background: var(--black); color: var(--white); }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* Header – juoda juosta virš banerio */
.site-header {
	position: relative;
	z-index: 10;
	background: var(--black);
	color: var(--white);
}
.site-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	padding-top: 20px;
	padding-bottom: 20px;
}
.site-header__logo {
	font-size: 22px;
	font-weight: 500;
	letter-spacing: -.02em;
	text-decoration: none;
}
.site-header__nav { display: flex; gap: 30px; }
.site-header__nav a {
	font-size: 16px;
	font-weight: 500;
	text-decoration: none;
	transition: color .2s;
}
.site-header__nav a:hover { color: var(--accent); }

/* Baneris 16:9 */
/* Vizuale jau yra tekstas – rodom visą, nekarpom */
.hero { background: linear-gradient(#081c25, #0d3036 55%, #0e4a3e); }
.hero__img {
	width: 100%;
	/* telpa į ekraną: per visą plotį, bet ne aukščiau už langą (minus header) */
	height: min(56.25vw, calc(100svh - var(--header-h)));
	object-fit: contain;
}

/* Įžanga */
.intro { padding: var(--section) 0; }
.intro__grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(340px, 520px);
	gap: clamp(40px, 7vw, 110px);
	align-items: center;
}
.lead.lead--small { margin-top: -16px; font-size: 17px; }
.lead {
	max-width: 75ch;
	margin: 28px 0 36px;
	font-size: clamp(18px, 1.5vw, 21px);
	line-height: 1.55;
	font-weight: 300;
}

.date-card {
	padding: clamp(30px, 3.5vw, 46px);
	border-radius: 24px;
	background: var(--accent);
	color: var(--black);
}
.date-card__label {
	font-size: 14px;
	line-height: 1;
	font-weight: 500;
	letter-spacing: .08em;
	text-transform: uppercase;
}
.date-card__day {
	margin-top: 10px;
	font-size: clamp(72px, 7vw, 124px);
	white-space: nowrap;
	line-height: .9;
	font-weight: 600;
	letter-spacing: -.05em;
}
.date-card__month {
	margin-top: 10px;
	font-size: clamp(24px, 2.2vw, 30px);
	line-height: 1.2;
	font-weight: 500;
	letter-spacing: -.03em;
}
.date-card__meta {
	margin-top: 28px;
	padding-top: 22px;
	border-top: 1px solid rgba(0, 0, 0, .25);
	display: grid;
	gap: 10px;
}
.date-card__meta div { display: flex; justify-content: space-between; gap: 20px; }
.date-card__meta dt { font-weight: 300; }
.date-card__meta dd { font-weight: 500; text-align: right; }

/* Įmonių juosta */
.companies {
	position: sticky;
	top: 0;
	z-index: 5;
	background: var(--black);
	color: var(--white);
}
.companies__inner {
	display: flex;
	align-items: center;
	gap: 24px;
	min-height: var(--strip-h);
}
.companies__label {
	flex: none;
	font-size: 14px;
	font-weight: 500;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, .6);
}
.companies__list {
	display: flex;
	gap: 10px;
	padding: 14px 0;
	overflow-x: auto;
	scrollbar-width: none;
}
.companies__list::-webkit-scrollbar { display: none; }
.chip {
	display: block;
	padding: 7px 20px;
	border: 1px solid rgba(255, 255, 255, .35);
	border-radius: 200px;
	font-size: 16px;
	font-weight: 500;
	white-space: nowrap;
	text-decoration: none;
	transition: background .2s, border-color .2s, color .2s;
}
.chip:hover { border-color: var(--white); }
.chip.is-active {
	background: var(--accent);
	border-color: var(--accent);
	color: var(--black);
}

/* Programa */
.program { padding: var(--section) 0; }
.section-head { margin-bottom: clamp(30px, 4vw, 56px); }
.program__head {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 24px;
}

.day-filter { display: flex; flex-wrap: wrap; gap: 8px; }
.day-filter button {
	padding: 9px 20px;
	border: 1px solid var(--black);
	border-radius: 200px;
	background: none;
	color: var(--black);
	font: 500 16px/1.2 inherit;
	font-family: inherit;
	cursor: pointer;
	transition: background .2s, color .2s;
}
.day-filter button:hover, .day-filter button.is-active { background: var(--black); color: var(--white); }

.program__list { display: grid; gap: 24px; }

.event {
	border: 1px solid var(--line);
	border-radius: 24px;
	overflow: hidden;
	background: var(--white);
	scroll-margin-top: calc(var(--strip-h) + 20px);
	transition: border-color .3s, box-shadow .3s;
}
.event[hidden] { display: none; }
.event.is-active { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); }

.event__head {
	display: flex;
	align-items: center;
	gap: clamp(16px, 2.5vw, 30px);
	padding: clamp(20px, 2.5vw, 30px);
	background: var(--sand);
}
.event__logo {
	flex: none;
	display: grid;
	place-items: center;
	width: clamp(110px, 13vw, 190px);
	aspect-ratio: 16 / 10;
	padding: 12px;
	border-radius: 16px;
	background: var(--white);
}
.event__logo--dark { background: var(--black); }
.event__logo img { width: 100%; height: 100%; object-fit: contain; }

.event__meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.event__meta li, .event__times li {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	padding: 5px 14px;
	border-radius: 200px;
	background: var(--white);
	font-size: 15px;
	line-height: 1.3;
}
.event svg { flex: none; width: 17px; height: 17px; fill: none; stroke: var(--accent-ink); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.event__content {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(260px, 380px);
}
.event__text { padding: clamp(20px, 2.5vw, 34px); }
.event__text p + p { margin-top: 16px; }
.event__text p { max-width: 70ch; }
.event__note {
	padding: 12px 16px;
	border-left: 3px solid var(--accent);
	border-radius: 0 10px 10px 0;
	background: rgba(242, 178, 46, .14);
	font-weight: 500;
}

.event__side { border-left: 1px solid var(--line); display: flex; flex-direction: column; }
.event__img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.event__reg { padding: clamp(20px, 2.5vw, 30px); display: grid; gap: 12px; align-content: start; }
.event__reg /* Header, įžanga ir įmonių juosta – per visą ekrano plotį, prie kraštų */
.container--wide { max-width: none; }

.eyebrow { margin: 0; }
.event__times { display: flex; flex-wrap: wrap; gap: 8px; }
.event__times li { background: var(--sand); font-weight: 500; }
.event__reg-status {
	padding: 12px 16px;
	border-radius: 12px;
	background: var(--sand);
	font-size: 15px;
	color: var(--muted);
}

/* Sąlygos */
.terms {
	padding: var(--section) 0;
	background: var(--sand);
}
.terms__blocks {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 20px;
}
.terms__block {
	padding: clamp(24px, 3vw, 40px);
	border-radius: 24px;
	background: var(--white);
}
.terms__num { font-size: 14px; font-weight: 500; color: var(--accent-ink); }
.terms__block h3 { margin: 20px 0 12px; }
.terms__list {
	margin-top: clamp(40px, 5vw, 70px);
	columns: 2;
	column-gap: clamp(30px, 5vw, 80px);
}
.terms__list li {
	break-inside: avoid;
	padding: 18px 0;
	border-top: 1px solid var(--line);
	font-size: 16px;
	line-height: 1.55;
}
.terms__list strong { font-weight: 600; }

/* Kontaktai */
.contacts {
	padding: var(--section) 0 30px;
	background: linear-gradient(160deg, var(--black) 40%, var(--green));
	color: var(--white);
}
.contacts__top {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: flex-end;
	gap: 24px;
	margin-bottom: clamp(30px, 4vw, 56px);
}
.team {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 20px;
}
.team li {
	display: flex;
	flex-direction: column;
	gap: 6px;
	padding: 24px;
	border: 1px solid rgba(255, 255, 255, .15);
	border-radius: 20px;
}
.team h3 { font-size: 20px; }
.team p { margin-bottom: 10px; font-size: 15px; line-height: 1.45; font-weight: 300; color: rgba(255, 255, 255, .65); }
.team a { font-size: 15px; text-decoration: none; overflow-wrap: anywhere; transition: color .2s; }
.team a:hover { color: var(--accent); }

.social { display: flex; gap: 10px; }
.social a {
	display: grid;
	place-items: center;
	width: 48px;
	height: 48px;
	border: 1px solid rgba(255, 255, 255, .35);
	border-radius: 50%;
	transition: background .2s, border-color .2s, color .2s;
}
.social a:hover { background: var(--accent); border-color: var(--accent); color: var(--black); }
.social svg { width: 22px; height: 22px; }

.contacts__bottom {
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 10px 30px;
	margin-top: var(--section);
	padding-top: 24px;
	border-top: 1px solid rgba(255, 255, 255, .15);
	font-size: 15px;
	color: rgba(255, 255, 255, .6);
}
.contacts__bottom a { text-decoration: none; transition: color .2s; }
.contacts__bottom a:hover { color: var(--white); }

/* Desktop: visi dalyviai matomi iškart – mygtukai keliasi į kitą eilutę */
/* Registracija: laikai kortelėje */
.event__reg-hint { font-size: 15px; color: var(--muted); }
.event__reg-day { margin-top: 4px; font-size: 15px; font-weight: 600; }
.slots { display: flex; flex-wrap: wrap; gap: 8px; }
.slot {
	display: grid;
	min-width: 112px;
	padding: 9px 16px;
	border: 1px solid var(--black);
	border-radius: 14px;
	background: var(--white);
	color: var(--black);
	font-family: inherit;
	text-align: left;
	cursor: pointer;
	transition: background .2s, color .2s, border-color .2s;
}
.slot__time { font-size: 19px; font-weight: 600; line-height: 1.2; }
.slot__left { font-size: 13px; color: var(--muted); }
.slot:hover:not(:disabled) { background: var(--accent); border-color: var(--accent); }
.slot:disabled { border-color: var(--line); color: var(--muted); cursor: not-allowed; text-decoration: line-through; }

/* Registracijos langas */
.reg-modal {
	width: min(560px, calc(100% - 32px));
	max-height: calc(100dvh - 32px);
	padding: 0;
	border: 0;
	border-radius: 24px;
	color: var(--black);
}
.reg-modal [hidden] { display: none !important; }
.reg-modal::backdrop { background: rgba(8, 28, 37, .7); }
.reg-form, .reg-done { position: relative; display: grid; gap: 14px; padding: clamp(24px, 4vw, 40px); }
.reg-modal h2 { font-weight: 500; font-size: clamp(26px, 3vw, 34px); }
.reg-modal .eyebrow { margin: 0; }
.reg-form__slot { font-weight: 500; color: var(--accent-ink); }
.reg-modal__close {
	position: absolute;
	top: 14px;
	right: 14px;
	width: 40px;
	height: 40px;
	border: 0;
	border-radius: 50%;
	background: var(--sand);
	font-size: 24px;
	line-height: 1;
	cursor: pointer;
}
.reg-form__fields { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.reg-form label { display: grid; gap: 4px; font-size: 14px; font-weight: 500; }
.reg-form input:not([type=checkbox]) {
	width: 100%;
	padding: 11px 14px;
	border: 1px solid var(--line);
	border-radius: 12px;
	font: 16px/1.3 inherit;
	font-family: inherit;
	color: var(--black);
}
.reg-form input:focus { outline: 2px solid var(--accent); border-color: transparent; }
.reg-form .is-invalid { border-color: #c8372d !important; }
.reg-form .reg-form__check { display: flex; align-items: flex-start; gap: 10px; font-weight: 400; line-height: 1.45; }
.reg-form__check input { margin-top: 3px; width: 18px; height: 18px; accent-color: var(--accent-ink); flex: none; }
.reg-form__check input.is-invalid { outline: 2px solid #c8372d; }
.reg-form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.reg-form__error { padding: 10px 14px; border-radius: 10px; background: rgba(200, 55, 45, .1); color: #c8372d; font-size: 15px; }
.reg-form__submit, .reg-done .btn { justify-self: start; border: 0; cursor: pointer; font-family: inherit; }
.reg-form__submit:disabled { opacity: .6; cursor: wait; }
.reg-done .muted { color: var(--muted); }

@media (max-width: 520px) {
	.reg-form__fields { grid-template-columns: 1fr; }
}

@media (min-width: 1000px) {
	.companies__inner { min-height: 84px; }
	.companies__list { flex: 1; flex-wrap: wrap; justify-content: space-between; gap: 8px; overflow: visible; }
	.chip { padding: 10px 20px; font-size: 17px; }
	.companies__label { font-size: 15px; }
	.event { scroll-margin-top: 170px; }
}

@media (min-width: 1000px) and (max-width: 1499px) {
	.companies__label { display: none; }
}

@media (max-width: 999px) {
	.intro__grid { grid-template-columns: minmax(0, 1fr); }
	.date-card { max-width: 460px; }
	.event__content { grid-template-columns: minmax(0, 1fr); }
	.event__side { border-left: 0; border-top: 1px solid var(--line); }
	.event__img { aspect-ratio: 16 / 9; }
	.terms__blocks { grid-template-columns: minmax(0, 1fr); }
	.terms__list { columns: 1; }
	.team { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 690px) {
	.site-header__inner { padding-top: 18px; padding-bottom: 18px; }
	.site-header__logo { font-size: 18px; }
	.site-header__nav { display: none; }
	.companies__label { display: none; }
	.companies__inner { padding-right: 0; }
	.companies__list { padding-right: var(--gutter); }
	.event__head { align-items: flex-start; flex-direction: column; }
	.team { grid-template-columns: minmax(0, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	* { transition: none !important; }
}

/* Logotipo vieta, kol įmonė jo neatsiuntė */
.event__logo--text {
	font-size: 15px;
	font-weight: 600;
	line-height: 1.15;
	text-align: center;
	color: var(--accent-ink);
	overflow-wrap: anywhere;
}

/* Kortelė be aprašymo: nuotrauka ir registracija per visą plotį */
.event__content--side { grid-template-columns: minmax(0, 1fr); }
.event__content--side .event__side { border-left: 0; flex-direction: row; }
.event__content--side .event__img { width: 50%; }
.event__content--side .event__reg { flex: 1; }
@media (max-width: 690px) {
	.event__content--side .event__side { flex-direction: column; }
	.event__content--side .event__img { width: 100%; }
}

/* Bilieto numeris sėkmės lange */
.reg-done__ticket {
	justify-self: start;
	padding: 14px 22px;
	border: 2px solid var(--accent);
	border-radius: 14px;
}
.reg-done__ticket span { display: block; font-size: 13px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.reg-done__ticket strong { font-size: 34px; line-height: 1.1; font-weight: 600; color: var(--accent-ink); }
