/**
 * TecSal design system v3 — overrides legacy plugin CSS completely.
 */

:root {
	--ts-blue: #0073aa;
	--ts-blue-dark: #005a87;
	--ts-blue-light: #e8f4fa;
	--ts-navy: #21202e;
	--ts-text: #1a2b3c;
	--ts-muted: #5c6f82;
	--ts-border: #dde5ed;
	--ts-bg: #f5f8fb;
	--ts-white: #ffffff;
	--ts-radius: 10px;
	--ts-shadow: 0 4px 24px rgba(0, 40, 80, 0.08);
	--ts-container: 1140px;
}

/* ===== Reset legacy Custom CSS plugin rules ===== */
body.tecsal-site .seccion .imagen,
body.tecsal-site .seccion img.img-inline,
body.tecsal-site .callout .imagen,
body.tecsal-site .video,
body.tecsal-site .carousel-inner {
	border: none !important;
}
body.tecsal-site .seccion .imagen {
	width: auto !important;
	float: none !important;
	margin: 0 !important;
}
body.tecsal-site .seccion > h3 {
	width: auto !important;
	float: none !important;
}

/* ===== Base ===== */
body.tecsal-site {
	font-family: 'Plus Jakarta Sans', 'Segoe UI', sans-serif !important;
	color: var(--ts-text);
	background: var(--ts-white);
	line-height: 1.7;
	font-size: 16px;
	-webkit-font-smoothing: antialiased;
}
body.tecsal-site .page-builder,
body.tecsal-site .tecsal-page-content {
	padding: 0;
}
body.tecsal-site .page-builder .container {
	max-width: var(--ts-container);
	padding-top: 3rem;
	padding-bottom: 4rem;
}
.page-title-section { display: none !important; }

