/* Base accesible y componentes compartidos del tema nativo. */
*,
*::before,
*::after {
	box-sizing: border-box;
}

:where(h1, h2, h3, h4, [id]) {
	scroll-margin-top: 100px;
}

button,
input,
select,
textarea {
	font: inherit;
}

.lr-page-shell {
	width: 100%;
	min-height: 62vh;
	padding: clamp(24px, 4vw, 56px) 16px;
	background: #f6f7fb;
	overflow-x: hidden;
	position: relative;
	z-index: 1;
}

.lr-home-hero {
	min-height: 100vh;
	min-height: 100svh;
}

.lr-page-breadcrumbs {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	margin: 0 0 18px;
	color: #6b7280;
	font-size: 13px;
	font-weight: 700;
	line-height: 1.4;
}

.lr-page-breadcrumbs a {
	color: #0756ad;
	text-decoration: none;
}

.lr-page-breadcrumbs a:hover {
	text-decoration: underline;
	text-underline-offset: 3px;
}

.lr-page-breadcrumbs > span[aria-hidden] {
	color: #9ca3af;
}

.lr-page-hero {
	width: 100%;
	max-width: 1200px;
	margin: 0 auto clamp(24px, 4vw, 42px);
	text-align: left;
	padding: 0 16px;
}

.lr-page-hero h1,
.lr-single-post-header h1,
.lr-legal-header h1,
.lr-error-card h1 {
	margin: 0;
	color: var(--primary-purple);
	font-size: clamp(2.25rem, 5vw, 3rem);
	font-weight: 900;
	letter-spacing: -0.04em;
	line-height: 1.1;
	text-wrap: balance;
}

.lr-page-hero > p:last-child {
	max-width: 65ch;
	margin: 12px 0 0;
	color: #5a6575;
	font-size: clamp(1rem, 1.5vw, 1.125rem);
	line-height: 1.6;
}

.lr-eyebrow {
	margin: 0 0 12px;
	color: #0756ad;
	font-size: 12px;
	font-weight: 850;
	letter-spacing: 0.11em;
	line-height: 1.4;
	text-transform: uppercase;
}

.lr-section-heading {
	margin-bottom: 26px;
}

.lr-section-heading h2 {
	margin: 0;
	color: var(--primary-purple);
	font-size: clamp(1.55rem, 3vw, 2.15rem);
	font-weight: 900;
	letter-spacing: -0.025em;
	line-height: 1.15;
}

.lr-section-heading > p:last-child {
	margin: 10px 0 0;
	color: #616c7b;
	line-height: 1.65;
}

.lr-button-row {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 10px;
	margin-top: 26px;
}

.lr-button {
	display: inline-flex;
	min-height: 46px;
	align-items: center;
	justify-content: center;
	padding: 10px 18px;
	border: 1px solid transparent;
	border-radius: 11px;
	font-size: 14px;
	font-weight: 800;
	line-height: 1.3;
	text-align: center;
	text-decoration: none;
	transition: background-color 0.16s ease, border-color 0.16s ease, color 0.16s ease, transform 0.16s ease;
}

.lr-button:hover {
	transform: translateY(-1px);
}

.lr-button-primary {
	background: var(--primary-purple);
	color: #ffffff;
}

.lr-button-primary:hover {
	background: #3b2065;
	color: #ffffff;
}

.lr-button-secondary {
	border-color: #c9cfda;
	background: #ffffff;
	color: var(--primary-purple);
}

.lr-button-secondary:hover {
	border-color: var(--primary-purple);
	color: var(--primary-purple);
}

.lr-button-quiet {
	color: #344054;
}

.lr-button-quiet:hover {
	background: #eef1f6;
	color: #172033;
}

.lr-text-link,
.lr-back-link {
	display: inline-flex;
	min-height: 44px;
	align-items: center;
	gap: 8px;
	color: #0756ad;
	font-size: 14px;
	font-weight: 800;
	text-decoration: none;
}

.lr-text-link:hover,
.lr-back-link:hover {
	color: #043f81;
	text-decoration: underline;
	text-underline-offset: 4px;
}

/* Contacto */
.lr-contact-page {
	padding-top: clamp(36px, 5vw, 64px);
}

.lr-contact-hero {
	margin-bottom: 30px;
}

