/* Timiton Site Chrome — inner pages: page hero band + forms (Figma 645:189 / 619:25051 / 624:25350 + thank-you states). RTL-first. */

.tsc-pg {
	--tsc-white: #fdfdfc;
	--tsc-black: #15191d;
	--tsc-dark: #343434;
	--tsc-grey: #6d707d;
	--tsc-stroke: #d3dce9;
	--tsc-fill: #f4f4f2;
	--tsc-pg-blue: #122d62;
	--tsc-pg-light: #e3f1fe;
	--tsc-pg-shape: #6487cf;
	--tsc-pg-title: var(--tsc-pg-blue);
	--tsc-pg-btn: var(--tsc-pg-blue);
	--tsc-pg-btn-text: var(--tsc-white);
	--tsc-pg-stroke: var(--tsc-stroke);
	--tsc-pg-error: #c0392b;
	--tsc-fast: 150ms;
	--tsc-med: 220ms;
	--tsc-ease: cubic-bezier(.4, 0, .2, 1);
	font-family: "Rubik", sans-serif;
	direction: rtl;
	color: var(--tsc-dark);
	-webkit-font-smoothing: antialiased;
}
@media (prefers-reduced-motion: reduce) {
	.tsc-pg * {
		animation-duration: .01ms !important; animation-iteration-count: 1 !important;
		transition-duration: .01ms !important; scroll-behavior: auto !important;
	}
}

