@import url('https://fonts.googleapis.com/css2?family=Allura&family=Montserrat:wght@400;500;600;700;800&display=swap');

.fdqh-section,
.fdqh-section * {
	box-sizing: border-box;
}

.fdqh-section {
	position: relative;
	overflow: hidden;
	width: 100%;
	background: #fbfcfc;
	color: #1d1d20;
	font-family: "Montserrat", Arial, sans-serif;
	padding: 34px 90px 145px;
	isolation: isolate;
}

.fdqh-section.fdqh-corners-on::before,
.fdqh-section.fdqh-corners-on::after {
	content: "";
	position: absolute;
	z-index: 0;
	pointer-events: none;
	border-radius: 50%;
	background: rgba(28,116,117,.045);
}

.fdqh-section.fdqh-corners-on::before {
	width: 520px;
	height: 520px;
	top: -340px;
	left: -275px;
}

.fdqh-section.fdqh-corners-on::after {
	width: 470px;
	height: 570px;
	right: -340px;
	top: 110px;
}

.fdqh-container {
	position: relative;
	z-index: 2;
	width: 100%;
	max-width: 1300px;
	margin: 0 auto;
}

.fdqh-header {
	text-align: center;
}

.fdqh-badge-wrap {
	display: flex;
	justify-content: center;
	margin-bottom: 15px;
}

.fdqh-badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 9px 27px;
	border-radius: 30px;
	background: #0a6a6c;
	color: #fff;
	font-size: 18px;
	font-weight: 700;
	line-height: 1.1;
	letter-spacing: .25px;
	white-space: nowrap;
}

.fdqh-title {
	display: block;
	max-width: 1050px;
	margin: 0 auto;
	padding: 0;
	text-align: center;
	line-height: 1;
}

.fdqh-title-before {
	display: block;
}

.fdqh-title-second {
	display: flex;
	align-items: baseline;
	justify-content: center;
	gap: 18px;
	margin-top: 1px;
}

.fdqh-title-regular {
	color: #075a5c;
	font-size: 52px;
	font-weight: 700;
	line-height: 1.08;
	letter-spacing: -1.55px;
}

.fdqh-title-script {
	display: inline-block;
	color: #f6a80d;
	font-family: "Allura", cursive;
	font-size: 72px;
	font-weight: 400;
	line-height: .85;
	letter-spacing: .1px;
	transform: translateY(5px);
	white-space: nowrap;
}

.fdqh-title-after {
	display: inline-block;
	white-space: nowrap;
}

.fdqh-divider {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	margin: 17px 0 20px;
}

.fdqh-divider-left,
.fdqh-divider-right {
	display: block;
	width: 52px;
	height: 3px;
	border-radius: 999px;
}

.fdqh-divider-left {
	background: #0c7777;
}

.fdqh-divider-right {
	background: #f7a900;
}

.fdqh-divider-dot {
	display: block;
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: #1a8e8c;
}

.fdqh-intro {
	max-width: 870px;
	margin: 0 auto 28px;
	color: #1d1d20;
	font-size: 17px;
	font-weight: 400;
	line-height: 1.62;
	text-align: center;
}

.fdqh-intro p {
	margin: 0;
}

.fdqh-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0,1fr));
	column-gap: 20px;
	row-gap: 20px;
	align-items: stretch;
}

.fdqh-card {
	display: flex;
	flex-direction: row;
	align-items: center;
	gap: 34px;
	min-height: 240px;
	padding: 31px 38px 28px;
	border-radius: 24px;
	background: #fff;
	box-shadow: 0 6px 22px rgba(17,75,77,.10);
}

.fdqh-icon-wrap {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 138px;
	height: 138px;
	min-width: 138px;
	border-radius: 50%;
	background: rgba(64,155,150,.10);
	overflow: hidden;
}

.fdqh-icon-wrap img {
	display: block;
	width: 92px;
	max-height: 92px;
	object-fit: contain;
}

.fdqh-card-content {
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	align-items: flex-start;
	min-width: 0;
}

.fdqh-card-title {
	width: 100%;
	margin: 0;
	color: #075a5c;
	font-size: 22px;
	font-weight: 700;
	line-height: 1.18;
	letter-spacing: -.45px;
	text-align: left;
}

.fdqh-card-line {
	display: block;
	width: 34px;
	height: 3px;
	margin: 9px 0 12px;
	border-radius: 99px;
	background: #f7a900;
}

.fdqh-card-description {
	color: #242426;
	font-size: 15.5px;
	font-weight: 400;
	line-height: 1.45;
	text-align: left;
}

.fdqh-button-wrap {
	width: 100%;
	margin-top: 18px;
}

.fdqh-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 190px;
	min-height: 42px;
	padding: 5px 16px;
	border: 0;
	border-radius: 9px;
	background: #f7ab16;
	color: #fff;
	font-size: 20px;
	font-weight: 700;
	line-height: 1;
	text-align: center;
	text-decoration: none !important;
	text-transform: uppercase;
	transition: transform .18s ease, filter .18s ease, background-color .18s ease;
}

.fdqh-button:hover,
.fdqh-button:focus {
	color: #fff;
	background: #efa009;
	text-decoration: none;
	transform: translateY(-1px);
}

.fdqh-waves {
	position: absolute;
	z-index: 1;
	left: 0;
	right: 0;
	bottom: 0;
	height: 145px;
	pointer-events: none;
}