.lr-contact-channels {
	display: grid;
	width: min(100%, 1040px);
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 14px;
	margin: 0 auto clamp(28px, 5vw, 48px);
}

.lr-regret-details {
	width: min(100%, 1040px);
	margin: 0 auto clamp(28px, 5vw, 48px);
	padding: 15px 18px;
	border: 1px solid #e1e5eb;
	border-radius: 14px;
	background: rgba(255, 255, 255, .7);
	color: #4b5563;
}

.lr-regret-details summary {
	color: #344054;
	cursor: pointer;
	font-size: 13px;
	font-weight: 800;
}

.lr-regret-details p {
	margin: 12px 0 4px;
	font-size: 13px;
	line-height: 1.6;
}

.lr-regret-details .lr-text-link {
	min-height: 36px;
	font-size: 13px;
}

.lr-contact-channel {
	display: grid;
	min-width: 0;
	min-height: 76px;
	grid-template-columns: 48px minmax(0, 1fr) 20px;
	align-items: center;
	gap: 13px;
	padding: 14px 16px;
	border: 1px solid #dfe4eb;
	border-radius: 16px;
	background: #ffffff;
	box-shadow: 0 9px 28px rgba(15, 23, 42, 0.05);
	color: #172033;
	text-decoration: none;
	transition: border-color 0.16s ease, box-shadow 0.16s ease, transform 0.16s ease;
}

.lr-contact-channel:hover {
	border-color: #b7c1cf;
	box-shadow: 0 14px 34px rgba(15, 23, 42, 0.09);
	transform: translateY(-1px);
}

.lr-contact-channel strong,
.lr-contact-channel small {
	display: block;
	min-width: 0;
	overflow-wrap: anywhere;
}

.lr-contact-channel strong {
	font-size: 14px;
	font-weight: 850;
}

.lr-contact-channel small {
	margin-top: 3px;
	color: #657080;
	font-size: 12px;
	line-height: 1.35;
}

.lr-contact-icon {
	display: inline-flex;
	width: 48px;
	height: 48px;
	align-items: center;
	justify-content: center;
	border-radius: 13px;
	background: #eaf3fe;
	color: #0756ad;
	font-size: 19px;
}

.lr-contact-icon-whatsapp {
	background: #e9f8ef;
	color: #137d42;
}

.lr-contact-arrow {
	color: #7b8594;
	font-size: 13px;
}

.lr-contact-layout {
	display: grid;
	width: min(100%, 1120px);
	grid-template-columns: minmax(0, 1.3fr) minmax(300px, 0.7fr);
	align-items: start;
	gap: clamp(20px, 4vw, 38px);
	margin: 0 auto;
}

.lr-contact-layout-without-form {
	grid-template-columns: minmax(0, 760px);
	justify-content: center;
}

.lr-contact-form-card,
.lr-branches {
	min-width: 0;
}

.lr-contact-form-card {
	padding: clamp(22px, 4vw, 38px);
	border: 1px solid #dfe4eb;
	border-radius: 22px;
	background: #ffffff;
	box-shadow: 0 18px 44px rgba(15, 23, 42, 0.07);
}

.lr-native-contact-form .wpforms-container {
	margin: 0 !important;
}

.lr-native-contact-form .wpforms-container .wpforms-field {
	padding: 0 0 18px !important;
}

.lr-native-contact-form .wpforms-container .wpforms-field-row {
	max-width: none !important;
}

.lr-native-contact-form .wpforms-container label.wpforms-field-label,
.lr-native-contact-form .wpforms-container .wpforms-field-label-inline {
	display: block !important;
	margin: 0 0 7px !important;
	color: #273142 !important;
	font-size: 13px !important;
	font-weight: 800 !important;
	line-height: 1.4 !important;
}

.lr-native-contact-form .wpforms-container input[type="text"],
.lr-native-contact-form .wpforms-container input[type="email"],
.lr-native-contact-form .wpforms-container input[type="tel"],
.lr-native-contact-form .wpforms-container input[type="url"],
.lr-native-contact-form .wpforms-container input[type="number"],
.lr-native-contact-form .wpforms-container select,
.lr-native-contact-form .wpforms-container textarea {
	visibility: visible !important;
	width: 100% !important;
	max-width: none !important;
	min-height: 48px !important;
	padding: 11px 13px !important;
	border: 1px solid #cbd2dd !important;
	border-radius: 10px !important;
	background: #ffffff !important;
	box-shadow: none !important;
	color: #172033 !important;
	font-size: 16px !important;
	line-height: 1.45 !important;
	opacity: 1 !important;
}

