/* ==================================================
   RESET
   ================================================== */

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

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	background: var(--color-white);
	color: var(--color-text);
	font-family: var(--font-body);
	font-size: 15px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
}

img {
	display: block;
	max-width: 100%;
	height: auto;
}

iframe {
	max-width: 100%;
}

a {
	color: var(--color-primary);
	text-decoration: none;
}

a:hover {
	color: var(--color-primary-hover);
}

button,
input,
textarea,
select {
	font: inherit;
}


/* ==================================================
   TYPOGRAPHY
   ================================================== */

h1,
h2,
h3,
h4,
h5,
h6 {
	margin-top: 0;
	color: var(--color-heading);
	font-family: var(--font-heading);
	font-weight: 800;
	line-height: 1.15;
}

h1 {
	font-size: clamp(2rem, 3.5vw, 2.75rem);
}

h2 {
	font-size: clamp(1.5rem, 2.8vw, 2.125rem);
}

h3 {
	font-size: clamp(1.125rem, 2vw, 1.375rem);
}

p {
	margin-top: 0;
	margin-bottom: 14px;
}

p:last-child {
	margin-bottom: 0;
}


/* ==================================================
   LAYOUT
   ================================================== */

.site {
	min-height: 100vh;
}

.container {
	width: min(
		calc(100% - 40px),
		var(--container)
	);

	margin-inline: auto;
}

.section {
	padding:
		var(--section-space)
		0;
}

.section-small {
	padding:
		var(--section-space-small)
		0;
}


/* ==================================================
   BUTTON
   ================================================== */

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;

	width: auto;
	min-height: 36px;

	padding: 7px 12px;

	border: 1px solid transparent;
	border-radius: 6px;

	font-size: 13px;
	font-weight: 700;
	line-height: 1.15;

	cursor: pointer;

	transition:
		background-color 0.2s ease,
		border-color 0.2s ease,
		color 0.2s ease;
}

.btn svg {
	display: block;
	flex: 0 0 auto;

	width: 15px;
	height: 15px;

	color: currentColor;
}


/* Booking icon */

.btn-booking svg {
	width: 15px;
	height: 15px;

	fill: none;
	stroke: currentColor;
	stroke-width: 1.8;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.btn-booking svg path {
	fill: none;
	stroke: currentColor;
}


/* WhatsApp icon */

.btn-whatsapp svg {
	width: 16px;
	height: 16px;

	fill: currentColor;
	stroke: none;
}

.btn-whatsapp svg path {
	fill: currentColor;
	stroke: none;
}


/* Primary */

.btn-primary {
	background: var(--color-primary);
	color: var(--color-white);
}

.btn-primary:hover,
.btn-primary:focus-visible {
	background: var(--color-primary-hover);
	color: var(--color-white);
}

.btn-primary:active {
	background: var(--color-primary-active);
	color: var(--color-white);
}


/* Secondary */

.btn-secondary {
	background: var(--color-secondary);
	color: var(--color-white);
}

.btn-secondary:hover,
.btn-secondary:focus-visible {
	background: var(--black-200);
	color: var(--color-white);
}


/* WhatsApp */

.btn-whatsapp {
	background: var(--color-secondary);
	color: var(--color-white);
}

.btn-whatsapp:hover,
.btn-whatsapp:focus-visible {
	background: var(--black-200);
	color: var(--color-white);
}

.btn-whatsapp:hover svg,
.btn-whatsapp:focus-visible svg,
.btn-whatsapp:hover svg path,
.btn-whatsapp:focus-visible svg path {
	fill: currentColor;
	color: var(--color-white);
	stroke: none;
}


/* Outline */

.btn-outline {
	background: transparent;
	border-color: var(--color-secondary);
	color: var(--color-secondary);
}

.btn-outline:hover,
.btn-outline:focus-visible {
	background: var(--color-secondary);
	color: var(--color-white);
}

/* ==================================================
   CARD
   ================================================== */

.card {
	background: var(--color-white);

	border:
		1px solid var(--color-border-soft);

	border-radius:
		var(--radius-md);

	box-shadow:
		var(--shadow-card);

	padding: 22px;

	transition:
		transform 0.2s ease,
		box-shadow 0.2s ease;
}

.card:hover {
	transform: translateY(-3px);
}


/* ==================================================
   ACCESSIBILITY
   ================================================== */

:focus-visible {
	outline:
		3px solid var(--color-primary);

	outline-offset: 3px;
}


/* Screen reader */

.screen-reader-text {
	position: absolute;

	width: 1px;
	height: 1px;

	padding: 0;
	margin: -1px;

	overflow: hidden;
	clip: rect(0, 0, 0, 0);

	white-space: nowrap;

	border: 0;
}

.screen-reader-text:focus {
	top: 8px;
	left: 8px;
	z-index: 100000;

	width: auto;
	height: auto;

	padding: 10px 14px;
	margin: 0;

	overflow: visible;
	clip: auto;

	background: var(--color-white);
	color: var(--color-heading);

	border: 2px solid var(--color-primary);
	border-radius: var(--radius-sm);

	font-size: 14px;
	font-weight: 700;
	white-space: normal;
}


/* ==================================================
   WORDPRESS
   ================================================== */

.alignwide {
	width: min(
		calc(100% - 40px),
		1280px
	);

	margin-inline: auto;
}

.alignfull {
	width: 100%;
}


/* ==================================================
   RESPONSIVE
   ================================================== */

@media (max-width: 767px) {

	body {
		font-size: 15px;
	}

	.container {
		width: min(
			calc(100% - 32px),
			var(--container)
		);
	}

	.section {
		padding:
			var(--section-space-mobile)
			0;
	}

	.section-small {
		padding:
			var(--section-space-mobile-small)
			0;
	}

	.btn {
		min-height: 36px;
		padding: 7px 11px;
		font-size: 13px;
	}
}

/* ==================================================
   REDUCED MOTION
   ================================================== */

@media (prefers-reduced-motion: reduce) {

	html {
		scroll-behavior: auto;
	}

	*,
	*::before,
	*::after {
		animation-duration:
			0.01ms !important;

		animation-iteration-count:
			1 !important;

		transition-duration:
			0.01ms !important;

		scroll-behavior:
			auto !important;
	}

}