/* ===== Header: logo top-left, nav center, CTA right ===== */
.tecsal-header {
	position: sticky;
	top: 0;
	z-index: 1030;
	background: rgba(15, 23, 42, 0.92);
	backdrop-filter: blur(8px);
	border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
/* Homepage: header overlays hero; logo sits top-left per reference mockup */
body.home .tecsal-header {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	background: rgba(15, 23, 42, 0.52);
	border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
body.home .tecsal-hero {
	margin-top: 0;
}
.tecsal-header__bar {
	padding: 0 2rem;
	max-width: 100%;
}
.tecsal-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1.5rem;
	min-height: 72px;
	position: relative;
}
.tecsal-brand {
	display: flex;
	align-items: center;
	flex: 0 0 auto;
	order: 1;
	text-decoration: none !important;
	z-index: 2;
}
.tecsal-logo {
	display: flex;
	align-items: center;
	line-height: 0;
}
.tecsal-logo-img {
	height: 52px;
	width: auto;
	max-width: 220px;
	object-fit: contain;
	display: block;
}
.tecsal-logo-text {
	font-size: 1.1rem;
	font-weight: 700;
	color: #fff;
	white-space: nowrap;
}
.tecsal-header__nav {
	flex: 1 1 auto;
	display: flex !important;
	justify-content: center;
	position: absolute;
	left: 50%;
	transform: translateX(-50%);
	width: auto;
}
.tecsal-nav {
	flex-direction: row;
	gap: 0.25rem;
	margin: 0;
}
.tecsal-nav > li > a {
	color: rgba(255, 255, 255, 0.88) !important;
	font-weight: 600 !important;
	font-size: 0.8rem !important;
	padding: 0.5rem 0.85rem !important;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	border-radius: 0 !important;
	background: transparent !important;
	border-bottom: 2px solid transparent;
	transition: color 0.2s, border-color 0.2s;
}
.tecsal-nav > li.active > a,
.tecsal-nav > li.current-menu-item > a {
	color: #fff !important;
	border-bottom-color: #2dd4bf;
	background: transparent !important;
}
.tecsal-nav > li > a:hover,
.tecsal-nav > li > a:focus {
	color: #fff !important;
	border-bottom-color: rgba(45, 212, 191, 0.5);
	background: transparent !important;
}
.tecsal-header__cta {
	flex: 0 0 auto;
	order: 3;
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	padding: 0.55rem 1.15rem;
	background: #0d9488;
	color: #fff !important;
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	text-decoration: none !important;
	border-radius: 999px;
	transition: background 0.2s, transform 0.15s;
	white-space: nowrap;
	z-index: 2;
}
.tecsal-header__cta:hover {
	background: #0f766e;
	color: #fff !important;
	transform: translateY(-1px);
}
.tecsal-header__cta-arrow {
	font-size: 0.9rem;
}
.tecsal-nav-toggler {
	border-color: rgba(255, 255, 255, 0.35);
	margin-left: auto;
	order: 3;
	z-index: 3;
}
.tecsal-nav-toggler .navbar-toggler-icon {
	filter: invert(1);
}
.tecsal-logo-bar,
.tecsal-navbar,
.tecsal-tagline {
	display: none !important;
}
.search-bar, .search-box-outer, .header-module, .navbar-header.index3 {
	display: none !important;
}

/* ===== Buttons ===== */
.tecsal-btn {
	display: inline-block;
	padding: 0.75rem 1.75rem;
	border-radius: 6px;
	font-weight: 600;
	font-size: 0.95rem;
	text-decoration: none !important;
	transition: transform .15s, box-shadow .15s, background .15s;
}
.tecsal-btn--primary {
	background: var(--ts-blue);
	color: #fff !important;
	box-shadow: 0 4px 14px rgba(0,115,170,.35);
}
.tecsal-btn--primary:hover {
	background: var(--ts-blue-dark);
	transform: translateY(-1px);
	color: #fff !important;
}
.tecsal-btn--white {
	background: #fff;
	color: var(--ts-blue) !important;
}
.tecsal-btn--outline {
	background: transparent;
	color: #fff !important;
	border: 2px solid rgba(255,255,255,.7);
}
.tecsal-btn--outline:hover {
	background: rgba(255,255,255,.12);
	color: #fff !important;
}

/* ===== Homepage hero ===== */
.tecsal-hero {
	margin: 0;
}
.tecsal-hero .carousel,
.tecsal-hero .carousel-inner,
.tecsal-hero .carousel-item {
	min-height: 100vh;
	min-height: 100dvh;
}
.tecsal-hero .carousel,
.tecsal-hero .carousel-inner {
	height: 100vh;
	height: 100dvh;
}
.tecsal-hero .carousel-fade .carousel-item {
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	min-height: 100vh;
	min-height: 100dvh;
}
.tecsal-hero__slide {
	position: relative;
	min-height: 100vh;
	min-height: 100dvh;
	height: 100%;
	background-size: cover;
	background-position: center;
	display: flex;
	align-items: center;
}
.tecsal-hero__overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(
		100deg,
		rgba(15, 23, 42, 0.9) 0%,
		rgba(15, 23, 42, 0.72) 42%,
		rgba(15, 23, 42, 0.35) 70%,
		rgba(15, 23, 42, 0.15) 100%
	);
}
.tecsal-hero__content {
	position: relative;
	z-index: 2;
	display: flex;
	align-items: center;
	min-height: 100%;
	padding-top: 5.5rem;
	padding-bottom: 5rem;
}
.tecsal-hero__copy {
	max-width: 38rem;
}
.tecsal-hero__title {
	font-size: clamp(2rem, 4.5vw, 3.25rem);
	font-weight: 700;
	line-height: 1.12;
	letter-spacing: -0.025em;
	margin: 0 0 1.25rem;
	color: #fff !important;
}
.tecsal-hero__text {
	font-size: clamp(1.0625rem, 1.8vw, 1.25rem);
	font-weight: 400;
	line-height: 1.65;
	color: rgba(255, 255, 255, 0.9) !important;
	margin: 0 0 2rem;
	max-width: 34rem;
}
body.home .tecsal-hero .tecsal-hero__copy p,
body.home .tecsal-hero .tecsal-hero__copy h1,
body.home .tecsal-hero .tecsal-hero__copy h2,
body.home .tecsal-hero .tecsal-hero__content p,
body.home .tecsal-hero .tecsal-hero__content h1,
body.home .tecsal-hero .tecsal-hero__content h2 {
	color: #fff !important;
}
body.home .tecsal-hero .tecsal-hero__text {
	color: rgba(255, 255, 255, 0.9) !important;
}
.tecsal-hero .tecsal-btn--hero {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.875rem 1.75rem;
	background: #0d9488 !important;
	color: #fff !important;
	border-radius: 999px;
	font-size: 0.8125rem;
	font-weight: 700;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	box-shadow: 0 4px 20px rgba(13, 148, 136, 0.45);
}
.tecsal-hero .tecsal-btn--hero:hover {
	background: #0f766e !important;
	color: #fff !important;
	transform: translateY(-2px);
	box-shadow: 0 6px 24px rgba(13, 148, 136, 0.55);
}
.tecsal-hero .tecsal-btn__arrow {
	font-size: 1rem;
	line-height: 1;
}
.tecsal-hero__indicators [data-bs-target] {
	width: 10px;
	height: 10px;
	border-radius: 50%;
	border: 2px solid rgba(255, 255, 255, 0.7);
	background: transparent;
	opacity: 1;
	margin: 0 5px;
}
.tecsal-hero__indicators .active {
	background: #2dd4bf;
	border-color: #2dd4bf;
}
.tecsal-hero__control { width: 5%; opacity: .7; }
.tecsal-hero__indicators {
	bottom: 2rem;
	margin-bottom: 0;
}