.lr-native-contact-form .wpforms-container textarea {
	min-height: 150px !important;
	resize: vertical !important;
}

.lr-native-contact-form .wpforms-container input:focus,
.lr-native-contact-form .wpforms-container select:focus,
.lr-native-contact-form .wpforms-container textarea:focus {
	border-color: #0b63ce !important;
	box-shadow: 0 0 0 3px rgba(11, 99, 206, 0.13) !important;
	outline: 0 !important;
}

.lr-native-contact-form .wpforms-container .wpforms-field-sublabel {
	margin-top: 6px !important;
	color: #687386 !important;
	font-size: 12px !important;
}

.lr-native-contact-form .wpforms-container .wpforms-submit-container {
	padding: 2px 0 0 !important;
}

.lr-native-contact-form .wpforms-container button[type="submit"] {
	min-height: 48px !important;
	padding: 11px 22px !important;
	border: 0 !important;
	border-radius: 11px !important;
	background: var(--primary-purple) !important;
	box-shadow: none !important;
	color: #ffffff !important;
	font-size: 14px !important;
	font-weight: 850 !important;
	cursor: pointer !important;
}

.lr-native-contact-form .wpforms-container button[type="submit"]:hover {
	background: #3b2065 !important;
}

.lr-form-privacy {
	margin: 18px 0 0;
	color: #687386;
	font-size: 12px;
	line-height: 1.6;
}

.lr-form-privacy a {
	color: #0756ad;
	font-weight: 750;
}

.lr-branches {
	display: grid;
	gap: 16px;
}

.lr-branches > .lr-section-heading {
	margin-bottom: 3px;
}

.lr-branch-card {
	padding: 22px;
	border: 1px solid #dfe4eb;
	border-radius: 18px;
	background: #ffffff;
	box-shadow: 0 10px 30px rgba(15, 23, 42, 0.055);
}

.lr-branch-heading {
	display: flex;
	align-items: center;
	gap: 13px;
	margin-bottom: 17px;
}

.lr-branch-heading .lr-contact-icon {
	width: 44px;
	height: 44px;
	flex: 0 0 44px;
	font-size: 16px;
}

.lr-branch-heading h3 {
	margin: 0;
	color: var(--primary-purple);
	font-size: 17px;
	font-weight: 850;
	line-height: 1.3;
}

.lr-branch-card address {
	margin: 0;
	font-style: normal;
}

.lr-branch-card address p {
	display: grid;
	grid-template-columns: 20px minmax(0, 1fr);
	align-items: start;
	gap: 9px;
	margin: 0 0 11px;
	color: #596575;
	font-size: 14px;
	line-height: 1.55;
}

.lr-branch-card address i {
	display: inline-flex;
	width: 20px;
	height: 22px;
	align-items: center;
	justify-content: center;
	color: #0756ad;
	font-size: 13px;
}

.lr-branch-card address a {
	color: #334155;
	font-weight: 700;
	text-decoration: none;
}

.lr-branch-card address a:hover {
	color: #0756ad;
	text-decoration: underline;
}

.lr-branch-hours {
	margin: 4px 0 18px 29px;
	color: #596575;
	font-size: 13px;
}

.lr-branch-hours strong {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 7px;
	color: #273142;
	font-size: 13px;
}

.lr-branch-hours strong i {
	color: #0756ad;
}

.lr-branch-hours ul {
	display: grid;
	gap: 4px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.lr-branch-hours li {
	display: flex;
	justify-content: space-between;
	gap: 16px;
}

.lr-branch-hours time,
.lr-branch-hours li > span:last-child {
	color: #273142;
	font-weight: 750;
	white-space: nowrap;
}

.lr-branch-map {
	overflow: hidden;
	margin: 0 0 15px;
	border-radius: 12px;
	background: #eef1f6;
}

.lr-branch-map iframe {
	display: block;
	width: 100%;
	height: 170px;
	border: 0;
}

.lr-contact-page svg {
	max-width: 24px;
	max-height: 24px;
}

/* Blog */
.lr-blog-grid {
	display: grid;
	width: min(100%, 1180px);
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: clamp(18px, 3vw, 28px);
	margin: 0 auto;
}

.lr-blog-card {
	display: flex;
	min-width: 0;
	flex-direction: column;
	overflow: hidden;
	border: 1px solid #dfe4eb;
	border-radius: 19px;
	background: #ffffff;
	box-shadow: 0 12px 34px rgba(15, 23, 42, 0.06);
}

.lr-blog-card-media,
.lr-blog-card-placeholder {
	display: block;
	width: 100%;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	background: #ece8f3;
}

.lr-blog-card-media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.25s ease;
}

