/* Kasia booking modal + practitioner carousel */

.elementor-element-7aaa8e1 {
	cursor: pointer;
	transition: transform 0.2s ease, background-color 0.2s ease;
}
.elementor-element-7aaa8e1:hover {
	transform: translateY(-2px);
	background-color: #ffffff40 !important;
}

/* Consistent frosted-glass treatment for the hero bubbles and the
   Expats/About-us bubbles. Border tone differs because the hero bubbles
   sit over a dark video and the Expats/About-us bubbles sit over a flat
   pale background. */
.elementor-element-7aaa8e1,
.elementor-element-56e918f,
.elementor-element-b0b58dc {
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	border: 1px solid rgba(255, 255, 255, 0.3);
}
.elementor-element-edf31cb,
.elementor-element-3443522,
.elementor-element-a63c67a {
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	border: 1px solid rgba(0, 0, 0, 0.08);
}

/* Gentle living-background pan on the two photo sections (Elementor
   renders these as a plain CSS background-image, so we animate
   background-position rather than a transform/scale to avoid fighting
   its own background-size: cover). */
@keyframes kasia-bg-pan {
	0% { background-position: 50% 45%; }
	50% { background-position: 56% 52%; }
	100% { background-position: 44% 48%; }
}
.elementor-element-ae1516f,
.elementor-element-c126169 {
	animation: kasia-bg-pan 30s ease-in-out infinite alternate;
}

/* The theme's own scroll-entrance system (hostinger-elementor-aos) sets a
   `transform` on every container that has an Elementor "Entrance Animation"
   applied. A non-"none" transform on an element (even translateY(0) at
   rest) forces any `background-attachment: fixed` on that SAME element to
   fall back to `scroll` per spec, and separately these elements sometimes
   get stuck permanently hidden (elementor-invisible) since the theme's
   reveal script doesn't reliably clear that class. Neutralizing the
   transform here fixes both. NOTE: if entrance animations get re-applied
   to any of these elements again via the WP admin/Elementor editor (this
   has happened before, e.g. via "copy style" from one bubble to another),
   the safest fix is still to remove the "animation" setting in the
   Elementor editor (Advanced > Motion Effects > Entrance Animation > None)
   rather than relying only on this CSS override. */
.elementor-element-ae1516f,
.elementor-element-c126169,
.elementor-element-52a87a4,
.elementor-element-edf31cb,
.elementor-element-3443522,
.elementor-element-a63c67a {
	transform: none !important;
}