/* ===== Services grid (homepage) ===== */
.tecsal-services {
	padding: 5rem 0;
	background: var(--ts-bg);
}
.tecsal-section-head {
	text-align: center;
	max-width: 760px;
	margin: 0 auto 3rem;
}
.tecsal-section-head h2 {
	font-size: 2rem;
	font-weight: 700;
	color: var(--ts-navy);
	margin-bottom: 0.75rem;
}
.tecsal-section-head p {
	font-size: 1.1rem;
	color: var(--ts-muted);
	line-height: 1.65;
}
.tecsal-services__grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1.5rem;
}
.tecsal-service-card {
	background: var(--ts-white);
	border-radius: var(--ts-radius);
	padding: 2rem 1.5rem;
	box-shadow: var(--ts-shadow);
	border: 1px solid var(--ts-border);
	transition: transform .2s, box-shadow .2s;
}
.tecsal-service-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 12px 32px rgba(0,60,100,.12);
}
.tecsal-service-card__icon {
	width: 52px;
	height: 52px;
	background: var(--ts-blue-light);
	border-radius: 12px;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 1.15rem;
}
.tecsal-service-card__icon i {
	font-size: 1.35rem;
	color: var(--ts-blue);
}
.tecsal-service-card h3 {
	font-size: 1.05rem;
	font-weight: 700;
	color: var(--ts-navy);
	margin-bottom: 0.5rem;
}
.tecsal-service-card p {
	font-size: 0.92rem;
	color: var(--ts-muted);
	line-height: 1.6;
	margin: 0;
}

/* ===== CTA band ===== */
.tecsal-cta {
	padding: 4.5rem 0;
	background: linear-gradient(135deg, var(--ts-blue) 0%, var(--ts-blue-dark) 100%);
	color: #fff;
	text-align: center;
}
.tecsal-cta h2 {
	font-size: 2rem;
	font-weight: 700;
	color: #fff;
	margin-bottom: 0.75rem;
}
.tecsal-cta p {
	font-size: 1.1rem;
	opacity: .92;
	max-width: 560px;
	margin: 0 auto 1.75rem;
}
.tecsal-cta__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
	justify-content: center;
}

/* ===== Inner page intro block ===== */
body.tecsal-site .contenido:first-child,
body.tecsal-site .tecsal-feature--hero {
	margin-bottom: 2rem;
}
body.tecsal-site p.destacado {
	background: var(--ts-blue-light);
	border-left: 4px solid var(--ts-blue);
	padding: 1.25rem 1.5rem;
	border-radius: 0 var(--ts-radius) var(--ts-radius) 0;
	font-size: 1.15rem;
	font-weight: 600;
	color: var(--ts-blue-dark);
	text-align: left;
	line-height: 1.65;
	margin: 1.5rem 0;
}