.lr-blog-card-media:hover img {
	transform: scale(1.025);
}

.lr-blog-card-placeholder {
	display: flex;
	align-items: center;
	justify-content: center;
	color: #735d91;
	font-size: 34px;
}

.lr-blog-card-body {
	display: flex;
	min-width: 0;
	flex: 1 1 auto;
	flex-direction: column;
	align-items: flex-start;
	padding: 22px;
}

.lr-blog-meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 7px;
	color: #6d7786;
	font-size: 12px;
	font-weight: 650;
	line-height: 1.5;
}

.lr-blog-meta a {
	color: #0756ad;
	text-decoration: none;
}

.lr-blog-meta a:hover {
	text-decoration: underline;
}

.lr-blog-card h2 {
	margin: 12px 0 10px;
	font-size: 19px;
	font-weight: 850;
	letter-spacing: -0.02em;
	line-height: 1.3;
}

.lr-blog-card h2 a {
	display: -webkit-box;
	overflow: hidden;
	color: #20283a;
	text-decoration: none;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
}

.lr-blog-card h2 a:hover {
	color: var(--primary-purple);
	text-decoration: underline;
	text-underline-offset: 3px;
}

.lr-blog-excerpt {
	display: -webkit-box;
	overflow: hidden;
	margin: 0 0 13px;
	color: #5e6978;
	font-size: 14px;
	line-height: 1.65;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 4;
}

.lr-blog-excerpt p {
	margin: 0;
}

.lr-blog-card-body > .lr-text-link {
	margin-top: auto;
}

.lr-pagination {
	display: flex;
	justify-content: center;
	margin: 42px auto 0;
}

.lr-pagination .nav-links {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 7px;
}

.lr-pagination .page-numbers {
	display: inline-flex;
	min-width: 44px;
	min-height: 44px;
	align-items: center;
	justify-content: center;
	padding: 8px 12px;
	border: 1px solid #d6dce5;
	border-radius: 10px;
	background: #ffffff;
	color: #344054;
	font-size: 13px;
	font-weight: 750;
	text-decoration: none;
}

.lr-pagination .page-numbers.current {
	border-color: var(--primary-purple);
	background: var(--primary-purple);
	color: #ffffff;
}

.lr-pagination a.page-numbers:hover {
	border-color: #aab4c2;
	background: #eef1f6;
}

.lr-empty-state {
	width: min(100%, 720px);
	max-width: calc(100vw - 32px);
	margin: 30px auto;
	padding: clamp(30px, 6vw, 58px) clamp(20px, 4vw, 32px);
	border: 1px solid #dfe4eb;
	border-radius: 24px;
	background: #ffffff;
	box-shadow: 0 18px 44px rgba(15, 23, 42, 0.06);
	text-align: center;
	position: relative;
	z-index: 1;
}

.lr-empty-state-icon {
	display: inline-flex;
	width: 80px;
	height: 80px;
	align-items: center;
	justify-content: center;
	margin-bottom: 24px;
	border-radius: 20px;
	background: #efeaf5;
	color: var(--primary-purple);
	font-size: 32px;
}

.lr-empty-state h2 {
	margin: 0;
	color: var(--primary-purple);
	font-size: clamp(1.45rem, 3vw, 2rem);
	font-weight: 900;
	letter-spacing: -0.02em;
	line-height: 1.2;
}

.lr-empty-state p {
	max-width: 54ch;
	margin: 13px auto 24px;
	color: #5e6978;
	line-height: 1.7;
}

/* Artículo individual y contenido editorial/legal. */
.lr-single-post-page, .lr-legal-page {
	padding-top: clamp(32px, 5vw, 64px);
}

.lr-single-post,
.lr-legal-card {
	width: min(100%, 800px);
	margin: 0 auto;
	overflow: hidden;
	border: 1px solid #dfe4eb;
	border-radius: 22px;
	background: #ffffff;
	box-shadow: 0 18px 50px rgba(15, 23, 42, 0.07);
}