.fdqh-waves svg {
	display: block;
	width: 100%;
	height: 100%;
}

.fdqh-wave-back {
	fill: #78aaa5;
	opacity: .88;
}

.fdqh-wave-front {
	fill: #0b7778;
	opacity: .96;
}

.fdqh-wave-line {
	stroke: #f7a900;
}

/* Portrait / tablet: replica la composición vertical de la referencia */
@media (max-width: 1024px) {
	.fdqh-section {
		padding: 28px 70px 135px;
	}

	.fdqh-container {
		max-width: 820px;
	}

	.fdqh-title {
		max-width: 700px;
	}

	.fdqh-title-regular {
		font-size: 49px;
		line-height: 1.11;
		letter-spacing: -1.15px;
	}

	.fdqh-title-second {
		display: block;
		margin-top: 2px;
	}

	.fdqh-title-script {
		display: block;
		font-size: 66px;
		line-height: .84;
		transform: translateY(7px);
	}

	.fdqh-title-after {
		display: block;
		margin-top: 8px;
		white-space: normal;
	}

	.fdqh-intro {
		max-width: 620px;
		margin-bottom: 32px;
		font-size: 19px;
		line-height: 1.58;
	}

	.fdqh-intro br {
		display: none;
	}

	.fdqh-grid {
		grid-template-columns: repeat(2, minmax(0,1fr));
		gap: 18px;
	}

	.fdqh-card {
		flex-direction: column;
		justify-content: flex-start;
		gap: 10px;
		min-height: 425px;
		padding: 22px 30px 25px;
		text-align: center;
	}

	.fdqh-icon-wrap {
		width: 130px;
		height: 130px;
		min-width: 130px;
	}

	.fdqh-icon-wrap img {
		width: 84px;
		max-height: 84px;
	}

	.fdqh-card-content {
		align-items: center;
		width: 100%;
	}

	.fdqh-card-title {
		font-size: 27px;
		line-height: 1.16;
		text-align: center;
	}

	.fdqh-card-line {
		margin: 12px auto 14px;
	}

	.fdqh-card-description {
		font-size: 18.5px;
		line-height: 1.42;
		text-align: center;
	}

	.fdqh-button-wrap {
		margin-top: auto;
		padding-top: 17px;
		text-align: center;
	}

	.fdqh-button {
		width: 250px;
		min-height: 50px;
		font-size: 24px;
	}

	.fdqh-waves {
		height: 150px;
	}
}

/* Móvil: mantiene dos columnas para respetar la referencia proporcionada */
@media (max-width: 767px) {
	.fdqh-section {
		padding: 28px 28px 120px;
	}

	.fdqh-badge {
		padding: 8px 22px;
		font-size: 15px;
	}

	.fdqh-title {
		max-width: 100%;
	}

	.fdqh-title-regular {
		font-size: clamp(27px, 7vw, 38px);
		line-height: 1.08;
		letter-spacing: -.8px;
	}

	.fdqh-title-script {
		font-size: clamp(43px, 12vw, 54px);
	}

	.fdqh-title-after {
		margin-top: 7px;
	}

	.fdqh-divider {
		margin: 14px 0 18px;
	}

	.fdqh-divider-left,
	.fdqh-divider-right {
		width: 40px;
	}

	.fdqh-intro {
		max-width: 100%;
		font-size: clamp(13px, 3.7vw, 16px);
		line-height: 1.58;
		margin-bottom: 26px;
	}

	.fdqh-grid {
		grid-template-columns: repeat(2, minmax(0,1fr));
		column-gap: 14px;
		row-gap: 16px;
	}

	.fdqh-card {
		min-height: 390px;
		padding: 20px 18px;
		gap: 8px;
	}

	.fdqh-icon-wrap {
		width: 112px;
		height: 112px;
		min-width: 112px;
	}

	.fdqh-icon-wrap img {
		width: 72px;
		max-height: 72px;
	}

	.fdqh-card-title {
		font-size: clamp(16px, 4.6vw, 20px);
		line-height: 1.15;
	}

	.fdqh-card-line {
		width: 32px;
		height: 3px;
		margin: 10px auto 11px;
	}

	.fdqh-card-description {
		font-size: clamp(11.5px, 3.2vw, 14px);
		line-height: 1.42;
	}

	.fdqh-button-wrap {
		padding-top: 12px;
	}

	.fdqh-button {
		width: min(210px, 100%);
		min-height: 44px;
		font-size: clamp(14px, 4vw, 17px);
		border-radius: 9px;
	}

	.fdqh-waves {
		height: 115px;
	}
}

/* Seguridad para pantallas extremadamente angostas */
@media (max-width: 430px) {
	.fdqh-section {
		padding-left: 18px;
		padding-right: 18px;
	}

	.fdqh-grid {
		column-gap: 10px;
		row-gap: 12px;
	}

	.fdqh-card {
		min-height: 350px;
		padding: 16px 12px 18px;
	}

	.fdqh-icon-wrap {
		width: 94px;
		height: 94px;
		min-width: 94px;
	}

	.fdqh-icon-wrap img {
		width: 62px;
		max-height: 62px;
	}

	.fdqh-card-description {
		font-size: 11px;
	}

	.fdqh-button {
		min-height: 39px;
		font-size: 13px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.fdqh-button {
		transition: none;
	}
	.fdqh-button:hover,
	.fdqh-button:focus {
		transform: none;
	}
}