/* ===== Feature sections (SIS, RIS pages) ===== */
.tecsal-feature {
	padding: 3.5rem 0;
	border-bottom: 1px solid var(--ts-border);
}
.tecsal-feature:nth-child(even) {
	background: var(--ts-bg);
}
.tecsal-feature--hero {
	background: var(--ts-bg);
	padding: 2.5rem 0 3rem;
	border-bottom: 1px solid var(--ts-border);
}
.tecsal-feature--hero .tecsal-feature__body .imagen {
	max-width: 900px;
	margin: 0 auto 1.5rem;
}
.tecsal-feature__inner {
	max-width: var(--ts-container);
	margin: 0 auto;
	padding: 0 15px;
	display: grid;
	grid-template-columns: 1fr 1.4fr;
	gap: 3rem;
	align-items: center;
}
.tecsal-feature--reverse .tecsal-feature__inner {
	direction: rtl;
}
.tecsal-feature--reverse .tecsal-feature__inner > * {
	direction: ltr;
}
.tecsal-feature__title {
	font-size: 1.65rem;
	font-weight: 700;
	color: var(--ts-blue);
	margin: 0;
	line-height: 1.3;
	text-align: center;
	align-self: center;
}
.tecsal-feature__body p {
	font-size: 1rem;
	line-height: 1.75;
	color: var(--ts-text);
	margin-bottom: 1rem;
	text-align: justify;
}
.tecsal-feature__body .imagen {
	border-radius: var(--ts-radius);
	overflow: hidden;
	box-shadow: var(--ts-shadow);
	margin-bottom: 1.25rem;
}
.tecsal-feature__body .imagen img {
	width: 100%;
	height: auto;
	display: block;
}
.tecsal-feature__body img.img-inline {
	max-width: 100%;
	border-radius: var(--ts-radius);
	box-shadow: var(--ts-shadow);
	margin: 1rem 0;
	display: block;
}
.tecsal-feature__body .callout-btn2 {
	display: inline-block;
	margin: 1rem 0;
	padding: 0.65rem 1.5rem;
	background: var(--ts-blue);
	color: #fff !important;
	border-radius: 6px;
	font-weight: 600;
	font-size: 0.9rem;
	text-decoration: none !important;
}

/* Legacy seccion fallback (if filter misses) */
body.tecsal-site .seccion {
	padding: 3rem 0;
	border-bottom: 1px solid var(--ts-border);
	max-width: var(--ts-container);
	margin: 0 auto;
}
body.tecsal-site .seccion:nth-child(even) { background: var(--ts-bg); }
body.tecsal-site .seccion > h3 {
	font-size: 1.65rem;
	font-weight: 700;
	color: var(--ts-blue);
	text-align: center;
	margin-bottom: 1.25rem;
}

/* ===== About page ===== */
body.tecsal-site .contenido-texto p {
	font-size: 1.02rem;
	line-height: 1.75;
	text-align: justify;
}
body.tecsal-site .page-builder h2 {
	font-size: 1.65rem;
	font-weight: 700;
	color: var(--ts-navy);
	border-bottom: 3px solid var(--ts-blue);
	padding-bottom: 0.4rem;
	margin: 2.5rem 0 1.25rem;
	display: inline-block;
}
body.tecsal-site .callout .imagen {
	border-radius: var(--ts-radius);
	overflow: hidden;
	box-shadow: var(--ts-shadow);
}
body.tecsal-site .video {
	border-radius: var(--ts-radius);
	overflow: hidden;
	box-shadow: var(--ts-shadow);
	margin-bottom: 1.5rem;
	background: var(--ts-white);
}
body.tecsal-site .video h4 {
	background: var(--ts-navy);
	color: #fff;
	padding: 0.85rem 1rem;
	font-size: 1rem;
	font-weight: 600;
	margin: 0;
	text-align: center;
}
body.tecsal-site .video iframe {
	width: 100%;
	aspect-ratio: 16/9;
	height: auto;
	border: none;
}

/* ===== Contact page ===== */
body.tecsal-contact-page .page-builder .container {
	padding-top: 3rem;
	padding-bottom: 5rem;
	max-width: 1140px;
}
body.tecsal-contact-page .page-builder {
	background: var(--ts-bg);
}
body.tecsal-contact-page .blog-lg-area-left {
	padding: 0;
}

/* Header */
.tecsal-contact__header {
	text-align: center;
	max-width: 36rem;
	margin: 0 auto 3rem;
}
.tecsal-contact__eyebrow {
	display: inline-block;
	margin: 0 0 1rem;
	padding: 0.375rem 1rem;
	background: rgba(13, 148, 136, 0.1);
	color: #0d9488;
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	border-radius: 999px;
	line-height: 1.4;
}
.tecsal-contact__title {
	font-size: clamp(2rem, 4vw, 2.625rem);
	font-weight: 700;
	color: var(--ts-navy);
	margin: 0 0 1rem;
	line-height: 1.15;
	letter-spacing: -0.02em;
}
.tecsal-contact__lead {
	margin: 0;
	color: var(--ts-muted);
	font-size: 1.0625rem;
	line-height: 1.6;
}

