/* Tab Contents
 * Mobile (<768): stacked tabs, one-column list, stacked buttons, mobile fonts.
 * Tablet (768–1279): desktop fonts, two-column list; tabs in a row from 1024; buttons stay stacked.
 * Desktop (1280+): tabs and buttons in rows, as in the design.
 */
.tab-contents {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 40px;
	width: 100%;
	box-sizing: border-box;
	padding: 40px 20px;
	background-color: #FFFFFF;
}

.tab-contents .tc-header {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 20px;
	width: 100%;
	color: #233141;
	text-align: center;
}

.tab-contents .tc-title {
	margin: 0;
	color: #233141;
	font-family: 'Lato', sans-serif;
	font-size: 32px;
	font-weight: 800;
	line-height: 40px;
	text-transform: capitalize;
}

.tab-contents .tc-description {
	width: 100%;
	margin: 0;
	color: #233141;
	font-family: 'Lato', sans-serif;
	font-size: 16px;
	font-weight: 400;
	line-height: 24px;
}

/* Tabs */
.tab-contents .tc-tabs-wrap {
	display: flex;
	flex-direction: column;
	gap: 40px;
	width: 100%;
}

.tab-contents .tc-tabs {
	display: flex;
	flex-direction: column;
	width: 100%;
}

.tab-contents .tc-tab {
	display: flex;
	flex: 1 1 0;
	align-items: center;
	justify-content: center;
	margin: 0;
	padding: 20px 32px;
	border: 0;
	border-radius: 0;
	background: #EAEAEA;
	color: #404040;
	font-family: 'Lato', sans-serif;
	font-size: 20px;
	font-weight: 800;
	line-height: 30px;
	letter-spacing: 0.8px;
	text-align: center;
	text-transform: uppercase;
	box-shadow: none;
	cursor: pointer;
	transition: background-color 200ms ease, color 200ms ease;
}

.tab-contents .tc-tab:hover {
	background: #DBF2EE;
	color: #317088;
}

.tab-contents .tc-tab.is-active,
.tab-contents .tc-tab.is-active:hover {
	background: #6BBC9F;
	color: #FFFFFF;
	box-shadow: inset 0 -3px 0 #317088;
}

.tab-contents .tc-tab:focus-visible {
	outline: 2px solid #317088;
	outline-offset: -4px;
}

/* Panels */
.tab-contents .tc-panel {
	display: flex;
	flex-direction: column;
	width: 100%;
}

.tab-contents .tc-panel[hidden] {
	display: none;
}

.tab-contents .tc-panel:focus-visible {
	outline: 2px solid #317088;
	outline-offset: 4px;
}

.tab-contents .tc-list {
	flex: 1 1 0;
	min-width: 0;
	margin: 0;
	padding: 0;
	list-style: none;
}