.lr-single-post-header,
.lr-legal-header {
	padding: clamp(26px, 5vw, 54px);
}

.lr-single-post-header h1 {
	margin-top: 14px;
	font-size: clamp(2rem, 5vw, 3.5rem);
}

.lr-single-post-header .lr-blog-meta {
	gap: 14px;
	margin-top: 20px;
}

.lr-single-post-header .lr-blog-meta span {
	display: inline-flex;
	align-items: center;
	gap: 6px;
}

.lr-back-link {
	margin-bottom: 17px;
}

.lr-post-category {
	display: table;
	min-height: 32px;
	padding: 7px 11px;
	border-radius: 999px;
	background: #eaf3fe;
	color: #0756ad;
	font-size: 11px;
	font-weight: 850;
	letter-spacing: 0.06em;
	text-decoration: none;
	text-transform: uppercase;
}

.lr-post-category:hover {
	background: #dcecff;
}

.lr-single-post-media {
	margin: 0;
	background: #eef0f4;
}

.lr-single-post-media img {
	display: block;
	width: 100%;
	max-height: 560px;
	object-fit: cover;
}

.lr-prose {
	padding: clamp(34px, 5vw, 56px) clamp(26px, 5vw, 54px) clamp(34px, 5vw, 56px);
	color: #3d4858;
	font-size: clamp(1rem, 1.4vw, 1.05rem);
	line-height: 1.8;
	max-width: 80ch;
	margin: 0 auto;
}

.lr-single-post-media + .lr-prose {
	padding-top: clamp(30px, 5vw, 50px);
}

.lr-prose > :first-child {
	margin-top: 0;
}

.lr-prose > :last-child {
	margin-bottom: 0;
}

.lr-prose p,
.lr-prose ul,
.lr-prose ol,
.lr-prose blockquote,
.lr-prose table,
.lr-prose figure {
	margin-top: 0;
	margin-bottom: 1.6em;
}

.lr-prose h2,
.lr-prose h3,
.lr-prose h4 {
	color: var(--primary-purple);
	font-weight: 850;
	letter-spacing: -0.02em;
	line-height: 1.25;
	text-wrap: balance;
}

.lr-prose h2 {
	margin: 1.8em 0 0.65em;
	font-size: clamp(1.45rem, 3vw, 2rem);
}

.lr-prose h3 {
	margin: 1.55em 0 0.6em;
	font-size: clamp(1.18rem, 2.5vw, 1.45rem);
}

.lr-prose :where(ul, ol) {
	padding-left: 1.4em;
}

.lr-prose ul {
	list-style-type: disc;
}

.lr-prose ol {
	list-style-type: decimal;
}

.lr-prose li + li {
	margin-top: 0.6em;
}

.lr-prose strong, .lr-prose b {
	font-weight: 700;
	color: #20283a;
}

.lr-prose a {
	color: #0756ad;
	font-weight: 700;
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
}

.lr-prose img {
	height: auto;
	border-radius: 12px;
}

.lr-prose iframe {
	width: 100%;
	border: 0;
	border-radius: 14px;
}

.lr-prose blockquote {
	padding: 4px 0 4px 20px;
	border-left: 4px solid #8aaee0;
	color: #4d596a;
	font-size: 1.08em;
}

.lr-prose table {
	display: block;
	max-width: 100%;
	overflow-x: auto;
	border-collapse: collapse;
}

.lr-prose th,
.lr-prose td {
	padding: 10px 12px;
	border: 1px solid #dfe4eb;
	text-align: left;
}

.lr-content-pages {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	margin-top: 28px;
}

.lr-post-tags {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 9px;
	padding: 18px clamp(26px, 5vw, 54px);
	border-top: 1px solid #e8ebf0;
	background: #fafbfc;
	color: #657080;
	font-size: 13px;
}

.lr-post-tags a {
	color: #0756ad;
	font-weight: 700;
	text-decoration: none;
}

.lr-post-navigation {
	display: grid;
	width: min(100%, 900px);
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 14px;
	margin: 20px auto 0;
}