/* Two-column layout */
.tecsal-contact__layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
	gap: 2rem;
	align-items: stretch;
}
.tecsal-contact__panel {
	background: var(--ts-white);
	border: 1px solid var(--ts-border);
	border-radius: 16px;
	box-shadow: var(--ts-shadow);
	overflow: hidden;
	height: 100%;
	display: flex;
	flex-direction: column;
}
.tecsal-contact__panel-title {
	font-size: 1.125rem;
	font-weight: 700;
	color: var(--ts-navy);
	margin: 0;
	padding: 1.75rem 1.75rem 0;
	line-height: 1.3;
}
.tecsal-contact__panel-title::after {
	content: "";
	display: block;
	width: 2.5rem;
	height: 3px;
	background: #0d9488;
	border-radius: 2px;
	margin-top: 0.75rem;
}

/* Contact info list */
.tecsal-contact__list {
	list-style: none;
	margin: 1.5rem 0 0;
	padding: 0 1.75rem;
	flex: 1;
}
.tecsal-contact__item {
	display: grid;
	grid-template-columns: 2.75rem 1fr;
	gap: 1rem;
	align-items: start;
	padding: 1.25rem 0;
	border-bottom: 1px solid var(--ts-border);
}
.tecsal-contact__item:last-child {
	border-bottom: none;
	padding-bottom: 1.5rem;
}
.tecsal-contact__item-icon {
	width: 2.75rem;
	height: 2.75rem;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(0, 115, 170, 0.08);
	color: var(--ts-blue);
	border-radius: 10px;
	font-size: 1rem;
	line-height: 1;
}
.tecsal-contact__item-body {
	display: flex;
	flex-direction: column;
	gap: 0.375rem;
	min-width: 0;
	padding-top: 0.125rem;
}
.tecsal-contact__item-label {
	display: block;
	font-size: 0.6875rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--ts-muted);
	line-height: 1.3;
}
.tecsal-contact__item-value,
.tecsal-contact__item-link {
	display: block;
	font-size: 0.9375rem;
	font-weight: 500;
	line-height: 1.55;
	color: var(--ts-text);
}
.tecsal-contact__item-link {
	color: var(--ts-blue);
	text-decoration: none;
	transition: color 0.2s;
}
.tecsal-contact__item-link:hover {
	color: var(--ts-blue-dark);
	text-decoration: underline;
}

/* Photo — flush with panel bottom */
.tecsal-contact__photo {
	margin: 0;
	line-height: 0;
}
.tecsal-contact__photo img {
	display: block;
	width: 100%;
	height: auto;
	object-fit: cover;
	aspect-ratio: 16 / 10;
}

/* Form panel */
.tecsal-contact__panel--form {
	padding-bottom: 1.75rem;
}
.tecsal-contact__form {
	padding: 1.5rem 1.75rem 0;
	flex: 1;
}

/* Hide Forminator placeholder */
body.tecsal-contact-page .forminator-custom-form-566[data-forminator-render="0"]:not(form) {
	display: none !important;
}

