/* Wipe Tax Core — componentes (encabezado, pie, botones, formularios, videos). */

.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }
.wt-i { width: 1.15em; height: 1.15em; flex: none; }

/* ---------- Botones ---------- */
.wt-btn {
	box-sizing: border-box;
	display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
	padding: .85rem 1.5rem; border-radius: 999px; text-decoration: none !important; line-height: 1.2;
	font-family: var(--wp--preset--font-family--heading, "Poppins", sans-serif); font-weight: 600; font-size: 1rem;
	transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease, color .15s ease; border: 0; cursor: pointer;
}
.wt-btn:hover { transform: translateY(-1px); }
.wt-btn:focus-visible, .wt-lang a:focus-visible, .wt-burger:focus-visible { outline: 3px solid #8FD3FF; outline-offset: 2px; }
.wt-btn--green { background: #0E8A32; color: #fff !important; box-shadow: 0 8px 20px rgba(14, 138, 50, .28); }
.wt-btn--green:hover { background: #0B7329; }
.wt-btn--blue { background: #0B6FD6; color: #fff !important; box-shadow: 0 8px 20px rgba(11, 111, 214, .25); }
.wt-btn--blue:hover { background: #095CB2; }
.wt-btn--light { background: #fff; color: #0A1B33 !important; }
.wt-btn--light:hover { background: #EAF4FF; }
.wt-btn--outline { background: transparent; color: #0A1B33 !important; box-shadow: inset 0 0 0 2px #E2E8F1; }
.wt-btn--outline:hover { box-shadow: inset 0 0 0 2px #0B6FD6; }
.wt-btn--ghost-dark { background: #F3F6FB; color: #0A1B33 !important; }
.wt-btn--ig { background: linear-gradient(90deg, #F58529, #DD2A7B 45%, #8134AF 75%, #515BD4); color: #fff !important; box-shadow: 0 8px 20px rgba(221, 42, 123, .25); }

/* ---------- Barra de anuncio ---------- */
.wt-announce { background: linear-gradient(90deg, #0E8A32, #0B6FD6); color: #fff; text-align: center; font-size: .9rem; font-weight: 500; }
.wt-announce p { margin: 0; padding: .55rem 1rem; }

/* ---------- Encabezado ---------- */
.wt-site-header { position: sticky; top: 0; z-index: 50; }
.admin-bar .wt-site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .wt-site-header { top: 46px; } }
@media (max-width: 600px) { .admin-bar .wt-site-header { top: 0; } }
.wt-header {
	position: relative; z-index: 50; background: rgba(255, 255, 255, .92);
	-webkit-backdrop-filter: saturate(180%) blur(12px); backdrop-filter: saturate(180%) blur(12px);
	border-bottom: 1px solid transparent; transition: box-shadow .2s ease, border-color .2s ease;
}
.wt-header.is-scrolled { border-color: #E2E8F1; box-shadow: 0 6px 24px rgba(10, 27, 51, .08); }
.wt-header__inner { max-width: 1320px; margin: 0 auto; padding: .7rem clamp(1rem, 4vw, 2rem); display: flex; align-items: center; gap: 1.5rem; }
.wt-brand { display: inline-flex; flex: none; }
.wt-brand img { height: 50px; width: auto; display: block; }
.wt-nav { margin-left: auto; }
.wt-nav__list { list-style: none; display: flex; gap: .2rem; margin: 0; padding: 0; }
.wt-nav__list a {
	display: block; padding: .55rem .8rem; border-radius: 10px; text-decoration: none; color: #14213A;
	font-family: var(--wp--preset--font-family--heading, "Poppins", sans-serif); font-weight: 500; font-size: .95rem;
}
.wt-nav__list a:hover { background: #F3F6FB; color: #0B6FD6; }
.wt-nav__list .current-menu-item > a { color: #0B6FD6; background: #EAF4FF; }
.wt-nav__mobile-extra { display: none; }
.wt-header__actions { display: flex; align-items: center; gap: .8rem; }
.wt-header__phone { display: inline-flex; align-items: center; gap: .4rem; color: #0A1B33; text-decoration: none; font-weight: 600; font-size: .92rem; white-space: nowrap; }
.wt-header__phone .wt-i { color: #0E8A32; }
.wt-header__cta { padding: .7rem 1.2rem; font-size: .92rem; }

.wt-lang { display: inline-flex; padding: 3px; border-radius: 999px; background: #F3F6FB; border: 1px solid #E2E8F1; }
.wt-lang__item {
	min-width: 36px; padding: .3rem .55rem; border-radius: 999px; text-align: center; font-size: .78rem; font-weight: 700; letter-spacing: .04em;
	color: #52617A; text-decoration: none; font-family: var(--wp--preset--font-family--heading, "Poppins", sans-serif);
}
.wt-lang a.wt-lang__item:hover { color: #0B6FD6; }
.wt-lang__item.is-active { background: #0A1B33; color: #fff; }

.wt-burger { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid #E2E8F1; background: #fff; color: #0A1B33; cursor: pointer; align-items: center; justify-content: center; }
.wt-burger .wt-i { width: 24px; height: 24px; }
.wt-burger .wt-i--close { display: none; }

@media (max-width: 1300px) {
	.wt-header__phone span { display: none; }
}
@media (max-width: 1140px) {
	.wt-burger { display: inline-flex; }
	.wt-header__cta, .wt-header__phone { display: none; }
	.wt-nav {
		position: fixed; inset: 0 0 0 auto; width: min(360px, 88vw); background: #fff; z-index: 60;
		padding: 5.5rem 1.5rem 2rem; box-shadow: -20px 0 60px rgba(10, 27, 51, .18);
		transform: translateX(100%); transition: transform .25s ease; visibility: hidden; overflow-y: auto;
	}
	.wt-menu-open .wt-nav { transform: none; visibility: visible; }
	.wt-menu-open .wt-burger { position: relative; z-index: 70; }
	.wt-menu-open .wt-burger .wt-i--menu { display: none; }
	.wt-menu-open .wt-burger .wt-i--close { display: block; }
	.wt-menu-open::after { content: ""; position: fixed; inset: 0; background: rgba(10, 27, 51, .45); z-index: 55; }
	.wt-menu-open .wt-site-header { z-index: 100; }
	.wt-menu-open .wt-header { -webkit-backdrop-filter: none; backdrop-filter: none; background: #fff; }
	.wt-nav__list { flex-direction: column; gap: .2rem; }
	.wt-nav__list a { font-size: 1.1rem; padding: .8rem 1rem; }
	.wt-nav__mobile-extra { display: grid; gap: .7rem; margin-top: 1.5rem; padding-top: 1.5rem; border-top: 1px solid #E2E8F1; }
	.wt-header__actions { margin-left: auto; }
}
@media (max-width: 600px) {
	.wt-brand img { height: 40px; }
	.wt-header__inner { gap: .6rem; }
}

/* ---------- Pie ---------- */
.wt-footer { background: #07142A; color: #A9BBD6; font-size: .95rem; }
.wt-footer a { color: #D7E3F4; text-decoration: none; }
.wt-footer a:hover { color: #8FD3FF; }
.wt-footer__inner {
	max-width: 1320px; margin: 0 auto; padding: clamp(3rem, 6vw, 4.5rem) clamp(1rem, 4vw, 2rem) 2rem;
	display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 2.5rem;
}
.wt-footer__brand .wt-brand img { height: 56px; }
.wt-footer__brand p { margin: 1.2rem 0; max-width: 340px; line-height: 1.6; }
.wt-footer h2 { color: #fff; font-size: .85rem; letter-spacing: .12em; text-transform: uppercase; margin: .4rem 0 1rem; font-family: var(--wp--preset--font-family--heading, "Poppins", sans-serif); }
.wt-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.wt-footer__contact li { display: flex; gap: .7rem; align-items: flex-start; }
.wt-footer__contact .wt-i { color: #22A7F0; margin-top: .2rem; }
.wt-social { display: flex; gap: .6rem; }
.wt-social a { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 12px; background: rgba(255, 255, 255, .07); }
.wt-social a:hover { background: #0B6FD6; color: #fff; }
.wt-footer__creds { max-width: 1320px; margin: 0 auto !important; padding: 0 clamp(1rem, 4vw, 2rem) 1.5rem !important; display: flex !important; flex-wrap: wrap; gap: .6rem !important; }
.wt-footer__creds li { display: inline-flex; align-items: center; gap: .45rem; padding: .4rem .8rem; border-radius: 999px; background: rgba(255, 255, 255, .06); font-size: .82rem; color: #D7E3F4; }
.wt-footer__creds .wt-i { color: #22C55E; }
.wt-footer__bottom { border-top: 1px solid rgba(255, 255, 255, .08); max-width: 1320px; margin: 0 auto; padding: 1.4rem clamp(1rem, 4vw, 2rem) 2rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: .6rem 2rem; font-size: .82rem; }
.wt-footer__bottom p { margin: 0; }
.wt-footer__legal { max-width: 640px; color: #7F93B2; }
@media (max-width: 900px) { .wt-footer__inner { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .wt-footer__inner { grid-template-columns: 1fr; } .wt-footer { padding-bottom: 70px; } }

/* ---------- WhatsApp flotante y barra móvil ---------- */
.wt-float-wa {
	position: fixed; right: 20px; bottom: 20px; z-index: 40; display: inline-flex; align-items: center; gap: .6rem;
	padding: .8rem 1.1rem .8rem .9rem; border-radius: 999px; background: #25D366; color: #fff !important; text-decoration: none;
	font-weight: 600; font-size: .92rem; box-shadow: 0 12px 30px rgba(37, 211, 102, .4); transition: transform .15s ease;
}
.wt-float-wa:hover { transform: translateY(-2px) scale(1.02); }
.wt-float-wa .wt-i { width: 26px; height: 26px; }
.wt-mobilebar { display: none; }
@media (max-width: 560px) {
	.wt-float-wa { display: none; }
	.wt-mobilebar {
		display: grid; grid-template-columns: 1fr 1fr 1.2fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
		background: #fff; border-top: 1px solid #E2E8F1; box-shadow: 0 -8px 24px rgba(10, 27, 51, .08); padding: .4rem .5rem calc(.4rem + env(safe-area-inset-bottom));
	}
	.wt-mobilebar a { display: flex; flex-direction: column; align-items: center; gap: .15rem; padding: .35rem; font-size: .75rem; font-weight: 600; color: #0A1B33; text-decoration: none; border-radius: 12px; }
	.wt-mobilebar a .wt-i { width: 22px; height: 22px; color: #0B6FD6; }
	.wt-mobilebar a:nth-child(2) .wt-i { color: #25D366; }
	.wt-mobilebar a.is-primary { background: #0E8A32; color: #fff; }
	.wt-mobilebar a.is-primary .wt-i { color: #fff; }
}

/* ---------- Lista de contacto y mapa ---------- */
.wt-contact-list { list-style: none; padding: 0; margin: 1.2rem 0 0; display: grid; gap: 1rem; }
.wt-contact-list li { display: flex; gap: .9rem; align-items: flex-start; }
.wt-contact-list .wt-i { width: 40px; height: 40px; padding: 10px; border-radius: 12px; background: #EAF4FF; color: #0B6FD6; box-sizing: border-box; }
.wt-contact-list .wt-i--whatsapp { background: #E7F9EE; color: #1BAA52; }
.wt-contact-list strong { display: block; font-family: var(--wp--preset--font-family--heading, "Poppins", sans-serif); color: #0A1B33; font-size: .95rem; }
.wt-contact-list span { color: #52617A; }
.wt-contact-list a { font-weight: 500; text-decoration: none; }
.wt-contact-list a:hover { text-decoration: underline; }
.wt-contact-list div { font-size: .97rem; line-height: 1.5; }
.wt-map { border-radius: 20px; overflow: hidden; border: 1px solid #E2E8F1; box-shadow: 0 8px 24px rgba(10, 27, 51, .07); background: #E9EEF5; }
.wt-map iframe { display: block; width: 100%; height: 420px; border: 0; }

/* ---------- Formularios ---------- */
.wt-form__grid, .wt-calc__fields { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 1.1rem; margin: 1.2rem 0 1.4rem; }
.wt-form__full { grid-column: 1 / -1; }
.wt-form label > span, .wt-calc label > span { display: block; font-size: .88rem; font-weight: 600; color: #14213A; margin-bottom: .35rem; }
.wt-form input[type="text"], .wt-form input[type="tel"], .wt-form input[type="email"], .wt-form select, .wt-form textarea,
.wt-calc input[type="number"], .wt-calc select {
	width: 100%; box-sizing: border-box; font: inherit; font-size: 1rem; color: #14213A; background: #fff;
	border: 1.5px solid #D5DEEA; border-radius: 12px; padding: .75rem .9rem; transition: border-color .15s ease, box-shadow .15s ease;
}
.wt-form input:focus, .wt-form select:focus, .wt-form textarea:focus, .wt-calc input:focus, .wt-calc select:focus {
	outline: none; border-color: #0B6FD6; box-shadow: 0 0 0 4px rgba(11, 111, 214, .14);
}
.wt-form__check, .wt-calc__check { display: flex !important; gap: .6rem; align-items: flex-start; font-size: .9rem; color: #52617A; }
.wt-form__check input, .wt-calc__check input { margin-top: .25rem; width: 18px; height: 18px; accent-color: #0E8A32; flex: none; }
.wt-form__check span, .wt-calc__check span { font-weight: 400 !important; color: #52617A !important; margin: 0 !important; }
.wt-form__hp { position: absolute; left: -9999px; }
.wt-form__notice { padding: 1rem 1.2rem; border-radius: 12px; margin-bottom: 1rem; font-weight: 500; }
.wt-form__notice.is-ok { background: #E7F9EE; color: #0B6B27; border: 1px solid #BDEBCD; }
.wt-form__notice.is-error { background: #FDECEE; color: #9B1022; border: 1px solid #F6C4CB; }
@media (max-width: 600px) { .wt-form__grid, .wt-calc__fields { grid-template-columns: 1fr; } }

/* ---------- Calculadora ---------- */
.wt-calc { background: #fff; border: 1px solid #E2E8F1; border-radius: 22px; padding: clamp(1.5rem, 3vw, 2.2rem); box-shadow: 0 24px 60px rgba(10, 27, 51, .12); }
.wt-calc__check { grid-column: 1 / -1; }
.wt-calc__result {
	margin-top: 1.6rem; padding: 1.6rem; border-radius: 18px; text-align: center; color: #fff;
	background: radial-gradient(400px 200px at 100% 0%, rgba(255, 255, 255, .22), transparent 60%), linear-gradient(135deg, #0E8A32, #18B24A);
}
.wt-calc__result.is-owe { background: linear-gradient(135deg, #0A1B33, #0C3263); }
.wt-calc__result p { margin: 0; }
.wt-calc__label { font-size: .95rem; opacity: .9; }
.wt-calc__amount { font-family: var(--wp--preset--font-family--heading, "Poppins", sans-serif); font-weight: 800; font-size: clamp(2.4rem, 6vw, 3.4rem); line-height: 1.15; letter-spacing: -.02em; }
.wt-calc__detail { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem 1.6rem; margin: 1rem 0; font-size: .85rem; }
.wt-calc__detail div { display: flex; gap: .35rem; }
.wt-calc__detail dt { opacity: .85; }
.wt-calc__detail dd { margin: 0; font-weight: 700; }
.wt-calc__cta { margin: .6rem auto 1rem !important; max-width: 460px; font-size: .95rem; }
.wt-calc__result .wt-btn--blue { background: #fff; color: #0A1B33 !important; box-shadow: none; }
.wt-calc__note { margin: 1.2rem 0 0; font-size: .8rem; color: #6B7A92; line-height: 1.5; }

/* ---------- Videos ---------- */
.wt-ig-feed { margin-bottom: 2rem; }
.wt-videos { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 1.25rem; align-items: start; }
.wt-video { margin: 0; background: #fff; border-radius: 18px; overflow: hidden; border: 1px solid #E2E8F1; box-shadow: 0 8px 24px rgba(10, 27, 51, .07); }
.wt-video .instagram-media { margin: 0 !important; min-width: 0 !important; width: 100% !important; border: 0 !important; box-shadow: none !important; border-radius: 0 !important; }
.wt-video iframe { display: block; width: 100%; aspect-ratio: 9 / 16; height: auto; border: 0; }
.wt-video iframe[src*="youtube"] { aspect-ratio: 16 / 9; }
.wt-video__file { display: block; width: 100%; aspect-ratio: 9 / 16; object-fit: cover; background: #000; }
.wt-videos-empty { text-align: center; padding: 3rem 1.5rem; border: 2px dashed #CFDBEA; border-radius: 22px; background: #fff; color: #52617A; }
.wt-videos-empty .wt-i { width: 48px; height: 48px; color: #DD2A7B; }
.wt-videos-empty p { max-width: 520px; margin: 1rem auto 0; }
.wt-videos-follow { text-align: center; margin: 2rem 0 0; }