.lr-post-navigation-link {
	display: flex;
	min-width: 0;
	min-height: 92px;
	flex-direction: column;
	justify-content: center;
	gap: 7px;
	padding: 17px;
	border: 1px solid #dfe4eb;
	border-radius: 14px;
	background: #ffffff;
	color: #273142;
	text-decoration: none;
}

.lr-post-navigation-link:hover {
	border-color: #aeb8c6;
	box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
}

.lr-post-navigation-link small {
	color: #0756ad;
	font-size: 11px;
	font-weight: 800;
	letter-spacing: 0.045em;
	text-transform: uppercase;
}

.lr-post-navigation-link strong {
	display: -webkit-box;
	overflow: hidden;
	font-size: 14px;
	line-height: 1.4;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
}

.lr-post-navigation-next {
	align-items: flex-end;
	text-align: right;
}

.lr-blog-comments {
	width: min(100%, 900px);
	margin: 20px auto 0;
	padding: clamp(22px, 4vw, 38px);
	border: 1px solid #dfe4eb;
	border-radius: 18px;
	background: #ffffff;
}

.lr-blog-comments .comments-title,
.lr-blog-comments .comment-reply-title {
	margin: 0 0 18px;
	color: var(--primary-purple);
	font-size: 22px;
	font-weight: 850;
}

.lr-blog-comments .comment-list {
	margin: 0 0 28px;
	padding: 0;
	list-style: none;
}

.lr-blog-comments .comment-body {
	margin-bottom: 14px;
	padding: 16px;
	border: 1px solid #e4e8ee;
	border-radius: 12px;
	background: #fafbfc;
}

.lr-blog-comments label {
	display: block;
	margin-bottom: 6px;
	color: #344054;
	font-size: 13px;
	font-weight: 750;
}

.lr-blog-comments :where(input[type="text"], input[type="email"], input[type="url"], textarea) {
	width: 100%;
	min-height: 46px;
	padding: 10px 12px;
	border: 1px solid #cbd2dd;
	border-radius: 9px;
	background: #ffffff;
	font-size: 16px;
}

.lr-blog-comments textarea {
	min-height: 150px;
	resize: vertical;
}

.lr-blog-comments .submit {
	min-height: 46px;
	padding: 10px 18px;
	border: 0;
	border-radius: 10px;
	background: var(--primary-purple);
	color: #ffffff;
	font-weight: 800;
	cursor: pointer;
}

/* Legales */
.lr-legal-page {
	padding-top: clamp(32px, 5vw, 64px);
}

.lr-legal-card {
	overflow: visible;
}

.lr-legal-header {
	padding-bottom: 28px;
	border-bottom: 1px solid #e6eaf0;
}

.lr-legal-header h1 {
	font-size: clamp(2rem, 4.5vw, 3.25rem);
	text-align: center;
}

.lr-legal-updated {
	margin: 16px 0 0;
	color: #697386;
	font-size: 13px;
	line-height: 1.5;
	text-align: center;
}

.lr-legal-content {
	padding-top: clamp(14px, 3vw, 24px);
}

/* Los logos y mapas heredados de Elementor no forman parte del texto legal. */
.lr-legal-content > img,
.lr-legal-content > iframe {
	display: none !important;
}

.lr-legal-content h2 {
	padding-top: 0.35em;
	border-top: 1px solid #e8ebf0;
}

/* 404 */
.lr-error-page {
	display: flex;
	align-items: center;
	justify-content: center;
}

.lr-error-card {
	width: min(100%, 820px);
	max-width: calc(100vw - 32px);
	padding: clamp(28px, 6vw, 62px) clamp(20px, 4vw, 32px);
	border: 1px solid #dfe4eb;
	border-radius: 24px;
	background: #ffffff;
	box-shadow: 0 20px 55px rgba(15, 23, 42, 0.075);
	text-align: center;
	margin: 0 auto;
}