/* Forminator — open layout, uniform spacing */
body.tecsal-contact-page form.forminator-ui.forminator-custom-form-566 {
	font-family: inherit !important;
	background: transparent !important;
	border: none !important;
	box-shadow: none !important;
	padding: 0 !important;
	margin: 0 !important;
}
body.tecsal-contact-page form.forminator-ui .forminator-row {
	display: flex;
	flex-wrap: wrap;
	gap: 0 1.25rem;
	margin: 0 !important;
}
body.tecsal-contact-page form.forminator-ui .forminator-col {
	padding: 0 !important;
	margin: 0 !important;
}
body.tecsal-contact-page form.forminator-ui .forminator-col-12 {
	flex: 0 0 100%;
	max-width: 100%;
}
body.tecsal-contact-page form.forminator-ui .forminator-col-6 {
	flex: 0 0 calc(50% - 0.625rem);
	max-width: calc(50% - 0.625rem);
}
body.tecsal-contact-page form.forminator-ui .forminator-field {
	margin: 0 0 1.25rem !important;
	padding: 0 !important;
	border: none !important;
	background: transparent !important;
	box-shadow: none !important;
}
body.tecsal-contact-page form.forminator-ui.forminator-enclosed .forminator-field {
	border: none !important;
	padding: 0 !important;
}
body.tecsal-contact-page form.forminator-ui .forminator-label {
	display: block !important;
	font-size: 0.8125rem !important;
	font-weight: 600 !important;
	color: var(--ts-text) !important;
	letter-spacing: 0 !important;
	text-transform: none !important;
	margin: 0 0 0.5rem !important;
	padding: 0 !important;
	line-height: 1.4 !important;
}
body.tecsal-contact-page form.forminator-ui .forminator-required {
	color: #0d9488;
	margin-left: 0.125rem;
}
body.tecsal-contact-page form.forminator-ui .forminator-input,
body.tecsal-contact-page form.forminator-ui .forminator-textarea {
	width: 100% !important;
	background: var(--ts-bg) !important;
	border: 1px solid var(--ts-border) !important;
	border-radius: 10px !important;
	padding: 0.8125rem 1rem !important;
	font-size: 0.9375rem !important;
	font-weight: 400 !important;
	color: var(--ts-text) !important;
	line-height: 1.5 !important;
	box-shadow: none !important;
	transition: border-color 0.2s, box-shadow 0.2s;
}
body.tecsal-contact-page form.forminator-ui .forminator-input::placeholder,
body.tecsal-contact-page form.forminator-ui .forminator-textarea::placeholder {
	color: #94a3b8;
	opacity: 1;
}
body.tecsal-contact-page form.forminator-ui .forminator-input:focus,
body.tecsal-contact-page form.forminator-ui .forminator-textarea:focus {
	border-color: #0d9488 !important;
	box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.12) !important;
	outline: none !important;
}
body.tecsal-contact-page form.forminator-ui .forminator-textarea {
	min-height: 7.5rem;
	resize: vertical;
}
body.tecsal-contact-page form.forminator-ui .forminator-error-message {
	font-size: 0.8125rem !important;
	line-height: 1.4 !important;
	color: #dc2626 !important;
	margin: 0.375rem 0 0 !important;
	padding: 0 !important;
}
body.tecsal-contact-page form.forminator-ui .forminator-description,
body.tecsal-contact-page form.forminator-ui .forminator-limit-text {
	font-size: 0.75rem !important;
	color: var(--ts-muted) !important;
	margin: 0.375rem 0 0 !important;
	line-height: 1.4 !important;
}
body.tecsal-contact-page form.forminator-ui .forminator-pagination-footer {
	margin: 0.5rem 0 0 !important;
	padding: 0 !important;
	text-align: left !important;
}
body.tecsal-contact-page form.forminator-ui .forminator-button-submit {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	min-width: 11rem;
	margin-top: 0.25rem !important;
	background: #0d9488 !important;
	border: none !important;
	border-radius: 999px !important;
	padding: 0.875rem 2rem !important;
	font-size: 0.875rem !important;
	font-weight: 700 !important;
	letter-spacing: 0.03em;
	text-transform: uppercase;
	line-height: 1.4 !important;
	transition: background 0.2s, transform 0.15s;
}
body.tecsal-contact-page form.forminator-ui .forminator-button-submit:hover {
	background: #0f766e !important;
	transform: translateY(-1px);
}