.tab-contents .tc-item {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	margin: 0;
	padding: 12px 0;
	border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.tab-contents .tc-item::before {
	display: none;
}

.tab-contents .tc-item-icon {
	display: block;
	flex: 0 0 auto;
	width: 24px;
	height: 24px;
}

.tab-contents .tc-item-text,
.tab-contents a.tc-item-text:visited {
	flex: 1 1 0;
	min-width: 0;
	color: #000000;
	font-family: 'Lato', sans-serif;
	font-size: 16px;
	font-weight: 400;
	line-height: 24px;
	text-decoration: none;
}

/* Footer: buttons + note */
.tab-contents .tc-footer {
	display: flex;
	flex-direction: column;
	gap: 24px;
	width: 100%;
}

.tab-contents .tc-buttons {
	display: flex;
	flex-direction: column;
	gap: 10px;
	width: 100%;
}

.tab-contents .tc-btn,
.tab-contents .tc-btn:visited {
	display: flex;
	flex: 1 1 0;
	align-items: center;
	justify-content: center;
	min-height: 66px;
	box-sizing: border-box;
	padding: 16px 8px;
	border: 1.2px solid transparent;
	border-radius: 200px;
	font-family: 'Lato', sans-serif;
	font-size: 18px;
	font-weight: 700;
	line-height: 26px;
	letter-spacing: 0.36px;
	text-align: center;
	text-transform: uppercase;
	text-decoration: none;
	transition: background 200ms ease, color 200ms ease, border-color 200ms ease;
}

.tab-contents .tc-btn-icon {
	display: block;
	flex: 0 0 auto;
}

.tab-contents .tc-btn-book,
.tab-contents .tc-btn-book:visited {
	background: #317088;
	border-color: #317088;
	color: #FFFFFF;
}

.tab-contents .tc-btn-book:hover,
.tab-contents .tc-btn-book:focus-visible {
	background: #6BBC9F;
	border-color: #6BBC9F;
	color: #FFFFFF;
}

.tab-contents .tc-btn-whatsapp,
.tab-contents .tc-btn-whatsapp:visited {
	gap: 10px;
	padding-left: 24px;
	background: linear-gradient(0deg, #25B43C 0%, #25D366 100%);
	color: #FFFFFF;
}

.tab-contents .tc-btn-whatsapp:hover,
.tab-contents .tc-btn-whatsapp:focus-visible {
	background: #1C9230;
	color: #FFFFFF;
}

.tab-contents .tc-btn-call,
.tab-contents .tc-btn-call:visited {
	gap: 7px;
	background: transparent;
	border-color: #317088;
	color: #317088;
}

.tab-contents .tc-btn-call:hover,
.tab-contents .tc-btn-call:focus-visible {
	background: #DBF2EE;
	color: #317088;
}

.tab-contents .tc-btn:focus-visible {
	outline: 2px solid #317088;
	outline-offset: 2px;
}

.tab-contents .tc-note {
	display: flex;
	gap: 16px;
	width: 100%;
	box-sizing: border-box;
	padding: 12px 16px;
	border-radius: 2px;
	background: #DBF2EE;
}

/* Blue 4px bar, full height of the text. */
.tab-contents .tc-note::before {
	content: '';
	flex: 0 0 4px;
	background: #3089BC;
}

.tab-contents .tc-note-text {
	flex: 1 1 0;
	min-width: 0;
}

.tab-contents .tc-note-text p,
.tab-contents .tc-note-text {
	margin: 0;
	color: #000000;
	font-family: 'Lato', sans-serif;
	font-size: 16px;
	font-weight: 400;
	line-height: 24px;
}

.tab-contents .tc-note-text p + p {
	margin-top: 12px;
}

.tab-contents .tc-note-text strong,
.tab-contents .tc-note-text b {
	font-size: inherit;
	font-weight: 700;
	line-height: inherit;
}

.tab-contents .tc-note-text a,
.tab-contents .tc-note-text a:visited {
	color: inherit;
	text-decoration: underline;
}

.tab-contents .tc-note-text a:hover {
	text-decoration: none;
}

/* Tablet and up: desktop fonts, two-column list. */
@media screen and (min-width: 768px) {
	.tab-contents {
		gap: 60px;
		padding: 60px 40px;
	}

	.tab-contents .tc-title {
		font-size: 46px;
		line-height: 54px;
	}

	.tab-contents .tc-description {
		font-size: 18px;
		line-height: 26px;
	}

	.tab-contents .tc-tabs-wrap {
		gap: 60px;
	}

	.tab-contents .tc-tab {
		padding: 24px 32px;
	}

	.tab-contents .tc-panel {
		flex-direction: row;
		align-items: flex-start;
		gap: 60px;
	}

	.tab-contents .tc-item-icon {
		width: 26px;
		height: 26px;
	}

	.tab-contents .tc-item-text,
	.tab-contents a.tc-item-text:visited {
		font-size: 18px;
		line-height: 26px;
	}

	.tab-contents .tc-note-text p,
	.tab-contents .tc-note-text {
		font-size: 18px;
		line-height: 26px;
	}
}

@media screen and (min-width: 1024px) {
	.tab-contents .tc-tabs {
		flex-direction: row;
	}

	.tab-contents .tc-tab {
		min-width: 0;
		padding-right: 16px;
		padding-left: 16px;
	}
}

/* Desktop: buttons in a row, Figma padding. */
@media screen and (min-width: 1280px) {
	.tab-contents {
		padding: 100px 11.111%;
	}

	.tab-contents .tc-description {
		width: 77.679%;
	}

	.tab-contents .tc-tab {
		padding-right: 32px;
		padding-left: 32px;
	}

	.tab-contents .tc-buttons {
		flex-direction: row;
		align-items: stretch;
	}

	.tab-contents .tc-btn,
	.tab-contents .tc-btn:visited {
		min-width: 0;
		min-height: 74px;
		padding-right: 16px;
		padding-left: 16px;
		white-space: nowrap;
	}
}

/* Tablet: buttons keep their Figma size (not full width), side by side and centered, wrapping when needed. */
@media screen and (min-width: 768px) and (max-width: 1279px) {
	.tab-contents .tc-buttons {
		flex-direction: row;
		flex-wrap: wrap;
		justify-content: center;
	}

	.tab-contents .tc-btn,
	.tab-contents .tc-btn:visited {
		flex: 0 0 auto;
		min-height: 74px;
		padding: 24px 32px;
		white-space: nowrap;
	}

	.tab-contents .tc-btn-whatsapp,
	.tab-contents .tc-btn-whatsapp:visited {
		padding: 20px 32px 20px 24px;
	}

	.tab-contents .tc-btn-call,
	.tab-contents .tc-btn-call:visited {
		padding: 19px 32px;
	}
}

/* Desktop: Figma's three equal buttons are ~367px each (1120px row at 1440); don't grow on wider screens. */
@media screen and (min-width: 1280px) {
	.tab-contents .tc-buttons {
		justify-content: center;
	}

	.tab-contents .tc-btn,
	.tab-contents .tc-btn:visited {
		flex: 0 1 367px;
	}
}
