/*
Theme Name: Kadence Child
Theme URI: https://www.kadencewp.com/kadence-theme/
Description: Tema hijo de Kadence para Team Plus USA.
Author: Team Plus USA
Template: kadence
Version: 1.0.0
Text Domain: kadence-child
*/

/*
 * Agrega aquí los estilos personalizados del sitio.
 */

/*
 * Kadence agrega márgenes verticales a los encabezados dentro de
 * `.single-content`. Los bloques propios gestionan su espaciado internamente,
 * por lo que se elimina únicamente dentro de ellos.
 */
.single-content [class*="wp-block-team-plususa-"] h1,
.single-content [class*="wp-block-team-plususa-"] h2,
.single-content [class*="wp-block-team-plususa-"] h3,
.single-content [class*="wp-block-team-plususa-"] h4,
.single-content [class*="wp-block-team-plususa-"] h5,
.single-content [class*="wp-block-team-plususa-"] h6 {
	margin-block: 0;
}

/* Custom footer ---------------------------------------------------------- */
.tp-footer {
	--tp-footer-accent: #4cab26;
	--tp-footer-dark: #1d2227;
	--tp-footer-muted: #646d75;
	background: #fff;
	color: var(--tp-footer-dark);
	font-family: "Inter", sans-serif;
	margin-top: 40px;
}

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

.tp-footer__container {
	margin-inline: auto;
	max-width: 1320px;
	padding-inline: clamp(1rem, 3vw, 2.75rem);
	width: 100%;
}

.tp-footer__cta {
	background: #fff;
	padding-block: 0 clamp(1.75rem, 4vw, 3rem);
}

.tp-footer__cta-inner {
	align-items: center;
	background: #dba97b;
	border-radius: 17px;
	color: #1D2227;
	display: grid;
	gap: clamp(1.5rem, 3vw, 3rem);
	grid-template-columns: minmax(390px, 1.2fr) minmax(210px, 0.65fr) minmax(230px, 0.78fr);
	min-height: 172px;
	overflow: hidden;
	padding-block: 2.25rem;
	position: relative;
}

.tp-footer__cta-inner > p {
	border-right: 1px solid rgba(255, 255, 255, 0.22);
	font: 600 clamp(1.65rem, 2.65vw, 2.15rem)/1.18 "Inter Tight", "Inter", sans-serif;
	letter-spacing: -0.035em;
	margin: 0;
	padding: 0 clamp(1rem, 3vw, 2.5rem) 0 clamp(7.5rem, 13vw, 10rem);
	position: relative;
	z-index: 2;
}

.tp-footer__cta-media {
	inset: 0 auto 0 0;
	position: absolute;
	width: 43%;
}