/* ===== Footer CTA band ===== */
.tecsal-footer-cta {
	position: relative;
	padding: 5rem 0;
	overflow: hidden;
	text-align: center;
	color: #fff;
}
.tecsal-footer-cta__bg {
	position: absolute;
	inset: 0;
	background-size: cover;
	background-position: center;
}
.tecsal-footer-cta__overlay {
	position: absolute;
	inset: 0;
	background: rgba(15, 23, 42, 0.82);
}
.tecsal-footer-cta__inner {
	position: relative;
	z-index: 2;
	max-width: 42rem;
	margin: 0 auto;
}
.tecsal-footer-cta__title {
	font-size: clamp(1.5rem, 3.5vw, 2.125rem);
	font-weight: 700;
	line-height: 1.25;
	margin: 0 0 1rem;
	color: #fff;
}
.tecsal-footer-cta__text {
	font-size: 1.0625rem;
	line-height: 1.6;
	margin: 0 0 2rem;
	opacity: 0.92;
	color: rgba(255, 255, 255, 0.92);
}
.tecsal-footer-cta__btn {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.9rem 1.75rem;
	background: #fff;
	color: var(--ts-navy) !important;
	font-size: 0.8125rem;
	font-weight: 700;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	text-decoration: none !important;
	border-radius: 999px;
	transition: transform 0.15s, box-shadow 0.2s;
}
.tecsal-footer-cta__btn:hover {
	transform: translateY(-2px);
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
	color: var(--ts-navy) !important;
}

/* ===== Main footer ===== */
.tecsal-footer {
	background: #0f172a;
	color: rgba(255, 255, 255, 0.85);
	padding: 4rem 0 3rem;
}
.tecsal-footer__grid {
	display: grid;
	grid-template-columns: 1.4fr repeat(4, 1fr);
	gap: 2rem 1.5rem;
}
.tecsal-footer__logo {
	display: inline-block;
	margin-bottom: 1.25rem;
	text-decoration: none !important;
}
.tecsal-footer__logo-img {
	height: 48px;
	width: auto;
	max-width: 180px;
	object-fit: contain;
	display: block;
}
.tecsal-footer__logo-text {
	font-size: 1.125rem;
	font-weight: 700;
	color: #fff;
}
.tecsal-footer__desc {
	font-size: 0.875rem;
	line-height: 1.65;
	color: rgba(255, 255, 255, 0.72);
	margin: 0 0 1.5rem;
	max-width: 18rem;
}
.tecsal-footer__social {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	gap: 0.625rem;
}
.tecsal-footer__social a {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 2.25rem;
	height: 2.25rem;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.08);
	color: #fff !important;
	font-size: 0.875rem;
	text-decoration: none !important;
	transition: background 0.2s, color 0.2s;
}
.tecsal-footer__social a:hover {
	background: #0d9488;
	color: #fff !important;
}
.tecsal-footer__heading {
	font-size: 0.6875rem;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: #fff;
	margin: 0 0 1.25rem;
	line-height: 1.3;
}
.tecsal-footer__links {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
}
.tecsal-footer__links a {
	font-size: 0.875rem;
	line-height: 1.4;
	color: rgba(255, 255, 255, 0.72) !important;
	text-decoration: none !important;
	transition: color 0.2s;
}
.tecsal-footer__links a:hover {
	color: #fff !important;
}
.tecsal-footer__contact {
	font-style: normal;
	display: flex;
	flex-direction: column;
	gap: 0.625rem;
	font-size: 0.875rem;
	line-height: 1.55;
	color: rgba(255, 255, 255, 0.72);
}
.tecsal-footer__contact a {
	color: rgba(255, 255, 255, 0.72) !important;
	text-decoration: none !important;
	transition: color 0.2s;
}
.tecsal-footer__contact a:hover {
	color: #fff !important;
}

/* ===== Footer copyright bar ===== */
.tecsal-footer-bar {
	background: #0a0f1a;
	border-top: 1px solid rgba(255, 255, 255, 0.08);
	padding: 1.125rem 0;
}
.tecsal-footer-bar__inner {
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	align-items: center;
	gap: 1rem;
}
.tecsal-footer-bar__copy {
	margin: 0;
	font-size: 0.8125rem;
	color: rgba(255, 255, 255, 0.55);
	line-height: 1.4;
}
.tecsal-footer-bar__legal {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.5rem 1.25rem;
}
.tecsal-footer-bar__legal a {
	font-size: 0.8125rem;
	color: rgba(255, 255, 255, 0.55) !important;
	text-decoration: none !important;
	transition: color 0.2s;
}
.tecsal-footer-bar__legal a:hover {
	color: rgba(255, 255, 255, 0.85) !important;
}
.tecsal-footer-bar__ssl {
	margin: 0;
	justify-self: end;
	font-size: 0.8125rem;
	color: rgba(255, 255, 255, 0.55);
	display: flex;
	align-items: center;
	gap: 0.375rem;
	line-height: 1.4;
}
.tecsal-footer-bar__ssl .fa-lock {
	color: #0d9488;
	font-size: 0.75rem;
}