/* ---- theme resets (hello-elementor + the kit style inputs/buttons/headings globally) ---- */
.tsc-pg * { box-sizing: border-box; }
.tsc-pg p, .tsc-pg h1, .tsc-pg h2, .tsc-pg ol, .tsc-pg figure { margin: 0; padding: 0; }
.tsc-pg ol { list-style: none; }
.tsc-pg a { text-decoration: none; color: inherit; }
.tsc-pg img { display: block; max-width: none; border: 0; box-shadow: none; }
.tsc-pg [hidden] { display: none !important; }
.tsc-pg :focus-visible { outline: 2px solid #2870b7; outline-offset: 2px; }
.tsc-pg button,
.tsc-pg input,
.tsc-pg select,
.tsc-pg textarea {
	appearance: none; -webkit-appearance: none; margin: 0; font: inherit; color: inherit;
	letter-spacing: 0; text-transform: none; box-shadow: none; min-height: 0;
}
.tsc-pg button { background: none; border: 0; border-radius: 0; padding: 0; cursor: pointer; line-height: normal; }

/* ================================ PAGE HERO ================================ */

.tsc-pg-hero {
	position: relative; overflow: hidden; isolation: isolate;
	min-height: 276px; background: var(--tsc-pg-hero-bg, var(--tsc-pg-light));
}
.tsc-pg-hero__deco { position: absolute; inset: 0; direction: ltr; pointer-events: none; z-index: 0; }
.tsc-pg-hero__deco img { position: absolute; }
.tsc-pg-hero__blob-tl { left: 0; top: -13px; width: 52px; height: 80px; }
.tsc-pg-hero__blob-bl { left: 0; bottom: 0; width: 219px; height: 65px; }
.tsc-pg-hero__dot-sm { left: 77px; top: 146px; width: 19px; height: 19px; }
.tsc-pg-hero__dot-lg { left: 26px; top: 169px; width: 31px; height: 31px; }
/* Figma positions are 1440-relative: the plane + its dashed path hang off the right edge. */
.tsc-pg-hero__path { right: 192px; top: 156px; width: 957px; height: 224px; }
.tsc-pg-hero__plane { right: 110px; top: 92px; width: 80px; height: 51px; }

.tsc-pg-hero__inner {
	position: relative; z-index: 1;
	display: flex; flex-direction: column; align-items: center; gap: 8px;
	max-width: 1440px; margin-inline: auto; padding: 24px 48px 48px;
}
.tsc-pg-hero__meta { display: flex; align-items: center; justify-content: space-between; width: 100%; min-height: 48px; font-size: 16px; line-height: 25px; color: var(--tsc-black); }
.tsc-pg-hero__bc ol { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; min-height: 48px; }
.tsc-pg-hero__bc li { display: flex; align-items: center; white-space: nowrap; }
.tsc-pg-hero__bc li + li::before { content: "/"; margin-inline-end: 16px; }
.tsc-pg-hero__bc li.is-current { font-weight: 600; }
.tsc-pg-hero__bc a { transition: color var(--tsc-fast) ease; }
.tsc-pg-hero__bc a:hover { color: var(--tsc-pg-blue); text-decoration: underline; text-underline-offset: 4px; }
.tsc-pg-hero__updated { white-space: nowrap; }
.tsc-pg-hero__text { display: flex; flex-direction: column; align-items: center; gap: 8px; width: 100%; text-align: center; color: var(--tsc-pg-title); }
.tsc-pg .tsc-pg-hero__title { font-size: 64px; font-weight: 700; line-height: 1.15; color: var(--tsc-pg-title); text-align: center; }
.tsc-pg .tsc-pg-hero__sub { font-size: 28px; font-weight: 400; line-height: 1.2; color: var(--tsc-pg-title); }
.tsc-pg-hero--plain { min-height: 0; }
/* fade-out when the form flips to its thank-you state (tsc-pages.js) */
.tsc-pg-hero { transition: opacity var(--tsc-med) var(--tsc-ease); }
.tsc-pg-hero.is-gone { opacity: 0; }

@media (max-width: 1280px) and (min-width: 1025px) {
	.tsc-pg-hero__path { display: none; }
	.tsc-pg-hero__plane { right: 48px; }
	.tsc-pg-hero__inner { padding-inline: 32px; }
}
@media (max-width: 1024px) {
	.tsc-pg-hero { min-height: 0; }
	.tsc-pg-hero__path, .tsc-pg-hero__plane { display: none; }
	.tsc-pg-hero__blob-tl { width: 32px; height: 49px; top: -8px; }
	.tsc-pg-hero__blob-bl { width: 131px; height: 39px; }
	.tsc-pg-hero__dot-sm { display: none; }
	.tsc-pg-hero__dot-lg { width: 16px; height: 16px; left: 44px; bottom: 52px; top: auto; }
	.tsc-pg-hero__inner { padding: 16px 24px 32px; gap: 16px; }
	.tsc-pg-hero__meta { flex-direction: column; align-items: flex-start; gap: 4px; min-height: 0; font-size: 14px; line-height: 21px; }
	.tsc-pg-hero__bc ol { gap: 8px; min-height: 0; }
	.tsc-pg-hero__bc li + li::before { margin-inline-end: 8px; }
	.tsc-pg-hero__updated { font-size: 12px; color: var(--tsc-grey); }
	.tsc-pg .tsc-pg-hero__title { font-size: 32px; }
	.tsc-pg .tsc-pg-hero__sub { font-size: 18px; line-height: 1.4; }
}

/* ================================ FORM PAGE ================================ */

.tsc-pg--form { padding: 48px 48px 64px; }
.tsc-pg__inner { display: flex; align-items: center; justify-content: center; gap: 64px; max-width: 1344px; margin-inline: auto; }
/* DOM order is media → form; in RTL the first item sits on the right, so "end" = image on the left */
.tsc-pg--img-end .tsc-pg__media { order: 2; }
.tsc-pg__media { flex: 0 0 500px; width: 500px; height: 499px; overflow: hidden; }
.tsc-pg .tsc-pg__img { width: 100%; height: 100%; object-fit: cover; }

.tsc-form-col { flex: 0 0 414px; width: 414px; display: flex; flex-direction: column; align-items: flex-start; gap: 64px; }
.tsc-form { display: flex; flex-direction: column; gap: 34px; width: 100%; }
.tsc-form__fields { display: flex; flex-direction: column; gap: 24px; width: 100%; }
.tsc-form__field { display: flex; flex-direction: column; align-items: stretch; gap: 4px; width: 100%; }
/* the kit paints every <label> white (form-on-dark preset) — pin ours */
.tsc-pg label { color: var(--tsc-dark) !important; }
.tsc-pg .tsc-form__label { display: block; font-size: 14px; line-height: 21.6px; font-weight: 400; color: var(--tsc-dark) !important; text-align: start; cursor: default; margin: 0; vertical-align: baseline; }

.tsc-pg .tsc-form__input {
	display: block; width: 100%; height: 41px; padding: 8px; border: 1.5px solid var(--tsc-pg-stroke); border-radius: 4px;
	background: var(--tsc-white); font-size: 14px; line-height: 21.6px; color: var(--tsc-black) !important; text-align: start;
	transition: border-color var(--tsc-fast) ease, box-shadow var(--tsc-fast) ease;
}
.tsc-pg .tsc-form__input::placeholder { color: var(--tsc-grey); opacity: 1; }
.tsc-pg .tsc-form__input:focus { outline: 0; border-color: #9aa9bf; box-shadow: 0 0 0 3px rgba(18, 45, 98, .08); }
.tsc-pg .tsc-form__input[aria-invalid="true"] { border-color: var(--tsc-pg-error); }
.tsc-pg .tsc-form__textarea { height: 96px; min-height: 96px; resize: vertical; }
.tsc-form__err { font-size: 12px; line-height: 16px; color: var(--tsc-pg-error); text-align: start; }
.tsc-form__err:empty { display: none; }
.tsc-form__alert {
	padding: 10px 12px; border: 1.5px solid var(--tsc-pg-error); border-radius: 4px; background: #fdf3f2;
	font-size: 14px; line-height: 21.6px; color: var(--tsc-pg-error); text-align: start;
}
.tsc-form__hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* selects (phone prefix / delivery): chevron = the header's arrow asset, rotated like the Figma */
.tsc-form__select-wrap { position: relative; display: block; min-width: 0; }
.tsc-pg .tsc-form__select { cursor: pointer; padding-inline-end: 8px; padding-inline-start: 36px; }
.tsc-pg .tsc-form__select--accent { color: var(--tsc-pg-blue) !important; }
.tsc-form__chev { position: absolute; top: 50%; inset-inline-start: 8px; width: 20px; height: 20px; transform: translateY(-50%) rotate(-90deg); pointer-events: none; }

/* phone: Figma puts the prefix box on the LEFT and the number on the right */
.tsc-form__phone { display: flex; flex-direction: row-reverse; align-items: flex-start; gap: 4px; width: 100%; }
.tsc-form__select-wrap--prefix { flex: 0 0 auto; }
.tsc-pg .tsc-form__select-wrap--prefix .tsc-form__select { width: 78px; padding-inline-start: 32px; }
.tsc-form__phone .tsc-form__input--phone { flex: 1 1 auto; min-width: 0; }

/* delivery: label on the right, dropdown fills the left */
.tsc-form__field--inline { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 24px; }
.tsc-form__field--inline .tsc-form__label { flex: 0 0 auto; }
.tsc-form__field--inline .tsc-form__select-wrap { flex: 1 1 0; }
.tsc-form__field--inline .tsc-form__err { flex-basis: 100%; }

/* consent (circle check like the Figma "check box") */
.tsc-form__field--consent { gap: 4px; }
.tsc-form__check { position: relative; display: flex; align-items: center; gap: 8px; cursor: pointer; font-size: 14px; line-height: 21.6px; color: var(--tsc-dark); margin: 0; }
.tsc-pg .tsc-form__check input { position: absolute; top: 0; inset-inline-start: 0; width: 20px; height: 20px; margin: 0; opacity: 0; cursor: pointer; }
.tsc-form__check-box {
	position: relative; flex: 0 0 20px; width: 20px; height: 20px; border: 1.5px solid var(--tsc-black); border-radius: 50%;
	background: var(--tsc-white); transition: background-color var(--tsc-fast) ease, border-color var(--tsc-fast) ease;
}
.tsc-form__check-box::after {
	content: ""; position: absolute; left: 6px; top: 2.5px; width: 5px; height: 9px;
	border: solid var(--tsc-white); border-width: 0 2px 2px 0; transform: rotate(45deg) scale(0); transition: transform var(--tsc-fast) ease;
}
.tsc-form__check input:checked + .tsc-form__check-box { background: var(--tsc-pg-btn); border-color: var(--tsc-pg-btn); }
.tsc-form__check input:checked + .tsc-form__check-box::after { transform: rotate(45deg) scale(1); }
.tsc-form__check input:focus-visible + .tsc-form__check-box { outline: 2px solid #2870b7; outline-offset: 2px; }
.tsc-form__check input[aria-invalid="true"] + .tsc-form__check-box { border-color: var(--tsc-pg-error); }
.tsc-form__check-text a { text-decoration: underline; text-underline-offset: 3px; }

/* submit */
.tsc-pg .tsc-form__submit {
	position: relative; display: flex; align-items: center; justify-content: center; width: 100%; height: 48px; padding: 0 24px;
	border-radius: 6px; background: var(--tsc-pg-btn); color: var(--tsc-pg-btn-text); font-size: 18px; font-weight: 500; line-height: normal;
	transition: filter var(--tsc-fast) ease, transform 100ms ease, opacity var(--tsc-fast) ease;
}
.tsc-pg .tsc-form__submit:hover { filter: brightness(1.12); background: var(--tsc-pg-btn); color: var(--tsc-pg-btn-text); }
.tsc-pg .tsc-form__submit:active { transform: translateY(1px); }
.tsc-pg .tsc-form__submit[disabled] { cursor: progress; opacity: .8; filter: none; }
.tsc-form__spinner { display: none; position: absolute; width: 18px; height: 18px; border: 2px solid rgba(253, 253, 252, .35); border-top-color: var(--tsc-pg-btn-text); border-radius: 50%; animation: tscPgSpin .8s linear infinite; }
.tsc-form.is-sending .tsc-form__spinner { display: block; }
.tsc-form.is-sending .tsc-form__submit-text { visibility: hidden; }
@keyframes tscPgSpin { to { transform: rotate(360deg); } }

/* back link row (+ optional note on its right) */
.tsc-form__back { display: flex; align-items: center; min-height: 40px; font-size: 14px; line-height: 21.6px; color: var(--tsc-dark); }
.tsc-pg .tsc-pg__link { display: inline-flex; align-items: center; height: 40px; border-radius: 4px; font-size: 16px; font-weight: 600; color: var(--tsc-black); white-space: nowrap; transition: color var(--tsc-fast) ease; }
.tsc-pg .tsc-pg__link:hover { color: var(--tsc-pg-blue); text-decoration: underline; text-underline-offset: 4px; }
.tsc-form__note + .tsc-pg__link { padding: 0 16px; }
.tsc-pg .tsc-pg__link--accent { color: var(--tsc-pg-blue); padding: 0 16px; }
.tsc-pg .tsc-pg__btn {
	display: inline-flex; align-items: center; justify-content: center; height: 40px; padding: 0 16px; border-radius: 4px;
	background: var(--tsc-pg-btn); color: var(--tsc-pg-btn-text) !important; font-size: 16px; font-weight: 600; white-space: nowrap;
	transition: filter var(--tsc-fast) ease, transform 100ms ease;
}
.tsc-pg .tsc-pg__btn:hover { filter: brightness(1.12); }
.tsc-pg .tsc-pg__btn:active { transform: translateY(1px); }

/* ---- thank-you state (swapped in by JS, or server-rendered after the no-JS fallback) ---- */
.tsc-form__state--thanks { display: none; }
.tsc-pg--form.is-thanks { padding: 120px 48px; }
.tsc-pg--form.is-thanks .tsc-form__state--form { display: none; }
.tsc-pg--form.is-thanks .tsc-form__state--thanks { display: flex; animation: tscPgIn var(--tsc-med) var(--tsc-ease) both; }
@keyframes tscPgIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.tsc-form__state--thanks:focus { outline: 0; }
.tsc-form__ty { display: flex; flex-direction: column; align-items: flex-start; gap: 90px; min-width: 0; }
.tsc-form__ty-text { display: flex; flex-direction: column; gap: 24px; text-align: start; }
.tsc-pg .tsc-form__ty-title { font-size: 64px; font-weight: 700; line-height: 1.15; color: var(--tsc-pg-title); }
.tsc-pg .tsc-form__ty-sub { font-size: 24px; line-height: 1.3; color: var(--tsc-dark); }
.tsc-form__ty-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 24px 64px; }
.tsc-form__ty-btns { display: flex; align-items: center; gap: 8px; }
.tsc-form__ty-note { display: flex; align-items: center; font-size: 16px; line-height: 25px; color: var(--tsc-dark); }
.tsc-form__ty-note .tsc-pg__link { padding: 0 16px; }

/* magazine thank-you (619:22551): tall 687×846 image, the links row sits near its bottom */
.tsc-pg--magazine .tsc-pg__media--ty { flex-basis: 687px; width: 687px; height: 846px; border-radius: 8px; }
.tsc-pg--magazine.is-thanks { padding: 40px 32px 64px; }
.tsc-pg--magazine.is-thanks .tsc-pg__inner { gap: 36px; align-items: stretch; }
.tsc-pg--magazine .tsc-form__ty { flex: 0 1 637px; justify-content: space-between; padding: 90px 0 100px; }
.tsc-pg--magazine .tsc-form__ty-text { max-width: 637px; }

@media (max-width: 1280px) and (min-width: 1025px) {
	.tsc-pg--form { padding-inline: 32px; }
	.tsc-pg__inner { gap: 40px; }
	.tsc-pg__media { flex-basis: 420px; width: 420px; height: 419px; }
	.tsc-pg--magazine .tsc-pg__media--ty { flex-basis: 520px; width: 520px; height: 640px; }
	.tsc-pg .tsc-form__ty-title { font-size: 52px; }
}

@media (max-width: 1024px) {
	.tsc-pg--form { padding: 32px 24px 48px; }
	.tsc-pg__inner { flex-direction: column; align-items: stretch; gap: 32px; }
	.tsc-pg--img-end .tsc-pg__media { order: 0; }
	.tsc-pg__media { flex-basis: auto; width: min(100%, 260px); height: auto; aspect-ratio: 1 / 1; margin-inline: auto; }
	.tsc-form-col { flex-basis: auto; width: 100%; align-items: stretch; gap: 32px; }
	.tsc-pg .tsc-form__input { font-size: 16px; } /* iOS: no zoom-on-focus */
	.tsc-pg .tsc-form__select-wrap--prefix .tsc-form__select { width: 84px; }
	.tsc-form__back { justify-content: center; }
	.tsc-form__field--inline { flex-direction: column; align-items: stretch; gap: 4px; }
	.tsc-form__field--inline .tsc-form__select-wrap { flex: 1 1 auto; }

	.tsc-pg--form.is-thanks,
	.tsc-pg--magazine.is-thanks { padding: 48px 24px 64px; }
	.tsc-pg--form.is-thanks .tsc-pg__inner { gap: 32px; align-items: stretch; }
	.tsc-pg__media--ty,
	.tsc-pg--magazine .tsc-pg__media--ty { flex-basis: auto; width: min(100%, 280px); height: auto; aspect-ratio: 1 / 1; }
	.tsc-pg--magazine .tsc-pg__media--ty { aspect-ratio: 687 / 846; }
	.tsc-form__ty,
	.tsc-pg--magazine .tsc-form__ty { flex: 1 1 auto; align-items: stretch; gap: 40px; padding: 0; }
	.tsc-pg .tsc-form__ty-title { font-size: 32px; }
	.tsc-pg .tsc-form__ty-sub { font-size: 18px; }
	.tsc-form__ty-actions { gap: 16px 24px; }
	.tsc-form__ty-note { flex-wrap: wrap; }
}

/* ---- boxed layout (Kooplink preset, Figma 553:4677): no side image, grey box 664 wide, 40px title inside ---- */
.tsc-pg--boxed .tsc-pg__inner { max-width: 664px; }
.tsc-pg--boxed .tsc-form-col {
	flex: 1 1 auto; width: 100%; max-width: 664px; align-items: stretch; gap: 24px; padding: 40px;
	background: var(--tsc-fill-light, #f8f9f9); border: 1px solid var(--tsc-pg-stroke); border-radius: 16px;
}
.tsc-pg .tsc-form__heading { font-size: 40px; font-weight: 400; line-height: normal; color: var(--tsc-pg-title); text-align: center; margin: 0; }
.tsc-pg--boxed .tsc-form { padding: 40px; gap: 24px; }
.tsc-form__schedule { display: flex; gap: 24px; width: 100%; }
.tsc-form__schedule .tsc-form__field { flex: 1 1 0; min-width: 0; }
.tsc-pg .tsc-form__input--date { cursor: pointer; }
.tsc-pg .tsc-form__input--date::-webkit-calendar-picker-indicator { opacity: .7; cursor: pointer; }
@media (max-width: 1024px) {
	.tsc-pg--boxed { padding-inline: 16px; }
	.tsc-pg--boxed .tsc-form-col { padding: 17px; }
	.tsc-pg--boxed .tsc-form { padding: 0; }
	.tsc-pg .tsc-form__heading { font-size: 28px; }
}