.tp-footer__cta-media::after {
	background: linear-gradient(90deg, rgba(23, 75, 5, 0.06) 10%, #174b05 92%);
	content: "";
	inset: 0;
	position: absolute;
}

.tp-footer__cta-media img {
	height: 100%;
	object-fit: cover;
	width: 100%;
}

.tp-footer__badge {
	align-items: center;
	display: flex;
	gap: 0.8rem;
	position: relative;
	z-index: 2;
}

.tp-footer__badge > svg {
	background: #e8f1fb;
	border-radius: 14px;
	fill: none;
	height: 78px;
	padding: 15px;
	stroke: #3d5689;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 1.5;
	width: 78px;
}

.tp-footer__badge span,
.tp-footer__badge strong,
.tp-footer__badge small {
	display: block;
}

.tp-footer__badge strong {
	color: #1D2227;
	font-size: 0.9rem;
}

.tp-footer__badge small {
	color: #1D2227;
	font-size: 1rem;
	margin-top: 0.35rem;
}

.tp-footer__cta-button {
	align-items: center;
	background: #dba97b;
	border-radius: 100px;
	color: var(--tp-footer-dark) !important;
	display: inline-flex;
	font-weight: 600;
	gap: 1rem;
	justify-content: center;
	min-height: 48px;
	padding: 0.8rem 1.6rem;
	position: relative;
	text-decoration: none !important;
	z-index: 2;
}

.tp-footer__cta-button span {
	font-size: 1.25rem;
}

.tp-footer__main {
	background: #fff;
}

.tp-footer__panel {
	background: linear-gradient(125deg, #e5f4cd 0%, #eef8df 58%, #f5faed 100%);
	border-radius: 17px;
	overflow: hidden;
	padding-block: clamp(3rem, 5vw, 4.25rem);
	position: relative;
}

.tp-footer__panel::before,
.tp-footer__panel::after {
	background: rgba(174, 220, 113, 0.24);
	clip-path: polygon(50% 0, 61% 39%, 100% 50%, 61% 61%, 50% 100%, 39% 61%, 0 50%, 39% 39%);
	content: "";
	position: absolute;
}

.tp-footer__panel::before {
	height: 108px;
	right: 1.2rem;
	top: 1.7rem;
	width: 108px;
}

.tp-footer__panel::after {
	height: 52px;
	right: 7.5rem;
	top: 8rem;
	width: 52px;
}

.tp-footer__brand-row {
	align-items: center;
	border-bottom: 1px solid rgba(76, 171, 38, 0.35);
	display: flex;
	gap: 2rem;
	justify-content: space-between;
	margin-bottom: clamp(2.25rem, 4vw, 3rem);
	padding: 0 clamp(2rem, 7vw, 7.5rem) 2rem;
	position: relative;
	z-index: 1;
}

.tp-footer__identity {
	align-items: center;
	display: flex;
	gap: clamp(1.5rem, 4vw, 4rem);
}

.tp-footer__identity > a {
	flex: 0 0 auto;
}

.tp-footer__logo {
	display: block;
	height: auto;
	max-height: 82px;
	max-width: 280px;
	width: auto;
}

.tp-footer__site-name {
	color: var(--tp-footer-dark);
	font: 700 1.5rem/1.2 "Inter Tight", sans-serif;
}

.tp-footer__brand-row > p {
	color: #299f08;
	font: 500 clamp(1.4rem, 2.5vw, 1.9rem)/1.25 "Inter Tight", "Inter", sans-serif;
	margin: 0;
	max-width: 430px;
	text-align: right;
}

.tp-footer__columns {
	display: grid;
	gap: clamp(2rem, 5vw, 5.5rem);
	grid-template-columns: 1fr 0.7fr 1.25fr;
	padding-inline: clamp(2rem, 7vw, 7.5rem);
	position: relative;
	z-index: 1;
}

.tp-footer__column h2 {
	color: var(--tp-footer-dark);
	font: 600 1.15rem/1.3 "Inter Tight", "Inter", sans-serif;
	margin: 0 0 1.5rem;
}

.tp-footer__contact-list,
.tp-footer__menu,
.tp-footer__legal-menu {
	list-style: none;
	margin: 0;
	padding: 0;
}

.tp-footer__contact-list {
	display: grid;
	gap: 1rem;
}

.tp-footer__contact-list li {
	align-items: flex-start;
	display: grid;
	gap: 0.75rem;
	grid-template-columns: 20px 1fr;
}

.tp-footer__contact-list li:last-child {
	align-items: center;
	background: #dba97b;
	border-radius: 100px;
	grid-template-columns: 34px 1fr;
	max-width: 235px;
	padding: 0.55rem 1rem 0.55rem 0.55rem;
}

.tp-footer__contact-list li:last-child > svg {
	background: #fff;
	border-radius: 50%;
	height: 34px;
	margin: 0;
	padding: 8px;
	stroke: var(--tp-footer-dark);
	width: 34px;
}

.tp-footer__contact-list li:last-child a,
.tp-footer__contact-list li:last-child span {
	color: var(--tp-footer-dark) !important;
}

.tp-footer__contact-list svg {
	fill: none;
	height: 18px;
	margin-top: 0.15rem;
	stroke: var(--tp-footer-accent);
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 1.6;
	width: 18px;
}

.tp-footer__contact-list span,
.tp-footer__contact-list strong {
	display: block;
}

.tp-footer__contact-list strong {
	font-size: 0.82rem;
	margin-bottom: 0.2rem;
}

.tp-footer__contact-list span,
.tp-footer__contact-list a,
.tp-footer__menu a {
	color: var(--tp-footer-muted) !important;
	font-size: 0.9rem;
	line-height: 1.5;
	text-decoration: none !important;
}

.tp-footer__menu {
	display: grid;
	gap: 0.65rem;
}

.tp-footer__menu a::before {
	content: none;
}

.tp-footer__contact-list a:hover,
.tp-footer__menu a:hover {
	color: var(--tp-footer-dark) !important;
}

.tp-footer__newsletter > p {
	color: var(--tp-footer-muted);
	font-size: 0.9rem;
	line-height: 1.65;
	margin: 0 0 1.25rem;
}

.tp-footer__newsletter-form input[type="email"] {
	background: #fff;
	border: 1px solid rgba(29, 34, 39, 0.18);
	border-radius: 100px;
	min-height: 48px;
	padding: 0.7rem 1rem;
	width: 100%;
}

.tp-footer__newsletter-form input[type="submit"] {
	background: var(--tp-footer-dark);
	border: 0;
	border-radius: 100px;
	color: #fff;
	cursor: pointer;
	margin-top: 0.65rem;
	min-height: 46px;
	padding: 0.7rem 1.25rem;
}

.tp-footer__newsletter-form .wpcf7-spinner {
	display: none;
}

.tp-footer__socials {
	display: flex;
	flex-wrap: wrap;
	gap: 0.65rem;
	margin-top: 1.5rem;
}

.tp-footer__socials a {
	align-items: center;
	border: 1px solid rgba(76, 171, 38, 0.42);
	border-radius: 50%;
	color: var(--tp-footer-dark) !important;
	display: flex;
	font-size: 0.8rem;
	font-weight: 700;
	height: 38px;
	justify-content: center;
	text-decoration: none !important;
	width: 38px;
}

.tp-footer__socials a:hover {
	background: var(--tp-footer-dark);
	color: #fff !important;
}

.tp-footer__bottom {
	background: #fff;
	color: #637078;
	padding-block: 1.4rem;
}

.tp-footer__bottom-inner {
	align-items: center;
	display: flex;
	gap: 2rem;
	justify-content: space-between;
}

.tp-footer__bottom p {
	font-size: 0.82rem;
	margin: 0;
}

.tp-footer__legal-menu {
	display: flex;
	flex-wrap: wrap;
	gap: 1.5rem;
}

.tp-footer__legal-menu a {
	color: #637078 !important;
	font-size: 0.82rem;
	text-decoration: none !important;
}

/* Dark main footer panel ------------------------------------------------ */
.tp-footer__panel {
	background: #000;
	color: #fff;
}

.tp-footer__brand-row {
	border-bottom-color: rgba(255, 255, 255, 0.25);
}

.tp-footer__site-name,
.tp-footer__brand-row > p,
.tp-footer__column h2,
.tp-footer__contact-list strong,
.tp-footer__contact-list span,
.tp-footer__contact-list a,
.tp-footer__menu a,
.tp-footer__newsletter > p,
.tp-footer__socials a {
	color: #fff !important;
}

.tp-footer__contact-list a:hover,
.tp-footer__menu a:hover {
	color: #fff !important;
}

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

	.tp-footer__cta-inner > p {
		grid-column: 1 / -1;
		padding-left: clamp(4rem, 16vw, 8rem);
	}

	.tp-footer__columns {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.tp-footer__newsletter {
		grid-column: 1 / -1;
		max-width: 580px;
	}
}

@media (max-width: 620px) {
	.tp-footer__cta,
	.tp-footer__main {
		padding-left: max(var(--global-content-edge-padding, 1rem), 1rem);
		padding-right: max(var(--global-content-edge-padding, 1rem), 1rem);
	}

	.tp-footer__cta-inner,
	.tp-footer__panel {
		max-width: var(--global-content-width, 1290px);
	}

	.tp-footer__cta-inner,
	.tp-footer__columns {
		grid-template-columns: 1fr;
	}

	.tp-footer__cta-inner {
		align-items: flex-start;
		gap: 1.25rem;
		padding-block: 2rem;
	}

	.tp-footer__cta-inner > p {
		border-right: 0;
		padding: 4.5rem 0 0;
	}

	.tp-footer__cta-media {
		height: 150px;
		width: 100%;
	}

	.tp-footer__cta-media::after {
		background: linear-gradient(180deg, rgba(23, 75, 5, 0.12), #174b05 100%);
	}

	.tp-footer__badge > svg {
		height: 62px;
		width: 62px;
	}

	.tp-footer__cta-button {
		width: 100%;
	}

	.tp-footer__brand-row {
		align-items: flex-start;
		flex-direction: column;
		padding-inline: 1rem;
	}

	.tp-footer__brand-row > p {
		font-size: 1.35rem;
		text-align: left;
	}

	.tp-footer__columns {
		padding-inline: 1rem;
	}

	.tp-footer__newsletter {
		grid-column: auto;
	}

	.tp-footer__bottom-inner {
		align-items: flex-start;
		flex-direction: column;
		gap: 0.85rem;
	}
}

/* Redes sociales del footer */
.tp-footer__socials {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 20px;
}

/* Botón de cada red social */
.tp-footer__socials a {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;

    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 50%;

    color: #ffffff;
    text-decoration: none;

    transition: all 0.25s ease;
}

/* Tamaño de los SVG */
.tp-footer__socials a svg {
    width: 20px;
    height: 20px;

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

/* Facebook, LinkedIn, TikTok y WhatsApp usan paths rellenos */
.tp-footer__socials a svg path {
    fill: currentColor;
    stroke: none;
}

/* Instagram necesita mantener líneas */
.tp-footer__socials a[aria-label="Instagram"] svg rect,
.tp-footer__socials a[aria-label="Instagram"] svg circle {
    fill: none;
    stroke: currentColor;
}

/* Hover */
.tp-footer__socials a:hover {
    background: #ffffff;
    color: #000000!important;
    border-color: #ffffff;
    transform: translateY(-3px);
}

/* Accesibilidad con teclado */
.tp-footer__socials a:focus-visible {
    outline: 2px solid #ffffff;
    outline-offset: 3px;
}

/* Móvil */
@media (max-width: 767px) {
    .tp-footer__socials {
        gap: 10px;
    }

    .tp-footer__socials a {
        width: 40px;
        height: 40px;
    }

    .tp-footer__socials a svg {
        width: 19px;
        height: 19px;
    }
}