/* ===== WhatsApp FAB ===== */
.tecsal-whatsapp {
	position: fixed;
	right: 1.25rem;
	bottom: 1.25rem;
	z-index: 1020;
	width: 3.25rem;
	height: 3.25rem;
	display: flex;
	align-items: center;
	justify-content: center;
	background: #25d366;
	color: #fff !important;
	border-radius: 50%;
	font-size: 1.625rem;
	text-decoration: none !important;
	box-shadow: 0 4px 16px rgba(37, 211, 102, 0.45);
	transition: transform 0.15s, box-shadow 0.2s;
}
.tecsal-whatsapp:hover {
	transform: scale(1.06);
	box-shadow: 0 6px 20px rgba(37, 211, 102, 0.55);
	color: #fff !important;
}

/* Hide legacy footer */
.footer-section,
.footer-copyright-section,
.footer-widget-section {
	display: none !important;
}

body.tecsal-site .hc_scrollup {
	background: var(--ts-blue);
	border-radius: 50%;
	width: 44px;
	height: 44px;
	line-height: 44px;
	bottom: 5.5rem;
}

/* Hide old Appointment service section classes on homepage when using new */
body.tecsal-site .Service-section.service-section1 { display: none; }
body.tecsal-site .callout-section { display: none; }

/* ===== Responsive ===== */
@media (max-width: 991px) {
	.tecsal-header__inner {
		flex-wrap: wrap;
		min-height: 64px;
	}
	.tecsal-header__nav {
		position: static;
		transform: none;
		flex: 1 1 100%;
		order: 4;
		background: rgba(15, 23, 42, 0.98);
		padding: 0.5rem 0 1rem;
	}
	.tecsal-nav {
		flex-direction: column;
		width: 100%;
	}
	.tecsal-nav > li > a {
		text-align: left;
		border-bottom: none;
		padding: 0.65rem 0 !important;
	}
	.tecsal-header__cta {
		display: none;
	}
	.tecsal-services__grid { grid-template-columns: repeat(2, 1fr); }
	.tecsal-feature__inner {
		grid-template-columns: 1fr;
		gap: 1.5rem;
	}
	.tecsal-feature--reverse .tecsal-feature__inner { direction: ltr; }
	.tecsal-feature__title { text-align: left; }
	body.tecsal-site .contact-form-panel { padding: 2rem 0 0; }
	.tecsal-contact__layout {
		grid-template-columns: 1fr;
		gap: 1.5rem;
	}
	.tecsal-contact__header {
		margin-bottom: 2rem;
	}
	body.tecsal-contact-page form.forminator-ui .forminator-col-6 {
		flex: 0 0 100%;
		max-width: 100%;
	}
	.tecsal-footer__grid {
		grid-template-columns: repeat(2, 1fr);
	}
	.tecsal-footer__brand {
		grid-column: 1 / -1;
	}
	.tecsal-footer-bar__inner {
		grid-template-columns: 1fr;
		text-align: center;
	}
	.tecsal-footer-bar__ssl {
		justify-self: center;
	}
}
@media (max-width: 767px) {
	.tecsal-services__grid { grid-template-columns: 1fr; }
	.tecsal-logo-img { height: 44px; }
	.tecsal-nav > li > a { padding: 0.65rem 0.85rem !important; }
	body.tecsal-site .hidden-mobile { display: none; }
	body.tecsal-contact-page .page-builder .container {
		padding-top: 2rem;
		padding-bottom: 3rem;
	}
	.tecsal-contact__panel-title,
	.tecsal-contact__list,
	.tecsal-contact__form {
		padding-left: 1.25rem;
		padding-right: 1.25rem;
	}
	.tecsal-contact__panel-title {
		padding-top: 1.5rem;
	}
	.tecsal-footer__grid {
		grid-template-columns: 1fr;
		gap: 2rem;
	}
	.tecsal-footer-cta {
		padding: 3.5rem 1rem;
	}
	.tecsal-hero__content {
		padding-top: 4.5rem;
		padding-bottom: 4rem;
	}
	.tecsal-hero__title {
		margin-bottom: 1rem;
	}
	.tecsal-hero__text {
		margin-bottom: 1.5rem;
		font-size: 1rem;
	}
}