/* Carousel */
.kasia-carousel {
	position: relative;
	max-width: 420px;
	margin: 0 auto;
}
.kasia-carousel-track {
	display: flex;
	overflow: hidden;
	border-radius: 24px;
}
.kasia-carousel-slide {
	flex: 0 0 100%;
	text-align: center;
}
.kasia-carousel-photo-btn {
	display: block;
	width: 100%;
	padding: 0;
	border: none;
	background: none;
	cursor: pointer;
	border-radius: 24px;
	overflow: hidden;
	box-shadow: 0 10px 30px rgba(13, 20, 26, 0.18);
	transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.kasia-carousel-photo-btn:hover,
.kasia-carousel-photo-btn:focus-visible {
	transform: translateY(-4px);
	box-shadow: 0 16px 40px rgba(13, 20, 26, 0.28);
}
.kasia-carousel-photo-btn img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 4 / 5;
	object-fit: cover;
}
.kasia-carousel-caption {
	padding: 20px 8px 0;
}
.kasia-carousel-name {
	margin: 0 0 4px;
	font-family: "DMSans", sans-serif;
	font-weight: 700;
	font-size: 1.3rem;
	color: #0d141a;
}
.kasia-carousel-role {
	margin: 0 0 10px;
	color: #4a4a4a;
	font-weight: 600;
	font-size: 0.95rem;
}
.kasia-carousel-bio {
	margin: 0;
	color: #252e34;
	font-size: 0.95rem;
	line-height: 1.55;
}
.kasia-carousel-arrow {
	display: none;
	position: absolute;
	top: 40%;
	transform: translateY(-50%);
	width: 40px;
	height: 40px;
	border-radius: 50%;
	border: none;
	background: #ffffff;
	color: #00354d;
	font-size: 1.4rem;
	line-height: 1;
	cursor: pointer;
	box-shadow: 0 4px 14px rgba(13, 20, 26, 0.2);
}
.kasia-carousel-prev { left: -14px; }
.kasia-carousel-next { right: -14px; }
.kasia-carousel.has-multiple .kasia-carousel-arrow { display: block; }
.kasia-carousel-dots {
	display: none;
	justify-content: center;
	gap: 8px;
	margin-top: 14px;
}
.kasia-carousel.has-multiple .kasia-carousel-dots { display: flex; }
.kasia-carousel-dots button {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	border: none;
	background: #8f959f;
	padding: 0;
	cursor: pointer;
}
.kasia-carousel-dots button.is-active { background: #1a1a1a; }

/* Booking modal */
.kasia-modal {
	position: fixed;
	inset: 0;
	z-index: 100000;
	display: none;
	align-items: center;
	justify-content: center;
	padding: 20px;
}
.kasia-modal.is-open { display: flex; }
.kasia-modal-backdrop {
	position: absolute;
	inset: 0;
	background: rgba(13, 20, 26, 0.6);
}
.kasia-modal-dialog {
	position: relative;
	background: #ffffff;
	border-radius: 24px;
	max-width: 480px;
	width: 100%;
	max-height: 88vh;
	overflow-y: auto;
	padding: 40px 32px 32px;
	box-shadow: 0 24px 60px rgba(13, 20, 26, 0.35);
	font-family: "DMSans", sans-serif;
}
.kasia-modal-close {
	position: absolute;
	top: 14px;
	right: 16px;
	background: none;
	border: none;
	font-size: 1.8rem;
	line-height: 1;
	color: #8f959f;
	cursor: pointer;
	padding: 4px;
}
.kasia-modal-close:hover { color: #0d141a; }
.kasia-modal-dialog h2 {
	margin: 0 0 8px;
	font-size: 1.5rem;
	color: #0d141a;
}
.kasia-modal-subtitle {
	margin: 0 0 24px;
	color: #252e34;
	font-size: 0.95rem;
}
.kasia-modal-dialog .wpcf7-form p { margin: 0 0 16px; }
.kasia-modal-dialog .wpcf7-form label {
	display: block;
	font-weight: 600;
	font-size: 0.9rem;
	color: #0d141a;
	margin-bottom: 6px;
}
.kasia-modal-dialog .wpcf7-form input[type="text"],
.kasia-modal-dialog .wpcf7-form input[type="email"],
.kasia-modal-dialog .wpcf7-form input[type="tel"],
.kasia-modal-dialog .wpcf7-form input[type="date"],
.kasia-modal-dialog .wpcf7-form select {
	width: 100%;
	padding: 10px 14px;
	border: 1px solid #8f959f;
	border-radius: 12px;
	font-size: 1rem;
	font-family: inherit;
	box-sizing: border-box;
}
.kasia-modal-dialog .wpcf7-form textarea {
	width: 100%;
	padding: 10px 14px;
	border: 1px solid #8f959f;
	border-radius: 12px;
	font-size: 1rem;
	font-family: inherit;
	box-sizing: border-box;
	resize: vertical;
}
.kasia-modal-dialog .wpcf7-form input:focus-visible,
.kasia-modal-dialog .wpcf7-form textarea:focus-visible {
	outline: 2px solid #1a1a1a;
	outline-offset: 1px;
}
.kasia-field-hint {
	display: block;
	margin: 2px 0 8px;
	font-weight: 400;
	font-size: 0.85rem;
	line-height: 1.45;
	color: #5a5a5a;
}

/* Preset day/time options (replaces the old drop-down) */
.kasia-slots {
	border: 0;
	margin: 0 0 16px;
	padding: 0;
	min-width: 0;
}
.kasia-slots legend {
	padding: 0;
	margin-bottom: 8px;
	font-weight: 600;
	font-size: 0.9rem;
	color: #0d141a;
}
.kasia-modal-dialog .kasia-slots .wpcf7-form-control {
	display: flex;
	flex-direction: column;
	gap: 8px;
}
.kasia-modal-dialog .kasia-slots .wpcf7-list-item { margin: 0; }
.kasia-modal-dialog .kasia-slots label {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0;
	padding: 12px 16px;
	border: 1px solid #8f959f;
	border-radius: 14px;
	font-weight: 500;
	font-size: 1rem;
	cursor: pointer;
	transition: background-color 0.15s ease, border-color 0.15s ease;
}
.kasia-modal-dialog .kasia-slots label:hover { background: #f4f4f4; }
.kasia-modal-dialog .kasia-slots label:has(input:checked) {
	border-color: #1a1a1a;
	background: #ebebeb;
}
.kasia-modal-dialog .kasia-slots input[type="radio"] {
	margin: 0;
	accent-color: #1a1a1a;
}

/* Privacy consent tick-box (booking + contact forms) */
.kasia-consent { font-size: 0.85rem; line-height: 1.45; }
.kasia-consent .wpcf7-list-item { margin: 0; }
.kasia-modal-dialog .kasia-consent label,
.kasia-consent label {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	margin: 0;
	font-weight: 400;
	font-size: 0.85rem;
	color: inherit;
}
.kasia-consent input[type="checkbox"] {
	margin-top: 3px;
	accent-color: #1a1a1a;
}
.kasia-consent a { color: inherit; text-decoration: underline; }
.kasia-modal-dialog .wpcf7-not-valid-tip { font-size: 0.8rem; margin-top: 4px; }

.kasia-modal-dialog .wpcf7-form input[type="submit"] {
	background: #ffffff;
	color: #1a1a1a;
	border: 1px solid #1a1a1a;
	padding: 12px 28px;
	border-radius: 999px;
	font-weight: 600;
	font-size: 1rem;
	cursor: pointer;
	transition: background-color 0.2s ease;
}
.kasia-modal-dialog .wpcf7-form input[type="submit"]:hover { background: #ebebeb; }
.kasia-modal-dialog .wpcf7-form input[type="submit"]:disabled {
	opacity: 0.45;
	cursor: not-allowed;
}
.kasia-modal-dialog .wpcf7-form input[type="submit"]:disabled:hover { background: #ffffff; }
.kasia-modal-dialog .wpcf7-response-output {
	border-radius: 12px !important;
	font-size: 0.9rem;
}

@media (max-width: 480px) {
	.kasia-modal-dialog { padding: 32px 20px 24px; }
}

/* Team page profile cards */
.kasia-team-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 28px;
	max-width: 1200px;
	margin: 0 auto;
}
@media (max-width: 900px) {
	.kasia-team-grid { grid-template-columns: 1fr; }
}
.kasia-team-card {
	border: 1px solid #e7e7e7;
	border-radius: 22px;
	overflow: hidden;
	background: #ffffff;
	box-shadow: 0 14px 32px rgba(0, 0, 0, 0.08);
	transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.kasia-team-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 22px 44px rgba(0, 0, 0, 0.12);
}
.kasia-team-card--placeholder {
	border-style: dashed;
	border-color: #d6d6d6;
	background: #fafafa;
	box-shadow: none;
}
.kasia-team-photo {
	height: 280px;
	overflow: hidden;
}
.kasia-team-photo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	filter: grayscale(1);
}
.kasia-team-photo--placeholder {
	display: flex;
	align-items: center;
	justify-content: center;
	background: #efefef;
}
.kasia-team-body {
	padding: 28px;
	font-family: "DMSans", sans-serif;
}
.kasia-team-name {
	font-size: 19px;
	font-weight: 700;
	color: #1a1a1a;
}
.kasia-team-name--placeholder { color: #8a8a8a; }
.kasia-team-role {
	margin-top: 4px;
	font-size: 13px;
	font-weight: 600;
	color: #4a4a4a;
}
.kasia-team-role--placeholder { color: #b0b0b0; }
.kasia-team-bio {
	margin: 10px 0 0;
	font-size: 14px;
	line-height: 1.6;
	color: #5a5a5a;
}
.kasia-team-bio--placeholder { color: #b0b0b0; }
.kasia-team-tags {
	display: flex;
	gap: 8px;
	flex-wrap: wrap;
	margin-top: 12px;
}
.kasia-team-tags span {
	border: 1px solid #e2e2e1;
	color: #4a4a4a;
	padding: 6px 14px;
	border-radius: 999px;
	font-size: 12px;
}
.kasia-team-btn {
	display: inline-block;
	margin-top: 16px;
	background: #ffffff;
	color: #1a1a1a;
	border: 1px solid #1a1a1a;
	padding: 12px 22px;
	border-radius: 999px;
	font-size: 13px;
	font-weight: 700;
	font-family: inherit;
	cursor: pointer;
	transition: background-color 0.15s ease;
}
.kasia-team-btn:hover { background: #ebebeb; }

/* About page: frosted card wrapping the second paragraph + tags + actions */
.kasia-about-card {
	background: rgba(255, 255, 255, 0.55);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	border: 1px solid rgba(0, 0, 0, 0.08);
	border-radius: 32px;
	padding: 48px;
	box-shadow: 0 18px 40px rgba(0, 0, 0, 0.08);
	font-family: "DMSans", sans-serif;
	text-align: center;
}
.kasia-about-card-text {
	margin: 0;
	font-size: 17px;
	line-height: 1.7;
	color: #1a1a1a;
}
.kasia-about-card-text a {
	color: #1a1a1a;
	text-decoration: underline;
	text-decoration-color: rgba(0, 0, 0, 0.35);
}
.kasia-about-card-text a:hover { text-decoration-color: #1a1a1a; }
.kasia-about-tags {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 20px;
}
.kasia-about-tags span {
	border: 1px solid #d6d6d6;
	color: #4a4a4a;
	padding: 8px 16px;
	border-radius: 999px;
	font-size: 13px;
}
.kasia-about-actions {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	gap: 14px;
	margin-top: 28px;
}
.kasia-about-btn {
	display: inline-block;
	background: #ffffff;
	color: #1a1a1a;
	border: 1px solid #1a1a1a;
	padding: 13px 26px;
	border-radius: 999px;
	font-size: 14px;
	font-weight: 700;
	text-decoration: none;
	transition: background-color 0.15s ease;
}
.kasia-about-btn:hover { background: #ebebeb; }

/* Mobile only (phones): the hero's background video is not loaded on small
   screens, which left white text on a plain pink overlay. Use a still frame
   from the same video instead. Desktop is unchanged. */
@media (max-width: 767px) {
	.elementor-element-4521915 {
		background-image: url("hero-mobile.jpg");
		background-size: cover;
		background-position: center;
	}
	/* Home contact form: make fields the same width as the message box */
	.wpcf7-form input[type="text"],
	.wpcf7-form input[type="email"],
	.wpcf7-form input[type="tel"] {
		box-sizing: border-box;
		width: 100%;
		max-width: 100%;
	}
	.wpcf7-form textarea { box-sizing: border-box; max-width: 100%; }
}

/* ------------------------------------------------------------------
   Performance (all screen sizes, no visual change)
   The "What brings people here" section has no background image of its
   own, so animating its background-position only forced the browser to
   repaint a 700px+ tall block (with large shadows) on every frame.
   ------------------------------------------------------------------ */
.elementor-element-ae1516f { animation: none; }
@media (prefers-reduced-motion: reduce) {
	.elementor-element-c126169 { animation: none; }
}

/* ------------------------------------------------------------------
   Phones only (max 767px): smaller type + lighter rendering.
   Desktop and tablet are untouched.
   ------------------------------------------------------------------ */
@media (max-width: 767px) {
	/* -- Lighter rendering -- */
	.elementor-element-c126169 { animation: none; }
	.elementor-element-52a87a4,
	.elementor-element-c126169 {
		background-attachment: scroll !important;
		background-image: url("marble-mobile.jpg") !important;
	}
	.elementor-element-7aaa8e1,
	.elementor-element-56e918f,
	.elementor-element-b0b58dc,
	.elementor-element-edf31cb,
	.elementor-element-3443522,
	.elementor-element-a63c67a {
		backdrop-filter: blur(5px);
		-webkit-backdrop-filter: blur(5px);
	}

	/* -- Home: hero -- */
	.elementor-element-a5677f6 .elementor-heading-title { font-size: 1.65rem; line-height: 1.15; }
	.elementor-element-634cafb h2,
	.elementor-element-9402dde h2,
	.elementor-element-9c4af45 h2 { font-size: 1.05rem; line-height: 1.45; }
	.elementor-element-1b078b7 .elementor-button,
	.elementor-element-034dfb9 .elementor-button { font-size: 1rem; }

	/* -- Home: what brings people here -- */
	.elementor-element-f8c0dea,
	.elementor-element-f8c0dea p {
		font-size: 1.05rem;
		line-height: 1.5;
	}
	.elementor-element-f8c0dea {
		margin-left: 0 !important;
		padding: 36px 28px !important;
	}
	.elementor-element-c9c3057 .e-n-accordion-item-title-text { font-size: 1.1rem; line-height: 1.4; }
	.elementor-element-c9c3057 p { font-size: 0.95rem; line-height: 1.5; }

	/* -- Home: Expats / About us / Team -- */
	.elementor-element-eb68493 h2,
	.elementor-element-478e2ae h2 { font-size: 1.05rem; line-height: 1.5; }
	.elementor-element-478e2ae h2 { padding-left: 0 !important; }
	.elementor-element-6877da0,
	.elementor-element-6877da0 p { font-size: 1.5rem; }
	.elementor-element-708bedb h1 { font-size: 1.6rem; line-height: 1.35; }

	/* -- Team / About / Contact pages -- */
	.hostinger-ai-page-title { font-size: 2rem !important; }
	.elementor-element-7f37a5b .elementor-heading-title,
	.elementor-element-30b2f40 .elementor-heading-title { font-size: 1.9rem; line-height: 1.2; }
	.elementor-element-02adf0d p { font-size: 0.95rem; line-height: 1.55; }
	.elementor-element-1d10ebb p { font-size: 1.05rem; line-height: 1.6; }
	.kasia-about-card-text { font-size: 0.95rem; line-height: 1.6; }
	.kasia-about-card { padding: 32px 22px; }
	.kasia-team-bio { font-size: 0.9rem; }
	.kasia-team-body { padding: 22px; }
}
