/* APM Contact Blocks */
.apmcb-contact {
	--apmcb-bg: #f4f2eb;
	--apmcb-bg-section: transparent;
	--apmcb-card: rgba(255,255,255,.72);
	--apmcb-border: rgba(157,145,111,.35);
	--apmcb-text: #282828;
	--apmcb-muted: #6e6a5f;
	--apmcb-gold: #b99c55;
	--apmcb-green: #293a20;
	background: var(--apmcb-bg-section);
	color: var(--apmcb-text);
	padding: var(--apmcb-padding-y, 55px) 0 calc(var(--apmcb-padding-y, 55px) - 10px);
}

.apmcb-inner {
	width: min(var(--apmcb-max-width, 1180px), calc(100% - 40px));
	margin: 0 auto;
}

.apmcb-heading {
	text-align: center;
	margin-bottom: 34px;
}

.apmcb-starline {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 22px;
	color: var(--apmcb-gold);
	margin-bottom: 12px;
}

.apmcb-starline span {
	width: 140px;
	height: 1px;
	background: currentColor;
	opacity: .75;
}

.apmcb-starline strong {
	font-size: 30px;
	line-height: 1;
}

.apmcb-heading h2 {
	margin: 0;
	font-size: var(--apmcb-heading-size, clamp(34px, 4vw, 54px));
	line-height: .95;
	letter-spacing: .02em;
	text-transform: uppercase;
	color: var(--apmcb-title-color, #454545);
}

.apmcb-heading p {
	max-width: 720px;
	margin: 18px auto 0;
	font-size: 20px;
	line-height: 1.45;
	color: #282828;
}

.apmcb-grid {
	display: grid;
	grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
	gap: 26px;
	align-items: stretch;
}

.apmcb-card {
	border: 1px solid var(--apmcb-border);
	background: var(--apmcb-card);
	border-radius: var(--apmcb-radius, 8px);
	padding: 30px;
	box-shadow: 0 18px 40px rgba(31,30,25,.04);
}

.apmcb-style-minimal .apmcb-card {
	background: transparent;
	box-shadow: none;
}

.apmcb-card-head {
	display: flex;
	align-items: center;
	gap: 16px;
	margin-bottom: 24px;
}

.apmcb-card-head > svg,
.apmcb-card-head .apmcb-head-icon {
	width: 48px;
	height: 48px;
	flex: 0 0 48px;
	border-radius: 50%;
	background: rgba(185,156,85,.15);
	padding: 12px;
	color: var(--apmcb-gold);
	stroke: currentColor;
	fill: none;
	stroke-width: 1.8;
}

.apmcb-card-head h3 {
	margin: 0;
	font-size: 26px;
	line-height: 1;
	text-transform: uppercase;
	letter-spacing: .02em;
	color: #484848;
}

.apmcb-card-head p {
	margin: 6px 0 0;
	color: var(--apmcb-gold);
	font-size: 15px;
	font-weight: 700;
}

.apmcb-form form {
	margin: 0;
}

.apmcb-form input[type="text"],
.apmcb-form input[type="email"],
.apmcb-form input[type="tel"],
.apmcb-form input[type="url"],
.apmcb-form textarea,
.apmcb-form select {
	width: 100%;
	border: 1px solid rgba(65,65,65,.24);
	background: rgba(255,255,255,.64);
	border-radius: 3px;
	padding: 13px 15px;
	font-size: 16px;
	box-shadow: none;
}

.apmcb-form textarea {
	min-height: 135px;
}

.apmcb-form input[type="submit"],
.apmcb-form button[type="submit"],
.apmcb-form .wpcf7-submit {
	background: var(--apmcb-gold);
	color: #fff;
	border: 0;
	border-radius: 4px;
	padding: 13px 26px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .03em;
	cursor: pointer;
}

.apmcb-form-placeholder {
	padding: 18px;
	border: 1px dashed rgba(185,156,85,.75);
	color: var(--apmcb-muted);
	border-radius: 6px;
	background: rgba(255,255,255,.5);
}

.apmcb-methods {
	display: grid;
	gap: 0;
	margin-top: 16px;
}

.apmcb-method {
	display: flex;
	align-items: center;
	gap: 22px;
	padding: 26px 4px;
	text-decoration: none;
	color: inherit;
	border-top: 1px solid rgba(157,145,111,.28);
}

.apmcb-method:first-child {
	border-top: 0;
}

.apmcb-method-icon {
	width: var(--apmcb-icon-size, 58px);
	height: var(--apmcb-icon-size, 58px);
	flex: 0 0 var(--apmcb-icon-size, 58px);
	border-radius: 50%;
	background: rgba(185,156,85,.14);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: var(--apmcb-gold);
}

.apmcb-method-icon svg {
	width: 32px;
	height: 32px;
	stroke: currentColor;
	fill: none;
	stroke-width: 1.8;
}

.apmcb-method-copy {
	display: grid;
	gap: 8px;
}

.apmcb-method-copy strong {
	font-size: 20px;
	line-height: 1.2;
	font-weight: 800;
	color: #2d2d2d;
}

.apmcb-method-copy em {
	font-style: normal;
	font-size: 18px;
	line-height: 1.35;
	font-weight: 700;
	color: var(--apmcb-gold);
	word-break: break-word;
}

.apmcb-method:hover .apmcb-method-icon {
	background: var(--apmcb-gold);
	color: #fff;
}

.apmcb-privacy {
	width: min(830px, 100%);
	margin: 24px 0 0;
	border: 1px solid rgba(157,145,111,.28);
	border-radius: var(--apmcb-radius, 8px);
	padding: 18px 24px;
	display: flex;
	gap: 18px;
	align-items: center;
	background: rgba(255,255,255,.48);
}

.apmcb-privacy svg {
	width: 40px;
	height: 40px;
	flex: 0 0 40px;
	color: var(--apmcb-gold);
	stroke: currentColor;
	fill: none;
	stroke-width: 1.8;
}

.apmcb-privacy strong {
	display: block;
	font-size: 18px;
	margin-bottom: 4px;
}

.apmcb-privacy p {
	margin: 0;
	color: #333;
}

.apmcb-contact svg path {
	vector-effect: non-scaling-stroke;
}

@media (max-width: 900px) {
	.apmcb-grid {
		grid-template-columns: 1fr;
	}

	.apmcb-card {
		padding: 24px;
	}

	.apmcb-heading p {
		font-size: 18px;
	}

	.apmcb-starline span {
		width: 80px;
	}
}

@media (max-width: 640px) {
	.apmcb-contact {
		padding: 40px 0 34px;
	}

	.apmcb-inner {
		width: min(100% - 24px, 1180px);
	}

	.apmcb-card-head,
	.apmcb-method,
	.apmcb-privacy {
		align-items: flex-start;
	}

	.apmcb-card-head h3 {
		font-size: 22px;
	}

	.apmcb-method {
		gap: 15px;
		padding: 22px 0;
	}

	.apmcb-method-icon {
		width: 50px;
		height: 50px;
		flex-basis: 50px;
	}

	.apmcb-method-copy strong {
		font-size: 18px;
	}

	.apmcb-method-copy em {
		font-size: 16px;
	}

	.apmcb-starline {
		gap: 14px;
	}

	.apmcb-starline span {
		width: 55px;
	}
}


.apmcb-no-shadow .apmcb-card {
	box-shadow: none !important;
}


/* v1.0.2 — opciones de visibilidad */
.apmcb-grid.apmcb-grid-single {
	grid-template-columns: minmax(0, 760px);
	justify-content: center;
}

.apmcb-card-head:empty {
	display: none;
}