.lr-error-code {
	margin: 0 0 4px;
	background: linear-gradient(135deg, var(--primary-purple), #0b63ce);
	background-clip: text;
	-webkit-background-clip: text;
	color: transparent;
	font-size: clamp(4rem, 15vw, 8rem);
	font-weight: 950;
	letter-spacing: -0.06em;
	line-height: 0.9;
}

.lr-error-card h1 {
	font-size: clamp(1.8rem, 5vw, 3rem);
}

.lr-error-card > p:not(.lr-error-code, .lr-eyebrow) {
	max-width: 60ch;
	margin: 17px auto 0;
	color: #4b5563; /* Mejorado contraste de #5d6878 a #4b5563 para cumplir WCAG */
	line-height: 1.6;
	font-size: clamp(1rem, 1.4vw, 1.1rem);
}

.lr-error-search {
	width: min(100%, 620px);
	margin: 36px auto 0;
	text-align: left;
	box-sizing: border-box;
}

.lr-error-search label {
	display: block;
	margin-bottom: 7px;
	color: #344054;
	font-size: 13px;
	font-weight: 800;
}

.lr-error-search > div {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 6px;
	border: 1px solid #cbd2dd;
	border-radius: 13px;
	background: #ffffff;
}

.lr-error-search input[type="search"] {
	width: 100%;
	min-width: 0;
	height: 46px;
	padding: 0 12px;
	border: 0;
	background: transparent;
	color: #172033;
	font-size: 16px;
	outline: 0;
}

.lr-error-search button {
	display: inline-flex;
	flex-shrink: 0;
	min-width: 108px;
	height: 46px;
	align-items: center;
	justify-content: center;
	gap: 7px;
	padding: 0 24px;
	border: 0;
	border-radius: 9px;
	background: var(--primary-purple);
	color: #ffffff;
	font-size: 14px;
	font-weight: 800;
	cursor: pointer;
}

.lr-quick-links {
	margin-top: 42px;
	padding-top: 32px;
	border-top: 1px solid #e5e9ef;
}

.lr-quick-links > p {
	margin: 0 0 12px;
	color: #344054;
	font-size: 13px;
	font-weight: 850;
}

.lr-quick-links ul {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 12px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.lr-quick-links a {
	display: inline-flex;
	min-height: 44px;
	align-items: center;
	padding: 8px 18px;
	border: 1px solid #d7dde6;
	border-radius: 999px;
	background: #f8f9fb;
	color: #344054;
	font-size: 13px;
	font-weight: 700;
	text-decoration: none;
	transition: all 0.2s ease;
}

.lr-quick-links a:hover {
	border-color: #aab4c2;
	background: #eef1f6;
}

/* Toast y estado de botones WooCommerce, conservados del theme previo. */
#lr-toast-container {
	z-index: 9999;
}

.lr-toast {
	opacity: 0;
	transform: translateY(100px);
	transition: opacity 0.35s ease, transform 0.35s ease;
}

.lr-toast.show {
	opacity: 1;
	transform: translateY(0);
}

.ajax_add_to_cart.loading::after {
	display: none !important;
}

.ajax_add_to_cart.loading {
	background-color: var(--primary-purple) !important;
	color: #ffffff !important;
	animation: lrPulse 0.9s ease-in-out infinite;
}

@keyframes lrPulse {
	0%,
	100% {
		opacity: 1;
	}
	50% {
		opacity: 0.55;
	}
}

@media (max-width: 900px) {
	.lr-contact-layout {
		grid-template-columns: minmax(0, 1fr);
	}

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

	.lr-branches > .lr-section-heading {
		grid-column: 1 / -1;
	}

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

@media (max-width: 640px) {
	.lr-page-shell {
		padding-right: 12px;
		padding-left: 12px;
	}

	.lr-prose {
		font-size: 1rem;
		line-height: 1.7;
	}

	.lr-contact-channels,
	.lr-branches,
	.lr-blog-grid,
	.lr-post-navigation {
		grid-template-columns: minmax(0, 1fr);
	}

	.lr-branches > .lr-section-heading {
		grid-column: auto;
	}

	.lr-contact-form-card {
		border-radius: 17px;
	}

	.lr-native-contact-form .wpforms-container .wpforms-field-row .wpforms-one-half,
	.lr-native-contact-form .wpforms-container .wpforms-field-row .wpforms-first {
		width: 100% !important;
		margin-left: 0 !important;
		float: none !important;
	}

	.lr-native-contact-form .wpforms-container .wpforms-field-row .wpforms-one-half + .wpforms-one-half {
		margin-top: 14px !important;
	}

	.lr-post-navigation > span:empty {
		display: none;
	}

	.lr-error-search {
		width: 100%;
		padding: 0 16px;
	}
	
	.lr-error-search > div {
		flex-direction: column;
	}

	.lr-error-search button {
		width: 100%;
	}
}

@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		scroll-behavior: auto !important;
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
	}
}
